@acorex/platform 20.9.12 → 20.9.14

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.12",
3
+ "version": "20.9.14",
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",
@@ -16,7 +16,7 @@ import { AXPWidgetColumnNode, AXPWidgetConfig } from '@acorex/platform/layout/wi
16
16
  import * as i4 from '@acorex/platform/layout/widget-core';
17
17
  import { AXPWidgetCoreService, AXPColumnWidgetComponent, AXPValueWidgetComponent, AXPWidgetRendererDirective, AXPWidgetCoreElementAPI } from '@acorex/platform/layout/widget-core';
18
18
  import * as i1 from '@angular/router';
19
- import { ResolveFn, RedirectCommand } from '@angular/router';
19
+ import { ParamMap, ResolveFn, RedirectCommand } from '@angular/router';
20
20
  import * as rxjs from 'rxjs';
21
21
  import { Subject } from 'rxjs';
22
22
  import * as i3 from '@acorex/platform/workflow';
@@ -640,6 +640,7 @@ declare class AXPEntityMasterListViewModel {
640
640
  private lastAppliedSortKey;
641
641
  private lastAppliedFilterKey;
642
642
  private hasQueryParamsFilters;
643
+ private routeQueryContextKey;
643
644
  /** Persisted expanded row ids for hierarchical lists (per view). */
644
645
  private readonly expandedRowIds;
645
646
  /** When true, row expand/collapse is not written to user settings (restore in progress). */
@@ -837,6 +838,20 @@ declare class AXPEntityMasterListViewModel {
837
838
  * Apply filters from query params
838
839
  */
839
840
  applyFiltersFromQueryParams(filtersJson: string | null): boolean;
841
+ /**
842
+ * Records the current route query context after initial resolver / view init so the first
843
+ * subscription emission does not re-sync unnecessarily.
844
+ */
845
+ markRouteQueryContextSynced(queryParamMap: ParamMap): void;
846
+ /**
847
+ * Reacts to any route query param change while the list route is reused (`reuse: queryParamsChange`).
848
+ * Handles known keys (`view`, `filters`) and re-evaluates view visibility for expression-driven params.
849
+ */
850
+ syncFromRouteQueryParams(queryParamMap: ParamMap): Promise<{
851
+ reloadList: boolean;
852
+ }>;
853
+ private buildRouteQueryContextKey;
854
+ private syncFiltersFromRouteQueryParam;
840
855
  /**
841
856
  * Loads host and merge-detail related sortable field definitions (async registry resolution).
842
857
  */