@rxap/layout 19.0.1-dev.13 → 19.0.1-dev.3

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 (299) hide show
  1. package/CHANGELOG.md +0 -42
  2. package/README.md +1 -1
  3. package/compodoc/changelog.html +0 -23
  4. package/compodoc/components/DefaultHeaderComponent.html +3 -3
  5. package/compodoc/dependencies.html +13 -13
  6. package/compodoc/index.html +1 -1
  7. package/compodoc/js/search/search_index.js +2 -2
  8. package/compodoc/properties.html +1 -1
  9. package/docs/assets/icons.js +15 -0
  10. package/docs/assets/icons.svg +1 -0
  11. package/docs/{html/assets → assets}/main.js +4 -5
  12. package/docs/assets/navigation.js +1 -0
  13. package/docs/assets/search.js +1 -0
  14. package/docs/assets/style.css +1412 -0
  15. package/docs/classes/AppsButtonComponent.html +9 -0
  16. package/docs/classes/BaseLayoutComponent.html +2 -0
  17. package/docs/classes/DefaultHeaderComponent.html +9 -0
  18. package/docs/classes/DefaultHeaderService.html +16 -0
  19. package/docs/classes/ExternalAppsService.html +19 -0
  20. package/docs/classes/FooterComponent.html +5 -0
  21. package/docs/classes/FooterDirective.html +8 -0
  22. package/docs/classes/FooterService.html +14 -0
  23. package/docs/classes/HeaderComponent.html +6 -0
  24. package/docs/classes/HeaderDirective.html +8 -0
  25. package/docs/classes/HeaderService.html +14 -0
  26. package/docs/classes/LayoutComponent.html +6 -0
  27. package/docs/classes/LayoutService.html +20 -0
  28. package/docs/classes/LogoService.html +7 -0
  29. package/docs/classes/MinimalLayoutComponent.html +2 -0
  30. package/docs/classes/NavigationComponent.html +14 -0
  31. package/docs/classes/NavigationItemComponent.html +19 -0
  32. package/docs/classes/NavigationProgressBarComponent.html +4 -0
  33. package/docs/classes/NavigationService.html +17 -0
  34. package/docs/classes/ReleaseInfoComponent.html +6 -0
  35. package/docs/classes/SettingsButtonComponent.html +25 -0
  36. package/docs/classes/SidenavComponent.html +17 -0
  37. package/docs/classes/SidenavFooterDirective.html +3 -0
  38. package/docs/classes/SidenavHeaderDirective.html +3 -0
  39. package/docs/classes/SidenavToggleButtonComponent.html +5 -0
  40. package/docs/classes/UserProfileIconComponent.html +7 -0
  41. package/docs/documentation.json +3528 -1831
  42. package/docs/functions/IsNavigationDividerItem.html +1 -0
  43. package/docs/functions/IsNavigationInsertItem.html +1 -0
  44. package/docs/functions/IsNavigationItem.html +1 -0
  45. package/docs/functions/provideExternalApps.html +1 -0
  46. package/docs/functions/provideLayout.html +1 -0
  47. package/docs/functions/withDefaultHeaderComponent.html +1 -0
  48. package/docs/functions/withDefaultHeaderItems.html +1 -0
  49. package/docs/functions/withFooterComponents.html +1 -0
  50. package/docs/functions/withHeaderComponents.html +1 -0
  51. package/docs/functions/withNavigationConfig.html +1 -0
  52. package/docs/functions/withNavigationInserts.html +1 -0
  53. package/docs/functions/withReleaseInfoModules.html +1 -0
  54. package/docs/functions/withSettingsMenuItems.html +1 -0
  55. package/docs/functions/withUserProfileDataSource.html +1 -0
  56. package/docs/index.html +88 -0
  57. package/docs/interfaces/NavigationDividerItem.html +3 -0
  58. package/docs/interfaces/NavigationInsertItem.html +2 -0
  59. package/docs/interfaces/NavigationItem.html +6 -0
  60. package/docs/interfaces/NavigationStatus.html +2 -0
  61. package/docs/interfaces/ReleaseInfoModule.html +4 -0
  62. package/docs/interfaces/SettingsMenuItem.html +4 -0
  63. package/docs/modules.html +67 -0
  64. package/docs/types/DefaultHeaderItemComponent.html +1 -0
  65. package/docs/types/ExternalApp.html +1 -0
  66. package/docs/types/ExtractUsernameFromProfileFn.html +1 -0
  67. package/docs/types/Navigation.html +1 -0
  68. package/docs/types/NavigationWithInserts.html +1 -0
  69. package/docs/types/SettingsMenuItemComponent.html +1 -0
  70. package/docs/variables/EXTRACT_USERNAME_FROM_PROFILE.html +1 -0
  71. package/docs/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +1 -0
  72. package/docs/variables/RXAP_EXTERNAL_APP.html +1 -0
  73. package/docs/variables/RXAP_EXTERNAL_APP_FILTER.html +1 -0
  74. package/docs/variables/RXAP_FOOTER_COMPONENT.html +1 -0
  75. package/docs/variables/RXAP_HEADER_COMPONENT.html +1 -0
  76. package/docs/variables/RXAP_LAYOUT_APPS_GRID.html +1 -0
  77. package/docs/variables/RXAP_LOGO_CONFIG.html +1 -0
  78. package/docs/variables/RXAP_NAVIGATION_CONFIG.html +1 -0
  79. package/docs/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +1 -0
  80. package/docs/variables/RXAP_RELEASE_INFO_MODULE.html +1 -0
  81. package/docs/variables/RXAP_SETTINGS_MENU_ITEM.html +1 -0
  82. package/docs/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +1 -0
  83. package/docs/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +1 -0
  84. package/fesm2022/rxap-layout.mjs +2 -2
  85. package/fesm2022/rxap-layout.mjs.map +1 -1
  86. package/package.json +29 -29
  87. package/docs/html/assets/hierarchy.js +0 -1
  88. package/docs/html/assets/icons.js +0 -18
  89. package/docs/html/assets/icons.svg +0 -1
  90. package/docs/html/assets/navigation.js +0 -1
  91. package/docs/html/assets/search.js +0 -1
  92. package/docs/html/assets/style.css +0 -1611
  93. package/docs/html/classes/AppsButtonComponent.html +0 -13
  94. package/docs/html/classes/BaseLayoutComponent.html +0 -2
  95. package/docs/html/classes/DefaultHeaderComponent.html +0 -7
  96. package/docs/html/classes/DefaultHeaderService.html +0 -13
  97. package/docs/html/classes/ExternalAppsService.html +0 -19
  98. package/docs/html/classes/FooterComponent.html +0 -4
  99. package/docs/html/classes/FooterDirective.html +0 -11
  100. package/docs/html/classes/FooterService.html +0 -13
  101. package/docs/html/classes/HeaderComponent.html +0 -5
  102. package/docs/html/classes/HeaderDirective.html +0 -11
  103. package/docs/html/classes/HeaderService.html +0 -13
  104. package/docs/html/classes/LayoutComponent.html +0 -5
  105. package/docs/html/classes/LayoutService.html +0 -16
  106. package/docs/html/classes/LogoService.html +0 -6
  107. package/docs/html/classes/MinimalLayoutComponent.html +0 -2
  108. package/docs/html/classes/NavigationComponent.html +0 -16
  109. package/docs/html/classes/NavigationItemComponent.html +0 -24
  110. package/docs/html/classes/NavigationProgressBarComponent.html +0 -4
  111. package/docs/html/classes/NavigationService.html +0 -12
  112. package/docs/html/classes/ReleaseInfoComponent.html +0 -5
  113. package/docs/html/classes/SettingsButtonComponent.html +0 -18
  114. package/docs/html/classes/SidenavComponent.html +0 -15
  115. package/docs/html/classes/SidenavFooterDirective.html +0 -3
  116. package/docs/html/classes/SidenavHeaderDirective.html +0 -3
  117. package/docs/html/classes/SidenavToggleButtonComponent.html +0 -4
  118. package/docs/html/classes/UserProfileIconComponent.html +0 -5
  119. package/docs/html/functions/IsNavigationDividerItem.html +0 -1
  120. package/docs/html/functions/IsNavigationInsertItem.html +0 -1
  121. package/docs/html/functions/IsNavigationItem.html +0 -1
  122. package/docs/html/functions/provideExternalApps.html +0 -1
  123. package/docs/html/functions/provideLayout.html +0 -1
  124. package/docs/html/functions/withDefaultHeaderComponent.html +0 -1
  125. package/docs/html/functions/withDefaultHeaderItems.html +0 -1
  126. package/docs/html/functions/withFooterComponents.html +0 -1
  127. package/docs/html/functions/withHeaderComponents.html +0 -1
  128. package/docs/html/functions/withNavigationConfig.html +0 -1
  129. package/docs/html/functions/withNavigationInserts.html +0 -1
  130. package/docs/html/functions/withReleaseInfoModules.html +0 -1
  131. package/docs/html/functions/withSettingsMenuItems.html +0 -1
  132. package/docs/html/functions/withUserProfileDataSource.html +0 -1
  133. package/docs/html/index.html +0 -106
  134. package/docs/html/interfaces/NavigationDividerItem.html +0 -3
  135. package/docs/html/interfaces/NavigationInsertItem.html +0 -2
  136. package/docs/html/interfaces/NavigationItem.html +0 -6
  137. package/docs/html/interfaces/NavigationStatus.html +0 -2
  138. package/docs/html/interfaces/ReleaseInfoModule.html +0 -4
  139. package/docs/html/interfaces/SettingsMenuItem.html +0 -4
  140. package/docs/html/modules.html +0 -1
  141. package/docs/html/types/DefaultHeaderItemComponent.html +0 -1
  142. package/docs/html/types/ExternalApp.html +0 -1
  143. package/docs/html/types/ExtractUsernameFromProfileFn.html +0 -1
  144. package/docs/html/types/Navigation.html +0 -1
  145. package/docs/html/types/NavigationWithInserts.html +0 -1
  146. package/docs/html/types/SettingsMenuItemComponent.html +0 -1
  147. package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +0 -1
  148. package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +0 -1
  149. package/docs/html/variables/RXAP_EXTERNAL_APP.html +0 -1
  150. package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +0 -1
  151. package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +0 -1
  152. package/docs/html/variables/RXAP_HEADER_COMPONENT.html +0 -1
  153. package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +0 -1
  154. package/docs/html/variables/RXAP_LOGO_CONFIG.html +0 -1
  155. package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +0 -1
  156. package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +0 -1
  157. package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +0 -1
  158. package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +0 -1
  159. package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +0 -1
  160. package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +0 -1
  161. package/docs/markdown/README.md +0 -304
  162. package/docs/markdown/classes/AppsButtonComponent.md +0 -83
  163. package/docs/markdown/classes/BaseLayoutComponent.md +0 -19
  164. package/docs/markdown/classes/DefaultHeaderComponent.md +0 -59
  165. package/docs/markdown/classes/DefaultHeaderService.md +0 -87
  166. package/docs/markdown/classes/ExternalAppsService.md +0 -251
  167. package/docs/markdown/classes/FooterComponent.md +0 -35
  168. package/docs/markdown/classes/FooterDirective.md +0 -65
  169. package/docs/markdown/classes/FooterService.md +0 -87
  170. package/docs/markdown/classes/HeaderComponent.md +0 -43
  171. package/docs/markdown/classes/HeaderDirective.md +0 -65
  172. package/docs/markdown/classes/HeaderService.md +0 -87
  173. package/docs/markdown/classes/LayoutComponent.md +0 -43
  174. package/docs/markdown/classes/LayoutService.md +0 -149
  175. package/docs/markdown/classes/LogoService.md +0 -51
  176. package/docs/markdown/classes/MinimalLayoutComponent.md +0 -19
  177. package/docs/markdown/classes/NavigationComponent.md +0 -139
  178. package/docs/markdown/classes/NavigationItemComponent.md +0 -195
  179. package/docs/markdown/classes/NavigationProgressBarComponent.md +0 -35
  180. package/docs/markdown/classes/NavigationService.md +0 -205
  181. package/docs/markdown/classes/ReleaseInfoComponent.md +0 -47
  182. package/docs/markdown/classes/SettingsButtonComponent.md +0 -229
  183. package/docs/markdown/classes/SidenavComponent.md +0 -135
  184. package/docs/markdown/classes/SidenavFooterDirective.md +0 -35
  185. package/docs/markdown/classes/SidenavHeaderDirective.md +0 -35
  186. package/docs/markdown/classes/SidenavToggleButtonComponent.md +0 -39
  187. package/docs/markdown/classes/UserProfileIconComponent.md +0 -47
  188. package/docs/markdown/functions/IsNavigationDividerItem.md +0 -21
  189. package/docs/markdown/functions/IsNavigationInsertItem.md +0 -21
  190. package/docs/markdown/functions/IsNavigationItem.md +0 -21
  191. package/docs/markdown/functions/provideExternalApps.md +0 -21
  192. package/docs/markdown/functions/provideLayout.md +0 -21
  193. package/docs/markdown/functions/withDefaultHeaderComponent.md +0 -15
  194. package/docs/markdown/functions/withDefaultHeaderItems.md +0 -21
  195. package/docs/markdown/functions/withFooterComponents.md +0 -21
  196. package/docs/markdown/functions/withHeaderComponents.md +0 -21
  197. package/docs/markdown/functions/withNavigationConfig.md +0 -21
  198. package/docs/markdown/functions/withNavigationInserts.md +0 -21
  199. package/docs/markdown/functions/withReleaseInfoModules.md +0 -21
  200. package/docs/markdown/functions/withSettingsMenuItems.md +0 -21
  201. package/docs/markdown/functions/withUserProfileDataSource.md +0 -25
  202. package/docs/markdown/globals.md +0 -86
  203. package/docs/markdown/interfaces/NavigationDividerItem.md +0 -25
  204. package/docs/markdown/interfaces/NavigationInsertItem.md +0 -17
  205. package/docs/markdown/interfaces/NavigationItem.md +0 -61
  206. package/docs/markdown/interfaces/NavigationStatus.md +0 -27
  207. package/docs/markdown/interfaces/ReleaseInfoModule.md +0 -33
  208. package/docs/markdown/interfaces/SettingsMenuItem.md +0 -37
  209. package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +0 -11
  210. package/docs/markdown/type-aliases/ExternalApp.md +0 -11
  211. package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +0 -25
  212. package/docs/markdown/type-aliases/Navigation.md +0 -11
  213. package/docs/markdown/type-aliases/NavigationWithInserts.md +0 -11
  214. package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +0 -11
  215. package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +0 -11
  216. package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +0 -11
  217. package/docs/markdown/variables/RXAP_EXTERNAL_APP.md +0 -11
  218. package/docs/markdown/variables/RXAP_EXTERNAL_APP_FILTER.md +0 -11
  219. package/docs/markdown/variables/RXAP_FOOTER_COMPONENT.md +0 -11
  220. package/docs/markdown/variables/RXAP_HEADER_COMPONENT.md +0 -11
  221. package/docs/markdown/variables/RXAP_LAYOUT_APPS_GRID.md +0 -11
  222. package/docs/markdown/variables/RXAP_LOGO_CONFIG.md +0 -11
  223. package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +0 -11
  224. package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +0 -11
  225. package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +0 -11
  226. package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +0 -11
  227. package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +0 -11
  228. package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +0 -11
  229. package/docs/wiki/Class.AppsButtonComponent.md +0 -79
  230. package/docs/wiki/Class.BaseLayoutComponent.md +0 -15
  231. package/docs/wiki/Class.DefaultHeaderComponent.md +0 -55
  232. package/docs/wiki/Class.DefaultHeaderService.md +0 -83
  233. package/docs/wiki/Class.ExternalAppsService.md +0 -247
  234. package/docs/wiki/Class.FooterComponent.md +0 -31
  235. package/docs/wiki/Class.FooterDirective.md +0 -61
  236. package/docs/wiki/Class.FooterService.md +0 -83
  237. package/docs/wiki/Class.HeaderComponent.md +0 -39
  238. package/docs/wiki/Class.HeaderDirective.md +0 -61
  239. package/docs/wiki/Class.HeaderService.md +0 -83
  240. package/docs/wiki/Class.LayoutComponent.md +0 -39
  241. package/docs/wiki/Class.LayoutService.md +0 -145
  242. package/docs/wiki/Class.LogoService.md +0 -47
  243. package/docs/wiki/Class.MinimalLayoutComponent.md +0 -15
  244. package/docs/wiki/Class.NavigationComponent.md +0 -135
  245. package/docs/wiki/Class.NavigationItemComponent.md +0 -191
  246. package/docs/wiki/Class.NavigationProgressBarComponent.md +0 -31
  247. package/docs/wiki/Class.NavigationService.md +0 -201
  248. package/docs/wiki/Class.ReleaseInfoComponent.md +0 -43
  249. package/docs/wiki/Class.SettingsButtonComponent.md +0 -225
  250. package/docs/wiki/Class.SidenavComponent.md +0 -131
  251. package/docs/wiki/Class.SidenavFooterDirective.md +0 -31
  252. package/docs/wiki/Class.SidenavHeaderDirective.md +0 -31
  253. package/docs/wiki/Class.SidenavToggleButtonComponent.md +0 -35
  254. package/docs/wiki/Class.UserProfileIconComponent.md +0 -43
  255. package/docs/wiki/Function.IsNavigationDividerItem.md +0 -17
  256. package/docs/wiki/Function.IsNavigationInsertItem.md +0 -17
  257. package/docs/wiki/Function.IsNavigationItem.md +0 -17
  258. package/docs/wiki/Function.provideExternalApps.md +0 -17
  259. package/docs/wiki/Function.provideLayout.md +0 -17
  260. package/docs/wiki/Function.withDefaultHeaderComponent.md +0 -11
  261. package/docs/wiki/Function.withDefaultHeaderItems.md +0 -17
  262. package/docs/wiki/Function.withFooterComponents.md +0 -17
  263. package/docs/wiki/Function.withHeaderComponents.md +0 -17
  264. package/docs/wiki/Function.withNavigationConfig.md +0 -17
  265. package/docs/wiki/Function.withNavigationInserts.md +0 -17
  266. package/docs/wiki/Function.withReleaseInfoModules.md +0 -17
  267. package/docs/wiki/Function.withSettingsMenuItems.md +0 -17
  268. package/docs/wiki/Function.withUserProfileDataSource.md +0 -21
  269. package/docs/wiki/Home.md +0 -300
  270. package/docs/wiki/Interface.NavigationDividerItem.md +0 -21
  271. package/docs/wiki/Interface.NavigationInsertItem.md +0 -13
  272. package/docs/wiki/Interface.NavigationItem.md +0 -57
  273. package/docs/wiki/Interface.NavigationStatus.md +0 -23
  274. package/docs/wiki/Interface.ReleaseInfoModule.md +0 -29
  275. package/docs/wiki/Interface.SettingsMenuItem.md +0 -33
  276. package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +0 -7
  277. package/docs/wiki/TypeAlias.ExternalApp.md +0 -7
  278. package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +0 -21
  279. package/docs/wiki/TypeAlias.Navigation.md +0 -7
  280. package/docs/wiki/TypeAlias.NavigationWithInserts.md +0 -7
  281. package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +0 -7
  282. package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +0 -7
  283. package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +0 -7
  284. package/docs/wiki/Variable.RXAP_EXTERNAL_APP.md +0 -7
  285. package/docs/wiki/Variable.RXAP_EXTERNAL_APP_FILTER.md +0 -7
  286. package/docs/wiki/Variable.RXAP_FOOTER_COMPONENT.md +0 -7
  287. package/docs/wiki/Variable.RXAP_HEADER_COMPONENT.md +0 -7
  288. package/docs/wiki/Variable.RXAP_LAYOUT_APPS_GRID.md +0 -7
  289. package/docs/wiki/Variable.RXAP_LOGO_CONFIG.md +0 -7
  290. package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +0 -7
  291. package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +0 -7
  292. package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +0 -7
  293. package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +0 -7
  294. package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +0 -7
  295. package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +0 -7
  296. package/docs/wiki/_Sidebar.md +0 -82
  297. package/docs/wiki/globals.md +0 -82
  298. /package/docs/{html/.nojekyll → .nojekyll} +0 -0
  299. /package/docs/{html/assets → assets}/highlight.css +0 -0
@@ -1,304 +0,0 @@
1
- **@rxap/layout**
2
-
3
- ***
4
-
5
- # @rxap/layout
6
-
7
- [![npm version](https://img.shields.io/npm/v/@rxap/layout?style=flat-square)](https://www.npmjs.com/package/@rxap/layout)
8
- [![commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
9
- [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
10
- ![Libraries.io dependency status for latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/@rxap/layout)
11
- ![npm](https://img.shields.io/npm/dm/@rxap/layout)
12
- ![NPM](https://img.shields.io/npm/l/@rxap/layout)
13
-
14
- - [Installation](#installation)
15
- - [Get started](#get-started)
16
- - [Generators](#generators)
17
-
18
- # Installation
19
-
20
- **Add the package to your workspace:**
21
- ```bash
22
- yarn add @rxap/layout
23
- ```
24
- **Install peer dependencies:**
25
- ```bash
26
- yarn add @angular/animations@^19.1.3 @angular/cdk@^19.1.1 @angular/common@^19.1.3 @angular/core@^19.1.3 @angular/material@^19.1.1 @angular/router@^19.1.3 @rxap/browser-utilities@^1.1.10-dev.4 @rxap/config@^19.0.1-dev.4 @rxap/data-source@^19.0.1-dev.4 @rxap/environment@^19.0.1-dev.4 @rxap/material-directives@^19.0.1-dev.4 @rxap/ngx-pub-sub@^19.0.1-dev.4 @rxap/ngx-theme@^19.0.1-dev.4 @rxap/pattern@^1.1.11-dev.4 @rxap/utilities@^16.4.2-dev.4 rxjs@^7.8.1
27
- ```
28
- **Execute the init generator:**
29
- ```bash
30
- yarn nx g @rxap/layout:init
31
- ```
32
- # Get started
33
-
34
- ## Layout
35
-
36
- Create a new file `layout.routes.ts` in the `app` folder. This file will contain all child routes that should be loaded within the layout component.
37
-
38
- ```typescript
39
- import { LayoutComponent, provideLayout } from '@rxap/layout';
40
-
41
- const ROUTES: Route[] = [
42
- {
43
- path: '',
44
- component: LayoutComponent,
45
- children: [ ],
46
- providers: [ provideLayout() ],
47
- },
48
- ];
49
- ```
50
-
51
- Import the layout routes into the `app.routes.ts` file.
52
-
53
- ```typescript
54
- export const appRoutes: Route[] = [
55
- {
56
- path: '',
57
- loadChildren: () => import('./layout.routes'),
58
- },
59
- {
60
- path: '**',
61
- redirectTo: '',
62
- },
63
- ];
64
- ```
65
-
66
- ## Navigation
67
-
68
- Create a new file `app.navigation.ts` in the `app` folder. This file will contain the navigation items that should be displayed in the layout component.
69
-
70
- ```typescript
71
- export const APP_NAVIGATION: () => NavigationWithInserts = () => [];
72
- ```
73
-
74
- Provide the app navigation in the layout routes:
75
-
76
- ```typescript
77
- import {
78
- LayoutComponent,
79
- ProvideNavigationConfig,
80
- withNavigationService,
81
- } from '@rxap/layout';
82
- import { APP_NAVIGATION } from './app.navigation';
83
-
84
- const ROUTES: Route[] = [
85
- {
86
- path: '',
87
- component: LayoutComponent,
88
- children: [ ],
89
- providers: [
90
- provideLayout(
91
- withNavigationConfig(APP_NAVIGATION),
92
- ),
93
- ],
94
- },
95
- ];
96
- ```
97
-
98
- ### Navigation Item
99
-
100
- A navigation item represents a single item in the navigation sidebar. Each item has the required properties `label` and `routerLink`. The `label` property is the text that should be displayed in the sidebar. The `routerLink` property is the path that should be navigated to when the item is clicked.
101
-
102
- ```typescript
103
- const item: NavigationItem = {
104
- label: 'Home',
105
- routerLink: '/',
106
- };
107
- ```
108
-
109
- With the `children` property, a navigation item can have child items. The child items are displayed in a dropdown menu when the parent item is clicked.
110
-
111
- ```typescript
112
- const item: NavigationItem = {
113
- label: 'Home',
114
- routerLink: '/',
115
- children: [
116
- {
117
- label: 'Child',
118
- routerLink: '/child',
119
- },
120
- ],
121
- };
122
- ```
123
-
124
- #### Icon Property
125
-
126
- With the `icon` property, the item can be assigned an icon. The icon is displayed to the left of the label. If the navigation sidebar is collapsed, only the icon is displayed.
127
-
128
- ```typescript
129
- const item: NavigationItem = {
130
- label: 'Home',
131
- routerLink: '/',
132
- icon: { icon: 'home' },
133
- };
134
- ```
135
-
136
- #### Status Property
137
-
138
- With the `status` property, a injectable token, class or function can be assigned to the item. The object must have the method `isVisible` which returns a boolean. If the method returns `false`, the item is not displayed in the navigation sidebar.
139
-
140
- ```typescript
141
- @Injectable()
142
- class SetNavStatus {
143
- isVisible(item: NavigationItem): boolean {
144
- return false;
145
- }
146
- }
147
-
148
- const item: NavigationItem = {
149
- label: 'Home',
150
- routerLink: '/',
151
- status: SetNavStatus,
152
- };
153
- ```
154
-
155
- ### Navigation Divider Item
156
-
157
- A navigation divider item is a horizontal line that separates navigation items. It is used to group items in the navigation sidebar. It is required to set the property `divider` to `true`. With the optional property `title`, a title can be defined that is displayed below the divider.
158
-
159
- ```typescript
160
- const item: NavigationDividerItem = {
161
- divider: true,
162
- title: 'Group',
163
- };
164
- ```
165
-
166
- ### Navigation Insert Item (WIP)
167
-
168
- A navigation insert item is a placeholder for a navigation item that should be inserted into the navigation sidebar.
169
- The item is used to define where a dynamic navigation should be inserted. The `insert` property is the key that is used
170
- identify the insert item. The `insert` property is required.
171
-
172
- ```typescript
173
- const item: NavigationInsertItem = {
174
- insert: 'insert-key',
175
- };
176
- ```
177
-
178
- ## Header
179
-
180
- The header is composed of the components from left to right: AppsButtonComponent, SettingsButtonComponent and UserProfileIconComponent.
181
-
182
- ### Apps Button
183
-
184
- The apps buttons allow for a navigation between different applications. To configure the apps button, the config path
185
- `navigation.apps` must be set with an array of object with the property `title` and ether `routerLink` or `href`. If the
186
- property `href` is set, the link is opened in a new tab. If the property `routerLink` the router is used to navigate.
187
-
188
- ```json
189
- {
190
- "navigation": {
191
- "apps": [
192
- {
193
- "title": "App 1",
194
- "routerLink": ["/", "app1"]
195
- },
196
- {
197
- "title": "App 2",
198
- "href": "https://app2.com"
199
- }
200
- ]
201
- }
202
- }
203
- ```
204
-
205
- > If the application is in production mode, the current `localId` is appended to the url defined in the `href` property.
206
-
207
- ### Settings Button Customization (WIP)
208
-
209
- It is possible to add custom items to the settings menu. This custom item can be a component or a configuration object.
210
-
211
- >
212
-
213
- #### Configuration Object
214
-
215
- The action function is called when the item is clicked. It is possible to use the `inject` function to inject services.
216
-
217
- ```typescript
218
- import {
219
- LayoutComponent,
220
- ProvideNavigationConfig,
221
- withNavigationService,
222
- } from '@rxap/layout';
223
- import { APP_NAVIGATION } from './app.navigation';
224
-
225
- const ROUTES: Route[] = [
226
- {
227
- path: '',
228
- component: LayoutComponent,
229
- children: [ ],
230
- providers: [
231
- provideLayout(
232
- withNavigationConfig(APP_NAVIGATION),
233
- withSettingsMenuItems(
234
- {
235
- label: 'Custom Item',
236
- icon: { icon: 'home' },
237
- action: () => inject(MatDialog).open(MyCustomDialogComponent),
238
- }
239
- )
240
- ),
241
- ],
242
- },
243
- ];
244
- ```
245
-
246
- #### Component
247
-
248
- If a component is provided ensure the component template uses the `mat-menu-item` component:
249
-
250
- ```angular17html
251
- <button mat-menu-item>My Custom Item</button>
252
- ```
253
-
254
- ```typescript
255
- import {
256
- LayoutComponent,
257
- ProvideNavigationConfig,
258
- withNavigationService,
259
- } from '@rxap/layout';
260
- import { APP_NAVIGATION } from './app.navigation';
261
-
262
- const ROUTES: Route[] = [
263
- {
264
- path: '',
265
- component: LayoutComponent,
266
- children: [ ],
267
- providers: [
268
- provideLayout(
269
- withNavigationConfig(APP_NAVIGATION),
270
- withSettingsMenuItems(
271
- MyCustomMenuItemComponent
272
- )
273
- ),
274
- ],
275
- },
276
- ];
277
- ```
278
-
279
- ### User Profile (WIP)
280
-
281
- ...
282
-
283
- ## Dynamic Footer
284
-
285
- With the directive `rxapFooter` it is possible to define a dynamic footer. When the directive is used on a `<ng-template>` in a component,
286
- that is rendered in the layout component, the template is rendered in the footer of the layout component.
287
-
288
- ```angular17html
289
- <mat-card>
290
- ...
291
- </mat-card>
292
- <ng-template rxapFooter>
293
- <button mat-button>A button in the layout footer</button>
294
- </ng-template>
295
- ```
296
-
297
- # Generators
298
-
299
- ## init
300
- > Initialize the package in the workspace
301
-
302
- ```bash
303
- yarn nx g @rxap/layout:init
304
- ```
@@ -1,83 +0,0 @@
1
- [**@rxap/layout**](../README.md)
2
-
3
- ***
4
-
5
- [@rxap/layout](../globals.md) / AppsButtonComponent
6
-
7
- # Class: AppsButtonComponent
8
-
9
- Defined in: [default-header/apps-button/apps-button.component.ts:35](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/apps-button/apps-button.component.ts#L35)
10
-
11
- ## Implements
12
-
13
- - `OnInit`
14
-
15
- ## Constructors
16
-
17
- ### new AppsButtonComponent()
18
-
19
- > **new AppsButtonComponent**(): [`AppsButtonComponent`](AppsButtonComponent.md)
20
-
21
- #### Returns
22
-
23
- [`AppsButtonComponent`](AppsButtonComponent.md)
24
-
25
- ## Properties
26
-
27
- ### appList
28
-
29
- > `readonly` **appList**: `Signal`\<`AppsNavigationConfig`[]\>
30
-
31
- Defined in: [default-header/apps-button/apps-button.component.ts:42](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/apps-button/apps-button.component.ts#L42)
32
-
33
- ***
34
-
35
- ### hasApps
36
-
37
- > `readonly` **hasApps**: `Signal`\<`boolean`\>
38
-
39
- Defined in: [default-header/apps-button/apps-button.component.ts:43](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/apps-button/apps-button.component.ts#L43)
40
-
41
- ***
42
-
43
- ### isOpen
44
-
45
- > `readonly` **isOpen**: `WritableSignal`\<`boolean`\>
46
-
47
- Defined in: [default-header/apps-button/apps-button.component.ts:39](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/apps-button/apps-button.component.ts#L39)
48
-
49
- The signal that indicates if the app list is open
50
-
51
- ## Methods
52
-
53
- ### ngOnInit()
54
-
55
- > **ngOnInit**(): `void`
56
-
57
- Defined in: [default-header/apps-button/apps-button.component.ts:49](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/apps-button/apps-button.component.ts#L49)
58
-
59
- A callback method that is invoked immediately after the
60
- default change detector has checked the directive's
61
- data-bound properties for the first time,
62
- and before any of the view or content children have been checked.
63
- It is invoked only once when the directive is instantiated.
64
-
65
- #### Returns
66
-
67
- `void`
68
-
69
- #### Implementation of
70
-
71
- `OnInit.ngOnInit`
72
-
73
- ***
74
-
75
- ### toggle()
76
-
77
- > **toggle**(): `void`
78
-
79
- Defined in: [default-header/apps-button/apps-button.component.ts:45](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/apps-button/apps-button.component.ts#L45)
80
-
81
- #### Returns
82
-
83
- `void`
@@ -1,19 +0,0 @@
1
- [**@rxap/layout**](../README.md)
2
-
3
- ***
4
-
5
- [@rxap/layout](../globals.md) / BaseLayoutComponent
6
-
7
- # Class: BaseLayoutComponent
8
-
9
- Defined in: [base-layout/base-layout.component.ts:18](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/base-layout/base-layout.component.ts#L18)
10
-
11
- ## Constructors
12
-
13
- ### new BaseLayoutComponent()
14
-
15
- > **new BaseLayoutComponent**(): [`BaseLayoutComponent`](BaseLayoutComponent.md)
16
-
17
- #### Returns
18
-
19
- [`BaseLayoutComponent`](BaseLayoutComponent.md)
@@ -1,59 +0,0 @@
1
- [**@rxap/layout**](../README.md)
2
-
3
- ***
4
-
5
- [@rxap/layout](../globals.md) / DefaultHeaderComponent
6
-
7
- # Class: DefaultHeaderComponent
8
-
9
- Defined in: [default-header/default-header.component.ts:36](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/default-header.component.ts#L36)
10
-
11
- ## Constructors
12
-
13
- ### new DefaultHeaderComponent()
14
-
15
- > **new DefaultHeaderComponent**(): [`DefaultHeaderComponent`](DefaultHeaderComponent.md)
16
-
17
- #### Returns
18
-
19
- [`DefaultHeaderComponent`](DefaultHeaderComponent.md)
20
-
21
- ## Properties
22
-
23
- ### collapsable
24
-
25
- > `readonly` **collapsable**: `Signal`\<`boolean`\>
26
-
27
- Defined in: [default-header/default-header.component.ts:40](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/default-header.component.ts#L40)
28
-
29
- ***
30
-
31
- ### hasPortals
32
-
33
- > `readonly` **hasPortals**: `Signal`\<`boolean`\>
34
-
35
- Defined in: [default-header/default-header.component.ts:47](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/default-header.component.ts#L47)
36
-
37
- ***
38
-
39
- ### opened
40
-
41
- > `readonly` **opened**: `Signal`\<`boolean`\>
42
-
43
- Defined in: [default-header/default-header.component.ts:41](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/default-header.component.ts#L41)
44
-
45
- ***
46
-
47
- ### portals
48
-
49
- > `readonly` **portals**: `Signal`\<`Portal`\<`unknown`\>[]\>
50
-
51
- Defined in: [default-header/default-header.component.ts:46](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/default-header.component.ts#L46)
52
-
53
- ***
54
-
55
- ### profile
56
-
57
- > `readonly` **profile**: `Signal`\<`unknown`\>
58
-
59
- Defined in: [default-header/default-header.component.ts:42](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/default-header.component.ts#L42)
@@ -1,87 +0,0 @@
1
- [**@rxap/layout**](../README.md)
2
-
3
- ***
4
-
5
- [@rxap/layout](../globals.md) / DefaultHeaderService
6
-
7
- # Class: DefaultHeaderService
8
-
9
- Defined in: [default-header/default-header.service.ts:21](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/default-header.service.ts#L21)
10
-
11
- ## Constructors
12
-
13
- ### new DefaultHeaderService()
14
-
15
- > **new DefaultHeaderService**(): [`DefaultHeaderService`](DefaultHeaderService.md)
16
-
17
- #### Returns
18
-
19
- [`DefaultHeaderService`](DefaultHeaderService.md)
20
-
21
- ## Properties
22
-
23
- ### portalCount
24
-
25
- > `readonly` **portalCount**: `Signal`\<`number`\>
26
-
27
- Defined in: [default-header/default-header.service.ts:42](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/default-header.service.ts#L42)
28
-
29
- Computes the count of portals.
30
-
31
- #### Returns
32
-
33
- The count of portals.
34
-
35
- ***
36
-
37
- ### portals
38
-
39
- > `readonly` **portals**: `Signal`\<`Portal`\<`unknown`\>[]\>
40
-
41
- Defined in: [default-header/default-header.service.ts:34](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/default-header.service.ts#L34)
42
-
43
- Represents an array of `Portal` objects with unknown type.
44
-
45
- ## Methods
46
-
47
- ### pushPortal()
48
-
49
- > **pushPortal**(`portal`): `void`
50
-
51
- Defined in: [default-header/default-header.service.ts:52](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/default-header.service.ts#L52)
52
-
53
- Adds a portal to the list of portals.
54
-
55
- #### Parameters
56
-
57
- ##### portal
58
-
59
- `Portal`\<`unknown`\>
60
-
61
- The portal to be added.
62
-
63
- #### Returns
64
-
65
- `void`
66
-
67
- ***
68
-
69
- ### removePortal()
70
-
71
- > **removePortal**(`portal`): `void`
72
-
73
- Defined in: [default-header/default-header.service.ts:68](https://gitlab.com/rxap/packages/-/blob/5c9d13911b2e801186e53ea55b76b15441bb2700/packages/angular/layout/src/lib/default-header/default-header.service.ts#L68)
74
-
75
- Removes a portal from the list of portals.
76
-
77
- #### Parameters
78
-
79
- ##### portal
80
-
81
- `Portal`\<`unknown`\>
82
-
83
- The portal to be removed.
84
-
85
- #### Returns
86
-
87
- `void`