@rxap/layout 19.0.4-dev.5 → 19.1.0-dev.1
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 +12 -0
- package/compodoc/changelog.html +10 -0
- package/compodoc/components/AppsButtonComponent.html +33 -1
- package/compodoc/components/DefaultHeaderComponent.html +66 -2
- package/compodoc/components/FooterComponent.html +33 -1
- package/compodoc/components/HeaderComponent.html +33 -1
- package/compodoc/components/LayoutComponent.html +33 -1
- package/compodoc/components/NavigationComponent.html +100 -4
- package/compodoc/components/NavigationItemComponent.html +165 -5
- package/compodoc/components/ReleaseInfoComponent.html +33 -1
- package/compodoc/components/SettingsButtonComponent.html +33 -1
- package/compodoc/components/SidenavComponent.html +176 -46
- package/compodoc/components/SidenavToggleButtonComponent.html +33 -1
- package/compodoc/components/UserProfileIconComponent.html +72 -2
- package/compodoc/injectables/LayoutService.html +67 -27
- package/compodoc/injectables/LogoService.html +10 -7
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +6 -6
- package/compodoc/miscellaneous/variables.html +46 -0
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +2354 -1470
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AppsButtonComponent.html +5 -4
- package/docs/html/classes/BaseLayoutComponent.html +2 -2
- package/docs/html/classes/DefaultHeaderComponent.html +4 -2
- package/docs/html/classes/DefaultHeaderService.html +5 -5
- package/docs/html/classes/ExternalAppsService.html +2 -2
- package/docs/html/classes/FooterComponent.html +4 -3
- package/docs/html/classes/FooterDirective.html +3 -3
- package/docs/html/classes/FooterService.html +5 -5
- package/docs/html/classes/HeaderComponent.html +3 -2
- package/docs/html/classes/HeaderDirective.html +3 -3
- package/docs/html/classes/HeaderService.html +5 -5
- package/docs/html/classes/LayoutComponent.html +3 -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 +6 -3
- package/docs/html/classes/NavigationItemComponent.html +11 -6
- package/docs/html/classes/NavigationProgressBarComponent.html +2 -2
- package/docs/html/classes/NavigationService.html +3 -3
- package/docs/html/classes/ReleaseInfoComponent.html +4 -3
- package/docs/html/classes/SettingsButtonComponent.html +3 -2
- package/docs/html/classes/SidenavComponent.html +5 -2
- package/docs/html/classes/SidenavFooterDirective.html +2 -2
- package/docs/html/classes/SidenavHeaderDirective.html +2 -2
- package/docs/html/classes/SidenavToggleButtonComponent.html +4 -3
- package/docs/html/classes/UserProfileIconComponent.html +5 -3
- 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 -0
- 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 -0
- 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 +15 -7
- package/docs/markdown/classes/BaseLayoutComponent.md +2 -2
- package/docs/markdown/classes/DefaultHeaderComponent.md +23 -7
- package/docs/markdown/classes/DefaultHeaderService.md +6 -6
- package/docs/markdown/classes/ExternalAppsService.md +18 -18
- package/docs/markdown/classes/FooterComponent.md +12 -4
- package/docs/markdown/classes/FooterDirective.md +4 -4
- package/docs/markdown/classes/FooterService.md +6 -6
- package/docs/markdown/classes/HeaderComponent.md +13 -5
- package/docs/markdown/classes/HeaderDirective.md +4 -4
- package/docs/markdown/classes/HeaderService.md +6 -6
- package/docs/markdown/classes/LayoutComponent.md +13 -5
- package/docs/markdown/classes/LayoutService.md +24 -18
- package/docs/markdown/classes/LogoService.md +6 -6
- package/docs/markdown/classes/MinimalLayoutComponent.md +2 -2
- package/docs/markdown/classes/NavigationComponent.md +35 -11
- package/docs/markdown/classes/NavigationItemComponent.md +54 -14
- package/docs/markdown/classes/NavigationProgressBarComponent.md +4 -4
- package/docs/markdown/classes/NavigationService.md +12 -12
- package/docs/markdown/classes/ReleaseInfoComponent.md +13 -5
- package/docs/markdown/classes/SettingsButtonComponent.md +26 -18
- package/docs/markdown/classes/SidenavComponent.md +49 -15
- package/docs/markdown/classes/SidenavFooterDirective.md +4 -4
- package/docs/markdown/classes/SidenavHeaderDirective.md +4 -4
- package/docs/markdown/classes/SidenavToggleButtonComponent.md +12 -4
- package/docs/markdown/classes/UserProfileIconComponent.md +21 -5
- 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 +4 -2
- package/docs/markdown/interfaces/NavigationDividerItem.md +4 -4
- package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
- package/docs/markdown/interfaces/NavigationItem.md +7 -7
- 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 +11 -0
- 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 +11 -0
- 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 +14 -6
- package/docs/wiki/Class.BaseLayoutComponent.md +1 -1
- package/docs/wiki/Class.DefaultHeaderComponent.md +22 -6
- package/docs/wiki/Class.DefaultHeaderService.md +5 -5
- package/docs/wiki/Class.ExternalAppsService.md +17 -17
- package/docs/wiki/Class.FooterComponent.md +11 -3
- package/docs/wiki/Class.FooterDirective.md +3 -3
- package/docs/wiki/Class.FooterService.md +5 -5
- package/docs/wiki/Class.HeaderComponent.md +12 -4
- package/docs/wiki/Class.HeaderDirective.md +3 -3
- package/docs/wiki/Class.HeaderService.md +5 -5
- package/docs/wiki/Class.LayoutComponent.md +12 -4
- package/docs/wiki/Class.LayoutService.md +23 -17
- package/docs/wiki/Class.LogoService.md +5 -5
- package/docs/wiki/Class.MinimalLayoutComponent.md +1 -1
- package/docs/wiki/Class.NavigationComponent.md +34 -10
- package/docs/wiki/Class.NavigationItemComponent.md +53 -13
- package/docs/wiki/Class.NavigationProgressBarComponent.md +3 -3
- package/docs/wiki/Class.NavigationService.md +11 -11
- package/docs/wiki/Class.ReleaseInfoComponent.md +12 -4
- package/docs/wiki/Class.SettingsButtonComponent.md +25 -17
- package/docs/wiki/Class.SidenavComponent.md +48 -14
- package/docs/wiki/Class.SidenavFooterDirective.md +3 -3
- package/docs/wiki/Class.SidenavHeaderDirective.md +3 -3
- package/docs/wiki/Class.SidenavToggleButtonComponent.md +11 -3
- package/docs/wiki/Class.UserProfileIconComponent.md +20 -4
- 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 +6 -6
- 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 +7 -0
- 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 +7 -0
- 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/_Sidebar.md +2 -0
- package/docs/wiki/globals.md +3 -1
- package/fesm2022/rxap-layout.mjs +24 -16
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/lib/default-header/apps-button/apps-button.component.d.ts +2 -1
- package/lib/default-header/default-header.component.d.ts +4 -2
- package/lib/default-header/settings-button/settings-button.component.d.ts +2 -2
- package/lib/default-header/sidenav-toggle-button/sidenav-toggle-button.component.d.ts +2 -1
- package/lib/default-header/user-profile-icon/user-profile-icon.component.d.ts +4 -2
- package/lib/footer/footer.component.d.ts +2 -1
- package/lib/header/header.component.d.ts +2 -1
- package/lib/layout/layout.component.d.ts +2 -1
- package/lib/layout.service.d.ts +3 -2
- package/lib/navigation/navigation-item/navigation-item.component.d.ts +9 -6
- package/lib/navigation/navigation.component.d.ts +5 -3
- package/lib/release-info/release-info.component.d.ts +2 -1
- package/lib/sidenav/sidenav.component.d.ts +5 -3
- package/lib/tokens.d.ts +3 -1
- package/package.json +2 -2
- package/theme.css +425 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **withNavigationInserts**(`inserts`): `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [provide.ts:70](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [provide.ts:70](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/provide.ts#L70)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **withReleaseInfoModules**(...`module`): `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [provide.ts:104](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [provide.ts:104](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/provide.ts#L104)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **withSettingsMenuItems**(...`items`): `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [provide.ts:77](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [provide.ts:77](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/provide.ts#L77)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **withUserProfileDataSource**(`dataSource`, `useClass`): `Provider`
|
|
6
6
|
|
|
7
|
-
Defined in: [provide.ts:141](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [provide.ts:141](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/provide.ts#L141)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: NavigationDividerItem
|
|
4
4
|
|
|
5
|
-
Defined in: [navigation/navigation-item.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [navigation/navigation-item.ts:17](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L17)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [navigation/navigation-item.ts:17](https://gitlab.com/rxap/packages/
|
|
|
10
10
|
|
|
11
11
|
> **divider**: `boolean`
|
|
12
12
|
|
|
13
|
-
Defined in: [navigation/navigation-item.ts:18](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [navigation/navigation-item.ts:18](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L18)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,4 +18,4 @@ Defined in: [navigation/navigation-item.ts:18](https://gitlab.com/rxap/packages/
|
|
|
18
18
|
|
|
19
19
|
> `optional` **title**: `string`
|
|
20
20
|
|
|
21
|
-
Defined in: [navigation/navigation-item.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [navigation/navigation-item.ts:19](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L19)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: NavigationInsertItem
|
|
4
4
|
|
|
5
|
-
Defined in: [navigation/navigation-item.ts:28](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [navigation/navigation-item.ts:28](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L28)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,4 +10,4 @@ Defined in: [navigation/navigation-item.ts:28](https://gitlab.com/rxap/packages/
|
|
|
10
10
|
|
|
11
11
|
> **insert**: `string`
|
|
12
12
|
|
|
13
|
-
Defined in: [navigation/navigation-item.ts:29](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [navigation/navigation-item.ts:29](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L29)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: NavigationItem\<Children\>
|
|
4
4
|
|
|
5
|
-
Defined in: [navigation/navigation-item.ts:44](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [navigation/navigation-item.ts:44](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L44)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@ Defined in: [navigation/navigation-item.ts:44](https://gitlab.com/rxap/packages/
|
|
|
22
22
|
|
|
23
23
|
> `optional` **children**: `Children`
|
|
24
24
|
|
|
25
|
-
Defined in: [navigation/navigation-item.ts:47](https://gitlab.com/rxap/packages/-/blob/
|
|
25
|
+
Defined in: [navigation/navigation-item.ts:47](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L47)
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ Defined in: [navigation/navigation-item.ts:47](https://gitlab.com/rxap/packages/
|
|
|
30
30
|
|
|
31
31
|
> `optional` **icon**: `IconConfig`
|
|
32
32
|
|
|
33
|
-
Defined in: [navigation/navigation-item.ts:48](https://gitlab.com/rxap/packages/-/blob/
|
|
33
|
+
Defined in: [navigation/navigation-item.ts:48](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L48)
|
|
34
34
|
|
|
35
35
|
***
|
|
36
36
|
|
|
@@ -38,7 +38,7 @@ Defined in: [navigation/navigation-item.ts:48](https://gitlab.com/rxap/packages/
|
|
|
38
38
|
|
|
39
39
|
> **label**: `string`
|
|
40
40
|
|
|
41
|
-
Defined in: [navigation/navigation-item.ts:46](https://gitlab.com/rxap/packages/-/blob/
|
|
41
|
+
Defined in: [navigation/navigation-item.ts:46](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L46)
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
@@ -46,7 +46,7 @@ Defined in: [navigation/navigation-item.ts:46](https://gitlab.com/rxap/packages/
|
|
|
46
46
|
|
|
47
47
|
> **routerLink**: `string` \| `string`[]
|
|
48
48
|
|
|
49
|
-
Defined in: [navigation/navigation-item.ts:45](https://gitlab.com/rxap/packages/-/blob/
|
|
49
|
+
Defined in: [navigation/navigation-item.ts:45](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L45)
|
|
50
50
|
|
|
51
51
|
***
|
|
52
52
|
|
|
@@ -54,4 +54,4 @@ Defined in: [navigation/navigation-item.ts:45](https://gitlab.com/rxap/packages/
|
|
|
54
54
|
|
|
55
55
|
> `optional` **status**: (`Type`\<[`NavigationStatus`](../wiki/Interface.NavigationStatus)\> \| `InjectionToken`\<[`NavigationStatus`](../wiki/Interface.NavigationStatus)\> \| `AbstractType`\<[`NavigationStatus`](../wiki/Interface.NavigationStatus)\>)[]
|
|
56
56
|
|
|
57
|
-
Defined in: [navigation/navigation-item.ts:49](https://gitlab.com/rxap/packages/-/blob/
|
|
57
|
+
Defined in: [navigation/navigation-item.ts:49](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L49)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: NavigationStatus
|
|
4
4
|
|
|
5
|
-
Defined in: [navigation/navigation-item.ts:38](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [navigation/navigation-item.ts:38](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L38)
|
|
6
6
|
|
|
7
7
|
## Methods
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [navigation/navigation-item.ts:38](https://gitlab.com/rxap/packages/
|
|
|
10
10
|
|
|
11
11
|
> **isVisible**(`navigationItem`): `boolean` \| `Observable`\<`boolean`\> \| `Promise`\<`boolean`\>
|
|
12
12
|
|
|
13
|
-
Defined in: [navigation/navigation-item.ts:39](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [navigation/navigation-item.ts:39](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L39)
|
|
14
14
|
|
|
15
15
|
#### Parameters
|
|
16
16
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: ReleaseInfoModule
|
|
4
4
|
|
|
5
|
-
Defined in: [types.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [types.ts:9](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/types.ts#L9)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [types.ts:9](https://gitlab.com/rxap/packages/-/blob/15e9c42fe02a2be
|
|
|
10
10
|
|
|
11
11
|
> `optional` **hash**: `string`
|
|
12
12
|
|
|
13
|
-
Defined in: [types.ts:12](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [types.ts:12](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/types.ts#L12)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [types.ts:12](https://gitlab.com/rxap/packages/-/blob/15e9c42fe02a2b
|
|
|
18
18
|
|
|
19
19
|
> **name**: `string`
|
|
20
20
|
|
|
21
|
-
Defined in: [types.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [types.ts:10](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/types.ts#L10)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,4 +26,4 @@ Defined in: [types.ts:10](https://gitlab.com/rxap/packages/-/blob/15e9c42fe02a2b
|
|
|
26
26
|
|
|
27
27
|
> **version**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [types.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [types.ts:11](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/types.ts#L11)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: SettingsMenuItem
|
|
4
4
|
|
|
5
|
-
Defined in: [types.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [types.ts:19](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/types.ts#L19)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [types.ts:19](https://gitlab.com/rxap/packages/-/blob/15e9c42fe02a2b
|
|
|
10
10
|
|
|
11
11
|
> **action**: () => `any`
|
|
12
12
|
|
|
13
|
-
Defined in: [types.ts:22](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [types.ts:22](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/types.ts#L22)
|
|
14
14
|
|
|
15
15
|
#### Returns
|
|
16
16
|
|
|
@@ -22,7 +22,7 @@ Defined in: [types.ts:22](https://gitlab.com/rxap/packages/-/blob/15e9c42fe02a2b
|
|
|
22
22
|
|
|
23
23
|
> `optional` **icon**: `IconConfig`
|
|
24
24
|
|
|
25
|
-
Defined in: [types.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
25
|
+
Defined in: [types.ts:20](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/types.ts#L20)
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
@@ -30,4 +30,4 @@ Defined in: [types.ts:20](https://gitlab.com/rxap/packages/-/blob/15e9c42fe02a2b
|
|
|
30
30
|
|
|
31
31
|
> **label**: `string`
|
|
32
32
|
|
|
33
|
-
Defined in: [types.ts:21](https://gitlab.com/rxap/packages/-/blob/
|
|
33
|
+
Defined in: [types.ts:21](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/types.ts#L21)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> **DefaultHeaderItemComponent**: `ComponentType`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [types.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [types.ts:17](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/types.ts#L17)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> **ExternalApp**: `AppsNavigationConfig`
|
|
6
6
|
|
|
7
|
-
Defined in: [types.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [types.ts:7](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/types.ts#L7)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **ExtractUsernameFromProfileFn**\<`T`\>: (`profile`) => `string` \| `null`
|
|
6
6
|
|
|
7
|
-
Defined in: [types.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [types.ts:8](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/types.ts#L8)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> **Navigation**: ([`NavigationItem`](../wiki/Interface.NavigationItem) \| [`NavigationDividerItem`](../wiki/Interface.NavigationDividerItem))[]
|
|
6
6
|
|
|
7
|
-
Defined in: [navigation/navigation-item.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [navigation/navigation-item.ts:9](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L9)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> **NavigationWithInserts**: ([`NavigationItem`](../wiki/Interface.NavigationItem)\<[`NavigationWithInserts`](../wiki/TypeAlias.NavigationWithInserts)\> \| [`NavigationDividerItem`](../wiki/Interface.NavigationDividerItem) \| [`NavigationInsertItem`](../wiki/Interface.NavigationInsertItem))[]
|
|
6
6
|
|
|
7
|
-
Defined in: [navigation/navigation-item.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [navigation/navigation-item.ts:11](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/navigation/navigation-item.ts#L11)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> **SettingsMenuItemComponent**: `ComponentType`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [types.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [types.ts:15](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/types.ts#L15)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **EXTRACT\_USERNAME\_FROM\_PROFILE**: `InjectionToken`\<[`ExtractUsernameFromProfileFn`](../wiki/TypeAlias.ExtractUsernameFromProfileFn)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:33](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L33)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_DEFAULT\_HEADER\_ITEM\_COMPONENT**: `InjectionToken`\<([`DefaultHeaderItemComponent`](../wiki/TypeAlias.DefaultHeaderItemComponent) \| () => `Promise`\<[`DefaultHeaderItemComponent`](../wiki/TypeAlias.DefaultHeaderItemComponent)\>)[]\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:54](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L54)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_EXTERNAL\_APP**: `InjectionToken`\<`AppsNavigationConfig`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:48](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L48)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_EXTERNAL\_APP\_FILTER**: `InjectionToken`\<`MethodWithParameters`\<`AppsNavigationConfig`[], `AppsNavigationConfig`[]\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:32](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L32)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_FOOTER\_COMPONENT**: `InjectionToken`\<`ComponentType`\<`unknown`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:27](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L27)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_HEADER\_COMPONENT**: `InjectionToken`\<`ComponentType`\<`unknown`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:28](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L28)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_LAYOUT\_APPS\_GRID**: `InjectionToken`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:30](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L30)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_LOGO\_CONFIG**: `InjectionToken`\<`LogoConfig`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:29](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L29)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
[@rxap/layout](../wiki/globals) / RXAP\_LOGO\_CONFIG\_DEFAULTS
|
|
2
|
+
|
|
3
|
+
# Variable: RXAP\_LOGO\_CONFIG\_DEFAULTS
|
|
4
|
+
|
|
5
|
+
> `const` **RXAP\_LOGO\_CONFIG\_DEFAULTS**: `InjectionToken`\<`LogoConfig`\>
|
|
6
|
+
|
|
7
|
+
Defined in: [tokens.ts:60](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L60)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_NAVIGATION\_CONFIG**: `InjectionToken`\<[`NavigationWithInserts`](../wiki/TypeAlias.NavigationWithInserts) \| () => [`NavigationWithInserts`](../wiki/TypeAlias.NavigationWithInserts)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:22](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L22)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_NAVIGATION\_CONFIG\_INSERTS**: `InjectionToken`\<`Record`\<`string`, [`NavigationWithInserts`](../wiki/TypeAlias.NavigationWithInserts)\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:24](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L24)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
[@rxap/layout](../wiki/globals) / RXAP\_NAVIGATION\_LAYOUT\_CONFIG\_DEFAULTS
|
|
2
|
+
|
|
3
|
+
# Variable: RXAP\_NAVIGATION\_LAYOUT\_CONFIG\_DEFAULTS
|
|
4
|
+
|
|
5
|
+
> `const` **RXAP\_NAVIGATION\_LAYOUT\_CONFIG\_DEFAULTS**: `InjectionToken`\<`Omit`\<`NavigationConfig`, `"apps"`\>\>
|
|
6
|
+
|
|
7
|
+
Defined in: [tokens.ts:58](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L58)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_RELEASE\_INFO\_MODULE**: `InjectionToken`\<[`ReleaseInfoModule`](../wiki/Interface.ReleaseInfoModule)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:50](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L50)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_SETTINGS\_MENU\_ITEM**: `InjectionToken`\<[`SettingsMenuItem`](../wiki/Interface.SettingsMenuItem)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:56](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L56)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_SETTINGS\_MENU\_ITEM\_COMPONENT**: `InjectionToken`\<([`SettingsMenuItemComponent`](../wiki/TypeAlias.SettingsMenuItemComponent) \| () => `Promise`\<[`SettingsMenuItemComponent`](../wiki/TypeAlias.SettingsMenuItemComponent)\>)[]\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:52](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L52)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_USER\_PROFILE\_DATA\_SOURCE**: `InjectionToken`\<`DataSource`\<`unknown`, `DataSourceViewer`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:
|
|
7
|
+
Defined in: [tokens.ts:43](https://gitlab.com/rxap/packages/-/blob/1a1dfaee7f5f25091f01e97dac74f87a80699213/packages/angular/layout/src/lib/tokens.ts#L43)
|
package/docs/wiki/_Sidebar.md
CHANGED
|
@@ -57,8 +57,10 @@
|
|
|
57
57
|
- [RXAP_HEADER_COMPONENT](../wiki/Variable.RXAP_HEADER_COMPONENT)
|
|
58
58
|
- [RXAP_LAYOUT_APPS_GRID](../wiki/Variable.RXAP_LAYOUT_APPS_GRID)
|
|
59
59
|
- [RXAP_LOGO_CONFIG](../wiki/Variable.RXAP_LOGO_CONFIG)
|
|
60
|
+
- [RXAP_LOGO_CONFIG_DEFAULTS](../wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS)
|
|
60
61
|
- [RXAP_NAVIGATION_CONFIG](../wiki/Variable.RXAP_NAVIGATION_CONFIG)
|
|
61
62
|
- [RXAP_NAVIGATION_CONFIG_INSERTS](../wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS)
|
|
63
|
+
- [RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS](../wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS)
|
|
62
64
|
- [RXAP_RELEASE_INFO_MODULE](../wiki/Variable.RXAP_RELEASE_INFO_MODULE)
|
|
63
65
|
- [RXAP_SETTINGS_MENU_ITEM](../wiki/Variable.RXAP_SETTINGS_MENU_ITEM)
|
|
64
66
|
- [RXAP_SETTINGS_MENU_ITEM_COMPONENT](../wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT)
|
package/docs/wiki/globals.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @rxap/layout v19.0
|
|
1
|
+
# @rxap/layout v19.1.0-dev.1
|
|
2
2
|
|
|
3
3
|
## Classes
|
|
4
4
|
|
|
@@ -57,8 +57,10 @@
|
|
|
57
57
|
- [RXAP\_HEADER\_COMPONENT](../wiki/Variable.RXAP_HEADER_COMPONENT)
|
|
58
58
|
- [RXAP\_LAYOUT\_APPS\_GRID](../wiki/Variable.RXAP_LAYOUT_APPS_GRID)
|
|
59
59
|
- [RXAP\_LOGO\_CONFIG](../wiki/Variable.RXAP_LOGO_CONFIG)
|
|
60
|
+
- [RXAP\_LOGO\_CONFIG\_DEFAULTS](../wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS)
|
|
60
61
|
- [RXAP\_NAVIGATION\_CONFIG](../wiki/Variable.RXAP_NAVIGATION_CONFIG)
|
|
61
62
|
- [RXAP\_NAVIGATION\_CONFIG\_INSERTS](../wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS)
|
|
63
|
+
- [RXAP\_NAVIGATION\_LAYOUT\_CONFIG\_DEFAULTS](../wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS)
|
|
62
64
|
- [RXAP\_RELEASE\_INFO\_MODULE](../wiki/Variable.RXAP_RELEASE_INFO_MODULE)
|
|
63
65
|
- [RXAP\_SETTINGS\_MENU\_ITEM](../wiki/Variable.RXAP_SETTINGS_MENU_ITEM)
|
|
64
66
|
- [RXAP\_SETTINGS\_MENU\_ITEM\_COMPONENT](../wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT)
|
package/fesm2022/rxap-layout.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { TemplateRef, Directive, Inject, InjectionToken, inject, signal, computed, isDevMode, Injectable, effect,
|
|
2
|
+
import { TemplateRef, Directive, Inject, InjectionToken, inject, signal, computed, isDevMode, Injectable, effect, Optional, INJECTOR, input, ElementRef, Renderer2, Component, ChangeDetectionStrategy, ViewEncapsulation, forwardRef, runInInjectionContext, viewChild, contentChild, ViewContainerRef, Injector, LOCALE_ID } from '@angular/core';
|
|
3
3
|
import { NgIf, NgClass, NgFor, AsyncPipe, NgStyle, NgTemplateOutlet, NgOptimizedImage } from '@angular/common';
|
|
4
4
|
import { MatIconButton, MatButton, MatButtonModule, MatAnchor } from '@angular/material/button';
|
|
5
5
|
import * as i3 from '@angular/material/divider';
|
|
@@ -7,7 +7,6 @@ import { MatDividerModule, MatDivider } from '@angular/material/divider';
|
|
|
7
7
|
import * as i2 from '@angular/material/icon';
|
|
8
8
|
import { MatIconModule, MatIcon } from '@angular/material/icon';
|
|
9
9
|
import { MatSidenav, MatSidenavContainer, MatSidenavContent, MatSidenavModule } from '@angular/material/sidenav';
|
|
10
|
-
import { Router, NavigationEnd, RouterLinkActive, RouterLink, RouterOutlet, NavigationStart, NavigationCancel } from '@angular/router';
|
|
11
10
|
import { MediaMatcher } from '@angular/cdk/layout';
|
|
12
11
|
import { toSignal } from '@angular/core/rxjs-interop';
|
|
13
12
|
import { ConfigService } from '@rxap/config';
|
|
@@ -21,6 +20,7 @@ import { switchMap, catchError, map, filter, startWith, tap } from 'rxjs/operato
|
|
|
21
20
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
22
21
|
import * as i1 from '@angular/material/core';
|
|
23
22
|
import { MatRippleModule } from '@angular/material/core';
|
|
23
|
+
import { Router, NavigationEnd, RouterLinkActive, RouterLink, NavigationStart, NavigationCancel, RouterOutlet } from '@angular/router';
|
|
24
24
|
import { IconDirective } from '@rxap/material-directives/icon';
|
|
25
25
|
import { MatDialog } from '@angular/material/dialog';
|
|
26
26
|
import { DetermineReleaseName, RXAP_ENVIRONMENT, EnvironmentComponent } from '@rxap/environment';
|
|
@@ -88,6 +88,8 @@ const RXAP_RELEASE_INFO_MODULE = new InjectionToken('rxap/layout/release-info-mo
|
|
|
88
88
|
const RXAP_SETTINGS_MENU_ITEM_COMPONENT = new InjectionToken('rxap/layout/settings-menu-item-component');
|
|
89
89
|
const RXAP_DEFAULT_HEADER_ITEM_COMPONENT = new InjectionToken('rxap/layout/default-header-item-component');
|
|
90
90
|
const RXAP_SETTINGS_MENU_ITEM = new InjectionToken('rxap/layout/settings-menu-item');
|
|
91
|
+
const RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS = new InjectionToken('rxap/layout/navigation-config/defaults');
|
|
92
|
+
const RXAP_LOGO_CONFIG_DEFAULTS = new InjectionToken('rxap/layout/logo-config/defaults');
|
|
91
93
|
|
|
92
94
|
class FooterService {
|
|
93
95
|
constructor() {
|
|
@@ -198,7 +200,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
|
198
200
|
}] });
|
|
199
201
|
|
|
200
202
|
class LayoutService {
|
|
201
|
-
constructor() {
|
|
203
|
+
constructor(navigationConfigDefaults = {}) {
|
|
202
204
|
this.currentThemeDensity = toSignal(ObserveCurrentThemeDensity());
|
|
203
205
|
this.footerService = inject(FooterService);
|
|
204
206
|
this.headerService = inject(HeaderService);
|
|
@@ -210,12 +212,12 @@ class LayoutService {
|
|
|
210
212
|
subscriber.next(event.matches);
|
|
211
213
|
});
|
|
212
214
|
}), { initialValue: mobileQuery.matches });
|
|
213
|
-
const initialCollapsable = this.config.get('navigation.collapsable', true);
|
|
215
|
+
const initialCollapsable = this.config.get('navigation.collapsable', navigationConfigDefaults.collapsable ?? true);
|
|
214
216
|
const collapsable = initialCollapsable && !this.isMobile();
|
|
215
|
-
const pinned = this.config.get('navigation.pinned', false);
|
|
216
|
-
const mode = this.config.get('navigation.mode', pinned || !collapsable ? 'side' : 'over');
|
|
217
|
-
const opened = this.config.get('navigation.opened', (!collapsable || pinned) && !this.isMobile());
|
|
218
|
-
const fixedInViewport = this.config.get('navigation.fixedInViewport', true);
|
|
217
|
+
const pinned = this.config.get('navigation.pinned', navigationConfigDefaults.pinned ?? false);
|
|
218
|
+
const mode = this.config.get('navigation.mode', navigationConfigDefaults.mode ?? (pinned || !collapsable ? 'side' : 'over'));
|
|
219
|
+
const opened = this.config.get('navigation.opened', (navigationConfigDefaults.opened ?? (!collapsable || pinned)) && !this.isMobile());
|
|
220
|
+
const fixedInViewport = this.config.get('navigation.fixedInViewport', navigationConfigDefaults.fixedInViewport ?? true);
|
|
219
221
|
if (isDevMode()) {
|
|
220
222
|
console.log({
|
|
221
223
|
initialCollapsable,
|
|
@@ -274,12 +276,17 @@ class LayoutService {
|
|
|
274
276
|
closeSidenav() {
|
|
275
277
|
this.opened.set(false);
|
|
276
278
|
}
|
|
277
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: LayoutService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
279
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: LayoutService, deps: [{ token: RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
278
280
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: LayoutService }); }
|
|
279
281
|
}
|
|
280
282
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: LayoutService, decorators: [{
|
|
281
283
|
type: Injectable
|
|
282
|
-
}], ctorParameters: () => [
|
|
284
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
285
|
+
type: Inject,
|
|
286
|
+
args: [RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS]
|
|
287
|
+
}, {
|
|
288
|
+
type: Optional
|
|
289
|
+
}] }] });
|
|
283
290
|
|
|
284
291
|
function IsNavigationDividerItem(item) {
|
|
285
292
|
return !!item && !!item['divider'];
|
|
@@ -614,6 +621,9 @@ class SidenavComponent {
|
|
|
614
621
|
togglePinned() {
|
|
615
622
|
this.layoutService.togglePinned();
|
|
616
623
|
}
|
|
624
|
+
onOpenedChanged(opened) {
|
|
625
|
+
this.layoutService.opened.set(opened);
|
|
626
|
+
}
|
|
617
627
|
async openSidenav() {
|
|
618
628
|
await this.sidenav()?.open();
|
|
619
629
|
this.layoutService.openSidenav();
|
|
@@ -623,7 +633,7 @@ class SidenavComponent {
|
|
|
623
633
|
this.layoutService.closeSidenav();
|
|
624
634
|
}
|
|
625
635
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SidenavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
626
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.1", type: SidenavComponent, isStandalone: true, selector: "rxap-sidenav", queries: [{ propertyName: "sidenavFooterDirective", first: true, predicate: SidenavFooterDirective, descendants: true, isSignal: true }, { propertyName: "sidenavHeaderDirective", first: true, predicate: SidenavHeaderDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "sidenav", first: true, predicate: MatSidenav, descendants: true, isSignal: true }], ngImport: i0, template: "<mat-sidenav-container [ngStyle]=\"{\n 'padding-top.px': fixedTopGap(),\n 'padding-bottom.px': fixedBottomGap(),\n }\" class=\"h-full\">\n <mat-sidenav\n [fixedBottomGap]=\"fixedBottomGap()\"\n [fixedInViewport]=\"fixedInViewport()\"\n [fixedTopGap]=\"fixedTopGap()\"\n [mode]=\"sidenavMode()\"\n [ngClass]=\"{ collapsable: collapsable() }\"\n [opened]=\"opened()\"\n >\n <div (mouseleave)=\"collapsable() && !pinned() && closeSidenav()\"\n class=\"h-full py-2 flex flex-col items-center gap-y-5 justify-items-stretch\">\n\n <div (click)=\"togglePinned()\" *ngIf=\"collapsable()\"\n class=\"pl-2 self-stretch grow-0 flex flex-row justify-between items-center\">\n <span class=\"text-lg\" i18n>Navigation</span>\n <div class=\"flex flex-row items-center justify-center\" style=\"width: 64px\">\n <button mat-icon-button>\n <mat-icon *ngIf=\"!pinned()\">radio_button_unchecked</mat-icon>\n <mat-icon *ngIf=\"pinned()\">radio_button_checked</mat-icon>\n </button>\n </div>\n </div>\n\n @if (sidenavHeaderDirective()?.template; as template) {\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"header grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n }\n\n <ul\n (mouseenter)=\"collapsable() && !pinned() && openSidenav()\"\n class=\"grow self-stretch\"\n [root]=\"true\"\n rxap-navigation\n >\n </ul>\n\n @if (sidenavFooterDirective()?.template; as template) {\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"footer grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n }\n </div>\n </mat-sidenav>\n <mat-sidenav-content [ngClass]=\"{ 'ml-16': collapsable() }\" class=\"p-4\">\n <ng-content></ng-content>\n </mat-sidenav-content>\n</mat-sidenav-container>\n", styles: [":host .collapsable.mat-drawer:not(.mat-drawer-opened){transform:translate(calc(-100% + 64px))!important;visibility:visible!important;box-shadow:inherit!important;transition-property:transform;transition-delay:.25s;display:flex;border-right:solid 1px rgba(0,0,0,.12)}:host .collapsable.mat-drawer:not(.mat-drawer-opened) ::ng-deep .mat-drawer-inner-container{display:block}:host .collapsable.mat-drawer ::ng-deep .mat-drawer-inner-container::-webkit-scrollbar{display:none}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: MatSidenavContent, selector: "mat-sidenav-content" }, { kind: "component", type: NavigationComponent, selector: "ul[rxap-navigation]", inputs: ["items", "level", "root"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
636
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.1", type: SidenavComponent, isStandalone: true, selector: "rxap-sidenav", queries: [{ propertyName: "sidenavFooterDirective", first: true, predicate: SidenavFooterDirective, descendants: true, isSignal: true }, { propertyName: "sidenavHeaderDirective", first: true, predicate: SidenavHeaderDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "sidenav", first: true, predicate: MatSidenav, descendants: true, isSignal: true }], ngImport: i0, template: "<mat-sidenav-container [ngStyle]=\"{\n 'padding-top.px': fixedTopGap(),\n 'padding-bottom.px': fixedBottomGap(),\n }\" class=\"h-full\">\n <mat-sidenav\n [fixedBottomGap]=\"fixedBottomGap()\"\n [fixedInViewport]=\"fixedInViewport()\"\n [fixedTopGap]=\"fixedTopGap()\"\n [mode]=\"sidenavMode()\"\n [ngClass]=\"{ collapsable: collapsable() }\"\n [opened]=\"opened()\"\n (openedChange)=\"onOpenedChanged($event)\"\n >\n <div (mouseleave)=\"collapsable() && !pinned() && closeSidenav()\"\n class=\"h-full py-2 flex flex-col items-center gap-y-5 justify-items-stretch\">\n\n <div (click)=\"togglePinned()\" *ngIf=\"collapsable()\"\n class=\"pl-2 self-stretch grow-0 flex flex-row justify-between items-center\">\n <span class=\"text-lg\" i18n>Navigation</span>\n <div class=\"flex flex-row items-center justify-center\" style=\"width: 64px\">\n <button mat-icon-button>\n <mat-icon *ngIf=\"!pinned()\">radio_button_unchecked</mat-icon>\n <mat-icon *ngIf=\"pinned()\">radio_button_checked</mat-icon>\n </button>\n </div>\n </div>\n\n @if (sidenavHeaderDirective()?.template; as template) {\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"header grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n }\n\n <ul\n (mouseenter)=\"collapsable() && !pinned() && openSidenav()\"\n class=\"grow self-stretch\"\n [root]=\"true\"\n rxap-navigation\n >\n </ul>\n\n @if (sidenavFooterDirective()?.template; as template) {\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"footer grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n }\n </div>\n </mat-sidenav>\n <mat-sidenav-content [ngClass]=\"{ 'ml-16': collapsable() }\" class=\"p-4\">\n <ng-content></ng-content>\n </mat-sidenav-content>\n</mat-sidenav-container>\n", styles: [":host .collapsable.mat-drawer:not(.mat-drawer-opened){transform:translate(calc(-100% + 64px))!important;visibility:visible!important;box-shadow:inherit!important;transition-property:transform;transition-delay:.25s;display:flex;border-right:solid 1px rgba(0,0,0,.12)}:host .collapsable.mat-drawer:not(.mat-drawer-opened) ::ng-deep .mat-drawer-inner-container{display:block}:host .collapsable.mat-drawer ::ng-deep .mat-drawer-inner-container::-webkit-scrollbar{display:none}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: MatSidenavContent, selector: "mat-sidenav-content" }, { kind: "component", type: NavigationComponent, selector: "ul[rxap-navigation]", inputs: ["items", "level", "root"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
627
637
|
}
|
|
628
638
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SidenavComponent, decorators: [{
|
|
629
639
|
type: Component,
|
|
@@ -635,13 +645,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
|
635
645
|
MatSidenavContent,
|
|
636
646
|
NavigationComponent,
|
|
637
647
|
NgIf,
|
|
638
|
-
RouterOutlet,
|
|
639
648
|
NgClass,
|
|
640
649
|
NgStyle,
|
|
641
650
|
MatDivider,
|
|
642
651
|
NgTemplateOutlet,
|
|
643
|
-
|
|
644
|
-
], template: "<mat-sidenav-container [ngStyle]=\"{\n 'padding-top.px': fixedTopGap(),\n 'padding-bottom.px': fixedBottomGap(),\n }\" class=\"h-full\">\n <mat-sidenav\n [fixedBottomGap]=\"fixedBottomGap()\"\n [fixedInViewport]=\"fixedInViewport()\"\n [fixedTopGap]=\"fixedTopGap()\"\n [mode]=\"sidenavMode()\"\n [ngClass]=\"{ collapsable: collapsable() }\"\n [opened]=\"opened()\"\n >\n <div (mouseleave)=\"collapsable() && !pinned() && closeSidenav()\"\n class=\"h-full py-2 flex flex-col items-center gap-y-5 justify-items-stretch\">\n\n <div (click)=\"togglePinned()\" *ngIf=\"collapsable()\"\n class=\"pl-2 self-stretch grow-0 flex flex-row justify-between items-center\">\n <span class=\"text-lg\" i18n>Navigation</span>\n <div class=\"flex flex-row items-center justify-center\" style=\"width: 64px\">\n <button mat-icon-button>\n <mat-icon *ngIf=\"!pinned()\">radio_button_unchecked</mat-icon>\n <mat-icon *ngIf=\"pinned()\">radio_button_checked</mat-icon>\n </button>\n </div>\n </div>\n\n @if (sidenavHeaderDirective()?.template; as template) {\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"header grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n }\n\n <ul\n (mouseenter)=\"collapsable() && !pinned() && openSidenav()\"\n class=\"grow self-stretch\"\n [root]=\"true\"\n rxap-navigation\n >\n </ul>\n\n @if (sidenavFooterDirective()?.template; as template) {\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"footer grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n }\n </div>\n </mat-sidenav>\n <mat-sidenav-content [ngClass]=\"{ 'ml-16': collapsable() }\" class=\"p-4\">\n <ng-content></ng-content>\n </mat-sidenav-content>\n</mat-sidenav-container>\n", styles: [":host .collapsable.mat-drawer:not(.mat-drawer-opened){transform:translate(calc(-100% + 64px))!important;visibility:visible!important;box-shadow:inherit!important;transition-property:transform;transition-delay:.25s;display:flex;border-right:solid 1px rgba(0,0,0,.12)}:host .collapsable.mat-drawer:not(.mat-drawer-opened) ::ng-deep .mat-drawer-inner-container{display:block}:host .collapsable.mat-drawer ::ng-deep .mat-drawer-inner-container::-webkit-scrollbar{display:none}\n"] }]
|
|
652
|
+
], template: "<mat-sidenav-container [ngStyle]=\"{\n 'padding-top.px': fixedTopGap(),\n 'padding-bottom.px': fixedBottomGap(),\n }\" class=\"h-full\">\n <mat-sidenav\n [fixedBottomGap]=\"fixedBottomGap()\"\n [fixedInViewport]=\"fixedInViewport()\"\n [fixedTopGap]=\"fixedTopGap()\"\n [mode]=\"sidenavMode()\"\n [ngClass]=\"{ collapsable: collapsable() }\"\n [opened]=\"opened()\"\n (openedChange)=\"onOpenedChanged($event)\"\n >\n <div (mouseleave)=\"collapsable() && !pinned() && closeSidenav()\"\n class=\"h-full py-2 flex flex-col items-center gap-y-5 justify-items-stretch\">\n\n <div (click)=\"togglePinned()\" *ngIf=\"collapsable()\"\n class=\"pl-2 self-stretch grow-0 flex flex-row justify-between items-center\">\n <span class=\"text-lg\" i18n>Navigation</span>\n <div class=\"flex flex-row items-center justify-center\" style=\"width: 64px\">\n <button mat-icon-button>\n <mat-icon *ngIf=\"!pinned()\">radio_button_unchecked</mat-icon>\n <mat-icon *ngIf=\"pinned()\">radio_button_checked</mat-icon>\n </button>\n </div>\n </div>\n\n @if (sidenavHeaderDirective()?.template; as template) {\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"header grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n }\n\n <ul\n (mouseenter)=\"collapsable() && !pinned() && openSidenav()\"\n class=\"grow self-stretch\"\n [root]=\"true\"\n rxap-navigation\n >\n </ul>\n\n @if (sidenavFooterDirective()?.template; as template) {\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"footer grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n }\n </div>\n </mat-sidenav>\n <mat-sidenav-content [ngClass]=\"{ 'ml-16': collapsable() }\" class=\"p-4\">\n <ng-content></ng-content>\n </mat-sidenav-content>\n</mat-sidenav-container>\n", styles: [":host .collapsable.mat-drawer:not(.mat-drawer-opened){transform:translate(calc(-100% + 64px))!important;visibility:visible!important;box-shadow:inherit!important;transition-property:transform;transition-delay:.25s;display:flex;border-right:solid 1px rgba(0,0,0,.12)}:host .collapsable.mat-drawer:not(.mat-drawer-opened) ::ng-deep .mat-drawer-inner-container{display:block}:host .collapsable.mat-drawer ::ng-deep .mat-drawer-inner-container::-webkit-scrollbar{display:none}\n"] }]
|
|
645
653
|
}] });
|
|
646
654
|
|
|
647
655
|
class ReleaseInfoComponent {
|
|
@@ -740,7 +748,7 @@ class LogoService {
|
|
|
740
748
|
constructor() {
|
|
741
749
|
this.config = inject(ConfigService);
|
|
742
750
|
this.logo = signal(inject(RXAP_LOGO_CONFIG, { optional: true }) ??
|
|
743
|
-
this.config.get('logo', {
|
|
751
|
+
this.config.get('logo', inject(RXAP_LOGO_CONFIG_DEFAULTS, { optional: true }) ?? {
|
|
744
752
|
src: 'logo.png',
|
|
745
753
|
width: 192,
|
|
746
754
|
}));
|
|
@@ -1264,5 +1272,5 @@ function withUserProfileDataSource(dataSource, useClass = false) {
|
|
|
1264
1272
|
* Generated bundle index. Do not edit.
|
|
1265
1273
|
*/
|
|
1266
1274
|
|
|
1267
|
-
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_NAVIGATION_CONFIG, RXAP_NAVIGATION_CONFIG_INSERTS, 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 };
|
|
1275
|
+
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 };
|
|
1268
1276
|
//# sourceMappingURL=rxap-layout.mjs.map
|