@open-rlb/ng-app 3.1.85 → 3.1.86

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.
@@ -1,25 +1,22 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Provider, EnvironmentProviders, InjectionToken, EventEmitter, TransferState, Type, OnInit, PipeTransform, OnDestroy } from '@angular/core';
2
+ import { Provider, EnvironmentProviders, InjectionToken, TransferState, Type, OnInit, PipeTransform, OnDestroy } from '@angular/core';
3
3
  import { OpenIdConfiguration, OidcSecurityService, LoginResponse } from 'angular-auth-oidc-client';
4
- import * as i26 from '@angular/router';
5
- import { Routes, ActivatedRoute, Router, CanActivateFn, CanDeactivateFn } from '@angular/router';
4
+ import * as i5 from '@angular/router';
5
+ import { Routes, CanActivateFn, Router, CanDeactivateFn } from '@angular/router';
6
6
  import * as _ngrx_signals from '@ngrx/signals';
7
7
  import * as rxjs from 'rxjs';
8
8
  import { Observable, OperatorFunction } from 'rxjs';
9
9
  import * as _open_rlb_ng_app from '@open-rlb/ng-app';
10
10
  import * as _open_rlb_ng_bootstrap from '@open-rlb/ng-bootstrap';
11
- import { SidebarNavigableItem, BreadcrumbItem, UniqueIdService, ModalService, ToastService, ModalType, IModal, ModalData, VisibilityEventBase, NavigableItem, OffcanvasComponent, VisibilityEvent, IToast, ToastData } from '@open-rlb/ng-bootstrap';
12
- import * as i24 from '@ngx-translate/core';
13
- import { TranslateService, TranslateLoader } from '@ngx-translate/core';
11
+ import { BreadcrumbItem, SidebarNavigableItem, ModalService, ToastService, ModalType, IModal, ModalData, OffcanvasComponent, VisibilityEvent, IToast, ToastData } from '@open-rlb/ng-bootstrap';
14
12
  import * as _ngrx_store from '@ngrx/store';
15
13
  import { Store } from '@ngrx/store';
16
- import { SwUpdate } from '@angular/service-worker';
17
14
  import { HttpClient, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
18
- import { BreakpointObserver } from '@angular/cdk/layout';
19
- import * as i23 from '@angular/forms';
20
- import { FormGroup } from '@angular/forms';
21
- import * as i22 from '@angular/common';
22
- import { Location } from '@angular/common';
15
+ import * as i3 from '@ngx-translate/core';
16
+ import { TranslateLoader } from '@ngx-translate/core';
17
+ import * as i1 from '@angular/common';
18
+ import * as i2 from '@angular/forms';
19
+ import { FormGroup, FormControl } from '@angular/forms';
23
20
 
24
21
  declare abstract class AbstractSupportService {
25
22
  abstract sendSupport(data: any): void;
@@ -59,6 +56,91 @@ interface AppDescriber<T = any> {
59
56
  providers?: (Provider | EnvironmentProviders)[];
60
57
  }
61
58
 
59
+ declare class AppsService {
60
+ private readonly store;
61
+ private readonly activatedRoute;
62
+ private readonly router;
63
+ private readonly loggerService;
64
+ private readonly confAuth;
65
+ private readonly confAcl;
66
+ private readonly aclStore;
67
+ private readonly injector;
68
+ private logger;
69
+ constructor();
70
+ readonly currentDomain: string;
71
+ readonly apps: i0.Signal<any>;
72
+ readonly currentApp: i0.Signal<AppInfo<any> | null>;
73
+ readonly currentAppId: i0.Signal<string | undefined>;
74
+ readonly currentAppAclInfo: i0.Signal<{
75
+ busId: any;
76
+ resId: any;
77
+ } | null>;
78
+ isAppSelected(appId: string): boolean;
79
+ checkPermissionInCurrentApp(action?: string): boolean;
80
+ selectApp(app?: AppInfo, viewMode?: 'app' | 'settings', url?: string): void;
81
+ private initAuthProviders;
82
+ private initRouterListener;
83
+ private resolveRouteAndApps;
84
+ private handleResolvedApps;
85
+ private findDeepestChild;
86
+ private getStoredAppId;
87
+ private getAppViewMode;
88
+ private isDefaultRoute;
89
+ private getConfigPath;
90
+ private getActualPath;
91
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppsService, never>;
92
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppsService>;
93
+ }
94
+
95
+ declare class AppBreadcrumbService {
96
+ private readonly router;
97
+ private readonly route;
98
+ private readonly loggerService;
99
+ private readonly languageService;
100
+ private readonly idService;
101
+ private readonly _breadcrumbs;
102
+ readonly breadcrumbs: i0.Signal<BreadcrumbItem[]>;
103
+ /**
104
+ * @deprecated Use `breadcrumbs` (signal-based) instead.
105
+ */
106
+ readonly breadcrumbs$: rxjs.Observable<BreadcrumbItem[]>;
107
+ private logger;
108
+ constructor();
109
+ private updateBreadcrumbs;
110
+ private buildBreadcrumbFromRoot;
111
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppBreadcrumbService, never>;
112
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppBreadcrumbService>;
113
+ }
114
+
115
+ type LogLevel = 'off' | 'error' | 'warn' | 'info' | 'debug' | 'log';
116
+ type LoggerContext = {
117
+ error: (...args: any[]) => void;
118
+ warn: (...args: any[]) => void;
119
+ info: (...args: any[]) => void;
120
+ debug: (...args: any[]) => void;
121
+ log: (...args: any[]) => void;
122
+ };
123
+ declare class AppLoggerService {
124
+ private currentLevel;
125
+ private timestamps;
126
+ constructor(environment?: EnvironmentConfiguration);
127
+ setLogLevel(level: LogLevel): void;
128
+ getLogLevel(): LogLevel;
129
+ enableTimestamps(enabled: boolean): void;
130
+ /**
131
+ * returns logger with context / class name
132
+ */
133
+ for(context: string): LoggerContext;
134
+ logError(contextOrMessage: any, ...args: any[]): void;
135
+ logWarning(contextOrMessage: any, ...args: any[]): void;
136
+ logDebug(contextOrMessage: any, ...args: any[]): void;
137
+ logInfo(contextOrMessage: any, ...args: any[]): void;
138
+ log(contextOrMessage: any, ...args: any[]): void;
139
+ private print;
140
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppLoggerService, never>;
141
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppLoggerService>;
142
+ }
143
+
62
144
  declare const appContextFeatureKey = "app";
63
145
  type AppTheme = 'light' | 'dark';
64
146
  type PageTemplate = 'app' | 'basic' | 'cms' | 'content';
@@ -375,108 +457,6 @@ declare const AclStore: i0.Type<{
375
457
  interface BaseState extends AclState, AuthState, SidebarState, NavbarState, AppState {
376
458
  }
377
459
 
378
- type LogLevel = 'off' | 'error' | 'warn' | 'info' | 'debug' | 'log';
379
- type LoggerContext = {
380
- error: (...args: any[]) => void;
381
- warn: (...args: any[]) => void;
382
- info: (...args: any[]) => void;
383
- debug: (...args: any[]) => void;
384
- log: (...args: any[]) => void;
385
- };
386
- declare class AppLoggerService {
387
- private currentLevel;
388
- private timestamps;
389
- constructor(environment?: EnvironmentConfiguration);
390
- setLogLevel(level: LogLevel): void;
391
- getLogLevel(): LogLevel;
392
- enableTimestamps(enabled: boolean): void;
393
- /**
394
- * returns logger with context / class name
395
- */
396
- for(context: string): LoggerContext;
397
- logError(contextOrMessage: any, ...args: any[]): void;
398
- logWarning(contextOrMessage: any, ...args: any[]): void;
399
- logDebug(contextOrMessage: any, ...args: any[]): void;
400
- logInfo(contextOrMessage: any, ...args: any[]): void;
401
- log(contextOrMessage: any, ...args: any[]): void;
402
- private print;
403
- static ɵfac: i0.ɵɵFactoryDeclaration<AppLoggerService, never>;
404
- static ɵprov: i0.ɵɵInjectableDeclaration<AppLoggerService>;
405
- }
406
-
407
- declare class AppsService {
408
- private store;
409
- private activatedRoute;
410
- private router;
411
- private loggerService;
412
- readonly confAuth: AuthConfiguration | undefined;
413
- private readonly confAcl;
414
- private logger;
415
- private aclStore;
416
- constructor(store: Store<BaseState>, activatedRoute: ActivatedRoute, router: Router, loggerService: AppLoggerService, confAuth: AuthConfiguration | undefined, confAcl: AclConfiguration | undefined);
417
- get currentDomain(): string;
418
- get apps(): AppInfo<any>[];
419
- get currentAppAclInfo(): {
420
- busId: any;
421
- resId: any;
422
- } | null;
423
- get currentApp(): AppInfo<any> | null;
424
- isAppSelected(appId: string): boolean;
425
- checkPermissionInCurrentApp(action?: string): boolean;
426
- selectApp(app?: AppInfo, viewMode?: 'app' | 'settings', url?: string): void;
427
- private initAuthProviders;
428
- private initRouterListener;
429
- private resolveRouteAndApps;
430
- private handleResolvedApps;
431
- private findDeepestChild;
432
- private getStoredAppId;
433
- private getAppViewMode;
434
- private isDefaultRoute;
435
- private getConfigPath;
436
- private getActualPath;
437
- static ɵfac: i0.ɵɵFactoryDeclaration<AppsService, [null, null, null, null, { optional: true; }, { optional: true; }]>;
438
- static ɵprov: i0.ɵɵInjectableDeclaration<AppsService>;
439
- }
440
-
441
- declare class LanguageService {
442
- private translateService;
443
- private cookiesService;
444
- private i18nOptions;
445
- private _contentLanguage;
446
- contentLanguageChanged$: EventEmitter<string>;
447
- constructor(translateService: TranslateService, cookiesService: CookiesService, i18nOptions: InternationalizationConfiguration);
448
- get language(): string | undefined;
449
- set language(value: string | undefined);
450
- get contentLanguage(): string | undefined;
451
- set contentLanguage(value: string | undefined);
452
- get languages(): readonly string[];
453
- set languages(value: string[]);
454
- get defaultLanguage(): string;
455
- get browserLanguage(): string;
456
- translate(key: string | Array<string>, interpolateParams?: Object): any;
457
- translateAsync(key: string | Array<string>, interpolateParams?: Object): rxjs.Observable<any>;
458
- get languageChanged$(): rxjs.Observable<i24.LangChangeEvent>;
459
- getLanguageName(l: string): string;
460
- static ɵfac: i0.ɵɵFactoryDeclaration<LanguageService, [null, null, { optional: true; }]>;
461
- static ɵprov: i0.ɵɵInjectableDeclaration<LanguageService>;
462
- }
463
-
464
- declare class AppBreadcrumbService {
465
- private router;
466
- private route;
467
- private loggerService;
468
- private languageService;
469
- private idService;
470
- private readonly _breadcrumbs$;
471
- readonly breadcrumbs$: rxjs.Observable<BreadcrumbItem[]>;
472
- private logger;
473
- constructor(router: Router, route: ActivatedRoute, loggerService: AppLoggerService, languageService: LanguageService, idService: UniqueIdService);
474
- private updateBreadcrumbs;
475
- private buildBreadcrumbFromRoot;
476
- static ɵfac: i0.ɵɵFactoryDeclaration<AppBreadcrumbService, never>;
477
- static ɵprov: i0.ɵɵInjectableDeclaration<AppBreadcrumbService>;
478
- }
479
-
480
460
  declare const RLB_INIT_PROVIDER: InjectionToken<RlbInitProvider>;
481
461
  interface RlbInitProvider {
482
462
  finalizeApps(resources: UserResource[], store: Store<BaseState>, acl: AclConfiguration | null): Promise<void>;
@@ -606,6 +586,31 @@ declare class ErrorManagementService {
606
586
 
607
587
  declare function provideRlbI18n(i18n?: InternationalizationConfiguration): (EnvironmentProviders | Provider)[];
608
588
 
589
+ declare class LanguageService {
590
+ private readonly translateService;
591
+ private readonly cookiesService;
592
+ private readonly i18nOptions;
593
+ private readonly _language;
594
+ private readonly _contentLanguage;
595
+ readonly language: i0.Signal<string>;
596
+ readonly contentLanguage: i0.Signal<string | undefined>;
597
+ readonly languageChanged$: rxjs.Observable<i3.LangChangeEvent>;
598
+ readonly contentLanguageChanged: i0.Signal<string | undefined>;
599
+ constructor();
600
+ get currentLanguage(): string;
601
+ setLanguage(value: string | undefined): void;
602
+ setContentLanguage(value: string | undefined): void;
603
+ get languages(): readonly string[];
604
+ set languages(value: string[]);
605
+ get defaultLanguage(): string;
606
+ get browserLanguage(): string;
607
+ translate(key: string | Array<string>, interpolateParams?: Object): any;
608
+ translateAsync(key: string | Array<string>, interpolateParams?: Object): rxjs.Observable<any>;
609
+ getLanguageName(l: string): string;
610
+ static ɵfac: i0.ɵɵFactoryDeclaration<LanguageService, never>;
611
+ static ɵprov: i0.ɵɵInjectableDeclaration<LanguageService>;
612
+ }
613
+
609
614
  declare class TranslateBrowserLoader implements TranslateLoader {
610
615
  private http;
611
616
  private transferState;
@@ -641,9 +646,10 @@ declare class PwaUpdaterService {
641
646
  private readonly updates;
642
647
  private readonly modalService;
643
648
  private readonly languageService;
644
- private _newVersionAvailable$;
645
- get newVersionAvailable$(): rxjs.Observable<void>;
646
- constructor(updates: SwUpdate, modalService: ModalService, languageService: LanguageService);
649
+ private readonly _newVersionAvailable;
650
+ readonly newVersionAvailable: i0.Signal<boolean>;
651
+ get newVersionAvailable$(): rxjs.Observable<boolean>;
652
+ constructor();
647
653
  update(): void;
648
654
  checkForUpdates(): Promise<boolean>;
649
655
  checkWithDialog(): rxjs.Observable<Promise<void>>;
@@ -785,7 +791,7 @@ declare class RlbRole {
785
791
  action: i0.InputSignal<string | undefined>;
786
792
  constructor();
787
793
  static ɵfac: i0.ɵɵFactoryDeclaration<RlbRole, never>;
788
- static ɵdir: i0.ɵɵDirectiveDeclaration<RlbRole, "[roles]", never, { "action": { "alias": "roles"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
794
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RlbRole, "[roles]", never, { "action": { "alias": "roles"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
789
795
  }
790
796
 
791
797
  declare const oauthGuard: CanActivateFn;
@@ -1055,75 +1061,70 @@ declare function getDefaultRoutes(config?: PagesConfiguration): Routes;
1055
1061
  declare class AsMultiPipe implements PipeTransform {
1056
1062
  transform<T>(value: T | T[]): T[];
1057
1063
  static ɵfac: i0.ɵɵFactoryDeclaration<AsMultiPipe, never>;
1058
- static ɵpipe: i0.ɵɵPipeDeclaration<AsMultiPipe, "asMulti", false>;
1064
+ static ɵpipe: i0.ɵɵPipeDeclaration<AsMultiPipe, "asMulti", true>;
1059
1065
  }
1060
1066
  declare class AsSinglePipe implements PipeTransform {
1061
1067
  transform<T>(value: T | T[]): T;
1062
1068
  static ɵfac: i0.ɵɵFactoryDeclaration<AsSinglePipe, never>;
1063
- static ɵpipe: i0.ɵɵPipeDeclaration<AsSinglePipe, "asSingle", false>;
1069
+ static ɵpipe: i0.ɵɵPipeDeclaration<AsSinglePipe, "asSingle", true>;
1064
1070
  }
1065
1071
 
1066
1072
  declare class CmsPipe implements PipeTransform {
1067
1073
  private cmsOptions;
1068
- constructor(cmsOptions: CmsConfiguration);
1069
1074
  transform(value: string, ...args: unknown[]): string;
1070
- static ɵfac: i0.ɵɵFactoryDeclaration<CmsPipe, [{ optional: true; }]>;
1071
- static ɵpipe: i0.ɵɵPipeDeclaration<CmsPipe, "cms", false>;
1075
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmsPipe, never>;
1076
+ static ɵpipe: i0.ɵɵPipeDeclaration<CmsPipe, "cms", true>;
1072
1077
  }
1073
1078
 
1074
1079
  declare class LeftComponentPipe implements PipeTransform {
1075
1080
  private config;
1076
- constructor(config: NavbarComponents);
1077
1081
  transform(value: string): Type<any>;
1078
1082
  static ɵfac: i0.ɵɵFactoryDeclaration<LeftComponentPipe, never>;
1079
- static ɵpipe: i0.ɵɵPipeDeclaration<LeftComponentPipe, "leftComponent", false>;
1083
+ static ɵpipe: i0.ɵɵPipeDeclaration<LeftComponentPipe, "leftComponent", true>;
1080
1084
  }
1081
1085
 
1082
1086
  declare class RightComponentPipe implements PipeTransform {
1083
1087
  private config;
1084
- constructor(config: NavbarComponents);
1085
1088
  transform(value: string): Type<any>;
1086
1089
  static ɵfac: i0.ɵɵFactoryDeclaration<RightComponentPipe, never>;
1087
- static ɵpipe: i0.ɵɵPipeDeclaration<RightComponentPipe, "rightComponent", false>;
1090
+ static ɵpipe: i0.ɵɵPipeDeclaration<RightComponentPipe, "rightComponent", true>;
1088
1091
  }
1089
1092
 
1090
1093
  declare class TruncatePipe implements PipeTransform {
1091
1094
  transform(value?: string, limit?: number, completeWords?: boolean, ellipsis?: string): string | undefined;
1092
1095
  static ɵfac: i0.ɵɵFactoryDeclaration<TruncatePipe, never>;
1093
- static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", false>;
1096
+ static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", true>;
1094
1097
  }
1095
1098
 
1096
1099
  declare class AutolinkPipe implements PipeTransform {
1097
1100
  transform(value?: string, target?: string, rel?: string, id?: string): string;
1098
1101
  static ɵfac: i0.ɵɵFactoryDeclaration<AutolinkPipe, never>;
1099
- static ɵpipe: i0.ɵɵPipeDeclaration<AutolinkPipe, "autolink", false>;
1102
+ static ɵpipe: i0.ɵɵPipeDeclaration<AutolinkPipe, "autolink", true>;
1100
1103
  }
1101
1104
 
1102
- declare class AppContainerComponent implements OnInit, OnDestroy {
1103
- env: EnvironmentConfiguration;
1104
- store: Store<BaseState>;
1105
+ declare class AppContainerComponent {
1106
+ protected readonly Array: ArrayConstructor;
1107
+ private readonly templateSubject;
1108
+ readonly modalContainerId: i0.InputSignal<string>;
1109
+ readonly toastContainerIds: i0.InputSignal<string | string[]>;
1110
+ private readonly env;
1111
+ private readonly store;
1105
1112
  private readonly router;
1106
- private storage;
1113
+ private readonly storage;
1107
1114
  private readonly pwaUpdaterService;
1108
1115
  private readonly appsService;
1109
1116
  private readonly loggerService;
1110
- private swUpdateSubscription;
1111
- private readonly templateSubject;
1112
- modalContainerId: string;
1113
- toastContainerIds: string | string[];
1114
- private logger;
1115
- constructor(env: EnvironmentConfiguration, store: Store<BaseState>, router: Router, storage: AppStorageService, pwaUpdaterService: PwaUpdaterService, appsService: AppsService, loggerService: AppLoggerService);
1117
+ private readonly logger;
1118
+ constructor();
1116
1119
  get template$(): rxjs.Observable<PageTemplate>;
1117
- ngOnDestroy(): void;
1118
- ngOnInit(): void;
1119
1120
  static ɵfac: i0.ɵɵFactoryDeclaration<AppContainerComponent, never>;
1120
- static ɵcmp: i0.ɵɵComponentDeclaration<AppContainerComponent, "rlb-app-container", never, { "modalContainerId": { "alias": "modal-container-id"; "required": false; }; "toastContainerIds": { "alias": "toast-container-ids"; "required": false; }; }, {}, never, never, false, never>;
1121
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppContainerComponent, "rlb-app-container", never, { "modalContainerId": { "alias": "modal-container-id"; "required": true; "isSignal": true; }; "toastContainerIds": { "alias": "toast-container-ids"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1121
1122
  }
1122
1123
 
1123
1124
  declare class SettingsDropdownSelectorComponent implements OnDestroy {
1124
1125
  mode: i0.InputSignal<"desktop" | "mobile">;
1125
1126
  apps: i0.InputSignal<AppInfo<any>[]>;
1126
- isAuthenticated: i0.InputSignal<unknown>;
1127
+ isAuthenticated: i0.InputSignal<boolean | null>;
1127
1128
  appSelected: i0.OutputEmitterRef<AppInfo<any>>;
1128
1129
  activeSlide: number;
1129
1130
  private readonly pageOptions;
@@ -1133,117 +1134,107 @@ declare class SettingsDropdownSelectorComponent implements OnDestroy {
1133
1134
  private readonly router;
1134
1135
  private readonly menu;
1135
1136
  private appsService;
1137
+ readonly pages: i0.Signal<PagesConfiguration | null>;
1138
+ readonly languages: i0.Signal<{
1139
+ value: string;
1140
+ label: string;
1141
+ }[]>;
1142
+ readonly currentLanguage: i0.Signal<string | null>;
1143
+ readonly darkMode: i0.Signal<boolean>;
1144
+ readonly currentAppId: i0.Signal<string | undefined>;
1136
1145
  constructor();
1137
- get pages(): PagesConfiguration | null;
1146
+ setCurrentLanguage(value: any): void;
1147
+ setDarkMode(value: boolean): void;
1138
1148
  selectApp(app: AppInfo): void;
1139
1149
  goToFirstSlide(): void;
1140
1150
  goToInlineSettings(): void;
1141
1151
  logout(): void;
1142
1152
  ngOnDestroy(): void;
1143
- change(event: VisibilityEventBase): void;
1153
+ change(event: any): void;
1144
1154
  isAppSelected(appId: string | undefined): boolean;
1145
- get languages(): {
1146
- value: string;
1147
- label: string;
1148
- }[];
1149
- get currentLanguage(): string;
1150
- set currentLanguage(value: string);
1151
- get darkMode(): boolean;
1152
- set darkMode(value: boolean);
1153
1155
  private close;
1154
1156
  static ɵfac: i0.ɵɵFactoryDeclaration<SettingsDropdownSelectorComponent, never>;
1155
- static ɵcmp: i0.ɵɵComponentDeclaration<SettingsDropdownSelectorComponent, "rlb-settings-dropdown-selector", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "apps": { "alias": "apps"; "required": true; "isSignal": true; }; "isAuthenticated": { "alias": "isAuthenticated"; "required": true; "isSignal": true; }; }, { "appSelected": "appSelected"; }, never, never, false, never>;
1157
+ static ɵcmp: i0.ɵɵComponentDeclaration<SettingsDropdownSelectorComponent, "rlb-settings-dropdown-selector", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "apps": { "alias": "apps"; "required": true; "isSignal": true; }; "isAuthenticated": { "alias": "isAuthenticated"; "required": true; "isSignal": true; }; }, { "appSelected": "appSelected"; }, never, never, true, never>;
1156
1158
  }
1157
1159
 
1158
- declare class AppTemplateComponent implements OnDestroy {
1159
- env: EnvironmentConfiguration;
1160
- store: Store<BaseState>;
1161
- appsService: AppsService;
1162
- private readonly authService;
1163
- private readonly router;
1164
- private navbarItemsSubscription;
1165
- private sidebarItemsSubscription;
1166
- private sidebarFooterItemsSubscription;
1160
+ declare class AppTemplateComponent {
1161
+ protected readonly Array: ArrayConstructor;
1167
1162
  navSearchText: string | null;
1168
- navbarItems: NavigableItem[];
1169
- sidebarItems: NavigableItem[];
1170
- sidebarFooterItems: NavigableItem[];
1171
- modalContainerId: string;
1172
- toastContainerIds: string | string[];
1163
+ readonly modalContainerId: i0.InputSignal<string>;
1164
+ readonly breadcrumbInput: i0.InputSignal<BreadcrumbItem[] | undefined>;
1165
+ readonly breadcrumb: i0.Signal<BreadcrumbItem[]>;
1166
+ readonly toastContainerIds: i0.InputSignal<string | string[]>;
1173
1167
  readonly mobileOffcanvas: i0.Signal<OffcanvasComponent | undefined>;
1174
1168
  readonly mobileSettingsMenu: i0.Signal<SettingsDropdownSelectorComponent | undefined>;
1175
- constructor(env: EnvironmentConfiguration, store: Store<BaseState>, appsService: AppsService, authService: AuthenticationService, router: Router);
1176
- ngOnDestroy(): void;
1177
- get sidebarVisible$(): rxjs.Observable<boolean>;
1178
- get sidearHasLogin$(): rxjs.Observable<boolean>;
1179
- get sidearHasSearch$(): rxjs.Observable<boolean>;
1180
- get sidebarItems$(): rxjs.Observable<SidebarNavigableItem[]>;
1181
- setSidearSearchText(text: string | null): void;
1182
- setNavbarSearchText(text: string | null): void;
1183
- get sidearHasSettings$(): rxjs.Observable<boolean>;
1184
- get sidearAppsVisible$(): rxjs.Observable<boolean>;
1185
- get navVisible$(): rxjs.Observable<boolean>;
1186
- get navSearchVisible$(): rxjs.Observable<boolean>;
1187
- get navHeader$(): rxjs.Observable<_open_rlb_ng_app.NavbarHeader | null>;
1188
- get isAuthenticated$(): rxjs.Observable<boolean>;
1189
- get user$(): rxjs.Observable<any>;
1190
- get navLeftItems$(): rxjs.Observable<string[]>;
1191
- get navRightItems$(): rxjs.Observable<string[]>;
1192
- get theme(): _open_rlb_ng_app.AppTheme;
1193
- get navbarHasLogin$(): rxjs.Observable<boolean>;
1194
- get navbarHasSettings$(): rxjs.Observable<boolean>;
1195
- get navbarHasApps$(): rxjs.Observable<boolean>;
1196
- get navbarLayout$(): rxjs.Observable<_open_rlb_ng_app.NavbarActionsLayout>;
1197
- get apps(): AppInfo<any>[];
1198
- get separatorVisible$(): rxjs.Observable<boolean>;
1169
+ readonly env: _open_rlb_ng_app.EnvironmentConfiguration;
1170
+ readonly store: Store<any>;
1171
+ readonly appsService: AppsService;
1172
+ private readonly authService;
1173
+ private readonly router;
1174
+ readonly sidebarVisible: i0.Signal<boolean>;
1175
+ readonly sidearHasLogin: i0.Signal<boolean>;
1176
+ readonly sidearHasSearch: i0.Signal<boolean>;
1177
+ readonly sidebarItems: i0.Signal<SidebarNavigableItem[]>;
1178
+ readonly sidearHasSettings: i0.Signal<boolean>;
1179
+ readonly sidearAppsVisible: i0.Signal<boolean>;
1180
+ readonly navVisible: i0.Signal<boolean>;
1181
+ readonly navSearchVisible: i0.Signal<boolean>;
1182
+ readonly navHeader: i0.Signal<_open_rlb_ng_app.NavbarHeader | null>;
1183
+ readonly navLeftItems: i0.Signal<string[]>;
1184
+ readonly navRightItems: i0.Signal<string[]>;
1185
+ readonly navbarHasLogin: i0.Signal<boolean>;
1186
+ readonly navbarHasSettings: i0.Signal<boolean>;
1187
+ readonly navbarHasApps: i0.Signal<any>;
1188
+ readonly navbarLayout: i0.Signal<any>;
1189
+ readonly separatorVisible: i0.Signal<any>;
1190
+ readonly isAuthenticated: i0.Signal<boolean>;
1191
+ readonly userInfo: i0.Signal<any>;
1192
+ readonly theme: i0.Signal<any>;
1193
+ readonly apps: i0.Signal<any>;
1194
+ constructor();
1199
1195
  loginNav(event: MouseEvent): void;
1200
1196
  onSideBarItemClick(item: SidebarNavigableItem): void;
1201
1197
  selectApp(app: AppInfo, viewMode: 'app' | 'settings'): void;
1202
1198
  onMobileMenuStatusChange(event: VisibilityEvent): void;
1199
+ setSidearSearchText(text: string | null): void;
1200
+ setNavbarSearchText(text: string | null): void;
1203
1201
  private closeMobileMenu;
1204
1202
  static ɵfac: i0.ɵɵFactoryDeclaration<AppTemplateComponent, never>;
1205
- static ɵcmp: i0.ɵɵComponentDeclaration<AppTemplateComponent, "rlb-app-template", never, { "modalContainerId": { "alias": "modal-container-id"; "required": false; }; "toastContainerIds": { "alias": "toast-container-ids"; "required": false; }; }, {}, never, ["*"], false, never>;
1203
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppTemplateComponent, "rlb-app-template", never, { "modalContainerId": { "alias": "modal-container-id"; "required": true; "isSignal": true; }; "breadcrumbInput": { "alias": "breadcrumb"; "required": false; "isSignal": true; }; "toastContainerIds": { "alias": "toast-container-ids"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
1206
1204
  }
1207
1205
 
1208
- declare class BaseComponent implements OnInit {
1209
- private breakpointObserver;
1210
- private platformId;
1211
- constructor(breakpointObserver: BreakpointObserver, platformId: Object);
1212
- breadcrumb: BreadcrumbItem[] | undefined;
1213
- title: string;
1214
- subtitle: string;
1215
- get isHandset$(): Observable<boolean>;
1216
- ngOnInit(): void;
1206
+ declare class BaseComponent {
1207
+ private readonly breakpointObserver;
1208
+ private readonly platformId;
1209
+ readonly breadcrumbInput: i0.InputSignal<BreadcrumbItem[] | undefined>;
1210
+ readonly breadcrumb: i0.Signal<BreadcrumbItem[]>;
1211
+ readonly title: i0.InputSignal<string>;
1212
+ readonly subtitle: i0.InputSignal<string | undefined>;
1213
+ readonly isHandset: i0.Signal<boolean>;
1217
1214
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
1218
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent, "rlb-base-template", never, { "breadcrumb": { "alias": "breadcrumb"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; }, {}, never, ["[all]", "[default]", "[mobile]"], false, never>;
1215
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent, "rlb-base-template", never, { "breadcrumbInput": { "alias": "breadcrumb"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; }, {}, never, ["[all]", "[default]", "[mobile]"], true, never>;
1219
1216
  }
1220
1217
 
1221
1218
  declare class CmsComponent {
1222
- private strapiService;
1223
- private languageService;
1224
- private cmsOptions;
1225
- private mdService?;
1226
- constructor(strapiService: StrapiService, languageService: LanguageService, cmsOptions: CmsConfiguration, mdService?: AbstractMdService | undefined);
1227
- contentId: string | undefined;
1228
- breadcrumb: BreadcrumbItem[] | undefined;
1229
- page: Page | undefined;
1230
- private subscriptionLang;
1231
- private subscriptionPage;
1232
- ngOnDestroy(): void;
1233
- ngOnInit(): void;
1219
+ private readonly strapiService;
1220
+ private readonly languageService;
1221
+ private readonly cmsOptions;
1222
+ private readonly mdService;
1223
+ readonly contentId: i0.InputSignal<string | undefined>;
1224
+ readonly breadcrumbInput: i0.InputSignal<BreadcrumbItem[] | undefined>;
1225
+ readonly breadcrumb: i0.Signal<BreadcrumbItem[]>;
1226
+ readonly page: i0.Signal<_open_rlb_ng_app.Page | undefined>;
1234
1227
  md(md: string): string;
1235
- static ɵfac: i0.ɵɵFactoryDeclaration<CmsComponent, [null, null, { optional: true; }, { optional: true; }]>;
1236
- static ɵcmp: i0.ɵɵComponentDeclaration<CmsComponent, "rlb-cms-template", never, { "contentId": { "alias": "contentId"; "required": false; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; }; }, {}, never, never, false, never>;
1228
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmsComponent, never>;
1229
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmsComponent, "rlb-cms-template", never, { "contentId": { "alias": "contentId"; "required": false; "isSignal": true; }; "breadcrumbInput": { "alias": "breadcrumb"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1237
1230
  }
1238
1231
 
1239
1232
  declare class ContentComponent {
1240
- private breakpointObserver;
1241
- private platformId;
1242
- constructor(breakpointObserver: BreakpointObserver, platformId: Object);
1243
- get isHandset$(): Observable<boolean>;
1244
- ngOnInit(): void;
1233
+ private readonly breakpointObserver;
1234
+ private readonly platformId;
1235
+ readonly isHandset: i0.Signal<boolean>;
1245
1236
  static ɵfac: i0.ɵɵFactoryDeclaration<ContentComponent, never>;
1246
- static ɵcmp: i0.ɵɵComponentDeclaration<ContentComponent, "rlb-content-template", never, {}, {}, never, ["[all]", "[default]", "[mobile]"], false, never>;
1237
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContentComponent, "rlb-content-template", never, {}, {}, never, ["[all]", "[default]", "[mobile]"], true, never>;
1247
1238
  }
1248
1239
 
1249
1240
  declare class ToastComponent implements IToast<string, void> {
@@ -1255,49 +1246,53 @@ declare class ToastComponent implements IToast<string, void> {
1255
1246
  }
1256
1247
 
1257
1248
  declare class CmsContentComponent {
1258
- private route;
1259
- constructor(route: ActivatedRoute);
1260
- get contentId(): any;
1249
+ private readonly route;
1250
+ readonly contentId: i0.Signal<any>;
1261
1251
  static ɵfac: i0.ɵɵFactoryDeclaration<CmsContentComponent, never>;
1262
- static ɵcmp: i0.ɵɵComponentDeclaration<CmsContentComponent, "rlb-cms-content", never, {}, {}, never, never, false, never>;
1252
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmsContentComponent, "rlb-cms-content", never, {}, {}, never, never, true, never>;
1263
1253
  }
1264
1254
 
1265
1255
  declare class CookiesComponent {
1266
1256
  static ɵfac: i0.ɵɵFactoryDeclaration<CookiesComponent, never>;
1267
- static ɵcmp: i0.ɵɵComponentDeclaration<CookiesComponent, "rlb-cookies", never, {}, {}, never, never, false, never>;
1257
+ static ɵcmp: i0.ɵɵComponentDeclaration<CookiesComponent, "rlb-cookies", never, {}, {}, never, never, true, never>;
1268
1258
  }
1269
1259
 
1270
1260
  declare class NotFoundComponent {
1271
1261
  static ɵfac: i0.ɵɵFactoryDeclaration<NotFoundComponent, never>;
1272
- static ɵcmp: i0.ɵɵComponentDeclaration<NotFoundComponent, "rlb-not-found", never, {}, {}, never, never, false, never>;
1262
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotFoundComponent, "rlb-not-found", never, {}, {}, never, never, true, never>;
1273
1263
  }
1274
1264
 
1275
1265
  declare class PrivacyComponent {
1276
1266
  static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyComponent, never>;
1277
- static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyComponent, "rlb-privacy", never, {}, {}, never, never, false, never>;
1278
- }
1279
-
1280
- declare class SupportComponent {
1281
- private supportService;
1282
- private _location;
1283
- supportForm: FormGroup;
1284
- constructor(supportService: AbstractSupportService, _location: Location);
1285
- hasError(form: string, controlName: string, errorName: string): boolean;
1267
+ static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyComponent, "rlb-privacy", never, {}, {}, never, never, true, never>;
1268
+ }
1269
+
1270
+ declare class SupportComponent implements OnInit {
1271
+ private readonly supportService;
1272
+ private readonly _location;
1273
+ readonly supportForm: FormGroup<{
1274
+ name: FormControl<string | null>;
1275
+ email: FormControl<string | null>;
1276
+ subject: FormControl<string | null>;
1277
+ message: FormControl<string | null>;
1278
+ legal: FormControl<string | null>;
1279
+ }>;
1280
+ hasError(form: string, controlName: string, errorName: string): boolean | undefined;
1286
1281
  sendSupport(data: any): void;
1287
1282
  backClicked(): void;
1288
1283
  ngOnInit(): void;
1289
1284
  static ɵfac: i0.ɵɵFactoryDeclaration<SupportComponent, never>;
1290
- static ɵcmp: i0.ɵɵComponentDeclaration<SupportComponent, "rlb-support", never, {}, {}, never, never, false, never>;
1285
+ static ɵcmp: i0.ɵɵComponentDeclaration<SupportComponent, "rlb-support", never, {}, {}, never, never, true, never>;
1291
1286
  }
1292
1287
 
1293
1288
  declare class TermsAndConditionsComponent {
1294
1289
  static ɵfac: i0.ɵɵFactoryDeclaration<TermsAndConditionsComponent, never>;
1295
- static ɵcmp: i0.ɵɵComponentDeclaration<TermsAndConditionsComponent, "rlb-terms-and-conditions", never, {}, {}, never, never, false, never>;
1290
+ static ɵcmp: i0.ɵɵComponentDeclaration<TermsAndConditionsComponent, "rlb-terms-and-conditions", never, {}, {}, never, never, true, never>;
1296
1291
  }
1297
1292
 
1298
1293
  declare class ForbiddenComponent {
1299
1294
  static ɵfac: i0.ɵɵFactoryDeclaration<ForbiddenComponent, never>;
1300
- static ɵcmp: i0.ɵɵComponentDeclaration<ForbiddenComponent, "rlb-forbidden", never, {}, {}, never, never, false, never>;
1295
+ static ɵcmp: i0.ɵɵComponentDeclaration<ForbiddenComponent, "rlb-forbidden", never, {}, {}, never, never, true, never>;
1301
1296
  }
1302
1297
 
1303
1298
  declare class AppDropdownSelectorComponent {
@@ -1306,15 +1301,16 @@ declare class AppDropdownSelectorComponent {
1306
1301
  isAuthenticated: i0.InputSignal<boolean | null>;
1307
1302
  appSelected: i0.OutputEmitterRef<AppInfo<any>>;
1308
1303
  private appsService;
1309
- selectApp(app: any): void;
1304
+ readonly currentAppId: i0.Signal<string | undefined>;
1305
+ selectApp(app: AppInfo): void;
1310
1306
  isAppSelected(appId: string | undefined): boolean;
1311
1307
  static ɵfac: i0.ɵɵFactoryDeclaration<AppDropdownSelectorComponent, never>;
1312
- static ɵcmp: i0.ɵɵComponentDeclaration<AppDropdownSelectorComponent, "rlb-app-dropdown-selector", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "apps": { "alias": "apps"; "required": true; "isSignal": true; }; "isAuthenticated": { "alias": "isAuthenticated"; "required": true; "isSignal": true; }; }, { "appSelected": "appSelected"; }, never, never, false, never>;
1308
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppDropdownSelectorComponent, "rlb-app-dropdown-selector", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "apps": { "alias": "apps"; "required": true; "isSignal": true; }; "isAuthenticated": { "alias": "isAuthenticated"; "required": true; "isSignal": true; }; }, { "appSelected": "appSelected"; }, never, never, true, never>;
1313
1309
  }
1314
1310
 
1315
1311
  declare class RlbAppModule {
1316
1312
  static ɵfac: i0.ɵɵFactoryDeclaration<RlbAppModule, never>;
1317
- static ɵmod: i0.ɵɵNgModuleDeclaration<RlbAppModule, [typeof CmsContentComponent, typeof CookiesComponent, typeof NotFoundComponent, typeof PrivacyComponent, typeof SupportComponent, typeof TermsAndConditionsComponent, typeof ForbiddenComponent, typeof CmsPipe, typeof AsMultiPipe, typeof AsSinglePipe, typeof LeftComponentPipe, typeof RightComponentPipe, typeof TruncatePipe, typeof AutolinkPipe, typeof BaseComponent, typeof CmsComponent, typeof ContentComponent, typeof AppTemplateComponent, typeof AppContainerComponent, typeof SettingsDropdownSelectorComponent, typeof AppDropdownSelectorComponent, typeof RlbRole], [typeof i22.CommonModule, typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.TranslateModule, typeof _open_rlb_ng_bootstrap.RlbBootstrapModule, typeof i26.RouterModule], [typeof CmsPipe, typeof AsMultiPipe, typeof AsSinglePipe, typeof LeftComponentPipe, typeof RightComponentPipe, typeof TruncatePipe, typeof AutolinkPipe, typeof BaseComponent, typeof CmsComponent, typeof ContentComponent, typeof AppTemplateComponent, typeof AppContainerComponent, typeof i24.TranslateModule, typeof _open_rlb_ng_bootstrap.RlbBootstrapModule, typeof i26.RouterModule, typeof i23.FormsModule, typeof RlbRole]>;
1313
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RlbAppModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.TranslateModule, typeof _open_rlb_ng_bootstrap.RlbBootstrapModule, typeof i5.RouterModule, typeof CmsContentComponent, typeof CookiesComponent, typeof NotFoundComponent, typeof PrivacyComponent, typeof SupportComponent, typeof TermsAndConditionsComponent, typeof ForbiddenComponent, typeof CmsPipe, typeof AsMultiPipe, typeof AsSinglePipe, typeof LeftComponentPipe, typeof RightComponentPipe, typeof TruncatePipe, typeof AutolinkPipe, typeof BaseComponent, typeof CmsComponent, typeof ContentComponent, typeof AppTemplateComponent, typeof AppContainerComponent, typeof SettingsDropdownSelectorComponent, typeof AppDropdownSelectorComponent, typeof RlbRole], [typeof CmsPipe, typeof AsMultiPipe, typeof AsSinglePipe, typeof LeftComponentPipe, typeof RightComponentPipe, typeof TruncatePipe, typeof AutolinkPipe, typeof BaseComponent, typeof CmsComponent, typeof ContentComponent, typeof AppTemplateComponent, typeof AppContainerComponent, typeof i3.TranslateModule, typeof _open_rlb_ng_bootstrap.RlbBootstrapModule, typeof i5.RouterModule, typeof i2.FormsModule, typeof RlbRole]>;
1318
1314
  static ɵinj: i0.ɵɵInjectorDeclaration<RlbAppModule>;
1319
1315
  }
1320
1316