@visactor/vtable 1.13.3-alpha.3 → 1.13.3-alpha.5

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 (85) hide show
  1. package/cjs/PivotTable.js +2 -2
  2. package/cjs/PivotTable.js.map +1 -1
  3. package/cjs/components/react/react-custom-layout.js +1 -1
  4. package/cjs/components/react/react-custom-layout.js.map +1 -1
  5. package/cjs/core/BaseTable.d.ts +1 -1
  6. package/cjs/core/BaseTable.js +3 -3
  7. package/cjs/core/BaseTable.js.map +1 -1
  8. package/cjs/core/record-helper.js +2 -2
  9. package/cjs/core/record-helper.js.map +1 -1
  10. package/cjs/index.d.ts +1 -1
  11. package/cjs/index.js +1 -1
  12. package/cjs/index.js.map +1 -1
  13. package/cjs/plugins/custom-cell-style.js +1 -1
  14. package/cjs/plugins/custom-cell-style.js.map +1 -1
  15. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
  16. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -1
  17. package/cjs/scenegraph/group-creater/cell-type/radio-cell.js +1 -1
  18. package/cjs/scenegraph/group-creater/cell-type/radio-cell.js.map +1 -1
  19. package/cjs/scenegraph/group-creater/cell-type/text-cell.js.map +1 -1
  20. package/cjs/scenegraph/group-creater/column-helper.js.map +1 -1
  21. package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js +1 -1
  22. package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -1
  23. package/cjs/scenegraph/group-creater/progress/proxy.js +6 -6
  24. package/cjs/scenegraph/group-creater/progress/proxy.js.map +1 -1
  25. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +6 -6
  26. package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -1
  27. package/cjs/scenegraph/group-creater/progress/update-position/sort-vertical.js +3 -3
  28. package/cjs/scenegraph/group-creater/progress/update-position/sort-vertical.js.map +1 -1
  29. package/cjs/scenegraph/layout/compute-row-height.js +9 -13
  30. package/cjs/scenegraph/layout/compute-row-height.js.map +1 -1
  31. package/cjs/scenegraph/layout/update-height.js.map +1 -1
  32. package/cjs/scenegraph/layout/update-row.js +4 -4
  33. package/cjs/scenegraph/layout/update-row.js.map +1 -1
  34. package/cjs/scenegraph/layout/update-width.js.map +1 -1
  35. package/cjs/scenegraph/scenegraph.js +1 -1
  36. package/cjs/scenegraph/scenegraph.js.map +1 -1
  37. package/cjs/ts-types/base-table.d.ts +1 -5
  38. package/cjs/ts-types/base-table.js.map +1 -1
  39. package/cjs/ts-types/table-engine.d.ts +4 -0
  40. package/cjs/ts-types/table-engine.js.map +1 -1
  41. package/cjs/vrender.js.map +1 -1
  42. package/dist/vtable.js +39 -49
  43. package/dist/vtable.min.js +2 -2
  44. package/es/PivotTable.js +2 -2
  45. package/es/PivotTable.js.map +1 -1
  46. package/es/components/react/react-custom-layout.js +1 -1
  47. package/es/components/react/react-custom-layout.js.map +1 -1
  48. package/es/core/BaseTable.d.ts +1 -1
  49. package/es/core/BaseTable.js +3 -3
  50. package/es/core/BaseTable.js.map +1 -1
  51. package/es/core/record-helper.js +2 -2
  52. package/es/core/record-helper.js.map +1 -1
  53. package/es/index.d.ts +1 -1
  54. package/es/index.js +1 -1
  55. package/es/index.js.map +1 -1
  56. package/es/plugins/custom-cell-style.js +2 -2
  57. package/es/plugins/custom-cell-style.js.map +1 -1
  58. package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
  59. package/es/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -1
  60. package/es/scenegraph/group-creater/cell-type/radio-cell.js +1 -1
  61. package/es/scenegraph/group-creater/cell-type/radio-cell.js.map +1 -1
  62. package/es/scenegraph/group-creater/cell-type/text-cell.js.map +1 -1
  63. package/es/scenegraph/group-creater/column-helper.js.map +1 -1
  64. package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js +1 -1
  65. package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -1
  66. package/es/scenegraph/group-creater/progress/proxy.js +6 -6
  67. package/es/scenegraph/group-creater/progress/proxy.js.map +1 -1
  68. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +6 -6
  69. package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -1
  70. package/es/scenegraph/group-creater/progress/update-position/sort-vertical.js +3 -3
  71. package/es/scenegraph/group-creater/progress/update-position/sort-vertical.js.map +1 -1
  72. package/es/scenegraph/layout/compute-row-height.js +9 -13
  73. package/es/scenegraph/layout/compute-row-height.js.map +1 -1
  74. package/es/scenegraph/layout/update-height.js.map +1 -1
  75. package/es/scenegraph/layout/update-row.js +4 -4
  76. package/es/scenegraph/layout/update-row.js.map +1 -1
  77. package/es/scenegraph/layout/update-width.js.map +1 -1
  78. package/es/scenegraph/scenegraph.js +1 -1
  79. package/es/scenegraph/scenegraph.js.map +1 -1
  80. package/es/ts-types/base-table.d.ts +1 -5
  81. package/es/ts-types/base-table.js.map +1 -1
  82. package/es/ts-types/table-engine.d.ts +4 -0
  83. package/es/ts-types/table-engine.js.map +1 -1
  84. package/es/vrender.js.map +1 -1
  85. package/package.json +4 -4
package/dist/vtable.js CHANGED
@@ -34075,7 +34075,7 @@
34075
34075
  if (table.widthMode === 'autoWidth') {
34076
34076
  table.scenegraph.recalculateColWidths();
34077
34077
  }
34078
- if (table.isAutoRowHeight()) {
34078
+ if (table.heightMode === 'autoHeight') {
34079
34079
  table.scenegraph.recalculateRowHeights();
34080
34080
  }
34081
34081
  table.scenegraph.renderSceneGraph();
@@ -37515,7 +37515,8 @@
37515
37515
  table.defaultHeaderColWidth;
37516
37516
  const isDefaultHeaderHasAuto = table.defaultHeaderRowHeight === 'auto' ||
37517
37517
  (isArray$1(table.defaultHeaderRowHeight) && table.defaultHeaderRowHeight.some(item => item === 'auto'));
37518
- const isAllRowsAuto = table.isAutoRowHeight() || (table.heightMode === 'adaptive' && table.options.autoHeightInAdaptiveMode !== false);
37518
+ const isAllRowsAuto = table.heightMode === 'autoHeight' ||
37519
+ (table.heightMode === 'adaptive' && table.options.autoHeightInAdaptiveMode !== false);
37519
37520
  const isDefaultRowHeightIsAuto = table.options.defaultRowHeight === 'auto';
37520
37521
  if (isAllRowsAuto || isDefaultHeaderHasAuto || isDefaultRowHeightIsAuto) {
37521
37522
  rowStart = rowStart ?? 0;
@@ -37736,22 +37737,14 @@
37736
37737
  }
37737
37738
  }
37738
37739
  function computeRowHeight(row, startCol, endCol, table) {
37739
- const isAllRowsAuto = table.isAutoRowHeight() || (table.heightMode === 'adaptive' && table.options.autoHeightInAdaptiveMode !== false);
37740
+ const isAllRowsAuto = table.heightMode === 'autoHeight' ||
37741
+ (table.heightMode === 'adaptive' && table.options.autoHeightInAdaptiveMode !== false);
37740
37742
  if (!isAllRowsAuto && table.getDefaultRowHeight(row) !== 'auto') {
37741
37743
  return table.getDefaultRowHeight(row);
37742
37744
  }
37743
37745
  let maxHeight;
37744
37746
  if (table.options.customComputeRowHeight) {
37745
- const customRowHeight = table.options.customComputeRowHeight({
37746
- row,
37747
- table
37748
- });
37749
- if (typeof customRowHeight === 'number') {
37750
- return customRowHeight;
37751
- }
37752
- else if (customRowHeight !== 'auto') {
37753
- return table.getDefaultRowHeight(row);
37754
- }
37747
+ return table.options.customComputeRowHeight({ row, table: table });
37755
37748
  }
37756
37749
  if (table.isPivotChart() &&
37757
37750
  row >= table.columnHeaderLevelCount &&
@@ -37810,7 +37803,7 @@
37810
37803
  const { layoutMap } = table.internalProps;
37811
37804
  const row = table.columnHeaderLevelCount;
37812
37805
  if ((table.internalProps.autoWrapText || table.internalProps.enableLineBreak || table.isPivotChart()) &&
37813
- (table.isAutoRowHeight() || table.options.heightMode === 'adaptive')) {
37806
+ (table.options.heightMode === 'autoHeight' || table.options.heightMode === 'adaptive')) {
37814
37807
  return false;
37815
37808
  }
37816
37809
  for (let col = 0; col < table.colCount; col++) {
@@ -37838,7 +37831,7 @@
37838
37831
  function checkFixedStyleAndNoWrapForTranspose(table, row) {
37839
37832
  const { layoutMap } = table.internalProps;
37840
37833
  if ((table.internalProps.autoWrapText || table.internalProps.enableLineBreak) &&
37841
- (table.isAutoRowHeight() || table.options.heightMode === 'adaptive')) {
37834
+ (table.options.heightMode === 'autoHeight' || table.options.heightMode === 'adaptive')) {
37842
37835
  return false;
37843
37836
  }
37844
37837
  const cellDefine = layoutMap.getBody(table.rowHeaderLevelCount, row);
@@ -37860,7 +37853,8 @@
37860
37853
  }
37861
37854
  function checkPivotFixedStyleAndNoWrap(table, row) {
37862
37855
  const { layoutMap } = table.internalProps;
37863
- if (table.internalProps.autoWrapText && (table.isAutoRowHeight() || table.options.heightMode === 'adaptive')) {
37856
+ if (table.internalProps.autoWrapText &&
37857
+ (table.options.heightMode === 'autoHeight' || table.options.heightMode === 'adaptive')) {
37864
37858
  return false;
37865
37859
  }
37866
37860
  const headerDefine = layoutMap.getHeader(table.rowHeaderLevelCount, row);
@@ -42973,7 +42967,7 @@
42973
42967
  let distColForCompute;
42974
42968
  let distRowForCompute;
42975
42969
  if (table.widthMode === 'adaptive' ||
42976
- (table.options.autoWrapText && (table.heightMode === 'adaptive' || table.isAutoRowHeight()))) {
42970
+ (table.options.autoWrapText && (table.heightMode === 'adaptive' || table.heightMode === 'autoHeight'))) {
42977
42971
  distColForCompute = table.colCount - 1;
42978
42972
  distCol = Math.min(proxy.firstScreenColLimit, table.colCount - 1);
42979
42973
  }
@@ -43501,7 +43495,7 @@
43501
43495
  const distEndRow = direction === 'up' ? proxy.rowEnd + count : proxy.rowStart - 1;
43502
43496
  let syncTopRow;
43503
43497
  let syncBottomRow;
43504
- if (proxy.table.isAutoRowHeight()) {
43498
+ if (proxy.table.heightMode === 'autoHeight') {
43505
43499
  syncTopRow = distStartRow;
43506
43500
  syncBottomRow = distEndRow;
43507
43501
  }
@@ -43516,7 +43510,7 @@
43516
43510
  proxy.rowStart = direction === 'up' ? proxy.rowStart + count : proxy.rowStart - count;
43517
43511
  proxy.rowEnd = direction === 'up' ? proxy.rowEnd + count : proxy.rowEnd - count;
43518
43512
  const sync = updateRowContent(syncTopRow, syncBottomRow, proxy, true);
43519
- if (proxy.table.isAutoRowHeight()) {
43513
+ if (proxy.table.heightMode === 'autoHeight') {
43520
43514
  updateAutoRow(proxy.bodyLeftCol, proxy.bodyRightCol, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? 'down' : 'up', true);
43521
43515
  updateAutoRow(0, proxy.table.frozenColCount - 1, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? 'down' : 'up', true);
43522
43516
  updateAutoRow(proxy.table.colCount - proxy.table.rightFrozenColCount, proxy.table.colCount - 1, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? 'down' : 'up', true);
@@ -43524,7 +43518,7 @@
43524
43518
  proxy.currentRow = direction === 'up' ? proxy.currentRow + count : proxy.currentRow - count;
43525
43519
  proxy.totalRow = Math.max(0, Math.min(proxy.bodyBottomRow, direction === 'up' ? proxy.totalRow + count : proxy.totalRow - count, proxy.table.rowCount - 1));
43526
43520
  proxy.referenceRow = proxy.rowStart + Math.floor((proxy.rowEnd - proxy.rowStart) / 2);
43527
- if (proxy.table.isAutoRowHeight() && sync) {
43521
+ if (proxy.table.heightMode === 'autoHeight' && sync) {
43528
43522
  proxy.rowUpdatePos = Math.min(proxy.rowUpdatePos, proxy.rowEnd + 1);
43529
43523
  }
43530
43524
  else {
@@ -43540,7 +43534,7 @@
43540
43534
  const distStartRowY = proxy.table.getRowsHeight(proxy.bodyTopRow, distStartRow - 1);
43541
43535
  let syncTopRow;
43542
43536
  let syncBottomRow;
43543
- if (proxy.table.isAutoRowHeight()) {
43537
+ if (proxy.table.heightMode === 'autoHeight') {
43544
43538
  syncTopRow = distStartRow;
43545
43539
  syncBottomRow = distEndRow;
43546
43540
  }
@@ -43553,7 +43547,7 @@
43553
43547
  proxy.rowStart = distStartRow;
43554
43548
  proxy.rowEnd = distEndRow;
43555
43549
  const sync = updateRowContent(syncTopRow, syncBottomRow, proxy, true);
43556
- if (proxy.table.isAutoRowHeight()) {
43550
+ if (proxy.table.heightMode === 'autoHeight') {
43557
43551
  updateAutoRow(proxy.bodyLeftCol, proxy.bodyRightCol, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? 'down' : 'up');
43558
43552
  updateAutoRow(0, proxy.table.frozenColCount - 1, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? 'down' : 'up');
43559
43553
  updateAutoRow(proxy.table.colCount - proxy.table.rightFrozenColCount, proxy.table.colCount - 1, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? 'down' : 'up');
@@ -43561,7 +43555,7 @@
43561
43555
  proxy.currentRow = direction === 'up' ? proxy.currentRow + count : proxy.currentRow - count;
43562
43556
  proxy.totalRow = Math.max(0, Math.min(proxy.bodyBottomRow, direction === 'up' ? proxy.totalRow + count : proxy.totalRow - count, proxy.table.rowCount - 1));
43563
43557
  proxy.referenceRow = proxy.rowStart + Math.floor((proxy.rowEnd - proxy.rowStart) / 2);
43564
- if (proxy.table.isAutoRowHeight() && sync) {
43558
+ if (proxy.table.heightMode === 'autoHeight' && sync) {
43565
43559
  proxy.rowUpdatePos = proxy.rowEnd + 1;
43566
43560
  }
43567
43561
  else {
@@ -43685,7 +43679,7 @@
43685
43679
  });
43686
43680
  let syncTopRow;
43687
43681
  let syncBottomRow;
43688
- if (proxy.table.isAutoRowHeight()) {
43682
+ if (proxy.table.heightMode === 'autoHeight') {
43689
43683
  syncTopRow = proxy.rowStart;
43690
43684
  syncBottomRow = proxy.rowEnd;
43691
43685
  }
@@ -43727,13 +43721,13 @@
43727
43721
  }
43728
43722
  }
43729
43723
  updateRowContent(syncTopRow, syncBottomRow, proxy);
43730
- if (proxy.table.isAutoRowHeight()) {
43724
+ if (proxy.table.heightMode === 'autoHeight') {
43731
43725
  updateAutoRow(proxy.bodyLeftCol, proxy.bodyRightCol, syncTopRow, syncBottomRow, proxy.table, proxy.rowEnd > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? 'down' : 'up');
43732
43726
  }
43733
43727
  proxy.rowUpdatePos = proxy.rowStart;
43734
43728
  proxy.rowUpdateDirection = proxy.rowEnd > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? 'down' : 'up';
43735
43729
  proxy.table.scenegraph.updateNextFrame();
43736
- if (!proxy.table.isAutoRowHeight()) {
43730
+ if (proxy.table.heightMode !== 'autoHeight') {
43737
43731
  await proxy.progress();
43738
43732
  }
43739
43733
  }
@@ -44094,7 +44088,7 @@
44094
44088
  this.rowLimit = Math.max(100, Math.ceil((table.tableNoFrameHeight * 2) / table.defaultRowHeight));
44095
44089
  this.colLimit = Math.max(100, Math.ceil((table.tableNoFrameWidth * 2) / table.defaultColWidth));
44096
44090
  }
44097
- else if (this.table.isAutoRowHeight()) {
44091
+ else if (this.table.heightMode === 'autoHeight') {
44098
44092
  this.rowLimit = Math.max(100, Math.ceil((table.tableNoFrameHeight * 2) / table.defaultRowHeight));
44099
44093
  }
44100
44094
  else if (this.table.widthMode === 'autoWidth') {
@@ -44377,11 +44371,11 @@
44377
44371
  }
44378
44372
  updateCellGroups(count) {
44379
44373
  const distRow = Math.min(this.bodyBottomRow, this.rowUpdatePos + count);
44380
- if (this.table.isAutoRowHeight()) {
44374
+ if (this.table.heightMode === 'autoHeight') {
44381
44375
  computeRowsHeight(this.table, this.rowUpdatePos, distRow, false);
44382
44376
  }
44383
44377
  updateRowContent(this.rowUpdatePos, distRow, this);
44384
- if (this.table.isAutoRowHeight()) {
44378
+ if (this.table.heightMode === 'autoHeight') {
44385
44379
  updateAutoRow(this.bodyLeftCol, this.bodyRightCol, this.rowUpdatePos, distRow, this.table, this.rowUpdateDirection, true);
44386
44380
  updateAutoRow(0, this.table.frozenColCount - 1, this.rowUpdatePos, distRow, this.table, this.rowUpdateDirection, true);
44387
44381
  updateAutoRow(this.table.colCount - this.table.rightFrozenColCount, this.table.colCount - 1, this.rowUpdatePos, distRow, this.table, this.rowUpdateDirection, true);
@@ -44391,11 +44385,11 @@
44391
44385
  updateBottomFrozenCellGroups() {
44392
44386
  const startRow = this.table.rowCount - this.table.bottomFrozenRowCount;
44393
44387
  const endRow = this.table.rowCount - 1;
44394
- if (this.table.isAutoRowHeight()) {
44388
+ if (this.table.heightMode === 'autoHeight') {
44395
44389
  computeRowsHeight(this.table, startRow, endRow, false);
44396
44390
  }
44397
44391
  updateRowContent(startRow, endRow, this);
44398
- if (this.table.isAutoRowHeight()) {
44392
+ if (this.table.heightMode === 'autoHeight') {
44399
44393
  updateAutoRow(this.bodyLeftCol, this.bodyRightCol, startRow, endRow, this.table, this.rowUpdateDirection);
44400
44394
  updateAutoRow(0, this.table.frozenColCount - 1, startRow, endRow, this.table, this.rowUpdateDirection);
44401
44395
  updateAutoRow(this.table.colCount - this.table.rightFrozenColCount, this.table.colCount - 1, startRow, endRow, this.table, this.rowUpdateDirection);
@@ -44408,7 +44402,7 @@
44408
44402
  computeColsWidth(this.table, startCol, endCol, false);
44409
44403
  }
44410
44404
  updateColContent(startCol, endCol, this);
44411
- if (this.table.isAutoRowHeight()) {
44405
+ if (this.table.heightMode === 'autoHeight') {
44412
44406
  updateAutoColumn(startCol, endCol, this.table, this.colUpdateDirection);
44413
44407
  }
44414
44408
  }
@@ -45650,11 +45644,11 @@
45650
45644
  addNeedUpdateTag({
45651
45645
  start: {
45652
45646
  row: beforeCell.mergeStartRow,
45653
- col: scene.table.isAutoRowHeight() ? 0 : beforeCell.mergeStartCol
45647
+ col: scene.table.heightMode === 'autoHeight' ? 0 : beforeCell.mergeStartCol
45654
45648
  },
45655
45649
  end: {
45656
45650
  row: beforeCell.mergeEndRow,
45657
- col: scene.table.isAutoRowHeight() ? scene.table.colCount - 1 : beforeCell.mergeEndCol
45651
+ col: scene.table.heightMode === 'autoHeight' ? scene.table.colCount - 1 : beforeCell.mergeEndCol
45658
45652
  }
45659
45653
  }, scene);
45660
45654
  row = beforeCell.mergeStartRow;
@@ -45664,11 +45658,11 @@
45664
45658
  addNeedUpdateTag({
45665
45659
  start: {
45666
45660
  row: afterCell.mergeStartRow,
45667
- col: scene.table.isAutoRowHeight() ? 0 : afterCell.mergeStartCol
45661
+ col: scene.table.heightMode === 'autoHeight' ? 0 : afterCell.mergeStartCol
45668
45662
  },
45669
45663
  end: {
45670
45664
  row: afterCell.mergeEndRow,
45671
- col: scene.table.isAutoRowHeight() ? scene.table.colCount - 1 : afterCell.mergeEndCol
45665
+ col: scene.table.heightMode === 'autoHeight' ? scene.table.colCount - 1 : afterCell.mergeEndCol
45672
45666
  }
45673
45667
  }, scene);
45674
45668
  row = afterCell.mergeStartRow;
@@ -48592,7 +48586,7 @@
48592
48586
  (this.table.autoFillHeight && (this.table.getAllRowsHeight() <= this.table.tableNoFrameHeight || isNotFillHeight))) {
48593
48587
  this.table.scenegraph.recalculateRowHeights();
48594
48588
  }
48595
- else if (this.table.isAutoRowHeight()) {
48589
+ else if (this.table.heightMode === 'autoHeight') {
48596
48590
  for (let i = 0; i < updateRows.length; i++) {
48597
48591
  const row = updateRows[i];
48598
48592
  const oldHeight = this.table.getRowHeight(row);
@@ -58104,7 +58098,7 @@
58104
58098
  cacheStyle = cacheStyle.clone();
58105
58099
  for (const key in customCellStyle) {
58106
58100
  const value = customCellStyle[key];
58107
- if (isValid$1(value)) {
58101
+ if (value) {
58108
58102
  cacheStyle[`_${key}`] = value;
58109
58103
  }
58110
58104
  }
@@ -58371,7 +58365,7 @@
58371
58365
  return TABLE_EVENT_TYPE;
58372
58366
  }
58373
58367
  options;
58374
- version = "1.13.3-alpha.3";
58368
+ version = "1.13.3-alpha.5";
58375
58369
  pagination;
58376
58370
  id = `VTable${Date.now()}`;
58377
58371
  headerStyleCache;
@@ -59057,7 +59051,6 @@
59057
59051
  let h = 0;
59058
59052
  const isDefaultRowHeightIsAuto = this.options.defaultRowHeight === 'auto';
59059
59053
  if (this.heightMode === 'standard' &&
59060
- !this.options.customComputeRowHeight &&
59061
59054
  !this.autoFillHeight &&
59062
59055
  this.internalProps.layoutMap &&
59063
59056
  !this.hasAutoImageColumn() &&
@@ -59122,9 +59115,6 @@
59122
59115
  if (this.heightMode === 'autoHeight') {
59123
59116
  return true;
59124
59117
  }
59125
- else if (this.options.customComputeRowHeight) {
59126
- return true;
59127
- }
59128
59118
  else if (row >= 0 && row < this.columnHeaderLevelCount) {
59129
59119
  return this.getDefaultRowHeight(row) === 'auto';
59130
59120
  }
@@ -63663,7 +63653,7 @@
63663
63653
  table.scenegraph.recalculateRowHeights();
63664
63654
  }
63665
63655
  }
63666
- else if (table.isAutoRowHeight() && !table.internalProps._heightResizedRowMap.has(row)) {
63656
+ else if (table.heightMode === 'autoHeight' && !table.internalProps._heightResizedRowMap.has(row)) {
63667
63657
  const oldHeight = table.getRowHeight(row);
63668
63658
  const newHeight = computeRowHeight(row, 0, table.colCount - 1, table);
63669
63659
  table.scenegraph.updateRowHeight(row, newHeight - oldHeight);
@@ -63813,7 +63803,7 @@
63813
63803
  (table.autoFillHeight && table.getAllRowsHeight() <= table.tableNoFrameHeight)) {
63814
63804
  table.scenegraph.recalculateRowHeights();
63815
63805
  }
63816
- else if (table.isAutoRowHeight()) {
63806
+ else if (table.heightMode === 'autoHeight') {
63817
63807
  const rows = [];
63818
63808
  const deltaYs = [];
63819
63809
  for (let sRow = startRow; sRow <= range.end.row; sRow++) {
@@ -69652,7 +69642,7 @@
69652
69642
  const autoWrapText = cellStyle.autoWrapText ?? table.internalProps.autoWrapText;
69653
69643
  const { lineClamp } = cellStyle;
69654
69644
  const autoColWidth = colWidth === 'auto';
69655
- const autoRowHeight = table.isAutoRowHeight();
69645
+ const autoRowHeight = table.heightMode === 'autoHeight';
69656
69646
  const attribute = {
69657
69647
  maxLineWidth: autoColWidth
69658
69648
  ? Infinity
@@ -76953,7 +76943,7 @@
76953
76943
  this.scenegraph.recalculateRowHeights();
76954
76944
  }
76955
76945
  }
76956
- else if (this.isAutoRowHeight() && !this.internalProps._heightResizedRowMap.has(row)) {
76946
+ else if (this.heightMode === 'autoHeight' && !this.internalProps._heightResizedRowMap.has(row)) {
76957
76947
  const oldHeight = this.getRowHeight(row);
76958
76948
  const newHeight = computeRowHeight(row, 0, this.colCount - 1, this);
76959
76949
  this.scenegraph.updateRowHeight(row, newHeight - oldHeight);
@@ -77051,7 +77041,7 @@
77051
77041
  if (this.heightMode === 'adaptive' || (this.autoFillHeight && this.getAllRowsHeight() <= this.tableNoFrameHeight)) {
77052
77042
  this.scenegraph.recalculateRowHeights();
77053
77043
  }
77054
- else if (this.isAutoRowHeight()) {
77044
+ else if (this.heightMode === 'autoHeight') {
77055
77045
  const rows = [];
77056
77046
  const deltaYs = [];
77057
77047
  for (let sRow = startRow; sRow <= range.end.row; sRow++) {
@@ -78849,7 +78839,7 @@
78849
78839
  }
78850
78840
 
78851
78841
  registerForVrender();
78852
- const version = "1.13.3-alpha.3";
78842
+ const version = "1.13.3-alpha.5";
78853
78843
  function getIcons() {
78854
78844
  return get$2();
78855
78845
  }