import * as i0 from '@angular/core'; import { Provider, EnvironmentProviders, InjectionToken, TransferState, Type, OnInit, PipeTransform, OnDestroy } from '@angular/core'; import { OpenIdConfiguration, OidcSecurityService, LoginResponse } from 'angular-auth-oidc-client'; import * as i5 from '@angular/router'; import { Routes, CanActivateFn, Router, CanDeactivateFn } from '@angular/router'; import * as _ngrx_signals from '@ngrx/signals'; import * as rxjs from 'rxjs'; import { Observable, OperatorFunction } from 'rxjs'; import * as _open_rlb_ng_app from '@open-rlb/ng-app'; import * as _open_rlb_ng_bootstrap from '@open-rlb/ng-bootstrap'; import { BreadcrumbItem, SidebarNavigableItem, ModalService, ToastService, ModalType, IModal, ModalData, OffcanvasComponent, VisibilityEvent, IToast, ToastData } from '@open-rlb/ng-bootstrap'; import * as _ngrx_store from '@ngrx/store'; import { Store } from '@ngrx/store'; import { HttpClient, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http'; import * as i3 from '@ngx-translate/core'; import { TranslateLoader } from '@ngx-translate/core'; import * as i1 from '@angular/common'; import * as i2 from '@angular/forms'; import { FormGroup, FormControl } from '@angular/forms'; declare abstract class AbstractSupportService { abstract sendSupport(data: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } type AppViewMode = 'app' | 'settings'; interface AppInfoData { appName?: string; } interface AppInfo { id?: string; type: string; enabled: boolean; core?: AppDetails; settings?: AppDetails; viewMode?: AppViewMode; routes?: string[]; domains?: string[]; actions?: string[]; navigationUrl?: string; data?: T; autoRedirectOnRootEnabled?: boolean; } interface AppDetails { title: string; description: string; url: string; icon: string; auth: boolean; } interface AppDescriber { info: AppInfo; routes?: Routes; providers?: (Provider | EnvironmentProviders)[]; } declare class AppsService { private readonly store; private readonly activatedRoute; private readonly router; private readonly loggerService; private readonly confAuth; private readonly confAcl; private readonly aclStore; private readonly injector; private logger; constructor(); readonly currentDomain: string; readonly apps: i0.Signal; readonly currentApp: i0.Signal | null>; readonly currentAppId: i0.Signal; readonly currentAppAclInfo: i0.Signal<{ busId: any; resId: any; } | null>; isAppSelected(appId: string): boolean; checkPermissionInCurrentApp(action?: string): boolean; /** * Finds the app that owns a given route path string (e.g. 'some-page/sub-page'). * Used by permissionGuard on initial deep-link navigation, before NavigationEnd has * fired and currentApp has been selected by the router listener. */ findAppForPath(path: string): AppInfo | undefined; checkPermissionForApp(app: AppInfo, action?: string): boolean; selectApp(app?: AppInfo, viewMode?: 'app' | 'settings', url?: string): void; private initAuthProviders; private initRouterListener; private resolveRouteAndApps; private handleResolvedApps; private findDeepestChild; private getStoredAppId; private getAppViewMode; private isDefaultRoute; private getConfigPath; private getActualPath; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class AppBreadcrumbService { private readonly router; private readonly route; private readonly loggerService; private readonly languageService; private readonly idService; private readonly _breadcrumbs; readonly breadcrumbs: i0.Signal; /** * @deprecated Use `breadcrumbs` (signal-based) instead. */ readonly breadcrumbs$: rxjs.Observable; private logger; constructor(); private updateBreadcrumbs; private buildBreadcrumbFromRoot; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } type LogLevel = 'off' | 'error' | 'warn' | 'info' | 'debug' | 'log'; type LoggerContext = { error: (...args: any[]) => void; warn: (...args: any[]) => void; info: (...args: any[]) => void; debug: (...args: any[]) => void; log: (...args: any[]) => void; }; declare class AppLoggerService { private currentLevel; private timestamps; constructor(environment?: EnvironmentConfiguration); setLogLevel(level: LogLevel): void; getLogLevel(): LogLevel; enableTimestamps(enabled: boolean): void; /** * returns logger with context / class name */ for(context: string): LoggerContext; logError(contextOrMessage: any, ...args: any[]): void; logWarning(contextOrMessage: any, ...args: any[]): void; logDebug(contextOrMessage: any, ...args: any[]): void; logInfo(contextOrMessage: any, ...args: any[]): void; log(contextOrMessage: any, ...args: any[]): void; private print; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const appContextFeatureKey = "app"; type AppTheme = 'light' | 'dark'; type PageTemplate = 'app' | 'basic' | 'cms' | 'content'; declare const RLB_APPS: InjectionToken>; interface AppContext { apps: AppInfo[]; currentApp: AppInfo | null; language: string | null; theme: AppTheme; supportedLanguages: string[]; } declare const initialAppContextState: AppContext; interface AppState { [appContextFeatureKey]: AppContext; } declare const authsFeatureKey = "auth"; interface Auth { currentProvider: string | null; loading: boolean; } declare const initialAuthState: Auth; interface AuthState { [authsFeatureKey]: Auth; } declare const navbarsFeatureKey = "navbar"; type NavbarHeader = { type: 'text'; text: string; } | { type: 'image'; src: string; alt?: string; height?: number; }; type NavbarActionsLayout = 'default' | 'dropdown'; interface Navbar { visible: boolean; header: NavbarHeader | null; searchVisible: boolean; searchText: string | null; leftItems: string[]; rightItems: string[]; loginVisible: boolean; settingsVisible: boolean; appsVisible: boolean; separatorVisible: boolean; actionsLayout: NavbarActionsLayout; } declare const initialNavbarState: Navbar; interface NavbarState { [navbarsFeatureKey]: Navbar; } declare const sidebarsFeatureKey = "sidebar"; interface Sidebar { items: SidebarNavigableItem[]; visible: boolean; loginVisible: boolean; searchVisible: boolean; appsVisible: boolean; settingsVisible: boolean; searchText: string | null; footerComponent: string | null; } declare const initialSidebarState: Sidebar; interface SidebarState { [sidebarsFeatureKey]: Sidebar; } declare const aclFeatureKey = "acl"; interface UserResource { companyId: string; resources: Resource[]; } interface Resource { resourceId: string; actions: string[]; friendlyName?: string; } interface Acl { resources: UserResource[] | null; loading: boolean; loaded: boolean; error: any; } declare const initialAclState: Acl; interface AclState { [aclFeatureKey]: Acl; } declare const AppContextActionsInternal: { setLanguage: _ngrx_store.ActionCreator<"[AppContext/Internal] setLanguage", (props: { language: string; }) => { language: string; } & _ngrx_store.Action<"[AppContext/Internal] setLanguage">>; setCurrentApp: _ngrx_store.ActionCreator<"[AppContext/Internal] setCurrentApp", (props: { app: AppInfo | null; mode?: AppViewMode; url?: string; }) => { app: AppInfo | null; mode?: AppViewMode; url?: string; } & _ngrx_store.Action<"[AppContext/Internal] setCurrentApp">>; setSupportedLanguages: _ngrx_store.ActionCreator<"[AppContext/Internal] setSupportedLanguages", (props: { supportedLanguages: string[]; }) => { supportedLanguages: string[]; } & _ngrx_store.Action<"[AppContext/Internal] setSupportedLanguages">>; setTheme: _ngrx_store.ActionCreator<"[AppContext/Internal] setTheme", (props: { theme: AppTheme; }) => { theme: AppTheme; } & _ngrx_store.Action<"[AppContext/Internal] setTheme">>; addApp: _ngrx_store.ActionCreator<"[AppContext/Internal] addApp", (props: { app: AppInfo; }) => { app: AppInfo; } & _ngrx_store.Action<"[AppContext/Internal] addApp">>; setViewMode: _ngrx_store.ActionCreator<"[AppContext/Internal] setViewMode", (props: { viewMode?: AppViewMode; }) => { viewMode?: AppViewMode; } & _ngrx_store.Action<"[AppContext/Internal] setViewMode">>; }; declare const AppContextActions: { setLanguage: _ngrx_store.ActionCreator<"[AppContext/API] setLanguage", (props: { language: string; }) => { language: string; } & _ngrx_store.Action<"[AppContext/API] setLanguage">>; setSupportedLanguages: _ngrx_store.ActionCreator<"[AppContext/API] setSupportedLanguages", (props: { supportedLanguages: string[]; }) => { supportedLanguages: string[]; } & _ngrx_store.Action<"[AppContext/API] setSupportedLanguages">>; setCurrentApp: _ngrx_store.ActionCreator<"[AppContext/API] setCurrentApp", (props: { app: AppInfo | null; mode?: AppViewMode; url?: string; }) => { app: AppInfo | null; mode?: AppViewMode; url?: string; } & _ngrx_store.Action<"[AppContext/API] setCurrentApp">>; removeApp: _ngrx_store.ActionCreator<"[AppContext/API] removeApp", (props: { appType: string; }) => { appType: string; } & _ngrx_store.Action<"[AppContext/API] removeApp">>; setTheme: _ngrx_store.ActionCreator<"[AppContext/API] setTheme", (props: { theme: AppTheme; }) => { theme: AppTheme; } & _ngrx_store.Action<"[AppContext/API] setTheme">>; finalizeApp: _ngrx_store.ActionCreator<"[AppContext/API] finalizeApp", (props: { appType: string; appId: string; data?: any; }) => { appType: string; appId: string; data?: any; } & _ngrx_store.Action<"[AppContext/API] finalizeApp">>; }; declare class AuthFeatureService { private store; constructor(store: Store); login(): void; logout(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const AuthActionsInternal: { setCurrentProvider: _ngrx_store.ActionCreator<"[Auth/Internal] SetCurrentProvider", (props: { currentProvider: string; }) => { currentProvider: string; } & _ngrx_store.Action<"[Auth/Internal] SetCurrentProvider">>; setLoading: _ngrx_store.ActionCreator<"[Auth/Internal] SetLoading", (props: { loading: boolean; }) => { loading: boolean; } & _ngrx_store.Action<"[Auth/Internal] SetLoading">>; reset: _ngrx_store.ActionCreator<"[Auth/Internal] Reset", () => _ngrx_store.Action<"[Auth/Internal] Reset">>; }; declare const AuthActions: { login: _ngrx_store.ActionCreator<"[Auth/API] Login", () => _ngrx_store.Action<"[Auth/API] Login">>; logout: _ngrx_store.ActionCreator<"[Auth/API] Logout", () => _ngrx_store.Action<"[Auth/API] Logout">>; setCurrentProvider: _ngrx_store.ActionCreator<"[Auth/API] SetCurrentProvider", (props: { currentProvider: string; }) => { currentProvider: string; } & _ngrx_store.Action<"[Auth/API] SetCurrentProvider">>; }; declare const NavbarActionsInternal: {}; declare const NavbarActions: { setVisible: _ngrx_store.ActionCreator<"[Navbar/API] SetVisible", (props: { visible: boolean; }) => { visible: boolean; } & _ngrx_store.Action<"[Navbar/API] SetVisible">>; setSearchVisible: _ngrx_store.ActionCreator<"[Navbar/API] SetSearchVisible", (props: { visible: boolean; }) => { visible: boolean; } & _ngrx_store.Action<"[Navbar/API] SetSearchVisible">>; setHeader: _ngrx_store.ActionCreator<"[Navbar/API] SetHeader", (props: { header: NavbarHeader | null; }) => { header: NavbarHeader | null; } & _ngrx_store.Action<"[Navbar/API] SetHeader">>; setSearchText: _ngrx_store.ActionCreator<"[Navbar/API] SetSearchText", (props: { text: string | null; }) => { text: string | null; } & _ngrx_store.Action<"[Navbar/API] SetSearchText">>; setLeftItems: _ngrx_store.ActionCreator<"[Navbar/API] SetLeftItems", (props: { items: string[]; }) => { items: string[]; } & _ngrx_store.Action<"[Navbar/API] SetLeftItems">>; setRightItems: _ngrx_store.ActionCreator<"[Navbar/API] SetRightItems", (props: { items: string[]; }) => { items: string[]; } & _ngrx_store.Action<"[Navbar/API] SetRightItems">>; setLoginVisible: _ngrx_store.ActionCreator<"[Navbar/API] SetLoginVisible", (props: { visible: boolean; }) => { visible: boolean; } & _ngrx_store.Action<"[Navbar/API] SetLoginVisible">>; setSettingsVisible: _ngrx_store.ActionCreator<"[Navbar/API] SetSettingsVisible", (props: { visible: boolean; }) => { visible: boolean; } & _ngrx_store.Action<"[Navbar/API] SetSettingsVisible">>; setAppsVisible: _ngrx_store.ActionCreator<"[Navbar/API] SetAppsVisible", (props: { visible: boolean; }) => { visible: boolean; } & _ngrx_store.Action<"[Navbar/API] SetAppsVisible">>; setSeparatorVisible: _ngrx_store.ActionCreator<"[Navbar/API] SetSeparatorVisible", (props: { visible: boolean; }) => { visible: boolean; } & _ngrx_store.Action<"[Navbar/API] SetSeparatorVisible">>; setActionsLayout: _ngrx_store.ActionCreator<"[Navbar/API] SetActionsLayout", (props: { layout: NavbarActionsLayout; }) => { layout: NavbarActionsLayout; } & _ngrx_store.Action<"[Navbar/API] SetActionsLayout">>; }; declare const SidebarActionsInternal: {}; declare const SidebarActions: { setItems: _ngrx_store.ActionCreator<"[Sidebar/API] SetItems", (props: { items: SidebarNavigableItem[]; }) => { items: SidebarNavigableItem[]; } & _ngrx_store.Action<"[Sidebar/API] SetItems">>; setVisible: _ngrx_store.ActionCreator<"[Sidebar/API] SetVisible", (props: { visible: boolean; }) => { visible: boolean; } & _ngrx_store.Action<"[Sidebar/API] SetVisible">>; setLoginVisible: _ngrx_store.ActionCreator<"[Sidebar/API] SetLoginVisible", (props: { visible: boolean; }) => { visible: boolean; } & _ngrx_store.Action<"[Sidebar/API] SetLoginVisible">>; setAppsVisible: _ngrx_store.ActionCreator<"[Sidebar/API] SetAppsVisible", (props: { visible: boolean; }) => { visible: boolean; } & _ngrx_store.Action<"[Sidebar/API] SetAppsVisible">>; setSearchVisible: _ngrx_store.ActionCreator<"[Sidebar/API] SetSearchVisible", (props: { visible: boolean; }) => { visible: boolean; } & _ngrx_store.Action<"[Sidebar/API] SetSearchVisible">>; setSettingsVisible: _ngrx_store.ActionCreator<"[Sidebar/API] SetSettingsVisible", (props: { visible: boolean; }) => { visible: boolean; } & _ngrx_store.Action<"[Sidebar/API] SetSettingsVisible">>; setSearchText: _ngrx_store.ActionCreator<"[Sidebar/API] SetSearchText", (props: { text: string | null; }) => { text: string | null; } & _ngrx_store.Action<"[Sidebar/API] SetSearchText">>; setFooterComponent: _ngrx_store.ActionCreator<"[Sidebar/API] SetFooterComponent", (props: { name: string | null; }) => { name: string | null; } & _ngrx_store.Action<"[Sidebar/API] SetFooterComponent">>; }; declare const AclStore: i0.Type<{ resources: i0.Signal<_open_rlb_ng_app.UserResource[] | null>; loading: i0.Signal; loaded: i0.Signal; error: i0.Signal; hasPermission: (busId: string, resId: string, action?: string) => boolean; loadACL: (providerAcl?: ProviderAclConfiguration) => rxjs.Observable<_open_rlb_ng_app.UserResource[]>; reset: () => void; } & _ngrx_signals.StateSource<{ resources: _open_rlb_ng_app.UserResource[] | null; loading: boolean; loaded: boolean; error: any; }>>; interface BaseState extends AclState, AuthState, SidebarState, NavbarState, AppState { } declare const RLB_INIT_PROVIDER: InjectionToken; interface RlbInitProvider { finalizeApps(resources: UserResource[], store: Store, acl: AclConfiguration | null): Promise; } interface CacheItem { data: T; expire: number; } declare class LocalCacheService { private options; constructor(options: ProjectConfiguration); private clear; private readData; private storeData; getData(ob: Observable, cacheKey: string, expirationSec: number): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare abstract class AbstractMdService { constructor(); abstract md2html(md: string): string; abstract md2text(md: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class StrapiService { private http; private cache; private cmsOptions; constructor(http: HttpClient, cache: LocalCacheService, cmsOptions: CmsConfiguration); fetchHome(lang: string, cid: string): Observable; fetchTopic(id: string): Observable; fetchTab(id: string): Observable; fetchFaqGroup(lang: string, cid: string): Observable; private _getGuideMenuPromise; getGuideMenu(lang: string, cid: string): Observable; fetchPage(lang: string, cid: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface MenuItem { ContentId: string; Order: number; Title: string; page: Page; home: Home; menu_items: MenuItem[]; } interface Home { ContentId: string; MenuName: string; Abstract: string; Content: string; Picture: any; Head: any; topics: Topic[]; } interface Page { ContentId: string; Title: string; Content: string; page_tabs: Tab[]; topics: Topic[]; Cover: any; } interface Topic { id: string; ContentId: string; Title: string; Content: string; Picture: any; page: Page; } interface Tab { id: string; ContentId: string; Title: string; Icon: string; Content: string; FaqTitle: string; FaqContent: string; steps: Step[]; faqs: Faq[]; } interface Step { ContentId: string; Title: string; Content: string; Picture: any; } interface FaqGroup { ContentId: string; Title: string; Content: string; faqs: Faq[]; } interface Faq { ContentId: string; Title: string; Content: string; Question: string; Answer: string; } type ErrorOutput = 'dialog' | 'toast' | 'console'; declare class ErrorManagementService { private dialogService; private toastService; private languageService; private options; constructor(dialogService: ModalService, toastService: ToastService, languageService: LanguageService, options: ProjectConfiguration); showError(type?: ModalType, out?: ErrorOutput, error?: any): Observable<_open_rlb_ng_bootstrap.ToastResult | null> | Observable<{ reason: string; }>; showDialog(type: ModalType, error?: Error): Observable<_open_rlb_ng_bootstrap.ModalResult>; showToast(type: ModalType, error?: any): Observable<_open_rlb_ng_bootstrap.ToastResult | null>; manageUI(type?: ModalType, out?: ErrorOutput): OperatorFunction; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare function provideRlbI18n(i18n?: InternationalizationConfiguration): (EnvironmentProviders | Provider)[]; declare class LanguageService { private readonly translateService; private readonly cookiesService; private readonly i18nOptions; private readonly _language; private readonly _contentLanguage; readonly language: i0.Signal; readonly contentLanguage: i0.Signal; readonly languageChanged$: rxjs.Observable; readonly contentLanguageChanged: i0.Signal; private readonly _ready$; readonly ready$: rxjs.Observable; constructor(); get currentLanguage(): string; setLanguage(value: string | undefined): void; setContentLanguage(value: string | undefined): void; get languages(): readonly string[]; set languages(value: string[]); get defaultLanguage(): string; get browserLanguage(): string; translate(key: string | Array, interpolateParams?: Object): any; translateAsync(key: string | Array, interpolateParams?: Object): rxjs.Observable; getLanguageName(l: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class TranslateBrowserLoader implements TranslateLoader { private http; private transferState; private prefix; private suffix; constructor(http: HttpClient, transferState: TransferState, prefix?: string, suffix?: string); getTranslation(lang: string): Observable; } declare function translateBrowserLoaderFactory(httpClient: HttpClient, transferState: TransferState): TranslateBrowserLoader; declare class AppStorageService { readLocal(key: string): string | null; writeLocal(key: string, value: any): void; removeLocal(key: string): void; clearLocal(): void; readSession(key: string): string | null; writeSession(key: string, value: any): void; removeSession(key: string): void; clearSession(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CookiesService { getCookie(name: string): string | undefined; deleteCookie(name: string): void; setCookie(name: string, value: string, expireDays?: number, path?: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class PwaUpdaterService { private readonly updates; private readonly modalService; private readonly languageService; private readonly _newVersionAvailable; readonly newVersionAvailable: i0.Signal; get newVersionAvailable$(): rxjs.Observable; constructor(); update(): void; checkForUpdates(): Promise; checkWithDialog(): rxjs.Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class UtilsService { isNumber(evt: any): boolean; toPlainDataObject(o: ({ [k: string]: any; } | { [k: string]: any; }[])): any; groupBy(xs: T[], predicate: (o: T) => string): { [i: string]: T[]; }; private s; compareArrayUnsort(a1: any, a2: any): boolean; removeMD(md: string, options?: { listUnicodeChar?: string; stripListLeaders?: boolean; useImgAltText?: boolean; gfm?: boolean; }): string; floatStr(input: string | number): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const RLB_CFG: InjectionToken>; declare const RLB_CFG_CMS: InjectionToken; declare const RLB_CFG_I18N: InjectionToken; declare const RLB_CFG_PAGES: InjectionToken; declare const RLB_CFG_ENV: InjectionToken; declare const RLB_CFG_AUTH: InjectionToken; declare const RLB_APP_NAVCOMP: InjectionToken; declare const RLB_APP_SIDEBARCOMP: InjectionToken; declare const RLB_CFG_ACL: InjectionToken; type AuthUrlHandler = (url: string) => void | Promise; declare const RLB_AUTH_URL_HANDLER: InjectionToken; interface InterceptorMapping { [k: string]: string; } interface ProviderAclConfiguration { endpointKey: string; path: string; } interface AclConfiguration { interceptorMapping?: InterceptorMapping; businessIdKey: string; resourceIdKey: string; } interface ProviderConfiguration extends OpenIdConfiguration { configId: string; domains?: string[]; roleClaim?: (data: any) => string | string[]; acl?: ProviderAclConfiguration; } interface NavbarComponents { left: { component: Type; name: string; }[]; right: { component: Type; name: string; }[]; } interface SidebarComponents { footer: { component: Type; name: string; }[]; } interface CmsConfiguration { endpoint: string; chacheDuration: number; useAppLanguage: boolean; contentLanguages: string[]; markdown: 'ignore' | 'html' | 'text'; } interface AuthConfiguration { protocol: 'oauth'; storage: 'cookies' | 'localStorage' | 'sessionStorage'; interceptor?: 'oauth-code-all' | 'oauth-code-ep' | 'none'; enableCompanyInterceptor?: boolean; allowedUrls: string[]; providers: ProviderConfiguration[]; } interface InternationalizationConfiguration { availableLangs: string[]; defaultLanguage: string; useLanguageBrowser: boolean; storeSelectedLanguage: boolean; cookieStoreName: string; } interface PagesConfiguration { [key: string]: { path: string; }; } interface EnvironmentConfiguration { appLogo: string; appTitle: string; navbarDisabled?: boolean; baseUrl: string; ssr: boolean; phone: boolean; errorDialogName?: string; errorDialogSize?: 'sm' | 'lg' | 'xl' | 'md'; errorToastName?: string; errorToastContainer?: string; pwaUpdateEnabled?: boolean; logLevel?: LogLevel; } interface Endpoint { baseUrl: string; healthPath: string; auth?: boolean; wss?: boolean; } interface IConfiguration { environment?: EnvironmentConfiguration; cms?: CmsConfiguration; auth?: AuthConfiguration; i18n?: InternationalizationConfiguration; pages?: PagesConfiguration; acl?: AclConfiguration; endpoints?: { [key: string]: Endpoint; }; } type ProjectConfiguration = IConfiguration & { production: boolean; } & T; declare class RlbRole { private appsService; private templateRef; private viewContainer; action: i0.InputSignal; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare const oauthGuard: CanActivateFn; declare const permissionGuard: CanActivateFn; declare const oauthPasswordGuard: CanActivateFn; declare class ParseJwtService { private _atob; parseJwt(token?: string): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class AdminApiService { private httpClient; private config; private aclConfig; constructor(httpClient: HttpClient, config: ProjectConfiguration, aclConfig: AclConfiguration); resourcesByUser$(endpointKey: string, path: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class AuthenticationService { private oidcSecurityService; private cookiesService; private router; private readonly parseJwtService; private readonly store; private readonly log; private readonly localStorage; private readonly adminApi; private envConfig; private authConfig; private appconfig; private authUrlHandler; modal: Window | null; private logger; private readonly aclStore; private readonly _authReady$; readonly authReady$: Observable; private readonly _authenticated$; readonly authenticated$: Observable; constructor(oidcSecurityService: OidcSecurityService, cookiesService: CookiesService, router: Router, parseJwtService: ParseJwtService, store: Store, log: AppLoggerService, localStorage: AppStorageService, adminApi: AdminApiService, envConfig: EnvironmentConfiguration, authConfig: AuthConfiguration, appconfig: IConfiguration, authUrlHandler: AuthUrlHandler | null); get oidc(): OidcSecurityService; get config(): AuthConfiguration; get currentProvider(): _open_rlb_ng_app.ProviderConfiguration | undefined; checkAuthMultiple(url?: string | undefined): Observable; login(targetUrl?: string): void; private get electronUrlHandler(); logout(): Promise; logout$(): Observable; get userInfo$(): Observable; get isAuthenticated$(): Observable; get accessToken$(): Observable; get idToken$(): Observable; get refreshToken$(): Observable; get roles$(): Observable; matchRoles(roles: string[]): Observable; private handleRedirect; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface Token { access_token: string | null; expires_in: number; token_type: string; scope: string; id_token: string | null; refresh_token: string | null; } declare class OauthPasswordService implements HttpInterceptor { private readonly httpClient; private readonly authenticationService; private readonly log; private timer; private _onUpdateToken; private logger; constructor(httpClient: HttpClient, authenticationService: AuthenticationService, log: AppLoggerService); intercept(req: HttpRequest, next: HttpHandler): Observable>; private get access_token(); private set access_token(value); private get refresh_token(); private set refresh_token(value); get accessToken(): string | null; set onUpdateToken(v: ((token: string | null) => void) | null); login(username: string, password: string): Promise; loggedIn(): boolean; logout(): void; private _login; private _refreshToken; private initRefreshToken; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class TokenOauthInterceptor implements HttpInterceptor { private authenticationService; private appconfig; constructor(authenticationService: AuthenticationService, appconfig: IConfiguration); intercept(request: HttpRequest, next: HttpHandler): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface UserClaims { exp?: number; iat?: number; auth_time?: number; jti?: string; iss?: string; aud?: string; sub?: string; typ?: string; azp?: string; nonce?: string; session_state?: string; at_hash?: string; acr?: string; email_verified?: boolean; name?: string; preferred_username?: string; locale?: string; given_name?: string; family_name?: string; email?: string; picture?: string; } interface JwtUser { email: string; email_verified: boolean; family_name: string; given_name: string; name: string; preferred_username: string; sub: string; [key: string]: string | number | boolean; } declare function provideRlbCodeBrowserOAuth(auth: AuthConfiguration | undefined): EnvironmentProviders; interface KeycloakUser { attributes: {}; email: string; emailVerified: boolean; firstName: string; id: string; lastName: string; userProfileMetadata: { attributes: { name: string; displayName: string; multivalued: boolean; required: boolean; readOnly: boolean; validators: { [key: string]: any; }[]; }[]; groups: { name: string; displayHeader: string; displayDescription: string; }[]; }; username: string; } interface KeycloakDevice { os: string; osVersion: string; device: string; lastAccess: number; current: boolean; sessions: KeycloakSession[]; mobile: boolean; } interface KeycloakSession { id: string; ipAddress: string; started: number; expires: number; clients: KeycloakClient[]; browser: string; os: string; osVersion: string; device: string; lastAccess: number; current: boolean; mobile: boolean; clientslist: string; } interface KeycloakClient { clientId: string; clientName: string; userConsentRequired: boolean; inUse: boolean; offlineAccess: boolean; } interface KeycloakCredential { type: string; category: string; displayName: string; helptext: string; iconCssClass: string; updateAction?: string; removeable: boolean; userCredentialMetadatas: KeycloakUserCredentialMetadata[]; createAction?: string; } interface KeycloakUserCredentialMetadata { credential: _KeycloakCredential; } interface _KeycloakCredential { id: string; type: string; userLabel: string; createdDate: number; credentialData: string; } declare class KeycloakProfileService { private http; private readonly authService; private readonly errorManagementService; private readonly oidcSecurityService; constructor(http: HttpClient, authService: AuthenticationService, errorManagementService: ErrorManagementService, oidcSecurityService: OidcSecurityService); private get baseUrl(); getUserProfile(): Observable; updateUserProfile(data: KeycloakUser): Observable; getDevices(): Observable; getCredentials(): Observable; removeCredential(id: string): Observable; configureOTP(): void; updatePassword(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface VerifyDeactivate { verifyDeactivate: () => boolean | Observable; } declare const verifyDeactivate: CanDeactivateFn; declare class ErrorModalComponent implements IModal, OnInit { data: i0.InputSignal>; valid: i0.ModelSignal; onEnter(): void; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ModalAppsComponent implements IModal { data: i0.InputSignal>; valid: i0.ModelSignal; result?: any; apps: AppInfo[]; appSelected(app: AppInfo): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare function getDefaultRoutes(config?: PagesConfiguration): Routes; declare class AsMultiPipe implements PipeTransform { transform(value: T | T[]): T[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class AsSinglePipe implements PipeTransform { transform(value: T | T[]): T; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class CmsPipe implements PipeTransform { private cmsOptions; transform(value: string, ...args: unknown[]): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class LeftComponentPipe implements PipeTransform { private config; transform(value: string): Type; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class RightComponentPipe implements PipeTransform { private config; transform(value: string): Type; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class SidebarFooterComponentPipe implements PipeTransform { private config; transform(value: string): Type; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class TruncatePipe implements PipeTransform { transform(value?: string, limit?: number, completeWords?: boolean, ellipsis?: string): string | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class AutolinkPipe implements PipeTransform { transform(value?: string, target?: string, rel?: string, id?: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class AppContainerComponent { protected readonly Array: ArrayConstructor; private readonly templateSubject; readonly modalContainerId: i0.InputSignal; readonly toastContainerIds: i0.InputSignal; private readonly env; private readonly store; private readonly router; private readonly storage; private readonly pwaUpdaterService; private readonly appsService; private readonly loggerService; private readonly logger; constructor(); get template$(): rxjs.Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SettingsDropdownSelectorComponent implements OnDestroy { mode: i0.InputSignal<"desktop" | "mobile">; apps: i0.InputSignal[]>; isAuthenticated: i0.InputSignal; appSelected: i0.OutputEmitterRef>; activeSlide: number; private readonly pageOptions; private readonly store; private readonly languageService; private readonly toastService; private readonly router; private readonly menu; private appsService; readonly pages: i0.Signal; readonly languages: i0.Signal<{ value: string; label: string; }[]>; readonly currentLanguage: i0.Signal; readonly darkMode: i0.Signal; readonly currentAppId: i0.Signal; constructor(); setCurrentLanguage(value: any): void; setDarkMode(value: boolean): void; selectApp(app: AppInfo): void; goToFirstSlide(): void; goToInlineSettings(): void; logout(): void; ngOnDestroy(): void; change(event: any): void; isAppSelected(appId: string | undefined): boolean; private close; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AppTemplateComponent { protected readonly Array: ArrayConstructor; navSearchText: string | null; readonly modalContainerId: i0.InputSignal; readonly breadcrumbInput: i0.InputSignal; readonly breadcrumb: i0.Signal; readonly toastContainerIds: i0.InputSignal; readonly mobileOffcanvas: i0.Signal; readonly mobileSettingsMenu: i0.Signal; readonly env: _open_rlb_ng_app.EnvironmentConfiguration; readonly store: Store; readonly appsService: AppsService; private readonly authService; private readonly router; readonly sidebarVisible: i0.Signal; readonly sidearHasLogin: i0.Signal; readonly sidearHasSearch: i0.Signal; readonly sidebarItems: i0.Signal; readonly sidebarFooter: i0.Signal; readonly sidearHasSettings: i0.Signal; readonly sidearAppsVisible: i0.Signal; readonly navVisible: i0.Signal; readonly navSearchVisible: i0.Signal; readonly navHeader: i0.Signal<_open_rlb_ng_app.NavbarHeader | null>; readonly navLeftItems: i0.Signal; readonly navRightItems: i0.Signal; readonly navbarHasLogin: i0.Signal; readonly navbarHasSettings: i0.Signal; readonly navbarHasApps: i0.Signal; readonly navbarLayout: i0.Signal; readonly separatorVisible: i0.Signal; readonly isAuthenticated: i0.Signal; readonly userInfo: i0.Signal; readonly theme: i0.Signal; readonly apps: i0.Signal; constructor(); loginNav(event: MouseEvent): void; onSideBarItemClick(item: SidebarNavigableItem): void; selectApp(app: AppInfo, viewMode: 'app' | 'settings'): void; onMobileMenuStatusChange(event: VisibilityEvent): void; setSidearSearchText(text: string | null): void; setNavbarSearchText(text: string | null): void; private closeMobileMenu; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BaseComponent { private readonly breakpointObserver; private readonly platformId; readonly breadcrumbInput: i0.InputSignal; readonly breadcrumb: i0.Signal; readonly title: i0.InputSignal; readonly subtitle: i0.InputSignal; readonly isHandset: i0.Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CmsComponent { private readonly strapiService; private readonly languageService; private readonly cmsOptions; private readonly mdService; readonly contentId: i0.InputSignal; readonly breadcrumbInput: i0.InputSignal; readonly breadcrumb: i0.Signal; readonly page: i0.Signal<_open_rlb_ng_app.Page | undefined>; md(md: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ContentComponent { private readonly breakpointObserver; private readonly platformId; readonly isHandset: i0.Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ToastComponent implements IToast { data: i0.InputSignal>; valid?: boolean; result?: any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CmsContentComponent { private readonly route; readonly contentId: i0.Signal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CookiesComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NotFoundComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PrivacyComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SupportComponent implements OnInit { private readonly supportService; private readonly _location; readonly supportForm: FormGroup<{ name: FormControl; email: FormControl; subject: FormControl; message: FormControl; legal: FormControl; }>; hasError(form: string, controlName: string, errorName: string): boolean | undefined; sendSupport(data: any): void; backClicked(): void; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TermsAndConditionsComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ForbiddenComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AppDropdownSelectorComponent { mode: i0.InputSignal<"desktop" | "mobile">; apps: i0.InputSignal[]>; isAuthenticated: i0.InputSignal; appSelected: i0.OutputEmitterRef>; private appsService; readonly currentAppId: i0.Signal; selectApp(app: AppInfo): void; isAppSelected(appId: string | undefined): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class RlbAppModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare function provideRlbConfig(env: ProjectConfiguration): (EnvironmentProviders | Provider)[]; declare function provideApp(app: AppDescriber): (EnvironmentProviders | Provider)[]; export { AbstractMdService, AbstractSupportService, AclStore, AppBreadcrumbService, AppContainerComponent, AppContextActions, AppContextActionsInternal, AppLoggerService, AppStorageService, AppTemplateComponent, AppsService, AsMultiPipe, AsSinglePipe, AuthActions, AuthActionsInternal, AuthFeatureService, AuthenticationService, AutolinkPipe, BaseComponent, CmsComponent, CmsPipe, ContentComponent, CookiesService, ErrorManagementService, ErrorModalComponent, KeycloakProfileService, LanguageService, LeftComponentPipe, LocalCacheService, ModalAppsComponent, NavbarActions, NavbarActionsInternal, OauthPasswordService, ParseJwtService, PwaUpdaterService, RLB_APPS, RLB_APP_NAVCOMP, RLB_APP_SIDEBARCOMP, RLB_AUTH_URL_HANDLER, RLB_CFG, RLB_CFG_ACL, RLB_CFG_AUTH, RLB_CFG_CMS, RLB_CFG_ENV, RLB_CFG_I18N, RLB_CFG_PAGES, RLB_INIT_PROVIDER, RightComponentPipe, RlbAppModule, RlbRole, SidebarActions, SidebarActionsInternal, SidebarFooterComponentPipe, StrapiService, ToastComponent, TokenOauthInterceptor, TranslateBrowserLoader, TruncatePipe, UtilsService, aclFeatureKey, appContextFeatureKey, authsFeatureKey, getDefaultRoutes, initialAclState, initialAppContextState, initialAuthState, initialNavbarState, initialSidebarState, navbarsFeatureKey, oauthGuard, oauthPasswordGuard, permissionGuard, provideApp, provideRlbCodeBrowserOAuth, provideRlbConfig, provideRlbI18n, sidebarsFeatureKey, translateBrowserLoaderFactory, verifyDeactivate }; export type { Acl, AclConfiguration, AclState, AppContext, AppDescriber, AppDetails, AppInfo, AppInfoData, AppState, AppTheme, AppViewMode, Auth, AuthConfiguration, AuthState, AuthUrlHandler, BaseState, CacheItem, CmsConfiguration, Endpoint, EnvironmentConfiguration, ErrorOutput, Faq, FaqGroup, Home, IConfiguration, InterceptorMapping, InternationalizationConfiguration, JwtUser, KeycloakClient, KeycloakCredential, KeycloakDevice, KeycloakSession, KeycloakUser, KeycloakUserCredentialMetadata, LogLevel, LoggerContext, MenuItem, Navbar, NavbarActionsLayout, NavbarComponents, NavbarHeader, NavbarState, Page, PageTemplate, PagesConfiguration, ProjectConfiguration, ProviderAclConfiguration, ProviderConfiguration, Resource, RlbInitProvider, Sidebar, SidebarComponents, SidebarState, Step, Tab, Token, Topic, UserClaims, UserResource, VerifyDeactivate, _KeycloakCredential };