evui 3.4.59 → 3.4.61
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 +172 -77
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +172 -77
- 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/element/element.tip.js +15 -2
- package/src/components/grid/GridColumnSetting.vue +2 -0
- package/src/components/grid/uses.js +1 -1
- package/src/components/select/uses.js +25 -9
package/dist/evui.common.js
CHANGED
|
@@ -100,6 +100,20 @@ test[TO_STRING_TAG] = 'z';
|
|
|
100
100
|
module.exports = String(test) === '[object z]';
|
|
101
101
|
|
|
102
102
|
|
|
103
|
+
/***/ }),
|
|
104
|
+
|
|
105
|
+
/***/ "011e":
|
|
106
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
107
|
+
|
|
108
|
+
// Imports
|
|
109
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
110
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
111
|
+
// Module
|
|
112
|
+
exports.push([module.i, ".ev-grid-column-setting{position:absolute;width:180px;border:1px solid #d0d0d0;background:#fff;font-size:12px;z-index:1}.ev-grid-column-setting__header{padding:10px}.ev-grid-column-setting__header .ev-text-field{margin-top:10px}.ev-grid-column-setting__content{height:120px;padding:0 10px;border-top:1px solid #ced4da;border-bottom:1px solid #ced4da;overflow:auto}.ev-grid-column-setting__content .ev-checkbox{display:block;padding:10px 0}.ev-grid-column-setting__content .ev-checkbox .ev-checkbox-label{width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ev-grid-column-setting__content .is-empty{height:30px;text-align:center}.ev-grid-column-setting__footer{display:flex;padding:5px 10px}.ev-grid-column-setting__footer .ev-button{margin-left:auto}", ""]);
|
|
113
|
+
// Exports
|
|
114
|
+
module.exports = exports;
|
|
115
|
+
|
|
116
|
+
|
|
103
117
|
/***/ }),
|
|
104
118
|
|
|
105
119
|
/***/ "0167":
|
|
@@ -5331,17 +5345,6 @@ var global = __webpack_require__("da84");
|
|
|
5331
5345
|
module.exports = global;
|
|
5332
5346
|
|
|
5333
5347
|
|
|
5334
|
-
/***/ }),
|
|
5335
|
-
|
|
5336
|
-
/***/ "429d":
|
|
5337
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5338
|
-
|
|
5339
|
-
"use strict";
|
|
5340
|
-
/* 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_GridColumnSetting_vue_vue_type_style_index_0_id_e4672144_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8d8d");
|
|
5341
|
-
/* 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_GridColumnSetting_vue_vue_type_style_index_0_id_e4672144_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_GridColumnSetting_vue_vue_type_style_index_0_id_e4672144_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
5342
|
-
/* unused harmony reexport * */
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
5348
|
/***/ }),
|
|
5346
5349
|
|
|
5347
5350
|
/***/ "44ad":
|
|
@@ -7267,6 +7270,21 @@ var TEMPLATE = String(String).split('String');
|
|
|
7267
7270
|
});
|
|
7268
7271
|
|
|
7269
7272
|
|
|
7273
|
+
/***/ }),
|
|
7274
|
+
|
|
7275
|
+
/***/ "6f15":
|
|
7276
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7277
|
+
|
|
7278
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
7279
|
+
|
|
7280
|
+
// load the styles
|
|
7281
|
+
var content = __webpack_require__("011e");
|
|
7282
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
7283
|
+
if(content.locals) module.exports = content.locals;
|
|
7284
|
+
// add the styles to the DOM
|
|
7285
|
+
var add = __webpack_require__("499e").default
|
|
7286
|
+
var update = add("33f4fcca", content, true, {"sourceMap":false,"shadowMode":false});
|
|
7287
|
+
|
|
7270
7288
|
/***/ }),
|
|
7271
7289
|
|
|
7272
7290
|
/***/ "6f53":
|
|
@@ -7856,6 +7874,25 @@ exports.push([module.i, ".ev-window-scroll-lock{overflow:hidden!important}.ev-wi
|
|
|
7856
7874
|
module.exports = exports;
|
|
7857
7875
|
|
|
7858
7876
|
|
|
7877
|
+
/***/ }),
|
|
7878
|
+
|
|
7879
|
+
/***/ "857a":
|
|
7880
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7881
|
+
|
|
7882
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
7883
|
+
|
|
7884
|
+
var quot = /"/g;
|
|
7885
|
+
|
|
7886
|
+
// B.2.3.2.1 CreateHTML(string, tag, attribute, value)
|
|
7887
|
+
// https://tc39.github.io/ecma262/#sec-createhtml
|
|
7888
|
+
module.exports = function (string, tag, attribute, value) {
|
|
7889
|
+
var S = String(requireObjectCoercible(string));
|
|
7890
|
+
var p1 = '<' + tag;
|
|
7891
|
+
if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"';
|
|
7892
|
+
return p1 + '>' + S + '</' + tag + '>';
|
|
7893
|
+
};
|
|
7894
|
+
|
|
7895
|
+
|
|
7859
7896
|
/***/ }),
|
|
7860
7897
|
|
|
7861
7898
|
/***/ "861d":
|
|
@@ -8113,21 +8150,6 @@ var update = add("fd61b3e8", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
8113
8150
|
/***/ "8d8d":
|
|
8114
8151
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8115
8152
|
|
|
8116
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
8117
|
-
|
|
8118
|
-
// load the styles
|
|
8119
|
-
var content = __webpack_require__("da97");
|
|
8120
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
8121
|
-
if(content.locals) module.exports = content.locals;
|
|
8122
|
-
// add the styles to the DOM
|
|
8123
|
-
var add = __webpack_require__("499e").default
|
|
8124
|
-
var update = add("46de021c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
8125
|
-
|
|
8126
|
-
/***/ }),
|
|
8127
|
-
|
|
8128
|
-
/***/ "8d8d3":
|
|
8129
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
8130
|
-
|
|
8131
8153
|
// Imports
|
|
8132
8154
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
8133
8155
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
@@ -11078,7 +11100,7 @@ module.exports = function (key) {
|
|
|
11078
11100
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
11079
11101
|
|
|
11080
11102
|
// load the styles
|
|
11081
|
-
var content = __webpack_require__("
|
|
11103
|
+
var content = __webpack_require__("8d8d");
|
|
11082
11104
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
11083
11105
|
if(content.locals) module.exports = content.locals;
|
|
11084
11106
|
// add the styles to the DOM
|
|
@@ -11139,7 +11161,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
11139
11161
|
/***/ "9224":
|
|
11140
11162
|
/***/ (function(module) {
|
|
11141
11163
|
|
|
11142
|
-
module.exports = JSON.parse("{\"a\":\"3.4.
|
|
11164
|
+
module.exports = JSON.parse("{\"a\":\"3.4.61\"}");
|
|
11143
11165
|
|
|
11144
11166
|
/***/ }),
|
|
11145
11167
|
|
|
@@ -13096,6 +13118,23 @@ module.exports = {
|
|
|
13096
13118
|
};
|
|
13097
13119
|
|
|
13098
13120
|
|
|
13121
|
+
/***/ }),
|
|
13122
|
+
|
|
13123
|
+
/***/ "af03":
|
|
13124
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13125
|
+
|
|
13126
|
+
var fails = __webpack_require__("d039");
|
|
13127
|
+
|
|
13128
|
+
// check the existence of a method, lowercase
|
|
13129
|
+
// of a tag and escaping quotes in arguments
|
|
13130
|
+
module.exports = function (METHOD_NAME) {
|
|
13131
|
+
return fails(function () {
|
|
13132
|
+
var test = ''[METHOD_NAME]('"');
|
|
13133
|
+
return test !== test.toLowerCase() || test.split('"').length > 3;
|
|
13134
|
+
});
|
|
13135
|
+
};
|
|
13136
|
+
|
|
13137
|
+
|
|
13099
13138
|
/***/ }),
|
|
13100
13139
|
|
|
13101
13140
|
/***/ "afaf":
|
|
@@ -13540,6 +13579,17 @@ if(content.locals) module.exports = content.locals;
|
|
|
13540
13579
|
var add = __webpack_require__("499e").default
|
|
13541
13580
|
var update = add("3a6c2639", content, true, {"sourceMap":false,"shadowMode":false});
|
|
13542
13581
|
|
|
13582
|
+
/***/ }),
|
|
13583
|
+
|
|
13584
|
+
/***/ "b7f7":
|
|
13585
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13586
|
+
|
|
13587
|
+
"use strict";
|
|
13588
|
+
/* 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_GridColumnSetting_vue_vue_type_style_index_0_id_d537a1e8_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6f15");
|
|
13589
|
+
/* 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_GridColumnSetting_vue_vue_type_style_index_0_id_d537a1e8_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_GridColumnSetting_vue_vue_type_style_index_0_id_d537a1e8_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
13590
|
+
/* unused harmony reexport * */
|
|
13591
|
+
|
|
13592
|
+
|
|
13543
13593
|
/***/ }),
|
|
13544
13594
|
|
|
13545
13595
|
/***/ "ba9f":
|
|
@@ -13780,6 +13830,26 @@ $({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
|
|
|
13780
13830
|
addToUnscopables(FIND_INDEX);
|
|
13781
13831
|
|
|
13782
13832
|
|
|
13833
|
+
/***/ }),
|
|
13834
|
+
|
|
13835
|
+
/***/ "c7cd":
|
|
13836
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13837
|
+
|
|
13838
|
+
"use strict";
|
|
13839
|
+
|
|
13840
|
+
var $ = __webpack_require__("23e7");
|
|
13841
|
+
var createHTML = __webpack_require__("857a");
|
|
13842
|
+
var forcedStringHTMLMethod = __webpack_require__("af03");
|
|
13843
|
+
|
|
13844
|
+
// `String.prototype.fixed` method
|
|
13845
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.fixed
|
|
13846
|
+
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, {
|
|
13847
|
+
fixed: function fixed() {
|
|
13848
|
+
return createHTML(this, 'tt', '', '');
|
|
13849
|
+
}
|
|
13850
|
+
});
|
|
13851
|
+
|
|
13852
|
+
|
|
13783
13853
|
/***/ }),
|
|
13784
13854
|
|
|
13785
13855
|
/***/ "c8ba":
|
|
@@ -14490,20 +14560,6 @@ module.exports =
|
|
|
14490
14560
|
|
|
14491
14561
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
|
|
14492
14562
|
|
|
14493
|
-
/***/ }),
|
|
14494
|
-
|
|
14495
|
-
/***/ "da97":
|
|
14496
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
14497
|
-
|
|
14498
|
-
// Imports
|
|
14499
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
14500
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
14501
|
-
// Module
|
|
14502
|
-
exports.push([module.i, ".ev-grid-column-setting{position:absolute;width:180px;border:1px solid #d0d0d0;background:#fff;font-size:12px;z-index:1}.ev-grid-column-setting__header{padding:10px}.ev-grid-column-setting__header .ev-text-field{margin-top:10px}.ev-grid-column-setting__content{height:120px;padding:0 10px;border-top:1px solid #ced4da;border-bottom:1px solid #ced4da;overflow:auto}.ev-grid-column-setting__content .ev-checkbox{display:block;padding:10px 0}.ev-grid-column-setting__content .ev-checkbox .ev-checkbox-label{width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ev-grid-column-setting__content .is-empty{height:30px;text-align:center}.ev-grid-column-setting__footer{display:flex;padding:5px 10px}.ev-grid-column-setting__footer .ev-button{margin-left:auto}", ""]);
|
|
14503
|
-
// Exports
|
|
14504
|
-
module.exports = exports;
|
|
14505
|
-
|
|
14506
|
-
|
|
14507
14563
|
/***/ }),
|
|
14508
14564
|
|
|
14509
14565
|
/***/ "dbb4":
|
|
@@ -18285,13 +18341,14 @@ var uses_useDropdown = function useDropdown(param) {
|
|
|
18285
18341
|
|
|
18286
18342
|
var calculateDropboxWidth = /*#__PURE__*/function () {
|
|
18287
18343
|
var _ref5 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
|
18288
|
-
var items, maxWidth, windowWidth, dropboxRect, dropboxLeft,
|
|
18344
|
+
var items, maxWidth, _window$getComputedSt, borderLeftWidth, borderRightWidth, borderXWidth, scrollbarWidth, windowWidth, dropboxRect, dropboxLeft, maxAllowedWidth, finalWidth;
|
|
18345
|
+
|
|
18289
18346
|
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
18290
18347
|
while (1) {
|
|
18291
18348
|
switch (_context4.prev = _context4.next) {
|
|
18292
18349
|
case 0:
|
|
18293
18350
|
if (!(itemWrapper.value && dropbox.value)) {
|
|
18294
|
-
_context4.next =
|
|
18351
|
+
_context4.next = 19;
|
|
18295
18352
|
break;
|
|
18296
18353
|
}
|
|
18297
18354
|
|
|
@@ -18299,8 +18356,8 @@ var uses_useDropdown = function useDropdown(param) {
|
|
|
18299
18356
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])();
|
|
18300
18357
|
|
|
18301
18358
|
case 3:
|
|
18302
|
-
if (initialDropboxWidth.value === null) {
|
|
18303
|
-
initialDropboxWidth.value =
|
|
18359
|
+
if (initialDropboxWidth.value === null || initialDropboxWidth.value !== selectWrapper.value.offsetWidth) {
|
|
18360
|
+
initialDropboxWidth.value = selectWrapper.value.offsetWidth;
|
|
18304
18361
|
}
|
|
18305
18362
|
|
|
18306
18363
|
items = itemWrapper.value.querySelectorAll('.ev-select-dropbox-item');
|
|
@@ -18312,20 +18369,23 @@ var uses_useDropdown = function useDropdown(param) {
|
|
|
18312
18369
|
maxWidth = itemWidth;
|
|
18313
18370
|
}
|
|
18314
18371
|
});
|
|
18372
|
+
_window$getComputedSt = window.getComputedStyle(dropbox.value), borderLeftWidth = _window$getComputedSt.borderLeftWidth, borderRightWidth = _window$getComputedSt.borderRightWidth;
|
|
18373
|
+
borderXWidth = parseInt(borderLeftWidth) + parseInt(borderRightWidth);
|
|
18374
|
+
scrollbarWidth = itemWrapper.value.offsetWidth - itemWrapper.value.clientWidth;
|
|
18375
|
+
maxWidth += scrollbarWidth + borderXWidth;
|
|
18315
18376
|
windowWidth = window.innerWidth;
|
|
18316
18377
|
dropboxRect = dropbox.value.getBoundingClientRect();
|
|
18317
18378
|
dropboxLeft = dropboxRect.left;
|
|
18318
|
-
|
|
18319
|
-
maxAllowedWidth = windowWidth - dropboxLeft - rightMargin - 10;
|
|
18379
|
+
maxAllowedWidth = windowWidth - dropboxLeft - 20;
|
|
18320
18380
|
finalWidth = Math.max(Math.min(maxWidth, maxAllowedWidth), initialDropboxWidth.value);
|
|
18321
|
-
dropboxWidth.value = "".concat(
|
|
18322
|
-
_context4.next =
|
|
18381
|
+
dropboxWidth.value = "".concat(finalWidth, "px");
|
|
18382
|
+
_context4.next = 20;
|
|
18323
18383
|
break;
|
|
18324
18384
|
|
|
18325
|
-
case
|
|
18385
|
+
case 19:
|
|
18326
18386
|
dropboxWidth.value = '100%';
|
|
18327
18387
|
|
|
18328
|
-
case
|
|
18388
|
+
case 20:
|
|
18329
18389
|
case "end":
|
|
18330
18390
|
return _context4.stop();
|
|
18331
18391
|
}
|
|
@@ -18381,10 +18441,6 @@ var uses_useDropdown = function useDropdown(param) {
|
|
|
18381
18441
|
return changeDropboxPosition();
|
|
18382
18442
|
|
|
18383
18443
|
case 2:
|
|
18384
|
-
_context6.next = 4;
|
|
18385
|
-
return calculateDropboxWidth();
|
|
18386
|
-
|
|
18387
|
-
case 4:
|
|
18388
18444
|
case "end":
|
|
18389
18445
|
return _context6.stop();
|
|
18390
18446
|
}
|
|
@@ -18537,11 +18593,19 @@ var uses_useDropdown = function useDropdown(param) {
|
|
|
18537
18593
|
changeDropboxPosition();
|
|
18538
18594
|
}
|
|
18539
18595
|
});
|
|
18596
|
+
|
|
18597
|
+
var handleResize = function handleResize() {
|
|
18598
|
+
if (isDropbox.value) {
|
|
18599
|
+
calculateDropboxWidth();
|
|
18600
|
+
changeDropboxPosition();
|
|
18601
|
+
}
|
|
18602
|
+
};
|
|
18603
|
+
|
|
18540
18604
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["onMounted"])(function () {
|
|
18541
|
-
window.addEventListener('resize',
|
|
18605
|
+
window.addEventListener('resize', handleResize);
|
|
18542
18606
|
});
|
|
18543
18607
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["onUnmounted"])(function () {
|
|
18544
|
-
window.removeEventListener('resize',
|
|
18608
|
+
window.removeEventListener('resize', handleResize);
|
|
18545
18609
|
});
|
|
18546
18610
|
return {
|
|
18547
18611
|
select: select,
|
|
@@ -32745,27 +32809,31 @@ var GridSummaryvue_type_style_index_0_id_36e7032c_lang_scss_scoped_true = __webp
|
|
|
32745
32809
|
const GridSummary_exports_ = /*#__PURE__*/exportHelper_default()(GridSummaryvue_type_script_lang_js, [['render',GridSummaryvue_type_template_id_36e7032c_scoped_true_render],['__scopeId',"data-v-36e7032c"]])
|
|
32746
32810
|
|
|
32747
32811
|
/* harmony default export */ var GridSummary = (GridSummary_exports_);
|
|
32748
|
-
//
|
|
32812
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.fixed.js
|
|
32813
|
+
var es_string_fixed = __webpack_require__("c7cd");
|
|
32749
32814
|
|
|
32815
|
+
// 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/grid/GridColumnSetting.vue?vue&type=template&id=d537a1e8
|
|
32750
32816
|
|
|
32751
32817
|
|
|
32752
|
-
|
|
32818
|
+
|
|
32819
|
+
|
|
32820
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_1 = {
|
|
32753
32821
|
class: "ev-grid-column-setting__header"
|
|
32754
32822
|
};
|
|
32755
|
-
var
|
|
32823
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_2 = {
|
|
32756
32824
|
class: "header-title"
|
|
32757
32825
|
};
|
|
32758
|
-
var
|
|
32826
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_3 = {
|
|
32759
32827
|
class: "ev-grid-column-setting__content"
|
|
32760
32828
|
};
|
|
32761
|
-
var
|
|
32829
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_4 = {
|
|
32762
32830
|
key: 1,
|
|
32763
32831
|
class: "is-empty"
|
|
32764
32832
|
};
|
|
32765
|
-
var
|
|
32833
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_5 = {
|
|
32766
32834
|
class: "ev-grid-column-setting__footer"
|
|
32767
32835
|
};
|
|
32768
|
-
function
|
|
32836
|
+
function GridColumnSettingvue_type_template_id_d537a1e8_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32769
32837
|
var _component_ev_text_field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-text-field");
|
|
32770
32838
|
|
|
32771
32839
|
var _component_ev_checkbox = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-checkbox");
|
|
@@ -32783,7 +32851,7 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32783
32851
|
ref: "columnSettingWrapper",
|
|
32784
32852
|
class: "ev-grid-column-setting",
|
|
32785
32853
|
style: $setup.columnSettingStyle
|
|
32786
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div",
|
|
32854
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", GridColumnSettingvue_type_template_id_d537a1e8_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("p", GridColumnSettingvue_type_template_id_d537a1e8_hoisted_2, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($props.textInfo.title), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ev_text_field, {
|
|
32787
32855
|
modelValue: $setup.searchVm,
|
|
32788
32856
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
|
|
32789
32857
|
return $setup.searchVm = $event;
|
|
@@ -32791,7 +32859,7 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32791
32859
|
type: "search",
|
|
32792
32860
|
placeholder: $props.textInfo.search,
|
|
32793
32861
|
onInput: $setup.onSearchColumn
|
|
32794
|
-
}, null, 8, ["modelValue", "placeholder", "onInput"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div",
|
|
32862
|
+
}, null, 8, ["modelValue", "placeholder", "onInput"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", GridColumnSettingvue_type_template_id_d537a1e8_hoisted_3, [$setup.columnList.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_ev_checkbox_group, {
|
|
32795
32863
|
key: 0,
|
|
32796
32864
|
modelValue: $setup.checkColumnGroup,
|
|
32797
32865
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) {
|
|
@@ -32806,17 +32874,18 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32806
32874
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_ev_checkbox, {
|
|
32807
32875
|
key: "column_".concat(idx),
|
|
32808
32876
|
label: column === null || column === void 0 ? void 0 : column.text,
|
|
32877
|
+
disabled: !!(column !== null && column !== void 0 && column.fixed),
|
|
32809
32878
|
"tooltip-title": (_column$label = column === null || column === void 0 ? void 0 : column.label) !== null && _column$label !== void 0 ? _column$label : ''
|
|
32810
32879
|
}, {
|
|
32811
32880
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
32812
32881
|
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(column === null || column === void 0 ? void 0 : column.label), 1)];
|
|
32813
32882
|
}),
|
|
32814
32883
|
_: 2
|
|
32815
|
-
}, 1032, ["label", "tooltip-title"]);
|
|
32884
|
+
}, 1032, ["label", "disabled", "tooltip-title"]);
|
|
32816
32885
|
}), 128))];
|
|
32817
32886
|
}),
|
|
32818
32887
|
_: 1
|
|
32819
|
-
}, 8, ["modelValue", "onChange"])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("p",
|
|
32888
|
+
}, 8, ["modelValue", "onChange"])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("p", GridColumnSettingvue_type_template_id_d537a1e8_hoisted_4, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($props.textInfo.empty), 1))]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", GridColumnSettingvue_type_template_id_d537a1e8_hoisted_5, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ev_button, {
|
|
32820
32889
|
type: "primary",
|
|
32821
32890
|
disabled: $setup.isDisabled,
|
|
32822
32891
|
onClick: $setup.onApplyColumn
|
|
@@ -32827,7 +32896,7 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32827
32896
|
_: 1
|
|
32828
32897
|
}, 8, ["disabled", "onClick"])])], 4), [[_directive_clickoutside, $setup.hideColumnSetting]])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
32829
32898
|
}
|
|
32830
|
-
// CONCATENATED MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=template&id=
|
|
32899
|
+
// CONCATENATED MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=template&id=d537a1e8
|
|
32831
32900
|
|
|
32832
32901
|
// 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/grid/GridColumnSetting.vue?vue&type=script&lang=js
|
|
32833
32902
|
|
|
@@ -32842,6 +32911,7 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32842
32911
|
|
|
32843
32912
|
|
|
32844
32913
|
|
|
32914
|
+
|
|
32845
32915
|
/* harmony default export */ var GridColumnSettingvue_type_script_lang_js = ({
|
|
32846
32916
|
name: 'EVGridColumnSetting',
|
|
32847
32917
|
directives: {
|
|
@@ -33015,7 +33085,8 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
33015
33085
|
label: col.caption,
|
|
33016
33086
|
text: col.field,
|
|
33017
33087
|
originChecked: !col.hiddenDisplay,
|
|
33018
|
-
checked: isChecked
|
|
33088
|
+
checked: isChecked,
|
|
33089
|
+
fixed: col.fixed
|
|
33019
33090
|
};
|
|
33020
33091
|
});
|
|
33021
33092
|
checkColumnGroup.value = originColumnList.value.filter(function (col) {
|
|
@@ -33157,8 +33228,8 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
33157
33228
|
});
|
|
33158
33229
|
// CONCATENATED MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=script&lang=js
|
|
33159
33230
|
|
|
33160
|
-
// EXTERNAL MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=style&index=0&id=
|
|
33161
|
-
var
|
|
33231
|
+
// EXTERNAL MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=style&index=0&id=d537a1e8&lang=scss
|
|
33232
|
+
var GridColumnSettingvue_type_style_index_0_id_d537a1e8_lang_scss = __webpack_require__("b7f7");
|
|
33162
33233
|
|
|
33163
33234
|
// CONCATENATED MODULE: ./src/components/grid/GridColumnSetting.vue
|
|
33164
33235
|
|
|
@@ -33168,7 +33239,7 @@ var GridColumnSettingvue_type_style_index_0_id_e4672144_lang_scss = __webpack_re
|
|
|
33168
33239
|
|
|
33169
33240
|
|
|
33170
33241
|
|
|
33171
|
-
const GridColumnSetting_exports_ = /*#__PURE__*/exportHelper_default()(GridColumnSettingvue_type_script_lang_js, [['render',
|
|
33242
|
+
const GridColumnSetting_exports_ = /*#__PURE__*/exportHelper_default()(GridColumnSettingvue_type_script_lang_js, [['render',GridColumnSettingvue_type_template_id_d537a1e8_render]])
|
|
33172
33243
|
|
|
33173
33244
|
/* harmony default export */ var GridColumnSetting = (GridColumnSetting_exports_);
|
|
33174
33245
|
// 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/grid/GridFilterSetting.vue?vue&type=template&id=e797da40
|
|
@@ -34803,6 +34874,7 @@ function uniqBy(array, iteratee) {
|
|
|
34803
34874
|
|
|
34804
34875
|
|
|
34805
34876
|
|
|
34877
|
+
|
|
34806
34878
|
|
|
34807
34879
|
|
|
34808
34880
|
var uses_this = undefined;
|
|
@@ -36279,7 +36351,7 @@ var uses_contextMenuEvent = function contextMenuEvent(params) {
|
|
|
36279
36351
|
}, {
|
|
36280
36352
|
text: (_contextInfo$columnMe7 = (_contextInfo$columnMe8 = contextInfo.columnMenuTextInfo) === null || _contextInfo$columnMe8 === void 0 ? void 0 : _contextInfo$columnMe8.hide) !== null && _contextInfo$columnMe7 !== void 0 ? _contextInfo$columnMe7 : 'Hide',
|
|
36281
36353
|
iconClass: 'ev-icon-visibility-off',
|
|
36282
|
-
disabled: !useGridSetting.value || stores.orderedColumns.length === 1,
|
|
36354
|
+
disabled: !useGridSetting.value || stores.orderedColumns.length === 1 || column.fixed,
|
|
36283
36355
|
hidden: (_contextInfo$hiddenCo4 = contextInfo.hiddenColumnMenuItem) === null || _contextInfo$hiddenCo4 === void 0 ? void 0 : _contextInfo$hiddenCo4.hide,
|
|
36284
36356
|
click: function click() {
|
|
36285
36357
|
setColumnHidden(column.field);
|
|
@@ -51975,9 +52047,13 @@ var element_tip_modules = {
|
|
|
51975
52047
|
* @returns {undefined}
|
|
51976
52048
|
*/
|
|
51977
52049
|
drawTips: function drawTips(tipLocationInfo) {
|
|
51978
|
-
var
|
|
52050
|
+
var _opt$tooltip,
|
|
52051
|
+
_opt$tooltip3,
|
|
52052
|
+
_opt$tooltip3$formatt,
|
|
52053
|
+
_this = this;
|
|
51979
52054
|
|
|
51980
52055
|
var opt = this.options;
|
|
52056
|
+
var tooltipValueFormatter = null;
|
|
51981
52057
|
var isHorizontal = !!opt.horizontal;
|
|
51982
52058
|
var maxTipOpt = opt.maxTip;
|
|
51983
52059
|
var selTipOpt = opt.selectItem;
|
|
@@ -51985,6 +52061,16 @@ var element_tip_modules = {
|
|
|
51985
52061
|
var maxArgs;
|
|
51986
52062
|
var isExistSelectedLabel;
|
|
51987
52063
|
|
|
52064
|
+
if (typeof ((_opt$tooltip = opt.tooltip) === null || _opt$tooltip === void 0 ? void 0 : _opt$tooltip.formatter) === 'function') {
|
|
52065
|
+
var _opt$tooltip2;
|
|
52066
|
+
|
|
52067
|
+
tooltipValueFormatter = (_opt$tooltip2 = opt.tooltip) === null || _opt$tooltip2 === void 0 ? void 0 : _opt$tooltip2.formatter;
|
|
52068
|
+
} else if (typeof ((_opt$tooltip3 = opt.tooltip) === null || _opt$tooltip3 === void 0 ? void 0 : (_opt$tooltip3$formatt = _opt$tooltip3.formatter) === null || _opt$tooltip3$formatt === void 0 ? void 0 : _opt$tooltip3$formatt.value) === 'function') {
|
|
52069
|
+
var _opt$tooltip4, _opt$tooltip4$formatt;
|
|
52070
|
+
|
|
52071
|
+
tooltipValueFormatter = (_opt$tooltip4 = opt.tooltip) === null || _opt$tooltip4 === void 0 ? void 0 : (_opt$tooltip4$formatt = _opt$tooltip4.formatter) === null || _opt$tooltip4$formatt === void 0 ? void 0 : _opt$tooltip4$formatt.value;
|
|
52072
|
+
}
|
|
52073
|
+
|
|
51988
52074
|
if (labelTipOpt.use && labelTipOpt.showTip) {
|
|
51989
52075
|
var isHeatMap = opt.type === 'heatMap';
|
|
51990
52076
|
isExistSelectedLabel = isHeatMap ? this.drawLabelTipForHeatMap() : this.drawLabelTip();
|
|
@@ -52056,7 +52142,16 @@ var element_tip_modules = {
|
|
|
52056
52142
|
maxArgs = this.calculateTipInfo(seriesInfo, 'max', null);
|
|
52057
52143
|
|
|
52058
52144
|
if (maxTipOpt.use && maxArgs) {
|
|
52059
|
-
|
|
52145
|
+
if (tooltipValueFormatter) {
|
|
52146
|
+
maxArgs.text = isHorizontal ? tooltipValueFormatter({
|
|
52147
|
+
x: maxArgs.value
|
|
52148
|
+
}) : tooltipValueFormatter({
|
|
52149
|
+
y: maxArgs.value
|
|
52150
|
+
});
|
|
52151
|
+
} else {
|
|
52152
|
+
maxArgs.text = numberWithComma(maxArgs.value);
|
|
52153
|
+
}
|
|
52154
|
+
|
|
52060
52155
|
this.drawTextTip(_objectSpread2({
|
|
52061
52156
|
opt: maxTipOpt,
|
|
52062
52157
|
tipType: 'max',
|