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.
- package/dist/evui.common.js +125 -102
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +125 -102
- 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/chart.core.js +2 -0
- package/src/components/chart/chartZoom.core.js +1 -1
- package/src/components/chart/plugins/plugins.title.js +13 -8
- package/src/components/chart/uses.js +14 -5
- package/src/components/chartBrush/ChartBrush.vue +1 -1
- package/src/components/chartBrush/chartBrush.core.js +49 -44
package/dist/evui.umd.js
CHANGED
|
@@ -162,6 +162,21 @@ module.exports = function (fn, that, length) {
|
|
|
162
162
|
/* unused harmony reexport * */
|
|
163
163
|
|
|
164
164
|
|
|
165
|
+
/***/ }),
|
|
166
|
+
|
|
167
|
+
/***/ "052a":
|
|
168
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
169
|
+
|
|
170
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
171
|
+
|
|
172
|
+
// load the styles
|
|
173
|
+
var content = __webpack_require__("17c0");
|
|
174
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
175
|
+
if(content.locals) module.exports = content.locals;
|
|
176
|
+
// add the styles to the DOM
|
|
177
|
+
var add = __webpack_require__("499e").default
|
|
178
|
+
var update = add("68157d0e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
179
|
+
|
|
165
180
|
/***/ }),
|
|
166
181
|
|
|
167
182
|
/***/ "0538":
|
|
@@ -337,17 +352,6 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
337
352
|
});
|
|
338
353
|
|
|
339
354
|
|
|
340
|
-
/***/ }),
|
|
341
|
-
|
|
342
|
-
/***/ "0d1d":
|
|
343
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
344
|
-
|
|
345
|
-
"use strict";
|
|
346
|
-
/* 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");
|
|
347
|
-
/* 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__);
|
|
348
|
-
/* unused harmony reexport * */
|
|
349
|
-
|
|
350
|
-
|
|
351
355
|
/***/ }),
|
|
352
356
|
|
|
353
357
|
/***/ "0eff":
|
|
@@ -400,21 +404,6 @@ module.exports = ''.repeat || function repeat(count) {
|
|
|
400
404
|
};
|
|
401
405
|
|
|
402
406
|
|
|
403
|
-
/***/ }),
|
|
404
|
-
|
|
405
|
-
/***/ "1180":
|
|
406
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
407
|
-
|
|
408
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
409
|
-
|
|
410
|
-
// load the styles
|
|
411
|
-
var content = __webpack_require__("850f");
|
|
412
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
413
|
-
if(content.locals) module.exports = content.locals;
|
|
414
|
-
// add the styles to the DOM
|
|
415
|
-
var add = __webpack_require__("499e").default
|
|
416
|
-
var update = add("8bf57f30", content, true, {"sourceMap":false,"shadowMode":false});
|
|
417
|
-
|
|
418
407
|
/***/ }),
|
|
419
408
|
|
|
420
409
|
/***/ "1276":
|
|
@@ -692,6 +681,20 @@ if(content.locals) module.exports = content.locals;
|
|
|
692
681
|
var add = __webpack_require__("499e").default
|
|
693
682
|
var update = add("ede85a96", content, true, {"sourceMap":false,"shadowMode":false});
|
|
694
683
|
|
|
684
|
+
/***/ }),
|
|
685
|
+
|
|
686
|
+
/***/ "17c0":
|
|
687
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
688
|
+
|
|
689
|
+
// Imports
|
|
690
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
691
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
692
|
+
// Module
|
|
693
|
+
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}", ""]);
|
|
694
|
+
// Exports
|
|
695
|
+
module.exports = exports;
|
|
696
|
+
|
|
697
|
+
|
|
695
698
|
/***/ }),
|
|
696
699
|
|
|
697
700
|
/***/ "17c2":
|
|
@@ -7246,6 +7249,17 @@ module.exports = function (NAME) {
|
|
|
7246
7249
|
};
|
|
7247
7250
|
|
|
7248
7251
|
|
|
7252
|
+
/***/ }),
|
|
7253
|
+
|
|
7254
|
+
/***/ "74f8":
|
|
7255
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7256
|
+
|
|
7257
|
+
"use strict";
|
|
7258
|
+
/* 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");
|
|
7259
|
+
/* 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__);
|
|
7260
|
+
/* unused harmony reexport * */
|
|
7261
|
+
|
|
7262
|
+
|
|
7249
7263
|
/***/ }),
|
|
7250
7264
|
|
|
7251
7265
|
/***/ "76c7":
|
|
@@ -7689,20 +7703,6 @@ exports.push([module.i, ".ev-window-scroll-lock{overflow:hidden!important}.ev-wi
|
|
|
7689
7703
|
module.exports = exports;
|
|
7690
7704
|
|
|
7691
7705
|
|
|
7692
|
-
/***/ }),
|
|
7693
|
-
|
|
7694
|
-
/***/ "850f":
|
|
7695
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
7696
|
-
|
|
7697
|
-
// Imports
|
|
7698
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
7699
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
7700
|
-
// Module
|
|
7701
|
-
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}", ""]);
|
|
7702
|
-
// Exports
|
|
7703
|
-
module.exports = exports;
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
7706
|
/***/ }),
|
|
7707
7707
|
|
|
7708
7708
|
/***/ "861d":
|
|
@@ -7980,7 +7980,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
7980
7980
|
/***/ "9224":
|
|
7981
7981
|
/***/ (function(module) {
|
|
7982
7982
|
|
|
7983
|
-
module.exports = JSON.parse("{\"a\":\"3.3.
|
|
7983
|
+
module.exports = JSON.parse("{\"a\":\"3.3.41\"}");
|
|
7984
7984
|
|
|
7985
7985
|
/***/ }),
|
|
7986
7986
|
|
|
@@ -30902,18 +30902,18 @@ Grid.install = function (app) {
|
|
|
30902
30902
|
};
|
|
30903
30903
|
|
|
30904
30904
|
/* harmony default export */ var grid = (Grid);
|
|
30905
|
-
// 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=
|
|
30905
|
+
// 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
|
|
30906
30906
|
|
|
30907
|
-
var
|
|
30907
|
+
var Chartvue_type_template_id_0627777b_hoisted_1 = {
|
|
30908
30908
|
key: 0,
|
|
30909
30909
|
ref: "evChartToolbarRef"
|
|
30910
30910
|
};
|
|
30911
|
-
function
|
|
30911
|
+
function Chartvue_type_template_id_0627777b_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30912
30912
|
var _component_ev_chart_toolbar = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-chart-toolbar");
|
|
30913
30913
|
|
|
30914
30914
|
var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
|
|
30915
30915
|
|
|
30916
|
-
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",
|
|
30916
|
+
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, {
|
|
30917
30917
|
toolbar: $setup.zoomOptions.toolbar,
|
|
30918
30918
|
onOnClickToolbar: $setup.onClickToolbar
|
|
30919
30919
|
}, 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", {
|
|
@@ -30922,7 +30922,7 @@ function Chartvue_type_template_id_018cc1f3_render(_ctx, _cache, $props, $setup,
|
|
|
30922
30922
|
class: "ev-chart"
|
|
30923
30923
|
}, null, 4), [[_directive_resize, $setup.onResize]])], 64);
|
|
30924
30924
|
}
|
|
30925
|
-
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=
|
|
30925
|
+
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=0627777b
|
|
30926
30926
|
|
|
30927
30927
|
// CONCATENATED MODULE: ./node_modules/lodash-es/_arrayEach.js
|
|
30928
30928
|
/**
|
|
@@ -39473,19 +39473,11 @@ var plugins_title_modules = {
|
|
|
39473
39473
|
* @returns {undefined}
|
|
39474
39474
|
*/
|
|
39475
39475
|
initTitle: function initTitle() {
|
|
39476
|
-
var _this = this;
|
|
39477
|
-
|
|
39478
39476
|
if (!this.isInitTitle) {
|
|
39479
39477
|
this.createTitle();
|
|
39480
39478
|
}
|
|
39481
39479
|
|
|
39482
|
-
|
|
39483
|
-
Object.keys(opt.style).forEach(function (key) {
|
|
39484
|
-
_this.titleDOM.style[key] = opt.style[key];
|
|
39485
|
-
});
|
|
39486
|
-
this.titleDOM.textContent = opt.text;
|
|
39487
|
-
this.titleDOM.style.height = "".concat(opt.height, "px");
|
|
39488
|
-
this.titleDOM.style.lineHeight = "".concat(opt.height, "px");
|
|
39480
|
+
this.updateTitle();
|
|
39489
39481
|
this.isInitTitle = true;
|
|
39490
39482
|
},
|
|
39491
39483
|
|
|
@@ -39507,6 +39499,17 @@ var plugins_title_modules = {
|
|
|
39507
39499
|
hideTitle: function hideTitle() {
|
|
39508
39500
|
this.titleDOM.style.display = 'none';
|
|
39509
39501
|
this.wrapperDOM.style.paddingTop = '0px';
|
|
39502
|
+
},
|
|
39503
|
+
updateTitle: function updateTitle() {
|
|
39504
|
+
var _this = this;
|
|
39505
|
+
|
|
39506
|
+
var opt = this.options.title;
|
|
39507
|
+
Object.keys(opt.style).forEach(function (key) {
|
|
39508
|
+
_this.titleDOM.style[key] = opt.style[key];
|
|
39509
|
+
});
|
|
39510
|
+
this.titleDOM.textContent = opt.text;
|
|
39511
|
+
this.titleDOM.style.height = "".concat(opt.height, "px");
|
|
39512
|
+
this.titleDOM.style.lineHeight = "".concat(opt.height, "px");
|
|
39510
39513
|
}
|
|
39511
39514
|
};
|
|
39512
39515
|
/* harmony default export */ var plugins_title = (plugins_title_modules);
|
|
@@ -44752,6 +44755,8 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
44752
44755
|
if (options.title.show) {
|
|
44753
44756
|
if (!this.isInitTitle) {
|
|
44754
44757
|
this.initTitle();
|
|
44758
|
+
} else {
|
|
44759
|
+
this.updateTitle();
|
|
44755
44760
|
}
|
|
44756
44761
|
|
|
44757
44762
|
this.showTitle();
|
|
@@ -45439,7 +45444,7 @@ var chartZoom_core_EvChartZoom = /*#__PURE__*/function () {
|
|
|
45439
45444
|
}
|
|
45440
45445
|
};
|
|
45441
45446
|
|
|
45442
|
-
if (isUseZoomMode) {
|
|
45447
|
+
if (isUseZoomMode && this.dragZoomIcon.classList.contains('active')) {
|
|
45443
45448
|
var _this$zoomAreaMemory2 = this.zoomAreaMemory,
|
|
45444
45449
|
previous = _this$zoomAreaMemory2.previous,
|
|
45445
45450
|
latest = _this$zoomAreaMemory2.latest;
|
|
@@ -45903,7 +45908,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
45903
45908
|
});
|
|
45904
45909
|
var brushIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({
|
|
45905
45910
|
start: 0,
|
|
45906
|
-
end:
|
|
45911
|
+
end: -1,
|
|
45907
45912
|
isUseButton: false,
|
|
45908
45913
|
isUseScroll: false
|
|
45909
45914
|
});
|
|
@@ -45919,6 +45924,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
45919
45924
|
data: null,
|
|
45920
45925
|
options: null
|
|
45921
45926
|
});
|
|
45927
|
+
var brushChartIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])([]);
|
|
45922
45928
|
|
|
45923
45929
|
var getRangeInfo = function getRangeInfo(zoomInfo) {
|
|
45924
45930
|
if (zoomInfo.data.length && zoomInfo.range && isUseZoomMode.value) {
|
|
@@ -45970,6 +45976,10 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
45970
45976
|
chartIdx++;
|
|
45971
45977
|
evChartInfo.props.data.push(data);
|
|
45972
45978
|
evChartInfo.props.options.push(options);
|
|
45979
|
+
} else if ((type === null || type === void 0 ? void 0 : type.name) === 'EvChartBrush') {
|
|
45980
|
+
var _evChartProps$options, _evChartProps$options2;
|
|
45981
|
+
|
|
45982
|
+
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);
|
|
45973
45983
|
}
|
|
45974
45984
|
});
|
|
45975
45985
|
}
|
|
@@ -46066,8 +46076,16 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
46066
46076
|
evChartClone.data = evChartGroupRef ? lodash_es_cloneDeep(newData) : [lodash_es_cloneDeep(newData)];
|
|
46067
46077
|
isUseZoomMode.value = false;
|
|
46068
46078
|
setEvChartOptions();
|
|
46069
|
-
brushIdx.
|
|
46070
|
-
|
|
46079
|
+
brushIdx.end = -1;
|
|
46080
|
+
|
|
46081
|
+
for (var i = 0; i < brushChartIdx.value.length; i++) {
|
|
46082
|
+
var data = evChartClone.data[brushChartIdx.value[i]];
|
|
46083
|
+
|
|
46084
|
+
if (data.labels.length) {
|
|
46085
|
+
brushIdx.start = 0;
|
|
46086
|
+
brushIdx.end = data.labels.length - 1;
|
|
46087
|
+
}
|
|
46088
|
+
}
|
|
46071
46089
|
|
|
46072
46090
|
if (evChartZoom) {
|
|
46073
46091
|
evChartZoom.updateEvChartCloneData(evChartClone, isUseZoomMode.value);
|
|
@@ -46215,7 +46233,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
46215
46233
|
var injectGroupSelectedLabel = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('groupSelectedLabel', null);
|
|
46216
46234
|
var injectBrushIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('brushIdx', {
|
|
46217
46235
|
start: 0,
|
|
46218
|
-
end:
|
|
46236
|
+
end: -1
|
|
46219
46237
|
});
|
|
46220
46238
|
|
|
46221
46239
|
var _useModel = chart_uses_useModel(injectGroupSelectedLabel),
|
|
@@ -46447,8 +46465,8 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
46447
46465
|
});
|
|
46448
46466
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
|
|
46449
46467
|
|
|
46450
|
-
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=
|
|
46451
|
-
var
|
|
46468
|
+
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=0627777b&lang=scss
|
|
46469
|
+
var Chartvue_type_style_index_0_id_0627777b_lang_scss = __webpack_require__("74f8");
|
|
46452
46470
|
|
|
46453
46471
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue
|
|
46454
46472
|
|
|
@@ -46458,7 +46476,7 @@ var Chartvue_type_style_index_0_id_018cc1f3_lang_scss = __webpack_require__("0d1
|
|
|
46458
46476
|
|
|
46459
46477
|
|
|
46460
46478
|
|
|
46461
|
-
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',
|
|
46479
|
+
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_0627777b_render]])
|
|
46462
46480
|
|
|
46463
46481
|
/* harmony default export */ var Chart = (Chart_exports_);
|
|
46464
46482
|
// CONCATENATED MODULE: ./src/components/chart/index.js
|
|
@@ -46686,9 +46704,9 @@ ChartGroup.install = function (app) {
|
|
|
46686
46704
|
};
|
|
46687
46705
|
|
|
46688
46706
|
/* harmony default export */ var chartGroup = (ChartGroup);
|
|
46689
|
-
// 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=
|
|
46707
|
+
// 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
|
|
46690
46708
|
|
|
46691
|
-
function
|
|
46709
|
+
function ChartBrushvue_type_template_id_7d0c10ab_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
46692
46710
|
var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
|
|
46693
46711
|
|
|
46694
46712
|
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", {
|
|
@@ -46698,7 +46716,7 @@ function ChartBrushvue_type_template_id_1b10467a_render(_ctx, _cache, $props, $s
|
|
|
46698
46716
|
class: "ev-chart-brush"
|
|
46699
46717
|
}, null, 4)), [[_directive_resize, $setup.onResize]]) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
46700
46718
|
}
|
|
46701
|
-
// CONCATENATED MODULE: ./src/components/chartBrush/ChartBrush.vue?vue&type=template&id=
|
|
46719
|
+
// CONCATENATED MODULE: ./src/components/chartBrush/ChartBrush.vue?vue&type=template&id=7d0c10ab
|
|
46702
46720
|
|
|
46703
46721
|
// CONCATENATED MODULE: ./src/components/chartBrush/chartBrush.core.js
|
|
46704
46722
|
|
|
@@ -46729,6 +46747,8 @@ var chartBrush_core_EvChartBrush = /*#__PURE__*/function () {
|
|
|
46729
46747
|
key: "init",
|
|
46730
46748
|
value: function init(isResize) {
|
|
46731
46749
|
if (this.brushIdx.start > this.brushIdx.end) {
|
|
46750
|
+
this.initEventState();
|
|
46751
|
+
this.removeBrushCanvas();
|
|
46732
46752
|
return;
|
|
46733
46753
|
}
|
|
46734
46754
|
|
|
@@ -46795,40 +46815,43 @@ var chartBrush_core_EvChartBrush = /*#__PURE__*/function () {
|
|
|
46795
46815
|
|
|
46796
46816
|
var brushIdx = (_this$debounceBrushId = this.debounceBrushIdx) !== null && _this$debounceBrushId !== void 0 ? _this$debounceBrushId : this.brushIdx;
|
|
46797
46817
|
var labelEndIdx = this.evChartData.value.labels.length - 1;
|
|
46798
|
-
|
|
46799
|
-
|
|
46800
|
-
|
|
46801
|
-
|
|
46802
|
-
|
|
46803
|
-
|
|
46804
|
-
|
|
46805
|
-
|
|
46806
|
-
|
|
46807
|
-
|
|
46808
|
-
brushCanvas.style.
|
|
46809
|
-
|
|
46810
|
-
|
|
46811
|
-
|
|
46812
|
-
|
|
46813
|
-
|
|
46814
|
-
|
|
46815
|
-
|
|
46816
|
-
|
|
46817
|
-
|
|
46818
|
-
|
|
46819
|
-
|
|
46820
|
-
|
|
46821
|
-
|
|
46822
|
-
|
|
46823
|
-
|
|
46824
|
-
|
|
46825
|
-
|
|
46826
|
-
|
|
46827
|
-
|
|
46828
|
-
|
|
46829
|
-
|
|
46830
|
-
|
|
46831
|
-
|
|
46818
|
+
|
|
46819
|
+
if (labelEndIdx >= 0) {
|
|
46820
|
+
this.labelEndIdx = labelEndIdx;
|
|
46821
|
+
var axesXInterval = (evChartRange.x2 - evChartRange.x1) / labelEndIdx;
|
|
46822
|
+
var brushRectX = brushIdx.start * axesXInterval * pixelRatio;
|
|
46823
|
+
var brushRectWidth = (brushCanvasWidth - (labelEndIdx - (brushIdx.end - brushIdx.start)) * axesXInterval) * pixelRatio;
|
|
46824
|
+
var brushRectHeight = this.evChartBrushOptions.value.height - evChartRange.y1;
|
|
46825
|
+
var brushButtonLeftXPos = brushRectX;
|
|
46826
|
+
var brushButtonRightXPos = brushRectX + brushRectWidth;
|
|
46827
|
+
|
|
46828
|
+
if (!brushCanvas.style.position) {
|
|
46829
|
+
brushCanvas.style.position = 'absolute';
|
|
46830
|
+
brushCanvas.style.top = "".concat(evChartRange.y1, "px");
|
|
46831
|
+
brushCanvas.style.left = "".concat(evChartRange.x1 - brushButtonWidth / 2, "px");
|
|
46832
|
+
}
|
|
46833
|
+
|
|
46834
|
+
if (!isEqualWidth) {
|
|
46835
|
+
brushCanvas.width = brushCanvasWidth * pixelRatio;
|
|
46836
|
+
brushCanvas.style.width = "".concat(brushCanvasWidth, "px");
|
|
46837
|
+
brushCanvas.height = brushCanvasHeight * pixelRatio;
|
|
46838
|
+
brushCanvas.style.height = "".concat(brushCanvasHeight, "px");
|
|
46839
|
+
}
|
|
46840
|
+
|
|
46841
|
+
var ctx = brushCanvas.getContext('2d');
|
|
46842
|
+
ctx.clearRect(0, 0, brushCanvasWidth * pixelRatio, brushCanvasHeight * pixelRatio);
|
|
46843
|
+
ctx.fillStyle = this.evChartBrushOptions.value.selection.fillColor;
|
|
46844
|
+
ctx.globalAlpha = this.evChartBrushOptions.value.selection.opacity;
|
|
46845
|
+
ctx.fillRect(brushRectX, 0, brushRectWidth, brushRectHeight);
|
|
46846
|
+
ctx.fillRect(brushButtonLeftXPos, 0, brushButtonWidth, brushRectHeight);
|
|
46847
|
+
ctx.fillRect(brushButtonRightXPos - brushButtonWidth, 0, brushButtonWidth, brushRectHeight);
|
|
46848
|
+
this.evChartBrushPos = {
|
|
46849
|
+
leftX: brushButtonLeftXPos / pixelRatio,
|
|
46850
|
+
rightX: brushButtonRightXPos / pixelRatio,
|
|
46851
|
+
buttonWidth: brushButtonWidth,
|
|
46852
|
+
axesXInterval: axesXInterval
|
|
46853
|
+
};
|
|
46854
|
+
}
|
|
46832
46855
|
}
|
|
46833
46856
|
}, {
|
|
46834
46857
|
key: "addEvent",
|
|
@@ -47244,7 +47267,7 @@ var uses_useBrushModel = function useBrushModel() {
|
|
|
47244
47267
|
});
|
|
47245
47268
|
var injectBrushIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('brushIdx', {
|
|
47246
47269
|
start: 0,
|
|
47247
|
-
end:
|
|
47270
|
+
end: -1,
|
|
47248
47271
|
isUseButton: false,
|
|
47249
47272
|
isUseScroll: false
|
|
47250
47273
|
});
|
|
@@ -47551,7 +47574,7 @@ var uses_useBrushModel = function useBrushModel() {
|
|
|
47551
47574
|
|
|
47552
47575
|
|
|
47553
47576
|
|
|
47554
|
-
const ChartBrush_exports_ = /*#__PURE__*/exportHelper_default()(ChartBrushvue_type_script_lang_js, [['render',
|
|
47577
|
+
const ChartBrush_exports_ = /*#__PURE__*/exportHelper_default()(ChartBrushvue_type_script_lang_js, [['render',ChartBrushvue_type_template_id_7d0c10ab_render]])
|
|
47555
47578
|
|
|
47556
47579
|
/* harmony default export */ var ChartBrush = (ChartBrush_exports_);
|
|
47557
47580
|
// CONCATENATED MODULE: ./src/components/chartBrush/index.js
|