vxe-table 4.19.21 → 4.19.22
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 +55 -30
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ar-EG.js +4 -0
- package/es/locale/lang/de-DE.js +4 -0
- package/es/locale/lang/en-US.js +4 -0
- package/es/locale/lang/es-ES.js +4 -0
- package/es/locale/lang/fr-FR.js +4 -0
- package/es/locale/lang/hu-HU.js +4 -0
- package/es/locale/lang/hy-AM.js +4 -0
- package/es/locale/lang/id-ID.js +4 -0
- package/es/locale/lang/it-IT.js +4 -0
- package/es/locale/lang/ja-JP.js +4 -0
- package/es/locale/lang/ko-KR.js +4 -0
- package/es/locale/lang/ms-MY.js +4 -0
- package/es/locale/lang/nb-NO.js +4 -0
- package/es/locale/lang/pt-BR.js +4 -0
- package/es/locale/lang/ru-RU.js +4 -0
- package/es/locale/lang/th-TH.js +4 -0
- package/es/locale/lang/ug-CN.js +4 -0
- package/es/locale/lang/uk-UA.js +4 -0
- package/es/locale/lang/uz-UZ.js +4 -0
- package/es/locale/lang/vi-VN.js +4 -0
- package/es/locale/lang/zh-CHT.js +4 -0
- package/es/locale/lang/zh-CN.js +4 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/custom/hook.js +32 -26
- package/es/table/module/custom/panel.js +7 -0
- package/es/table/module/edit/hook.js +0 -1
- package/es/table/src/emits.js +5 -0
- package/es/table/src/table.js +5 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +48 -32
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +4 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +4 -0
- package/lib/locale/lang/de-DE.js +4 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +4 -0
- package/lib/locale/lang/en-US.js +4 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +4 -0
- package/lib/locale/lang/es-ES.js +4 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +4 -0
- package/lib/locale/lang/fr-FR.js +4 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +4 -0
- package/lib/locale/lang/hu-HU.js +4 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +4 -0
- package/lib/locale/lang/hy-AM.js +4 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +4 -0
- package/lib/locale/lang/id-ID.js +4 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +4 -0
- package/lib/locale/lang/it-IT.js +4 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +4 -0
- package/lib/locale/lang/ja-JP.js +4 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +4 -0
- package/lib/locale/lang/ko-KR.js +4 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +4 -0
- package/lib/locale/lang/ms-MY.js +4 -0
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +4 -0
- package/lib/locale/lang/nb-NO.js +4 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +4 -0
- package/lib/locale/lang/pt-BR.js +4 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +4 -0
- package/lib/locale/lang/ru-RU.js +4 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +4 -0
- package/lib/locale/lang/th-TH.js +4 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +4 -0
- package/lib/locale/lang/ug-CN.js +4 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +4 -0
- package/lib/locale/lang/uk-UA.js +4 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +4 -0
- package/lib/locale/lang/uz-UZ.js +4 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +4 -0
- package/lib/locale/lang/vi-VN.js +4 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +4 -0
- package/lib/locale/lang/zh-CHT.js +4 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +4 -0
- package/lib/locale/lang/zh-CN.js +4 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +4 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/custom/hook.js +32 -26
- package/lib/table/module/custom/hook.min.js +1 -1
- package/lib/table/module/custom/panel.js +7 -0
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/module/edit/hook.js +0 -1
- package/lib/table/module/edit/hook.min.js +1 -1
- package/lib/table/src/emits.js +1 -1
- package/lib/table/src/emits.min.js +1 -1
- package/lib/table/src/table.js +2 -2
- package/lib/table/src/table.min.js +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/package.json +2 -2
- package/packages/locale/lang/ar-EG.ts +4 -0
- package/packages/locale/lang/de-DE.ts +4 -0
- package/packages/locale/lang/en-US.ts +4 -0
- package/packages/locale/lang/es-ES.ts +4 -0
- package/packages/locale/lang/fr-FR.ts +4 -0
- package/packages/locale/lang/hu-HU.ts +4 -0
- package/packages/locale/lang/hy-AM.ts +4 -0
- package/packages/locale/lang/id-ID.ts +4 -0
- package/packages/locale/lang/it-IT.ts +4 -0
- package/packages/locale/lang/ja-JP.ts +4 -0
- package/packages/locale/lang/ko-KR.ts +4 -0
- package/packages/locale/lang/ms-MY.ts +4 -0
- package/packages/locale/lang/nb-NO.ts +4 -0
- package/packages/locale/lang/pt-BR.ts +4 -0
- package/packages/locale/lang/ru-RU.ts +4 -0
- package/packages/locale/lang/th-TH.ts +4 -0
- package/packages/locale/lang/ug-CN.ts +4 -0
- package/packages/locale/lang/uk-UA.ts +4 -0
- package/packages/locale/lang/uz-UZ.ts +4 -0
- package/packages/locale/lang/vi-VN.ts +4 -0
- package/packages/locale/lang/zh-CHT.ts +4 -0
- package/packages/locale/lang/zh-CN.ts +4 -0
- package/packages/table/module/custom/hook.ts +31 -25
- package/packages/table/module/custom/panel.ts +7 -0
- package/packages/table/module/edit/hook.ts +0 -1
- package/packages/table/src/emits.ts +5 -0
- package/packages/table/src/table.ts +4 -1
- package/styles/theme/base.scss +2 -1
- /package/es/{iconfont.1782656047498.ttf → iconfont.1782890314097.ttf} +0 -0
- /package/es/{iconfont.1782656047498.woff → iconfont.1782890314097.woff} +0 -0
- /package/es/{iconfont.1782656047498.woff2 → iconfont.1782890314097.woff2} +0 -0
- /package/lib/{iconfont.1782656047498.ttf → iconfont.1782890314097.ttf} +0 -0
- /package/lib/{iconfont.1782656047498.woff → iconfont.1782890314097.woff} +0 -0
- /package/lib/{iconfont.1782656047498.woff2 → iconfont.1782890314097.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -3314,7 +3314,7 @@ function getDefaultConfig(val1, def1) {
|
|
|
3314
3314
|
/* unused harmony import specifier */ var VxeUI;
|
|
3315
3315
|
|
|
3316
3316
|
|
|
3317
|
-
const version = "4.19.
|
|
3317
|
+
const version = "4.19.22";
|
|
3318
3318
|
core_.VxeUI.version = version;
|
|
3319
3319
|
core_.VxeUI.tableVersion = version;
|
|
3320
3320
|
core_.VxeUI.setConfig({
|
|
@@ -4101,7 +4101,7 @@ function wheelScrollTopTo(diffNum, cb) {
|
|
|
4101
4101
|
const {
|
|
4102
4102
|
log: log_log
|
|
4103
4103
|
} = core_.VxeUI;
|
|
4104
|
-
const tableVersion = `table v${"4.19.
|
|
4104
|
+
const tableVersion = `table v${"4.19.22"}`;
|
|
4105
4105
|
function createComponentLog(name) {
|
|
4106
4106
|
const uiVersion = core_.VxeUI.uiVersion ? `ui v${core_.VxeUI.uiVersion}` : '';
|
|
4107
4107
|
const ganttVersion = core_.VxeUI.ganttVersion ? `gantt v${core_.VxeUI.ganttVersion}` : '';
|
|
@@ -7760,7 +7760,7 @@ const tableEmits = ['ready', 'init-rendered', 'data-rendered', 'update:data', 'k
|
|
|
7760
7760
|
// 废弃
|
|
7761
7761
|
'column-resizable-change', 'row-resizable-change', 'toggle-row-group-expand', 'toggle-row-expand', 'toggle-tree-expand', 'menu-click', 'edit-closed', 'row-dragstart', 'row-dragover', 'row-dragend', 'row-remove-dragend', 'row-insert-dragend', 'column-dragstart', 'column-dragover', 'column-dragend', 'enter-append-row', 'tab-append-row', 'edit-actived',
|
|
7762
7762
|
// 废弃
|
|
7763
|
-
'edit-activated', 'edit-disabled', 'valid-error', 'scroll', 'scroll-boundary', 'custom', 'custom-visible-change', 'custom-visible-all', 'custom-fixed-change', 'custom-sort-change', 'change-fnr',
|
|
7763
|
+
'edit-activated', 'edit-disabled', 'valid-error', 'scroll', 'scroll-boundary', 'custom', 'custom-open', 'custom-close', 'custom-cancel', 'custom-reset', 'custom-confirm', 'custom-visible-change', 'custom-visible-all', 'custom-fixed-change', 'custom-sort-change', 'change-fnr',
|
|
7764
7764
|
// 废弃
|
|
7765
7765
|
'open-fnr', 'show-fnr', 'hide-fnr', 'fnr-change', 'fnr-find', 'fnr-find-all', 'fnr-replace', 'fnr-replace-all', 'cell-area-copy', 'cell-area-cut', 'cell-area-paste', 'cell-area-merge', 'clear-cell-area-selection', 'clear-cell-area-merge', 'header-cell-area-selection', 'cell-area-selection-invalid', 'cell-area-selection-start', 'cell-area-selection-drag', 'cell-area-selection-end', 'cell-area-extension-start', 'cell-area-extension-drag', 'cell-area-extension-end', 'cell-area-extension-fill', 'cell-area-selection-all-start', 'cell-area-selection-all-end', 'cell-area-arrows-start', 'cell-area-arrows-end', 'cell-area-fill-copy', 'active-cell-change-start', 'active-cell-change-end'];
|
|
7766
7766
|
;// ./packages/grid/src/emits.ts
|
|
@@ -9981,13 +9981,16 @@ function panel_createInternalData() {
|
|
|
9981
9981
|
$xeTable.saveCustom();
|
|
9982
9982
|
$xeTable.closeCustom();
|
|
9983
9983
|
$xeTable.emitCustomEvent('confirm', $event);
|
|
9984
|
+
$xeTable.dispatchEvent('custom-confirm', {}, $event);
|
|
9984
9985
|
$xeTable.emitCustomEvent('close', $event);
|
|
9986
|
+
$xeTable.dispatchEvent('custom-close', {}, $event);
|
|
9985
9987
|
};
|
|
9986
9988
|
const cancelCloseEvent = ({
|
|
9987
9989
|
$event
|
|
9988
9990
|
}) => {
|
|
9989
9991
|
$xeTable.closeCustom();
|
|
9990
9992
|
$xeTable.emitCustomEvent('close', $event);
|
|
9993
|
+
$xeTable.dispatchEvent('custom-close', {}, $event);
|
|
9991
9994
|
};
|
|
9992
9995
|
const cancelCustomEvent = ({
|
|
9993
9996
|
$event
|
|
@@ -9995,13 +9998,17 @@ function panel_createInternalData() {
|
|
|
9995
9998
|
$xeTable.cancelCustom();
|
|
9996
9999
|
$xeTable.closeCustom();
|
|
9997
10000
|
$xeTable.emitCustomEvent('cancel', $event);
|
|
10001
|
+
$xeTable.dispatchEvent('custom-cancel', {}, $event);
|
|
9998
10002
|
$xeTable.emitCustomEvent('close', $event);
|
|
10003
|
+
$xeTable.dispatchEvent('custom-close', {}, $event);
|
|
9999
10004
|
};
|
|
10000
10005
|
const handleResetCustomEvent = evnt => {
|
|
10001
10006
|
$xeTable.resetCustom(true);
|
|
10002
10007
|
$xeTable.closeCustom();
|
|
10003
10008
|
$xeTable.emitCustomEvent('reset', evnt);
|
|
10009
|
+
$xeTable.dispatchEvent('custom-reset', {}, evnt);
|
|
10004
10010
|
$xeTable.emitCustomEvent('close', evnt);
|
|
10011
|
+
$xeTable.dispatchEvent('custom-close', {}, evnt);
|
|
10005
10012
|
};
|
|
10006
10013
|
const resetCustomEvent = ({
|
|
10007
10014
|
$event
|
|
@@ -14227,7 +14234,6 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
14227
14234
|
return handleInsertRowAt(records, targetRowOrRowid, true);
|
|
14228
14235
|
},
|
|
14229
14236
|
insertChild(records, parentRowOrParentId) {
|
|
14230
|
-
window.aa = internalData;
|
|
14231
14237
|
return handleInsertChildRowAt(records, parentRowOrParentId, null);
|
|
14232
14238
|
},
|
|
14233
14239
|
insertChildAt(records, parentRowOrParentId, targetRow) {
|
|
@@ -18441,7 +18447,7 @@ core_.VxeUI.hooks.add('tableCustomModule', {
|
|
|
18441
18447
|
}
|
|
18442
18448
|
return openCustom();
|
|
18443
18449
|
};
|
|
18444
|
-
const saveCustom =
|
|
18450
|
+
const saveCustom = isDirectly => {
|
|
18445
18451
|
const {
|
|
18446
18452
|
customColumnList,
|
|
18447
18453
|
aggHandleFields,
|
|
@@ -18456,34 +18462,36 @@ core_.VxeUI.hooks.add('tableCustomModule', {
|
|
|
18456
18462
|
allowGroup,
|
|
18457
18463
|
allowValues
|
|
18458
18464
|
} = customOpts;
|
|
18459
|
-
|
|
18460
|
-
|
|
18461
|
-
|
|
18462
|
-
|
|
18463
|
-
|
|
18464
|
-
|
|
18465
|
-
|
|
18466
|
-
|
|
18467
|
-
|
|
18468
|
-
|
|
18469
|
-
|
|
18465
|
+
if (!isDirectly) {
|
|
18466
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(customColumnList, (column, index, items, path, parentColumn) => {
|
|
18467
|
+
if (parentColumn) {
|
|
18468
|
+
// 更新子列信息
|
|
18469
|
+
column.fixed = parentColumn.fixed;
|
|
18470
|
+
} else {
|
|
18471
|
+
if (allowSort) {
|
|
18472
|
+
const sortIndex = index + 1;
|
|
18473
|
+
column.renderSortNumber = sortIndex;
|
|
18474
|
+
}
|
|
18475
|
+
if (allowFixed) {
|
|
18476
|
+
column.fixed = column.renderFixed;
|
|
18477
|
+
}
|
|
18470
18478
|
}
|
|
18471
|
-
|
|
18472
|
-
|
|
18473
|
-
|
|
18474
|
-
|
|
18475
|
-
|
|
18476
|
-
|
|
18479
|
+
if (allowResizable) {
|
|
18480
|
+
if (column.renderVisible && (!column.children || !column.children.length)) {
|
|
18481
|
+
if (column.renderResizeWidth !== column.renderWidth) {
|
|
18482
|
+
column.resizeWidth = column.renderResizeWidth;
|
|
18483
|
+
column.renderWidth = column.renderResizeWidth;
|
|
18484
|
+
}
|
|
18477
18485
|
}
|
|
18478
18486
|
}
|
|
18479
|
-
|
|
18480
|
-
|
|
18481
|
-
|
|
18482
|
-
|
|
18483
|
-
|
|
18484
|
-
|
|
18485
|
-
}
|
|
18486
|
-
}
|
|
18487
|
+
if (allowVisible) {
|
|
18488
|
+
column.visible = column.renderVisible;
|
|
18489
|
+
}
|
|
18490
|
+
if (allowGroup && allowValues) {
|
|
18491
|
+
column.aggFunc = column.renderAggFn;
|
|
18492
|
+
}
|
|
18493
|
+
});
|
|
18494
|
+
}
|
|
18487
18495
|
reactData.isCustomStatus = true;
|
|
18488
18496
|
if (allowGroup && !!$xeTable.handlePivotTableAggData) {
|
|
18489
18497
|
if (rowGroupList.length !== aggHandleFields.length || rowGroupList.some((conf, i) => conf.field !== aggHandleFields[i])) {
|
|
@@ -18726,10 +18734,12 @@ core_.VxeUI.hooks.add('tableCustomModule', {
|
|
|
18726
18734
|
if (customStore.visible) {
|
|
18727
18735
|
closeCustom();
|
|
18728
18736
|
emitCustomEvent('close', evnt);
|
|
18737
|
+
$xeTable.dispatchEvent('custom-close', {}, evnt);
|
|
18729
18738
|
} else {
|
|
18730
18739
|
customStore.btnEl = evnt.target;
|
|
18731
18740
|
openCustom();
|
|
18732
18741
|
emitCustomEvent('open', evnt);
|
|
18742
|
+
$xeTable.dispatchEvent('custom-open', {}, evnt);
|
|
18733
18743
|
}
|
|
18734
18744
|
},
|
|
18735
18745
|
customOpenEvent(evnt) {
|
|
@@ -18742,6 +18752,7 @@ core_.VxeUI.hooks.add('tableCustomModule', {
|
|
|
18742
18752
|
customStore.btnEl = evnt.target;
|
|
18743
18753
|
$xeTable.openCustom();
|
|
18744
18754
|
$xeTable.emitCustomEvent('open', evnt);
|
|
18755
|
+
$xeTable.dispatchEvent('custom-open', {}, evnt);
|
|
18745
18756
|
}
|
|
18746
18757
|
},
|
|
18747
18758
|
customCloseEvent(evnt) {
|
|
@@ -18753,6 +18764,7 @@ core_.VxeUI.hooks.add('tableCustomModule', {
|
|
|
18753
18764
|
customStore.activeBtn = false;
|
|
18754
18765
|
$xeTable.closeCustom();
|
|
18755
18766
|
$xeTable.emitCustomEvent('close', evnt);
|
|
18767
|
+
$xeTable.dispatchEvent('custom-close', {}, evnt);
|
|
18756
18768
|
}
|
|
18757
18769
|
},
|
|
18758
18770
|
handleUpdateCustomColumn,
|
|
@@ -21414,8 +21426,8 @@ if(editMode!=='insert'){isClearValue=true;}$xeTable.handleEdit(params,evnt,{isCl
|
|
|
21414
21426
|
if(showAll){// 如果为 null 默认显示
|
|
21415
21427
|
if(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(customContent)){isShow=true;content=cellText;}else if(customContent!==''&&customContent!==false){// 如果为 '' | false 则不显示
|
|
21416
21428
|
isShow=true;content=''+customContent;}}else{// 如果为 null 使用默认逻辑
|
|
21417
|
-
if(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(customContent)){isShow=isOver;}else if(customContent!==''&&customContent!==false){// 如果为 '' | false 则不显示
|
|
21418
|
-
isShow=true;}content=cellText;}if(isShow&&content){const tipContent=formatText(content);Object.assign(tooltipStore,{row,column,visible:true,content:tipContent,type,currOpts:tipOpts});(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(()=>{const $tooltip=refTooltip.value;if($tooltip&&$tooltip.open){$tooltip.open(isOver?tipOverEl:tipElem,tipContent);}});}return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();};const truncateStackHistory=()=>{const{stackHistoryStore}=internalData;const{undoStacks}=stackHistoryStore;const undoRedoHistoryOpts=computeUndoRedoHistoryOpts.value;const{stackSize}=undoRedoHistoryOpts;if(undoStacks.length>external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(stackSize)){undoStacks.shift();}};/**
|
|
21429
|
+
if(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(customContent)){isShow=isOver;content=cellText;}else if(customContent!==''&&customContent!==false){// 如果为 '' | false 则不显示
|
|
21430
|
+
isShow=true;content=customContent;}else{content=cellText;}}if(isShow&&content){const tipContent=formatText(content);Object.assign(tooltipStore,{row,column,visible:true,content:tipContent,type,currOpts:tipOpts});(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(()=>{const $tooltip=refTooltip.value;if($tooltip&&$tooltip.open){$tooltip.open(isOver?tipOverEl:tipElem,tipContent);}});}return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();};const truncateStackHistory=()=>{const{stackHistoryStore}=internalData;const{undoStacks}=stackHistoryStore;const undoRedoHistoryOpts=computeUndoRedoHistoryOpts.value;const{stackSize}=undoRedoHistoryOpts;if(undoStacks.length>external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(stackSize)){undoStacks.shift();}};/**
|
|
21419
21431
|
* 生成快照数据
|
|
21420
21432
|
*/const getSnapshotStackData=()=>{const{editStore}=reactData;const{afterFullData,elemStore,insertRowMaps,removeRowMaps}=internalData;const{selected,actived}=editStore;const{row:selectRow,column:selectColumn}=selected;const{row:editRow,column:editColumn}=actived;const bodyScrollElem=getRefElem(elemStore['main-body-scroll']);const stackObj={selectActiveInfo:selectRow&&selectColumn?{rowid:getRowid($xeTable,selectRow),colid:selectColumn.id}:undefined,editActiveInfo:editRow&&editColumn?{rowid:getRowid($xeTable,editRow),colid:editColumn.id}:undefined,scrollInfo:{top:bodyScrollElem?bodyScrollElem.scrollTop:0,left:bodyScrollElem?bodyScrollElem.scrollLeft:0},insertData:external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().values(insertRowMaps),true),removeData:external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().values(removeRowMaps),true),visibleData:external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(afterFullData,true),visibleTreeData:[],visibleColumn:[]};return $xeTable.getCellAreaPushStackObj?$xeTable.getCellAreaPushStackObj(stackObj):stackObj;};/**
|
|
21421
21433
|
* 刷新栈视图
|
|
@@ -24834,6 +24846,10 @@ const Toolbar = VxeToolbar;
|
|
|
24834
24846
|
fixedRight: '冻结在右侧',
|
|
24835
24847
|
cancelFixed: '取消冻结列'
|
|
24836
24848
|
},
|
|
24849
|
+
iconPicker: {
|
|
24850
|
+
search: '搜索',
|
|
24851
|
+
emptyText: '暂无数据'
|
|
24852
|
+
},
|
|
24837
24853
|
datePicker: {
|
|
24838
24854
|
yearTitle: '{0} 年'
|
|
24839
24855
|
},
|