@rxap/layout 22.0.0-dev.0 → 22.0.0-dev.2
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 +54 -0
- package/README.md +5 -3
- package/compodoc/{directives/FooterDirective-1.html → architecture.html} +68 -139
- package/compodoc/changelog.html +98 -5
- package/compodoc/components/AppsButtonComponent.html +174 -40
- package/compodoc/components/BaseLayoutComponent.html +115 -23
- package/compodoc/components/DefaultHeaderComponent.html +205 -36
- package/compodoc/components/FooterComponent.html +142 -27
- package/compodoc/components/HeaderComponent.html +165 -61
- package/compodoc/components/LayoutComponent.html +194 -44
- package/compodoc/components/MinimalLayoutComponent.html +120 -26
- package/compodoc/components/NavigationComponent.html +220 -133
- package/compodoc/components/NavigationItemComponent.html +248 -115
- package/compodoc/components/NavigationProgressBarComponent.html +121 -25
- package/compodoc/components/ReleaseInfoComponent.html +149 -32
- package/compodoc/components/SettingsButtonComponent.html +220 -62
- package/compodoc/components/SidenavComponent.html +222 -56
- package/compodoc/components/SidenavToggleButtonComponent.html +117 -27
- package/compodoc/components/UserProfileIconComponent.html +155 -66
- package/compodoc/dependencies.html +152 -49
- package/compodoc/directives/FooterDirective.html +74 -20
- package/compodoc/directives/HeaderDirective.html +74 -20
- package/compodoc/directives/SidenavFooterDirective.html +91 -19
- package/compodoc/directives/SidenavHeaderDirective.html +72 -19
- package/compodoc/index.html +50 -8
- package/compodoc/injectables/DefaultHeaderService.html +91 -25
- package/compodoc/injectables/ExternalAppsService.html +123 -21
- package/compodoc/injectables/FooterService.html +91 -25
- package/compodoc/injectables/HeaderService.html +91 -25
- package/compodoc/injectables/LayoutService.html +91 -21
- package/compodoc/injectables/LogoService.html +103 -17
- package/compodoc/injectables/NavigationService.html +84 -24
- package/compodoc/interfaces/NavigationDividerItem.html +155 -100
- package/compodoc/interfaces/NavigationInsertItem.html +114 -64
- package/compodoc/interfaces/NavigationItem.html +305 -216
- package/compodoc/interfaces/NavigationStatus.html +80 -35
- package/compodoc/interfaces/ReleaseInfoModule.html +197 -137
- package/compodoc/interfaces/SettingsMenuItem.html +197 -137
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +26 -13
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +525 -0
- package/compodoc/miscellaneous/functions.html +171 -41
- package/compodoc/miscellaneous/typealiases.html +55 -12
- package/compodoc/miscellaneous/variables.html +163 -20
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +1700 -1219
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/AppsButtonComponent.html +110 -8
- package/docs/html/classes/BaseLayoutComponent.html +56 -2
- package/docs/html/classes/DefaultHeaderComponent.html +112 -10
- package/docs/html/classes/DefaultHeaderService.html +128 -13
- package/docs/html/classes/ExternalAppsService.html +240 -19
- package/docs/html/classes/FooterComponent.html +82 -5
- package/docs/html/classes/FooterDirective.html +95 -6
- package/docs/html/classes/FooterService.html +128 -13
- package/docs/html/classes/HeaderComponent.html +88 -6
- package/docs/html/classes/HeaderDirective.html +95 -6
- package/docs/html/classes/HeaderService.html +128 -13
- package/docs/html/classes/LayoutComponent.html +88 -6
- package/docs/html/classes/LayoutService.html +174 -16
- package/docs/html/classes/LogoService.html +88 -6
- package/docs/html/classes/MinimalLayoutComponent.html +56 -2
- package/docs/html/classes/NavigationComponent.html +156 -12
- package/docs/html/classes/NavigationItemComponent.html +172 -14
- package/docs/html/classes/NavigationProgressBarComponent.html +76 -4
- package/docs/html/classes/NavigationService.html +197 -12
- package/docs/html/classes/ReleaseInfoComponent.html +100 -6
- package/docs/html/classes/SettingsButtonComponent.html +242 -19
- package/docs/html/classes/SidenavComponent.html +190 -19
- package/docs/html/classes/SidenavFooterDirective.html +70 -3
- package/docs/html/classes/SidenavHeaderDirective.html +70 -3
- package/docs/html/classes/SidenavToggleButtonComponent.html +94 -5
- package/docs/html/classes/UserProfileIconComponent.html +106 -7
- package/docs/html/functions/IsNavigationDividerItem.html +42 -1
- package/docs/html/functions/IsNavigationInsertItem.html +42 -1
- package/docs/html/functions/IsNavigationItem.html +42 -1
- package/docs/html/functions/provideExternalApps.html +42 -1
- package/docs/html/functions/provideLayout.html +42 -1
- package/docs/html/functions/withDefaultHeaderComponent.html +38 -1
- package/docs/html/functions/withDefaultHeaderItems.html +42 -1
- package/docs/html/functions/withFooterComponents.html +42 -1
- package/docs/html/functions/withHeaderComponents.html +42 -1
- package/docs/html/functions/withNavigationConfig.html +42 -1
- package/docs/html/functions/withNavigationInserts.html +42 -1
- package/docs/html/functions/withReleaseInfoModules.html +42 -1
- package/docs/html/functions/withSettingsMenuItems.html +42 -1
- package/docs/html/functions/withUserProfileDataSource.html +43 -1
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +96 -21
- package/docs/html/interfaces/NavigationDividerItem.html +61 -3
- package/docs/html/interfaces/NavigationInsertItem.html +55 -2
- package/docs/html/interfaces/NavigationItem.html +94 -6
- package/docs/html/interfaces/NavigationStatus.html +63 -2
- package/docs/html/interfaces/ReleaseInfoModule.html +67 -4
- package/docs/html/interfaces/SettingsMenuItem.html +67 -4
- package/docs/html/modules.html +52 -1
- package/docs/html/types/DefaultHeaderItemComponent.html +33 -1
- package/docs/html/types/ExternalApp.html +33 -1
- package/docs/html/types/ExtractUsernameFromProfileFn.html +49 -1
- package/docs/html/types/Navigation.html +33 -1
- package/docs/html/types/NavigationWithInserts.html +33 -1
- package/docs/html/types/SettingsMenuItemComponent.html +33 -1
- package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +33 -1
- package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP.html +33 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +33 -1
- package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_HEADER_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +33 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG.html +33 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG_DEFAULTS.html +33 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +33 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +33 -1
- package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +33 -1
- package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +33 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +33 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +33 -1
- package/docs/markdown/README.md +6 -4
- package/docs/markdown/classes/AppsButtonComponent.md +11 -11
- package/docs/markdown/classes/BaseLayoutComponent.md +5 -5
- package/docs/markdown/classes/DefaultHeaderComponent.md +13 -13
- package/docs/markdown/classes/DefaultHeaderService.md +9 -9
- package/docs/markdown/classes/ExternalAppsService.md +29 -29
- package/docs/markdown/classes/FooterComponent.md +8 -8
- package/docs/markdown/classes/FooterDirective.md +7 -7
- package/docs/markdown/classes/FooterService.md +9 -9
- package/docs/markdown/classes/HeaderComponent.md +9 -9
- package/docs/markdown/classes/HeaderDirective.md +7 -7
- package/docs/markdown/classes/HeaderService.md +9 -9
- package/docs/markdown/classes/LayoutComponent.md +9 -9
- package/docs/markdown/classes/LayoutService.md +21 -21
- package/docs/markdown/classes/LogoService.md +9 -9
- package/docs/markdown/classes/MinimalLayoutComponent.md +5 -5
- package/docs/markdown/classes/NavigationComponent.md +19 -19
- package/docs/markdown/classes/NavigationItemComponent.md +21 -21
- package/docs/markdown/classes/NavigationProgressBarComponent.md +7 -7
- package/docs/markdown/classes/NavigationService.md +26 -26
- package/docs/markdown/classes/ReleaseInfoComponent.md +9 -9
- package/docs/markdown/classes/SettingsButtonComponent.md +24 -24
- package/docs/markdown/classes/SidenavComponent.md +24 -24
- package/docs/markdown/classes/SidenavFooterDirective.md +6 -6
- package/docs/markdown/classes/SidenavHeaderDirective.md +6 -6
- package/docs/markdown/classes/SidenavToggleButtonComponent.md +8 -8
- package/docs/markdown/classes/UserProfileIconComponent.md +11 -11
- 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 +3 -3
- package/docs/markdown/functions/withFooterComponents.md +2 -2
- package/docs/markdown/functions/withHeaderComponents.md +2 -2
- package/docs/markdown/functions/withNavigationConfig.md +3 -3
- package/docs/markdown/functions/withNavigationInserts.md +2 -2
- package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
- package/docs/markdown/functions/withSettingsMenuItems.md +3 -3
- package/docs/markdown/functions/withUserProfileDataSource.md +4 -4
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/NavigationDividerItem.md +5 -5
- package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
- package/docs/markdown/interfaces/NavigationItem.md +14 -12
- package/docs/markdown/interfaces/NavigationStatus.md +3 -3
- package/docs/markdown/interfaces/ReleaseInfoModule.md +6 -6
- package/docs/markdown/interfaces/SettingsMenuItem.md +7 -7
- package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +3 -3
- package/docs/markdown/type-aliases/ExternalApp.md +3 -3
- package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +7 -5
- package/docs/markdown/type-aliases/Navigation.md +3 -3
- package/docs/markdown/type-aliases/NavigationWithInserts.md +3 -3
- package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +3 -3
- package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +2 -2
- package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +3 -3
- 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 +3 -3
- 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 +3 -3
- package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
- package/docs/wiki/Class.AppsButtonComponent.md +10 -10
- package/docs/wiki/Class.BaseLayoutComponent.md +4 -4
- package/docs/wiki/Class.DefaultHeaderComponent.md +12 -12
- package/docs/wiki/Class.DefaultHeaderService.md +8 -8
- package/docs/wiki/Class.ExternalAppsService.md +28 -28
- package/docs/wiki/Class.FooterComponent.md +7 -7
- package/docs/wiki/Class.FooterDirective.md +6 -6
- package/docs/wiki/Class.FooterService.md +8 -8
- package/docs/wiki/Class.HeaderComponent.md +8 -8
- package/docs/wiki/Class.HeaderDirective.md +6 -6
- package/docs/wiki/Class.HeaderService.md +8 -8
- package/docs/wiki/Class.LayoutComponent.md +8 -8
- package/docs/wiki/Class.LayoutService.md +20 -20
- package/docs/wiki/Class.LogoService.md +8 -8
- package/docs/wiki/Class.MinimalLayoutComponent.md +4 -4
- package/docs/wiki/Class.NavigationComponent.md +18 -18
- package/docs/wiki/Class.NavigationItemComponent.md +20 -20
- package/docs/wiki/Class.NavigationProgressBarComponent.md +6 -6
- package/docs/wiki/Class.NavigationService.md +25 -25
- package/docs/wiki/Class.ReleaseInfoComponent.md +8 -8
- package/docs/wiki/Class.SettingsButtonComponent.md +23 -23
- package/docs/wiki/Class.SidenavComponent.md +23 -23
- package/docs/wiki/Class.SidenavFooterDirective.md +5 -5
- package/docs/wiki/Class.SidenavHeaderDirective.md +5 -5
- package/docs/wiki/Class.SidenavToggleButtonComponent.md +7 -7
- package/docs/wiki/Class.UserProfileIconComponent.md +10 -10
- 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 +2 -2
- package/docs/wiki/Function.withFooterComponents.md +1 -1
- package/docs/wiki/Function.withHeaderComponents.md +1 -1
- package/docs/wiki/Function.withNavigationConfig.md +2 -2
- package/docs/wiki/Function.withNavigationInserts.md +1 -1
- package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
- package/docs/wiki/Function.withSettingsMenuItems.md +2 -2
- package/docs/wiki/Function.withUserProfileDataSource.md +3 -3
- package/docs/wiki/Home.md +5 -3
- package/docs/wiki/Interface.NavigationDividerItem.md +4 -4
- package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
- package/docs/wiki/Interface.NavigationItem.md +13 -11
- package/docs/wiki/Interface.NavigationStatus.md +2 -2
- package/docs/wiki/Interface.ReleaseInfoModule.md +5 -5
- package/docs/wiki/Interface.SettingsMenuItem.md +6 -6
- package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +2 -2
- package/docs/wiki/TypeAlias.ExternalApp.md +2 -2
- package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +6 -4
- package/docs/wiki/TypeAlias.Navigation.md +2 -2
- package/docs/wiki/TypeAlias.NavigationWithInserts.md +2 -2
- package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +2 -2
- package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +1 -1
- package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +2 -2
- 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 +2 -2
- 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 +2 -2
- package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-layout.mjs +19 -17
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/package.json +38 -40
- package/src/generators/init/generator.js +120 -0
- package/src/generators/init/index.js +6 -0
- package/src/generators/package.json +3 -0
- package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/add-user-theme-provider-to-layout-providers.spec.ts +9 -0
- package/src/migrations/18.0.0/add-with-user-profile-provider/add-with-user-profile-provider.spec.ts +9 -0
- package/src/test-setup.ts +4 -17
- package/compodoc/components/LanguageSelectorComponent.html +0 -478
- package/compodoc/components/ResetButtonComponent.html +0 -486
- package/compodoc/components/SignOutComponent.html +0 -440
- package/compodoc/components/ToggleWindowSidenavButtonComponent.html +0 -549
- package/compodoc/components/VersionComponent.html +0 -524
- package/compodoc/components/WindowContainerSidenavComponent.html +0 -687
- package/compodoc/injectables/AppUrlService.html +0 -829
- package/compodoc/injectables/AuthenticationServiceMock.html +0 -303
- package/compodoc/injectables/LayoutComponentService.html +0 -848
- package/compodoc/injectables/ReplaceRouterPathsService.html +0 -337
- package/compodoc/injectables/SidenavComponentService.html +0 -408
- package/compodoc/interfaces/ExternalApps.html +0 -634
- package/compodoc/interfaces/LogoConfig.html +0 -381
- package/compodoc/js/libs/vis.min.js +0 -47
- package/compodoc/js/menu-wc_es5.js +0 -40
- package/compodoc/pipes/ReplaceRouterPathsPipe.html +0 -363
- package/src/generators/init/generator.spec.ts +0 -228
- package/src/generators/init/generator.ts +0 -139
- package/src/generators/init/index.ts +0 -5
- package/src/generators/init/schema.d.ts +0 -2
- package/theme.css +0 -425
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
# angular-layout
|
|
2
|
+
|
|
3
|
+
> This library provides a set of Angular components and services for creating consistent and configurable application layouts, including headers, footers, side navigation, and content areas. It offers features such as dynamic navigation, external application integration, and customizable themes. The library also includes directives for extending header and footer areas with custom content.
|
|
4
|
+
|
|
5
|
+
> Generated by compodoc 2.0.0 at 2026-11-26T16:49:00.220Z, llm-md export.
|
|
6
|
+
|
|
7
|
+
## Components
|
|
8
|
+
|
|
9
|
+
### AppsButtonComponent
|
|
10
|
+
|
|
11
|
+
File: `src/lib/default-header/apps-button/apps-button.component.ts`
|
|
12
|
+
Selector: `rxap-apps-button`
|
|
13
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
14
|
+
|
|
15
|
+
Properties:
|
|
16
|
+
- `appList: unknown = computed(() => this.externalAppsService.activeAppList())`
|
|
17
|
+
- `externalAppsService: unknown = inject(ExternalAppsService)`
|
|
18
|
+
- `hasApps: unknown = computed(() => this.appList().length > 0)`
|
|
19
|
+
- `isOpen: unknown = signal(false)` — The signal that indicates if the app list is open
|
|
20
|
+
|
|
21
|
+
Methods:
|
|
22
|
+
- `toggle(): void`
|
|
23
|
+
|
|
24
|
+
### BaseLayoutComponent
|
|
25
|
+
|
|
26
|
+
File: `src/lib/base-layout/base-layout.component.ts`
|
|
27
|
+
Selector: `rxap-base-layout`
|
|
28
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
29
|
+
|
|
30
|
+
### DefaultHeaderComponent
|
|
31
|
+
|
|
32
|
+
File: `src/lib/default-header/default-header.component.ts`
|
|
33
|
+
Selector: `rxap-default-header`
|
|
34
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
35
|
+
|
|
36
|
+
Properties:
|
|
37
|
+
- `collapsed: unknown = computed(() => this.layoutComponentService.collapsed())`
|
|
38
|
+
- `defaultHeaderService: unknown = inject(DefaultHeaderService)`
|
|
39
|
+
- `hasPortals: unknown = computed(() => this.portals().length > 0)`
|
|
40
|
+
- `isMobile: unknown = computed(() => this.layoutComponentService.isMobile())`
|
|
41
|
+
- `layoutComponentService: unknown = inject(LayoutService)`
|
|
42
|
+
- `opened: unknown = computed(() => this.layoutComponentService.opened())`
|
|
43
|
+
- `portals: unknown = computed(() => this.defaultHeaderService.portals())`
|
|
44
|
+
- `profile: unknown = toSignal(inject(RXAP_USER_PROFILE_DATA_SOURCE).connect('user-profile'), { initialValue: null })`
|
|
45
|
+
|
|
46
|
+
### FooterComponent
|
|
47
|
+
|
|
48
|
+
File: `src/lib/footer/footer.component.ts`
|
|
49
|
+
Selector: `rxap-footer`
|
|
50
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
51
|
+
|
|
52
|
+
Properties:
|
|
53
|
+
- `footerService: unknown = inject(FooterService)`
|
|
54
|
+
- `hasPortals: unknown = computed(() => this.portals().length > 0)`
|
|
55
|
+
- `portals: unknown = computed(() => this.footerService.portals())`
|
|
56
|
+
|
|
57
|
+
### HeaderComponent
|
|
58
|
+
|
|
59
|
+
File: `src/lib/header/header.component.ts`
|
|
60
|
+
Selector: `rxap-header`
|
|
61
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
62
|
+
|
|
63
|
+
Inputs:
|
|
64
|
+
- `color: ThemePalette`
|
|
65
|
+
|
|
66
|
+
Properties:
|
|
67
|
+
- `hasPortals: unknown = computed(() => this.portals().length > 0)`
|
|
68
|
+
- `headerService: unknown = inject(HeaderService)`
|
|
69
|
+
- `portals: unknown = computed(() => this.headerService.portals())`
|
|
70
|
+
|
|
71
|
+
### LayoutComponent
|
|
72
|
+
|
|
73
|
+
File: `src/lib/layout/layout.component.ts`
|
|
74
|
+
Selector: `rxap-layout`
|
|
75
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
76
|
+
|
|
77
|
+
Properties:
|
|
78
|
+
- `logoHeight: Signal<number> = computed(() => this.logoService.height())`
|
|
79
|
+
- `logoService: unknown = inject(LogoService)`
|
|
80
|
+
- `logoSrc: Signal<string> = computed(() => this.logoService.src())`
|
|
81
|
+
- `logoWidth: Signal<number> = computed(() => this.logoService.width())`
|
|
82
|
+
|
|
83
|
+
### MinimalLayoutComponent
|
|
84
|
+
|
|
85
|
+
File: `src/lib/minimal-layout/minimal-layout.component.ts`
|
|
86
|
+
Selector: `rxap-minimal-layout`
|
|
87
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
88
|
+
|
|
89
|
+
### NavigationComponent
|
|
90
|
+
|
|
91
|
+
File: `src/lib/navigation/navigation.component.ts`
|
|
92
|
+
Selector: `ul[rxap-navigation]`
|
|
93
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
94
|
+
|
|
95
|
+
Inputs:
|
|
96
|
+
- `items: Navigation`
|
|
97
|
+
- `level: number = 0`
|
|
98
|
+
- `root: boolean = false`
|
|
99
|
+
|
|
100
|
+
Properties:
|
|
101
|
+
- `collapsed: unknown = computed(() => this.layoutService.collapsed())`
|
|
102
|
+
- `layoutService: unknown = inject(LayoutService)`
|
|
103
|
+
- `navigationItems: unknown = computed(() => this.root() ? this.rootItems() : (this.items() ?? []))`
|
|
104
|
+
- `navigationService: unknown = inject(NavigationService)`
|
|
105
|
+
|
|
106
|
+
Methods:
|
|
107
|
+
- `asNavigationItem(item: NavigationItem | NavigationDividerItem): NavigationItem`
|
|
108
|
+
- `isNavigationDividerItem(item: NavigationItem | NavigationDividerItem): NavigationDividerItem`
|
|
109
|
+
- `isNavigationItem(item: NavigationItem | NavigationDividerItem): NavigationItem`
|
|
110
|
+
|
|
111
|
+
### NavigationItemComponent
|
|
112
|
+
|
|
113
|
+
File: `src/lib/navigation/navigation-item/navigation-item.component.ts`
|
|
114
|
+
Selector: `li[rxap-navigation-item]`
|
|
115
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
116
|
+
|
|
117
|
+
Inputs:
|
|
118
|
+
- `item: NavigationItem`
|
|
119
|
+
- `level: number = 0`
|
|
120
|
+
|
|
121
|
+
Properties:
|
|
122
|
+
- `active: unknown = computed(() => { const urlParts = this.currentUrl().split('/'); if (urlParts[0] === '') { urlParts[0] = '/'; } const routerLink = coerceArray(this.item().router…`
|
|
123
|
+
- `children: unknown = computed<Navigation | null>(() => { const item = this.item(); return item.children && item.children.length ? item.children : null; })`
|
|
124
|
+
- `collapsed: unknown = computed(() => this.layoutService.collapsed())`
|
|
125
|
+
- ``itemClasses: unknown = computed(() => { let classes = `level-${ this.level() * 4 }`; if (this.collapsed()) { classes += ' invisible'; } return classes; })``
|
|
126
|
+
- `layoutService: unknown = inject(LayoutService)`
|
|
127
|
+
- `router: unknown = inject(Router)`
|
|
128
|
+
|
|
129
|
+
Methods:
|
|
130
|
+
- `asNavigationItem(item: NavigationItem | NavigationDividerItem): NavigationItem`
|
|
131
|
+
- `isNavigationDividerItem(item: NavigationItem | NavigationDividerItem): NavigationDividerItem`
|
|
132
|
+
- `isNavigationItem(item: NavigationItem | NavigationDividerItem): NavigationItem`
|
|
133
|
+
- `onClick(): void`
|
|
134
|
+
|
|
135
|
+
### NavigationProgressBarComponent
|
|
136
|
+
|
|
137
|
+
File: `src/lib/navigation-progress-bar/navigation-progress-bar.component.ts`
|
|
138
|
+
Selector: `rxap-navigation-progress-bar`
|
|
139
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
140
|
+
|
|
141
|
+
Properties:
|
|
142
|
+
- `navigating: unknown = toSignal(this.router.events.pipe( filter( event => event instanceof NavigationStart || event instanceof NavigationEnd || event instanceof NavigationCancel, ), m…`
|
|
143
|
+
- `router: unknown = inject(Router)`
|
|
144
|
+
|
|
145
|
+
### ReleaseInfoComponent
|
|
146
|
+
|
|
147
|
+
File: `src/lib/release-info/release-info.component.ts`
|
|
148
|
+
Selector: `rxap-release-info`
|
|
149
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
150
|
+
|
|
151
|
+
Properties:
|
|
152
|
+
- `dialog: unknown = inject(MatDialog)`
|
|
153
|
+
- `modules: unknown = coerceArray(inject(RXAP_RELEASE_INFO_MODULE, { optional: true }))`
|
|
154
|
+
- `release: unknown = DetermineReleaseName(inject(RXAP_ENVIRONMENT))`
|
|
155
|
+
|
|
156
|
+
Methods:
|
|
157
|
+
- `openEnvironmentInfo(): void`
|
|
158
|
+
|
|
159
|
+
### SettingsButtonComponent
|
|
160
|
+
|
|
161
|
+
File: `src/lib/default-header/settings-button/settings-button.component.ts`
|
|
162
|
+
Selector: `rxap-settings-button`
|
|
163
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
164
|
+
|
|
165
|
+
Properties:
|
|
166
|
+
- `availableThemes: unknown = this.theme.getAvailableThemes()`
|
|
167
|
+
- `availableTypographies: unknown = this.theme.getAvailableTypographies()`
|
|
168
|
+
- `customItemComponents: Signal<ComponentPortal[]> = toSignal(from(Promise.all( coerceArray(inject(RXAP_SETTINGS_MENU_ITEM_COMPONENT, { optional: true })) .map(item => IsFunction(item) ? item() : item), )).pipe(ma…`
|
|
169
|
+
- `customItems: unknown = signal(coerceArray(inject(RXAP_SETTINGS_MENU_ITEM, { optional: true })))`
|
|
170
|
+
- `injector: unknown = inject(Injector)`
|
|
171
|
+
- `isDevMode: unknown = isDevMode()`
|
|
172
|
+
- `theme: unknown = inject(ThemeService)`
|
|
173
|
+
|
|
174
|
+
Methods:
|
|
175
|
+
- `clickItem(item: SettingsMenuItem): void`
|
|
176
|
+
- `previewDensity(density: ThemeDensity): void`
|
|
177
|
+
- `previewTheme(theme: string): void`
|
|
178
|
+
- `previewTypography(typography: string): void`
|
|
179
|
+
- `restoreDensity(): void`
|
|
180
|
+
- `restoreTheme(): void`
|
|
181
|
+
- `restoreTypography(): void`
|
|
182
|
+
- `setDensity(density: ThemeDensity): void`
|
|
183
|
+
- `setTheme(theme: string): void`
|
|
184
|
+
- `setTypography(typography: string): void`
|
|
185
|
+
|
|
186
|
+
### SidenavComponent
|
|
187
|
+
|
|
188
|
+
File: `src/lib/sidenav/sidenav.component.ts`
|
|
189
|
+
Selector: `rxap-sidenav`
|
|
190
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
191
|
+
|
|
192
|
+
Properties:
|
|
193
|
+
- `collapsable: Signal<boolean> = computed(() => this.layoutService.collapsable())`
|
|
194
|
+
- `collapsed: Signal<boolean> = computed(() => this.layoutService.collapsed())`
|
|
195
|
+
- `fixedBottomGap: Signal<number> = computed(() => this.layoutService.fixedBottomGap())`
|
|
196
|
+
- `fixedInViewport: Signal<boolean> = computed(() => this.layoutService.fixedInViewport())`
|
|
197
|
+
- `fixedTopGap: Signal<number> = computed(() => this.layoutService.fixedTopGap())`
|
|
198
|
+
- `layoutService: unknown = inject(LayoutService)`
|
|
199
|
+
- `opened: Signal<boolean> = computed(() => this.layoutService.opened())`
|
|
200
|
+
- `pinned: Signal<boolean> = computed(() => this.layoutService.pinned())`
|
|
201
|
+
- `sidenav: unknown = viewChild(MatSidenav)`
|
|
202
|
+
- `sidenavFooterDirective: unknown = contentChild(SidenavFooterDirective)`
|
|
203
|
+
- `sidenavHeaderDirective: unknown = contentChild(SidenavHeaderDirective)`
|
|
204
|
+
- `sidenavMode: Signal<MatDrawerMode> = computed(() => this.layoutService.mode())`
|
|
205
|
+
|
|
206
|
+
Methods:
|
|
207
|
+
- `closeSidenav(): any`
|
|
208
|
+
- `onOpenedChanged(opened: boolean): void` — To ensure the open state is in sync with the component. If the sidenav is closed, e.g. clicking outside the sidenav, it is required to manually update the state in the LayoutService.
|
|
209
|
+
- `openSidenav(): any`
|
|
210
|
+
- `togglePinned(): void`
|
|
211
|
+
|
|
212
|
+
### SidenavToggleButtonComponent
|
|
213
|
+
|
|
214
|
+
File: `src/lib/default-header/sidenav-toggle-button/sidenav-toggle-button.component.ts`
|
|
215
|
+
Selector: `rxap-sidenav-toggle-button`
|
|
216
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
217
|
+
|
|
218
|
+
Properties:
|
|
219
|
+
- `layoutComponentService: unknown = inject(LayoutService)`
|
|
220
|
+
- `opened: unknown = computed(() => this.layoutComponentService.opened())`
|
|
221
|
+
|
|
222
|
+
Methods:
|
|
223
|
+
- `toggle(): void`
|
|
224
|
+
|
|
225
|
+
### UserProfileIconComponent
|
|
226
|
+
|
|
227
|
+
File: `src/lib/default-header/user-profile-icon/user-profile-icon.component.ts`
|
|
228
|
+
Selector: `rxap-user-profile-icon`
|
|
229
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
230
|
+
|
|
231
|
+
Inputs:
|
|
232
|
+
- `profile`
|
|
233
|
+
|
|
234
|
+
Properties:
|
|
235
|
+
- `extractUsernameFromProfile: ExtractUsernameFromProfileFn = inject(EXTRACT_USERNAME_FROM_PROFILE)`
|
|
236
|
+
- `pubSubService: unknown = inject(PubSubService)`
|
|
237
|
+
- `username: unknown = computed(() => { const profile = this.profile(); if (profile) { return this.extractUsernameFromProfile(profile); } return null; })`
|
|
238
|
+
|
|
239
|
+
Methods:
|
|
240
|
+
- `logout(): void`
|
|
241
|
+
|
|
242
|
+
## Directives
|
|
243
|
+
|
|
244
|
+
### FooterDirective
|
|
245
|
+
|
|
246
|
+
File: `src/lib/footer/footer.directive.ts`
|
|
247
|
+
Selector: `[rxapFooter]`
|
|
248
|
+
Standalone: yes
|
|
249
|
+
|
|
250
|
+
### HeaderDirective
|
|
251
|
+
|
|
252
|
+
File: `src/lib/header/header.directive.ts`
|
|
253
|
+
Selector: `[rxapHeader]`
|
|
254
|
+
Standalone: yes
|
|
255
|
+
|
|
256
|
+
### SidenavFooterDirective
|
|
257
|
+
|
|
258
|
+
File: `src/lib/sidenav/sidenav-footer.directive.ts`
|
|
259
|
+
Selector: `[rxapSidenavFooter]`
|
|
260
|
+
Standalone: yes
|
|
261
|
+
|
|
262
|
+
Properties:
|
|
263
|
+
- `template: unknown = inject<TemplateRef<void>>(TemplateRef)`
|
|
264
|
+
|
|
265
|
+
### SidenavHeaderDirective
|
|
266
|
+
|
|
267
|
+
File: `src/lib/sidenav/sidenav-header.directive.ts`
|
|
268
|
+
Selector: `[rxapSidenavHeader]`
|
|
269
|
+
Standalone: yes
|
|
270
|
+
|
|
271
|
+
Properties:
|
|
272
|
+
- `template: unknown = inject<TemplateRef<void>>(TemplateRef)`
|
|
273
|
+
|
|
274
|
+
## Services / Injectables
|
|
275
|
+
|
|
276
|
+
### DefaultHeaderService
|
|
277
|
+
|
|
278
|
+
File: `src/lib/default-header/default-header.service.ts`
|
|
279
|
+
|
|
280
|
+
Properties:
|
|
281
|
+
- `portalCount: unknown = computed(() => this.portals().length)` — Computes the count of portals.
|
|
282
|
+
- `portals: unknown = computed(() => [ ...this.injectedPortals(), ...this.methodPortals() ])` — Represents an array of Portal objects with unknown type.
|
|
283
|
+
|
|
284
|
+
Methods:
|
|
285
|
+
- `pushPortal(portal: Portal<unknown>): void` — Adds a portal to the list of portals.
|
|
286
|
+
- `removePortal(portal: Portal<unknown>): void` — Removes a portal from the list of portals.
|
|
287
|
+
|
|
288
|
+
### ExternalAppsService
|
|
289
|
+
|
|
290
|
+
File: `src/lib/external-apps.service.ts`
|
|
291
|
+
|
|
292
|
+
Properties:
|
|
293
|
+
- `activeAppList: unknown = signal<Array<ExternalApp>>([])` — The list of active apps that is processed by the getAppList method
|
|
294
|
+
- `appFilterList: unknown = coerceArray(inject(RXAP_EXTERNAL_APP_FILTER, { optional: true }))`
|
|
295
|
+
- `apps: Array<ExternalApp> = this.config.get('navigation.apps', [])`
|
|
296
|
+
- `config: unknown = inject(ConfigService)`
|
|
297
|
+
- `environment: unknown = inject(RXAP_ENVIRONMENT)`
|
|
298
|
+
- `externalApps: unknown = coerceArray(inject(RXAP_EXTERNAL_APP, { optional: true }))`
|
|
299
|
+
- `localeId: unknown = inject(LOCALE_ID)`
|
|
300
|
+
|
|
301
|
+
Methods:
|
|
302
|
+
- `getApp(appId: string): ExternalApp | null`
|
|
303
|
+
- `getAppList(): Promise<Array<ExternalApp>>`
|
|
304
|
+
- `getAppRouterLink(appId: string, path: string): [] | null`
|
|
305
|
+
- `getAppRouterLinkOrThrow(appId: string, path: string): string[]`
|
|
306
|
+
- `getAppUrl(appId: string, path: string, infix: string | null = this.getPathPrefix()): string | null`
|
|
307
|
+
- `getAppUrlOrThrow(appId: string, path: string): string`
|
|
308
|
+
- `getPathPrefix(): string`
|
|
309
|
+
- `hasApp(appId: string): boolean`
|
|
310
|
+
- `navigate(appId: string, path: string): void`
|
|
311
|
+
|
|
312
|
+
### FooterService
|
|
313
|
+
|
|
314
|
+
File: `src/lib/footer.service.ts`
|
|
315
|
+
|
|
316
|
+
Properties:
|
|
317
|
+
- `portalCount: unknown = computed(() => this.portals().length)` — Computes the count of portals.
|
|
318
|
+
- `portals: unknown = signal<Array<Portal<unknown>>>(this.components.map(component => new ComponentPortal(component)))` — Represents an array of Portal objects with unknown type.
|
|
319
|
+
|
|
320
|
+
Methods:
|
|
321
|
+
- `pushPortal(portal: Portal<unknown>): void` — Adds a portal to the list of portals.
|
|
322
|
+
- `removePortal(portal: Portal<unknown>): void` — Removes a portal from the list of portals.
|
|
323
|
+
|
|
324
|
+
### HeaderService
|
|
325
|
+
|
|
326
|
+
File: `src/lib/header.service.ts`
|
|
327
|
+
|
|
328
|
+
Properties:
|
|
329
|
+
- `portalCount: unknown = computed(() => this.portals().length)` — Computes the count of portals.
|
|
330
|
+
- `portals: unknown = signal<Array<Portal<unknown>>>(this.components.map(component => new ComponentPortal(component)))` — Represents an array of Portal objects with unknown type.
|
|
331
|
+
|
|
332
|
+
Methods:
|
|
333
|
+
- `pushPortal(portal: Portal<unknown>): void` — Adds a portal to the list of portals.
|
|
334
|
+
- `removePortal(portal: Portal<unknown>): void` — Removes a portal from the list of portals.
|
|
335
|
+
|
|
336
|
+
### LayoutService
|
|
337
|
+
|
|
338
|
+
File: `src/lib/layout.service.ts`
|
|
339
|
+
|
|
340
|
+
Properties:
|
|
341
|
+
- `collapsable: WritableSignal<boolean>`
|
|
342
|
+
- `collapsed: Signal<boolean>`
|
|
343
|
+
- `currentThemeDensity: unknown = toSignal(ObserveCurrentThemeDensity())`
|
|
344
|
+
- `fixedBottomGap: Signal<number>`
|
|
345
|
+
- `fixedInViewport: WritableSignal<boolean>`
|
|
346
|
+
- `fixedTopGap: Signal<number>`
|
|
347
|
+
- `isMobile: Signal<boolean>`
|
|
348
|
+
- `mode: WritableSignal<MatDrawerMode>`
|
|
349
|
+
- `opened: WritableSignal<boolean>`
|
|
350
|
+
- `pinned: WritableSignal<boolean>`
|
|
351
|
+
|
|
352
|
+
Methods:
|
|
353
|
+
- `closeSidenav(): void`
|
|
354
|
+
- `openSidenav(): void`
|
|
355
|
+
- `toggleOpened(): void`
|
|
356
|
+
- `togglePinned(): void`
|
|
357
|
+
|
|
358
|
+
### LogoService
|
|
359
|
+
|
|
360
|
+
File: `src/lib/logo.service.ts`
|
|
361
|
+
providedIn: `root`
|
|
362
|
+
|
|
363
|
+
Properties:
|
|
364
|
+
- `height: unknown = computed(() => this.logo().height)`
|
|
365
|
+
- `logo: unknown = signal( inject(RXAP_LOGO_CONFIG, { optional: true }) ?? this.config.get('logo', inject(RXAP_LOGO_CONFIG_DEFAULTS, { optional: true }) ?? { src: 'logo.png', widt…`
|
|
366
|
+
- `src: unknown = computed(() => this.logo().src)`
|
|
367
|
+
- `width: unknown = computed(() => this.logo().width)`
|
|
368
|
+
|
|
369
|
+
### NavigationService
|
|
370
|
+
|
|
371
|
+
File: `src/lib/navigation.service.ts`
|
|
372
|
+
|
|
373
|
+
Properties:
|
|
374
|
+
- `config$: Observable<Navigation>`
|
|
375
|
+
|
|
376
|
+
Methods:
|
|
377
|
+
- `add(id: string, value: NavigationWithInserts, update: unknown = true): void`
|
|
378
|
+
- `get(id: string): NavigationWithInserts | undefined`
|
|
379
|
+
- `has(id: string): boolean`
|
|
380
|
+
- `insert(id: string, value: NavigationWithInserts, update: unknown = true): void` (deprecated: use add instead)
|
|
381
|
+
- `remove(id: string, update: unknown = true): void`
|
|
382
|
+
- `updateNavigation(): void`
|
|
383
|
+
|
|
384
|
+
## Interfaces
|
|
385
|
+
|
|
386
|
+
### NavigationDividerItem
|
|
387
|
+
|
|
388
|
+
File: `src/lib/navigation/navigation-item.ts`
|
|
389
|
+
|
|
390
|
+
Properties:
|
|
391
|
+
- `divider: boolean`
|
|
392
|
+
- `title?: string`
|
|
393
|
+
|
|
394
|
+
### NavigationInsertItem
|
|
395
|
+
|
|
396
|
+
File: `src/lib/navigation/navigation-item.ts`
|
|
397
|
+
|
|
398
|
+
Properties:
|
|
399
|
+
- `insert: string`
|
|
400
|
+
|
|
401
|
+
### NavigationItem
|
|
402
|
+
|
|
403
|
+
File: `src/lib/navigation/navigation-item.ts`
|
|
404
|
+
Extends: `Record<string, unknown>`
|
|
405
|
+
|
|
406
|
+
Properties:
|
|
407
|
+
- `children?: Children`
|
|
408
|
+
- `icon?: IconConfig`
|
|
409
|
+
- `label: string`
|
|
410
|
+
- `routerLink: string[] | string`
|
|
411
|
+
- `status?: Array<Type | InjectionToken | AbstractType>`
|
|
412
|
+
|
|
413
|
+
### NavigationStatus
|
|
414
|
+
|
|
415
|
+
File: `src/lib/navigation/navigation-item.ts`
|
|
416
|
+
|
|
417
|
+
Methods:
|
|
418
|
+
- `isVisible(navigationItem: NavigationItem): Observable | Promise | boolean`
|
|
419
|
+
|
|
420
|
+
### ReleaseInfoModule
|
|
421
|
+
|
|
422
|
+
File: `src/lib/types.ts`
|
|
423
|
+
|
|
424
|
+
Properties:
|
|
425
|
+
- `hash?: string`
|
|
426
|
+
- `name: string`
|
|
427
|
+
- `version: string`
|
|
428
|
+
|
|
429
|
+
### SettingsMenuItem
|
|
430
|
+
|
|
431
|
+
File: `src/lib/types.ts`
|
|
432
|
+
|
|
433
|
+
Properties:
|
|
434
|
+
- `action: function`
|
|
435
|
+
- `icon?: IconConfig`
|
|
436
|
+
- `label: string`
|
|
437
|
+
|
|
438
|
+
## Public functions
|
|
439
|
+
|
|
440
|
+
- `initGenerator(tree: Tree, options: InitGeneratorSchema)`
|
|
441
|
+
Defined in `src/generators/init/generator.ts`
|
|
442
|
+
- `IsNavigationDividerItem(item: any): NavigationDividerItem`
|
|
443
|
+
Defined in `src/lib/navigation/navigation-item.ts`
|
|
444
|
+
- `IsNavigationInsertItem(item: any): NavigationInsertItem`
|
|
445
|
+
Defined in `src/lib/navigation/navigation-item.ts`
|
|
446
|
+
- `IsNavigationItem(item: any): NavigationItem`
|
|
447
|
+
Defined in `src/lib/navigation/navigation-item.ts`
|
|
448
|
+
- `provideExternalApps(...apps): Provider[]`
|
|
449
|
+
Defined in `src/lib/provide.ts`
|
|
450
|
+
- `provideLayout(...additionalProviders): Provider[]`
|
|
451
|
+
Defined in `src/lib/provide.ts`
|
|
452
|
+
- `resolvePackageDir(root: string, packageName: string): string` — Resolves the directory of a package installed in the workspace. The lookup starts at the workspace root, not at this package: with an isolated node\_modules layout (pnpm) or Yarn PnP the peer is not resolvable from here. The plain node\_modules path is the fallback for packages whose exports map hides their package.json.
|
|
453
|
+
Defined in `src/generators/init/generator.ts`
|
|
454
|
+
- `update(tree: Tree)`
|
|
455
|
+
Defined in `src/migrations/18.0.0/add-seperate-external-apps-provider/add-seperate-external-apps-provider.ts`
|
|
456
|
+
- `update(host: Tree)`
|
|
457
|
+
Defined in `src/migrations/18.0.0/add-theme-provider-to-app-config/add-theme-provider-to-app-config.ts`
|
|
458
|
+
- `update(host: Tree)`
|
|
459
|
+
Defined in `src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/add-user-theme-provider-to-layout-providers.ts`
|
|
460
|
+
- `update(host: Tree)`
|
|
461
|
+
Defined in `src/migrations/18.0.0/add-with-user-profile-provider/add-with-user-profile-provider.ts`
|
|
462
|
+
- `withDefaultHeaderComponent(): Provider`
|
|
463
|
+
Defined in `src/lib/provide.ts`
|
|
464
|
+
- `withDefaultHeaderItems(...items: Array): Provider[]`
|
|
465
|
+
Defined in `src/lib/provide.ts`
|
|
466
|
+
- `withFooterComponents(components: Array): Provider[]`
|
|
467
|
+
Defined in `src/lib/provide.ts`
|
|
468
|
+
- `withHeaderComponents(components: Array): Provider[]`
|
|
469
|
+
Defined in `src/lib/provide.ts`
|
|
470
|
+
- `withNavigationConfig(config): Provider[]`
|
|
471
|
+
Defined in `src/lib/provide.ts`
|
|
472
|
+
- `withNavigationInserts(inserts: Record): Provider[]`
|
|
473
|
+
Defined in `src/lib/provide.ts`
|
|
474
|
+
- `withReleaseInfoModules(...module): Provider[]`
|
|
475
|
+
Defined in `src/lib/provide.ts`
|
|
476
|
+
- `withSettingsMenuItems(...items: Array): Provider[]`
|
|
477
|
+
Defined in `src/lib/provide.ts`
|
|
478
|
+
- `withUserProfileDataSource(dataSource: Constructor, useClass: unknown = false): Provider`
|
|
479
|
+
Defined in `src/lib/provide.ts`
|
|
480
|
+
|
|
481
|
+
## Public type aliases
|
|
482
|
+
|
|
483
|
+
- `type DefaultHeaderItemComponent = ComponentType<unknown>`
|
|
484
|
+
- `type ExternalApp = AppsNavigationConfig`
|
|
485
|
+
- `type ExtractUsernameFromProfileFn = function`
|
|
486
|
+
- `type Navigation = Array<NavigationItem | NavigationDividerItem>`
|
|
487
|
+
- `type NavigationWithInserts = Array<NavigationItem | NavigationDividerItem | NavigationInsertItem>`
|
|
488
|
+
- `type SettingsMenuItemComponent = ComponentType<unknown>`
|
|
489
|
+
|
|
490
|
+
## Public variables
|
|
491
|
+
|
|
492
|
+
- `EXTRACT_USERNAME_FROM_PROFILE: unknown = new InjectionToken<ExtractUsernameFromProfileFn>( 'extract-username-from-profile', { providedIn: 'root', factory: () => (profile: any) => ( profile ? profile.di…`
|
|
493
|
+
Defined in `src/lib/tokens.ts`
|
|
494
|
+
- `RXAP_DEFAULT_HEADER_ITEM_COMPONENT: unknown = new InjectionToken<Array<DefaultHeaderItemComponent | (() => Promise<DefaultHeaderItemComponent>)>>('rxap/layout/default-header-item-component')`
|
|
495
|
+
Defined in `src/lib/tokens.ts`
|
|
496
|
+
- `RXAP_EXTERNAL_APP: unknown = new InjectionToken<ExternalApp>('rxap/layout/external-app')`
|
|
497
|
+
Defined in `src/lib/tokens.ts`
|
|
498
|
+
- `RXAP_EXTERNAL_APP_FILTER: unknown = new InjectionToken<MethodWithParameters<ExternalApp[], ExternalApp[]>>('rxap/layout/app-config-filter')`
|
|
499
|
+
Defined in `src/lib/tokens.ts`
|
|
500
|
+
- `RXAP_FOOTER_COMPONENT: unknown = new InjectionToken<ComponentType<unknown>>('rxap/layout/footer-component')`
|
|
501
|
+
Defined in `src/lib/tokens.ts`
|
|
502
|
+
- `RXAP_HEADER_COMPONENT: unknown = new InjectionToken<ComponentType<unknown>>('rxap/layout/header-component')`
|
|
503
|
+
Defined in `src/lib/tokens.ts`
|
|
504
|
+
- `RXAP_LAYOUT_APPS_GRID: unknown = new InjectionToken('rxap/layout/apps-grid')`
|
|
505
|
+
Defined in `src/lib/tokens.ts`
|
|
506
|
+
- `RXAP_LOGO_CONFIG: unknown = new InjectionToken<LogoConfig>('rxap/layout/logo-config')`
|
|
507
|
+
Defined in `src/lib/tokens.ts`
|
|
508
|
+
- `RXAP_LOGO_CONFIG_DEFAULTS: unknown = new InjectionToken<LogoConfig>('rxap/layout/logo-config/defaults')`
|
|
509
|
+
Defined in `src/lib/tokens.ts`
|
|
510
|
+
- `RXAP_NAVIGATION_CONFIG: unknown = new InjectionToken<NavigationWithInserts | (() => NavigationWithInserts)>( 'rxap/layout/navigation-config')`
|
|
511
|
+
Defined in `src/lib/tokens.ts`
|
|
512
|
+
- `RXAP_NAVIGATION_CONFIG_INSERTS: unknown = new InjectionToken<Record<string, NavigationWithInserts>>( 'rxap/layout/navigation-config-inserts')`
|
|
513
|
+
Defined in `src/lib/tokens.ts`
|
|
514
|
+
- `RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS: unknown = new InjectionToken<Omit<NavigationConfig, 'apps'>>('rxap/layout/navigation-config/defaults')`
|
|
515
|
+
Defined in `src/lib/tokens.ts`
|
|
516
|
+
- `RXAP_RELEASE_INFO_MODULE: unknown = new InjectionToken<ReleaseInfoModule>('rxap/layout/release-info-module')`
|
|
517
|
+
Defined in `src/lib/tokens.ts`
|
|
518
|
+
- `RXAP_SETTINGS_MENU_ITEM: unknown = new InjectionToken<SettingsMenuItem>('rxap/layout/settings-menu-item')`
|
|
519
|
+
Defined in `src/lib/tokens.ts`
|
|
520
|
+
- `RXAP_SETTINGS_MENU_ITEM_COMPONENT: unknown = new InjectionToken<Array<SettingsMenuItemComponent | (() => Promise<SettingsMenuItemComponent>)>>('rxap/layout/settings-menu-item-component')`
|
|
521
|
+
Defined in `src/lib/tokens.ts`
|
|
522
|
+
- `RXAP_USER_PROFILE_DATA_SOURCE: unknown = new InjectionToken<DataSource>('rxap/layout/user-profile-data-source', { providedIn: 'root', factory: () => staticDataSource(null), })`
|
|
523
|
+
Defined in `src/lib/tokens.ts`
|
|
524
|
+
- `schematic: unknown = convertNxGenerator(generator)`
|
|
525
|
+
Defined in `src/generators/init/index.ts`
|