1 line
9.0 KiB
JSON
1 line
9.0 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 brushPreprocessor from './preprocessor.js';\nimport BrushView from './BrushView.js';\nimport BrushModel from './BrushModel.js';\nimport brushVisual from './visualEncoding.js'; // TODO\n\nimport BrushFeature from '../toolbox/feature/Brush.js';\nimport { registerFeature } from '../toolbox/featureManager.js';\nimport { noop } from 'zrender/lib/core/util.js';\nexport function install(registers) {\n registers.registerComponentView(BrushView);\n registers.registerComponentModel(BrushModel);\n registers.registerPreprocessor(brushPreprocessor);\n registers.registerVisual(registers.PRIORITY.VISUAL.BRUSH, brushVisual);\n registers.registerAction({\n type: 'brush',\n event: 'brush',\n update: 'updateVisual'\n }, function (payload, ecModel) {\n ecModel.eachComponent({\n mainType: 'brush',\n query: payload\n }, function (brushModel) {\n brushModel.setAreas(payload.areas);\n });\n });\n /**\r\n * payload: {\r\n * brushComponents: [\r\n * {\r\n * brushId,\r\n * brushIndex,\r\n * brushName,\r\n * series: [\r\n * {\r\n * seriesId,\r\n * seriesIndex,\r\n * seriesName,\r\n * rawIndices: [21, 34, ...]\r\n * },\r\n * ...\r\n * ]\r\n * },\r\n * ...\r\n * ]\r\n * }\r\n */\n\n registers.registerAction({\n type: 'brushSelect',\n event: 'brushSelected',\n update: 'none'\n }, noop);\n registers.registerAction({\n type: 'brushEnd',\n event: 'brushEnd',\n update: 'none'\n }, noop);\n registerFeature('brush', BrushFeature);\n}","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/qingge-Market/qingge-vue/node_modules/echarts/lib/component/brush/install.js"],"names":["brushPreprocessor","BrushView","BrushModel","brushVisual","BrushFeature","registerFeature","noop","install","registers","registerComponentView","registerComponentModel","registerPreprocessor","registerVisual","PRIORITY","VISUAL","BRUSH","registerAction","type","event","update","payload","ecModel","eachComponent","mainType","query","brushModel","setAreas","areas"],"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,OAAOA,iBAAP,MAA8B,mBAA9B;AACA,OAAOC,SAAP,MAAsB,gBAAtB;AACA,OAAOC,UAAP,MAAuB,iBAAvB;AACA,OAAOC,WAAP,MAAwB,qBAAxB,C,CAA+C;;AAE/C,OAAOC,YAAP,MAAyB,6BAAzB;AACA,SAASC,eAAT,QAAgC,8BAAhC;AACA,SAASC,IAAT,QAAqB,0BAArB;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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 brushPreprocessor from './preprocessor.js';\r\nimport BrushView from './BrushView.js';\r\nimport BrushModel from './BrushModel.js';\r\nimport brushVisual from './visualEncoding.js'; // TODO\r\n\r\nimport BrushFeature from '../toolbox/feature/Brush.js';\r\nimport { registerFeature } from '../toolbox/featureManager.js';\r\nimport { noop } from 'zrender/lib/core/util.js';\r\nexport function install(registers) {\r\n registers.registerComponentView(BrushView);\r\n registers.registerComponentModel(BrushModel);\r\n registers.registerPreprocessor(brushPreprocessor);\r\n registers.registerVisual(registers.PRIORITY.VISUAL.BRUSH, brushVisual);\r\n registers.registerAction({\r\n type: 'brush',\r\n event: 'brush',\r\n update: 'updateVisual'\r\n }, function (payload, ecModel) {\r\n ecModel.eachComponent({\r\n mainType: 'brush',\r\n query: payload\r\n }, function (brushModel) {\r\n brushModel.setAreas(payload.areas);\r\n });\r\n });\r\n /**\r\n * payload: {\r\n * brushComponents: [\r\n * {\r\n * brushId,\r\n * brushIndex,\r\n * brushName,\r\n * series: [\r\n * {\r\n * seriesId,\r\n * seriesIndex,\r\n * seriesName,\r\n * rawIndices: [21, 34, ...]\r\n * },\r\n * ...\r\n * ]\r\n * },\r\n * ...\r\n * ]\r\n * }\r\n */\r\n\r\n registers.registerAction({\r\n type: 'brushSelect',\r\n event: 'brushSelected',\r\n update: 'none'\r\n }, noop);\r\n registers.registerAction({\r\n type: 'brushEnd',\r\n event: 'brushEnd',\r\n update: 'none'\r\n }, noop);\r\n registerFeature('brush', BrushFeature);\r\n}"]},"metadata":{},"sourceType":"module"} |