vxe-table 4.11.5 → 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 +36 -38
- 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 +51 -49
- 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 +34 -37
- 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 +35 -38
- package/styles/components/table.scss +1 -1
- package/styles/index.scss +1 -1
- package/styles/theme/base.scss +1 -1
- /package/es/{iconfont.1740013709563.ttf → iconfont.1740104016678.ttf} +0 -0
- /package/es/{iconfont.1740013709563.woff → iconfont.1740104016678.woff} +0 -0
- /package/es/{iconfont.1740013709563.woff2 → iconfont.1740104016678.woff2} +0 -0
- /package/lib/{iconfont.1740013709563.ttf → iconfont.1740104016678.ttf} +0 -0
- /package/lib/{iconfont.1740013709563.woff → iconfont.1740104016678.woff} +0 -0
- /package/lib/{iconfont.1740013709563.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
|
/**
|
|
@@ -13429,15 +13432,11 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13429
13432
|
internalData.tableFullData = fullData;
|
|
13430
13433
|
internalData.tableFullTreeData = treeData;
|
|
13431
13434
|
// 缓存数据
|
|
13432
|
-
$xeTable.cacheRowMap(true
|
|
13435
|
+
$xeTable.cacheRowMap(true);
|
|
13433
13436
|
// 原始数据
|
|
13434
13437
|
internalData.tableSynchData = datas;
|
|
13435
13438
|
if (isReset) {
|
|
13436
13439
|
internalData.isResizeCellHeight = false;
|
|
13437
|
-
reactData.rowExpandedMaps = {};
|
|
13438
|
-
reactData.rowExpandLazyLoadedMaps = {};
|
|
13439
|
-
reactData.treeExpandedMaps = {};
|
|
13440
|
-
reactData.treeExpandLazyLoadedMaps = {};
|
|
13441
13440
|
}
|
|
13442
13441
|
// 克隆原数据,用于显示编辑状态,与编辑值做对比
|
|
13443
13442
|
if (keepSource) {
|
|
@@ -13925,9 +13924,9 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13925
13924
|
handleCheckedAllCheckboxRow(value);
|
|
13926
13925
|
if (evnt) {
|
|
13927
13926
|
dispatchEvent('checkbox-all', {
|
|
13928
|
-
records:
|
|
13929
|
-
reserves:
|
|
13930
|
-
indeterminates:
|
|
13927
|
+
records: $xeTable.getCheckboxRecords(),
|
|
13928
|
+
reserves: $xeTable.getCheckboxReserveRecords(),
|
|
13929
|
+
indeterminates: $xeTable.getCheckboxIndeterminateRecords(),
|
|
13931
13930
|
checked: value
|
|
13932
13931
|
}, evnt);
|
|
13933
13932
|
}
|
|
@@ -14944,7 +14943,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
14944
14943
|
treeConfig
|
|
14945
14944
|
} = props;
|
|
14946
14945
|
const {
|
|
14947
|
-
|
|
14946
|
+
fullAllDataRowIdData
|
|
14948
14947
|
} = internalData;
|
|
14949
14948
|
const treeOpts = computeTreeOpts.value;
|
|
14950
14949
|
const {
|
|
@@ -14960,7 +14959,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
14960
14959
|
rowid = getRowid($xeTable, rowOrRowid);
|
|
14961
14960
|
}
|
|
14962
14961
|
if (rowid) {
|
|
14963
|
-
const rest =
|
|
14962
|
+
const rest = fullAllDataRowIdData[rowid];
|
|
14964
14963
|
const row = rest ? rest.row : null;
|
|
14965
14964
|
if (row) {
|
|
14966
14965
|
return row[transform ? mapChildrenField : childrenField] || [];
|
|
@@ -14977,7 +14976,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
14977
14976
|
treeConfig
|
|
14978
14977
|
} = props;
|
|
14979
14978
|
const {
|
|
14980
|
-
|
|
14979
|
+
fullAllDataRowIdData
|
|
14981
14980
|
} = internalData;
|
|
14982
14981
|
if (rowOrRowid && treeConfig) {
|
|
14983
14982
|
let rowid;
|
|
@@ -14987,7 +14986,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
14987
14986
|
rowid = getRowid($xeTable, rowOrRowid);
|
|
14988
14987
|
}
|
|
14989
14988
|
if (rowid) {
|
|
14990
|
-
const rest =
|
|
14989
|
+
const rest = fullAllDataRowIdData[rowid];
|
|
14991
14990
|
return rest ? rest.parent : null;
|
|
14992
14991
|
}
|
|
14993
14992
|
}
|
|
@@ -15003,10 +15002,10 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
15003
15002
|
*/
|
|
15004
15003
|
getRowById(cellValue) {
|
|
15005
15004
|
const {
|
|
15006
|
-
|
|
15005
|
+
fullAllDataRowIdData
|
|
15007
15006
|
} = internalData;
|
|
15008
15007
|
const rowid = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(cellValue) ? '' : encodeURIComponent(cellValue || '');
|
|
15009
|
-
return
|
|
15008
|
+
return fullAllDataRowIdData[rowid] ? fullAllDataRowIdData[rowid].row : null;
|
|
15010
15009
|
},
|
|
15011
15010
|
/**
|
|
15012
15011
|
* 根据行获取行的唯一主键
|
|
@@ -16372,9 +16371,6 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16372
16371
|
return rowRest && !!rowRest.treeLoaded;
|
|
16373
16372
|
},
|
|
16374
16373
|
clearTreeExpandLoaded(rows) {
|
|
16375
|
-
const tExpandedMaps = {
|
|
16376
|
-
...reactData.treeExpandedMaps
|
|
16377
|
-
};
|
|
16378
16374
|
const {
|
|
16379
16375
|
fullAllDataRowIdData
|
|
16380
16376
|
} = internalData;
|
|
@@ -16382,7 +16378,11 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16382
16378
|
const {
|
|
16383
16379
|
transform
|
|
16384
16380
|
} = treeOpts;
|
|
16381
|
+
let tExpandedMaps = {};
|
|
16385
16382
|
if (rows) {
|
|
16383
|
+
tExpandedMaps = {
|
|
16384
|
+
...reactData.treeExpandedMaps
|
|
16385
|
+
};
|
|
16386
16386
|
if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(rows)) {
|
|
16387
16387
|
rows = [rows];
|
|
16388
16388
|
}
|
|
@@ -16396,11 +16396,15 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16396
16396
|
}
|
|
16397
16397
|
}
|
|
16398
16398
|
});
|
|
16399
|
+
} else {
|
|
16400
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(fullAllDataRowIdData, rowRest => {
|
|
16401
|
+
rowRest.treeLoaded = false;
|
|
16402
|
+
});
|
|
16399
16403
|
}
|
|
16400
|
-
reactData.treeExpandedMaps =
|
|
16404
|
+
reactData.treeExpandedMaps = {};
|
|
16401
16405
|
if (transform) {
|
|
16402
16406
|
handleVirtualTreeToList();
|
|
16403
|
-
return
|
|
16407
|
+
return $xeTable.handleTableData();
|
|
16404
16408
|
}
|
|
16405
16409
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
16406
16410
|
},
|
|
@@ -17945,7 +17949,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
17945
17949
|
/**
|
|
17946
17950
|
* 更新数据行的 Map
|
|
17947
17951
|
*/
|
|
17948
|
-
cacheRowMap(
|
|
17952
|
+
cacheRowMap() {
|
|
17949
17953
|
const {
|
|
17950
17954
|
treeConfig
|
|
17951
17955
|
} = props;
|
|
@@ -17972,9 +17976,9 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
17972
17976
|
if (isLazy && row[hasChildField] && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isUndefined(row[childrenField])) {
|
|
17973
17977
|
row[childrenField] = null;
|
|
17974
17978
|
}
|
|
17975
|
-
let
|
|
17976
|
-
if (
|
|
17977
|
-
|
|
17979
|
+
let rowRest = fullAllDataRowIdData[rowid];
|
|
17980
|
+
if (!rowRest) {
|
|
17981
|
+
rowRest = {
|
|
17978
17982
|
row,
|
|
17979
17983
|
rowid,
|
|
17980
17984
|
seq,
|
|
@@ -17991,19 +17995,15 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
17991
17995
|
expandHeight: 0
|
|
17992
17996
|
};
|
|
17993
17997
|
}
|
|
17994
|
-
|
|
17995
|
-
|
|
17996
|
-
|
|
17997
|
-
|
|
17998
|
-
|
|
17999
|
-
|
|
18000
|
-
|
|
18001
|
-
}
|
|
18002
|
-
fullAllDataRowIdMaps[rowid] = cacheItem;
|
|
17998
|
+
rowRest.row = row;
|
|
17999
|
+
rowRest.items = items;
|
|
18000
|
+
rowRest.parent = parentRow;
|
|
18001
|
+
rowRest.level = level;
|
|
18002
|
+
rowRest.index = treeConfig && parentRow ? -1 : index;
|
|
18003
|
+
fullDataRowIdMaps[rowid] = rowRest;
|
|
18004
|
+
fullAllDataRowIdMaps[rowid] = rowRest;
|
|
18003
18005
|
};
|
|
18004
|
-
|
|
18005
|
-
internalData.fullDataRowIdData = fullDataRowIdMaps;
|
|
18006
|
-
}
|
|
18006
|
+
internalData.fullDataRowIdData = fullDataRowIdMaps;
|
|
18007
18007
|
internalData.fullAllDataRowIdData = fullAllDataRowIdMaps;
|
|
18008
18008
|
if (treeConfig) {
|
|
18009
18009
|
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(tableFullTreeData, handleRow, {
|
|
@@ -21581,7 +21581,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
21581
21581
|
if (value && value.length >= 50000) {
|
|
21582
21582
|
warnLog('vxe.error.errLargeData', ['loadData(data), reloadData(data)']);
|
|
21583
21583
|
}
|
|
21584
|
-
loadTableData(value,
|
|
21584
|
+
loadTableData(value, false).then(() => {
|
|
21585
21585
|
const {
|
|
21586
21586
|
scrollXLoad,
|
|
21587
21587
|
scrollYLoad,
|
|
@@ -25310,7 +25310,7 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
25310
25310
|
isMerge: hasMerge,
|
|
25311
25311
|
useStyle: true,
|
|
25312
25312
|
current: 'current',
|
|
25313
|
-
modes: ['current', 'selected'].concat(proxyOpts.ajax && proxyOpts.ajax.queryAll ? ['all'] : [])
|
|
25313
|
+
modes: ['current', 'selected', 'empty'].concat(proxyOpts.ajax && proxyOpts.ajax.queryAll ? ['all'] : [])
|
|
25314
25314
|
}, options);
|
|
25315
25315
|
const types = defOpts.types || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(exportOpts._typeMaps);
|
|
25316
25316
|
const modes = defOpts.modes || [];
|
|
@@ -25451,7 +25451,7 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
25451
25451
|
isMerge: hasMerge,
|
|
25452
25452
|
useStyle: true,
|
|
25453
25453
|
current: 'current',
|
|
25454
|
-
modes: ['current', 'selected'].concat(proxyOpts.ajax && proxyOpts.ajax.queryAll ? ['all'] : []),
|
|
25454
|
+
modes: ['current', 'selected', 'empty'].concat(proxyOpts.ajax && proxyOpts.ajax.queryAll ? ['all'] : []),
|
|
25455
25455
|
download: true,
|
|
25456
25456
|
type: 'csv'
|
|
25457
25457
|
// filename: '',
|
|
@@ -25707,7 +25707,8 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
25707
25707
|
});
|
|
25708
25708
|
}
|
|
25709
25709
|
}
|
|
25710
|
-
}
|
|
25710
|
+
}
|
|
25711
|
+
if (mode === 'current') {
|
|
25711
25712
|
handleOptions.data = afterFullData;
|
|
25712
25713
|
}
|
|
25713
25714
|
}
|
|
@@ -30978,7 +30979,7 @@ const Grid = VxeGrid;
|
|
|
30978
30979
|
treeNotImp: '树表格不支持导入',
|
|
30979
30980
|
treeCrossDrag: '只能拖拽第一层级',
|
|
30980
30981
|
treeDragChild: '父级不能拖拽到自己的子级中',
|
|
30981
|
-
reqPlugin: '
|
|
30982
|
+
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install'
|
|
30982
30983
|
},
|
|
30983
30984
|
table: {
|
|
30984
30985
|
emptyText: '暂无数据',
|
|
@@ -31098,6 +31099,7 @@ const Grid = VxeGrid;
|
|
|
31098
31099
|
pdf: 'PDF (*.pdf)'
|
|
31099
31100
|
},
|
|
31100
31101
|
modes: {
|
|
31102
|
+
empty: '空数据',
|
|
31101
31103
|
current: '当前数据(当前页的数据)',
|
|
31102
31104
|
selected: '选中数据(当前页选中的数据)',
|
|
31103
31105
|
all: '全量数据(包括所有分页的数据)'
|