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.umd.js
CHANGED
|
@@ -109,6 +109,20 @@ test[TO_STRING_TAG] = 'z';
|
|
|
109
109
|
module.exports = String(test) === '[object z]';
|
|
110
110
|
|
|
111
111
|
|
|
112
|
+
/***/ }),
|
|
113
|
+
|
|
114
|
+
/***/ "011e":
|
|
115
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
116
|
+
|
|
117
|
+
// Imports
|
|
118
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
119
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
120
|
+
// Module
|
|
121
|
+
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}", ""]);
|
|
122
|
+
// Exports
|
|
123
|
+
module.exports = exports;
|
|
124
|
+
|
|
125
|
+
|
|
112
126
|
/***/ }),
|
|
113
127
|
|
|
114
128
|
/***/ "0167":
|
|
@@ -5340,17 +5354,6 @@ var global = __webpack_require__("da84");
|
|
|
5340
5354
|
module.exports = global;
|
|
5341
5355
|
|
|
5342
5356
|
|
|
5343
|
-
/***/ }),
|
|
5344
|
-
|
|
5345
|
-
/***/ "429d":
|
|
5346
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5347
|
-
|
|
5348
|
-
"use strict";
|
|
5349
|
-
/* 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");
|
|
5350
|
-
/* 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__);
|
|
5351
|
-
/* unused harmony reexport * */
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
5357
|
/***/ }),
|
|
5355
5358
|
|
|
5356
5359
|
/***/ "44ad":
|
|
@@ -7276,6 +7279,21 @@ var TEMPLATE = String(String).split('String');
|
|
|
7276
7279
|
});
|
|
7277
7280
|
|
|
7278
7281
|
|
|
7282
|
+
/***/ }),
|
|
7283
|
+
|
|
7284
|
+
/***/ "6f15":
|
|
7285
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7286
|
+
|
|
7287
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
7288
|
+
|
|
7289
|
+
// load the styles
|
|
7290
|
+
var content = __webpack_require__("011e");
|
|
7291
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
7292
|
+
if(content.locals) module.exports = content.locals;
|
|
7293
|
+
// add the styles to the DOM
|
|
7294
|
+
var add = __webpack_require__("499e").default
|
|
7295
|
+
var update = add("33f4fcca", content, true, {"sourceMap":false,"shadowMode":false});
|
|
7296
|
+
|
|
7279
7297
|
/***/ }),
|
|
7280
7298
|
|
|
7281
7299
|
/***/ "6f53":
|
|
@@ -7865,6 +7883,25 @@ exports.push([module.i, ".ev-window-scroll-lock{overflow:hidden!important}.ev-wi
|
|
|
7865
7883
|
module.exports = exports;
|
|
7866
7884
|
|
|
7867
7885
|
|
|
7886
|
+
/***/ }),
|
|
7887
|
+
|
|
7888
|
+
/***/ "857a":
|
|
7889
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7890
|
+
|
|
7891
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
7892
|
+
|
|
7893
|
+
var quot = /"/g;
|
|
7894
|
+
|
|
7895
|
+
// B.2.3.2.1 CreateHTML(string, tag, attribute, value)
|
|
7896
|
+
// https://tc39.github.io/ecma262/#sec-createhtml
|
|
7897
|
+
module.exports = function (string, tag, attribute, value) {
|
|
7898
|
+
var S = String(requireObjectCoercible(string));
|
|
7899
|
+
var p1 = '<' + tag;
|
|
7900
|
+
if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"';
|
|
7901
|
+
return p1 + '>' + S + '</' + tag + '>';
|
|
7902
|
+
};
|
|
7903
|
+
|
|
7904
|
+
|
|
7868
7905
|
/***/ }),
|
|
7869
7906
|
|
|
7870
7907
|
/***/ "861d":
|
|
@@ -8122,21 +8159,6 @@ var update = add("fd61b3e8", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
8122
8159
|
/***/ "8d8d":
|
|
8123
8160
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8124
8161
|
|
|
8125
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
8126
|
-
|
|
8127
|
-
// load the styles
|
|
8128
|
-
var content = __webpack_require__("da97");
|
|
8129
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
8130
|
-
if(content.locals) module.exports = content.locals;
|
|
8131
|
-
// add the styles to the DOM
|
|
8132
|
-
var add = __webpack_require__("499e").default
|
|
8133
|
-
var update = add("46de021c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
8134
|
-
|
|
8135
|
-
/***/ }),
|
|
8136
|
-
|
|
8137
|
-
/***/ "8d8d3":
|
|
8138
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
8139
|
-
|
|
8140
8162
|
// Imports
|
|
8141
8163
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
8142
8164
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
@@ -11087,7 +11109,7 @@ module.exports = function (key) {
|
|
|
11087
11109
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
11088
11110
|
|
|
11089
11111
|
// load the styles
|
|
11090
|
-
var content = __webpack_require__("
|
|
11112
|
+
var content = __webpack_require__("8d8d");
|
|
11091
11113
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
11092
11114
|
if(content.locals) module.exports = content.locals;
|
|
11093
11115
|
// add the styles to the DOM
|
|
@@ -11148,7 +11170,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
11148
11170
|
/***/ "9224":
|
|
11149
11171
|
/***/ (function(module) {
|
|
11150
11172
|
|
|
11151
|
-
module.exports = JSON.parse("{\"a\":\"3.4.
|
|
11173
|
+
module.exports = JSON.parse("{\"a\":\"3.4.61\"}");
|
|
11152
11174
|
|
|
11153
11175
|
/***/ }),
|
|
11154
11176
|
|
|
@@ -13105,6 +13127,23 @@ module.exports = {
|
|
|
13105
13127
|
};
|
|
13106
13128
|
|
|
13107
13129
|
|
|
13130
|
+
/***/ }),
|
|
13131
|
+
|
|
13132
|
+
/***/ "af03":
|
|
13133
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13134
|
+
|
|
13135
|
+
var fails = __webpack_require__("d039");
|
|
13136
|
+
|
|
13137
|
+
// check the existence of a method, lowercase
|
|
13138
|
+
// of a tag and escaping quotes in arguments
|
|
13139
|
+
module.exports = function (METHOD_NAME) {
|
|
13140
|
+
return fails(function () {
|
|
13141
|
+
var test = ''[METHOD_NAME]('"');
|
|
13142
|
+
return test !== test.toLowerCase() || test.split('"').length > 3;
|
|
13143
|
+
});
|
|
13144
|
+
};
|
|
13145
|
+
|
|
13146
|
+
|
|
13108
13147
|
/***/ }),
|
|
13109
13148
|
|
|
13110
13149
|
/***/ "afaf":
|
|
@@ -13549,6 +13588,17 @@ if(content.locals) module.exports = content.locals;
|
|
|
13549
13588
|
var add = __webpack_require__("499e").default
|
|
13550
13589
|
var update = add("3a6c2639", content, true, {"sourceMap":false,"shadowMode":false});
|
|
13551
13590
|
|
|
13591
|
+
/***/ }),
|
|
13592
|
+
|
|
13593
|
+
/***/ "b7f7":
|
|
13594
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13595
|
+
|
|
13596
|
+
"use strict";
|
|
13597
|
+
/* 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");
|
|
13598
|
+
/* 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__);
|
|
13599
|
+
/* unused harmony reexport * */
|
|
13600
|
+
|
|
13601
|
+
|
|
13552
13602
|
/***/ }),
|
|
13553
13603
|
|
|
13554
13604
|
/***/ "ba9f":
|
|
@@ -13789,6 +13839,26 @@ $({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
|
|
|
13789
13839
|
addToUnscopables(FIND_INDEX);
|
|
13790
13840
|
|
|
13791
13841
|
|
|
13842
|
+
/***/ }),
|
|
13843
|
+
|
|
13844
|
+
/***/ "c7cd":
|
|
13845
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13846
|
+
|
|
13847
|
+
"use strict";
|
|
13848
|
+
|
|
13849
|
+
var $ = __webpack_require__("23e7");
|
|
13850
|
+
var createHTML = __webpack_require__("857a");
|
|
13851
|
+
var forcedStringHTMLMethod = __webpack_require__("af03");
|
|
13852
|
+
|
|
13853
|
+
// `String.prototype.fixed` method
|
|
13854
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.fixed
|
|
13855
|
+
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, {
|
|
13856
|
+
fixed: function fixed() {
|
|
13857
|
+
return createHTML(this, 'tt', '', '');
|
|
13858
|
+
}
|
|
13859
|
+
});
|
|
13860
|
+
|
|
13861
|
+
|
|
13792
13862
|
/***/ }),
|
|
13793
13863
|
|
|
13794
13864
|
/***/ "c8ba":
|
|
@@ -14499,20 +14569,6 @@ module.exports =
|
|
|
14499
14569
|
|
|
14500
14570
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
|
|
14501
14571
|
|
|
14502
|
-
/***/ }),
|
|
14503
|
-
|
|
14504
|
-
/***/ "da97":
|
|
14505
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
14506
|
-
|
|
14507
|
-
// Imports
|
|
14508
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
14509
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
14510
|
-
// Module
|
|
14511
|
-
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}", ""]);
|
|
14512
|
-
// Exports
|
|
14513
|
-
module.exports = exports;
|
|
14514
|
-
|
|
14515
|
-
|
|
14516
14572
|
/***/ }),
|
|
14517
14573
|
|
|
14518
14574
|
/***/ "dbb4":
|
|
@@ -18294,13 +18350,14 @@ var uses_useDropdown = function useDropdown(param) {
|
|
|
18294
18350
|
|
|
18295
18351
|
var calculateDropboxWidth = /*#__PURE__*/function () {
|
|
18296
18352
|
var _ref5 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
|
18297
|
-
var items, maxWidth,
|
|
18353
|
+
var items, maxWidth, _window$getComputedSt, borderLeftWidth, borderRightWidth, borderXWidth, scrollbarWidth, windowWidth, dropboxRect, dropboxLeft, maxAllowedWidth, finalWidth;
|
|
18354
|
+
|
|
18298
18355
|
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
18299
18356
|
while (1) {
|
|
18300
18357
|
switch (_context4.prev = _context4.next) {
|
|
18301
18358
|
case 0:
|
|
18302
18359
|
if (!(itemWrapper.value && dropbox.value)) {
|
|
18303
|
-
_context4.next =
|
|
18360
|
+
_context4.next = 19;
|
|
18304
18361
|
break;
|
|
18305
18362
|
}
|
|
18306
18363
|
|
|
@@ -18314,36 +18371,30 @@ var uses_useDropdown = function useDropdown(param) {
|
|
|
18314
18371
|
|
|
18315
18372
|
items = itemWrapper.value.querySelectorAll('.ev-select-dropbox-item');
|
|
18316
18373
|
maxWidth = 0;
|
|
18317
|
-
itemPadding = 0;
|
|
18318
18374
|
items.forEach(function (item) {
|
|
18319
18375
|
var itemWidth = item.scrollWidth;
|
|
18320
18376
|
|
|
18321
18377
|
if (itemWidth > maxWidth) {
|
|
18322
18378
|
maxWidth = itemWidth;
|
|
18323
18379
|
}
|
|
18324
|
-
|
|
18325
|
-
if (itemPadding === 0) {
|
|
18326
|
-
var style = window.getComputedStyle(item);
|
|
18327
|
-
itemPadding = parseFloat(style.paddingLeft) + parseFloat(style.paddingRight);
|
|
18328
|
-
}
|
|
18329
18380
|
});
|
|
18381
|
+
_window$getComputedSt = window.getComputedStyle(dropbox.value), borderLeftWidth = _window$getComputedSt.borderLeftWidth, borderRightWidth = _window$getComputedSt.borderRightWidth;
|
|
18382
|
+
borderXWidth = parseInt(borderLeftWidth) + parseInt(borderRightWidth);
|
|
18383
|
+
scrollbarWidth = itemWrapper.value.offsetWidth - itemWrapper.value.clientWidth;
|
|
18384
|
+
maxWidth += scrollbarWidth + borderXWidth;
|
|
18330
18385
|
windowWidth = window.innerWidth;
|
|
18331
18386
|
dropboxRect = dropbox.value.getBoundingClientRect();
|
|
18332
18387
|
dropboxLeft = dropboxRect.left;
|
|
18333
|
-
maxAllowedWidth = windowWidth - dropboxLeft -
|
|
18388
|
+
maxAllowedWidth = windowWidth - dropboxLeft - 20;
|
|
18334
18389
|
finalWidth = Math.max(Math.min(maxWidth, maxAllowedWidth), initialDropboxWidth.value);
|
|
18335
|
-
|
|
18336
|
-
|
|
18337
|
-
dropboxWidth.value = "".concat(Math.max(finalWidth + itemPadding - 10, 100), "px");
|
|
18338
|
-
}
|
|
18339
|
-
|
|
18340
|
-
_context4.next = 17;
|
|
18390
|
+
dropboxWidth.value = "".concat(finalWidth, "px");
|
|
18391
|
+
_context4.next = 20;
|
|
18341
18392
|
break;
|
|
18342
18393
|
|
|
18343
|
-
case
|
|
18394
|
+
case 19:
|
|
18344
18395
|
dropboxWidth.value = '100%';
|
|
18345
18396
|
|
|
18346
|
-
case
|
|
18397
|
+
case 20:
|
|
18347
18398
|
case "end":
|
|
18348
18399
|
return _context4.stop();
|
|
18349
18400
|
}
|
|
@@ -18399,10 +18450,6 @@ var uses_useDropdown = function useDropdown(param) {
|
|
|
18399
18450
|
return changeDropboxPosition();
|
|
18400
18451
|
|
|
18401
18452
|
case 2:
|
|
18402
|
-
_context6.next = 4;
|
|
18403
|
-
return calculateDropboxWidth();
|
|
18404
|
-
|
|
18405
|
-
case 4:
|
|
18406
18453
|
case "end":
|
|
18407
18454
|
return _context6.stop();
|
|
18408
18455
|
}
|
|
@@ -32771,27 +32818,31 @@ var GridSummaryvue_type_style_index_0_id_36e7032c_lang_scss_scoped_true = __webp
|
|
|
32771
32818
|
const GridSummary_exports_ = /*#__PURE__*/exportHelper_default()(GridSummaryvue_type_script_lang_js, [['render',GridSummaryvue_type_template_id_36e7032c_scoped_true_render],['__scopeId',"data-v-36e7032c"]])
|
|
32772
32819
|
|
|
32773
32820
|
/* harmony default export */ var GridSummary = (GridSummary_exports_);
|
|
32774
|
-
//
|
|
32821
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.fixed.js
|
|
32822
|
+
var es_string_fixed = __webpack_require__("c7cd");
|
|
32775
32823
|
|
|
32824
|
+
// 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
|
|
32776
32825
|
|
|
32777
32826
|
|
|
32778
|
-
|
|
32827
|
+
|
|
32828
|
+
|
|
32829
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_1 = {
|
|
32779
32830
|
class: "ev-grid-column-setting__header"
|
|
32780
32831
|
};
|
|
32781
|
-
var
|
|
32832
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_2 = {
|
|
32782
32833
|
class: "header-title"
|
|
32783
32834
|
};
|
|
32784
|
-
var
|
|
32835
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_3 = {
|
|
32785
32836
|
class: "ev-grid-column-setting__content"
|
|
32786
32837
|
};
|
|
32787
|
-
var
|
|
32838
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_4 = {
|
|
32788
32839
|
key: 1,
|
|
32789
32840
|
class: "is-empty"
|
|
32790
32841
|
};
|
|
32791
|
-
var
|
|
32842
|
+
var GridColumnSettingvue_type_template_id_d537a1e8_hoisted_5 = {
|
|
32792
32843
|
class: "ev-grid-column-setting__footer"
|
|
32793
32844
|
};
|
|
32794
|
-
function
|
|
32845
|
+
function GridColumnSettingvue_type_template_id_d537a1e8_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32795
32846
|
var _component_ev_text_field = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-text-field");
|
|
32796
32847
|
|
|
32797
32848
|
var _component_ev_checkbox = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ev-checkbox");
|
|
@@ -32809,7 +32860,7 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32809
32860
|
ref: "columnSettingWrapper",
|
|
32810
32861
|
class: "ev-grid-column-setting",
|
|
32811
32862
|
style: $setup.columnSettingStyle
|
|
32812
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div",
|
|
32863
|
+
}, [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, {
|
|
32813
32864
|
modelValue: $setup.searchVm,
|
|
32814
32865
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
|
|
32815
32866
|
return $setup.searchVm = $event;
|
|
@@ -32817,7 +32868,7 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32817
32868
|
type: "search",
|
|
32818
32869
|
placeholder: $props.textInfo.search,
|
|
32819
32870
|
onInput: $setup.onSearchColumn
|
|
32820
|
-
}, null, 8, ["modelValue", "placeholder", "onInput"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div",
|
|
32871
|
+
}, 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, {
|
|
32821
32872
|
key: 0,
|
|
32822
32873
|
modelValue: $setup.checkColumnGroup,
|
|
32823
32874
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) {
|
|
@@ -32832,17 +32883,18 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32832
32883
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_ev_checkbox, {
|
|
32833
32884
|
key: "column_".concat(idx),
|
|
32834
32885
|
label: column === null || column === void 0 ? void 0 : column.text,
|
|
32886
|
+
disabled: !!(column !== null && column !== void 0 && column.fixed),
|
|
32835
32887
|
"tooltip-title": (_column$label = column === null || column === void 0 ? void 0 : column.label) !== null && _column$label !== void 0 ? _column$label : ''
|
|
32836
32888
|
}, {
|
|
32837
32889
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
32838
32890
|
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)];
|
|
32839
32891
|
}),
|
|
32840
32892
|
_: 2
|
|
32841
|
-
}, 1032, ["label", "tooltip-title"]);
|
|
32893
|
+
}, 1032, ["label", "disabled", "tooltip-title"]);
|
|
32842
32894
|
}), 128))];
|
|
32843
32895
|
}),
|
|
32844
32896
|
_: 1
|
|
32845
|
-
}, 8, ["modelValue", "onChange"])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("p",
|
|
32897
|
+
}, 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, {
|
|
32846
32898
|
type: "primary",
|
|
32847
32899
|
disabled: $setup.isDisabled,
|
|
32848
32900
|
onClick: $setup.onApplyColumn
|
|
@@ -32853,7 +32905,7 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32853
32905
|
_: 1
|
|
32854
32906
|
}, 8, ["disabled", "onClick"])])], 4), [[_directive_clickoutside, $setup.hideColumnSetting]])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
32855
32907
|
}
|
|
32856
|
-
// CONCATENATED MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=template&id=
|
|
32908
|
+
// CONCATENATED MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=template&id=d537a1e8
|
|
32857
32909
|
|
|
32858
32910
|
// 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
|
|
32859
32911
|
|
|
@@ -32868,6 +32920,7 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
32868
32920
|
|
|
32869
32921
|
|
|
32870
32922
|
|
|
32923
|
+
|
|
32871
32924
|
/* harmony default export */ var GridColumnSettingvue_type_script_lang_js = ({
|
|
32872
32925
|
name: 'EVGridColumnSetting',
|
|
32873
32926
|
directives: {
|
|
@@ -33041,7 +33094,8 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
33041
33094
|
label: col.caption,
|
|
33042
33095
|
text: col.field,
|
|
33043
33096
|
originChecked: !col.hiddenDisplay,
|
|
33044
|
-
checked: isChecked
|
|
33097
|
+
checked: isChecked,
|
|
33098
|
+
fixed: col.fixed
|
|
33045
33099
|
};
|
|
33046
33100
|
});
|
|
33047
33101
|
checkColumnGroup.value = originColumnList.value.filter(function (col) {
|
|
@@ -33183,8 +33237,8 @@ function GridColumnSettingvue_type_template_id_e4672144_render(_ctx, _cache, $pr
|
|
|
33183
33237
|
});
|
|
33184
33238
|
// CONCATENATED MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=script&lang=js
|
|
33185
33239
|
|
|
33186
|
-
// EXTERNAL MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=style&index=0&id=
|
|
33187
|
-
var
|
|
33240
|
+
// EXTERNAL MODULE: ./src/components/grid/GridColumnSetting.vue?vue&type=style&index=0&id=d537a1e8&lang=scss
|
|
33241
|
+
var GridColumnSettingvue_type_style_index_0_id_d537a1e8_lang_scss = __webpack_require__("b7f7");
|
|
33188
33242
|
|
|
33189
33243
|
// CONCATENATED MODULE: ./src/components/grid/GridColumnSetting.vue
|
|
33190
33244
|
|
|
@@ -33194,7 +33248,7 @@ var GridColumnSettingvue_type_style_index_0_id_e4672144_lang_scss = __webpack_re
|
|
|
33194
33248
|
|
|
33195
33249
|
|
|
33196
33250
|
|
|
33197
|
-
const GridColumnSetting_exports_ = /*#__PURE__*/exportHelper_default()(GridColumnSettingvue_type_script_lang_js, [['render',
|
|
33251
|
+
const GridColumnSetting_exports_ = /*#__PURE__*/exportHelper_default()(GridColumnSettingvue_type_script_lang_js, [['render',GridColumnSettingvue_type_template_id_d537a1e8_render]])
|
|
33198
33252
|
|
|
33199
33253
|
/* harmony default export */ var GridColumnSetting = (GridColumnSetting_exports_);
|
|
33200
33254
|
// 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
|
|
@@ -34829,6 +34883,7 @@ function uniqBy(array, iteratee) {
|
|
|
34829
34883
|
|
|
34830
34884
|
|
|
34831
34885
|
|
|
34886
|
+
|
|
34832
34887
|
|
|
34833
34888
|
|
|
34834
34889
|
var uses_this = undefined;
|
|
@@ -36305,7 +36360,7 @@ var uses_contextMenuEvent = function contextMenuEvent(params) {
|
|
|
36305
36360
|
}, {
|
|
36306
36361
|
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',
|
|
36307
36362
|
iconClass: 'ev-icon-visibility-off',
|
|
36308
|
-
disabled: !useGridSetting.value || stores.orderedColumns.length === 1,
|
|
36363
|
+
disabled: !useGridSetting.value || stores.orderedColumns.length === 1 || column.fixed,
|
|
36309
36364
|
hidden: (_contextInfo$hiddenCo4 = contextInfo.hiddenColumnMenuItem) === null || _contextInfo$hiddenCo4 === void 0 ? void 0 : _contextInfo$hiddenCo4.hide,
|
|
36310
36365
|
click: function click() {
|
|
36311
36366
|
setColumnHidden(column.field);
|
|
@@ -52001,9 +52056,13 @@ var element_tip_modules = {
|
|
|
52001
52056
|
* @returns {undefined}
|
|
52002
52057
|
*/
|
|
52003
52058
|
drawTips: function drawTips(tipLocationInfo) {
|
|
52004
|
-
var
|
|
52059
|
+
var _opt$tooltip,
|
|
52060
|
+
_opt$tooltip3,
|
|
52061
|
+
_opt$tooltip3$formatt,
|
|
52062
|
+
_this = this;
|
|
52005
52063
|
|
|
52006
52064
|
var opt = this.options;
|
|
52065
|
+
var tooltipValueFormatter = null;
|
|
52007
52066
|
var isHorizontal = !!opt.horizontal;
|
|
52008
52067
|
var maxTipOpt = opt.maxTip;
|
|
52009
52068
|
var selTipOpt = opt.selectItem;
|
|
@@ -52011,6 +52070,16 @@ var element_tip_modules = {
|
|
|
52011
52070
|
var maxArgs;
|
|
52012
52071
|
var isExistSelectedLabel;
|
|
52013
52072
|
|
|
52073
|
+
if (typeof ((_opt$tooltip = opt.tooltip) === null || _opt$tooltip === void 0 ? void 0 : _opt$tooltip.formatter) === 'function') {
|
|
52074
|
+
var _opt$tooltip2;
|
|
52075
|
+
|
|
52076
|
+
tooltipValueFormatter = (_opt$tooltip2 = opt.tooltip) === null || _opt$tooltip2 === void 0 ? void 0 : _opt$tooltip2.formatter;
|
|
52077
|
+
} 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') {
|
|
52078
|
+
var _opt$tooltip4, _opt$tooltip4$formatt;
|
|
52079
|
+
|
|
52080
|
+
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;
|
|
52081
|
+
}
|
|
52082
|
+
|
|
52014
52083
|
if (labelTipOpt.use && labelTipOpt.showTip) {
|
|
52015
52084
|
var isHeatMap = opt.type === 'heatMap';
|
|
52016
52085
|
isExistSelectedLabel = isHeatMap ? this.drawLabelTipForHeatMap() : this.drawLabelTip();
|
|
@@ -52082,7 +52151,16 @@ var element_tip_modules = {
|
|
|
52082
52151
|
maxArgs = this.calculateTipInfo(seriesInfo, 'max', null);
|
|
52083
52152
|
|
|
52084
52153
|
if (maxTipOpt.use && maxArgs) {
|
|
52085
|
-
|
|
52154
|
+
if (tooltipValueFormatter) {
|
|
52155
|
+
maxArgs.text = isHorizontal ? tooltipValueFormatter({
|
|
52156
|
+
x: maxArgs.value
|
|
52157
|
+
}) : tooltipValueFormatter({
|
|
52158
|
+
y: maxArgs.value
|
|
52159
|
+
});
|
|
52160
|
+
} else {
|
|
52161
|
+
maxArgs.text = numberWithComma(maxArgs.value);
|
|
52162
|
+
}
|
|
52163
|
+
|
|
52086
52164
|
this.drawTextTip(_objectSpread2({
|
|
52087
52165
|
opt: maxTipOpt,
|
|
52088
52166
|
tipType: 'max',
|