@taocompany/magic-grid 0.14.0 → 0.14.1
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/AGENTS.md +1 -1
- package/README.md +1 -1
- package/dist/api-manifest.json +131 -3
- package/dist/core/grid/grid.d.ts.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -1
- package/dist/index.es.js.map +1 -1
- package/dist/token-catalog.json +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -27635,7 +27635,10 @@ var dj = class {
|
|
|
27635
27635
|
setData(e) {
|
|
27636
27636
|
if (of(this.rowModel, "setData"), rf(this.rowModel)) {
|
|
27637
27637
|
let t = this.rowModel.getRowKey(), n = pf(e, this.rowModel.getSourceRows(), t), r = !this.preserveScrollOnSetData || !this.selectionOps.reserveSelection || (this.selectionService?.getSelectedRowIds().length ?? 0) > 0 || this.cellStyleOverrideService.hasOverrides();
|
|
27638
|
-
if (n && !r)
|
|
27638
|
+
if (n && !r) {
|
|
27639
|
+
this.overlayService.isRowDataReady() || (this.overlayService.markRowDataReady(), this.syncEmptyStateOverlay());
|
|
27640
|
+
return;
|
|
27641
|
+
}
|
|
27639
27642
|
}
|
|
27640
27643
|
let t = this.preserveScrollOnSetData, n = t ? this.viewport.getLogicalScrollTop() : 0, r = t ? this.viewport.viewportEl.scrollLeft : 0, i = performance.now(), a = this.selectionOps.reserveSelection && this.selectionService ? this.selectionService.getSelectedRowIds() : null, o = (this.selectionService?.getSelectedRowIds().length ?? 0) > 0;
|
|
27641
27644
|
this.selectionOps.reserveSelection || this.selectionService?.clear(), this.indexFocusService?.clear(), this.cellFocusService.clear(), this.validationFeedback.clear(this.mountEl), this.cellEditing.syncValidationHeaderDom(), this.treeLazyLoadService?.reset(), this.cellStyleOverrideService.clear();
|