@rxap/layout 19.0.4-dev.4 → 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.
Files changed (227) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/compodoc/changelog.html +7 -0
  3. package/compodoc/dependencies.html +2 -2
  4. package/compodoc/injectables/LayoutService.html +67 -27
  5. package/compodoc/injectables/LogoService.html +10 -7
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/miscellaneous/functions.html +4 -4
  8. package/compodoc/miscellaneous/variables.html +46 -0
  9. package/compodoc/properties.html +1 -1
  10. package/docs/documentation.json +829 -690
  11. package/docs/html/assets/navigation.js +1 -1
  12. package/docs/html/assets/search.js +1 -1
  13. package/docs/html/classes/AppsButtonComponent.html +4 -4
  14. package/docs/html/classes/BaseLayoutComponent.html +2 -2
  15. package/docs/html/classes/DefaultHeaderComponent.html +2 -2
  16. package/docs/html/classes/DefaultHeaderService.html +5 -5
  17. package/docs/html/classes/ExternalAppsService.html +2 -2
  18. package/docs/html/classes/FooterComponent.html +2 -2
  19. package/docs/html/classes/FooterDirective.html +3 -3
  20. package/docs/html/classes/FooterService.html +5 -5
  21. package/docs/html/classes/HeaderComponent.html +2 -2
  22. package/docs/html/classes/HeaderDirective.html +3 -3
  23. package/docs/html/classes/HeaderService.html +5 -5
  24. package/docs/html/classes/LayoutComponent.html +2 -2
  25. package/docs/html/classes/LayoutService.html +2 -2
  26. package/docs/html/classes/LogoService.html +2 -2
  27. package/docs/html/classes/MinimalLayoutComponent.html +2 -2
  28. package/docs/html/classes/NavigationComponent.html +3 -3
  29. package/docs/html/classes/NavigationItemComponent.html +5 -5
  30. package/docs/html/classes/NavigationProgressBarComponent.html +2 -2
  31. package/docs/html/classes/NavigationService.html +3 -3
  32. package/docs/html/classes/ReleaseInfoComponent.html +2 -2
  33. package/docs/html/classes/SettingsButtonComponent.html +2 -2
  34. package/docs/html/classes/SidenavComponent.html +2 -2
  35. package/docs/html/classes/SidenavFooterDirective.html +2 -2
  36. package/docs/html/classes/SidenavHeaderDirective.html +2 -2
  37. package/docs/html/classes/SidenavToggleButtonComponent.html +2 -2
  38. package/docs/html/classes/UserProfileIconComponent.html +2 -2
  39. package/docs/html/functions/IsNavigationDividerItem.html +1 -1
  40. package/docs/html/functions/IsNavigationInsertItem.html +1 -1
  41. package/docs/html/functions/IsNavigationItem.html +1 -1
  42. package/docs/html/functions/provideExternalApps.html +1 -1
  43. package/docs/html/functions/provideLayout.html +1 -1
  44. package/docs/html/functions/withDefaultHeaderComponent.html +1 -1
  45. package/docs/html/functions/withDefaultHeaderItems.html +1 -1
  46. package/docs/html/functions/withFooterComponents.html +1 -1
  47. package/docs/html/functions/withHeaderComponents.html +1 -1
  48. package/docs/html/functions/withNavigationConfig.html +1 -1
  49. package/docs/html/functions/withNavigationInserts.html +1 -1
  50. package/docs/html/functions/withReleaseInfoModules.html +1 -1
  51. package/docs/html/functions/withSettingsMenuItems.html +1 -1
  52. package/docs/html/functions/withUserProfileDataSource.html +1 -1
  53. package/docs/html/index.html +2 -2
  54. package/docs/html/interfaces/NavigationDividerItem.html +2 -2
  55. package/docs/html/interfaces/NavigationInsertItem.html +2 -2
  56. package/docs/html/interfaces/NavigationItem.html +2 -2
  57. package/docs/html/interfaces/NavigationStatus.html +2 -2
  58. package/docs/html/interfaces/ReleaseInfoModule.html +2 -2
  59. package/docs/html/interfaces/SettingsMenuItem.html +2 -2
  60. package/docs/html/modules.html +1 -1
  61. package/docs/html/types/DefaultHeaderItemComponent.html +1 -1
  62. package/docs/html/types/ExternalApp.html +1 -1
  63. package/docs/html/types/ExtractUsernameFromProfileFn.html +1 -1
  64. package/docs/html/types/Navigation.html +1 -1
  65. package/docs/html/types/NavigationWithInserts.html +1 -1
  66. package/docs/html/types/SettingsMenuItemComponent.html +1 -1
  67. package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +1 -1
  68. package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +1 -1
  69. package/docs/html/variables/RXAP_EXTERNAL_APP.html +1 -1
  70. package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +1 -1
  71. package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +1 -1
  72. package/docs/html/variables/RXAP_HEADER_COMPONENT.html +1 -1
  73. package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +1 -1
  74. package/docs/html/variables/RXAP_LOGO_CONFIG.html +1 -1
  75. package/docs/html/variables/RXAP_LOGO_CONFIG_DEFAULTS.html +1 -0
  76. package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +1 -1
  77. package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +1 -1
  78. package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +1 -0
  79. package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +1 -1
  80. package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +1 -1
  81. package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +1 -1
  82. package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +1 -1
  83. package/docs/markdown/README.md +1 -1
  84. package/docs/markdown/classes/AppsButtonComponent.md +7 -7
  85. package/docs/markdown/classes/BaseLayoutComponent.md +2 -2
  86. package/docs/markdown/classes/DefaultHeaderComponent.md +7 -7
  87. package/docs/markdown/classes/DefaultHeaderService.md +6 -6
  88. package/docs/markdown/classes/ExternalAppsService.md +18 -18
  89. package/docs/markdown/classes/FooterComponent.md +4 -4
  90. package/docs/markdown/classes/FooterDirective.md +4 -4
  91. package/docs/markdown/classes/FooterService.md +6 -6
  92. package/docs/markdown/classes/HeaderComponent.md +5 -5
  93. package/docs/markdown/classes/HeaderDirective.md +4 -4
  94. package/docs/markdown/classes/HeaderService.md +6 -6
  95. package/docs/markdown/classes/LayoutComponent.md +5 -5
  96. package/docs/markdown/classes/LayoutService.md +24 -18
  97. package/docs/markdown/classes/LogoService.md +6 -6
  98. package/docs/markdown/classes/MinimalLayoutComponent.md +2 -2
  99. package/docs/markdown/classes/NavigationComponent.md +11 -11
  100. package/docs/markdown/classes/NavigationItemComponent.md +14 -14
  101. package/docs/markdown/classes/NavigationProgressBarComponent.md +4 -4
  102. package/docs/markdown/classes/NavigationService.md +12 -12
  103. package/docs/markdown/classes/ReleaseInfoComponent.md +5 -5
  104. package/docs/markdown/classes/SettingsButtonComponent.md +18 -18
  105. package/docs/markdown/classes/SidenavComponent.md +15 -15
  106. package/docs/markdown/classes/SidenavFooterDirective.md +4 -4
  107. package/docs/markdown/classes/SidenavHeaderDirective.md +4 -4
  108. package/docs/markdown/classes/SidenavToggleButtonComponent.md +4 -4
  109. package/docs/markdown/classes/UserProfileIconComponent.md +5 -5
  110. package/docs/markdown/functions/IsNavigationDividerItem.md +2 -2
  111. package/docs/markdown/functions/IsNavigationInsertItem.md +2 -2
  112. package/docs/markdown/functions/IsNavigationItem.md +2 -2
  113. package/docs/markdown/functions/provideExternalApps.md +2 -2
  114. package/docs/markdown/functions/provideLayout.md +2 -2
  115. package/docs/markdown/functions/withDefaultHeaderComponent.md +2 -2
  116. package/docs/markdown/functions/withDefaultHeaderItems.md +2 -2
  117. package/docs/markdown/functions/withFooterComponents.md +2 -2
  118. package/docs/markdown/functions/withHeaderComponents.md +2 -2
  119. package/docs/markdown/functions/withNavigationConfig.md +2 -2
  120. package/docs/markdown/functions/withNavigationInserts.md +2 -2
  121. package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
  122. package/docs/markdown/functions/withSettingsMenuItems.md +2 -2
  123. package/docs/markdown/functions/withUserProfileDataSource.md +2 -2
  124. package/docs/markdown/globals.md +4 -2
  125. package/docs/markdown/interfaces/NavigationDividerItem.md +4 -4
  126. package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
  127. package/docs/markdown/interfaces/NavigationItem.md +7 -7
  128. package/docs/markdown/interfaces/NavigationStatus.md +3 -3
  129. package/docs/markdown/interfaces/ReleaseInfoModule.md +5 -5
  130. package/docs/markdown/interfaces/SettingsMenuItem.md +5 -5
  131. package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +2 -2
  132. package/docs/markdown/type-aliases/ExternalApp.md +2 -2
  133. package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +2 -2
  134. package/docs/markdown/type-aliases/Navigation.md +2 -2
  135. package/docs/markdown/type-aliases/NavigationWithInserts.md +2 -2
  136. package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +2 -2
  137. package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +2 -2
  138. package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +2 -2
  139. package/docs/markdown/variables/RXAP_EXTERNAL_APP.md +2 -2
  140. package/docs/markdown/variables/RXAP_EXTERNAL_APP_FILTER.md +2 -2
  141. package/docs/markdown/variables/RXAP_FOOTER_COMPONENT.md +2 -2
  142. package/docs/markdown/variables/RXAP_HEADER_COMPONENT.md +2 -2
  143. package/docs/markdown/variables/RXAP_LAYOUT_APPS_GRID.md +2 -2
  144. package/docs/markdown/variables/RXAP_LOGO_CONFIG.md +2 -2
  145. package/docs/markdown/variables/RXAP_LOGO_CONFIG_DEFAULTS.md +11 -0
  146. package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +2 -2
  147. package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +2 -2
  148. package/docs/markdown/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +11 -0
  149. package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +2 -2
  150. package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +2 -2
  151. package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +2 -2
  152. package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
  153. package/docs/wiki/Class.AppsButtonComponent.md +6 -6
  154. package/docs/wiki/Class.BaseLayoutComponent.md +1 -1
  155. package/docs/wiki/Class.DefaultHeaderComponent.md +6 -6
  156. package/docs/wiki/Class.DefaultHeaderService.md +5 -5
  157. package/docs/wiki/Class.ExternalAppsService.md +17 -17
  158. package/docs/wiki/Class.FooterComponent.md +3 -3
  159. package/docs/wiki/Class.FooterDirective.md +3 -3
  160. package/docs/wiki/Class.FooterService.md +5 -5
  161. package/docs/wiki/Class.HeaderComponent.md +4 -4
  162. package/docs/wiki/Class.HeaderDirective.md +3 -3
  163. package/docs/wiki/Class.HeaderService.md +5 -5
  164. package/docs/wiki/Class.LayoutComponent.md +4 -4
  165. package/docs/wiki/Class.LayoutService.md +23 -17
  166. package/docs/wiki/Class.LogoService.md +5 -5
  167. package/docs/wiki/Class.MinimalLayoutComponent.md +1 -1
  168. package/docs/wiki/Class.NavigationComponent.md +10 -10
  169. package/docs/wiki/Class.NavigationItemComponent.md +13 -13
  170. package/docs/wiki/Class.NavigationProgressBarComponent.md +3 -3
  171. package/docs/wiki/Class.NavigationService.md +11 -11
  172. package/docs/wiki/Class.ReleaseInfoComponent.md +4 -4
  173. package/docs/wiki/Class.SettingsButtonComponent.md +17 -17
  174. package/docs/wiki/Class.SidenavComponent.md +14 -14
  175. package/docs/wiki/Class.SidenavFooterDirective.md +3 -3
  176. package/docs/wiki/Class.SidenavHeaderDirective.md +3 -3
  177. package/docs/wiki/Class.SidenavToggleButtonComponent.md +3 -3
  178. package/docs/wiki/Class.UserProfileIconComponent.md +4 -4
  179. package/docs/wiki/Function.IsNavigationDividerItem.md +1 -1
  180. package/docs/wiki/Function.IsNavigationInsertItem.md +1 -1
  181. package/docs/wiki/Function.IsNavigationItem.md +1 -1
  182. package/docs/wiki/Function.provideExternalApps.md +1 -1
  183. package/docs/wiki/Function.provideLayout.md +1 -1
  184. package/docs/wiki/Function.withDefaultHeaderComponent.md +1 -1
  185. package/docs/wiki/Function.withDefaultHeaderItems.md +1 -1
  186. package/docs/wiki/Function.withFooterComponents.md +1 -1
  187. package/docs/wiki/Function.withHeaderComponents.md +1 -1
  188. package/docs/wiki/Function.withNavigationConfig.md +1 -1
  189. package/docs/wiki/Function.withNavigationInserts.md +1 -1
  190. package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
  191. package/docs/wiki/Function.withSettingsMenuItems.md +1 -1
  192. package/docs/wiki/Function.withUserProfileDataSource.md +1 -1
  193. package/docs/wiki/Interface.NavigationDividerItem.md +3 -3
  194. package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
  195. package/docs/wiki/Interface.NavigationItem.md +6 -6
  196. package/docs/wiki/Interface.NavigationStatus.md +2 -2
  197. package/docs/wiki/Interface.ReleaseInfoModule.md +4 -4
  198. package/docs/wiki/Interface.SettingsMenuItem.md +4 -4
  199. package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +1 -1
  200. package/docs/wiki/TypeAlias.ExternalApp.md +1 -1
  201. package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +1 -1
  202. package/docs/wiki/TypeAlias.Navigation.md +1 -1
  203. package/docs/wiki/TypeAlias.NavigationWithInserts.md +1 -1
  204. package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +1 -1
  205. package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +1 -1
  206. package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +1 -1
  207. package/docs/wiki/Variable.RXAP_EXTERNAL_APP.md +1 -1
  208. package/docs/wiki/Variable.RXAP_EXTERNAL_APP_FILTER.md +1 -1
  209. package/docs/wiki/Variable.RXAP_FOOTER_COMPONENT.md +1 -1
  210. package/docs/wiki/Variable.RXAP_HEADER_COMPONENT.md +1 -1
  211. package/docs/wiki/Variable.RXAP_LAYOUT_APPS_GRID.md +1 -1
  212. package/docs/wiki/Variable.RXAP_LOGO_CONFIG.md +1 -1
  213. package/docs/wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS.md +7 -0
  214. package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +1 -1
  215. package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +1 -1
  216. package/docs/wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +7 -0
  217. package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +1 -1
  218. package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +1 -1
  219. package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +1 -1
  220. package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
  221. package/docs/wiki/_Sidebar.md +2 -0
  222. package/docs/wiki/globals.md +3 -1
  223. package/fesm2022/rxap-layout.mjs +18 -11
  224. package/fesm2022/rxap-layout.mjs.map +1 -1
  225. package/lib/layout.service.d.ts +3 -2
  226. package/lib/tokens.d.ts +3 -1
  227. package/package.json +4 -4
@@ -1,5 +1,6 @@
1
1
  import { Signal, WritableSignal } from '@angular/core';
2
2
  import { MatDrawerMode } from '@angular/material/sidenav';
3
+ import { NavigationConfig } from '@rxap/config';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class LayoutService {
5
6
  readonly opened: WritableSignal<boolean>;
@@ -16,11 +17,11 @@ export declare class LayoutService {
16
17
  private readonly headerService;
17
18
  private readonly config;
18
19
  private readonly mediaMatcher;
19
- constructor();
20
+ constructor(navigationConfigDefaults?: Omit<NavigationConfig, 'apps'>);
20
21
  toggleOpened(): void;
21
22
  togglePinned(): void;
22
23
  openSidenav(): void;
23
24
  closeSidenav(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutService, never>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutService, [{ optional: true; }]>;
25
26
  static ɵprov: i0.ɵɵInjectableDeclaration<LayoutService>;
26
27
  }
package/lib/tokens.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ComponentType } from '@angular/cdk/portal';
2
2
  import { InjectionToken } from '@angular/core';
3
- import { LogoConfig } from '@rxap/config';
3
+ import { LogoConfig, NavigationConfig } from '@rxap/config';
4
4
  import { DataSource, MethodWithParameters } from '@rxap/pattern';
5
5
  import { NavigationWithInserts } from './navigation/navigation-item';
6
6
  import { DefaultHeaderItemComponent, ExtractUsernameFromProfileFn, ReleaseInfoModule, SettingsMenuItem, SettingsMenuItemComponent } from './types';
@@ -18,3 +18,5 @@ export declare const RXAP_RELEASE_INFO_MODULE: InjectionToken<ReleaseInfoModule>
18
18
  export declare const RXAP_SETTINGS_MENU_ITEM_COMPONENT: InjectionToken<(SettingsMenuItemComponent | (() => Promise<SettingsMenuItemComponent>))[]>;
19
19
  export declare const RXAP_DEFAULT_HEADER_ITEM_COMPONENT: InjectionToken<(DefaultHeaderItemComponent | (() => Promise<DefaultHeaderItemComponent>))[]>;
20
20
  export declare const RXAP_SETTINGS_MENU_ITEM: InjectionToken<SettingsMenuItem>;
21
+ export declare const RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS: InjectionToken<Omit<NavigationConfig, "apps">>;
22
+ export declare const RXAP_LOGO_CONFIG_DEFAULTS: InjectionToken<LogoConfig>;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
- "version": "19.0.4-dev.4",
2
+ "version": "19.1.0-dev.0",
3
3
  "name": "@rxap/layout",
4
4
  "description": "This library provides a set of Angular components and services for creating consistent and configurable application layouts, including headers, footers, side navigation, and content areas. It offers features such as dynamic navigation, external application integration, and customizable themes. The library also includes directives for extending header and footer areas with custom content.\n",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "dependencies": {
7
7
  "@nx/devkit": "20.5.0",
8
8
  "@rxap/ts-morph": "^1.5.5-dev.0",
9
- "@rxap/workspace-ts-morph": "^19.1.12-dev.3",
10
- "@rxap/workspace-utilities": "^19.8.0-dev.3",
9
+ "@rxap/workspace-ts-morph": "^19.1.12-dev.4",
10
+ "@rxap/workspace-utilities": "^19.8.0-dev.4",
11
11
  "tslib": "2.6.2"
12
12
  },
13
13
  "peerDependencies": {
@@ -153,7 +153,7 @@
153
153
  },
154
154
  "schematics": "./generators.json",
155
155
  "sideEffects": false,
156
- "gitHead": "fba2a4e1e91a6435186cb90b6951309de8ac94e8",
156
+ "gitHead": "2df84dd31f2c1f51c5906e2b86bf28c7e814f454",
157
157
  "module": "fesm2022/rxap-layout.mjs",
158
158
  "typings": "index.d.ts",
159
159
  "exports": {