@acorex-platform/framework-client 2.0.0-next.31 → 2.0.0-next.33

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.
Files changed (17) hide show
  1. package/fesm2022/{acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-DmkFxSuJ.mjs → acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-C7w6zptT.mjs} +71 -24
  2. package/fesm2022/acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-C7w6zptT.mjs.map +1 -0
  3. package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-BV5WLQVo.mjs → acorex-platform-framework-client-layout-entity-attachments-page.component-DaU3c421.mjs} +2 -2
  4. package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-BV5WLQVo.mjs.map → acorex-platform-framework-client-layout-entity-attachments-page.component-DaU3c421.mjs.map} +1 -1
  5. package/fesm2022/{acorex-platform-framework-client-layout-entity-bulk-entity.command-O8zdiHRH.mjs → acorex-platform-framework-client-layout-entity-bulk-entity.command-OgcVdNXS.mjs} +2 -2
  6. package/fesm2022/{acorex-platform-framework-client-layout-entity-bulk-entity.command-O8zdiHRH.mjs.map → acorex-platform-framework-client-layout-entity-bulk-entity.command-OgcVdNXS.mjs.map} +1 -1
  7. package/fesm2022/{acorex-platform-framework-client-layout-entity-file-list-popup.component-B3-0gJTQ.mjs → acorex-platform-framework-client-layout-entity-file-list-popup.component-DWL1v6N3.mjs} +2 -2
  8. package/fesm2022/{acorex-platform-framework-client-layout-entity-file-list-popup.component-B3-0gJTQ.mjs.map → acorex-platform-framework-client-layout-entity-file-list-popup.component-DWL1v6N3.mjs.map} +1 -1
  9. package/fesm2022/{acorex-platform-framework-client-layout-entity-gallery-page.component-CjfLUBPZ.mjs → acorex-platform-framework-client-layout-entity-gallery-page.component-zNyimD5t.mjs} +2 -2
  10. package/fesm2022/{acorex-platform-framework-client-layout-entity-gallery-page.component-CjfLUBPZ.mjs.map → acorex-platform-framework-client-layout-entity-gallery-page.component-zNyimD5t.mjs.map} +1 -1
  11. package/fesm2022/acorex-platform-framework-client-layout-entity.mjs +1 -1
  12. package/fesm2022/acorex-platform-framework-client-themes-default.mjs +58 -3
  13. package/fesm2022/acorex-platform-framework-client-themes-default.mjs.map +1 -1
  14. package/package.json +2 -2
  15. package/types/acorex-platform-framework-client-layout-entity.d.ts +21 -4
  16. package/types/acorex-platform-framework-client-themes-default.d.ts +12 -0
  17. package/fesm2022/acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-DmkFxSuJ.mjs.map +0 -1
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@acorex-platform/framework-client",
3
- "version": "2.0.0-next.31",
3
+ "version": "2.0.0-next.33",
4
4
  "peerDependencies": {
5
- "@acorex-platform/framework-shared": "2.0.0-next.31",
5
+ "@acorex-platform/framework-shared": "2.0.0-next.33",
6
6
  "@acorex/cdk": "^21.0.0 || ^22.0.0 || ^22.0.0-next.0 || ^22.1.0-next.0 || ^22.2.0-next.0 || ^22.2.0-next.0",
7
7
  "@acorex/charts": "^21.0.0 || ^22.0.0 || ^22.0.0-next.0 || ^22.1.0-next.0 || ^22.2.0-next.0 || ^22.2.0-next.0",
8
8
  "@acorex/components": "^21.0.0 || ^22.0.0 || ^22.0.0-next.0 || ^22.1.0-next.0 || ^22.2.0-next.0 || ^22.2.0-next.0",
@@ -1554,6 +1554,15 @@ declare class AXPEntityMasterListViewModel {
1554
1554
  readonly listTransitionLoading: _angular_core.WritableSignal<boolean>;
1555
1555
  private hasQueryParamsFilters;
1556
1556
  private routeQueryContextKey;
1557
+ /**
1558
+ * Copy of this list's query params. Visibility reads this record, never a shared live ParamMap or the active tab URL.
1559
+ * `mode` and `list` are the tab identity. `view` is page state on that same tab.
1560
+ */
1561
+ private routeQueryParams;
1562
+ /** `mode` / `list` last passed to {@link refreshVisibleViews}. */
1563
+ private evaluatedNavigationMode;
1564
+ private evaluatedNavigationList;
1565
+ private navigationViewsEvaluated;
1557
1566
  readonly listInstanceId: _angular_core.WritableSignal<string>;
1558
1567
  /** Bumped when list-instance filters are re-seeded so the toolbar chips catch up. */
1559
1568
  readonly listFilterSeedEpoch: _angular_core.WritableSignal<number>;
@@ -1632,6 +1641,12 @@ declare class AXPEntityMasterListViewModel {
1632
1641
  private persistListDisplayMode;
1633
1642
  private createLogicExpressionScope;
1634
1643
  private createDisplayExpressionScope;
1644
+ /**
1645
+ * `queryParams.get` reads this list's copied params.
1646
+ * The global router URL is only a fallback before the first copy is stored.
1647
+ */
1648
+ private createRouteBoundExpressionScope;
1649
+ private readListQueryParam;
1635
1650
  /**
1636
1651
  * Evaluates each view's `visible` expression and updates the filtered view list.
1637
1652
  */
@@ -1656,7 +1671,7 @@ declare class AXPEntityMasterListViewModel {
1656
1671
  isViewSwitchCurrent(epoch: number): boolean;
1657
1672
  /** Clears the switch skeleton only for the load that still belongs to `epoch`. */
1658
1673
  finishListTransition(epoch: number): void;
1659
- setView(viewName?: string | null, viewSwitchEpoch?: number): Promise<void>;
1674
+ setView(viewName?: string | null, viewSwitchEpoch?: number, forcePresentation?: boolean): Promise<void>;
1660
1675
  private isStaleViewSwitch;
1661
1676
  /**
1662
1677
  * Drops an in-flight list result so it cannot paint on the new view.
@@ -1801,10 +1816,12 @@ declare class AXPEntityMasterListViewModel {
1801
1816
  *
1802
1817
  * @param overrides Merged over the snapshot (e.g. pending `view` written via `replaceUrl`).
1803
1818
  */
1819
+ /** Copies this list's query params. Does not mark the route context or reload. */
1820
+ bindRouteQueryParamMap(queryParamMap: ParamMap): void;
1804
1821
  markRouteQueryContextSynced(queryParamMap: ParamMap, overrides?: Record<string, string | null | undefined>): void;
1805
1822
  /**
1806
- * Reacts to any route query param change while the list route is reused (`reuse: queryParamsChange`).
1807
- * Handles known keys (`view`, `filters`, `list`) and re-evaluates view visibility for expression-driven params.
1823
+ * Copies this list's query params into an owned record before the context-key return.
1824
+ * When `mode` or `list` differ from the last visibility pass, reloads that tab's view, columns, and rows.
1808
1825
  *
1809
1826
  * Data reload is owned by {@link applyFilterAndSort} → `events$` when criteria change.
1810
1827
  * `reloadList` stays false so callers do not issue a second `reloadListData` for the same transition.
@@ -1941,7 +1958,7 @@ declare class AXPEntityListViewModelFactory {
1941
1958
  private entityService;
1942
1959
  private layout;
1943
1960
  private injector;
1944
- create(moduleName: string, entityName: string): Promise<AXPEntityMasterListViewModel>;
1961
+ create(moduleName: string, entityName: string, queryParamMap?: ParamMap): Promise<AXPEntityMasterListViewModel>;
1945
1962
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityListViewModelFactory, never>;
1946
1963
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityListViewModelFactory>;
1947
1964
  }
@@ -337,6 +337,10 @@ declare class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponen
337
337
  private restoreExpandedRowsScheduled;
338
338
  /** Blocks deferred `replaceUrl` view sync after destroy or once details navigation has started. */
339
339
  private listQueryParamSyncDisabled;
340
+ /** `mode` and `list` this cached list was opened with. A hidden tab ignores any other pair. */
341
+ private tabNavigationMode;
342
+ private tabNavigationList;
343
+ private tabNavigationCaptured;
340
344
  constructor(platform: AXPlatform);
341
345
  ngOnInit(): Promise<void>;
342
346
  ngAfterViewInit(): Promise<void>;
@@ -362,6 +366,14 @@ declare class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponen
362
366
  * Re-checks the live URL so a deferred call cannot `replaceUrl` over a details entry.
363
367
  */
364
368
  private syncListViewQueryParam;
369
+ /**
370
+ * Rebinds this cached list from its own route snapshot when its tab is shown again.
371
+ * `ngAfterViewInit` does not run for a reattached tab.
372
+ */
373
+ private syncShownTabQueryParams;
374
+ /** True when a query emission belongs to another list tab (`mode` / `list`). */
375
+ private isForeignTabNavigation;
376
+ private captureTabNavigationIdentity;
365
377
  /** True when this cached list is not the visible route tab. */
366
378
  private isListTabInBackground;
367
379
  /**