qauMaWeb/node_modules/.cache/babel-loader/645954dfb6f63845c5e2aa7b5e7...

1 line
7.2 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*/\nimport { isArray } from 'zrender/lib/core/util.js';\nimport { GraphicComponentModel } from './GraphicModel.js';\nimport { GraphicComponentView } from './GraphicView.js';\nexport function install(registers) {\n registers.registerComponentModel(GraphicComponentModel);\n registers.registerComponentView(GraphicComponentView);\n registers.registerPreprocessor(function (option) {\n var graphicOption = option.graphic; // Convert\n // {graphic: [{left: 10, type: 'circle'}, ...]}\n // or\n // {graphic: {left: 10, type: 'circle'}}\n // to\n // {graphic: [{elements: [{left: 10, type: 'circle'}, ...]}]}\n\n if (isArray(graphicOption)) {\n if (!graphicOption[0] || !graphicOption[0].elements) {\n option.graphic = [{\n elements: graphicOption\n }];\n } else {\n // Only one graphic instance can be instantiated. (We dont\n // want that too many views are created in echarts._viewMap)\n option.graphic = [option.graphic[0]];\n }\n } else if (graphicOption && !graphicOption.elements) {\n option.graphic = [{\n elements: [graphicOption]\n }];\n }\n });\n}","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/qingge-Market/qingge-vue/node_modules/echarts/lib/component/graphic/install.js"],"names":["isArray","GraphicComponentModel","GraphicComponentView","install","registers","registerComponentModel","registerComponentView","registerPreprocessor","option","graphicOption","graphic","elements"],"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,SAASA,OAAT,QAAwB,0BAAxB;AACA,SAASC,qBAAT,QAAsC,mBAAtC;AACA,SAASC,oBAAT,QAAqC,kBAArC;AACA,OAAO,SAASC,OAAT,CAAiBC,SAAjB,EAA4B;AACjCA,EAAAA,SAAS,CAACC,sBAAV,CAAiCJ,qBAAjC;AACAG,EAAAA,SAAS,CAACE,qBAAV,CAAgCJ,oBAAhC;AACAE,EAAAA,SAAS,CAACG,oBAAV,CAA+B,UAAUC,MAAV,EAAkB;AAC/C,QAAIC,aAAa,GAAGD,MAAM,CAACE,OAA3B,CAD+C,CACX;AACpC;AACA;AACA;AACA;AACA;;AAEA,QAAIV,OAAO,CAACS,aAAD,CAAX,EAA4B;AAC1B,UAAI,CAACA,aAAa,CAAC,CAAD,CAAd,IAAqB,CAACA,aAAa,CAAC,CAAD,CAAb,CAAiBE,QAA3C,EAAqD;AACnDH,QAAAA,MAAM,CAACE,OAAP,GAAiB,CAAC;AAChBC,UAAAA,QAAQ,EAAEF;AADM,SAAD,CAAjB;AAGD,OAJD,MAIO;AACL;AACA;AACAD,QAAAA,MAAM,CAACE,OAAP,GAAiB,CAACF,MAAM,CAACE,OAAP,CAAe,CAAf,CAAD,CAAjB;AACD;AACF,KAVD,MAUO,IAAID,aAAa,IAAI,CAACA,aAAa,CAACE,QAApC,EAA8C;AACnDH,MAAAA,MAAM,CAACE,OAAP,GAAiB,CAAC;AAChBC,QAAAA,QAAQ,EAAE,CAACF,aAAD;AADM,OAAD,CAAjB;AAGD;AACF,GAvBD;AAwBD","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\nimport { isArray } from 'zrender/lib/core/util.js';\r\nimport { GraphicComponentModel } from './GraphicModel.js';\r\nimport { GraphicComponentView } from './GraphicView.js';\r\nexport function install(registers) {\r\n registers.registerComponentModel(GraphicComponentModel);\r\n registers.registerComponentView(GraphicComponentView);\r\n registers.registerPreprocessor(function (option) {\r\n var graphicOption = option.graphic; // Convert\r\n // {graphic: [{left: 10, type: 'circle'}, ...]}\r\n // or\r\n // {graphic: {left: 10, type: 'circle'}}\r\n // to\r\n // {graphic: [{elements: [{left: 10, type: 'circle'}, ...]}]}\r\n\r\n if (isArray(graphicOption)) {\r\n if (!graphicOption[0] || !graphicOption[0].elements) {\r\n option.graphic = [{\r\n elements: graphicOption\r\n }];\r\n } else {\r\n // Only one graphic instance can be instantiated. (We dont\r\n // want that too many views are created in echarts._viewMap)\r\n option.graphic = [option.graphic[0]];\r\n }\r\n } else if (graphicOption && !graphicOption.elements) {\r\n option.graphic = [{\r\n elements: [graphicOption]\r\n }];\r\n }\r\n });\r\n}"]},"metadata":{},"sourceType":"module"}