@rxap/layout 19.1.0-dev.1 → 19.1.0-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.
- package/CHANGELOG.md +13 -0
- package/compodoc/changelog.html +11 -0
- package/compodoc/components/DefaultHeaderComponent.html +46 -13
- package/compodoc/components/NavigationItemComponent.html +54 -8
- package/compodoc/dependencies.html +3 -3
- package/compodoc/injectables/LayoutService.html +9 -9
- package/compodoc/injectables/LogoService.html +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +6 -6
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +1576 -1483
- 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 +4 -3
- 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 +6 -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 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +1 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +1 -1
- package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +1 -1
- package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +1 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +1 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AppsButtonComponent.md +8 -8
- package/docs/markdown/classes/BaseLayoutComponent.md +2 -2
- package/docs/markdown/classes/DefaultHeaderComponent.md +19 -11
- package/docs/markdown/classes/DefaultHeaderService.md +6 -6
- package/docs/markdown/classes/ExternalAppsService.md +18 -18
- package/docs/markdown/classes/FooterComponent.md +5 -5
- package/docs/markdown/classes/FooterDirective.md +4 -4
- package/docs/markdown/classes/FooterService.md +6 -6
- package/docs/markdown/classes/HeaderComponent.md +6 -6
- package/docs/markdown/classes/HeaderDirective.md +4 -4
- package/docs/markdown/classes/HeaderService.md +6 -6
- package/docs/markdown/classes/LayoutComponent.md +6 -6
- package/docs/markdown/classes/LayoutService.md +18 -18
- package/docs/markdown/classes/LogoService.md +6 -6
- package/docs/markdown/classes/MinimalLayoutComponent.md +2 -2
- package/docs/markdown/classes/NavigationComponent.md +14 -14
- package/docs/markdown/classes/NavigationItemComponent.md +31 -19
- package/docs/markdown/classes/NavigationProgressBarComponent.md +4 -4
- package/docs/markdown/classes/NavigationService.md +12 -12
- package/docs/markdown/classes/ReleaseInfoComponent.md +6 -6
- package/docs/markdown/classes/SettingsButtonComponent.md +19 -19
- package/docs/markdown/classes/SidenavComponent.md +18 -18
- package/docs/markdown/classes/SidenavFooterDirective.md +4 -4
- package/docs/markdown/classes/SidenavHeaderDirective.md +4 -4
- package/docs/markdown/classes/SidenavToggleButtonComponent.md +5 -5
- package/docs/markdown/classes/UserProfileIconComponent.md +7 -7
- package/docs/markdown/functions/IsNavigationDividerItem.md +2 -2
- package/docs/markdown/functions/IsNavigationInsertItem.md +2 -2
- package/docs/markdown/functions/IsNavigationItem.md +2 -2
- package/docs/markdown/functions/provideExternalApps.md +2 -2
- package/docs/markdown/functions/provideLayout.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderComponent.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderItems.md +2 -2
- package/docs/markdown/functions/withFooterComponents.md +2 -2
- package/docs/markdown/functions/withHeaderComponents.md +2 -2
- package/docs/markdown/functions/withNavigationConfig.md +2 -2
- package/docs/markdown/functions/withNavigationInserts.md +2 -2
- package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
- package/docs/markdown/functions/withSettingsMenuItems.md +2 -2
- package/docs/markdown/functions/withUserProfileDataSource.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/NavigationDividerItem.md +4 -4
- package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
- package/docs/markdown/interfaces/NavigationItem.md +7 -7
- package/docs/markdown/interfaces/NavigationStatus.md +3 -3
- package/docs/markdown/interfaces/ReleaseInfoModule.md +5 -5
- package/docs/markdown/interfaces/SettingsMenuItem.md +5 -5
- package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +2 -2
- package/docs/markdown/type-aliases/ExternalApp.md +2 -2
- package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +2 -2
- package/docs/markdown/type-aliases/Navigation.md +2 -2
- package/docs/markdown/type-aliases/NavigationWithInserts.md +2 -2
- package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +2 -2
- package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +2 -2
- package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_EXTERNAL_APP.md +2 -2
- package/docs/markdown/variables/RXAP_EXTERNAL_APP_FILTER.md +2 -2
- package/docs/markdown/variables/RXAP_FOOTER_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_HEADER_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_LAYOUT_APPS_GRID.md +2 -2
- package/docs/markdown/variables/RXAP_LOGO_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_LOGO_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
- package/docs/wiki/Class.AppsButtonComponent.md +7 -7
- package/docs/wiki/Class.BaseLayoutComponent.md +1 -1
- package/docs/wiki/Class.DefaultHeaderComponent.md +18 -10
- package/docs/wiki/Class.DefaultHeaderService.md +5 -5
- package/docs/wiki/Class.ExternalAppsService.md +17 -17
- package/docs/wiki/Class.FooterComponent.md +4 -4
- package/docs/wiki/Class.FooterDirective.md +3 -3
- package/docs/wiki/Class.FooterService.md +5 -5
- package/docs/wiki/Class.HeaderComponent.md +5 -5
- package/docs/wiki/Class.HeaderDirective.md +3 -3
- package/docs/wiki/Class.HeaderService.md +5 -5
- package/docs/wiki/Class.LayoutComponent.md +5 -5
- package/docs/wiki/Class.LayoutService.md +17 -17
- package/docs/wiki/Class.LogoService.md +5 -5
- package/docs/wiki/Class.MinimalLayoutComponent.md +1 -1
- package/docs/wiki/Class.NavigationComponent.md +13 -13
- package/docs/wiki/Class.NavigationItemComponent.md +30 -18
- package/docs/wiki/Class.NavigationProgressBarComponent.md +3 -3
- package/docs/wiki/Class.NavigationService.md +11 -11
- package/docs/wiki/Class.ReleaseInfoComponent.md +5 -5
- package/docs/wiki/Class.SettingsButtonComponent.md +18 -18
- package/docs/wiki/Class.SidenavComponent.md +17 -17
- package/docs/wiki/Class.SidenavFooterDirective.md +3 -3
- package/docs/wiki/Class.SidenavHeaderDirective.md +3 -3
- package/docs/wiki/Class.SidenavToggleButtonComponent.md +4 -4
- package/docs/wiki/Class.UserProfileIconComponent.md +6 -6
- package/docs/wiki/Function.IsNavigationDividerItem.md +1 -1
- package/docs/wiki/Function.IsNavigationInsertItem.md +1 -1
- package/docs/wiki/Function.IsNavigationItem.md +1 -1
- package/docs/wiki/Function.provideExternalApps.md +1 -1
- package/docs/wiki/Function.provideLayout.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderComponent.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderItems.md +1 -1
- package/docs/wiki/Function.withFooterComponents.md +1 -1
- package/docs/wiki/Function.withHeaderComponents.md +1 -1
- package/docs/wiki/Function.withNavigationConfig.md +1 -1
- package/docs/wiki/Function.withNavigationInserts.md +1 -1
- package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
- package/docs/wiki/Function.withSettingsMenuItems.md +1 -1
- package/docs/wiki/Function.withUserProfileDataSource.md +1 -1
- package/docs/wiki/Interface.NavigationDividerItem.md +3 -3
- package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
- package/docs/wiki/Interface.NavigationItem.md +6 -6
- package/docs/wiki/Interface.NavigationStatus.md +2 -2
- package/docs/wiki/Interface.ReleaseInfoModule.md +4 -4
- package/docs/wiki/Interface.SettingsMenuItem.md +4 -4
- package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +1 -1
- package/docs/wiki/TypeAlias.ExternalApp.md +1 -1
- package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +1 -1
- package/docs/wiki/TypeAlias.Navigation.md +1 -1
- package/docs/wiki/TypeAlias.NavigationWithInserts.md +1 -1
- package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +1 -1
- package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +1 -1
- package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_EXTERNAL_APP.md +1 -1
- package/docs/wiki/Variable.RXAP_EXTERNAL_APP_FILTER.md +1 -1
- package/docs/wiki/Variable.RXAP_FOOTER_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_HEADER_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_LAYOUT_APPS_GRID.md +1 -1
- package/docs/wiki/Variable.RXAP_LOGO_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-layout.mjs +21 -15
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/lib/default-header/default-header.component.d.ts +2 -1
- package/lib/layout.service.d.ts +1 -1
- package/lib/navigation/navigation-item/navigation-item.component.d.ts +1 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
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.3](https://gitlab.com/rxap/packages/compare/@rxap/layout@19.1.0-dev.2...@rxap/layout@19.1.0-dev.3) (2025-05-12)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- provide the logo service at root ([1b77b42](https://gitlab.com/rxap/packages/commit/1b77b420066f60d036b6bc70cbd841ba88b6e63e))
|
|
11
|
+
|
|
12
|
+
# [19.1.0-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/layout@19.1.0-dev.1...@rxap/layout@19.1.0-dev.2) (2025-05-09)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **layout:** enhance navigation responsiveness for mobile and collapsed states ([0884432](https://gitlab.com/rxap/packages/commit/0884432174dadc54c503535af3c67f1a29dcedb5))
|
|
17
|
+
- **layout:** make mobile query configurable in navigation config ([549eca1](https://gitlab.com/rxap/packages/commit/549eca12a27bb6b12b853e54bcd7408a710c42a6))
|
|
18
|
+
|
|
6
19
|
# [19.1.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/layout@19.1.0-dev.0...@rxap/layout@19.1.0-dev.1) (2025-04-30)
|
|
7
20
|
|
|
8
21
|
### Features
|
package/compodoc/changelog.html
CHANGED
|
@@ -85,6 +85,17 @@
|
|
|
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.1.0-dev.2...@rxap/layout@19.1.0-dev.3">19.1.0-dev.3</a> (2025-05-12)</h1>
|
|
89
|
+
<h3>Bug Fixes</h3>
|
|
90
|
+
<ul>
|
|
91
|
+
<li>provide the logo service at root (<a href="https://gitlab.com/rxap/packages/commit/1b77b420066f60d036b6bc70cbd841ba88b6e63e">1b77b42</a>)</li>
|
|
92
|
+
</ul>
|
|
93
|
+
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/layout@19.1.0-dev.1...@rxap/layout@19.1.0-dev.2">19.1.0-dev.2</a> (2025-05-09)</h1>
|
|
94
|
+
<h3>Features</h3>
|
|
95
|
+
<ul>
|
|
96
|
+
<li><strong>layout:</strong> enhance navigation responsiveness for mobile and collapsed states (<a href="https://gitlab.com/rxap/packages/commit/0884432174dadc54c503535af3c67f1a29dcedb5">0884432</a>)</li>
|
|
97
|
+
<li><strong>layout:</strong> make mobile query configurable in navigation config (<a href="https://gitlab.com/rxap/packages/commit/549eca12a27bb6b12b853e54bcd7408a710c42a6">549eca1</a>)</li>
|
|
98
|
+
</ul>
|
|
88
99
|
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/layout@19.1.0-dev.0...@rxap/layout@19.1.0-dev.1">19.1.0-dev.1</a> (2025-04-30)</h1>
|
|
89
100
|
<h3>Features</h3>
|
|
90
101
|
<ul>
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
<li>
|
|
205
205
|
<span class="modifier">Public</span>
|
|
206
206
|
<span class="modifier">Readonly</span>
|
|
207
|
-
<a href="#
|
|
207
|
+
<a href="#collapsed" >collapsed</a>
|
|
208
208
|
</li>
|
|
209
209
|
<li>
|
|
210
210
|
<span class="modifier">Protected</span>
|
|
@@ -216,6 +216,11 @@
|
|
|
216
216
|
<span class="modifier">Readonly</span>
|
|
217
217
|
<a href="#hasPortals" >hasPortals</a>
|
|
218
218
|
</li>
|
|
219
|
+
<li>
|
|
220
|
+
<span class="modifier">Public</span>
|
|
221
|
+
<span class="modifier">Readonly</span>
|
|
222
|
+
<a href="#isMobile" >isMobile</a>
|
|
223
|
+
</li>
|
|
219
224
|
<li>
|
|
220
225
|
<span class="modifier">Protected</span>
|
|
221
226
|
<span class="modifier">Readonly</span>
|
|
@@ -264,18 +269,18 @@
|
|
|
264
269
|
<tbody>
|
|
265
270
|
<tr>
|
|
266
271
|
<td class="col-md-4">
|
|
267
|
-
<a name="
|
|
272
|
+
<a name="collapsed"></a>
|
|
268
273
|
<span class="name">
|
|
269
274
|
<span class="modifier">Public</span>
|
|
270
275
|
<span class="modifier">Readonly</span>
|
|
271
|
-
<span ><b>
|
|
272
|
-
<a href="#
|
|
276
|
+
<span ><b>collapsed</b></span>
|
|
277
|
+
<a href="#collapsed"><span class="icon ion-ios-link"></span></a>
|
|
273
278
|
</span>
|
|
274
279
|
</td>
|
|
275
280
|
</tr>
|
|
276
281
|
<tr>
|
|
277
282
|
<td class="col-md-4">
|
|
278
|
-
<i>Default value : </i><code>computed(() => this.layoutComponentService.
|
|
283
|
+
<i>Default value : </i><code>computed(() => this.layoutComponentService.collapsed())</code>
|
|
279
284
|
</td>
|
|
280
285
|
</tr>
|
|
281
286
|
<tr>
|
|
@@ -307,7 +312,7 @@
|
|
|
307
312
|
</tr>
|
|
308
313
|
<tr>
|
|
309
314
|
<td class="col-md-4">
|
|
310
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
315
|
+
<div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">src/lib/default-header/default-header.component.ts:45</a></div>
|
|
311
316
|
</td>
|
|
312
317
|
</tr>
|
|
313
318
|
|
|
@@ -334,7 +339,34 @@
|
|
|
334
339
|
</tr>
|
|
335
340
|
<tr>
|
|
336
341
|
<td class="col-md-4">
|
|
337
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
342
|
+
<div class="io-line">Defined in <a href="" data-line="48" class="link-to-prism">src/lib/default-header/default-header.component.ts:48</a></div>
|
|
343
|
+
</td>
|
|
344
|
+
</tr>
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
</tbody>
|
|
348
|
+
</table>
|
|
349
|
+
<table class="table table-sm table-bordered">
|
|
350
|
+
<tbody>
|
|
351
|
+
<tr>
|
|
352
|
+
<td class="col-md-4">
|
|
353
|
+
<a name="isMobile"></a>
|
|
354
|
+
<span class="name">
|
|
355
|
+
<span class="modifier">Public</span>
|
|
356
|
+
<span class="modifier">Readonly</span>
|
|
357
|
+
<span ><b>isMobile</b></span>
|
|
358
|
+
<a href="#isMobile"><span class="icon ion-ios-link"></span></a>
|
|
359
|
+
</span>
|
|
360
|
+
</td>
|
|
361
|
+
</tr>
|
|
362
|
+
<tr>
|
|
363
|
+
<td class="col-md-4">
|
|
364
|
+
<i>Default value : </i><code>computed(() => this.layoutComponentService.isMobile())</code>
|
|
365
|
+
</td>
|
|
366
|
+
</tr>
|
|
367
|
+
<tr>
|
|
368
|
+
<td class="col-md-4">
|
|
369
|
+
<div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/default-header/default-header.component.ts:41</a></div>
|
|
338
370
|
</td>
|
|
339
371
|
</tr>
|
|
340
372
|
|
|
@@ -388,7 +420,7 @@
|
|
|
388
420
|
</tr>
|
|
389
421
|
<tr>
|
|
390
422
|
<td class="col-md-4">
|
|
391
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
423
|
+
<div class="io-line">Defined in <a href="" data-line="42" class="link-to-prism">src/lib/default-header/default-header.component.ts:42</a></div>
|
|
392
424
|
</td>
|
|
393
425
|
</tr>
|
|
394
426
|
|
|
@@ -415,7 +447,7 @@
|
|
|
415
447
|
</tr>
|
|
416
448
|
<tr>
|
|
417
449
|
<td class="col-md-4">
|
|
418
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
450
|
+
<div class="io-line">Defined in <a href="" data-line="47" class="link-to-prism">src/lib/default-header/default-header.component.ts:47</a></div>
|
|
419
451
|
</td>
|
|
420
452
|
</tr>
|
|
421
453
|
|
|
@@ -442,7 +474,7 @@
|
|
|
442
474
|
</tr>
|
|
443
475
|
<tr>
|
|
444
476
|
<td class="col-md-4">
|
|
445
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
477
|
+
<div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/default-header/default-header.component.ts:43</a></div>
|
|
446
478
|
</td>
|
|
447
479
|
</tr>
|
|
448
480
|
|
|
@@ -494,7 +526,8 @@ export class DefaultHeaderComponent {
|
|
|
494
526
|
|
|
495
527
|
protected readonly layoutComponentService = inject(LayoutService);
|
|
496
528
|
|
|
497
|
-
public readonly
|
|
529
|
+
public readonly collapsed = computed(() => this.layoutComponentService.collapsed());
|
|
530
|
+
public readonly isMobile = computed(() => this.layoutComponentService.isMobile());
|
|
498
531
|
public readonly opened = computed(() => this.layoutComponentService.opened());
|
|
499
532
|
public readonly profile = toSignal(inject(RXAP_USER_PROFILE_DATA_SOURCE).connect('user-profile'), { initialValue: null });
|
|
500
533
|
|
|
@@ -509,7 +542,7 @@ export class DefaultHeaderComponent {
|
|
|
509
542
|
|
|
510
543
|
<div class="tab-pane fade " id="templateData">
|
|
511
544
|
<pre class="line-numbers"><code class="language-html"><div class="w-full flex flex-row gap-x-4 justify-between items-center">
|
|
512
|
-
@if (
|
|
545
|
+
@if (collapsed() || isMobile()) {
|
|
513
546
|
<rxap-sidenav-toggle-button></rxap-sidenav-toggle-button>
|
|
514
547
|
}
|
|
515
548
|
<div class="grow flex flex-row gap-x-4 items-center">
|
|
@@ -553,7 +586,7 @@ export class DefaultHeaderComponent {
|
|
|
553
586
|
<script src="../js/libs/htmlparser.js"></script>
|
|
554
587
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
555
588
|
<script>
|
|
556
|
-
var COMPONENT_TEMPLATE = '<div><div class="w-full flex flex-row gap-x-4 justify-between items-center"> @if (
|
|
589
|
+
var COMPONENT_TEMPLATE = '<div><div class="w-full flex flex-row gap-x-4 justify-between items-center"> @if (collapsed() || isMobile()) { <rxap-sidenav-toggle-button></rxap-sidenav-toggle-button> } <div class="grow flex flex-row gap-x-4 items-center"> @for (portal of portals(); track portal) { <ng-template [cdkPortalOutlet]="portal"></ng-template> } <ng-content></ng-content> </div> <rxap-apps-button class="grow-0"></rxap-apps-button> <rxap-settings-button class="grow-0"></rxap-settings-button> @if (profile(); as profile) { <rxap-user-profile-icon [profile]="profile" class="grow-0"></rxap-user-profile-icon> }</div></div>'
|
|
557
590
|
var COMPONENTS = [{'name': 'AppsButtonComponent', 'selector': 'rxap-apps-button'},{'name': 'BaseLayoutComponent', 'selector': 'rxap-base-layout'},{'name': 'DefaultHeaderComponent', 'selector': 'rxap-default-header'},{'name': 'FooterComponent', 'selector': 'rxap-footer'},{'name': 'HeaderComponent', 'selector': 'rxap-header'},{'name': 'LayoutComponent', 'selector': 'rxap-layout'},{'name': 'MinimalLayoutComponent', 'selector': 'rxap-minimal-layout'},{'name': 'NavigationComponent', 'selector': 'ul[rxap-navigation]'},{'name': 'NavigationItemComponent', 'selector': 'li[rxap-navigation-item]'},{'name': 'NavigationProgressBarComponent', 'selector': 'rxap-navigation-progress-bar'},{'name': 'ReleaseInfoComponent', 'selector': 'rxap-release-info'},{'name': 'SettingsButtonComponent', 'selector': 'rxap-settings-button'},{'name': 'SidenavComponent', 'selector': 'rxap-sidenav'},{'name': 'SidenavToggleButtonComponent', 'selector': 'rxap-sidenav-toggle-button'},{'name': 'UserProfileIconComponent', 'selector': 'rxap-user-profile-icon'}];
|
|
558
591
|
var DIRECTIVES = [{'name': 'FooterDirective', 'selector': '[rxapFooter]'},{'name': 'HeaderDirective', 'selector': '[rxapHeader]'},{'name': 'SidenavFooterDirective', 'selector': '[rxapSidenavFooter]'},{'name': 'SidenavHeaderDirective', 'selector': '[rxapSidenavHeader]'}];
|
|
559
592
|
var ACTUAL_COMPONENT = {'name': 'DefaultHeaderComponent'};
|
|
@@ -294,6 +294,9 @@
|
|
|
294
294
|
<span class="modifier">Public</span>
|
|
295
295
|
<a href="#isNavigationItem" >isNavigationItem</a>
|
|
296
296
|
</li>
|
|
297
|
+
<li>
|
|
298
|
+
<a href="#onClick" >onClick</a>
|
|
299
|
+
</li>
|
|
297
300
|
</ul>
|
|
298
301
|
</td>
|
|
299
302
|
</tr>
|
|
@@ -397,8 +400,8 @@
|
|
|
397
400
|
|
|
398
401
|
<tr>
|
|
399
402
|
<td class="col-md-4">
|
|
400
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
401
|
-
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:
|
|
403
|
+
<div class="io-line">Defined in <a href="" data-line="188"
|
|
404
|
+
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:188</a></div>
|
|
402
405
|
</td>
|
|
403
406
|
</tr>
|
|
404
407
|
|
|
@@ -466,8 +469,8 @@
|
|
|
466
469
|
|
|
467
470
|
<tr>
|
|
468
471
|
<td class="col-md-4">
|
|
469
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
470
|
-
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:
|
|
472
|
+
<div class="io-line">Defined in <a href="" data-line="176"
|
|
473
|
+
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:176</a></div>
|
|
471
474
|
</td>
|
|
472
475
|
</tr>
|
|
473
476
|
|
|
@@ -535,8 +538,8 @@
|
|
|
535
538
|
|
|
536
539
|
<tr>
|
|
537
540
|
<td class="col-md-4">
|
|
538
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
539
|
-
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:
|
|
541
|
+
<div class="io-line">Defined in <a href="" data-line="182"
|
|
542
|
+
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:182</a></div>
|
|
540
543
|
</td>
|
|
541
544
|
</tr>
|
|
542
545
|
|
|
@@ -582,6 +585,43 @@
|
|
|
582
585
|
</tr>
|
|
583
586
|
</tbody>
|
|
584
587
|
</table>
|
|
588
|
+
<table class="table table-sm table-bordered">
|
|
589
|
+
<tbody>
|
|
590
|
+
<tr>
|
|
591
|
+
<td class="col-md-4">
|
|
592
|
+
<a name="onClick"></a>
|
|
593
|
+
<span class="name">
|
|
594
|
+
<span ><b>onClick</b></span>
|
|
595
|
+
<a href="#onClick"><span class="icon ion-ios-link"></span></a>
|
|
596
|
+
</span>
|
|
597
|
+
</td>
|
|
598
|
+
</tr>
|
|
599
|
+
<tr>
|
|
600
|
+
<td class="col-md-4">
|
|
601
|
+
<code>onClick()</code>
|
|
602
|
+
</td>
|
|
603
|
+
</tr>
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
<tr>
|
|
607
|
+
<td class="col-md-4">
|
|
608
|
+
<div class="io-line">Defined in <a href="" data-line="119"
|
|
609
|
+
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:119</a></div>
|
|
610
|
+
</td>
|
|
611
|
+
</tr>
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
<tr>
|
|
615
|
+
<td class="col-md-4">
|
|
616
|
+
|
|
617
|
+
<div class="io-description">
|
|
618
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
619
|
+
|
|
620
|
+
</div>
|
|
621
|
+
</td>
|
|
622
|
+
</tr>
|
|
623
|
+
</tbody>
|
|
624
|
+
</table>
|
|
585
625
|
</section>
|
|
586
626
|
<section data-compodoc="block-properties">
|
|
587
627
|
|
|
@@ -1015,6 +1055,12 @@ export class NavigationItemComponent
|
|
|
1015
1055
|
protected readonly elementRef = inject(ElementRef);
|
|
1016
1056
|
protected readonly renderer = inject(Renderer2);
|
|
1017
1057
|
|
|
1058
|
+
onClick() {
|
|
1059
|
+
if (this.layoutService.isMobile() || this.layoutService.collapsed()) {
|
|
1060
|
+
this.layoutService.opened.set(false);
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1018
1064
|
public ngOnChanges(changes: SimpleChanges) {
|
|
1019
1065
|
if (changes['item']) {
|
|
1020
1066
|
const item: NavigationItem = changes['item'].currentValue;
|
|
@@ -1100,7 +1146,7 @@ export class NavigationItemComponent
|
|
|
1100
1146
|
class="h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4"
|
|
1101
1147
|
matRipple
|
|
1102
1148
|
routerLinkActive
|
|
1103
|
-
|
|
1149
|
+
(click)="onClick()"
|
|
1104
1150
|
>
|
|
1105
1151
|
<span
|
|
1106
1152
|
[ngClass]="itemClasses()"
|
|
@@ -1161,7 +1207,7 @@ export class NavigationItemComponent
|
|
|
1161
1207
|
<script src="../js/libs/htmlparser.js"></script>
|
|
1162
1208
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
1163
1209
|
<script>
|
|
1164
|
-
var COMPONENT_TEMPLATE = '<div><div [ngClass]="{ \'border-l-4 text-accent-400 border-accent-600\': active(), }"> <a [routerLink]="item().routerLink" class="h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4" matRipple routerLinkActive > <span [ngClass]="itemClasses()" class="grow whitespace-nowrap" > {{ item().label }} </span> <mat-icon *ngIf="item().icon as icon" [rxapIcon]="icon"></mat-icon> </a> <ng-container *ngIf="item().children?.length && active()"> <mat-divider></mat-divider> <ul [@sub-nav] [items]="children ?? []" [level]="level() + 1" rxap-navigation > </ul> <mat-divider></mat-divider> </ng-container></div></div>'
|
|
1210
|
+
var COMPONENT_TEMPLATE = '<div><div [ngClass]="{ \'border-l-4 text-accent-400 border-accent-600\': active(), }"> <a [routerLink]="item().routerLink" class="h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4" matRipple routerLinkActive (click)="onClick()" > <span [ngClass]="itemClasses()" class="grow whitespace-nowrap" > {{ item().label }} </span> <mat-icon *ngIf="item().icon as icon" [rxapIcon]="icon"></mat-icon> </a> <ng-container *ngIf="item().children?.length && active()"> <mat-divider></mat-divider> <ul [@sub-nav] [items]="children ?? []" [level]="level() + 1" rxap-navigation > </ul> <mat-divider></mat-divider> </ng-container></div></div>'
|
|
1165
1211
|
var COMPONENTS = [{'name': 'AppsButtonComponent', 'selector': 'rxap-apps-button'},{'name': 'BaseLayoutComponent', 'selector': 'rxap-base-layout'},{'name': 'DefaultHeaderComponent', 'selector': 'rxap-default-header'},{'name': 'FooterComponent', 'selector': 'rxap-footer'},{'name': 'HeaderComponent', 'selector': 'rxap-header'},{'name': 'LayoutComponent', 'selector': 'rxap-layout'},{'name': 'MinimalLayoutComponent', 'selector': 'rxap-minimal-layout'},{'name': 'NavigationComponent', 'selector': 'ul[rxap-navigation]'},{'name': 'NavigationItemComponent', 'selector': 'li[rxap-navigation-item]'},{'name': 'NavigationProgressBarComponent', 'selector': 'rxap-navigation-progress-bar'},{'name': 'ReleaseInfoComponent', 'selector': 'rxap-release-info'},{'name': 'SettingsButtonComponent', 'selector': 'rxap-settings-button'},{'name': 'SidenavComponent', 'selector': 'rxap-sidenav'},{'name': 'SidenavToggleButtonComponent', 'selector': 'rxap-sidenav-toggle-button'},{'name': 'UserProfileIconComponent', 'selector': 'rxap-user-profile-icon'}];
|
|
1166
1212
|
var DIRECTIVES = [{'name': 'FooterDirective', 'selector': '[rxapFooter]'},{'name': 'HeaderDirective', 'selector': '[rxapHeader]'},{'name': 'SidenavFooterDirective', 'selector': '[rxapSidenavFooter]'},{'name': 'SidenavHeaderDirective', 'selector': '[rxapSidenavHeader]'}];
|
|
1167
1213
|
var ACTUAL_COMPONENT = {'name': 'NavigationItemComponent'};
|
|
@@ -133,9 +133,9 @@
|
|
|
133
133
|
<li>
|
|
134
134
|
<b>@rxap/browser-utilities</b> : ^1.1.13-dev.0</li>
|
|
135
135
|
<li>
|
|
136
|
-
<b>@rxap/config</b> : ^19.0
|
|
136
|
+
<b>@rxap/config</b> : ^19.1.0-dev.1</li>
|
|
137
137
|
<li>
|
|
138
|
-
<b>@rxap/data-source</b> : ^19.1.0-dev.
|
|
138
|
+
<b>@rxap/data-source</b> : ^19.1.0-dev.2</li>
|
|
139
139
|
<li>
|
|
140
140
|
<b>@rxap/environment</b> : ^19.0.4-dev.0</li>
|
|
141
141
|
<li>
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
<li>
|
|
144
144
|
<b>@rxap/ngx-pub-sub</b> : ^19.0.4-dev.0</li>
|
|
145
145
|
<li>
|
|
146
|
-
<b>@rxap/ngx-theme</b> : ^19.1.0-dev.
|
|
146
|
+
<b>@rxap/ngx-theme</b> : ^19.1.0-dev.4</li>
|
|
147
147
|
<li>
|
|
148
148
|
<b>@rxap/pattern</b> : ^1.1.14-dev.0</li>
|
|
149
149
|
<li>
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
<tbody>
|
|
229
229
|
<tr>
|
|
230
230
|
<td class="col-md-4">
|
|
231
|
-
<code>constructor(navigationConfigDefaults: <a href="../undefineds/Navigation.html" target="_self">Omit<NavigationConfig | apps>
|
|
231
|
+
<code>constructor(navigationConfigDefaults: <a href="../undefineds/Navigation.html" target="_self">Omit<NavigationConfig | apps> | null</a>)</code>
|
|
232
232
|
</td>
|
|
233
233
|
</tr>
|
|
234
234
|
<tr>
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
<td>navigationConfigDefaults</td>
|
|
255
255
|
|
|
256
256
|
<td>
|
|
257
|
-
<code><a href="../miscellaneous/typealiases.html#Navigation" target="_self" >Omit<NavigationConfig | apps>
|
|
257
|
+
<code><a href="../miscellaneous/typealiases.html#Navigation" target="_self" >Omit<NavigationConfig | apps> | null</a></code>
|
|
258
258
|
</td>
|
|
259
259
|
|
|
260
260
|
<td>
|
|
@@ -766,21 +766,21 @@ export class LayoutService {
|
|
|
766
766
|
constructor(
|
|
767
767
|
@Inject(RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS)
|
|
768
768
|
@Optional()
|
|
769
|
-
navigationConfigDefaults: Omit<NavigationConfig, 'apps'> =
|
|
769
|
+
navigationConfigDefaults: Omit<NavigationConfig, 'apps'> | null = null,
|
|
770
770
|
) {
|
|
771
|
-
const mobileQuery = this.mediaMatcher.matchMedia('(max-width: 959px)');
|
|
771
|
+
const mobileQuery = this.mediaMatcher.matchMedia(navigationConfigDefaults?.mobileQuery ?? '(max-width: 959px)');
|
|
772
772
|
this.isMobile = toSignal(new Observable<boolean>(subscriber => {
|
|
773
773
|
mobileQuery.addEventListener('change', (event) => {
|
|
774
774
|
subscriber.next(event.matches);
|
|
775
775
|
});
|
|
776
776
|
}), { initialValue: mobileQuery.matches });
|
|
777
777
|
|
|
778
|
-
const initialCollapsable = this.config.get('navigation.collapsable', navigationConfigDefaults
|
|
778
|
+
const initialCollapsable = this.config.get('navigation.collapsable', navigationConfigDefaults?.collapsable ?? true);
|
|
779
779
|
const collapsable = initialCollapsable && !this.isMobile();
|
|
780
|
-
const pinned = this.config.get('navigation.pinned', navigationConfigDefaults
|
|
781
|
-
const mode = this.config.get('navigation.mode', navigationConfigDefaults
|
|
782
|
-
const opened = this.config.get('navigation.opened', (navigationConfigDefaults
|
|
783
|
-
const fixedInViewport = this.config.get('navigation.fixedInViewport', navigationConfigDefaults
|
|
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);
|
|
784
784
|
|
|
785
785
|
if (isDevMode()) {
|
|
786
786
|
console.log({
|