vxe-table 4.23.18 → 4.23.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all.esm.js +20 -25
- package/dist/all.esm.min.js +3 -3
- package/es/table/module/edit/hook.js +2 -4
- package/es/table/module/export/export-panel.js +5 -5
- package/es/table/module/export/hook.js +8 -10
- package/es/table/module/export/import-panel.js +5 -5
- package/es/table/src/table.js +0 -1
- package/es/ui/index.d.ts +1 -0
- package/es/ui/index.js +1 -0
- package/lib/index.umd.js +20 -25
- package/lib/index.umd.min.js +3 -3
- package/lib/table/module/edit/hook.js +2 -4
- package/lib/table/module/export/export-panel.js +5 -5
- package/lib/table/module/export/hook.js +8 -10
- package/lib/table/module/export/import-panel.js +5 -5
- package/lib/table/src/table.js +0 -1
- package/lib/ui/index.d.ts +1 -0
- package/lib/ui/index.js +1 -0
- package/package.json +2 -2
- package/packages/table/module/edit/hook.ts +2 -5
- package/packages/table/module/export/export-panel.ts +5 -5
- package/packages/table/module/export/hook.ts +8 -10
- package/packages/table/module/export/import-panel.ts +5 -5
- package/packages/table/src/table.ts +0 -1
- package/packages/ui/index.ts +4 -0
- /package/dist/{iconfont.1794366305845.ttf → iconfont.1794474448348.ttf} +0 -0
- /package/dist/{iconfont.1794366305845.woff → iconfont.1794474448348.woff} +0 -0
- /package/dist/{iconfont.1794366305845.woff2 → iconfont.1794474448348.woff2} +0 -0
- /package/es/{iconfont.1794366305845.ttf → iconfont.1794474448348.ttf} +0 -0
- /package/es/{iconfont.1794366305845.woff → iconfont.1794474448348.woff} +0 -0
- /package/es/{iconfont.1794366305845.woff2 → iconfont.1794474448348.woff2} +0 -0
- /package/lib/{iconfont.1794366305845.ttf → iconfont.1794474448348.ttf} +0 -0
- /package/lib/{iconfont.1794366305845.woff → iconfont.1794474448348.woff} +0 -0
- /package/lib/{iconfont.1794366305845.woff2 → iconfont.1794474448348.woff2} +0 -0
package/dist/all.esm.js
CHANGED
|
@@ -8685,17 +8685,17 @@ var import_panel_default = (
|
|
|
8685
8685
|
{
|
|
8686
8686
|
id: "VXE_IMPORT_MODAL",
|
|
8687
8687
|
modelValue: storeData.visible,
|
|
8688
|
-
title: modelOptions.title
|
|
8689
|
-
className: "vxe-table-
|
|
8688
|
+
title: getDefaultConfig(modelOptions.title, getI18n6("vxe.import.impTitle")),
|
|
8689
|
+
className: "vxe-table-import-popup-wrapper" + (modelOptions.className ? ` ${modelOptions.className}` : ""),
|
|
8690
8690
|
width: modelOptions.width || 540,
|
|
8691
8691
|
height: modelOptions.height,
|
|
8692
8692
|
minWidth: modelOptions.minWidth || 360,
|
|
8693
8693
|
minHeight: modelOptions.minHeight || 240,
|
|
8694
8694
|
mask: getDefaultConfig(modelOptions.mask, true),
|
|
8695
8695
|
lockView: getDefaultConfig(modelOptions.lockView, true),
|
|
8696
|
-
showFooter: true,
|
|
8697
|
-
escClosable: true,
|
|
8698
|
-
maskClosable: true,
|
|
8696
|
+
showFooter: getDefaultConfig(modelOptions.showFooter, true),
|
|
8697
|
+
escClosable: getDefaultConfig(modelOptions.escClosable, true),
|
|
8698
|
+
maskClosable: getDefaultConfig(modelOptions.maskClosable, true),
|
|
8699
8699
|
position: modelOptions.position,
|
|
8700
8700
|
fullscreen: modelOptions.fullscreen,
|
|
8701
8701
|
remember: modelOptions.remember,
|
|
@@ -9081,17 +9081,17 @@ var export_panel_default = (
|
|
|
9081
9081
|
{
|
|
9082
9082
|
id: "VXE_EXPORT_MODAL",
|
|
9083
9083
|
modelValue: storeData.visible,
|
|
9084
|
-
title: modelOptions.title
|
|
9085
|
-
className: "vxe-table-export-popup-wrapper",
|
|
9084
|
+
title: getDefaultConfig(modelOptions.title, getI18n7(isPrint ? "vxe.export.printTitle" : "vxe.export.expTitle")),
|
|
9085
|
+
className: "vxe-table-export-popup-wrapper" + (modelOptions.className ? ` ${modelOptions.className}` : ""),
|
|
9086
9086
|
width: modelOptions.width || 660,
|
|
9087
9087
|
height: modelOptions.height,
|
|
9088
9088
|
minWidth: modelOptions.minWidth || 500,
|
|
9089
9089
|
minHeight: modelOptions.minHeight || 400,
|
|
9090
9090
|
mask: getDefaultConfig(modelOptions.mask, true),
|
|
9091
9091
|
lockView: getDefaultConfig(modelOptions.lockView, true),
|
|
9092
|
-
showFooter: true,
|
|
9093
|
-
escClosable: true,
|
|
9094
|
-
maskClosable: true,
|
|
9092
|
+
showFooter: getDefaultConfig(modelOptions.showFooter, true),
|
|
9093
|
+
escClosable: getDefaultConfig(modelOptions.escClosable, true),
|
|
9094
|
+
maskClosable: getDefaultConfig(modelOptions.maskClosable, true),
|
|
9095
9095
|
position: modelOptions.position,
|
|
9096
9096
|
fullscreen: modelOptions.fullscreen,
|
|
9097
9097
|
remember: modelOptions.remember,
|
|
@@ -10530,8 +10530,6 @@ hooks3.add("tableEditModule", {
|
|
|
10530
10530
|
const { refElem } = $xeTable.getRefMaps();
|
|
10531
10531
|
const { computeMouseOpts, computeEditOpts, computeCheckboxOpts, computeTreeOpts, computeValidOpts, computeRendererOpts } = $xeTable.getComputeMaps();
|
|
10532
10532
|
const browseObj = XEUtils18.browse();
|
|
10533
|
-
let editMethods = {};
|
|
10534
|
-
let editPrivateMethods = {};
|
|
10535
10533
|
const getEditColumnModel = (row, column) => {
|
|
10536
10534
|
const { model, editRender } = column;
|
|
10537
10535
|
if (editRender) {
|
|
@@ -11029,7 +11027,7 @@ hooks3.add("tableEditModule", {
|
|
|
11029
11027
|
}
|
|
11030
11028
|
return nextTick9();
|
|
11031
11029
|
};
|
|
11032
|
-
editMethods = {
|
|
11030
|
+
const editMethods = {
|
|
11033
11031
|
/**
|
|
11034
11032
|
* 往表格中插入临时数据
|
|
11035
11033
|
*
|
|
@@ -11477,7 +11475,7 @@ hooks3.add("tableEditModule", {
|
|
|
11477
11475
|
}
|
|
11478
11476
|
return null;
|
|
11479
11477
|
};
|
|
11480
|
-
editPrivateMethods = {
|
|
11478
|
+
const editPrivateMethods = {
|
|
11481
11479
|
/**
|
|
11482
11480
|
* 处理激活编辑
|
|
11483
11481
|
*/
|
|
@@ -12699,9 +12697,11 @@ hooks4.add("tableExportModule", {
|
|
|
12699
12697
|
}
|
|
12700
12698
|
});
|
|
12701
12699
|
});
|
|
12702
|
-
} else
|
|
12703
|
-
if (
|
|
12704
|
-
VxeUI21.modal
|
|
12700
|
+
} else {
|
|
12701
|
+
if (opts.message !== false) {
|
|
12702
|
+
if (VxeUI21.modal) {
|
|
12703
|
+
VxeUI21.modal.message({ content: getI18n10("vxe.error.impFields"), status: "error" });
|
|
12704
|
+
}
|
|
12705
12705
|
}
|
|
12706
12706
|
if (_importReject) {
|
|
12707
12707
|
_importReject({ status: false, msg: "field mismatching" });
|
|
@@ -12918,13 +12918,9 @@ hooks4.add("tableExportModule", {
|
|
|
12918
12918
|
exportStore.isPrint = !!isPrint;
|
|
12919
12919
|
exportStore.hasColgroup = isGroup;
|
|
12920
12920
|
exportStore.visible = true;
|
|
12921
|
-
Object.assign(
|
|
12922
|
-
|
|
12923
|
-
|
|
12924
|
-
mode: selectRecords.length ? "selected" : "current"
|
|
12925
|
-
},
|
|
12926
|
-
defOpts
|
|
12927
|
-
);
|
|
12921
|
+
Object.assign(exportParams, {
|
|
12922
|
+
mode: selectRecords.length ? "selected" : "current"
|
|
12923
|
+
}, defOpts);
|
|
12928
12924
|
const { filename, sheetName, mode, type } = exportParams;
|
|
12929
12925
|
if (filename) {
|
|
12930
12926
|
if (XEUtils19.isFunction(filename)) {
|
|
@@ -25990,7 +25986,6 @@ var table_default = (
|
|
|
25990
25986
|
if (rowExpandedMaps[rowid]) {
|
|
25991
25987
|
rowExpandedMaps[rowid] = row;
|
|
25992
25988
|
}
|
|
25993
|
-
rowNum++;
|
|
25994
25989
|
idMaps[rowid] = true;
|
|
25995
25990
|
fullDataRowIdMaps[rowid] = rowRest;
|
|
25996
25991
|
fullAllDataRowIdMaps[rowid] = rowRest;
|