@rxap/layout 19.2.6 → 21.0.1-dev.0
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/CHANGELOG.md +27 -0
- package/compodoc/changelog.html +26 -0
- package/compodoc/components/LayoutComponent.html +23 -31
- package/compodoc/components/NavigationComponent.html +30 -36
- package/compodoc/components/NavigationItemComponent.html +31 -36
- package/compodoc/components/SettingsButtonComponent.html +46 -46
- package/compodoc/components/SidenavComponent.html +43 -44
- package/compodoc/dependencies.html +20 -20
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +2065 -2005
- package/docs/html/classes/AppsButtonComponent.html +4 -4
- package/docs/html/classes/BaseLayoutComponent.html +2 -2
- package/docs/html/classes/DefaultHeaderComponent.html +2 -2
- package/docs/html/classes/DefaultHeaderService.html +5 -5
- package/docs/html/classes/ExternalAppsService.html +2 -2
- package/docs/html/classes/FooterComponent.html +2 -2
- package/docs/html/classes/FooterDirective.html +3 -3
- package/docs/html/classes/FooterService.html +5 -5
- package/docs/html/classes/HeaderComponent.html +2 -2
- package/docs/html/classes/HeaderDirective.html +3 -3
- package/docs/html/classes/HeaderService.html +5 -5
- package/docs/html/classes/LayoutComponent.html +2 -2
- package/docs/html/classes/LayoutService.html +2 -2
- package/docs/html/classes/LogoService.html +2 -2
- package/docs/html/classes/MinimalLayoutComponent.html +2 -2
- package/docs/html/classes/NavigationComponent.html +3 -3
- package/docs/html/classes/NavigationItemComponent.html +6 -6
- package/docs/html/classes/NavigationProgressBarComponent.html +2 -2
- package/docs/html/classes/NavigationService.html +3 -3
- package/docs/html/classes/ReleaseInfoComponent.html +2 -2
- package/docs/html/classes/SettingsButtonComponent.html +2 -2
- package/docs/html/classes/SidenavComponent.html +3 -3
- package/docs/html/classes/SidenavFooterDirective.html +2 -2
- package/docs/html/classes/SidenavHeaderDirective.html +2 -2
- package/docs/html/classes/SidenavToggleButtonComponent.html +2 -2
- package/docs/html/classes/UserProfileIconComponent.html +2 -2
- package/docs/html/functions/IsNavigationDividerItem.html +1 -1
- package/docs/html/functions/IsNavigationInsertItem.html +1 -1
- package/docs/html/functions/IsNavigationItem.html +1 -1
- package/docs/html/functions/provideExternalApps.html +1 -1
- package/docs/html/functions/provideLayout.html +1 -1
- package/docs/html/functions/withDefaultHeaderComponent.html +1 -1
- package/docs/html/functions/withDefaultHeaderItems.html +1 -1
- package/docs/html/functions/withFooterComponents.html +1 -1
- package/docs/html/functions/withHeaderComponents.html +1 -1
- package/docs/html/functions/withNavigationConfig.html +1 -1
- package/docs/html/functions/withNavigationInserts.html +1 -1
- package/docs/html/functions/withReleaseInfoModules.html +1 -1
- package/docs/html/functions/withSettingsMenuItems.html +1 -1
- package/docs/html/functions/withUserProfileDataSource.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/NavigationDividerItem.html +2 -2
- package/docs/html/interfaces/NavigationInsertItem.html +2 -2
- package/docs/html/interfaces/NavigationItem.html +2 -2
- package/docs/html/interfaces/NavigationStatus.html +2 -2
- package/docs/html/interfaces/ReleaseInfoModule.html +2 -2
- package/docs/html/interfaces/SettingsMenuItem.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/DefaultHeaderItemComponent.html +1 -1
- package/docs/html/types/ExternalApp.html +1 -1
- package/docs/html/types/ExtractUsernameFromProfileFn.html +1 -1
- package/docs/html/types/Navigation.html +1 -1
- package/docs/html/types/NavigationWithInserts.html +1 -1
- package/docs/html/types/SettingsMenuItemComponent.html +1 -1
- package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +1 -1
- package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP.html +1 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +1 -1
- package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_HEADER_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +1 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG.html +1 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG_DEFAULTS.html +1 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +1 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +1 -1
- package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +1 -1
- package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +1 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +1 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AppsButtonComponent.md +8 -8
- package/docs/markdown/classes/BaseLayoutComponent.md +2 -2
- package/docs/markdown/classes/DefaultHeaderComponent.md +10 -10
- package/docs/markdown/classes/DefaultHeaderService.md +6 -6
- package/docs/markdown/classes/ExternalAppsService.md +18 -18
- package/docs/markdown/classes/FooterComponent.md +5 -5
- package/docs/markdown/classes/FooterDirective.md +4 -4
- package/docs/markdown/classes/FooterService.md +6 -6
- package/docs/markdown/classes/HeaderComponent.md +6 -6
- package/docs/markdown/classes/HeaderDirective.md +4 -4
- package/docs/markdown/classes/HeaderService.md +6 -6
- package/docs/markdown/classes/LayoutComponent.md +6 -6
- package/docs/markdown/classes/LayoutService.md +17 -17
- package/docs/markdown/classes/LogoService.md +6 -6
- package/docs/markdown/classes/MinimalLayoutComponent.md +2 -2
- package/docs/markdown/classes/NavigationComponent.md +14 -14
- package/docs/markdown/classes/NavigationItemComponent.md +20 -22
- package/docs/markdown/classes/NavigationProgressBarComponent.md +4 -4
- package/docs/markdown/classes/NavigationService.md +12 -12
- package/docs/markdown/classes/ReleaseInfoComponent.md +6 -6
- package/docs/markdown/classes/SettingsButtonComponent.md +19 -19
- package/docs/markdown/classes/SidenavComponent.md +18 -18
- package/docs/markdown/classes/SidenavFooterDirective.md +4 -4
- package/docs/markdown/classes/SidenavHeaderDirective.md +4 -4
- package/docs/markdown/classes/SidenavToggleButtonComponent.md +5 -5
- package/docs/markdown/classes/UserProfileIconComponent.md +7 -7
- package/docs/markdown/functions/IsNavigationDividerItem.md +2 -2
- package/docs/markdown/functions/IsNavigationInsertItem.md +2 -2
- package/docs/markdown/functions/IsNavigationItem.md +2 -2
- package/docs/markdown/functions/provideExternalApps.md +2 -2
- package/docs/markdown/functions/provideLayout.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderComponent.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderItems.md +2 -2
- package/docs/markdown/functions/withFooterComponents.md +2 -2
- package/docs/markdown/functions/withHeaderComponents.md +2 -2
- package/docs/markdown/functions/withNavigationConfig.md +2 -2
- package/docs/markdown/functions/withNavigationInserts.md +2 -2
- package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
- package/docs/markdown/functions/withSettingsMenuItems.md +2 -2
- package/docs/markdown/functions/withUserProfileDataSource.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/NavigationDividerItem.md +4 -4
- package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
- package/docs/markdown/interfaces/NavigationItem.md +8 -8
- package/docs/markdown/interfaces/NavigationStatus.md +3 -3
- package/docs/markdown/interfaces/ReleaseInfoModule.md +5 -5
- package/docs/markdown/interfaces/SettingsMenuItem.md +5 -5
- package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +2 -2
- package/docs/markdown/type-aliases/ExternalApp.md +2 -2
- package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +2 -2
- package/docs/markdown/type-aliases/Navigation.md +2 -2
- package/docs/markdown/type-aliases/NavigationWithInserts.md +2 -2
- package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +2 -2
- package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +2 -2
- package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_EXTERNAL_APP.md +2 -2
- package/docs/markdown/variables/RXAP_EXTERNAL_APP_FILTER.md +2 -2
- package/docs/markdown/variables/RXAP_FOOTER_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_HEADER_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_LAYOUT_APPS_GRID.md +2 -2
- package/docs/markdown/variables/RXAP_LOGO_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_LOGO_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
- package/docs/wiki/Class.AppsButtonComponent.md +7 -7
- package/docs/wiki/Class.BaseLayoutComponent.md +1 -1
- package/docs/wiki/Class.DefaultHeaderComponent.md +9 -9
- package/docs/wiki/Class.DefaultHeaderService.md +5 -5
- package/docs/wiki/Class.ExternalAppsService.md +17 -17
- package/docs/wiki/Class.FooterComponent.md +4 -4
- package/docs/wiki/Class.FooterDirective.md +3 -3
- package/docs/wiki/Class.FooterService.md +5 -5
- package/docs/wiki/Class.HeaderComponent.md +5 -5
- package/docs/wiki/Class.HeaderDirective.md +3 -3
- package/docs/wiki/Class.HeaderService.md +5 -5
- package/docs/wiki/Class.LayoutComponent.md +5 -5
- package/docs/wiki/Class.LayoutService.md +16 -16
- package/docs/wiki/Class.LogoService.md +5 -5
- package/docs/wiki/Class.MinimalLayoutComponent.md +1 -1
- package/docs/wiki/Class.NavigationComponent.md +13 -13
- package/docs/wiki/Class.NavigationItemComponent.md +19 -21
- package/docs/wiki/Class.NavigationProgressBarComponent.md +3 -3
- package/docs/wiki/Class.NavigationService.md +11 -11
- package/docs/wiki/Class.ReleaseInfoComponent.md +5 -5
- package/docs/wiki/Class.SettingsButtonComponent.md +18 -18
- package/docs/wiki/Class.SidenavComponent.md +17 -17
- package/docs/wiki/Class.SidenavFooterDirective.md +3 -3
- package/docs/wiki/Class.SidenavHeaderDirective.md +3 -3
- package/docs/wiki/Class.SidenavToggleButtonComponent.md +4 -4
- package/docs/wiki/Class.UserProfileIconComponent.md +6 -6
- package/docs/wiki/Function.IsNavigationDividerItem.md +1 -1
- package/docs/wiki/Function.IsNavigationInsertItem.md +1 -1
- package/docs/wiki/Function.IsNavigationItem.md +1 -1
- package/docs/wiki/Function.provideExternalApps.md +1 -1
- package/docs/wiki/Function.provideLayout.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderComponent.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderItems.md +1 -1
- package/docs/wiki/Function.withFooterComponents.md +1 -1
- package/docs/wiki/Function.withHeaderComponents.md +1 -1
- package/docs/wiki/Function.withNavigationConfig.md +1 -1
- package/docs/wiki/Function.withNavigationInserts.md +1 -1
- package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
- package/docs/wiki/Function.withSettingsMenuItems.md +1 -1
- package/docs/wiki/Function.withUserProfileDataSource.md +1 -1
- package/docs/wiki/Interface.NavigationDividerItem.md +3 -3
- package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
- package/docs/wiki/Interface.NavigationItem.md +7 -7
- package/docs/wiki/Interface.NavigationStatus.md +2 -2
- package/docs/wiki/Interface.ReleaseInfoModule.md +4 -4
- package/docs/wiki/Interface.SettingsMenuItem.md +4 -4
- package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +1 -1
- package/docs/wiki/TypeAlias.ExternalApp.md +1 -1
- package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +1 -1
- package/docs/wiki/TypeAlias.Navigation.md +1 -1
- package/docs/wiki/TypeAlias.NavigationWithInserts.md +1 -1
- package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +1 -1
- package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +1 -1
- package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_EXTERNAL_APP.md +1 -1
- package/docs/wiki/Variable.RXAP_EXTERNAL_APP_FILTER.md +1 -1
- package/docs/wiki/Variable.RXAP_FOOTER_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_HEADER_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_LAYOUT_APPS_GRID.md +1 -1
- package/docs/wiki/Variable.RXAP_LOGO_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-layout.mjs +155 -161
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/package.json +47 -46
- package/src/generators/init/generator.ts +139 -0
- package/src/generators/init/index.ts +5 -0
- package/src/generators/init/schema.d.ts +2 -0
- package/src/generators/init/schema.json +8 -0
- package/{index.d.ts → src/index.ts} +47 -0
- package/src/migrations/18.0.0/add-seperate-external-apps-provider/__snapshots__/add-seperate-external-apps-provider.spec.ts.snap +1 -1
- package/src/migrations/18.0.0/add-seperate-external-apps-provider/add-seperate-external-apps-provider.spec.ts +63 -0
- package/src/migrations/18.0.0/add-seperate-external-apps-provider/add-seperate-external-apps-provider.ts +59 -0
- package/src/migrations/18.0.0/add-theme-provider-to-app-config/__snapshots__/add-theme-provider-to-app-config.spec.ts.snap +1 -1
- package/src/migrations/18.0.0/add-theme-provider-to-app-config/add-theme-provider-to-app-config.spec.ts +61 -0
- package/src/migrations/18.0.0/add-theme-provider-to-app-config/add-theme-provider-to-app-config.ts +44 -0
- package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/__snapshots__/add-user-theme-provider-to-layout-providers.spec.ts.snap +1 -1
- package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/add-user-theme-provider-to-layout-providers.spec.ts +94 -0
- package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/add-user-theme-provider-to-layout-providers.ts +51 -0
- package/src/migrations/18.0.0/add-with-user-profile-provider/__snapshots__/add-with-user-profile-provider.spec.ts.snap +1 -1
- package/src/migrations/18.0.0/add-with-user-profile-provider/add-with-user-profile-provider.spec.ts +94 -0
- package/src/migrations/18.0.0/add-with-user-profile-provider/add-with-user-profile-provider.ts +53 -0
- package/src/test-setup.ts +25 -0
- package/types/rxap-layout.d.ts +509 -0
- package/lib/base-layout/base-layout.component.d.ts +0 -5
- package/lib/default-header/apps-button/apps-button.component.d.ts +0 -16
- package/lib/default-header/default-header.component.d.ts +0 -15
- package/lib/default-header/default-header.service.d.ts +0 -36
- package/lib/default-header/settings-button/settings-button.component.d.ts +0 -33
- package/lib/default-header/sidenav-toggle-button/sidenav-toggle-button.component.d.ts +0 -9
- package/lib/default-header/user-profile-icon/user-profile-icon.component.d.ts +0 -12
- package/lib/external-apps.service.d.ts +0 -26
- package/lib/footer/footer.component.d.ts +0 -9
- package/lib/footer/footer.directive.d.ts +0 -12
- package/lib/footer.service.d.ts +0 -32
- package/lib/header/header.component.d.ts +0 -11
- package/lib/header/header.directive.d.ts +0 -12
- package/lib/header.service.d.ts +0 -34
- package/lib/layout/layout.component.d.ts +0 -11
- package/lib/layout.service.d.ts +0 -27
- package/lib/logo.service.d.ts +0 -10
- package/lib/minimal-layout/minimal-layout.component.d.ts +0 -5
- package/lib/navigation/navigation-item/navigation-item.component.d.ts +0 -28
- package/lib/navigation/navigation-item.d.ts +0 -25
- package/lib/navigation/navigation.component.d.ts +0 -21
- package/lib/navigation-progress-bar/navigation-progress-bar.component.d.ts +0 -8
- package/lib/navigation.service.d.ts +0 -36
- package/lib/provide.d.ts +0 -17
- package/lib/release-info/release-info.component.d.ts +0 -10
- package/lib/sidenav/sidenav-footer.directive.d.ts +0 -8
- package/lib/sidenav/sidenav-header.directive.d.ts +0 -8
- package/lib/sidenav/sidenav.component.d.ts +0 -31
- package/lib/tokens.d.ts +0 -22
- package/lib/types.d.ts +0 -17
|
@@ -0,0 +1,509 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { TemplateRef, WritableSignal, Signal, Type, InjectionToken, AbstractType, OnChanges, OnDestroy, AfterViewInit, ElementRef, Renderer2, SimpleChanges, OnInit, Injector, Provider } from '@angular/core';
|
|
3
|
+
import { MatDrawerMode, MatSidenav } from '@angular/material/sidenav';
|
|
4
|
+
import * as dist_packages_utilities_src from 'dist/packages/utilities/src';
|
|
5
|
+
import * as _rxap_config from '@rxap/config';
|
|
6
|
+
import { NavigationConfig, AppsNavigationConfig, ConfigService, LogoConfig } from '@rxap/config';
|
|
7
|
+
import * as _rxap_layout from '@rxap/layout';
|
|
8
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
9
|
+
import { Router } from '@angular/router';
|
|
10
|
+
import { Observable, Subscription } from 'rxjs';
|
|
11
|
+
import { IconConfig, ThemeDensity, Constructor } from '@rxap/utilities';
|
|
12
|
+
import * as _angular_cdk_portal from '@angular/cdk/portal';
|
|
13
|
+
import { Portal, ComponentType, ComponentPortal } from '@angular/cdk/portal';
|
|
14
|
+
import { ThemePalette } from '@angular/material/core';
|
|
15
|
+
import { PubSubService } from '@rxap/ngx-pub-sub';
|
|
16
|
+
import { ThemeService } from '@rxap/ngx-theme';
|
|
17
|
+
import * as dist_packages_angular_config_types_rxap_config from 'dist/packages/angular/config/types/rxap-config';
|
|
18
|
+
import * as _rxap_environment from '@rxap/environment';
|
|
19
|
+
import * as dist_packages_pattern_src from 'dist/packages/pattern/src';
|
|
20
|
+
import * as _rxap_pattern from '@rxap/pattern';
|
|
21
|
+
import { DataSource, MethodWithParameters } from '@rxap/pattern';
|
|
22
|
+
|
|
23
|
+
declare class SidenavFooterDirective {
|
|
24
|
+
readonly template: TemplateRef<void>;
|
|
25
|
+
constructor(template: TemplateRef<void>);
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavFooterDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SidenavFooterDirective, "[rxapSidenavFooter]", never, {}, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class SidenavHeaderDirective {
|
|
31
|
+
readonly template: TemplateRef<void>;
|
|
32
|
+
constructor(template: TemplateRef<void>);
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavHeaderDirective, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SidenavHeaderDirective, "[rxapSidenavHeader]", never, {}, {}, never, never, true, never>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class LayoutService {
|
|
38
|
+
readonly opened: WritableSignal<boolean>;
|
|
39
|
+
readonly mode: WritableSignal<MatDrawerMode>;
|
|
40
|
+
readonly pinned: WritableSignal<boolean>;
|
|
41
|
+
readonly collapsable: WritableSignal<boolean>;
|
|
42
|
+
readonly fixedBottomGap: Signal<number>;
|
|
43
|
+
readonly fixedTopGap: Signal<number>;
|
|
44
|
+
readonly currentThemeDensity: Signal<dist_packages_utilities_src.ThemeDensity | undefined>;
|
|
45
|
+
readonly isMobile: Signal<boolean>;
|
|
46
|
+
readonly fixedInViewport: WritableSignal<boolean>;
|
|
47
|
+
readonly collapsed: Signal<boolean>;
|
|
48
|
+
private readonly footerService;
|
|
49
|
+
private readonly headerService;
|
|
50
|
+
private readonly config;
|
|
51
|
+
private readonly mediaMatcher;
|
|
52
|
+
constructor(navigationConfigDefaults?: Omit<NavigationConfig, 'apps'> | null);
|
|
53
|
+
toggleOpened(): void;
|
|
54
|
+
togglePinned(): void;
|
|
55
|
+
openSidenav(): void;
|
|
56
|
+
closeSidenav(): void;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutService, [{ optional: true; }]>;
|
|
58
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LayoutService>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare class SidenavComponent {
|
|
62
|
+
protected readonly layoutService: LayoutService;
|
|
63
|
+
protected readonly sidenav: Signal<MatSidenav | undefined>;
|
|
64
|
+
readonly sidenavMode: Signal<MatDrawerMode>;
|
|
65
|
+
readonly fixedBottomGap: Signal<number>;
|
|
66
|
+
readonly fixedTopGap: Signal<number>;
|
|
67
|
+
readonly fixedInViewport: Signal<boolean>;
|
|
68
|
+
readonly pinned: Signal<boolean>;
|
|
69
|
+
readonly collapsed: Signal<boolean>;
|
|
70
|
+
readonly collapsable: Signal<boolean>;
|
|
71
|
+
readonly opened: Signal<boolean>;
|
|
72
|
+
readonly sidenavFooterDirective: Signal<SidenavFooterDirective | undefined>;
|
|
73
|
+
readonly sidenavHeaderDirective: Signal<SidenavHeaderDirective | undefined>;
|
|
74
|
+
togglePinned(): void;
|
|
75
|
+
/**
|
|
76
|
+
* To ensure the open state is in sync with the component. If the sidenav is closed, e.g. clicking outside the sidenav,
|
|
77
|
+
* it is required to manually update the state in the LayoutService.
|
|
78
|
+
* @param opened
|
|
79
|
+
*/
|
|
80
|
+
onOpenedChanged(opened: boolean): void;
|
|
81
|
+
openSidenav(): Promise<void>;
|
|
82
|
+
closeSidenav(): Promise<void>;
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavComponent, never>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavComponent, "rxap-sidenav", never, {}, {}, ["sidenavFooterDirective", "sidenavHeaderDirective"], ["*"], true, never>;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
declare class ReleaseInfoComponent {
|
|
88
|
+
readonly modules: _rxap_layout.ReleaseInfoModule[];
|
|
89
|
+
readonly release: string;
|
|
90
|
+
protected readonly dialog: MatDialog;
|
|
91
|
+
openEnvironmentInfo(): void;
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReleaseInfoComponent, never>;
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReleaseInfoComponent, "rxap-release-info", never, {}, {}, never, never, true, never>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
type Navigation = Array<NavigationItem | NavigationDividerItem>;
|
|
97
|
+
type NavigationWithInserts = Array<NavigationItem<NavigationWithInserts> | NavigationDividerItem | NavigationInsertItem>;
|
|
98
|
+
interface NavigationDividerItem {
|
|
99
|
+
divider: boolean;
|
|
100
|
+
title?: string;
|
|
101
|
+
}
|
|
102
|
+
declare function IsNavigationDividerItem(item: any): item is NavigationDividerItem;
|
|
103
|
+
interface NavigationInsertItem {
|
|
104
|
+
insert: string;
|
|
105
|
+
}
|
|
106
|
+
declare function IsNavigationInsertItem(item: any): item is NavigationInsertItem;
|
|
107
|
+
interface NavigationStatus {
|
|
108
|
+
isVisible(navigationItem: NavigationItem): Observable<boolean> | Promise<boolean> | boolean;
|
|
109
|
+
}
|
|
110
|
+
interface NavigationItem<Children = Navigation> extends Record<string, unknown> {
|
|
111
|
+
routerLink: string[] | string;
|
|
112
|
+
label: string;
|
|
113
|
+
children?: Children;
|
|
114
|
+
icon?: IconConfig;
|
|
115
|
+
status?: Array<Type<NavigationStatus> | InjectionToken<NavigationStatus> | AbstractType<NavigationStatus>>;
|
|
116
|
+
}
|
|
117
|
+
declare function IsNavigationItem(item: any): item is NavigationItem;
|
|
118
|
+
|
|
119
|
+
declare class NavigationItemComponent implements OnChanges, OnDestroy, AfterViewInit {
|
|
120
|
+
readonly level: i0.InputSignal<number>;
|
|
121
|
+
children: Navigation | null;
|
|
122
|
+
readonly item: i0.InputSignal<NavigationItem<Navigation>>;
|
|
123
|
+
readonly active: i0.WritableSignal<boolean>;
|
|
124
|
+
readonly itemClasses: i0.Signal<string>;
|
|
125
|
+
protected readonly layoutService: LayoutService;
|
|
126
|
+
readonly collapsed: i0.Signal<boolean>;
|
|
127
|
+
protected readonly _subscription: Subscription;
|
|
128
|
+
protected readonly router: Router;
|
|
129
|
+
protected readonly elementRef: ElementRef<any>;
|
|
130
|
+
protected readonly renderer: Renderer2;
|
|
131
|
+
onClick(): void;
|
|
132
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
133
|
+
ngAfterViewInit(): void;
|
|
134
|
+
ngOnDestroy(): void;
|
|
135
|
+
isNavigationDividerItem(item: NavigationItem | NavigationDividerItem): item is NavigationDividerItem;
|
|
136
|
+
isNavigationItem(item: NavigationItem | NavigationDividerItem): item is NavigationItem;
|
|
137
|
+
asNavigationItem(item: NavigationItem | NavigationDividerItem): NavigationItem;
|
|
138
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationItemComponent, never>;
|
|
139
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationItemComponent, "li[rxap-navigation-item]", never, { "level": { "alias": "level"; "required": false; "isSignal": true; }; "item": { "alias": "item"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
declare class NavigationProgressBarComponent {
|
|
143
|
+
readonly router: Router;
|
|
144
|
+
readonly navigating: i0.Signal<boolean>;
|
|
145
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationProgressBarComponent, never>;
|
|
146
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationProgressBarComponent, "rxap-navigation-progress-bar", never, {}, {}, never, never, true, never>;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
declare class NavigationService {
|
|
150
|
+
readonly config$: Observable<Navigation>;
|
|
151
|
+
private inserts;
|
|
152
|
+
private readonly navigation;
|
|
153
|
+
private readonly navigation$;
|
|
154
|
+
private readonly injector;
|
|
155
|
+
constructor(navigation: any, inserts?: any | null);
|
|
156
|
+
/**
|
|
157
|
+
* @deprecated use add instead
|
|
158
|
+
* @param id
|
|
159
|
+
* @param value
|
|
160
|
+
* @param update
|
|
161
|
+
*/
|
|
162
|
+
insert(id: string, value: NavigationWithInserts, update?: boolean): void;
|
|
163
|
+
add(id: string, value: NavigationWithInserts, update?: boolean): void;
|
|
164
|
+
has(id: string): boolean;
|
|
165
|
+
get(id: string): NavigationWithInserts | undefined;
|
|
166
|
+
remove(id: string, update?: boolean): void;
|
|
167
|
+
updateNavigation(): void;
|
|
168
|
+
/**
|
|
169
|
+
* @internal
|
|
170
|
+
* @param navigationItem
|
|
171
|
+
*/
|
|
172
|
+
checkNavigationItemStatusProviders(navigationItem: NavigationItem | NavigationDividerItem): Observable<NavigationItem | NavigationDividerItem | null>;
|
|
173
|
+
/**
|
|
174
|
+
* @internal
|
|
175
|
+
* @param navigationItem
|
|
176
|
+
*/
|
|
177
|
+
checkNavigationStatusProviders(navigation: Navigation): Observable<Navigation>;
|
|
178
|
+
private replaceInserts;
|
|
179
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, [null, { optional: true; }]>;
|
|
180
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
declare class NavigationComponent implements OnInit {
|
|
184
|
+
items: i0.InputSignal<Navigation | undefined>;
|
|
185
|
+
level: i0.InputSignal<number>;
|
|
186
|
+
protected readonly navigationService: NavigationService;
|
|
187
|
+
protected readonly layoutService: LayoutService;
|
|
188
|
+
readonly collapsed: i0.Signal<boolean>;
|
|
189
|
+
navigationItems: i0.Signal<Navigation>;
|
|
190
|
+
readonly root: i0.InputSignal<boolean>;
|
|
191
|
+
protected readonly injector: i0.Injector;
|
|
192
|
+
ngOnInit(): void;
|
|
193
|
+
isNavigationDividerItem(item: NavigationItem | NavigationDividerItem): item is NavigationDividerItem;
|
|
194
|
+
isNavigationItem(item: NavigationItem | NavigationDividerItem): item is NavigationItem;
|
|
195
|
+
asNavigationItem(item: NavigationItem | NavigationDividerItem): NavigationItem;
|
|
196
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationComponent, never>;
|
|
197
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationComponent, "ul[rxap-navigation]", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "root": { "alias": "root"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
declare class MinimalLayoutComponent {
|
|
201
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MinimalLayoutComponent, never>;
|
|
202
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MinimalLayoutComponent, "rxap-minimal-layout", never, {}, {}, never, never, true, never>;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
declare class LogoService {
|
|
206
|
+
private readonly config;
|
|
207
|
+
readonly logo: i0.WritableSignal<any>;
|
|
208
|
+
readonly src: i0.Signal<any>;
|
|
209
|
+
readonly width: i0.Signal<any>;
|
|
210
|
+
readonly height: i0.Signal<any>;
|
|
211
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LogoService, never>;
|
|
212
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LogoService>;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
declare class LayoutComponent {
|
|
216
|
+
protected readonly logoService: LogoService;
|
|
217
|
+
readonly logoSrc: Signal<string>;
|
|
218
|
+
readonly logoWidth: Signal<number>;
|
|
219
|
+
readonly logoHeight: Signal<number>;
|
|
220
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
|
|
221
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "rxap-layout", never, {}, {}, never, never, true, never>;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
declare class HeaderService {
|
|
225
|
+
private readonly components;
|
|
226
|
+
/**
|
|
227
|
+
* Represents an array of `Portal` objects with unknown type.
|
|
228
|
+
*
|
|
229
|
+
* @typedef {Array<Portal<unknown>>} SignalPortals
|
|
230
|
+
*/
|
|
231
|
+
readonly portals: i0.WritableSignal<Portal<unknown>[]>;
|
|
232
|
+
/**
|
|
233
|
+
* Computes the count of portals.
|
|
234
|
+
*
|
|
235
|
+
* @returns {number} The count of portals.
|
|
236
|
+
*/
|
|
237
|
+
readonly portalCount: i0.Signal<number>;
|
|
238
|
+
/**
|
|
239
|
+
* Adds a portal to the list of portals.
|
|
240
|
+
*
|
|
241
|
+
* @param {Portal<unknown>} portal - The portal to be added.
|
|
242
|
+
*
|
|
243
|
+
* @return {void}
|
|
244
|
+
*/
|
|
245
|
+
pushPortal(portal: Portal<unknown>): void;
|
|
246
|
+
/**
|
|
247
|
+
* Removes a portal from the list of portals.
|
|
248
|
+
*
|
|
249
|
+
* @param {Portal<unknown>} portal - The portal to be removed.
|
|
250
|
+
* @return {void}
|
|
251
|
+
*/
|
|
252
|
+
removePortal(portal: Portal<unknown>): void;
|
|
253
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderService, never>;
|
|
254
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HeaderService>;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
declare class HeaderComponent {
|
|
258
|
+
readonly color: i0.InputSignal<ThemePalette>;
|
|
259
|
+
protected readonly headerService: HeaderService;
|
|
260
|
+
readonly portals: i0.Signal<_angular_cdk_portal.Portal<unknown>[]>;
|
|
261
|
+
readonly hasPortals: i0.Signal<boolean>;
|
|
262
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
263
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "rxap-header", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
declare class HeaderDirective implements OnInit, OnDestroy {
|
|
267
|
+
private _portal?;
|
|
268
|
+
private readonly headerService;
|
|
269
|
+
private readonly template;
|
|
270
|
+
private readonly viewContainerRef;
|
|
271
|
+
ngOnInit(): void;
|
|
272
|
+
ngOnDestroy(): void;
|
|
273
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderDirective, never>;
|
|
274
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderDirective, "[rxapHeader]", never, {}, {}, never, never, true, never>;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
declare class FooterService {
|
|
278
|
+
private readonly components;
|
|
279
|
+
/**
|
|
280
|
+
* Represents an array of `Portal` objects with unknown type.
|
|
281
|
+
*/
|
|
282
|
+
readonly portals: i0.WritableSignal<Portal<unknown>[]>;
|
|
283
|
+
/**
|
|
284
|
+
* Computes the count of portals.
|
|
285
|
+
*
|
|
286
|
+
* @returns {number} The count of portals.
|
|
287
|
+
*/
|
|
288
|
+
readonly portalCount: i0.Signal<number>;
|
|
289
|
+
/**
|
|
290
|
+
* Adds a portal to the list of portals.
|
|
291
|
+
*
|
|
292
|
+
* @param {Portal<unknown>} portal - The portal to be added.
|
|
293
|
+
*
|
|
294
|
+
* @return {void}
|
|
295
|
+
*/
|
|
296
|
+
pushPortal(portal: Portal<unknown>): void;
|
|
297
|
+
/**
|
|
298
|
+
* Removes a portal from the list of portals.
|
|
299
|
+
*
|
|
300
|
+
* @param {Portal<unknown>} portal - The portal to be removed.
|
|
301
|
+
* @return {void}
|
|
302
|
+
*/
|
|
303
|
+
removePortal(portal: Portal<unknown>): void;
|
|
304
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterService, never>;
|
|
305
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FooterService>;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
declare class FooterComponent {
|
|
309
|
+
protected readonly footerService: FooterService;
|
|
310
|
+
readonly portals: i0.Signal<_angular_cdk_portal.Portal<unknown>[]>;
|
|
311
|
+
readonly hasPortals: i0.Signal<boolean>;
|
|
312
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
313
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "rxap-footer", never, {}, {}, never, never, true, never>;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
declare class FooterDirective implements OnInit, OnDestroy {
|
|
317
|
+
private _portal?;
|
|
318
|
+
private readonly footerService;
|
|
319
|
+
private readonly template;
|
|
320
|
+
private readonly viewContainerRef;
|
|
321
|
+
ngOnInit(): void;
|
|
322
|
+
ngOnDestroy(): void;
|
|
323
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterDirective, never>;
|
|
324
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FooterDirective, "[rxapFooter]", never, {}, {}, never, never, true, never>;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
type ExternalApp = AppsNavigationConfig;
|
|
328
|
+
type ExtractUsernameFromProfileFn<T = unknown> = (profile: T) => string | null;
|
|
329
|
+
interface ReleaseInfoModule {
|
|
330
|
+
name: string;
|
|
331
|
+
version: string;
|
|
332
|
+
hash?: string;
|
|
333
|
+
}
|
|
334
|
+
type SettingsMenuItemComponent = ComponentType<unknown>;
|
|
335
|
+
type DefaultHeaderItemComponent = ComponentType<unknown>;
|
|
336
|
+
interface SettingsMenuItem {
|
|
337
|
+
icon?: IconConfig;
|
|
338
|
+
label: string;
|
|
339
|
+
action: () => any;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
declare class UserProfileIconComponent {
|
|
343
|
+
protected readonly extractUsernameFromProfile: ExtractUsernameFromProfileFn;
|
|
344
|
+
protected readonly pubSubService: PubSubService;
|
|
345
|
+
readonly profile: i0.InputSignal<unknown>;
|
|
346
|
+
readonly username: i0.Signal<string | null>;
|
|
347
|
+
logout(): void;
|
|
348
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileIconComponent, never>;
|
|
349
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileIconComponent, "rxap-user-profile-icon", never, { "profile": { "alias": "profile"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
declare class SidenavToggleButtonComponent {
|
|
353
|
+
protected readonly layoutComponentService: LayoutService;
|
|
354
|
+
readonly opened: i0.Signal<boolean>;
|
|
355
|
+
toggle(): void;
|
|
356
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavToggleButtonComponent, never>;
|
|
357
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavToggleButtonComponent, "rxap-sidenav-toggle-button", never, {}, {}, never, never, true, never>;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
declare class SettingsButtonComponent {
|
|
361
|
+
isDevMode: boolean;
|
|
362
|
+
readonly theme: ThemeService;
|
|
363
|
+
protected readonly injector: Injector;
|
|
364
|
+
customItemComponents: Signal<ComponentPortal<unknown>[]>;
|
|
365
|
+
customItems: i0.WritableSignal<SettingsMenuItem[]>;
|
|
366
|
+
private savePreviewDensityValue;
|
|
367
|
+
private currentDensityValue;
|
|
368
|
+
private savePreviewTypographyValue;
|
|
369
|
+
private currentTypographyValue;
|
|
370
|
+
readonly availableTypographies: string[] | null;
|
|
371
|
+
private savePreviewThemeValue;
|
|
372
|
+
readonly availableThemes: string[] | null;
|
|
373
|
+
private currentThemeValue;
|
|
374
|
+
previewDensity(density: ThemeDensity): void;
|
|
375
|
+
restoreDensity(): void;
|
|
376
|
+
setDensity(density: ThemeDensity): void;
|
|
377
|
+
previewTypography(typography: string): void;
|
|
378
|
+
restoreTypography(): void;
|
|
379
|
+
setTypography(typography: string): void;
|
|
380
|
+
previewTheme(theme: string): void;
|
|
381
|
+
restoreTheme(): void;
|
|
382
|
+
setTheme(theme: string): void;
|
|
383
|
+
clickItem(item: SettingsMenuItem): void;
|
|
384
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsButtonComponent, never>;
|
|
385
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsButtonComponent, "rxap-settings-button", never, {}, {}, never, never, true, never>;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
declare class ExternalAppsService {
|
|
389
|
+
protected readonly appFilterList: dist_packages_pattern_src.MethodWithParameters<_rxap_config.AppsNavigationConfig[], _rxap_config.AppsNavigationConfig[]>[];
|
|
390
|
+
protected readonly config: ConfigService<any>;
|
|
391
|
+
protected readonly localeId: string;
|
|
392
|
+
protected readonly environment: _rxap_environment.Environment;
|
|
393
|
+
protected readonly apps: Array<ExternalApp>;
|
|
394
|
+
protected readonly externalApps: _rxap_config.AppsNavigationConfig[];
|
|
395
|
+
/**
|
|
396
|
+
* The list of active apps that is processed by the getAppList method
|
|
397
|
+
*/
|
|
398
|
+
readonly activeAppList: i0.WritableSignal<_rxap_config.AppsNavigationConfig[]>;
|
|
399
|
+
hasApp(appId: string): boolean;
|
|
400
|
+
getApp(appId: string): ExternalApp | null;
|
|
401
|
+
getAppUrl(appId: string, path: string, infix?: string | null): string | null;
|
|
402
|
+
getAppRouterLink(appId: string, path: string): string[] | null;
|
|
403
|
+
getAppUrlOrThrow(appId: string, path: string): string;
|
|
404
|
+
getAppRouterLinkOrThrow(appId: string, path: string): string[];
|
|
405
|
+
navigate(appId: string, path: string): void;
|
|
406
|
+
getAppList(): Promise<Array<ExternalApp>>;
|
|
407
|
+
protected getPathPrefix(): string;
|
|
408
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalAppsService, never>;
|
|
409
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExternalAppsService>;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
declare class AppsButtonComponent implements OnInit {
|
|
413
|
+
/**
|
|
414
|
+
* The signal that indicates if the app list is open
|
|
415
|
+
*/
|
|
416
|
+
readonly isOpen: i0.WritableSignal<boolean>;
|
|
417
|
+
protected readonly externalAppsService: ExternalAppsService;
|
|
418
|
+
readonly appList: i0.Signal<dist_packages_angular_config_types_rxap_config.AppsNavigationConfig[]>;
|
|
419
|
+
readonly hasApps: i0.Signal<boolean>;
|
|
420
|
+
toggle(): void;
|
|
421
|
+
ngOnInit(): void;
|
|
422
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppsButtonComponent, never>;
|
|
423
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppsButtonComponent, "rxap-apps-button", never, {}, {}, never, never, true, never>;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
declare class DefaultHeaderService {
|
|
427
|
+
private readonly components;
|
|
428
|
+
private readonly injectedPortals;
|
|
429
|
+
private readonly methodPortals;
|
|
430
|
+
/**
|
|
431
|
+
* Represents an array of `Portal` objects with unknown type.
|
|
432
|
+
*
|
|
433
|
+
* @typedef {Array<Portal<unknown>>} SignalPortals
|
|
434
|
+
*/
|
|
435
|
+
readonly portals: i0.Signal<Portal<unknown>[]>;
|
|
436
|
+
/**
|
|
437
|
+
* Computes the count of portals.
|
|
438
|
+
*
|
|
439
|
+
* @returns {number} The count of portals.
|
|
440
|
+
*/
|
|
441
|
+
readonly portalCount: i0.Signal<number>;
|
|
442
|
+
/**
|
|
443
|
+
* Adds a portal to the list of portals.
|
|
444
|
+
*
|
|
445
|
+
* @param {Portal<unknown>} portal - The portal to be added.
|
|
446
|
+
*
|
|
447
|
+
* @return {void}
|
|
448
|
+
*/
|
|
449
|
+
pushPortal(portal: Portal<unknown>): void;
|
|
450
|
+
/**
|
|
451
|
+
* Removes a portal from the list of portals.
|
|
452
|
+
*
|
|
453
|
+
* @param {Portal<unknown>} portal - The portal to be removed.
|
|
454
|
+
* @return {void}
|
|
455
|
+
*/
|
|
456
|
+
removePortal(portal: Portal<unknown>): void;
|
|
457
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultHeaderService, never>;
|
|
458
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultHeaderService>;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
declare class DefaultHeaderComponent {
|
|
462
|
+
protected readonly layoutComponentService: LayoutService;
|
|
463
|
+
readonly collapsed: i0.Signal<boolean>;
|
|
464
|
+
readonly isMobile: i0.Signal<boolean>;
|
|
465
|
+
readonly opened: i0.Signal<boolean>;
|
|
466
|
+
readonly profile: i0.Signal<unknown>;
|
|
467
|
+
protected readonly defaultHeaderService: DefaultHeaderService;
|
|
468
|
+
readonly portals: i0.Signal<_angular_cdk_portal.Portal<unknown>[]>;
|
|
469
|
+
readonly hasPortals: i0.Signal<boolean>;
|
|
470
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultHeaderComponent, never>;
|
|
471
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultHeaderComponent, "rxap-default-header", never, {}, {}, never, ["*"], true, never>;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
declare class BaseLayoutComponent {
|
|
475
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseLayoutComponent, never>;
|
|
476
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseLayoutComponent, "rxap-base-layout", never, {}, {}, never, ["*"], true, never>;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
declare function provideLayout(...additionalProviders: Provider[]): Provider[];
|
|
480
|
+
declare function provideExternalApps(...apps: ExternalApp[]): Provider[];
|
|
481
|
+
declare function withNavigationConfig(config: NavigationWithInserts | (() => NavigationWithInserts)): Provider[];
|
|
482
|
+
declare function withNavigationInserts(inserts: Record<string, NavigationWithInserts>): Provider[];
|
|
483
|
+
declare function withSettingsMenuItems(...items: Array<SettingsMenuItemComponent | (() => Promise<SettingsMenuItemComponent> | SettingsMenuItemComponent) | SettingsMenuItem>): Provider[];
|
|
484
|
+
declare function withDefaultHeaderItems(...items: Array<DefaultHeaderItemComponent | (() => Promise<DefaultHeaderItemComponent> | DefaultHeaderItemComponent)>): Provider[];
|
|
485
|
+
declare function withReleaseInfoModules(...module: ReleaseInfoModule[]): Provider[];
|
|
486
|
+
declare function withHeaderComponents(components: Array<ComponentType<unknown>>): Provider[];
|
|
487
|
+
declare function withFooterComponents(components: Array<ComponentType<unknown>>): Provider[];
|
|
488
|
+
declare function withDefaultHeaderComponent(): Provider;
|
|
489
|
+
declare function withUserProfileDataSource(dataSource: Constructor<DataSource>, useClass?: boolean): Provider;
|
|
490
|
+
|
|
491
|
+
declare const RXAP_NAVIGATION_CONFIG: InjectionToken<NavigationWithInserts | (() => NavigationWithInserts)>;
|
|
492
|
+
declare const RXAP_NAVIGATION_CONFIG_INSERTS: InjectionToken<Record<string, NavigationWithInserts>>;
|
|
493
|
+
declare const RXAP_FOOTER_COMPONENT: InjectionToken<ComponentType<unknown>>;
|
|
494
|
+
declare const RXAP_HEADER_COMPONENT: InjectionToken<ComponentType<unknown>>;
|
|
495
|
+
declare const RXAP_LOGO_CONFIG: InjectionToken<LogoConfig>;
|
|
496
|
+
declare const RXAP_LAYOUT_APPS_GRID: InjectionToken<unknown>;
|
|
497
|
+
declare const RXAP_EXTERNAL_APP_FILTER: InjectionToken<MethodWithParameters<_rxap_config.AppsNavigationConfig[], _rxap_config.AppsNavigationConfig[]>>;
|
|
498
|
+
declare const EXTRACT_USERNAME_FROM_PROFILE: InjectionToken<ExtractUsernameFromProfileFn>;
|
|
499
|
+
declare const RXAP_USER_PROFILE_DATA_SOURCE: InjectionToken<DataSource<unknown, _rxap_pattern.DataSourceViewer>>;
|
|
500
|
+
declare const RXAP_EXTERNAL_APP: InjectionToken<_rxap_config.AppsNavigationConfig>;
|
|
501
|
+
declare const RXAP_RELEASE_INFO_MODULE: InjectionToken<ReleaseInfoModule>;
|
|
502
|
+
declare const RXAP_SETTINGS_MENU_ITEM_COMPONENT: InjectionToken<(SettingsMenuItemComponent | (() => Promise<SettingsMenuItemComponent>))[]>;
|
|
503
|
+
declare const RXAP_DEFAULT_HEADER_ITEM_COMPONENT: InjectionToken<(DefaultHeaderItemComponent | (() => Promise<DefaultHeaderItemComponent>))[]>;
|
|
504
|
+
declare const RXAP_SETTINGS_MENU_ITEM: InjectionToken<SettingsMenuItem>;
|
|
505
|
+
declare const RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS: InjectionToken<Omit<NavigationConfig, "apps">>;
|
|
506
|
+
declare const RXAP_LOGO_CONFIG_DEFAULTS: InjectionToken<LogoConfig>;
|
|
507
|
+
|
|
508
|
+
export { AppsButtonComponent, BaseLayoutComponent, DefaultHeaderComponent, DefaultHeaderService, EXTRACT_USERNAME_FROM_PROFILE, ExternalAppsService, FooterComponent, FooterDirective, FooterService, HeaderComponent, HeaderDirective, HeaderService, IsNavigationDividerItem, IsNavigationInsertItem, IsNavigationItem, LayoutComponent, LayoutService, LogoService, MinimalLayoutComponent, NavigationComponent, NavigationItemComponent, NavigationProgressBarComponent, NavigationService, RXAP_DEFAULT_HEADER_ITEM_COMPONENT, RXAP_EXTERNAL_APP, RXAP_EXTERNAL_APP_FILTER, RXAP_FOOTER_COMPONENT, RXAP_HEADER_COMPONENT, RXAP_LAYOUT_APPS_GRID, RXAP_LOGO_CONFIG, RXAP_LOGO_CONFIG_DEFAULTS, RXAP_NAVIGATION_CONFIG, RXAP_NAVIGATION_CONFIG_INSERTS, RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS, RXAP_RELEASE_INFO_MODULE, RXAP_SETTINGS_MENU_ITEM, RXAP_SETTINGS_MENU_ITEM_COMPONENT, RXAP_USER_PROFILE_DATA_SOURCE, ReleaseInfoComponent, SettingsButtonComponent, SidenavComponent, SidenavFooterDirective, SidenavHeaderDirective, SidenavToggleButtonComponent, UserProfileIconComponent, provideExternalApps, provideLayout, withDefaultHeaderComponent, withDefaultHeaderItems, withFooterComponents, withHeaderComponents, withNavigationConfig, withNavigationInserts, withReleaseInfoModules, withSettingsMenuItems, withUserProfileDataSource };
|
|
509
|
+
export type { DefaultHeaderItemComponent, ExternalApp, ExtractUsernameFromProfileFn, Navigation, NavigationDividerItem, NavigationInsertItem, NavigationItem, NavigationStatus, NavigationWithInserts, ReleaseInfoModule, SettingsMenuItem, SettingsMenuItemComponent };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BaseLayoutComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseLayoutComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseLayoutComponent, "rxap-base-layout", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ExternalAppsService } from '../../external-apps.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AppsButtonComponent implements OnInit {
|
|
5
|
-
/**
|
|
6
|
-
* The signal that indicates if the app list is open
|
|
7
|
-
*/
|
|
8
|
-
readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
9
|
-
protected readonly externalAppsService: ExternalAppsService;
|
|
10
|
-
readonly appList: import("@angular/core").Signal<import("@rxap/config").AppsNavigationConfig[]>;
|
|
11
|
-
readonly hasApps: import("@angular/core").Signal<boolean>;
|
|
12
|
-
toggle(): void;
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppsButtonComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppsButtonComponent, "rxap-apps-button", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { LayoutService } from '../layout.service';
|
|
2
|
-
import { DefaultHeaderService } from './default-header.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DefaultHeaderComponent {
|
|
5
|
-
protected readonly layoutComponentService: LayoutService;
|
|
6
|
-
readonly collapsed: import("@angular/core").Signal<boolean>;
|
|
7
|
-
readonly isMobile: import("@angular/core").Signal<boolean>;
|
|
8
|
-
readonly opened: import("@angular/core").Signal<boolean>;
|
|
9
|
-
readonly profile: import("@angular/core").Signal<unknown>;
|
|
10
|
-
protected readonly defaultHeaderService: DefaultHeaderService;
|
|
11
|
-
readonly portals: import("@angular/core").Signal<import("@angular/cdk/portal-directives.d-BoG39gYN").P<unknown>[]>;
|
|
12
|
-
readonly hasPortals: import("@angular/core").Signal<boolean>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultHeaderComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultHeaderComponent, "rxap-default-header", never, {}, {}, never, ["*"], true, never>;
|
|
15
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Portal } from '@angular/cdk/portal';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DefaultHeaderService {
|
|
4
|
-
private readonly components;
|
|
5
|
-
private readonly injectedPortals;
|
|
6
|
-
private readonly methodPortals;
|
|
7
|
-
/**
|
|
8
|
-
* Represents an array of `Portal` objects with unknown type.
|
|
9
|
-
*
|
|
10
|
-
* @typedef {Array<Portal<unknown>>} SignalPortals
|
|
11
|
-
*/
|
|
12
|
-
readonly portals: import("@angular/core").Signal<Portal<unknown>[]>;
|
|
13
|
-
/**
|
|
14
|
-
* Computes the count of portals.
|
|
15
|
-
*
|
|
16
|
-
* @returns {number} The count of portals.
|
|
17
|
-
*/
|
|
18
|
-
readonly portalCount: import("@angular/core").Signal<number>;
|
|
19
|
-
/**
|
|
20
|
-
* Adds a portal to the list of portals.
|
|
21
|
-
*
|
|
22
|
-
* @param {Portal<unknown>} portal - The portal to be added.
|
|
23
|
-
*
|
|
24
|
-
* @return {void}
|
|
25
|
-
*/
|
|
26
|
-
pushPortal(portal: Portal<unknown>): void;
|
|
27
|
-
/**
|
|
28
|
-
* Removes a portal from the list of portals.
|
|
29
|
-
*
|
|
30
|
-
* @param {Portal<unknown>} portal - The portal to be removed.
|
|
31
|
-
* @return {void}
|
|
32
|
-
*/
|
|
33
|
-
removePortal(portal: Portal<unknown>): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultHeaderService, never>;
|
|
35
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultHeaderService>;
|
|
36
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ComponentPortal } from '@angular/cdk/portal';
|
|
2
|
-
import { Injector, Signal } from '@angular/core';
|
|
3
|
-
import { ThemeService } from '@rxap/ngx-theme';
|
|
4
|
-
import { ThemeDensity } from '@rxap/utilities';
|
|
5
|
-
import { SettingsMenuItem } from '../../types';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SettingsButtonComponent {
|
|
8
|
-
isDevMode: boolean;
|
|
9
|
-
readonly theme: ThemeService;
|
|
10
|
-
protected readonly injector: Injector;
|
|
11
|
-
customItemComponents: Signal<ComponentPortal<unknown>[]>;
|
|
12
|
-
customItems: import("@angular/core").WritableSignal<SettingsMenuItem[]>;
|
|
13
|
-
private savePreviewDensityValue;
|
|
14
|
-
private currentDensityValue;
|
|
15
|
-
private savePreviewTypographyValue;
|
|
16
|
-
private currentTypographyValue;
|
|
17
|
-
readonly availableTypographies: string[] | null;
|
|
18
|
-
private savePreviewThemeValue;
|
|
19
|
-
readonly availableThemes: string[] | null;
|
|
20
|
-
private currentThemeValue;
|
|
21
|
-
previewDensity(density: ThemeDensity): void;
|
|
22
|
-
restoreDensity(): void;
|
|
23
|
-
setDensity(density: ThemeDensity): void;
|
|
24
|
-
previewTypography(typography: string): void;
|
|
25
|
-
restoreTypography(): void;
|
|
26
|
-
setTypography(typography: string): void;
|
|
27
|
-
previewTheme(theme: string): void;
|
|
28
|
-
restoreTheme(): void;
|
|
29
|
-
setTheme(theme: string): void;
|
|
30
|
-
clickItem(item: SettingsMenuItem): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsButtonComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsButtonComponent, "rxap-settings-button", never, {}, {}, never, never, true, never>;
|
|
33
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { LayoutService } from '../../layout.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SidenavToggleButtonComponent {
|
|
4
|
-
protected readonly layoutComponentService: LayoutService;
|
|
5
|
-
readonly opened: import("@angular/core").Signal<boolean>;
|
|
6
|
-
toggle(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavToggleButtonComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavToggleButtonComponent, "rxap-sidenav-toggle-button", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PubSubService } from '@rxap/ngx-pub-sub';
|
|
2
|
-
import { ExtractUsernameFromProfileFn } from '../../types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class UserProfileIconComponent {
|
|
5
|
-
protected readonly extractUsernameFromProfile: ExtractUsernameFromProfileFn;
|
|
6
|
-
protected readonly pubSubService: PubSubService;
|
|
7
|
-
readonly profile: import("@angular/core").InputSignal<unknown>;
|
|
8
|
-
readonly username: import("@angular/core").Signal<string | null>;
|
|
9
|
-
logout(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileIconComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileIconComponent, "rxap-user-profile-icon", never, { "profile": { "alias": "profile"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
-
}
|