vxe-table 4.7.64 → 4.7.66

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 (109) hide show
  1. package/es/grid/src/grid.js +21 -11
  2. package/es/locale/lang/en-US.js +17 -8
  3. package/es/locale/lang/es-ES.js +17 -8
  4. package/es/locale/lang/hu-HU.js +624 -0
  5. package/es/locale/lang/ja-JP.js +17 -8
  6. package/es/locale/lang/ko-KR.js +634 -0
  7. package/es/locale/lang/pt-BR.js +17 -8
  8. package/es/locale/lang/ru-RU.js +634 -0
  9. package/es/locale/lang/vi-VN.js +634 -0
  10. package/es/locale/lang/zh-CN.js +17 -8
  11. package/es/locale/lang/zh-TC.js +75 -66
  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 +22 -2
  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 +6 -4
  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 +227 -150
  29. package/lib/index.umd.min.js +1 -1
  30. package/lib/locale/lang/en-US.js +17 -8
  31. package/lib/locale/lang/en-US.min.js +1 -1
  32. package/lib/locale/lang/en-US.umd.js +17 -8
  33. package/lib/locale/lang/es-ES.js +17 -8
  34. package/lib/locale/lang/es-ES.min.js +1 -1
  35. package/lib/locale/lang/es-ES.umd.js +17 -8
  36. package/lib/locale/lang/hu-HU.js +630 -0
  37. package/lib/locale/lang/hu-HU.min.js +1 -0
  38. package/lib/locale/lang/ja-JP.js +17 -8
  39. package/lib/locale/lang/ja-JP.min.js +1 -1
  40. package/lib/locale/lang/ja-JP.umd.js +17 -8
  41. package/lib/locale/lang/ko-KR.js +640 -0
  42. package/lib/locale/lang/ko-KR.min.js +1 -0
  43. package/lib/locale/lang/pt-BR.js +17 -8
  44. package/lib/locale/lang/pt-BR.min.js +1 -1
  45. package/lib/locale/lang/pt-BR.umd.js +17 -8
  46. package/lib/locale/lang/ru-RU.js +640 -0
  47. package/lib/locale/lang/ru-RU.min.js +1 -0
  48. package/lib/locale/lang/vi-VN.js +640 -0
  49. package/lib/locale/lang/vi-VN.min.js +1 -0
  50. package/lib/locale/lang/zh-CN.js +17 -8
  51. package/lib/locale/lang/zh-CN.min.js +1 -1
  52. package/lib/locale/lang/zh-CN.umd.js +17 -8
  53. package/lib/locale/lang/zh-HK.min.js +1 -1
  54. package/lib/locale/lang/zh-HK.umd.js +75 -66
  55. package/lib/locale/lang/zh-MO.min.js +1 -1
  56. package/lib/locale/lang/zh-MO.umd.js +75 -66
  57. package/lib/locale/lang/zh-TC.js +75 -66
  58. package/lib/locale/lang/zh-TC.min.js +1 -1
  59. package/lib/locale/lang/zh-TC.umd.js +75 -66
  60. package/lib/locale/lang/zh-TW.min.js +1 -1
  61. package/lib/locale/lang/zh-TW.umd.js +75 -66
  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 +22 -2
  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 +10 -8
  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 +17 -8
  87. package/packages/locale/lang/es-ES.ts +17 -8
  88. package/packages/locale/lang/hu-HU.ts +626 -0
  89. package/packages/locale/lang/ja-JP.ts +17 -8
  90. package/packages/locale/lang/ko-KR.ts +636 -0
  91. package/packages/locale/lang/pt-BR.ts +17 -8
  92. package/packages/locale/lang/ru-RU.ts +636 -0
  93. package/packages/locale/lang/vi-VN.ts +636 -0
  94. package/packages/locale/lang/zh-CN.ts +17 -8
  95. package/packages/locale/lang/zh-TC.ts +75 -66
  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 +25 -3
  101. package/packages/toolbar/src/toolbar.ts +8 -8
  102. package/packages/ui/index.ts +4 -3
  103. package/styles/components/table.scss +6 -3
  104. /package/es/{iconfont.1723218795604.ttf → iconfont.1724145396059.ttf} +0 -0
  105. /package/es/{iconfont.1723218795604.woff → iconfont.1724145396059.woff} +0 -0
  106. /package/es/{iconfont.1723218795604.woff2 → iconfont.1724145396059.woff2} +0 -0
  107. /package/lib/{iconfont.1723218795604.ttf → iconfont.1724145396059.ttf} +0 -0
  108. /package/lib/{iconfont.1723218795604.woff → iconfont.1724145396059.woff} +0 -0
  109. /package/lib/{iconfont.1723218795604.woff2 → iconfont.1724145396059.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.64";
1954
+ const version = "4.7.66";
1955
1955
  core_.VxeUI.version = version;
1956
- core_.VxeUI.tableVersion = "4.7.64";
1956
+ core_.VxeUI.tableVersion = "4.7.66";
1957
1957
  core_.VxeUI.setConfig({
1958
1958
  emptyCell: ' ',
1959
1959
  table: {
@@ -2217,6 +2217,7 @@ const use = core_.VxeUI.use;
2217
2217
  const setup = options => {
2218
2218
  return core_.VxeUI.setConfig(options);
2219
2219
  };
2220
+ core_.VxeUI.setup = setup;
2220
2221
  /**
2221
2222
  * 已废弃
2222
2223
  * @deprecated
@@ -2224,6 +2225,7 @@ const setup = options => {
2224
2225
  const config = options => {
2225
2226
  return core_.VxeUI.setConfig(options);
2226
2227
  };
2228
+ core_.VxeUI.config = config;
2227
2229
  /**
2228
2230
  * 已废弃
2229
2231
  * @deprecated
@@ -2231,6 +2233,7 @@ const config = options => {
2231
2233
  const t = (key, args) => {
2232
2234
  return core_.VxeUI.getI18n(key, args);
2233
2235
  };
2236
+ core_.VxeUI.t = t;
2234
2237
  /**
2235
2238
  * 已废弃
2236
2239
  * @deprecated
@@ -2238,13 +2241,12 @@ const t = (key, args) => {
2238
2241
  const _t = (content, args) => {
2239
2242
  return getFuncText(content, args);
2240
2243
  };
2244
+ core_.VxeUI._t = _t;
2241
2245
  /**
2242
2246
  * 已废弃,兼容老版本
2243
2247
  * @deprecated
2244
2248
  */
2245
2249
  const VXETable = core_.VxeUI;
2246
- VXETable.setup = config;
2247
- VXETable.config = config;
2248
2250
  /**
2249
2251
  * 已废弃,兼容老版本
2250
2252
  * @deprecated
@@ -2332,7 +2334,7 @@ var es_array_push = __webpack_require__(4114);
2332
2334
  const {
2333
2335
  log: log_log
2334
2336
  } = core_.VxeUI;
2335
- const log_version = `table v${"4.7.64"}`;
2337
+ const log_version = `table v${"4.7.66"}`;
2336
2338
  const warnLog = log_log.create('warn', log_version);
2337
2339
  const errLog = log_log.create('error', log_version);
2338
2340
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -6601,7 +6603,9 @@ const {
6601
6603
  }
6602
6604
  }, 300);
6603
6605
  };
6604
- const confirmCustomEvent = evnt => {
6606
+ const confirmCustomEvent = ({
6607
+ $event
6608
+ }) => {
6605
6609
  const {
6606
6610
  customColumnList
6607
6611
  } = reactData;
@@ -6635,10 +6639,12 @@ const {
6635
6639
  }
6636
6640
  });
6637
6641
  $xeTable.closeCustom();
6638
- $xeTable.emitCustomEvent('confirm', evnt);
6642
+ $xeTable.emitCustomEvent('confirm', $event);
6639
6643
  $xeTable.saveCustomStore('confirm');
6640
6644
  };
6641
- const cancelCustomEvent = evnt => {
6645
+ const cancelCustomEvent = ({
6646
+ $event
6647
+ }) => {
6642
6648
  const {
6643
6649
  customStore
6644
6650
  } = props;
@@ -6679,14 +6685,16 @@ const {
6679
6685
  children: 'children'
6680
6686
  });
6681
6687
  $xeTable.closeCustom();
6682
- $xeTable.emitCustomEvent('cancel', evnt);
6688
+ $xeTable.emitCustomEvent('cancel', $event);
6683
6689
  };
6684
6690
  const handleResetCustomEvent = evnt => {
6685
6691
  $xeTable.resetColumn(true);
6686
6692
  $xeTable.closeCustom();
6687
6693
  $xeTable.emitCustomEvent('reset', evnt);
6688
6694
  };
6689
- const resetCustomEvent = evnt => {
6695
+ const resetCustomEvent = ({
6696
+ $event
6697
+ }) => {
6690
6698
  if (core_.VxeUI.modal) {
6691
6699
  core_.VxeUI.modal.confirm({
6692
6700
  content: panel_getI18n('vxe.custom.cstmConfirmRestore'),
@@ -6694,11 +6702,11 @@ const {
6694
6702
  escClosable: true
6695
6703
  }).then(type => {
6696
6704
  if (type === 'confirm') {
6697
- handleResetCustomEvent(evnt);
6705
+ handleResetCustomEvent($event);
6698
6706
  }
6699
6707
  });
6700
6708
  } else {
6701
- handleResetCustomEvent(evnt);
6709
+ handleResetCustomEvent($event);
6702
6710
  }
6703
6711
  };
6704
6712
  const handleOptionCheck = column => {
@@ -6749,7 +6757,7 @@ const {
6749
6757
  // // $xeTable.setColumnFixed(column, column.fixed)
6750
6758
  // }
6751
6759
  // }
6752
- const allCustomEvent = () => {
6760
+ const allOptionEvent = () => {
6753
6761
  const {
6754
6762
  customStore
6755
6763
  } = props;
@@ -6991,7 +6999,7 @@ const {
6991
6999
  'is--indeterminate': isAllIndeterminate
6992
7000
  }],
6993
7001
  title: panel_getI18n('vxe.table.allTitle'),
6994
- onClick: allCustomEvent
7002
+ onClick: allOptionEvent
6995
7003
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
6996
7004
  class: ['vxe-checkbox--icon', isAllIndeterminate ? panel_getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllChecked ? panel_getIcon().TABLE_CHECKBOX_CHECKED : panel_getIcon().TABLE_CHECKBOX_UNCHECKED]
6997
7005
  }), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
@@ -7174,7 +7182,7 @@ const {
7174
7182
  'is--indeterminate': isAllIndeterminate
7175
7183
  }],
7176
7184
  title: panel_getI18n('vxe.table.allTitle'),
7177
- onClick: allCustomEvent
7185
+ onClick: allOptionEvent
7178
7186
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
7179
7187
  class: ['vxe-checkbox--icon', isAllIndeterminate ? panel_getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllChecked ? panel_getIcon().TABLE_CHECKBOX_CHECKED : panel_getIcon().TABLE_CHECKBOX_UNCHECKED]
7180
7188
  }), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
@@ -7183,7 +7191,8 @@ const {
7183
7191
  class: 'vxe-table-custom-popup--table-sort-help-title'
7184
7192
  }, panel_getI18n('vxe.custom.setting.colSort')), VxeUITooltipComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUITooltipComponent, {
7185
7193
  enterable: true,
7186
- content: panel_getI18n('vxe.custom.setting.sortHelpTip')
7194
+ content: panel_getI18n('vxe.custom.setting.sortHelpTip'),
7195
+ popupClassName: 'vxe-table--ignore-clear'
7187
7196
  }, {
7188
7197
  default: () => {
7189
7198
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
@@ -8230,6 +8239,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
8230
8239
  // 使用已安装的组件,如果未安装则不渲染
8231
8240
  const VxeUILoadingComponent = core_.VxeUI.getComponent('VxeLoading');
8232
8241
  const VxeUITooltipComponent = core_.VxeUI.getComponent('VxeTooltip');
8242
+ const $xeTabs = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeTabs', null);
8233
8243
  const {
8234
8244
  computeSize
8235
8245
  } = useFns.useSize(props);
@@ -11936,6 +11946,11 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
11936
11946
  const fullColumnFieldData = internalData.fullColumnFieldData;
11937
11947
  return field && fullColumnFieldData[field] ? fullColumnFieldData[field].column : null;
11938
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
+ },
11939
11954
  /**
11940
11955
  * 获取当前表格的列
11941
11956
  * 收集到的全量列、全量表头列、处理条件之后的全量表头列、当前渲染中的表头列
@@ -12254,10 +12269,14 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
12254
12269
  * 计算单元格列宽,动态分配可用剩余空间
12255
12270
  * 支持 width=? width=?px width=?% min-width=? min-width=?px min-width=?%
12256
12271
  */
12257
- 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
+ }
12258
12277
  calcCellWidth();
12259
12278
  autoCellWidth();
12260
- if (refull === true) {
12279
+ if (reFull === true) {
12261
12280
  // 初始化时需要在列计算之后再执行优化运算,达到最优显示效果
12262
12281
  return computeScrollLoad().then(() => {
12263
12282
  autoCellWidth();
@@ -14229,6 +14248,10 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
14229
14248
  if ($xeTable.closeMenu) {
14230
14249
  $xeTable.closeMenu();
14231
14250
  }
14251
+ const el = refElem.value;
14252
+ if (!el || !el.clientWidth) {
14253
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
14254
+ }
14232
14255
  tableMethods.updateCellAreas();
14233
14256
  tableMethods.recalculate(true);
14234
14257
  };
@@ -15941,6 +15964,11 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
15941
15964
  }
15942
15965
  });
15943
15966
  });
15967
+ if ($xeTabs) {
15968
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => $xeTabs ? $xeTabs.reactData.resizeFlag : null, () => {
15969
+ handleGlobalResizeEvent();
15970
+ });
15971
+ }
15944
15972
  table_hooks.forEach(options => {
15945
15973
  const {
15946
15974
  setupTable
@@ -16272,6 +16300,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16272
16300
  'is--virtual-x': scrollXLoad,
16273
16301
  'is--virtual-y': scrollYLoad
16274
16302
  }],
16303
+ spellcheck: false,
16275
16304
  onKeydown: keydownEvent
16276
16305
  }, [
16277
16306
  /**
@@ -18221,28 +18250,26 @@ edit_hook_hooks.add('tableEditModule', {
18221
18250
  } = column;
18222
18251
  if (isEnableConf(editRender)) {
18223
18252
  const compRender = edit_hook_renderer.get(editRender.name);
18224
- let {
18225
- autofocus,
18226
- autoselect
18227
- } = editRender;
18253
+ let autoFocus = editRender.autofocus || editRender.autoFocus;
18254
+ let autoSelect = editRender.autoSelect || editRender.autoselect;
18228
18255
  let inputElem;
18229
- if (!autofocus && compRender) {
18230
- autofocus = compRender.tableAutoFocus || compRender.tableAutofocus || compRender.autofocus;
18256
+ if (!autoFocus && compRender) {
18257
+ autoFocus = compRender.tableAutoFocus || compRender.tableAutofocus || compRender.autofocus;
18231
18258
  }
18232
- if (!autoselect && compRender) {
18233
- autoselect = compRender.tableAutoSelect || compRender.autoselect;
18259
+ if (!autoSelect && compRender) {
18260
+ autoSelect = compRender.tableAutoSelect || compRender.autoselect;
18234
18261
  }
18235
18262
  // 如果指定了聚焦 class
18236
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(autofocus)) {
18237
- inputElem = autofocus(params);
18238
- } else if (autofocus) {
18239
- inputElem = cell.querySelector(autofocus);
18263
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(autoFocus)) {
18264
+ inputElem = autoFocus(params);
18265
+ } else if (autoFocus) {
18266
+ inputElem = cell.querySelector(autoFocus);
18240
18267
  if (inputElem) {
18241
18268
  inputElem.focus();
18242
18269
  }
18243
18270
  }
18244
18271
  if (inputElem) {
18245
- if (autoselect) {
18272
+ if (autoSelect) {
18246
18273
  inputElem.select();
18247
18274
  } else {
18248
18275
  // 保持一致行为,光标移到末端
@@ -18645,7 +18672,7 @@ export_hook_hooks.add('tableExportModule', {
18645
18672
  const childrenField = treeOpts.children || treeOpts.childrenField;
18646
18673
  return row[childrenField] && row[childrenField].length;
18647
18674
  };
18648
- const getSeq = (row, $rowIndex, column, $columnIndex) => {
18675
+ const getSeq = (cellValue, row, $rowIndex, column, $columnIndex) => {
18649
18676
  const seqOpts = computeSeqOpts.value;
18650
18677
  const seqMethod = seqOpts.seqMethod || column.seqMethod;
18651
18678
  if (seqMethod) {
@@ -18658,7 +18685,7 @@ export_hook_hooks.add('tableExportModule', {
18658
18685
  $columnIndex
18659
18686
  });
18660
18687
  }
18661
- return $xeTable.getRowSeq(row);
18688
+ return cellValue;
18662
18689
  };
18663
18690
  function getHeaderTitle(opts, column) {
18664
18691
  const columnOpts = computeColumnOpts.value;
@@ -18726,8 +18753,11 @@ export_hook_hooks.add('tableExportModule', {
18726
18753
  } else {
18727
18754
  switch (column.type) {
18728
18755
  case 'seq':
18729
- cellValue = mode === 'all' ? path.map((num, i) => i % 2 === 0 ? Number(num) + 1 : '.').join('') : getSeq(row, $rowIndex, column, $columnIndex);
18730
- break;
18756
+ {
18757
+ const seqVal = path.map((num, i) => i % 2 === 0 ? Number(num) + 1 : '.').join('');
18758
+ cellValue = mode === 'all' ? seqVal : getSeq(seqVal, row, $rowIndex, column, $columnIndex);
18759
+ break;
18760
+ }
18731
18761
  case 'checkbox':
18732
18762
  cellValue = toBooleanValue($xeTable.isCheckedByCheckboxRow(row));
18733
18763
  item._checkboxLabel = checkboxOpts.labelField ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, checkboxOpts.labelField) : '';
@@ -18793,8 +18823,11 @@ export_hook_hooks.add('tableExportModule', {
18793
18823
  } else {
18794
18824
  switch (column.type) {
18795
18825
  case 'seq':
18796
- cellValue = mode === 'all' ? $rowIndex + 1 : getSeq(row, $rowIndex, column, $columnIndex);
18797
- break;
18826
+ {
18827
+ const seqValue = $rowIndex + 1;
18828
+ cellValue = mode === 'all' ? seqValue : getSeq(seqValue, row, $rowIndex, column, $columnIndex);
18829
+ break;
18830
+ }
18798
18831
  case 'checkbox':
18799
18832
  cellValue = toBooleanValue($xeTable.isCheckedByCheckboxRow(row));
18800
18833
  item._checkboxLabel = checkboxOpts.labelField ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, checkboxOpts.labelField) : '';
@@ -21652,7 +21685,7 @@ function handleFilterMethod({
21652
21685
  const {
21653
21686
  data
21654
21687
  } = option;
21655
- const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21688
+ const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21656
21689
  /* eslint-disable eqeqeq */
21657
21690
  return cellValue == data;
21658
21691
  }
@@ -21664,7 +21697,7 @@ function handleInputFilterMethod({
21664
21697
  const {
21665
21698
  data
21666
21699
  } = option;
21667
- const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21700
+ const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21668
21701
  /* eslint-disable eqeqeq */
21669
21702
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(cellValue).indexOf(data) > -1;
21670
21703
  }
@@ -21751,7 +21784,7 @@ function getSelectCellValue(renderOpts, {
21751
21784
  optionProps = {},
21752
21785
  optionGroupProps = {}
21753
21786
  } = renderOpts;
21754
- const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21787
+ const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21755
21788
  let selectItem;
21756
21789
  const labelProp = optionProps.label || 'label';
21757
21790
  const valueProp = optionProps.value || 'value';
@@ -21790,7 +21823,7 @@ function getTreeSelectCellValue(renderOpts, {
21790
21823
  options,
21791
21824
  optionProps = {}
21792
21825
  } = renderOpts;
21793
- const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21826
+ const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21794
21827
  const labelProp = optionProps.label || 'label';
21795
21828
  const valueProp = optionProps.value || 'value';
21796
21829
  const childrenProp = optionProps.children || 'children';
@@ -21821,23 +21854,23 @@ function handleExportTreeSelectMethod(params) {
21821
21854
  */
21822
21855
  render_renderer.mixin({
21823
21856
  input: {
21824
- autofocus: 'input',
21825
- renderEdit: nativeEditRender,
21826
- renderDefault: nativeEditRender,
21827
- renderFilter: nativeFilterRender,
21828
- defaultFilterMethod: handleInputFilterMethod
21857
+ tableAutoFocus: 'input',
21858
+ renderTableEdit: nativeEditRender,
21859
+ renderTableDefault: nativeEditRender,
21860
+ renderTableFilter: nativeFilterRender,
21861
+ tableFilterDefaultMethod: handleInputFilterMethod
21829
21862
  },
21830
21863
  textarea: {
21831
- autofocus: 'textarea',
21832
- renderEdit: nativeEditRender
21864
+ tableAutoFocus: 'textarea',
21865
+ renderTableEdit: nativeEditRender
21833
21866
  },
21834
21867
  select: {
21835
- renderEdit: nativeSelectEditRender,
21836
- renderDefault: nativeSelectEditRender,
21837
- renderCell(renderOpts, params) {
21868
+ renderTableEdit: nativeSelectEditRender,
21869
+ renderTableDefault: nativeSelectEditRender,
21870
+ renderTableCell(renderOpts, params) {
21838
21871
  return getCellLabelVNs(renderOpts, params, getSelectCellValue(renderOpts, params));
21839
21872
  },
21840
- renderFilter(renderOpts, params) {
21873
+ renderTableFilter(renderOpts, params) {
21841
21874
  const {
21842
21875
  column
21843
21876
  } = params;
@@ -21850,13 +21883,13 @@ render_renderer.mixin({
21850
21883
  }, renderOpts.optionGroups ? renderNativeOptgroups(renderOpts, params, renderNativeOptions) : renderNativeOptions(renderOpts.options, renderOpts, params));
21851
21884
  });
21852
21885
  },
21853
- defaultFilterMethod: handleFilterMethod,
21854
- exportMethod: handleExportSelectMethod
21886
+ tableFilterDefaultMethod: handleFilterMethod,
21887
+ tableExportMethod: handleExportSelectMethod
21855
21888
  },
21856
21889
  VxeInput: {
21857
- autofocus: 'input',
21858
- renderEdit: defaultEditRender,
21859
- renderCell(renderOpts, params) {
21890
+ tableAutoFocus: 'input',
21891
+ renderTableEdit: defaultEditRender,
21892
+ renderTableCell(renderOpts, params) {
21860
21893
  const {
21861
21894
  props = {}
21862
21895
  } = renderOpts;
@@ -21865,7 +21898,7 @@ render_renderer.mixin({
21865
21898
  column
21866
21899
  } = params;
21867
21900
  const digits = props.digits || render_getConfig().input?.digits || 2;
21868
- let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21901
+ let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21869
21902
  if (cellValue) {
21870
21903
  switch (props.type) {
21871
21904
  case 'date':
@@ -21882,14 +21915,14 @@ render_renderer.mixin({
21882
21915
  }
21883
21916
  return getCellLabelVNs(renderOpts, params, cellValue);
21884
21917
  },
21885
- renderDefault: defaultEditRender,
21886
- renderFilter: defaultFilterRender,
21887
- defaultFilterMethod: handleInputFilterMethod
21918
+ renderTableDefault: defaultEditRender,
21919
+ renderTableFilter: defaultFilterRender,
21920
+ tableFilterDefaultMethod: handleInputFilterMethod
21888
21921
  },
21889
21922
  VxeNumberInput: {
21890
- autofocus: 'input',
21891
- renderEdit: defaultEditRender,
21892
- renderCell(renderOpts, params) {
21923
+ tableAutoFocus: 'input',
21924
+ renderTableEdit: defaultEditRender,
21925
+ renderTableCell(renderOpts, params) {
21893
21926
  const {
21894
21927
  props = {}
21895
21928
  } = renderOpts;
@@ -21898,7 +21931,7 @@ render_renderer.mixin({
21898
21931
  column
21899
21932
  } = params;
21900
21933
  const digits = props.digits || render_getConfig().numberInput?.digits || 2;
21901
- let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21934
+ let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21902
21935
  if (cellValue) {
21903
21936
  switch (props.type) {
21904
21937
  case 'float':
@@ -21908,14 +21941,14 @@ render_renderer.mixin({
21908
21941
  }
21909
21942
  return getCellLabelVNs(renderOpts, params, cellValue);
21910
21943
  },
21911
- renderDefault: defaultEditRender,
21912
- renderFilter: defaultFilterRender,
21913
- defaultFilterMethod: handleInputFilterMethod
21944
+ renderTableDefault: defaultEditRender,
21945
+ renderTableFilter: defaultFilterRender,
21946
+ tableFilterDefaultMethod: handleInputFilterMethod
21914
21947
  },
21915
21948
  VxeDatePicker: {
21916
- autofocus: 'input',
21917
- renderEdit: defaultEditRender,
21918
- renderCell(renderOpts, params) {
21949
+ tableAutoFocus: 'input',
21950
+ renderTableEdit: defaultEditRender,
21951
+ renderTableCell(renderOpts, params) {
21919
21952
  const {
21920
21953
  props = {}
21921
21954
  } = renderOpts;
@@ -21923,7 +21956,7 @@ render_renderer.mixin({
21923
21956
  row,
21924
21957
  column
21925
21958
  } = params;
21926
- let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
21959
+ let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
21927
21960
  if (cellValue) {
21928
21961
  switch (props.type) {
21929
21962
  case 'date':
@@ -21937,18 +21970,18 @@ render_renderer.mixin({
21937
21970
  }
21938
21971
  return getCellLabelVNs(renderOpts, params, cellValue);
21939
21972
  },
21940
- renderDefault: defaultEditRender,
21941
- renderFilter: defaultFilterRender,
21942
- defaultFilterMethod: handleFilterMethod
21973
+ renderTableDefault: defaultEditRender,
21974
+ renderTableFilter: defaultFilterRender,
21975
+ tableFilterDefaultMethod: handleFilterMethod
21943
21976
  },
21944
21977
  VxeTextarea: {
21945
- autofocus: 'VxeTextarea'
21978
+ tableAutoFocus: 'VxeTextarea'
21946
21979
  },
21947
21980
  VxeButton: {
21948
- renderDefault: buttonCellRender
21981
+ renderTableDefault: buttonCellRender
21949
21982
  },
21950
21983
  VxeButtonGroup: {
21951
- renderDefault(renderOpts, params) {
21984
+ renderTableDefault(renderOpts, params) {
21952
21985
  const {
21953
21986
  options
21954
21987
  } = renderOpts;
@@ -21960,13 +21993,13 @@ render_renderer.mixin({
21960
21993
  }
21961
21994
  },
21962
21995
  VxeSelect: {
21963
- autofocus: 'input',
21964
- renderEdit: defaultSelectEditRender,
21965
- renderDefault: defaultSelectEditRender,
21966
- renderCell(renderOpts, params) {
21996
+ tableAutoFocus: 'input',
21997
+ renderTableEdit: defaultSelectEditRender,
21998
+ renderTableDefault: defaultSelectEditRender,
21999
+ renderTableCell(renderOpts, params) {
21967
22000
  return getCellLabelVNs(renderOpts, params, getSelectCellValue(renderOpts, params));
21968
22001
  },
21969
- renderFilter(renderOpts, params) {
22002
+ renderTableFilter(renderOpts, params) {
21970
22003
  const {
21971
22004
  column
21972
22005
  } = params;
@@ -21990,35 +22023,49 @@ render_renderer.mixin({
21990
22023
  });
21991
22024
  });
21992
22025
  },
21993
- defaultFilterMethod: handleFilterMethod,
21994
- exportMethod: handleExportSelectMethod
22026
+ tableFilterDefaultMethod: handleFilterMethod,
22027
+ tableExportMethod: handleExportSelectMethod
21995
22028
  },
21996
22029
  VxeTreeSelect: {
21997
- autofocus: 'input',
21998
- renderEdit: defaultTreeSelectEditRender,
21999
- renderCell(renderOpts, params) {
22030
+ tableAutoFocus: 'input',
22031
+ renderTableEdit: defaultTreeSelectEditRender,
22032
+ renderTableCell(renderOpts, params) {
22000
22033
  return getCellLabelVNs(renderOpts, params, getTreeSelectCellValue(renderOpts, params));
22001
22034
  },
22002
- exportMethod: handleExportTreeSelectMethod
22035
+ tableExportMethod: handleExportTreeSelectMethod
22036
+ },
22037
+ VxeIconPicker: {
22038
+ tableAutoFocus: 'input',
22039
+ renderTableEdit: defaultEditRender,
22040
+ renderTableCell(renderOpts, params) {
22041
+ const {
22042
+ row,
22043
+ column
22044
+ } = params;
22045
+ const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
22046
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
22047
+ class: cellValue
22048
+ });
22049
+ }
22003
22050
  },
22004
22051
  VxeRadioGroup: {
22005
- renderDefault: radioAndCheckboxEditRender
22052
+ renderTableDefault: radioAndCheckboxEditRender
22006
22053
  },
22007
22054
  VxeCheckboxGroup: {
22008
- renderDefault: radioAndCheckboxEditRender
22055
+ renderTableDefault: radioAndCheckboxEditRender
22009
22056
  },
22010
22057
  VxeSwitch: {
22011
- autofocus: 'button',
22012
- renderEdit: defaultEditRender,
22013
- renderDefault: defaultEditRender
22058
+ tableAutoFocus: 'button',
22059
+ renderTableEdit: defaultEditRender,
22060
+ renderTableDefault: defaultEditRender
22014
22061
  },
22015
22062
  VxeUpload: {
22016
- renderEdit: defaultEditRender,
22017
- renderCell: defaultEditRender,
22018
- renderDefault: defaultEditRender
22063
+ renderTableEdit: defaultEditRender,
22064
+ renderTableCell: defaultEditRender,
22065
+ renderTableDefault: defaultEditRender
22019
22066
  },
22020
22067
  VxeImage: {
22021
- renderDefault(renderOpts, params) {
22068
+ renderTableDefault(renderOpts, params) {
22022
22069
  const {
22023
22070
  row,
22024
22071
  column
@@ -22035,7 +22082,7 @@ render_renderer.mixin({
22035
22082
  }
22036
22083
  },
22037
22084
  VxeImageGroup: {
22038
- renderDefault(renderOpts, params) {
22085
+ renderTableDefault(renderOpts, params) {
22039
22086
  const {
22040
22087
  row,
22041
22088
  column
@@ -22053,9 +22100,9 @@ render_renderer.mixin({
22053
22100
  },
22054
22101
  // 以下已废弃
22055
22102
  $input: {
22056
- autofocus: '.vxe-input--inner',
22057
- renderEdit: oldEditRender,
22058
- renderCell(renderOpts, params) {
22103
+ tableAutoFocus: '.vxe-input--inner',
22104
+ renderTableEdit: oldEditRender,
22105
+ renderTableCell(renderOpts, params) {
22059
22106
  const {
22060
22107
  props = {}
22061
22108
  } = renderOpts;
@@ -22064,7 +22111,7 @@ render_renderer.mixin({
22064
22111
  column
22065
22112
  } = params;
22066
22113
  const digits = props.digits || render_getConfig().input?.digits || 2;
22067
- let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.property);
22114
+ let cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
22068
22115
  if (cellValue) {
22069
22116
  switch (props.type) {
22070
22117
  case 'date':
@@ -22080,27 +22127,27 @@ render_renderer.mixin({
22080
22127
  }
22081
22128
  return getCellLabelVNs(renderOpts, params, cellValue);
22082
22129
  },
22083
- renderDefault: oldEditRender,
22084
- renderFilter: oldFilterRender,
22085
- defaultFilterMethod: handleInputFilterMethod
22130
+ renderTableDefault: oldEditRender,
22131
+ renderTableFilter: oldFilterRender,
22132
+ tableFilterDefaultMethod: handleInputFilterMethod
22086
22133
  },
22087
22134
  $textarea: {
22088
- autofocus: '.vxe-textarea--inner'
22135
+ tableAutoFocus: '.vxe-textarea--inner'
22089
22136
  },
22090
22137
  $button: {
22091
- renderDefault: oldButtonEditRender
22138
+ renderTableDefault: oldButtonEditRender
22092
22139
  },
22093
22140
  $buttons: {
22094
- renderDefault: oldButtonsEditRender
22141
+ renderTableDefault: oldButtonsEditRender
22095
22142
  },
22096
22143
  $select: {
22097
- autofocus: '.vxe-input--inner',
22098
- renderEdit: oldSelectEditRender,
22099
- renderDefault: oldSelectEditRender,
22100
- renderCell(renderOpts, params) {
22144
+ tableAutoFocus: '.vxe-input--inner',
22145
+ renderTableEdit: oldSelectEditRender,
22146
+ renderTableDefault: oldSelectEditRender,
22147
+ renderTableCell(renderOpts, params) {
22101
22148
  return getCellLabelVNs(renderOpts, params, getSelectCellValue(renderOpts, params));
22102
22149
  },
22103
- renderFilter(renderOpts, params) {
22150
+ renderTableFilter(renderOpts, params) {
22104
22151
  const {
22105
22152
  column
22106
22153
  } = params;
@@ -22124,19 +22171,19 @@ render_renderer.mixin({
22124
22171
  });
22125
22172
  });
22126
22173
  },
22127
- defaultFilterMethod: handleFilterMethod,
22128
- exportMethod: handleExportSelectMethod
22174
+ tableFilterDefaultMethod: handleFilterMethod,
22175
+ tableExportMethod: handleExportSelectMethod
22129
22176
  },
22130
22177
  $radio: {
22131
- autofocus: '.vxe-radio--input'
22178
+ tableAutoFocus: '.vxe-radio--input'
22132
22179
  },
22133
22180
  $checkbox: {
22134
- autofocus: '.vxe-checkbox--input'
22181
+ tableAutoFocus: '.vxe-checkbox--input'
22135
22182
  },
22136
22183
  $switch: {
22137
- autofocus: '.vxe-switch--button',
22138
- renderEdit: oldEditRender,
22139
- renderDefault: oldEditRender
22184
+ tableAutoFocus: '.vxe-switch--button',
22185
+ renderTableEdit: oldEditRender,
22186
+ renderTableDefault: oldEditRender
22140
22187
  }
22141
22188
  // 以上已废弃
22142
22189
  });
@@ -22318,7 +22365,9 @@ const {
22318
22365
  }, 350);
22319
22366
  }
22320
22367
  };
22321
- const refreshEvent = evnt => {
22368
+ const refreshEvent = ({
22369
+ $event
22370
+ }) => {
22322
22371
  const {
22323
22372
  isRefresh
22324
22373
  } = reactData;
@@ -22338,15 +22387,17 @@ const {
22338
22387
  reactData.isRefresh = true;
22339
22388
  $xeGrid.triggerToolbarCommitEvent({
22340
22389
  code: refreshOpts.code || 'reload'
22341
- }, evnt).catch(e => e).then(() => {
22390
+ }, $event).catch(e => e).then(() => {
22342
22391
  reactData.isRefresh = false;
22343
22392
  });
22344
22393
  }
22345
22394
  }
22346
22395
  };
22347
- const zoomEvent = evnt => {
22396
+ const zoomEvent = ({
22397
+ $event
22398
+ }) => {
22348
22399
  if ($xeGrid) {
22349
- $xeGrid.triggerZoomEvent(evnt);
22400
+ $xeGrid.triggerZoomEvent($event);
22350
22401
  }
22351
22402
  };
22352
22403
  const btnEvent = (evnt, item) => {
@@ -22456,7 +22507,9 @@ const {
22456
22507
  round: child.round,
22457
22508
  status: child.status,
22458
22509
  content: child.name,
22459
- onClick: evnt => isBtn ? btnEvent(evnt, child) : tolEvent(evnt, child)
22510
+ onClick: ({
22511
+ $event
22512
+ }) => isBtn ? btnEvent($event, child) : tolEvent($event, child)
22460
22513
  }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
22461
22514
  });
22462
22515
  }
@@ -22512,7 +22565,9 @@ const {
22512
22565
  destroyOnClose: item.destroyOnClose,
22513
22566
  placement: item.placement,
22514
22567
  transfer: item.transfer,
22515
- onClick: evnt => btnEvent(evnt, item)
22568
+ onClick: ({
22569
+ $event
22570
+ }) => btnEvent($event, item)
22516
22571
  }, dropdowns && dropdowns.length ? {
22517
22572
  dropdowns: () => renderDropdowns(item, true)
22518
22573
  } : {}));
@@ -22575,7 +22630,9 @@ const {
22575
22630
  destroyOnClose: item.destroyOnClose,
22576
22631
  placement: item.placement,
22577
22632
  transfer: item.transfer,
22578
- onClick: evnt => tolEvent(evnt, item)
22633
+ onClick: ({
22634
+ $event
22635
+ }) => tolEvent($event, item)
22579
22636
  }, dropdowns && dropdowns.length ? {
22580
22637
  dropdowns: () => renderDropdowns(item, false)
22581
22638
  } : {}));
@@ -22967,6 +23024,17 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
22967
23024
  });
22968
23025
  }
22969
23026
  };
23027
+ const getFormData = () => {
23028
+ const {
23029
+ proxyConfig
23030
+ } = props;
23031
+ const {
23032
+ formData
23033
+ } = reactData;
23034
+ const proxyOpts = computeProxyOpts.value;
23035
+ const formOpts = computeFormOpts.value;
23036
+ return proxyConfig && isEnableConf(proxyOpts) && proxyOpts.form ? formData : formOpts.data;
23037
+ };
22970
23038
  const initPages = () => {
22971
23039
  const {
22972
23040
  tablePage
@@ -23494,7 +23562,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23494
23562
  const formOpts = computeFormOpts.value;
23495
23563
  if (proxyConfig && isEnableConf(proxyOpts)) {
23496
23564
  if (formConfig && isEnableConf(formOpts) && proxyOpts.form && formOpts.items) {
23497
- const formData = {};
23565
+ const fData = {};
23498
23566
  formOpts.items.forEach(item => {
23499
23567
  const {
23500
23568
  field,
@@ -23514,10 +23582,10 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23514
23582
  itemValue = defaultValue;
23515
23583
  }
23516
23584
  }
23517
- formData[field] = itemValue;
23585
+ fData[field] = itemValue;
23518
23586
  }
23519
23587
  });
23520
- reactData.formData = formData;
23588
+ reactData.formData = fData;
23521
23589
  }
23522
23590
  if (!proxyInited) {
23523
23591
  reactData.proxyInited = true;
@@ -23550,8 +23618,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23550
23618
  validConfig
23551
23619
  } = props;
23552
23620
  const {
23553
- tablePage,
23554
- formData
23621
+ tablePage
23555
23622
  } = reactData;
23556
23623
  const isActiveMsg = computeIsActiveMsg.value;
23557
23624
  const isRespMsg = computeIsRespMsg.value;
@@ -23569,6 +23636,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23569
23636
  } = proxyOpts;
23570
23637
  const resConfigs = proxyOpts.response || proxyOpts.props || {};
23571
23638
  const $xeTable = refTable.value;
23639
+ const formData = getFormData();
23572
23640
  let button = null;
23573
23641
  let code = null;
23574
23642
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(proxyTarget)) {
@@ -23978,6 +24046,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23978
24046
  revert() {
23979
24047
  return handleZoom();
23980
24048
  },
24049
+ getFormData,
23981
24050
  getFormItems(itemIndex) {
23982
24051
  const formOpts = computeFormOpts.value;
23983
24052
  const {
@@ -24003,7 +24072,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
24003
24072
  return {
24004
24073
  data: reactData.tableData,
24005
24074
  filter: reactData.filterData,
24006
- form: reactData.formData,
24075
+ form: getFormData(),
24007
24076
  sort: sortData.length ? sortData[0] : {},
24008
24077
  sorts: sortData,
24009
24078
  pager: reactData.tablePage,
@@ -24171,15 +24240,14 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
24171
24240
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
24172
24241
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
24173
24242
  const {
24174
- data,
24175
- columns,
24176
- proxyConfig
24243
+ columns
24177
24244
  } = props;
24178
- const proxyOpts = computeProxyOpts.value;
24179
- const formOpts = computeFormOpts.value;
24180
- if (isEnableConf(proxyConfig) && (data || proxyOpts.form && formOpts.data)) {
24181
- errLog('vxe.error.errConflicts', ['grid.data', 'grid.proxy-config']);
24182
- }
24245
+ // const { data, columns, proxyConfig } = props
24246
+ // const proxyOpts = computeProxyOpts.value
24247
+ // const formOpts = computeFormOpts.value
24248
+ // if (isEnableConf(proxyConfig) && (data || (proxyOpts.form && formOpts.data))) {
24249
+ // errLog('vxe.error.errConflicts', ['grid.data', 'grid.proxy-config'])
24250
+ // }
24183
24251
  // if (process.env.VUE_APP_VXE_ENV === 'development') {
24184
24252
  // if (proxyOpts.props) {
24185
24253
  // warnLog('vxe.error.delProp', ['proxy-config.props', 'proxy-config.response'])
@@ -24248,10 +24316,6 @@ core_.VxeUI.component(grid);
24248
24316
  const Grid = VxeGrid;
24249
24317
  /* harmony default export */ var packages_grid = ((/* unused pure expression or super */ null && (VxeGrid)));
24250
24318
  ;// CONCATENATED MODULE: ./packages/locale/lang/zh-CN.ts
24251
- /**
24252
- * 已废弃
24253
- * @deprecated
24254
- */
24255
24319
  /* harmony default export */ var zh_CN = ({
24256
24320
  vxe: {
24257
24321
  base: {
@@ -24273,7 +24337,7 @@ const Grid = VxeGrid;
24273
24337
  useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
24274
24338
  barUnableLink: '工具栏无法关联表格',
24275
24339
  expandContent: '展开行的插槽应该是 "content",请检查是否正确',
24276
- reqComp: '缺少 "{0}" 组件,请检查是否正确安装',
24340
+ reqComp: '缺少 "{0}" 组件,请检查是否正确安装。 https://vxeui.com/#/start/useGlobal',
24277
24341
  reqModule: '缺少 "{0}" 模块',
24278
24342
  reqProp: '缺少必要的 "{0}" 参数,这可能会导致出现错误',
24279
24343
  emptyProp: '参数 "{0}" 不允许为空',
@@ -24303,6 +24367,7 @@ const Grid = VxeGrid;
24303
24367
  emptyText: '暂无数据',
24304
24368
  allTitle: '全选/取消',
24305
24369
  seqTitle: '序号',
24370
+ actionTitle: '操作',
24306
24371
  confirmFilter: '筛选',
24307
24372
  resetFilter: '重置',
24308
24373
  allFilter: '全部',
@@ -24559,7 +24624,9 @@ const Grid = VxeGrid;
24559
24624
  reUpload: '重新上传',
24560
24625
  uploadProgress: '上传中 {0}%',
24561
24626
  uploadErr: '上传失败',
24562
- uploadSuccess: '上传成功'
24627
+ uploadSuccess: '上传成功',
24628
+ moreBtnText: '更多({0})',
24629
+ viewItemTitle: '点击查看'
24563
24630
  },
24564
24631
  formDesign: {
24565
24632
  formName: '表单名称',
@@ -24590,6 +24657,7 @@ const Grid = VxeGrid;
24590
24657
  group: {
24591
24658
  base: '基础控件',
24592
24659
  layout: '布局控件',
24660
+ system: '系统控件',
24593
24661
  advanced: '高级控件'
24594
24662
  },
24595
24663
  copyTitle: '副本_{0}',
@@ -24598,7 +24666,8 @@ const Grid = VxeGrid;
24598
24666
  textarea: '文本域',
24599
24667
  select: '下拉选择',
24600
24668
  row: '一行多列',
24601
- title: '文本',
24669
+ title: '标题',
24670
+ text: '文本',
24602
24671
  subtable: '子表',
24603
24672
  VxeSwitch: '是/否',
24604
24673
  VxeInput: '输入框',
@@ -24672,7 +24741,15 @@ const Grid = VxeGrid;
24672
24741
  },
24673
24742
  listDesign: {
24674
24743
  fieldSettingTab: '字段设置',
24675
- listSettingTab: '列表设置'
24744
+ listSettingTab: '列表设置',
24745
+ activeBtn: {
24746
+ ActionButtonUpdate: '编辑',
24747
+ ActionButtonDelete: '删除'
24748
+ }
24749
+ },
24750
+ text: {
24751
+ copySuccess: '已复制到剪贴板',
24752
+ copyError: '当前环境不支持该操作'
24676
24753
  },
24677
24754
  /**
24678
24755
  * 扩展插件