@rxap/layout 19.1.1-dev.5 → 19.2.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/compodoc/changelog.html +10 -0
- package/compodoc/components/SidenavComponent.html +17 -7
- package/compodoc/dependencies.html +2 -2
- package/compodoc/injectables/NavigationService.html +12 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +6 -6
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +362 -354
- package/docs/html/classes/AppsButtonComponent.html +4 -4
- package/docs/html/classes/BaseLayoutComponent.html +2 -2
- package/docs/html/classes/DefaultHeaderComponent.html +2 -2
- package/docs/html/classes/DefaultHeaderService.html +5 -5
- package/docs/html/classes/ExternalAppsService.html +2 -2
- package/docs/html/classes/FooterComponent.html +2 -2
- package/docs/html/classes/FooterDirective.html +3 -3
- package/docs/html/classes/FooterService.html +5 -5
- package/docs/html/classes/HeaderComponent.html +2 -2
- package/docs/html/classes/HeaderDirective.html +3 -3
- package/docs/html/classes/HeaderService.html +5 -5
- package/docs/html/classes/LayoutComponent.html +2 -2
- package/docs/html/classes/LayoutService.html +2 -2
- package/docs/html/classes/LogoService.html +2 -2
- package/docs/html/classes/MinimalLayoutComponent.html +2 -2
- package/docs/html/classes/NavigationComponent.html +3 -3
- package/docs/html/classes/NavigationItemComponent.html +5 -5
- package/docs/html/classes/NavigationProgressBarComponent.html +2 -2
- package/docs/html/classes/NavigationService.html +3 -3
- package/docs/html/classes/ReleaseInfoComponent.html +2 -2
- package/docs/html/classes/SettingsButtonComponent.html +2 -2
- package/docs/html/classes/SidenavComponent.html +4 -2
- package/docs/html/classes/SidenavFooterDirective.html +2 -2
- package/docs/html/classes/SidenavHeaderDirective.html +2 -2
- package/docs/html/classes/SidenavToggleButtonComponent.html +2 -2
- package/docs/html/classes/UserProfileIconComponent.html +2 -2
- package/docs/html/functions/IsNavigationDividerItem.html +1 -1
- package/docs/html/functions/IsNavigationInsertItem.html +1 -1
- package/docs/html/functions/IsNavigationItem.html +1 -1
- package/docs/html/functions/provideExternalApps.html +1 -1
- package/docs/html/functions/provideLayout.html +1 -1
- package/docs/html/functions/withDefaultHeaderComponent.html +1 -1
- package/docs/html/functions/withDefaultHeaderItems.html +1 -1
- package/docs/html/functions/withFooterComponents.html +1 -1
- package/docs/html/functions/withHeaderComponents.html +1 -1
- package/docs/html/functions/withNavigationConfig.html +1 -1
- package/docs/html/functions/withNavigationInserts.html +1 -1
- package/docs/html/functions/withReleaseInfoModules.html +1 -1
- package/docs/html/functions/withSettingsMenuItems.html +1 -1
- package/docs/html/functions/withUserProfileDataSource.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/NavigationDividerItem.html +2 -2
- package/docs/html/interfaces/NavigationInsertItem.html +2 -2
- package/docs/html/interfaces/NavigationItem.html +2 -2
- package/docs/html/interfaces/NavigationStatus.html +2 -2
- package/docs/html/interfaces/ReleaseInfoModule.html +2 -2
- package/docs/html/interfaces/SettingsMenuItem.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/DefaultHeaderItemComponent.html +1 -1
- package/docs/html/types/ExternalApp.html +1 -1
- package/docs/html/types/ExtractUsernameFromProfileFn.html +1 -1
- package/docs/html/types/Navigation.html +1 -1
- package/docs/html/types/NavigationWithInserts.html +1 -1
- package/docs/html/types/SettingsMenuItemComponent.html +1 -1
- package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +1 -1
- package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP.html +1 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +1 -1
- package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_HEADER_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +1 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG.html +1 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG_DEFAULTS.html +1 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +1 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +1 -1
- package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +1 -1
- package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +1 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +1 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AppsButtonComponent.md +8 -8
- package/docs/markdown/classes/BaseLayoutComponent.md +2 -2
- package/docs/markdown/classes/DefaultHeaderComponent.md +10 -10
- package/docs/markdown/classes/DefaultHeaderService.md +6 -6
- package/docs/markdown/classes/ExternalAppsService.md +18 -18
- package/docs/markdown/classes/FooterComponent.md +5 -5
- package/docs/markdown/classes/FooterDirective.md +4 -4
- package/docs/markdown/classes/FooterService.md +6 -6
- package/docs/markdown/classes/HeaderComponent.md +6 -6
- package/docs/markdown/classes/HeaderDirective.md +4 -4
- package/docs/markdown/classes/HeaderService.md +6 -6
- package/docs/markdown/classes/LayoutComponent.md +6 -6
- package/docs/markdown/classes/LayoutService.md +17 -17
- package/docs/markdown/classes/LogoService.md +6 -6
- package/docs/markdown/classes/MinimalLayoutComponent.md +2 -2
- package/docs/markdown/classes/NavigationComponent.md +14 -14
- package/docs/markdown/classes/NavigationItemComponent.md +20 -20
- package/docs/markdown/classes/NavigationProgressBarComponent.md +4 -4
- package/docs/markdown/classes/NavigationService.md +12 -12
- package/docs/markdown/classes/ReleaseInfoComponent.md +6 -6
- package/docs/markdown/classes/SettingsButtonComponent.md +19 -19
- package/docs/markdown/classes/SidenavComponent.md +21 -18
- package/docs/markdown/classes/SidenavFooterDirective.md +4 -4
- package/docs/markdown/classes/SidenavHeaderDirective.md +4 -4
- package/docs/markdown/classes/SidenavToggleButtonComponent.md +5 -5
- package/docs/markdown/classes/UserProfileIconComponent.md +7 -7
- package/docs/markdown/functions/IsNavigationDividerItem.md +2 -2
- package/docs/markdown/functions/IsNavigationInsertItem.md +2 -2
- package/docs/markdown/functions/IsNavigationItem.md +2 -2
- package/docs/markdown/functions/provideExternalApps.md +2 -2
- package/docs/markdown/functions/provideLayout.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderComponent.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderItems.md +2 -2
- package/docs/markdown/functions/withFooterComponents.md +2 -2
- package/docs/markdown/functions/withHeaderComponents.md +2 -2
- package/docs/markdown/functions/withNavigationConfig.md +2 -2
- package/docs/markdown/functions/withNavigationInserts.md +2 -2
- package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
- package/docs/markdown/functions/withSettingsMenuItems.md +2 -2
- package/docs/markdown/functions/withUserProfileDataSource.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/NavigationDividerItem.md +4 -4
- package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
- package/docs/markdown/interfaces/NavigationItem.md +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 +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
- package/docs/wiki/Class.AppsButtonComponent.md +7 -7
- package/docs/wiki/Class.BaseLayoutComponent.md +1 -1
- package/docs/wiki/Class.DefaultHeaderComponent.md +9 -9
- package/docs/wiki/Class.DefaultHeaderService.md +5 -5
- package/docs/wiki/Class.ExternalAppsService.md +17 -17
- package/docs/wiki/Class.FooterComponent.md +4 -4
- package/docs/wiki/Class.FooterDirective.md +3 -3
- package/docs/wiki/Class.FooterService.md +5 -5
- package/docs/wiki/Class.HeaderComponent.md +5 -5
- package/docs/wiki/Class.HeaderDirective.md +3 -3
- package/docs/wiki/Class.HeaderService.md +5 -5
- package/docs/wiki/Class.LayoutComponent.md +5 -5
- package/docs/wiki/Class.LayoutService.md +16 -16
- package/docs/wiki/Class.LogoService.md +5 -5
- package/docs/wiki/Class.MinimalLayoutComponent.md +1 -1
- package/docs/wiki/Class.NavigationComponent.md +13 -13
- package/docs/wiki/Class.NavigationItemComponent.md +19 -19
- package/docs/wiki/Class.NavigationProgressBarComponent.md +3 -3
- package/docs/wiki/Class.NavigationService.md +11 -11
- package/docs/wiki/Class.ReleaseInfoComponent.md +5 -5
- package/docs/wiki/Class.SettingsButtonComponent.md +18 -18
- package/docs/wiki/Class.SidenavComponent.md +20 -17
- package/docs/wiki/Class.SidenavFooterDirective.md +3 -3
- package/docs/wiki/Class.SidenavHeaderDirective.md +3 -3
- package/docs/wiki/Class.SidenavToggleButtonComponent.md +4 -4
- package/docs/wiki/Class.UserProfileIconComponent.md +6 -6
- package/docs/wiki/Function.IsNavigationDividerItem.md +1 -1
- package/docs/wiki/Function.IsNavigationInsertItem.md +1 -1
- package/docs/wiki/Function.IsNavigationItem.md +1 -1
- package/docs/wiki/Function.provideExternalApps.md +1 -1
- package/docs/wiki/Function.provideLayout.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderComponent.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderItems.md +1 -1
- package/docs/wiki/Function.withFooterComponents.md +1 -1
- package/docs/wiki/Function.withHeaderComponents.md +1 -1
- package/docs/wiki/Function.withNavigationConfig.md +1 -1
- package/docs/wiki/Function.withNavigationInserts.md +1 -1
- package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
- package/docs/wiki/Function.withSettingsMenuItems.md +1 -1
- package/docs/wiki/Function.withUserProfileDataSource.md +1 -1
- package/docs/wiki/Interface.NavigationDividerItem.md +3 -3
- package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
- package/docs/wiki/Interface.NavigationItem.md +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 +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-layout.mjs +19 -3
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/lib/sidenav/sidenav.component.d.ts +5 -0
- package/package.json +8 -8
|
@@ -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/04d80fdc56fdfa4556038c6b26b52fedb340c331/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/ef20bc50270ad0
|
|
|
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/04d80fdc56fdfa4556038c6b26b52fedb340c331/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/ef20bc50270ad0
|
|
|
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/04d80fdc56fdfa4556038c6b26b52fedb340c331/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/ef20bc50270ad0
|
|
|
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/04d80fdc56fdfa4556038c6b26b52fedb340c331/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/04d80fdc56fdfa4556038c6b26b52fedb340c331/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/04d80fdc56fdfa4556038c6b26b52fedb340c331/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/04d80fdc56fdfa4556038c6b26b52fedb340c331/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/04d80fdc56fdfa4556038c6b26b52fedb340c331/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/04d80fdc56fdfa4556038c6b26b52fedb340c331/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/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:33](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:33](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:54](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:54](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:48](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:48](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:32](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:32](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:27](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:27](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:28](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:28](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:30](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:30](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:29](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:29](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/packages/angular/layout/src/lib/tokens.ts#L29)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_LOGO\_CONFIG\_DEFAULTS**: `InjectionToken`\<`LogoConfig`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:60](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:60](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:22](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:22](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:24](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:24](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/packages/angular/layout/src/lib/tokens.ts#L24)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_NAVIGATION\_LAYOUT\_CONFIG\_DEFAULTS**: `InjectionToken`\<`Omit`\<`NavigationConfig`, `"apps"`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [tokens.ts:58](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:58](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:50](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:50](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:56](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:56](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:52](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:52](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/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:43](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [tokens.ts:43](https://gitlab.com/rxap/packages/-/blob/04d80fdc56fdfa4556038c6b26b52fedb340c331/packages/angular/layout/src/lib/tokens.ts#L43)
|
package/docs/wiki/globals.md
CHANGED
package/fesm2022/rxap-layout.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import * as i2$1 from '@angular/cdk/portal';
|
|
|
16
16
|
import { ComponentPortal, PortalModule, CdkPortalOutlet, TemplatePortal } from '@angular/cdk/portal';
|
|
17
17
|
import { staticDataSource } from '@rxap/data-source';
|
|
18
18
|
import { coerceArray, IsFunction, clone, JoinPath } from '@rxap/utilities';
|
|
19
|
-
import { switchMap,
|
|
19
|
+
import { switchMap, map, catchError, filter, startWith, tap } from 'rxjs/operators';
|
|
20
20
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
21
21
|
import * as i1 from '@angular/material/core';
|
|
22
22
|
import { MatRippleModule } from '@angular/material/core';
|
|
@@ -350,9 +350,18 @@ class NavigationService {
|
|
|
350
350
|
* @param navigationItem
|
|
351
351
|
*/
|
|
352
352
|
checkNavigationItemStatusProviders(navigationItem) {
|
|
353
|
-
if (IsNavigationDividerItem(navigationItem)
|
|
353
|
+
if (IsNavigationDividerItem(navigationItem)) {
|
|
354
354
|
return of(navigationItem);
|
|
355
355
|
}
|
|
356
|
+
if (!navigationItem.status) {
|
|
357
|
+
if (!navigationItem.children?.length) {
|
|
358
|
+
return of(navigationItem);
|
|
359
|
+
}
|
|
360
|
+
return this.checkNavigationStatusProviders(navigationItem.children).pipe(map((children) => ({
|
|
361
|
+
...navigationItem,
|
|
362
|
+
children,
|
|
363
|
+
})));
|
|
364
|
+
}
|
|
356
365
|
const isVisibleArray$ = navigationItem
|
|
357
366
|
.status
|
|
358
367
|
.map((statusToken) => this.injector.get(statusToken))
|
|
@@ -626,8 +635,15 @@ class SidenavComponent {
|
|
|
626
635
|
togglePinned() {
|
|
627
636
|
this.layoutService.togglePinned();
|
|
628
637
|
}
|
|
638
|
+
/**
|
|
639
|
+
* To ensure the open state is in sync with the component. If the sidenav is closed, e.g. clicking outside the sidenav,
|
|
640
|
+
* it is required to manually update the state in the LayoutService.
|
|
641
|
+
* @param opened
|
|
642
|
+
*/
|
|
629
643
|
onOpenedChanged(opened) {
|
|
630
|
-
|
|
644
|
+
if (!opened) {
|
|
645
|
+
this.layoutService.closeSidenav();
|
|
646
|
+
}
|
|
631
647
|
}
|
|
632
648
|
async openSidenav() {
|
|
633
649
|
await this.sidenav()?.open();
|