qauMaWeb/node_modules/.cache/babel-loader/3bdcb4d06e12de0401567e35526...

1 line
8.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 { __extends } from \"tslib\";\nimport * as echarts from '../../../core/echarts.js';\nimport * as history from '../../dataZoom/history.js';\nimport { ToolboxFeature } from '../featureManager.js';\n\nvar RestoreOption =\n/** @class */\nfunction (_super) {\n __extends(RestoreOption, _super);\n\n function RestoreOption() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n RestoreOption.prototype.onclick = function (ecModel, api) {\n history.clear(ecModel);\n api.dispatchAction({\n type: 'restore',\n from: this.uid\n });\n };\n\n RestoreOption.getDefaultOption = function (ecModel) {\n var defaultOption = {\n show: true,\n // eslint-disable-next-line\n icon: 'M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5',\n title: ecModel.getLocaleModel().get(['toolbox', 'restore', 'title'])\n };\n return defaultOption;\n };\n\n return RestoreOption;\n}(ToolboxFeature); // TODO: SELF REGISTERED.\n\n\necharts.registerAction({\n type: 'restore',\n event: 'restore',\n update: 'prepareAndUpdate'\n}, function (payload, ecModel) {\n ecModel.resetOption('recreate');\n});\nexport default RestoreOption;","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/qingge-Market/qingge-vue/node_modules/echarts/lib/component/toolbox/feature/Restore.js"],"names":["__extends","echarts","history","ToolboxFeature","RestoreOption","_super","apply","arguments","prototype","onclick","ecModel","api","clear","dispatchAction","type","from","uid","getDefaultOption","defaultOption","show","icon","title","getLocaleModel","get","registerAction","event","update","payload","resetOption"],"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,SAAT,QAA0B,OAA1B;AACA,OAAO,KAAKC,OAAZ,MAAyB,0BAAzB;AACA,OAAO,KAAKC,OAAZ,MAAyB,2BAAzB;AACA,SAASC,cAAT,QAA+B,sBAA/B;;AAEA,IAAIC,aAAa;AACjB;AACA,UAAUC,MAAV,EAAkB;AAChBL,EAAAA,SAAS,CAACI,aAAD,EAAgBC,MAAhB,CAAT;;AAEA,WAASD,aAAT,GAAyB;AACvB,WAAOC,MAAM,KAAK,IAAX,IAAmBA,MAAM,CAACC,KAAP,CAAa,IAAb,EAAmBC,SAAnB,CAAnB,IAAoD,IAA3D;AACD;;AAEDH,EAAAA,aAAa,CAACI,SAAd,CAAwBC,OAAxB,GAAkC,UAAUC,OAAV,EAAmBC,GAAnB,EAAwB;AACxDT,IAAAA,OAAO,CAACU,KAAR,CAAcF,OAAd;AACAC,IAAAA,GAAG,CAACE,cAAJ,CAAmB;AACjBC,MAAAA,IAAI,EAAE,SADW;AAEjBC,MAAAA,IAAI,EAAE,KAAKC;AAFM,KAAnB;AAID,GAND;;AAQAZ,EAAAA,aAAa,CAACa,gBAAd,GAAiC,UAAUP,OAAV,EAAmB;AAClD,QAAIQ,aAAa,GAAG;AAClBC,MAAAA,IAAI,EAAE,IADY;AAElB;AACAC,MAAAA,IAAI,EAAE,iLAHY;AAIlBC,MAAAA,KAAK,EAAEX,OAAO,CAACY,cAAR,GAAyBC,GAAzB,CAA6B,CAAC,SAAD,EAAY,SAAZ,EAAuB,OAAvB,CAA7B;AAJW,KAApB;AAMA,WAAOL,aAAP;AACD,GARD;;AAUA,SAAOd,aAAP;AACD,CA1BD,CA0BED,cA1BF,CAFA,C,CA4BmB;;;AAGnBF,OAAO,CAACuB,cAAR,CAAuB;AACrBV,EAAAA,IAAI,EAAE,SADe;AAErBW,EAAAA,KAAK,EAAE,SAFc;AAGrBC,EAAAA,MAAM,EAAE;AAHa,CAAvB,EAIG,UAAUC,OAAV,EAAmBjB,OAAnB,EAA4B;AAC7BA,EAAAA,OAAO,CAACkB,WAAR,CAAoB,UAApB;AACD,CAND;AAOA,eAAexB,aAAf","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 { __extends } from \"tslib\";\r\nimport * as echarts from '../../../core/echarts.js';\r\nimport * as history from '../../dataZoom/history.js';\r\nimport { ToolboxFeature } from '../featureManager.js';\r\n\r\nvar RestoreOption =\r\n/** @class */\r\nfunction (_super) {\r\n __extends(RestoreOption, _super);\r\n\r\n function RestoreOption() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n\r\n RestoreOption.prototype.onclick = function (ecModel, api) {\r\n history.clear(ecModel);\r\n api.dispatchAction({\r\n type: 'restore',\r\n from: this.uid\r\n });\r\n };\r\n\r\n RestoreOption.getDefaultOption = function (ecModel) {\r\n var defaultOption = {\r\n show: true,\r\n // eslint-disable-next-line\r\n icon: 'M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5',\r\n title: ecModel.getLocaleModel().get(['toolbox', 'restore', 'title'])\r\n };\r\n return defaultOption;\r\n };\r\n\r\n return RestoreOption;\r\n}(ToolboxFeature); // TODO: SELF REGISTERED.\r\n\r\n\r\necharts.registerAction({\r\n type: 'restore',\r\n event: 'restore',\r\n update: 'prepareAndUpdate'\r\n}, function (payload, ecModel) {\r\n ecModel.resetOption('recreate');\r\n});\r\nexport default RestoreOption;"]},"metadata":{},"sourceType":"module"}