evui 3.4.91 → 3.4.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/evui.common.js +76 -63
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +76 -63
- package/dist/evui.umd.js.map +1 -1
- package/dist/evui.umd.min.js +1 -1
- package/dist/evui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/chart/Chart.vue +4 -4
- package/src/components/chart/chart.core.js +9 -14
- package/src/components/chart/plugins/plugins.interaction.js +4 -4
- package/src/components/chart/plugins/plugins.tooltip.js +9 -0
package/dist/evui.common.js
CHANGED
|
@@ -272,17 +272,6 @@ exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnProper
|
|
|
272
272
|
};
|
|
273
273
|
|
|
274
274
|
|
|
275
|
-
/***/ }),
|
|
276
|
-
|
|
277
|
-
/***/ "073c":
|
|
278
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
279
|
-
|
|
280
|
-
"use strict";
|
|
281
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_6a746eba_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b761");
|
|
282
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_6a746eba_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_6a746eba_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
283
|
-
/* unused harmony reexport * */
|
|
284
|
-
|
|
285
|
-
|
|
286
275
|
/***/ }),
|
|
287
276
|
|
|
288
277
|
/***/ "07ac":
|
|
@@ -6653,20 +6642,6 @@ var global = __webpack_require__("da84");
|
|
|
6653
6642
|
module.exports = classof(global.process) == 'process';
|
|
6654
6643
|
|
|
6655
6644
|
|
|
6656
|
-
/***/ }),
|
|
6657
|
-
|
|
6658
|
-
/***/ "605f":
|
|
6659
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6660
|
-
|
|
6661
|
-
// Imports
|
|
6662
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
6663
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
6664
|
-
// Module
|
|
6665
|
-
exports.push([module.i, ".ev-chart-brush-wrapper,.ev-chart-wrapper{display:block;position:relative;width:100%;height:100%}.ev-chart-brush-container,.ev-chart-container{position:relative;overflow:hidden;width:100%;height:100%}.ev-chart-title{top:0;left:0;width:100%;padding-left:10px;word-wrap:normal;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ev-chart-legend,.ev-chart-title{position:absolute;overflow:hidden}.ev-chart-legend{padding:5px 0 0 0}.ev-chart-legend-container{position:relative}.ev-chart-legend-color,.ev-chart-legend-color--point-line{position:absolute;top:50%;left:0;transform:translateY(-50%);width:18px;height:4px}.ev-chart-legend-color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend-name{position:absolute;top:50%;left:0;width:100%;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:12px;margin-left:24px;padding-right:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:400;transform:translateY(-50%)}.ev-chart-legend-name:hover{font-weight:700}.ev-chart-legend-value{float:right;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ev-chart-legend--table{width:100%;font-size:12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-collapse:collapse}.ev-chart-legend--table td,.ev-chart-legend--table th{padding:3px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ev-chart-legend--table__row{cursor:pointer;min-height:18px}.ev-chart-legend--table__row:hover{font-weight:700}.ev-chart-legend--table__color{width:18px}.ev-chart-legend--table__color-wrapper{position:relative;min-width:18px}.ev-chart-legend--table__color--line{height:4px}.ev-chart-legend--table__color--point-line{position:absolute;top:50%;left:3px;transform:translateY(-50%);height:4px}.ev-chart-legend--table__color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend--table__name,.ev-chart-legend--table__value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ev-chart-legend-line{position:relative;width:100%;height:100%;border-radius:10px;background-color:#e3e3e3}.ev-chart-legend-line-layer,.ev-chart-legend-thumb{position:absolute;top:0;left:0;width:100%;height:100%}.ev-chart-legend-thumb{border-radius:10px;color:#000}.ev-chart-legend-handle{position:absolute;top:0;left:0;cursor:pointer}.ev-chart-legend-handle.dragging,.ev-chart-legend-handle:hover{transform:scale(1.2)}.ev-chart-legend-handle-btn{width:100%;height:100%;border-radius:50%;background-color:#fff;transition:transform .1s ease-in-out;box-sizing:border-box;border:2px solid #979797}.ev-chart-legend-handle-btn-color{position:absolute;top:4px;left:4px;width:calc(100% - 8px);height:calc(100% - 8px);border-radius:50%}.ev-chart-legend-label{position:absolute;font-size:12px;line-height:1.4em}.ev-chart-legend-label-text{display:block;white-space:nowrap}.ev-chart-legend-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.ev-chart-legend-overlay .ev-chart-legend-overlay-item{position:absolute;top:1px;left:1px;border-radius:50%;border:1px solid #fff;background-color:transparent}.ev-chart-legend-overlay .ev-chart-legend-overlay-tooltip{position:absolute;font-size:12px;line-height:1.4em}.ev-chart-resize-bar{position:absolute;background:transparent;opacity:.5;z-index:10}.ev-chart-resize-bar:hover,.ev-chart-resize-ghost{background-color:#e2e2e2}.ev-chart-resize-ghost{position:absolute;width:4px;height:100%;cursor:col-resize;opacity:.5}.ev-chart-resize-ghost.horizontal{width:100%;height:4px;cursor:row-resize}.ev-chart-tooltip{position:absolute;z-index:850;top:0;left:0;overflow-y:hidden;overflow-x:hidden;border-radius:8px}.ev-chart-tooltip .ev-chart-tooltip-custom__header,.ev-chart-tooltip .ev-chart-tooltip-header{padding:12px 16px 3px 16px;overflow:hidden}.ev-chart-tooltip .ev-chart-tooltip-header--wrap{word-wrap:break-word}.ev-chart-tooltip .ev-chart-tooltip-header--ellipsis{text-overflow:ellipsis;white-space:nowrap}.ev-chart-tooltip .ev-chart-tooltip-body,.ev-chart-tooltip .ev-chart-tooltip-custom{overflow-x:hidden;overflow-y:hidden}.ev-chart-tooltip .ev-chart-tooltip-custom__body{padding:8px 20px 8px 16px;overflow-x:hidden;overflow-y:hidden}.ev-chart-tooltip .ev-chart-tooltip-custom__body .row{display:flex;flex-direction:row;align-items:center}.ev-chart-tooltip .ev-chart-tooltip-custom__body .series-name{flex:auto}.ev-chart-tooltip .ev-chart-tooltip-custom__body .value{text-align:right}.ev-chart-tooltip .ev-chart-tooltip-custom__body .color-circle,.ev-chart-tooltip .ev-chart-tooltip-custom__body .color-rect{width:12px;height:12px;margin-right:16px}.ev-chart-tooltip .ev-chart-tooltip-custom__body .color-circle{border-radius:12px}.ev-chart-scrollbar{position:absolute;z-index:3}.ev-chart-scrollbar-container{position:relative;top:0;left:0;width:100%;height:100%}.ev-chart-scrollbar-thumb,.ev-chart-scrollbar-track{position:absolute}.ev-chart-scrollbar-thumb:hover{opacity:.7}.ev-chart-scrollbar-button{position:absolute;text-align:center}.ev-chart-scrollbar-button:hover{opacity:.5!important}.ev-chart-scrollbar-button-icon{display:none;margin:0 auto;font-size:12px}", ""]);
|
|
6666
|
-
// Exports
|
|
6667
|
-
module.exports = exports;
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
6645
|
/***/ }),
|
|
6671
6646
|
|
|
6672
6647
|
/***/ "6062":
|
|
@@ -7039,6 +7014,21 @@ module.exports = function (originalArray, length) {
|
|
|
7039
7014
|
};
|
|
7040
7015
|
|
|
7041
7016
|
|
|
7017
|
+
/***/ }),
|
|
7018
|
+
|
|
7019
|
+
/***/ "68dc":
|
|
7020
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7021
|
+
|
|
7022
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
7023
|
+
|
|
7024
|
+
// load the styles
|
|
7025
|
+
var content = __webpack_require__("7b7b");
|
|
7026
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
7027
|
+
if(content.locals) module.exports = content.locals;
|
|
7028
|
+
// add the styles to the DOM
|
|
7029
|
+
var add = __webpack_require__("499e").default
|
|
7030
|
+
var update = add("9dcfe0d6", content, true, {"sourceMap":false,"shadowMode":false});
|
|
7031
|
+
|
|
7042
7032
|
/***/ }),
|
|
7043
7033
|
|
|
7044
7034
|
/***/ "69f3":
|
|
@@ -7517,6 +7507,20 @@ module.exports = function (argument) {
|
|
|
7517
7507
|
};
|
|
7518
7508
|
|
|
7519
7509
|
|
|
7510
|
+
/***/ }),
|
|
7511
|
+
|
|
7512
|
+
/***/ "7b7b":
|
|
7513
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7514
|
+
|
|
7515
|
+
// Imports
|
|
7516
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
7517
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
7518
|
+
// Module
|
|
7519
|
+
exports.push([module.i, ".ev-chart-brush-wrapper,.ev-chart-wrapper{display:block;position:relative;width:100%;height:100%}.ev-chart-brush-container,.ev-chart-container{position:relative;overflow:hidden;width:100%;height:100%}.ev-chart-title{top:0;left:0;width:100%;padding-left:10px;word-wrap:normal;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ev-chart-legend,.ev-chart-title{position:absolute;overflow:hidden}.ev-chart-legend{padding:5px 0 0 0}.ev-chart-legend-container{position:relative}.ev-chart-legend-color,.ev-chart-legend-color--point-line{position:absolute;top:50%;left:0;transform:translateY(-50%);width:18px;height:4px}.ev-chart-legend-color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend-name{position:absolute;top:50%;left:0;width:100%;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:12px;margin-left:24px;padding-right:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:400;transform:translateY(-50%)}.ev-chart-legend-name:hover{font-weight:700}.ev-chart-legend-value{float:right;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ev-chart-legend--table{width:100%;font-size:12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-collapse:collapse}.ev-chart-legend--table td,.ev-chart-legend--table th{padding:3px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ev-chart-legend--table__row{cursor:pointer;min-height:18px}.ev-chart-legend--table__row:hover{font-weight:700}.ev-chart-legend--table__color{width:18px}.ev-chart-legend--table__color-wrapper{position:relative;min-width:18px}.ev-chart-legend--table__color--line{height:4px}.ev-chart-legend--table__color--point-line{position:absolute;top:50%;left:3px;transform:translateY(-50%);height:4px}.ev-chart-legend--table__color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend--table__name,.ev-chart-legend--table__value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ev-chart-legend-line{position:relative;width:100%;height:100%;border-radius:10px;background-color:#e3e3e3}.ev-chart-legend-line-layer,.ev-chart-legend-thumb{position:absolute;top:0;left:0;width:100%;height:100%}.ev-chart-legend-thumb{border-radius:10px;color:#000}.ev-chart-legend-handle{position:absolute;top:0;left:0;cursor:pointer}.ev-chart-legend-handle.dragging,.ev-chart-legend-handle:hover{transform:scale(1.2)}.ev-chart-legend-handle-btn{width:100%;height:100%;border-radius:50%;background-color:#fff;transition:transform .1s ease-in-out;box-sizing:border-box;border:2px solid #979797}.ev-chart-legend-handle-btn-color{position:absolute;top:4px;left:4px;width:calc(100% - 8px);height:calc(100% - 8px);border-radius:50%}.ev-chart-legend-label{position:absolute;font-size:12px;line-height:1.4em}.ev-chart-legend-label-text{display:block;white-space:nowrap}.ev-chart-legend-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.ev-chart-legend-overlay .ev-chart-legend-overlay-item{position:absolute;top:1px;left:1px;border-radius:50%;border:1px solid #fff;background-color:transparent}.ev-chart-legend-overlay .ev-chart-legend-overlay-tooltip{position:absolute;font-size:12px;line-height:1.4em}.ev-chart-resize-bar{position:absolute;background:transparent;opacity:.5;z-index:10}.ev-chart-resize-bar:hover,.ev-chart-resize-ghost{background-color:#e2e2e2}.ev-chart-resize-ghost{position:absolute;width:4px;height:100%;cursor:col-resize;opacity:.5}.ev-chart-resize-ghost.horizontal{width:100%;height:4px;cursor:row-resize}.ev-chart-tooltip{position:absolute;z-index:850;top:0;left:0;overflow-y:hidden;overflow-x:hidden;border-radius:8px}.ev-chart-tooltip .ev-chart-tooltip-custom__header,.ev-chart-tooltip .ev-chart-tooltip-header{padding:12px 16px 3px 16px;overflow:hidden}.ev-chart-tooltip .ev-chart-tooltip-header--wrap{word-wrap:break-word}.ev-chart-tooltip .ev-chart-tooltip-header--ellipsis{text-overflow:ellipsis;white-space:nowrap}.ev-chart-tooltip .ev-chart-tooltip-body,.ev-chart-tooltip .ev-chart-tooltip-custom{overflow-x:hidden;overflow-y:hidden}.ev-chart-tooltip .ev-chart-tooltip-custom__body{padding:8px 20px 8px 16px;overflow-x:hidden;overflow-y:hidden}.ev-chart-tooltip .ev-chart-tooltip-custom__body .row{display:flex;flex-direction:row;align-items:center}.ev-chart-tooltip .ev-chart-tooltip-custom__body .series-name{flex:auto}.ev-chart-tooltip .ev-chart-tooltip-custom__body .value{text-align:right}.ev-chart-tooltip .ev-chart-tooltip-custom__body .color-circle,.ev-chart-tooltip .ev-chart-tooltip-custom__body .color-rect{width:12px;height:12px;margin-right:16px}.ev-chart-tooltip .ev-chart-tooltip-custom__body .color-circle{border-radius:12px}.ev-chart-scrollbar{position:absolute;z-index:3}.ev-chart-scrollbar-container{position:relative;top:0;left:0;width:100%;height:100%}.ev-chart-scrollbar-thumb,.ev-chart-scrollbar-track{position:absolute}.ev-chart-scrollbar-thumb:hover{opacity:.7}.ev-chart-scrollbar-button{position:absolute;text-align:center}.ev-chart-scrollbar-button:hover{opacity:.5!important}.ev-chart-scrollbar-button-icon{display:none;margin:0 auto;font-size:12px}", ""]);
|
|
7520
|
+
// Exports
|
|
7521
|
+
module.exports = exports;
|
|
7522
|
+
|
|
7523
|
+
|
|
7520
7524
|
/***/ }),
|
|
7521
7525
|
|
|
7522
7526
|
/***/ "7c73":
|
|
@@ -11241,7 +11245,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
11241
11245
|
/***/ "9224":
|
|
11242
11246
|
/***/ (function(module) {
|
|
11243
11247
|
|
|
11244
|
-
module.exports = JSON.parse("{\"a\":\"3.4.
|
|
11248
|
+
module.exports = JSON.parse("{\"a\":\"3.4.93\"}");
|
|
11245
11249
|
|
|
11246
11250
|
/***/ }),
|
|
11247
11251
|
|
|
@@ -12886,6 +12890,17 @@ if(content.locals) module.exports = content.locals;
|
|
|
12886
12890
|
var add = __webpack_require__("499e").default
|
|
12887
12891
|
var update = add("2dc34cfa", content, true, {"sourceMap":false,"shadowMode":false});
|
|
12888
12892
|
|
|
12893
|
+
/***/ }),
|
|
12894
|
+
|
|
12895
|
+
/***/ "a8b0":
|
|
12896
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12897
|
+
|
|
12898
|
+
"use strict";
|
|
12899
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_6ceb6f33_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("68dc");
|
|
12900
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_6ceb6f33_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_6ceb6f33_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
12901
|
+
/* unused harmony reexport * */
|
|
12902
|
+
|
|
12903
|
+
|
|
12889
12904
|
/***/ }),
|
|
12890
12905
|
|
|
12891
12906
|
/***/ "a8b3":
|
|
@@ -13647,21 +13662,6 @@ module.exports = {
|
|
|
13647
13662
|
};
|
|
13648
13663
|
|
|
13649
13664
|
|
|
13650
|
-
/***/ }),
|
|
13651
|
-
|
|
13652
|
-
/***/ "b761":
|
|
13653
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13654
|
-
|
|
13655
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
13656
|
-
|
|
13657
|
-
// load the styles
|
|
13658
|
-
var content = __webpack_require__("605f");
|
|
13659
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
13660
|
-
if(content.locals) module.exports = content.locals;
|
|
13661
|
-
// add the styles to the DOM
|
|
13662
|
-
var add = __webpack_require__("499e").default
|
|
13663
|
-
var update = add("3a6c2639", content, true, {"sourceMap":false,"shadowMode":false});
|
|
13664
|
-
|
|
13665
13665
|
/***/ }),
|
|
13666
13666
|
|
|
13667
13667
|
/***/ "ba9f":
|
|
@@ -38184,20 +38184,20 @@ Grid.install = function (app) {
|
|
|
38184
38184
|
};
|
|
38185
38185
|
|
|
38186
38186
|
/* harmony default export */ var grid = (Grid);
|
|
38187
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/chart/Chart.vue?vue&type=template&id=
|
|
38187
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/chart/Chart.vue?vue&type=template&id=6ceb6f33
|
|
38188
38188
|
|
|
38189
|
-
var
|
|
38189
|
+
var Chartvue_type_template_id_6ceb6f33_hoisted_1 = {
|
|
38190
38190
|
key: 0,
|
|
38191
38191
|
ref: "evChartToolbarRef"
|
|
38192
38192
|
};
|
|
38193
|
-
function
|
|
38193
|
+
function Chartvue_type_template_id_6ceb6f33_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
38194
38194
|
var _$setup$zoomOptions$t;
|
|
38195
38195
|
|
|
38196
38196
|
var _component_ev_chart_toolbar = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-chart-toolbar");
|
|
38197
38197
|
|
|
38198
38198
|
var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
|
|
38199
38199
|
|
|
38200
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [(_$setup$zoomOptions$t = $setup.zoomOptions.toolbar) !== null && _$setup$zoomOptions$t !== void 0 && _$setup$zoomOptions$t.show && !$setup.injectIsChartGroup ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div",
|
|
38200
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, [(_$setup$zoomOptions$t = $setup.zoomOptions.toolbar) !== null && _$setup$zoomOptions$t !== void 0 && _$setup$zoomOptions$t.show && !$setup.injectIsChartGroup ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", Chartvue_type_template_id_6ceb6f33_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ev_chart_toolbar, {
|
|
38201
38201
|
toolbar: $setup.zoomOptions.toolbar,
|
|
38202
38202
|
onOnClickToolbar: $setup.onClickToolbar
|
|
38203
38203
|
}, null, 8, ["toolbar", "onOnClickToolbar"])], 512)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
|
|
@@ -38206,7 +38206,7 @@ function Chartvue_type_template_id_6a746eba_render(_ctx, _cache, $props, $setup,
|
|
|
38206
38206
|
class: "ev-chart"
|
|
38207
38207
|
}, null, 4), [[_directive_resize, $setup.onResize]])], 64);
|
|
38208
38208
|
}
|
|
38209
|
-
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=
|
|
38209
|
+
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=6ceb6f33
|
|
38210
38210
|
|
|
38211
38211
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
38212
38212
|
var es_object_assign = __webpack_require__("cca65");
|
|
@@ -49985,7 +49985,7 @@ var plugins_interaction_modules = {
|
|
|
49985
49985
|
_this.overlayClear();
|
|
49986
49986
|
|
|
49987
49987
|
if (Object.keys(hitInfo.items).length) {
|
|
49988
|
-
if (tooltip.use) {
|
|
49988
|
+
if (tooltip.use && _this.isInitTooltip) {
|
|
49989
49989
|
var _tooltip$formatter;
|
|
49990
49990
|
|
|
49991
49991
|
_this.drawItemsHighlight(hitInfo, ctx);
|
|
@@ -50006,7 +50006,7 @@ var plugins_interaction_modules = {
|
|
|
50006
50006
|
}
|
|
50007
50007
|
}
|
|
50008
50008
|
}
|
|
50009
|
-
} else if (tooltip.use) {
|
|
50009
|
+
} else if (tooltip.use && _this.isInitTooltip) {
|
|
50010
50010
|
_this.hideTooltipDOM();
|
|
50011
50011
|
}
|
|
50012
50012
|
|
|
@@ -50058,7 +50058,7 @@ var plugins_interaction_modules = {
|
|
|
50058
50058
|
_this.overlayClear();
|
|
50059
50059
|
}
|
|
50060
50060
|
|
|
50061
|
-
if (tooltip.use) {
|
|
50061
|
+
if (tooltip.use && _this.isInitTooltip) {
|
|
50062
50062
|
_this.tooltipClear();
|
|
50063
50063
|
}
|
|
50064
50064
|
|
|
@@ -50341,7 +50341,9 @@ var plugins_interaction_modules = {
|
|
|
50341
50341
|
};
|
|
50342
50342
|
|
|
50343
50343
|
this.onWheel = function (e) {
|
|
50344
|
-
var
|
|
50344
|
+
var _this$tooltipDOM, _this$tooltipDOM$styl;
|
|
50345
|
+
|
|
50346
|
+
var isTooltipVisible = ((_this$tooltipDOM = _this.tooltipDOM) === null || _this$tooltipDOM === void 0 ? void 0 : (_this$tooltipDOM$styl = _this$tooltipDOM.style) === null || _this$tooltipDOM$styl === void 0 ? void 0 : _this$tooltipDOM$styl.display) === 'block';
|
|
50345
50347
|
|
|
50346
50348
|
if (isTooltipVisible) {
|
|
50347
50349
|
e.preventDefault();
|
|
@@ -51443,6 +51445,8 @@ var plugins_tooltip_modules = {
|
|
|
51443
51445
|
_this.tooltipDOM.style.display = 'none';
|
|
51444
51446
|
};
|
|
51445
51447
|
}
|
|
51448
|
+
|
|
51449
|
+
this.isInitTooltip = true;
|
|
51446
51450
|
},
|
|
51447
51451
|
setDefaultTooltipLayout: function setDefaultTooltipLayout() {
|
|
51448
51452
|
this.tooltipBodyDOM.appendChild(this.tooltipCanvas);
|
|
@@ -52383,6 +52387,14 @@ var plugins_tooltip_modules = {
|
|
|
52383
52387
|
}
|
|
52384
52388
|
});
|
|
52385
52389
|
return result;
|
|
52390
|
+
},
|
|
52391
|
+
tooltipDestroy: function tooltipDestroy() {
|
|
52392
|
+
if (this.tooltipDOM) {
|
|
52393
|
+
this.tooltipDOM.remove();
|
|
52394
|
+
this.tooltipDOM = null;
|
|
52395
|
+
}
|
|
52396
|
+
|
|
52397
|
+
this.isInitTooltip = false;
|
|
52386
52398
|
}
|
|
52387
52399
|
};
|
|
52388
52400
|
/* harmony default export */ var plugins_tooltip = (plugins_tooltip_modules);
|
|
@@ -53572,7 +53584,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
53572
53584
|
this.initDefaultSelectInfo();
|
|
53573
53585
|
this.drawChart();
|
|
53574
53586
|
|
|
53575
|
-
if (tooltip.use) {
|
|
53587
|
+
if (tooltip.use && !this.isInitTooltip) {
|
|
53576
53588
|
this.createTooltipDOM();
|
|
53577
53589
|
}
|
|
53578
53590
|
|
|
@@ -54256,7 +54268,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
54256
54268
|
updateSelTip = updateInfo.updateSelTip,
|
|
54257
54269
|
updateLegend = updateInfo.updateLegend,
|
|
54258
54270
|
updateData = updateInfo.updateData,
|
|
54259
|
-
|
|
54271
|
+
updateTooltip = updateInfo.updateTooltip;
|
|
54260
54272
|
|
|
54261
54273
|
if (!this.isInit) {
|
|
54262
54274
|
return;
|
|
@@ -54352,9 +54364,13 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
54352
54364
|
} // Tooltip Update
|
|
54353
54365
|
|
|
54354
54366
|
|
|
54355
|
-
if (
|
|
54367
|
+
if (updateTooltip) {
|
|
54356
54368
|
var _options$tooltip, _options$tooltip$form;
|
|
54357
54369
|
|
|
54370
|
+
if (!this.isInitTooltip) {
|
|
54371
|
+
this.createTooltipDOM();
|
|
54372
|
+
}
|
|
54373
|
+
|
|
54358
54374
|
this.tooltipDOM.innerHTML = '';
|
|
54359
54375
|
|
|
54360
54376
|
if (!((_options$tooltip = options.tooltip) !== null && _options$tooltip !== void 0 && (_options$tooltip$form = _options$tooltip.formatter) !== null && _options$tooltip$form !== void 0 && _options$tooltip$form.html)) {
|
|
@@ -54523,11 +54539,8 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
54523
54539
|
window.removeEventListener('click', this.dragTouchSelectionEvent);
|
|
54524
54540
|
}
|
|
54525
54541
|
|
|
54526
|
-
if (this.
|
|
54527
|
-
this.
|
|
54528
|
-
this.tooltipCanvas = null;
|
|
54529
|
-
this.tooltipDOM.remove();
|
|
54530
|
-
this.tooltipDOM = null;
|
|
54542
|
+
if (this.isInitTooltip) {
|
|
54543
|
+
this.tooltipDestroy();
|
|
54531
54544
|
}
|
|
54532
54545
|
|
|
54533
54546
|
if (this.renderVisibleLegendsFrameId != null) {
|
|
@@ -56092,7 +56105,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
56092
56105
|
}, function (chartOpt) {
|
|
56093
56106
|
var newOpt = getNormalizedOptions(chartOpt);
|
|
56094
56107
|
var isUpdateLegendType = !lodash_es_isEqual(newOpt.legend.table, evChart.options.legend.table);
|
|
56095
|
-
var
|
|
56108
|
+
var isUpdateTooltip = newOpt.tooltip.use && !lodash_es_isEqual(newOpt.tooltip, evChart.options.tooltip);
|
|
56096
56109
|
evChart.options = lodash_es_cloneDeep(newOpt);
|
|
56097
56110
|
evChart.update({
|
|
56098
56111
|
updateSeries: false,
|
|
@@ -56101,7 +56114,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
56101
56114
|
keepDomain: false
|
|
56102
56115
|
},
|
|
56103
56116
|
updateLegend: isUpdateLegendType,
|
|
56104
|
-
|
|
56117
|
+
updateTooltip: isUpdateTooltip
|
|
56105
56118
|
});
|
|
56106
56119
|
|
|
56107
56120
|
if (!injectIsChartGroup) {
|
|
@@ -56337,8 +56350,8 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
56337
56350
|
});
|
|
56338
56351
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
|
|
56339
56352
|
|
|
56340
|
-
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=
|
|
56341
|
-
var
|
|
56353
|
+
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=6ceb6f33&lang=scss
|
|
56354
|
+
var Chartvue_type_style_index_0_id_6ceb6f33_lang_scss = __webpack_require__("a8b0");
|
|
56342
56355
|
|
|
56343
56356
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue
|
|
56344
56357
|
|
|
@@ -56348,7 +56361,7 @@ var Chartvue_type_style_index_0_id_6a746eba_lang_scss = __webpack_require__("073
|
|
|
56348
56361
|
|
|
56349
56362
|
|
|
56350
56363
|
|
|
56351
|
-
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',
|
|
56364
|
+
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_6ceb6f33_render]])
|
|
56352
56365
|
|
|
56353
56366
|
/* harmony default export */ var Chart = (Chart_exports_);
|
|
56354
56367
|
// CONCATENATED MODULE: ./src/components/chart/index.js
|