@rxap/layout 21.0.1-dev.0 → 21.0.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 +61 -0
- package/compodoc/changelog.html +59 -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
|
@@ -156,8 +156,6 @@
|
|
|
156
156
|
<td class="col-md-4">
|
|
157
157
|
<ul class="index-list">
|
|
158
158
|
<li>
|
|
159
|
-
<span class="modifier"></span>
|
|
160
|
-
<span class="modifier">Public</span>
|
|
161
159
|
<span class="modifier">Readonly</span>
|
|
162
160
|
<a href="#template" >template</a>
|
|
163
161
|
</li>
|
|
@@ -174,54 +172,6 @@
|
|
|
174
172
|
</table>
|
|
175
173
|
</section>
|
|
176
174
|
|
|
177
|
-
<section data-compodoc="block-constructor">
|
|
178
|
-
<h3 id="constructor">Constructor</h3>
|
|
179
|
-
<table class="table table-sm table-bordered">
|
|
180
|
-
<tbody>
|
|
181
|
-
<tr>
|
|
182
|
-
<td class="col-md-4">
|
|
183
|
-
<code>constructor(template: TemplateRef<void>)</code>
|
|
184
|
-
</td>
|
|
185
|
-
</tr>
|
|
186
|
-
<tr>
|
|
187
|
-
<td class="col-md-4">
|
|
188
|
-
<div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">src/lib/sidenav/sidenav-footer.directive.ts:11</a></div>
|
|
189
|
-
</td>
|
|
190
|
-
</tr>
|
|
191
|
-
|
|
192
|
-
<tr>
|
|
193
|
-
<td class="col-md-4">
|
|
194
|
-
<div>
|
|
195
|
-
<b>Parameters :</b>
|
|
196
|
-
<table class="params">
|
|
197
|
-
<thead>
|
|
198
|
-
<tr>
|
|
199
|
-
<td>Name</td>
|
|
200
|
-
<td>Type</td>
|
|
201
|
-
<td>Optional</td>
|
|
202
|
-
</tr>
|
|
203
|
-
</thead>
|
|
204
|
-
<tbody>
|
|
205
|
-
<tr>
|
|
206
|
-
<td>template</td>
|
|
207
|
-
|
|
208
|
-
<td>
|
|
209
|
-
<code>TemplateRef<void></code>
|
|
210
|
-
</td>
|
|
211
|
-
|
|
212
|
-
<td>
|
|
213
|
-
No
|
|
214
|
-
</td>
|
|
215
|
-
|
|
216
|
-
</tr>
|
|
217
|
-
</tbody>
|
|
218
|
-
</table>
|
|
219
|
-
</div>
|
|
220
|
-
</td>
|
|
221
|
-
</tr>
|
|
222
|
-
</tbody>
|
|
223
|
-
</table>
|
|
224
|
-
</section>
|
|
225
175
|
|
|
226
176
|
|
|
227
177
|
|
|
@@ -239,8 +189,6 @@
|
|
|
239
189
|
<td class="col-md-4">
|
|
240
190
|
<a name="template"></a>
|
|
241
191
|
<span class="name">
|
|
242
|
-
<span class="modifier"></span>
|
|
243
|
-
<span class="modifier">Public</span>
|
|
244
192
|
<span class="modifier">Readonly</span>
|
|
245
193
|
<span ><b>template</b></span>
|
|
246
194
|
<a href="#template"><span class="icon ion-ios-link"></span></a>
|
|
@@ -249,22 +197,12 @@
|
|
|
249
197
|
</tr>
|
|
250
198
|
<tr>
|
|
251
199
|
<td class="col-md-4">
|
|
252
|
-
<i>
|
|
253
|
-
|
|
254
|
-
</td>
|
|
255
|
-
</tr>
|
|
256
|
-
<tr>
|
|
257
|
-
<td class="col-md-4">
|
|
258
|
-
<b>Decorators : </b>
|
|
259
|
-
<br />
|
|
260
|
-
<code>
|
|
261
|
-
@Inject(TemplateRef)<br />
|
|
262
|
-
</code>
|
|
200
|
+
<i>Default value : </i><code>inject<TemplateRef<void>>(TemplateRef)</code>
|
|
263
201
|
</td>
|
|
264
202
|
</tr>
|
|
265
203
|
<tr>
|
|
266
204
|
<td class="col-md-4">
|
|
267
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
205
|
+
<div class="io-line">Defined in <a href="" data-line="8" class="link-to-prism">src/lib/sidenav/sidenav-footer.directive.ts:8</a></div>
|
|
268
206
|
</td>
|
|
269
207
|
</tr>
|
|
270
208
|
|
|
@@ -278,22 +216,14 @@
|
|
|
278
216
|
|
|
279
217
|
|
|
280
218
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
281
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
282
|
-
Directive,
|
|
283
|
-
Inject,
|
|
284
|
-
TemplateRef,
|
|
285
|
-
} from '@angular/core';
|
|
219
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Directive, TemplateRef, inject } from '@angular/core';
|
|
286
220
|
|
|
287
221
|
@Directive({
|
|
288
222
|
selector: '[rxapSidenavFooter]',
|
|
289
223
|
standalone: true,
|
|
290
224
|
})
|
|
291
225
|
export class SidenavFooterDirective {
|
|
292
|
-
|
|
293
|
-
@Inject(TemplateRef)
|
|
294
|
-
public readonly template: TemplateRef<void>,
|
|
295
|
-
) {
|
|
296
|
-
}
|
|
226
|
+
readonly template = inject<TemplateRef<void>>(TemplateRef);
|
|
297
227
|
}
|
|
298
228
|
</code></pre>
|
|
299
229
|
</div>
|
|
@@ -156,8 +156,6 @@
|
|
|
156
156
|
<td class="col-md-4">
|
|
157
157
|
<ul class="index-list">
|
|
158
158
|
<li>
|
|
159
|
-
<span class="modifier"></span>
|
|
160
|
-
<span class="modifier">Public</span>
|
|
161
159
|
<span class="modifier">Readonly</span>
|
|
162
160
|
<a href="#template" >template</a>
|
|
163
161
|
</li>
|
|
@@ -174,54 +172,6 @@
|
|
|
174
172
|
</table>
|
|
175
173
|
</section>
|
|
176
174
|
|
|
177
|
-
<section data-compodoc="block-constructor">
|
|
178
|
-
<h3 id="constructor">Constructor</h3>
|
|
179
|
-
<table class="table table-sm table-bordered">
|
|
180
|
-
<tbody>
|
|
181
|
-
<tr>
|
|
182
|
-
<td class="col-md-4">
|
|
183
|
-
<code>constructor(template: TemplateRef<void>)</code>
|
|
184
|
-
</td>
|
|
185
|
-
</tr>
|
|
186
|
-
<tr>
|
|
187
|
-
<td class="col-md-4">
|
|
188
|
-
<div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">src/lib/sidenav/sidenav-header.directive.ts:11</a></div>
|
|
189
|
-
</td>
|
|
190
|
-
</tr>
|
|
191
|
-
|
|
192
|
-
<tr>
|
|
193
|
-
<td class="col-md-4">
|
|
194
|
-
<div>
|
|
195
|
-
<b>Parameters :</b>
|
|
196
|
-
<table class="params">
|
|
197
|
-
<thead>
|
|
198
|
-
<tr>
|
|
199
|
-
<td>Name</td>
|
|
200
|
-
<td>Type</td>
|
|
201
|
-
<td>Optional</td>
|
|
202
|
-
</tr>
|
|
203
|
-
</thead>
|
|
204
|
-
<tbody>
|
|
205
|
-
<tr>
|
|
206
|
-
<td>template</td>
|
|
207
|
-
|
|
208
|
-
<td>
|
|
209
|
-
<code>TemplateRef<void></code>
|
|
210
|
-
</td>
|
|
211
|
-
|
|
212
|
-
<td>
|
|
213
|
-
No
|
|
214
|
-
</td>
|
|
215
|
-
|
|
216
|
-
</tr>
|
|
217
|
-
</tbody>
|
|
218
|
-
</table>
|
|
219
|
-
</div>
|
|
220
|
-
</td>
|
|
221
|
-
</tr>
|
|
222
|
-
</tbody>
|
|
223
|
-
</table>
|
|
224
|
-
</section>
|
|
225
175
|
|
|
226
176
|
|
|
227
177
|
|
|
@@ -239,8 +189,6 @@
|
|
|
239
189
|
<td class="col-md-4">
|
|
240
190
|
<a name="template"></a>
|
|
241
191
|
<span class="name">
|
|
242
|
-
<span class="modifier"></span>
|
|
243
|
-
<span class="modifier">Public</span>
|
|
244
192
|
<span class="modifier">Readonly</span>
|
|
245
193
|
<span ><b>template</b></span>
|
|
246
194
|
<a href="#template"><span class="icon ion-ios-link"></span></a>
|
|
@@ -249,22 +197,12 @@
|
|
|
249
197
|
</tr>
|
|
250
198
|
<tr>
|
|
251
199
|
<td class="col-md-4">
|
|
252
|
-
<i>
|
|
253
|
-
|
|
254
|
-
</td>
|
|
255
|
-
</tr>
|
|
256
|
-
<tr>
|
|
257
|
-
<td class="col-md-4">
|
|
258
|
-
<b>Decorators : </b>
|
|
259
|
-
<br />
|
|
260
|
-
<code>
|
|
261
|
-
@Inject(TemplateRef)<br />
|
|
262
|
-
</code>
|
|
200
|
+
<i>Default value : </i><code>inject<TemplateRef<void>>(TemplateRef)</code>
|
|
263
201
|
</td>
|
|
264
202
|
</tr>
|
|
265
203
|
<tr>
|
|
266
204
|
<td class="col-md-4">
|
|
267
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
205
|
+
<div class="io-line">Defined in <a href="" data-line="8" class="link-to-prism">src/lib/sidenav/sidenav-header.directive.ts:8</a></div>
|
|
268
206
|
</td>
|
|
269
207
|
</tr>
|
|
270
208
|
|
|
@@ -278,22 +216,14 @@
|
|
|
278
216
|
|
|
279
217
|
|
|
280
218
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
281
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
282
|
-
Directive,
|
|
283
|
-
Inject,
|
|
284
|
-
TemplateRef,
|
|
285
|
-
} from '@angular/core';
|
|
219
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Directive, TemplateRef, inject } from '@angular/core';
|
|
286
220
|
|
|
287
221
|
@Directive({
|
|
288
222
|
selector: '[rxapSidenavHeader]',
|
|
289
223
|
standalone: true,
|
|
290
224
|
})
|
|
291
225
|
export class SidenavHeaderDirective {
|
|
292
|
-
|
|
293
|
-
@Inject(TemplateRef)
|
|
294
|
-
public readonly template: TemplateRef<void>,
|
|
295
|
-
) {
|
|
296
|
-
}
|
|
226
|
+
readonly template = inject<TemplateRef<void>>(TemplateRef);
|
|
297
227
|
}
|
|
298
228
|
</code></pre>
|
|
299
229
|
</div>
|
|
@@ -228,45 +228,15 @@
|
|
|
228
228
|
<tbody>
|
|
229
229
|
<tr>
|
|
230
230
|
<td class="col-md-4">
|
|
231
|
-
<code>constructor(
|
|
231
|
+
<code>constructor()</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="32" class="link-to-prism">src/lib/layout.service.ts:32</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> | null</a></code>
|
|
258
|
-
</td>
|
|
259
|
-
|
|
260
|
-
<td>
|
|
261
|
-
No
|
|
262
|
-
</td>
|
|
263
|
-
|
|
264
|
-
</tr>
|
|
265
|
-
</tbody>
|
|
266
|
-
</table>
|
|
267
|
-
</div>
|
|
268
|
-
</td>
|
|
269
|
-
</tr>
|
|
270
240
|
</tbody>
|
|
271
241
|
</table>
|
|
272
242
|
</section>
|
|
@@ -296,8 +266,8 @@
|
|
|
296
266
|
|
|
297
267
|
<tr>
|
|
298
268
|
<td class="col-md-4">
|
|
299
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
300
|
-
class="link-to-prism">src/lib/layout.service.ts:
|
|
269
|
+
<div class="io-line">Defined in <a href="" data-line="113"
|
|
270
|
+
class="link-to-prism">src/lib/layout.service.ts:113</a></div>
|
|
301
271
|
</td>
|
|
302
272
|
</tr>
|
|
303
273
|
|
|
@@ -333,8 +303,8 @@
|
|
|
333
303
|
|
|
334
304
|
<tr>
|
|
335
305
|
<td class="col-md-4">
|
|
336
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
337
|
-
class="link-to-prism">src/lib/layout.service.ts:
|
|
306
|
+
<div class="io-line">Defined in <a href="" data-line="109"
|
|
307
|
+
class="link-to-prism">src/lib/layout.service.ts:109</a></div>
|
|
338
308
|
</td>
|
|
339
309
|
</tr>
|
|
340
310
|
|
|
@@ -372,8 +342,8 @@
|
|
|
372
342
|
|
|
373
343
|
<tr>
|
|
374
344
|
<td class="col-md-4">
|
|
375
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
376
|
-
class="link-to-prism">src/lib/layout.service.ts:
|
|
345
|
+
<div class="io-line">Defined in <a href="" data-line="101"
|
|
346
|
+
class="link-to-prism">src/lib/layout.service.ts:101</a></div>
|
|
377
347
|
</td>
|
|
378
348
|
</tr>
|
|
379
349
|
|
|
@@ -411,8 +381,8 @@
|
|
|
411
381
|
|
|
412
382
|
<tr>
|
|
413
383
|
<td class="col-md-4">
|
|
414
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
415
|
-
class="link-to-prism">src/lib/layout.service.ts:
|
|
384
|
+
<div class="io-line">Defined in <a href="" data-line="105"
|
|
385
|
+
class="link-to-prism">src/lib/layout.service.ts:105</a></div>
|
|
416
386
|
</td>
|
|
417
387
|
</tr>
|
|
418
388
|
|
|
@@ -455,7 +425,7 @@
|
|
|
455
425
|
</tr>
|
|
456
426
|
<tr>
|
|
457
427
|
<td class="col-md-4">
|
|
458
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
428
|
+
<div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">src/lib/layout.service.ts:21</a></div>
|
|
459
429
|
</td>
|
|
460
430
|
</tr>
|
|
461
431
|
|
|
@@ -483,7 +453,7 @@
|
|
|
483
453
|
</tr>
|
|
484
454
|
<tr>
|
|
485
455
|
<td class="col-md-4">
|
|
486
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
456
|
+
<div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/lib/layout.service.ts:27</a></div>
|
|
487
457
|
</td>
|
|
488
458
|
</tr>
|
|
489
459
|
|
|
@@ -510,7 +480,7 @@
|
|
|
510
480
|
</tr>
|
|
511
481
|
<tr>
|
|
512
482
|
<td class="col-md-4">
|
|
513
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
483
|
+
<div class="io-line">Defined in <a href="" data-line="24" class="link-to-prism">src/lib/layout.service.ts:24</a></div>
|
|
514
484
|
</td>
|
|
515
485
|
</tr>
|
|
516
486
|
|
|
@@ -538,7 +508,7 @@
|
|
|
538
508
|
</tr>
|
|
539
509
|
<tr>
|
|
540
510
|
<td class="col-md-4">
|
|
541
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
511
|
+
<div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/lib/layout.service.ts:22</a></div>
|
|
542
512
|
</td>
|
|
543
513
|
</tr>
|
|
544
514
|
|
|
@@ -566,7 +536,7 @@
|
|
|
566
536
|
</tr>
|
|
567
537
|
<tr>
|
|
568
538
|
<td class="col-md-4">
|
|
569
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
539
|
+
<div class="io-line">Defined in <a href="" data-line="26" class="link-to-prism">src/lib/layout.service.ts:26</a></div>
|
|
570
540
|
</td>
|
|
571
541
|
</tr>
|
|
572
542
|
|
|
@@ -594,7 +564,7 @@
|
|
|
594
564
|
</tr>
|
|
595
565
|
<tr>
|
|
596
566
|
<td class="col-md-4">
|
|
597
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
567
|
+
<div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">src/lib/layout.service.ts:23</a></div>
|
|
598
568
|
</td>
|
|
599
569
|
</tr>
|
|
600
570
|
|
|
@@ -622,7 +592,7 @@
|
|
|
622
592
|
</tr>
|
|
623
593
|
<tr>
|
|
624
594
|
<td class="col-md-4">
|
|
625
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
595
|
+
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/layout.service.ts:25</a></div>
|
|
626
596
|
</td>
|
|
627
597
|
</tr>
|
|
628
598
|
|
|
@@ -650,7 +620,7 @@
|
|
|
650
620
|
</tr>
|
|
651
621
|
<tr>
|
|
652
622
|
<td class="col-md-4">
|
|
653
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
623
|
+
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/lib/layout.service.ts:19</a></div>
|
|
654
624
|
</td>
|
|
655
625
|
</tr>
|
|
656
626
|
|
|
@@ -678,7 +648,7 @@
|
|
|
678
648
|
</tr>
|
|
679
649
|
<tr>
|
|
680
650
|
<td class="col-md-4">
|
|
681
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
651
|
+
<div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/lib/layout.service.ts:18</a></div>
|
|
682
652
|
</td>
|
|
683
653
|
</tr>
|
|
684
654
|
|
|
@@ -706,7 +676,7 @@
|
|
|
706
676
|
</tr>
|
|
707
677
|
<tr>
|
|
708
678
|
<td class="col-md-4">
|
|
709
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
679
|
+
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/lib/layout.service.ts:20</a></div>
|
|
710
680
|
</td>
|
|
711
681
|
</tr>
|
|
712
682
|
|
|
@@ -720,18 +690,7 @@
|
|
|
720
690
|
|
|
721
691
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
722
692
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { MediaMatcher } from '@angular/cdk/layout';
|
|
723
|
-
import {
|
|
724
|
-
computed,
|
|
725
|
-
effect,
|
|
726
|
-
Inject,
|
|
727
|
-
inject,
|
|
728
|
-
Injectable,
|
|
729
|
-
isDevMode,
|
|
730
|
-
Optional,
|
|
731
|
-
signal,
|
|
732
|
-
Signal,
|
|
733
|
-
WritableSignal,
|
|
734
|
-
} from '@angular/core';
|
|
693
|
+
import { computed, effect, inject, Injectable, isDevMode, signal, Signal, WritableSignal } from '@angular/core';
|
|
735
694
|
import { toSignal } from '@angular/core/rxjs-interop';
|
|
736
695
|
import { MatDrawerMode } from '@angular/material/sidenav';
|
|
737
696
|
import {
|
|
@@ -763,11 +722,9 @@ export class LayoutService {
|
|
|
763
722
|
private readonly config = inject(ConfigService);
|
|
764
723
|
private readonly mediaMatcher = inject(MediaMatcher);
|
|
765
724
|
|
|
766
|
-
constructor(
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
navigationConfigDefaults: Omit<NavigationConfig, 'apps'> | null = null,
|
|
770
|
-
) {
|
|
725
|
+
constructor() {
|
|
726
|
+
const navigationConfigDefaults = inject<Omit<NavigationConfig, 'apps'> | null>(RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS, { optional: true }) ?? null;
|
|
727
|
+
|
|
771
728
|
const mobileQuery = this.mediaMatcher.matchMedia(navigationConfigDefaults?.mobileQuery ?? '(max-width: 959px)');
|
|
772
729
|
this.isMobile = toSignal(new Observable<boolean>(subscriber => {
|
|
773
730
|
mobileQuery.addEventListener('change', (event) => {
|
|
@@ -193,57 +193,15 @@
|
|
|
193
193
|
<tbody>
|
|
194
194
|
<tr>
|
|
195
195
|
<td class="col-md-4">
|
|
196
|
-
<code>constructor(
|
|
196
|
+
<code>constructor()</code>
|
|
197
197
|
</td>
|
|
198
198
|
</tr>
|
|
199
199
|
<tr>
|
|
200
200
|
<td class="col-md-4">
|
|
201
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
201
|
+
<div class="io-line">Defined in <a href="" data-line="38" class="link-to-prism">src/lib/navigation.service.ts:38</a></div>
|
|
202
202
|
</td>
|
|
203
203
|
</tr>
|
|
204
204
|
|
|
205
|
-
<tr>
|
|
206
|
-
<td class="col-md-4">
|
|
207
|
-
<div>
|
|
208
|
-
<b>Parameters :</b>
|
|
209
|
-
<table class="params">
|
|
210
|
-
<thead>
|
|
211
|
-
<tr>
|
|
212
|
-
<td>Name</td>
|
|
213
|
-
<td>Type</td>
|
|
214
|
-
<td>Optional</td>
|
|
215
|
-
</tr>
|
|
216
|
-
</thead>
|
|
217
|
-
<tbody>
|
|
218
|
-
<tr>
|
|
219
|
-
<td>navigation</td>
|
|
220
|
-
|
|
221
|
-
<td>
|
|
222
|
-
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
223
|
-
</td>
|
|
224
|
-
|
|
225
|
-
<td>
|
|
226
|
-
No
|
|
227
|
-
</td>
|
|
228
|
-
|
|
229
|
-
</tr>
|
|
230
|
-
<tr>
|
|
231
|
-
<td>inserts</td>
|
|
232
|
-
|
|
233
|
-
<td>
|
|
234
|
-
<code>any | null</code>
|
|
235
|
-
</td>
|
|
236
|
-
|
|
237
|
-
<td>
|
|
238
|
-
No
|
|
239
|
-
</td>
|
|
240
|
-
|
|
241
|
-
</tr>
|
|
242
|
-
</tbody>
|
|
243
|
-
</table>
|
|
244
|
-
</div>
|
|
245
|
-
</td>
|
|
246
|
-
</tr>
|
|
247
205
|
</tbody>
|
|
248
206
|
</table>
|
|
249
207
|
</section>
|
|
@@ -275,8 +233,8 @@
|
|
|
275
233
|
|
|
276
234
|
<tr>
|
|
277
235
|
<td class="col-md-4">
|
|
278
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
279
|
-
class="link-to-prism">src/lib/navigation.service.ts:
|
|
236
|
+
<div class="io-line">Defined in <a href="" data-line="76"
|
|
237
|
+
class="link-to-prism">src/lib/navigation.service.ts:76</a></div>
|
|
280
238
|
</td>
|
|
281
239
|
</tr>
|
|
282
240
|
|
|
@@ -375,8 +333,8 @@
|
|
|
375
333
|
|
|
376
334
|
<tr>
|
|
377
335
|
<td class="col-md-4">
|
|
378
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
379
|
-
class="link-to-prism">src/lib/navigation.service.ts:
|
|
336
|
+
<div class="io-line">Defined in <a href="" data-line="91"
|
|
337
|
+
class="link-to-prism">src/lib/navigation.service.ts:91</a></div>
|
|
380
338
|
</td>
|
|
381
339
|
</tr>
|
|
382
340
|
|
|
@@ -444,8 +402,8 @@
|
|
|
444
402
|
|
|
445
403
|
<tr>
|
|
446
404
|
<td class="col-md-4">
|
|
447
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
448
|
-
class="link-to-prism">src/lib/navigation.service.ts:
|
|
405
|
+
<div class="io-line">Defined in <a href="" data-line="87"
|
|
406
|
+
class="link-to-prism">src/lib/navigation.service.ts:87</a></div>
|
|
449
407
|
</td>
|
|
450
408
|
</tr>
|
|
451
409
|
|
|
@@ -518,8 +476,8 @@
|
|
|
518
476
|
|
|
519
477
|
<tr>
|
|
520
478
|
<td class="col-md-4">
|
|
521
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
522
|
-
class="link-to-prism">src/lib/navigation.service.ts:
|
|
479
|
+
<div class="io-line">Defined in <a href="" data-line="68"
|
|
480
|
+
class="link-to-prism">src/lib/navigation.service.ts:68</a></div>
|
|
523
481
|
</td>
|
|
524
482
|
</tr>
|
|
525
483
|
|
|
@@ -618,8 +576,8 @@
|
|
|
618
576
|
|
|
619
577
|
<tr>
|
|
620
578
|
<td class="col-md-4">
|
|
621
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
622
|
-
class="link-to-prism">src/lib/navigation.service.ts:
|
|
579
|
+
<div class="io-line">Defined in <a href="" data-line="95"
|
|
580
|
+
class="link-to-prism">src/lib/navigation.service.ts:95</a></div>
|
|
623
581
|
</td>
|
|
624
582
|
</tr>
|
|
625
583
|
|
|
@@ -704,8 +662,8 @@
|
|
|
704
662
|
|
|
705
663
|
<tr>
|
|
706
664
|
<td class="col-md-4">
|
|
707
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
708
|
-
class="link-to-prism">src/lib/navigation.service.ts:
|
|
665
|
+
<div class="io-line">Defined in <a href="" data-line="102"
|
|
666
|
+
class="link-to-prism">src/lib/navigation.service.ts:102</a></div>
|
|
709
667
|
</td>
|
|
710
668
|
</tr>
|
|
711
669
|
|
|
@@ -748,7 +706,7 @@
|
|
|
748
706
|
</tr>
|
|
749
707
|
<tr>
|
|
750
708
|
<td class="col-md-4">
|
|
751
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
709
|
+
<div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/lib/navigation.service.ts:30</a></div>
|
|
752
710
|
</td>
|
|
753
711
|
</tr>
|
|
754
712
|
|
|
@@ -761,14 +719,7 @@
|
|
|
761
719
|
|
|
762
720
|
|
|
763
721
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
764
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
765
|
-
inject,
|
|
766
|
-
Inject,
|
|
767
|
-
Injectable,
|
|
768
|
-
Injector,
|
|
769
|
-
INJECTOR,
|
|
770
|
-
Optional,
|
|
771
|
-
} from '@angular/core';
|
|
722
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { inject, Injectable, Injector, INJECTOR } from '@angular/core';
|
|
772
723
|
import {
|
|
773
724
|
combineLatest,
|
|
774
725
|
from,
|
|
@@ -807,13 +758,10 @@ export class NavigationService {
|
|
|
807
758
|
|
|
808
759
|
private readonly injector: Injector = inject(INJECTOR);
|
|
809
760
|
|
|
810
|
-
constructor(
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
@Inject(RXAP_NAVIGATION_CONFIG_INSERTS)
|
|
815
|
-
inserts: any | null = null,
|
|
816
|
-
) {
|
|
761
|
+
constructor() {
|
|
762
|
+
const navigation = inject(RXAP_NAVIGATION_CONFIG);
|
|
763
|
+
const inserts = inject(RXAP_NAVIGATION_CONFIG_INSERTS, { optional: true }) ?? null;
|
|
764
|
+
|
|
817
765
|
if (typeof navigation === 'function') {
|
|
818
766
|
this.navigation = navigation();
|
|
819
767
|
} else {
|