@edsis/angular 22.0.73 → 22.0.75

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.
@@ -1,16 +1,16 @@
1
1
  import { NgTemplateOutlet, DOCUMENT } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { input, computed, Component, inject, DestroyRef, signal, TemplateRef, Directive, contentChild } from '@angular/core';
3
+ import { input, computed, Component, inject, DestroyRef, signal, TemplateRef, Directive, output, contentChild } from '@angular/core';
4
4
  import { RouterLink, RouterOutlet } from '@angular/router';
5
- import { LayoutService, LayoutComponent, LayoutVerticalComponent, LayoutHorizontalComponent, LayoutEmptyComponent, LayoutNavigationComponent, LayoutContentComponent } from '@edsis/theme/layout';
6
- import { NavigationCollapseRootDirective, NavigationCollapseExpandedDirective, NavigationContainerComponent, NavigationSidebarComponent, NavigationDockbarComponent, NavigationHeaderComponent, NavigationFooterComponent, NavigationAsideFooterDirective, NavigationAsideHeaderDirective, NavigationContentComponent, NavigationNavbarComponent, NavigationFlyoutComponent } from '@edsis/navigation';
5
+ import { RuntimeContextService, NativeHostService } from '@edsis/angular/services/runtime';
6
+ import { LayoutService, LayoutComponent, LayoutVerticalComponent, LayoutHorizontalComponent, LayoutEmptyComponent, LayoutNavigationComponent, LayoutContentComponent, DesktopAppBarComponent } from '@edsis/theme/layout';
7
+ import { NavigationCollapseRootDirective, NavigationCollapseExpandedDirective, NavigationContainerComponent, NavigationSidebarComponent, NavigationDockbarComponent, NavigationHeaderComponent, NavigationFooterComponent, NavigationAsideFooterDirective, NavigationContentComponent, NavigationNavbarComponent, NavigationFlyoutComponent } from '@edsis/navigation';
7
8
  import { NavigationService } from '@edsis/navigation/service';
8
9
  import { AvatarBadgeComponent, AvatarComponent, AvatarFallbackComponent, AvatarImageComponent } from '@edsis/component/avatar';
9
10
  import { ButtonComponent } from '@edsis/component/button';
10
11
  import { cn } from '@edsis/component/class';
11
- import { NativeHostService, RuntimeContextService } from '@edsis/angular/services/runtime';
12
12
  import { AspectRatioComponent } from '@edsis/component/aspect-ratio';
13
- import { ThemeStyleService } from '@edsis/theme/styles';
13
+ import { ThemeAppearanceService } from '@edsis/theme/styles';
14
14
 
15
15
  class BlockShellNavigationAvatarComponent {
16
16
  initials = input.required(/* @ts-ignore */
@@ -25,6 +25,8 @@ class BlockShellNavigationAvatarComponent {
25
25
  /** Avatar interaktif dipakai khusus untuk kontrol profil Desktop. */
26
26
  asButton = input(false, /* @ts-ignore */
27
27
  ...(ngDevMode ? [{ debugName: "asButton" }] : /* istanbul ignore next */ []));
28
+ useAvatar = input(false, /* @ts-ignore */
29
+ ...(ngDevMode ? [{ debugName: "useAvatar" }] : /* istanbul ignore next */ []));
28
30
  buttonLabel = input('User menu', /* @ts-ignore */
29
31
  ...(ngDevMode ? [{ debugName: "buttonLabel" }] : /* istanbul ignore next */ []));
30
32
  /** Menampilkan indikator online dengan primitive Avatar. */
@@ -35,7 +37,7 @@ class BlockShellNavigationAvatarComponent {
35
37
  : 'inline-flex size-[calc(2.5rem*2/3)] shrink-0 items-center justify-center overflow-hidden bg-primary text-xs font-semibold text-primary-foreground', this.radiusClass()), /* @ts-ignore */
36
38
  ...(ngDevMode ? [{ debugName: "avatarClasses" }] : /* istanbul ignore next */ []));
37
39
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
38
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellNavigationAvatarComponent, isStandalone: true, selector: "block-shell-navigation-avatar", inputs: { initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: true, transformFunction: null }, photoUrl: { classPropertyName: "photoUrl", publicName: "photoUrl", isSignal: true, isRequired: false, transformFunction: null }, photoAlt: { classPropertyName: "photoAlt", publicName: "photoAlt", isSignal: true, isRequired: false, transformFunction: null }, radiusClass: { classPropertyName: "radiusClass", publicName: "radiusClass", isSignal: true, isRequired: false, transformFunction: null }, asButton: { classPropertyName: "asButton", publicName: "asButton", isSignal: true, isRequired: false, transformFunction: null }, buttonLabel: { classPropertyName: "buttonLabel", publicName: "buttonLabel", isSignal: true, isRequired: false, transformFunction: null }, showOnlineIndicator: { classPropertyName: "showOnlineIndicator", publicName: "showOnlineIndicator", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
40
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellNavigationAvatarComponent, isStandalone: true, selector: "block-shell-navigation-avatar", inputs: { initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: true, transformFunction: null }, photoUrl: { classPropertyName: "photoUrl", publicName: "photoUrl", isSignal: true, isRequired: false, transformFunction: null }, photoAlt: { classPropertyName: "photoAlt", publicName: "photoAlt", isSignal: true, isRequired: false, transformFunction: null }, radiusClass: { classPropertyName: "radiusClass", publicName: "radiusClass", isSignal: true, isRequired: false, transformFunction: null }, asButton: { classPropertyName: "asButton", publicName: "asButton", isSignal: true, isRequired: false, transformFunction: null }, useAvatar: { classPropertyName: "useAvatar", publicName: "useAvatar", isSignal: true, isRequired: false, transformFunction: null }, buttonLabel: { classPropertyName: "buttonLabel", publicName: "buttonLabel", isSignal: true, isRequired: false, transformFunction: null }, showOnlineIndicator: { classPropertyName: "showOnlineIndicator", publicName: "showOnlineIndicator", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
39
41
  <!-- size = tinggi logo header: kotak w-10 (2.5rem) dengan AspectRatio 3/2 -->
40
42
  @if (asButton()) {
41
43
  <button
@@ -46,8 +48,14 @@ class BlockShellNavigationAvatarComponent {
46
48
  [class]="avatarClasses()"
47
49
  [attr.aria-label]="buttonLabel()"
48
50
  >
49
- <ng-container [ngTemplateOutlet]="avatarContent" />
51
+ <Avatar size="sm" [class]="radiusClass()">
52
+ <ng-container [ngTemplateOutlet]="avatarContent" />
53
+ </Avatar>
50
54
  </button>
55
+ } @else if (useAvatar()) {
56
+ <Avatar size="sm" [class]="radiusClass()">
57
+ <ng-container [ngTemplateOutlet]="avatarContent" />
58
+ </Avatar>
51
59
  } @else {
52
60
  <span [class]="avatarClasses()">
53
61
  <ng-container [ngTemplateOutlet]="avatarContent" />
@@ -55,20 +63,12 @@ class BlockShellNavigationAvatarComponent {
55
63
  }
56
64
 
57
65
  <ng-template #avatarContent>
66
+ @if (photoUrl(); as url) {
67
+ <AvatarImage [src]="url" [alt]="photoAlt()" />
68
+ }
69
+ <AvatarFallback>{{ initials() }}</AvatarFallback>
58
70
  @if (showOnlineIndicator()) {
59
- <Avatar size="sm">
60
- @if (photoUrl(); as url) {
61
- <AvatarImage [src]="url" [alt]="photoAlt()" />
62
- }
63
- <AvatarFallback>{{ initials() }}</AvatarFallback>
64
- <AvatarBadge class="bg-emerald-600" aria-hidden="true" />
65
- </Avatar>
66
- } @else {
67
- @if (photoUrl(); as url) {
68
- <img [src]="url" [alt]="photoAlt()" class="h-full w-full object-cover" />
69
- } @else {
70
- {{ initials() }}
71
- }
71
+ <AvatarBadge class="bg-emerald-600" aria-hidden="true" />
72
72
  }
73
73
  </ng-template>
74
74
  `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AvatarBadgeComponent, selector: "AvatarBadge", inputs: ["class"] }, { kind: "component", type: AvatarComponent, selector: "Avatar", inputs: ["size", "class"] }, { kind: "component", type: AvatarFallbackComponent, selector: "AvatarFallback", inputs: ["class"] }, { kind: "component", type: AvatarImageComponent, selector: "AvatarImage", inputs: ["src", "alt", "class"] }, { kind: "component", type: ButtonComponent, selector: "button[Button], a[Button]", inputs: ["variant", "size", "class"] }] });
@@ -91,8 +91,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
91
91
  [class]="avatarClasses()"
92
92
  [attr.aria-label]="buttonLabel()"
93
93
  >
94
- <ng-container [ngTemplateOutlet]="avatarContent" />
94
+ <Avatar size="sm" [class]="radiusClass()">
95
+ <ng-container [ngTemplateOutlet]="avatarContent" />
96
+ </Avatar>
95
97
  </button>
98
+ } @else if (useAvatar()) {
99
+ <Avatar size="sm" [class]="radiusClass()">
100
+ <ng-container [ngTemplateOutlet]="avatarContent" />
101
+ </Avatar>
96
102
  } @else {
97
103
  <span [class]="avatarClasses()">
98
104
  <ng-container [ngTemplateOutlet]="avatarContent" />
@@ -100,20 +106,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
100
106
  }
101
107
 
102
108
  <ng-template #avatarContent>
109
+ @if (photoUrl(); as url) {
110
+ <AvatarImage [src]="url" [alt]="photoAlt()" />
111
+ }
112
+ <AvatarFallback>{{ initials() }}</AvatarFallback>
103
113
  @if (showOnlineIndicator()) {
104
- <Avatar size="sm">
105
- @if (photoUrl(); as url) {
106
- <AvatarImage [src]="url" [alt]="photoAlt()" />
107
- }
108
- <AvatarFallback>{{ initials() }}</AvatarFallback>
109
- <AvatarBadge class="bg-emerald-600" aria-hidden="true" />
110
- </Avatar>
111
- } @else {
112
- @if (photoUrl(); as url) {
113
- <img [src]="url" [alt]="photoAlt()" class="h-full w-full object-cover" />
114
- } @else {
115
- {{ initials() }}
116
- }
114
+ <AvatarBadge class="bg-emerald-600" aria-hidden="true" />
117
115
  }
118
116
  </ng-template>
119
117
  `,
@@ -126,7 +124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
126
124
  ButtonComponent,
127
125
  ],
128
126
  }]
129
- }], propDecorators: { initials: [{ type: i0.Input, args: [{ isSignal: true, alias: "initials", required: true }] }], photoUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "photoUrl", required: false }] }], photoAlt: [{ type: i0.Input, args: [{ isSignal: true, alias: "photoAlt", required: false }] }], radiusClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "radiusClass", required: false }] }], asButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "asButton", required: false }] }], buttonLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonLabel", required: false }] }], showOnlineIndicator: [{ type: i0.Input, args: [{ isSignal: true, alias: "showOnlineIndicator", required: false }] }] } });
127
+ }], propDecorators: { initials: [{ type: i0.Input, args: [{ isSignal: true, alias: "initials", required: true }] }], photoUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "photoUrl", required: false }] }], photoAlt: [{ type: i0.Input, args: [{ isSignal: true, alias: "photoAlt", required: false }] }], radiusClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "radiusClass", required: false }] }], asButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "asButton", required: false }] }], useAvatar: [{ type: i0.Input, args: [{ isSignal: true, alias: "useAvatar", required: false }] }], buttonLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonLabel", required: false }] }], showOnlineIndicator: [{ type: i0.Input, args: [{ isSignal: true, alias: "showOnlineIndicator", required: false }] }] } });
130
128
 
131
129
  class BlockShellNavigationMetaComponent {
132
130
  name = input.required(/* @ts-ignore */
@@ -186,11 +184,15 @@ class BlockShellNavigationFooterComponent {
186
184
  /** Sembunyikan seluruh metadata pengguna, termasuk dari DOM. */
187
185
  showMeta = input(true, /* @ts-ignore */
188
186
  ...(ngDevMode ? [{ debugName: "showMeta" }] : /* istanbul ignore next */ []));
187
+ hideSubtitle = input(false, /* @ts-ignore */
188
+ ...(ngDevMode ? [{ debugName: "hideSubtitle" }] : /* istanbul ignore next */ []));
189
189
  /** Gunakan elemen button tanpa mengubah tampilan avatar. */
190
190
  avatarButton = input(false, /* @ts-ignore */
191
191
  ...(ngDevMode ? [{ debugName: "avatarButton" }] : /* istanbul ignore next */ []));
192
192
  avatarButtonLabel = input('User menu', /* @ts-ignore */
193
193
  ...(ngDevMode ? [{ debugName: "avatarButtonLabel" }] : /* istanbul ignore next */ []));
194
+ useAvatar = input(false, /* @ts-ignore */
195
+ ...(ngDevMode ? [{ debugName: "useAvatar" }] : /* istanbul ignore next */ []));
194
196
  /** Tampilkan presence badge pada avatar, dipakai khusus footer Desktop. */
195
197
  avatarOnline = input(false, /* @ts-ignore */
196
198
  ...(ngDevMode ? [{ debugName: "avatarOnline" }] : /* istanbul ignore next */ []));
@@ -209,7 +211,7 @@ class BlockShellNavigationFooterComponent {
209
211
  }, /* @ts-ignore */
210
212
  ...(ngDevMode ? [{ debugName: "resolvedInitials" }] : /* istanbul ignore next */ []));
211
213
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
212
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", 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 }, photoUrl: { classPropertyName: "photoUrl", publicName: "photoUrl", 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 }, avatarRadiusClass: { classPropertyName: "avatarRadiusClass", publicName: "avatarRadiusClass", isSignal: true, isRequired: false, transformFunction: null }, showMeta: { classPropertyName: "showMeta", publicName: "showMeta", isSignal: true, isRequired: false, transformFunction: null }, avatarButton: { classPropertyName: "avatarButton", publicName: "avatarButton", isSignal: true, isRequired: false, transformFunction: null }, avatarButtonLabel: { classPropertyName: "avatarButtonLabel", publicName: "avatarButtonLabel", isSignal: true, isRequired: false, transformFunction: null }, avatarOnline: { classPropertyName: "avatarOnline", publicName: "avatarOnline", isSignal: true, isRequired: false, transformFunction: null }, actionTemplate: { classPropertyName: "actionTemplate", publicName: "actionTemplate", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
214
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", 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 }, photoUrl: { classPropertyName: "photoUrl", publicName: "photoUrl", 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 }, avatarRadiusClass: { classPropertyName: "avatarRadiusClass", publicName: "avatarRadiusClass", isSignal: true, isRequired: false, transformFunction: null }, showMeta: { classPropertyName: "showMeta", publicName: "showMeta", isSignal: true, isRequired: false, transformFunction: null }, hideSubtitle: { classPropertyName: "hideSubtitle", publicName: "hideSubtitle", isSignal: true, isRequired: false, transformFunction: null }, avatarButton: { classPropertyName: "avatarButton", publicName: "avatarButton", isSignal: true, isRequired: false, transformFunction: null }, avatarButtonLabel: { classPropertyName: "avatarButtonLabel", publicName: "avatarButtonLabel", isSignal: true, isRequired: false, transformFunction: null }, useAvatar: { classPropertyName: "useAvatar", publicName: "useAvatar", isSignal: true, isRequired: false, transformFunction: null }, avatarOnline: { classPropertyName: "avatarOnline", publicName: "avatarOnline", isSignal: true, isRequired: false, transformFunction: null }, actionTemplate: { classPropertyName: "actionTemplate", publicName: "actionTemplate", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
213
215
  @if (collapsible()) {
214
216
  <div NavigationCollapseRoot class="flex w-full items-center gap-3">
215
217
  <block-shell-navigation-avatar
@@ -219,21 +221,27 @@ class BlockShellNavigationFooterComponent {
219
221
  [radiusClass]="avatarRadiusClass()"
220
222
  [asButton]="avatarButton()"
221
223
  [buttonLabel]="avatarButtonLabel()"
224
+ [useAvatar]="useAvatar()"
222
225
  [showOnlineIndicator]="avatarOnline()"
223
226
  />
224
227
 
225
- @if (showMeta()) {
228
+ @if (showMeta()) {
226
229
  <div *NavigationCollapseExpanded class="min-w-0">
227
230
  <block-shell-navigation-meta
228
231
  [name]="name()"
229
232
  [subtitle]="subtitle()"
233
+ [hideSubtitle]="hideSubtitle()"
230
234
  [subtitleClass]="'-mt-1 truncate text-xs text-muted-foreground'"
231
235
  />
232
236
  </div>
233
237
  }
234
238
 
235
239
  @if (actionTemplate()) {
236
- <div *NavigationCollapseExpanded class="ml-auto shrink-0">
240
+ <div
241
+ *NavigationCollapseExpanded
242
+ data-navigation-footer-actions
243
+ class="ml-auto flex shrink-0 items-center gap-1"
244
+ >
237
245
  <ng-container [ngTemplateOutlet]="actionTemplate()" />
238
246
  </div>
239
247
  }
@@ -247,18 +255,28 @@ class BlockShellNavigationFooterComponent {
247
255
  [radiusClass]="avatarRadiusClass()"
248
256
  [asButton]="avatarButton()"
249
257
  [buttonLabel]="avatarButtonLabel()"
258
+ [useAvatar]="useAvatar()"
250
259
  [showOnlineIndicator]="avatarOnline()"
251
260
  />
252
261
  @if (showMeta()) {
253
262
  <block-shell-navigation-meta
254
263
  [name]="name()"
255
264
  [subtitle]="subtitle()"
265
+ [hideSubtitle]="hideSubtitle()"
256
266
  [containerClass]="desktopOnly() ? 'hidden min-w-0 xl:block' : 'min-w-0'"
257
267
  />
258
268
  }
269
+ @if (actionTemplate()) {
270
+ <div
271
+ data-navigation-footer-actions
272
+ class="ml-auto flex shrink-0 items-center gap-1"
273
+ >
274
+ <ng-container [ngTemplateOutlet]="actionTemplate()" />
275
+ </div>
276
+ }
259
277
  </div>
260
278
  }
261
- `, 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", "photoUrl", "photoAlt", "radiusClass", "asButton", "buttonLabel", "showOnlineIndicator"] }, { kind: "component", type: BlockShellNavigationMetaComponent, selector: "block-shell-navigation-meta", inputs: ["name", "subtitle", "containerClass", "subtitleClass", "hideSubtitle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
279
+ `, 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", "photoUrl", "photoAlt", "radiusClass", "asButton", "useAvatar", "buttonLabel", "showOnlineIndicator"] }, { kind: "component", type: BlockShellNavigationMetaComponent, selector: "block-shell-navigation-meta", inputs: ["name", "subtitle", "containerClass", "subtitleClass", "hideSubtitle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
262
280
  }
263
281
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationFooterComponent, decorators: [{
264
282
  type: Component,
@@ -284,21 +302,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
284
302
  [radiusClass]="avatarRadiusClass()"
285
303
  [asButton]="avatarButton()"
286
304
  [buttonLabel]="avatarButtonLabel()"
305
+ [useAvatar]="useAvatar()"
287
306
  [showOnlineIndicator]="avatarOnline()"
288
307
  />
289
308
 
290
- @if (showMeta()) {
309
+ @if (showMeta()) {
291
310
  <div *NavigationCollapseExpanded class="min-w-0">
292
311
  <block-shell-navigation-meta
293
312
  [name]="name()"
294
313
  [subtitle]="subtitle()"
314
+ [hideSubtitle]="hideSubtitle()"
295
315
  [subtitleClass]="'-mt-1 truncate text-xs text-muted-foreground'"
296
316
  />
297
317
  </div>
298
318
  }
299
319
 
300
320
  @if (actionTemplate()) {
301
- <div *NavigationCollapseExpanded class="ml-auto shrink-0">
321
+ <div
322
+ *NavigationCollapseExpanded
323
+ data-navigation-footer-actions
324
+ class="ml-auto flex shrink-0 items-center gap-1"
325
+ >
302
326
  <ng-container [ngTemplateOutlet]="actionTemplate()" />
303
327
  </div>
304
328
  }
@@ -312,20 +336,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
312
336
  [radiusClass]="avatarRadiusClass()"
313
337
  [asButton]="avatarButton()"
314
338
  [buttonLabel]="avatarButtonLabel()"
339
+ [useAvatar]="useAvatar()"
315
340
  [showOnlineIndicator]="avatarOnline()"
316
341
  />
317
342
  @if (showMeta()) {
318
343
  <block-shell-navigation-meta
319
344
  [name]="name()"
320
345
  [subtitle]="subtitle()"
346
+ [hideSubtitle]="hideSubtitle()"
321
347
  [containerClass]="desktopOnly() ? 'hidden min-w-0 xl:block' : 'min-w-0'"
322
348
  />
323
349
  }
350
+ @if (actionTemplate()) {
351
+ <div
352
+ data-navigation-footer-actions
353
+ class="ml-auto flex shrink-0 items-center gap-1"
354
+ >
355
+ <ng-container [ngTemplateOutlet]="actionTemplate()" />
356
+ </div>
357
+ }
324
358
  </div>
325
359
  }
326
360
  `,
327
361
  }]
328
- }], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: true }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: true }] }], initials: [{ type: i0.Input, args: [{ isSignal: true, alias: "initials", required: false }] }], photoUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "photoUrl", required: false }] }], collapsible: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsible", required: false }] }], desktopOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "desktopOnly", required: false }] }], avatarRadiusClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarRadiusClass", required: false }] }], showMeta: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMeta", required: false }] }], avatarButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarButton", required: false }] }], avatarButtonLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarButtonLabel", required: false }] }], avatarOnline: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarOnline", required: false }] }], actionTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "actionTemplate", required: false }] }] } });
362
+ }], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: true }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: true }] }], initials: [{ type: i0.Input, args: [{ isSignal: true, alias: "initials", required: false }] }], photoUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "photoUrl", required: false }] }], collapsible: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsible", required: false }] }], desktopOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "desktopOnly", required: false }] }], avatarRadiusClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarRadiusClass", required: false }] }], showMeta: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMeta", required: false }] }], hideSubtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideSubtitle", required: false }] }], avatarButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarButton", required: false }] }], avatarButtonLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarButtonLabel", required: false }] }], useAvatar: [{ type: i0.Input, args: [{ isSignal: true, alias: "useAvatar", required: false }] }], avatarOnline: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarOnline", required: false }] }], actionTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "actionTemplate", required: false }] }] } });
329
363
 
330
364
  class BlockShellLogoComponent {
331
365
  text = input('ETOS', /* @ts-ignore */
@@ -371,134 +405,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
371
405
  }]
372
406
  }], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], homePath: [{ type: i0.Input, args: [{ isSignal: true, alias: "homePath", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
373
407
 
374
- const WINDOW_CONTROL_ACTIONS = new Set([
375
- 'close',
376
- 'minimize',
377
- 'toggle-maximize',
378
- ]);
379
408
  class BlockShellNavigationHeaderComponent {
380
- documentRef = inject(DOCUMENT);
381
- nativeHost = inject(NativeHostService, { optional: true });
382
409
  name = input.required(/* @ts-ignore */
383
410
  ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
384
- subtitle = input.required(/* @ts-ignore */
385
- ...(ngDevMode ? [{ debugName: "subtitle" }] : /* istanbul ignore next */ []));
386
411
  logoText = input('ETOS', /* @ts-ignore */
387
412
  ...(ngDevMode ? [{ debugName: "logoText" }] : /* istanbul ignore next */ []));
388
413
  homePath = input('/', /* @ts-ignore */
389
414
  ...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
390
415
  collapsible = input(false, /* @ts-ignore */
391
416
  ...(ngDevMode ? [{ debugName: "collapsible" }] : /* istanbul ignore next */ []));
392
- /** Menampilkan title aplikasi saja tanpa subtitle/brand. */
393
- titleOnly = input(false, /* @ts-ignore */
394
- ...(ngDevMode ? [{ debugName: "titleOnly" }] : /* istanbul ignore next */ []));
395
- /** Mengganti logo dan label dengan kontrol tiga titik khusus Desktop. */
396
- desktopControls = input(false, /* @ts-ignore */
397
- ...(ngDevMode ? [{ debugName: "desktopControls" }] : /* istanbul ignore next */ []));
398
417
  homeLinkAriaLabel = computed(() => `Buka ${this.name()}`, /* @ts-ignore */
399
418
  ...(ngDevMode ? [{ debugName: "homeLinkAriaLabel" }] : /* istanbul ignore next */ []));
400
- ngAfterViewInit() {
401
- this.documentRef.addEventListener('click', this.handleWindowControlClick);
402
- this.documentRef.addEventListener('pointerdown', this.handleWindowDragStart);
403
- }
404
- ngOnDestroy() {
405
- this.documentRef.removeEventListener('click', this.handleWindowControlClick);
406
- this.documentRef.removeEventListener('pointerdown', this.handleWindowDragStart);
407
- }
408
- handleWindowControlClick = (event) => {
409
- if (!(event.target instanceof Element)) {
410
- return;
411
- }
412
- const button = event.target.closest('[data-window-control]');
413
- const action = button?.getAttribute('data-window-control');
414
- if (!this.isWindowControlAction(action)) {
415
- return;
416
- }
417
- void this.emitWindowControl(action);
418
- };
419
- handleWindowDragStart = (event) => {
420
- if (event.button !== 0 || !(event.target instanceof Element)) {
421
- return;
422
- }
423
- if (!event.target.closest('[data-window-drag-area]')) {
424
- return;
425
- }
426
- if (!this.nativeHost?.supports('window-controls')) {
427
- return;
428
- }
429
- event.preventDefault();
430
- if (event.detail === 2) {
431
- void this.emitWindowControl('toggle-maximize');
432
- return;
433
- }
434
- void this.startDragging();
435
- };
436
- isWindowControlAction(action) {
437
- return action !== null && WINDOW_CONTROL_ACTIONS.has(action);
438
- }
439
- async emitWindowControl(action) {
440
- if (!this.nativeHost?.supports('window-controls')) {
441
- return;
442
- }
443
- try {
444
- await this.nativeHost.emitWindowControl(action);
445
- }
446
- catch (error) {
447
- console.error(`Gagal menjalankan window control: ${action}`, error);
448
- }
449
- }
450
- async startDragging() {
451
- try {
452
- await this.nativeHost?.startDragging();
453
- }
454
- catch (error) {
455
- console.error('Gagal memindahkan window', error);
456
- }
457
- }
458
419
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
459
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", 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 }, titleOnly: { classPropertyName: "titleOnly", publicName: "titleOnly", isSignal: true, isRequired: false, transformFunction: null }, desktopControls: { classPropertyName: "desktopControls", publicName: "desktopControls", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
460
- @if (desktopControls()) {
461
- <div
462
- data-block-shell-desktop-titlebar
463
- class="desktop-titlebar relative flex h-11 w-full shrink-0 items-center gap-2"
464
- >
465
- <div
466
- aria-hidden="true"
467
- data-window-drag-area
468
- class="window-drag-area absolute top-0 bottom-0 -left-3 z-0 w-screen cursor-grab select-none active:cursor-grabbing"
469
- ></div>
470
-
471
- <div
472
- data-block-shell-desktop-controls
473
- class="window-controls relative z-2 flex items-center gap-[0.77rem]"
474
- >
475
- <button
476
- type="button"
477
- data-window-control="close"
478
- aria-label="Close window"
479
- title="Close window"
480
- data-block-shell-desktop-control="close"
481
- class="relative z-3 block size-[16.66px] appearance-none rounded-full border-0 bg-[#ff5f57] p-0 transition-colors hover:bg-[#e0443e]"
482
- ></button>
483
- <button
484
- type="button"
485
- data-window-control="minimize"
486
- aria-label="Minimize window"
487
- title="Minimize window"
488
- data-block-shell-desktop-control="minimize"
489
- class="relative z-3 block size-[16.66px] appearance-none rounded-full border-0 bg-[#febc2e] p-0 transition-colors hover:bg-[#d99b1f]"
490
- ></button>
491
- <button
492
- type="button"
493
- data-window-control="toggle-maximize"
494
- aria-label="Maximize window"
495
- title="Maximize window"
496
- data-block-shell-desktop-control="maximize"
497
- class="relative z-3 block size-[16.66px] appearance-none rounded-full border-0 bg-[#28c840] p-0 transition-colors hover:bg-[#1fa936]"
498
- ></button>
499
- </div>
500
- </div>
501
- } @else if (collapsible()) {
420
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellNavigationHeaderComponent, isStandalone: true, selector: "block-shell-navigation-header", inputs: { name: { classPropertyName: "name", publicName: "name", 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 } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
421
+ @if (collapsible()) {
502
422
  <div NavigationCollapseRoot class="flex items-center gap-3">
503
423
  <block-shell-logo [text]="logoText()" />
504
424
 
@@ -509,12 +429,9 @@ class BlockShellNavigationHeaderComponent {
509
429
  data-block-shell-home-link
510
430
  class="block min-w-0 rounded-md px-1 py-0.5 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
511
431
  >
512
- <block-shell-navigation-meta
513
- [name]="titleOnly() ? name() : subtitle()"
514
- [subtitle]="titleOnly() ? '' : name()"
515
- [hideSubtitle]="titleOnly()"
516
- [subtitleClass]="'-mt-1 truncate text-xs text-muted-foreground'"
517
- />
432
+ <p class="truncate text-sm font-semibold tracking-tight text-foreground">
433
+ {{ name() }}
434
+ </p>
518
435
  </a>
519
436
  </div>
520
437
  </div>
@@ -528,15 +445,13 @@ class BlockShellNavigationHeaderComponent {
528
445
  data-block-shell-home-link
529
446
  class="block min-w-0 flex-1 rounded-md px-1 py-0.5 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
530
447
  >
531
- <block-shell-navigation-meta
532
- [name]="titleOnly() ? name() : subtitle()"
533
- [subtitle]="titleOnly() ? '' : name()"
534
- [hideSubtitle]="titleOnly()"
535
- />
448
+ <p class="truncate text-sm font-semibold tracking-tight text-foreground">
449
+ {{ name() }}
450
+ </p>
536
451
  </a>
537
452
  </div>
538
453
  }
539
- `, 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: "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", "hideSubtitle"] }] });
454
+ `, 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: "component", type: BlockShellLogoComponent, selector: "block-shell-logo", inputs: ["text", "homePath", "ariaLabel"] }] });
540
455
  }
541
456
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationHeaderComponent, decorators: [{
542
457
  type: Component,
@@ -547,54 +462,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
547
462
  NavigationCollapseExpandedDirective,
548
463
  RouterLink,
549
464
  BlockShellLogoComponent,
550
- BlockShellNavigationMetaComponent,
551
465
  ],
552
466
  host: {
553
467
  class: 'contents',
554
468
  },
555
469
  template: `
556
- @if (desktopControls()) {
557
- <div
558
- data-block-shell-desktop-titlebar
559
- class="desktop-titlebar relative flex h-11 w-full shrink-0 items-center gap-2"
560
- >
561
- <div
562
- aria-hidden="true"
563
- data-window-drag-area
564
- class="window-drag-area absolute top-0 bottom-0 -left-3 z-0 w-screen cursor-grab select-none active:cursor-grabbing"
565
- ></div>
566
-
567
- <div
568
- data-block-shell-desktop-controls
569
- class="window-controls relative z-2 flex items-center gap-[0.77rem]"
570
- >
571
- <button
572
- type="button"
573
- data-window-control="close"
574
- aria-label="Close window"
575
- title="Close window"
576
- data-block-shell-desktop-control="close"
577
- class="relative z-3 block size-[16.66px] appearance-none rounded-full border-0 bg-[#ff5f57] p-0 transition-colors hover:bg-[#e0443e]"
578
- ></button>
579
- <button
580
- type="button"
581
- data-window-control="minimize"
582
- aria-label="Minimize window"
583
- title="Minimize window"
584
- data-block-shell-desktop-control="minimize"
585
- class="relative z-3 block size-[16.66px] appearance-none rounded-full border-0 bg-[#febc2e] p-0 transition-colors hover:bg-[#d99b1f]"
586
- ></button>
587
- <button
588
- type="button"
589
- data-window-control="toggle-maximize"
590
- aria-label="Maximize window"
591
- title="Maximize window"
592
- data-block-shell-desktop-control="maximize"
593
- class="relative z-3 block size-[16.66px] appearance-none rounded-full border-0 bg-[#28c840] p-0 transition-colors hover:bg-[#1fa936]"
594
- ></button>
595
- </div>
596
- </div>
597
- } @else if (collapsible()) {
470
+ @if (collapsible()) {
598
471
  <div NavigationCollapseRoot class="flex items-center gap-3">
599
472
  <block-shell-logo [text]="logoText()" />
600
473
 
@@ -605,12 +478,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
605
478
  data-block-shell-home-link
606
479
  class="block min-w-0 rounded-md px-1 py-0.5 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
607
480
  >
608
- <block-shell-navigation-meta
609
- [name]="titleOnly() ? name() : subtitle()"
610
- [subtitle]="titleOnly() ? '' : name()"
611
- [hideSubtitle]="titleOnly()"
612
- [subtitleClass]="'-mt-1 truncate text-xs text-muted-foreground'"
613
- />
481
+ <p class="truncate text-sm font-semibold tracking-tight text-foreground">
482
+ {{ name() }}
483
+ </p>
614
484
  </a>
615
485
  </div>
616
486
  </div>
@@ -624,29 +494,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
624
494
  data-block-shell-home-link
625
495
  class="block min-w-0 flex-1 rounded-md px-1 py-0.5 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
626
496
  >
627
- <block-shell-navigation-meta
628
- [name]="titleOnly() ? name() : subtitle()"
629
- [subtitle]="titleOnly() ? '' : name()"
630
- [hideSubtitle]="titleOnly()"
631
- />
497
+ <p class="truncate text-sm font-semibold tracking-tight text-foreground">
498
+ {{ name() }}
499
+ </p>
632
500
  </a>
633
501
  </div>
634
502
  }
635
503
  `,
636
504
  }]
637
- }], 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 }] }], titleOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "titleOnly", required: false }] }], desktopControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "desktopControls", required: false }] }] } });
505
+ }], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", 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 }] }] } });
638
506
 
639
507
  class BlockShellSidebarNavigationComponent {
640
508
  documentRef = inject(DOCUMENT);
641
509
  destroyRef = inject(DestroyRef);
642
510
  navigationService = inject(NavigationService);
643
- layout = inject(LayoutService);
644
511
  navigation = input.required(/* @ts-ignore */
645
512
  ...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
646
513
  shellName = input.required(/* @ts-ignore */
647
514
  ...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
648
- brandSubtitle = input('Etos Indonusa', /* @ts-ignore */
649
- ...(ngDevMode ? [{ debugName: "brandSubtitle" }] : /* istanbul ignore next */ []));
650
515
  logoText = input('ETOS', /* @ts-ignore */
651
516
  ...(ngDevMode ? [{ debugName: "logoText" }] : /* istanbul ignore next */ []));
652
517
  homePath = input('/', /* @ts-ignore */
@@ -675,7 +540,7 @@ class BlockShellSidebarNavigationComponent {
675
540
  return state.type;
676
541
  }
677
542
  // Sebelum state 'main' terdaftar, hormati type persisted agar registrasi
678
- // pertama saat refresh tidak menimpa pilihan user (mis. dockbar pada style ala).
543
+ // pertama saat refresh tidak menimpa pilihan user (mis. dockbar).
679
544
  const persisted = this.navigationService.persistedTypeFor('vertical');
680
545
  return persisted === 'sidebar' || persisted === 'dockbar' ? persisted : this.type();
681
546
  }, /* @ts-ignore */
@@ -690,16 +555,8 @@ class BlockShellSidebarNavigationComponent {
690
555
  : 'default';
691
556
  }, /* @ts-ignore */
692
557
  ...(ngDevMode ? [{ debugName: "dockbarMode" }] : /* istanbul ignore next */ []));
693
- navTypeStyle = computed(() => this.layout.appearance() === 'ala' ? 'ala' : 'default', /* @ts-ignore */
558
+ navTypeStyle = computed(() => 'default', /* @ts-ignore */
694
559
  ...(ngDevMode ? [{ debugName: "navTypeStyle" }] : /* istanbul ignore next */ []));
695
- userInitials = computed(() => {
696
- const words = this.userName()
697
- .trim()
698
- .split(/\s+/)
699
- .filter((word) => word.length > 0);
700
- return ((words[0]?.[0] ?? '') + (words[1]?.[0] ?? words[0]?.[1] ?? '')).toUpperCase();
701
- }, /* @ts-ignore */
702
- ...(ngDevMode ? [{ debugName: "userInitials" }] : /* istanbul ignore next */ []));
703
560
  constructor() {
704
561
  const windowRef = this.documentRef.defaultView;
705
562
  if (!windowRef) {
@@ -716,7 +573,7 @@ class BlockShellSidebarNavigationComponent {
716
573
  return this.documentRef.defaultView?.matchMedia('(max-width: 767.98px)').matches ?? false;
717
574
  }
718
575
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellSidebarNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
719
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellSidebarNavigationComponent, isStandalone: true, selector: "block-shell-sidebar-navigation", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, 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 }, userPhotoUrl: { classPropertyName: "userPhotoUrl", publicName: "userPhotoUrl", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, footerActionTemplate: { classPropertyName: "footerActionTemplate", publicName: "footerActionTemplate", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
576
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellSidebarNavigationComponent, isStandalone: true, selector: "block-shell-sidebar-navigation", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", 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 }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, userPhotoUrl: { classPropertyName: "userPhotoUrl", publicName: "userPhotoUrl", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, footerActionTemplate: { classPropertyName: "footerActionTemplate", publicName: "footerActionTemplate", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
720
577
  <Navigation
721
578
  id="main"
722
579
  [data]="navigation()"
@@ -726,68 +583,43 @@ class BlockShellSidebarNavigationComponent {
726
583
  >
727
584
  @if (effectiveType() === 'dockbar') {
728
585
  <NavigationDockbar [mode]="dockbarMode()" [typeStyle]="navTypeStyle()">
729
- @if (navTypeStyle() !== 'ala') {
730
- <NavigationHeader>
731
- <block-shell-navigation-header
732
- [name]="shellName()"
733
- [subtitle]="brandSubtitle()"
734
- [logoText]="logoText()"
735
- [homePath]="homePath()"
736
- [collapsible]="true"
737
- />
738
- </NavigationHeader>
739
- }
586
+ <NavigationHeader>
587
+ <block-shell-navigation-header
588
+ [name]="shellName()"
589
+ [logoText]="logoText()"
590
+ [homePath]="homePath()"
591
+ [collapsible]="true"
592
+ />
593
+ </NavigationHeader>
594
+
595
+ <NavigationFooter class="px-3">
596
+ <block-shell-navigation-footer
597
+ [name]="userName()"
598
+ [subtitle]="userPosition()"
599
+ [photoUrl]="userPhotoUrl()"
600
+ [collapsible]="true"
601
+ avatarRadiusClass="rounded-full"
602
+ [useAvatar]="true"
603
+ [hideSubtitle]="true"
604
+ [actionTemplate]="footerActionTemplate()"
605
+ />
606
+ </NavigationFooter>
740
607
 
741
- @if (navTypeStyle() !== 'ala') {
742
- <NavigationFooter class="px-3">
743
- <block-shell-navigation-footer
608
+ <ng-template NavigationAsideFooter>
609
+ <div class="flex w-full min-w-0 items-center gap-3">
610
+ <block-shell-navigation-meta
744
611
  [name]="userName()"
745
612
  [subtitle]="userPosition()"
746
- [photoUrl]="userPhotoUrl()"
747
- [collapsible]="true"
748
- [actionTemplate]="footerActionTemplate()"
613
+ [hideSubtitle]="true"
614
+ [containerClass]="'min-w-0 flex-1'"
615
+ [subtitleClass]="'-mt-1 truncate text-xs text-muted-foreground'"
749
616
  />
750
- </NavigationFooter>
751
- }
752
-
753
- @if (navTypeStyle() === 'ala') {
754
- <ng-template NavigationAsideHeader>
755
- <block-shell-logo [text]="logoText()" />
756
- </ng-template>
757
- }
758
-
759
- <ng-template NavigationAsideFooter>
760
- @if (navTypeStyle() === 'ala') {
761
- <div class="flex w-full min-w-0 items-center gap-3">
762
- <block-shell-navigation-avatar
763
- [initials]="userInitials()"
764
- [photoUrl]="userPhotoUrl()"
765
- [photoAlt]="userName()"
766
- />
767
- <p class="min-w-0 truncate text-sm font-semibold tracking-tight text-foreground">
768
- {{ userName() }}
769
- </p>
770
- @if (footerActionTemplate()) {
771
- <div class="ml-auto shrink-0">
772
- <ng-container [ngTemplateOutlet]="footerActionTemplate()" />
773
- </div>
774
- }
775
- </div>
776
- } @else {
777
- <div class="flex w-full min-w-0 items-center gap-3">
778
- <block-shell-navigation-meta
779
- [name]="userName()"
780
- [subtitle]="userPosition()"
781
- [containerClass]="'min-w-0 flex-1'"
782
- [subtitleClass]="'-mt-1 truncate text-xs text-muted-foreground'"
783
- />
784
- @if (footerActionTemplate()) {
785
- <div class="ml-auto shrink-0">
786
- <ng-container [ngTemplateOutlet]="footerActionTemplate()" />
787
- </div>
788
- }
789
- </div>
790
- }
617
+ @if (footerActionTemplate()) {
618
+ <div class="ml-auto shrink-0">
619
+ <ng-container [ngTemplateOutlet]="footerActionTemplate()" />
620
+ </div>
621
+ }
622
+ </div>
791
623
  </ng-template>
792
624
  </NavigationDockbar>
793
625
  } @else {
@@ -795,7 +627,6 @@ class BlockShellSidebarNavigationComponent {
795
627
  <NavigationHeader>
796
628
  <block-shell-navigation-header
797
629
  [name]="shellName()"
798
- [subtitle]="brandSubtitle()"
799
630
  [logoText]="logoText()"
800
631
  [homePath]="homePath()"
801
632
  [collapsible]="true"
@@ -808,13 +639,16 @@ class BlockShellSidebarNavigationComponent {
808
639
  [subtitle]="userPosition()"
809
640
  [photoUrl]="userPhotoUrl()"
810
641
  [collapsible]="true"
642
+ avatarRadiusClass="rounded-full"
643
+ [useAvatar]="true"
644
+ [hideSubtitle]="true"
811
645
  [actionTemplate]="footerActionTemplate()"
812
646
  />
813
647
  </NavigationFooter>
814
648
  </NavigationSidebar>
815
649
  }
816
650
  </Navigation>
817
- `, 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", "typeStyle", "nav-type-style", "class"] }, { kind: "component", type: NavigationHeaderComponent, selector: "NavigationHeader", inputs: ["toggle", "navigation-history", "class"] }, { kind: "component", type: NavigationFooterComponent, selector: "NavigationFooter", inputs: ["class", "borderless"] }, { kind: "directive", type: NavigationAsideFooterDirective, selector: "ng-template[NavigationAsideFooter]" }, { kind: "directive", type: NavigationAsideHeaderDirective, selector: "ng-template[NavigationAsideHeader]" }, { kind: "component", type: BlockShellNavigationHeaderComponent, selector: "block-shell-navigation-header", inputs: ["name", "subtitle", "logoText", "homePath", "collapsible", "titleOnly", "desktopControls"] }, { kind: "component", type: BlockShellNavigationFooterComponent, selector: "block-shell-navigation-footer", inputs: ["name", "subtitle", "initials", "photoUrl", "collapsible", "desktopOnly", "avatarRadiusClass", "showMeta", "avatarButton", "avatarButtonLabel", "avatarOnline", "actionTemplate"] }, { kind: "component", type: BlockShellNavigationMetaComponent, selector: "block-shell-navigation-meta", inputs: ["name", "subtitle", "containerClass", "subtitleClass", "hideSubtitle"] }, { kind: "component", type: BlockShellNavigationAvatarComponent, selector: "block-shell-navigation-avatar", inputs: ["initials", "photoUrl", "photoAlt", "radiusClass", "asButton", "buttonLabel", "showOnlineIndicator"] }, { kind: "component", type: BlockShellLogoComponent, selector: "block-shell-logo", inputs: ["text", "homePath", "ariaLabel"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
651
+ `, 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", "typeStyle", "nav-type-style", "class"] }, { kind: "component", type: NavigationHeaderComponent, selector: "NavigationHeader", inputs: ["toggle", "navigation-history", "class"] }, { kind: "component", type: NavigationFooterComponent, selector: "NavigationFooter", inputs: ["class", "borderless"] }, { kind: "directive", type: NavigationAsideFooterDirective, selector: "ng-template[NavigationAsideFooter]" }, { kind: "component", type: BlockShellNavigationHeaderComponent, selector: "block-shell-navigation-header", inputs: ["name", "logoText", "homePath", "collapsible"] }, { kind: "component", type: BlockShellNavigationFooterComponent, selector: "block-shell-navigation-footer", inputs: ["name", "subtitle", "initials", "photoUrl", "collapsible", "desktopOnly", "avatarRadiusClass", "showMeta", "hideSubtitle", "avatarButton", "avatarButtonLabel", "useAvatar", "avatarOnline", "actionTemplate"] }, { kind: "component", type: BlockShellNavigationMetaComponent, selector: "block-shell-navigation-meta", inputs: ["name", "subtitle", "containerClass", "subtitleClass", "hideSubtitle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
818
652
  }
819
653
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellSidebarNavigationComponent, decorators: [{
820
654
  type: Component,
@@ -827,12 +661,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
827
661
  NavigationHeaderComponent,
828
662
  NavigationFooterComponent,
829
663
  NavigationAsideFooterDirective,
830
- NavigationAsideHeaderDirective,
831
664
  BlockShellNavigationHeaderComponent,
832
665
  BlockShellNavigationFooterComponent,
833
666
  BlockShellNavigationMetaComponent,
834
- BlockShellNavigationAvatarComponent,
835
- BlockShellLogoComponent,
836
667
  NgTemplateOutlet,
837
668
  ],
838
669
  host: {
@@ -848,68 +679,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
848
679
  >
849
680
  @if (effectiveType() === 'dockbar') {
850
681
  <NavigationDockbar [mode]="dockbarMode()" [typeStyle]="navTypeStyle()">
851
- @if (navTypeStyle() !== 'ala') {
852
- <NavigationHeader>
853
- <block-shell-navigation-header
854
- [name]="shellName()"
855
- [subtitle]="brandSubtitle()"
856
- [logoText]="logoText()"
857
- [homePath]="homePath()"
858
- [collapsible]="true"
859
- />
860
- </NavigationHeader>
861
- }
682
+ <NavigationHeader>
683
+ <block-shell-navigation-header
684
+ [name]="shellName()"
685
+ [logoText]="logoText()"
686
+ [homePath]="homePath()"
687
+ [collapsible]="true"
688
+ />
689
+ </NavigationHeader>
862
690
 
863
- @if (navTypeStyle() !== 'ala') {
864
- <NavigationFooter class="px-3">
865
- <block-shell-navigation-footer
691
+ <NavigationFooter class="px-3">
692
+ <block-shell-navigation-footer
693
+ [name]="userName()"
694
+ [subtitle]="userPosition()"
695
+ [photoUrl]="userPhotoUrl()"
696
+ [collapsible]="true"
697
+ avatarRadiusClass="rounded-full"
698
+ [useAvatar]="true"
699
+ [hideSubtitle]="true"
700
+ [actionTemplate]="footerActionTemplate()"
701
+ />
702
+ </NavigationFooter>
703
+
704
+ <ng-template NavigationAsideFooter>
705
+ <div class="flex w-full min-w-0 items-center gap-3">
706
+ <block-shell-navigation-meta
866
707
  [name]="userName()"
867
708
  [subtitle]="userPosition()"
868
- [photoUrl]="userPhotoUrl()"
869
- [collapsible]="true"
870
- [actionTemplate]="footerActionTemplate()"
709
+ [hideSubtitle]="true"
710
+ [containerClass]="'min-w-0 flex-1'"
711
+ [subtitleClass]="'-mt-1 truncate text-xs text-muted-foreground'"
871
712
  />
872
- </NavigationFooter>
873
- }
874
-
875
- @if (navTypeStyle() === 'ala') {
876
- <ng-template NavigationAsideHeader>
877
- <block-shell-logo [text]="logoText()" />
878
- </ng-template>
879
- }
880
-
881
- <ng-template NavigationAsideFooter>
882
- @if (navTypeStyle() === 'ala') {
883
- <div class="flex w-full min-w-0 items-center gap-3">
884
- <block-shell-navigation-avatar
885
- [initials]="userInitials()"
886
- [photoUrl]="userPhotoUrl()"
887
- [photoAlt]="userName()"
888
- />
889
- <p class="min-w-0 truncate text-sm font-semibold tracking-tight text-foreground">
890
- {{ userName() }}
891
- </p>
892
- @if (footerActionTemplate()) {
893
- <div class="ml-auto shrink-0">
894
- <ng-container [ngTemplateOutlet]="footerActionTemplate()" />
895
- </div>
896
- }
897
- </div>
898
- } @else {
899
- <div class="flex w-full min-w-0 items-center gap-3">
900
- <block-shell-navigation-meta
901
- [name]="userName()"
902
- [subtitle]="userPosition()"
903
- [containerClass]="'min-w-0 flex-1'"
904
- [subtitleClass]="'-mt-1 truncate text-xs text-muted-foreground'"
905
- />
906
- @if (footerActionTemplate()) {
907
- <div class="ml-auto shrink-0">
908
- <ng-container [ngTemplateOutlet]="footerActionTemplate()" />
909
- </div>
910
- }
911
- </div>
912
- }
713
+ @if (footerActionTemplate()) {
714
+ <div class="ml-auto shrink-0">
715
+ <ng-container [ngTemplateOutlet]="footerActionTemplate()" />
716
+ </div>
717
+ }
718
+ </div>
913
719
  </ng-template>
914
720
  </NavigationDockbar>
915
721
  } @else {
@@ -917,7 +723,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
917
723
  <NavigationHeader>
918
724
  <block-shell-navigation-header
919
725
  [name]="shellName()"
920
- [subtitle]="brandSubtitle()"
921
726
  [logoText]="logoText()"
922
727
  [homePath]="homePath()"
923
728
  [collapsible]="true"
@@ -930,6 +735,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
930
735
  [subtitle]="userPosition()"
931
736
  [photoUrl]="userPhotoUrl()"
932
737
  [collapsible]="true"
738
+ avatarRadiusClass="rounded-full"
739
+ [useAvatar]="true"
740
+ [hideSubtitle]="true"
933
741
  [actionTemplate]="footerActionTemplate()"
934
742
  />
935
743
  </NavigationFooter>
@@ -938,21 +746,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
938
746
  </Navigation>
939
747
  `,
940
748
  }]
941
- }], ctorParameters: () => [], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], 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 }] }], userPhotoUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPhotoUrl", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], footerActionTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "footerActionTemplate", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }] } });
749
+ }], ctorParameters: () => [], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], shellName: [{ type: i0.Input, args: [{ isSignal: true, alias: "shellName", required: true }] }], 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 }] }], userPhotoUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPhotoUrl", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], footerActionTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "footerActionTemplate", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }] } });
942
750
 
943
751
  const DESKTOP_NAV_CONTROL_SIZE = 'size-11';
944
752
  const DESKTOP_FLYOUT_ICON_SIZE = 20;
945
753
  class BlockShellTopNavigationComponent {
946
754
  layout = inject(LayoutService);
947
755
  navigationService = inject(NavigationService);
948
- runtime = inject(RuntimeContextService, { optional: true });
949
- themeStyle = inject(ThemeStyleService);
756
+ themeAppearance = inject(ThemeAppearanceService);
950
757
  navigation = input.required(/* @ts-ignore */
951
758
  ...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
952
759
  shellName = input.required(/* @ts-ignore */
953
760
  ...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
954
- brandSubtitle = input('Etos Indonusa', /* @ts-ignore */
955
- ...(ngDevMode ? [{ debugName: "brandSubtitle" }] : /* istanbul ignore next */ []));
956
761
  logoText = input('ETOS', /* @ts-ignore */
957
762
  ...(ngDevMode ? [{ debugName: "logoText" }] : /* istanbul ignore next */ []));
958
763
  homePath = input('/', /* @ts-ignore */
@@ -963,6 +768,8 @@ class BlockShellTopNavigationComponent {
963
768
  ...(ngDevMode ? [{ debugName: "userPosition" }] : /* istanbul ignore next */ []));
964
769
  userPhotoUrl = input(undefined, /* @ts-ignore */
965
770
  ...(ngDevMode ? [{ debugName: "userPhotoUrl" }] : /* istanbul ignore next */ []));
771
+ footerActionTemplate = input(null, /* @ts-ignore */
772
+ ...(ngDevMode ? [{ debugName: "footerActionTemplate" }] : /* istanbul ignore next */ []));
966
773
  ariaLabel = input('top navigation', /* @ts-ignore */
967
774
  ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
968
775
  /** Fallback type ketika localStorage `nav-type` kosong atau tidak valid untuk orientasi horizontal. */
@@ -984,32 +791,38 @@ class BlockShellTopNavigationComponent {
984
791
  return persisted === 'navbar' || persisted === 'flyout' ? persisted : this.type();
985
792
  }, /* @ts-ignore */
986
793
  ...(ngDevMode ? [{ debugName: "effectiveType" }] : /* istanbul ignore next */ []));
987
- /** Desktop memakai surface nav khusus; border-rail tetap mengikuti appearance layout. */
794
+ /** Desktop memakai surface nav khusus; rail mempertahankan style navigation border-rail. */
988
795
  navTypeStyle = computed(() => this.isDesktopTheme()
989
796
  ? 'desktop'
990
- : this.layout.appearance() === 'border-rail'
797
+ : this.layout.appearance() === 'rail'
991
798
  ? 'border-rail'
992
799
  : 'default', /* @ts-ignore */
993
800
  ...(ngDevMode ? [{ debugName: "navTypeStyle" }] : /* istanbul ignore next */ []));
994
801
  /** Tema desktop memakai trigger dashboard tanpa label visual; tema lain mempertahankan label. */
995
- isDesktopTheme = computed(() => this.themeStyle.style() === 'desktop', /* @ts-ignore */
802
+ isDesktopTheme = computed(() => this.themeAppearance.appearance() === 'desktop', /* @ts-ignore */
996
803
  ...(ngDevMode ? [{ debugName: "isDesktopTheme" }] : /* istanbul ignore next */ []));
997
- showDesktopWindowControls = computed(() => this.isDesktopTheme() && this.runtime?.isDesktopShell() === true, /* @ts-ignore */
998
- ...(ngDevMode ? [{ debugName: "showDesktopWindowControls" }] : /* istanbul ignore next */ []));
999
- desktopFlyoutIcon = computed(() => this.isDesktopTheme() ? 'dashboard' : null, /* @ts-ignore */
804
+ isBrowserTheme = computed(() => this.themeAppearance.appearance() === 'browser', /* @ts-ignore */
805
+ ...(ngDevMode ? [{ debugName: "isBrowserTheme" }] : /* istanbul ignore next */ []));
806
+ isRailTheme = computed(() => this.themeAppearance.appearance() === 'rail', /* @ts-ignore */
807
+ ...(ngDevMode ? [{ debugName: "isRailTheme" }] : /* istanbul ignore next */ []));
808
+ isFooterFlyoutTheme = computed(() => this.isBrowserTheme() || this.isRailTheme(), /* @ts-ignore */
809
+ ...(ngDevMode ? [{ debugName: "isFooterFlyoutTheme" }] : /* istanbul ignore next */ []));
810
+ desktopFlyoutIcon = computed(() => this.isDesktopTheme() ? 'dashboard' : this.isFooterFlyoutTheme() ? 'menu' : null, /* @ts-ignore */
1000
811
  ...(ngDevMode ? [{ debugName: "desktopFlyoutIcon" }] : /* istanbul ignore next */ []));
812
+ flyoutIconOnly = computed(() => this.isDesktopTheme() || this.isFooterFlyoutTheme(), /* @ts-ignore */
813
+ ...(ngDevMode ? [{ debugName: "flyoutIconOnly" }] : /* istanbul ignore next */ []));
1001
814
  desktopFlyoutTriggerRadiusClass = computed(() => this.isDesktopTheme() ? 'rounded-base' : '', /* @ts-ignore */
1002
815
  ...(ngDevMode ? [{ debugName: "desktopFlyoutTriggerRadiusClass" }] : /* istanbul ignore next */ []));
1003
- desktopFlyoutTriggerSizeClass = computed(() => this.isDesktopTheme() ? DESKTOP_NAV_CONTROL_SIZE : '', /* @ts-ignore */
1004
- ...(ngDevMode ? [{ debugName: "desktopFlyoutTriggerSizeClass" }] : /* istanbul ignore next */ []));
816
+ flyoutTriggerSizeClass = computed(() => this.isDesktopTheme() ? DESKTOP_NAV_CONTROL_SIZE : this.isFooterFlyoutTheme() ? 'size-8' : '', /* @ts-ignore */
817
+ ...(ngDevMode ? [{ debugName: "flyoutTriggerSizeClass" }] : /* istanbul ignore next */ []));
1005
818
  desktopFlyoutIconSize = computed(() => this.isDesktopTheme() ? DESKTOP_FLYOUT_ICON_SIZE : 18, /* @ts-ignore */
1006
819
  ...(ngDevMode ? [{ debugName: "desktopFlyoutIconSize" }] : /* istanbul ignore next */ []));
1007
- desktopAvatarRadiusClass = computed(() => this.isDesktopTheme() ? 'rounded-base' : 'rounded-none', /* @ts-ignore */
820
+ desktopAvatarRadiusClass = computed(() => this.isDesktopTheme() ? 'rounded-base' : 'rounded-full', /* @ts-ignore */
1008
821
  ...(ngDevMode ? [{ debugName: "desktopAvatarRadiusClass" }] : /* istanbul ignore next */ []));
1009
822
  desktopAvatarButtonLabel = computed(() => `User menu: ${this.userName()}`, /* @ts-ignore */
1010
823
  ...(ngDevMode ? [{ debugName: "desktopAvatarButtonLabel" }] : /* istanbul ignore next */ []));
1011
824
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellTopNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1012
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellTopNavigationComponent, isStandalone: true, selector: "block-shell-top-navigation", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, 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 }, userPhotoUrl: { classPropertyName: "userPhotoUrl", publicName: "userPhotoUrl", isSignal: true, isRequired: false, 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: `
825
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellTopNavigationComponent, isStandalone: true, selector: "block-shell-top-navigation", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", 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 }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, userPhotoUrl: { classPropertyName: "userPhotoUrl", publicName: "userPhotoUrl", isSignal: true, isRequired: false, transformFunction: null }, footerActionTemplate: { classPropertyName: "footerActionTemplate", publicName: "footerActionTemplate", isSignal: true, isRequired: false, 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: `
1013
826
  <Navigation
1014
827
  id="main"
1015
828
  [data]="navigation()"
@@ -1021,22 +834,20 @@ class BlockShellTopNavigationComponent {
1021
834
  <NavigationFlyout
1022
835
  [label]="flyoutLabel()"
1023
836
  [icon]="desktopFlyoutIcon()"
1024
- [icon-only]="isDesktopTheme()"
837
+ [icon-only]="flyoutIconOnly()"
1025
838
  [trigger-radius-class]="desktopFlyoutTriggerRadiusClass()"
1026
- [trigger-size-class]="desktopFlyoutTriggerSizeClass()"
839
+ [trigger-size-class]="flyoutTriggerSizeClass()"
1027
840
  [trigger-borderless]="isDesktopTheme()"
1028
841
  [trigger-backgroundless]="isDesktopTheme()"
842
+ [trigger-in-footer]="isFooterFlyoutTheme()"
1029
843
  [icon-size]="desktopFlyoutIconSize()"
1030
844
  [nav-type-style]="navTypeStyle()"
1031
845
  >
1032
- <NavigationHeader [navigation-history]="true">
846
+ <NavigationHeader>
1033
847
  <block-shell-navigation-header
1034
848
  [name]="shellName()"
1035
- [subtitle]="brandSubtitle()"
1036
849
  [logoText]="logoText()"
1037
850
  [homePath]="homePath()"
1038
- [titleOnly]="isDesktopTheme()"
1039
- [desktopControls]="showDesktopWindowControls()"
1040
851
  />
1041
852
  </NavigationHeader>
1042
853
 
@@ -1054,16 +865,17 @@ class BlockShellTopNavigationComponent {
1054
865
  [showMeta]="!isDesktopTheme()"
1055
866
  [avatarButton]="isDesktopTheme()"
1056
867
  [avatarButtonLabel]="desktopAvatarButtonLabel()"
868
+ [useAvatar]="!isDesktopTheme()"
1057
869
  [avatarOnline]="isDesktopTheme()"
870
+ [actionTemplate]="footerActionTemplate()"
1058
871
  />
1059
872
  </NavigationFooter>
1060
873
  </NavigationFlyout>
1061
874
  } @else {
1062
875
  <NavigationNavbar [nav-type-style]="navTypeStyle()">
1063
- <NavigationHeader [navigation-history]="true">
876
+ <NavigationHeader>
1064
877
  <block-shell-navigation-header
1065
878
  [name]="shellName()"
1066
- [subtitle]="brandSubtitle()"
1067
879
  [logoText]="logoText()"
1068
880
  [homePath]="homePath()"
1069
881
  />
@@ -1075,13 +887,16 @@ class BlockShellTopNavigationComponent {
1075
887
  [subtitle]="userPosition()"
1076
888
  [photoUrl]="userPhotoUrl()"
1077
889
  [desktopOnly]="true"
890
+ [avatarRadiusClass]="desktopAvatarRadiusClass()"
891
+ [useAvatar]="!isDesktopTheme()"
1078
892
  [avatarOnline]="isDesktopTheme()"
893
+ [actionTemplate]="footerActionTemplate()"
1079
894
  />
1080
895
  </NavigationFooter>
1081
896
  </NavigationNavbar>
1082
897
  }
1083
898
  </Navigation>
1084
- `, 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: NavigationContentComponent, selector: "NavigationContent", inputs: ["class"] }, { 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", "trigger-radius-class", "trigger-size-class", "trigger-borderless", "trigger-backgroundless", "icon-size", "nav-position", "nav-type-style", "class"] }, { kind: "component", type: NavigationHeaderComponent, selector: "NavigationHeader", inputs: ["toggle", "navigation-history", "class"] }, { kind: "component", type: NavigationFooterComponent, selector: "NavigationFooter", inputs: ["class", "borderless"] }, { kind: "component", type: BlockShellNavigationHeaderComponent, selector: "block-shell-navigation-header", inputs: ["name", "subtitle", "logoText", "homePath", "collapsible", "titleOnly", "desktopControls"] }, { kind: "component", type: BlockShellNavigationFooterComponent, selector: "block-shell-navigation-footer", inputs: ["name", "subtitle", "initials", "photoUrl", "collapsible", "desktopOnly", "avatarRadiusClass", "showMeta", "avatarButton", "avatarButtonLabel", "avatarOnline", "actionTemplate"] }] });
899
+ `, 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: NavigationContentComponent, selector: "NavigationContent", inputs: ["class"] }, { 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", "trigger-radius-class", "trigger-size-class", "trigger-borderless", "trigger-backgroundless", "icon-size", "trigger-in-footer", "nav-position", "nav-type-style", "class"] }, { kind: "component", type: NavigationHeaderComponent, selector: "NavigationHeader", inputs: ["toggle", "navigation-history", "class"] }, { kind: "component", type: NavigationFooterComponent, selector: "NavigationFooter", inputs: ["class", "borderless"] }, { kind: "component", type: BlockShellNavigationHeaderComponent, selector: "block-shell-navigation-header", inputs: ["name", "logoText", "homePath", "collapsible"] }, { kind: "component", type: BlockShellNavigationFooterComponent, selector: "block-shell-navigation-footer", inputs: ["name", "subtitle", "initials", "photoUrl", "collapsible", "desktopOnly", "avatarRadiusClass", "showMeta", "hideSubtitle", "avatarButton", "avatarButtonLabel", "useAvatar", "avatarOnline", "actionTemplate"] }] });
1085
900
  }
1086
901
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellTopNavigationComponent, decorators: [{
1087
902
  type: Component,
@@ -1112,22 +927,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
1112
927
  <NavigationFlyout
1113
928
  [label]="flyoutLabel()"
1114
929
  [icon]="desktopFlyoutIcon()"
1115
- [icon-only]="isDesktopTheme()"
930
+ [icon-only]="flyoutIconOnly()"
1116
931
  [trigger-radius-class]="desktopFlyoutTriggerRadiusClass()"
1117
- [trigger-size-class]="desktopFlyoutTriggerSizeClass()"
932
+ [trigger-size-class]="flyoutTriggerSizeClass()"
1118
933
  [trigger-borderless]="isDesktopTheme()"
1119
934
  [trigger-backgroundless]="isDesktopTheme()"
935
+ [trigger-in-footer]="isFooterFlyoutTheme()"
1120
936
  [icon-size]="desktopFlyoutIconSize()"
1121
937
  [nav-type-style]="navTypeStyle()"
1122
938
  >
1123
- <NavigationHeader [navigation-history]="true">
939
+ <NavigationHeader>
1124
940
  <block-shell-navigation-header
1125
941
  [name]="shellName()"
1126
- [subtitle]="brandSubtitle()"
1127
942
  [logoText]="logoText()"
1128
943
  [homePath]="homePath()"
1129
- [titleOnly]="isDesktopTheme()"
1130
- [desktopControls]="showDesktopWindowControls()"
1131
944
  />
1132
945
  </NavigationHeader>
1133
946
 
@@ -1145,16 +958,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
1145
958
  [showMeta]="!isDesktopTheme()"
1146
959
  [avatarButton]="isDesktopTheme()"
1147
960
  [avatarButtonLabel]="desktopAvatarButtonLabel()"
961
+ [useAvatar]="!isDesktopTheme()"
1148
962
  [avatarOnline]="isDesktopTheme()"
963
+ [actionTemplate]="footerActionTemplate()"
1149
964
  />
1150
965
  </NavigationFooter>
1151
966
  </NavigationFlyout>
1152
967
  } @else {
1153
968
  <NavigationNavbar [nav-type-style]="navTypeStyle()">
1154
- <NavigationHeader [navigation-history]="true">
969
+ <NavigationHeader>
1155
970
  <block-shell-navigation-header
1156
971
  [name]="shellName()"
1157
- [subtitle]="brandSubtitle()"
1158
972
  [logoText]="logoText()"
1159
973
  [homePath]="homePath()"
1160
974
  />
@@ -1166,7 +980,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
1166
980
  [subtitle]="userPosition()"
1167
981
  [photoUrl]="userPhotoUrl()"
1168
982
  [desktopOnly]="true"
983
+ [avatarRadiusClass]="desktopAvatarRadiusClass()"
984
+ [useAvatar]="!isDesktopTheme()"
1169
985
  [avatarOnline]="isDesktopTheme()"
986
+ [actionTemplate]="footerActionTemplate()"
1170
987
  />
1171
988
  </NavigationFooter>
1172
989
  </NavigationNavbar>
@@ -1174,7 +991,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
1174
991
  </Navigation>
1175
992
  `,
1176
993
  }]
1177
- }], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], 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 }] }], userPhotoUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPhotoUrl", required: false }] }], 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 }] }] } });
994
+ }], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], shellName: [{ type: i0.Input, args: [{ isSignal: true, alias: "shellName", required: true }] }], 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 }] }], userPhotoUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPhotoUrl", required: false }] }], footerActionTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "footerActionTemplate", required: false }] }], 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 }] }] } });
1178
995
 
1179
996
  class BlockShellNavigationPanelDirective {
1180
997
  templateRef = inject((TemplateRef));
@@ -1211,8 +1028,6 @@ class BlockShellComponent {
1211
1028
  ...(ngDevMode ? [{ debugName: "sidebarNavId" }] : /* istanbul ignore next */ []));
1212
1029
  shellName = input.required(/* @ts-ignore */
1213
1030
  ...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
1214
- brandSubtitle = input('Etos Indonusa', /* @ts-ignore */
1215
- ...(ngDevMode ? [{ debugName: "brandSubtitle" }] : /* istanbul ignore next */ []));
1216
1031
  logoText = input('ETOS', /* @ts-ignore */
1217
1032
  ...(ngDevMode ? [{ debugName: "logoText" }] : /* istanbul ignore next */ []));
1218
1033
  homePath = input('/', /* @ts-ignore */
@@ -1231,32 +1046,77 @@ class BlockShellComponent {
1231
1046
  ...(ngDevMode ? [{ debugName: "contentAriaLabel" }] : /* istanbul ignore next */ []));
1232
1047
  navigationPanelOpen = input(false, /* @ts-ignore */
1233
1048
  ...(ngDevMode ? [{ debugName: "navigationPanelOpen" }] : /* istanbul ignore next */ []));
1049
+ desktopThemeSettingsRequested = output();
1050
+ runtimeContext = inject(RuntimeContextService, { optional: true });
1051
+ nativeHost = inject(NativeHostService, { optional: true });
1234
1052
  layout = inject(LayoutService);
1053
+ isDesktopAppearance = computed(() => this.layout.appearance() === 'desktop', /* @ts-ignore */
1054
+ ...(ngDevMode ? [{ debugName: "isDesktopAppearance" }] : /* istanbul ignore next */ []));
1055
+ desktopAppBarPlatform = computed(() => {
1056
+ const context = this.runtimeContext?.context();
1057
+ if (!context || context.host === 'browser') {
1058
+ return undefined;
1059
+ }
1060
+ return context.deviceType === 'macos' || context.deviceType === 'windows'
1061
+ ? context.deviceType
1062
+ : null;
1063
+ }, /* @ts-ignore */
1064
+ ...(ngDevMode ? [{ debugName: "desktopAppBarPlatform" }] : /* istanbul ignore next */ []));
1235
1065
  navigationPanel = contentChild(BlockShellNavigationPanelDirective, /* @ts-ignore */
1236
1066
  ...(ngDevMode ? [{ debugName: "navigationPanel" }] : /* istanbul ignore next */ []));
1237
1067
  footerAction = contentChild(BlockShellNavigationFooterActionDirective, /* @ts-ignore */
1238
1068
  ...(ngDevMode ? [{ debugName: "footerAction" }] : /* istanbul ignore next */ []));
1239
1069
  navigationPanelActive = computed(() => this.layout.type() === 'vertical' && this.navigationPanelOpen() && !!this.navigationPanel(), /* @ts-ignore */
1240
1070
  ...(ngDevMode ? [{ debugName: "navigationPanelActive" }] : /* istanbul ignore next */ []));
1071
+ onDesktopWindowControlRequested(action) {
1072
+ const nativeHost = this.nativeHost;
1073
+ if (!nativeHost?.supports('window-controls')) {
1074
+ return;
1075
+ }
1076
+ void nativeHost.emitWindowControl(action).catch((error) => {
1077
+ console.error(`Failed to run window control: ${action}`, error);
1078
+ });
1079
+ }
1080
+ onDesktopWindowDragRequested() {
1081
+ const nativeHost = this.nativeHost;
1082
+ if (!nativeHost?.supports('window-controls')) {
1083
+ return;
1084
+ }
1085
+ void nativeHost.startDragging().catch((error) => {
1086
+ console.error('Failed to start window dragging', error);
1087
+ });
1088
+ }
1241
1089
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1242
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellComponent, isStandalone: true, selector: "block-shell", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, 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 }, userPhotoUrl: { classPropertyName: "userPhotoUrl", publicName: "userPhotoUrl", isSignal: true, isRequired: false, 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 }, navigationPanelOpen: { classPropertyName: "navigationPanelOpen", publicName: "navigationPanelOpen", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, queries: [{ propertyName: "navigationPanel", first: true, predicate: BlockShellNavigationPanelDirective, descendants: true, isSignal: true }, { propertyName: "footerAction", first: true, predicate: BlockShellNavigationFooterActionDirective, descendants: true, isSignal: true }], ngImport: i0, template: `
1090
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellComponent, isStandalone: true, selector: "block-shell", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, 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 }, 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 }, userPhotoUrl: { classPropertyName: "userPhotoUrl", publicName: "userPhotoUrl", isSignal: true, isRequired: false, 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 }, navigationPanelOpen: { classPropertyName: "navigationPanelOpen", publicName: "navigationPanelOpen", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { desktopThemeSettingsRequested: "desktopThemeSettingsRequested" }, host: { classAttribute: "contents" }, queries: [{ propertyName: "navigationPanel", first: true, predicate: BlockShellNavigationPanelDirective, descendants: true, isSignal: true }, { propertyName: "footerAction", first: true, predicate: BlockShellNavigationFooterActionDirective, descendants: true, isSignal: true }], ngImport: i0, template: `
1091
+ @if (isDesktopAppearance()) {
1092
+ <DesktopAppBar
1093
+ [platform]="desktopAppBarPlatform()"
1094
+ [navigation]="navigation()"
1095
+ (windowControlRequested)="onDesktopWindowControlRequested($event)"
1096
+ (windowDragRequested)="onDesktopWindowDragRequested()"
1097
+ (themeSettingsRequested)="desktopThemeSettingsRequested.emit()"
1098
+ />
1099
+ }
1100
+
1243
1101
  <Layout>
1244
1102
  @switch (layout.type()) {
1245
1103
  @case ('horizontal') {
1246
1104
  <LayoutHorizontal>
1247
- <LayoutNavigation [landmarkRole]="null" [ariaLabel]="null">
1248
- <block-shell-top-navigation
1249
- [navigation]="navigation()"
1250
- [shellName]="shellName()"
1251
- [brandSubtitle]="brandSubtitle()"
1252
- [logoText]="logoText()"
1253
- [homePath]="homePath()"
1254
- [userName]="userName()"
1255
- [userPosition]="userPosition()"
1256
- [userPhotoUrl]="userPhotoUrl()"
1257
- [ariaLabel]="topAriaLabel()"
1258
- />
1259
- </LayoutNavigation>
1105
+ @if (!isDesktopAppearance()) {
1106
+ <LayoutNavigation [landmarkRole]="null" [ariaLabel]="null">
1107
+ <block-shell-top-navigation
1108
+ [navigation]="navigation()"
1109
+ [shellName]="shellName()"
1110
+ [logoText]="logoText()"
1111
+ [homePath]="homePath()"
1112
+ [userName]="userName()"
1113
+ [userPosition]="userPosition()"
1114
+ [userPhotoUrl]="userPhotoUrl()"
1115
+ [ariaLabel]="topAriaLabel()"
1116
+ [footerActionTemplate]="footerAction()?.templateRef ?? null"
1117
+ />
1118
+ </LayoutNavigation>
1119
+ }
1260
1120
 
1261
1121
  <LayoutContent
1262
1122
  data-block-shell-content
@@ -1265,6 +1125,12 @@ class BlockShellComponent {
1265
1125
  >
1266
1126
  <router-outlet />
1267
1127
  </LayoutContent>
1128
+
1129
+ @if (navigationPanel()) {
1130
+ <div hidden aria-hidden="true" data-block-shell-overlay-panel>
1131
+ <ng-container [ngTemplateOutlet]="navigationPanel()!.templateRef" />
1132
+ </div>
1133
+ }
1268
1134
  </LayoutHorizontal>
1269
1135
  }
1270
1136
 
@@ -1282,31 +1148,32 @@ class BlockShellComponent {
1282
1148
 
1283
1149
  @default {
1284
1150
  <LayoutVertical>
1285
- <LayoutNavigation [landmarkRole]="null" [ariaLabel]="null">
1286
- <div
1287
- class="contents"
1288
- [hidden]="navigationPanelActive()"
1289
- [attr.inert]="navigationPanelActive() ? '' : null"
1290
- [attr.aria-hidden]="navigationPanelActive() ? 'true' : null"
1291
- >
1292
- <block-shell-sidebar-navigation
1293
- [navigation]="navigation()"
1294
- [shellName]="shellName()"
1295
- [brandSubtitle]="brandSubtitle()"
1296
- [logoText]="logoText()"
1297
- [homePath]="homePath()"
1298
- [userName]="userName()"
1299
- [userPosition]="userPosition()"
1300
- [userPhotoUrl]="userPhotoUrl()"
1301
- [ariaLabel]="sideAriaLabel()"
1302
- [footerActionTemplate]="footerAction()?.templateRef ?? null"
1303
- />
1304
- </div>
1151
+ @if (!isDesktopAppearance()) {
1152
+ <LayoutNavigation [landmarkRole]="null" [ariaLabel]="null">
1153
+ <div
1154
+ class="contents"
1155
+ [hidden]="navigationPanelActive()"
1156
+ [attr.inert]="navigationPanelActive() ? '' : null"
1157
+ [attr.aria-hidden]="navigationPanelActive() ? 'true' : null"
1158
+ >
1159
+ <block-shell-sidebar-navigation
1160
+ [navigation]="navigation()"
1161
+ [shellName]="shellName()"
1162
+ [logoText]="logoText()"
1163
+ [homePath]="homePath()"
1164
+ [userName]="userName()"
1165
+ [userPosition]="userPosition()"
1166
+ [userPhotoUrl]="userPhotoUrl()"
1167
+ [ariaLabel]="sideAriaLabel()"
1168
+ [footerActionTemplate]="footerAction()?.templateRef ?? null"
1169
+ />
1170
+ </div>
1305
1171
 
1306
- @if (navigationPanelActive()) {
1307
- <ng-container [ngTemplateOutlet]="navigationPanel()!.templateRef" />
1308
- }
1309
- </LayoutNavigation>
1172
+ @if (navigationPanelActive()) {
1173
+ <ng-container [ngTemplateOutlet]="navigationPanel()!.templateRef" />
1174
+ }
1175
+ </LayoutNavigation>
1176
+ }
1310
1177
 
1311
1178
  <LayoutContent
1312
1179
  data-block-shell-content
@@ -1319,7 +1186,7 @@ class BlockShellComponent {
1319
1186
  }
1320
1187
  }
1321
1188
  </Layout>
1322
- `, 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: ["landmarkRole", "ariaLabel", "railOffset", "class"] }, { kind: "component", type: LayoutContentComponent, selector: "LayoutContent", inputs: ["class"] }, { kind: "component", type: BlockShellSidebarNavigationComponent, selector: "block-shell-sidebar-navigation", inputs: ["navigation", "shellName", "brandSubtitle", "logoText", "homePath", "userName", "userPosition", "userPhotoUrl", "ariaLabel", "footerActionTemplate", "type"] }, { kind: "component", type: BlockShellTopNavigationComponent, selector: "block-shell-top-navigation", inputs: ["navigation", "shellName", "brandSubtitle", "logoText", "homePath", "userName", "userPosition", "userPhotoUrl", "ariaLabel", "type", "flyoutLabel"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
1189
+ `, isInline: true, dependencies: [{ kind: "component", type: LayoutComponent, selector: "Layout", inputs: ["surface", "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: ["landmarkRole", "ariaLabel", "railOffset", "class"] }, { kind: "component", type: LayoutContentComponent, selector: "LayoutContent", inputs: ["class"] }, { kind: "component", type: DesktopAppBarComponent, selector: "DesktopAppBar", inputs: ["class", "avatarInitials", "navigation", "platform"], outputs: ["windowControlRequested", "windowDragRequested", "navigationRequested", "flyoutRequested", "themeSettingsRequested", "avatarRequested"] }, { kind: "component", type: BlockShellSidebarNavigationComponent, selector: "block-shell-sidebar-navigation", inputs: ["navigation", "shellName", "logoText", "homePath", "userName", "userPosition", "userPhotoUrl", "ariaLabel", "footerActionTemplate", "type"] }, { kind: "component", type: BlockShellTopNavigationComponent, selector: "block-shell-top-navigation", inputs: ["navigation", "shellName", "logoText", "homePath", "userName", "userPosition", "userPhotoUrl", "footerActionTemplate", "ariaLabel", "type", "flyoutLabel"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
1323
1190
  }
1324
1191
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellComponent, decorators: [{
1325
1192
  type: Component,
@@ -1332,6 +1199,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
1332
1199
  LayoutEmptyComponent,
1333
1200
  LayoutNavigationComponent,
1334
1201
  LayoutContentComponent,
1202
+ DesktopAppBarComponent,
1335
1203
  BlockShellSidebarNavigationComponent,
1336
1204
  BlockShellTopNavigationComponent,
1337
1205
  NgTemplateOutlet,
@@ -1341,23 +1209,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
1341
1209
  class: 'contents',
1342
1210
  },
1343
1211
  template: `
1212
+ @if (isDesktopAppearance()) {
1213
+ <DesktopAppBar
1214
+ [platform]="desktopAppBarPlatform()"
1215
+ [navigation]="navigation()"
1216
+ (windowControlRequested)="onDesktopWindowControlRequested($event)"
1217
+ (windowDragRequested)="onDesktopWindowDragRequested()"
1218
+ (themeSettingsRequested)="desktopThemeSettingsRequested.emit()"
1219
+ />
1220
+ }
1221
+
1344
1222
  <Layout>
1345
1223
  @switch (layout.type()) {
1346
1224
  @case ('horizontal') {
1347
1225
  <LayoutHorizontal>
1348
- <LayoutNavigation [landmarkRole]="null" [ariaLabel]="null">
1349
- <block-shell-top-navigation
1350
- [navigation]="navigation()"
1351
- [shellName]="shellName()"
1352
- [brandSubtitle]="brandSubtitle()"
1353
- [logoText]="logoText()"
1354
- [homePath]="homePath()"
1355
- [userName]="userName()"
1356
- [userPosition]="userPosition()"
1357
- [userPhotoUrl]="userPhotoUrl()"
1358
- [ariaLabel]="topAriaLabel()"
1359
- />
1360
- </LayoutNavigation>
1226
+ @if (!isDesktopAppearance()) {
1227
+ <LayoutNavigation [landmarkRole]="null" [ariaLabel]="null">
1228
+ <block-shell-top-navigation
1229
+ [navigation]="navigation()"
1230
+ [shellName]="shellName()"
1231
+ [logoText]="logoText()"
1232
+ [homePath]="homePath()"
1233
+ [userName]="userName()"
1234
+ [userPosition]="userPosition()"
1235
+ [userPhotoUrl]="userPhotoUrl()"
1236
+ [ariaLabel]="topAriaLabel()"
1237
+ [footerActionTemplate]="footerAction()?.templateRef ?? null"
1238
+ />
1239
+ </LayoutNavigation>
1240
+ }
1361
1241
 
1362
1242
  <LayoutContent
1363
1243
  data-block-shell-content
@@ -1366,6 +1246,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
1366
1246
  >
1367
1247
  <router-outlet />
1368
1248
  </LayoutContent>
1249
+
1250
+ @if (navigationPanel()) {
1251
+ <div hidden aria-hidden="true" data-block-shell-overlay-panel>
1252
+ <ng-container [ngTemplateOutlet]="navigationPanel()!.templateRef" />
1253
+ </div>
1254
+ }
1369
1255
  </LayoutHorizontal>
1370
1256
  }
1371
1257
 
@@ -1383,31 +1269,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
1383
1269
 
1384
1270
  @default {
1385
1271
  <LayoutVertical>
1386
- <LayoutNavigation [landmarkRole]="null" [ariaLabel]="null">
1387
- <div
1388
- class="contents"
1389
- [hidden]="navigationPanelActive()"
1390
- [attr.inert]="navigationPanelActive() ? '' : null"
1391
- [attr.aria-hidden]="navigationPanelActive() ? 'true' : null"
1392
- >
1393
- <block-shell-sidebar-navigation
1394
- [navigation]="navigation()"
1395
- [shellName]="shellName()"
1396
- [brandSubtitle]="brandSubtitle()"
1397
- [logoText]="logoText()"
1398
- [homePath]="homePath()"
1399
- [userName]="userName()"
1400
- [userPosition]="userPosition()"
1401
- [userPhotoUrl]="userPhotoUrl()"
1402
- [ariaLabel]="sideAriaLabel()"
1403
- [footerActionTemplate]="footerAction()?.templateRef ?? null"
1404
- />
1405
- </div>
1272
+ @if (!isDesktopAppearance()) {
1273
+ <LayoutNavigation [landmarkRole]="null" [ariaLabel]="null">
1274
+ <div
1275
+ class="contents"
1276
+ [hidden]="navigationPanelActive()"
1277
+ [attr.inert]="navigationPanelActive() ? '' : null"
1278
+ [attr.aria-hidden]="navigationPanelActive() ? 'true' : null"
1279
+ >
1280
+ <block-shell-sidebar-navigation
1281
+ [navigation]="navigation()"
1282
+ [shellName]="shellName()"
1283
+ [logoText]="logoText()"
1284
+ [homePath]="homePath()"
1285
+ [userName]="userName()"
1286
+ [userPosition]="userPosition()"
1287
+ [userPhotoUrl]="userPhotoUrl()"
1288
+ [ariaLabel]="sideAriaLabel()"
1289
+ [footerActionTemplate]="footerAction()?.templateRef ?? null"
1290
+ />
1291
+ </div>
1406
1292
 
1407
- @if (navigationPanelActive()) {
1408
- <ng-container [ngTemplateOutlet]="navigationPanel()!.templateRef" />
1409
- }
1410
- </LayoutNavigation>
1293
+ @if (navigationPanelActive()) {
1294
+ <ng-container [ngTemplateOutlet]="navigationPanel()!.templateRef" />
1295
+ }
1296
+ </LayoutNavigation>
1297
+ }
1411
1298
 
1412
1299
  <LayoutContent
1413
1300
  data-block-shell-content
@@ -1422,7 +1309,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
1422
1309
  </Layout>
1423
1310
  `,
1424
1311
  }]
1425
- }], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], navbarId: [{ type: i0.Input, args: [{ isSignal: true, alias: "navbarId", required: false }] }], sidebarNavId: [{ type: i0.Input, args: [{ isSignal: true, alias: "sidebarNavId", 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 }] }], userPhotoUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPhotoUrl", required: false }] }], topAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "topAriaLabel", required: false }] }], sideAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideAriaLabel", required: false }] }], contentAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentAriaLabel", required: false }] }], navigationPanelOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigationPanelOpen", required: false }] }], navigationPanel: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BlockShellNavigationPanelDirective), { isSignal: true }] }], footerAction: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BlockShellNavigationFooterActionDirective), { isSignal: true }] }] } });
1312
+ }], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], navbarId: [{ type: i0.Input, args: [{ isSignal: true, alias: "navbarId", required: false }] }], sidebarNavId: [{ type: i0.Input, args: [{ isSignal: true, alias: "sidebarNavId", required: false }] }], shellName: [{ type: i0.Input, args: [{ isSignal: true, alias: "shellName", required: true }] }], 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 }] }], userPhotoUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPhotoUrl", required: false }] }], topAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "topAriaLabel", required: false }] }], sideAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideAriaLabel", required: false }] }], contentAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentAriaLabel", required: false }] }], navigationPanelOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigationPanelOpen", required: false }] }], desktopThemeSettingsRequested: [{ type: i0.Output, args: ["desktopThemeSettingsRequested"] }], navigationPanel: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BlockShellNavigationPanelDirective), { isSignal: true }] }], footerAction: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BlockShellNavigationFooterActionDirective), { isSignal: true }] }] } });
1426
1313
 
1427
1314
  const MAIN_SIDEBAR_NAV_ID = 'main';
1428
1315
  function workspaceNavbarId(workspace) {