@edsis/angular 22.2.10 → 22.2.12

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.
Files changed (112) hide show
  1. package/component/icon/README.md +17 -0
  2. package/fesm2022/edsis-angular-chart-area.mjs +3 -3
  3. package/fesm2022/edsis-angular-chart-bar.mjs +3 -3
  4. package/fesm2022/edsis-angular-chart-core.mjs +34 -34
  5. package/fesm2022/edsis-angular-chart-line.mjs +3 -3
  6. package/fesm2022/edsis-angular-chart-pie.mjs +3 -3
  7. package/fesm2022/edsis-angular-chart-primitives.mjs +33 -33
  8. package/fesm2022/edsis-angular-chart-radar.mjs +3 -3
  9. package/fesm2022/edsis-angular-chart-radial.mjs +3 -3
  10. package/fesm2022/edsis-angular-chart-scatter.mjs +3 -3
  11. package/fesm2022/edsis-angular-component-accordion.mjs +15 -15
  12. package/fesm2022/edsis-angular-component-alert-dialog.mjs +27 -27
  13. package/fesm2022/edsis-angular-component-alert.mjs +12 -12
  14. package/fesm2022/edsis-angular-component-aspect-ratio.mjs +3 -3
  15. package/fesm2022/edsis-angular-component-avatar.mjs +18 -18
  16. package/fesm2022/edsis-angular-component-badge.mjs +3 -3
  17. package/fesm2022/edsis-angular-component-breadcrumb.mjs +21 -21
  18. package/fesm2022/edsis-angular-component-button-group.mjs +9 -9
  19. package/fesm2022/edsis-angular-component-button.mjs +3 -3
  20. package/fesm2022/edsis-angular-component-calendar.mjs +3 -3
  21. package/fesm2022/edsis-angular-component-card.mjs +21 -21
  22. package/fesm2022/edsis-angular-component-carousel.mjs +18 -18
  23. package/fesm2022/edsis-angular-component-checkbox.mjs +3 -3
  24. package/fesm2022/edsis-angular-component-collapsible.mjs +12 -12
  25. package/fesm2022/edsis-angular-component-combobox.mjs +3 -3
  26. package/fesm2022/edsis-angular-component-command.mjs +27 -27
  27. package/fesm2022/edsis-angular-component-composer.mjs +21 -21
  28. package/fesm2022/edsis-angular-component-context-menu.mjs +3 -3
  29. package/fesm2022/edsis-angular-component-date-picker.mjs +3 -3
  30. package/fesm2022/edsis-angular-component-dialog.mjs +21 -21
  31. package/fesm2022/edsis-angular-component-dropdown-menu.mjs +39 -39
  32. package/fesm2022/edsis-angular-component-editor.mjs +18 -18
  33. package/fesm2022/edsis-angular-component-empty.mjs +18 -18
  34. package/fesm2022/edsis-angular-component-form.mjs +36 -36
  35. package/fesm2022/edsis-angular-component-hover-card.mjs +9 -9
  36. package/fesm2022/edsis-angular-component-icon.mjs +6 -6
  37. package/fesm2022/edsis-angular-component-input-group.mjs +18 -18
  38. package/fesm2022/edsis-angular-component-input-otp.mjs +15 -15
  39. package/fesm2022/edsis-angular-component-input.mjs +3 -3
  40. package/fesm2022/edsis-angular-component-item.mjs +30 -30
  41. package/fesm2022/edsis-angular-component-kanban.mjs +27 -27
  42. package/fesm2022/edsis-angular-component-kbd.mjs +6 -6
  43. package/fesm2022/edsis-angular-component-label.mjs +3 -3
  44. package/fesm2022/edsis-angular-component-menubar.mjs +12 -12
  45. package/fesm2022/edsis-angular-component-native-select.mjs +9 -9
  46. package/fesm2022/edsis-angular-component-navigation-menu.mjs +21 -21
  47. package/fesm2022/edsis-angular-component-pagination.mjs +3 -3
  48. package/fesm2022/edsis-angular-component-pillbox.mjs +15 -15
  49. package/fesm2022/edsis-angular-component-popover.mjs +6 -6
  50. package/fesm2022/edsis-angular-component-progress.mjs +3 -3
  51. package/fesm2022/edsis-angular-component-radio.mjs +6 -6
  52. package/fesm2022/edsis-angular-component-resizable.mjs +12 -12
  53. package/fesm2022/edsis-angular-component-scroll-area.mjs +3 -3
  54. package/fesm2022/edsis-angular-component-segmented-control.mjs +9 -7
  55. package/fesm2022/edsis-angular-component-select.mjs +6 -6
  56. package/fesm2022/edsis-angular-component-separator.mjs +3 -3
  57. package/fesm2022/edsis-angular-component-sheet.mjs +32 -24
  58. package/fesm2022/edsis-angular-component-skeleton.mjs +3 -3
  59. package/fesm2022/edsis-angular-component-slider.mjs +6 -6
  60. package/fesm2022/edsis-angular-component-spinner.mjs +3 -3
  61. package/fesm2022/edsis-angular-component-switch.mjs +3 -3
  62. package/fesm2022/edsis-angular-component-table.mjs +24 -24
  63. package/fesm2022/edsis-angular-component-tabs.mjs +18 -18
  64. package/fesm2022/edsis-angular-component-textarea.mjs +3 -3
  65. package/fesm2022/edsis-angular-component-timeline.mjs +18 -18
  66. package/fesm2022/edsis-angular-component-toast.mjs +3 -3
  67. package/fesm2022/edsis-angular-component-toggle-group.mjs +9 -9
  68. package/fesm2022/edsis-angular-component-toggle.mjs +3 -3
  69. package/fesm2022/edsis-angular-component-tooltip.mjs +15 -15
  70. package/fesm2022/edsis-angular-component-utils-core.mjs +420 -4
  71. package/fesm2022/edsis-angular-component-utils-scale.mjs +3 -3
  72. package/fesm2022/edsis-angular-navigation-icon.mjs +3 -3
  73. package/fesm2022/{edsis-angular-navigation-navigation-badge-count.component-D70Ju6_f.mjs → edsis-angular-navigation-navigation-badge-count.component-CLXtMyMX.mjs} +3 -3
  74. package/fesm2022/{edsis-angular-navigation-navigation-dockbar-menu.component-BaFnh48V.mjs → edsis-angular-navigation-navigation-dockbar-menu.component-CSXPm1pJ.mjs} +41 -10
  75. package/fesm2022/{edsis-angular-navigation-navigation-entry-grid.component-D39W0FQZ.mjs → edsis-angular-navigation-navigation-entry-grid.component-BJgfe_dF.mjs} +71 -24
  76. package/fesm2022/{edsis-angular-navigation-navigation-flyout-menu.component-CpmsY8hb.mjs → edsis-angular-navigation-navigation-flyout-menu.component-CacQc46w.mjs} +28 -10
  77. package/fesm2022/{edsis-angular-navigation-navigation-horizontal.component-D35IfX6r.mjs → edsis-angular-navigation-navigation-horizontal.component-B30vIs1R.mjs} +10 -8
  78. package/fesm2022/{edsis-angular-navigation-navigation-item.component-X6JFy-ya.mjs → edsis-angular-navigation-navigation-item.component-ByQVStr8.mjs} +188 -56
  79. package/fesm2022/{edsis-angular-navigation-navigation-list.component-D6Ms8H5g.mjs → edsis-angular-navigation-navigation-list.component-R-2HuZnv.mjs} +24 -4
  80. package/fesm2022/edsis-angular-navigation-service.mjs +7 -7
  81. package/fesm2022/edsis-angular-navigation.mjs +119 -71
  82. package/fesm2022/edsis-angular-theme-component-settings.mjs +329 -69
  83. package/fesm2022/edsis-angular-theme-layout-services.mjs +7 -7
  84. package/fesm2022/edsis-angular-theme-layout-wrapper.mjs +83 -35
  85. package/fesm2022/edsis-angular-theme-layout.mjs +25 -25
  86. package/fesm2022/edsis-angular-theme-on-fill.mjs +3 -3
  87. package/fesm2022/edsis-angular-theme-page-core.mjs +3 -3
  88. package/fesm2022/edsis-angular-theme-page-filter.mjs +6 -6
  89. package/fesm2022/edsis-angular-theme-page-overview.mjs +3 -3
  90. package/fesm2022/edsis-angular-theme-page-root.mjs +15 -6
  91. package/fesm2022/edsis-angular-theme-page-side.mjs +6 -6
  92. package/fesm2022/edsis-angular-theme-page-slots.mjs +12 -12
  93. package/fesm2022/edsis-angular-theme-shell-services.mjs +4 -4
  94. package/fesm2022/edsis-angular-theme-shell.mjs +21 -12
  95. package/fesm2022/edsis-angular-theme-styles.mjs +109 -178
  96. package/navigation/README.md +32 -2
  97. package/package.json +3 -2
  98. package/theme/README.md +5 -0
  99. package/theme/component/settings/README.md +15 -0
  100. package/theme/styles/README.md +71 -1
  101. package/theme/styles/css/base/components.css +29 -75
  102. package/theme/styles/css/base/theme.css +3 -3
  103. package/theme/styles/css/base/tokens.css +8 -0
  104. package/types/edsis-angular-component-card.d.ts +1 -1
  105. package/types/edsis-angular-component-command.d.ts +1 -1
  106. package/types/edsis-angular-component-segmented-control.d.ts +3 -3
  107. package/types/edsis-angular-component-utils-core.d.ts +147 -3
  108. package/types/edsis-angular-navigation-types.d.ts +2 -0
  109. package/types/edsis-angular-navigation.d.ts +8 -1
  110. package/types/edsis-angular-theme-component-settings.d.ts +11 -3
  111. package/types/edsis-angular-theme-layout-wrapper.d.ts +9 -2
  112. package/types/edsis-angular-theme-styles.d.ts +30 -26
@@ -1,11 +1,11 @@
1
- import { i as hasNavigationCountBadge, s as navigationDescendantBadgeSources, t as NavigationBadgeCountComponent } from "./edsis-angular-navigation-navigation-badge-count.component-D70Ju6_f.mjs";
1
+ import { i as hasNavigationCountBadge, s as navigationDescendantBadgeSources, t as NavigationBadgeCountComponent } from "./edsis-angular-navigation-navigation-badge-count.component-CLXtMyMX.mjs";
2
2
  import * as i0 from "@angular/core";
3
3
  import { Component, InjectionToken, computed, inject, input, output, signal } from "@angular/core";
4
4
  import { ActivatedRoute, Router, RouterLink } from "@angular/router";
5
5
  import { cn } from "@edsis/angular/component/utils/core";
6
6
  import { NAVIGATION_ADAPTER, NAVIGATION_ROUTE_CONTEXT_ADAPTER } from "@edsis/angular/navigation/core";
7
7
  import { NgTemplateOutlet } from "@angular/common";
8
- import { LucideChevronRight } from "@lucide/angular";
8
+ import { ChevronRight } from "lucide";
9
9
  import { IconComponent, provideIcons } from "@edsis/angular/component/icon";
10
10
  import { TooltipDirective } from "@edsis/angular/component/tooltip";
11
11
  const NAVIGATION_SHELL = new InjectionToken("NAVIGATION_SHELL");
@@ -23,7 +23,7 @@ var NavigationItemBadgeComponent = class NavigationItemBadgeComponent {
23
23
  }, ...ngDevMode ? [{ debugName: "source" }] : /* istanbul ignore next */ []);
24
24
  static ɵfac = i0.ɵɵngDeclareFactory({
25
25
  minVersion: "12.0.0",
26
- version: "22.2.4",
26
+ version: "22.2.6",
27
27
  ngImport: i0,
28
28
  type: NavigationItemBadgeComponent,
29
29
  deps: [],
@@ -31,7 +31,7 @@ var NavigationItemBadgeComponent = class NavigationItemBadgeComponent {
31
31
  });
32
32
  static ɵcmp = i0.ɵɵngDeclareComponent({
33
33
  minVersion: "17.0.0",
34
- version: "22.2.4",
34
+ version: "22.2.6",
35
35
  type: NavigationItemBadgeComponent,
36
36
  isStandalone: true,
37
37
  selector: "NavigationItemBadge",
@@ -102,7 +102,7 @@ var NavigationItemBadgeComponent = class NavigationItemBadgeComponent {
102
102
  };
103
103
  i0.ɵɵngDeclareClassMetadata({
104
104
  minVersion: "12.0.0",
105
- version: "22.2.4",
105
+ version: "22.2.6",
106
106
  ngImport: i0,
107
107
  type: NavigationItemBadgeComponent,
108
108
  decorators: [{
@@ -169,6 +169,17 @@ i0.ɵɵngDeclareClassMetadata({
169
169
  }]
170
170
  }
171
171
  });
172
+ const NAVIGATION_ACTIVE_PARENT_ICON_CLASSES = "isolate text-primary-foreground before:pointer-events-none before:absolute before:-inset-1 before:-z-10 before:rounded-md before:border before:border-primary before:bg-primary before:content-['']";
173
+ function navigationActiveRailClasses(segment, stairsRail, firstInBranch) {
174
+ if (!segment || stairsRail && segment === "end") return "";
175
+ return cn("relative", "before:pointer-events-none before:absolute before:content-['']", stairsRail ? "before:-left-[calc(var(--nav-indent)-var(--nav-rail-offset))] before:-translate-x-1/2 before:w-px before:bg-primary before:-top-0.5" : cn("before:left-(--nav-rail-offset) before:w-0 before:-z-10 before:border-l before:border-dotted before:border-primary", firstInBranch ? "before:-top-[calc(var(--nav-item-height)/2+var(--spacing-base)*0.5)]" : "before:-top-0.5"), segment === "end" ? "before:bottom-[calc(100%-var(--nav-item-height)/2)]" : "before:-bottom-0.5");
176
+ }
177
+ function navigationInteractiveStateClasses(active, orientation, compact, parent, stairsRail, connectsChildren) {
178
+ const connectorClasses = active && orientation === "vertical" && !compact && stairsRail ? "after:pointer-events-none after:absolute after:left-[calc(var(--nav-rail-offset)-var(--nav-indent)-0.5px)] after:bottom-[calc(50%-0.5px)] after:-z-10 after:h-[calc(50%+var(--spacing-base)*0.5+0.5px)] after:w-[calc(var(--nav-rail-branch-width)+1px)] after:rounded-bl-(--nav-rail-radius) after:border-b after:border-l after:border-primary after:content-['']" : "";
179
+ if (active && parent && orientation === "vertical") return cn("relative isolate text-foreground", connectorClasses, connectsChildren && "before:pointer-events-none before:absolute before:top-1/2 before:bottom-0 before:left-(--nav-rail-offset) before:-z-10 before:w-px before:-translate-x-1/2 before:bg-primary before:content-['']");
180
+ if (orientation === "vertical" && !compact) return cn("relative isolate", "before:pointer-events-none before:absolute before:inset-y-0 before:left-2 before:right-2 before:-z-10 before:rounded-md before:border before:border-transparent before:bg-transparent before:transition-colors before:duration-normal before:content-['']", connectorClasses, active ? "text-primary-foreground before:bg-primary" : "text-foreground/80 hover:text-accent-foreground hover:before:bg-accent");
181
+ return active ? "text-primary-foreground bg-primary" : "text-foreground/80 hover:bg-accent hover:text-accent-foreground";
182
+ }
172
183
  var NavigationItemContentComponent = class NavigationItemContentComponent {
173
184
  hasCountBadge = hasNavigationCountBadge;
174
185
  nav = inject(NAVIGATION_ADAPTER);
@@ -179,11 +190,12 @@ var NavigationItemContentComponent = class NavigationItemContentComponent {
179
190
  orientation = input("vertical", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
180
191
  level = input(0, ...ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []);
181
192
  iconTemplate = input(void 0, ...ngDevMode ? [{ debugName: "iconTemplate" }] : /* istanbul ignore next */ []);
182
- hasIconSlot = computed(() => !!this.item().icon || hasNavigationCountBadge(this.item()), ...ngDevMode ? [{ debugName: "hasIconSlot" }] : /* istanbul ignore next */ []);
183
- iconSlotClasses = computed(() => cn("relative z-10 inline-flex shrink-0 items-center justify-center transition-colors duration-normal", this.compact() && "mx-auto", this.active() ? "text-current" : "text-muted-foreground group-hover/nav:text-current"), ...ngDevMode ? [{ debugName: "iconSlotClasses" }] : /* istanbul ignore next */ []);
184
- titleClasses = computed(() => cn("block truncate", this.active() && "text-foreground", this.item().classes?.title), ...ngDevMode ? [{ debugName: "titleClasses" }] : /* istanbul ignore next */ []);
193
+ hasIconSlot = computed(() => !!this.item().icon || hasNavigationCountBadge(this.item()) || this.compact() && this.item().children.length > 0, ...ngDevMode ? [{ debugName: "hasIconSlot" }] : /* istanbul ignore next */ []);
194
+ activeParent = computed(() => this.active() && this.item().children.length > 0 && (this.orientation() === "vertical" || this.level() > 0), ...ngDevMode ? [{ debugName: "activeParent" }] : /* istanbul ignore next */ []);
195
+ iconSlotClasses = computed(() => cn("relative z-10 inline-flex shrink-0 items-center justify-center transition-colors duration-normal", this.compact() && "mx-auto", this.activeParent() ? NAVIGATION_ACTIVE_PARENT_ICON_CLASSES : this.active() ? "text-current" : "text-muted-foreground group-hover/nav:text-current"), ...ngDevMode ? [{ debugName: "iconSlotClasses" }] : /* istanbul ignore next */ []);
196
+ titleClasses = computed(() => cn("block truncate", this.item().classes?.title), ...ngDevMode ? [{ debugName: "titleClasses" }] : /* istanbul ignore next */ []);
185
197
  showSubtitle = computed(() => !!this.item().subtitle && !(this.orientation() === "horizontal" && this.level() === 0), ...ngDevMode ? [{ debugName: "showSubtitle" }] : /* istanbul ignore next */ []);
186
- subtitleClasses = computed(() => cn("nav-subtitle block truncate text-muted-foreground", this.item().classes?.subtitle), ...ngDevMode ? [{ debugName: "subtitleClasses" }] : /* istanbul ignore next */ []);
198
+ subtitleClasses = computed(() => cn("nav-subtitle block truncate", this.active() && !this.activeParent() ? "text-current" : "text-muted-foreground", this.item().classes?.subtitle), ...ngDevMode ? [{ debugName: "subtitleClasses" }] : /* istanbul ignore next */ []);
187
199
  compactFallbackClasses = computed(() => cn("inline-flex h-5 min-w-5 items-center justify-center text-(length:--nav-icon-size-sub) font-semibold uppercase"), ...ngDevMode ? [{ debugName: "compactFallbackClasses" }] : /* istanbul ignore next */ []);
188
200
  defaultBadgeClasses = computed(() => cn("nav-badge ml-auto inline-flex h-5 shrink-0 items-center rounded-full px-2", this.active() ? "bg-background text-foreground" : "bg-muted text-muted-foreground"), ...ngDevMode ? [{ debugName: "defaultBadgeClasses" }] : /* istanbul ignore next */ []);
189
201
  defaultIconClasses = computed(() => cn(this.compact() ? "text-(length:--nav-icon-size-rail)" : "text-(length:--nav-icon-size)", "text-current", this.item().classes?.icon), ...ngDevMode ? [{ debugName: "defaultIconClasses" }] : /* istanbul ignore next */ []);
@@ -193,7 +205,7 @@ var NavigationItemContentComponent = class NavigationItemContentComponent {
193
205
  }
194
206
  static ɵfac = i0.ɵɵngDeclareFactory({
195
207
  minVersion: "12.0.0",
196
- version: "22.2.4",
208
+ version: "22.2.6",
197
209
  ngImport: i0,
198
210
  type: NavigationItemContentComponent,
199
211
  deps: [],
@@ -201,7 +213,7 @@ var NavigationItemContentComponent = class NavigationItemContentComponent {
201
213
  });
202
214
  static ɵcmp = i0.ɵɵngDeclareComponent({
203
215
  minVersion: "17.0.0",
204
- version: "22.2.4",
216
+ version: "22.2.6",
205
217
  type: NavigationItemContentComponent,
206
218
  isStandalone: true,
207
219
  selector: "NavigationItemContent",
@@ -263,6 +275,9 @@ var NavigationItemContentComponent = class NavigationItemContentComponent {
263
275
  must not lose their last emission or restart subscriptions just to move a badge. -->
264
276
  <span
265
277
  [attr.data-navigation-icon-slot]="compact() && hasIconSlot() ? 'true' : null"
278
+ [attr.data-navigation-active-parent-icon]="
279
+ compact() && hasIconSlot() && activeParent() ? 'true' : null
280
+ "
266
281
  [class]="compact() && hasIconSlot() ? iconSlotClasses() : 'contents'"
267
282
  >
268
283
  @if (compact() && hasCountBadge(item())) {
@@ -271,6 +286,7 @@ var NavigationItemContentComponent = class NavigationItemContentComponent {
271
286
  @if (item().icon; as iconName) {
272
287
  <span
273
288
  [attr.data-navigation-icon-slot]="compact() ? null : 'true'"
289
+ [attr.data-navigation-active-parent-icon]="!compact() && activeParent() ? 'true' : null"
274
290
  [class]="compact() ? 'contents' : iconSlotClasses()"
275
291
  >
276
292
  @if (iconTemplate(); as customIcon) {
@@ -343,7 +359,7 @@ var NavigationItemContentComponent = class NavigationItemContentComponent {
343
359
  };
344
360
  i0.ɵɵngDeclareClassMetadata({
345
361
  minVersion: "12.0.0",
346
- version: "22.2.4",
362
+ version: "22.2.6",
347
363
  ngImport: i0,
348
364
  type: NavigationItemContentComponent,
349
365
  decorators: [{
@@ -361,6 +377,9 @@ i0.ɵɵngDeclareClassMetadata({
361
377
  must not lose their last emission or restart subscriptions just to move a badge. -->
362
378
  <span
363
379
  [attr.data-navigation-icon-slot]="compact() && hasIconSlot() ? 'true' : null"
380
+ [attr.data-navigation-active-parent-icon]="
381
+ compact() && hasIconSlot() && activeParent() ? 'true' : null
382
+ "
364
383
  [class]="compact() && hasIconSlot() ? iconSlotClasses() : 'contents'"
365
384
  >
366
385
  @if (compact() && hasCountBadge(item())) {
@@ -369,6 +388,7 @@ i0.ɵɵngDeclareClassMetadata({
369
388
  @if (item().icon; as iconName) {
370
389
  <span
371
390
  [attr.data-navigation-icon-slot]="compact() ? null : 'true'"
391
+ [attr.data-navigation-active-parent-icon]="!compact() && activeParent() ? 'true' : null"
372
392
  [class]="compact() ? 'contents' : iconSlotClasses()"
373
393
  >
374
394
  @if (iconTemplate(); as customIcon) {
@@ -492,6 +512,8 @@ var NavigationItemComponent = class NavigationItemComponent {
492
512
  alias: "tooltip-position"
493
513
  });
494
514
  collapseTree = input("stairs", ...ngDevMode ? [{ debugName: "collapseTree" }] : /* istanbul ignore next */ []);
515
+ rail = input("default", ...ngDevMode ? [{ debugName: "rail" }] : /* istanbul ignore next */ []);
516
+ railSegment = input(null, ...ngDevMode ? [{ debugName: "railSegment" }] : /* istanbul ignore next */ []);
495
517
  straightRail = input(false, ...ngDevMode ? [{ debugName: "straightRail" }] : /* istanbul ignore next */ []);
496
518
  stairsRail = input(false, ...ngDevMode ? [{ debugName: "stairsRail" }] : /* istanbul ignore next */ []);
497
519
  straightRailActive = input(false, ...ngDevMode ? [{ debugName: "straightRailActive" }] : /* istanbul ignore next */ []);
@@ -500,6 +522,7 @@ var NavigationItemComponent = class NavigationItemComponent {
500
522
  openedIds = input([], ...ngDevMode ? [{ debugName: "openedIds" }] : /* istanbul ignore next */ []);
501
523
  openedIdsChange = output();
502
524
  itemSelected = output();
525
+ sidebarGroup = computed(() => this.item().type === "group" && this.shell?.displayState().type === "sidebar", ...ngDevMode ? [{ debugName: "sidebarGroup" }] : /* istanbul ignore next */ []);
503
526
  showGroupBadge = computed(() => {
504
527
  const badge = this.item().badge;
505
528
  return this.shell?.displayState().type !== "sidebar" || !badge?.source && !!badge?.title;
@@ -516,12 +539,21 @@ var NavigationItemComponent = class NavigationItemComponent {
516
539
  }, ...ngDevMode ? [{ debugName: "isRouteActive" }] : /* istanbul ignore next */ []);
517
540
  isRouterItemActive = computed(() => this.isRouteActive() || this.isActive(), ...ngDevMode ? [{ debugName: "isRouterItemActive" }] : /* istanbul ignore next */ []);
518
541
  showChildren = computed(() => !this.compact() && this.isOpen(), ...ngDevMode ? [{ debugName: "showChildren" }] : /* istanbul ignore next */ []);
519
- hostClasses = computed(() => {
542
+ lastActiveChildIndex = computed(() => {
543
+ const activeIds = this.activeIds();
544
+ const activeUrl = this.activeUrl();
545
+ const children = this.item().children;
546
+ for (let index = children.length - 1; index >= 0; index--) if (this.nav.isItemActive(children[index], activeIds, activeUrl)) return index;
547
+ return -1;
548
+ }, ...ngDevMode ? [{ debugName: "lastActiveChildIndex" }] : /* istanbul ignore next */ []);
549
+ visibleRailSegment = computed(() => this.rail() === "rail-active" && (this.orientation() === "vertical" || this.level() > 0) && !this.compact() && (this.stairsRail() || this.straightRail()) ? this.railSegment() : null, ...ngDevMode ? [{ debugName: "visibleRailSegment" }] : /* istanbul ignore next */ []);
550
+ hostClasses = computed(() => cn(this.containerClasses(), navigationActiveRailClasses(this.visibleRailSegment(), this.stairsRail(), this.firstInBranch())), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
551
+ containerClasses() {
520
552
  if (this.item().type === "divider") return this.dividerClasses();
521
553
  if (this.item().type === "spacer") return "flex-1";
522
554
  if (this.item().type === "group" || this.item().type === "mega") return this.groupContainerClasses();
523
555
  return this.itemContainerClasses();
524
- }, ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
556
+ }
525
557
  hostRole = computed(() => {
526
558
  return this.orientation() === "horizontal" ? "none" : null;
527
559
  }, ...ngDevMode ? [{ debugName: "hostRole" }] : /* istanbul ignore next */ []);
@@ -591,9 +623,7 @@ var NavigationItemComponent = class NavigationItemComponent {
591
623
  return cn("nav-trigger nav-text group/nav inline-flex min-w-0 items-center rounded-md transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50", this.orientation() === "horizontal" && this.level() === 0 ? "h-(--nav-item-height) px-(--nav-item-padding-x)" : "min-h-(--nav-item-height) w-full px-(--nav-item-padding-x) py-1 text-left", "gap-(--nav-item-gap)", this.compact() && "size-(--nav-rail-item-size) justify-center gap-0 px-0 py-0 text-center", this.interactiveStateClasses(active), this.item().classes?.wrapper, this.itemClass());
592
624
  }
593
625
  interactiveStateClasses(active) {
594
- const showsNestedActiveConnector = active && this.orientation() === "vertical" && !this.compact() && this.stairsRail();
595
- if (this.orientation() === "vertical" && !this.compact()) return cn("relative isolate", "before:pointer-events-none before:absolute before:inset-y-0 before:left-2 before:right-2 before:-z-10 before:rounded-md before:border before:border-transparent before:bg-transparent before:transition-colors before:duration-normal before:content-['']", showsNestedActiveConnector && "after:pointer-events-none after:absolute after:-left-[calc(var(--nav-indent)-var(--nav-rail-offset))] after:top-1/2 after:-z-10 after:h-px after:w-[calc(var(--nav-indent)-var(--nav-rail-offset)+var(--spacing-base)*2)] after:-translate-y-1/2 after:rounded-full after:bg-current/25 after:content-['']", active ? "text-foreground before:bg-accent" : "text-foreground/80 hover:text-accent-foreground hover:before:bg-accent");
596
- return active ? "text-foreground bg-accent" : "text-foreground/80 hover:bg-accent hover:text-accent-foreground";
626
+ return navigationInteractiveStateClasses(active, this.level() > 0 ? "vertical" : this.orientation(), this.compact(), this.item().children.length > 0, this.stairsRail(), this.showChildren() && this.showsStairsRailForChildren() && (this.rail() === "default" || this.lastActiveChildIndex() >= 0));
597
627
  }
598
628
  chevronClasses() {
599
629
  return cn("ml-auto shrink-0 self-center text-(length:--nav-icon-size-sub) text-muted-foreground transition-transform duration-normal", this.isOpen() && "rotate-90");
@@ -610,10 +640,12 @@ var NavigationItemComponent = class NavigationItemComponent {
610
640
  groupHeadingClasses() {
611
641
  return cn("nav-heading flex min-w-0 items-center gap-(--nav-item-gap) px-(--nav-item-padding-x) pt-4 pb-1 text-muted-foreground", this.item().classes?.title);
612
642
  }
643
+ headingIconClasses = computed(() => cn("relative z-10 inline-flex shrink-0 items-center justify-center text-(length:--nav-icon-size)", this.isActive() && "isolate text-primary-foreground before:pointer-events-none before:absolute before:-inset-1 before:-z-10 before:rounded-md before:border before:border-primary before:bg-primary before:content-['']"), ...ngDevMode ? [{ debugName: "headingIconClasses" }] : /* istanbul ignore next */ []);
644
+ headingIconContext = computed(() => this.nav.iconContext(this.item(), this.isActive(), this.level(), this.orientation()), ...ngDevMode ? [{ debugName: "headingIconContext" }] : /* istanbul ignore next */ []);
613
645
  childListClasses() {
614
646
  const isGroupedBranch = this.item().type === "group" || this.item().type === "mega";
615
647
  const usesStairsTree = this.collapseTree() === "stairs";
616
- return cn("flex list-none flex-col gap-0.5 p-0", !this.compact() && "mt-0.5", this.level() >= 0 && !this.compact() && !isGroupedBranch && usesStairsTree && cn("relative ml-(--nav-rail-offset) pl-[calc(var(--nav-indent)-var(--nav-rail-offset))] before:absolute before:-top-0.5 before:bottom-0 before:left-0 before:w-px before:-translate-x-1/2 before:rounded-full before:content-['']", this.isActive() ? "before:bg-current/25" : "before:bg-border"));
648
+ return cn("flex list-none flex-col gap-0.5 p-0", !this.compact() && "mt-0.5", this.orientation() === "horizontal" && !this.compact() && (isGroupedBranch || !usesStairsTree) && "pl-(--nav-indent)", this.level() >= 0 && !this.compact() && !isGroupedBranch && usesStairsTree && cn("relative ml-(--nav-rail-offset) pl-[calc(var(--nav-indent)-var(--nav-rail-offset))]", this.rail() === "default" && cn("before:absolute before:-top-0.5 before:bottom-0 before:left-0 before:w-px before:-translate-x-1/2 before:content-['']", this.isActive() ? "before:bg-primary" : "before:bg-border")));
617
649
  }
618
650
  showsStairsRailForChildren() {
619
651
  return !this.compact() && this.collapseTree() === "stairs" && this.item().type !== "group" && this.item().type !== "mega";
@@ -622,12 +654,12 @@ var NavigationItemComponent = class NavigationItemComponent {
622
654
  return !this.compact() && this.collapseTree() === "straight" && this.item().type !== "group" && this.item().type !== "mega";
623
655
  }
624
656
  straightRailClasses() {
625
- if (!this.straightRail() || this.orientation() !== "vertical" || this.compact()) return "";
626
- return cn("relative", "before:pointer-events-none before:absolute before:left-(--nav-rail-offset) before:w-0 before:-z-10 before:border-l before:border-dotted before:content-['']", this.straightRailActive() ? "before:border-primary/50" : "before:border-border/50", this.firstInBranch() ? "before:-top-[calc(var(--nav-item-height)/2+var(--spacing-base)*0.5)]" : "before:-top-0.5", this.lastInBranch() ? "before:bottom-[calc(100%-var(--nav-item-height)/2)]" : "before:-bottom-0.5");
657
+ if (this.rail() === "rail-active" || !this.straightRail() || this.orientation() !== "vertical" && this.level() === 0 || this.compact()) return "";
658
+ return cn("relative", "before:pointer-events-none before:absolute before:left-(--nav-rail-offset) before:w-0 before:-z-10 before:border-l before:border-dotted before:content-['']", this.straightRailActive() ? "before:border-primary" : "before:border-border/50", this.firstInBranch() ? "before:-top-[calc(var(--nav-item-height)/2+var(--spacing-base)*0.5)]" : "before:-top-0.5", this.lastInBranch() ? "before:bottom-[calc(100%-var(--nav-item-height)/2)]" : "before:-bottom-0.5");
627
659
  }
628
660
  static ɵfac = i0.ɵɵngDeclareFactory({
629
661
  minVersion: "12.0.0",
630
- version: "22.2.4",
662
+ version: "22.2.6",
631
663
  ngImport: i0,
632
664
  type: NavigationItemComponent,
633
665
  deps: [],
@@ -635,7 +667,7 @@ var NavigationItemComponent = class NavigationItemComponent {
635
667
  });
636
668
  static ɵcmp = i0.ɵɵngDeclareComponent({
637
669
  minVersion: "17.0.0",
638
- version: "22.2.4",
670
+ version: "22.2.6",
639
671
  type: NavigationItemComponent,
640
672
  isStandalone: true,
641
673
  selector: "li[NavigationItem]",
@@ -724,6 +756,20 @@ var NavigationItemComponent = class NavigationItemComponent {
724
756
  isRequired: false,
725
757
  transformFunction: null
726
758
  },
759
+ rail: {
760
+ classPropertyName: "rail",
761
+ publicName: "rail",
762
+ isSignal: true,
763
+ isRequired: false,
764
+ transformFunction: null
765
+ },
766
+ railSegment: {
767
+ classPropertyName: "railSegment",
768
+ publicName: "railSegment",
769
+ isSignal: true,
770
+ isRequired: false,
771
+ transformFunction: null
772
+ },
727
773
  straightRail: {
728
774
  classPropertyName: "straightRail",
729
775
  publicName: "straightRail",
@@ -775,9 +821,14 @@ var NavigationItemComponent = class NavigationItemComponent {
775
821
  "class": "hostClasses()",
776
822
  "attr.role": "hostRole()",
777
823
  "attr.data-navigation-item-key": "item().key",
824
+ "attr.data-navigation-rail-segment": "visibleRailSegment()",
778
825
  "attr.aria-hidden": "item().type === \"spacer\" || item().type === \"divider\" ? \"true\" : null"
779
826
  } },
780
- providers: [provideIcons(LucideChevronRight)],
827
+ providers: [provideIcons({
828
+ name: "chevron-right",
829
+ size: 24,
830
+ node: ChevronRight
831
+ })],
781
832
  ngImport: i0,
782
833
  template: `
783
834
  @switch (item().type) {
@@ -790,6 +841,7 @@ var NavigationItemComponent = class NavigationItemComponent {
790
841
  @case ('group') {
791
842
  @if (!compact() && item().title) {
792
843
  <div [id]="headingId()" [class]="groupHeadingClasses()">
844
+ <ng-container [ngTemplateOutlet]="headingIcon" />
793
845
  <span class="min-w-0 flex-1">
794
846
  <span class="block truncate">{{ item().title }}</span>
795
847
 
@@ -814,7 +866,7 @@ var NavigationItemComponent = class NavigationItemComponent {
814
866
 
815
867
  <ul
816
868
  [class]="childListClasses()"
817
- role="list"
869
+ [attr.role]="orientation() === 'horizontal' ? 'group' : 'list'"
818
870
  [attr.aria-labelledby]="item().title ? headingId() : null"
819
871
  >
820
872
  <ng-container [ngTemplateOutlet]="childItems" />
@@ -825,6 +877,7 @@ var NavigationItemComponent = class NavigationItemComponent {
825
877
  <button
826
878
  type="button"
827
879
  [class]="triggerClasses(isActive())"
880
+ [attr.role]="itemRole()"
828
881
  [attr.aria-expanded]="showChildren()"
829
882
  [attr.aria-controls]="showChildren() ? panelId() : null"
830
883
  [attr.aria-label]="hasCountBadge(item()) ? null : compactLabel()"
@@ -850,7 +903,11 @@ var NavigationItemComponent = class NavigationItemComponent {
850
903
  </button>
851
904
 
852
905
  @if (showChildren()) {
853
- <ul [id]="panelId()" [class]="childListClasses()" role="list">
906
+ <ul
907
+ [id]="panelId()"
908
+ [class]="childListClasses()"
909
+ [attr.role]="orientation() === 'horizontal' ? 'group' : 'list'"
910
+ >
854
911
  <ng-container [ngTemplateOutlet]="childItems" />
855
912
  </ul>
856
913
  }
@@ -859,6 +916,7 @@ var NavigationItemComponent = class NavigationItemComponent {
859
916
  @case ('mega') {
860
917
  @if (!compact() && item().title) {
861
918
  <div [id]="headingId()" [class]="groupHeadingClasses()">
919
+ <ng-container [ngTemplateOutlet]="headingIcon" />
862
920
  <span class="min-w-0 flex-1 truncate">{{ item().title }}</span>
863
921
  <NavigationItemBadge
864
922
  [children]="item().children"
@@ -870,7 +928,7 @@ var NavigationItemComponent = class NavigationItemComponent {
870
928
 
871
929
  <ul
872
930
  [class]="childListClasses()"
873
- role="list"
931
+ [attr.role]="orientation() === 'horizontal' ? 'group' : 'list'"
874
932
  [attr.aria-labelledby]="item().title ? headingId() : null"
875
933
  >
876
934
  <ng-container [ngTemplateOutlet]="childItems" />
@@ -963,20 +1021,34 @@ var NavigationItemComponent = class NavigationItemComponent {
963
1021
  }
964
1022
  }
965
1023
  }
966
- <!--
967
- The recursive child list, defined once.
968
-
969
- It was written out three times, in the group, collapsible, and mega
970
- branches, 25 identical lines each. Nothing needs passing in: every binding
971
- is a member of this component and so is lexically in scope here, and
972
- isFirst / isLast are @for locals declared inside.
1024
+ <ng-template #headingIcon>
1025
+ @if (!sidebarGroup() && item().icon; as icon) {
1026
+ <span
1027
+ aria-hidden="true"
1028
+ data-navigation-icon-slot="true"
1029
+ [attr.data-navigation-active-parent-icon]="isActive() ? 'true' : null"
1030
+ [class]="headingIconClasses()"
1031
+ >
1032
+ @if (iconTemplate(); as customIcon) {
1033
+ <ng-container
1034
+ [ngTemplateOutlet]="customIcon.template"
1035
+ [ngTemplateOutletContext]="headingIconContext()"
1036
+ />
1037
+ } @else {
1038
+ <Icon [name]="icon" size="inherit" />
1039
+ }
1040
+ </span>
1041
+ }
1042
+ </ng-template>
973
1043
 
974
- The collapsible copy used to hardcode compact="false". That is the same
975
- value there: its list only renders under showChildren(), which already
976
- requires compact() to be false.
977
- -->
978
1044
  <ng-template #childItems>
979
- @for (child of item().children; track child.key; let isFirst = $first; let isLast = $last) {
1045
+ @for (
1046
+ child of item().children;
1047
+ track child.key;
1048
+ let index = $index;
1049
+ let isFirst = $first;
1050
+ let isLast = $last
1051
+ ) {
980
1052
  <li
981
1053
  NavigationItem
982
1054
  [navId]="navId()"
@@ -991,6 +1063,14 @@ var NavigationItemComponent = class NavigationItemComponent {
991
1063
  [iconTemplate]="iconTemplate()"
992
1064
  [tooltip-position]="tooltipPosition()"
993
1065
  [collapseTree]="collapseTree()"
1066
+ [rail]="rail()"
1067
+ [railSegment]="
1068
+ index < lastActiveChildIndex()
1069
+ ? 'through'
1070
+ : index === lastActiveChildIndex()
1071
+ ? 'end'
1072
+ : null
1073
+ "
994
1074
  [straightRail]="showStraightRailForChildren()"
995
1075
  [stairsRail]="showsStairsRailForChildren()"
996
1076
  [straightRailActive]="isActive()"
@@ -1022,6 +1102,8 @@ var NavigationItemComponent = class NavigationItemComponent {
1022
1102
  "iconTemplate",
1023
1103
  "tooltip-position",
1024
1104
  "collapseTree",
1105
+ "rail",
1106
+ "railSegment",
1025
1107
  "straightRail",
1026
1108
  "stairsRail",
1027
1109
  "straightRailActive",
@@ -1116,7 +1198,7 @@ var NavigationItemComponent = class NavigationItemComponent {
1116
1198
  };
1117
1199
  i0.ɵɵngDeclareClassMetadata({
1118
1200
  minVersion: "12.0.0",
1119
- version: "22.2.4",
1201
+ version: "22.2.6",
1120
1202
  ngImport: i0,
1121
1203
  type: NavigationItemComponent,
1122
1204
  decorators: [{
@@ -1131,11 +1213,16 @@ i0.ɵɵngDeclareClassMetadata({
1131
1213
  RouterLink,
1132
1214
  TooltipDirective
1133
1215
  ],
1134
- providers: [provideIcons(LucideChevronRight)],
1216
+ providers: [provideIcons({
1217
+ name: "chevron-right",
1218
+ size: 24,
1219
+ node: ChevronRight
1220
+ })],
1135
1221
  host: {
1136
1222
  "[class]": "hostClasses()",
1137
1223
  "[attr.role]": "hostRole()",
1138
1224
  "[attr.data-navigation-item-key]": "item().key",
1225
+ "[attr.data-navigation-rail-segment]": "visibleRailSegment()",
1139
1226
  "[attr.aria-hidden]": "item().type === \"spacer\" || item().type === \"divider\" ? \"true\" : null"
1140
1227
  },
1141
1228
  template: `
@@ -1149,6 +1236,7 @@ i0.ɵɵngDeclareClassMetadata({
1149
1236
  @case ('group') {
1150
1237
  @if (!compact() && item().title) {
1151
1238
  <div [id]="headingId()" [class]="groupHeadingClasses()">
1239
+ <ng-container [ngTemplateOutlet]="headingIcon" />
1152
1240
  <span class="min-w-0 flex-1">
1153
1241
  <span class="block truncate">{{ item().title }}</span>
1154
1242
 
@@ -1173,7 +1261,7 @@ i0.ɵɵngDeclareClassMetadata({
1173
1261
 
1174
1262
  <ul
1175
1263
  [class]="childListClasses()"
1176
- role="list"
1264
+ [attr.role]="orientation() === 'horizontal' ? 'group' : 'list'"
1177
1265
  [attr.aria-labelledby]="item().title ? headingId() : null"
1178
1266
  >
1179
1267
  <ng-container [ngTemplateOutlet]="childItems" />
@@ -1184,6 +1272,7 @@ i0.ɵɵngDeclareClassMetadata({
1184
1272
  <button
1185
1273
  type="button"
1186
1274
  [class]="triggerClasses(isActive())"
1275
+ [attr.role]="itemRole()"
1187
1276
  [attr.aria-expanded]="showChildren()"
1188
1277
  [attr.aria-controls]="showChildren() ? panelId() : null"
1189
1278
  [attr.aria-label]="hasCountBadge(item()) ? null : compactLabel()"
@@ -1209,7 +1298,11 @@ i0.ɵɵngDeclareClassMetadata({
1209
1298
  </button>
1210
1299
 
1211
1300
  @if (showChildren()) {
1212
- <ul [id]="panelId()" [class]="childListClasses()" role="list">
1301
+ <ul
1302
+ [id]="panelId()"
1303
+ [class]="childListClasses()"
1304
+ [attr.role]="orientation() === 'horizontal' ? 'group' : 'list'"
1305
+ >
1213
1306
  <ng-container [ngTemplateOutlet]="childItems" />
1214
1307
  </ul>
1215
1308
  }
@@ -1218,6 +1311,7 @@ i0.ɵɵngDeclareClassMetadata({
1218
1311
  @case ('mega') {
1219
1312
  @if (!compact() && item().title) {
1220
1313
  <div [id]="headingId()" [class]="groupHeadingClasses()">
1314
+ <ng-container [ngTemplateOutlet]="headingIcon" />
1221
1315
  <span class="min-w-0 flex-1 truncate">{{ item().title }}</span>
1222
1316
  <NavigationItemBadge
1223
1317
  [children]="item().children"
@@ -1229,7 +1323,7 @@ i0.ɵɵngDeclareClassMetadata({
1229
1323
 
1230
1324
  <ul
1231
1325
  [class]="childListClasses()"
1232
- role="list"
1326
+ [attr.role]="orientation() === 'horizontal' ? 'group' : 'list'"
1233
1327
  [attr.aria-labelledby]="item().title ? headingId() : null"
1234
1328
  >
1235
1329
  <ng-container [ngTemplateOutlet]="childItems" />
@@ -1322,20 +1416,34 @@ i0.ɵɵngDeclareClassMetadata({
1322
1416
  }
1323
1417
  }
1324
1418
  }
1325
- <!--
1326
- The recursive child list, defined once.
1327
-
1328
- It was written out three times, in the group, collapsible, and mega
1329
- branches, 25 identical lines each. Nothing needs passing in: every binding
1330
- is a member of this component and so is lexically in scope here, and
1331
- isFirst / isLast are @for locals declared inside.
1419
+ <ng-template #headingIcon>
1420
+ @if (!sidebarGroup() && item().icon; as icon) {
1421
+ <span
1422
+ aria-hidden="true"
1423
+ data-navigation-icon-slot="true"
1424
+ [attr.data-navigation-active-parent-icon]="isActive() ? 'true' : null"
1425
+ [class]="headingIconClasses()"
1426
+ >
1427
+ @if (iconTemplate(); as customIcon) {
1428
+ <ng-container
1429
+ [ngTemplateOutlet]="customIcon.template"
1430
+ [ngTemplateOutletContext]="headingIconContext()"
1431
+ />
1432
+ } @else {
1433
+ <Icon [name]="icon" size="inherit" />
1434
+ }
1435
+ </span>
1436
+ }
1437
+ </ng-template>
1332
1438
 
1333
- The collapsible copy used to hardcode compact="false". That is the same
1334
- value there: its list only renders under showChildren(), which already
1335
- requires compact() to be false.
1336
- -->
1337
1439
  <ng-template #childItems>
1338
- @for (child of item().children; track child.key; let isFirst = $first; let isLast = $last) {
1440
+ @for (
1441
+ child of item().children;
1442
+ track child.key;
1443
+ let index = $index;
1444
+ let isFirst = $first;
1445
+ let isLast = $last
1446
+ ) {
1339
1447
  <li
1340
1448
  NavigationItem
1341
1449
  [navId]="navId()"
@@ -1350,6 +1458,14 @@ i0.ɵɵngDeclareClassMetadata({
1350
1458
  [iconTemplate]="iconTemplate()"
1351
1459
  [tooltip-position]="tooltipPosition()"
1352
1460
  [collapseTree]="collapseTree()"
1461
+ [rail]="rail()"
1462
+ [railSegment]="
1463
+ index < lastActiveChildIndex()
1464
+ ? 'through'
1465
+ : index === lastActiveChildIndex()
1466
+ ? 'end'
1467
+ : null
1468
+ "
1353
1469
  [straightRail]="showStraightRailForChildren()"
1354
1470
  [stairsRail]="showsStairsRailForChildren()"
1355
1471
  [straightRailActive]="isActive()"
@@ -1461,6 +1577,22 @@ i0.ɵɵngDeclareClassMetadata({
1461
1577
  required: false
1462
1578
  }]
1463
1579
  }],
1580
+ rail: [{
1581
+ type: i0.Input,
1582
+ args: [{
1583
+ isSignal: true,
1584
+ alias: "rail",
1585
+ required: false
1586
+ }]
1587
+ }],
1588
+ railSegment: [{
1589
+ type: i0.Input,
1590
+ args: [{
1591
+ isSignal: true,
1592
+ alias: "railSegment",
1593
+ required: false
1594
+ }]
1595
+ }],
1464
1596
  straightRail: [{
1465
1597
  type: i0.Input,
1466
1598
  args: [{
@@ -1519,4 +1651,4 @@ i0.ɵɵngDeclareClassMetadata({
1519
1651
  }]
1520
1652
  }
1521
1653
  });
1522
- export { NAVIGATION_SHELL as a, NavigationItemBadgeComponent as i, navigationPanelId as n, NavigationItemContentComponent as r, NavigationItemComponent as t };
1654
+ export { navigationInteractiveStateClasses as a, NAVIGATION_ACTIVE_PARENT_ICON_CLASSES as i, navigationPanelId as n, NavigationItemBadgeComponent as o, NavigationItemContentComponent as r, NAVIGATION_SHELL as s, NavigationItemComponent as t };
@@ -1,4 +1,4 @@
1
- import { t as NavigationItemComponent } from "./edsis-angular-navigation-navigation-item.component-X6JFy-ya.mjs";
1
+ import { t as NavigationItemComponent } from "./edsis-angular-navigation-navigation-item.component-ByQVStr8.mjs";
2
2
  import * as i0 from "@angular/core";
3
3
  import { Component, computed, input, output } from "@angular/core";
4
4
  import { cn } from "@edsis/angular/component/utils/core";
@@ -15,6 +15,7 @@ var NavigationListComponent = class NavigationListComponent {
15
15
  activeUrl = input(null, ...ngDevMode ? [{ debugName: "activeUrl" }] : /* istanbul ignore next */ []);
16
16
  iconTemplate = input(void 0, ...ngDevMode ? [{ debugName: "iconTemplate" }] : /* istanbul ignore next */ []);
17
17
  collapseTree = input("stairs", ...ngDevMode ? [{ debugName: "collapseTree" }] : /* istanbul ignore next */ []);
18
+ rail = input("default", ...ngDevMode ? [{ debugName: "rail" }] : /* istanbul ignore next */ []);
18
19
  openedIds = input([], ...ngDevMode ? [{ debugName: "openedIds" }] : /* istanbul ignore next */ []);
19
20
  openedIdsChange = output();
20
21
  itemSelected = output();
@@ -23,7 +24,7 @@ var NavigationListComponent = class NavigationListComponent {
23
24
  listClasses = computed(() => cn(this.isCollapsed() ? "flex list-none flex-col items-center gap-0.5 p-0" : cn("flex list-none flex-col gap-0.5 p-0", this.position() === "right" && "items-end"), this.fill() && "flex-1"), ...ngDevMode ? [{ debugName: "listClasses" }] : /* istanbul ignore next */ []);
24
25
  static ɵfac = i0.ɵɵngDeclareFactory({
25
26
  minVersion: "12.0.0",
26
- version: "22.2.4",
27
+ version: "22.2.6",
27
28
  ngImport: i0,
28
29
  type: NavigationListComponent,
29
30
  deps: [],
@@ -31,7 +32,7 @@ var NavigationListComponent = class NavigationListComponent {
31
32
  });
32
33
  static ɵcmp = i0.ɵɵngDeclareComponent({
33
34
  minVersion: "17.0.0",
34
- version: "22.2.4",
35
+ version: "22.2.6",
35
36
  type: NavigationListComponent,
36
37
  isStandalone: true,
37
38
  selector: "NavigationList",
@@ -120,6 +121,13 @@ var NavigationListComponent = class NavigationListComponent {
120
121
  isRequired: false,
121
122
  transformFunction: null
122
123
  },
124
+ rail: {
125
+ classPropertyName: "rail",
126
+ publicName: "rail",
127
+ isSignal: true,
128
+ isRequired: false,
129
+ transformFunction: null
130
+ },
123
131
  openedIds: {
124
132
  classPropertyName: "openedIds",
125
133
  publicName: "openedIds",
@@ -153,6 +161,7 @@ var NavigationListComponent = class NavigationListComponent {
153
161
  [badgeContext]="badgeContext()"
154
162
  [iconTemplate]="iconTemplate()"
155
163
  [collapseTree]="collapseTree()"
164
+ [rail]="rail()"
156
165
  [openedIds]="openedIds()"
157
166
  (openedIdsChange)="openedIdsChange.emit($event)"
158
167
  (itemSelected)="itemSelected.emit($event)"
@@ -178,6 +187,8 @@ var NavigationListComponent = class NavigationListComponent {
178
187
  "iconTemplate",
179
188
  "tooltip-position",
180
189
  "collapseTree",
190
+ "rail",
191
+ "railSegment",
181
192
  "straightRail",
182
193
  "stairsRail",
183
194
  "straightRailActive",
@@ -191,7 +202,7 @@ var NavigationListComponent = class NavigationListComponent {
191
202
  };
192
203
  i0.ɵɵngDeclareClassMetadata({
193
204
  minVersion: "12.0.0",
194
- version: "22.2.4",
205
+ version: "22.2.6",
195
206
  ngImport: i0,
196
207
  type: NavigationListComponent,
197
208
  decorators: [{
@@ -219,6 +230,7 @@ i0.ɵɵngDeclareClassMetadata({
219
230
  [badgeContext]="badgeContext()"
220
231
  [iconTemplate]="iconTemplate()"
221
232
  [collapseTree]="collapseTree()"
233
+ [rail]="rail()"
222
234
  [openedIds]="openedIds()"
223
235
  (openedIdsChange)="openedIdsChange.emit($event)"
224
236
  (itemSelected)="itemSelected.emit($event)"
@@ -325,6 +337,14 @@ i0.ɵɵngDeclareClassMetadata({
325
337
  required: false
326
338
  }]
327
339
  }],
340
+ rail: [{
341
+ type: i0.Input,
342
+ args: [{
343
+ isSignal: true,
344
+ alias: "rail",
345
+ required: false
346
+ }]
347
+ }],
328
348
  openedIds: [{
329
349
  type: i0.Input,
330
350
  args: [{