evui 3.3.29 → 3.3.32

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.
@@ -4880,17 +4880,6 @@ function stubFalse() {
4880
4880
  /* unused harmony reexport * */
4881
4881
 
4882
4882
 
4883
- /***/ }),
4884
-
4885
- /***/ "2fe8":
4886
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4887
-
4888
- "use strict";
4889
- /* 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_df219c50_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3d53");
4890
- /* 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_df219c50_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_df219c50_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
4891
- /* unused harmony reexport * */
4892
-
4893
-
4894
4883
  /***/ }),
4895
4884
 
4896
4885
  /***/ "3229":
@@ -5086,21 +5075,6 @@ defineIterator(String, 'String', function (iterated) {
5086
5075
  });
5087
5076
 
5088
5077
 
5089
- /***/ }),
5090
-
5091
- /***/ "3d53":
5092
- /***/ (function(module, exports, __webpack_require__) {
5093
-
5094
- // style-loader: Adds some css to the DOM by adding a <style> tag
5095
-
5096
- // load the styles
5097
- var content = __webpack_require__("69fc");
5098
- if(typeof content === 'string') content = [[module.i, content, '']];
5099
- if(content.locals) module.exports = content.locals;
5100
- // add the styles to the DOM
5101
- var add = __webpack_require__("499e").default
5102
- var update = add("6a7aacee", content, true, {"sourceMap":false,"shadowMode":false});
5103
-
5104
5078
  /***/ }),
5105
5079
 
5106
5080
  /***/ "3f8c":
@@ -5140,6 +5114,20 @@ module.exports = function (value) {
5140
5114
  };
5141
5115
 
5142
5116
 
5117
+ /***/ }),
5118
+
5119
+ /***/ "40dc":
5120
+ /***/ (function(module, exports, __webpack_require__) {
5121
+
5122
+ // Imports
5123
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
5124
+ exports = ___CSS_LOADER_API_IMPORT___(false);
5125
+ // Module
5126
+ exports.push([module.i, ".ev-chart-wrapper{display:block}.ev-chart-container,.ev-chart-wrapper{position:relative;width:100%;height:100%}.ev-chart-container{overflow:hidden}.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}", ""]);
5127
+ // Exports
5128
+ module.exports = exports;
5129
+
5130
+
5143
5131
  /***/ }),
5144
5132
 
5145
5133
  /***/ "4160":
@@ -5345,6 +5333,17 @@ module.exports = function (O, defaultConstructor) {
5345
5333
  };
5346
5334
 
5347
5335
 
5336
+ /***/ }),
5337
+
5338
+ /***/ "488e":
5339
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5340
+
5341
+ "use strict";
5342
+ /* 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_1fece3ae_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("84b2");
5343
+ /* 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_1fece3ae_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_1fece3ae_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
5344
+ /* unused harmony reexport * */
5345
+
5346
+
5348
5347
  /***/ }),
5349
5348
 
5350
5349
  /***/ "4930":
@@ -6879,20 +6878,6 @@ module.exports = {
6879
6878
  };
6880
6879
 
6881
6880
 
6882
- /***/ }),
6883
-
6884
- /***/ "69fc":
6885
- /***/ (function(module, exports, __webpack_require__) {
6886
-
6887
- // Imports
6888
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
6889
- exports = ___CSS_LOADER_API_IMPORT___(false);
6890
- // Module
6891
- exports.push([module.i, ".ev-chart-wrapper{display:block}.ev-chart-container,.ev-chart-wrapper{position:relative;width:100%;height:100%}.ev-chart-container{overflow:hidden}.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-box{overflow-x:hidden;overflow-y:auto}.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-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}", ""]);
6892
- // Exports
6893
- module.exports = exports;
6894
-
6895
-
6896
6881
  /***/ }),
6897
6882
 
6898
6883
  /***/ "6b0d":
@@ -7240,7 +7225,7 @@ var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_
7240
7225
  var ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___);
7241
7226
  var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_3___);
7242
7227
  // Module
7243
- exports.push([module.i, ".ev-grid[data-v-b1b073b2]{position:relative;width:100%;height:100%;padding-top:33px}.ev-grid--empty[data-v-b1b073b2]{overflow:auto}.ev-grid--empty .table-header[data-v-b1b073b2]{display:table}.ev-grid.non-header[data-v-b1b073b2]{padding-top:0}.ev-grid .table-header[data-v-b1b073b2]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-grid .table-header[data-v-b1b073b2]{border-top:2px solid;border-bottom:1px solid}.ev-grid .table-header.non-border[data-v-b1b073b2]{border-bottom:2px solid #7f7f7f!important}.column-list[data-v-b1b073b2]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-b1b073b2],.column-list[data-v-b1b073b2]{position:relative;height:100%}.column[data-v-b1b073b2]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-b1b073b2]{border-right:1px solid}.column[data-v-b1b073b2]:last-child{border-right:0;margin-right:20px}.column:last-child .column-resize[data-v-b1b073b2]{cursor:default!important}.column .sort-icon[data-v-b1b073b2]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-b1b073b2]{font-size:13px;color:#005cc8}.column-name[data-v-b1b073b2]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-b1b073b2]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-b1b073b2]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-b1b073b2]{display:block;cursor:pointer}.column-filter-status[data-v-b1b073b2]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-b1b073b2]{font-size:10px;vertical-align:top}.column-resize[data-v-b1b073b2]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-b1b073b2]:hover{cursor:col-resize}.table-body[data-v-b1b073b2]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-b1b073b2]{clear:both;border-spacing:0;border-collapse:collapse;width:inherit}.table-body.stripe tr[data-v-b1b073b2]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-b1b073b2]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-b1b073b2]{border-bottom:1px solid}.table-body .row[data-v-b1b073b2]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-b1b073b2]{border-bottom:1px solid}.table-body .row.selected[data-v-b1b073b2]{background:rgba(219,240,249,.6)!important;color:inherit!important;font-size:inherit!important}.dark .table-body .row.selected[data-v-b1b073b2]{background:!important;color:inherit!important;font-size:inherit!important}.table-body .row.highlight[data-v-b1b073b2]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-b1b073b2]{display:inline-block;padding:0 10px;text-align:center;max-width:100%;white-space:nowrap;text-overflow:ellipsis;border-right:1px solid #cfcfcf}.dark .table-body .cell[data-v-b1b073b2]{border-right:1px solid}.table-body .cell div[data-v-b1b073b2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-b1b073b2]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-b1b073b2]{overflow:initial}.table-body .cell.float[data-v-b1b073b2],.table-body .cell.number[data-v-b1b073b2]{text-align:right}.table-body .cell.string[data-v-b1b073b2],.table-body .cell.stringNumber[data-v-b1b073b2]{text-align:left}.table-body .cell.center[data-v-b1b073b2]{text-align:center}.table-body .cell.left[data-v-b1b073b2]{text-align:left}.table-body .cell.left .wrap[data-v-b1b073b2]{justify-content:flex-start}.table-body .cell.right[data-v-b1b073b2]{text-align:right}.table-body .cell.right .wrap[data-v-b1b073b2]{justify-content:flex-end}.table-body .cell[data-v-b1b073b2]:last-child{border-right:0}.table-resize-line[data-v-b1b073b2]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-b1b073b2]{border-right:1px solid}.vscroll-spacer[data-v-b1b073b2]{opacity:0;clear:both}[v-cloak][data-v-b1b073b2]{display:none}.ev-checkbox[data-v-b1b073b2]{margin:0}.non-border[data-v-b1b073b2]{border:none!important}.is-empty[data-v-b1b073b2]{height:30px;text-align:center}.postgresql[data-v-b1b073b2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat 50%}.oracle[data-v-b1b073b2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat 50%}.mongodb[data-v-b1b073b2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") no-repeat 50%}.mysql[data-v-b1b073b2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_3___ + ") no-repeat 50%}", ""]);
7228
+ exports.push([module.i, ".ev-grid[data-v-b1b073b2]{position:relative;width:100%;height:100%;padding-top:33px}.ev-grid--empty[data-v-b1b073b2]{overflow:auto}.ev-grid--empty .table-header[data-v-b1b073b2]{display:table}.ev-grid.non-header[data-v-b1b073b2]{padding-top:0}.ev-grid .table-header[data-v-b1b073b2]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-grid .table-header[data-v-b1b073b2]{border-top:2px solid;border-bottom:1px solid}.ev-grid .table-header.non-border[data-v-b1b073b2]{border-bottom:2px solid #7f7f7f!important}.column-list[data-v-b1b073b2]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-b1b073b2],.column-list[data-v-b1b073b2]{position:relative;height:100%}.column[data-v-b1b073b2]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-b1b073b2]{border-right:1px solid}.column[data-v-b1b073b2]:last-child{border-right:0}.column:last-child .column-resize[data-v-b1b073b2]{cursor:default!important}.column .sort-icon[data-v-b1b073b2]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-b1b073b2]{font-size:13px;color:#005cc8}.column-name[data-v-b1b073b2]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-b1b073b2]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-b1b073b2]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-b1b073b2]{display:block;cursor:pointer}.column-filter-status[data-v-b1b073b2]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-b1b073b2]{font-size:10px;vertical-align:top}.column-resize[data-v-b1b073b2]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-b1b073b2]:hover{cursor:col-resize}.table-body[data-v-b1b073b2]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-b1b073b2]{clear:both;border-spacing:0;border-collapse:collapse;width:inherit}.table-body.stripe tr[data-v-b1b073b2]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-b1b073b2]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-b1b073b2]{border-bottom:1px solid}.table-body .row[data-v-b1b073b2]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-b1b073b2]{border-bottom:1px solid}.table-body .row.selected[data-v-b1b073b2]{background:rgba(219,240,249,.6)!important;color:inherit!important;font-size:inherit!important}.dark .table-body .row.selected[data-v-b1b073b2]{background:!important;color:inherit!important;font-size:inherit!important}.table-body .row.highlight[data-v-b1b073b2]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-b1b073b2]{display:inline-block;padding:0 10px;text-align:center;max-width:100%;white-space:nowrap;text-overflow:ellipsis;border-right:1px solid #cfcfcf}.dark .table-body .cell[data-v-b1b073b2]{border-right:1px solid}.table-body .cell div[data-v-b1b073b2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-b1b073b2]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-b1b073b2]{overflow:initial}.table-body .cell.float[data-v-b1b073b2],.table-body .cell.number[data-v-b1b073b2]{text-align:right}.table-body .cell.string[data-v-b1b073b2],.table-body .cell.stringNumber[data-v-b1b073b2]{text-align:left}.table-body .cell.center[data-v-b1b073b2]{text-align:center}.table-body .cell.left[data-v-b1b073b2]{text-align:left}.table-body .cell.left .wrap[data-v-b1b073b2]{justify-content:flex-start}.table-body .cell.right[data-v-b1b073b2]{text-align:right}.table-body .cell.right .wrap[data-v-b1b073b2]{justify-content:flex-end}.table-body .cell[data-v-b1b073b2]:last-child{border-right:0}.table-resize-line[data-v-b1b073b2]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-b1b073b2]{border-right:1px solid}.vscroll-spacer[data-v-b1b073b2]{opacity:0;clear:both}[v-cloak][data-v-b1b073b2]{display:none}.ev-checkbox[data-v-b1b073b2]{margin:0}.non-border[data-v-b1b073b2]{border:none!important}.is-empty[data-v-b1b073b2]{height:30px;text-align:center}.postgresql[data-v-b1b073b2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat 50%}.oracle[data-v-b1b073b2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat 50%}.mongodb[data-v-b1b073b2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") no-repeat 50%}.mysql[data-v-b1b073b2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_3___ + ") no-repeat 50%}", ""]);
7244
7229
  // Exports
7245
7230
  module.exports = exports;
7246
7231
 
@@ -7663,6 +7648,21 @@ exports.push([module.i, ".ev-window-scroll-lock{overflow:hidden!important}.ev-wi
7663
7648
  module.exports = exports;
7664
7649
 
7665
7650
 
7651
+ /***/ }),
7652
+
7653
+ /***/ "84b2":
7654
+ /***/ (function(module, exports, __webpack_require__) {
7655
+
7656
+ // style-loader: Adds some css to the DOM by adding a <style> tag
7657
+
7658
+ // load the styles
7659
+ var content = __webpack_require__("40dc");
7660
+ if(typeof content === 'string') content = [[module.i, content, '']];
7661
+ if(content.locals) module.exports = content.locals;
7662
+ // add the styles to the DOM
7663
+ var add = __webpack_require__("499e").default
7664
+ var update = add("56adb8ec", content, true, {"sourceMap":false,"shadowMode":false});
7665
+
7666
7666
  /***/ }),
7667
7667
 
7668
7668
  /***/ "861d":
@@ -7940,7 +7940,7 @@ $({ target: 'Number', stat: true }, {
7940
7940
  /***/ "9224":
7941
7941
  /***/ (function(module) {
7942
7942
 
7943
- module.exports = JSON.parse("{\"a\":\"3.3.29\"}");
7943
+ module.exports = JSON.parse("{\"a\":\"3.3.32\"}");
7944
7944
 
7945
7945
  /***/ }),
7946
7946
 
@@ -8046,7 +8046,7 @@ module.exports = patchedExec;
8046
8046
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
8047
8047
  exports = ___CSS_LOADER_API_IMPORT___(false);
8048
8048
  // Module
8049
- exports.push([module.i, ".ev-tree-grid[data-v-25c719ae]{position:relative;width:100%;height:100%;padding-top:33px}.ev-tree-grid--empty[data-v-25c719ae]{overflow:auto}.ev-tree-grid--empty .table-header[data-v-25c719ae]{display:table}.ev-tree-grid.non-header[data-v-25c719ae]{padding-top:0}.ev-tree-grid .table-header[data-v-25c719ae]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-tree-grid .table-header[data-v-25c719ae]{border-top:2px solid;border-bottom:1px solid}.column-list[data-v-25c719ae]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-25c719ae],.column-list[data-v-25c719ae]{position:relative;height:100%}.column[data-v-25c719ae]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-25c719ae]{border-right:1px solid}.column[data-v-25c719ae]:last-child{border-right:0;margin-right:20px}.column:last-child .column-resize[data-v-25c719ae]{cursor:default!important}.column .sort-icon[data-v-25c719ae]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-25c719ae]{font-size:13px;color:#005cc8}.column-name[data-v-25c719ae]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-25c719ae]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-25c719ae]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-25c719ae]{display:block;cursor:pointer}.column-filter-status[data-v-25c719ae]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-25c719ae]{font-size:10px;vertical-align:top}.column-resize[data-v-25c719ae]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-25c719ae]:hover{cursor:col-resize}.table-body[data-v-25c719ae]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-25c719ae]{clear:both;width:inherit;border-spacing:0;border-collapse:collapse}.table-body.stripe tr[data-v-25c719ae]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-25c719ae]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-25c719ae]{border-bottom:1px solid}.table-body .row[data-v-25c719ae]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-25c719ae]{border-bottom:1px solid}.table-body .row.selected[data-v-25c719ae]{background:rgba(219,240,249,.6)!important;color:inherit!important}.dark .table-body .row.selected[data-v-25c719ae]{background:!important;color:inherit!important}.table-body .row.highlight[data-v-25c719ae]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-25c719ae]{display:inline-block;padding:0 10px;text-align:center;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-right:1px solid #cfcfcf}.dark .table-body .cell[data-v-25c719ae]{border-right:1px solid}.table-body .cell div[data-v-25c719ae]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-25c719ae]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-25c719ae]{overflow:initial}.table-body .cell.float[data-v-25c719ae],.table-body .cell.number[data-v-25c719ae]{text-align:right}.table-body .cell.string[data-v-25c719ae],.table-body .cell.stringNumber[data-v-25c719ae]{text-align:left}.table-body .cell.center[data-v-25c719ae]{text-align:center}.table-body .cell.left[data-v-25c719ae]{text-align:left}.table-body .cell.left .wrap[data-v-25c719ae]{justify-content:flex-start}.table-body .cell.right[data-v-25c719ae]{text-align:right}.table-body .cell.right .wrap[data-v-25c719ae]{justify-content:flex-end}.table-body .cell[data-v-25c719ae]:last-child{border-right:0}.table-body .cell.tree-td[data-v-25c719ae]{text-align:left!important}.table-resize-line[data-v-25c719ae]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-25c719ae]{border-right:1px solid}.vscroll-spacer[data-v-25c719ae]{opacity:0;clear:both}[v-cloak][data-v-25c719ae]{display:none}.ev-checkbox[data-v-25c719ae]{margin:0}.non-border[data-v-25c719ae]{border:none!important}.is-empty[data-v-25c719ae]{height:30px;text-align:center}", ""]);
8049
+ exports.push([module.i, ".ev-tree-grid[data-v-25c719ae]{position:relative;width:100%;height:100%;padding-top:33px}.ev-tree-grid--empty[data-v-25c719ae]{overflow:auto}.ev-tree-grid--empty .table-header[data-v-25c719ae]{display:table}.ev-tree-grid.non-header[data-v-25c719ae]{padding-top:0}.ev-tree-grid .table-header[data-v-25c719ae]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-tree-grid .table-header[data-v-25c719ae]{border-top:2px solid;border-bottom:1px solid}.column-list[data-v-25c719ae]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-25c719ae],.column-list[data-v-25c719ae]{position:relative;height:100%}.column[data-v-25c719ae]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-25c719ae]{border-right:1px solid}.column[data-v-25c719ae]:last-child{border-right:0}.column:last-child .column-resize[data-v-25c719ae]{cursor:default!important}.column .sort-icon[data-v-25c719ae]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-25c719ae]{font-size:13px;color:#005cc8}.column-name[data-v-25c719ae]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-25c719ae]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-25c719ae]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-25c719ae]{display:block;cursor:pointer}.column-filter-status[data-v-25c719ae]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-25c719ae]{font-size:10px;vertical-align:top}.column-resize[data-v-25c719ae]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-25c719ae]:hover{cursor:col-resize}.table-body[data-v-25c719ae]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-25c719ae]{clear:both;width:inherit;border-spacing:0;border-collapse:collapse}.table-body.stripe tr[data-v-25c719ae]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-25c719ae]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-25c719ae]{border-bottom:1px solid}.table-body .row[data-v-25c719ae]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-25c719ae]{border-bottom:1px solid}.table-body .row.selected[data-v-25c719ae]{background:rgba(219,240,249,.6)!important;color:inherit!important}.dark .table-body .row.selected[data-v-25c719ae]{background:!important;color:inherit!important}.table-body .row.highlight[data-v-25c719ae]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-25c719ae]{display:inline-block;padding:0 10px;text-align:center;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-right:1px solid #cfcfcf}.dark .table-body .cell[data-v-25c719ae]{border-right:1px solid}.table-body .cell div[data-v-25c719ae]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-25c719ae]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-25c719ae]{overflow:initial}.table-body .cell.float[data-v-25c719ae],.table-body .cell.number[data-v-25c719ae]{text-align:right}.table-body .cell.string[data-v-25c719ae],.table-body .cell.stringNumber[data-v-25c719ae]{text-align:left}.table-body .cell.center[data-v-25c719ae]{text-align:center}.table-body .cell.left[data-v-25c719ae]{text-align:left}.table-body .cell.left .wrap[data-v-25c719ae]{justify-content:flex-start}.table-body .cell.right[data-v-25c719ae]{text-align:right}.table-body .cell.right .wrap[data-v-25c719ae]{justify-content:flex-end}.table-body .cell[data-v-25c719ae]:last-child{border-right:0}.table-body .cell.tree-td[data-v-25c719ae]{text-align:left!important}.table-resize-line[data-v-25c719ae]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-25c719ae]{border-right:1px solid}.vscroll-spacer[data-v-25c719ae]{opacity:0;clear:both}[v-cloak][data-v-25c719ae]{display:none}.ev-checkbox[data-v-25c719ae]{margin:0}.non-border[data-v-25c719ae]{border:none!important}.is-empty[data-v-25c719ae]{height:30px;text-align:center}", ""]);
8050
8050
  // Exports
8051
8051
  module.exports = exports;
8052
8052
 
@@ -9702,7 +9702,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__("fe56");
9702
9702
  exports = ___CSS_LOADER_API_IMPORT___(false);
9703
9703
  var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
9704
9704
  // Module
9705
- exports.push([module.i, ".ev-tree-grid[data-v-89ae5faa]{position:relative;width:100%;height:100%;padding-top:33px}.ev-tree-grid--empty[data-v-89ae5faa]{overflow:auto}.ev-tree-grid--empty .table-header[data-v-89ae5faa]{display:table}.ev-tree-grid.non-header[data-v-89ae5faa]{padding-top:0}.ev-tree-grid .table-header[data-v-89ae5faa]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-tree-grid .table-header[data-v-89ae5faa]{border-top:2px solid;border-bottom:1px solid}.column-list[data-v-89ae5faa]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-89ae5faa],.column-list[data-v-89ae5faa]{position:relative;height:100%}.column[data-v-89ae5faa]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-89ae5faa]{border-right:1px solid}.column[data-v-89ae5faa]:last-child{border-right:0;margin-right:20px}.column:last-child .column-resize[data-v-89ae5faa]{cursor:default!important}.column .sort-icon[data-v-89ae5faa]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-89ae5faa]{font-size:13px;color:#005cc8}.column-name[data-v-89ae5faa]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-89ae5faa]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-89ae5faa]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-89ae5faa]{display:block;cursor:pointer}.column-filter-status[data-v-89ae5faa]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-89ae5faa]{font-size:10px;vertical-align:top}.column-resize[data-v-89ae5faa]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-89ae5faa]:hover{cursor:col-resize}.table-body[data-v-89ae5faa]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-89ae5faa]{clear:both;width:inherit;border-spacing:0;border-collapse:collapse}.table-body.stripe tr[data-v-89ae5faa]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-89ae5faa]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-89ae5faa]{border-bottom:1px solid}.table-body .row[data-v-89ae5faa]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-89ae5faa]{border-bottom:1px solid}.table-body .row.selected[data-v-89ae5faa]{background:rgba(219,240,249,.6)!important;color:inherit!important}.dark .table-body .row.selected[data-v-89ae5faa]{background:!important;color:inherit!important}.table-body .row.highlight[data-v-89ae5faa]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-89ae5faa]{display:inline-block;padding:0 10px;text-align:center;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-right:1px solid #cfcfcf}.dark .table-body .cell[data-v-89ae5faa]{border-right:1px solid}.table-body .cell div[data-v-89ae5faa]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-89ae5faa]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-89ae5faa]{overflow:initial}.table-body .cell.float[data-v-89ae5faa],.table-body .cell.number[data-v-89ae5faa]{text-align:right}.table-body .cell.string[data-v-89ae5faa],.table-body .cell.stringNumber[data-v-89ae5faa]{text-align:left}.table-body .cell.center[data-v-89ae5faa]{text-align:center}.table-body .cell.left[data-v-89ae5faa]{text-align:left}.table-body .cell.left .wrap[data-v-89ae5faa]{justify-content:flex-start}.table-body .cell.right[data-v-89ae5faa]{text-align:right}.table-body .cell.right .wrap[data-v-89ae5faa]{justify-content:flex-end}.table-body .cell[data-v-89ae5faa]:last-child{border-right:0}.table-body .cell.tree-td[data-v-89ae5faa]{text-align:left!important}.table-resize-line[data-v-89ae5faa]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-89ae5faa]{border-right:1px solid}.vscroll-spacer[data-v-89ae5faa]{opacity:0;clear:both}[v-cloak][data-v-89ae5faa]{display:none}.ev-checkbox[data-v-89ae5faa]{margin:0}.non-border[data-v-89ae5faa]{border:none!important}.is-empty[data-v-89ae5faa]{height:30px;text-align:center}.ev-tree-toggle[data-v-89ae5faa]{display:inline-block;width:13px;margin-right:4px;text-align:center;vertical-align:middle}.ev-tree-toggle .tree-expand-icon[data-v-89ae5faa]{border:none;background:transparent;outline:none;cursor:pointer}.ev-tree-toggle .tree-expand-icon i[data-v-89ae5faa]{display:inline-block;top:-3px;width:11px;height:10px;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat -43px -61px}.ev-tree-toggle.expand>.tree-expand-icon i[data-v-89ae5faa]{height:8px;background-position:-15px -63px}.ev-tree-toggle .tree-child-icon i[data-v-89ae5faa],.ev-tree-toggle .tree-parent-icon i[data-v-89ae5faa]{display:inline-block;top:-3px;width:14px;height:14px}.ev-tree-toggle .tree-parent-icon i[data-v-89ae5faa]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat -39px -35px}.ev-tree-toggle.expand>.tree-parent-icon i[data-v-89ae5faa]{background-position:-65px -35px}.ev-tree-toggle .tree-child-icon i[data-v-89ae5faa]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat -14px -35px}", ""]);
9705
+ exports.push([module.i, ".ev-tree-grid[data-v-89ae5faa]{position:relative;width:100%;height:100%;padding-top:33px}.ev-tree-grid--empty[data-v-89ae5faa]{overflow:auto}.ev-tree-grid--empty .table-header[data-v-89ae5faa]{display:table}.ev-tree-grid.non-header[data-v-89ae5faa]{padding-top:0}.ev-tree-grid .table-header[data-v-89ae5faa]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-tree-grid .table-header[data-v-89ae5faa]{border-top:2px solid;border-bottom:1px solid}.column-list[data-v-89ae5faa]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-89ae5faa],.column-list[data-v-89ae5faa]{position:relative;height:100%}.column[data-v-89ae5faa]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-89ae5faa]{border-right:1px solid}.column[data-v-89ae5faa]:last-child{border-right:0}.column:last-child .column-resize[data-v-89ae5faa]{cursor:default!important}.column .sort-icon[data-v-89ae5faa]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-89ae5faa]{font-size:13px;color:#005cc8}.column-name[data-v-89ae5faa]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-89ae5faa]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-89ae5faa]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-89ae5faa]{display:block;cursor:pointer}.column-filter-status[data-v-89ae5faa]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-89ae5faa]{font-size:10px;vertical-align:top}.column-resize[data-v-89ae5faa]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-89ae5faa]:hover{cursor:col-resize}.table-body[data-v-89ae5faa]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-89ae5faa]{clear:both;width:inherit;border-spacing:0;border-collapse:collapse}.table-body.stripe tr[data-v-89ae5faa]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-89ae5faa]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-89ae5faa]{border-bottom:1px solid}.table-body .row[data-v-89ae5faa]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-89ae5faa]{border-bottom:1px solid}.table-body .row.selected[data-v-89ae5faa]{background:rgba(219,240,249,.6)!important;color:inherit!important}.dark .table-body .row.selected[data-v-89ae5faa]{background:!important;color:inherit!important}.table-body .row.highlight[data-v-89ae5faa]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-89ae5faa]{display:inline-block;padding:0 10px;text-align:center;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-right:1px solid #cfcfcf}.dark .table-body .cell[data-v-89ae5faa]{border-right:1px solid}.table-body .cell div[data-v-89ae5faa]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-89ae5faa]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-89ae5faa]{overflow:initial}.table-body .cell.float[data-v-89ae5faa],.table-body .cell.number[data-v-89ae5faa]{text-align:right}.table-body .cell.string[data-v-89ae5faa],.table-body .cell.stringNumber[data-v-89ae5faa]{text-align:left}.table-body .cell.center[data-v-89ae5faa]{text-align:center}.table-body .cell.left[data-v-89ae5faa]{text-align:left}.table-body .cell.left .wrap[data-v-89ae5faa]{justify-content:flex-start}.table-body .cell.right[data-v-89ae5faa]{text-align:right}.table-body .cell.right .wrap[data-v-89ae5faa]{justify-content:flex-end}.table-body .cell[data-v-89ae5faa]:last-child{border-right:0}.table-body .cell.tree-td[data-v-89ae5faa]{text-align:left!important}.table-resize-line[data-v-89ae5faa]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-89ae5faa]{border-right:1px solid}.vscroll-spacer[data-v-89ae5faa]{opacity:0;clear:both}[v-cloak][data-v-89ae5faa]{display:none}.ev-checkbox[data-v-89ae5faa]{margin:0}.non-border[data-v-89ae5faa]{border:none!important}.is-empty[data-v-89ae5faa]{height:30px;text-align:center}.ev-tree-toggle[data-v-89ae5faa]{display:inline-block;width:13px;margin-right:4px;text-align:center;vertical-align:middle}.ev-tree-toggle .tree-expand-icon[data-v-89ae5faa]{border:none;background:transparent;outline:none;cursor:pointer}.ev-tree-toggle .tree-expand-icon i[data-v-89ae5faa]{display:inline-block;top:-3px;width:11px;height:10px;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat -43px -61px}.ev-tree-toggle.expand>.tree-expand-icon i[data-v-89ae5faa]{height:8px;background-position:-15px -63px}.ev-tree-toggle .tree-child-icon i[data-v-89ae5faa],.ev-tree-toggle .tree-parent-icon i[data-v-89ae5faa]{display:inline-block;top:-3px;width:14px;height:14px}.ev-tree-toggle .tree-parent-icon i[data-v-89ae5faa]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat -39px -35px}.ev-tree-toggle.expand>.tree-parent-icon i[data-v-89ae5faa]{background-position:-65px -35px}.ev-tree-toggle .tree-child-icon i[data-v-89ae5faa]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat -14px -35px}", ""]);
9706
9706
  // Exports
9707
9707
  module.exports = exports;
9708
9708
 
@@ -10301,7 +10301,7 @@ module.exports = {
10301
10301
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
10302
10302
  exports = ___CSS_LOADER_API_IMPORT___(false);
10303
10303
  // Module
10304
- exports.push([module.i, ".ev-grid[data-v-fd0ffe52]{position:relative;width:100%;height:100%;padding-top:33px}.ev-grid--empty[data-v-fd0ffe52]{overflow:auto}.ev-grid--empty .table-header[data-v-fd0ffe52]{display:table}.ev-grid.non-header[data-v-fd0ffe52]{padding-top:0}.ev-grid .table-header[data-v-fd0ffe52]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-grid .table-header[data-v-fd0ffe52]{border-top:2px solid;border-bottom:1px solid}.ev-grid .table-header.non-border[data-v-fd0ffe52]{border-bottom:2px solid #7f7f7f!important}.column-list[data-v-fd0ffe52]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-fd0ffe52],.column-list[data-v-fd0ffe52]{position:relative;height:100%}.column[data-v-fd0ffe52]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-fd0ffe52]{border-right:1px solid}.column[data-v-fd0ffe52]:last-child{border-right:0;margin-right:20px}.column:last-child .column-resize[data-v-fd0ffe52]{cursor:default!important}.column .sort-icon[data-v-fd0ffe52]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-fd0ffe52]{font-size:13px;color:#005cc8}.column-name[data-v-fd0ffe52]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-fd0ffe52]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-fd0ffe52]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-fd0ffe52]{display:block;cursor:pointer}.column-filter-status[data-v-fd0ffe52]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-fd0ffe52]{font-size:10px;vertical-align:top}.column-resize[data-v-fd0ffe52]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-fd0ffe52]:hover{cursor:col-resize}.table-body[data-v-fd0ffe52]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-fd0ffe52]{clear:both;border-spacing:0;border-collapse:collapse;width:inherit}.table-body.stripe tr[data-v-fd0ffe52]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-fd0ffe52]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-fd0ffe52]{border-bottom:1px solid}.table-body .row[data-v-fd0ffe52]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-fd0ffe52]{border-bottom:1px solid}.table-body .row.selected[data-v-fd0ffe52]{background:rgba(219,240,249,.6)!important;color:inherit!important;font-size:inherit!important}.dark .table-body .row.selected[data-v-fd0ffe52]{background:!important;color:inherit!important;font-size:inherit!important}.table-body .row.highlight[data-v-fd0ffe52]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-fd0ffe52]{display:inline-block;padding:0 10px;text-align:center;max-width:100%;white-space:nowrap;text-overflow:ellipsis;border-right:1px solid #cfcfcf}.dark .table-body .cell[data-v-fd0ffe52]{border-right:1px solid}.table-body .cell div[data-v-fd0ffe52]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-fd0ffe52]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-fd0ffe52]{overflow:initial}.table-body .cell.float[data-v-fd0ffe52],.table-body .cell.number[data-v-fd0ffe52]{text-align:right}.table-body .cell.string[data-v-fd0ffe52],.table-body .cell.stringNumber[data-v-fd0ffe52]{text-align:left}.table-body .cell.center[data-v-fd0ffe52]{text-align:center}.table-body .cell.left[data-v-fd0ffe52]{text-align:left}.table-body .cell.left .wrap[data-v-fd0ffe52]{justify-content:flex-start}.table-body .cell.right[data-v-fd0ffe52]{text-align:right}.table-body .cell.right .wrap[data-v-fd0ffe52]{justify-content:flex-end}.table-body .cell[data-v-fd0ffe52]:last-child{border-right:0}.table-resize-line[data-v-fd0ffe52]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-fd0ffe52]{border-right:1px solid}.vscroll-spacer[data-v-fd0ffe52]{opacity:0;clear:both}[v-cloak][data-v-fd0ffe52]{display:none}.ev-checkbox[data-v-fd0ffe52]{margin:0}.non-border[data-v-fd0ffe52]{border:none!important}.is-empty[data-v-fd0ffe52]{height:30px;text-align:center}.grid-summary[data-v-fd0ffe52]{width:100%;overflow:hidden;border-bottom:1px solid #b2b2b2;background-color:hsla(0,0%,69.8%,.1)}.dark .grid-summary[data-v-fd0ffe52]{border-bottom:1px solid #555;background-color:hsla(0,0%,40%,.3)}.grid-summary .non-border[data-v-fd0ffe52]{border-bottom:none!important}.grid-summary span[data-v-fd0ffe52]{display:inline-block;overflow:hidden;text-overflow:ellipsis;font-size:14px}.grid-summary span>div[data-v-fd0ffe52]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grid-summary .column.float[data-v-fd0ffe52],.grid-summary .column.number[data-v-fd0ffe52]{text-align:right}.grid-summary .column.string[data-v-fd0ffe52],.grid-summary .column.stringNumber[data-v-fd0ffe52]{text-align:left}.grid-summary .column.center[data-v-fd0ffe52]{text-align:center}.grid-summary .column.left[data-v-fd0ffe52]{text-align:left}.grid-summary .column.left .wrap[data-v-fd0ffe52]{justify-content:flex-start}.grid-summary .column.right[data-v-fd0ffe52]{text-align:right}.grid-summary .column.right .wrap[data-v-fd0ffe52]{justify-content:flex-end}", ""]);
10304
+ exports.push([module.i, ".ev-grid[data-v-fd0ffe52]{position:relative;width:100%;height:100%;padding-top:33px}.ev-grid--empty[data-v-fd0ffe52]{overflow:auto}.ev-grid--empty .table-header[data-v-fd0ffe52]{display:table}.ev-grid.non-header[data-v-fd0ffe52]{padding-top:0}.ev-grid .table-header[data-v-fd0ffe52]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-grid .table-header[data-v-fd0ffe52]{border-top:2px solid;border-bottom:1px solid}.ev-grid .table-header.non-border[data-v-fd0ffe52]{border-bottom:2px solid #7f7f7f!important}.column-list[data-v-fd0ffe52]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-fd0ffe52],.column-list[data-v-fd0ffe52]{position:relative;height:100%}.column[data-v-fd0ffe52]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-fd0ffe52]{border-right:1px solid}.column[data-v-fd0ffe52]:last-child{border-right:0}.column:last-child .column-resize[data-v-fd0ffe52]{cursor:default!important}.column .sort-icon[data-v-fd0ffe52]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-fd0ffe52]{font-size:13px;color:#005cc8}.column-name[data-v-fd0ffe52]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-fd0ffe52]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-fd0ffe52]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-fd0ffe52]{display:block;cursor:pointer}.column-filter-status[data-v-fd0ffe52]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-fd0ffe52]{font-size:10px;vertical-align:top}.column-resize[data-v-fd0ffe52]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-fd0ffe52]:hover{cursor:col-resize}.table-body[data-v-fd0ffe52]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-fd0ffe52]{clear:both;border-spacing:0;border-collapse:collapse;width:inherit}.table-body.stripe tr[data-v-fd0ffe52]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-fd0ffe52]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-fd0ffe52]{border-bottom:1px solid}.table-body .row[data-v-fd0ffe52]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-fd0ffe52]{border-bottom:1px solid}.table-body .row.selected[data-v-fd0ffe52]{background:rgba(219,240,249,.6)!important;color:inherit!important;font-size:inherit!important}.dark .table-body .row.selected[data-v-fd0ffe52]{background:!important;color:inherit!important;font-size:inherit!important}.table-body .row.highlight[data-v-fd0ffe52]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-fd0ffe52]{display:inline-block;padding:0 10px;text-align:center;max-width:100%;white-space:nowrap;text-overflow:ellipsis;border-right:1px solid #cfcfcf}.dark .table-body .cell[data-v-fd0ffe52]{border-right:1px solid}.table-body .cell div[data-v-fd0ffe52]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-fd0ffe52]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-fd0ffe52]{overflow:initial}.table-body .cell.float[data-v-fd0ffe52],.table-body .cell.number[data-v-fd0ffe52]{text-align:right}.table-body .cell.string[data-v-fd0ffe52],.table-body .cell.stringNumber[data-v-fd0ffe52]{text-align:left}.table-body .cell.center[data-v-fd0ffe52]{text-align:center}.table-body .cell.left[data-v-fd0ffe52]{text-align:left}.table-body .cell.left .wrap[data-v-fd0ffe52]{justify-content:flex-start}.table-body .cell.right[data-v-fd0ffe52]{text-align:right}.table-body .cell.right .wrap[data-v-fd0ffe52]{justify-content:flex-end}.table-body .cell[data-v-fd0ffe52]:last-child{border-right:0}.table-resize-line[data-v-fd0ffe52]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-fd0ffe52]{border-right:1px solid}.vscroll-spacer[data-v-fd0ffe52]{opacity:0;clear:both}[v-cloak][data-v-fd0ffe52]{display:none}.ev-checkbox[data-v-fd0ffe52]{margin:0}.non-border[data-v-fd0ffe52]{border:none!important}.is-empty[data-v-fd0ffe52]{height:30px;text-align:center}.grid-summary[data-v-fd0ffe52]{width:100%;overflow:hidden;border-bottom:1px solid #b2b2b2;background-color:hsla(0,0%,69.8%,.1)}.dark .grid-summary[data-v-fd0ffe52]{border-bottom:1px solid #555;background-color:hsla(0,0%,40%,.3)}.grid-summary .non-border[data-v-fd0ffe52]{border-bottom:none!important}.grid-summary span[data-v-fd0ffe52]{display:inline-block;overflow:hidden;text-overflow:ellipsis;font-size:14px}.grid-summary span>div[data-v-fd0ffe52]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grid-summary .column.float[data-v-fd0ffe52],.grid-summary .column.number[data-v-fd0ffe52]{text-align:right}.grid-summary .column.string[data-v-fd0ffe52],.grid-summary .column.stringNumber[data-v-fd0ffe52]{text-align:left}.grid-summary .column.center[data-v-fd0ffe52]{text-align:center}.grid-summary .column.left[data-v-fd0ffe52]{text-align:left}.grid-summary .column.left .wrap[data-v-fd0ffe52]{justify-content:flex-start}.grid-summary .column.right[data-v-fd0ffe52]{text-align:right}.grid-summary .column.right .wrap[data-v-fd0ffe52]{justify-content:flex-end}", ""]);
10305
10305
  // Exports
10306
10306
  module.exports = exports;
10307
10307
 
@@ -30814,9 +30814,9 @@ Grid.install = function (app) {
30814
30814
  };
30815
30815
 
30816
30816
  /* harmony default export */ var grid = (Grid);
30817
- // 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=df219c50
30817
+ // 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=1fece3ae
30818
30818
 
30819
- function Chartvue_type_template_id_df219c50_render(_ctx, _cache, $props, $setup, $data, $options) {
30819
+ function Chartvue_type_template_id_1fece3ae_render(_ctx, _cache, $props, $setup, $data, $options) {
30820
30820
  var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
30821
30821
 
30822
30822
  return 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", {
@@ -30825,7 +30825,7 @@ function Chartvue_type_template_id_df219c50_render(_ctx, _cache, $props, $setup,
30825
30825
  class: "ev-chart"
30826
30826
  }, null, 4)), [[_directive_resize, $setup.onResize]]);
30827
30827
  }
30828
- // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=df219c50
30828
+ // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=1fece3ae
30829
30829
 
30830
30830
  // CONCATENATED MODULE: ./node_modules/lodash-es/_arrayEach.js
30831
30831
  /**
@@ -32148,6 +32148,7 @@ function reverse(array) {
32148
32148
 
32149
32149
 
32150
32150
 
32151
+
32151
32152
  /* harmony default export */ var helpers_util = ({
32152
32153
  /**
32153
32154
  * Transforming hex to rgb code
@@ -32468,6 +32469,17 @@ function reverse(array) {
32468
32469
  },
32469
32470
  isDoughnutHole: function isDoughnutHole(type) {
32470
32471
  return type === 'doughnut' || type === 'sunburst';
32472
+ },
32473
+ setDOMStyle: function setDOMStyle(targetDOM, styleObject) {
32474
+ var _Object$keys;
32475
+
32476
+ if (!targetDOM || !styleObject) {
32477
+ return;
32478
+ }
32479
+
32480
+ (_Object$keys = Object.keys(styleObject)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.forEach(function (key) {
32481
+ targetDOM.style[key] = styleObject[key];
32482
+ });
32471
32483
  }
32472
32484
  });
32473
32485
  // CONCATENATED MODULE: ./src/components/chart/model/model.store.js
@@ -32490,6 +32502,7 @@ function reverse(array) {
32490
32502
 
32491
32503
 
32492
32504
 
32505
+
32493
32506
 
32494
32507
  var modules = {
32495
32508
  /**
@@ -33646,6 +33659,37 @@ var modules = {
33646
33659
  }
33647
33660
 
33648
33661
  return null;
33662
+ },
33663
+
33664
+ /**
33665
+ * Get Aggregations (
33666
+ * @returns {{}}
33667
+ */
33668
+ getAggregations: function getAggregations() {
33669
+ var allData = this.data.data;
33670
+ var series = this.data.series;
33671
+ var aggregationDataSet = {};
33672
+ var seriesIds = Object.keys(series);
33673
+ seriesIds === null || seriesIds === void 0 ? void 0 : seriesIds.forEach(function (sId) {
33674
+ var dataList = allData[sId].map(function (data) {
33675
+ return data.value ? data.value : data;
33676
+ });
33677
+ var min = Math.min.apply(Math, _toConsumableArray(dataList));
33678
+ var max = Math.max.apply(Math, _toConsumableArray(dataList));
33679
+ var total = dataList.reduce(function (a, b) {
33680
+ return a + b;
33681
+ }, 0);
33682
+ var avg = total / dataList.length || 0;
33683
+ var last = dataList[dataList.length - 1];
33684
+ aggregationDataSet[sId] = {
33685
+ min: min,
33686
+ max: max,
33687
+ avg: avg,
33688
+ total: total,
33689
+ last: last
33690
+ };
33691
+ });
33692
+ return aggregationDataSet;
33649
33693
  }
33650
33694
  };
33651
33695
  /* harmony default export */ var model_store = (modules);
@@ -34900,7 +34944,6 @@ var element_line_Line = /*#__PURE__*/function () {
34900
34944
  });
34901
34945
  this.type = 'line';
34902
34946
  this.sId = sId;
34903
- this.state = 'normal';
34904
34947
  this.extent = {
34905
34948
  downplay: {
34906
34949
  opacity: 0.1,
@@ -34931,7 +34974,11 @@ var element_line_Line = /*#__PURE__*/function () {
34931
34974
  _createClass(Line, [{
34932
34975
  key: "draw",
34933
34976
  value: function draw(param) {
34934
- var _selectedLabel$dataIn,
34977
+ var _selectLabel$selected,
34978
+ _selectLabel$selected2,
34979
+ _selectSeries$option,
34980
+ _selectSeries$selecte,
34981
+ _selectSeries$selecte2,
34935
34982
  _this2 = this;
34936
34983
 
34937
34984
  if (!this.show) {
@@ -34942,24 +34989,39 @@ var element_line_Line = /*#__PURE__*/function () {
34942
34989
  chartRect = param.chartRect,
34943
34990
  labelOffset = param.labelOffset,
34944
34991
  axesSteps = param.axesSteps,
34945
- selectLabel = param.selectLabel;
34946
- var extent = this.extent[this.state];
34947
- var selectLabelOption = selectLabel.option;
34948
- var selectedLabel = selectLabel.selected;
34949
- var isExistSelectedLabel = selectLabelOption.use && selectLabelOption.useSeriesOpacity && ((_selectedLabel$dataIn = selectedLabel.dataIndex) === null || _selectedLabel$dataIn === void 0 ? void 0 : _selectedLabel$dataIn.length) > 0;
34950
- var downplayOpacity = this.extent.downplay.opacity;
34951
- var fillOpacity = isExistSelectedLabel ? this.fillOpacity * downplayOpacity : this.fillOpacity * extent.opacity;
34952
- var lineWidth = this.lineWidth * extent.lineWidth;
34992
+ selectLabel = param.selectLabel,
34993
+ selectSeries = param.selectSeries,
34994
+ legendHitInfo = param.legendHitInfo; // about selectLabel
34995
+
34996
+ var selectLabelOption = selectLabel === null || selectLabel === void 0 ? void 0 : selectLabel.option;
34997
+ var useSelectLabel = (selectLabelOption === null || selectLabelOption === void 0 ? void 0 : selectLabelOption.use) && (selectLabelOption === null || selectLabelOption === void 0 ? void 0 : selectLabelOption.useSeriesOpacity);
34998
+ var selectedLabelIndexList = (_selectLabel$selected = selectLabel === null || selectLabel === void 0 ? void 0 : (_selectLabel$selected2 = selectLabel.selected) === null || _selectLabel$selected2 === void 0 ? void 0 : _selectLabel$selected2.dataIndex) !== null && _selectLabel$selected !== void 0 ? _selectLabel$selected : []; // set Style
34999
+
35000
+ var extent;
35001
+
35002
+ if (legendHitInfo) {
35003
+ extent = this.extent[(legendHitInfo === null || legendHitInfo === void 0 ? void 0 : legendHitInfo.sId) === this.sId ? 'highlight' : 'downplay'];
35004
+ } else if (selectSeries !== null && selectSeries !== void 0 && (_selectSeries$option = selectSeries.option) !== null && _selectSeries$option !== void 0 && _selectSeries$option.use && selectSeries !== null && selectSeries !== void 0 && (_selectSeries$selecte = selectSeries.selected) !== null && _selectSeries$selecte !== void 0 && (_selectSeries$selecte2 = _selectSeries$selecte.seriesId) !== null && _selectSeries$selecte2 !== void 0 && _selectSeries$selecte2.length) {
35005
+ var _selectSeries$selecte3, _selectSeries$selecte4;
35006
+
35007
+ var isSelectedSeries = selectSeries === null || selectSeries === void 0 ? void 0 : (_selectSeries$selecte3 = selectSeries.selected) === null || _selectSeries$selecte3 === void 0 ? void 0 : (_selectSeries$selecte4 = _selectSeries$selecte3.seriesId) === null || _selectSeries$selecte4 === void 0 ? void 0 : _selectSeries$selecte4.includes(this.sId);
35008
+ extent = this.extent[isSelectedSeries ? 'highlight' : 'downplay'];
35009
+ } else if (useSelectLabel && selectedLabelIndexList.length) {
35010
+ extent = this.extent.downplay;
35011
+ } else {
35012
+ extent = this.extent.normal;
35013
+ }
34953
35014
 
34954
35015
  var getOpacity = function getOpacity(colorStr) {
34955
- var noneDownplayOpacity = colorStr.includes('rgba') ? helpers_util.getOpacity(colorStr) : 1;
34956
- return _this2.state === 'downplay' || isExistSelectedLabel ? 0.1 : noneDownplayOpacity;
35016
+ return colorStr.includes('rgba') ? helpers_util.getOpacity(colorStr) : extent.opacity;
34957
35017
  };
34958
35018
 
34959
35019
  var mainColor = this.color;
34960
35020
  var mainColorOpacity = getOpacity(mainColor);
34961
35021
  var pointFillColor = this.pointFill;
34962
35022
  var pointFillColorOpacity = getOpacity(pointFillColor);
35023
+ var fillOpacity = getOpacity(mainColor) * this.fillOpacity;
35024
+ var lineWidth = this.lineWidth * extent.lineWidth;
34963
35025
  ctx.beginPath();
34964
35026
  ctx.save();
34965
35027
  ctx.lineJoin = 'round';
@@ -35062,19 +35124,23 @@ var element_line_Line = /*#__PURE__*/function () {
35062
35124
  }
35063
35125
  });
35064
35126
  ctx.fill();
35065
- }
35127
+ } // Draw points
35128
+
35066
35129
 
35067
- if (this.point || isExistSelectedLabel) {
35130
+ if (this.point || useSelectLabel) {
35068
35131
  ctx.strokeStyle = helpers_util.colorStringToRgba(mainColor, mainColorOpacity);
35069
35132
  var focusStyle = helpers_util.colorStringToRgba(pointFillColor, 1);
35070
35133
  var blurStyle = helpers_util.colorStringToRgba(pointFillColor, pointFillColorOpacity);
35071
- this.data.forEach(function (curr, i) {
35072
- if (curr.xp !== null && curr.yp !== null) {
35073
- ctx.fillStyle = isExistSelectedLabel && selectedLabel.dataIndex.includes(i) ? focusStyle : blurStyle;
35134
+ this.data.forEach(function (curr, ix) {
35135
+ var isSelectedLabel = selectedLabelIndexList.includes(ix);
35074
35136
 
35075
- if (_this2.point || selectedLabel.dataIndex.includes(i)) {
35076
- helpers_canvas.drawPoint(ctx, _this2.pointStyle, _this2.pointSize, curr.xp, curr.yp);
35077
- }
35137
+ if (curr.xp === null || curr.yp === null) {
35138
+ return;
35139
+ }
35140
+
35141
+ if (_this2.point || isSelectedLabel) {
35142
+ ctx.fillStyle = isSelectedLabel && !legendHitInfo ? focusStyle : blurStyle;
35143
+ helpers_canvas.drawPoint(ctx, _this2.pointStyle, _this2.pointSize, curr.xp, curr.yp);
35078
35144
  }
35079
35145
  });
35080
35146
  }
@@ -35369,22 +35435,17 @@ var element_scatter_Scatter = /*#__PURE__*/function () {
35369
35435
 
35370
35436
  var getOpacity = function getOpacity(colorStr, dataIndex) {
35371
35437
  var noneDownplayOpacity = colorStr.includes('rgba') ? helpers_util.getOpacity(colorStr) : 1;
35372
- var resultOpacity = noneDownplayOpacity;
35373
- var selectInfo = param.selectInfo;
35438
+ var isDownplay = false;
35439
+ var selectInfo = param.selectInfo,
35440
+ legendHitInfo = param.legendHitInfo;
35374
35441
 
35375
- if (selectInfo) {
35376
- var isSelectedData = (selectInfo === null || selectInfo === void 0 ? void 0 : selectInfo.seriesID) === _this2.sId && (selectInfo === null || selectInfo === void 0 ? void 0 : selectInfo.dataIndex) === dataIndex;
35377
-
35378
- if (isSelectedData) {
35379
- resultOpacity = noneDownplayOpacity;
35380
- } else {
35381
- resultOpacity = 0.1;
35382
- }
35383
- } else {
35384
- resultOpacity = _this2.state === 'downplay' ? 0.1 : noneDownplayOpacity;
35442
+ if (legendHitInfo) {
35443
+ isDownplay = legendHitInfo.sId !== _this2.sId;
35444
+ } else if (selectInfo) {
35445
+ isDownplay = (selectInfo === null || selectInfo === void 0 ? void 0 : selectInfo.seriesID) !== _this2.sId || (selectInfo === null || selectInfo === void 0 ? void 0 : selectInfo.dataIndex) !== dataIndex;
35385
35446
  }
35386
35447
 
35387
- return resultOpacity;
35448
+ return isDownplay ? 0.1 : noneDownplayOpacity;
35388
35449
  };
35389
35450
 
35390
35451
  this.data.forEach(function (curr, idx) {
@@ -35590,7 +35651,7 @@ var element_bar_Bar = /*#__PURE__*/function () {
35590
35651
  var h;
35591
35652
  bArea = cArea > cPad * 2 ? cArea - cPad * 2 : cArea;
35592
35653
  bArea = this.isExistGrp ? bArea : bArea / showSeriesCount;
35593
- var size = Math.round(bArea * thickness);
35654
+ var size = Math.ceil(bArea * thickness);
35594
35655
  w = isHorizontal ? null : size;
35595
35656
  h = isHorizontal ? size : null;
35596
35657
  var bPad = isHorizontal ? (bArea - h) / 2 : (bArea - w) / 2;
@@ -35607,7 +35668,7 @@ var element_bar_Bar = /*#__PURE__*/function () {
35607
35668
  this.borderRadius = param.borderRadius;
35608
35669
  var categoryPoint = null;
35609
35670
  this.data.forEach(function (dataItem, index) {
35610
- var _param$selectLabel$se;
35671
+ var _param$selectLabel, _param$selectLabel$se, _param$selectLabel2, _param$selectLabel2$s;
35611
35672
 
35612
35673
  ctx.beginPath();
35613
35674
  var item = dataItem;
@@ -35643,11 +35704,16 @@ var element_bar_Bar = /*#__PURE__*/function () {
35643
35704
  }
35644
35705
 
35645
35706
  var barColor = item.dataColor || _this2.color;
35646
- var selectLabelOption = param.selectLabel.option;
35647
- var selectedLabel = (_param$selectLabel$se = param.selectLabel.selected) !== null && _param$selectLabel$se !== void 0 ? _param$selectLabel$se : {
35648
- dataIndex: []
35649
- };
35650
- var isDownplay = selectLabelOption.use && selectLabelOption.useSeriesOpacity ? selectedLabel.dataIndex.length && !selectedLabel.dataIndex.includes(index) : _this2.state === 'downplay';
35707
+ var legendHitInfo = param === null || param === void 0 ? void 0 : param.legendHitInfo;
35708
+ var selectLabelOption = param === null || param === void 0 ? void 0 : (_param$selectLabel = param.selectLabel) === null || _param$selectLabel === void 0 ? void 0 : _param$selectLabel.option;
35709
+ var selectedLabelList = (_param$selectLabel$se = param === null || param === void 0 ? void 0 : (_param$selectLabel2 = param.selectLabel) === null || _param$selectLabel2 === void 0 ? void 0 : (_param$selectLabel2$s = _param$selectLabel2.selected) === null || _param$selectLabel2$s === void 0 ? void 0 : _param$selectLabel2$s.dataIndex) !== null && _param$selectLabel$se !== void 0 ? _param$selectLabel$se : [];
35710
+ var isDownplay = false;
35711
+
35712
+ if (legendHitInfo) {
35713
+ isDownplay = (legendHitInfo === null || legendHitInfo === void 0 ? void 0 : legendHitInfo.sId) !== _this2.sId;
35714
+ } else if (selectLabelOption !== null && selectLabelOption !== void 0 && selectLabelOption.use && selectLabelOption !== null && selectLabelOption !== void 0 && selectLabelOption.useSeriesOpacity) {
35715
+ isDownplay = selectedLabelList.length && !selectedLabelList.includes(index);
35716
+ }
35651
35717
 
35652
35718
  if (typeof barColor !== 'string') {
35653
35719
  ctx.fillStyle = helpers_canvas.createGradient(ctx, isHorizontal, {
@@ -36234,9 +36300,10 @@ var element_bar_time_TimeBar = /*#__PURE__*/function (_Bar) {
36234
36300
  bArea = (cArea - cPad * 2) / showSeriesCount;
36235
36301
  }
36236
36302
 
36237
- var w = isHorizontal ? null : Math.round(bArea * thickness);
36238
- var subW = isHorizontal ? null : Math.round(bArea * thickness);
36239
- var h = isHorizontal ? Math.round(bArea * thickness) : null;
36303
+ var size = Math.ceil(bArea * thickness);
36304
+ var w = isHorizontal ? null : size;
36305
+ var subW = isHorizontal ? null : size;
36306
+ var h = isHorizontal ? size : null;
36240
36307
  var bPad = isHorizontal ? (bArea - h) / 2 : (bArea - w) / 2;
36241
36308
  var barSeriesX = this.isExistGrp ? 1 : showIndex + 1;
36242
36309
  this.size.cat = cArea;
@@ -36393,7 +36460,6 @@ var element_pie_Pie = /*#__PURE__*/function () {
36393
36460
  this.doughnutHoleSize = 0;
36394
36461
  this.startAngle = 0;
36395
36462
  this.endAngle = 0;
36396
- this.state = null;
36397
36463
  this.ctx = null;
36398
36464
  this.isSelect = false;
36399
36465
  }
@@ -36417,7 +36483,7 @@ var element_pie_Pie = /*#__PURE__*/function () {
36417
36483
  var radius = this.isSelect ? this.radius + 5 : this.radius;
36418
36484
  var color = this.color;
36419
36485
  var noneDownplayOpacity = color.includes('rgba') ? helpers_util.getOpacity(color) : 1;
36420
- var opacity = this.state === 'downplay' ? 0.1 : noneDownplayOpacity;
36486
+ var opacity = this.isDownplay ? 0.1 : noneDownplayOpacity;
36421
36487
  ctx.beginPath();
36422
36488
  slice.moveTo(this.centerX, this.centerY);
36423
36489
  slice.arc(this.centerX, this.centerY, radius, this.startAngle, this.endAngle);
@@ -36490,7 +36556,7 @@ var element_pie_Pie = /*#__PURE__*/function () {
36490
36556
  }, {
36491
36557
  key: "itemHighlight",
36492
36558
  value: function itemHighlight(item, context) {
36493
- var _this$showValue2;
36559
+ var _item$data, _this$showValue2;
36494
36560
 
36495
36561
  var ctx = context;
36496
36562
  var radius = this.isSelect ? this.radius + 5 : this.radius;
@@ -36498,7 +36564,7 @@ var element_pie_Pie = /*#__PURE__*/function () {
36498
36564
  ctx.shadowOffsetX = 0;
36499
36565
  ctx.shadowOffsetY = 0;
36500
36566
  ctx.shadowBlur = 4;
36501
- var color = item.data.dataColor || this.color;
36567
+ var color = (item === null || item === void 0 ? void 0 : (_item$data = item.data) === null || _item$data === void 0 ? void 0 : _item$data.dataColor) || this.color;
36502
36568
  ctx.fillStyle = color;
36503
36569
  ctx.shadowColor = color;
36504
36570
  ctx.beginPath();
@@ -39286,6 +39352,10 @@ var plugins_title_modules = {
39286
39352
 
39287
39353
 
39288
39354
 
39355
+
39356
+
39357
+
39358
+
39289
39359
  var plugins_legend_modules = {
39290
39360
  /**
39291
39361
  * Create legend DOM
@@ -39308,10 +39378,52 @@ var plugins_legend_modules = {
39308
39378
  this.wrapperDOM.appendChild(this.resizeDOM);
39309
39379
  }
39310
39380
 
39381
+ if (this.useTable) {
39382
+ this.legendTableDOM = document.createElement('table');
39383
+ this.legendTableDOM.className = 'ev-chart-legend--table';
39384
+ this.setLegendColumnHeader();
39385
+ this.legendBoxDOM.appendChild(this.legendTableDOM);
39386
+ this.legendDOM.style.overflow = 'auto';
39387
+ }
39388
+
39311
39389
  this.legendDOM.appendChild(this.legendBoxDOM);
39312
39390
  this.wrapperDOM.appendChild(this.legendDOM);
39313
39391
  },
39314
39392
 
39393
+ /**
39394
+ * Create and append Table Header DOM
39395
+ * Only chartOption > legend > table > use : true
39396
+ *
39397
+ * @returns {undefined}
39398
+ */
39399
+ setLegendColumnHeader: function setLegendColumnHeader() {
39400
+ var _this$options$legend2,
39401
+ _this = this;
39402
+
39403
+ var tableOpt = (_this$options$legend2 = this.options.legend) === null || _this$options$legend2 === void 0 ? void 0 : _this$options$legend2.table;
39404
+ var columns = tableOpt.columns;
39405
+ var columnKeyList = ['color'].concat(_toConsumableArray(Object.keys(columns)));
39406
+ columnKeyList.forEach(function (key) {
39407
+ var _columns$key;
39408
+
39409
+ var columnNameDOM = document.createElement('th');
39410
+ columnNameDOM.className = 'ev-chart-legend--table__column-name';
39411
+
39412
+ if ((_columns$key = columns[key]) !== null && _columns$key !== void 0 && _columns$key.use || key === 'color' || key === 'name') {
39413
+ var _columnOpt$title, _tableOpt$style;
39414
+
39415
+ var columnOpt = columns[key];
39416
+ var keyText = (_columnOpt$title = columnOpt === null || columnOpt === void 0 ? void 0 : columnOpt.title) !== null && _columnOpt$title !== void 0 ? _columnOpt$title : '';
39417
+ columnNameDOM.textContent = keyText;
39418
+ columnNameDOM.setAttribute('title', keyText);
39419
+ columnNameDOM.dataset.type = keyText;
39420
+ helpers_util.setDOMStyle(columnNameDOM, tableOpt === null || tableOpt === void 0 ? void 0 : (_tableOpt$style = tableOpt.style) === null || _tableOpt$style === void 0 ? void 0 : _tableOpt$style.header);
39421
+
39422
+ _this.legendTableDOM.append(columnNameDOM);
39423
+ }
39424
+ });
39425
+ },
39426
+
39315
39427
  /**
39316
39428
  * Initialize legend
39317
39429
  * If there was no initialization, create DOM and set default layout.
@@ -39320,7 +39432,10 @@ var plugins_legend_modules = {
39320
39432
  * @returns {undefined}
39321
39433
  */
39322
39434
  initLegend: function initLegend() {
39435
+ var _this$options$legend3, _this$options$legend4;
39436
+
39323
39437
  this.isHeatMapType = this.options.type === 'heatMap';
39438
+ this.useTable = !!((_this$options$legend3 = this.options.legend) !== null && _this$options$legend3 !== void 0 && (_this$options$legend4 = _this$options$legend3.table) !== null && _this$options$legend4 !== void 0 && _this$options$legend4.use) && this.options.type !== 'heatmap' && this.options.type !== 'scatter';
39324
39439
 
39325
39440
  if (!this.isInitLegend) {
39326
39441
  this.createLegendLayout();
@@ -39347,25 +39462,44 @@ var plugins_legend_modules = {
39347
39462
  * @returns {undefined}
39348
39463
  */
39349
39464
  addLegendList: function addLegendList() {
39350
- var _this = this;
39465
+ var _this2 = this;
39351
39466
 
39352
39467
  var groups = this.data.groups;
39353
39468
  var seriesList = this.seriesList;
39354
39469
  groups.forEach(function (group) {
39355
39470
  group.slice().reverse().forEach(function (sId) {
39356
- if (seriesList[sId] && seriesList[sId].showLegend) {
39357
- _this.addLegend(seriesList[sId]);
39471
+ var series = seriesList[sId];
39472
+
39473
+ if (series && series.showLegend) {
39474
+ if (_this2.useTable) {
39475
+ _this2.addLegendWithValues(series);
39476
+ } else {
39477
+ _this2.addLegend(series);
39478
+ }
39358
39479
  }
39359
39480
  });
39360
39481
  });
39361
39482
  Object.values(seriesList).forEach(function (series) {
39362
- if (!series.isExistGrp && series.showLegend) {
39363
- _this.addLegend(series);
39483
+ if (series.isExistGrp || !series.showLegend) {
39484
+ return;
39485
+ }
39486
+
39487
+ if (_this2.useTable) {
39488
+ _this2.addLegendWithValues(series);
39489
+ } else {
39490
+ _this2.addLegend(series);
39364
39491
  }
39365
39492
  });
39366
39493
  },
39494
+
39495
+ /**
39496
+ * Add Legend with Color Information
39497
+ * Only Heatmap chart
39498
+ *
39499
+ * @returns {undefined}
39500
+ */
39367
39501
  addColorLegendList: function addColorLegendList() {
39368
- var _this2 = this;
39502
+ var _this3 = this;
39369
39503
 
39370
39504
  var seriesList = this.seriesList;
39371
39505
  Object.values(seriesList).forEach(function (series) {
@@ -39407,7 +39541,7 @@ var plugins_legend_modules = {
39407
39541
  name = minValue;
39408
39542
  }
39409
39543
 
39410
- _this2.addLegend({
39544
+ _this3.addLegend({
39411
39545
  cId: colorItem.id,
39412
39546
  color: colorItem.color,
39413
39547
  name: name
@@ -39417,45 +39551,72 @@ var plugins_legend_modules = {
39417
39551
  });
39418
39552
  },
39419
39553
 
39554
+ /**
39555
+ * Get Container DOM by Event Object
39556
+ * @param e Event
39557
+ *
39558
+ * @returns {Element}
39559
+ */
39560
+ getContainerDOM: function getContainerDOM(e) {
39561
+ var targetDOM = null;
39562
+ var type = e.target.dataset.type;
39563
+ var childTypes = ['name', 'color', 'min', 'max', 'avg', 'total', 'last'];
39564
+
39565
+ if (type === 'container') {
39566
+ targetDOM = e.target;
39567
+ } else if (childTypes.includes(type)) {
39568
+ var _targetDOM;
39569
+
39570
+ targetDOM = e.target.parentElement;
39571
+
39572
+ if (!((_targetDOM = targetDOM) !== null && _targetDOM !== void 0 && _targetDOM.series)) {
39573
+ targetDOM = targetDOM.parentElement;
39574
+ }
39575
+ }
39576
+
39577
+ return targetDOM;
39578
+ },
39579
+
39420
39580
  /**
39421
39581
  * Initialize legend event
39422
39582
  *
39423
39583
  * @returns {undefined}
39424
39584
  */
39425
39585
  initEvent: function initEvent() {
39426
- var _this3 = this;
39586
+ var _this4 = this;
39427
39587
 
39428
39588
  if (this.isInitLegend) {
39429
39589
  return;
39430
39590
  }
39591
+
39592
+ var classList = {
39593
+ container: "ev-chart-legend".concat(this.useTable ? '--table__container' : '-container'),
39594
+ color: "ev-chart-legend".concat(this.useTable ? '--table__color' : '-color'),
39595
+ name: "ev-chart-legend".concat(this.useTable ? '--table__name' : '-name'),
39596
+ value: "ev-chart-legend".concat(this.useTable ? '--table__value' : '-value')
39597
+ };
39431
39598
  /**
39432
39599
  * callback for legendBoxDOM to show/hide clicked series
39433
39600
  *
39434
39601
  * @returns {undefined}
39435
39602
  */
39436
39603
 
39437
-
39438
39604
  this.onLegendBoxClick = function (e) {
39439
- var _targetDOM, _targetDOM2;
39605
+ var opt = _this4.options.legend;
39440
39606
 
39441
- var opt = _this3.options.legend;
39442
- var type = e.target.dataset.type;
39443
- var targetDOM;
39607
+ var targetDOM = _this4.getContainerDOM(e);
39444
39608
 
39445
- if (type === 'container') {
39446
- targetDOM = e.target;
39447
- } else if (type === 'name' || type === 'color') {
39448
- targetDOM = e.target.parentElement;
39449
- } else {
39609
+ if (!targetDOM) {
39450
39610
  return;
39451
39611
  }
39452
39612
 
39453
- var colorDOM = (_targetDOM = targetDOM) === null || _targetDOM === void 0 ? void 0 : _targetDOM.getElementsByClassName('ev-chart-legend-color')[0];
39454
- var nameDOM = (_targetDOM2 = targetDOM) === null || _targetDOM2 === void 0 ? void 0 : _targetDOM2.getElementsByClassName('ev-chart-legend-name')[0];
39455
- var isActive = !(colorDOM !== null && colorDOM !== void 0 && colorDOM.className.includes('inactive'));
39456
- var series = nameDOM === null || nameDOM === void 0 ? void 0 : nameDOM.series;
39613
+ var series = targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.series;
39614
+ var colorDOM = targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.getElementsByClassName(classList.color)[0];
39615
+ var nameDOM = targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.getElementsByClassName(classList.name)[0];
39616
+ var valueDOMList = targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.getElementsByClassName(classList.value);
39617
+ var isActive = !(targetDOM !== null && targetDOM !== void 0 && targetDOM.className.includes('inactive'));
39457
39618
 
39458
- if (isActive && _this3.seriesInfo.count === 1) {
39619
+ if (isActive && _this4.seriesInfo.count === 1) {
39459
39620
  return;
39460
39621
  }
39461
39622
 
@@ -39464,12 +39625,16 @@ var plugins_legend_modules = {
39464
39625
  }
39465
39626
 
39466
39627
  if (isActive) {
39467
- _this3.seriesInfo.count--;
39468
- colorDOM.style.backgroundColor = opt.inactive;
39469
- colorDOM.style.borderColor = opt.inactive;
39470
- nameDOM.style.color = opt.inactive;
39628
+ _this4.seriesInfo.count--;
39629
+ var inactiveColor = opt.inactive;
39630
+ colorDOM.style.backgroundColor = inactiveColor;
39631
+ colorDOM.style.borderColor = inactiveColor;
39632
+ nameDOM.style.color = inactiveColor;
39633
+ valueDOMList === null || valueDOMList === void 0 ? void 0 : valueDOMList.forEach(function (dom) {
39634
+ dom.style.color = inactiveColor;
39635
+ });
39471
39636
  } else {
39472
- _this3.seriesInfo.count++;
39637
+ _this4.seriesInfo.count++;
39473
39638
  var seriesColor;
39474
39639
 
39475
39640
  if (typeof series.color !== 'string') {
@@ -39487,13 +39652,18 @@ var plugins_legend_modules = {
39487
39652
  }
39488
39653
 
39489
39654
  nameDOM.style.color = opt.color;
39655
+ valueDOMList === null || valueDOMList === void 0 ? void 0 : valueDOMList.forEach(function (dom) {
39656
+ var _opt$table, _opt$table$columns$do;
39657
+
39658
+ var style = (_opt$table = opt.table) === null || _opt$table === void 0 ? void 0 : (_opt$table$columns$do = _opt$table.columns[dom.dataset.type]) === null || _opt$table$columns$do === void 0 ? void 0 : _opt$table$columns$do.style;
39659
+ dom.style.color = style !== null && style !== void 0 && style.color ? style.color : opt.color;
39660
+ });
39490
39661
  }
39491
39662
 
39492
39663
  series.show = !series.show;
39493
- colorDOM.classList.toggle('inactive');
39494
- nameDOM.classList.toggle('inactive');
39664
+ targetDOM.classList.toggle('inactive');
39495
39665
 
39496
- _this3.update({
39666
+ _this4.update({
39497
39667
  updateSeries: false,
39498
39668
  updateSelTip: {
39499
39669
  update: true,
@@ -39509,42 +39679,29 @@ var plugins_legend_modules = {
39509
39679
 
39510
39680
 
39511
39681
  this.onLegendBoxOver = function (e) {
39512
- var _this3$defaultSelectI, _this3$defaultSelectI2;
39682
+ var _targetDOM$series;
39513
39683
 
39514
- var type = e.target.dataset.type;
39515
- var targetDOM;
39684
+ var targetDOM = _this4.getContainerDOM(e);
39516
39685
 
39517
- if (type === 'container') {
39518
- targetDOM = e.target;
39519
- } else if (type === 'name' || type === 'color') {
39520
- targetDOM = e.target.parentElement;
39521
- } else {
39686
+ if (!targetDOM) {
39522
39687
  return;
39523
39688
  }
39524
39689
 
39525
- var nameDOM = targetDOM.getElementsByClassName('ev-chart-legend-name')[0];
39526
- var targetId = nameDOM.series.sId;
39527
- var selectSeriesOption = _this3.options.selectSeries;
39528
- var selectedList = (_this3$defaultSelectI = (_this3$defaultSelectI2 = _this3.defaultSelectInfo) === null || _this3$defaultSelectI2 === void 0 ? void 0 : _this3$defaultSelectI2.seriesId) !== null && _this3$defaultSelectI !== void 0 ? _this3$defaultSelectI : [];
39529
- Object.values(_this3.seriesList).forEach(function (series) {
39530
- series.state = series.sId === targetId || selectSeriesOption.use && selectedList.includes(targetId) ? 'highlight' : 'downplay';
39531
- });
39532
- var hitInfo = null;
39533
-
39534
- if (helpers_util.isPieType(_this3.options.type)) {
39535
- hitInfo = {
39536
- sId: targetId,
39537
- type: _this3.options.type
39538
- };
39539
- }
39690
+ var targetId = targetDOM === null || targetDOM === void 0 ? void 0 : (_targetDOM$series = targetDOM.series) === null || _targetDOM$series === void 0 ? void 0 : _targetDOM$series.sId;
39691
+ var legendHitInfo = {
39692
+ sId: targetId,
39693
+ type: _this4.options.type
39694
+ };
39540
39695
 
39541
- _this3.update({
39696
+ _this4.update({
39542
39697
  updateSeries: false,
39543
39698
  updateSelTip: {
39544
39699
  update: false,
39545
39700
  keepDomain: false
39546
39701
  },
39547
- hitInfo: hitInfo
39702
+ hitInfo: {
39703
+ legend: legendHitInfo
39704
+ }
39548
39705
  });
39549
39706
  };
39550
39707
  /**
@@ -39555,23 +39712,14 @@ var plugins_legend_modules = {
39555
39712
 
39556
39713
 
39557
39714
  this.onLegendBoxLeave = function () {
39558
- var _this3$defaultSelectI3, _this3$defaultSelectI4;
39559
-
39560
- var selectSeriesOption = _this3.options.selectSeries;
39561
- var selectedList = (_this3$defaultSelectI3 = (_this3$defaultSelectI4 = _this3.defaultSelectInfo) === null || _this3$defaultSelectI4 === void 0 ? void 0 : _this3$defaultSelectI4.seriesId) !== null && _this3$defaultSelectI3 !== void 0 ? _this3$defaultSelectI3 : [];
39562
- Object.values(_this3.seriesList).forEach(function (series) {
39563
- if (selectSeriesOption.use && selectedList.length) {
39564
- series.state = selectedList.includes(series.sId) ? 'highlight' : 'downplay';
39565
- } else {
39566
- series.state = 'normal';
39567
- }
39568
- });
39569
-
39570
- _this3.update({
39715
+ _this4.update({
39571
39716
  updateSeries: false,
39572
39717
  updateSelTip: {
39573
39718
  update: false,
39574
39719
  keepDomain: false
39720
+ },
39721
+ hitInfo: {
39722
+ legend: null
39575
39723
  }
39576
39724
  });
39577
39725
  };
@@ -39581,8 +39729,13 @@ var plugins_legend_modules = {
39581
39729
  this.legendBoxDOM.addEventListener('mouseleave', this.onLegendBoxLeave);
39582
39730
  this.initResizeEvent();
39583
39731
  },
39732
+
39733
+ /**
39734
+ * Init Event on Color Legend
39735
+ * Only Heatmap
39736
+ */
39584
39737
  initEventForColorLegend: function initEventForColorLegend() {
39585
- var _this4 = this;
39738
+ var _this5 = this;
39586
39739
 
39587
39740
  if (this.isInitLegend) {
39588
39741
  return;
@@ -39595,25 +39748,21 @@ var plugins_legend_modules = {
39595
39748
 
39596
39749
 
39597
39750
  this.onLegendBoxClick = function (e) {
39598
- var _targetDOM3, _targetDOM4;
39751
+ var _targetDOM$series2;
39599
39752
 
39600
- var opt = _this4.options.legend;
39601
- var series = Object.values(_this4.seriesList)[0];
39602
- var type = e.target.dataset.type;
39603
- var targetDOM;
39753
+ var opt = _this5.options.legend;
39754
+ var series = Object.values(_this5.seriesList)[0];
39604
39755
 
39605
- if (type === 'container') {
39606
- targetDOM = e.target;
39607
- } else if (type === 'name' || type === 'color') {
39608
- targetDOM = e.target.parentElement;
39609
- } else {
39756
+ var targetDOM = _this5.getContainerDOM(e);
39757
+
39758
+ if (!targetDOM) {
39610
39759
  return;
39611
39760
  }
39612
39761
 
39613
- var colorDOM = (_targetDOM3 = targetDOM) === null || _targetDOM3 === void 0 ? void 0 : _targetDOM3.getElementsByClassName('ev-chart-legend-color')[0];
39614
- var nameDOM = (_targetDOM4 = targetDOM) === null || _targetDOM4 === void 0 ? void 0 : _targetDOM4.getElementsByClassName('ev-chart-legend-name')[0];
39762
+ var colorDOM = targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.getElementsByClassName('ev-chart-legend-color')[0];
39763
+ var nameDOM = targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.getElementsByClassName('ev-chart-legend-name')[0];
39764
+ var targetId = targetDOM === null || targetDOM === void 0 ? void 0 : (_targetDOM$series2 = targetDOM.series) === null || _targetDOM$series2 === void 0 ? void 0 : _targetDOM$series2.cId;
39615
39765
  var isActive = !(colorDOM !== null && colorDOM !== void 0 && colorDOM.className.includes('inactive'));
39616
- var targetId = nameDOM.series.cId;
39617
39766
  var activeCount = series.colorState.filter(function (colorItem) {
39618
39767
  return colorItem.show;
39619
39768
  }).length;
@@ -39631,7 +39780,9 @@ var plugins_legend_modules = {
39631
39780
  colorDOM.style.borderColor = opt.inactive;
39632
39781
  nameDOM.style.color = opt.inactive;
39633
39782
  } else {
39634
- colorDOM.style.backgroundColor = nameDOM.series.color;
39783
+ var _targetDOM$series3;
39784
+
39785
+ colorDOM.style.backgroundColor = targetDOM === null || targetDOM === void 0 ? void 0 : (_targetDOM$series3 = targetDOM.series) === null || _targetDOM$series3 === void 0 ? void 0 : _targetDOM$series3.color;
39635
39786
  nameDOM.style.color = opt.color;
39636
39787
  }
39637
39788
 
@@ -39646,7 +39797,7 @@ var plugins_legend_modules = {
39646
39797
  colorDOM.classList.toggle('inactive');
39647
39798
  nameDOM.classList.toggle('inactive');
39648
39799
 
39649
- _this4.update({
39800
+ _this5.update({
39650
39801
  updateSeries: false,
39651
39802
  updateSelTip: {
39652
39803
  update: true,
@@ -39662,25 +39813,22 @@ var plugins_legend_modules = {
39662
39813
 
39663
39814
 
39664
39815
  this.onLegendBoxOver = function (e) {
39665
- var type = e.target.dataset.type;
39666
- var series = Object.values(_this4.seriesList)[0];
39667
- var targetDOM;
39816
+ var _Object$values, _targetDOM$series4;
39668
39817
 
39669
- if (type === 'container') {
39670
- targetDOM = e.target;
39671
- } else if (type === 'name' || type === 'color') {
39672
- targetDOM = e.target.parentElement;
39673
- } else {
39818
+ var series = (_Object$values = Object.values(_this5.seriesList)) === null || _Object$values === void 0 ? void 0 : _Object$values[0];
39819
+
39820
+ var targetDOM = _this5.getContainerDOM(e);
39821
+
39822
+ if (!targetDOM) {
39674
39823
  return;
39675
39824
  }
39676
39825
 
39677
- var nameDOM = targetDOM.getElementsByClassName('ev-chart-legend-name')[0];
39678
- var targetId = nameDOM.series.cId;
39826
+ var targetId = targetDOM === null || targetDOM === void 0 ? void 0 : (_targetDOM$series4 = targetDOM.series) === null || _targetDOM$series4 === void 0 ? void 0 : _targetDOM$series4.cId;
39679
39827
  series.colorState.forEach(function (colorItem) {
39680
39828
  colorItem.state = colorItem.id === targetId ? 'highlight' : 'downplay';
39681
39829
  });
39682
39830
 
39683
- _this4.update({
39831
+ _this5.update({
39684
39832
  updateSeries: false,
39685
39833
  updateSelTip: {
39686
39834
  update: false,
@@ -39696,12 +39844,12 @@ var plugins_legend_modules = {
39696
39844
 
39697
39845
 
39698
39846
  this.onLegendBoxLeave = function () {
39699
- var series = Object.values(_this4.seriesList)[0];
39847
+ var series = Object.values(_this5.seriesList)[0];
39700
39848
  series.colorState.forEach(function (item) {
39701
39849
  item.state = 'normal';
39702
39850
  });
39703
39851
 
39704
- _this4.update({
39852
+ _this5.update({
39705
39853
  updateSeries: false,
39706
39854
  updateSelTip: {
39707
39855
  update: false,
@@ -39716,7 +39864,7 @@ var plugins_legend_modules = {
39716
39864
  this.initResizeEvent();
39717
39865
  },
39718
39866
  initResizeEvent: function initResizeEvent() {
39719
- var _this5 = this;
39867
+ var _this6 = this;
39720
39868
 
39721
39869
  /**
39722
39870
  * callback for resizeDOM click event
@@ -39728,33 +39876,33 @@ var plugins_legend_modules = {
39728
39876
  this.onResizeMouseDown = function (e) {
39729
39877
  e.stopPropagation();
39730
39878
  e.preventDefault();
39731
- var opt = _this5.options;
39879
+ var opt = _this6.options;
39732
39880
  var pos = opt.legend.position;
39733
39881
  var title = opt.title.show ? opt.title.height : 0;
39734
- var ghostDOM = _this5.ghostDOM;
39735
- _this5.resizeDOM.style.display = 'none';
39882
+ var ghostDOM = _this6.ghostDOM;
39883
+ _this6.resizeDOM.style.display = 'none';
39736
39884
 
39737
- _this5.wrapperDOM.appendChild(ghostDOM); // mouse down 시, resizeDOM의 위치를 기반으로 ghostDOM의 위치를 세팅
39885
+ _this6.wrapperDOM.appendChild(ghostDOM); // mouse down 시, resizeDOM의 위치를 기반으로 ghostDOM의 위치를 세팅
39738
39886
 
39739
39887
 
39740
39888
  if (pos === 'left' || pos === 'right') {
39741
39889
  ghostDOM.style.top = "".concat(title, "px");
39742
- ghostDOM.style.left = _this5.resizeDOM.style.left;
39743
- ghostDOM.style.right = _this5.resizeDOM.style.right;
39744
- ghostDOM.style.height = _this5.resizeDOM.style.height;
39890
+ ghostDOM.style.left = _this6.resizeDOM.style.left;
39891
+ ghostDOM.style.right = _this6.resizeDOM.style.right;
39892
+ ghostDOM.style.height = _this6.resizeDOM.style.height;
39745
39893
  } else {
39746
39894
  ghostDOM.classList.add('horizontal');
39747
39895
 
39748
39896
  if (pos === 'top') {
39749
- ghostDOM.style.top = _this5.resizeDOM.style.top;
39897
+ ghostDOM.style.top = _this6.resizeDOM.style.top;
39750
39898
  } else if (pos === 'bottom') {
39751
- ghostDOM.style.bottom = _this5.resizeDOM.style.bottom;
39899
+ ghostDOM.style.bottom = _this6.resizeDOM.style.bottom;
39752
39900
  }
39753
39901
  }
39754
39902
 
39755
- _this5.wrapperDOM.addEventListener('mousemove', _this5.mouseMove, false);
39903
+ _this6.wrapperDOM.addEventListener('mousemove', _this6.mouseMove, false);
39756
39904
 
39757
- _this5.wrapperDOM.addEventListener('mouseup', _this5.mouseUp, false);
39905
+ _this6.wrapperDOM.addEventListener('mouseup', _this6.mouseUp, false);
39758
39906
  };
39759
39907
 
39760
39908
  if (this.resizeDOM) {
@@ -39780,25 +39928,89 @@ var plugins_legend_modules = {
39780
39928
  }
39781
39929
  },
39782
39930
 
39931
+ /**
39932
+ * To update value text on legend table
39933
+ * Only chartOption > legend > table > use : true
39934
+ *
39935
+ * @returns {undefined}
39936
+ */
39937
+ updateLegendTableValues: function updateLegendTableValues() {
39938
+ var _this$options2,
39939
+ _this$options2$legend,
39940
+ _this$options2$legend2,
39941
+ _this$legendBoxDOM,
39942
+ _this7 = this;
39943
+
39944
+ var columns = (_this$options2 = this.options) === null || _this$options2 === void 0 ? void 0 : (_this$options2$legend = _this$options2.legend) === null || _this$options2$legend === void 0 ? void 0 : (_this$options2$legend2 = _this$options2$legend.table) === null || _this$options2$legend2 === void 0 ? void 0 : _this$options2$legend2.columns;
39945
+ var aggregations = this.getAggregations();
39946
+ var rowDOMList = (_this$legendBoxDOM = this.legendBoxDOM) === null || _this$legendBoxDOM === void 0 ? void 0 : _this$legendBoxDOM.getElementsByClassName('ev-chart-legend--table__row');
39947
+ rowDOMList.forEach(function (row) {
39948
+ var valueDOMList = row === null || row === void 0 ? void 0 : row.getElementsByClassName('ev-chart-legend--table__value');
39949
+ valueDOMList.forEach(function (dom) {
39950
+ var _aggregations$seriesI;
39951
+
39952
+ var key = dom.dataset.type;
39953
+
39954
+ if (key === 'name') {
39955
+ return;
39956
+ }
39957
+
39958
+ var seriesId = row.series.sId;
39959
+ var value = +(aggregations === null || aggregations === void 0 ? void 0 : (_aggregations$seriesI = aggregations[seriesId]) === null || _aggregations$seriesI === void 0 ? void 0 : _aggregations$seriesI[key]);
39960
+ dom.textContent = _this7.getFormattedValue(columns[key], value);
39961
+ });
39962
+ });
39963
+ },
39964
+
39965
+ /**
39966
+ * Force Update Legend. Remove and Create
39967
+ *
39968
+ * @returns {undefined}
39969
+ */
39970
+ forceUpdateLegend: function forceUpdateLegend() {
39971
+ this.destroyLegend();
39972
+ this.initLegend();
39973
+ },
39974
+
39783
39975
  /**
39784
39976
  * To update legend, remove all of legendBoxDOM's children
39785
39977
  *
39786
39978
  * @returns {undefined}
39787
39979
  */
39788
39980
  resetLegend: function resetLegend() {
39789
- var legendDOM = this.legendBoxDOM;
39981
+ var legendBoxDOM = this.legendBoxDOM;
39790
39982
 
39791
- if (!legendDOM) {
39983
+ if (!legendBoxDOM) {
39792
39984
  return;
39793
39985
  }
39794
39986
 
39795
- while (legendDOM.hasChildNodes()) {
39796
- legendDOM.removeChild(legendDOM.firstChild);
39987
+ while (legendBoxDOM.hasChildNodes()) {
39988
+ legendBoxDOM.removeChild(legendBoxDOM.firstChild);
39797
39989
  }
39798
39990
 
39799
39991
  this.seriesInfo.count = 0;
39800
39992
  },
39801
39993
 
39994
+ /**
39995
+ * To update legend, remove all of legendBoxDOM's children
39996
+ *
39997
+ * @returns {undefined}
39998
+ */
39999
+ destroyLegend: function destroyLegend() {
40000
+ var legendDOM = this.legendDOM;
40001
+
40002
+ if (!legendDOM) {
40003
+ return;
40004
+ }
40005
+
40006
+ legendDOM.remove();
40007
+ this.legendDOM = null;
40008
+ this.legendBoxDOM = null;
40009
+ this.resizeDOM = null;
40010
+ this.isInitLegend = false;
40011
+ this.seriesInfo.count = 0;
40012
+ },
40013
+
39802
40014
  /**
39803
40015
  * Create DOM for each series
39804
40016
  *
@@ -39809,18 +40021,21 @@ var plugins_legend_modules = {
39809
40021
  var containerDOM = document.createElement('div');
39810
40022
  var colorDOM = document.createElement('span');
39811
40023
  var nameDOM = document.createElement('div');
39812
- containerDOM.className = 'ev-chart-legend-container';
40024
+ containerDOM.className = "ev-chart-legend-container ".concat(!series.show ? ' inactive' : '');
40025
+ containerDOM.series = series;
39813
40026
  colorDOM.className = 'ev-chart-legend-color';
39814
40027
 
39815
40028
  if (series.type === 'line' && series.point && !series.fill) {
39816
40029
  colorDOM.className += ' ev-chart-legend-color--point-line';
39817
40030
  }
39818
40031
 
39819
- nameDOM.className = 'ev-chart-legend-name';
39820
- nameDOM.series = series;
40032
+ nameDOM.className = 'ev-chart-legend-name'; // set series color
40033
+
39821
40034
  var seriesColor;
39822
40035
 
39823
- if (typeof series.color !== 'string') {
40036
+ if (!series.show) {
40037
+ seriesColor = opt.inactive;
40038
+ } else if (typeof series.color !== 'string') {
39824
40039
  seriesColor = series.color[series.color.length - 1][1];
39825
40040
  } else {
39826
40041
  seriesColor = series.color;
@@ -39828,7 +40043,7 @@ var plugins_legend_modules = {
39828
40043
 
39829
40044
  if (series.type === 'line' && series.fill) {
39830
40045
  colorDOM.style.height = '8px';
39831
- colorDOM.style.backgroundColor = "".concat(seriesColor, "80");
40046
+ colorDOM.style.backgroundColor = series.show ? "".concat(seriesColor, "80") : opt.inactive;
39832
40047
  colorDOM.style.border = "1px solid ".concat(seriesColor);
39833
40048
  } else {
39834
40049
  colorDOM.style.backgroundColor = seriesColor;
@@ -39855,7 +40070,140 @@ var plugins_legend_modules = {
39855
40070
  containerDOM.style.overflow = 'hidden';
39856
40071
  containerDOM.dataset.type = 'container';
39857
40072
  this.legendBoxDOM.appendChild(containerDOM);
39858
- this.seriesInfo.count++;
40073
+
40074
+ if (series.show) {
40075
+ this.seriesInfo.count++;
40076
+ }
40077
+ },
40078
+
40079
+ /**
40080
+ * Add Legend Items With aggregation Values
40081
+ * Only chartOption > legend > table > use : true
40082
+ * @param series
40083
+ */
40084
+ addLegendWithValues: function addLegendWithValues(series) {
40085
+ var _opt$table2,
40086
+ _this$getAggregations,
40087
+ _opt$table3,
40088
+ _opt$table3$style,
40089
+ _columns$name,
40090
+ _this8 = this;
40091
+
40092
+ var opt = this.options.legend;
40093
+ var columns = opt === null || opt === void 0 ? void 0 : (_opt$table2 = opt.table) === null || _opt$table2 === void 0 ? void 0 : _opt$table2.columns;
40094
+ var aggregations = (_this$getAggregations = this.getAggregations()) === null || _this$getAggregations === void 0 ? void 0 : _this$getAggregations[series === null || series === void 0 ? void 0 : series.sId];
40095
+
40096
+ if (!aggregations || !columns) {
40097
+ return;
40098
+ } // create row
40099
+
40100
+
40101
+ var rowDOM = document.createElement('tr');
40102
+ rowDOM.className = "ev-chart-legend--table__row ".concat(!series.show ? ' inactive' : '');
40103
+ helpers_util.setDOMStyle(rowDOM, (_opt$table3 = opt.table) === null || _opt$table3 === void 0 ? void 0 : (_opt$table3$style = _opt$table3.style) === null || _opt$table3$style === void 0 ? void 0 : _opt$table3$style.row);
40104
+ rowDOM.series = series;
40105
+ rowDOM.dataset.type = 'container'; // create td - color
40106
+
40107
+ var colorWrapperDOM = document.createElement('td');
40108
+ colorWrapperDOM.className = 'ev-chart-legend--table__color-wrapper';
40109
+ colorWrapperDOM.dataset.type = 'color';
40110
+ var colorDOM = document.createElement('div');
40111
+ colorDOM.className = 'ev-chart-legend--table__color';
40112
+ colorDOM.dataset.type = 'color'; // set series color
40113
+
40114
+ var seriesColor;
40115
+
40116
+ if (!series.show) {
40117
+ seriesColor = opt.inactive;
40118
+ } else if (typeof series.color !== 'string') {
40119
+ seriesColor = series.color[series.color.length - 1][1];
40120
+ } else {
40121
+ seriesColor = series.color;
40122
+ }
40123
+
40124
+ switch (series.type) {
40125
+ case 'line':
40126
+ {
40127
+ if (series.fill) {
40128
+ colorDOM.style.backgroundColor = "".concat(seriesColor, "80");
40129
+ colorDOM.style.border = "1px solid ".concat(seriesColor);
40130
+ } else {
40131
+ if (series.point) {
40132
+ colorDOM.className += ' ev-chart-legend--table__color--point-line';
40133
+ }
40134
+
40135
+ colorDOM.className += ' ev-chart-legend--table__color--line';
40136
+ colorDOM.style.backgroundColor = seriesColor;
40137
+ }
40138
+
40139
+ break;
40140
+ }
40141
+
40142
+ case 'bar':
40143
+ case 'pie':
40144
+ default:
40145
+ {
40146
+ colorDOM.style.height = '10px';
40147
+ colorDOM.style.backgroundColor = seriesColor;
40148
+ break;
40149
+ }
40150
+ }
40151
+
40152
+ if (series.type === 'line' && series.fill) {
40153
+ colorDOM.style.height = '8px';
40154
+ colorDOM.style.backgroundColor = series.show ? "".concat(seriesColor, "80") : opt.inactive;
40155
+ colorDOM.style.border = "1px solid ".concat(seriesColor);
40156
+ } else {
40157
+ colorDOM.style.backgroundColor = seriesColor;
40158
+ }
40159
+
40160
+ colorWrapperDOM.appendChild(colorDOM);
40161
+ rowDOM.appendChild(colorWrapperDOM); // create td - name
40162
+
40163
+ var nameDOM = document.createElement('td');
40164
+ nameDOM.className = 'ev-chart-legend--table__name';
40165
+ nameDOM.style.color = series.show ? opt.color : opt.inactive;
40166
+ nameDOM.textContent = series.name;
40167
+ nameDOM.setAttribute('title', series.name);
40168
+ nameDOM.dataset.type = 'name';
40169
+ helpers_util.setDOMStyle(nameDOM, columns === null || columns === void 0 ? void 0 : (_columns$name = columns.name) === null || _columns$name === void 0 ? void 0 : _columns$name.style);
40170
+
40171
+ if (!series.show) {
40172
+ nameDOM.style.color = opt.inactive;
40173
+ }
40174
+
40175
+ rowDOM.appendChild(nameDOM); // create td - values
40176
+
40177
+ var columnKeyList = Object.keys(columns);
40178
+ columnKeyList === null || columnKeyList === void 0 ? void 0 : columnKeyList.forEach(function (key) {
40179
+ if (key === 'name') {
40180
+ return;
40181
+ }
40182
+
40183
+ if (columns[key].use) {
40184
+ var _columns$key2;
40185
+
40186
+ var formattedTxt = _this8.getFormattedValue(columns[key], +aggregations[key]);
40187
+
40188
+ var valueDOM = document.createElement('td');
40189
+ valueDOM.className = 'ev-chart-legend--table__value';
40190
+ valueDOM.style.color = series.show ? opt.color : opt.inactive;
40191
+ valueDOM.textContent = formattedTxt;
40192
+ valueDOM.dataset.type = key.toString();
40193
+ helpers_util.setDOMStyle(valueDOM, (_columns$key2 = columns[key]) === null || _columns$key2 === void 0 ? void 0 : _columns$key2.style);
40194
+
40195
+ if (!series.show) {
40196
+ valueDOM.style.color = opt.inactive;
40197
+ }
40198
+
40199
+ rowDOM.appendChild(valueDOM);
40200
+ }
40201
+ });
40202
+ this.legendTableDOM.appendChild(rowDOM);
40203
+
40204
+ if (series.show) {
40205
+ this.seriesInfo.count++;
40206
+ }
39859
40207
  },
39860
40208
 
39861
40209
  /**
@@ -39864,13 +40212,13 @@ var plugins_legend_modules = {
39864
40212
  * @returns {undefined}
39865
40213
  */
39866
40214
  setLegendPosition: function setLegendPosition() {
39867
- var _opt$legend, _this$wrapperDOM, _this$legendDOM, _this$legendBoxDOM, _this$resizeDOM, _opt$title, _opt$title2, _opt$legend2, _opt$legend$padding, _opt$legend3;
40215
+ var _opt$legend, _this$wrapperDOM, _this$legendDOM, _this$legendBoxDOM2, _this$resizeDOM, _opt$title, _opt$title2, _opt$legend2, _opt$legend$padding, _opt$legend3;
39868
40216
 
39869
40217
  var opt = this.options;
39870
40218
  var position = opt === null || opt === void 0 ? void 0 : (_opt$legend = opt.legend) === null || _opt$legend === void 0 ? void 0 : _opt$legend.position;
39871
40219
  var wrapperStyle = (_this$wrapperDOM = this.wrapperDOM) === null || _this$wrapperDOM === void 0 ? void 0 : _this$wrapperDOM.style;
39872
40220
  var legendStyle = (_this$legendDOM = this.legendDOM) === null || _this$legendDOM === void 0 ? void 0 : _this$legendDOM.style;
39873
- var boxStyle = (_this$legendBoxDOM = this.legendBoxDOM) === null || _this$legendBoxDOM === void 0 ? void 0 : _this$legendBoxDOM.style;
40221
+ var boxStyle = (_this$legendBoxDOM2 = this.legendBoxDOM) === null || _this$legendBoxDOM2 === void 0 ? void 0 : _this$legendBoxDOM2.style;
39874
40222
  var resizeStyle = (_this$resizeDOM = this.resizeDOM) === null || _this$resizeDOM === void 0 ? void 0 : _this$resizeDOM.style;
39875
40223
  var chartRect;
39876
40224
  var legendPad;
@@ -40007,13 +40355,13 @@ var plugins_legend_modules = {
40007
40355
  * @returns {undefined}
40008
40356
  */
40009
40357
  updateLegendContainerSize: function updateLegendContainerSize() {
40010
- var _this$options2;
40358
+ var _this$options3;
40011
40359
 
40012
40360
  if (!this.options || !this.legendBoxDOM) {
40013
40361
  return;
40014
40362
  }
40015
40363
 
40016
- var opt = (_this$options2 = this.options) === null || _this$options2 === void 0 ? void 0 : _this$options2.legend;
40364
+ var opt = (_this$options3 = this.options) === null || _this$options3 === void 0 ? void 0 : _this$options3.legend;
40017
40365
  var container = this.legendBoxDOM.getElementsByClassName('ev-chart-legend-container');
40018
40366
 
40019
40367
  if (!container) {
@@ -40219,6 +40567,30 @@ var plugins_legend_modules = {
40219
40567
  legendStyle.width = '0';
40220
40568
  legendStyle.height = '0';
40221
40569
  wrapperStyle.padding = "".concat(title, "px 0 0 0");
40570
+ },
40571
+
40572
+ /**
40573
+ * Get formatted value by formatter function
40574
+ * Only chartOption > legend > table > use : true
40575
+ * @param formatter
40576
+ * @param decimalPoint
40577
+ * @param value
40578
+ * @returns {string}
40579
+ */
40580
+ getFormattedValue: function getFormattedValue(_ref2, value) {
40581
+ var formatter = _ref2.formatter,
40582
+ decimalPoint = _ref2.decimalPoint;
40583
+ var formattedTxt;
40584
+
40585
+ if (formatter) {
40586
+ formattedTxt = formatter(value);
40587
+ }
40588
+
40589
+ if (!formatter || typeof formattedTxt !== 'string') {
40590
+ formattedTxt = helpers_util.labelSignFormat(value, decimalPoint);
40591
+ }
40592
+
40593
+ return formattedTxt;
40222
40594
  }
40223
40595
  };
40224
40596
  /* harmony default export */ var plugins_legend = (plugins_legend_modules);
@@ -40872,9 +41244,6 @@ var es_object_from_entries = __webpack_require__("c1f9");
40872
41244
 
40873
41245
 
40874
41246
 
40875
-
40876
-
40877
-
40878
41247
  var plugins_interaction_modules = {
40879
41248
  /**
40880
41249
  * Hide legend components by manipulating css
@@ -41380,34 +41749,36 @@ var plugins_interaction_modules = {
41380
41749
  var seriesName = _ref2.seriesName,
41381
41750
  value = _ref2.value,
41382
41751
  itemData = _ref2.itemData;
41383
- var tooltipOpt = this.options.tooltip;
41384
- var tooltipValueFormatter = typeof tooltipOpt.formatter === 'function' ? tooltipOpt.formatter : (_tooltipOpt$formatter = tooltipOpt.formatter) === null || _tooltipOpt$formatter === void 0 ? void 0 : _tooltipOpt$formatter.value;
41752
+ var opt = this.options;
41753
+ var isHorizontal = !!opt.horizontal;
41754
+ var tooltipOpt = opt.tooltip;
41755
+ var tooltipValueFormatter = typeof (tooltipOpt === null || tooltipOpt === void 0 ? void 0 : tooltipOpt.formatter) === 'function' ? tooltipOpt === null || tooltipOpt === void 0 ? void 0 : tooltipOpt.formatter : tooltipOpt === null || tooltipOpt === void 0 ? void 0 : (_tooltipOpt$formatter = tooltipOpt.formatter) === null || _tooltipOpt$formatter === void 0 ? void 0 : _tooltipOpt$formatter.value;
41385
41756
  var formattedTxt = value;
41386
41757
 
41387
41758
  if (tooltipValueFormatter) {
41388
- if (this.options.type === 'pie') {
41759
+ if (opt.type === 'pie') {
41389
41760
  formattedTxt = tooltipValueFormatter({
41390
41761
  value: value,
41391
41762
  name: seriesName,
41392
- percentage: itemData.percentage
41763
+ percentage: itemData === null || itemData === void 0 ? void 0 : itemData.percentage
41393
41764
  });
41394
- } else if (this.options.type === 'heatMap') {
41765
+ } else if (opt.type === 'heatMap') {
41395
41766
  formattedTxt = tooltipValueFormatter({
41396
- x: itemData.x,
41397
- y: itemData.y,
41767
+ x: itemData === null || itemData === void 0 ? void 0 : itemData.x,
41768
+ y: itemData === null || itemData === void 0 ? void 0 : itemData.y,
41398
41769
  value: value > -1 ? value : 'error'
41399
41770
  });
41400
41771
  } else {
41401
41772
  formattedTxt = tooltipValueFormatter({
41402
- x: this.options.horizontal ? value : itemData.x,
41403
- y: this.options.horizontal ? itemData.y : value,
41773
+ x: isHorizontal ? value : itemData === null || itemData === void 0 ? void 0 : itemData.x,
41774
+ y: isHorizontal ? itemData === null || itemData === void 0 ? void 0 : itemData.y : value,
41404
41775
  name: seriesName
41405
41776
  });
41406
41777
  }
41407
41778
  }
41408
41779
 
41409
41780
  if (value && (!tooltipValueFormatter || typeof formattedTxt !== 'string')) {
41410
- if (this.options.type === 'heatMap') {
41781
+ if (opt.type === 'heatMap') {
41411
41782
  formattedTxt = value < 0 ? 'error' : numberWithComma(value);
41412
41783
  } else {
41413
41784
  formattedTxt = numberWithComma(value);
@@ -41424,37 +41795,60 @@ var plugins_interaction_modules = {
41424
41795
  addNotHitInfo: function addNotHitInfo(hitInfo) {
41425
41796
  var _hitInfo$items, _hitInfo$items$hitIte, _hitInfo$items$hitIte2, _hitInfo$items2, _hitInfo$items2$hitIt, _hitInfo$items2$hitIt2;
41426
41797
 
41798
+ var ctx = this.tooltipCtx;
41427
41799
  var isHorizontal = !!this.options.horizontal;
41428
41800
  var hitItemId = Object.keys(hitInfo.items)[0];
41429
41801
  var hitItemData = isHorizontal ? (_hitInfo$items = hitInfo.items) === null || _hitInfo$items === void 0 ? void 0 : (_hitInfo$items$hitIte = _hitInfo$items[hitItemId]) === null || _hitInfo$items$hitIte === void 0 ? void 0 : (_hitInfo$items$hitIte2 = _hitInfo$items$hitIte.data) === null || _hitInfo$items$hitIte2 === void 0 ? void 0 : _hitInfo$items$hitIte2.y : (_hitInfo$items2 = hitInfo.items) === null || _hitInfo$items2 === void 0 ? void 0 : (_hitInfo$items2$hitIt = _hitInfo$items2[hitItemId]) === null || _hitInfo$items2$hitIt === void 0 ? void 0 : (_hitInfo$items2$hitIt2 = _hitInfo$items2$hitIt.data) === null || _hitInfo$items2$hitIt2 === void 0 ? void 0 : _hitInfo$items2$hitIt2.x;
41802
+ var maxSeriesName = '';
41803
+ var maxValueTxt = '';
41430
41804
  var sIds = Object.keys(this.seriesList);
41431
41805
 
41432
41806
  for (var ix = 0; ix < sIds.length; ix++) {
41433
41807
  var sId = sIds[ix];
41434
41808
  var series = this.seriesList[sId];
41435
- var hasData = series.data.find(function (data) {
41436
- return isHorizontal ? (data === null || data === void 0 ? void 0 : data.y) === hitItemData : (data === null || data === void 0 ? void 0 : data.x) === hitItemData;
41437
- });
41438
41809
 
41439
- if (hasData && !hitInfo.items[sId] && series !== null && series !== void 0 && series.show) {
41440
- var item = {};
41441
- item.color = series.color;
41442
- item.hit = false;
41443
- item.name = series.name;
41444
- item.axis = {
41445
- x: series.xAxisIndex,
41446
- y: series.yAxisIndex
41447
- };
41448
- item.index = isHorizontal ? series.yAxisIndex : series.xAxisIndex;
41449
- item.data = hasData;
41450
- item.data.formatted = this.getFormattedTooltipValue({
41810
+ if (series !== null && series !== void 0 && series.show) {
41811
+ var hasData = series.data.find(function (data) {
41812
+ return isHorizontal ? (data === null || data === void 0 ? void 0 : data.y) === hitItemData : (data === null || data === void 0 ? void 0 : data.x) === hitItemData;
41813
+ });
41814
+ var formattedValue = this.getFormattedTooltipValue({
41451
41815
  seriesName: series.name,
41452
- value: hasData.o,
41816
+ value: hasData === null || hasData === void 0 ? void 0 : hasData.o,
41453
41817
  itemData: hasData
41454
41818
  });
41455
- hitInfo.items[sId] = item;
41819
+
41820
+ if (hasData && !hitInfo.items[sId]) {
41821
+ var item = {};
41822
+ item.color = series.color;
41823
+ item.hit = false;
41824
+ item.name = series.name;
41825
+ item.axis = {
41826
+ x: series.xAxisIndex,
41827
+ y: series.yAxisIndex
41828
+ };
41829
+ item.index = isHorizontal ? series.yAxisIndex : series.xAxisIndex;
41830
+ item.data = hasData;
41831
+ item.data.formatted = formattedValue;
41832
+ hitInfo.items[sId] = item;
41833
+ }
41834
+
41835
+ var maxSeriesNameWidth = ctx ? ctx.measureText(maxSeriesName).width : 1;
41836
+ var seriesNameWidth = ctx ? ctx.measureText(series.name).width : 1;
41837
+
41838
+ if (maxSeriesNameWidth < seriesNameWidth) {
41839
+ maxSeriesName = series.name;
41840
+ }
41841
+
41842
+ var maxValueWidth = ctx ? ctx.measureText(maxValueTxt).width : 1;
41843
+ var valueWidth = ctx ? ctx.measureText("".concat(formattedValue)).width : 1;
41844
+
41845
+ if (maxValueWidth < valueWidth) {
41846
+ maxValueTxt = "".concat(formattedValue);
41847
+ }
41456
41848
  }
41457
41849
  }
41850
+
41851
+ hitInfo.maxTip = [maxSeriesName, maxValueTxt];
41458
41852
  },
41459
41853
 
41460
41854
  /**
@@ -41543,17 +41937,6 @@ var plugins_interaction_modules = {
41543
41937
  seriesId: []
41544
41938
  };
41545
41939
  }
41546
-
41547
- var selectedList = this.defaultSelectInfo.seriesId;
41548
- Object.values(this.seriesList).forEach(function (series) {
41549
- if (!selectedList.length) {
41550
- series.state = 'normal';
41551
- } else if (selectedList.includes(series.sId)) {
41552
- series.state = 'highlight';
41553
- } else {
41554
- series.state = 'downplay';
41555
- }
41556
- });
41557
41940
  }
41558
41941
  },
41559
41942
 
@@ -42497,6 +42880,10 @@ var plugins_pie_modules = {
42497
42880
  radius -= pieOption.pieStroke.lineWidth;
42498
42881
  }
42499
42882
 
42883
+ if (radius < 0) {
42884
+ return;
42885
+ }
42886
+
42500
42887
  pie.or = radius;
42501
42888
 
42502
42889
  if (ix < pieDataSet.length - 1) {
@@ -42529,7 +42916,10 @@ var plugins_pie_modules = {
42529
42916
  ctx.stroke();
42530
42917
  }
42531
42918
 
42532
- series.isSelect = (hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.sId) === slice.id;
42919
+ var selectInfo = hitInfo.selectInfo,
42920
+ legendHitInfo = hitInfo.legendHitInfo;
42921
+ series.isSelect = (selectInfo === null || selectInfo === void 0 ? void 0 : selectInfo.sId) === slice.id;
42922
+ series.isDownplay = legendHitInfo && legendHitInfo.sId !== slice.id;
42533
42923
  series.type = isDoughnut ? 'doughnut' : 'pie';
42534
42924
  series.centerX = centerX;
42535
42925
  series.centerY = centerY;
@@ -42594,6 +42984,10 @@ var plugins_pie_modules = {
42594
42984
  radius -= pieOption.pieStroke.lineWidth;
42595
42985
  }
42596
42986
 
42987
+ if (radius < 0) {
42988
+ return;
42989
+ }
42990
+
42597
42991
  pie.or = radius;
42598
42992
 
42599
42993
  if (ix < pieDataSet.length - 1) {
@@ -42634,7 +43028,10 @@ var plugins_pie_modules = {
42634
43028
  ctx.stroke();
42635
43029
  }
42636
43030
 
42637
- series.isSelect = (hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.sId) === slice.id;
43031
+ var selectInfo = hitInfo.selectInfo,
43032
+ legendHitInfo = hitInfo.legendHitInfo;
43033
+ series.isSelect = (selectInfo === null || selectInfo === void 0 ? void 0 : selectInfo.sId) === slice.id;
43034
+ series.isDownplay = legendHitInfo && legendHitInfo.sId !== slice.id;
42638
43035
  series.type = 'sunburst';
42639
43036
  series.centerX = centerX;
42640
43037
  series.centerY = centerY;
@@ -43329,7 +43726,6 @@ var element_tip_modules = {
43329
43726
 
43330
43727
 
43331
43728
 
43332
-
43333
43729
 
43334
43730
 
43335
43731
  var chart_core_EvChart = /*#__PURE__*/function () {
@@ -43491,7 +43887,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
43491
43887
  this.axesSteps = this.calculateSteps();
43492
43888
  this.drawAxis(hitInfo);
43493
43889
  this.drawSeries(hitInfo);
43494
- this.drawTip(hitInfo);
43890
+ this.drawTip();
43495
43891
 
43496
43892
  if (this.bufferCanvas) {
43497
43893
  this.displayCtx.drawImage(this.bufferCanvas, 0, 0);
@@ -43499,7 +43895,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
43499
43895
  }
43500
43896
  /**
43501
43897
  * Draw each series
43502
- * @param {any} [hitInfo=undefined] from mousemove callback (object or undefined)
43898
+ * @param {any} [hitInfo=undefined] legend mouseover callback (object or undefined)
43503
43899
  *
43504
43900
  * @returns {undefined}
43505
43901
  */
@@ -43553,12 +43949,17 @@ var chart_core_EvChart = /*#__PURE__*/function () {
43553
43949
  case 'line':
43554
43950
  case 'heatMap':
43555
43951
  {
43556
- series.draw(opt);
43952
+ var legendHitInfo = hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.legend;
43953
+ series.draw(_objectSpread2({
43954
+ legendHitInfo: legendHitInfo
43955
+ }, opt));
43557
43956
  break;
43558
43957
  }
43559
43958
 
43560
43959
  case 'bar':
43561
43960
  {
43961
+ var _legendHitInfo = hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.legend;
43962
+
43562
43963
  var _this$options3 = this.options,
43563
43964
  thickness = _this$options3.thickness,
43564
43965
  cPadRatio = _this$options3.cPadRatio,
@@ -43568,7 +43969,8 @@ var chart_core_EvChart = /*#__PURE__*/function () {
43568
43969
  cPadRatio: cPadRatio,
43569
43970
  borderRadius: borderRadius,
43570
43971
  showSeriesCount: showSeriesCount,
43571
- showIndex: showIndex
43972
+ showIndex: showIndex,
43973
+ legendHitInfo: _legendHitInfo
43572
43974
  }, opt));
43573
43975
 
43574
43976
  if (series.show) {
@@ -43580,16 +43982,24 @@ var chart_core_EvChart = /*#__PURE__*/function () {
43580
43982
 
43581
43983
  case 'pie':
43582
43984
  {
43583
- var _ref, _this$defaultSelectIt;
43985
+ var _this$lastHitInfo, _this$defaultSelectIt;
43584
43986
 
43585
- var selectInfo = (_ref = hitInfo !== null && hitInfo !== void 0 ? hitInfo : this.lastHitInfo) !== null && _ref !== void 0 ? _ref : {
43987
+ var selectInfo = (_this$lastHitInfo = this.lastHitInfo) !== null && _this$lastHitInfo !== void 0 ? _this$lastHitInfo : {
43586
43988
  sId: (_this$defaultSelectIt = this.defaultSelectItemInfo) === null || _this$defaultSelectIt === void 0 ? void 0 : _this$defaultSelectIt.seriesID
43587
43989
  };
43588
43990
 
43991
+ var _legendHitInfo2 = hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.legend;
43992
+
43589
43993
  if (this.options.sunburst) {
43590
- this.drawSunburst(selectInfo);
43994
+ this.drawSunburst({
43995
+ selectInfo: selectInfo,
43996
+ legendHitInfo: _legendHitInfo2
43997
+ });
43591
43998
  } else {
43592
- this.drawPie(selectInfo);
43999
+ this.drawPie({
44000
+ selectInfo: selectInfo,
44001
+ legendHitInfo: _legendHitInfo2
44002
+ });
43593
44003
  }
43594
44004
 
43595
44005
  if (this.options.doughnutHoleSize > 0) {
@@ -43601,34 +44011,30 @@ var chart_core_EvChart = /*#__PURE__*/function () {
43601
44011
 
43602
44012
  case 'scatter':
43603
44013
  {
44014
+ var _legendHitInfo3 = hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.legend;
44015
+
44016
+ var _selectInfo = void 0;
44017
+
43604
44018
  if (selectItem.use && selectItem.useSeriesOpacity) {
43605
- var _this$lastHitInfo, _this$lastHitInfo2, _this$defaultSelectIt2, _this$defaultSelectIt3;
43606
-
43607
- if (hitInfo) {
43608
- if (hitInfo !== null && hitInfo !== void 0 && hitInfo.maxIndex || (hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.maxIndex) === 0) {
43609
- opt.selectInfo = {
43610
- seriesID: hitInfo.sId,
43611
- dataIndex: hitInfo.maxIndex
43612
- };
43613
- } else {
43614
- opt.selectInfo = null;
43615
- }
43616
- } else if ((_this$lastHitInfo = this.lastHitInfo) !== null && _this$lastHitInfo !== void 0 && _this$lastHitInfo.maxIndex || ((_this$lastHitInfo2 = this.lastHitInfo) === null || _this$lastHitInfo2 === void 0 ? void 0 : _this$lastHitInfo2.maxIndex) === 0) {
43617
- opt.selectInfo = {
43618
- seriesID: this.lastHitInfo.sId,
43619
- dataIndex: this.lastHitInfo.maxIndex
43620
- };
43621
- } else if ((_this$defaultSelectIt2 = this.defaultSelectItemInfo) !== null && _this$defaultSelectIt2 !== void 0 && _this$defaultSelectIt2.dataIndex || ((_this$defaultSelectIt3 = this.defaultSelectItemInfo) === null || _this$defaultSelectIt3 === void 0 ? void 0 : _this$defaultSelectIt3.dataIndex) === 0) {
43622
- opt.selectInfo = {
43623
- seriesID: this.defaultSelectItemInfo.seriesID,
43624
- dataIndex: this.defaultSelectItemInfo.dataIndex
44019
+ var lastHitInfo = this.lastHitInfo;
44020
+ var defaultSelectInfo = this.defaultSelectItemInfo;
44021
+
44022
+ if (lastHitInfo !== null && lastHitInfo !== void 0 && lastHitInfo.maxIndex || (lastHitInfo === null || lastHitInfo === void 0 ? void 0 : lastHitInfo.maxIndex) === 0) {
44023
+ _selectInfo = {
44024
+ seriesID: lastHitInfo.sId,
44025
+ dataIndex: lastHitInfo.maxIndex
43625
44026
  };
44027
+ } else if (defaultSelectInfo !== null && defaultSelectInfo !== void 0 && defaultSelectInfo.dataIndex || (defaultSelectInfo === null || defaultSelectInfo === void 0 ? void 0 : defaultSelectInfo.dataIndex) === 0) {
44028
+ _selectInfo = _objectSpread2({}, defaultSelectInfo);
43626
44029
  } else {
43627
- opt.selectInfo = null;
44030
+ _selectInfo = null;
43628
44031
  }
43629
44032
  }
43630
44033
 
43631
- series.draw(opt);
44034
+ series.draw(_objectSpread2({
44035
+ legendHitInfo: _legendHitInfo3,
44036
+ selectInfo: _selectInfo
44037
+ }, opt));
43632
44038
  break;
43633
44039
  }
43634
44040
 
@@ -43642,21 +44048,14 @@ var chart_core_EvChart = /*#__PURE__*/function () {
43642
44048
  }
43643
44049
  /**
43644
44050
  * Draw Tip with hitInfo and defaultSelectItemInfo
43645
- * @param hitInfo
43646
44051
  */
43647
44052
 
43648
44053
  }, {
43649
44054
  key: "drawTip",
43650
- value: function drawTip(hitInfo) {
43651
- if (helpers_util.isPieType(hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.type)) {
43652
- return;
43653
- }
43654
-
44055
+ value: function drawTip() {
43655
44056
  var tipLocationInfo;
43656
44057
 
43657
- if (hitInfo) {
43658
- tipLocationInfo = hitInfo;
43659
- } else if (this.lastHitInfo) {
44058
+ if (this.lastHitInfo) {
43660
44059
  tipLocationInfo = this.lastHitInfo;
43661
44060
  } else if (this.defaultSelectItemInfo) {
43662
44061
  tipLocationInfo = this.getItem(this.defaultSelectItemInfo, false);
@@ -44033,7 +44432,9 @@ var chart_core_EvChart = /*#__PURE__*/function () {
44033
44432
  var groups = this.data.groups;
44034
44433
  var series = this.data.series;
44035
44434
  var updateSeries = updateInfo.updateSeries,
44036
- updateSelTip = updateInfo.updateSelTip;
44435
+ updateSelTip = updateInfo.updateSelTip,
44436
+ updateLegend = updateInfo.updateLegend,
44437
+ updateData = updateInfo.updateData;
44037
44438
 
44038
44439
  if (!this.isInit) {
44039
44440
  return;
@@ -44093,10 +44494,18 @@ var chart_core_EvChart = /*#__PURE__*/function () {
44093
44494
  }
44094
44495
 
44095
44496
  if (options.legend.show) {
44497
+ var _options$legend, _options$legend$table;
44498
+
44499
+ var useTable = !!((_options$legend = options.legend) !== null && _options$legend !== void 0 && (_options$legend$table = _options$legend.table) !== null && _options$legend$table !== void 0 && _options$legend$table.use) && options.type !== 'heatmap' && options.type !== 'scatter';
44500
+
44096
44501
  if (!this.isInitLegend) {
44097
44502
  this.initLegend();
44098
44503
  } else if (updateSeries) {
44099
44504
  this.updateLegend();
44505
+ } else if (updateLegend) {
44506
+ this.forceUpdateLegend();
44507
+ } else if (useTable && updateData) {
44508
+ this.updateLegendTableValues();
44100
44509
  }
44101
44510
 
44102
44511
  this.setLegendPosition();
@@ -44318,7 +44727,35 @@ var DEFAULT_OPTIONS = {
44318
44727
  inactive: '#aaa',
44319
44728
  width: 140,
44320
44729
  height: 24,
44321
- allowResize: false
44730
+ allowResize: false,
44731
+ table: {
44732
+ use: false,
44733
+ columns: {
44734
+ name: {
44735
+ title: 'Name'
44736
+ },
44737
+ min: {
44738
+ title: 'MIN',
44739
+ use: false
44740
+ },
44741
+ max: {
44742
+ title: 'MAX',
44743
+ use: false
44744
+ },
44745
+ avg: {
44746
+ title: 'AVG',
44747
+ use: false
44748
+ },
44749
+ total: {
44750
+ title: 'TOTAL',
44751
+ use: false
44752
+ },
44753
+ last: {
44754
+ title: 'LAST',
44755
+ use: false
44756
+ }
44757
+ }
44758
+ }
44322
44759
  },
44323
44760
  itemHighlight: true,
44324
44761
  seriesHighlight: true,
@@ -44682,13 +45119,15 @@ var uses_useWrapper = function useWrapper(options) {
44682
45119
  return props.options;
44683
45120
  }, function (chartOpt) {
44684
45121
  var newOpt = getNormalizedOptions(chartOpt);
45122
+ var isUpdateLegend = !lodash_es_isEqual(newOpt.legend, evChart.options.legend);
44685
45123
  evChart.options = lodash_es_cloneDeep(newOpt);
44686
45124
  evChart.update({
44687
45125
  updateSeries: false,
44688
45126
  updateSelTip: {
44689
45127
  update: false,
44690
45128
  keepDomain: false
44691
- }
45129
+ },
45130
+ updateLegend: isUpdateLegend
44692
45131
  });
44693
45132
  }, {
44694
45133
  deep: true
@@ -44701,13 +45140,15 @@ var uses_useWrapper = function useWrapper(options) {
44701
45140
  }, function (chartData) {
44702
45141
  var newData = getNormalizedData(chartData);
44703
45142
  var isUpdateSeries = !lodash_es_isEqual(newData.series, evChart.data.series) || !lodash_es_isEqual(newData.groups, evChart.data.groups) || props.options.type === 'heatMap';
45143
+ var isUpdateData = !lodash_es_isEqual(newData.data, evChart.data);
44704
45144
  evChart.data = lodash_es_cloneDeep(newData);
44705
45145
  evChart.update({
44706
45146
  updateSeries: isUpdateSeries,
44707
45147
  updateSelTip: {
44708
45148
  update: true,
44709
45149
  keepDomain: false
44710
- }
45150
+ },
45151
+ updateData: isUpdateData
44711
45152
  });
44712
45153
  }, {
44713
45154
  deep: true
@@ -44793,8 +45234,8 @@ var uses_useWrapper = function useWrapper(options) {
44793
45234
  });
44794
45235
  // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
44795
45236
 
44796
- // EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=df219c50&lang=scss
44797
- var Chartvue_type_style_index_0_id_df219c50_lang_scss = __webpack_require__("2fe8");
45237
+ // EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=1fece3ae&lang=scss
45238
+ var Chartvue_type_style_index_0_id_1fece3ae_lang_scss = __webpack_require__("488e");
44798
45239
 
44799
45240
  // CONCATENATED MODULE: ./src/components/chart/Chart.vue
44800
45241
 
@@ -44804,7 +45245,7 @@ var Chartvue_type_style_index_0_id_df219c50_lang_scss = __webpack_require__("2fe
44804
45245
 
44805
45246
 
44806
45247
 
44807
- const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_df219c50_render]])
45248
+ const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_1fece3ae_render]])
44808
45249
 
44809
45250
  /* harmony default export */ var Chart = (Chart_exports_);
44810
45251
  // CONCATENATED MODULE: ./src/components/chart/index.js