@acorex/components 20.7.6 → 20.7.8

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,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "20.7.6",
3
+ "version": "20.7.8",
4
4
  "peerDependencies": {
5
- "@acorex/core": "20.7.6",
6
- "@acorex/cdk": "20.7.6",
5
+ "@acorex/core": "20.7.8",
6
+ "@acorex/cdk": "20.7.8",
7
7
  "polytype": ">=0.17.0",
8
8
  "angular-imask": ">=7.6.1",
9
9
  "gridstack": ">=12.0.0",
@@ -88,14 +88,14 @@
88
88
  "types": "./badge/index.d.ts",
89
89
  "default": "./fesm2022/acorex-components-badge.mjs"
90
90
  },
91
- "./bottom-navigation": {
92
- "types": "./bottom-navigation/index.d.ts",
93
- "default": "./fesm2022/acorex-components-bottom-navigation.mjs"
94
- },
95
91
  "./breadcrumbs": {
96
92
  "types": "./breadcrumbs/index.d.ts",
97
93
  "default": "./fesm2022/acorex-components-breadcrumbs.mjs"
98
94
  },
95
+ "./bottom-navigation": {
96
+ "types": "./bottom-navigation/index.d.ts",
97
+ "default": "./fesm2022/acorex-components-bottom-navigation.mjs"
98
+ },
99
99
  "./button": {
100
100
  "types": "./button/index.d.ts",
101
101
  "default": "./fesm2022/acorex-components-button.mjs"
package/popup/index.d.ts CHANGED
@@ -23,6 +23,7 @@ interface AXPopupConfig {
23
23
  hasBackdrop?: boolean;
24
24
  backdropClass?: string;
25
25
  closeOnBackdropClick?: boolean;
26
+ closeOnNavigation?: boolean;
26
27
  viewContainerRef?: ViewContainerRef;
27
28
  providers?: StaticProvider[];
28
29
  panelClass?: string[];
@@ -67,6 +68,8 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
67
68
  private loadingService;
68
69
  private _platform;
69
70
  private componentService;
71
+ private _router;
72
+ private _destroyRef;
70
73
  private contentContainerRef;
71
74
  private contentContainerEl;
72
75
  readonly __content__: i0.InputSignal<AXPopupContentType>;
@@ -97,6 +100,13 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
97
100
  private elementStartPos;
98
101
  /** @ignore */
99
102
  ngOnInit(): void;
103
+ /**
104
+ * Subscribes to router navigation events so the popup is closed automatically
105
+ * when the user navigates to another route. Enabled by default; disable via
106
+ * `closeOnNavigation: false` in the popup config.
107
+ * @ignore
108
+ */
109
+ private _setupCloseOnNavigation;
100
110
  /** @ignore */
101
111
  private renderContent;
102
112
  /** @ignore */