evui 3.3.40 → 3.3.41

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.
@@ -153,6 +153,21 @@ module.exports = function (fn, that, length) {
153
153
  /* unused harmony reexport * */
154
154
 
155
155
 
156
+ /***/ }),
157
+
158
+ /***/ "052a":
159
+ /***/ (function(module, exports, __webpack_require__) {
160
+
161
+ // style-loader: Adds some css to the DOM by adding a <style> tag
162
+
163
+ // load the styles
164
+ var content = __webpack_require__("17c0");
165
+ if(typeof content === 'string') content = [[module.i, content, '']];
166
+ if(content.locals) module.exports = content.locals;
167
+ // add the styles to the DOM
168
+ var add = __webpack_require__("499e").default
169
+ var update = add("68157d0e", content, true, {"sourceMap":false,"shadowMode":false});
170
+
156
171
  /***/ }),
157
172
 
158
173
  /***/ "0538":
@@ -328,17 +343,6 @@ module.exports = !DESCRIPTORS && !fails(function () {
328
343
  });
329
344
 
330
345
 
331
- /***/ }),
332
-
333
- /***/ "0d1d":
334
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
335
-
336
- "use strict";
337
- /* 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_018cc1f3_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1180");
338
- /* 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_018cc1f3_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_018cc1f3_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
339
- /* unused harmony reexport * */
340
-
341
-
342
346
  /***/ }),
343
347
 
344
348
  /***/ "0eff":
@@ -391,21 +395,6 @@ module.exports = ''.repeat || function repeat(count) {
391
395
  };
392
396
 
393
397
 
394
- /***/ }),
395
-
396
- /***/ "1180":
397
- /***/ (function(module, exports, __webpack_require__) {
398
-
399
- // style-loader: Adds some css to the DOM by adding a <style> tag
400
-
401
- // load the styles
402
- var content = __webpack_require__("850f");
403
- if(typeof content === 'string') content = [[module.i, content, '']];
404
- if(content.locals) module.exports = content.locals;
405
- // add the styles to the DOM
406
- var add = __webpack_require__("499e").default
407
- var update = add("8bf57f30", content, true, {"sourceMap":false,"shadowMode":false});
408
-
409
398
  /***/ }),
410
399
 
411
400
  /***/ "1276":
@@ -683,6 +672,20 @@ if(content.locals) module.exports = content.locals;
683
672
  var add = __webpack_require__("499e").default
684
673
  var update = add("ede85a96", content, true, {"sourceMap":false,"shadowMode":false});
685
674
 
675
+ /***/ }),
676
+
677
+ /***/ "17c0":
678
+ /***/ (function(module, exports, __webpack_require__) {
679
+
680
+ // Imports
681
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
682
+ exports = ___CSS_LOADER_API_IMPORT___(false);
683
+ // Module
684
+ 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-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{overflow-x:hidden;overflow-y:hidden}", ""]);
685
+ // Exports
686
+ module.exports = exports;
687
+
688
+
686
689
  /***/ }),
687
690
 
688
691
  /***/ "17c2":
@@ -7237,6 +7240,17 @@ module.exports = function (NAME) {
7237
7240
  };
7238
7241
 
7239
7242
 
7243
+ /***/ }),
7244
+
7245
+ /***/ "74f8":
7246
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7247
+
7248
+ "use strict";
7249
+ /* 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_0627777b_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("052a");
7250
+ /* 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_0627777b_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_0627777b_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
7251
+ /* unused harmony reexport * */
7252
+
7253
+
7240
7254
  /***/ }),
7241
7255
 
7242
7256
  /***/ "76c7":
@@ -7680,20 +7694,6 @@ exports.push([module.i, ".ev-window-scroll-lock{overflow:hidden!important}.ev-wi
7680
7694
  module.exports = exports;
7681
7695
 
7682
7696
 
7683
- /***/ }),
7684
-
7685
- /***/ "850f":
7686
- /***/ (function(module, exports, __webpack_require__) {
7687
-
7688
- // Imports
7689
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
7690
- exports = ___CSS_LOADER_API_IMPORT___(false);
7691
- // Module
7692
- 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-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{overflow-x:hidden;overflow-y:hidden}", ""]);
7693
- // Exports
7694
- module.exports = exports;
7695
-
7696
-
7697
7697
  /***/ }),
7698
7698
 
7699
7699
  /***/ "861d":
@@ -7971,7 +7971,7 @@ $({ target: 'Number', stat: true }, {
7971
7971
  /***/ "9224":
7972
7972
  /***/ (function(module) {
7973
7973
 
7974
- module.exports = JSON.parse("{\"a\":\"3.3.40\"}");
7974
+ module.exports = JSON.parse("{\"a\":\"3.3.41\"}");
7975
7975
 
7976
7976
  /***/ }),
7977
7977
 
@@ -30893,18 +30893,18 @@ Grid.install = function (app) {
30893
30893
  };
30894
30894
 
30895
30895
  /* harmony default export */ var grid = (Grid);
30896
- // 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=018cc1f3
30896
+ // 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=0627777b
30897
30897
 
30898
- var Chartvue_type_template_id_018cc1f3_hoisted_1 = {
30898
+ var Chartvue_type_template_id_0627777b_hoisted_1 = {
30899
30899
  key: 0,
30900
30900
  ref: "evChartToolbarRef"
30901
30901
  };
30902
- function Chartvue_type_template_id_018cc1f3_render(_ctx, _cache, $props, $setup, $data, $options) {
30902
+ function Chartvue_type_template_id_0627777b_render(_ctx, _cache, $props, $setup, $data, $options) {
30903
30903
  var _component_ev_chart_toolbar = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-chart-toolbar");
30904
30904
 
30905
30905
  var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
30906
30906
 
30907
- 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.toolbar.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_018cc1f3_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ev_chart_toolbar, {
30907
+ 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.toolbar.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_0627777b_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ev_chart_toolbar, {
30908
30908
  toolbar: $setup.zoomOptions.toolbar,
30909
30909
  onOnClickToolbar: $setup.onClickToolbar
30910
30910
  }, 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", {
@@ -30913,7 +30913,7 @@ function Chartvue_type_template_id_018cc1f3_render(_ctx, _cache, $props, $setup,
30913
30913
  class: "ev-chart"
30914
30914
  }, null, 4), [[_directive_resize, $setup.onResize]])], 64);
30915
30915
  }
30916
- // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=018cc1f3
30916
+ // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=0627777b
30917
30917
 
30918
30918
  // CONCATENATED MODULE: ./node_modules/lodash-es/_arrayEach.js
30919
30919
  /**
@@ -39464,19 +39464,11 @@ var plugins_title_modules = {
39464
39464
  * @returns {undefined}
39465
39465
  */
39466
39466
  initTitle: function initTitle() {
39467
- var _this = this;
39468
-
39469
39467
  if (!this.isInitTitle) {
39470
39468
  this.createTitle();
39471
39469
  }
39472
39470
 
39473
- var opt = this.options.title;
39474
- Object.keys(opt.style).forEach(function (key) {
39475
- _this.titleDOM.style[key] = opt.style[key];
39476
- });
39477
- this.titleDOM.textContent = opt.text;
39478
- this.titleDOM.style.height = "".concat(opt.height, "px");
39479
- this.titleDOM.style.lineHeight = "".concat(opt.height, "px");
39471
+ this.updateTitle();
39480
39472
  this.isInitTitle = true;
39481
39473
  },
39482
39474
 
@@ -39498,6 +39490,17 @@ var plugins_title_modules = {
39498
39490
  hideTitle: function hideTitle() {
39499
39491
  this.titleDOM.style.display = 'none';
39500
39492
  this.wrapperDOM.style.paddingTop = '0px';
39493
+ },
39494
+ updateTitle: function updateTitle() {
39495
+ var _this = this;
39496
+
39497
+ var opt = this.options.title;
39498
+ Object.keys(opt.style).forEach(function (key) {
39499
+ _this.titleDOM.style[key] = opt.style[key];
39500
+ });
39501
+ this.titleDOM.textContent = opt.text;
39502
+ this.titleDOM.style.height = "".concat(opt.height, "px");
39503
+ this.titleDOM.style.lineHeight = "".concat(opt.height, "px");
39501
39504
  }
39502
39505
  };
39503
39506
  /* harmony default export */ var plugins_title = (plugins_title_modules);
@@ -44743,6 +44746,8 @@ var chart_core_EvChart = /*#__PURE__*/function () {
44743
44746
  if (options.title.show) {
44744
44747
  if (!this.isInitTitle) {
44745
44748
  this.initTitle();
44749
+ } else {
44750
+ this.updateTitle();
44746
44751
  }
44747
44752
 
44748
44753
  this.showTitle();
@@ -45430,7 +45435,7 @@ var chartZoom_core_EvChartZoom = /*#__PURE__*/function () {
45430
45435
  }
45431
45436
  };
45432
45437
 
45433
- if (isUseZoomMode) {
45438
+ if (isUseZoomMode && this.dragZoomIcon.classList.contains('active')) {
45434
45439
  var _this$zoomAreaMemory2 = this.zoomAreaMemory,
45435
45440
  previous = _this$zoomAreaMemory2.previous,
45436
45441
  latest = _this$zoomAreaMemory2.latest;
@@ -45894,7 +45899,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
45894
45899
  });
45895
45900
  var brushIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({
45896
45901
  start: 0,
45897
- end: 0,
45902
+ end: -1,
45898
45903
  isUseButton: false,
45899
45904
  isUseScroll: false
45900
45905
  });
@@ -45910,6 +45915,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
45910
45915
  data: null,
45911
45916
  options: null
45912
45917
  });
45918
+ var brushChartIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])([]);
45913
45919
 
45914
45920
  var getRangeInfo = function getRangeInfo(zoomInfo) {
45915
45921
  if (zoomInfo.data.length && zoomInfo.range && isUseZoomMode.value) {
@@ -45961,6 +45967,10 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
45961
45967
  chartIdx++;
45962
45968
  evChartInfo.props.data.push(data);
45963
45969
  evChartInfo.props.options.push(options);
45970
+ } else if ((type === null || type === void 0 ? void 0 : type.name) === 'EvChartBrush') {
45971
+ var _evChartProps$options, _evChartProps$options2;
45972
+
45973
+ brushChartIdx.value.push((_evChartProps$options = evChartProps === null || evChartProps === void 0 ? void 0 : (_evChartProps$options2 = evChartProps.options) === null || _evChartProps$options2 === void 0 ? void 0 : _evChartProps$options2.chartIdx) !== null && _evChartProps$options !== void 0 ? _evChartProps$options : 0);
45964
45974
  }
45965
45975
  });
45966
45976
  }
@@ -46057,8 +46067,16 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
46057
46067
  evChartClone.data = evChartGroupRef ? lodash_es_cloneDeep(newData) : [lodash_es_cloneDeep(newData)];
46058
46068
  isUseZoomMode.value = false;
46059
46069
  setEvChartOptions();
46060
- brushIdx.start = 0;
46061
- brushIdx.end = evChartClone.data[0].labels.length - 1;
46070
+ brushIdx.end = -1;
46071
+
46072
+ for (var i = 0; i < brushChartIdx.value.length; i++) {
46073
+ var data = evChartClone.data[brushChartIdx.value[i]];
46074
+
46075
+ if (data.labels.length) {
46076
+ brushIdx.start = 0;
46077
+ brushIdx.end = data.labels.length - 1;
46078
+ }
46079
+ }
46062
46080
 
46063
46081
  if (evChartZoom) {
46064
46082
  evChartZoom.updateEvChartCloneData(evChartClone, isUseZoomMode.value);
@@ -46206,7 +46224,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
46206
46224
  var injectGroupSelectedLabel = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('groupSelectedLabel', null);
46207
46225
  var injectBrushIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('brushIdx', {
46208
46226
  start: 0,
46209
- end: 0
46227
+ end: -1
46210
46228
  });
46211
46229
 
46212
46230
  var _useModel = chart_uses_useModel(injectGroupSelectedLabel),
@@ -46438,8 +46456,8 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
46438
46456
  });
46439
46457
  // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
46440
46458
 
46441
- // EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=018cc1f3&lang=scss
46442
- var Chartvue_type_style_index_0_id_018cc1f3_lang_scss = __webpack_require__("0d1d");
46459
+ // EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=0627777b&lang=scss
46460
+ var Chartvue_type_style_index_0_id_0627777b_lang_scss = __webpack_require__("74f8");
46443
46461
 
46444
46462
  // CONCATENATED MODULE: ./src/components/chart/Chart.vue
46445
46463
 
@@ -46449,7 +46467,7 @@ var Chartvue_type_style_index_0_id_018cc1f3_lang_scss = __webpack_require__("0d1
46449
46467
 
46450
46468
 
46451
46469
 
46452
- const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_018cc1f3_render]])
46470
+ const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_0627777b_render]])
46453
46471
 
46454
46472
  /* harmony default export */ var Chart = (Chart_exports_);
46455
46473
  // CONCATENATED MODULE: ./src/components/chart/index.js
@@ -46677,9 +46695,9 @@ ChartGroup.install = function (app) {
46677
46695
  };
46678
46696
 
46679
46697
  /* harmony default export */ var chartGroup = (ChartGroup);
46680
- // 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/chartBrush/ChartBrush.vue?vue&type=template&id=1b10467a
46698
+ // 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/chartBrush/ChartBrush.vue?vue&type=template&id=7d0c10ab
46681
46699
 
46682
- function ChartBrushvue_type_template_id_1b10467a_render(_ctx, _cache, $props, $setup, $data, $options) {
46700
+ function ChartBrushvue_type_template_id_7d0c10ab_render(_ctx, _cache, $props, $setup, $data, $options) {
46683
46701
  var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
46684
46702
 
46685
46703
  return $setup.evChartBrushOptions.show ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])((Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", {
@@ -46689,7 +46707,7 @@ function ChartBrushvue_type_template_id_1b10467a_render(_ctx, _cache, $props, $s
46689
46707
  class: "ev-chart-brush"
46690
46708
  }, null, 4)), [[_directive_resize, $setup.onResize]]) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
46691
46709
  }
46692
- // CONCATENATED MODULE: ./src/components/chartBrush/ChartBrush.vue?vue&type=template&id=1b10467a
46710
+ // CONCATENATED MODULE: ./src/components/chartBrush/ChartBrush.vue?vue&type=template&id=7d0c10ab
46693
46711
 
46694
46712
  // CONCATENATED MODULE: ./src/components/chartBrush/chartBrush.core.js
46695
46713
 
@@ -46720,6 +46738,8 @@ var chartBrush_core_EvChartBrush = /*#__PURE__*/function () {
46720
46738
  key: "init",
46721
46739
  value: function init(isResize) {
46722
46740
  if (this.brushIdx.start > this.brushIdx.end) {
46741
+ this.initEventState();
46742
+ this.removeBrushCanvas();
46723
46743
  return;
46724
46744
  }
46725
46745
 
@@ -46786,40 +46806,43 @@ var chartBrush_core_EvChartBrush = /*#__PURE__*/function () {
46786
46806
 
46787
46807
  var brushIdx = (_this$debounceBrushId = this.debounceBrushIdx) !== null && _this$debounceBrushId !== void 0 ? _this$debounceBrushId : this.brushIdx;
46788
46808
  var labelEndIdx = this.evChartData.value.labels.length - 1;
46789
- this.labelEndIdx = labelEndIdx;
46790
- var axesXInterval = (evChartRange.x2 - evChartRange.x1) / labelEndIdx;
46791
- var brushRectX = brushIdx.start * axesXInterval * pixelRatio;
46792
- var brushRectWidth = (brushCanvasWidth - (labelEndIdx - (brushIdx.end - brushIdx.start)) * axesXInterval) * pixelRatio;
46793
- var brushRectHeight = this.evChartBrushOptions.value.height - evChartRange.y1;
46794
- var brushButtonLeftXPos = brushRectX;
46795
- var brushButtonRightXPos = brushRectX + brushRectWidth;
46796
-
46797
- if (!brushCanvas.style.position) {
46798
- brushCanvas.style.position = 'absolute';
46799
- brushCanvas.style.top = "".concat(evChartRange.y1, "px");
46800
- brushCanvas.style.left = "".concat(evChartRange.x1 - brushButtonWidth / 2, "px");
46801
- }
46802
-
46803
- if (!isEqualWidth) {
46804
- brushCanvas.width = brushCanvasWidth * pixelRatio;
46805
- brushCanvas.style.width = "".concat(brushCanvasWidth, "px");
46806
- brushCanvas.height = brushCanvasHeight * pixelRatio;
46807
- brushCanvas.style.height = "".concat(brushCanvasHeight, "px");
46808
- }
46809
-
46810
- var ctx = brushCanvas.getContext('2d');
46811
- ctx.clearRect(0, 0, brushCanvasWidth * pixelRatio, brushCanvasHeight * pixelRatio);
46812
- ctx.fillStyle = this.evChartBrushOptions.value.selection.fillColor;
46813
- ctx.globalAlpha = this.evChartBrushOptions.value.selection.opacity;
46814
- ctx.fillRect(brushRectX, 0, brushRectWidth, brushRectHeight);
46815
- ctx.fillRect(brushButtonLeftXPos, 0, brushButtonWidth, brushRectHeight);
46816
- ctx.fillRect(brushButtonRightXPos - brushButtonWidth, 0, brushButtonWidth, brushRectHeight);
46817
- this.evChartBrushPos = {
46818
- leftX: brushButtonLeftXPos / pixelRatio,
46819
- rightX: brushButtonRightXPos / pixelRatio,
46820
- buttonWidth: brushButtonWidth,
46821
- axesXInterval: axesXInterval
46822
- };
46809
+
46810
+ if (labelEndIdx >= 0) {
46811
+ this.labelEndIdx = labelEndIdx;
46812
+ var axesXInterval = (evChartRange.x2 - evChartRange.x1) / labelEndIdx;
46813
+ var brushRectX = brushIdx.start * axesXInterval * pixelRatio;
46814
+ var brushRectWidth = (brushCanvasWidth - (labelEndIdx - (brushIdx.end - brushIdx.start)) * axesXInterval) * pixelRatio;
46815
+ var brushRectHeight = this.evChartBrushOptions.value.height - evChartRange.y1;
46816
+ var brushButtonLeftXPos = brushRectX;
46817
+ var brushButtonRightXPos = brushRectX + brushRectWidth;
46818
+
46819
+ if (!brushCanvas.style.position) {
46820
+ brushCanvas.style.position = 'absolute';
46821
+ brushCanvas.style.top = "".concat(evChartRange.y1, "px");
46822
+ brushCanvas.style.left = "".concat(evChartRange.x1 - brushButtonWidth / 2, "px");
46823
+ }
46824
+
46825
+ if (!isEqualWidth) {
46826
+ brushCanvas.width = brushCanvasWidth * pixelRatio;
46827
+ brushCanvas.style.width = "".concat(brushCanvasWidth, "px");
46828
+ brushCanvas.height = brushCanvasHeight * pixelRatio;
46829
+ brushCanvas.style.height = "".concat(brushCanvasHeight, "px");
46830
+ }
46831
+
46832
+ var ctx = brushCanvas.getContext('2d');
46833
+ ctx.clearRect(0, 0, brushCanvasWidth * pixelRatio, brushCanvasHeight * pixelRatio);
46834
+ ctx.fillStyle = this.evChartBrushOptions.value.selection.fillColor;
46835
+ ctx.globalAlpha = this.evChartBrushOptions.value.selection.opacity;
46836
+ ctx.fillRect(brushRectX, 0, brushRectWidth, brushRectHeight);
46837
+ ctx.fillRect(brushButtonLeftXPos, 0, brushButtonWidth, brushRectHeight);
46838
+ ctx.fillRect(brushButtonRightXPos - brushButtonWidth, 0, brushButtonWidth, brushRectHeight);
46839
+ this.evChartBrushPos = {
46840
+ leftX: brushButtonLeftXPos / pixelRatio,
46841
+ rightX: brushButtonRightXPos / pixelRatio,
46842
+ buttonWidth: brushButtonWidth,
46843
+ axesXInterval: axesXInterval
46844
+ };
46845
+ }
46823
46846
  }
46824
46847
  }, {
46825
46848
  key: "addEvent",
@@ -47235,7 +47258,7 @@ var uses_useBrushModel = function useBrushModel() {
47235
47258
  });
47236
47259
  var injectBrushIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('brushIdx', {
47237
47260
  start: 0,
47238
- end: 0,
47261
+ end: -1,
47239
47262
  isUseButton: false,
47240
47263
  isUseScroll: false
47241
47264
  });
@@ -47542,7 +47565,7 @@ var uses_useBrushModel = function useBrushModel() {
47542
47565
 
47543
47566
 
47544
47567
 
47545
- const ChartBrush_exports_ = /*#__PURE__*/exportHelper_default()(ChartBrushvue_type_script_lang_js, [['render',ChartBrushvue_type_template_id_1b10467a_render]])
47568
+ const ChartBrush_exports_ = /*#__PURE__*/exportHelper_default()(ChartBrushvue_type_script_lang_js, [['render',ChartBrushvue_type_template_id_7d0c10ab_render]])
47546
47569
 
47547
47570
  /* harmony default export */ var ChartBrush = (ChartBrush_exports_);
47548
47571
  // CONCATENATED MODULE: ./src/components/chartBrush/index.js