@edsis/angular 22.0.23 → 22.0.25
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/fesm2022/edsis-angular-block-shell.mjs +277 -142
- package/fesm2022/edsis-angular-block-shell.mjs.map +1 -1
- package/fesm2022/edsis-angular-module-auth.mjs +9 -9
- package/fesm2022/edsis-angular-module-auth.mjs.map +1 -1
- package/package.json +5 -5
- package/types/edsis-angular-block-shell.d.ts +82 -51
|
@@ -3,7 +3,7 @@ import { input, ChangeDetectionStrategy, Component, computed, inject, DestroyRef
|
|
|
3
3
|
import { RouterLink, RouterOutlet } from '@angular/router';
|
|
4
4
|
import { LayoutService, LayoutComponent, LayoutVerticalComponent, LayoutHorizontalComponent, LayoutEmptyComponent, LayoutNavigationComponent, LayoutContentComponent } from '@edsis/theme/layout';
|
|
5
5
|
import { DOCUMENT } from '@angular/common';
|
|
6
|
-
import { NavigationCollapseRootDirective, NavigationCollapseExpandedDirective,
|
|
6
|
+
import { NavigationCollapseRootDirective, NavigationCollapseExpandedDirective, NavigationContainerComponent, NavigationSidebarComponent, NavigationDockbarComponent, NavigationHeaderComponent, NavigationFooterComponent, NavigationNavbarComponent, NavigationFlyoutComponent } from '@edsis/navigation';
|
|
7
7
|
import { PopoverContentDirective, PopoverTriggerDirective } from '@edsis/component/popover';
|
|
8
8
|
import { AspectRatioComponent } from '@edsis/component/aspect-ratio';
|
|
9
9
|
|
|
@@ -403,6 +403,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
403
403
|
}]
|
|
404
404
|
}], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: true }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: true }] }], logoText: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoText", required: false }] }], homePath: [{ type: i0.Input, args: [{ isSignal: true, alias: "homePath", required: false }] }], collapsible: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsible", required: false }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }] } });
|
|
405
405
|
|
|
406
|
+
/** Key localStorage tempat NavigationService mempersist appearance nav (`nav-${'appearance'}`). */
|
|
407
|
+
const NAV_APPEARANCE_STORAGE_KEY$1 = 'nav-appearance';
|
|
408
|
+
/** Key localStorage mode appearance (`sticky`/`drawer` saat dockbar, `default`/`collapsed` saat sidebar). */
|
|
409
|
+
const NAV_APPEARANCE_MODE_STORAGE_KEY = 'nav-appearance-mode';
|
|
410
|
+
function isVerticalAppearance(value) {
|
|
411
|
+
return value === 'sidebar' || value === 'dockbar';
|
|
412
|
+
}
|
|
413
|
+
function isDockbarMode(value) {
|
|
414
|
+
return value === 'sticky' || value === 'drawer';
|
|
415
|
+
}
|
|
406
416
|
class BlockShellSidebarNavigationComponent {
|
|
407
417
|
documentRef = inject(DOCUMENT);
|
|
408
418
|
destroyRef = inject(DestroyRef);
|
|
@@ -410,8 +420,6 @@ class BlockShellSidebarNavigationComponent {
|
|
|
410
420
|
...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
|
|
411
421
|
workspaceLinks = input([], /* @ts-ignore */
|
|
412
422
|
...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
|
|
413
|
-
sidebarNavId = input('block-shell-sidebar', /* @ts-ignore */
|
|
414
|
-
...(ngDevMode ? [{ debugName: "sidebarNavId" }] : /* istanbul ignore next */ []));
|
|
415
423
|
shellName = input.required(/* @ts-ignore */
|
|
416
424
|
...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
|
|
417
425
|
brandSubtitle = input('Etos Indonusa', /* @ts-ignore */
|
|
@@ -426,8 +434,23 @@ class BlockShellSidebarNavigationComponent {
|
|
|
426
434
|
...(ngDevMode ? [{ debugName: "userPosition" }] : /* istanbul ignore next */ []));
|
|
427
435
|
ariaLabel = input('side navigation', /* @ts-ignore */
|
|
428
436
|
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
437
|
+
/** Fallback appearance ketika localStorage `nav-appearance` kosong atau tidak valid untuk orientasi vertikal. */
|
|
438
|
+
appearance = input('sidebar', /* @ts-ignore */
|
|
439
|
+
...(ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []));
|
|
429
440
|
responsiveCollapsed = signal(this.readResponsiveCollapsed(), /* @ts-ignore */
|
|
430
441
|
...(ngDevMode ? [{ debugName: "responsiveCollapsed" }] : /* istanbul ignore next */ []));
|
|
442
|
+
/** Nilai `nav-appearance` yang dipersist NavigationService; di-refresh saat ada perubahan storage. */
|
|
443
|
+
storedAppearance = signal(this.readStoredAppearance(), /* @ts-ignore */
|
|
444
|
+
...(ngDevMode ? [{ debugName: "storedAppearance" }] : /* istanbul ignore next */ []));
|
|
445
|
+
/** Nilai `nav-appearance-mode` yang dipersist NavigationService (sticky/drawer saat dockbar). */
|
|
446
|
+
storedDockbarMode = signal(this.readStoredDockbarMode(), /* @ts-ignore */
|
|
447
|
+
...(ngDevMode ? [{ debugName: "storedDockbarMode" }] : /* istanbul ignore next */ []));
|
|
448
|
+
/** localStorage `nav-appearance` menang atas default input — sidebar ↔ dockbar ikut perubahan storage. */
|
|
449
|
+
effectiveAppearance = computed(() => this.storedAppearance() ?? this.appearance(), /* @ts-ignore */
|
|
450
|
+
...(ngDevMode ? [{ debugName: "effectiveAppearance" }] : /* istanbul ignore next */ []));
|
|
451
|
+
/** Di viewport sempit aside sticky akan mendorong konten; paksa drawer agar overlay. */
|
|
452
|
+
dockbarMode = computed(() => this.responsiveCollapsed() ? 'drawer' : (this.storedDockbarMode() ?? 'sticky'), /* @ts-ignore */
|
|
453
|
+
...(ngDevMode ? [{ debugName: "dockbarMode" }] : /* istanbul ignore next */ []));
|
|
431
454
|
constructor() {
|
|
432
455
|
const windowRef = this.documentRef.defaultView;
|
|
433
456
|
if (!windowRef) {
|
|
@@ -439,44 +462,79 @@ class BlockShellSidebarNavigationComponent {
|
|
|
439
462
|
syncResponsiveCollapsed(mediaQuery.matches);
|
|
440
463
|
mediaQuery.addEventListener('change', handleChange);
|
|
441
464
|
this.destroyRef.onDestroy(() => mediaQuery.removeEventListener('change', handleChange));
|
|
465
|
+
const syncStoredAppearance = () => {
|
|
466
|
+
this.storedAppearance.set(this.readStoredAppearance());
|
|
467
|
+
this.storedDockbarMode.set(this.readStoredDockbarMode());
|
|
468
|
+
};
|
|
469
|
+
windowRef.addEventListener('storage', syncStoredAppearance);
|
|
470
|
+
this.destroyRef.onDestroy(() => windowRef.removeEventListener('storage', syncStoredAppearance));
|
|
442
471
|
}
|
|
443
472
|
readResponsiveCollapsed() {
|
|
444
473
|
return this.documentRef.defaultView?.matchMedia('(max-width: 767.98px)').matches ?? false;
|
|
445
474
|
}
|
|
475
|
+
readStoredAppearance() {
|
|
476
|
+
const value = this.readStorage(NAV_APPEARANCE_STORAGE_KEY$1);
|
|
477
|
+
return isVerticalAppearance(value) ? value : null;
|
|
478
|
+
}
|
|
479
|
+
readStoredDockbarMode() {
|
|
480
|
+
const value = this.readStorage(NAV_APPEARANCE_MODE_STORAGE_KEY);
|
|
481
|
+
return isDockbarMode(value) ? value : null;
|
|
482
|
+
}
|
|
483
|
+
readStorage(key) {
|
|
484
|
+
try {
|
|
485
|
+
return this.documentRef.defaultView?.localStorage.getItem(key) ?? null;
|
|
486
|
+
}
|
|
487
|
+
catch {
|
|
488
|
+
return null;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
446
491
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: BlockShellSidebarNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
447
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
448
|
-
<Navigation
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
492
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.1", type: BlockShellSidebarNavigationComponent, isStandalone: true, selector: "block-shell-sidebar-navigation", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, workspaceLinks: { classPropertyName: "workspaceLinks", publicName: "workspaceLinks", isSignal: true, isRequired: false, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", isSignal: true, isRequired: true, transformFunction: null }, brandSubtitle: { classPropertyName: "brandSubtitle", publicName: "brandSubtitle", isSignal: true, isRequired: false, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
493
|
+
<Navigation id="main" [data]="navigation()" [ariaLabel]="ariaLabel()" collapse-tree="stairs" class="h-full">
|
|
494
|
+
@if (effectiveAppearance() === 'dockbar') {
|
|
495
|
+
<NavigationDockbar [mode]="dockbarMode()">
|
|
496
|
+
<NavigationHeader>
|
|
497
|
+
<block-shell-navigation-header
|
|
498
|
+
[name]="shellName()"
|
|
499
|
+
[subtitle]="brandSubtitle()"
|
|
500
|
+
[logoText]="logoText()"
|
|
501
|
+
[homePath]="homePath()"
|
|
502
|
+
[collapsible]="true"
|
|
503
|
+
[workspaceLinks]="workspaceLinks()" />
|
|
504
|
+
</NavigationHeader>
|
|
505
|
+
|
|
506
|
+
<NavigationFooter class="px-3">
|
|
507
|
+
<block-shell-navigation-footer [name]="userName()" [subtitle]="userPosition()" [collapsible]="true" />
|
|
508
|
+
</NavigationFooter>
|
|
509
|
+
</NavigationDockbar>
|
|
510
|
+
} @else {
|
|
511
|
+
<NavigationSidebar [collapsed]="responsiveCollapsed()" nav-sidebar-collapse>
|
|
512
|
+
<NavigationHeader>
|
|
513
|
+
<block-shell-navigation-header
|
|
514
|
+
[name]="shellName()"
|
|
515
|
+
[subtitle]="brandSubtitle()"
|
|
516
|
+
[logoText]="logoText()"
|
|
517
|
+
[homePath]="homePath()"
|
|
518
|
+
[collapsible]="true"
|
|
519
|
+
[workspaceLinks]="workspaceLinks()" />
|
|
520
|
+
</NavigationHeader>
|
|
521
|
+
|
|
522
|
+
<NavigationFooter class="px-3">
|
|
523
|
+
<block-shell-navigation-footer [name]="userName()" [subtitle]="userPosition()" [collapsible]="true" />
|
|
524
|
+
</NavigationFooter>
|
|
525
|
+
</NavigationSidebar>
|
|
526
|
+
}
|
|
471
527
|
</Navigation>
|
|
472
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
528
|
+
`, isInline: true, dependencies: [{ kind: "component", type: NavigationContainerComponent, selector: "Navigation", inputs: ["id", "data", "items", "ariaLabel", "compact", "collapse-tree", "class", "itemClass", "nav-group-class", "activeIds", "activeUrl", "openedIds"], outputs: ["openedIdsChange", "itemSelected"] }, { kind: "component", type: NavigationSidebarComponent, selector: "NavigationSidebar", inputs: ["position", "collapsed", "nav-sidebar-collapse", "previewExpanded", "class"] }, { kind: "component", type: NavigationDockbarComponent, selector: "NavigationDockbar", inputs: ["mode", "position", "class"] }, { kind: "component", type: NavigationHeaderComponent, selector: "NavigationHeader", inputs: ["toggle", "class"] }, { kind: "component", type: NavigationFooterComponent, selector: "NavigationFooter", inputs: ["class"] }, { kind: "component", type: BlockShellNavigationHeaderComponent, selector: "block-shell-navigation-header", inputs: ["name", "subtitle", "logoText", "homePath", "collapsible", "workspaceLinks"] }, { kind: "component", type: BlockShellNavigationFooterComponent, selector: "block-shell-navigation-footer", inputs: ["name", "subtitle", "initials", "collapsible", "desktopOnly"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
473
529
|
}
|
|
474
530
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: BlockShellSidebarNavigationComponent, decorators: [{
|
|
475
531
|
type: Component,
|
|
476
532
|
args: [{
|
|
477
533
|
selector: 'block-shell-sidebar-navigation',
|
|
478
534
|
imports: [
|
|
479
|
-
|
|
535
|
+
NavigationContainerComponent,
|
|
536
|
+
NavigationSidebarComponent,
|
|
537
|
+
NavigationDockbarComponent,
|
|
480
538
|
NavigationHeaderComponent,
|
|
481
539
|
NavigationFooterComponent,
|
|
482
540
|
BlockShellNavigationHeaderComponent,
|
|
@@ -486,42 +544,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
486
544
|
class: 'contents',
|
|
487
545
|
},
|
|
488
546
|
template: `
|
|
489
|
-
<Navigation
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
547
|
+
<Navigation id="main" [data]="navigation()" [ariaLabel]="ariaLabel()" collapse-tree="stairs" class="h-full">
|
|
548
|
+
@if (effectiveAppearance() === 'dockbar') {
|
|
549
|
+
<NavigationDockbar [mode]="dockbarMode()">
|
|
550
|
+
<NavigationHeader>
|
|
551
|
+
<block-shell-navigation-header
|
|
552
|
+
[name]="shellName()"
|
|
553
|
+
[subtitle]="brandSubtitle()"
|
|
554
|
+
[logoText]="logoText()"
|
|
555
|
+
[homePath]="homePath()"
|
|
556
|
+
[collapsible]="true"
|
|
557
|
+
[workspaceLinks]="workspaceLinks()" />
|
|
558
|
+
</NavigationHeader>
|
|
559
|
+
|
|
560
|
+
<NavigationFooter class="px-3">
|
|
561
|
+
<block-shell-navigation-footer [name]="userName()" [subtitle]="userPosition()" [collapsible]="true" />
|
|
562
|
+
</NavigationFooter>
|
|
563
|
+
</NavigationDockbar>
|
|
564
|
+
} @else {
|
|
565
|
+
<NavigationSidebar [collapsed]="responsiveCollapsed()" nav-sidebar-collapse>
|
|
566
|
+
<NavigationHeader>
|
|
567
|
+
<block-shell-navigation-header
|
|
568
|
+
[name]="shellName()"
|
|
569
|
+
[subtitle]="brandSubtitle()"
|
|
570
|
+
[logoText]="logoText()"
|
|
571
|
+
[homePath]="homePath()"
|
|
572
|
+
[collapsible]="true"
|
|
573
|
+
[workspaceLinks]="workspaceLinks()" />
|
|
574
|
+
</NavigationHeader>
|
|
575
|
+
|
|
576
|
+
<NavigationFooter class="px-3">
|
|
577
|
+
<block-shell-navigation-footer [name]="userName()" [subtitle]="userPosition()" [collapsible]="true" />
|
|
578
|
+
</NavigationFooter>
|
|
579
|
+
</NavigationSidebar>
|
|
580
|
+
}
|
|
512
581
|
</Navigation>
|
|
513
582
|
`,
|
|
514
583
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
515
584
|
}]
|
|
516
|
-
}], ctorParameters: () => [], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }],
|
|
585
|
+
}], ctorParameters: () => [], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }], shellName: [{ type: i0.Input, args: [{ isSignal: true, alias: "shellName", required: true }] }], brandSubtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandSubtitle", required: false }] }], logoText: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoText", required: false }] }], homePath: [{ type: i0.Input, args: [{ isSignal: true, alias: "homePath", required: false }] }], userName: [{ type: i0.Input, args: [{ isSignal: true, alias: "userName", required: true }] }], userPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPosition", required: true }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }] } });
|
|
517
586
|
|
|
587
|
+
/** Key localStorage tempat NavigationService mempersist appearance nav (`nav-${'appearance'}`). */
|
|
588
|
+
const NAV_APPEARANCE_STORAGE_KEY = 'nav-appearance';
|
|
589
|
+
function isHorizontalAppearance(value) {
|
|
590
|
+
return value === 'navbar' || value === 'flyout';
|
|
591
|
+
}
|
|
518
592
|
class BlockShellTopNavigationComponent {
|
|
593
|
+
documentRef = inject(DOCUMENT);
|
|
594
|
+
destroyRef = inject(DestroyRef);
|
|
595
|
+
layout = inject(LayoutService);
|
|
519
596
|
navigation = input.required(/* @ts-ignore */
|
|
520
597
|
...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
|
|
521
598
|
workspaceLinks = input([], /* @ts-ignore */
|
|
522
599
|
...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
|
|
523
|
-
navbarId = input('block-shell-navbar', /* @ts-ignore */
|
|
524
|
-
...(ngDevMode ? [{ debugName: "navbarId" }] : /* istanbul ignore next */ []));
|
|
525
600
|
shellName = input.required(/* @ts-ignore */
|
|
526
601
|
...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
|
|
527
602
|
brandSubtitle = input('Etos Indonusa', /* @ts-ignore */
|
|
@@ -536,37 +611,83 @@ class BlockShellTopNavigationComponent {
|
|
|
536
611
|
...(ngDevMode ? [{ debugName: "userPosition" }] : /* istanbul ignore next */ []));
|
|
537
612
|
ariaLabel = input('top navigation', /* @ts-ignore */
|
|
538
613
|
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
614
|
+
/** Fallback appearance ketika localStorage `nav-appearance` kosong atau tidak valid untuk orientasi horizontal. */
|
|
615
|
+
appearance = input('navbar', /* @ts-ignore */
|
|
616
|
+
...(ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []));
|
|
617
|
+
flyoutLabel = input('Menu', /* @ts-ignore */
|
|
618
|
+
...(ngDevMode ? [{ debugName: "flyoutLabel" }] : /* istanbul ignore next */ []));
|
|
619
|
+
/** Nilai `nav-appearance` yang dipersist NavigationService; di-refresh saat ada perubahan storage. */
|
|
620
|
+
storedAppearance = signal(this.readStoredAppearance(), /* @ts-ignore */
|
|
621
|
+
...(ngDevMode ? [{ debugName: "storedAppearance" }] : /* istanbul ignore next */ []));
|
|
622
|
+
/** localStorage `nav-appearance` menang atas default input — navbar ↔ flyout ikut perubahan storage. */
|
|
623
|
+
effectiveAppearance = computed(() => this.storedAppearance() ?? this.appearance(), /* @ts-ignore */
|
|
624
|
+
...(ngDevMode ? [{ debugName: "effectiveAppearance" }] : /* istanbul ignore next */ []));
|
|
625
|
+
/** Style flyout mengikuti appearance layout: border-rail ↔ border-rail, selain itu default. */
|
|
626
|
+
navAppearanceStyle = computed(() => this.layout.appearance() === 'border-rail' ? 'border-rail' : 'default', /* @ts-ignore */
|
|
627
|
+
...(ngDevMode ? [{ debugName: "navAppearanceStyle" }] : /* istanbul ignore next */ []));
|
|
628
|
+
constructor() {
|
|
629
|
+
const windowRef = this.documentRef.defaultView;
|
|
630
|
+
if (!windowRef) {
|
|
631
|
+
return;
|
|
632
|
+
}
|
|
633
|
+
const syncStoredAppearance = () => this.storedAppearance.set(this.readStoredAppearance());
|
|
634
|
+
windowRef.addEventListener('storage', syncStoredAppearance);
|
|
635
|
+
this.destroyRef.onDestroy(() => windowRef.removeEventListener('storage', syncStoredAppearance));
|
|
636
|
+
}
|
|
637
|
+
readStoredAppearance() {
|
|
638
|
+
try {
|
|
639
|
+
const value = this.documentRef.defaultView?.localStorage.getItem(NAV_APPEARANCE_STORAGE_KEY) ?? null;
|
|
640
|
+
return isHorizontalAppearance(value) ? value : null;
|
|
641
|
+
}
|
|
642
|
+
catch {
|
|
643
|
+
return null;
|
|
644
|
+
}
|
|
645
|
+
}
|
|
539
646
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: BlockShellTopNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
540
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
541
|
-
<Navigation
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
647
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.1", type: BlockShellTopNavigationComponent, isStandalone: true, selector: "block-shell-top-navigation", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, workspaceLinks: { classPropertyName: "workspaceLinks", publicName: "workspaceLinks", isSignal: true, isRequired: false, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", isSignal: true, isRequired: true, transformFunction: null }, brandSubtitle: { classPropertyName: "brandSubtitle", publicName: "brandSubtitle", isSignal: true, isRequired: false, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, flyoutLabel: { classPropertyName: "flyoutLabel", publicName: "flyoutLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
648
|
+
<Navigation id="main" [data]="navigation()" [ariaLabel]="ariaLabel()" collapse-tree="straight" class="h-full">
|
|
649
|
+
@if (effectiveAppearance() === 'flyout') {
|
|
650
|
+
<NavigationFlyout [label]="flyoutLabel()" [nav-appearance-style]="navAppearanceStyle()">
|
|
651
|
+
<NavigationHeader>
|
|
652
|
+
<block-shell-navigation-header
|
|
653
|
+
[name]="shellName()"
|
|
654
|
+
[subtitle]="brandSubtitle()"
|
|
655
|
+
[logoText]="logoText()"
|
|
656
|
+
[homePath]="homePath()"
|
|
657
|
+
[workspaceLinks]="workspaceLinks()" />
|
|
658
|
+
</NavigationHeader>
|
|
659
|
+
|
|
660
|
+
<NavigationFooter class="px-3">
|
|
661
|
+
<block-shell-navigation-footer [name]="userName()" [subtitle]="userPosition()" [desktopOnly]="true" />
|
|
662
|
+
</NavigationFooter>
|
|
663
|
+
</NavigationFlyout>
|
|
664
|
+
} @else {
|
|
665
|
+
<NavigationNavbar [nav-appearance-style]="navAppearanceStyle()">
|
|
666
|
+
<NavigationHeader>
|
|
667
|
+
<block-shell-navigation-header
|
|
668
|
+
[name]="shellName()"
|
|
669
|
+
[subtitle]="brandSubtitle()"
|
|
670
|
+
[logoText]="logoText()"
|
|
671
|
+
[homePath]="homePath()"
|
|
672
|
+
[workspaceLinks]="workspaceLinks()" />
|
|
673
|
+
</NavigationHeader>
|
|
674
|
+
|
|
675
|
+
<NavigationFooter class="px-3">
|
|
676
|
+
<block-shell-navigation-footer [name]="userName()" [subtitle]="userPosition()" [desktopOnly]="true" />
|
|
677
|
+
</NavigationFooter>
|
|
678
|
+
</NavigationNavbar>
|
|
679
|
+
}
|
|
561
680
|
</Navigation>
|
|
562
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
681
|
+
`, isInline: true, dependencies: [{ kind: "component", type: NavigationContainerComponent, selector: "Navigation", inputs: ["id", "data", "items", "ariaLabel", "compact", "collapse-tree", "class", "itemClass", "nav-group-class", "activeIds", "activeUrl", "openedIds"], outputs: ["openedIdsChange", "itemSelected"] }, { kind: "component", type: NavigationNavbarComponent, selector: "NavigationNavbar", inputs: ["nav-position", "nav-appearance-style", "class"] }, { kind: "component", type: NavigationFlyoutComponent, selector: "NavigationFlyout", inputs: ["label", "icon", "icon-only", "icon-position", "nav-position", "nav-appearance-style", "class"] }, { kind: "component", type: NavigationHeaderComponent, selector: "NavigationHeader", inputs: ["toggle", "class"] }, { kind: "component", type: NavigationFooterComponent, selector: "NavigationFooter", inputs: ["class"] }, { kind: "component", type: BlockShellNavigationHeaderComponent, selector: "block-shell-navigation-header", inputs: ["name", "subtitle", "logoText", "homePath", "collapsible", "workspaceLinks"] }, { kind: "component", type: BlockShellNavigationFooterComponent, selector: "block-shell-navigation-footer", inputs: ["name", "subtitle", "initials", "collapsible", "desktopOnly"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
563
682
|
}
|
|
564
683
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: BlockShellTopNavigationComponent, decorators: [{
|
|
565
684
|
type: Component,
|
|
566
685
|
args: [{
|
|
567
686
|
selector: 'block-shell-top-navigation',
|
|
568
687
|
imports: [
|
|
569
|
-
|
|
688
|
+
NavigationContainerComponent,
|
|
689
|
+
NavigationNavbarComponent,
|
|
690
|
+
NavigationFlyoutComponent,
|
|
570
691
|
NavigationHeaderComponent,
|
|
571
692
|
NavigationFooterComponent,
|
|
572
693
|
BlockShellNavigationHeaderComponent,
|
|
@@ -576,40 +697,58 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
576
697
|
class: 'contents',
|
|
577
698
|
},
|
|
578
699
|
template: `
|
|
579
|
-
<Navigation
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
700
|
+
<Navigation id="main" [data]="navigation()" [ariaLabel]="ariaLabel()" collapse-tree="straight" class="h-full">
|
|
701
|
+
@if (effectiveAppearance() === 'flyout') {
|
|
702
|
+
<NavigationFlyout [label]="flyoutLabel()" [nav-appearance-style]="navAppearanceStyle()">
|
|
703
|
+
<NavigationHeader>
|
|
704
|
+
<block-shell-navigation-header
|
|
705
|
+
[name]="shellName()"
|
|
706
|
+
[subtitle]="brandSubtitle()"
|
|
707
|
+
[logoText]="logoText()"
|
|
708
|
+
[homePath]="homePath()"
|
|
709
|
+
[workspaceLinks]="workspaceLinks()" />
|
|
710
|
+
</NavigationHeader>
|
|
711
|
+
|
|
712
|
+
<NavigationFooter class="px-3">
|
|
713
|
+
<block-shell-navigation-footer [name]="userName()" [subtitle]="userPosition()" [desktopOnly]="true" />
|
|
714
|
+
</NavigationFooter>
|
|
715
|
+
</NavigationFlyout>
|
|
716
|
+
} @else {
|
|
717
|
+
<NavigationNavbar [nav-appearance-style]="navAppearanceStyle()">
|
|
718
|
+
<NavigationHeader>
|
|
719
|
+
<block-shell-navigation-header
|
|
720
|
+
[name]="shellName()"
|
|
721
|
+
[subtitle]="brandSubtitle()"
|
|
722
|
+
[logoText]="logoText()"
|
|
723
|
+
[homePath]="homePath()"
|
|
724
|
+
[workspaceLinks]="workspaceLinks()" />
|
|
725
|
+
</NavigationHeader>
|
|
726
|
+
|
|
727
|
+
<NavigationFooter class="px-3">
|
|
728
|
+
<block-shell-navigation-footer [name]="userName()" [subtitle]="userPosition()" [desktopOnly]="true" />
|
|
729
|
+
</NavigationFooter>
|
|
730
|
+
</NavigationNavbar>
|
|
731
|
+
}
|
|
599
732
|
</Navigation>
|
|
600
733
|
`,
|
|
601
734
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
602
735
|
}]
|
|
603
|
-
}], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }],
|
|
736
|
+
}], ctorParameters: () => [], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }], shellName: [{ type: i0.Input, args: [{ isSignal: true, alias: "shellName", required: true }] }], brandSubtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandSubtitle", required: false }] }], logoText: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoText", required: false }] }], homePath: [{ type: i0.Input, args: [{ isSignal: true, alias: "homePath", required: false }] }], userName: [{ type: i0.Input, args: [{ isSignal: true, alias: "userName", required: true }] }], userPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPosition", required: true }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], flyoutLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "flyoutLabel", required: false }] }] } });
|
|
604
737
|
|
|
605
738
|
class BlockShellComponent {
|
|
606
739
|
navigation = input.required(/* @ts-ignore */
|
|
607
740
|
...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
|
|
608
741
|
workspaceLinks = input([], /* @ts-ignore */
|
|
609
742
|
...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
|
|
610
|
-
|
|
743
|
+
/**
|
|
744
|
+
* @deprecated Tidak lagi dipakai. Navigasi utama shell selalu memakai id `main`
|
|
745
|
+
* (lihat NavigationService — id `main` dikhususkan untuk navigasi utama layout/shell).
|
|
746
|
+
* Input dipertahankan sementara demi kompatibilitas pemanggil.
|
|
747
|
+
*/
|
|
748
|
+
navbarId = input('main', /* @ts-ignore */
|
|
611
749
|
...(ngDevMode ? [{ debugName: "navbarId" }] : /* istanbul ignore next */ []));
|
|
612
|
-
|
|
750
|
+
/** @deprecated Tidak lagi dipakai. Navigasi utama shell selalu memakai id `main`. */
|
|
751
|
+
sidebarNavId = input('main', /* @ts-ignore */
|
|
613
752
|
...(ngDevMode ? [{ debugName: "sidebarNavId" }] : /* istanbul ignore next */ []));
|
|
614
753
|
shellName = input.required(/* @ts-ignore */
|
|
615
754
|
...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
|
|
@@ -632,15 +771,14 @@ class BlockShellComponent {
|
|
|
632
771
|
layout = inject(LayoutService);
|
|
633
772
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: BlockShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
634
773
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.1", type: BlockShellComponent, isStandalone: true, selector: "block-shell", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, workspaceLinks: { classPropertyName: "workspaceLinks", publicName: "workspaceLinks", isSignal: true, isRequired: false, transformFunction: null }, navbarId: { classPropertyName: "navbarId", publicName: "navbarId", isSignal: true, isRequired: false, transformFunction: null }, sidebarNavId: { classPropertyName: "sidebarNavId", publicName: "sidebarNavId", isSignal: true, isRequired: false, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", isSignal: true, isRequired: true, transformFunction: null }, brandSubtitle: { classPropertyName: "brandSubtitle", publicName: "brandSubtitle", isSignal: true, isRequired: false, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, topAriaLabel: { classPropertyName: "topAriaLabel", publicName: "topAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, sideAriaLabel: { classPropertyName: "sideAriaLabel", publicName: "sideAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, contentAriaLabel: { classPropertyName: "contentAriaLabel", publicName: "contentAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
635
|
-
<
|
|
774
|
+
<Layout>
|
|
636
775
|
@switch (layout.type()) {
|
|
637
776
|
@case ('horizontal') {
|
|
638
|
-
<
|
|
639
|
-
<
|
|
777
|
+
<LayoutHorizontal>
|
|
778
|
+
<LayoutNavigation [ariaLabel]="topAriaLabel()">
|
|
640
779
|
<block-shell-top-navigation
|
|
641
780
|
[navigation]="navigation()"
|
|
642
781
|
[workspaceLinks]="workspaceLinks()"
|
|
643
|
-
[navbarId]="navbarId()"
|
|
644
782
|
[shellName]="shellName()"
|
|
645
783
|
[brandSubtitle]="brandSubtitle()"
|
|
646
784
|
[logoText]="logoText()"
|
|
@@ -648,29 +786,28 @@ class BlockShellComponent {
|
|
|
648
786
|
[userName]="userName()"
|
|
649
787
|
[userPosition]="userPosition()"
|
|
650
788
|
[ariaLabel]="topAriaLabel()" />
|
|
651
|
-
</
|
|
789
|
+
</LayoutNavigation>
|
|
652
790
|
|
|
653
|
-
<
|
|
791
|
+
<LayoutContent [attr.aria-label]="contentAriaLabel()">
|
|
654
792
|
<router-outlet />
|
|
655
|
-
</
|
|
656
|
-
</
|
|
793
|
+
</LayoutContent>
|
|
794
|
+
</LayoutHorizontal>
|
|
657
795
|
}
|
|
658
796
|
|
|
659
797
|
@case ('empty') {
|
|
660
|
-
<
|
|
661
|
-
<
|
|
798
|
+
<LayoutEmpty>
|
|
799
|
+
<LayoutContent [attr.aria-label]="contentAriaLabel()">
|
|
662
800
|
<router-outlet />
|
|
663
|
-
</
|
|
664
|
-
</
|
|
801
|
+
</LayoutContent>
|
|
802
|
+
</LayoutEmpty>
|
|
665
803
|
}
|
|
666
804
|
|
|
667
805
|
@default {
|
|
668
|
-
<
|
|
669
|
-
<
|
|
806
|
+
<LayoutVertical>
|
|
807
|
+
<LayoutNavigation [ariaLabel]="sideAriaLabel()">
|
|
670
808
|
<block-shell-sidebar-navigation
|
|
671
809
|
[navigation]="navigation()"
|
|
672
810
|
[workspaceLinks]="workspaceLinks()"
|
|
673
|
-
[sidebarNavId]="sidebarNavId()"
|
|
674
811
|
[shellName]="shellName()"
|
|
675
812
|
[brandSubtitle]="brandSubtitle()"
|
|
676
813
|
[logoText]="logoText()"
|
|
@@ -678,16 +815,16 @@ class BlockShellComponent {
|
|
|
678
815
|
[userName]="userName()"
|
|
679
816
|
[userPosition]="userPosition()"
|
|
680
817
|
[ariaLabel]="sideAriaLabel()" />
|
|
681
|
-
</
|
|
818
|
+
</LayoutNavigation>
|
|
682
819
|
|
|
683
|
-
<
|
|
820
|
+
<LayoutContent [attr.aria-label]="contentAriaLabel()">
|
|
684
821
|
<router-outlet />
|
|
685
|
-
</
|
|
686
|
-
</
|
|
822
|
+
</LayoutContent>
|
|
823
|
+
</LayoutVertical>
|
|
687
824
|
}
|
|
688
825
|
}
|
|
689
|
-
</
|
|
690
|
-
`, isInline: true, dependencies: [{ kind: "component", type: LayoutComponent, selector: "
|
|
826
|
+
</Layout>
|
|
827
|
+
`, isInline: true, dependencies: [{ kind: "component", type: LayoutComponent, selector: "Layout", inputs: ["surface", "appearance", "layout-style", "width", "class"] }, { kind: "component", type: LayoutVerticalComponent, selector: "LayoutVertical", inputs: ["class"] }, { kind: "component", type: LayoutHorizontalComponent, selector: "LayoutHorizontal", inputs: ["class"] }, { kind: "component", type: LayoutEmptyComponent, selector: "LayoutEmpty", inputs: ["class"] }, { kind: "component", type: LayoutNavigationComponent, selector: "LayoutNavigation", inputs: ["ariaLabel", "railOffset", "class"] }, { kind: "component", type: LayoutContentComponent, selector: "LayoutContent", inputs: ["class"] }, { kind: "component", type: BlockShellSidebarNavigationComponent, selector: "block-shell-sidebar-navigation", inputs: ["navigation", "workspaceLinks", "shellName", "brandSubtitle", "logoText", "homePath", "userName", "userPosition", "ariaLabel", "appearance"] }, { kind: "component", type: BlockShellTopNavigationComponent, selector: "block-shell-top-navigation", inputs: ["navigation", "workspaceLinks", "shellName", "brandSubtitle", "logoText", "homePath", "userName", "userPosition", "ariaLabel", "appearance", "flyoutLabel"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
691
828
|
}
|
|
692
829
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: BlockShellComponent, decorators: [{
|
|
693
830
|
type: Component,
|
|
@@ -708,15 +845,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
708
845
|
class: 'contents',
|
|
709
846
|
},
|
|
710
847
|
template: `
|
|
711
|
-
<
|
|
848
|
+
<Layout>
|
|
712
849
|
@switch (layout.type()) {
|
|
713
850
|
@case ('horizontal') {
|
|
714
|
-
<
|
|
715
|
-
<
|
|
851
|
+
<LayoutHorizontal>
|
|
852
|
+
<LayoutNavigation [ariaLabel]="topAriaLabel()">
|
|
716
853
|
<block-shell-top-navigation
|
|
717
854
|
[navigation]="navigation()"
|
|
718
855
|
[workspaceLinks]="workspaceLinks()"
|
|
719
|
-
[navbarId]="navbarId()"
|
|
720
856
|
[shellName]="shellName()"
|
|
721
857
|
[brandSubtitle]="brandSubtitle()"
|
|
722
858
|
[logoText]="logoText()"
|
|
@@ -724,29 +860,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
724
860
|
[userName]="userName()"
|
|
725
861
|
[userPosition]="userPosition()"
|
|
726
862
|
[ariaLabel]="topAriaLabel()" />
|
|
727
|
-
</
|
|
863
|
+
</LayoutNavigation>
|
|
728
864
|
|
|
729
|
-
<
|
|
865
|
+
<LayoutContent [attr.aria-label]="contentAriaLabel()">
|
|
730
866
|
<router-outlet />
|
|
731
|
-
</
|
|
732
|
-
</
|
|
867
|
+
</LayoutContent>
|
|
868
|
+
</LayoutHorizontal>
|
|
733
869
|
}
|
|
734
870
|
|
|
735
871
|
@case ('empty') {
|
|
736
|
-
<
|
|
737
|
-
<
|
|
872
|
+
<LayoutEmpty>
|
|
873
|
+
<LayoutContent [attr.aria-label]="contentAriaLabel()">
|
|
738
874
|
<router-outlet />
|
|
739
|
-
</
|
|
740
|
-
</
|
|
875
|
+
</LayoutContent>
|
|
876
|
+
</LayoutEmpty>
|
|
741
877
|
}
|
|
742
878
|
|
|
743
879
|
@default {
|
|
744
|
-
<
|
|
745
|
-
<
|
|
880
|
+
<LayoutVertical>
|
|
881
|
+
<LayoutNavigation [ariaLabel]="sideAriaLabel()">
|
|
746
882
|
<block-shell-sidebar-navigation
|
|
747
883
|
[navigation]="navigation()"
|
|
748
884
|
[workspaceLinks]="workspaceLinks()"
|
|
749
|
-
[sidebarNavId]="sidebarNavId()"
|
|
750
885
|
[shellName]="shellName()"
|
|
751
886
|
[brandSubtitle]="brandSubtitle()"
|
|
752
887
|
[logoText]="logoText()"
|
|
@@ -754,15 +889,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
754
889
|
[userName]="userName()"
|
|
755
890
|
[userPosition]="userPosition()"
|
|
756
891
|
[ariaLabel]="sideAriaLabel()" />
|
|
757
|
-
</
|
|
892
|
+
</LayoutNavigation>
|
|
758
893
|
|
|
759
|
-
<
|
|
894
|
+
<LayoutContent [attr.aria-label]="contentAriaLabel()">
|
|
760
895
|
<router-outlet />
|
|
761
|
-
</
|
|
762
|
-
</
|
|
896
|
+
</LayoutContent>
|
|
897
|
+
</LayoutVertical>
|
|
763
898
|
}
|
|
764
899
|
}
|
|
765
|
-
</
|
|
900
|
+
</Layout>
|
|
766
901
|
`,
|
|
767
902
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
768
903
|
}]
|