@sixbell-telco/sdk 4.8.0 → 4.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -0
- package/components/accordion/README.md +1 -1
- package/components/accordion/src/accordion.component.d.ts +4 -0
- package/components/alert/src/alert.component.d.ts +8 -1
- package/components/data-table/README.md +1 -0
- package/components/data-table/src/data-table.component.d.ts +2 -24
- package/components/dialog/README.md +4 -3
- package/components/dialog/dialog-actions/dialog-actions.component.d.ts +2 -1
- package/components/dialog/src/dialog.component.d.ts +10 -5
- package/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.d.ts +1 -1
- package/components/dropdown-menu/src/dropdown-menu-item/dropdown-menu-item.component.d.ts +3 -2
- package/components/file-upload/file-dropzone/file-dropzone.component.d.ts +12 -0
- package/components/file-upload/file-uploader/file-uploader.component.d.ts +6 -0
- package/components/forms/combobox/README.md +49 -0
- package/components/forms/combobox/src/combobox.component.d.ts +178 -3
- package/components/forms/date-picker/README.md +3 -1
- package/components/forms/date-picker/src/date-picker.component.d.ts +8 -1
- package/components/forms/form-error/README.md +2 -0
- package/components/forms/form-error/src/form-error.component.d.ts +17 -0
- package/components/forms/form-hint/README.md +2 -2
- package/components/forms/form-item/README.md +1 -0
- package/components/forms/form-item/src/form-item.component.d.ts +38 -6
- package/components/forms/input/README.md +7 -0
- package/components/forms/input/src/input.component.d.ts +11 -1
- package/components/forms/select/README.md +48 -0
- package/components/forms/select/src/select.component.d.ts +157 -2
- package/components/forms/textarea/README.md +1 -0
- package/components/forms/textarea/src/textarea.component.d.ts +6 -1
- package/components/paginator/README.md +3 -0
- package/components/paginator/components/pagination-item/pagination-item.component.d.ts +8 -3
- package/components/paginator/src/paginator.component.d.ts +2 -1
- package/components/progress/src/progress.component.d.ts +17 -3
- package/components/table/README.md +2 -0
- package/components/table/src/table.component.d.ts +16 -23
- package/directives/only-numbers/src/only-numbers.directive.d.ts +27 -1
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +6 -1
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-alert.mjs +12 -5
- package/fesm2022/sixbell-telco-sdk-components-alert.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +5 -2
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +30 -13
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +2 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +10 -4
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +32 -6
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +272 -23
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +17 -4
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +32 -4
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs +74 -10
- package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +13 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +258 -18
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +11 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +15 -11
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs +22 -4
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +42 -5
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +49 -4
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-layouts.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-layouts.mjs.map +1 -1
- package/i18n/sdk/en.json +14 -4
- package/i18n/sdk/es.json +14 -4
- package/i18n/sdk/pt.json +14 -4
- package/manifest.json +185 -19
- package/package.json +1 -1
- package/src/_index.css +19 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sixbell-telco-sdk-components-alert.mjs","sources":["../../../projects/sdk/components/alert/src/alert.component.ts","../../../projects/sdk/components/alert/src/alert.component.html","../../../projects/sdk/components/alert/sixbell-telco-sdk-components-alert.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, computed, input, output, signal } from '@angular/core';\nimport { heroCheckCircle, heroExclamationTriangle, heroInformationCircle, heroXCircle, heroXMark } from '@ng-icons/heroicons/outline';\nimport { ButtonComponent } from '@sixbell-telco/sdk/components/button';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { TextDirective } from '@sixbell-telco/sdk/directives/text';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { injectLabelTranslator } from '@sixbell-telco/sdk/utils/translation';\nimport { cva } from 'class-variance-authority';\n\nconst DISMISS_LABEL = { key: 'sdk.alert.dismiss', fallback: 'Dismiss alert' };\n\n/**\n * @internal\n * Soft status callout classes. Body text stays on `base-content`; the icon and title read the\n * `--color-<status>-strong` token so they meet 4.5:1 on the soft tint.\n */\nexport const alertComponent = cva(['alert', 'alert-soft', 'flex', 'w-full', 'items-start', 'gap-3', 'text-base-content'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tinfo: ['alert-info'],\n\t\t\tsuccess: ['alert-success'],\n\t\t\twarning: ['alert-warning'],\n\t\t\terror: ['alert-error'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: 'info',\n\t},\n});\n\nconst accentClass = cva([], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tinfo: ['text-info-strong'],\n\t\t\tsuccess: ['text-success-strong'],\n\t\t\twarning: ['text-warning-strong'],\n\t\t\terror: ['text-error-strong'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: 'info',\n\t},\n});\n\n/** Status of the callout */\nexport type AlertVariantProps = 'info' | 'success' | 'warning' | 'error' | null | undefined;\n\nconst VARIANT_ICONS: Record<NonNullable<AlertVariantProps>, string> = {\n\tinfo: heroInformationCircle,\n\tsuccess: heroCheckCircle,\n\twarning: heroExclamationTriangle,\n\terror: heroXCircle,\n};\n\n/**\n * Inline status callout: icon, optional heading, projected body, optional actions and dismiss.\n *\n * @remarks\n * The host is the live region. `info`, `success` and `warning` use `role=\"status\"` (polite);\n * `error` uses `role=\"alert\"` (assertive), and `assertive` forces `role=\"alert\"` for any variant.\n * Set `id` to reference the callout from a control's `aria-describedby`.\n *\n * @example\n * ```html\n * <st-alert variant=\"warning\" heading=\"Pending distribution groups\">\n * Add at least one rule before publishing.\n * <st-alert-actions>\n * <st-button variant=\"warning\" size=\"sm\" [outline]=\"true\">Review</st-button>\n * </st-alert-actions>\n * </st-alert>\n * ```\n */\n@Component({\n\tselector: 'st-alert',\n\timports: [IconComponent, ButtonComponent, TextDirective],\n\ttemplateUrl: './alert.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\t'[class]': 'componentClass()',\n\t\t'[attr.id]': 'id() || null',\n\t\t'[attr.role]': 'role()',\n\t\t'[attr.hidden]': 'isDismissed() ? \"\" : null',\n\t},\n})\nexport class AlertComponent {\n\t/**\n\t * Status of the callout\n\t * @defaultValue 'info'\n\t */\n\tvariant = input<AlertVariantProps>('info');\n\n\t/** Short heading rendered above the projected body. Nothing is rendered when empty. */\n\theading = input<string>('');\n\n\t/** Id set on the host, so a control can point at the callout with `aria-describedby`. */\n\tid = input<string | null>(null);\n\n\t/**\n\t * Show the status icon\n\t * @defaultValue true\n\t */\n\tshowIcon = input(true, { transform: booleanAttribute });\n\n\t/** Icon override (an SVG string from `@sixbell-telco/sdk/components/icon/*`). Defaults to the variant icon. */\n\ticon = input<string | null | undefined>();\n\n\t/**\n\t * Render a close button that hides the callout and emits `dismissed`\n\t * @defaultValue false\n\t */\n\tdismissible = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Announce with `role=\"alert\"` whatever the variant\n\t * @defaultValue false\n\t */\n\tassertive = input(false, { transform: booleanAttribute });\n\n\t/** Additional classes merged onto the host */\n\tclass = input<string>('');\n\n\t/** Emits after the close button hides the callout */\n\tdismissed = output<void>();\n\n\tprivate readonly translateLabel = injectLabelTranslator();\n\n\t/** @internal */\n\tprotected readonly isDismissed = signal(false);\n\n\t/** @internal */\n\tprotected readonly dismissIcon = heroXMark;\n\n\t/** @internal */\n\tprotected readonly dismissLabel = computed(() => this.translateLabel(DISMISS_LABEL));\n\n\t/** @internal */\n\treadonly role = computed(() => (this.assertive() || this.variant() === 'error' ? 'alert' : 'status'));\n\n\t/** @internal */\n\tprotected readonly resolvedIcon = computed(() => this.icon() || VARIANT_ICONS[this.variant() ?? 'info']);\n\n\t/** @internal */\n\tprotected readonly accentClass = computed(() => accentClass({ variant: this.variant() }));\n\n\t/** @internal */\n\treadonly componentClass = computed(() => cn(alertComponent({ variant: this.variant() }), this.class()));\n\n\t/** Hides the callout and emits `dismissed`. */\n\tdismiss(): void {\n\t\tthis.isDismissed.set(true);\n\t\tthis.dismissed.emit();\n\t}\n}\n\n/** Action area of `st-alert`, aligned after the body. */\n@Component({\n\tselector: 'st-alert-actions',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: '<ng-content />',\n\thost: {\n\t\tclass: 'flex shrink-0 flex-wrap items-center gap-2 self-center',\n\t},\n})\nexport class AlertActionsComponent {}\n","@let headingVar = heading();\n@if (showIcon()) {\n\t<span class=\"flex shrink-0 pt-0.5\" [class]=\"accentClass()\">\n\t\t<st-icon [icon]=\"resolvedIcon()\" size=\"sm\"></st-icon>\n\t</span>\n}\n<div class=\"flex min-w-0 flex-1 flex-col gap-0.5 self-center\">\n\t@if (headingVar) {\n\t\t<p stText=\"7\" stTextWeight=\"semibold\" [stTextClass]=\"accentClass()\">{{ headingVar }}</p>\n\t}\n\t<div stText=\"7\" class=\"empty:hidden\"><ng-content /></div>\n</div>\n<ng-content select=\"st-alert-actions\" />\n@if (dismissible()) {\n\t<st-button\n\t\tclass=\"-my-1 shrink-0\"\n\t\tsize=\"sm\"\n\t\t[ghost]=\"true\"\n\t\t[circle]=\"true\"\n\t\t[icon]=\"dismissIcon\"\n\t\t[ariaLabel]=\"dismissLabel()\"\n\t\t(clicked)=\"dismiss()\"\n\t/>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;AASA,MAAM,aAAa,GAAG,EAAE,GAAG,EAAE,mBAAmB,EAAE,QAAQ,EAAE,eAAe,EAAE;AAE7E;;;;AAIG;MACU,cAAc,GAAG,GAAG,CAAC,CAAC,OAAO,EAAE,YAAY,EAAE,MAAM,E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AAA,IAAA,EAAA,qBAAqB,gKALvB,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAKd,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBARjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,kBAAkB;oBAC5B,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,IAAI,EAAE;AACL,wBAAA,KAAK,EAAE,wDAAwD;AAC/D,qBAAA;AACD,iBAAA;;;AElKD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"sixbell-telco-sdk-components-alert.mjs","sources":["../../../projects/sdk/components/alert/src/alert.component.ts","../../../projects/sdk/components/alert/src/alert.component.html","../../../projects/sdk/components/alert/sixbell-telco-sdk-components-alert.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, computed, inject, input, output, signal } from '@angular/core';\nimport { heroCheckCircle, heroExclamationTriangle, heroInformationCircle, heroXCircle, heroXMark } from '@ng-icons/heroicons/outline';\nimport { ButtonComponent } from '@sixbell-telco/sdk/components/button';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { TextDirective } from '@sixbell-telco/sdk/directives/text';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { injectLabelTranslator } from '@sixbell-telco/sdk/utils/translation';\nimport { cva } from 'class-variance-authority';\n\nconst DISMISS_LABEL = { key: 'sdk.alert.dismiss', fallback: 'Dismiss alert' };\n\n/**\n * @internal\n * Soft status callout classes. Body text stays on `base-content`; the icon and title read the\n * `--color-<status>-strong` token so they meet 4.5:1 on the soft tint.\n */\nexport const alertComponent = cva(['alert', 'alert-soft', '@container', 'flex', 'w-full', 'flex-wrap', 'items-start', 'gap-3', 'text-base-content'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tinfo: ['alert-info'],\n\t\t\tsuccess: ['alert-success'],\n\t\t\twarning: ['alert-warning'],\n\t\t\terror: ['alert-error'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: 'info',\n\t},\n});\n\nconst accentClass = cva([], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tinfo: ['text-info-strong'],\n\t\t\tsuccess: ['text-success-strong'],\n\t\t\twarning: ['text-warning-strong'],\n\t\t\terror: ['text-error-strong'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: 'info',\n\t},\n});\n\n/** Status of the callout */\nexport type AlertVariantProps = 'info' | 'success' | 'warning' | 'error' | null | undefined;\n\nconst VARIANT_ICONS: Record<NonNullable<AlertVariantProps>, string> = {\n\tinfo: heroInformationCircle,\n\tsuccess: heroCheckCircle,\n\twarning: heroExclamationTriangle,\n\terror: heroXCircle,\n};\n\n/**\n * Inline status callout: icon, optional heading, projected body, optional actions and dismiss.\n *\n * @remarks\n * The host is the live region. `info`, `success` and `warning` use `role=\"status\"` (polite);\n * `error` uses `role=\"alert\"` (assertive), and `assertive` forces `role=\"alert\"` for any variant.\n * Set `id` to reference the callout from a control's `aria-describedby`.\n *\n * @example\n * ```html\n * <st-alert variant=\"warning\" heading=\"Pending distribution groups\">\n * Add at least one rule before publishing.\n * <st-alert-actions>\n * <st-button variant=\"warning\" size=\"sm\" [outline]=\"true\">Review</st-button>\n * </st-alert-actions>\n * </st-alert>\n * ```\n */\n@Component({\n\tselector: 'st-alert',\n\timports: [IconComponent, ButtonComponent, TextDirective],\n\ttemplateUrl: './alert.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\t'[class]': 'componentClass()',\n\t\t'[attr.id]': 'id() || null',\n\t\t'[attr.role]': 'role()',\n\t\t'[attr.hidden]': 'isDismissed() ? \"\" : null',\n\t},\n})\nexport class AlertComponent {\n\t/**\n\t * Status of the callout\n\t * @defaultValue 'info'\n\t */\n\tvariant = input<AlertVariantProps>('info');\n\n\t/** Short heading rendered above the projected body. Nothing is rendered when empty. */\n\theading = input<string>('');\n\n\t/** Id set on the host, so a control can point at the callout with `aria-describedby`. */\n\tid = input<string | null>(null);\n\n\t/**\n\t * Show the status icon\n\t * @defaultValue true\n\t */\n\tshowIcon = input(true, { transform: booleanAttribute });\n\n\t/** Icon override (an SVG string from `@sixbell-telco/sdk/components/icon/*`). Defaults to the variant icon. */\n\ticon = input<string | null | undefined>();\n\n\t/**\n\t * Render a close button that hides the callout and emits `dismissed`\n\t * @defaultValue false\n\t */\n\tdismissible = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Announce with `role=\"alert\"` whatever the variant\n\t * @defaultValue false\n\t */\n\tassertive = input(false, { transform: booleanAttribute });\n\n\t/** Additional classes merged onto the host */\n\tclass = input<string>('');\n\n\t/** Emits after the close button hides the callout */\n\tdismissed = output<void>();\n\n\tprivate readonly translateLabel = injectLabelTranslator();\n\n\t/** @internal */\n\tprotected readonly isDismissed = signal(false);\n\n\t/** @internal */\n\tprotected readonly dismissIcon = heroXMark;\n\n\t/** @internal */\n\tprotected readonly dismissLabel = computed(() => this.translateLabel(DISMISS_LABEL));\n\n\t/** @internal */\n\treadonly role = computed(() => (this.assertive() || this.variant() === 'error' ? 'alert' : 'status'));\n\n\t/** @internal */\n\tprotected readonly resolvedIcon = computed(() => this.icon() || VARIANT_ICONS[this.variant() ?? 'info']);\n\n\t/** @internal */\n\tprotected readonly accentClass = computed(() => accentClass({ variant: this.variant() }));\n\n\t/** @internal */\n\treadonly componentClass = computed(() => cn(alertComponent({ variant: this.variant() }), this.class()));\n\n\t/** Hides the callout and emits `dismissed`. */\n\tdismiss(): void {\n\t\tthis.isDismissed.set(true);\n\t\tthis.dismissed.emit();\n\t}\n}\n\n/**\n * Action area of `st-alert`. From a 28rem wide alert up it sits after the body on the same row;\n * below that it wraps to its own row under the text, so the text keeps its width on phones.\n */\n@Component({\n\tselector: 'st-alert-actions',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: '<ng-content />',\n\thost: {\n\t\t'[class]': 'componentClass()',\n\t},\n})\nexport class AlertActionsComponent {\n\t/** @internal */\n\tprivate readonly alert = inject(AlertComponent, { optional: true });\n\n\t/** @internal Under the text on narrow alerts (indented past the icon), after it from `@md`. */\n\tprotected readonly componentClass = computed(() =>\n\t\tcn(\n\t\t\t'order-last flex shrink-0 basis-full flex-wrap items-center gap-2 self-center @md:order-0 @md:basis-auto',\n\t\t\t(this.alert?.showIcon() ?? false) && 'ps-8 @md:ps-0',\n\t\t),\n\t);\n}\n","@let headingVar = heading();\n@if (showIcon()) {\n\t<span class=\"flex shrink-0 pt-0.5\" [class]=\"accentClass()\">\n\t\t<st-icon [icon]=\"resolvedIcon()\" size=\"sm\"></st-icon>\n\t</span>\n}\n<div class=\"flex min-w-0 flex-1 flex-col gap-0.5 self-center\">\n\t@if (headingVar) {\n\t\t<p stText=\"7\" stTextWeight=\"semibold\" [stTextClass]=\"accentClass()\">{{ headingVar }}</p>\n\t}\n\t<div stText=\"7\" class=\"empty:hidden\"><ng-content /></div>\n</div>\n<ng-content select=\"st-alert-actions\" />\n@if (dismissible()) {\n\t<st-button\n\t\tclass=\"-my-1 shrink-0\"\n\t\tsize=\"sm\"\n\t\t[ghost]=\"true\"\n\t\t[circle]=\"true\"\n\t\t[icon]=\"dismissIcon\"\n\t\t[ariaLabel]=\"dismissLabel()\"\n\t\t(clicked)=\"dismiss()\"\n\t/>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;AASA,MAAM,aAAa,GAAG,EAAE,GAAG,EAAE,mBAAmB,EAAE,QAAQ,EAAE,eAAe,EAAE;AAE7E;;;;AAIG;AACI,MAAM,cAAc,GAAG,GAAG,CAAC,CAAC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,OAAO,EAAE,mBAAmB,CAAC,EAAE;AACpJ,IAAA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A,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAArB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,mIALvB,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAKd,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBARjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,kBAAkB;oBAC5B,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,IAAI,EAAE;AACL,wBAAA,SAAS,EAAE,kBAAkB;AAC7B,qBAAA;AACD,iBAAA;;;AErKD;;AAEG;;;;"}
|
|
@@ -1082,6 +1082,7 @@ const dataTableContent = cva([
|
|
|
1082
1082
|
* </st-data-table>
|
|
1083
1083
|
* ```
|
|
1084
1084
|
*/
|
|
1085
|
+
let nextDataTablePageSizeId = 0;
|
|
1085
1086
|
class DataTableContainerComponent {
|
|
1086
1087
|
translationService = inject(TranslateService);
|
|
1087
1088
|
dataTableContext = inject(DataTableContextService);
|
|
@@ -1204,6 +1205,8 @@ class DataTableContainerComponent {
|
|
|
1204
1205
|
pageSizeChanged = output();
|
|
1205
1206
|
ENTRIES = [5, 10, 20, 50, 100];
|
|
1206
1207
|
translateLabel = injectLabelTranslator();
|
|
1208
|
+
/** @internal Id of the items-per-page select, named by its visually hidden label */
|
|
1209
|
+
pageSizeSelectId = `st-data-table-page-size-${nextDataTablePageSizeId++}`;
|
|
1207
1210
|
entriesPerPageOptions = computed(() => this.ENTRIES.map((n) => ({
|
|
1208
1211
|
value: n,
|
|
1209
1212
|
text: this.translateLabel({ key: 'sdk.dataTable.perPage', fallback: '{{count}} / page', params: { count: n } }),
|
|
@@ -1328,11 +1331,11 @@ class DataTableContainerComponent {
|
|
|
1328
1331
|
});
|
|
1329
1332
|
});
|
|
1330
1333
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DataTableContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1331
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: DataTableContainerComponent, isStandalone: true, selector: "st-data-table", inputs: { noDataIcon: { classPropertyName: "noDataIcon", publicName: "noDataIcon", isSignal: true, isRequired: false, transformFunction: null }, noResultsIcon: { classPropertyName: "noResultsIcon", publicName: "noResultsIcon", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingRows: { classPropertyName: "loadingRows", publicName: "loadingRows", isSignal: true, isRequired: false, transformFunction: null }, rowHover: { classPropertyName: "rowHover", publicName: "rowHover", isSignal: true, isRequired: false, transformFunction: null }, pinRows: { classPropertyName: "pinRows", publicName: "pinRows", isSignal: true, isRequired: false, transformFunction: null }, pinColumns: { classPropertyName: "pinColumns", publicName: "pinColumns", isSignal: true, isRequired: false, transformFunction: null }, zebra: { classPropertyName: "zebra", publicName: "zebra", isSignal: true, isRequired: false, transformFunction: null }, bordered: { classPropertyName: "bordered", publicName: "bordered", isSignal: true, isRequired: false, transformFunction: null }, paginatorType: { classPropertyName: "paginatorType", publicName: "paginatorType", isSignal: true, isRequired: false, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, pagination: { classPropertyName: "pagination", publicName: "pagination", isSignal: true, isRequired: false, transformFunction: null }, maxSize: { classPropertyName: "maxSize", publicName: "maxSize", isSignal: true, isRequired: false, transformFunction: null }, hasActiveFiltersCallback: { classPropertyName: "hasActiveFiltersCallback", publicName: "hasActiveFiltersCallback", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pageChanged: "pageChanged", pageSizeChanged: "pageSizeChanged" }, providers: [DataTableContextService], queries: [{ propertyName: "customEmptyState", first: true, predicate: TABLE_EMPTY_STATE, isSignal: true }], ngImport: i0, template: "<div [class]=\"containerClass()\">\n\t<span role=\"status\" class=\"sr-only\">\n\t\t@if (loading()) {\n\t\t\t{{ 'sdk.dataTable.loading' | translate }}\n\t\t}\n\t</span>\n\t<!-- Table container -->\n\t<div [class]=\"tableContainerClass()\">\n\t\t<div class=\"w-full\">\n\t\t\t@if (customEmptyState() && (showNoData() || showNoResults())) {\n\t\t\t\t<ng-content select=\"st-empty-state\"></ng-content>\n\t\t\t} @else if (showNoData()) {\n\t\t\t\t<!-- No data state -->\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-muted\">\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-muted\">{{ 'sdk.dataTable.noData.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noData.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (showNoResults()) {\n\t\t\t\t<!-- No results from filters state -->\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-muted\">\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-muted\">{{ 'sdk.dataTable.noResults.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.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-data-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]=\"tableClass()\" [attr.aria-busy]=\"loading() || null\">\n\t\t\t\t\t<ng-content select=\"caption, colgroup\"></ng-content>\n\t\t\t\t\t<ng-content select=\"thead\"></ng-content>\n\t\t\t\t\t@if (loading()) {\n\t\t\t\t\t\t<tbody data-st-skeleton aria-hidden=\"true\">\n\t\t\t\t\t\t\t@for (row of skeletonRows(); track row) {\n\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t@for (column of skeletonColumns(); track column) {\n\t\t\t\t\t\t\t\t\t\t<td><div [class]=\"skeletonClass()\"></div></td>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</tbody>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t\t}\n\t\t\t\t</table>\n\t\t\t}\n\t\t</div>\n\t</div>\n\n\t<!-- Pagination from showcase -->\n\t<div [class]=\"footerWrapperClass()\">\n\t\t<!-- Divider -->\n\t\t<div [class]=\"footerDividerClass()\"></div>\n\t\t<!-- Paginator Container -->\n\t\t<div [class]=\"footerContentClass()\">\n\t\t\t<!-- Entries range text -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<span [stText]=\"paginatorTextSize()\">{{ 'sdk.dataTable.entriesRange' | translate: { range: paginationRange(), total: totalItems() } }}</span>\n\t\t\t</div>\n\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"flex justify-center\">\n\t\t\t\t<st-paginator\n\t\t\t\t\t[pages]=\"totalPages()\"\n\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t[size]=\"footerPaginatorSize()\"\n\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\ttype=\"default\"\n\t\t\t\t\t(pageChanged)=\"handlePageChange($event)\"\n\t\t\t\t></st-paginator>\n\t\t\t</div>\n\n\t\t\t<!-- Entries per page dropdown -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<
|
|
1334
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: DataTableContainerComponent, isStandalone: true, selector: "st-data-table", inputs: { noDataIcon: { classPropertyName: "noDataIcon", publicName: "noDataIcon", isSignal: true, isRequired: false, transformFunction: null }, noResultsIcon: { classPropertyName: "noResultsIcon", publicName: "noResultsIcon", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingRows: { classPropertyName: "loadingRows", publicName: "loadingRows", isSignal: true, isRequired: false, transformFunction: null }, rowHover: { classPropertyName: "rowHover", publicName: "rowHover", isSignal: true, isRequired: false, transformFunction: null }, pinRows: { classPropertyName: "pinRows", publicName: "pinRows", isSignal: true, isRequired: false, transformFunction: null }, pinColumns: { classPropertyName: "pinColumns", publicName: "pinColumns", isSignal: true, isRequired: false, transformFunction: null }, zebra: { classPropertyName: "zebra", publicName: "zebra", isSignal: true, isRequired: false, transformFunction: null }, bordered: { classPropertyName: "bordered", publicName: "bordered", isSignal: true, isRequired: false, transformFunction: null }, paginatorType: { classPropertyName: "paginatorType", publicName: "paginatorType", isSignal: true, isRequired: false, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, pagination: { classPropertyName: "pagination", publicName: "pagination", isSignal: true, isRequired: false, transformFunction: null }, maxSize: { classPropertyName: "maxSize", publicName: "maxSize", isSignal: true, isRequired: false, transformFunction: null }, hasActiveFiltersCallback: { classPropertyName: "hasActiveFiltersCallback", publicName: "hasActiveFiltersCallback", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pageChanged: "pageChanged", pageSizeChanged: "pageSizeChanged" }, providers: [DataTableContextService], queries: [{ propertyName: "customEmptyState", first: true, predicate: TABLE_EMPTY_STATE, isSignal: true }], ngImport: i0, template: "<div [class]=\"containerClass()\">\n\t<span role=\"status\" class=\"sr-only\">\n\t\t@if (loading()) {\n\t\t\t{{ 'sdk.dataTable.loading' | translate }}\n\t\t}\n\t</span>\n\t<!-- Table container -->\n\t<div [class]=\"tableContainerClass()\">\n\t\t<div class=\"w-full\">\n\t\t\t@if (customEmptyState() && (showNoData() || showNoResults())) {\n\t\t\t\t<ng-content select=\"st-empty-state\"></ng-content>\n\t\t\t} @else if (showNoData()) {\n\t\t\t\t<!-- No data state -->\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-muted\">\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-muted\">{{ 'sdk.dataTable.noData.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noData.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (showNoResults()) {\n\t\t\t\t<!-- No results from filters state -->\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-muted\">\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-muted\">{{ 'sdk.dataTable.noResults.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.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-data-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]=\"tableClass()\" [attr.aria-busy]=\"loading() || null\">\n\t\t\t\t\t<ng-content select=\"caption, colgroup\"></ng-content>\n\t\t\t\t\t<ng-content select=\"thead\"></ng-content>\n\t\t\t\t\t@if (loading()) {\n\t\t\t\t\t\t<tbody data-st-skeleton aria-hidden=\"true\">\n\t\t\t\t\t\t\t@for (row of skeletonRows(); track row) {\n\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t@for (column of skeletonColumns(); track column) {\n\t\t\t\t\t\t\t\t\t\t<td><div [class]=\"skeletonClass()\"></div></td>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</tbody>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t\t}\n\t\t\t\t</table>\n\t\t\t}\n\t\t</div>\n\t</div>\n\n\t<!-- Pagination from showcase -->\n\t<div [class]=\"footerWrapperClass()\">\n\t\t<!-- Divider -->\n\t\t<div [class]=\"footerDividerClass()\"></div>\n\t\t<!-- Paginator Container -->\n\t\t<div [class]=\"footerContentClass()\">\n\t\t\t<!-- Entries range text -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<span [stText]=\"paginatorTextSize()\">{{ 'sdk.dataTable.entriesRange' | translate: { range: paginationRange(), total: totalItems() } }}</span>\n\t\t\t</div>\n\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"flex justify-center\">\n\t\t\t\t<st-paginator\n\t\t\t\t\t[pages]=\"totalPages()\"\n\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t[size]=\"footerPaginatorSize()\"\n\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\ttype=\"default\"\n\t\t\t\t\t(pageChanged)=\"handlePageChange($event)\"\n\t\t\t\t></st-paginator>\n\t\t\t</div>\n\n\t\t\t<!-- Entries per page dropdown -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<label class=\"sr-only\" [for]=\"pageSizeSelectId\">{{ 'sdk.dataTable.entriesByPage' | translate }}</label>\n\t\t\t\t<st-select\n\t\t\t\t\t[options]=\"entriesPerPageOptions()\"\n\t\t\t\t\t[inputId]=\"pageSizeSelectId\"\n\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\tvalueKey=\"value\"\n\t\t\t\t\tdisplayKey=\"text\"\n\t\t\t\t\t[size]=\"footerSelectSize()\"\n\t\t\t\t\t(valueUpdated)=\"handlePageSizeChange($event)\"\n\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\tfitOptions\n\t\t\t\t\t[allowClear]=\"false\"\n\t\t\t\t></st-select>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: PaginatorComponent, selector: "st-paginator", inputs: ["paginatorId", "maxSize", "type", "pages", "size", "currentPage"], outputs: ["pageChanged", "currentPageChange"] }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }, { kind: "component", type: SelectComponent, selector: "st-select", inputs: ["variant", "size", "showOptional", "optionalText", "required", "ghost", "name", "inputId", "placeholder", "label", "value", "options", "displayKey", "valueKey", "disabledKey", "descriptionKey", "groupKey", "checkedKey", "allowClear", "panelWidth", "fitOptions", "parentForm", "formControlName", "disabled", "stopPropagation"], outputs: ["valueChange", "disabledChange", "blurred", "valueUpdated", "clicked", "keyDownEnter", "keyDownSpace", "triggered"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon", "ariaLabel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1332
1335
|
}
|
|
1333
1336
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DataTableContainerComponent, decorators: [{
|
|
1334
1337
|
type: Component,
|
|
1335
|
-
args: [{ selector: 'st-data-table', imports: [CommonModule, PaginatorComponent, TextDirective, SelectComponent, TranslatePipe, IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, providers: [DataTableContextService], template: "<div [class]=\"containerClass()\">\n\t<span role=\"status\" class=\"sr-only\">\n\t\t@if (loading()) {\n\t\t\t{{ 'sdk.dataTable.loading' | translate }}\n\t\t}\n\t</span>\n\t<!-- Table container -->\n\t<div [class]=\"tableContainerClass()\">\n\t\t<div class=\"w-full\">\n\t\t\t@if (customEmptyState() && (showNoData() || showNoResults())) {\n\t\t\t\t<ng-content select=\"st-empty-state\"></ng-content>\n\t\t\t} @else if (showNoData()) {\n\t\t\t\t<!-- No data state -->\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-muted\">\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-muted\">{{ 'sdk.dataTable.noData.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noData.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (showNoResults()) {\n\t\t\t\t<!-- No results from filters state -->\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-muted\">\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-muted\">{{ 'sdk.dataTable.noResults.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.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-data-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]=\"tableClass()\" [attr.aria-busy]=\"loading() || null\">\n\t\t\t\t\t<ng-content select=\"caption, colgroup\"></ng-content>\n\t\t\t\t\t<ng-content select=\"thead\"></ng-content>\n\t\t\t\t\t@if (loading()) {\n\t\t\t\t\t\t<tbody data-st-skeleton aria-hidden=\"true\">\n\t\t\t\t\t\t\t@for (row of skeletonRows(); track row) {\n\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t@for (column of skeletonColumns(); track column) {\n\t\t\t\t\t\t\t\t\t\t<td><div [class]=\"skeletonClass()\"></div></td>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</tbody>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t\t}\n\t\t\t\t</table>\n\t\t\t}\n\t\t</div>\n\t</div>\n\n\t<!-- Pagination from showcase -->\n\t<div [class]=\"footerWrapperClass()\">\n\t\t<!-- Divider -->\n\t\t<div [class]=\"footerDividerClass()\"></div>\n\t\t<!-- Paginator Container -->\n\t\t<div [class]=\"footerContentClass()\">\n\t\t\t<!-- Entries range text -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<span [stText]=\"paginatorTextSize()\">{{ 'sdk.dataTable.entriesRange' | translate: { range: paginationRange(), total: totalItems() } }}</span>\n\t\t\t</div>\n\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"flex justify-center\">\n\t\t\t\t<st-paginator\n\t\t\t\t\t[pages]=\"totalPages()\"\n\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t[size]=\"footerPaginatorSize()\"\n\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\ttype=\"default\"\n\t\t\t\t\t(pageChanged)=\"handlePageChange($event)\"\n\t\t\t\t></st-paginator>\n\t\t\t</div>\n\n\t\t\t<!-- Entries per page dropdown -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<
|
|
1338
|
+
args: [{ selector: 'st-data-table', imports: [CommonModule, PaginatorComponent, TextDirective, SelectComponent, TranslatePipe, IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, providers: [DataTableContextService], template: "<div [class]=\"containerClass()\">\n\t<span role=\"status\" class=\"sr-only\">\n\t\t@if (loading()) {\n\t\t\t{{ 'sdk.dataTable.loading' | translate }}\n\t\t}\n\t</span>\n\t<!-- Table container -->\n\t<div [class]=\"tableContainerClass()\">\n\t\t<div class=\"w-full\">\n\t\t\t@if (customEmptyState() && (showNoData() || showNoResults())) {\n\t\t\t\t<ng-content select=\"st-empty-state\"></ng-content>\n\t\t\t} @else if (showNoData()) {\n\t\t\t\t<!-- No data state -->\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-muted\">\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-muted\">{{ 'sdk.dataTable.noData.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noData.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (showNoResults()) {\n\t\t\t\t<!-- No results from filters state -->\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-muted\">\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-muted\">{{ 'sdk.dataTable.noResults.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.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-data-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]=\"tableClass()\" [attr.aria-busy]=\"loading() || null\">\n\t\t\t\t\t<ng-content select=\"caption, colgroup\"></ng-content>\n\t\t\t\t\t<ng-content select=\"thead\"></ng-content>\n\t\t\t\t\t@if (loading()) {\n\t\t\t\t\t\t<tbody data-st-skeleton aria-hidden=\"true\">\n\t\t\t\t\t\t\t@for (row of skeletonRows(); track row) {\n\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t@for (column of skeletonColumns(); track column) {\n\t\t\t\t\t\t\t\t\t\t<td><div [class]=\"skeletonClass()\"></div></td>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</tbody>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t\t}\n\t\t\t\t</table>\n\t\t\t}\n\t\t</div>\n\t</div>\n\n\t<!-- Pagination from showcase -->\n\t<div [class]=\"footerWrapperClass()\">\n\t\t<!-- Divider -->\n\t\t<div [class]=\"footerDividerClass()\"></div>\n\t\t<!-- Paginator Container -->\n\t\t<div [class]=\"footerContentClass()\">\n\t\t\t<!-- Entries range text -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<span [stText]=\"paginatorTextSize()\">{{ 'sdk.dataTable.entriesRange' | translate: { range: paginationRange(), total: totalItems() } }}</span>\n\t\t\t</div>\n\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"flex justify-center\">\n\t\t\t\t<st-paginator\n\t\t\t\t\t[pages]=\"totalPages()\"\n\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t[size]=\"footerPaginatorSize()\"\n\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\ttype=\"default\"\n\t\t\t\t\t(pageChanged)=\"handlePageChange($event)\"\n\t\t\t\t></st-paginator>\n\t\t\t</div>\n\n\t\t\t<!-- Entries per page dropdown -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<label class=\"sr-only\" [for]=\"pageSizeSelectId\">{{ 'sdk.dataTable.entriesByPage' | translate }}</label>\n\t\t\t\t<st-select\n\t\t\t\t\t[options]=\"entriesPerPageOptions()\"\n\t\t\t\t\t[inputId]=\"pageSizeSelectId\"\n\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\tvalueKey=\"value\"\n\t\t\t\t\tdisplayKey=\"text\"\n\t\t\t\t\t[size]=\"footerSelectSize()\"\n\t\t\t\t\t(valueUpdated)=\"handlePageSizeChange($event)\"\n\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\tfitOptions\n\t\t\t\t\t[allowClear]=\"false\"\n\t\t\t\t></st-select>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n" }]
|
|
1336
1339
|
}], ctorParameters: () => [] });
|
|
1337
1340
|
|
|
1338
1341
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sixbell-telco-sdk-components-data-table.mjs","sources":["../../../projects/sdk/components/data-table/src/data-table-context.service.ts","../../../projects/sdk/components/data-table/actions/actions.component.ts","../../../projects/sdk/components/data-table/data-table-empty-actions/data-table-empty-actions.component.ts","../../../projects/sdk/components/data-table/data-table-empty-actions/data-table-empty-actions.component.html","../../../projects/sdk/components/data-table/src/aria-sort.ts","../../../projects/sdk/components/data-table/src/sort-icon.component.ts","../../../projects/sdk/components/data-table/src/toggle-size.ts","../../../projects/sdk/components/data-table/sub-component-toggle/sub-component-toggle.component.ts","../../../projects/sdk/components/data-table/expandable/expandable.component.ts","../../../projects/sdk/components/data-table/selection/selection.component.ts","../../../projects/sdk/components/data-table/sortable-header/sortable-header.component.ts","../../../projects/sdk/components/data-table/src/data-table.component.ts","../../../projects/sdk/components/data-table/src/data-table.component.html","../../../projects/sdk/components/data-table/sixbell-telco-sdk-components-data-table.ts"],"sourcesContent":["import { computed, Injectable, Signal, signal } from '@angular/core';\nimport { TableContentSizeProps } from '@sixbell-telco/sdk/components/table';\n\n/**\n * Context service to share data table configuration with sub-components\n * This allows sub-components to automatically sync their sizes with the parent data table\n */\n@Injectable()\nexport class DataTableContextService {\n\tprivate readonly sizeSource = signal<Signal<TableContentSizeProps> | null>(null);\n\tprivate readonly fallbackSize = signal<TableContentSizeProps>('sm');\n\n\t/**\n\t * Current table size that sub-components read. It follows the bound data table size from the\n\t * first read on, so sub-components never render a default size before the table input applies.\n\t */\n\treadonly size = computed<TableContentSizeProps>(() => {\n\t\tconst source = this.sizeSource();\n\t\treturn source ? source() : this.fallbackSize();\n\t});\n\n\t/**\n\t * Bind the size to a signal, read lazily - called by the main data table component\n\t */\n\tbindSize(size: Signal<TableContentSizeProps>) {\n\t\tthis.sizeSource.set(size);\n\t}\n\n\t/**\n\t * Set a fixed size, replacing any bound size\n\t */\n\tsetSize(size: TableContentSizeProps) {\n\t\tthis.sizeSource.set(null);\n\t\tthis.fallbackSize.set(size);\n\t}\n}\n","import { ChangeDetectionStrategy, Component, computed, inject, input, output } from '@angular/core';\nimport { matMoreVert } from '@sixbell-telco/sdk/components/icon/material/baseline';\nimport { TableActionsComponent } from '@sixbell-telco/sdk/components/table';\nimport { type CellContext, injectFlexRenderContext, RowData } from '@tanstack/angular-table';\nimport { DataTableContextService } from '../src/data-table-context.service';\nimport { DataTableActionConfig, DataTableActionEvent, DataTableActionsMode, DataTableActionsSizeProps } from './actions.types';\n\n/**\n * Data-table actions component that auto-syncs with the parent data-table size\n * and provides row context from TanStack Table.\n *\n * @remarks\n * This component wraps `st-table-actions` for use within TanStack-based data tables.\n * It injects the flex render context to access the row data and the data table context\n * to automatically synchronize the action button sizes with the table size.\n *\n * @example\n * ```typescript\n * // In column definitions:\n * {\n * id: 'actions',\n * header: 'Actions',\n * enableSorting: false,\n * cell: () => flexRenderComponent(DataTableActionsComponent, {\n * inputs: { actions: this.userActions },\n * outputs: { actionTriggered: (event) => this.handleAction(event.action, event.row) },\n * }),\n * }\n * ```\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-actions',\n\timports: [TableActionsComponent],\n\ttemplate: `\n\t\t<st-table-actions\n\t\t\t[actions]=\"actions()\"\n\t\t\t[mode]=\"mode()\"\n\t\t\t[size]=\"actionsSize()\"\n\t\t\t[triggerIcon]=\"triggerIcon()\"\n\t\t\t(actionTriggered)=\"onActionClick($event)\"\n\t\t/>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableActionsComponent<T extends RowData> {\n\t/**\n\t * TanStack Table context injected by flexRender\n\t */\n\treadonly context = injectFlexRenderContext<CellContext<T, unknown>>();\n\n\t/**\n\t * Data table context for size synchronization\n\t */\n\treadonly dataTableContext = inject(DataTableContextService);\n\n\t/**\n\t * Array of action configurations.\n\t */\n\treadonly actions = input<DataTableActionConfig[]>([]);\n\n\t/**\n\t * Rendering mode for the actions.\n\t * @defaultValue 'inline'\n\t */\n\treadonly mode = input<DataTableActionsMode>('inline');\n\n\t/**\n\t * Icon for the dropdown trigger button.\n\t * @defaultValue matMoreVert (Material vertical dots icon)\n\t */\n\treadonly triggerIcon = input<string>(matMoreVert);\n\n\t/**\n\t * Emitted when an action is triggered. Includes both the action config and the row data.\n\t */\n\treadonly actionTriggered = output<DataTableActionEvent<T>>();\n\n\t/**\n\t * @internal\n\t * Computed action size synchronized with the parent data-table size.\n\t */\n\treadonly actionsSize = computed<DataTableActionsSizeProps>(() => {\n\t\tconst tableSize = this.dataTableContext.size();\n\t\tswitch (tableSize) {\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 'xl';\n\t\t\tdefault:\n\t\t\t\treturn 'md';\n\t\t}\n\t});\n\n\t/**\n\t * @internal\n\t * Handles action click from the inner st-table-actions and emits with row context.\n\t */\n\tonActionClick(action: DataTableActionConfig): void {\n\t\tthis.actionTriggered.emit({ action, row: this.context.row.original });\n\t}\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-data-table-empty-actions',\n\tstandalone: true,\n\timports: [CommonModule],\n\ttemplateUrl: './data-table-empty-actions.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableEmptyActionsComponent {}\n","<ng-content></ng-content>\n","import { afterRenderEffect, DestroyRef, ElementRef, inject, Signal } from '@angular/core';\n\n/** Sort state of a TanStack column, as returned by `column.getIsSorted()`. */\nexport type DataTableSortState = 'asc' | 'desc' | false;\n\n/** Value for the `aria-sort` attribute of a column header. */\nexport type DataTableAriaSort = 'ascending' | 'descending';\n\n/**\n * Maps a TanStack sort state to the `aria-sort` value of its column header.\n *\n * Returns `null` for an unsorted column so `[attr.aria-sort]` removes the attribute:\n * ARIA asks for `aria-sort` on the sorted header only.\n *\n * @example\n * ```html\n * <th [attr.aria-sort]=\"getDataTableAriaSort(header.column.getIsSorted())\">...</th>\n * ```\n */\nexport function getDataTableAriaSort(state: DataTableSortState | null | undefined): DataTableAriaSort | null {\n\tif (state === 'asc') return 'ascending';\n\tif (state === 'desc') return 'descending';\n\treturn null;\n}\n\n/**\n * @internal\n * Keeps `aria-sort` on the closest column header (`th` or `[role=columnheader]`) of the host element in sync.\n */\nexport function syncClosestHeaderAriaSort(state: Signal<DataTableSortState>, enabled: Signal<boolean>): void {\n\tconst host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n\tlet header: Element | null = null;\n\tlet written: string | null = null;\n\n\tconst clear = () => {\n\t\tif (header && written !== null && header.getAttribute('aria-sort') === written) {\n\t\t\theader.removeAttribute('aria-sort');\n\t\t}\n\t\twritten = null;\n\t};\n\n\tafterRenderEffect({\n\t\twrite: () => {\n\t\t\tconst value = enabled() ? getDataTableAriaSort(state()) : null;\n\t\t\tconst closest = host.closest('th, [role=\"columnheader\"]');\n\t\t\tif (closest !== header) {\n\t\t\t\tclear();\n\t\t\t\theader = closest;\n\t\t\t}\n\t\t\tif (!header) return;\n\t\t\tif (value === null) {\n\t\t\t\tclear();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\theader.setAttribute('aria-sort', value);\n\t\t\twritten = value;\n\t\t},\n\t});\n\n\tinject(DestroyRef).onDestroy(clear);\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { IconComponent, IconSizeProps } from '@sixbell-telco/sdk/components/icon';\nimport { matArrowUpward, matSwapVert } from '@sixbell-telco/sdk/components/icon/material/baseline';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { DataTableSortState } from './aria-sort';\n\nconst GLYPH_CLASS = 'col-start-1 row-start-1 inline-flex transition-[opacity,rotate] duration-200 ease-in-out motion-reduce:transition-none';\n\n/**\n * @internal\n * Sort glyph shared by the sortable headers. The neutral glyph and the arrow are stacked boxes that\n * cross-fade, and the arrow rotates to point down for descending. The `st-icon` host is `display: contents`,\n * so the transitions run on wrapping spans. The arrow keeps its last direction while it fades out.\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-sort-icon',\n\timports: [IconComponent],\n\ttemplate: `\n\t\t<span data-st-sort-icon [attr.data-sort]=\"dataSort()\" aria-hidden=\"true\" class=\"inline-grid place-items-center\">\n\t\t\t<span data-st-sort-glyph=\"none\" [class]=\"neutralClass()\">\n\t\t\t\t<st-icon [icon]=\"iconDefaultSort\" [size]=\"size()\"></st-icon>\n\t\t\t</span>\n\t\t\t<span data-st-sort-glyph=\"arrow\" [class]=\"arrowClass()\">\n\t\t\t\t<st-icon [icon]=\"iconAscending\" [size]=\"size()\"></st-icon>\n\t\t\t</span>\n\t\t</span>\n\t`,\n\thost: { class: 'contents' },\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableSortIconComponent {\n\treadonly sortState = input<DataTableSortState>(false);\n\n\treadonly size = input<IconSizeProps>('xs');\n\n\treadonly iconDefaultSort = matSwapVert;\n\n\treadonly iconAscending = matArrowUpward;\n\n\tprivate lastDirection: 'asc' | 'desc' = 'asc';\n\n\tprivate readonly direction = computed(() => {\n\t\tconst state = this.sortState();\n\t\tif (state) this.lastDirection = state;\n\t\treturn this.lastDirection;\n\t});\n\n\treadonly dataSort = computed(() => {\n\t\tswitch (this.sortState()) {\n\t\t\tcase 'asc':\n\t\t\t\treturn 'ascending';\n\t\t\tcase 'desc':\n\t\t\t\treturn 'descending';\n\t\t\tdefault:\n\t\t\t\treturn 'none';\n\t\t}\n\t});\n\n\treadonly neutralClass = computed(() => cn(GLYPH_CLASS, this.sortState() ? 'opacity-0' : 'opacity-100'));\n\n\treadonly arrowClass = computed(() => cn(GLYPH_CLASS, this.sortState() ? 'opacity-100' : 'opacity-0', this.direction() === 'desc' && 'rotate-180'));\n}\n","import { ButtonSizeProps } from '@sixbell-telco/sdk/components/button';\nimport { IconSizeProps } from '@sixbell-telco/sdk/components/icon';\nimport { resolveTableSize, TableContentSizeProps, TableResolvedSize } from '@sixbell-telco/sdk/components/table';\n\nconst TOGGLE_BUTTON_SIZE: Record<TableResolvedSize, ButtonSizeProps> = { xs: 'xs', sm: 'xs', md: 'sm', lg: 'sm', xl: 'md' };\n\nconst TOGGLE_ICON_SIZE: Record<TableResolvedSize, IconSizeProps> = { xs: 'xs', sm: 'xs', md: 'sm', lg: 'sm', xl: 'md' };\n\n/** @internal Button size of the expand toggles for a data table size */\nexport function getToggleButtonSize(size: TableContentSizeProps): ButtonSizeProps {\n\treturn TOGGLE_BUTTON_SIZE[resolveTableSize(size)];\n}\n\n/** @internal Icon size of the expand and sort toggles for a data table size */\nexport function getToggleIconSize(size: TableContentSizeProps): IconSizeProps {\n\treturn TOGGLE_ICON_SIZE[resolveTableSize(size)];\n}\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, input, output } from '@angular/core';\nimport { ButtonComponent } from '@sixbell-telco/sdk/components/button';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matInfo, matKeyboardArrowDown } from '@sixbell-telco/sdk/components/icon/material/baseline';\nimport { TranslatePipe } from '@sixbell-telco/sdk/utils/translation';\nimport { Row, RowData } from '@tanstack/angular-table';\n\n/**\n * Toggle cell that shows or hides a custom sub-component (detail row) for its row.\n *\n * @remarks\n * Rows that can show details get an icon-only toggle named by `sdk.dataTable.showDetails`, with\n * `aria-expanded` on the inner button. Other rows get a disabled info button named by\n * `sdk.dataTable.detailsUnavailable`. The click does not reach the row, so row click handlers do not fire.\n * `st-data-table-sub-toggle-cell` renders this component.\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-sub-component-toggle-cell',\n\timports: [CommonModule, IconComponent, ButtonComponent, TranslatePipe],\n\ttemplate: `\n\t\t@if (canToggleSubComponent()) {\n\t\t\t<st-button\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\tsize=\"xs\"\n\t\t\t\t[circle]=\"true\"\n\t\t\t\t[ghost]=\"true\"\n\t\t\t\t[stopPropagation]=\"true\"\n\t\t\t\t(triggered)=\"toggled.emit(row().id)\"\n\t\t\t\t[ariaLabel]=\"'sdk.dataTable.showDetails' | translate\"\n\t\t\t\t[ariaExpanded]=\"isExpanded()\"\n\t\t\t>\n\t\t\t\t<span data-st-chevron class=\"inline-flex\" [class.is-open]=\"isExpanded()\">\n\t\t\t\t\t<st-icon [icon]=\"iconChevronDown\" size=\"sm\"></st-icon>\n\t\t\t\t</span>\n\t\t\t</st-button>\n\t\t} @else {\n\t\t\t<st-button\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\tsize=\"xs\"\n\t\t\t\t[circle]=\"true\"\n\t\t\t\t[ghost]=\"true\"\n\t\t\t\t[ariaLabel]=\"'sdk.dataTable.detailsUnavailable' | translate\"\n\t\t\t\t[disabled]=\"true\"\n\t\t\t>\n\t\t\t\t<st-icon [icon]=\"iconInfo\" size=\"sm\"></st-icon>\n\t\t\t</st-button>\n\t\t}\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableSubComponentToggleCellComponent<T extends RowData> {\n\t/** The table row instance */\n\treadonly row = input.required<Row<T>>();\n\n\t/** Whether the sub-component of this row is shown */\n\treadonly isExpanded = input.required<boolean>();\n\n\t/** Emits the row id when the toggle is pressed */\n\treadonly toggled = output<string>();\n\n\t/** Whether this row has a sub-component to show */\n\treadonly canToggleSubComponent = input(false, { transform: booleanAttribute });\n\n\treadonly iconChevronDown = matKeyboardArrowDown;\n\treadonly iconInfo = matInfo;\n}\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, inject, input, output } from '@angular/core';\nimport { ButtonComponent, ButtonSizeProps } from '@sixbell-telco/sdk/components/button';\nimport { IconComponent, IconSizeProps } from '@sixbell-telco/sdk/components/icon';\nimport { matArrowUpward, matInfo, matKeyboardArrowDown, matSwapVert } from '@sixbell-telco/sdk/components/icon/material/baseline';\nimport { getTableSizeTokens } from '@sixbell-telco/sdk/components/table';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { TranslatePipe } from '@sixbell-telco/sdk/utils/translation';\nimport { injectFlexRenderContext, RowData, type CellContext, type HeaderContext, type Row } from '@tanstack/angular-table';\nimport { syncClosestHeaderAriaSort } from '../src/aria-sort';\nimport { DataTableContextService } from '../src/data-table-context.service';\nimport { DataTableSortIconComponent } from '../src/sort-icon.component';\nimport { getToggleButtonSize, getToggleIconSize } from '../src/toggle-size';\nimport { DataTableSubComponentToggleCellComponent } from '../sub-component-toggle/sub-component-toggle.component';\n\n/**\n * Expandable cell component that shows row data and expand/collapse toggle\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-expandable-cell',\n\timports: [CommonModule, IconComponent, ButtonComponent, TranslatePipe],\n\ttemplate: `\n\t\t<div [style.--depth]=\"row.depth\" class=\"flex items-center gap-1\">\n\t\t\t@if (row.getCanExpand()) {\n\t\t\t\t<st-button\n\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\t[size]=\"buttonSize()\"\n\t\t\t\t\t[square]=\"true\"\n\t\t\t\t\t[link]=\"true\"\n\t\t\t\t\t[stopPropagation]=\"true\"\n\t\t\t\t\t(triggered)=\"row.getToggleExpandedHandler()()\"\n\t\t\t\t\t[ariaLabel]=\"'sdk.dataTable.expandRow' | translate\"\n\t\t\t\t\t[ariaExpanded]=\"row.getIsExpanded()\"\n\t\t\t\t>\n\t\t\t\t\t<span data-st-chevron class=\"inline-flex\" [class.is-open]=\"row.getIsExpanded()\">\n\t\t\t\t\t\t<st-icon [icon]=\"iconChevronDown\" [size]=\"iconSize()\"></st-icon>\n\t\t\t\t\t</span>\n\t\t\t\t</st-button>\n\t\t\t} @else {\n\t\t\t\t<!-- Same box as the toggle, kept out of the tab order and the accessibility tree, so the column stays aligned -->\n\t\t\t\t<span data-st-expander-spacer aria-hidden=\"true\" class=\"invisible inline-flex\">\n\t\t\t\t\t<st-button variant=\"base\" [size]=\"buttonSize()\" [square]=\"true\" [link]=\"true\" [disabled]=\"true\">\n\t\t\t\t\t\t<st-icon [icon]=\"iconChevronDown\" [size]=\"iconSize()\"></st-icon>\n\t\t\t\t\t</st-button>\n\t\t\t\t</span>\n\t\t\t}\n\t\t\t<span>{{ context.getValue() }}</span>\n\t\t</div>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstyles: `\n\t\t:host > div {\n\t\t\tpadding-inline-start: calc(2rem * var(--depth, 0));\n\t\t}\n\t`,\n})\nexport class DataTableExpandableCellComponent<T extends RowData> {\n\t/**\n\t * TanStack Table context injected by flexRender\n\t */\n\tcontext = injectFlexRenderContext<CellContext<T, unknown>>();\n\n\t/**\n\t * Data table context for size synchronization\n\t */\n\tdataTableContext = inject(DataTableContextService);\n\n\t/**\n\t * Get the row instance from context\n\t */\n\tget row() {\n\t\treturn this.context.row;\n\t}\n\n\t/** @internal */\n\treadonly iconChevronDown = matKeyboardArrowDown;\n\n\t/**\n\t * @internal\n\t * Computes button size based on data table size\n\t */\n\treadonly buttonSize = computed<ButtonSizeProps>(() => getToggleButtonSize(this.dataTableContext.size()));\n\n\t/**\n\t * @internal\n\t * Computes icon size based on data table size\n\t */\n\treadonly iconSize = computed<IconSizeProps>(() => getToggleIconSize(this.dataTableContext.size()));\n}\n\n/**\n * Expandable header cell component with sorting capability and expand all functionality\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-expandable-header-cell',\n\timports: [CommonModule, ButtonComponent, TextDirective, TranslatePipe, IconComponent, DataTableSortIconComponent],\n\ttemplate: `\n\t\t<div class=\"inline-flex items-center gap-1\">\n\t\t\t<st-button\n\t\t\t\tvariant=\"base\"\n\t\t\t\t[size]=\"buttonSize()\"\n\t\t\t\t[square]=\"true\"\n\t\t\t\t[link]=\"true\"\n\t\t\t\t[stopPropagation]=\"true\"\n\t\t\t\t(triggered)=\"context.table.toggleAllRowsExpanded()\"\n\t\t\t\t[ariaLabel]=\"'sdk.dataTable.expandAllRows' | translate\"\n\t\t\t\t[ariaExpanded]=\"context.table.getIsAllRowsExpanded()\"\n\t\t\t>\n\t\t\t\t<span data-st-chevron class=\"inline-flex\" [class.is-open]=\"context.table.getIsAllRowsExpanded()\">\n\t\t\t\t\t<st-icon [icon]=\"iconChevronDown\" [size]=\"iconSize()\"></st-icon>\n\t\t\t\t</span>\n\t\t\t</st-button>\n\t\t\t<span [stText]=\"labelPreset()\" class=\"font-heading font-semibold\">{{ label() }}</span>\n\t\t\t<!-- Button for sorting -->\n\t\t\t@if (canSort()) {\n\t\t\t\t<st-button\n\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t[size]=\"buttonSize()\"\n\t\t\t\t\t[square]=\"true\"\n\t\t\t\t\t[ghost]=\"true\"\n\t\t\t\t\t[stopPropagation]=\"true\"\n\t\t\t\t\t(triggered)=\"sortToggle.emit()\"\n\t\t\t\t\t[ariaLabel]=\"'sdk.dataTable.sortBy' | translate: { column: label() }\"\n\t\t\t\t>\n\t\t\t\t\t<st-data-table-sort-icon [sortState]=\"sortState()\" [size]=\"iconSize()\"></st-data-table-sort-icon>\n\t\t\t\t</st-button>\n\t\t\t}\n\t\t</div>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableExpandableHeaderCellComponent<T extends RowData> {\n\t/**\n\t * TanStack Table context injected by flexRender\n\t */\n\treadonly context = injectFlexRenderContext<HeaderContext<T, unknown>>();\n\n\t/**\n\t * Data table context for size synchronization\n\t */\n\treadonly dataTableContext = inject(DataTableContextService);\n\n\t/**\n\t * Display label for the column\n\t */\n\treadonly label = input.required<string>();\n\n\t/**\n\t * Whether this column can be sorted\n\t */\n\treadonly canSort = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Current sort state of the column\n\t */\n\treadonly sortState = input<'asc' | 'desc' | false>(false);\n\n\t/**\n\t * Event emitted when sort toggle is requested\n\t */\n\treadonly sortToggle = output<void>();\n\n\t/**\n\t * Set `aria-sort` on the closest column header while the column is sorted\n\t * @defaultValue true\n\t */\n\treadonly syncHeaderAriaSort = input(true, { transform: booleanAttribute });\n\n\tconstructor() {\n\t\tsyncClosestHeaderAriaSort(\n\t\t\tthis.sortState,\n\t\t\tcomputed(() => this.canSort() && this.syncHeaderAriaSort()),\n\t\t);\n\t}\n\n\t/**\n\t * Get the table instance from context\n\t */\n\tget table() {\n\t\treturn this.context.table;\n\t}\n\n\t/** @internal */\n\treadonly iconChevronDown = matKeyboardArrowDown;\n\n\t/** @internal */\n\treadonly iconDefaultSort = matSwapVert;\n\n\t/** @internal */\n\treadonly iconAscending = matArrowUpward;\n\n\t/**\n\t * @internal\n\t * Computes button size based on data table size\n\t */\n\treadonly buttonSize = computed<ButtonSizeProps>(() => getToggleButtonSize(this.dataTableContext.size()));\n\n\t/**\n\t * @internal\n\t * Computes icon size based on data table size\n\t */\n\treadonly iconSize = computed<IconSizeProps>(() => getToggleIconSize(this.dataTableContext.size()));\n\n\t/**\n\t * @internal\n\t * Typography preset of the column label, matching the table header cells\n\t */\n\treadonly labelPreset = computed<TextPreset>(() => getTableSizeTokens(this.dataTableContext.size()).headerPreset);\n\n\t/**\n\t * @internal\n\t * Computes the appropriate icon based on current sort state\n\t */\n\treadonly currentSortIcon = computed(() => {\n\t\tswitch (this.sortState()) {\n\t\t\tcase 'asc':\n\t\t\tcase 'desc':\n\t\t\t\treturn this.iconAscending;\n\t\t\tdefault:\n\t\t\t\treturn this.iconDefaultSort;\n\t\t}\n\t});\n\n\t/**\n\t * @internal\n\t * Computes aria-sort attribute for accessibility\n\t */\n\treadonly computedAriaSortAttribute = computed<'ascending' | 'descending' | 'none'>(() => {\n\t\tswitch (this.sortState()) {\n\t\t\tcase 'asc':\n\t\t\t\treturn 'ascending';\n\t\t\tcase 'desc':\n\t\t\t\treturn 'descending';\n\t\t\tdefault:\n\t\t\t\treturn 'none';\n\t\t}\n\t});\n}\n\n/**\n * Sub-component toggle cell for controlling custom sub-component visibility.\n * Renders `st-data-table-sub-component-toggle-cell`; both selectors behave the same.\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-sub-toggle-cell',\n\timports: [DataTableSubComponentToggleCellComponent],\n\ttemplate: `\n\t\t<st-data-table-sub-component-toggle-cell\n\t\t\t[row]=\"row()\"\n\t\t\t[isExpanded]=\"isExpanded()\"\n\t\t\t[canToggleSubComponent]=\"canToggleSubComponent()\"\n\t\t\t(toggled)=\"toggled.emit($event)\"\n\t\t></st-data-table-sub-component-toggle-cell>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableSubToggleCellComponent {\n\t/**\n\t * The table row instance\n\t */\n\treadonly row = input.required<Row<unknown>>();\n\n\t/**\n\t * Whether the sub-component is currently expanded\n\t */\n\treadonly isExpanded = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Whether this row can toggle a sub-component\n\t */\n\treadonly canToggleSubComponent = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Event emitted when toggle is clicked\n\t */\n\treadonly toggled = output<string>();\n\n\t/** @internal */\n\treadonly expandIcon = matKeyboardArrowDown;\n\n\t/** @internal */\n\treadonly infoIcon = matInfo;\n\n\t/**\n\t * @internal\n\t * Handles the toggle click\n\t */\n\thandleToggle() {\n\t\tthis.toggled.emit(this.row().id);\n\t}\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';\nimport { CheckboxComponent } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { type CellContext, type HeaderContext, injectFlexRenderContext, RowData } from '@tanstack/angular-table';\nimport { DataTableContextService } from '../src/data-table-context.service';\n\n/**\n * Header checkbox component for selecting/deselecting all rows on current page\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-head-selection',\n\timports: [CheckboxComponent, CommonModule],\n\ttemplate: `\n\t\t<st-checkbox\n\t\t\t[value]=\"context.table.getIsAllPageRowsSelected()\"\n\t\t\t(valueUpdated)=\"context.table.toggleAllPageRowsSelected()\"\n\t\t\t[size]=\"checkboxSize()\"\n\t\t></st-checkbox>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableHeadSelectionComponent<T extends RowData> {\n\t/**\n\t * TanStack Table context injected by flexRender\n\t */\n\tcontext = injectFlexRenderContext<HeaderContext<T, unknown>>();\n\n\t/**\n\t * Data table context for size synchronization\n\t */\n\treadonly dataTableContext = inject(DataTableContextService);\n\n\t/**\n\t * Computed checkbox size based on table size\n\t */\n\treadonly checkboxSize = computed(() => {\n\t\tconst tableSize = this.dataTableContext.size();\n\t\tswitch (tableSize) {\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\n/**\n * Row checkbox component for individual row selection\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-row-selection',\n\timports: [CheckboxComponent, CommonModule],\n\ttemplate: `\n\t\t<st-checkbox\n\t\t\t[value]=\"context.row.getIsSelected()\"\n\t\t\t[disabled]=\"!context.row.getCanSelect()\"\n\t\t\t(valueUpdated)=\"context.row.toggleSelected()\"\n\t\t\t[size]=\"checkboxSize()\"\n\t\t></st-checkbox>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableRowSelectionComponent<T extends RowData> {\n\t/**\n\t * TanStack Table context injected by flexRender\n\t */\n\tcontext = injectFlexRenderContext<CellContext<T, unknown>>();\n\n\t/**\n\t * Data table context for size synchronization\n\t */\n\treadonly dataTableContext = inject(DataTableContextService);\n\n\t/**\n\t * Computed checkbox size based on table size\n\t */\n\treadonly checkboxSize = computed(() => {\n\t\tconst tableSize = this.dataTableContext.size();\n\t\tswitch (tableSize) {\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","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, inject, input, output } from '@angular/core';\nimport { ButtonComponent, ButtonSizeProps } from '@sixbell-telco/sdk/components/button';\nimport { IconSizeProps } from '@sixbell-telco/sdk/components/icon';\nimport { matArrowUpward, matSwapVert } from '@sixbell-telco/sdk/components/icon/material/baseline';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { TranslatePipe } from '@sixbell-telco/sdk/utils/translation';\nimport { syncClosestHeaderAriaSort } from '../src/aria-sort';\nimport { DataTableContextService } from '../src/data-table-context.service';\nimport { DataTableSortIconComponent } from '../src/sort-icon.component';\n\n/**\n * Sortable header component for data table columns\n *\n * @remarks\n * Render it inside the column's `th`. It sets `aria-sort` on that closest `th` (or `[role=columnheader]`)\n * while the column is sorted and removes it when the column is unsorted. Set `syncHeaderAriaSort` to `false`\n * to manage the attribute yourself with {@link getDataTableAriaSort}.\n *\n * The icon cross-fades between the neutral sort glyph (unsorted) and an arrow that points up for ascending\n * and rotates to point down for descending. The transitions are skipped under `prefers-reduced-motion`.\n *\n * @example\n * ```typescript\n * flexRenderComponent(DataTableSortableHeaderComponent, {\n * inputs: {\n * label: 'Column Name',\n * sortState: column.getIsSorted(),\n * },\n * outputs: {\n * sortToggle: () => column.toggleSorting(),\n * },\n * })\n * ```\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-sortable-header',\n\timports: [CommonModule, ButtonComponent, TextDirective, TranslatePipe, DataTableSortIconComponent],\n\ttemplate: `\n\t\t<div class=\"inline-flex items-center gap-1\">\n\t\t\t<span [stText]=\"labelPreset()\" class=\"font-heading font-semibold\">{{ label() }}</span>\n\t\t\t<st-button\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t[size]=\"buttonSize()\"\n\t\t\t\t[square]=\"true\"\n\t\t\t\t[ghost]=\"true\"\n\t\t\t\t[stopPropagation]=\"true\"\n\t\t\t\t(triggered)=\"sortToggle.emit()\"\n\t\t\t\t[ariaLabel]=\"'sdk.dataTable.sortBy' | translate: { column: label() }\"\n\t\t\t>\n\t\t\t\t<st-data-table-sort-icon [sortState]=\"sortState()\" [size]=\"iconSize()\"></st-data-table-sort-icon>\n\t\t\t</st-button>\n\t\t</div>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableSortableHeaderComponent {\n\treadonly dataTableContext = inject(DataTableContextService);\n\n\t/**\n\t * Display label for the column\n\t */\n\treadonly label = input.required<string>();\n\n\t/**\n\t * Current sort state of the column\n\t */\n\treadonly sortState = input<'asc' | 'desc' | false>(false);\n\n\t/**\n\t * Event emitted when sort toggle is requested\n\t */\n\treadonly sortToggle = output<void>();\n\n\t/**\n\t * Set `aria-sort` on the closest column header while the column is sorted\n\t * @defaultValue true\n\t */\n\treadonly syncHeaderAriaSort = input(true, { transform: booleanAttribute });\n\n\tconstructor() {\n\t\tsyncClosestHeaderAriaSort(this.sortState, this.syncHeaderAriaSort);\n\t}\n\n\t/** @internal */\n\treadonly iconDefaultSort = matSwapVert;\n\n\t/** @internal */\n\treadonly iconAscending = matArrowUpward;\n\n\t/**\n\t * @internal\n\t * Computes button size based on data table size\n\t */\n\treadonly buttonSize = computed<ButtonSizeProps>(() => {\n\t\tswitch (this.dataTableContext.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn 'xs';\n\t\t\tcase 'sm':\n\t\t\t\treturn 'xs';\n\t\t\tcase 'md':\n\t\t\t\treturn 'sm';\n\t\t\tcase 'lg':\n\t\t\t\treturn 'md';\n\t\t\tcase 'xl':\n\t\t\t\treturn 'lg';\n\t\t\tdefault:\n\t\t\t\treturn 'xs';\n\t\t}\n\t});\n\n\t/**\n\t * @internal\n\t * Computes icon size based on data table size\n\t */\n\treadonly iconSize = computed<IconSizeProps>(() => {\n\t\tswitch (this.dataTableContext.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn 'xs';\n\t\t\tcase 'sm':\n\t\t\t\treturn 'xs';\n\t\t\tcase 'md':\n\t\t\t\treturn 'sm';\n\t\t\tcase 'lg':\n\t\t\t\treturn 'sm';\n\t\t\tcase 'xl':\n\t\t\t\treturn 'md';\n\t\t\tdefault:\n\t\t\t\treturn 'xs';\n\t\t}\n\t});\n\n\treadonly labelPreset = computed<TextPreset>(() => {\n\t\tswitch (this.dataTableContext.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn '9';\n\t\t\tcase 'sm':\n\t\t\t\treturn '8';\n\t\t\tcase 'md':\n\t\t\t\treturn '7';\n\t\t\tcase 'lg':\n\t\t\t\treturn '7';\n\t\t\tcase 'xl':\n\t\t\t\treturn '6';\n\t\t\tdefault:\n\t\t\t\treturn '8';\n\t\t}\n\t});\n\n\t/**\n\t * @internal\n\t * Computes the appropriate icon based on current sort state\n\t */\n\treadonly currentSortIcon = computed(() => {\n\t\tswitch (this.sortState()) {\n\t\t\tcase 'asc':\n\t\t\tcase 'desc':\n\t\t\t\treturn this.iconAscending;\n\t\t\tdefault:\n\t\t\t\treturn this.iconDefaultSort;\n\t\t}\n\t});\n\n\t/**\n\t * @internal\n\t * Computes aria-sort attribute for accessibility\n\t */\n\treadonly computedAriaSortAttribute = computed<'ascending' | 'descending' | 'none'>(() => {\n\t\tswitch (this.sortState()) {\n\t\t\tcase 'asc':\n\t\t\t\treturn 'ascending';\n\t\t\tcase 'desc':\n\t\t\t\treturn 'descending';\n\t\t\tdefault:\n\t\t\t\treturn 'none';\n\t\t}\n\t});\n}\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, contentChild, inject, input, output } from '@angular/core';\nimport { heroDocumentText } from '@ng-icons/heroicons/outline';\nimport { matSearchOff } from '@ng-icons/material-icons/baseline';\nimport { SelectComponent, SelectSizeProps } from '@sixbell-telco/sdk/components/forms/select';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { PaginationType, PaginatorComponent, PaginatorSizeProps } from '@sixbell-telco/sdk/components/paginator';\nimport {\n\tgetTableHierarchyTypographyClasses,\n\tgetTableSizeTokens,\n\tinjectTableLoadingSkeleton,\n\tresolveTableSize,\n\ttableContainer,\n\tTableContainerHeightProps,\n\tTableContentSizeProps,\n\tTableFooterLayoutTokens,\n\tTableResolvedSize,\n\tTableSizeTokens,\n} from '@sixbell-telco/sdk/components/table';\nimport { TABLE_EMPTY_STATE } from '@sixbell-telco/sdk/components/table/tokens';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { injectLabelTranslator, TranslatePipe, TranslateService } from '@sixbell-telco/sdk/utils/translation';\nimport { cva } from 'class-variance-authority';\nimport { DataTableContextService } from './data-table-context.service';\nimport { DataTablePagination } from './models';\n\nconst DATA_TABLE_FOOTER_LAYOUT_BY_SIZE: Record<TableResolvedSize, TableFooterLayoutTokens> = {\n\txs: {\n\t\twrapper: ['gap-2', 'pb-2'],\n\t\tdivider: ['px-3'],\n\t\tcontent: ['gap-2', 'px-3', '@2xl:gap-2'],\n\t},\n\tsm: {\n\t\twrapper: ['gap-2', '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\nfunction getDataTableFooterLayoutTokens(size: TableContentSizeProps): TableFooterLayoutTokens {\n\treturn DATA_TABLE_FOOTER_LAYOUT_BY_SIZE[resolveTableSize(size)];\n}\n\n/** Configuration object for data table styling variants */\nexport type DataTableVariantProps = {\n\tsize?: TableContentSizeProps;\n\tcontainerHeight?: TableContainerHeightProps;\n};\n\n/**\n * @internal\n * Generates data table classes with size and height variants\n */\nexport const dataTableContent = cva(\n\t[\n\t\t'table',\n\t\t'relative',\n\t\t'text-pretty',\n\t\t'[&_th]:bg-base-300 [&_th]:text-base-content',\n\t\t'[&_thead_td]:bg-base-300 [&_thead_td]:text-base-content',\n\t\t'[&_th]:px-4',\n\t\t'[&_td]:px-4',\n\t\t'[&_tbody_tr]:border-transparent',\n\t\t'rounded-t-box',\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\tdefaultVariants: {\n\t\t\tsize: 'sm',\n\t\t},\n\t},\n);\n\n/**\n * A styled container component for data tables - provides styling shell only\n *\n * This component is similar to st-table but with additional data table specific styling.\n * Users should compose their own table structure using TanStack Table and SDK components.\n *\n * @example\n * ```html\n * <st-data-table size=\"md\" height=\"lg\">\n * <table>\n * <thead>\n * <tr>\n * <th><st-data-table-sortable-header>Name</st-data-table-sortable-header></th>\n * </tr>\n * </thead>\n * <tbody>\n * <tr>\n * <td>John Doe</td>\n * </tr>\n * </tbody>\n * </table>\n * </st-data-table>\n * ```\n */\n@Component({\n\tselector: 'st-data-table',\n\timports: [CommonModule, PaginatorComponent, TextDirective, SelectComponent, TranslatePipe, IconComponent],\n\ttemplateUrl: './data-table.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tproviders: [DataTableContextService],\n})\nexport class DataTableContainerComponent {\n\treadonly translationService = inject(TranslateService);\n\treadonly dataTableContext = inject(DataTableContextService);\n\treadonly resolvedSize = computed<TableResolvedSize>(() => resolveTableSize(this.size()));\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 matSearchOff\n\t */\n\tnoResultsIcon = input<string>(matSearchOff);\n\n\t/**\n\t * Table size variant\n\t * @defaultValue 'sm'\n\t */\n\tsize = input<TableContentSizeProps>('sm');\n\n\t/**\n\t * Table container height preset, shared with `st-table`.\n\t * The container is the only scroll container, so `pinRows` keeps the header in view\n\t * when a fixed preset (`sm`, `md`, `lg`, `xl`) or `full` inside a sized parent limits the height.\n\t * @defaultValue 'auto'\n\t */\n\theight = input<TableContainerHeightProps>('auto');\n\n\tconstructor() {\n\t\tthis.dataTableContext.bindSize(this.resolvedSize);\n\t}\n\n\t/**\n\t * Show a loading state: the projected header and the table frame stay in place and the body\n\t * shows skeleton rows. The table is marked `aria-busy` and a status message is announced.\n\t * The empty states are not shown while loading.\n\t * @defaultValue false\n\t */\n\tloading = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Number of skeleton rows shown while loading. Defaults to the page size (`pagination.itemsPerPage`).\n\t * @defaultValue null\n\t */\n\tloadingRows = input<number | null>(null);\n\n\t/**\n\t * Highlight body rows on hover with the `--color-table-row-hover` tint (12% `base-content` by default)\n\t * layered over each cell's own background, so zebra rows and pinned first-column cells follow it\n\t * @defaultValue true\n\t */\n\trowHover = input(true, { transform: booleanAttribute });\n\n\tprivate readonly skeleton = injectTableLoadingSkeleton({\n\t\tloading: this.loading,\n\t\trowCount: computed(() => this.loadingRows() ?? this.pagination().itemsPerPage),\n\t\tsize: this.resolvedSize,\n\t});\n\n\t/** @internal */\n\treadonly skeletonRows = this.skeleton.rows;\n\n\t/** @internal */\n\treadonly skeletonColumns = this.skeleton.columns;\n\n\t/** @internal */\n\treadonly skeletonClass = this.skeleton.cellClass;\n\n\t/** @internal */\n\treadonly showNoData = computed(() => !this.loading() && this.hasNoData());\n\n\t/** @internal */\n\treadonly showNoResults = computed(() => !this.loading() && this.hasNoResults());\n\n\t/**\n\t * @internal\n\t * A projected `st-empty-state` replaces the built-in \"no data\" and \"no results\" blocks.\n\t * Only a direct child counts, the same nodes `<ng-content select=\"st-empty-state\">` projects.\n\t */\n\treadonly customEmptyState = contentChild(TABLE_EMPTY_STATE, { descendants: false });\n\n\t/**\n\t * Enable sticky header row\n\t * @defaultValue false\n\t */\n\tpinRows = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Enable sticky first column\n\t * @defaultValue false\n\t */\n\tpinColumns = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Apply zebra-striping to rows\n\t * @defaultValue false\n\t */\n\tzebra = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Show row dividers (borders) between rows\n\t * @defaultValue false\n\t */\n\tbordered = input(false, { transform: booleanAttribute });\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 * 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: '', sortColumn: null, sortDirection: null, filters: {} }\n\t */\n\tpagination = input<DataTablePagination>({\n\t\tid: 'paginator',\n\t\tcurrentPage: 1,\n\t\titemsPerPage: 10,\n\t\tsearch: '',\n\t\tsortColumn: null,\n\t\tsortDirection: null,\n\t\tfilters: {},\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\tprivate readonly translateLabel = injectLabelTranslator();\n\n\treadonly entriesPerPageOptions = computed(() =>\n\t\tthis.ENTRIES.map((n) => ({\n\t\t\tvalue: n,\n\t\t\ttext: this.translateLabel({ key: 'sdk.dataTable.perPage', fallback: '{{count}} / page', params: { count: n } }),\n\t\t})),\n\t);\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 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 this.totalItems() === 0 ? '0-0' : `${start}-${end}`;\n\t});\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\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\n\t\tif (callback) {\n\t\t\treturn callback();\n\t\t}\n\n\t\t// Fallback: check for basic search term only\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\treturn this.totalItems() === 0 && 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\treturn this.totalItems() === 0 && !this.hasActiveFilters();\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.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\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 s = Number(resolved || 1);\n\t\tthis.pageSizeChanged.emit(s);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes typography variant for paginator text based on table size\n\t */\n\treadonly paginatorTextSize = computed<TextPreset>(() => {\n\t\treturn this.size() === 'sm' ? '8' : this.sizeTokens().footerPreset;\n\t});\n\n\treadonly sizeTokens = computed<TableSizeTokens>(() => getTableSizeTokens(this.size()));\n\n\treadonly footerLayoutTokens = computed(() => getDataTableFooterLayoutTokens(this.size()));\n\n\treadonly footerSelectSize = computed<SelectSizeProps>(() => this.sizeTokens().selectSize);\n\n\treadonly footerPaginatorSize = computed<PaginatorSizeProps>(() => this.sizeTokens().paginatorSize);\n\n\treadonly footerWrapperClass = computed(() => cn('@container flex w-full flex-col overflow-x-auto', this.footerLayoutTokens().wrapper));\n\n\treadonly footerDividerClass = 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\treadonly footerContentClass = 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/**\n\t * @internal\n\t * Computes table element classes based on current configuration\n\t */\n\treadonly tableClass = computed(() =>\n\t\tcn(\n\t\t\tdataTableContent({\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\t'table-row-hover': this.rowHover(),\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\treadonly tableContainerClass = computed(() => cn(tableContainer({ containerHeight: this.height() }), 'w-full flex-grow overflow-x-auto'));\n\n\t/**\n\t * @internal\n\t * Computes outer container classes based on size\n\t */\n\treadonly containerClass = computed(() => {\n\t\tconst size = this.resolvedSize();\n\t\treturn cn('rounded-box border-neutral @container flex min-w-0 flex-col border border-solid', {\n\t\t\t'gap-3 pb-3': size === 'xs' || size === 'sm' || size === 'md',\n\t\t\t'gap-4 pb-4': size === 'lg',\n\t\t\t'gap-5 pb-5': size === 'xl',\n\t\t});\n\t});\n}\n","<div [class]=\"containerClass()\">\n\t<span role=\"status\" class=\"sr-only\">\n\t\t@if (loading()) {\n\t\t\t{{ 'sdk.dataTable.loading' | translate }}\n\t\t}\n\t</span>\n\t<!-- Table container -->\n\t<div [class]=\"tableContainerClass()\">\n\t\t<div class=\"w-full\">\n\t\t\t@if (customEmptyState() && (showNoData() || showNoResults())) {\n\t\t\t\t<ng-content select=\"st-empty-state\"></ng-content>\n\t\t\t} @else if (showNoData()) {\n\t\t\t\t<!-- No data state -->\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-muted\">\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-muted\">{{ 'sdk.dataTable.noData.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noData.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (showNoResults()) {\n\t\t\t\t<!-- No results from filters state -->\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-muted\">\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-muted\">{{ 'sdk.dataTable.noResults.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.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-data-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]=\"tableClass()\" [attr.aria-busy]=\"loading() || null\">\n\t\t\t\t\t<ng-content select=\"caption, colgroup\"></ng-content>\n\t\t\t\t\t<ng-content select=\"thead\"></ng-content>\n\t\t\t\t\t@if (loading()) {\n\t\t\t\t\t\t<tbody data-st-skeleton aria-hidden=\"true\">\n\t\t\t\t\t\t\t@for (row of skeletonRows(); track row) {\n\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t@for (column of skeletonColumns(); track column) {\n\t\t\t\t\t\t\t\t\t\t<td><div [class]=\"skeletonClass()\"></div></td>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</tbody>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t\t}\n\t\t\t\t</table>\n\t\t\t}\n\t\t</div>\n\t</div>\n\n\t<!-- Pagination from showcase -->\n\t<div [class]=\"footerWrapperClass()\">\n\t\t<!-- Divider -->\n\t\t<div [class]=\"footerDividerClass()\"></div>\n\t\t<!-- Paginator Container -->\n\t\t<div [class]=\"footerContentClass()\">\n\t\t\t<!-- Entries range text -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<span [stText]=\"paginatorTextSize()\">{{ 'sdk.dataTable.entriesRange' | translate: { range: paginationRange(), total: totalItems() } }}</span>\n\t\t\t</div>\n\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"flex justify-center\">\n\t\t\t\t<st-paginator\n\t\t\t\t\t[pages]=\"totalPages()\"\n\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t[size]=\"footerPaginatorSize()\"\n\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\ttype=\"default\"\n\t\t\t\t\t(pageChanged)=\"handlePageChange($event)\"\n\t\t\t\t></st-paginator>\n\t\t\t</div>\n\n\t\t\t<!-- Entries per page dropdown -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<span class=\"sr-only\">{{ 'sdk.dataTable.entriesByPage' | translate }}</span>\n\t\t\t\t<st-select\n\t\t\t\t\t[options]=\"entriesPerPageOptions()\"\n\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\tvalueKey=\"value\"\n\t\t\t\t\tdisplayKey=\"text\"\n\t\t\t\t\t[size]=\"footerSelectSize()\"\n\t\t\t\t\t(valueUpdated)=\"handlePageSizeChange($event)\"\n\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\t[allowClear]=\"false\"\n\t\t\t\t></st-select>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAGA;;;AAGG;MAEU,uBAAuB,CAAA;AAClB,IAAA,UAAU,GAAG,MAAM,CAAuC,IAAI,CAAC;AAC/D,IAAA,YAAY,GAAG,MAAM,CAAwB,IAAI,CAAC;AAEnE;;;AAGG;AACM,IAAA,IAAI,GAAG,QAAQ,CAAwB,MAAK;AACpD,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE;AAChC,QAAA,OAAO,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC,YAAY,EAAE;AAC/C,IAAA,CAAC,CAAC;AAEF;;AAEG;AACH,IAAA,QAAQ,CAAC,IAAmC,EAAA;AAC3C,QA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
|
+
{"version":3,"file":"sixbell-telco-sdk-components-data-table.mjs","sources":["../../../projects/sdk/components/data-table/src/data-table-context.service.ts","../../../projects/sdk/components/data-table/actions/actions.component.ts","../../../projects/sdk/components/data-table/data-table-empty-actions/data-table-empty-actions.component.ts","../../../projects/sdk/components/data-table/data-table-empty-actions/data-table-empty-actions.component.html","../../../projects/sdk/components/data-table/src/aria-sort.ts","../../../projects/sdk/components/data-table/src/sort-icon.component.ts","../../../projects/sdk/components/data-table/src/toggle-size.ts","../../../projects/sdk/components/data-table/sub-component-toggle/sub-component-toggle.component.ts","../../../projects/sdk/components/data-table/expandable/expandable.component.ts","../../../projects/sdk/components/data-table/selection/selection.component.ts","../../../projects/sdk/components/data-table/sortable-header/sortable-header.component.ts","../../../projects/sdk/components/data-table/src/data-table.component.ts","../../../projects/sdk/components/data-table/src/data-table.component.html","../../../projects/sdk/components/data-table/sixbell-telco-sdk-components-data-table.ts"],"sourcesContent":["import { computed, Injectable, Signal, signal } from '@angular/core';\nimport { TableContentSizeProps } from '@sixbell-telco/sdk/components/table';\n\n/**\n * Context service to share data table configuration with sub-components\n * This allows sub-components to automatically sync their sizes with the parent data table\n */\n@Injectable()\nexport class DataTableContextService {\n\tprivate readonly sizeSource = signal<Signal<TableContentSizeProps> | null>(null);\n\tprivate readonly fallbackSize = signal<TableContentSizeProps>('sm');\n\n\t/**\n\t * Current table size that sub-components read. It follows the bound data table size from the\n\t * first read on, so sub-components never render a default size before the table input applies.\n\t */\n\treadonly size = computed<TableContentSizeProps>(() => {\n\t\tconst source = this.sizeSource();\n\t\treturn source ? source() : this.fallbackSize();\n\t});\n\n\t/**\n\t * Bind the size to a signal, read lazily - called by the main data table component\n\t */\n\tbindSize(size: Signal<TableContentSizeProps>) {\n\t\tthis.sizeSource.set(size);\n\t}\n\n\t/**\n\t * Set a fixed size, replacing any bound size\n\t */\n\tsetSize(size: TableContentSizeProps) {\n\t\tthis.sizeSource.set(null);\n\t\tthis.fallbackSize.set(size);\n\t}\n}\n","import { ChangeDetectionStrategy, Component, computed, inject, input, output } from '@angular/core';\nimport { matMoreVert } from '@sixbell-telco/sdk/components/icon/material/baseline';\nimport { TableActionsComponent } from '@sixbell-telco/sdk/components/table';\nimport { type CellContext, injectFlexRenderContext, RowData } from '@tanstack/angular-table';\nimport { DataTableContextService } from '../src/data-table-context.service';\nimport { DataTableActionConfig, DataTableActionEvent, DataTableActionsMode, DataTableActionsSizeProps } from './actions.types';\n\n/**\n * Data-table actions component that auto-syncs with the parent data-table size\n * and provides row context from TanStack Table.\n *\n * @remarks\n * This component wraps `st-table-actions` for use within TanStack-based data tables.\n * It injects the flex render context to access the row data and the data table context\n * to automatically synchronize the action button sizes with the table size.\n *\n * @example\n * ```typescript\n * // In column definitions:\n * {\n * id: 'actions',\n * header: 'Actions',\n * enableSorting: false,\n * cell: () => flexRenderComponent(DataTableActionsComponent, {\n * inputs: { actions: this.userActions },\n * outputs: { actionTriggered: (event) => this.handleAction(event.action, event.row) },\n * }),\n * }\n * ```\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-actions',\n\timports: [TableActionsComponent],\n\ttemplate: `\n\t\t<st-table-actions\n\t\t\t[actions]=\"actions()\"\n\t\t\t[mode]=\"mode()\"\n\t\t\t[size]=\"actionsSize()\"\n\t\t\t[triggerIcon]=\"triggerIcon()\"\n\t\t\t(actionTriggered)=\"onActionClick($event)\"\n\t\t/>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableActionsComponent<T extends RowData> {\n\t/**\n\t * TanStack Table context injected by flexRender\n\t */\n\treadonly context = injectFlexRenderContext<CellContext<T, unknown>>();\n\n\t/**\n\t * Data table context for size synchronization\n\t */\n\treadonly dataTableContext = inject(DataTableContextService);\n\n\t/**\n\t * Array of action configurations.\n\t */\n\treadonly actions = input<DataTableActionConfig[]>([]);\n\n\t/**\n\t * Rendering mode for the actions.\n\t * @defaultValue 'inline'\n\t */\n\treadonly mode = input<DataTableActionsMode>('inline');\n\n\t/**\n\t * Icon for the dropdown trigger button.\n\t * @defaultValue matMoreVert (Material vertical dots icon)\n\t */\n\treadonly triggerIcon = input<string>(matMoreVert);\n\n\t/**\n\t * Emitted when an action is triggered. Includes both the action config and the row data.\n\t */\n\treadonly actionTriggered = output<DataTableActionEvent<T>>();\n\n\t/**\n\t * @internal\n\t * Computed action size synchronized with the parent data-table size.\n\t */\n\treadonly actionsSize = computed<DataTableActionsSizeProps>(() => {\n\t\tconst tableSize = this.dataTableContext.size();\n\t\tswitch (tableSize) {\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 'xl';\n\t\t\tdefault:\n\t\t\t\treturn 'md';\n\t\t}\n\t});\n\n\t/**\n\t * @internal\n\t * Handles action click from the inner st-table-actions and emits with row context.\n\t */\n\tonActionClick(action: DataTableActionConfig): void {\n\t\tthis.actionTriggered.emit({ action, row: this.context.row.original });\n\t}\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n\tselector: 'st-data-table-empty-actions',\n\tstandalone: true,\n\timports: [CommonModule],\n\ttemplateUrl: './data-table-empty-actions.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableEmptyActionsComponent {}\n","<ng-content></ng-content>\n","import { afterRenderEffect, DestroyRef, ElementRef, inject, Signal } from '@angular/core';\n\n/** Sort state of a TanStack column, as returned by `column.getIsSorted()`. */\nexport type DataTableSortState = 'asc' | 'desc' | false;\n\n/** Value for the `aria-sort` attribute of a column header. */\nexport type DataTableAriaSort = 'ascending' | 'descending';\n\n/**\n * Maps a TanStack sort state to the `aria-sort` value of its column header.\n *\n * Returns `null` for an unsorted column so `[attr.aria-sort]` removes the attribute:\n * ARIA asks for `aria-sort` on the sorted header only.\n *\n * @example\n * ```html\n * <th [attr.aria-sort]=\"getDataTableAriaSort(header.column.getIsSorted())\">...</th>\n * ```\n */\nexport function getDataTableAriaSort(state: DataTableSortState | null | undefined): DataTableAriaSort | null {\n\tif (state === 'asc') return 'ascending';\n\tif (state === 'desc') return 'descending';\n\treturn null;\n}\n\n/**\n * @internal\n * Keeps `aria-sort` on the closest column header (`th` or `[role=columnheader]`) of the host element in sync.\n */\nexport function syncClosestHeaderAriaSort(state: Signal<DataTableSortState>, enabled: Signal<boolean>): void {\n\tconst host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n\tlet header: Element | null = null;\n\tlet written: string | null = null;\n\n\tconst clear = () => {\n\t\tif (header && written !== null && header.getAttribute('aria-sort') === written) {\n\t\t\theader.removeAttribute('aria-sort');\n\t\t}\n\t\twritten = null;\n\t};\n\n\tafterRenderEffect({\n\t\twrite: () => {\n\t\t\tconst value = enabled() ? getDataTableAriaSort(state()) : null;\n\t\t\tconst closest = host.closest('th, [role=\"columnheader\"]');\n\t\t\tif (closest !== header) {\n\t\t\t\tclear();\n\t\t\t\theader = closest;\n\t\t\t}\n\t\t\tif (!header) return;\n\t\t\tif (value === null) {\n\t\t\t\tclear();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\theader.setAttribute('aria-sort', value);\n\t\t\twritten = value;\n\t\t},\n\t});\n\n\tinject(DestroyRef).onDestroy(clear);\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { IconComponent, IconSizeProps } from '@sixbell-telco/sdk/components/icon';\nimport { matArrowUpward, matSwapVert } from '@sixbell-telco/sdk/components/icon/material/baseline';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { DataTableSortState } from './aria-sort';\n\nconst GLYPH_CLASS = 'col-start-1 row-start-1 inline-flex transition-[opacity,rotate] duration-200 ease-in-out motion-reduce:transition-none';\n\n/**\n * @internal\n * Sort glyph shared by the sortable headers. The neutral glyph and the arrow are stacked boxes that\n * cross-fade, and the arrow rotates to point down for descending. The `st-icon` host is `display: contents`,\n * so the transitions run on wrapping spans. The arrow keeps its last direction while it fades out.\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-sort-icon',\n\timports: [IconComponent],\n\ttemplate: `\n\t\t<span data-st-sort-icon [attr.data-sort]=\"dataSort()\" aria-hidden=\"true\" class=\"inline-grid place-items-center\">\n\t\t\t<span data-st-sort-glyph=\"none\" [class]=\"neutralClass()\">\n\t\t\t\t<st-icon [icon]=\"iconDefaultSort\" [size]=\"size()\"></st-icon>\n\t\t\t</span>\n\t\t\t<span data-st-sort-glyph=\"arrow\" [class]=\"arrowClass()\">\n\t\t\t\t<st-icon [icon]=\"iconAscending\" [size]=\"size()\"></st-icon>\n\t\t\t</span>\n\t\t</span>\n\t`,\n\thost: { class: 'contents' },\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableSortIconComponent {\n\treadonly sortState = input<DataTableSortState>(false);\n\n\treadonly size = input<IconSizeProps>('xs');\n\n\treadonly iconDefaultSort = matSwapVert;\n\n\treadonly iconAscending = matArrowUpward;\n\n\tprivate lastDirection: 'asc' | 'desc' = 'asc';\n\n\tprivate readonly direction = computed(() => {\n\t\tconst state = this.sortState();\n\t\tif (state) this.lastDirection = state;\n\t\treturn this.lastDirection;\n\t});\n\n\treadonly dataSort = computed(() => {\n\t\tswitch (this.sortState()) {\n\t\t\tcase 'asc':\n\t\t\t\treturn 'ascending';\n\t\t\tcase 'desc':\n\t\t\t\treturn 'descending';\n\t\t\tdefault:\n\t\t\t\treturn 'none';\n\t\t}\n\t});\n\n\treadonly neutralClass = computed(() => cn(GLYPH_CLASS, this.sortState() ? 'opacity-0' : 'opacity-100'));\n\n\treadonly arrowClass = computed(() => cn(GLYPH_CLASS, this.sortState() ? 'opacity-100' : 'opacity-0', this.direction() === 'desc' && 'rotate-180'));\n}\n","import { ButtonSizeProps } from '@sixbell-telco/sdk/components/button';\nimport { IconSizeProps } from '@sixbell-telco/sdk/components/icon';\nimport { resolveTableSize, TableContentSizeProps, TableResolvedSize } from '@sixbell-telco/sdk/components/table';\n\nconst TOGGLE_BUTTON_SIZE: Record<TableResolvedSize, ButtonSizeProps> = { xs: 'xs', sm: 'xs', md: 'sm', lg: 'sm', xl: 'md' };\n\nconst TOGGLE_ICON_SIZE: Record<TableResolvedSize, IconSizeProps> = { xs: 'xs', sm: 'xs', md: 'sm', lg: 'sm', xl: 'md' };\n\n/** @internal Button size of the expand toggles for a data table size */\nexport function getToggleButtonSize(size: TableContentSizeProps): ButtonSizeProps {\n\treturn TOGGLE_BUTTON_SIZE[resolveTableSize(size)];\n}\n\n/** @internal Icon size of the expand and sort toggles for a data table size */\nexport function getToggleIconSize(size: TableContentSizeProps): IconSizeProps {\n\treturn TOGGLE_ICON_SIZE[resolveTableSize(size)];\n}\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, input, output } from '@angular/core';\nimport { ButtonComponent } from '@sixbell-telco/sdk/components/button';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matInfo, matKeyboardArrowDown } from '@sixbell-telco/sdk/components/icon/material/baseline';\nimport { TranslatePipe } from '@sixbell-telco/sdk/utils/translation';\nimport { Row, RowData } from '@tanstack/angular-table';\n\n/**\n * Toggle cell that shows or hides a custom sub-component (detail row) for its row.\n *\n * @remarks\n * Rows that can show details get an icon-only toggle named by `sdk.dataTable.showDetails`, with\n * `aria-expanded` on the inner button. Other rows get a disabled info button named by\n * `sdk.dataTable.detailsUnavailable`. The click does not reach the row, so row click handlers do not fire.\n * `st-data-table-sub-toggle-cell` renders this component.\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-sub-component-toggle-cell',\n\timports: [CommonModule, IconComponent, ButtonComponent, TranslatePipe],\n\ttemplate: `\n\t\t@if (canToggleSubComponent()) {\n\t\t\t<st-button\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\tsize=\"xs\"\n\t\t\t\t[circle]=\"true\"\n\t\t\t\t[ghost]=\"true\"\n\t\t\t\t[stopPropagation]=\"true\"\n\t\t\t\t(triggered)=\"toggled.emit(row().id)\"\n\t\t\t\t[ariaLabel]=\"'sdk.dataTable.showDetails' | translate\"\n\t\t\t\t[ariaExpanded]=\"isExpanded()\"\n\t\t\t>\n\t\t\t\t<span data-st-chevron class=\"inline-flex\" [class.is-open]=\"isExpanded()\">\n\t\t\t\t\t<st-icon [icon]=\"iconChevronDown\" size=\"sm\"></st-icon>\n\t\t\t\t</span>\n\t\t\t</st-button>\n\t\t} @else {\n\t\t\t<st-button\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\tsize=\"xs\"\n\t\t\t\t[circle]=\"true\"\n\t\t\t\t[ghost]=\"true\"\n\t\t\t\t[ariaLabel]=\"'sdk.dataTable.detailsUnavailable' | translate\"\n\t\t\t\t[disabled]=\"true\"\n\t\t\t>\n\t\t\t\t<st-icon [icon]=\"iconInfo\" size=\"sm\"></st-icon>\n\t\t\t</st-button>\n\t\t}\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableSubComponentToggleCellComponent<T extends RowData> {\n\t/** The table row instance */\n\treadonly row = input.required<Row<T>>();\n\n\t/** Whether the sub-component of this row is shown */\n\treadonly isExpanded = input.required<boolean>();\n\n\t/** Emits the row id when the toggle is pressed */\n\treadonly toggled = output<string>();\n\n\t/** Whether this row has a sub-component to show */\n\treadonly canToggleSubComponent = input(false, { transform: booleanAttribute });\n\n\treadonly iconChevronDown = matKeyboardArrowDown;\n\treadonly iconInfo = matInfo;\n}\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, inject, input, output } from '@angular/core';\nimport { ButtonComponent, ButtonSizeProps } from '@sixbell-telco/sdk/components/button';\nimport { IconComponent, IconSizeProps } from '@sixbell-telco/sdk/components/icon';\nimport { matArrowUpward, matInfo, matKeyboardArrowDown, matSwapVert } from '@sixbell-telco/sdk/components/icon/material/baseline';\nimport { getTableSizeTokens } from '@sixbell-telco/sdk/components/table';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { TranslatePipe } from '@sixbell-telco/sdk/utils/translation';\nimport { injectFlexRenderContext, RowData, type CellContext, type HeaderContext, type Row } from '@tanstack/angular-table';\nimport { syncClosestHeaderAriaSort } from '../src/aria-sort';\nimport { DataTableContextService } from '../src/data-table-context.service';\nimport { DataTableSortIconComponent } from '../src/sort-icon.component';\nimport { getToggleButtonSize, getToggleIconSize } from '../src/toggle-size';\nimport { DataTableSubComponentToggleCellComponent } from '../sub-component-toggle/sub-component-toggle.component';\n\n/**\n * Expandable cell component that shows row data and expand/collapse toggle\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-expandable-cell',\n\timports: [CommonModule, IconComponent, ButtonComponent, TranslatePipe],\n\ttemplate: `\n\t\t<div [style.--depth]=\"row.depth\" class=\"flex items-center gap-1\">\n\t\t\t@if (row.getCanExpand()) {\n\t\t\t\t<st-button\n\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\t[size]=\"buttonSize()\"\n\t\t\t\t\t[square]=\"true\"\n\t\t\t\t\t[link]=\"true\"\n\t\t\t\t\t[stopPropagation]=\"true\"\n\t\t\t\t\t(triggered)=\"row.getToggleExpandedHandler()()\"\n\t\t\t\t\t[ariaLabel]=\"'sdk.dataTable.expandRow' | translate\"\n\t\t\t\t\t[ariaExpanded]=\"row.getIsExpanded()\"\n\t\t\t\t>\n\t\t\t\t\t<span data-st-chevron class=\"inline-flex\" [class.is-open]=\"row.getIsExpanded()\">\n\t\t\t\t\t\t<st-icon [icon]=\"iconChevronDown\" [size]=\"iconSize()\"></st-icon>\n\t\t\t\t\t</span>\n\t\t\t\t</st-button>\n\t\t\t} @else {\n\t\t\t\t<!-- Same box as the toggle, kept out of the tab order and the accessibility tree, so the column stays aligned -->\n\t\t\t\t<span data-st-expander-spacer aria-hidden=\"true\" class=\"invisible inline-flex\">\n\t\t\t\t\t<st-button variant=\"base\" [size]=\"buttonSize()\" [square]=\"true\" [link]=\"true\" [disabled]=\"true\">\n\t\t\t\t\t\t<st-icon [icon]=\"iconChevronDown\" [size]=\"iconSize()\"></st-icon>\n\t\t\t\t\t</st-button>\n\t\t\t\t</span>\n\t\t\t}\n\t\t\t<span>{{ context.getValue() }}</span>\n\t\t</div>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstyles: `\n\t\t:host > div {\n\t\t\tpadding-inline-start: calc(2rem * var(--depth, 0));\n\t\t}\n\t`,\n})\nexport class DataTableExpandableCellComponent<T extends RowData> {\n\t/**\n\t * TanStack Table context injected by flexRender\n\t */\n\tcontext = injectFlexRenderContext<CellContext<T, unknown>>();\n\n\t/**\n\t * Data table context for size synchronization\n\t */\n\tdataTableContext = inject(DataTableContextService);\n\n\t/**\n\t * Get the row instance from context\n\t */\n\tget row() {\n\t\treturn this.context.row;\n\t}\n\n\t/** @internal */\n\treadonly iconChevronDown = matKeyboardArrowDown;\n\n\t/**\n\t * @internal\n\t * Computes button size based on data table size\n\t */\n\treadonly buttonSize = computed<ButtonSizeProps>(() => getToggleButtonSize(this.dataTableContext.size()));\n\n\t/**\n\t * @internal\n\t * Computes icon size based on data table size\n\t */\n\treadonly iconSize = computed<IconSizeProps>(() => getToggleIconSize(this.dataTableContext.size()));\n}\n\n/**\n * Expandable header cell component with sorting capability and expand all functionality\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-expandable-header-cell',\n\timports: [CommonModule, ButtonComponent, TextDirective, TranslatePipe, IconComponent, DataTableSortIconComponent],\n\ttemplate: `\n\t\t<div class=\"inline-flex items-center gap-1\">\n\t\t\t<st-button\n\t\t\t\tvariant=\"base\"\n\t\t\t\t[size]=\"buttonSize()\"\n\t\t\t\t[square]=\"true\"\n\t\t\t\t[link]=\"true\"\n\t\t\t\t[stopPropagation]=\"true\"\n\t\t\t\t(triggered)=\"context.table.toggleAllRowsExpanded()\"\n\t\t\t\t[ariaLabel]=\"'sdk.dataTable.expandAllRows' | translate\"\n\t\t\t\t[ariaExpanded]=\"context.table.getIsAllRowsExpanded()\"\n\t\t\t>\n\t\t\t\t<span data-st-chevron class=\"inline-flex\" [class.is-open]=\"context.table.getIsAllRowsExpanded()\">\n\t\t\t\t\t<st-icon [icon]=\"iconChevronDown\" [size]=\"iconSize()\"></st-icon>\n\t\t\t\t</span>\n\t\t\t</st-button>\n\t\t\t<span [stText]=\"labelPreset()\" class=\"font-heading font-semibold\">{{ label() }}</span>\n\t\t\t<!-- Button for sorting -->\n\t\t\t@if (canSort()) {\n\t\t\t\t<st-button\n\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t[size]=\"buttonSize()\"\n\t\t\t\t\t[square]=\"true\"\n\t\t\t\t\t[ghost]=\"true\"\n\t\t\t\t\t[stopPropagation]=\"true\"\n\t\t\t\t\t(triggered)=\"sortToggle.emit()\"\n\t\t\t\t\t[ariaLabel]=\"'sdk.dataTable.sortBy' | translate: { column: label() }\"\n\t\t\t\t>\n\t\t\t\t\t<st-data-table-sort-icon [sortState]=\"sortState()\" [size]=\"iconSize()\"></st-data-table-sort-icon>\n\t\t\t\t</st-button>\n\t\t\t}\n\t\t</div>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableExpandableHeaderCellComponent<T extends RowData> {\n\t/**\n\t * TanStack Table context injected by flexRender\n\t */\n\treadonly context = injectFlexRenderContext<HeaderContext<T, unknown>>();\n\n\t/**\n\t * Data table context for size synchronization\n\t */\n\treadonly dataTableContext = inject(DataTableContextService);\n\n\t/**\n\t * Display label for the column\n\t */\n\treadonly label = input.required<string>();\n\n\t/**\n\t * Whether this column can be sorted\n\t */\n\treadonly canSort = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Current sort state of the column\n\t */\n\treadonly sortState = input<'asc' | 'desc' | false>(false);\n\n\t/**\n\t * Event emitted when sort toggle is requested\n\t */\n\treadonly sortToggle = output<void>();\n\n\t/**\n\t * Set `aria-sort` on the closest column header while the column is sorted\n\t * @defaultValue true\n\t */\n\treadonly syncHeaderAriaSort = input(true, { transform: booleanAttribute });\n\n\tconstructor() {\n\t\tsyncClosestHeaderAriaSort(\n\t\t\tthis.sortState,\n\t\t\tcomputed(() => this.canSort() && this.syncHeaderAriaSort()),\n\t\t);\n\t}\n\n\t/**\n\t * Get the table instance from context\n\t */\n\tget table() {\n\t\treturn this.context.table;\n\t}\n\n\t/** @internal */\n\treadonly iconChevronDown = matKeyboardArrowDown;\n\n\t/** @internal */\n\treadonly iconDefaultSort = matSwapVert;\n\n\t/** @internal */\n\treadonly iconAscending = matArrowUpward;\n\n\t/**\n\t * @internal\n\t * Computes button size based on data table size\n\t */\n\treadonly buttonSize = computed<ButtonSizeProps>(() => getToggleButtonSize(this.dataTableContext.size()));\n\n\t/**\n\t * @internal\n\t * Computes icon size based on data table size\n\t */\n\treadonly iconSize = computed<IconSizeProps>(() => getToggleIconSize(this.dataTableContext.size()));\n\n\t/**\n\t * @internal\n\t * Typography preset of the column label, matching the table header cells\n\t */\n\treadonly labelPreset = computed<TextPreset>(() => getTableSizeTokens(this.dataTableContext.size()).headerPreset);\n\n\t/**\n\t * @internal\n\t * Computes the appropriate icon based on current sort state\n\t */\n\treadonly currentSortIcon = computed(() => {\n\t\tswitch (this.sortState()) {\n\t\t\tcase 'asc':\n\t\t\tcase 'desc':\n\t\t\t\treturn this.iconAscending;\n\t\t\tdefault:\n\t\t\t\treturn this.iconDefaultSort;\n\t\t}\n\t});\n\n\t/**\n\t * @internal\n\t * Computes aria-sort attribute for accessibility\n\t */\n\treadonly computedAriaSortAttribute = computed<'ascending' | 'descending' | 'none'>(() => {\n\t\tswitch (this.sortState()) {\n\t\t\tcase 'asc':\n\t\t\t\treturn 'ascending';\n\t\t\tcase 'desc':\n\t\t\t\treturn 'descending';\n\t\t\tdefault:\n\t\t\t\treturn 'none';\n\t\t}\n\t});\n}\n\n/**\n * Sub-component toggle cell for controlling custom sub-component visibility.\n * Renders `st-data-table-sub-component-toggle-cell`; both selectors behave the same.\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-sub-toggle-cell',\n\timports: [DataTableSubComponentToggleCellComponent],\n\ttemplate: `\n\t\t<st-data-table-sub-component-toggle-cell\n\t\t\t[row]=\"row()\"\n\t\t\t[isExpanded]=\"isExpanded()\"\n\t\t\t[canToggleSubComponent]=\"canToggleSubComponent()\"\n\t\t\t(toggled)=\"toggled.emit($event)\"\n\t\t></st-data-table-sub-component-toggle-cell>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableSubToggleCellComponent {\n\t/**\n\t * The table row instance\n\t */\n\treadonly row = input.required<Row<unknown>>();\n\n\t/**\n\t * Whether the sub-component is currently expanded\n\t */\n\treadonly isExpanded = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Whether this row can toggle a sub-component\n\t */\n\treadonly canToggleSubComponent = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Event emitted when toggle is clicked\n\t */\n\treadonly toggled = output<string>();\n\n\t/** @internal */\n\treadonly expandIcon = matKeyboardArrowDown;\n\n\t/** @internal */\n\treadonly infoIcon = matInfo;\n\n\t/**\n\t * @internal\n\t * Handles the toggle click\n\t */\n\thandleToggle() {\n\t\tthis.toggled.emit(this.row().id);\n\t}\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';\nimport { CheckboxComponent } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { type CellContext, type HeaderContext, injectFlexRenderContext, RowData } from '@tanstack/angular-table';\nimport { DataTableContextService } from '../src/data-table-context.service';\n\n/**\n * Header checkbox component for selecting/deselecting all rows on current page\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-head-selection',\n\timports: [CheckboxComponent, CommonModule],\n\ttemplate: `\n\t\t<st-checkbox\n\t\t\t[value]=\"context.table.getIsAllPageRowsSelected()\"\n\t\t\t(valueUpdated)=\"context.table.toggleAllPageRowsSelected()\"\n\t\t\t[size]=\"checkboxSize()\"\n\t\t></st-checkbox>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableHeadSelectionComponent<T extends RowData> {\n\t/**\n\t * TanStack Table context injected by flexRender\n\t */\n\tcontext = injectFlexRenderContext<HeaderContext<T, unknown>>();\n\n\t/**\n\t * Data table context for size synchronization\n\t */\n\treadonly dataTableContext = inject(DataTableContextService);\n\n\t/**\n\t * Computed checkbox size based on table size\n\t */\n\treadonly checkboxSize = computed(() => {\n\t\tconst tableSize = this.dataTableContext.size();\n\t\tswitch (tableSize) {\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\n/**\n * Row checkbox component for individual row selection\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-row-selection',\n\timports: [CheckboxComponent, CommonModule],\n\ttemplate: `\n\t\t<st-checkbox\n\t\t\t[value]=\"context.row.getIsSelected()\"\n\t\t\t[disabled]=\"!context.row.getCanSelect()\"\n\t\t\t(valueUpdated)=\"context.row.toggleSelected()\"\n\t\t\t[size]=\"checkboxSize()\"\n\t\t></st-checkbox>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableRowSelectionComponent<T extends RowData> {\n\t/**\n\t * TanStack Table context injected by flexRender\n\t */\n\tcontext = injectFlexRenderContext<CellContext<T, unknown>>();\n\n\t/**\n\t * Data table context for size synchronization\n\t */\n\treadonly dataTableContext = inject(DataTableContextService);\n\n\t/**\n\t * Computed checkbox size based on table size\n\t */\n\treadonly checkboxSize = computed(() => {\n\t\tconst tableSize = this.dataTableContext.size();\n\t\tswitch (tableSize) {\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","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, inject, input, output } from '@angular/core';\nimport { ButtonComponent, ButtonSizeProps } from '@sixbell-telco/sdk/components/button';\nimport { IconSizeProps } from '@sixbell-telco/sdk/components/icon';\nimport { matArrowUpward, matSwapVert } from '@sixbell-telco/sdk/components/icon/material/baseline';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { TranslatePipe } from '@sixbell-telco/sdk/utils/translation';\nimport { syncClosestHeaderAriaSort } from '../src/aria-sort';\nimport { DataTableContextService } from '../src/data-table-context.service';\nimport { DataTableSortIconComponent } from '../src/sort-icon.component';\n\n/**\n * Sortable header component for data table columns\n *\n * @remarks\n * Render it inside the column's `th`. It sets `aria-sort` on that closest `th` (or `[role=columnheader]`)\n * while the column is sorted and removes it when the column is unsorted. Set `syncHeaderAriaSort` to `false`\n * to manage the attribute yourself with {@link getDataTableAriaSort}.\n *\n * The icon cross-fades between the neutral sort glyph (unsorted) and an arrow that points up for ascending\n * and rotates to point down for descending. The transitions are skipped under `prefers-reduced-motion`.\n *\n * @example\n * ```typescript\n * flexRenderComponent(DataTableSortableHeaderComponent, {\n * inputs: {\n * label: 'Column Name',\n * sortState: column.getIsSorted(),\n * },\n * outputs: {\n * sortToggle: () => column.toggleSorting(),\n * },\n * })\n * ```\n */\n@Component({\n\tstandalone: true,\n\tselector: 'st-data-table-sortable-header',\n\timports: [CommonModule, ButtonComponent, TextDirective, TranslatePipe, DataTableSortIconComponent],\n\ttemplate: `\n\t\t<div class=\"inline-flex items-center gap-1\">\n\t\t\t<span [stText]=\"labelPreset()\" class=\"font-heading font-semibold\">{{ label() }}</span>\n\t\t\t<st-button\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t[size]=\"buttonSize()\"\n\t\t\t\t[square]=\"true\"\n\t\t\t\t[ghost]=\"true\"\n\t\t\t\t[stopPropagation]=\"true\"\n\t\t\t\t(triggered)=\"sortToggle.emit()\"\n\t\t\t\t[ariaLabel]=\"'sdk.dataTable.sortBy' | translate: { column: label() }\"\n\t\t\t>\n\t\t\t\t<st-data-table-sort-icon [sortState]=\"sortState()\" [size]=\"iconSize()\"></st-data-table-sort-icon>\n\t\t\t</st-button>\n\t\t</div>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DataTableSortableHeaderComponent {\n\treadonly dataTableContext = inject(DataTableContextService);\n\n\t/**\n\t * Display label for the column\n\t */\n\treadonly label = input.required<string>();\n\n\t/**\n\t * Current sort state of the column\n\t */\n\treadonly sortState = input<'asc' | 'desc' | false>(false);\n\n\t/**\n\t * Event emitted when sort toggle is requested\n\t */\n\treadonly sortToggle = output<void>();\n\n\t/**\n\t * Set `aria-sort` on the closest column header while the column is sorted\n\t * @defaultValue true\n\t */\n\treadonly syncHeaderAriaSort = input(true, { transform: booleanAttribute });\n\n\tconstructor() {\n\t\tsyncClosestHeaderAriaSort(this.sortState, this.syncHeaderAriaSort);\n\t}\n\n\t/** @internal */\n\treadonly iconDefaultSort = matSwapVert;\n\n\t/** @internal */\n\treadonly iconAscending = matArrowUpward;\n\n\t/**\n\t * @internal\n\t * Computes button size based on data table size\n\t */\n\treadonly buttonSize = computed<ButtonSizeProps>(() => {\n\t\tswitch (this.dataTableContext.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn 'xs';\n\t\t\tcase 'sm':\n\t\t\t\treturn 'xs';\n\t\t\tcase 'md':\n\t\t\t\treturn 'sm';\n\t\t\tcase 'lg':\n\t\t\t\treturn 'md';\n\t\t\tcase 'xl':\n\t\t\t\treturn 'lg';\n\t\t\tdefault:\n\t\t\t\treturn 'xs';\n\t\t}\n\t});\n\n\t/**\n\t * @internal\n\t * Computes icon size based on data table size\n\t */\n\treadonly iconSize = computed<IconSizeProps>(() => {\n\t\tswitch (this.dataTableContext.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn 'xs';\n\t\t\tcase 'sm':\n\t\t\t\treturn 'xs';\n\t\t\tcase 'md':\n\t\t\t\treturn 'sm';\n\t\t\tcase 'lg':\n\t\t\t\treturn 'sm';\n\t\t\tcase 'xl':\n\t\t\t\treturn 'md';\n\t\t\tdefault:\n\t\t\t\treturn 'xs';\n\t\t}\n\t});\n\n\treadonly labelPreset = computed<TextPreset>(() => {\n\t\tswitch (this.dataTableContext.size()) {\n\t\t\tcase 'xs':\n\t\t\t\treturn '9';\n\t\t\tcase 'sm':\n\t\t\t\treturn '8';\n\t\t\tcase 'md':\n\t\t\t\treturn '7';\n\t\t\tcase 'lg':\n\t\t\t\treturn '7';\n\t\t\tcase 'xl':\n\t\t\t\treturn '6';\n\t\t\tdefault:\n\t\t\t\treturn '8';\n\t\t}\n\t});\n\n\t/**\n\t * @internal\n\t * Computes the appropriate icon based on current sort state\n\t */\n\treadonly currentSortIcon = computed(() => {\n\t\tswitch (this.sortState()) {\n\t\t\tcase 'asc':\n\t\t\tcase 'desc':\n\t\t\t\treturn this.iconAscending;\n\t\t\tdefault:\n\t\t\t\treturn this.iconDefaultSort;\n\t\t}\n\t});\n\n\t/**\n\t * @internal\n\t * Computes aria-sort attribute for accessibility\n\t */\n\treadonly computedAriaSortAttribute = computed<'ascending' | 'descending' | 'none'>(() => {\n\t\tswitch (this.sortState()) {\n\t\t\tcase 'asc':\n\t\t\t\treturn 'ascending';\n\t\t\tcase 'desc':\n\t\t\t\treturn 'descending';\n\t\t\tdefault:\n\t\t\t\treturn 'none';\n\t\t}\n\t});\n}\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, contentChild, inject, input, output } from '@angular/core';\nimport { heroDocumentText } from '@ng-icons/heroicons/outline';\nimport { matSearchOff } from '@ng-icons/material-icons/baseline';\nimport { SelectComponent, SelectSizeProps } from '@sixbell-telco/sdk/components/forms/select';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { PaginationType, PaginatorComponent, PaginatorSizeProps } from '@sixbell-telco/sdk/components/paginator';\nimport {\n\tgetTableHierarchyTypographyClasses,\n\tgetTableSizeTokens,\n\tinjectTableLoadingSkeleton,\n\tresolveTableSize,\n\ttableContainer,\n\tTableContainerHeightProps,\n\tTableContentSizeProps,\n\tTableFooterLayoutTokens,\n\tTableResolvedSize,\n\tTableSizeTokens,\n} from '@sixbell-telco/sdk/components/table';\nimport { TABLE_EMPTY_STATE } from '@sixbell-telco/sdk/components/table/tokens';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { injectLabelTranslator, TranslatePipe, TranslateService } from '@sixbell-telco/sdk/utils/translation';\nimport { cva } from 'class-variance-authority';\nimport { DataTableContextService } from './data-table-context.service';\nimport { DataTablePagination } from './models';\n\nconst DATA_TABLE_FOOTER_LAYOUT_BY_SIZE: Record<TableResolvedSize, TableFooterLayoutTokens> = {\n\txs: {\n\t\twrapper: ['gap-2', 'pb-2'],\n\t\tdivider: ['px-3'],\n\t\tcontent: ['gap-2', 'px-3', '@2xl:gap-2'],\n\t},\n\tsm: {\n\t\twrapper: ['gap-2', '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\nfunction getDataTableFooterLayoutTokens(size: TableContentSizeProps): TableFooterLayoutTokens {\n\treturn DATA_TABLE_FOOTER_LAYOUT_BY_SIZE[resolveTableSize(size)];\n}\n\n/** Configuration object for data table styling variants */\nexport type DataTableVariantProps = {\n\tsize?: TableContentSizeProps;\n\tcontainerHeight?: TableContainerHeightProps;\n};\n\n/**\n * @internal\n * Generates data table classes with size and height variants\n */\nexport const dataTableContent = cva(\n\t[\n\t\t'table',\n\t\t'relative',\n\t\t'text-pretty',\n\t\t'[&_th]:bg-base-300 [&_th]:text-base-content',\n\t\t'[&_thead_td]:bg-base-300 [&_thead_td]:text-base-content',\n\t\t'[&_th]:px-4',\n\t\t'[&_td]:px-4',\n\t\t'[&_tbody_tr]:border-transparent',\n\t\t'rounded-t-box',\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\tdefaultVariants: {\n\t\t\tsize: 'sm',\n\t\t},\n\t},\n);\n\n/**\n * A styled container component for data tables - provides styling shell only\n *\n * This component is similar to st-table but with additional data table specific styling.\n * Users should compose their own table structure using TanStack Table and SDK components.\n *\n * @example\n * ```html\n * <st-data-table size=\"md\" height=\"lg\">\n * <table>\n * <thead>\n * <tr>\n * <th><st-data-table-sortable-header>Name</st-data-table-sortable-header></th>\n * </tr>\n * </thead>\n * <tbody>\n * <tr>\n * <td>John Doe</td>\n * </tr>\n * </tbody>\n * </table>\n * </st-data-table>\n * ```\n */\nlet nextDataTablePageSizeId = 0;\n\n@Component({\n\tselector: 'st-data-table',\n\timports: [CommonModule, PaginatorComponent, TextDirective, SelectComponent, TranslatePipe, IconComponent],\n\ttemplateUrl: './data-table.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tproviders: [DataTableContextService],\n})\nexport class DataTableContainerComponent {\n\treadonly translationService = inject(TranslateService);\n\treadonly dataTableContext = inject(DataTableContextService);\n\treadonly resolvedSize = computed<TableResolvedSize>(() => resolveTableSize(this.size()));\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 matSearchOff\n\t */\n\tnoResultsIcon = input<string>(matSearchOff);\n\n\t/**\n\t * Table size variant\n\t * @defaultValue 'sm'\n\t */\n\tsize = input<TableContentSizeProps>('sm');\n\n\t/**\n\t * Table container height preset, shared with `st-table`.\n\t * The container is the only scroll container, so `pinRows` keeps the header in view\n\t * when a fixed preset (`sm`, `md`, `lg`, `xl`) or `full` inside a sized parent limits the height.\n\t * @defaultValue 'auto'\n\t */\n\theight = input<TableContainerHeightProps>('auto');\n\n\tconstructor() {\n\t\tthis.dataTableContext.bindSize(this.resolvedSize);\n\t}\n\n\t/**\n\t * Show a loading state: the projected header and the table frame stay in place and the body\n\t * shows skeleton rows. The table is marked `aria-busy` and a status message is announced.\n\t * The empty states are not shown while loading.\n\t * @defaultValue false\n\t */\n\tloading = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Number of skeleton rows shown while loading. Defaults to the page size (`pagination.itemsPerPage`).\n\t * @defaultValue null\n\t */\n\tloadingRows = input<number | null>(null);\n\n\t/**\n\t * Highlight body rows on hover with the `--color-table-row-hover` tint (12% `base-content` by default)\n\t * layered over each cell's own background, so zebra rows and pinned first-column cells follow it\n\t * @defaultValue true\n\t */\n\trowHover = input(true, { transform: booleanAttribute });\n\n\tprivate readonly skeleton = injectTableLoadingSkeleton({\n\t\tloading: this.loading,\n\t\trowCount: computed(() => this.loadingRows() ?? this.pagination().itemsPerPage),\n\t\tsize: this.resolvedSize,\n\t});\n\n\t/** @internal */\n\treadonly skeletonRows = this.skeleton.rows;\n\n\t/** @internal */\n\treadonly skeletonColumns = this.skeleton.columns;\n\n\t/** @internal */\n\treadonly skeletonClass = this.skeleton.cellClass;\n\n\t/** @internal */\n\treadonly showNoData = computed(() => !this.loading() && this.hasNoData());\n\n\t/** @internal */\n\treadonly showNoResults = computed(() => !this.loading() && this.hasNoResults());\n\n\t/**\n\t * @internal\n\t * A projected `st-empty-state` replaces the built-in \"no data\" and \"no results\" blocks.\n\t * Only a direct child counts, the same nodes `<ng-content select=\"st-empty-state\">` projects.\n\t */\n\treadonly customEmptyState = contentChild(TABLE_EMPTY_STATE, { descendants: false });\n\n\t/**\n\t * Enable sticky header row\n\t * @defaultValue false\n\t */\n\tpinRows = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Enable sticky first column\n\t * @defaultValue false\n\t */\n\tpinColumns = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Apply zebra-striping to rows\n\t * @defaultValue false\n\t */\n\tzebra = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Show row dividers (borders) between rows\n\t * @defaultValue false\n\t */\n\tbordered = input(false, { transform: booleanAttribute });\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 * 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: '', sortColumn: null, sortDirection: null, filters: {} }\n\t */\n\tpagination = input<DataTablePagination>({\n\t\tid: 'paginator',\n\t\tcurrentPage: 1,\n\t\titemsPerPage: 10,\n\t\tsearch: '',\n\t\tsortColumn: null,\n\t\tsortDirection: null,\n\t\tfilters: {},\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\tprivate readonly translateLabel = injectLabelTranslator();\n\n\t/** @internal Id of the items-per-page select, named by its visually hidden label */\n\tprotected readonly pageSizeSelectId = `st-data-table-page-size-${nextDataTablePageSizeId++}`;\n\n\treadonly entriesPerPageOptions = computed(() =>\n\t\tthis.ENTRIES.map((n) => ({\n\t\t\tvalue: n,\n\t\t\ttext: this.translateLabel({ key: 'sdk.dataTable.perPage', fallback: '{{count}} / page', params: { count: n } }),\n\t\t})),\n\t);\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 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 this.totalItems() === 0 ? '0-0' : `${start}-${end}`;\n\t});\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\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\n\t\tif (callback) {\n\t\t\treturn callback();\n\t\t}\n\n\t\t// Fallback: check for basic search term only\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\treturn this.totalItems() === 0 && 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\treturn this.totalItems() === 0 && !this.hasActiveFilters();\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.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\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 s = Number(resolved || 1);\n\t\tthis.pageSizeChanged.emit(s);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes typography variant for paginator text based on table size\n\t */\n\treadonly paginatorTextSize = computed<TextPreset>(() => {\n\t\treturn this.size() === 'sm' ? '8' : this.sizeTokens().footerPreset;\n\t});\n\n\treadonly sizeTokens = computed<TableSizeTokens>(() => getTableSizeTokens(this.size()));\n\n\treadonly footerLayoutTokens = computed(() => getDataTableFooterLayoutTokens(this.size()));\n\n\treadonly footerSelectSize = computed<SelectSizeProps>(() => this.sizeTokens().selectSize);\n\n\treadonly footerPaginatorSize = computed<PaginatorSizeProps>(() => this.sizeTokens().paginatorSize);\n\n\treadonly footerWrapperClass = computed(() => cn('@container flex w-full flex-col overflow-x-auto', this.footerLayoutTokens().wrapper));\n\n\treadonly footerDividerClass = 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\treadonly footerContentClass = 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/**\n\t * @internal\n\t * Computes table element classes based on current configuration\n\t */\n\treadonly tableClass = computed(() =>\n\t\tcn(\n\t\t\tdataTableContent({\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\t'table-row-hover': this.rowHover(),\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\treadonly tableContainerClass = computed(() => cn(tableContainer({ containerHeight: this.height() }), 'w-full flex-grow overflow-x-auto'));\n\n\t/**\n\t * @internal\n\t * Computes outer container classes based on size\n\t */\n\treadonly containerClass = computed(() => {\n\t\tconst size = this.resolvedSize();\n\t\treturn cn('rounded-box border-neutral @container flex min-w-0 flex-col border border-solid', {\n\t\t\t'gap-3 pb-3': size === 'xs' || size === 'sm' || size === 'md',\n\t\t\t'gap-4 pb-4': size === 'lg',\n\t\t\t'gap-5 pb-5': size === 'xl',\n\t\t});\n\t});\n}\n","<div [class]=\"containerClass()\">\n\t<span role=\"status\" class=\"sr-only\">\n\t\t@if (loading()) {\n\t\t\t{{ 'sdk.dataTable.loading' | translate }}\n\t\t}\n\t</span>\n\t<!-- Table container -->\n\t<div [class]=\"tableContainerClass()\">\n\t\t<div class=\"w-full\">\n\t\t\t@if (customEmptyState() && (showNoData() || showNoResults())) {\n\t\t\t\t<ng-content select=\"st-empty-state\"></ng-content>\n\t\t\t} @else if (showNoData()) {\n\t\t\t\t<!-- No data state -->\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-muted\">\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-muted\">{{ 'sdk.dataTable.noData.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.noData.message' | translate }}</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (showNoResults()) {\n\t\t\t\t<!-- No results from filters state -->\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-muted\">\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-muted\">{{ 'sdk.dataTable.noResults.title' | translate }}</h3>\n\t\t\t\t\t\t<p stText=\"8\" class=\"text-base-content-muted\">{{ 'sdk.dataTable.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-data-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]=\"tableClass()\" [attr.aria-busy]=\"loading() || null\">\n\t\t\t\t\t<ng-content select=\"caption, colgroup\"></ng-content>\n\t\t\t\t\t<ng-content select=\"thead\"></ng-content>\n\t\t\t\t\t@if (loading()) {\n\t\t\t\t\t\t<tbody data-st-skeleton aria-hidden=\"true\">\n\t\t\t\t\t\t\t@for (row of skeletonRows(); track row) {\n\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t@for (column of skeletonColumns(); track column) {\n\t\t\t\t\t\t\t\t\t\t<td><div [class]=\"skeletonClass()\"></div></td>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</tbody>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t\t}\n\t\t\t\t</table>\n\t\t\t}\n\t\t</div>\n\t</div>\n\n\t<!-- Pagination from showcase -->\n\t<div [class]=\"footerWrapperClass()\">\n\t\t<!-- Divider -->\n\t\t<div [class]=\"footerDividerClass()\"></div>\n\t\t<!-- Paginator Container -->\n\t\t<div [class]=\"footerContentClass()\">\n\t\t\t<!-- Entries range text -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<span [stText]=\"paginatorTextSize()\">{{ 'sdk.dataTable.entriesRange' | translate: { range: paginationRange(), total: totalItems() } }}</span>\n\t\t\t</div>\n\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"flex justify-center\">\n\t\t\t\t<st-paginator\n\t\t\t\t\t[pages]=\"totalPages()\"\n\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t[size]=\"footerPaginatorSize()\"\n\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\ttype=\"default\"\n\t\t\t\t\t(pageChanged)=\"handlePageChange($event)\"\n\t\t\t\t></st-paginator>\n\t\t\t</div>\n\n\t\t\t<!-- Entries per page dropdown -->\n\t\t\t<div class=\"flex items-center justify-end\">\n\t\t\t\t<label class=\"sr-only\" [for]=\"pageSizeSelectId\">{{ 'sdk.dataTable.entriesByPage' | translate }}</label>\n\t\t\t\t<st-select\n\t\t\t\t\t[options]=\"entriesPerPageOptions()\"\n\t\t\t\t\t[inputId]=\"pageSizeSelectId\"\n\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\tvalueKey=\"value\"\n\t\t\t\t\tdisplayKey=\"text\"\n\t\t\t\t\t[size]=\"footerSelectSize()\"\n\t\t\t\t\t(valueUpdated)=\"handlePageSizeChange($event)\"\n\t\t\t\t\tvariant=\"base\"\n\t\t\t\t\tfitOptions\n\t\t\t\t\t[allowClear]=\"false\"\n\t\t\t\t></st-select>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAGA;;;AAGG;MAEU,uBAAuB,CAAA;AAClB,IAAA,UAAU,GAAG,MAAM,CAAuC,IAAI,CAAC;AAC/D,IAAA,YAAY,GAAG,MAAM,CAAwB,IAAI,CAAC;AAEnE;;;AAGG;AACM,IAAA,IAAI,GAAG,QAAQ,CAAwB,MAAK;AACpD,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE;AAChC,QAAA,OAAO,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC,YAAY,EAAE;AAC/C,IAAA,CAAC,CAAC;AAEF;;AAEG;AACH,IAAA,QAAQ,CAAC,IAAmC,EAAA;AAC3C,QAAA,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC;IAC1B;AAEA;;AAEG;AACH,IAAA,OAAO,CAAC,IAA2B,EAAA;AAClC,QAAA,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC;AACzB,QAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC;IAC5B;wGA1BY,uBAAuB,EAAA,IAAA,EAAA,EA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