@edsis/angular 22.0.67 → 22.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,6 +9,38 @@ Published entry points:
9
9
 
10
10
  The generated API SDK is published separately as `@edsis/sdk`.
11
11
 
12
+ ## `module/auth`: persistent cookie session
13
+
14
+ Configure the module once at application bootstrap. `provideEdsisAuth()` runs
15
+ `AuthService.initialize()` through `provideAppInitializer`, before initial
16
+ navigation and route guards. It restores a session with the HttpOnly refresh
17
+ cookie, while the access token is kept only in the running application's
18
+ memory.
19
+
20
+ ```ts
21
+ provideEdsisAuth({
22
+ apiUrl: environment.apiUrl,
23
+ appUrl: environment.appUrl,
24
+ });
25
+ ```
26
+
27
+ Use `AuthService` for password login/logout and its `user`, `accessToken`, and
28
+ `isAuthenticated` signals for UI state. The library calls `/api/auth/login`,
29
+ `/api/auth/refresh`, `/api/auth/me`, and `/api/auth/logout` with credentials.
30
+ The interceptor adds `withCredentials` and the in-memory bearer token to API
31
+ requests, coalesces concurrent 401 refreshes, retries once, and redirects to
32
+ the configured login route when refresh fails. It never writes authentication
33
+ tokens to `sessionStorage`, `localStorage`, or `document.cookie`.
34
+
35
+ For optional native notification badges, call
36
+ `setAuthNotificationBadge(unreadCount)`; it is a no-op in a normal browser
37
+ when `window.EDSIS_DESKTOP` is absent.
38
+
39
+ The persistent cookie belongs to the browser/WebView origin. Therefore a
40
+ production, development, and local build must use distinct origins; keeping an
41
+ origin and its WebView data directory stable preserves the session across a
42
+ Tauri restart or update.
43
+
12
44
  ## `module/auth`: Magic-link destination
13
45
 
14
46
  When the login form is submitted, the auth module sends the origin derived
@@ -75,9 +107,10 @@ cookie credentials automatically. The endpoint:
75
107
  3. responds with a session payload **identical** to `POST /v1/auth/verify`
76
108
  (`{ status, message, data: { access_token, user_id, role, name } }`).
77
109
 
78
- On success the callback page runs `persistSession` and redirects to
79
- `authenticatedHomePath`; on failure it shows the backend `message` when one is
80
- provided (with a retry link back to `loginPath`).
110
+ On success the callback page passes the response to `AuthService`, which keeps
111
+ the access token only in memory, then redirects to `authenticatedHomePath`; on
112
+ failure it shows the backend `message` when one is provided (with a retry link
113
+ back to `loginPath`).
81
114
 
82
115
  The endpoint definition comes from `openapi.bundle.yaml`; regenerate the SDK in
83
116
  `library/sdk` after spec changes with `bun run gen:sdk` (driven by
@@ -8,8 +8,6 @@ import { NavigationService } from '@edsis/navigation/service';
8
8
  import { AvatarBadgeComponent, AvatarComponent, AvatarFallbackComponent, AvatarImageComponent } from '@edsis/component/avatar';
9
9
  import { ButtonComponent } from '@edsis/component/button';
10
10
  import { cn } from '@edsis/component/class';
11
- import { IconComponent } from '@edsis/component/icon';
12
- import { PopoverContentDirective, PopoverTriggerDirective } from '@edsis/component/popover';
13
11
  import { AspectRatioComponent } from '@edsis/component/aspect-ratio';
14
12
  import { ThemeStyleService } from '@edsis/theme/styles';
15
13
 
@@ -403,25 +401,17 @@ class BlockShellNavigationHeaderComponent {
403
401
  /** Mengganti logo dan label dengan kontrol tiga titik khusus Desktop. */
404
402
  desktopControls = input(false, /* @ts-ignore */
405
403
  ...(ngDevMode ? [{ debugName: "desktopControls" }] : /* istanbul ignore next */ []));
406
- workspaceLinks = input([], /* @ts-ignore */
407
- ...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
408
404
  homeLinkAriaLabel = computed(() => `Buka ${this.name()}`, /* @ts-ignore */
409
405
  ...(ngDevMode ? [{ debugName: "homeLinkAriaLabel" }] : /* istanbul ignore next */ []));
410
- hasWorkspaceLinks = computed(() => this.workspaceLinks().length > 0, /* @ts-ignore */
411
- ...(ngDevMode ? [{ debugName: "hasWorkspaceLinks" }] : /* istanbul ignore next */ []));
412
- workspaceTriggerAriaLabel = computed(() => 'Buka daftar aplikasi', /* @ts-ignore */
413
- ...(ngDevMode ? [{ debugName: "workspaceTriggerAriaLabel" }] : /* istanbul ignore next */ []));
414
- isActiveWorkspace(path) {
415
- const activeHomePath = this.homePath();
416
- return path === activeHomePath || path.startsWith(`${activeHomePath}/`);
417
- }
418
406
  ngAfterViewInit() {
419
407
  this.documentRef.addEventListener('click', this.handleWindowControlClick);
420
408
  this.documentRef.addEventListener('pointerdown', this.handleWindowDragStart);
409
+ this.documentRef.addEventListener('dblclick', this.handleWindowDragAreaDoubleClick);
421
410
  }
422
411
  ngOnDestroy() {
423
412
  this.documentRef.removeEventListener('click', this.handleWindowControlClick);
424
413
  this.documentRef.removeEventListener('pointerdown', this.handleWindowDragStart);
414
+ this.documentRef.removeEventListener('dblclick', this.handleWindowDragAreaDoubleClick);
425
415
  }
426
416
  handleWindowControlClick = (event) => {
427
417
  if (!(event.target instanceof Element)) {
@@ -448,6 +438,16 @@ class BlockShellNavigationHeaderComponent {
448
438
  event.preventDefault();
449
439
  void this.startDragging(tauri.window.getCurrentWindow());
450
440
  };
441
+ handleWindowDragAreaDoubleClick = (event) => {
442
+ if (!(event.target instanceof Element) || !event.target.closest('[data-window-drag-area]')) {
443
+ return;
444
+ }
445
+ if (!this.tauri()) {
446
+ return;
447
+ }
448
+ event.preventDefault();
449
+ void this.emitWindowControl('toggle-maximize');
450
+ };
451
451
  isWindowControlAction(action) {
452
452
  return action !== null && WINDOW_CONTROL_ACTIONS.has(action);
453
453
  }
@@ -476,33 +476,7 @@ class BlockShellNavigationHeaderComponent {
476
476
  }
477
477
  }
478
478
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: BlockShellNavigationHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
479
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", 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 }, workspaceLinks: { classPropertyName: "workspaceLinks", publicName: "workspaceLinks", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
480
- <ng-template PopoverContent #workspaceSwitcher="PopoverContent">
481
- <div
482
- data-block-shell-workspace-panel
483
- class="w-72 space-y-1 rounded-none border border-border bg-popover p-2 text-popover-foreground shadow-lg"
484
- >
485
- @for (workspace of workspaceLinks(); track workspace.id) {
486
- <a
487
- [routerLink]="workspace.path"
488
- [attr.aria-current]="isActiveWorkspace(workspace.path) ? 'page' : null"
489
- [attr.data-block-shell-workspace-link]="workspace.id"
490
- class="block rounded-lg border px-3 py-2 transition-colors"
491
- [class.border-primary]="isActiveWorkspace(workspace.path)"
492
- [class.bg-primary/5]="isActiveWorkspace(workspace.path)"
493
- [class.text-foreground]="isActiveWorkspace(workspace.path)"
494
- [class.border-transparent]="!isActiveWorkspace(workspace.path)"
495
- [class.hover:bg-muted]="!isActiveWorkspace(workspace.path)"
496
- >
497
- <span class="block text-sm font-semibold tracking-tight">{{ workspace.label }}</span>
498
- <span class="mt-1 block text-xs text-muted-foreground">{{
499
- workspace.description
500
- }}</span>
501
- </a>
502
- }
503
- </div>
504
- </ng-template>
505
-
479
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", 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: `
506
480
  @if (desktopControls()) {
507
481
  <div
508
482
  data-block-shell-desktop-titlebar
@@ -544,40 +518,10 @@ class BlockShellNavigationHeaderComponent {
544
518
  ></button>
545
519
  </div>
546
520
 
547
- <button
548
- Button
549
- type="button"
550
- variant="ghost"
551
- size="icon-lg"
552
- [PopoverTrigger]="workspaceSwitcher"
553
- side="bottom"
554
- align="start"
555
- [disabled]="!hasWorkspaceLinks()"
556
- [attr.aria-label]="workspaceTriggerAriaLabel()"
557
- [attr.title]="workspaceTriggerAriaLabel()"
558
- data-block-shell-desktop-workspace-trigger
559
- class="relative size-11 rounded-base hover:bg-transparent! before:pointer-events-none before:absolute before:z-0 before:inset-1.5 before:rounded-base before:bg-transparent before:content-[''] before:transition-colors hover:before:bg-muted"
560
- >
561
- <Icon name="dashboard_customize" [size]="20" class="relative z-10" />
562
- </button>
563
521
  </div>
564
522
  } @else if (collapsible()) {
565
523
  <div NavigationCollapseRoot class="flex items-center gap-3">
566
- @if (hasWorkspaceLinks()) {
567
- <button
568
- type="button"
569
- [PopoverTrigger]="workspaceSwitcher"
570
- side="bottom"
571
- align="start"
572
- [attr.aria-label]="workspaceTriggerAriaLabel()"
573
- data-block-shell-workspace-trigger
574
- class="shrink-0 rounded-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
575
- >
576
- <block-shell-logo [text]="logoText()" />
577
- </button>
578
- } @else {
579
- <block-shell-logo [text]="logoText()" />
580
- }
524
+ <block-shell-logo [text]="logoText()" />
581
525
 
582
526
  <div *NavigationCollapseExpanded class="min-w-0 flex-1">
583
527
  <a
@@ -597,21 +541,7 @@ class BlockShellNavigationHeaderComponent {
597
541
  </div>
598
542
  } @else {
599
543
  <div class="flex items-center gap-3">
600
- @if (hasWorkspaceLinks()) {
601
- <button
602
- type="button"
603
- [PopoverTrigger]="workspaceSwitcher"
604
- side="bottom"
605
- align="start"
606
- [attr.aria-label]="workspaceTriggerAriaLabel()"
607
- data-block-shell-workspace-trigger
608
- class="shrink-0 rounded-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
609
- >
610
- <block-shell-logo [text]="logoText()" />
611
- </button>
612
- } @else {
613
- <block-shell-logo [text]="logoText()" />
614
- }
544
+ <block-shell-logo [text]="logoText()" />
615
545
 
616
546
  <a
617
547
  [routerLink]="homePath()"
@@ -627,7 +557,7 @@ class BlockShellNavigationHeaderComponent {
627
557
  </a>
628
558
  </div>
629
559
  }
630
- `, 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: ButtonComponent, selector: "button[Button], a[Button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: IconComponent, selector: "Icon", inputs: ["name", "class", "size", "fill", "weight", "grade", "opticalSize"] }, { kind: "directive", type: PopoverContentDirective, selector: "ng-template[PopoverContent]", exportAs: ["PopoverContent"] }, { kind: "directive", type: PopoverTriggerDirective, selector: "[PopoverTrigger]", inputs: ["PopoverTrigger", "side", "align", "sideOffset", "disabled"], outputs: ["openedChange"], exportAs: ["PopoverTrigger"] }, { kind: "component", type: BlockShellLogoComponent, selector: "block-shell-logo", inputs: ["text", "homePath", "ariaLabel"] }, { kind: "component", type: BlockShellNavigationMetaComponent, selector: "block-shell-navigation-meta", inputs: ["name", "subtitle", "containerClass", "subtitleClass", "hideSubtitle"] }] });
560
+ `, 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"] }] });
631
561
  }
632
562
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: BlockShellNavigationHeaderComponent, decorators: [{
633
563
  type: Component,
@@ -637,10 +567,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
637
567
  NavigationCollapseRootDirective,
638
568
  NavigationCollapseExpandedDirective,
639
569
  RouterLink,
640
- ButtonComponent,
641
- IconComponent,
642
- PopoverContentDirective,
643
- PopoverTriggerDirective,
644
570
  BlockShellLogoComponent,
645
571
  BlockShellNavigationMetaComponent,
646
572
  ],
@@ -648,32 +574,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
648
574
  class: 'contents',
649
575
  },
650
576
  template: `
651
- <ng-template PopoverContent #workspaceSwitcher="PopoverContent">
652
- <div
653
- data-block-shell-workspace-panel
654
- class="w-72 space-y-1 rounded-none border border-border bg-popover p-2 text-popover-foreground shadow-lg"
655
- >
656
- @for (workspace of workspaceLinks(); track workspace.id) {
657
- <a
658
- [routerLink]="workspace.path"
659
- [attr.aria-current]="isActiveWorkspace(workspace.path) ? 'page' : null"
660
- [attr.data-block-shell-workspace-link]="workspace.id"
661
- class="block rounded-lg border px-3 py-2 transition-colors"
662
- [class.border-primary]="isActiveWorkspace(workspace.path)"
663
- [class.bg-primary/5]="isActiveWorkspace(workspace.path)"
664
- [class.text-foreground]="isActiveWorkspace(workspace.path)"
665
- [class.border-transparent]="!isActiveWorkspace(workspace.path)"
666
- [class.hover:bg-muted]="!isActiveWorkspace(workspace.path)"
667
- >
668
- <span class="block text-sm font-semibold tracking-tight">{{ workspace.label }}</span>
669
- <span class="mt-1 block text-xs text-muted-foreground">{{
670
- workspace.description
671
- }}</span>
672
- </a>
673
- }
674
- </div>
675
- </ng-template>
676
-
677
577
  @if (desktopControls()) {
678
578
  <div
679
579
  data-block-shell-desktop-titlebar
@@ -715,40 +615,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
715
615
  ></button>
716
616
  </div>
717
617
 
718
- <button
719
- Button
720
- type="button"
721
- variant="ghost"
722
- size="icon-lg"
723
- [PopoverTrigger]="workspaceSwitcher"
724
- side="bottom"
725
- align="start"
726
- [disabled]="!hasWorkspaceLinks()"
727
- [attr.aria-label]="workspaceTriggerAriaLabel()"
728
- [attr.title]="workspaceTriggerAriaLabel()"
729
- data-block-shell-desktop-workspace-trigger
730
- class="relative size-11 rounded-base hover:bg-transparent! before:pointer-events-none before:absolute before:z-0 before:inset-1.5 before:rounded-base before:bg-transparent before:content-[''] before:transition-colors hover:before:bg-muted"
731
- >
732
- <Icon name="dashboard_customize" [size]="20" class="relative z-10" />
733
- </button>
734
618
  </div>
735
619
  } @else if (collapsible()) {
736
620
  <div NavigationCollapseRoot class="flex items-center gap-3">
737
- @if (hasWorkspaceLinks()) {
738
- <button
739
- type="button"
740
- [PopoverTrigger]="workspaceSwitcher"
741
- side="bottom"
742
- align="start"
743
- [attr.aria-label]="workspaceTriggerAriaLabel()"
744
- data-block-shell-workspace-trigger
745
- class="shrink-0 rounded-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
746
- >
747
- <block-shell-logo [text]="logoText()" />
748
- </button>
749
- } @else {
750
- <block-shell-logo [text]="logoText()" />
751
- }
621
+ <block-shell-logo [text]="logoText()" />
752
622
 
753
623
  <div *NavigationCollapseExpanded class="min-w-0 flex-1">
754
624
  <a
@@ -768,21 +638,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
768
638
  </div>
769
639
  } @else {
770
640
  <div class="flex items-center gap-3">
771
- @if (hasWorkspaceLinks()) {
772
- <button
773
- type="button"
774
- [PopoverTrigger]="workspaceSwitcher"
775
- side="bottom"
776
- align="start"
777
- [attr.aria-label]="workspaceTriggerAriaLabel()"
778
- data-block-shell-workspace-trigger
779
- class="shrink-0 rounded-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
780
- >
781
- <block-shell-logo [text]="logoText()" />
782
- </button>
783
- } @else {
784
- <block-shell-logo [text]="logoText()" />
785
- }
641
+ <block-shell-logo [text]="logoText()" />
786
642
 
787
643
  <a
788
644
  [routerLink]="homePath()"
@@ -800,7 +656,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
800
656
  }
801
657
  `,
802
658
  }]
803
- }], 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 }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }] } });
659
+ }], 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 }] }] } });
804
660
 
805
661
  class BlockShellSidebarNavigationComponent {
806
662
  documentRef = inject(DOCUMENT);
@@ -809,8 +665,6 @@ class BlockShellSidebarNavigationComponent {
809
665
  layout = inject(LayoutService);
810
666
  navigation = input.required(/* @ts-ignore */
811
667
  ...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
812
- workspaceLinks = input([], /* @ts-ignore */
813
- ...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
814
668
  shellName = input.required(/* @ts-ignore */
815
669
  ...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
816
670
  brandSubtitle = input('Etos Indonusa', /* @ts-ignore */
@@ -884,7 +738,7 @@ class BlockShellSidebarNavigationComponent {
884
738
  return this.documentRef.defaultView?.matchMedia('(max-width: 767.98px)').matches ?? false;
885
739
  }
886
740
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: BlockShellSidebarNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
887
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: BlockShellSidebarNavigationComponent, isStandalone: true, selector: "block-shell-sidebar-navigation", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, workspaceLinks: { classPropertyName: "workspaceLinks", publicName: "workspaceLinks", isSignal: true, isRequired: false, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", isSignal: true, isRequired: true, transformFunction: null }, brandSubtitle: { classPropertyName: "brandSubtitle", publicName: "brandSubtitle", isSignal: true, isRequired: false, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, 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: `
741
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", 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: `
888
742
  <Navigation
889
743
  id="main"
890
744
  [data]="navigation()"
@@ -902,7 +756,6 @@ class BlockShellSidebarNavigationComponent {
902
756
  [logoText]="logoText()"
903
757
  [homePath]="homePath()"
904
758
  [collapsible]="true"
905
- [workspaceLinks]="workspaceLinks()"
906
759
  />
907
760
  </NavigationHeader>
908
761
  }
@@ -968,7 +821,6 @@ class BlockShellSidebarNavigationComponent {
968
821
  [logoText]="logoText()"
969
822
  [homePath]="homePath()"
970
823
  [collapsible]="true"
971
- [workspaceLinks]="workspaceLinks()"
972
824
  />
973
825
  </NavigationHeader>
974
826
 
@@ -984,7 +836,7 @@ class BlockShellSidebarNavigationComponent {
984
836
  </NavigationSidebar>
985
837
  }
986
838
  </Navigation>
987
- `, 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", "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", "workspaceLinks"] }, { 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"] }] });
839
+ `, 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"] }] });
988
840
  }
989
841
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: BlockShellSidebarNavigationComponent, decorators: [{
990
842
  type: Component,
@@ -1026,7 +878,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1026
878
  [logoText]="logoText()"
1027
879
  [homePath]="homePath()"
1028
880
  [collapsible]="true"
1029
- [workspaceLinks]="workspaceLinks()"
1030
881
  />
1031
882
  </NavigationHeader>
1032
883
  }
@@ -1092,7 +943,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1092
943
  [logoText]="logoText()"
1093
944
  [homePath]="homePath()"
1094
945
  [collapsible]="true"
1095
- [workspaceLinks]="workspaceLinks()"
1096
946
  />
1097
947
  </NavigationHeader>
1098
948
 
@@ -1110,7 +960,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1110
960
  </Navigation>
1111
961
  `,
1112
962
  }]
1113
- }], ctorParameters: () => [], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }], shellName: [{ type: i0.Input, args: [{ isSignal: true, alias: "shellName", required: true }] }], brandSubtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandSubtitle", required: false }] }], logoText: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoText", required: false }] }], homePath: [{ type: i0.Input, args: [{ isSignal: true, alias: "homePath", required: false }] }], userName: [{ type: i0.Input, args: [{ isSignal: true, alias: "userName", required: true }] }], userPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPosition", required: true }] }], 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 }] }] } });
963
+ }], 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 }] }] } });
1114
964
 
1115
965
  const DESKTOP_NAV_CONTROL_SIZE = 'size-11';
1116
966
  const DESKTOP_FLYOUT_ICON_SIZE = 20;
@@ -1120,8 +970,6 @@ class BlockShellTopNavigationComponent {
1120
970
  themeStyle = inject(ThemeStyleService);
1121
971
  navigation = input.required(/* @ts-ignore */
1122
972
  ...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
1123
- workspaceLinks = input([], /* @ts-ignore */
1124
- ...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
1125
973
  shellName = input.required(/* @ts-ignore */
1126
974
  ...(ngDevMode ? [{ debugName: "shellName" }] : /* istanbul ignore next */ []));
1127
975
  brandSubtitle = input('Etos Indonusa', /* @ts-ignore */
@@ -1180,7 +1028,7 @@ class BlockShellTopNavigationComponent {
1180
1028
  desktopAvatarButtonLabel = computed(() => `User menu: ${this.userName()}`, /* @ts-ignore */
1181
1029
  ...(ngDevMode ? [{ debugName: "desktopAvatarButtonLabel" }] : /* istanbul ignore next */ []));
1182
1030
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: BlockShellTopNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1183
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: BlockShellTopNavigationComponent, isStandalone: true, selector: "block-shell-top-navigation", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, workspaceLinks: { classPropertyName: "workspaceLinks", publicName: "workspaceLinks", isSignal: true, isRequired: false, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", isSignal: true, isRequired: true, transformFunction: null }, brandSubtitle: { classPropertyName: "brandSubtitle", publicName: "brandSubtitle", isSignal: true, isRequired: false, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, 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: `
1031
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", 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: `
1184
1032
  <Navigation
1185
1033
  id="main"
1186
1034
  [data]="navigation()"
@@ -1200,7 +1048,7 @@ class BlockShellTopNavigationComponent {
1200
1048
  [icon-size]="desktopFlyoutIconSize()"
1201
1049
  [nav-type-style]="navTypeStyle()"
1202
1050
  >
1203
- <NavigationHeader>
1051
+ <NavigationHeader [navigation-history]="true">
1204
1052
  <block-shell-navigation-header
1205
1053
  [name]="shellName()"
1206
1054
  [subtitle]="brandSubtitle()"
@@ -1208,7 +1056,6 @@ class BlockShellTopNavigationComponent {
1208
1056
  [homePath]="homePath()"
1209
1057
  [titleOnly]="isDesktopTheme()"
1210
1058
  [desktopControls]="isDesktopTheme()"
1211
- [workspaceLinks]="workspaceLinks()"
1212
1059
  />
1213
1060
  </NavigationHeader>
1214
1061
 
@@ -1232,13 +1079,12 @@ class BlockShellTopNavigationComponent {
1232
1079
  </NavigationFlyout>
1233
1080
  } @else {
1234
1081
  <NavigationNavbar [nav-type-style]="navTypeStyle()">
1235
- <NavigationHeader>
1082
+ <NavigationHeader [navigation-history]="true">
1236
1083
  <block-shell-navigation-header
1237
1084
  [name]="shellName()"
1238
1085
  [subtitle]="brandSubtitle()"
1239
1086
  [logoText]="logoText()"
1240
1087
  [homePath]="homePath()"
1241
- [workspaceLinks]="workspaceLinks()"
1242
1088
  />
1243
1089
  </NavigationHeader>
1244
1090
 
@@ -1254,7 +1100,7 @@ class BlockShellTopNavigationComponent {
1254
1100
  </NavigationNavbar>
1255
1101
  }
1256
1102
  </Navigation>
1257
- `, 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", "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", "workspaceLinks"] }, { kind: "component", type: BlockShellNavigationFooterComponent, selector: "block-shell-navigation-footer", inputs: ["name", "subtitle", "initials", "photoUrl", "collapsible", "desktopOnly", "avatarRadiusClass", "showMeta", "avatarButton", "avatarButtonLabel", "avatarOnline", "actionTemplate"] }] });
1103
+ `, 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"] }] });
1258
1104
  }
1259
1105
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: BlockShellTopNavigationComponent, decorators: [{
1260
1106
  type: Component,
@@ -1293,7 +1139,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1293
1139
  [icon-size]="desktopFlyoutIconSize()"
1294
1140
  [nav-type-style]="navTypeStyle()"
1295
1141
  >
1296
- <NavigationHeader>
1142
+ <NavigationHeader [navigation-history]="true">
1297
1143
  <block-shell-navigation-header
1298
1144
  [name]="shellName()"
1299
1145
  [subtitle]="brandSubtitle()"
@@ -1301,7 +1147,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1301
1147
  [homePath]="homePath()"
1302
1148
  [titleOnly]="isDesktopTheme()"
1303
1149
  [desktopControls]="isDesktopTheme()"
1304
- [workspaceLinks]="workspaceLinks()"
1305
1150
  />
1306
1151
  </NavigationHeader>
1307
1152
 
@@ -1325,13 +1170,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1325
1170
  </NavigationFlyout>
1326
1171
  } @else {
1327
1172
  <NavigationNavbar [nav-type-style]="navTypeStyle()">
1328
- <NavigationHeader>
1173
+ <NavigationHeader [navigation-history]="true">
1329
1174
  <block-shell-navigation-header
1330
1175
  [name]="shellName()"
1331
1176
  [subtitle]="brandSubtitle()"
1332
1177
  [logoText]="logoText()"
1333
1178
  [homePath]="homePath()"
1334
- [workspaceLinks]="workspaceLinks()"
1335
1179
  />
1336
1180
  </NavigationHeader>
1337
1181
 
@@ -1349,7 +1193,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1349
1193
  </Navigation>
1350
1194
  `,
1351
1195
  }]
1352
- }], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }], shellName: [{ type: i0.Input, args: [{ isSignal: true, alias: "shellName", required: true }] }], brandSubtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandSubtitle", required: false }] }], logoText: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoText", required: false }] }], homePath: [{ type: i0.Input, args: [{ isSignal: true, alias: "homePath", required: false }] }], userName: [{ type: i0.Input, args: [{ isSignal: true, alias: "userName", required: true }] }], userPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "userPosition", required: true }] }], 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 }] }] } });
1196
+ }], 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 }] }] } });
1353
1197
 
1354
1198
  class BlockShellNavigationPanelDirective {
1355
1199
  templateRef = inject((TemplateRef));
@@ -1374,8 +1218,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1374
1218
  class BlockShellComponent {
1375
1219
  navigation = input.required(/* @ts-ignore */
1376
1220
  ...(ngDevMode ? [{ debugName: "navigation" }] : /* istanbul ignore next */ []));
1377
- workspaceLinks = input([], /* @ts-ignore */
1378
- ...(ngDevMode ? [{ debugName: "workspaceLinks" }] : /* istanbul ignore next */ []));
1379
1221
  /**
1380
1222
  * @deprecated Tidak lagi dipakai. Navigasi utama shell selalu memakai id `main`
1381
1223
  * (lihat NavigationService — id `main` dikhususkan untuk navigasi utama layout/shell).
@@ -1416,7 +1258,7 @@ class BlockShellComponent {
1416
1258
  navigationPanelActive = computed(() => this.layout.type() === 'vertical' && this.navigationPanelOpen() && !!this.navigationPanel(), /* @ts-ignore */
1417
1259
  ...(ngDevMode ? [{ debugName: "navigationPanelActive" }] : /* istanbul ignore next */ []));
1418
1260
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: BlockShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1419
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: BlockShellComponent, isStandalone: true, selector: "block-shell", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, workspaceLinks: { classPropertyName: "workspaceLinks", publicName: "workspaceLinks", isSignal: true, isRequired: false, transformFunction: null }, navbarId: { classPropertyName: "navbarId", publicName: "navbarId", isSignal: true, isRequired: false, transformFunction: null }, sidebarNavId: { classPropertyName: "sidebarNavId", publicName: "sidebarNavId", isSignal: true, isRequired: false, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", isSignal: true, isRequired: true, transformFunction: null }, brandSubtitle: { classPropertyName: "brandSubtitle", publicName: "brandSubtitle", isSignal: true, isRequired: false, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, 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: `
1261
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", 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: `
1420
1262
  <Layout>
1421
1263
  @switch (layout.type()) {
1422
1264
  @case ('horizontal') {
@@ -1424,7 +1266,6 @@ class BlockShellComponent {
1424
1266
  <LayoutNavigation [landmarkRole]="null" [ariaLabel]="null">
1425
1267
  <block-shell-top-navigation
1426
1268
  [navigation]="navigation()"
1427
- [workspaceLinks]="workspaceLinks()"
1428
1269
  [shellName]="shellName()"
1429
1270
  [brandSubtitle]="brandSubtitle()"
1430
1271
  [logoText]="logoText()"
@@ -1469,7 +1310,6 @@ class BlockShellComponent {
1469
1310
  >
1470
1311
  <block-shell-sidebar-navigation
1471
1312
  [navigation]="navigation()"
1472
- [workspaceLinks]="workspaceLinks()"
1473
1313
  [shellName]="shellName()"
1474
1314
  [brandSubtitle]="brandSubtitle()"
1475
1315
  [logoText]="logoText()"
@@ -1498,7 +1338,7 @@ class BlockShellComponent {
1498
1338
  }
1499
1339
  }
1500
1340
  </Layout>
1501
- `, 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", "workspaceLinks", "shellName", "brandSubtitle", "logoText", "homePath", "userName", "userPosition", "userPhotoUrl", "ariaLabel", "footerActionTemplate", "type"] }, { kind: "component", type: BlockShellTopNavigationComponent, selector: "block-shell-top-navigation", inputs: ["navigation", "workspaceLinks", "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"] }] });
1341
+ `, 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"] }] });
1502
1342
  }
1503
1343
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: BlockShellComponent, decorators: [{
1504
1344
  type: Component,
@@ -1527,7 +1367,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1527
1367
  <LayoutNavigation [landmarkRole]="null" [ariaLabel]="null">
1528
1368
  <block-shell-top-navigation
1529
1369
  [navigation]="navigation()"
1530
- [workspaceLinks]="workspaceLinks()"
1531
1370
  [shellName]="shellName()"
1532
1371
  [brandSubtitle]="brandSubtitle()"
1533
1372
  [logoText]="logoText()"
@@ -1572,7 +1411,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1572
1411
  >
1573
1412
  <block-shell-sidebar-navigation
1574
1413
  [navigation]="navigation()"
1575
- [workspaceLinks]="workspaceLinks()"
1576
1414
  [shellName]="shellName()"
1577
1415
  [brandSubtitle]="brandSubtitle()"
1578
1416
  [logoText]="logoText()"
@@ -1603,7 +1441,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1603
1441
  </Layout>
1604
1442
  `,
1605
1443
  }]
1606
- }], propDecorators: { navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: true }] }], workspaceLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "workspaceLinks", required: false }] }], 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 }] }] } });
1444
+ }], 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 }] }] } });
1607
1445
 
1608
1446
  const MAIN_SIDEBAR_NAV_ID = 'main';
1609
1447
  function workspaceNavbarId(workspace) {