@open-rlb/ng-app 3.1.89 → 3.1.91

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": "@open-rlb/ng-app",
3
- "version": "3.1.89",
3
+ "version": "3.1.91",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0",
@@ -77,6 +77,13 @@ declare class AppsService {
77
77
  } | null>;
78
78
  isAppSelected(appId: string): boolean;
79
79
  checkPermissionInCurrentApp(action?: string): boolean;
80
+ /**
81
+ * Finds the app that owns a given route path string (e.g. 'some-page/sub-page').
82
+ * Used by permissionGuard on initial deep-link navigation, before NavigationEnd has
83
+ * fired and currentApp has been selected by the router listener.
84
+ */
85
+ findAppForPath(path: string): AppInfo | undefined;
86
+ checkPermissionForApp(app: AppInfo, action?: string): boolean;
80
87
  selectApp(app?: AppInfo, viewMode?: 'app' | 'settings', url?: string): void;
81
88
  private initAuthProviders;
82
89
  private initRouterListener;