@rxap/layout 19.0.4-dev.5 → 19.1.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 +6 -0
- package/compodoc/changelog.html +5 -0
- 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/variables.html +46 -0
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +829 -690
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- 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 +2 -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 -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 +7 -7
- package/docs/markdown/classes/BaseLayoutComponent.md +2 -2
- package/docs/markdown/classes/DefaultHeaderComponent.md +7 -7
- package/docs/markdown/classes/DefaultHeaderService.md +6 -6
- package/docs/markdown/classes/ExternalAppsService.md +18 -18
- package/docs/markdown/classes/FooterComponent.md +4 -4
- package/docs/markdown/classes/FooterDirective.md +4 -4
- package/docs/markdown/classes/FooterService.md +6 -6
- package/docs/markdown/classes/HeaderComponent.md +5 -5
- package/docs/markdown/classes/HeaderDirective.md +4 -4
- package/docs/markdown/classes/HeaderService.md +6 -6
- package/docs/markdown/classes/LayoutComponent.md +5 -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 +11 -11
- package/docs/markdown/classes/NavigationItemComponent.md +14 -14
- package/docs/markdown/classes/NavigationProgressBarComponent.md +4 -4
- package/docs/markdown/classes/NavigationService.md +12 -12
- package/docs/markdown/classes/ReleaseInfoComponent.md +5 -5
- package/docs/markdown/classes/SettingsButtonComponent.md +18 -18
- package/docs/markdown/classes/SidenavComponent.md +15 -15
- package/docs/markdown/classes/SidenavFooterDirective.md +4 -4
- package/docs/markdown/classes/SidenavHeaderDirective.md +4 -4
- package/docs/markdown/classes/SidenavToggleButtonComponent.md +4 -4
- package/docs/markdown/classes/UserProfileIconComponent.md +5 -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 +6 -6
- package/docs/wiki/Class.BaseLayoutComponent.md +1 -1
- package/docs/wiki/Class.DefaultHeaderComponent.md +6 -6
- package/docs/wiki/Class.DefaultHeaderService.md +5 -5
- package/docs/wiki/Class.ExternalAppsService.md +17 -17
- package/docs/wiki/Class.FooterComponent.md +3 -3
- package/docs/wiki/Class.FooterDirective.md +3 -3
- package/docs/wiki/Class.FooterService.md +5 -5
- package/docs/wiki/Class.HeaderComponent.md +4 -4
- package/docs/wiki/Class.HeaderDirective.md +3 -3
- package/docs/wiki/Class.HeaderService.md +5 -5
- package/docs/wiki/Class.LayoutComponent.md +4 -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 +10 -10
- package/docs/wiki/Class.NavigationItemComponent.md +13 -13
- package/docs/wiki/Class.NavigationProgressBarComponent.md +3 -3
- package/docs/wiki/Class.NavigationService.md +11 -11
- package/docs/wiki/Class.ReleaseInfoComponent.md +4 -4
- package/docs/wiki/Class.SettingsButtonComponent.md +17 -17
- package/docs/wiki/Class.SidenavComponent.md +14 -14
- package/docs/wiki/Class.SidenavFooterDirective.md +3 -3
- package/docs/wiki/Class.SidenavHeaderDirective.md +3 -3
- package/docs/wiki/Class.SidenavToggleButtonComponent.md +3 -3
- package/docs/wiki/Class.UserProfileIconComponent.md +4 -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 +18 -11
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/lib/layout.service.d.ts +3 -2
- package/lib/tokens.d.ts +3 -1
- package/package.json +2 -2
|
@@ -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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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/2df84dd31f2c1f51c5906e2b86bf28c7e814f454/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.0
|
|
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';
|
|
@@ -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'];
|
|
@@ -740,7 +747,7 @@ class LogoService {
|
|
|
740
747
|
constructor() {
|
|
741
748
|
this.config = inject(ConfigService);
|
|
742
749
|
this.logo = signal(inject(RXAP_LOGO_CONFIG, { optional: true }) ??
|
|
743
|
-
this.config.get('logo', {
|
|
750
|
+
this.config.get('logo', inject(RXAP_LOGO_CONFIG_DEFAULTS, { optional: true }) ?? {
|
|
744
751
|
src: 'logo.png',
|
|
745
752
|
width: 192,
|
|
746
753
|
}));
|
|
@@ -1264,5 +1271,5 @@ function withUserProfileDataSource(dataSource, useClass = false) {
|
|
|
1264
1271
|
* Generated bundle index. Do not edit.
|
|
1265
1272
|
*/
|
|
1266
1273
|
|
|
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 };
|
|
1274
|
+
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
1275
|
//# sourceMappingURL=rxap-layout.mjs.map
|