@edsis/angular 22.0.25 → 22.0.27
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 +80 -80
- package/fesm2022/edsis-angular-block-shell.mjs.map +1 -1
- package/fesm2022/edsis-angular-module-auth.mjs +13 -13
- package/fesm2022/edsis-angular-module-auth.mjs.map +1 -1
- package/package.json +5 -5
- package/types/edsis-angular-block-shell.d.ts +20 -20
- package/types/edsis-angular-module-auth.d.ts +6 -1
|
@@ -10,15 +10,15 @@ import { AspectRatioComponent } from '@edsis/component/aspect-ratio';
|
|
|
10
10
|
class BlockShellNavigationAvatarComponent {
|
|
11
11
|
initials = input.required(/* @ts-ignore */
|
|
12
12
|
...(ngDevMode ? [{ debugName: "initials" }] : /* istanbul ignore next */ []));
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
14
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellNavigationAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.2", type: BlockShellNavigationAvatarComponent, isStandalone: true, selector: "block-shell-navigation-avatar", inputs: { initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
15
15
|
<span
|
|
16
16
|
class="inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-sm bg-primary text-xs font-semibold text-primary-foreground">
|
|
17
17
|
{{ initials() }}
|
|
18
18
|
</span>
|
|
19
19
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellNavigationAvatarComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{
|
|
24
24
|
selector: 'block-shell-navigation-avatar',
|
|
@@ -44,15 +44,15 @@ class BlockShellNavigationMetaComponent {
|
|
|
44
44
|
...(ngDevMode ? [{ debugName: "containerClass" }] : /* istanbul ignore next */ []));
|
|
45
45
|
subtitleClass = input('truncate text-xs text-muted-foreground', /* @ts-ignore */
|
|
46
46
|
...(ngDevMode ? [{ debugName: "subtitleClass" }] : /* istanbul ignore next */ []));
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
48
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellNavigationMetaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.2", type: BlockShellNavigationMetaComponent, isStandalone: true, selector: "block-shell-navigation-meta", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: true, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: true, isRequired: false, transformFunction: null }, subtitleClass: { classPropertyName: "subtitleClass", publicName: "subtitleClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
49
49
|
<div [class]="containerClass()">
|
|
50
50
|
<p class="truncate text-sm font-semibold tracking-tight text-foreground">{{ name() }}</p>
|
|
51
51
|
<p [class]="subtitleClass()">{{ subtitle() }}</p>
|
|
52
52
|
</div>
|
|
53
53
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellNavigationMetaComponent, decorators: [{
|
|
56
56
|
type: Component,
|
|
57
57
|
args: [{
|
|
58
58
|
selector: 'block-shell-navigation-meta',
|
|
@@ -92,8 +92,8 @@ class BlockShellNavigationFooterComponent {
|
|
|
92
92
|
return ((words[0]?.[0] ?? '') + (words[1]?.[0] ?? words[0]?.[1] ?? '')).toUpperCase();
|
|
93
93
|
}, /* @ts-ignore */
|
|
94
94
|
...(ngDevMode ? [{ debugName: "resolvedInitials" }] : /* istanbul ignore next */ []));
|
|
95
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
96
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
95
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellNavigationFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
96
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.2", type: BlockShellNavigationFooterComponent, isStandalone: true, selector: "block-shell-navigation-footer", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: true, transformFunction: null }, initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: false, transformFunction: null }, collapsible: { classPropertyName: "collapsible", publicName: "collapsible", isSignal: true, isRequired: false, transformFunction: null }, desktopOnly: { classPropertyName: "desktopOnly", publicName: "desktopOnly", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
97
97
|
@if (collapsible()) {
|
|
98
98
|
<div NavigationCollapseRoot class="flex items-center gap-3">
|
|
99
99
|
<block-shell-navigation-avatar [initials]="resolvedInitials()" />
|
|
@@ -116,7 +116,7 @@ class BlockShellNavigationFooterComponent {
|
|
|
116
116
|
}
|
|
117
117
|
`, isInline: true, dependencies: [{ kind: "directive", type: NavigationCollapseRootDirective, selector: "[NavigationCollapseRoot]" }, { kind: "directive", type: NavigationCollapseExpandedDirective, selector: "[NavigationCollapseExpanded]" }, { kind: "component", type: BlockShellNavigationAvatarComponent, selector: "block-shell-navigation-avatar", inputs: ["initials"] }, { kind: "component", type: BlockShellNavigationMetaComponent, selector: "block-shell-navigation-meta", inputs: ["name", "subtitle", "containerClass", "subtitleClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
118
118
|
}
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellNavigationFooterComponent, decorators: [{
|
|
120
120
|
type: Component,
|
|
121
121
|
args: [{
|
|
122
122
|
selector: 'block-shell-navigation-footer',
|
|
@@ -162,8 +162,8 @@ class BlockShellLogoComponent {
|
|
|
162
162
|
...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
|
|
163
163
|
ariaLabel = input('Buka aplikasi', /* @ts-ignore */
|
|
164
164
|
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
165
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
166
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
165
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
166
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.2", type: BlockShellLogoComponent, isStandalone: true, selector: "block-shell-logo", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
167
167
|
<div class="w-8 shrink-0">
|
|
168
168
|
<AspectRatio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
|
|
169
169
|
<div
|
|
@@ -175,7 +175,7 @@ class BlockShellLogoComponent {
|
|
|
175
175
|
</div>
|
|
176
176
|
`, isInline: true, dependencies: [{ kind: "component", type: AspectRatioComponent, selector: "AspectRatio", inputs: ["ratio", "class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
177
177
|
}
|
|
178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellLogoComponent, decorators: [{
|
|
179
179
|
type: Component,
|
|
180
180
|
args: [{
|
|
181
181
|
selector: 'block-shell-logo',
|
|
@@ -221,8 +221,8 @@ class BlockShellNavigationHeaderComponent {
|
|
|
221
221
|
const activeHomePath = this.homePath();
|
|
222
222
|
return path === activeHomePath || path.startsWith(`${activeHomePath}/`);
|
|
223
223
|
}
|
|
224
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
225
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
224
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellNavigationHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
225
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.2", type: BlockShellNavigationHeaderComponent, isStandalone: true, selector: "block-shell-navigation-header", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: true, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, collapsible: { classPropertyName: "collapsible", publicName: "collapsible", isSignal: true, isRequired: false, transformFunction: null }, workspaceLinks: { classPropertyName: "workspaceLinks", publicName: "workspaceLinks", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
226
226
|
<ng-template PopoverContent #workspaceSwitcher="PopoverContent">
|
|
227
227
|
<div
|
|
228
228
|
data-block-shell-workspace-panel
|
|
@@ -303,7 +303,7 @@ class BlockShellNavigationHeaderComponent {
|
|
|
303
303
|
}
|
|
304
304
|
`, isInline: true, dependencies: [{ kind: "directive", type: NavigationCollapseRootDirective, selector: "[NavigationCollapseRoot]" }, { kind: "directive", type: NavigationCollapseExpandedDirective, selector: "[NavigationCollapseExpanded]" }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "directive", type: PopoverContentDirective, selector: "ng-template[PopoverContent]", exportAs: ["PopoverContent"] }, { kind: "directive", type: PopoverTriggerDirective, selector: "[PopoverTrigger]", inputs: ["PopoverTrigger", "side", "align", "sideOffset", "disabled"], outputs: ["openedChange"], exportAs: ["PopoverTrigger"] }, { kind: "component", type: BlockShellLogoComponent, selector: "block-shell-logo", inputs: ["text", "homePath", "ariaLabel"] }, { kind: "component", type: BlockShellNavigationMetaComponent, selector: "block-shell-navigation-meta", inputs: ["name", "subtitle", "containerClass", "subtitleClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
305
305
|
}
|
|
306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellNavigationHeaderComponent, decorators: [{
|
|
307
307
|
type: Component,
|
|
308
308
|
args: [{
|
|
309
309
|
selector: 'block-shell-navigation-header',
|
|
@@ -403,11 +403,11 @@ 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
|
|
407
|
-
const
|
|
408
|
-
/** Key localStorage mode
|
|
409
|
-
const
|
|
410
|
-
function
|
|
406
|
+
/** Key localStorage tempat NavigationService mempersist type nav (`nav-type`). */
|
|
407
|
+
const NAV_TYPE_STORAGE_KEY$1 = 'nav-type';
|
|
408
|
+
/** Key localStorage mode type (`sticky`/`drawer` saat dockbar, `default`/`collapsed` saat sidebar). */
|
|
409
|
+
const NAV_TYPE_MODE_STORAGE_KEY = 'nav-type-mode';
|
|
410
|
+
function isVerticalType(value) {
|
|
411
411
|
return value === 'sidebar' || value === 'dockbar';
|
|
412
412
|
}
|
|
413
413
|
function isDockbarMode(value) {
|
|
@@ -434,20 +434,20 @@ class BlockShellSidebarNavigationComponent {
|
|
|
434
434
|
...(ngDevMode ? [{ debugName: "userPosition" }] : /* istanbul ignore next */ []));
|
|
435
435
|
ariaLabel = input('side navigation', /* @ts-ignore */
|
|
436
436
|
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
437
|
-
/** Fallback
|
|
438
|
-
|
|
439
|
-
...(ngDevMode ? [{ debugName: "
|
|
437
|
+
/** Fallback type ketika localStorage `nav-type` kosong atau tidak valid untuk orientasi vertikal. */
|
|
438
|
+
type = input('sidebar', /* @ts-ignore */
|
|
439
|
+
...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
440
440
|
responsiveCollapsed = signal(this.readResponsiveCollapsed(), /* @ts-ignore */
|
|
441
441
|
...(ngDevMode ? [{ debugName: "responsiveCollapsed" }] : /* istanbul ignore next */ []));
|
|
442
|
-
/** Nilai `nav-
|
|
443
|
-
|
|
444
|
-
...(ngDevMode ? [{ debugName: "
|
|
445
|
-
/** Nilai `nav-
|
|
442
|
+
/** Nilai `nav-type` yang dipersist NavigationService; di-refresh saat ada perubahan storage. */
|
|
443
|
+
storedType = signal(this.readStoredType(), /* @ts-ignore */
|
|
444
|
+
...(ngDevMode ? [{ debugName: "storedType" }] : /* istanbul ignore next */ []));
|
|
445
|
+
/** Nilai `nav-type-mode` yang dipersist NavigationService (sticky/drawer saat dockbar). */
|
|
446
446
|
storedDockbarMode = signal(this.readStoredDockbarMode(), /* @ts-ignore */
|
|
447
447
|
...(ngDevMode ? [{ debugName: "storedDockbarMode" }] : /* istanbul ignore next */ []));
|
|
448
|
-
/** localStorage `nav-
|
|
449
|
-
|
|
450
|
-
...(ngDevMode ? [{ debugName: "
|
|
448
|
+
/** localStorage `nav-type` menang atas default input — sidebar ↔ dockbar ikut perubahan storage. */
|
|
449
|
+
effectiveType = computed(() => this.storedType() ?? this.type(), /* @ts-ignore */
|
|
450
|
+
...(ngDevMode ? [{ debugName: "effectiveType" }] : /* istanbul ignore next */ []));
|
|
451
451
|
/** Di viewport sempit aside sticky akan mendorong konten; paksa drawer agar overlay. */
|
|
452
452
|
dockbarMode = computed(() => this.responsiveCollapsed() ? 'drawer' : (this.storedDockbarMode() ?? 'sticky'), /* @ts-ignore */
|
|
453
453
|
...(ngDevMode ? [{ debugName: "dockbarMode" }] : /* istanbul ignore next */ []));
|
|
@@ -462,22 +462,22 @@ class BlockShellSidebarNavigationComponent {
|
|
|
462
462
|
syncResponsiveCollapsed(mediaQuery.matches);
|
|
463
463
|
mediaQuery.addEventListener('change', handleChange);
|
|
464
464
|
this.destroyRef.onDestroy(() => mediaQuery.removeEventListener('change', handleChange));
|
|
465
|
-
const
|
|
466
|
-
this.
|
|
465
|
+
const syncStoredType = () => {
|
|
466
|
+
this.storedType.set(this.readStoredType());
|
|
467
467
|
this.storedDockbarMode.set(this.readStoredDockbarMode());
|
|
468
468
|
};
|
|
469
|
-
windowRef.addEventListener('storage',
|
|
470
|
-
this.destroyRef.onDestroy(() => windowRef.removeEventListener('storage',
|
|
469
|
+
windowRef.addEventListener('storage', syncStoredType);
|
|
470
|
+
this.destroyRef.onDestroy(() => windowRef.removeEventListener('storage', syncStoredType));
|
|
471
471
|
}
|
|
472
472
|
readResponsiveCollapsed() {
|
|
473
473
|
return this.documentRef.defaultView?.matchMedia('(max-width: 767.98px)').matches ?? false;
|
|
474
474
|
}
|
|
475
|
-
|
|
476
|
-
const value = this.readStorage(
|
|
477
|
-
return
|
|
475
|
+
readStoredType() {
|
|
476
|
+
const value = this.readStorage(NAV_TYPE_STORAGE_KEY$1);
|
|
477
|
+
return isVerticalType(value) ? value : null;
|
|
478
478
|
}
|
|
479
479
|
readStoredDockbarMode() {
|
|
480
|
-
const value = this.readStorage(
|
|
480
|
+
const value = this.readStorage(NAV_TYPE_MODE_STORAGE_KEY);
|
|
481
481
|
return isDockbarMode(value) ? value : null;
|
|
482
482
|
}
|
|
483
483
|
readStorage(key) {
|
|
@@ -488,10 +488,10 @@ class BlockShellSidebarNavigationComponent {
|
|
|
488
488
|
return null;
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
492
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
491
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellSidebarNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
492
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.2", 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 }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
493
493
|
<Navigation id="main" [data]="navigation()" [ariaLabel]="ariaLabel()" collapse-tree="stairs" class="h-full">
|
|
494
|
-
@if (
|
|
494
|
+
@if (effectiveType() === 'dockbar') {
|
|
495
495
|
<NavigationDockbar [mode]="dockbarMode()">
|
|
496
496
|
<NavigationHeader>
|
|
497
497
|
<block-shell-navigation-header
|
|
@@ -527,7 +527,7 @@ class BlockShellSidebarNavigationComponent {
|
|
|
527
527
|
</Navigation>
|
|
528
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 });
|
|
529
529
|
}
|
|
530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellSidebarNavigationComponent, decorators: [{
|
|
531
531
|
type: Component,
|
|
532
532
|
args: [{
|
|
533
533
|
selector: 'block-shell-sidebar-navigation',
|
|
@@ -545,7 +545,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
545
545
|
},
|
|
546
546
|
template: `
|
|
547
547
|
<Navigation id="main" [data]="navigation()" [ariaLabel]="ariaLabel()" collapse-tree="stairs" class="h-full">
|
|
548
|
-
@if (
|
|
548
|
+
@if (effectiveType() === 'dockbar') {
|
|
549
549
|
<NavigationDockbar [mode]="dockbarMode()">
|
|
550
550
|
<NavigationHeader>
|
|
551
551
|
<block-shell-navigation-header
|
|
@@ -582,11 +582,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
582
582
|
`,
|
|
583
583
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
584
584
|
}]
|
|
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 }] }],
|
|
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 }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }] } });
|
|
586
586
|
|
|
587
|
-
/** Key localStorage tempat NavigationService mempersist
|
|
588
|
-
const
|
|
589
|
-
function
|
|
587
|
+
/** Key localStorage tempat NavigationService mempersist type nav (`nav-type`). */
|
|
588
|
+
const NAV_TYPE_STORAGE_KEY = 'nav-type';
|
|
589
|
+
function isHorizontalType(value) {
|
|
590
590
|
return value === 'navbar' || value === 'flyout';
|
|
591
591
|
}
|
|
592
592
|
class BlockShellTopNavigationComponent {
|
|
@@ -611,43 +611,43 @@ class BlockShellTopNavigationComponent {
|
|
|
611
611
|
...(ngDevMode ? [{ debugName: "userPosition" }] : /* istanbul ignore next */ []));
|
|
612
612
|
ariaLabel = input('top navigation', /* @ts-ignore */
|
|
613
613
|
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
614
|
-
/** Fallback
|
|
615
|
-
|
|
616
|
-
...(ngDevMode ? [{ debugName: "
|
|
614
|
+
/** Fallback type ketika localStorage `nav-type` kosong atau tidak valid untuk orientasi horizontal. */
|
|
615
|
+
type = input('navbar', /* @ts-ignore */
|
|
616
|
+
...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
617
617
|
flyoutLabel = input('Menu', /* @ts-ignore */
|
|
618
618
|
...(ngDevMode ? [{ debugName: "flyoutLabel" }] : /* istanbul ignore next */ []));
|
|
619
|
-
/** Nilai `nav-
|
|
620
|
-
|
|
621
|
-
...(ngDevMode ? [{ debugName: "
|
|
622
|
-
/** localStorage `nav-
|
|
623
|
-
|
|
624
|
-
...(ngDevMode ? [{ debugName: "
|
|
625
|
-
/** Style flyout mengikuti appearance layout: border-rail ↔ border-rail, selain itu default. */
|
|
626
|
-
|
|
627
|
-
...(ngDevMode ? [{ debugName: "
|
|
619
|
+
/** Nilai `nav-type` yang dipersist NavigationService; di-refresh saat ada perubahan storage. */
|
|
620
|
+
storedType = signal(this.readStoredType(), /* @ts-ignore */
|
|
621
|
+
...(ngDevMode ? [{ debugName: "storedType" }] : /* istanbul ignore next */ []));
|
|
622
|
+
/** localStorage `nav-type` menang atas default input — navbar ↔ flyout ikut perubahan storage. */
|
|
623
|
+
effectiveType = computed(() => this.storedType() ?? this.type(), /* @ts-ignore */
|
|
624
|
+
...(ngDevMode ? [{ debugName: "effectiveType" }] : /* istanbul ignore next */ []));
|
|
625
|
+
/** Style flyout mengikuti appearance layout (LayoutService): border-rail ↔ border-rail, selain itu default. */
|
|
626
|
+
navTypeStyle = computed(() => this.layout.appearance() === 'border-rail' ? 'border-rail' : 'default', /* @ts-ignore */
|
|
627
|
+
...(ngDevMode ? [{ debugName: "navTypeStyle" }] : /* istanbul ignore next */ []));
|
|
628
628
|
constructor() {
|
|
629
629
|
const windowRef = this.documentRef.defaultView;
|
|
630
630
|
if (!windowRef) {
|
|
631
631
|
return;
|
|
632
632
|
}
|
|
633
|
-
const
|
|
634
|
-
windowRef.addEventListener('storage',
|
|
635
|
-
this.destroyRef.onDestroy(() => windowRef.removeEventListener('storage',
|
|
633
|
+
const syncStoredType = () => this.storedType.set(this.readStoredType());
|
|
634
|
+
windowRef.addEventListener('storage', syncStoredType);
|
|
635
|
+
this.destroyRef.onDestroy(() => windowRef.removeEventListener('storage', syncStoredType));
|
|
636
636
|
}
|
|
637
|
-
|
|
637
|
+
readStoredType() {
|
|
638
638
|
try {
|
|
639
|
-
const value = this.documentRef.defaultView?.localStorage.getItem(
|
|
640
|
-
return
|
|
639
|
+
const value = this.documentRef.defaultView?.localStorage.getItem(NAV_TYPE_STORAGE_KEY) ?? null;
|
|
640
|
+
return isHorizontalType(value) ? value : null;
|
|
641
641
|
}
|
|
642
642
|
catch {
|
|
643
643
|
return null;
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
647
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
646
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellTopNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
647
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.2", 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 }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, flyoutLabel: { classPropertyName: "flyoutLabel", publicName: "flyoutLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
648
648
|
<Navigation id="main" [data]="navigation()" [ariaLabel]="ariaLabel()" collapse-tree="straight" class="h-full">
|
|
649
|
-
@if (
|
|
650
|
-
<NavigationFlyout [label]="flyoutLabel()" [nav-
|
|
649
|
+
@if (effectiveType() === 'flyout') {
|
|
650
|
+
<NavigationFlyout [label]="flyoutLabel()" [nav-type-style]="navTypeStyle()">
|
|
651
651
|
<NavigationHeader>
|
|
652
652
|
<block-shell-navigation-header
|
|
653
653
|
[name]="shellName()"
|
|
@@ -662,7 +662,7 @@ class BlockShellTopNavigationComponent {
|
|
|
662
662
|
</NavigationFooter>
|
|
663
663
|
</NavigationFlyout>
|
|
664
664
|
} @else {
|
|
665
|
-
<NavigationNavbar [nav-
|
|
665
|
+
<NavigationNavbar [nav-type-style]="navTypeStyle()">
|
|
666
666
|
<NavigationHeader>
|
|
667
667
|
<block-shell-navigation-header
|
|
668
668
|
[name]="shellName()"
|
|
@@ -678,9 +678,9 @@ class BlockShellTopNavigationComponent {
|
|
|
678
678
|
</NavigationNavbar>
|
|
679
679
|
}
|
|
680
680
|
</Navigation>
|
|
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-
|
|
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-type-style", "class"] }, { kind: "component", type: NavigationFlyoutComponent, selector: "NavigationFlyout", inputs: ["label", "icon", "icon-only", "icon-position", "nav-position", "nav-type-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 });
|
|
682
682
|
}
|
|
683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellTopNavigationComponent, decorators: [{
|
|
684
684
|
type: Component,
|
|
685
685
|
args: [{
|
|
686
686
|
selector: 'block-shell-top-navigation',
|
|
@@ -698,8 +698,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
698
698
|
},
|
|
699
699
|
template: `
|
|
700
700
|
<Navigation id="main" [data]="navigation()" [ariaLabel]="ariaLabel()" collapse-tree="straight" class="h-full">
|
|
701
|
-
@if (
|
|
702
|
-
<NavigationFlyout [label]="flyoutLabel()" [nav-
|
|
701
|
+
@if (effectiveType() === 'flyout') {
|
|
702
|
+
<NavigationFlyout [label]="flyoutLabel()" [nav-type-style]="navTypeStyle()">
|
|
703
703
|
<NavigationHeader>
|
|
704
704
|
<block-shell-navigation-header
|
|
705
705
|
[name]="shellName()"
|
|
@@ -714,7 +714,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
714
714
|
</NavigationFooter>
|
|
715
715
|
</NavigationFlyout>
|
|
716
716
|
} @else {
|
|
717
|
-
<NavigationNavbar [nav-
|
|
717
|
+
<NavigationNavbar [nav-type-style]="navTypeStyle()">
|
|
718
718
|
<NavigationHeader>
|
|
719
719
|
<block-shell-navigation-header
|
|
720
720
|
[name]="shellName()"
|
|
@@ -733,7 +733,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
733
733
|
`,
|
|
734
734
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
735
735
|
}]
|
|
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 }] }],
|
|
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 }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], flyoutLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "flyoutLabel", required: false }] }] } });
|
|
737
737
|
|
|
738
738
|
class BlockShellComponent {
|
|
739
739
|
navigation = input.required(/* @ts-ignore */
|
|
@@ -769,8 +769,8 @@ class BlockShellComponent {
|
|
|
769
769
|
contentAriaLabel = input('layout content', /* @ts-ignore */
|
|
770
770
|
...(ngDevMode ? [{ debugName: "contentAriaLabel" }] : /* istanbul ignore next */ []));
|
|
771
771
|
layout = inject(LayoutService);
|
|
772
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
773
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
772
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
773
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.2", 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: `
|
|
774
774
|
<Layout>
|
|
775
775
|
@switch (layout.type()) {
|
|
776
776
|
@case ('horizontal') {
|
|
@@ -824,9 +824,9 @@ class BlockShellComponent {
|
|
|
824
824
|
}
|
|
825
825
|
}
|
|
826
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", "
|
|
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", "type"] }, { kind: "component", type: BlockShellTopNavigationComponent, selector: "block-shell-top-navigation", inputs: ["navigation", "workspaceLinks", "shellName", "brandSubtitle", "logoText", "homePath", "userName", "userPosition", "ariaLabel", "type", "flyoutLabel"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
828
828
|
}
|
|
829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: BlockShellComponent, decorators: [{
|
|
830
830
|
type: Component,
|
|
831
831
|
args: [{
|
|
832
832
|
selector: 'block-shell',
|