evui 3.3.47 → 3.3.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/evui.umd.js CHANGED
@@ -4218,6 +4218,21 @@ module.exports = function (it) {
4218
4218
  };
4219
4219
 
4220
4220
 
4221
+ /***/ }),
4222
+
4223
+ /***/ "1d85":
4224
+ /***/ (function(module, exports, __webpack_require__) {
4225
+
4226
+ // style-loader: Adds some css to the DOM by adding a <style> tag
4227
+
4228
+ // load the styles
4229
+ var content = __webpack_require__("abe5");
4230
+ if(typeof content === 'string') content = [[module.i, content, '']];
4231
+ if(content.locals) module.exports = content.locals;
4232
+ // add the styles to the DOM
4233
+ var add = __webpack_require__("499e").default
4234
+ var update = add("3a5f49cb", content, true, {"sourceMap":false,"shadowMode":false});
4235
+
4221
4236
  /***/ }),
4222
4237
 
4223
4238
  /***/ "1dde":
@@ -7456,17 +7471,6 @@ exports.push([module.i, ".ev-tabs li,.ev-tabs ul{list-style:none}.ev-tabs.closab
7456
7471
  module.exports = exports;
7457
7472
 
7458
7473
 
7459
- /***/ }),
7460
-
7461
- /***/ "7d76":
7462
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7463
-
7464
- "use strict";
7465
- /* 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_TreeGridNode_vue_vue_type_style_index_0_id_89ae5faa_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e7c5");
7466
- /* 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_TreeGridNode_vue_vue_type_style_index_0_id_89ae5faa_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TreeGridNode_vue_vue_type_style_index_0_id_89ae5faa_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
7467
- /* unused harmony reexport * */
7468
-
7469
-
7470
7474
  /***/ }),
7471
7475
 
7472
7476
  /***/ "7db0":
@@ -7993,7 +7997,7 @@ $({ target: 'Number', stat: true }, {
7993
7997
  /***/ "9224":
7994
7998
  /***/ (function(module) {
7995
7999
 
7996
- module.exports = JSON.parse("{\"a\":\"3.3.47\"}");
8000
+ module.exports = JSON.parse("{\"a\":\"3.3.49\"}");
7997
8001
 
7998
8002
  /***/ }),
7999
8003
 
@@ -9058,6 +9062,17 @@ if(content.locals) module.exports = content.locals;
9058
9062
  var add = __webpack_require__("499e").default
9059
9063
  var update = add("5b6c8ddc", content, true, {"sourceMap":false,"shadowMode":false});
9060
9064
 
9065
+ /***/ }),
9066
+
9067
+ /***/ "9dac":
9068
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9069
+
9070
+ "use strict";
9071
+ /* 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_TreeGridNode_vue_vue_type_style_index_0_id_c34b4ad2_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1d85");
9072
+ /* 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_TreeGridNode_vue_vue_type_style_index_0_id_c34b4ad2_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_TreeGridNode_vue_vue_type_style_index_0_id_c34b4ad2_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
9073
+ /* unused harmony reexport * */
9074
+
9075
+
9061
9076
  /***/ }),
9062
9077
 
9063
9078
  /***/ "9ed3":
@@ -9758,23 +9773,6 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
9758
9773
  }
9759
9774
 
9760
9775
 
9761
- /***/ }),
9762
-
9763
- /***/ "aa0a":
9764
- /***/ (function(module, exports, __webpack_require__) {
9765
-
9766
- // Imports
9767
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
9768
- var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__("1de5");
9769
- var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__("fe56");
9770
- exports = ___CSS_LOADER_API_IMPORT___(false);
9771
- var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
9772
- // Module
9773
- 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 .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}", ""]);
9774
- // Exports
9775
- module.exports = exports;
9776
-
9777
-
9778
9776
  /***/ }),
9779
9777
 
9780
9778
  /***/ "ab13":
@@ -9797,6 +9795,23 @@ module.exports = function (METHOD_NAME) {
9797
9795
  };
9798
9796
 
9799
9797
 
9798
+ /***/ }),
9799
+
9800
+ /***/ "abe5":
9801
+ /***/ (function(module, exports, __webpack_require__) {
9802
+
9803
+ // Imports
9804
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
9805
+ var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__("1de5");
9806
+ var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__("fe56");
9807
+ exports = ___CSS_LOADER_API_IMPORT___(false);
9808
+ var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
9809
+ // Module
9810
+ exports.push([module.i, ".ev-tree-grid[data-v-c34b4ad2]{position:relative;width:100%;height:100%;padding-top:33px}.ev-tree-grid--empty[data-v-c34b4ad2]{overflow:auto}.ev-tree-grid--empty .table-header[data-v-c34b4ad2]{display:table}.ev-tree-grid.non-header[data-v-c34b4ad2]{padding-top:0}.ev-tree-grid .table-header[data-v-c34b4ad2]{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-c34b4ad2]{border-top:2px solid;border-bottom:1px solid}.column-list[data-v-c34b4ad2]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-c34b4ad2],.column-list[data-v-c34b4ad2]{position:relative;height:100%}.column[data-v-c34b4ad2]{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-c34b4ad2]{border-right:1px solid}.column[data-v-c34b4ad2]:last-child{border-right:0}.column .sort-icon[data-v-c34b4ad2]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-c34b4ad2]{font-size:13px;color:#005cc8}.column-name[data-v-c34b4ad2]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-c34b4ad2]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-c34b4ad2]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-c34b4ad2]{display:block;cursor:pointer}.column-filter-status[data-v-c34b4ad2]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-c34b4ad2]{font-size:10px;vertical-align:top}.column-resize[data-v-c34b4ad2]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-c34b4ad2]:hover{cursor:col-resize}.table-body[data-v-c34b4ad2]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-c34b4ad2]{clear:both;width:inherit;border-spacing:0;border-collapse:collapse}.table-body.stripe tr[data-v-c34b4ad2]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-c34b4ad2]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-c34b4ad2]{border-bottom:1px solid}.table-body .row[data-v-c34b4ad2]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-c34b4ad2]{border-bottom:1px solid}.table-body .row.selected[data-v-c34b4ad2]{background:rgba(219,240,249,.6)!important;color:inherit!important}.dark .table-body .row.selected[data-v-c34b4ad2]{background:!important;color:inherit!important}.table-body .row.highlight[data-v-c34b4ad2]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-c34b4ad2]{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-c34b4ad2]{border-right:1px solid}.table-body .cell div[data-v-c34b4ad2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-c34b4ad2]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-c34b4ad2]{overflow:initial}.table-body .cell.float[data-v-c34b4ad2],.table-body .cell.number[data-v-c34b4ad2]{text-align:right}.table-body .cell.string[data-v-c34b4ad2],.table-body .cell.stringNumber[data-v-c34b4ad2]{text-align:left}.table-body .cell.center[data-v-c34b4ad2]{text-align:center}.table-body .cell.left[data-v-c34b4ad2]{text-align:left}.table-body .cell.left .wrap[data-v-c34b4ad2]{justify-content:flex-start}.table-body .cell.right[data-v-c34b4ad2]{text-align:right}.table-body .cell.right .wrap[data-v-c34b4ad2]{justify-content:flex-end}.table-body .cell[data-v-c34b4ad2]:last-child{border-right:0}.table-body .cell.tree-td[data-v-c34b4ad2]{text-align:left!important}.table-resize-line[data-v-c34b4ad2]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-c34b4ad2]{border-right:1px solid}.vscroll-spacer[data-v-c34b4ad2]{opacity:0;clear:both}[v-cloak][data-v-c34b4ad2]{display:none}.ev-checkbox[data-v-c34b4ad2]{margin:0}.non-border[data-v-c34b4ad2]{border:none!important}.is-empty[data-v-c34b4ad2]{height:30px;text-align:center}.ev-tree-toggle[data-v-c34b4ad2]{display:inline-block;width:13px;margin-right:4px;text-align:center;vertical-align:middle}.ev-tree-toggle .tree-expand-icon[data-v-c34b4ad2]{border:none;background:transparent;outline:none;cursor:pointer}.ev-tree-toggle .tree-expand-icon i[data-v-c34b4ad2]{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-c34b4ad2]{height:8px;background-position:-15px -63px}.ev-tree-toggle .tree-child-icon i[data-v-c34b4ad2],.ev-tree-toggle .tree-parent-icon i[data-v-c34b4ad2]{display:inline-block;top:-3px;width:14px;height:14px}.ev-tree-toggle .tree-parent-icon i[data-v-c34b4ad2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat -39px -35px}.ev-tree-toggle.expand>.tree-parent-icon i[data-v-c34b4ad2]{background-position:-65px -35px}.ev-tree-toggle .tree-child-icon i[data-v-c34b4ad2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat -14px -35px}", ""]);
9811
+ // Exports
9812
+ module.exports = exports;
9813
+
9814
+
9800
9815
  /***/ }),
9801
9816
 
9802
9817
  /***/ "ac1f":
@@ -12337,21 +12352,6 @@ $({ target: 'Number', stat: true }, {
12337
12352
  });
12338
12353
 
12339
12354
 
12340
- /***/ }),
12341
-
12342
- /***/ "e7c5":
12343
- /***/ (function(module, exports, __webpack_require__) {
12344
-
12345
- // style-loader: Adds some css to the DOM by adding a <style> tag
12346
-
12347
- // load the styles
12348
- var content = __webpack_require__("aa0a");
12349
- if(typeof content === 'string') content = [[module.i, content, '']];
12350
- if(content.locals) module.exports = content.locals;
12351
- // add the styles to the DOM
12352
- var add = __webpack_require__("499e").default
12353
- var update = add("235b9c6e", content, true, {"sourceMap":false,"shadowMode":false});
12354
-
12355
12355
  /***/ }),
12356
12356
 
12357
12357
  /***/ "e843":
@@ -32397,7 +32397,7 @@ var es_number_min_safe_integer = __webpack_require__("e6e1");
32397
32397
  var _style$fontStyle = style.fontStyle,
32398
32398
  fontStyle = _style$fontStyle === void 0 ? 'normal' : _style$fontStyle,
32399
32399
  _style$fontWeight = style.fontWeight,
32400
- fontWeight = _style$fontWeight === void 0 ? 'norma' : _style$fontWeight,
32400
+ fontWeight = _style$fontWeight === void 0 ? 'normal' : _style$fontWeight,
32401
32401
  _style$fontSize = style.fontSize,
32402
32402
  fontSize = _style$fontSize === void 0 ? '12' : _style$fontSize,
32403
32403
  _style$fontFamily = style.fontFamily,
@@ -33171,7 +33171,7 @@ var modules = {
33171
33171
  colorState = series.colorState,
33172
33172
  isGradient = series.isGradient;
33173
33173
  var colorOpt = this.options.heatMapColor;
33174
- var categoryCnt = colorOpt.categoryCnt;
33174
+ var rangeCount = colorOpt.colorsByRange.length || colorOpt.rangeCount;
33175
33175
  var decimalPoint = colorOpt.decimalPoint;
33176
33176
  var minValue;
33177
33177
  var maxValue = 0;
@@ -33192,20 +33192,21 @@ var modules = {
33192
33192
  }
33193
33193
  });
33194
33194
 
33195
- if (isExistError && !isGradient && colorState.length === categoryCnt) {
33195
+ if (isExistError && !isGradient && colorState.length === rangeCount) {
33196
33196
  colorState.push({
33197
- id: "color#".concat(categoryCnt),
33197
+ id: "color#".concat(rangeCount),
33198
33198
  color: colorOpt.error,
33199
33199
  state: 'normal',
33200
+ label: 'Error',
33200
33201
  show: true
33201
33202
  });
33202
33203
  }
33203
33204
 
33204
- var interval = maxValue > minValue ? Math.floor((maxValue - minValue) / categoryCnt) : 1;
33205
+ var interval = maxValue > minValue ? Math.floor((maxValue - minValue) / rangeCount) : 1;
33205
33206
 
33206
- if (maxValue - minValue <= categoryCnt) {
33207
+ if (maxValue - minValue <= rangeCount) {
33207
33208
  if (decimalPoint > 0) {
33208
- interval = +((maxValue - minValue) / categoryCnt).toFixed(decimalPoint);
33209
+ interval = +((maxValue - minValue) / rangeCount).toFixed(decimalPoint);
33209
33210
  } else {
33210
33211
  interval = 1;
33211
33212
  }
@@ -34704,6 +34705,7 @@ var AXIS_OPTION = {
34704
34705
  startToZero: false,
34705
34706
  showAxis: true,
34706
34707
  axisLineColor: '#C9CFDC',
34708
+ axisLineWidth: 1,
34707
34709
  showGrid: true,
34708
34710
  gridLineColor: '#C9CFDC',
34709
34711
  showIndicator: false,
@@ -36884,10 +36886,11 @@ var element_pie_Pie = /*#__PURE__*/function () {
36884
36886
 
36885
36887
 
36886
36888
 
36889
+
36887
36890
 
36888
36891
 
36889
36892
  var element_heatmap_HeatMap = /*#__PURE__*/function () {
36890
- function HeatMap(sId, opt, colorOpt, isGradient) {
36893
+ function HeatMap(sId, opt, colorOpt, isHorizontal, isGradient) {
36891
36894
  var _this = this;
36892
36895
 
36893
36896
  _classCallCheck(this, HeatMap);
@@ -36896,6 +36899,7 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36896
36899
  Object.keys(merged).forEach(function (key) {
36897
36900
  _this[key] = merged[key];
36898
36901
  });
36902
+ this.isHorizontal = isHorizontal;
36899
36903
  this.isGradient = isGradient;
36900
36904
  this.createColorState(colorOpt);
36901
36905
  this.sId = sId;
@@ -36925,7 +36929,8 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36925
36929
  var regex = /[^0-9]&[^,]/g;
36926
36930
  var min = colorOpt.min,
36927
36931
  max = colorOpt.max,
36928
- categoryCnt = colorOpt.categoryCnt,
36932
+ rangeCount = colorOpt.rangeCount,
36933
+ colorsByRange = colorOpt.colorsByRange,
36929
36934
  error = colorOpt.error,
36930
36935
  stroke = colorOpt.stroke;
36931
36936
  var minColor = min.includes('#') ? helpers_util.hexToRgb(min) : min.replace(regex, '');
@@ -36955,17 +36960,29 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36955
36960
  maxG: maxG,
36956
36961
  maxB: maxB
36957
36962
  },
36958
- categoryCnt: categoryCnt,
36963
+ rangeCount: rangeCount,
36959
36964
  start: 0,
36960
36965
  end: 100,
36961
36966
  selectedValue: null
36962
36967
  });
36968
+ } else if (colorsByRange.length) {
36969
+ colorsByRange.forEach(function (_ref, ix) {
36970
+ var color = _ref.color,
36971
+ label = _ref.label;
36972
+ colorState.push({
36973
+ id: "color#".concat(ix),
36974
+ color: color,
36975
+ label: label,
36976
+ state: 'normal',
36977
+ show: true
36978
+ });
36979
+ });
36963
36980
  } else {
36964
- var unitR = Math.floor((minR - maxR) / (categoryCnt - 1));
36965
- var unitG = Math.floor((minG - maxG) / (categoryCnt - 1));
36966
- var unitB = Math.floor((minB - maxB) / (categoryCnt - 1));
36981
+ var unitR = Math.floor((minR - maxR) / (rangeCount - 1));
36982
+ var unitG = Math.floor((minG - maxG) / (rangeCount - 1));
36983
+ var unitB = Math.floor((minB - maxB) / (rangeCount - 1));
36967
36984
 
36968
- for (var ix = 0; ix < categoryCnt; ix++) {
36985
+ for (var ix = 0; ix < rangeCount; ix++) {
36969
36986
  var r = +minR - unitR * ix;
36970
36987
  var g = +minG - unitG * ix;
36971
36988
  var b = +minB - unitB * ix;
@@ -37000,8 +37017,8 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
37000
37017
  return "rgb(".concat(r, ",").concat(g, ",").concat(b, ")");
37001
37018
  }
37002
37019
  }, {
37003
- key: "getColorIndexForIcon",
37004
- value: function getColorIndexForIcon(value) {
37020
+ key: "getColorIndexByValue",
37021
+ value: function getColorIndexByValue(value) {
37005
37022
  var _this$valueOpt = this.valueOpt,
37006
37023
  existError = _this$valueOpt.existError,
37007
37024
  min = _this$valueOpt.min,
@@ -37029,7 +37046,7 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
37029
37046
  max = _this$valueOpt2.max;
37030
37047
  var itemInfo = {
37031
37048
  show: false,
37032
- opacity: 0,
37049
+ opacity: 1,
37033
37050
  dataColor: null,
37034
37051
  id: null,
37035
37052
  isHighlight: null
@@ -37045,11 +37062,10 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
37045
37062
  if (value < 0 || start <= ratio && ratio <= end) {
37046
37063
  itemInfo.show = true;
37047
37064
  itemInfo.isHighlight = selectedValue !== null && Math.floor(value) === Math.floor(min + (max - min) * (selectedValue / 100));
37048
- itemInfo.opacity = 1;
37049
37065
  itemInfo.dataColor = value < 0 ? this.errorColor : this.getColorForGradient(ratio);
37050
37066
  }
37051
37067
  } else {
37052
- var colorIndex = this.getColorIndexForIcon(value);
37068
+ var colorIndex = this.getColorIndexByValue(value);
37053
37069
  var _this$colorState$colo = this.colorState[colorIndex],
37054
37070
  show = _this$colorState$colo.show,
37055
37071
  state = _this$colorState$colo.state,
@@ -37065,18 +37081,26 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
37065
37081
  }
37066
37082
  }, {
37067
37083
  key: "drawItem",
37068
- value: function drawItem(ctx, x, y, w, h) {
37084
+ value: function drawItem(ctx, x, y, w, h, borderOpt) {
37069
37085
  ctx.beginPath();
37070
37086
 
37071
- if (this.stroke.show) {
37072
- var radius = this.stroke.radius;
37087
+ if (borderOpt.show) {
37088
+ var radius = borderOpt.radius;
37073
37089
 
37074
- if (radius > 0 && radius < h && radius < w) {
37075
- ctx.moveTo(x + radius, y);
37076
- ctx.arcTo(x + w, y, x + w, y + h, radius);
37077
- ctx.arcTo(x + w, y + h, x, y + h, radius);
37078
- ctx.arcTo(x, y + h, x, y, radius);
37079
- ctx.arcTo(x, y, x + w, y, radius);
37090
+ if (radius > 0) {
37091
+ var minSize = Math.min(w, h);
37092
+ var r = radius;
37093
+
37094
+ if (r > minSize / 2) {
37095
+ r = Math.floor(minSize / 2);
37096
+ }
37097
+
37098
+ ctx.moveTo(x + r, y);
37099
+ ctx.arcTo(x + w, y, x + w, y + h, r);
37100
+ ctx.arcTo(x + w, y + h, x, y + h, r);
37101
+ ctx.arcTo(x, y + h, x, y, r);
37102
+ ctx.arcTo(x, y, x + w, y, r);
37103
+ ctx.stroke();
37080
37104
  ctx.fill();
37081
37105
  } else {
37082
37106
  ctx.strokeRect(x, y, w, h);
@@ -37126,15 +37150,46 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
37126
37150
  var ctx = param.ctx,
37127
37151
  chartRect = param.chartRect,
37128
37152
  labelOffset = param.labelOffset,
37129
- overlayCtx = param.overlayCtx;
37153
+ overlayCtx = param.overlayCtx,
37154
+ selectLabel = param.selectLabel,
37155
+ legendHitInfo = param.legendHitInfo,
37156
+ selectItem = param.selectItem;
37130
37157
  var xArea = chartRect.chartWidth - (labelOffset.left + labelOffset.right);
37131
37158
  var yArea = chartRect.chartHeight - (labelOffset.top + labelOffset.bottom);
37132
37159
  var xsp = chartRect.x1 + labelOffset.left;
37133
37160
  var ysp = chartRect.y2 - labelOffset.bottom;
37134
37161
  this.size.w = xArea / this.labels.x.length;
37135
37162
  this.size.h = yArea / this.labels.y.length;
37136
- this.data.forEach(function (item) {
37137
- var xp = _this2.calculateXY('x', item.x, xsp);
37163
+
37164
+ var getOpacity = function getOpacity(item, opacity, index) {
37165
+ var selectLabelOption = selectLabel === null || selectLabel === void 0 ? void 0 : selectLabel.option;
37166
+ var useSelectLabel = (selectLabelOption === null || selectLabelOption === void 0 ? void 0 : selectLabelOption.use) && (selectLabelOption === null || selectLabelOption === void 0 ? void 0 : selectLabelOption.useSeriesOpacity);
37167
+ var selectItemOption = selectItem === null || selectItem === void 0 ? void 0 : selectItem.option;
37168
+ var useSelectItem = (selectItemOption === null || selectItemOption === void 0 ? void 0 : selectItemOption.use) && (selectItemOption === null || selectItemOption === void 0 ? void 0 : selectItemOption.useSeriesOpacity);
37169
+
37170
+ if (!legendHitInfo) {
37171
+ var isDownplay = false;
37172
+
37173
+ if (useSelectItem) {
37174
+ var _selectItem$selected;
37175
+
37176
+ isDownplay = (selectItem === null || selectItem === void 0 ? void 0 : selectItem.selected) && index !== (selectItem === null || selectItem === void 0 ? void 0 : (_selectItem$selected = selectItem.selected) === null || _selectItem$selected === void 0 ? void 0 : _selectItem$selected.dataIndex);
37177
+ } else if (useSelectLabel) {
37178
+ var _selectLabel$selected;
37179
+
37180
+ var selectedLabelList = selectLabel === null || selectLabel === void 0 ? void 0 : (_selectLabel$selected = selectLabel.selected) === null || _selectLabel$selected === void 0 ? void 0 : _selectLabel$selected.label;
37181
+ isDownplay = selectedLabelList.length && !selectedLabelList.includes(_this2.isHorizontal ? item.y : item.x);
37182
+ }
37183
+
37184
+ return isDownplay ? 0.1 : 1;
37185
+ }
37186
+
37187
+ return opacity;
37188
+ };
37189
+
37190
+ this.data.forEach(function (item, index) {
37191
+ var axisLineWidth = 1;
37192
+ var xp = _this2.calculateXY('x', item.x, xsp) + axisLineWidth;
37138
37193
 
37139
37194
  var yp = _this2.calculateXY('y', item.y, ysp);
37140
37195
 
@@ -37150,27 +37205,40 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
37150
37205
  id = _this2$getItemInfo.id,
37151
37206
  isHighlight = _this2$getItemInfo.isHighlight;
37152
37207
 
37208
+ var itemOpacity = getOpacity(item, opacity, index);
37153
37209
  item.dataColor = dataColor;
37154
37210
  item.cId = id;
37155
37211
  ctx.save();
37156
37212
 
37157
37213
  if (show) {
37158
- ctx.fillStyle = helpers_util.colorStringToRgba(item.dataColor, opacity);
37159
-
37160
- if (_this2.stroke.show) {
37161
- var _this2$stroke = _this2.stroke,
37162
- color = _this2$stroke.color,
37163
- lineWidth = _this2$stroke.lineWidth,
37164
- sOpacity = _this2$stroke.opacity;
37165
- ctx.strokeStyle = helpers_util.colorStringToRgba(color, opacity === 1 ? sOpacity : opacity);
37214
+ var _selectItem$selected2;
37215
+
37216
+ ctx.fillStyle = helpers_util.colorStringToRgba(item.dataColor, itemOpacity);
37217
+ var borderOpt = _this2.stroke;
37218
+ var selectItemOption = selectItem === null || selectItem === void 0 ? void 0 : selectItem.option;
37219
+ var useSelectItem = (selectItemOption === null || selectItemOption === void 0 ? void 0 : selectItemOption.use) && (selectItemOption === null || selectItemOption === void 0 ? void 0 : selectItemOption.showBorder);
37220
+ var isHit = index === (selectItem === null || selectItem === void 0 ? void 0 : (_selectItem$selected2 = selectItem.selected) === null || _selectItem$selected2 === void 0 ? void 0 : _selectItem$selected2.dataIndex);
37221
+
37222
+ if (useSelectItem && isHit) {
37223
+ borderOpt = _objectSpread2({
37224
+ show: selectItemOption === null || selectItemOption === void 0 ? void 0 : selectItemOption.showBorder
37225
+ }, selectItemOption === null || selectItemOption === void 0 ? void 0 : selectItemOption.borderStyle);
37226
+ }
37227
+
37228
+ if (borderOpt.show) {
37229
+ var _borderOpt = borderOpt,
37230
+ color = _borderOpt.color,
37231
+ lineWidth = _borderOpt.lineWidth,
37232
+ borderOpacity = _borderOpt.opacity;
37233
+ ctx.strokeStyle = helpers_util.colorStringToRgba(color, itemOpacity === 1 ? borderOpacity : itemOpacity);
37166
37234
  ctx.lineWidth = lineWidth;
37167
- xp += lineWidth * 1.5;
37168
- yp += lineWidth * 1.5;
37169
- w -= lineWidth * 2;
37170
- h -= lineWidth * 2;
37235
+ xp += lineWidth * 0.5;
37236
+ yp += lineWidth * 0.5;
37237
+ w -= lineWidth;
37238
+ h -= lineWidth;
37171
37239
  }
37172
37240
 
37173
- _this2.drawItem(ctx, xp, yp, w, h);
37241
+ _this2.drawItem(ctx, xp, yp, w, h, borderOpt);
37174
37242
 
37175
37243
  ctx.restore();
37176
37244
  item.xp = xp;
@@ -37203,9 +37271,9 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
37203
37271
 
37204
37272
  }, {
37205
37273
  key: "drawValueLabels",
37206
- value: function drawValueLabels(_ref) {
37207
- var context = _ref.context,
37208
- data = _ref.data;
37274
+ value: function drawValueLabels(_ref2) {
37275
+ var context = _ref2.context,
37276
+ data = _ref2.data;
37209
37277
  var _this$showValue = this.showValue,
37210
37278
  fontSize = _this$showValue.fontSize,
37211
37279
  textColor = _this$showValue.textColor,
@@ -37295,19 +37363,19 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
37295
37363
 
37296
37364
  }, {
37297
37365
  key: "findItems",
37298
- value: function findItems(_ref2) {
37299
- var xsp = _ref2.xsp,
37300
- ysp = _ref2.ysp,
37301
- width = _ref2.width,
37302
- height = _ref2.height;
37366
+ value: function findItems(_ref3) {
37367
+ var xsp = _ref3.xsp,
37368
+ ysp = _ref3.ysp,
37369
+ width = _ref3.width,
37370
+ height = _ref3.height;
37303
37371
  var gdata = this.data;
37304
37372
  var xep = xsp + width;
37305
37373
  var yep = ysp + height;
37306
- return gdata.filter(function (_ref3) {
37307
- var xp = _ref3.xp,
37308
- yp = _ref3.yp,
37309
- w = _ref3.w,
37310
- h = _ref3.h;
37374
+ return gdata.filter(function (_ref4) {
37375
+ var xp = _ref4.xp,
37376
+ yp = _ref4.yp,
37377
+ w = _ref4.w,
37378
+ h = _ref4.h;
37311
37379
  var x1 = xp;
37312
37380
  var x2 = xp + w;
37313
37381
  var y1 = yp;
@@ -37347,23 +37415,32 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
37347
37415
  } else {
37348
37416
  var _this$colorState$find;
37349
37417
 
37350
- isShow = (_this$colorState$find = this.colorState.find(function (_ref4) {
37351
- var id = _ref4.id;
37418
+ isShow = (_this$colorState$find = this.colorState.find(function (_ref5) {
37419
+ var id = _ref5.id;
37352
37420
  return id === cId;
37353
37421
  })) === null || _this$colorState$find === void 0 ? void 0 : _this$colorState$find.show;
37354
37422
  }
37355
37423
 
37356
37424
  ctx.save();
37357
- ctx.shadowOffsetX = 2;
37358
- ctx.shadowOffsetY = 2;
37425
+ ctx.shadowOffsetX = 0;
37426
+ ctx.shadowOffsetY = 0;
37359
37427
  ctx.shadowBlur = 4;
37360
37428
 
37361
37429
  if (x !== null && y !== null && isShow) {
37362
37430
  var color = gdata.dataColor;
37363
- ctx.shadowColor = helpers_util.colorStringToRgba('#605F5F');
37431
+ ctx.shadowColor = helpers_util.colorStringToRgba('#959494');
37364
37432
  ctx.strokeStyle = helpers_util.colorStringToRgba(color);
37365
37433
  ctx.fillStyle = helpers_util.colorStringToRgba(color);
37366
- this.drawItem(ctx, x - 2, y - 2, w + 4, h + 4);
37434
+
37435
+ if (this.stroke.show) {
37436
+ var lineWidth = this.stroke.lineWidth;
37437
+ x += lineWidth * 0.5;
37438
+ y += lineWidth * 0.5;
37439
+ w -= lineWidth;
37440
+ h -= lineWidth;
37441
+ }
37442
+
37443
+ this.drawItem(ctx, x - 0.5, y - 0.5, w + 1, h + 1, this.stroke);
37367
37444
  ctx.restore();
37368
37445
 
37369
37446
  if (this.showValue.use) {
@@ -37393,7 +37470,7 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
37393
37470
  name: null
37394
37471
  };
37395
37472
  var gdata = this.data;
37396
- var foundItem = gdata.find(function (data) {
37473
+ var itemIndex = gdata.findIndex(function (data) {
37397
37474
  var x = data.xp,
37398
37475
  y = data.yp,
37399
37476
  wSize = data.w,
@@ -37401,9 +37478,11 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
37401
37478
  return x <= xp && xp <= x + wSize && y <= yp && yp <= y + hSize;
37402
37479
  });
37403
37480
 
37404
- if (foundItem) {
37481
+ if (itemIndex > -1) {
37482
+ var foundItem = gdata[itemIndex];
37405
37483
  item.data = foundItem;
37406
37484
  item.color = foundItem.dataColor;
37485
+ item.index = itemIndex;
37407
37486
  item.hit = true;
37408
37487
  }
37409
37488
 
@@ -37411,12 +37490,12 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
37411
37490
  }
37412
37491
  }, {
37413
37492
  key: "findBlockRange",
37414
- value: function findBlockRange(_ref5) {
37415
- var xcp = _ref5.xcp,
37416
- xep = _ref5.xep,
37417
- ycp = _ref5.ycp,
37418
- yep = _ref5.yep,
37419
- range = _ref5.range;
37493
+ value: function findBlockRange(_ref6) {
37494
+ var xcp = _ref6.xcp,
37495
+ xep = _ref6.xep,
37496
+ ycp = _ref6.ycp,
37497
+ yep = _ref6.yep,
37498
+ range = _ref6.range;
37420
37499
  var labels = this.labels;
37421
37500
  var blockRange = {
37422
37501
  xsp: Math.min(xcp, xep),
@@ -37595,7 +37674,7 @@ var model_series_modules = {
37595
37674
  heatMapColor = _this$options.heatMapColor,
37596
37675
  legend = _this$options.legend;
37597
37676
  var isGradient = legend.type === 'gradient';
37598
- return new element_heatmap(id, opt, heatMapColor, isGradient);
37677
+ return new element_heatmap(id, opt, heatMapColor, isHorizontal, isGradient);
37599
37678
  }
37600
37679
 
37601
37680
  return false;
@@ -37912,7 +37991,7 @@ var scale_Scale = /*#__PURE__*/function () {
37912
37991
  }
37913
37992
 
37914
37993
  if (this.showAxis) {
37915
- ctx.lineWidth = 2;
37994
+ ctx.lineWidth = this.axisLineWidth;
37916
37995
  aliasPixel = helpers_util.aliasPixel(ctx.lineWidth);
37917
37996
  ctx.beginPath();
37918
37997
  ctx.strokeStyle = this.axisLineColor;
@@ -38966,7 +39045,7 @@ var scale_step_StepScale = /*#__PURE__*/function (_Scale) {
38966
39045
  }
38967
39046
 
38968
39047
  ctx.fillStyle = this.labelStyle.color;
38969
- ctx.lineWidth = 1;
39048
+ ctx.lineWidth = this.axisLineWidth;
38970
39049
  var aliasPixel = helpers_util.aliasPixel(ctx.lineWidth);
38971
39050
  ctx.beginPath();
38972
39051
  ctx.strokeStyle = this.axisLineColor;
@@ -39380,7 +39459,7 @@ var scale_time_category_TimeCategoryScale = /*#__PURE__*/function (_Scale) {
39380
39459
  }
39381
39460
 
39382
39461
  ctx.fillStyle = this.labelStyle.color;
39383
- ctx.lineWidth = 1;
39462
+ ctx.lineWidth = this.axisLineWidth;
39384
39463
  var aliasPixel = helpers_util.aliasPixel(ctx.lineWidth);
39385
39464
  ctx.beginPath();
39386
39465
  ctx.strokeStyle = this.axisLineColor;
@@ -39754,7 +39833,11 @@ var plugins_legend_modules = {
39754
39833
  var endIndex = existError ? length - 2 : length - 1;
39755
39834
 
39756
39835
  for (var index = 0; index < length; index++) {
39757
- var colorItem = colorState[index];
39836
+ var _colorState$index = colorState[index],
39837
+ id = _colorState$index.id,
39838
+ color = _colorState$index.color,
39839
+ _colorState$index$lab = _colorState$index.label,
39840
+ label = _colorState$index$lab === void 0 ? '' : _colorState$index$lab;
39758
39841
  var minValue = min + interval * index;
39759
39842
  var maxValue = minValue + interval;
39760
39843
 
@@ -39764,25 +39847,27 @@ var plugins_legend_modules = {
39764
39847
  maxValue = max + Math.pow(0.1, decimalPoint);
39765
39848
  }
39766
39849
 
39767
- var name = "".concat(minValue.toFixed(decimalPoint), " - ").concat(maxValue.toFixed(decimalPoint));
39850
+ var name = label;
39768
39851
 
39769
- if (min === undefined || max === undefined) {
39770
- if (index === 0) {
39771
- name = '0';
39772
- } else {
39852
+ if (!name) {
39853
+ name = "".concat(minValue.toFixed(decimalPoint), " - ").concat(maxValue.toFixed(decimalPoint));
39854
+
39855
+ if (min === undefined || max === undefined) {
39856
+ if (index === 0) {
39857
+ name = '0';
39858
+ } else {
39859
+ break;
39860
+ }
39861
+ } else if (minValue > max) {
39773
39862
  break;
39863
+ } else if (interval <= 1 && decimalPoint === 0) {
39864
+ name = minValue;
39774
39865
  }
39775
- } else if (existError && index === endIndex + 1) {
39776
- name = 'error';
39777
- } else if (minValue > max) {
39778
- break;
39779
- } else if (interval <= 1 && decimalPoint === 0) {
39780
- name = minValue;
39781
39866
  }
39782
39867
 
39783
39868
  _this3.addLegend({
39784
- cId: colorItem.id,
39785
- color: colorItem.color,
39869
+ cId: id,
39870
+ color: color,
39786
39871
  name: name,
39787
39872
  show: true
39788
39873
  });
@@ -40073,6 +40158,10 @@ var plugins_legend_modules = {
40073
40158
  }
40074
40159
 
40075
40160
  var targetId = targetDOM === null || targetDOM === void 0 ? void 0 : (_targetDOM$series4 = targetDOM.series) === null || _targetDOM$series4 === void 0 ? void 0 : _targetDOM$series4.cId;
40161
+ var legendHitInfo = {
40162
+ sId: targetId,
40163
+ type: _this5.options.type
40164
+ };
40076
40165
  series.colorState.forEach(function (colorItem) {
40077
40166
  colorItem.state = colorItem.id === targetId ? 'highlight' : 'downplay';
40078
40167
  });
@@ -40082,6 +40171,9 @@ var plugins_legend_modules = {
40082
40171
  updateSelTip: {
40083
40172
  update: false,
40084
40173
  keepDomain: false
40174
+ },
40175
+ hitInfo: {
40176
+ legend: legendHitInfo
40085
40177
  }
40086
40178
  });
40087
40179
  };
@@ -41498,6 +41590,8 @@ var es_object_from_entries = __webpack_require__("c1f9");
41498
41590
 
41499
41591
 
41500
41592
 
41593
+
41594
+
41501
41595
  var plugins_interaction_modules = {
41502
41596
  /**
41503
41597
  * Hide legend components by manipulating css
@@ -41644,15 +41738,19 @@ var plugins_interaction_modules = {
41644
41738
 
41645
41739
  var hitInfo = _this.getItemByPosition(offset, false);
41646
41740
 
41647
- if (hitInfo.label !== null) {
41648
- _this.render(hitInfo);
41649
- }
41650
-
41651
41741
  args.label = hitInfo.label;
41652
41742
  args.value = hitInfo.value;
41653
41743
  args.seriesId = hitInfo.sId;
41654
41744
  args.dataIndex = hitInfo.maxIndex;
41655
41745
  args.acc = hitInfo.acc;
41746
+
41747
+ if (_this.options.type === 'heatMap') {
41748
+ args.deselect = _this.setDeselectItem(hitInfo);
41749
+ }
41750
+
41751
+ if (hitInfo.label !== null) {
41752
+ _this.render(hitInfo);
41753
+ }
41656
41754
  } else if (_this.options.selectLabel.use && _this.options.selectLabel.useClick) {
41657
41755
  var _offset = _this.getMousePosition(e);
41658
41756
 
@@ -42185,14 +42283,18 @@ var plugins_interaction_modules = {
42185
42283
  var _this3 = this;
42186
42284
 
42187
42285
  if (this.options.selectLabel.use) {
42188
- var limit = this.options.selectLabel.limit;
42189
-
42190
42286
  if (!this.defaultSelectInfo) {
42191
42287
  this.defaultSelectInfo = {
42192
42288
  dataIndex: []
42193
42289
  };
42194
42290
  }
42195
42291
 
42292
+ if (this.options.type === 'heatMap') {
42293
+ this.initSelectedInfoForHeatMap();
42294
+ return;
42295
+ }
42296
+
42297
+ var limit = this.options.selectLabel.limit;
42196
42298
  var infoObj = this.defaultSelectInfo;
42197
42299
  infoObj.dataIndex.splice(limit);
42198
42300
  infoObj.label = infoObj.dataIndex.map(function (i) {
@@ -42217,6 +42319,29 @@ var plugins_interaction_modules = {
42217
42319
  }
42218
42320
  },
42219
42321
 
42322
+ /**
42323
+ * init defaultSelectInfo object for HeatMap.
42324
+ * - at selectLabel using: set each series data and label text
42325
+ */
42326
+ initSelectedInfoForHeatMap: function initSelectedInfoForHeatMap() {
42327
+ var _this4 = this;
42328
+
42329
+ var limit = this.options.selectLabel.limit;
42330
+ var isHorizontal = this.options.horizontal;
42331
+ var infoObj = this.defaultSelectInfo;
42332
+ infoObj.dataIndex.splice(limit);
42333
+ var targetLabel = isHorizontal ? 'y' : 'x';
42334
+ infoObj.label = infoObj.dataIndex.map(function (i) {
42335
+ return _this4.data.labels[targetLabel][i];
42336
+ });
42337
+ var dataValues = Object.values(this.data.data)[0];
42338
+ infoObj.data = dataValues.filter(function (_ref5) {
42339
+ var x = _ref5.x,
42340
+ y = _ref5.y;
42341
+ return infoObj.label.includes(isHorizontal ? y : x);
42342
+ });
42343
+ },
42344
+
42220
42345
  /**
42221
42346
  * Add or delete selected label index, according to policy and option
42222
42347
  * (set each series data and label text)
@@ -42312,12 +42437,12 @@ var plugins_interaction_modules = {
42312
42437
  * object.range: coordinate-based range in graph
42313
42438
  * @returns {object}
42314
42439
  */
42315
- getSelectionRage: function getSelectionRage(_ref5) {
42316
- var xsp = _ref5.xsp,
42317
- ysp = _ref5.ysp,
42318
- width = _ref5.width,
42319
- height = _ref5.height,
42320
- range = _ref5.range;
42440
+ getSelectionRage: function getSelectionRage(_ref6) {
42441
+ var xsp = _ref6.xsp,
42442
+ ysp = _ref6.ysp,
42443
+ width = _ref6.width,
42444
+ height = _ref6.height,
42445
+ range = _ref6.range;
42321
42446
  var dataRangeX = this.axesSteps.x.length ? this.axesSteps.x[0] : null;
42322
42447
  var dataRangeY = this.axesSteps.y.length ? this.axesSteps.y[0] : null;
42323
42448
 
@@ -42374,11 +42499,11 @@ var plugins_interaction_modules = {
42374
42499
 
42375
42500
  var sId = Object.keys(this.seriesList)[0];
42376
42501
 
42377
- var _ref6 = (_this$seriesList$sId$ = this.seriesList[sId].findSelectionRange(range)) !== null && _this$seriesList$sId$ !== void 0 ? _this$seriesList$sId$ : {},
42378
- xMin = _ref6.xMin,
42379
- xMax = _ref6.xMax,
42380
- yMin = _ref6.yMin,
42381
- yMax = _ref6.yMax;
42502
+ var _ref7 = (_this$seriesList$sId$ = this.seriesList[sId].findSelectionRange(range)) !== null && _this$seriesList$sId$ !== void 0 ? _this$seriesList$sId$ : {},
42503
+ xMin = _ref7.xMin,
42504
+ xMax = _ref7.xMax,
42505
+ yMin = _ref7.yMin,
42506
+ yMax = _ref7.yMax;
42382
42507
 
42383
42508
  return {
42384
42509
  xMin: xMin !== null && xMin !== void 0 ? xMin : dataRangeX.graphMin,
@@ -42386,6 +42511,23 @@ var plugins_interaction_modules = {
42386
42511
  yMin: yMin !== null && yMin !== void 0 ? yMin : dataRangeY.graphMin,
42387
42512
  yMax: yMax !== null && yMax !== void 0 ? yMax : dataRangeY.graphMax
42388
42513
  };
42514
+ },
42515
+ setDeselectItem: function setDeselectItem(hitInfo) {
42516
+ var deselect = false;
42517
+
42518
+ if (this.options.selectItem.useDeselectItem) {
42519
+ var _this$defaultSelectIt;
42520
+
42521
+ var isEqualSelectItem = (hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.maxIndex) === ((_this$defaultSelectIt = this.defaultSelectItemInfo) === null || _this$defaultSelectIt === void 0 ? void 0 : _this$defaultSelectIt.dataIndex);
42522
+
42523
+ if (!isNaN(hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.maxIndex) && isEqualSelectItem) {
42524
+ deselect = true;
42525
+ this.defaultSelectItemInfo = null;
42526
+ return true;
42527
+ }
42528
+ }
42529
+
42530
+ return deselect;
42389
42531
  }
42390
42532
  };
42391
42533
  /* harmony default export */ var plugins_interaction = (plugins_interaction_modules);
@@ -42754,6 +42896,7 @@ var plugins_tooltip_modules = {
42754
42896
  var titleFormatter = (_opt$formatter2 = opt.formatter) === null || _opt$formatter2 === void 0 ? void 0 : _opt$formatter2.title;
42755
42897
  var series = Object.values(this.seriesList)[0];
42756
42898
  var isShow = false;
42899
+ var valueText = hitItem.formatted;
42757
42900
  var colorState = series.colorState,
42758
42901
  isGradient = series.isGradient;
42759
42902
 
@@ -42767,12 +42910,14 @@ var plugins_tooltip_modules = {
42767
42910
  end = _colorState$.end;
42768
42911
  isShow = start <= ratio && ratio <= end || hitItem.o === -1;
42769
42912
  } else {
42770
- var _colorState$find;
42913
+ var _colorItem$label;
42771
42914
 
42772
- isShow = (_colorState$find = colorState.find(function (_ref) {
42915
+ var colorItem = colorState.find(function (_ref) {
42773
42916
  var id = _ref.id;
42774
42917
  return id === hitItem.cId;
42775
- })) === null || _colorState$find === void 0 ? void 0 : _colorState$find.show;
42918
+ });
42919
+ isShow = colorItem === null || colorItem === void 0 ? void 0 : colorItem.show;
42920
+ valueText = (_colorItem$label = colorItem === null || colorItem === void 0 ? void 0 : colorItem.label) !== null && _colorItem$label !== void 0 ? _colorItem$label : valueText;
42776
42921
  }
42777
42922
 
42778
42923
  if (!isShow) {
@@ -42807,7 +42952,6 @@ var plugins_tooltip_modules = {
42807
42952
 
42808
42953
  var itemX = boxPadding.l + 2;
42809
42954
  var itemY = boxPadding.t + TEXT_HEIGHT + 2;
42810
- var valueText = hitItem.formatted;
42811
42955
  ctx.font = fontStyle;
42812
42956
  ctx.beginPath();
42813
42957
 
@@ -43411,7 +43555,8 @@ var element_tip_modules = {
43411
43555
  var isExistSelectedLabel;
43412
43556
 
43413
43557
  if (labelTipOpt.use && labelTipOpt.showTip) {
43414
- isExistSelectedLabel = this.drawLabelTip();
43558
+ var isHeatMap = opt.type === 'heatMap';
43559
+ isExistSelectedLabel = isHeatMap ? this.drawLabelTipForHeatMap() : this.drawLabelTip();
43415
43560
  }
43416
43561
 
43417
43562
  var executeDrawIndicator = function executeDrawIndicator(tipOpt) {
@@ -43791,6 +43936,53 @@ var element_tip_modules = {
43791
43936
  return drawTip;
43792
43937
  },
43793
43938
 
43939
+ /**
43940
+ * Draw Selected Label Tip
43941
+ * @returns {boolean} Whether drew at least one tip
43942
+ */
43943
+ drawLabelTipForHeatMap: function drawLabelTipForHeatMap() {
43944
+ var _this3 = this;
43945
+
43946
+ var opt = this.options;
43947
+ var isHorizontal = !!opt.horizontal;
43948
+ var labelTipOpt = opt.selectLabel;
43949
+ var dataIndex = this.defaultSelectInfo.dataIndex;
43950
+ var drawTip = false;
43951
+
43952
+ if (dataIndex) {
43953
+ drawTip = true;
43954
+ var chartRect = this.chartRect;
43955
+ var labelOffset = this.labelOffset;
43956
+ var aPos = {
43957
+ x1: chartRect.x1 + labelOffset.left,
43958
+ x2: chartRect.x2 - labelOffset.right,
43959
+ y1: chartRect.y1 + labelOffset.top,
43960
+ y2: chartRect.y2 - labelOffset.bottom
43961
+ };
43962
+ var labelAxes = isHorizontal ? this.axesY[0] : this.axesX[0];
43963
+ var labelStartPoint = aPos[labelAxes.units.rectStart];
43964
+ var labelEndPoint = aPos[labelAxes.units.rectEnd];
43965
+ var labelGap = (labelEndPoint - labelStartPoint) / labelAxes.labels.length;
43966
+ var valueAxes = isHorizontal ? this.axesX[0] : this.axesY[0];
43967
+ var offset = 6 * (isHorizontal ? 1 : -1);
43968
+ var gp = aPos[valueAxes.units.rectEnd] + offset;
43969
+ dataIndex === null || dataIndex === void 0 ? void 0 : dataIndex.forEach(function (index) {
43970
+ var labelCenter = Math.round(labelStartPoint + labelGap * index);
43971
+ var dp = labelCenter + labelGap / 2;
43972
+
43973
+ _this3.showTip({
43974
+ context: _this3.bufferCtx,
43975
+ x: isHorizontal ? gp : dp,
43976
+ y: isHorizontal ? dp : gp,
43977
+ opt: labelTipOpt,
43978
+ isSamePos: false
43979
+ });
43980
+ });
43981
+ }
43982
+
43983
+ return drawTip;
43984
+ },
43985
+
43794
43986
  /**
43795
43987
  * Calculate x, y position to draw text tip
43796
43988
  * @param {object} param object for drawing text tip
@@ -44264,7 +44456,6 @@ var chart_core_EvChart = /*#__PURE__*/function () {
44264
44456
 
44265
44457
  switch (chartType) {
44266
44458
  case 'line':
44267
- case 'heatMap':
44268
44459
  {
44269
44460
  var legendHitInfo = hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.legend;
44270
44461
  series.draw(_objectSpread2({
@@ -44273,10 +44464,34 @@ var chart_core_EvChart = /*#__PURE__*/function () {
44273
44464
  break;
44274
44465
  }
44275
44466
 
44276
- case 'bar':
44467
+ case 'heatMap':
44277
44468
  {
44278
44469
  var _legendHitInfo = hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.legend;
44279
44470
 
44471
+ var selectInfo = void 0;
44472
+ var defaultSelectInfo = this.defaultSelectItemInfo;
44473
+
44474
+ if (defaultSelectInfo !== null && defaultSelectInfo !== void 0 && defaultSelectInfo.dataIndex || (defaultSelectInfo === null || defaultSelectInfo === void 0 ? void 0 : defaultSelectInfo.dataIndex) === 0) {
44475
+ selectInfo = _objectSpread2({}, defaultSelectInfo);
44476
+ } else {
44477
+ selectInfo = null;
44478
+ }
44479
+
44480
+ series.draw(_objectSpread2({
44481
+ legendHitInfo: _legendHitInfo,
44482
+ selectInfo: selectInfo,
44483
+ selectItem: {
44484
+ option: selectItem,
44485
+ selected: selectInfo
44486
+ }
44487
+ }, opt));
44488
+ break;
44489
+ }
44490
+
44491
+ case 'bar':
44492
+ {
44493
+ var _legendHitInfo2 = hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.legend;
44494
+
44280
44495
  var _this$options3 = this.options,
44281
44496
  thickness = _this$options3.thickness,
44282
44497
  cPadRatio = _this$options3.cPadRatio,
@@ -44287,7 +44502,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
44287
44502
  borderRadius: borderRadius,
44288
44503
  showSeriesCount: showSeriesCount,
44289
44504
  showIndex: showIndex,
44290
- legendHitInfo: _legendHitInfo
44505
+ legendHitInfo: _legendHitInfo2
44291
44506
  }, opt));
44292
44507
 
44293
44508
  if (series.show) {
@@ -44301,21 +44516,21 @@ var chart_core_EvChart = /*#__PURE__*/function () {
44301
44516
  {
44302
44517
  var _this$lastHitInfo, _this$defaultSelectIt;
44303
44518
 
44304
- var selectInfo = (_this$lastHitInfo = this.lastHitInfo) !== null && _this$lastHitInfo !== void 0 ? _this$lastHitInfo : {
44519
+ var _selectInfo = (_this$lastHitInfo = this.lastHitInfo) !== null && _this$lastHitInfo !== void 0 ? _this$lastHitInfo : {
44305
44520
  sId: (_this$defaultSelectIt = this.defaultSelectItemInfo) === null || _this$defaultSelectIt === void 0 ? void 0 : _this$defaultSelectIt.seriesID
44306
44521
  };
44307
44522
 
44308
- var _legendHitInfo2 = hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.legend;
44523
+ var _legendHitInfo3 = hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.legend;
44309
44524
 
44310
44525
  if (this.options.sunburst) {
44311
44526
  this.drawSunburst({
44312
- selectInfo: selectInfo,
44313
- legendHitInfo: _legendHitInfo2
44527
+ selectInfo: _selectInfo,
44528
+ legendHitInfo: _legendHitInfo3
44314
44529
  });
44315
44530
  } else {
44316
44531
  this.drawPie({
44317
- selectInfo: selectInfo,
44318
- legendHitInfo: _legendHitInfo2
44532
+ selectInfo: _selectInfo,
44533
+ legendHitInfo: _legendHitInfo3
44319
44534
  });
44320
44535
  }
44321
44536
 
@@ -44328,29 +44543,29 @@ var chart_core_EvChart = /*#__PURE__*/function () {
44328
44543
 
44329
44544
  case 'scatter':
44330
44545
  {
44331
- var _legendHitInfo3 = hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.legend;
44546
+ var _legendHitInfo4 = hitInfo === null || hitInfo === void 0 ? void 0 : hitInfo.legend;
44332
44547
 
44333
- var _selectInfo = void 0;
44548
+ var _selectInfo2 = void 0;
44334
44549
 
44335
44550
  if (selectItem.use && selectItem.useSeriesOpacity) {
44336
44551
  var lastHitInfo = this.lastHitInfo;
44337
- var defaultSelectInfo = this.defaultSelectItemInfo;
44552
+ var _defaultSelectInfo = this.defaultSelectItemInfo;
44338
44553
 
44339
44554
  if (lastHitInfo !== null && lastHitInfo !== void 0 && lastHitInfo.maxIndex || (lastHitInfo === null || lastHitInfo === void 0 ? void 0 : lastHitInfo.maxIndex) === 0) {
44340
- _selectInfo = {
44555
+ _selectInfo2 = {
44341
44556
  seriesID: lastHitInfo.sId,
44342
44557
  dataIndex: lastHitInfo.maxIndex
44343
44558
  };
44344
- } else if (defaultSelectInfo !== null && defaultSelectInfo !== void 0 && defaultSelectInfo.dataIndex || (defaultSelectInfo === null || defaultSelectInfo === void 0 ? void 0 : defaultSelectInfo.dataIndex) === 0) {
44345
- _selectInfo = _objectSpread2({}, defaultSelectInfo);
44559
+ } else if (_defaultSelectInfo !== null && _defaultSelectInfo !== void 0 && _defaultSelectInfo.dataIndex || (_defaultSelectInfo === null || _defaultSelectInfo === void 0 ? void 0 : _defaultSelectInfo.dataIndex) === 0) {
44560
+ _selectInfo2 = _objectSpread2({}, _defaultSelectInfo);
44346
44561
  } else {
44347
- _selectInfo = null;
44562
+ _selectInfo2 = null;
44348
44563
  }
44349
44564
  }
44350
44565
 
44351
44566
  series.draw(_objectSpread2({
44352
- legendHitInfo: _legendHitInfo3,
44353
- selectInfo: _selectInfo
44567
+ legendHitInfo: _legendHitInfo4,
44568
+ selectInfo: _selectInfo2
44354
44569
  }, opt));
44355
44570
  break;
44356
44571
  }
@@ -44830,7 +45045,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
44830
45045
  if (options.legend.show) {
44831
45046
  var _options$legend, _options$legend$table;
44832
45047
 
44833
- 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';
45048
+ 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';
44834
45049
 
44835
45050
  if (!this.isInitLegend) {
44836
45051
  this.initLegend();
@@ -45724,7 +45939,15 @@ var DEFAULT_OPTIONS = {
45724
45939
  fontFamily: 'Roboto',
45725
45940
  fontWeight: 400
45726
45941
  },
45727
- useSeriesOpacity: false
45942
+ useSeriesOpacity: false,
45943
+ useDeselectItem: false,
45944
+ showBorder: false,
45945
+ borderStyle: {
45946
+ color: '#FFFFFF',
45947
+ lineWidth: 1,
45948
+ opacity: 1,
45949
+ radius: 0
45950
+ }
45728
45951
  },
45729
45952
  selectLabel: {
45730
45953
  use: false,
@@ -45794,7 +46017,8 @@ var DEFAULT_OPTIONS = {
45794
46017
  heatMapColor: {
45795
46018
  min: '#FFFFFF',
45796
46019
  max: '#0052FF',
45797
- categoryCnt: 1,
46020
+ rangeCount: 1,
46021
+ colorsByRange: [],
45798
46022
  stroke: {
45799
46023
  show: false,
45800
46024
  color: '#FFFFFF',
@@ -45850,6 +46074,7 @@ var chart_uses_useModel = function useModel(selectedLabel) {
45850
46074
  var _click = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(e) {
45851
46075
  var _e$selected, _e$selected2;
45852
46076
 
46077
+ var selectedItem;
45853
46078
  return regeneratorRuntime.wrap(function _callee$(_context) {
45854
46079
  while (1) {
45855
46080
  switch (_context.prev = _context.next) {
@@ -45859,10 +46084,20 @@ var chart_uses_useModel = function useModel(selectedLabel) {
45859
46084
 
45860
46085
  case 2:
45861
46086
  if (e.label) {
45862
- emit('update:selectedItem', {
46087
+ selectedItem = {
45863
46088
  seriesID: e.seriesId,
45864
46089
  dataIndex: e.dataIndex
45865
- });
46090
+ };
46091
+
46092
+ if ('deselect' in e) {
46093
+ if (e.deselect) {
46094
+ selectedItem = null;
46095
+ }
46096
+
46097
+ delete e.deselect;
46098
+ }
46099
+
46100
+ emit('update:selectedItem', selectedItem);
45866
46101
  }
45867
46102
 
45868
46103
  if ((_e$selected = e.selected) !== null && _e$selected !== void 0 && _e$selected.dataIndex) {
@@ -48089,21 +48324,21 @@ var TreeGridvue_type_template_id_99e6d310_scoped_true_render = /*#__PURE__*/Tree
48089
48324
  });
48090
48325
  // CONCATENATED MODULE: ./src/components/treeGrid/TreeGrid.vue?vue&type=template&id=99e6d310&scoped=true
48091
48326
 
48092
- // 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/treeGrid/TreeGridNode.vue?vue&type=template&id=89ae5faa&scoped=true
48327
+ // 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/treeGrid/TreeGridNode.vue?vue&type=template&id=c34b4ad2&scoped=true
48093
48328
 
48094
48329
 
48095
48330
 
48096
- var TreeGridNodevue_type_template_id_89ae5faa_scoped_true_withId = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withScopeId"])("data-v-89ae5faa");
48331
+ var TreeGridNodevue_type_template_id_c34b4ad2_scoped_true_withId = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withScopeId"])("data-v-c34b4ad2");
48097
48332
 
48098
- Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-89ae5faa");
48333
+ Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-c34b4ad2");
48099
48334
 
48100
- var TreeGridNodevue_type_template_id_89ae5faa_scoped_true_hoisted_1 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("i", null, null, -1);
48335
+ var TreeGridNodevue_type_template_id_c34b4ad2_scoped_true_hoisted_1 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("i", null, null, -1);
48101
48336
 
48102
- var TreeGridNodevue_type_template_id_89ae5faa_scoped_true_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("i", null, null, -1);
48337
+ var TreeGridNodevue_type_template_id_c34b4ad2_scoped_true_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("i", null, null, -1);
48103
48338
 
48104
48339
  Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])();
48105
48340
 
48106
- var TreeGridNodevue_type_template_id_89ae5faa_scoped_true_render = /*#__PURE__*/TreeGridNodevue_type_template_id_89ae5faa_scoped_true_withId(function (_ctx, _cache, $props, $setup, $data, $options) {
48341
+ var TreeGridNodevue_type_template_id_c34b4ad2_scoped_true_render = /*#__PURE__*/TreeGridNodevue_type_template_id_c34b4ad2_scoped_true_withId(function (_ctx, _cache, $props, $setup, $data, $options) {
48107
48342
  var _component_ev_checkbox = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-checkbox");
48108
48343
 
48109
48344
  var _component_ev_icon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-icon");
@@ -48140,10 +48375,10 @@ var TreeGridNodevue_type_template_id_89ae5faa_scoped_true_render = /*#__PURE__*/
48140
48375
  "data-index": $setup.node.index,
48141
48376
  class: $setup.getColumnClass(column, cellIndex),
48142
48377
  style: $setup.getColumnStyle(column)
48143
- }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", null, [cellIndex === 0 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
48378
+ }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", null, [cellIndex === $setup.expandColumnIdx ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
48144
48379
  key: 0,
48145
48380
  style: $setup.getDepthStyle($setup.node.level)
48146
- }, null, 4)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), cellIndex === 0 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
48381
+ }, null, 4)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), cellIndex === $setup.expandColumnIdx ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
48147
48382
  key: 1,
48148
48383
  class: {
48149
48384
  expand: $setup.node.expand,
@@ -48166,7 +48401,7 @@ var TreeGridNodevue_type_template_id_89ae5faa_scoped_true_render = /*#__PURE__*/
48166
48401
  onClick: _cache[4] || (_cache[4] = function ($event) {
48167
48402
  return $setup.onExpand($setup.node);
48168
48403
  })
48169
- }, [TreeGridNodevue_type_template_id_89ae5faa_scoped_true_hoisted_1]))], 64)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), cellIndex === 0 && $setup.isDataIcon ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
48404
+ }, [TreeGridNodevue_type_template_id_c34b4ad2_scoped_true_hoisted_1]))], 64)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), cellIndex === $setup.expandColumnIdx && $setup.isDataIcon ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
48170
48405
  key: 2,
48171
48406
  title: $setup.node[column.field],
48172
48407
  class: {
@@ -48175,7 +48410,7 @@ var TreeGridNodevue_type_template_id_89ae5faa_scoped_true_render = /*#__PURE__*/
48175
48410
  }
48176
48411
  }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span", {
48177
48412
  class: $setup.node.hasChild ? $setup.parentIconMV : $setup.childIconMV
48178
- }, [TreeGridNodevue_type_template_id_89ae5faa_scoped_true_hoisted_2], 2)], 10, ["title"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), !!_ctx.$slots[column.field + 'Node'] ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, column.field + 'Node', {
48413
+ }, [TreeGridNodevue_type_template_id_c34b4ad2_scoped_true_hoisted_2], 2)], 10, ["title"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), !!_ctx.$slots[column.field + 'Node'] ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, column.field + 'Node', {
48179
48414
  key: 3,
48180
48415
  item: {
48181
48416
  data: $setup.node.data
@@ -48183,12 +48418,13 @@ var TreeGridNodevue_type_template_id_89ae5faa_scoped_true_render = /*#__PURE__*/
48183
48418
  }) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])], 14, ["data-name", "data-index"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64);
48184
48419
  }), 128))], 42, ["data-index"]);
48185
48420
  });
48186
- // CONCATENATED MODULE: ./src/components/treeGrid/TreeGridNode.vue?vue&type=template&id=89ae5faa&scoped=true
48421
+ // CONCATENATED MODULE: ./src/components/treeGrid/TreeGridNode.vue?vue&type=template&id=c34b4ad2&scoped=true
48187
48422
 
48188
48423
  // 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/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/treeGrid/TreeGridNode.vue?vue&type=script&lang=js
48189
48424
 
48190
48425
 
48191
48426
 
48427
+
48192
48428
  /* harmony default export */ var TreeGridNodevue_type_script_lang_js = ({
48193
48429
  name: 'TreeGridNode',
48194
48430
  props: {
@@ -48296,6 +48532,12 @@ var TreeGridNodevue_type_template_id_89ae5faa_scoped_true_render = /*#__PURE__*/
48296
48532
  var isDataIcon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
48297
48533
  return parentIconMV.value !== 'none' || childIconMV.value !== 'none';
48298
48534
  });
48535
+ var expandColumnIdx = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
48536
+ var expandColumnIndex = props.orderedColumns.findIndex(function (v) {
48537
+ return v.expandColumn;
48538
+ });
48539
+ return expandColumnIndex > 0 ? expandColumnIndex : 0;
48540
+ });
48299
48541
 
48300
48542
  var getRowClass = function getRowClass(nodeInfo) {
48301
48543
  var _ref2;
@@ -48345,6 +48587,7 @@ var TreeGridNodevue_type_template_id_89ae5faa_scoped_true_render = /*#__PURE__*/
48345
48587
  node: node,
48346
48588
  isDataIcon: isDataIcon,
48347
48589
  checkboxClass: checkboxClass,
48590
+ expandColumnIdx: expandColumnIdx,
48348
48591
  onCheck: onCheck,
48349
48592
  onExpand: onExpand,
48350
48593
  onClick: onClick,
@@ -48359,8 +48602,8 @@ var TreeGridNodevue_type_template_id_89ae5faa_scoped_true_render = /*#__PURE__*/
48359
48602
  });
48360
48603
  // CONCATENATED MODULE: ./src/components/treeGrid/TreeGridNode.vue?vue&type=script&lang=js
48361
48604
 
48362
- // EXTERNAL MODULE: ./src/components/treeGrid/TreeGridNode.vue?vue&type=style&index=0&id=89ae5faa&lang=scss&scoped=true
48363
- var TreeGridNodevue_type_style_index_0_id_89ae5faa_lang_scss_scoped_true = __webpack_require__("7d76");
48605
+ // EXTERNAL MODULE: ./src/components/treeGrid/TreeGridNode.vue?vue&type=style&index=0&id=c34b4ad2&lang=scss&scoped=true
48606
+ var TreeGridNodevue_type_style_index_0_id_c34b4ad2_lang_scss_scoped_true = __webpack_require__("9dac");
48364
48607
 
48365
48608
  // CONCATENATED MODULE: ./src/components/treeGrid/TreeGridNode.vue
48366
48609
 
@@ -48370,7 +48613,7 @@ var TreeGridNodevue_type_style_index_0_id_89ae5faa_lang_scss_scoped_true = __web
48370
48613
 
48371
48614
 
48372
48615
 
48373
- const TreeGridNode_exports_ = /*#__PURE__*/exportHelper_default()(TreeGridNodevue_type_script_lang_js, [['render',TreeGridNodevue_type_template_id_89ae5faa_scoped_true_render],['__scopeId',"data-v-89ae5faa"]])
48616
+ const TreeGridNode_exports_ = /*#__PURE__*/exportHelper_default()(TreeGridNodevue_type_script_lang_js, [['render',TreeGridNodevue_type_template_id_c34b4ad2_scoped_true_render],['__scopeId',"data-v-c34b4ad2"]])
48374
48617
 
48375
48618
  /* harmony default export */ var TreeGridNode = (TreeGridNode_exports_);
48376
48619
  // 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/treeGrid/treeGrid.toolbar.vue?vue&type=template&id=b55880ba