@taocompany/magic-grid 0.13.4 → 0.13.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.
package/dist/index.es.js CHANGED
@@ -27508,7 +27508,7 @@ var rj = class {
27508
27508
  let c = new Set(this.rowModel.getSourceRows().map((e) => e.id)), l = [...s].filter((e) => !c.has(e));
27509
27509
  l.length > 0 && (this.clearCellEditorCacheForRemovedRows(l), this.clearCellStyleOverridesForRemovedRows(l));
27510
27510
  let u = this.selectionOps.reconcileSelectionAfterSetData(a, o);
27511
- t || this.viewport.resetScrollOnSetData(), this.viewport.syncViewportHeight(), this.valueCache.bump(), this.refreshCellSpanCache(), this.reconcileRowPoolAfterDisplayChange(c), t ? this.viewport.scrollTo(n, r) : this.viewport.scrollTo(0, 0), this.selectionOps.applySelectionVisuals(), this.selectionOps.applyIndexFocusVisuals({ syncToSelectionColumn: !1 }), this.selectionOps.reconcilePendingDefaultSelectedRows(), this.applyFocusVisuals(), this.lastSetDataMs = performance.now() - i, this.viewport.scheduleCompressedSetDataRedraw(() => {
27511
+ t || this.viewport.resetScrollOnSetData(), this.viewport.syncViewportHeight(), this.valueCache.bump(), this.refreshCellSpanCache(), this.reconcileRowPoolAfterDisplayChange(c), this.rowRenderer.setValueCacheVersion(this.valueCache.getVersion()), this.rowRenderer.resetRowRenderWindowCache(), t ? this.viewport.scrollTo(n, r) : this.viewport.scrollTo(0, 0), this.selectionOps.applySelectionVisuals(), this.selectionOps.applyIndexFocusVisuals({ syncToSelectionColumn: !1 }), this.selectionOps.reconcilePendingDefaultSelectedRows(), this.applyFocusVisuals(), this.lastSetDataMs = performance.now() - i, this.viewport.scheduleCompressedSetDataRedraw(() => {
27512
27512
  this.viewport.syncViewportHeight(), this.viewport.redrawImmediately(), t && this.viewport.scrollTo(n, r), this.gridFooter.refresh();
27513
27513
  }), this.gridFooter.refresh(), this.maybeApplyFitCellContentsStrategy(e.length), u && this.selectionService && this.eventBus.emit("selectionChanged", {
27514
27514
  selectedRowIds: this.selectionService.getSelectedRowIds(),