vxe-table 4.19.7 → 4.19.8

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.
package/dist/all.esm.js CHANGED
@@ -44,7 +44,7 @@ function eqEmptyValue(cellValue) {
44
44
  return cellValue === '' || XEUtils.eqNull(cellValue);
45
45
  }
46
46
 
47
- const version$1 = "4.19.7";
47
+ const version$1 = "4.19.8";
48
48
  VxeUI.version = version$1;
49
49
  VxeUI.tableVersion = version$1;
50
50
  VxeUI.setConfig({
@@ -556,7 +556,7 @@ const modal = {
556
556
  const defineVxeComponent = defineComponent;
557
557
 
558
558
  const { log } = VxeUI;
559
- const version = `table v${"4.19.7"}`;
559
+ const version = `table v${"4.19.8"}`;
560
560
  const warnLog = log.create('warn', version);
561
561
  const errLog = log.create('error', version);
562
562
 
@@ -1019,6 +1019,7 @@ function createInternalData$3() {
1019
1019
  sourceDataRowIdData: {},
1020
1020
  fullColumnIdData: {},
1021
1021
  fullColumnFieldData: {},
1022
+ fullCellHeightMaps: {},
1022
1023
  // 当前行
1023
1024
  currentRow: null,
1024
1025
  // 合并表头单元格的数据
@@ -1079,7 +1080,8 @@ function createInternalData$3() {
1079
1080
  inited: false,
1080
1081
  tooltipTimeout: null,
1081
1082
  initStatus: false,
1082
- isActivated: false
1083
+ isActivated: false,
1084
+ rceDelay: 0
1083
1085
  // _sToTime: null
1084
1086
  };
1085
1087
  }
@@ -1327,6 +1329,21 @@ function createReactData$2() {
1327
1329
  isColLoading: false
1328
1330
  };
1329
1331
  }
1332
+ const maxKey = '__max';
1333
+ function getRowMaxHeight(chRest, isForce) {
1334
+ if (isForce || !chRest[maxKey]) {
1335
+ let max = 0;
1336
+ for (const key in chRest) {
1337
+ const val = chRest[key];
1338
+ if (key !== maxKey && XEUtils.isNumber(val) && val > max) {
1339
+ max = val;
1340
+ }
1341
+ }
1342
+ chRest[maxKey] = max;
1343
+ return max;
1344
+ }
1345
+ return chRest[maxKey];
1346
+ }
1330
1347
  const getAllConvertColumns = (columns, parentColumn) => {
1331
1348
  const result = [];
1332
1349
  columns.forEach((column) => {
@@ -16624,34 +16641,38 @@ var VxeTableComponent = defineVxeComponent({
16624
16641
  /**
16625
16642
  * 计算自适应行高
16626
16643
  */
16627
- const calcCellAutoHeight = (rowRest, wrapperEl) => {
16628
- const { scrollXLoad } = reactData;
16644
+ const calcCellAutoHeight = (rowid, rowRest, wrapperEl) => {
16645
+ const { fullCellHeightMaps } = internalData;
16646
+ let chRest = fullCellHeightMaps[rowid];
16647
+ if (!chRest) {
16648
+ chRest = {};
16649
+ fullCellHeightMaps[rowid] = chRest;
16650
+ }
16629
16651
  const wrapperElemList = wrapperEl.querySelectorAll(`.vxe-cell--wrapper[rowid="${rowRest.rowid}"]`);
16630
- let colHeight = 0;
16631
16652
  let firstCellStyle = null;
16632
16653
  let topBottomPadding = 0;
16654
+ let changeCH = false;
16633
16655
  for (let i = 0; i < wrapperElemList.length; i++) {
16634
16656
  const wrapperElem = wrapperElemList[i];
16635
16657
  const cellElem = wrapperElem.parentElement;
16636
16658
  const cellStyle = cellElem.style;
16637
16659
  const orHeight = cellStyle.height;
16638
- if (!scrollXLoad) {
16639
- cellStyle.height = '';
16640
- }
16660
+ const colid = wrapperElem.getAttribute('colid') || '';
16661
+ cellStyle.height = '';
16641
16662
  if (!firstCellStyle) {
16642
16663
  firstCellStyle = getComputedStyle(cellElem);
16643
16664
  topBottomPadding = firstCellStyle ? Math.ceil(XEUtils.toNumber(firstCellStyle.paddingTop) + XEUtils.toNumber(firstCellStyle.paddingBottom)) : 0;
16644
16665
  }
16645
- if (!scrollXLoad) {
16646
- cellStyle.height = orHeight;
16647
- }
16648
16666
  const cellHeight = wrapperElem ? wrapperElem.clientHeight : 0;
16649
- colHeight = Math.max(colHeight, Math.ceil(cellHeight + topBottomPadding));
16650
- }
16651
- if (scrollXLoad) {
16652
- colHeight = Math.max(colHeight, rowRest.height);
16667
+ const colHeight = Math.ceil(cellHeight + topBottomPadding);
16668
+ if (chRest[colid] !== colHeight) {
16669
+ changeCH = true;
16670
+ chRest[colid] = colHeight;
16671
+ }
16672
+ cellStyle.height = orHeight;
16653
16673
  }
16654
- return colHeight;
16674
+ const cellMaxHeight = getRowMaxHeight(chRest, changeCH);
16675
+ return cellMaxHeight;
16655
16676
  };
16656
16677
  /**
16657
16678
  * 自适应行高
@@ -16673,7 +16694,7 @@ var VxeTableComponent = defineVxeComponent({
16673
16694
  const rowid = handleGetRowId(row);
16674
16695
  const rowRest = fullAllDataRowIdData[rowid];
16675
16696
  if (rowRest) {
16676
- const reHeight = calcCellAutoHeight(rowRest, el);
16697
+ const reHeight = calcCellAutoHeight(rowid, rowRest, el);
16677
16698
  rowRest.height = Math.max(defaultRowHeight, reHeight);
16678
16699
  }
16679
16700
  el.removeAttribute('data-calc-row');
@@ -17943,7 +17964,6 @@ var VxeTableComponent = defineVxeComponent({
17943
17964
  };
17944
17965
  const handleRecalculateStyle = (reFull, reWidth, reHeight) => {
17945
17966
  const el = refElem.value;
17946
- internalData.rceRunTime = Date.now();
17947
17967
  if (!el || !el.clientWidth) {
17948
17968
  return nextTick();
17949
17969
  }
@@ -17967,6 +17987,7 @@ var VxeTableComponent = defineVxeComponent({
17967
17987
  if (reFull) {
17968
17988
  updateTreeLineStyle();
17969
17989
  }
17990
+ internalData.rceRunTime = Date.now();
17970
17991
  return computeScrollLoad().then(() => {
17971
17992
  // 初始化时需要在列计算之后再执行优化运算,达到最优显示效果
17972
17993
  if (reWidth) {
@@ -17987,18 +18008,30 @@ var VxeTableComponent = defineVxeComponent({
17987
18008
  if (reFull) {
17988
18009
  updateTreeLineStyle();
17989
18010
  }
18011
+ internalData.rceRunTime = Date.now();
17990
18012
  if (reFull) {
17991
18013
  return computeScrollLoad();
17992
18014
  }
17993
18015
  });
17994
18016
  };
18017
+ const minRunDelay = 50;
17995
18018
  const handleLazyRecalculate = (reFull, reWidth, reHeight) => {
17996
18019
  return new Promise(resolve => {
17997
18020
  const $xeGanttView = internalData.xeGanttView;
17998
18021
  const { customStore } = reactData;
17999
18022
  const { rceTimeout, rceRunTime } = internalData;
18000
18023
  const resizeOpts = computeResizeOpts.value;
18001
- const refreshDelay = resizeOpts.refreshDelay || 20;
18024
+ let rceDelay = internalData.rceDelay;
18025
+ // 如果在500毫秒内频繁执行,则执行次数减缓
18026
+ if (rceRunTime && rceRunTime > Date.now() - 500) {
18027
+ rceDelay += 50;
18028
+ }
18029
+ else {
18030
+ rceDelay = 0;
18031
+ }
18032
+ internalData.rceDelay = rceDelay;
18033
+ const refreshDelay = resizeOpts.refreshDelay || 30;
18034
+ const reDelay = rceDelay + refreshDelay;
18002
18035
  const el = refElem.value;
18003
18036
  if (el && el.clientWidth) {
18004
18037
  autoCellWidth();
@@ -18009,7 +18042,7 @@ var VxeTableComponent = defineVxeComponent({
18009
18042
  }
18010
18043
  if (rceTimeout) {
18011
18044
  clearTimeout(rceTimeout);
18012
- if (rceRunTime && rceRunTime + (refreshDelay - 5) < Date.now()) {
18045
+ if (rceRunTime && rceRunTime + minRunDelay < Date.now()) {
18013
18046
  resolve(handleRecalculateStyle(reFull, reWidth, reHeight));
18014
18047
  }
18015
18048
  else {
@@ -18027,11 +18060,23 @@ var VxeTableComponent = defineVxeComponent({
18027
18060
  internalData.rceTimeout = setTimeout(() => {
18028
18061
  internalData.rceTimeout = undefined;
18029
18062
  handleRecalculateStyle(reFull, reWidth, reHeight);
18030
- }, refreshDelay);
18063
+ if ($xeGanttView && $xeGanttView.handleLazyRecalculate) {
18064
+ $xeGanttView.handleLazyRecalculate();
18065
+ }
18066
+ }, reDelay);
18031
18067
  });
18032
18068
  };
18069
+ let resizePending = false;
18033
18070
  const handleResizeEvent = () => {
18034
- handleLazyRecalculate(true, true, true);
18071
+ if (resizePending) {
18072
+ return;
18073
+ }
18074
+ resizePending = true;
18075
+ handleLazyRecalculate(true, true, true).then(() => {
18076
+ resizePending = false;
18077
+ }).catch(() => {
18078
+ resizePending = false;
18079
+ });
18035
18080
  };
18036
18081
  const handleUpdateAggValues = () => {
18037
18082
  const { visibleColumn } = internalData;
@@ -18375,6 +18420,7 @@ var VxeTableComponent = defineVxeComponent({
18375
18420
  reactData.insertRowFlag++;
18376
18421
  internalData.removeRowMaps = {};
18377
18422
  reactData.removeRowFlag++;
18423
+ internalData.fullCellHeightMaps = {};
18378
18424
  const sYLoad = updateScrollYStatus(fullData);
18379
18425
  // 全量数据
18380
18426
  internalData.tableFullData = fullData;
@@ -18735,8 +18781,42 @@ var VxeTableComponent = defineVxeComponent({
18735
18781
  internalData.fullColumnIdData = fullColIdData;
18736
18782
  internalData.fullColumnFieldData = fullColFieldData;
18737
18783
  };
18738
- const handleInitColumn = (collectColumn) => {
18784
+ const buildColumnInfo = () => {
18785
+ const { scrollXLoad, scrollYLoad, expandColumn } = reactData;
18739
18786
  const expandOpts = computeExpandOpts.value;
18787
+ cacheColumnMap();
18788
+ parseColumns(true).then(() => {
18789
+ if (reactData.scrollXLoad) {
18790
+ loadScrollXData();
18791
+ }
18792
+ });
18793
+ $xeTable.clearHeaderFormatterCache();
18794
+ $xeTable.clearMergeCells();
18795
+ $xeTable.clearMergeFooterItems();
18796
+ $xeTable.handleTableData(true);
18797
+ $xeTable.handleAggregateSummaryData();
18798
+ if ((scrollXLoad || scrollYLoad) && (expandColumn && expandOpts.mode !== 'fixed')) {
18799
+ warnLog('vxe.error.scrollErrProp', ['column.type=expand']);
18800
+ }
18801
+ return nextTick().then(() => {
18802
+ if ($xeToolbar) {
18803
+ $xeToolbar.syncUpdate({
18804
+ collectColumn: internalData.collectColumn,
18805
+ $table: $xeTable
18806
+ });
18807
+ }
18808
+ if ($xeTable.handleUpdateCustomColumn) {
18809
+ $xeTable.handleUpdateCustomColumn();
18810
+ }
18811
+ const columnOpts = computeColumnOpts.value;
18812
+ if (props.showCustomHeader && reactData.isGroup && (columnOpts.resizable || props.resizable)) {
18813
+ warnLog('vxe.error.notConflictProp', ['show-custom-header & colgroup', 'column-config.resizable=false']);
18814
+ }
18815
+ reactData.isColLoading = false;
18816
+ return handleLazyRecalculate(false, true, true);
18817
+ });
18818
+ };
18819
+ const handleInitColumn = (collectColumn) => {
18740
18820
  internalData.collectColumn = collectColumn;
18741
18821
  const tFullColumn = getColumnList(collectColumn);
18742
18822
  internalData.tableFullColumn = tFullColumn;
@@ -18744,38 +18824,7 @@ var VxeTableComponent = defineVxeComponent({
18744
18824
  reactData.isColLoading = true;
18745
18825
  initColumnHierarchy();
18746
18826
  return Promise.resolve(restoreCustomStorage()).then(() => {
18747
- const { scrollXLoad, scrollYLoad, expandColumn } = reactData;
18748
- cacheColumnMap();
18749
- parseColumns(true).then(() => {
18750
- if (reactData.scrollXLoad) {
18751
- loadScrollXData();
18752
- }
18753
- });
18754
- $xeTable.clearHeaderFormatterCache();
18755
- $xeTable.clearMergeCells();
18756
- $xeTable.clearMergeFooterItems();
18757
- $xeTable.handleTableData(true);
18758
- $xeTable.handleAggregateSummaryData();
18759
- if ((scrollXLoad || scrollYLoad) && (expandColumn && expandOpts.mode !== 'fixed')) {
18760
- warnLog('vxe.error.scrollErrProp', ['column.type=expand']);
18761
- }
18762
- return nextTick().then(() => {
18763
- if ($xeToolbar) {
18764
- $xeToolbar.syncUpdate({
18765
- collectColumn: internalData.collectColumn,
18766
- $table: $xeTable
18767
- });
18768
- }
18769
- if ($xeTable.handleUpdateCustomColumn) {
18770
- $xeTable.handleUpdateCustomColumn();
18771
- }
18772
- const columnOpts = computeColumnOpts.value;
18773
- if (props.showCustomHeader && reactData.isGroup && (columnOpts.resizable || props.resizable)) {
18774
- warnLog('vxe.error.notConflictProp', ['show-custom-header & colgroup', 'column-config.resizable=false']);
18775
- }
18776
- reactData.isColLoading = false;
18777
- return handleLazyRecalculate(false, true, true);
18778
- });
18827
+ return buildColumnInfo();
18779
18828
  });
18780
18829
  };
18781
18830
  const updateScrollXStatus = (fullColumn) => {
@@ -20712,7 +20761,7 @@ var VxeTableComponent = defineVxeComponent({
20712
20761
  const rowid = XEUtils.isString(row) || XEUtils.isNumber(row) ? row : handleGetRowId(row);
20713
20762
  const rowRest = fullAllDataRowIdData[rowid];
20714
20763
  if (rowRest) {
20715
- rowRest.resizeHeight = calcCellAutoHeight(rowRest, el);
20764
+ rowRest.resizeHeight = calcCellAutoHeight(rowid, rowRest, el);
20716
20765
  }
20717
20766
  el.removeAttribute('data-calc-row');
20718
20767
  });
@@ -22466,6 +22515,65 @@ var VxeTableComponent = defineVxeComponent({
22466
22515
  clearHistory() {
22467
22516
  return $xeTable.handleClearStack();
22468
22517
  },
22518
+ /**
22519
+ * 用于 custom-config,用于手动恢复自定义列设置信息,恢复表格重置为初始状态
22520
+ * @param storeData
22521
+ * @returns
22522
+ */
22523
+ setCustomStoreData(storeData) {
22524
+ if (!storeData) {
22525
+ return nextTick();
22526
+ }
22527
+ const customOpts = computeCustomOpts.value;
22528
+ const { checkMethod } = customOpts;
22529
+ // 重置状态
22530
+ clearTableAllStatus($xeTable);
22531
+ // 恢复列
22532
+ const allCols = [];
22533
+ XEUtils.eachTree(internalData.collectColumn, (column) => {
22534
+ column.resizeWidth = 0;
22535
+ column.fixed = column.defaultFixed;
22536
+ column.renderSortNumber = column.sortNumber;
22537
+ column.parentId = column.defaultParentId;
22538
+ if (!checkMethod || checkMethod({ $table: $xeTable, column })) {
22539
+ column.visible = column.defaultVisible;
22540
+ }
22541
+ column.aggFunc = column.defaultAggFunc;
22542
+ column.renderAggFn = column.defaultAggFunc;
22543
+ column.renderResizeWidth = column.renderWidth;
22544
+ allCols.push(column);
22545
+ });
22546
+ const newCollectCols = XEUtils.toArrayTree(XEUtils.orderBy(allCols, 'renderSortNumber'), { key: 'id', parentKey: 'parentId', children: 'children' });
22547
+ internalData.collectColumn = newCollectCols;
22548
+ internalData.tableFullColumn = getColumnList(newCollectCols);
22549
+ reactData.updateColFlag++;
22550
+ reactData.isColLoading = true;
22551
+ initColumnHierarchy();
22552
+ return Promise.resolve(handleCustomRestore(storeData)).then(() => {
22553
+ return buildColumnInfo();
22554
+ }).then(() => {
22555
+ // 恢复数据聚合分组
22556
+ const { isRowGroupStatus, rowGroupList } = reactData;
22557
+ if (isRowGroupStatus && !!$xeTable.handlePivotTableAggData) {
22558
+ const rowGroupFields = computeRowGroupFields.value;
22559
+ if (rowGroupFields ? rowGroupFields.length : rowGroupList.length) {
22560
+ if (rowGroupFields && rowGroupFields.length) {
22561
+ $xeTable.setRowGroups(rowGroupFields);
22562
+ }
22563
+ else {
22564
+ $xeTable.clearRowGroups();
22565
+ }
22566
+ }
22567
+ else {
22568
+ $xeTable.handleUpdateAggData();
22569
+ }
22570
+ }
22571
+ });
22572
+ },
22573
+ /**
22574
+ * 用于 custom-config,用于获取自定义列设置信息,用于自定义保持
22575
+ * @returns
22576
+ */
22469
22577
  getCustomStoreData() {
22470
22578
  const { id } = props;
22471
22579
  const customOpts = computeCustomOpts.value;
@@ -24235,6 +24343,9 @@ var VxeTableComponent = defineVxeComponent({
24235
24343
  }
24236
24344
  }
24237
24345
  },
24346
+ /**
24347
+ * @private
24348
+ */
24238
24349
  handleRowResizeMousedownEvent(evnt, params) {
24239
24350
  evnt.stopPropagation();
24240
24351
  evnt.preventDefault();
@@ -24351,6 +24462,9 @@ var VxeTableComponent = defineVxeComponent({
24351
24462
  };
24352
24463
  updateEvent(evnt);
24353
24464
  },
24465
+ /**
24466
+ * @private
24467
+ */
24354
24468
  handleRowResizeDblclickEvent(evnt, params) {
24355
24469
  const resizableOpts = computeResizableOpts.value;
24356
24470
  const { isDblclickAutoHeight } = resizableOpts;
@@ -24369,7 +24483,7 @@ var VxeTableComponent = defineVxeComponent({
24369
24483
  }
24370
24484
  const handleRsHeight = () => {
24371
24485
  el.setAttribute('data-calc-row', 'Y');
24372
- const resizeHeight = calcCellAutoHeight(rowRest, el);
24486
+ const resizeHeight = calcCellAutoHeight(rowid, rowRest, el);
24373
24487
  el.removeAttribute('data-calc-row');
24374
24488
  const resizeParams = Object.assign(Object.assign({}, params), { resizeHeight, resizeRow: row });
24375
24489
  reactData.isDragResize = false;
@@ -24390,6 +24504,9 @@ var VxeTableComponent = defineVxeComponent({
24390
24504
  }
24391
24505
  }
24392
24506
  },
24507
+ /**
24508
+ * @private
24509
+ */
24393
24510
  saveCustomStore(type) {
24394
24511
  const { customConfig } = props;
24395
24512
  const tableId = computeTableId.value;
@@ -24436,6 +24553,9 @@ var VxeTableComponent = defineVxeComponent({
24436
24553
  }
24437
24554
  return nextTick();
24438
24555
  },
24556
+ /**
24557
+ * @private
24558
+ */
24439
24559
  handleCustom() {
24440
24560
  const { mouseConfig } = props;
24441
24561
  if (mouseConfig) {
@@ -29526,7 +29646,7 @@ var VxeToolbarComponent = defineVxeComponent({
29526
29646
 
29527
29647
  const { getConfig, getI18n, commands, hooks, useFns, createEvent, globalEvents, GLOBAL_EVENT_KEYS, renderEmptyElement } = VxeUI;
29528
29648
  const tableComponentPropKeys = Object.keys(tableProps);
29529
- const tableComponentMethodKeys = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'setRow', 'createData', 'createRow', 'revertData', 'clearData', 'isRemoveByRow', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getFullColumns', 'getData', 'getCheckboxRecords', 'getParentRow', 'getTreeRowChildren', 'getTreeRowLevel', 'getTreeParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'getFullData', 'setColumnFixed', 'clearColumnFixed', 'setColumnWidth', 'getColumnWidth', 'recalcRowHeight', 'setRowHeightConf', 'getRowHeightConf', 'setRowHeight', 'getRowHeight', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'setCheckboxRowKey', 'isCheckedByCheckboxRow', 'isCheckedByCheckboxRowKey', 'isIndeterminateByCheckboxRow', 'isIndeterminateByCheckboxRowKey', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'isCheckedByRadioRowKey', 'setRadioRow', 'setRadioRowKey', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'setPendingRow', 'togglePendingRow', 'hasPendingByRow', 'isPendingByRow', 'getPendingRecords', 'clearPendingRow', 'setFilterByEvent', 'sort', 'setSort', 'setSortByEvent', 'clearSort', 'clearSortByEvent', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', 'clearFilterByEvent', 'isActiveFilterByColumn', 'isRowExpandLoaded', 'clearRowExpandLoaded', 'reloadRowExpand', 'reloadRowExpand', 'toggleRowExpand', 'setAllRowExpand', 'setRowExpand', 'isExpandByRow', 'isRowExpandByRow', 'clearRowExpand', 'clearRowExpandReserve', 'getRowExpandRecords', 'getTreeExpandRecords', 'isTreeExpandLoaded', 'clearTreeExpandLoaded', 'reloadTreeExpand', 'reloadTreeChilds', 'toggleTreeExpand', 'setAllTreeExpand', 'setTreeExpand', 'isTreeExpandByRow', 'clearTreeExpand', 'clearTreeExpandReserve', 'getScroll', 'getScrollData', 'scrollTo', 'scrollToStartRow', 'scrollToEndRow', 'scrollToRow', 'scrollToStartColumn', 'scrollToEndColumn', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'setMergeHeaderCells', 'removeMergeHeaderCells', 'getMergeHeaderCells', 'clearMergeHeaderCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'getCustomStoreData', 'setRowGroupExpand', 'setRowGroupExpandByField', 'setAllRowGroupExpand', 'clearRowGroupExpand', 'isRowGroupExpandByRow', 'isRowGroupRecord', 'isAggregateRecord', 'isAggregateExpandByRow', 'getAggregateContentByRow', 'getAggregateRowChildren', 'setRowGroups', 'clearRowGroups', 'openTooltip', 'moveColumnTo', 'moveRowTo', 'getCellLabel', 'updateCellLabel', 'clearFormatterCache', 'getFooterCellLabel', 'updateFooterCellLabel', 'clearFooterFormatterCache', 'undo', 'redo', 'getCellElement', 'focus', 'blur', 'connect', 'connectToolbar'];
29649
+ const tableComponentMethodKeys = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'setRow', 'createData', 'createRow', 'revertData', 'clearData', 'isRemoveByRow', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getFullColumns', 'getData', 'getCheckboxRecords', 'getParentRow', 'getTreeRowChildren', 'getTreeRowLevel', 'getTreeParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'getFullData', 'setColumnFixed', 'clearColumnFixed', 'setColumnWidth', 'getColumnWidth', 'recalcRowHeight', 'setRowHeightConf', 'getRowHeightConf', 'setRowHeight', 'getRowHeight', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'setCheckboxRowKey', 'isCheckedByCheckboxRow', 'isCheckedByCheckboxRowKey', 'isIndeterminateByCheckboxRow', 'isIndeterminateByCheckboxRowKey', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'isCheckedByRadioRowKey', 'setRadioRow', 'setRadioRowKey', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'setPendingRow', 'togglePendingRow', 'hasPendingByRow', 'isPendingByRow', 'getPendingRecords', 'clearPendingRow', 'setFilterByEvent', 'sort', 'setSort', 'setSortByEvent', 'clearSort', 'clearSortByEvent', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', 'clearFilterByEvent', 'isActiveFilterByColumn', 'isRowExpandLoaded', 'clearRowExpandLoaded', 'reloadRowExpand', 'reloadRowExpand', 'toggleRowExpand', 'setAllRowExpand', 'setRowExpand', 'isExpandByRow', 'isRowExpandByRow', 'clearRowExpand', 'clearRowExpandReserve', 'getRowExpandRecords', 'getTreeExpandRecords', 'isTreeExpandLoaded', 'clearTreeExpandLoaded', 'reloadTreeExpand', 'reloadTreeChilds', 'toggleTreeExpand', 'setAllTreeExpand', 'setTreeExpand', 'isTreeExpandByRow', 'clearTreeExpand', 'clearTreeExpandReserve', 'getScroll', 'getScrollData', 'scrollTo', 'scrollToStartRow', 'scrollToEndRow', 'scrollToRow', 'scrollToStartColumn', 'scrollToEndColumn', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'setMergeHeaderCells', 'removeMergeHeaderCells', 'getMergeHeaderCells', 'clearMergeHeaderCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'setCustomStoreData', 'getCustomStoreData', 'setRowGroupExpand', 'setRowGroupExpandByField', 'setAllRowGroupExpand', 'clearRowGroupExpand', 'isRowGroupExpandByRow', 'isRowGroupRecord', 'isAggregateRecord', 'isAggregateExpandByRow', 'getAggregateContentByRow', 'getAggregateRowChildren', 'setRowGroups', 'clearRowGroups', 'openTooltip', 'moveColumnTo', 'moveRowTo', 'getCellLabel', 'updateCellLabel', 'clearFormatterCache', 'getFooterCellLabel', 'updateFooterCellLabel', 'clearFooterFormatterCache', 'undo', 'redo', 'getCellElement', 'focus', 'blur', 'connect', 'connectToolbar'];
29530
29650
  function createReactData() {
29531
29651
  var _a;
29532
29652
  return {