@sixbell-telco/sdk 3.0.0 → 3.1.1

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 (121) hide show
  1. package/CHANGELOG.md +57 -16
  2. package/README.md +2 -2
  3. package/_index.css +24 -0
  4. package/components/card/card-section-body/card-section-body.component.d.ts +9 -1
  5. package/components/data-table/src/data-table.component.d.ts +6 -1
  6. package/components/table/src/table.component.d.ts +6 -1
  7. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +6 -6
  8. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
  9. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +21 -21
  10. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
  11. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +3 -3
  12. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  13. package/fesm2022/sixbell-telco-sdk-components-badge.mjs +3 -3
  14. package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
  15. package/fesm2022/sixbell-telco-sdk-components-button.mjs +3 -3
  16. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  17. package/fesm2022/sixbell-telco-sdk-components-card.mjs +59 -45
  18. package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
  19. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +4 -4
  20. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
  21. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs +3 -3
  22. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs.map +1 -1
  23. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +39 -33
  24. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
  25. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +16 -16
  26. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
  27. package/fesm2022/sixbell-telco-sdk-components-divider.mjs +3 -3
  28. package/fesm2022/sixbell-telco-sdk-components-divider.mjs.map +1 -1
  29. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +29 -29
  30. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
  31. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs +3 -3
  32. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs.map +1 -1
  33. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +45 -45
  34. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
  35. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +30 -30
  36. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  37. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +3 -3
  38. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  39. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +6 -6
  40. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
  41. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +3 -3
  42. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
  43. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +3 -3
  44. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  45. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +3 -3
  46. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
  47. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +3 -3
  48. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
  49. package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs +3 -3
  50. package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs.map +1 -1
  51. package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs +3 -3
  52. package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs.map +1 -1
  53. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +6 -6
  54. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  55. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +3 -3
  56. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
  57. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +3 -3
  58. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
  59. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +3 -3
  60. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  61. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +3 -3
  62. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
  63. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +3 -3
  64. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  65. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +3 -3
  66. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
  67. package/fesm2022/sixbell-telco-sdk-components-icon.mjs +3 -3
  68. package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
  69. package/fesm2022/sixbell-telco-sdk-components-link.mjs +3 -3
  70. package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
  71. package/fesm2022/sixbell-telco-sdk-components-notification.mjs +3 -3
  72. package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
  73. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs +9 -9
  74. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -1
  75. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +9 -9
  76. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  77. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +12 -12
  78. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
  79. package/fesm2022/sixbell-telco-sdk-components-progress.mjs +3 -3
  80. package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
  81. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs +8 -8
  82. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs.map +1 -1
  83. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs +8 -8
  84. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs.map +1 -1
  85. package/fesm2022/sixbell-telco-sdk-components-tab.mjs +9 -9
  86. package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
  87. package/fesm2022/sixbell-telco-sdk-components-table.mjs +24 -18
  88. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  89. package/fesm2022/sixbell-telco-sdk-components-text.mjs +3 -3
  90. package/fesm2022/sixbell-telco-sdk-components-text.mjs.map +1 -1
  91. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +6 -6
  92. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
  93. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +27 -27
  94. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
  95. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +3 -3
  96. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -1
  97. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +3 -3
  98. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -1
  99. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +3 -3
  100. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
  101. package/fesm2022/sixbell-telco-sdk-directives-text.mjs +3 -3
  102. package/fesm2022/sixbell-telco-sdk-directives-text.mjs.map +1 -1
  103. package/fesm2022/sixbell-telco-sdk-utils-cn.mjs.map +1 -1
  104. package/fesm2022/sixbell-telco-sdk-utils-date.mjs.map +1 -1
  105. package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs +15 -15
  106. package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs.map +1 -1
  107. package/fesm2022/sixbell-telco-sdk-utils-logger.mjs +3 -3
  108. package/fesm2022/sixbell-telco-sdk-utils-logger.mjs.map +1 -1
  109. package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs +3 -3
  110. package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs.map +1 -1
  111. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs +3 -3
  112. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs.map +1 -1
  113. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs +3 -3
  114. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs.map +1 -1
  115. package/fesm2022/sixbell-telco-sdk-utils-runtime-config.mjs.map +1 -1
  116. package/fesm2022/sixbell-telco-sdk-utils-sync.mjs.map +1 -1
  117. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +15 -15
  118. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
  119. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +12 -12
  120. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
  121. package/package.json +88 -83
@@ -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 * 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},\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;A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,EAAA,kBAAkB,EACnB,OAAA,EAAA;wBACR,YAAY;wBACZA,eAAa;wBACb,oBAAoB;wBACpB,eAAe;wBACf,aAAa;wBACb,qBAAqB;wBACrB,4BAA4B;wBAC5B,4BAA4B;wBAC5B,yBAAyB;qBACzB,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,o2CAAA,EAAA;;;ME3CnC,0BAA0B,CAAA;uGAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA1B,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;;2FAIV,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAPtC,SAAS;+BACC,wBAAwB,EAAA,UAAA,EACtB,IAAI,EACP,OAAA,EAAA,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-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,C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A,EAAA,OAAA,EAAA,iBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,WAAA,EAAA,SAAA,EAAA,cAAA,EAAA,cAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAKd,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAhBjC,SAAS;AACC,YAAA,IAAA,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;;;;"}
@@ -35,8 +35,8 @@ class TextComponent {
35
35
  lineClamp = input(undefined);
36
36
  /** @internal Static classes captured from the host element before the first render. */
37
37
  hostStaticClasses = inject(ElementRef).nativeElement.getAttribute('class') ?? '';
38
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: TextComponent, isStandalone: true, selector: "st-text", inputs: { tag: { classPropertyName: "tag", publicName: "as", isSignal: true, isRequired: false, transformFunction: null }, preset: { classPropertyName: "preset", publicName: "preset", isSignal: true, isRequired: false, transformFunction: null }, weight: { classPropertyName: "weight", publicName: "weight", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, overflow: { classPropertyName: "overflow", publicName: "overflow", isSignal: true, isRequired: false, transformFunction: null }, lineClamp: { classPropertyName: "lineClamp", publicName: "lineClamp", isSignal: true, isRequired: false, transformFunction: null } }, host: { styleAttribute: "display: contents" }, ngImport: i0, template: `
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: TextComponent, isStandalone: true, selector: "st-text", inputs: { tag: { classPropertyName: "tag", publicName: "as", isSignal: true, isRequired: false, transformFunction: null }, preset: { classPropertyName: "preset", publicName: "preset", isSignal: true, isRequired: false, transformFunction: null }, weight: { classPropertyName: "weight", publicName: "weight", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, overflow: { classPropertyName: "overflow", publicName: "overflow", isSignal: true, isRequired: false, transformFunction: null }, lineClamp: { classPropertyName: "lineClamp", publicName: "lineClamp", isSignal: true, isRequired: false, transformFunction: null } }, host: { styleAttribute: "display: contents" }, ngImport: i0, template: `
40
40
  <ng-template #contentTpl><ng-content /></ng-template>
41
41
  @switch (tag()) {
42
42
  @case ('h1') {
@@ -163,7 +163,7 @@ class TextComponent {
163
163
  }
164
164
  `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
165
165
  }
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TextComponent, decorators: [{
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TextComponent, decorators: [{
167
167
  type: Component,
168
168
  args: [{
169
169
  selector: 'st-text',
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-text.mjs","sources":["../../../projects/sdk/components/text/src/text.component.ts","../../../projects/sdk/components/text/sixbell-telco-sdk-components-text.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { TextColor, TextDirective, TextLineClamp, TextOverflow, TextPreset, TextWeight } from '@sixbell-telco/sdk/directives/text';\n\n/** Supported HTML tags for the text component */\nexport type TextTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div' | 'label';\n\n/**\n * A polymorphic text component that renders the correct semantic HTML tag\n * and delegates typography styling to the `TextDirective`.\n *\n * Use the `as` input to select the HTML tag. All typography inputs\n * (`preset`, `weight`, `color`, `overflow`) are forwarded to the inner `TextDirective`.\n *\n * @example\n * ```html\n * <st-text as=\"h1\" preset=\"1\">Hero Title</st-text>\n * <st-text as=\"p\" preset=\"7\" weight=\"bold\" class=\"mb-4\">Body text</st-text>\n * <st-text as=\"span\" preset=\"9\" color=\"primary\" class=\"uppercase\">Label</st-text>\n * ```\n *\n * @publicApi\n */\n@Component({\n\tselector: 'st-text',\n\tstandalone: true,\n\timports: [NgTemplateOutlet, TextDirective],\n\ttemplate: `\n\t\t<ng-template #contentTpl><ng-content /></ng-template>\n\t\t@switch (tag()) {\n\t\t\t@case ('h1') {\n\t\t\t\t<h1\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h1>\n\t\t\t}\n\t\t\t@case ('h2') {\n\t\t\t\t<h2\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h2>\n\t\t\t}\n\t\t\t@case ('h3') {\n\t\t\t\t<h3\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h3>\n\t\t\t}\n\t\t\t@case ('h4') {\n\t\t\t\t<h4\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h4>\n\t\t\t}\n\t\t\t@case ('h5') {\n\t\t\t\t<h5\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h5>\n\t\t\t}\n\t\t\t@case ('h6') {\n\t\t\t\t<h6\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h6>\n\t\t\t}\n\t\t\t@case ('span') {\n\t\t\t\t<span\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</span>\n\t\t\t}\n\t\t\t@case ('div') {\n\t\t\t\t<div\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</div>\n\t\t\t}\n\t\t\t@case ('label') {\n\t\t\t\t<!-- eslint-disable-next-line @angular-eslint/template/label-has-associated-control -->\n\t\t\t\t<label\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</label>\n\t\t\t}\n\t\t\t@default {\n\t\t\t\t<p\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</p>\n\t\t\t}\n\t\t}\n\t`,\n\thost: { style: 'display: contents' },\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TextComponent {\n\t/** HTML tag to render. Consumers use `as` in templates. @defaultValue 'p' */\n\t// eslint-disable-next-line @angular-eslint/no-input-rename\n\ttag = input<TextTag>('p', { alias: 'as' });\n\n\t/** Text preset (1 = largest, 10 = smallest). @defaultValue '7' */\n\tpreset = input<TextPreset>('7');\n\n\t/** Override the preset's default font weight. */\n\tweight = input<TextWeight>(undefined);\n\n\t/** Text color variant. @defaultValue 'base' */\n\tcolor = input<TextColor>('base');\n\n\t/** Text overflow handling. @defaultValue 'clip' */\n\toverflow = input<TextOverflow>('clip');\n\n\t/** Line clamp — limits visible text to a given number of lines. */\n\tlineClamp = input<TextLineClamp>(undefined);\n\n\t/** @internal Static classes captured from the host element before the first render. */\n\tprotected readonly hostStaticClasses = inject(ElementRef).nativeElement.getAttribute('class') ?? '';\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAOA;;;;;;;;;;;;;;;AAeG;MAsIU,aAAa,CAAA;;;IAGzB,GAAG,GAAG,KAAK,CAAU,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;;AAG1C,IAAA,MAAM,GAAG,KAAK,CAAa,GAAG,CAAC;;AAG/B,IAAA,MAAM,GAAG,KAAK,CAAa,SAAS,CAAC;;AAGrC,IAAA,KAAK,GAAG,KAAK,CAAY,MAAM,CAAC;;AAGhC,IAAA,QAAQ,GAAG,KAAK,CAAe,MAAM,CAAC;;AAGtC,IAAA,SAAS,GAAG,KAAK,CAAgB,SAAS,CAAC;;AAGxB,IAAA,iBAAiB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,aAAa,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE;uGArBvF,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAa,EAjIf,YAAA,EAAA,IAAA,EAAA,Q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AAA,WAAA,EAAA,IAAA,EAAA,gBAAgB,oJAAE,aAAa,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,cAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,iBAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAkI7B,aAAa,EAAA,UAAA,EAAA,CAAA;kBArIzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,SAAS;AACnB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,aAAa,CAAC;AAC1C,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6HT,CAAA,CAAA;AACD,oBAAA,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE;oBACpC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,iBAAA;;;AC3JD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-text.mjs","sources":["../../../projects/sdk/components/text/src/text.component.ts","../../../projects/sdk/components/text/sixbell-telco-sdk-components-text.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { TextColor, TextDirective, TextLineClamp, TextOverflow, TextPreset, TextWeight } from '@sixbell-telco/sdk/directives/text';\n\n/** Supported HTML tags for the text component */\nexport type TextTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div' | 'label';\n\n/**\n * A polymorphic text component that renders the correct semantic HTML tag\n * and delegates typography styling to the `TextDirective`.\n *\n * Use the `as` input to select the HTML tag. All typography inputs\n * (`preset`, `weight`, `color`, `overflow`) are forwarded to the inner `TextDirective`.\n *\n * @example\n * ```html\n * <st-text as=\"h1\" preset=\"1\">Hero Title</st-text>\n * <st-text as=\"p\" preset=\"7\" weight=\"bold\" class=\"mb-4\">Body text</st-text>\n * <st-text as=\"span\" preset=\"9\" color=\"primary\" class=\"uppercase\">Label</st-text>\n * ```\n *\n * @publicApi\n */\n@Component({\n\tselector: 'st-text',\n\tstandalone: true,\n\timports: [NgTemplateOutlet, TextDirective],\n\ttemplate: `\n\t\t<ng-template #contentTpl><ng-content /></ng-template>\n\t\t@switch (tag()) {\n\t\t\t@case ('h1') {\n\t\t\t\t<h1\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h1>\n\t\t\t}\n\t\t\t@case ('h2') {\n\t\t\t\t<h2\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h2>\n\t\t\t}\n\t\t\t@case ('h3') {\n\t\t\t\t<h3\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h3>\n\t\t\t}\n\t\t\t@case ('h4') {\n\t\t\t\t<h4\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h4>\n\t\t\t}\n\t\t\t@case ('h5') {\n\t\t\t\t<h5\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h5>\n\t\t\t}\n\t\t\t@case ('h6') {\n\t\t\t\t<h6\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</h6>\n\t\t\t}\n\t\t\t@case ('span') {\n\t\t\t\t<span\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</span>\n\t\t\t}\n\t\t\t@case ('div') {\n\t\t\t\t<div\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</div>\n\t\t\t}\n\t\t\t@case ('label') {\n\t\t\t\t<!-- eslint-disable-next-line @angular-eslint/template/label-has-associated-control -->\n\t\t\t\t<label\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</label>\n\t\t\t}\n\t\t\t@default {\n\t\t\t\t<p\n\t\t\t\t\t[stText]=\"preset()\"\n\t\t\t\t\t[stTextWeight]=\"weight()\"\n\t\t\t\t\t[stTextColor]=\"color()\"\n\t\t\t\t\t[stTextOverflow]=\"overflow()\"\n\t\t\t\t\t[stTextLineClamp]=\"lineClamp()\"\n\t\t\t\t\t[stTextClass]=\"hostStaticClasses\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container [ngTemplateOutlet]=\"contentTpl\" />\n\t\t\t\t</p>\n\t\t\t}\n\t\t}\n\t`,\n\thost: { style: 'display: contents' },\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TextComponent {\n\t/** HTML tag to render. Consumers use `as` in templates. @defaultValue 'p' */\n\t// eslint-disable-next-line @angular-eslint/no-input-rename\n\ttag = input<TextTag>('p', { alias: 'as' });\n\n\t/** Text preset (1 = largest, 10 = smallest). @defaultValue '7' */\n\tpreset = input<TextPreset>('7');\n\n\t/** Override the preset's default font weight. */\n\tweight = input<TextWeight>(undefined);\n\n\t/** Text color variant. @defaultValue 'base' */\n\tcolor = input<TextColor>('base');\n\n\t/** Text overflow handling. @defaultValue 'clip' */\n\toverflow = input<TextOverflow>('clip');\n\n\t/** Line clamp — limits visible text to a given number of lines. */\n\tlineClamp = input<TextLineClamp>(undefined);\n\n\t/** @internal Static classes captured from the host element before the first render. */\n\tprotected readonly hostStaticClasses = inject(ElementRef).nativeElement.getAttribute('class') ?? '';\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAOA;;;;;;;;;;;;;;;AAeG;MAsIU,aAAa,CAAA;;;IAGzB,GAAG,GAAG,KAAK,CAAU,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;;AAG1C,IAAA,MAAM,GAAG,KAAK,CAAa,GAAG,CAAC;;AAG/B,IAAA,MAAM,GAAG,KAAK,CAAa,SAAS,CAAC;;AAGrC,IAAA,KAAK,GAAG,KAAK,CAAY,MAAM,CAAC;;AAGhC,IAAA,QAAQ,GAAG,KAAK,CAAe,MAAM,CAAC;;AAGtC,IAAA,SAAS,GAAG,KAAK,CAAgB,SAAS,CAAC;;AAGxB,IAAA,iBAAiB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,aAAa,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE;wGArBvF,aAAa,EAAA,IAAA,EAAA,EA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jIf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6HT,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EA9HS,gBAAgB,oJAAE,aAAa,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,cAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,iBAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAkI7B,aAAa,EAAA,UAAA,EAAA,CAAA;kBArIzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,SAAS;AACnB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,aAAa,CAAC;AAC1C,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6HT,CAAA,CAAA;AACD,oBAAA,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE;oBACpC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,iBAAA;;;AC3JD;;AAEG;;;;"}
@@ -39,10 +39,10 @@ import { cva } from 'class-variance-authority';
39
39
  * ```
40
40
  */
41
41
  class TooltipContentComponent {
42
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TooltipContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
43
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: TooltipContentComponent, isStandalone: true, selector: "st-tooltip-content", ngImport: i0, template: "<ng-content></ng-content>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TooltipContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
43
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: TooltipContentComponent, isStandalone: true, selector: "st-tooltip-content", ngImport: i0, template: "<ng-content></ng-content>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
44
44
  }
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TooltipContentComponent, decorators: [{
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TooltipContentComponent, decorators: [{
46
46
  type: Component,
47
47
  args: [{ selector: 'st-tooltip-content', imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
48
48
  }] });
@@ -148,10 +148,10 @@ class TooltipComponent {
148
148
  position: this.position(),
149
149
  }));
150
150
  });
151
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
152
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: TooltipComponent, isStandalone: true, selector: "st-tooltip", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconPosition: { classPropertyName: "iconPosition", publicName: "iconPosition", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "inline-flex items-center" }, queries: [{ propertyName: "customContent", first: true, predicate: TooltipContentComponent, descendants: true, isSignal: true }], ngImport: i0, template: "@let labelVar = label();\n@let hasCustomContentVar = hasCustomContent();\n@let componentClassVar = componentClass();\n\n<!-- tooltip.component.html -->\n<div [class]=\"componentClassVar\" [attr.data-tip]=\"hasCustomContentVar ? null : labelVar\">\n\t@let iconVar = icon();\n\t@let iconPositionVar = iconPosition() ?? 'left';\n\t@if (iconVar && iconPositionVar === 'left') {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n\n\t<ng-content></ng-content>\n\n\t@if (iconVar && iconPositionVar === 'right') {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n\n\t@if (hasCustomContentVar) {\n\t\t<div class=\"tooltip-content\">\n\t\t\t<ng-content select=\"st-tooltip-content\"></ng-content>\n\t\t</div>\n\t}\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }] });
151
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
152
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: TooltipComponent, isStandalone: true, selector: "st-tooltip", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconPosition: { classPropertyName: "iconPosition", publicName: "iconPosition", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "inline-flex items-center" }, queries: [{ propertyName: "customContent", first: true, predicate: TooltipContentComponent, descendants: true, isSignal: true }], ngImport: i0, template: "@let labelVar = label();\n@let hasCustomContentVar = hasCustomContent();\n@let componentClassVar = componentClass();\n\n<!-- tooltip.component.html -->\n<div [class]=\"componentClassVar\" [attr.data-tip]=\"hasCustomContentVar ? null : labelVar\">\n\t@let iconVar = icon();\n\t@let iconPositionVar = iconPosition() ?? 'left';\n\t@if (iconVar && iconPositionVar === 'left') {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n\n\t<ng-content></ng-content>\n\n\t@if (iconVar && iconPositionVar === 'right') {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n\n\t@if (hasCustomContentVar) {\n\t\t<div class=\"tooltip-content\">\n\t\t\t<ng-content select=\"st-tooltip-content\"></ng-content>\n\t\t</div>\n\t}\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }] });
153
153
  }
154
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TooltipComponent, decorators: [{
154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TooltipComponent, decorators: [{
155
155
  type: Component,
156
156
  args: [{ selector: 'st-tooltip', imports: [CommonModule, IconComponent], host: {
157
157
  class: 'inline-flex items-center',
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-tooltip.mjs","sources":["../../../projects/sdk/components/tooltip/tooltip-content/tooltip-content.component.ts","../../../projects/sdk/components/tooltip/tooltip-content/tooltip-content.component.html","../../../projects/sdk/components/tooltip/src/tooltip.component.ts","../../../projects/sdk/components/tooltip/src/tooltip.component.html","../../../projects/sdk/components/tooltip/sixbell-telco-sdk-components-tooltip.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * A container component for custom tooltip content\n *\n * @remarks\n * Designed to be used within `<st-tooltip>` components to provide\n * rich, customized tooltip content. When used, replaces the default\n * text label with any arbitrary content.\n *\n * @example\n * ```html\n * <st-tooltip variant=\"warning\">\n * <button class=\"btn\">Hover me</button>\n * <st-tooltip-content>\n * <div class=\"animate-pulse text-red-500\">\n * ⚠️ Critical warning!\n * </div>\n * </st-tooltip-content>\n * </st-tooltip>\n * ```\n *\n * @example\n * ```html\n * <st-tooltip position=\"right\">\n * <st-tooltip-content>\n * <div class=\"flex items-center gap-2\">\n * <st-icon icon=\"info\"></st-icon>\n * <span>Custom tooltip layout</span>\n * </div>\n * </st-tooltip-content>\n * <p class=\"cursor-pointer\">Hover for details</p>\n * </st-tooltip>\n * ```\n */\n@Component({\n\tselector: 'st-tooltip-content',\n\timports: [CommonModule],\n\ttemplateUrl: './tooltip-content.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TooltipContentComponent {}\n","<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { Component, computed, contentChild, input } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\nimport { TooltipContentComponent } from '../tooltip-content/tooltip-content.component';\n\n/**\n * @internal\n * Generates base tooltip classes with style variants\n */\nexport const tooltipComponent = cva(['tooltip', 'inline-flex', 'items-center', 'align-top', 'text-pretty', 'font-body', 'gap-1'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tprimary: ['tooltip-primary'],\n\t\t\tsecondary: ['tooltip-secondary'],\n\t\t\ttertiary: ['tooltip-tertiary'],\n\t\t\tsuccess: ['tooltip-success'],\n\t\t\tneutral: ['tooltip-neutral'],\n\t\t\twarning: ['tooltip-warning'],\n\t\t\terror: ['tooltip-error'],\n\t\t\tinfo: ['tooltip-info'],\n\t\t},\n\t\tposition: {\n\t\t\ttop: ['tooltip-top'],\n\t\t\tbottom: ['tooltip-bottom'],\n\t\t\tright: ['tooltip-right'],\n\t\t\tleft: ['tooltip-left'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'primary',\n\t\tposition: 'bottom',\n\t},\n});\n\n/** Possible tooltip color variants */\nexport type TooltipVariantProps = 'primary' | 'secondary' | 'tertiary' | 'success' | 'neutral' | 'warning' | 'error' | 'info' | null | undefined;\n\n/** Possible tooltip position variants */\nexport type TooltipPositionProps = 'top' | 'bottom' | 'right' | 'left' | null | undefined;\n\n/** Configuration object for tooltip styling */\nexport type TooltipProps = {\n\tvariant?: TooltipVariantProps;\n\tposition?: TooltipPositionProps;\n};\n\n/**\n * A customizable tooltip component with multiple variants and content options\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports both simple text labels and custom content tooltips.\n *\n * @example\n * ```html\n * <!-- Simple text tooltip -->\n * <st-tooltip variant=\"primary\" label=\"Information tooltip\">\n * <button class=\"btn\">Hover me</button>\n * </st-tooltip>\n * ```\n *\n * @example\n * ```html\n * <!-- Custom content tooltip -->\n * <st-tooltip position=\"right\" variant=\"warning\">\n * <button class=\"btn\">Dangerous action</button>\n * <st-tooltip-content>\n * <div class=\"text-red-500 font-bold\">\n * ⚠️ Proceed with caution!\n * </div>\n * </st-tooltip-content>\n * </st-tooltip>\n * ```\n */\n@Component({\n\tselector: 'st-tooltip',\n\timports: [CommonModule, IconComponent],\n\ttemplateUrl: './tooltip.component.html',\n\tstyles: '',\n\thost: {\n\t\tclass: 'inline-flex items-center',\n\t},\n})\nexport class TooltipComponent {\n\t/**\n\t * Tooltip color variant\n\t * @defaultValue 'primary'\n\t */\n\tvariant = input<TooltipVariantProps>();\n\n\t/**\n\t * Tooltip position relative to target element\n\t * @defaultValue 'bottom'\n\t */\n\tposition = input<TooltipPositionProps>();\n\n\t/**\n\t * Text label for simple tooltip content\n\t */\n\tlabel = input<string>();\n\n\t/**\n\t * Optional icon name to render inside the trigger (mirrors Button API)\n\t */\n\ticon = input<string | undefined>();\n\n\t/**\n\t * Icon position relative to content\n\t * @defaultValue 'left'\n\t */\n\ticonPosition = input<'left' | 'right' | null | undefined>('left');\n\n\t/**\n\t * @internal\n\t * Reference to custom tooltip content component\n\t */\n\tcustomContent = contentChild(TooltipContentComponent);\n\n\t/**\n\t * @internal\n\t * Computed flag indicating presence of custom content\n\t */\n\thasCustomContent = computed(() => !!this.customContent());\n\n\t/**\n\t * @internal\n\t * Computed class string for the tooltip container\n\t */\n\tcomponentClass = computed(() => {\n\t\treturn cn(\n\t\t\ttooltipComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t\tposition: this.position(),\n\t\t\t}),\n\t\t);\n\t});\n}\n","@let labelVar = label();\n@let hasCustomContentVar = hasCustomContent();\n@let componentClassVar = componentClass();\n\n<!-- tooltip.component.html -->\n<div [class]=\"componentClassVar\" [attr.data-tip]=\"hasCustomContentVar ? null : labelVar\">\n\t@let iconVar = icon();\n\t@let iconPositionVar = iconPosition() ?? 'left';\n\t@if (iconVar && iconPositionVar === 'left') {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n\n\t<ng-content></ng-content>\n\n\t@if (iconVar && iconPositionVar === 'right') {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n\n\t@if (hasCustomContentVar) {\n\t\t<div class=\"tooltip-content\">\n\t\t\t<ng-content select=\"st-tooltip-content\"></ng-content>\n\t\t</div>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCG;MAOU,uBAAuB,CAAA;uG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AA,ECvHrD,4wBAwBA,EDuDW,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,+BAAE,aAAa,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAOzB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAT5B,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,YAAY,WACb,CAAC,YAAY,EAAE,aAAa,CAAC,EAGhC,IAAA,EAAA;AACL,wBAAA,KAAK,EAAE,0BAA0B;AACjC,qBAAA,EAAA,QAAA,EAAA,4wBAAA,EAAA;;;AEpFF;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-tooltip.mjs","sources":["../../../projects/sdk/components/tooltip/tooltip-content/tooltip-content.component.ts","../../../projects/sdk/components/tooltip/tooltip-content/tooltip-content.component.html","../../../projects/sdk/components/tooltip/src/tooltip.component.ts","../../../projects/sdk/components/tooltip/src/tooltip.component.html","../../../projects/sdk/components/tooltip/sixbell-telco-sdk-components-tooltip.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * A container component for custom tooltip content\n *\n * @remarks\n * Designed to be used within `<st-tooltip>` components to provide\n * rich, customized tooltip content. When used, replaces the default\n * text label with any arbitrary content.\n *\n * @example\n * ```html\n * <st-tooltip variant=\"warning\">\n * <button class=\"btn\">Hover me</button>\n * <st-tooltip-content>\n * <div class=\"animate-pulse text-red-500\">\n * ⚠️ Critical warning!\n * </div>\n * </st-tooltip-content>\n * </st-tooltip>\n * ```\n *\n * @example\n * ```html\n * <st-tooltip position=\"right\">\n * <st-tooltip-content>\n * <div class=\"flex items-center gap-2\">\n * <st-icon icon=\"info\"></st-icon>\n * <span>Custom tooltip layout</span>\n * </div>\n * </st-tooltip-content>\n * <p class=\"cursor-pointer\">Hover for details</p>\n * </st-tooltip>\n * ```\n */\n@Component({\n\tselector: 'st-tooltip-content',\n\timports: [CommonModule],\n\ttemplateUrl: './tooltip-content.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TooltipContentComponent {}\n","<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { Component, computed, contentChild, input } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\nimport { TooltipContentComponent } from '../tooltip-content/tooltip-content.component';\n\n/**\n * @internal\n * Generates base tooltip classes with style variants\n */\nexport const tooltipComponent = cva(['tooltip', 'inline-flex', 'items-center', 'align-top', 'text-pretty', 'font-body', 'gap-1'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tprimary: ['tooltip-primary'],\n\t\t\tsecondary: ['tooltip-secondary'],\n\t\t\ttertiary: ['tooltip-tertiary'],\n\t\t\tsuccess: ['tooltip-success'],\n\t\t\tneutral: ['tooltip-neutral'],\n\t\t\twarning: ['tooltip-warning'],\n\t\t\terror: ['tooltip-error'],\n\t\t\tinfo: ['tooltip-info'],\n\t\t},\n\t\tposition: {\n\t\t\ttop: ['tooltip-top'],\n\t\t\tbottom: ['tooltip-bottom'],\n\t\t\tright: ['tooltip-right'],\n\t\t\tleft: ['tooltip-left'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'primary',\n\t\tposition: 'bottom',\n\t},\n});\n\n/** Possible tooltip color variants */\nexport type TooltipVariantProps = 'primary' | 'secondary' | 'tertiary' | 'success' | 'neutral' | 'warning' | 'error' | 'info' | null | undefined;\n\n/** Possible tooltip position variants */\nexport type TooltipPositionProps = 'top' | 'bottom' | 'right' | 'left' | null | undefined;\n\n/** Configuration object for tooltip styling */\nexport type TooltipProps = {\n\tvariant?: TooltipVariantProps;\n\tposition?: TooltipPositionProps;\n};\n\n/**\n * A customizable tooltip component with multiple variants and content options\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports both simple text labels and custom content tooltips.\n *\n * @example\n * ```html\n * <!-- Simple text tooltip -->\n * <st-tooltip variant=\"primary\" label=\"Information tooltip\">\n * <button class=\"btn\">Hover me</button>\n * </st-tooltip>\n * ```\n *\n * @example\n * ```html\n * <!-- Custom content tooltip -->\n * <st-tooltip position=\"right\" variant=\"warning\">\n * <button class=\"btn\">Dangerous action</button>\n * <st-tooltip-content>\n * <div class=\"text-red-500 font-bold\">\n * ⚠️ Proceed with caution!\n * </div>\n * </st-tooltip-content>\n * </st-tooltip>\n * ```\n */\n@Component({\n\tselector: 'st-tooltip',\n\timports: [CommonModule, IconComponent],\n\ttemplateUrl: './tooltip.component.html',\n\tstyles: '',\n\thost: {\n\t\tclass: 'inline-flex items-center',\n\t},\n})\nexport class TooltipComponent {\n\t/**\n\t * Tooltip color variant\n\t * @defaultValue 'primary'\n\t */\n\tvariant = input<TooltipVariantProps>();\n\n\t/**\n\t * Tooltip position relative to target element\n\t * @defaultValue 'bottom'\n\t */\n\tposition = input<TooltipPositionProps>();\n\n\t/**\n\t * Text label for simple tooltip content\n\t */\n\tlabel = input<string>();\n\n\t/**\n\t * Optional icon name to render inside the trigger (mirrors Button API)\n\t */\n\ticon = input<string | undefined>();\n\n\t/**\n\t * Icon position relative to content\n\t * @defaultValue 'left'\n\t */\n\ticonPosition = input<'left' | 'right' | null | undefined>('left');\n\n\t/**\n\t * @internal\n\t * Reference to custom tooltip content component\n\t */\n\tcustomContent = contentChild(TooltipContentComponent);\n\n\t/**\n\t * @internal\n\t * Computed flag indicating presence of custom content\n\t */\n\thasCustomContent = computed(() => !!this.customContent());\n\n\t/**\n\t * @internal\n\t * Computed class string for the tooltip container\n\t */\n\tcomponentClass = computed(() => {\n\t\treturn cn(\n\t\t\ttooltipComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t\tposition: this.position(),\n\t\t\t}),\n\t\t);\n\t});\n}\n","@let labelVar = label();\n@let hasCustomContentVar = hasCustomContent();\n@let componentClassVar = componentClass();\n\n<!-- tooltip.component.html -->\n<div [class]=\"componentClassVar\" [attr.data-tip]=\"hasCustomContentVar ? null : labelVar\">\n\t@let iconVar = icon();\n\t@let iconPositionVar = iconPosition() ?? 'left';\n\t@if (iconVar && iconPositionVar === 'left') {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n\n\t<ng-content></ng-content>\n\n\t@if (iconVar && iconPositionVar === 'right') {\n\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"auto\"></st-icon>\n\t}\n\n\t@if (hasCustomContentVar) {\n\t\t<div class=\"tooltip-content\">\n\t\t\t<ng-content select=\"st-tooltip-content\"></ng-content>\n\t\t</div>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCG;MAOU,uBAAuB,CAAA;wGAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC1CpC,6BACA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDqCW,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAIV,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBANnC,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,WACrB,CAAC,YAAY,CAAC,EAAA,eAAA,EAEN,uBAAuB,CAAC,MA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