vxe-table 4.7.65 → 4.7.67

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.
Files changed (108) hide show
  1. package/es/grid/src/grid.js +21 -11
  2. package/es/locale/lang/en-US.js +4 -1
  3. package/es/locale/lang/es-ES.js +4 -1
  4. package/es/locale/lang/hu-HU.js +4 -1
  5. package/es/locale/lang/ja-JP.js +4 -1
  6. package/es/locale/lang/ko-KR.js +4 -1
  7. package/es/locale/lang/pt-BR.js +4 -1
  8. package/es/locale/lang/ru-RU.js +4 -1
  9. package/es/locale/lang/vi-VN.js +4 -1
  10. package/es/locale/lang/zh-CN.js +4 -1
  11. package/es/locale/lang/zh-TC.js +4 -1
  12. package/es/style.css +1 -1
  13. package/es/style.min.css +1 -1
  14. package/es/table/module/custom/panel.js +12 -11
  15. package/es/table/module/edit/hook.js +11 -10
  16. package/es/table/module/export/hook.js +10 -6
  17. package/es/table/render/index.js +95 -84
  18. package/es/table/src/table.js +51 -29
  19. package/es/table/style.css +8 -4
  20. package/es/table/style.min.css +1 -1
  21. package/es/toolbar/src/toolbar.js +7 -7
  22. package/es/ui/index.js +2 -2
  23. package/es/ui/src/log.js +1 -1
  24. package/es/vxe-table/style.css +8 -4
  25. package/es/vxe-table/style.min.css +1 -1
  26. package/lib/grid/src/grid.js +25 -14
  27. package/lib/grid/src/grid.min.js +1 -1
  28. package/lib/index.umd.js +236 -165
  29. package/lib/index.umd.min.js +1 -1
  30. package/lib/locale/lang/en-US.js +4 -1
  31. package/lib/locale/lang/en-US.min.js +1 -1
  32. package/lib/locale/lang/en-US.umd.js +4 -1
  33. package/lib/locale/lang/es-ES.js +4 -1
  34. package/lib/locale/lang/es-ES.min.js +1 -1
  35. package/lib/locale/lang/es-ES.umd.js +4 -1
  36. package/lib/locale/lang/hu-HU.js +4 -1
  37. package/lib/locale/lang/hu-HU.min.js +1 -1
  38. package/lib/locale/lang/ja-JP.js +4 -1
  39. package/lib/locale/lang/ja-JP.min.js +1 -1
  40. package/lib/locale/lang/ja-JP.umd.js +4 -1
  41. package/lib/locale/lang/ko-KR.js +4 -1
  42. package/lib/locale/lang/ko-KR.min.js +1 -1
  43. package/lib/locale/lang/pt-BR.js +4 -1
  44. package/lib/locale/lang/pt-BR.min.js +1 -1
  45. package/lib/locale/lang/pt-BR.umd.js +4 -1
  46. package/lib/locale/lang/ru-RU.js +4 -1
  47. package/lib/locale/lang/ru-RU.min.js +1 -1
  48. package/lib/locale/lang/vi-VN.js +4 -1
  49. package/lib/locale/lang/vi-VN.min.js +1 -1
  50. package/lib/locale/lang/zh-CN.js +4 -1
  51. package/lib/locale/lang/zh-CN.min.js +1 -1
  52. package/lib/locale/lang/zh-CN.umd.js +4 -1
  53. package/lib/locale/lang/zh-HK.min.js +1 -1
  54. package/lib/locale/lang/zh-HK.umd.js +4 -1
  55. package/lib/locale/lang/zh-MO.min.js +1 -1
  56. package/lib/locale/lang/zh-MO.umd.js +4 -1
  57. package/lib/locale/lang/zh-TC.js +4 -1
  58. package/lib/locale/lang/zh-TC.min.js +1 -1
  59. package/lib/locale/lang/zh-TC.umd.js +4 -1
  60. package/lib/locale/lang/zh-TW.min.js +1 -1
  61. package/lib/locale/lang/zh-TW.umd.js +4 -1
  62. package/lib/style.css +1 -1
  63. package/lib/style.min.css +1 -1
  64. package/lib/table/module/custom/panel.js +18 -11
  65. package/lib/table/module/custom/panel.min.js +1 -1
  66. package/lib/table/module/edit/hook.js +11 -13
  67. package/lib/table/module/edit/hook.min.js +1 -1
  68. package/lib/table/module/export/hook.js +12 -6
  69. package/lib/table/module/export/hook.min.js +1 -1
  70. package/lib/table/render/index.js +98 -84
  71. package/lib/table/render/index.min.js +1 -1
  72. package/lib/table/src/table.js +48 -26
  73. package/lib/table/src/table.min.js +1 -1
  74. package/lib/table/style/style.css +8 -4
  75. package/lib/table/style/style.min.css +1 -1
  76. package/lib/toolbar/src/toolbar.js +17 -7
  77. package/lib/toolbar/src/toolbar.min.js +1 -1
  78. package/lib/ui/index.js +2 -2
  79. package/lib/ui/index.min.js +1 -1
  80. package/lib/ui/src/log.js +1 -1
  81. package/lib/ui/src/log.min.js +1 -1
  82. package/lib/vxe-table/style/style.css +8 -4
  83. package/lib/vxe-table/style/style.min.css +1 -1
  84. package/package.json +2 -2
  85. package/packages/grid/src/grid.ts +22 -11
  86. package/packages/locale/lang/en-US.ts +4 -1
  87. package/packages/locale/lang/es-ES.ts +4 -1
  88. package/packages/locale/lang/hu-HU.ts +4 -1
  89. package/packages/locale/lang/ja-JP.ts +4 -1
  90. package/packages/locale/lang/ko-KR.ts +4 -1
  91. package/packages/locale/lang/pt-BR.ts +4 -1
  92. package/packages/locale/lang/ru-RU.ts +4 -1
  93. package/packages/locale/lang/vi-VN.ts +4 -1
  94. package/packages/locale/lang/zh-CN.ts +4 -1
  95. package/packages/locale/lang/zh-TC.ts +4 -1
  96. package/packages/table/module/custom/panel.ts +13 -12
  97. package/packages/table/module/edit/hook.ts +11 -10
  98. package/packages/table/module/export/hook.ts +10 -6
  99. package/packages/table/render/index.ts +95 -84
  100. package/packages/table/src/table.ts +52 -27
  101. package/packages/toolbar/src/toolbar.ts +8 -8
  102. package/styles/components/table.scss +6 -3
  103. /package/es/{iconfont.1723521776225.ttf → iconfont.1724210671876.ttf} +0 -0
  104. /package/es/{iconfont.1723521776225.woff → iconfont.1724210671876.woff} +0 -0
  105. /package/es/{iconfont.1723521776225.woff2 → iconfont.1724210671876.woff2} +0 -0
  106. /package/lib/{iconfont.1723521776225.ttf → iconfont.1724210671876.ttf} +0 -0
  107. /package/lib/{iconfont.1723521776225.woff → iconfont.1724210671876.woff} +0 -0
  108. /package/lib/{iconfont.1723521776225.woff2 → iconfont.1724210671876.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.65";
1954
+ const version = "4.7.67";
1955
1955
  core_.VxeUI.version = version;
1956
- core_.VxeUI.tableVersion = "4.7.65";
1956
+ core_.VxeUI.tableVersion = "4.7.67";
1957
1957
  core_.VxeUI.setConfig({
1958
1958
  emptyCell: ' ',
1959
1959
  table: {
@@ -2334,7 +2334,7 @@ var es_array_push = __webpack_require__(4114);
2334
2334
  const {
2335
2335
  log: log_log
2336
2336
  } = core_.VxeUI;
2337
- const log_version = `table v${"4.7.65"}`;
2337
+ const log_version = `table v${"4.7.67"}`;
2338
2338
  const warnLog = log_log.create('warn', log_version);
2339
2339
  const errLog = log_log.create('error', log_version);
2340
2340
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -6603,7 +6603,9 @@ const {
6603
6603
  }
6604
6604
  }, 300);
6605
6605
  };
6606
- const confirmCustomEvent = evnt => {
6606
+ const confirmCustomEvent = ({
6607
+ $event
6608
+ }) => {
6607
6609
  const {
6608
6610
  customColumnList
6609
6611
  } = reactData;
@@ -6637,10 +6639,12 @@ const {
6637
6639
  }
6638
6640
  });
6639
6641
  $xeTable.closeCustom();
6640
- $xeTable.emitCustomEvent('confirm', evnt);
6642
+ $xeTable.emitCustomEvent('confirm', $event);
6641
6643
  $xeTable.saveCustomStore('confirm');
6642
6644
  };
6643
- const cancelCustomEvent = evnt => {
6645
+ const cancelCustomEvent = ({
6646
+ $event
6647
+ }) => {
6644
6648
  const {
6645
6649
  customStore
6646
6650
  } = props;
@@ -6681,14 +6685,16 @@ const {
6681
6685
  children: 'children'
6682
6686
  });
6683
6687
  $xeTable.closeCustom();
6684
- $xeTable.emitCustomEvent('cancel', evnt);
6688
+ $xeTable.emitCustomEvent('cancel', $event);
6685
6689
  };
6686
6690
  const handleResetCustomEvent = evnt => {
6687
6691
  $xeTable.resetColumn(true);
6688
6692
  $xeTable.closeCustom();
6689
6693
  $xeTable.emitCustomEvent('reset', evnt);
6690
6694
  };
6691
- const resetCustomEvent = evnt => {
6695
+ const resetCustomEvent = ({
6696
+ $event
6697
+ }) => {
6692
6698
  if (core_.VxeUI.modal) {
6693
6699
  core_.VxeUI.modal.confirm({
6694
6700
  content: panel_getI18n('vxe.custom.cstmConfirmRestore'),
@@ -6696,11 +6702,11 @@ const {
6696
6702
  escClosable: true
6697
6703
  }).then(type => {
6698
6704
  if (type === 'confirm') {
6699
- handleResetCustomEvent(evnt);
6705
+ handleResetCustomEvent($event);
6700
6706
  }
6701
6707
  });
6702
6708
  } else {
6703
- handleResetCustomEvent(evnt);
6709
+ handleResetCustomEvent($event);
6704
6710
  }
6705
6711
  };
6706
6712
  const handleOptionCheck = column => {
@@ -6751,7 +6757,7 @@ const {
6751
6757
  // // $xeTable.setColumnFixed(column, column.fixed)
6752
6758
  // }
6753
6759
  // }
6754
- const allCustomEvent = () => {
6760
+ const allOptionEvent = () => {
6755
6761
  const {
6756
6762
  customStore
6757
6763
  } = props;
@@ -6993,7 +6999,7 @@ const {
6993
6999
  'is--indeterminate': isAllIndeterminate
6994
7000
  }],
6995
7001
  title: panel_getI18n('vxe.table.allTitle'),
6996
- onClick: allCustomEvent
7002
+ onClick: allOptionEvent
6997
7003
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
6998
7004
  class: ['vxe-checkbox--icon', isAllIndeterminate ? panel_getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllChecked ? panel_getIcon().TABLE_CHECKBOX_CHECKED : panel_getIcon().TABLE_CHECKBOX_UNCHECKED]
6999
7005
  }), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
@@ -7176,7 +7182,7 @@ const {
7176
7182
  'is--indeterminate': isAllIndeterminate
7177
7183
  }],
7178
7184
  title: panel_getI18n('vxe.table.allTitle'),
7179
- onClick: allCustomEvent
7185
+ onClick: allOptionEvent
7180
7186
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
7181
7187
  class: ['vxe-checkbox--icon', isAllIndeterminate ? panel_getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllChecked ? panel_getIcon().TABLE_CHECKBOX_CHECKED : panel_getIcon().TABLE_CHECKBOX_UNCHECKED]
7182
7188
  }), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
@@ -7185,7 +7191,8 @@ const {
7185
7191
  class: 'vxe-table-custom-popup--table-sort-help-title'
7186
7192
  }, panel_getI18n('vxe.custom.setting.colSort')), VxeUITooltipComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUITooltipComponent, {
7187
7193
  enterable: true,
7188
- content: panel_getI18n('vxe.custom.setting.sortHelpTip')
7194
+ content: panel_getI18n('vxe.custom.setting.sortHelpTip'),
7195
+ popupClassName: 'vxe-table--ignore-clear'
7189
7196
  }, {
7190
7197
  default: () => {
7191
7198
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
@@ -8232,6 +8239,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
8232
8239
  // 使用已安装的组件,如果未安装则不渲染
8233
8240
  const VxeUILoadingComponent = core_.VxeUI.getComponent('VxeLoading');
8234
8241
  const VxeUITooltipComponent = core_.VxeUI.getComponent('VxeTooltip');
8242
+ const $xeTabs = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeTabs', null);
8235
8243
  const {
8236
8244
  computeSize
8237
8245
  } = useFns.useSize(props);
@@ -11938,6 +11946,11 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
11938
11946
  const fullColumnFieldData = internalData.fullColumnFieldData;
11939
11947
  return field && fullColumnFieldData[field] ? fullColumnFieldData[field].column : null;
11940
11948
  },
11949
+ getParentColumn(fieldOrColumn) {
11950
+ const fullColumnIdData = internalData.fullColumnIdData;
11951
+ const column = handleFieldOrColumn($xeTable, fieldOrColumn);
11952
+ return column && column.parentId && fullColumnIdData[column.parentId] ? fullColumnIdData[column.parentId].column : null;
11953
+ },
11941
11954
  /**
11942
11955
  * 获取当前表格的列
11943
11956
  * 收集到的全量列、全量表头列、处理条件之后的全量表头列、当前渲染中的表头列
@@ -12256,10 +12269,14 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
12256
12269
  * 计算单元格列宽,动态分配可用剩余空间
12257
12270
  * 支持 width=? width=?px width=?% min-width=? min-width=?px min-width=?%
12258
12271
  */
12259
- recalculate(refull) {
12272
+ recalculate(reFull) {
12273
+ const el = refElem.value;
12274
+ if (!el || !el.clientWidth) {
12275
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
12276
+ }
12260
12277
  calcCellWidth();
12261
12278
  autoCellWidth();
12262
- if (refull === true) {
12279
+ if (reFull === true) {
12263
12280
  // 初始化时需要在列计算之后再执行优化运算,达到最优显示效果
12264
12281
  return computeScrollLoad().then(() => {
12265
12282
  autoCellWidth();
@@ -13914,6 +13931,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
13914
13931
  const operArrow = isLeftArrow || isUpArrow || isRightArrow || isDwArrow;
13915
13932
  const operCtxMenu = isMenu && ctxMenuStore.visible && (isEnter || isSpacebar || operArrow);
13916
13933
  const isEditStatus = isEnableConf(editConfig) && actived.column && actived.row;
13934
+ const beforeEditMethod = editOpts.beforeEditMethod || editOpts.activeMethod;
13917
13935
  let params;
13918
13936
  if (operCtxMenu) {
13919
13937
  // 如果配置了右键菜单; 支持方向键操作、回车
@@ -14040,19 +14058,21 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
14040
14058
  columnIndex: tableMethods.getColumnIndex(selected.column),
14041
14059
  $table: $xeTable
14042
14060
  };
14043
- if (delMethod) {
14044
- delMethod(delPaqrams);
14045
- } else {
14046
- setCellValue(selected.row, selected.column, null);
14061
+ // 是否被禁用
14062
+ if (!beforeEditMethod || beforeEditMethod(params)) {
14063
+ if (delMethod) {
14064
+ delMethod(delPaqrams);
14065
+ } else {
14066
+ setCellValue(selected.row, selected.column, null);
14067
+ }
14068
+ // 如果按下 del 键,更新表尾数据
14069
+ tableMethods.updateFooter();
14070
+ $xeTable.dispatchEvent('cell-delete-value', delPaqrams, evnt);
14047
14071
  }
14048
- // 如果按下 del 键,更新表尾数据
14049
- tableMethods.updateFooter();
14050
- $xeTable.dispatchEvent('cell-delete-value', delPaqrams, evnt);
14051
14072
  }
14052
14073
  } else if (hasBackspaceKey && keyboardConfig && keyboardOpts.isBack && isEnableConf(editConfig) && (selected.row || selected.column)) {
14053
14074
  if (!isEditStatus) {
14054
14075
  const {
14055
- delMethod,
14056
14076
  backMethod
14057
14077
  } = keyboardOpts;
14058
14078
  // 如果是删除键
@@ -14064,23 +14084,22 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
14064
14084
  columnIndex: tableMethods.getColumnIndex(selected.column),
14065
14085
  $table: $xeTable
14066
14086
  };
14067
- if (delMethod) {
14068
- delMethod(delPaqrams);
14069
- } else {
14070
- setCellValue(selected.row, selected.column, null);
14071
- }
14072
- if (backMethod) {
14073
- backMethod({
14074
- row: selected.row,
14075
- rowIndex: tableMethods.getRowIndex(selected.row),
14076
- column: selected.column,
14077
- columnIndex: tableMethods.getColumnIndex(selected.column),
14078
- $table: $xeTable
14079
- });
14080
- } else {
14081
- $xeTable.handleActived(selected.args, evnt);
14087
+ // 是否被禁用
14088
+ if (!beforeEditMethod || beforeEditMethod(params)) {
14089
+ if (backMethod) {
14090
+ backMethod({
14091
+ row: selected.row,
14092
+ rowIndex: tableMethods.getRowIndex(selected.row),
14093
+ column: selected.column,
14094
+ columnIndex: tableMethods.getColumnIndex(selected.column),
14095
+ $table: $xeTable
14096
+ });
14097
+ } else {
14098
+ setCellValue(selected.row, selected.column, null);
14099
+ $xeTable.handleActived(selected.args, evnt);
14100
+ }
14101
+ $xeTable.dispatchEvent('cell-backspace-value', delPaqrams, evnt);
14082
14102
  }
14083
- $xeTable.dispatchEvent('cell-backspace-value', delPaqrams, evnt);
14084
14103
  }
14085
14104
  }
14086
14105
  } else if (hasBackspaceKey && keyboardConfig && treeConfig && keyboardOpts.isBack && (rowOpts.isCurrent || highlightCurrentRow) && currentRow) {
@@ -14231,6 +14250,10 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
14231
14250
  if ($xeTable.closeMenu) {
14232
14251
  $xeTable.closeMenu();
14233
14252
  }
14253
+ const el = refElem.value;
14254
+ if (!el || !el.clientWidth) {
14255
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
14256
+ }
14234
14257
  tableMethods.updateCellAreas();
14235
14258
  tableMethods.recalculate(true);
14236
14259
  };
@@ -15943,6 +15966,11 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
15943
15966
  }
15944
15967
  });
15945
15968
  });
15969
+ if ($xeTabs) {
15970
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => $xeTabs ? $xeTabs.reactData.resizeFlag : null, () => {
15971
+ handleGlobalResizeEvent();
15972
+ });
15973
+ }
15946
15974
  table_hooks.forEach(options => {
15947
15975
  const {
15948
15976
  setupTable
@@ -16274,6 +16302,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16274
16302
  'is--virtual-x': scrollXLoad,
16275
16303
  'is--virtual-y': scrollYLoad
16276
16304
  }],
16305
+ spellcheck: false,
16277
16306
  onKeydown: keydownEvent
16278
16307
  }, [
16279
16308
  /**
@@ -18223,28 +18252,26 @@ edit_hook_hooks.add('tableEditModule', {
18223
18252
  } = column;
18224
18253
  if (isEnableConf(editRender)) {
18225
18254
  const compRender = edit_hook_renderer.get(editRender.name);
18226
- let {
18227
- autofocus,
18228
- autoselect
18229
- } = editRender;
18255
+ let autoFocus = editRender.autofocus || editRender.autoFocus;
18256
+ let autoSelect = editRender.autoSelect || editRender.autoselect;
18230
18257
  let inputElem;
18231
- if (!autofocus && compRender) {
18232
- autofocus = compRender.tableAutoFocus || compRender.tableAutofocus || compRender.autofocus;
18258
+ if (!autoFocus && compRender) {
18259
+ autoFocus = compRender.tableAutoFocus || compRender.tableAutofocus || compRender.autofocus;
18233
18260
  }
18234
- if (!autoselect && compRender) {
18235
- autoselect = compRender.tableAutoSelect || compRender.autoselect;
18261
+ if (!autoSelect && compRender) {
18262
+ autoSelect = compRender.tableAutoSelect || compRender.autoselect;
18236
18263
  }
18237
18264
  // 如果指定了聚焦 class
18238
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(autofocus)) {
18239
- inputElem = autofocus(params);
18240
- } else if (autofocus) {
18241
- inputElem = cell.querySelector(autofocus);
18265
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(autoFocus)) {
18266
+ inputElem = autoFocus(params);
18267
+ } else if (autoFocus) {
18268
+ inputElem = cell.querySelector(autoFocus);
18242
18269
  if (inputElem) {
18243
18270
  inputElem.focus();
18244
18271
  }
18245
18272
  }
18246
18273
  if (inputElem) {
18247
- if (autoselect) {
18274
+ if (autoSelect) {
18248
18275
  inputElem.select();
18249
18276
  } else {
18250
18277
  // 保持一致行为,光标移到末端
@@ -18647,7 +18674,7 @@ export_hook_hooks.add('tableExportModule', {
18647
18674
  const childrenField = treeOpts.children || treeOpts.childrenField;
18648
18675
  return row[childrenField] && row[childrenField].length;
18649
18676
  };
18650
- const getSeq = (row, $rowIndex, column, $columnIndex) => {
18677
+ const getSeq = (cellValue, row, $rowIndex, column, $columnIndex) => {
18651
18678
  const seqOpts = computeSeqOpts.value;
18652
18679
  const seqMethod = seqOpts.seqMethod || column.seqMethod;
18653
18680
  if (seqMethod) {
@@ -18660,7 +18687,7 @@ export_hook_hooks.add('tableExportModule', {
18660
18687
  $columnIndex
18661
18688
  });
18662
18689
  }
18663
- return $xeTable.getRowSeq(row);
18690
+ return cellValue;
18664
18691
  };
18665
18692
  function getHeaderTitle(opts, column) {
18666
18693
  const columnOpts = computeColumnOpts.value;
@@ -18728,8 +18755,11 @@ export_hook_hooks.add('tableExportModule', {
18728
18755
  } else {
18729
18756
  switch (column.type) {
18730
18757
  case 'seq':
18731
- cellValue = mode === 'all' ? path.map((num, i) => i % 2 === 0 ? Number(num) + 1 : '.').join('') : getSeq(row, $rowIndex, column, $columnIndex);
18732
- break;
18758
+ {
18759
+ const seqVal = path.map((num, i) => i % 2 === 0 ? Number(num) + 1 : '.').join('');
18760
+ cellValue = mode === 'all' ? seqVal : getSeq(seqVal, row, $rowIndex, column, $columnIndex);
18761
+ break;
18762
+ }
18733
18763
  case 'checkbox':
18734
18764
  cellValue = toBooleanValue($xeTable.isCheckedByCheckboxRow(row));
18735
18765
  item._checkboxLabel = checkboxOpts.labelField ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, checkboxOpts.labelField) : '';
@@ -18795,8 +18825,11 @@ export_hook_hooks.add('tableExportModule', {
18795
18825
  } else {
18796
18826
  switch (column.type) {
18797
18827
  case 'seq':
18798
- cellValue = mode === 'all' ? $rowIndex + 1 : getSeq(row, $rowIndex, column, $columnIndex);
18799
- break;
18828
+ {
18829
+ const seqValue = $rowIndex + 1;
18830
+ cellValue = mode === 'all' ? seqValue : getSeq(seqValue, row, $rowIndex, column, $columnIndex);
18831
+ break;
18832
+ }
18800
18833
  case 'checkbox':
18801
18834
  cellValue = toBooleanValue($xeTable.isCheckedByCheckboxRow(row));
18802
18835
  item._checkboxLabel = checkboxOpts.labelField ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, checkboxOpts.labelField) : '';
@@ -21654,7 +21687,7 @@ function handleFilterMethod({
21654
21687
  const {
21655
21688
  data
21656
21689
  } = option;
21657
- const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21690
+ const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21658
21691
  /* eslint-disable eqeqeq */
21659
21692
  return cellValue == data;
21660
21693
  }
@@ -21666,7 +21699,7 @@ function handleInputFilterMethod({
21666
21699
  const {
21667
21700
  data
21668
21701
  } = option;
21669
- const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21702
+ const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21670
21703
  /* eslint-disable eqeqeq */
21671
21704
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(cellValue).indexOf(data) > -1;
21672
21705
  }
@@ -21753,7 +21786,7 @@ function getSelectCellValue(renderOpts, {
21753
21786
  optionProps = {},
21754
21787
  optionGroupProps = {}
21755
21788
  } = renderOpts;
21756
- const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21789
+ const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21757
21790
  let selectItem;
21758
21791
  const labelProp = optionProps.label || 'label';
21759
21792
  const valueProp = optionProps.value || 'value';
@@ -21792,7 +21825,7 @@ function getTreeSelectCellValue(renderOpts, {
21792
21825
  options,
21793
21826
  optionProps = {}
21794
21827
  } = renderOpts;
21795
- const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21828
+ const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21796
21829
  const labelProp = optionProps.label || 'label';
21797
21830
  const valueProp = optionProps.value || 'value';
21798
21831
  const childrenProp = optionProps.children || 'children';
@@ -21823,23 +21856,23 @@ function handleExportTreeSelectMethod(params) {
21823
21856
  */
21824
21857
  render_renderer.mixin({
21825
21858
  input: {
21826
- autofocus: 'input',
21827
- renderEdit: nativeEditRender,
21828
- renderDefault: nativeEditRender,
21829
- renderFilter: nativeFilterRender,
21830
- defaultFilterMethod: handleInputFilterMethod
21859
+ tableAutoFocus: 'input',
21860
+ renderTableEdit: nativeEditRender,
21861
+ renderTableDefault: nativeEditRender,
21862
+ renderTableFilter: nativeFilterRender,
21863
+ tableFilterDefaultMethod: handleInputFilterMethod
21831
21864
  },
21832
21865
  textarea: {
21833
- autofocus: 'textarea',
21834
- renderEdit: nativeEditRender
21866
+ tableAutoFocus: 'textarea',
21867
+ renderTableEdit: nativeEditRender
21835
21868
  },
21836
21869
  select: {
21837
- renderEdit: nativeSelectEditRender,
21838
- renderDefault: nativeSelectEditRender,
21839
- renderCell(renderOpts, params) {
21870
+ renderTableEdit: nativeSelectEditRender,
21871
+ renderTableDefault: nativeSelectEditRender,
21872
+ renderTableCell(renderOpts, params) {
21840
21873
  return getCellLabelVNs(renderOpts, params, getSelectCellValue(renderOpts, params));
21841
21874
  },
21842
- renderFilter(renderOpts, params) {
21875
+ renderTableFilter(renderOpts, params) {
21843
21876
  const {
21844
21877
  column
21845
21878
  } = params;
@@ -21852,13 +21885,13 @@ render_renderer.mixin({
21852
21885
  }, renderOpts.optionGroups ? renderNativeOptgroups(renderOpts, params, renderNativeOptions) : renderNativeOptions(renderOpts.options, renderOpts, params));
21853
21886
  });
21854
21887
  },
21855
- defaultFilterMethod: handleFilterMethod,
21856
- exportMethod: handleExportSelectMethod
21888
+ tableFilterDefaultMethod: handleFilterMethod,
21889
+ tableExportMethod: handleExportSelectMethod
21857
21890
  },
21858
21891
  VxeInput: {
21859
- autofocus: 'input',
21860
- renderEdit: defaultEditRender,
21861
- renderCell(renderOpts, params) {
21892
+ tableAutoFocus: 'input',
21893
+ renderTableEdit: defaultEditRender,
21894
+ renderTableCell(renderOpts, params) {
21862
21895
  const {
21863
21896
  props = {}
21864
21897
  } = renderOpts;
@@ -21867,7 +21900,7 @@ render_renderer.mixin({
21867
21900
  column
21868
21901
  } = params;
21869
21902
  const digits = props.digits || render_getConfig().input?.digits || 2;
21870
- let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21903
+ let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21871
21904
  if (cellValue) {
21872
21905
  switch (props.type) {
21873
21906
  case 'date':
@@ -21884,14 +21917,14 @@ render_renderer.mixin({
21884
21917
  }
21885
21918
  return getCellLabelVNs(renderOpts, params, cellValue);
21886
21919
  },
21887
- renderDefault: defaultEditRender,
21888
- renderFilter: defaultFilterRender,
21889
- defaultFilterMethod: handleInputFilterMethod
21920
+ renderTableDefault: defaultEditRender,
21921
+ renderTableFilter: defaultFilterRender,
21922
+ tableFilterDefaultMethod: handleInputFilterMethod
21890
21923
  },
21891
21924
  VxeNumberInput: {
21892
- autofocus: 'input',
21893
- renderEdit: defaultEditRender,
21894
- renderCell(renderOpts, params) {
21925
+ tableAutoFocus: 'input',
21926
+ renderTableEdit: defaultEditRender,
21927
+ renderTableCell(renderOpts, params) {
21895
21928
  const {
21896
21929
  props = {}
21897
21930
  } = renderOpts;
@@ -21900,7 +21933,7 @@ render_renderer.mixin({
21900
21933
  column
21901
21934
  } = params;
21902
21935
  const digits = props.digits || render_getConfig().numberInput?.digits || 2;
21903
- let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21936
+ let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21904
21937
  if (cellValue) {
21905
21938
  switch (props.type) {
21906
21939
  case 'float':
@@ -21910,14 +21943,14 @@ render_renderer.mixin({
21910
21943
  }
21911
21944
  return getCellLabelVNs(renderOpts, params, cellValue);
21912
21945
  },
21913
- renderDefault: defaultEditRender,
21914
- renderFilter: defaultFilterRender,
21915
- defaultFilterMethod: handleInputFilterMethod
21946
+ renderTableDefault: defaultEditRender,
21947
+ renderTableFilter: defaultFilterRender,
21948
+ tableFilterDefaultMethod: handleInputFilterMethod
21916
21949
  },
21917
21950
  VxeDatePicker: {
21918
- autofocus: 'input',
21919
- renderEdit: defaultEditRender,
21920
- renderCell(renderOpts, params) {
21951
+ tableAutoFocus: 'input',
21952
+ renderTableEdit: defaultEditRender,
21953
+ renderTableCell(renderOpts, params) {
21921
21954
  const {
21922
21955
  props = {}
21923
21956
  } = renderOpts;
@@ -21925,7 +21958,7 @@ render_renderer.mixin({
21925
21958
  row,
21926
21959
  column
21927
21960
  } = params;
21928
- let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21961
+ let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21929
21962
  if (cellValue) {
21930
21963
  switch (props.type) {
21931
21964
  case 'date':
@@ -21939,18 +21972,18 @@ render_renderer.mixin({
21939
21972
  }
21940
21973
  return getCellLabelVNs(renderOpts, params, cellValue);
21941
21974
  },
21942
- renderDefault: defaultEditRender,
21943
- renderFilter: defaultFilterRender,
21944
- defaultFilterMethod: handleFilterMethod
21975
+ renderTableDefault: defaultEditRender,
21976
+ renderTableFilter: defaultFilterRender,
21977
+ tableFilterDefaultMethod: handleFilterMethod
21945
21978
  },
21946
21979
  VxeTextarea: {
21947
- autofocus: 'VxeTextarea'
21980
+ tableAutoFocus: 'VxeTextarea'
21948
21981
  },
21949
21982
  VxeButton: {
21950
- renderDefault: buttonCellRender
21983
+ renderTableDefault: buttonCellRender
21951
21984
  },
21952
21985
  VxeButtonGroup: {
21953
- renderDefault(renderOpts, params) {
21986
+ renderTableDefault(renderOpts, params) {
21954
21987
  const {
21955
21988
  options
21956
21989
  } = renderOpts;
@@ -21962,13 +21995,13 @@ render_renderer.mixin({
21962
21995
  }
21963
21996
  },
21964
21997
  VxeSelect: {
21965
- autofocus: 'input',
21966
- renderEdit: defaultSelectEditRender,
21967
- renderDefault: defaultSelectEditRender,
21968
- renderCell(renderOpts, params) {
21998
+ tableAutoFocus: 'input',
21999
+ renderTableEdit: defaultSelectEditRender,
22000
+ renderTableDefault: defaultSelectEditRender,
22001
+ renderTableCell(renderOpts, params) {
21969
22002
  return getCellLabelVNs(renderOpts, params, getSelectCellValue(renderOpts, params));
21970
22003
  },
21971
- renderFilter(renderOpts, params) {
22004
+ renderTableFilter(renderOpts, params) {
21972
22005
  const {
21973
22006
  column
21974
22007
  } = params;
@@ -21992,35 +22025,49 @@ render_renderer.mixin({
21992
22025
  });
21993
22026
  });
21994
22027
  },
21995
- defaultFilterMethod: handleFilterMethod,
21996
- exportMethod: handleExportSelectMethod
22028
+ tableFilterDefaultMethod: handleFilterMethod,
22029
+ tableExportMethod: handleExportSelectMethod
21997
22030
  },
21998
22031
  VxeTreeSelect: {
21999
- autofocus: 'input',
22000
- renderEdit: defaultTreeSelectEditRender,
22001
- renderCell(renderOpts, params) {
22032
+ tableAutoFocus: 'input',
22033
+ renderTableEdit: defaultTreeSelectEditRender,
22034
+ renderTableCell(renderOpts, params) {
22002
22035
  return getCellLabelVNs(renderOpts, params, getTreeSelectCellValue(renderOpts, params));
22003
22036
  },
22004
- exportMethod: handleExportTreeSelectMethod
22037
+ tableExportMethod: handleExportTreeSelectMethod
22038
+ },
22039
+ VxeIconPicker: {
22040
+ tableAutoFocus: 'input',
22041
+ renderTableEdit: defaultEditRender,
22042
+ renderTableCell(renderOpts, params) {
22043
+ const {
22044
+ row,
22045
+ column
22046
+ } = params;
22047
+ const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
22048
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
22049
+ class: cellValue
22050
+ });
22051
+ }
22005
22052
  },
22006
22053
  VxeRadioGroup: {
22007
- renderDefault: radioAndCheckboxEditRender
22054
+ renderTableDefault: radioAndCheckboxEditRender
22008
22055
  },
22009
22056
  VxeCheckboxGroup: {
22010
- renderDefault: radioAndCheckboxEditRender
22057
+ renderTableDefault: radioAndCheckboxEditRender
22011
22058
  },
22012
22059
  VxeSwitch: {
22013
- autofocus: 'button',
22014
- renderEdit: defaultEditRender,
22015
- renderDefault: defaultEditRender
22060
+ tableAutoFocus: 'button',
22061
+ renderTableEdit: defaultEditRender,
22062
+ renderTableDefault: defaultEditRender
22016
22063
  },
22017
22064
  VxeUpload: {
22018
- renderEdit: defaultEditRender,
22019
- renderCell: defaultEditRender,
22020
- renderDefault: defaultEditRender
22065
+ renderTableEdit: defaultEditRender,
22066
+ renderTableCell: defaultEditRender,
22067
+ renderTableDefault: defaultEditRender
22021
22068
  },
22022
22069
  VxeImage: {
22023
- renderDefault(renderOpts, params) {
22070
+ renderTableDefault(renderOpts, params) {
22024
22071
  const {
22025
22072
  row,
22026
22073
  column
@@ -22037,7 +22084,7 @@ render_renderer.mixin({
22037
22084
  }
22038
22085
  },
22039
22086
  VxeImageGroup: {
22040
- renderDefault(renderOpts, params) {
22087
+ renderTableDefault(renderOpts, params) {
22041
22088
  const {
22042
22089
  row,
22043
22090
  column
@@ -22055,9 +22102,9 @@ render_renderer.mixin({
22055
22102
  },
22056
22103
  // 以下已废弃
22057
22104
  $input: {
22058
- autofocus: '.vxe-input--inner',
22059
- renderEdit: oldEditRender,
22060
- renderCell(renderOpts, params) {
22105
+ tableAutoFocus: '.vxe-input--inner',
22106
+ renderTableEdit: oldEditRender,
22107
+ renderTableCell(renderOpts, params) {
22061
22108
  const {
22062
22109
  props = {}
22063
22110
  } = renderOpts;
@@ -22066,7 +22113,7 @@ render_renderer.mixin({
22066
22113
  column
22067
22114
  } = params;
22068
22115
  const digits = props.digits || render_getConfig().input?.digits || 2;
22069
- let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
22116
+ let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
22070
22117
  if (cellValue) {
22071
22118
  switch (props.type) {
22072
22119
  case 'date':
@@ -22082,27 +22129,27 @@ render_renderer.mixin({
22082
22129
  }
22083
22130
  return getCellLabelVNs(renderOpts, params, cellValue);
22084
22131
  },
22085
- renderDefault: oldEditRender,
22086
- renderFilter: oldFilterRender,
22087
- defaultFilterMethod: handleInputFilterMethod
22132
+ renderTableDefault: oldEditRender,
22133
+ renderTableFilter: oldFilterRender,
22134
+ tableFilterDefaultMethod: handleInputFilterMethod
22088
22135
  },
22089
22136
  $textarea: {
22090
- autofocus: '.vxe-textarea--inner'
22137
+ tableAutoFocus: '.vxe-textarea--inner'
22091
22138
  },
22092
22139
  $button: {
22093
- renderDefault: oldButtonEditRender
22140
+ renderTableDefault: oldButtonEditRender
22094
22141
  },
22095
22142
  $buttons: {
22096
- renderDefault: oldButtonsEditRender
22143
+ renderTableDefault: oldButtonsEditRender
22097
22144
  },
22098
22145
  $select: {
22099
- autofocus: '.vxe-input--inner',
22100
- renderEdit: oldSelectEditRender,
22101
- renderDefault: oldSelectEditRender,
22102
- renderCell(renderOpts, params) {
22146
+ tableAutoFocus: '.vxe-input--inner',
22147
+ renderTableEdit: oldSelectEditRender,
22148
+ renderTableDefault: oldSelectEditRender,
22149
+ renderTableCell(renderOpts, params) {
22103
22150
  return getCellLabelVNs(renderOpts, params, getSelectCellValue(renderOpts, params));
22104
22151
  },
22105
- renderFilter(renderOpts, params) {
22152
+ renderTableFilter(renderOpts, params) {
22106
22153
  const {
22107
22154
  column
22108
22155
  } = params;
@@ -22126,19 +22173,19 @@ render_renderer.mixin({
22126
22173
  });
22127
22174
  });
22128
22175
  },
22129
- defaultFilterMethod: handleFilterMethod,
22130
- exportMethod: handleExportSelectMethod
22176
+ tableFilterDefaultMethod: handleFilterMethod,
22177
+ tableExportMethod: handleExportSelectMethod
22131
22178
  },
22132
22179
  $radio: {
22133
- autofocus: '.vxe-radio--input'
22180
+ tableAutoFocus: '.vxe-radio--input'
22134
22181
  },
22135
22182
  $checkbox: {
22136
- autofocus: '.vxe-checkbox--input'
22183
+ tableAutoFocus: '.vxe-checkbox--input'
22137
22184
  },
22138
22185
  $switch: {
22139
- autofocus: '.vxe-switch--button',
22140
- renderEdit: oldEditRender,
22141
- renderDefault: oldEditRender
22186
+ tableAutoFocus: '.vxe-switch--button',
22187
+ renderTableEdit: oldEditRender,
22188
+ renderTableDefault: oldEditRender
22142
22189
  }
22143
22190
  // 以上已废弃
22144
22191
  });
@@ -22320,7 +22367,9 @@ const {
22320
22367
  }, 350);
22321
22368
  }
22322
22369
  };
22323
- const refreshEvent = evnt => {
22370
+ const refreshEvent = ({
22371
+ $event
22372
+ }) => {
22324
22373
  const {
22325
22374
  isRefresh
22326
22375
  } = reactData;
@@ -22340,15 +22389,17 @@ const {
22340
22389
  reactData.isRefresh = true;
22341
22390
  $xeGrid.triggerToolbarCommitEvent({
22342
22391
  code: refreshOpts.code || 'reload'
22343
- }, evnt).catch(e => e).then(() => {
22392
+ }, $event).catch(e => e).then(() => {
22344
22393
  reactData.isRefresh = false;
22345
22394
  });
22346
22395
  }
22347
22396
  }
22348
22397
  };
22349
- const zoomEvent = evnt => {
22398
+ const zoomEvent = ({
22399
+ $event
22400
+ }) => {
22350
22401
  if ($xeGrid) {
22351
- $xeGrid.triggerZoomEvent(evnt);
22402
+ $xeGrid.triggerZoomEvent($event);
22352
22403
  }
22353
22404
  };
22354
22405
  const btnEvent = (evnt, item) => {
@@ -22458,7 +22509,9 @@ const {
22458
22509
  round: child.round,
22459
22510
  status: child.status,
22460
22511
  content: child.name,
22461
- onClick: evnt => isBtn ? btnEvent(evnt, child) : tolEvent(evnt, child)
22512
+ onClick: ({
22513
+ $event
22514
+ }) => isBtn ? btnEvent($event, child) : tolEvent($event, child)
22462
22515
  }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
22463
22516
  });
22464
22517
  }
@@ -22514,7 +22567,9 @@ const {
22514
22567
  destroyOnClose: item.destroyOnClose,
22515
22568
  placement: item.placement,
22516
22569
  transfer: item.transfer,
22517
- onClick: evnt => btnEvent(evnt, item)
22570
+ onClick: ({
22571
+ $event
22572
+ }) => btnEvent($event, item)
22518
22573
  }, dropdowns && dropdowns.length ? {
22519
22574
  dropdowns: () => renderDropdowns(item, true)
22520
22575
  } : {}));
@@ -22577,7 +22632,9 @@ const {
22577
22632
  destroyOnClose: item.destroyOnClose,
22578
22633
  placement: item.placement,
22579
22634
  transfer: item.transfer,
22580
- onClick: evnt => tolEvent(evnt, item)
22635
+ onClick: ({
22636
+ $event
22637
+ }) => tolEvent($event, item)
22581
22638
  }, dropdowns && dropdowns.length ? {
22582
22639
  dropdowns: () => renderDropdowns(item, false)
22583
22640
  } : {}));
@@ -22969,6 +23026,17 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
22969
23026
  });
22970
23027
  }
22971
23028
  };
23029
+ const getFormData = () => {
23030
+ const {
23031
+ proxyConfig
23032
+ } = props;
23033
+ const {
23034
+ formData
23035
+ } = reactData;
23036
+ const proxyOpts = computeProxyOpts.value;
23037
+ const formOpts = computeFormOpts.value;
23038
+ return proxyConfig && isEnableConf(proxyOpts) && proxyOpts.form ? formData : formOpts.data;
23039
+ };
22972
23040
  const initPages = () => {
22973
23041
  const {
22974
23042
  tablePage
@@ -23496,7 +23564,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23496
23564
  const formOpts = computeFormOpts.value;
23497
23565
  if (proxyConfig && isEnableConf(proxyOpts)) {
23498
23566
  if (formConfig && isEnableConf(formOpts) && proxyOpts.form && formOpts.items) {
23499
- const formData = {};
23567
+ const fData = {};
23500
23568
  formOpts.items.forEach(item => {
23501
23569
  const {
23502
23570
  field,
@@ -23516,10 +23584,10 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23516
23584
  itemValue = defaultValue;
23517
23585
  }
23518
23586
  }
23519
- formData[field] = itemValue;
23587
+ fData[field] = itemValue;
23520
23588
  }
23521
23589
  });
23522
- reactData.formData = formData;
23590
+ reactData.formData = fData;
23523
23591
  }
23524
23592
  if (!proxyInited) {
23525
23593
  reactData.proxyInited = true;
@@ -23552,8 +23620,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23552
23620
  validConfig
23553
23621
  } = props;
23554
23622
  const {
23555
- tablePage,
23556
- formData
23623
+ tablePage
23557
23624
  } = reactData;
23558
23625
  const isActiveMsg = computeIsActiveMsg.value;
23559
23626
  const isRespMsg = computeIsRespMsg.value;
@@ -23571,6 +23638,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23571
23638
  } = proxyOpts;
23572
23639
  const resConfigs = proxyOpts.response || proxyOpts.props || {};
23573
23640
  const $xeTable = refTable.value;
23641
+ const formData = getFormData();
23574
23642
  let button = null;
23575
23643
  let code = null;
23576
23644
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(proxyTarget)) {
@@ -23980,6 +24048,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23980
24048
  revert() {
23981
24049
  return handleZoom();
23982
24050
  },
24051
+ getFormData,
23983
24052
  getFormItems(itemIndex) {
23984
24053
  const formOpts = computeFormOpts.value;
23985
24054
  const {
@@ -24005,7 +24074,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
24005
24074
  return {
24006
24075
  data: reactData.tableData,
24007
24076
  filter: reactData.filterData,
24008
- form: reactData.formData,
24077
+ form: getFormData(),
24009
24078
  sort: sortData.length ? sortData[0] : {},
24010
24079
  sorts: sortData,
24011
24080
  pager: reactData.tablePage,
@@ -24173,15 +24242,14 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
24173
24242
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
24174
24243
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
24175
24244
  const {
24176
- data,
24177
- columns,
24178
- proxyConfig
24245
+ columns
24179
24246
  } = props;
24180
- const proxyOpts = computeProxyOpts.value;
24181
- const formOpts = computeFormOpts.value;
24182
- if (isEnableConf(proxyConfig) && (data || proxyOpts.form && formOpts.data)) {
24183
- errLog('vxe.error.errConflicts', ['grid.data', 'grid.proxy-config']);
24184
- }
24247
+ // const { data, columns, proxyConfig } = props
24248
+ // const proxyOpts = computeProxyOpts.value
24249
+ // const formOpts = computeFormOpts.value
24250
+ // if (isEnableConf(proxyConfig) && (data || (proxyOpts.form && formOpts.data))) {
24251
+ // errLog('vxe.error.errConflicts', ['grid.data', 'grid.proxy-config'])
24252
+ // }
24185
24253
  // if (process.env.VUE_APP_VXE_ENV === 'development') {
24186
24254
  // if (proxyOpts.props) {
24187
24255
  // warnLog('vxe.error.delProp', ['proxy-config.props', 'proxy-config.response'])
@@ -24558,7 +24626,9 @@ const Grid = VxeGrid;
24558
24626
  reUpload: '重新上传',
24559
24627
  uploadProgress: '上传中 {0}%',
24560
24628
  uploadErr: '上传失败',
24561
- uploadSuccess: '上传成功'
24629
+ uploadSuccess: '上传成功',
24630
+ moreBtnText: '更多({0})',
24631
+ viewItemTitle: '点击查看'
24562
24632
  },
24563
24633
  formDesign: {
24564
24634
  formName: '表单名称',
@@ -24589,6 +24659,7 @@ const Grid = VxeGrid;
24589
24659
  group: {
24590
24660
  base: '基础控件',
24591
24661
  layout: '布局控件',
24662
+ system: '系统控件',
24592
24663
  advanced: '高级控件'
24593
24664
  },
24594
24665
  copyTitle: '副本_{0}',