@rxap/layout 21.0.1-dev.0 → 21.0.1-dev.1
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 +28 -0
- package/compodoc/changelog.html +27 -0
- package/compodoc/components/AppsButtonComponent.html +26 -15
- package/compodoc/components/NavigationComponent.html +33 -70
- package/compodoc/components/NavigationItemComponent.html +88 -199
- package/compodoc/components/SidenavToggleButtonComponent.html +15 -5
- package/compodoc/dependencies.html +12 -12
- package/compodoc/directives/SidenavFooterDirective.html +4 -74
- package/compodoc/directives/SidenavHeaderDirective.html +4 -74
- package/compodoc/injectables/LayoutService.html +24 -67
- package/compodoc/injectables/NavigationService.html +20 -72
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +2034 -2785
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AppsButtonComponent.html +4 -10
- 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 +2 -9
- package/docs/html/classes/NavigationItemComponent.html +3 -19
- 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 +3 -3
- 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 +9 -33
- package/docs/markdown/classes/BaseLayoutComponent.md +2 -2
- package/docs/markdown/classes/DefaultHeaderComponent.md +10 -10
- 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 -24
- package/docs/markdown/classes/LogoService.md +6 -6
- package/docs/markdown/classes/MinimalLayoutComponent.md +2 -2
- package/docs/markdown/classes/NavigationComponent.md +16 -50
- package/docs/markdown/classes/NavigationItemComponent.md +19 -115
- package/docs/markdown/classes/NavigationProgressBarComponent.md +4 -4
- package/docs/markdown/classes/NavigationService.md +16 -26
- 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 -12
- package/docs/markdown/classes/SidenavHeaderDirective.md +4 -12
- 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 +8 -32
- package/docs/wiki/Class.BaseLayoutComponent.md +1 -1
- package/docs/wiki/Class.DefaultHeaderComponent.md +9 -9
- 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 -23
- package/docs/wiki/Class.LogoService.md +5 -5
- package/docs/wiki/Class.MinimalLayoutComponent.md +1 -1
- package/docs/wiki/Class.NavigationComponent.md +15 -49
- package/docs/wiki/Class.NavigationItemComponent.md +18 -114
- package/docs/wiki/Class.NavigationProgressBarComponent.md +3 -3
- package/docs/wiki/Class.NavigationService.md +15 -25
- 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 -11
- package/docs/wiki/Class.SidenavHeaderDirective.md +3 -11
- 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 +72 -141
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/package.json +27 -27
- package/src/generators/init/generator.spec.ts +228 -0
- package/types/rxap-layout.d.ts +23 -25
|
@@ -126,14 +126,6 @@
|
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
<p class="comment">
|
|
130
|
-
<h3>Implements</h3>
|
|
131
|
-
</p>
|
|
132
|
-
<p class="comment">
|
|
133
|
-
<code>OnChanges</code>
|
|
134
|
-
<code>OnDestroy</code>
|
|
135
|
-
<code>AfterViewInit</code>
|
|
136
|
-
</p>
|
|
137
129
|
|
|
138
130
|
|
|
139
131
|
<section data-compodoc="block-metadata">
|
|
@@ -154,6 +146,10 @@
|
|
|
154
146
|
|
|
155
147
|
|
|
156
148
|
|
|
149
|
+
<tr>
|
|
150
|
+
<td class="col-md-3">host</td>
|
|
151
|
+
<td class="col-md-9"><code>{<br>}</code></td>
|
|
152
|
+
</tr>
|
|
157
153
|
|
|
158
154
|
|
|
159
155
|
|
|
@@ -215,11 +211,6 @@
|
|
|
215
211
|
<tr>
|
|
216
212
|
<td class="col-md-4">
|
|
217
213
|
<ul class="index-list">
|
|
218
|
-
<li>
|
|
219
|
-
<span class="modifier">Protected</span>
|
|
220
|
-
<span class="modifier">Readonly</span>
|
|
221
|
-
<a href="#_subscription" >_subscription</a>
|
|
222
|
-
</li>
|
|
223
214
|
<li>
|
|
224
215
|
<span class="modifier">Public</span>
|
|
225
216
|
<span class="modifier">Readonly</span>
|
|
@@ -227,6 +218,7 @@
|
|
|
227
218
|
</li>
|
|
228
219
|
<li>
|
|
229
220
|
<span class="modifier">Public</span>
|
|
221
|
+
<span class="modifier">Readonly</span>
|
|
230
222
|
<a href="#children" >children</a>
|
|
231
223
|
</li>
|
|
232
224
|
<li>
|
|
@@ -234,11 +226,6 @@
|
|
|
234
226
|
<span class="modifier">Readonly</span>
|
|
235
227
|
<a href="#collapsed" >collapsed</a>
|
|
236
228
|
</li>
|
|
237
|
-
<li>
|
|
238
|
-
<span class="modifier">Protected</span>
|
|
239
|
-
<span class="modifier">Readonly</span>
|
|
240
|
-
<a href="#elementRef" >elementRef</a>
|
|
241
|
-
</li>
|
|
242
229
|
<li>
|
|
243
230
|
<span class="modifier">Public</span>
|
|
244
231
|
<span class="modifier">Readonly</span>
|
|
@@ -259,11 +246,6 @@
|
|
|
259
246
|
<span class="modifier">Readonly</span>
|
|
260
247
|
<a href="#level" >level</a>
|
|
261
248
|
</li>
|
|
262
|
-
<li>
|
|
263
|
-
<span class="modifier">Protected</span>
|
|
264
|
-
<span class="modifier">Readonly</span>
|
|
265
|
-
<a href="#renderer" >renderer</a>
|
|
266
|
-
</li>
|
|
267
249
|
<li>
|
|
268
250
|
<span class="modifier">Protected</span>
|
|
269
251
|
<span class="modifier">Readonly</span>
|
|
@@ -343,7 +325,7 @@
|
|
|
343
325
|
</tr>
|
|
344
326
|
<tr>
|
|
345
327
|
<td class="col-md-2" colspan="2">
|
|
346
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
328
|
+
<div class="io-line">Defined in <a href="" data-line="91" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:91</a></div>
|
|
347
329
|
</td>
|
|
348
330
|
</tr>
|
|
349
331
|
</tbody>
|
|
@@ -363,7 +345,7 @@
|
|
|
363
345
|
</tr>
|
|
364
346
|
<tr>
|
|
365
347
|
<td class="col-md-2" colspan="2">
|
|
366
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
348
|
+
<div class="io-line">Defined in <a href="" data-line="84" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:84</a></div>
|
|
367
349
|
</td>
|
|
368
350
|
</tr>
|
|
369
351
|
</tbody>
|
|
@@ -399,8 +381,8 @@
|
|
|
399
381
|
|
|
400
382
|
<tr>
|
|
401
383
|
<td class="col-md-4">
|
|
402
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
403
|
-
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:
|
|
384
|
+
<div class="io-line">Defined in <a href="" data-line="159"
|
|
385
|
+
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:159</a></div>
|
|
404
386
|
</td>
|
|
405
387
|
</tr>
|
|
406
388
|
|
|
@@ -468,8 +450,8 @@
|
|
|
468
450
|
|
|
469
451
|
<tr>
|
|
470
452
|
<td class="col-md-4">
|
|
471
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
472
|
-
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:
|
|
453
|
+
<div class="io-line">Defined in <a href="" data-line="147"
|
|
454
|
+
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:147</a></div>
|
|
473
455
|
</td>
|
|
474
456
|
</tr>
|
|
475
457
|
|
|
@@ -537,8 +519,8 @@
|
|
|
537
519
|
|
|
538
520
|
<tr>
|
|
539
521
|
<td class="col-md-4">
|
|
540
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
541
|
-
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:
|
|
522
|
+
<div class="io-line">Defined in <a href="" data-line="153"
|
|
523
|
+
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:153</a></div>
|
|
542
524
|
</td>
|
|
543
525
|
</tr>
|
|
544
526
|
|
|
@@ -604,8 +586,8 @@
|
|
|
604
586
|
|
|
605
587
|
<tr>
|
|
606
588
|
<td class="col-md-4">
|
|
607
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
608
|
-
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:
|
|
589
|
+
<div class="io-line">Defined in <a href="" data-line="137"
|
|
590
|
+
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:137</a></div>
|
|
609
591
|
</td>
|
|
610
592
|
</tr>
|
|
611
593
|
|
|
@@ -627,33 +609,6 @@
|
|
|
627
609
|
<h3 id="inputs">
|
|
628
610
|
Properties
|
|
629
611
|
</h3>
|
|
630
|
-
<table class="table table-sm table-bordered">
|
|
631
|
-
<tbody>
|
|
632
|
-
<tr>
|
|
633
|
-
<td class="col-md-4">
|
|
634
|
-
<a name="_subscription"></a>
|
|
635
|
-
<span class="name">
|
|
636
|
-
<span class="modifier">Protected</span>
|
|
637
|
-
<span class="modifier">Readonly</span>
|
|
638
|
-
<span ><b>_subscription</b></span>
|
|
639
|
-
<a href="#_subscription"><span class="icon ion-ios-link"></span></a>
|
|
640
|
-
</span>
|
|
641
|
-
</td>
|
|
642
|
-
</tr>
|
|
643
|
-
<tr>
|
|
644
|
-
<td class="col-md-4">
|
|
645
|
-
<i>Default value : </i><code>new Subscription()</code>
|
|
646
|
-
</td>
|
|
647
|
-
</tr>
|
|
648
|
-
<tr>
|
|
649
|
-
<td class="col-md-4">
|
|
650
|
-
<div class="io-line">Defined in <a href="" data-line="109" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:109</a></div>
|
|
651
|
-
</td>
|
|
652
|
-
</tr>
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
</tbody>
|
|
656
|
-
</table>
|
|
657
612
|
<table class="table table-sm table-bordered">
|
|
658
613
|
<tbody>
|
|
659
614
|
<tr>
|
|
@@ -669,12 +624,27 @@
|
|
|
669
624
|
</tr>
|
|
670
625
|
<tr>
|
|
671
626
|
<td class="col-md-4">
|
|
672
|
-
<i>Default value : </i><code>
|
|
627
|
+
<i>Default value : </i><code>computed(() => {
|
|
628
|
+
const urlParts = this.currentUrl().split('/');
|
|
629
|
+
if (urlParts[0] === '') {
|
|
630
|
+
urlParts[0] = '/';
|
|
631
|
+
}
|
|
632
|
+
const routerLink = coerceArray(this.item().routerLink).map(fragment => fragment === '/' ? ['/'] : fragment.split('/')).flat();
|
|
633
|
+
if (routerLink[0] === '') {
|
|
634
|
+
routerLink[0] = '/';
|
|
635
|
+
}
|
|
636
|
+
for (let i = 0; i < routerLink.length; i++) {
|
|
637
|
+
if (urlParts[i] !== routerLink[i]) {
|
|
638
|
+
return false;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
return true;
|
|
642
|
+
})</code>
|
|
673
643
|
</td>
|
|
674
644
|
</tr>
|
|
675
645
|
<tr>
|
|
676
646
|
<td class="col-md-4">
|
|
677
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
647
|
+
<div class="io-line">Defined in <a href="" data-line="120" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:120</a></div>
|
|
678
648
|
</td>
|
|
679
649
|
</tr>
|
|
680
650
|
|
|
@@ -688,6 +658,7 @@
|
|
|
688
658
|
<a name="children"></a>
|
|
689
659
|
<span class="name">
|
|
690
660
|
<span class="modifier">Public</span>
|
|
661
|
+
<span class="modifier">Readonly</span>
|
|
691
662
|
<span ><b>children</b></span>
|
|
692
663
|
<a href="#children"><span class="icon ion-ios-link"></span></a>
|
|
693
664
|
</span>
|
|
@@ -695,18 +666,15 @@
|
|
|
695
666
|
</tr>
|
|
696
667
|
<tr>
|
|
697
668
|
<td class="col-md-4">
|
|
698
|
-
<i>
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
<tr>
|
|
703
|
-
<td class="col-md-4">
|
|
704
|
-
<i>Default value : </i><code>null</code>
|
|
669
|
+
<i>Default value : </i><code>computed<Navigation | null>(() => {
|
|
670
|
+
const item = this.item();
|
|
671
|
+
return item.children && item.children.length ? item.children : null;
|
|
672
|
+
})</code>
|
|
705
673
|
</td>
|
|
706
674
|
</tr>
|
|
707
675
|
<tr>
|
|
708
676
|
<td class="col-md-4">
|
|
709
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
677
|
+
<div class="io-line">Defined in <a href="" data-line="86" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:86</a></div>
|
|
710
678
|
</td>
|
|
711
679
|
</tr>
|
|
712
680
|
|
|
@@ -733,34 +701,7 @@
|
|
|
733
701
|
</tr>
|
|
734
702
|
<tr>
|
|
735
703
|
<td class="col-md-4">
|
|
736
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
737
|
-
</td>
|
|
738
|
-
</tr>
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
</tbody>
|
|
742
|
-
</table>
|
|
743
|
-
<table class="table table-sm table-bordered">
|
|
744
|
-
<tbody>
|
|
745
|
-
<tr>
|
|
746
|
-
<td class="col-md-4">
|
|
747
|
-
<a name="elementRef"></a>
|
|
748
|
-
<span class="name">
|
|
749
|
-
<span class="modifier">Protected</span>
|
|
750
|
-
<span class="modifier">Readonly</span>
|
|
751
|
-
<span ><b>elementRef</b></span>
|
|
752
|
-
<a href="#elementRef"><span class="icon ion-ios-link"></span></a>
|
|
753
|
-
</span>
|
|
754
|
-
</td>
|
|
755
|
-
</tr>
|
|
756
|
-
<tr>
|
|
757
|
-
<td class="col-md-4">
|
|
758
|
-
<i>Default value : </i><code>inject(ElementRef)</code>
|
|
759
|
-
</td>
|
|
760
|
-
</tr>
|
|
761
|
-
<tr>
|
|
762
|
-
<td class="col-md-4">
|
|
763
|
-
<div class="io-line">Defined in <a href="" data-line="112" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:112</a></div>
|
|
704
|
+
<div class="io-line">Defined in <a href="" data-line="103" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:103</a></div>
|
|
764
705
|
</td>
|
|
765
706
|
</tr>
|
|
766
707
|
|
|
@@ -782,7 +723,7 @@
|
|
|
782
723
|
</tr>
|
|
783
724
|
<tr>
|
|
784
725
|
<td class="col-md-4">
|
|
785
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
726
|
+
<div class="io-line">Defined in <a href="" data-line="91" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:91</a></div>
|
|
786
727
|
</td>
|
|
787
728
|
</tr>
|
|
788
729
|
|
|
@@ -815,7 +756,7 @@
|
|
|
815
756
|
</tr>
|
|
816
757
|
<tr>
|
|
817
758
|
<td class="col-md-4">
|
|
818
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
759
|
+
<div class="io-line">Defined in <a href="" data-line="93" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:93</a></div>
|
|
819
760
|
</td>
|
|
820
761
|
</tr>
|
|
821
762
|
|
|
@@ -842,7 +783,7 @@
|
|
|
842
783
|
</tr>
|
|
843
784
|
<tr>
|
|
844
785
|
<td class="col-md-4">
|
|
845
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
786
|
+
<div class="io-line">Defined in <a href="" data-line="101" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:101</a></div>
|
|
846
787
|
</td>
|
|
847
788
|
</tr>
|
|
848
789
|
|
|
@@ -869,34 +810,7 @@
|
|
|
869
810
|
</tr>
|
|
870
811
|
<tr>
|
|
871
812
|
<td class="col-md-4">
|
|
872
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
873
|
-
</td>
|
|
874
|
-
</tr>
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
</tbody>
|
|
878
|
-
</table>
|
|
879
|
-
<table class="table table-sm table-bordered">
|
|
880
|
-
<tbody>
|
|
881
|
-
<tr>
|
|
882
|
-
<td class="col-md-4">
|
|
883
|
-
<a name="renderer"></a>
|
|
884
|
-
<span class="name">
|
|
885
|
-
<span class="modifier">Protected</span>
|
|
886
|
-
<span class="modifier">Readonly</span>
|
|
887
|
-
<span ><b>renderer</b></span>
|
|
888
|
-
<a href="#renderer"><span class="icon ion-ios-link"></span></a>
|
|
889
|
-
</span>
|
|
890
|
-
</td>
|
|
891
|
-
</tr>
|
|
892
|
-
<tr>
|
|
893
|
-
<td class="col-md-4">
|
|
894
|
-
<i>Default value : </i><code>inject(Renderer2)</code>
|
|
895
|
-
</td>
|
|
896
|
-
</tr>
|
|
897
|
-
<tr>
|
|
898
|
-
<td class="col-md-4">
|
|
899
|
-
<div class="io-line">Defined in <a href="" data-line="113" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:113</a></div>
|
|
813
|
+
<div class="io-line">Defined in <a href="" data-line="84" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:84</a></div>
|
|
900
814
|
</td>
|
|
901
815
|
</tr>
|
|
902
816
|
|
|
@@ -923,7 +837,7 @@
|
|
|
923
837
|
</tr>
|
|
924
838
|
<tr>
|
|
925
839
|
<td class="col-md-4">
|
|
926
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
840
|
+
<div class="io-line">Defined in <a href="" data-line="105" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:105</a></div>
|
|
927
841
|
</td>
|
|
928
842
|
</tr>
|
|
929
843
|
|
|
@@ -947,18 +861,13 @@ import {
|
|
|
947
861
|
ChangeDetectionStrategy,
|
|
948
862
|
Component,
|
|
949
863
|
computed,
|
|
950
|
-
ElementRef,
|
|
951
864
|
forwardRef,
|
|
952
865
|
inject,
|
|
953
866
|
input,
|
|
954
|
-
OnChanges,
|
|
955
|
-
OnDestroy,
|
|
956
|
-
Renderer2,
|
|
957
867
|
signal,
|
|
958
|
-
|
|
959
|
-
viewChild,
|
|
960
|
-
ViewEncapsulation, AfterViewInit,
|
|
868
|
+
ViewEncapsulation,
|
|
961
869
|
} from '@angular/core';
|
|
870
|
+
import { toSignal } from '@angular/core/rxjs-interop';
|
|
962
871
|
import { MatRippleModule } from '@angular/material/core';
|
|
963
872
|
import { MatDividerModule } from '@angular/material/divider';
|
|
964
873
|
import { MatIconModule } from '@angular/material/icon';
|
|
@@ -970,14 +879,11 @@ import {
|
|
|
970
879
|
} from '@angular/router';
|
|
971
880
|
import { IconDirective } from '@rxap/material-directives/icon';
|
|
972
881
|
import { coerceArray } from '@rxap/utilities';
|
|
973
|
-
import {
|
|
974
|
-
debounceTime,
|
|
975
|
-
Subscription,
|
|
976
|
-
} from 'rxjs';
|
|
882
|
+
import { debounceTime } from 'rxjs';
|
|
977
883
|
import {
|
|
978
884
|
filter,
|
|
885
|
+
map,
|
|
979
886
|
startWith,
|
|
980
|
-
tap,
|
|
981
887
|
} from 'rxjs/operators';
|
|
982
888
|
import { LayoutService } from '../../layout.service';
|
|
983
889
|
import {
|
|
@@ -1011,6 +917,9 @@ import { NavigationComponent } from '../navigation.component';
|
|
|
1011
917
|
]),
|
|
1012
918
|
]),
|
|
1013
919
|
],
|
|
920
|
+
host: {
|
|
921
|
+
'[class.active]': 'active()',
|
|
922
|
+
},
|
|
1014
923
|
imports: [
|
|
1015
924
|
RouterLinkActive,
|
|
1016
925
|
RouterLink,
|
|
@@ -1022,15 +931,16 @@ import { NavigationComponent } from '../navigation.component';
|
|
|
1022
931
|
NgClass
|
|
1023
932
|
]
|
|
1024
933
|
})
|
|
1025
|
-
export class NavigationItemComponent
|
|
1026
|
-
implements OnChanges, OnDestroy, AfterViewInit {
|
|
934
|
+
export class NavigationItemComponent {
|
|
1027
935
|
|
|
1028
936
|
public readonly level = input(0);
|
|
1029
937
|
|
|
1030
|
-
public children
|
|
938
|
+
public readonly children = computed<Navigation | null>(() => {
|
|
939
|
+
const item = this.item();
|
|
940
|
+
return item.children && item.children.length ? item.children : null;
|
|
941
|
+
});
|
|
1031
942
|
|
|
1032
943
|
public readonly item = input.required<NavigationItem>();
|
|
1033
|
-
public readonly active = signal(false);
|
|
1034
944
|
|
|
1035
945
|
public readonly itemClasses = computed(() => {
|
|
1036
946
|
let classes = `level-${ this.level() * 4 }`;
|
|
@@ -1044,11 +954,37 @@ export class NavigationItemComponent
|
|
|
1044
954
|
|
|
1045
955
|
public readonly collapsed = computed(() => this.layoutService.collapsed());
|
|
1046
956
|
|
|
1047
|
-
protected readonly _subscription = new Subscription();
|
|
1048
|
-
|
|
1049
957
|
protected readonly router = inject(Router);
|
|
1050
|
-
|
|
1051
|
-
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* The current router url. Updated (debounced) after each navigation.
|
|
961
|
+
*/
|
|
962
|
+
private readonly currentUrl = toSignal(
|
|
963
|
+
this.router.events.pipe(
|
|
964
|
+
filter((event) => event instanceof NavigationEnd),
|
|
965
|
+
debounceTime(100),
|
|
966
|
+
startWith(true),
|
|
967
|
+
map(() => this.router.url),
|
|
968
|
+
),
|
|
969
|
+
{ initialValue: this.router.url },
|
|
970
|
+
);
|
|
971
|
+
|
|
972
|
+
public readonly active = computed(() => {
|
|
973
|
+
const urlParts = this.currentUrl().split('/');
|
|
974
|
+
if (urlParts[0] === '') {
|
|
975
|
+
urlParts[0] = '/';
|
|
976
|
+
}
|
|
977
|
+
const routerLink = coerceArray(this.item().routerLink).map(fragment => fragment === '/' ? ['/'] : fragment.split('/')).flat();
|
|
978
|
+
if (routerLink[0] === '') {
|
|
979
|
+
routerLink[0] = '/';
|
|
980
|
+
}
|
|
981
|
+
for (let i = 0; i < routerLink.length; i++) {
|
|
982
|
+
if (urlParts[i] !== routerLink[i]) {
|
|
983
|
+
return false;
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
return true;
|
|
987
|
+
});
|
|
1052
988
|
|
|
1053
989
|
onClick() {
|
|
1054
990
|
if (this.layoutService.isMobile() || this.layoutService.collapsed()) {
|
|
@@ -1056,53 +992,6 @@ export class NavigationItemComponent
|
|
|
1056
992
|
}
|
|
1057
993
|
}
|
|
1058
994
|
|
|
1059
|
-
public ngOnChanges(changes: SimpleChanges) {
|
|
1060
|
-
if (changes['item']) {
|
|
1061
|
-
const item: NavigationItem = changes['item'].currentValue;
|
|
1062
|
-
this.children =
|
|
1063
|
-
item.children && item.children.length ? item.children : null;
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
public ngAfterViewInit() {
|
|
1068
|
-
this._subscription.add(
|
|
1069
|
-
this.router.events
|
|
1070
|
-
.pipe(
|
|
1071
|
-
filter((event) => event instanceof NavigationEnd),
|
|
1072
|
-
debounceTime(100),
|
|
1073
|
-
startWith(true),
|
|
1074
|
-
tap(() => {
|
|
1075
|
-
let isActive = true;
|
|
1076
|
-
const urlParts = this.router.url.split('/');
|
|
1077
|
-
if (urlParts[0] === '') {
|
|
1078
|
-
urlParts[0] = '/';
|
|
1079
|
-
}
|
|
1080
|
-
const routerLink = coerceArray(this.item().routerLink).map(fragment => fragment === '/' ? ['/'] : fragment.split('/')).flat();
|
|
1081
|
-
if (routerLink[0] === '') {
|
|
1082
|
-
routerLink[0] = '/';
|
|
1083
|
-
}
|
|
1084
|
-
for (let i = 0; i < routerLink.length; i++) {
|
|
1085
|
-
if (urlParts[i] !== routerLink[i]) {
|
|
1086
|
-
isActive = false;
|
|
1087
|
-
break;
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
this.active.set(isActive);
|
|
1091
|
-
if (isActive) {
|
|
1092
|
-
this.renderer.addClass(this.elementRef.nativeElement, 'active');
|
|
1093
|
-
} else {
|
|
1094
|
-
this.renderer.removeClass(this.elementRef.nativeElement, 'active');
|
|
1095
|
-
}
|
|
1096
|
-
}),
|
|
1097
|
-
)
|
|
1098
|
-
.subscribe(),
|
|
1099
|
-
);
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
public ngOnDestroy() {
|
|
1103
|
-
this._subscription?.unsubscribe();
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
995
|
// region type save item property
|
|
1107
996
|
|
|
1108
997
|
// required to check the type of the item property in the ngFor loop
|
|
@@ -1158,7 +1047,7 @@ export class NavigationItemComponent
|
|
|
1158
1047
|
<mat-divider></mat-divider>
|
|
1159
1048
|
|
|
1160
1049
|
<ul [@sub-nav]
|
|
1161
|
-
[items]="children ?? []"
|
|
1050
|
+
[items]="children() ?? []"
|
|
1162
1051
|
[level]="level() + 1"
|
|
1163
1052
|
rxap-navigation
|
|
1164
1053
|
>
|
|
@@ -1202,7 +1091,7 @@ export class NavigationItemComponent
|
|
|
1202
1091
|
<script src="../js/libs/htmlparser.js"></script>
|
|
1203
1092
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
1204
1093
|
<script>
|
|
1205
|
-
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 text-black" matRipple routerLinkActive (click)="onClick()" > <span [ngClass]="itemClasses()" class="grow whitespace-nowrap" > {{ item().label }} </span> @if (item().icon; as icon) { <mat-icon [rxapIcon]="icon"></mat-icon> } </a> @if (item().children?.length && active()) { <mat-divider></mat-divider> <ul [@sub-nav] [items]="children ?? []" [level]="level() + 1" rxap-navigation > </ul> <mat-divider></mat-divider> }</div></div>'
|
|
1094
|
+
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 text-black" matRipple routerLinkActive (click)="onClick()" > <span [ngClass]="itemClasses()" class="grow whitespace-nowrap" > {{ item().label }} </span> @if (item().icon; as icon) { <mat-icon [rxapIcon]="icon"></mat-icon> } </a> @if (item().children?.length && active()) { <mat-divider></mat-divider> <ul [@sub-nav] [items]="children() ?? []" [level]="level() + 1" rxap-navigation > </ul> <mat-divider></mat-divider> }</div></div>'
|
|
1206
1095
|
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'}];
|
|
1207
1096
|
var DIRECTIVES = [{'name': 'FooterDirective', 'selector': '[rxapFooter]'},{'name': 'HeaderDirective', 'selector': '[rxapHeader]'},{'name': 'SidenavFooterDirective', 'selector': '[rxapSidenavFooter]'},{'name': 'SidenavHeaderDirective', 'selector': '[rxapSidenavHeader]'}];
|
|
1208
1097
|
var ACTUAL_COMPONENT = {'name': 'NavigationItemComponent'};
|
|
@@ -267,8 +267,8 @@
|
|
|
267
267
|
|
|
268
268
|
<tr>
|
|
269
269
|
<td class="col-md-4">
|
|
270
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
271
|
-
class="link-to-prism">src/lib/default-header/sidenav-toggle-button/sidenav-toggle-button.component.ts:
|
|
270
|
+
<div class="io-line">Defined in <a href="" data-line="37"
|
|
271
|
+
class="link-to-prism">src/lib/default-header/sidenav-toggle-button/sidenav-toggle-button.component.ts:37</a></div>
|
|
272
272
|
</td>
|
|
273
273
|
</tr>
|
|
274
274
|
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
</tr>
|
|
311
311
|
<tr>
|
|
312
312
|
<td class="col-md-4">
|
|
313
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
313
|
+
<div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/default-header/sidenav-toggle-button/sidenav-toggle-button.component.ts:33</a></div>
|
|
314
314
|
</td>
|
|
315
315
|
</tr>
|
|
316
316
|
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
</tr>
|
|
338
338
|
<tr>
|
|
339
339
|
<td class="col-md-4">
|
|
340
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
340
|
+
<div class="io-line">Defined in <a href="" data-line="35" class="link-to-prism">src/lib/default-header/sidenav-toggle-button/sidenav-toggle-button.component.ts:35</a></div>
|
|
341
341
|
</td>
|
|
342
342
|
</tr>
|
|
343
343
|
|
|
@@ -359,7 +359,17 @@
|
|
|
359
359
|
import { MatIconButton } from '@angular/material/button';
|
|
360
360
|
import { MatIcon } from '@angular/material/icon';
|
|
361
361
|
import { LayoutService } from '../../layout.service';
|
|
362
|
-
|
|
362
|
+
import { Showcase } from '@ng-prism/core';
|
|
363
|
+
|
|
364
|
+
@Showcase({
|
|
365
|
+
title: 'Sidenav Toggle Button',
|
|
366
|
+
category: 'Layout',
|
|
367
|
+
description: 'Icon button in the default header that opens and closes the sidenav of the layout through the `LayoutService`.',
|
|
368
|
+
status: 'stable',
|
|
369
|
+
variants: [
|
|
370
|
+
{ name: 'Default' },
|
|
371
|
+
],
|
|
372
|
+
})
|
|
363
373
|
@Component({
|
|
364
374
|
selector: 'rxap-sidenav-toggle-button',
|
|
365
375
|
templateUrl: './sidenav-toggle-button.component.html',
|
|
@@ -103,11 +103,11 @@
|
|
|
103
103
|
<li>
|
|
104
104
|
<b>@nx/devkit</b> : 22.7.5</li>
|
|
105
105
|
<li>
|
|
106
|
-
<b>@rxap/ts-morph</b> : ^1.7.1-dev.
|
|
106
|
+
<b>@rxap/ts-morph</b> : ^1.7.1-dev.1</li>
|
|
107
107
|
<li>
|
|
108
|
-
<b>@rxap/workspace-ts-morph</b> : ^22.0.1-dev.
|
|
108
|
+
<b>@rxap/workspace-ts-morph</b> : ^22.0.1-dev.1</li>
|
|
109
109
|
<li>
|
|
110
|
-
<b>@rxap/workspace-utilities</b> : ^22.0.1-dev.
|
|
110
|
+
<b>@rxap/workspace-utilities</b> : ^22.0.1-dev.1</li>
|
|
111
111
|
<li>
|
|
112
112
|
<b>tslib</b> : 2.6.2</li>
|
|
113
113
|
</ul>
|
|
@@ -131,23 +131,23 @@
|
|
|
131
131
|
<li>
|
|
132
132
|
<b>@angular/router</b> : ^21.2.9</li>
|
|
133
133
|
<li>
|
|
134
|
-
<b>@rxap/browser-utilities</b> : ^1.1.15-dev.
|
|
134
|
+
<b>@rxap/browser-utilities</b> : ^1.1.15-dev.1</li>
|
|
135
135
|
<li>
|
|
136
|
-
<b>@rxap/config</b> : ^21.0.1-dev.
|
|
136
|
+
<b>@rxap/config</b> : ^21.0.1-dev.1</li>
|
|
137
137
|
<li>
|
|
138
|
-
<b>@rxap/data-source</b> : ^21.0.1-dev.
|
|
138
|
+
<b>@rxap/data-source</b> : ^21.0.1-dev.1</li>
|
|
139
139
|
<li>
|
|
140
|
-
<b>@rxap/environment</b> : ^21.0.1-dev.
|
|
140
|
+
<b>@rxap/environment</b> : ^21.0.1-dev.1</li>
|
|
141
141
|
<li>
|
|
142
|
-
<b>@rxap/material-directives</b> : ^21.0.1-dev.
|
|
142
|
+
<b>@rxap/material-directives</b> : ^21.0.1-dev.1</li>
|
|
143
143
|
<li>
|
|
144
|
-
<b>@rxap/ngx-pub-sub</b> : ^21.0.1-dev.
|
|
144
|
+
<b>@rxap/ngx-pub-sub</b> : ^21.0.1-dev.1</li>
|
|
145
145
|
<li>
|
|
146
|
-
<b>@rxap/ngx-theme</b> : ^21.0.1-dev.
|
|
146
|
+
<b>@rxap/ngx-theme</b> : ^21.0.1-dev.1</li>
|
|
147
147
|
<li>
|
|
148
|
-
<b>@rxap/pattern</b> : ^1.1.16-dev.
|
|
148
|
+
<b>@rxap/pattern</b> : ^1.1.16-dev.1</li>
|
|
149
149
|
<li>
|
|
150
|
-
<b>@rxap/utilities</b> : ^16.5.2-dev.
|
|
150
|
+
<b>@rxap/utilities</b> : ^16.5.2-dev.1</li>
|
|
151
151
|
<li>
|
|
152
152
|
<b>rxjs</b> : ^7.8.2</li>
|
|
153
153
|
</ul>
|