vxe-table 4.7.41 → 4.7.43
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/locale/lang/en-US.js +2 -5
- package/es/locale/lang/es-ES.js +2 -5
- package/es/locale/lang/ja-JP.js +2 -5
- package/es/locale/lang/pt-BR.js +2 -5
- package/es/locale/lang/zh-CN.js +2 -5
- package/es/locale/lang/zh-TC.js +3 -6
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/custom/panel.js +171 -145
- package/es/table/render/index.js +16 -2
- package/es/table/src/table.js +21 -20
- package/es/table/style.css +3 -0
- package/es/table/style.min.css +1 -1
- package/es/toolbar/src/toolbar.js +1 -1
- package/es/ui/index.js +11 -4
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +3 -0
- package/es/vxe-table/style.min.css +1 -1
- package/lib/index.umd.js +112 -59
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/en-US.js +2 -5
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +2 -5
- package/lib/locale/lang/es-ES.js +2 -5
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +2 -5
- package/lib/locale/lang/ja-JP.js +2 -5
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +2 -5
- package/lib/locale/lang/pt-BR.js +2 -5
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +2 -5
- package/lib/locale/lang/zh-CN.js +2 -5
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +2 -5
- package/lib/locale/lang/zh-HK.min.js +1 -1
- package/lib/locale/lang/zh-HK.umd.js +3 -6
- package/lib/locale/lang/zh-MO.min.js +1 -1
- package/lib/locale/lang/zh-MO.umd.js +3 -6
- package/lib/locale/lang/zh-TC.js +3 -6
- package/lib/locale/lang/zh-TC.min.js +1 -1
- package/lib/locale/lang/zh-TC.umd.js +3 -6
- package/lib/locale/lang/zh-TW.min.js +1 -1
- package/lib/locale/lang/zh-TW.umd.js +3 -6
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/custom/panel.js +51 -22
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/render/index.js +21 -2
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/table.js +21 -24
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +3 -0
- package/lib/table/style/style.min.css +1 -1
- package/lib/toolbar/src/toolbar.js +3 -1
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/ui/index.js +11 -4
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-table/style/style.css +3 -0
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/locale/lang/en-US.ts +2 -5
- package/packages/locale/lang/es-ES.ts +2 -5
- package/packages/locale/lang/ja-JP.ts +2 -5
- package/packages/locale/lang/pt-BR.ts +2 -5
- package/packages/locale/lang/zh-CN.ts +2 -5
- package/packages/locale/lang/zh-TC.ts +3 -6
- package/packages/table/module/custom/panel.ts +172 -146
- package/packages/table/render/index.ts +36 -17
- package/packages/table/src/table.ts +21 -20
- package/packages/toolbar/src/toolbar.ts +1 -1
- package/packages/ui/index.ts +9 -2
- package/styles/components/table-module/custom.scss +4 -1
- /package/es/{iconfont.1719997006744.ttf → iconfont.1720061363684.ttf} +0 -0
- /package/es/{iconfont.1719997006744.woff → iconfont.1720061363684.woff} +0 -0
- /package/es/{iconfont.1719997006744.woff2 → iconfont.1720061363684.woff2} +0 -0
- /package/lib/{iconfont.1719997006744.ttf → iconfont.1720061363684.ttf} +0 -0
- /package/lib/{iconfont.1719997006744.woff → iconfont.1720061363684.woff} +0 -0
- /package/lib/{iconfont.1719997006744.woff2 → iconfont.1720061363684.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -1951,9 +1951,9 @@ function eqEmptyValue(cellValue) {
|
|
|
1951
1951
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
1952
1952
|
|
|
1953
1953
|
|
|
1954
|
-
const version = "4.7.
|
|
1954
|
+
const version = "4.7.43";
|
|
1955
1955
|
core_.VxeUI.version = version;
|
|
1956
|
-
core_.VxeUI.tableVersion = "4.7.
|
|
1956
|
+
core_.VxeUI.tableVersion = "4.7.43";
|
|
1957
1957
|
core_.VxeUI.setConfig({
|
|
1958
1958
|
emptyCell: ' ',
|
|
1959
1959
|
table: {
|
|
@@ -2013,9 +2013,16 @@ core_.VxeUI.setConfig({
|
|
|
2013
2013
|
allowFixed: true,
|
|
2014
2014
|
allowSort: true,
|
|
2015
2015
|
showFooter: true,
|
|
2016
|
-
placement: 'top-right'
|
|
2016
|
+
placement: 'top-right',
|
|
2017
2017
|
// storage: false,
|
|
2018
|
-
// checkMethod () {}
|
|
2018
|
+
// checkMethod () {},
|
|
2019
|
+
modalOptions: {
|
|
2020
|
+
showMaximize: true,
|
|
2021
|
+
mask: true,
|
|
2022
|
+
lockView: true,
|
|
2023
|
+
resize: true,
|
|
2024
|
+
escClosable: true
|
|
2025
|
+
}
|
|
2019
2026
|
},
|
|
2020
2027
|
sortConfig: {
|
|
2021
2028
|
// remote: false,
|
|
@@ -2324,7 +2331,7 @@ var es_array_push = __webpack_require__(4114);
|
|
|
2324
2331
|
const {
|
|
2325
2332
|
log: log_log
|
|
2326
2333
|
} = core_.VxeUI;
|
|
2327
|
-
const log_version = `table v${"4.7.
|
|
2334
|
+
const log_version = `table v${"4.7.43"}`;
|
|
2328
2335
|
const warnLog = log_log.create('warn', log_version);
|
|
2329
2336
|
const errLog = log_log.create('error', log_version);
|
|
2330
2337
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -6511,6 +6518,7 @@ const {
|
|
|
6511
6518
|
},
|
|
6512
6519
|
setup(props) {
|
|
6513
6520
|
const VxeUIModalComponent = core_.VxeUI.getComponent('VxeModal');
|
|
6521
|
+
const VxeUIDrawerComponent = core_.VxeUI.getComponent('VxeDrawer');
|
|
6514
6522
|
const VxeUIButtonComponent = core_.VxeUI.getComponent('VxeButton');
|
|
6515
6523
|
const VxeUIInputComponent = core_.VxeUI.getComponent('VxeInput');
|
|
6516
6524
|
const VxeUITooltipComponent = core_.VxeUI.getComponent('VxeTooltip');
|
|
@@ -6980,6 +6988,7 @@ const {
|
|
|
6980
6988
|
const customOpts = computeCustomOpts.value;
|
|
6981
6989
|
const {
|
|
6982
6990
|
modalOptions,
|
|
6991
|
+
drawerOptions,
|
|
6983
6992
|
allowVisible,
|
|
6984
6993
|
allowSort,
|
|
6985
6994
|
allowFixed,
|
|
@@ -6988,7 +6997,14 @@ const {
|
|
|
6988
6997
|
visibleMethod
|
|
6989
6998
|
} = customOpts;
|
|
6990
6999
|
const columnOpts = computeColumnOpts.value;
|
|
7000
|
+
const {
|
|
7001
|
+
maxFixedSize
|
|
7002
|
+
} = columnOpts;
|
|
7003
|
+
const {
|
|
7004
|
+
mode
|
|
7005
|
+
} = customOpts;
|
|
6991
7006
|
const modalOpts = Object.assign({}, modalOptions);
|
|
7007
|
+
const drawerOpts = Object.assign({}, drawerOptions);
|
|
6992
7008
|
const isMaxFixedColumn = computeIsMaxFixedColumn.value;
|
|
6993
7009
|
const trVNs = [];
|
|
6994
7010
|
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(customColumnList, (column, index, items, path, parent) => {
|
|
@@ -7080,25 +7096,7 @@ const {
|
|
|
7080
7096
|
});
|
|
7081
7097
|
const isAllChecked = customStore.isAll;
|
|
7082
7098
|
const isAllIndeterminate = customStore.isIndeterminate;
|
|
7083
|
-
|
|
7084
|
-
key: 'popup',
|
|
7085
|
-
className: ['vxe-table-custom-popup-wrapper', 'vxe-table--ignore-clear', modalOpts.className || ''].join(' '),
|
|
7086
|
-
modelValue: customStore.visible,
|
|
7087
|
-
title: modalOpts.title || panel_getI18n('vxe.custom.cstmTitle'),
|
|
7088
|
-
width: modalOpts.width || '50vw',
|
|
7089
|
-
minWidth: modalOpts.minWidth || 700,
|
|
7090
|
-
height: modalOpts.height || '50vh',
|
|
7091
|
-
minHeight: modalOpts.minHeight || 400,
|
|
7092
|
-
mask: true,
|
|
7093
|
-
lockView: true,
|
|
7094
|
-
showFooter: true,
|
|
7095
|
-
resize: true,
|
|
7096
|
-
escClosable: true,
|
|
7097
|
-
destroyOnClose: true,
|
|
7098
|
-
'onUpdate:modelValue'(value) {
|
|
7099
|
-
customStore.visible = value;
|
|
7100
|
-
}
|
|
7101
|
-
}, {
|
|
7099
|
+
const scopedSlots = {
|
|
7102
7100
|
default: () => {
|
|
7103
7101
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
7104
7102
|
ref: bodyElemRef,
|
|
@@ -7147,7 +7145,7 @@ const {
|
|
|
7147
7145
|
class: 'vxe-table-custom-popup--table-sort-help-icon vxe-icon-question-circle-fill'
|
|
7148
7146
|
});
|
|
7149
7147
|
}
|
|
7150
|
-
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, panel_getI18n('vxe.custom.setting.colTitle')), allowResizable ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, panel_getI18n('vxe.custom.setting.colResizable')) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), allowFixed ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, panel_getI18n(
|
|
7148
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, panel_getI18n('vxe.custom.setting.colTitle')), allowResizable ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, panel_getI18n('vxe.custom.setting.colResizable')) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), allowFixed ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, panel_getI18n(`vxe.custom.setting.${maxFixedSize ? 'colFixedMax' : 'colFixed'}`, [maxFixedSize])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(external_commonjs_vue_commonjs2_vue_root_Vue_.TransitionGroup, {
|
|
7151
7149
|
class: 'vxe-table-custom--body',
|
|
7152
7150
|
tag: 'tbody',
|
|
7153
7151
|
name: 'vxe-table-custom--list'
|
|
@@ -7173,11 +7171,49 @@ const {
|
|
|
7173
7171
|
onClick: confirmCustomEvent
|
|
7174
7172
|
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
|
|
7175
7173
|
}
|
|
7176
|
-
}
|
|
7174
|
+
};
|
|
7175
|
+
if (mode === 'drawer') {
|
|
7176
|
+
return VxeUIDrawerComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUIDrawerComponent, {
|
|
7177
|
+
key: 'drawer',
|
|
7178
|
+
className: ['vxe-table-custom-drawer-wrapper', 'vxe-table--ignore-clear', drawerOpts.className || ''].join(' '),
|
|
7179
|
+
modelValue: customStore.visible,
|
|
7180
|
+
title: drawerOpts.title || panel_getI18n('vxe.custom.cstmTitle'),
|
|
7181
|
+
width: drawerOpts.width || Math.min(880, document.documentElement.clientWidth),
|
|
7182
|
+
position: drawerOpts.position,
|
|
7183
|
+
escClosable: !!drawerOpts.escClosable,
|
|
7184
|
+
destroyOnClose: true,
|
|
7185
|
+
showFooter: true,
|
|
7186
|
+
'onUpdate:modelValue'(value) {
|
|
7187
|
+
customStore.visible = value;
|
|
7188
|
+
}
|
|
7189
|
+
}, scopedSlots) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
|
|
7190
|
+
}
|
|
7191
|
+
return VxeUIModalComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUIModalComponent, {
|
|
7192
|
+
key: 'modal',
|
|
7193
|
+
className: ['vxe-table-custom-modal-wrapper', 'vxe-table--ignore-clear', modalOpts.className || ''].join(' '),
|
|
7194
|
+
modelValue: customStore.visible,
|
|
7195
|
+
title: modalOpts.title || panel_getI18n('vxe.custom.cstmTitle'),
|
|
7196
|
+
width: modalOpts.width || Math.min(880, document.documentElement.clientWidth),
|
|
7197
|
+
minWidth: modalOpts.minWidth || 700,
|
|
7198
|
+
height: modalOpts.height || Math.min(680, document.documentElement.clientHeight),
|
|
7199
|
+
minHeight: modalOpts.minHeight || 400,
|
|
7200
|
+
showZoom: modalOpts.showZoom,
|
|
7201
|
+
showMaximize: modalOpts.showMaximize,
|
|
7202
|
+
showMinimize: modalOpts.showMinimize,
|
|
7203
|
+
mask: modalOpts.mask,
|
|
7204
|
+
lockView: modalOpts.lockView,
|
|
7205
|
+
resize: modalOpts.resize,
|
|
7206
|
+
escClosable: !!modalOpts.escClosable,
|
|
7207
|
+
destroyOnClose: true,
|
|
7208
|
+
showFooter: true,
|
|
7209
|
+
'onUpdate:modelValue'(value) {
|
|
7210
|
+
customStore.visible = value;
|
|
7211
|
+
}
|
|
7212
|
+
}, scopedSlots) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
|
|
7177
7213
|
};
|
|
7178
7214
|
const renderVN = () => {
|
|
7179
7215
|
const customOpts = computeCustomOpts.value;
|
|
7180
|
-
if (
|
|
7216
|
+
if (['modal', 'drawer', 'popup'].includes(`${customOpts.mode}`)) {
|
|
7181
7217
|
return renderPopupPanel();
|
|
7182
7218
|
}
|
|
7183
7219
|
return renderSimplePanel();
|
|
@@ -8644,7 +8680,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
8644
8680
|
let fixedSize = 0;
|
|
8645
8681
|
// 只判断第一层
|
|
8646
8682
|
collectColumn.forEach(column => {
|
|
8647
|
-
if (column.
|
|
8683
|
+
if (column.renderFixed) {
|
|
8648
8684
|
fixedSize++;
|
|
8649
8685
|
}
|
|
8650
8686
|
});
|
|
@@ -9043,9 +9079,6 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
9043
9079
|
return num;
|
|
9044
9080
|
};
|
|
9045
9081
|
const handleCustomRestore = storeData => {
|
|
9046
|
-
const {
|
|
9047
|
-
tableFullColumn
|
|
9048
|
-
} = internalData;
|
|
9049
9082
|
let {
|
|
9050
9083
|
collectColumn
|
|
9051
9084
|
} = internalData;
|
|
@@ -9058,21 +9091,24 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
9058
9091
|
let hasCustomSort = false;
|
|
9059
9092
|
// 处理还原
|
|
9060
9093
|
if (resizableData || sortData || visibleData || fixedData) {
|
|
9061
|
-
|
|
9094
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(collectColumn, (column, index, items, path, parent) => {
|
|
9062
9095
|
const colKey = column.getKey();
|
|
9096
|
+
// 支持一级
|
|
9097
|
+
if (!parent) {
|
|
9098
|
+
if (fixedData && fixedData[colKey]) {
|
|
9099
|
+
column.fixed = fixedData[colKey];
|
|
9100
|
+
}
|
|
9101
|
+
if (sortData && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(sortData[colKey])) {
|
|
9102
|
+
hasCustomSort = true;
|
|
9103
|
+
column.renderSortNumber = sortData[colKey];
|
|
9104
|
+
}
|
|
9105
|
+
}
|
|
9063
9106
|
if (resizableData && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(resizableData[colKey])) {
|
|
9064
9107
|
column.resizeWidth = resizableData[colKey];
|
|
9065
9108
|
}
|
|
9066
9109
|
if (visibleData && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(visibleData[colKey])) {
|
|
9067
9110
|
column.visible = visibleData[colKey];
|
|
9068
9111
|
}
|
|
9069
|
-
if (fixedData && fixedData[colKey]) {
|
|
9070
|
-
column.fixed = fixedData[colKey];
|
|
9071
|
-
}
|
|
9072
|
-
if (sortData && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(sortData[colKey])) {
|
|
9073
|
-
hasCustomSort = true;
|
|
9074
|
-
column.renderSortNumber = sortData[colKey];
|
|
9075
|
-
}
|
|
9076
9112
|
});
|
|
9077
9113
|
// 如果自定义了顺序
|
|
9078
9114
|
if (hasCustomSort) {
|
|
@@ -11953,16 +11989,13 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
11953
11989
|
const targetColumn = getRootColumn($xeTable, column);
|
|
11954
11990
|
const isMaxFixedColumn = computeIsMaxFixedColumn.value;
|
|
11955
11991
|
const columnOpts = computeColumnOpts.value;
|
|
11956
|
-
const {
|
|
11957
|
-
maxFixedSize
|
|
11958
|
-
} = columnOpts;
|
|
11959
11992
|
if (targetColumn && targetColumn.fixed !== fixed) {
|
|
11960
11993
|
// 是否超过最大固定列数量
|
|
11961
11994
|
if (!targetColumn.fixed && isMaxFixedColumn) {
|
|
11962
11995
|
if (core_.VxeUI.modal) {
|
|
11963
11996
|
core_.VxeUI.modal.message({
|
|
11964
11997
|
status: 'error',
|
|
11965
|
-
content: table_getI18n('vxe.table.maxFixedCol', [maxFixedSize])
|
|
11998
|
+
content: table_getI18n('vxe.table.maxFixedCol', [columnOpts.maxFixedSize])
|
|
11966
11999
|
});
|
|
11967
12000
|
}
|
|
11968
12001
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
@@ -13448,7 +13481,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13448
13481
|
let hasFixedt = 0;
|
|
13449
13482
|
let hasVisible = 0;
|
|
13450
13483
|
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(collectColumn, (column, index, items, path, parent) => {
|
|
13451
|
-
//
|
|
13484
|
+
// 只支持一级
|
|
13452
13485
|
if (!parent) {
|
|
13453
13486
|
collectColumn.forEach(column => {
|
|
13454
13487
|
const colKey = column.getKey();
|
|
@@ -13457,6 +13490,13 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13457
13490
|
sortData[colKey] = column.renderSortNumber;
|
|
13458
13491
|
}
|
|
13459
13492
|
});
|
|
13493
|
+
if (column.fixed && column.fixed !== column.defaultFixed) {
|
|
13494
|
+
const colKey = column.getKey();
|
|
13495
|
+
if (colKey) {
|
|
13496
|
+
hasFixedt = 1;
|
|
13497
|
+
fixedData[colKey] = column.fixed;
|
|
13498
|
+
}
|
|
13499
|
+
}
|
|
13460
13500
|
}
|
|
13461
13501
|
if (column.resizeWidth) {
|
|
13462
13502
|
const colKey = column.getKey();
|
|
@@ -13465,13 +13505,6 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13465
13505
|
resizableData[colKey] = column.renderWidth;
|
|
13466
13506
|
}
|
|
13467
13507
|
}
|
|
13468
|
-
if (column.fixed && column.fixed !== column.defaultFixed) {
|
|
13469
|
-
const colKey = column.getKey();
|
|
13470
|
-
if (colKey) {
|
|
13471
|
-
hasFixedt = 1;
|
|
13472
|
-
fixedData[colKey] = column.fixed;
|
|
13473
|
-
}
|
|
13474
|
-
}
|
|
13475
13508
|
if (!checkMethod || checkMethod({
|
|
13476
13509
|
column
|
|
13477
13510
|
})) {
|
|
@@ -21237,7 +21270,7 @@ function nativeEditRender(renderOpts, params) {
|
|
|
21237
21270
|
...getNativeEditOns(renderOpts, params)
|
|
21238
21271
|
})];
|
|
21239
21272
|
}
|
|
21240
|
-
function
|
|
21273
|
+
function buttonCellRender(renderOpts, params) {
|
|
21241
21274
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(getDefaultComponent(renderOpts), {
|
|
21242
21275
|
...getCellEditProps(renderOpts, params, null),
|
|
21243
21276
|
...getComponentOns(renderOpts, params)
|
|
@@ -21254,6 +21287,21 @@ function defaultEditRender(renderOpts, params) {
|
|
|
21254
21287
|
...getEditOns(renderOpts, params)
|
|
21255
21288
|
})];
|
|
21256
21289
|
}
|
|
21290
|
+
function radioAndCheckboxEditRender(renderOpts, params) {
|
|
21291
|
+
const {
|
|
21292
|
+
options
|
|
21293
|
+
} = renderOpts;
|
|
21294
|
+
const {
|
|
21295
|
+
row,
|
|
21296
|
+
column
|
|
21297
|
+
} = params;
|
|
21298
|
+
const cellValue = getCellValue(row, column);
|
|
21299
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(getDefaultComponent(renderOpts), {
|
|
21300
|
+
options,
|
|
21301
|
+
...getCellEditProps(renderOpts, params, cellValue),
|
|
21302
|
+
...getEditOns(renderOpts, params)
|
|
21303
|
+
})];
|
|
21304
|
+
}
|
|
21257
21305
|
/**
|
|
21258
21306
|
* 已废弃
|
|
21259
21307
|
* @deprecated
|
|
@@ -21611,7 +21659,7 @@ render_renderer.mixin({
|
|
|
21611
21659
|
autofocus: '.vxe-textarea--inner'
|
|
21612
21660
|
},
|
|
21613
21661
|
VxeButton: {
|
|
21614
|
-
renderDefault:
|
|
21662
|
+
renderDefault: buttonCellRender
|
|
21615
21663
|
},
|
|
21616
21664
|
VxeButtonGroup: {
|
|
21617
21665
|
renderDefault(renderOpts, params) {
|
|
@@ -21659,6 +21707,12 @@ render_renderer.mixin({
|
|
|
21659
21707
|
defaultFilterMethod: handleFilterMethod,
|
|
21660
21708
|
exportMethod: handleExportSelectMethod
|
|
21661
21709
|
},
|
|
21710
|
+
VxeRadioGroup: {
|
|
21711
|
+
renderDefault: radioAndCheckboxEditRender
|
|
21712
|
+
},
|
|
21713
|
+
VxeCheckboxGroup: {
|
|
21714
|
+
renderDefault: radioAndCheckboxEditRender
|
|
21715
|
+
},
|
|
21662
21716
|
VxeSwitch: {
|
|
21663
21717
|
autofocus: '.vxe-switch--button',
|
|
21664
21718
|
renderEdit: defaultEditRender,
|
|
@@ -21881,7 +21935,9 @@ const {
|
|
|
21881
21935
|
return computeCustomOpts.value;
|
|
21882
21936
|
}
|
|
21883
21937
|
}
|
|
21884
|
-
return {
|
|
21938
|
+
return {
|
|
21939
|
+
trigger: ''
|
|
21940
|
+
};
|
|
21885
21941
|
});
|
|
21886
21942
|
const computeTrigger = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
21887
21943
|
const tableCustomOpts = computeTableCustomOpts.value;
|
|
@@ -23814,10 +23870,6 @@ core_.VxeUI.component(grid);
|
|
|
23814
23870
|
const Grid = VxeGrid;
|
|
23815
23871
|
/* harmony default export */ var packages_grid = ((/* unused pure expression or super */ null && (VxeGrid)));
|
|
23816
23872
|
;// CONCATENATED MODULE: ./packages/locale/lang/zh-CN.ts
|
|
23817
|
-
/**
|
|
23818
|
-
* v4保留兼容,已废弃,即将删除文件
|
|
23819
|
-
* @deprecated
|
|
23820
|
-
*/
|
|
23821
23873
|
/* harmony default export */ var zh_CN = ({
|
|
23822
23874
|
vxe: {
|
|
23823
23875
|
base: {
|
|
@@ -23942,7 +23994,8 @@ const Grid = VxeGrid;
|
|
|
23942
23994
|
colTitle: '标题',
|
|
23943
23995
|
colResizable: '列宽(像素)',
|
|
23944
23996
|
colVisible: '是否显示',
|
|
23945
|
-
colFixed: '
|
|
23997
|
+
colFixed: '冻结列',
|
|
23998
|
+
colFixedMax: '冻结列(最多 {0} 列)',
|
|
23946
23999
|
fixedLeft: '左侧',
|
|
23947
24000
|
fixedUnset: '不设置',
|
|
23948
24001
|
fixedRight: '右侧'
|