evui 3.3.15 → 3.3.18
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 +378 -169
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +378 -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/chart/chart.core.js +21 -5
- package/src/components/chart/element/element.bar.js +8 -1
- package/src/components/chart/element/element.heatmap.js +7 -3
- package/src/components/chart/helpers/helpers.constant.js +10 -0
- package/src/components/chart/helpers/helpers.util.js +8 -1
- package/src/components/chart/model/model.store.js +12 -1
- package/src/components/chart/plugins/plugins.legend.js +27 -7
- package/src/components/chart/plugins/plugins.tooltip.js +43 -21
- package/src/components/chart/scale/scale.js +48 -0
- package/src/components/chart/scale/scale.step.js +2 -0
- package/src/components/chart/scale/scale.time.category.js +2 -0
- package/src/components/chart/uses.js +2 -0
- package/src/components/grid/uses.js +6 -4
- package/src/components/menu/Menu.vue +12 -4
- package/src/components/menu/MenuItem.vue +24 -6
- package/src/components/pagination/pageButton.vue +0 -1
package/dist/evui.common.js
CHANGED
|
@@ -4906,6 +4906,20 @@ function stubFalse() {
|
|
|
4906
4906
|
/* unused harmony reexport * */
|
|
4907
4907
|
|
|
4908
4908
|
|
|
4909
|
+
/***/ }),
|
|
4910
|
+
|
|
4911
|
+
/***/ "3229":
|
|
4912
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4913
|
+
|
|
4914
|
+
// Imports
|
|
4915
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
4916
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4917
|
+
// Module
|
|
4918
|
+
exports.push([module.i, ".ev-menu li,.ev-menu ol,.ev-menu ul{list-style:none}", ""]);
|
|
4919
|
+
// Exports
|
|
4920
|
+
module.exports = exports;
|
|
4921
|
+
|
|
4922
|
+
|
|
4909
4923
|
/***/ }),
|
|
4910
4924
|
|
|
4911
4925
|
/***/ "339f":
|
|
@@ -5277,6 +5291,17 @@ exports.push([module.i, ".ev-menu-list{position:absolute;width:0;height:0;white-
|
|
|
5277
5291
|
module.exports = exports;
|
|
5278
5292
|
|
|
5279
5293
|
|
|
5294
|
+
/***/ }),
|
|
5295
|
+
|
|
5296
|
+
/***/ "45da":
|
|
5297
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5298
|
+
|
|
5299
|
+
"use strict";
|
|
5300
|
+
/* 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_Menu_vue_vue_type_style_index_0_id_769a7540_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ac90");
|
|
5301
|
+
/* 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_Menu_vue_vue_type_style_index_0_id_769a7540_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_Menu_vue_vue_type_style_index_0_id_769a7540_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
5302
|
+
/* unused harmony reexport * */
|
|
5303
|
+
|
|
5304
|
+
|
|
5280
5305
|
/***/ }),
|
|
5281
5306
|
|
|
5282
5307
|
/***/ "45fc":
|
|
@@ -6148,6 +6173,20 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma
|
|
|
6148
6173
|
});
|
|
6149
6174
|
|
|
6150
6175
|
|
|
6176
|
+
/***/ }),
|
|
6177
|
+
|
|
6178
|
+
/***/ "558c":
|
|
6179
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6180
|
+
|
|
6181
|
+
// Imports
|
|
6182
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
6183
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
6184
|
+
// Module
|
|
6185
|
+
exports.push([module.i, ".ev-menu-item{line-height:1.3em}.ev-menu-item:not(.depth1){padding-left:10px}.ev-menu-item.active>.ev-menu-title{color:#1a6afe!important}.dark .ev-menu-item.active>.ev-menu-title{color:#007aff!important}.ev-menu-title{display:flex;position:relative;padding:3px 7px;margin-bottom:6px;cursor:pointer;align-items:center;line-height:1.5em;word-break:break-all}.ev-menu-title:hover:not(.expandable){color:#1a6afe!important}.dark .ev-menu-title:hover:not(.expandable){color:#007aff!important}.ev-menu-title.expandable{padding-right:27px}.ev-menu-title.disabled{color:#848484!important}.ev-menu-title.disabled:hover{cursor:not-allowed;color:#848484!important}.ev-menu-title .list-expend-icon{position:absolute;top:50%;right:7px;transform:translateY(-50%);transition:transform .2s ease-in-out}.ev-menu-title .list-expend-icon.expend{transform:translateY(-50%) rotate(180deg)}.ev-menu-title .text{display:inline-block;margin-left:4px;flex:1}", ""]);
|
|
6186
|
+
// Exports
|
|
6187
|
+
module.exports = exports;
|
|
6188
|
+
|
|
6189
|
+
|
|
6151
6190
|
/***/ }),
|
|
6152
6191
|
|
|
6153
6192
|
/***/ "5692":
|
|
@@ -6512,21 +6551,6 @@ var update = add("4329b7f9", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
6512
6551
|
|
|
6513
6552
|
/***/ }),
|
|
6514
6553
|
|
|
6515
|
-
/***/ "6285":
|
|
6516
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6517
|
-
|
|
6518
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
6519
|
-
|
|
6520
|
-
// load the styles
|
|
6521
|
-
var content = __webpack_require__("68f0");
|
|
6522
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
6523
|
-
if(content.locals) module.exports = content.locals;
|
|
6524
|
-
// add the styles to the DOM
|
|
6525
|
-
var add = __webpack_require__("499e").default
|
|
6526
|
-
var update = add("e9f0be08", content, true, {"sourceMap":false,"shadowMode":false});
|
|
6527
|
-
|
|
6528
|
-
/***/ }),
|
|
6529
|
-
|
|
6530
6554
|
/***/ "6360":
|
|
6531
6555
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6532
6556
|
|
|
@@ -6820,20 +6844,6 @@ exports.push([module.i, ".ev-input,.ev-textarea{width:100%;outline:0;background-
|
|
|
6820
6844
|
module.exports = exports;
|
|
6821
6845
|
|
|
6822
6846
|
|
|
6823
|
-
/***/ }),
|
|
6824
|
-
|
|
6825
|
-
/***/ "68f0":
|
|
6826
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6827
|
-
|
|
6828
|
-
// Imports
|
|
6829
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
6830
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
6831
|
-
// Module
|
|
6832
|
-
exports.push([module.i, ".ev-menu-item{line-height:1.3em}.ev-menu-item:not(.depth1){padding-left:10px}.ev-menu-item.active>.ev-menu-title{color:#1a6afe!important}.dark .ev-menu-item.active>.ev-menu-title{color:#007aff!important}.ev-menu-title{display:flex;position:relative;padding:3px 7px;margin-bottom:6px;cursor:pointer;align-items:center;line-height:1.5em;word-break:break-all}.ev-menu-title:hover:not(.expandable){color:#1a6afe!important}.dark .ev-menu-title:hover:not(.expandable){color:#007aff!important}.ev-menu-title.expandable{padding-right:27px}.ev-menu-title .list-expend-icon{position:absolute;top:50%;right:7px;transform:translateY(-50%);transition:transform .2s ease-in-out}.ev-menu-title .list-expend-icon.expend{transform:translateY(-50%) rotate(180deg)}.ev-menu-title .text{display:inline-block;margin-left:4px;flex:1}", ""]);
|
|
6833
|
-
// Exports
|
|
6834
|
-
module.exports = exports;
|
|
6835
|
-
|
|
6836
|
-
|
|
6837
6847
|
/***/ }),
|
|
6838
6848
|
|
|
6839
6849
|
/***/ "69f3":
|
|
@@ -7449,20 +7459,6 @@ $({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
|
|
|
7449
7459
|
addToUnscopables(FIND);
|
|
7450
7460
|
|
|
7451
7461
|
|
|
7452
|
-
/***/ }),
|
|
7453
|
-
|
|
7454
|
-
/***/ "7dca":
|
|
7455
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
7456
|
-
|
|
7457
|
-
// Imports
|
|
7458
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
7459
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
7460
|
-
// Module
|
|
7461
|
-
exports.push([module.i, ".ev-menu li,.ev-menu ol,.ev-menu ul{list-style:none}", ""]);
|
|
7462
|
-
// Exports
|
|
7463
|
-
module.exports = exports;
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
7462
|
/***/ }),
|
|
7467
7463
|
|
|
7468
7464
|
/***/ "7dd0":
|
|
@@ -7879,17 +7875,6 @@ exports.push([module.i, "#ev-message-box-modal{display:flex;position:fixed;top:0
|
|
|
7879
7875
|
module.exports = exports;
|
|
7880
7876
|
|
|
7881
7877
|
|
|
7882
|
-
/***/ }),
|
|
7883
|
-
|
|
7884
|
-
/***/ "8fef":
|
|
7885
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7886
|
-
|
|
7887
|
-
"use strict";
|
|
7888
|
-
/* 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_Menu_vue_vue_type_style_index_0_id_2e5ea49a_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fb4e");
|
|
7889
|
-
/* 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_Menu_vue_vue_type_style_index_0_id_2e5ea49a_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_Menu_vue_vue_type_style_index_0_id_2e5ea49a_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
7890
|
-
/* unused harmony reexport * */
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
7878
|
/***/ }),
|
|
7894
7879
|
|
|
7895
7880
|
/***/ "90e3":
|
|
@@ -7972,7 +7957,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
7972
7957
|
/***/ "9224":
|
|
7973
7958
|
/***/ (function(module) {
|
|
7974
7959
|
|
|
7975
|
-
module.exports = JSON.parse("{\"a\":\"3.3.
|
|
7960
|
+
module.exports = JSON.parse("{\"a\":\"3.3.18\"}");
|
|
7976
7961
|
|
|
7977
7962
|
/***/ }),
|
|
7978
7963
|
|
|
@@ -9551,6 +9536,21 @@ module.exports = function (argument) {
|
|
|
9551
9536
|
};
|
|
9552
9537
|
|
|
9553
9538
|
|
|
9539
|
+
/***/ }),
|
|
9540
|
+
|
|
9541
|
+
/***/ "a82d":
|
|
9542
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9543
|
+
|
|
9544
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
9545
|
+
|
|
9546
|
+
// load the styles
|
|
9547
|
+
var content = __webpack_require__("558c");
|
|
9548
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
9549
|
+
if(content.locals) module.exports = content.locals;
|
|
9550
|
+
// add the styles to the DOM
|
|
9551
|
+
var add = __webpack_require__("499e").default
|
|
9552
|
+
var update = add("2dc34cfa", content, true, {"sourceMap":false,"shadowMode":false});
|
|
9553
|
+
|
|
9554
9554
|
/***/ }),
|
|
9555
9555
|
|
|
9556
9556
|
/***/ "a854":
|
|
@@ -9580,6 +9580,17 @@ module.exports = function (argument) {
|
|
|
9580
9580
|
|
|
9581
9581
|
module.exports = __webpack_require__.p + "img/icon_mysql.7ea26d5d.svg";
|
|
9582
9582
|
|
|
9583
|
+
/***/ }),
|
|
9584
|
+
|
|
9585
|
+
/***/ "a8b3":
|
|
9586
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9587
|
+
|
|
9588
|
+
"use strict";
|
|
9589
|
+
/* 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_MenuItem_vue_vue_type_style_index_0_id_1b7c83bf_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a82d");
|
|
9590
|
+
/* 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_MenuItem_vue_vue_type_style_index_0_id_1b7c83bf_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_MenuItem_vue_vue_type_style_index_0_id_1b7c83bf_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
9591
|
+
/* unused harmony reexport * */
|
|
9592
|
+
|
|
9593
|
+
|
|
9583
9594
|
/***/ }),
|
|
9584
9595
|
|
|
9585
9596
|
/***/ "a9e3":
|
|
@@ -9722,6 +9733,21 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
9722
9733
|
});
|
|
9723
9734
|
|
|
9724
9735
|
|
|
9736
|
+
/***/ }),
|
|
9737
|
+
|
|
9738
|
+
/***/ "ac90":
|
|
9739
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9740
|
+
|
|
9741
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
9742
|
+
|
|
9743
|
+
// load the styles
|
|
9744
|
+
var content = __webpack_require__("3229");
|
|
9745
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
9746
|
+
if(content.locals) module.exports = content.locals;
|
|
9747
|
+
// add the styles to the DOM
|
|
9748
|
+
var add = __webpack_require__("499e").default
|
|
9749
|
+
var update = add("0d92aee2", content, true, {"sourceMap":false,"shadowMode":false});
|
|
9750
|
+
|
|
9725
9751
|
/***/ }),
|
|
9726
9752
|
|
|
9727
9753
|
/***/ "ad6d":
|
|
@@ -11147,17 +11173,6 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT
|
|
|
11147
11173
|
});
|
|
11148
11174
|
|
|
11149
11175
|
|
|
11150
|
-
/***/ }),
|
|
11151
|
-
|
|
11152
|
-
/***/ "da44":
|
|
11153
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11154
|
-
|
|
11155
|
-
"use strict";
|
|
11156
|
-
/* 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_MenuItem_vue_vue_type_style_index_0_id_b0cca0fc_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6285");
|
|
11157
|
-
/* 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_MenuItem_vue_vue_type_style_index_0_id_b0cca0fc_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_MenuItem_vue_vue_type_style_index_0_id_b0cca0fc_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
11158
|
-
/* unused harmony reexport * */
|
|
11159
|
-
|
|
11160
|
-
|
|
11161
11176
|
/***/ }),
|
|
11162
11177
|
|
|
11163
11178
|
/***/ "da84":
|
|
@@ -25098,61 +25113,67 @@ Progress.install = function (app) {
|
|
|
25098
25113
|
};
|
|
25099
25114
|
|
|
25100
25115
|
/* harmony default export */ var progress = (Progress);
|
|
25101
|
-
// 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/menu/Menu.vue?vue&type=template&id=
|
|
25116
|
+
// 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/menu/Menu.vue?vue&type=template&id=769a7540
|
|
25102
25117
|
|
|
25103
25118
|
|
|
25104
|
-
var
|
|
25119
|
+
var Menuvue_type_template_id_769a7540_hoisted_1 = {
|
|
25105
25120
|
class: "ev-menu"
|
|
25106
25121
|
};
|
|
25107
|
-
function
|
|
25122
|
+
function Menuvue_type_template_id_769a7540_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25108
25123
|
var _component_menu_item = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("menu-item");
|
|
25109
25124
|
|
|
25110
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul",
|
|
25125
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", Menuvue_type_template_id_769a7540_hoisted_1, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($props.items, function (menu, index) {
|
|
25111
25126
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_menu_item, {
|
|
25112
25127
|
key: "".concat(menu.text, "_").concat(index, "_0"),
|
|
25113
25128
|
item: menu,
|
|
25114
25129
|
"selected-item": $props.modelValue,
|
|
25115
25130
|
expandable: $props.expandable,
|
|
25131
|
+
disabled: $props.disabled,
|
|
25116
25132
|
comp: $setup.component,
|
|
25117
25133
|
onClick: $setup.clickMenu
|
|
25118
|
-
}, null, 8, ["item", "selected-item", "expandable", "comp", "onClick"]);
|
|
25134
|
+
}, null, 8, ["item", "selected-item", "expandable", "disabled", "comp", "onClick"]);
|
|
25119
25135
|
}), 128))]);
|
|
25120
25136
|
}
|
|
25121
|
-
// CONCATENATED MODULE: ./src/components/menu/Menu.vue?vue&type=template&id=
|
|
25137
|
+
// CONCATENATED MODULE: ./src/components/menu/Menu.vue?vue&type=template&id=769a7540
|
|
25122
25138
|
|
|
25123
|
-
// 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/menu/MenuItem.vue?vue&type=template&id=
|
|
25139
|
+
// 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/menu/MenuItem.vue?vue&type=template&id=1b7c83bf
|
|
25124
25140
|
|
|
25125
25141
|
|
|
25126
|
-
var
|
|
25142
|
+
var MenuItemvue_type_template_id_1b7c83bf_hoisted_1 = {
|
|
25127
25143
|
class: "text"
|
|
25128
25144
|
};
|
|
25129
25145
|
|
|
25130
|
-
var
|
|
25146
|
+
var MenuItemvue_type_template_id_1b7c83bf_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("i", {
|
|
25131
25147
|
class: "ev-icon-s-arrow-up"
|
|
25132
25148
|
}, null, -1);
|
|
25133
25149
|
|
|
25134
|
-
function
|
|
25150
|
+
function MenuItemvue_type_template_id_1b7c83bf_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25135
25151
|
return !$props.item.hidden ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("li", {
|
|
25136
25152
|
key: 0,
|
|
25137
25153
|
class: ['ev-menu-item', "depth".concat($props.depth), {
|
|
25138
|
-
active: $props.item.value === $props.selectedItem
|
|
25154
|
+
active: !$props.item.disabled && $props.item.value === $props.selectedItem
|
|
25139
25155
|
}]
|
|
25140
25156
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
|
|
25141
25157
|
class: ['ev-menu-title', {
|
|
25142
|
-
'expandable': $setup.hasChild && $props.expandable
|
|
25158
|
+
'expandable': $setup.hasChild && $props.expandable,
|
|
25159
|
+
'disabled': $props.item.disabled
|
|
25143
25160
|
}],
|
|
25144
25161
|
onClick: _cache[1] || (_cache[1] = function ($event) {
|
|
25145
|
-
return $setup.clickMenu(
|
|
25162
|
+
return $setup.clickMenu({
|
|
25163
|
+
item: $props.item,
|
|
25164
|
+
depth: $props.depth,
|
|
25165
|
+
disabled: $props.item.disabled
|
|
25166
|
+
});
|
|
25146
25167
|
})
|
|
25147
25168
|
}, [!!$props.item.iconClass ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("i", {
|
|
25148
25169
|
key: 0,
|
|
25149
25170
|
class: ['front-icon', $props.item.iconClass]
|
|
25150
|
-
}, null, 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span",
|
|
25171
|
+
}, null, 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span", MenuItemvue_type_template_id_1b7c83bf_hoisted_1, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($props.item.text || $props.item.value), 1), $props.expandable && $setup.hasChild ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
|
|
25151
25172
|
key: 1,
|
|
25152
25173
|
class: ['list-expend-icon', {
|
|
25153
25174
|
'expend': $props.expandable && $setup.isExpand
|
|
25154
25175
|
}]
|
|
25155
|
-
}, [
|
|
25176
|
+
}, [MenuItemvue_type_template_id_1b7c83bf_hoisted_2], 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 2), $setup.hasChild ? 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"])("ol", {
|
|
25156
25177
|
key: 0,
|
|
25157
25178
|
class: ['ev-menu-sub', "depth".concat($props.depth)]
|
|
25158
25179
|
}, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($props.item.children, function (menu, index) {
|
|
@@ -25162,12 +25183,13 @@ function MenuItemvue_type_template_id_b0cca0fc_render(_ctx, _cache, $props, $set
|
|
|
25162
25183
|
item: menu,
|
|
25163
25184
|
"selected-item": $props.selectedItem,
|
|
25164
25185
|
expandable: $props.expandable,
|
|
25186
|
+
disabled: $props.disabled,
|
|
25165
25187
|
comp: $props.comp,
|
|
25166
25188
|
onClick: $setup.clickMenu
|
|
25167
|
-
}, null, 8, ["depth", "item", "selected-item", "expandable", "comp", "onClick"]);
|
|
25189
|
+
}, null, 8, ["depth", "item", "selected-item", "expandable", "disabled", "comp", "onClick"]);
|
|
25168
25190
|
}), 128))], 2)), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], $setup.isExpand]]) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
25169
25191
|
}
|
|
25170
|
-
// CONCATENATED MODULE: ./src/components/menu/MenuItem.vue?vue&type=template&id=
|
|
25192
|
+
// CONCATENATED MODULE: ./src/components/menu/MenuItem.vue?vue&type=template&id=1b7c83bf
|
|
25171
25193
|
|
|
25172
25194
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/menu/MenuItem.vue?vue&type=script&lang=js
|
|
25173
25195
|
|
|
@@ -25195,6 +25217,9 @@ function MenuItemvue_type_template_id_b0cca0fc_render(_ctx, _cache, $props, $set
|
|
|
25195
25217
|
} else if (obj.hidden !== undefined && typeof obj.hidden !== 'boolean') {
|
|
25196
25218
|
console.warn('[EVUI][Menu] hidden attribute must be \'Boolean\' type.');
|
|
25197
25219
|
return false;
|
|
25220
|
+
} else if (obj.disabled !== undefined && typeof obj.disabled !== 'boolean') {
|
|
25221
|
+
console.warn('[EVUI][Menu] disabled attribute must be \'Boolean\' type.');
|
|
25222
|
+
return false;
|
|
25198
25223
|
}
|
|
25199
25224
|
|
|
25200
25225
|
return true;
|
|
@@ -25211,6 +25236,10 @@ function MenuItemvue_type_template_id_b0cca0fc_render(_ctx, _cache, $props, $set
|
|
|
25211
25236
|
comp: {
|
|
25212
25237
|
type: Object,
|
|
25213
25238
|
default: function _default() {}
|
|
25239
|
+
},
|
|
25240
|
+
disabled: {
|
|
25241
|
+
type: Boolean,
|
|
25242
|
+
default: false
|
|
25214
25243
|
}
|
|
25215
25244
|
},
|
|
25216
25245
|
emits: ['click'],
|
|
@@ -25222,13 +25251,13 @@ function MenuItemvue_type_template_id_b0cca0fc_render(_ctx, _cache, $props, $set
|
|
|
25222
25251
|
return !!props.item.children && !!props.item.children.length;
|
|
25223
25252
|
});
|
|
25224
25253
|
|
|
25225
|
-
var clickMenu = function clickMenu(
|
|
25226
|
-
if (hasChild.value && depth === props.depth) {
|
|
25254
|
+
var clickMenu = function clickMenu(params) {
|
|
25255
|
+
if (hasChild.value && params.depth === props.depth) {
|
|
25227
25256
|
if (props.expandable) {
|
|
25228
25257
|
isExpand.value = !isExpand.value;
|
|
25229
25258
|
}
|
|
25230
25259
|
} else {
|
|
25231
|
-
emit('click',
|
|
25260
|
+
emit('click', params);
|
|
25232
25261
|
}
|
|
25233
25262
|
};
|
|
25234
25263
|
|
|
@@ -25241,8 +25270,8 @@ function MenuItemvue_type_template_id_b0cca0fc_render(_ctx, _cache, $props, $set
|
|
|
25241
25270
|
});
|
|
25242
25271
|
// CONCATENATED MODULE: ./src/components/menu/MenuItem.vue?vue&type=script&lang=js
|
|
25243
25272
|
|
|
25244
|
-
// EXTERNAL MODULE: ./src/components/menu/MenuItem.vue?vue&type=style&index=0&id=
|
|
25245
|
-
var
|
|
25273
|
+
// EXTERNAL MODULE: ./src/components/menu/MenuItem.vue?vue&type=style&index=0&id=1b7c83bf&lang=scss
|
|
25274
|
+
var MenuItemvue_type_style_index_0_id_1b7c83bf_lang_scss = __webpack_require__("a8b3");
|
|
25246
25275
|
|
|
25247
25276
|
// CONCATENATED MODULE: ./src/components/menu/MenuItem.vue
|
|
25248
25277
|
|
|
@@ -25250,7 +25279,7 @@ var MenuItemvue_type_style_index_0_id_b0cca0fc_lang_scss = __webpack_require__("
|
|
|
25250
25279
|
|
|
25251
25280
|
|
|
25252
25281
|
|
|
25253
|
-
MenuItemvue_type_script_lang_js.render =
|
|
25282
|
+
MenuItemvue_type_script_lang_js.render = MenuItemvue_type_template_id_1b7c83bf_render
|
|
25254
25283
|
|
|
25255
25284
|
/* harmony default export */ var MenuItem = (MenuItemvue_type_script_lang_js);
|
|
25256
25285
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/menu/Menu.vue?vue&type=script&lang=js
|
|
@@ -25277,6 +25306,10 @@ MenuItemvue_type_script_lang_js.render = MenuItemvue_type_template_id_b0cca0fc_r
|
|
|
25277
25306
|
expandable: {
|
|
25278
25307
|
type: Boolean,
|
|
25279
25308
|
default: true
|
|
25309
|
+
},
|
|
25310
|
+
disabled: {
|
|
25311
|
+
type: Boolean,
|
|
25312
|
+
default: false
|
|
25280
25313
|
}
|
|
25281
25314
|
},
|
|
25282
25315
|
emits: ['update:modelValue', 'change'],
|
|
@@ -25286,10 +25319,13 @@ MenuItemvue_type_script_lang_js.render = MenuItemvue_type_template_id_b0cca0fc_r
|
|
|
25286
25319
|
return props.modelValue === item.value;
|
|
25287
25320
|
}));
|
|
25288
25321
|
|
|
25289
|
-
var clickMenu = function clickMenu(
|
|
25290
|
-
|
|
25291
|
-
|
|
25292
|
-
|
|
25322
|
+
var clickMenu = function clickMenu(params) {
|
|
25323
|
+
if (!params.disabled) {
|
|
25324
|
+
var newMenuItem = params.item;
|
|
25325
|
+
emit('update:modelValue', newMenuItem.value);
|
|
25326
|
+
emit('change', newMenuItem, prevMenuItem.value);
|
|
25327
|
+
prevMenuItem.value = newMenuItem;
|
|
25328
|
+
}
|
|
25293
25329
|
};
|
|
25294
25330
|
|
|
25295
25331
|
var component = MenuItem;
|
|
@@ -25301,8 +25337,8 @@ MenuItemvue_type_script_lang_js.render = MenuItemvue_type_template_id_b0cca0fc_r
|
|
|
25301
25337
|
});
|
|
25302
25338
|
// CONCATENATED MODULE: ./src/components/menu/Menu.vue?vue&type=script&lang=js
|
|
25303
25339
|
|
|
25304
|
-
// EXTERNAL MODULE: ./src/components/menu/Menu.vue?vue&type=style&index=0&id=
|
|
25305
|
-
var
|
|
25340
|
+
// EXTERNAL MODULE: ./src/components/menu/Menu.vue?vue&type=style&index=0&id=769a7540&lang=scss
|
|
25341
|
+
var Menuvue_type_style_index_0_id_769a7540_lang_scss = __webpack_require__("45da");
|
|
25306
25342
|
|
|
25307
25343
|
// CONCATENATED MODULE: ./src/components/menu/Menu.vue
|
|
25308
25344
|
|
|
@@ -25310,7 +25346,7 @@ var Menuvue_type_style_index_0_id_2e5ea49a_lang_scss = __webpack_require__("8fef
|
|
|
25310
25346
|
|
|
25311
25347
|
|
|
25312
25348
|
|
|
25313
|
-
Menuvue_type_script_lang_js.render =
|
|
25349
|
+
Menuvue_type_script_lang_js.render = Menuvue_type_template_id_769a7540_render
|
|
25314
25350
|
|
|
25315
25351
|
/* harmony default export */ var Menu = (Menuvue_type_script_lang_js);
|
|
25316
25352
|
// CONCATENATED MODULE: ./src/components/menu/index.js
|
|
@@ -28566,6 +28602,7 @@ function uniqBy(array, iteratee) {
|
|
|
28566
28602
|
|
|
28567
28603
|
|
|
28568
28604
|
|
|
28605
|
+
|
|
28569
28606
|
|
|
28570
28607
|
|
|
28571
28608
|
var uses_this = undefined;
|
|
@@ -29651,11 +29688,20 @@ var uses_contextMenuEvent = function contextMenuEvent(params) {
|
|
|
29651
29688
|
rowIndex = target.parentElement.parentElement.dataset.index;
|
|
29652
29689
|
}
|
|
29653
29690
|
|
|
29691
|
+
var clickedRow;
|
|
29692
|
+
|
|
29654
29693
|
if (rowIndex) {
|
|
29655
|
-
var
|
|
29656
|
-
|
|
29694
|
+
var _stores$viewStore$fin;
|
|
29695
|
+
|
|
29696
|
+
clickedRow = (_stores$viewStore$fin = stores.viewStore.find(function (row) {
|
|
29697
|
+
return row[ROW_INDEX] === +rowIndex;
|
|
29698
|
+
})) === null || _stores$viewStore$fin === void 0 ? void 0 : _stores$viewStore$fin[uses_ROW_DATA_INDEX];
|
|
29699
|
+
}
|
|
29700
|
+
|
|
29701
|
+
if (clickedRow) {
|
|
29702
|
+
selectInfo.selectedRow = clickedRow;
|
|
29657
29703
|
setContextMenu();
|
|
29658
|
-
emit('update:selected',
|
|
29704
|
+
emit('update:selected', clickedRow);
|
|
29659
29705
|
} else {
|
|
29660
29706
|
selectInfo.selectedRow = [];
|
|
29661
29707
|
setContextMenu(false);
|
|
@@ -31948,7 +31994,15 @@ function reverse(array) {
|
|
|
31948
31994
|
* @returns {string} computed value
|
|
31949
31995
|
*/
|
|
31950
31996
|
getLabelStyle: function getLabelStyle(style) {
|
|
31951
|
-
|
|
31997
|
+
var _style$fontStyle = style.fontStyle,
|
|
31998
|
+
fontStyle = _style$fontStyle === void 0 ? 'normal' : _style$fontStyle,
|
|
31999
|
+
_style$fontWeight = style.fontWeight,
|
|
32000
|
+
fontWeight = _style$fontWeight === void 0 ? 'norma' : _style$fontWeight,
|
|
32001
|
+
_style$fontSize = style.fontSize,
|
|
32002
|
+
fontSize = _style$fontSize === void 0 ? '12' : _style$fontSize,
|
|
32003
|
+
_style$fontFamily = style.fontFamily,
|
|
32004
|
+
fontFamily = _style$fontFamily === void 0 ? 'Roboto' : _style$fontFamily;
|
|
32005
|
+
return "".concat(fontStyle, " normal ").concat(fontWeight, " ").concat(fontSize, "px ").concat(fontFamily);
|
|
31952
32006
|
},
|
|
31953
32007
|
|
|
31954
32008
|
/**
|
|
@@ -32161,6 +32215,7 @@ function reverse(array) {
|
|
|
32161
32215
|
|
|
32162
32216
|
|
|
32163
32217
|
|
|
32218
|
+
|
|
32164
32219
|
var modules = {
|
|
32165
32220
|
/**
|
|
32166
32221
|
* Take chart data and labels to create normalized data and min/max info
|
|
@@ -32694,6 +32749,7 @@ var modules = {
|
|
|
32694
32749
|
var data = series.data;
|
|
32695
32750
|
var colorOpt = this.options.heatMapColor;
|
|
32696
32751
|
var categoryCnt = colorOpt.categoryCnt;
|
|
32752
|
+
var decimalPoint = colorOpt.decimalPoint;
|
|
32697
32753
|
var minValue;
|
|
32698
32754
|
var maxValue = 0;
|
|
32699
32755
|
var isExistError = false;
|
|
@@ -32722,11 +32778,22 @@ var modules = {
|
|
|
32722
32778
|
});
|
|
32723
32779
|
}
|
|
32724
32780
|
|
|
32781
|
+
var interval = maxValue > minValue ? Math.floor((maxValue - minValue) / categoryCnt) : 1;
|
|
32782
|
+
|
|
32783
|
+
if (maxValue - minValue <= categoryCnt) {
|
|
32784
|
+
if (decimalPoint > 0) {
|
|
32785
|
+
interval = +((maxValue - minValue) / categoryCnt).toFixed(decimalPoint);
|
|
32786
|
+
} else {
|
|
32787
|
+
interval = 1;
|
|
32788
|
+
}
|
|
32789
|
+
}
|
|
32790
|
+
|
|
32725
32791
|
return {
|
|
32726
32792
|
min: minValue,
|
|
32727
32793
|
max: maxValue,
|
|
32728
|
-
interval:
|
|
32729
|
-
existError: isExistError
|
|
32794
|
+
interval: interval,
|
|
32795
|
+
existError: isExistError,
|
|
32796
|
+
decimalPoint: decimalPoint
|
|
32730
32797
|
};
|
|
32731
32798
|
},
|
|
32732
32799
|
|
|
@@ -34117,6 +34184,16 @@ var AXIS_OPTION = {
|
|
|
34117
34184
|
fontWeight: 400,
|
|
34118
34185
|
fitWidth: false,
|
|
34119
34186
|
fitDir: 'right'
|
|
34187
|
+
},
|
|
34188
|
+
title: {
|
|
34189
|
+
use: false,
|
|
34190
|
+
text: null,
|
|
34191
|
+
fontWeight: 400,
|
|
34192
|
+
fontSize: 12,
|
|
34193
|
+
fontFamily: 'Roboto',
|
|
34194
|
+
textAlign: 'right',
|
|
34195
|
+
fontStyle: 'normal',
|
|
34196
|
+
color: '#808080'
|
|
34120
34197
|
}
|
|
34121
34198
|
};
|
|
34122
34199
|
var PLOT_LINE_OPTION = {
|
|
@@ -35206,7 +35283,15 @@ var element_bar_Bar = /*#__PURE__*/function () {
|
|
|
35206
35283
|
var ysp = chartRect.y2 - labelOffset.bottom;
|
|
35207
35284
|
var dArea = isHorizontal ? yArea : xArea;
|
|
35208
35285
|
var cArea = dArea / (this.data.length || 1);
|
|
35209
|
-
var cPad
|
|
35286
|
+
var cPad;
|
|
35287
|
+
var isUnableToDrawCategoryPadding = param.cPadRatio >= 1 || param.cPadRatio <= 0;
|
|
35288
|
+
|
|
35289
|
+
if (isUnableToDrawCategoryPadding) {
|
|
35290
|
+
cPad = 2;
|
|
35291
|
+
} else {
|
|
35292
|
+
cPad = Math.max(dArea * (param.cPadRatio / 2) / this.data.length, 2);
|
|
35293
|
+
}
|
|
35294
|
+
|
|
35210
35295
|
var bArea;
|
|
35211
35296
|
var w;
|
|
35212
35297
|
var h;
|
|
@@ -36187,6 +36272,7 @@ var element_pie_Pie = /*#__PURE__*/function () {
|
|
|
36187
36272
|
|
|
36188
36273
|
|
|
36189
36274
|
|
|
36275
|
+
|
|
36190
36276
|
var element_heatmap_HeatMap = /*#__PURE__*/function () {
|
|
36191
36277
|
function HeatMap(sId, opt, colorOpt) {
|
|
36192
36278
|
var _this = this;
|
|
@@ -36262,14 +36348,18 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
|
|
|
36262
36348
|
}, {
|
|
36263
36349
|
key: "getColorIndex",
|
|
36264
36350
|
value: function getColorIndex(value) {
|
|
36265
|
-
var
|
|
36351
|
+
var _this$valueOpt = this.valueOpt,
|
|
36352
|
+
existError = _this$valueOpt.existError,
|
|
36353
|
+
min = _this$valueOpt.min,
|
|
36354
|
+
interval = _this$valueOpt.interval,
|
|
36355
|
+
decimalPoint = _this$valueOpt.decimalPoint;
|
|
36266
36356
|
var maxIndex = this.colorAxis.length - 1;
|
|
36267
36357
|
|
|
36268
36358
|
if (existError && value < 0) {
|
|
36269
36359
|
return maxIndex;
|
|
36270
36360
|
}
|
|
36271
36361
|
|
|
36272
|
-
var colorIndex = Math.floor(value /
|
|
36362
|
+
var colorIndex = Math.floor(+(value - min).toFixed(decimalPoint) / interval);
|
|
36273
36363
|
|
|
36274
36364
|
if (colorIndex >= maxIndex) {
|
|
36275
36365
|
return existError ? maxIndex - 1 : maxIndex;
|
|
@@ -36523,15 +36613,22 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
|
|
|
36523
36613
|
}, {
|
|
36524
36614
|
key: "itemHighlight",
|
|
36525
36615
|
value: function itemHighlight(item, context) {
|
|
36616
|
+
var _this$colorAxis$find;
|
|
36617
|
+
|
|
36526
36618
|
var gdata = item.data;
|
|
36527
36619
|
var ctx = context;
|
|
36528
36620
|
var x = gdata.xp;
|
|
36529
36621
|
var y = gdata.yp;
|
|
36530
36622
|
var w = gdata.w;
|
|
36531
36623
|
var h = gdata.h;
|
|
36624
|
+
var cId = gdata.cId;
|
|
36625
|
+
var isShow = (_this$colorAxis$find = this.colorAxis.find(function (_ref4) {
|
|
36626
|
+
var id = _ref4.id;
|
|
36627
|
+
return id === cId;
|
|
36628
|
+
})) === null || _this$colorAxis$find === void 0 ? void 0 : _this$colorAxis$find.show;
|
|
36532
36629
|
ctx.save();
|
|
36533
36630
|
|
|
36534
|
-
if (x !== null && y !== null) {
|
|
36631
|
+
if (x !== null && y !== null && isShow) {
|
|
36535
36632
|
var color = gdata.dataColor;
|
|
36536
36633
|
ctx.strokeStyle = helpers_util.colorStringToRgba(color, 1);
|
|
36537
36634
|
ctx.fillStyle = helpers_util.colorStringToRgba(color, this.highlight.maxShadowOpacity);
|
|
@@ -36591,12 +36688,12 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
|
|
|
36591
36688
|
}
|
|
36592
36689
|
}, {
|
|
36593
36690
|
key: "findBlockRange",
|
|
36594
|
-
value: function findBlockRange(
|
|
36595
|
-
var xcp =
|
|
36596
|
-
xep =
|
|
36597
|
-
ycp =
|
|
36598
|
-
yep =
|
|
36599
|
-
range =
|
|
36691
|
+
value: function findBlockRange(_ref5) {
|
|
36692
|
+
var xcp = _ref5.xcp,
|
|
36693
|
+
xep = _ref5.xep,
|
|
36694
|
+
ycp = _ref5.ycp,
|
|
36695
|
+
yep = _ref5.yep,
|
|
36696
|
+
range = _ref5.range;
|
|
36600
36697
|
var labels = this.labels;
|
|
36601
36698
|
var blockRange = {
|
|
36602
36699
|
xsp: Math.min(xcp, xep),
|
|
@@ -36990,6 +37087,52 @@ var scale_Scale = /*#__PURE__*/function () {
|
|
|
36990
37087
|
graphMax: graphMax
|
|
36991
37088
|
};
|
|
36992
37089
|
}
|
|
37090
|
+
/**
|
|
37091
|
+
* Draw Axis Title
|
|
37092
|
+
*
|
|
37093
|
+
* @param {object} chartRect min/max information
|
|
37094
|
+
* @param {object} labelOffset label offset information
|
|
37095
|
+
*
|
|
37096
|
+
* @returns {undefined}
|
|
37097
|
+
*/
|
|
37098
|
+
|
|
37099
|
+
}, {
|
|
37100
|
+
key: "drawAxisTitle",
|
|
37101
|
+
value: function drawAxisTitle(chartRect, labelOffset) {
|
|
37102
|
+
var titleOpt = this.title;
|
|
37103
|
+
|
|
37104
|
+
if (!(titleOpt !== null && titleOpt !== void 0 && titleOpt.use) || isNaN(titleOpt.fontSize)) {
|
|
37105
|
+
return;
|
|
37106
|
+
}
|
|
37107
|
+
|
|
37108
|
+
var ctx = this.ctx;
|
|
37109
|
+
ctx.save();
|
|
37110
|
+
ctx.font = helpers_util.getLabelStyle(titleOpt);
|
|
37111
|
+
ctx.fillStyle = titleOpt.color;
|
|
37112
|
+
ctx.textAlign = titleOpt.textAlign;
|
|
37113
|
+
var axisLinePosition = {
|
|
37114
|
+
xLeft: chartRect.x1 + labelOffset.left,
|
|
37115
|
+
xRight: chartRect.x2 - labelOffset.right,
|
|
37116
|
+
yTop: chartRect.y1
|
|
37117
|
+
};
|
|
37118
|
+
var titleXPos;
|
|
37119
|
+
var titleYPos;
|
|
37120
|
+
var margin = 10;
|
|
37121
|
+
|
|
37122
|
+
if (this.type === 'x') {
|
|
37123
|
+
titleXPos = axisLinePosition.xRight;
|
|
37124
|
+
titleYPos = chartRect.y2 + titleOpt.fontSize + margin;
|
|
37125
|
+
} else {
|
|
37126
|
+
titleYPos = axisLinePosition.yTop - titleOpt.fontSize - margin;
|
|
37127
|
+
titleXPos = axisLinePosition.xLeft;
|
|
37128
|
+
}
|
|
37129
|
+
|
|
37130
|
+
if (titleXPos > 0 && titleYPos > 0) {
|
|
37131
|
+
ctx.fillText(titleOpt.text, titleXPos, titleYPos);
|
|
37132
|
+
}
|
|
37133
|
+
|
|
37134
|
+
ctx.restore();
|
|
37135
|
+
}
|
|
36993
37136
|
/**
|
|
36994
37137
|
* Draw axis
|
|
36995
37138
|
* @param {object} chartRect min/max information
|
|
@@ -37023,7 +37166,8 @@ var scale_Scale = /*#__PURE__*/function () {
|
|
|
37023
37166
|
var endPoint = aPos[this.units.rectEnd];
|
|
37024
37167
|
var offsetPoint = aPos[this.units.rectOffset(this.position)];
|
|
37025
37168
|
var offsetCounterPoint = aPos[this.units.rectOffsetCounter(this.position)];
|
|
37026
|
-
var aliasPixel;
|
|
37169
|
+
var aliasPixel;
|
|
37170
|
+
this.drawAxisTitle(chartRect, labelOffset); // label font 설정
|
|
37027
37171
|
|
|
37028
37172
|
ctx.font = helpers_util.getLabelStyle(this.labelStyle);
|
|
37029
37173
|
ctx.fillStyle = this.labelStyle.color;
|
|
@@ -38060,6 +38204,7 @@ var scale_step_StepScale = /*#__PURE__*/function (_Scale) {
|
|
|
38060
38204
|
var offsetPoint = aPos[this.units.rectOffset(this.position)];
|
|
38061
38205
|
var offsetCounterPoint = aPos[this.units.rectOffsetCounter(this.position)];
|
|
38062
38206
|
var maxWidth = chartRect.chartWidth / (this.labels.length + 2);
|
|
38207
|
+
this.drawAxisTitle(chartRect, labelOffset);
|
|
38063
38208
|
|
|
38064
38209
|
if ((_this$labelStyle = this.labelStyle) !== null && _this$labelStyle !== void 0 && _this$labelStyle.show) {
|
|
38065
38210
|
// label font 설정
|
|
@@ -38473,7 +38618,8 @@ var scale_time_category_TimeCategoryScale = /*#__PURE__*/function (_Scale) {
|
|
|
38473
38618
|
var startPoint = aPos[this.units.rectStart];
|
|
38474
38619
|
var endPoint = aPos[this.units.rectEnd];
|
|
38475
38620
|
var offsetPoint = aPos[this.units.rectOffset(this.position)];
|
|
38476
|
-
var offsetCounterPoint = aPos[this.units.rectOffsetCounter(this.position)];
|
|
38621
|
+
var offsetCounterPoint = aPos[this.units.rectOffsetCounter(this.position)];
|
|
38622
|
+
this.drawAxisTitle(chartRect, labelOffset); // label font 설정
|
|
38477
38623
|
|
|
38478
38624
|
ctx.font = helpers_util.getLabelStyle(this.labelStyle);
|
|
38479
38625
|
|
|
@@ -38689,6 +38835,7 @@ var plugins_title_modules = {
|
|
|
38689
38835
|
|
|
38690
38836
|
|
|
38691
38837
|
|
|
38838
|
+
|
|
38692
38839
|
var plugins_legend_modules = {
|
|
38693
38840
|
/**
|
|
38694
38841
|
* Create legend DOM
|
|
@@ -38778,19 +38925,44 @@ var plugins_legend_modules = {
|
|
|
38778
38925
|
var min = valueOpt.min,
|
|
38779
38926
|
max = valueOpt.max,
|
|
38780
38927
|
interval = valueOpt.interval,
|
|
38781
|
-
existError = valueOpt.existError
|
|
38782
|
-
|
|
38783
|
-
|
|
38928
|
+
existError = valueOpt.existError,
|
|
38929
|
+
decimalPoint = valueOpt.decimalPoint;
|
|
38930
|
+
var length = colorAxis.length;
|
|
38931
|
+
var endIndex = existError ? length - 2 : length - 1;
|
|
38932
|
+
|
|
38933
|
+
for (var index = 0; index < length; index++) {
|
|
38934
|
+
var colorItem = colorAxis[index];
|
|
38784
38935
|
var minValue = min + interval * index;
|
|
38785
|
-
var maxValue =
|
|
38786
|
-
|
|
38936
|
+
var maxValue = minValue + interval;
|
|
38937
|
+
|
|
38938
|
+
if (index < endIndex) {
|
|
38939
|
+
maxValue -= Math.pow(0.1, decimalPoint);
|
|
38940
|
+
} else {
|
|
38941
|
+
maxValue = max + Math.pow(0.1, decimalPoint);
|
|
38942
|
+
}
|
|
38943
|
+
|
|
38944
|
+
var name = "".concat(minValue.toFixed(decimalPoint), " - ").concat(maxValue.toFixed(decimalPoint));
|
|
38945
|
+
|
|
38946
|
+
if (min === undefined || max === undefined) {
|
|
38947
|
+
if (index === 0) {
|
|
38948
|
+
name = '0';
|
|
38949
|
+
} else {
|
|
38950
|
+
break;
|
|
38951
|
+
}
|
|
38952
|
+
} else if (existError && index === endIndex + 1) {
|
|
38953
|
+
name = 'error';
|
|
38954
|
+
} else if (minValue > max) {
|
|
38955
|
+
break;
|
|
38956
|
+
} else if (interval <= 1 && decimalPoint === 0) {
|
|
38957
|
+
name = minValue;
|
|
38958
|
+
}
|
|
38787
38959
|
|
|
38788
38960
|
_this2.addLegend({
|
|
38789
38961
|
cId: colorItem.id,
|
|
38790
38962
|
color: colorItem.value,
|
|
38791
38963
|
name: name
|
|
38792
38964
|
});
|
|
38793
|
-
}
|
|
38965
|
+
}
|
|
38794
38966
|
}
|
|
38795
38967
|
});
|
|
38796
38968
|
},
|
|
@@ -40418,6 +40590,7 @@ var plugins_interaction_modules = {
|
|
|
40418
40590
|
|
|
40419
40591
|
|
|
40420
40592
|
|
|
40593
|
+
|
|
40421
40594
|
var TITLE_HEIGHT = 30;
|
|
40422
40595
|
var TEXT_HEIGHT = 14;
|
|
40423
40596
|
var LINE_SPACING = 8;
|
|
@@ -40572,6 +40745,8 @@ var plugins_tooltip_modules = {
|
|
|
40572
40745
|
* @returns {undefined}
|
|
40573
40746
|
*/
|
|
40574
40747
|
drawTooltip: function drawTooltip(hitInfo, context) {
|
|
40748
|
+
var _opt$formatter, _opt$formatter2;
|
|
40749
|
+
|
|
40575
40750
|
var ctx = context;
|
|
40576
40751
|
var items = hitInfo.items;
|
|
40577
40752
|
var sId = hitInfo.hitId;
|
|
@@ -40589,10 +40764,19 @@ var plugins_tooltip_modules = {
|
|
|
40589
40764
|
l: 16
|
|
40590
40765
|
};
|
|
40591
40766
|
var isHorizontal = this.options.horizontal;
|
|
40592
|
-
var opt = this.options.tooltip;
|
|
40767
|
+
var opt = this.options.tooltip;
|
|
40768
|
+
var valueFormatter = typeof opt.formatter === 'function' ? opt.formatter : (_opt$formatter = opt.formatter) === null || _opt$formatter === void 0 ? void 0 : _opt$formatter.value;
|
|
40769
|
+
var titleFormatter = (_opt$formatter2 = opt.formatter) === null || _opt$formatter2 === void 0 ? void 0 : _opt$formatter2.title; // draw tooltip Title(axis label) and add style class for wrap line about too much long label.
|
|
40593
40770
|
|
|
40594
40771
|
if (this.axesX.length && this.axesY.length) {
|
|
40595
|
-
|
|
40772
|
+
if (titleFormatter) {
|
|
40773
|
+
this.tooltipHeaderDOM.textContent = titleFormatter({
|
|
40774
|
+
x: hitItem.x,
|
|
40775
|
+
y: hitItem.y
|
|
40776
|
+
});
|
|
40777
|
+
} else {
|
|
40778
|
+
this.tooltipHeaderDOM.textContent = this.options.horizontal ? this.axesY[hitAxis.y].getLabelFormat(hitItem.y) : this.axesX[hitAxis.x].getLabelFormat(hitItem.x);
|
|
40779
|
+
}
|
|
40596
40780
|
}
|
|
40597
40781
|
|
|
40598
40782
|
if (opt.textOverflow) {
|
|
@@ -40713,14 +40897,14 @@ var plugins_tooltip_modules = {
|
|
|
40713
40897
|
|
|
40714
40898
|
var formattedTxt = void 0;
|
|
40715
40899
|
|
|
40716
|
-
if (
|
|
40900
|
+
if (valueFormatter) {
|
|
40717
40901
|
if (this.options.type === 'pie') {
|
|
40718
|
-
formattedTxt =
|
|
40902
|
+
formattedTxt = valueFormatter({
|
|
40719
40903
|
value: value,
|
|
40720
40904
|
name: name
|
|
40721
40905
|
});
|
|
40722
40906
|
} else {
|
|
40723
|
-
formattedTxt =
|
|
40907
|
+
formattedTxt = valueFormatter({
|
|
40724
40908
|
x: this.options.horizontal ? value : hitItem.x,
|
|
40725
40909
|
y: this.options.horizontal ? hitItem.y : value,
|
|
40726
40910
|
name: name
|
|
@@ -40728,7 +40912,7 @@ var plugins_tooltip_modules = {
|
|
|
40728
40912
|
}
|
|
40729
40913
|
}
|
|
40730
40914
|
|
|
40731
|
-
if (!
|
|
40915
|
+
if (!valueFormatter || typeof formattedTxt !== 'string') {
|
|
40732
40916
|
formattedTxt = numberWithComma(value);
|
|
40733
40917
|
}
|
|
40734
40918
|
|
|
@@ -40753,6 +40937,8 @@ var plugins_tooltip_modules = {
|
|
|
40753
40937
|
* @returns {undefined}
|
|
40754
40938
|
*/
|
|
40755
40939
|
drawToolTipForHeatMap: function drawToolTipForHeatMap(hitInfo, context) {
|
|
40940
|
+
var _opt$formatter3, _opt$formatter4, _colorAxis$find;
|
|
40941
|
+
|
|
40756
40942
|
var ctx = context;
|
|
40757
40943
|
var items = hitInfo.items;
|
|
40758
40944
|
var sId = hitInfo.hitId;
|
|
@@ -40767,12 +40953,29 @@ var plugins_tooltip_modules = {
|
|
|
40767
40953
|
};
|
|
40768
40954
|
var isHorizontal = this.options.horizontal;
|
|
40769
40955
|
var opt = this.options.tooltip;
|
|
40770
|
-
var
|
|
40771
|
-
var
|
|
40956
|
+
var valueFormatter = typeof opt.formatter === 'function' ? opt.formatter : (_opt$formatter3 = opt.formatter) === null || _opt$formatter3 === void 0 ? void 0 : _opt$formatter3.value;
|
|
40957
|
+
var titleFormatter = (_opt$formatter4 = opt.formatter) === null || _opt$formatter4 === void 0 ? void 0 : _opt$formatter4.title;
|
|
40958
|
+
var colorAxis = Object.values(this.seriesList)[0].colorAxis;
|
|
40959
|
+
var isShow = (_colorAxis$find = colorAxis.find(function (_ref) {
|
|
40960
|
+
var id = _ref.id;
|
|
40961
|
+
return id === hitItem.cId;
|
|
40962
|
+
})) === null || _colorAxis$find === void 0 ? void 0 : _colorAxis$find.show;
|
|
40963
|
+
|
|
40964
|
+
if (!isShow) {
|
|
40965
|
+
this.tooltipClear();
|
|
40966
|
+
return;
|
|
40967
|
+
} // draw tooltip Title(axis label) and add style class for wrap line about too much long label.
|
|
40968
|
+
|
|
40772
40969
|
|
|
40773
40970
|
if (this.axesX.length) {
|
|
40774
|
-
|
|
40775
|
-
|
|
40971
|
+
if (titleFormatter) {
|
|
40972
|
+
this.tooltipHeaderDOM.textContent = titleFormatter({
|
|
40973
|
+
x: hitItem.x,
|
|
40974
|
+
y: hitItem.y
|
|
40975
|
+
});
|
|
40976
|
+
} else {
|
|
40977
|
+
this.tooltipHeaderDOM.textContent = this.axesX[hitAxis.x].getLabelFormat(hitItem.x);
|
|
40978
|
+
}
|
|
40776
40979
|
}
|
|
40777
40980
|
|
|
40778
40981
|
if (opt.textOverflow) {
|
|
@@ -40811,22 +41014,21 @@ var plugins_tooltip_modules = {
|
|
|
40811
41014
|
ctx.textBaseline = 'Bottom';
|
|
40812
41015
|
|
|
40813
41016
|
if (this.axesY.length) {
|
|
40814
|
-
|
|
40815
|
-
ctx.fillText(yValue, itemX + COLOR_MARGIN, itemY);
|
|
41017
|
+
ctx.fillText(this.axesY[hitAxis.y].getLabelFormat(hitItem.y), itemX + COLOR_MARGIN, itemY);
|
|
40816
41018
|
} // 3. Draw value
|
|
40817
41019
|
|
|
40818
41020
|
|
|
40819
41021
|
var formattedTxt = itemValue;
|
|
40820
41022
|
|
|
40821
|
-
if (
|
|
40822
|
-
formattedTxt =
|
|
40823
|
-
x:
|
|
40824
|
-
y:
|
|
41023
|
+
if (valueFormatter) {
|
|
41024
|
+
formattedTxt = valueFormatter({
|
|
41025
|
+
x: hitItem.x,
|
|
41026
|
+
y: hitItem.y,
|
|
40825
41027
|
value: itemValue
|
|
40826
41028
|
});
|
|
40827
41029
|
}
|
|
40828
41030
|
|
|
40829
|
-
if ((!
|
|
41031
|
+
if ((!valueFormatter || typeof formattedTxt !== 'string') && itemValue !== 'error') {
|
|
40830
41032
|
formattedTxt = numberWithComma(itemValue);
|
|
40831
41033
|
}
|
|
40832
41034
|
|
|
@@ -40900,6 +41102,8 @@ var plugins_tooltip_modules = {
|
|
|
40900
41102
|
var textLineCnt = 1;
|
|
40901
41103
|
|
|
40902
41104
|
for (var ix = 0; ix < seriesList.length; ix++) {
|
|
41105
|
+
var _opt$formatter5;
|
|
41106
|
+
|
|
40903
41107
|
var gdata = seriesList[ix].data;
|
|
40904
41108
|
var color = seriesList[ix].color;
|
|
40905
41109
|
var name = seriesList[ix].name;
|
|
@@ -40970,16 +41174,17 @@ var plugins_tooltip_modules = {
|
|
|
40970
41174
|
ctx.save(); // 3. Draw value
|
|
40971
41175
|
|
|
40972
41176
|
var formattedTxt = void 0;
|
|
41177
|
+
var formatter = typeof opt.formatter === 'function' ? opt.formatter : (_opt$formatter5 = opt.formatter) === null || _opt$formatter5 === void 0 ? void 0 : _opt$formatter5.value;
|
|
40973
41178
|
|
|
40974
|
-
if (
|
|
40975
|
-
formattedTxt =
|
|
41179
|
+
if (formatter) {
|
|
41180
|
+
formattedTxt = formatter({
|
|
40976
41181
|
x: xValue,
|
|
40977
41182
|
y: yValue,
|
|
40978
41183
|
name: name
|
|
40979
41184
|
});
|
|
40980
41185
|
}
|
|
40981
41186
|
|
|
40982
|
-
if (!
|
|
41187
|
+
if (!formatter || typeof formattedTxt !== 'string') {
|
|
40983
41188
|
var formattedXValue = xAxisOpt.type === 'time' ? dayjs_min_default()(xValue).format(xAxisOpt.timeFormat) : numberWithComma(xValue);
|
|
40984
41189
|
var formattedYValue = numberWithComma(yValue);
|
|
40985
41190
|
formattedTxt = "".concat(formattedXValue, ", ").concat(formattedYValue);
|
|
@@ -42228,9 +42433,11 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
42228
42433
|
{
|
|
42229
42434
|
var _this$options3 = this.options,
|
|
42230
42435
|
thickness = _this$options3.thickness,
|
|
42436
|
+
cPadRatio = _this$options3.cPadRatio,
|
|
42231
42437
|
borderRadius = _this$options3.borderRadius;
|
|
42232
42438
|
series.draw(_objectSpread2({
|
|
42233
42439
|
thickness: thickness,
|
|
42440
|
+
cPadRatio: cPadRatio,
|
|
42234
42441
|
borderRadius: borderRadius,
|
|
42235
42442
|
showSeriesCount: showSeriesCount,
|
|
42236
42443
|
showIndex: showIndex
|
|
@@ -42520,19 +42727,39 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
42520
42727
|
}, {
|
|
42521
42728
|
key: "getChartRect",
|
|
42522
42729
|
value: function getChartRect() {
|
|
42730
|
+
var _this$options$axesX$, _this$options$axesY$;
|
|
42731
|
+
|
|
42523
42732
|
var _this$getChartDOMRect = this.getChartDOMRect(),
|
|
42524
42733
|
width = _this$getChartDOMRect.width,
|
|
42525
42734
|
height = _this$getChartDOMRect.height;
|
|
42526
42735
|
|
|
42527
42736
|
var padding = this.options.padding;
|
|
42737
|
+
var xAxisTitleOpt = (_this$options$axesX$ = this.options.axesX[0]) === null || _this$options$axesX$ === void 0 ? void 0 : _this$options$axesX$.title;
|
|
42738
|
+
var yAxisTitleOpt = (_this$options$axesY$ = this.options.axesY[0]) === null || _this$options$axesY$ === void 0 ? void 0 : _this$options$axesY$.title;
|
|
42739
|
+
var titleMargin = 10;
|
|
42740
|
+
var xAxisTitleHeight = 0;
|
|
42741
|
+
|
|
42742
|
+
if (xAxisTitleOpt !== null && xAxisTitleOpt !== void 0 && xAxisTitleOpt.use && xAxisTitleOpt !== null && xAxisTitleOpt !== void 0 && xAxisTitleOpt.text) {
|
|
42743
|
+
var fontSize = isNaN(xAxisTitleOpt === null || xAxisTitleOpt === void 0 ? void 0 : xAxisTitleOpt.fontSize) ? 12 : xAxisTitleOpt === null || xAxisTitleOpt === void 0 ? void 0 : xAxisTitleOpt.fontSize;
|
|
42744
|
+
xAxisTitleHeight = fontSize + titleMargin;
|
|
42745
|
+
}
|
|
42746
|
+
|
|
42747
|
+
var yAxisTitleHeight = 0;
|
|
42748
|
+
|
|
42749
|
+
if (yAxisTitleOpt !== null && yAxisTitleOpt !== void 0 && yAxisTitleOpt.use && yAxisTitleOpt !== null && yAxisTitleOpt !== void 0 && yAxisTitleOpt.text) {
|
|
42750
|
+
var _fontSize = isNaN(yAxisTitleOpt === null || yAxisTitleOpt === void 0 ? void 0 : yAxisTitleOpt.fontSize) ? 12 : yAxisTitleOpt === null || yAxisTitleOpt === void 0 ? void 0 : yAxisTitleOpt.fontSize;
|
|
42751
|
+
|
|
42752
|
+
yAxisTitleHeight = _fontSize + titleMargin;
|
|
42753
|
+
}
|
|
42754
|
+
|
|
42528
42755
|
var horizontalPadding = padding.left + padding.right;
|
|
42529
|
-
var verticalPadding = padding.top + padding.bottom;
|
|
42756
|
+
var verticalPadding = padding.top + padding.bottom + xAxisTitleHeight + yAxisTitleHeight;
|
|
42530
42757
|
var chartWidth = width > horizontalPadding ? width - horizontalPadding : width;
|
|
42531
42758
|
var chartHeight = height > verticalPadding ? height - verticalPadding : height;
|
|
42532
42759
|
var x1 = padding.left;
|
|
42533
42760
|
var x2 = Math.max(width - padding.right, x1 + 2);
|
|
42534
|
-
var y1 = padding.top;
|
|
42535
|
-
var y2 = Math.max(height - padding.bottom, y1 + 2);
|
|
42761
|
+
var y1 = padding.top + yAxisTitleHeight;
|
|
42762
|
+
var y2 = Math.max(height - padding.bottom - xAxisTitleHeight, y1 + 2);
|
|
42536
42763
|
return {
|
|
42537
42764
|
x1: x1,
|
|
42538
42765
|
x2: x2,
|
|
@@ -42977,6 +43204,7 @@ var DEFAULT_OPTIONS = {
|
|
|
42977
43204
|
width: '100%',
|
|
42978
43205
|
height: '100%',
|
|
42979
43206
|
thickness: 1,
|
|
43207
|
+
cPadRatio: 0,
|
|
42980
43208
|
borderRadius: 0,
|
|
42981
43209
|
combo: false,
|
|
42982
43210
|
tooltip: {
|
|
@@ -43049,7 +43277,8 @@ var DEFAULT_OPTIONS = {
|
|
|
43049
43277
|
lineWidth: 1,
|
|
43050
43278
|
opacity: 1
|
|
43051
43279
|
},
|
|
43052
|
-
error: '#FF0000'
|
|
43280
|
+
error: '#FF0000',
|
|
43281
|
+
decimalPoint: 0
|
|
43053
43282
|
}
|
|
43054
43283
|
};
|
|
43055
43284
|
var DEFAULT_DATA = {
|
|
@@ -45874,27 +46103,22 @@ function Paginationvue_type_template_id_541b906a_render(_ctx, _cache, $props, $s
|
|
|
45874
46103
|
}
|
|
45875
46104
|
// CONCATENATED MODULE: ./src/components/pagination/Pagination.vue?vue&type=template&id=541b906a
|
|
45876
46105
|
|
|
45877
|
-
// 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/pagination/pageButton.vue?vue&type=template&id=
|
|
46106
|
+
// 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/pagination/pageButton.vue?vue&type=template&id=dcd27724
|
|
45878
46107
|
|
|
45879
46108
|
|
|
45880
|
-
function
|
|
46109
|
+
function pageButtonvue_type_template_id_dcd27724_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
45881
46110
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["mergeProps"])({
|
|
45882
46111
|
class: _defineProperty({
|
|
45883
46112
|
'is-current': $props.page.isCurrent,
|
|
45884
46113
|
'is-disabled': $props.disabled || $props.page.disabled
|
|
45885
46114
|
}, $props.page.class, true)
|
|
45886
46115
|
}, _ctx.$attrs, {
|
|
45887
|
-
"aria-current": $props.page.isCurrent
|
|
45888
|
-
onClick: _cache[1] || (_cache[1] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function () {
|
|
45889
|
-
var _$props$page;
|
|
45890
|
-
|
|
45891
|
-
return $props.page.click && (_$props$page = $props.page).click.apply(_$props$page, arguments);
|
|
45892
|
-
}, ["prevent"]))
|
|
46116
|
+
"aria-current": $props.page.isCurrent
|
|
45893
46117
|
}), [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "default", {}, function () {
|
|
45894
46118
|
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($props.page.number), 1)];
|
|
45895
46119
|
})], 16, ["aria-current"]);
|
|
45896
46120
|
}
|
|
45897
|
-
// CONCATENATED MODULE: ./src/components/pagination/pageButton.vue?vue&type=template&id=
|
|
46121
|
+
// CONCATENATED MODULE: ./src/components/pagination/pageButton.vue?vue&type=template&id=dcd27724
|
|
45898
46122
|
|
|
45899
46123
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/pagination/pageButton.vue?vue&type=script&lang=js
|
|
45900
46124
|
/* harmony default export */ var pageButtonvue_type_script_lang_js = ({
|
|
@@ -45916,7 +46140,7 @@ function pageButtonvue_type_template_id_9837f734_render(_ctx, _cache, $props, $s
|
|
|
45916
46140
|
|
|
45917
46141
|
|
|
45918
46142
|
|
|
45919
|
-
pageButtonvue_type_script_lang_js.render =
|
|
46143
|
+
pageButtonvue_type_script_lang_js.render = pageButtonvue_type_template_id_dcd27724_render
|
|
45920
46144
|
|
|
45921
46145
|
/* harmony default export */ var pageButton = (pageButtonvue_type_script_lang_js);
|
|
45922
46146
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/pagination/Pagination.vue?vue&type=script&lang=js
|
|
@@ -46183,21 +46407,6 @@ var EVUI = {
|
|
|
46183
46407
|
|
|
46184
46408
|
|
|
46185
46409
|
|
|
46186
|
-
/***/ }),
|
|
46187
|
-
|
|
46188
|
-
/***/ "fb4e":
|
|
46189
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
46190
|
-
|
|
46191
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
46192
|
-
|
|
46193
|
-
// load the styles
|
|
46194
|
-
var content = __webpack_require__("7dca");
|
|
46195
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
46196
|
-
if(content.locals) module.exports = content.locals;
|
|
46197
|
-
// add the styles to the DOM
|
|
46198
|
-
var add = __webpack_require__("499e").default
|
|
46199
|
-
var update = add("4f45b21c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
46200
|
-
|
|
46201
46410
|
/***/ }),
|
|
46202
46411
|
|
|
46203
46412
|
/***/ "fb6a":
|