vxe-table 3.11.36 → 3.11.38-beta.0

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 (119) hide show
  1. package/es/locale/lang/ar-EG.js +9 -0
  2. package/es/locale/lang/de-DE.js +9 -0
  3. package/es/locale/lang/en-US.js +9 -0
  4. package/es/locale/lang/es-ES.js +9 -0
  5. package/es/locale/lang/fr-FR.js +9 -0
  6. package/es/locale/lang/hu-HU.js +9 -0
  7. package/es/locale/lang/hy-AM.js +9 -0
  8. package/es/locale/lang/ja-JP.js +9 -0
  9. package/es/locale/lang/ko-KR.js +9 -0
  10. package/es/locale/lang/nb-NO.js +9 -0
  11. package/es/locale/lang/pt-BR.js +9 -0
  12. package/es/locale/lang/ru-RU.js +9 -0
  13. package/es/locale/lang/ug-CN.js +9 -0
  14. package/es/locale/lang/uk-UA.js +9 -0
  15. package/es/locale/lang/vi-VN.js +9 -0
  16. package/es/locale/lang/zh-CHT.js +9 -0
  17. package/es/locale/lang/zh-CN.js +9 -0
  18. package/es/style.css +1 -1
  19. package/es/table/render/index.js +42 -4
  20. package/es/table/src/body.js +4 -4
  21. package/es/table/src/footer.js +4 -2
  22. package/es/table/src/header.js +4 -2
  23. package/es/table/src/methods.js +1 -1
  24. package/es/table/src/table.js +6 -3
  25. package/es/ui/index.js +1 -1
  26. package/es/ui/src/log.js +1 -1
  27. package/lib/index.umd.js +82 -15
  28. package/lib/index.umd.min.js +1 -1
  29. package/lib/locale/lang/ar-EG.js +9 -0
  30. package/lib/locale/lang/ar-EG.min.js +1 -1
  31. package/lib/locale/lang/de-DE.js +9 -0
  32. package/lib/locale/lang/de-DE.min.js +1 -1
  33. package/lib/locale/lang/en-US.js +9 -0
  34. package/lib/locale/lang/en-US.min.js +1 -1
  35. package/lib/locale/lang/en-US.umd.js +9 -0
  36. package/lib/locale/lang/es-ES.js +9 -0
  37. package/lib/locale/lang/es-ES.min.js +1 -1
  38. package/lib/locale/lang/es-ES.umd.js +9 -0
  39. package/lib/locale/lang/fr-FR.js +9 -0
  40. package/lib/locale/lang/fr-FR.min.js +1 -1
  41. package/lib/locale/lang/hu-HU.js +9 -0
  42. package/lib/locale/lang/hu-HU.min.js +1 -1
  43. package/lib/locale/lang/hu-HU.umd.js +9 -0
  44. package/lib/locale/lang/hy-AM.js +9 -0
  45. package/lib/locale/lang/hy-AM.min.js +1 -1
  46. package/lib/locale/lang/ja-JP.js +9 -0
  47. package/lib/locale/lang/ja-JP.min.js +1 -1
  48. package/lib/locale/lang/ja-JP.umd.js +9 -0
  49. package/lib/locale/lang/ko-KR.js +9 -0
  50. package/lib/locale/lang/ko-KR.min.js +1 -1
  51. package/lib/locale/lang/ko-KR.umd.js +9 -0
  52. package/lib/locale/lang/nb-NO.js +9 -0
  53. package/lib/locale/lang/nb-NO.min.js +1 -1
  54. package/lib/locale/lang/pt-BR.js +9 -0
  55. package/lib/locale/lang/pt-BR.min.js +1 -1
  56. package/lib/locale/lang/pt-BR.umd.js +9 -0
  57. package/lib/locale/lang/ru-RU.js +9 -0
  58. package/lib/locale/lang/ru-RU.min.js +1 -1
  59. package/lib/locale/lang/ru-RU.umd.js +9 -0
  60. package/lib/locale/lang/ug-CN.js +9 -0
  61. package/lib/locale/lang/ug-CN.min.js +1 -1
  62. package/lib/locale/lang/uk-UA.js +9 -0
  63. package/lib/locale/lang/uk-UA.min.js +1 -1
  64. package/lib/locale/lang/uk-UA.umd.js +9 -0
  65. package/lib/locale/lang/vi-VN.js +9 -0
  66. package/lib/locale/lang/vi-VN.min.js +1 -1
  67. package/lib/locale/lang/zh-CHT.js +9 -0
  68. package/lib/locale/lang/zh-CHT.min.js +1 -1
  69. package/lib/locale/lang/zh-CHT.umd.js +9 -0
  70. package/lib/locale/lang/zh-CN.js +9 -0
  71. package/lib/locale/lang/zh-CN.min.js +1 -1
  72. package/lib/locale/lang/zh-CN.umd.js +9 -0
  73. package/lib/style.css +1 -1
  74. package/lib/table/render/index.js +53 -4
  75. package/lib/table/render/index.min.js +1 -1
  76. package/lib/table/src/body.js +4 -3
  77. package/lib/table/src/body.min.js +1 -1
  78. package/lib/table/src/footer.js +4 -1
  79. package/lib/table/src/footer.min.js +1 -1
  80. package/lib/table/src/header.js +4 -1
  81. package/lib/table/src/header.min.js +1 -1
  82. package/lib/table/src/methods.js +1 -1
  83. package/lib/table/src/methods.min.js +1 -1
  84. package/lib/table/src/table.js +5 -3
  85. package/lib/table/src/table.min.js +1 -1
  86. package/lib/ui/index.js +1 -1
  87. package/lib/ui/index.min.js +1 -1
  88. package/lib/ui/src/log.js +1 -1
  89. package/lib/ui/src/log.min.js +1 -1
  90. package/package.json +2 -2
  91. package/packages/locale/lang/ar-EG.ts +9 -0
  92. package/packages/locale/lang/de-DE.ts +9 -0
  93. package/packages/locale/lang/en-US.ts +9 -0
  94. package/packages/locale/lang/es-ES.ts +9 -0
  95. package/packages/locale/lang/fr-FR.ts +9 -0
  96. package/packages/locale/lang/hu-HU.ts +9 -0
  97. package/packages/locale/lang/hy-AM.ts +9 -0
  98. package/packages/locale/lang/ja-JP.ts +9 -0
  99. package/packages/locale/lang/ko-KR.ts +9 -0
  100. package/packages/locale/lang/nb-NO.ts +9 -0
  101. package/packages/locale/lang/pt-BR.ts +9 -0
  102. package/packages/locale/lang/ru-RU.ts +9 -0
  103. package/packages/locale/lang/ug-CN.ts +9 -0
  104. package/packages/locale/lang/uk-UA.ts +9 -0
  105. package/packages/locale/lang/vi-VN.ts +9 -0
  106. package/packages/locale/lang/zh-CHT.ts +9 -0
  107. package/packages/locale/lang/zh-CN.ts +9 -0
  108. package/packages/table/render/index.ts +42 -4
  109. package/packages/table/src/body.ts +4 -3
  110. package/packages/table/src/footer.ts +4 -2
  111. package/packages/table/src/header.ts +4 -2
  112. package/packages/table/src/methods.ts +1 -1
  113. package/packages/table/src/table.ts +6 -3
  114. /package/es/{iconfont.1734659093549.ttf → iconfont.1734966464342.ttf} +0 -0
  115. /package/es/{iconfont.1734659093549.woff → iconfont.1734966464342.woff} +0 -0
  116. /package/es/{iconfont.1734659093549.woff2 → iconfont.1734966464342.woff2} +0 -0
  117. /package/lib/{iconfont.1734659093549.ttf → iconfont.1734966464342.ttf} +0 -0
  118. /package/lib/{iconfont.1734659093549.woff → iconfont.1734966464342.woff} +0 -0
  119. /package/lib/{iconfont.1734659093549.woff2 → iconfont.1734966464342.woff2} +0 -0
@@ -19,7 +19,7 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
19
19
  }
20
20
  function renderRows(h, _vm, tableColumn, footerTableData, row, $rowIndex, _rowIndex) {
21
21
  const { $parent: $xetable, fixedType } = _vm;
22
- const { $listeners: tableListeners, footerCellClassName, footerCellStyle, footerAlign: allFooterAlign, mergeFooterList, footerSpanMethod, align: allAlign, scrollXLoad, columnKey, columnOpts, showFooterOverflow: allColumnFooterOverflow, currentColumn, overflowX, scrollbarWidth, tooltipOpts } = $xetable;
22
+ const { $listeners: tableListeners, footerCellClassName, footerCellStyle, footerAlign: allFooterAlign, mergeFooterList, footerSpanMethod, align: allAlign, scrollXLoad, columnKey, columnOpts, showFooterOverflow: allColumnFooterOverflow, currentColumn, overflowX, scrollYLoad, scrollbarWidth, tooltipOpts } = $xetable;
23
23
  return tableColumn.map((column, $columnIndex) => {
24
24
  const { type, showFooterOverflow, footerAlign, align, footerClassName, editRender, cellRender } = column;
25
25
  const renderOpts = editRender || cellRender;
@@ -128,7 +128,7 @@ function renderRows(h, _vm, tableColumn, footerTableData, row, $rowIndex, _rowIn
128
128
  attrs,
129
129
  style: footerCellStyle ? (XEUtils.isFunction(footerCellStyle) ? footerCellStyle(cellParams) : footerCellStyle) : null,
130
130
  on: tfOns,
131
- key: columnKey || columnOpts.useKey || columnOpts.drag ? column.id : $columnIndex
131
+ key: columnKey || scrollXLoad || scrollYLoad || columnOpts.useKey || columnOpts.drag ? column.id : $columnIndex
132
132
  }, [
133
133
  h('div', {
134
134
  class: ['vxe-cell', {
@@ -158,6 +158,7 @@ function renderHeads(h, _vm, footerTableData) {
158
158
  const rowParams = { $table: $xetable, row, _rowIndex, $rowIndex, fixed: fixedType, type: renderType };
159
159
  if (columnOpts.drag && columnDragOpts.animation) {
160
160
  return h('transition-group', {
161
+ key: $rowIndex,
161
162
  props: {
162
163
  tag: 'tr',
163
164
  name: `vxe-header--col-list${isDragColMove ? '' : '-disabled'}`,
@@ -170,6 +171,7 @@ function renderHeads(h, _vm, footerTableData) {
170
171
  }, renderRows(h, _vm, tableColumn, footerTableData, row, $rowIndex, _rowIndex));
171
172
  }
172
173
  return h('tr', {
174
+ key: $rowIndex,
173
175
  class: [
174
176
  'vxe-footer--row',
175
177
  footerRowClassName ? XEUtils.isFunction(footerRowClassName) ? footerRowClassName(rowParams) : footerRowClassName : ''
@@ -9,7 +9,7 @@ const renderRows = (h, _vm, cols, $rowIndex) => {
9
9
  const $xeTable = _vm.$parent;
10
10
  const $xeGrid = $xeTable.xegrid;
11
11
  const { fixedType } = _vm;
12
- const { resizable: allResizable, border, columnKey, headerCellClassName, headerCellStyle, showHeaderOverflow: allColumnHeaderOverflow, headerAlign: allHeaderAlign, align: allAlign, currentColumn, scrollXLoad, overflowX, scrollbarWidth, mouseConfig, columnOpts } = $xeTable;
12
+ const { resizable: allResizable, border, columnKey, headerCellClassName, headerCellStyle, showHeaderOverflow: allColumnHeaderOverflow, headerAlign: allHeaderAlign, align: allAlign, currentColumn, scrollXLoad, scrollYLoad, overflowX, scrollbarWidth, mouseConfig, columnOpts } = $xeTable;
13
13
  const columnDragOpts = $xeTable.computeColumnDragOpts;
14
14
  const { disabledMethod: dragDisabledMethod } = columnDragOpts;
15
15
  return cols.map((column, $columnIndex) => {
@@ -81,7 +81,7 @@ const renderRows = (h, _vm, cols, $rowIndex) => {
81
81
  attrs: thAttrs,
82
82
  style: headerCellStyle ? (XEUtils.isFunction(headerCellStyle) ? headerCellStyle(params) : headerCellStyle) : null,
83
83
  on: thOns,
84
- key: columnKey || columnOpts.useKey || columnOpts.drag || isColGroup ? colid : $columnIndex
84
+ key: columnKey || scrollXLoad || scrollYLoad || columnOpts.useKey || columnOpts.drag || isColGroup ? colid : $columnIndex
85
85
  }, [
86
86
  h('div', {
87
87
  class: ['vxe-cell', {
@@ -125,6 +125,7 @@ function renderHeads(h, _vm, headerGroups) {
125
125
  const params = { $table: $xeTable, $rowIndex, fixed: fixedType, type: cellType };
126
126
  if (columnOpts.drag && columnDragOpts.animation) {
127
127
  return h('transition-group', {
128
+ key: $rowIndex,
128
129
  props: {
129
130
  tag: 'tr',
130
131
  name: `vxe-header--col-list${isDragColMove ? '' : '-disabled'}`,
@@ -137,6 +138,7 @@ function renderHeads(h, _vm, headerGroups) {
137
138
  }, renderRows(h, _vm, cols, $rowIndex));
138
139
  }
139
140
  return h('tr', {
141
+ key: $rowIndex,
140
142
  class: [
141
143
  'vxe-header--row',
142
144
  headerRowClassName ? XEUtils.isFunction(headerRowClassName) ? headerRowClassName(params) : headerRowClassName : ''
@@ -6728,7 +6728,7 @@ const Methods = {
6728
6728
  const internalData = $xeTable;
6729
6729
  const { lyTimeout, lyRunTime, scrollYStore } = internalData;
6730
6730
  const { visibleSize } = scrollYStore;
6731
- const fpsTime = Math.min(80, Math.floor(visibleSize * 2));
6731
+ const fpsTime = Math.min(80, Math.floor(visibleSize));
6732
6732
  if (lyTimeout) {
6733
6733
  clearTimeout(lyTimeout);
6734
6734
  }
@@ -708,8 +708,10 @@ export default {
708
708
  }
709
709
  return false;
710
710
  },
711
- tableBorder() {
712
- const { border } = this;
711
+ computeTableBorder() {
712
+ const $xeTable = this;
713
+ const props = $xeTable;
714
+ const { border } = props;
713
715
  if (border === true) {
714
716
  return 'full';
715
717
  }
@@ -1160,11 +1162,12 @@ export default {
1160
1162
  const VxeUITooltipComponent = VxeUI.getComponent('VxeTooltip');
1161
1163
  const $xeTable = this;
1162
1164
  const $xeGrid = $xeTable.$xeGrid;
1163
- const { _e, $scopedSlots, tId, isCalcColumn, tableData, tableColumn, tableGroupColumn, isGroup, loading, stripe, showHeader, height, tableBorder, treeOpts, treeConfig, mouseConfig, mouseOpts, areaOpts, computeSize, validOpts, showFooter, overflowX, overflowY, scrollXLoad, scrollYLoad, scrollbarHeight, highlightCell, highlightHoverRow, highlightHoverColumn, editConfig, validTipOpts, initStore, columnStore, filterStore, customStore, ctxMenuStore, ctxMenuOpts, footerTableData, columnOpts, rowOpts, checkboxOpts, loadingOpts, resizableOpts, editRules } = $xeTable;
1165
+ const { _e, $scopedSlots, tId, isCalcColumn, tableData, tableColumn, tableGroupColumn, isGroup, loading, stripe, showHeader, height, treeOpts, treeConfig, mouseConfig, mouseOpts, areaOpts, computeSize, validOpts, showFooter, overflowX, overflowY, scrollXLoad, scrollYLoad, scrollbarHeight, highlightCell, highlightHoverRow, highlightHoverColumn, editConfig, validTipOpts, initStore, columnStore, filterStore, customStore, ctxMenuStore, ctxMenuOpts, footerTableData, columnOpts, rowOpts, checkboxOpts, loadingOpts, resizableOpts, editRules } = $xeTable;
1164
1166
  const { leftList, rightList } = columnStore;
1165
1167
  const loadingSlot = $scopedSlots.loading;
1166
1168
  const currLoading = this._isLoading || loading;
1167
1169
  const vSize = computeSize;
1170
+ const tableBorder = $xeTable.computeTableBorder;
1168
1171
  const virtualScrollBars = $xeTable.computeVirtualScrollBars;
1169
1172
  const isArea = mouseConfig && mouseOpts.area;
1170
1173
  const tableStyle = $xeTable.computeTableStyle;
package/es/ui/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  import { getFuncText } from './src/utils';
3
- export const version = "3.11.36";
3
+ export const version = "3.11.38-beta.0";
4
4
  VxeUI.version = version;
5
5
  VxeUI.tableVersion = version;
6
6
  VxeUI.setConfig({
package/es/ui/src/log.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  const { log } = VxeUI;
3
- const version = `table v${"3.11.36"}`;
3
+ const version = `table v${"3.11.38-beta.0"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
package/lib/index.umd.js CHANGED
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
2220
2220
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
2221
2221
 
2222
2222
 
2223
- const version = "3.11.36";
2223
+ const version = "3.11.38-beta.0";
2224
2224
  core_.VxeUI.version = version;
2225
2225
  core_.VxeUI.tableVersion = version;
2226
2226
  core_.VxeUI.setConfig({
@@ -2793,7 +2793,7 @@ function isNodeElement(elem) {
2793
2793
  const {
2794
2794
  log: log_log
2795
2795
  } = core_.VxeUI;
2796
- const log_version = `table v${"3.11.36"}`;
2796
+ const log_version = `table v${"3.11.38-beta.0"}`;
2797
2797
  const warnLog = log_log.create('warn', log_version);
2798
2798
  const errLog = log_log.create('error', log_version);
2799
2799
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -12918,7 +12918,7 @@ const Methods = {
12918
12918
  const {
12919
12919
  visibleSize
12920
12920
  } = scrollYStore;
12921
- const fpsTime = Math.min(80, Math.floor(visibleSize * 2));
12921
+ const fpsTime = Math.min(80, Math.floor(visibleSize));
12922
12922
  if (lyTimeout) {
12923
12923
  clearTimeout(lyTimeout);
12924
12924
  }
@@ -14070,7 +14070,7 @@ function renderColumn(h, _vm, $xetable, seq, rowid, fixedType, rowLevel, row, ro
14070
14070
  'col--valid-error': !!errorValidItem,
14071
14071
  'col--current': currentColumn === column
14072
14072
  }, getClass(compCellClassName, params), getClass(className, params), getClass(allCellClassName, params)],
14073
- key: columnKey || columnOpts.useKey || rowOpts.useKey || columnOpts.drag ? column.id : $columnIndex,
14073
+ key: columnKey || scrollXLoad || scrollYLoad || columnOpts.useKey || rowOpts.useKey || columnOpts.drag ? column.id : $columnIndex,
14074
14074
  attrs,
14075
14075
  style: Object.assign({
14076
14076
  height: cellHeight
@@ -14094,6 +14094,7 @@ function renderRows(h, _vm, $xeTable, fixedType, tableData, tableColumn) {
14094
14094
  expandOpts,
14095
14095
  editOpts,
14096
14096
  treeExpandedMaps,
14097
+ scrollXLoad,
14097
14098
  scrollYLoad,
14098
14099
  rowExpandedMaps,
14099
14100
  radioOpts,
@@ -14208,7 +14209,7 @@ function renderRows(h, _vm, $xeTable, fixedType, tableData, tableColumn) {
14208
14209
  rowid
14209
14210
  },
14210
14211
  style: rowStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(rowStyle) ? rowStyle(params) : rowStyle : null,
14211
- key: rowKey || rowOpts.useKey || rowOpts.drag || columnOpts.drag || treeConfig ? rowid : $rowIndex,
14212
+ key: rowKey || scrollXLoad || scrollYLoad || rowOpts.useKey || rowOpts.drag || columnOpts.drag || treeConfig ? rowid : $rowIndex,
14212
14213
  nativeOn: trOn
14213
14214
  }, tdVNs) : h('tr', {
14214
14215
  class: trClass,
@@ -14216,7 +14217,7 @@ function renderRows(h, _vm, $xeTable, fixedType, tableData, tableColumn) {
14216
14217
  rowid
14217
14218
  },
14218
14219
  style: rowStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(rowStyle) ? rowStyle(params) : rowStyle : null,
14219
- key: rowKey || rowOpts.useKey || rowOpts.drag || columnOpts.drag || treeConfig ? rowid : $rowIndex,
14220
+ key: rowKey || scrollXLoad || scrollYLoad || rowOpts.useKey || rowOpts.drag || columnOpts.drag || treeConfig ? rowid : $rowIndex,
14220
14221
  on: trOn
14221
14222
  }, tdVNs));
14222
14223
  // 如果行被展开了
@@ -14722,6 +14723,7 @@ const header_renderRows = (h, _vm, cols, $rowIndex) => {
14722
14723
  align: allAlign,
14723
14724
  currentColumn,
14724
14725
  scrollXLoad,
14726
+ scrollYLoad,
14725
14727
  overflowX,
14726
14728
  scrollbarWidth,
14727
14729
  mouseConfig,
@@ -14820,7 +14822,7 @@ const header_renderRows = (h, _vm, cols, $rowIndex) => {
14820
14822
  attrs: thAttrs,
14821
14823
  style: headerCellStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(headerCellStyle) ? headerCellStyle(params) : headerCellStyle : null,
14822
14824
  on: thOns,
14823
- key: columnKey || columnOpts.useKey || columnOpts.drag || isColGroup ? colid : $columnIndex
14825
+ key: columnKey || scrollXLoad || scrollYLoad || columnOpts.useKey || columnOpts.drag || isColGroup ? colid : $columnIndex
14824
14826
  }, [h('div', {
14825
14827
  class: ['vxe-cell', {
14826
14828
  'c--title': showTitle,
@@ -14868,6 +14870,7 @@ function renderHeads(h, _vm, headerGroups) {
14868
14870
  };
14869
14871
  if (columnOpts.drag && columnDragOpts.animation) {
14870
14872
  return h('transition-group', {
14873
+ key: $rowIndex,
14871
14874
  props: {
14872
14875
  tag: 'tr',
14873
14876
  name: `vxe-header--col-list${isDragColMove ? '' : '-disabled'}`,
@@ -14877,6 +14880,7 @@ function renderHeads(h, _vm, headerGroups) {
14877
14880
  }, header_renderRows(h, _vm, cols, $rowIndex));
14878
14881
  }
14879
14882
  return h('tr', {
14883
+ key: $rowIndex,
14880
14884
  class: ['vxe-header--row', headerRowClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(headerRowClassName) ? headerRowClassName(params) : headerRowClassName : ''],
14881
14885
  style: headerRowStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(headerRowStyle) ? headerRowStyle(params) : headerRowStyle : null
14882
14886
  }, header_renderRows(h, _vm, cols, $rowIndex));
@@ -15210,6 +15214,7 @@ function footer_renderRows(h, _vm, tableColumn, footerTableData, row, $rowIndex,
15210
15214
  showFooterOverflow: allColumnFooterOverflow,
15211
15215
  currentColumn,
15212
15216
  overflowX,
15217
+ scrollYLoad,
15213
15218
  scrollbarWidth,
15214
15219
  tooltipOpts
15215
15220
  } = $xetable;
@@ -15339,7 +15344,7 @@ function footer_renderRows(h, _vm, tableColumn, footerTableData, row, $rowIndex,
15339
15344
  attrs,
15340
15345
  style: footerCellStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(footerCellStyle) ? footerCellStyle(cellParams) : footerCellStyle : null,
15341
15346
  on: tfOns,
15342
- key: columnKey || columnOpts.useKey || columnOpts.drag ? column.id : $columnIndex
15347
+ key: columnKey || scrollXLoad || scrollYLoad || columnOpts.useKey || columnOpts.drag ? column.id : $columnIndex
15343
15348
  }, [h('div', {
15344
15349
  class: ['vxe-cell', {
15345
15350
  'c--title': showTitle,
@@ -15378,6 +15383,7 @@ function footer_renderHeads(h, _vm, footerTableData) {
15378
15383
  };
15379
15384
  if (columnOpts.drag && columnDragOpts.animation) {
15380
15385
  return h('transition-group', {
15386
+ key: $rowIndex,
15381
15387
  props: {
15382
15388
  tag: 'tr',
15383
15389
  name: `vxe-header--col-list${isDragColMove ? '' : '-disabled'}`,
@@ -15387,6 +15393,7 @@ function footer_renderHeads(h, _vm, footerTableData) {
15387
15393
  }, footer_renderRows(h, _vm, tableColumn, footerTableData, row, $rowIndex, _rowIndex));
15388
15394
  }
15389
15395
  return h('tr', {
15396
+ key: $rowIndex,
15390
15397
  class: ['vxe-footer--row', footerRowClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(footerRowClassName) ? footerRowClassName(rowParams) : footerRowClassName : ''],
15391
15398
  style: footerRowStyle ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(footerRowStyle) ? footerRowStyle(rowParams) : footerRowStyle : null
15392
15399
  }, footer_renderRows(h, _vm, tableColumn, footerTableData, row, $rowIndex, _rowIndex));
@@ -23823,10 +23830,12 @@ function handleUupdateResize(_vm) {
23823
23830
  }
23824
23831
  return false;
23825
23832
  },
23826
- tableBorder() {
23833
+ computeTableBorder() {
23834
+ const $xeTable = this;
23835
+ const props = $xeTable;
23827
23836
  const {
23828
23837
  border
23829
- } = this;
23838
+ } = props;
23830
23839
  if (border === true) {
23831
23840
  return 'full';
23832
23841
  }
@@ -24325,7 +24334,6 @@ function handleUupdateResize(_vm) {
24325
24334
  stripe,
24326
24335
  showHeader,
24327
24336
  height,
24328
- tableBorder,
24329
24337
  treeOpts,
24330
24338
  treeConfig,
24331
24339
  mouseConfig,
@@ -24365,6 +24373,7 @@ function handleUupdateResize(_vm) {
24365
24373
  const loadingSlot = $scopedSlots.loading;
24366
24374
  const currLoading = this._isLoading || loading;
24367
24375
  const vSize = computeSize;
24376
+ const tableBorder = $xeTable.computeTableBorder;
24368
24377
  const virtualScrollBars = $xeTable.computeVirtualScrollBars;
24369
24378
  const isArea = mouseConfig && mouseOpts.area;
24370
24379
  const tableStyle = $xeTable.computeTableStyle;
@@ -27417,7 +27426,7 @@ function defaultSelectEditRender(h, renderOpts, params) {
27417
27426
  on: getEditOns(renderOpts, params)
27418
27427
  })];
27419
27428
  }
27420
- function defaultTreeSelectEditRender(h, renderOpts, params) {
27429
+ function defaultTableOrTreeSelectEditRender(h, renderOpts, params) {
27421
27430
  const {
27422
27431
  row,
27423
27432
  column
@@ -27758,7 +27767,7 @@ render_renderer.mixin({
27758
27767
  },
27759
27768
  VxeTreeSelect: {
27760
27769
  tableAutoFocus: 'input',
27761
- renderTableEdit: defaultTreeSelectEditRender,
27770
+ renderTableEdit: defaultTableOrTreeSelectEditRender,
27762
27771
  renderTableCell(h, renderOpts, params) {
27763
27772
  return getCellLabelVNs(h, renderOpts, params, getTreeSelectCellValue(renderOpts, params));
27764
27773
  },
@@ -27766,15 +27775,64 @@ render_renderer.mixin({
27766
27775
  },
27767
27776
  VxeTableSelect: {
27768
27777
  tableAutoFocus: 'input',
27769
- renderTableEdit: defaultTreeSelectEditRender,
27778
+ renderTableEdit: defaultTableOrTreeSelectEditRender,
27770
27779
  renderTableCell(h, renderOpts, params) {
27771
27780
  return getCellLabelVNs(h, renderOpts, params, getTreeSelectCellValue(renderOpts, params));
27772
27781
  },
27773
27782
  tableExportMethod: handleExportTreeSelectMethod
27774
27783
  },
27784
+ VxeColorPicker: {
27785
+ tableAutoFocus: 'input',
27786
+ renderTableEdit(h, renderOpts, params) {
27787
+ const {
27788
+ row,
27789
+ column
27790
+ } = params;
27791
+ const {
27792
+ options
27793
+ } = renderOpts;
27794
+ const cellValue = getCellValue(row, column);
27795
+ return [h(getDefaultComponent(renderOpts), {
27796
+ props: getCellEditProps(renderOpts, params, cellValue, {
27797
+ colors: options
27798
+ }),
27799
+ on: getEditOns(renderOpts, params)
27800
+ })];
27801
+ },
27802
+ renderTableCell(h, renderOpts, params) {
27803
+ const {
27804
+ row,
27805
+ column
27806
+ } = params;
27807
+ const cellValue = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, column.field);
27808
+ return h('span', {
27809
+ class: 'vxe-color-picker--readonly'
27810
+ }, [h('div', {
27811
+ class: 'vxe-color-picker--readonly-color',
27812
+ style: {
27813
+ backgroundColor: cellValue
27814
+ }
27815
+ })]);
27816
+ }
27817
+ },
27775
27818
  VxeIconPicker: {
27776
27819
  tableAutoFocus: 'input',
27777
- renderTableEdit: defaultEditRender,
27820
+ renderTableEdit(h, renderOpts, params) {
27821
+ const {
27822
+ row,
27823
+ column
27824
+ } = params;
27825
+ const {
27826
+ options
27827
+ } = renderOpts;
27828
+ const cellValue = getCellValue(row, column);
27829
+ return [h(getDefaultComponent(renderOpts), {
27830
+ props: getCellEditProps(renderOpts, params, cellValue, {
27831
+ icons: options
27832
+ }),
27833
+ on: getEditOns(renderOpts, params)
27834
+ })];
27835
+ },
27778
27836
  renderTableCell(h, renderOpts, params) {
27779
27837
  const {
27780
27838
  row,
@@ -28347,6 +28405,11 @@ const Toolbar = VxeToolbar;
28347
28405
  empty: {
28348
28406
  defText: '暂无数据'
28349
28407
  },
28408
+ colorPicker: {
28409
+ clear: '清除',
28410
+ confirm: '确认',
28411
+ copySuccess: '已复制到剪贴板:{0}'
28412
+ },
28350
28413
  formDesign: {
28351
28414
  formName: '表单名称',
28352
28415
  defFormTitle: '未命名的表单',
@@ -28539,6 +28602,10 @@ const Toolbar = VxeToolbar;
28539
28602
  cell: '单元格',
28540
28603
  value: '值'
28541
28604
  },
28605
+ body: {
28606
+ row: '行:{0}',
28607
+ col: '列:{0}'
28608
+ },
28542
28609
  empty: '(空值)',
28543
28610
  reError: '无效的正则表达式',
28544
28611
  recordCount: '已找到 {0} 个单元格',