1 line
12 KiB
JSON
1 line
12 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 { registerPreprocessor, registerProcessor, registerPostInit, registerPostUpdate, registerAction, registerCoordinateSystem, registerLayout, registerVisual, registerTransform, registerLoading, registerMap, registerUpdateLifecycle, PRIORITY } from './core/echarts.js';\nimport ComponentView from './view/Component.js';\nimport ChartView from './view/Chart.js';\nimport ComponentModel from './model/Component.js';\nimport SeriesModel from './model/Series.js';\nimport { isFunction, indexOf, isArray, each } from 'zrender/lib/core/util.js';\nimport { registerImpl } from './core/impl.js';\nimport { registerPainter as _registerPainter } from 'zrender/lib/zrender.js';\nvar extensions = [];\nvar extensionRegisters = {\n registerPreprocessor: registerPreprocessor,\n registerProcessor: registerProcessor,\n registerPostInit: registerPostInit,\n registerPostUpdate: registerPostUpdate,\n registerUpdateLifecycle: registerUpdateLifecycle,\n registerAction: registerAction,\n registerCoordinateSystem: registerCoordinateSystem,\n registerLayout: registerLayout,\n registerVisual: registerVisual,\n registerTransform: registerTransform,\n registerLoading: registerLoading,\n registerMap: registerMap,\n registerImpl: registerImpl,\n PRIORITY: PRIORITY,\n ComponentModel: ComponentModel,\n ComponentView: ComponentView,\n SeriesModel: SeriesModel,\n ChartView: ChartView,\n // TODO Use ComponentModel and SeriesModel instead of Constructor\n registerComponentModel: function registerComponentModel(ComponentModelClass) {\n ComponentModel.registerClass(ComponentModelClass);\n },\n registerComponentView: function registerComponentView(ComponentViewClass) {\n ComponentView.registerClass(ComponentViewClass);\n },\n registerSeriesModel: function registerSeriesModel(SeriesModelClass) {\n SeriesModel.registerClass(SeriesModelClass);\n },\n registerChartView: function registerChartView(ChartViewClass) {\n ChartView.registerClass(ChartViewClass);\n },\n registerSubTypeDefaulter: function registerSubTypeDefaulter(componentType, defaulter) {\n ComponentModel.registerSubTypeDefaulter(componentType, defaulter);\n },\n registerPainter: function registerPainter(painterType, PainterCtor) {\n _registerPainter(painterType, PainterCtor);\n }\n};\nexport function use(ext) {\n if (isArray(ext)) {\n // use([ChartLine, ChartBar]);\n each(ext, function (singleExt) {\n use(singleExt);\n });\n return;\n }\n\n if (indexOf(extensions, ext) >= 0) {\n return;\n }\n\n extensions.push(ext);\n\n if (isFunction(ext)) {\n ext = {\n install: ext\n };\n }\n\n ext.install(extensionRegisters);\n}","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/qingge-Market/qingge-vue/node_modules/echarts/lib/extension.js"],"names":["registerPreprocessor","registerProcessor","registerPostInit","registerPostUpdate","registerAction","registerCoordinateSystem","registerLayout","registerVisual","registerTransform","registerLoading","registerMap","registerUpdateLifecycle","PRIORITY","ComponentView","ChartView","ComponentModel","SeriesModel","isFunction","indexOf","isArray","each","registerImpl","registerPainter","extensions","extensionRegisters","registerComponentModel","ComponentModelClass","registerClass","registerComponentView","ComponentViewClass","registerSeriesModel","SeriesModelClass","registerChartView","ChartViewClass","registerSubTypeDefaulter","componentType","defaulter","painterType","PainterCtor","use","ext","singleExt","push","install"],"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,oBAAT,EAA+BC,iBAA/B,EAAkDC,gBAAlD,EAAoEC,kBAApE,EAAwFC,cAAxF,EAAwGC,wBAAxG,EAAkIC,cAAlI,EAAkJC,cAAlJ,EAAkKC,iBAAlK,EAAqLC,eAArL,EAAsMC,WAAtM,EAAmNC,uBAAnN,EAA4OC,QAA5O,QAA4P,mBAA5P;AACA,OAAOC,aAAP,MAA0B,qBAA1B;AACA,OAAOC,SAAP,MAAsB,iBAAtB;AACA,OAAOC,cAAP,MAA2B,sBAA3B;AACA,OAAOC,WAAP,MAAwB,mBAAxB;AACA,SAASC,UAAT,EAAqBC,OAArB,EAA8BC,OAA9B,EAAuCC,IAAvC,QAAmD,0BAAnD;AACA,SAASC,YAAT,QAA6B,gBAA7B;AACA,SAASC,eAAe,IAAfA,gBAAT,QAAgC,wBAAhC;AACA,IAAIC,UAAU,GAAG,EAAjB;AACA,IAAIC,kBAAkB,GAAG;AACvBxB,EAAAA,oBAAoB,EAAEA,oBADC;AAEvBC,EAAAA,iBAAiB,EAAEA,iBAFI;AAGvBC,EAAAA,gBAAgB,EAAEA,gBAHK;AAIvBC,EAAAA,kBAAkB,EAAEA,kBAJG;AAKvBQ,EAAAA,uBAAuB,EAAEA,uBALF;AAMvBP,EAAAA,cAAc,EAAE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C,GAAb,EAAkB;AACvB,MAAIrB,OAAO,CAACqB,GAAD,CAAX,EAAkB;AAChB;AACApB,IAAAA,IAAI,CAACoB,GAAD,EAAM,UAAUC,SAAV,EAAqB;AAC7BF,MAAAA,GAAG,CAACE,SAAD,CAAH;AACD,KAFG,CAAJ;AAGA;AACD;;AAED,MAAIvB,OAAO,CAACK,UAAD,EAAaiB,GAAb,CAAP,IAA4B,CAAhC,EAAmC;AACjC;AACD;;AAEDjB,EAAAA,UAAU,CAACmB,IAAX,CAAgBF,GAAhB;;AAEA,MAAIvB,UAAU,CAACuB,GAAD,CAAd,EAAqB;AACnBA,IAAAA,GAAG,GAAG;AACJG,MAAAA,OAAO,EAAEH;AADL,KAAN;AAGD;;AAEDA,EAAAA,GAAG,CAACG,OAAJ,CAAYnB,kBAAZ;AACD","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 { registerPreprocessor, registerProcessor, registerPostInit, registerPostUpdate, registerAction, registerCoordinateSystem, registerLayout, registerVisual, registerTransform, registerLoading, registerMap, registerUpdateLifecycle, PRIORITY } from './core/echarts.js';\r\nimport ComponentView from './view/Component.js';\r\nimport ChartView from './view/Chart.js';\r\nimport ComponentModel from './model/Component.js';\r\nimport SeriesModel from './model/Series.js';\r\nimport { isFunction, indexOf, isArray, each } from 'zrender/lib/core/util.js';\r\nimport { registerImpl } from './core/impl.js';\r\nimport { registerPainter } from 'zrender/lib/zrender.js';\r\nvar extensions = [];\r\nvar extensionRegisters = {\r\n registerPreprocessor: registerPreprocessor,\r\n registerProcessor: registerProcessor,\r\n registerPostInit: registerPostInit,\r\n registerPostUpdate: registerPostUpdate,\r\n registerUpdateLifecycle: registerUpdateLifecycle,\r\n registerAction: registerAction,\r\n registerCoordinateSystem: registerCoordinateSystem,\r\n registerLayout: registerLayout,\r\n registerVisual: registerVisual,\r\n registerTransform: registerTransform,\r\n registerLoading: registerLoading,\r\n registerMap: registerMap,\r\n registerImpl: registerImpl,\r\n PRIORITY: PRIORITY,\r\n ComponentModel: ComponentModel,\r\n ComponentView: ComponentView,\r\n SeriesModel: SeriesModel,\r\n ChartView: ChartView,\r\n // TODO Use ComponentModel and SeriesModel instead of Constructor\r\n registerComponentModel: function (ComponentModelClass) {\r\n ComponentModel.registerClass(ComponentModelClass);\r\n },\r\n registerComponentView: function (ComponentViewClass) {\r\n ComponentView.registerClass(ComponentViewClass);\r\n },\r\n registerSeriesModel: function (SeriesModelClass) {\r\n SeriesModel.registerClass(SeriesModelClass);\r\n },\r\n registerChartView: function (ChartViewClass) {\r\n ChartView.registerClass(ChartViewClass);\r\n },\r\n registerSubTypeDefaulter: function (componentType, defaulter) {\r\n ComponentModel.registerSubTypeDefaulter(componentType, defaulter);\r\n },\r\n registerPainter: function (painterType, PainterCtor) {\r\n registerPainter(painterType, PainterCtor);\r\n }\r\n};\r\nexport function use(ext) {\r\n if (isArray(ext)) {\r\n // use([ChartLine, ChartBar]);\r\n each(ext, function (singleExt) {\r\n use(singleExt);\r\n });\r\n return;\r\n }\r\n\r\n if (indexOf(extensions, ext) >= 0) {\r\n return;\r\n }\r\n\r\n extensions.push(ext);\r\n\r\n if (isFunction(ext)) {\r\n ext = {\r\n install: ext\r\n };\r\n }\r\n\r\n ext.install(extensionRegisters);\r\n}"]},"metadata":{},"sourceType":"module"} |