@sixbell-telco/sdk 3.3.1 → 4.1.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 (171) hide show
  1. package/CHANGELOG.md +137 -1
  2. package/README.md +47 -47
  3. package/THIRD_PARTY_NOTICES.md +33 -0
  4. package/_index.css +673 -76
  5. package/components/audio-player/README.md +1 -0
  6. package/components/audio-player/button-play/button-play.component.d.ts +3 -0
  7. package/components/audio-player/src/audio-player.component.d.ts +8 -0
  8. package/components/audio-player/volume-control/volume-control.component.d.ts +3 -0
  9. package/components/button/README.md +13 -0
  10. package/components/button/src/button.component.d.ts +30 -5
  11. package/components/data-table/README.md +53 -3
  12. package/components/data-table/expandable/expandable.component.d.ts +15 -2
  13. package/components/data-table/public-api.d.ts +2 -0
  14. package/components/data-table/sortable-header/sortable-header.component.d.ts +15 -1
  15. package/components/data-table/src/aria-sort.d.ts +22 -0
  16. package/components/data-table/src/data-table-context.service.d.ts +11 -3
  17. package/components/data-table/src/data-table.component.d.ts +39 -3
  18. package/components/data-table/src/sort-icon.component.d.ts +22 -0
  19. package/components/data-table/src/toggle-size.d.ts +7 -0
  20. package/components/data-table/sub-component-toggle/sub-component-toggle.component.d.ts +13 -0
  21. package/components/dialog/README.md +1 -0
  22. package/components/dialog/src/dialog.component.d.ts +9 -2
  23. package/components/divider/src/divider.component.d.ts +5 -0
  24. package/components/dropdown/README.md +21 -0
  25. package/components/dropdown/dropdown-content/dropdown-content.component.d.ts +4 -0
  26. package/components/dropdown/dropdown-trigger/dropdown-trigger.component.d.ts +36 -0
  27. package/components/dropdown/src/dropdown-item-focus.d.ts +6 -0
  28. package/components/dropdown/src/dropdown.component.d.ts +5 -2
  29. package/components/dual-list/src/dual-list.component.d.ts +6 -0
  30. package/components/file-upload/file-dropzone/file-dropzone.component.d.ts +6 -0
  31. package/components/forms/combobox/src/combobox.component.d.ts +7 -0
  32. package/components/forms/date-picker/README.md +2 -0
  33. package/components/forms/date-picker/src/date-picker.component.d.ts +6 -0
  34. package/components/forms/select/src/select.component.d.ts +3 -0
  35. package/components/icon/README.md +8 -1
  36. package/components/icon/src/icon.component.d.ts +9 -1
  37. package/components/notification/README.md +8 -0
  38. package/components/notification/src/notification.component.d.ts +8 -1
  39. package/components/paginator/README.md +1 -0
  40. package/components/paginator/components/pagination-item/pagination-item.component.d.ts +7 -1
  41. package/components/paginator/src/paginator.component.d.ts +10 -0
  42. package/components/sonner/toaster/src/toaster.component.d.ts +2 -1
  43. package/components/table/README.md +25 -0
  44. package/components/table/public-api.d.ts +1 -0
  45. package/components/table/src/table-loading.d.ts +18 -0
  46. package/components/table/src/table.component.d.ts +32 -4
  47. package/components/text/README.md +1 -0
  48. package/components/tooltip/src/tooltip.component.d.ts +2 -0
  49. package/directives/text/src/text.directive.d.ts +2 -2
  50. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +48 -10
  51. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
  52. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +1 -1
  53. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  54. package/fesm2022/sixbell-telco-sdk-components-badge.mjs +2 -2
  55. package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
  56. package/fesm2022/sixbell-telco-sdk-components-button.mjs +83 -4
  57. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  58. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs +34 -33
  59. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs.map +1 -1
  60. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +429 -361
  61. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
  62. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +42 -22
  63. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
  64. package/fesm2022/sixbell-telco-sdk-components-divider.mjs +8 -2
  65. package/fesm2022/sixbell-telco-sdk-components-divider.mjs.map +1 -1
  66. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +7 -7
  67. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
  68. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +4 -4
  69. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
  70. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +247 -47
  71. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  72. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +10 -3
  73. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  74. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +16 -8
  75. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
  76. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
  77. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +13 -5
  78. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  79. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +9 -3
  80. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
  81. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  82. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
  83. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +1 -1
  84. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
  85. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +8 -4
  86. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  87. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
  88. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +3 -15
  89. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  90. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +2 -3
  91. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
  92. package/fesm2022/sixbell-telco-sdk-components-icon.mjs +12 -4
  93. package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
  94. package/fesm2022/sixbell-telco-sdk-components-link.mjs +1 -1
  95. package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
  96. package/fesm2022/sixbell-telco-sdk-components-notification.mjs +17 -8
  97. package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
  98. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -1
  99. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +24 -5
  100. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  101. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +5 -5
  102. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
  103. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs +2 -1
  104. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs.map +1 -1
  105. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs +2 -1
  106. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs.map +1 -1
  107. package/fesm2022/sixbell-telco-sdk-components-tab.mjs +1 -1
  108. package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
  109. package/fesm2022/sixbell-telco-sdk-components-table.mjs +99 -22
  110. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  111. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +21 -3
  112. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
  113. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +9 -9
  114. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
  115. package/fesm2022/sixbell-telco-sdk-directives-text.mjs +3 -3
  116. package/fesm2022/sixbell-telco-sdk-directives-text.mjs.map +1 -1
  117. package/fesm2022/sixbell-telco-sdk-layouts.mjs +944 -0
  118. package/fesm2022/sixbell-telco-sdk-layouts.mjs.map +1 -0
  119. package/fesm2022/sixbell-telco-sdk-utils-cn.mjs +2 -3
  120. package/fesm2022/sixbell-telco-sdk-utils-cn.mjs.map +1 -1
  121. package/fesm2022/sixbell-telco-sdk-utils-http.mjs +39 -0
  122. package/fesm2022/sixbell-telco-sdk-utils-http.mjs.map +1 -0
  123. package/fesm2022/sixbell-telco-sdk-utils-mfe.mjs +150 -0
  124. package/fesm2022/sixbell-telco-sdk-utils-mfe.mjs.map +1 -0
  125. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +103 -4
  126. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
  127. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +71 -2
  128. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
  129. package/layouts/README.md +278 -0
  130. package/layouts/index.d.ts +5 -0
  131. package/layouts/public-api.d.ts +23 -0
  132. package/layouts/src/app-layout/app-layout.component.d.ts +83 -0
  133. package/layouts/src/layout-account.d.ts +16 -0
  134. package/layouts/src/layout-logo.d.ts +10 -0
  135. package/layouts/src/layout-switcher/layout-switcher.component.d.ts +13 -0
  136. package/layouts/src/layout.config.d.ts +22 -0
  137. package/layouts/src/layout.service.d.ts +17 -0
  138. package/layouts/src/menu/menu-active.d.ts +24 -0
  139. package/layouts/src/menu/menu-animation.d.ts +34 -0
  140. package/layouts/src/menu/menu-search.d.ts +13 -0
  141. package/layouts/src/menu/menu-sections.d.ts +23 -0
  142. package/layouts/src/menu/menu-url.d.ts +12 -0
  143. package/layouts/src/menu/menu.model.d.ts +15 -0
  144. package/layouts/src/navbar/navbar.component.d.ts +33 -0
  145. package/layouts/src/page-banner/page-banner.component.d.ts +40 -0
  146. package/layouts/src/side-menu/side-menu.component.d.ts +89 -0
  147. package/layouts/src/user-menu/user-menu.component.d.ts +91 -0
  148. package/package.json +26 -15
  149. package/utils/cn/src/cn.d.ts +1 -1
  150. package/utils/http/README.md +26 -0
  151. package/utils/http/index.d.ts +5 -0
  152. package/utils/http/public-api.d.ts +3 -0
  153. package/utils/http/src/bearer-token.interceptor.d.ts +19 -0
  154. package/utils/http/src/http-context.d.ts +3 -0
  155. package/utils/mfe/README.md +35 -0
  156. package/utils/mfe/index.d.ts +5 -0
  157. package/utils/mfe/public-api.d.ts +5 -0
  158. package/utils/mfe/src/mfe-shadow-root.d.ts +23 -0
  159. package/utils/mfe/src/mfe-shadow-shell.component.d.ts +20 -0
  160. package/utils/mfe/src/provide-mfe-shadow-shell.d.ts +20 -0
  161. package/utils/mfe/src/shadow-root-overlay-container.d.ts +13 -0
  162. package/utils/theme/README.md +14 -0
  163. package/utils/theme/public-api.d.ts +3 -1
  164. package/utils/theme/src/models/theme.d.ts +18 -0
  165. package/utils/theme/src/scheme-favicon/scheme-favicon.d.ts +26 -0
  166. package/utils/theme/src/theme-assets/theme-assets.service.d.ts +31 -1
  167. package/utils/theme/src/theme-assets/theme-assets.types.d.ts +6 -0
  168. package/utils/translation/README.md +12 -0
  169. package/utils/translation/public-api.d.ts +4 -0
  170. package/utils/translation/src/title-strategy/translated-title-strategy.d.ts +27 -0
  171. package/utils/translation/src/translated-label/translated-label.d.ts +21 -0
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-tooltip.mjs","sources":["../../../projects/sdk/components/tooltip/tooltip-content/tooltip-content.component.ts","../../../projects/sdk/components/tooltip/tooltip-content/tooltip-content.component.html","../../../projects/sdk/components/tooltip/src/tooltip.component.ts","../../../projects/sdk/components/tooltip/src/tooltip.component.html","../../../projects/sdk/components/tooltip/sixbell-telco-sdk-components-tooltip.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * A container component for custom tooltip content\n *\n * @remarks\n * Designed to be used within `<st-tooltip>` components to provide\n * rich, customized tooltip content. When used, replaces the default\n * text label with any arbitrary content.\n *\n * @example\n * ```html\n * <st-tooltip variant=\"warning\">\n * <button class=\"btn\">Hover me</button>\n * <st-tooltip-content>\n * <div class=\"animate-pulse text-red-500\">\n * ⚠️ Critical warning!\n * </div>\n * </st-tooltip-content>\n * </st-tooltip>\n * ```\n *\n * @example\n * ```html\n * <st-tooltip position=\"right\">\n * <st-tooltip-content>\n * <div class=\"flex items-center gap-2\">\n * <st-icon icon=\"info\"></st-icon>\n * <span>Custom tooltip layout</span>\n * </div>\n * </st-tooltip-content>\n * <p class=\"cursor-pointer\">Hover for details</p>\n * </st-tooltip>\n * ```\n */\n@Component({\n\tselector: 'st-tooltip-content',\n\timports: [CommonModule],\n\ttemplateUrl: './tooltip-content.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TooltipContentComponent {}\n","<ng-content></ng-content>\n","import {\n\tCdkConnectedOverlay,\n\tCdkOverlayOrigin,\n\tConnectedOverlayPositionChange,\n\tConnectedPosition,\n\tFlexibleConnectedPositionStrategy,\n\tOverlay,\n\tScrollStrategy,\n} from '@angular/cdk/overlay';\nimport { ScrollDispatcher } from '@angular/cdk/scrolling';\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n\tafterRenderEffect,\n\tComponent,\n\tcomputed,\n\tcontentChild,\n\tDestroyRef,\n\teffect,\n\tElementRef,\n\tinject,\n\tinput,\n\tRenderer2,\n\tsignal,\n\tviewChild,\n} from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { generateUniqueId } from '@sixbell-telco/sdk/utils/generators/uuid';\nimport { ThemeDomService } from '@sixbell-telco/sdk/utils/theme';\nimport { cva } from 'class-variance-authority';\nimport { TooltipContentComponent } from '../tooltip-content/tooltip-content.component';\n\n/**\n * @internal\n * Generates base tooltip classes with style variants\n */\nexport const tooltipComponent = cva(['tooltip', 'inline-flex', 'items-center', 'align-top', 'text-pretty', 'font-body', 'gap-1'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tbase: [],\n\t\t\tprimary: ['tooltip-primary'],\n\t\t\tsecondary: ['tooltip-secondary'],\n\t\t\ttertiary: ['tooltip-tertiary'],\n\t\t\tsuccess: ['tooltip-success'],\n\t\t\tneutral: ['tooltip-neutral'],\n\t\t\twarning: ['tooltip-warning'],\n\t\t\terror: ['tooltip-error'],\n\t\t\tinfo: ['tooltip-info'],\n\t\t},\n\t\tposition: {\n\t\t\ttop: ['tooltip-top'],\n\t\t\tbottom: ['tooltip-bottom'],\n\t\t\tright: ['tooltip-right'],\n\t\t\tleft: ['tooltip-left'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'base',\n\t\tposition: 'bottom',\n\t},\n});\n\n/** Possible tooltip color variants */\nexport type TooltipVariantProps =\n\t| 'base'\n\t| 'primary'\n\t| 'secondary'\n\t| 'tertiary'\n\t| 'success'\n\t| 'neutral'\n\t| 'warning'\n\t| 'error'\n\t| 'info'\n\t| null\n\t| undefined;\n\nconst tooltipVariantSurface: Record<NonNullable<TooltipVariantProps>, string> = {\n\tbase: 'bg-base-300 text-base-content',\n\tprimary: 'bg-primary text-primary-content',\n\tsecondary: 'bg-secondary text-secondary-content',\n\ttertiary: 'bg-tertiary text-tertiary-content',\n\tsuccess: 'bg-success text-success-content',\n\tneutral: 'bg-neutral text-neutral-content',\n\twarning: 'bg-warning text-warning-content',\n\terror: 'bg-error text-error-content',\n\tinfo: 'bg-info text-info-content',\n};\n\n/** Possible tooltip position variants */\nexport type TooltipPositionProps = 'top' | 'bottom' | 'right' | 'left' | null | undefined;\n\n/** Configuration object for tooltip styling */\nexport type TooltipProps = {\n\tvariant?: TooltipVariantProps;\n\tposition?: TooltipPositionProps;\n};\n\ntype TooltipSide = 'top' | 'bottom' | 'right' | 'left';\ntype TooltipPhase = 'closed' | 'opening' | 'open' | 'closing';\n\nconst focusableSelector = 'a[href], area[href], button, input, select, textarea, [contenteditable=\"true\"], [tabindex]:not([tabindex=\"-1\"])';\n\nfunction isEnabledFocusable(element: HTMLElement): boolean {\n\tlet ancestor: HTMLElement | null = element;\n\twhile (ancestor) {\n\t\tconst ancestorStyle = getComputedStyle(ancestor);\n\t\tif (\n\t\t\tancestor.style.display === 'none' ||\n\t\t\tancestor.style.visibility === 'hidden' ||\n\t\t\tancestorStyle.display === 'none' ||\n\t\t\tancestorStyle.visibility === 'hidden'\n\t\t)\n\t\t\treturn false;\n\t\tancestor = ancestor.parentElement;\n\t}\n\n\tconst style = getComputedStyle(element);\n\treturn Boolean(\n\t\telement.isConnected &&\n\t\t\telement.tabIndex >= 0 &&\n\t\t\t!element.matches(':disabled') &&\n\t\t\t!(element as HTMLButtonElement).disabled &&\n\t\t\telement.getAttribute('aria-disabled') !== 'true' &&\n\t\t\t!element.closest('[hidden], [inert], [aria-hidden=\"true\"], fieldset[disabled]') &&\n\t\t\t!element.hidden &&\n\t\t\t!(element as HTMLElement & { inert?: boolean }).inert &&\n\t\t\tstyle.display !== 'none' &&\n\t\t\tstyle.visibility !== 'hidden',\n\t);\n}\n\n/**\n * A customizable tooltip component with multiple variants and content options\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports both simple text labels and custom content tooltips.\n *\n * @example\n * ```html\n * <!-- Simple text tooltip -->\n * <st-tooltip variant=\"primary\" label=\"Information tooltip\">\n * <button class=\"btn\">Hover me</button>\n * </st-tooltip>\n * ```\n *\n * @example\n * ```html\n * <!-- Custom content tooltip -->\n * <st-tooltip position=\"right\" variant=\"warning\">\n * <button class=\"btn\">Dangerous action</button>\n * <st-tooltip-content>\n * <div class=\"text-red-500 font-bold\">\n * ⚠️ Proceed with caution!\n * </div>\n * </st-tooltip-content>\n * </st-tooltip>\n * ```\n */\n@Component({\n\tselector: 'st-tooltip',\n\tstandalone: true,\n\timports: [CdkConnectedOverlay, CdkOverlayOrigin, NgTemplateOutlet, IconComponent],\n\ttemplateUrl: './tooltip.component.html',\n\tstyles: '',\n\thost: {\n\t\tclass: 'inline-flex items-center',\n\t},\n})\nexport class TooltipComponent {\n\tprotected readonly themeDomService = inject(ThemeDomService);\n\tprivate readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\tprivate readonly renderer = inject(Renderer2);\n\tprivate readonly destroyRef = inject(DestroyRef);\n\tprivate readonly scrollDispatcher = inject(ScrollDispatcher);\n\tprivate readonly overlay = inject(Overlay);\n\tprotected readonly repositionScrollStrategy: ScrollStrategy = this.overlay.scrollStrategies.reposition();\n\tprivate cdkPositionStrategy: FlexibleConnectedPositionStrategy | null = null;\n\t/**\n\t * Tooltip color variant\n\t * @defaultValue 'base'\n\t */\n\tvariant = input<TooltipVariantProps>();\n\n\t/**\n\t * Tooltip position relative to target element\n\t * @defaultValue 'bottom'\n\t */\n\tposition = input<TooltipPositionProps>();\n\n\t/**\n\t * Text label for simple tooltip content\n\t */\n\tlabel = input<string>();\n\n\t/**\n\t * Optional icon name to render inside the trigger (mirrors Button API)\n\t */\n\ticon = input<string | undefined>();\n\n\t/**\n\t * Icon position relative to content\n\t * @defaultValue 'left'\n\t */\n\ticonPosition = input<'left' | 'right' | null | undefined>('left');\n\n\t/**\n\t * @internal\n\t * Reference to custom tooltip content component\n\t */\n\tcustomContent = contentChild(TooltipContentComponent);\n\tprivate readonly richContentElement = contentChild(TooltipContentComponent, { read: ElementRef<HTMLElement> });\n\tprivate readonly richContentText = signal('');\n\n\t/**\n\t * @internal\n\t * Computed flag indicating presence of custom content\n\t */\n\thasCustomContent = computed(() => !!this.customContent());\n\n\tprivate readonly hasTooltipContent = computed(() => {\n\t\tconst label = this.label()?.trim();\n\t\tconst richContent = this.richContentText();\n\t\treturn Boolean(label || richContent);\n\t});\n\n\tprivate readonly requestedOpen = signal(false);\n\tprivate readonly pointerInside = signal(false);\n\tprivate readonly focusedTarget = signal<HTMLElement | null>(null);\n\tprivate readonly escapeClosed = signal(false);\n\tprotected readonly renderedOpen = signal(false);\n\tprotected readonly phase = signal<TooltipPhase>('closed');\n\tprivate readonly activePosition = signal<ConnectedPosition | null>(null);\n\tprivate readonly closingSide = signal<TooltipSide | null>(null);\n\tprivate transitionToken = 0;\n\tprotected readonly tooltipId = `st-tooltip-${generateUniqueId()}`;\n\tprotected readonly origin = viewChild.required(CdkOverlayOrigin);\n\tprivate animationFallbackHandle: ReturnType<typeof setTimeout> | null = null;\n\tprotected readonly triggerTabIndexValue = signal<number | null>(0);\n\n\t/**\n\t * @internal\n\t * Computed class string for the tooltip container\n\t */\n\tcomponentClass = computed(() => {\n\t\treturn cn(\n\t\t\ttooltipComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t\tposition: this.position(),\n\t\t\t}),\n\t\t);\n\t});\n\n\tconstructor() {\n\t\tafterRenderEffect(() => {\n\t\t\tconst richContent = this.richContentElement()?.nativeElement.textContent?.trim() ?? '';\n\t\t\tif (richContent !== this.richContentText()) this.richContentText.set(richContent);\n\t\t\tthis.triggerTabIndexValue.set(this.hasFocusableDescendant() ? null : 0);\n\t\t});\n\t\teffect((onCleanup) => {\n\t\t\tconst element = this.richContentElement()?.nativeElement;\n\t\t\tif (!element || typeof MutationObserver === 'undefined') return;\n\t\t\tconst updateRichContent = () => {\n\t\t\t\tconst richContent = element.textContent?.trim() ?? '';\n\t\t\t\tif (richContent !== this.richContentText()) this.richContentText.set(richContent);\n\t\t\t};\n\t\t\tconst observer = new MutationObserver(updateRichContent);\n\t\t\tobserver.observe(element, { characterData: true, childList: true, subtree: true });\n\t\t\tupdateRichContent();\n\t\t\tonCleanup(() => observer.disconnect());\n\t\t});\n\t\teffect(() => {\n\t\t\tif (!this.hasTooltipContent()) {\n\t\t\t\tthis.syncDescribedBy(null);\n\t\t\t\tif (this.requestedOpen()) this.requestOpen(false);\n\t\t\t}\n\t\t});\n\t\tthis.destroyRef.onDestroy(() => {\n\t\t\tthis.clearTooltipAnimationFallback();\n\t\t\tthis.syncDescribedBy(null);\n\t\t\tthis.transitionToken += 1;\n\t\t});\n\t}\n\n\tprotected readonly positions = computed<ConnectedPosition[]>(() => {\n\t\tconst requestedSide = this.sideFromPair(this.primaryPosition(this.position()));\n\t\tconst [firstOrthogonal, secondOrthogonal] = this.orthogonalSides(requestedSide);\n\t\treturn [requestedSide, this.oppositeSide(requestedSide), firstOrthogonal, secondOrthogonal].map((side) => this.primaryPosition(side));\n\t});\n\n\tprivate primaryPosition(position: TooltipPositionProps): ConnectedPosition {\n\t\tswitch (position) {\n\t\t\tcase 'top':\n\t\t\t\treturn { originX: 'center', originY: 'top', overlayX: 'center', overlayY: 'bottom', offsetX: 0, offsetY: -8 };\n\t\t\tcase 'right':\n\t\t\t\treturn { originX: 'end', originY: 'center', overlayX: 'start', overlayY: 'center', offsetX: 8, offsetY: 0 };\n\t\t\tcase 'left':\n\t\t\t\treturn { originX: 'start', originY: 'center', overlayX: 'end', overlayY: 'center', offsetX: -8, offsetY: 0 };\n\t\t\tdefault:\n\t\t\t\treturn { originX: 'center', originY: 'bottom', overlayX: 'center', overlayY: 'top', offsetX: 0, offsetY: 8 };\n\t\t}\n\t}\n\n\tprivate oppositeSide(side: TooltipSide): TooltipSide {\n\t\treturn ({ bottom: 'top', top: 'bottom', right: 'left', left: 'right' } satisfies Record<TooltipSide, TooltipSide>)[side];\n\t}\n\n\tprivate orthogonalSides(side: TooltipSide): [TooltipSide, TooltipSide] {\n\t\treturn side === 'bottom' || side === 'top' ? ['right', 'left'] : ['bottom', 'top'];\n\t}\n\n\tprivate sideFromPair(pair: ConnectedPosition): TooltipSide {\n\t\tif (pair.originY === 'bottom' && pair.overlayY === 'top') return 'bottom';\n\t\tif (pair.originY === 'top' && pair.overlayY === 'bottom') return 'top';\n\t\tif (pair.originX === 'end' && pair.overlayX === 'start') return 'right';\n\t\tif (pair.originX === 'start' && pair.overlayX === 'end') return 'left';\n\t\treturn 'bottom';\n\t}\n\n\tprotected readonly tooltipDirection = computed<TooltipSide>(() => {\n\t\treturn this.closingSide() ?? this.sideFromPair(this.activePosition() ?? this.positions()[0]);\n\t});\n\n\tprotected readonly tooltipClasses = computed(() => {\n\t\tconst phase = this.phase();\n\t\tif (phase === 'closed') return '';\n\t\tconst side = this.tooltipDirection();\n\t\tconst classes: Record<TooltipSide, Record<'opening' | 'open' | 'closing', string>> = {\n\t\t\tbottom: {\n\t\t\t\topening: 'animate-fade-in-up animate-duration-150 origin-top',\n\t\t\t\topen: 'animate-fade-in-up animate-duration-150 origin-top',\n\t\t\t\tclosing: 'animate-fade-out-down animate-duration-150 origin-top',\n\t\t\t},\n\t\t\ttop: {\n\t\t\t\topening: 'animate-fade-in-down animate-duration-150 origin-bottom',\n\t\t\t\topen: 'animate-fade-in-down animate-duration-150 origin-bottom',\n\t\t\t\tclosing: 'animate-fade-out-up animate-duration-150 origin-bottom',\n\t\t\t},\n\t\t\tright: {\n\t\t\t\topening: 'animate-fade-in-right animate-duration-150 origin-left',\n\t\t\t\topen: 'animate-fade-in-right animate-duration-150 origin-left',\n\t\t\t\tclosing: 'animate-fade-out-left animate-duration-150 origin-left',\n\t\t\t},\n\t\t\tleft: {\n\t\t\t\topening: 'animate-fade-in-left animate-duration-150 origin-right',\n\t\t\t\topen: 'animate-fade-in-left animate-duration-150 origin-right',\n\t\t\t\tclosing: 'animate-fade-out-right animate-duration-150 origin-right',\n\t\t\t},\n\t\t};\n\t\tconst variant = this.variant() ?? 'base';\n\t\tconst variantClass = this.variant() ? `tooltip-${this.variant()}` : '';\n\t\tconst surface = tooltipVariantSurface[variant] ?? tooltipVariantSurface.base;\n\t\treturn `tooltip ${variantClass} ${surface} rounded-field px-2 py-1 shadow-sm ${classes[side][phase]}`.trim();\n\t});\n\n\tprotected readonly transformOrigin = computed(() => ({ bottom: 'top', top: 'bottom', right: 'left', left: 'right' })[this.tooltipDirection()]);\n\n\tprotected tooltipAnimationClass(): string {\n\t\treturn this.tooltipClasses();\n\t}\n\n\tprivate expectedTooltipAnimationName(phase: 'opening' | 'closing', side: TooltipSide): string {\n\t\treturn {\n\t\t\tbottom: { opening: 'fade-in-up', closing: 'fade-out-down' },\n\t\t\ttop: { opening: 'fade-in-down', closing: 'fade-out-up' },\n\t\t\tright: { opening: 'fade-in-right', closing: 'fade-out-left' },\n\t\t\tleft: { opening: 'fade-in-left', closing: 'fade-out-right' },\n\t\t}[side][phase];\n\t}\n\n\tprivate hasFocusableDescendant(): boolean {\n\t\tconst origin = this.origin().elementRef.nativeElement as HTMLElement;\n\t\treturn Array.from(origin.querySelectorAll<HTMLElement>(focusableSelector)).some((element) => isEnabledFocusable(element));\n\t}\n\n\tprotected resolveFocusTarget(event: FocusEvent): HTMLElement | null {\n\t\tconst origin = this.origin().elementRef.nativeElement as HTMLElement;\n\t\tfor (const item of event.composedPath()) {\n\t\t\tif (!(item instanceof HTMLElement) || !this.elementRef.nativeElement.contains(item)) continue;\n\t\t\tif (item === origin && event.target !== origin) continue;\n\t\t\tif ((item === origin || item.matches(focusableSelector)) && isEnabledFocusable(item)) return item;\n\t\t}\n\t\treturn null;\n\t}\n\n\tprotected syncDescribedBy(target: HTMLElement | null): void {\n\t\tconst previous = this.focusedTarget();\n\t\tif (!this.hasTooltipContent()) {\n\t\t\tif (previous) this.removeDescribedBy(previous);\n\t\t\tthis.focusedTarget.set(null);\n\t\t\treturn;\n\t\t}\n\t\tif (!target) {\n\t\t\tif (previous) this.removeDescribedBy(previous);\n\t\t\tthis.focusedTarget.set(null);\n\t\t\treturn;\n\t\t}\n\t\tif (previous && previous !== target) this.removeDescribedBy(previous);\n\t\tconst tokens = (target.getAttribute('aria-describedby') ?? '').split(/\\s+/).filter(Boolean);\n\t\tif (!tokens.includes(this.tooltipId)) this.renderer.setAttribute(target, 'aria-describedby', [...tokens, this.tooltipId].join(' '));\n\t\tthis.focusedTarget.set(target);\n\t}\n\n\tprivate removeDescribedBy(target: HTMLElement): void {\n\t\tconst tokens = (target.getAttribute('aria-describedby') ?? '').split(/\\s+/).filter((token) => token && token !== this.tooltipId);\n\t\tif (tokens.length) this.renderer.setAttribute(target, 'aria-describedby', tokens.join(' '));\n\t\telse this.renderer.removeAttribute(target, 'aria-describedby');\n\t}\n\n\tprotected requestOpen(next: boolean): void {\n\t\tif (next && (this.escapeClosed() || !this.hasTooltipContent())) return;\n\t\tif (next === this.requestedOpen()) return;\n\t\tthis.requestedOpen.set(next);\n\t\tthis.transitionToken += 1;\n\t\tthis.clearTooltipAnimationFallback();\n\t\tconst token = this.transitionToken;\n\t\tif (next) {\n\t\t\tthis.closingSide.set(null);\n\t\t\tif (!this.renderedOpen()) this.activePosition.set(null);\n\t\t\tthis.renderedOpen.set(true);\n\t\t\tthis.phase.set('opening');\n\t\t\tthis.animationFallbackHandle = setTimeout(() => {\n\t\t\t\tthis.animationFallbackHandle = null;\n\t\t\t\tif (token === this.transitionToken && this.phase() === 'opening') this.scheduleTooltipAnimationFallback(token, 'opening');\n\t\t\t}, 0);\n\t\t} else {\n\t\t\tthis.closingSide.set(this.sideFromPair(this.activePosition() ?? this.positions()[0]));\n\t\t\tthis.phase.set('closing');\n\t\t\tthis.scheduleTooltipAnimationFallback(token, 'closing');\n\t\t}\n\t}\n\n\tprotected onPointerEnter(): void {\n\t\tthis.pointerInside.set(true);\n\t\tthis.escapeClosed.set(false);\n\t\tthis.requestOpen(true);\n\t}\n\n\tprotected onPointerLeave(): void {\n\t\tthis.pointerInside.set(false);\n\t\tif (!this.focusedTarget()) this.requestOpen(false);\n\t}\n\n\tprotected onFocusIn(event: FocusEvent): void {\n\t\tthis.escapeClosed.set(false);\n\t\tconst target = this.resolveFocusTarget(event);\n\t\tthis.syncDescribedBy(target);\n\t\tthis.requestOpen(Boolean(target));\n\t}\n\n\tprotected onFocusOut(event: FocusEvent): void {\n\t\tconst related = event.relatedTarget;\n\t\tif (related instanceof Node && this.elementRef.nativeElement.contains(related)) return;\n\t\tthis.syncDescribedBy(null);\n\t\tif (!this.pointerInside()) this.requestOpen(false);\n\t}\n\n\tprotected onEscape(): void {\n\t\tthis.escapeClosed.set(true);\n\t\tthis.requestOpen(false);\n\t}\n\n\tprotected onTooltipPositionChange(event: ConnectedOverlayPositionChange): void {\n\t\tthis.activePosition.set(event.connectionPair);\n\t\tif (this.isOriginOutsideView(event)) {\n\t\t\tthis.syncDescribedBy(null);\n\t\t\tthis.requestOpen(false);\n\t\t}\n\t}\n\n\tprotected tooltipPositionStrategy(): FlexibleConnectedPositionStrategy {\n\t\tconst strategy = this.cdkPositionStrategy ?? (this.cdkPositionStrategy = this.overlay.position().flexibleConnectedTo(this.origin().elementRef));\n\t\tstrategy\n\t\t\t.setOrigin(this.origin().elementRef)\n\t\t\t.withPositions(this.positions())\n\t\t\t.withPush(true)\n\t\t\t.withViewportMargin(8)\n\t\t\t.withScrollableContainers(this.scrollDispatcher.getAncestorScrollContainers(this.origin().elementRef));\n\t\treturn strategy;\n\t}\n\n\tprivate isOriginOutsideView(change: ConnectedOverlayPositionChange): boolean {\n\t\treturn change.scrollableViewProperties?.isOriginOutsideView === true;\n\t}\n\n\tprotected onTooltipAnimationEnd(event: AnimationEvent): void {\n\t\tconst phase = this.phase();\n\t\tif ((phase !== 'opening' && phase !== 'closing') || event.target !== event.currentTarget) return;\n\t\tconst side = this.tooltipDirection();\n\t\tif (event.animationName !== this.expectedTooltipAnimationName(phase, side)) return;\n\t\tif (phase === 'opening') this.settleTooltipOpening(this.transitionToken);\n\t\telse this.settleTooltipClosing(this.transitionToken);\n\t}\n\n\tprotected onTooltipAnimationCancel(event: AnimationEvent): void {\n\t\tconst phase = this.phase();\n\t\tif ((phase !== 'opening' && phase !== 'closing') || event.target !== event.currentTarget) return;\n\t\tconst side = this.tooltipDirection();\n\t\tif (event.animationName !== this.expectedTooltipAnimationName(phase, side)) return;\n\t\tthis.scheduleTooltipAnimationFallback(this.transitionToken, phase);\n\t}\n\n\tprotected onTooltipDetach(): void {\n\t\tthis.clearTooltipAnimationFallback();\n\t\tthis.transitionToken += 1;\n\t\tthis.cdkPositionStrategy = null;\n\t\tthis.activePosition.set(null);\n\t\tthis.renderedOpen.set(false);\n\t\tthis.phase.set('closed');\n\t}\n\n\tprivate settleTooltipOpening(token: number): void {\n\t\tif (token !== this.transitionToken || !this.requestedOpen() || this.phase() !== 'opening') return;\n\t\tthis.clearTooltipAnimationFallback();\n\t\tthis.phase.set('open');\n\t}\n\n\tprivate settleTooltipClosing(token: number): void {\n\t\tif (token !== this.transitionToken || this.requestedOpen() || this.phase() !== 'closing') return;\n\t\tthis.clearTooltipAnimationFallback();\n\t\tthis.cdkPositionStrategy = null;\n\t\tthis.renderedOpen.set(false);\n\t}\n\n\tprivate scheduleTooltipAnimationFallback(token: number, phase: 'opening' | 'closing'): void {\n\t\tthis.clearTooltipAnimationFallback();\n\t\tconst root = this.elementRef.nativeElement.ownerDocument.getElementById(this.tooltipId);\n\t\tconst style = root ? getComputedStyle(root) : null;\n\t\tconst parseTime = (value: string) => {\n\t\t\tconst parsed = Number.parseFloat(value);\n\t\t\treturn Number.isFinite(parsed) ? (value.trim().endsWith('ms') ? parsed : parsed * 1000) : 0;\n\t\t};\n\t\tconst durations = style?.animationDuration.split(',').map(parseTime) ?? [0];\n\t\tconst delays = style?.animationDelay.split(',').map(parseTime) ?? [0];\n\t\tconst duration = Math.max(...durations.map((value, index) => value + (delays[index] ?? delays[0] ?? 0)), 0);\n\t\tthis.animationFallbackHandle = setTimeout(() => {\n\t\t\tthis.animationFallbackHandle = null;\n\t\t\tif (phase === 'opening') this.settleTooltipOpening(token);\n\t\t\telse this.settleTooltipClosing(token);\n\t\t}, duration);\n\t}\n\n\tprivate clearTooltipAnimationFallback(): void {\n\t\tif (this.animationFallbackHandle === null) return;\n\t\tclearTimeout(this.animationFallbackHandle);\n\t\tthis.animationFallbackHandle = null;\n\t}\n}\n","@let labelVar = label()?.trim();\n@let componentClassVar = componentClass();\n\n<ng-template #richContent><ng-content select=\"st-tooltip-content\"></ng-content></ng-template>\n\n<div\n\tcdkOverlayOrigin\n\t[class]=\"componentClassVar\"\n\t[attr.tabindex]=\"triggerTabIndexValue()\"\n\t(mouseenter)=\"onPointerEnter()\"\n\t(mouseleave)=\"onPointerLeave()\"\n\t(focusin)=\"onFocusIn($event)\"\n\t(focusout)=\"onFocusOut($event)\"\n\t(keydown.escape)=\"onEscape()\"\n>\n\t@let iconVar = icon();\n\t@let iconPositionVar = iconPosition() ?? 'left';\n\t@if (iconVar && iconPositionVar === 'left') {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n\n\t<ng-content></ng-content>\n\n\t@if (iconVar && iconPositionVar === 'right') {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n</div>\n\n@if (renderedOpen()) {\n\t<ng-template\n\t\tcdkConnectedOverlay\n\t\t[cdkConnectedOverlayOrigin]=\"origin()\"\n\t\t[cdkConnectedOverlayOpen]=\"true\"\n\t\t[cdkConnectedOverlayPositionStrategy]=\"tooltipPositionStrategy()\"\n\t\t[cdkConnectedOverlayPositions]=\"positions()\"\n\t\t[cdkConnectedOverlayScrollStrategy]=\"repositionScrollStrategy\"\n\t\t[cdkConnectedOverlayPush]=\"true\"\n\t\t[cdkConnectedOverlayViewportMargin]=\"8\"\n\t\t[cdkConnectedOverlayDisableClose]=\"true\"\n\t\t[cdkConnectedOverlayPanelClass]=\"'pointer-events-none!'\"\n\t\t(positionChange)=\"onTooltipPositionChange($event)\"\n\t\t(detach)=\"onTooltipDetach()\"\n\t>\n\t\t<div class=\"contents\" [attr.data-theme]=\"themeDomService.themeOf(origin().elementRef.nativeElement)\">\n\t\t\t<div\n\t\t\t\t[attr.id]=\"tooltipId\"\n\t\t\t\trole=\"tooltip\"\n\t\t\t\t[class]=\"tooltipAnimationClass()\"\n\t\t\t\t[attr.data-state]=\"phase()\"\n\t\t\t\t[attr.data-side]=\"tooltipDirection()\"\n\t\t\t\t[style.transform-origin]=\"transformOrigin()\"\n\t\t\t\t(animationend)=\"onTooltipAnimationEnd($event)\"\n\t\t\t\t(animationcancel)=\"onTooltipAnimationCancel($event)\"\n\t\t\t>\n\t\t\t\t@if (labelVar) {\n\t\t\t\t\t{{ labelVar }}\n\t\t\t\t} @else {\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"richContent\"></ng-container>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t</ng-template>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCG;MAOU,uBAAuB,CAAA;wGAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC1CpC,6BACA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDqCW,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAIV,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBANnC,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,WACrB,CAAC,YAAY,CAAC,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6BAAA,EAAA;;;AERhD;;;AAGG;MACU,gBAAgB,GAAG,GAAG,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE;AACjI,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,IAAI,EAAE,EAAE;YACR,OAAO,EAAE,CAAC,iBAAiB,CAAC;YAC5B,SAAS,EAAE,CAAC,mBAA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AA,8BAAA,EAAA,kCAAA,EAAA,+BAAA,EAAA,mCAAA,EAAA,mCAAA,EAAA,yBAAA,EAAA,iCAAA,EAAA,sCAAA,EAAA,gCAAA,EAAA,iCAAA,EAAA,uCAAA,EAAA,kCAAA,EAAA,yBAAA,EAAA,wCAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,qBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,gBAAgB,EAAA,QAAA,EAAA,4DAAA,EAAA,QAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,gBAAgB,oJAAE,aAAa,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAOpE,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAV5B,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,YAAY,EAAA,UAAA,EACV,IAAI,EAAA,OAAA,EACP,CAAC,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,aAAa,CAAC,EAAA,IAAA,EAG3E;AACL,wBAAA,KAAK,EAAE,0BAA0B;AACjC,qBAAA,EAAA,QAAA,EAAA,2pEAAA,EAAA;;;AExKF;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-tooltip.mjs","sources":["../../../projects/sdk/components/tooltip/tooltip-content/tooltip-content.component.ts","../../../projects/sdk/components/tooltip/tooltip-content/tooltip-content.component.html","../../../projects/sdk/components/tooltip/src/tooltip.component.ts","../../../projects/sdk/components/tooltip/src/tooltip.component.html","../../../projects/sdk/components/tooltip/sixbell-telco-sdk-components-tooltip.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * A container component for custom tooltip content\n *\n * @remarks\n * Designed to be used within `<st-tooltip>` components to provide\n * rich, customized tooltip content. When used, replaces the default\n * text label with any arbitrary content.\n *\n * @example\n * ```html\n * <st-tooltip variant=\"warning\">\n * <button class=\"btn\">Hover me</button>\n * <st-tooltip-content>\n * <div class=\"animate-pulse text-red-500\">\n * ⚠️ Critical warning!\n * </div>\n * </st-tooltip-content>\n * </st-tooltip>\n * ```\n *\n * @example\n * ```html\n * <st-tooltip position=\"right\">\n * <st-tooltip-content>\n * <div class=\"flex items-center gap-2\">\n * <st-icon icon=\"info\"></st-icon>\n * <span>Custom tooltip layout</span>\n * </div>\n * </st-tooltip-content>\n * <p class=\"cursor-pointer\">Hover for details</p>\n * </st-tooltip>\n * ```\n */\n@Component({\n\tselector: 'st-tooltip-content',\n\timports: [CommonModule],\n\ttemplateUrl: './tooltip-content.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TooltipContentComponent {}\n","<ng-content></ng-content>\n","import {\n\tCdkConnectedOverlay,\n\tCdkOverlayOrigin,\n\tConnectedOverlayPositionChange,\n\tConnectedPosition,\n\tFlexibleConnectedPositionStrategy,\n\tOverlay,\n\tScrollStrategy,\n} from '@angular/cdk/overlay';\nimport { ScrollDispatcher } from '@angular/cdk/scrolling';\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n\tafterRenderEffect,\n\tComponent,\n\tcomputed,\n\tcontentChild,\n\tDestroyRef,\n\teffect,\n\tElementRef,\n\tinject,\n\tinput,\n\tRenderer2,\n\tsignal,\n\tviewChild,\n} from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { generateUniqueId } from '@sixbell-telco/sdk/utils/generators/uuid';\nimport { ThemeDomService } from '@sixbell-telco/sdk/utils/theme';\nimport { cva } from 'class-variance-authority';\nimport { TooltipContentComponent } from '../tooltip-content/tooltip-content.component';\n\n/**\n * @internal\n * Generates base tooltip classes with style variants\n */\nexport const tooltipComponent = cva(['tooltip', 'inline-flex', 'items-center', 'align-top', 'text-pretty', 'font-body', 'gap-1'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tbase: [],\n\t\t\tprimary: ['tooltip-primary'],\n\t\t\tsecondary: ['tooltip-secondary'],\n\t\t\ttertiary: ['tooltip-tertiary'],\n\t\t\tsuccess: ['tooltip-success'],\n\t\t\tneutral: ['tooltip-neutral'],\n\t\t\twarning: ['tooltip-warning'],\n\t\t\terror: ['tooltip-error'],\n\t\t\tinfo: ['tooltip-info'],\n\t\t},\n\t\tposition: {\n\t\t\ttop: ['tooltip-top'],\n\t\t\tbottom: ['tooltip-bottom'],\n\t\t\tright: ['tooltip-right'],\n\t\t\tleft: ['tooltip-left'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'base',\n\t\tposition: 'bottom',\n\t},\n});\n\n/** Possible tooltip color variants */\nexport type TooltipVariantProps =\n\t'base' | 'primary' | 'secondary' | 'tertiary' | 'success' | 'neutral' | 'warning' | 'error' | 'info' | null | undefined;\n\nconst tooltipVariantSurface: Record<NonNullable<TooltipVariantProps>, string> = {\n\tbase: 'bg-base-300 text-base-content',\n\tprimary: 'bg-primary text-primary-content',\n\tsecondary: 'bg-secondary text-secondary-content',\n\ttertiary: 'bg-tertiary text-tertiary-content',\n\tsuccess: 'bg-success text-success-content',\n\tneutral: 'bg-neutral text-neutral-content',\n\twarning: 'bg-warning text-warning-content',\n\terror: 'bg-error text-error-content',\n\tinfo: 'bg-info text-info-content',\n};\n\n/** Possible tooltip position variants */\nexport type TooltipPositionProps = 'top' | 'bottom' | 'right' | 'left' | null | undefined;\n\n/** Configuration object for tooltip styling */\nexport type TooltipProps = {\n\tvariant?: TooltipVariantProps;\n\tposition?: TooltipPositionProps;\n};\n\ntype TooltipSide = 'top' | 'bottom' | 'right' | 'left';\ntype TooltipPhase = 'closed' | 'opening' | 'open' | 'closing';\n\nconst focusableSelector = 'a[href], area[href], button, input, select, textarea, [contenteditable=\"true\"], [tabindex]:not([tabindex=\"-1\"])';\n\n/** Focus the browser would show a ring for (keyboard, or programmatic after keyboard), shadow roots included. */\nfunction isKeyboardFocus(element: HTMLElement): boolean {\n\ttry {\n\t\treturn element.matches(':focus-visible');\n\t} catch {\n\t\treturn true;\n\t}\n}\n\nfunction isEnabledFocusable(element: HTMLElement): boolean {\n\tlet ancestor: HTMLElement | null = element;\n\twhile (ancestor) {\n\t\tconst ancestorStyle = getComputedStyle(ancestor);\n\t\tif (\n\t\t\tancestor.style.display === 'none' ||\n\t\t\tancestor.style.visibility === 'hidden' ||\n\t\t\tancestorStyle.display === 'none' ||\n\t\t\tancestorStyle.visibility === 'hidden'\n\t\t)\n\t\t\treturn false;\n\t\tancestor = ancestor.parentElement;\n\t}\n\n\tconst style = getComputedStyle(element);\n\treturn Boolean(\n\t\telement.isConnected &&\n\t\telement.tabIndex >= 0 &&\n\t\t!element.matches(':disabled') &&\n\t\t!(element as HTMLButtonElement).disabled &&\n\t\telement.getAttribute('aria-disabled') !== 'true' &&\n\t\t!element.closest('[hidden], [inert], [aria-hidden=\"true\"], fieldset[disabled]') &&\n\t\t!element.hidden &&\n\t\t!(element as HTMLElement & { inert?: boolean }).inert &&\n\t\tstyle.display !== 'none' &&\n\t\tstyle.visibility !== 'hidden',\n\t);\n}\n\n/**\n * A customizable tooltip component with multiple variants and content options\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports both simple text labels and custom content tooltips.\n *\n * @example\n * ```html\n * <!-- Simple text tooltip -->\n * <st-tooltip variant=\"primary\" label=\"Information tooltip\">\n * <button class=\"btn\">Hover me</button>\n * </st-tooltip>\n * ```\n *\n * @example\n * ```html\n * <!-- Custom content tooltip -->\n * <st-tooltip position=\"right\" variant=\"warning\">\n * <button class=\"btn\">Dangerous action</button>\n * <st-tooltip-content>\n * <div class=\"text-red-500 font-bold\">\n * ⚠️ Proceed with caution!\n * </div>\n * </st-tooltip-content>\n * </st-tooltip>\n * ```\n */\n@Component({\n\tselector: 'st-tooltip',\n\tstandalone: true,\n\timports: [CdkConnectedOverlay, CdkOverlayOrigin, NgTemplateOutlet, IconComponent],\n\ttemplateUrl: './tooltip.component.html',\n\tstyles: '',\n\thost: {\n\t\tclass: 'inline-flex items-center',\n\t},\n})\nexport class TooltipComponent {\n\tprotected readonly themeDomService = inject(ThemeDomService);\n\tprivate readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\tprivate readonly renderer = inject(Renderer2);\n\tprivate readonly destroyRef = inject(DestroyRef);\n\tprivate readonly scrollDispatcher = inject(ScrollDispatcher);\n\tprivate readonly overlay = inject(Overlay);\n\tprotected readonly repositionScrollStrategy: ScrollStrategy = this.overlay.scrollStrategies.reposition();\n\tprivate cdkPositionStrategy: FlexibleConnectedPositionStrategy | null = null;\n\t/**\n\t * Tooltip color variant\n\t * @defaultValue 'base'\n\t */\n\tvariant = input<TooltipVariantProps>();\n\n\t/**\n\t * Tooltip position relative to target element\n\t * @defaultValue 'bottom'\n\t */\n\tposition = input<TooltipPositionProps>();\n\n\t/**\n\t * Text label for simple tooltip content\n\t */\n\tlabel = input<string>();\n\n\t/**\n\t * Optional icon name to render inside the trigger (mirrors Button API)\n\t */\n\ticon = input<string | undefined>();\n\n\t/**\n\t * Icon position relative to content\n\t * @defaultValue 'left'\n\t */\n\ticonPosition = input<'left' | 'right' | null | undefined>('left');\n\n\t/**\n\t * @internal\n\t * Reference to custom tooltip content component\n\t */\n\tcustomContent = contentChild(TooltipContentComponent);\n\tprivate readonly richContentElement = contentChild(TooltipContentComponent, { read: ElementRef<HTMLElement> });\n\tprivate readonly richContentText = signal('');\n\n\t/**\n\t * @internal\n\t * Computed flag indicating presence of custom content\n\t */\n\thasCustomContent = computed(() => !!this.customContent());\n\n\tprivate readonly hasTooltipContent = computed(() => {\n\t\tconst label = this.label()?.trim();\n\t\tconst richContent = this.richContentText();\n\t\treturn Boolean(label || richContent);\n\t});\n\n\tprivate readonly requestedOpen = signal(false);\n\tprivate readonly pointerInside = signal(false);\n\tprivate readonly focusedTarget = signal<HTMLElement | null>(null);\n\tprivate readonly escapeClosed = signal(false);\n\tprotected readonly renderedOpen = signal(false);\n\tprotected readonly phase = signal<TooltipPhase>('closed');\n\tprivate readonly activePosition = signal<ConnectedPosition | null>(null);\n\tprivate readonly closingSide = signal<TooltipSide | null>(null);\n\tprivate transitionToken = 0;\n\tprotected readonly tooltipId = `st-tooltip-${generateUniqueId()}`;\n\tprotected readonly origin = viewChild.required(CdkOverlayOrigin);\n\tprivate animationFallbackHandle: ReturnType<typeof setTimeout> | null = null;\n\tprotected readonly triggerTabIndexValue = signal<number | null>(0);\n\n\t/**\n\t * @internal\n\t * Computed class string for the tooltip container\n\t */\n\tcomponentClass = computed(() => {\n\t\treturn cn(\n\t\t\ttooltipComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t\tposition: this.position(),\n\t\t\t}),\n\t\t);\n\t});\n\n\tconstructor() {\n\t\tafterRenderEffect(() => {\n\t\t\tconst richContent = this.richContentElement()?.nativeElement.textContent?.trim() ?? '';\n\t\t\tif (richContent !== this.richContentText()) this.richContentText.set(richContent);\n\t\t\tthis.triggerTabIndexValue.set(this.hasFocusableDescendant() ? null : 0);\n\t\t});\n\t\teffect((onCleanup) => {\n\t\t\tconst element = this.richContentElement()?.nativeElement;\n\t\t\tif (!element || typeof MutationObserver === 'undefined') return;\n\t\t\tconst updateRichContent = () => {\n\t\t\t\tconst richContent = element.textContent?.trim() ?? '';\n\t\t\t\tif (richContent !== this.richContentText()) this.richContentText.set(richContent);\n\t\t\t};\n\t\t\tconst observer = new MutationObserver(updateRichContent);\n\t\t\tobserver.observe(element, { characterData: true, childList: true, subtree: true });\n\t\t\tupdateRichContent();\n\t\t\tonCleanup(() => observer.disconnect());\n\t\t});\n\t\teffect(() => {\n\t\t\tif (!this.hasTooltipContent()) {\n\t\t\t\tthis.syncDescribedBy(null);\n\t\t\t\tif (this.requestedOpen()) this.requestOpen(false);\n\t\t\t}\n\t\t});\n\t\tthis.destroyRef.onDestroy(() => {\n\t\t\tthis.clearTooltipAnimationFallback();\n\t\t\tthis.syncDescribedBy(null);\n\t\t\tthis.transitionToken += 1;\n\t\t});\n\t}\n\n\tprotected readonly positions = computed<ConnectedPosition[]>(() => {\n\t\tconst requestedSide = this.sideFromPair(this.primaryPosition(this.position()));\n\t\tconst [firstOrthogonal, secondOrthogonal] = this.orthogonalSides(requestedSide);\n\t\treturn [requestedSide, this.oppositeSide(requestedSide), firstOrthogonal, secondOrthogonal].map((side) => this.primaryPosition(side));\n\t});\n\n\tprivate primaryPosition(position: TooltipPositionProps): ConnectedPosition {\n\t\tswitch (position) {\n\t\t\tcase 'top':\n\t\t\t\treturn { originX: 'center', originY: 'top', overlayX: 'center', overlayY: 'bottom', offsetX: 0, offsetY: -8 };\n\t\t\tcase 'right':\n\t\t\t\treturn { originX: 'end', originY: 'center', overlayX: 'start', overlayY: 'center', offsetX: 8, offsetY: 0 };\n\t\t\tcase 'left':\n\t\t\t\treturn { originX: 'start', originY: 'center', overlayX: 'end', overlayY: 'center', offsetX: -8, offsetY: 0 };\n\t\t\tdefault:\n\t\t\t\treturn { originX: 'center', originY: 'bottom', overlayX: 'center', overlayY: 'top', offsetX: 0, offsetY: 8 };\n\t\t}\n\t}\n\n\tprivate oppositeSide(side: TooltipSide): TooltipSide {\n\t\treturn ({ bottom: 'top', top: 'bottom', right: 'left', left: 'right' } satisfies Record<TooltipSide, TooltipSide>)[side];\n\t}\n\n\tprivate orthogonalSides(side: TooltipSide): [TooltipSide, TooltipSide] {\n\t\treturn side === 'bottom' || side === 'top' ? ['right', 'left'] : ['bottom', 'top'];\n\t}\n\n\tprivate sideFromPair(pair: ConnectedPosition): TooltipSide {\n\t\tif (pair.originY === 'bottom' && pair.overlayY === 'top') return 'bottom';\n\t\tif (pair.originY === 'top' && pair.overlayY === 'bottom') return 'top';\n\t\tif (pair.originX === 'end' && pair.overlayX === 'start') return 'right';\n\t\tif (pair.originX === 'start' && pair.overlayX === 'end') return 'left';\n\t\treturn 'bottom';\n\t}\n\n\tprotected readonly tooltipDirection = computed<TooltipSide>(() => {\n\t\treturn this.closingSide() ?? this.sideFromPair(this.activePosition() ?? this.positions()[0]);\n\t});\n\n\tprotected readonly tooltipClasses = computed(() => {\n\t\tconst phase = this.phase();\n\t\tif (phase === 'closed') return '';\n\t\tconst side = this.tooltipDirection();\n\t\tconst classes: Record<TooltipSide, Record<'opening' | 'open' | 'closing', string>> = {\n\t\t\tbottom: {\n\t\t\t\topening: 'animate-fade-in-up animate-duration-150 origin-top',\n\t\t\t\topen: 'animate-fade-in-up animate-duration-150 origin-top',\n\t\t\t\tclosing: 'animate-fade-out-down animate-duration-150 origin-top',\n\t\t\t},\n\t\t\ttop: {\n\t\t\t\topening: 'animate-fade-in-down animate-duration-150 origin-bottom',\n\t\t\t\topen: 'animate-fade-in-down animate-duration-150 origin-bottom',\n\t\t\t\tclosing: 'animate-fade-out-up animate-duration-150 origin-bottom',\n\t\t\t},\n\t\t\tright: {\n\t\t\t\topening: 'animate-fade-in-right animate-duration-150 origin-left',\n\t\t\t\topen: 'animate-fade-in-right animate-duration-150 origin-left',\n\t\t\t\tclosing: 'animate-fade-out-left animate-duration-150 origin-left',\n\t\t\t},\n\t\t\tleft: {\n\t\t\t\topening: 'animate-fade-in-left animate-duration-150 origin-right',\n\t\t\t\topen: 'animate-fade-in-left animate-duration-150 origin-right',\n\t\t\t\tclosing: 'animate-fade-out-right animate-duration-150 origin-right',\n\t\t\t},\n\t\t};\n\t\tconst variant = this.variant() ?? 'base';\n\t\tconst variantClass = this.variant() ? `tooltip-${this.variant()}` : '';\n\t\tconst surface = tooltipVariantSurface[variant] ?? tooltipVariantSurface.base;\n\t\treturn `tooltip ${variantClass} ${surface} rounded-field px-2 py-1 shadow-sm ${classes[side][phase]}`.trim();\n\t});\n\n\tprotected readonly transformOrigin = computed(() => ({ bottom: 'top', top: 'bottom', right: 'left', left: 'right' })[this.tooltipDirection()]);\n\n\tprotected tooltipAnimationClass(): string {\n\t\treturn this.tooltipClasses();\n\t}\n\n\tprivate expectedTooltipAnimationName(phase: 'opening' | 'closing', side: TooltipSide): string {\n\t\treturn {\n\t\t\tbottom: { opening: 'fade-in-up', closing: 'fade-out-down' },\n\t\t\ttop: { opening: 'fade-in-down', closing: 'fade-out-up' },\n\t\t\tright: { opening: 'fade-in-right', closing: 'fade-out-left' },\n\t\t\tleft: { opening: 'fade-in-left', closing: 'fade-out-right' },\n\t\t}[side][phase];\n\t}\n\n\tprivate hasFocusableDescendant(): boolean {\n\t\tconst origin = this.origin().elementRef.nativeElement as HTMLElement;\n\t\treturn Array.from(origin.querySelectorAll<HTMLElement>(focusableSelector)).some((element) => isEnabledFocusable(element));\n\t}\n\n\tprotected resolveFocusTarget(event: FocusEvent): HTMLElement | null {\n\t\tconst origin = this.origin().elementRef.nativeElement as HTMLElement;\n\t\tfor (const item of event.composedPath()) {\n\t\t\tif (!(item instanceof HTMLElement) || !this.elementRef.nativeElement.contains(item)) continue;\n\t\t\tif (item === origin && event.target !== origin) continue;\n\t\t\tif ((item === origin || item.matches(focusableSelector)) && isEnabledFocusable(item)) return item;\n\t\t}\n\t\treturn null;\n\t}\n\n\tprotected syncDescribedBy(target: HTMLElement | null): void {\n\t\tconst previous = this.focusedTarget();\n\t\tif (!this.hasTooltipContent()) {\n\t\t\tif (previous) this.removeDescribedBy(previous);\n\t\t\tthis.focusedTarget.set(null);\n\t\t\treturn;\n\t\t}\n\t\tif (!target) {\n\t\t\tif (previous) this.removeDescribedBy(previous);\n\t\t\tthis.focusedTarget.set(null);\n\t\t\treturn;\n\t\t}\n\t\tif (previous && previous !== target) this.removeDescribedBy(previous);\n\t\tconst tokens = (target.getAttribute('aria-describedby') ?? '').split(/\\s+/).filter(Boolean);\n\t\tif (!tokens.includes(this.tooltipId)) this.renderer.setAttribute(target, 'aria-describedby', [...tokens, this.tooltipId].join(' '));\n\t\tthis.focusedTarget.set(target);\n\t}\n\n\tprivate removeDescribedBy(target: HTMLElement): void {\n\t\tconst tokens = (target.getAttribute('aria-describedby') ?? '').split(/\\s+/).filter((token) => token && token !== this.tooltipId);\n\t\tif (tokens.length) this.renderer.setAttribute(target, 'aria-describedby', tokens.join(' '));\n\t\telse this.renderer.removeAttribute(target, 'aria-describedby');\n\t}\n\n\tprotected requestOpen(next: boolean): void {\n\t\tif (next && (this.escapeClosed() || !this.hasTooltipContent())) return;\n\t\tif (next === this.requestedOpen()) return;\n\t\tthis.requestedOpen.set(next);\n\t\tthis.transitionToken += 1;\n\t\tthis.clearTooltipAnimationFallback();\n\t\tconst token = this.transitionToken;\n\t\tif (next) {\n\t\t\tthis.closingSide.set(null);\n\t\t\tif (!this.renderedOpen()) this.activePosition.set(null);\n\t\t\tthis.renderedOpen.set(true);\n\t\t\tthis.phase.set('opening');\n\t\t\tthis.animationFallbackHandle = setTimeout(() => {\n\t\t\t\tthis.animationFallbackHandle = null;\n\t\t\t\tif (token === this.transitionToken && this.phase() === 'opening') this.scheduleTooltipAnimationFallback(token, 'opening');\n\t\t\t}, 0);\n\t\t} else {\n\t\t\tthis.closingSide.set(this.sideFromPair(this.activePosition() ?? this.positions()[0]));\n\t\t\tthis.phase.set('closing');\n\t\t\tthis.scheduleTooltipAnimationFallback(token, 'closing');\n\t\t}\n\t}\n\n\tprotected onPointerEnter(): void {\n\t\tthis.pointerInside.set(true);\n\t\tthis.escapeClosed.set(false);\n\t\tthis.requestOpen(true);\n\t}\n\n\tprotected onPointerLeave(): void {\n\t\tthis.pointerInside.set(false);\n\t\tif (!this.focusedTarget()) this.requestOpen(false);\n\t}\n\n\tprotected onFocusIn(event: FocusEvent): void {\n\t\tconst target = this.resolveFocusTarget(event);\n\t\tthis.syncDescribedBy(target);\n\t\t// After a press or Escape, only keyboard focus may reopen it: the focus that the press itself\n\t\t// causes, or that a dialog restores to the trigger on close, must not pin it open again.\n\t\tif (this.escapeClosed() && !(target && isKeyboardFocus(target))) return;\n\t\tthis.escapeClosed.set(false);\n\t\tthis.requestOpen(Boolean(target));\n\t}\n\n\t/** Pressing the trigger dismisses the tooltip until a fresh pointer enter or keyboard focus. */\n\tprotected onPress(): void {\n\t\tthis.escapeClosed.set(true);\n\t\tthis.requestOpen(false);\n\t}\n\n\tprotected onFocusOut(event: FocusEvent): void {\n\t\tconst related = event.relatedTarget;\n\t\tif (related instanceof Node && this.elementRef.nativeElement.contains(related)) return;\n\t\tthis.syncDescribedBy(null);\n\t\tif (!this.pointerInside()) this.requestOpen(false);\n\t}\n\n\tprotected onEscape(): void {\n\t\tthis.escapeClosed.set(true);\n\t\tthis.requestOpen(false);\n\t}\n\n\tprotected onTooltipPositionChange(event: ConnectedOverlayPositionChange): void {\n\t\tthis.activePosition.set(event.connectionPair);\n\t\tif (this.isOriginOutsideView(event)) {\n\t\t\tthis.syncDescribedBy(null);\n\t\t\tthis.requestOpen(false);\n\t\t}\n\t}\n\n\tprotected tooltipPositionStrategy(): FlexibleConnectedPositionStrategy {\n\t\tconst strategy = this.cdkPositionStrategy ?? (this.cdkPositionStrategy = this.overlay.position().flexibleConnectedTo(this.origin().elementRef));\n\t\tstrategy\n\t\t\t.setOrigin(this.origin().elementRef)\n\t\t\t.withPositions(this.positions())\n\t\t\t.withPush(true)\n\t\t\t.withViewportMargin(8)\n\t\t\t.withScrollableContainers(this.scrollDispatcher.getAncestorScrollContainers(this.origin().elementRef));\n\t\treturn strategy;\n\t}\n\n\tprivate isOriginOutsideView(change: ConnectedOverlayPositionChange): boolean {\n\t\treturn change.scrollableViewProperties?.isOriginOutsideView === true;\n\t}\n\n\tprotected onTooltipAnimationEnd(event: AnimationEvent): void {\n\t\tconst phase = this.phase();\n\t\tif ((phase !== 'opening' && phase !== 'closing') || event.target !== event.currentTarget) return;\n\t\tconst side = this.tooltipDirection();\n\t\tif (event.animationName !== this.expectedTooltipAnimationName(phase, side)) return;\n\t\tif (phase === 'opening') this.settleTooltipOpening(this.transitionToken);\n\t\telse this.settleTooltipClosing(this.transitionToken);\n\t}\n\n\tprotected onTooltipAnimationCancel(event: AnimationEvent): void {\n\t\tconst phase = this.phase();\n\t\tif ((phase !== 'opening' && phase !== 'closing') || event.target !== event.currentTarget) return;\n\t\tconst side = this.tooltipDirection();\n\t\tif (event.animationName !== this.expectedTooltipAnimationName(phase, side)) return;\n\t\tthis.scheduleTooltipAnimationFallback(this.transitionToken, phase);\n\t}\n\n\tprotected onTooltipDetach(): void {\n\t\tthis.clearTooltipAnimationFallback();\n\t\tthis.transitionToken += 1;\n\t\tthis.cdkPositionStrategy = null;\n\t\tthis.activePosition.set(null);\n\t\tthis.renderedOpen.set(false);\n\t\tthis.phase.set('closed');\n\t}\n\n\tprivate settleTooltipOpening(token: number): void {\n\t\tif (token !== this.transitionToken || !this.requestedOpen() || this.phase() !== 'opening') return;\n\t\tthis.clearTooltipAnimationFallback();\n\t\tthis.phase.set('open');\n\t}\n\n\tprivate settleTooltipClosing(token: number): void {\n\t\tif (token !== this.transitionToken || this.requestedOpen() || this.phase() !== 'closing') return;\n\t\tthis.clearTooltipAnimationFallback();\n\t\tthis.cdkPositionStrategy = null;\n\t\tthis.renderedOpen.set(false);\n\t}\n\n\tprivate scheduleTooltipAnimationFallback(token: number, phase: 'opening' | 'closing'): void {\n\t\tthis.clearTooltipAnimationFallback();\n\t\tconst root = this.elementRef.nativeElement.ownerDocument.getElementById(this.tooltipId);\n\t\tconst style = root ? getComputedStyle(root) : null;\n\t\tconst parseTime = (value: string) => {\n\t\t\tconst parsed = Number.parseFloat(value);\n\t\t\treturn Number.isFinite(parsed) ? (value.trim().endsWith('ms') ? parsed : parsed * 1000) : 0;\n\t\t};\n\t\tconst durations = style?.animationDuration.split(',').map(parseTime) ?? [0];\n\t\tconst delays = style?.animationDelay.split(',').map(parseTime) ?? [0];\n\t\tconst duration = Math.max(...durations.map((value, index) => value + (delays[index] ?? delays[0] ?? 0)), 0);\n\t\tthis.animationFallbackHandle = setTimeout(() => {\n\t\t\tthis.animationFallbackHandle = null;\n\t\t\tif (phase === 'opening') this.settleTooltipOpening(token);\n\t\t\telse this.settleTooltipClosing(token);\n\t\t}, duration);\n\t}\n\n\tprivate clearTooltipAnimationFallback(): void {\n\t\tif (this.animationFallbackHandle === null) return;\n\t\tclearTimeout(this.animationFallbackHandle);\n\t\tthis.animationFallbackHandle = null;\n\t}\n}\n","@let labelVar = label()?.trim();\n@let componentClassVar = componentClass();\n\n<ng-template #richContent><ng-content select=\"st-tooltip-content\"></ng-content></ng-template>\n\n<div\n\tcdkOverlayOrigin\n\t[class]=\"componentClassVar\"\n\t[attr.tabindex]=\"triggerTabIndexValue()\"\n\t(mouseenter)=\"onPointerEnter()\"\n\t(mouseleave)=\"onPointerLeave()\"\n\t(focusin)=\"onFocusIn($event)\"\n\t(focusout)=\"onFocusOut($event)\"\n\t(keydown.escape)=\"onEscape()\"\n\t(pointerdown)=\"onPress()\"\n>\n\t@let iconVar = icon();\n\t@let iconPositionVar = iconPosition() ?? 'left';\n\t@if (iconVar && iconPositionVar === 'left') {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n\n\t<ng-content></ng-content>\n\n\t@if (iconVar && iconPositionVar === 'right') {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n</div>\n\n@if (renderedOpen()) {\n\t<ng-template\n\t\tcdkConnectedOverlay\n\t\t[cdkConnectedOverlayOrigin]=\"origin()\"\n\t\t[cdkConnectedOverlayOpen]=\"true\"\n\t\t[cdkConnectedOverlayPositionStrategy]=\"tooltipPositionStrategy()\"\n\t\t[cdkConnectedOverlayPositions]=\"positions()\"\n\t\t[cdkConnectedOverlayScrollStrategy]=\"repositionScrollStrategy\"\n\t\t[cdkConnectedOverlayPush]=\"true\"\n\t\t[cdkConnectedOverlayViewportMargin]=\"8\"\n\t\t[cdkConnectedOverlayDisableClose]=\"true\"\n\t\t[cdkConnectedOverlayPanelClass]=\"'pointer-events-none!'\"\n\t\t(positionChange)=\"onTooltipPositionChange($event)\"\n\t\t(detach)=\"onTooltipDetach()\"\n\t>\n\t\t<div class=\"contents\" [attr.data-theme]=\"themeDomService.themeOf(origin().elementRef.nativeElement)\">\n\t\t\t<div\n\t\t\t\t[attr.id]=\"tooltipId\"\n\t\t\t\trole=\"tooltip\"\n\t\t\t\t[class]=\"tooltipAnimationClass()\"\n\t\t\t\t[attr.data-state]=\"phase()\"\n\t\t\t\t[attr.data-side]=\"tooltipDirection()\"\n\t\t\t\t[style.transform-origin]=\"transformOrigin()\"\n\t\t\t\t(animationend)=\"onTooltipAnimationEnd($event)\"\n\t\t\t\t(animationcancel)=\"onTooltipAnimationCancel($event)\"\n\t\t\t>\n\t\t\t\t@if (labelVar) {\n\t\t\t\t\t{{ labelVar }}\n\t\t\t\t} @else {\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"richContent\"></ng-container>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t</ng-template>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCG;MAOU,uBAAuB,CAAA;wGAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC1CpC,6BACA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDqCW,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAIV,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBANnC,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AAE,gBAAgB,EAAA,QAAA,EAAA,4DAAA,EAAA,QAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,gBAAgB,oJAAE,aAAa,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,MAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAOpE,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAV5B,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,YAAY,EAAA,UAAA,EACV,IAAI,EAAA,OAAA,EACP,CAAC,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,aAAa,CAAC,EAAA,IAAA,EAG3E;AACL,wBAAA,KAAK,EAAE,0BAA0B;AACjC,qBAAA,EAAA,QAAA,EAAA,0rEAAA,EAAA;;;AEvKF;;AAEG;;;;"}
@@ -325,7 +325,7 @@ class WizardActionsComponent {
325
325
  // Base table properties
326
326
  alignment = input('left');
327
327
  componentClass = computed(() => {
328
- return cn('flex-w font-body flex items-center gap-2 leading-normal text-pretty', {
328
+ return cn('font-body flex flex-wrap items-center gap-2 leading-normal text-pretty', {
329
329
  'justify-start': this.alignment() === 'left',
330
330
  'justify-end': this.alignment() === 'right',
331
331
  'justify-center': this.alignment() === 'center',
@@ -592,7 +592,7 @@ class WizardStepComponent {
592
592
  * @internal
593
593
  */
594
594
  stepClasses = computed(() => {
595
- const baseOuterClasses = 'flex h-[50px] min-h-[50px] w-[50px] min-w-[50px] items-center justify-center rounded-full border-[1px] border-solid p-[2px] font-medium text-neutral-content';
595
+ const baseOuterClasses = 'flex h-[50px] min-h-[50px] w-[50px] min-w-[50px] items-center justify-center rounded-full border border-solid p-[2px] font-medium text-neutral-content';
596
596
  const baseInnerClasses = 'flex h-full w-full items-center justify-center rounded-full';
597
597
  const currentStatus = this.status();
598
598
  const isCompleted = currentStatus === 'completed';
@@ -603,13 +603,13 @@ class WizardStepComponent {
603
603
  'border-primary currentStep transition-colors duration-300 ease-out': isInProgress,
604
604
  'border-success notCurrentStep transition-colors duration-300 ease-out': isCompleted,
605
605
  'border-error notCurrentStep transition-colors duration-300 ease-out': isError,
606
- 'border-base-300 notCurrentStep transition-colors delay-[300ms] duration-300 ease-out': isPending,
606
+ 'border-base-300 notCurrentStep transition-colors delay-300 duration-300 ease-out': isPending,
607
607
  });
608
608
  const innerClasses = cn(baseInnerClasses, {
609
609
  'bg-primary text-primary-content currentStep transition-colors duration-300 ease-out': isInProgress,
610
610
  'bg-success text-success-content notCurrentStep transition-colors duration-300 ease-out': isCompleted,
611
611
  'bg-error text-error-content notCurrentStep transition-colors duration-300 ease-out': isError,
612
- 'bg-base-200 text-base-content notCurrentStep transition-colors delay-[300ms] duration-300 ease-out': isPending,
612
+ 'bg-base-200 text-base-content notCurrentStep transition-colors delay-300 duration-300 ease-out': isPending,
613
613
  });
614
614
  return { outerClasses, innerClasses };
615
615
  });
@@ -625,7 +625,7 @@ class WizardStepComponent {
625
625
  const isCompleted = this.status() === 'completed';
626
626
  return cn('col-start-1 row-start-1 grid place-items-center leading-none', {
627
627
  'invisible opacity-0': isCompleted,
628
- 'animate-fade-in animate-duration-300 opacity-100 delay-[350ms]': !isCompleted,
628
+ 'animate-fade-in animate-duration-300 opacity-100 delay-350': !isCompleted,
629
629
  });
630
630
  });
631
631
  /**
@@ -639,16 +639,16 @@ class WizardStepComponent {
639
639
  stepIconClasses = computed(() => {
640
640
  const isCompleted = this.status() === 'completed';
641
641
  return cn('col-start-1 row-start-1 grid place-items-center leading-none', {
642
- 'animate-fade-in animate-duration-300 opacity-100 delay-[350ms]': isCompleted,
642
+ 'animate-fade-in animate-duration-300 opacity-100 delay-350': isCompleted,
643
643
  'invisible opacity-0': !isCompleted,
644
644
  });
645
645
  });
646
646
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
647
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: WizardStepComponent, isStandalone: true, selector: "st-wizard-step", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null }, stepIndex: { classPropertyName: "stepIndex", publicName: "stepIndex", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"stepClasses().outerClasses\">\n\t<div [class]=\"stepClasses().innerClasses\">\n\t\t<div class=\"wizard-step-overlay grid h-full w-full place-items-center\">\n\t\t\t<div [class]=\"stepNumberClasses()\">\n\t\t\t\t@let iconVar = icon();\n\t\t\t\t@if (iconVar) {\n\t\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t\t} @else {\n\t\t\t\t\t<span stText=\"7\" stTextColor=\"base\" stTextWeight=\"semibold\">\n\t\t\t\t\t\t{{ stepIndex() + 1 }}\n\t\t\t\t\t</span>\n\t\t\t\t}\n\t\t\t</div>\n\t\t\t<div [class]=\"stepIconClasses()\">\n\t\t\t\t<st-icon [icon]=\"iconCheck\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n", dependencies: [{ kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
647
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: WizardStepComponent, isStandalone: true, selector: "st-wizard-step", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null }, stepIndex: { classPropertyName: "stepIndex", publicName: "stepIndex", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"stepClasses().outerClasses\">\n\t<div [class]=\"stepClasses().innerClasses\">\n\t\t<div class=\"wizard-step-overlay grid h-full w-full place-items-center\">\n\t\t\t<div [class]=\"stepNumberClasses()\">\n\t\t\t\t@let iconVar = icon();\n\t\t\t\t@if (iconVar) {\n\t\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t\t} @else {\n\t\t\t\t\t<span stText=\"7\" stTextColor=\"inherit\" stTextWeight=\"semibold\">\n\t\t\t\t\t\t{{ stepIndex() + 1 }}\n\t\t\t\t\t</span>\n\t\t\t\t}\n\t\t\t</div>\n\t\t\t<div [class]=\"stepIconClasses()\">\n\t\t\t\t<st-icon [icon]=\"iconCheck\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n", dependencies: [{ kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon", "ariaLabel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
648
648
  }
649
649
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardStepComponent, decorators: [{
650
650
  type: Component,
651
- args: [{ selector: 'st-wizard-step', imports: [TextDirective, IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"stepClasses().outerClasses\">\n\t<div [class]=\"stepClasses().innerClasses\">\n\t\t<div class=\"wizard-step-overlay grid h-full w-full place-items-center\">\n\t\t\t<div [class]=\"stepNumberClasses()\">\n\t\t\t\t@let iconVar = icon();\n\t\t\t\t@if (iconVar) {\n\t\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t\t} @else {\n\t\t\t\t\t<span stText=\"7\" stTextColor=\"base\" stTextWeight=\"semibold\">\n\t\t\t\t\t\t{{ stepIndex() + 1 }}\n\t\t\t\t\t</span>\n\t\t\t\t}\n\t\t\t</div>\n\t\t\t<div [class]=\"stepIconClasses()\">\n\t\t\t\t<st-icon [icon]=\"iconCheck\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n" }]
651
+ args: [{ selector: 'st-wizard-step', imports: [TextDirective, IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"stepClasses().outerClasses\">\n\t<div [class]=\"stepClasses().innerClasses\">\n\t\t<div class=\"wizard-step-overlay grid h-full w-full place-items-center\">\n\t\t\t<div [class]=\"stepNumberClasses()\">\n\t\t\t\t@let iconVar = icon();\n\t\t\t\t@if (iconVar) {\n\t\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t\t} @else {\n\t\t\t\t\t<span stText=\"7\" stTextColor=\"inherit\" stTextWeight=\"semibold\">\n\t\t\t\t\t\t{{ stepIndex() + 1 }}\n\t\t\t\t\t</span>\n\t\t\t\t}\n\t\t\t</div>\n\t\t\t<div [class]=\"stepIconClasses()\">\n\t\t\t\t<st-icon [icon]=\"iconCheck\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n" }]
652
652
  }] });
653
653
 
654
654
  /**
@@ -939,7 +939,7 @@ class WizardWrapperComponent {
939
939
  this.complete.emit();
940
940
  }
941
941
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
942
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: WizardWrapperComponent, isStandalone: true, selector: "st-wizard", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, card: { classPropertyName: "card", publicName: "card", isSignal: true, isRequired: false, transformFunction: null }, showControls: { classPropertyName: "showControls", publicName: "showControls", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { back: "back", previous: "previous", next: "next", complete: "complete" }, queries: [{ propertyName: "contents", predicate: WizardContentComponent, isSignal: true }], ngImport: i0, template: "@let contentsVar = contents();\n@let varinatVar = variant();\n\n<div\n\t[class]=\"varinatVar === 'horizontal' ? 'flex flex-col gap-6' : 'flex gap-6'\"\n\t[ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() && varinatVar === 'horizontal' }\"\n>\n\t<!-- Steps -->\n\t@if (varinatVar === 'horizontal') {\n\t\t<ul class=\"mx-auto my-0 flex w-full max-w-[80%_40vw] min-w-fit gap-4 px-3.5 pt-6 md:px-4 lg:px-5\">\n\t\t\t@for (step of wizardService.steps(); track $index) {\n\t\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t\t<st-wizard-step [icon]=\"step.icon\" [stepIndex]=\"$index\" [status]=\"step.status\"></st-wizard-step>\n\t\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t\t<div class=\"flex min-w-min flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t\t<st-wizard-marker [status]=\"step.status\"></st-wizard-marker>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<st-wizard-sub-step [stepIndex]=\"$index\" [stepStatus]=\"step.status\"></st-wizard-sub-step>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"mt-1 w-[50px]\">\n\t\t\t\t\t\t<div class=\"relative flex max-w-fit flex-col items-center\">\n\t\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t\t<span stText=\"8\" stTextColor=\"base\" stTextWeight=\"medium\">{{ step.label }}</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"text-secondary relative -top-1 min-w-max\" stText=\"9\">\n\t\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.step' | translate: { index: $index + 1 } }}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t}\n\t\t</ul>\n\t} @else {\n\t\t<ul class=\"grid h-min max-h-min gap-4\" [ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() }\">\n\t\t\t@for (step of wizardService.steps(); track $index) {\n\t\t\t\t<li>\n\t\t\t\t\t<!-- step pogress -->\n\t\t\t\t\t<div class=\"grid grid-rows-[min-content_min-content] gap-4\">\n\t\t\t\t\t\t<div class=\"flex items-center gap-3\">\n\t\t\t\t\t\t\t<st-wizard-step [icon]=\"step.icon\" [stepIndex]=\"$index\" [status]=\"step.status\"></st-wizard-step>\n\t\t\t\t\t\t\t<!-- step info -->\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<div class=\"relative flex max-w-fit flex-col\">\n\t\t\t\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t\t\t\t<span stText=\"8\" stTextColor=\"base\" stTextWeight=\"medium\">{{ step.label }}</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<div class=\"text-neutral relative -top-1 min-w-max\" stText=\"9\">\n\t\t\t\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.step' | translate: { index: $index + 1 } }}\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t\t<div class=\"flex flex-col justify-center\">\n\t\t\t\t\t\t\t\t<st-wizard-sub-step variant=\"vertical\" [stepIndex]=\"$index\" [stepStatus]=\"step.status\"></st-wizard-sub-step>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t}\n\t\t</ul>\n\t}\n\n\t<div class=\"flex flex-1 flex-col gap-6\" [ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() && varinatVar === 'vertical' }\">\n\t\t<!-- Content -->\n\t\t<div>\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\n\t\t<!-- Actions -->\n\t\t@if (this.showControls()) {\n\t\t\t<div class=\"flex items-center gap-3\">\n\t\t\t\t@if (wizardService.isCurrentStepFirst()) {\n\t\t\t\t\t<st-button variant=\"secondary\" [outline]=\"true\" [icon]=\"iconReturn\" (click)=\"handleBack()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.back' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t} @else {\n\t\t\t\t\t<st-button [icon]=\"iconChevronLeft\" variant=\"secondary\" [outline]=\"true\" (click)=\"handlePrevious()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.previous' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t}\n\t\t\t\t@if (wizardService.isCurrentStepLast()) {\n\t\t\t\t\t<st-button\n\t\t\t\t\t\t[disabled]=\"!wizardService.areAllStepsValid()\"\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t(click)=\"handleComplete()\"\n\t\t\t\t\t\t[disabled]=\"loading()\"\n\t\t\t\t\t\t[loader]=\"loading()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t@if (!loading()) {\n\t\t\t\t\t\t\t<st-icon [icon]=\"iconSave\"></st-icon>\n\n\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.end' | translate }}\n\t\t\t\t\t\t}\n\t\t\t\t\t</st-button>\n\t\t\t\t} @else {\n\t\t\t\t\t<st-button\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t[icon]=\"iconChevronRight\"\n\t\t\t\t\t\ticonPosition=\"right\"\n\t\t\t\t\t\t[disabled]=\"!wizardService.currentStep().isValid\"\n\t\t\t\t\t\t(click)=\"handleNext()\"\n\t\t\t\t\t\t>{{ 'sdk.wizard.wizardWrapper.next' | translate }}</st-button\n\t\t\t\t\t>\n\t\t\t\t}\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<ng-content select=\"st-wizard-actions\"></ng-content>\n\t\t}\n\t</div>\n</div>\n", dependencies: [{ kind: "component", type: WizardStepComponent, selector: "st-wizard-step", inputs: ["icon", "status", "stepIndex"] }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "link", "soft", "dash", "wide", "circle", "square", "glass", "block", "loader", "size", "shadow", "focusable", "icon", "iconPosition", "type", "disabled", "stopPropagation"], outputs: ["clicked", "pointerDown", "keyDownEnter", "keyDownSpace", "triggered"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }, { kind: "component", type: WizardMarkerComponent, selector: "st-wizard-marker", inputs: ["status"] }, { kind: "component", type: WizardSubStepComponent, selector: "st-wizard-sub-step", inputs: ["variant", "stepIndex", "stepStatus"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }] });
942
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: WizardWrapperComponent, isStandalone: true, selector: "st-wizard", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, card: { classPropertyName: "card", publicName: "card", isSignal: true, isRequired: false, transformFunction: null }, showControls: { classPropertyName: "showControls", publicName: "showControls", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { back: "back", previous: "previous", next: "next", complete: "complete" }, queries: [{ propertyName: "contents", predicate: WizardContentComponent, isSignal: true }], ngImport: i0, template: "@let contentsVar = contents();\n@let varinatVar = variant();\n\n<div\n\t[class]=\"varinatVar === 'horizontal' ? 'flex flex-col gap-6' : 'flex gap-6'\"\n\t[ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() && varinatVar === 'horizontal' }\"\n>\n\t<!-- Steps -->\n\t@if (varinatVar === 'horizontal') {\n\t\t<ul class=\"mx-auto my-0 flex w-full max-w-[80%_40vw] min-w-fit gap-4 px-3.5 pt-6 md:px-4 lg:px-5\">\n\t\t\t@for (step of wizardService.steps(); track $index) {\n\t\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t\t<st-wizard-step [icon]=\"step.icon\" [stepIndex]=\"$index\" [status]=\"step.status\"></st-wizard-step>\n\t\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t\t<div class=\"flex min-w-min flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t\t<st-wizard-marker [status]=\"step.status\"></st-wizard-marker>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<st-wizard-sub-step [stepIndex]=\"$index\" [stepStatus]=\"step.status\"></st-wizard-sub-step>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"mt-1 w-[50px]\">\n\t\t\t\t\t\t<div class=\"relative flex max-w-fit flex-col items-center\">\n\t\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t\t<span stText=\"8\" stTextColor=\"base\" stTextWeight=\"medium\">{{ step.label }}</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"text-secondary relative -top-1 min-w-max\" stText=\"9\">\n\t\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.step' | translate: { index: $index + 1 } }}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t}\n\t\t</ul>\n\t} @else {\n\t\t<ul class=\"grid h-min max-h-min gap-4\" [ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() }\">\n\t\t\t@for (step of wizardService.steps(); track $index) {\n\t\t\t\t<li>\n\t\t\t\t\t<!-- step pogress -->\n\t\t\t\t\t<div class=\"grid grid-rows-[min-content_min-content] gap-4\">\n\t\t\t\t\t\t<div class=\"flex items-center gap-3\">\n\t\t\t\t\t\t\t<st-wizard-step [icon]=\"step.icon\" [stepIndex]=\"$index\" [status]=\"step.status\"></st-wizard-step>\n\t\t\t\t\t\t\t<!-- step info -->\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<div class=\"relative flex max-w-fit flex-col\">\n\t\t\t\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t\t\t\t<span stText=\"8\" stTextColor=\"base\" stTextWeight=\"medium\">{{ step.label }}</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<div class=\"text-neutral relative -top-1 min-w-max\" stText=\"9\">\n\t\t\t\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.step' | translate: { index: $index + 1 } }}\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t\t<div class=\"flex flex-col justify-center\">\n\t\t\t\t\t\t\t\t<st-wizard-sub-step variant=\"vertical\" [stepIndex]=\"$index\" [stepStatus]=\"step.status\"></st-wizard-sub-step>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t}\n\t\t</ul>\n\t}\n\n\t<div class=\"flex flex-1 flex-col gap-6\" [ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() && varinatVar === 'vertical' }\">\n\t\t<!-- Content -->\n\t\t<div>\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\n\t\t<!-- Actions -->\n\t\t@if (this.showControls()) {\n\t\t\t<div class=\"flex items-center gap-3\">\n\t\t\t\t@if (wizardService.isCurrentStepFirst()) {\n\t\t\t\t\t<st-button variant=\"secondary\" [outline]=\"true\" [icon]=\"iconReturn\" (click)=\"handleBack()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.back' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t} @else {\n\t\t\t\t\t<st-button [icon]=\"iconChevronLeft\" variant=\"secondary\" [outline]=\"true\" (click)=\"handlePrevious()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.previous' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t}\n\t\t\t\t@if (wizardService.isCurrentStepLast()) {\n\t\t\t\t\t<st-button\n\t\t\t\t\t\t[disabled]=\"!wizardService.areAllStepsValid()\"\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t(click)=\"handleComplete()\"\n\t\t\t\t\t\t[disabled]=\"loading()\"\n\t\t\t\t\t\t[loader]=\"loading()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t@if (!loading()) {\n\t\t\t\t\t\t\t<st-icon [icon]=\"iconSave\"></st-icon>\n\n\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.end' | translate }}\n\t\t\t\t\t\t}\n\t\t\t\t\t</st-button>\n\t\t\t\t} @else {\n\t\t\t\t\t<st-button\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t[icon]=\"iconChevronRight\"\n\t\t\t\t\t\ticonPosition=\"right\"\n\t\t\t\t\t\t[disabled]=\"!wizardService.currentStep().isValid\"\n\t\t\t\t\t\t(click)=\"handleNext()\"\n\t\t\t\t\t\t>{{ 'sdk.wizard.wizardWrapper.next' | translate }}</st-button\n\t\t\t\t\t>\n\t\t\t\t}\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<ng-content select=\"st-wizard-actions\"></ng-content>\n\t\t}\n\t</div>\n</div>\n", dependencies: [{ kind: "component", type: WizardStepComponent, selector: "st-wizard-step", inputs: ["icon", "status", "stepIndex"] }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "link", "soft", "dash", "wide", "circle", "square", "glass", "block", "loader", "size", "shadow", "focusable", "icon", "iconPosition", "type", "disabled", "stopPropagation", "ariaLabel", "ariaExpanded", "ariaPressed"], outputs: ["clicked", "pointerDown", "keyDownEnter", "keyDownSpace", "triggered"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }, { kind: "component", type: WizardMarkerComponent, selector: "st-wizard-marker", inputs: ["status"] }, { kind: "component", type: WizardSubStepComponent, selector: "st-wizard-sub-step", inputs: ["variant", "stepIndex", "stepStatus"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon", "ariaLabel"] }] });
943
943
  }
944
944
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardWrapperComponent, decorators: [{
945
945
  type: Component,