vxe-table 4.11.6 → 4.11.7
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/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ar-EG.js +2 -1
- package/es/locale/lang/de-DE.js +2 -1
- package/es/locale/lang/en-US.js +2 -1
- package/es/locale/lang/es-ES.js +2 -1
- package/es/locale/lang/fr-FR.js +2 -1
- package/es/locale/lang/hu-HU.js +2 -1
- package/es/locale/lang/hy-AM.js +2 -1
- package/es/locale/lang/id-ID.js +2 -1
- package/es/locale/lang/it-IT.js +2 -1
- package/es/locale/lang/ja-JP.js +2 -1
- package/es/locale/lang/ko-KR.js +2 -1
- package/es/locale/lang/nb-NO.js +2 -1
- package/es/locale/lang/pt-BR.js +2 -1
- package/es/locale/lang/ru-RU.js +2 -1
- package/es/locale/lang/th-TH.js +2 -1
- package/es/locale/lang/ug-CN.js +2 -1
- package/es/locale/lang/uk-UA.js +2 -1
- package/es/locale/lang/vi-VN.js +2 -1
- package/es/locale/lang/zh-CHT.js +2 -1
- package/es/locale/lang/zh-CN.js +2 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/export/export-panel.js +7 -4
- package/es/table/module/export/hook.js +3 -3
- package/es/table/src/table.js +6 -6
- package/es/table/style.css +1 -1
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +1 -1
- package/es/vxe-table/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +21 -16
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +2 -1
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/de-DE.js +2 -1
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/en-US.js +2 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +2 -1
- package/lib/locale/lang/es-ES.js +2 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +2 -1
- package/lib/locale/lang/fr-FR.js +2 -1
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/hu-HU.js +2 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +2 -1
- package/lib/locale/lang/hy-AM.js +2 -1
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/id-ID.js +2 -1
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/it-IT.js +2 -1
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/ja-JP.js +2 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +2 -1
- package/lib/locale/lang/ko-KR.js +2 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +2 -1
- package/lib/locale/lang/nb-NO.js +2 -1
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/pt-BR.js +2 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +2 -1
- package/lib/locale/lang/ru-RU.js +2 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +2 -1
- package/lib/locale/lang/th-TH.js +2 -1
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/ug-CN.js +2 -1
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/uk-UA.js +2 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +2 -1
- package/lib/locale/lang/vi-VN.js +2 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +2 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CN.js +2 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +2 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/export/export-panel.js +7 -4
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/hook.js +4 -3
- package/lib/table/module/export/hook.min.js +1 -1
- package/lib/table/src/table.js +6 -6
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +1 -1
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- 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 +1 -1
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/locale/lang/ar-EG.ts +2 -1
- package/packages/locale/lang/de-DE.ts +2 -1
- package/packages/locale/lang/en-US.ts +2 -1
- package/packages/locale/lang/es-ES.ts +2 -1
- package/packages/locale/lang/fr-FR.ts +2 -1
- package/packages/locale/lang/hu-HU.ts +2 -1
- package/packages/locale/lang/hy-AM.ts +2 -1
- package/packages/locale/lang/id-ID.ts +2 -1
- package/packages/locale/lang/it-IT.ts +2 -1
- package/packages/locale/lang/ja-JP.ts +2 -1
- package/packages/locale/lang/ko-KR.ts +2 -1
- package/packages/locale/lang/nb-NO.ts +2 -1
- package/packages/locale/lang/pt-BR.ts +2 -1
- package/packages/locale/lang/ru-RU.ts +2 -1
- package/packages/locale/lang/th-TH.ts +2 -1
- package/packages/locale/lang/ug-CN.ts +2 -1
- package/packages/locale/lang/uk-UA.ts +2 -1
- package/packages/locale/lang/vi-VN.ts +2 -1
- package/packages/locale/lang/zh-CHT.ts +2 -1
- package/packages/locale/lang/zh-CN.ts +2 -1
- package/packages/table/module/export/export-panel.ts +8 -4
- package/packages/table/module/export/hook.ts +3 -3
- package/packages/table/src/table.ts +6 -6
- package/styles/components/table.scss +1 -1
- /package/es/{iconfont.1740038200666.ttf → iconfont.1740104016678.ttf} +0 -0
- /package/es/{iconfont.1740038200666.woff → iconfont.1740104016678.woff} +0 -0
- /package/es/{iconfont.1740038200666.woff2 → iconfont.1740104016678.woff2} +0 -0
- /package/lib/{iconfont.1740038200666.ttf → iconfont.1740104016678.ttf} +0 -0
- /package/lib/{iconfont.1740038200666.woff → iconfont.1740104016678.woff} +0 -0
- /package/lib/{iconfont.1740038200666.woff2 → iconfont.1740104016678.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -3138,7 +3138,7 @@ function eqEmptyValue(cellValue) {
|
|
|
3138
3138
|
;// ./packages/ui/index.ts
|
|
3139
3139
|
|
|
3140
3140
|
|
|
3141
|
-
const version = "4.11.
|
|
3141
|
+
const version = "4.11.7";
|
|
3142
3142
|
core_.VxeUI.version = version;
|
|
3143
3143
|
core_.VxeUI.tableVersion = version;
|
|
3144
3144
|
core_.VxeUI.setConfig({
|
|
@@ -3586,7 +3586,7 @@ var esnext_iterator_some = __webpack_require__(7550);
|
|
|
3586
3586
|
const {
|
|
3587
3587
|
log: log_log
|
|
3588
3588
|
} = core_.VxeUI;
|
|
3589
|
-
const log_version = `table v${"4.11.
|
|
3589
|
+
const log_version = `table v${"4.11.7"}`;
|
|
3590
3590
|
const warnLog = log_log.create('warn', log_version);
|
|
3591
3591
|
const errLog = log_log.create('error', log_version);
|
|
3592
3592
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -9989,6 +9989,7 @@ const {
|
|
|
9989
9989
|
columns,
|
|
9990
9990
|
params: defaultOptions.params
|
|
9991
9991
|
};
|
|
9992
|
+
const hasEmptyData = defaultOptions.mode === 'empty';
|
|
9992
9993
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9993
9994
|
class: 'vxe-table-export--panel'
|
|
9994
9995
|
}, [topSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
@@ -10057,7 +10058,8 @@ const {
|
|
|
10057
10058
|
}, $xeTable.callSlot(parameterSlot, params))]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
10058
10059
|
class: 'vxe-table-export--panel-option-row'
|
|
10059
10060
|
}, [VxeUICheckboxComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUICheckboxComponent, {
|
|
10060
|
-
modelValue: defaultOptions.isHeader,
|
|
10061
|
+
modelValue: hasEmptyData || defaultOptions.isHeader,
|
|
10062
|
+
disabled: hasEmptyData,
|
|
10061
10063
|
title: export_panel_getI18n('vxe.export.expHeaderTitle'),
|
|
10062
10064
|
content: export_panel_getI18n('vxe.export.expOptHeader'),
|
|
10063
10065
|
'onUpdate:modelValue'(value) {
|
|
@@ -10072,7 +10074,8 @@ const {
|
|
|
10072
10074
|
defaultOptions.isFooter = value;
|
|
10073
10075
|
}
|
|
10074
10076
|
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), VxeUICheckboxComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUICheckboxComponent, {
|
|
10075
|
-
modelValue: defaultOptions.original,
|
|
10077
|
+
modelValue: hasEmptyData ? false : defaultOptions.original,
|
|
10078
|
+
disabled: hasEmptyData,
|
|
10076
10079
|
title: export_panel_getI18n('vxe.export.expOriginalTitle'),
|
|
10077
10080
|
content: export_panel_getI18n('vxe.export.expOptOriginal'),
|
|
10078
10081
|
'onUpdate:modelValue'(value) {
|
|
@@ -10094,7 +10097,7 @@ const {
|
|
|
10094
10097
|
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), VxeUICheckboxComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUICheckboxComponent, {
|
|
10095
10098
|
modelValue: hasMerge && supportMerge && checkedAll ? defaultOptions.isMerge : false,
|
|
10096
10099
|
title: export_panel_getI18n('vxe.export.expMergeTitle'),
|
|
10097
|
-
disabled: !hasMerge || !supportMerge || !checkedAll,
|
|
10100
|
+
disabled: hasEmptyData || !hasMerge || !supportMerge || !checkedAll,
|
|
10098
10101
|
content: export_panel_getI18n('vxe.export.expOptMerge'),
|
|
10099
10102
|
'onUpdate:modelValue'(value) {
|
|
10100
10103
|
defaultOptions.isMerge = value;
|
|
@@ -10109,7 +10112,7 @@ const {
|
|
|
10109
10112
|
}
|
|
10110
10113
|
}), VxeUICheckboxComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUICheckboxComponent, {
|
|
10111
10114
|
modelValue: hasTree ? defaultOptions.isAllExpand : false,
|
|
10112
|
-
disabled: !hasTree,
|
|
10115
|
+
disabled: hasEmptyData || !hasTree,
|
|
10113
10116
|
title: export_panel_getI18n('vxe.export.expAllExpandTitle'),
|
|
10114
10117
|
content: export_panel_getI18n('vxe.export.expOptAllExpand'),
|
|
10115
10118
|
'onUpdate:modelValue'(value) {
|
|
@@ -13006,7 +13009,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13006
13009
|
reactData.isIndeterminate = false;
|
|
13007
13010
|
reactData.treeIndeterminateMaps = {};
|
|
13008
13011
|
internalData.treeIndeterminateRowMaps = {};
|
|
13009
|
-
|
|
13012
|
+
$xeTable.checkSelectionStatus();
|
|
13010
13013
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
13011
13014
|
};
|
|
13012
13015
|
// 还原展开、选中等相关状态
|
|
@@ -13055,12 +13058,12 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13055
13058
|
reactData.rowExpandedMaps = expandColumn ? getRecoverRowMaps(rowExpandedMaps) : {}; // 刷新行展开状态
|
|
13056
13059
|
// 还原保留状态
|
|
13057
13060
|
if (expandColumn && expandOpts.reserve) {
|
|
13058
|
-
|
|
13061
|
+
$xeTable.setRowExpand(handleReserveRow(internalData.rowExpandedReserveRowMap), true);
|
|
13059
13062
|
}
|
|
13060
13063
|
// 树展开
|
|
13061
13064
|
reactData.treeExpandedMaps = treeConfig ? getRecoverRowMaps(treeExpandedMaps) : {}; // 刷新树展开状态
|
|
13062
13065
|
if (treeConfig && treeOpts.reserve) {
|
|
13063
|
-
|
|
13066
|
+
$xeTable.setTreeExpand(handleReserveRow(internalData.treeExpandedReserveRowMap), true);
|
|
13064
13067
|
}
|
|
13065
13068
|
};
|
|
13066
13069
|
/**
|
|
@@ -13921,9 +13924,9 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13921
13924
|
handleCheckedAllCheckboxRow(value);
|
|
13922
13925
|
if (evnt) {
|
|
13923
13926
|
dispatchEvent('checkbox-all', {
|
|
13924
|
-
records:
|
|
13925
|
-
reserves:
|
|
13926
|
-
indeterminates:
|
|
13927
|
+
records: $xeTable.getCheckboxRecords(),
|
|
13928
|
+
reserves: $xeTable.getCheckboxReserveRecords(),
|
|
13929
|
+
indeterminates: $xeTable.getCheckboxIndeterminateRecords(),
|
|
13927
13930
|
checked: value
|
|
13928
13931
|
}, evnt);
|
|
13929
13932
|
}
|
|
@@ -25307,7 +25310,7 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
25307
25310
|
isMerge: hasMerge,
|
|
25308
25311
|
useStyle: true,
|
|
25309
25312
|
current: 'current',
|
|
25310
|
-
modes: ['current', 'selected'].concat(proxyOpts.ajax && proxyOpts.ajax.queryAll ? ['all'] : [])
|
|
25313
|
+
modes: ['current', 'selected', 'empty'].concat(proxyOpts.ajax && proxyOpts.ajax.queryAll ? ['all'] : [])
|
|
25311
25314
|
}, options);
|
|
25312
25315
|
const types = defOpts.types || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(exportOpts._typeMaps);
|
|
25313
25316
|
const modes = defOpts.modes || [];
|
|
@@ -25448,7 +25451,7 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
25448
25451
|
isMerge: hasMerge,
|
|
25449
25452
|
useStyle: true,
|
|
25450
25453
|
current: 'current',
|
|
25451
|
-
modes: ['current', 'selected'].concat(proxyOpts.ajax && proxyOpts.ajax.queryAll ? ['all'] : []),
|
|
25454
|
+
modes: ['current', 'selected', 'empty'].concat(proxyOpts.ajax && proxyOpts.ajax.queryAll ? ['all'] : []),
|
|
25452
25455
|
download: true,
|
|
25453
25456
|
type: 'csv'
|
|
25454
25457
|
// filename: '',
|
|
@@ -25704,7 +25707,8 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
25704
25707
|
});
|
|
25705
25708
|
}
|
|
25706
25709
|
}
|
|
25707
|
-
}
|
|
25710
|
+
}
|
|
25711
|
+
if (mode === 'current') {
|
|
25708
25712
|
handleOptions.data = afterFullData;
|
|
25709
25713
|
}
|
|
25710
25714
|
}
|
|
@@ -30975,7 +30979,7 @@ const Grid = VxeGrid;
|
|
|
30975
30979
|
treeNotImp: '树表格不支持导入',
|
|
30976
30980
|
treeCrossDrag: '只能拖拽第一层级',
|
|
30977
30981
|
treeDragChild: '父级不能拖拽到自己的子级中',
|
|
30978
|
-
reqPlugin: '
|
|
30982
|
+
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install'
|
|
30979
30983
|
},
|
|
30980
30984
|
table: {
|
|
30981
30985
|
emptyText: '暂无数据',
|
|
@@ -31095,6 +31099,7 @@ const Grid = VxeGrid;
|
|
|
31095
31099
|
pdf: 'PDF (*.pdf)'
|
|
31096
31100
|
},
|
|
31097
31101
|
modes: {
|
|
31102
|
+
empty: '空数据',
|
|
31098
31103
|
current: '当前数据(当前页的数据)',
|
|
31099
31104
|
selected: '选中数据(当前页选中的数据)',
|
|
31100
31105
|
all: '全量数据(包括所有分页的数据)'
|