@4sh/ui-kit 0.4.0 → 0.5.0

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 (109) hide show
  1. package/README.fr.md +64 -58
  2. package/README.md +63 -57
  3. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +4 -4
  4. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
  5. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +7 -6
  6. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
  7. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +4 -4
  8. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
  9. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +7 -7
  10. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
  11. package/fesm2022/4sh-ui-kit-base-ui-image.mjs +11 -8
  12. package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
  13. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +32 -12
  14. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
  15. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +3 -3
  16. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +51 -15
  17. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
  18. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +3 -3
  19. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
  20. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +13 -9
  21. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
  22. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +6 -6
  23. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +5 -5
  24. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
  25. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +6 -6
  26. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
  27. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +8 -4
  28. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
  29. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +24 -9
  30. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
  31. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +4 -4
  32. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
  33. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +3 -3
  34. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +4 -4
  35. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
  36. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +4 -8
  37. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
  38. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +4 -8
  39. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
  40. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +11 -6
  41. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
  42. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +29 -15
  43. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
  44. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +8 -9
  45. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
  46. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +13 -6
  47. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
  48. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +6 -4
  49. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
  50. package/fesm2022/4sh-ui-kit-forms.mjs +16 -16
  51. package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
  52. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +12 -12
  53. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
  54. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +3 -3
  55. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +3 -3
  56. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +3 -3
  57. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +3 -3
  58. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +3 -3
  59. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
  60. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +9 -9
  61. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +3 -3
  62. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +4 -4
  63. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
  64. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +5 -4
  65. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
  66. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +3 -3
  67. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +3 -3
  68. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +4 -4
  69. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
  70. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +3 -3
  71. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
  72. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +10 -10
  73. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
  74. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +30 -14
  75. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
  76. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +15 -15
  77. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +4 -4
  78. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
  79. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +4 -4
  80. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
  81. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +23 -7
  82. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
  83. package/fesm2022/4sh-ui-kit-motion.mjs +3 -3
  84. package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
  85. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +10 -5
  86. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
  87. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +3 -3
  88. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
  89. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +79 -14
  90. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
  91. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +15 -13
  92. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
  93. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +29 -21
  94. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
  95. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +15 -15
  96. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
  97. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +4 -4
  98. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
  99. package/fesm2022/4sh-ui-kit-table-ui-table.mjs +55 -42
  100. package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
  101. package/fesm2022/4sh-ui-kit-theming.mjs +7 -7
  102. package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
  103. package/mcp/LICENSE +201 -0
  104. package/mcp/data/text-search-docs.json +7016 -0
  105. package/mcp/data/ui-config.json +16960 -0
  106. package/mcp/index.js +33018 -0
  107. package/mcp/package.json +19 -0
  108. package/package.json +1 -1
  109. package/schematics/index.cjs +28 -18
@@ -1 +1 @@
1
- {"version":3,"file":"4sh-ui-kit-navigation-ui-sidebar.mjs","sources":["../../../projects/ui-kit/navigation/ui-sidebar/src/lib/ui-sidebar.ts","../../../projects/ui-kit/navigation/ui-sidebar/src/lib/ui-sidebar.html","../../../projects/ui-kit/navigation/ui-sidebar/src/lib/ui-sidebar-menu.ts","../../../projects/ui-kit/navigation/ui-sidebar/src/lib/ui-sidebar-menu.html","../../../projects/ui-kit/navigation/ui-sidebar/src/lib/ui-sidebar-trigger.ts","../../../projects/ui-kit/navigation/ui-sidebar/src/public-api.ts","../../../projects/ui-kit/navigation/ui-sidebar/src/4sh-ui-kit-navigation-ui-sidebar.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n contentChild,\n DestroyRef,\n effect,\n ElementRef,\n inject,\n input,\n isDevMode,\n model,\n numberAttribute,\n output,\n PLATFORM_ID,\n signal,\n TemplateRef,\n untracked,\n viewChild,\n} from '@angular/core';\nimport { DOCUMENT, isPlatformBrowser, NgTemplateOutlet } from '@angular/common';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { UiMotion, UiMotionPreset } from '@4sh/ui-kit/motion';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\n\n/** Edge the sidebar is docked to. */\nexport type SidebarSide = 'left' | 'right';\n\n/**\n * Layout strategy:\n * - `static` — the sidebar lives in the page flow and pushes the inset. It can\n * collapse to an icon rail (`collapsed`).\n * - `overlay` — the sidebar floats over the content as an offcanvas panel with a\n * backdrop, driven by the two-way `visible` model.\n *\n * With `responsive` enabled, a `static` sidebar automatically switches to\n * `overlay` below `breakpoint` (mobile offcanvas), and back to the static rail\n * above it.\n */\nexport type SidebarMode = 'static' | 'overlay';\n\n/** Base stacking level for the overlay presentation. */\nconst SIDEBAR_BASE_Z_INDEX = 1000;\n\n/** Process-wide unique id source (aria wiring). */\nlet nextUid = 0;\n\n// --- Body scroll lock (ref-counted, shared across overlay sidebars) -------\nlet scrollLockCount = 0;\nlet savedOverflow = '';\nlet savedPaddingRight = '';\n\n/** Freeze background scroll, compensating the scrollbar gutter to avoid a shift. */\nfunction lockBodyScroll(doc: Document): void {\n if (scrollLockCount === 0) {\n const body = doc.body;\n const gap = (doc.defaultView?.innerWidth ?? 0) - doc.documentElement.clientWidth;\n savedOverflow = body.style.overflow;\n savedPaddingRight = body.style.paddingRight;\n body.style.overflow = 'hidden';\n if (gap > 0) body.style.paddingRight = `${gap}px`;\n }\n scrollLockCount++;\n}\n\n/** Release one scroll lock; restore the body when the last overlay closes. */\nfunction unlockBodyScroll(doc: Document): void {\n scrollLockCount = Math.max(0, scrollLockCount - 1);\n if (scrollLockCount === 0) {\n doc.body.style.overflow = savedOverflow;\n doc.body.style.paddingRight = savedPaddingRight;\n }\n}\n\n/**\n * ui-sidebar — headless application sidebar (navigation chrome).\n *\n * A token-styled vertical surface docked to the `left` or `right` edge, meant to\n * host application navigation (workspace switcher, menus, user footer). Two\n * presentations share the exact same interior:\n *\n * - **Static** (default): the sidebar sits in the layout flow and pushes the\n * page inset. When `collapsible`, it folds down to an icon **rail**\n * (`collapsed`, two-way). With `openOnHover`, a collapsed rail temporarily\n * floats open on hover / focus without shifting the content.\n * - **Overlay**: the sidebar floats over the content as an offcanvas panel with\n * an optional `backdrop`, driven by the two-way `visible` model — focus trap\n * and restore (`@angular/cdk/a11y`), `aria-modal`, background scroll lock,\n * `Escape` to close and an optional click-outside dismiss.\n *\n * With `responsive`, a static sidebar automatically becomes an overlay below\n * `breakpoint` (mobile offcanvas) and returns to the rail above it.\n *\n * Descendant components (e.g. `ui-sidebar-menu`) read the resolved collapsed\n * state through dependency injection, so dropping a menu inside adapts it to the\n * rail automatically. Toggle the sidebar from anywhere with the\n * `[uiSidebarTrigger]` directive.\n *\n * @example\n * ```html\n * <button [uiSidebarTrigger]=\"sb\">Menu</button>\n * <ui-sidebar #sb collapsible ariaLabel=\"Navigation principale\">\n * <ng-template #header>…</ng-template>\n * <ui-sidebar-menu [items]=\"items\" />\n * <ng-template #footer>…</ng-template>\n * </ui-sidebar>\n * ```\n */\n@Component({\n selector: 'ui-sidebar',\n imports: [NgTemplateOutlet, A11yModule, UiMotion, UiIcon],\n templateUrl: './ui-sidebar.html',\n styleUrl: './ui-sidebar.scss',\n})\nexport class UiSidebar {\n /** Edge the sidebar docks to. */\n side = input<SidebarSide>('left');\n /** Presentation strategy (see {@link SidebarMode}). */\n mode = input<SidebarMode>('static');\n\n /** Allow folding to the icon rail (static mode). */\n collapsible = input(true, { transform: booleanAttribute });\n /** Icon-rail state (two-way). Only meaningful in static mode. */\n collapsed = model(false);\n\n /** Offcanvas open state (two-way). Only meaningful in overlay mode. */\n visible = model(false);\n\n /** A collapsed rail floats open on hover / focus (static mode). */\n openOnHover = input(false, { transform: booleanAttribute });\n\n /** Show the backdrop (dim + capture) and block background scroll — overlay only. */\n backdrop = input(true, { transform: booleanAttribute });\n /** Close on backdrop click / `Escape` — overlay only. */\n dismissable = input(true, { transform: booleanAttribute });\n /** Close the overlay when `Escape` is pressed. */\n closeOnEscape = input(true, { transform: booleanAttribute });\n /** Render the built-in close button in the overlay presentation. */\n showCloseButton = input(true, { transform: booleanAttribute });\n\n /**\n * Auto-switch a static sidebar to an overlay below `breakpoint`. Aligns with\n * the design-system breakpoint scale (`$breakpoint-*`).\n */\n responsive = input(false, { transform: booleanAttribute });\n /**\n * Viewport width under which a responsive sidebar becomes an offcanvas\n * overlay. Any CSS length; prefer a value from the breakpoint scale\n * (`tabletLandscape` 900px / `desktop` 1200px).\n */\n breakpoint = input<string>('1024px');\n\n /** Accessible name for the landmark region. */\n ariaLabel = input<string>();\n /** Id of an external element naming the region. */\n ariaLabelledBy = input<string>();\n\n /** FontAwesome name of the close button icon. */\n closeIcon = input<string>('xmark');\n /** Accessible name of the close button. */\n closeAriaLabel = input<string>('Fermer');\n\n /** Extra class(es) merged onto the panel surface. */\n styleClass = input<string>();\n\n /**\n * Scope the overlay presentation to the nearest positioned ancestor\n * (`position: absolute`) instead of the viewport, and skip the body scroll\n * lock. Useful to embed a sidebar inside a bounded region (docs previews,\n * split panels).\n */\n contained = input(false, { transform: booleanAttribute });\n\n /** Floor z-index for the overlay presentation. */\n baseZIndex = input(0, { transform: numberAttribute });\n /** Disable the open/close animation for this sidebar. */\n motionDisabled = input(false, { transform: booleanAttribute });\n\n /** Header region template (logo, workspace switcher…). */\n protected readonly headerTemplate = contentChild<TemplateRef<unknown>>('header');\n /** Footer region template (user card, actions…). */\n protected readonly footerTemplate = contentChild<TemplateRef<unknown>>('footer');\n\n /** Emitted after the overlay becomes visible. */\n shown = output<void>();\n /** Emitted after the overlay is hidden. */\n hidden = output<void>();\n\n /** @ignore */\n private readonly panelRef = viewChild<ElementRef<HTMLElement>>('panel');\n /** @ignore */\n private readonly document = inject(DOCUMENT);\n /** @ignore */\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n\n /** Stable id of the panel — referenced by `[uiSidebarTrigger]` (`aria-controls`). */\n readonly controlsId = `ui-sidebar-${nextUid++}`;\n /** @ignore */\n protected readonly titleId = `${this.controlsId}-title`;\n\n /** @ignore This instance currently holds a body scroll lock. */\n private locked = false;\n /** @ignore Pointer is over the panel (drives `openOnHover`). */\n private readonly hovering = signal(false);\n /** @ignore Viewport is below `breakpoint` (responsive switch). */\n private readonly belowBreakpoint = signal(false);\n\n /** True when the sidebar is presented as a floating overlay. */\n readonly isOverlay = computed(\n () => this.mode() === 'overlay' || (this.responsive() && this.belowBreakpoint()),\n );\n\n /**\n * Resolved icon-rail state exposed to descendants (menus). Always expanded in\n * the overlay presentation, and temporarily expanded while an `openOnHover`\n * rail is hovered / focused.\n */\n readonly effectiveCollapsed = computed(() => {\n if (this.isOverlay()) return false;\n if (!this.collapsed()) return false;\n return !(this.openOnHover() && this.hovering());\n });\n\n /** Whether the trigger should report an expanded state (`aria-expanded`). */\n readonly expanded = computed(() => (this.isOverlay() ? this.visible() : !this.collapsed()));\n\n /** @ignore Layout footprint follows the toggled state, never the hover float. */\n protected readonly railCollapsed = computed(() => !this.isOverlay() && this.collapsed());\n\n /** @ignore Panel is floating over the content (hover-expanded rail). */\n protected readonly floating = computed(\n () => this.openOnHover() && this.collapsed() && this.hovering() && !this.isOverlay(),\n );\n\n /** @ignore Classes applied to the panel surface. */\n protected readonly panelClasses = computed(() => {\n const c = ['ui-sidebar', `_${this.side()}`];\n if (this.effectiveCollapsed()) c.push('_collapsed');\n if (this.floating()) c.push('_floating');\n if (this.isOverlay()) c.push('_overlay');\n const extra = this.styleClass();\n if (extra) c.push(extra);\n return c.join(' ');\n });\n\n /** @ignore Directional slide preset for the overlay presentation. */\n protected readonly motionPreset = computed<UiMotionPreset>(() =>\n this.side() === 'right' ? 'slide-left' : 'slide-right',\n );\n\n /** @ignore Effective overlay stacking level. */\n protected readonly zIndex = computed(() => SIDEBAR_BASE_Z_INDEX + this.baseZIndex());\n\n /** @ignore Id naming the region (external id wins). */\n protected readonly labelledBy = computed(() => this.ariaLabelledBy() ?? null);\n /** @ignore Fallback accessible name. */\n protected readonly resolvedAriaLabel = computed(() =>\n this.labelledBy() ? null : (this.ariaLabel() ?? 'Navigation'),\n );\n\n constructor() {\n const destroyRef = inject(DestroyRef);\n let wasOpen = false;\n\n // Overlay lifecycle: scroll lock + show/hide events.\n effect(() => {\n const overlay = this.isOverlay();\n const open = overlay && this.visible();\n untracked(() => {\n if (open && !wasOpen) {\n wasOpen = true;\n if (this.isBrowser && this.backdrop() && !this.contained()) {\n lockBodyScroll(this.document);\n this.locked = true;\n }\n this.shown.emit();\n } else if (!open && wasOpen) {\n wasOpen = false;\n this.releaseLock();\n this.hidden.emit();\n }\n // `visible` is only meaningful in the overlay presentation: reset it once\n // the sidebar leaves that presentation (e.g. `responsive` crossing back\n // above `breakpoint`), otherwise it silently reopens as an overlay the\n // next time the breakpoint is crossed again.\n if (!overlay && this.visible()) {\n this.visible.set(false);\n }\n });\n });\n\n // Responsive: track the viewport against `breakpoint`.\n if (this.isBrowser) {\n effect((onCleanup) => {\n const query = this.mediaQuery();\n const mql = this.document.defaultView!.matchMedia(query);\n const apply = () => this.belowBreakpoint.set(mql.matches);\n apply();\n mql.addEventListener('change', apply);\n onCleanup(() => mql.removeEventListener('change', apply));\n });\n }\n\n // A11y safeguard: a landmark region needs an accessible name.\n if (isDevMode()) {\n effect(() => {\n if (!this.labelledBy() && !this.ariaLabel()) {\n // resolvedAriaLabel falls back to \"Navigation\"; warn so consumers set an explicit name.\n untracked(() => {\n console.warn(\n '[ui-sidebar] No explicit label: provide `ariaLabel` or `ariaLabelledBy` to name the navigation region.',\n );\n });\n }\n });\n }\n\n destroyRef.onDestroy(() => this.releaseLock());\n }\n\n /** @ignore Media query for the responsive switch (just under the breakpoint). */\n private readonly mediaQuery = computed(() => {\n const bp = this.breakpoint().trim();\n const match = /^(-?\\d*\\.?\\d+)px$/.exec(bp);\n if (match) {\n const px = parseFloat(match[1]) - 0.02;\n return `(max-width: ${px}px)`;\n }\n return `(max-width: ${bp})`;\n });\n\n /** Toggle the sidebar (visibility in overlay mode, collapse in static mode). */\n toggle(): void {\n if (this.isOverlay()) {\n this.visible.update((v) => !v);\n } else if (this.collapsible()) {\n this.collapsed.update((c) => !c);\n }\n }\n\n /** Open / expand the sidebar. */\n open(): void {\n if (this.isOverlay()) this.visible.set(true);\n else this.collapsed.set(false);\n }\n\n /** Close / collapse the sidebar. */\n close(): void {\n if (this.isOverlay()) this.visible.set(false);\n else if (this.collapsible()) this.collapsed.set(true);\n }\n\n /** Move focus onto the panel surface. */\n focus(): void {\n this.panelRef()?.nativeElement.focus();\n }\n\n /** @ignore Rail hover in/out (drives `openOnHover`). */\n protected onRailPointerEnter(): void {\n if (this.openOnHover()) this.hovering.set(true);\n }\n /** @ignore */\n protected onRailPointerLeave(): void {\n if (this.openOnHover()) this.hovering.set(false);\n }\n /** @ignore Keep the rail floating open while focus is inside it. */\n protected onRailFocusIn(): void {\n if (this.openOnHover()) this.hovering.set(true);\n }\n /** @ignore */\n protected onRailFocusOut(event: FocusEvent): void {\n if (!this.openOnHover()) return;\n const next = event.relatedTarget as Node | null;\n const rail = event.currentTarget as HTMLElement;\n if (!next || !rail.contains(next)) this.hovering.set(false);\n }\n\n /** @ignore Escape-to-close (overlay, bubbles from inside the panel). */\n protected onKeydown(event: KeyboardEvent): void {\n if (event.key === 'Escape' && this.closeOnEscape() && this.dismissable()) {\n event.stopPropagation();\n this.visible.set(false);\n }\n }\n\n /** @ignore Backdrop click dismiss (overlay). */\n protected onBackdropPointerdown(event: PointerEvent): void {\n if (!this.dismissable()) return;\n if (event.target === event.currentTarget) this.visible.set(false);\n }\n\n /** @ignore Release this instance's scroll lock, if held. */\n private releaseLock(): void {\n if (this.locked) {\n unlockBodyScroll(this.document);\n this.locked = false;\n }\n }\n}\n","@if (isOverlay()) {\n <!-- Overlay (offcanvas) presentation: rendered only while open so the panel\n animates its slide on insert/removal. Backdrop + positioner are SIBLINGS\n (both direct @if children) so each runs its own leave independently. -->\n @if (visible()) {\n @if (backdrop()) {\n <div\n class=\"ui-sidebar-backdrop\"\n [class._contained]=\"contained()\"\n [style.z-index]=\"zIndex()\"\n [uiMotion]=\"'fade'\"\n [motionDisabled]=\"motionDisabled()\"\n #backdropMotion=\"uiMotion\"\n [animate.enter]=\"backdropMotion.enter()\"\n [animate.leave]=\"backdropMotion.leave()\"\n (pointerdown)=\"onBackdropPointerdown($event)\"\n ></div>\n }\n\n <!-- Escape handled on the container, focus lives in the panel content. -->\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -->\n <div\n class=\"ui-sidebar-positioner\"\n [class._left]=\"side() === 'left'\"\n [class._right]=\"side() === 'right'\"\n [class._contained]=\"contained()\"\n [style.z-index]=\"zIndex()\"\n [uiMotion]=\"motionPreset()\"\n [motionDistance]=\"'100%'\"\n [motionDisabled]=\"motionDisabled()\"\n #posMotion=\"uiMotion\"\n [animate.enter]=\"posMotion.enter()\"\n [animate.leave]=\"posMotion.leave()\"\n (keydown)=\"onKeydown($event)\"\n >\n <aside\n #panel\n [class]=\"panelClasses()\"\n [attr.id]=\"controlsId\"\n [attr.aria-modal]=\"'true'\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-labelledby]=\"labelledBy()\"\n tabindex=\"-1\"\n [cdkTrapFocus]=\"true\"\n [cdkTrapFocusAutoCapture]=\"true\"\n >\n <ng-container [ngTemplateOutlet]=\"shell\" />\n </aside>\n </div>\n }\n} @else {\n <!-- Static presentation: an in-flow rail reserves the layout footprint while\n the absolutely-positioned panel can float wider than the rail on hover. -->\n <div\n class=\"ui-sidebar-rail\"\n [class._collapsed]=\"railCollapsed()\"\n [class._left]=\"side() === 'left'\"\n [class._right]=\"side() === 'right'\"\n (pointerenter)=\"onRailPointerEnter()\"\n (pointerleave)=\"onRailPointerLeave()\"\n (focusin)=\"onRailFocusIn()\"\n (focusout)=\"onRailFocusOut($event)\"\n >\n <aside\n #panel\n [class]=\"panelClasses()\"\n [attr.id]=\"controlsId\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-labelledby]=\"labelledBy()\"\n tabindex=\"-1\"\n >\n <ng-container [ngTemplateOutlet]=\"shell\" />\n </aside>\n </div>\n}\n\n<!-- Shared interior: header slot + scrollable body (projected) + footer slot.\n Instantiated by exactly one presentation at a time. -->\n<ng-template #shell>\n @if (isOverlay() && showCloseButton()) {\n <button\n type=\"button\"\n class=\"ui-sidebar-close\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"visible.set(false)\"\n >\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n </button>\n }\n\n @if (headerTemplate(); as tpl) {\n <div class=\"ui-sidebar-header\">\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: effectiveCollapsed(), collapsed: effectiveCollapsed() }\"\n />\n </div>\n }\n\n <div class=\"ui-sidebar-body\">\n <ng-content />\n </div>\n\n @if (footerTemplate(); as tpl) {\n <div class=\"ui-sidebar-footer\">\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{ $implicit: effectiveCollapsed(), collapsed: effectiveCollapsed() }\"\n />\n </div>\n }\n</ng-template>\n","import { booleanAttribute, Component, computed, inject, input, model, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { RouterLink, RouterLinkActive } from '@angular/router';\nimport { UiFeedbackLevel, UiSubLevel } from '@4sh/ui-kit/types';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\nimport { UiBadge } from '@4sh/ui-kit/informative/ui-badge';\nimport { UiTooltip } from '@4sh/ui-kit/informative/ui-tooltip';\nimport { UiSidebar } from './ui-sidebar';\n\n/** Menu density. */\nexport type SidebarMenuSize = 'default' | 'small';\n\n/** Payload emitted by `itemClick` / passed to `command`. */\nexport interface UiSidebarMenuItemCommandEvent {\n originalEvent: Event;\n item: UiSidebarMenuItem;\n}\n\n/**\n * Declarative sidebar navigation entry. An item is either a separator, a leaf\n * (command / router / external link), a plain **section** (a labelled group of\n * items) or a collapsible **group** (`toggleable`) revealing a nested sub-tree.\n */\nexport interface UiSidebarMenuItem {\n /** Stable identifier — drives expansion state and active tracking. */\n id?: string;\n /** Text of the item / group header. */\n label?: string;\n /** Leading FontAwesome icon name (also shown in the collapsed rail). */\n icon?: string;\n /** Child items: turns the entry into a section or collapsible group. */\n items?: UiSidebarMenuItem[];\n /** Render a separator rule instead of a regular entry. */\n separator?: boolean;\n /** Disable the entry (skipped by pointer / keyboard). */\n disabled?: boolean;\n /** Hide the entry entirely (default visible). */\n visible?: boolean;\n /** Callback invoked when the leaf is activated. */\n command?: (event: UiSidebarMenuItemCommandEvent) => void;\n /** Angular router target — the leaf renders a RouterLink anchor. */\n routerLink?: string | unknown[];\n /** Router query params (routerLink mode). */\n queryParams?: Record<string, unknown>;\n /** Exact matching for the active-link style (default false). */\n routerLinkActiveExact?: boolean;\n /** External URL — the leaf renders a plain anchor. */\n url?: string;\n /** Anchor target (e.g. `_blank`). */\n target?: string;\n /** Manual active state (for non-router navigation). */\n active?: boolean;\n /** Trailing badge text (count, status…), rendered as a `ui-badge`. */\n badge?: string;\n /** Level of the trailing badge (defaults to `default`). */\n badgeLevel?: UiFeedbackLevel;\n /** Force the trailing \"opens elsewhere\" icon (auto for `target=\"_blank\"`). */\n external?: boolean;\n /**\n * Collapsible group header. Defaults to `false` at the top level (a plain\n * section header) and `true` for nested groups. Ignored on non-group items.\n */\n toggleable?: boolean;\n /** Initial expanded state of a collapsible group (`expandedKeys` wins). */\n expanded?: boolean;\n /** Accessible name override. */\n ariaLabel?: string;\n /** Extra class on the entry. */\n styleClass?: string;\n}\n\n/** @ignore Resolved render node. */\ninterface UiSidebarMenuNode {\n item: UiSidebarMenuItem;\n key: string;\n kind: 'separator' | 'section' | 'group' | 'item';\n children: UiSidebarMenuNode[];\n depth: number;\n /** A descendant is marked active (drives auto-expand + `_active-within`). */\n activeWithin: boolean;\n}\n\n/**\n * ui-sidebar-menu — declarative navigation menu for `ui-sidebar`.\n *\n * Renders a `UiSidebarMenuItem[]` model as an accessible navigation landmark:\n * a `<nav>` wrapping semantic `role=\"list\"` / `role=\"listitem\"` containers.\n * Supports labelled **sections** (grouped navigation), **collapsible groups**\n * (`toggleable`) revealing deep nested sub-trees with expansion state\n * (two-way `expandedKeys`), and per-item **active tracking** (RouterLink for\n * router items, `active` for manual navigation — groups containing an active\n * descendant auto-expand).\n *\n * Dropped inside a `ui-sidebar`, it reads the resolved collapsed state through\n * DI and folds to an **icon rail** automatically (labels hidden, icon tooltips).\n * Used standalone, control the rail with the `collapsed` input.\n *\n * Keyboard support is native: `Tab` / `Shift+Tab` move between the links,\n * toggles and rails; `Enter` / `Space` activate the focused control.\n */\n@Component({\n selector: 'ui-sidebar-menu',\n imports: [NgTemplateOutlet, RouterLink, RouterLinkActive, UiIcon, UiBadge, UiTooltip],\n templateUrl: './ui-sidebar-menu.html',\n styleUrl: './ui-sidebar-menu.scss',\n})\nexport class UiSidebarMenu {\n /** Declarative menu model. */\n items = input<UiSidebarMenuItem[]>([]);\n /** Navigation token family. */\n level = input<UiSubLevel>('high');\n /** Menu density. */\n size = input<SidebarMenuSize>('default');\n /** Icon-rail state when used standalone (a parent `ui-sidebar` overrides it). */\n collapsed = input(false, { transform: booleanAttribute });\n /** Accessible name for the navigation landmark. */\n ariaLabel = input<string>();\n /** Id of an external element naming the landmark. */\n ariaLabelledBy = input<string>();\n /** Play the collapse animation on nested groups. */\n motion = input(true, { transform: booleanAttribute });\n /**\n * In the collapsed icon rail, reveal each item's label as a tooltip on hover /\n * focus (via the `[uiTooltip]` directive). No effect when expanded.\n */\n tooltips = input(false, { transform: booleanAttribute });\n\n /** Expanded group keys (two-way). Keyed by `id`, or a positional key. */\n expandedKeys = model<string[]>();\n\n /** Emitted when a leaf item is activated. */\n itemClick = output<UiSidebarMenuItemCommandEvent>();\n\n /** @ignore Optional host sidebar — supplies the resolved collapsed state. */\n private readonly parent = inject(UiSidebar, { optional: true });\n\n /** @ignore Effective icon-rail state (parent sidebar wins). */\n protected readonly isCollapsed = computed(() => this.parent?.effectiveCollapsed() ?? this.collapsed());\n\n /** @ignore Show label tooltips (collapsed rail + `tooltips` enabled). */\n protected readonly showTooltips = computed(() => this.tooltips() && this.isCollapsed());\n\n /** @ignore Leaf opens elsewhere → trailing external icon (expanded only). */\n protected isExternal(node: UiSidebarMenuNode): boolean {\n return node.kind === 'item' && (node.item.external === true || node.item.target === '_blank');\n }\n\n /** @ignore Resolved render tree. */\n protected readonly nodes = computed(() => this.resolve(this.items(), 0, 'n'));\n\n /** @ignore Keys of groups seeded expanded (item.expanded or active descendant). */\n private readonly seedKeys = computed(() => {\n const keys: string[] = [];\n const walk = (nodes: UiSidebarMenuNode[]): void => {\n for (const node of nodes) {\n if (node.kind === 'group' && (node.item.expanded || node.activeWithin)) keys.push(node.key);\n if (node.children.length) walk(node.children);\n }\n };\n walk(this.nodes());\n return keys;\n });\n\n /** @ignore Currently expanded group keys. */\n protected readonly expandedSet = computed(() => new Set(this.expandedKeys() ?? this.seedKeys()));\n\n /** @ignore */\n protected isExpanded(node: UiSidebarMenuNode): boolean {\n return this.expandedSet().has(node.key);\n }\n\n /** @ignore Toggle a collapsible group. */\n protected onToggle(node: UiSidebarMenuNode): void {\n if (node.item.disabled) return;\n const next = new Set(this.expandedSet());\n if (next.has(node.key)) next.delete(node.key);\n else next.add(node.key);\n this.expandedKeys.set([...next]);\n }\n\n /** @ignore Leaf activation (command items). */\n protected onItemClick(event: Event, node: UiSidebarMenuNode): void {\n if (node.item.disabled) return;\n node.item.command?.({ originalEvent: event, item: node.item });\n this.itemClick.emit({ originalEvent: event, item: node.item });\n }\n\n /** @ignore Accessible name / tooltip target for the collapsed rail. */\n protected railTitle(node: UiSidebarMenuNode): string | null {\n return this.isCollapsed() ? (node.item.ariaLabel ?? node.item.label ?? null) : (node.item.ariaLabel ?? null);\n }\n\n /** @ignore Resolve the raw model into render nodes. */\n private resolve(items: UiSidebarMenuItem[], depth: number, prefix: string): UiSidebarMenuNode[] {\n const nodes: UiSidebarMenuNode[] = [];\n items.forEach((item, index) => {\n if (item.visible === false) return;\n const key = item.id ?? `${prefix}-${index}`;\n if (item.separator) {\n nodes.push({ item, key, kind: 'separator', children: [], depth, activeWithin: false });\n return;\n }\n const hasChildren = !!item.items?.length;\n if (hasChildren) {\n const children = this.resolve(item.items!, depth + 1, key);\n const toggleable = item.toggleable ?? depth > 0;\n const activeWithin = children.some((c) => c.item.active || c.activeWithin);\n nodes.push({\n item,\n key,\n kind: toggleable ? 'group' : 'section',\n children,\n depth,\n activeWithin,\n });\n return;\n }\n nodes.push({ item, key, kind: 'item', children: [], depth, activeWithin: false });\n });\n return nodes;\n }\n}\n","<nav\n [class]=\"'ui-sidebar-menu _' + level() + (size() !== 'default' ? ' _' + size() : '') + (isCollapsed() ? ' _collapsed' : '') + (motion() ? '' : ' _no-motion')\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n>\n <ul class=\"ui-sidebar-menu-list\" role=\"list\">\n <ng-container [ngTemplateOutlet]=\"nodesTpl\" [ngTemplateOutletContext]=\"{ $implicit: nodes() }\" />\n </ul>\n</nav>\n\n<!-- Recursive node list (separator | section | collapsible group | leaf). -->\n<ng-template #nodesTpl let-nodes>\n @for (node of nodes; track node.key) {\n @switch (node.kind) {\n @case ('separator') {\n <li class=\"ui-sidebar-menu-separator\" role=\"separator\" aria-hidden=\"true\"></li>\n }\n\n @case ('section') {\n <li class=\"ui-sidebar-menu-section\" role=\"listitem\" [class]=\"node.item.styleClass ?? ''\">\n <span class=\"ui-sidebar-menu-section-header\" [attr.id]=\"node.key + '-h'\">\n @if (node.item.icon; as icon) {\n <ui-icon class=\"ui-sidebar-menu-icon\" [name]=\"icon\" size=\"sm\" />\n }\n <span class=\"ui-sidebar-menu-label\">{{ node.item.label }}</span>\n </span>\n <ul class=\"ui-sidebar-menu-sub\" role=\"list\" [attr.aria-labelledby]=\"node.key + '-h'\">\n <ng-container [ngTemplateOutlet]=\"nodesTpl\" [ngTemplateOutletContext]=\"{ $implicit: node.children }\" />\n </ul>\n </li>\n }\n\n @case ('group') {\n <li\n class=\"ui-sidebar-menu-entry\"\n role=\"listitem\"\n [class._active-within]=\"node.activeWithin\"\n [class]=\"node.item.styleClass ?? ''\"\n >\n <button\n type=\"button\"\n class=\"ui-sidebar-menu-action _toggle\"\n [attr.aria-expanded]=\"isExpanded(node)\"\n [attr.aria-controls]=\"node.key + '-g'\"\n [attr.aria-label]=\"railTitle(node)\"\n [attr.title]=\"showTooltips() ? null : railTitle(node)\"\n [uiTooltip]=\"node.item.label || ''\"\n [tooltipDisabled]=\"!showTooltips()\"\n tooltipPosition=\"right\"\n [disabled]=\"node.item.disabled ?? false\"\n (click)=\"onToggle(node)\"\n >\n @if (node.item.icon; as icon) {\n <ui-icon class=\"ui-sidebar-menu-icon\" [name]=\"icon\" size=\"sm\" />\n }\n <span class=\"ui-sidebar-menu-label\">{{ node.item.label }}</span>\n @if (node.item.badge; as badge) {\n <ui-badge class=\"ui-sidebar-menu-badge\" [value]=\"badge\" [level]=\"node.item.badgeLevel ?? 'default'\" size=\"small\" />\n }\n <!-- `_open` (not `_expanded`: a global width:100% helper class exists). -->\n <ui-icon class=\"ui-sidebar-menu-chevron\" [class._open]=\"isExpanded(node)\" name=\"chevron-down\" size=\"sm\" />\n </button>\n\n <div\n class=\"ui-sidebar-menu-collapse\"\n [class._open]=\"isExpanded(node)\"\n [attr.id]=\"node.key + '-g'\"\n [attr.inert]=\"isExpanded(node) ? null : ''\"\n >\n <div class=\"ui-sidebar-menu-collapse-inner\">\n <ul class=\"ui-sidebar-menu-sub _nested\" role=\"list\">\n <ng-container [ngTemplateOutlet]=\"nodesTpl\" [ngTemplateOutletContext]=\"{ $implicit: node.children }\" />\n </ul>\n </div>\n </div>\n </li>\n }\n\n @case ('item') {\n <li class=\"ui-sidebar-menu-entry\" role=\"listitem\" [class]=\"node.item.styleClass ?? ''\">\n <ng-template #content>\n @if (node.item.icon; as icon) {\n <ui-icon class=\"ui-sidebar-menu-icon\" [name]=\"icon\" size=\"sm\" />\n }\n <span class=\"ui-sidebar-menu-label\">{{ node.item.label }}</span>\n @if (isExternal(node)) {\n <ui-icon class=\"ui-sidebar-menu-external\" name=\"arrow-up-right-from-square\" size=\"sm\" aria-hidden=\"true\" />\n }\n @if (node.item.badge; as badge) {\n <ui-badge class=\"ui-sidebar-menu-badge\" [value]=\"badge\" [level]=\"node.item.badgeLevel ?? 'default'\" size=\"small\" />\n }\n </ng-template>\n\n @if (node.item.routerLink !== undefined && !node.item.disabled) {\n <a\n class=\"ui-sidebar-menu-action\"\n [routerLink]=\"node.item.routerLink\"\n [queryParams]=\"node.item.queryParams ?? null\"\n routerLinkActive=\"_active\"\n [ariaCurrentWhenActive]=\"'page'\"\n [routerLinkActiveOptions]=\"{ exact: node.item.routerLinkActiveExact ?? false }\"\n [attr.target]=\"node.item.target || null\"\n [attr.aria-label]=\"railTitle(node)\"\n [attr.title]=\"showTooltips() ? null : railTitle(node)\"\n [uiTooltip]=\"node.item.label || ''\"\n [tooltipDisabled]=\"!showTooltips()\"\n tooltipPosition=\"right\"\n (click)=\"onItemClick($event, node)\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n } @else if (node.item.url && !node.item.disabled) {\n <a\n class=\"ui-sidebar-menu-action\"\n [class._active]=\"node.item.active\"\n [attr.href]=\"node.item.url\"\n [attr.target]=\"node.item.target || null\"\n [attr.rel]=\"node.item.target === '_blank' ? 'noopener noreferrer' : null\"\n [attr.aria-label]=\"railTitle(node)\"\n [attr.title]=\"showTooltips() ? null : railTitle(node)\"\n [uiTooltip]=\"node.item.label || ''\"\n [tooltipDisabled]=\"!showTooltips()\"\n tooltipPosition=\"right\"\n [attr.aria-current]=\"node.item.active ? 'page' : null\"\n (click)=\"onItemClick($event, node)\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n } @else {\n <button\n type=\"button\"\n class=\"ui-sidebar-menu-action\"\n [class._active]=\"node.item.active\"\n [attr.aria-current]=\"node.item.active ? 'true' : null\"\n [attr.aria-label]=\"railTitle(node)\"\n [attr.title]=\"showTooltips() ? null : railTitle(node)\"\n [uiTooltip]=\"node.item.label || ''\"\n [tooltipDisabled]=\"!showTooltips()\"\n tooltipPosition=\"right\"\n [disabled]=\"node.item.disabled ?? false\"\n (click)=\"onItemClick($event, node)\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </button>\n }\n </li>\n }\n }\n }\n</ng-template>\n","import { afterRenderEffect, Directive, ElementRef, inject, input } from '@angular/core';\nimport { UiSidebar } from './ui-sidebar';\n\n/**\n * uiSidebarTrigger — toggles a `ui-sidebar` from any element.\n *\n * Wires the accessibility contract between a control (button, menu item, rail…)\n * and the sidebar it operates: reflects `aria-controls` (the panel id) and\n * `aria-expanded` (the resolved open/collapsed state), and toggles on\n * activation. Enter / Space come for free on a native `<button>`.\n *\n * The directive is often placed on a `ui-button` host (a component, not a native\n * `<button>`): the ARIA attributes are applied to the actual interactive\n * descendant (native `<button>`/`<a>`/`[role=button]`), never to the wrapper\n * custom element, so assistive tech reads them off the real accessible node —\n * same convention as `ui-popover`'s trigger handling.\n *\n * @example\n * ```html\n * <button [uiSidebarTrigger]=\"sb\" aria-label=\"Basculer le menu\">☰</button>\n * <ui-sidebar #sb>…</ui-sidebar>\n * ```\n */\n@Directive({\n selector: '[uiSidebarTrigger]',\n host: {\n '(click)': 'onToggle()',\n },\n})\nexport class UiSidebarTrigger {\n /** The sidebar this control toggles (e.g. `[uiSidebarTrigger]=\"sb\"`). */\n sidebar = input.required<UiSidebar>({ alias: 'uiSidebarTrigger' });\n\n /** @ignore */\n private readonly hostEl: HTMLElement = inject(ElementRef).nativeElement;\n\n constructor() {\n // `afterRenderEffect`, not `effect`: the interactive descendant (e.g. a\n // `ui-button`'s inner `<button>`) only exists once the host component's own\n // view has rendered, which happens after this directive's construction.\n afterRenderEffect(() => {\n const sidebar = this.sidebar();\n const el = this.resolveInteractiveEl();\n el.setAttribute('aria-controls', sidebar.controlsId);\n el.setAttribute('aria-expanded', String(sidebar.expanded()));\n });\n }\n\n /** @ignore */\n protected onToggle(): void {\n this.sidebar().toggle();\n }\n\n /** @ignore The real interactive node when hosted on a component wrapper (e.g. `ui-button`). */\n private resolveInteractiveEl(): HTMLElement {\n return this.hostEl.querySelector<HTMLElement>('button, a[href], [role=\"button\"]') ?? this.hostEl;\n }\n}\n","/*\n * Public API Surface of ui-kit/ui-sidebar\n */\n\nexport * from './lib/ui-sidebar-menu';\nexport * from './lib/ui-sidebar-trigger';\nexport * from './lib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,iBAAA;;;AC5BD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"4sh-ui-kit-navigation-ui-sidebar.mjs","sources":["../../../projects/ui-kit/navigation/ui-sidebar/src/lib/ui-sidebar.ts","../../../projects/ui-kit/navigation/ui-sidebar/src/lib/ui-sidebar.html","../../../projects/ui-kit/navigation/ui-sidebar/src/lib/ui-sidebar-menu.ts","../../../projects/ui-kit/navigation/ui-sidebar/src/lib/ui-sidebar-menu.html","../../../projects/ui-kit/navigation/ui-sidebar/src/lib/ui-sidebar-trigger.ts","../../../projects/ui-kit/navigation/ui-sidebar/src/public-api.ts","../../../projects/ui-kit/navigation/ui-sidebar/src/4sh-ui-kit-navigation-ui-sidebar.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n contentChild,\n DestroyRef,\n effect,\n ElementRef,\n inject,\n input,\n isDevMode,\n model,\n numberAttribute,\n output,\n PLATFORM_ID,\n signal,\n TemplateRef,\n untracked,\n viewChild,\n} from '@angular/core';\nimport { DOCUMENT, isPlatformBrowser, NgTemplateOutlet } from '@angular/common';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { UiMotion, UiMotionPreset } from '@4sh/ui-kit/motion';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\n\n/** Edge the sidebar is docked to. */\nexport type SidebarSide = 'left' | 'right';\n\n/**\n * Layout strategy:\n * - `static` — the sidebar lives in the page flow and pushes the inset. It can\n * collapse to an icon rail (`collapsed`).\n * - `overlay` — the sidebar floats over the content as an offcanvas panel with a\n * backdrop, driven by the two-way `visible` model.\n *\n * With `responsive` enabled, a `static` sidebar automatically switches to\n * `overlay` below `breakpoint` (mobile offcanvas), and back to the static rail\n * above it.\n */\nexport type SidebarMode = 'static' | 'overlay';\n\n/** Base stacking level for the overlay presentation. */\nconst SIDEBAR_BASE_Z_INDEX = 1000;\n\n/** Process-wide unique id source (aria wiring). */\nlet nextUid = 0;\n\n// --- Body scroll lock (ref-counted, shared across overlay sidebars) -------\nlet scrollLockCount = 0;\nlet savedOverflow = '';\nlet savedPaddingRight = '';\n\n/** Freeze background scroll, compensating the scrollbar gutter to avoid a shift. */\nfunction lockBodyScroll(doc: Document): void {\n if (scrollLockCount === 0) {\n const body = doc.body;\n const gap = (doc.defaultView?.innerWidth ?? 0) - doc.documentElement.clientWidth;\n savedOverflow = body.style.overflow;\n savedPaddingRight = body.style.paddingRight;\n body.style.overflow = 'hidden';\n if (gap > 0) body.style.paddingRight = `${gap}px`;\n }\n scrollLockCount++;\n}\n\n/** Release one scroll lock; restore the body when the last overlay closes. */\nfunction unlockBodyScroll(doc: Document): void {\n scrollLockCount = Math.max(0, scrollLockCount - 1);\n if (scrollLockCount === 0) {\n doc.body.style.overflow = savedOverflow;\n doc.body.style.paddingRight = savedPaddingRight;\n }\n}\n\n/**\n * ui-sidebar — headless application sidebar (navigation chrome).\n *\n * A token-styled vertical surface docked to the `left` or `right` edge, meant to\n * host application navigation (workspace switcher, menus, user footer). Two\n * presentations share the exact same interior:\n *\n * - **Static** (default): the sidebar sits in the layout flow and pushes the\n * page inset. When `collapsible`, it folds down to an icon **rail**\n * (`collapsed`, two-way). With `openOnHover`, a collapsed rail temporarily\n * floats open on hover / focus without shifting the content.\n * - **Overlay**: the sidebar floats over the content as an offcanvas panel with\n * an optional `backdrop`, driven by the two-way `visible` model — focus trap\n * and restore (`@angular/cdk/a11y`), `aria-modal`, background scroll lock,\n * `Escape` to close and an optional click-outside dismiss.\n *\n * With `responsive`, a static sidebar automatically becomes an overlay below\n * `breakpoint` (mobile offcanvas) and returns to the rail above it.\n *\n * Descendant components (e.g. `ui-sidebar-menu`) read the resolved collapsed\n * state through dependency injection, so dropping a menu inside adapts it to the\n * rail automatically. Toggle the sidebar from anywhere with the\n * `[uiSidebarTrigger]` directive.\n *\n * @example\n * ```html\n * <button [uiSidebarTrigger]=\"sb\">Menu</button>\n * <ui-sidebar #sb collapsible ariaLabel=\"Navigation principale\">\n * <ng-template #header>…</ng-template>\n * <ui-sidebar-menu [items]=\"items\" />\n * <ng-template #footer>…</ng-template>\n * </ui-sidebar>\n * ```\n */\n@Component({\n selector: 'ui-sidebar',\n imports: [NgTemplateOutlet, A11yModule, UiMotion, UiIcon],\n templateUrl: './ui-sidebar.html',\n styleUrl: './ui-sidebar.scss',\n})\nexport class UiSidebar {\n /** Edge the sidebar docks to. */\n side = input<SidebarSide>('left');\n /** Presentation strategy (see {@link SidebarMode}). */\n mode = input<SidebarMode>('static');\n\n /** Allow folding to the icon rail (static mode). */\n collapsible = input(true, { transform: booleanAttribute });\n /** Icon-rail state (two-way). Only meaningful in static mode. */\n collapsed = model(false);\n\n /** Offcanvas open state (two-way). Only meaningful in overlay mode. */\n visible = model(false);\n\n /** A collapsed rail floats open on hover / focus (static mode). */\n openOnHover = input(false, { transform: booleanAttribute });\n\n /** Show the backdrop (dim + capture) and block background scroll — overlay only. */\n backdrop = input(true, { transform: booleanAttribute });\n /** Close on backdrop click / `Escape` — overlay only. */\n dismissable = input(true, { transform: booleanAttribute });\n /** Close the overlay when `Escape` is pressed. */\n closeOnEscape = input(true, { transform: booleanAttribute });\n /** Render the built-in close button in the overlay presentation. */\n showCloseButton = input(true, { transform: booleanAttribute });\n\n /**\n * Auto-switch a static sidebar to an overlay below `breakpoint`. Aligns with\n * the design-system breakpoint scale (`$breakpoint-*`).\n */\n responsive = input(false, { transform: booleanAttribute });\n /**\n * Viewport width under which a responsive sidebar becomes an offcanvas\n * overlay. Any CSS length; prefer a value from the breakpoint scale\n * (`tabletLandscape` 900px / `desktop` 1200px).\n */\n breakpoint = input<string>('1024px');\n\n /** Accessible name for the landmark region. */\n ariaLabel = input<string>();\n /** Id of an external element naming the region. */\n ariaLabelledBy = input<string>();\n\n /** FontAwesome name of the close button icon. */\n closeIcon = input<string>('xmark');\n /** Accessible name of the close button. */\n closeAriaLabel = input<string>('Fermer');\n\n /** Extra class(es) merged onto the panel surface. */\n styleClass = input<string>();\n\n /**\n * Scope the overlay presentation to the nearest positioned ancestor\n * (`position: absolute`) instead of the viewport, and skip the body scroll\n * lock. Useful to embed a sidebar inside a bounded region (docs previews,\n * split panels).\n */\n contained = input(false, { transform: booleanAttribute });\n\n /** Floor z-index for the overlay presentation. */\n baseZIndex = input(0, { transform: numberAttribute });\n /** Disable the open/close animation for this sidebar. */\n motionDisabled = input(false, { transform: booleanAttribute });\n\n /** Header region template (logo, workspace switcher…). */\n protected readonly headerTemplate = contentChild<TemplateRef<unknown>>('header');\n /** Footer region template (user card, actions…). */\n protected readonly footerTemplate = contentChild<TemplateRef<unknown>>('footer');\n\n /** Emitted after the overlay becomes visible. */\n shown = output<void>();\n /** Emitted after the overlay is hidden. */\n hidden = output<void>();\n\n /** @ignore */\n private readonly panelRef = viewChild<ElementRef<HTMLElement>>('panel');\n /** @ignore */\n private readonly document = inject(DOCUMENT);\n /** @ignore */\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n\n /** Stable id of the panel — referenced by `[uiSidebarTrigger]` (`aria-controls`). */\n readonly controlsId = `ui-sidebar-${nextUid++}`;\n /** @ignore */\n protected readonly titleId = `${this.controlsId}-title`;\n\n /** @ignore This instance currently holds a body scroll lock. */\n private locked = false;\n /** @ignore Pointer is over the panel (drives `openOnHover`). */\n private readonly hovering = signal(false);\n /** @ignore Viewport is below `breakpoint` (responsive switch). */\n private readonly belowBreakpoint = signal(false);\n\n /** True when the sidebar is presented as a floating overlay. */\n readonly isOverlay = computed(\n () => this.mode() === 'overlay' || (this.responsive() && this.belowBreakpoint()),\n );\n\n /**\n * Resolved icon-rail state exposed to descendants (menus). Always expanded in\n * the overlay presentation, and temporarily expanded while an `openOnHover`\n * rail is hovered / focused.\n */\n readonly effectiveCollapsed = computed(() => {\n if (this.isOverlay()) return false;\n if (!this.collapsed()) return false;\n return !(this.openOnHover() && this.hovering());\n });\n\n /** Whether the trigger should report an expanded state (`aria-expanded`). */\n readonly expanded = computed(() => (this.isOverlay() ? this.visible() : !this.collapsed()));\n\n /** @ignore Layout footprint follows the toggled state, never the hover float. */\n protected readonly railCollapsed = computed(() => !this.isOverlay() && this.collapsed());\n\n /** @ignore Panel is floating over the content (hover-expanded rail). */\n protected readonly floating = computed(\n () => this.openOnHover() && this.collapsed() && this.hovering() && !this.isOverlay(),\n );\n\n /** @ignore Classes applied to the panel surface. */\n protected readonly panelClasses = computed(() => {\n const c = ['ui-sidebar', `_${this.side()}`];\n if (this.effectiveCollapsed()) c.push('_collapsed');\n if (this.floating()) c.push('_floating');\n if (this.isOverlay()) c.push('_overlay');\n const extra = this.styleClass();\n if (extra) c.push(extra);\n return c.join(' ');\n });\n\n /** @ignore Directional slide preset for the overlay presentation. */\n protected readonly motionPreset = computed<UiMotionPreset>(() =>\n this.side() === 'right' ? 'slide-left' : 'slide-right',\n );\n\n /** @ignore Effective overlay stacking level. */\n protected readonly zIndex = computed(() => SIDEBAR_BASE_Z_INDEX + this.baseZIndex());\n\n /** @ignore Id naming the region (external id wins). */\n protected readonly labelledBy = computed(() => this.ariaLabelledBy() ?? null);\n /** @ignore Fallback accessible name. */\n protected readonly resolvedAriaLabel = computed(() =>\n this.labelledBy() ? null : (this.ariaLabel() ?? 'Navigation'),\n );\n\n constructor() {\n const destroyRef = inject(DestroyRef);\n let wasOpen = false;\n\n // Overlay lifecycle: scroll lock + show/hide events.\n effect(() => {\n const overlay = this.isOverlay();\n const open = overlay && this.visible();\n untracked(() => {\n if (open && !wasOpen) {\n wasOpen = true;\n if (this.isBrowser && this.backdrop() && !this.contained()) {\n lockBodyScroll(this.document);\n this.locked = true;\n }\n this.shown.emit();\n } else if (!open && wasOpen) {\n wasOpen = false;\n this.releaseLock();\n this.hidden.emit();\n }\n // `visible` is only meaningful in the overlay presentation: reset it once\n // the sidebar leaves that presentation (e.g. `responsive` crossing back\n // above `breakpoint`), otherwise it silently reopens as an overlay the\n // next time the breakpoint is crossed again.\n if (!overlay && this.visible()) {\n this.visible.set(false);\n }\n });\n });\n\n // Responsive: track the viewport against `breakpoint`.\n if (this.isBrowser) {\n effect((onCleanup) => {\n const query = this.mediaQuery();\n const mql = this.document.defaultView!.matchMedia(query);\n const apply = () => this.belowBreakpoint.set(mql.matches);\n apply();\n mql.addEventListener('change', apply);\n onCleanup(() => mql.removeEventListener('change', apply));\n });\n }\n\n // A11y safeguard: a landmark region needs an accessible name.\n if (isDevMode()) {\n effect(() => {\n if (!this.labelledBy() && !this.ariaLabel()) {\n // resolvedAriaLabel falls back to \"Navigation\"; warn so consumers set an explicit name.\n untracked(() => {\n console.warn(\n '[ui-sidebar] No explicit label: provide `ariaLabel` or `ariaLabelledBy` to name the navigation region.',\n );\n });\n }\n });\n }\n\n destroyRef.onDestroy(() => this.releaseLock());\n }\n\n /** @ignore Media query for the responsive switch (just under the breakpoint). */\n private readonly mediaQuery = computed(() => {\n const bp = this.breakpoint().trim();\n const match = /^(-?\\d*\\.?\\d+)px$/.exec(bp);\n if (match) {\n const px = parseFloat(match[1]) - 0.02;\n return `(max-width: ${px}px)`;\n }\n return `(max-width: ${bp})`;\n });\n\n /** Toggle the sidebar (visibility in overlay mode, collapse in static mode). */\n toggle(): void {\n if (this.isOverlay()) {\n this.visible.update((v) => !v);\n } else if (this.collapsible()) {\n this.collapsed.update((c) => !c);\n }\n }\n\n /** Open / expand the sidebar. */\n open(): void {\n if (this.isOverlay()) this.visible.set(true);\n else this.collapsed.set(false);\n }\n\n /** Close / collapse the sidebar. */\n close(): void {\n if (this.isOverlay()) this.visible.set(false);\n else if (this.collapsible()) this.collapsed.set(true);\n }\n\n /** Move focus onto the panel surface. */\n focus(): void {\n this.panelRef()?.nativeElement.focus();\n }\n\n /** @ignore Rail hover in/out (drives `openOnHover`). */\n protected onRailPointerEnter(): void {\n if (this.openOnHover()) this.hovering.set(true);\n }\n /** @ignore */\n protected onRailPointerLeave(): void {\n if (this.openOnHover()) this.hovering.set(false);\n }\n /** @ignore Keep the rail floating open while focus is inside it. */\n protected onRailFocusIn(): void {\n if (this.openOnHover()) this.hovering.set(true);\n }\n /** @ignore */\n protected onRailFocusOut(event: FocusEvent): void {\n if (!this.openOnHover()) return;\n const next = event.relatedTarget as Node | null;\n const rail = event.currentTarget as HTMLElement;\n if (!next || !rail.contains(next)) this.hovering.set(false);\n }\n\n /** @ignore Escape-to-close (overlay, bubbles from inside the panel). */\n protected onKeydown(event: KeyboardEvent): void {\n if (event.key === 'Escape' && this.closeOnEscape() && this.dismissable()) {\n event.stopPropagation();\n this.visible.set(false);\n }\n }\n\n /** @ignore Backdrop click dismiss (overlay). */\n protected onBackdropPointerdown(event: PointerEvent): void {\n if (!this.dismissable()) return;\n if (event.target === event.currentTarget) this.visible.set(false);\n }\n\n /** @ignore Release this instance's scroll lock, if held. */\n private releaseLock(): void {\n if (this.locked) {\n unlockBodyScroll(this.document);\n this.locked = false;\n }\n }\n}\n","@if (isOverlay()) {\n <!-- Overlay (offcanvas) presentation: rendered only while open so the panel\n animates its slide on insert/removal. Backdrop + positioner are SIBLINGS\n (both direct @if children) so each runs its own leave independently. -->\n @if (visible()) {\n @if (backdrop()) {\n <div\n class=\"ui-sidebar-backdrop\"\n [class._contained]=\"contained()\"\n [style.z-index]=\"zIndex()\"\n [uiMotion]=\"'fade'\"\n [motionDisabled]=\"motionDisabled()\"\n #backdropMotion=\"uiMotion\"\n [animate.enter]=\"backdropMotion.enter()\"\n [animate.leave]=\"backdropMotion.leave()\"\n (pointerdown)=\"onBackdropPointerdown($event)\"\n ></div>\n }\n\n <!-- Escape handled on the container, focus lives in the panel content. -->\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -->\n <div\n class=\"ui-sidebar-positioner\"\n [class._left]=\"side() === 'left'\"\n [class._right]=\"side() === 'right'\"\n [class._contained]=\"contained()\"\n [style.z-index]=\"zIndex()\"\n [uiMotion]=\"motionPreset()\"\n [motionDistance]=\"'100%'\"\n [motionDisabled]=\"motionDisabled()\"\n #posMotion=\"uiMotion\"\n [animate.enter]=\"posMotion.enter()\"\n [animate.leave]=\"posMotion.leave()\"\n (keydown)=\"onKeydown($event)\"\n >\n <aside\n #panel\n [class]=\"panelClasses()\"\n [attr.id]=\"controlsId\"\n [attr.aria-modal]=\"'true'\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-labelledby]=\"labelledBy()\"\n tabindex=\"-1\"\n [cdkTrapFocus]=\"true\"\n [cdkTrapFocusAutoCapture]=\"true\"\n >\n <ng-container [ngTemplateOutlet]=\"shell\" />\n </aside>\n </div>\n }\n} @else {\n <!-- Static presentation: an in-flow rail reserves the layout footprint while\n the absolutely-positioned panel can float wider than the rail on hover. -->\n <div\n class=\"ui-sidebar-rail\"\n [class._collapsed]=\"railCollapsed()\"\n [class._left]=\"side() === 'left'\"\n [class._right]=\"side() === 'right'\"\n (pointerenter)=\"onRailPointerEnter()\"\n (pointerleave)=\"onRailPointerLeave()\"\n (focusin)=\"onRailFocusIn()\"\n (focusout)=\"onRailFocusOut($event)\"\n >\n <aside\n #panel\n [class]=\"panelClasses()\"\n [attr.id]=\"controlsId\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-labelledby]=\"labelledBy()\"\n tabindex=\"-1\"\n >\n <ng-container [ngTemplateOutlet]=\"shell\" />\n </aside>\n </div>\n}\n\n<!-- Shared interior: header slot + scrollable body (projected) + footer slot.\n Instantiated by exactly one presentation at a time. -->\n<ng-template #shell>\n @if (isOverlay() && showCloseButton()) {\n <button\n type=\"button\"\n class=\"ui-sidebar-close\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"visible.set(false)\"\n >\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n </button>\n }\n\n @if (headerTemplate(); as tpl) {\n <div class=\"ui-sidebar-header\">\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: effectiveCollapsed(),\n collapsed: effectiveCollapsed(),\n }\"\n />\n </div>\n }\n\n <div class=\"ui-sidebar-body\">\n <ng-content />\n </div>\n\n @if (footerTemplate(); as tpl) {\n <div class=\"ui-sidebar-footer\">\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"{\n $implicit: effectiveCollapsed(),\n collapsed: effectiveCollapsed(),\n }\"\n />\n </div>\n }\n</ng-template>\n","import { booleanAttribute, Component, computed, inject, input, model, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { RouterLink, RouterLinkActive } from '@angular/router';\nimport { UiFeedbackLevel, UiSubLevel } from '@4sh/ui-kit/types';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\nimport { UiBadge } from '@4sh/ui-kit/informative/ui-badge';\nimport { UiTooltip } from '@4sh/ui-kit/informative/ui-tooltip';\nimport { UiSidebar } from './ui-sidebar';\n\n/** Menu density. */\nexport type SidebarMenuSize = 'default' | 'small';\n\n/** Payload emitted by `itemClick` / passed to `command`. */\nexport interface UiSidebarMenuItemCommandEvent {\n originalEvent: Event;\n item: UiSidebarMenuItem;\n}\n\n/**\n * Declarative sidebar navigation entry. An item is either a separator, a leaf\n * (command / router / external link), a plain **section** (a labelled group of\n * items) or a collapsible **group** (`toggleable`) revealing a nested sub-tree.\n */\nexport interface UiSidebarMenuItem {\n /** Stable identifier — drives expansion state and active tracking. */\n id?: string;\n /** Text of the item / group header. */\n label?: string;\n /** Leading FontAwesome icon name (also shown in the collapsed rail). */\n icon?: string;\n /** Child items: turns the entry into a section or collapsible group. */\n items?: UiSidebarMenuItem[];\n /** Render a separator rule instead of a regular entry. */\n separator?: boolean;\n /** Disable the entry (skipped by pointer / keyboard). */\n disabled?: boolean;\n /** Hide the entry entirely (default visible). */\n visible?: boolean;\n /** Callback invoked when the leaf is activated. */\n command?: (event: UiSidebarMenuItemCommandEvent) => void;\n /** Angular router target — the leaf renders a RouterLink anchor. */\n routerLink?: string | unknown[];\n /** Router query params (routerLink mode). */\n queryParams?: Record<string, unknown>;\n /** Exact matching for the active-link style (default false). */\n routerLinkActiveExact?: boolean;\n /** External URL — the leaf renders a plain anchor. */\n url?: string;\n /** Anchor target (e.g. `_blank`). */\n target?: string;\n /** Manual active state (for non-router navigation). */\n active?: boolean;\n /** Trailing badge text (count, status…), rendered as a `ui-badge`. */\n badge?: string;\n /** Level of the trailing badge (defaults to `default`). */\n badgeLevel?: UiFeedbackLevel;\n /** Force the trailing \"opens elsewhere\" icon (auto for `target=\"_blank\"`). */\n external?: boolean;\n /**\n * Collapsible group header. Defaults to `false` at the top level (a plain\n * section header) and `true` for nested groups. Ignored on non-group items.\n */\n toggleable?: boolean;\n /** Initial expanded state of a collapsible group (`expandedKeys` wins). */\n expanded?: boolean;\n /** Accessible name override. */\n ariaLabel?: string;\n /** Extra class on the entry. */\n styleClass?: string;\n}\n\n/** @ignore Resolved render node. */\ninterface UiSidebarMenuNode {\n item: UiSidebarMenuItem;\n key: string;\n kind: 'separator' | 'section' | 'group' | 'item';\n children: UiSidebarMenuNode[];\n depth: number;\n /** A descendant is marked active (drives auto-expand + `_active-within`). */\n activeWithin: boolean;\n}\n\n/**\n * ui-sidebar-menu — declarative navigation menu for `ui-sidebar`.\n *\n * Renders a `UiSidebarMenuItem[]` model as an accessible navigation landmark:\n * a `<nav>` wrapping semantic `role=\"list\"` / `role=\"listitem\"` containers.\n * Supports labelled **sections** (grouped navigation), **collapsible groups**\n * (`toggleable`) revealing deep nested sub-trees with expansion state\n * (two-way `expandedKeys`), and per-item **active tracking** (RouterLink for\n * router items, `active` for manual navigation — groups containing an active\n * descendant auto-expand).\n *\n * Dropped inside a `ui-sidebar`, it reads the resolved collapsed state through\n * DI and folds to an **icon rail** automatically (labels hidden, icon tooltips).\n * Used standalone, control the rail with the `collapsed` input.\n *\n * Keyboard support is native: `Tab` / `Shift+Tab` move between the links,\n * toggles and rails; `Enter` / `Space` activate the focused control.\n */\n@Component({\n selector: 'ui-sidebar-menu',\n imports: [NgTemplateOutlet, RouterLink, RouterLinkActive, UiIcon, UiBadge, UiTooltip],\n templateUrl: './ui-sidebar-menu.html',\n styleUrl: './ui-sidebar-menu.scss',\n})\nexport class UiSidebarMenu {\n /** Declarative menu model. */\n items = input<UiSidebarMenuItem[]>([]);\n /** Navigation token family. */\n level = input<UiSubLevel>('high');\n /** Menu density. */\n size = input<SidebarMenuSize>('default');\n /** Icon-rail state when used standalone (a parent `ui-sidebar` overrides it). */\n collapsed = input(false, { transform: booleanAttribute });\n /** Accessible name for the navigation landmark. */\n ariaLabel = input<string>();\n /** Id of an external element naming the landmark. */\n ariaLabelledBy = input<string>();\n /** Play the collapse animation on nested groups. */\n motion = input(true, { transform: booleanAttribute });\n /**\n * In the collapsed icon rail, reveal each item's label as a tooltip on hover /\n * focus (via the `[uiTooltip]` directive). No effect when expanded.\n */\n tooltips = input(false, { transform: booleanAttribute });\n\n /** Expanded group keys (two-way). Keyed by `id`, or a positional key. */\n expandedKeys = model<string[]>();\n\n /** Emitted when a leaf item is activated. */\n itemClick = output<UiSidebarMenuItemCommandEvent>();\n\n /** @ignore Optional host sidebar — supplies the resolved collapsed state. */\n private readonly parent = inject(UiSidebar, { optional: true });\n\n /** @ignore Effective icon-rail state (parent sidebar wins). */\n protected readonly isCollapsed = computed(\n () => this.parent?.effectiveCollapsed() ?? this.collapsed(),\n );\n\n /** @ignore Show label tooltips (collapsed rail + `tooltips` enabled). */\n protected readonly showTooltips = computed(() => this.tooltips() && this.isCollapsed());\n\n /** @ignore Leaf opens elsewhere → trailing external icon (expanded only). */\n protected isExternal(node: UiSidebarMenuNode): boolean {\n return node.kind === 'item' && (node.item.external === true || node.item.target === '_blank');\n }\n\n /** @ignore Resolved render tree. */\n protected readonly nodes = computed(() => this.resolve(this.items(), 0, 'n'));\n\n /** @ignore Keys of groups seeded expanded (item.expanded or active descendant). */\n private readonly seedKeys = computed(() => {\n const keys: string[] = [];\n const walk = (nodes: UiSidebarMenuNode[]): void => {\n for (const node of nodes) {\n if (node.kind === 'group' && (node.item.expanded || node.activeWithin)) keys.push(node.key);\n if (node.children.length) walk(node.children);\n }\n };\n walk(this.nodes());\n return keys;\n });\n\n /** @ignore Currently expanded group keys. */\n protected readonly expandedSet = computed(() => new Set(this.expandedKeys() ?? this.seedKeys()));\n\n /** @ignore */\n protected isExpanded(node: UiSidebarMenuNode): boolean {\n return this.expandedSet().has(node.key);\n }\n\n /** @ignore Toggle a collapsible group. */\n protected onToggle(node: UiSidebarMenuNode): void {\n if (node.item.disabled) return;\n const next = new Set(this.expandedSet());\n if (next.has(node.key)) next.delete(node.key);\n else next.add(node.key);\n this.expandedKeys.set([...next]);\n }\n\n /** @ignore Leaf activation (command items). */\n protected onItemClick(event: Event, node: UiSidebarMenuNode): void {\n if (node.item.disabled) return;\n node.item.command?.({ originalEvent: event, item: node.item });\n this.itemClick.emit({ originalEvent: event, item: node.item });\n }\n\n /** @ignore Accessible name / tooltip target for the collapsed rail. */\n protected railTitle(node: UiSidebarMenuNode): string | null {\n return this.isCollapsed()\n ? (node.item.ariaLabel ?? node.item.label ?? null)\n : (node.item.ariaLabel ?? null);\n }\n\n /** @ignore Resolve the raw model into render nodes. */\n private resolve(items: UiSidebarMenuItem[], depth: number, prefix: string): UiSidebarMenuNode[] {\n const nodes: UiSidebarMenuNode[] = [];\n items.forEach((item, index) => {\n if (item.visible === false) return;\n const key = item.id ?? `${prefix}-${index}`;\n if (item.separator) {\n nodes.push({ item, key, kind: 'separator', children: [], depth, activeWithin: false });\n return;\n }\n const hasChildren = !!item.items?.length;\n if (hasChildren) {\n const children = this.resolve(item.items!, depth + 1, key);\n const toggleable = item.toggleable ?? depth > 0;\n const activeWithin = children.some((c) => c.item.active || c.activeWithin);\n nodes.push({\n item,\n key,\n kind: toggleable ? 'group' : 'section',\n children,\n depth,\n activeWithin,\n });\n return;\n }\n nodes.push({ item, key, kind: 'item', children: [], depth, activeWithin: false });\n });\n return nodes;\n }\n}\n","<nav\n [class]=\"\n 'ui-sidebar-menu _' +\n level() +\n (size() !== 'default' ? ' _' + size() : '') +\n (isCollapsed() ? ' _collapsed' : '') +\n (motion() ? '' : ' _no-motion')\n \"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n>\n <ul class=\"ui-sidebar-menu-list\" role=\"list\">\n <ng-container\n [ngTemplateOutlet]=\"nodesTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: nodes() }\"\n />\n </ul>\n</nav>\n\n<!-- Recursive node list (separator | section | collapsible group | leaf). -->\n<ng-template #nodesTpl let-nodes>\n @for (node of nodes; track node.key) {\n @switch (node.kind) {\n @case ('separator') {\n <li class=\"ui-sidebar-menu-separator\" role=\"separator\" aria-hidden=\"true\"></li>\n }\n\n @case ('section') {\n <li class=\"ui-sidebar-menu-section\" role=\"listitem\" [class]=\"node.item.styleClass ?? ''\">\n <span class=\"ui-sidebar-menu-section-header\" [attr.id]=\"node.key + '-h'\">\n @if (node.item.icon; as icon) {\n <ui-icon class=\"ui-sidebar-menu-icon\" [name]=\"icon\" size=\"sm\" />\n }\n <span class=\"ui-sidebar-menu-label\">{{ node.item.label }}</span>\n </span>\n <ul class=\"ui-sidebar-menu-sub\" role=\"list\" [attr.aria-labelledby]=\"node.key + '-h'\">\n <ng-container\n [ngTemplateOutlet]=\"nodesTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: node.children }\"\n />\n </ul>\n </li>\n }\n\n @case ('group') {\n <li\n class=\"ui-sidebar-menu-entry\"\n role=\"listitem\"\n [class._active-within]=\"node.activeWithin\"\n [class]=\"node.item.styleClass ?? ''\"\n >\n <button\n type=\"button\"\n class=\"ui-sidebar-menu-action _toggle\"\n [attr.aria-expanded]=\"isExpanded(node)\"\n [attr.aria-controls]=\"node.key + '-g'\"\n [attr.aria-label]=\"railTitle(node)\"\n [attr.title]=\"showTooltips() ? null : railTitle(node)\"\n [uiTooltip]=\"node.item.label || ''\"\n [tooltipDisabled]=\"!showTooltips()\"\n tooltipPosition=\"right\"\n [disabled]=\"node.item.disabled ?? false\"\n (click)=\"onToggle(node)\"\n >\n @if (node.item.icon; as icon) {\n <ui-icon class=\"ui-sidebar-menu-icon\" [name]=\"icon\" size=\"sm\" />\n }\n <span class=\"ui-sidebar-menu-label\">{{ node.item.label }}</span>\n @if (node.item.badge; as badge) {\n <ui-badge\n class=\"ui-sidebar-menu-badge\"\n [value]=\"badge\"\n [level]=\"node.item.badgeLevel ?? 'default'\"\n size=\"small\"\n />\n }\n <!-- `_open` (not `_expanded`: a global width:100% helper class exists). -->\n <ui-icon\n class=\"ui-sidebar-menu-chevron\"\n [class._open]=\"isExpanded(node)\"\n name=\"chevron-down\"\n size=\"sm\"\n />\n </button>\n\n <div\n class=\"ui-sidebar-menu-collapse\"\n [class._open]=\"isExpanded(node)\"\n [attr.id]=\"node.key + '-g'\"\n [attr.inert]=\"isExpanded(node) ? null : ''\"\n >\n <div class=\"ui-sidebar-menu-collapse-inner\">\n <ul class=\"ui-sidebar-menu-sub _nested\" role=\"list\">\n <ng-container\n [ngTemplateOutlet]=\"nodesTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: node.children }\"\n />\n </ul>\n </div>\n </div>\n </li>\n }\n\n @case ('item') {\n <li class=\"ui-sidebar-menu-entry\" role=\"listitem\" [class]=\"node.item.styleClass ?? ''\">\n <ng-template #content>\n @if (node.item.icon; as icon) {\n <ui-icon class=\"ui-sidebar-menu-icon\" [name]=\"icon\" size=\"sm\" />\n }\n <span class=\"ui-sidebar-menu-label\">{{ node.item.label }}</span>\n @if (isExternal(node)) {\n <ui-icon\n class=\"ui-sidebar-menu-external\"\n name=\"arrow-up-right-from-square\"\n size=\"sm\"\n aria-hidden=\"true\"\n />\n }\n @if (node.item.badge; as badge) {\n <ui-badge\n class=\"ui-sidebar-menu-badge\"\n [value]=\"badge\"\n [level]=\"node.item.badgeLevel ?? 'default'\"\n size=\"small\"\n />\n }\n </ng-template>\n\n @if (node.item.routerLink !== undefined && !node.item.disabled) {\n <a\n class=\"ui-sidebar-menu-action\"\n [routerLink]=\"node.item.routerLink\"\n [queryParams]=\"node.item.queryParams ?? null\"\n routerLinkActive=\"_active\"\n [ariaCurrentWhenActive]=\"'page'\"\n [routerLinkActiveOptions]=\"{ exact: node.item.routerLinkActiveExact ?? false }\"\n [attr.target]=\"node.item.target || null\"\n [attr.aria-label]=\"railTitle(node)\"\n [attr.title]=\"showTooltips() ? null : railTitle(node)\"\n [uiTooltip]=\"node.item.label || ''\"\n [tooltipDisabled]=\"!showTooltips()\"\n tooltipPosition=\"right\"\n (click)=\"onItemClick($event, node)\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n } @else if (node.item.url && !node.item.disabled) {\n <a\n class=\"ui-sidebar-menu-action\"\n [class._active]=\"node.item.active\"\n [attr.href]=\"node.item.url\"\n [attr.target]=\"node.item.target || null\"\n [attr.rel]=\"node.item.target === '_blank' ? 'noopener noreferrer' : null\"\n [attr.aria-label]=\"railTitle(node)\"\n [attr.title]=\"showTooltips() ? null : railTitle(node)\"\n [uiTooltip]=\"node.item.label || ''\"\n [tooltipDisabled]=\"!showTooltips()\"\n tooltipPosition=\"right\"\n [attr.aria-current]=\"node.item.active ? 'page' : null\"\n (click)=\"onItemClick($event, node)\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </a>\n } @else {\n <button\n type=\"button\"\n class=\"ui-sidebar-menu-action\"\n [class._active]=\"node.item.active\"\n [attr.aria-current]=\"node.item.active ? 'true' : null\"\n [attr.aria-label]=\"railTitle(node)\"\n [attr.title]=\"showTooltips() ? null : railTitle(node)\"\n [uiTooltip]=\"node.item.label || ''\"\n [tooltipDisabled]=\"!showTooltips()\"\n tooltipPosition=\"right\"\n [disabled]=\"node.item.disabled ?? false\"\n (click)=\"onItemClick($event, node)\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n </button>\n }\n </li>\n }\n }\n }\n</ng-template>\n","import { afterRenderEffect, Directive, ElementRef, inject, input } from '@angular/core';\nimport { UiSidebar } from './ui-sidebar';\n\n/**\n * uiSidebarTrigger — toggles a `ui-sidebar` from any element.\n *\n * Wires the accessibility contract between a control (button, menu item, rail…)\n * and the sidebar it operates: reflects `aria-controls` (the panel id) and\n * `aria-expanded` (the resolved open/collapsed state), and toggles on\n * activation. Enter / Space come for free on a native `<button>`.\n *\n * The directive is often placed on a `ui-button` host (a component, not a native\n * `<button>`): the ARIA attributes are applied to the actual interactive\n * descendant (native `<button>`/`<a>`/`[role=button]`), never to the wrapper\n * custom element, so assistive tech reads them off the real accessible node —\n * same convention as `ui-popover`'s trigger handling.\n *\n * @example\n * ```html\n * <button [uiSidebarTrigger]=\"sb\" aria-label=\"Basculer le menu\">☰</button>\n * <ui-sidebar #sb>…</ui-sidebar>\n * ```\n */\n@Directive({\n selector: '[uiSidebarTrigger]',\n host: {\n '(click)': 'onToggle()',\n },\n})\nexport class UiSidebarTrigger {\n /** The sidebar this control toggles (e.g. `[uiSidebarTrigger]=\"sb\"`). */\n sidebar = input.required<UiSidebar>({ alias: 'uiSidebarTrigger' });\n\n /** @ignore */\n private readonly hostEl: HTMLElement = inject(ElementRef).nativeElement;\n\n constructor() {\n // `afterRenderEffect`, not `effect`: the interactive descendant (e.g. a\n // `ui-button`'s inner `<button>`) only exists once the host component's own\n // view has rendered, which happens after this directive's construction.\n afterRenderEffect(() => {\n const sidebar = this.sidebar();\n const el = this.resolveInteractiveEl();\n el.setAttribute('aria-controls', sidebar.controlsId);\n el.setAttribute('aria-expanded', String(sidebar.expanded()));\n });\n }\n\n /** @ignore */\n protected onToggle(): void {\n this.sidebar().toggle();\n }\n\n /** @ignore The real interactive node when hosted on a component wrapper (e.g. `ui-button`). */\n private resolveInteractiveEl(): HTMLElement {\n return (\n this.hostEl.querySelector<HTMLElement>('button, a[href], [role=\"button\"]') ?? this.hostEl\n );\n }\n}\n","/*\n * Public API Surface of ui-kit/ui-sidebar\n */\n\nexport * from './lib/ui-sidebar-menu';\nexport * from './lib/ui-sidebar-trigger';\nexport * from './lib/ui-sidebar';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;AAyCA;AACA,MAAM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
74
74
  }
75
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStep, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
76
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiStep, isStandalone: true, selector: "ui-step", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { properties: { "class._active": "state() === 'active'", "class._completed": "state() === 'completed'", "class._vertical": "stepper.orientation() === 'vertical'", "class._disabled": "isDisabled()", "class._last": "isLastStep()" }, classAttribute: "ui-step" }, ngImport: i0, template: "<button\n #stepBtn\n type=\"button\"\n role=\"tab\"\n class=\"ui-step-header\"\n [id]=\"stepper.stepId(value())\"\n [attr.aria-controls]=\"stepper.panelId(value())\"\n [attr.aria-selected]=\"state() === 'active'\"\n [attr.aria-current]=\"state() === 'active' ? 'step' : null\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [disabled]=\"isDisabled()\"\n [attr.tabindex]=\"isDisabled() ? null : stepper.tabindex()\"\n (click)=\"onClick($event)\"\n>\n <span class=\"ui-step-marker\" aria-hidden=\"true\">\n @if (markerIcon(); as name) {\n <ui-icon [name]=\"name\" size=\"default\" />\n } @else {\n {{ number() }}\n }\n </span>\n <span class=\"ui-step-title\"><ng-content /></span>\n</button>\n\n@if (showSeparator()) {\n <span class=\"ui-step-separator\" aria-hidden=\"true\" [class._completed]=\"separatorCompleted()\"></span>\n}\n", styles: [":host{display:flex;flex:1 1 0;align-items:flex-start;min-width:0}:host._last{flex:0 0 auto}.ui-step-header{display:inline-flex;flex-direction:column;align-items:center;gap:var(--units-sm);flex:0 0 auto;margin:0;padding:0;border:0;background:transparent;cursor:pointer;text-align:center}.ui-step-header:disabled{cursor:not-allowed}.ui-step-header:focus-visible{outline:none}.ui-step-marker{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--ui-stepper-marker-size, 2.75rem);height:var(--ui-stepper-marker-size, 2.75rem);flex:0 0 auto;border:var(--ui-stepper-marker-stroke-width, var(--stroke-sm)) solid var(--navigation-high-stroke-default);border-radius:var(--radius-full);background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-weight:var(--weight-bold);font-size:var(--size-typography-text-default);line-height:1;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),border-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-title{width:0;display:flex;justify-content:center;white-space:nowrap;color:var(--navigation-high-content-default);font-family:var(--fontfamily-title);font-size:var(--size-typography-title-sm);line-height:1.2;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-header:focus-visible .ui-step-marker{box-shadow:0 0 0 var(--ui-stepper-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--global-border-focus)}.ui-step-separator{flex:1 1 auto;min-width:var(--units-lg);height:0;margin:calc(var(--ui-stepper-marker-size, 2.75rem) / 2 - var(--ui-stepper-separator-stroke-width, var(--stroke-default)) / 2) var(--units-sm) 0;border-top:var(--ui-stepper-separator-stroke-width, var(--stroke-default)) solid var(--global-border-default);transition:border-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-separator._completed{border-top-color:var(--navigation-high-stroke-default)}:host._active .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-active);color:var(--informative-defaulthigh-content-default)}:host._active .ui-step-title{color:var(--global-text-default);font-weight:var(--weight-bold)}:host._completed .ui-step-marker{background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default)}.ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-hover);border-color:var(--navigation-high-stroke-hover);color:var(--navigation-high-content-hover)}.ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--informative-defaulthigh-surface-hover);border-color:var(--informative-defaulthigh-stroke-hover);color:var(--informative-defaulthigh-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-defaultlow-content-default)}:host._disabled .ui-step-marker{background-color:var(--navigation-high-surface-disabled);border-color:var(--navigation-high-stroke-disabled);color:var(--navigation-high-content-disabled)}:host._disabled .ui-step-title{color:var(--navigation-high-content-disabled)}:host._vertical{display:block}:host._vertical .ui-step-header{flex-direction:row;align-items:center;gap:var(--units-sm);width:100%;text-align:left}:host._vertical .ui-step-title{width:auto;display:block;white-space:normal}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
75
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiStep, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
76
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: UiStep, isStandalone: true, selector: "ui-step", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { properties: { "class._active": "state() === 'active'", "class._completed": "state() === 'completed'", "class._vertical": "stepper.orientation() === 'vertical'", "class._disabled": "isDisabled()", "class._last": "isLastStep()" }, classAttribute: "ui-step" }, ngImport: i0, template: "<button\n #stepBtn\n type=\"button\"\n role=\"tab\"\n class=\"ui-step-header\"\n [id]=\"stepper.stepId(value())\"\n [attr.aria-controls]=\"stepper.panelId(value())\"\n [attr.aria-selected]=\"state() === 'active'\"\n [attr.aria-current]=\"state() === 'active' ? 'step' : null\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [disabled]=\"isDisabled()\"\n [attr.tabindex]=\"isDisabled() ? null : stepper.tabindex()\"\n (click)=\"onClick($event)\"\n>\n <span class=\"ui-step-marker\" aria-hidden=\"true\">\n @if (markerIcon(); as name) {\n <ui-icon [name]=\"name\" size=\"default\" />\n } @else {\n {{ number() }}\n }\n </span>\n <span class=\"ui-step-title\"><ng-content /></span>\n</button>\n\n@if (showSeparator()) {\n <span\n class=\"ui-step-separator\"\n aria-hidden=\"true\"\n [class._completed]=\"separatorCompleted()\"\n ></span>\n}\n", styles: [":host{display:flex;flex:1 1 0;align-items:flex-start;min-width:0}:host._last{flex:0 0 auto}.ui-step-header{display:inline-flex;flex-direction:column;align-items:center;gap:var(--units-sm);flex:0 0 auto;margin:0;padding:0;border:0;background:transparent;cursor:pointer;text-align:center}.ui-step-header:disabled{cursor:not-allowed}.ui-step-header:focus-visible{outline:none}.ui-step-marker{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--ui-stepper-marker-size, 2.75rem);height:var(--ui-stepper-marker-size, 2.75rem);flex:0 0 auto;border:var(--ui-stepper-marker-stroke-width, var(--stroke-sm)) solid var(--navigation-high-stroke-default);border-radius:var(--radius-full);background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-weight:var(--weight-bold);font-size:var(--size-typography-text-default);line-height:1;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),border-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-title{width:0;display:flex;justify-content:center;white-space:nowrap;color:var(--navigation-high-content-default);font-family:var(--fontfamily-title);font-size:var(--size-typography-title-sm);line-height:1.2;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-header:focus-visible .ui-step-marker{box-shadow:0 0 0 var(--ui-stepper-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--global-border-focus)}.ui-step-separator{flex:1 1 auto;min-width:var(--units-lg);height:0;margin:calc(var(--ui-stepper-marker-size, 2.75rem) / 2 - var(--ui-stepper-separator-stroke-width, var(--stroke-default)) / 2) var(--units-sm) 0;border-top:var(--ui-stepper-separator-stroke-width, var(--stroke-default)) solid var(--global-border-default);transition:border-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-separator._completed{border-top-color:var(--navigation-high-stroke-default)}:host._active .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-active);color:var(--informative-defaulthigh-content-default)}:host._active .ui-step-title{color:var(--global-text-default);font-weight:var(--weight-bold)}:host._completed .ui-step-marker{background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default)}.ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-hover);border-color:var(--navigation-high-stroke-hover);color:var(--navigation-high-content-hover)}.ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--informative-defaulthigh-surface-hover);border-color:var(--informative-defaulthigh-stroke-hover);color:var(--informative-defaulthigh-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-defaultlow-content-default)}:host._disabled .ui-step-marker{background-color:var(--navigation-high-surface-disabled);border-color:var(--navigation-high-stroke-disabled);color:var(--navigation-high-content-disabled)}:host._disabled .ui-step-title{color:var(--navigation-high-content-disabled)}:host._vertical{display:block}:host._vertical .ui-step-header{flex-direction:row;align-items:center;gap:var(--units-sm);width:100%;text-align:left}:host._vertical .ui-step-title{width:auto;display:block;white-space:normal}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
77
77
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStep, decorators: [{
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiStep, decorators: [{
79
79
  type: Component,
80
80
  args: [{ selector: 'ui-step', imports: [UiIcon], host: {
81
81
  class: 'ui-step',
@@ -84,7 +84,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
84
84
  '[class._vertical]': "stepper.orientation() === 'vertical'",
85
85
  '[class._disabled]': 'isDisabled()',
86
86
  '[class._last]': 'isLastStep()',
87
- }, template: "<button\n #stepBtn\n type=\"button\"\n role=\"tab\"\n class=\"ui-step-header\"\n [id]=\"stepper.stepId(value())\"\n [attr.aria-controls]=\"stepper.panelId(value())\"\n [attr.aria-selected]=\"state() === 'active'\"\n [attr.aria-current]=\"state() === 'active' ? 'step' : null\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [disabled]=\"isDisabled()\"\n [attr.tabindex]=\"isDisabled() ? null : stepper.tabindex()\"\n (click)=\"onClick($event)\"\n>\n <span class=\"ui-step-marker\" aria-hidden=\"true\">\n @if (markerIcon(); as name) {\n <ui-icon [name]=\"name\" size=\"default\" />\n } @else {\n {{ number() }}\n }\n </span>\n <span class=\"ui-step-title\"><ng-content /></span>\n</button>\n\n@if (showSeparator()) {\n <span class=\"ui-step-separator\" aria-hidden=\"true\" [class._completed]=\"separatorCompleted()\"></span>\n}\n", styles: [":host{display:flex;flex:1 1 0;align-items:flex-start;min-width:0}:host._last{flex:0 0 auto}.ui-step-header{display:inline-flex;flex-direction:column;align-items:center;gap:var(--units-sm);flex:0 0 auto;margin:0;padding:0;border:0;background:transparent;cursor:pointer;text-align:center}.ui-step-header:disabled{cursor:not-allowed}.ui-step-header:focus-visible{outline:none}.ui-step-marker{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--ui-stepper-marker-size, 2.75rem);height:var(--ui-stepper-marker-size, 2.75rem);flex:0 0 auto;border:var(--ui-stepper-marker-stroke-width, var(--stroke-sm)) solid var(--navigation-high-stroke-default);border-radius:var(--radius-full);background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-weight:var(--weight-bold);font-size:var(--size-typography-text-default);line-height:1;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),border-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-title{width:0;display:flex;justify-content:center;white-space:nowrap;color:var(--navigation-high-content-default);font-family:var(--fontfamily-title);font-size:var(--size-typography-title-sm);line-height:1.2;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-header:focus-visible .ui-step-marker{box-shadow:0 0 0 var(--ui-stepper-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--global-border-focus)}.ui-step-separator{flex:1 1 auto;min-width:var(--units-lg);height:0;margin:calc(var(--ui-stepper-marker-size, 2.75rem) / 2 - var(--ui-stepper-separator-stroke-width, var(--stroke-default)) / 2) var(--units-sm) 0;border-top:var(--ui-stepper-separator-stroke-width, var(--stroke-default)) solid var(--global-border-default);transition:border-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-separator._completed{border-top-color:var(--navigation-high-stroke-default)}:host._active .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-active);color:var(--informative-defaulthigh-content-default)}:host._active .ui-step-title{color:var(--global-text-default);font-weight:var(--weight-bold)}:host._completed .ui-step-marker{background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default)}.ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-hover);border-color:var(--navigation-high-stroke-hover);color:var(--navigation-high-content-hover)}.ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--informative-defaulthigh-surface-hover);border-color:var(--informative-defaulthigh-stroke-hover);color:var(--informative-defaulthigh-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-defaultlow-content-default)}:host._disabled .ui-step-marker{background-color:var(--navigation-high-surface-disabled);border-color:var(--navigation-high-stroke-disabled);color:var(--navigation-high-content-disabled)}:host._disabled .ui-step-title{color:var(--navigation-high-content-disabled)}:host._vertical{display:block}:host._vertical .ui-step-header{flex-direction:row;align-items:center;gap:var(--units-sm);width:100%;text-align:left}:host._vertical .ui-step-title{width:auto;display:block;white-space:normal}\n"] }]
87
+ }, template: "<button\n #stepBtn\n type=\"button\"\n role=\"tab\"\n class=\"ui-step-header\"\n [id]=\"stepper.stepId(value())\"\n [attr.aria-controls]=\"stepper.panelId(value())\"\n [attr.aria-selected]=\"state() === 'active'\"\n [attr.aria-current]=\"state() === 'active' ? 'step' : null\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [disabled]=\"isDisabled()\"\n [attr.tabindex]=\"isDisabled() ? null : stepper.tabindex()\"\n (click)=\"onClick($event)\"\n>\n <span class=\"ui-step-marker\" aria-hidden=\"true\">\n @if (markerIcon(); as name) {\n <ui-icon [name]=\"name\" size=\"default\" />\n } @else {\n {{ number() }}\n }\n </span>\n <span class=\"ui-step-title\"><ng-content /></span>\n</button>\n\n@if (showSeparator()) {\n <span\n class=\"ui-step-separator\"\n aria-hidden=\"true\"\n [class._completed]=\"separatorCompleted()\"\n ></span>\n}\n", styles: [":host{display:flex;flex:1 1 0;align-items:flex-start;min-width:0}:host._last{flex:0 0 auto}.ui-step-header{display:inline-flex;flex-direction:column;align-items:center;gap:var(--units-sm);flex:0 0 auto;margin:0;padding:0;border:0;background:transparent;cursor:pointer;text-align:center}.ui-step-header:disabled{cursor:not-allowed}.ui-step-header:focus-visible{outline:none}.ui-step-marker{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--ui-stepper-marker-size, 2.75rem);height:var(--ui-stepper-marker-size, 2.75rem);flex:0 0 auto;border:var(--ui-stepper-marker-stroke-width, var(--stroke-sm)) solid var(--navigation-high-stroke-default);border-radius:var(--radius-full);background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-weight:var(--weight-bold);font-size:var(--size-typography-text-default);line-height:1;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),border-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-title{width:0;display:flex;justify-content:center;white-space:nowrap;color:var(--navigation-high-content-default);font-family:var(--fontfamily-title);font-size:var(--size-typography-title-sm);line-height:1.2;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-header:focus-visible .ui-step-marker{box-shadow:0 0 0 var(--ui-stepper-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--global-border-focus)}.ui-step-separator{flex:1 1 auto;min-width:var(--units-lg);height:0;margin:calc(var(--ui-stepper-marker-size, 2.75rem) / 2 - var(--ui-stepper-separator-stroke-width, var(--stroke-default)) / 2) var(--units-sm) 0;border-top:var(--ui-stepper-separator-stroke-width, var(--stroke-default)) solid var(--global-border-default);transition:border-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-step-separator._completed{border-top-color:var(--navigation-high-stroke-default)}:host._active .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-active);color:var(--informative-defaulthigh-content-default)}:host._active .ui-step-title{color:var(--global-text-default);font-weight:var(--weight-bold)}:host._completed .ui-step-marker{background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default)}.ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-hover);border-color:var(--navigation-high-stroke-hover);color:var(--navigation-high-content-hover)}.ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--navigation-high-surface-active);border-color:var(--navigation-high-stroke-hover)}:host._active .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-highlightlow-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-marker{background-color:var(--informative-defaulthigh-surface-hover);border-color:var(--informative-defaulthigh-stroke-hover);color:var(--informative-defaulthigh-content-hover)}:host._completed .ui-step-header:hover:not(:disabled) .ui-step-title{color:var(--informative-defaultlow-content-default)}:host._disabled .ui-step-marker{background-color:var(--navigation-high-surface-disabled);border-color:var(--navigation-high-stroke-disabled);color:var(--navigation-high-content-disabled)}:host._disabled .ui-step-title{color:var(--navigation-high-content-disabled)}:host._vertical{display:block}:host._vertical .ui-step-header{flex-direction:row;align-items:center;gap:var(--units-sm);width:100%;text-align:left}:host._vertical .ui-step-title{width:auto;display:block;white-space:normal}\n"] }]
88
88
  }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
89
89
  /**
90
90
  * ui-step-panel , the content region tied to a {@link UiStep} by shared `value`.
@@ -123,10 +123,14 @@ class UiStepPanel {
123
123
  this.hasRendered.set(true);
124
124
  });
125
125
  }
126
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
127
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiStepPanel, isStandalone: true, selector: "ui-step-panel", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { attributes: { "role": "tabpanel" }, properties: { "id": "stepper.panelId(value())", "attr.aria-labelledby": "stepper.stepId(value())", "attr.tabindex": "active() ? 0 : null", "attr.inert": "active() ? null : ''", "class._active": "active()" }, classAttribute: "ui-step-panel" }, queries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: `
126
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiStepPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
127
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: UiStepPanel, isStandalone: true, selector: "ui-step-panel", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { attributes: { "role": "tabpanel" }, properties: { "id": "stepper.panelId(value())", "attr.aria-labelledby": "stepper.stepId(value())", "attr.tabindex": "active() ? 0 : null", "attr.inert": "active() ? null : ''", "class._active": "active()" }, classAttribute: "ui-step-panel" }, queries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: `
128
128
  <ng-template #defaultContent><ng-content /></ng-template>
129
- <div class="ui-step-panel-collapse" [class._open]="active()" [class._no-motion]="!stepper.motion()">
129
+ <div
130
+ class="ui-step-panel-collapse"
131
+ [class._open]="active()"
132
+ [class._no-motion]="!stepper.motion()"
133
+ >
130
134
  <div class="ui-step-panel-inner">
131
135
  <div class="ui-step-panel-body">
132
136
  @if (shouldRender()) {
@@ -137,11 +141,15 @@ class UiStepPanel {
137
141
  </div>
138
142
  `, isInline: true, styles: [":host{display:block;color:var(--global-text-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);line-height:1.5;outline:none}.ui-step-panel-collapse{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-step-panel-collapse._open{grid-template-rows:1fr;opacity:1}.ui-step-panel-collapse._no-motion{transition:none}@media(prefers-reduced-motion:reduce){.ui-step-panel-collapse{transition-duration:.01ms}}:root[data-motion=off] .ui-step-panel-collapse{transition-duration:.01ms}.ui-step-panel-inner{overflow:hidden;min-height:0}.ui-step-panel-body{padding:var(--units-default) 0}:host-context(.ui-stepper._vertical){margin-left:calc(var(--ui-stepper-marker-size, 2.75rem) + var(--units-sm))}:host-context(.ui-stepper._vertical) .ui-step-panel-body{padding:var(--units-sm) 0 var(--units-md)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
139
143
  }
140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepPanel, decorators: [{
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiStepPanel, decorators: [{
141
145
  type: Component,
142
146
  args: [{ selector: 'ui-step-panel', imports: [NgTemplateOutlet], template: `
143
147
  <ng-template #defaultContent><ng-content /></ng-template>
144
- <div class="ui-step-panel-collapse" [class._open]="active()" [class._no-motion]="!stepper.motion()">
148
+ <div
149
+ class="ui-step-panel-collapse"
150
+ [class._open]="active()"
151
+ [class._no-motion]="!stepper.motion()"
152
+ >
145
153
  <div class="ui-step-panel-inner">
146
154
  <div class="ui-step-panel-body">
147
155
  @if (shouldRender()) {
@@ -174,10 +182,10 @@ class UiStepList {
174
182
  this.ariaLabel = input(/* @ts-ignore */
175
183
  ...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
176
184
  }
177
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
178
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.1", type: UiStepList, isStandalone: true, selector: "ui-step-list", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "tablist", "aria-orientation": "horizontal" }, properties: { "attr.aria-label": "ariaLabel() || null" }, classAttribute: "ui-step-list" }, ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:flex;flex-direction:row;align-items:flex-start;width:100%;min-width:0}\n"] }); }
185
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiStepList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
186
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.2", type: UiStepList, isStandalone: true, selector: "ui-step-list", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "tablist", "aria-orientation": "horizontal" }, properties: { "attr.aria-label": "ariaLabel() || null" }, classAttribute: "ui-step-list" }, ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:flex;flex-direction:row;align-items:flex-start;width:100%;min-width:0}\n"] }); }
179
187
  }
180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepList, decorators: [{
188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiStepList, decorators: [{
181
189
  type: Component,
182
190
  args: [{ selector: 'ui-step-list', template: '<ng-content />', host: {
183
191
  class: 'ui-step-list',
@@ -191,10 +199,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
191
199
  * horizontal step list.
192
200
  */
193
201
  class UiStepPanels {
194
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepPanels, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
195
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.1", type: UiStepPanels, isStandalone: true, selector: "ui-step-panels", host: { classAttribute: "ui-step-panels" }, ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:block;width:100%}\n"] }); }
202
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiStepPanels, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
203
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.2", type: UiStepPanels, isStandalone: true, selector: "ui-step-panels", host: { classAttribute: "ui-step-panels" }, ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:block;width:100%}\n"] }); }
196
204
  }
197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepPanels, decorators: [{
205
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiStepPanels, decorators: [{
198
206
  type: Component,
199
207
  args: [{ selector: 'ui-step-panels', template: '<ng-content />', host: { class: 'ui-step-panels' }, styles: [":host{display:block;width:100%}\n"] }]
200
208
  }] });
@@ -229,10 +237,10 @@ class UiStepItem {
229
237
  this.panel()?.value.set(this.value());
230
238
  });
231
239
  }
232
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
233
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: UiStepItem, isStandalone: true, selector: "ui-step-item", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class._active": "state() === 'active'", "class._completed": "state() === 'completed'", "class._last": "isLast()" }, classAttribute: "ui-step-item" }, queries: [{ propertyName: "step", first: true, predicate: UiStep, descendants: true, isSignal: true }, { propertyName: "panel", first: true, predicate: UiStepPanel, descendants: true, isSignal: true }], ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:block;position:relative;padding-bottom:var(--units-lg)}:host._last{padding-bottom:0}:host:not(._last):before{content:\"\";position:absolute;left:calc(var(--ui-stepper-marker-size, 2.75rem) / 2 - var(--ui-stepper-rail-stroke-width, var(--stroke-default)) / 2);top:calc(var(--ui-stepper-marker-size, 2.75rem) + var(--units-xs));bottom:0;width:var(--ui-stepper-rail-stroke-width, var(--stroke-default));background-color:var(--global-border-default)}:host._completed:not(._last):before{background-color:var(--navigation-high-stroke-default)}\n"] }); }
240
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiStepItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
241
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.2", type: UiStepItem, isStandalone: true, selector: "ui-step-item", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class._active": "state() === 'active'", "class._completed": "state() === 'completed'", "class._last": "isLast()" }, classAttribute: "ui-step-item" }, queries: [{ propertyName: "step", first: true, predicate: UiStep, descendants: true, isSignal: true }, { propertyName: "panel", first: true, predicate: UiStepPanel, descendants: true, isSignal: true }], ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:block;position:relative;padding-bottom:var(--units-lg)}:host._last{padding-bottom:0}:host:not(._last):before{content:\"\";position:absolute;left:calc(var(--ui-stepper-marker-size, 2.75rem) / 2 - var(--ui-stepper-rail-stroke-width, var(--stroke-default)) / 2);top:calc(var(--ui-stepper-marker-size, 2.75rem) + var(--units-xs));bottom:0;width:var(--ui-stepper-rail-stroke-width, var(--stroke-default));background-color:var(--global-border-default)}:host._completed:not(._last):before{background-color:var(--navigation-high-stroke-default)}\n"] }); }
234
242
  }
235
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepItem, decorators: [{
243
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiStepItem, decorators: [{
236
244
  type: Component,
237
245
  args: [{ selector: 'ui-step-item', template: '<ng-content />', host: {
238
246
  class: 'ui-step-item',
@@ -362,10 +370,10 @@ class UiStepper {
362
370
  if (index > 0)
363
371
  this.updateValue(values[index - 1]);
364
372
  }
365
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
366
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: UiStepper, isStandalone: true, selector: "ui-stepper", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, linear: { classPropertyName: "linear", publicName: "linear", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, motion: { classPropertyName: "motion", publicName: "motion", isSignal: true, isRequired: false, transformFunction: null }, completedIcon: { classPropertyName: "completedIcon", publicName: "completedIcon", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", stepChange: "stepChange" }, host: { properties: { "class._vertical": "orientation() === 'vertical'", "attr.role": "orientation() === 'vertical' ? 'tablist' : null", "attr.aria-orientation": "orientation() === 'vertical' ? 'vertical' : null", "attr.aria-label": "orientation() === 'vertical' ? (ariaLabel() || null) : null", "attr.id": "id" }, classAttribute: "ui-stepper" }, queries: [{ propertyName: "steps", predicate: i0.forwardRef(() => UiStep), descendants: true, isSignal: true }], ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:block;width:100%}\n"] }); }
373
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiStepper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
374
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.2", type: UiStepper, isStandalone: true, selector: "ui-stepper", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, linear: { classPropertyName: "linear", publicName: "linear", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, motion: { classPropertyName: "motion", publicName: "motion", isSignal: true, isRequired: false, transformFunction: null }, completedIcon: { classPropertyName: "completedIcon", publicName: "completedIcon", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", stepChange: "stepChange" }, host: { properties: { "class._vertical": "orientation() === 'vertical'", "attr.role": "orientation() === 'vertical' ? 'tablist' : null", "attr.aria-orientation": "orientation() === 'vertical' ? 'vertical' : null", "attr.aria-label": "orientation() === 'vertical' ? (ariaLabel() || null) : null", "attr.id": "id" }, classAttribute: "ui-stepper" }, queries: [{ propertyName: "steps", predicate: i0.forwardRef(() => UiStep), descendants: true, isSignal: true }], ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{display:block;width:100%}\n"] }); }
367
375
  }
368
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiStepper, decorators: [{
376
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiStepper, decorators: [{
369
377
  type: Component,
370
378
  args: [{ selector: 'ui-stepper', template: '<ng-content />', host: {
371
379
  class: 'ui-stepper',