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.common.js
CHANGED
|
@@ -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":
|
|
@@ -275,20 +290,6 @@ $({ target: 'Object', stat: true }, {
|
|
|
275
290
|
});
|
|
276
291
|
|
|
277
292
|
|
|
278
|
-
/***/ }),
|
|
279
|
-
|
|
280
|
-
/***/ "08a2":
|
|
281
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
282
|
-
|
|
283
|
-
// Imports
|
|
284
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
285
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
286
|
-
// Module
|
|
287
|
-
exports.push([module.i, ".ev-chart-group__wrapper[data-v-bd8c6660]{display:flex;height:100%;flex-direction:column}", ""]);
|
|
288
|
-
// Exports
|
|
289
|
-
module.exports = exports;
|
|
290
|
-
|
|
291
|
-
|
|
292
293
|
/***/ }),
|
|
293
294
|
|
|
294
295
|
/***/ "0924":
|
|
@@ -328,17 +329,6 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
328
329
|
});
|
|
329
330
|
|
|
330
331
|
|
|
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
332
|
/***/ }),
|
|
343
333
|
|
|
344
334
|
/***/ "0eff":
|
|
@@ -391,21 +381,6 @@ module.exports = ''.repeat || function repeat(count) {
|
|
|
391
381
|
};
|
|
392
382
|
|
|
393
383
|
|
|
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
384
|
/***/ }),
|
|
410
385
|
|
|
411
386
|
/***/ "1276":
|
|
@@ -683,6 +658,20 @@ if(content.locals) module.exports = content.locals;
|
|
|
683
658
|
var add = __webpack_require__("499e").default
|
|
684
659
|
var update = add("ede85a96", content, true, {"sourceMap":false,"shadowMode":false});
|
|
685
660
|
|
|
661
|
+
/***/ }),
|
|
662
|
+
|
|
663
|
+
/***/ "17c0":
|
|
664
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
665
|
+
|
|
666
|
+
// Imports
|
|
667
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
668
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
669
|
+
// Module
|
|
670
|
+
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}", ""]);
|
|
671
|
+
// Exports
|
|
672
|
+
module.exports = exports;
|
|
673
|
+
|
|
674
|
+
|
|
686
675
|
/***/ }),
|
|
687
676
|
|
|
688
677
|
/***/ "17c2":
|
|
@@ -7237,6 +7226,17 @@ module.exports = function (NAME) {
|
|
|
7237
7226
|
};
|
|
7238
7227
|
|
|
7239
7228
|
|
|
7229
|
+
/***/ }),
|
|
7230
|
+
|
|
7231
|
+
/***/ "74f8":
|
|
7232
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7233
|
+
|
|
7234
|
+
"use strict";
|
|
7235
|
+
/* 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");
|
|
7236
|
+
/* 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__);
|
|
7237
|
+
/* unused harmony reexport * */
|
|
7238
|
+
|
|
7239
|
+
|
|
7240
7240
|
/***/ }),
|
|
7241
7241
|
|
|
7242
7242
|
/***/ "76c7":
|
|
@@ -7561,6 +7561,17 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I
|
|
|
7561
7561
|
};
|
|
7562
7562
|
|
|
7563
7563
|
|
|
7564
|
+
/***/ }),
|
|
7565
|
+
|
|
7566
|
+
/***/ "7f2c":
|
|
7567
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7568
|
+
|
|
7569
|
+
"use strict";
|
|
7570
|
+
/* 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");
|
|
7571
|
+
/* 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__);
|
|
7572
|
+
/* unused harmony reexport * */
|
|
7573
|
+
|
|
7574
|
+
|
|
7564
7575
|
/***/ }),
|
|
7565
7576
|
|
|
7566
7577
|
/***/ "7f9a":
|
|
@@ -7624,17 +7635,6 @@ module.exports = function (it) {
|
|
|
7624
7635
|
};
|
|
7625
7636
|
|
|
7626
7637
|
|
|
7627
|
-
/***/ }),
|
|
7628
|
-
|
|
7629
|
-
/***/ "8352":
|
|
7630
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7631
|
-
|
|
7632
|
-
"use strict";
|
|
7633
|
-
/* 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");
|
|
7634
|
-
/* 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__);
|
|
7635
|
-
/* unused harmony reexport * */
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
7638
|
/***/ }),
|
|
7639
7639
|
|
|
7640
7640
|
/***/ "83ab":
|
|
@@ -7680,20 +7680,6 @@ exports.push([module.i, ".ev-window-scroll-lock{overflow:hidden!important}.ev-wi
|
|
|
7680
7680
|
module.exports = exports;
|
|
7681
7681
|
|
|
7682
7682
|
|
|
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
7683
|
/***/ }),
|
|
7698
7684
|
|
|
7699
7685
|
/***/ "861d":
|
|
@@ -7971,7 +7957,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
7971
7957
|
/***/ "9224":
|
|
7972
7958
|
/***/ (function(module) {
|
|
7973
7959
|
|
|
7974
|
-
module.exports = JSON.parse("{\"a\":\"3.3.
|
|
7960
|
+
module.exports = JSON.parse("{\"a\":\"3.3.42\"}");
|
|
7975
7961
|
|
|
7976
7962
|
/***/ }),
|
|
7977
7963
|
|
|
@@ -8882,6 +8868,21 @@ var update = add("6e9caba0", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
8882
8868
|
|
|
8883
8869
|
/***/ }),
|
|
8884
8870
|
|
|
8871
|
+
/***/ "97ea":
|
|
8872
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
8873
|
+
|
|
8874
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
8875
|
+
|
|
8876
|
+
// load the styles
|
|
8877
|
+
var content = __webpack_require__("d9d2");
|
|
8878
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
8879
|
+
if(content.locals) module.exports = content.locals;
|
|
8880
|
+
// add the styles to the DOM
|
|
8881
|
+
var add = __webpack_require__("499e").default
|
|
8882
|
+
var update = add("05d41eae", content, true, {"sourceMap":false,"shadowMode":false});
|
|
8883
|
+
|
|
8884
|
+
/***/ }),
|
|
8885
|
+
|
|
8885
8886
|
/***/ "99af":
|
|
8886
8887
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8887
8888
|
|
|
@@ -10599,21 +10600,6 @@ module.exports = function (METHOD_NAME) {
|
|
|
10599
10600
|
};
|
|
10600
10601
|
|
|
10601
10602
|
|
|
10602
|
-
/***/ }),
|
|
10603
|
-
|
|
10604
|
-
/***/ "c920":
|
|
10605
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10606
|
-
|
|
10607
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
10608
|
-
|
|
10609
|
-
// load the styles
|
|
10610
|
-
var content = __webpack_require__("08a2");
|
|
10611
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
10612
|
-
if(content.locals) module.exports = content.locals;
|
|
10613
|
-
// add the styles to the DOM
|
|
10614
|
-
var add = __webpack_require__("499e").default
|
|
10615
|
-
var update = add("7946d016", content, true, {"sourceMap":false,"shadowMode":false});
|
|
10616
|
-
|
|
10617
10603
|
/***/ }),
|
|
10618
10604
|
|
|
10619
10605
|
/***/ "c975":
|
|
@@ -11238,6 +11224,20 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT
|
|
|
11238
11224
|
});
|
|
11239
11225
|
|
|
11240
11226
|
|
|
11227
|
+
/***/ }),
|
|
11228
|
+
|
|
11229
|
+
/***/ "d9d2":
|
|
11230
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
11231
|
+
|
|
11232
|
+
// Imports
|
|
11233
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
11234
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
11235
|
+
// Module
|
|
11236
|
+
exports.push([module.i, ".ev-chart-group__wrapper[data-v-2db10c44]{display:flex;height:100%;flex-direction:column}", ""]);
|
|
11237
|
+
// Exports
|
|
11238
|
+
module.exports = exports;
|
|
11239
|
+
|
|
11240
|
+
|
|
11241
11241
|
/***/ }),
|
|
11242
11242
|
|
|
11243
11243
|
/***/ "da84":
|
|
@@ -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=
|
|
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
|
|
30898
|
+
var Chartvue_type_template_id_0627777b_hoisted_1 = {
|
|
30899
30899
|
key: 0,
|
|
30900
30900
|
ref: "evChartToolbarRef"
|
|
30901
30901
|
};
|
|
30902
|
-
function
|
|
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",
|
|
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=
|
|
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
|
/**
|
|
@@ -35342,13 +35342,14 @@ var element_line_Line = /*#__PURE__*/function () {
|
|
|
35342
35342
|
var gdata = this.data;
|
|
35343
35343
|
var s = 0;
|
|
35344
35344
|
var e = gdata.length - 1;
|
|
35345
|
+
var xpInterval = gdata[1].xp - gdata[0].xp < 6 ? 1.5 : 6;
|
|
35345
35346
|
|
|
35346
35347
|
while (s <= e) {
|
|
35347
35348
|
var m = Math.floor((s + e) / 2);
|
|
35348
35349
|
var x = gdata[m].xp;
|
|
35349
35350
|
var y = gdata[m].yp;
|
|
35350
35351
|
|
|
35351
|
-
if (x -
|
|
35352
|
+
if (x - xpInterval < xp && xp < x + xpInterval) {
|
|
35352
35353
|
item.data = gdata[m];
|
|
35353
35354
|
item.index = m;
|
|
35354
35355
|
|
|
@@ -35357,10 +35358,10 @@ var element_line_Line = /*#__PURE__*/function () {
|
|
|
35357
35358
|
}
|
|
35358
35359
|
|
|
35359
35360
|
return item;
|
|
35360
|
-
} else if (x +
|
|
35361
|
-
s = m + 1;
|
|
35362
|
-
} else {
|
|
35361
|
+
} else if (x + xpInterval > xp) {
|
|
35363
35362
|
e = m - 1;
|
|
35363
|
+
} else {
|
|
35364
|
+
s = m + 1;
|
|
35364
35365
|
}
|
|
35365
35366
|
}
|
|
35366
35367
|
|
|
@@ -37901,7 +37902,7 @@ var scale_Scale = /*#__PURE__*/function () {
|
|
|
37901
37902
|
|
|
37902
37903
|
labelPoint = this.position === 'top' ? offsetPoint - 10 : offsetPoint + 10;
|
|
37903
37904
|
|
|
37904
|
-
if (options !== null && options !== void 0 && (_options$brush = options.brush) !== null && _options$brush !== void 0 && _options$brush.showLabel || !options.brush) {
|
|
37905
|
+
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)) {
|
|
37905
37906
|
ctx.fillText(labelText, labelCenter, labelPoint);
|
|
37906
37907
|
}
|
|
37907
37908
|
|
|
@@ -37936,7 +37937,7 @@ var scale_Scale = /*#__PURE__*/function () {
|
|
|
37936
37937
|
|
|
37937
37938
|
labelPoint = this.position === 'left' ? offsetPoint - 10 : offsetPoint + 10;
|
|
37938
37939
|
|
|
37939
|
-
if (options !== null && options !== void 0 && (_options$brush2 = options.brush) !== null && _options$brush2 !== void 0 && _options$brush2.showLabel || !options.brush) {
|
|
37940
|
+
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)) {
|
|
37940
37941
|
ctx.fillText(labelText, labelPoint, labelCenter);
|
|
37941
37942
|
}
|
|
37942
37943
|
|
|
@@ -39464,19 +39465,11 @@ var plugins_title_modules = {
|
|
|
39464
39465
|
* @returns {undefined}
|
|
39465
39466
|
*/
|
|
39466
39467
|
initTitle: function initTitle() {
|
|
39467
|
-
var _this = this;
|
|
39468
|
-
|
|
39469
39468
|
if (!this.isInitTitle) {
|
|
39470
39469
|
this.createTitle();
|
|
39471
39470
|
}
|
|
39472
39471
|
|
|
39473
|
-
|
|
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");
|
|
39472
|
+
this.updateTitle();
|
|
39480
39473
|
this.isInitTitle = true;
|
|
39481
39474
|
},
|
|
39482
39475
|
|
|
@@ -39498,6 +39491,17 @@ var plugins_title_modules = {
|
|
|
39498
39491
|
hideTitle: function hideTitle() {
|
|
39499
39492
|
this.titleDOM.style.display = 'none';
|
|
39500
39493
|
this.wrapperDOM.style.paddingTop = '0px';
|
|
39494
|
+
},
|
|
39495
|
+
updateTitle: function updateTitle() {
|
|
39496
|
+
var _this = this;
|
|
39497
|
+
|
|
39498
|
+
var opt = this.options.title;
|
|
39499
|
+
Object.keys(opt.style).forEach(function (key) {
|
|
39500
|
+
_this.titleDOM.style[key] = opt.style[key];
|
|
39501
|
+
});
|
|
39502
|
+
this.titleDOM.textContent = opt.text;
|
|
39503
|
+
this.titleDOM.style.height = "".concat(opt.height, "px");
|
|
39504
|
+
this.titleDOM.style.lineHeight = "".concat(opt.height, "px");
|
|
39501
39505
|
}
|
|
39502
39506
|
};
|
|
39503
39507
|
/* harmony default export */ var plugins_title = (plugins_title_modules);
|
|
@@ -44743,6 +44747,8 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
44743
44747
|
if (options.title.show) {
|
|
44744
44748
|
if (!this.isInitTitle) {
|
|
44745
44749
|
this.initTitle();
|
|
44750
|
+
} else {
|
|
44751
|
+
this.updateTitle();
|
|
44746
44752
|
}
|
|
44747
44753
|
|
|
44748
44754
|
this.showTitle();
|
|
@@ -45430,7 +45436,7 @@ var chartZoom_core_EvChartZoom = /*#__PURE__*/function () {
|
|
|
45430
45436
|
}
|
|
45431
45437
|
};
|
|
45432
45438
|
|
|
45433
|
-
if (isUseZoomMode) {
|
|
45439
|
+
if (isUseZoomMode && this.dragZoomIcon.classList.contains('active')) {
|
|
45434
45440
|
var _this$zoomAreaMemory2 = this.zoomAreaMemory,
|
|
45435
45441
|
previous = _this$zoomAreaMemory2.previous,
|
|
45436
45442
|
latest = _this$zoomAreaMemory2.latest;
|
|
@@ -45894,7 +45900,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
45894
45900
|
});
|
|
45895
45901
|
var brushIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({
|
|
45896
45902
|
start: 0,
|
|
45897
|
-
end:
|
|
45903
|
+
end: -1,
|
|
45898
45904
|
isUseButton: false,
|
|
45899
45905
|
isUseScroll: false
|
|
45900
45906
|
});
|
|
@@ -45910,6 +45916,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
45910
45916
|
data: null,
|
|
45911
45917
|
options: null
|
|
45912
45918
|
});
|
|
45919
|
+
var brushChartIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])([]);
|
|
45913
45920
|
|
|
45914
45921
|
var getRangeInfo = function getRangeInfo(zoomInfo) {
|
|
45915
45922
|
if (zoomInfo.data.length && zoomInfo.range && isUseZoomMode.value) {
|
|
@@ -45961,6 +45968,10 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
45961
45968
|
chartIdx++;
|
|
45962
45969
|
evChartInfo.props.data.push(data);
|
|
45963
45970
|
evChartInfo.props.options.push(options);
|
|
45971
|
+
} else if ((type === null || type === void 0 ? void 0 : type.name) === 'EvChartBrush') {
|
|
45972
|
+
var _evChartProps$options, _evChartProps$options2;
|
|
45973
|
+
|
|
45974
|
+
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
45975
|
}
|
|
45965
45976
|
});
|
|
45966
45977
|
}
|
|
@@ -46057,8 +46068,16 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
46057
46068
|
evChartClone.data = evChartGroupRef ? lodash_es_cloneDeep(newData) : [lodash_es_cloneDeep(newData)];
|
|
46058
46069
|
isUseZoomMode.value = false;
|
|
46059
46070
|
setEvChartOptions();
|
|
46060
|
-
brushIdx.
|
|
46061
|
-
|
|
46071
|
+
brushIdx.end = -1;
|
|
46072
|
+
|
|
46073
|
+
for (var i = 0; i < brushChartIdx.value.length; i++) {
|
|
46074
|
+
var data = evChartClone.data[brushChartIdx.value[i]];
|
|
46075
|
+
|
|
46076
|
+
if (data.labels.length) {
|
|
46077
|
+
brushIdx.start = 0;
|
|
46078
|
+
brushIdx.end = data.labels.length - 1;
|
|
46079
|
+
}
|
|
46080
|
+
}
|
|
46062
46081
|
|
|
46063
46082
|
if (evChartZoom) {
|
|
46064
46083
|
evChartZoom.updateEvChartCloneData(evChartClone, isUseZoomMode.value);
|
|
@@ -46206,7 +46225,7 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
46206
46225
|
var injectGroupSelectedLabel = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('groupSelectedLabel', null);
|
|
46207
46226
|
var injectBrushIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('brushIdx', {
|
|
46208
46227
|
start: 0,
|
|
46209
|
-
end:
|
|
46228
|
+
end: -1
|
|
46210
46229
|
});
|
|
46211
46230
|
|
|
46212
46231
|
var _useModel = chart_uses_useModel(injectGroupSelectedLabel),
|
|
@@ -46438,8 +46457,8 @@ var uses_useZoomModel = function useZoomModel(evChartNormalizedOptions, _ref, se
|
|
|
46438
46457
|
});
|
|
46439
46458
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
|
|
46440
46459
|
|
|
46441
|
-
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=
|
|
46442
|
-
var
|
|
46460
|
+
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=0627777b&lang=scss
|
|
46461
|
+
var Chartvue_type_style_index_0_id_0627777b_lang_scss = __webpack_require__("74f8");
|
|
46443
46462
|
|
|
46444
46463
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue
|
|
46445
46464
|
|
|
@@ -46449,7 +46468,7 @@ var Chartvue_type_style_index_0_id_018cc1f3_lang_scss = __webpack_require__("0d1
|
|
|
46449
46468
|
|
|
46450
46469
|
|
|
46451
46470
|
|
|
46452
|
-
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',
|
|
46471
|
+
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_0627777b_render]])
|
|
46453
46472
|
|
|
46454
46473
|
/* harmony default export */ var Chart = (Chart_exports_);
|
|
46455
46474
|
// CONCATENATED MODULE: ./src/components/chart/index.js
|
|
@@ -46463,33 +46482,33 @@ Chart.install = function (app) {
|
|
|
46463
46482
|
};
|
|
46464
46483
|
|
|
46465
46484
|
/* harmony default export */ var chart = (Chart);
|
|
46466
|
-
// 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=
|
|
46485
|
+
// 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
|
|
46467
46486
|
|
|
46468
46487
|
|
|
46469
|
-
var
|
|
46488
|
+
var ChartGroupvue_type_template_id_2db10c44_scoped_true_withId = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withScopeId"])("data-v-2db10c44");
|
|
46470
46489
|
|
|
46471
|
-
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
46490
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-2db10c44");
|
|
46472
46491
|
|
|
46473
|
-
var
|
|
46492
|
+
var ChartGroupvue_type_template_id_2db10c44_scoped_true_hoisted_1 = {
|
|
46474
46493
|
key: 0,
|
|
46475
46494
|
ref: "evChartToolbarRef"
|
|
46476
46495
|
};
|
|
46477
|
-
var
|
|
46496
|
+
var ChartGroupvue_type_template_id_2db10c44_scoped_true_hoisted_2 = {
|
|
46478
46497
|
ref: "evChartGroupRef",
|
|
46479
46498
|
class: "ev-chart-group__wrapper"
|
|
46480
46499
|
};
|
|
46481
46500
|
|
|
46482
46501
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])();
|
|
46483
46502
|
|
|
46484
|
-
var
|
|
46503
|
+
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) {
|
|
46485
46504
|
var _component_ev_chart_toolbar = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-chart-toolbar");
|
|
46486
46505
|
|
|
46487
|
-
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",
|
|
46506
|
+
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, {
|
|
46488
46507
|
toolbar: $setup.zoomOptions.toolbar,
|
|
46489
46508
|
onOnClickToolbar: $setup.onClickToolbar
|
|
46490
|
-
}, 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",
|
|
46509
|
+
}, 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);
|
|
46491
46510
|
});
|
|
46492
|
-
// CONCATENATED MODULE: ./src/components/chartGroup/ChartGroup.vue?vue&type=template&id=
|
|
46511
|
+
// CONCATENATED MODULE: ./src/components/chartGroup/ChartGroup.vue?vue&type=template&id=2db10c44&scoped=true
|
|
46493
46512
|
|
|
46494
46513
|
// CONCATENATED MODULE: ./src/components/chartGroup/uses.js
|
|
46495
46514
|
|
|
@@ -46576,8 +46595,10 @@ var uses_useGroupModel = function useGroupModel() {
|
|
|
46576
46595
|
default: null
|
|
46577
46596
|
}
|
|
46578
46597
|
},
|
|
46579
|
-
emits: ['update:zoomStartIdx', 'update:zoomEndIdx'],
|
|
46580
|
-
setup: function setup(props) {
|
|
46598
|
+
emits: ['update:groupSelectedLabel', 'update:zoomStartIdx', 'update:zoomEndIdx'],
|
|
46599
|
+
setup: function setup(props, _ref) {
|
|
46600
|
+
var emit = _ref.emit;
|
|
46601
|
+
|
|
46581
46602
|
var _useGroupModel = uses_useGroupModel(),
|
|
46582
46603
|
getNormalizedOptions = _useGroupModel.getNormalizedOptions,
|
|
46583
46604
|
isExecuteZoom = _useGroupModel.isExecuteZoom,
|
|
@@ -46588,8 +46609,13 @@ var uses_useGroupModel = function useGroupModel() {
|
|
|
46588
46609
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["provide"])('isExecuteZoom', isExecuteZoom);
|
|
46589
46610
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["provide"])('isChartGroup', true);
|
|
46590
46611
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["provide"])('brushSeries', brushSeries);
|
|
46591
|
-
var groupSelectedLabel = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(
|
|
46592
|
-
|
|
46612
|
+
var groupSelectedLabel = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])({
|
|
46613
|
+
get: function get() {
|
|
46614
|
+
return props.groupSelectedLabel;
|
|
46615
|
+
},
|
|
46616
|
+
set: function set(val) {
|
|
46617
|
+
return emit('update:groupSelectedLabel', val);
|
|
46618
|
+
}
|
|
46593
46619
|
});
|
|
46594
46620
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["provide"])('groupSelectedLabel', groupSelectedLabel);
|
|
46595
46621
|
|
|
@@ -46631,10 +46657,10 @@ var uses_useGroupModel = function useGroupModel() {
|
|
|
46631
46657
|
});
|
|
46632
46658
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () {
|
|
46633
46659
|
return [props.zoomStartIdx, props.zoomEndIdx];
|
|
46634
|
-
}, function (
|
|
46635
|
-
var
|
|
46636
|
-
zoomStartIdx =
|
|
46637
|
-
zoomEndIdx =
|
|
46660
|
+
}, function (_ref2) {
|
|
46661
|
+
var _ref3 = _slicedToArray(_ref2, 2),
|
|
46662
|
+
zoomStartIdx = _ref3[0],
|
|
46663
|
+
zoomEndIdx = _ref3[1];
|
|
46638
46664
|
|
|
46639
46665
|
if (brushIdx.isUseButton || brushIdx.isUseScroll) {
|
|
46640
46666
|
return;
|
|
@@ -46652,8 +46678,8 @@ var uses_useGroupModel = function useGroupModel() {
|
|
|
46652
46678
|
});
|
|
46653
46679
|
// CONCATENATED MODULE: ./src/components/chartGroup/ChartGroup.vue?vue&type=script&lang=js
|
|
46654
46680
|
|
|
46655
|
-
// EXTERNAL MODULE: ./src/components/chartGroup/ChartGroup.vue?vue&type=style&index=0&id=
|
|
46656
|
-
var
|
|
46681
|
+
// EXTERNAL MODULE: ./src/components/chartGroup/ChartGroup.vue?vue&type=style&index=0&id=2db10c44&lang=scss&scoped=true
|
|
46682
|
+
var ChartGroupvue_type_style_index_0_id_2db10c44_lang_scss_scoped_true = __webpack_require__("7f2c");
|
|
46657
46683
|
|
|
46658
46684
|
// CONCATENATED MODULE: ./src/components/chartGroup/ChartGroup.vue
|
|
46659
46685
|
|
|
@@ -46663,7 +46689,7 @@ var ChartGroupvue_type_style_index_0_id_bd8c6660_lang_scss_scoped_true = __webpa
|
|
|
46663
46689
|
|
|
46664
46690
|
|
|
46665
46691
|
|
|
46666
|
-
const ChartGroup_exports_ = /*#__PURE__*/exportHelper_default()(ChartGroupvue_type_script_lang_js, [['render',
|
|
46692
|
+
const ChartGroup_exports_ = /*#__PURE__*/exportHelper_default()(ChartGroupvue_type_script_lang_js, [['render',ChartGroupvue_type_template_id_2db10c44_scoped_true_render],['__scopeId',"data-v-2db10c44"]])
|
|
46667
46693
|
|
|
46668
46694
|
/* harmony default export */ var ChartGroup = (ChartGroup_exports_);
|
|
46669
46695
|
// CONCATENATED MODULE: ./src/components/chartGroup/index.js
|
|
@@ -46677,9 +46703,9 @@ ChartGroup.install = function (app) {
|
|
|
46677
46703
|
};
|
|
46678
46704
|
|
|
46679
46705
|
/* 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=
|
|
46706
|
+
// 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
46707
|
|
|
46682
|
-
function
|
|
46708
|
+
function ChartBrushvue_type_template_id_7d0c10ab_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
46683
46709
|
var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
|
|
46684
46710
|
|
|
46685
46711
|
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 +46715,7 @@ function ChartBrushvue_type_template_id_1b10467a_render(_ctx, _cache, $props, $s
|
|
|
46689
46715
|
class: "ev-chart-brush"
|
|
46690
46716
|
}, null, 4)), [[_directive_resize, $setup.onResize]]) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
46691
46717
|
}
|
|
46692
|
-
// CONCATENATED MODULE: ./src/components/chartBrush/ChartBrush.vue?vue&type=template&id=
|
|
46718
|
+
// CONCATENATED MODULE: ./src/components/chartBrush/ChartBrush.vue?vue&type=template&id=7d0c10ab
|
|
46693
46719
|
|
|
46694
46720
|
// CONCATENATED MODULE: ./src/components/chartBrush/chartBrush.core.js
|
|
46695
46721
|
|
|
@@ -46720,6 +46746,8 @@ var chartBrush_core_EvChartBrush = /*#__PURE__*/function () {
|
|
|
46720
46746
|
key: "init",
|
|
46721
46747
|
value: function init(isResize) {
|
|
46722
46748
|
if (this.brushIdx.start > this.brushIdx.end) {
|
|
46749
|
+
this.initEventState();
|
|
46750
|
+
this.removeBrushCanvas();
|
|
46723
46751
|
return;
|
|
46724
46752
|
}
|
|
46725
46753
|
|
|
@@ -46786,40 +46814,43 @@ var chartBrush_core_EvChartBrush = /*#__PURE__*/function () {
|
|
|
46786
46814
|
|
|
46787
46815
|
var brushIdx = (_this$debounceBrushId = this.debounceBrushIdx) !== null && _this$debounceBrushId !== void 0 ? _this$debounceBrushId : this.brushIdx;
|
|
46788
46816
|
var labelEndIdx = this.evChartData.value.labels.length - 1;
|
|
46789
|
-
|
|
46790
|
-
|
|
46791
|
-
|
|
46792
|
-
|
|
46793
|
-
|
|
46794
|
-
|
|
46795
|
-
|
|
46796
|
-
|
|
46797
|
-
|
|
46798
|
-
|
|
46799
|
-
brushCanvas.style.
|
|
46800
|
-
|
|
46801
|
-
|
|
46802
|
-
|
|
46803
|
-
|
|
46804
|
-
|
|
46805
|
-
|
|
46806
|
-
|
|
46807
|
-
|
|
46808
|
-
|
|
46809
|
-
|
|
46810
|
-
|
|
46811
|
-
|
|
46812
|
-
|
|
46813
|
-
|
|
46814
|
-
|
|
46815
|
-
|
|
46816
|
-
|
|
46817
|
-
|
|
46818
|
-
|
|
46819
|
-
|
|
46820
|
-
|
|
46821
|
-
|
|
46822
|
-
|
|
46817
|
+
|
|
46818
|
+
if (labelEndIdx >= 0) {
|
|
46819
|
+
this.labelEndIdx = labelEndIdx;
|
|
46820
|
+
var axesXInterval = (evChartRange.x2 - evChartRange.x1) / labelEndIdx;
|
|
46821
|
+
var brushRectX = brushIdx.start * axesXInterval * pixelRatio;
|
|
46822
|
+
var brushRectWidth = (brushCanvasWidth - (labelEndIdx - (brushIdx.end - brushIdx.start)) * axesXInterval) * pixelRatio;
|
|
46823
|
+
var brushRectHeight = this.evChartBrushOptions.value.height - evChartRange.y1;
|
|
46824
|
+
var brushButtonLeftXPos = brushRectX;
|
|
46825
|
+
var brushButtonRightXPos = brushRectX + brushRectWidth;
|
|
46826
|
+
|
|
46827
|
+
if (!brushCanvas.style.position) {
|
|
46828
|
+
brushCanvas.style.position = 'absolute';
|
|
46829
|
+
brushCanvas.style.top = "".concat(evChartRange.y1, "px");
|
|
46830
|
+
brushCanvas.style.left = "".concat(evChartRange.x1 - brushButtonWidth / 2, "px");
|
|
46831
|
+
}
|
|
46832
|
+
|
|
46833
|
+
if (!isEqualWidth) {
|
|
46834
|
+
brushCanvas.width = brushCanvasWidth * pixelRatio;
|
|
46835
|
+
brushCanvas.style.width = "".concat(brushCanvasWidth, "px");
|
|
46836
|
+
brushCanvas.height = brushCanvasHeight * pixelRatio;
|
|
46837
|
+
brushCanvas.style.height = "".concat(brushCanvasHeight, "px");
|
|
46838
|
+
}
|
|
46839
|
+
|
|
46840
|
+
var ctx = brushCanvas.getContext('2d');
|
|
46841
|
+
ctx.clearRect(0, 0, brushCanvasWidth * pixelRatio, brushCanvasHeight * pixelRatio);
|
|
46842
|
+
ctx.fillStyle = this.evChartBrushOptions.value.selection.fillColor;
|
|
46843
|
+
ctx.globalAlpha = this.evChartBrushOptions.value.selection.opacity;
|
|
46844
|
+
ctx.fillRect(brushRectX, 0, brushRectWidth, brushRectHeight);
|
|
46845
|
+
ctx.fillRect(brushButtonLeftXPos, 0, brushButtonWidth, brushRectHeight);
|
|
46846
|
+
ctx.fillRect(brushButtonRightXPos - brushButtonWidth, 0, brushButtonWidth, brushRectHeight);
|
|
46847
|
+
this.evChartBrushPos = {
|
|
46848
|
+
leftX: brushButtonLeftXPos / pixelRatio,
|
|
46849
|
+
rightX: brushButtonRightXPos / pixelRatio,
|
|
46850
|
+
buttonWidth: brushButtonWidth,
|
|
46851
|
+
axesXInterval: axesXInterval
|
|
46852
|
+
};
|
|
46853
|
+
}
|
|
46823
46854
|
}
|
|
46824
46855
|
}, {
|
|
46825
46856
|
key: "addEvent",
|
|
@@ -47235,7 +47266,7 @@ var uses_useBrushModel = function useBrushModel() {
|
|
|
47235
47266
|
});
|
|
47236
47267
|
var injectBrushIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('brushIdx', {
|
|
47237
47268
|
start: 0,
|
|
47238
|
-
end:
|
|
47269
|
+
end: -1,
|
|
47239
47270
|
isUseButton: false,
|
|
47240
47271
|
isUseScroll: false
|
|
47241
47272
|
});
|
|
@@ -47542,7 +47573,7 @@ var uses_useBrushModel = function useBrushModel() {
|
|
|
47542
47573
|
|
|
47543
47574
|
|
|
47544
47575
|
|
|
47545
|
-
const ChartBrush_exports_ = /*#__PURE__*/exportHelper_default()(ChartBrushvue_type_script_lang_js, [['render',
|
|
47576
|
+
const ChartBrush_exports_ = /*#__PURE__*/exportHelper_default()(ChartBrushvue_type_script_lang_js, [['render',ChartBrushvue_type_template_id_7d0c10ab_render]])
|
|
47546
47577
|
|
|
47547
47578
|
/* harmony default export */ var ChartBrush = (ChartBrush_exports_);
|
|
47548
47579
|
// CONCATENATED MODULE: ./src/components/chartBrush/index.js
|