evui 3.3.40 → 3.3.42
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 +199 -168
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +199 -168
- 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/element/element.line.js +6 -4
- package/src/components/chart/plugins/plugins.title.js +13 -8
- package/src/components/chart/scale/scale.js +2 -2
- 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/src/components/chartGroup/ChartGroup.vue +6 -3
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":
|
|
@@ -284,20 +299,6 @@ $({ target: 'Object', stat: true }, {
|
|
|
284
299
|
});
|
|
285
300
|
|
|
286
301
|
|
|
287
|
-
/***/ }),
|
|
288
|
-
|
|
289
|
-
/***/ "08a2":
|
|
290
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
291
|
-
|
|
292
|
-
// Imports
|
|
293
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
294
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
295
|
-
// Module
|
|
296
|
-
exports.push([module.i, ".ev-chart-group__wrapper[data-v-bd8c6660]{display:flex;height:100%;flex-direction:column}", ""]);
|
|
297
|
-
// Exports
|
|
298
|
-
module.exports = exports;
|
|
299
|
-
|
|
300
|
-
|
|
301
302
|
/***/ }),
|
|
302
303
|
|
|
303
304
|
/***/ "0924":
|
|
@@ -337,17 +338,6 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
337
338
|
});
|
|
338
339
|
|
|
339
340
|
|
|
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
341
|
/***/ }),
|
|
352
342
|
|
|
353
343
|
/***/ "0eff":
|
|
@@ -400,21 +390,6 @@ module.exports = ''.repeat || function repeat(count) {
|
|
|
400
390
|
};
|
|
401
391
|
|
|
402
392
|
|
|
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
393
|
/***/ }),
|
|
419
394
|
|
|
420
395
|
/***/ "1276":
|
|
@@ -692,6 +667,20 @@ if(content.locals) module.exports = content.locals;
|
|
|
692
667
|
var add = __webpack_require__("499e").default
|
|
693
668
|
var update = add("ede85a96", content, true, {"sourceMap":false,"shadowMode":false});
|
|
694
669
|
|
|
670
|
+
/***/ }),
|
|
671
|
+
|
|
672
|
+
/***/ "17c0":
|
|
673
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
674
|
+
|
|
675
|
+
// Imports
|
|
676
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
677
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
678
|
+
// Module
|
|
679
|
+
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}", ""]);
|
|
680
|
+
// Exports
|
|
681
|
+
module.exports = exports;
|
|
682
|
+
|
|
683
|
+
|
|
695
684
|
/***/ }),
|
|
696
685
|
|
|
697
686
|
/***/ "17c2":
|
|
@@ -7246,6 +7235,17 @@ module.exports = function (NAME) {
|
|
|
7246
7235
|
};
|
|
7247
7236
|
|
|
7248
7237
|
|
|
7238
|
+
/***/ }),
|
|
7239
|
+
|
|
7240
|
+
/***/ "74f8":
|
|
7241
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7242
|
+
|
|
7243
|
+
"use strict";
|
|
7244
|
+
/* 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");
|
|
7245
|
+
/* 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__);
|
|
7246
|
+
/* unused harmony reexport * */
|
|
7247
|
+
|
|
7248
|
+
|
|
7249
7249
|
/***/ }),
|
|
7250
7250
|
|
|
7251
7251
|
/***/ "76c7":
|
|
@@ -7570,6 +7570,17 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I
|
|
|
7570
7570
|
};
|
|
7571
7571
|
|
|
7572
7572
|
|
|
7573
|
+
/***/ }),
|
|
7574
|
+
|
|
7575
|
+
/***/ "7f2c":
|
|
7576
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7577
|
+
|
|
7578
|
+
"use strict";
|
|
7579
|
+
/* 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_ChartGroup_vue_vue_type_style_index_0_id_2db10c44_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("97ea");
|
|
7580
|
+
/* 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_ChartGroup_vue_vue_type_style_index_0_id_2db10c44_lang_scss_scoped_true__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_ChartGroup_vue_vue_type_style_index_0_id_2db10c44_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
7581
|
+
/* unused harmony reexport * */
|
|
7582
|
+
|
|
7583
|
+
|
|
7573
7584
|
/***/ }),
|
|
7574
7585
|
|
|
7575
7586
|
/***/ "7f9a":
|
|
@@ -7633,17 +7644,6 @@ module.exports = function (it) {
|
|
|
7633
7644
|
};
|
|
7634
7645
|
|
|
7635
7646
|
|
|
7636
|
-
/***/ }),
|
|
7637
|
-
|
|
7638
|
-
/***/ "8352":
|
|
7639
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7640
|
-
|
|
7641
|
-
"use strict";
|
|
7642
|
-
/* 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_ChartGroup_vue_vue_type_style_index_0_id_bd8c6660_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c920");
|
|
7643
|
-
/* 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_ChartGroup_vue_vue_type_style_index_0_id_bd8c6660_lang_scss_scoped_true__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_ChartGroup_vue_vue_type_style_index_0_id_bd8c6660_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
7644
|
-
/* unused harmony reexport * */
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
7647
|
/***/ }),
|
|
7648
7648
|
|
|
7649
7649
|
/***/ "83ab":
|
|
@@ -7689,20 +7689,6 @@ exports.push([module.i, ".ev-window-scroll-lock{overflow:hidden!important}.ev-wi
|
|
|
7689
7689
|
module.exports = exports;
|
|
7690
7690
|
|
|
7691
7691
|
|
|
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
7692
|
/***/ }),
|
|
7707
7693
|
|
|
7708
7694
|
/***/ "861d":
|
|
@@ -7980,7 +7966,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
7980
7966
|
/***/ "9224":
|
|
7981
7967
|
/***/ (function(module) {
|
|
7982
7968
|
|
|
7983
|
-
module.exports = JSON.parse("{\"a\":\"3.3.
|
|
7969
|
+
module.exports = JSON.parse("{\"a\":\"3.3.42\"}");
|
|
7984
7970
|
|
|
7985
7971
|
/***/ }),
|
|
7986
7972
|
|
|
@@ -8891,6 +8877,21 @@ var update = add("6e9caba0", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
8891
8877
|
|
|
8892
8878
|
/***/ }),
|
|
8893
8879
|
|
|
8880
|
+
/***/ "97ea":
|
|
8881
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
8882
|
+
|
|
8883
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
8884
|
+
|
|
8885
|
+
// load the styles
|
|
8886
|
+
var content = __webpack_require__("d9d2");
|
|
8887
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
8888
|
+
if(content.locals) module.exports = content.locals;
|
|
8889
|
+
// add the styles to the DOM
|
|
8890
|
+
var add = __webpack_require__("499e").default
|
|
8891
|
+
var update = add("05d41eae", content, true, {"sourceMap":false,"shadowMode":false});
|
|
8892
|
+
|
|
8893
|
+
/***/ }),
|
|
8894
|
+
|
|
8894
8895
|
/***/ "99af":
|
|
8895
8896
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8896
8897
|
|
|
@@ -10608,21 +10609,6 @@ module.exports = function (METHOD_NAME) {
|
|
|
10608
10609
|
};
|
|
10609
10610
|
|
|
10610
10611
|
|
|
10611
|
-
/***/ }),
|
|
10612
|
-
|
|
10613
|
-
/***/ "c920":
|
|
10614
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10615
|
-
|
|
10616
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
10617
|
-
|
|
10618
|
-
// load the styles
|
|
10619
|
-
var content = __webpack_require__("08a2");
|
|
10620
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
10621
|
-
if(content.locals) module.exports = content.locals;
|
|
10622
|
-
// add the styles to the DOM
|
|
10623
|
-
var add = __webpack_require__("499e").default
|
|
10624
|
-
var update = add("7946d016", content, true, {"sourceMap":false,"shadowMode":false});
|
|
10625
|
-
|
|
10626
10612
|
/***/ }),
|
|
10627
10613
|
|
|
10628
10614
|
/***/ "c975":
|
|
@@ -11247,6 +11233,20 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT
|
|
|
11247
11233
|
});
|
|
11248
11234
|
|
|
11249
11235
|
|
|
11236
|
+
/***/ }),
|
|
11237
|
+
|
|
11238
|
+
/***/ "d9d2":
|
|
11239
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
11240
|
+
|
|
11241
|
+
// Imports
|
|
11242
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
11243
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
11244
|
+
// Module
|
|
11245
|
+
exports.push([module.i, ".ev-chart-group__wrapper[data-v-2db10c44]{display:flex;height:100%;flex-direction:column}", ""]);
|
|
11246
|
+
// Exports
|
|
11247
|
+
module.exports = exports;
|
|
11248
|
+
|
|
11249
|
+
|
|
11250
11250
|
/***/ }),
|
|
11251
11251
|
|
|
11252
11252
|
/***/ "da84":
|
|
@@ -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
|
/**
|
|
@@ -35351,13 +35351,14 @@ var element_line_Line = /*#__PURE__*/function () {
|
|
|
35351
35351
|
var gdata = this.data;
|
|
35352
35352
|
var s = 0;
|
|
35353
35353
|
var e = gdata.length - 1;
|
|
35354
|
+
var xpInterval = gdata[1].xp - gdata[0].xp < 6 ? 1.5 : 6;
|
|
35354
35355
|
|
|
35355
35356
|
while (s <= e) {
|
|
35356
35357
|
var m = Math.floor((s + e) / 2);
|
|
35357
35358
|
var x = gdata[m].xp;
|
|
35358
35359
|
var y = gdata[m].yp;
|
|
35359
35360
|
|
|
35360
|
-
if (x -
|
|
35361
|
+
if (x - xpInterval < xp && xp < x + xpInterval) {
|
|
35361
35362
|
item.data = gdata[m];
|
|
35362
35363
|
item.index = m;
|
|
35363
35364
|
|
|
@@ -35366,10 +35367,10 @@ var element_line_Line = /*#__PURE__*/function () {
|
|
|
35366
35367
|
}
|
|
35367
35368
|
|
|
35368
35369
|
return item;
|
|
35369
|
-
} else if (x +
|
|
35370
|
-
s = m + 1;
|
|
35371
|
-
} else {
|
|
35370
|
+
} else if (x + xpInterval > xp) {
|
|
35372
35371
|
e = m - 1;
|
|
35372
|
+
} else {
|
|
35373
|
+
s = m + 1;
|
|
35373
35374
|
}
|
|
35374
35375
|
}
|
|
35375
35376
|
|
|
@@ -37910,7 +37911,7 @@ var scale_Scale = /*#__PURE__*/function () {
|
|
|
37910
37911
|
|
|
37911
37912
|
labelPoint = this.position === 'top' ? offsetPoint - 10 : offsetPoint + 10;
|
|
37912
37913
|
|
|
37913
|
-
if (options !== null && options !== void 0 && (_options$brush = options.brush) !== null && _options$brush !== void 0 && _options$brush.showLabel || !options.brush) {
|
|
37914
|
+
if (options !== null && options !== void 0 && (_options$brush = options.brush) !== null && _options$brush !== void 0 && _options$brush.showLabel || !(options !== null && options !== void 0 && options.brush)) {
|
|
37914
37915
|
ctx.fillText(labelText, labelCenter, labelPoint);
|
|
37915
37916
|
}
|
|
37916
37917
|
|
|
@@ -37945,7 +37946,7 @@ var scale_Scale = /*#__PURE__*/function () {
|
|
|
37945
37946
|
|
|
37946
37947
|
labelPoint = this.position === 'left' ? offsetPoint - 10 : offsetPoint + 10;
|
|
37947
37948
|
|
|
37948
|
-
if (options !== null && options !== void 0 && (_options$brush2 = options.brush) !== null && _options$brush2 !== void 0 && _options$brush2.showLabel || !options.brush) {
|
|
37949
|
+
if (options !== null && options !== void 0 && (_options$brush2 = options.brush) !== null && _options$brush2 !== void 0 && _options$brush2.showLabel || !(options !== null && options !== void 0 && options.brush)) {
|
|
37949
37950
|
ctx.fillText(labelText, labelPoint, labelCenter);
|
|
37950
37951
|
}
|
|
37951
37952
|
|
|
@@ -39473,19 +39474,11 @@ var plugins_title_modules = {
|
|
|
39473
39474
|
* @returns {undefined}
|
|
39474
39475
|
*/
|
|
39475
39476
|
initTitle: function initTitle() {
|
|
39476
|
-
var _this = this;
|
|
39477
|
-
|
|
39478
39477
|
if (!this.isInitTitle) {
|
|
39479
39478
|
this.createTitle();
|
|
39480
39479
|
}
|
|
39481
39480
|
|
|
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");
|
|
39481
|
+
this.updateTitle();
|
|
39489
39482
|
this.isInitTitle = true;
|
|
39490
39483
|
},
|
|
39491
39484
|
|
|
@@ -39507,6 +39500,17 @@ var plugins_title_modules = {
|
|
|
39507
39500
|
hideTitle: function hideTitle() {
|
|
39508
39501
|
this.titleDOM.style.display = 'none';
|
|
39509
39502
|
this.wrapperDOM.style.paddingTop = '0px';
|
|
39503
|
+
},
|
|
39504
|
+
updateTitle: function updateTitle() {
|
|
39505
|
+
var _this = this;
|
|
39506
|
+
|
|
39507
|
+
var opt = this.options.title;
|
|
39508
|
+
Object.keys(opt.style).forEach(function (key) {
|
|
39509
|
+
_this.titleDOM.style[key] = opt.style[key];
|
|
39510
|
+
});
|
|
39511
|
+
this.titleDOM.textContent = opt.text;
|
|
39512
|
+
this.titleDOM.style.height = "".concat(opt.height, "px");
|
|
39513
|
+
this.titleDOM.style.lineHeight = "".concat(opt.height, "px");
|
|
39510
39514
|
}
|
|
39511
39515
|
};
|
|
39512
39516
|
/* harmony default export */ var plugins_title = (plugins_title_modules);
|
|
@@ -44752,6 +44756,8 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
44752
44756
|
if (options.title.show) {
|
|
44753
44757
|
if (!this.isInitTitle) {
|
|
44754
44758
|
this.initTitle();
|
|
44759
|
+
} else {
|
|
44760
|
+
this.updateTitle();
|
|
44755
44761
|
}
|
|
44756
44762
|
|
|
44757
44763
|
this.showTitle();
|
|
@@ -45439,7 +45445,7 @@ var chartZoom_core_EvChartZoom = /*#__PURE__*/function () {
|
|
|
45439
45445
|
}
|
|
45440
45446
|
};
|
|
45441
45447
|
|
|
45442
|
-
if (isUseZoomMode) {
|
|
45448
|
+
if (isUseZoomMode && this.dragZoomIcon.classList.contains('active')) {
|
|
45443
45449
|
var _this$zoomAreaMemory2 = this.zoomAreaMemory,
|
|
45444
45450
|
previous = _this$zoomAreaMemory2.previous,
|
|
45445
45451
|
latest = _this$zoomAreaMemory2.latest;
|
|
@@ -45903,7 +45909,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
45903
45909
|
});
|
|
45904
45910
|
var brushIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({
|
|
45905
45911
|
start: 0,
|
|
45906
|
-
end:
|
|
45912
|
+
end: -1,
|
|
45907
45913
|
isUseButton: false,
|
|
45908
45914
|
isUseScroll: false
|
|
45909
45915
|
});
|
|
@@ -45919,6 +45925,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
45919
45925
|
data: null,
|
|
45920
45926
|
options: null
|
|
45921
45927
|
});
|
|
45928
|
+
var brushChartIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])([]);
|
|
45922
45929
|
|
|
45923
45930
|
var getRangeInfo = function getRangeInfo(zoomInfo) {
|
|
45924
45931
|
if (zoomInfo.data.length && zoomInfo.range && isUseZoomMode.value) {
|
|
@@ -45970,6 +45977,10 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
45970
45977
|
chartIdx++;
|
|
45971
45978
|
evChartInfo.props.data.push(data);
|
|
45972
45979
|
evChartInfo.props.options.push(options);
|
|
45980
|
+
} else if ((type === null || type === void 0 ? void 0 : type.name) === 'EvChartBrush') {
|
|
45981
|
+
var _evChartProps$options, _evChartProps$options2;
|
|
45982
|
+
|
|
45983
|
+
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
45984
|
}
|
|
45974
45985
|
});
|
|
45975
45986
|
}
|
|
@@ -46066,8 +46077,16 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
46066
46077
|
evChartClone.data = evChartGroupRef ? lodash_es_cloneDeep(newData) : [lodash_es_cloneDeep(newData)];
|
|
46067
46078
|
isUseZoomMode.value = false;
|
|
46068
46079
|
setEvChartOptions();
|
|
46069
|
-
brushIdx.
|
|
46070
|
-
|
|
46080
|
+
brushIdx.end = -1;
|
|
46081
|
+
|
|
46082
|
+
for (var i = 0; i < brushChartIdx.value.length; i++) {
|
|
46083
|
+
var data = evChartClone.data[brushChartIdx.value[i]];
|
|
46084
|
+
|
|
46085
|
+
if (data.labels.length) {
|
|
46086
|
+
brushIdx.start = 0;
|
|
46087
|
+
brushIdx.end = data.labels.length - 1;
|
|
46088
|
+
}
|
|
46089
|
+
}
|
|
46071
46090
|
|
|
46072
46091
|
if (evChartZoom) {
|
|
46073
46092
|
evChartZoom.updateEvChartCloneData(evChartClone, isUseZoomMode.value);
|
|
@@ -46215,7 +46234,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
46215
46234
|
var injectGroupSelectedLabel = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('groupSelectedLabel', null);
|
|
46216
46235
|
var injectBrushIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('brushIdx', {
|
|
46217
46236
|
start: 0,
|
|
46218
|
-
end:
|
|
46237
|
+
end: -1
|
|
46219
46238
|
});
|
|
46220
46239
|
|
|
46221
46240
|
var _useModel = chart_uses_useModel(injectGroupSelectedLabel),
|
|
@@ -46447,8 +46466,8 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
46447
46466
|
});
|
|
46448
46467
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
|
|
46449
46468
|
|
|
46450
|
-
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=
|
|
46451
|
-
var
|
|
46469
|
+
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=0627777b&lang=scss
|
|
46470
|
+
var Chartvue_type_style_index_0_id_0627777b_lang_scss = __webpack_require__("74f8");
|
|
46452
46471
|
|
|
46453
46472
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue
|
|
46454
46473
|
|
|
@@ -46458,7 +46477,7 @@ var Chartvue_type_style_index_0_id_018cc1f3_lang_scss = __webpack_require__("0d1
|
|
|
46458
46477
|
|
|
46459
46478
|
|
|
46460
46479
|
|
|
46461
|
-
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',
|
|
46480
|
+
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_0627777b_render]])
|
|
46462
46481
|
|
|
46463
46482
|
/* harmony default export */ var Chart = (Chart_exports_);
|
|
46464
46483
|
// CONCATENATED MODULE: ./src/components/chart/index.js
|
|
@@ -46472,33 +46491,33 @@ Chart.install = function (app) {
|
|
|
46472
46491
|
};
|
|
46473
46492
|
|
|
46474
46493
|
/* harmony default export */ var chart = (Chart);
|
|
46475
|
-
// 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/chartGroup/ChartGroup.vue?vue&type=template&id=
|
|
46494
|
+
// 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/chartGroup/ChartGroup.vue?vue&type=template&id=2db10c44&scoped=true
|
|
46476
46495
|
|
|
46477
46496
|
|
|
46478
|
-
var
|
|
46497
|
+
var ChartGroupvue_type_template_id_2db10c44_scoped_true_withId = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withScopeId"])("data-v-2db10c44");
|
|
46479
46498
|
|
|
46480
|
-
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
46499
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-2db10c44");
|
|
46481
46500
|
|
|
46482
|
-
var
|
|
46501
|
+
var ChartGroupvue_type_template_id_2db10c44_scoped_true_hoisted_1 = {
|
|
46483
46502
|
key: 0,
|
|
46484
46503
|
ref: "evChartToolbarRef"
|
|
46485
46504
|
};
|
|
46486
|
-
var
|
|
46505
|
+
var ChartGroupvue_type_template_id_2db10c44_scoped_true_hoisted_2 = {
|
|
46487
46506
|
ref: "evChartGroupRef",
|
|
46488
46507
|
class: "ev-chart-group__wrapper"
|
|
46489
46508
|
};
|
|
46490
46509
|
|
|
46491
46510
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])();
|
|
46492
46511
|
|
|
46493
|
-
var
|
|
46512
|
+
var ChartGroupvue_type_template_id_2db10c44_scoped_true_render = /*#__PURE__*/ChartGroupvue_type_template_id_2db10c44_scoped_true_withId(function (_ctx, _cache, $props, $setup, $data, $options) {
|
|
46494
46513
|
var _component_ev_chart_toolbar = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-chart-toolbar");
|
|
46495
46514
|
|
|
46496
|
-
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 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div",
|
|
46515
|
+
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 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", ChartGroupvue_type_template_id_2db10c44_scoped_true_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ev_chart_toolbar, {
|
|
46497
46516
|
toolbar: $setup.zoomOptions.toolbar,
|
|
46498
46517
|
onOnClickToolbar: $setup.onClickToolbar
|
|
46499
|
-
}, null, 8, ["toolbar", "onOnClickToolbar"])], 512)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div",
|
|
46518
|
+
}, null, 8, ["toolbar", "onOnClickToolbar"])], 512)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", ChartGroupvue_type_template_id_2db10c44_scoped_true_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "default")], 512)], 64);
|
|
46500
46519
|
});
|
|
46501
|
-
// CONCATENATED MODULE: ./src/components/chartGroup/ChartGroup.vue?vue&type=template&id=
|
|
46520
|
+
// CONCATENATED MODULE: ./src/components/chartGroup/ChartGroup.vue?vue&type=template&id=2db10c44&scoped=true
|
|
46502
46521
|
|
|
46503
46522
|
// CONCATENATED MODULE: ./src/components/chartGroup/uses.js
|
|
46504
46523
|
|
|
@@ -46585,8 +46604,10 @@ var uses_useGroupModel = function useGroupModel() {
|
|
|
46585
46604
|
default: null
|
|
46586
46605
|
}
|
|
46587
46606
|
},
|
|
46588
|
-
emits: ['update:zoomStartIdx', 'update:zoomEndIdx'],
|
|
46589
|
-
setup: function setup(props) {
|
|
46607
|
+
emits: ['update:groupSelectedLabel', 'update:zoomStartIdx', 'update:zoomEndIdx'],
|
|
46608
|
+
setup: function setup(props, _ref) {
|
|
46609
|
+
var emit = _ref.emit;
|
|
46610
|
+
|
|
46590
46611
|
var _useGroupModel = uses_useGroupModel(),
|
|
46591
46612
|
getNormalizedOptions = _useGroupModel.getNormalizedOptions,
|
|
46592
46613
|
isExecuteZoom = _useGroupModel.isExecuteZoom,
|
|
@@ -46597,8 +46618,13 @@ var uses_useGroupModel = function useGroupModel() {
|
|
|
46597
46618
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["provide"])('isExecuteZoom', isExecuteZoom);
|
|
46598
46619
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["provide"])('isChartGroup', true);
|
|
46599
46620
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["provide"])('brushSeries', brushSeries);
|
|
46600
|
-
var groupSelectedLabel = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(
|
|
46601
|
-
|
|
46621
|
+
var groupSelectedLabel = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])({
|
|
46622
|
+
get: function get() {
|
|
46623
|
+
return props.groupSelectedLabel;
|
|
46624
|
+
},
|
|
46625
|
+
set: function set(val) {
|
|
46626
|
+
return emit('update:groupSelectedLabel', val);
|
|
46627
|
+
}
|
|
46602
46628
|
});
|
|
46603
46629
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["provide"])('groupSelectedLabel', groupSelectedLabel);
|
|
46604
46630
|
|
|
@@ -46640,10 +46666,10 @@ var uses_useGroupModel = function useGroupModel() {
|
|
|
46640
46666
|
});
|
|
46641
46667
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () {
|
|
46642
46668
|
return [props.zoomStartIdx, props.zoomEndIdx];
|
|
46643
|
-
}, function (
|
|
46644
|
-
var
|
|
46645
|
-
zoomStartIdx =
|
|
46646
|
-
zoomEndIdx =
|
|
46669
|
+
}, function (_ref2) {
|
|
46670
|
+
var _ref3 = _slicedToArray(_ref2, 2),
|
|
46671
|
+
zoomStartIdx = _ref3[0],
|
|
46672
|
+
zoomEndIdx = _ref3[1];
|
|
46647
46673
|
|
|
46648
46674
|
if (brushIdx.isUseButton || brushIdx.isUseScroll) {
|
|
46649
46675
|
return;
|
|
@@ -46661,8 +46687,8 @@ var uses_useGroupModel = function useGroupModel() {
|
|
|
46661
46687
|
});
|
|
46662
46688
|
// CONCATENATED MODULE: ./src/components/chartGroup/ChartGroup.vue?vue&type=script&lang=js
|
|
46663
46689
|
|
|
46664
|
-
// EXTERNAL MODULE: ./src/components/chartGroup/ChartGroup.vue?vue&type=style&index=0&id=
|
|
46665
|
-
var
|
|
46690
|
+
// EXTERNAL MODULE: ./src/components/chartGroup/ChartGroup.vue?vue&type=style&index=0&id=2db10c44&lang=scss&scoped=true
|
|
46691
|
+
var ChartGroupvue_type_style_index_0_id_2db10c44_lang_scss_scoped_true = __webpack_require__("7f2c");
|
|
46666
46692
|
|
|
46667
46693
|
// CONCATENATED MODULE: ./src/components/chartGroup/ChartGroup.vue
|
|
46668
46694
|
|
|
@@ -46672,7 +46698,7 @@ var ChartGroupvue_type_style_index_0_id_bd8c6660_lang_scss_scoped_true = __webpa
|
|
|
46672
46698
|
|
|
46673
46699
|
|
|
46674
46700
|
|
|
46675
|
-
const ChartGroup_exports_ = /*#__PURE__*/exportHelper_default()(ChartGroupvue_type_script_lang_js, [['render',
|
|
46701
|
+
const ChartGroup_exports_ = /*#__PURE__*/exportHelper_default()(ChartGroupvue_type_script_lang_js, [['render',ChartGroupvue_type_template_id_2db10c44_scoped_true_render],['__scopeId',"data-v-2db10c44"]])
|
|
46676
46702
|
|
|
46677
46703
|
/* harmony default export */ var ChartGroup = (ChartGroup_exports_);
|
|
46678
46704
|
// CONCATENATED MODULE: ./src/components/chartGroup/index.js
|
|
@@ -46686,9 +46712,9 @@ ChartGroup.install = function (app) {
|
|
|
46686
46712
|
};
|
|
46687
46713
|
|
|
46688
46714
|
/* 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=
|
|
46715
|
+
// 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
46716
|
|
|
46691
|
-
function
|
|
46717
|
+
function ChartBrushvue_type_template_id_7d0c10ab_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
46692
46718
|
var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
|
|
46693
46719
|
|
|
46694
46720
|
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 +46724,7 @@ function ChartBrushvue_type_template_id_1b10467a_render(_ctx, _cache, $props, $s
|
|
|
46698
46724
|
class: "ev-chart-brush"
|
|
46699
46725
|
}, null, 4)), [[_directive_resize, $setup.onResize]]) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
46700
46726
|
}
|
|
46701
|
-
// CONCATENATED MODULE: ./src/components/chartBrush/ChartBrush.vue?vue&type=template&id=
|
|
46727
|
+
// CONCATENATED MODULE: ./src/components/chartBrush/ChartBrush.vue?vue&type=template&id=7d0c10ab
|
|
46702
46728
|
|
|
46703
46729
|
// CONCATENATED MODULE: ./src/components/chartBrush/chartBrush.core.js
|
|
46704
46730
|
|
|
@@ -46729,6 +46755,8 @@ var chartBrush_core_EvChartBrush = /*#__PURE__*/function () {
|
|
|
46729
46755
|
key: "init",
|
|
46730
46756
|
value: function init(isResize) {
|
|
46731
46757
|
if (this.brushIdx.start > this.brushIdx.end) {
|
|
46758
|
+
this.initEventState();
|
|
46759
|
+
this.removeBrushCanvas();
|
|
46732
46760
|
return;
|
|
46733
46761
|
}
|
|
46734
46762
|
|
|
@@ -46795,40 +46823,43 @@ var chartBrush_core_EvChartBrush = /*#__PURE__*/function () {
|
|
|
46795
46823
|
|
|
46796
46824
|
var brushIdx = (_this$debounceBrushId = this.debounceBrushIdx) !== null && _this$debounceBrushId !== void 0 ? _this$debounceBrushId : this.brushIdx;
|
|
46797
46825
|
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
|
-
|
|
46826
|
+
|
|
46827
|
+
if (labelEndIdx >= 0) {
|
|
46828
|
+
this.labelEndIdx = labelEndIdx;
|
|
46829
|
+
var axesXInterval = (evChartRange.x2 - evChartRange.x1) / labelEndIdx;
|
|
46830
|
+
var brushRectX = brushIdx.start * axesXInterval * pixelRatio;
|
|
46831
|
+
var brushRectWidth = (brushCanvasWidth - (labelEndIdx - (brushIdx.end - brushIdx.start)) * axesXInterval) * pixelRatio;
|
|
46832
|
+
var brushRectHeight = this.evChartBrushOptions.value.height - evChartRange.y1;
|
|
46833
|
+
var brushButtonLeftXPos = brushRectX;
|
|
46834
|
+
var brushButtonRightXPos = brushRectX + brushRectWidth;
|
|
46835
|
+
|
|
46836
|
+
if (!brushCanvas.style.position) {
|
|
46837
|
+
brushCanvas.style.position = 'absolute';
|
|
46838
|
+
brushCanvas.style.top = "".concat(evChartRange.y1, "px");
|
|
46839
|
+
brushCanvas.style.left = "".concat(evChartRange.x1 - brushButtonWidth / 2, "px");
|
|
46840
|
+
}
|
|
46841
|
+
|
|
46842
|
+
if (!isEqualWidth) {
|
|
46843
|
+
brushCanvas.width = brushCanvasWidth * pixelRatio;
|
|
46844
|
+
brushCanvas.style.width = "".concat(brushCanvasWidth, "px");
|
|
46845
|
+
brushCanvas.height = brushCanvasHeight * pixelRatio;
|
|
46846
|
+
brushCanvas.style.height = "".concat(brushCanvasHeight, "px");
|
|
46847
|
+
}
|
|
46848
|
+
|
|
46849
|
+
var ctx = brushCanvas.getContext('2d');
|
|
46850
|
+
ctx.clearRect(0, 0, brushCanvasWidth * pixelRatio, brushCanvasHeight * pixelRatio);
|
|
46851
|
+
ctx.fillStyle = this.evChartBrushOptions.value.selection.fillColor;
|
|
46852
|
+
ctx.globalAlpha = this.evChartBrushOptions.value.selection.opacity;
|
|
46853
|
+
ctx.fillRect(brushRectX, 0, brushRectWidth, brushRectHeight);
|
|
46854
|
+
ctx.fillRect(brushButtonLeftXPos, 0, brushButtonWidth, brushRectHeight);
|
|
46855
|
+
ctx.fillRect(brushButtonRightXPos - brushButtonWidth, 0, brushButtonWidth, brushRectHeight);
|
|
46856
|
+
this.evChartBrushPos = {
|
|
46857
|
+
leftX: brushButtonLeftXPos / pixelRatio,
|
|
46858
|
+
rightX: brushButtonRightXPos / pixelRatio,
|
|
46859
|
+
buttonWidth: brushButtonWidth,
|
|
46860
|
+
axesXInterval: axesXInterval
|
|
46861
|
+
};
|
|
46862
|
+
}
|
|
46832
46863
|
}
|
|
46833
46864
|
}, {
|
|
46834
46865
|
key: "addEvent",
|
|
@@ -47244,7 +47275,7 @@ var uses_useBrushModel = function useBrushModel() {
|
|
|
47244
47275
|
});
|
|
47245
47276
|
var injectBrushIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('brushIdx', {
|
|
47246
47277
|
start: 0,
|
|
47247
|
-
end:
|
|
47278
|
+
end: -1,
|
|
47248
47279
|
isUseButton: false,
|
|
47249
47280
|
isUseScroll: false
|
|
47250
47281
|
});
|
|
@@ -47551,7 +47582,7 @@ var uses_useBrushModel = function useBrushModel() {
|
|
|
47551
47582
|
|
|
47552
47583
|
|
|
47553
47584
|
|
|
47554
|
-
const ChartBrush_exports_ = /*#__PURE__*/exportHelper_default()(ChartBrushvue_type_script_lang_js, [['render',
|
|
47585
|
+
const ChartBrush_exports_ = /*#__PURE__*/exportHelper_default()(ChartBrushvue_type_script_lang_js, [['render',ChartBrushvue_type_template_id_7d0c10ab_render]])
|
|
47555
47586
|
|
|
47556
47587
|
/* harmony default export */ var ChartBrush = (ChartBrush_exports_);
|
|
47557
47588
|
// CONCATENATED MODULE: ./src/components/chartBrush/index.js
|