@open-rlb/ng-app 3.1.37 → 3.1.38

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.37",
3
+ "version": "3.1.38",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0",
@@ -85,9 +85,18 @@ interface AuthState {
85
85
  }
86
86
 
87
87
  declare const navbarsFeatureKey = "navbar";
88
+ type NavbarHeader = {
89
+ type: 'text';
90
+ text: string;
91
+ } | {
92
+ type: 'image';
93
+ src: string;
94
+ alt?: string;
95
+ height?: number;
96
+ };
88
97
  interface Navbar {
89
98
  visible: boolean;
90
- header: string | null;
99
+ header: NavbarHeader | null;
91
100
  searchVisible: boolean;
92
101
  searchText: string | null;
93
102
  leftItems: string[];
@@ -260,9 +269,9 @@ declare const NavbarActions: {
260
269
  visible: boolean;
261
270
  } & _ngrx_store.Action<"[Navbar/API] SetSearchVisible">>;
262
271
  setHeader: _ngrx_store.ActionCreator<"[Navbar/API] SetHeader", (props: {
263
- header: string | null;
272
+ header: NavbarHeader | null;
264
273
  }) => {
265
- header: string | null;
274
+ header: NavbarHeader | null;
266
275
  } & _ngrx_store.Action<"[Navbar/API] SetHeader">>;
267
276
  setSearchText: _ngrx_store.ActionCreator<"[Navbar/API] SetSearchText", (props: {
268
277
  text: string | null;
@@ -1123,7 +1132,7 @@ declare class AppTemplateComponent implements OnDestroy {
1123
1132
  get sidearAppsVisible$(): rxjs.Observable<boolean>;
1124
1133
  get navVisible$(): rxjs.Observable<boolean>;
1125
1134
  get navSearchVisible$(): rxjs.Observable<boolean>;
1126
- get navHeader$(): rxjs.Observable<string | null>;
1135
+ get navHeader$(): rxjs.Observable<_open_rlb_ng_app.NavbarHeader | null>;
1127
1136
  get isAuth$(): rxjs.Observable<boolean>;
1128
1137
  get user$(): rxjs.Observable<any>;
1129
1138
  get navLeftItems$(): rxjs.Observable<string[]>;
@@ -1242,4 +1251,4 @@ declare function provideRlbConfig<T = {
1242
1251
  declare function provideApp(app: AppDescriber): (EnvironmentProviders | Provider)[];
1243
1252
 
1244
1253
  export { AbstractMdService, AbstractSupportService, AclActions, 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_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, 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 };
1245
- export type { Acl, AclConfiguration, AclState, AppContext, AppDescriber, AppDetails, AppInfo, AppInfoData, AppState, AppTheme, AppViewMode, Auth, AuthConfiguration, AuthState, BaseState, CacheItem, CmsConfiguration, Endpoint, EnvironmentConfiguration, ErrorOutput, Faq, FaqGroup, Home, IConfiguration, InterceptorMapping, InternationalizationConfiguration, JwtUser, KeycloakClient, KeycloakCredential, KeycloakDevice, KeycloakSession, KeycloakUser, KeycloakUserCredentialMetadata, LogLevel, LoggerContext, MenuItem, Navbar, NavbarComponents, NavbarState, Page, PageTemplate, PagesConfiguration, ProjectConfiguration, ProviderConfiguration, Resource, RlbInitProvider, Sidebar, SidebarState, Step, Tab, Token, Topic, UserClaims, UserResource, VerifyDeactivate, _KeycloakCredential };
1254
+ export type { Acl, AclConfiguration, AclState, AppContext, AppDescriber, AppDetails, AppInfo, AppInfoData, AppState, AppTheme, AppViewMode, Auth, AuthConfiguration, AuthState, BaseState, CacheItem, CmsConfiguration, Endpoint, EnvironmentConfiguration, ErrorOutput, Faq, FaqGroup, Home, IConfiguration, InterceptorMapping, InternationalizationConfiguration, JwtUser, KeycloakClient, KeycloakCredential, KeycloakDevice, KeycloakSession, KeycloakUser, KeycloakUserCredentialMetadata, LogLevel, LoggerContext, MenuItem, Navbar, NavbarComponents, NavbarHeader, NavbarState, Page, PageTemplate, PagesConfiguration, ProjectConfiguration, ProviderConfiguration, Resource, RlbInitProvider, Sidebar, SidebarState, Step, Tab, Token, Topic, UserClaims, UserResource, VerifyDeactivate, _KeycloakCredential };