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

1 line
7.0 KiB
JSON

{"ast":null,"code":"/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n// @ts-nocheck\n// Backward compat for radar chart in 2\nimport * as zrUtil from 'zrender/lib/core/util.js';\nexport default function radarBackwardCompat(option) {\n var polarOptArr = option.polar;\n\n if (polarOptArr) {\n if (!zrUtil.isArray(polarOptArr)) {\n polarOptArr = [polarOptArr];\n }\n\n var polarNotRadar_1 = [];\n zrUtil.each(polarOptArr, function (polarOpt, idx) {\n if (polarOpt.indicator) {\n if (polarOpt.type && !polarOpt.shape) {\n polarOpt.shape = polarOpt.type;\n }\n\n option.radar = option.radar || [];\n\n if (!zrUtil.isArray(option.radar)) {\n option.radar = [option.radar];\n }\n\n option.radar.push(polarOpt);\n } else {\n polarNotRadar_1.push(polarOpt);\n }\n });\n option.polar = polarNotRadar_1;\n }\n\n zrUtil.each(option.series, function (seriesOpt) {\n if (seriesOpt && seriesOpt.type === 'radar' && seriesOpt.polarIndex) {\n seriesOpt.radarIndex = seriesOpt.polarIndex;\n }\n });\n}","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/ElectronicMallVue/node_modules/echarts/lib/chart/radar/backwardCompat.js"],"names":["zrUtil","radarBackwardCompat","option","polarOptArr","polar","isArray","polarNotRadar_1","each","polarOpt","idx","indicator","type","shape","radar","push","series","seriesOpt","polarIndex","radarIndex"],"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;AACA;AACA,OAAO,KAAKA,MAAZ,MAAwB,0BAAxB;AACA,eAAe,SAASC,mBAAT,CAA6BC,MAA7B,EAAqC;AAClD,MAAIC,WAAW,GAAGD,MAAM,CAACE,KAAzB;;AAEA,MAAID,WAAJ,EAAiB;AACf,QAAI,CAACH,MAAM,CAACK,OAAP,CAAeF,WAAf,CAAL,EAAkC;AAChCA,MAAAA,WAAW,GAAG,CAACA,WAAD,CAAd;AACD;;AAED,QAAIG,eAAe,GAAG,EAAtB;AACAN,IAAAA,MAAM,CAACO,IAAP,CAAYJ,WAAZ,EAAyB,UAAUK,QAAV,EAAoBC,GAApB,EAAyB;AAChD,UAAID,QAAQ,CAACE,SAAb,EAAwB;AACtB,YAAIF,QAAQ,CAACG,IAAT,IAAiB,CAACH,QAAQ,CAACI,KAA/B,EAAsC;AACpCJ,UAAAA,QAAQ,CAACI,KAAT,GAAiBJ,QAAQ,CAACG,IAA1B;AACD;;AAEDT,QAAAA,MAAM,CAACW,KAAP,GAAeX,MAAM,CAACW,KAAP,IAAgB,EAA/B;;AAEA,YAAI,CAACb,MAAM,CAACK,OAAP,CAAeH,MAAM,CAACW,KAAtB,CAAL,EAAmC;AACjCX,UAAAA,MAAM,CAACW,KAAP,GAAe,CAACX,MAAM,CAACW,KAAR,CAAf;AACD;;AAEDX,QAAAA,MAAM,CAACW,KAAP,CAAaC,IAAb,CAAkBN,QAAlB;AACD,OAZD,MAYO;AACLF,QAAAA,eAAe,CAACQ,IAAhB,CAAqBN,QAArB;AACD;AACF,KAhBD;AAiBAN,IAAAA,MAAM,CAACE,KAAP,GAAeE,eAAf;AACD;;AAEDN,EAAAA,MAAM,CAACO,IAAP,CAAYL,MAAM,CAACa,MAAnB,EAA2B,UAAUC,SAAV,EAAqB;AAC9C,QAAIA,SAAS,IAAIA,SAAS,CAACL,IAAV,KAAmB,OAAhC,IAA2CK,SAAS,CAACC,UAAzD,EAAqE;AACnED,MAAAA,SAAS,CAACE,UAAV,GAAuBF,SAAS,CAACC,UAAjC;AACD;AACF,GAJD;AAKD","sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n// @ts-nocheck\n// Backward compat for radar chart in 2\nimport * as zrUtil from 'zrender/lib/core/util.js';\nexport default function radarBackwardCompat(option) {\n var polarOptArr = option.polar;\n\n if (polarOptArr) {\n if (!zrUtil.isArray(polarOptArr)) {\n polarOptArr = [polarOptArr];\n }\n\n var polarNotRadar_1 = [];\n zrUtil.each(polarOptArr, function (polarOpt, idx) {\n if (polarOpt.indicator) {\n if (polarOpt.type && !polarOpt.shape) {\n polarOpt.shape = polarOpt.type;\n }\n\n option.radar = option.radar || [];\n\n if (!zrUtil.isArray(option.radar)) {\n option.radar = [option.radar];\n }\n\n option.radar.push(polarOpt);\n } else {\n polarNotRadar_1.push(polarOpt);\n }\n });\n option.polar = polarNotRadar_1;\n }\n\n zrUtil.each(option.series, function (seriesOpt) {\n if (seriesOpt && seriesOpt.type === 'radar' && seriesOpt.polarIndex) {\n seriesOpt.radarIndex = seriesOpt.polarIndex;\n }\n });\n}"]},"metadata":{},"sourceType":"module"}