evui 3.3.17 → 3.3.20

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.
@@ -96,6 +96,21 @@ module.exports =
96
96
  /* unused harmony reexport * */
97
97
 
98
98
 
99
+ /***/ }),
100
+
101
+ /***/ "009b":
102
+ /***/ (function(module, exports, __webpack_require__) {
103
+
104
+ // style-loader: Adds some css to the DOM by adding a <style> tag
105
+
106
+ // load the styles
107
+ var content = __webpack_require__("95d6");
108
+ if(typeof content === 'string') content = [[module.i, content, '']];
109
+ if(content.locals) module.exports = content.locals;
110
+ // add the styles to the DOM
111
+ var add = __webpack_require__("499e").default
112
+ var update = add("550a9dee", content, true, {"sourceMap":false,"shadowMode":false});
113
+
99
114
  /***/ }),
100
115
 
101
116
  /***/ "00ee":
@@ -164,21 +179,6 @@ module.exports = function (fn, that, length) {
164
179
  /* unused harmony reexport * */
165
180
 
166
181
 
167
- /***/ }),
168
-
169
- /***/ "044f":
170
- /***/ (function(module, exports, __webpack_require__) {
171
-
172
- // style-loader: Adds some css to the DOM by adding a <style> tag
173
-
174
- // load the styles
175
- var content = __webpack_require__("4890");
176
- if(typeof content === 'string') content = [[module.i, content, '']];
177
- if(content.locals) module.exports = content.locals;
178
- // add the styles to the DOM
179
- var add = __webpack_require__("499e").default
180
- var update = add("1fe9e43e", content, true, {"sourceMap":false,"shadowMode":false});
181
-
182
182
  /***/ }),
183
183
 
184
184
  /***/ "0538":
@@ -5360,20 +5360,6 @@ module.exports = function (O, defaultConstructor) {
5360
5360
  };
5361
5361
 
5362
5362
 
5363
- /***/ }),
5364
-
5365
- /***/ "4890":
5366
- /***/ (function(module, exports, __webpack_require__) {
5367
-
5368
- // Imports
5369
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
5370
- exports = ___CSS_LOADER_API_IMPORT___(false);
5371
- // Module
5372
- exports.push([module.i, ".table[data-v-1aab6f12]{position:relative;width:100%;height:100%;padding-top:33px}.table.non-header[data-v-1aab6f12]{padding-top:0}.table .table-header[data-v-1aab6f12]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .table .table-header[data-v-1aab6f12]{border-top:2px solid;border-bottom:1px solid}.column-list[data-v-1aab6f12]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-1aab6f12],.column-list[data-v-1aab6f12]{position:relative;height:100%}.column[data-v-1aab6f12]{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-1aab6f12]{border-right:1px solid}.column[data-v-1aab6f12]:last-child{border-right:0;margin-right:20px}.column:last-child .column-resize[data-v-1aab6f12]{cursor:default!important}.column .sort-icon[data-v-1aab6f12]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-1aab6f12]{font-size:13px;color:#005cc8}.column-name[data-v-1aab6f12]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-1aab6f12]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-1aab6f12]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-1aab6f12]{display:block;cursor:pointer}.column-filter-status[data-v-1aab6f12]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-1aab6f12]{font-size:10px;vertical-align:top}.column-resize[data-v-1aab6f12]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-1aab6f12]:hover{cursor:col-resize}.table-body[data-v-1aab6f12]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-1aab6f12]{clear:both;width:inherit;border-spacing:0;border-collapse:collapse}.table-body.stripe tr[data-v-1aab6f12]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-1aab6f12]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-1aab6f12]{border-bottom:1px solid}.table-body .row[data-v-1aab6f12]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-1aab6f12]{border-bottom:1px solid}.table-body .row.selected[data-v-1aab6f12]{background:rgba(219,240,249,.6)!important;color:inherit!important}.dark .table-body .row.selected[data-v-1aab6f12]{background:!important;color:inherit!important}.table-body .row.highlight[data-v-1aab6f12]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-1aab6f12]{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-1aab6f12]{border-right:1px solid}.table-body .cell div[data-v-1aab6f12]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-1aab6f12]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-1aab6f12]{overflow:initial}.table-body .cell.float[data-v-1aab6f12],.table-body .cell.number[data-v-1aab6f12]{text-align:right}.table-body .cell.string[data-v-1aab6f12],.table-body .cell.stringNumber[data-v-1aab6f12]{text-align:left}.table-body .cell.center[data-v-1aab6f12]{text-align:center}.table-body .cell.left[data-v-1aab6f12]{text-align:left}.table-body .cell.left .wrap[data-v-1aab6f12]{justify-content:flex-start}.table-body .cell.right[data-v-1aab6f12]{text-align:right}.table-body .cell.right .wrap[data-v-1aab6f12]{justify-content:flex-end}.table-body .cell[data-v-1aab6f12]:last-child{border-right:0}.table-body .cell.tree-td[data-v-1aab6f12]{text-align:left!important}.table-resize-line[data-v-1aab6f12]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-1aab6f12]{border-right:1px solid}.vscroll-spacer[data-v-1aab6f12]{opacity:0;clear:both}[v-cloak][data-v-1aab6f12]{display:none}.ev-checkbox[data-v-1aab6f12]{margin:0}.non-border[data-v-1aab6f12]{border:none!important}.is-empty[data-v-1aab6f12]{height:30px;text-align:center}", ""]);
5373
- // Exports
5374
- module.exports = exports;
5375
-
5376
-
5377
5363
  /***/ }),
5378
5364
 
5379
5365
  /***/ "4930":
@@ -6924,7 +6910,7 @@ module.exports = {
6924
6910
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
6925
6911
  exports = ___CSS_LOADER_API_IMPORT___(false);
6926
6912
  // Module
6927
- 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;overflow:hidden}.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-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;font-family:Roboto,serif;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}", ""]);
6913
+ 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;font-family:Roboto,serif;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}", ""]);
6928
6914
  // Exports
6929
6915
  module.exports = exports;
6930
6916
 
@@ -7957,7 +7943,7 @@ $({ target: 'Number', stat: true }, {
7957
7943
  /***/ "9224":
7958
7944
  /***/ (function(module) {
7959
7945
 
7960
- module.exports = JSON.parse("{\"a\":\"3.3.17\"}");
7946
+ module.exports = JSON.parse("{\"a\":\"3.3.20\"}");
7961
7947
 
7962
7948
  /***/ }),
7963
7949
 
@@ -8096,6 +8082,20 @@ exports.push([module.i, ".ev-tree-view li ul{padding:0 0 0 18px;margin:0}.ev-tre
8096
8082
  module.exports = exports;
8097
8083
 
8098
8084
 
8085
+ /***/ }),
8086
+
8087
+ /***/ "95d6":
8088
+ /***/ (function(module, exports, __webpack_require__) {
8089
+
8090
+ // Imports
8091
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
8092
+ exports = ___CSS_LOADER_API_IMPORT___(false);
8093
+ // Module
8094
+ exports.push([module.i, ".table[data-v-89cff218]{position:relative;width:100%;height:100%;padding-top:33px}.table.non-header[data-v-89cff218]{padding-top:0}.table .table-header[data-v-89cff218]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .table .table-header[data-v-89cff218]{border-top:2px solid;border-bottom:1px solid}.column-list[data-v-89cff218]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-89cff218],.column-list[data-v-89cff218]{position:relative;height:100%}.column[data-v-89cff218]{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-89cff218]{border-right:1px solid}.column[data-v-89cff218]:last-child{border-right:0;margin-right:20px}.column:last-child .column-resize[data-v-89cff218]{cursor:default!important}.column .sort-icon[data-v-89cff218]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-89cff218]{font-size:13px;color:#005cc8}.column-name[data-v-89cff218]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-89cff218]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-89cff218]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-89cff218]{display:block;cursor:pointer}.column-filter-status[data-v-89cff218]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-89cff218]{font-size:10px;vertical-align:top}.column-resize[data-v-89cff218]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-89cff218]:hover{cursor:col-resize}.table-body[data-v-89cff218]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-89cff218]{clear:both;width:inherit;border-spacing:0;border-collapse:collapse}.table-body.stripe tr[data-v-89cff218]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-89cff218]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-89cff218]{border-bottom:1px solid}.table-body .row[data-v-89cff218]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-89cff218]{border-bottom:1px solid}.table-body .row.selected[data-v-89cff218]{background:rgba(219,240,249,.6)!important;color:inherit!important}.dark .table-body .row.selected[data-v-89cff218]{background:!important;color:inherit!important}.table-body .row.highlight[data-v-89cff218]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-89cff218]{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-89cff218]{border-right:1px solid}.table-body .cell div[data-v-89cff218]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-89cff218]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-89cff218]{overflow:initial}.table-body .cell.float[data-v-89cff218],.table-body .cell.number[data-v-89cff218]{text-align:right}.table-body .cell.string[data-v-89cff218],.table-body .cell.stringNumber[data-v-89cff218]{text-align:left}.table-body .cell.center[data-v-89cff218]{text-align:center}.table-body .cell.left[data-v-89cff218]{text-align:left}.table-body .cell.left .wrap[data-v-89cff218]{justify-content:flex-start}.table-body .cell.right[data-v-89cff218]{text-align:right}.table-body .cell.right .wrap[data-v-89cff218]{justify-content:flex-end}.table-body .cell[data-v-89cff218]:last-child{border-right:0}.table-body .cell.tree-td[data-v-89cff218]{text-align:left!important}.table-resize-line[data-v-89cff218]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-89cff218]{border-right:1px solid}.vscroll-spacer[data-v-89cff218]{opacity:0;clear:both}[v-cloak][data-v-89cff218]{display:none}.ev-checkbox[data-v-89cff218]{margin:0}.non-border[data-v-89cff218]{border:none!important}.is-empty[data-v-89cff218]{height:30px;text-align:center}", ""]);
8095
+ // Exports
8096
+ module.exports = exports;
8097
+
8098
+
8099
8099
  /***/ }),
8100
8100
 
8101
8101
  /***/ "96cf":
@@ -9851,17 +9851,6 @@ module.exports = {
9851
9851
  };
9852
9852
 
9853
9853
 
9854
- /***/ }),
9855
-
9856
- /***/ "af65":
9857
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
9858
-
9859
- "use strict";
9860
- /* 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_TreeGrid_vue_vue_type_style_index_0_id_1aab6f12_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("044f");
9861
- /* 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_TreeGrid_vue_vue_type_style_index_0_id_1aab6f12_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_TreeGrid_vue_vue_type_style_index_0_id_1aab6f12_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
9862
- /* unused harmony reexport * */
9863
-
9864
-
9865
9854
  /***/ }),
9866
9855
 
9867
9856
  /***/ "afaf":
@@ -10597,6 +10586,17 @@ $({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !US
10597
10586
  });
10598
10587
 
10599
10588
 
10589
+ /***/ }),
10590
+
10591
+ /***/ "ca6f":
10592
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10593
+
10594
+ "use strict";
10595
+ /* 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_TreeGrid_vue_vue_type_style_index_0_id_89cff218_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("009b");
10596
+ /* 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_TreeGrid_vue_vue_type_style_index_0_id_89cff218_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_TreeGrid_vue_vue_type_style_index_0_id_89cff218_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
10597
+ /* unused harmony reexport * */
10598
+
10599
+
10600
10600
  /***/ }),
10601
10601
 
10602
10602
  /***/ "ca84":
@@ -31994,7 +31994,15 @@ function reverse(array) {
31994
31994
  * @returns {string} computed value
31995
31995
  */
31996
31996
  getLabelStyle: function getLabelStyle(style) {
31997
- return "normal normal ".concat(style.fontWeight, " ").concat(style.fontSize, "px ").concat(style.fontFamily);
31997
+ var _style$fontStyle = style.fontStyle,
31998
+ fontStyle = _style$fontStyle === void 0 ? 'normal' : _style$fontStyle,
31999
+ _style$fontWeight = style.fontWeight,
32000
+ fontWeight = _style$fontWeight === void 0 ? 'norma' : _style$fontWeight,
32001
+ _style$fontSize = style.fontSize,
32002
+ fontSize = _style$fontSize === void 0 ? '12' : _style$fontSize,
32003
+ _style$fontFamily = style.fontFamily,
32004
+ fontFamily = _style$fontFamily === void 0 ? 'Roboto' : _style$fontFamily;
32005
+ return "".concat(fontStyle, " normal ").concat(fontWeight, " ").concat(fontSize, "px ").concat(fontFamily);
31998
32006
  },
31999
32007
 
32000
32008
  /**
@@ -32738,7 +32746,9 @@ var modules = {
32738
32746
  return def;
32739
32747
  },
32740
32748
  getSeriesValueOptForHeatMap: function getSeriesValueOptForHeatMap(series) {
32741
- var data = series.data;
32749
+ var data = series.data,
32750
+ colorState = series.colorState,
32751
+ isGradient = series.isGradient;
32742
32752
  var colorOpt = this.options.heatMapColor;
32743
32753
  var categoryCnt = colorOpt.categoryCnt;
32744
32754
  var decimalPoint = colorOpt.decimalPoint;
@@ -32761,10 +32771,10 @@ var modules = {
32761
32771
  }
32762
32772
  });
32763
32773
 
32764
- if (isExistError && series.colorAxis.length === categoryCnt) {
32765
- series.colorAxis.push({
32774
+ if (isExistError && !isGradient && colorState.length === categoryCnt) {
32775
+ colorState.push({
32766
32776
  id: "color#".concat(categoryCnt),
32767
- value: colorOpt.error,
32777
+ color: colorOpt.error,
32768
32778
  state: 'normal',
32769
32779
  show: true
32770
32780
  });
@@ -34176,6 +34186,16 @@ var AXIS_OPTION = {
34176
34186
  fontWeight: 400,
34177
34187
  fitWidth: false,
34178
34188
  fitDir: 'right'
34189
+ },
34190
+ title: {
34191
+ use: false,
34192
+ text: null,
34193
+ fontWeight: 400,
34194
+ fontSize: 12,
34195
+ fontFamily: 'Roboto',
34196
+ textAlign: 'right',
34197
+ fontStyle: 'normal',
34198
+ color: '#808080'
34179
34199
  }
34180
34200
  };
34181
34201
  var PLOT_LINE_OPTION = {
@@ -34203,7 +34223,8 @@ var PLOT_BAND_OPTION = {
34203
34223
  var HEAT_MAP_OPTION = {
34204
34224
  show: true,
34205
34225
  highlight: {
34206
- maxShadowOpacity: 0.4
34226
+ maxShadowOpacity: 0.4,
34227
+ brightness: 150
34207
34228
  },
34208
34229
  xAxisIndex: 0,
34209
34230
  yAxisIndex: 0,
@@ -36253,10 +36274,13 @@ var element_pie_Pie = /*#__PURE__*/function () {
36253
36274
 
36254
36275
 
36255
36276
 
36277
+
36278
+
36279
+
36256
36280
 
36257
36281
 
36258
36282
  var element_heatmap_HeatMap = /*#__PURE__*/function () {
36259
- function HeatMap(sId, opt, colorOpt) {
36283
+ function HeatMap(sId, opt, colorOpt, isGradient) {
36260
36284
  var _this = this;
36261
36285
 
36262
36286
  _classCallCheck(this, HeatMap);
@@ -36265,7 +36289,8 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36265
36289
  Object.keys(merged).forEach(function (key) {
36266
36290
  _this[key] = merged[key];
36267
36291
  });
36268
- this.createColorAxis(colorOpt);
36292
+ this.isGradient = isGradient;
36293
+ this.createColorState(colorOpt);
36269
36294
  this.sId = sId;
36270
36295
  this.data = [];
36271
36296
  this.labels = {};
@@ -36284,16 +36309,17 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36284
36309
 
36285
36310
 
36286
36311
  _createClass(HeatMap, [{
36287
- key: "createColorAxis",
36288
- value: function createColorAxis(colorOpt) {
36289
- var colorAxis = [];
36312
+ key: "createColorState",
36313
+ value: function createColorState(colorOpt) {
36314
+ var colorState = [];
36315
+ var regex = /[^0-9]&[^,]/g;
36290
36316
  var min = colorOpt.min,
36291
36317
  max = colorOpt.max,
36292
36318
  categoryCnt = colorOpt.categoryCnt,
36293
36319
  error = colorOpt.error,
36294
36320
  stroke = colorOpt.stroke;
36295
- var minColor = min.includes('#') ? helpers_util.hexToRgb(min) : min;
36296
- var maxColor = max.includes('#') ? helpers_util.hexToRgb(max) : max;
36321
+ var minColor = min.includes('#') ? helpers_util.hexToRgb(min) : min.replace(regex, '');
36322
+ var maxColor = max.includes('#') ? helpers_util.hexToRgb(max) : max.replace(regex, '');
36297
36323
 
36298
36324
  var _minColor$split = minColor.split(','),
36299
36325
  _minColor$split2 = _slicedToArray(_minColor$split, 3),
@@ -36307,35 +36333,71 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36307
36333
  maxG = _maxColor$split2[1],
36308
36334
  maxB = _maxColor$split2[2];
36309
36335
 
36310
- var unitR = Math.floor((minR - maxR) / (categoryCnt - 1));
36311
- var unitG = Math.floor((minG - maxG) / (categoryCnt - 1));
36312
- var unitB = Math.floor((minB - maxB) / (categoryCnt - 1));
36313
-
36314
- for (var ix = 0; ix < categoryCnt; ix++) {
36315
- var r = +minR - unitR * ix;
36316
- var g = +minG - unitG * ix;
36317
- var b = +minB - unitB * ix;
36318
- colorAxis.push({
36319
- id: "color#".concat(ix),
36320
- value: "rgb(".concat(r, ",").concat(g, ",").concat(b, ")"),
36321
- state: 'normal',
36322
- show: true
36336
+ if (this.isGradient) {
36337
+ colorState.push({
36338
+ minColor: {
36339
+ minR: minR,
36340
+ minG: minG,
36341
+ minB: minB
36342
+ },
36343
+ maxColor: {
36344
+ maxR: maxR,
36345
+ maxG: maxG,
36346
+ maxB: maxB
36347
+ },
36348
+ categoryCnt: categoryCnt,
36349
+ start: 0,
36350
+ end: 100,
36351
+ selectedValue: null
36323
36352
  });
36353
+ } else {
36354
+ var unitR = Math.floor((minR - maxR) / (categoryCnt - 1));
36355
+ var unitG = Math.floor((minG - maxG) / (categoryCnt - 1));
36356
+ var unitB = Math.floor((minB - maxB) / (categoryCnt - 1));
36357
+
36358
+ for (var ix = 0; ix < categoryCnt; ix++) {
36359
+ var r = +minR - unitR * ix;
36360
+ var g = +minG - unitG * ix;
36361
+ var b = +minB - unitB * ix;
36362
+ colorState.push({
36363
+ id: "color#".concat(ix),
36364
+ color: "rgb(".concat(r, ",").concat(g, ",").concat(b, ")"),
36365
+ state: 'normal',
36366
+ show: true
36367
+ });
36368
+ }
36324
36369
  }
36325
36370
 
36326
- this.colorAxis = colorAxis;
36371
+ this.colorState = colorState;
36327
36372
  this.errorColor = error;
36328
36373
  this.stroke = stroke;
36329
36374
  }
36330
36375
  }, {
36331
- key: "getColorIndex",
36332
- value: function getColorIndex(value) {
36376
+ key: "getColorForGradient",
36377
+ value: function getColorForGradient(value) {
36378
+ var _this$colorState$ = this.colorState[0],
36379
+ minColor = _this$colorState$.minColor,
36380
+ maxColor = _this$colorState$.maxColor;
36381
+ var minR = minColor.minR,
36382
+ minG = minColor.minG,
36383
+ minB = minColor.minB;
36384
+ var maxR = maxColor.maxR,
36385
+ maxG = maxColor.maxG,
36386
+ maxB = maxColor.maxB;
36387
+ var r = +minR - Math.floor((minR - maxR) * value / 100);
36388
+ var g = +minG - Math.floor((minG - maxG) * value / 100);
36389
+ var b = +minB - Math.floor((minB - maxB) * value / 100);
36390
+ return "rgb(".concat(r, ",").concat(g, ",").concat(b, ")");
36391
+ }
36392
+ }, {
36393
+ key: "getColorIndexForIcon",
36394
+ value: function getColorIndexForIcon(value) {
36333
36395
  var _this$valueOpt = this.valueOpt,
36334
36396
  existError = _this$valueOpt.existError,
36335
36397
  min = _this$valueOpt.min,
36336
36398
  interval = _this$valueOpt.interval,
36337
36399
  decimalPoint = _this$valueOpt.decimalPoint;
36338
- var maxIndex = this.colorAxis.length - 1;
36400
+ var maxIndex = this.colorState.length - 1;
36339
36401
 
36340
36402
  if (existError && value < 0) {
36341
36403
  return maxIndex;
@@ -36349,14 +36411,67 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36349
36411
 
36350
36412
  return colorIndex;
36351
36413
  }
36414
+ }, {
36415
+ key: "getItemInfo",
36416
+ value: function getItemInfo(value) {
36417
+ var _this$valueOpt2 = this.valueOpt,
36418
+ min = _this$valueOpt2.min,
36419
+ max = _this$valueOpt2.max;
36420
+ var itemInfo = {
36421
+ show: false,
36422
+ opacity: 0,
36423
+ dataColor: null,
36424
+ id: null,
36425
+ isHighlight: null
36426
+ };
36427
+
36428
+ if (this.isGradient) {
36429
+ var ratio = convertToPercent(value - min, max - min);
36430
+ var _this$colorState$2 = this.colorState[0],
36431
+ start = _this$colorState$2.start,
36432
+ end = _this$colorState$2.end,
36433
+ selectedValue = _this$colorState$2.selectedValue;
36434
+
36435
+ if (value < 0 || start <= ratio && ratio <= end) {
36436
+ itemInfo.show = true;
36437
+ itemInfo.isHighlight = selectedValue !== null && Math.floor(value) === Math.floor(min + (max - min) * (selectedValue / 100));
36438
+ itemInfo.opacity = 1;
36439
+ itemInfo.dataColor = value < 0 ? this.errorColor : this.getColorForGradient(ratio);
36440
+ }
36441
+ } else {
36442
+ var colorIndex = this.getColorIndexForIcon(value);
36443
+ var _this$colorState$colo = this.colorState[colorIndex],
36444
+ show = _this$colorState$colo.show,
36445
+ state = _this$colorState$colo.state,
36446
+ color = _this$colorState$colo.color,
36447
+ id = _this$colorState$colo.id;
36448
+ itemInfo.show = show;
36449
+ itemInfo.opacity = state === 'downplay' ? 0.1 : 1;
36450
+ itemInfo.dataColor = value < 0 ? this.errorColor : color;
36451
+ itemInfo.id = id;
36452
+ }
36453
+
36454
+ return itemInfo;
36455
+ }
36352
36456
  }, {
36353
36457
  key: "drawItem",
36354
36458
  value: function drawItem(ctx, x, y, w, h) {
36355
36459
  ctx.beginPath();
36356
36460
 
36357
36461
  if (this.stroke.show) {
36358
- ctx.strokeRect(x, y, w, h);
36359
- ctx.fillRect(x, y, w, h);
36462
+ var radius = this.stroke.radius;
36463
+
36464
+ if (radius > 0) {
36465
+ ctx.moveTo(x + radius, y);
36466
+ ctx.arcTo(x + w, y, x + w, y + h, radius);
36467
+ ctx.arcTo(x + w, y + h, x, y + h, radius);
36468
+ ctx.arcTo(x, y + h, x, y, radius);
36469
+ ctx.arcTo(x, y, x + w, y, radius);
36470
+ ctx.fill();
36471
+ } else {
36472
+ ctx.strokeRect(x, y, w, h);
36473
+ ctx.fillRect(x, y, w, h);
36474
+ }
36360
36475
  } else {
36361
36476
  var aliasPixel = helpers_util.aliasPixel(1);
36362
36477
  ctx.fillRect(x, y - aliasPixel, w + aliasPixel, h + aliasPixel);
@@ -36400,7 +36515,8 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36400
36515
 
36401
36516
  var ctx = param.ctx,
36402
36517
  chartRect = param.chartRect,
36403
- labelOffset = param.labelOffset;
36518
+ labelOffset = param.labelOffset,
36519
+ overlayCtx = param.overlayCtx;
36404
36520
  var xArea = chartRect.chartWidth - (labelOffset.left + labelOffset.right);
36405
36521
  var yArea = chartRect.chartHeight - (labelOffset.top + labelOffset.bottom);
36406
36522
  var xsp = chartRect.x1 + labelOffset.left;
@@ -36417,13 +36533,18 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36417
36533
  var value = item.o;
36418
36534
 
36419
36535
  if (xp !== null && yp !== null && value !== null && value !== undefined) {
36420
- var colorIndex = _this2.getColorIndex(value);
36421
-
36422
- var opacity = _this2.colorAxis[colorIndex].state === 'downplay' ? 0.1 : 1;
36423
- item.dataColor = value < 0 ? _this2.errorColor : _this2.colorAxis[colorIndex].value;
36424
- item.cId = _this2.colorAxis[colorIndex].id;
36536
+ var _this2$getItemInfo = _this2.getItemInfo(value),
36537
+ show = _this2$getItemInfo.show,
36538
+ opacity = _this2$getItemInfo.opacity,
36539
+ dataColor = _this2$getItemInfo.dataColor,
36540
+ id = _this2$getItemInfo.id,
36541
+ isHighlight = _this2$getItemInfo.isHighlight;
36542
+
36543
+ item.dataColor = dataColor;
36544
+ item.cId = id;
36545
+ ctx.save();
36425
36546
 
36426
- if (_this2.colorAxis[colorIndex].show) {
36547
+ if (show) {
36427
36548
  ctx.fillStyle = helpers_util.colorStringToRgba(item.dataColor, opacity);
36428
36549
 
36429
36550
  if (_this2.stroke.show) {
@@ -36441,24 +36562,25 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36441
36562
 
36442
36563
  _this2.drawItem(ctx, xp, yp, w, h);
36443
36564
 
36565
+ ctx.restore();
36566
+ item.xp = xp;
36567
+ item.yp = yp;
36568
+ item.w = w;
36569
+ item.h = h;
36570
+
36444
36571
  if (_this2.showValue.use) {
36445
36572
  _this2.drawValueLabels({
36446
36573
  context: ctx,
36447
- data: item,
36448
- positions: {
36449
- x: xp,
36450
- y: yp,
36451
- w: w,
36452
- h: h
36453
- }
36574
+ data: item
36454
36575
  });
36455
36576
  }
36456
- }
36457
36577
 
36458
- item.xp = xp;
36459
- item.yp = yp;
36460
- item.w = w;
36461
- item.h = h;
36578
+ if (isHighlight) {
36579
+ _this2.itemHighlight({
36580
+ data: item
36581
+ }, overlayCtx);
36582
+ }
36583
+ }
36462
36584
  }
36463
36585
  });
36464
36586
  }
@@ -36473,18 +36595,18 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36473
36595
  key: "drawValueLabels",
36474
36596
  value: function drawValueLabels(_ref) {
36475
36597
  var context = _ref.context,
36476
- data = _ref.data,
36477
- positions = _ref.positions;
36598
+ data = _ref.data;
36478
36599
  var _this$showValue = this.showValue,
36479
36600
  fontSize = _this$showValue.fontSize,
36480
36601
  textColor = _this$showValue.textColor,
36481
36602
  align = _this$showValue.align,
36482
36603
  formatter = _this$showValue.formatter,
36483
36604
  decimalPoint = _this$showValue.decimalPoint;
36484
- var x = positions.x,
36485
- y = positions.y,
36486
- w = positions.w,
36487
- h = positions.h;
36605
+ var x = data.xp,
36606
+ y = data.yp,
36607
+ w = data.w,
36608
+ h = data.h,
36609
+ value = data.o;
36488
36610
  var ctx = context;
36489
36611
  ctx.save();
36490
36612
  ctx.beginPath();
@@ -36493,7 +36615,6 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36493
36615
  ctx.lineWidth = 1;
36494
36616
  ctx.textBaseline = 'middle';
36495
36617
  ctx.textAlign = align !== 'center' ? 'left' : 'center';
36496
- var value = data.o;
36497
36618
  var formattedTxt;
36498
36619
 
36499
36620
  if (formatter) {
@@ -36595,8 +36716,6 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36595
36716
  }, {
36596
36717
  key: "itemHighlight",
36597
36718
  value: function itemHighlight(item, context) {
36598
- var _this$colorAxis$find;
36599
-
36600
36719
  var gdata = item.data;
36601
36720
  var ctx = context;
36602
36721
  var x = gdata.xp;
@@ -36604,34 +36723,46 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
36604
36723
  var w = gdata.w;
36605
36724
  var h = gdata.h;
36606
36725
  var cId = gdata.cId;
36607
- var isShow = (_this$colorAxis$find = this.colorAxis.find(function (_ref4) {
36608
- var id = _ref4.id;
36609
- return id === cId;
36610
- })) === null || _this$colorAxis$find === void 0 ? void 0 : _this$colorAxis$find.show;
36726
+ var isShow;
36727
+
36728
+ if (this.isGradient) {
36729
+ var _this$valueOpt3 = this.valueOpt,
36730
+ min = _this$valueOpt3.min,
36731
+ max = _this$valueOpt3.max;
36732
+ var ratio = convertToPercent(gdata.o - min, max - min);
36733
+ var _this$colorState$3 = this.colorState[0],
36734
+ start = _this$colorState$3.start,
36735
+ end = _this$colorState$3.end;
36736
+ isShow = start <= ratio && ratio <= end || gdata.o === -1;
36737
+ } else {
36738
+ var _this$colorState$find;
36739
+
36740
+ isShow = (_this$colorState$find = this.colorState.find(function (_ref4) {
36741
+ var id = _ref4.id;
36742
+ return id === cId;
36743
+ })) === null || _this$colorState$find === void 0 ? void 0 : _this$colorState$find.show;
36744
+ }
36745
+
36611
36746
  ctx.save();
36747
+ ctx.shadowOffsetX = 2;
36748
+ ctx.shadowOffsetY = 2;
36749
+ ctx.shadowBlur = 4;
36612
36750
 
36613
36751
  if (x !== null && y !== null && isShow) {
36614
36752
  var color = gdata.dataColor;
36615
- ctx.strokeStyle = helpers_util.colorStringToRgba(color, 1);
36616
- ctx.fillStyle = helpers_util.colorStringToRgba(color, this.highlight.maxShadowOpacity);
36617
- ctx.shadowColor = color;
36618
- this.drawItem(ctx, x, y, w, h);
36753
+ ctx.shadowColor = helpers_util.colorStringToRgba('#605F5F');
36754
+ ctx.strokeStyle = helpers_util.colorStringToRgba(color);
36755
+ ctx.fillStyle = helpers_util.colorStringToRgba(color);
36756
+ this.drawItem(ctx, x - 2, y - 2, w + 4, h + 4);
36757
+ ctx.restore();
36619
36758
 
36620
36759
  if (this.showValue.use) {
36621
36760
  this.drawValueLabels({
36622
36761
  context: ctx,
36623
- data: gdata,
36624
- positions: {
36625
- x: x,
36626
- y: y,
36627
- w: w,
36628
- h: h
36629
- }
36762
+ data: gdata
36630
36763
  });
36631
36764
  }
36632
36765
  }
36633
-
36634
- ctx.restore();
36635
36766
  }
36636
36767
  /**
36637
36768
  * Find graph item for tooltip
@@ -36850,7 +36981,11 @@ var model_series_modules = {
36850
36981
  return new element_pie(id, opt, index);
36851
36982
  } else if (type === 'heatMap') {
36852
36983
  this.seriesInfo.charts.heatMap.push(id);
36853
- return new element_heatmap(id, opt, this.options.heatMapColor);
36984
+ var _this$options = this.options,
36985
+ heatMapColor = _this$options.heatMapColor,
36986
+ legend = _this$options.legend;
36987
+ var isGradient = legend.type === 'gradient';
36988
+ return new element_heatmap(id, opt, heatMapColor, isGradient);
36854
36989
  }
36855
36990
 
36856
36991
  return false;
@@ -37069,6 +37204,52 @@ var scale_Scale = /*#__PURE__*/function () {
37069
37204
  graphMax: graphMax
37070
37205
  };
37071
37206
  }
37207
+ /**
37208
+ * Draw Axis Title
37209
+ *
37210
+ * @param {object} chartRect min/max information
37211
+ * @param {object} labelOffset label offset information
37212
+ *
37213
+ * @returns {undefined}
37214
+ */
37215
+
37216
+ }, {
37217
+ key: "drawAxisTitle",
37218
+ value: function drawAxisTitle(chartRect, labelOffset) {
37219
+ var titleOpt = this.title;
37220
+
37221
+ if (!(titleOpt !== null && titleOpt !== void 0 && titleOpt.use) || isNaN(titleOpt.fontSize)) {
37222
+ return;
37223
+ }
37224
+
37225
+ var ctx = this.ctx;
37226
+ ctx.save();
37227
+ ctx.font = helpers_util.getLabelStyle(titleOpt);
37228
+ ctx.fillStyle = titleOpt.color;
37229
+ ctx.textAlign = titleOpt.textAlign;
37230
+ var axisLinePosition = {
37231
+ xLeft: chartRect.x1 + labelOffset.left,
37232
+ xRight: chartRect.x2 - labelOffset.right,
37233
+ yTop: chartRect.y1
37234
+ };
37235
+ var titleXPos;
37236
+ var titleYPos;
37237
+ var margin = 10;
37238
+
37239
+ if (this.type === 'x') {
37240
+ titleXPos = axisLinePosition.xRight;
37241
+ titleYPos = chartRect.y2 + titleOpt.fontSize + margin;
37242
+ } else {
37243
+ titleYPos = axisLinePosition.yTop - titleOpt.fontSize - margin;
37244
+ titleXPos = axisLinePosition.xLeft;
37245
+ }
37246
+
37247
+ if (titleXPos > 0 && titleYPos > 0) {
37248
+ ctx.fillText(titleOpt.text, titleXPos, titleYPos);
37249
+ }
37250
+
37251
+ ctx.restore();
37252
+ }
37072
37253
  /**
37073
37254
  * Draw axis
37074
37255
  * @param {object} chartRect min/max information
@@ -37102,7 +37283,8 @@ var scale_Scale = /*#__PURE__*/function () {
37102
37283
  var endPoint = aPos[this.units.rectEnd];
37103
37284
  var offsetPoint = aPos[this.units.rectOffset(this.position)];
37104
37285
  var offsetCounterPoint = aPos[this.units.rectOffsetCounter(this.position)];
37105
- var aliasPixel; // label font 설정
37286
+ var aliasPixel;
37287
+ this.drawAxisTitle(chartRect, labelOffset); // label font 설정
37106
37288
 
37107
37289
  ctx.font = helpers_util.getLabelStyle(this.labelStyle);
37108
37290
  ctx.fillStyle = this.labelStyle.color;
@@ -38139,6 +38321,7 @@ var scale_step_StepScale = /*#__PURE__*/function (_Scale) {
38139
38321
  var offsetPoint = aPos[this.units.rectOffset(this.position)];
38140
38322
  var offsetCounterPoint = aPos[this.units.rectOffsetCounter(this.position)];
38141
38323
  var maxWidth = chartRect.chartWidth / (this.labels.length + 2);
38324
+ this.drawAxisTitle(chartRect, labelOffset);
38142
38325
 
38143
38326
  if ((_this$labelStyle = this.labelStyle) !== null && _this$labelStyle !== void 0 && _this$labelStyle.show) {
38144
38327
  // label font 설정
@@ -38552,7 +38735,8 @@ var scale_time_category_TimeCategoryScale = /*#__PURE__*/function (_Scale) {
38552
38735
  var startPoint = aPos[this.units.rectStart];
38553
38736
  var endPoint = aPos[this.units.rectEnd];
38554
38737
  var offsetPoint = aPos[this.units.rectOffset(this.position)];
38555
- var offsetCounterPoint = aPos[this.units.rectOffsetCounter(this.position)]; // label font 설정
38738
+ var offsetCounterPoint = aPos[this.units.rectOffsetCounter(this.position)];
38739
+ this.drawAxisTitle(chartRect, labelOffset); // label font 설정
38556
38740
 
38557
38741
  ctx.font = helpers_util.getLabelStyle(this.labelStyle);
38558
38742
 
@@ -38853,18 +39037,18 @@ var plugins_legend_modules = {
38853
39037
  var seriesList = this.seriesList;
38854
39038
  Object.values(seriesList).forEach(function (series) {
38855
39039
  if (!series.isExistGrp && series.showLegend) {
38856
- var colorAxis = series.colorAxis,
39040
+ var colorState = series.colorState,
38857
39041
  valueOpt = series.valueOpt;
38858
39042
  var min = valueOpt.min,
38859
39043
  max = valueOpt.max,
38860
39044
  interval = valueOpt.interval,
38861
39045
  existError = valueOpt.existError,
38862
39046
  decimalPoint = valueOpt.decimalPoint;
38863
- var length = colorAxis.length;
39047
+ var length = colorState.length;
38864
39048
  var endIndex = existError ? length - 2 : length - 1;
38865
39049
 
38866
39050
  for (var index = 0; index < length; index++) {
38867
- var colorItem = colorAxis[index];
39051
+ var colorItem = colorState[index];
38868
39052
  var minValue = min + interval * index;
38869
39053
  var maxValue = minValue + interval;
38870
39054
 
@@ -38892,7 +39076,7 @@ var plugins_legend_modules = {
38892
39076
 
38893
39077
  _this2.addLegend({
38894
39078
  cId: colorItem.id,
38895
- color: colorItem.value,
39079
+ color: colorItem.color,
38896
39080
  name: name
38897
39081
  });
38898
39082
  }
@@ -39097,7 +39281,7 @@ var plugins_legend_modules = {
39097
39281
  var nameDOM = (_targetDOM4 = targetDOM) === null || _targetDOM4 === void 0 ? void 0 : _targetDOM4.getElementsByClassName('ev-chart-legend-name')[0];
39098
39282
  var isActive = !(colorDOM !== null && colorDOM !== void 0 && colorDOM.className.includes('inactive'));
39099
39283
  var targetId = nameDOM.series.cId;
39100
- var activeCount = series.colorAxis.filter(function (colorItem) {
39284
+ var activeCount = series.colorState.filter(function (colorItem) {
39101
39285
  return colorItem.show;
39102
39286
  }).length;
39103
39287
 
@@ -39118,12 +39302,12 @@ var plugins_legend_modules = {
39118
39302
  nameDOM.style.color = opt.color;
39119
39303
  }
39120
39304
 
39121
- var targetIndex = series.colorAxis.findIndex(function (colorItem) {
39305
+ var targetIndex = series.colorState.findIndex(function (colorItem) {
39122
39306
  return colorItem.id === targetId;
39123
39307
  });
39124
39308
 
39125
39309
  if (targetIndex > -1) {
39126
- series.colorAxis[targetIndex].show = !isActive;
39310
+ series.colorState[targetIndex].show = !isActive;
39127
39311
  }
39128
39312
 
39129
39313
  colorDOM.classList.toggle('inactive');
@@ -39159,7 +39343,7 @@ var plugins_legend_modules = {
39159
39343
 
39160
39344
  var nameDOM = targetDOM.getElementsByClassName('ev-chart-legend-name')[0];
39161
39345
  var targetId = nameDOM.series.cId;
39162
- series.colorAxis.forEach(function (colorItem) {
39346
+ series.colorState.forEach(function (colorItem) {
39163
39347
  colorItem.state = colorItem.id === targetId ? 'highlight' : 'downplay';
39164
39348
  });
39165
39349
 
@@ -39180,7 +39364,7 @@ var plugins_legend_modules = {
39180
39364
 
39181
39365
  this.onLegendBoxLeave = function () {
39182
39366
  var series = Object.values(_this4.seriesList)[0];
39183
- series.colorAxis.forEach(function (item) {
39367
+ series.colorState.forEach(function (item) {
39184
39368
  item.state = 'normal';
39185
39369
  });
39186
39370
 
@@ -39333,6 +39517,7 @@ var plugins_legend_modules = {
39333
39517
 
39334
39518
  containerDOM.style.height = '18px';
39335
39519
  containerDOM.style.display = 'inline-block';
39520
+ containerDOM.style.overflow = 'hidden';
39336
39521
  containerDOM.dataset.type = 'container';
39337
39522
  this.legendBoxDOM.appendChild(containerDOM);
39338
39523
  this.seriesInfo.count++;
@@ -39699,6 +39884,592 @@ var plugins_legend_modules = {
39699
39884
  }
39700
39885
  };
39701
39886
  /* harmony default export */ var plugins_legend = (plugins_legend_modules);
39887
+ // CONCATENATED MODULE: ./src/components/chart/plugins/plugins.legend.gradient.js
39888
+
39889
+
39890
+
39891
+
39892
+
39893
+
39894
+
39895
+
39896
+ var MAX_HANDLE_SIZE = 28;
39897
+ var MIN_BOX_SIZE = {
39898
+ width: 70,
39899
+ height: 60
39900
+ };
39901
+ var plugins_legend_gradient_modules = {
39902
+ /**
39903
+ * Create legend DOM
39904
+ *
39905
+ * @returns {undefined}
39906
+ */
39907
+ createLegendLayout: function createLegendLayout() {
39908
+ this.legendDOM = document.createElement('div');
39909
+ this.legendDOM.className = 'ev-chart-legend';
39910
+ this.legendBoxDOM = document.createElement('div');
39911
+ this.legendBoxDOM.className = 'ev-chart-legend-box';
39912
+ this.containerDOM = document.createElement('div');
39913
+ this.containerDOM.className = 'ev-chart-legend-container';
39914
+ this.legendBoxDOM.appendChild(this.containerDOM);
39915
+ this.legendDOM.appendChild(this.legendBoxDOM);
39916
+ this.wrapperDOM.appendChild(this.legendDOM);
39917
+ },
39918
+
39919
+ /**
39920
+ * Initialize legend
39921
+ * If there was no initialization, create DOM and set default layout.
39922
+ * It not, there will already be set layout, so add a legend for each series with group
39923
+ *
39924
+ * @returns {undefined}
39925
+ */
39926
+ initLegend: function initLegend() {
39927
+ if (!this.isInitLegend) {
39928
+ this.createLegendLayout();
39929
+ this.createLegend();
39930
+ }
39931
+
39932
+ var series = Object.values(this.seriesList)[0];
39933
+ this.setLegendStyle(series);
39934
+ this.initEvent();
39935
+ this.isInitLegend = true;
39936
+ this.legendDragInfo = {
39937
+ dragging: false,
39938
+ isStart: true
39939
+ };
39940
+ },
39941
+
39942
+ /**
39943
+ * Initialize legend event
39944
+ *
39945
+ * @returns {undefined}
39946
+ */
39947
+ initEvent: function initEvent() {
39948
+ var _this = this;
39949
+
39950
+ if (this.isInitLegend) {
39951
+ return;
39952
+ }
39953
+
39954
+ this.onLegendMouseDown = function (e) {
39955
+ e.stopPropagation();
39956
+ e.preventDefault();
39957
+ var type = e.target.dataset.type;
39958
+ var targetDOM;
39959
+
39960
+ if (type === 'handle') {
39961
+ targetDOM = e.target;
39962
+ } else if (type === 'handle-btn') {
39963
+ targetDOM = e.target.parentElement;
39964
+ } else if (type === 'handle-btn-color') {
39965
+ targetDOM = e.target.parentElement.parentElement;
39966
+ } else {
39967
+ return;
39968
+ }
39969
+
39970
+ var colorState = Object.values(_this.seriesList)[0].colorState;
39971
+ var _colorState$ = colorState[0],
39972
+ start = _colorState$.start,
39973
+ end = _colorState$.end;
39974
+ colorState[0].selectedValue = null;
39975
+
39976
+ _this.clearOverlay();
39977
+
39978
+ _this.legendDragInfo.dragging = true;
39979
+ _this.legendDragInfo.isStart = start !== end ? targetDOM.className.includes('start') : _this.legendDragInfo.isStart;
39980
+ targetDOM.classList.add('dragging');
39981
+
39982
+ _this.legendBoxDOM.addEventListener('mousemove', _this.onLegendMouseMove, false);
39983
+
39984
+ _this.legendBoxDOM.addEventListener('mouseup', _this.onLegendMouseUp, false);
39985
+ };
39986
+
39987
+ this.onLegendMouseMove = function (e) {
39988
+ e.stopPropagation();
39989
+ e.preventDefault();
39990
+ var _this$legendDragInfo = _this.legendDragInfo,
39991
+ dragging = _this$legendDragInfo.dragging,
39992
+ isStart = _this$legendDragInfo.isStart;
39993
+
39994
+ if (dragging) {
39995
+ var value = _this.getSelectedValue(e);
39996
+
39997
+ value = _this.isSide ? 100 - value : value;
39998
+ var dir = isStart ? 'start' : 'end';
39999
+ var colorState = Object.values(_this.seriesList)[0].colorState;
40000
+ var _colorState$2 = colorState[0],
40001
+ start = _colorState$2.start,
40002
+ end = _colorState$2.end;
40003
+
40004
+ if (isStart && value > end || !isStart && value < start) {
40005
+ return;
40006
+ }
40007
+
40008
+ colorState[0][dir] = value;
40009
+
40010
+ _this.update({
40011
+ updateSeries: false,
40012
+ updateSelTip: {
40013
+ update: false,
40014
+ keepDomain: false
40015
+ }
40016
+ });
40017
+ }
40018
+ };
40019
+
40020
+ this.onLegendMouseUp = function () {
40021
+ _this.legendDragInfo.dragging = false;
40022
+
40023
+ var targetDOM = _this.containerDOM.getElementsByClassName('ev-chart-legend-handle dragging')[0];
40024
+
40025
+ targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.classList.remove('dragging');
40026
+
40027
+ _this.legendBoxDOM.removeEventListener('mouseup', _this.onLegendMouseUp, false);
40028
+ };
40029
+ /**
40030
+ * callback for legendBoxDOM hovering
40031
+ *
40032
+ * @returns {undefined}
40033
+ */
40034
+
40035
+
40036
+ this.onLegendBoxOver = function (e) {
40037
+ var type = e.target.dataset.type;
40038
+ var _Object$values$ = Object.values(_this.seriesList)[0],
40039
+ colorState = _Object$values$.colorState,
40040
+ valueOpt = _Object$values$.valueOpt;
40041
+ var state = colorState[0];
40042
+
40043
+ var value = _this.getSelectedValue(e);
40044
+
40045
+ value = _this.isSide ? 100 - value : value;
40046
+
40047
+ if (['line', 'thumb', 'layer', 'overlay', 'overlay-item'].includes(type)) {
40048
+ if (state.start <= value && value <= state.end) {
40049
+ state.selectedValue = value;
40050
+
40051
+ _this.createLegendOverlay(value, valueOpt);
40052
+ } else {
40053
+ return;
40054
+ }
40055
+ } else if (['handle', 'handle-btn', 'handle-btn-color'].includes(type)) {
40056
+ var isStart = e.target.className.includes('start');
40057
+ state.selectedValue = isStart ? state.start : state.end;
40058
+
40059
+ _this.clearOverlay();
40060
+ } else {
40061
+ return;
40062
+ }
40063
+
40064
+ _this.update({
40065
+ updateSeries: false,
40066
+ updateSelTip: {
40067
+ update: false,
40068
+ keepDomain: false
40069
+ }
40070
+ });
40071
+ };
40072
+ /**
40073
+ * callback for mouseleave event on legendBoxDOM
40074
+ *
40075
+ * @returns {undefined}
40076
+ */
40077
+
40078
+
40079
+ this.onLegendBoxLeave = function () {
40080
+ _this.legendDragInfo.dragging = false;
40081
+
40082
+ var lineDOM = _this.containerDOM.getElementsByClassName('ev-chart-legend-line')[0];
40083
+
40084
+ var targetDOM = lineDOM.getElementsByClassName('ev-chart-legend-thumb')[0];
40085
+
40086
+ _this.clearOverlay(targetDOM);
40087
+
40088
+ var colorState = Object.values(_this.seriesList)[0].colorState;
40089
+ colorState[0].selectedValue = null;
40090
+
40091
+ _this.update({
40092
+ updateSeries: false,
40093
+ updateSelTip: {
40094
+ update: false,
40095
+ keepDomain: false
40096
+ }
40097
+ });
40098
+ };
40099
+
40100
+ this.legendBoxDOM.addEventListener('mousedown', this.onLegendMouseDown);
40101
+ this.legendBoxDOM.addEventListener('mouseover', this.onLegendBoxOver);
40102
+ this.legendBoxDOM.addEventListener('mouseleave', this.onLegendBoxLeave);
40103
+ },
40104
+ getSelectedValue: function getSelectedValue(evt) {
40105
+ var _this$containerDOM$ge = this.containerDOM.getBoundingClientRect(),
40106
+ x = _this$containerDOM$ge.x,
40107
+ y = _this$containerDOM$ge.y,
40108
+ width = _this$containerDOM$ge.width,
40109
+ height = _this$containerDOM$ge.height;
40110
+
40111
+ var isTop = !this.isSide;
40112
+ var sp = isTop ? x : y;
40113
+ var size = isTop ? width : height;
40114
+ var movePoint = isTop ? evt.clientX : evt.clientY;
40115
+
40116
+ if (movePoint < sp) {
40117
+ movePoint = sp;
40118
+ } else if (movePoint > sp + size) {
40119
+ movePoint = sp + size;
40120
+ }
40121
+
40122
+ var move = movePoint - sp;
40123
+ return +convertToPercent(move, size);
40124
+ },
40125
+
40126
+ /**
40127
+ * To update legend, reset all process.
40128
+ *
40129
+ * @returns {undefined}
40130
+ */
40131
+ updateLegend: function updateLegend() {
40132
+ this.resetLegend();
40133
+ this.createLegend();
40134
+ var series = Object.values(this.seriesList)[0];
40135
+ this.setLegendStyle(series);
40136
+ },
40137
+
40138
+ /**
40139
+ * To update legend, remove all of legendBoxDOM's children
40140
+ *
40141
+ * @returns {undefined}
40142
+ */
40143
+ resetLegend: function resetLegend() {
40144
+ var containerDOM = this.containerDOM;
40145
+
40146
+ if (!containerDOM) {
40147
+ return;
40148
+ }
40149
+
40150
+ while (containerDOM.hasChildNodes()) {
40151
+ containerDOM.removeChild(containerDOM.firstChild);
40152
+ }
40153
+ },
40154
+ clearOverlay: function clearOverlay() {
40155
+ var targetDOM = this.containerDOM.getElementsByClassName('ev-chart-legend-line')[0];
40156
+ var overlayDOM = targetDOM.getElementsByClassName('ev-chart-legend-overlay')[0];
40157
+
40158
+ if (overlayDOM) {
40159
+ targetDOM.removeChild(overlayDOM);
40160
+ var thumbDOM = targetDOM.getElementsByClassName('ev-chart-legend-thumb')[0];
40161
+ var labels = thumbDOM.children;
40162
+ labels.forEach(function (labelDOM) {
40163
+ labelDOM.style.opacity = 1;
40164
+ });
40165
+ }
40166
+ },
40167
+ createLegendOverlay: function createLegendOverlay(value, opt) {
40168
+ this.clearOverlay();
40169
+ var handleSize = this.legendHandleSize;
40170
+ var min = opt.min,
40171
+ max = opt.max;
40172
+ var targetDOM = this.containerDOM.getElementsByClassName('ev-chart-legend-line')[0];
40173
+ var overlayDOM = document.createElement('div');
40174
+ overlayDOM.className = 'ev-chart-legend-overlay';
40175
+ overlayDOM.dataset.type = 'overlay';
40176
+ var tooltipDOM = document.createElement('div');
40177
+ tooltipDOM.className = 'ev-chart-legend-overlay-tooltip';
40178
+ tooltipDOM.innerText = Math.floor(min + (max - min) * (value / 100));
40179
+ var itemDOM = document.createElement('span');
40180
+ itemDOM.className = 'ev-chart-legend-overlay-item';
40181
+ itemDOM.dataset.type = 'overlay-item';
40182
+ var itemStyle;
40183
+ var tooltipStyle;
40184
+ var position = Math.floor(handleSize / 2) + 14;
40185
+
40186
+ if (this.isSide) {
40187
+ tooltipStyle = "top:".concat(100 - value, "%;left:").concat(position, "px;transform:translateY(-50%);");
40188
+ itemStyle = "top:".concat(100 - value, "%;transform:translateY(-50%);");
40189
+ } else {
40190
+ tooltipStyle = "top:-".concat(position, "px;left:").concat(value, "%;transform:translateX(-50%);");
40191
+ itemStyle = "left:".concat(value, "%;transform:translateX(-50%);");
40192
+ }
40193
+
40194
+ itemStyle += "width:".concat(handleSize - 10, "px;height:").concat(handleSize - 10, "px;");
40195
+ tooltipDOM.style.cssText = tooltipStyle;
40196
+ itemDOM.style.cssText = itemStyle;
40197
+ overlayDOM.appendChild(tooltipDOM);
40198
+ overlayDOM.appendChild(itemDOM);
40199
+ targetDOM.appendChild(overlayDOM);
40200
+ var thumbDOM = targetDOM.getElementsByClassName('ev-chart-legend-thumb')[0];
40201
+ var labels = thumbDOM.children;
40202
+ labels.forEach(function (labelDOM) {
40203
+ labelDOM.style.opacity = 0.2;
40204
+ });
40205
+ },
40206
+ createLegendHandle: function createLegendHandle(type) {
40207
+ var colorBtnDOM = document.createElement('span');
40208
+ colorBtnDOM.className = "ev-chart-legend-handle-btn-color ".concat(type);
40209
+ colorBtnDOM.dataset.type = 'handle-btn-color';
40210
+ var btnDOM = document.createElement('div');
40211
+ btnDOM.className = "ev-chart-legend-handle-btn ".concat(type);
40212
+ btnDOM.dataset.type = 'handle-btn';
40213
+ btnDOM.appendChild(colorBtnDOM);
40214
+ var handleDOM = document.createElement('div');
40215
+ handleDOM.className = "ev-chart-legend-handle ".concat(type);
40216
+ handleDOM.dataset.type = 'handle';
40217
+ handleDOM.appendChild(btnDOM);
40218
+ return handleDOM;
40219
+ },
40220
+ createLegendLabel: function createLegendLabel() {
40221
+ var textDOM = document.createElement('span');
40222
+ textDOM.className = 'ev-chart-legend-label-text';
40223
+ var labelDOM = document.createElement('div');
40224
+ labelDOM.className = 'ev-chart-legend-label';
40225
+ return labelDOM;
40226
+ },
40227
+
40228
+ /**
40229
+ * Create legend DOM
40230
+ *
40231
+ * @returns {undefined}
40232
+ */
40233
+ createLegend: function createLegend() {
40234
+ var opt = this.options.legend;
40235
+ this.isSide = !['top', 'bottom'].includes(opt.position);
40236
+ var legendSize = this.isSide ? opt.width : opt.height;
40237
+ this.legendHandleSize = legendSize > MAX_HANDLE_SIZE ? MAX_HANDLE_SIZE : legendSize;
40238
+ var handleSize = this.legendHandleSize;
40239
+ var startHandleDOM = this.createLegendHandle(this.isSide ? 'end' : 'start', handleSize);
40240
+ var endHandleDOM = this.createLegendHandle(this.isSide ? 'start' : 'end', handleSize);
40241
+ var lineLayerDOM = document.createElement('div');
40242
+ lineLayerDOM.className = 'ev-chart-legend-line-layer';
40243
+ lineLayerDOM.dataset.type = 'line-layer';
40244
+ var thumbDOM = document.createElement('div');
40245
+ thumbDOM.className = 'ev-chart-legend-thumb';
40246
+ thumbDOM.dataset.type = 'thumb';
40247
+ thumbDOM.appendChild(this.createLegendLabel());
40248
+ thumbDOM.appendChild(this.createLegendLabel());
40249
+ var lineDOM = document.createElement('div');
40250
+ lineDOM.className = 'ev-chart-legend-line';
40251
+ lineDOM.dataset.type = 'line';
40252
+ lineDOM.appendChild(lineLayerDOM);
40253
+ lineDOM.appendChild(thumbDOM);
40254
+ this.containerDOM.appendChild(lineDOM);
40255
+ this.containerDOM.appendChild(startHandleDOM);
40256
+ this.containerDOM.appendChild(endHandleDOM);
40257
+ },
40258
+ setLegendStyle: function setLegendStyle(series) {
40259
+ var dir = this.isSide ? 'top' : 'right';
40260
+ var handleSize = this.legendHandleSize;
40261
+ var valueOpt = series.valueOpt,
40262
+ colorState = series.colorState;
40263
+ var min = valueOpt.min,
40264
+ max = valueOpt.max,
40265
+ decimalPoint = valueOpt.decimalPoint;
40266
+ var _colorState$3 = colorState[0],
40267
+ start = _colorState$3.start,
40268
+ end = _colorState$3.end;
40269
+ var startColor = series.getColorForGradient(start);
40270
+ var endColor = series.getColorForGradient(end);
40271
+ var gradient = "linear-gradient(to ".concat(dir, ", ");
40272
+ gradient += "".concat(startColor, ", ").concat(endColor, ")");
40273
+ var labelPosition = Math.floor(handleSize / 2) + 14;
40274
+ var defaultHandleStyle = "width:".concat(handleSize, "px;height:").concat(handleSize, "px;");
40275
+ var labelStyle;
40276
+ var startStyle;
40277
+ var endStyle;
40278
+ var thumbStyle = "background:".concat(gradient, ";");
40279
+
40280
+ if (this.isSide) {
40281
+ defaultHandleStyle += "margin-top:-".concat(handleSize / 2, "px;");
40282
+ labelStyle = "left:".concat(labelPosition, "px;transform:translateY(-50%);top:");
40283
+ startStyle = "top:".concat(100 - end, "%;");
40284
+ endStyle = "top:".concat(100 - start, "%;");
40285
+ thumbStyle += "top:".concat(100 - end, "%;height:").concat(end - start, "%;");
40286
+ } else {
40287
+ defaultHandleStyle += "margin-left:-".concat(handleSize / 2, "px;");
40288
+ labelStyle = "top:-".concat(labelPosition, "px;transform:translateX(-50%);left:");
40289
+ startStyle = "left:".concat(start, "%;");
40290
+ endStyle = "left:".concat(end, "%;");
40291
+ thumbStyle += "left:".concat(start, "%;width:").concat(end - start, "%;");
40292
+ }
40293
+
40294
+ var minText = (min + (max - min) * (start / 100)).toFixed(decimalPoint);
40295
+ var maxText = (min + (max - min) * (end / 100)).toFixed(decimalPoint);
40296
+ var thumbDOM = this.containerDOM.getElementsByClassName('ev-chart-legend-thumb')[0];
40297
+ thumbDOM.style.cssText = thumbStyle;
40298
+ var labelDOM = thumbDOM.getElementsByClassName('ev-chart-legend-label');
40299
+ labelDOM[0].style.cssText = "".concat(labelStyle, "0%;");
40300
+ labelDOM[1].style.cssText = "".concat(labelStyle, "100%;");
40301
+ labelDOM[0].innerText = this.isSide ? maxText : minText;
40302
+ labelDOM[1].innerText = this.isSide ? minText : maxText;
40303
+ var handleDOM = this.containerDOM.getElementsByClassName('ev-chart-legend-handle');
40304
+ handleDOM[0].style.cssText = defaultHandleStyle + startStyle;
40305
+ handleDOM[1].style.cssText = defaultHandleStyle + endStyle;
40306
+ var btnDOM = this.containerDOM.getElementsByClassName('ev-chart-legend-handle-btn-color');
40307
+ btnDOM[0].style.backgroundColor = this.isSide ? endColor : startColor;
40308
+ btnDOM[1].style.backgroundColor = this.isSide ? startColor : endColor;
40309
+ },
40310
+
40311
+ /**
40312
+ * Set legend components position by option
40313
+ *
40314
+ * @returns {undefined}
40315
+ */
40316
+ setLegendPosition: function setLegendPosition() {
40317
+ var _opt$legend, _opt$title, _opt$title2, _opt$legend$padding, _opt$legend2;
40318
+
40319
+ var opt = this.options;
40320
+ var position = opt === null || opt === void 0 ? void 0 : (_opt$legend = opt.legend) === null || _opt$legend === void 0 ? void 0 : _opt$legend.position;
40321
+ var minWidth = MIN_BOX_SIZE.width,
40322
+ minHeight = MIN_BOX_SIZE.height;
40323
+ var handleSize = this.legendHandleSize;
40324
+ var title = opt !== null && opt !== void 0 && (_opt$title = opt.title) !== null && _opt$title !== void 0 && _opt$title.show ? opt === null || opt === void 0 ? void 0 : (_opt$title2 = opt.title) === null || _opt$title2 === void 0 ? void 0 : _opt$title2.height : 0;
40325
+ var positionTop = title + minHeight;
40326
+
40327
+ var _ref = (_opt$legend$padding = opt === null || opt === void 0 ? void 0 : (_opt$legend2 = opt.legend) === null || _opt$legend2 === void 0 ? void 0 : _opt$legend2.padding) !== null && _opt$legend$padding !== void 0 ? _opt$legend$padding : {},
40328
+ _ref$top = _ref.top,
40329
+ top = _ref$top === void 0 ? 0 : _ref$top,
40330
+ _ref$bottom = _ref.bottom,
40331
+ bottom = _ref$bottom === void 0 ? 0 : _ref$bottom,
40332
+ _ref$left = _ref.left,
40333
+ left = _ref$left === void 0 ? 0 : _ref$left,
40334
+ _ref$right = _ref.right,
40335
+ right = _ref$right === void 0 ? 0 : _ref$right;
40336
+
40337
+ var wrapperStyle = this.wrapperDOM.style;
40338
+
40339
+ if (!wrapperStyle) {
40340
+ return;
40341
+ }
40342
+
40343
+ var legendStyle;
40344
+ var boxStyle;
40345
+ var containerStyle;
40346
+ var chartRect;
40347
+
40348
+ switch (position) {
40349
+ case 'top':
40350
+ wrapperStyle.padding = "".concat(positionTop, "px 0 0 0");
40351
+ chartRect = this.chartDOM.getBoundingClientRect();
40352
+ boxStyle = "padding:".concat(handleSize + 7, "px ").concat(right, "px ").concat(bottom, "px ").concat(left, "px;");
40353
+ boxStyle += 'width:100%';
40354
+ boxStyle += "height".concat(minHeight, "px;");
40355
+ legendStyle = "width:".concat(chartRect.width, "px;");
40356
+ legendStyle += "height:".concat(minHeight, "px;");
40357
+ legendStyle += "top:".concat(title, "px;");
40358
+ break;
40359
+
40360
+ case 'right':
40361
+ wrapperStyle.padding = "".concat(title, "px ").concat(minWidth, "px 0 0");
40362
+ chartRect = this.chartDOM.getBoundingClientRect();
40363
+ boxStyle = "padding:".concat(top, "px ").concat(right, "px ").concat(bottom, "px ").concat(left, "px;");
40364
+ boxStyle += "width:".concat(minWidth, "px;");
40365
+ boxStyle += 'height:100%;';
40366
+ boxStyle += "max-height:".concat(chartRect.height, "px;");
40367
+ legendStyle = "width:".concat(minWidth, "px;");
40368
+ legendStyle += "height:".concat(chartRect.height, "px;");
40369
+ legendStyle += "top:".concat(title, "px;right:0px;");
40370
+ break;
40371
+
40372
+ case 'bottom':
40373
+ wrapperStyle.padding = "".concat(title, "px 0 ").concat(minHeight, "px 0");
40374
+ chartRect = this.chartDOM.getBoundingClientRect();
40375
+ boxStyle = "padding:".concat(handleSize + 7, "px ").concat(right, "px ").concat(bottom, "px ").concat(left, "px;");
40376
+ boxStyle += 'width:100%;';
40377
+ boxStyle += "height:".concat(minHeight, "px;");
40378
+ legendStyle = "width:".concat(chartRect.width, "px;");
40379
+ legendStyle += "height:".concat(minHeight, "px;");
40380
+ legendStyle += 'bottom:0px;left:0px;';
40381
+ break;
40382
+
40383
+ case 'left':
40384
+ wrapperStyle.padding = "".concat(title, "px 0 0 ").concat(minWidth, "px");
40385
+ chartRect = this.chartDOM.getBoundingClientRect();
40386
+ boxStyle = "padding:".concat(top, "px ").concat(right, "px ").concat(bottom, "px ").concat(left, "px;");
40387
+ boxStyle += 'display:absolute;';
40388
+ boxStyle += 'bottom:0px;';
40389
+ boxStyle += "width:".concat(minWidth, "px;");
40390
+ boxStyle += 'height:100%;';
40391
+ boxStyle += "maxHeight:".concat(chartRect.height, "px;");
40392
+ legendStyle = "width:".concat(minWidth, "px;");
40393
+ legendStyle += "height:".concat(chartRect.height, "px;");
40394
+ legendStyle += "top:".concat(title, "px;left:0px");
40395
+ break;
40396
+
40397
+ default:
40398
+ break;
40399
+ }
40400
+
40401
+ if (['top', 'bottom'].includes(position)) {
40402
+ var containerSize = chartRect.width / 2;
40403
+ containerStyle = "left:".concat(chartRect.width / 2 - containerSize / 2, "px;");
40404
+ containerStyle += "width:".concat(containerSize, "px;");
40405
+ containerStyle += "height:".concat(handleSize, "px;");
40406
+ containerStyle += 'padding:4px 0;';
40407
+ containerStyle += 'margin:0 4px;';
40408
+ } else {
40409
+ var _containerSize = chartRect.height / 2;
40410
+
40411
+ containerStyle = "top:".concat(chartRect.height / 2 - _containerSize / 2, "px;");
40412
+ containerStyle += 'left:5px;';
40413
+ containerStyle += "width:".concat(handleSize, "px;");
40414
+ containerStyle += "height:".concat(_containerSize, "px;");
40415
+ containerStyle += 'padding:0 4px;';
40416
+ containerStyle += 'margin:4px 0;';
40417
+ }
40418
+
40419
+ this.containerDOM.style.cssText = containerStyle;
40420
+ this.legendBoxDOM.style.cssText = boxStyle;
40421
+ this.legendDOM.style.cssText = legendStyle;
40422
+ },
40423
+
40424
+ /**
40425
+ * Update legend components size
40426
+ *
40427
+ * @returns {undefined}
40428
+ */
40429
+ updateLegendContainerSize: function updateLegendContainerSize() {
40430
+ var series = Object.values(this.seriesList)[0];
40431
+ this.setLegendStyle(series);
40432
+ },
40433
+
40434
+ /**
40435
+ * Show legend components by manipulating css
40436
+ *
40437
+ * @returns {undefined}
40438
+ */
40439
+ showLegend: function showLegend() {
40440
+ if (this.resizeDOM) {
40441
+ this.resizeDOM.style.display = 'block';
40442
+ }
40443
+
40444
+ if (this.legendDOM) {
40445
+ this.legendDOM.style.display = 'block';
40446
+ }
40447
+ },
40448
+
40449
+ /**
40450
+ * Hide legend components by manipulating css
40451
+ *
40452
+ * @returns {undefined}
40453
+ */
40454
+ hideLegend: function hideLegend() {
40455
+ var _this$wrapperDOM, _this$legendDOM, _opt$title3, _opt$title4;
40456
+
40457
+ var opt = this.options;
40458
+ var wrapperStyle = (_this$wrapperDOM = this.wrapperDOM) === null || _this$wrapperDOM === void 0 ? void 0 : _this$wrapperDOM.style;
40459
+ var legendStyle = (_this$legendDOM = this.legendDOM) === null || _this$legendDOM === void 0 ? void 0 : _this$legendDOM.style;
40460
+ var title = opt !== null && opt !== void 0 && (_opt$title3 = opt.title) !== null && _opt$title3 !== void 0 && _opt$title3.show ? opt === null || opt === void 0 ? void 0 : (_opt$title4 = opt.title) === null || _opt$title4 === void 0 ? void 0 : _opt$title4.height : 0;
40461
+
40462
+ if (!legendStyle || !wrapperStyle) {
40463
+ return;
40464
+ }
40465
+
40466
+ legendStyle.display = 'none';
40467
+ legendStyle.width = '0';
40468
+ legendStyle.height = '0';
40469
+ wrapperStyle.padding = "".concat(title, "px 0 0 0");
40470
+ }
40471
+ };
40472
+ /* harmony default export */ var plugins_legend_gradient = (plugins_legend_gradient_modules);
39702
40473
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.from-entries.js
39703
40474
  var es_object_from_entries = __webpack_require__("c1f9");
39704
40475
 
@@ -40524,6 +41295,7 @@ var plugins_interaction_modules = {
40524
41295
 
40525
41296
 
40526
41297
 
41298
+
40527
41299
  var TITLE_HEIGHT = 30;
40528
41300
  var TEXT_HEIGHT = 14;
40529
41301
  var LINE_SPACING = 8;
@@ -40678,6 +41450,8 @@ var plugins_tooltip_modules = {
40678
41450
  * @returns {undefined}
40679
41451
  */
40680
41452
  drawTooltip: function drawTooltip(hitInfo, context) {
41453
+ var _opt$formatter, _opt$formatter2;
41454
+
40681
41455
  var ctx = context;
40682
41456
  var items = hitInfo.items;
40683
41457
  var sId = hitInfo.hitId;
@@ -40695,10 +41469,19 @@ var plugins_tooltip_modules = {
40695
41469
  l: 16
40696
41470
  };
40697
41471
  var isHorizontal = this.options.horizontal;
40698
- var opt = this.options.tooltip; // draw tooltip Title(axis label) and add style class for wrap line about too much long label.
41472
+ var opt = this.options.tooltip;
41473
+ var valueFormatter = typeof opt.formatter === 'function' ? opt.formatter : (_opt$formatter = opt.formatter) === null || _opt$formatter === void 0 ? void 0 : _opt$formatter.value;
41474
+ var titleFormatter = (_opt$formatter2 = opt.formatter) === null || _opt$formatter2 === void 0 ? void 0 : _opt$formatter2.title; // draw tooltip Title(axis label) and add style class for wrap line about too much long label.
40699
41475
 
40700
41476
  if (this.axesX.length && this.axesY.length) {
40701
- this.tooltipHeaderDOM.textContent = this.options.horizontal ? this.axesY[hitAxis.y].getLabelFormat(hitItem.y) : this.axesX[hitAxis.x].getLabelFormat(hitItem.x);
41477
+ if (titleFormatter) {
41478
+ this.tooltipHeaderDOM.textContent = titleFormatter({
41479
+ x: hitItem.x,
41480
+ y: hitItem.y
41481
+ });
41482
+ } else {
41483
+ this.tooltipHeaderDOM.textContent = this.options.horizontal ? this.axesY[hitAxis.y].getLabelFormat(hitItem.y) : this.axesX[hitAxis.x].getLabelFormat(hitItem.x);
41484
+ }
40702
41485
  }
40703
41486
 
40704
41487
  if (opt.textOverflow) {
@@ -40819,14 +41602,14 @@ var plugins_tooltip_modules = {
40819
41602
 
40820
41603
  var formattedTxt = void 0;
40821
41604
 
40822
- if (opt.formatter) {
41605
+ if (valueFormatter) {
40823
41606
  if (this.options.type === 'pie') {
40824
- formattedTxt = opt.formatter({
41607
+ formattedTxt = valueFormatter({
40825
41608
  value: value,
40826
41609
  name: name
40827
41610
  });
40828
41611
  } else {
40829
- formattedTxt = opt.formatter({
41612
+ formattedTxt = valueFormatter({
40830
41613
  x: this.options.horizontal ? value : hitItem.x,
40831
41614
  y: this.options.horizontal ? hitItem.y : value,
40832
41615
  name: name
@@ -40834,7 +41617,7 @@ var plugins_tooltip_modules = {
40834
41617
  }
40835
41618
  }
40836
41619
 
40837
- if (!opt.formatter || typeof formattedTxt !== 'string') {
41620
+ if (!valueFormatter || typeof formattedTxt !== 'string') {
40838
41621
  formattedTxt = numberWithComma(value);
40839
41622
  }
40840
41623
 
@@ -40859,7 +41642,7 @@ var plugins_tooltip_modules = {
40859
41642
  * @returns {undefined}
40860
41643
  */
40861
41644
  drawToolTipForHeatMap: function drawToolTipForHeatMap(hitInfo, context) {
40862
- var _colorAxis$find;
41645
+ var _opt$formatter3, _opt$formatter4;
40863
41646
 
40864
41647
  var ctx = context;
40865
41648
  var items = hitInfo.items;
@@ -40875,23 +41658,46 @@ var plugins_tooltip_modules = {
40875
41658
  };
40876
41659
  var isHorizontal = this.options.horizontal;
40877
41660
  var opt = this.options.tooltip;
40878
- var colorAxis = Object.values(this.seriesList)[0].colorAxis;
40879
- var isShow = (_colorAxis$find = colorAxis.find(function (_ref) {
40880
- var id = _ref.id;
40881
- return id === hitItem.cId;
40882
- })) === null || _colorAxis$find === void 0 ? void 0 : _colorAxis$find.show;
41661
+ var valueFormatter = typeof opt.formatter === 'function' ? opt.formatter : (_opt$formatter3 = opt.formatter) === null || _opt$formatter3 === void 0 ? void 0 : _opt$formatter3.value;
41662
+ var titleFormatter = (_opt$formatter4 = opt.formatter) === null || _opt$formatter4 === void 0 ? void 0 : _opt$formatter4.title;
41663
+ var series = Object.values(this.seriesList)[0];
41664
+ var isShow = false;
41665
+ var colorState = series.colorState,
41666
+ isGradient = series.isGradient;
41667
+
41668
+ if (isGradient) {
41669
+ var _series$valueOpt = series.valueOpt,
41670
+ min = _series$valueOpt.min,
41671
+ max = _series$valueOpt.max;
41672
+ var ratio = convertToPercent(hitItem.o - min, max - min);
41673
+ var _colorState$ = colorState[0],
41674
+ start = _colorState$.start,
41675
+ end = _colorState$.end;
41676
+ isShow = start <= ratio && ratio <= end || hitItem.o === -1;
41677
+ } else {
41678
+ var _colorState$find;
41679
+
41680
+ isShow = (_colorState$find = colorState.find(function (_ref) {
41681
+ var id = _ref.id;
41682
+ return id === hitItem.cId;
41683
+ })) === null || _colorState$find === void 0 ? void 0 : _colorState$find.show;
41684
+ }
40883
41685
 
40884
41686
  if (!isShow) {
40885
41687
  this.tooltipClear();
40886
41688
  return;
40887
- }
41689
+ } // draw tooltip Title(axis label) and add style class for wrap line about too much long label.
40888
41690
 
40889
- var xValue = '';
40890
- var yValue = ''; // draw tooltip Title(axis label) and add style class for wrap line about too much long label.
40891
41691
 
40892
41692
  if (this.axesX.length) {
40893
- xValue = this.axesX[hitAxis.x].getLabelFormat(hitItem.x);
40894
- this.tooltipHeaderDOM.textContent = xValue;
41693
+ if (titleFormatter) {
41694
+ this.tooltipHeaderDOM.textContent = titleFormatter({
41695
+ x: hitItem.x,
41696
+ y: hitItem.y
41697
+ });
41698
+ } else {
41699
+ this.tooltipHeaderDOM.textContent = this.axesX[hitAxis.x].getLabelFormat(hitItem.x);
41700
+ }
40895
41701
  }
40896
41702
 
40897
41703
  if (opt.textOverflow) {
@@ -40930,22 +41736,21 @@ var plugins_tooltip_modules = {
40930
41736
  ctx.textBaseline = 'Bottom';
40931
41737
 
40932
41738
  if (this.axesY.length) {
40933
- yValue = this.axesY[hitAxis.y].getLabelFormat(hitItem.y);
40934
- ctx.fillText(yValue, itemX + COLOR_MARGIN, itemY);
41739
+ ctx.fillText(this.axesY[hitAxis.y].getLabelFormat(hitItem.y), itemX + COLOR_MARGIN, itemY);
40935
41740
  } // 3. Draw value
40936
41741
 
40937
41742
 
40938
41743
  var formattedTxt = itemValue;
40939
41744
 
40940
- if (opt.formatter) {
40941
- formattedTxt = opt.formatter({
40942
- x: xValue,
40943
- y: yValue,
41745
+ if (valueFormatter) {
41746
+ formattedTxt = valueFormatter({
41747
+ x: hitItem.x,
41748
+ y: hitItem.y,
40944
41749
  value: itemValue
40945
41750
  });
40946
41751
  }
40947
41752
 
40948
- if ((!opt.formatter || typeof formattedTxt !== 'string') && itemValue !== 'error') {
41753
+ if ((!valueFormatter || typeof formattedTxt !== 'string') && itemValue !== 'error') {
40949
41754
  formattedTxt = numberWithComma(itemValue);
40950
41755
  }
40951
41756
 
@@ -41019,6 +41824,8 @@ var plugins_tooltip_modules = {
41019
41824
  var textLineCnt = 1;
41020
41825
 
41021
41826
  for (var ix = 0; ix < seriesList.length; ix++) {
41827
+ var _opt$formatter5;
41828
+
41022
41829
  var gdata = seriesList[ix].data;
41023
41830
  var color = seriesList[ix].color;
41024
41831
  var name = seriesList[ix].name;
@@ -41089,16 +41896,17 @@ var plugins_tooltip_modules = {
41089
41896
  ctx.save(); // 3. Draw value
41090
41897
 
41091
41898
  var formattedTxt = void 0;
41899
+ var formatter = typeof opt.formatter === 'function' ? opt.formatter : (_opt$formatter5 = opt.formatter) === null || _opt$formatter5 === void 0 ? void 0 : _opt$formatter5.value;
41092
41900
 
41093
- if (opt.formatter) {
41094
- formattedTxt = opt.formatter({
41901
+ if (formatter) {
41902
+ formattedTxt = formatter({
41095
41903
  x: xValue,
41096
41904
  y: yValue,
41097
41905
  name: name
41098
41906
  });
41099
41907
  }
41100
41908
 
41101
- if (!opt.formatter || typeof formattedTxt !== 'string') {
41909
+ if (!formatter || typeof formattedTxt !== 'string') {
41102
41910
  var formattedXValue = xAxisOpt.type === 'time' ? dayjs_min_default()(xValue).format(xAxisOpt.timeFormat) : numberWithComma(xValue);
41103
41911
  var formattedYValue = numberWithComma(yValue);
41104
41912
  formattedTxt = "".concat(formattedXValue, ", ").concat(formattedYValue);
@@ -42128,6 +42936,7 @@ var element_tip_modules = {
42128
42936
 
42129
42937
 
42130
42938
 
42939
+
42131
42940
 
42132
42941
 
42133
42942
  var chart_core_EvChart = /*#__PURE__*/function () {
@@ -42145,6 +42954,11 @@ var chart_core_EvChart = /*#__PURE__*/function () {
42145
42954
  Object.assign(this, plugins_tooltip);
42146
42955
  Object.assign(this, plugins_pie);
42147
42956
  Object.assign(this, element_tip);
42957
+
42958
+ if (options.type === 'heatMap' && options.legend.type === 'gradient') {
42959
+ Object.assign(this, plugins_legend_gradient);
42960
+ }
42961
+
42148
42962
  this.target = target;
42149
42963
  this.data = data;
42150
42964
  this.options = options;
@@ -42317,7 +43131,8 @@ var chart_core_EvChart = /*#__PURE__*/function () {
42317
43131
  selectSeries: {
42318
43132
  option: selectSeries,
42319
43133
  selected: this.defaultSelectInfo
42320
- }
43134
+ },
43135
+ overlayCtx: this.overlayCtx
42321
43136
  };
42322
43137
  var showIndex = 0;
42323
43138
  var showSeriesCount = 0;
@@ -42641,19 +43456,39 @@ var chart_core_EvChart = /*#__PURE__*/function () {
42641
43456
  }, {
42642
43457
  key: "getChartRect",
42643
43458
  value: function getChartRect() {
43459
+ var _this$options$axesX, _this$options$axesX$, _this$options$axesY, _this$options$axesY$;
43460
+
42644
43461
  var _this$getChartDOMRect = this.getChartDOMRect(),
42645
43462
  width = _this$getChartDOMRect.width,
42646
43463
  height = _this$getChartDOMRect.height;
42647
43464
 
42648
43465
  var padding = this.options.padding;
43466
+ var xAxisTitleOpt = (_this$options$axesX = this.options.axesX) === null || _this$options$axesX === void 0 ? void 0 : (_this$options$axesX$ = _this$options$axesX[0]) === null || _this$options$axesX$ === void 0 ? void 0 : _this$options$axesX$.title;
43467
+ var yAxisTitleOpt = (_this$options$axesY = this.options.axesY) === null || _this$options$axesY === void 0 ? void 0 : (_this$options$axesY$ = _this$options$axesY[0]) === null || _this$options$axesY$ === void 0 ? void 0 : _this$options$axesY$.title;
43468
+ var titleMargin = 10;
43469
+ var xAxisTitleHeight = 0;
43470
+
43471
+ if (xAxisTitleOpt !== null && xAxisTitleOpt !== void 0 && xAxisTitleOpt.use && xAxisTitleOpt !== null && xAxisTitleOpt !== void 0 && xAxisTitleOpt.text) {
43472
+ var fontSize = isNaN(xAxisTitleOpt === null || xAxisTitleOpt === void 0 ? void 0 : xAxisTitleOpt.fontSize) ? 12 : xAxisTitleOpt === null || xAxisTitleOpt === void 0 ? void 0 : xAxisTitleOpt.fontSize;
43473
+ xAxisTitleHeight = fontSize + titleMargin;
43474
+ }
43475
+
43476
+ var yAxisTitleHeight = 0;
43477
+
43478
+ if (yAxisTitleOpt !== null && yAxisTitleOpt !== void 0 && yAxisTitleOpt.use && yAxisTitleOpt !== null && yAxisTitleOpt !== void 0 && yAxisTitleOpt.text) {
43479
+ var _fontSize = isNaN(yAxisTitleOpt === null || yAxisTitleOpt === void 0 ? void 0 : yAxisTitleOpt.fontSize) ? 12 : yAxisTitleOpt === null || yAxisTitleOpt === void 0 ? void 0 : yAxisTitleOpt.fontSize;
43480
+
43481
+ yAxisTitleHeight = _fontSize + titleMargin;
43482
+ }
43483
+
42649
43484
  var horizontalPadding = padding.left + padding.right;
42650
- var verticalPadding = padding.top + padding.bottom;
43485
+ var verticalPadding = padding.top + padding.bottom + xAxisTitleHeight + yAxisTitleHeight;
42651
43486
  var chartWidth = width > horizontalPadding ? width - horizontalPadding : width;
42652
43487
  var chartHeight = height > verticalPadding ? height - verticalPadding : height;
42653
43488
  var x1 = padding.left;
42654
43489
  var x2 = Math.max(width - padding.right, x1 + 2);
42655
- var y1 = padding.top;
42656
- var y2 = Math.max(height - padding.bottom, y1 + 2);
43490
+ var y1 = padding.top + yAxisTitleHeight;
43491
+ var y2 = Math.max(height - padding.bottom - xAxisTitleHeight, y1 + 2);
42657
43492
  return {
42658
43493
  x1: x1,
42659
43494
  x2: x2,
@@ -43077,6 +43912,7 @@ var DEFAULT_OPTIONS = {
43077
43912
  },
43078
43913
  legend: {
43079
43914
  show: true,
43915
+ type: 'icon',
43080
43916
  position: 'right',
43081
43917
  color: '#353740',
43082
43918
  inactive: '#aaa',
@@ -43164,12 +44000,13 @@ var DEFAULT_OPTIONS = {
43164
44000
  heatMapColor: {
43165
44001
  min: '#FFFFFF',
43166
44002
  max: '#0052FF',
43167
- categoryCnt: 5,
44003
+ categoryCnt: 1,
43168
44004
  stroke: {
43169
44005
  show: false,
43170
44006
  color: '#FFFFFF',
43171
44007
  lineWidth: 1,
43172
- opacity: 1
44008
+ opacity: 1,
44009
+ radius: 0
43173
44010
  },
43174
44011
  error: '#FF0000',
43175
44012
  decimalPoint: 0
@@ -43578,32 +44415,32 @@ Chart.install = function (app) {
43578
44415
  };
43579
44416
 
43580
44417
  /* harmony default export */ var chart = (Chart);
43581
- // 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.vue?vue&type=template&id=1aab6f12&scoped=true
44418
+ // 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.vue?vue&type=template&id=89cff218&scoped=true
43582
44419
 
43583
44420
 
43584
- var TreeGridvue_type_template_id_1aab6f12_scoped_true_withId = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withScopeId"])("data-v-1aab6f12");
44421
+ var TreeGridvue_type_template_id_89cff218_scoped_true_withId = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withScopeId"])("data-v-89cff218");
43585
44422
 
43586
- Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-1aab6f12");
44423
+ Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-89cff218");
43587
44424
 
43588
- var TreeGridvue_type_template_id_1aab6f12_scoped_true_hoisted_1 = {
44425
+ var TreeGridvue_type_template_id_89cff218_scoped_true_hoisted_1 = {
43589
44426
  class: "column-list"
43590
44427
  };
43591
- var TreeGridvue_type_template_id_1aab6f12_scoped_true_hoisted_2 = {
44428
+ var TreeGridvue_type_template_id_89cff218_scoped_true_hoisted_2 = {
43592
44429
  key: 0
43593
44430
  };
43594
44431
 
43595
- var TreeGridvue_type_template_id_1aab6f12_scoped_true_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("td", {
44432
+ var TreeGridvue_type_template_id_89cff218_scoped_true_hoisted_3 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("td", {
43596
44433
  class: "is-empty"
43597
44434
  }, "No records", -1);
43598
44435
 
43599
- var TreeGridvue_type_template_id_1aab6f12_scoped_true_hoisted_4 = {
44436
+ var TreeGridvue_type_template_id_89cff218_scoped_true_hoisted_4 = {
43600
44437
  ref: "resizeLine",
43601
44438
  class: "table-resize-line"
43602
44439
  };
43603
44440
 
43604
44441
  Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])();
43605
44442
 
43606
- var TreeGridvue_type_template_id_1aab6f12_scoped_true_render = /*#__PURE__*/TreeGridvue_type_template_id_1aab6f12_scoped_true_withId(function (_ctx, _cache, $props, $setup, $data, $options) {
44443
+ var TreeGridvue_type_template_id_89cff218_scoped_true_render = /*#__PURE__*/TreeGridvue_type_template_id_89cff218_scoped_true_withId(function (_ctx, _cache, $props, $setup, $data, $options) {
43607
44444
  var _component_toolbar = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("toolbar");
43608
44445
 
43609
44446
  var _component_ev_checkbox = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-checkbox");
@@ -43625,7 +44462,7 @@ var TreeGridvue_type_template_id_1aab6f12_scoped_true_render = /*#__PURE__*/Tree
43625
44462
  class: "toolbar-wrapper",
43626
44463
  style: "width: ".concat(_ctx.gridWidth, ";")
43627
44464
  }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_toolbar, null, {
43628
- toolbarWrapper: TreeGridvue_type_template_id_1aab6f12_scoped_true_withId(function () {
44465
+ toolbarWrapper: TreeGridvue_type_template_id_89cff218_scoped_true_withId(function () {
43629
44466
  return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "toolbar", {
43630
44467
  item: {
43631
44468
  onSearch: $setup.onSearch
@@ -43642,7 +44479,7 @@ var TreeGridvue_type_template_id_1aab6f12_scoped_true_render = /*#__PURE__*/Tree
43642
44479
  }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
43643
44480
  ref: "header",
43644
44481
  class: $setup.headerClass
43645
- }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("ul", TreeGridvue_type_template_id_1aab6f12_scoped_true_hoisted_1, [_ctx.useCheckbox.use ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("li", {
44482
+ }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("ul", TreeGridvue_type_template_id_89cff218_scoped_true_hoisted_1, [_ctx.useCheckbox.use ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("li", {
43646
44483
  key: 0,
43647
44484
  class: $setup.headerCheckboxClass,
43648
44485
  style: "width: ".concat(_ctx.minWidth, "px;")
@@ -43711,7 +44548,7 @@ var TreeGridvue_type_template_id_1aab6f12_scoped_true_render = /*#__PURE__*/Tree
43711
44548
  }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.orderedColumns, function (column, cellIndex) {
43712
44549
  return {
43713
44550
  name: $setup.getSlotName(column.field),
43714
- fn: TreeGridvue_type_template_id_1aab6f12_scoped_true_withId(function (_ref) {
44551
+ fn: TreeGridvue_type_template_id_89cff218_scoped_true_withId(function (_ref) {
43715
44552
  var item = _ref.item;
43716
44553
  return [!!_ctx.$slots[column.field] ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, column.field, {
43717
44554
  key: 0,
@@ -43726,13 +44563,13 @@ var TreeGridvue_type_template_id_1aab6f12_scoped_true_render = /*#__PURE__*/Tree
43726
44563
  })
43727
44564
  };
43728
44565
  })]), 1032, ["selected-data", "node-data", "use-checkbox", "ordered-columns", "expand-icon", "collapse-icon", "parent-icon", "child-icon", "is-resize", "row-height", "min-width", "highlight-index", "border-style", "onCheckTreeData", "onExpandTreeData", "onClickTreeData", "onDblClickTreeData"]);
43729
- }), 128)), !_ctx.viewStore.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("tr", TreeGridvue_type_template_id_1aab6f12_scoped_true_hoisted_2, [TreeGridvue_type_template_id_1aab6f12_scoped_true_hoisted_3])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
44566
+ }), 128)), !_ctx.viewStore.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("tr", TreeGridvue_type_template_id_89cff218_scoped_true_hoisted_2, [TreeGridvue_type_template_id_89cff218_scoped_true_hoisted_3])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
43730
44567
  style: "height: ".concat(_ctx.vScrollBottomHeight, "px;"),
43731
44568
  class: "vscroll-spacer"
43732
44569
  }, null, 4), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ev_context_menu, {
43733
44570
  ref: "menu",
43734
44571
  items: _ctx.contextMenuItems
43735
- }, null, 8, ["items"])], 34), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", TreeGridvue_type_template_id_1aab6f12_scoped_true_hoisted_4, null, 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.showResizeLine]])], 2)], 4), [[_directive_resize, $setup.onResize], [_directive_observe_visibility, {
44572
+ }, null, 8, ["items"])], 34), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", TreeGridvue_type_template_id_89cff218_scoped_true_hoisted_4, null, 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.showResizeLine]])], 2)], 4), [[_directive_resize, $setup.onResize], [_directive_observe_visibility, {
43736
44573
  callback: $setup.onShow,
43737
44574
  once: true
43738
44575
  }]]), $setup.useSummary ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_grid_summary, {
@@ -43760,7 +44597,7 @@ var TreeGridvue_type_template_id_1aab6f12_scoped_true_render = /*#__PURE__*/Tree
43760
44597
  order: _ctx.order
43761
44598
  }, null, 8, ["modelValue", "total", "per-page", "visible-page", "show-page-info", "order"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64);
43762
44599
  });
43763
- // CONCATENATED MODULE: ./src/components/treeGrid/TreeGrid.vue?vue&type=template&id=1aab6f12&scoped=true
44600
+ // CONCATENATED MODULE: ./src/components/treeGrid/TreeGrid.vue?vue&type=template&id=89cff218&scoped=true
43764
44601
 
43765
44602
  // 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
43766
44603
 
@@ -45638,6 +46475,7 @@ var treeGrid_uses_pagingEvent = function pagingEvent(params) {
45638
46475
 
45639
46476
  setParentShow = function setParentShow(data) {
45640
46477
  if (!(data !== null && data !== void 0 && data.parent)) {
46478
+ setChildShow(data);
45641
46479
  return;
45642
46480
  }
45643
46481
 
@@ -45898,8 +46736,8 @@ var treeGrid_uses_pagingEvent = function pagingEvent(params) {
45898
46736
  });
45899
46737
  // CONCATENATED MODULE: ./src/components/treeGrid/TreeGrid.vue?vue&type=script&lang=js
45900
46738
 
45901
- // EXTERNAL MODULE: ./src/components/treeGrid/TreeGrid.vue?vue&type=style&index=0&id=1aab6f12&lang=scss&scoped=true
45902
- var TreeGridvue_type_style_index_0_id_1aab6f12_lang_scss_scoped_true = __webpack_require__("af65");
46739
+ // EXTERNAL MODULE: ./src/components/treeGrid/TreeGrid.vue?vue&type=style&index=0&id=89cff218&lang=scss&scoped=true
46740
+ var TreeGridvue_type_style_index_0_id_89cff218_lang_scss_scoped_true = __webpack_require__("ca6f");
45903
46741
 
45904
46742
  // CONCATENATED MODULE: ./src/components/treeGrid/TreeGrid.vue
45905
46743
 
@@ -45907,8 +46745,8 @@ var TreeGridvue_type_style_index_0_id_1aab6f12_lang_scss_scoped_true = __webpack
45907
46745
 
45908
46746
 
45909
46747
 
45910
- TreeGridvue_type_script_lang_js.render = TreeGridvue_type_template_id_1aab6f12_scoped_true_render
45911
- TreeGridvue_type_script_lang_js.__scopeId = "data-v-1aab6f12"
46748
+ TreeGridvue_type_script_lang_js.render = TreeGridvue_type_template_id_89cff218_scoped_true_render
46749
+ TreeGridvue_type_script_lang_js.__scopeId = "data-v-89cff218"
45912
46750
 
45913
46751
  /* harmony default export */ var TreeGrid = (TreeGridvue_type_script_lang_js);
45914
46752
  // CONCATENATED MODULE: ./src/components/treeGrid/index.js