vxe-table 4.14.12 → 4.14.14

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 (135) hide show
  1. package/es/locale/lang/ar-EG.js +3 -1
  2. package/es/locale/lang/de-DE.js +82 -80
  3. package/es/locale/lang/en-US.js +3 -1
  4. package/es/locale/lang/es-ES.js +81 -79
  5. package/es/locale/lang/fr-FR.js +3 -1
  6. package/es/locale/lang/hu-HU.js +3 -1
  7. package/es/locale/lang/hy-AM.js +3 -1
  8. package/es/locale/lang/id-ID.js +3 -1
  9. package/es/locale/lang/it-IT.js +3 -1
  10. package/es/locale/lang/ja-JP.js +84 -82
  11. package/es/locale/lang/ko-KR.js +90 -88
  12. package/es/locale/lang/ms-MY.js +3 -1
  13. package/es/locale/lang/nb-NO.js +3 -1
  14. package/es/locale/lang/pt-BR.js +3 -1
  15. package/es/locale/lang/ru-RU.js +86 -84
  16. package/es/locale/lang/th-TH.js +3 -1
  17. package/es/locale/lang/ug-CN.js +3 -1
  18. package/es/locale/lang/uk-UA.js +3 -1
  19. package/es/locale/lang/uz-UZ.js +3 -1
  20. package/es/locale/lang/vi-VN.js +81 -79
  21. package/es/locale/lang/zh-CHT.js +23 -21
  22. package/es/locale/lang/zh-CN.js +3 -1
  23. package/es/style.css +1 -1
  24. package/es/table/src/table.js +65 -121
  25. package/es/table/src/util.js +116 -0
  26. package/es/ui/index.js +1 -1
  27. package/es/ui/src/log.js +1 -1
  28. package/lib/index.umd.js +131 -48
  29. package/lib/index.umd.min.js +1 -1
  30. package/lib/locale/lang/ar-EG.js +3 -1
  31. package/lib/locale/lang/ar-EG.min.js +1 -1
  32. package/lib/locale/lang/ar-EG.umd.js +3 -1
  33. package/lib/locale/lang/de-DE.js +82 -80
  34. package/lib/locale/lang/de-DE.min.js +1 -1
  35. package/lib/locale/lang/de-DE.umd.js +82 -80
  36. package/lib/locale/lang/en-US.js +3 -1
  37. package/lib/locale/lang/en-US.min.js +1 -1
  38. package/lib/locale/lang/en-US.umd.js +3 -1
  39. package/lib/locale/lang/es-ES.js +81 -79
  40. package/lib/locale/lang/es-ES.min.js +1 -1
  41. package/lib/locale/lang/es-ES.umd.js +81 -79
  42. package/lib/locale/lang/fr-FR.js +3 -1
  43. package/lib/locale/lang/fr-FR.min.js +1 -1
  44. package/lib/locale/lang/fr-FR.umd.js +3 -1
  45. package/lib/locale/lang/hu-HU.js +3 -1
  46. package/lib/locale/lang/hu-HU.min.js +1 -1
  47. package/lib/locale/lang/hu-HU.umd.js +3 -1
  48. package/lib/locale/lang/hy-AM.js +3 -1
  49. package/lib/locale/lang/hy-AM.min.js +1 -1
  50. package/lib/locale/lang/hy-AM.umd.js +3 -1
  51. package/lib/locale/lang/id-ID.js +3 -1
  52. package/lib/locale/lang/id-ID.min.js +1 -1
  53. package/lib/locale/lang/id-ID.umd.js +3 -1
  54. package/lib/locale/lang/it-IT.js +3 -1
  55. package/lib/locale/lang/it-IT.min.js +1 -1
  56. package/lib/locale/lang/it-IT.umd.js +3 -1
  57. package/lib/locale/lang/ja-JP.js +84 -82
  58. package/lib/locale/lang/ja-JP.min.js +1 -1
  59. package/lib/locale/lang/ja-JP.umd.js +84 -82
  60. package/lib/locale/lang/ko-KR.js +90 -88
  61. package/lib/locale/lang/ko-KR.min.js +1 -1
  62. package/lib/locale/lang/ko-KR.umd.js +90 -88
  63. package/lib/locale/lang/ms-MY.js +3 -1
  64. package/lib/locale/lang/ms-MY.min.js +1 -1
  65. package/lib/locale/lang/ms-MY.umd.js +3 -1
  66. package/lib/locale/lang/nb-NO.js +3 -1
  67. package/lib/locale/lang/nb-NO.min.js +1 -1
  68. package/lib/locale/lang/nb-NO.umd.js +3 -1
  69. package/lib/locale/lang/pt-BR.js +3 -1
  70. package/lib/locale/lang/pt-BR.min.js +1 -1
  71. package/lib/locale/lang/pt-BR.umd.js +3 -1
  72. package/lib/locale/lang/ru-RU.js +86 -84
  73. package/lib/locale/lang/ru-RU.min.js +1 -1
  74. package/lib/locale/lang/ru-RU.umd.js +86 -84
  75. package/lib/locale/lang/th-TH.js +3 -1
  76. package/lib/locale/lang/th-TH.min.js +1 -1
  77. package/lib/locale/lang/th-TH.umd.js +3 -1
  78. package/lib/locale/lang/ug-CN.js +3 -1
  79. package/lib/locale/lang/ug-CN.min.js +1 -1
  80. package/lib/locale/lang/ug-CN.umd.js +3 -1
  81. package/lib/locale/lang/uk-UA.js +3 -1
  82. package/lib/locale/lang/uk-UA.min.js +1 -1
  83. package/lib/locale/lang/uk-UA.umd.js +3 -1
  84. package/lib/locale/lang/uz-UZ.js +3 -1
  85. package/lib/locale/lang/uz-UZ.min.js +1 -1
  86. package/lib/locale/lang/uz-UZ.umd.js +3 -1
  87. package/lib/locale/lang/vi-VN.js +81 -79
  88. package/lib/locale/lang/vi-VN.min.js +1 -1
  89. package/lib/locale/lang/vi-VN.umd.js +81 -79
  90. package/lib/locale/lang/zh-CHT.js +23 -21
  91. package/lib/locale/lang/zh-CHT.min.js +1 -1
  92. package/lib/locale/lang/zh-CHT.umd.js +23 -21
  93. package/lib/locale/lang/zh-CN.js +3 -1
  94. package/lib/locale/lang/zh-CN.min.js +1 -1
  95. package/lib/locale/lang/zh-CN.umd.js +3 -1
  96. package/lib/style.css +1 -1
  97. package/lib/table/src/table.js +10 -45
  98. package/lib/table/src/table.min.js +1 -1
  99. package/lib/table/src/util.js +117 -0
  100. package/lib/table/src/util.min.js +1 -1
  101. package/lib/ui/index.js +1 -1
  102. package/lib/ui/index.min.js +1 -1
  103. package/lib/ui/src/log.js +1 -1
  104. package/lib/ui/src/log.min.js +1 -1
  105. package/package.json +1 -1
  106. package/packages/locale/lang/ar-EG.ts +3 -1
  107. package/packages/locale/lang/de-DE.ts +82 -80
  108. package/packages/locale/lang/en-US.ts +3 -1
  109. package/packages/locale/lang/es-ES.ts +81 -79
  110. package/packages/locale/lang/fr-FR.ts +3 -1
  111. package/packages/locale/lang/hu-HU.ts +3 -1
  112. package/packages/locale/lang/hy-AM.ts +3 -1
  113. package/packages/locale/lang/id-ID.ts +3 -1
  114. package/packages/locale/lang/it-IT.ts +3 -1
  115. package/packages/locale/lang/ja-JP.ts +84 -82
  116. package/packages/locale/lang/ko-KR.ts +90 -88
  117. package/packages/locale/lang/ms-MY.ts +3 -1
  118. package/packages/locale/lang/nb-NO.ts +3 -1
  119. package/packages/locale/lang/pt-BR.ts +3 -1
  120. package/packages/locale/lang/ru-RU.ts +86 -84
  121. package/packages/locale/lang/th-TH.ts +3 -1
  122. package/packages/locale/lang/ug-CN.ts +3 -1
  123. package/packages/locale/lang/uk-UA.ts +3 -1
  124. package/packages/locale/lang/uz-UZ.ts +3 -1
  125. package/packages/locale/lang/vi-VN.ts +81 -79
  126. package/packages/locale/lang/zh-CHT.ts +23 -21
  127. package/packages/locale/lang/zh-CN.ts +3 -1
  128. package/packages/table/src/table.ts +66 -126
  129. package/packages/table/src/util.ts +121 -1
  130. /package/es/{iconfont.1754381597724.ttf → iconfont.1755650311186.ttf} +0 -0
  131. /package/es/{iconfont.1754381597724.woff → iconfont.1755650311186.woff} +0 -0
  132. /package/es/{iconfont.1754381597724.woff2 → iconfont.1755650311186.woff2} +0 -0
  133. /package/lib/{iconfont.1754381597724.ttf → iconfont.1755650311186.ttf} +0 -0
  134. /package/lib/{iconfont.1754381597724.woff → iconfont.1755650311186.woff} +0 -0
  135. /package/lib/{iconfont.1754381597724.woff2 → iconfont.1755650311186.woff2} +0 -0
@@ -4,7 +4,7 @@ import XEUtils from 'xe-utils';
4
4
  import { initTpImg, getTpImg, isPx, isScale, hasClass, addClass, removeClass, getEventTargetNode, getPaddingTopBottomSize, setScrollTop, setScrollLeft, toCssUnit, hasControlKey } from '../../ui/src/dom';
5
5
  import { getLastZIndex, nextZIndex, hasChildrenList, getFuncText, isEnableConf, formatText, eqEmptyValue } from '../../ui/src/utils';
6
6
  import { VxeUI } from '../../ui';
7
- import { getRowUniqueId, clearTableAllStatus, toFilters, hasDeepKey, getRowkey, getRowid, rowToVisible, colToVisible, getCellValue, setCellValue, handleRowidOrRow, handleFieldOrColumn, toTreePathSeq, restoreScrollLocation, getRootColumn, getRefElem, getColReMinWidth, createHandleUpdateRowId, createHandleGetRowId, getCalcHeight, getCellRestHeight } from './util';
7
+ import { createInternalData, getRowUniqueId, clearTableAllStatus, toFilters, hasDeepKey, getRowkey, getRowid, rowToVisible, colToVisible, getCellValue, setCellValue, handleRowidOrRow, handleFieldOrColumn, toTreePathSeq, restoreScrollLocation, getRootColumn, getRefElem, getColReMinWidth, createHandleUpdateRowId, createHandleGetRowId, getCalcHeight, getCellRestHeight } from './util';
8
8
  import { getSlotVNs } from '../../ui/src/vn';
9
9
  import { moveRowAnimateToTb, clearRowAnimate, moveColAnimateToLr, clearColAnimate } from './anime';
10
10
  import { warnLog, errLog } from '../../ui/src/log';
@@ -275,120 +275,7 @@ export default defineVxeComponent({
275
275
  isRowLoading: false,
276
276
  isColLoading: false
277
277
  });
278
- const internalData = {
279
- tZindex: 0,
280
- currKeyField: '',
281
- isCurrDeepKey: false,
282
- elemStore: {},
283
- // 存放横向 X 虚拟滚动相关的信息
284
- scrollXStore: {
285
- preloadSize: 0,
286
- offsetSize: 0,
287
- visibleSize: 0,
288
- visibleStartIndex: 0,
289
- visibleEndIndex: 0,
290
- startIndex: 0,
291
- endIndex: 0
292
- },
293
- // 存放纵向 Y 虚拟滚动相关信息
294
- scrollYStore: {
295
- preloadSize: 0,
296
- offsetSize: 0,
297
- visibleSize: 0,
298
- visibleStartIndex: 0,
299
- visibleEndIndex: 0,
300
- startIndex: 0,
301
- endIndex: 0
302
- },
303
- // 表格宽度
304
- tableWidth: 0,
305
- // 表格高度
306
- tableHeight: 0,
307
- // 表头高度
308
- headerHeight: 0,
309
- // 表尾高度
310
- footerHeight: 0,
311
- customHeight: 0,
312
- customMinHeight: 0,
313
- customMaxHeight: 0,
314
- // 当前 hover 行
315
- hoverRow: null,
316
- // 最后滚动位置
317
- lastScrollLeft: 0,
318
- lastScrollTop: 0,
319
- // 单选框属性,已选中保留的行
320
- radioReserveRow: null,
321
- // 复选框属性,已选中保留的行集合
322
- checkboxReserveRowMap: {},
323
- // 行数据,已展开保留的行集合
324
- rowExpandedReserveRowMap: {},
325
- // 树结构数据,已展开保留的行集合
326
- treeExpandedReserveRowMap: {},
327
- // 树结构数据,不确定状态的集合
328
- treeIndeterminateRowMaps: {},
329
- // 列表完整数据、条件处理后
330
- tableFullData: [],
331
- afterFullData: [],
332
- afterTreeFullData: [],
333
- afterGroupFullData: [],
334
- // 列表条件处理后数据集合
335
- afterFullRowMaps: {},
336
- // 树结构完整数据、条件处理后
337
- tableFullTreeData: [],
338
- // 行分组全量数据、条件处理后
339
- tableFullGroupData: [],
340
- tableSynchData: [],
341
- tableSourceData: [],
342
- // 收集的列配置(带分组)
343
- collectColumn: [],
344
- // 完整所有列(不带分组)
345
- tableFullColumn: [],
346
- // 渲染所有列
347
- visibleColumn: [],
348
- // 全量数据集(包括当前和已删除)
349
- fullAllDataRowIdData: {},
350
- // 数据集(仅当前)
351
- fullDataRowIdData: {},
352
- // 数据集(仅可视)
353
- visibleDataRowIdData: {},
354
- // 渲染中缓存数据
355
- sourceDataRowIdData: {},
356
- fullColumnIdData: {},
357
- fullColumnFieldData: {},
358
- // 合并单元格的数据
359
- mergeBodyList: [],
360
- mergeBodyMaps: {},
361
- // 合并表尾的数据
362
- mergeFooterList: [],
363
- mergeFooterMaps: {},
364
- // 已合并单元格数据集合
365
- mergeBodyCellMaps: {},
366
- // 已合并表尾数据集合
367
- mergeFooterCellMaps: {},
368
- // 已展开的行集合
369
- rowExpandedMaps: {},
370
- // 懒加载中的展开行的集合
371
- rowExpandLazyLoadedMaps: {},
372
- // 已展开的分组行
373
- rowGroupExpandedMaps: {},
374
- // 已展开树节点集合
375
- treeExpandedMaps: {},
376
- // 懒加载中的树节点的集合
377
- treeExpandLazyLoadedMaps: {},
378
- // 复选框属性,已选中的行集合
379
- selectCheckboxMaps: {},
380
- // 已标记的对象集
381
- pendingRowMaps: {},
382
- // 已新增的临时行
383
- insertRowMaps: {},
384
- // 已删除行
385
- removeRowMaps: {},
386
- cvCacheMaps: {},
387
- inited: false,
388
- tooltipTimeout: null,
389
- initStatus: false,
390
- isActivated: false
391
- };
278
+ const internalData = createInternalData();
392
279
  let tableMethods = {};
393
280
  let tablePrivateMethods = {};
394
281
  const refElem = ref();
@@ -3356,6 +3243,7 @@ export default defineVxeComponent({
3356
3243
  }).then(() => {
3357
3244
  computeScrollLoad();
3358
3245
  }).then(() => {
3246
+ const virtualYOpts = computeVirtualYOpts.value;
3359
3247
  // 是否启用了虚拟滚动
3360
3248
  if (sYLoad) {
3361
3249
  scrollYStore.endIndex = scrollYStore.visibleSize;
@@ -3364,6 +3252,9 @@ export default defineVxeComponent({
3364
3252
  if (reactData.expandColumn && expandOpts.mode !== 'fixed') {
3365
3253
  errLog('vxe.error.notConflictProp', ['column.type="expand', 'expand-config.mode="fixed"']);
3366
3254
  }
3255
+ if (virtualYOpts.mode === 'scroll' && expandOpts.mode === 'fixed') {
3256
+ warnLog('vxe.error.notConflictProp', ['virtual-y-config.mode=scroll', 'expand-config.mode=inside']);
3257
+ }
3367
3258
  // if (showOverflow) {
3368
3259
  // if (!rowOpts.height) {
3369
3260
  // const errColumn = internalData.tableFullColumn.find(column => column.showOverflow === false)
@@ -4922,6 +4813,29 @@ export default defineVxeComponent({
4922
4813
  }
4923
4814
  return [];
4924
4815
  },
4816
+ /**
4817
+ * 只对 tree-config 有效,用于树形结构,获取指定行的层级
4818
+ */
4819
+ getTreeRowLevel(rowOrRowid) {
4820
+ const { treeConfig } = props;
4821
+ const { fullAllDataRowIdData } = internalData;
4822
+ if (rowOrRowid && treeConfig) {
4823
+ let rowid;
4824
+ if (XEUtils.isString(rowOrRowid)) {
4825
+ rowid = rowOrRowid;
4826
+ }
4827
+ else {
4828
+ rowid = getRowid($xeTable, rowOrRowid);
4829
+ }
4830
+ if (rowid) {
4831
+ const rest = fullAllDataRowIdData[rowid];
4832
+ if (rest) {
4833
+ return rest.level;
4834
+ }
4835
+ }
4836
+ }
4837
+ return -1;
4838
+ },
4925
4839
  /**
4926
4840
  * 只对 tree-config 有效,获取行的父级
4927
4841
  */
@@ -5641,9 +5555,24 @@ export default defineVxeComponent({
5641
5555
  /**
5642
5556
  * 用于当前行,获取当前行的数据
5643
5557
  */
5644
- getCurrentRecord() {
5558
+ getCurrentRecord(isFull) {
5559
+ const { currentRow } = reactData;
5560
+ const { fullDataRowIdData, afterFullRowMaps } = internalData;
5645
5561
  const rowOpts = computeRowOpts.value;
5646
- return rowOpts.isCurrent || props.highlightCurrentRow ? reactData.currentRow : null;
5562
+ if (rowOpts.isCurrent || props.highlightCurrentRow) {
5563
+ const rowid = getRowid($xeTable, currentRow);
5564
+ if (isFull) {
5565
+ if (fullDataRowIdData[rowid]) {
5566
+ return currentRow;
5567
+ }
5568
+ }
5569
+ else {
5570
+ if (afterFullRowMaps[rowid]) {
5571
+ return currentRow;
5572
+ }
5573
+ }
5574
+ }
5575
+ return null;
5647
5576
  },
5648
5577
  /**
5649
5578
  * 用于单选行,获取当已选中的数据
@@ -11505,7 +11434,7 @@ export default defineVxeComponent({
11505
11434
  if (value && value.length >= 50000) {
11506
11435
  warnLog('vxe.error.errLargeData', ['loadData(data), reloadData(data)']);
11507
11436
  }
11508
- loadTableData(value, false).then(() => {
11437
+ loadTableData(value, true).then(() => {
11509
11438
  const { scrollXLoad, scrollYLoad, expandColumn } = reactData;
11510
11439
  const expandOpts = computeExpandOpts.value;
11511
11440
  internalData.inited = true;
@@ -11742,6 +11671,12 @@ export default defineVxeComponent({
11742
11671
  if (props.resizable) {
11743
11672
  warnLog('vxe.error.delProp', ['resizable', 'column-config.resizable']);
11744
11673
  }
11674
+ if (props.virtualXConfig && props.scrollX) {
11675
+ warnLog('vxe.error.notSupportProp', ['virtual-x-config', 'scroll-x', 'scroll-x=null']);
11676
+ }
11677
+ if (props.virtualYConfig && props.scrollY) {
11678
+ warnLog('vxe.error.notSupportProp', ['virtual-y-config', 'scroll-y', 'scroll-y=null']);
11679
+ }
11745
11680
  // if (props.scrollY) {
11746
11681
  // warnLog('vxe.error.delProp', ['scroll-y', 'virtual-y-config'])
11747
11682
  // }
@@ -11830,6 +11765,14 @@ export default defineVxeComponent({
11830
11765
  if (checkboxOpts.halfField) {
11831
11766
  warnLog('vxe.error.delProp', ['checkbox-config.halfField', 'checkbox-config.indeterminateField']);
11832
11767
  }
11768
+ if (treeConfig) {
11769
+ XEUtils.arrayEach(['rowField', 'parentField', 'childrenField', 'hasChildField', 'mapChildrenField'], key => {
11770
+ const val = treeOpts[key];
11771
+ if (val && val.indexOf('.') > -1) {
11772
+ errLog('vxe.error.errProp', [`${key}=${val}`, `${key}=${val.split('.')[0]}`]);
11773
+ }
11774
+ });
11775
+ }
11833
11776
  if (rowOpts.currentMethod) {
11834
11777
  warnLog('vxe.error.delProp', ['row-config.currentMethod', 'current-row-config.beforeSelectMethod']);
11835
11778
  }
@@ -11936,9 +11879,6 @@ export default defineVxeComponent({
11936
11879
  if ($xeTable.closeMenu) {
11937
11880
  $xeTable.closeMenu();
11938
11881
  }
11939
- tablePrivateMethods.preventEvent(null, 'beforeUnmount', { $table: $xeTable });
11940
- });
11941
- onUnmounted(() => {
11942
11882
  globalEvents.off($xeTable, 'paste');
11943
11883
  globalEvents.off($xeTable, 'copy');
11944
11884
  globalEvents.off($xeTable, 'cut');
@@ -11948,7 +11888,11 @@ export default defineVxeComponent({
11948
11888
  globalEvents.off($xeTable, 'keydown');
11949
11889
  globalEvents.off($xeTable, 'resize');
11950
11890
  globalEvents.off($xeTable, 'contextmenu');
11891
+ tablePrivateMethods.preventEvent(null, 'beforeUnmount', { $table: $xeTable });
11892
+ });
11893
+ onUnmounted(() => {
11951
11894
  tablePrivateMethods.preventEvent(null, 'unmounted', { $table: $xeTable });
11895
+ XEUtils.assign(internalData, createInternalData());
11952
11896
  });
11953
11897
  nextTick(() => {
11954
11898
  if (props.loading) {
@@ -3,6 +3,122 @@ import XEUtils from 'xe-utils';
3
3
  import { ColumnInfo } from './columnInfo';
4
4
  import { isPx, isScale, queryElement } from '../../ui/src/dom';
5
5
  import { eqEmptyValue } from '../../ui/src/utils';
6
+ export function createInternalData() {
7
+ return {
8
+ tZindex: 0,
9
+ currKeyField: '',
10
+ isCurrDeepKey: false,
11
+ elemStore: {},
12
+ // 存放横向 X 虚拟滚动相关的信息
13
+ scrollXStore: {
14
+ preloadSize: 0,
15
+ offsetSize: 0,
16
+ visibleSize: 0,
17
+ visibleStartIndex: 0,
18
+ visibleEndIndex: 0,
19
+ startIndex: 0,
20
+ endIndex: 0
21
+ },
22
+ // 存放纵向 Y 虚拟滚动相关信息
23
+ scrollYStore: {
24
+ preloadSize: 0,
25
+ offsetSize: 0,
26
+ visibleSize: 0,
27
+ visibleStartIndex: 0,
28
+ visibleEndIndex: 0,
29
+ startIndex: 0,
30
+ endIndex: 0
31
+ },
32
+ // 表格宽度
33
+ tableWidth: 0,
34
+ // 表格高度
35
+ tableHeight: 0,
36
+ // 表头高度
37
+ headerHeight: 0,
38
+ // 表尾高度
39
+ footerHeight: 0,
40
+ customHeight: 0,
41
+ customMinHeight: 0,
42
+ customMaxHeight: 0,
43
+ // 当前 hover 行
44
+ hoverRow: null,
45
+ // 最后滚动位置
46
+ lastScrollLeft: 0,
47
+ lastScrollTop: 0,
48
+ // 单选框属性,已选中保留的行
49
+ radioReserveRow: null,
50
+ // 复选框属性,已选中保留的行集合
51
+ checkboxReserveRowMap: {},
52
+ // 行数据,已展开保留的行集合
53
+ rowExpandedReserveRowMap: {},
54
+ // 树结构数据,已展开保留的行集合
55
+ treeExpandedReserveRowMap: {},
56
+ // 树结构数据,不确定状态的集合
57
+ treeIndeterminateRowMaps: {},
58
+ // 列表完整数据、条件处理后
59
+ tableFullData: [],
60
+ afterFullData: [],
61
+ afterTreeFullData: [],
62
+ afterGroupFullData: [],
63
+ // 列表条件处理后数据集合
64
+ afterFullRowMaps: {},
65
+ // 树结构完整数据、条件处理后
66
+ tableFullTreeData: [],
67
+ // 行分组全量数据、条件处理后
68
+ tableFullGroupData: [],
69
+ tableSynchData: [],
70
+ tableSourceData: [],
71
+ // 收集的列配置(带分组)
72
+ collectColumn: [],
73
+ // 完整所有列(不带分组)
74
+ tableFullColumn: [],
75
+ // 渲染所有列
76
+ visibleColumn: [],
77
+ // 全量数据集(包括当前和已删除)
78
+ fullAllDataRowIdData: {},
79
+ // 数据集(仅当前)
80
+ fullDataRowIdData: {},
81
+ // 数据集(仅可视)
82
+ visibleDataRowIdData: {},
83
+ // 渲染中缓存数据
84
+ sourceDataRowIdData: {},
85
+ fullColumnIdData: {},
86
+ fullColumnFieldData: {},
87
+ // 合并单元格的数据
88
+ mergeBodyList: [],
89
+ mergeBodyMaps: {},
90
+ // 合并表尾的数据
91
+ mergeFooterList: [],
92
+ mergeFooterMaps: {},
93
+ // 已合并单元格数据集合
94
+ mergeBodyCellMaps: {},
95
+ // 已合并表尾数据集合
96
+ mergeFooterCellMaps: {},
97
+ // 已展开的行集合
98
+ rowExpandedMaps: {},
99
+ // 懒加载中的展开行的集合
100
+ rowExpandLazyLoadedMaps: {},
101
+ // 已展开的分组行
102
+ rowGroupExpandedMaps: {},
103
+ // 已展开树节点集合
104
+ treeExpandedMaps: {},
105
+ // 懒加载中的树节点的集合
106
+ treeExpandLazyLoadedMaps: {},
107
+ // 复选框属性,已选中的行集合
108
+ selectCheckboxMaps: {},
109
+ // 已标记的对象集
110
+ pendingRowMaps: {},
111
+ // 已新增的临时行
112
+ insertRowMaps: {},
113
+ // 已删除行
114
+ removeRowMaps: {},
115
+ cvCacheMaps: {},
116
+ inited: false,
117
+ tooltipTimeout: null,
118
+ initStatus: false,
119
+ isActivated: false
120
+ };
121
+ }
6
122
  const getAllConvertColumns = (columns, parentColumn) => {
7
123
  const result = [];
8
124
  columns.forEach((column) => {
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 = "4.14.12";
3
+ export const version = "4.14.14";
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${"4.14.12"}`;
3
+ const version = `table v${"4.14.14"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);