vxe-table 4.13.57 → 4.13.59

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 (143) hide show
  1. package/es/locale/lang/ar-EG.js +33 -1
  2. package/es/locale/lang/de-DE.js +112 -80
  3. package/es/locale/lang/en-US.js +45 -13
  4. package/es/locale/lang/es-ES.js +111 -79
  5. package/es/locale/lang/fr-FR.js +33 -1
  6. package/es/locale/lang/hu-HU.js +33 -1
  7. package/es/locale/lang/hy-AM.js +33 -1
  8. package/es/locale/lang/id-ID.js +33 -1
  9. package/es/locale/lang/it-IT.js +33 -1
  10. package/es/locale/lang/ja-JP.js +114 -82
  11. package/es/locale/lang/ko-KR.js +120 -88
  12. package/es/locale/lang/ms-MY.js +33 -1
  13. package/es/locale/lang/nb-NO.js +33 -1
  14. package/es/locale/lang/pt-BR.js +33 -1
  15. package/es/locale/lang/ru-RU.js +116 -84
  16. package/es/locale/lang/th-TH.js +33 -1
  17. package/es/locale/lang/ug-CN.js +33 -1
  18. package/es/locale/lang/uk-UA.js +33 -1
  19. package/es/locale/lang/uz-UZ.js +33 -1
  20. package/es/locale/lang/vi-VN.js +111 -79
  21. package/es/locale/lang/zh-CHT.js +53 -21
  22. package/es/locale/lang/zh-CN.js +35 -1
  23. package/es/style.css +1 -1
  24. package/es/table/src/body.js +2 -1
  25. package/es/table/src/header.js +2 -1
  26. package/es/table/src/table.js +8 -119
  27. package/es/table/src/util.js +116 -0
  28. package/es/ui/index.js +1 -1
  29. package/es/ui/src/log.js +1 -1
  30. package/lib/index.umd.js +161 -46
  31. package/lib/index.umd.min.js +1 -1
  32. package/lib/locale/lang/ar-EG.js +33 -1
  33. package/lib/locale/lang/ar-EG.min.js +1 -1
  34. package/lib/locale/lang/ar-EG.umd.js +33 -1
  35. package/lib/locale/lang/de-DE.js +112 -80
  36. package/lib/locale/lang/de-DE.min.js +1 -1
  37. package/lib/locale/lang/de-DE.umd.js +112 -80
  38. package/lib/locale/lang/en-US.js +45 -13
  39. package/lib/locale/lang/en-US.min.js +1 -1
  40. package/lib/locale/lang/en-US.umd.js +45 -13
  41. package/lib/locale/lang/es-ES.js +111 -79
  42. package/lib/locale/lang/es-ES.min.js +1 -1
  43. package/lib/locale/lang/es-ES.umd.js +111 -79
  44. package/lib/locale/lang/fr-FR.js +33 -1
  45. package/lib/locale/lang/fr-FR.min.js +1 -1
  46. package/lib/locale/lang/fr-FR.umd.js +33 -1
  47. package/lib/locale/lang/hu-HU.js +33 -1
  48. package/lib/locale/lang/hu-HU.min.js +1 -1
  49. package/lib/locale/lang/hu-HU.umd.js +33 -1
  50. package/lib/locale/lang/hy-AM.js +33 -1
  51. package/lib/locale/lang/hy-AM.min.js +1 -1
  52. package/lib/locale/lang/hy-AM.umd.js +33 -1
  53. package/lib/locale/lang/id-ID.js +33 -1
  54. package/lib/locale/lang/id-ID.min.js +1 -1
  55. package/lib/locale/lang/id-ID.umd.js +33 -1
  56. package/lib/locale/lang/it-IT.js +33 -1
  57. package/lib/locale/lang/it-IT.min.js +1 -1
  58. package/lib/locale/lang/it-IT.umd.js +33 -1
  59. package/lib/locale/lang/ja-JP.js +114 -82
  60. package/lib/locale/lang/ja-JP.min.js +1 -1
  61. package/lib/locale/lang/ja-JP.umd.js +114 -82
  62. package/lib/locale/lang/ko-KR.js +120 -88
  63. package/lib/locale/lang/ko-KR.min.js +1 -1
  64. package/lib/locale/lang/ko-KR.umd.js +120 -88
  65. package/lib/locale/lang/ms-MY.js +33 -1
  66. package/lib/locale/lang/ms-MY.min.js +1 -1
  67. package/lib/locale/lang/ms-MY.umd.js +33 -1
  68. package/lib/locale/lang/nb-NO.js +33 -1
  69. package/lib/locale/lang/nb-NO.min.js +1 -1
  70. package/lib/locale/lang/nb-NO.umd.js +33 -1
  71. package/lib/locale/lang/pt-BR.js +33 -1
  72. package/lib/locale/lang/pt-BR.min.js +1 -1
  73. package/lib/locale/lang/pt-BR.umd.js +33 -1
  74. package/lib/locale/lang/ru-RU.js +116 -84
  75. package/lib/locale/lang/ru-RU.min.js +1 -1
  76. package/lib/locale/lang/ru-RU.umd.js +116 -84
  77. package/lib/locale/lang/th-TH.js +33 -1
  78. package/lib/locale/lang/th-TH.min.js +1 -1
  79. package/lib/locale/lang/th-TH.umd.js +33 -1
  80. package/lib/locale/lang/ug-CN.js +33 -1
  81. package/lib/locale/lang/ug-CN.min.js +1 -1
  82. package/lib/locale/lang/ug-CN.umd.js +33 -1
  83. package/lib/locale/lang/uk-UA.js +33 -1
  84. package/lib/locale/lang/uk-UA.min.js +1 -1
  85. package/lib/locale/lang/uk-UA.umd.js +33 -1
  86. package/lib/locale/lang/uz-UZ.js +33 -1
  87. package/lib/locale/lang/uz-UZ.min.js +1 -1
  88. package/lib/locale/lang/uz-UZ.umd.js +33 -1
  89. package/lib/locale/lang/vi-VN.js +111 -79
  90. package/lib/locale/lang/vi-VN.min.js +1 -1
  91. package/lib/locale/lang/vi-VN.umd.js +111 -79
  92. package/lib/locale/lang/zh-CHT.js +53 -21
  93. package/lib/locale/lang/zh-CHT.min.js +1 -1
  94. package/lib/locale/lang/zh-CHT.umd.js +53 -21
  95. package/lib/locale/lang/zh-CN.js +35 -1
  96. package/lib/locale/lang/zh-CN.min.js +1 -1
  97. package/lib/locale/lang/zh-CN.umd.js +35 -1
  98. package/lib/style.css +1 -1
  99. package/lib/table/src/body.js +2 -1
  100. package/lib/table/src/body.min.js +1 -1
  101. package/lib/table/src/header.js +2 -1
  102. package/lib/table/src/header.min.js +1 -1
  103. package/lib/table/src/table.js +4 -41
  104. package/lib/table/src/table.min.js +1 -1
  105. package/lib/table/src/util.js +117 -0
  106. package/lib/table/src/util.min.js +1 -1
  107. package/lib/ui/index.js +1 -1
  108. package/lib/ui/index.min.js +1 -1
  109. package/lib/ui/src/log.js +1 -1
  110. package/lib/ui/src/log.min.js +1 -1
  111. package/package.json +1 -1
  112. package/packages/locale/lang/ar-EG.ts +33 -1
  113. package/packages/locale/lang/de-DE.ts +112 -80
  114. package/packages/locale/lang/en-US.ts +45 -13
  115. package/packages/locale/lang/es-ES.ts +111 -79
  116. package/packages/locale/lang/fr-FR.ts +33 -1
  117. package/packages/locale/lang/hu-HU.ts +33 -1
  118. package/packages/locale/lang/hy-AM.ts +33 -1
  119. package/packages/locale/lang/id-ID.ts +33 -1
  120. package/packages/locale/lang/it-IT.ts +33 -1
  121. package/packages/locale/lang/ja-JP.ts +114 -82
  122. package/packages/locale/lang/ko-KR.ts +120 -88
  123. package/packages/locale/lang/ms-MY.ts +33 -1
  124. package/packages/locale/lang/nb-NO.ts +33 -1
  125. package/packages/locale/lang/pt-BR.ts +33 -1
  126. package/packages/locale/lang/ru-RU.ts +116 -84
  127. package/packages/locale/lang/th-TH.ts +33 -1
  128. package/packages/locale/lang/ug-CN.ts +33 -1
  129. package/packages/locale/lang/uk-UA.ts +33 -1
  130. package/packages/locale/lang/uz-UZ.ts +33 -1
  131. package/packages/locale/lang/vi-VN.ts +111 -79
  132. package/packages/locale/lang/zh-CHT.ts +53 -21
  133. package/packages/locale/lang/zh-CN.ts +35 -1
  134. package/packages/table/src/body.ts +2 -1
  135. package/packages/table/src/header.ts +2 -1
  136. package/packages/table/src/table.ts +10 -123
  137. package/packages/table/src/util.ts +121 -1
  138. /package/es/{iconfont.1754364708207.ttf → iconfont.1757908749821.ttf} +0 -0
  139. /package/es/{iconfont.1754364708207.woff → iconfont.1757908749821.woff} +0 -0
  140. /package/es/{iconfont.1754364708207.woff2 → iconfont.1757908749821.woff2} +0 -0
  141. /package/lib/{iconfont.1754364708207.ttf → iconfont.1757908749821.ttf} +0 -0
  142. /package/lib/{iconfont.1754364708207.woff → iconfont.1757908749821.woff} +0 -0
  143. /package/lib/{iconfont.1754364708207.woff2 → iconfont.1757908749821.woff2} +0 -0
@@ -19,6 +19,7 @@ export default {
19
19
  errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
20
20
  modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
21
21
  notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
22
+ reqSupportProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会出现错误',
22
23
  notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
23
24
  unableInsert: '无法插入到指定位置,请检查参数是否正确',
24
25
  useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
@@ -43,6 +44,7 @@ export default {
43
44
  coverProp: '"{0}" 的参数 "{1}" 重复定义,这可能会出现错误',
44
45
  uniField: '字段名 "{0}" 重复定义,这可能会出现错误',
45
46
  repeatKey: '主键重复 {0}="{1}",这可能会出现错误',
47
+ repeatProp: '参数重复 {0}="{1}",这可能会出现错误',
46
48
  delFunc: '方法 "{0}" 已废弃,请使用 "{1}"',
47
49
  delProp: '参数 "{0}" 已废弃,请使用 "{1}"',
48
50
  delEvent: '事件 "{0}" 已废弃,请使用 "{1}"',
@@ -56,7 +58,8 @@ export default {
56
58
  treeDragChild: '父级不能拖拽到自己的子级中',
57
59
  reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install',
58
60
  errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误',
59
- useNew: '不建议使用 {0},请使用 {1}'
61
+ useNew: '不建议使用 {0},请使用 {1}',
62
+ errorVersion: '版本不匹配,当前版本 {0},最低支持版本为 {1}'
60
63
  },
61
64
  table: {
62
65
  emptyText: '暂无数据',
@@ -534,6 +537,37 @@ export default {
534
537
  ss: '秒'
535
538
  }
536
539
  },
540
+ gantt: {
541
+ tFullFormat: {
542
+ year: '{yy}年',
543
+ quarter: '{yy}年第{q}季度',
544
+ month: '{yy}年{M}月',
545
+ week: '{yy}年第{W}周',
546
+ day: '{yy}年{M}月{E}日',
547
+ date: '{yy}年{M}月{d}日',
548
+ hour: '{yy}年 {M}月{d}日{H}时',
549
+ minute: '{yy}年{M}月{d}日{H}时{m}分'
550
+ },
551
+ tSimpleFormat: {
552
+ year: '{yy}年',
553
+ quarter: '{q}季度',
554
+ month: '{M}月',
555
+ week: '{W}周',
556
+ day: '{d}',
557
+ date: '{d}',
558
+ hour: '{H}时',
559
+ minute: '{m}分'
560
+ },
561
+ dayss: {
562
+ w0: '日',
563
+ w1: '一',
564
+ w2: '二',
565
+ w3: '三',
566
+ w4: '四',
567
+ w5: '五',
568
+ w6: '六'
569
+ }
570
+ },
537
571
  plugins: {
538
572
  extendCellArea: {
539
573
  area: {
@@ -877,7 +877,8 @@ export default defineVxeComponent({
877
877
  }),
878
878
  mouseConfig && mouseOpts.area
879
879
  ? h('div', {
880
- class: 'vxe-table--cell-area'
880
+ class: 'vxe-table--cell-area',
881
+ xid: xID
881
882
  }, [
882
883
  h('span', {
883
884
  class: 'vxe-table--cell-main-area'
@@ -348,7 +348,8 @@ export default defineVxeComponent({
348
348
  ]),
349
349
  mouseConfig && mouseOpts.area
350
350
  ? h('div', {
351
- class: 'vxe-table--cell-area'
351
+ class: 'vxe-table--cell-area',
352
+ xid: xID
352
353
  }, [
353
354
  h('span', {
354
355
  class: 'vxe-table--cell-main-area'
@@ -10,7 +10,7 @@ import TableHeaderComponent from './header'
10
10
  import TableFooterComponent from './footer'
11
11
  import tableProps from './props'
12
12
  import tableEmits from './emits'
13
- import { getRowUniqueId, clearTableAllStatus, toFilters, hasDeepKey, getRowkey, getRowid, rowToVisible, colToVisible, getCellValue, setCellValue, handleRowidOrRow, handleFieldOrColumn, toTreePathSeq, restoreScrollLocation, getRootColumn, getRefElem, getColReMinWidth, createHandleUpdateRowId, createHandleGetRowId, getCellHeight } from './util'
13
+ import { createInternalData, getRowUniqueId, clearTableAllStatus, toFilters, hasDeepKey, getRowkey, getRowid, rowToVisible, colToVisible, getCellValue, setCellValue, handleRowidOrRow, handleFieldOrColumn, toTreePathSeq, restoreScrollLocation, getRootColumn, getRefElem, getColReMinWidth, createHandleUpdateRowId, createHandleGetRowId, getCellHeight } from './util'
14
14
  import { getSlotVNs } from '../../ui/src/vn'
15
15
  import { warnLog, errLog } from '../../ui/src/log'
16
16
  import TableCustomPanelComponent from '../module/custom/panel'
@@ -20,7 +20,7 @@ import TableExportPanelComponent from '../module/export/export-panel'
20
20
  import TableMenuPanelComponent from '../module/menu/panel'
21
21
 
22
22
  import type { VxeLoadingComponent, VxeTooltipInstance, VxeTooltipComponent, VxeTabsConstructor, VxeTabsPrivateMethods, ValueOf, VxeComponentSlotType } from 'vxe-pc-ui'
23
- import type { VxeGridConstructor, VxeGridPrivateMethods, VxeTableConstructor, TableReactData, TableInternalData, VxeTablePropTypes, VxeToolbarConstructor, TablePrivateMethods, VxeTablePrivateRef, VxeTablePrivateComputed, VxeTablePrivateMethods, TableMethods, VxeTableMethods, VxeTableDefines, VxeTableEmits, VxeTableProps, VxeColumnPropTypes, VxeTableCustomPanelConstructor } from '../../../types'
23
+ import type { VxeGridConstructor, VxeGridPrivateMethods, VxeTableConstructor, TableReactData, VxeTablePropTypes, VxeToolbarConstructor, TablePrivateMethods, VxeTablePrivateRef, VxeTablePrivateComputed, VxeTablePrivateMethods, TableMethods, VxeTableMethods, VxeTableDefines, VxeTableEmits, VxeTableProps, VxeColumnPropTypes, VxeTableCustomPanelConstructor } from '../../../types'
24
24
 
25
25
  const { getConfig, getIcon, getI18n, renderer, formats, createEvent, globalResize, interceptor, hooks, globalEvents, GLOBAL_EVENT_KEYS, useFns, renderEmptyElement } = VxeUI
26
26
 
@@ -295,123 +295,7 @@ export default defineVxeComponent({
295
295
  isColLoading: false
296
296
  })
297
297
 
298
- const internalData: TableInternalData = {
299
- tZindex: 0,
300
- currKeyField: '',
301
- isCurrDeepKey: false,
302
- elemStore: {},
303
- // 存放横向 X 虚拟滚动相关的信息
304
- scrollXStore: {
305
- preloadSize: 0,
306
- offsetSize: 0,
307
- visibleSize: 0,
308
- visibleStartIndex: 0,
309
- visibleEndIndex: 0,
310
- startIndex: 0,
311
- endIndex: 0
312
- },
313
- // 存放纵向 Y 虚拟滚动相关信息
314
- scrollYStore: {
315
- preloadSize: 0,
316
- offsetSize: 0,
317
- visibleSize: 0,
318
- visibleStartIndex: 0,
319
- visibleEndIndex: 0,
320
- startIndex: 0,
321
- endIndex: 0
322
- },
323
- // 表格宽度
324
- tableWidth: 0,
325
- // 表格高度
326
- tableHeight: 0,
327
- // 表头高度
328
- headerHeight: 0,
329
- // 表尾高度
330
- footerHeight: 0,
331
- customHeight: 0,
332
- customMinHeight: 0,
333
- customMaxHeight: 0,
334
- // 当前 hover 行
335
- hoverRow: null,
336
- // 最后滚动位置
337
- lastScrollLeft: 0,
338
- lastScrollTop: 0,
339
- // 单选框属性,已选中保留的行
340
- radioReserveRow: null,
341
- // 复选框属性,已选中保留的行集合
342
- checkboxReserveRowMap: {},
343
- // 行数据,已展开保留的行集合
344
- rowExpandedReserveRowMap: {},
345
- // 树结构数据,已展开保留的行集合
346
- treeExpandedReserveRowMap: {},
347
- // 树结构数据,不确定状态的集合
348
- treeIndeterminateRowMaps: {},
349
- // 列表完整数据、条件处理后
350
- tableFullData: [],
351
- afterFullData: [],
352
- afterTreeFullData: [],
353
- afterGroupFullData: [],
354
- // 列表条件处理后数据集合
355
- afterFullRowMaps: {},
356
- // 树结构完整数据、条件处理后
357
- tableFullTreeData: [],
358
- // 行分组全量数据、条件处理后
359
- tableFullGroupData: [],
360
- tableSynchData: [],
361
- tableSourceData: [],
362
- // 收集的列配置(带分组)
363
- collectColumn: [],
364
- // 完整所有列(不带分组)
365
- tableFullColumn: [],
366
- // 渲染所有列
367
- visibleColumn: [],
368
- // 全量数据集(包括当前和已删除)
369
- fullAllDataRowIdData: {},
370
- // 数据集(仅当前)
371
- fullDataRowIdData: {},
372
- // 数据集(仅可视)
373
- visibleDataRowIdData: {},
374
- // 渲染中缓存数据
375
- sourceDataRowIdData: {},
376
- fullColumnIdData: {},
377
- fullColumnFieldData: {},
378
-
379
- // 合并单元格的数据
380
- mergeBodyList: [],
381
- mergeBodyMaps: {},
382
- // 合并表尾的数据
383
- mergeFooterList: [],
384
- mergeFooterMaps: {},
385
- // 已合并单元格数据集合
386
- mergeBodyCellMaps: {},
387
- // 已合并表尾数据集合
388
- mergeFooterCellMaps: {},
389
- // 已展开的行集合
390
- rowExpandedMaps: {},
391
- // 懒加载中的展开行的集合
392
- rowExpandLazyLoadedMaps: {},
393
- // 已展开的分组行
394
- rowGroupExpandedMaps: {},
395
- // 已展开树节点集合
396
- treeExpandedMaps: {},
397
- // 懒加载中的树节点的集合
398
- treeExpandLazyLoadedMaps: {},
399
- // 复选框属性,已选中的行集合
400
- selectCheckboxMaps: {},
401
- // 已标记的对象集
402
- pendingRowMaps: {},
403
- // 已新增的临时行
404
- insertRowMaps: {},
405
- // 已删除行
406
- removeRowMaps: {},
407
-
408
- cvCacheMaps: {},
409
-
410
- inited: false,
411
- tooltipTimeout: null,
412
- initStatus: false,
413
- isActivated: false
414
- }
298
+ const internalData = createInternalData()
415
299
 
416
300
  let tableMethods = {} as TableMethods
417
301
  let tablePrivateMethods = {} as TablePrivateMethods
@@ -745,6 +629,11 @@ export default defineVxeComponent({
745
629
  })
746
630
 
747
631
  const computeIsMenu = computed(() => {
632
+ const isContentMenu = computeIsContentMenu.value
633
+ return isContentMenu
634
+ })
635
+
636
+ const computeIsContentMenu = computed(() => {
748
637
  const menuOpts = computeMenuOpts.value
749
638
  const headerMenu = computeHeaderMenu.value
750
639
  const bodyMenu = computeBodyMenu.value
@@ -11468,7 +11357,7 @@ export default defineVxeComponent({
11468
11357
  if (value && value.length >= 50000) {
11469
11358
  warnLog('vxe.error.errLargeData', ['loadData(data), reloadData(data)'])
11470
11359
  }
11471
- loadTableData(value, false).then(() => {
11360
+ loadTableData(value, true).then(() => {
11472
11361
  const { scrollXLoad, scrollYLoad, expandColumn } = reactData
11473
11362
  const expandOpts = computeExpandOpts.value
11474
11363
  internalData.inited = true
@@ -11930,9 +11819,6 @@ export default defineVxeComponent({
11930
11819
  if (tableViewportEl) {
11931
11820
  tableViewportEl.removeEventListener('wheel', $xeTable.triggerBodyWheelEvent)
11932
11821
  }
11933
- internalData.cvCacheMaps = {}
11934
- internalData.prevDragRow = null
11935
- internalData.prevDragCol = null
11936
11822
  if (resizeObserver) {
11937
11823
  resizeObserver.disconnect()
11938
11824
  }
@@ -11954,6 +11840,7 @@ export default defineVxeComponent({
11954
11840
  globalEvents.off($xeTable, 'resize')
11955
11841
  globalEvents.off($xeTable, 'contextmenu')
11956
11842
  tablePrivateMethods.preventEvent(null, 'unmounted', { $table: $xeTable })
11843
+ XEUtils.assign(internalData, createInternalData())
11957
11844
  })
11958
11845
 
11959
11846
  nextTick(() => {
@@ -4,7 +4,127 @@ import { ColumnInfo } from './columnInfo'
4
4
  import { isPx, isScale, queryElement } from '../../ui/src/dom'
5
5
  import { eqEmptyValue } from '../../ui/src/utils'
6
6
 
7
- import type { VxeTableConstructor, VxeTablePrivateMethods, VxeTableDefines, VxeTablePropTypes } from '../../../types'
7
+ import type { VxeTableConstructor, VxeTablePrivateMethods, VxeTableDefines, VxeTablePropTypes, TableInternalData } from '../../../types'
8
+
9
+ export function createInternalData (): TableInternalData {
10
+ return {
11
+ tZindex: 0,
12
+ currKeyField: '',
13
+ isCurrDeepKey: false,
14
+ elemStore: {},
15
+ // 存放横向 X 虚拟滚动相关的信息
16
+ scrollXStore: {
17
+ preloadSize: 0,
18
+ offsetSize: 0,
19
+ visibleSize: 0,
20
+ visibleStartIndex: 0,
21
+ visibleEndIndex: 0,
22
+ startIndex: 0,
23
+ endIndex: 0
24
+ },
25
+ // 存放纵向 Y 虚拟滚动相关信息
26
+ scrollYStore: {
27
+ preloadSize: 0,
28
+ offsetSize: 0,
29
+ visibleSize: 0,
30
+ visibleStartIndex: 0,
31
+ visibleEndIndex: 0,
32
+ startIndex: 0,
33
+ endIndex: 0
34
+ },
35
+ // 表格宽度
36
+ tableWidth: 0,
37
+ // 表格高度
38
+ tableHeight: 0,
39
+ // 表头高度
40
+ headerHeight: 0,
41
+ // 表尾高度
42
+ footerHeight: 0,
43
+ customHeight: 0,
44
+ customMinHeight: 0,
45
+ customMaxHeight: 0,
46
+ // 当前 hover 行
47
+ hoverRow: null,
48
+ // 最后滚动位置
49
+ lastScrollLeft: 0,
50
+ lastScrollTop: 0,
51
+ // 单选框属性,已选中保留的行
52
+ radioReserveRow: null,
53
+ // 复选框属性,已选中保留的行集合
54
+ checkboxReserveRowMap: {},
55
+ // 行数据,已展开保留的行集合
56
+ rowExpandedReserveRowMap: {},
57
+ // 树结构数据,已展开保留的行集合
58
+ treeExpandedReserveRowMap: {},
59
+ // 树结构数据,不确定状态的集合
60
+ treeIndeterminateRowMaps: {},
61
+ // 列表完整数据、条件处理后
62
+ tableFullData: [],
63
+ afterFullData: [],
64
+ afterTreeFullData: [],
65
+ afterGroupFullData: [],
66
+ // 列表条件处理后数据集合
67
+ afterFullRowMaps: {},
68
+ // 树结构完整数据、条件处理后
69
+ tableFullTreeData: [],
70
+ // 行分组全量数据、条件处理后
71
+ tableFullGroupData: [],
72
+ tableSynchData: [],
73
+ tableSourceData: [],
74
+ // 收集的列配置(带分组)
75
+ collectColumn: [],
76
+ // 完整所有列(不带分组)
77
+ tableFullColumn: [],
78
+ // 渲染所有列
79
+ visibleColumn: [],
80
+ // 全量数据集(包括当前和已删除)
81
+ fullAllDataRowIdData: {},
82
+ // 数据集(仅当前)
83
+ fullDataRowIdData: {},
84
+ // 数据集(仅可视)
85
+ visibleDataRowIdData: {},
86
+ // 渲染中缓存数据
87
+ sourceDataRowIdData: {},
88
+ fullColumnIdData: {},
89
+ fullColumnFieldData: {},
90
+
91
+ // 合并单元格的数据
92
+ mergeBodyList: [],
93
+ mergeBodyMaps: {},
94
+ // 合并表尾的数据
95
+ mergeFooterList: [],
96
+ mergeFooterMaps: {},
97
+ // 已合并单元格数据集合
98
+ mergeBodyCellMaps: {},
99
+ // 已合并表尾数据集合
100
+ mergeFooterCellMaps: {},
101
+ // 已展开的行集合
102
+ rowExpandedMaps: {},
103
+ // 懒加载中的展开行的集合
104
+ rowExpandLazyLoadedMaps: {},
105
+ // 已展开的分组行
106
+ rowGroupExpandedMaps: {},
107
+ // 已展开树节点集合
108
+ treeExpandedMaps: {},
109
+ // 懒加载中的树节点的集合
110
+ treeExpandLazyLoadedMaps: {},
111
+ // 复选框属性,已选中的行集合
112
+ selectCheckboxMaps: {},
113
+ // 已标记的对象集
114
+ pendingRowMaps: {},
115
+ // 已新增的临时行
116
+ insertRowMaps: {},
117
+ // 已删除行
118
+ removeRowMaps: {},
119
+
120
+ cvCacheMaps: {},
121
+
122
+ inited: false,
123
+ tooltipTimeout: null,
124
+ initStatus: false,
125
+ isActivated: false
126
+ }
127
+ }
8
128
 
9
129
  const getAllConvertColumns = (columns: any, parentColumn?: any) => {
10
130
  const result: any[] = []