qauMaWeb/node_modules/.cache/babel-loader/06670ce6953f41364003a61c08d...

1 line
6.8 KiB
JSON

{"ast":null,"code":"/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n\n/**\r\n * AUTO-GENERATED FILE. DO NOT MODIFY.\r\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n// TODO Parse shadow style\n// TODO Only shallow path support\nimport * as zrUtil from 'zrender/lib/core/util.js';\nexport default function makeStyleMapper(properties, ignoreParent) {\n // Normalize\n for (var i = 0; i < properties.length; i++) {\n if (!properties[i][1]) {\n properties[i][1] = properties[i][0];\n }\n }\n\n ignoreParent = ignoreParent || false;\n return function (model, excludes, includes) {\n var style = {};\n\n for (var i = 0; i < properties.length; i++) {\n var propName = properties[i][1];\n\n if (excludes && zrUtil.indexOf(excludes, propName) >= 0 || includes && zrUtil.indexOf(includes, propName) < 0) {\n continue;\n }\n\n var val = model.getShallow(propName, ignoreParent);\n\n if (val != null) {\n style[properties[i][0]] = val;\n }\n } // TODO Text or image?\n\n\n return style;\n };\n}","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/qingge-Market/qingge-vue/node_modules/echarts/lib/model/mixin/makeStyleMapper.js"],"names":["zrUtil","makeStyleMapper","properties","ignoreParent","i","length","model","excludes","includes","style","propName","indexOf","val","getShallow"],"mappings":"AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,MAAZ,MAAwB,0BAAxB;AACA,eAAe,SAASC,eAAT,CAAyBC,UAAzB,EAAqCC,YAArC,EAAmD;AAChE;AACA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,UAAU,CAACG,MAA/B,EAAuCD,CAAC,EAAxC,EAA4C;AAC1C,QAAI,CAACF,UAAU,CAACE,CAAD,CAAV,CAAc,CAAd,CAAL,EAAuB;AACrBF,MAAAA,UAAU,CAACE,CAAD,CAAV,CAAc,CAAd,IAAmBF,UAAU,CAACE,CAAD,CAAV,CAAc,CAAd,CAAnB;AACD;AACF;;AAEDD,EAAAA,YAAY,GAAGA,YAAY,IAAI,KAA/B;AACA,SAAO,UAAUG,KAAV,EAAiBC,QAAjB,EAA2BC,QAA3B,EAAqC;AAC1C,QAAIC,KAAK,GAAG,EAAZ;;AAEA,SAAK,IAAIL,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,UAAU,CAACG,MAA/B,EAAuCD,CAAC,EAAxC,EAA4C;AAC1C,UAAIM,QAAQ,GAAGR,UAAU,CAACE,CAAD,CAAV,CAAc,CAAd,CAAf;;AAEA,UAAIG,QAAQ,IAAIP,MAAM,CAACW,OAAP,CAAeJ,QAAf,EAAyBG,QAAzB,KAAsC,CAAlD,IAAuDF,QAAQ,IAAIR,MAAM,CAACW,OAAP,CAAeH,QAAf,EAAyBE,QAAzB,IAAqC,CAA5G,EAA+G;AAC7G;AACD;;AAED,UAAIE,GAAG,GAAGN,KAAK,CAACO,UAAN,CAAiBH,QAAjB,EAA2BP,YAA3B,CAAV;;AAEA,UAAIS,GAAG,IAAI,IAAX,EAAiB;AACfH,QAAAA,KAAK,CAACP,UAAU,CAACE,CAAD,CAAV,CAAc,CAAd,CAAD,CAAL,GAA0BQ,GAA1B;AACD;AACF,KAfyC,CAexC;;;AAGF,WAAOH,KAAP;AACD,GAnBD;AAoBD","sourcesContent":["\r\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\r\n\r\n\r\n/**\r\n * AUTO-GENERATED FILE. DO NOT MODIFY.\r\n */\r\n\r\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\r\n// TODO Parse shadow style\r\n// TODO Only shallow path support\r\nimport * as zrUtil from 'zrender/lib/core/util.js';\r\nexport default function makeStyleMapper(properties, ignoreParent) {\r\n // Normalize\r\n for (var i = 0; i < properties.length; i++) {\r\n if (!properties[i][1]) {\r\n properties[i][1] = properties[i][0];\r\n }\r\n }\r\n\r\n ignoreParent = ignoreParent || false;\r\n return function (model, excludes, includes) {\r\n var style = {};\r\n\r\n for (var i = 0; i < properties.length; i++) {\r\n var propName = properties[i][1];\r\n\r\n if (excludes && zrUtil.indexOf(excludes, propName) >= 0 || includes && zrUtil.indexOf(includes, propName) < 0) {\r\n continue;\r\n }\r\n\r\n var val = model.getShallow(propName, ignoreParent);\r\n\r\n if (val != null) {\r\n style[properties[i][0]] = val;\r\n }\r\n } // TODO Text or image?\r\n\r\n\r\n return style;\r\n };\r\n}"]},"metadata":{},"sourceType":"module"}