evui 3.4.60 → 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 +160 -82
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +160 -82
- 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 +12 -11
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,
|
|
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
|
|
|
@@ -18305,36 +18362,30 @@ var uses_useDropdown = function useDropdown(param) {
|
|
|
18305
18362
|
|
|
18306
18363
|
items = itemWrapper.value.querySelectorAll('.ev-select-dropbox-item');
|
|
18307
18364
|
maxWidth = 0;
|
|
18308
|
-
itemPadding = 0;
|
|
18309
18365
|
items.forEach(function (item) {
|
|
18310
18366
|
var itemWidth = item.scrollWidth;
|
|
18311
18367
|
|
|
18312
18368
|
if (itemWidth > maxWidth) {
|
|
18313
18369
|
maxWidth = itemWidth;
|
|
18314
18370
|
}
|
|
18315
|
-
|
|
18316
|
-
if (itemPadding === 0) {
|
|
18317
|
-
var style = window.getComputedStyle(item);
|
|
18318
|
-
itemPadding = parseFloat(style.paddingLeft) + parseFloat(style.paddingRight);
|
|
18319
|
-
}
|
|
18320
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;
|
|
18321
18376
|
windowWidth = window.innerWidth;
|
|
18322
18377
|
dropboxRect = dropbox.value.getBoundingClientRect();
|
|
18323
18378
|
dropboxLeft = dropboxRect.left;
|
|
18324
|
-
maxAllowedWidth = windowWidth - dropboxLeft -
|
|
18379
|
+
maxAllowedWidth = windowWidth - dropboxLeft - 20;
|
|
18325
18380
|
finalWidth = Math.max(Math.min(maxWidth, maxAllowedWidth), initialDropboxWidth.value);
|
|
18326
|
-
|
|
18327
|
-
|
|
18328
|
-
dropboxWidth.value = "".concat(Math.max(finalWidth + itemPadding - 10, 100), "px");
|
|
18329
|
-
}
|
|
18330
|
-
|
|
18331
|
-
_context4.next = 17;
|
|
18381
|
+
dropboxWidth.value = "".concat(finalWidth, "px");
|
|
18382
|
+
_context4.next = 20;
|
|
18332
18383
|
break;
|
|
18333
18384
|
|
|
18334
|
-
case
|
|
18385
|
+
case 19:
|
|
18335
18386
|
dropboxWidth.value = '100%';
|
|
18336
18387
|
|
|
18337
|
-
case
|
|
18388
|
+
case 20:
|
|
18338
18389
|
case "end":
|
|
18339
18390
|
return _context4.stop();
|
|
18340
18391
|
}
|
|
@@ -18390,10 +18441,6 @@ var uses_useDropdown = function useDropdown(param) {
|
|
|
18390
18441
|
return changeDropboxPosition();
|
|
18391
18442
|
|
|
18392
18443
|
case 2:
|
|
18393
|
-
_context6.next = 4;
|
|
18394
|
-
return calculateDropboxWidth();
|
|
18395
|
-
|
|
18396
|
-
case 4:
|
|
18397
18444
|
case "end":
|
|
18398
18445
|
return _context6.stop();
|
|
18399
18446
|
}
|
|
@@ -32762,27 +32809,31 @@ var GridSummaryvue_type_style_index_0_id_36e7032c_lang_scss_scoped_true = __webp
|
|
|
32762
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"]])
|
|
32763
32810
|
|
|
32764
32811
|
/* harmony default export */ var GridSummary = (GridSummary_exports_);
|
|
32765
|
-
//
|
|
32812
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.fixed.js
|
|
32813
|
+
var es_string_fixed = __webpack_require__("c7cd");
|
|
32766
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
|
|
32767
32816
|
|
|
32768
32817
|
|
|
32769
|
-
|
|
32818
|
+
|
|
32819
|
+
|
|
32820
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_1 = {
|
|
32770
32821
|
class: "ev-grid-column-setting__header"
|
|
32771
32822
|
};
|
|
32772
|
-
var
|
|
32823
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_2 = {
|
|
32773
32824
|
class: "header-title"
|
|
32774
32825
|
};
|
|
32775
|
-
var
|
|
32826
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_3 = {
|
|
32776
32827
|
class: "ev-grid-column-setting__content"
|
|
32777
32828
|
};
|
|
32778
|
-
var
|
|
32829
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_4 = {
|
|
32779
32830
|
key: 1,
|
|
32780
32831
|
class: "is-empty"
|
|
32781
32832
|
};
|
|
32782
|
-
var
|
|
32833
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_5 = {
|
|
32783
32834
|
class: "ev-grid-column-setting__footer"
|
|
32784
32835
|
};
|
|
32785
|
-
function
|
|
32836
|
+
function GridColumnSettingvue_type_template_id_d537a1e8_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32786
32837
|
var _component_ev_text_field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-text-field");
|
|
32787
32838
|
|
|
32788
32839
|
var _component_ev_checkbox = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-checkbox");
|
|
@@ -32800,7 +32851,7 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32800
32851
|
ref: "columnSettingWrapper",
|
|
32801
32852
|
class: "ev-grid-column-setting",
|
|
32802
32853
|
style: $setup.columnSettingStyle
|
|
32803
|
-
}, [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, {
|
|
32804
32855
|
modelValue: $setup.searchVm,
|
|
32805
32856
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
|
|
32806
32857
|
return $setup.searchVm = $event;
|
|
@@ -32808,7 +32859,7 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32808
32859
|
type: "search",
|
|
32809
32860
|
placeholder: $props.textInfo.search,
|
|
32810
32861
|
onInput: $setup.onSearchColumn
|
|
32811
|
-
}, 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, {
|
|
32812
32863
|
key: 0,
|
|
32813
32864
|
modelValue: $setup.checkColumnGroup,
|
|
32814
32865
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) {
|
|
@@ -32823,17 +32874,18 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32823
32874
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_ev_checkbox, {
|
|
32824
32875
|
key: "column_".concat(idx),
|
|
32825
32876
|
label: column === null || column === void 0 ? void 0 : column.text,
|
|
32877
|
+
disabled: !!(column !== null && column !== void 0 && column.fixed),
|
|
32826
32878
|
"tooltip-title": (_column$label = column === null || column === void 0 ? void 0 : column.label) !== null && _column$label !== void 0 ? _column$label : ''
|
|
32827
32879
|
}, {
|
|
32828
32880
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
32829
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)];
|
|
32830
32882
|
}),
|
|
32831
32883
|
_: 2
|
|
32832
|
-
}, 1032, ["label", "tooltip-title"]);
|
|
32884
|
+
}, 1032, ["label", "disabled", "tooltip-title"]);
|
|
32833
32885
|
}), 128))];
|
|
32834
32886
|
}),
|
|
32835
32887
|
_: 1
|
|
32836
|
-
}, 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, {
|
|
32837
32889
|
type: "primary",
|
|
32838
32890
|
disabled: $setup.isDisabled,
|
|
32839
32891
|
onClick: $setup.onApplyColumn
|
|
@@ -32844,7 +32896,7 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32844
32896
|
_: 1
|
|
32845
32897
|
}, 8, ["disabled", "onClick"])])], 4), [[_directive_clickoutside, $setup.hideColumnSetting]])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
32846
32898
|
}
|
|
32847
|
-
// CONCATENATED MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=template&id=
|
|
32899
|
+
// CONCATENATED MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=template&id=d537a1e8
|
|
32848
32900
|
|
|
32849
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
|
|
32850
32902
|
|
|
@@ -32859,6 +32911,7 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32859
32911
|
|
|
32860
32912
|
|
|
32861
32913
|
|
|
32914
|
+
|
|
32862
32915
|
/* harmony default export */ var GridColumnSettingvue_type_script_lang_js = ({
|
|
32863
32916
|
name: 'EVGridColumnSetting',
|
|
32864
32917
|
directives: {
|
|
@@ -33032,7 +33085,8 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
33032
33085
|
label: col.caption,
|
|
33033
33086
|
text: col.field,
|
|
33034
33087
|
originChecked: !col.hiddenDisplay,
|
|
33035
|
-
checked: isChecked
|
|
33088
|
+
checked: isChecked,
|
|
33089
|
+
fixed: col.fixed
|
|
33036
33090
|
};
|
|
33037
33091
|
});
|
|
33038
33092
|
checkColumnGroup.value = originColumnList.value.filter(function (col) {
|
|
@@ -33174,8 +33228,8 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
33174
33228
|
});
|
|
33175
33229
|
// CONCATENATED MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=script&lang=js
|
|
33176
33230
|
|
|
33177
|
-
// EXTERNAL MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=style&index=0&id=
|
|
33178
|
-
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");
|
|
33179
33233
|
|
|
33180
33234
|
// CONCATENATED MODULE: ./src/components/grid/GridColumnSetting.vue
|
|
33181
33235
|
|
|
@@ -33185,7 +33239,7 @@ var GridColumnSettingvue_type_style_index_0_id_e4672144_lang_scss = __webpack_re
|
|
|
33185
33239
|
|
|
33186
33240
|
|
|
33187
33241
|
|
|
33188
|
-
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]])
|
|
33189
33243
|
|
|
33190
33244
|
/* harmony default export */ var GridColumnSetting = (GridColumnSetting_exports_);
|
|
33191
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
|
|
@@ -34820,6 +34874,7 @@ function uniqBy(array, iteratee) {
|
|
|
34820
34874
|
|
|
34821
34875
|
|
|
34822
34876
|
|
|
34877
|
+
|
|
34823
34878
|
|
|
34824
34879
|
|
|
34825
34880
|
var uses_this = undefined;
|
|
@@ -36296,7 +36351,7 @@ var uses_contextMenuEvent = function contextMenuEvent(params) {
|
|
|
36296
36351
|
}, {
|
|
36297
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',
|
|
36298
36353
|
iconClass: 'ev-icon-visibility-off',
|
|
36299
|
-
disabled: !useGridSetting.value || stores.orderedColumns.length === 1,
|
|
36354
|
+
disabled: !useGridSetting.value || stores.orderedColumns.length === 1 || column.fixed,
|
|
36300
36355
|
hidden: (_contextInfo$hiddenCo4 = contextInfo.hiddenColumnMenuItem) === null || _contextInfo$hiddenCo4 === void 0 ? void 0 : _contextInfo$hiddenCo4.hide,
|
|
36301
36356
|
click: function click() {
|
|
36302
36357
|
setColumnHidden(column.field);
|
|
@@ -51992,9 +52047,13 @@ var element_tip_modules = {
|
|
|
51992
52047
|
* @returns {undefined}
|
|
51993
52048
|
*/
|
|
51994
52049
|
drawTips: function drawTips(tipLocationInfo) {
|
|
51995
|
-
var
|
|
52050
|
+
var _opt$tooltip,
|
|
52051
|
+
_opt$tooltip3,
|
|
52052
|
+
_opt$tooltip3$formatt,
|
|
52053
|
+
_this = this;
|
|
51996
52054
|
|
|
51997
52055
|
var opt = this.options;
|
|
52056
|
+
var tooltipValueFormatter = null;
|
|
51998
52057
|
var isHorizontal = !!opt.horizontal;
|
|
51999
52058
|
var maxTipOpt = opt.maxTip;
|
|
52000
52059
|
var selTipOpt = opt.selectItem;
|
|
@@ -52002,6 +52061,16 @@ var element_tip_modules = {
|
|
|
52002
52061
|
var maxArgs;
|
|
52003
52062
|
var isExistSelectedLabel;
|
|
52004
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
|
+
|
|
52005
52074
|
if (labelTipOpt.use && labelTipOpt.showTip) {
|
|
52006
52075
|
var isHeatMap = opt.type === 'heatMap';
|
|
52007
52076
|
isExistSelectedLabel = isHeatMap ? this.drawLabelTipForHeatMap() : this.drawLabelTip();
|
|
@@ -52073,7 +52142,16 @@ var element_tip_modules = {
|
|
|
52073
52142
|
maxArgs = this.calculateTipInfo(seriesInfo, 'max', null);
|
|
52074
52143
|
|
|
52075
52144
|
if (maxTipOpt.use && maxArgs) {
|
|
52076
|
-
|
|
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
|
+
|
|
52077
52155
|
this.drawTextTip(_objectSpread2({
|
|
52078
52156
|
opt: maxTipOpt,
|
|
52079
52157
|
tipType: 'max',
|