diff --git a/docs/change-log.md b/docs/change-log.md index aff49d1..d76ce89 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -1,5 +1,13 @@ # 更新日志 +## v0.9.7 + +* **修复** 雷达图刻度轴不可取消的问题 + +### PRS + +* [#144](https://github.com/vueblocks/ve-charts/pull/142) by [liweina-fans](https://github.com/liweina-fans) + ## v0.9.6 * **新增** 柱状图/折线图新增维度轴分隔线设置 diff --git a/lib/ve-charts.common.js b/lib/ve-charts.common.js index 502b527..d6040a3 100644 --- a/lib/ve-charts.common.js +++ b/lib/ve-charts.common.js @@ -123,6 +123,13 @@ var update = add("d14a69d0", content, true, {"sourceMap":false,"shadowMode":fals /***/ }), +/***/ "1104": +/***/ (function(module, exports) { + +module.exports = require("echarts"); + +/***/ }), + /***/ "137f": /***/ (function(module, __webpack_exports__, __webpack_require__) { @@ -1795,13 +1802,6 @@ module.exports = function(originalModule) { }; -/***/ }), - -/***/ "ddb4": -/***/ (function(module, exports) { - -module.exports = require("echarts"); - /***/ }), /***/ "dff1": @@ -1916,7 +1916,7 @@ if (typeof window !== 'undefined') { /* harmony default export */ var setPublicPath = (null); // EXTERNAL MODULE: external "echarts" -var external_echarts_ = __webpack_require__("ddb4"); +var external_echarts_ = __webpack_require__("1104"); var external_echarts_default = /*#__PURE__*/__webpack_require__.n(external_echarts_); // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45371285-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HocEcharts.vue?vue&type=template&id=1a0a63b4& @@ -9077,7 +9077,15 @@ class chart_RadarChart extends src_BaseChart { return series } - static getRadiusPolar ({ data, settings }) { + static getRadiusPolar ({ data, settings, tickMarkVisible }) { + if (!tickMarkVisible) { + return { + polar: null, + radiusAxis: null, + angleAxis: null + } + } + const { splitNumber = 5, offsetY = '50%', radius = '75%', axisLabel = {}, axisLine = {} } = settings const max = data.dimensions[0].max const min = 0 @@ -9128,7 +9136,7 @@ class chart_RadarChart extends src_BaseChart { const series = chart_RadarChart.getRadarSeries({ data, settings }) - const polarOptions = tickMarkVisible ? chart_RadarChart.getRadiusPolar({ data, settings }) : {} + const polarOptions = chart_RadarChart.getRadiusPolar({ data, settings, tickMarkVisible }) // build echarts options const options = { diff --git a/lib/ve-charts.umd.js b/lib/ve-charts.umd.js index 007cd35..34d2114 100644 --- a/lib/ve-charts.umd.js +++ b/lib/ve-charts.umd.js @@ -7,7 +7,7 @@ exports["VeCharts"] = factory(require("zrender"), require("vue"), require("echarts")); else root["VeCharts"] = factory(root["zrender"], root["vue"], root["echarts"]); -})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__1523__, __WEBPACK_EXTERNAL_MODULE__8bbf__, __WEBPACK_EXTERNAL_MODULE_e2b6__) { +})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__1523__, __WEBPACK_EXTERNAL_MODULE__8bbf__, __WEBPACK_EXTERNAL_MODULE_ddb4__) { return /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; @@ -1804,6 +1804,13 @@ module.exports = function(originalModule) { }; +/***/ }), + +/***/ "ddb4": +/***/ (function(module, exports) { + +module.exports = __WEBPACK_EXTERNAL_MODULE_ddb4__; + /***/ }), /***/ "dff1": @@ -1851,13 +1858,6 @@ function cloneBuffer(buffer, isDeep) { /***/ }), -/***/ "e2b6": -/***/ (function(module, exports) { - -module.exports = __WEBPACK_EXTERNAL_MODULE_e2b6__; - -/***/ }), - /***/ "f6fd": /***/ (function(module, exports) { @@ -1925,7 +1925,7 @@ if (typeof window !== 'undefined') { /* harmony default export */ var setPublicPath = (null); // EXTERNAL MODULE: external "echarts" -var external_echarts_ = __webpack_require__("e2b6"); +var external_echarts_ = __webpack_require__("ddb4"); var external_echarts_default = /*#__PURE__*/__webpack_require__.n(external_echarts_); // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45371285-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HocEcharts.vue?vue&type=template&id=1a0a63b4& @@ -9086,7 +9086,15 @@ class chart_RadarChart extends src_BaseChart { return series } - static getRadiusPolar ({ data, settings }) { + static getRadiusPolar ({ data, settings, tickMarkVisible }) { + if (!tickMarkVisible) { + return { + polar: null, + radiusAxis: null, + angleAxis: null + } + } + const { splitNumber = 5, offsetY = '50%', radius = '75%', axisLabel = {}, axisLine = {} } = settings const max = data.dimensions[0].max const min = 0 @@ -9137,7 +9145,7 @@ class chart_RadarChart extends src_BaseChart { const series = chart_RadarChart.getRadarSeries({ data, settings }) - const polarOptions = tickMarkVisible ? chart_RadarChart.getRadiusPolar({ data, settings }) : {} + const polarOptions = chart_RadarChart.getRadiusPolar({ data, settings, tickMarkVisible }) // build echarts options const options = { diff --git a/lib/ve-charts.umd.min.js b/lib/ve-charts.umd.min.js index 74f5b7d..98e3611 100644 --- a/lib/ve-charts.umd.min.js +++ b/lib/ve-charts.umd.min.js @@ -1,8 +1,8 @@ -(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("zrender"),require("vue"),require("echarts")):"function"===typeof define&&define.amd?define(["zrender","vue","echarts"],t):"object"===typeof exports?exports["VeCharts"]=t(require("zrender"),require("vue"),require("echarts")):e["VeCharts"]=t(e["zrender"],e["vue"],e["echarts"])})("undefined"!==typeof self?self:this,(function(e,t,r){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="fb15")}({"068a":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".ve-charts-empty-data{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}",""]),e.exports=t},"0e45":function(e){e.exports=JSON.parse('{"北京市":[116.46,39.92],"天津市":[117.2,39.13],"上海市":[121.48,31.22],"重庆市":[106.54,29.59],"七台河市":[130.95,45.78],"万宁市":[110.4,18.8],"万州区":[108.4,30.82],"三亚市":[109.5,18.25],"三明市":[117.62,26.27],"三沙市":[112.2,16.5],"三门峡市":[111.2,34.78],"上饶市":[117.97,28.45],"东丽区":[117.3,39.08],"东城区":[116.42,39.93],"东方市":[108.63,19.1],"东莞市":[113.75,23.05],"东营市":[118.67,37.43],"中卫市":[105.18,37.52],"中山市":[113.38,22.52],"丰台区":[116.28,39.85],"丰都县":[107.73,29.87],"临夏州":[103.22,35.6],"临汾市":[111.52,36.08],"临沂市":[118.35,35.05],"临沧市":[100.08,23.88],"临高县":[109.68,19.92],"丹东市":[124.38,40.13],"丽水市":[119.92,28.45],"丽江市":[100.23,26.88],"乌兰察布市":[113.12,40.98],"乌海市":[106.82,39.67],"乌鲁木齐市":[87.62,43.82],"乐东县":[109.17,18.75],"乐山市":[103.77,29.57],"九江市":[116,29.7],"九龙坡区":[106.5,29.5],"云浮市":[112.03,22.92],"云阳县":[108.67,30.95],"五家渠市":[87.53,44.17],"五指山市":[109.52,18.78],"亳州市":[115.78,33.85],"仙桃市":[113.45,30.37],"伊春市":[128.9,47.73],"伊犁州":[81.32,43.92],"佛山市":[113.12,23.02],"佳木斯市":[130.37,46.82],"保亭县":[109.7,18.63],"保定市":[115.47,38.87],"保山市":[99.17,25.12],"信阳市":[114.07,32.13],"儋州市":[109.57,19.52],"克拉玛依市":[84.87,45.6],"六安市":[116.5,31.77],"六盘水市":[104.83,26.6],"兰州市":[103.82,36.07],"兴安盟":[122.05,46.08],"内江市":[105.05,29.58],"凉山州":[102.27,27.9],"包头市":[109.83,40.65],"北海市":[109.12,21.48],"北碚区":[106.4,29.8],"北辰区":[117.13,39.22],"十堰市":[110.78,32.65],"南京市":[118.78,32.07],"南充市":[106.08,30.78],"南宁市":[109.29,22.8],"南岸区":[106.57,29.52],"南川区":[107.17,29.14],"南平市":[118.17,26.65],"南开区":[117.15,39.13],"南昌市":[115.85,28.68],"南通市":[120.88,31.98],"南阳市":[112.52,33],"博尔塔拉州":[82.07,44.9],"厦门市":[118.08,24.48],"双鸭山市":[131.15,46.63],"台州市":[121.43,28.68],"合川区":[106.3,30.11],"合肥市":[117.25,31.83],"吉安市":[114.98,27.12],"吉林市":[126.55,43.83],"吐鲁番地区":[89.17,42.95],"吕梁市":[111.13,37.52],"吴忠市":[106.2,37.98],"周口市":[114.65,33.62],"呼伦贝尔市":[119.77,49.22],"呼和浩特市":[111.73,40.83],"和平区":[117.2,39.12],"和田地区":[79.92,37.12],"咸宁市":[114.32,29.85],"咸阳市":[108.7,34.33],"哈密地区":[93.52,42.83],"哈尔滨市":[126.53,45.8],"唐山市":[118.2,39.63],"商丘市":[115.65,34.45],"商洛市":[109.93,33.87],"喀什地区":[75.98,39.47],"嘉兴市":[120.75,30.75],"嘉定区":[121.27,31.38],"嘉峪关市":[98.27,39.8],"四平市":[124.35,43.17],"固原市":[106.28,36],"图木舒克市":[79.13,39.85],"垫江县":[107.35,30.33],"城口县":[108.67,31.95],"塔城地区":[82.98,46.75],"塘沽区":[117.65,39.02],"大兴区":[116.33,39.73],"大兴安岭地区":[124.12,50.42],"大同市":[113.3,40.08],"大庆市":[125.03,46.58],"大渡口区":[106.48,29.48],"大港区":[117.45,38.83],"大理州":[100.23,25.6],"大足区":[105.72,29.7],"大连市":[121.62,38.92],"天水市":[105.72,34.58],"天门市":[113.17,30.67],"太原市":[112.55,37.87],"奉节县":[109.47,31.02],"奉贤区":[121.47,30.92],"威海市":[122.12,37.52],"娄底市":[112,27.73],"孝感市":[113.92,30.93],"宁德市":[119.52,26.67],"宁河县":[117.82,39.33],"宁波市":[121.55,29.88],"安庆市":[117.05,30.53],"安康市":[109.02,32.68],"安阳市":[114.38,36.1],"安顺市":[105.95,26.25],"定安县":[110.32,19.7],"定西市":[104.62,35.58],"宜宾市":[104.62,28.77],"宜昌市":[111.28,30.7],"宜春市":[114.38,27.8],"宝坻区":[117.3,39.72],"宝山区":[131.4,46.57],"宝鸡市":[107.13,34.37],"宣城市":[118.75,30.95],"宣武区":[116.35,39.87],"宿州市":[116.98,33.63],"宿迁市":[118.28,33.97],"密云区":[116.83,40.37],"屯昌县":[110.1,19.37],"山南地区":[91.77,29.23],"岳阳市":[113.12,29.37],"崇左市":[107.37,22.4],"崇文区":[116.43,39.88],"崇明县":[121.53,31.63],"巫山县":[109.88,31.08],"巫溪县":[109.63,31.4],"巴中市":[106.77,31.85],"巴南区":[106.52,29.38],"巴彦淖尔市":[107.42,40.75],"巴音郭楞州":[86.15,41.77],"常州市":[119.95,31.78],"常德市":[111.68,29.05],"平凉市":[106.67,35.55],"平谷区":[117.12,40.13],"平顶山市":[113.18,33.77],"广元市":[105.83,32.43],"广安市":[106.63,30.47],"广州市":[113.27,23.13],"庆阳市":[107.63,35.73],"廊坊市":[116.7,39.52],"延安市":[109.48,36.6],"延庆县":[115.97,40.45],"延边州":[129.5,42.88],"开县":[108.42,31.18],"开封市":[114.3,34.8],"张家口市":[114.88,40.82],"张家界市":[110.47,29.13],"张掖市":[100.45,38.93],"彭水县":[108.17,29.3],"徐州市":[117.18,34.27],"徐汇区":[121.43,31.18],"德宏州":[98.58,24.43],"德州市":[116.3,37.45],"德阳市":[104.38,31.13],"忠县":[108.02,30.3],"忻州市":[112.73,38.42],"怀化市":[110,27.57],"怀柔区":[116.63,40.32],"怒江州":[98.85,25.85],"恩施州":[109.5,30.3],"惠州市":[114.42,23.12],"成都市":[104.07,30.67],"房山区":[116.13,39.75],"扬州市":[119.4,32.4],"承德市":[117.93,40.97],"抚州市":[116.35,28],"抚顺市":[123.98,41.88],"拉萨市":[91.13,29.65],"揭阳市":[116.37,23.55],"攀枝花市":[101.72,26.58],"文山州":[104.25,23.37],"文昌市":[110.8,19.55],"新乡市":[113.9,35.3],"新余市":[114.92,27.82],"无锡市":[120.3,31.57],"日喀则地区":[88.88,29.27],"日照市":[119.52,35.42],"昆明市":[102.72,25.05],"昌吉州":[87.3,44.02],"昌平区":[116.23,40.22],"昌江县":[109.05,19.25],"昌都地区":[97.18,31.13],"昭通市":[103.72,27.33],"晋中市":[112.75,37.68],"晋城市":[112.83,35.5],"普洱市":[100.98,22.78],"普陀区":[121.4,31.25],"景德镇市":[117.17,29.27],"曲靖市":[103.8,25.5],"朔州市":[112.43,39.33],"朝阳区":[116.43,39.92],"朝阳市":[120.45,41.57],"本溪市":[123.77,41.3],"来宾市":[109.23,23.73],"杨浦区":[121.52,31.27],"杭州市":[120.15,30.28],"松原市":[124.82,45.13],"松江区":[121.22,31.03],"林芝地区":[94.37,29.68],"果洛州":[100.23,34.48],"枣庄市":[117.32,34.82],"柳州市":[109.42,24.32],"株洲市":[113.13,27.83],"桂林市":[110.28,25.28],"梁平县":[107.8,30.68],"梅州市":[116.12,24.28],"梧州市":[111.27,23.48],"楚雄州":[101.55,25.03],"榆林市":[109.73,38.28],"武威市":[102.63,37.93],"武汉市":[114.3,30.6],"武清区":[117.03,39.38],"武隆县":[107.75,29.33],"毕节市":[105.28,27.3],"永川区":[105.87,29.29],"永州市":[111.62,26.43],"汉中市":[107.02,33.07],"汉沽区":[117.8,39.25],"汕头市":[116.68,23.35],"汕尾市":[115.37,22.78],"江北区":[121.55,29.88],"江津区":[106.3,29.03],"江门市":[113.08,22.58],"池州市":[117.48,30.67],"沈阳市":[123.43,41.8],"沙坪坝区":[106.45,29.53],"沧州市":[116.83,38.3],"河东区":[117.22,39.12],"河北区":[117.18,39.15],"河池市":[108.07,24.7],"河源市":[114.7,23.73],"河西区":[117.22,39.12],"泉州市":[118.67,24.88],"泰安市":[117.08,36.2],"泰州市":[119.92,32.45],"泸州市":[105.43,28.87],"洛阳市":[112.45,34.62],"津南区":[117.38,38.98],"济南市":[116.98,36.67],"济宁市":[116.58,35.42],"济源市":[112.58,35.07],"浦东新区":[121.53,31.22],"海东地区":[102.12,36.5],"海北州":[100.9,36.97],"海南州":[100.62,36.28],"海口市":[110.32,20.03],"海淀区":[116.3,39.95],"海西州":[97.37,37.37],"涪陵区":[107.4,29.72],"淄博市":[118.05,36.82],"淮北市":[116.8,33.95],"淮南市":[117,32.63],"淮安市":[119.02,33.62],"深圳市":[114.05,22.55],"清远市":[113.03,23.7],"渝中区":[106.57,29.55],"渝北区":[106.63,29.72],"温州市":[120.7,28],"渭南市":[109.5,34.5],"湖州市":[120.08,30.9],"湘潭市":[112.93,27.83],"湘西州":[109.74,28.31],"湛江市":[110.35,21.27],"滁州市":[118.32,32.3],"滨州市":[117.97,37.38],"漯河市":[114.02,33.58],"漳州市":[117.65,24.52],"潍坊市":[119.15,36.7],"潜江市":[112.88,30.42],"潮州市":[116.62,23.67],"潼南县":[105.83,30.18],"澄迈县":[110,19.73],"濮阳市":[115.03,35.77],"烟台市":[121.43,37.45],"焦作市":[113.25,35.22],"牡丹江市":[129.6,44.58],"玉林市":[110.17,22.63],"玉树州":[97.02,33],"玉溪市":[102.55,24.35],"珠海市":[113.57,22.27],"琼中县":[109.83,19.03],"琼海市":[110.47,19.25],"璧山县":[106.22,29.6],"甘南州":[102.92,34.98],"甘孜州":[101.97,30.05],"白城市":[122.83,45.62],"白山市":[126.42,41.93],"白沙县":[109.45,19.23],"白银市":[104.18,36.55],"百色市":[106.62,23.9],"益阳市":[112.32,28.6],"盐城市":[120.15,33.35],"盘锦市":[122.07,41.12],"眉山市":[103.83,30.05],"石嘴山市":[106.38,39.02],"石家庄市":[114.52,38.05],"石景山区":[116.22,39.9],"石柱县":[108.12,30],"石河子市":[86.03,44.3],"神农架林区":[110.67,31.75],"福州市":[119.3,26.08],"秀山县":[108.98,28.45],"秦皇岛市":[119.6,39.93],"綦江区":[106.65,29.03],"红桥区":[117.15,39.17],"红河州":[103.4,23.37],"绍兴市":[120.57,30],"绥化市":[126.98,46.63],"绵阳市":[104.73,31.47],"聊城市":[115.98,36.45],"肇庆市":[112.47,23.05],"自贡市":[104.78,29.35],"舟山市":[122.2,30],"芜湖市":[118.38,31.33],"苏州市":[120.58,31.3],"茂名市":[110.92,21.67],"荆州市":[112.23,30.33],"荆门市":[112.2,31.03],"荣昌县":[105.58,29.4],"莆田市":[119,25.43],"莱芜市":[117.67,36.22],"菏泽市":[115.46,35.26],"萍乡市":[113.85,27.63],"营口市":[122.23,40.67],"葫芦岛市":[120.83,40.72],"蓟县":[117.4,40.05],"虹口区":[121.5,31.27],"蚌埠市":[117.38,32.92],"衡水市":[115.68,37.73],"衡阳市":[112.57,26.9],"衢州市":[118.87,28.93],"襄阳市":[112.2,32.08],"西双版纳州":[100.8,22.02],"西城区":[116.37,39.92],"西宁市":[101.78,36.62],"西安市":[108.93,34.27],"西青区":[117,39.13],"许昌市":[113.85,34.03],"贵港市":[109.6,23.1],"贵阳市":[106.63,26.65],"贺州市":[111.55,24.42],"资阳市":[104.65,30.12],"赣州市":[114.93,25.83],"赤峰市":[118.92,42.27],"辽源市":[125.13,42.88],"辽阳市":[123.17,41.27],"达州市":[107.5,31.22],"运城市":[110.98,35.02],"连云港市":[119.22,34.6],"迪庆州":[99.7,27.83],"迪庆藏族自治县":[99.7,27.83],"通化市":[125.93,41.73],"通州区":[116.65,39.92],"通辽市":[122.27,43.62],"遂宁市":[105.57,30.52],"遵义市":[106.92,27.73],"邢台市":[114.48,37.07],"那曲地区":[92.07,31.48],"邯郸市":[114.48,36.62],"邵阳市":[111.47,27.25],"郑州市":[113.62,34.75],"郴州市":[113.02,25.78],"鄂尔多斯市":[109.8,39.62],"鄂州市":[114.88,30.4],"酉阳县":[108.77,28.85],"酒泉市":[98.52,39.75],"金华市":[119.65,29.08],"金山区":[121.33,30.75],"金昌市":[102.18,38.5],"钦州市":[108.62,21.95],"铁岭市":[123.83,42.28],"铜仁市":[109.18,27.72],"铜川市":[108.93,34.9],"铜梁县":[106.05,29.85],"铜陵市":[117.82,30.93],"银川市":[106.28,38.47],"锡林郭勒盟":[116.07,43.95],"锦州市":[121.13,41.1],"镇江市":[119.45,32.2],"长宁区":[121.42,31.22],"长寿区":[107.08,29.87],"长春市":[125.32,43.9],"长沙市":[112.93,28.23],"长治市":[113.11,36.2],"门头沟":[116.1,39.93],"闵行区":[121.38,31.12],"闸北区":[121.45,31.25],"阜新市":[121.67,42.02],"阜阳市":[115.82,32.9],"防城港市":[108.35,21.7],"阳江市":[111.98,21.87],"阳泉市":[113.57,37.85],"阿克苏地区":[80.27,41.17],"阿勒泰地区":[88.13,47.85],"阿坝州":[102.22,31.9],"阿拉善盟":[105.67,38.83],"阿拉尔市":[81.28,40.55],"阿里地区":[80.1,32.5],"陇南市":[104.92,33.4],"陵水县":[110.03,18.5],"随州市":[113.37,31.72],"雅安市":[103,29.98],"青岛市":[120.38,36.07],"青浦区":[121.12,31.15],"静安区":[121.45,31.23],"静海县":[116.92,38.93],"鞍山市":[122.98,41.1],"韶关市":[113.6,24.82],"韶山市":[112.52,27.93],"顺义区":[116.65,40.13],"马鞍山市":[118.5,31.7],"驻马店市":[114.02,32.98],"鸡西市":[130.97,45.3],"鹤壁市":[114.28,35.75],"鹤岗市":[130.27,47.33],"鹰潭市":[117.07,28.27],"黄冈市":[114.87,30.45],"黄南州":[102.02,35.52],"黄山市":[118.33,29.72],"黄浦区":[121.48,31.23],"黄石市":[115.03,30.2],"黑河市":[127.48,50.25],"黔东南州":[107.97,26.58],"黔南州":[107.52,26.27],"黔江区":[108.77,29.53],"黔西南州":[106.12,27.05],"齐齐哈尔市":[123.95,47.33],"龙岩市":[117.03,25.1]}')},"0fcc":function(e,t,r){var n=r("3461");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("499e").default;a("d14a69d0",n,!0,{sourceMap:!1,shadowMode:!1})},"137f":function(e,t,r){"use strict";var n=r("3a88"),a=r.n(n);a.a},1523:function(t,r){t.exports=e},"24fb":function(e,t,r){"use strict";function n(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"===typeof btoa){var i=a(n),o=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot).concat(e," */")}));return[r].concat(o).concat([i]).join("\n")}return[r].join("\n")}function a(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(r," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r){"string"===typeof e&&(e=[[null,e,""]]);for(var n=0;nr.parts.length&&(n.parts.length=r.parts.length)}else{var o=[];for(a=0;ar.parts.length&&(n.parts.length=r.parts.length)}else{var o=[];for(a=0;a=b&&!i||"t"===i?(g+=f.abbreviations.trillion,t/=b):o=v&&!i||"b"===i?(g+=f.abbreviations.billion,t/=v):o=y&&!i||"m"===i?(g+=f.abbreviations.million,t/=y):(o=_&&!i||"k"===i)&&(g+=f.abbreviations.thousand,t/=_)),e._.includes(r,"[.]")&&(p=!0,r=r.replace("[.]",".")),s=t.toString().split(".")[0],l=r.split(".")[1],u=r.indexOf(","),m=(r.split(".")[0].split(",")[0].match(/0/g)||[]).length,l?(e._.includes(l,"[")?(l=l.replace("]",""),l=l.split("["),x=e._.toFixed(t,l[0].length+l[1].length,n,l[1].length)):x=e._.toFixed(t,l.length,n),s=x.split(".")[0],x=e._.includes(x,".")?f.delimiters.decimal+x.split(".")[1]:"",p&&0===Number(x.slice(1))&&(x="")):s=e._.toFixed(t,0,n),g&&!i&&Number(s)>=1e3&&g!==f.abbreviations.trillion)switch(s=String(Number(s)/1e3),g){case f.abbreviations.thousand:g=f.abbreviations.million;break;case f.abbreviations.million:g=f.abbreviations.billion;break;case f.abbreviations.billion:g=f.abbreviations.trillion;break}if(e._.includes(s,"-")&&(s=s.slice(1),w=!0),s.length0;S--)s="0"+s;return u>-1&&(s=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f.delimiters.thousands)),0===r.indexOf(".")&&(s=""),d=s+x+(g||""),h?d=(h&&w?"(":"")+d+(h&&w?")":""):c>=0?d=0===c?(w?"-":"+")+d:d+(w?"-":"+"):w&&(d="-"+d),d},stringToNumber:function(e){var t,r,n,i=a[o.currentLocale],s=e,l={thousand:3,million:6,billion:9,trillion:12};if(o.zeroFormat&&e===o.zeroFormat)r=0;else if(o.nullFormat&&e===o.nullFormat||!e.replace(/[^0-9]+/g,"").length)r=null;else{for(t in r=1,"."!==i.delimiters.decimal&&(e=e.replace(/\./g,"").replace(i.delimiters.decimal,".")),l)if(n=new RegExp("[^a-zA-Z]"+i.abbreviations[t]+"(?:\\)|(\\"+i.currency.symbol+")?(?:\\))?)?$"),s.match(n)){r*=Math.pow(10,l[t]);break}r*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),r*=Number(e)}return r},isNaN:function(e){return"number"===typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,r){return e.slice(0,r)+t+e.slice(r)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!==typeof t)throw new TypeError(t+" is not a function");var r,n=Object(e),a=n.length>>>0,i=0;if(3===arguments.length)r=arguments[2];else{while(i=a)throw new TypeError("Reduce of empty array with no initial value");r=n[i++]}for(;in?e:n}),1)},toFixed:function(e,t,r,n){var a,i,o,s,l=e.toString().split("."),c=t-(n||0);return a=2===l.length?Math.min(Math.max(l[1].length,c),t):c,o=Math.pow(10,a),s=(r(e+"e+"+a)/o).toFixed(a),n>t-a&&(i=new RegExp("\\.?0{1,"+(n-(t-a))+"}$"),s=s.replace(i,"")),s}},e.options=o,e.formats=n,e.locales=a,e.locale=function(e){return e&&(o.currentLocale=e.toLowerCase()),o.currentLocale},e.localeData=function(e){if(!e)return a[o.currentLocale];if(e=e.toLowerCase(),!a[e])throw new Error("Unknown locale : "+e);return a[e]},e.reset=function(){for(var e in i)o[e]=i[e]},e.zeroFormat=function(e){o.zeroFormat="string"===typeof e?e:null},e.nullFormat=function(e){o.nullFormat="string"===typeof e?e:null},e.defaultFormat=function(e){o.defaultFormat="string"===typeof e?e:"0.0"},e.register=function(e,t,r){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=r,r},e.validate=function(t,r){var n,a,i,o,s,l,c,u;if("string"!==typeof t&&(t+="",console.warn),t=t.trim(),t.match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.localeData(r)}catch(d){c=e.localeData(e.locale())}return i=c.currency.symbol,s=c.abbreviations,n=c.delimiters.decimal,a="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,u=t.match(/^[^\d]+/),(null===u||(t=t.substr(1),u[0]===i))&&(u=t.match(/[^\d]+$/),(null===u||(t=t.slice(0,-1),u[0]===s.thousand||u[0]===s.million||u[0]===s.billion||u[0]===s.trillion))&&(l=new RegExp(a+"{2}"),!t.match(/[^\d.,]/g)&&(o=t.split(n),!(o.length>2)&&(o.length<2?!!o[0].match(/^\d+.*\d$/)&&!o[0].match(l):1===o[0].length?!!o[0].match(/^\d+$/)&&!o[0].match(l)&&!!o[1].match(/^\d+$/):!!o[0].match(/^\d+.*\d$/)&&!o[0].match(l)&&!!o[1].match(/^\d+$/)))))},e.fn=s.prototype={clone:function(){return e(this)},format:function(t,r){var a,i,s,l=this._value,c=t||o.defaultFormat;if(r=r||Math.round,0===l&&null!==o.zeroFormat)i=o.zeroFormat;else if(null===l&&null!==o.nullFormat)i=o.nullFormat;else{for(a in n)if(c.match(n[a].regexps.format)){s=n[a].format;break}s=s||e._.numberToFormat,i=s(l,c,r)}return i},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var r=t.correctionFactor.call(null,this._value,e);function n(e,t,n,a){return e+Math.round(r*t)}return this._value=t.reduce([this._value,e],n,0)/r,this},subtract:function(e){var r=t.correctionFactor.call(null,this._value,e);function n(e,t,n,a){return e-Math.round(r*t)}return this._value=t.reduce([e],n,Math.round(this._value*r))/r,this},multiply:function(e){function r(e,r,n,a){var i=t.correctionFactor(e,r);return Math.round(e*i)*Math.round(r*i)/Math.round(i*i)}return this._value=t.reduce([this._value,e],r,1),this},divide:function(e){function r(e,r,n,a){var i=t.correctionFactor(e,r);return Math.round(e*i)/Math.round(r*i)}return this._value=t.reduce([this._value,e],r),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),function(){e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,r,n){var a,i=e._.includes(r," BPS")?" ":"";return t*=1e4,r=r.replace(/\s?BPS/,""),a=e._.numberToFormat(t,r,n),e._.includes(a,")")?(a=a.split(""),a.splice(-1,0,i+"BPS"),a=a.join("")):a=a+i+"BPS",a},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}})}(),function(){var t={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},n=t.suffixes.concat(r.suffixes.filter((function(e){return t.suffixes.indexOf(e)<0}))),a=n.join("|");a="("+a.replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(a)},format:function(n,a,i){var o,s,l,c,u=e._.includes(a,"ib")?r:t,d=e._.includes(a," b")||e._.includes(a," ib")?" ":"";for(a=a.replace(/\s?i?b/,""),s=0;s<=u.suffixes.length;s++)if(l=Math.pow(u.base,s),c=Math.pow(u.base,s+1),null===n||0===n||n>=l&&n0&&(n/=l);break}return o=e._.numberToFormat(n,a,i),o+d},unformat:function(n){var a,i,o=e._.stringToNumber(n);if(o){for(a=t.suffixes.length-1;a>=0;a--){if(e._.includes(n,t.suffixes[a])){i=Math.pow(t.base,a);break}if(e._.includes(n,r.suffixes[a])){i=Math.pow(r.base,a);break}}o*=i||1}return o}})}(),function(){e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,r,n){var a,i,o,s=e.locales[e.options.currentLocale],l={before:r.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:r.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(r=r.replace(/\s?\$\s?/,""),a=e._.numberToFormat(t,r,n),t>=0?(l.before=l.before.replace(/[\-\(]/,""),l.after=l.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(l.before,"-")&&!e._.includes(l.before,"(")&&(l.before="-"+l.before),o=0;o=0;o--)switch(i=l.after[o],i){case"$":a=o===l.after.length-1?a+s.currency.symbol:e._.insert(a,s.currency.symbol,-(l.after.length-(1+o)));break;case" ":a=o===l.after.length-1?a+" ":e._.insert(a," ",-(l.after.length-(1+o)+s.currency.symbol.length-1));break}return a}})}(),function(){e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,r,n){var a,i="number"!==typeof t||e._.isNaN(t)?"0e+0":t.toExponential(),o=i.split("e");return r=r.replace(/e[\+|\-]{1}0/,""),a=e._.numberToFormat(Number(o[0]),r,n),a+"e"+o[1]},unformat:function(t){var r=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),n=Number(r[0]),a=Number(r[1]);function i(t,r,n,a){var i=e._.correctionFactor(t,r),o=t*i*(r*i)/(i*i);return o}return a=e._.includes(t,"e-")?a*=-1:a,e._.reduce([n,Math.pow(10,a)],i,1)}})}(),function(){e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,r,n){var a,i=e.locales[e.options.currentLocale],o=e._.includes(r," o")?" ":"";return r=r.replace(/\s?o/,""),o+=i.ordinal(t),a=e._.numberToFormat(t,r,n),a+o}})}(),function(){e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,r,n){var a,i=e._.includes(r," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),r=r.replace(/\s?\%/,""),a=e._.numberToFormat(t,r,n),e._.includes(a,")")?(a=a.split(""),a.splice(-1,0,i+"%"),a=a.join("")):a=a+i+"%",a},unformat:function(t){var r=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*r:r}})}(),function(){e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,r){var n=Math.floor(e/60/60),a=Math.floor((e-60*n*60)/60),i=Math.round(e-60*n*60-60*a);return n+":"+(a<10?"0"+a:a)+":"+(i<10?"0"+i:i)},unformat:function(e){var t=e.split(":"),r=0;return 3===t.length?(r+=60*Number(t[0])*60,r+=60*Number(t[1]),r+=Number(t[2])):2===t.length&&(r+=60*Number(t[0]),r+=Number(t[1])),Number(r)}})}(),e}))},"86eb":function(e,t,r){"use strict";var n=r("ff6f"),a=r.n(n);a.a},"8bbf":function(e,r){e.exports=t},aee1:function(e,t){e.exports=r},c6eb:function(e,t,r){"use strict";(function(e){var n=r("5ea3"),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a,s=o&&n["a"].process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();t["a"]=l}).call(this,r("dd40")(e))},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},dd40:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},dff1:function(e,t,r){"use strict";(function(e){var n=r("26ee"),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a,s=o?n["a"].Buffer:void 0,l=s?s.allocUnsafe:void 0;function c(e,t){if(t)return e.slice();var r=e.length,n=l?l(r):new e.constructor(r);return e.copy(n),n}t["a"]=c}).call(this,r("dd40")(e))},f6fd:function(e,t){(function(e){var t="currentScript",r=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(n){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(n.stack)||[!1])[1];for(e in r)if(r[e].src==t||"interactive"==r[e].readyState)return r[e];return null}}})})(document)},fb15:function(e,t,r){"use strict";var n;(r.r(t),"undefined"!==typeof window)&&(r("f6fd"),(n=window.document.currentScript)&&(n=n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(r.p=n[1]));var a=r("aee1"),i=r.n(a),o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"ve-charts-parent",style:e.parentStyle},[e.isHasData?r("base-echarts",e._g({attrs:{"init-options":e.initOptions,options:e.options,autoResize:!0,theme:e.theme,"chart-height":e.height,ec:e.ec},on:{"update:ec":function(t){e.ec=t}}},e.$listeners)):e._e(),e.isHasData||e.loading?e._e():e._t("default",[r("empty-data",{attrs:{"empty-text":e.emptyText}})]),e.loading?r("loading-chart"):e._e()],2)},s=[];function l(e){return null===e}var c=l,u=Object.prototype;function d(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||u;return e===r}var f=d;function h(e,t){return function(r){return e(t(r))}}var p=h,m=p(Object.keys,Object),g=m,b=Object.prototype,v=b.hasOwnProperty;function y(e){if(!f(e))return g(e);var t=[];for(var r in Object(e))v.call(e,r)&&"constructor"!=r&&t.push(r);return t}var _=y,x=r("26ee"),w=x["a"].Symbol,S=w,A=Object.prototype,j=A.hasOwnProperty,O=A.toString,L=S?S.toStringTag:void 0;function T(e){var t=j.call(e,L),r=e[L];try{e[L]=void 0;var n=!0}catch(i){}var a=O.call(e);return n&&(t?e[L]=r:delete e[L]),a}var z=T,M=Object.prototype,C=M.toString;function k(e){return C.call(e)}var E=k,N="[object Null]",D="[object Undefined]",P=S?S.toStringTag:void 0;function F(e){return null==e?void 0===e?D:N:P&&P in Object(e)?z(e):E(e)}var $=F;function B(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var V=B,R="[object AsyncFunction]",H="[object Function]",U="[object GeneratorFunction]",I="[object Proxy]";function G(e){if(!V(e))return!1;var t=$(e);return t==H||t==U||t==R||t==I}var W=G,q=x["a"]["__core-js_shared__"],Y=q,J=function(){var e=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Z(e){return!!J&&J in e}var X=Z,K=Function.prototype,Q=K.toString;function ee(e){if(null!=e){try{return Q.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var te=ee,re=/[\\^$.*+?()[\]{}|]/g,ne=/^\[object .+?Constructor\]$/,ae=Function.prototype,ie=Object.prototype,oe=ae.toString,se=ie.hasOwnProperty,le=RegExp("^"+oe.call(se).replace(re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ce(e){if(!V(e)||X(e))return!1;var t=W(e)?le:ne;return t.test(te(e))}var ue=ce;function de(e,t){return null==e?void 0:e[t]}var fe=de;function he(e,t){var r=fe(e,t);return ue(r)?r:void 0}var pe=he,me=pe(x["a"],"DataView"),ge=me,be=pe(x["a"],"Map"),ve=be,ye=pe(x["a"],"Promise"),_e=ye,xe=pe(x["a"],"Set"),we=xe,Se=pe(x["a"],"WeakMap"),Ae=Se,je="[object Map]",Oe="[object Object]",Le="[object Promise]",Te="[object Set]",ze="[object WeakMap]",Me="[object DataView]",Ce=te(ge),ke=te(ve),Ee=te(_e),Ne=te(we),De=te(Ae),Pe=$;(ge&&Pe(new ge(new ArrayBuffer(1)))!=Me||ve&&Pe(new ve)!=je||_e&&Pe(_e.resolve())!=Le||we&&Pe(new we)!=Te||Ae&&Pe(new Ae)!=ze)&&(Pe=function(e){var t=$(e),r=t==Oe?e.constructor:void 0,n=r?te(r):"";if(n)switch(n){case Ce:return Me;case ke:return je;case Ee:return Le;case Ne:return Te;case De:return ze}return t});var Fe=Pe;function $e(e){return null!=e&&"object"==typeof e}var Be=$e,Ve="[object Arguments]";function Re(e){return Be(e)&&$(e)==Ve}var He=Re,Ue=Object.prototype,Ie=Ue.hasOwnProperty,Ge=Ue.propertyIsEnumerable,We=He(function(){return arguments}())?He:function(e){return Be(e)&&Ie.call(e,"callee")&&!Ge.call(e,"callee")},qe=We,Ye=Array.isArray,Je=Ye,Ze=9007199254740991;function Xe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ze}var Ke=Xe;function Qe(e){return null!=e&&Ke(e.length)&&!W(e)}var et=Qe,tt=r("58e0"),rt="[object Arguments]",nt="[object Array]",at="[object Boolean]",it="[object Date]",ot="[object Error]",st="[object Function]",lt="[object Map]",ct="[object Number]",ut="[object Object]",dt="[object RegExp]",ft="[object Set]",ht="[object String]",pt="[object WeakMap]",mt="[object ArrayBuffer]",gt="[object DataView]",bt="[object Float32Array]",vt="[object Float64Array]",yt="[object Int8Array]",_t="[object Int16Array]",xt="[object Int32Array]",wt="[object Uint8Array]",St="[object Uint8ClampedArray]",At="[object Uint16Array]",jt="[object Uint32Array]",Ot={};function Lt(e){return Be(e)&&Ke(e.length)&&!!Ot[$(e)]}Ot[bt]=Ot[vt]=Ot[yt]=Ot[_t]=Ot[xt]=Ot[wt]=Ot[St]=Ot[At]=Ot[jt]=!0,Ot[rt]=Ot[nt]=Ot[mt]=Ot[at]=Ot[gt]=Ot[it]=Ot[ot]=Ot[st]=Ot[lt]=Ot[ct]=Ot[ut]=Ot[dt]=Ot[ft]=Ot[ht]=Ot[pt]=!1;var Tt=Lt;function zt(e){return function(t){return e(t)}}var Mt=zt,Ct=r("c6eb"),kt=Ct["a"]&&Ct["a"].isTypedArray,Et=kt?Mt(kt):Tt,Nt=Et,Dt="[object Map]",Pt="[object Set]",Ft=Object.prototype,$t=Ft.hasOwnProperty;function Bt(e){if(null==e)return!0;if(et(e)&&(Je(e)||"string"==typeof e||"function"==typeof e.splice||Object(tt["a"])(e)||Nt(e)||qe(e)))return!e.length;var t=Fe(e);if(t==Dt||t==Pt)return!e.size;if(f(e))return!_(e).length;for(var r in e)if($t.call(e,r))return!1;return!0}var Vt=Bt;function Rt(e){return void 0===e}var Ht=Rt,Ut="[object Symbol]";function It(e){return"symbol"==typeof e||Be(e)&&$(e)==Ut}var Gt=It,Wt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,qt=/^\w*$/;function Yt(e,t){if(Je(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Gt(e))||(qt.test(e)||!Wt.test(e)||null!=t&&e in Object(t))}var Jt=Yt,Zt=pe(Object,"create"),Xt=Zt;function Kt(){this.__data__=Xt?Xt(null):{},this.size=0}var Qt=Kt;function er(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var tr=er,rr="__lodash_hash_undefined__",nr=Object.prototype,ar=nr.hasOwnProperty;function ir(e){var t=this.__data__;if(Xt){var r=t[e];return r===rr?void 0:r}return ar.call(t,e)?t[e]:void 0}var or=ir,sr=Object.prototype,lr=sr.hasOwnProperty;function cr(e){var t=this.__data__;return Xt?void 0!==t[e]:lr.call(t,e)}var ur=cr,dr="__lodash_hash_undefined__";function fr(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Xt&&void 0===t?dr:t,this}var hr=fr;function pr(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t-1}var zr=Tr;function Mr(e,t){var r=this.__data__,n=xr(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Cr=Mr;function kr(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t-1&&e%1==0&&e0){if(++t>=Yo)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Ko=Xo,Qo=Ko(qo),es=Qo;function ts(e,t){return es(Uo(e,t,$o),e+"")}var rs=ts;function ns(e){return function(t){return null==t?void 0:t[e]}}var as=ns;function is(e){return Be(e)&&et(e)}var os=is,ss=Math.max;function ls(e){if(!e||!e.length)return[];var t=0;return e=Aa(e,(function(e){if(os(e))return t=ss(e.length,t),!0})),Xn(t,(function(t){return ln(e,as(t))}))}var cs=ls,us=rs(cs),ds=us;function fs(e,t){var r,n=-1,a=e.length;while(++n{if(isNaN(+e))return e;let r=[{value:1e8,symbol:"亿"},{value:1e4,symbol:"万"},{value:1e3,symbol:"千"}];for(let a=0;a=r[a].value)return e/r[a].value+n+r[a].symbol;return e.toString()};return o(e,i)},unformat:function(e){return.01*Hs.a._.stringToNumber(e)}});const Us=e=>{const t={};return Object.keys(e).forEach(r=>{e[r].forEach(e=>{t[e]=r})}),t},Is=e=>new Promise((t,r)=>{const n=new XMLHttpRequest;n.open("GET",e),n.send(null),n.onload=()=>{t(JSON.parse(n.responseText))},n.onerror=()=>{r(JSON.parse(n.responseText))}}),Gs=({mapName:e,mapUrlPrefix:t})=>{const r=`${t}${e}.json`;return Is(r)},Ws=e=>Object.prototype.toString.call(e),qs=(e,t,r)=>{const n=No(e),a=n&&n.dimensions&&n.dimensions.name,i=n&&n.dimensions&&n.dimensions.data,{isEmptyData:o,chartType:s}=r,l=t&&t.stack||null,c=t&&t.percentage||!1;if(!o&&void 0===i)return void Po.a.util.warn("data.dimensions.data is required. Please check on you data",void 0);let u=`${a}`,d=i.length>0&&i[0],f=Js(d)&&"pie"===s?i.map((e,t)=>0===t?`${e}`:e):i;const h={[u]:f};let[p,m]=[{},[]];if(l&&c&&n.measures.length>0){const e=n.measures.map(e=>e.data),t=ds(...e);m=t.map(e=>{const t=e.map(e=>Js(e)?e:parseFloat(e,10));return ms(t)})}n.measures.map(e=>{const t=Js(e.name),r=t?`${e.name} `:e.name;Object.assign(p,{[r]:l&&c?e.data.map((e,t)=>Ds(e/m[t],4)):e.data})});let g=[];const b=Ht(a)?"dimension":a;g.push(b),g=[...g,...n.measures.map(e=>e.name)];const v=Object.assign({},h,p),y={dimensions:g,source:v};return y},Ys=(e,t,r=0)=>{const n=(e,t,r)=>{const n=r>0?`0.${"0".repeat(r)}`:"0",a=r>0?`0,0.${"0".repeat(r)}`:"0,0";switch(e){case"currency":return Hs()(t).format(a);case"en":return Hs()(t).format(`${n} a`);case"zh":return Hs()(t).format(`${n} zh`);case"percentage":return Hs()(t).format(`${n}%`);default:return t}};return n(e,t,r)},Js=e=>!Vs(parseFloat(e))&&isFinite(e)&&Number(e)===e,Zs={grid:{right:10,bottom:10,left:10,containLabel:!0},series:[]},Xs=["#5282e4","#40b17e","#ffd600","#f88d48","#2ebce2","#f35352","#ce62d6","#8954d4","#5257b8","#d42d6b"],Ks=[{itemStyle:{normal:{borderColor:"#fff"}}},{colorSaturation:[.3,.6],itemStyle:{normal:{borderColorSaturation:.7,gapWidth:5,borderWidth:2}}},{colorSaturation:[.3,.5],itemStyle:{normal:{borderColorSaturation:.6}}},{colorSaturation:[.3,.5]}],Qs={secondaryMeasure:{normal:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"},emphasis:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"}}},el="https://unpkg.com/echarts@4.1.0/map/json/";var tl=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"echarts",style:e.echartsStyle})},rl=[],nl=function(){return x["a"].Date.now()},al=nl,il="Expected a function",ol=Math.max,sl=Math.min;function ll(e,t,r){var n,a,i,o,s,l,c=0,u=!1,d=!1,f=!0;if("function"!=typeof e)throw new TypeError(il);function h(t){var r=n,i=a;return n=a=void 0,c=t,o=e.apply(i,r),o}function p(e){return c=e,s=setTimeout(b,t),u?h(e):o}function m(e){var r=e-l,n=e-c,a=t-r;return d?sl(a,i-n):a}function g(e){var r=e-l,n=e-c;return void 0===l||r>=t||r<0||d&&n>=i}function b(){var e=al();if(g(e))return v(e);s=setTimeout(b,m(e))}function v(e){return s=void 0,f&&n?h(e):(n=a=void 0,o)}function y(){void 0!==s&&clearTimeout(s),c=0,n=l=a=s=void 0}function _(){return void 0===s?o:v(al())}function x(){var e=al(),r=g(e);if(n=arguments,a=this,l=e,r){if(void 0===s)return p(l);if(d)return clearTimeout(s),s=setTimeout(b,t),h(l)}return void 0===s&&(s=setTimeout(b,t)),o}return t=Ss(t)||0,V(r)&&(u=!!r.leading,d="maxWait"in r,i=d?ol(Ss(r.maxWait)||0,t):i,f="trailing"in r?!!r.trailing:f),x.cancel=y,x.flush=_,x}var cl=ll;let ul=null;function dl(e){return ul||(ul=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){return setTimeout(e,16)}).bind(window)),ul(e)}let fl=null;function hl(e){fl||(fl=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}).bind(window)),fl(e)}function pl(e){var t=document.createElement("style");return t.type="text/css",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),(document.querySelector("head")||document.body).appendChild(t),t}function ml(e,t={}){let r=document.createElement(e);return Object.keys(t).forEach(e=>{r[e]=t[e]}),r}function gl(e,t,r){let n=window.getComputedStyle(e,r||null)||{display:"none"};return n[t]}function bl(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};let t=e;while(t!==document){if("none"===gl(t,"display"))return{detached:!1,rendered:!1};t=t.parentNode}return{detached:!1,rendered:!0}}var vl='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}';let yl=0,_l=null;function xl(e,t){e.__resize_mutation_handler__||(e.__resize_mutation_handler__=Al.bind(e));let r=e.__resize_listeners__;if(!r)if(e.__resize_listeners__=[],window.ResizeObserver){let{offsetWidth:t,offsetHeight:r}=e,n=new ResizeObserver(()=>{(e.__resize_observer_triggered__||(e.__resize_observer_triggered__=!0,e.offsetWidth!==t||e.offsetHeight!==r))&&Ol(e)}),{detached:a,rendered:i}=bl(e);e.__resize_observer_triggered__=!1===a&&!1===i,e.__resize_observer__=n,n.observe(e)}else if(e.attachEvent&&e.addEventListener)e.__resize_legacy_resize_handler__=function(){Ol(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);else if(yl||(_l=pl(vl)),Ll(e),e.__resize_rendered__=bl(e).rendered,window.MutationObserver){let t=new MutationObserver(e.__resize_mutation_handler__);t.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__resize_mutation_observer__=t}e.__resize_listeners__.push(t),yl++}function wl(e,t){let r=e.__resize_listeners__;if(r){if(t&&r.splice(r.indexOf(t),1),!r.length||!t){if(e.detachEvent&&e.removeEventListener)return e.detachEvent("onresize",e.__resize_legacy_resize_handler__),void document.removeEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);e.__resize_observer__?(e.__resize_observer__.unobserve(e),e.__resize_observer__.disconnect(),e.__resize_observer__=null):(e.__resize_mutation_observer__&&(e.__resize_mutation_observer__.disconnect(),e.__resize_mutation_observer__=null),e.removeEventListener("scroll",jl),e.removeChild(e.__resize_triggers__.triggers),e.__resize_triggers__=null),e.__resize_listeners__=null}!--yl&&_l&&_l.parentNode.removeChild(_l)}}function Sl(e){let{width:t,height:r}=e.__resize_last__,{offsetWidth:n,offsetHeight:a}=e;return n!==t||a!==r?{width:n,height:a}:null}function Al(){let{rendered:e,detached:t}=bl(this);e!==this.__resize_rendered__&&(!t&&this.__resize_triggers__&&(Tl(this),this.addEventListener("scroll",jl,!0)),this.__resize_rendered__=e,Ol(this))}function jl(){Tl(this),this.__resize_raf__&&hl(this.__resize_raf__),this.__resize_raf__=dl(()=>{let e=Sl(this);e&&(this.__resize_last__=e,Ol(this))})}function Ol(e){e&&e.__resize_listeners__&&e.__resize_listeners__.forEach(t=>{t.call(e,e)})}function Ll(e){let t=gl(e,"position");t&&"static"!==t||(e.style.position="relative"),e.__resize_old_position__=t,e.__resize_last__={};let r=ml("div",{className:"resize-triggers"}),n=ml("div",{className:"resize-expand-trigger"}),a=ml("div"),i=ml("div",{className:"resize-contract-trigger"});n.appendChild(a),r.appendChild(n),r.appendChild(i),e.appendChild(r),e.__resize_triggers__={triggers:r,expand:n,expandChild:a,contract:i},Tl(e),e.addEventListener("scroll",jl,!0),e.__resize_last__={width:e.offsetWidth,height:e.offsetHeight}}function Tl(e){let{expand:t,expandChild:r,contract:n}=e.__resize_triggers__,{scrollWidth:a,scrollHeight:i}=n,{offsetWidth:o,offsetHeight:s,scrollWidth:l,scrollHeight:c}=t;n.scrollLeft=a,n.scrollTop=i,r.style.width=o+1+"px",r.style.height=s+1+"px",t.scrollLeft=l,t.scrollTop=c}r("1523");const zl=["legendselectchanged","legendselected","legendunselected","legendscroll","datazoom","datarangeselected","timelinechanged","timelineplaychanged","restore","dataviewchanged","magictypechanged","geoselectchanged","geoselected","geounselected","pieselectchanged","pieselected","pieunselected","mapselectchanged","mapselected","mapunselected","axisareaselected","focusnodeadjacency","unfocusnodeadjacency","brush","brushselected","globalcursortaken","rendered","finished","click","dblclick","mouseover","mouseout","mousedown","mouseup","globalout","contextmenu"];var Ml={props:{options:Object,theme:[String,Object],initOptions:Object,group:String,autoResize:Boolean,watchShallow:Boolean,chartHeight:{type:Number,default:400}},data(){return{chart:null}},computed:{width:{cache:!1,get(){return this.delegateGet("width","getWidth")}},height:{cache:!1,get(){return this.delegateGet("height","getHeight")}},isDisposed:{cache:!1,get(){return!!this.delegateGet("isDisposed","isDisposed")}},computedOptions:{cache:!1,get(){return this.delegateGet("computedOptions","getOption")}},echartsStyle(){return{width:"auto",height:`${this.chartHeight}px`}}},watch:{group(e){this.chart.group=e}},methods:{mergeOptions(e,t,r){this.delegateMethod("setOption",e,t,r)},appendData(e){this.delegateMethod("appendData",e)},resize(e){this.delegateMethod("resize",e)},dispatchAction(e){this.delegateMethod("dispatchAction",e)},convertToPixel(e,t){return this.delegateMethod("convertToPixel",e,t)},convertFromPixel(e,t){return this.delegateMethod("convertFromPixel",e,t)},containPixel(e,t){return this.delegateMethod("containPixel",e,t)},showLoading(e,t){this.delegateMethod("showLoading",e,t)},hideLoading(){this.delegateMethod("hideLoading")},getDataURL(e){return this.delegateMethod("getDataURL",e)},getConnectedDataURL(e){return this.delegateMethod("getConnectedDataURL",e)},clear(){this.delegateMethod("clear")},dispose(){this.delegateMethod("dispose")},delegateMethod(e,...t){if(this.chart)return this.chart[e](...t);Po.a.util.warn(`Cannot call [${e}] before the chart is initialized. Set prop [options] first.`,this)},delegateGet(e,t){return this.chart||Po.a.util.warn(`Cannot get [${e}] before the chart is initialized. Set prop [options] first.`,this),this.chart[t]()},init(){if(this.chart)return;let e=i.a.init(this.$el,this.theme,this.initOptions);this.group&&(e.group=this.group),e.setOption(this.options,!0),e.getZr().on("click",e=>!e.target&&this.$emit("blankClick",e)),zl.forEach(t=>{e.on(t,e=>{this.$emit(t,e)})}),this.autoResize&&(this.__resizeHanlder=cl(()=>{e.resize()},100,{leading:!0}),xl(this.$el,this.__resizeHanlder)),this.chart=e,this.$emit("update:ec",e)},destroy(){this.autoResize&&wl(this.$el,this.__resizeHanlder),this.dispose(),this.chart=null},refresh(){this.destroy(),this.init()}},created(){this.$watch("options",e=>{!this.chart&&e?this.init():this.chart.setOption(this.options,!0)},{deep:!this.watchShallow});let e=["theme","initOptions","autoResize","watchShallow"];e.forEach(e=>{this.$watch(e,()=>{this.refresh()},{deep:!0})})},mounted(){this.options&&this.init()},activated(){this.autoResize&&this.chart&&this.chart.resize()},beforeDestroy(){this.chart&&this.destroy()},connect(e){"string"!==typeof e&&(e=e.map(e=>e.chart)),i.a.connect(e)},disconnect(e){i.a.disConnect(e)},registerMap(e,t,r){i.a.registerMap(e,t,r)},registerTheme(e,t){i.a.registerTheme(e,t)},graphic:i.a.graphic},Cl=Ml;r("46e2");function kl(e,t,r,n,a,i,o,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):a&&(l=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var El=kl(Cl,tl,rl,!1,null,null,null),Nl=El.exports,Dl=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"ve-charts-empty-data"},[r("span",{domProps:{textContent:e._s(e.emptyText)}})])},Pl=[],Fl={name:"EchartsEmptyData",props:{emptyText:{type:String,default:"暂无数据"}}},$l=Fl,Bl=(r("86eb"),kl($l,Dl,Pl,!1,null,null,null)),Vl=Bl.exports,Rl=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"ve-charts-loading-mask"},[r("div",{staticClass:"loading-spinner"},[r("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[r("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])])])},Hl=[],Ul=(r("137f"),{}),Il=kl(Ul,Rl,Hl,!1,null,null,null),Gl=Il.exports,Wl={components:{BaseEcharts:Nl,EmptyData:Vl,LoadingChart:Gl},props:{data:{type:[Object,Array],default(){return{}}},settings:{type:[Object,Array],default(){return{}}},title:Object,legend:Object,grid:Object,xAxis:[Object,Array],yAxis:[Object,Array],polar:Object,radiusAxis:Object,angleAxis:Object,radar:[Object,Array],dataZoom:[Object,Array],visualMap:[Object,Array],tooltip:Object,axisPointer:Object,toolbox:Object,brush:Object,geo:Object,parallel:Object,parallelAxis:Array,singleAxis:Array,timeline:Object,graphic:Object,calendar:Object,dataset:Object,series:[Object,Array],color:Array,backgroundColor:[Object,String],textStyle:Object,animation:Object,animationThreshold:Number,animationDuration:[Number,Function],animationEasing:[String,Function],animationDelay:[Number,Function],animationDurationUpdate:[Number,Function],animationEasingUpdate:[String,Function],animationDelayUpdate:[String,Function],blendMode:String,hoverLayerThreshold:Number,useUTC:{type:Boolean,default:!1},tooltipVisible:{type:Boolean,default:!0},legendVisible:{type:Boolean,default:!0},tickMarkVisible:{type:Boolean,default:!1},legendPosition:String,theme:[String,Object],loading:{type:Boolean,default:!1},emptyText:String,renderer:{type:String,default:"canvas"},height:{type:Number,default:400}},data(){return{ec:null,initOptions:null}},computed:{chartColor(){return this.theme?this.color:this.color||Xs},isEmptyData(){if(c(this.data)||Vt(this.data)||Ht(this.data))return!0;if(Array.isArray(this.data))return!1;{const e=An(this.data,"measures");return 0===e.length}},isEmptySeries(){return c(this.series)||Vt(this.series)||Ht(this.series)},isHasData(){return!this.isEmptyData||!this.isEmptySeries},isHasParentStyle(){return this.loading||this.isEmptyData&&this.isEmptySeries},parentStyle(){const e=this.isHasParentStyle?{position:"relative",height:`${this.height}px`}:{};return e}},watch:{data:{deep:!0,handler(e){e&&this.dataHandler(e)}},settings:{deep:!0,handler(e){this.dataHandler(this.data)}},ec(e){this.$emit("update:ec",e)}},methods:{dataHandler(e){if(!this.chartHandler||this.isEmptyData&&this.isEmptySeries)return;const t={tooltipVisible:this.tooltipVisible,legendVisible:this.legendVisible,isEmptyData:this.isEmptyData,isEmptySeries:this.isEmptySeries,tickMarkVisible:this.tickMarkVisible,_once:this._once};this.beforeConfig&&(e=this.beforeConfig(e));const r=this.chartHandler(e,No(this.settings),t);r&&("function"===typeof r.then?r.then(this.optionsHandler):this.optionsHandler(r))},optionsHandler(e){if(e.color=this.chartColor,this.legendPosition&&e.legend){const t=this.legendPosition.split("-").shift();e.legend.left=this.legendPosition.split("-").pop(),-1!==["top"].indexOf(t)&&(e.legend.top=0),-1!==["bottom"].indexOf(t)&&(e.legend.bottom=0)}const t=["title","legend","grid","xAxis","yAxis","polar","radiusAxis","angleAxis","radar","dataZoom","visualMap","tooltip","axisPointer","toolbox","brush","geo","parallel","parallelAxis","singleAxis","timeline","graphic","calendar","dataset","series","color","backgroundColor","textStyle","animation","animationThreshold","animationDuration","animationEasing","animationDelay","animationDurationUpdate","animationEasingUpdate","animationDelayUpdate","blendMode","hoverLayerThreshold","useUTC"];t.forEach(t=>{this[t]&&(e[t]=this[t])}),this.animation&&Object.keys(this.animation).forEach(t=>{e[t]=this.animation[t]}),this.options=Object.assign(No(this.options),e)},init(){this.data&&this.dataHandler(this.data)},addWatchToProps(){const e=this._watchers.map(e=>e.expression);Object.keys(this.$props).forEach(t=>{if(!~e.indexOf(t)){const e={};"[object Object]"===Ws(t)&&(e.deep=!0),this.$watch(t,()=>{this.dataHandler(this.data)},e)}})}},created(){this.initOptions={renderer:this.renderer},this._once={},this.addWatchToProps()},mounted(){this.init()}},ql={mixins:[Wl],data(){return{options:Zs,initOptions:{renderer:"canvas"}}}},Yl=ql,Jl=kl(Yl,o,s,!1,null,null,null),Zl=Jl.exports;class Xl{constructor(e,t,r){this.data=e,this.settings=t,this.extra=r}chartHandler(){}}var Kl=Xl;class Ql extends Kl{static getBarTooltip(e){const{tooltipOptions:t}=e;return{trigger:"axis",axisPointer:{type:"shadow"},...t}}static getBarLegend(e,t){const{measures:r}=e,{legendType:n,legendPadding:a,waterfall:i,legendOptions:o}=t;let s={type:n||"plain",padding:a||5,...o};return i&&!0===i&&(s["data"]=r.filter(({name:e})=>{if("secondaryMeasure"!==e)return e})),s}static getBarGrid(e){const t={right:30,bottom:10,left:30,containLabel:!0};return e?t:Zs.grid}static getBarDimAxis(e){const{dimAxisType:t,dimAxisLineShow:r,dimAxisLabelShow:n,dimAxisLabelColor:a,xAxisName:i,xAxisSplitLine:o}=e,s={type:t,axisLine:{show:Array.isArray(r)?r[0]:r},axisTick:{show:!1},axisLabel:{show:Array.isArray(n)?n[0]:n,margin:10,fontWeight:400,color:Array.isArray(a)?a[0]:a}};i&&(s.name=i),o&&(s.splitLine=o);const l=[];return l.push(s),l}static getBarMeaAxis(e,t){const{meaAxisType:r,meaAxisDigits:n,meaAxisLineShow:a,meaAxisLabelShow:i,meaAxisLabelColor:o,yAxisScale:s=!1,percentage:l=!1,yAxisName:c,yAxisInterval:u,yAxisMax:d,yAxisMin:f}=t,h={type:"value",scale:s,axisTick:{show:!1},min:l?0:null,max:l?1:null},p=[];return r.forEach((e,t)=>{const r={show:Array.isArray(i)?i[t]:i,margin:10,fontWeight:400,color:Array.isArray(o)?o[t]:o};if("normal"!==e)if(Je(n)){let a=Ht(n[t])?0:n[t];r.formatter=t=>Ys(e,t,a)}else r.formatter=t=>Ys(e,t,n);const s={show:Array.isArray(a)?a[t]:a},m={...h,axisLabel:r,axisLine:s};c&&c.length&&(m["name"]=c[t]),u&&u.length&&u[t]&&(m["interval"]=Number(u[t])),!1===l&&d&&d.length&&(m["max"]=d[t]),!1===l&&f&&f.length&&(m["min"]=f[t]),p.push(m)}),p}static getBarLabel(e,t){const{position:r=(t?"right":"top"),formatType:n="currency",formatDigits:a=0,...i}=e,o=e=>{const{value:t,seriesIndex:r}=e;return t.shift(),Ys(n,t[r],a)};return{position:r,formatter:o,...i}}static getBarSeries(e,t,r){const{measures:n}=e,{label:a={},showLine:i=[],stack:o=null,secondMeaAxis:s=[],itemStyle:l={},waterfall:c,...u}=t,d=r?"xAxisIndex":"yAxisIndex",f=[],h=o&&Us(o);return n.forEach(({name:e})=>{let t={};a instanceof Array?(t=a.filter(t=>t.name===e)[0],void 0===t&&(t={})):t=a;const n=i.includes(e)?"line":"bar",p={type:n,name:e,label:Ql.getBarLabel(t,r),stack:o&&h[e],[d]:s.includes(e)?"1":"0",itemStyle:l[e]?l[e]:{},...u};c&&!0===c&&"secondaryMeasure"===e&&(p["itemStyle"]=Qs[e]),f.push(p)}),f}bar(e,t,r){const{tooltipVisible:n,legendVisible:a,isEmptyData:i}=r,{direction:o="column",secondMeaAxis:s=null,yAxisLabelType:l,yAxisLabelDigits:c=0,yAxisName:u,yAxisLabelShow:d=[!0,!0],yAxisLineShow:f=[!0,!0],yAxisLabelColor:h=[null,null],xAxisLabelType:p,xAxisLabelDigits:m=0,xAxisName:g,xAxisLabelShow:b=!0,xAxisLineShow:v=!0,xAxisLabelColor:y=null}=t,_="column"!==o&&"row"===o,x=null!==s?["normal","normal"]:["normal"];t.meaAxisType=(_?p:l)||x,t.meaAxisDigits=_?m:c,t.meaAxisName=(_?g:u)||[],t.meaAxisLabelShow=_?b:d,t.meaAxisLineShow=_?v:f,t.meaAxisLabelColor=_?y:h,t.dimAxisType=(_?l:p)||"category",t.dimAxisDigits=_?c:m,t.dimAxisName=(_?u:g)||"",t.dimAxisLabelShow=_?d:b,t.dimAxisLineShow=_?f:v,t.dimAxisLabelColor=_?h:y,x.length>t.meaAxisType.length&&(t.meaAxisType=x.fill(t.meaAxisType[0])),r.chartType="bar";const w=!i&&qs(e,t,r),S=n&&Ql.getBarTooltip(t),A=a&&Ql.getBarLegend(e,t),j=Ql.getBarGrid(_),O=_?Ql.getBarMeaAxis(e,t):Ql.getBarDimAxis(t),L=_?Ql.getBarDimAxis(t):Ql.getBarMeaAxis(e,t),T=Ql.getBarSeries(e,t,_),{yAxisInverse:z,xAxisInverse:M}=t;void 0!==z&&L.forEach((e,t)=>{e.inverse=Array.isArray(z)?z[t]:z}),void 0!==M&&O.forEach(e=>{e.inverse=M});const C={grid:j,dataset:w,tooltip:S,legend:A,xAxis:O,yAxis:L,series:T};return C}}var ec=Ql,tc={name:"VeBarChart",mixins:[Zl],created(){this.chartHandler=(new ec).bar}};class rc extends Kl{static getPieDataset(e,t,r){const n=[];if(r.chartType="pie",e.length&&1!==e.length){if(e.length>1)for(let a of e)n.push(qs(a,t,r))}else n.push(qs(e,t,r));return n}static getPieTooltip(e){return{trigger:"item"}}static getPieLegend(e){const{data:t,settings:r}=e;let n;n=Array.isArray(t)&&t.length>0?t[0].dimensions:t.dimensions;const{legendType:a="plain",legendPadding:i=5,legendSelected:o=n.data.length}=r,s=e=>{let t={};const r=n.data.slice(e);for(let n of r)t[n]=!1;return t};return{type:a,padding:i,selected:s(o)}}static getPieSeries(e){const{data:t,settings:r,isDonut:n}=e;let a=[];if(void 0===t.length)a=this.handleData(t,r,n);else if(1===t.length)a=this.handleData(t[0],r,n);else if(2===t.length)for(let i in t)a.push(this.handleData(t[i],r[i],n,i)[0]);return a}static handleData(e,t,r,n=0){const a=[],{measures:i}=e,{offsetY:o,radius:s=(r?["50%","70%"]:[0,"75%"]),selectedMode:l=!1,...c}=t;return i.forEach(({name:e,data:t},r)=>{a.push({type:"pie",name:e,selectedMode:l,center:o?["50%",o]:["50%","50%"],radius:s,datasetIndex:n,...c})}),a}static chartHandler(e,t,r,n=!1){const{tooltipVisible:a,legendVisible:i}=r,o=rc.getPieDataset(e,t,r),s=a&&rc.getPieTooltip(),l=i&&rc.getPieLegend({data:e,settings:t}),c=rc.getPieSeries({data:e,settings:t,isDonut:n}),u={dataset:o,tooltip:s,legend:l,series:c};return u}pie(e,t,r){return rc.chartHandler(e,t,r,!1)}donut(e,t,r){return rc.chartHandler(e,t,r,!0)}}var nc=rc,ac={name:"VeDonutChart",mixins:[Zl],created(){this.chartHandler=(new nc).donut}};function ic(e,t,r){var n=-1,a=e.length;while(++nt}var fc=dc;function hc(e){return e&&e.length?oc(e,$o,fc):void 0}var pc=hc;class mc extends Kl{static getFunnelTooltip(e){return{trigger:"item"}}static getFunnelLegend(e){const{settings:t}=e,{legendType:r="plain",legendPadding:n=5}=t;return{type:r,padding:n}}static getFunnelSeries(e){const{data:t,settings:r}=e,{dimensions:n,measures:a}=t,i=n&&`${n.name}`,{funnelSort:o="desc",funnelAlign:s="center",contrast:l=!1,symmetric:c=!1,labelPosition:u="outside",funnelLabel:d,...f}=r,h=e=>{if(e.length>2)return void Po.a.util.warn("data.measures.length is more then 2 in [Contrastive funnel chart]. Please use 2 measures",this);let t="";if(e.length>1){const r=e.reduce((e,t)=>Ds(uc([pc(e.data),pc(t.data)])/pc([pc(e.data),pc(t.data)]),2));t=`${100*r}%`}return t},p=(e,t)=>e?0===t?"10%":"50%":"10%",m=(e,t)=>e?0===t?"right":"left":s,g=(e,t)=>{const{contrast:r,symmetric:n,funnelLabel:i}=e;if(i)return Array.isArray(i)?i[t]:i;let o={normal:{position:u}};if(r){const e={normal:{position:"inside",formatter:e=>{const t=a.reduce((e,t)=>pc([pc(e.data),pc(t.data)])),[,,r]=e.value;return`${Math.round(r/t*100,2)}%`}},emphasis:{position:"inside",formatter:e=>{const t=a.reduce((e,t)=>pc([pc(e.data),pc(t.data)])),[r,,n]=e.value;return`${r} ${Math.round(n/t*100,2)}%`}}};o=0===t?o:e}if(n){const e={normal:{position:"outside"!==u?u:"left"}},r={normal:{position:"outside"!==u?u:"right"}};o=0===t?e:r}return o},b=(e,t)=>({itemName:e,value:t}),v=[];return a.forEach(({name:e,data:t},r)=>{v.push({type:"funnel",name:e,sort:"desc"===o?"descending":"ascending",funnelAlign:m(c,r),width:c?"40%":"80%",x:p(c,r),maxSize:l&&0!==r?h(a):"100%",label:g({contrast:l,symmetric:c,funnelLabel:d},r),encode:b(i,e),...f})}),v}funnel(e,t,r){const{tooltipVisible:n,legendVisible:a}=r;r.chartType="funnel";const i=qs(e,t,r),o=n&&mc.getFunnelTooltip(),s=a&&mc.getFunnelLegend({settings:t}),l=mc.getFunnelSeries({data:e,settings:t}),c={dataset:i,tooltip:o,legend:s,series:l};return c}}var gc=mc,bc={name:"VeFunnelChart",mixins:[Zl],created(){this.chartHandler=(new gc).funnel}};class vc extends Kl{static getGaugeTooltip(){return{trigger:"item"}}static getGaugeSeries(e){const{data:t,settings:r}=e,{name:n,data:a}=t&&t.measures&&t.measures[0],{min:i=0,max:o=100,offsetY:s,radius:l="75%",...c}=r;return[{name:n,type:"gauge",min:i,max:o,center:s?["50%",s]:["50%","50%"],radius:l,data:a,...c}]}gauge(e,t,r){const{tooltipVisible:n}=r,a=n&&vc.getGaugeTooltip(),i=vc.getGaugeSeries({data:e,settings:t}),o={tooltip:a,series:i};return o}}var yc=vc,_c={name:"VeGaugeChart",mixins:[Zl],created(){this.chartHandler=(new yc).gauge}},xc=Es("ceil"),wc=xc,Sc=Es("floor"),Ac=Sc,jc=r("0e45"),Oc=r("274d"),Lc=r("2814");class Tc extends Kl{static convertCityName(e){return isNaN(1*e)?e:Lc[e]}static convertCoord(e){return jc[e]||Oc[e]}static convertCityData(e,t){const{index:r,connect:n}=t,a=n?n.dataIndex:-1,i=n?n.seriesIndex:-1,o=n?n.symbolSize:10,s=n?n.normalShadowBlur:0,l=[];for(let c=0;c{const r=t.map(e=>parseInt(e.value));return T=[...T,...r],[Math.min(...r),Math.max(...r)]});return l?(L=Math.min(...T),O=Math.max(...T)):(L=z.reduce((e,t)=>e+t[0],0),O=z.reduce((e,t)=>e+t[1],0)),n&&n.forEach(({name:e,data:t},r)=>{const n=s?t:l?Tc.convertLinesData(e,t):Tc.convertCityData(t,{index:r,connect:w}),O={normal:{show:!1},emphasis:{show:!1}};l?(e=Tc.convertCityName(e),j.push({name:e,type:"lines",zlevel:1,effect:{show:m,period:5,trailLength:0,color:"#fff",symbolSize:3,...g},lineStyle:{normal:{width:0,curveness:x&&x.curveness||.2}},data:n},{name:e,type:"lines",zlevel:2,effect:{show:b,period:5,trailLength:.4,symbol:"arrow",symbolSize:6,...v},lineStyle:{normal:{color:"#ED3574",width:1,opacity:.6,curveness:.2,...x}},data:n},{name:e,type:"effectScatter",coordinateSystem:"geo",zlevel:2,showEffectOn:"render",rippleEffect:{brushType:"stroke"},label:y?{normal:{show:!0,formatter:"{b}",..._.normal},emphasis:{..._.emphasis}}:O,symbolSize:f,itemStyle:S?{color:S}:{},data:Tc.convertEffectScatterData(t)},{name:e,type:"effectScatter",coordinateSystem:"geo",zlevel:3,showEffectOn:"render",rippleEffect:{brushType:"stroke"},label:y?{normal:{show:!0,formatter:"{b}",..._.normal},emphasis:{..._.emphasis}}:O,symbolSize:f,itemStyle:S?{color:S}:{},data:[{name:e,value:Tc.convertCoord(e)}]})):(j[r]={name:e,type:a,roam:h,visualMap:u,label:o?d:O,selectedMode:"single",mapType:i,data:n,zoom:p},c&&(j[r].itemStyle=c),s||(j[r]={...j[r],coordinateSystem:"geo",label:O,symbolSize:f,showEffectOn:"render",rippleEffect:{brushType:"stroke"},itemStyle:S?{color:S}:{}})),A.push(e)}),{legendData:A,seriesData:j,max:wc(O,-2),min:Ac(L,-2)}}static getGeoTooltip(e,t){const r=function(e){const{seriesName:r,name:n,value:a,marker:i,seriesType:o,data:s}=e,l=Array.isArray(a)?a[2]:a;if(t){const{fromName:e,toName:t,name:r}=s;return"effectScatter"===o?`${r}`:"lines"===o?`${e} -> ${t}
${l}`:`${t}`}return`${r}
${i}${n}: ${l}`};return e?{trigger:"item"}:{trigger:"item",formatter:r}}static getGeoLegend(e){const{legendData:t,settings:r}=e,{legendType:n="plain",legendPadding:a=5}=r;return{type:n,padding:a,data:t}}static getGeo(e){const{labelVisible:t=!1,label:r,itemStyle:n,silent:a=!1,zoom:i=1,roam:o=!1,mapName:s="china"}=e.settings,l={normal:{show:!1},emphasis:{show:!1}},c={map:s,silent:a,roam:o,selectedMode:"single",label:t?r:l,zoom:i};return n&&(c.itemStyle=n),c}static getVisualMap(e){const{min:t=0,max:r=200,settings:n}=e,{visualMap:a}=n;return{min:t,max:r,left:"left",top:"bottom",show:!0,calculable:!0,...a}}static async registerMap(e){const{mapName:t="china",specialAreas:r,mapUrlPrefix:n=el,_once:a}=e;let o={};return a[t]||(o=await Gs({mapName:t,mapUrlPrefix:n}),Object.assign(a,{[t]:!0}),i.a.registerMap(t,o,r)),o}async geo(e,t,r){const{tooltipVisible:n,legendVisible:a,_once:i}=r,{mode:o="map",visualMapVisible:s=!1}=t,l="map"===o,c="lines"===o;t.isMapMode=l,t.isLinesMode=c;const{legendData:u,seriesData:d,min:f,max:h}=Tc.getGeoData({data:e,settings:t}),p=n&&Tc.getGeoTooltip(l,c),m=a&&Tc.getGeoLegend({legendData:u,settings:t}),g=!l&&Tc.getGeo({data:e,settings:t}),b=s&&Tc.getVisualMap({min:f,max:h,settings:t}),v={tooltip:p,legend:m,visualMap:b,geo:g,series:d},y={mapName:t.mapName,specialAreas:t.specialAreas,mapUrlPrefix:t.mapUrlPrefix,_once:i};return await Tc.registerMap(y),v}}var zc=Tc,Mc={name:"VeGeoChart",mixins:[Zl],created(){this.chartHandler=(new zc).geo}};class Cc extends Kl{static getLineTooltip(e){const{tooltipOptions:t}=e;return{trigger:"axis",...t}}static getLineLegend(e){const{legendType:t="plain",legendPadding:r=5,legendOptions:n}=e;return{type:t,padding:r,...n}}static getLineDimAxis({settings:e}){const{yAxisType:t,xAxisLabelShow:r=!0,xAxisLineShow:n=!0,xAxisLabelColor:a,xAxisInverse:i=!1,xAxisName:o,xAxisSplitLine:s}=e,l=t||"category";return{type:l,boundaryGap:!1,axisLine:{show:n},axisTick:{show:!1},axisLabel:{show:r,margin:10,fontWeight:400,color:a||null},inverse:i,name:void 0!==o?o:null,splitLine:void 0!==s?s:null}}static getLineMeaAxis(e){const{settings:t}=e,{yAxisScale:r,yAxisLabelType:n,yAxisLabelDigits:a,yAxisName:i,yAxisInterval:o,yAxisMax:s,yAxisMin:l,yAxisInverse:c,percentage:u=!1,yAxisLabelShow:d=!0,yAxisLineShow:f=!0,yAxisLabelColor:h}=t;let p={type:"value",scale:r,axisLine:{show:f},axisTick:{show:!1},axisLabel:{show:d,margin:10,fontWeight:400,color:h||null,formatter:e=>Ys(n,e,a)},min:u?0:null,max:u?1:null};return i&&(p["name"]=i),o&&(p["interval"]=Number(o)),s&&(p["max"]=s),l&&(p["min"]=l),void 0!==c&&(p["inverse"]=c),p}static getLineLabel(e){const{position:t="top",formatType:r="currency",formatDigits:n=0,...a}=e,i=e=>{const{value:t,seriesIndex:a}=e;return t.shift(),Ys(r,t[a],n)};return{normal:{position:t,formatter:i,...a}}}static getLineSeries(e){const{data:t,settings:r}=e,{measures:n}=t,{label:a={},showSymbol:i=!0,smooth:o=!1,stack:s=null,step:l=null,symbol:c="emptyCircle",symbolSize:u=4,itemStyle:d={},...f}=r,h=[],p=s&&Us(s);function m(e){return{normal:{width:2}}}return n.forEach(({name:e,data:t},r)=>{h.push({type:"line",name:e,label:this.getLineLabel(a),lineStyle:m(),showSymbol:i,smooth:o,stack:s&&p[e],step:l,symbol:c,symbolSize:u,itemStyle:d[e]?d[e]:{},...f})}),h}line(e,t,r){const{tooltipVisible:n,legendVisible:a,isEmptyData:i}=r;r.chartType="line";const o=!i&&qs(e,t,r),s=n&&Cc.getLineTooltip(t),l=a&&Cc.getLineLegend(t),c=Cc.getLineDimAxis({settings:t}),u=Cc.getLineMeaAxis({settings:t}),d=!i&&Cc.getLineSeries({data:e,settings:t}),f={dataset:o,tooltip:s,legend:l,xAxis:c,yAxis:u,series:d};return f}}var kc=Cc,Ec={name:"VeLineChart",mixins:[Zl],created(){this.chartHandler=(new kc).line}},Nc={name:"VePieChart",mixins:[Zl],created(){this.chartHandler=(new nc).pie}};class Dc extends Kl{static getRadarTooltip(){return{trigger:"item"}}static getRadarLegend(e){const{data:t,settings:r}=e,{legendType:n="plain",legendPadding:a=5}=r,{measures:i}=t;return{type:n,padding:a,data:i.map(e=>e.name)}}static getRadarRadar(e){const{data:t,settings:r}=e,{offsetY:n="50%",radius:a="75%",splitNumber:i=5,shape:o="polygon",splitArea:s={},name:l={}}=r;return{name:{padding:[3,5],...l},center:["50%",n],radius:a,splitNumber:i,shape:o,splitArea:s,indicator:t.dimensions}}static getRadarLabel(e){const{formatType:t="currency",formatDigits:r=0,...n}=e,a=e=>{const{value:n}=e;return Ys(t,n,r)};return{normal:{formatter:a,...n}}}static getRadarSeries({data:e,settings:t}){const{measures:r}=e,{label:n,itemStyle:a}=t,i=[];return r.forEach((e,t)=>{i.push({type:"radar",data:[{name:e.name,value:e.data}],label:n&&Dc.getRadarLabel(n),itemStyle:Object.assign({},a)})}),i}static getRadiusPolar({data:e,settings:t}){const{splitNumber:r=5,offsetY:n="50%",radius:a="75%",axisLabel:i={},axisLine:o={}}=t,s=e.dimensions[0].max,l=0,c=(s-l)/r;return{polar:{radius:a,center:["50%",n]},radiusAxis:{min:l,max:s,interval:Math.round(100*c)/100,splitLine:{show:!1},axisLabel:i,axisLine:o},angleAxis:{axisTick:{show:!1},axisLabel:{show:!1},axisLine:{show:!1},splitLine:{show:!1}}}}radar(e,t,r){const{tooltipVisible:n,legendVisible:a,isEmptyData:i,tickMarkVisible:o}=r;if(i)return{};const s=n&&Dc.getRadarTooltip(),l=a&&Dc.getRadarLegend({data:e,settings:t}),c=Dc.getRadarRadar({data:e,settings:t}),u=Dc.getRadarSeries({data:e,settings:t}),d=o?Dc.getRadiusPolar({data:e,settings:t}):{},f={tooltip:s,legend:l,radar:c,series:u,...d};return f}}var Pc=Dc,Fc={name:"VeRadarChart",mixins:[Zl],created(){this.chartHandler=(new Pc).radar}};class $c extends Kl{static getScatterDataset(e,t,r){const n=[],{measures:a}=e;if(Je(a))return a.forEach(e=>{n.push({source:e.data})}),n}static getScatterTooltip(e){return{}}static getScatterLegend(e){const{settings:t}=e,{legendType:r="plain",legendPadding:n=5}=t;return{type:r,padding:n}}static getScatterSeries(e){const{data:t,settings:r}=e,{connect:n,...a}=r,i=[];return t.measures.forEach(({name:e},t)=>{i[t]={type:"scatter",name:e,datasetIndex:t,...a}}),i}static getScatterXAxis(e){const{settings:t}=e,{xAxisScale:r=!1,xAxisName:n,xAxisNameGap:a,xAxisNameLocation:i}=t;let o={scale:r,nameGap:5,splitLine:{lineStyle:{type:"dashed"}}};return n&&(o["name"]=n),a&&(o["nameGap"]=a),i&&(o["nameLocation"]=i),o}static getScatterYAxis(e){const{settings:t}=e,{yAxisScale:r=!1,yAxisName:n}=t;let a={scale:r,splitLine:{lineStyle:{type:"dashed"}}};return n&&(a["name"]=n),a}scatter(e,t,r){const{tooltipVisible:n,legendVisible:a}=r,i=$c.getScatterDataset(e,t,r),o=n&&$c.getScatterTooltip({data:e}),s=a&&$c.getScatterLegend({settings:t}),l=$c.getScatterSeries({data:e,settings:t}),c=$c.getScatterXAxis({settings:t}),u=$c.getScatterYAxis({settings:t}),d={dataset:i,tooltip:o,legend:s,series:l,xAxis:c,yAxis:u};return d}}var Bc=$c,Vc={name:"VeScatterChart",mixins:[Zl],created(){this.chartHandler=(new Bc).scatter}};class Rc extends Kl{static getTreemapTooltip(e){return{formatter:"{b}:
{c}"}}static getTreemapSeries(e){const{data:t,settings:r}=e,{measures:n}=t,{name:a="根级",levels:i=Ks,...o}=r,s=[];return s.push({type:"treemap",name:a,levels:i,data:n,...o}),s}treemap(e,t,r){const{tooltipVisible:n}=r,a=n&&Rc.getTreemapTooltip(),i=Rc.getTreemapSeries({data:e,settings:t}),o={tooltip:a,series:i};return o}}var Hc=Rc,Uc={name:"VeTreemapChart",mixins:[Zl],created(){this.chartHandler=(new Hc).treemap}};class Ic extends Kl{static getBarTooltip(e){const{settings:t}=e,{tooltip:r}=t;return{...r}}static getSunburstSeries(e){const{data:t,settings:r}=e,{measures:n}=t,{label:a={},itemStyle:i={},...o}=r,s=[];return n.forEach(({name:e,data:t},r)=>{const n="sunburst",l={type:n,name:e,data:t,label:a,itemStyle:i,...o};s.push(l)}),s}sunburst(e,t,r){const n=Ic.getBarTooltip({settings:t}),a=Ic.getSunburstSeries({data:e,settings:t}),i={series:a};return 0!==Object.keys(n).length&&(i["tooltip"]=n),i}}var Gc=Ic,Wc={name:"VeSunburstChart",mixins:[Zl],created(){this.chartHandler=(new Gc).sunburst}};class qc extends Kl{static getTreeTooltip(){return{trigger:"item",triggerOn:"mousemove"}}static getTreeLegend(e,t){const{legendType:r="plain",legendPadding:n=5}=t,{measures:a}=e;return{type:r,padding:n,data:a.map(e=>e.name)}}static formatTreeLabels(e="LR",t=0){let[r,n,a,i]=["","","",""];switch(e){case"LR":r="left",n="right",a="right",i="left";break;case"RL":r="right",n="left",a="left",i="right";break;case"TB":r="top",n=t>0?"right":"middle",a="bottom",i=t>0?"left":"middle";break;case"BT":r="bottom",n=t>0?"right":"middle",a="top",i=t>0?"left":"middle";break;default:}return{label:{normal:{position:r,verticalAlign:"middle",align:n,rotate:t}},leaves:{label:{normal:{position:a,verticalAlign:"middle",align:i,rotate:t}}}}}static getTreeSeries(e,t){const{seriesMap:r=[],labelRotate:n}=t,a=e.measures.map((e,t)=>{const a=r&&r[t]&&r[t].layout,i=r&&r[t]&&r[t].orient,o="radial"===a?{}:qc.formatTreeLabels(i,n),s={type:"tree",name:e.name,data:[e.value],...o,...r[t]};return s});return a}tree(e,t,r){const{tooltipVisible:n,legendVisible:a}=r,i=n&&qc.getTreeTooltip(),o=a&&qc.getTreeLegend(e,t),s=qc.getTreeSeries(e,t),l={tooltip:i,legend:o,series:s};return l}}var Yc=qc,Jc={name:"VeTreeChart",mixins:[Zl],created(){this.chartHandler=(new Yc).tree}};class Zc extends Kl{static getWordcloudSeries(e){const{data:t,settings:r}=e,{measures:n}=t,a="wordCloud",i=[],o={type:a,data:n,...r};return i.push(o),i}wordcloud(e,t,r){const{tooltip:n}=t,a=Zc.getWordcloudSeries({data:e,settings:t}),i={tooltip:n,series:a};return i}}var Xc=Zc,Kc={name:"VeWordcloudChart",mixins:[Zl],created(){this.chartHandler=(new Xc).wordcloud}};class Qc extends Kl{static getSeries(e){const{measures:t}=e.data,r=e.settings,n=[];return n.push({type:"liquidFill",data:[...t],...r}),n}liquidfill(e,t,r){const{isEmptyData:n}=r,{tooltip:a}=t;if(n)return{};const i=Qc.getSeries({data:e,settings:t}),o={tooltip:a,series:i};return o}}var eu=Qc,tu={name:"VeLiquidfillChart",mixins:[Zl],created(){this.chartHandler=(new eu).liquidfill}};class ru extends Kl{static getTooltip(e){return{}}static getLegend(e){const{measures:t}=e;return{show:!0,data:t.map(e=>e.name)}}static getPolar(e){return{}}static getAngleAxis(e){const{radial:t=!1,startAngle:r=90,clockwise:n=!0,showAngleAxisLine:a=!0,showAngleSplitLine:i=!0,showAngleAxisLabel:o=!0,angleAxisLabelType:s,angleAxisLabelDigits:l,angleAxisMax:c,angleAxisMin:u}=e;return{type:t?"category":"value",clockwise:n,startAngle:r,min:u||null,max:c||null,axisLine:{show:a},axisTick:{show:a},splitLine:{show:i},axisLabel:{show:o,margin:10,fontWeight:400,formatter:e=>Ys(s,e,l)}}}static getRadiusAxis(e){const{radial:t=!1}=e;return{type:t?"value":"category",z:10}}static getSeries({data:e,settings:t}){const{measures:r}=e,{polarType:n="line",stack:a=null,itemStyle:i={},roundCap:o=!1,...s}=t,l=r.map(({name:e},t)=>({type:n,stack:a,roundCap:o,coordinateSystem:"polar",itemStyle:i[e]||{},...s}));return l}polar(e,t,r){const{legendVisible:n,tooltipVisible:a,isEmptyData:i}=r;if(i)return{};const o=a&&ru.getTooltip(t),s=n&&ru.getLegend(e),l=ru.getPolar(t),c=ru.getAngleAxis(t),u=ru.getRadiusAxis(t),d=!i&&qs(e,t,r),f=ru.getSeries({data:e,settings:t}),h={tooltip:o,legend:s,polar:l,angleAxis:c,radiusAxis:u,dataset:d,series:f};return h}}var nu=ru,au={name:"VePolarChart",mixins:[Zl],created(){this.chartHandler=(new nu).polar}};class iu extends Kl{static getTooltip(e){return{}}static getSeries({data:e,settings:t}){const{dimensions:r,measures:n}=e,{orient:a="horizontal",draggable:i=!0,focusNodeAdjacency:o=!1,...s}=t;return{type:"sankey",data:r,edges:n,orient:a,draggable:i,focusNodeAdjacency:o,...s}}sankey(e,t,r){const{tooltipVisible:n,isEmptyData:a}=r;if(a)return{};const i=n&&iu.getTooltip(t),o=iu.getSeries({data:e,settings:t}),s={tooltip:i,series:o};return s}}var ou=iu,su={name:"VeSankeyChart",mixins:[Zl],created(){this.chartHandler=(new ou).sankey}};const lu=[tc,ac,bc,_c,Mc,Ec,Nc,Fc,Vc,Uc,Wc,Jc,Kc,tu,au,su],cu=e=>{cu.installed||lu.forEach(t=>{e.component(t.name,t)})};"undefined"!==typeof window&&window.Vue&&(window.Vue.use(cu),cu.installed&&(cu.installed=!1));var uu={install:cu,VeBarChart:tc,VeDonutChart:ac,VeFunnelChart:bc,VeGaugeChart:_c,VeGeoChart:Mc,VeLineChart:Ec,VePieChart:Nc,VeRadarChart:Fc,VeScatterChart:Vc,VeTreemapChart:Uc,VeSunburstChart:Wc,VeTreeChart:Jc,VeWordcloudChart:Kc,VeLiquidfillChart:tu,VePolarChart:au,VeSankeyChart:su};t["default"]=uu},ff6f:function(e,t,r){var n=r("068a");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("499e").default;a("3a96cc98",n,!0,{sourceMap:!1,shadowMode:!1})}})["default"]})); \ No newline at end of file + */(function(i,o){n=o,a="function"===typeof n?n.call(t,r,t,e):n,void 0===a||(e.exports=a)})(0,(function(){var e,t,r="2.0.6",n={},a={},i={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},o={currentLocale:i.currentLocale,zeroFormat:i.zeroFormat,nullFormat:i.nullFormat,defaultFormat:i.defaultFormat,scalePercentBy100:i.scalePercentBy100};function s(e,t){this._input=e,this._value=t}return e=function(r){var a,i,l,c;if(e.isNumeral(r))a=r.value();else if(0===r||"undefined"===typeof r)a=0;else if(null===r||t.isNaN(r))a=null;else if("string"===typeof r)if(o.zeroFormat&&r===o.zeroFormat)a=0;else if(o.nullFormat&&r===o.nullFormat||!r.replace(/[^0-9]+/g,"").length)a=null;else{for(i in n)if(c="function"===typeof n[i].regexps.unformat?n[i].regexps.unformat():n[i].regexps.unformat,c&&r.match(c)){l=n[i].unformat;break}l=l||e._.stringToNumber,a=l(r)}else a=Number(r)||null;return new s(r,a)},e.version=r,e.isNumeral=function(e){return e instanceof s},e._=t={numberToFormat:function(t,r,n){var i,o,s,l,c,u,d,f=a[e.options.currentLocale],h=!1,p=!1,m=0,g="",b=1e12,v=1e9,y=1e6,_=1e3,x="",w=!1;if(t=t||0,o=Math.abs(t),e._.includes(r,"(")?(h=!0,r=r.replace(/[\(|\)]/g,"")):(e._.includes(r,"+")||e._.includes(r,"-"))&&(c=e._.includes(r,"+")?r.indexOf("+"):t<0?r.indexOf("-"):-1,r=r.replace(/[\+|\-]/g,"")),e._.includes(r,"a")&&(i=r.match(/a(k|m|b|t)?/),i=!!i&&i[1],e._.includes(r," a")&&(g=" "),r=r.replace(new RegExp(g+"a[kmbt]?"),""),o>=b&&!i||"t"===i?(g+=f.abbreviations.trillion,t/=b):o=v&&!i||"b"===i?(g+=f.abbreviations.billion,t/=v):o=y&&!i||"m"===i?(g+=f.abbreviations.million,t/=y):(o=_&&!i||"k"===i)&&(g+=f.abbreviations.thousand,t/=_)),e._.includes(r,"[.]")&&(p=!0,r=r.replace("[.]",".")),s=t.toString().split(".")[0],l=r.split(".")[1],u=r.indexOf(","),m=(r.split(".")[0].split(",")[0].match(/0/g)||[]).length,l?(e._.includes(l,"[")?(l=l.replace("]",""),l=l.split("["),x=e._.toFixed(t,l[0].length+l[1].length,n,l[1].length)):x=e._.toFixed(t,l.length,n),s=x.split(".")[0],x=e._.includes(x,".")?f.delimiters.decimal+x.split(".")[1]:"",p&&0===Number(x.slice(1))&&(x="")):s=e._.toFixed(t,0,n),g&&!i&&Number(s)>=1e3&&g!==f.abbreviations.trillion)switch(s=String(Number(s)/1e3),g){case f.abbreviations.thousand:g=f.abbreviations.million;break;case f.abbreviations.million:g=f.abbreviations.billion;break;case f.abbreviations.billion:g=f.abbreviations.trillion;break}if(e._.includes(s,"-")&&(s=s.slice(1),w=!0),s.length0;A--)s="0"+s;return u>-1&&(s=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f.delimiters.thousands)),0===r.indexOf(".")&&(s=""),d=s+x+(g||""),h?d=(h&&w?"(":"")+d+(h&&w?")":""):c>=0?d=0===c?(w?"-":"+")+d:d+(w?"-":"+"):w&&(d="-"+d),d},stringToNumber:function(e){var t,r,n,i=a[o.currentLocale],s=e,l={thousand:3,million:6,billion:9,trillion:12};if(o.zeroFormat&&e===o.zeroFormat)r=0;else if(o.nullFormat&&e===o.nullFormat||!e.replace(/[^0-9]+/g,"").length)r=null;else{for(t in r=1,"."!==i.delimiters.decimal&&(e=e.replace(/\./g,"").replace(i.delimiters.decimal,".")),l)if(n=new RegExp("[^a-zA-Z]"+i.abbreviations[t]+"(?:\\)|(\\"+i.currency.symbol+")?(?:\\))?)?$"),s.match(n)){r*=Math.pow(10,l[t]);break}r*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),r*=Number(e)}return r},isNaN:function(e){return"number"===typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,r){return e.slice(0,r)+t+e.slice(r)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!==typeof t)throw new TypeError(t+" is not a function");var r,n=Object(e),a=n.length>>>0,i=0;if(3===arguments.length)r=arguments[2];else{while(i=a)throw new TypeError("Reduce of empty array with no initial value");r=n[i++]}for(;in?e:n}),1)},toFixed:function(e,t,r,n){var a,i,o,s,l=e.toString().split("."),c=t-(n||0);return a=2===l.length?Math.min(Math.max(l[1].length,c),t):c,o=Math.pow(10,a),s=(r(e+"e+"+a)/o).toFixed(a),n>t-a&&(i=new RegExp("\\.?0{1,"+(n-(t-a))+"}$"),s=s.replace(i,"")),s}},e.options=o,e.formats=n,e.locales=a,e.locale=function(e){return e&&(o.currentLocale=e.toLowerCase()),o.currentLocale},e.localeData=function(e){if(!e)return a[o.currentLocale];if(e=e.toLowerCase(),!a[e])throw new Error("Unknown locale : "+e);return a[e]},e.reset=function(){for(var e in i)o[e]=i[e]},e.zeroFormat=function(e){o.zeroFormat="string"===typeof e?e:null},e.nullFormat=function(e){o.nullFormat="string"===typeof e?e:null},e.defaultFormat=function(e){o.defaultFormat="string"===typeof e?e:"0.0"},e.register=function(e,t,r){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=r,r},e.validate=function(t,r){var n,a,i,o,s,l,c,u;if("string"!==typeof t&&(t+="",console.warn),t=t.trim(),t.match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.localeData(r)}catch(d){c=e.localeData(e.locale())}return i=c.currency.symbol,s=c.abbreviations,n=c.delimiters.decimal,a="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,u=t.match(/^[^\d]+/),(null===u||(t=t.substr(1),u[0]===i))&&(u=t.match(/[^\d]+$/),(null===u||(t=t.slice(0,-1),u[0]===s.thousand||u[0]===s.million||u[0]===s.billion||u[0]===s.trillion))&&(l=new RegExp(a+"{2}"),!t.match(/[^\d.,]/g)&&(o=t.split(n),!(o.length>2)&&(o.length<2?!!o[0].match(/^\d+.*\d$/)&&!o[0].match(l):1===o[0].length?!!o[0].match(/^\d+$/)&&!o[0].match(l)&&!!o[1].match(/^\d+$/):!!o[0].match(/^\d+.*\d$/)&&!o[0].match(l)&&!!o[1].match(/^\d+$/)))))},e.fn=s.prototype={clone:function(){return e(this)},format:function(t,r){var a,i,s,l=this._value,c=t||o.defaultFormat;if(r=r||Math.round,0===l&&null!==o.zeroFormat)i=o.zeroFormat;else if(null===l&&null!==o.nullFormat)i=o.nullFormat;else{for(a in n)if(c.match(n[a].regexps.format)){s=n[a].format;break}s=s||e._.numberToFormat,i=s(l,c,r)}return i},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var r=t.correctionFactor.call(null,this._value,e);function n(e,t,n,a){return e+Math.round(r*t)}return this._value=t.reduce([this._value,e],n,0)/r,this},subtract:function(e){var r=t.correctionFactor.call(null,this._value,e);function n(e,t,n,a){return e-Math.round(r*t)}return this._value=t.reduce([e],n,Math.round(this._value*r))/r,this},multiply:function(e){function r(e,r,n,a){var i=t.correctionFactor(e,r);return Math.round(e*i)*Math.round(r*i)/Math.round(i*i)}return this._value=t.reduce([this._value,e],r,1),this},divide:function(e){function r(e,r,n,a){var i=t.correctionFactor(e,r);return Math.round(e*i)/Math.round(r*i)}return this._value=t.reduce([this._value,e],r),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),function(){e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,r,n){var a,i=e._.includes(r," BPS")?" ":"";return t*=1e4,r=r.replace(/\s?BPS/,""),a=e._.numberToFormat(t,r,n),e._.includes(a,")")?(a=a.split(""),a.splice(-1,0,i+"BPS"),a=a.join("")):a=a+i+"BPS",a},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}})}(),function(){var t={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},n=t.suffixes.concat(r.suffixes.filter((function(e){return t.suffixes.indexOf(e)<0}))),a=n.join("|");a="("+a.replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(a)},format:function(n,a,i){var o,s,l,c,u=e._.includes(a,"ib")?r:t,d=e._.includes(a," b")||e._.includes(a," ib")?" ":"";for(a=a.replace(/\s?i?b/,""),s=0;s<=u.suffixes.length;s++)if(l=Math.pow(u.base,s),c=Math.pow(u.base,s+1),null===n||0===n||n>=l&&n0&&(n/=l);break}return o=e._.numberToFormat(n,a,i),o+d},unformat:function(n){var a,i,o=e._.stringToNumber(n);if(o){for(a=t.suffixes.length-1;a>=0;a--){if(e._.includes(n,t.suffixes[a])){i=Math.pow(t.base,a);break}if(e._.includes(n,r.suffixes[a])){i=Math.pow(r.base,a);break}}o*=i||1}return o}})}(),function(){e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,r,n){var a,i,o,s=e.locales[e.options.currentLocale],l={before:r.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:r.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(r=r.replace(/\s?\$\s?/,""),a=e._.numberToFormat(t,r,n),t>=0?(l.before=l.before.replace(/[\-\(]/,""),l.after=l.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(l.before,"-")&&!e._.includes(l.before,"(")&&(l.before="-"+l.before),o=0;o=0;o--)switch(i=l.after[o],i){case"$":a=o===l.after.length-1?a+s.currency.symbol:e._.insert(a,s.currency.symbol,-(l.after.length-(1+o)));break;case" ":a=o===l.after.length-1?a+" ":e._.insert(a," ",-(l.after.length-(1+o)+s.currency.symbol.length-1));break}return a}})}(),function(){e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,r,n){var a,i="number"!==typeof t||e._.isNaN(t)?"0e+0":t.toExponential(),o=i.split("e");return r=r.replace(/e[\+|\-]{1}0/,""),a=e._.numberToFormat(Number(o[0]),r,n),a+"e"+o[1]},unformat:function(t){var r=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),n=Number(r[0]),a=Number(r[1]);function i(t,r,n,a){var i=e._.correctionFactor(t,r),o=t*i*(r*i)/(i*i);return o}return a=e._.includes(t,"e-")?a*=-1:a,e._.reduce([n,Math.pow(10,a)],i,1)}})}(),function(){e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,r,n){var a,i=e.locales[e.options.currentLocale],o=e._.includes(r," o")?" ":"";return r=r.replace(/\s?o/,""),o+=i.ordinal(t),a=e._.numberToFormat(t,r,n),a+o}})}(),function(){e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,r,n){var a,i=e._.includes(r," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),r=r.replace(/\s?\%/,""),a=e._.numberToFormat(t,r,n),e._.includes(a,")")?(a=a.split(""),a.splice(-1,0,i+"%"),a=a.join("")):a=a+i+"%",a},unformat:function(t){var r=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*r:r}})}(),function(){e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,r){var n=Math.floor(e/60/60),a=Math.floor((e-60*n*60)/60),i=Math.round(e-60*n*60-60*a);return n+":"+(a<10?"0"+a:a)+":"+(i<10?"0"+i:i)},unformat:function(e){var t=e.split(":"),r=0;return 3===t.length?(r+=60*Number(t[0])*60,r+=60*Number(t[1]),r+=Number(t[2])):2===t.length&&(r+=60*Number(t[0]),r+=Number(t[1])),Number(r)}})}(),e}))},"86eb":function(e,t,r){"use strict";var n=r("ff6f"),a=r.n(n);a.a},"8bbf":function(e,t){e.exports=r},c6eb:function(e,t,r){"use strict";(function(e){var n=r("5ea3"),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a,s=o&&n["a"].process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();t["a"]=l}).call(this,r("dd40")(e))},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},dd40:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},dff1:function(e,t,r){"use strict";(function(e){var n=r("26ee"),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a,s=o?n["a"].Buffer:void 0,l=s?s.allocUnsafe:void 0;function c(e,t){if(t)return e.slice();var r=e.length,n=l?l(r):new e.constructor(r);return e.copy(n),n}t["a"]=c}).call(this,r("dd40")(e))},f6fd:function(e,t){(function(e){var t="currentScript",r=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(n){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(n.stack)||[!1])[1];for(e in r)if(r[e].src==t||"interactive"==r[e].readyState)return r[e];return null}}})})(document)},fb15:function(e,t,r){"use strict";var n;(r.r(t),"undefined"!==typeof window)&&(r("f6fd"),(n=window.document.currentScript)&&(n=n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(r.p=n[1]));var a=r("1104"),i=r.n(a),o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"ve-charts-parent",style:e.parentStyle},[e.isHasData?r("base-echarts",e._g({attrs:{"init-options":e.initOptions,options:e.options,autoResize:!0,theme:e.theme,"chart-height":e.height,ec:e.ec},on:{"update:ec":function(t){e.ec=t}}},e.$listeners)):e._e(),e.isHasData||e.loading?e._e():e._t("default",[r("empty-data",{attrs:{"empty-text":e.emptyText}})]),e.loading?r("loading-chart"):e._e()],2)},s=[];function l(e){return null===e}var c=l,u=Object.prototype;function d(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||u;return e===r}var f=d;function h(e,t){return function(r){return e(t(r))}}var p=h,m=p(Object.keys,Object),g=m,b=Object.prototype,v=b.hasOwnProperty;function y(e){if(!f(e))return g(e);var t=[];for(var r in Object(e))v.call(e,r)&&"constructor"!=r&&t.push(r);return t}var _=y,x=r("26ee"),w=x["a"].Symbol,A=w,S=Object.prototype,j=S.hasOwnProperty,O=S.toString,L=A?A.toStringTag:void 0;function T(e){var t=j.call(e,L),r=e[L];try{e[L]=void 0;var n=!0}catch(i){}var a=O.call(e);return n&&(t?e[L]=r:delete e[L]),a}var z=T,M=Object.prototype,C=M.toString;function k(e){return C.call(e)}var E=k,N="[object Null]",D="[object Undefined]",P=A?A.toStringTag:void 0;function F(e){return null==e?void 0===e?D:N:P&&P in Object(e)?z(e):E(e)}var $=F;function V(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var B=V,R="[object AsyncFunction]",H="[object Function]",U="[object GeneratorFunction]",I="[object Proxy]";function G(e){if(!B(e))return!1;var t=$(e);return t==H||t==U||t==R||t==I}var W=G,q=x["a"]["__core-js_shared__"],Y=q,J=function(){var e=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Z(e){return!!J&&J in e}var X=Z,K=Function.prototype,Q=K.toString;function ee(e){if(null!=e){try{return Q.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var te=ee,re=/[\\^$.*+?()[\]{}|]/g,ne=/^\[object .+?Constructor\]$/,ae=Function.prototype,ie=Object.prototype,oe=ae.toString,se=ie.hasOwnProperty,le=RegExp("^"+oe.call(se).replace(re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ce(e){if(!B(e)||X(e))return!1;var t=W(e)?le:ne;return t.test(te(e))}var ue=ce;function de(e,t){return null==e?void 0:e[t]}var fe=de;function he(e,t){var r=fe(e,t);return ue(r)?r:void 0}var pe=he,me=pe(x["a"],"DataView"),ge=me,be=pe(x["a"],"Map"),ve=be,ye=pe(x["a"],"Promise"),_e=ye,xe=pe(x["a"],"Set"),we=xe,Ae=pe(x["a"],"WeakMap"),Se=Ae,je="[object Map]",Oe="[object Object]",Le="[object Promise]",Te="[object Set]",ze="[object WeakMap]",Me="[object DataView]",Ce=te(ge),ke=te(ve),Ee=te(_e),Ne=te(we),De=te(Se),Pe=$;(ge&&Pe(new ge(new ArrayBuffer(1)))!=Me||ve&&Pe(new ve)!=je||_e&&Pe(_e.resolve())!=Le||we&&Pe(new we)!=Te||Se&&Pe(new Se)!=ze)&&(Pe=function(e){var t=$(e),r=t==Oe?e.constructor:void 0,n=r?te(r):"";if(n)switch(n){case Ce:return Me;case ke:return je;case Ee:return Le;case Ne:return Te;case De:return ze}return t});var Fe=Pe;function $e(e){return null!=e&&"object"==typeof e}var Ve=$e,Be="[object Arguments]";function Re(e){return Ve(e)&&$(e)==Be}var He=Re,Ue=Object.prototype,Ie=Ue.hasOwnProperty,Ge=Ue.propertyIsEnumerable,We=He(function(){return arguments}())?He:function(e){return Ve(e)&&Ie.call(e,"callee")&&!Ge.call(e,"callee")},qe=We,Ye=Array.isArray,Je=Ye,Ze=9007199254740991;function Xe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ze}var Ke=Xe;function Qe(e){return null!=e&&Ke(e.length)&&!W(e)}var et=Qe,tt=r("58e0"),rt="[object Arguments]",nt="[object Array]",at="[object Boolean]",it="[object Date]",ot="[object Error]",st="[object Function]",lt="[object Map]",ct="[object Number]",ut="[object Object]",dt="[object RegExp]",ft="[object Set]",ht="[object String]",pt="[object WeakMap]",mt="[object ArrayBuffer]",gt="[object DataView]",bt="[object Float32Array]",vt="[object Float64Array]",yt="[object Int8Array]",_t="[object Int16Array]",xt="[object Int32Array]",wt="[object Uint8Array]",At="[object Uint8ClampedArray]",St="[object Uint16Array]",jt="[object Uint32Array]",Ot={};function Lt(e){return Ve(e)&&Ke(e.length)&&!!Ot[$(e)]}Ot[bt]=Ot[vt]=Ot[yt]=Ot[_t]=Ot[xt]=Ot[wt]=Ot[At]=Ot[St]=Ot[jt]=!0,Ot[rt]=Ot[nt]=Ot[mt]=Ot[at]=Ot[gt]=Ot[it]=Ot[ot]=Ot[st]=Ot[lt]=Ot[ct]=Ot[ut]=Ot[dt]=Ot[ft]=Ot[ht]=Ot[pt]=!1;var Tt=Lt;function zt(e){return function(t){return e(t)}}var Mt=zt,Ct=r("c6eb"),kt=Ct["a"]&&Ct["a"].isTypedArray,Et=kt?Mt(kt):Tt,Nt=Et,Dt="[object Map]",Pt="[object Set]",Ft=Object.prototype,$t=Ft.hasOwnProperty;function Vt(e){if(null==e)return!0;if(et(e)&&(Je(e)||"string"==typeof e||"function"==typeof e.splice||Object(tt["a"])(e)||Nt(e)||qe(e)))return!e.length;var t=Fe(e);if(t==Dt||t==Pt)return!e.size;if(f(e))return!_(e).length;for(var r in e)if($t.call(e,r))return!1;return!0}var Bt=Vt;function Rt(e){return void 0===e}var Ht=Rt,Ut="[object Symbol]";function It(e){return"symbol"==typeof e||Ve(e)&&$(e)==Ut}var Gt=It,Wt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,qt=/^\w*$/;function Yt(e,t){if(Je(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Gt(e))||(qt.test(e)||!Wt.test(e)||null!=t&&e in Object(t))}var Jt=Yt,Zt=pe(Object,"create"),Xt=Zt;function Kt(){this.__data__=Xt?Xt(null):{},this.size=0}var Qt=Kt;function er(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var tr=er,rr="__lodash_hash_undefined__",nr=Object.prototype,ar=nr.hasOwnProperty;function ir(e){var t=this.__data__;if(Xt){var r=t[e];return r===rr?void 0:r}return ar.call(t,e)?t[e]:void 0}var or=ir,sr=Object.prototype,lr=sr.hasOwnProperty;function cr(e){var t=this.__data__;return Xt?void 0!==t[e]:lr.call(t,e)}var ur=cr,dr="__lodash_hash_undefined__";function fr(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Xt&&void 0===t?dr:t,this}var hr=fr;function pr(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t-1}var zr=Tr;function Mr(e,t){var r=this.__data__,n=xr(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Cr=Mr;function kr(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t-1&&e%1==0&&e0){if(++t>=Yo)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Ko=Xo,Qo=Ko(qo),es=Qo;function ts(e,t){return es(Uo(e,t,$o),e+"")}var rs=ts;function ns(e){return function(t){return null==t?void 0:t[e]}}var as=ns;function is(e){return Ve(e)&&et(e)}var os=is,ss=Math.max;function ls(e){if(!e||!e.length)return[];var t=0;return e=Sa(e,(function(e){if(os(e))return t=ss(e.length,t),!0})),Xn(t,(function(t){return ln(e,as(t))}))}var cs=ls,us=rs(cs),ds=us;function fs(e,t){var r,n=-1,a=e.length;while(++n{if(isNaN(+e))return e;let r=[{value:1e8,symbol:"亿"},{value:1e4,symbol:"万"},{value:1e3,symbol:"千"}];for(let a=0;a=r[a].value)return e/r[a].value+n+r[a].symbol;return e.toString()};return o(e,i)},unformat:function(e){return.01*Hs.a._.stringToNumber(e)}});const Us=e=>{const t={};return Object.keys(e).forEach(r=>{e[r].forEach(e=>{t[e]=r})}),t},Is=e=>new Promise((t,r)=>{const n=new XMLHttpRequest;n.open("GET",e),n.send(null),n.onload=()=>{t(JSON.parse(n.responseText))},n.onerror=()=>{r(JSON.parse(n.responseText))}}),Gs=({mapName:e,mapUrlPrefix:t})=>{const r=`${t}${e}.json`;return Is(r)},Ws=e=>Object.prototype.toString.call(e),qs=(e,t,r)=>{const n=No(e),a=n&&n.dimensions&&n.dimensions.name,i=n&&n.dimensions&&n.dimensions.data,{isEmptyData:o,chartType:s}=r,l=t&&t.stack||null,c=t&&t.percentage||!1;if(!o&&void 0===i)return void Po.a.util.warn("data.dimensions.data is required. Please check on you data",void 0);let u=`${a}`,d=i.length>0&&i[0],f=Js(d)&&"pie"===s?i.map((e,t)=>0===t?`${e}`:e):i;const h={[u]:f};let[p,m]=[{},[]];if(l&&c&&n.measures.length>0){const e=n.measures.map(e=>e.data),t=ds(...e);m=t.map(e=>{const t=e.map(e=>Js(e)?e:parseFloat(e,10));return ms(t)})}n.measures.map(e=>{const t=Js(e.name),r=t?`${e.name} `:e.name;Object.assign(p,{[r]:l&&c?e.data.map((e,t)=>Ds(e/m[t],4)):e.data})});let g=[];const b=Ht(a)?"dimension":a;g.push(b),g=[...g,...n.measures.map(e=>e.name)];const v=Object.assign({},h,p),y={dimensions:g,source:v};return y},Ys=(e,t,r=0)=>{const n=(e,t,r)=>{const n=r>0?`0.${"0".repeat(r)}`:"0",a=r>0?`0,0.${"0".repeat(r)}`:"0,0";switch(e){case"currency":return Hs()(t).format(a);case"en":return Hs()(t).format(`${n} a`);case"zh":return Hs()(t).format(`${n} zh`);case"percentage":return Hs()(t).format(`${n}%`);default:return t}};return n(e,t,r)},Js=e=>!Bs(parseFloat(e))&&isFinite(e)&&Number(e)===e,Zs={grid:{right:10,bottom:10,left:10,containLabel:!0},series:[]},Xs=["#5282e4","#40b17e","#ffd600","#f88d48","#2ebce2","#f35352","#ce62d6","#8954d4","#5257b8","#d42d6b"],Ks=[{itemStyle:{normal:{borderColor:"#fff"}}},{colorSaturation:[.3,.6],itemStyle:{normal:{borderColorSaturation:.7,gapWidth:5,borderWidth:2}}},{colorSaturation:[.3,.5],itemStyle:{normal:{borderColorSaturation:.6}}},{colorSaturation:[.3,.5]}],Qs={secondaryMeasure:{normal:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"},emphasis:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"}}},el="https://unpkg.com/echarts@4.1.0/map/json/";var tl=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"echarts",style:e.echartsStyle})},rl=[],nl=function(){return x["a"].Date.now()},al=nl,il="Expected a function",ol=Math.max,sl=Math.min;function ll(e,t,r){var n,a,i,o,s,l,c=0,u=!1,d=!1,f=!0;if("function"!=typeof e)throw new TypeError(il);function h(t){var r=n,i=a;return n=a=void 0,c=t,o=e.apply(i,r),o}function p(e){return c=e,s=setTimeout(b,t),u?h(e):o}function m(e){var r=e-l,n=e-c,a=t-r;return d?sl(a,i-n):a}function g(e){var r=e-l,n=e-c;return void 0===l||r>=t||r<0||d&&n>=i}function b(){var e=al();if(g(e))return v(e);s=setTimeout(b,m(e))}function v(e){return s=void 0,f&&n?h(e):(n=a=void 0,o)}function y(){void 0!==s&&clearTimeout(s),c=0,n=l=a=s=void 0}function _(){return void 0===s?o:v(al())}function x(){var e=al(),r=g(e);if(n=arguments,a=this,l=e,r){if(void 0===s)return p(l);if(d)return clearTimeout(s),s=setTimeout(b,t),h(l)}return void 0===s&&(s=setTimeout(b,t)),o}return t=As(t)||0,B(r)&&(u=!!r.leading,d="maxWait"in r,i=d?ol(As(r.maxWait)||0,t):i,f="trailing"in r?!!r.trailing:f),x.cancel=y,x.flush=_,x}var cl=ll;let ul=null;function dl(e){return ul||(ul=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){return setTimeout(e,16)}).bind(window)),ul(e)}let fl=null;function hl(e){fl||(fl=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}).bind(window)),fl(e)}function pl(e){var t=document.createElement("style");return t.type="text/css",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),(document.querySelector("head")||document.body).appendChild(t),t}function ml(e,t={}){let r=document.createElement(e);return Object.keys(t).forEach(e=>{r[e]=t[e]}),r}function gl(e,t,r){let n=window.getComputedStyle(e,r||null)||{display:"none"};return n[t]}function bl(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};let t=e;while(t!==document){if("none"===gl(t,"display"))return{detached:!1,rendered:!1};t=t.parentNode}return{detached:!1,rendered:!0}}var vl='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}';let yl=0,_l=null;function xl(e,t){e.__resize_mutation_handler__||(e.__resize_mutation_handler__=Sl.bind(e));let r=e.__resize_listeners__;if(!r)if(e.__resize_listeners__=[],window.ResizeObserver){let{offsetWidth:t,offsetHeight:r}=e,n=new ResizeObserver(()=>{(e.__resize_observer_triggered__||(e.__resize_observer_triggered__=!0,e.offsetWidth!==t||e.offsetHeight!==r))&&Ol(e)}),{detached:a,rendered:i}=bl(e);e.__resize_observer_triggered__=!1===a&&!1===i,e.__resize_observer__=n,n.observe(e)}else if(e.attachEvent&&e.addEventListener)e.__resize_legacy_resize_handler__=function(){Ol(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);else if(yl||(_l=pl(vl)),Ll(e),e.__resize_rendered__=bl(e).rendered,window.MutationObserver){let t=new MutationObserver(e.__resize_mutation_handler__);t.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__resize_mutation_observer__=t}e.__resize_listeners__.push(t),yl++}function wl(e,t){let r=e.__resize_listeners__;if(r){if(t&&r.splice(r.indexOf(t),1),!r.length||!t){if(e.detachEvent&&e.removeEventListener)return e.detachEvent("onresize",e.__resize_legacy_resize_handler__),void document.removeEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);e.__resize_observer__?(e.__resize_observer__.unobserve(e),e.__resize_observer__.disconnect(),e.__resize_observer__=null):(e.__resize_mutation_observer__&&(e.__resize_mutation_observer__.disconnect(),e.__resize_mutation_observer__=null),e.removeEventListener("scroll",jl),e.removeChild(e.__resize_triggers__.triggers),e.__resize_triggers__=null),e.__resize_listeners__=null}!--yl&&_l&&_l.parentNode.removeChild(_l)}}function Al(e){let{width:t,height:r}=e.__resize_last__,{offsetWidth:n,offsetHeight:a}=e;return n!==t||a!==r?{width:n,height:a}:null}function Sl(){let{rendered:e,detached:t}=bl(this);e!==this.__resize_rendered__&&(!t&&this.__resize_triggers__&&(Tl(this),this.addEventListener("scroll",jl,!0)),this.__resize_rendered__=e,Ol(this))}function jl(){Tl(this),this.__resize_raf__&&hl(this.__resize_raf__),this.__resize_raf__=dl(()=>{let e=Al(this);e&&(this.__resize_last__=e,Ol(this))})}function Ol(e){e&&e.__resize_listeners__&&e.__resize_listeners__.forEach(t=>{t.call(e,e)})}function Ll(e){let t=gl(e,"position");t&&"static"!==t||(e.style.position="relative"),e.__resize_old_position__=t,e.__resize_last__={};let r=ml("div",{className:"resize-triggers"}),n=ml("div",{className:"resize-expand-trigger"}),a=ml("div"),i=ml("div",{className:"resize-contract-trigger"});n.appendChild(a),r.appendChild(n),r.appendChild(i),e.appendChild(r),e.__resize_triggers__={triggers:r,expand:n,expandChild:a,contract:i},Tl(e),e.addEventListener("scroll",jl,!0),e.__resize_last__={width:e.offsetWidth,height:e.offsetHeight}}function Tl(e){let{expand:t,expandChild:r,contract:n}=e.__resize_triggers__,{scrollWidth:a,scrollHeight:i}=n,{offsetWidth:o,offsetHeight:s,scrollWidth:l,scrollHeight:c}=t;n.scrollLeft=a,n.scrollTop=i,r.style.width=o+1+"px",r.style.height=s+1+"px",t.scrollLeft=l,t.scrollTop=c}r("1523");const zl=["legendselectchanged","legendselected","legendunselected","legendscroll","datazoom","datarangeselected","timelinechanged","timelineplaychanged","restore","dataviewchanged","magictypechanged","geoselectchanged","geoselected","geounselected","pieselectchanged","pieselected","pieunselected","mapselectchanged","mapselected","mapunselected","axisareaselected","focusnodeadjacency","unfocusnodeadjacency","brush","brushselected","globalcursortaken","rendered","finished","click","dblclick","mouseover","mouseout","mousedown","mouseup","globalout","contextmenu"];var Ml={props:{options:Object,theme:[String,Object],initOptions:Object,group:String,autoResize:Boolean,watchShallow:Boolean,chartHeight:{type:Number,default:400}},data(){return{chart:null}},computed:{width:{cache:!1,get(){return this.delegateGet("width","getWidth")}},height:{cache:!1,get(){return this.delegateGet("height","getHeight")}},isDisposed:{cache:!1,get(){return!!this.delegateGet("isDisposed","isDisposed")}},computedOptions:{cache:!1,get(){return this.delegateGet("computedOptions","getOption")}},echartsStyle(){return{width:"auto",height:`${this.chartHeight}px`}}},watch:{group(e){this.chart.group=e}},methods:{mergeOptions(e,t,r){this.delegateMethod("setOption",e,t,r)},appendData(e){this.delegateMethod("appendData",e)},resize(e){this.delegateMethod("resize",e)},dispatchAction(e){this.delegateMethod("dispatchAction",e)},convertToPixel(e,t){return this.delegateMethod("convertToPixel",e,t)},convertFromPixel(e,t){return this.delegateMethod("convertFromPixel",e,t)},containPixel(e,t){return this.delegateMethod("containPixel",e,t)},showLoading(e,t){this.delegateMethod("showLoading",e,t)},hideLoading(){this.delegateMethod("hideLoading")},getDataURL(e){return this.delegateMethod("getDataURL",e)},getConnectedDataURL(e){return this.delegateMethod("getConnectedDataURL",e)},clear(){this.delegateMethod("clear")},dispose(){this.delegateMethod("dispose")},delegateMethod(e,...t){if(this.chart)return this.chart[e](...t);Po.a.util.warn(`Cannot call [${e}] before the chart is initialized. Set prop [options] first.`,this)},delegateGet(e,t){return this.chart||Po.a.util.warn(`Cannot get [${e}] before the chart is initialized. Set prop [options] first.`,this),this.chart[t]()},init(){if(this.chart)return;let e=i.a.init(this.$el,this.theme,this.initOptions);this.group&&(e.group=this.group),e.setOption(this.options,!0),e.getZr().on("click",e=>!e.target&&this.$emit("blankClick",e)),zl.forEach(t=>{e.on(t,e=>{this.$emit(t,e)})}),this.autoResize&&(this.__resizeHanlder=cl(()=>{e.resize()},100,{leading:!0}),xl(this.$el,this.__resizeHanlder)),this.chart=e,this.$emit("update:ec",e)},destroy(){this.autoResize&&wl(this.$el,this.__resizeHanlder),this.dispose(),this.chart=null},refresh(){this.destroy(),this.init()}},created(){this.$watch("options",e=>{!this.chart&&e?this.init():this.chart.setOption(this.options,!0)},{deep:!this.watchShallow});let e=["theme","initOptions","autoResize","watchShallow"];e.forEach(e=>{this.$watch(e,()=>{this.refresh()},{deep:!0})})},mounted(){this.options&&this.init()},activated(){this.autoResize&&this.chart&&this.chart.resize()},beforeDestroy(){this.chart&&this.destroy()},connect(e){"string"!==typeof e&&(e=e.map(e=>e.chart)),i.a.connect(e)},disconnect(e){i.a.disConnect(e)},registerMap(e,t,r){i.a.registerMap(e,t,r)},registerTheme(e,t){i.a.registerTheme(e,t)},graphic:i.a.graphic},Cl=Ml;r("46e2");function kl(e,t,r,n,a,i,o,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):a&&(l=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var El=kl(Cl,tl,rl,!1,null,null,null),Nl=El.exports,Dl=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"ve-charts-empty-data"},[r("span",{domProps:{textContent:e._s(e.emptyText)}})])},Pl=[],Fl={name:"EchartsEmptyData",props:{emptyText:{type:String,default:"暂无数据"}}},$l=Fl,Vl=(r("86eb"),kl($l,Dl,Pl,!1,null,null,null)),Bl=Vl.exports,Rl=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"ve-charts-loading-mask"},[r("div",{staticClass:"loading-spinner"},[r("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[r("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])])])},Hl=[],Ul=(r("137f"),{}),Il=kl(Ul,Rl,Hl,!1,null,null,null),Gl=Il.exports,Wl={components:{BaseEcharts:Nl,EmptyData:Bl,LoadingChart:Gl},props:{data:{type:[Object,Array],default(){return{}}},settings:{type:[Object,Array],default(){return{}}},title:Object,legend:Object,grid:Object,xAxis:[Object,Array],yAxis:[Object,Array],polar:Object,radiusAxis:Object,angleAxis:Object,radar:[Object,Array],dataZoom:[Object,Array],visualMap:[Object,Array],tooltip:Object,axisPointer:Object,toolbox:Object,brush:Object,geo:Object,parallel:Object,parallelAxis:Array,singleAxis:Array,timeline:Object,graphic:Object,calendar:Object,dataset:Object,series:[Object,Array],color:Array,backgroundColor:[Object,String],textStyle:Object,animation:Object,animationThreshold:Number,animationDuration:[Number,Function],animationEasing:[String,Function],animationDelay:[Number,Function],animationDurationUpdate:[Number,Function],animationEasingUpdate:[String,Function],animationDelayUpdate:[String,Function],blendMode:String,hoverLayerThreshold:Number,useUTC:{type:Boolean,default:!1},tooltipVisible:{type:Boolean,default:!0},legendVisible:{type:Boolean,default:!0},tickMarkVisible:{type:Boolean,default:!1},legendPosition:String,theme:[String,Object],loading:{type:Boolean,default:!1},emptyText:String,renderer:{type:String,default:"canvas"},height:{type:Number,default:400}},data(){return{ec:null,initOptions:null}},computed:{chartColor(){return this.theme?this.color:this.color||Xs},isEmptyData(){if(c(this.data)||Bt(this.data)||Ht(this.data))return!0;if(Array.isArray(this.data))return!1;{const e=Sn(this.data,"measures");return 0===e.length}},isEmptySeries(){return c(this.series)||Bt(this.series)||Ht(this.series)},isHasData(){return!this.isEmptyData||!this.isEmptySeries},isHasParentStyle(){return this.loading||this.isEmptyData&&this.isEmptySeries},parentStyle(){const e=this.isHasParentStyle?{position:"relative",height:`${this.height}px`}:{};return e}},watch:{data:{deep:!0,handler(e){e&&this.dataHandler(e)}},settings:{deep:!0,handler(e){this.dataHandler(this.data)}},ec(e){this.$emit("update:ec",e)}},methods:{dataHandler(e){if(!this.chartHandler||this.isEmptyData&&this.isEmptySeries)return;const t={tooltipVisible:this.tooltipVisible,legendVisible:this.legendVisible,isEmptyData:this.isEmptyData,isEmptySeries:this.isEmptySeries,tickMarkVisible:this.tickMarkVisible,_once:this._once};this.beforeConfig&&(e=this.beforeConfig(e));const r=this.chartHandler(e,No(this.settings),t);r&&("function"===typeof r.then?r.then(this.optionsHandler):this.optionsHandler(r))},optionsHandler(e){if(e.color=this.chartColor,this.legendPosition&&e.legend){const t=this.legendPosition.split("-").shift();e.legend.left=this.legendPosition.split("-").pop(),-1!==["top"].indexOf(t)&&(e.legend.top=0),-1!==["bottom"].indexOf(t)&&(e.legend.bottom=0)}const t=["title","legend","grid","xAxis","yAxis","polar","radiusAxis","angleAxis","radar","dataZoom","visualMap","tooltip","axisPointer","toolbox","brush","geo","parallel","parallelAxis","singleAxis","timeline","graphic","calendar","dataset","series","color","backgroundColor","textStyle","animation","animationThreshold","animationDuration","animationEasing","animationDelay","animationDurationUpdate","animationEasingUpdate","animationDelayUpdate","blendMode","hoverLayerThreshold","useUTC"];t.forEach(t=>{this[t]&&(e[t]=this[t])}),this.animation&&Object.keys(this.animation).forEach(t=>{e[t]=this.animation[t]}),this.options=Object.assign(No(this.options),e)},init(){this.data&&this.dataHandler(this.data)},addWatchToProps(){const e=this._watchers.map(e=>e.expression);Object.keys(this.$props).forEach(t=>{if(!~e.indexOf(t)){const e={};"[object Object]"===Ws(t)&&(e.deep=!0),this.$watch(t,()=>{this.dataHandler(this.data)},e)}})}},created(){this.initOptions={renderer:this.renderer},this._once={},this.addWatchToProps()},mounted(){this.init()}},ql={mixins:[Wl],data(){return{options:Zs,initOptions:{renderer:"canvas"}}}},Yl=ql,Jl=kl(Yl,o,s,!1,null,null,null),Zl=Jl.exports;class Xl{constructor(e,t,r){this.data=e,this.settings=t,this.extra=r}chartHandler(){}}var Kl=Xl;class Ql extends Kl{static getBarTooltip(e){const{tooltipOptions:t}=e;return{trigger:"axis",axisPointer:{type:"shadow"},...t}}static getBarLegend(e,t){const{measures:r}=e,{legendType:n,legendPadding:a,waterfall:i,legendOptions:o}=t;let s={type:n||"plain",padding:a||5,...o};return i&&!0===i&&(s["data"]=r.filter(({name:e})=>{if("secondaryMeasure"!==e)return e})),s}static getBarGrid(e){const t={right:30,bottom:10,left:30,containLabel:!0};return e?t:Zs.grid}static getBarDimAxis(e){const{dimAxisType:t,dimAxisLineShow:r,dimAxisLabelShow:n,dimAxisLabelColor:a,xAxisName:i,xAxisSplitLine:o}=e,s={type:t,axisLine:{show:Array.isArray(r)?r[0]:r},axisTick:{show:!1},axisLabel:{show:Array.isArray(n)?n[0]:n,margin:10,fontWeight:400,color:Array.isArray(a)?a[0]:a}};i&&(s.name=i),o&&(s.splitLine=o);const l=[];return l.push(s),l}static getBarMeaAxis(e,t){const{meaAxisType:r,meaAxisDigits:n,meaAxisLineShow:a,meaAxisLabelShow:i,meaAxisLabelColor:o,yAxisScale:s=!1,percentage:l=!1,yAxisName:c,yAxisInterval:u,yAxisMax:d,yAxisMin:f}=t,h={type:"value",scale:s,axisTick:{show:!1},min:l?0:null,max:l?1:null},p=[];return r.forEach((e,t)=>{const r={show:Array.isArray(i)?i[t]:i,margin:10,fontWeight:400,color:Array.isArray(o)?o[t]:o};if("normal"!==e)if(Je(n)){let a=Ht(n[t])?0:n[t];r.formatter=t=>Ys(e,t,a)}else r.formatter=t=>Ys(e,t,n);const s={show:Array.isArray(a)?a[t]:a},m={...h,axisLabel:r,axisLine:s};c&&c.length&&(m["name"]=c[t]),u&&u.length&&u[t]&&(m["interval"]=Number(u[t])),!1===l&&d&&d.length&&(m["max"]=d[t]),!1===l&&f&&f.length&&(m["min"]=f[t]),p.push(m)}),p}static getBarLabel(e,t){const{position:r=(t?"right":"top"),formatType:n="currency",formatDigits:a=0,...i}=e,o=e=>{const{value:t,seriesIndex:r}=e;return t.shift(),Ys(n,t[r],a)};return{position:r,formatter:o,...i}}static getBarSeries(e,t,r){const{measures:n}=e,{label:a={},showLine:i=[],stack:o=null,secondMeaAxis:s=[],itemStyle:l={},waterfall:c,...u}=t,d=r?"xAxisIndex":"yAxisIndex",f=[],h=o&&Us(o);return n.forEach(({name:e})=>{let t={};a instanceof Array?(t=a.filter(t=>t.name===e)[0],void 0===t&&(t={})):t=a;const n=i.includes(e)?"line":"bar",p={type:n,name:e,label:Ql.getBarLabel(t,r),stack:o&&h[e],[d]:s.includes(e)?"1":"0",itemStyle:l[e]?l[e]:{},...u};c&&!0===c&&"secondaryMeasure"===e&&(p["itemStyle"]=Qs[e]),f.push(p)}),f}bar(e,t,r){const{tooltipVisible:n,legendVisible:a,isEmptyData:i}=r,{direction:o="column",secondMeaAxis:s=null,yAxisLabelType:l,yAxisLabelDigits:c=0,yAxisName:u,yAxisLabelShow:d=[!0,!0],yAxisLineShow:f=[!0,!0],yAxisLabelColor:h=[null,null],xAxisLabelType:p,xAxisLabelDigits:m=0,xAxisName:g,xAxisLabelShow:b=!0,xAxisLineShow:v=!0,xAxisLabelColor:y=null}=t,_="column"!==o&&"row"===o,x=null!==s?["normal","normal"]:["normal"];t.meaAxisType=(_?p:l)||x,t.meaAxisDigits=_?m:c,t.meaAxisName=(_?g:u)||[],t.meaAxisLabelShow=_?b:d,t.meaAxisLineShow=_?v:f,t.meaAxisLabelColor=_?y:h,t.dimAxisType=(_?l:p)||"category",t.dimAxisDigits=_?c:m,t.dimAxisName=(_?u:g)||"",t.dimAxisLabelShow=_?d:b,t.dimAxisLineShow=_?f:v,t.dimAxisLabelColor=_?h:y,x.length>t.meaAxisType.length&&(t.meaAxisType=x.fill(t.meaAxisType[0])),r.chartType="bar";const w=!i&&qs(e,t,r),A=n&&Ql.getBarTooltip(t),S=a&&Ql.getBarLegend(e,t),j=Ql.getBarGrid(_),O=_?Ql.getBarMeaAxis(e,t):Ql.getBarDimAxis(t),L=_?Ql.getBarDimAxis(t):Ql.getBarMeaAxis(e,t),T=Ql.getBarSeries(e,t,_),{yAxisInverse:z,xAxisInverse:M}=t;void 0!==z&&L.forEach((e,t)=>{e.inverse=Array.isArray(z)?z[t]:z}),void 0!==M&&O.forEach(e=>{e.inverse=M});const C={grid:j,dataset:w,tooltip:A,legend:S,xAxis:O,yAxis:L,series:T};return C}}var ec=Ql,tc={name:"VeBarChart",mixins:[Zl],created(){this.chartHandler=(new ec).bar}};class rc extends Kl{static getPieDataset(e,t,r){const n=[];if(r.chartType="pie",e.length&&1!==e.length){if(e.length>1)for(let a of e)n.push(qs(a,t,r))}else n.push(qs(e,t,r));return n}static getPieTooltip(e){return{trigger:"item"}}static getPieLegend(e){const{data:t,settings:r}=e;let n;n=Array.isArray(t)&&t.length>0?t[0].dimensions:t.dimensions;const{legendType:a="plain",legendPadding:i=5,legendSelected:o=n.data.length}=r,s=e=>{let t={};const r=n.data.slice(e);for(let n of r)t[n]=!1;return t};return{type:a,padding:i,selected:s(o)}}static getPieSeries(e){const{data:t,settings:r,isDonut:n}=e;let a=[];if(void 0===t.length)a=this.handleData(t,r,n);else if(1===t.length)a=this.handleData(t[0],r,n);else if(2===t.length)for(let i in t)a.push(this.handleData(t[i],r[i],n,i)[0]);return a}static handleData(e,t,r,n=0){const a=[],{measures:i}=e,{offsetY:o,radius:s=(r?["50%","70%"]:[0,"75%"]),selectedMode:l=!1,...c}=t;return i.forEach(({name:e,data:t},r)=>{a.push({type:"pie",name:e,selectedMode:l,center:o?["50%",o]:["50%","50%"],radius:s,datasetIndex:n,...c})}),a}static chartHandler(e,t,r,n=!1){const{tooltipVisible:a,legendVisible:i}=r,o=rc.getPieDataset(e,t,r),s=a&&rc.getPieTooltip(),l=i&&rc.getPieLegend({data:e,settings:t}),c=rc.getPieSeries({data:e,settings:t,isDonut:n}),u={dataset:o,tooltip:s,legend:l,series:c};return u}pie(e,t,r){return rc.chartHandler(e,t,r,!1)}donut(e,t,r){return rc.chartHandler(e,t,r,!0)}}var nc=rc,ac={name:"VeDonutChart",mixins:[Zl],created(){this.chartHandler=(new nc).donut}};function ic(e,t,r){var n=-1,a=e.length;while(++nt}var fc=dc;function hc(e){return e&&e.length?oc(e,$o,fc):void 0}var pc=hc;class mc extends Kl{static getFunnelTooltip(e){return{trigger:"item"}}static getFunnelLegend(e){const{settings:t}=e,{legendType:r="plain",legendPadding:n=5}=t;return{type:r,padding:n}}static getFunnelSeries(e){const{data:t,settings:r}=e,{dimensions:n,measures:a}=t,i=n&&`${n.name}`,{funnelSort:o="desc",funnelAlign:s="center",contrast:l=!1,symmetric:c=!1,labelPosition:u="outside",funnelLabel:d,...f}=r,h=e=>{if(e.length>2)return void Po.a.util.warn("data.measures.length is more then 2 in [Contrastive funnel chart]. Please use 2 measures",this);let t="";if(e.length>1){const r=e.reduce((e,t)=>Ds(uc([pc(e.data),pc(t.data)])/pc([pc(e.data),pc(t.data)]),2));t=`${100*r}%`}return t},p=(e,t)=>e?0===t?"10%":"50%":"10%",m=(e,t)=>e?0===t?"right":"left":s,g=(e,t)=>{const{contrast:r,symmetric:n,funnelLabel:i}=e;if(i)return Array.isArray(i)?i[t]:i;let o={normal:{position:u}};if(r){const e={normal:{position:"inside",formatter:e=>{const t=a.reduce((e,t)=>pc([pc(e.data),pc(t.data)])),[,,r]=e.value;return`${Math.round(r/t*100,2)}%`}},emphasis:{position:"inside",formatter:e=>{const t=a.reduce((e,t)=>pc([pc(e.data),pc(t.data)])),[r,,n]=e.value;return`${r} ${Math.round(n/t*100,2)}%`}}};o=0===t?o:e}if(n){const e={normal:{position:"outside"!==u?u:"left"}},r={normal:{position:"outside"!==u?u:"right"}};o=0===t?e:r}return o},b=(e,t)=>({itemName:e,value:t}),v=[];return a.forEach(({name:e,data:t},r)=>{v.push({type:"funnel",name:e,sort:"desc"===o?"descending":"ascending",funnelAlign:m(c,r),width:c?"40%":"80%",x:p(c,r),maxSize:l&&0!==r?h(a):"100%",label:g({contrast:l,symmetric:c,funnelLabel:d},r),encode:b(i,e),...f})}),v}funnel(e,t,r){const{tooltipVisible:n,legendVisible:a}=r;r.chartType="funnel";const i=qs(e,t,r),o=n&&mc.getFunnelTooltip(),s=a&&mc.getFunnelLegend({settings:t}),l=mc.getFunnelSeries({data:e,settings:t}),c={dataset:i,tooltip:o,legend:s,series:l};return c}}var gc=mc,bc={name:"VeFunnelChart",mixins:[Zl],created(){this.chartHandler=(new gc).funnel}};class vc extends Kl{static getGaugeTooltip(){return{trigger:"item"}}static getGaugeSeries(e){const{data:t,settings:r}=e,{name:n,data:a}=t&&t.measures&&t.measures[0],{min:i=0,max:o=100,offsetY:s,radius:l="75%",...c}=r;return[{name:n,type:"gauge",min:i,max:o,center:s?["50%",s]:["50%","50%"],radius:l,data:a,...c}]}gauge(e,t,r){const{tooltipVisible:n}=r,a=n&&vc.getGaugeTooltip(),i=vc.getGaugeSeries({data:e,settings:t}),o={tooltip:a,series:i};return o}}var yc=vc,_c={name:"VeGaugeChart",mixins:[Zl],created(){this.chartHandler=(new yc).gauge}},xc=Es("ceil"),wc=xc,Ac=Es("floor"),Sc=Ac,jc=r("0e45"),Oc=r("274d"),Lc=r("2814");class Tc extends Kl{static convertCityName(e){return isNaN(1*e)?e:Lc[e]}static convertCoord(e){return jc[e]||Oc[e]}static convertCityData(e,t){const{index:r,connect:n}=t,a=n?n.dataIndex:-1,i=n?n.seriesIndex:-1,o=n?n.symbolSize:10,s=n?n.normalShadowBlur:0,l=[];for(let c=0;c{const r=t.map(e=>parseInt(e.value));return T=[...T,...r],[Math.min(...r),Math.max(...r)]});return l?(L=Math.min(...T),O=Math.max(...T)):(L=z.reduce((e,t)=>e+t[0],0),O=z.reduce((e,t)=>e+t[1],0)),n&&n.forEach(({name:e,data:t},r)=>{const n=s?t:l?Tc.convertLinesData(e,t):Tc.convertCityData(t,{index:r,connect:w}),O={normal:{show:!1},emphasis:{show:!1}};l?(e=Tc.convertCityName(e),j.push({name:e,type:"lines",zlevel:1,effect:{show:m,period:5,trailLength:0,color:"#fff",symbolSize:3,...g},lineStyle:{normal:{width:0,curveness:x&&x.curveness||.2}},data:n},{name:e,type:"lines",zlevel:2,effect:{show:b,period:5,trailLength:.4,symbol:"arrow",symbolSize:6,...v},lineStyle:{normal:{color:"#ED3574",width:1,opacity:.6,curveness:.2,...x}},data:n},{name:e,type:"effectScatter",coordinateSystem:"geo",zlevel:2,showEffectOn:"render",rippleEffect:{brushType:"stroke"},label:y?{normal:{show:!0,formatter:"{b}",..._.normal},emphasis:{..._.emphasis}}:O,symbolSize:f,itemStyle:A?{color:A}:{},data:Tc.convertEffectScatterData(t)},{name:e,type:"effectScatter",coordinateSystem:"geo",zlevel:3,showEffectOn:"render",rippleEffect:{brushType:"stroke"},label:y?{normal:{show:!0,formatter:"{b}",..._.normal},emphasis:{..._.emphasis}}:O,symbolSize:f,itemStyle:A?{color:A}:{},data:[{name:e,value:Tc.convertCoord(e)}]})):(j[r]={name:e,type:a,roam:h,visualMap:u,label:o?d:O,selectedMode:"single",mapType:i,data:n,zoom:p},c&&(j[r].itemStyle=c),s||(j[r]={...j[r],coordinateSystem:"geo",label:O,symbolSize:f,showEffectOn:"render",rippleEffect:{brushType:"stroke"},itemStyle:A?{color:A}:{}})),S.push(e)}),{legendData:S,seriesData:j,max:wc(O,-2),min:Sc(L,-2)}}static getGeoTooltip(e,t){const r=function(e){const{seriesName:r,name:n,value:a,marker:i,seriesType:o,data:s}=e,l=Array.isArray(a)?a[2]:a;if(t){const{fromName:e,toName:t,name:r}=s;return"effectScatter"===o?`${r}`:"lines"===o?`${e} -> ${t}
${l}`:`${t}`}return`${r}
${i}${n}: ${l}`};return e?{trigger:"item"}:{trigger:"item",formatter:r}}static getGeoLegend(e){const{legendData:t,settings:r}=e,{legendType:n="plain",legendPadding:a=5}=r;return{type:n,padding:a,data:t}}static getGeo(e){const{labelVisible:t=!1,label:r,itemStyle:n,silent:a=!1,zoom:i=1,roam:o=!1,mapName:s="china"}=e.settings,l={normal:{show:!1},emphasis:{show:!1}},c={map:s,silent:a,roam:o,selectedMode:"single",label:t?r:l,zoom:i};return n&&(c.itemStyle=n),c}static getVisualMap(e){const{min:t=0,max:r=200,settings:n}=e,{visualMap:a}=n;return{min:t,max:r,left:"left",top:"bottom",show:!0,calculable:!0,...a}}static async registerMap(e){const{mapName:t="china",specialAreas:r,mapUrlPrefix:n=el,_once:a}=e;let o={};return a[t]||(o=await Gs({mapName:t,mapUrlPrefix:n}),Object.assign(a,{[t]:!0}),i.a.registerMap(t,o,r)),o}async geo(e,t,r){const{tooltipVisible:n,legendVisible:a,_once:i}=r,{mode:o="map",visualMapVisible:s=!1}=t,l="map"===o,c="lines"===o;t.isMapMode=l,t.isLinesMode=c;const{legendData:u,seriesData:d,min:f,max:h}=Tc.getGeoData({data:e,settings:t}),p=n&&Tc.getGeoTooltip(l,c),m=a&&Tc.getGeoLegend({legendData:u,settings:t}),g=!l&&Tc.getGeo({data:e,settings:t}),b=s&&Tc.getVisualMap({min:f,max:h,settings:t}),v={tooltip:p,legend:m,visualMap:b,geo:g,series:d},y={mapName:t.mapName,specialAreas:t.specialAreas,mapUrlPrefix:t.mapUrlPrefix,_once:i};return await Tc.registerMap(y),v}}var zc=Tc,Mc={name:"VeGeoChart",mixins:[Zl],created(){this.chartHandler=(new zc).geo}};class Cc extends Kl{static getLineTooltip(e){const{tooltipOptions:t}=e;return{trigger:"axis",...t}}static getLineLegend(e){const{legendType:t="plain",legendPadding:r=5,legendOptions:n}=e;return{type:t,padding:r,...n}}static getLineDimAxis({settings:e}){const{yAxisType:t,xAxisLabelShow:r=!0,xAxisLineShow:n=!0,xAxisLabelColor:a,xAxisInverse:i=!1,xAxisName:o,xAxisSplitLine:s}=e,l=t||"category";return{type:l,boundaryGap:!1,axisLine:{show:n},axisTick:{show:!1},axisLabel:{show:r,margin:10,fontWeight:400,color:a||null},inverse:i,name:void 0!==o?o:null,splitLine:void 0!==s?s:null}}static getLineMeaAxis(e){const{settings:t}=e,{yAxisScale:r,yAxisLabelType:n,yAxisLabelDigits:a,yAxisName:i,yAxisInterval:o,yAxisMax:s,yAxisMin:l,yAxisInverse:c,percentage:u=!1,yAxisLabelShow:d=!0,yAxisLineShow:f=!0,yAxisLabelColor:h}=t;let p={type:"value",scale:r,axisLine:{show:f},axisTick:{show:!1},axisLabel:{show:d,margin:10,fontWeight:400,color:h||null,formatter:e=>Ys(n,e,a)},min:u?0:null,max:u?1:null};return i&&(p["name"]=i),o&&(p["interval"]=Number(o)),s&&(p["max"]=s),l&&(p["min"]=l),void 0!==c&&(p["inverse"]=c),p}static getLineLabel(e){const{position:t="top",formatType:r="currency",formatDigits:n=0,...a}=e,i=e=>{const{value:t,seriesIndex:a}=e;return t.shift(),Ys(r,t[a],n)};return{normal:{position:t,formatter:i,...a}}}static getLineSeries(e){const{data:t,settings:r}=e,{measures:n}=t,{label:a={},showSymbol:i=!0,smooth:o=!1,stack:s=null,step:l=null,symbol:c="emptyCircle",symbolSize:u=4,itemStyle:d={},...f}=r,h=[],p=s&&Us(s);function m(e){return{normal:{width:2}}}return n.forEach(({name:e,data:t},r)=>{h.push({type:"line",name:e,label:this.getLineLabel(a),lineStyle:m(),showSymbol:i,smooth:o,stack:s&&p[e],step:l,symbol:c,symbolSize:u,itemStyle:d[e]?d[e]:{},...f})}),h}line(e,t,r){const{tooltipVisible:n,legendVisible:a,isEmptyData:i}=r;r.chartType="line";const o=!i&&qs(e,t,r),s=n&&Cc.getLineTooltip(t),l=a&&Cc.getLineLegend(t),c=Cc.getLineDimAxis({settings:t}),u=Cc.getLineMeaAxis({settings:t}),d=!i&&Cc.getLineSeries({data:e,settings:t}),f={dataset:o,tooltip:s,legend:l,xAxis:c,yAxis:u,series:d};return f}}var kc=Cc,Ec={name:"VeLineChart",mixins:[Zl],created(){this.chartHandler=(new kc).line}},Nc={name:"VePieChart",mixins:[Zl],created(){this.chartHandler=(new nc).pie}};class Dc extends Kl{static getRadarTooltip(){return{trigger:"item"}}static getRadarLegend(e){const{data:t,settings:r}=e,{legendType:n="plain",legendPadding:a=5}=r,{measures:i}=t;return{type:n,padding:a,data:i.map(e=>e.name)}}static getRadarRadar(e){const{data:t,settings:r}=e,{offsetY:n="50%",radius:a="75%",splitNumber:i=5,shape:o="polygon",splitArea:s={},name:l={}}=r;return{name:{padding:[3,5],...l},center:["50%",n],radius:a,splitNumber:i,shape:o,splitArea:s,indicator:t.dimensions}}static getRadarLabel(e){const{formatType:t="currency",formatDigits:r=0,...n}=e,a=e=>{const{value:n}=e;return Ys(t,n,r)};return{normal:{formatter:a,...n}}}static getRadarSeries({data:e,settings:t}){const{measures:r}=e,{label:n,itemStyle:a}=t,i=[];return r.forEach((e,t)=>{i.push({type:"radar",data:[{name:e.name,value:e.data}],label:n&&Dc.getRadarLabel(n),itemStyle:Object.assign({},a)})}),i}static getRadiusPolar({data:e,settings:t,tickMarkVisible:r}){if(!r)return{polar:null,radiusAxis:null,angleAxis:null};const{splitNumber:n=5,offsetY:a="50%",radius:i="75%",axisLabel:o={},axisLine:s={}}=t,l=e.dimensions[0].max,c=0,u=(l-c)/n;return{polar:{radius:i,center:["50%",a]},radiusAxis:{min:c,max:l,interval:Math.round(100*u)/100,splitLine:{show:!1},axisLabel:o,axisLine:s},angleAxis:{axisTick:{show:!1},axisLabel:{show:!1},axisLine:{show:!1},splitLine:{show:!1}}}}radar(e,t,r){const{tooltipVisible:n,legendVisible:a,isEmptyData:i,tickMarkVisible:o}=r;if(i)return{};const s=n&&Dc.getRadarTooltip(),l=a&&Dc.getRadarLegend({data:e,settings:t}),c=Dc.getRadarRadar({data:e,settings:t}),u=Dc.getRadarSeries({data:e,settings:t}),d=Dc.getRadiusPolar({data:e,settings:t,tickMarkVisible:o}),f={tooltip:s,legend:l,radar:c,series:u,...d};return f}}var Pc=Dc,Fc={name:"VeRadarChart",mixins:[Zl],created(){this.chartHandler=(new Pc).radar}};class $c extends Kl{static getScatterDataset(e,t,r){const n=[],{measures:a}=e;if(Je(a))return a.forEach(e=>{n.push({source:e.data})}),n}static getScatterTooltip(e){return{}}static getScatterLegend(e){const{settings:t}=e,{legendType:r="plain",legendPadding:n=5}=t;return{type:r,padding:n}}static getScatterSeries(e){const{data:t,settings:r}=e,{connect:n,...a}=r,i=[];return t.measures.forEach(({name:e},t)=>{i[t]={type:"scatter",name:e,datasetIndex:t,...a}}),i}static getScatterXAxis(e){const{settings:t}=e,{xAxisScale:r=!1,xAxisName:n,xAxisNameGap:a,xAxisNameLocation:i}=t;let o={scale:r,nameGap:5,splitLine:{lineStyle:{type:"dashed"}}};return n&&(o["name"]=n),a&&(o["nameGap"]=a),i&&(o["nameLocation"]=i),o}static getScatterYAxis(e){const{settings:t}=e,{yAxisScale:r=!1,yAxisName:n}=t;let a={scale:r,splitLine:{lineStyle:{type:"dashed"}}};return n&&(a["name"]=n),a}scatter(e,t,r){const{tooltipVisible:n,legendVisible:a}=r,i=$c.getScatterDataset(e,t,r),o=n&&$c.getScatterTooltip({data:e}),s=a&&$c.getScatterLegend({settings:t}),l=$c.getScatterSeries({data:e,settings:t}),c=$c.getScatterXAxis({settings:t}),u=$c.getScatterYAxis({settings:t}),d={dataset:i,tooltip:o,legend:s,series:l,xAxis:c,yAxis:u};return d}}var Vc=$c,Bc={name:"VeScatterChart",mixins:[Zl],created(){this.chartHandler=(new Vc).scatter}};class Rc extends Kl{static getTreemapTooltip(e){return{formatter:"{b}:
{c}"}}static getTreemapSeries(e){const{data:t,settings:r}=e,{measures:n}=t,{name:a="根级",levels:i=Ks,...o}=r,s=[];return s.push({type:"treemap",name:a,levels:i,data:n,...o}),s}treemap(e,t,r){const{tooltipVisible:n}=r,a=n&&Rc.getTreemapTooltip(),i=Rc.getTreemapSeries({data:e,settings:t}),o={tooltip:a,series:i};return o}}var Hc=Rc,Uc={name:"VeTreemapChart",mixins:[Zl],created(){this.chartHandler=(new Hc).treemap}};class Ic extends Kl{static getBarTooltip(e){const{settings:t}=e,{tooltip:r}=t;return{...r}}static getSunburstSeries(e){const{data:t,settings:r}=e,{measures:n}=t,{label:a={},itemStyle:i={},...o}=r,s=[];return n.forEach(({name:e,data:t},r)=>{const n="sunburst",l={type:n,name:e,data:t,label:a,itemStyle:i,...o};s.push(l)}),s}sunburst(e,t,r){const n=Ic.getBarTooltip({settings:t}),a=Ic.getSunburstSeries({data:e,settings:t}),i={series:a};return 0!==Object.keys(n).length&&(i["tooltip"]=n),i}}var Gc=Ic,Wc={name:"VeSunburstChart",mixins:[Zl],created(){this.chartHandler=(new Gc).sunburst}};class qc extends Kl{static getTreeTooltip(){return{trigger:"item",triggerOn:"mousemove"}}static getTreeLegend(e,t){const{legendType:r="plain",legendPadding:n=5}=t,{measures:a}=e;return{type:r,padding:n,data:a.map(e=>e.name)}}static formatTreeLabels(e="LR",t=0){let[r,n,a,i]=["","","",""];switch(e){case"LR":r="left",n="right",a="right",i="left";break;case"RL":r="right",n="left",a="left",i="right";break;case"TB":r="top",n=t>0?"right":"middle",a="bottom",i=t>0?"left":"middle";break;case"BT":r="bottom",n=t>0?"right":"middle",a="top",i=t>0?"left":"middle";break;default:}return{label:{normal:{position:r,verticalAlign:"middle",align:n,rotate:t}},leaves:{label:{normal:{position:a,verticalAlign:"middle",align:i,rotate:t}}}}}static getTreeSeries(e,t){const{seriesMap:r=[],labelRotate:n}=t,a=e.measures.map((e,t)=>{const a=r&&r[t]&&r[t].layout,i=r&&r[t]&&r[t].orient,o="radial"===a?{}:qc.formatTreeLabels(i,n),s={type:"tree",name:e.name,data:[e.value],...o,...r[t]};return s});return a}tree(e,t,r){const{tooltipVisible:n,legendVisible:a}=r,i=n&&qc.getTreeTooltip(),o=a&&qc.getTreeLegend(e,t),s=qc.getTreeSeries(e,t),l={tooltip:i,legend:o,series:s};return l}}var Yc=qc,Jc={name:"VeTreeChart",mixins:[Zl],created(){this.chartHandler=(new Yc).tree}};class Zc extends Kl{static getWordcloudSeries(e){const{data:t,settings:r}=e,{measures:n}=t,a="wordCloud",i=[],o={type:a,data:n,...r};return i.push(o),i}wordcloud(e,t,r){const{tooltip:n}=t,a=Zc.getWordcloudSeries({data:e,settings:t}),i={tooltip:n,series:a};return i}}var Xc=Zc,Kc={name:"VeWordcloudChart",mixins:[Zl],created(){this.chartHandler=(new Xc).wordcloud}};class Qc extends Kl{static getSeries(e){const{measures:t}=e.data,r=e.settings,n=[];return n.push({type:"liquidFill",data:[...t],...r}),n}liquidfill(e,t,r){const{isEmptyData:n}=r,{tooltip:a}=t;if(n)return{};const i=Qc.getSeries({data:e,settings:t}),o={tooltip:a,series:i};return o}}var eu=Qc,tu={name:"VeLiquidfillChart",mixins:[Zl],created(){this.chartHandler=(new eu).liquidfill}};class ru extends Kl{static getTooltip(e){return{}}static getLegend(e){const{measures:t}=e;return{show:!0,data:t.map(e=>e.name)}}static getPolar(e){return{}}static getAngleAxis(e){const{radial:t=!1,startAngle:r=90,clockwise:n=!0,showAngleAxisLine:a=!0,showAngleSplitLine:i=!0,showAngleAxisLabel:o=!0,angleAxisLabelType:s,angleAxisLabelDigits:l,angleAxisMax:c,angleAxisMin:u}=e;return{type:t?"category":"value",clockwise:n,startAngle:r,min:u||null,max:c||null,axisLine:{show:a},axisTick:{show:a},splitLine:{show:i},axisLabel:{show:o,margin:10,fontWeight:400,formatter:e=>Ys(s,e,l)}}}static getRadiusAxis(e){const{radial:t=!1}=e;return{type:t?"value":"category",z:10}}static getSeries({data:e,settings:t}){const{measures:r}=e,{polarType:n="line",stack:a=null,itemStyle:i={},roundCap:o=!1,...s}=t,l=r.map(({name:e},t)=>({type:n,stack:a,roundCap:o,coordinateSystem:"polar",itemStyle:i[e]||{},...s}));return l}polar(e,t,r){const{legendVisible:n,tooltipVisible:a,isEmptyData:i}=r;if(i)return{};const o=a&&ru.getTooltip(t),s=n&&ru.getLegend(e),l=ru.getPolar(t),c=ru.getAngleAxis(t),u=ru.getRadiusAxis(t),d=!i&&qs(e,t,r),f=ru.getSeries({data:e,settings:t}),h={tooltip:o,legend:s,polar:l,angleAxis:c,radiusAxis:u,dataset:d,series:f};return h}}var nu=ru,au={name:"VePolarChart",mixins:[Zl],created(){this.chartHandler=(new nu).polar}};class iu extends Kl{static getTooltip(e){return{}}static getSeries({data:e,settings:t}){const{dimensions:r,measures:n}=e,{orient:a="horizontal",draggable:i=!0,focusNodeAdjacency:o=!1,...s}=t;return{type:"sankey",data:r,edges:n,orient:a,draggable:i,focusNodeAdjacency:o,...s}}sankey(e,t,r){const{tooltipVisible:n,isEmptyData:a}=r;if(a)return{};const i=n&&iu.getTooltip(t),o=iu.getSeries({data:e,settings:t}),s={tooltip:i,series:o};return s}}var ou=iu,su={name:"VeSankeyChart",mixins:[Zl],created(){this.chartHandler=(new ou).sankey}};const lu=[tc,ac,bc,_c,Mc,Ec,Nc,Fc,Bc,Uc,Wc,Jc,Kc,tu,au,su],cu=e=>{cu.installed||lu.forEach(t=>{e.component(t.name,t)})};"undefined"!==typeof window&&window.Vue&&(window.Vue.use(cu),cu.installed&&(cu.installed=!1));var uu={install:cu,VeBarChart:tc,VeDonutChart:ac,VeFunnelChart:bc,VeGaugeChart:_c,VeGeoChart:Mc,VeLineChart:Ec,VePieChart:Nc,VeRadarChart:Fc,VeScatterChart:Bc,VeTreemapChart:Uc,VeSunburstChart:Wc,VeTreeChart:Jc,VeWordcloudChart:Kc,VeLiquidfillChart:tu,VePolarChart:au,VeSankeyChart:su};t["default"]=uu},ff6f:function(e,t,r){var n=r("068a");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("499e").default;a("3a96cc98",n,!0,{sourceMap:!1,shadowMode:!1})}})["default"]})); \ No newline at end of file diff --git a/package.json b/package.json index 6c8209b..2fcf072 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ve-charts", - "version": "0.9.6", + "version": "0.9.7", "description": "ECharts 4.x for Vue.js 2.x.", "main": "lib/ve-charts.umd.min.js", "unpkg": "lib/ve-charts.umd.min.js", diff --git a/src/packages/radar/chart.js b/src/packages/radar/chart.js index fcd0563..e5d5bb5 100644 --- a/src/packages/radar/chart.js +++ b/src/packages/radar/chart.js @@ -75,7 +75,15 @@ class RadarChart extends BaseChart { return series } - static getRadiusPolar ({ data, settings }) { + static getRadiusPolar ({ data, settings, tickMarkVisible }) { + if (!tickMarkVisible) { + return { + polar: null, + radiusAxis: null, + angleAxis: null + } + } + const { splitNumber = 5, offsetY = '50%', radius = '75%', axisLabel = {}, axisLine = {} } = settings const max = data.dimensions[0].max const min = 0 @@ -126,7 +134,7 @@ class RadarChart extends BaseChart { const series = RadarChart.getRadarSeries({ data, settings }) - const polarOptions = tickMarkVisible ? RadarChart.getRadiusPolar({ data, settings }) : {} + const polarOptions = RadarChart.getRadiusPolar({ data, settings, tickMarkVisible }) // build echarts options const options = {