qauMaWeb/node_modules/.cache/babel-loader/f6b3a207b07f6e4c57ee347156a...

1 line
10 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 categoryFilter from './categoryFilter.js';\nimport categoryVisual from './categoryVisual.js';\nimport edgeVisual from './edgeVisual.js';\nimport simpleLayout from './simpleLayout.js';\nimport circularLayout from './circularLayout.js';\nimport forceLayout from './forceLayout.js';\nimport createView from './createView.js';\nimport View from '../../coord/View.js';\nimport GraphView from './GraphView.js';\nimport GraphSeriesModel from './GraphSeries.js';\nimport { updateCenterAndZoom } from '../../action/roamHelper.js';\nimport { noop } from 'zrender/lib/core/util.js';\nvar actionInfo = {\n type: 'graphRoam',\n event: 'graphRoam',\n update: 'none'\n};\nexport function install(registers) {\n registers.registerChartView(GraphView);\n registers.registerSeriesModel(GraphSeriesModel);\n registers.registerProcessor(categoryFilter);\n registers.registerVisual(categoryVisual);\n registers.registerVisual(edgeVisual);\n registers.registerLayout(simpleLayout);\n registers.registerLayout(registers.PRIORITY.VISUAL.POST_CHART_LAYOUT, circularLayout);\n registers.registerLayout(forceLayout);\n registers.registerCoordinateSystem('graphView', {\n dimensions: View.dimensions,\n create: createView\n }); // Register legacy focus actions\n\n registers.registerAction({\n type: 'focusNodeAdjacency',\n event: 'focusNodeAdjacency',\n update: 'series:focusNodeAdjacency'\n }, noop);\n registers.registerAction({\n type: 'unfocusNodeAdjacency',\n event: 'unfocusNodeAdjacency',\n update: 'series:unfocusNodeAdjacency'\n }, noop); // Register roam action.\n\n registers.registerAction(actionInfo, function (payload, ecModel) {\n ecModel.eachComponent({\n mainType: 'series',\n query: payload\n }, function (seriesModel) {\n var coordSys = seriesModel.coordinateSystem;\n var res = updateCenterAndZoom(coordSys, payload);\n seriesModel.setCenter && seriesModel.setCenter(res.center);\n seriesModel.setZoom && seriesModel.setZoom(res.zoom);\n });\n });\n}","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/qingge-Market/qingge-vue/node_modules/echarts/lib/chart/graph/install.js"],"names":["categoryFilter","categoryVisual","edgeVisual","simpleLayout","circularLayout","forceLayout","createView","View","GraphView","GraphSeriesModel","updateCenterAndZoom","noop","actionInfo","type","event","update","install","registers","registerChartView","registerSeriesModel","registerProcessor","registerVisual","registerLayout","PRIORITY","VISUAL","POST_CHART_LAYOUT","registerCoordinateSystem","dimensions","create","registerAction","payload","ecModel","eachComponent","mainType","query","seriesModel","coordSys","coordinateSystem","res","setCenter","center","setZoom","zoom"],"mappings":"AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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I,CAACoB,UAD6B;AAE9CC,IAAAA,MAAM,EAAEtB;AAFsC,GAAhD,EATiC,CAY7B;;AAEJW,EAAAA,SAAS,CAACY,cAAV,CAAyB;AACvBhB,IAAAA,IAAI,EAAE,oBADiB;AAEvBC,IAAAA,KAAK,EAAE,oBAFgB;AAGvBC,IAAAA,MAAM,EAAE;AAHe,GAAzB,EAIGJ,IAJH;AAKAM,EAAAA,SAAS,CAACY,cAAV,CAAyB;AACvBhB,IAAAA,IAAI,EAAE,sBADiB;AAEvBC,IAAAA,KAAK,EAAE,sBAFgB;AAGvBC,IAAAA,MAAM,EAAE;AAHe,GAAzB,EAIGJ,IAJH,EAnBiC,CAuBvB;;AAEVM,EAAAA,SAAS,CAACY,cAAV,CAAyBjB,UAAzB,EAAqC,UAAUkB,OAAV,EAAmBC,OAAnB,EAA4B;AAC/DA,IAAAA,OAAO,CAACC,aAAR,CAAsB;AACpBC,MAAAA,QAAQ,EAAE,QADU;AAEpBC,MAAAA,KAAK,EAAEJ;AAFa,KAAtB,EAGG,UAAUK,WAAV,EAAuB;AACxB,UAAIC,QAAQ,GAAGD,WAAW,CAACE,gBAA3B;AACA,UAAIC,GAAG,GAAG5B,mBAAmB,CAAC0B,QAAD,EAAWN,OAAX,CAA7B;AACAK,MAAAA,WAAW,CAACI,SAAZ,IAAyBJ,WAAW,CAACI,SAAZ,CAAsBD,GAAG,CAACE,MAA1B,CAAzB;AACAL,MAAAA,WAAW,CAACM,OAAZ,IAAuBN,WAAW,CAACM,OAAZ,CAAoBH,GAAG,CAACI,IAAxB,CAAvB;AACD,KARD;AASD,GAVD;AAWD","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 categoryFilter from './categoryFilter.js';\r\nimport categoryVisual from './categoryVisual.js';\r\nimport edgeVisual from './edgeVisual.js';\r\nimport simpleLayout from './simpleLayout.js';\r\nimport circularLayout from './circularLayout.js';\r\nimport forceLayout from './forceLayout.js';\r\nimport createView from './createView.js';\r\nimport View from '../../coord/View.js';\r\nimport GraphView from './GraphView.js';\r\nimport GraphSeriesModel from './GraphSeries.js';\r\nimport { updateCenterAndZoom } from '../../action/roamHelper.js';\r\nimport { noop } from 'zrender/lib/core/util.js';\r\nvar actionInfo = {\r\n type: 'graphRoam',\r\n event: 'graphRoam',\r\n update: 'none'\r\n};\r\nexport function install(registers) {\r\n registers.registerChartView(GraphView);\r\n registers.registerSeriesModel(GraphSeriesModel);\r\n registers.registerProcessor(categoryFilter);\r\n registers.registerVisual(categoryVisual);\r\n registers.registerVisual(edgeVisual);\r\n registers.registerLayout(simpleLayout);\r\n registers.registerLayout(registers.PRIORITY.VISUAL.POST_CHART_LAYOUT, circularLayout);\r\n registers.registerLayout(forceLayout);\r\n registers.registerCoordinateSystem('graphView', {\r\n dimensions: View.dimensions,\r\n create: createView\r\n }); // Register legacy focus actions\r\n\r\n registers.registerAction({\r\n type: 'focusNodeAdjacency',\r\n event: 'focusNodeAdjacency',\r\n update: 'series:focusNodeAdjacency'\r\n }, noop);\r\n registers.registerAction({\r\n type: 'unfocusNodeAdjacency',\r\n event: 'unfocusNodeAdjacency',\r\n update: 'series:unfocusNodeAdjacency'\r\n }, noop); // Register roam action.\r\n\r\n registers.registerAction(actionInfo, function (payload, ecModel) {\r\n ecModel.eachComponent({\r\n mainType: 'series',\r\n query: payload\r\n }, function (seriesModel) {\r\n var coordSys = seriesModel.coordinateSystem;\r\n var res = updateCenterAndZoom(coordSys, payload);\r\n seriesModel.setCenter && seriesModel.setCenter(res.center);\r\n seriesModel.setZoom && seriesModel.setZoom(res.zoom);\r\n });\r\n });\r\n}"]},"metadata":{},"sourceType":"module"}