@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.
- package/CHANGELOG.md +10 -0
- package/compodoc/changelog.html +7 -0
- package/compodoc/dependencies.html +2 -2
- package/compodoc/injectables/LayoutService.html +67 -27
- package/compodoc/injectables/LogoService.html +10 -7
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +4 -4
- 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 +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [19.1.0-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/layout@19.0.4-dev.5...@rxap/layout@19.1.0-dev.0) (2025-04-29)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **layout:** add support for default logo and navigation config tokens ([bbdfdf8](https://gitlab.com/rxap/packages/commit/bbdfdf85a55a0964451eb132c49b22a1c6797d2b))
|
|
11
|
+
|
|
12
|
+
## [19.0.4-dev.5](https://gitlab.com/rxap/packages/compare/@rxap/layout@19.0.4-dev.4...@rxap/layout@19.0.4-dev.5) (2025-04-14)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @rxap/layout
|
|
15
|
+
|
|
6
16
|
## [19.0.4-dev.4](https://gitlab.com/rxap/packages/compare/@rxap/layout@19.0.4-dev.3...@rxap/layout@19.0.4-dev.4) (2025-04-07)
|
|
7
17
|
|
|
8
18
|
### Bug Fixes
|
package/compodoc/changelog.html
CHANGED
|
@@ -85,6 +85,13 @@
|
|
|
85
85
|
<h1>Change Log</h1>
|
|
86
86
|
<p>All notable changes to this project will be documented in this file.
|
|
87
87
|
See <a href="https://conventionalcommits.org">Conventional Commits</a> for commit guidelines.</p>
|
|
88
|
+
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/layout@19.0.4-dev.5...@rxap/layout@19.1.0-dev.0">19.1.0-dev.0</a> (2025-04-29)</h1>
|
|
89
|
+
<h3>Features</h3>
|
|
90
|
+
<ul>
|
|
91
|
+
<li><strong>layout:</strong> add support for default logo and navigation config tokens (<a href="https://gitlab.com/rxap/packages/commit/bbdfdf85a55a0964451eb132c49b22a1c6797d2b">bbdfdf8</a>)</li>
|
|
92
|
+
</ul>
|
|
93
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/layout@19.0.4-dev.4...@rxap/layout@19.0.4-dev.5">19.0.4-dev.5</a> (2025-04-14)</h2>
|
|
94
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/layout</p>
|
|
88
95
|
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/layout@19.0.4-dev.3...@rxap/layout@19.0.4-dev.4">19.0.4-dev.4</a> (2025-04-07)</h2>
|
|
89
96
|
<h3>Bug Fixes</h3>
|
|
90
97
|
<ul>
|
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
<li>
|
|
106
106
|
<b>@rxap/ts-morph</b> : ^1.5.5-dev.0</li>
|
|
107
107
|
<li>
|
|
108
|
-
<b>@rxap/workspace-ts-morph</b> : ^19.1.12-dev.
|
|
108
|
+
<b>@rxap/workspace-ts-morph</b> : ^19.1.12-dev.4</li>
|
|
109
109
|
<li>
|
|
110
|
-
<b>@rxap/workspace-utilities</b> : ^19.8.0-dev.
|
|
110
|
+
<b>@rxap/workspace-utilities</b> : ^19.8.0-dev.4</li>
|
|
111
111
|
<li>
|
|
112
112
|
<b>tslib</b> : 2.6.2</li>
|
|
113
113
|
</ul>
|
|
@@ -228,15 +228,45 @@
|
|
|
228
228
|
<tbody>
|
|
229
229
|
<tr>
|
|
230
230
|
<td class="col-md-4">
|
|
231
|
-
<code>constructor()</code>
|
|
231
|
+
<code>constructor(navigationConfigDefaults: <a href="../undefineds/Navigation.html" target="_self">Omit<NavigationConfig | apps></a>)</code>
|
|
232
232
|
</td>
|
|
233
233
|
</tr>
|
|
234
234
|
<tr>
|
|
235
235
|
<td class="col-md-4">
|
|
236
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
236
|
+
<div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/layout.service.ts:43</a></div>
|
|
237
237
|
</td>
|
|
238
238
|
</tr>
|
|
239
239
|
|
|
240
|
+
<tr>
|
|
241
|
+
<td class="col-md-4">
|
|
242
|
+
<div>
|
|
243
|
+
<b>Parameters :</b>
|
|
244
|
+
<table class="params">
|
|
245
|
+
<thead>
|
|
246
|
+
<tr>
|
|
247
|
+
<td>Name</td>
|
|
248
|
+
<td>Type</td>
|
|
249
|
+
<td>Optional</td>
|
|
250
|
+
</tr>
|
|
251
|
+
</thead>
|
|
252
|
+
<tbody>
|
|
253
|
+
<tr>
|
|
254
|
+
<td>navigationConfigDefaults</td>
|
|
255
|
+
|
|
256
|
+
<td>
|
|
257
|
+
<code><a href="../miscellaneous/typealiases.html#Navigation" target="_self" >Omit<NavigationConfig | apps></a></code>
|
|
258
|
+
</td>
|
|
259
|
+
|
|
260
|
+
<td>
|
|
261
|
+
No
|
|
262
|
+
</td>
|
|
263
|
+
|
|
264
|
+
</tr>
|
|
265
|
+
</tbody>
|
|
266
|
+
</table>
|
|
267
|
+
</div>
|
|
268
|
+
</td>
|
|
269
|
+
</tr>
|
|
240
270
|
</tbody>
|
|
241
271
|
</table>
|
|
242
272
|
</section>
|
|
@@ -266,8 +296,8 @@
|
|
|
266
296
|
|
|
267
297
|
<tr>
|
|
268
298
|
<td class="col-md-4">
|
|
269
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
270
|
-
class="link-to-prism">src/lib/layout.service.ts:
|
|
299
|
+
<div class="io-line">Defined in <a href="" data-line="126"
|
|
300
|
+
class="link-to-prism">src/lib/layout.service.ts:126</a></div>
|
|
271
301
|
</td>
|
|
272
302
|
</tr>
|
|
273
303
|
|
|
@@ -303,8 +333,8 @@
|
|
|
303
333
|
|
|
304
334
|
<tr>
|
|
305
335
|
<td class="col-md-4">
|
|
306
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
307
|
-
class="link-to-prism">src/lib/layout.service.ts:
|
|
336
|
+
<div class="io-line">Defined in <a href="" data-line="122"
|
|
337
|
+
class="link-to-prism">src/lib/layout.service.ts:122</a></div>
|
|
308
338
|
</td>
|
|
309
339
|
</tr>
|
|
310
340
|
|
|
@@ -342,8 +372,8 @@
|
|
|
342
372
|
|
|
343
373
|
<tr>
|
|
344
374
|
<td class="col-md-4">
|
|
345
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
346
|
-
class="link-to-prism">src/lib/layout.service.ts:
|
|
375
|
+
<div class="io-line">Defined in <a href="" data-line="114"
|
|
376
|
+
class="link-to-prism">src/lib/layout.service.ts:114</a></div>
|
|
347
377
|
</td>
|
|
348
378
|
</tr>
|
|
349
379
|
|
|
@@ -381,8 +411,8 @@
|
|
|
381
411
|
|
|
382
412
|
<tr>
|
|
383
413
|
<td class="col-md-4">
|
|
384
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
385
|
-
class="link-to-prism">src/lib/layout.service.ts:
|
|
414
|
+
<div class="io-line">Defined in <a href="" data-line="118"
|
|
415
|
+
class="link-to-prism">src/lib/layout.service.ts:118</a></div>
|
|
386
416
|
</td>
|
|
387
417
|
</tr>
|
|
388
418
|
|
|
@@ -425,7 +455,7 @@
|
|
|
425
455
|
</tr>
|
|
426
456
|
<tr>
|
|
427
457
|
<td class="col-md-4">
|
|
428
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
458
|
+
<div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">src/lib/layout.service.ts:32</a></div>
|
|
429
459
|
</td>
|
|
430
460
|
</tr>
|
|
431
461
|
|
|
@@ -453,7 +483,7 @@
|
|
|
453
483
|
</tr>
|
|
454
484
|
<tr>
|
|
455
485
|
<td class="col-md-4">
|
|
456
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
486
|
+
<div class="io-line">Defined in <a href="" data-line="38" class="link-to-prism">src/lib/layout.service.ts:38</a></div>
|
|
457
487
|
</td>
|
|
458
488
|
</tr>
|
|
459
489
|
|
|
@@ -480,7 +510,7 @@
|
|
|
480
510
|
</tr>
|
|
481
511
|
<tr>
|
|
482
512
|
<td class="col-md-4">
|
|
483
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
513
|
+
<div class="io-line">Defined in <a href="" data-line="35" class="link-to-prism">src/lib/layout.service.ts:35</a></div>
|
|
484
514
|
</td>
|
|
485
515
|
</tr>
|
|
486
516
|
|
|
@@ -508,7 +538,7 @@
|
|
|
508
538
|
</tr>
|
|
509
539
|
<tr>
|
|
510
540
|
<td class="col-md-4">
|
|
511
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
541
|
+
<div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/layout.service.ts:33</a></div>
|
|
512
542
|
</td>
|
|
513
543
|
</tr>
|
|
514
544
|
|
|
@@ -536,7 +566,7 @@
|
|
|
536
566
|
</tr>
|
|
537
567
|
<tr>
|
|
538
568
|
<td class="col-md-4">
|
|
539
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
569
|
+
<div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/lib/layout.service.ts:37</a></div>
|
|
540
570
|
</td>
|
|
541
571
|
</tr>
|
|
542
572
|
|
|
@@ -564,7 +594,7 @@
|
|
|
564
594
|
</tr>
|
|
565
595
|
<tr>
|
|
566
596
|
<td class="col-md-4">
|
|
567
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
597
|
+
<div class="io-line">Defined in <a href="" data-line="34" class="link-to-prism">src/lib/layout.service.ts:34</a></div>
|
|
568
598
|
</td>
|
|
569
599
|
</tr>
|
|
570
600
|
|
|
@@ -592,7 +622,7 @@
|
|
|
592
622
|
</tr>
|
|
593
623
|
<tr>
|
|
594
624
|
<td class="col-md-4">
|
|
595
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
625
|
+
<div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">src/lib/layout.service.ts:36</a></div>
|
|
596
626
|
</td>
|
|
597
627
|
</tr>
|
|
598
628
|
|
|
@@ -620,7 +650,7 @@
|
|
|
620
650
|
</tr>
|
|
621
651
|
<tr>
|
|
622
652
|
<td class="col-md-4">
|
|
623
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
653
|
+
<div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/lib/layout.service.ts:30</a></div>
|
|
624
654
|
</td>
|
|
625
655
|
</tr>
|
|
626
656
|
|
|
@@ -648,7 +678,7 @@
|
|
|
648
678
|
</tr>
|
|
649
679
|
<tr>
|
|
650
680
|
<td class="col-md-4">
|
|
651
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
681
|
+
<div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/layout.service.ts:29</a></div>
|
|
652
682
|
</td>
|
|
653
683
|
</tr>
|
|
654
684
|
|
|
@@ -676,7 +706,7 @@
|
|
|
676
706
|
</tr>
|
|
677
707
|
<tr>
|
|
678
708
|
<td class="col-md-4">
|
|
679
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
709
|
+
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/layout.service.ts:31</a></div>
|
|
680
710
|
</td>
|
|
681
711
|
</tr>
|
|
682
712
|
|
|
@@ -693,20 +723,26 @@
|
|
|
693
723
|
import {
|
|
694
724
|
computed,
|
|
695
725
|
effect,
|
|
726
|
+
Inject,
|
|
696
727
|
inject,
|
|
697
728
|
Injectable,
|
|
698
729
|
isDevMode,
|
|
730
|
+
Optional,
|
|
699
731
|
signal,
|
|
700
732
|
Signal,
|
|
701
733
|
WritableSignal,
|
|
702
734
|
} from '@angular/core';
|
|
703
735
|
import { toSignal } from '@angular/core/rxjs-interop';
|
|
704
736
|
import { MatDrawerMode } from '@angular/material/sidenav';
|
|
705
|
-
import {
|
|
737
|
+
import {
|
|
738
|
+
ConfigService,
|
|
739
|
+
NavigationConfig,
|
|
740
|
+
} from '@rxap/config';
|
|
706
741
|
import { ObserveCurrentThemeDensity } from '@rxap/ngx-theme';
|
|
707
742
|
import { Observable } from 'rxjs';
|
|
708
743
|
import { FooterService } from './footer.service';
|
|
709
744
|
import { HeaderService } from './header.service';
|
|
745
|
+
import { RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS } from './tokens';
|
|
710
746
|
|
|
711
747
|
@Injectable()
|
|
712
748
|
export class LayoutService {
|
|
@@ -727,7 +763,11 @@ export class LayoutService {
|
|
|
727
763
|
private readonly config = inject(ConfigService);
|
|
728
764
|
private readonly mediaMatcher = inject(MediaMatcher);
|
|
729
765
|
|
|
730
|
-
constructor(
|
|
766
|
+
constructor(
|
|
767
|
+
@Inject(RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS)
|
|
768
|
+
@Optional()
|
|
769
|
+
navigationConfigDefaults: Omit<NavigationConfig, 'apps'> = {},
|
|
770
|
+
) {
|
|
731
771
|
const mobileQuery = this.mediaMatcher.matchMedia('(max-width: 959px)');
|
|
732
772
|
this.isMobile = toSignal(new Observable<boolean>(subscriber => {
|
|
733
773
|
mobileQuery.addEventListener('change', (event) => {
|
|
@@ -735,12 +775,12 @@ export class LayoutService {
|
|
|
735
775
|
});
|
|
736
776
|
}), { initialValue: mobileQuery.matches });
|
|
737
777
|
|
|
738
|
-
const initialCollapsable = this.config.get('navigation.collapsable', true);
|
|
778
|
+
const initialCollapsable = this.config.get('navigation.collapsable', navigationConfigDefaults.collapsable ?? true);
|
|
739
779
|
const collapsable = initialCollapsable && !this.isMobile();
|
|
740
|
-
const pinned = this.config.get('navigation.pinned', false);
|
|
741
|
-
const mode = this.config.get('navigation.mode', pinned || !collapsable ? 'side' : 'over');
|
|
742
|
-
const opened = this.config.get('navigation.opened', (!collapsable || pinned) && !this.isMobile());
|
|
743
|
-
const fixedInViewport = this.config.get('navigation.fixedInViewport', true);
|
|
780
|
+
const pinned = this.config.get('navigation.pinned', navigationConfigDefaults.pinned ?? false);
|
|
781
|
+
const mode = this.config.get('navigation.mode', navigationConfigDefaults.mode ?? (pinned || !collapsable ? 'side' : 'over'));
|
|
782
|
+
const opened = this.config.get('navigation.opened', (navigationConfigDefaults.opened ?? (!collapsable || pinned)) && !this.isMobile());
|
|
783
|
+
const fixedInViewport = this.config.get('navigation.fixedInViewport', navigationConfigDefaults.fixedInViewport ?? true);
|
|
744
784
|
|
|
745
785
|
if (isDevMode()) {
|
|
746
786
|
console.log({
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
</tr>
|
|
195
195
|
<tr>
|
|
196
196
|
<td class="col-md-4">
|
|
197
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
197
|
+
<div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/lib/logo.service.ts:27</a></div>
|
|
198
198
|
</td>
|
|
199
199
|
</tr>
|
|
200
200
|
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
<td class="col-md-4">
|
|
219
219
|
<i>Default value : </i><code>signal(
|
|
220
220
|
inject(RXAP_LOGO_CONFIG, { optional: true }) ??
|
|
221
|
-
this.config.get('logo', {
|
|
221
|
+
this.config.get('logo', inject(RXAP_LOGO_CONFIG_DEFAULTS, { optional: true }) ?? {
|
|
222
222
|
src: 'logo.png',
|
|
223
223
|
width: 192,
|
|
224
224
|
}),
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
</tr>
|
|
228
228
|
<tr>
|
|
229
229
|
<td class="col-md-4">
|
|
230
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
230
|
+
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/lib/logo.service.ts:17</a></div>
|
|
231
231
|
</td>
|
|
232
232
|
</tr>
|
|
233
233
|
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
</tr>
|
|
255
255
|
<tr>
|
|
256
256
|
<td class="col-md-4">
|
|
257
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
257
|
+
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/logo.service.ts:25</a></div>
|
|
258
258
|
</td>
|
|
259
259
|
</tr>
|
|
260
260
|
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
</tr>
|
|
282
282
|
<tr>
|
|
283
283
|
<td class="col-md-4">
|
|
284
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
284
|
+
<div class="io-line">Defined in <a href="" data-line="26" class="link-to-prism">src/lib/logo.service.ts:26</a></div>
|
|
285
285
|
</td>
|
|
286
286
|
</tr>
|
|
287
287
|
|
|
@@ -301,7 +301,10 @@
|
|
|
301
301
|
signal,
|
|
302
302
|
} from '@angular/core';
|
|
303
303
|
import { ConfigService } from '@rxap/config';
|
|
304
|
-
import {
|
|
304
|
+
import {
|
|
305
|
+
RXAP_LOGO_CONFIG,
|
|
306
|
+
RXAP_LOGO_CONFIG_DEFAULTS,
|
|
307
|
+
} from './tokens';
|
|
305
308
|
|
|
306
309
|
@Injectable()
|
|
307
310
|
export class LogoService {
|
|
@@ -309,7 +312,7 @@ export class LogoService {
|
|
|
309
312
|
private readonly config = inject(ConfigService);
|
|
310
313
|
public readonly logo = signal(
|
|
311
314
|
inject(RXAP_LOGO_CONFIG, { optional: true }) ??
|
|
312
|
-
this.config.get('logo', {
|
|
315
|
+
this.config.get('logo', inject(RXAP_LOGO_CONFIG_DEFAULTS, { optional: true }) ?? {
|
|
313
316
|
src: 'logo.png',
|
|
314
317
|
width: 192,
|
|
315
318
|
}),
|