@visactor/vtable 1.22.7-alpha.6 → 1.22.7-alpha.7

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/es/ListTable.d.ts CHANGED
@@ -71,6 +71,7 @@ export declare class ListTable extends BaseTable implements ListTableAPI {
71
71
  updateSortState(sortState: SortState[] | SortState | null, executeSort?: boolean): void;
72
72
  updateFilterRules(filterRules: FilterRules, options?: {
73
73
  clearRowHeightCache?: boolean;
74
+ onFilterRecordsEnd?: (records: any[]) => any[];
74
75
  }): void;
75
76
  getFilteredRecords(): any[];
76
77
  getCheckboxState(field?: string | number): any[];
package/es/ListTable.js CHANGED
@@ -571,8 +571,8 @@ export class ListTable extends BaseTable {
571
571
  }) {
572
572
  var _a;
573
573
  this.scenegraph.clearCells(), this.sortState ? (this.dataSource.updateFilterRulesForSorted(filterRules),
574
- sortRecords(this)) : this.dataSource.updateFilterRules(filterRules), this.refreshRowColCount(),
575
- this.stateManager.initCheckedState(this.records), this.scenegraph.createSceneGraph(!(null == options ? void 0 : options.clearRowHeightCache)),
574
+ sortRecords(this)) : this.dataSource.updateFilterRules(filterRules, null == options ? void 0 : options.onFilterRecordsEnd),
575
+ this.refreshRowColCount(), this.stateManager.initCheckedState(this.records), this.scenegraph.createSceneGraph(!(null == options ? void 0 : options.clearRowHeightCache)),
576
576
  null === (_a = this.internalProps.emptyTip) || void 0 === _a || _a.resetVisible(),
577
577
  this.resize();
578
578
  }