@acorex/platform 20.9.20 → 20.9.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/platform",
3
- "version": "20.9.20",
3
+ "version": "20.9.22",
4
4
  "peerDependencies": {
5
5
  "@acorex/cdk": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0 || ^21.0.3-next.0",
6
6
  "@acorex/core": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0 || ^21.0.3-next.0",
@@ -849,8 +849,9 @@ declare class AXPEntityMasterListViewModel {
849
849
  /**
850
850
  * Records the current route query context after initial resolver / view init so the first
851
851
  * subscription emission does not re-sync unnecessarily.
852
+ * Pass `overrides` when about to `replaceUrl` query params so the upcoming emission is treated as synced.
852
853
  */
853
- markRouteQueryContextSynced(queryParamMap: ParamMap): void;
854
+ markRouteQueryContextSynced(queryParamMap: ParamMap, overrides?: Record<string, string | null | undefined>): void;
854
855
  /**
855
856
  * Reacts to any route query param change while the list route is reused (`reuse: queryParamsChange`).
856
857
  * Handles known keys (`view`, `filters`) and re-evaluates view visibility for expression-driven params.
@@ -252,6 +252,8 @@ declare class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponen
252
252
  private restoreExpandedRowsScheduled;
253
253
  /** Blocks deferred `replaceUrl` view sync after destroy or once details navigation has started. */
254
254
  private listQueryParamSyncDisabled;
255
+ /** Tracks layout so card → table can reveal rows without a second fetch. */
256
+ private lastListLayout;
255
257
  constructor(platform: AXPlatform);
256
258
  ngOnInit(): Promise<void>;
257
259
  ngAfterViewInit(): Promise<void>;
@@ -276,6 +278,12 @@ declare class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponen
276
278
  */
277
279
  private syncListViewQueryParam;
278
280
  private reloadListData;
281
+ /**
282
+ * Manual-mode table gates the body on `isRefreshCalled` (set only by `grid.refresh()`).
283
+ * Card loads use shared `dataSource.refresh()`, so rows/totalCount update while the gate stays closed.
284
+ * Opening the gate here avoids an extra network refresh when switching to table.
285
+ */
286
+ private acknowledgeManualTableReady;
279
287
  /**
280
288
  * Waits until a `refresh()` load cycle completes (loading started, then finished with data).
281
289
  */