evui 3.3.59 → 3.3.60
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 +117 -78
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +117 -78
- 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 +1 -1
- package/src/components/chart/chartZoom.core.js +47 -17
- package/src/components/chart/scale/scale.js +4 -4
- package/src/components/chart/uses.js +26 -17
- package/src/components/chartGroup/uses.js +3 -1
package/dist/evui.common.js
CHANGED
|
@@ -303,6 +303,21 @@ $({ target: 'Object', stat: true }, {
|
|
|
303
303
|
});
|
|
304
304
|
|
|
305
305
|
|
|
306
|
+
/***/ }),
|
|
307
|
+
|
|
308
|
+
/***/ "0910":
|
|
309
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
310
|
+
|
|
311
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
312
|
+
|
|
313
|
+
// load the styles
|
|
314
|
+
var content = __webpack_require__("c481");
|
|
315
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
316
|
+
if(content.locals) module.exports = content.locals;
|
|
317
|
+
// add the styles to the DOM
|
|
318
|
+
var add = __webpack_require__("499e").default
|
|
319
|
+
var update = add("50438a2c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
320
|
+
|
|
306
321
|
/***/ }),
|
|
307
322
|
|
|
308
323
|
/***/ "0924":
|
|
@@ -4305,20 +4320,6 @@ if(content.locals) module.exports = content.locals;
|
|
|
4305
4320
|
var add = __webpack_require__("499e").default
|
|
4306
4321
|
var update = add("5ac4a7d0", content, true, {"sourceMap":false,"shadowMode":false});
|
|
4307
4322
|
|
|
4308
|
-
/***/ }),
|
|
4309
|
-
|
|
4310
|
-
/***/ "20ce":
|
|
4311
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4312
|
-
|
|
4313
|
-
// Imports
|
|
4314
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
4315
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4316
|
-
// Module
|
|
4317
|
-
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:8px 16px 0 16px;overflow:hidden;font-size:16px}.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}", ""]);
|
|
4318
|
-
// Exports
|
|
4319
|
-
module.exports = exports;
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
4323
|
/***/ }),
|
|
4323
4324
|
|
|
4324
4325
|
/***/ "2266":
|
|
@@ -5213,17 +5214,6 @@ var global = __webpack_require__("da84");
|
|
|
5213
5214
|
module.exports = global;
|
|
5214
5215
|
|
|
5215
5216
|
|
|
5216
|
-
/***/ }),
|
|
5217
|
-
|
|
5218
|
-
/***/ "43f9":
|
|
5219
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5220
|
-
|
|
5221
|
-
"use strict";
|
|
5222
|
-
/* 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_b33e4442_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b541");
|
|
5223
|
-
/* 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_b33e4442_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_b33e4442_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
5224
|
-
/* unused harmony reexport * */
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
5217
|
/***/ }),
|
|
5228
5218
|
|
|
5229
5219
|
/***/ "44ad":
|
|
@@ -8018,7 +8008,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
8018
8008
|
/***/ "9224":
|
|
8019
8009
|
/***/ (function(module) {
|
|
8020
8010
|
|
|
8021
|
-
module.exports = JSON.parse("{\"a\":\"3.3.
|
|
8011
|
+
module.exports = JSON.parse("{\"a\":\"3.3.60\"}");
|
|
8022
8012
|
|
|
8023
8013
|
/***/ }),
|
|
8024
8014
|
|
|
@@ -9006,6 +8996,17 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
|
|
|
9006
8996
|
/* unused harmony reexport * */
|
|
9007
8997
|
|
|
9008
8998
|
|
|
8999
|
+
/***/ }),
|
|
9000
|
+
|
|
9001
|
+
/***/ "9b05":
|
|
9002
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9003
|
+
|
|
9004
|
+
"use strict";
|
|
9005
|
+
/* 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_fb815cce_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0910");
|
|
9006
|
+
/* 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_fb815cce_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_fb815cce_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
9007
|
+
/* unused harmony reexport * */
|
|
9008
|
+
|
|
9009
|
+
|
|
9009
9010
|
/***/ }),
|
|
9010
9011
|
|
|
9011
9012
|
/***/ "9bdd":
|
|
@@ -10049,21 +10050,6 @@ if (DESCRIPTORS && !(NAME in FunctionPrototype)) {
|
|
|
10049
10050
|
}
|
|
10050
10051
|
|
|
10051
10052
|
|
|
10052
|
-
/***/ }),
|
|
10053
|
-
|
|
10054
|
-
/***/ "b541":
|
|
10055
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10056
|
-
|
|
10057
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
10058
|
-
|
|
10059
|
-
// load the styles
|
|
10060
|
-
var content = __webpack_require__("20ce");
|
|
10061
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
10062
|
-
if(content.locals) module.exports = content.locals;
|
|
10063
|
-
// add the styles to the DOM
|
|
10064
|
-
var add = __webpack_require__("499e").default
|
|
10065
|
-
var update = add("33ef3124", content, true, {"sourceMap":false,"shadowMode":false});
|
|
10066
|
-
|
|
10067
10053
|
/***/ }),
|
|
10068
10054
|
|
|
10069
10055
|
/***/ "b575":
|
|
@@ -10513,6 +10499,20 @@ $({ target: 'Object', stat: true }, {
|
|
|
10513
10499
|
module.exports = false;
|
|
10514
10500
|
|
|
10515
10501
|
|
|
10502
|
+
/***/ }),
|
|
10503
|
+
|
|
10504
|
+
/***/ "c481":
|
|
10505
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
10506
|
+
|
|
10507
|
+
// Imports
|
|
10508
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
10509
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
10510
|
+
// Module
|
|
10511
|
+
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:8px 16px 0 16px;overflow:hidden;font-size:16px}.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}", ""]);
|
|
10512
|
+
// Exports
|
|
10513
|
+
module.exports = exports;
|
|
10514
|
+
|
|
10515
|
+
|
|
10516
10516
|
/***/ }),
|
|
10517
10517
|
|
|
10518
10518
|
/***/ "c50e":
|
|
@@ -31190,20 +31190,20 @@ Grid.install = function (app) {
|
|
|
31190
31190
|
};
|
|
31191
31191
|
|
|
31192
31192
|
/* harmony default export */ var grid = (Grid);
|
|
31193
|
-
// 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=
|
|
31193
|
+
// 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=fb815cce
|
|
31194
31194
|
|
|
31195
|
-
var
|
|
31195
|
+
var Chartvue_type_template_id_fb815cce_hoisted_1 = {
|
|
31196
31196
|
key: 0,
|
|
31197
31197
|
ref: "evChartToolbarRef"
|
|
31198
31198
|
};
|
|
31199
|
-
function
|
|
31199
|
+
function Chartvue_type_template_id_fb815cce_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31200
31200
|
var _$setup$zoomOptions$t;
|
|
31201
31201
|
|
|
31202
31202
|
var _component_ev_chart_toolbar = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-chart-toolbar");
|
|
31203
31203
|
|
|
31204
31204
|
var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
|
|
31205
31205
|
|
|
31206
|
-
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",
|
|
31206
|
+
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_fb815cce_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ev_chart_toolbar, {
|
|
31207
31207
|
toolbar: $setup.zoomOptions.toolbar,
|
|
31208
31208
|
onOnClickToolbar: $setup.onClickToolbar
|
|
31209
31209
|
}, 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", {
|
|
@@ -31212,7 +31212,7 @@ function Chartvue_type_template_id_b33e4442_render(_ctx, _cache, $props, $setup,
|
|
|
31212
31212
|
class: "ev-chart"
|
|
31213
31213
|
}, null, 4), [[_directive_resize, $setup.onResize]])], 64);
|
|
31214
31214
|
}
|
|
31215
|
-
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=
|
|
31215
|
+
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=fb815cce
|
|
31216
31216
|
|
|
31217
31217
|
// CONCATENATED MODULE: ./node_modules/lodash-es/_arrayEach.js
|
|
31218
31218
|
/**
|
|
@@ -38665,9 +38665,9 @@ var scale_Scale = /*#__PURE__*/function () {
|
|
|
38665
38665
|
var xArea = chartRect.chartWidth - (labelOffset.left + labelOffset.right);
|
|
38666
38666
|
var yArea = chartRect.chartHeight - (labelOffset.top + labelOffset.bottom);
|
|
38667
38667
|
var padding = aliasPixel + 1;
|
|
38668
|
-
var minX = aPos.x1
|
|
38669
|
-
var maxX = aPos.x2;
|
|
38670
|
-
var minY = aPos.y1
|
|
38668
|
+
var minX = aPos.x1;
|
|
38669
|
+
var maxX = aPos.x2 + padding;
|
|
38670
|
+
var minY = aPos.y1 - padding; // top
|
|
38671
38671
|
|
|
38672
38672
|
var maxY = aPos.y2; // bottom
|
|
38673
38673
|
|
|
@@ -38717,7 +38717,7 @@ var scale_Scale = /*#__PURE__*/function () {
|
|
|
38717
38717
|
ctx.restore();
|
|
38718
38718
|
});
|
|
38719
38719
|
(_this$plotLines2 = this.plotLines) === null || _this$plotLines2 === void 0 ? void 0 : _this$plotLines2.forEach(function (plotLine) {
|
|
38720
|
-
if (
|
|
38720
|
+
if (typeof +plotLine.value !== 'number') {
|
|
38721
38721
|
return;
|
|
38722
38722
|
}
|
|
38723
38723
|
|
|
@@ -47138,7 +47138,8 @@ var chartZoom_core_EvChartZoom = /*#__PURE__*/function () {
|
|
|
47138
47138
|
this.evChartProps = evChartInfo.props;
|
|
47139
47139
|
this.evChartCloneData = evChartClone.data;
|
|
47140
47140
|
this.brushIdx = brushIdx;
|
|
47141
|
-
|
|
47141
|
+
var zoomOptions = evChartZoomOptions.zoom;
|
|
47142
|
+
this.setEvChartZoomOptions(zoomOptions);
|
|
47142
47143
|
this.setIcon(evChartToolbarRef);
|
|
47143
47144
|
var cloneLabelsLastIdx = evChartClone.data[0].labels.length - 1;
|
|
47144
47145
|
this.cloneLabelsLastIdx = cloneLabelsLastIdx;
|
|
@@ -47155,8 +47156,11 @@ var chartZoom_core_EvChartZoom = /*#__PURE__*/function () {
|
|
|
47155
47156
|
emitFunc.updateZoomEndIdx(cloneLabelsLastIdx);
|
|
47156
47157
|
}
|
|
47157
47158
|
|
|
47158
|
-
|
|
47159
|
-
|
|
47159
|
+
if (zoomOptions.useWheelMove) {
|
|
47160
|
+
this.wrapWheelMoveZoomArea = this.wheelMoveZoomArea.bind(this);
|
|
47161
|
+
}
|
|
47162
|
+
|
|
47163
|
+
this.evChartDomContainers = zoomOptions.useAnimation ? this.drawAnimationCanvas(evChartInfo.dom) : evChartInfo.dom;
|
|
47160
47164
|
}
|
|
47161
47165
|
|
|
47162
47166
|
_createClass(EvChartZoom, [{
|
|
@@ -47314,7 +47318,13 @@ var chartZoom_core_EvChartZoom = /*#__PURE__*/function () {
|
|
|
47314
47318
|
}
|
|
47315
47319
|
|
|
47316
47320
|
var newDragEndAxesX = calculateAxesXPosition(newZoomEndIdx);
|
|
47317
|
-
|
|
47321
|
+
|
|
47322
|
+
if (this.evChartZoomOptions.useAnimation) {
|
|
47323
|
+
this.dragZoomAnimation(dragSelectionInfo, newZoomStartIdx, newZoomEndIdx, newDragStartAxesX, newDragEndAxesX);
|
|
47324
|
+
} else {
|
|
47325
|
+
this.executeZoom(newZoomStartIdx, newZoomEndIdx);
|
|
47326
|
+
this.setZoomAreaMemory(newZoomStartIdx, newZoomEndIdx);
|
|
47327
|
+
}
|
|
47318
47328
|
}
|
|
47319
47329
|
}
|
|
47320
47330
|
}, {
|
|
@@ -47422,12 +47432,33 @@ var chartZoom_core_EvChartZoom = /*#__PURE__*/function () {
|
|
|
47422
47432
|
}
|
|
47423
47433
|
}, {
|
|
47424
47434
|
key: "updateEvChartCloneData",
|
|
47425
|
-
value: function updateEvChartCloneData(evChartClone, brushChartIdx, isUseZoomMode,
|
|
47435
|
+
value: function updateEvChartCloneData(evChartClone, brushChartIdx, isUseZoomMode, isKeepZoomStatus) {
|
|
47426
47436
|
var cloneLabelsLastIdx = evChartClone.data[0].labels.length - 1;
|
|
47427
47437
|
this.cloneLabelsLastIdx = cloneLabelsLastIdx;
|
|
47428
47438
|
this.evChartCloneData = evChartClone.data;
|
|
47429
47439
|
|
|
47430
|
-
if (
|
|
47440
|
+
if (isKeepZoomStatus) {
|
|
47441
|
+
var curZoomMemory = this.zoomAreaMemory.current[0];
|
|
47442
|
+
var zoomStartIdx = curZoomMemory[0];
|
|
47443
|
+
var zoomEndIdx = curZoomMemory[1];
|
|
47444
|
+
|
|
47445
|
+
if (zoomStartIdx === 0 && zoomEndIdx === -1) {
|
|
47446
|
+
zoomStartIdx = 0;
|
|
47447
|
+
zoomEndIdx = cloneLabelsLastIdx;
|
|
47448
|
+
this.zoomAreaMemory = {
|
|
47449
|
+
previous: [],
|
|
47450
|
+
current: [[zoomStartIdx, zoomEndIdx]],
|
|
47451
|
+
latest: []
|
|
47452
|
+
};
|
|
47453
|
+
}
|
|
47454
|
+
|
|
47455
|
+
if (this.emitFunc) {
|
|
47456
|
+
this.emitFunc.updateZoomStartIdx(zoomStartIdx);
|
|
47457
|
+
this.emitFunc.updateZoomEndIdx(zoomEndIdx);
|
|
47458
|
+
}
|
|
47459
|
+
|
|
47460
|
+
this.executeZoom(zoomStartIdx, zoomEndIdx);
|
|
47461
|
+
} else {
|
|
47431
47462
|
if (this.dragZoomIcon) {
|
|
47432
47463
|
this.dragZoomIcon.classList.remove('active');
|
|
47433
47464
|
}
|
|
@@ -47444,11 +47475,8 @@ var chartZoom_core_EvChartZoom = /*#__PURE__*/function () {
|
|
|
47444
47475
|
}
|
|
47445
47476
|
|
|
47446
47477
|
this.setIconStyle(isUseZoomMode);
|
|
47447
|
-
|
|
47448
|
-
this.setZoomAreaMemory(0, cloneLabelsLastIdx);
|
|
47478
|
+
this.setBrushIdx(evChartClone, brushChartIdx);
|
|
47449
47479
|
}
|
|
47450
|
-
|
|
47451
|
-
this.setBrushIdx(evChartClone, brushChartIdx);
|
|
47452
47480
|
}
|
|
47453
47481
|
}, {
|
|
47454
47482
|
key: "setZoomAreaMemory",
|
|
@@ -47462,7 +47490,7 @@ var chartZoom_core_EvChartZoom = /*#__PURE__*/function () {
|
|
|
47462
47490
|
current = _this$zoomAreaMemory.current,
|
|
47463
47491
|
latest = _this$zoomAreaMemory.latest;
|
|
47464
47492
|
var currentZoomArea = current.pop();
|
|
47465
|
-
var bufferMemoryCnt = this.evChartZoomOptions.
|
|
47493
|
+
var bufferMemoryCnt = this.evChartZoomOptions.bufferMemoryCnt;
|
|
47466
47494
|
|
|
47467
47495
|
if (direction) {
|
|
47468
47496
|
if (previous.length >= bufferMemoryCnt) {
|
|
@@ -47788,7 +47816,9 @@ var DEFAULT_OPTIONS = {
|
|
|
47788
47816
|
},
|
|
47789
47817
|
zoom: {
|
|
47790
47818
|
bufferMemoryCnt: 100,
|
|
47791
|
-
|
|
47819
|
+
keepZoomStatus: false,
|
|
47820
|
+
useAnimation: true,
|
|
47821
|
+
useWheelMove: true,
|
|
47792
47822
|
toolbar: {
|
|
47793
47823
|
show: false,
|
|
47794
47824
|
items: {
|
|
@@ -48048,6 +48078,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
48048
48078
|
|
|
48049
48079
|
var isExecuteZoom = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
48050
48080
|
var isUseZoomMode = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
48081
|
+
var isUpdateDataForUseZoom = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(true);
|
|
48051
48082
|
var evChartToolbarRef = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])();
|
|
48052
48083
|
var evChartZoomOptions = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({
|
|
48053
48084
|
zoom: evChartNormalizedOptions.zoom
|
|
@@ -48200,7 +48231,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
48200
48231
|
toggleUseZoom();
|
|
48201
48232
|
}
|
|
48202
48233
|
|
|
48203
|
-
evChartZoom.setEvChartZoomOptions(evChartZoomOptions);
|
|
48234
|
+
evChartZoom.setEvChartZoomOptions(evChartZoomOptions.zoom);
|
|
48204
48235
|
} else if (evChartZoomOptions.zoom.toolbar.show && !evChartGroupRef) {
|
|
48205
48236
|
createEvChartZoom();
|
|
48206
48237
|
}
|
|
@@ -48208,20 +48239,26 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
48208
48239
|
};
|
|
48209
48240
|
|
|
48210
48241
|
var setDataForUseZoom = function setDataForUseZoom(newData) {
|
|
48211
|
-
if (
|
|
48212
|
-
|
|
48242
|
+
if (isUpdateDataForUseZoom.value) {
|
|
48243
|
+
if (!isExecuteZoom.value) {
|
|
48244
|
+
evChartClone.data = evChartGroupRef ? lodash_es_cloneDeep(newData) : [lodash_es_cloneDeep(newData)];
|
|
48213
48245
|
|
|
48214
|
-
|
|
48215
|
-
|
|
48216
|
-
|
|
48217
|
-
|
|
48246
|
+
if (evChartZoomOptions.zoom.keepZoomStatus) {
|
|
48247
|
+
isUpdateDataForUseZoom.value = false;
|
|
48248
|
+
} else {
|
|
48249
|
+
isUseZoomMode.value = false;
|
|
48250
|
+
setEvChartOptions();
|
|
48251
|
+
}
|
|
48218
48252
|
|
|
48219
|
-
|
|
48220
|
-
|
|
48253
|
+
if (evChartZoom) {
|
|
48254
|
+
evChartZoom.updateEvChartCloneData(evChartClone, brushChartIdx, isUseZoomMode.value, evChartZoomOptions.zoom.keepZoomStatus);
|
|
48255
|
+
}
|
|
48221
48256
|
}
|
|
48222
|
-
}
|
|
48223
48257
|
|
|
48224
|
-
|
|
48258
|
+
isExecuteZoom.value = false;
|
|
48259
|
+
} else {
|
|
48260
|
+
isUpdateDataForUseZoom.value = true;
|
|
48261
|
+
}
|
|
48225
48262
|
};
|
|
48226
48263
|
|
|
48227
48264
|
var controlZoomIdx = function controlZoomIdx(zoomStartIdx, zoomEndIdx) {
|
|
@@ -48448,7 +48485,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
48448
48485
|
}, function (chartData) {
|
|
48449
48486
|
var newData = getNormalizedData(chartData);
|
|
48450
48487
|
var isUpdateSeries = !lodash_es_isEqual(newData.series, evChart.data.series) || !lodash_es_isEqual(newData.groups, evChart.data.groups) || props.options.type === 'heatMap';
|
|
48451
|
-
var isUpdateData = !lodash_es_isEqual(newData
|
|
48488
|
+
var isUpdateData = !lodash_es_isEqual(newData, evChart.data);
|
|
48452
48489
|
evChart.data = lodash_es_cloneDeep(newData);
|
|
48453
48490
|
evChart.update({
|
|
48454
48491
|
updateSeries: isUpdateSeries,
|
|
@@ -48607,8 +48644,8 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref3, s
|
|
|
48607
48644
|
});
|
|
48608
48645
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
|
|
48609
48646
|
|
|
48610
|
-
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=
|
|
48611
|
-
var
|
|
48647
|
+
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=fb815cce&lang=scss
|
|
48648
|
+
var Chartvue_type_style_index_0_id_fb815cce_lang_scss = __webpack_require__("9b05");
|
|
48612
48649
|
|
|
48613
48650
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue
|
|
48614
48651
|
|
|
@@ -48618,7 +48655,7 @@ var Chartvue_type_style_index_0_id_b33e4442_lang_scss = __webpack_require__("43f
|
|
|
48618
48655
|
|
|
48619
48656
|
|
|
48620
48657
|
|
|
48621
|
-
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',
|
|
48658
|
+
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_fb815cce_render]])
|
|
48622
48659
|
|
|
48623
48660
|
/* harmony default export */ var Chart = (Chart_exports_);
|
|
48624
48661
|
// CONCATENATED MODULE: ./src/components/chart/index.js
|
|
@@ -48666,7 +48703,9 @@ var ChartGroupvue_type_template_id_1f6971cd_scoped_true_render = /*#__PURE__*/Ch
|
|
|
48666
48703
|
var uses_DEFAULT_OPTIONS = {
|
|
48667
48704
|
zoom: {
|
|
48668
48705
|
bufferMemoryCnt: 100,
|
|
48669
|
-
|
|
48706
|
+
keepZoomStatus: false,
|
|
48707
|
+
useAnimation: true,
|
|
48708
|
+
useWheelMove: true,
|
|
48670
48709
|
toolbar: {
|
|
48671
48710
|
show: false,
|
|
48672
48711
|
items: {
|