@rxap/layout 18.0.3-dev.0 → 18.1.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +280 -1
- package/compodoc/changelog.html +13 -0
- package/compodoc/components/AppsButtonComponent.html +185 -153
- package/compodoc/components/BaseLayoutComponent.html +351 -0
- package/compodoc/components/DefaultHeaderComponent.html +545 -0
- package/compodoc/components/FooterComponent.html +58 -79
- package/compodoc/components/HeaderComponent.html +49 -294
- package/compodoc/components/LanguageSelectorComponent.html +6 -54
- package/compodoc/components/LayoutComponent.html +69 -464
- package/compodoc/components/MinimalLayoutComponent.html +349 -0
- package/compodoc/components/NavigationComponent.html +116 -312
- package/compodoc/components/NavigationItemComponent.html +130 -361
- package/compodoc/components/NavigationProgressBarComponent.html +41 -107
- package/compodoc/components/ReleaseInfoComponent.html +536 -0
- package/compodoc/components/SettingsButtonComponent.html +186 -225
- package/compodoc/components/SidenavComponent.html +566 -142
- package/compodoc/components/SidenavToggleButtonComponent.html +71 -91
- package/compodoc/components/SignOutComponent.html +7 -60
- package/compodoc/components/UserProfileIconComponent.html +97 -161
- package/compodoc/dependencies.html +11 -25
- package/compodoc/directives/FooterDirective-1.html +293 -0
- package/compodoc/directives/FooterDirective.html +8 -86
- package/compodoc/directives/HeaderDirective.html +293 -0
- package/compodoc/index.html +183 -1
- package/compodoc/injectables/ExternalAppsService.html +1274 -0
- package/compodoc/injectables/FooterService.html +573 -0
- package/compodoc/injectables/HeaderService.html +576 -0
- package/compodoc/injectables/LayoutService.html +899 -0
- package/compodoc/injectables/LogoService.html +411 -0
- package/compodoc/injectables/NavigationService.html +46 -57
- package/compodoc/interfaces/ReleaseInfoModule.html +385 -0
- package/compodoc/interfaces/SettingsMenuItem.html +385 -0
- package/compodoc/js/menu-wc.js +24 -40
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +544 -1
- package/compodoc/miscellaneous/typealiases.html +40 -2
- package/compodoc/miscellaneous/variables.html +100 -9
- package/compodoc/overview.html +2 -10
- package/compodoc/properties.html +1 -1
- package/docs/assets/highlight.css +42 -0
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AppsButtonComponent.html +8 -8
- package/docs/classes/BaseLayoutComponent.html +2 -0
- package/docs/classes/DefaultHeaderComponent.html +7 -0
- package/docs/classes/ExternalAppsService.html +18 -0
- package/docs/classes/FooterComponent.html +5 -3
- package/docs/classes/FooterDirective.html +2 -2
- package/docs/classes/FooterService.html +14 -0
- package/docs/classes/HeaderComponent.html +6 -8
- package/docs/classes/HeaderDirective.html +8 -0
- package/docs/classes/HeaderService.html +14 -0
- package/docs/classes/LayoutComponent.html +4 -12
- package/docs/classes/LayoutService.html +20 -0
- package/docs/classes/LogoService.html +7 -0
- package/docs/classes/MinimalLayoutComponent.html +2 -0
- package/docs/classes/NavigationComponent.html +7 -8
- package/docs/classes/NavigationItemComponent.html +6 -9
- package/docs/classes/NavigationProgressBarComponent.html +3 -3
- package/docs/classes/NavigationService.html +3 -3
- package/docs/classes/ReleaseInfoComponent.html +6 -0
- package/docs/classes/SettingsButtonComponent.html +6 -11
- package/docs/classes/SidenavComponent.html +17 -5
- package/docs/classes/SidenavFooterDirective.html +2 -2
- package/docs/classes/SidenavHeaderDirective.html +2 -2
- package/docs/classes/SidenavToggleButtonComponent.html +4 -3
- package/docs/classes/UserProfileIconComponent.html +5 -4
- package/docs/documentation.json +8546 -8346
- package/docs/functions/IsNavigationDividerItem.html +1 -1
- package/docs/functions/IsNavigationInsertItem.html +1 -1
- package/docs/functions/IsNavigationItem.html +1 -1
- package/docs/functions/provideLayout.html +1 -0
- package/docs/functions/widthDefaultHeaderComponent.html +1 -0
- package/docs/functions/withFooterComponents.html +1 -0
- package/docs/functions/withHeaderComponents.html +1 -0
- package/docs/functions/withNavigationConfig.html +1 -0
- package/docs/functions/withNavigationInserts.html +1 -0
- package/docs/functions/withReleaseInfoModules.html +1 -0
- package/docs/functions/withSettingsMenuItems.html +1 -0
- package/docs/index.html +74 -2
- package/docs/interfaces/NavigationDividerItem.html +2 -2
- package/docs/interfaces/NavigationInsertItem.html +2 -2
- package/docs/interfaces/NavigationItem.html +2 -2
- package/docs/interfaces/NavigationStatus.html +2 -2
- package/docs/interfaces/ReleaseInfoModule.html +4 -0
- package/docs/interfaces/SettingsMenuItem.html +4 -0
- package/docs/modules.html +29 -17
- package/docs/types/ExternalApps.html +1 -0
- package/docs/types/ExtractUsernameFromProfileFn.html +1 -1
- package/docs/types/Navigation.html +1 -1
- package/docs/types/NavigationWithInserts.html +1 -1
- package/docs/types/SettingsMenuItemComponent.html +1 -0
- package/docs/variables/EXTRACT_USERNAME_FROM_PROFILE.html +1 -1
- package/docs/variables/RXAP_EXTERNAL_APP_FILTER.html +1 -0
- package/docs/variables/RXAP_FOOTER_COMPONENT.html +1 -1
- package/docs/variables/RXAP_HEADER_COMPONENT.html +1 -1
- package/docs/variables/RXAP_LAYOUT_APPS_GRID.html +1 -1
- package/docs/variables/RXAP_LOGO_CONFIG.html +1 -1
- package/docs/variables/RXAP_NAVIGATION_CONFIG.html +1 -1
- package/docs/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +1 -1
- package/docs/variables/RXAP_RELEASE_INFO_MODULE.html +1 -0
- package/docs/variables/RXAP_SETTINGS_MENU_ITEM.html +1 -0
- package/docs/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +1 -0
- package/esm2022/index.mjs +35 -40
- package/esm2022/lib/base-layout/base-layout.component.mjs +16 -0
- package/esm2022/lib/default-header/apps-button/apps-button.component.mjs +38 -0
- package/esm2022/lib/default-header/default-header.component.mjs +32 -0
- package/esm2022/lib/default-header/settings-button/settings-button.component.mjs +73 -0
- package/esm2022/lib/default-header/sidenav-toggle-button/sidenav-toggle-button.component.mjs +24 -0
- package/esm2022/lib/default-header/user-profile-icon/user-profile-icon.component.mjs +35 -0
- package/esm2022/lib/external-apps.service.mjs +97 -0
- package/esm2022/lib/footer/footer.component.mjs +13 -13
- package/esm2022/lib/footer/footer.directive.mjs +30 -0
- package/esm2022/lib/footer.service.mjs +58 -0
- package/esm2022/lib/header/header.component.mjs +17 -65
- package/esm2022/lib/header/header.directive.mjs +30 -0
- package/esm2022/lib/header.service.mjs +60 -0
- package/esm2022/lib/layout/layout.component.mjs +33 -47
- package/esm2022/lib/layout.service.mjs +93 -0
- package/esm2022/lib/logo.service.mjs +23 -0
- package/esm2022/lib/minimal-layout/minimal-layout.component.mjs +14 -0
- package/esm2022/lib/navigation/navigation-item/navigation-item.component.mjs +30 -64
- package/esm2022/lib/navigation/navigation.component.mjs +22 -48
- package/esm2022/lib/navigation-progress-bar/navigation-progress-bar.component.mjs +23 -0
- package/esm2022/lib/navigation.service.mjs +141 -0
- package/esm2022/lib/provide.mjs +73 -0
- package/esm2022/lib/release-info/release-info.component.mjs +28 -0
- package/esm2022/lib/sidenav/sidenav.component.mjs +50 -33
- package/esm2022/lib/tokens.mjs +9 -1
- package/esm2022/lib/types.mjs +1 -1
- package/fesm2022/rxap-layout.mjs +845 -833
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/index.d.ts +18 -19
- package/lib/base-layout/base-layout.component.d.ts +5 -0
- package/lib/default-header/apps-button/apps-button.component.d.ts +15 -0
- package/lib/default-header/default-header.component.d.ts +11 -0
- package/lib/{header → default-header}/settings-button/settings-button.component.d.ts +6 -14
- package/lib/{header → default-header}/sidenav-toggle-button/sidenav-toggle-button.component.d.ts +3 -5
- package/lib/default-header/user-profile-icon/user-profile-icon.component.d.ts +10 -0
- package/lib/external-apps.service.d.ts +25 -0
- package/lib/footer/footer.component.d.ts +3 -3
- package/lib/{footer.directive.d.ts → footer/footer.directive.d.ts} +2 -4
- package/lib/footer.service.d.ts +32 -0
- package/lib/header/header.component.d.ts +6 -12
- package/lib/header/header.directive.d.ts +12 -0
- package/lib/header.service.d.ts +34 -0
- package/lib/layout/layout.component.d.ts +4 -17
- package/lib/layout.service.d.ts +26 -0
- package/lib/logo.service.d.ts +10 -0
- package/lib/minimal-layout/minimal-layout.component.d.ts +5 -0
- package/lib/navigation/navigation-item/navigation-item.component.d.ts +10 -18
- package/lib/navigation/navigation.component.d.ts +10 -15
- package/lib/{header/navigation-progress-bar → navigation-progress-bar}/navigation-progress-bar.component.d.ts +1 -3
- package/lib/{navigation/navigation.service.d.ts → navigation.service.d.ts} +4 -5
- package/lib/provide.d.ts +12 -0
- package/lib/release-info/release-info.component.d.ts +9 -0
- package/lib/sidenav/sidenav.component.d.ts +18 -6
- package/lib/tokens.d.ts +11 -3
- package/lib/types.d.ts +15 -4
- package/package.json +32 -66
- package/theme.css +1 -1
- package/docs/classes/AppUrlService.html +0 -13
- package/docs/classes/AuthenticationServiceMock.html +0 -3
- package/docs/classes/LanguageSelectorComponent.html +0 -3
- package/docs/classes/LayoutComponentService.html +0 -15
- package/docs/classes/ReplaceRouterPathsPipe.html +0 -4
- package/docs/classes/ReplaceRouterPathsService.html +0 -3
- package/docs/classes/ResetButtonComponent.html +0 -3
- package/docs/classes/SidenavComponentService.html +0 -5
- package/docs/classes/SignOutComponent.html +0 -4
- package/docs/classes/ToggleWindowSidenavButtonComponent.html +0 -5
- package/docs/classes/VersionComponent.html +0 -7
- package/docs/classes/WindowContainerSidenavComponent.html +0 -10
- package/docs/interfaces/ExternalApps.html +0 -8
- package/docs/interfaces/LogoConfig.html +0 -4
- package/esm2022/lib/app-url.service.mjs +0 -78
- package/esm2022/lib/authentication.service.mock.mjs +0 -13
- package/esm2022/lib/footer.directive.mjs +0 -40
- package/esm2022/lib/header/apps-button/apps-button.component.mjs +0 -46
- package/esm2022/lib/header/language-selector/language-selector.component.mjs +0 -35
- package/esm2022/lib/header/navigation-progress-bar/navigation-progress-bar.component.mjs +0 -30
- package/esm2022/lib/header/reset-button/reset-button.component.mjs +0 -23
- package/esm2022/lib/header/settings-button/settings-button.component.mjs +0 -87
- package/esm2022/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.mjs +0 -26
- package/esm2022/lib/header/sign-out/sign-out.component.mjs +0 -23
- package/esm2022/lib/header/user-profile-icon/user-profile-icon.component.mjs +0 -45
- package/esm2022/lib/layout/layout.component.service.mjs +0 -77
- package/esm2022/lib/navigation/navigation.service.mjs +0 -145
- package/esm2022/lib/navigation/replace-router-paths.pipe.mjs +0 -22
- package/esm2022/lib/navigation/replace-router-paths.service.mjs +0 -15
- package/esm2022/lib/sidenav/sidenav.component.service.mjs +0 -22
- package/esm2022/lib/sidenav/version/version.component.mjs +0 -28
- package/esm2022/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.mjs +0 -30
- package/esm2022/lib/window-container-sidenav/window-container-sidenav.component.mjs +0 -54
- package/lib/app-url.service.d.ts +0 -29
- package/lib/authentication.service.mock.d.ts +0 -6
- package/lib/header/apps-button/apps-button.component.d.ts +0 -16
- package/lib/header/language-selector/language-selector.component.d.ts +0 -8
- package/lib/header/reset-button/reset-button.component.d.ts +0 -8
- package/lib/header/sign-out/sign-out.component.d.ts +0 -9
- package/lib/header/user-profile-icon/user-profile-icon.component.d.ts +0 -15
- package/lib/layout/layout.component.service.d.ts +0 -25
- package/lib/navigation/replace-router-paths.pipe.d.ts +0 -11
- package/lib/navigation/replace-router-paths.service.d.ts +0 -7
- package/lib/sidenav/sidenav.component.service.d.ts +0 -11
- package/lib/sidenav/version/version.component.d.ts +0 -14
- package/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.d.ts +0 -9
- package/lib/window-container-sidenav/window-container-sidenav.component.d.ts +0 -17
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
<h3>File</h3>
|
|
121
121
|
</p>
|
|
122
122
|
<p class="comment">
|
|
123
|
-
<code>src/lib/
|
|
123
|
+
<code>src/lib/navigation-progress-bar/navigation-progress-bar.component.ts</code>
|
|
124
124
|
</p>
|
|
125
125
|
|
|
126
126
|
|
|
@@ -161,9 +161,7 @@
|
|
|
161
161
|
<tr>
|
|
162
162
|
<td class="col-md-3">imports</td>
|
|
163
163
|
<td class="col-md-9">
|
|
164
|
-
<code>
|
|
165
|
-
<code>MatProgressBarModule</code>
|
|
166
|
-
<code>AsyncPipe</code>
|
|
164
|
+
<code>MatProgressBar</code>
|
|
167
165
|
</td>
|
|
168
166
|
</tr>
|
|
169
167
|
|
|
@@ -204,10 +202,10 @@
|
|
|
204
202
|
<ul class="index-list">
|
|
205
203
|
<li>
|
|
206
204
|
<span class="modifier">Public</span>
|
|
207
|
-
|
|
205
|
+
<span class="modifier">Readonly</span>
|
|
206
|
+
<a href="#navigating" >navigating</a>
|
|
208
207
|
</li>
|
|
209
208
|
<li>
|
|
210
|
-
<span class="modifier"></span>
|
|
211
209
|
<span class="modifier">Public</span>
|
|
212
210
|
<span class="modifier">Readonly</span>
|
|
213
211
|
<a href="#router" >router</a>
|
|
@@ -225,55 +223,6 @@
|
|
|
225
223
|
</table>
|
|
226
224
|
</section>
|
|
227
225
|
|
|
228
|
-
<section data-compodoc="block-constructor">
|
|
229
|
-
<h3 id="constructor">Constructor</h3>
|
|
230
|
-
<table class="table table-sm table-bordered">
|
|
231
|
-
<tbody>
|
|
232
|
-
<tr>
|
|
233
|
-
<td class="col-md-4">
|
|
234
|
-
<span class="modifier">Public</span>
|
|
235
|
-
<code>constructor(router: Router)</code>
|
|
236
|
-
</td>
|
|
237
|
-
</tr>
|
|
238
|
-
<tr>
|
|
239
|
-
<td class="col-md-4">
|
|
240
|
-
<div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/lib/header/navigation-progress-bar/navigation-progress-bar.component.ts:37</a></div>
|
|
241
|
-
</td>
|
|
242
|
-
</tr>
|
|
243
|
-
|
|
244
|
-
<tr>
|
|
245
|
-
<td class="col-md-4">
|
|
246
|
-
<div>
|
|
247
|
-
<b>Parameters :</b>
|
|
248
|
-
<table class="params">
|
|
249
|
-
<thead>
|
|
250
|
-
<tr>
|
|
251
|
-
<td>Name</td>
|
|
252
|
-
<td>Type</td>
|
|
253
|
-
<td>Optional</td>
|
|
254
|
-
</tr>
|
|
255
|
-
</thead>
|
|
256
|
-
<tbody>
|
|
257
|
-
<tr>
|
|
258
|
-
<td>router</td>
|
|
259
|
-
|
|
260
|
-
<td>
|
|
261
|
-
<code>Router</code>
|
|
262
|
-
</td>
|
|
263
|
-
|
|
264
|
-
<td>
|
|
265
|
-
No
|
|
266
|
-
</td>
|
|
267
|
-
|
|
268
|
-
</tr>
|
|
269
|
-
</tbody>
|
|
270
|
-
</table>
|
|
271
|
-
</div>
|
|
272
|
-
</td>
|
|
273
|
-
</tr>
|
|
274
|
-
</tbody>
|
|
275
|
-
</table>
|
|
276
|
-
</section>
|
|
277
226
|
|
|
278
227
|
|
|
279
228
|
|
|
@@ -289,23 +238,31 @@
|
|
|
289
238
|
<tbody>
|
|
290
239
|
<tr>
|
|
291
240
|
<td class="col-md-4">
|
|
292
|
-
<a name="navigating
|
|
241
|
+
<a name="navigating"></a>
|
|
293
242
|
<span class="name">
|
|
294
243
|
<span class="modifier">Public</span>
|
|
295
|
-
|
|
296
|
-
<
|
|
244
|
+
<span class="modifier">Readonly</span>
|
|
245
|
+
<span ><b>navigating</b></span>
|
|
246
|
+
<a href="#navigating"><span class="icon ion-ios-link"></span></a>
|
|
297
247
|
</span>
|
|
298
248
|
</td>
|
|
299
249
|
</tr>
|
|
300
250
|
<tr>
|
|
301
251
|
<td class="col-md-4">
|
|
302
|
-
<i>
|
|
303
|
-
|
|
252
|
+
<i>Default value : </i><code>toSignal(this.router.events.pipe(
|
|
253
|
+
filter(
|
|
254
|
+
event =>
|
|
255
|
+
event instanceof NavigationStart ||
|
|
256
|
+
event instanceof NavigationEnd ||
|
|
257
|
+
event instanceof NavigationCancel,
|
|
258
|
+
),
|
|
259
|
+
map(event => event instanceof NavigationStart),
|
|
260
|
+
), { initialValue: true })</code>
|
|
304
261
|
</td>
|
|
305
262
|
</tr>
|
|
306
263
|
<tr>
|
|
307
264
|
<td class="col-md-4">
|
|
308
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
265
|
+
<div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/navigation-progress-bar/navigation-progress-bar.component.ts:33</a></div>
|
|
309
266
|
</td>
|
|
310
267
|
</tr>
|
|
311
268
|
|
|
@@ -318,7 +275,6 @@
|
|
|
318
275
|
<td class="col-md-4">
|
|
319
276
|
<a name="router"></a>
|
|
320
277
|
<span class="name">
|
|
321
|
-
<span class="modifier"></span>
|
|
322
278
|
<span class="modifier">Public</span>
|
|
323
279
|
<span class="modifier">Readonly</span>
|
|
324
280
|
<span ><b>router</b></span>
|
|
@@ -328,22 +284,12 @@
|
|
|
328
284
|
</tr>
|
|
329
285
|
<tr>
|
|
330
286
|
<td class="col-md-4">
|
|
331
|
-
<i>
|
|
332
|
-
|
|
333
|
-
</td>
|
|
334
|
-
</tr>
|
|
335
|
-
<tr>
|
|
336
|
-
<td class="col-md-4">
|
|
337
|
-
<b>Decorators : </b>
|
|
338
|
-
<br />
|
|
339
|
-
<code>
|
|
340
|
-
@Inject(Router)<br />
|
|
341
|
-
</code>
|
|
287
|
+
<i>Default value : </i><code>inject(Router)</code>
|
|
342
288
|
</td>
|
|
343
289
|
</tr>
|
|
344
290
|
<tr>
|
|
345
291
|
<td class="col-md-4">
|
|
346
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
292
|
+
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/navigation-progress-bar/navigation-progress-bar.component.ts:31</a></div>
|
|
347
293
|
</td>
|
|
348
294
|
</tr>
|
|
349
295
|
|
|
@@ -359,9 +305,10 @@
|
|
|
359
305
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
360
306
|
ChangeDetectionStrategy,
|
|
361
307
|
Component,
|
|
362
|
-
|
|
308
|
+
inject,
|
|
363
309
|
} from '@angular/core';
|
|
364
|
-
import {
|
|
310
|
+
import { toSignal } from '@angular/core/rxjs-interop';
|
|
311
|
+
import { MatProgressBar } from '@angular/material/progress-bar';
|
|
365
312
|
import {
|
|
366
313
|
NavigationCancel,
|
|
367
314
|
NavigationEnd,
|
|
@@ -372,11 +319,6 @@ import {
|
|
|
372
319
|
filter,
|
|
373
320
|
map,
|
|
374
321
|
} from 'rxjs/operators';
|
|
375
|
-
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
376
|
-
import {
|
|
377
|
-
AsyncPipe,
|
|
378
|
-
NgIf,
|
|
379
|
-
} from '@angular/common';
|
|
380
322
|
|
|
381
323
|
@Component({
|
|
382
324
|
selector: 'rxap-navigation-progress-bar',
|
|
@@ -385,39 +327,31 @@ import {
|
|
|
385
327
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
386
328
|
standalone: true,
|
|
387
329
|
imports: [
|
|
388
|
-
|
|
389
|
-
MatProgressBarModule,
|
|
390
|
-
AsyncPipe,
|
|
330
|
+
MatProgressBar,
|
|
391
331
|
],
|
|
392
332
|
})
|
|
393
333
|
export class NavigationProgressBarComponent {
|
|
394
334
|
|
|
395
|
-
public
|
|
396
|
-
|
|
397
|
-
public
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
event
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
),
|
|
407
|
-
map(event => event instanceof NavigationStart),
|
|
408
|
-
);
|
|
409
|
-
}
|
|
335
|
+
public readonly router = inject(Router);
|
|
336
|
+
|
|
337
|
+
public readonly navigating = toSignal(this.router.events.pipe(
|
|
338
|
+
filter(
|
|
339
|
+
event =>
|
|
340
|
+
event instanceof NavigationStart ||
|
|
341
|
+
event instanceof NavigationEnd ||
|
|
342
|
+
event instanceof NavigationCancel,
|
|
343
|
+
),
|
|
344
|
+
map(event => event instanceof NavigationStart),
|
|
345
|
+
), { initialValue: true });
|
|
410
346
|
|
|
411
347
|
}
|
|
412
348
|
</code></pre>
|
|
413
349
|
</div>
|
|
414
350
|
|
|
415
351
|
<div class="tab-pane fade " id="templateData">
|
|
416
|
-
<pre class="line-numbers"><code class="language-html"
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
mode="indeterminate"
|
|
420
|
-
></mat-progress-bar>
|
|
352
|
+
<pre class="line-numbers"><code class="language-html">@if (navigating()) {
|
|
353
|
+
<mat-progress-bar color="accent" mode="indeterminate"></mat-progress-bar>
|
|
354
|
+
}
|
|
421
355
|
</code></pre>
|
|
422
356
|
</div>
|
|
423
357
|
|
|
@@ -453,9 +387,9 @@ export class NavigationProgressBarComponent {
|
|
|
453
387
|
<script src="../js/libs/htmlparser.js"></script>
|
|
454
388
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
455
389
|
<script>
|
|
456
|
-
var COMPONENT_TEMPLATE = '<div
|
|
457
|
-
var COMPONENTS = [{'name': 'AppsButtonComponent', 'selector': 'rxap-apps-button'},{'name': '
|
|
458
|
-
var DIRECTIVES = [{'name': 'FooterDirective', 'selector': '[rxapFooter]'},{'name': 'SidenavFooterDirective', 'selector': '[rxapSidenavFooter]'},{'name': 'SidenavHeaderDirective', 'selector': '[rxapSidenavHeader]'}];
|
|
390
|
+
var COMPONENT_TEMPLATE = '<div>@if (navigating()) {<mat-progress-bar color="accent" mode="indeterminate"></mat-progress-bar>}</div>'
|
|
391
|
+
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'}];
|
|
392
|
+
var DIRECTIVES = [{'name': 'FooterDirective', 'selector': '[rxapFooter]'},{'name': 'HeaderDirective', 'selector': '[rxapHeader]'},{'name': 'SidenavFooterDirective', 'selector': '[rxapSidenavFooter]'},{'name': 'SidenavHeaderDirective', 'selector': '[rxapSidenavHeader]'}];
|
|
459
393
|
var ACTUAL_COMPONENT = {'name': 'NavigationProgressBarComponent'};
|
|
460
394
|
</script>
|
|
461
395
|
<script src="../js/tree.js"></script>
|