vxe-table 3.21.0 → 3.21.2

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 (171) hide show
  1. package/es/index.css +1 -1
  2. package/es/index.min.css +1 -1
  3. package/es/locale/lang/ar-EG.js +6 -4
  4. package/es/locale/lang/de-DE.js +6 -4
  5. package/es/locale/lang/en-US.js +6 -4
  6. package/es/locale/lang/es-ES.js +6 -4
  7. package/es/locale/lang/fr-FR.js +6 -4
  8. package/es/locale/lang/hu-HU.js +6 -4
  9. package/es/locale/lang/hy-AM.js +6 -4
  10. package/es/locale/lang/id-ID.js +6 -4
  11. package/es/locale/lang/it-IT.js +6 -4
  12. package/es/locale/lang/ja-JP.js +6 -4
  13. package/es/locale/lang/ko-KR.js +6 -4
  14. package/es/locale/lang/ms-MY.js +6 -4
  15. package/es/locale/lang/nb-NO.js +6 -4
  16. package/es/locale/lang/pt-BR.js +6 -4
  17. package/es/locale/lang/ru-RU.js +6 -4
  18. package/es/locale/lang/th-TH.js +6 -4
  19. package/es/locale/lang/ug-CN.js +6 -4
  20. package/es/locale/lang/uk-UA.js +6 -4
  21. package/es/locale/lang/uz-UZ.js +6 -4
  22. package/es/locale/lang/vi-VN.js +6 -4
  23. package/es/locale/lang/zh-CHT.js +6 -4
  24. package/es/locale/lang/zh-CN.js +6 -4
  25. package/es/style.css +1 -1
  26. package/es/style.min.css +1 -1
  27. package/es/table/module/custom/panel.js +45 -32
  28. package/es/table/module/menu/mixin.js +3 -2
  29. package/es/table/module/validator/mixin.js +4 -4
  30. package/es/table/src/cell.js +1 -1
  31. package/es/table/src/column.js +2 -0
  32. package/es/table/src/columnInfo.js +1 -0
  33. package/es/table/src/table.js +1 -1
  34. package/es/table/style.css +4 -1
  35. package/es/table/style.min.css +1 -1
  36. package/es/ui/index.js +2 -1
  37. package/es/ui/src/log.js +1 -1
  38. package/es/vxe-table/style.css +4 -1
  39. package/es/vxe-table/style.min.css +1 -1
  40. package/lib/index.css +1 -1
  41. package/lib/index.min.css +1 -1
  42. package/lib/index.umd.js +48 -30
  43. package/lib/index.umd.min.js +1 -1
  44. package/lib/locale/lang/ar-EG.js +6 -4
  45. package/lib/locale/lang/ar-EG.min.js +1 -1
  46. package/lib/locale/lang/ar-EG.umd.js +6 -4
  47. package/lib/locale/lang/de-DE.js +6 -4
  48. package/lib/locale/lang/de-DE.min.js +1 -1
  49. package/lib/locale/lang/de-DE.umd.js +6 -4
  50. package/lib/locale/lang/en-US.js +6 -4
  51. package/lib/locale/lang/en-US.min.js +1 -1
  52. package/lib/locale/lang/en-US.umd.js +6 -4
  53. package/lib/locale/lang/es-ES.js +6 -4
  54. package/lib/locale/lang/es-ES.min.js +1 -1
  55. package/lib/locale/lang/es-ES.umd.js +6 -4
  56. package/lib/locale/lang/fr-FR.js +6 -4
  57. package/lib/locale/lang/fr-FR.min.js +1 -1
  58. package/lib/locale/lang/fr-FR.umd.js +6 -4
  59. package/lib/locale/lang/hu-HU.js +6 -4
  60. package/lib/locale/lang/hu-HU.min.js +1 -1
  61. package/lib/locale/lang/hu-HU.umd.js +6 -4
  62. package/lib/locale/lang/hy-AM.js +6 -4
  63. package/lib/locale/lang/hy-AM.min.js +1 -1
  64. package/lib/locale/lang/hy-AM.umd.js +6 -4
  65. package/lib/locale/lang/id-ID.js +6 -4
  66. package/lib/locale/lang/id-ID.min.js +1 -1
  67. package/lib/locale/lang/id-ID.umd.js +6 -4
  68. package/lib/locale/lang/it-IT.js +6 -4
  69. package/lib/locale/lang/it-IT.min.js +1 -1
  70. package/lib/locale/lang/it-IT.umd.js +6 -4
  71. package/lib/locale/lang/ja-JP.js +6 -4
  72. package/lib/locale/lang/ja-JP.min.js +1 -1
  73. package/lib/locale/lang/ja-JP.umd.js +6 -4
  74. package/lib/locale/lang/ko-KR.js +6 -4
  75. package/lib/locale/lang/ko-KR.min.js +1 -1
  76. package/lib/locale/lang/ko-KR.umd.js +6 -4
  77. package/lib/locale/lang/ms-MY.js +6 -4
  78. package/lib/locale/lang/ms-MY.min.js +1 -1
  79. package/lib/locale/lang/ms-MY.umd.js +6 -4
  80. package/lib/locale/lang/nb-NO.js +6 -4
  81. package/lib/locale/lang/nb-NO.min.js +1 -1
  82. package/lib/locale/lang/nb-NO.umd.js +6 -4
  83. package/lib/locale/lang/pt-BR.js +6 -4
  84. package/lib/locale/lang/pt-BR.min.js +1 -1
  85. package/lib/locale/lang/pt-BR.umd.js +6 -4
  86. package/lib/locale/lang/ru-RU.js +6 -4
  87. package/lib/locale/lang/ru-RU.min.js +1 -1
  88. package/lib/locale/lang/ru-RU.umd.js +6 -4
  89. package/lib/locale/lang/th-TH.js +6 -4
  90. package/lib/locale/lang/th-TH.min.js +1 -1
  91. package/lib/locale/lang/th-TH.umd.js +6 -4
  92. package/lib/locale/lang/ug-CN.js +6 -4
  93. package/lib/locale/lang/ug-CN.min.js +1 -1
  94. package/lib/locale/lang/ug-CN.umd.js +6 -4
  95. package/lib/locale/lang/uk-UA.js +6 -4
  96. package/lib/locale/lang/uk-UA.min.js +1 -1
  97. package/lib/locale/lang/uk-UA.umd.js +6 -4
  98. package/lib/locale/lang/uz-UZ.js +6 -4
  99. package/lib/locale/lang/uz-UZ.min.js +1 -1
  100. package/lib/locale/lang/uz-UZ.umd.js +6 -4
  101. package/lib/locale/lang/vi-VN.js +6 -4
  102. package/lib/locale/lang/vi-VN.min.js +1 -1
  103. package/lib/locale/lang/vi-VN.umd.js +6 -4
  104. package/lib/locale/lang/zh-CHT.js +6 -4
  105. package/lib/locale/lang/zh-CHT.min.js +1 -1
  106. package/lib/locale/lang/zh-CHT.umd.js +6 -4
  107. package/lib/locale/lang/zh-CN.js +6 -4
  108. package/lib/locale/lang/zh-CN.min.js +1 -1
  109. package/lib/locale/lang/zh-CN.umd.js +6 -4
  110. package/lib/style.css +1 -1
  111. package/lib/style.min.css +1 -1
  112. package/lib/table/module/custom/panel.js +27 -16
  113. package/lib/table/module/custom/panel.min.js +1 -1
  114. package/lib/table/module/menu/mixin.js +3 -2
  115. package/lib/table/module/menu/mixin.min.js +1 -1
  116. package/lib/table/module/validator/mixin.js +4 -4
  117. package/lib/table/module/validator/mixin.min.js +1 -1
  118. package/lib/table/src/cell.js +1 -1
  119. package/lib/table/src/cell.min.js +1 -1
  120. package/lib/table/src/column.js +2 -0
  121. package/lib/table/src/column.min.js +1 -1
  122. package/lib/table/src/columnInfo.js +1 -0
  123. package/lib/table/src/columnInfo.min.js +1 -1
  124. package/lib/table/src/table.js +1 -1
  125. package/lib/table/src/table.min.js +1 -1
  126. package/lib/table/style/style.css +4 -1
  127. package/lib/table/style/style.min.css +1 -1
  128. package/lib/ui/index.js +2 -1
  129. package/lib/ui/index.min.js +1 -1
  130. package/lib/ui/src/log.js +1 -1
  131. package/lib/ui/src/log.min.js +1 -1
  132. package/lib/vxe-table/style/style.css +4 -1
  133. package/lib/vxe-table/style/style.min.css +1 -1
  134. package/package.json +2 -2
  135. package/packages/locale/lang/ar-EG.ts +6 -4
  136. package/packages/locale/lang/de-DE.ts +6 -4
  137. package/packages/locale/lang/en-US.ts +6 -4
  138. package/packages/locale/lang/es-ES.ts +6 -4
  139. package/packages/locale/lang/fr-FR.ts +6 -4
  140. package/packages/locale/lang/hu-HU.ts +6 -4
  141. package/packages/locale/lang/hy-AM.ts +6 -4
  142. package/packages/locale/lang/id-ID.ts +6 -4
  143. package/packages/locale/lang/it-IT.ts +6 -4
  144. package/packages/locale/lang/ja-JP.ts +6 -4
  145. package/packages/locale/lang/ko-KR.ts +6 -4
  146. package/packages/locale/lang/ms-MY.ts +6 -4
  147. package/packages/locale/lang/nb-NO.ts +6 -4
  148. package/packages/locale/lang/pt-BR.ts +6 -4
  149. package/packages/locale/lang/ru-RU.ts +6 -4
  150. package/packages/locale/lang/th-TH.ts +6 -4
  151. package/packages/locale/lang/ug-CN.ts +6 -4
  152. package/packages/locale/lang/uk-UA.ts +6 -4
  153. package/packages/locale/lang/uz-UZ.ts +6 -4
  154. package/packages/locale/lang/vi-VN.ts +6 -4
  155. package/packages/locale/lang/zh-CHT.ts +6 -4
  156. package/packages/locale/lang/zh-CN.ts +6 -4
  157. package/packages/table/module/custom/panel.ts +71 -54
  158. package/packages/table/module/menu/mixin.ts +3 -2
  159. package/packages/table/module/validator/mixin.ts +4 -4
  160. package/packages/table/src/cell.ts +1 -1
  161. package/packages/table/src/column.ts +2 -0
  162. package/packages/table/src/columnInfo.ts +1 -0
  163. package/packages/table/src/table.ts +1 -1
  164. package/packages/ui/index.ts +1 -0
  165. package/styles/components/table-module/custom.scss +5 -1
  166. /package/es/{iconfont.1779330830416.ttf → iconfont.1779778409753.ttf} +0 -0
  167. /package/es/{iconfont.1779330830416.woff → iconfont.1779778409753.woff} +0 -0
  168. /package/es/{iconfont.1779330830416.woff2 → iconfont.1779778409753.woff2} +0 -0
  169. /package/lib/{iconfont.1779330830416.ttf → iconfont.1779778409753.ttf} +0 -0
  170. /package/lib/{iconfont.1779330830416.woff → iconfont.1779778409753.woff} +0 -0
  171. /package/lib/{iconfont.1779330830416.woff2 → iconfont.1779778409753.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -3311,7 +3311,7 @@ function getClass(property, params) {
3311
3311
  /* unused harmony import specifier */ var VxeUI;
3312
3312
 
3313
3313
 
3314
- const version = "3.21.0";
3314
+ const version = "3.21.2";
3315
3315
  core_.VxeUI.version = version;
3316
3316
  core_.VxeUI.tableVersion = version;
3317
3317
  core_.VxeUI.setConfig({
@@ -3476,6 +3476,7 @@ core_.VxeUI.setConfig({
3476
3476
  },
3477
3477
  aggregateConfig: {
3478
3478
  padding: true,
3479
+ placement: 'left',
3479
3480
  rowField: 'id',
3480
3481
  parentField: '_X_ROW_PARENT_KEY',
3481
3482
  childrenField: '_X_ROW_CHILDREN',
@@ -3841,7 +3842,7 @@ var es_iterator_some = __webpack_require__(3579);
3841
3842
  const {
3842
3843
  log: log_log
3843
3844
  } = core_.VxeUI;
3844
- const log_version = `table v${"3.21.0"}`;
3845
+ const log_version = `table v${"3.21.2"}`;
3845
3846
  const warnLog = log_log.create('warn', log_version);
3846
3847
  const errLog = log_log.create('error', log_version);
3847
3848
  ;// ./packages/table/src/columnInfo.ts
@@ -3970,6 +3971,7 @@ class ColumnInfo {
3970
3971
  filterRecoverMethod: _vm.filterRecoverMethod,
3971
3972
  filterRender: filterRender,
3972
3973
  floatingFilters: _vm.floatingFilters,
3974
+ rules: _vm.rules,
3973
3975
  rowGroupNode: _vm.rowGroupNode,
3974
3976
  treeNode: _vm.treeNode,
3975
3977
  dragSort: _vm.dragSort,
@@ -6778,7 +6780,7 @@ const Cell = {
6778
6780
  const editRenderOpts = isEnableEdit && isEnableConf(editRender) ? editRender : null;
6779
6781
  let isRequired = false;
6780
6782
  if (editRules) {
6781
- const columnRules = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(editRules, column.field);
6783
+ const columnRules = column.rules ? column.rules : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(editRules, column.field);
6782
6784
  if (columnRules) {
6783
6785
  isRequired = columnRules.some(rule => rule.required);
6784
6786
  }
@@ -7032,6 +7034,8 @@ const columnProps = {
7032
7034
  filterRender: Object,
7033
7035
  // 是否显示浮动筛选
7034
7036
  floatingFilters: Object,
7037
+ // 列的校验规则
7038
+ rules: Array,
7035
7039
  // 设置为分组节点
7036
7040
  rowGroupNode: Boolean,
7037
7041
  // 设置为树节点
@@ -11207,6 +11211,8 @@ function panel_hideDropTip($xeTableCustomPanel) {
11207
11211
  } = customPanelReactData;
11208
11212
  const customOpts = $xeTable.computeCustomOpts;
11209
11213
  const {
11214
+ showSortDragButton,
11215
+ allowSort,
11210
11216
  immediate
11211
11217
  } = customOpts;
11212
11218
  const columnDragOpts = $xeTable.computeColumnDragOpts;
@@ -11225,7 +11231,7 @@ function panel_hideDropTip($xeTableCustomPanel) {
11225
11231
  evnt.preventDefault();
11226
11232
  const offsetY = evnt.clientY - optEl.getBoundingClientRect().y;
11227
11233
  const dragPos = offsetY < optEl.clientHeight / 2 ? 'top' : 'bottom';
11228
- if (!dragCol || dragCol && dragCol.id === column.id || !isCrossDrag && column.level > 1 || !immediate && column.level > 1) {
11234
+ if (!dragCol || !(showSortDragButton && allowSort) || dragCol && dragCol.id === column.id || !isCrossDrag && column.level > 1 || !immediate && column.level > 1 || !isCrossDrag && dragCol.level > 1 || !immediate && dragCol.level > 1) {
11229
11235
  panel_showDropTip($xeTableCustomPanel, evnt, optEl, false, dragPos);
11230
11236
  return;
11231
11237
  }
@@ -11402,19 +11408,19 @@ function panel_hideDropTip($xeTableCustomPanel) {
11402
11408
  isCustomDragStatus
11403
11409
  } = tableReactData;
11404
11410
  const customOpts = $xeTable.computeCustomOpts;
11405
- const {
11406
- immediate
11407
- } = customOpts;
11408
11411
  const columnDragOpts = $xeTable.computeColumnDragOpts;
11409
11412
  const {
11410
11413
  popupStyle
11411
11414
  } = customStore;
11412
11415
  const {
11416
+ immediate,
11413
11417
  checkMethod,
11414
11418
  visibleMethod,
11415
11419
  allowVisible,
11416
11420
  allowSort,
11417
11421
  allowFixed,
11422
+ allowGroup,
11423
+ allowValues,
11418
11424
  trigger,
11419
11425
  placement,
11420
11426
  showSortDragButton,
@@ -11500,7 +11506,7 @@ function panel_hideDropTip($xeTableCustomPanel) {
11500
11506
  class: ['vxe-checkbox--icon', isIndeterminate ? panel_getIcon().TABLE_CHECKBOX_INDETERMINATE : isChecked ? panel_getIcon().TABLE_CHECKBOX_CHECKED : panel_getIcon().TABLE_CHECKBOX_UNCHECKED]
11501
11507
  })]) : panel_renderEmptyElement($xeTable), h('div', {
11502
11508
  class: 'vxe-table-custom--name-option'
11503
- }, [allowSort && showSortDragButton && showSortBtn ? h('div', {
11509
+ }, [allowSort && showSortDragButton || allowGroup || allowValues ? showSortBtn || (allowGroup || allowValues) && !isColGroup ? h('div', {
11504
11510
  class: 'vxe-table-custom--sort-option'
11505
11511
  }, [h('span', {
11506
11512
  class: ['vxe-table-custom--sort-btn', {
@@ -11515,7 +11521,7 @@ function panel_hideDropTip($xeTableCustomPanel) {
11515
11521
  }
11516
11522
  }, [h('i', {
11517
11523
  class: panel_getIcon().TABLE_CUSTOM_SORT
11518
- })])]) : panel_renderEmptyElement($xeTable), column.type === 'html' ? h('div', {
11524
+ })])]) : panel_renderEmptyElement($xeTable) : panel_renderEmptyElement($xeTable), column.type === 'html' ? h('div', {
11519
11525
  key: '1',
11520
11526
  class: 'vxe-table-custom--checkbox-label',
11521
11527
  domProps: {
@@ -11734,21 +11740,25 @@ function panel_hideDropTip($xeTableCustomPanel) {
11734
11740
  customColumnList
11735
11741
  } = tableReactData;
11736
11742
  const customOpts = $xeTable.computeCustomOpts;
11743
+ const columnDragOpts = $xeTable.computeColumnDragOpts;
11744
+ const aggregateOpts = $xeTable.computeAggregateOpts;
11745
+ const {
11746
+ placement: aggPlacement
11747
+ } = aggregateOpts;
11737
11748
  const {
11749
+ mode,
11738
11750
  immediate,
11739
11751
  showSortDragButton,
11740
11752
  showSortMoveButton,
11741
- showSortPutButton
11742
- } = customOpts;
11743
- const columnDragOpts = $xeTable.computeColumnDragOpts;
11744
- const {
11745
- mode,
11753
+ showSortPutButton,
11746
11754
  modalOptions,
11747
11755
  drawerOptions,
11748
11756
  allowVisible,
11749
11757
  allowSort,
11750
11758
  allowFixed,
11751
11759
  allowResizable,
11760
+ allowGroup,
11761
+ allowValues,
11752
11762
  checkMethod,
11753
11763
  visibleMethod
11754
11764
  } = customOpts;
@@ -11776,6 +11786,7 @@ function panel_hideDropTip($xeTableCustomPanel) {
11776
11786
  const trVNs = [];
11777
11787
  const isAllChecked = customStore.isAll;
11778
11788
  const isAllIndeterminate = customStore.isIndeterminate;
11789
+ const isAggRtBmLayout = aggPlacement === 'right' || aggPlacement === 'bottom';
11779
11790
  const params = {
11780
11791
  $table: $xeTable,
11781
11792
  $grid: $xeGrid,
@@ -11856,7 +11867,7 @@ function panel_hideDropTip($xeTableCustomPanel) {
11856
11867
  class: 'vxe-table-custom-popup--column-item col--name'
11857
11868
  }, [h('div', {
11858
11869
  class: 'vxe-table-custom-popup--name'
11859
- }, [allowSort ? showSortDragButton && (showSortBtn ? h('div', {
11870
+ }, [allowSort && showSortDragButton || allowGroup || allowValues ? showSortBtn || (allowGroup || allowValues) && !isColGroup ? h('div', {
11860
11871
  class: ['vxe-table-custom-popup--column-sort-btn', {
11861
11872
  'is--disabled': isHidden
11862
11873
  }],
@@ -11871,7 +11882,7 @@ function panel_hideDropTip($xeTableCustomPanel) {
11871
11882
  class: panel_getIcon().TABLE_CUSTOM_SORT
11872
11883
  })]) : h('div', {
11873
11884
  class: 'vxe-table-custom-popup--column-sort-placeholder'
11874
- })) : panel_renderEmptyElement($xeTable), column.type === 'html' ? h('div', {
11885
+ }) : panel_renderEmptyElement($xeTable), column.type === 'html' ? h('div', {
11875
11886
  key: '1',
11876
11887
  class: 'vxe-table-custom-popup--title',
11877
11888
  domProps: {
@@ -11989,8 +12000,8 @@ function panel_hideDropTip($xeTableCustomPanel) {
11989
12000
  default: () => {
11990
12001
  return h('div', {
11991
12002
  ref: 'refBodyWrapperElem',
11992
- class: 'vxe-table-custom-popup--body-wrapper'
11993
- }, defaultSlot ? $xeTable.callSlot(defaultSlot, params, h) : [!treeConfig && (aggregateConfig || rowGroupConfig) && $xeTable.getPivotTableAggregatePopupPanel ? h($xeTable.getPivotTableAggregatePopupPanel(), {
12003
+ class: ['vxe-table-custom-popup--body-wrapper', `agg-layout--${aggPlacement}`]
12004
+ }, defaultSlot ? $xeTable.callSlot(defaultSlot, params, h) : [!isAggRtBmLayout && !treeConfig && (aggregateConfig || rowGroupConfig) && $xeTable.getPivotTableAggregatePopupPanel ? h($xeTable.getPivotTableAggregatePopupPanel(), {
11994
12005
  props: {
11995
12006
  customStore
11996
12007
  }
@@ -12032,7 +12043,11 @@ function panel_hideDropTip($xeTableCustomPanel) {
12032
12043
  }
12033
12044
  }, trVNs)])]), bottomSlot ? h('div', {
12034
12045
  class: 'vxe-table-custom-popup--table-bottom'
12035
- }, $xeTable.callSlot(bottomSlot, params, h)) : panel_renderEmptyElement($xeTable), $xeTableCustomPanel.renderDragTip(h)])]);
12046
+ }, $xeTable.callSlot(bottomSlot, params, h)) : panel_renderEmptyElement($xeTable), $xeTableCustomPanel.renderDragTip(h)]), isAggRtBmLayout && !treeConfig && (aggregateConfig || rowGroupConfig) && $xeTable.getPivotTableAggregatePopupPanel ? h($xeTable.getPivotTableAggregatePopupPanel(), {
12047
+ props: {
12048
+ customStore
12049
+ }
12050
+ }) : panel_renderEmptyElement($xeTable)]);
12036
12051
  },
12037
12052
  footer: () => {
12038
12053
  if (footerSlot) {
@@ -14468,8 +14483,9 @@ const {
14468
14483
  $gantt: $xeGantt,
14469
14484
  $event: evnt
14470
14485
  });
14471
- if (gMenuOpts && gMenuOpts.menuMethod) {
14472
- gMenuOpts.menuMethod(params, evnt);
14486
+ const tmMethod = gMenuOpts ? gMenuOpts.tableMenuMethod || gMenuOpts.menuMethod : null;
14487
+ if (tmMethod) {
14488
+ tmMethod(params, evnt);
14473
14489
  }
14474
14490
  // 在 v4 中废弃事件 context-menu-click
14475
14491
  if ($xeTable.$listeners['context-menu-click']) {
@@ -18825,10 +18841,10 @@ function beginValidate($xeTable, rows, cols, cb, isFull) {
18825
18841
  editRules
18826
18842
  } = this;
18827
18843
  const {
18828
- property
18844
+ field
18829
18845
  } = column;
18830
- if (property && editRules) {
18831
- const rules = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(editRules, property);
18846
+ if (field && editRules) {
18847
+ const rules = column.rules ? column.rules : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(editRules, field);
18832
18848
  return rules && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().find(rules, rule => type === 'all' || !rule.trigger || type === rule.trigger);
18833
18849
  }
18834
18850
  return false;
@@ -18860,7 +18876,7 @@ function beginValidate($xeTable, rows, cols, cb, isFull) {
18860
18876
  const errorRules = [];
18861
18877
  const syncValidList = [];
18862
18878
  if (field && editRules) {
18863
- const rules = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(editRules, field);
18879
+ const rules = column.rules ? column.rules : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(editRules, field);
18864
18880
  if (rules) {
18865
18881
  const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isUndefined(val) ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, field) : val;
18866
18882
  rules.forEach(rule => {
@@ -21507,7 +21523,7 @@ function renderBody(h, $xeTable) {
21507
21523
  warnLog('vxe.error.errConflicts', ['mouse-config.area', 'mouse-config.selected']);
21508
21524
  }
21509
21525
  if (mouseOpts.area && props.treeConfig && !treeOpts.transform) {
21510
- errLog('vxe.error.noTree', ['mouse-config.area']);
21526
+ errLog('vxe.error.notSupportProp', ['mouse-config.area', 'tree-config.transform=false', 'tree-config.transform=true']);
21511
21527
  }
21512
21528
  if (props.editConfig && editOpts.activeMethod) {
21513
21529
  warnLog('vxe.error.delProp', ['table.edit-config.activeMethod', 'table.edit-config.beforeEditMethod']);
@@ -26988,7 +27004,8 @@ const Toolbar = VxeToolbar;
26988
27004
  select: {
26989
27005
  clear: '清除',
26990
27006
  allChecked: '全选',
26991
- total: '{0} / {1}',
27007
+ total: '已选 {0} 项',
27008
+ close: '关闭',
26992
27009
  search: '搜索',
26993
27010
  loadingText: '加载中...',
26994
27011
  emptyText: '暂无数据',
@@ -27005,7 +27022,8 @@ const Toolbar = VxeToolbar;
27005
27022
  allChecked: '全选',
27006
27023
  allExpand: '全部展开',
27007
27024
  clearExpand: '全部收起',
27008
- total: '已选 {0}',
27025
+ total: '已选 {0} 项',
27026
+ close: '关闭',
27009
27027
  search: '搜索',
27010
27028
  emptyText: '暂无数据'
27011
27029
  },
@@ -27048,7 +27066,7 @@ const Toolbar = VxeToolbar;
27048
27066
  cstmDragTarget: '移动:{0}',
27049
27067
  setting: {
27050
27068
  colSort: '排序',
27051
- sortHelpTip: '点击并拖动图标可以调整顺序',
27069
+ sortHelpTip: '点击图标开始拖动',
27052
27070
  colTitle: '列标题',
27053
27071
  colResizable: '列宽(像素)',
27054
27072
  colVisible: '是否显示',
@@ -27534,7 +27552,7 @@ const Toolbar = VxeToolbar;
27534
27552
  groupPlaceholder: '拖至此处进行分组',
27535
27553
  valuesPlaceholder: '拖至此处进行聚合',
27536
27554
  dragExistCol: '该列已存在',
27537
- sortHelpTip: '点击并拖动图标可以调整顺序'
27555
+ sortHelpTip: '点击图标开始拖动'
27538
27556
  },
27539
27557
  aggFuncs: {
27540
27558
  sum: '求和',