evui 3.3.31 → 3.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/evui.common.js +582 -169
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +582 -169
- package/dist/evui.umd.js.map +1 -1
- package/dist/evui.umd.min.js +1 -1
- package/dist/evui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/calendar/uses.js +6 -11
- package/src/components/chart/Chart.vue +4 -0
- package/src/components/chart/chart.core.js +9 -1
- package/src/components/chart/element/element.bar.js +1 -1
- package/src/components/chart/element/element.bar.time.js +6 -3
- package/src/components/chart/helpers/helpers.util.js +10 -0
- package/src/components/chart/model/model.store.js +25 -0
- package/src/components/chart/plugins/plugins.legend.js +357 -57
- package/src/components/chart/plugins/plugins.pie.js +8 -0
- package/src/components/chart/style/chart.scss +73 -5
- package/src/components/chart/uses.js +28 -0
- package/src/components/grid/style/grid.scss +0 -1
- package/src/components/grid/uses.js +1 -1
- package/src/components/treeGrid/style/treeGrid.scss +0 -1
package/dist/evui.common.js
CHANGED
|
@@ -4880,17 +4880,6 @@ function stubFalse() {
|
|
|
4880
4880
|
/* unused harmony reexport * */
|
|
4881
4881
|
|
|
4882
4882
|
|
|
4883
|
-
/***/ }),
|
|
4884
|
-
|
|
4885
|
-
/***/ "2fe8":
|
|
4886
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4887
|
-
|
|
4888
|
-
"use strict";
|
|
4889
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_df219c50_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3d53");
|
|
4890
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_df219c50_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_df219c50_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
4891
|
-
/* unused harmony reexport * */
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
4883
|
/***/ }),
|
|
4895
4884
|
|
|
4896
4885
|
/***/ "3229":
|
|
@@ -5086,21 +5075,6 @@ defineIterator(String, 'String', function (iterated) {
|
|
|
5086
5075
|
});
|
|
5087
5076
|
|
|
5088
5077
|
|
|
5089
|
-
/***/ }),
|
|
5090
|
-
|
|
5091
|
-
/***/ "3d53":
|
|
5092
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5093
|
-
|
|
5094
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
5095
|
-
|
|
5096
|
-
// load the styles
|
|
5097
|
-
var content = __webpack_require__("69fc");
|
|
5098
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
5099
|
-
if(content.locals) module.exports = content.locals;
|
|
5100
|
-
// add the styles to the DOM
|
|
5101
|
-
var add = __webpack_require__("499e").default
|
|
5102
|
-
var update = add("6a7aacee", content, true, {"sourceMap":false,"shadowMode":false});
|
|
5103
|
-
|
|
5104
5078
|
/***/ }),
|
|
5105
5079
|
|
|
5106
5080
|
/***/ "3f8c":
|
|
@@ -5140,6 +5114,20 @@ module.exports = function (value) {
|
|
|
5140
5114
|
};
|
|
5141
5115
|
|
|
5142
5116
|
|
|
5117
|
+
/***/ }),
|
|
5118
|
+
|
|
5119
|
+
/***/ "40dc":
|
|
5120
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5121
|
+
|
|
5122
|
+
// Imports
|
|
5123
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
5124
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
5125
|
+
// Module
|
|
5126
|
+
exports.push([module.i, ".ev-chart-wrapper{display:block}.ev-chart-container,.ev-chart-wrapper{position:relative;width:100%;height:100%}.ev-chart-container{overflow:hidden}.ev-chart-title{top:0;left:0;width:100%;padding-left:10px;word-wrap:normal;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ev-chart-legend,.ev-chart-title{position:absolute;overflow:hidden}.ev-chart-legend{padding:5px 0 0 0}.ev-chart-legend-container{position:relative}.ev-chart-legend-color,.ev-chart-legend-color--point-line{position:absolute;top:50%;left:0;transform:translateY(-50%);width:18px;height:4px}.ev-chart-legend-color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend-name{position:absolute;top:50%;left:0;width:100%;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:12px;margin-left:24px;padding-right:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:400;transform:translateY(-50%)}.ev-chart-legend-name:hover{font-weight:700}.ev-chart-legend-value{float:right;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ev-chart-legend--table{width:100%;font-size:12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-collapse:collapse}.ev-chart-legend--table td,.ev-chart-legend--table th{padding:3px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ev-chart-legend--table__row{cursor:pointer;min-height:18px}.ev-chart-legend--table__row:hover{font-weight:700}.ev-chart-legend--table__color{width:18px}.ev-chart-legend--table__color-wrapper{position:relative;min-width:18px}.ev-chart-legend--table__color--line{height:4px}.ev-chart-legend--table__color--point-line{position:absolute;top:50%;left:3px;transform:translateY(-50%);height:4px}.ev-chart-legend--table__color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend--table__name,.ev-chart-legend--table__value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ev-chart-legend-line{position:relative;width:100%;height:100%;border-radius:10px;background-color:#e3e3e3}.ev-chart-legend-line-layer,.ev-chart-legend-thumb{position:absolute;top:0;left:0;width:100%;height:100%}.ev-chart-legend-thumb{border-radius:10px;color:#000}.ev-chart-legend-handle{position:absolute;top:0;left:0;cursor:pointer}.ev-chart-legend-handle.dragging,.ev-chart-legend-handle:hover{transform:scale(1.2)}.ev-chart-legend-handle-btn{width:100%;height:100%;border-radius:50%;background-color:#fff;transition:transform .1s ease-in-out;box-sizing:border-box;border:2px solid #979797}.ev-chart-legend-handle-btn-color{position:absolute;top:4px;left:4px;width:calc(100% - 8px);height:calc(100% - 8px);border-radius:50%}.ev-chart-legend-label{position:absolute;font-size:12px;line-height:1.4em}.ev-chart-legend-label-text{display:block;white-space:nowrap}.ev-chart-legend-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.ev-chart-legend-overlay .ev-chart-legend-overlay-item{position:absolute;top:1px;left:1px;border-radius:50%;border:1px solid #fff;background-color:transparent}.ev-chart-legend-overlay .ev-chart-legend-overlay-tooltip{position:absolute;font-size:12px;line-height:1.4em}.ev-chart-resize-bar{position:absolute;background:transparent;opacity:.5;z-index:10}.ev-chart-resize-bar:hover,.ev-chart-resize-ghost{background-color:#e2e2e2}.ev-chart-resize-ghost{position:absolute;width:4px;height:100%;cursor:col-resize;opacity:.5}.ev-chart-resize-ghost.horizontal{width:100%;height:4px;cursor:row-resize}.ev-chart-tooltip{position:absolute;z-index:850;top:0;left:0;overflow-y:hidden;overflow-x:hidden;border-radius:8px}.ev-chart-tooltip .ev-chart-tooltip-header{padding:8px 16px 0 16px;overflow:hidden;font-size:16px}.ev-chart-tooltip .ev-chart-tooltip-header--wrap{word-wrap:break-word}.ev-chart-tooltip .ev-chart-tooltip-header--ellipsis{text-overflow:ellipsis;white-space:nowrap}.ev-chart-tooltip .ev-chart-tooltip-body{overflow-x:hidden;overflow-y:hidden}", ""]);
|
|
5127
|
+
// Exports
|
|
5128
|
+
module.exports = exports;
|
|
5129
|
+
|
|
5130
|
+
|
|
5143
5131
|
/***/ }),
|
|
5144
5132
|
|
|
5145
5133
|
/***/ "4160":
|
|
@@ -5345,6 +5333,17 @@ module.exports = function (O, defaultConstructor) {
|
|
|
5345
5333
|
};
|
|
5346
5334
|
|
|
5347
5335
|
|
|
5336
|
+
/***/ }),
|
|
5337
|
+
|
|
5338
|
+
/***/ "488e":
|
|
5339
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5340
|
+
|
|
5341
|
+
"use strict";
|
|
5342
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_1fece3ae_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("84b2");
|
|
5343
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_1fece3ae_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Chart_vue_vue_type_style_index_0_id_1fece3ae_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
5344
|
+
/* unused harmony reexport * */
|
|
5345
|
+
|
|
5346
|
+
|
|
5348
5347
|
/***/ }),
|
|
5349
5348
|
|
|
5350
5349
|
/***/ "4930":
|
|
@@ -6879,20 +6878,6 @@ module.exports = {
|
|
|
6879
6878
|
};
|
|
6880
6879
|
|
|
6881
6880
|
|
|
6882
|
-
/***/ }),
|
|
6883
|
-
|
|
6884
|
-
/***/ "69fc":
|
|
6885
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6886
|
-
|
|
6887
|
-
// Imports
|
|
6888
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
6889
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
6890
|
-
// Module
|
|
6891
|
-
exports.push([module.i, ".ev-chart-wrapper{display:block}.ev-chart-container,.ev-chart-wrapper{position:relative;width:100%;height:100%}.ev-chart-container{overflow:hidden}.ev-chart-title{top:0;left:0;width:100%;padding-left:10px;word-wrap:normal;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ev-chart-legend,.ev-chart-title{position:absolute;overflow:hidden}.ev-chart-legend-box{overflow-x:hidden;overflow-y:auto}.ev-chart-legend-container{position:relative}.ev-chart-legend-color,.ev-chart-legend-color--point-line{position:absolute;top:50%;left:0;transform:translateY(-50%);width:18px;height:4px}.ev-chart-legend-color--point-line:after{display:inline-block;position:absolute;top:-2px;left:5px;width:8px;height:8px;content:\" \";border-radius:50%;background-color:inherit}.ev-chart-legend-name{position:absolute;top:50%;left:0;width:100%;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:12px;margin-left:24px;padding-right:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:400;transform:translateY(-50%)}.ev-chart-legend-name:hover{font-weight:700}.ev-chart-legend-value{float:right;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ev-chart-legend-line{position:relative;width:100%;height:100%;border-radius:10px;background-color:#e3e3e3}.ev-chart-legend-line-layer,.ev-chart-legend-thumb{position:absolute;top:0;left:0;width:100%;height:100%}.ev-chart-legend-thumb{border-radius:10px;color:#000}.ev-chart-legend-handle{position:absolute;top:0;left:0;cursor:pointer}.ev-chart-legend-handle.dragging,.ev-chart-legend-handle:hover{transform:scale(1.2)}.ev-chart-legend-handle-btn{width:100%;height:100%;border-radius:50%;background-color:#fff;transition:transform .1s ease-in-out;box-sizing:border-box;border:2px solid #979797}.ev-chart-legend-handle-btn-color{position:absolute;top:4px;left:4px;width:calc(100% - 8px);height:calc(100% - 8px);border-radius:50%}.ev-chart-legend-label{position:absolute;font-size:12px;line-height:1.4em}.ev-chart-legend-label-text{display:block;white-space:nowrap}.ev-chart-legend-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.ev-chart-legend-overlay .ev-chart-legend-overlay-item{position:absolute;top:1px;left:1px;border-radius:50%;border:1px solid #fff;background-color:transparent}.ev-chart-legend-overlay .ev-chart-legend-overlay-tooltip{position:absolute;font-size:12px;line-height:1.4em}.ev-chart-resize-bar{position:absolute;background:transparent;opacity:.5;z-index:10}.ev-chart-resize-bar:hover,.ev-chart-resize-ghost{background-color:#e2e2e2}.ev-chart-resize-ghost{position:absolute;width:4px;height:100%;cursor:col-resize;opacity:.5}.ev-chart-resize-ghost.horizontal{width:100%;height:4px;cursor:row-resize}.ev-chart-tooltip{position:absolute;z-index:850;top:0;left:0;overflow-y:hidden;overflow-x:hidden;border-radius:8px}.ev-chart-tooltip .ev-chart-tooltip-header{padding:8px 16px 0 16px;overflow:hidden;font-size:16px}.ev-chart-tooltip .ev-chart-tooltip-header--wrap{word-wrap:break-word}.ev-chart-tooltip .ev-chart-tooltip-header--ellipsis{text-overflow:ellipsis;white-space:nowrap}.ev-chart-tooltip .ev-chart-tooltip-body{overflow-x:hidden;overflow-y:hidden}", ""]);
|
|
6892
|
-
// Exports
|
|
6893
|
-
module.exports = exports;
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
6881
|
/***/ }),
|
|
6897
6882
|
|
|
6898
6883
|
/***/ "6b0d":
|
|
@@ -7240,7 +7225,7 @@ var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_
|
|
|
7240
7225
|
var ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___);
|
|
7241
7226
|
var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_3___);
|
|
7242
7227
|
// Module
|
|
7243
|
-
exports.push([module.i, ".ev-grid[data-v-b1b073b2]{position:relative;width:100%;height:100%;padding-top:33px}.ev-grid--empty[data-v-b1b073b2]{overflow:auto}.ev-grid--empty .table-header[data-v-b1b073b2]{display:table}.ev-grid.non-header[data-v-b1b073b2]{padding-top:0}.ev-grid .table-header[data-v-b1b073b2]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-grid .table-header[data-v-b1b073b2]{border-top:2px solid;border-bottom:1px solid}.ev-grid .table-header.non-border[data-v-b1b073b2]{border-bottom:2px solid #7f7f7f!important}.column-list[data-v-b1b073b2]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-b1b073b2],.column-list[data-v-b1b073b2]{position:relative;height:100%}.column[data-v-b1b073b2]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-b1b073b2]{border-right:1px solid}.column[data-v-b1b073b2]:last-child{border-right:0
|
|
7228
|
+
exports.push([module.i, ".ev-grid[data-v-b1b073b2]{position:relative;width:100%;height:100%;padding-top:33px}.ev-grid--empty[data-v-b1b073b2]{overflow:auto}.ev-grid--empty .table-header[data-v-b1b073b2]{display:table}.ev-grid.non-header[data-v-b1b073b2]{padding-top:0}.ev-grid .table-header[data-v-b1b073b2]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-grid .table-header[data-v-b1b073b2]{border-top:2px solid;border-bottom:1px solid}.ev-grid .table-header.non-border[data-v-b1b073b2]{border-bottom:2px solid #7f7f7f!important}.column-list[data-v-b1b073b2]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-b1b073b2],.column-list[data-v-b1b073b2]{position:relative;height:100%}.column[data-v-b1b073b2]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-b1b073b2]{border-right:1px solid}.column[data-v-b1b073b2]:last-child{border-right:0}.column:last-child .column-resize[data-v-b1b073b2]{cursor:default!important}.column .sort-icon[data-v-b1b073b2]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-b1b073b2]{font-size:13px;color:#005cc8}.column-name[data-v-b1b073b2]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-b1b073b2]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-b1b073b2]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-b1b073b2]{display:block;cursor:pointer}.column-filter-status[data-v-b1b073b2]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-b1b073b2]{font-size:10px;vertical-align:top}.column-resize[data-v-b1b073b2]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-b1b073b2]:hover{cursor:col-resize}.table-body[data-v-b1b073b2]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-b1b073b2]{clear:both;border-spacing:0;border-collapse:collapse;width:inherit}.table-body.stripe tr[data-v-b1b073b2]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-b1b073b2]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-b1b073b2]{border-bottom:1px solid}.table-body .row[data-v-b1b073b2]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-b1b073b2]{border-bottom:1px solid}.table-body .row.selected[data-v-b1b073b2]{background:rgba(219,240,249,.6)!important;color:inherit!important;font-size:inherit!important}.dark .table-body .row.selected[data-v-b1b073b2]{background:!important;color:inherit!important;font-size:inherit!important}.table-body .row.highlight[data-v-b1b073b2]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-b1b073b2]{display:inline-block;padding:0 10px;text-align:center;max-width:100%;white-space:nowrap;text-overflow:ellipsis;border-right:1px solid #cfcfcf}.dark .table-body .cell[data-v-b1b073b2]{border-right:1px solid}.table-body .cell div[data-v-b1b073b2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-b1b073b2]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-b1b073b2]{overflow:initial}.table-body .cell.float[data-v-b1b073b2],.table-body .cell.number[data-v-b1b073b2]{text-align:right}.table-body .cell.string[data-v-b1b073b2],.table-body .cell.stringNumber[data-v-b1b073b2]{text-align:left}.table-body .cell.center[data-v-b1b073b2]{text-align:center}.table-body .cell.left[data-v-b1b073b2]{text-align:left}.table-body .cell.left .wrap[data-v-b1b073b2]{justify-content:flex-start}.table-body .cell.right[data-v-b1b073b2]{text-align:right}.table-body .cell.right .wrap[data-v-b1b073b2]{justify-content:flex-end}.table-body .cell[data-v-b1b073b2]:last-child{border-right:0}.table-resize-line[data-v-b1b073b2]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-b1b073b2]{border-right:1px solid}.vscroll-spacer[data-v-b1b073b2]{opacity:0;clear:both}[v-cloak][data-v-b1b073b2]{display:none}.ev-checkbox[data-v-b1b073b2]{margin:0}.non-border[data-v-b1b073b2]{border:none!important}.is-empty[data-v-b1b073b2]{height:30px;text-align:center}.postgresql[data-v-b1b073b2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat 50%}.oracle[data-v-b1b073b2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat 50%}.mongodb[data-v-b1b073b2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") no-repeat 50%}.mysql[data-v-b1b073b2]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_3___ + ") no-repeat 50%}", ""]);
|
|
7244
7229
|
// Exports
|
|
7245
7230
|
module.exports = exports;
|
|
7246
7231
|
|
|
@@ -7663,6 +7648,21 @@ exports.push([module.i, ".ev-window-scroll-lock{overflow:hidden!important}.ev-wi
|
|
|
7663
7648
|
module.exports = exports;
|
|
7664
7649
|
|
|
7665
7650
|
|
|
7651
|
+
/***/ }),
|
|
7652
|
+
|
|
7653
|
+
/***/ "84b2":
|
|
7654
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7655
|
+
|
|
7656
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
7657
|
+
|
|
7658
|
+
// load the styles
|
|
7659
|
+
var content = __webpack_require__("40dc");
|
|
7660
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
7661
|
+
if(content.locals) module.exports = content.locals;
|
|
7662
|
+
// add the styles to the DOM
|
|
7663
|
+
var add = __webpack_require__("499e").default
|
|
7664
|
+
var update = add("56adb8ec", content, true, {"sourceMap":false,"shadowMode":false});
|
|
7665
|
+
|
|
7666
7666
|
/***/ }),
|
|
7667
7667
|
|
|
7668
7668
|
/***/ "861d":
|
|
@@ -7940,7 +7940,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
7940
7940
|
/***/ "9224":
|
|
7941
7941
|
/***/ (function(module) {
|
|
7942
7942
|
|
|
7943
|
-
module.exports = JSON.parse("{\"a\":\"3.3.
|
|
7943
|
+
module.exports = JSON.parse("{\"a\":\"3.3.34\"}");
|
|
7944
7944
|
|
|
7945
7945
|
/***/ }),
|
|
7946
7946
|
|
|
@@ -8046,7 +8046,7 @@ module.exports = patchedExec;
|
|
|
8046
8046
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
8047
8047
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
8048
8048
|
// Module
|
|
8049
|
-
exports.push([module.i, ".ev-tree-grid[data-v-25c719ae]{position:relative;width:100%;height:100%;padding-top:33px}.ev-tree-grid--empty[data-v-25c719ae]{overflow:auto}.ev-tree-grid--empty .table-header[data-v-25c719ae]{display:table}.ev-tree-grid.non-header[data-v-25c719ae]{padding-top:0}.ev-tree-grid .table-header[data-v-25c719ae]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-tree-grid .table-header[data-v-25c719ae]{border-top:2px solid;border-bottom:1px solid}.column-list[data-v-25c719ae]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-25c719ae],.column-list[data-v-25c719ae]{position:relative;height:100%}.column[data-v-25c719ae]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-25c719ae]{border-right:1px solid}.column[data-v-25c719ae]:last-child{border-right:0
|
|
8049
|
+
exports.push([module.i, ".ev-tree-grid[data-v-25c719ae]{position:relative;width:100%;height:100%;padding-top:33px}.ev-tree-grid--empty[data-v-25c719ae]{overflow:auto}.ev-tree-grid--empty .table-header[data-v-25c719ae]{display:table}.ev-tree-grid.non-header[data-v-25c719ae]{padding-top:0}.ev-tree-grid .table-header[data-v-25c719ae]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-tree-grid .table-header[data-v-25c719ae]{border-top:2px solid;border-bottom:1px solid}.column-list[data-v-25c719ae]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-25c719ae],.column-list[data-v-25c719ae]{position:relative;height:100%}.column[data-v-25c719ae]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-25c719ae]{border-right:1px solid}.column[data-v-25c719ae]:last-child{border-right:0}.column:last-child .column-resize[data-v-25c719ae]{cursor:default!important}.column .sort-icon[data-v-25c719ae]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-25c719ae]{font-size:13px;color:#005cc8}.column-name[data-v-25c719ae]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-25c719ae]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-25c719ae]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-25c719ae]{display:block;cursor:pointer}.column-filter-status[data-v-25c719ae]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-25c719ae]{font-size:10px;vertical-align:top}.column-resize[data-v-25c719ae]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-25c719ae]:hover{cursor:col-resize}.table-body[data-v-25c719ae]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-25c719ae]{clear:both;width:inherit;border-spacing:0;border-collapse:collapse}.table-body.stripe tr[data-v-25c719ae]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-25c719ae]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-25c719ae]{border-bottom:1px solid}.table-body .row[data-v-25c719ae]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-25c719ae]{border-bottom:1px solid}.table-body .row.selected[data-v-25c719ae]{background:rgba(219,240,249,.6)!important;color:inherit!important}.dark .table-body .row.selected[data-v-25c719ae]{background:!important;color:inherit!important}.table-body .row.highlight[data-v-25c719ae]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-25c719ae]{display:inline-block;padding:0 10px;text-align:center;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-right:1px solid #cfcfcf}.dark .table-body .cell[data-v-25c719ae]{border-right:1px solid}.table-body .cell div[data-v-25c719ae]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-25c719ae]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-25c719ae]{overflow:initial}.table-body .cell.float[data-v-25c719ae],.table-body .cell.number[data-v-25c719ae]{text-align:right}.table-body .cell.string[data-v-25c719ae],.table-body .cell.stringNumber[data-v-25c719ae]{text-align:left}.table-body .cell.center[data-v-25c719ae]{text-align:center}.table-body .cell.left[data-v-25c719ae]{text-align:left}.table-body .cell.left .wrap[data-v-25c719ae]{justify-content:flex-start}.table-body .cell.right[data-v-25c719ae]{text-align:right}.table-body .cell.right .wrap[data-v-25c719ae]{justify-content:flex-end}.table-body .cell[data-v-25c719ae]:last-child{border-right:0}.table-body .cell.tree-td[data-v-25c719ae]{text-align:left!important}.table-resize-line[data-v-25c719ae]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-25c719ae]{border-right:1px solid}.vscroll-spacer[data-v-25c719ae]{opacity:0;clear:both}[v-cloak][data-v-25c719ae]{display:none}.ev-checkbox[data-v-25c719ae]{margin:0}.non-border[data-v-25c719ae]{border:none!important}.is-empty[data-v-25c719ae]{height:30px;text-align:center}", ""]);
|
|
8050
8050
|
// Exports
|
|
8051
8051
|
module.exports = exports;
|
|
8052
8052
|
|
|
@@ -9702,7 +9702,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__("fe56");
|
|
|
9702
9702
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
9703
9703
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
|
|
9704
9704
|
// Module
|
|
9705
|
-
exports.push([module.i, ".ev-tree-grid[data-v-89ae5faa]{position:relative;width:100%;height:100%;padding-top:33px}.ev-tree-grid--empty[data-v-89ae5faa]{overflow:auto}.ev-tree-grid--empty .table-header[data-v-89ae5faa]{display:table}.ev-tree-grid.non-header[data-v-89ae5faa]{padding-top:0}.ev-tree-grid .table-header[data-v-89ae5faa]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-tree-grid .table-header[data-v-89ae5faa]{border-top:2px solid;border-bottom:1px solid}.column-list[data-v-89ae5faa]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-89ae5faa],.column-list[data-v-89ae5faa]{position:relative;height:100%}.column[data-v-89ae5faa]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-89ae5faa]{border-right:1px solid}.column[data-v-89ae5faa]:last-child{border-right:0
|
|
9705
|
+
exports.push([module.i, ".ev-tree-grid[data-v-89ae5faa]{position:relative;width:100%;height:100%;padding-top:33px}.ev-tree-grid--empty[data-v-89ae5faa]{overflow:auto}.ev-tree-grid--empty .table-header[data-v-89ae5faa]{display:table}.ev-tree-grid.non-header[data-v-89ae5faa]{padding-top:0}.ev-tree-grid .table-header[data-v-89ae5faa]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-tree-grid .table-header[data-v-89ae5faa]{border-top:2px solid;border-bottom:1px solid}.column-list[data-v-89ae5faa]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-89ae5faa],.column-list[data-v-89ae5faa]{position:relative;height:100%}.column[data-v-89ae5faa]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-89ae5faa]{border-right:1px solid}.column[data-v-89ae5faa]:last-child{border-right:0}.column:last-child .column-resize[data-v-89ae5faa]{cursor:default!important}.column .sort-icon[data-v-89ae5faa]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-89ae5faa]{font-size:13px;color:#005cc8}.column-name[data-v-89ae5faa]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-89ae5faa]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-89ae5faa]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-89ae5faa]{display:block;cursor:pointer}.column-filter-status[data-v-89ae5faa]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-89ae5faa]{font-size:10px;vertical-align:top}.column-resize[data-v-89ae5faa]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-89ae5faa]:hover{cursor:col-resize}.table-body[data-v-89ae5faa]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-89ae5faa]{clear:both;width:inherit;border-spacing:0;border-collapse:collapse}.table-body.stripe tr[data-v-89ae5faa]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-89ae5faa]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-89ae5faa]{border-bottom:1px solid}.table-body .row[data-v-89ae5faa]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-89ae5faa]{border-bottom:1px solid}.table-body .row.selected[data-v-89ae5faa]{background:rgba(219,240,249,.6)!important;color:inherit!important}.dark .table-body .row.selected[data-v-89ae5faa]{background:!important;color:inherit!important}.table-body .row.highlight[data-v-89ae5faa]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-89ae5faa]{display:inline-block;padding:0 10px;text-align:center;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-right:1px solid #cfcfcf}.dark .table-body .cell[data-v-89ae5faa]{border-right:1px solid}.table-body .cell div[data-v-89ae5faa]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-89ae5faa]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-89ae5faa]{overflow:initial}.table-body .cell.float[data-v-89ae5faa],.table-body .cell.number[data-v-89ae5faa]{text-align:right}.table-body .cell.string[data-v-89ae5faa],.table-body .cell.stringNumber[data-v-89ae5faa]{text-align:left}.table-body .cell.center[data-v-89ae5faa]{text-align:center}.table-body .cell.left[data-v-89ae5faa]{text-align:left}.table-body .cell.left .wrap[data-v-89ae5faa]{justify-content:flex-start}.table-body .cell.right[data-v-89ae5faa]{text-align:right}.table-body .cell.right .wrap[data-v-89ae5faa]{justify-content:flex-end}.table-body .cell[data-v-89ae5faa]:last-child{border-right:0}.table-body .cell.tree-td[data-v-89ae5faa]{text-align:left!important}.table-resize-line[data-v-89ae5faa]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-89ae5faa]{border-right:1px solid}.vscroll-spacer[data-v-89ae5faa]{opacity:0;clear:both}[v-cloak][data-v-89ae5faa]{display:none}.ev-checkbox[data-v-89ae5faa]{margin:0}.non-border[data-v-89ae5faa]{border:none!important}.is-empty[data-v-89ae5faa]{height:30px;text-align:center}.ev-tree-toggle[data-v-89ae5faa]{display:inline-block;width:13px;margin-right:4px;text-align:center;vertical-align:middle}.ev-tree-toggle .tree-expand-icon[data-v-89ae5faa]{border:none;background:transparent;outline:none;cursor:pointer}.ev-tree-toggle .tree-expand-icon i[data-v-89ae5faa]{display:inline-block;top:-3px;width:11px;height:10px;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat -43px -61px}.ev-tree-toggle.expand>.tree-expand-icon i[data-v-89ae5faa]{height:8px;background-position:-15px -63px}.ev-tree-toggle .tree-child-icon i[data-v-89ae5faa],.ev-tree-toggle .tree-parent-icon i[data-v-89ae5faa]{display:inline-block;top:-3px;width:14px;height:14px}.ev-tree-toggle .tree-parent-icon i[data-v-89ae5faa]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat -39px -35px}.ev-tree-toggle.expand>.tree-parent-icon i[data-v-89ae5faa]{background-position:-65px -35px}.ev-tree-toggle .tree-child-icon i[data-v-89ae5faa]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat -14px -35px}", ""]);
|
|
9706
9706
|
// Exports
|
|
9707
9707
|
module.exports = exports;
|
|
9708
9708
|
|
|
@@ -10301,7 +10301,7 @@ module.exports = {
|
|
|
10301
10301
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
10302
10302
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
10303
10303
|
// Module
|
|
10304
|
-
exports.push([module.i, ".ev-grid[data-v-fd0ffe52]{position:relative;width:100%;height:100%;padding-top:33px}.ev-grid--empty[data-v-fd0ffe52]{overflow:auto}.ev-grid--empty .table-header[data-v-fd0ffe52]{display:table}.ev-grid.non-header[data-v-fd0ffe52]{padding-top:0}.ev-grid .table-header[data-v-fd0ffe52]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-grid .table-header[data-v-fd0ffe52]{border-top:2px solid;border-bottom:1px solid}.ev-grid .table-header.non-border[data-v-fd0ffe52]{border-bottom:2px solid #7f7f7f!important}.column-list[data-v-fd0ffe52]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-fd0ffe52],.column-list[data-v-fd0ffe52]{position:relative;height:100%}.column[data-v-fd0ffe52]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-fd0ffe52]{border-right:1px solid}.column[data-v-fd0ffe52]:last-child{border-right:0
|
|
10304
|
+
exports.push([module.i, ".ev-grid[data-v-fd0ffe52]{position:relative;width:100%;height:100%;padding-top:33px}.ev-grid--empty[data-v-fd0ffe52]{overflow:auto}.ev-grid--empty .table-header[data-v-fd0ffe52]{display:table}.ev-grid.non-header[data-v-fd0ffe52]{padding-top:0}.ev-grid .table-header[data-v-fd0ffe52]{overflow:hidden;position:absolute;top:0;width:100%;height:33px;border-top:2px solid #7f7f7f;border-bottom:1px solid #cfcfcf}.dark .ev-grid .table-header[data-v-fd0ffe52]{border-top:2px solid;border-bottom:1px solid}.ev-grid .table-header.non-border[data-v-fd0ffe52]{border-bottom:2px solid #7f7f7f!important}.column-list[data-v-fd0ffe52]{width:100%;white-space:nowrap;list-style-type:none}.column[data-v-fd0ffe52],.column-list[data-v-fd0ffe52]{position:relative;height:100%}.column[data-v-fd0ffe52]{display:inline-flex;padding:0 10px;line-height:30px;justify-content:center;align-items:center;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #cfcfcf}.dark .column[data-v-fd0ffe52]{border-right:1px solid}.column[data-v-fd0ffe52]:last-child{border-right:0}.column:last-child .column-resize[data-v-fd0ffe52]{cursor:default!important}.column .sort-icon[data-v-fd0ffe52]{display:inline-block;float:right;font-size:14px;line-height:30px}.column .ev-icon-filter[data-v-fd0ffe52]{font-size:13px;color:#005cc8}.column-name[data-v-fd0ffe52]{display:inline-block;float:left;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px}.column-filter[data-v-fd0ffe52]{display:none;position:absolute;right:0;background-color:transparent}.column-filter i[data-v-fd0ffe52]{margin-right:2px;font-size:14px;vertical-align:middle}.column:hover .column-filter[data-v-fd0ffe52]{display:block;cursor:pointer}.column-filter-status[data-v-fd0ffe52]{position:absolute;left:0;background-color:transparent}.column-filter-status .ei[data-v-fd0ffe52]{font-size:10px;vertical-align:top}.column-resize[data-v-fd0ffe52]{position:absolute;bottom:0;right:-5px;width:10px;height:100%}.column-resize[data-v-fd0ffe52]:hover{cursor:col-resize}.table-body[data-v-fd0ffe52]{position:relative;width:100%;height:100%;overflow:auto;overflow-anchor:none}.table-body table[data-v-fd0ffe52]{clear:both;border-spacing:0;border-collapse:collapse;width:inherit}.table-body.stripe tr[data-v-fd0ffe52]:nth-child(2n){background:hsla(0,0%,89.8%,.6)}.table-body.bottom-border[data-v-fd0ffe52]{border-bottom:1px solid #cfcfcf}.dark .table-body.bottom-border[data-v-fd0ffe52]{border-bottom:1px solid}.table-body .row[data-v-fd0ffe52]{white-space:nowrap;border-bottom:1px solid #cfcfcf}.dark .table-body .row[data-v-fd0ffe52]{border-bottom:1px solid}.table-body .row.selected[data-v-fd0ffe52]{background:rgba(219,240,249,.6)!important;color:inherit!important;font-size:inherit!important}.dark .table-body .row.selected[data-v-fd0ffe52]{background:!important;color:inherit!important;font-size:inherit!important}.table-body .row.highlight[data-v-fd0ffe52]{background:#5ab7ff;color:#fff}.table-body .cell[data-v-fd0ffe52]{display:inline-block;padding:0 10px;text-align:center;max-width:100%;white-space:nowrap;text-overflow:ellipsis;border-right:1px solid #cfcfcf}.dark .table-body .cell[data-v-fd0ffe52]{border-right:1px solid}.table-body .cell div[data-v-fd0ffe52]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-body .cell.row-checkbox[data-v-fd0ffe52]{display:inline-flex;justify-content:center;align-items:center}.table-body .cell.render[data-v-fd0ffe52]{overflow:initial}.table-body .cell.float[data-v-fd0ffe52],.table-body .cell.number[data-v-fd0ffe52]{text-align:right}.table-body .cell.string[data-v-fd0ffe52],.table-body .cell.stringNumber[data-v-fd0ffe52]{text-align:left}.table-body .cell.center[data-v-fd0ffe52]{text-align:center}.table-body .cell.left[data-v-fd0ffe52]{text-align:left}.table-body .cell.left .wrap[data-v-fd0ffe52]{justify-content:flex-start}.table-body .cell.right[data-v-fd0ffe52]{text-align:right}.table-body .cell.right .wrap[data-v-fd0ffe52]{justify-content:flex-end}.table-body .cell[data-v-fd0ffe52]:last-child{border-right:0}.table-resize-line[data-v-fd0ffe52]{position:absolute;top:0;bottom:0;width:1px;border-right:1px solid #cfcfcf}.dark .table-resize-line[data-v-fd0ffe52]{border-right:1px solid}.vscroll-spacer[data-v-fd0ffe52]{opacity:0;clear:both}[v-cloak][data-v-fd0ffe52]{display:none}.ev-checkbox[data-v-fd0ffe52]{margin:0}.non-border[data-v-fd0ffe52]{border:none!important}.is-empty[data-v-fd0ffe52]{height:30px;text-align:center}.grid-summary[data-v-fd0ffe52]{width:100%;overflow:hidden;border-bottom:1px solid #b2b2b2;background-color:hsla(0,0%,69.8%,.1)}.dark .grid-summary[data-v-fd0ffe52]{border-bottom:1px solid #555;background-color:hsla(0,0%,40%,.3)}.grid-summary .non-border[data-v-fd0ffe52]{border-bottom:none!important}.grid-summary span[data-v-fd0ffe52]{display:inline-block;overflow:hidden;text-overflow:ellipsis;font-size:14px}.grid-summary span>div[data-v-fd0ffe52]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grid-summary .column.float[data-v-fd0ffe52],.grid-summary .column.number[data-v-fd0ffe52]{text-align:right}.grid-summary .column.string[data-v-fd0ffe52],.grid-summary .column.stringNumber[data-v-fd0ffe52]{text-align:left}.grid-summary .column.center[data-v-fd0ffe52]{text-align:center}.grid-summary .column.left[data-v-fd0ffe52]{text-align:left}.grid-summary .column.left .wrap[data-v-fd0ffe52]{justify-content:flex-start}.grid-summary .column.right[data-v-fd0ffe52]{text-align:right}.grid-summary .column.right .wrap[data-v-fd0ffe52]{justify-content:flex-end}", ""]);
|
|
10305
10305
|
// Exports
|
|
10306
10306
|
module.exports = exports;
|
|
10307
10307
|
|
|
@@ -20287,13 +20287,13 @@ var uses_useCalendarDate = function useCalendarDate(param) {
|
|
|
20287
20287
|
var isInvalidDate = isRangeMode && compareFromAndToDateTime(props.mode, calendarType, currDate, selectedValue.value); // time 모드인 경우 현재 값의 시간을 가지고 테스트
|
|
20288
20288
|
|
|
20289
20289
|
var timeValue = (_modelValue$split$ = (_modelValue2 = modelValue) === null || _modelValue2 === void 0 ? void 0 : _modelValue2.split(' ')[1]) !== null && _modelValue$split$ !== void 0 ? _modelValue$split$ : '';
|
|
20290
|
-
var isDisabled = disabledDate
|
|
20290
|
+
var isDisabled = disabledDate ? disabledDate(new Date("".concat(currDate, " ").concat(timeValue))) : isInvalidDate;
|
|
20291
20291
|
var index = +(calendarType !== 'main');
|
|
20292
20292
|
var isRangeSelected = isRangeMode && selectedValue.value.length > index && selectedValue.value[index].split(' ')[0].includes(currDate);
|
|
20293
20293
|
var isSelected = !isDisabled && (isRangeMode ? monthType === '' && isRangeSelected : (_selectedValue$value = selectedValue.value) === null || _selectedValue$value === void 0 ? void 0 : _selectedValue$value.includes(currDate)); // mode가 dateRange일 때는 이전, 다음달에 selected 를 하지 않는다.
|
|
20294
20294
|
|
|
20295
20295
|
calendarTableInfo[i][j] = {
|
|
20296
|
-
monthType: "".concat(monthType).concat(isDisabled
|
|
20296
|
+
monthType: "".concat(monthType).concat(isDisabled ? ' disabled' : ''),
|
|
20297
20297
|
isToday: TODAY_YMD === currDate,
|
|
20298
20298
|
isSelected: isSelected,
|
|
20299
20299
|
year: year,
|
|
@@ -20387,7 +20387,7 @@ var uses_useCalendarDate = function useCalendarDate(param) {
|
|
|
20387
20387
|
return true;
|
|
20388
20388
|
}
|
|
20389
20389
|
|
|
20390
|
-
return compareFromAndToDateTime(props.mode, calendarType, targetDateTimeValue, selectedValue.value);
|
|
20390
|
+
return !disabledDateFunc && compareFromAndToDateTime(props.mode, calendarType, targetDateTimeValue, selectedValue.value);
|
|
20391
20391
|
};
|
|
20392
20392
|
|
|
20393
20393
|
['hour', 'min', 'sec'].forEach(function (v) {
|
|
@@ -20660,7 +20660,7 @@ var calendar_uses_useEvent = function useEvent(param) {
|
|
|
20660
20660
|
};
|
|
20661
20661
|
|
|
20662
20662
|
var setRangeModeDateByIndex = function setRangeModeDateByIndex(currIndex, currDate) {
|
|
20663
|
-
if (compareFromAndToDateTime(props.mode, calendarType, currDate, selectedValue.value)) {
|
|
20663
|
+
if (!disabledDate && compareFromAndToDateTime(props.mode, calendarType, currDate, selectedValue.value)) {
|
|
20664
20664
|
return;
|
|
20665
20665
|
}
|
|
20666
20666
|
|
|
@@ -20946,13 +20946,6 @@ var calendar_uses_useEvent = function useEvent(param) {
|
|
|
20946
20946
|
currDateTime = getChangedValueByTimeFormat(timeFormat[index], currDateTime);
|
|
20947
20947
|
}
|
|
20948
20948
|
|
|
20949
|
-
var fromDate = index ? selectedValue.value[0] : currDateTime;
|
|
20950
|
-
var toDate = index ? currDateTime : selectedValue.value[1];
|
|
20951
|
-
|
|
20952
|
-
if (new Date(fromDate).getTime() > new Date(toDate).getTime()) {
|
|
20953
|
-
return;
|
|
20954
|
-
}
|
|
20955
|
-
|
|
20956
20949
|
selectedValue.value[index] = currDateTime;
|
|
20957
20950
|
}
|
|
20958
20951
|
|
|
@@ -29977,7 +29970,7 @@ var uses_contextMenuEvent = function contextMenuEvent(params) {
|
|
|
29977
29970
|
if (clickedRow) {
|
|
29978
29971
|
selectInfo.selectedRow = clickedRow;
|
|
29979
29972
|
setContextMenu();
|
|
29980
|
-
emit('update:selected', clickedRow);
|
|
29973
|
+
emit('update:selected', [clickedRow]);
|
|
29981
29974
|
} else {
|
|
29982
29975
|
selectInfo.selectedRow = [];
|
|
29983
29976
|
setContextMenu(false);
|
|
@@ -30814,9 +30807,9 @@ Grid.install = function (app) {
|
|
|
30814
30807
|
};
|
|
30815
30808
|
|
|
30816
30809
|
/* harmony default export */ var grid = (Grid);
|
|
30817
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/chart/Chart.vue?vue&type=template&id=
|
|
30810
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/chart/Chart.vue?vue&type=template&id=1fece3ae
|
|
30818
30811
|
|
|
30819
|
-
function
|
|
30812
|
+
function Chartvue_type_template_id_1fece3ae_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30820
30813
|
var _directive_resize = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("resize");
|
|
30821
30814
|
|
|
30822
30815
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])((Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", {
|
|
@@ -30825,7 +30818,7 @@ function Chartvue_type_template_id_df219c50_render(_ctx, _cache, $props, $setup,
|
|
|
30825
30818
|
class: "ev-chart"
|
|
30826
30819
|
}, null, 4)), [[_directive_resize, $setup.onResize]]);
|
|
30827
30820
|
}
|
|
30828
|
-
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=
|
|
30821
|
+
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=1fece3ae
|
|
30829
30822
|
|
|
30830
30823
|
// CONCATENATED MODULE: ./node_modules/lodash-es/_arrayEach.js
|
|
30831
30824
|
/**
|
|
@@ -32148,6 +32141,7 @@ function reverse(array) {
|
|
|
32148
32141
|
|
|
32149
32142
|
|
|
32150
32143
|
|
|
32144
|
+
|
|
32151
32145
|
/* harmony default export */ var helpers_util = ({
|
|
32152
32146
|
/**
|
|
32153
32147
|
* Transforming hex to rgb code
|
|
@@ -32468,6 +32462,17 @@ function reverse(array) {
|
|
|
32468
32462
|
},
|
|
32469
32463
|
isDoughnutHole: function isDoughnutHole(type) {
|
|
32470
32464
|
return type === 'doughnut' || type === 'sunburst';
|
|
32465
|
+
},
|
|
32466
|
+
setDOMStyle: function setDOMStyle(targetDOM, styleObject) {
|
|
32467
|
+
var _Object$keys;
|
|
32468
|
+
|
|
32469
|
+
if (!targetDOM || !styleObject) {
|
|
32470
|
+
return;
|
|
32471
|
+
}
|
|
32472
|
+
|
|
32473
|
+
(_Object$keys = Object.keys(styleObject)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.forEach(function (key) {
|
|
32474
|
+
targetDOM.style[key] = styleObject[key];
|
|
32475
|
+
});
|
|
32471
32476
|
}
|
|
32472
32477
|
});
|
|
32473
32478
|
// CONCATENATED MODULE: ./src/components/chart/model/model.store.js
|
|
@@ -32490,6 +32495,7 @@ function reverse(array) {
|
|
|
32490
32495
|
|
|
32491
32496
|
|
|
32492
32497
|
|
|
32498
|
+
|
|
32493
32499
|
|
|
32494
32500
|
var modules = {
|
|
32495
32501
|
/**
|
|
@@ -33646,6 +33652,37 @@ var modules = {
|
|
|
33646
33652
|
}
|
|
33647
33653
|
|
|
33648
33654
|
return null;
|
|
33655
|
+
},
|
|
33656
|
+
|
|
33657
|
+
/**
|
|
33658
|
+
* Get Aggregations (
|
|
33659
|
+
* @returns {{}}
|
|
33660
|
+
*/
|
|
33661
|
+
getAggregations: function getAggregations() {
|
|
33662
|
+
var allData = this.data.data;
|
|
33663
|
+
var series = this.data.series;
|
|
33664
|
+
var aggregationDataSet = {};
|
|
33665
|
+
var seriesIds = Object.keys(series);
|
|
33666
|
+
seriesIds === null || seriesIds === void 0 ? void 0 : seriesIds.forEach(function (sId) {
|
|
33667
|
+
var dataList = allData[sId].map(function (data) {
|
|
33668
|
+
return data.value ? data.value : data;
|
|
33669
|
+
});
|
|
33670
|
+
var min = Math.min.apply(Math, _toConsumableArray(dataList));
|
|
33671
|
+
var max = Math.max.apply(Math, _toConsumableArray(dataList));
|
|
33672
|
+
var total = dataList.reduce(function (a, b) {
|
|
33673
|
+
return a + b;
|
|
33674
|
+
}, 0);
|
|
33675
|
+
var avg = total / dataList.length || 0;
|
|
33676
|
+
var last = dataList[dataList.length - 1];
|
|
33677
|
+
aggregationDataSet[sId] = {
|
|
33678
|
+
min: min,
|
|
33679
|
+
max: max,
|
|
33680
|
+
avg: avg,
|
|
33681
|
+
total: total,
|
|
33682
|
+
last: last
|
|
33683
|
+
};
|
|
33684
|
+
});
|
|
33685
|
+
return aggregationDataSet;
|
|
33649
33686
|
}
|
|
33650
33687
|
};
|
|
33651
33688
|
/* harmony default export */ var model_store = (modules);
|
|
@@ -35607,7 +35644,7 @@ var element_bar_Bar = /*#__PURE__*/function () {
|
|
|
35607
35644
|
var h;
|
|
35608
35645
|
bArea = cArea > cPad * 2 ? cArea - cPad * 2 : cArea;
|
|
35609
35646
|
bArea = this.isExistGrp ? bArea : bArea / showSeriesCount;
|
|
35610
|
-
var size = Math.
|
|
35647
|
+
var size = Math.ceil(bArea * thickness);
|
|
35611
35648
|
w = isHorizontal ? null : size;
|
|
35612
35649
|
h = isHorizontal ? size : null;
|
|
35613
35650
|
var bPad = isHorizontal ? (bArea - h) / 2 : (bArea - w) / 2;
|
|
@@ -36256,9 +36293,10 @@ var element_bar_time_TimeBar = /*#__PURE__*/function (_Bar) {
|
|
|
36256
36293
|
bArea = (cArea - cPad * 2) / showSeriesCount;
|
|
36257
36294
|
}
|
|
36258
36295
|
|
|
36259
|
-
var
|
|
36260
|
-
var
|
|
36261
|
-
var
|
|
36296
|
+
var size = Math.ceil(bArea * thickness);
|
|
36297
|
+
var w = isHorizontal ? null : size;
|
|
36298
|
+
var subW = isHorizontal ? null : size;
|
|
36299
|
+
var h = isHorizontal ? size : null;
|
|
36262
36300
|
var bPad = isHorizontal ? (bArea - h) / 2 : (bArea - w) / 2;
|
|
36263
36301
|
var barSeriesX = this.isExistGrp ? 1 : showIndex + 1;
|
|
36264
36302
|
this.size.cat = cArea;
|
|
@@ -39306,6 +39344,11 @@ var plugins_title_modules = {
|
|
|
39306
39344
|
|
|
39307
39345
|
|
|
39308
39346
|
|
|
39347
|
+
|
|
39348
|
+
|
|
39349
|
+
|
|
39350
|
+
|
|
39351
|
+
|
|
39309
39352
|
var plugins_legend_modules = {
|
|
39310
39353
|
/**
|
|
39311
39354
|
* Create legend DOM
|
|
@@ -39328,10 +39371,52 @@ var plugins_legend_modules = {
|
|
|
39328
39371
|
this.wrapperDOM.appendChild(this.resizeDOM);
|
|
39329
39372
|
}
|
|
39330
39373
|
|
|
39374
|
+
if (this.useTable) {
|
|
39375
|
+
this.legendTableDOM = document.createElement('table');
|
|
39376
|
+
this.legendTableDOM.className = 'ev-chart-legend--table';
|
|
39377
|
+
this.setLegendColumnHeader();
|
|
39378
|
+
this.legendBoxDOM.appendChild(this.legendTableDOM);
|
|
39379
|
+
this.legendDOM.style.overflow = 'auto';
|
|
39380
|
+
}
|
|
39381
|
+
|
|
39331
39382
|
this.legendDOM.appendChild(this.legendBoxDOM);
|
|
39332
39383
|
this.wrapperDOM.appendChild(this.legendDOM);
|
|
39333
39384
|
},
|
|
39334
39385
|
|
|
39386
|
+
/**
|
|
39387
|
+
* Create and append Table Header DOM
|
|
39388
|
+
* Only chartOption > legend > table > use : true
|
|
39389
|
+
*
|
|
39390
|
+
* @returns {undefined}
|
|
39391
|
+
*/
|
|
39392
|
+
setLegendColumnHeader: function setLegendColumnHeader() {
|
|
39393
|
+
var _this$options$legend2,
|
|
39394
|
+
_this = this;
|
|
39395
|
+
|
|
39396
|
+
var tableOpt = (_this$options$legend2 = this.options.legend) === null || _this$options$legend2 === void 0 ? void 0 : _this$options$legend2.table;
|
|
39397
|
+
var columns = tableOpt.columns;
|
|
39398
|
+
var columnKeyList = ['color'].concat(_toConsumableArray(Object.keys(columns)));
|
|
39399
|
+
columnKeyList.forEach(function (key) {
|
|
39400
|
+
var _columns$key;
|
|
39401
|
+
|
|
39402
|
+
var columnNameDOM = document.createElement('th');
|
|
39403
|
+
columnNameDOM.className = 'ev-chart-legend--table__column-name';
|
|
39404
|
+
|
|
39405
|
+
if ((_columns$key = columns[key]) !== null && _columns$key !== void 0 && _columns$key.use || key === 'color' || key === 'name') {
|
|
39406
|
+
var _columnOpt$title, _tableOpt$style;
|
|
39407
|
+
|
|
39408
|
+
var columnOpt = columns[key];
|
|
39409
|
+
var keyText = (_columnOpt$title = columnOpt === null || columnOpt === void 0 ? void 0 : columnOpt.title) !== null && _columnOpt$title !== void 0 ? _columnOpt$title : '';
|
|
39410
|
+
columnNameDOM.textContent = keyText;
|
|
39411
|
+
columnNameDOM.setAttribute('title', keyText);
|
|
39412
|
+
columnNameDOM.dataset.type = keyText;
|
|
39413
|
+
helpers_util.setDOMStyle(columnNameDOM, tableOpt === null || tableOpt === void 0 ? void 0 : (_tableOpt$style = tableOpt.style) === null || _tableOpt$style === void 0 ? void 0 : _tableOpt$style.header);
|
|
39414
|
+
|
|
39415
|
+
_this.legendTableDOM.append(columnNameDOM);
|
|
39416
|
+
}
|
|
39417
|
+
});
|
|
39418
|
+
},
|
|
39419
|
+
|
|
39335
39420
|
/**
|
|
39336
39421
|
* Initialize legend
|
|
39337
39422
|
* If there was no initialization, create DOM and set default layout.
|
|
@@ -39340,7 +39425,10 @@ var plugins_legend_modules = {
|
|
|
39340
39425
|
* @returns {undefined}
|
|
39341
39426
|
*/
|
|
39342
39427
|
initLegend: function initLegend() {
|
|
39428
|
+
var _this$options$legend3, _this$options$legend4;
|
|
39429
|
+
|
|
39343
39430
|
this.isHeatMapType = this.options.type === 'heatMap';
|
|
39431
|
+
this.useTable = !!((_this$options$legend3 = this.options.legend) !== null && _this$options$legend3 !== void 0 && (_this$options$legend4 = _this$options$legend3.table) !== null && _this$options$legend4 !== void 0 && _this$options$legend4.use) && this.options.type !== 'heatmap' && this.options.type !== 'scatter';
|
|
39344
39432
|
|
|
39345
39433
|
if (!this.isInitLegend) {
|
|
39346
39434
|
this.createLegendLayout();
|
|
@@ -39367,25 +39455,44 @@ var plugins_legend_modules = {
|
|
|
39367
39455
|
* @returns {undefined}
|
|
39368
39456
|
*/
|
|
39369
39457
|
addLegendList: function addLegendList() {
|
|
39370
|
-
var
|
|
39458
|
+
var _this2 = this;
|
|
39371
39459
|
|
|
39372
39460
|
var groups = this.data.groups;
|
|
39373
39461
|
var seriesList = this.seriesList;
|
|
39374
39462
|
groups.forEach(function (group) {
|
|
39375
39463
|
group.slice().reverse().forEach(function (sId) {
|
|
39376
|
-
|
|
39377
|
-
|
|
39464
|
+
var series = seriesList[sId];
|
|
39465
|
+
|
|
39466
|
+
if (series && series.showLegend) {
|
|
39467
|
+
if (_this2.useTable) {
|
|
39468
|
+
_this2.addLegendWithValues(series);
|
|
39469
|
+
} else {
|
|
39470
|
+
_this2.addLegend(series);
|
|
39471
|
+
}
|
|
39378
39472
|
}
|
|
39379
39473
|
});
|
|
39380
39474
|
});
|
|
39381
39475
|
Object.values(seriesList).forEach(function (series) {
|
|
39382
|
-
if (
|
|
39383
|
-
|
|
39476
|
+
if (series.isExistGrp || !series.showLegend) {
|
|
39477
|
+
return;
|
|
39478
|
+
}
|
|
39479
|
+
|
|
39480
|
+
if (_this2.useTable) {
|
|
39481
|
+
_this2.addLegendWithValues(series);
|
|
39482
|
+
} else {
|
|
39483
|
+
_this2.addLegend(series);
|
|
39384
39484
|
}
|
|
39385
39485
|
});
|
|
39386
39486
|
},
|
|
39487
|
+
|
|
39488
|
+
/**
|
|
39489
|
+
* Add Legend with Color Information
|
|
39490
|
+
* Only Heatmap chart
|
|
39491
|
+
*
|
|
39492
|
+
* @returns {undefined}
|
|
39493
|
+
*/
|
|
39387
39494
|
addColorLegendList: function addColorLegendList() {
|
|
39388
|
-
var
|
|
39495
|
+
var _this3 = this;
|
|
39389
39496
|
|
|
39390
39497
|
var seriesList = this.seriesList;
|
|
39391
39498
|
Object.values(seriesList).forEach(function (series) {
|
|
@@ -39427,7 +39534,7 @@ var plugins_legend_modules = {
|
|
|
39427
39534
|
name = minValue;
|
|
39428
39535
|
}
|
|
39429
39536
|
|
|
39430
|
-
|
|
39537
|
+
_this3.addLegend({
|
|
39431
39538
|
cId: colorItem.id,
|
|
39432
39539
|
color: colorItem.color,
|
|
39433
39540
|
name: name
|
|
@@ -39437,45 +39544,72 @@ var plugins_legend_modules = {
|
|
|
39437
39544
|
});
|
|
39438
39545
|
},
|
|
39439
39546
|
|
|
39547
|
+
/**
|
|
39548
|
+
* Get Container DOM by Event Object
|
|
39549
|
+
* @param e Event
|
|
39550
|
+
*
|
|
39551
|
+
* @returns {Element}
|
|
39552
|
+
*/
|
|
39553
|
+
getContainerDOM: function getContainerDOM(e) {
|
|
39554
|
+
var targetDOM = null;
|
|
39555
|
+
var type = e.target.dataset.type;
|
|
39556
|
+
var childTypes = ['name', 'color', 'min', 'max', 'avg', 'total', 'last'];
|
|
39557
|
+
|
|
39558
|
+
if (type === 'container') {
|
|
39559
|
+
targetDOM = e.target;
|
|
39560
|
+
} else if (childTypes.includes(type)) {
|
|
39561
|
+
var _targetDOM;
|
|
39562
|
+
|
|
39563
|
+
targetDOM = e.target.parentElement;
|
|
39564
|
+
|
|
39565
|
+
if (!((_targetDOM = targetDOM) !== null && _targetDOM !== void 0 && _targetDOM.series)) {
|
|
39566
|
+
targetDOM = targetDOM.parentElement;
|
|
39567
|
+
}
|
|
39568
|
+
}
|
|
39569
|
+
|
|
39570
|
+
return targetDOM;
|
|
39571
|
+
},
|
|
39572
|
+
|
|
39440
39573
|
/**
|
|
39441
39574
|
* Initialize legend event
|
|
39442
39575
|
*
|
|
39443
39576
|
* @returns {undefined}
|
|
39444
39577
|
*/
|
|
39445
39578
|
initEvent: function initEvent() {
|
|
39446
|
-
var
|
|
39579
|
+
var _this4 = this;
|
|
39447
39580
|
|
|
39448
39581
|
if (this.isInitLegend) {
|
|
39449
39582
|
return;
|
|
39450
39583
|
}
|
|
39584
|
+
|
|
39585
|
+
var classList = {
|
|
39586
|
+
container: "ev-chart-legend".concat(this.useTable ? '--table__container' : '-container'),
|
|
39587
|
+
color: "ev-chart-legend".concat(this.useTable ? '--table__color' : '-color'),
|
|
39588
|
+
name: "ev-chart-legend".concat(this.useTable ? '--table__name' : '-name'),
|
|
39589
|
+
value: "ev-chart-legend".concat(this.useTable ? '--table__value' : '-value')
|
|
39590
|
+
};
|
|
39451
39591
|
/**
|
|
39452
39592
|
* callback for legendBoxDOM to show/hide clicked series
|
|
39453
39593
|
*
|
|
39454
39594
|
* @returns {undefined}
|
|
39455
39595
|
*/
|
|
39456
39596
|
|
|
39457
|
-
|
|
39458
39597
|
this.onLegendBoxClick = function (e) {
|
|
39459
|
-
var
|
|
39598
|
+
var opt = _this4.options.legend;
|
|
39460
39599
|
|
|
39461
|
-
var
|
|
39462
|
-
var type = e.target.dataset.type;
|
|
39463
|
-
var targetDOM;
|
|
39600
|
+
var targetDOM = _this4.getContainerDOM(e);
|
|
39464
39601
|
|
|
39465
|
-
if (
|
|
39466
|
-
targetDOM = e.target;
|
|
39467
|
-
} else if (type === 'name' || type === 'color') {
|
|
39468
|
-
targetDOM = e.target.parentElement;
|
|
39469
|
-
} else {
|
|
39602
|
+
if (!targetDOM) {
|
|
39470
39603
|
return;
|
|
39471
39604
|
}
|
|
39472
39605
|
|
|
39473
|
-
var
|
|
39474
|
-
var
|
|
39475
|
-
var
|
|
39476
|
-
var
|
|
39606
|
+
var series = targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.series;
|
|
39607
|
+
var colorDOM = targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.getElementsByClassName(classList.color)[0];
|
|
39608
|
+
var nameDOM = targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.getElementsByClassName(classList.name)[0];
|
|
39609
|
+
var valueDOMList = targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.getElementsByClassName(classList.value);
|
|
39610
|
+
var isActive = !(targetDOM !== null && targetDOM !== void 0 && targetDOM.className.includes('inactive'));
|
|
39477
39611
|
|
|
39478
|
-
if (isActive &&
|
|
39612
|
+
if (isActive && _this4.seriesInfo.count === 1) {
|
|
39479
39613
|
return;
|
|
39480
39614
|
}
|
|
39481
39615
|
|
|
@@ -39484,12 +39618,16 @@ var plugins_legend_modules = {
|
|
|
39484
39618
|
}
|
|
39485
39619
|
|
|
39486
39620
|
if (isActive) {
|
|
39487
|
-
|
|
39488
|
-
|
|
39489
|
-
colorDOM.style.
|
|
39490
|
-
|
|
39621
|
+
_this4.seriesInfo.count--;
|
|
39622
|
+
var inactiveColor = opt.inactive;
|
|
39623
|
+
colorDOM.style.backgroundColor = inactiveColor;
|
|
39624
|
+
colorDOM.style.borderColor = inactiveColor;
|
|
39625
|
+
nameDOM.style.color = inactiveColor;
|
|
39626
|
+
valueDOMList === null || valueDOMList === void 0 ? void 0 : valueDOMList.forEach(function (dom) {
|
|
39627
|
+
dom.style.color = inactiveColor;
|
|
39628
|
+
});
|
|
39491
39629
|
} else {
|
|
39492
|
-
|
|
39630
|
+
_this4.seriesInfo.count++;
|
|
39493
39631
|
var seriesColor;
|
|
39494
39632
|
|
|
39495
39633
|
if (typeof series.color !== 'string') {
|
|
@@ -39507,13 +39645,18 @@ var plugins_legend_modules = {
|
|
|
39507
39645
|
}
|
|
39508
39646
|
|
|
39509
39647
|
nameDOM.style.color = opt.color;
|
|
39648
|
+
valueDOMList === null || valueDOMList === void 0 ? void 0 : valueDOMList.forEach(function (dom) {
|
|
39649
|
+
var _opt$table, _opt$table$columns$do;
|
|
39650
|
+
|
|
39651
|
+
var style = (_opt$table = opt.table) === null || _opt$table === void 0 ? void 0 : (_opt$table$columns$do = _opt$table.columns[dom.dataset.type]) === null || _opt$table$columns$do === void 0 ? void 0 : _opt$table$columns$do.style;
|
|
39652
|
+
dom.style.color = style !== null && style !== void 0 && style.color ? style.color : opt.color;
|
|
39653
|
+
});
|
|
39510
39654
|
}
|
|
39511
39655
|
|
|
39512
39656
|
series.show = !series.show;
|
|
39513
|
-
|
|
39514
|
-
nameDOM.classList.toggle('inactive');
|
|
39657
|
+
targetDOM.classList.toggle('inactive');
|
|
39515
39658
|
|
|
39516
|
-
|
|
39659
|
+
_this4.update({
|
|
39517
39660
|
updateSeries: false,
|
|
39518
39661
|
updateSelTip: {
|
|
39519
39662
|
update: true,
|
|
@@ -39529,25 +39672,21 @@ var plugins_legend_modules = {
|
|
|
39529
39672
|
|
|
39530
39673
|
|
|
39531
39674
|
this.onLegendBoxOver = function (e) {
|
|
39532
|
-
var
|
|
39533
|
-
var targetDOM;
|
|
39675
|
+
var _targetDOM$series;
|
|
39534
39676
|
|
|
39535
|
-
|
|
39536
|
-
|
|
39537
|
-
|
|
39538
|
-
targetDOM = e.target.parentElement;
|
|
39539
|
-
} else {
|
|
39677
|
+
var targetDOM = _this4.getContainerDOM(e);
|
|
39678
|
+
|
|
39679
|
+
if (!targetDOM) {
|
|
39540
39680
|
return;
|
|
39541
39681
|
}
|
|
39542
39682
|
|
|
39543
|
-
var
|
|
39544
|
-
var targetId = nameDOM.series.sId;
|
|
39683
|
+
var targetId = targetDOM === null || targetDOM === void 0 ? void 0 : (_targetDOM$series = targetDOM.series) === null || _targetDOM$series === void 0 ? void 0 : _targetDOM$series.sId;
|
|
39545
39684
|
var legendHitInfo = {
|
|
39546
39685
|
sId: targetId,
|
|
39547
|
-
type:
|
|
39686
|
+
type: _this4.options.type
|
|
39548
39687
|
};
|
|
39549
39688
|
|
|
39550
|
-
|
|
39689
|
+
_this4.update({
|
|
39551
39690
|
updateSeries: false,
|
|
39552
39691
|
updateSelTip: {
|
|
39553
39692
|
update: false,
|
|
@@ -39566,7 +39705,7 @@ var plugins_legend_modules = {
|
|
|
39566
39705
|
|
|
39567
39706
|
|
|
39568
39707
|
this.onLegendBoxLeave = function () {
|
|
39569
|
-
|
|
39708
|
+
_this4.update({
|
|
39570
39709
|
updateSeries: false,
|
|
39571
39710
|
updateSelTip: {
|
|
39572
39711
|
update: false,
|
|
@@ -39583,8 +39722,13 @@ var plugins_legend_modules = {
|
|
|
39583
39722
|
this.legendBoxDOM.addEventListener('mouseleave', this.onLegendBoxLeave);
|
|
39584
39723
|
this.initResizeEvent();
|
|
39585
39724
|
},
|
|
39725
|
+
|
|
39726
|
+
/**
|
|
39727
|
+
* Init Event on Color Legend
|
|
39728
|
+
* Only Heatmap
|
|
39729
|
+
*/
|
|
39586
39730
|
initEventForColorLegend: function initEventForColorLegend() {
|
|
39587
|
-
var
|
|
39731
|
+
var _this5 = this;
|
|
39588
39732
|
|
|
39589
39733
|
if (this.isInitLegend) {
|
|
39590
39734
|
return;
|
|
@@ -39597,25 +39741,21 @@ var plugins_legend_modules = {
|
|
|
39597
39741
|
|
|
39598
39742
|
|
|
39599
39743
|
this.onLegendBoxClick = function (e) {
|
|
39600
|
-
var
|
|
39744
|
+
var _targetDOM$series2;
|
|
39601
39745
|
|
|
39602
|
-
var opt =
|
|
39603
|
-
var series = Object.values(
|
|
39604
|
-
var type = e.target.dataset.type;
|
|
39605
|
-
var targetDOM;
|
|
39746
|
+
var opt = _this5.options.legend;
|
|
39747
|
+
var series = Object.values(_this5.seriesList)[0];
|
|
39606
39748
|
|
|
39607
|
-
|
|
39608
|
-
|
|
39609
|
-
|
|
39610
|
-
targetDOM = e.target.parentElement;
|
|
39611
|
-
} else {
|
|
39749
|
+
var targetDOM = _this5.getContainerDOM(e);
|
|
39750
|
+
|
|
39751
|
+
if (!targetDOM) {
|
|
39612
39752
|
return;
|
|
39613
39753
|
}
|
|
39614
39754
|
|
|
39615
|
-
var colorDOM =
|
|
39616
|
-
var nameDOM =
|
|
39755
|
+
var colorDOM = targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.getElementsByClassName('ev-chart-legend-color')[0];
|
|
39756
|
+
var nameDOM = targetDOM === null || targetDOM === void 0 ? void 0 : targetDOM.getElementsByClassName('ev-chart-legend-name')[0];
|
|
39757
|
+
var targetId = targetDOM === null || targetDOM === void 0 ? void 0 : (_targetDOM$series2 = targetDOM.series) === null || _targetDOM$series2 === void 0 ? void 0 : _targetDOM$series2.cId;
|
|
39617
39758
|
var isActive = !(colorDOM !== null && colorDOM !== void 0 && colorDOM.className.includes('inactive'));
|
|
39618
|
-
var targetId = nameDOM.series.cId;
|
|
39619
39759
|
var activeCount = series.colorState.filter(function (colorItem) {
|
|
39620
39760
|
return colorItem.show;
|
|
39621
39761
|
}).length;
|
|
@@ -39633,7 +39773,9 @@ var plugins_legend_modules = {
|
|
|
39633
39773
|
colorDOM.style.borderColor = opt.inactive;
|
|
39634
39774
|
nameDOM.style.color = opt.inactive;
|
|
39635
39775
|
} else {
|
|
39636
|
-
|
|
39776
|
+
var _targetDOM$series3;
|
|
39777
|
+
|
|
39778
|
+
colorDOM.style.backgroundColor = targetDOM === null || targetDOM === void 0 ? void 0 : (_targetDOM$series3 = targetDOM.series) === null || _targetDOM$series3 === void 0 ? void 0 : _targetDOM$series3.color;
|
|
39637
39779
|
nameDOM.style.color = opt.color;
|
|
39638
39780
|
}
|
|
39639
39781
|
|
|
@@ -39648,7 +39790,7 @@ var plugins_legend_modules = {
|
|
|
39648
39790
|
colorDOM.classList.toggle('inactive');
|
|
39649
39791
|
nameDOM.classList.toggle('inactive');
|
|
39650
39792
|
|
|
39651
|
-
|
|
39793
|
+
_this5.update({
|
|
39652
39794
|
updateSeries: false,
|
|
39653
39795
|
updateSelTip: {
|
|
39654
39796
|
update: true,
|
|
@@ -39664,25 +39806,22 @@ var plugins_legend_modules = {
|
|
|
39664
39806
|
|
|
39665
39807
|
|
|
39666
39808
|
this.onLegendBoxOver = function (e) {
|
|
39667
|
-
var
|
|
39668
|
-
var series = Object.values(_this4.seriesList)[0];
|
|
39669
|
-
var targetDOM;
|
|
39809
|
+
var _Object$values, _targetDOM$series4;
|
|
39670
39810
|
|
|
39671
|
-
|
|
39672
|
-
|
|
39673
|
-
|
|
39674
|
-
|
|
39675
|
-
|
|
39811
|
+
var series = (_Object$values = Object.values(_this5.seriesList)) === null || _Object$values === void 0 ? void 0 : _Object$values[0];
|
|
39812
|
+
|
|
39813
|
+
var targetDOM = _this5.getContainerDOM(e);
|
|
39814
|
+
|
|
39815
|
+
if (!targetDOM) {
|
|
39676
39816
|
return;
|
|
39677
39817
|
}
|
|
39678
39818
|
|
|
39679
|
-
var
|
|
39680
|
-
var targetId = nameDOM.series.cId;
|
|
39819
|
+
var targetId = targetDOM === null || targetDOM === void 0 ? void 0 : (_targetDOM$series4 = targetDOM.series) === null || _targetDOM$series4 === void 0 ? void 0 : _targetDOM$series4.cId;
|
|
39681
39820
|
series.colorState.forEach(function (colorItem) {
|
|
39682
39821
|
colorItem.state = colorItem.id === targetId ? 'highlight' : 'downplay';
|
|
39683
39822
|
});
|
|
39684
39823
|
|
|
39685
|
-
|
|
39824
|
+
_this5.update({
|
|
39686
39825
|
updateSeries: false,
|
|
39687
39826
|
updateSelTip: {
|
|
39688
39827
|
update: false,
|
|
@@ -39698,12 +39837,12 @@ var plugins_legend_modules = {
|
|
|
39698
39837
|
|
|
39699
39838
|
|
|
39700
39839
|
this.onLegendBoxLeave = function () {
|
|
39701
|
-
var series = Object.values(
|
|
39840
|
+
var series = Object.values(_this5.seriesList)[0];
|
|
39702
39841
|
series.colorState.forEach(function (item) {
|
|
39703
39842
|
item.state = 'normal';
|
|
39704
39843
|
});
|
|
39705
39844
|
|
|
39706
|
-
|
|
39845
|
+
_this5.update({
|
|
39707
39846
|
updateSeries: false,
|
|
39708
39847
|
updateSelTip: {
|
|
39709
39848
|
update: false,
|
|
@@ -39718,7 +39857,7 @@ var plugins_legend_modules = {
|
|
|
39718
39857
|
this.initResizeEvent();
|
|
39719
39858
|
},
|
|
39720
39859
|
initResizeEvent: function initResizeEvent() {
|
|
39721
|
-
var
|
|
39860
|
+
var _this6 = this;
|
|
39722
39861
|
|
|
39723
39862
|
/**
|
|
39724
39863
|
* callback for resizeDOM click event
|
|
@@ -39730,33 +39869,33 @@ var plugins_legend_modules = {
|
|
|
39730
39869
|
this.onResizeMouseDown = function (e) {
|
|
39731
39870
|
e.stopPropagation();
|
|
39732
39871
|
e.preventDefault();
|
|
39733
|
-
var opt =
|
|
39872
|
+
var opt = _this6.options;
|
|
39734
39873
|
var pos = opt.legend.position;
|
|
39735
39874
|
var title = opt.title.show ? opt.title.height : 0;
|
|
39736
|
-
var ghostDOM =
|
|
39737
|
-
|
|
39875
|
+
var ghostDOM = _this6.ghostDOM;
|
|
39876
|
+
_this6.resizeDOM.style.display = 'none';
|
|
39738
39877
|
|
|
39739
|
-
|
|
39878
|
+
_this6.wrapperDOM.appendChild(ghostDOM); // mouse down 시, resizeDOM의 위치를 기반으로 ghostDOM의 위치를 세팅
|
|
39740
39879
|
|
|
39741
39880
|
|
|
39742
39881
|
if (pos === 'left' || pos === 'right') {
|
|
39743
39882
|
ghostDOM.style.top = "".concat(title, "px");
|
|
39744
|
-
ghostDOM.style.left =
|
|
39745
|
-
ghostDOM.style.right =
|
|
39746
|
-
ghostDOM.style.height =
|
|
39883
|
+
ghostDOM.style.left = _this6.resizeDOM.style.left;
|
|
39884
|
+
ghostDOM.style.right = _this6.resizeDOM.style.right;
|
|
39885
|
+
ghostDOM.style.height = _this6.resizeDOM.style.height;
|
|
39747
39886
|
} else {
|
|
39748
39887
|
ghostDOM.classList.add('horizontal');
|
|
39749
39888
|
|
|
39750
39889
|
if (pos === 'top') {
|
|
39751
|
-
ghostDOM.style.top =
|
|
39890
|
+
ghostDOM.style.top = _this6.resizeDOM.style.top;
|
|
39752
39891
|
} else if (pos === 'bottom') {
|
|
39753
|
-
ghostDOM.style.bottom =
|
|
39892
|
+
ghostDOM.style.bottom = _this6.resizeDOM.style.bottom;
|
|
39754
39893
|
}
|
|
39755
39894
|
}
|
|
39756
39895
|
|
|
39757
|
-
|
|
39896
|
+
_this6.wrapperDOM.addEventListener('mousemove', _this6.mouseMove, false);
|
|
39758
39897
|
|
|
39759
|
-
|
|
39898
|
+
_this6.wrapperDOM.addEventListener('mouseup', _this6.mouseUp, false);
|
|
39760
39899
|
};
|
|
39761
39900
|
|
|
39762
39901
|
if (this.resizeDOM) {
|
|
@@ -39782,25 +39921,89 @@ var plugins_legend_modules = {
|
|
|
39782
39921
|
}
|
|
39783
39922
|
},
|
|
39784
39923
|
|
|
39924
|
+
/**
|
|
39925
|
+
* To update value text on legend table
|
|
39926
|
+
* Only chartOption > legend > table > use : true
|
|
39927
|
+
*
|
|
39928
|
+
* @returns {undefined}
|
|
39929
|
+
*/
|
|
39930
|
+
updateLegendTableValues: function updateLegendTableValues() {
|
|
39931
|
+
var _this$options2,
|
|
39932
|
+
_this$options2$legend,
|
|
39933
|
+
_this$options2$legend2,
|
|
39934
|
+
_this$legendBoxDOM,
|
|
39935
|
+
_this7 = this;
|
|
39936
|
+
|
|
39937
|
+
var columns = (_this$options2 = this.options) === null || _this$options2 === void 0 ? void 0 : (_this$options2$legend = _this$options2.legend) === null || _this$options2$legend === void 0 ? void 0 : (_this$options2$legend2 = _this$options2$legend.table) === null || _this$options2$legend2 === void 0 ? void 0 : _this$options2$legend2.columns;
|
|
39938
|
+
var aggregations = this.getAggregations();
|
|
39939
|
+
var rowDOMList = (_this$legendBoxDOM = this.legendBoxDOM) === null || _this$legendBoxDOM === void 0 ? void 0 : _this$legendBoxDOM.getElementsByClassName('ev-chart-legend--table__row');
|
|
39940
|
+
rowDOMList.forEach(function (row) {
|
|
39941
|
+
var valueDOMList = row === null || row === void 0 ? void 0 : row.getElementsByClassName('ev-chart-legend--table__value');
|
|
39942
|
+
valueDOMList.forEach(function (dom) {
|
|
39943
|
+
var _aggregations$seriesI;
|
|
39944
|
+
|
|
39945
|
+
var key = dom.dataset.type;
|
|
39946
|
+
|
|
39947
|
+
if (key === 'name') {
|
|
39948
|
+
return;
|
|
39949
|
+
}
|
|
39950
|
+
|
|
39951
|
+
var seriesId = row.series.sId;
|
|
39952
|
+
var value = +(aggregations === null || aggregations === void 0 ? void 0 : (_aggregations$seriesI = aggregations[seriesId]) === null || _aggregations$seriesI === void 0 ? void 0 : _aggregations$seriesI[key]);
|
|
39953
|
+
dom.textContent = _this7.getFormattedValue(columns[key], value);
|
|
39954
|
+
});
|
|
39955
|
+
});
|
|
39956
|
+
},
|
|
39957
|
+
|
|
39958
|
+
/**
|
|
39959
|
+
* Force Update Legend. Remove and Create
|
|
39960
|
+
*
|
|
39961
|
+
* @returns {undefined}
|
|
39962
|
+
*/
|
|
39963
|
+
forceUpdateLegend: function forceUpdateLegend() {
|
|
39964
|
+
this.destroyLegend();
|
|
39965
|
+
this.initLegend();
|
|
39966
|
+
},
|
|
39967
|
+
|
|
39785
39968
|
/**
|
|
39786
39969
|
* To update legend, remove all of legendBoxDOM's children
|
|
39787
39970
|
*
|
|
39788
39971
|
* @returns {undefined}
|
|
39789
39972
|
*/
|
|
39790
39973
|
resetLegend: function resetLegend() {
|
|
39791
|
-
var
|
|
39974
|
+
var legendBoxDOM = this.legendBoxDOM;
|
|
39792
39975
|
|
|
39793
|
-
if (!
|
|
39976
|
+
if (!legendBoxDOM) {
|
|
39794
39977
|
return;
|
|
39795
39978
|
}
|
|
39796
39979
|
|
|
39797
|
-
while (
|
|
39798
|
-
|
|
39980
|
+
while (legendBoxDOM.hasChildNodes()) {
|
|
39981
|
+
legendBoxDOM.removeChild(legendBoxDOM.firstChild);
|
|
39799
39982
|
}
|
|
39800
39983
|
|
|
39801
39984
|
this.seriesInfo.count = 0;
|
|
39802
39985
|
},
|
|
39803
39986
|
|
|
39987
|
+
/**
|
|
39988
|
+
* To update legend, remove all of legendBoxDOM's children
|
|
39989
|
+
*
|
|
39990
|
+
* @returns {undefined}
|
|
39991
|
+
*/
|
|
39992
|
+
destroyLegend: function destroyLegend() {
|
|
39993
|
+
var legendDOM = this.legendDOM;
|
|
39994
|
+
|
|
39995
|
+
if (!legendDOM) {
|
|
39996
|
+
return;
|
|
39997
|
+
}
|
|
39998
|
+
|
|
39999
|
+
legendDOM.remove();
|
|
40000
|
+
this.legendDOM = null;
|
|
40001
|
+
this.legendBoxDOM = null;
|
|
40002
|
+
this.resizeDOM = null;
|
|
40003
|
+
this.isInitLegend = false;
|
|
40004
|
+
this.seriesInfo.count = 0;
|
|
40005
|
+
},
|
|
40006
|
+
|
|
39804
40007
|
/**
|
|
39805
40008
|
* Create DOM for each series
|
|
39806
40009
|
*
|
|
@@ -39811,18 +40014,21 @@ var plugins_legend_modules = {
|
|
|
39811
40014
|
var containerDOM = document.createElement('div');
|
|
39812
40015
|
var colorDOM = document.createElement('span');
|
|
39813
40016
|
var nameDOM = document.createElement('div');
|
|
39814
|
-
containerDOM.className =
|
|
40017
|
+
containerDOM.className = "ev-chart-legend-container ".concat(!series.show ? ' inactive' : '');
|
|
40018
|
+
containerDOM.series = series;
|
|
39815
40019
|
colorDOM.className = 'ev-chart-legend-color';
|
|
39816
40020
|
|
|
39817
40021
|
if (series.type === 'line' && series.point && !series.fill) {
|
|
39818
40022
|
colorDOM.className += ' ev-chart-legend-color--point-line';
|
|
39819
40023
|
}
|
|
39820
40024
|
|
|
39821
|
-
nameDOM.className = 'ev-chart-legend-name';
|
|
39822
|
-
|
|
40025
|
+
nameDOM.className = 'ev-chart-legend-name'; // set series color
|
|
40026
|
+
|
|
39823
40027
|
var seriesColor;
|
|
39824
40028
|
|
|
39825
|
-
if (
|
|
40029
|
+
if (!series.show) {
|
|
40030
|
+
seriesColor = opt.inactive;
|
|
40031
|
+
} else if (typeof series.color !== 'string') {
|
|
39826
40032
|
seriesColor = series.color[series.color.length - 1][1];
|
|
39827
40033
|
} else {
|
|
39828
40034
|
seriesColor = series.color;
|
|
@@ -39830,7 +40036,7 @@ var plugins_legend_modules = {
|
|
|
39830
40036
|
|
|
39831
40037
|
if (series.type === 'line' && series.fill) {
|
|
39832
40038
|
colorDOM.style.height = '8px';
|
|
39833
|
-
colorDOM.style.backgroundColor = "".concat(seriesColor, "80");
|
|
40039
|
+
colorDOM.style.backgroundColor = series.show ? "".concat(seriesColor, "80") : opt.inactive;
|
|
39834
40040
|
colorDOM.style.border = "1px solid ".concat(seriesColor);
|
|
39835
40041
|
} else {
|
|
39836
40042
|
colorDOM.style.backgroundColor = seriesColor;
|
|
@@ -39857,7 +40063,140 @@ var plugins_legend_modules = {
|
|
|
39857
40063
|
containerDOM.style.overflow = 'hidden';
|
|
39858
40064
|
containerDOM.dataset.type = 'container';
|
|
39859
40065
|
this.legendBoxDOM.appendChild(containerDOM);
|
|
39860
|
-
|
|
40066
|
+
|
|
40067
|
+
if (series.show) {
|
|
40068
|
+
this.seriesInfo.count++;
|
|
40069
|
+
}
|
|
40070
|
+
},
|
|
40071
|
+
|
|
40072
|
+
/**
|
|
40073
|
+
* Add Legend Items With aggregation Values
|
|
40074
|
+
* Only chartOption > legend > table > use : true
|
|
40075
|
+
* @param series
|
|
40076
|
+
*/
|
|
40077
|
+
addLegendWithValues: function addLegendWithValues(series) {
|
|
40078
|
+
var _opt$table2,
|
|
40079
|
+
_this$getAggregations,
|
|
40080
|
+
_opt$table3,
|
|
40081
|
+
_opt$table3$style,
|
|
40082
|
+
_columns$name,
|
|
40083
|
+
_this8 = this;
|
|
40084
|
+
|
|
40085
|
+
var opt = this.options.legend;
|
|
40086
|
+
var columns = opt === null || opt === void 0 ? void 0 : (_opt$table2 = opt.table) === null || _opt$table2 === void 0 ? void 0 : _opt$table2.columns;
|
|
40087
|
+
var aggregations = (_this$getAggregations = this.getAggregations()) === null || _this$getAggregations === void 0 ? void 0 : _this$getAggregations[series === null || series === void 0 ? void 0 : series.sId];
|
|
40088
|
+
|
|
40089
|
+
if (!aggregations || !columns) {
|
|
40090
|
+
return;
|
|
40091
|
+
} // create row
|
|
40092
|
+
|
|
40093
|
+
|
|
40094
|
+
var rowDOM = document.createElement('tr');
|
|
40095
|
+
rowDOM.className = "ev-chart-legend--table__row ".concat(!series.show ? ' inactive' : '');
|
|
40096
|
+
helpers_util.setDOMStyle(rowDOM, (_opt$table3 = opt.table) === null || _opt$table3 === void 0 ? void 0 : (_opt$table3$style = _opt$table3.style) === null || _opt$table3$style === void 0 ? void 0 : _opt$table3$style.row);
|
|
40097
|
+
rowDOM.series = series;
|
|
40098
|
+
rowDOM.dataset.type = 'container'; // create td - color
|
|
40099
|
+
|
|
40100
|
+
var colorWrapperDOM = document.createElement('td');
|
|
40101
|
+
colorWrapperDOM.className = 'ev-chart-legend--table__color-wrapper';
|
|
40102
|
+
colorWrapperDOM.dataset.type = 'color';
|
|
40103
|
+
var colorDOM = document.createElement('div');
|
|
40104
|
+
colorDOM.className = 'ev-chart-legend--table__color';
|
|
40105
|
+
colorDOM.dataset.type = 'color'; // set series color
|
|
40106
|
+
|
|
40107
|
+
var seriesColor;
|
|
40108
|
+
|
|
40109
|
+
if (!series.show) {
|
|
40110
|
+
seriesColor = opt.inactive;
|
|
40111
|
+
} else if (typeof series.color !== 'string') {
|
|
40112
|
+
seriesColor = series.color[series.color.length - 1][1];
|
|
40113
|
+
} else {
|
|
40114
|
+
seriesColor = series.color;
|
|
40115
|
+
}
|
|
40116
|
+
|
|
40117
|
+
switch (series.type) {
|
|
40118
|
+
case 'line':
|
|
40119
|
+
{
|
|
40120
|
+
if (series.fill) {
|
|
40121
|
+
colorDOM.style.backgroundColor = "".concat(seriesColor, "80");
|
|
40122
|
+
colorDOM.style.border = "1px solid ".concat(seriesColor);
|
|
40123
|
+
} else {
|
|
40124
|
+
if (series.point) {
|
|
40125
|
+
colorDOM.className += ' ev-chart-legend--table__color--point-line';
|
|
40126
|
+
}
|
|
40127
|
+
|
|
40128
|
+
colorDOM.className += ' ev-chart-legend--table__color--line';
|
|
40129
|
+
colorDOM.style.backgroundColor = seriesColor;
|
|
40130
|
+
}
|
|
40131
|
+
|
|
40132
|
+
break;
|
|
40133
|
+
}
|
|
40134
|
+
|
|
40135
|
+
case 'bar':
|
|
40136
|
+
case 'pie':
|
|
40137
|
+
default:
|
|
40138
|
+
{
|
|
40139
|
+
colorDOM.style.height = '10px';
|
|
40140
|
+
colorDOM.style.backgroundColor = seriesColor;
|
|
40141
|
+
break;
|
|
40142
|
+
}
|
|
40143
|
+
}
|
|
40144
|
+
|
|
40145
|
+
if (series.type === 'line' && series.fill) {
|
|
40146
|
+
colorDOM.style.height = '8px';
|
|
40147
|
+
colorDOM.style.backgroundColor = series.show ? "".concat(seriesColor, "80") : opt.inactive;
|
|
40148
|
+
colorDOM.style.border = "1px solid ".concat(seriesColor);
|
|
40149
|
+
} else {
|
|
40150
|
+
colorDOM.style.backgroundColor = seriesColor;
|
|
40151
|
+
}
|
|
40152
|
+
|
|
40153
|
+
colorWrapperDOM.appendChild(colorDOM);
|
|
40154
|
+
rowDOM.appendChild(colorWrapperDOM); // create td - name
|
|
40155
|
+
|
|
40156
|
+
var nameDOM = document.createElement('td');
|
|
40157
|
+
nameDOM.className = 'ev-chart-legend--table__name';
|
|
40158
|
+
nameDOM.style.color = series.show ? opt.color : opt.inactive;
|
|
40159
|
+
nameDOM.textContent = series.name;
|
|
40160
|
+
nameDOM.setAttribute('title', series.name);
|
|
40161
|
+
nameDOM.dataset.type = 'name';
|
|
40162
|
+
helpers_util.setDOMStyle(nameDOM, columns === null || columns === void 0 ? void 0 : (_columns$name = columns.name) === null || _columns$name === void 0 ? void 0 : _columns$name.style);
|
|
40163
|
+
|
|
40164
|
+
if (!series.show) {
|
|
40165
|
+
nameDOM.style.color = opt.inactive;
|
|
40166
|
+
}
|
|
40167
|
+
|
|
40168
|
+
rowDOM.appendChild(nameDOM); // create td - values
|
|
40169
|
+
|
|
40170
|
+
var columnKeyList = Object.keys(columns);
|
|
40171
|
+
columnKeyList === null || columnKeyList === void 0 ? void 0 : columnKeyList.forEach(function (key) {
|
|
40172
|
+
if (key === 'name') {
|
|
40173
|
+
return;
|
|
40174
|
+
}
|
|
40175
|
+
|
|
40176
|
+
if (columns[key].use) {
|
|
40177
|
+
var _columns$key2;
|
|
40178
|
+
|
|
40179
|
+
var formattedTxt = _this8.getFormattedValue(columns[key], +aggregations[key]);
|
|
40180
|
+
|
|
40181
|
+
var valueDOM = document.createElement('td');
|
|
40182
|
+
valueDOM.className = 'ev-chart-legend--table__value';
|
|
40183
|
+
valueDOM.style.color = series.show ? opt.color : opt.inactive;
|
|
40184
|
+
valueDOM.textContent = formattedTxt;
|
|
40185
|
+
valueDOM.dataset.type = key.toString();
|
|
40186
|
+
helpers_util.setDOMStyle(valueDOM, (_columns$key2 = columns[key]) === null || _columns$key2 === void 0 ? void 0 : _columns$key2.style);
|
|
40187
|
+
|
|
40188
|
+
if (!series.show) {
|
|
40189
|
+
valueDOM.style.color = opt.inactive;
|
|
40190
|
+
}
|
|
40191
|
+
|
|
40192
|
+
rowDOM.appendChild(valueDOM);
|
|
40193
|
+
}
|
|
40194
|
+
});
|
|
40195
|
+
this.legendTableDOM.appendChild(rowDOM);
|
|
40196
|
+
|
|
40197
|
+
if (series.show) {
|
|
40198
|
+
this.seriesInfo.count++;
|
|
40199
|
+
}
|
|
39861
40200
|
},
|
|
39862
40201
|
|
|
39863
40202
|
/**
|
|
@@ -39866,13 +40205,13 @@ var plugins_legend_modules = {
|
|
|
39866
40205
|
* @returns {undefined}
|
|
39867
40206
|
*/
|
|
39868
40207
|
setLegendPosition: function setLegendPosition() {
|
|
39869
|
-
var _opt$legend, _this$wrapperDOM, _this$legendDOM, _this$
|
|
40208
|
+
var _opt$legend, _this$wrapperDOM, _this$legendDOM, _this$legendBoxDOM2, _this$resizeDOM, _opt$title, _opt$title2, _opt$legend2, _opt$legend$padding, _opt$legend3;
|
|
39870
40209
|
|
|
39871
40210
|
var opt = this.options;
|
|
39872
40211
|
var position = opt === null || opt === void 0 ? void 0 : (_opt$legend = opt.legend) === null || _opt$legend === void 0 ? void 0 : _opt$legend.position;
|
|
39873
40212
|
var wrapperStyle = (_this$wrapperDOM = this.wrapperDOM) === null || _this$wrapperDOM === void 0 ? void 0 : _this$wrapperDOM.style;
|
|
39874
40213
|
var legendStyle = (_this$legendDOM = this.legendDOM) === null || _this$legendDOM === void 0 ? void 0 : _this$legendDOM.style;
|
|
39875
|
-
var boxStyle = (_this$
|
|
40214
|
+
var boxStyle = (_this$legendBoxDOM2 = this.legendBoxDOM) === null || _this$legendBoxDOM2 === void 0 ? void 0 : _this$legendBoxDOM2.style;
|
|
39876
40215
|
var resizeStyle = (_this$resizeDOM = this.resizeDOM) === null || _this$resizeDOM === void 0 ? void 0 : _this$resizeDOM.style;
|
|
39877
40216
|
var chartRect;
|
|
39878
40217
|
var legendPad;
|
|
@@ -40009,13 +40348,13 @@ var plugins_legend_modules = {
|
|
|
40009
40348
|
* @returns {undefined}
|
|
40010
40349
|
*/
|
|
40011
40350
|
updateLegendContainerSize: function updateLegendContainerSize() {
|
|
40012
|
-
var _this$
|
|
40351
|
+
var _this$options3;
|
|
40013
40352
|
|
|
40014
40353
|
if (!this.options || !this.legendBoxDOM) {
|
|
40015
40354
|
return;
|
|
40016
40355
|
}
|
|
40017
40356
|
|
|
40018
|
-
var opt = (_this$
|
|
40357
|
+
var opt = (_this$options3 = this.options) === null || _this$options3 === void 0 ? void 0 : _this$options3.legend;
|
|
40019
40358
|
var container = this.legendBoxDOM.getElementsByClassName('ev-chart-legend-container');
|
|
40020
40359
|
|
|
40021
40360
|
if (!container) {
|
|
@@ -40221,6 +40560,30 @@ var plugins_legend_modules = {
|
|
|
40221
40560
|
legendStyle.width = '0';
|
|
40222
40561
|
legendStyle.height = '0';
|
|
40223
40562
|
wrapperStyle.padding = "".concat(title, "px 0 0 0");
|
|
40563
|
+
},
|
|
40564
|
+
|
|
40565
|
+
/**
|
|
40566
|
+
* Get formatted value by formatter function
|
|
40567
|
+
* Only chartOption > legend > table > use : true
|
|
40568
|
+
* @param formatter
|
|
40569
|
+
* @param decimalPoint
|
|
40570
|
+
* @param value
|
|
40571
|
+
* @returns {string}
|
|
40572
|
+
*/
|
|
40573
|
+
getFormattedValue: function getFormattedValue(_ref2, value) {
|
|
40574
|
+
var formatter = _ref2.formatter,
|
|
40575
|
+
decimalPoint = _ref2.decimalPoint;
|
|
40576
|
+
var formattedTxt;
|
|
40577
|
+
|
|
40578
|
+
if (formatter) {
|
|
40579
|
+
formattedTxt = formatter(value);
|
|
40580
|
+
}
|
|
40581
|
+
|
|
40582
|
+
if (!formatter || typeof formattedTxt !== 'string') {
|
|
40583
|
+
formattedTxt = helpers_util.labelSignFormat(value, decimalPoint);
|
|
40584
|
+
}
|
|
40585
|
+
|
|
40586
|
+
return formattedTxt;
|
|
40224
40587
|
}
|
|
40225
40588
|
};
|
|
40226
40589
|
/* harmony default export */ var plugins_legend = (plugins_legend_modules);
|
|
@@ -42510,6 +42873,10 @@ var plugins_pie_modules = {
|
|
|
42510
42873
|
radius -= pieOption.pieStroke.lineWidth;
|
|
42511
42874
|
}
|
|
42512
42875
|
|
|
42876
|
+
if (radius < 0) {
|
|
42877
|
+
return;
|
|
42878
|
+
}
|
|
42879
|
+
|
|
42513
42880
|
pie.or = radius;
|
|
42514
42881
|
|
|
42515
42882
|
if (ix < pieDataSet.length - 1) {
|
|
@@ -42610,6 +42977,10 @@ var plugins_pie_modules = {
|
|
|
42610
42977
|
radius -= pieOption.pieStroke.lineWidth;
|
|
42611
42978
|
}
|
|
42612
42979
|
|
|
42980
|
+
if (radius < 0) {
|
|
42981
|
+
return;
|
|
42982
|
+
}
|
|
42983
|
+
|
|
42613
42984
|
pie.or = radius;
|
|
42614
42985
|
|
|
42615
42986
|
if (ix < pieDataSet.length - 1) {
|
|
@@ -44054,7 +44425,9 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
44054
44425
|
var groups = this.data.groups;
|
|
44055
44426
|
var series = this.data.series;
|
|
44056
44427
|
var updateSeries = updateInfo.updateSeries,
|
|
44057
|
-
updateSelTip = updateInfo.updateSelTip
|
|
44428
|
+
updateSelTip = updateInfo.updateSelTip,
|
|
44429
|
+
updateLegend = updateInfo.updateLegend,
|
|
44430
|
+
updateData = updateInfo.updateData;
|
|
44058
44431
|
|
|
44059
44432
|
if (!this.isInit) {
|
|
44060
44433
|
return;
|
|
@@ -44114,10 +44487,18 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
44114
44487
|
}
|
|
44115
44488
|
|
|
44116
44489
|
if (options.legend.show) {
|
|
44490
|
+
var _options$legend, _options$legend$table;
|
|
44491
|
+
|
|
44492
|
+
var useTable = !!((_options$legend = options.legend) !== null && _options$legend !== void 0 && (_options$legend$table = _options$legend.table) !== null && _options$legend$table !== void 0 && _options$legend$table.use) && options.type !== 'heatmap' && options.type !== 'scatter';
|
|
44493
|
+
|
|
44117
44494
|
if (!this.isInitLegend) {
|
|
44118
44495
|
this.initLegend();
|
|
44119
44496
|
} else if (updateSeries) {
|
|
44120
44497
|
this.updateLegend();
|
|
44498
|
+
} else if (updateLegend) {
|
|
44499
|
+
this.forceUpdateLegend();
|
|
44500
|
+
} else if (useTable && updateData) {
|
|
44501
|
+
this.updateLegendTableValues();
|
|
44121
44502
|
}
|
|
44122
44503
|
|
|
44123
44504
|
this.setLegendPosition();
|
|
@@ -44339,7 +44720,35 @@ var DEFAULT_OPTIONS = {
|
|
|
44339
44720
|
inactive: '#aaa',
|
|
44340
44721
|
width: 140,
|
|
44341
44722
|
height: 24,
|
|
44342
|
-
allowResize: false
|
|
44723
|
+
allowResize: false,
|
|
44724
|
+
table: {
|
|
44725
|
+
use: false,
|
|
44726
|
+
columns: {
|
|
44727
|
+
name: {
|
|
44728
|
+
title: 'Name'
|
|
44729
|
+
},
|
|
44730
|
+
min: {
|
|
44731
|
+
title: 'MIN',
|
|
44732
|
+
use: false
|
|
44733
|
+
},
|
|
44734
|
+
max: {
|
|
44735
|
+
title: 'MAX',
|
|
44736
|
+
use: false
|
|
44737
|
+
},
|
|
44738
|
+
avg: {
|
|
44739
|
+
title: 'AVG',
|
|
44740
|
+
use: false
|
|
44741
|
+
},
|
|
44742
|
+
total: {
|
|
44743
|
+
title: 'TOTAL',
|
|
44744
|
+
use: false
|
|
44745
|
+
},
|
|
44746
|
+
last: {
|
|
44747
|
+
title: 'LAST',
|
|
44748
|
+
use: false
|
|
44749
|
+
}
|
|
44750
|
+
}
|
|
44751
|
+
}
|
|
44343
44752
|
},
|
|
44344
44753
|
itemHighlight: true,
|
|
44345
44754
|
seriesHighlight: true,
|
|
@@ -44703,13 +45112,15 @@ var uses_useWrapper = function useWrapper(options) {
|
|
|
44703
45112
|
return props.options;
|
|
44704
45113
|
}, function (chartOpt) {
|
|
44705
45114
|
var newOpt = getNormalizedOptions(chartOpt);
|
|
45115
|
+
var isUpdateLegend = !lodash_es_isEqual(newOpt.legend, evChart.options.legend);
|
|
44706
45116
|
evChart.options = lodash_es_cloneDeep(newOpt);
|
|
44707
45117
|
evChart.update({
|
|
44708
45118
|
updateSeries: false,
|
|
44709
45119
|
updateSelTip: {
|
|
44710
45120
|
update: false,
|
|
44711
45121
|
keepDomain: false
|
|
44712
|
-
}
|
|
45122
|
+
},
|
|
45123
|
+
updateLegend: isUpdateLegend
|
|
44713
45124
|
});
|
|
44714
45125
|
}, {
|
|
44715
45126
|
deep: true
|
|
@@ -44722,13 +45133,15 @@ var uses_useWrapper = function useWrapper(options) {
|
|
|
44722
45133
|
}, function (chartData) {
|
|
44723
45134
|
var newData = getNormalizedData(chartData);
|
|
44724
45135
|
var isUpdateSeries = !lodash_es_isEqual(newData.series, evChart.data.series) || !lodash_es_isEqual(newData.groups, evChart.data.groups) || props.options.type === 'heatMap';
|
|
45136
|
+
var isUpdateData = !lodash_es_isEqual(newData.data, evChart.data);
|
|
44725
45137
|
evChart.data = lodash_es_cloneDeep(newData);
|
|
44726
45138
|
evChart.update({
|
|
44727
45139
|
updateSeries: isUpdateSeries,
|
|
44728
45140
|
updateSelTip: {
|
|
44729
45141
|
update: true,
|
|
44730
45142
|
keepDomain: false
|
|
44731
|
-
}
|
|
45143
|
+
},
|
|
45144
|
+
updateData: isUpdateData
|
|
44732
45145
|
});
|
|
44733
45146
|
}, {
|
|
44734
45147
|
deep: true
|
|
@@ -44814,8 +45227,8 @@ var uses_useWrapper = function useWrapper(options) {
|
|
|
44814
45227
|
});
|
|
44815
45228
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=script&lang=js
|
|
44816
45229
|
|
|
44817
|
-
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=
|
|
44818
|
-
var
|
|
45230
|
+
// EXTERNAL MODULE: ./src/components/chart/Chart.vue?vue&type=style&index=0&id=1fece3ae&lang=scss
|
|
45231
|
+
var Chartvue_type_style_index_0_id_1fece3ae_lang_scss = __webpack_require__("488e");
|
|
44819
45232
|
|
|
44820
45233
|
// CONCATENATED MODULE: ./src/components/chart/Chart.vue
|
|
44821
45234
|
|
|
@@ -44825,7 +45238,7 @@ var Chartvue_type_style_index_0_id_df219c50_lang_scss = __webpack_require__("2fe
|
|
|
44825
45238
|
|
|
44826
45239
|
|
|
44827
45240
|
|
|
44828
|
-
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',
|
|
45241
|
+
const Chart_exports_ = /*#__PURE__*/exportHelper_default()(Chartvue_type_script_lang_js, [['render',Chartvue_type_template_id_1fece3ae_render]])
|
|
44829
45242
|
|
|
44830
45243
|
/* harmony default export */ var Chart = (Chart_exports_);
|
|
44831
45244
|
// CONCATENATED MODULE: ./src/components/chart/index.js
|