vxe-table 4.2.7-beta.2 → 4.2.7-beta.3
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/es/edit/src/hook.js +11 -9
- package/es/filter/src/panel.js +0 -1
- package/es/tools/log.js +1 -1
- package/es/v-x-e-table/index.js +1 -1
- package/es/v-x-e-table/src/store.js +8 -4
- package/lib/edit/src/hook.js +12 -9
- package/lib/edit/src/hook.min.js +1 -1
- package/lib/filter/src/panel.js +1 -1
- package/lib/filter/src/panel.min.js +1 -1
- package/lib/index.umd.js +351 -338
- package/lib/index.umd.min.js +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/v-x-e-table/index.js +1 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/v-x-e-table/src/store.js +10 -5
- package/lib/v-x-e-table/src/store.min.js +1 -1
- package/package.json +1 -1
- package/packages/edit/src/hook.ts +10 -7
- package/packages/filter/src/panel.ts +0 -1
- package/packages/v-x-e-table/src/store.ts +8 -4
- package/types/v-x-e-table/renderer.d.ts +1 -1
package/lib/index.umd.js
CHANGED
|
@@ -8794,7 +8794,7 @@ var GlobalConfig = {
|
|
|
8794
8794
|
return key;
|
|
8795
8795
|
}
|
|
8796
8796
|
};
|
|
8797
|
-
/* harmony default export */ var
|
|
8797
|
+
/* harmony default export */ var src_conf = (GlobalConfig);
|
|
8798
8798
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.join.js
|
|
8799
8799
|
var es_array_join = __webpack_require__("a15b");
|
|
8800
8800
|
|
|
@@ -8805,7 +8805,7 @@ var es_array_concat = __webpack_require__("99af");
|
|
|
8805
8805
|
|
|
8806
8806
|
|
|
8807
8807
|
function getLog(message, params) {
|
|
8808
|
-
return "[vxe-table v".concat("4.2.7-beta.
|
|
8808
|
+
return "[vxe-table v".concat("4.2.7-beta.2", "] ").concat(src_conf.i18n(message, params));
|
|
8809
8809
|
}
|
|
8810
8810
|
|
|
8811
8811
|
function outLog(type) {
|
|
@@ -9017,7 +9017,7 @@ function parseFile(file) {
|
|
|
9017
9017
|
};
|
|
9018
9018
|
}
|
|
9019
9019
|
function nextZIndex() {
|
|
9020
|
-
lastZindex =
|
|
9020
|
+
lastZindex = src_conf.zIndex + zindexIndex++;
|
|
9021
9021
|
return lastZindex;
|
|
9022
9022
|
}
|
|
9023
9023
|
function getLastZIndex() {
|
|
@@ -9027,10 +9027,10 @@ function hasChildrenList(item) {
|
|
|
9027
9027
|
return item && item.children && item.children.length > 0;
|
|
9028
9028
|
}
|
|
9029
9029
|
function getFuncText(content) {
|
|
9030
|
-
return content ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toValueString(
|
|
9030
|
+
return content ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toValueString(src_conf.translate ? src_conf.translate('' + content) : content) : '';
|
|
9031
9031
|
}
|
|
9032
9032
|
function formatText(value, placeholder) {
|
|
9033
|
-
return '' + (isEmptyValue(value) ? placeholder ?
|
|
9033
|
+
return '' + (isEmptyValue(value) ? placeholder ? src_conf.emptyCell : '' : value);
|
|
9034
9034
|
}
|
|
9035
9035
|
/**
|
|
9036
9036
|
* 判断值为:'' | null | undefined 时都属于空值
|
|
@@ -9210,7 +9210,7 @@ var columnInfo_ColumnInfo = /*#__PURE__*/function () {
|
|
|
9210
9210
|
_createClass(ColumnInfo, [{
|
|
9211
9211
|
key: "getTitle",
|
|
9212
9212
|
value: function getTitle() {
|
|
9213
|
-
return getFuncText(this.title || (this.type === 'seq' ?
|
|
9213
|
+
return getFuncText(this.title || (this.type === 'seq' ? src_conf.i18n('vxe.table.seqTitle') : ''));
|
|
9214
9214
|
}
|
|
9215
9215
|
}, {
|
|
9216
9216
|
key: "getKey",
|
|
@@ -9867,7 +9867,7 @@ function getFormatDate(value, props, defaultFormat) {
|
|
|
9867
9867
|
}
|
|
9868
9868
|
|
|
9869
9869
|
function getLabelFormatDate(value, props) {
|
|
9870
|
-
return getFormatDate(value, props,
|
|
9870
|
+
return getFormatDate(value, props, src_conf.i18n("vxe.input.date.labelFormat.".concat(props.type)));
|
|
9871
9871
|
}
|
|
9872
9872
|
|
|
9873
9873
|
function getComponentName(name) {
|
|
@@ -10476,7 +10476,7 @@ var renderMap = {
|
|
|
10476
10476
|
props = _renderOpts$props2 === void 0 ? {} : _renderOpts$props2;
|
|
10477
10477
|
var row = params.row,
|
|
10478
10478
|
column = params.column;
|
|
10479
|
-
var digits = props.digits ||
|
|
10479
|
+
var digits = props.digits || src_conf.input.digits;
|
|
10480
10480
|
var cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(row, column.property);
|
|
10481
10481
|
|
|
10482
10482
|
if (cellValue) {
|
|
@@ -10612,6 +10612,18 @@ var renderer = {
|
|
|
10612
10612
|
return renderer;
|
|
10613
10613
|
}
|
|
10614
10614
|
};
|
|
10615
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
10616
|
+
var es_array_iterator = __webpack_require__("e260");
|
|
10617
|
+
|
|
10618
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
10619
|
+
var web_dom_collections_iterator = __webpack_require__("ddb0");
|
|
10620
|
+
|
|
10621
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
10622
|
+
var es_array_includes = __webpack_require__("caad");
|
|
10623
|
+
|
|
10624
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
10625
|
+
var es_string_includes = __webpack_require__("2532");
|
|
10626
|
+
|
|
10615
10627
|
// CONCATENATED MODULE: ./packages/v-x-e-table/src/store.ts
|
|
10616
10628
|
|
|
10617
10629
|
|
|
@@ -10619,6 +10631,11 @@ var renderer = {
|
|
|
10619
10631
|
|
|
10620
10632
|
|
|
10621
10633
|
|
|
10634
|
+
|
|
10635
|
+
|
|
10636
|
+
|
|
10637
|
+
|
|
10638
|
+
|
|
10622
10639
|
/**
|
|
10623
10640
|
* 创建数据仓库
|
|
10624
10641
|
*/
|
|
@@ -10649,14 +10666,18 @@ var store_Store = /*#__PURE__*/function () {
|
|
|
10649
10666
|
}, {
|
|
10650
10667
|
key: "add",
|
|
10651
10668
|
value: function add(name, render) {
|
|
10652
|
-
// 检测是否覆盖
|
|
10669
|
+
var conf = this.store[name]; // 检测是否覆盖
|
|
10670
|
+
|
|
10653
10671
|
if (true) {
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10672
|
+
var confKeys = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.keys(conf);
|
|
10673
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.each(render, function (item, key) {
|
|
10674
|
+
if (confKeys.includes(key)) {
|
|
10675
|
+
warnLog('vxe.error.coverProp', [name, key]);
|
|
10676
|
+
}
|
|
10677
|
+
});
|
|
10657
10678
|
}
|
|
10658
10679
|
|
|
10659
|
-
this.store[name] = render;
|
|
10680
|
+
this.store[name] = conf ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.merge(conf, render) : render;
|
|
10660
10681
|
return this;
|
|
10661
10682
|
}
|
|
10662
10683
|
}, {
|
|
@@ -10715,7 +10736,7 @@ var hooks = new store();
|
|
|
10715
10736
|
*/
|
|
10716
10737
|
|
|
10717
10738
|
var setup_setup = function setup(options) {
|
|
10718
|
-
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.merge(
|
|
10739
|
+
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.merge(src_conf, options);
|
|
10719
10740
|
};
|
|
10720
10741
|
// CONCATENATED MODULE: ./packages/v-x-e-table/index.ts
|
|
10721
10742
|
|
|
@@ -10754,10 +10775,10 @@ function use(Plugin, options) {
|
|
|
10754
10775
|
return VXETable;
|
|
10755
10776
|
}
|
|
10756
10777
|
function t(key, args) {
|
|
10757
|
-
return
|
|
10778
|
+
return src_conf.i18n(key, args);
|
|
10758
10779
|
}
|
|
10759
10780
|
function _t(key, args) {
|
|
10760
|
-
return key ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toValueString(
|
|
10781
|
+
return key ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toValueString(src_conf.translate ? src_conf.translate(key, args) : key) : '';
|
|
10761
10782
|
}
|
|
10762
10783
|
|
|
10763
10784
|
var v_x_e_table_VXETableConfig = /*#__PURE__*/function () {
|
|
@@ -10790,7 +10811,7 @@ var v_x_e_table_VXETableConfig = /*#__PURE__*/function () {
|
|
|
10790
10811
|
}, {
|
|
10791
10812
|
key: "exportTypes",
|
|
10792
10813
|
get: function get() {
|
|
10793
|
-
return getExportOrImpotType(
|
|
10814
|
+
return getExportOrImpotType(src_conf.export.types, 1);
|
|
10794
10815
|
}
|
|
10795
10816
|
/**
|
|
10796
10817
|
* 获取所有导入类型
|
|
@@ -10799,7 +10820,7 @@ var v_x_e_table_VXETableConfig = /*#__PURE__*/function () {
|
|
|
10799
10820
|
}, {
|
|
10800
10821
|
key: "importTypes",
|
|
10801
10822
|
get: function get() {
|
|
10802
|
-
return getExportOrImpotType(
|
|
10823
|
+
return getExportOrImpotType(src_conf.export.types, 2);
|
|
10803
10824
|
}
|
|
10804
10825
|
}]);
|
|
10805
10826
|
|
|
@@ -10810,7 +10831,7 @@ var v_x_e_table_config = new v_x_e_table_VXETableConfig();
|
|
|
10810
10831
|
var v = 'v4';
|
|
10811
10832
|
var VXETable = {
|
|
10812
10833
|
v: v,
|
|
10813
|
-
version: "4.2.7-beta.
|
|
10834
|
+
version: "4.2.7-beta.2",
|
|
10814
10835
|
setup: setup_setup,
|
|
10815
10836
|
interceptor: interceptor,
|
|
10816
10837
|
renderer: renderer,
|
|
@@ -10982,7 +11003,7 @@ var Icon = {
|
|
|
10982
11003
|
}),
|
|
10983
11004
|
'is--indeterminate': multiple && filterStore.isIndeterminate
|
|
10984
11005
|
}],
|
|
10985
|
-
title:
|
|
11006
|
+
title: src_conf.i18n(multiple ? 'vxe.table.allTitle' : 'vxe.table.allFilter'),
|
|
10986
11007
|
onClick: function onClick(evnt) {
|
|
10987
11008
|
changeAllOption(evnt, !filterStore.isAllSelected);
|
|
10988
11009
|
}
|
|
@@ -10994,7 +11015,7 @@ var Icon = {
|
|
|
10994
11015
|
class: 'vxe-checkbox--icon vxe-checkbox--indeterminate-icon'
|
|
10995
11016
|
})] : []).concat([Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
10996
11017
|
class: 'vxe-checkbox--label'
|
|
10997
|
-
},
|
|
11018
|
+
}, src_conf.i18n('vxe.table.allFilter'))]))]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('ul', {
|
|
10998
11019
|
class: 'vxe-table--filter-body',
|
|
10999
11020
|
style: maxHeight ? {
|
|
11000
11021
|
maxHeight: "".concat(maxHeight, "px")
|
|
@@ -11036,9 +11057,9 @@ var Icon = {
|
|
|
11036
11057
|
},
|
|
11037
11058
|
disabled: isDisabled,
|
|
11038
11059
|
onClick: confirmFilter
|
|
11039
|
-
},
|
|
11060
|
+
}, src_conf.i18n('vxe.table.confirmFilter')), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('button', {
|
|
11040
11061
|
onClick: resetFilter
|
|
11041
|
-
},
|
|
11062
|
+
}, src_conf.i18n('vxe.table.resetFilter'))])] : [];
|
|
11042
11063
|
};
|
|
11043
11064
|
|
|
11044
11065
|
var renderVN = function renderVN() {
|
|
@@ -11053,7 +11074,7 @@ var Icon = {
|
|
|
11053
11074
|
$table: $xetable
|
|
11054
11075
|
});
|
|
11055
11076
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
11056
|
-
class: ['vxe-table--filter-wrapper', 'filter--prevent-default',
|
|
11077
|
+
class: ['vxe-table--filter-wrapper', 'filter--prevent-default', getPropClass(filterClassName, params), {
|
|
11057
11078
|
'is--animat': $xetable.props.animat,
|
|
11058
11079
|
'is--multiple': filterStore.multiple,
|
|
11059
11080
|
'is--active': filterStore.visible
|
|
@@ -12118,15 +12139,9 @@ var es_symbol_description = __webpack_require__("e01a");
|
|
|
12118
12139
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
|
|
12119
12140
|
var es_symbol_iterator = __webpack_require__("d28b");
|
|
12120
12141
|
|
|
12121
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
12122
|
-
var es_array_iterator = __webpack_require__("e260");
|
|
12123
|
-
|
|
12124
12142
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
12125
12143
|
var es_string_iterator = __webpack_require__("3ca3");
|
|
12126
12144
|
|
|
12127
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
12128
|
-
var web_dom_collections_iterator = __webpack_require__("ddb0");
|
|
12129
|
-
|
|
12130
12145
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
12131
12146
|
var es_array_from = __webpack_require__("a630");
|
|
12132
12147
|
|
|
@@ -13072,20 +13087,24 @@ var editHook = {
|
|
|
13072
13087
|
var compRender = renderer.get(editRender.name);
|
|
13073
13088
|
var autofocus = editRender.autofocus,
|
|
13074
13089
|
autoselect = editRender.autoselect;
|
|
13075
|
-
var inputElem;
|
|
13090
|
+
var inputElem;
|
|
13091
|
+
|
|
13092
|
+
if (!autofocus && compRender) {
|
|
13093
|
+
autofocus = compRender.autofocus;
|
|
13094
|
+
} // 如果指定了聚焦 class
|
|
13076
13095
|
|
|
13077
|
-
if (autofocus) {
|
|
13078
|
-
inputElem = cell.querySelector(autofocus);
|
|
13079
|
-
} // 渲染器的聚焦处理
|
|
13080
13096
|
|
|
13097
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isFunction(autofocus)) {
|
|
13098
|
+
inputElem = autofocus.call(this, params);
|
|
13099
|
+
} else if (autofocus) {
|
|
13100
|
+
inputElem = cell.querySelector(autofocus);
|
|
13081
13101
|
|
|
13082
|
-
|
|
13083
|
-
|
|
13102
|
+
if (inputElem) {
|
|
13103
|
+
inputElem.focus();
|
|
13104
|
+
}
|
|
13084
13105
|
}
|
|
13085
13106
|
|
|
13086
13107
|
if (inputElem) {
|
|
13087
|
-
inputElem.focus();
|
|
13088
|
-
|
|
13089
13108
|
if (autoselect) {
|
|
13090
13109
|
inputElem.select();
|
|
13091
13110
|
} else {
|
|
@@ -13276,7 +13295,7 @@ function useSize(props) {
|
|
|
13276
13295
|
size: {
|
|
13277
13296
|
type: String,
|
|
13278
13297
|
default: function _default() {
|
|
13279
|
-
return
|
|
13298
|
+
return src_conf.button.size || src_conf.size;
|
|
13280
13299
|
}
|
|
13281
13300
|
},
|
|
13282
13301
|
|
|
@@ -13336,7 +13355,7 @@ function useSize(props) {
|
|
|
13336
13355
|
transfer: {
|
|
13337
13356
|
type: Boolean,
|
|
13338
13357
|
default: function _default() {
|
|
13339
|
-
return
|
|
13358
|
+
return src_conf.button.transfer;
|
|
13340
13359
|
}
|
|
13341
13360
|
}
|
|
13342
13361
|
},
|
|
@@ -13596,7 +13615,7 @@ function useSize(props) {
|
|
|
13596
13615
|
|
|
13597
13616
|
if (loading) {
|
|
13598
13617
|
contVNs.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
13599
|
-
class: ['vxe-button--loading-icon',
|
|
13618
|
+
class: ['vxe-button--loading-icon', src_conf.icon.BUTTON_LOADING]
|
|
13600
13619
|
}));
|
|
13601
13620
|
} else if (icon) {
|
|
13602
13621
|
contVNs.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
@@ -13684,7 +13703,7 @@ function useSize(props) {
|
|
|
13684
13703
|
onMouseleave: mouseleaveEvent,
|
|
13685
13704
|
onClick: clickEvent
|
|
13686
13705
|
}, renderContent().concat([Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
13687
|
-
class: "vxe-button--dropdown-arrow ".concat(
|
|
13706
|
+
class: "vxe-button--dropdown-arrow ".concat(src_conf.icon.BUTTON_DROPDOWN)
|
|
13688
13707
|
})])), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Teleport"], {
|
|
13689
13708
|
to: 'body',
|
|
13690
13709
|
disabled: transfer ? !inited : true
|
|
@@ -13728,9 +13747,9 @@ function useSize(props) {
|
|
|
13728
13747
|
loading: Boolean
|
|
13729
13748
|
},
|
|
13730
13749
|
render: function render() {
|
|
13731
|
-
var icon =
|
|
13732
|
-
var loadingText =
|
|
13733
|
-
var text = loadingText === null ? loadingText :
|
|
13750
|
+
var icon = src_conf.icon.LOADING;
|
|
13751
|
+
var loadingText = src_conf.loadingText;
|
|
13752
|
+
var text = loadingText === null ? loadingText : src_conf.i18n('vxe.loading.text');
|
|
13734
13753
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
13735
13754
|
class: ['vxe-loading', {
|
|
13736
13755
|
'is--visible': this.loading
|
|
@@ -13801,7 +13820,7 @@ var msgQueue = [];
|
|
|
13801
13820
|
top: {
|
|
13802
13821
|
type: [Number, String],
|
|
13803
13822
|
default: function _default() {
|
|
13804
|
-
return
|
|
13823
|
+
return src_conf.modal.top;
|
|
13805
13824
|
}
|
|
13806
13825
|
},
|
|
13807
13826
|
position: [String, Object],
|
|
@@ -13809,7 +13828,7 @@ var msgQueue = [];
|
|
|
13809
13828
|
duration: {
|
|
13810
13829
|
type: [Number, String],
|
|
13811
13830
|
default: function _default() {
|
|
13812
|
-
return
|
|
13831
|
+
return src_conf.modal.duration;
|
|
13813
13832
|
}
|
|
13814
13833
|
},
|
|
13815
13834
|
message: [Number, String],
|
|
@@ -13817,64 +13836,64 @@ var msgQueue = [];
|
|
|
13817
13836
|
cancelButtonText: {
|
|
13818
13837
|
type: String,
|
|
13819
13838
|
default: function _default() {
|
|
13820
|
-
return
|
|
13839
|
+
return src_conf.modal.cancelButtonText;
|
|
13821
13840
|
}
|
|
13822
13841
|
},
|
|
13823
13842
|
confirmButtonText: {
|
|
13824
13843
|
type: String,
|
|
13825
13844
|
default: function _default() {
|
|
13826
|
-
return
|
|
13845
|
+
return src_conf.modal.confirmButtonText;
|
|
13827
13846
|
}
|
|
13828
13847
|
},
|
|
13829
13848
|
lockView: {
|
|
13830
13849
|
type: Boolean,
|
|
13831
13850
|
default: function _default() {
|
|
13832
|
-
return
|
|
13851
|
+
return src_conf.modal.lockView;
|
|
13833
13852
|
}
|
|
13834
13853
|
},
|
|
13835
13854
|
lockScroll: Boolean,
|
|
13836
13855
|
mask: {
|
|
13837
13856
|
type: Boolean,
|
|
13838
13857
|
default: function _default() {
|
|
13839
|
-
return
|
|
13858
|
+
return src_conf.modal.mask;
|
|
13840
13859
|
}
|
|
13841
13860
|
},
|
|
13842
13861
|
maskClosable: {
|
|
13843
13862
|
type: Boolean,
|
|
13844
13863
|
default: function _default() {
|
|
13845
|
-
return
|
|
13864
|
+
return src_conf.modal.maskClosable;
|
|
13846
13865
|
}
|
|
13847
13866
|
},
|
|
13848
13867
|
escClosable: {
|
|
13849
13868
|
type: Boolean,
|
|
13850
13869
|
default: function _default() {
|
|
13851
|
-
return
|
|
13870
|
+
return src_conf.modal.escClosable;
|
|
13852
13871
|
}
|
|
13853
13872
|
},
|
|
13854
13873
|
resize: Boolean,
|
|
13855
13874
|
showHeader: {
|
|
13856
13875
|
type: Boolean,
|
|
13857
13876
|
default: function _default() {
|
|
13858
|
-
return
|
|
13877
|
+
return src_conf.modal.showHeader;
|
|
13859
13878
|
}
|
|
13860
13879
|
},
|
|
13861
13880
|
showFooter: {
|
|
13862
13881
|
type: Boolean,
|
|
13863
13882
|
default: function _default() {
|
|
13864
|
-
return
|
|
13883
|
+
return src_conf.modal.showFooter;
|
|
13865
13884
|
}
|
|
13866
13885
|
},
|
|
13867
13886
|
showZoom: Boolean,
|
|
13868
13887
|
showClose: {
|
|
13869
13888
|
type: Boolean,
|
|
13870
13889
|
default: function _default() {
|
|
13871
|
-
return
|
|
13890
|
+
return src_conf.modal.showClose;
|
|
13872
13891
|
}
|
|
13873
13892
|
},
|
|
13874
13893
|
dblclickZoom: {
|
|
13875
13894
|
type: Boolean,
|
|
13876
13895
|
default: function _default() {
|
|
13877
|
-
return
|
|
13896
|
+
return src_conf.modal.dblclickZoom;
|
|
13878
13897
|
}
|
|
13879
13898
|
},
|
|
13880
13899
|
width: [Number, String],
|
|
@@ -13882,81 +13901,81 @@ var msgQueue = [];
|
|
|
13882
13901
|
minWidth: {
|
|
13883
13902
|
type: [Number, String],
|
|
13884
13903
|
default: function _default() {
|
|
13885
|
-
return
|
|
13904
|
+
return src_conf.modal.minWidth;
|
|
13886
13905
|
}
|
|
13887
13906
|
},
|
|
13888
13907
|
minHeight: {
|
|
13889
13908
|
type: [Number, String],
|
|
13890
13909
|
default: function _default() {
|
|
13891
|
-
return
|
|
13910
|
+
return src_conf.modal.minHeight;
|
|
13892
13911
|
}
|
|
13893
13912
|
},
|
|
13894
13913
|
zIndex: Number,
|
|
13895
13914
|
marginSize: {
|
|
13896
13915
|
type: [Number, String],
|
|
13897
13916
|
default: function _default() {
|
|
13898
|
-
return
|
|
13917
|
+
return src_conf.modal.marginSize;
|
|
13899
13918
|
}
|
|
13900
13919
|
},
|
|
13901
13920
|
fullscreen: Boolean,
|
|
13902
13921
|
draggable: {
|
|
13903
13922
|
type: Boolean,
|
|
13904
13923
|
default: function _default() {
|
|
13905
|
-
return
|
|
13924
|
+
return src_conf.modal.draggable;
|
|
13906
13925
|
}
|
|
13907
13926
|
},
|
|
13908
13927
|
remember: {
|
|
13909
13928
|
type: Boolean,
|
|
13910
13929
|
default: function _default() {
|
|
13911
|
-
return
|
|
13930
|
+
return src_conf.modal.remember;
|
|
13912
13931
|
}
|
|
13913
13932
|
},
|
|
13914
13933
|
destroyOnClose: {
|
|
13915
13934
|
type: Boolean,
|
|
13916
13935
|
default: function _default() {
|
|
13917
|
-
return
|
|
13936
|
+
return src_conf.modal.destroyOnClose;
|
|
13918
13937
|
}
|
|
13919
13938
|
},
|
|
13920
13939
|
showTitleOverflow: {
|
|
13921
13940
|
type: Boolean,
|
|
13922
13941
|
default: function _default() {
|
|
13923
|
-
return
|
|
13942
|
+
return src_conf.modal.showTitleOverflow;
|
|
13924
13943
|
}
|
|
13925
13944
|
},
|
|
13926
13945
|
transfer: {
|
|
13927
13946
|
type: Boolean,
|
|
13928
13947
|
default: function _default() {
|
|
13929
|
-
return
|
|
13948
|
+
return src_conf.modal.transfer;
|
|
13930
13949
|
}
|
|
13931
13950
|
},
|
|
13932
13951
|
storage: {
|
|
13933
13952
|
type: Boolean,
|
|
13934
13953
|
default: function _default() {
|
|
13935
|
-
return
|
|
13954
|
+
return src_conf.modal.storage;
|
|
13936
13955
|
}
|
|
13937
13956
|
},
|
|
13938
13957
|
storageKey: {
|
|
13939
13958
|
type: String,
|
|
13940
13959
|
default: function _default() {
|
|
13941
|
-
return
|
|
13960
|
+
return src_conf.modal.storageKey;
|
|
13942
13961
|
}
|
|
13943
13962
|
},
|
|
13944
13963
|
animat: {
|
|
13945
13964
|
type: Boolean,
|
|
13946
13965
|
default: function _default() {
|
|
13947
|
-
return
|
|
13966
|
+
return src_conf.modal.animat;
|
|
13948
13967
|
}
|
|
13949
13968
|
},
|
|
13950
13969
|
size: {
|
|
13951
13970
|
type: String,
|
|
13952
13971
|
default: function _default() {
|
|
13953
|
-
return
|
|
13972
|
+
return src_conf.modal.size || src_conf.size;
|
|
13954
13973
|
}
|
|
13955
13974
|
},
|
|
13956
13975
|
beforeHideMethod: {
|
|
13957
13976
|
type: Function,
|
|
13958
13977
|
default: function _default() {
|
|
13959
|
-
return
|
|
13978
|
+
return src_conf.modal.beforeHideMethod;
|
|
13960
13979
|
}
|
|
13961
13980
|
},
|
|
13962
13981
|
slots: Object
|
|
@@ -14147,7 +14166,7 @@ var msgQueue = [];
|
|
|
14147
14166
|
};
|
|
14148
14167
|
|
|
14149
14168
|
var getStorageMap = function getStorageMap(key) {
|
|
14150
|
-
var version =
|
|
14169
|
+
var version = src_conf.version;
|
|
14151
14170
|
var rest = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toStringJSON(localStorage.getItem(key) || '');
|
|
14152
14171
|
return rest && rest._v === version ? rest : {
|
|
14153
14172
|
_v: version
|
|
@@ -14739,20 +14758,20 @@ var msgQueue = [];
|
|
|
14739
14758
|
$modal: $xemodal
|
|
14740
14759
|
}) : [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
14741
14760
|
class: 'vxe-modal--title'
|
|
14742
|
-
}, title ? getFuncText(title) :
|
|
14761
|
+
}, title ? getFuncText(title) : src_conf.i18n('vxe.alert.title'))];
|
|
14743
14762
|
|
|
14744
14763
|
if (showZoom) {
|
|
14745
14764
|
titVNs.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
14746
|
-
class: ['vxe-modal--zoom-btn', 'trigger--btn', zoomLocat ?
|
|
14747
|
-
title:
|
|
14765
|
+
class: ['vxe-modal--zoom-btn', 'trigger--btn', zoomLocat ? src_conf.icon.MODAL_ZOOM_OUT : src_conf.icon.MODAL_ZOOM_IN],
|
|
14766
|
+
title: src_conf.i18n("vxe.modal.zoom".concat(zoomLocat ? 'Out' : 'In')),
|
|
14748
14767
|
onClick: toggleZoomEvent
|
|
14749
14768
|
}));
|
|
14750
14769
|
}
|
|
14751
14770
|
|
|
14752
14771
|
if (showClose) {
|
|
14753
14772
|
titVNs.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
14754
|
-
class: ['vxe-modal--close-btn', 'trigger--btn',
|
|
14755
|
-
title:
|
|
14773
|
+
class: ['vxe-modal--close-btn', 'trigger--btn', src_conf.icon.MODAL_CLOSE],
|
|
14774
|
+
title: src_conf.i18n('vxe.modal.close'),
|
|
14756
14775
|
onClick: closeEvent
|
|
14757
14776
|
}));
|
|
14758
14777
|
}
|
|
@@ -14807,7 +14826,7 @@ var msgQueue = [];
|
|
|
14807
14826
|
contVNs.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
14808
14827
|
class: 'vxe-modal--status-wrapper'
|
|
14809
14828
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
14810
|
-
class: ['vxe-modal--status-icon', props.iconStatus ||
|
|
14829
|
+
class: ['vxe-modal--status-icon', props.iconStatus || src_conf.icon["MODAL_".concat(status).toLocaleUpperCase()]]
|
|
14811
14830
|
})]));
|
|
14812
14831
|
}
|
|
14813
14832
|
|
|
@@ -14839,7 +14858,7 @@ var msgQueue = [];
|
|
|
14839
14858
|
if (type === 'confirm') {
|
|
14840
14859
|
btnVNs.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_button, {
|
|
14841
14860
|
ref: refCancelBtn,
|
|
14842
|
-
content: props.cancelButtonText ||
|
|
14861
|
+
content: props.cancelButtonText || src_conf.i18n('vxe.button.cancel'),
|
|
14843
14862
|
onClick: cancelEvent
|
|
14844
14863
|
}));
|
|
14845
14864
|
}
|
|
@@ -14847,7 +14866,7 @@ var msgQueue = [];
|
|
|
14847
14866
|
btnVNs.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_button, {
|
|
14848
14867
|
ref: refConfirmBtn,
|
|
14849
14868
|
status: 'primary',
|
|
14850
|
-
content: props.confirmButtonText ||
|
|
14869
|
+
content: props.confirmButtonText || src_conf.i18n('vxe.button.confirm'),
|
|
14851
14870
|
onClick: confirmEvent
|
|
14852
14871
|
}));
|
|
14853
14872
|
return btnVNs;
|
|
@@ -14983,9 +15002,6 @@ var msgQueue = [];
|
|
|
14983
15002
|
return this.renderVN();
|
|
14984
15003
|
}
|
|
14985
15004
|
}));
|
|
14986
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
14987
|
-
var es_array_includes = __webpack_require__("caad");
|
|
14988
|
-
|
|
14989
15005
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.pad-start.js
|
|
14990
15006
|
var es_string_pad_start = __webpack_require__("4d90");
|
|
14991
15007
|
|
|
@@ -15097,7 +15113,7 @@ var quarterSize = 8;
|
|
|
15097
15113
|
clearable: {
|
|
15098
15114
|
type: Boolean,
|
|
15099
15115
|
default: function _default() {
|
|
15100
|
-
return
|
|
15116
|
+
return src_conf.input.clearable;
|
|
15101
15117
|
}
|
|
15102
15118
|
},
|
|
15103
15119
|
readonly: Boolean,
|
|
@@ -15114,7 +15130,7 @@ var quarterSize = 8;
|
|
|
15114
15130
|
size: {
|
|
15115
15131
|
type: String,
|
|
15116
15132
|
default: function _default() {
|
|
15117
|
-
return
|
|
15133
|
+
return src_conf.input.size || src_conf.size;
|
|
15118
15134
|
}
|
|
15119
15135
|
},
|
|
15120
15136
|
multiple: Boolean,
|
|
@@ -15131,34 +15147,34 @@ var quarterSize = 8;
|
|
|
15131
15147
|
exponential: {
|
|
15132
15148
|
type: Boolean,
|
|
15133
15149
|
default: function _default() {
|
|
15134
|
-
return
|
|
15150
|
+
return src_conf.input.exponential;
|
|
15135
15151
|
}
|
|
15136
15152
|
},
|
|
15137
15153
|
// number、integer、float、password
|
|
15138
15154
|
controls: {
|
|
15139
15155
|
type: Boolean,
|
|
15140
15156
|
default: function _default() {
|
|
15141
|
-
return
|
|
15157
|
+
return src_conf.input.controls;
|
|
15142
15158
|
}
|
|
15143
15159
|
},
|
|
15144
15160
|
// float
|
|
15145
15161
|
digits: {
|
|
15146
15162
|
type: [String, Number],
|
|
15147
15163
|
default: function _default() {
|
|
15148
|
-
return
|
|
15164
|
+
return src_conf.input.digits;
|
|
15149
15165
|
}
|
|
15150
15166
|
},
|
|
15151
15167
|
// date、week、month、quarter、year
|
|
15152
15168
|
startDate: {
|
|
15153
15169
|
type: [String, Number, Date],
|
|
15154
15170
|
default: function _default() {
|
|
15155
|
-
return
|
|
15171
|
+
return src_conf.input.startDate;
|
|
15156
15172
|
}
|
|
15157
15173
|
},
|
|
15158
15174
|
endDate: {
|
|
15159
15175
|
type: [String, Number, Date],
|
|
15160
15176
|
default: function _default() {
|
|
15161
|
-
return
|
|
15177
|
+
return src_conf.input.endDate;
|
|
15162
15178
|
}
|
|
15163
15179
|
},
|
|
15164
15180
|
minDate: [String, Number, Date],
|
|
@@ -15168,19 +15184,19 @@ var quarterSize = 8;
|
|
|
15168
15184
|
startDay: {
|
|
15169
15185
|
type: [String, Number],
|
|
15170
15186
|
default: function _default() {
|
|
15171
|
-
return
|
|
15187
|
+
return src_conf.input.startDay;
|
|
15172
15188
|
}
|
|
15173
15189
|
},
|
|
15174
15190
|
labelFormat: {
|
|
15175
15191
|
type: String,
|
|
15176
15192
|
default: function _default() {
|
|
15177
|
-
return
|
|
15193
|
+
return src_conf.input.labelFormat;
|
|
15178
15194
|
}
|
|
15179
15195
|
},
|
|
15180
15196
|
valueFormat: {
|
|
15181
15197
|
type: String,
|
|
15182
15198
|
default: function _default() {
|
|
15183
|
-
return
|
|
15199
|
+
return src_conf.input.valueFormat;
|
|
15184
15200
|
}
|
|
15185
15201
|
},
|
|
15186
15202
|
editable: {
|
|
@@ -15190,20 +15206,20 @@ var quarterSize = 8;
|
|
|
15190
15206
|
festivalMethod: {
|
|
15191
15207
|
type: Function,
|
|
15192
15208
|
default: function _default() {
|
|
15193
|
-
return
|
|
15209
|
+
return src_conf.input.festivalMethod;
|
|
15194
15210
|
}
|
|
15195
15211
|
},
|
|
15196
15212
|
disabledMethod: {
|
|
15197
15213
|
type: Function,
|
|
15198
15214
|
default: function _default() {
|
|
15199
|
-
return
|
|
15215
|
+
return src_conf.input.disabledMethod;
|
|
15200
15216
|
}
|
|
15201
15217
|
},
|
|
15202
15218
|
// week
|
|
15203
15219
|
selectDay: {
|
|
15204
15220
|
type: [String, Number],
|
|
15205
15221
|
default: function _default() {
|
|
15206
|
-
return
|
|
15222
|
+
return src_conf.input.selectDay;
|
|
15207
15223
|
}
|
|
15208
15224
|
},
|
|
15209
15225
|
prefixIcon: String,
|
|
@@ -15212,7 +15228,7 @@ var quarterSize = 8;
|
|
|
15212
15228
|
transfer: {
|
|
15213
15229
|
type: Boolean,
|
|
15214
15230
|
default: function _default() {
|
|
15215
|
-
return
|
|
15231
|
+
return src_conf.input.transfer;
|
|
15216
15232
|
}
|
|
15217
15233
|
}
|
|
15218
15234
|
},
|
|
@@ -15411,7 +15427,7 @@ var quarterSize = 8;
|
|
|
15411
15427
|
var isDatePickerType = computeIsDatePickerType.value;
|
|
15412
15428
|
|
|
15413
15429
|
if (isDatePickerType) {
|
|
15414
|
-
return props.labelFormat ||
|
|
15430
|
+
return props.labelFormat || src_conf.i18n("vxe.input.date.labelFormat.".concat(props.type));
|
|
15415
15431
|
}
|
|
15416
15432
|
|
|
15417
15433
|
return null;
|
|
@@ -15458,14 +15474,14 @@ var quarterSize = 8;
|
|
|
15458
15474
|
}
|
|
15459
15475
|
|
|
15460
15476
|
if (datePanelType === 'quarter') {
|
|
15461
|
-
return
|
|
15477
|
+
return src_conf.i18n('vxe.input.date.quarterLabel', [year]);
|
|
15462
15478
|
} else if (datePanelType === 'month') {
|
|
15463
|
-
return
|
|
15479
|
+
return src_conf.i18n('vxe.input.date.monthLabel', [year]);
|
|
15464
15480
|
} else if (datePanelType === 'year') {
|
|
15465
15481
|
return yearList.length ? "".concat(yearList[0].year, " - ").concat(yearList[yearList.length - 1].year) : '';
|
|
15466
15482
|
}
|
|
15467
15483
|
|
|
15468
|
-
return
|
|
15484
|
+
return src_conf.i18n('vxe.input.date.dayLabel', [year, month ? src_conf.i18n("vxe.input.date.m".concat(month)) : '-']);
|
|
15469
15485
|
}
|
|
15470
15486
|
|
|
15471
15487
|
return '';
|
|
@@ -15504,7 +15520,7 @@ var quarterSize = 8;
|
|
|
15504
15520
|
return weekDatas.map(function (day) {
|
|
15505
15521
|
return {
|
|
15506
15522
|
value: day,
|
|
15507
|
-
label:
|
|
15523
|
+
label: src_conf.i18n("vxe.input.date.weeks.w".concat(day))
|
|
15508
15524
|
};
|
|
15509
15525
|
});
|
|
15510
15526
|
}
|
|
@@ -15517,7 +15533,7 @@ var quarterSize = 8;
|
|
|
15517
15533
|
if (isDatePickerType) {
|
|
15518
15534
|
var dateHeaders = computeDateHeaders.value;
|
|
15519
15535
|
return [{
|
|
15520
|
-
label:
|
|
15536
|
+
label: src_conf.i18n('vxe.input.date.weeks.w')
|
|
15521
15537
|
}].concat(dateHeaders);
|
|
15522
15538
|
}
|
|
15523
15539
|
|
|
@@ -17180,7 +17196,7 @@ var quarterSize = 8;
|
|
|
17180
17196
|
onMouseenter: function onMouseenter() {
|
|
17181
17197
|
return dateMouseenterEvent(item);
|
|
17182
17198
|
}
|
|
17183
|
-
}, renderDateLabel(item,
|
|
17199
|
+
}, renderDateLabel(item, src_conf.i18n("vxe.input.date.months.m".concat(item.month))));
|
|
17184
17200
|
}));
|
|
17185
17201
|
}))])];
|
|
17186
17202
|
};
|
|
@@ -17218,7 +17234,7 @@ var quarterSize = 8;
|
|
|
17218
17234
|
onMouseenter: function onMouseenter() {
|
|
17219
17235
|
return dateMouseenterEvent(item);
|
|
17220
17236
|
}
|
|
17221
|
-
}, renderDateLabel(item,
|
|
17237
|
+
}, renderDateLabel(item, src_conf.i18n("vxe.input.date.quarters.q".concat(item.quarter))));
|
|
17222
17238
|
}));
|
|
17223
17239
|
}))])];
|
|
17224
17240
|
};
|
|
@@ -17323,7 +17339,7 @@ var quarterSize = 8;
|
|
|
17323
17339
|
class: 'vxe-input--date-picker-confirm',
|
|
17324
17340
|
type: 'button',
|
|
17325
17341
|
onClick: dateConfirmEvent
|
|
17326
|
-
},
|
|
17342
|
+
}, src_conf.i18n('vxe.button.confirm'))]) : null])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
17327
17343
|
class: 'vxe-input--date-picker-body'
|
|
17328
17344
|
}, renderDateTable())];
|
|
17329
17345
|
};
|
|
@@ -17342,7 +17358,7 @@ var quarterSize = 8;
|
|
|
17342
17358
|
class: 'vxe-input--time-picker-confirm',
|
|
17343
17359
|
type: 'button',
|
|
17344
17360
|
onClick: dateConfirmEvent
|
|
17345
|
-
},
|
|
17361
|
+
}, src_conf.i18n('vxe.button.confirm'))]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
17346
17362
|
ref: refInputTimeBody,
|
|
17347
17363
|
class: 'vxe-input--time-picker-body'
|
|
17348
17364
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('ul', {
|
|
@@ -17444,7 +17460,7 @@ var quarterSize = 8;
|
|
|
17444
17460
|
onMouseup: numberStopDown,
|
|
17445
17461
|
onMouseleave: numberStopDown
|
|
17446
17462
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
17447
|
-
class: ['vxe-input--number-prev-icon',
|
|
17463
|
+
class: ['vxe-input--number-prev-icon', src_conf.icon.INPUT_PREV_NUM]
|
|
17448
17464
|
})]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
17449
17465
|
class: ['vxe-input--number-next is--next', {
|
|
17450
17466
|
'is--disabled': isDisabledSubtractNumber
|
|
@@ -17453,7 +17469,7 @@ var quarterSize = 8;
|
|
|
17453
17469
|
onMouseup: numberStopDown,
|
|
17454
17470
|
onMouseleave: numberStopDown
|
|
17455
17471
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
17456
|
-
class: ['vxe-input--number-next-icon',
|
|
17472
|
+
class: ['vxe-input--number-next-icon', src_conf.icon.INPUT_NEXT_NUM]
|
|
17457
17473
|
})])]);
|
|
17458
17474
|
};
|
|
17459
17475
|
|
|
@@ -17462,7 +17478,7 @@ var quarterSize = 8;
|
|
|
17462
17478
|
class: 'vxe-input--date-picker-suffix',
|
|
17463
17479
|
onClick: datePickerOpenEvent
|
|
17464
17480
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
17465
|
-
class: ['vxe-input--date-picker-icon',
|
|
17481
|
+
class: ['vxe-input--date-picker-icon', src_conf.icon.INPUT_DATE]
|
|
17466
17482
|
})]);
|
|
17467
17483
|
};
|
|
17468
17484
|
|
|
@@ -17471,7 +17487,7 @@ var quarterSize = 8;
|
|
|
17471
17487
|
class: 'vxe-input--search-suffix',
|
|
17472
17488
|
onClick: searchEvent
|
|
17473
17489
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
17474
|
-
class: ['vxe-input--search-icon',
|
|
17490
|
+
class: ['vxe-input--search-icon', src_conf.icon.INPUT_SEARCH]
|
|
17475
17491
|
})]);
|
|
17476
17492
|
};
|
|
17477
17493
|
|
|
@@ -17481,7 +17497,7 @@ var quarterSize = 8;
|
|
|
17481
17497
|
class: 'vxe-input--password-suffix',
|
|
17482
17498
|
onClick: passwordToggleEvent
|
|
17483
17499
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
17484
|
-
class: ['vxe-input--password-icon', showPwd ?
|
|
17500
|
+
class: ['vxe-input--password-icon', showPwd ? src_conf.icon.INPUT_SHOW_PWD : src_conf.icon.INPUT_PWD]
|
|
17485
17501
|
})]);
|
|
17486
17502
|
};
|
|
17487
17503
|
|
|
@@ -17526,7 +17542,7 @@ var quarterSize = 8;
|
|
|
17526
17542
|
|
|
17527
17543
|
if (isClearable) {
|
|
17528
17544
|
icons.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
17529
|
-
class: ['vxe-input--clear-icon',
|
|
17545
|
+
class: ['vxe-input--clear-icon', src_conf.icon.INPUT_CLEAR]
|
|
17530
17546
|
}));
|
|
17531
17547
|
}
|
|
17532
17548
|
|
|
@@ -17705,9 +17721,6 @@ var quarterSize = 8;
|
|
|
17705
17721
|
return this.renderVN();
|
|
17706
17722
|
}
|
|
17707
17723
|
}));
|
|
17708
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
17709
|
-
var es_string_includes = __webpack_require__("2532");
|
|
17710
|
-
|
|
17711
17724
|
// CONCATENATED MODULE: ./packages/checkbox/src/checkbox.ts
|
|
17712
17725
|
|
|
17713
17726
|
|
|
@@ -17742,7 +17755,7 @@ var es_string_includes = __webpack_require__("2532");
|
|
|
17742
17755
|
size: {
|
|
17743
17756
|
type: String,
|
|
17744
17757
|
default: function _default() {
|
|
17745
|
-
return
|
|
17758
|
+
return src_conf.checkbox.size || src_conf.size;
|
|
17746
17759
|
}
|
|
17747
17760
|
}
|
|
17748
17761
|
},
|
|
@@ -17878,7 +17891,7 @@ function getOptUniqueId() {
|
|
|
17878
17891
|
multiCharOverflow: {
|
|
17879
17892
|
type: [Number, String],
|
|
17880
17893
|
default: function _default() {
|
|
17881
|
-
return
|
|
17894
|
+
return src_conf.select.multiCharOverflow;
|
|
17882
17895
|
}
|
|
17883
17896
|
},
|
|
17884
17897
|
prefixIcon: String,
|
|
@@ -17892,7 +17905,7 @@ function getOptUniqueId() {
|
|
|
17892
17905
|
size: {
|
|
17893
17906
|
type: String,
|
|
17894
17907
|
default: function _default() {
|
|
17895
|
-
return
|
|
17908
|
+
return src_conf.select.size || src_conf.size;
|
|
17896
17909
|
}
|
|
17897
17910
|
},
|
|
17898
17911
|
filterable: Boolean,
|
|
@@ -17904,7 +17917,7 @@ function getOptUniqueId() {
|
|
|
17904
17917
|
optionId: {
|
|
17905
17918
|
type: String,
|
|
17906
17919
|
default: function _default() {
|
|
17907
|
-
return
|
|
17920
|
+
return src_conf.select.optionId;
|
|
17908
17921
|
}
|
|
17909
17922
|
},
|
|
17910
17923
|
// 已废弃,被 option-config.useKey 替换
|
|
@@ -17912,7 +17925,7 @@ function getOptUniqueId() {
|
|
|
17912
17925
|
transfer: {
|
|
17913
17926
|
type: Boolean,
|
|
17914
17927
|
default: function _default() {
|
|
17915
|
-
return
|
|
17928
|
+
return src_conf.select.transfer;
|
|
17916
17929
|
}
|
|
17917
17930
|
}
|
|
17918
17931
|
},
|
|
@@ -17984,7 +17997,7 @@ function getOptUniqueId() {
|
|
|
17984
17997
|
return groupPropsOpts.options || 'options';
|
|
17985
17998
|
});
|
|
17986
17999
|
var computeOptionOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
17987
|
-
return Object.assign({},
|
|
18000
|
+
return Object.assign({}, src_conf.select.optionConfig, props.optionConfig);
|
|
17988
18001
|
});
|
|
17989
18002
|
var computeIsGroup = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
17990
18003
|
return reactData.fullGroupList.some(function (item) {
|
|
@@ -18779,10 +18792,10 @@ function getOptUniqueId() {
|
|
|
18779
18792
|
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
18780
18793
|
class: 'vxe-select--search-loading'
|
|
18781
18794
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
18782
|
-
class: ['vxe-select--search-icon',
|
|
18795
|
+
class: ['vxe-select--search-icon', src_conf.icon.SELECT_LOADED]
|
|
18783
18796
|
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
18784
18797
|
class: 'vxe-select--search-text'
|
|
18785
|
-
},
|
|
18798
|
+
}, src_conf.i18n('vxe.select.loadingText'))])];
|
|
18786
18799
|
}
|
|
18787
18800
|
|
|
18788
18801
|
if (isGroup) {
|
|
@@ -18797,7 +18810,7 @@ function getOptUniqueId() {
|
|
|
18797
18810
|
|
|
18798
18811
|
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
18799
18812
|
class: 'vxe-select--empty-placeholder'
|
|
18800
|
-
}, props.emptyText ||
|
|
18813
|
+
}, props.emptyText || src_conf.i18n('vxe.select.emptyText'))];
|
|
18801
18814
|
};
|
|
18802
18815
|
|
|
18803
18816
|
selectMethods = {
|
|
@@ -18932,7 +18945,7 @@ function getOptUniqueId() {
|
|
|
18932
18945
|
disabled: disabled,
|
|
18933
18946
|
type: 'text',
|
|
18934
18947
|
prefixIcon: props.prefixIcon,
|
|
18935
|
-
suffixIcon: loading ?
|
|
18948
|
+
suffixIcon: loading ? src_conf.icon.SELECT_LOADED : visiblePanel ? src_conf.icon.SELECT_OPEN : src_conf.icon.SELECT_CLOSE,
|
|
18936
18949
|
modelValue: selectLabel,
|
|
18937
18950
|
onClear: clearEvent,
|
|
18938
18951
|
onClick: togglePanelEvent,
|
|
@@ -18958,8 +18971,8 @@ function getOptUniqueId() {
|
|
|
18958
18971
|
class: 'vxe-select-filter--input',
|
|
18959
18972
|
modelValue: reactData.searchValue,
|
|
18960
18973
|
clearable: true,
|
|
18961
|
-
placeholder:
|
|
18962
|
-
prefixIcon:
|
|
18974
|
+
placeholder: src_conf.i18n('vxe.select.search'),
|
|
18975
|
+
prefixIcon: src_conf.icon.INPUT_SEARCH,
|
|
18963
18976
|
'onUpdate:modelValue': modelSearchEvent,
|
|
18964
18977
|
onFocus: focusSearchEvent,
|
|
18965
18978
|
onKeydown: keydownSearchEvent,
|
|
@@ -19198,7 +19211,7 @@ function getOptUniqueId() {
|
|
|
19198
19211
|
});
|
|
19199
19212
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(modal, {
|
|
19200
19213
|
modelValue: storeData.visible,
|
|
19201
|
-
title:
|
|
19214
|
+
title: src_conf.i18n(isPrint ? 'vxe.export.printTitle' : 'vxe.export.expTitle'),
|
|
19202
19215
|
width: 660,
|
|
19203
19216
|
mask: true,
|
|
19204
19217
|
lockView: true,
|
|
@@ -19218,47 +19231,47 @@ function getOptUniqueId() {
|
|
|
19218
19231
|
cellspacing: 0,
|
|
19219
19232
|
cellpadding: 0,
|
|
19220
19233
|
border: 0
|
|
19221
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tbody', [[isPrint ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])() : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td',
|
|
19234
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tbody', [[isPrint ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])() : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', src_conf.i18n('vxe.export.expName')), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(input, {
|
|
19222
19235
|
ref: xInputFilename,
|
|
19223
19236
|
modelValue: defaultOptions.filename,
|
|
19224
19237
|
type: 'text',
|
|
19225
19238
|
clearable: true,
|
|
19226
|
-
placeholder:
|
|
19239
|
+
placeholder: src_conf.i18n('vxe.export.expNamePlaceholder'),
|
|
19227
19240
|
'onUpdate:modelValue': function onUpdateModelValue(value) {
|
|
19228
19241
|
defaultOptions.filename = value;
|
|
19229
19242
|
}
|
|
19230
|
-
})])]), isPrint ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])() : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td',
|
|
19243
|
+
})])]), isPrint ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])() : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', src_conf.i18n('vxe.export.expType')), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_select, {
|
|
19231
19244
|
modelValue: defaultOptions.type,
|
|
19232
19245
|
options: storeData.typeList.map(function (item) {
|
|
19233
19246
|
return {
|
|
19234
19247
|
value: item.value,
|
|
19235
|
-
label:
|
|
19248
|
+
label: src_conf.i18n(item.label)
|
|
19236
19249
|
};
|
|
19237
19250
|
}),
|
|
19238
19251
|
'onUpdate:modelValue': function onUpdateModelValue(value) {
|
|
19239
19252
|
defaultOptions.type = value;
|
|
19240
19253
|
}
|
|
19241
|
-
})])]), isPrint || showSheet ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td',
|
|
19254
|
+
})])]), isPrint || showSheet ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', src_conf.i18n('vxe.export.expSheetName')), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(input, {
|
|
19242
19255
|
ref: xInputSheetname,
|
|
19243
19256
|
modelValue: defaultOptions.sheetName,
|
|
19244
19257
|
type: 'text',
|
|
19245
19258
|
clearable: true,
|
|
19246
|
-
placeholder:
|
|
19259
|
+
placeholder: src_conf.i18n('vxe.export.expSheetNamePlaceholder'),
|
|
19247
19260
|
'onUpdate:modelValue': function onUpdateModelValue(value) {
|
|
19248
19261
|
defaultOptions.sheetName = value;
|
|
19249
19262
|
}
|
|
19250
|
-
})])]) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td',
|
|
19263
|
+
})])]) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', src_conf.i18n('vxe.export.expMode')), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_select, {
|
|
19251
19264
|
modelValue: defaultOptions.mode,
|
|
19252
19265
|
options: storeData.modeList.map(function (item) {
|
|
19253
19266
|
return {
|
|
19254
19267
|
value: item.value,
|
|
19255
|
-
label:
|
|
19268
|
+
label: src_conf.i18n(item.label)
|
|
19256
19269
|
};
|
|
19257
19270
|
}),
|
|
19258
19271
|
'onUpdate:modelValue': function onUpdateModelValue(value) {
|
|
19259
19272
|
defaultOptions.mode = value;
|
|
19260
19273
|
}
|
|
19261
|
-
})])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', [
|
|
19274
|
+
})])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', [src_conf.i18n('vxe.export.expColumn')]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
19262
19275
|
class: 'vxe-export--panel-column'
|
|
19263
19276
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('ul', {
|
|
19264
19277
|
class: 'vxe-export--panel-column-header'
|
|
@@ -19267,7 +19280,7 @@ function getOptUniqueId() {
|
|
|
19267
19280
|
'is--checked': isAll,
|
|
19268
19281
|
'is--indeterminate': isIndeterminate
|
|
19269
19282
|
}],
|
|
19270
|
-
title:
|
|
19283
|
+
title: src_conf.i18n('vxe.table.allTitle'),
|
|
19271
19284
|
onClick: allColumnEvent
|
|
19272
19285
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
19273
19286
|
class: 'vxe-checkbox--icon vxe-checkbox--checked-icon'
|
|
@@ -19277,29 +19290,29 @@ function getOptUniqueId() {
|
|
|
19277
19290
|
class: 'vxe-checkbox--icon vxe-checkbox--indeterminate-icon'
|
|
19278
19291
|
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
19279
19292
|
class: 'vxe-checkbox--label'
|
|
19280
|
-
},
|
|
19293
|
+
}, src_conf.i18n('vxe.export.expCurrentColumn'))])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('ul', {
|
|
19281
19294
|
class: 'vxe-export--panel-column-body'
|
|
19282
|
-
}, cols)])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td',
|
|
19295
|
+
}, cols)])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', src_conf.i18n('vxe.export.expOpts')), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
19283
19296
|
class: 'vxe-export--panel-option-row'
|
|
19284
19297
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_checkbox, {
|
|
19285
19298
|
modelValue: defaultOptions.isHeader,
|
|
19286
|
-
title:
|
|
19287
|
-
content:
|
|
19299
|
+
title: src_conf.i18n('vxe.export.expHeaderTitle'),
|
|
19300
|
+
content: src_conf.i18n('vxe.export.expOptHeader'),
|
|
19288
19301
|
'onUpdate:modelValue': function onUpdateModelValue(value) {
|
|
19289
19302
|
defaultOptions.isHeader = value;
|
|
19290
19303
|
}
|
|
19291
19304
|
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_checkbox, {
|
|
19292
19305
|
modelValue: defaultOptions.isFooter,
|
|
19293
19306
|
disabled: !storeData.hasFooter,
|
|
19294
|
-
title:
|
|
19295
|
-
content:
|
|
19307
|
+
title: src_conf.i18n('vxe.export.expFooterTitle'),
|
|
19308
|
+
content: src_conf.i18n('vxe.export.expOptFooter'),
|
|
19296
19309
|
'onUpdate:modelValue': function onUpdateModelValue(value) {
|
|
19297
19310
|
defaultOptions.isFooter = value;
|
|
19298
19311
|
}
|
|
19299
19312
|
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_checkbox, {
|
|
19300
19313
|
modelValue: defaultOptions.original,
|
|
19301
|
-
title:
|
|
19302
|
-
content:
|
|
19314
|
+
title: src_conf.i18n('vxe.export.expOriginalTitle'),
|
|
19315
|
+
content: src_conf.i18n('vxe.export.expOptOriginal'),
|
|
19303
19316
|
'onUpdate:modelValue': function onUpdateModelValue(value) {
|
|
19304
19317
|
defaultOptions.original = value;
|
|
19305
19318
|
}
|
|
@@ -19307,45 +19320,45 @@ function getOptUniqueId() {
|
|
|
19307
19320
|
class: 'vxe-export--panel-option-row'
|
|
19308
19321
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_checkbox, {
|
|
19309
19322
|
modelValue: isHeader && hasColgroup && supportMerge ? defaultOptions.isColgroup : false,
|
|
19310
|
-
title:
|
|
19323
|
+
title: src_conf.i18n('vxe.export.expColgroupTitle'),
|
|
19311
19324
|
disabled: !isHeader || !hasColgroup || !supportMerge,
|
|
19312
|
-
content:
|
|
19325
|
+
content: src_conf.i18n('vxe.export.expOptColgroup'),
|
|
19313
19326
|
'onUpdate:modelValue': function onUpdateModelValue(value) {
|
|
19314
19327
|
defaultOptions.isColgroup = value;
|
|
19315
19328
|
}
|
|
19316
19329
|
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_checkbox, {
|
|
19317
19330
|
modelValue: hasMerge && supportMerge && checkedAll ? defaultOptions.isMerge : false,
|
|
19318
|
-
title:
|
|
19331
|
+
title: src_conf.i18n('vxe.export.expMergeTitle'),
|
|
19319
19332
|
disabled: !hasMerge || !supportMerge || !checkedAll,
|
|
19320
|
-
content:
|
|
19333
|
+
content: src_conf.i18n('vxe.export.expOptMerge'),
|
|
19321
19334
|
'onUpdate:modelValue': function onUpdateModelValue(value) {
|
|
19322
19335
|
defaultOptions.isMerge = value;
|
|
19323
19336
|
}
|
|
19324
19337
|
}), isPrint ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])() : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_checkbox, {
|
|
19325
19338
|
modelValue: supportStyle ? defaultOptions.useStyle : false,
|
|
19326
19339
|
disabled: !supportStyle,
|
|
19327
|
-
title:
|
|
19328
|
-
content:
|
|
19340
|
+
title: src_conf.i18n('vxe.export.expUseStyleTitle'),
|
|
19341
|
+
content: src_conf.i18n('vxe.export.expOptUseStyle'),
|
|
19329
19342
|
'onUpdate:modelValue': function onUpdateModelValue(value) {
|
|
19330
19343
|
defaultOptions.useStyle = value;
|
|
19331
19344
|
}
|
|
19332
19345
|
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_checkbox, {
|
|
19333
19346
|
modelValue: hasTree ? defaultOptions.isAllExpand : false,
|
|
19334
19347
|
disabled: !hasTree,
|
|
19335
|
-
title:
|
|
19336
|
-
content:
|
|
19348
|
+
title: src_conf.i18n('vxe.export.expAllExpandTitle'),
|
|
19349
|
+
content: src_conf.i18n('vxe.export.expOptAllExpand'),
|
|
19337
19350
|
'onUpdate:modelValue': function onUpdateModelValue(value) {
|
|
19338
19351
|
defaultOptions.isAllExpand = value;
|
|
19339
19352
|
}
|
|
19340
19353
|
})])])])]])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
19341
19354
|
class: 'vxe-export--panel-btns'
|
|
19342
19355
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_button, {
|
|
19343
|
-
content:
|
|
19356
|
+
content: src_conf.i18n('vxe.export.expCancel'),
|
|
19344
19357
|
onClick: cancelEvent
|
|
19345
19358
|
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_button, {
|
|
19346
19359
|
ref: xButtonConfirm,
|
|
19347
19360
|
status: 'primary',
|
|
19348
|
-
content:
|
|
19361
|
+
content: src_conf.i18n(isPrint ? 'vxe.export.expPrint' : 'vxe.export.expConfirm'),
|
|
19349
19362
|
onClick: confirmEvent
|
|
19350
19363
|
})])]);
|
|
19351
19364
|
}
|
|
@@ -19370,13 +19383,13 @@ function getOptUniqueId() {
|
|
|
19370
19383
|
strict: {
|
|
19371
19384
|
type: Boolean,
|
|
19372
19385
|
default: function _default() {
|
|
19373
|
-
return
|
|
19386
|
+
return src_conf.radio.strict;
|
|
19374
19387
|
}
|
|
19375
19388
|
},
|
|
19376
19389
|
size: {
|
|
19377
19390
|
type: String,
|
|
19378
19391
|
default: function _default() {
|
|
19379
|
-
return
|
|
19392
|
+
return src_conf.radio.size || src_conf.size;
|
|
19380
19393
|
}
|
|
19381
19394
|
}
|
|
19382
19395
|
},
|
|
@@ -19453,13 +19466,13 @@ function getOptUniqueId() {
|
|
|
19453
19466
|
strict: {
|
|
19454
19467
|
type: Boolean,
|
|
19455
19468
|
default: function _default() {
|
|
19456
|
-
return
|
|
19469
|
+
return src_conf.radio.strict;
|
|
19457
19470
|
}
|
|
19458
19471
|
},
|
|
19459
19472
|
size: {
|
|
19460
19473
|
type: String,
|
|
19461
19474
|
default: function _default() {
|
|
19462
|
-
return
|
|
19475
|
+
return src_conf.radio.size || src_conf.size;
|
|
19463
19476
|
}
|
|
19464
19477
|
}
|
|
19465
19478
|
},
|
|
@@ -19618,7 +19631,7 @@ function getOptUniqueId() {
|
|
|
19618
19631
|
var selectItem = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.find(typeList, function (item) {
|
|
19619
19632
|
return type === item.value;
|
|
19620
19633
|
});
|
|
19621
|
-
return selectItem ?
|
|
19634
|
+
return selectItem ? src_conf.i18n(selectItem.label) : '*.*';
|
|
19622
19635
|
}
|
|
19623
19636
|
|
|
19624
19637
|
return "*.".concat(typeList.map(function (item) {
|
|
@@ -19684,7 +19697,7 @@ function getOptUniqueId() {
|
|
|
19684
19697
|
var parseTypeLabel = computeParseTypeLabel.value;
|
|
19685
19698
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(modal, {
|
|
19686
19699
|
modelValue: storeData.visible,
|
|
19687
|
-
title:
|
|
19700
|
+
title: src_conf.i18n('vxe.import.impTitle'),
|
|
19688
19701
|
width: 440,
|
|
19689
19702
|
mask: true,
|
|
19690
19703
|
lockView: true,
|
|
@@ -19704,17 +19717,17 @@ function getOptUniqueId() {
|
|
|
19704
19717
|
cellspacing: 0,
|
|
19705
19718
|
cellpadding: 0,
|
|
19706
19719
|
border: 0
|
|
19707
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tbody', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td',
|
|
19720
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tbody', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', src_conf.i18n('vxe.import.impFile')), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', [hasFile ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
19708
19721
|
class: 'vxe-import-selected--file',
|
|
19709
19722
|
title: selectName
|
|
19710
19723
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', selectName), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
19711
|
-
class:
|
|
19724
|
+
class: src_conf.icon.INPUT_CLEAR,
|
|
19712
19725
|
onClick: clearFileEvent
|
|
19713
19726
|
})]) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('button', {
|
|
19714
19727
|
ref: refFileBtn,
|
|
19715
19728
|
class: 'vxe-import-select--file',
|
|
19716
19729
|
onClick: selectFileEvent
|
|
19717
|
-
},
|
|
19730
|
+
}, src_conf.i18n('vxe.import.impSelect'))])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', src_conf.i18n('vxe.import.impType')), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', parseTypeLabel)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('tr', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', src_conf.i18n('vxe.import.impOpts')), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('td', [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_group, {
|
|
19718
19731
|
modelValue: defaultOptions.mode,
|
|
19719
19732
|
'onUpdate:modelValue': function onUpdateModelValue(value) {
|
|
19720
19733
|
defaultOptions.mode = value;
|
|
@@ -19724,19 +19737,19 @@ function getOptUniqueId() {
|
|
|
19724
19737
|
return storeData.modeList.map(function (item) {
|
|
19725
19738
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_radio, {
|
|
19726
19739
|
label: item.value,
|
|
19727
|
-
content:
|
|
19740
|
+
content: src_conf.i18n(item.label)
|
|
19728
19741
|
});
|
|
19729
19742
|
});
|
|
19730
19743
|
}
|
|
19731
19744
|
})])])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
19732
19745
|
class: 'vxe-export--panel-btns'
|
|
19733
19746
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_button, {
|
|
19734
|
-
content:
|
|
19747
|
+
content: src_conf.i18n('vxe.import.impCancel'),
|
|
19735
19748
|
onClick: cancelEvent
|
|
19736
19749
|
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(src_button, {
|
|
19737
19750
|
status: 'primary',
|
|
19738
19751
|
disabled: !hasFile,
|
|
19739
|
-
content:
|
|
19752
|
+
content: src_conf.i18n('vxe.import.impConfirm'),
|
|
19740
19753
|
onClick: importEvent
|
|
19741
19754
|
})])]);
|
|
19742
19755
|
}
|
|
@@ -19861,7 +19874,7 @@ var util_readLocalFile = function readLocalFile(options) {
|
|
|
19861
19874
|
}
|
|
19862
19875
|
|
|
19863
19876
|
VXETable.modal.message({
|
|
19864
|
-
content:
|
|
19877
|
+
content: src_conf.i18n('vxe.error.notType', [errType]),
|
|
19865
19878
|
status: 'error'
|
|
19866
19879
|
});
|
|
19867
19880
|
}
|
|
@@ -20952,7 +20965,7 @@ var tableExportHook = {
|
|
|
20952
20965
|
}
|
|
20953
20966
|
|
|
20954
20967
|
VXETable.modal.message({
|
|
20955
|
-
content:
|
|
20968
|
+
content: src_conf.i18n('vxe.table.expSuccess'),
|
|
20956
20969
|
status: 'success'
|
|
20957
20970
|
});
|
|
20958
20971
|
}
|
|
@@ -21073,7 +21086,7 @@ var tableExportHook = {
|
|
|
21073
21086
|
}
|
|
21074
21087
|
|
|
21075
21088
|
VXETable.modal.message({
|
|
21076
|
-
content:
|
|
21089
|
+
content: src_conf.i18n('vxe.table.impSuccess', [rows.length]),
|
|
21077
21090
|
status: 'success'
|
|
21078
21091
|
});
|
|
21079
21092
|
}
|
|
@@ -21095,7 +21108,7 @@ var tableExportHook = {
|
|
|
21095
21108
|
}
|
|
21096
21109
|
|
|
21097
21110
|
VXETable.modal.message({
|
|
21098
|
-
content:
|
|
21111
|
+
content: src_conf.i18n('vxe.error.impFields'),
|
|
21099
21112
|
status: 'error'
|
|
21100
21113
|
});
|
|
21101
21114
|
|
|
@@ -21126,7 +21139,7 @@ var tableExportHook = {
|
|
|
21126
21139
|
}
|
|
21127
21140
|
|
|
21128
21141
|
VXETable.modal.message({
|
|
21129
|
-
content:
|
|
21142
|
+
content: src_conf.i18n('vxe.error.notType', [type]),
|
|
21130
21143
|
status: 'error'
|
|
21131
21144
|
});
|
|
21132
21145
|
}
|
|
@@ -21470,7 +21483,7 @@ var tableExportHook = {
|
|
|
21470
21483
|
opts.colgroups = convertToRows(groups);
|
|
21471
21484
|
|
|
21472
21485
|
if (!opts.filename) {
|
|
21473
|
-
opts.filename =
|
|
21486
|
+
opts.filename = src_conf.i18n(opts.original ? 'vxe.table.expOriginFilename' : 'vxe.table.expFilename', [external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toDateString(Date.now(), 'yyyyMMddHHmmss')]);
|
|
21474
21487
|
}
|
|
21475
21488
|
|
|
21476
21489
|
if (!opts.sheetName) {
|
|
@@ -21668,7 +21681,7 @@ var tableExportHook = {
|
|
|
21668
21681
|
if (isTree) {
|
|
21669
21682
|
if (defOpts.message) {
|
|
21670
21683
|
VXETable.modal.message({
|
|
21671
|
-
content:
|
|
21684
|
+
content: src_conf.i18n('vxe.error.treeNotImp'),
|
|
21672
21685
|
status: 'error'
|
|
21673
21686
|
});
|
|
21674
21687
|
}
|
|
@@ -22489,7 +22502,7 @@ var validatorHook = {
|
|
|
22489
22502
|
cb(validRest);
|
|
22490
22503
|
resolve();
|
|
22491
22504
|
} else {
|
|
22492
|
-
if (
|
|
22505
|
+
if (src_conf.validToReject === 'obsolete') {
|
|
22493
22506
|
// 已废弃,校验失败将不会执行catch
|
|
22494
22507
|
reject(validRest);
|
|
22495
22508
|
} else {
|
|
@@ -23205,7 +23218,7 @@ function renderHelpIcon(params) {
|
|
|
23205
23218
|
column = params.column;
|
|
23206
23219
|
var titlePrefix = column.titlePrefix || column.titleHelp;
|
|
23207
23220
|
return titlePrefix ? [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
23208
|
-
class: ['vxe-cell-help-icon', titlePrefix.icon ||
|
|
23221
|
+
class: ['vxe-cell-help-icon', titlePrefix.icon || src_conf.icon.TABLE_HELP],
|
|
23209
23222
|
onMouseenter: function onMouseenter(evnt) {
|
|
23210
23223
|
$table.triggerHeaderHelpEvent(evnt, params);
|
|
23211
23224
|
},
|
|
@@ -23510,7 +23523,7 @@ var Cell = {
|
|
|
23510
23523
|
}, [showIcon && (rowChilds && rowChilds.length || hasLazyChilds) ? [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', _objectSpread2({
|
|
23511
23524
|
class: 'vxe-tree--btn-wrapper'
|
|
23512
23525
|
}, ons), [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
23513
|
-
class: ['vxe-tree--node-btn', isLazyLoaded ? iconLoaded ||
|
|
23526
|
+
class: ['vxe-tree--node-btn', isLazyLoaded ? iconLoaded || src_conf.icon.TABLE_TREE_LOADED : isAceived ? iconOpen || src_conf.icon.TABLE_TREE_OPEN : iconClose || src_conf.icon.TABLE_TREE_CLOSE]
|
|
23514
23527
|
})])] : null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
23515
23528
|
class: 'vxe-tree-cell'
|
|
23516
23529
|
}, cellVNodes)])];
|
|
@@ -23697,7 +23710,7 @@ var Cell = {
|
|
|
23697
23710
|
'is--disabled': isAllCheckboxDisabled,
|
|
23698
23711
|
'is--indeterminate': isAllCheckboxIndeterminate
|
|
23699
23712
|
}],
|
|
23700
|
-
title:
|
|
23713
|
+
title: src_conf.i18n('vxe.table.allTitle')
|
|
23701
23714
|
}, ons), [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
23702
23715
|
class: 'vxe-checkbox--icon vxe-checkbox--checked-icon'
|
|
23703
23716
|
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
@@ -23939,7 +23952,7 @@ var Cell = {
|
|
|
23939
23952
|
$table.triggerRowExpandEvent(evnt, params);
|
|
23940
23953
|
}
|
|
23941
23954
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
23942
|
-
class: ['vxe-table--expand-btn', isLazyLoaded ? iconLoaded ||
|
|
23955
|
+
class: ['vxe-table--expand-btn', isLazyLoaded ? iconLoaded || src_conf.icon.TABLE_EXPAND_LOADED : isAceived ? iconOpen || src_conf.icon.TABLE_EXPAND_OPEN : iconClose || src_conf.icon.TABLE_EXPAND_CLOSE]
|
|
23943
23956
|
})]) : null, defaultSlot || labelField ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
23944
23957
|
class: 'vxe-table--expand-label'
|
|
23945
23958
|
}, defaultSlot ? $table.callSlot(defaultSlot, params) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(row, labelField)) : null];
|
|
@@ -24016,18 +24029,18 @@ var Cell = {
|
|
|
24016
24029
|
return showIcon ? [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
24017
24030
|
class: 'vxe-cell--sort'
|
|
24018
24031
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
24019
|
-
class: ['vxe-sort--asc-btn', iconAsc ||
|
|
24032
|
+
class: ['vxe-sort--asc-btn', iconAsc || src_conf.icon.TABLE_SORT_ASC, {
|
|
24020
24033
|
'sort--active': order === 'asc'
|
|
24021
24034
|
}],
|
|
24022
|
-
title:
|
|
24035
|
+
title: src_conf.i18n('vxe.table.sortAsc'),
|
|
24023
24036
|
onClick: function onClick(evnt) {
|
|
24024
24037
|
$table.triggerSortEvent(evnt, column, 'asc');
|
|
24025
24038
|
}
|
|
24026
24039
|
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
24027
|
-
class: ['vxe-sort--desc-btn', iconDesc ||
|
|
24040
|
+
class: ['vxe-sort--desc-btn', iconDesc || src_conf.icon.TABLE_SORT_DESC, {
|
|
24028
24041
|
'sort--active': order === 'desc'
|
|
24029
24042
|
}],
|
|
24030
|
-
title:
|
|
24043
|
+
title: src_conf.i18n('vxe.table.sortDesc'),
|
|
24031
24044
|
onClick: function onClick(evnt) {
|
|
24032
24045
|
$table.triggerSortEvent(evnt, column, 'desc');
|
|
24033
24046
|
}
|
|
@@ -24059,8 +24072,8 @@ var Cell = {
|
|
|
24059
24072
|
'is--active': filterStore.visible && filterStore.column === column
|
|
24060
24073
|
}]
|
|
24061
24074
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
24062
|
-
class: ['vxe-filter--btn', hasFilter ? iconMatch ||
|
|
24063
|
-
title:
|
|
24075
|
+
class: ['vxe-filter--btn', hasFilter ? iconMatch || src_conf.icon.TABLE_FILTER_MATCH : iconNone || src_conf.icon.TABLE_FILTER_NONE],
|
|
24076
|
+
title: src_conf.i18n('vxe.table.filter'),
|
|
24064
24077
|
onClick: function onClick(evnt) {
|
|
24065
24078
|
$table.triggerFilterEvent(evnt, params.column, params);
|
|
24066
24079
|
}
|
|
@@ -24099,7 +24112,7 @@ var Cell = {
|
|
|
24099
24112
|
return (isEnableConf(editConfig) ? [isRequired && editOpts.showAsterisk ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
24100
24113
|
class: 'vxe-cell--required-icon'
|
|
24101
24114
|
}) : null, isEnableConf(editRender) && editOpts.showIcon ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
24102
|
-
class: ['vxe-cell--edit-icon', editOpts.icon ||
|
|
24115
|
+
class: ['vxe-cell--edit-icon', editOpts.icon || src_conf.icon.TABLE_EDIT]
|
|
24103
24116
|
}) : null] : []).concat(Cell.renderDefaultHeader(params)).concat(sortable ? Cell.renderSortIcon(params) : []).concat(filters ? Cell.renderFilterIcon(params) : []);
|
|
24104
24117
|
},
|
|
24105
24118
|
// 行格编辑模式
|
|
@@ -24389,42 +24402,42 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
24389
24402
|
resizable: {
|
|
24390
24403
|
type: Boolean,
|
|
24391
24404
|
default: function _default() {
|
|
24392
|
-
return
|
|
24405
|
+
return src_conf.table.resizable;
|
|
24393
24406
|
}
|
|
24394
24407
|
},
|
|
24395
24408
|
// 是否带有斑马纹
|
|
24396
24409
|
stripe: {
|
|
24397
24410
|
type: Boolean,
|
|
24398
24411
|
default: function _default() {
|
|
24399
|
-
return
|
|
24412
|
+
return src_conf.table.stripe;
|
|
24400
24413
|
}
|
|
24401
24414
|
},
|
|
24402
24415
|
// 是否带有边框
|
|
24403
24416
|
border: {
|
|
24404
24417
|
type: [Boolean, String],
|
|
24405
24418
|
default: function _default() {
|
|
24406
|
-
return
|
|
24419
|
+
return src_conf.table.border;
|
|
24407
24420
|
}
|
|
24408
24421
|
},
|
|
24409
24422
|
// 是否圆角边框
|
|
24410
24423
|
round: {
|
|
24411
24424
|
type: Boolean,
|
|
24412
24425
|
default: function _default() {
|
|
24413
|
-
return
|
|
24426
|
+
return src_conf.table.round;
|
|
24414
24427
|
}
|
|
24415
24428
|
},
|
|
24416
24429
|
// 表格的尺寸
|
|
24417
24430
|
size: {
|
|
24418
24431
|
type: String,
|
|
24419
24432
|
default: function _default() {
|
|
24420
|
-
return
|
|
24433
|
+
return src_conf.table.size || src_conf.size;
|
|
24421
24434
|
}
|
|
24422
24435
|
},
|
|
24423
24436
|
// 列的宽度是否自撑开(可能会被废弃的参数,不要使用)
|
|
24424
24437
|
fit: {
|
|
24425
24438
|
type: Boolean,
|
|
24426
24439
|
default: function _default() {
|
|
24427
|
-
return
|
|
24440
|
+
return src_conf.table.fit;
|
|
24428
24441
|
}
|
|
24429
24442
|
},
|
|
24430
24443
|
// 表格是否加载中
|
|
@@ -24433,56 +24446,56 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
24433
24446
|
align: {
|
|
24434
24447
|
type: String,
|
|
24435
24448
|
default: function _default() {
|
|
24436
|
-
return
|
|
24449
|
+
return src_conf.table.align;
|
|
24437
24450
|
}
|
|
24438
24451
|
},
|
|
24439
24452
|
// 所有的表头列的对齐方式
|
|
24440
24453
|
headerAlign: {
|
|
24441
24454
|
type: String,
|
|
24442
24455
|
default: function _default() {
|
|
24443
|
-
return
|
|
24456
|
+
return src_conf.table.headerAlign;
|
|
24444
24457
|
}
|
|
24445
24458
|
},
|
|
24446
24459
|
// 所有的表尾列的对齐方式
|
|
24447
24460
|
footerAlign: {
|
|
24448
24461
|
type: String,
|
|
24449
24462
|
default: function _default() {
|
|
24450
|
-
return
|
|
24463
|
+
return src_conf.table.footerAlign;
|
|
24451
24464
|
}
|
|
24452
24465
|
},
|
|
24453
24466
|
// 是否显示表头
|
|
24454
24467
|
showHeader: {
|
|
24455
24468
|
type: Boolean,
|
|
24456
24469
|
default: function _default() {
|
|
24457
|
-
return
|
|
24470
|
+
return src_conf.table.showHeader;
|
|
24458
24471
|
}
|
|
24459
24472
|
},
|
|
24460
24473
|
// (即将废弃)是否要高亮当前选中行
|
|
24461
24474
|
highlightCurrentRow: {
|
|
24462
24475
|
type: Boolean,
|
|
24463
24476
|
default: function _default() {
|
|
24464
|
-
return
|
|
24477
|
+
return src_conf.table.highlightCurrentRow;
|
|
24465
24478
|
}
|
|
24466
24479
|
},
|
|
24467
24480
|
// (即将废弃)鼠标移到行是否要高亮显示
|
|
24468
24481
|
highlightHoverRow: {
|
|
24469
24482
|
type: Boolean,
|
|
24470
24483
|
default: function _default() {
|
|
24471
|
-
return
|
|
24484
|
+
return src_conf.table.highlightHoverRow;
|
|
24472
24485
|
}
|
|
24473
24486
|
},
|
|
24474
24487
|
// (即将废弃)是否要高亮当前选中列
|
|
24475
24488
|
highlightCurrentColumn: {
|
|
24476
24489
|
type: Boolean,
|
|
24477
24490
|
default: function _default() {
|
|
24478
|
-
return
|
|
24491
|
+
return src_conf.table.highlightCurrentColumn;
|
|
24479
24492
|
}
|
|
24480
24493
|
},
|
|
24481
24494
|
// (即将废弃)鼠标移到列是否要高亮显示
|
|
24482
24495
|
highlightHoverColumn: {
|
|
24483
24496
|
type: Boolean,
|
|
24484
24497
|
default: function _default() {
|
|
24485
|
-
return
|
|
24498
|
+
return src_conf.table.highlightHoverColumn;
|
|
24486
24499
|
}
|
|
24487
24500
|
},
|
|
24488
24501
|
// (即将废弃)激活单元格编辑时是否高亮显示
|
|
@@ -24527,21 +24540,21 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
24527
24540
|
showOverflow: {
|
|
24528
24541
|
type: [Boolean, String],
|
|
24529
24542
|
default: function _default() {
|
|
24530
|
-
return
|
|
24543
|
+
return src_conf.table.showOverflow;
|
|
24531
24544
|
}
|
|
24532
24545
|
},
|
|
24533
24546
|
// 设置表头所有内容过长时显示为省略号
|
|
24534
24547
|
showHeaderOverflow: {
|
|
24535
24548
|
type: [Boolean, String],
|
|
24536
24549
|
default: function _default() {
|
|
24537
|
-
return
|
|
24550
|
+
return src_conf.table.showHeaderOverflow;
|
|
24538
24551
|
}
|
|
24539
24552
|
},
|
|
24540
24553
|
// 设置表尾所有内容过长时显示为省略号
|
|
24541
24554
|
showFooterOverflow: {
|
|
24542
24555
|
type: [Boolean, String],
|
|
24543
24556
|
default: function _default() {
|
|
24544
|
-
return
|
|
24557
|
+
return src_conf.table.showFooterOverflow;
|
|
24545
24558
|
}
|
|
24546
24559
|
},
|
|
24547
24560
|
|
|
@@ -24554,27 +24567,27 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
24554
24567
|
rowId: {
|
|
24555
24568
|
type: String,
|
|
24556
24569
|
default: function _default() {
|
|
24557
|
-
return
|
|
24570
|
+
return src_conf.table.rowId;
|
|
24558
24571
|
}
|
|
24559
24572
|
},
|
|
24560
24573
|
zIndex: Number,
|
|
24561
24574
|
emptyText: {
|
|
24562
24575
|
type: String,
|
|
24563
24576
|
default: function _default() {
|
|
24564
|
-
return
|
|
24577
|
+
return src_conf.table.emptyText;
|
|
24565
24578
|
}
|
|
24566
24579
|
},
|
|
24567
24580
|
keepSource: {
|
|
24568
24581
|
type: Boolean,
|
|
24569
24582
|
default: function _default() {
|
|
24570
|
-
return
|
|
24583
|
+
return src_conf.table.keepSource;
|
|
24571
24584
|
}
|
|
24572
24585
|
},
|
|
24573
24586
|
// 是否自动监听父容器变化去更新响应式表格宽高
|
|
24574
24587
|
autoResize: {
|
|
24575
24588
|
type: Boolean,
|
|
24576
24589
|
default: function _default() {
|
|
24577
|
-
return
|
|
24590
|
+
return src_conf.table.autoResize;
|
|
24578
24591
|
}
|
|
24579
24592
|
},
|
|
24580
24593
|
// 是否自动根据状态属性去更新响应式表格宽高
|
|
@@ -24637,14 +24650,14 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
24637
24650
|
animat: {
|
|
24638
24651
|
type: Boolean,
|
|
24639
24652
|
default: function _default() {
|
|
24640
|
-
return
|
|
24653
|
+
return src_conf.table.animat;
|
|
24641
24654
|
}
|
|
24642
24655
|
},
|
|
24643
24656
|
// (可能会被废弃的参数,不要使用)
|
|
24644
24657
|
delayHover: {
|
|
24645
24658
|
type: Number,
|
|
24646
24659
|
default: function _default() {
|
|
24647
|
-
return
|
|
24660
|
+
return src_conf.table.delayHover;
|
|
24648
24661
|
}
|
|
24649
24662
|
},
|
|
24650
24663
|
// 额外的参数
|
|
@@ -24691,7 +24704,7 @@ var gridComponentEmits = [].concat(_toConsumableArray(emits), ['page-change', 'f
|
|
|
24691
24704
|
size: {
|
|
24692
24705
|
type: String,
|
|
24693
24706
|
default: function _default() {
|
|
24694
|
-
return
|
|
24707
|
+
return src_conf.grid.size || src_conf.size;
|
|
24695
24708
|
}
|
|
24696
24709
|
}
|
|
24697
24710
|
}),
|
|
@@ -24714,7 +24727,7 @@ var gridComponentEmits = [].concat(_toConsumableArray(emits), ['page-change', 'f
|
|
|
24714
24727
|
tZindex: 0,
|
|
24715
24728
|
tablePage: {
|
|
24716
24729
|
total: 0,
|
|
24717
|
-
pageSize:
|
|
24730
|
+
pageSize: src_conf.pager.pageSize || 10,
|
|
24718
24731
|
currentPage: 1
|
|
24719
24732
|
}
|
|
24720
24733
|
});
|
|
@@ -24748,23 +24761,23 @@ var gridComponentEmits = [].concat(_toConsumableArray(emits), ['page-change', 'f
|
|
|
24748
24761
|
};
|
|
24749
24762
|
});
|
|
24750
24763
|
var computeProxyOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
24751
|
-
return Object.assign({},
|
|
24764
|
+
return Object.assign({}, src_conf.grid.proxyConfig, props.proxyConfig);
|
|
24752
24765
|
});
|
|
24753
24766
|
var computeIsMsg = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
24754
24767
|
var proxyOpts = computeProxyOpts.value;
|
|
24755
24768
|
return proxyOpts.message !== false;
|
|
24756
24769
|
});
|
|
24757
24770
|
var computePagerOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
24758
|
-
return Object.assign({},
|
|
24771
|
+
return Object.assign({}, src_conf.grid.pagerConfig, props.pagerConfig);
|
|
24759
24772
|
});
|
|
24760
24773
|
var computeFormOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
24761
|
-
return Object.assign({},
|
|
24774
|
+
return Object.assign({}, src_conf.grid.formConfig, props.formConfig);
|
|
24762
24775
|
});
|
|
24763
24776
|
var computeToolbarOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
24764
|
-
return Object.assign({},
|
|
24777
|
+
return Object.assign({}, src_conf.grid.toolbarConfig, props.toolbarConfig);
|
|
24765
24778
|
});
|
|
24766
24779
|
var computeZoomOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
24767
|
-
return Object.assign({},
|
|
24780
|
+
return Object.assign({}, src_conf.grid.zoomConfig, props.zoomConfig);
|
|
24768
24781
|
});
|
|
24769
24782
|
var computeStyles = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
24770
24783
|
return reactData.isZMax ? {
|
|
@@ -24949,7 +24962,7 @@ var gridComponentEmits = [].concat(_toConsumableArray(emits), ['page-change', 'f
|
|
|
24949
24962
|
|
|
24950
24963
|
VXETable.modal.message({
|
|
24951
24964
|
id: code,
|
|
24952
|
-
content:
|
|
24965
|
+
content: src_conf.i18n('vxe.grid.selectOneRecord'),
|
|
24953
24966
|
status: 'warning'
|
|
24954
24967
|
});
|
|
24955
24968
|
}
|
|
@@ -24966,7 +24979,7 @@ var gridComponentEmits = [].concat(_toConsumableArray(emits), ['page-change', 'f
|
|
|
24966
24979
|
msg = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(rest, proxyProps.message);
|
|
24967
24980
|
}
|
|
24968
24981
|
|
|
24969
|
-
return msg ||
|
|
24982
|
+
return msg || src_conf.i18n(defaultMsg);
|
|
24970
24983
|
};
|
|
24971
24984
|
|
|
24972
24985
|
var handleDeleteRow = function handleDeleteRow(code, alertKey, callback) {
|
|
@@ -24977,7 +24990,7 @@ var gridComponentEmits = [].concat(_toConsumableArray(emits), ['page-change', 'f
|
|
|
24977
24990
|
if (selectRecords.length) {
|
|
24978
24991
|
return VXETable.modal.confirm({
|
|
24979
24992
|
id: "cfm_".concat(code),
|
|
24980
|
-
content:
|
|
24993
|
+
content: src_conf.i18n(alertKey),
|
|
24981
24994
|
escClosable: true
|
|
24982
24995
|
}).then(function (type) {
|
|
24983
24996
|
if (type === 'confirm') {
|
|
@@ -24994,7 +25007,7 @@ var gridComponentEmits = [].concat(_toConsumableArray(emits), ['page-change', 'f
|
|
|
24994
25007
|
|
|
24995
25008
|
VXETable.modal.message({
|
|
24996
25009
|
id: "msg_".concat(code),
|
|
24997
|
-
content:
|
|
25010
|
+
content: src_conf.i18n('vxe.grid.selectOneRecord'),
|
|
24998
25011
|
status: 'warning'
|
|
24999
25012
|
});
|
|
25000
25013
|
}
|
|
@@ -25709,7 +25722,7 @@ var gridComponentEmits = [].concat(_toConsumableArray(emits), ['page-change', 'f
|
|
|
25709
25722
|
|
|
25710
25723
|
VXETable.modal.message({
|
|
25711
25724
|
id: code,
|
|
25712
|
-
content:
|
|
25725
|
+
content: src_conf.i18n('vxe.grid.selectOneRecord'),
|
|
25713
25726
|
status: 'warning'
|
|
25714
25727
|
});
|
|
25715
25728
|
}
|
|
@@ -25826,7 +25839,7 @@ var gridComponentEmits = [].concat(_toConsumableArray(emits), ['page-change', 'f
|
|
|
25826
25839
|
|
|
25827
25840
|
VXETable.modal.message({
|
|
25828
25841
|
id: code,
|
|
25829
|
-
content:
|
|
25842
|
+
content: src_conf.i18n('vxe.grid.dataUnchanged'),
|
|
25830
25843
|
status: 'info'
|
|
25831
25844
|
});
|
|
25832
25845
|
}
|
|
@@ -26129,25 +26142,25 @@ dynamicApp.component(grid.name, grid);
|
|
|
26129
26142
|
buttons: {
|
|
26130
26143
|
type: Array,
|
|
26131
26144
|
default: function _default() {
|
|
26132
|
-
return
|
|
26145
|
+
return src_conf.toolbar.buttons;
|
|
26133
26146
|
}
|
|
26134
26147
|
},
|
|
26135
26148
|
tools: {
|
|
26136
26149
|
type: Array,
|
|
26137
26150
|
default: function _default() {
|
|
26138
|
-
return
|
|
26151
|
+
return src_conf.toolbar.tools;
|
|
26139
26152
|
}
|
|
26140
26153
|
},
|
|
26141
26154
|
perfect: {
|
|
26142
26155
|
type: Boolean,
|
|
26143
26156
|
default: function _default() {
|
|
26144
|
-
return
|
|
26157
|
+
return src_conf.toolbar.perfect;
|
|
26145
26158
|
}
|
|
26146
26159
|
},
|
|
26147
26160
|
size: {
|
|
26148
26161
|
type: String,
|
|
26149
26162
|
default: function _default() {
|
|
26150
|
-
return
|
|
26163
|
+
return src_conf.toolbar.size || src_conf.size;
|
|
26151
26164
|
}
|
|
26152
26165
|
},
|
|
26153
26166
|
className: [String, Function]
|
|
@@ -26187,22 +26200,22 @@ dynamicApp.component(grid.name, grid);
|
|
|
26187
26200
|
var $xegrid = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('$xegrid', null);
|
|
26188
26201
|
var $xetable;
|
|
26189
26202
|
var computeRefreshOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
26190
|
-
return Object.assign({},
|
|
26203
|
+
return Object.assign({}, src_conf.toolbar.refresh, props.refresh);
|
|
26191
26204
|
});
|
|
26192
26205
|
var computeImportOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
26193
|
-
return Object.assign({},
|
|
26206
|
+
return Object.assign({}, src_conf.toolbar.import, props.import);
|
|
26194
26207
|
});
|
|
26195
26208
|
var computeExportOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
26196
|
-
return Object.assign({},
|
|
26209
|
+
return Object.assign({}, src_conf.toolbar.export, props.export);
|
|
26197
26210
|
});
|
|
26198
26211
|
var computePrintOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
26199
|
-
return Object.assign({},
|
|
26212
|
+
return Object.assign({}, src_conf.toolbar.print, props.print);
|
|
26200
26213
|
});
|
|
26201
26214
|
var computeZoomOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
26202
|
-
return Object.assign({},
|
|
26215
|
+
return Object.assign({}, src_conf.toolbar.zoom, props.zoom);
|
|
26203
26216
|
});
|
|
26204
26217
|
var computeCustomOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
26205
|
-
return Object.assign({},
|
|
26218
|
+
return Object.assign({}, src_conf.toolbar.custom, props.custom);
|
|
26206
26219
|
});
|
|
26207
26220
|
|
|
26208
26221
|
var checkTable = function checkTable() {
|
|
@@ -26736,8 +26749,8 @@ dynamicApp.component(grid.name, grid);
|
|
|
26736
26749
|
ref: refCustomWrapper
|
|
26737
26750
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])('vxe-button'), _objectSpread2({
|
|
26738
26751
|
circle: true,
|
|
26739
|
-
icon: customOpts.icon ||
|
|
26740
|
-
title:
|
|
26752
|
+
icon: customOpts.icon || src_conf.icon.TOOLBAR_TOOLS_CUSTOM,
|
|
26753
|
+
title: src_conf.i18n('vxe.toolbar.custom')
|
|
26741
26754
|
}, customBtnOns)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
26742
26755
|
class: 'vxe-custom--option-wrapper'
|
|
26743
26756
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('ul', {
|
|
@@ -26747,7 +26760,7 @@ dynamicApp.component(grid.name, grid);
|
|
|
26747
26760
|
'is--checked': customStore.isAll,
|
|
26748
26761
|
'is--indeterminate': customStore.isIndeterminate
|
|
26749
26762
|
}],
|
|
26750
|
-
title:
|
|
26763
|
+
title: src_conf.i18n('vxe.table.allTitle'),
|
|
26751
26764
|
onClick: allCustomEvent
|
|
26752
26765
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
26753
26766
|
class: 'vxe-checkbox--icon vxe-checkbox--checked-icon'
|
|
@@ -26757,17 +26770,17 @@ dynamicApp.component(grid.name, grid);
|
|
|
26757
26770
|
class: 'vxe-checkbox--icon vxe-checkbox--indeterminate-icon'
|
|
26758
26771
|
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
26759
26772
|
class: 'vxe-checkbox--label'
|
|
26760
|
-
},
|
|
26773
|
+
}, src_conf.i18n('vxe.toolbar.customAll'))])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('ul', _objectSpread2({
|
|
26761
26774
|
class: 'vxe-custom--body'
|
|
26762
26775
|
}, customWrapperOns), colVNs), customOpts.isFooter === false ? null : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', {
|
|
26763
26776
|
class: 'vxe-custom--footer'
|
|
26764
26777
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('button', {
|
|
26765
26778
|
class: 'btn--confirm',
|
|
26766
26779
|
onClick: confirmCustomEvent
|
|
26767
|
-
},
|
|
26780
|
+
}, src_conf.i18n('vxe.toolbar.customConfirm')), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('button', {
|
|
26768
26781
|
class: 'btn--reset',
|
|
26769
26782
|
onClick: resetCustomEvent
|
|
26770
|
-
},
|
|
26783
|
+
}, src_conf.i18n('vxe.toolbar.customRestore'))])])]);
|
|
26771
26784
|
};
|
|
26772
26785
|
|
|
26773
26786
|
toolbarMethods = {
|
|
@@ -26829,28 +26842,28 @@ dynamicApp.component(grid.name, grid);
|
|
|
26829
26842
|
class: 'vxe-tools--operate'
|
|
26830
26843
|
}, [props.import ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])('vxe-button'), {
|
|
26831
26844
|
circle: true,
|
|
26832
|
-
icon: importOpts.icon ||
|
|
26833
|
-
title:
|
|
26845
|
+
icon: importOpts.icon || src_conf.icon.TOOLBAR_TOOLS_IMPORT,
|
|
26846
|
+
title: src_conf.i18n('vxe.toolbar.import'),
|
|
26834
26847
|
onClick: importEvent
|
|
26835
26848
|
}) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])(), props.export ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])('vxe-button'), {
|
|
26836
26849
|
circle: true,
|
|
26837
|
-
icon: exportOpts.icon ||
|
|
26838
|
-
title:
|
|
26850
|
+
icon: exportOpts.icon || src_conf.icon.TOOLBAR_TOOLS_EXPORT,
|
|
26851
|
+
title: src_conf.i18n('vxe.toolbar.export'),
|
|
26839
26852
|
onClick: exportEvent
|
|
26840
26853
|
}) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])(), props.print ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])('vxe-button'), {
|
|
26841
26854
|
circle: true,
|
|
26842
|
-
icon: printOpts.icon ||
|
|
26843
|
-
title:
|
|
26855
|
+
icon: printOpts.icon || src_conf.icon.TOOLBAR_TOOLS_PRINT,
|
|
26856
|
+
title: src_conf.i18n('vxe.toolbar.print'),
|
|
26844
26857
|
onClick: printEvent
|
|
26845
26858
|
}) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])(), refresh ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])('vxe-button'), {
|
|
26846
26859
|
circle: true,
|
|
26847
|
-
icon: reactData.isRefresh ? refreshOpts.iconLoading ||
|
|
26848
|
-
title:
|
|
26860
|
+
icon: reactData.isRefresh ? refreshOpts.iconLoading || src_conf.icon.TOOLBAR_TOOLS_REFRESH_LOADING : refreshOpts.icon || src_conf.icon.TOOLBAR_TOOLS_REFRESH,
|
|
26861
|
+
title: src_conf.i18n('vxe.toolbar.refresh'),
|
|
26849
26862
|
onClick: refreshEvent
|
|
26850
26863
|
}) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])(), zoom && $xegrid ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])('vxe-button'), {
|
|
26851
26864
|
circle: true,
|
|
26852
|
-
icon: $xegrid.isMaximized() ? zoomOpts.iconOut ||
|
|
26853
|
-
title:
|
|
26865
|
+
icon: $xegrid.isMaximized() ? zoomOpts.iconOut || src_conf.icon.TOOLBAR_TOOLS_ZOOM_OUT : zoomOpts.iconIn || src_conf.icon.TOOLBAR_TOOLS_ZOOM_IN,
|
|
26866
|
+
title: src_conf.i18n("vxe.toolbar.zoom".concat($xegrid.isMaximized() ? 'Out' : 'In')),
|
|
26854
26867
|
onClick: zoomEvent
|
|
26855
26868
|
}) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])(), custom ? renderCustoms() : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])()])]);
|
|
26856
26869
|
};
|
|
@@ -26892,14 +26905,14 @@ dynamicApp.component(toolbar.name, toolbar);
|
|
|
26892
26905
|
size: {
|
|
26893
26906
|
type: String,
|
|
26894
26907
|
default: function _default() {
|
|
26895
|
-
return
|
|
26908
|
+
return src_conf.pager.size || src_conf.size;
|
|
26896
26909
|
}
|
|
26897
26910
|
},
|
|
26898
26911
|
// 自定义布局
|
|
26899
26912
|
layouts: {
|
|
26900
26913
|
type: Array,
|
|
26901
26914
|
default: function _default() {
|
|
26902
|
-
return
|
|
26915
|
+
return src_conf.pager.layouts || ['PrevJump', 'PrevPage', 'Jump', 'PageCount', 'NextPage', 'NextJump', 'Sizes', 'Total'];
|
|
26903
26916
|
}
|
|
26904
26917
|
},
|
|
26905
26918
|
// 当前页
|
|
@@ -26913,7 +26926,7 @@ dynamicApp.component(toolbar.name, toolbar);
|
|
|
26913
26926
|
pageSize: {
|
|
26914
26927
|
type: Number,
|
|
26915
26928
|
default: function _default() {
|
|
26916
|
-
return
|
|
26929
|
+
return src_conf.pager.pageSize || 10;
|
|
26917
26930
|
}
|
|
26918
26931
|
},
|
|
26919
26932
|
// 总条数
|
|
@@ -26925,55 +26938,55 @@ dynamicApp.component(toolbar.name, toolbar);
|
|
|
26925
26938
|
pagerCount: {
|
|
26926
26939
|
type: Number,
|
|
26927
26940
|
default: function _default() {
|
|
26928
|
-
return
|
|
26941
|
+
return src_conf.pager.pagerCount || 7;
|
|
26929
26942
|
}
|
|
26930
26943
|
},
|
|
26931
26944
|
// 每页大小选项列表
|
|
26932
26945
|
pageSizes: {
|
|
26933
26946
|
type: Array,
|
|
26934
26947
|
default: function _default() {
|
|
26935
|
-
return
|
|
26948
|
+
return src_conf.pager.pageSizes || [10, 15, 20, 50, 100];
|
|
26936
26949
|
}
|
|
26937
26950
|
},
|
|
26938
26951
|
// 列对其方式
|
|
26939
26952
|
align: {
|
|
26940
26953
|
type: String,
|
|
26941
26954
|
default: function _default() {
|
|
26942
|
-
return
|
|
26955
|
+
return src_conf.pager.align;
|
|
26943
26956
|
}
|
|
26944
26957
|
},
|
|
26945
26958
|
// 带边框
|
|
26946
26959
|
border: {
|
|
26947
26960
|
type: Boolean,
|
|
26948
26961
|
default: function _default() {
|
|
26949
|
-
return
|
|
26962
|
+
return src_conf.pager.border;
|
|
26950
26963
|
}
|
|
26951
26964
|
},
|
|
26952
26965
|
// 带背景颜色
|
|
26953
26966
|
background: {
|
|
26954
26967
|
type: Boolean,
|
|
26955
26968
|
default: function _default() {
|
|
26956
|
-
return
|
|
26969
|
+
return src_conf.pager.background;
|
|
26957
26970
|
}
|
|
26958
26971
|
},
|
|
26959
26972
|
// 配套的样式
|
|
26960
26973
|
perfect: {
|
|
26961
26974
|
type: Boolean,
|
|
26962
26975
|
default: function _default() {
|
|
26963
|
-
return
|
|
26976
|
+
return src_conf.pager.perfect;
|
|
26964
26977
|
}
|
|
26965
26978
|
},
|
|
26966
26979
|
// 当只有一页时隐藏
|
|
26967
26980
|
autoHidden: {
|
|
26968
26981
|
type: Boolean,
|
|
26969
26982
|
default: function _default() {
|
|
26970
|
-
return
|
|
26983
|
+
return src_conf.pager.autoHidden;
|
|
26971
26984
|
}
|
|
26972
26985
|
},
|
|
26973
26986
|
transfer: {
|
|
26974
26987
|
type: Boolean,
|
|
26975
26988
|
default: function _default() {
|
|
26976
|
-
return
|
|
26989
|
+
return src_conf.pager.transfer;
|
|
26977
26990
|
}
|
|
26978
26991
|
},
|
|
26979
26992
|
className: [String, Function],
|
|
@@ -27070,7 +27083,7 @@ dynamicApp.component(toolbar.name, toolbar);
|
|
|
27070
27083
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.isNumber(item)) {
|
|
27071
27084
|
return {
|
|
27072
27085
|
value: item,
|
|
27073
|
-
label: "".concat(
|
|
27086
|
+
label: "".concat(src_conf.i18n('vxe.pager.pagesize', [item]))
|
|
27074
27087
|
};
|
|
27075
27088
|
}
|
|
27076
27089
|
|
|
@@ -27145,10 +27158,10 @@ dynamicApp.component(toolbar.name, toolbar);
|
|
|
27145
27158
|
'is--disabled': props.currentPage <= 1
|
|
27146
27159
|
}],
|
|
27147
27160
|
type: 'button',
|
|
27148
|
-
title:
|
|
27161
|
+
title: src_conf.i18n('vxe.pager.prevPage'),
|
|
27149
27162
|
onClick: handlePrevPage
|
|
27150
27163
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
27151
|
-
class: ['vxe-pager--btn-icon', props.iconPrevPage ||
|
|
27164
|
+
class: ['vxe-pager--btn-icon', props.iconPrevPage || src_conf.icon.PAGER_PREV_PAGE]
|
|
27152
27165
|
})]);
|
|
27153
27166
|
}; // 向上翻页
|
|
27154
27167
|
|
|
@@ -27160,12 +27173,12 @@ dynamicApp.component(toolbar.name, toolbar);
|
|
|
27160
27173
|
'is--disabled': props.currentPage <= 1
|
|
27161
27174
|
}],
|
|
27162
27175
|
type: 'button',
|
|
27163
|
-
title:
|
|
27176
|
+
title: src_conf.i18n('vxe.pager.prevJump'),
|
|
27164
27177
|
onClick: handlePrevJump
|
|
27165
27178
|
}, [tagName ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
27166
|
-
class: ['vxe-pager--jump-more-icon', props.iconJumpMore ||
|
|
27179
|
+
class: ['vxe-pager--jump-more-icon', props.iconJumpMore || src_conf.icon.PAGER_JUMP_MORE]
|
|
27167
27180
|
}) : null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
27168
|
-
class: ['vxe-pager--jump-icon', props.iconJumpPrev ||
|
|
27181
|
+
class: ['vxe-pager--jump-icon', props.iconJumpPrev || src_conf.icon.PAGER_JUMP_PREV]
|
|
27169
27182
|
})]);
|
|
27170
27183
|
}; // 向下翻页
|
|
27171
27184
|
|
|
@@ -27178,12 +27191,12 @@ dynamicApp.component(toolbar.name, toolbar);
|
|
|
27178
27191
|
'is--disabled': props.currentPage >= pageCount
|
|
27179
27192
|
}],
|
|
27180
27193
|
type: 'button',
|
|
27181
|
-
title:
|
|
27194
|
+
title: src_conf.i18n('vxe.pager.nextJump'),
|
|
27182
27195
|
onClick: handleNextJump
|
|
27183
27196
|
}, [tagName ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
27184
|
-
class: ['vxe-pager--jump-more-icon', props.iconJumpMore ||
|
|
27197
|
+
class: ['vxe-pager--jump-more-icon', props.iconJumpMore || src_conf.icon.PAGER_JUMP_MORE]
|
|
27185
27198
|
}) : null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
27186
|
-
class: ['vxe-pager--jump-icon', props.iconJumpNext ||
|
|
27199
|
+
class: ['vxe-pager--jump-icon', props.iconJumpNext || src_conf.icon.PAGER_JUMP_NEXT]
|
|
27187
27200
|
})]);
|
|
27188
27201
|
}; // 下一页
|
|
27189
27202
|
|
|
@@ -27195,10 +27208,10 @@ dynamicApp.component(toolbar.name, toolbar);
|
|
|
27195
27208
|
'is--disabled': props.currentPage >= pageCount
|
|
27196
27209
|
}],
|
|
27197
27210
|
type: 'button',
|
|
27198
|
-
title:
|
|
27211
|
+
title: src_conf.i18n('vxe.pager.nextPage'),
|
|
27199
27212
|
onClick: handleNextPage
|
|
27200
27213
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
27201
|
-
class: ['vxe-pager--btn-icon', props.iconNextPage ||
|
|
27214
|
+
class: ['vxe-pager--btn-icon', props.iconNextPage || src_conf.icon.PAGER_NEXT_PAGE]
|
|
27202
27215
|
})]);
|
|
27203
27216
|
}; // 页数
|
|
27204
27217
|
|
|
@@ -27289,7 +27302,7 @@ dynamicApp.component(toolbar.name, toolbar);
|
|
|
27289
27302
|
class: 'vxe-pager--jump'
|
|
27290
27303
|
}, [isFull ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
27291
27304
|
class: 'vxe-pager--goto-text'
|
|
27292
|
-
},
|
|
27305
|
+
}, src_conf.i18n('vxe.pager.goto')) : null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('input', {
|
|
27293
27306
|
class: 'vxe-pager--goto',
|
|
27294
27307
|
value: reactData.inpCurrPage,
|
|
27295
27308
|
type: 'text',
|
|
@@ -27299,7 +27312,7 @@ dynamicApp.component(toolbar.name, toolbar);
|
|
|
27299
27312
|
onBlur: triggerJumpEvent
|
|
27300
27313
|
}), isFull ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
27301
27314
|
class: 'vxe-pager--classifier-text'
|
|
27302
|
-
},
|
|
27315
|
+
}, src_conf.i18n('vxe.pager.pageClassifier')) : null]);
|
|
27303
27316
|
}; // FullJump
|
|
27304
27317
|
|
|
27305
27318
|
|
|
@@ -27321,7 +27334,7 @@ dynamicApp.component(toolbar.name, toolbar);
|
|
|
27321
27334
|
var renderTotal = function renderTotal() {
|
|
27322
27335
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
27323
27336
|
class: 'vxe-pager--total'
|
|
27324
|
-
},
|
|
27337
|
+
}, src_conf.i18n('vxe.pager.total', [props.total]));
|
|
27325
27338
|
};
|
|
27326
27339
|
|
|
27327
27340
|
pagerMethods = {
|
|
@@ -27497,7 +27510,7 @@ dynamicApp.component(src_checkbox.name, src_checkbox);
|
|
|
27497
27510
|
size: {
|
|
27498
27511
|
type: String,
|
|
27499
27512
|
default: function _default() {
|
|
27500
|
-
return
|
|
27513
|
+
return src_conf.checkbox.size || src_conf.size;
|
|
27501
27514
|
}
|
|
27502
27515
|
}
|
|
27503
27516
|
},
|
|
@@ -27620,13 +27633,13 @@ dynamicApp.component(src_group.name, src_group);
|
|
|
27620
27633
|
strict: {
|
|
27621
27634
|
type: Boolean,
|
|
27622
27635
|
default: function _default() {
|
|
27623
|
-
return
|
|
27636
|
+
return src_conf.radioButton.strict;
|
|
27624
27637
|
}
|
|
27625
27638
|
},
|
|
27626
27639
|
size: {
|
|
27627
27640
|
type: String,
|
|
27628
27641
|
default: function _default() {
|
|
27629
|
-
return
|
|
27642
|
+
return src_conf.radioButton.size || src_conf.size;
|
|
27630
27643
|
}
|
|
27631
27644
|
}
|
|
27632
27645
|
},
|
|
@@ -27803,13 +27816,13 @@ var autoTxtElem;
|
|
|
27803
27816
|
resize: {
|
|
27804
27817
|
type: String,
|
|
27805
27818
|
default: function _default() {
|
|
27806
|
-
return
|
|
27819
|
+
return src_conf.textarea.resize;
|
|
27807
27820
|
}
|
|
27808
27821
|
},
|
|
27809
27822
|
size: {
|
|
27810
27823
|
type: String,
|
|
27811
27824
|
default: function _default() {
|
|
27812
|
-
return
|
|
27825
|
+
return src_conf.textarea.size || src_conf.size;
|
|
27813
27826
|
}
|
|
27814
27827
|
}
|
|
27815
27828
|
},
|
|
@@ -27850,7 +27863,7 @@ var autoTxtElem;
|
|
|
27850
27863
|
return Object.assign({
|
|
27851
27864
|
minRows: 1,
|
|
27852
27865
|
maxRows: 10
|
|
27853
|
-
},
|
|
27866
|
+
}, src_conf.textarea.autosize, props.autosize);
|
|
27854
27867
|
});
|
|
27855
27868
|
|
|
27856
27869
|
var updateAutoTxt = function updateAutoTxt() {
|
|
@@ -28228,19 +28241,19 @@ dynamicApp.component(modal.name, modal);
|
|
|
28228
28241
|
size: {
|
|
28229
28242
|
type: String,
|
|
28230
28243
|
default: function _default() {
|
|
28231
|
-
return
|
|
28244
|
+
return src_conf.tooltip.size || src_conf.size;
|
|
28232
28245
|
}
|
|
28233
28246
|
},
|
|
28234
28247
|
trigger: {
|
|
28235
28248
|
type: String,
|
|
28236
28249
|
default: function _default() {
|
|
28237
|
-
return
|
|
28250
|
+
return src_conf.tooltip.trigger;
|
|
28238
28251
|
}
|
|
28239
28252
|
},
|
|
28240
28253
|
theme: {
|
|
28241
28254
|
type: String,
|
|
28242
28255
|
default: function _default() {
|
|
28243
|
-
return
|
|
28256
|
+
return src_conf.tooltip.theme;
|
|
28244
28257
|
}
|
|
28245
28258
|
},
|
|
28246
28259
|
content: {
|
|
@@ -28257,13 +28270,13 @@ dynamicApp.component(modal.name, modal);
|
|
|
28257
28270
|
enterDelay: {
|
|
28258
28271
|
type: Number,
|
|
28259
28272
|
default: function _default() {
|
|
28260
|
-
return
|
|
28273
|
+
return src_conf.tooltip.enterDelay;
|
|
28261
28274
|
}
|
|
28262
28275
|
},
|
|
28263
28276
|
leaveDelay: {
|
|
28264
28277
|
type: Number,
|
|
28265
28278
|
default: function _default() {
|
|
28266
|
-
return
|
|
28279
|
+
return src_conf.tooltip.leaveDelay;
|
|
28267
28280
|
}
|
|
28268
28281
|
}
|
|
28269
28282
|
},
|
|
@@ -28763,7 +28776,7 @@ function renderPrefixIcon(titlePrefix) {
|
|
|
28763
28776
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
28764
28777
|
class: 'vxe-form--item-title-prefix'
|
|
28765
28778
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
28766
|
-
class: titlePrefix.icon ||
|
|
28779
|
+
class: titlePrefix.icon || src_conf.icon.FORM_PREFIX
|
|
28767
28780
|
})]);
|
|
28768
28781
|
}
|
|
28769
28782
|
|
|
@@ -28771,7 +28784,7 @@ function render_renderSuffixIcon(titleSuffix) {
|
|
|
28771
28784
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
28772
28785
|
class: 'vxe-form--item-title-suffix'
|
|
28773
28786
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
28774
|
-
class: titleSuffix.icon ||
|
|
28787
|
+
class: titleSuffix.icon || src_conf.icon.FORM_SUFFIX
|
|
28775
28788
|
})]);
|
|
28776
28789
|
}
|
|
28777
28790
|
|
|
@@ -28963,8 +28976,8 @@ var VxeFormConfigItem = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["de
|
|
|
28963
28976
|
onClick: $xeform.toggleCollapseEvent
|
|
28964
28977
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
28965
28978
|
class: 'vxe-form--item-trigger-text'
|
|
28966
|
-
}, collapseAll ?
|
|
28967
|
-
class: ['vxe-form--item-trigger-icon', collapseAll ?
|
|
28979
|
+
}, collapseAll ? src_conf.i18n('vxe.form.unfolding') : src_conf.i18n('vxe.form.folding')), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
28980
|
+
class: ['vxe-form--item-trigger-icon', collapseAll ? src_conf.icon.FORM_FOLDING : src_conf.icon.FORM_UNFOLDING]
|
|
28968
28981
|
})]));
|
|
28969
28982
|
}
|
|
28970
28983
|
|
|
@@ -29134,43 +29147,43 @@ function getResetValue(value, resetValue) {
|
|
|
29134
29147
|
size: {
|
|
29135
29148
|
type: String,
|
|
29136
29149
|
default: function _default() {
|
|
29137
|
-
return
|
|
29150
|
+
return src_conf.form.size || src_conf.size;
|
|
29138
29151
|
}
|
|
29139
29152
|
},
|
|
29140
29153
|
span: {
|
|
29141
29154
|
type: [String, Number],
|
|
29142
29155
|
default: function _default() {
|
|
29143
|
-
return
|
|
29156
|
+
return src_conf.form.span;
|
|
29144
29157
|
}
|
|
29145
29158
|
},
|
|
29146
29159
|
align: {
|
|
29147
29160
|
type: String,
|
|
29148
29161
|
default: function _default() {
|
|
29149
|
-
return
|
|
29162
|
+
return src_conf.form.align;
|
|
29150
29163
|
}
|
|
29151
29164
|
},
|
|
29152
29165
|
titleAlign: {
|
|
29153
29166
|
type: String,
|
|
29154
29167
|
default: function _default() {
|
|
29155
|
-
return
|
|
29168
|
+
return src_conf.form.titleAlign;
|
|
29156
29169
|
}
|
|
29157
29170
|
},
|
|
29158
29171
|
titleWidth: {
|
|
29159
29172
|
type: [String, Number],
|
|
29160
29173
|
default: function _default() {
|
|
29161
|
-
return
|
|
29174
|
+
return src_conf.form.titleWidth;
|
|
29162
29175
|
}
|
|
29163
29176
|
},
|
|
29164
29177
|
titleColon: {
|
|
29165
29178
|
type: Boolean,
|
|
29166
29179
|
default: function _default() {
|
|
29167
|
-
return
|
|
29180
|
+
return src_conf.form.titleColon;
|
|
29168
29181
|
}
|
|
29169
29182
|
},
|
|
29170
29183
|
titleAsterisk: {
|
|
29171
29184
|
type: Boolean,
|
|
29172
29185
|
default: function _default() {
|
|
29173
|
-
return
|
|
29186
|
+
return src_conf.form.titleAsterisk;
|
|
29174
29187
|
}
|
|
29175
29188
|
},
|
|
29176
29189
|
titleOverflow: {
|
|
@@ -29183,7 +29196,7 @@ function getResetValue(value, resetValue) {
|
|
|
29183
29196
|
preventSubmit: {
|
|
29184
29197
|
type: Boolean,
|
|
29185
29198
|
default: function _default() {
|
|
29186
|
-
return
|
|
29199
|
+
return src_conf.form.preventSubmit;
|
|
29187
29200
|
}
|
|
29188
29201
|
},
|
|
29189
29202
|
validConfig: Object,
|
|
@@ -29191,7 +29204,7 @@ function getResetValue(value, resetValue) {
|
|
|
29191
29204
|
customLayout: {
|
|
29192
29205
|
type: Boolean,
|
|
29193
29206
|
default: function _default() {
|
|
29194
|
-
return
|
|
29207
|
+
return src_conf.form.customLayout;
|
|
29195
29208
|
}
|
|
29196
29209
|
}
|
|
29197
29210
|
},
|
|
@@ -29218,10 +29231,10 @@ function getResetValue(value, resetValue) {
|
|
|
29218
29231
|
var refTooltip = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])();
|
|
29219
29232
|
var formMethods = {};
|
|
29220
29233
|
var computeValidOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
29221
|
-
return Object.assign({},
|
|
29234
|
+
return Object.assign({}, src_conf.form.validConfig, props.validConfig);
|
|
29222
29235
|
});
|
|
29223
29236
|
var computeTooltipOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
29224
|
-
return Object.assign({},
|
|
29237
|
+
return Object.assign({}, src_conf.tooltip, src_conf.form.tooltipConfig, props.tooltipConfig);
|
|
29225
29238
|
});
|
|
29226
29239
|
var refMaps = {
|
|
29227
29240
|
refElem: refElem
|
|
@@ -29976,8 +29989,8 @@ var formItemProps = {
|
|
|
29976
29989
|
onClick: $xeform.toggleCollapseEvent
|
|
29977
29990
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', {
|
|
29978
29991
|
class: 'vxe-form--item-trigger-text'
|
|
29979
|
-
}, collapseAll ?
|
|
29980
|
-
class: ['vxe-form--item-trigger-icon', collapseAll ?
|
|
29992
|
+
}, collapseAll ? src_conf.i18n('vxe.form.unfolding') : src_conf.i18n('vxe.form.folding')), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('i', {
|
|
29993
|
+
class: ['vxe-form--item-trigger-icon', collapseAll ? src_conf.icon.FORM_FOLDING : src_conf.icon.FORM_UNFOLDING]
|
|
29981
29994
|
})]));
|
|
29982
29995
|
}
|
|
29983
29996
|
|
|
@@ -30329,7 +30342,7 @@ dynamicApp.component(src_option.name, src_option);
|
|
|
30329
30342
|
size: {
|
|
30330
30343
|
type: String,
|
|
30331
30344
|
default: function _default() {
|
|
30332
|
-
return
|
|
30345
|
+
return src_conf.switch.size || src_conf.size;
|
|
30333
30346
|
}
|
|
30334
30347
|
},
|
|
30335
30348
|
openLabel: String,
|
|
@@ -30531,7 +30544,7 @@ function eventHandle() {
|
|
|
30531
30544
|
|
|
30532
30545
|
function eventListener() {
|
|
30533
30546
|
clearTimeout(resizeTimeout);
|
|
30534
|
-
resizeTimeout = setTimeout(eventHandle,
|
|
30547
|
+
resizeTimeout = setTimeout(eventHandle, src_conf.resizeInterval || defaultInterval);
|
|
30535
30548
|
}
|
|
30536
30549
|
|
|
30537
30550
|
var resize_XEResizeObserver = /*#__PURE__*/function () {
|
|
@@ -30629,13 +30642,13 @@ function createResizeEvent(callback) {
|
|
|
30629
30642
|
size: {
|
|
30630
30643
|
type: String,
|
|
30631
30644
|
default: function _default() {
|
|
30632
|
-
return
|
|
30645
|
+
return src_conf.list.size || src_conf.size;
|
|
30633
30646
|
}
|
|
30634
30647
|
},
|
|
30635
30648
|
autoResize: {
|
|
30636
30649
|
type: Boolean,
|
|
30637
30650
|
default: function _default() {
|
|
30638
|
-
return
|
|
30651
|
+
return src_conf.list.autoResize;
|
|
30639
30652
|
}
|
|
30640
30653
|
},
|
|
30641
30654
|
syncResize: [Boolean, String, Number],
|
|
@@ -30684,7 +30697,7 @@ function createResizeEvent(callback) {
|
|
|
30684
30697
|
};
|
|
30685
30698
|
var listMethods = {};
|
|
30686
30699
|
var computeSYOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
30687
|
-
return Object.assign({},
|
|
30700
|
+
return Object.assign({}, src_conf.list.scrollY, props.scrollY);
|
|
30688
30701
|
});
|
|
30689
30702
|
var computeStyles = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
30690
30703
|
var height = props.height,
|
|
@@ -31047,7 +31060,7 @@ dynamicApp.component(src_list.name, src_list);
|
|
|
31047
31060
|
size: {
|
|
31048
31061
|
type: String,
|
|
31049
31062
|
default: function _default() {
|
|
31050
|
-
return
|
|
31063
|
+
return src_conf.size;
|
|
31051
31064
|
}
|
|
31052
31065
|
},
|
|
31053
31066
|
destroyOnClose: Boolean,
|
|
@@ -32302,7 +32315,7 @@ var lineOffsetSizes = {
|
|
|
32302
32315
|
$table: $xetable
|
|
32303
32316
|
});
|
|
32304
32317
|
} else {
|
|
32305
|
-
emptyContent = tableProps.emptyText ||
|
|
32318
|
+
emptyContent = tableProps.emptyText || src_conf.i18n('vxe.table.emptyText');
|
|
32306
32319
|
}
|
|
32307
32320
|
}
|
|
32308
32321
|
|
|
@@ -33161,13 +33174,13 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
|
|
|
33161
33174
|
var $xegrid = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["inject"])('$xegrid', null);
|
|
33162
33175
|
var $xetoolbar;
|
|
33163
33176
|
var computeValidOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33164
|
-
return Object.assign({},
|
|
33177
|
+
return Object.assign({}, src_conf.table.validConfig, props.validConfig);
|
|
33165
33178
|
});
|
|
33166
33179
|
var computeSXOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33167
|
-
return Object.assign({},
|
|
33180
|
+
return Object.assign({}, src_conf.table.scrollX, props.scrollX);
|
|
33168
33181
|
});
|
|
33169
33182
|
var computeSYOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33170
|
-
return Object.assign({},
|
|
33183
|
+
return Object.assign({}, src_conf.table.scrollY, props.scrollY);
|
|
33171
33184
|
});
|
|
33172
33185
|
var computeRowHeightMaps = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33173
33186
|
return {
|
|
@@ -33178,28 +33191,28 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
|
|
|
33178
33191
|
};
|
|
33179
33192
|
});
|
|
33180
33193
|
var computeColumnOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33181
|
-
return Object.assign({},
|
|
33194
|
+
return Object.assign({}, src_conf.table.columnConfig, props.columnConfig);
|
|
33182
33195
|
});
|
|
33183
33196
|
var computeRowOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33184
|
-
return Object.assign({},
|
|
33197
|
+
return Object.assign({}, src_conf.table.rowConfig, props.rowConfig);
|
|
33185
33198
|
});
|
|
33186
33199
|
var computeResizableOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33187
|
-
return Object.assign({},
|
|
33200
|
+
return Object.assign({}, src_conf.table.resizableConfig, props.resizableConfig);
|
|
33188
33201
|
});
|
|
33189
33202
|
var computeSeqOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33190
33203
|
return Object.assign({
|
|
33191
33204
|
startIndex: 0
|
|
33192
|
-
},
|
|
33205
|
+
}, src_conf.table.seqConfig, props.seqConfig);
|
|
33193
33206
|
});
|
|
33194
33207
|
var computeRadioOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33195
|
-
return Object.assign({},
|
|
33208
|
+
return Object.assign({}, src_conf.table.radioConfig, props.radioConfig);
|
|
33196
33209
|
});
|
|
33197
33210
|
var computeCheckboxOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33198
|
-
return Object.assign({},
|
|
33211
|
+
return Object.assign({}, src_conf.table.checkboxConfig, props.checkboxConfig);
|
|
33199
33212
|
});
|
|
33200
33213
|
var computeTooltipOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])();
|
|
33201
33214
|
computeTooltipOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33202
|
-
return Object.assign({},
|
|
33215
|
+
return Object.assign({}, src_conf.tooltip, src_conf.table.tooltipConfig, props.tooltipConfig);
|
|
33203
33216
|
});
|
|
33204
33217
|
var computeTipConfig = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33205
33218
|
var tooltipStore = reactData.tooltipStore;
|
|
@@ -33213,33 +33226,33 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
|
|
|
33213
33226
|
}, tooltipOpts);
|
|
33214
33227
|
});
|
|
33215
33228
|
var computeEditOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33216
|
-
return Object.assign({},
|
|
33229
|
+
return Object.assign({}, src_conf.table.editConfig, props.editConfig);
|
|
33217
33230
|
});
|
|
33218
33231
|
var computeSortOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33219
33232
|
return Object.assign({
|
|
33220
33233
|
orders: ['asc', 'desc', null]
|
|
33221
|
-
},
|
|
33234
|
+
}, src_conf.table.sortConfig, props.sortConfig);
|
|
33222
33235
|
});
|
|
33223
33236
|
var computeFilterOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33224
|
-
return Object.assign({},
|
|
33237
|
+
return Object.assign({}, src_conf.table.filterConfig, props.filterConfig);
|
|
33225
33238
|
});
|
|
33226
33239
|
var computeMouseOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33227
|
-
return Object.assign({},
|
|
33240
|
+
return Object.assign({}, src_conf.table.mouseConfig, props.mouseConfig);
|
|
33228
33241
|
});
|
|
33229
33242
|
var computeAreaOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33230
|
-
return Object.assign({},
|
|
33243
|
+
return Object.assign({}, src_conf.table.areaConfig, props.areaConfig);
|
|
33231
33244
|
});
|
|
33232
33245
|
var computeKeyboardOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33233
|
-
return Object.assign({},
|
|
33246
|
+
return Object.assign({}, src_conf.table.keyboardConfig, props.keyboardConfig);
|
|
33234
33247
|
});
|
|
33235
33248
|
var computeClipOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33236
|
-
return Object.assign({},
|
|
33249
|
+
return Object.assign({}, src_conf.table.clipConfig, props.clipConfig);
|
|
33237
33250
|
});
|
|
33238
33251
|
var computeFNROpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33239
|
-
return Object.assign({},
|
|
33252
|
+
return Object.assign({}, src_conf.table.fnrConfig, props.fnrConfig);
|
|
33240
33253
|
});
|
|
33241
33254
|
var computeMenuOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33242
|
-
return Object.assign({},
|
|
33255
|
+
return Object.assign({}, src_conf.table.menuConfig, props.menuConfig);
|
|
33243
33256
|
});
|
|
33244
33257
|
var computeHeaderMenu = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33245
33258
|
var menuOpts = computeMenuOpts.value;
|
|
@@ -33274,28 +33287,28 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
|
|
|
33274
33287
|
return rest;
|
|
33275
33288
|
});
|
|
33276
33289
|
var computeExportOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33277
|
-
return Object.assign({},
|
|
33290
|
+
return Object.assign({}, src_conf.table.exportConfig, props.exportConfig);
|
|
33278
33291
|
});
|
|
33279
33292
|
var computeImportOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33280
|
-
return Object.assign({},
|
|
33293
|
+
return Object.assign({}, src_conf.table.importConfig, props.importConfig);
|
|
33281
33294
|
});
|
|
33282
33295
|
var computePrintOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33283
|
-
return Object.assign({},
|
|
33296
|
+
return Object.assign({}, src_conf.table.printConfig, props.printConfig);
|
|
33284
33297
|
});
|
|
33285
33298
|
var computeExpandOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33286
|
-
return Object.assign({},
|
|
33299
|
+
return Object.assign({}, src_conf.table.expandConfig, props.expandConfig);
|
|
33287
33300
|
});
|
|
33288
33301
|
var computeTreeOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33289
|
-
return Object.assign({},
|
|
33302
|
+
return Object.assign({}, src_conf.table.treeConfig, props.treeConfig);
|
|
33290
33303
|
});
|
|
33291
33304
|
var computeEmptyOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33292
|
-
return Object.assign({},
|
|
33305
|
+
return Object.assign({}, src_conf.table.emptyRender, props.emptyRender);
|
|
33293
33306
|
});
|
|
33294
33307
|
var computeCellOffsetWidth = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33295
33308
|
return props.border ? Math.max(2, Math.ceil(reactData.scrollbarWidth / reactData.tableColumn.length)) : 1;
|
|
33296
33309
|
});
|
|
33297
33310
|
var computeCustomOpts = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33298
|
-
return Object.assign({},
|
|
33311
|
+
return Object.assign({}, src_conf.table.customConfig, props.customConfig);
|
|
33299
33312
|
});
|
|
33300
33313
|
var computeTableBorder = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
33301
33314
|
var border = props.border;
|
|
@@ -33433,7 +33446,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
|
|
|
33433
33446
|
};
|
|
33434
33447
|
|
|
33435
33448
|
var getCustomStorageMap = function getCustomStorageMap(key) {
|
|
33436
|
-
var version =
|
|
33449
|
+
var version = src_conf.version;
|
|
33437
33450
|
var rest = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toStringJSON(localStorage.getItem(key) || '');
|
|
33438
33451
|
return rest && rest._v === version ? rest : {
|
|
33439
33452
|
_v: version
|
|
@@ -38475,7 +38488,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
|
|
|
38475
38488
|
|
|
38476
38489
|
tablePrivateMethods = {
|
|
38477
38490
|
getSetupOptions: function getSetupOptions() {
|
|
38478
|
-
return
|
|
38491
|
+
return src_conf;
|
|
38479
38492
|
},
|
|
38480
38493
|
updateAfterDataIndex: updateAfterDataIndex,
|
|
38481
38494
|
callSlot: function callSlot(slotFunc, params) {
|
|
@@ -39932,7 +39945,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
|
|
|
39932
39945
|
}
|
|
39933
39946
|
}
|
|
39934
39947
|
|
|
39935
|
-
return getFuncText(props.emptyText) ||
|
|
39948
|
+
return getFuncText(props.emptyText) || src_conf.i18n('vxe.table.emptyText');
|
|
39936
39949
|
};
|
|
39937
39950
|
|
|
39938
39951
|
function handleUupdateResize() {
|