@sixbell-telco/sdk 3.1.1 → 3.2.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 (143) hide show
  1. package/CHANGELOG.md +77 -1
  2. package/README.md +74 -56
  3. package/_index.css +290 -122
  4. package/components/accordion/README.md +20 -0
  5. package/components/audio-player/README.md +18 -0
  6. package/components/avatar/README.md +17 -0
  7. package/components/badge/README.md +17 -0
  8. package/components/badge/src/badge.component.d.ts +3 -3
  9. package/components/button/README.md +18 -0
  10. package/components/button/src/button.component.d.ts +2 -2
  11. package/components/card/README.md +36 -0
  12. package/components/countdown/README.md +18 -0
  13. package/components/data-table/README.md +31 -0
  14. package/components/dialog/README.md +24 -0
  15. package/components/dialog/src/dialog.component.d.ts +4 -1
  16. package/components/divider/README.md +17 -0
  17. package/components/dropdown/README.md +25 -0
  18. package/components/dropdown/dropdown-chevron/dropdown-chevron.component.d.ts +3 -2
  19. package/components/dropdown/dropdown-item-radio/dropdown-item-radio.component.d.ts +4 -0
  20. package/components/dropdown/dropdown-trigger/dropdown-trigger.component.d.ts +2 -0
  21. package/components/dropdown-menu/README.md +24 -0
  22. package/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.d.ts +4 -0
  23. package/components/dual-list/README.md +17 -0
  24. package/components/file-upload/README.md +17 -0
  25. package/components/file-upload/file-uploader/file-uploader.component.d.ts +1 -1
  26. package/components/forms/checkbox/README.md +17 -0
  27. package/components/forms/checkbox/src/checkbox.component.d.ts +2 -2
  28. package/components/forms/combobox/README.md +26 -0
  29. package/components/forms/combobox/src/combobox.component.d.ts +16 -4
  30. package/components/forms/date-picker/README.md +27 -0
  31. package/components/forms/date-picker/src/date-picker.component.d.ts +8 -1
  32. package/components/forms/form-error/README.md +21 -0
  33. package/components/forms/form-group/src/form-group.component.d.ts +27 -38
  34. package/components/forms/input/README.md +18 -0
  35. package/components/forms/input/src/input.component.d.ts +2 -2
  36. package/components/forms/radio/README.md +14 -0
  37. package/components/forms/radio/src/radio.component.d.ts +2 -2
  38. package/components/forms/range/README.md +13 -0
  39. package/components/forms/range/src/range.component.d.ts +2 -2
  40. package/components/forms/select/README.md +18 -0
  41. package/components/forms/select/src/select.component.d.ts +15 -4
  42. package/components/forms/switch/README.md +13 -0
  43. package/components/forms/switch/src/switch.component.d.ts +2 -2
  44. package/components/forms/textarea/README.md +17 -0
  45. package/components/forms/textarea/src/textarea.component.d.ts +2 -2
  46. package/components/forms/toggle/README.md +13 -0
  47. package/components/forms/toggle/src/toggle.component.d.ts +5 -36
  48. package/components/icon/README.md +18 -0
  49. package/components/link/README.md +17 -0
  50. package/components/link/src/link.component.d.ts +2 -2
  51. package/components/notification/README.md +13 -0
  52. package/components/notification/src/notification.component.d.ts +3 -3
  53. package/components/overlay/README.md +33 -0
  54. package/components/overlay/overlay-trigger/overlay-trigger.component.d.ts +3 -0
  55. package/components/overlay/src/overlay.component.d.ts +34 -0
  56. package/components/paginator/README.md +17 -0
  57. package/components/product-card/README.md +13 -0
  58. package/components/progress/README.md +17 -0
  59. package/components/progress/src/progress.component.d.ts +3 -3
  60. package/components/sonner/README.md +23 -0
  61. package/components/sonner/src/sonner.component.d.ts +2 -2
  62. package/components/tab/README.md +17 -0
  63. package/components/table/README.md +20 -0
  64. package/components/table/table-action/table-action.component.d.ts +26 -3
  65. package/components/text/README.md +14 -0
  66. package/components/tooltip/README.md +29 -0
  67. package/components/tooltip/src/tooltip.component.d.ts +64 -4
  68. package/components/wizard/README.md +25 -0
  69. package/components/wizard/services/wizard.service.d.ts +1 -0
  70. package/components/wizard/wizard-content/wizard-content.component.d.ts +1 -1
  71. package/components/wizard/wizard-marker/wizard-marker.component.d.ts +2 -0
  72. package/components/wizard/wizard-sub-step/wizard-sub-step.component.d.ts +1 -1
  73. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +6 -6
  74. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
  75. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +1 -1
  76. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  77. package/fesm2022/sixbell-telco-sdk-components-badge.mjs +3 -2
  78. package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
  79. package/fesm2022/sixbell-telco-sdk-components-button.mjs +3 -3
  80. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  81. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +1 -1
  82. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
  83. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +6 -3
  84. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
  85. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +8 -2
  86. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
  87. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +1 -1
  88. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
  89. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +22 -13
  90. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  91. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +5 -5
  92. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
  93. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +4 -3
  94. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
  95. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +92 -23
  96. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  97. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +29 -7
  98. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
  99. package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs +27 -38
  100. package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs.map +1 -1
  101. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +5 -4
  102. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  103. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +4 -3
  104. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
  105. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +4 -3
  106. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
  107. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +53 -21
  108. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  109. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +4 -3
  110. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
  111. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +6 -4
  112. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  113. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +99 -153
  114. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
  115. package/fesm2022/sixbell-telco-sdk-components-link.mjs +2 -1
  116. package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
  117. package/fesm2022/sixbell-telco-sdk-components-notification.mjs +23 -2
  118. package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
  119. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs +312 -23
  120. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -1
  121. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +29 -19
  122. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  123. package/fesm2022/sixbell-telco-sdk-components-progress.mjs +3 -2
  124. package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
  125. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs +2 -2
  126. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs.map +1 -1
  127. package/fesm2022/sixbell-telco-sdk-components-table.mjs +34 -8
  128. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  129. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +364 -8
  130. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
  131. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +61 -41
  132. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
  133. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +284 -145
  134. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
  135. package/package.json +5 -5
  136. package/utils/runtime-config/README.md +1 -1
  137. package/utils/theme/README.md +34 -19
  138. package/utils/theme/public-api.d.ts +2 -2
  139. package/utils/theme/src/constants.d.ts +6 -6
  140. package/utils/theme/src/models/theme.d.ts +14 -6
  141. package/utils/theme/src/theme-assets/theme-assets.service.d.ts +1 -1
  142. package/utils/theme/src/theme-dom/theme-dom.service.d.ts +6 -1
  143. package/utils/theme/src/utils/utils.d.ts +9 -3
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-sonner.mjs","sources":["../../../projects/sdk/components/sonner/src/sonner.component.ts","../../../projects/sdk/components/sonner/toaster/src/toaster.component.ts","../../../projects/sdk/components/sonner/sixbell-telco-sdk-components-sonner.ts"],"sourcesContent":["import { Type } from '@angular/core';\nimport { cva } from 'class-variance-authority';\nimport { toast as ngxToast } from 'ngx-sonner';\n\n/**\n * @internal\n * Generates base toast classes with style variants for semantic colors\n */\nexport const toastVariants = cva('', {\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: '',\n\t\t\tsuccess: 'text-success',\n\t\t\terror: 'text-error',\n\t\t\twarning: 'text-warning',\n\t\t\tinfo: 'text-info',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: 'default',\n\t},\n});\n\n/** Possible toast style variants */\nexport type ToastVariantProps = 'default' | 'success' | 'error' | 'warning' | 'info' | null | undefined;\n\n/**\n * Toast function with semantic variants and Tailwind styling\n * Proxies ngx-sonner toast functionality with SDK styling\n */\nfunction createToast(message: string, options?: Record<string, unknown>) {\n\treturn ngxToast(message, options);\n}\n\n// Add methods to the function\ncreateToast.success = (message: string, options?: Record<string, unknown>) => {\n\treturn ngxToast.success(message, options);\n};\n\ncreateToast.error = (message: string, options?: Record<string, unknown>) => {\n\treturn ngxToast.error(message, options);\n};\n\n// IMPORTANT: use the variant helpers so ngx-sonner applies variant metadata (was plain toast before)\ncreateToast.warning = (message: string, options?: Record<string, unknown>) => {\n\treturn ngxToast.warning(message, options);\n};\n\ncreateToast.info = (message: string, options?: Record<string, unknown>) => {\n\treturn ngxToast.info(message, options);\n};\n\ncreateToast.loading = (message: string, options?: Record<string, unknown>) => ngxToast.loading(message, options);\n\ncreateToast.promise = (promise: Promise<unknown>, options: Record<string, unknown>) => ngxToast.promise(promise, options);\n\ncreateToast.custom = (component: Type<unknown>, options?: Record<string, unknown>) => ngxToast.custom(component, options);\n\ncreateToast.dismiss = (id?: string | number) => ngxToast.dismiss(id);\n\ncreateToast.dismissAll = () => ngxToast.dismiss();\n\nexport const toast = createToast as typeof createToast & {\n\tsuccess: (message: string, options?: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\terror: (message: string, options?: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\twarning: (message: string, options?: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\tinfo: (message: string, options?: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\tloading: (message: string, options?: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\tpromise: (promise: Promise<unknown>, options: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\tcustom: (component: Type<unknown>, options?: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\tdismiss: (id?: string | number) => ReturnType<typeof ngxToast>;\n\tdismissAll: () => ReturnType<typeof ngxToast>;\n};\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { NgxSonnerToaster } from 'ngx-sonner';\n\n/**\n * Sixbell Telco Sonner Toaster Component\n *\n * A wrapper around ngx-sonner-toaster that provides Tailwind CSS styling and semantic color variants.\n * This component proxies the ngx-sonner-toaster functionality while applying the SDK's design system.\n *\n * @example\n * ```html\n * <st-sonner-toaster\n * [theme]=\"'light'\"\n * [position]=\"'bottom-right'\"\n * [richColors]=\"true\"\n * />\n * ```\n */\n@Component({\n\tselector: 'st-sonner-toaster',\n\timports: [CommonModule, NgxSonnerToaster],\n\ttemplate: `\n\t\t<ngx-sonner-toaster\n\t\t\t[dir]=\"dir()\"\n\t\t\t[expand]=\"expand()\"\n\t\t\t[visibleToasts]=\"visibleToasts()\"\n\t\t\t[position]=\"position()\"\n\t\t\t[offset]=\"offset()\"\n\t\t\t[closeButton]=\"closeButton()\"\n\t\t\t[duration]=\"duration()\"\n\t\t\t[toastOptions]=\"toastOptions()\"\n\t\t/>\n\t`,\n\tstandalone: true,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SonnerToasterComponent {\n\t/**\n\t * Direction for the toasts\n\t * @defaultValue 'ltr'\n\t */\n\tdir = input<'ltr' | 'rtl'>('ltr');\n\n\t/**\n\t * Whether to use rich colors for semantic toasts\n\t * @defaultValue true\n\t */\n\trichColors = input<boolean>(false);\n\n\t/**\n\t * Whether to expand the toast on hover\n\t * @defaultValue false\n\t */\n\texpand = input<boolean>(false);\n\n\t/**\n\t * Maximum number of visible toasts\n\t * @defaultValue 3\n\t */\n\tvisibleToasts = input<number>(3);\n\n\t/**\n\t * Position of the toasts\n\t * @defaultValue 'bottom-right'\n\t */\n\tposition = input<'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center'>('bottom-right');\n\n\t/**\n\t * Offset from the edge of the screen\n\t * @defaultValue '16px'\n\t */\n\toffset = input<string>('16px');\n\n\t/**\n\t * Whether to show close button\n\t * @defaultValue false\n\t */\n\tcloseButton = input<boolean>(false);\n\n\t/**\n\t * Duration for the toast in milliseconds\n\t * @defaultValue 4000\n\t */\n\tduration = input<number>(4000);\n\n\t/**\n\t * Default toast options with semantic styling\n\t */\n\ttoastOptions = computed(() => {\n\t\tconst baseClasses = {\n\t\t\ttoast: cn(\n\t\t\t\t'bg-base-200! data-[type=loading]:border-neutral! data-[type=default]:border-neutral! text-base-content! rounded-box shadow-main-lg! w-[22rem]! border! p-4! text-pretty! transition-[transform,opacity,height,box-shadow,border-color,color]! duration-[400ms,400ms,400ms,200ms,200ms,200ms]!',\n\t\t\t\t{ 'border-neutral!': this.richColors() === false },\n\t\t\t),\n\t\t\ttitle: cn('font-heading! font-medium!'),\n\t\t\tdescription: cn('text-base-content/70!'),\n\t\t\tactionButton: cn('btn! btn-primary! btn-xs! font-body! leading-normal! font-medium! text-pretty!'),\n\t\t\tcancelButton: cn('btn! btn-secondary! btn-xs! font-body! leading-normal! font-medium! text-pretty!'),\n\t\t\tcloseButton: cn('btn! btn-circle! btn-xs! font-body! border-neutral! border! text-pretty!'),\n\t\t};\n\n\t\tconst semanticClasses = this.richColors()\n\t\t\t? {\n\t\t\t\t\tsuccess: cn('bg-base-200! border-success! text-success!'),\n\t\t\t\t\terror: cn('bg-base-200! border-error! text-error!'),\n\t\t\t\t\twarning: cn('bg-base-200! border-warning! text-warning!'),\n\t\t\t\t\tinfo: cn('bg-base-200! border-info! text-info!'),\n\t\t\t\t}\n\t\t\t: {};\n\n\t\treturn {\n\t\t\tunstyled: false,\n\t\t\tclasses: {\n\t\t\t\t...baseClasses,\n\t\t\t\t...semanticClasses,\n\t\t\t},\n\t\t};\n\t});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ngxToast"],"mappings":";;;;;;;AAIA;;;AAGG;AACI,MAAM,aAAa,GAAG,GAAG,CAAC,EAAE,EAAE;A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,CAAA;kBAlBlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;AACzC,oBAAA,QAAQ,EAAE;;;;;;;;;;;AAWT,CAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,iBAAA;;;ACrCD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-sonner.mjs","sources":["../../../projects/sdk/components/sonner/src/sonner.component.ts","../../../projects/sdk/components/sonner/toaster/src/toaster.component.ts","../../../projects/sdk/components/sonner/sixbell-telco-sdk-components-sonner.ts"],"sourcesContent":["import { Type } from '@angular/core';\nimport { cva } from 'class-variance-authority';\nimport { toast as ngxToast } from 'ngx-sonner';\n\n/**\n * @internal\n * Generates base toast classes with style variants for semantic colors\n */\nexport const toastVariants = cva('', {\n\tvariants: {\n\t\tvariant: {\n\t\t\tbase: '',\n\t\t\tsuccess: 'text-success',\n\t\t\terror: 'text-error',\n\t\t\twarning: 'text-warning',\n\t\t\tinfo: 'text-info',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: 'base',\n\t},\n});\n\n/** Possible toast style variants */\nexport type ToastVariantProps = 'base' | 'success' | 'error' | 'warning' | 'info' | null | undefined;\n\n/**\n * Toast function with semantic variants and Tailwind styling\n * Proxies ngx-sonner toast functionality with SDK styling\n */\nfunction createToast(message: string, options?: Record<string, unknown>) {\n\treturn ngxToast(message, options);\n}\n\n// Add methods to the function\ncreateToast.success = (message: string, options?: Record<string, unknown>) => {\n\treturn ngxToast.success(message, options);\n};\n\ncreateToast.error = (message: string, options?: Record<string, unknown>) => {\n\treturn ngxToast.error(message, options);\n};\n\n// IMPORTANT: use the variant helpers so ngx-sonner applies variant metadata (was plain toast before)\ncreateToast.warning = (message: string, options?: Record<string, unknown>) => {\n\treturn ngxToast.warning(message, options);\n};\n\ncreateToast.info = (message: string, options?: Record<string, unknown>) => {\n\treturn ngxToast.info(message, options);\n};\n\ncreateToast.loading = (message: string, options?: Record<string, unknown>) => ngxToast.loading(message, options);\n\ncreateToast.promise = (promise: Promise<unknown>, options: Record<string, unknown>) => ngxToast.promise(promise, options);\n\ncreateToast.custom = (component: Type<unknown>, options?: Record<string, unknown>) => ngxToast.custom(component, options);\n\ncreateToast.dismiss = (id?: string | number) => ngxToast.dismiss(id);\n\ncreateToast.dismissAll = () => ngxToast.dismiss();\n\nexport const toast = createToast as typeof createToast & {\n\tsuccess: (message: string, options?: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\terror: (message: string, options?: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\twarning: (message: string, options?: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\tinfo: (message: string, options?: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\tloading: (message: string, options?: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\tpromise: (promise: Promise<unknown>, options: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\tcustom: (component: Type<unknown>, options?: Record<string, unknown>) => ReturnType<typeof ngxToast>;\n\tdismiss: (id?: string | number) => ReturnType<typeof ngxToast>;\n\tdismissAll: () => ReturnType<typeof ngxToast>;\n};\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { NgxSonnerToaster } from 'ngx-sonner';\n\n/**\n * Sixbell Telco Sonner Toaster Component\n *\n * A wrapper around ngx-sonner-toaster that provides Tailwind CSS styling and semantic color variants.\n * This component proxies the ngx-sonner-toaster functionality while applying the SDK's design system.\n *\n * @example\n * ```html\n * <st-sonner-toaster\n * [theme]=\"'light'\"\n * [position]=\"'bottom-right'\"\n * [richColors]=\"true\"\n * />\n * ```\n */\n@Component({\n\tselector: 'st-sonner-toaster',\n\timports: [CommonModule, NgxSonnerToaster],\n\ttemplate: `\n\t\t<ngx-sonner-toaster\n\t\t\t[dir]=\"dir()\"\n\t\t\t[expand]=\"expand()\"\n\t\t\t[visibleToasts]=\"visibleToasts()\"\n\t\t\t[position]=\"position()\"\n\t\t\t[offset]=\"offset()\"\n\t\t\t[closeButton]=\"closeButton()\"\n\t\t\t[duration]=\"duration()\"\n\t\t\t[toastOptions]=\"toastOptions()\"\n\t\t/>\n\t`,\n\tstandalone: true,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SonnerToasterComponent {\n\t/**\n\t * Direction for the toasts\n\t * @defaultValue 'ltr'\n\t */\n\tdir = input<'ltr' | 'rtl'>('ltr');\n\n\t/**\n\t * Whether to use rich colors for semantic toasts\n\t * @defaultValue true\n\t */\n\trichColors = input<boolean>(false);\n\n\t/**\n\t * Whether to expand the toast on hover\n\t * @defaultValue false\n\t */\n\texpand = input<boolean>(false);\n\n\t/**\n\t * Maximum number of visible toasts\n\t * @defaultValue 3\n\t */\n\tvisibleToasts = input<number>(3);\n\n\t/**\n\t * Position of the toasts\n\t * @defaultValue 'bottom-right'\n\t */\n\tposition = input<'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center'>('bottom-right');\n\n\t/**\n\t * Offset from the edge of the screen\n\t * @defaultValue '16px'\n\t */\n\toffset = input<string>('16px');\n\n\t/**\n\t * Whether to show close button\n\t * @defaultValue false\n\t */\n\tcloseButton = input<boolean>(false);\n\n\t/**\n\t * Duration for the toast in milliseconds\n\t * @defaultValue 4000\n\t */\n\tduration = input<number>(4000);\n\n\t/**\n\t * Default toast options with semantic styling\n\t */\n\ttoastOptions = computed(() => {\n\t\tconst baseClasses = {\n\t\t\ttoast: cn(\n\t\t\t\t'bg-base-200! data-[type=loading]:border-neutral! data-[type=default]:border-neutral! text-base-content! rounded-box shadow-main-lg! w-[22rem]! border! p-4! text-pretty! transition-[transform,opacity,height,box-shadow,border-color,color]! duration-[400ms,400ms,400ms,200ms,200ms,200ms]!',\n\t\t\t\t{ 'border-neutral!': this.richColors() === false },\n\t\t\t),\n\t\t\ttitle: cn('font-heading! font-medium!'),\n\t\t\tdescription: cn('text-base-content/70!'),\n\t\t\tactionButton: cn('btn! btn-primary! btn-xs! font-body! leading-normal! font-medium! text-pretty!'),\n\t\t\tcancelButton: cn('btn! btn-secondary! btn-xs! font-body! leading-normal! font-medium! text-pretty!'),\n\t\t\tcloseButton: cn('btn! btn-circle! btn-xs! font-body! border-neutral! border! text-pretty!'),\n\t\t};\n\n\t\tconst semanticClasses = this.richColors()\n\t\t\t? {\n\t\t\t\t\tsuccess: cn('bg-base-200! border-success! text-success!'),\n\t\t\t\t\terror: cn('bg-base-200! border-error! text-error!'),\n\t\t\t\t\twarning: cn('bg-base-200! border-warning! text-warning!'),\n\t\t\t\t\tinfo: cn('bg-base-200! border-info! text-info!'),\n\t\t\t\t}\n\t\t\t: {};\n\n\t\treturn {\n\t\t\tunstyled: false,\n\t\t\tclasses: {\n\t\t\t\t...baseClasses,\n\t\t\t\t...semanticClasses,\n\t\t\t},\n\t\t};\n\t});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ngxToast"],"mappings":";;;;;;;AAIA;;;AAGG;AACI,MAAM,aAAa,GAAG,GAAG,CAAC,EAAE,EAAE;AACpC,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,IAAI,EAAE,EAAE;AACR,YAAA,OAAO,EAAE,cAAc;AACvB,YAAA,KAAK,EAAE,YAAY;AACnB,YAAA,OAAO,EAAE,cAAc;AACvB,YAAA,IAAI,EAAE,WAAW;AACjB,SAAA;AACD,KAAA;AACD,IAAA,eAAe,EAAE;AAChB,QAAA,OAAO,EAAE,MAAM;AACf,KAAA;AACD,CAAA;AAKD;;;AAGG;AACH,SAAS,WAAW,CAAC,OAAe,EAAE,OAAiC,EAAA;AACtE,IAAA,OAAOA,OAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;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th]:text-neutral-content',
502
+ '[&_th]:bg-base-300 [&_th]:text-base-content',
503
503
  '[&_th]:px-4',
504
504
  '[&_td]:px-4',
505
505
  ], {
@@ -863,7 +863,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
863
863
  *
864
864
  * @example
865
865
  * ```html
866
- * <st-table-action tooltip="Delete" icon="delete">
866
+ * <st-table-action tooltip="Delete" icon="delete" (clicked)="removeRow()">
867
867
  * Delete
868
868
  * </st-table-action>
869
869
  * ```
@@ -871,9 +871,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
871
871
  class TableActionComponent {
872
872
  /**
873
873
  * Button style variant.
874
- * @defaultValue 'primary'
874
+ * @defaultValue 'base'
875
875
  */
876
- variant = input('primary');
876
+ variant = input('base');
877
877
  /**
878
878
  * Tooltip text (optional).
879
879
  */
@@ -887,6 +887,24 @@ class TableActionComponent {
887
887
  * @defaultValue 'md'
888
888
  */
889
889
  size = input('md');
890
+ /**
891
+ * Disabled state forwarded to the inner button.
892
+ * @defaultValue false
893
+ */
894
+ disabled = input(false);
895
+ /**
896
+ * Stop event propagation for activation events.
897
+ * @defaultValue false
898
+ */
899
+ stopPropagation = input(false);
900
+ /**
901
+ * Event emitted on click of the inner button.
902
+ */
903
+ clicked = output();
904
+ /**
905
+ * Event emitted on activation (click).
906
+ */
907
+ triggered = output();
890
908
  /**
891
909
  * Computes CSS classes for the table action text size based on the current size setting.
892
910
  */
@@ -915,12 +933,20 @@ class TableActionComponent {
915
933
  return '8';
916
934
  }
917
935
  });
936
+ /**
937
+ * @internal
938
+ * Forward inner button click as SDK activation outputs.
939
+ */
940
+ onClicked(event) {
941
+ this.clicked.emit(event);
942
+ this.triggered.emit();
943
+ }
918
944
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TableActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
919
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: TableActionComponent, isStandalone: true, selector: "st-table-action", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@let tooltipVar = tooltip();\n@let variantVar = variant();\n@let iconVar = icon();\n@let sizeVar = size();\n@let textPresetVar = textPreset();\n\n<!-- Define the button template with content projection -->\n<ng-template #buttonTemplate>\n\t<st-button [class]=\"tableActionClass()\" [variant]=\"variantVar\" [icon]=\"iconVar\" [link]=\"true\" [size]=\"sizeVar\">\n\t\t<span [stText]=\"textPresetVar\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t</st-button>\n</ng-template>\n\n<!-- Conditional rendering -->\n@if (tooltipVar) {\n\t<st-tooltip variant=\"secondary\" [label]=\"tooltipVar | translate\" position=\"top\">\n\t\t<ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\n\t</st-tooltip>\n} @else {\n\t<ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: TooltipComponent, selector: "st-tooltip", inputs: ["variant", "position", "label", "icon", "iconPosition"] }, { 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: "pipe", type: TranslatePipe$1, name: "translate" }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
945
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: TableActionComponent, isStandalone: true, selector: "st-table-action", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, stopPropagation: { classPropertyName: "stopPropagation", publicName: "stopPropagation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked", triggered: "triggered" }, ngImport: i0, template: "@let tooltipVar = tooltip();\n@let variantVar = variant();\n@let iconVar = icon();\n@let sizeVar = size();\n@let textPresetVar = textPreset();\n@let disabledVar = disabled();\n@let stopPropagationVar = stopPropagation();\n\n<!-- Define the button template with content projection -->\n<ng-template #buttonTemplate>\n\t<st-button\n\t\t[class]=\"tableActionClass()\"\n\t\t[variant]=\"variantVar\"\n\t\t[icon]=\"iconVar\"\n\t\t[link]=\"true\"\n\t\t[size]=\"sizeVar\"\n\t\t[disabled]=\"disabledVar\"\n\t\t[stopPropagation]=\"stopPropagationVar\"\n\t\t(clicked)=\"onClicked($event)\"\n\t>\n\t\t<span [stText]=\"textPresetVar\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t</st-button>\n</ng-template>\n\n<!-- Conditional rendering -->\n@if (tooltipVar) {\n\t<st-tooltip variant=\"secondary\" [label]=\"tooltipVar | translate\" position=\"top\">\n\t\t<ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\n\t</st-tooltip>\n} @else {\n\t<ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: TooltipComponent, selector: "st-tooltip", inputs: ["variant", "position", "label", "icon", "iconPosition"] }, { 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: "pipe", type: TranslatePipe$1, name: "translate" }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
920
946
  }
921
947
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TableActionComponent, decorators: [{
922
948
  type: Component,
923
- args: [{ selector: 'st-table-action', imports: [CommonModule, TooltipComponent, ButtonComponent, TranslatePipe$1, TextDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "@let tooltipVar = tooltip();\n@let variantVar = variant();\n@let iconVar = icon();\n@let sizeVar = size();\n@let textPresetVar = textPreset();\n\n<!-- Define the button template with content projection -->\n<ng-template #buttonTemplate>\n\t<st-button [class]=\"tableActionClass()\" [variant]=\"variantVar\" [icon]=\"iconVar\" [link]=\"true\" [size]=\"sizeVar\">\n\t\t<span [stText]=\"textPresetVar\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t</st-button>\n</ng-template>\n\n<!-- Conditional rendering -->\n@if (tooltipVar) {\n\t<st-tooltip variant=\"secondary\" [label]=\"tooltipVar | translate\" position=\"top\">\n\t\t<ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\n\t</st-tooltip>\n} @else {\n\t<ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\n}\n" }]
949
+ args: [{ selector: 'st-table-action', imports: [CommonModule, TooltipComponent, ButtonComponent, TranslatePipe$1, TextDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "@let tooltipVar = tooltip();\n@let variantVar = variant();\n@let iconVar = icon();\n@let sizeVar = size();\n@let textPresetVar = textPreset();\n@let disabledVar = disabled();\n@let stopPropagationVar = stopPropagation();\n\n<!-- Define the button template with content projection -->\n<ng-template #buttonTemplate>\n\t<st-button\n\t\t[class]=\"tableActionClass()\"\n\t\t[variant]=\"variantVar\"\n\t\t[icon]=\"iconVar\"\n\t\t[link]=\"true\"\n\t\t[size]=\"sizeVar\"\n\t\t[disabled]=\"disabledVar\"\n\t\t[stopPropagation]=\"stopPropagationVar\"\n\t\t(clicked)=\"onClicked($event)\"\n\t>\n\t\t<span [stText]=\"textPresetVar\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t</st-button>\n</ng-template>\n\n<!-- Conditional rendering -->\n@if (tooltipVar) {\n\t<st-tooltip variant=\"secondary\" [label]=\"tooltipVar | translate\" position=\"top\">\n\t\t<ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\n\t</st-tooltip>\n} @else {\n\t<ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\n}\n" }]
924
950
  }] });
925
951
 
926
952
  /**
@@ -994,7 +1020,7 @@ class TableActionsComponent {
994
1020
  }
995
1021
  }
996
1022
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TableActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
997
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: TableActionsComponent, isStandalone: true, selector: "st-table-actions", inputs: { actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, triggerIcon: { classPropertyName: "triggerIcon", publicName: "triggerIcon", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { actionTriggered: "actionTriggered" }, ngImport: i0, template: "@if (hasActions()) {\n\t@if (mode() === 'inline') {\n\t\t<div [class]=\"componentClass()\">\n\t\t\t@for (action of actions(); track action.id) {\n\t\t\t\t<st-table-action\n\t\t\t\t\t[variant]=\"action.variant ?? 'primary'\"\n\t\t\t\t\t[icon]=\"action.icon\"\n\t\t\t\t\t[tooltip]=\"action.tooltip\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\t(click)=\"onActionClick(action)\"\n\t\t\t\t/>\n\t\t\t}\n\t\t</div>\n\t} @else {\n\t\t<st-dropdown-menu>\n\t\t\t<st-dropdown-menu-trigger [menuTriggerFor]=\"content.template\">\n\t\t\t\t<st-button [icon]=\"triggerIcon()\" [ghost]=\"true\" [size]=\"size()\" variant=\"base\" />\n\t\t\t</st-dropdown-menu-trigger>\n\t\t\t<st-dropdown-menu-content #content [size]=\"size()\">\n\t\t\t\t@for (action of actions(); track action.id) {\n\t\t\t\t\t<st-dropdown-menu-item [disabled]=\"action.disabled ?? false\" (triggered)=\"onActionClick(action)\">\n\t\t\t\t\t\t<span class=\"flex items-center gap-2\">\n\t\t\t\t\t\t\t@if (action.icon) {\n\t\t\t\t\t\t\t\t<st-icon [icon]=\"action.icon\" size=\"auto\" />\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t@if (action.label) {\n\t\t\t\t\t\t\t\t{{ action.label | translate }}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</st-dropdown-menu-item>\n\t\t\t\t}\n\t\t\t</st-dropdown-menu-content>\n\t\t</st-dropdown-menu>\n\t}\n} @else {\n\t<div [class]=\"componentClass()\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: TranslatePipe$1, name: "translate" }, { kind: "component", type: TableActionComponent, selector: "st-table-action", inputs: ["variant", "tooltip", "icon", "size"] }, { 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: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }, { kind: "component", type: DropdownMenuComponent, selector: "st-dropdown-menu" }, { kind: "component", type: DropdownMenuTriggerComponent, selector: "st-dropdown-menu-trigger" }, { kind: "component", type: DropdownMenuContentComponent, selector: "st-dropdown-menu-content", inputs: ["class", "size"], outputs: ["closed"], exportAs: ["menuContent"] }, { kind: "component", type: DropdownMenuItemComponent, selector: "st-dropdown-menu-item", inputs: ["disabled", "active", "shortcut", "class", "stopPropagation"], outputs: ["triggered", "clicked", "keyDownEnter", "keyDownSpace"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1023
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: TableActionsComponent, isStandalone: true, selector: "st-table-actions", inputs: { actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, triggerIcon: { classPropertyName: "triggerIcon", publicName: "triggerIcon", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { actionTriggered: "actionTriggered" }, ngImport: i0, template: "@if (hasActions()) {\n\t@if (mode() === 'inline') {\n\t\t<div [class]=\"componentClass()\">\n\t\t\t@for (action of actions(); track action.id) {\n\t\t\t\t<st-table-action\n\t\t\t\t\t[variant]=\"action.variant ?? 'primary'\"\n\t\t\t\t\t[icon]=\"action.icon\"\n\t\t\t\t\t[tooltip]=\"action.tooltip\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\t[disabled]=\"action.disabled ?? false\"\n\t\t\t\t\t(clicked)=\"onActionClick(action)\"\n\t\t\t\t/>\n\t\t\t}\n\t\t</div>\n\t} @else {\n\t\t<st-dropdown-menu>\n\t\t\t<st-dropdown-menu-trigger [menuTriggerFor]=\"content.template\">\n\t\t\t\t<st-button [icon]=\"triggerIcon()\" [ghost]=\"true\" [size]=\"size()\" variant=\"base\" />\n\t\t\t</st-dropdown-menu-trigger>\n\t\t\t<st-dropdown-menu-content #content [size]=\"size()\">\n\t\t\t\t@for (action of actions(); track action.id) {\n\t\t\t\t\t<st-dropdown-menu-item [disabled]=\"action.disabled ?? false\" (triggered)=\"onActionClick(action)\">\n\t\t\t\t\t\t<span class=\"flex items-center gap-2\">\n\t\t\t\t\t\t\t@if (action.icon) {\n\t\t\t\t\t\t\t\t<st-icon [icon]=\"action.icon\" size=\"auto\" />\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t@if (action.label) {\n\t\t\t\t\t\t\t\t{{ action.label | translate }}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</st-dropdown-menu-item>\n\t\t\t\t}\n\t\t\t</st-dropdown-menu-content>\n\t\t</st-dropdown-menu>\n\t}\n} @else {\n\t<div [class]=\"componentClass()\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: TranslatePipe$1, name: "translate" }, { kind: "component", type: TableActionComponent, selector: "st-table-action", inputs: ["variant", "tooltip", "icon", "size", "disabled", "stopPropagation"], outputs: ["clicked", "triggered"] }, { 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: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }, { kind: "component", type: DropdownMenuComponent, selector: "st-dropdown-menu" }, { kind: "component", type: DropdownMenuTriggerComponent, selector: "st-dropdown-menu-trigger" }, { kind: "component", type: DropdownMenuContentComponent, selector: "st-dropdown-menu-content", inputs: ["class", "size"], outputs: ["closed"], exportAs: ["menuContent"] }, { kind: "component", type: DropdownMenuItemComponent, selector: "st-dropdown-menu-item", inputs: ["disabled", "active", "shortcut", "class", "stopPropagation"], outputs: ["triggered", "clicked", "keyDownEnter", "keyDownSpace"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
998
1024
  }
999
1025
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TableActionsComponent, decorators: [{
1000
1026
  type: Component,
@@ -1008,7 +1034,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
1008
1034
  DropdownMenuTriggerComponent,
1009
1035
  DropdownMenuContentComponent,
1010
1036
  DropdownMenuItemComponent,
1011
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (hasActions()) {\n\t@if (mode() === 'inline') {\n\t\t<div [class]=\"componentClass()\">\n\t\t\t@for (action of actions(); track action.id) {\n\t\t\t\t<st-table-action\n\t\t\t\t\t[variant]=\"action.variant ?? 'primary'\"\n\t\t\t\t\t[icon]=\"action.icon\"\n\t\t\t\t\t[tooltip]=\"action.tooltip\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\t(click)=\"onActionClick(action)\"\n\t\t\t\t/>\n\t\t\t}\n\t\t</div>\n\t} @else {\n\t\t<st-dropdown-menu>\n\t\t\t<st-dropdown-menu-trigger [menuTriggerFor]=\"content.template\">\n\t\t\t\t<st-button [icon]=\"triggerIcon()\" [ghost]=\"true\" [size]=\"size()\" variant=\"base\" />\n\t\t\t</st-dropdown-menu-trigger>\n\t\t\t<st-dropdown-menu-content #content [size]=\"size()\">\n\t\t\t\t@for (action of actions(); track action.id) {\n\t\t\t\t\t<st-dropdown-menu-item [disabled]=\"action.disabled ?? false\" (triggered)=\"onActionClick(action)\">\n\t\t\t\t\t\t<span class=\"flex items-center gap-2\">\n\t\t\t\t\t\t\t@if (action.icon) {\n\t\t\t\t\t\t\t\t<st-icon [icon]=\"action.icon\" size=\"auto\" />\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t@if (action.label) {\n\t\t\t\t\t\t\t\t{{ action.label | translate }}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</st-dropdown-menu-item>\n\t\t\t\t}\n\t\t\t</st-dropdown-menu-content>\n\t\t</st-dropdown-menu>\n\t}\n} @else {\n\t<div [class]=\"componentClass()\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n" }]
1037
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (hasActions()) {\n\t@if (mode() === 'inline') {\n\t\t<div [class]=\"componentClass()\">\n\t\t\t@for (action of actions(); track action.id) {\n\t\t\t\t<st-table-action\n\t\t\t\t\t[variant]=\"action.variant ?? 'primary'\"\n\t\t\t\t\t[icon]=\"action.icon\"\n\t\t\t\t\t[tooltip]=\"action.tooltip\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\t[disabled]=\"action.disabled ?? false\"\n\t\t\t\t\t(clicked)=\"onActionClick(action)\"\n\t\t\t\t/>\n\t\t\t}\n\t\t</div>\n\t} @else {\n\t\t<st-dropdown-menu>\n\t\t\t<st-dropdown-menu-trigger [menuTriggerFor]=\"content.template\">\n\t\t\t\t<st-button [icon]=\"triggerIcon()\" [ghost]=\"true\" [size]=\"size()\" variant=\"base\" />\n\t\t\t</st-dropdown-menu-trigger>\n\t\t\t<st-dropdown-menu-content #content [size]=\"size()\">\n\t\t\t\t@for (action of actions(); track action.id) {\n\t\t\t\t\t<st-dropdown-menu-item [disabled]=\"action.disabled ?? false\" (triggered)=\"onActionClick(action)\">\n\t\t\t\t\t\t<span class=\"flex items-center gap-2\">\n\t\t\t\t\t\t\t@if (action.icon) {\n\t\t\t\t\t\t\t\t<st-icon [icon]=\"action.icon\" size=\"auto\" />\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t@if (action.label) {\n\t\t\t\t\t\t\t\t{{ action.label | translate }}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</st-dropdown-menu-item>\n\t\t\t\t}\n\t\t\t</st-dropdown-menu-content>\n\t\t</st-dropdown-menu>\n\t}\n} @else {\n\t<div [class]=\"componentClass()\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n" }]
1012
1038
  }] });
1013
1039
 
1014
1040
  class TableEmptyActionsComponent {
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-table.mjs","sources":["../../../projects/sdk/components/table/table-header-checkbox/table-header-checkbox.component.ts","../../../projects/sdk/components/table/table-header-checkbox/table-header-checkbox.component.html","../../../projects/sdk/components/table/table-row-checkbox/table-row-checkbox.component.ts","../../../projects/sdk/components/table/table-row-checkbox/table-row-checkbox.component.html","../../../projects/sdk/components/table/src/table.component.ts","../../../projects/sdk/components/table/src/table.component.html","../../../projects/sdk/components/table/table-action/table-action.component.ts","../../../projects/sdk/components/table/table-action/table-action.component.html","../../../projects/sdk/components/table/table-actions/table-actions.component.ts","../../../projects/sdk/components/table/table-actions/table-actions.component.html","../../../projects/sdk/components/table/table-empty-actions/table-empty-actions.component.ts","../../../projects/sdk/components/table/table-empty-actions/table-empty-actions.component.html","../../../projects/sdk/components/table/sixbell-telco-sdk-components-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, inject, input, signal } from '@angular/core';\nimport { CheckboxComponent, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { TableComponent } from '../src/table.component';\n\n/**\n * Header checkbox component for the table.\n *\n * This component renders a checkbox within a table header row,\n * allowing users to select or deselect all rows in the table.\n *\n * @remarks\n * Utilizes Angular's dependency injection to access the parent {@link TableComponent}\n * and propagate the checkbox state changes.\n *\n * @example\n * ```html\n * <tr header-checkbox></tr>\n * ```\n */\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[header-checkbox]',\n\timports: [CheckboxComponent],\n\ttemplateUrl: './table-header-checkbox.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableHeaderCheckboxComponent {\n\t/**\n\t * Defines the variant styling of the checkbox.\n\t *\n\t * @defaultValue 'primary'\n\t */\n\tcheckboxVariant = input<CheckboxVariantProps>('primary');\n\n\t/**\n\t * Signal that tracks the checked state of the header checkbox.\n\t *\n\t * @defaultValue false\n\t */\n\tchecked = signal<boolean>(false);\n\n\t/**\n\t * Creates an instance of TableHeaderCheckboxComponent.\n\t *\n\t * @param table - Reference to the parent {@link TableComponent} to access table-level operations.\n\t */\n\treadonly table = inject(TableComponent, { host: true });\n\n\treadonly checkboxSize = computed(() => {\n\t\tswitch (this.table.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn 'xs';\n\t\t\tcase 'sm':\n\t\t\t\treturn 'sm';\n\t\t\tcase 'md':\n\t\t\t\treturn 'md';\n\t\t\tcase 'lg':\n\t\t\t\treturn 'lg';\n\t\t\tcase 'xl':\n\t\t\t\treturn 'lg';\n\t\t\tdefault:\n\t\t\t\treturn 'sm';\n\t\t}\n\t});\n\n\t/**\n\t * Handles the event when the header checkbox is toggled.\n\t *\n\t * This method notifies the parent table component to either select or deselect all rows.\n\t *\n\t * @param value - The new checked state (true to select all rows, false to deselect all).\n\t */\n\thandleSelectAll(value: boolean) {\n\t\tthis.table.handleToggleAll(value);\n\t}\n}\n","<th class=\"w-6\">\n\t<st-checkbox [(value)]=\"checked\" (valueUpdated)=\"handleSelectAll($event)\" [variant]=\"checkboxVariant()\" [size]=\"checkboxSize()\" />\n</th>\n<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, computed, inject, input, signal } from '@angular/core';\nimport { CheckboxComponent, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { TableComponent } from '../src/table.component';\n\n/**\n * Row checkbox component for table row selection.\n *\n * This component renders a checkbox within a table row,\n * enabling individual row selection. It interacts with the parent\n * {@link TableComponent} to update the selection state.\n *\n * @example\n * ```html\n * <tr row-checkbox [identifier]=\"rowId\"></tr>\n * ```\n */\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[row-checkbox]',\n\timports: [CheckboxComponent],\n\ttemplateUrl: './table-row-checkbox.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableRowCheckboxComponent {\n\t/**\n\t * Defines the variant styling of the checkbox.\n\t *\n\t * @defaultValue 'primary'\n\t */\n\tcheckboxVariant = input<CheckboxVariantProps>('primary');\n\n\t/**\n\t * Unique identifier for the table row.\n\t *\n\t * This input is required to track the specific row in the table.\n\t */\n\tidentifier = input.required();\n\n\t/**\n\t * Signal that tracks the checked state of the row checkbox.\n\t *\n\t * @defaultValue false\n\t */\n\tchecked = signal<boolean>(false);\n\n\t/**\n\t * Creates an instance of TableRowCheckboxComponent.\n\t *\n\t * @param table - Reference to the parent {@link TableComponent} to access\n\t * table-level operations for row selection.\n\t */\n\treadonly table = inject(TableComponent, { host: true });\n\n\treadonly checkboxSize = computed(() => {\n\t\tswitch (this.table.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn 'xs';\n\t\t\tcase 'sm':\n\t\t\t\treturn 'sm';\n\t\t\tcase 'md':\n\t\t\t\treturn 'md';\n\t\t\tcase 'lg':\n\t\t\t\treturn 'lg';\n\t\t\tcase 'xl':\n\t\t\t\treturn 'lg';\n\t\t\tdefault:\n\t\t\t\treturn 'sm';\n\t\t}\n\t});\n\n\t/**\n\t * Handles the selection event of the row checkbox.\n\t *\n\t * This method notifies the parent table component to update the selection state\n\t * for the corresponding row, based on the checkbox's new value.\n\t *\n\t * @param value - The new checked state (true for selected, false for deselected).\n\t */\n\thandleSelect(value: boolean) {\n\t\tthis.table.handleToggleCheckbox(value, this.identifier());\n\t}\n}\n","<td>\n\t<st-checkbox [(value)]=\"checked\" (valueUpdated)=\"handleSelect($event)\" [variant]=\"checkboxVariant()\" [size]=\"checkboxSize()\"></st-checkbox>\n</td>\n<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, contentChild, contentChildren, effect, inject, input, output, signal } from '@angular/core';\nimport { heroDocumentText, heroMagnifyingGlass } from '@ng-icons/heroicons/outline';\nimport { ButtonSizeProps } from '@sixbell-telco/sdk/components/button';\nimport { CheckboxSizeProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { SelectComponent, SelectSizeProps } from '@sixbell-telco/sdk/components/forms/select';\nimport { IconComponent, IconSizeProps } from '@sixbell-telco/sdk/components/icon';\nimport { Pagination, PaginationType, PaginatorComponent, PaginatorSizeProps } from '@sixbell-telco/sdk/components/paginator';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { TranslatePipe, TranslateService } from '@sixbell-telco/sdk/utils/translation';\nimport { cva } from 'class-variance-authority';\nimport { TableActionsSizeProps } from '../table-actions/table-actions.types';\nimport { TableHeaderCheckboxComponent } from '../table-header-checkbox/table-header-checkbox.component';\nimport { TableRowCheckboxComponent } from '../table-row-checkbox/table-row-checkbox.component';\n\nexport type TableResolvedSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n\ntype TableTablePreset = Extract<TextPreset, '6' | '7' | '8' | '9' | '10'>;\n\nexport interface TableSizeTokens {\n\theaderPreset: TextPreset;\n\tbodyPreset: TextPreset;\n\tfooterPreset: TextPreset;\n\tselectSize: SelectSizeProps;\n\tpaginatorSize: PaginatorSizeProps;\n\tcheckboxSize: CheckboxSizeProps;\n\tactionSize: TableActionsSizeProps;\n\tsortableButtonSize: ButtonSizeProps;\n\tsortableIconSize: IconSizeProps;\n}\n\nexport interface TableFooterLayoutTokens {\n\twrapper: string[];\n\tdivider: string[];\n\tcontent: string[];\n}\n\nconst TABLE_HEADER_TYPOGRAPHY_CLASS_BY_PRESET: Record<TableTablePreset, string[]> = {\n\t'6': [\n\t\t'[&_thead_th]:text-[15.75px]',\n\t\t'[&_thead_th]:leading-normal',\n\t\t'[&_thead_th]:tracking-normal',\n\t\t'[&_thead_th]:font-heading',\n\t\t'[&_thead_th]:font-semibold',\n\t\t'[&_thead_th]:align-middle',\n\t\t'[&_thead_td]:text-[15.75px]',\n\t\t'[&_thead_td]:leading-normal',\n\t\t'[&_thead_td]:tracking-normal',\n\t\t'[&_thead_td]:font-heading',\n\t\t'[&_thead_td]:font-semibold',\n\t\t'[&_thead_td]:align-middle',\n\t],\n\t'7': [\n\t\t'[&_thead_th]:text-[14px]',\n\t\t'[&_thead_th]:leading-normal',\n\t\t'[&_thead_th]:tracking-tight',\n\t\t'[&_thead_th]:font-heading',\n\t\t'[&_thead_th]:font-semibold',\n\t\t'[&_thead_th]:align-middle',\n\t\t'[&_thead_td]:text-[14px]',\n\t\t'[&_thead_td]:leading-normal',\n\t\t'[&_thead_td]:tracking-tight',\n\t\t'[&_thead_td]:font-heading',\n\t\t'[&_thead_td]:font-semibold',\n\t\t'[&_thead_td]:align-middle',\n\t],\n\t'8': [\n\t\t'[&_thead_th]:text-[12.44px]',\n\t\t'[&_thead_th]:leading-normal',\n\t\t'[&_thead_th]:tracking-tight',\n\t\t'[&_thead_th]:font-heading',\n\t\t'[&_thead_th]:font-semibold',\n\t\t'[&_thead_th]:align-middle',\n\t\t'[&_thead_td]:text-[12.44px]',\n\t\t'[&_thead_td]:leading-normal',\n\t\t'[&_thead_td]:tracking-tight',\n\t\t'[&_thead_td]:font-heading',\n\t\t'[&_thead_td]:font-semibold',\n\t\t'[&_thead_td]:align-middle',\n\t],\n\t'9': [\n\t\t'[&_thead_th]:text-[11.06px]',\n\t\t'[&_thead_th]:leading-normal',\n\t\t'[&_thead_th]:tracking-tight',\n\t\t'[&_thead_th]:font-heading',\n\t\t'[&_thead_th]:font-semibold',\n\t\t'[&_thead_th]:align-middle',\n\t\t'[&_thead_td]:text-[11.06px]',\n\t\t'[&_thead_td]:leading-normal',\n\t\t'[&_thead_td]:tracking-tight',\n\t\t'[&_thead_td]:font-heading',\n\t\t'[&_thead_td]:font-semibold',\n\t\t'[&_thead_td]:align-middle',\n\t],\n\t'10': [\n\t\t'[&_thead_th]:text-[9.83px]',\n\t\t'[&_thead_th]:leading-normal',\n\t\t'[&_thead_th]:tracking-normal',\n\t\t'[&_thead_th]:font-heading',\n\t\t'[&_thead_th]:font-semibold',\n\t\t'[&_thead_th]:align-middle',\n\t\t'[&_thead_td]:text-[9.83px]',\n\t\t'[&_thead_td]:leading-normal',\n\t\t'[&_thead_td]:tracking-normal',\n\t\t'[&_thead_td]:font-heading',\n\t\t'[&_thead_td]:font-semibold',\n\t\t'[&_thead_td]:align-middle',\n\t],\n};\n\nconst TABLE_BODY_TYPOGRAPHY_CLASS_BY_PRESET: Record<TableTablePreset, string[]> = {\n\t'6': [\n\t\t'[&_tbody_td]:text-[15.75px]',\n\t\t'[&_tbody_td]:leading-normal',\n\t\t'[&_tbody_td]:tracking-normal',\n\t\t'[&_tbody_td]:font-body',\n\t\t'[&_tbody_td]:font-normal',\n\t\t'[&_tbody_td]:align-middle',\n\t\t'[&_tbody_th]:text-[15.75px]',\n\t\t'[&_tbody_th]:leading-normal',\n\t\t'[&_tbody_th]:tracking-normal',\n\t\t'[&_tbody_th]:font-body',\n\t\t'[&_tbody_th]:font-normal',\n\t\t'[&_tbody_th]:align-middle',\n\t],\n\t'7': [\n\t\t'[&_tbody_td]:text-[14px]',\n\t\t'[&_tbody_td]:leading-normal',\n\t\t'[&_tbody_td]:tracking-tight',\n\t\t'[&_tbody_td]:font-body',\n\t\t'[&_tbody_td]:font-normal',\n\t\t'[&_tbody_td]:align-middle',\n\t\t'[&_tbody_th]:text-[14px]',\n\t\t'[&_tbody_th]:leading-normal',\n\t\t'[&_tbody_th]:tracking-tight',\n\t\t'[&_tbody_th]:font-body',\n\t\t'[&_tbody_th]:font-normal',\n\t\t'[&_tbody_th]:align-middle',\n\t],\n\t'8': [\n\t\t'[&_tbody_td]:text-[12.44px]',\n\t\t'[&_tbody_td]:leading-normal',\n\t\t'[&_tbody_td]:tracking-tight',\n\t\t'[&_tbody_td]:font-body',\n\t\t'[&_tbody_td]:font-normal',\n\t\t'[&_tbody_td]:align-middle',\n\t\t'[&_tbody_th]:text-[12.44px]',\n\t\t'[&_tbody_th]:leading-normal',\n\t\t'[&_tbody_th]:tracking-tight',\n\t\t'[&_tbody_th]:font-body',\n\t\t'[&_tbody_th]:font-normal',\n\t\t'[&_tbody_th]:align-middle',\n\t],\n\t'9': [\n\t\t'[&_tbody_td]:text-[11.06px]',\n\t\t'[&_tbody_td]:leading-normal',\n\t\t'[&_tbody_td]:tracking-tight',\n\t\t'[&_tbody_td]:font-body',\n\t\t'[&_tbody_td]:font-normal',\n\t\t'[&_tbody_td]:align-middle',\n\t\t'[&_tbody_th]:text-[11.06px]',\n\t\t'[&_tbody_th]:leading-normal',\n\t\t'[&_tbody_th]:tracking-tight',\n\t\t'[&_tbody_th]:font-body',\n\t\t'[&_tbody_th]:font-normal',\n\t\t'[&_tbody_th]:align-middle',\n\t],\n\t'10': [\n\t\t'[&_tbody_td]:text-[9.83px]',\n\t\t'[&_tbody_td]:leading-normal',\n\t\t'[&_tbody_td]:tracking-normal',\n\t\t'[&_tbody_td]:font-body',\n\t\t'[&_tbody_td]:font-normal',\n\t\t'[&_tbody_td]:align-middle',\n\t\t'[&_tbody_th]:text-[9.83px]',\n\t\t'[&_tbody_th]:leading-normal',\n\t\t'[&_tbody_th]:tracking-normal',\n\t\t'[&_tbody_th]:font-body',\n\t\t'[&_tbody_th]:font-normal',\n\t\t'[&_tbody_th]:align-middle',\n\t],\n};\n\nconst TABLE_FOOTER_TYPOGRAPHY_CLASS_BY_PRESET: Record<TableTablePreset, string[]> = {\n\t'6': [\n\t\t'[&_tfoot_td]:text-[15.75px]',\n\t\t'[&_tfoot_td]:leading-normal',\n\t\t'[&_tfoot_td]:tracking-normal',\n\t\t'[&_tfoot_td]:font-body',\n\t\t'[&_tfoot_td]:font-normal',\n\t\t'[&_tfoot_td]:align-middle',\n\t\t'[&_tfoot_th]:text-[15.75px]',\n\t\t'[&_tfoot_th]:leading-normal',\n\t\t'[&_tfoot_th]:tracking-normal',\n\t\t'[&_tfoot_th]:font-body',\n\t\t'[&_tfoot_th]:font-normal',\n\t\t'[&_tfoot_th]:align-middle',\n\t],\n\t'7': [\n\t\t'[&_tfoot_td]:text-[14px]',\n\t\t'[&_tfoot_td]:leading-normal',\n\t\t'[&_tfoot_td]:tracking-tight',\n\t\t'[&_tfoot_td]:font-body',\n\t\t'[&_tfoot_td]:font-normal',\n\t\t'[&_tfoot_td]:align-middle',\n\t\t'[&_tfoot_th]:text-[14px]',\n\t\t'[&_tfoot_th]:leading-normal',\n\t\t'[&_tfoot_th]:tracking-tight',\n\t\t'[&_tfoot_th]:font-body',\n\t\t'[&_tfoot_th]:font-normal',\n\t\t'[&_tfoot_th]:align-middle',\n\t],\n\t'8': [\n\t\t'[&_tfoot_td]:text-[12.44px]',\n\t\t'[&_tfoot_td]:leading-normal',\n\t\t'[&_tfoot_td]:tracking-tight',\n\t\t'[&_tfoot_td]:font-body',\n\t\t'[&_tfoot_td]:font-normal',\n\t\t'[&_tfoot_td]:align-middle',\n\t\t'[&_tfoot_th]:text-[12.44px]',\n\t\t'[&_tfoot_th]:leading-normal',\n\t\t'[&_tfoot_th]:tracking-tight',\n\t\t'[&_tfoot_th]:font-body',\n\t\t'[&_tfoot_th]:font-normal',\n\t\t'[&_tfoot_th]:align-middle',\n\t],\n\t'9': [\n\t\t'[&_tfoot_td]:text-[11.06px]',\n\t\t'[&_tfoot_td]:leading-normal',\n\t\t'[&_tfoot_td]:tracking-tight',\n\t\t'[&_tfoot_td]:font-body',\n\t\t'[&_tfoot_td]:font-normal',\n\t\t'[&_tfoot_td]:align-middle',\n\t\t'[&_tfoot_th]:text-[11.06px]',\n\t\t'[&_tfoot_th]:leading-normal',\n\t\t'[&_tfoot_th]:tracking-tight',\n\t\t'[&_tfoot_th]:font-body',\n\t\t'[&_tfoot_th]:font-normal',\n\t\t'[&_tfoot_th]:align-middle',\n\t],\n\t'10': [\n\t\t'[&_tfoot_td]:text-[9.83px]',\n\t\t'[&_tfoot_td]:leading-normal',\n\t\t'[&_tfoot_td]:tracking-normal',\n\t\t'[&_tfoot_td]:font-body',\n\t\t'[&_tfoot_td]:font-normal',\n\t\t'[&_tfoot_td]:align-middle',\n\t\t'[&_tfoot_th]:text-[9.83px]',\n\t\t'[&_tfoot_th]:leading-normal',\n\t\t'[&_tfoot_th]:tracking-normal',\n\t\t'[&_tfoot_th]:font-body',\n\t\t'[&_tfoot_th]:font-normal',\n\t\t'[&_tfoot_th]:align-middle',\n\t],\n};\n\nconst TABLE_SIZE_TOKENS: Record<TableResolvedSize, TableSizeTokens> = {\n\txs: {\n\t\theaderPreset: '9',\n\t\tbodyPreset: '9',\n\t\tfooterPreset: '10',\n\t\tselectSize: 'xs',\n\t\tpaginatorSize: 'xs',\n\t\tcheckboxSize: 'xs',\n\t\tactionSize: 'xs',\n\t\tsortableButtonSize: 'xs',\n\t\tsortableIconSize: 'xs',\n\t},\n\tsm: {\n\t\theaderPreset: '8',\n\t\tbodyPreset: '8',\n\t\tfooterPreset: '9',\n\t\tselectSize: 'sm',\n\t\tpaginatorSize: 'sm',\n\t\tcheckboxSize: 'sm',\n\t\tactionSize: 'xs',\n\t\tsortableButtonSize: 'xs',\n\t\tsortableIconSize: 'xs',\n\t},\n\tmd: {\n\t\theaderPreset: '7',\n\t\tbodyPreset: '7',\n\t\tfooterPreset: '8',\n\t\tselectSize: 'sm',\n\t\tpaginatorSize: 'sm',\n\t\tcheckboxSize: 'md',\n\t\tactionSize: 'sm',\n\t\tsortableButtonSize: 'sm',\n\t\tsortableIconSize: 'sm',\n\t},\n\tlg: {\n\t\theaderPreset: '7',\n\t\tbodyPreset: '7',\n\t\tfooterPreset: '8',\n\t\tselectSize: 'md',\n\t\tpaginatorSize: 'md',\n\t\tcheckboxSize: 'lg',\n\t\tactionSize: 'md',\n\t\tsortableButtonSize: 'md',\n\t\tsortableIconSize: 'sm',\n\t},\n\txl: {\n\t\theaderPreset: '6',\n\t\tbodyPreset: '6',\n\t\tfooterPreset: '7',\n\t\tselectSize: 'lg',\n\t\tpaginatorSize: 'lg',\n\t\tcheckboxSize: 'lg',\n\t\tactionSize: 'lg',\n\t\tsortableButtonSize: 'lg',\n\t\tsortableIconSize: 'md',\n\t},\n};\n\nconst TABLE_FOOTER_LAYOUT_BY_SIZE: Record<TableResolvedSize, TableFooterLayoutTokens> = {\n\txs: {\n\t\twrapper: ['gap-2', 'pb-1'],\n\t\tdivider: ['px-3'],\n\t\tcontent: ['gap-2', 'px-3', '@2xl:gap-2'],\n\t},\n\tsm: {\n\t\twrapper: ['gap-3', 'pb-2'],\n\t\tdivider: ['px-3'],\n\t\tcontent: ['gap-2', 'px-3', '@2xl:gap-2'],\n\t},\n\tmd: {\n\t\twrapper: ['gap-4', 'pb-3'],\n\t\tdivider: ['px-4'],\n\t\tcontent: ['gap-4', 'px-4', '@2xl:gap-2'],\n\t},\n\tlg: {\n\t\twrapper: ['gap-4', 'pb-3'],\n\t\tdivider: ['px-4'],\n\t\tcontent: ['gap-4', 'px-4', '@2xl:gap-2'],\n\t},\n\txl: {\n\t\twrapper: ['gap-4', 'pb-3'],\n\t\tdivider: ['px-4'],\n\t\tcontent: ['gap-4', 'px-4', '@2xl:gap-2'],\n\t},\n};\n\nexport function resolveTableSize(size: TableContentSizeProps): TableResolvedSize {\n\tswitch (size) {\n\t\tcase 'xs':\n\t\tcase 'sm':\n\t\tcase 'md':\n\t\tcase 'lg':\n\t\tcase 'xl':\n\t\t\treturn size;\n\t\tdefault:\n\t\t\treturn 'sm';\n\t}\n}\n\nexport function getTableSizeTokens(size: TableContentSizeProps): TableSizeTokens {\n\treturn TABLE_SIZE_TOKENS[resolveTableSize(size)];\n}\n\nexport function getTableFooterLayoutTokens(size: TableContentSizeProps): TableFooterLayoutTokens {\n\treturn TABLE_FOOTER_LAYOUT_BY_SIZE[resolveTableSize(size)];\n}\n\nexport function getTableHierarchyTypographyClasses(size: TableResolvedSize): string[] {\n\tconst tokens = TABLE_SIZE_TOKENS[size];\n\tconst headerPreset = tokens.headerPreset as TableTablePreset;\n\tconst bodyPreset = tokens.bodyPreset as TableTablePreset;\n\tconst footerPreset = tokens.footerPreset as TableTablePreset;\n\n\treturn [\n\t\t...TABLE_HEADER_TYPOGRAPHY_CLASS_BY_PRESET[headerPreset],\n\t\t...TABLE_BODY_TYPOGRAPHY_CLASS_BY_PRESET[bodyPreset],\n\t\t...TABLE_FOOTER_TYPOGRAPHY_CLASS_BY_PRESET[footerPreset],\n\t\t'[&_thead_th]:align-middle',\n\t];\n}\n\n/** Type definition for pagination display variants */\n/**\n * @internal\n * Generates base table classes with size variants\n */\nexport const tableContent = cva(\n\t[\n\t\t'table',\n\t\t'relative',\n\t\t'border-separate',\n\t\t'border-spacing-0',\n\t\t'text-pretty',\n\t\t'[&_th]:bg-neutral [&_th]:text-neutral-content',\n\t\t'[&_th]:px-4',\n\t\t'[&_td]:px-4',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: ['table-xs', ...getTableHierarchyTypographyClasses('xs')],\n\t\t\t\tsm: ['table-sm', ...getTableHierarchyTypographyClasses('sm')],\n\t\t\t\tmd: ['table-md', ...getTableHierarchyTypographyClasses('md')],\n\t\t\t\tlg: ['table-lg', ...getTableHierarchyTypographyClasses('lg')],\n\t\t\t\txl: ['table-xl', ...getTableHierarchyTypographyClasses('xl')],\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [],\n\t\tdefaultVariants: {\n\t\t\tsize: 'sm',\n\t\t},\n\t},\n);\n\n/** Possible table size variants */\nexport type TableContentSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\n\n/**\n * @internal\n * Generates table container classes with height variants\n */\nexport const tableContainer = cva(['rounded-t-box', 'overflow-y-clip'], {\n\tvariants: {\n\t\tcontainerHeight: {\n\t\t\tauto: ['h-auto'],\n\t\t\tfull: ['h-full'],\n\t\t\tsm: ['h-72 min-h-72 overflow-y-auto overscroll-contain'],\n\t\t\tmd: ['h-80 min-h-80 overflow-y-auto overscroll-contain'],\n\t\t\tlg: ['h-lg min-h-96 overflow-y-auto overscroll-contain'],\n\t\t\txl: ['h-[36rem] min-h-[36rem] overflow-y-auto overscroll-contain'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tcontainerHeight: 'auto',\n\t},\n});\n\n/** Possible table container height values */\nexport type TableContainerHeightProps = 'auto' | 'full' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\n\n/** Configuration object for table styling variants */\nexport type TableVariantProps = {\n\tsize?: TableContentSizeProps;\n\tcontainerHeight?: TableContainerHeightProps;\n};\n\n/**\n * @internal\n * Combines table content and container classes\n */\nexport const tableComponent = ({ size, containerHeight }: TableVariantProps = {}) => cn(tableContent({ size }), tableContainer({ containerHeight }));\n\n/** Pagination configuration structure */\nexport interface TablePagination extends Pagination {\n\tid: string;\n\tsearch: string;\n}\n\n/**\n * A feature-rich data table component with sorting, pagination, and row selection\n *\n * @remarks\n * Integrates with Tailwind CSS for styling and supports responsive layouts.\n * Includes built-in pagination controls and checkbox selection functionality.\n *\n * @example\n * ```html\n * <st-table\n * [data]=\"users\"\n * [totalItems]=\"100\"\n * [pagination]=\"{ currentPage: 1, itemsPerPage: 10 }\"\n * (pageChanged)=\"handlePageChange($event)\"\n * size=\"md\"\n * height=\"lg\"\n * zebra\n * >\n * <!-- Table columns and content -->\n * </st-table>\n * ```\n */\n@Component({\n\tselector: 'st-table',\n\timports: [CommonModule, PaginatorComponent, TextDirective, SelectComponent, IconComponent, TranslatePipe],\n\ttemplateUrl: './table.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableComponent {\n\treadonly translationService = inject(TranslateService);\n\n\t/**\n\t * Table size variant\n\t * @defaultValue 'sm'\n\t */\n\tsize = input<TableContentSizeProps>();\n\n\t/**\n\t * Table container height preset\n\t * @defaultValue 'auto'\n\t */\n\theight = input<TableContainerHeightProps>('auto');\n\n\t/**\n\t * Enable sticky header row\n\t * @defaultValue false\n\t */\n\tpinRows = input<boolean>(false);\n\n\t/**\n\t * Enable sticky first column\n\t * @defaultValue false\n\t */\n\tpinColumns = input<boolean>(false);\n\n\t/**\n\t * Apply zebra-striping to rows\n\t * @defaultValue false\n\t */\n\tzebra = input<boolean>(false);\n\n\t/**\n\t * Show row dividers (borders) between rows\n\t * @defaultValue false\n\t */\n\tbordered = input<boolean>(false);\n\n\t/**\n\t * Pagination control display variant\n\t * @defaultValue 'default'\n\t */\n\tpaginatorType = input<PaginationType>('default');\n\n\t/**\n\t * Empty state icon for no data state\n\t * @defaultValue heroDocumentText\n\t */\n\tnoDataIcon = input<string>(heroDocumentText);\n\n\t/**\n\t * Empty state icon for no results state\n\t * @defaultValue heroMagnifyingGlass\n\t */\n\tnoResultsIcon = input<string>(heroMagnifyingGlass);\n\n\t/**\n\t * Array of data items to display\n\t * @defaultValue []\n\t */\n\tdata = input<unknown[]>([]);\n\n\t/**\n\t * Total number of items across all pages\n\t * @defaultValue 0\n\t */\n\ttotalItems = input<number>(0);\n\n\t/**\n\t * Pagination configuration\n\t * @defaultValue { id: 'paginator', currentPage: 1, itemsPerPage: 10, search: '' }\n\t */\n\tpagination = input<TablePagination>({\n\t\tid: 'paginator',\n\t\tcurrentPage: 1,\n\t\titemsPerPage: 10,\n\t\tsearch: '',\n\t});\n\n\t/**\n\t * Maximum number of pagination buttons to display\n\t * @defaultValue 4\n\t */\n\tmaxSize = input<number>(4);\n\n\t/** Event emitted when page changes */\n\tpageChanged = output<number>();\n\n\t/** Event emitted when page size changes */\n\tpageSizeChanged = output<number>();\n\n\treadonly ENTRIES = [5, 10, 20, 50, 100] as const;\n\n\treadonly entriesPerPageOptions = computed(() => {\n\t\treturn this.ENTRIES.map((n) => {\n\t\t\tconst translatedText = this.translationService.instant('sdk.table.perPage', { count: n });\n\t\t\tconst fallbackText = `${n} / page`;\n\t\t\treturn {\n\t\t\t\tvalue: n,\n\t\t\t\ttext: translatedText && translatedText !== 'sdk.table.perPage' ? translatedText : fallbackText,\n\t\t\t};\n\t\t});\n\t});\n\n\t/**\n\t * Show items per page selector\n\t * @defaultValue true\n\t */\n\tshowItemsPerPage = input<boolean>(true);\n\n\t/**\n\t * Show entries count display\n\t * @defaultValue true\n\t */\n\tshowEntries = input<boolean>(true);\n\n\t/**\n\t * Show pagination controls\n\t * @defaultValue true\n\t */\n\tshowPagination = input<boolean>(true);\n\n\t/**\n\t * Show footer with additional information\n\t * @defaultValue true\n\t */\n\tshowFooter = input<boolean>(true);\n\n\t/**\n\t * Function to determine if any filters are currently active\n\t * This allows the parent component to define what constitutes an \"active filter\"\n\t */\n\thasActiveFiltersCallback = input<(() => boolean) | undefined>();\n\t/**\n\t * Controls whether table headers should overflow with horizontal scrolling (true)\n\t * or wrap text normally (false)\n\t * @defaultValue false\n\t */\n\tallowHeaderOverflow = input<boolean>(false);\n\n\t/**\n\t * Computed total number of pages for the internal paginator.\n\t * Calculated from totalItems and itemsPerPage.\n\t */\n\treadonly totalPages = computed(() => {\n\t\tconst itemsPerPage = this.pagination().itemsPerPage || 1;\n\t\tconst totalItems = this.totalItems();\n\t\treturn Math.ceil(totalItems / itemsPerPage);\n\t});\n\n\t/**\n\t * Computed boolean indicating if any filters are currently active\n\t */\n\treadonly hasActiveFilters = computed(() => {\n\t\tconst callback = this.hasActiveFiltersCallback();\n\t\tif (callback) {\n\t\t\treturn callback();\n\t\t}\n\t\tconst pagination = this.pagination();\n\t\treturn !!pagination.search?.trim();\n\t});\n\n\t/**\n\t * Computed boolean indicating if we should show \"no results\" vs \"no data\"\n\t */\n\treadonly hasNoResults = computed(() => {\n\t\tconst hasItems = this.totalItems() > 0 || this.data().length > 0;\n\t\treturn !hasItems && this.hasActiveFilters();\n\t});\n\n\t/**\n\t * Computed boolean indicating if we should show \"no data\" state\n\t */\n\treadonly hasNoData = computed(() => {\n\t\tconst hasItems = this.totalItems() > 0 || this.data().length > 0;\n\t\treturn !hasItems && !this.hasActiveFilters();\n\t});\n\n\t/**\n\t * Computed display range for current page entries\n\t * @example \"1-10\" of 100 entries\n\t */\n\tpaginationRange = computed(() => {\n\t\tconst start = this.pagination().currentPage * this.pagination().itemsPerPage - this.pagination().itemsPerPage + 1;\n\t\tconst end = Math.min(this.pagination().currentPage * this.pagination().itemsPerPage, this.totalItems());\n\t\treturn `${start}-${end}`;\n\t});\n\n\t/**\n\t * Handles page navigation events\n\t * @param page - New page number\n\t */\n\thandlePageChange(page: number) {\n\t\tthis.handleToggleAll(false);\n\t\tthis.pageChanged.emit(page);\n\t}\n\n\t/**\n\t * Handles page size changes\n\t * @param size - New items per page value\n\t */\n\thandlePageSizeChange(size: unknown) {\n\t\tthis.handleToggleAll(false);\n\t\tlet resolved: number | undefined;\n\t\tif (typeof size === 'number') {\n\t\t\tresolved = size;\n\t\t} else if (size && typeof size === 'object' && 'value' in (size as Record<string, unknown>)) {\n\t\t\tconst v = (size as Record<string, unknown>)['value'];\n\t\t\tconst safeStringify = (x: unknown) => (['string', 'number', 'boolean'].includes(typeof x) ? String(x) : '0');\n\t\t\tresolved = typeof v === 'number' ? v : Number(safeStringify(v));\n\t\t} else {\n\t\t\tconst safeStringify = (x: unknown) => (['string', 'number', 'boolean'].includes(typeof x) ? String(x) : '0');\n\t\t\tresolved = Number(safeStringify(size)) || undefined;\n\t\t}\n\t\tconst pageSize = Number(resolved || 1);\n\t\tthis.pageSizeChanged.emit(pageSize);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes table element classes based on current configuration\n\t */\n\ttableClass = computed(() =>\n\t\tcn(\n\t\t\ttableContent({\n\t\t\t\tsize: this.size(),\n\t\t\t}),\n\t\t\t{\n\t\t\t\t'table-pin-rows': this.pinRows(),\n\t\t\t\t'table-pin-cols': this.pinColumns(),\n\t\t\t\t'table-zebra': this.zebra(),\n\t\t\t\t'table-bordered': this.bordered(),\n\t\t\t},\n\t\t),\n\t);\n\n\t/**\n\t * @internal\n\t * Computes table container classes based on height input\n\t */\n\ttableContainerClass = computed(() =>\n\t\tcn(\n\t\t\ttableContainer({\n\t\t\t\tcontainerHeight: this.height(),\n\t\t\t}),\n\t\t\t{ 'overflow-x-auto': this.allowHeaderOverflow(), '[&_thead]:whitespace-normal': !this.allowHeaderOverflow() },\n\t\t\t'w-full flex-grow',\n\t\t),\n\t);\n\n\t/**\n\t * @internal\n\t * Computes outer container classes based on size\n\t */\n\tcontainerClass = computed(() =>\n\t\tcn('rounded-box border-neutral @container flex min-w-0 flex-col gap-3 overflow-x-auto border border-solid', {\n\t\t\t'gap-3 pb-3': this.size() === 'xs' || this.size() === 'sm' || this.size() === 'md',\n\t\t\t'gap-4 pb-4': this.size() === 'lg',\n\t\t\t'gap-5 pb-5': this.size() === 'xl',\n\t\t}),\n\t);\n\n\treadonly sizeTokens = computed(() => getTableSizeTokens(this.size()));\n\n\treadonly footerLayoutTokens = computed(() => getTableFooterLayoutTokens(this.size()));\n\n\t/**\n\t * @internal\n\t * Computes typography variant for paginator text based on table size\n\t */\n\tpaginatorTextSize = computed<TextPreset>(() => {\n\t\treturn this.size() === 'sm' ? '8' : this.sizeTokens().footerPreset;\n\t});\n\n\tfooterSelectSize = computed<SelectSizeProps>(() => this.sizeTokens().selectSize);\n\n\tfooterPaginatorSize = computed<PaginatorSizeProps>(() => this.sizeTokens().paginatorSize);\n\n\tfooterWrapperClass = computed(() => cn('@container flex w-full flex-col overflow-x-auto', this.footerLayoutTokens().wrapper));\n\n\tfooterDividerClass = computed(() =>\n\t\tcn('divider divider-neutral my-0 h-[0.0625rem] before:h-[0.0625rem] after:h-[0.0625rem]', this.footerLayoutTokens().divider),\n\t);\n\n\tfooterContentClass = computed(() =>\n\t\tcn(\n\t\t\t'flex flex-col items-center @2xl:flex-row @2xl:justify-between @4xl:grid @4xl:grid-cols-[auto_1fr_auto] @4xl:items-center',\n\t\t\tthis.footerLayoutTokens().content,\n\t\t),\n\t);\n\n\t/** @internal Reference to header checkbox component */\n\theader = contentChild(TableHeaderCheckboxComponent, { descendants: true });\n\n\t/** @internal List of row checkbox components */\n\trows = contentChildren(TableRowCheckboxComponent, { descendants: true });\n\n\t/** @internal Track selected row identifiers */\n\tidentifiers = signal<Set<unknown>>(new Set());\n\n\t/** Event emitted with array of selected item identifiers */\n\tcheckedItems = output<unknown[]>();\n\n\t/** @internal Sync checkbox state with output */\n\tcheckEffect = effect(() => {\n\t\tthis.checkedItems.emit(Array.from(this.identifiers()));\n\t});\n\n\t/**\n\t * Toggle all row checkboxes\n\t * @param value - Whether to check or uncheck all rows\n\t */\n\thandleToggleAll(value: boolean) {\n\t\tif (!value) {\n\t\t\tthis.clearList();\n\t\t}\n\n\t\tthis.rows().forEach((row) => {\n\t\t\trow.checked.set(value);\n\t\t\tif (value) {\n\t\t\t\tthis.identifiers.update((items) => new Set(items).add(row.identifier()));\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * Handle individual checkbox toggle\n\t * @param value - Checkbox state\n\t * @param identifier - Unique row identifier\n\t */\n\thandleToggleCheckbox(value: boolean, identifier: unknown) {\n\t\tif (value) {\n\t\t\tthis.identifiers.update((items) => new Set(items).add(identifier));\n\t\t} else {\n\t\t\tthis.header()?.checked.set(false);\n\t\t\tthis.identifiers.update((items) => {\n\t\t\t\titems.delete(identifier);\n\t\t\t\treturn new Set(items);\n\t\t\t});\n\t\t}\n\t}\n\n\t/** @internal Clear all selections */\n\tprivate clearList() {\n\t\tthis.identifiers.set(new Set());\n\t\tthis.header()?.checked.set(false);\n\t}\n}\n","@let total = totalItems();\n@let containerClassVar = containerClass();\n@let tableContainerClassVar = tableContainerClass();\n@let tableClassVar = tableClass();\n@let paginatorTextSizeVar = paginatorTextSize();\n@let footerSelectSizeVar = footerSelectSize();\n@let footerPaginatorSizeVar = footerPaginatorSize();\n@let footerWrapperClassVar = footerWrapperClass();\n@let footerDividerClassVar = footerDividerClass();\n@let footerContentClassVar = footerContentClass();\n@let showItemsPerPageVar = showItemsPerPage();\n@let paginationVar = pagination();\n@let showPaginationVar = showPagination();\n@let paginatorTypeVar = paginatorType();\n@let maxSizeVar = maxSize();\n@let showEntriesVar = showEntries();\n@let showFooterVar = showFooter();\n@let totalPagesVar = totalPages();\n\n<div [class]=\"containerClassVar\">\n\t<div [class]=\"tableContainerClassVar\">\n\t\t<div class=\"w-full flex-grow overflow-x-auto\">\n\t\t\t@if (hasNoData()) {\n\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-1.5 py-12 text-center\">\n\t\t\t\t\t<div class=\"text-base-content/40\">\n\t\t\t\t\t\t<st-icon [icon]=\"noDataIcon()\" size=\"lg\" color=\"base-content\" class=\"mx-auto opacity-40\"></st-icon>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-0.5\">\n\t\t\t\t\t\t<h3 stText=\"6\" class=\"text-base-content/60\">{{ 'sdk.table.noData.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content/40\">{{ 'sdk.table.noData.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (hasNoResults()) {\n\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-1.5 py-12 text-center\">\n\t\t\t\t\t<div class=\"text-base-content/40\">\n\t\t\t\t\t\t<st-icon [icon]=\"noResultsIcon()\" size=\"xl\" color=\"base-content\" class=\"mx-auto opacity-40\"></st-icon>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-0.5\">\n\t\t\t\t\t\t<h3 stText=\"6\" class=\"text-base-content/60\">{{ 'sdk.table.noResults.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content/40\">{{ 'sdk.table.noResults.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"mt-3\">\n\t\t\t\t\t\t<ng-content select=\"st-table-empty-actions\"></ng-content>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else {\n\t\t\t\t<table [class]=\"tableClassVar\">\n\t\t\t\t\t<ng-content select=\"thead\"></ng-content>\n\t\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t\t\t<ng-content select=\"tfoot\"></ng-content>\n\t\t\t\t</table>\n\t\t\t}\n\t\t</div>\n\t</div>\n\t@if (total > 0) {\n\t\t@if (showFooterVar) {\n\t\t\t<div [class]=\"footerWrapperClassVar\">\n\t\t\t\t<div [class]=\"footerDividerClassVar\"></div>\n\t\t\t\t<div [class]=\"footerContentClassVar\">\n\t\t\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t\t\t@if (showEntriesVar) {\n\t\t\t\t\t\t\t@if (!showItemsPerPageVar && !showPaginationVar) {\n\t\t\t\t\t\t\t\t<span [stText]=\"paginatorTextSizeVar\">\n\t\t\t\t\t\t\t\t\t{{ 'sdk.table.totalEntries' | translate: { total: total } }}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<span [stText]=\"paginatorTextSizeVar\">\n\t\t\t\t\t\t\t\t\t{{ 'sdk.table.entriesRange' | translate: { range: paginationRange(), total: total } }}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex justify-center\">\n\t\t\t\t\t\t@if (showPaginationVar) {\n\t\t\t\t\t\t\t@if (paginatorTypeVar === 'default') {\n\t\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t\t[paginatorId]=\"paginationVar.id\"\n\t\t\t\t\t\t\t\t\t[pages]=\"totalPagesVar\"\n\t\t\t\t\t\t\t\t\t[currentPage]=\"paginationVar.currentPage\"\n\t\t\t\t\t\t\t\t\t[size]=\"footerPaginatorSizeVar\"\n\t\t\t\t\t\t\t\t\t[maxSize]=\"maxSizeVar\"\n\t\t\t\t\t\t\t\t\t(pageChanged)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t\t} @else if (paginatorTypeVar === 'dots') {\n\t\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t\t[paginatorId]=\"paginationVar.id\"\n\t\t\t\t\t\t\t\t\t[pages]=\"totalPagesVar\"\n\t\t\t\t\t\t\t\t\t[currentPage]=\"paginationVar.currentPage\"\n\t\t\t\t\t\t\t\t\t[size]=\"footerPaginatorSizeVar\"\n\t\t\t\t\t\t\t\t\t(pageChanged)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t\t\ttype=\"dots\"\n\t\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t\t\t@if (showItemsPerPageVar) {\n\t\t\t\t\t\t\t<span class=\"sr-only\">{{ 'sdk.table.entriesByPage' | translate }}</span>\n\t\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t\t[options]=\"entriesPerPageOptions()\"\n\t\t\t\t\t\t\t\t[value]=\"paginationVar.itemsPerPage\"\n\t\t\t\t\t\t\t\tvalueKey=\"value\"\n\t\t\t\t\t\t\t\tdisplayKey=\"text\"\n\t\t\t\t\t\t\t\t[size]=\"footerSelectSizeVar\"\n\t\t\t\t\t\t\t\t(valueUpdated)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t[allowClear]=\"false\"\n\t\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t}\n</div>\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { ButtonComponent, ButtonSizeProps, ButtonVariantProps } from '@sixbell-telco/sdk/components/button';\nimport { TooltipComponent } from '@sixbell-telco/sdk/components/tooltip';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\nexport type ModalActionsAligmentProps = 'left' | 'right' | 'center';\n\n/**\n * Component to render a table action, typically a button with optional tooltip.\n *\n * @remarks\n * This component encapsulates a button within a table, allowing for consistent styling\n * and easy integration with tooltips.\n *\n * @example\n * ```html\n * <st-table-action tooltip=\"Delete\" icon=\"delete\">\n * Delete\n * </st-table-action>\n * ```\n */\n@Component({\n\tselector: 'st-table-action',\n\timports: [CommonModule, TooltipComponent, ButtonComponent, TranslatePipe, TextDirective],\n\ttemplateUrl: './table-action.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableActionComponent {\n\t/**\n\t * Button style variant.\n\t * @defaultValue 'primary'\n\t */\n\tvariant = input<ButtonVariantProps>('primary');\n\t/**\n\t * Tooltip text (optional).\n\t */\n\ttooltip = input<string | undefined>();\n\t/**\n\t * Icon name (optional).\n\t */\n\ticon = input<string | undefined>();\n\t/**\n\t * Button size.\n\t * @defaultValue 'md'\n\t */\n\tsize = input<ButtonSizeProps>('md');\n\n\t/**\n\t * Computes CSS classes for the table action text size based on the current size setting.\n\t */\n\ttableActionClass = computed(() => {\n\t\treturn cn({\n\t\t\t'text-[9.83px] leading-normal tracking-normal': this.size() === 'xs',\n\t\t\t'text-[11.06px] leading-normal tracking-tight': this.size() === 'sm',\n\t\t\t'text-[12.44px] leading-normal tracking-tight': this.size() === 'md',\n\t\t\t'text-[14px] leading-normal tracking-tight': this.size() === 'lg',\n\t\t\t'text-[15.75px] leading-normal tracking-normal': this.size() === 'xl',\n\t\t});\n\t});\n\n\ttextPreset = computed<TextPreset>(() => {\n\t\tswitch (this.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn '10';\n\t\t\tcase 'sm':\n\t\t\t\treturn '9';\n\t\t\tcase 'md':\n\t\t\t\treturn '8';\n\t\t\tcase 'lg':\n\t\t\t\treturn '7';\n\t\t\tcase 'xl':\n\t\t\t\treturn '6';\n\t\t\tdefault:\n\t\t\t\treturn '8';\n\t\t}\n\t});\n}\n","@let tooltipVar = tooltip();\n@let variantVar = variant();\n@let iconVar = icon();\n@let sizeVar = size();\n@let textPresetVar = textPreset();\n\n<!-- Define the button template with content projection -->\n<ng-template #buttonTemplate>\n\t<st-button [class]=\"tableActionClass()\" [variant]=\"variantVar\" [icon]=\"iconVar\" [link]=\"true\" [size]=\"sizeVar\">\n\t\t<span [stText]=\"textPresetVar\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t</st-button>\n</ng-template>\n\n<!-- Conditional rendering -->\n@if (tooltipVar) {\n\t<st-tooltip variant=\"secondary\" [label]=\"tooltipVar | translate\" position=\"top\">\n\t\t<ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\n\t</st-tooltip>\n} @else {\n\t<ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { ButtonComponent } from '@sixbell-telco/sdk/components/button';\nimport {\n\tDropdownMenuComponent,\n\tDropdownMenuContentComponent,\n\tDropdownMenuItemComponent,\n\tDropdownMenuTriggerComponent,\n} from '@sixbell-telco/sdk/components/dropdown-menu';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matMoreVert } from '@sixbell-telco/sdk/components/icon/material/baseline';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { TableActionComponent } from '../table-action/table-action.component';\nimport { TableActionConfig, TableActionsMode, TableActionsSizeProps } from './table-actions.types';\n\n/**\n * Component to render a container for table actions.\n *\n * @remarks\n * Supports three modes of operation:\n * 1. **ng-content (backward compatible)**: When no `actions` input is provided, renders projected content.\n * 2. **Inline mode**: When `actions` is provided and `mode` is `'inline'`, renders action buttons in a row.\n * 3. **Dropdown mode**: When `actions` is provided and `mode` is `'dropdown'`, renders a kebab menu.\n *\n * @example\n * ```html\n * <!-- ng-content mode (backward compatible) -->\n * <st-table-actions>\n * <st-table-action [icon]=\"editIcon\" tooltip=\"Edit\" />\n * </st-table-actions>\n *\n * <!-- Data-driven inline mode -->\n * <st-table-actions [actions]=\"myActions\" (actionTriggered)=\"onAction($event)\" />\n *\n * <!-- Data-driven dropdown mode -->\n * <st-table-actions [actions]=\"myActions\" mode=\"dropdown\" (actionTriggered)=\"onAction($event)\" />\n * ```\n */\n@Component({\n\tselector: 'st-table-actions',\n\timports: [\n\t\tCommonModule,\n\t\tTranslatePipe,\n\t\tTableActionComponent,\n\t\tButtonComponent,\n\t\tIconComponent,\n\t\tDropdownMenuComponent,\n\t\tDropdownMenuTriggerComponent,\n\t\tDropdownMenuContentComponent,\n\t\tDropdownMenuItemComponent,\n\t],\n\ttemplateUrl: './table-actions.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableActionsComponent {\n\t/**\n\t * Array of action configurations. When provided, renders actions data-driven.\n\t * When empty or not provided, falls back to ng-content projection.\n\t */\n\tactions = input<TableActionConfig[]>([]);\n\n\t/**\n\t * Rendering mode for the actions.\n\t * - `'inline'`: Renders action buttons in a row (default).\n\t * - `'dropdown'`: Renders a kebab menu that opens a dropdown with action items.\n\t * @defaultValue 'inline'\n\t */\n\tmode = input<TableActionsMode>('inline');\n\n\t/**\n\t * Size for action buttons and the dropdown trigger.\n\t * @defaultValue 'md'\n\t */\n\tsize = input<TableActionsSizeProps>('md');\n\n\t/**\n\t * Icon for the dropdown trigger button.\n\t * @defaultValue matMoreVert (Material vertical dots icon)\n\t */\n\ttriggerIcon = input<string>(matMoreVert);\n\n\t/**\n\t * Emitted when a data-driven action is triggered/clicked.\n\t * Emits the full `TableActionConfig` of the triggered action.\n\t */\n\tactionTriggered = output<TableActionConfig>();\n\n\t/**\n\t * @internal\n\t * Computed class string for the table actions container (inline mode and ng-content fallback).\n\t */\n\tcomponentClass = computed(() => cn('inline-flex grow-0 items-center justify-center gap-2 align-top'));\n\n\t/**\n\t * @internal\n\t * Whether the component should use data-driven rendering.\n\t */\n\thasActions = computed(() => (this.actions()?.length ?? 0) > 0);\n\n\t/**\n\t * @internal\n\t * Handle action click for data-driven mode.\n\t */\n\tonActionClick(action: TableActionConfig): void {\n\t\tif (!action.disabled) {\n\t\t\tthis.actionTriggered.emit(action);\n\t\t}\n\t}\n}\n","@if (hasActions()) {\n\t@if (mode() === 'inline') {\n\t\t<div [class]=\"componentClass()\">\n\t\t\t@for (action of actions(); track action.id) {\n\t\t\t\t<st-table-action\n\t\t\t\t\t[variant]=\"action.variant ?? 'primary'\"\n\t\t\t\t\t[icon]=\"action.icon\"\n\t\t\t\t\t[tooltip]=\"action.tooltip\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\t(click)=\"onActionClick(action)\"\n\t\t\t\t/>\n\t\t\t}\n\t\t</div>\n\t} @else {\n\t\t<st-dropdown-menu>\n\t\t\t<st-dropdown-menu-trigger [menuTriggerFor]=\"content.template\">\n\t\t\t\t<st-button [icon]=\"triggerIcon()\" [ghost]=\"true\" [size]=\"size()\" variant=\"base\" />\n\t\t\t</st-dropdown-menu-trigger>\n\t\t\t<st-dropdown-menu-content #content [size]=\"size()\">\n\t\t\t\t@for (action of actions(); track action.id) {\n\t\t\t\t\t<st-dropdown-menu-item [disabled]=\"action.disabled ?? false\" (triggered)=\"onActionClick(action)\">\n\t\t\t\t\t\t<span class=\"flex items-center gap-2\">\n\t\t\t\t\t\t\t@if (action.icon) {\n\t\t\t\t\t\t\t\t<st-icon [icon]=\"action.icon\" size=\"auto\" />\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t@if (action.label) {\n\t\t\t\t\t\t\t\t{{ action.label | translate }}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</st-dropdown-menu-item>\n\t\t\t\t}\n\t\t\t</st-dropdown-menu-content>\n\t\t</st-dropdown-menu>\n\t}\n} @else {\n\t<div [class]=\"componentClass()\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-table-empty-actions',\n\tstandalone: true,\n\timports: [CommonModule],\n\ttemplateUrl: './table-empty-actions.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableEmptyActionsComponent {}\n","<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["TranslatePipe"],"mappings":";;;;;;;;;;;;;;;;;;;AAIA;;;;;;;;;;;;;;AAcG;MAQU,4BAA4B,CAAA;AACxC;;;;AAIG;AACH,IAAA,eAAe,GAAG,KAAK,CAAuB,SAAS,CAAC;AAExD;;;;AAIG;AACH,IAAA,OAAO,GAAG,MAAM,CAAU,KAAK,CAAC;AAEhC;;;;AAIG;IACM,KAAK,GAAG,MAAM,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAE9C,IAAA,YAAY,GAAG,QAAQ,CAAC,MAAK;AACrC,QAAA,QAAQ,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE;AACxB,YAAA,KAAK,IAAI;AACR,gBAAA,OAAO,IAAI;AACZ,YAAA,KAAK,IAAI;AACR,gBAAA,OAAO,IAAI;AACZ,YAAA,KAAK,IAAI;AACR,gBAAA,OAAO,IAAI;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AA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,EAAA,OAAA,EACnB;wBACR,YAAY;wBACZA,eAAa;wBACb,oBAAoB;wBACpB,eAAe;wBACf,aAAa;wBACb,qBAAqB;wBACrB,4BAA4B;wBAC5B,4BAA4B;wBAC5B,yBAAyB;qBACzB,EAAA,eAAA,EAEgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,o2CAAA,EAAA;;;ME3CnC,0BAA0B,CAAA;wGAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECVvC,6BACA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDKW,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAIV,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAPtC,SAAS;+BACC,wBAAwB,EAAA,UAAA,EACtB,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,CAAC,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6BAAA,EAAA;;;AERhD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-table.mjs","sources":["../../../projects/sdk/components/table/table-header-checkbox/table-header-checkbox.component.ts","../../../projects/sdk/components/table/table-header-checkbox/table-header-checkbox.component.html","../../../projects/sdk/components/table/table-row-checkbox/table-row-checkbox.component.ts","../../../projects/sdk/components/table/table-row-checkbox/table-row-checkbox.component.html","../../../projects/sdk/components/table/src/table.component.ts","../../../projects/sdk/components/table/src/table.component.html","../../../projects/sdk/components/table/table-action/table-action.component.ts","../../../projects/sdk/components/table/table-action/table-action.component.html","../../../projects/sdk/components/table/table-actions/table-actions.component.ts","../../../projects/sdk/components/table/table-actions/table-actions.component.html","../../../projects/sdk/components/table/table-empty-actions/table-empty-actions.component.ts","../../../projects/sdk/components/table/table-empty-actions/table-empty-actions.component.html","../../../projects/sdk/components/table/sixbell-telco-sdk-components-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, inject, input, signal } from '@angular/core';\nimport { CheckboxComponent, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { TableComponent } from '../src/table.component';\n\n/**\n * Header checkbox component for the table.\n *\n * This component renders a checkbox within a table header row,\n * allowing users to select or deselect all rows in the table.\n *\n * @remarks\n * Utilizes Angular's dependency injection to access the parent {@link TableComponent}\n * and propagate the checkbox state changes.\n *\n * @example\n * ```html\n * <tr header-checkbox></tr>\n * ```\n */\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[header-checkbox]',\n\timports: [CheckboxComponent],\n\ttemplateUrl: './table-header-checkbox.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableHeaderCheckboxComponent {\n\t/**\n\t * Defines the variant styling of the checkbox.\n\t *\n\t * @defaultValue 'primary'\n\t */\n\tcheckboxVariant = input<CheckboxVariantProps>('primary');\n\n\t/**\n\t * Signal that tracks the checked state of the header checkbox.\n\t *\n\t * @defaultValue false\n\t */\n\tchecked = signal<boolean>(false);\n\n\t/**\n\t * Creates an instance of TableHeaderCheckboxComponent.\n\t *\n\t * @param table - Reference to the parent {@link TableComponent} to access table-level operations.\n\t */\n\treadonly table = inject(TableComponent, { host: true });\n\n\treadonly checkboxSize = computed(() => {\n\t\tswitch (this.table.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn 'xs';\n\t\t\tcase 'sm':\n\t\t\t\treturn 'sm';\n\t\t\tcase 'md':\n\t\t\t\treturn 'md';\n\t\t\tcase 'lg':\n\t\t\t\treturn 'lg';\n\t\t\tcase 'xl':\n\t\t\t\treturn 'lg';\n\t\t\tdefault:\n\t\t\t\treturn 'sm';\n\t\t}\n\t});\n\n\t/**\n\t * Handles the event when the header checkbox is toggled.\n\t *\n\t * This method notifies the parent table component to either select or deselect all rows.\n\t *\n\t * @param value - The new checked state (true to select all rows, false to deselect all).\n\t */\n\thandleSelectAll(value: boolean) {\n\t\tthis.table.handleToggleAll(value);\n\t}\n}\n","<th class=\"w-6\">\n\t<st-checkbox [(value)]=\"checked\" (valueUpdated)=\"handleSelectAll($event)\" [variant]=\"checkboxVariant()\" [size]=\"checkboxSize()\" />\n</th>\n<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, computed, inject, input, signal } from '@angular/core';\nimport { CheckboxComponent, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { TableComponent } from '../src/table.component';\n\n/**\n * Row checkbox component for table row selection.\n *\n * This component renders a checkbox within a table row,\n * enabling individual row selection. It interacts with the parent\n * {@link TableComponent} to update the selection state.\n *\n * @example\n * ```html\n * <tr row-checkbox [identifier]=\"rowId\"></tr>\n * ```\n */\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[row-checkbox]',\n\timports: [CheckboxComponent],\n\ttemplateUrl: './table-row-checkbox.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableRowCheckboxComponent {\n\t/**\n\t * Defines the variant styling of the checkbox.\n\t *\n\t * @defaultValue 'primary'\n\t */\n\tcheckboxVariant = input<CheckboxVariantProps>('primary');\n\n\t/**\n\t * Unique identifier for the table row.\n\t *\n\t * This input is required to track the specific row in the table.\n\t */\n\tidentifier = input.required();\n\n\t/**\n\t * Signal that tracks the checked state of the row checkbox.\n\t *\n\t * @defaultValue false\n\t */\n\tchecked = signal<boolean>(false);\n\n\t/**\n\t * Creates an instance of TableRowCheckboxComponent.\n\t *\n\t * @param table - Reference to the parent {@link TableComponent} to access\n\t * table-level operations for row selection.\n\t */\n\treadonly table = inject(TableComponent, { host: true });\n\n\treadonly checkboxSize = computed(() => {\n\t\tswitch (this.table.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn 'xs';\n\t\t\tcase 'sm':\n\t\t\t\treturn 'sm';\n\t\t\tcase 'md':\n\t\t\t\treturn 'md';\n\t\t\tcase 'lg':\n\t\t\t\treturn 'lg';\n\t\t\tcase 'xl':\n\t\t\t\treturn 'lg';\n\t\t\tdefault:\n\t\t\t\treturn 'sm';\n\t\t}\n\t});\n\n\t/**\n\t * Handles the selection event of the row checkbox.\n\t *\n\t * This method notifies the parent table component to update the selection state\n\t * for the corresponding row, based on the checkbox's new value.\n\t *\n\t * @param value - The new checked state (true for selected, false for deselected).\n\t */\n\thandleSelect(value: boolean) {\n\t\tthis.table.handleToggleCheckbox(value, this.identifier());\n\t}\n}\n","<td>\n\t<st-checkbox [(value)]=\"checked\" (valueUpdated)=\"handleSelect($event)\" [variant]=\"checkboxVariant()\" [size]=\"checkboxSize()\"></st-checkbox>\n</td>\n<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, contentChild, contentChildren, effect, inject, input, output, signal } from '@angular/core';\nimport { heroDocumentText, heroMagnifyingGlass } from '@ng-icons/heroicons/outline';\nimport { ButtonSizeProps } from '@sixbell-telco/sdk/components/button';\nimport { CheckboxSizeProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { SelectComponent, SelectSizeProps } from '@sixbell-telco/sdk/components/forms/select';\nimport { IconComponent, IconSizeProps } from '@sixbell-telco/sdk/components/icon';\nimport { Pagination, PaginationType, PaginatorComponent, PaginatorSizeProps } from '@sixbell-telco/sdk/components/paginator';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { TranslatePipe, TranslateService } from '@sixbell-telco/sdk/utils/translation';\nimport { cva } from 'class-variance-authority';\nimport { TableActionsSizeProps } from '../table-actions/table-actions.types';\nimport { TableHeaderCheckboxComponent } from '../table-header-checkbox/table-header-checkbox.component';\nimport { TableRowCheckboxComponent } from '../table-row-checkbox/table-row-checkbox.component';\n\nexport type TableResolvedSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n\ntype TableTablePreset = Extract<TextPreset, '6' | '7' | '8' | '9' | '10'>;\n\nexport interface TableSizeTokens {\n\theaderPreset: TextPreset;\n\tbodyPreset: TextPreset;\n\tfooterPreset: TextPreset;\n\tselectSize: SelectSizeProps;\n\tpaginatorSize: PaginatorSizeProps;\n\tcheckboxSize: CheckboxSizeProps;\n\tactionSize: TableActionsSizeProps;\n\tsortableButtonSize: ButtonSizeProps;\n\tsortableIconSize: IconSizeProps;\n}\n\nexport interface TableFooterLayoutTokens {\n\twrapper: string[];\n\tdivider: string[];\n\tcontent: string[];\n}\n\nconst TABLE_HEADER_TYPOGRAPHY_CLASS_BY_PRESET: Record<TableTablePreset, string[]> = {\n\t'6': [\n\t\t'[&_thead_th]:text-[15.75px]',\n\t\t'[&_thead_th]:leading-normal',\n\t\t'[&_thead_th]:tracking-normal',\n\t\t'[&_thead_th]:font-heading',\n\t\t'[&_thead_th]:font-semibold',\n\t\t'[&_thead_th]:align-middle',\n\t\t'[&_thead_td]:text-[15.75px]',\n\t\t'[&_thead_td]:leading-normal',\n\t\t'[&_thead_td]:tracking-normal',\n\t\t'[&_thead_td]:font-heading',\n\t\t'[&_thead_td]:font-semibold',\n\t\t'[&_thead_td]:align-middle',\n\t],\n\t'7': [\n\t\t'[&_thead_th]:text-[14px]',\n\t\t'[&_thead_th]:leading-normal',\n\t\t'[&_thead_th]:tracking-tight',\n\t\t'[&_thead_th]:font-heading',\n\t\t'[&_thead_th]:font-semibold',\n\t\t'[&_thead_th]:align-middle',\n\t\t'[&_thead_td]:text-[14px]',\n\t\t'[&_thead_td]:leading-normal',\n\t\t'[&_thead_td]:tracking-tight',\n\t\t'[&_thead_td]:font-heading',\n\t\t'[&_thead_td]:font-semibold',\n\t\t'[&_thead_td]:align-middle',\n\t],\n\t'8': [\n\t\t'[&_thead_th]:text-[12.44px]',\n\t\t'[&_thead_th]:leading-normal',\n\t\t'[&_thead_th]:tracking-tight',\n\t\t'[&_thead_th]:font-heading',\n\t\t'[&_thead_th]:font-semibold',\n\t\t'[&_thead_th]:align-middle',\n\t\t'[&_thead_td]:text-[12.44px]',\n\t\t'[&_thead_td]:leading-normal',\n\t\t'[&_thead_td]:tracking-tight',\n\t\t'[&_thead_td]:font-heading',\n\t\t'[&_thead_td]:font-semibold',\n\t\t'[&_thead_td]:align-middle',\n\t],\n\t'9': [\n\t\t'[&_thead_th]:text-[11.06px]',\n\t\t'[&_thead_th]:leading-normal',\n\t\t'[&_thead_th]:tracking-tight',\n\t\t'[&_thead_th]:font-heading',\n\t\t'[&_thead_th]:font-semibold',\n\t\t'[&_thead_th]:align-middle',\n\t\t'[&_thead_td]:text-[11.06px]',\n\t\t'[&_thead_td]:leading-normal',\n\t\t'[&_thead_td]:tracking-tight',\n\t\t'[&_thead_td]:font-heading',\n\t\t'[&_thead_td]:font-semibold',\n\t\t'[&_thead_td]:align-middle',\n\t],\n\t'10': [\n\t\t'[&_thead_th]:text-[9.83px]',\n\t\t'[&_thead_th]:leading-normal',\n\t\t'[&_thead_th]:tracking-normal',\n\t\t'[&_thead_th]:font-heading',\n\t\t'[&_thead_th]:font-semibold',\n\t\t'[&_thead_th]:align-middle',\n\t\t'[&_thead_td]:text-[9.83px]',\n\t\t'[&_thead_td]:leading-normal',\n\t\t'[&_thead_td]:tracking-normal',\n\t\t'[&_thead_td]:font-heading',\n\t\t'[&_thead_td]:font-semibold',\n\t\t'[&_thead_td]:align-middle',\n\t],\n};\n\nconst TABLE_BODY_TYPOGRAPHY_CLASS_BY_PRESET: Record<TableTablePreset, string[]> = {\n\t'6': [\n\t\t'[&_tbody_td]:text-[15.75px]',\n\t\t'[&_tbody_td]:leading-normal',\n\t\t'[&_tbody_td]:tracking-normal',\n\t\t'[&_tbody_td]:font-body',\n\t\t'[&_tbody_td]:font-normal',\n\t\t'[&_tbody_td]:align-middle',\n\t\t'[&_tbody_th]:text-[15.75px]',\n\t\t'[&_tbody_th]:leading-normal',\n\t\t'[&_tbody_th]:tracking-normal',\n\t\t'[&_tbody_th]:font-body',\n\t\t'[&_tbody_th]:font-normal',\n\t\t'[&_tbody_th]:align-middle',\n\t],\n\t'7': [\n\t\t'[&_tbody_td]:text-[14px]',\n\t\t'[&_tbody_td]:leading-normal',\n\t\t'[&_tbody_td]:tracking-tight',\n\t\t'[&_tbody_td]:font-body',\n\t\t'[&_tbody_td]:font-normal',\n\t\t'[&_tbody_td]:align-middle',\n\t\t'[&_tbody_th]:text-[14px]',\n\t\t'[&_tbody_th]:leading-normal',\n\t\t'[&_tbody_th]:tracking-tight',\n\t\t'[&_tbody_th]:font-body',\n\t\t'[&_tbody_th]:font-normal',\n\t\t'[&_tbody_th]:align-middle',\n\t],\n\t'8': [\n\t\t'[&_tbody_td]:text-[12.44px]',\n\t\t'[&_tbody_td]:leading-normal',\n\t\t'[&_tbody_td]:tracking-tight',\n\t\t'[&_tbody_td]:font-body',\n\t\t'[&_tbody_td]:font-normal',\n\t\t'[&_tbody_td]:align-middle',\n\t\t'[&_tbody_th]:text-[12.44px]',\n\t\t'[&_tbody_th]:leading-normal',\n\t\t'[&_tbody_th]:tracking-tight',\n\t\t'[&_tbody_th]:font-body',\n\t\t'[&_tbody_th]:font-normal',\n\t\t'[&_tbody_th]:align-middle',\n\t],\n\t'9': [\n\t\t'[&_tbody_td]:text-[11.06px]',\n\t\t'[&_tbody_td]:leading-normal',\n\t\t'[&_tbody_td]:tracking-tight',\n\t\t'[&_tbody_td]:font-body',\n\t\t'[&_tbody_td]:font-normal',\n\t\t'[&_tbody_td]:align-middle',\n\t\t'[&_tbody_th]:text-[11.06px]',\n\t\t'[&_tbody_th]:leading-normal',\n\t\t'[&_tbody_th]:tracking-tight',\n\t\t'[&_tbody_th]:font-body',\n\t\t'[&_tbody_th]:font-normal',\n\t\t'[&_tbody_th]:align-middle',\n\t],\n\t'10': [\n\t\t'[&_tbody_td]:text-[9.83px]',\n\t\t'[&_tbody_td]:leading-normal',\n\t\t'[&_tbody_td]:tracking-normal',\n\t\t'[&_tbody_td]:font-body',\n\t\t'[&_tbody_td]:font-normal',\n\t\t'[&_tbody_td]:align-middle',\n\t\t'[&_tbody_th]:text-[9.83px]',\n\t\t'[&_tbody_th]:leading-normal',\n\t\t'[&_tbody_th]:tracking-normal',\n\t\t'[&_tbody_th]:font-body',\n\t\t'[&_tbody_th]:font-normal',\n\t\t'[&_tbody_th]:align-middle',\n\t],\n};\n\nconst TABLE_FOOTER_TYPOGRAPHY_CLASS_BY_PRESET: Record<TableTablePreset, string[]> = {\n\t'6': [\n\t\t'[&_tfoot_td]:text-[15.75px]',\n\t\t'[&_tfoot_td]:leading-normal',\n\t\t'[&_tfoot_td]:tracking-normal',\n\t\t'[&_tfoot_td]:font-body',\n\t\t'[&_tfoot_td]:font-normal',\n\t\t'[&_tfoot_td]:align-middle',\n\t\t'[&_tfoot_th]:text-[15.75px]',\n\t\t'[&_tfoot_th]:leading-normal',\n\t\t'[&_tfoot_th]:tracking-normal',\n\t\t'[&_tfoot_th]:font-body',\n\t\t'[&_tfoot_th]:font-normal',\n\t\t'[&_tfoot_th]:align-middle',\n\t],\n\t'7': [\n\t\t'[&_tfoot_td]:text-[14px]',\n\t\t'[&_tfoot_td]:leading-normal',\n\t\t'[&_tfoot_td]:tracking-tight',\n\t\t'[&_tfoot_td]:font-body',\n\t\t'[&_tfoot_td]:font-normal',\n\t\t'[&_tfoot_td]:align-middle',\n\t\t'[&_tfoot_th]:text-[14px]',\n\t\t'[&_tfoot_th]:leading-normal',\n\t\t'[&_tfoot_th]:tracking-tight',\n\t\t'[&_tfoot_th]:font-body',\n\t\t'[&_tfoot_th]:font-normal',\n\t\t'[&_tfoot_th]:align-middle',\n\t],\n\t'8': [\n\t\t'[&_tfoot_td]:text-[12.44px]',\n\t\t'[&_tfoot_td]:leading-normal',\n\t\t'[&_tfoot_td]:tracking-tight',\n\t\t'[&_tfoot_td]:font-body',\n\t\t'[&_tfoot_td]:font-normal',\n\t\t'[&_tfoot_td]:align-middle',\n\t\t'[&_tfoot_th]:text-[12.44px]',\n\t\t'[&_tfoot_th]:leading-normal',\n\t\t'[&_tfoot_th]:tracking-tight',\n\t\t'[&_tfoot_th]:font-body',\n\t\t'[&_tfoot_th]:font-normal',\n\t\t'[&_tfoot_th]:align-middle',\n\t],\n\t'9': [\n\t\t'[&_tfoot_td]:text-[11.06px]',\n\t\t'[&_tfoot_td]:leading-normal',\n\t\t'[&_tfoot_td]:tracking-tight',\n\t\t'[&_tfoot_td]:font-body',\n\t\t'[&_tfoot_td]:font-normal',\n\t\t'[&_tfoot_td]:align-middle',\n\t\t'[&_tfoot_th]:text-[11.06px]',\n\t\t'[&_tfoot_th]:leading-normal',\n\t\t'[&_tfoot_th]:tracking-tight',\n\t\t'[&_tfoot_th]:font-body',\n\t\t'[&_tfoot_th]:font-normal',\n\t\t'[&_tfoot_th]:align-middle',\n\t],\n\t'10': [\n\t\t'[&_tfoot_td]:text-[9.83px]',\n\t\t'[&_tfoot_td]:leading-normal',\n\t\t'[&_tfoot_td]:tracking-normal',\n\t\t'[&_tfoot_td]:font-body',\n\t\t'[&_tfoot_td]:font-normal',\n\t\t'[&_tfoot_td]:align-middle',\n\t\t'[&_tfoot_th]:text-[9.83px]',\n\t\t'[&_tfoot_th]:leading-normal',\n\t\t'[&_tfoot_th]:tracking-normal',\n\t\t'[&_tfoot_th]:font-body',\n\t\t'[&_tfoot_th]:font-normal',\n\t\t'[&_tfoot_th]:align-middle',\n\t],\n};\n\nconst TABLE_SIZE_TOKENS: Record<TableResolvedSize, TableSizeTokens> = {\n\txs: {\n\t\theaderPreset: '9',\n\t\tbodyPreset: '9',\n\t\tfooterPreset: '10',\n\t\tselectSize: 'xs',\n\t\tpaginatorSize: 'xs',\n\t\tcheckboxSize: 'xs',\n\t\tactionSize: 'xs',\n\t\tsortableButtonSize: 'xs',\n\t\tsortableIconSize: 'xs',\n\t},\n\tsm: {\n\t\theaderPreset: '8',\n\t\tbodyPreset: '8',\n\t\tfooterPreset: '9',\n\t\tselectSize: 'sm',\n\t\tpaginatorSize: 'sm',\n\t\tcheckboxSize: 'sm',\n\t\tactionSize: 'xs',\n\t\tsortableButtonSize: 'xs',\n\t\tsortableIconSize: 'xs',\n\t},\n\tmd: {\n\t\theaderPreset: '7',\n\t\tbodyPreset: '7',\n\t\tfooterPreset: '8',\n\t\tselectSize: 'sm',\n\t\tpaginatorSize: 'sm',\n\t\tcheckboxSize: 'md',\n\t\tactionSize: 'sm',\n\t\tsortableButtonSize: 'sm',\n\t\tsortableIconSize: 'sm',\n\t},\n\tlg: {\n\t\theaderPreset: '7',\n\t\tbodyPreset: '7',\n\t\tfooterPreset: '8',\n\t\tselectSize: 'md',\n\t\tpaginatorSize: 'md',\n\t\tcheckboxSize: 'lg',\n\t\tactionSize: 'md',\n\t\tsortableButtonSize: 'md',\n\t\tsortableIconSize: 'sm',\n\t},\n\txl: {\n\t\theaderPreset: '6',\n\t\tbodyPreset: '6',\n\t\tfooterPreset: '7',\n\t\tselectSize: 'lg',\n\t\tpaginatorSize: 'lg',\n\t\tcheckboxSize: 'lg',\n\t\tactionSize: 'lg',\n\t\tsortableButtonSize: 'lg',\n\t\tsortableIconSize: 'md',\n\t},\n};\n\nconst TABLE_FOOTER_LAYOUT_BY_SIZE: Record<TableResolvedSize, TableFooterLayoutTokens> = {\n\txs: {\n\t\twrapper: ['gap-2', 'pb-1'],\n\t\tdivider: ['px-3'],\n\t\tcontent: ['gap-2', 'px-3', '@2xl:gap-2'],\n\t},\n\tsm: {\n\t\twrapper: ['gap-3', 'pb-2'],\n\t\tdivider: ['px-3'],\n\t\tcontent: ['gap-2', 'px-3', '@2xl:gap-2'],\n\t},\n\tmd: {\n\t\twrapper: ['gap-4', 'pb-3'],\n\t\tdivider: ['px-4'],\n\t\tcontent: ['gap-4', 'px-4', '@2xl:gap-2'],\n\t},\n\tlg: {\n\t\twrapper: ['gap-4', 'pb-3'],\n\t\tdivider: ['px-4'],\n\t\tcontent: ['gap-4', 'px-4', '@2xl:gap-2'],\n\t},\n\txl: {\n\t\twrapper: ['gap-4', 'pb-3'],\n\t\tdivider: ['px-4'],\n\t\tcontent: ['gap-4', 'px-4', '@2xl:gap-2'],\n\t},\n};\n\nexport function resolveTableSize(size: TableContentSizeProps): TableResolvedSize {\n\tswitch (size) {\n\t\tcase 'xs':\n\t\tcase 'sm':\n\t\tcase 'md':\n\t\tcase 'lg':\n\t\tcase 'xl':\n\t\t\treturn size;\n\t\tdefault:\n\t\t\treturn 'sm';\n\t}\n}\n\nexport function getTableSizeTokens(size: TableContentSizeProps): TableSizeTokens {\n\treturn TABLE_SIZE_TOKENS[resolveTableSize(size)];\n}\n\nexport function getTableFooterLayoutTokens(size: TableContentSizeProps): TableFooterLayoutTokens {\n\treturn TABLE_FOOTER_LAYOUT_BY_SIZE[resolveTableSize(size)];\n}\n\nexport function getTableHierarchyTypographyClasses(size: TableResolvedSize): string[] {\n\tconst tokens = TABLE_SIZE_TOKENS[size];\n\tconst headerPreset = tokens.headerPreset as TableTablePreset;\n\tconst bodyPreset = tokens.bodyPreset as TableTablePreset;\n\tconst footerPreset = tokens.footerPreset as TableTablePreset;\n\n\treturn [\n\t\t...TABLE_HEADER_TYPOGRAPHY_CLASS_BY_PRESET[headerPreset],\n\t\t...TABLE_BODY_TYPOGRAPHY_CLASS_BY_PRESET[bodyPreset],\n\t\t...TABLE_FOOTER_TYPOGRAPHY_CLASS_BY_PRESET[footerPreset],\n\t\t'[&_thead_th]:align-middle',\n\t];\n}\n\n/** Type definition for pagination display variants */\n/**\n * @internal\n * Generates base table classes with size variants\n */\nexport const tableContent = cva(\n\t[\n\t\t'table',\n\t\t'relative',\n\t\t'border-separate',\n\t\t'border-spacing-0',\n\t\t'text-pretty',\n\t\t'[&_th]:bg-base-300 [&_th]:text-base-content',\n\t\t'[&_th]:px-4',\n\t\t'[&_td]:px-4',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: ['table-xs', ...getTableHierarchyTypographyClasses('xs')],\n\t\t\t\tsm: ['table-sm', ...getTableHierarchyTypographyClasses('sm')],\n\t\t\t\tmd: ['table-md', ...getTableHierarchyTypographyClasses('md')],\n\t\t\t\tlg: ['table-lg', ...getTableHierarchyTypographyClasses('lg')],\n\t\t\t\txl: ['table-xl', ...getTableHierarchyTypographyClasses('xl')],\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [],\n\t\tdefaultVariants: {\n\t\t\tsize: 'sm',\n\t\t},\n\t},\n);\n\n/** Possible table size variants */\nexport type TableContentSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\n\n/**\n * @internal\n * Generates table container classes with height variants\n */\nexport const tableContainer = cva(['rounded-t-box', 'overflow-y-clip'], {\n\tvariants: {\n\t\tcontainerHeight: {\n\t\t\tauto: ['h-auto'],\n\t\t\tfull: ['h-full'],\n\t\t\tsm: ['h-72 min-h-72 overflow-y-auto overscroll-contain'],\n\t\t\tmd: ['h-80 min-h-80 overflow-y-auto overscroll-contain'],\n\t\t\tlg: ['h-lg min-h-96 overflow-y-auto overscroll-contain'],\n\t\t\txl: ['h-[36rem] min-h-[36rem] overflow-y-auto overscroll-contain'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tcontainerHeight: 'auto',\n\t},\n});\n\n/** Possible table container height values */\nexport type TableContainerHeightProps = 'auto' | 'full' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\n\n/** Configuration object for table styling variants */\nexport type TableVariantProps = {\n\tsize?: TableContentSizeProps;\n\tcontainerHeight?: TableContainerHeightProps;\n};\n\n/**\n * @internal\n * Combines table content and container classes\n */\nexport const tableComponent = ({ size, containerHeight }: TableVariantProps = {}) => cn(tableContent({ size }), tableContainer({ containerHeight }));\n\n/** Pagination configuration structure */\nexport interface TablePagination extends Pagination {\n\tid: string;\n\tsearch: string;\n}\n\n/**\n * A feature-rich data table component with sorting, pagination, and row selection\n *\n * @remarks\n * Integrates with Tailwind CSS for styling and supports responsive layouts.\n * Includes built-in pagination controls and checkbox selection functionality.\n *\n * @example\n * ```html\n * <st-table\n * [data]=\"users\"\n * [totalItems]=\"100\"\n * [pagination]=\"{ currentPage: 1, itemsPerPage: 10 }\"\n * (pageChanged)=\"handlePageChange($event)\"\n * size=\"md\"\n * height=\"lg\"\n * zebra\n * >\n * <!-- Table columns and content -->\n * </st-table>\n * ```\n */\n@Component({\n\tselector: 'st-table',\n\timports: [CommonModule, PaginatorComponent, TextDirective, SelectComponent, IconComponent, TranslatePipe],\n\ttemplateUrl: './table.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableComponent {\n\treadonly translationService = inject(TranslateService);\n\n\t/**\n\t * Table size variant\n\t * @defaultValue 'sm'\n\t */\n\tsize = input<TableContentSizeProps>();\n\n\t/**\n\t * Table container height preset\n\t * @defaultValue 'auto'\n\t */\n\theight = input<TableContainerHeightProps>('auto');\n\n\t/**\n\t * Enable sticky header row\n\t * @defaultValue false\n\t */\n\tpinRows = input<boolean>(false);\n\n\t/**\n\t * Enable sticky first column\n\t * @defaultValue false\n\t */\n\tpinColumns = input<boolean>(false);\n\n\t/**\n\t * Apply zebra-striping to rows\n\t * @defaultValue false\n\t */\n\tzebra = input<boolean>(false);\n\n\t/**\n\t * Show row dividers (borders) between rows\n\t * @defaultValue false\n\t */\n\tbordered = input<boolean>(false);\n\n\t/**\n\t * Pagination control display variant\n\t * @defaultValue 'default'\n\t */\n\tpaginatorType = input<PaginationType>('default');\n\n\t/**\n\t * Empty state icon for no data state\n\t * @defaultValue heroDocumentText\n\t */\n\tnoDataIcon = input<string>(heroDocumentText);\n\n\t/**\n\t * Empty state icon for no results state\n\t * @defaultValue heroMagnifyingGlass\n\t */\n\tnoResultsIcon = input<string>(heroMagnifyingGlass);\n\n\t/**\n\t * Array of data items to display\n\t * @defaultValue []\n\t */\n\tdata = input<unknown[]>([]);\n\n\t/**\n\t * Total number of items across all pages\n\t * @defaultValue 0\n\t */\n\ttotalItems = input<number>(0);\n\n\t/**\n\t * Pagination configuration\n\t * @defaultValue { id: 'paginator', currentPage: 1, itemsPerPage: 10, search: '' }\n\t */\n\tpagination = input<TablePagination>({\n\t\tid: 'paginator',\n\t\tcurrentPage: 1,\n\t\titemsPerPage: 10,\n\t\tsearch: '',\n\t});\n\n\t/**\n\t * Maximum number of pagination buttons to display\n\t * @defaultValue 4\n\t */\n\tmaxSize = input<number>(4);\n\n\t/** Event emitted when page changes */\n\tpageChanged = output<number>();\n\n\t/** Event emitted when page size changes */\n\tpageSizeChanged = output<number>();\n\n\treadonly ENTRIES = [5, 10, 20, 50, 100] as const;\n\n\treadonly entriesPerPageOptions = computed(() => {\n\t\treturn this.ENTRIES.map((n) => {\n\t\t\tconst translatedText = this.translationService.instant('sdk.table.perPage', { count: n });\n\t\t\tconst fallbackText = `${n} / page`;\n\t\t\treturn {\n\t\t\t\tvalue: n,\n\t\t\t\ttext: translatedText && translatedText !== 'sdk.table.perPage' ? translatedText : fallbackText,\n\t\t\t};\n\t\t});\n\t});\n\n\t/**\n\t * Show items per page selector\n\t * @defaultValue true\n\t */\n\tshowItemsPerPage = input<boolean>(true);\n\n\t/**\n\t * Show entries count display\n\t * @defaultValue true\n\t */\n\tshowEntries = input<boolean>(true);\n\n\t/**\n\t * Show pagination controls\n\t * @defaultValue true\n\t */\n\tshowPagination = input<boolean>(true);\n\n\t/**\n\t * Show footer with additional information\n\t * @defaultValue true\n\t */\n\tshowFooter = input<boolean>(true);\n\n\t/**\n\t * Function to determine if any filters are currently active\n\t * This allows the parent component to define what constitutes an \"active filter\"\n\t */\n\thasActiveFiltersCallback = input<(() => boolean) | undefined>();\n\t/**\n\t * Controls whether table headers should overflow with horizontal scrolling (true)\n\t * or wrap text normally (false)\n\t * @defaultValue false\n\t */\n\tallowHeaderOverflow = input<boolean>(false);\n\n\t/**\n\t * Computed total number of pages for the internal paginator.\n\t * Calculated from totalItems and itemsPerPage.\n\t */\n\treadonly totalPages = computed(() => {\n\t\tconst itemsPerPage = this.pagination().itemsPerPage || 1;\n\t\tconst totalItems = this.totalItems();\n\t\treturn Math.ceil(totalItems / itemsPerPage);\n\t});\n\n\t/**\n\t * Computed boolean indicating if any filters are currently active\n\t */\n\treadonly hasActiveFilters = computed(() => {\n\t\tconst callback = this.hasActiveFiltersCallback();\n\t\tif (callback) {\n\t\t\treturn callback();\n\t\t}\n\t\tconst pagination = this.pagination();\n\t\treturn !!pagination.search?.trim();\n\t});\n\n\t/**\n\t * Computed boolean indicating if we should show \"no results\" vs \"no data\"\n\t */\n\treadonly hasNoResults = computed(() => {\n\t\tconst hasItems = this.totalItems() > 0 || this.data().length > 0;\n\t\treturn !hasItems && this.hasActiveFilters();\n\t});\n\n\t/**\n\t * Computed boolean indicating if we should show \"no data\" state\n\t */\n\treadonly hasNoData = computed(() => {\n\t\tconst hasItems = this.totalItems() > 0 || this.data().length > 0;\n\t\treturn !hasItems && !this.hasActiveFilters();\n\t});\n\n\t/**\n\t * Computed display range for current page entries\n\t * @example \"1-10\" of 100 entries\n\t */\n\tpaginationRange = computed(() => {\n\t\tconst start = this.pagination().currentPage * this.pagination().itemsPerPage - this.pagination().itemsPerPage + 1;\n\t\tconst end = Math.min(this.pagination().currentPage * this.pagination().itemsPerPage, this.totalItems());\n\t\treturn `${start}-${end}`;\n\t});\n\n\t/**\n\t * Handles page navigation events\n\t * @param page - New page number\n\t */\n\thandlePageChange(page: number) {\n\t\tthis.handleToggleAll(false);\n\t\tthis.pageChanged.emit(page);\n\t}\n\n\t/**\n\t * Handles page size changes\n\t * @param size - New items per page value\n\t */\n\thandlePageSizeChange(size: unknown) {\n\t\tthis.handleToggleAll(false);\n\t\tlet resolved: number | undefined;\n\t\tif (typeof size === 'number') {\n\t\t\tresolved = size;\n\t\t} else if (size && typeof size === 'object' && 'value' in (size as Record<string, unknown>)) {\n\t\t\tconst v = (size as Record<string, unknown>)['value'];\n\t\t\tconst safeStringify = (x: unknown) => (['string', 'number', 'boolean'].includes(typeof x) ? String(x) : '0');\n\t\t\tresolved = typeof v === 'number' ? v : Number(safeStringify(v));\n\t\t} else {\n\t\t\tconst safeStringify = (x: unknown) => (['string', 'number', 'boolean'].includes(typeof x) ? String(x) : '0');\n\t\t\tresolved = Number(safeStringify(size)) || undefined;\n\t\t}\n\t\tconst pageSize = Number(resolved || 1);\n\t\tthis.pageSizeChanged.emit(pageSize);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes table element classes based on current configuration\n\t */\n\ttableClass = computed(() =>\n\t\tcn(\n\t\t\ttableContent({\n\t\t\t\tsize: this.size(),\n\t\t\t}),\n\t\t\t{\n\t\t\t\t'table-pin-rows': this.pinRows(),\n\t\t\t\t'table-pin-cols': this.pinColumns(),\n\t\t\t\t'table-zebra': this.zebra(),\n\t\t\t\t'table-bordered': this.bordered(),\n\t\t\t},\n\t\t),\n\t);\n\n\t/**\n\t * @internal\n\t * Computes table container classes based on height input\n\t */\n\ttableContainerClass = computed(() =>\n\t\tcn(\n\t\t\ttableContainer({\n\t\t\t\tcontainerHeight: this.height(),\n\t\t\t}),\n\t\t\t{ 'overflow-x-auto': this.allowHeaderOverflow(), '[&_thead]:whitespace-normal': !this.allowHeaderOverflow() },\n\t\t\t'w-full flex-grow',\n\t\t),\n\t);\n\n\t/**\n\t * @internal\n\t * Computes outer container classes based on size\n\t */\n\tcontainerClass = computed(() =>\n\t\tcn('rounded-box border-neutral @container flex min-w-0 flex-col gap-3 overflow-x-auto border border-solid', {\n\t\t\t'gap-3 pb-3': this.size() === 'xs' || this.size() === 'sm' || this.size() === 'md',\n\t\t\t'gap-4 pb-4': this.size() === 'lg',\n\t\t\t'gap-5 pb-5': this.size() === 'xl',\n\t\t}),\n\t);\n\n\treadonly sizeTokens = computed(() => getTableSizeTokens(this.size()));\n\n\treadonly footerLayoutTokens = computed(() => getTableFooterLayoutTokens(this.size()));\n\n\t/**\n\t * @internal\n\t * Computes typography variant for paginator text based on table size\n\t */\n\tpaginatorTextSize = computed<TextPreset>(() => {\n\t\treturn this.size() === 'sm' ? '8' : this.sizeTokens().footerPreset;\n\t});\n\n\tfooterSelectSize = computed<SelectSizeProps>(() => this.sizeTokens().selectSize);\n\n\tfooterPaginatorSize = computed<PaginatorSizeProps>(() => this.sizeTokens().paginatorSize);\n\n\tfooterWrapperClass = computed(() => cn('@container flex w-full flex-col overflow-x-auto', this.footerLayoutTokens().wrapper));\n\n\tfooterDividerClass = computed(() =>\n\t\tcn('divider divider-neutral my-0 h-[0.0625rem] before:h-[0.0625rem] after:h-[0.0625rem]', this.footerLayoutTokens().divider),\n\t);\n\n\tfooterContentClass = computed(() =>\n\t\tcn(\n\t\t\t'flex flex-col items-center @2xl:flex-row @2xl:justify-between @4xl:grid @4xl:grid-cols-[auto_1fr_auto] @4xl:items-center',\n\t\t\tthis.footerLayoutTokens().content,\n\t\t),\n\t);\n\n\t/** @internal Reference to header checkbox component */\n\theader = contentChild(TableHeaderCheckboxComponent, { descendants: true });\n\n\t/** @internal List of row checkbox components */\n\trows = contentChildren(TableRowCheckboxComponent, { descendants: true });\n\n\t/** @internal Track selected row identifiers */\n\tidentifiers = signal<Set<unknown>>(new Set());\n\n\t/** Event emitted with array of selected item identifiers */\n\tcheckedItems = output<unknown[]>();\n\n\t/** @internal Sync checkbox state with output */\n\tcheckEffect = effect(() => {\n\t\tthis.checkedItems.emit(Array.from(this.identifiers()));\n\t});\n\n\t/**\n\t * Toggle all row checkboxes\n\t * @param value - Whether to check or uncheck all rows\n\t */\n\thandleToggleAll(value: boolean) {\n\t\tif (!value) {\n\t\t\tthis.clearList();\n\t\t}\n\n\t\tthis.rows().forEach((row) => {\n\t\t\trow.checked.set(value);\n\t\t\tif (value) {\n\t\t\t\tthis.identifiers.update((items) => new Set(items).add(row.identifier()));\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * Handle individual checkbox toggle\n\t * @param value - Checkbox state\n\t * @param identifier - Unique row identifier\n\t */\n\thandleToggleCheckbox(value: boolean, identifier: unknown) {\n\t\tif (value) {\n\t\t\tthis.identifiers.update((items) => new Set(items).add(identifier));\n\t\t} else {\n\t\t\tthis.header()?.checked.set(false);\n\t\t\tthis.identifiers.update((items) => {\n\t\t\t\titems.delete(identifier);\n\t\t\t\treturn new Set(items);\n\t\t\t});\n\t\t}\n\t}\n\n\t/** @internal Clear all selections */\n\tprivate clearList() {\n\t\tthis.identifiers.set(new Set());\n\t\tthis.header()?.checked.set(false);\n\t}\n}\n","@let total = totalItems();\n@let containerClassVar = containerClass();\n@let tableContainerClassVar = tableContainerClass();\n@let tableClassVar = tableClass();\n@let paginatorTextSizeVar = paginatorTextSize();\n@let footerSelectSizeVar = footerSelectSize();\n@let footerPaginatorSizeVar = footerPaginatorSize();\n@let footerWrapperClassVar = footerWrapperClass();\n@let footerDividerClassVar = footerDividerClass();\n@let footerContentClassVar = footerContentClass();\n@let showItemsPerPageVar = showItemsPerPage();\n@let paginationVar = pagination();\n@let showPaginationVar = showPagination();\n@let paginatorTypeVar = paginatorType();\n@let maxSizeVar = maxSize();\n@let showEntriesVar = showEntries();\n@let showFooterVar = showFooter();\n@let totalPagesVar = totalPages();\n\n<div [class]=\"containerClassVar\">\n\t<div [class]=\"tableContainerClassVar\">\n\t\t<div class=\"w-full flex-grow overflow-x-auto\">\n\t\t\t@if (hasNoData()) {\n\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-1.5 py-12 text-center\">\n\t\t\t\t\t<div class=\"text-base-content/40\">\n\t\t\t\t\t\t<st-icon [icon]=\"noDataIcon()\" size=\"lg\" color=\"base-content\" class=\"mx-auto opacity-40\"></st-icon>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-0.5\">\n\t\t\t\t\t\t<h3 stText=\"6\" class=\"text-base-content/60\">{{ 'sdk.table.noData.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content/40\">{{ 'sdk.table.noData.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (hasNoResults()) {\n\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-1.5 py-12 text-center\">\n\t\t\t\t\t<div class=\"text-base-content/40\">\n\t\t\t\t\t\t<st-icon [icon]=\"noResultsIcon()\" size=\"xl\" color=\"base-content\" class=\"mx-auto opacity-40\"></st-icon>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex flex-col items-center justify-center gap-0.5\">\n\t\t\t\t\t\t<h3 stText=\"6\" class=\"text-base-content/60\">{{ 'sdk.table.noResults.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content/40\">{{ 'sdk.table.noResults.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"mt-3\">\n\t\t\t\t\t\t<ng-content select=\"st-table-empty-actions\"></ng-content>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else {\n\t\t\t\t<table [class]=\"tableClassVar\">\n\t\t\t\t\t<ng-content select=\"thead\"></ng-content>\n\t\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t\t\t<ng-content select=\"tfoot\"></ng-content>\n\t\t\t\t</table>\n\t\t\t}\n\t\t</div>\n\t</div>\n\t@if (total > 0) {\n\t\t@if (showFooterVar) {\n\t\t\t<div [class]=\"footerWrapperClassVar\">\n\t\t\t\t<div [class]=\"footerDividerClassVar\"></div>\n\t\t\t\t<div [class]=\"footerContentClassVar\">\n\t\t\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t\t\t@if (showEntriesVar) {\n\t\t\t\t\t\t\t@if (!showItemsPerPageVar && !showPaginationVar) {\n\t\t\t\t\t\t\t\t<span [stText]=\"paginatorTextSizeVar\">\n\t\t\t\t\t\t\t\t\t{{ 'sdk.table.totalEntries' | translate: { total: total } }}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<span [stText]=\"paginatorTextSizeVar\">\n\t\t\t\t\t\t\t\t\t{{ 'sdk.table.entriesRange' | translate: { range: paginationRange(), total: total } }}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex justify-center\">\n\t\t\t\t\t\t@if (showPaginationVar) {\n\t\t\t\t\t\t\t@if (paginatorTypeVar === 'default') {\n\t\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t\t[paginatorId]=\"paginationVar.id\"\n\t\t\t\t\t\t\t\t\t[pages]=\"totalPagesVar\"\n\t\t\t\t\t\t\t\t\t[currentPage]=\"paginationVar.currentPage\"\n\t\t\t\t\t\t\t\t\t[size]=\"footerPaginatorSizeVar\"\n\t\t\t\t\t\t\t\t\t[maxSize]=\"maxSizeVar\"\n\t\t\t\t\t\t\t\t\t(pageChanged)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t\t} @else if (paginatorTypeVar === 'dots') {\n\t\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t\t[paginatorId]=\"paginationVar.id\"\n\t\t\t\t\t\t\t\t\t[pages]=\"totalPagesVar\"\n\t\t\t\t\t\t\t\t\t[currentPage]=\"paginationVar.currentPage\"\n\t\t\t\t\t\t\t\t\t[size]=\"footerPaginatorSizeVar\"\n\t\t\t\t\t\t\t\t\t(pageChanged)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t\t\ttype=\"dots\"\n\t\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t\t\t@if (showItemsPerPageVar) {\n\t\t\t\t\t\t\t<span class=\"sr-only\">{{ 'sdk.table.entriesByPage' | translate }}</span>\n\t\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t\t[options]=\"entriesPerPageOptions()\"\n\t\t\t\t\t\t\t\t[value]=\"paginationVar.itemsPerPage\"\n\t\t\t\t\t\t\t\tvalueKey=\"value\"\n\t\t\t\t\t\t\t\tdisplayKey=\"text\"\n\t\t\t\t\t\t\t\t[size]=\"footerSelectSizeVar\"\n\t\t\t\t\t\t\t\t(valueUpdated)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t[allowClear]=\"false\"\n\t\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t}\n</div>\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { ButtonComponent, ButtonSizeProps, ButtonVariantProps } from '@sixbell-telco/sdk/components/button';\nimport { TooltipComponent } from '@sixbell-telco/sdk/components/tooltip';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\nexport type ModalActionsAligmentProps = 'left' | 'right' | 'center';\n\n/**\n * Component to render a table action, typically a button with optional tooltip.\n *\n * @remarks\n * This component encapsulates a button within a table, allowing for consistent styling\n * and easy integration with tooltips.\n *\n * @example\n * ```html\n * <st-table-action tooltip=\"Delete\" icon=\"delete\" (clicked)=\"removeRow()\">\n * Delete\n * </st-table-action>\n * ```\n */\n@Component({\n\tselector: 'st-table-action',\n\timports: [CommonModule, TooltipComponent, ButtonComponent, TranslatePipe, TextDirective],\n\ttemplateUrl: './table-action.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableActionComponent {\n\t/**\n\t * Button style variant.\n\t * @defaultValue 'base'\n\t */\n\tvariant = input<ButtonVariantProps>('base');\n\t/**\n\t * Tooltip text (optional).\n\t */\n\ttooltip = input<string | undefined>();\n\t/**\n\t * Icon name (optional).\n\t */\n\ticon = input<string | undefined>();\n\t/**\n\t * Button size.\n\t * @defaultValue 'md'\n\t */\n\tsize = input<ButtonSizeProps>('md');\n\t/**\n\t * Disabled state forwarded to the inner button.\n\t * @defaultValue false\n\t */\n\tdisabled = input<boolean>(false);\n\t/**\n\t * Stop event propagation for activation events.\n\t * @defaultValue false\n\t */\n\tstopPropagation = input<boolean>(false);\n\t/**\n\t * Event emitted on click of the inner button.\n\t */\n\tclicked = output<MouseEvent>();\n\t/**\n\t * Event emitted on activation (click).\n\t */\n\ttriggered = output<void>();\n\n\t/**\n\t * Computes CSS classes for the table action text size based on the current size setting.\n\t */\n\ttableActionClass = computed(() => {\n\t\treturn cn({\n\t\t\t'text-[9.83px] leading-normal tracking-normal': this.size() === 'xs',\n\t\t\t'text-[11.06px] leading-normal tracking-tight': this.size() === 'sm',\n\t\t\t'text-[12.44px] leading-normal tracking-tight': this.size() === 'md',\n\t\t\t'text-[14px] leading-normal tracking-tight': this.size() === 'lg',\n\t\t\t'text-[15.75px] leading-normal tracking-normal': this.size() === 'xl',\n\t\t});\n\t});\n\n\ttextPreset = computed<TextPreset>(() => {\n\t\tswitch (this.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn '10';\n\t\t\tcase 'sm':\n\t\t\t\treturn '9';\n\t\t\tcase 'md':\n\t\t\t\treturn '8';\n\t\t\tcase 'lg':\n\t\t\t\treturn '7';\n\t\t\tcase 'xl':\n\t\t\t\treturn '6';\n\t\t\tdefault:\n\t\t\t\treturn '8';\n\t\t}\n\t});\n\n\t/**\n\t * @internal\n\t * Forward inner button click as SDK activation outputs.\n\t */\n\tonClicked(event: MouseEvent): void {\n\t\tthis.clicked.emit(event);\n\t\tthis.triggered.emit();\n\t}\n}\n","@let tooltipVar = tooltip();\n@let variantVar = variant();\n@let iconVar = icon();\n@let sizeVar = size();\n@let textPresetVar = textPreset();\n@let disabledVar = disabled();\n@let stopPropagationVar = stopPropagation();\n\n<!-- Define the button template with content projection -->\n<ng-template #buttonTemplate>\n\t<st-button\n\t\t[class]=\"tableActionClass()\"\n\t\t[variant]=\"variantVar\"\n\t\t[icon]=\"iconVar\"\n\t\t[link]=\"true\"\n\t\t[size]=\"sizeVar\"\n\t\t[disabled]=\"disabledVar\"\n\t\t[stopPropagation]=\"stopPropagationVar\"\n\t\t(clicked)=\"onClicked($event)\"\n\t>\n\t\t<span [stText]=\"textPresetVar\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t</st-button>\n</ng-template>\n\n<!-- Conditional rendering -->\n@if (tooltipVar) {\n\t<st-tooltip variant=\"secondary\" [label]=\"tooltipVar | translate\" position=\"top\">\n\t\t<ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\n\t</st-tooltip>\n} @else {\n\t<ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { ButtonComponent } from '@sixbell-telco/sdk/components/button';\nimport {\n\tDropdownMenuComponent,\n\tDropdownMenuContentComponent,\n\tDropdownMenuItemComponent,\n\tDropdownMenuTriggerComponent,\n} from '@sixbell-telco/sdk/components/dropdown-menu';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matMoreVert } from '@sixbell-telco/sdk/components/icon/material/baseline';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { TableActionComponent } from '../table-action/table-action.component';\nimport { TableActionConfig, TableActionsMode, TableActionsSizeProps } from './table-actions.types';\n\n/**\n * Component to render a container for table actions.\n *\n * @remarks\n * Supports three modes of operation:\n * 1. **ng-content (backward compatible)**: When no `actions` input is provided, renders projected content.\n * 2. **Inline mode**: When `actions` is provided and `mode` is `'inline'`, renders action buttons in a row.\n * 3. **Dropdown mode**: When `actions` is provided and `mode` is `'dropdown'`, renders a kebab menu.\n *\n * @example\n * ```html\n * <!-- ng-content mode (backward compatible) -->\n * <st-table-actions>\n * <st-table-action [icon]=\"editIcon\" tooltip=\"Edit\" />\n * </st-table-actions>\n *\n * <!-- Data-driven inline mode -->\n * <st-table-actions [actions]=\"myActions\" (actionTriggered)=\"onAction($event)\" />\n *\n * <!-- Data-driven dropdown mode -->\n * <st-table-actions [actions]=\"myActions\" mode=\"dropdown\" (actionTriggered)=\"onAction($event)\" />\n * ```\n */\n@Component({\n\tselector: 'st-table-actions',\n\timports: [\n\t\tCommonModule,\n\t\tTranslatePipe,\n\t\tTableActionComponent,\n\t\tButtonComponent,\n\t\tIconComponent,\n\t\tDropdownMenuComponent,\n\t\tDropdownMenuTriggerComponent,\n\t\tDropdownMenuContentComponent,\n\t\tDropdownMenuItemComponent,\n\t],\n\ttemplateUrl: './table-actions.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableActionsComponent {\n\t/**\n\t * Array of action configurations. When provided, renders actions data-driven.\n\t * When empty or not provided, falls back to ng-content projection.\n\t */\n\tactions = input<TableActionConfig[]>([]);\n\n\t/**\n\t * Rendering mode for the actions.\n\t * - `'inline'`: Renders action buttons in a row (default).\n\t * - `'dropdown'`: Renders a kebab menu that opens a dropdown with action items.\n\t * @defaultValue 'inline'\n\t */\n\tmode = input<TableActionsMode>('inline');\n\n\t/**\n\t * Size for action buttons and the dropdown trigger.\n\t * @defaultValue 'md'\n\t */\n\tsize = input<TableActionsSizeProps>('md');\n\n\t/**\n\t * Icon for the dropdown trigger button.\n\t * @defaultValue matMoreVert (Material vertical dots icon)\n\t */\n\ttriggerIcon = input<string>(matMoreVert);\n\n\t/**\n\t * Emitted when a data-driven action is triggered/clicked.\n\t * Emits the full `TableActionConfig` of the triggered action.\n\t */\n\tactionTriggered = output<TableActionConfig>();\n\n\t/**\n\t * @internal\n\t * Computed class string for the table actions container (inline mode and ng-content fallback).\n\t */\n\tcomponentClass = computed(() => cn('inline-flex grow-0 items-center justify-center gap-2 align-top'));\n\n\t/**\n\t * @internal\n\t * Whether the component should use data-driven rendering.\n\t */\n\thasActions = computed(() => (this.actions()?.length ?? 0) > 0);\n\n\t/**\n\t * @internal\n\t * Handle action click for data-driven mode.\n\t */\n\tonActionClick(action: TableActionConfig): void {\n\t\tif (!action.disabled) {\n\t\t\tthis.actionTriggered.emit(action);\n\t\t}\n\t}\n}\n","@if (hasActions()) {\n\t@if (mode() === 'inline') {\n\t\t<div [class]=\"componentClass()\">\n\t\t\t@for (action of actions(); track action.id) {\n\t\t\t\t<st-table-action\n\t\t\t\t\t[variant]=\"action.variant ?? 'primary'\"\n\t\t\t\t\t[icon]=\"action.icon\"\n\t\t\t\t\t[tooltip]=\"action.tooltip\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\t[disabled]=\"action.disabled ?? false\"\n\t\t\t\t\t(clicked)=\"onActionClick(action)\"\n\t\t\t\t/>\n\t\t\t}\n\t\t</div>\n\t} @else {\n\t\t<st-dropdown-menu>\n\t\t\t<st-dropdown-menu-trigger [menuTriggerFor]=\"content.template\">\n\t\t\t\t<st-button [icon]=\"triggerIcon()\" [ghost]=\"true\" [size]=\"size()\" variant=\"base\" />\n\t\t\t</st-dropdown-menu-trigger>\n\t\t\t<st-dropdown-menu-content #content [size]=\"size()\">\n\t\t\t\t@for (action of actions(); track action.id) {\n\t\t\t\t\t<st-dropdown-menu-item [disabled]=\"action.disabled ?? false\" (triggered)=\"onActionClick(action)\">\n\t\t\t\t\t\t<span class=\"flex items-center gap-2\">\n\t\t\t\t\t\t\t@if (action.icon) {\n\t\t\t\t\t\t\t\t<st-icon [icon]=\"action.icon\" size=\"auto\" />\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t@if (action.label) {\n\t\t\t\t\t\t\t\t{{ action.label | translate }}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</st-dropdown-menu-item>\n\t\t\t\t}\n\t\t\t</st-dropdown-menu-content>\n\t\t</st-dropdown-menu>\n\t}\n} @else {\n\t<div [class]=\"componentClass()\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-table-empty-actions',\n\tstandalone: true,\n\timports: [CommonModule],\n\ttemplateUrl: './table-empty-actions.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableEmptyActionsComponent {}\n","<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["TranslatePipe"],"mappings":";;;;;;;;;;;;;;;;;;;AAIA;;;;;;;;;;;;;;AAcG;MAQU,4BAA4B,CAAA;AACxC;;;;AAIG;AACH,IAAA,eAAe,GAAG,KAAK,CAAuB,SAAS,CAAC;AAExD;;;;AAIG;AACH,IAAA,OAAO,GAAG,MAAM,CAAU,KAAK,CAAC;AAEhC;;;;AAIG;IACM,KAAK,GAAG,MAAM,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAE9C,IAAA,YAAY,GAAG,QAAQ,CAAC,MAAK;AACrC,QAAA,QAAQ,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE;AACxB,YAAA,KAAK,IAAI;AACR,gBAAA,OAAO,IAAI;AACZ,YAAA,KAAK,IAAI;AACR,gBAAA,OAAO,IAAI;AACZ,YAAA,KAAK,IAAI;AACR,gBAAA,OAAO,IAAI;AACZ,YAAA,KAAK,IAAI;AACR,gBAAA,OAAO,IAAI;AACZ,YAAA,KAAK,IAAI;AACR,gBAAA,OAAO,IAAI;AACZ,YAAA;AACC,gBAAA,OAAO,IAAI;;AAEd,IAAA,CAAC,CAAC;AAEF;;;;;;AAMG;AACH,IAAA,eAAe,CAAC,KAAc,EAAA;AAC7B,QAAA,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC;IAClC;wGAhDY,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CA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