@sixbell-telco/sdk 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/CHANGELOG.md +45 -16
  2. package/README.md +2 -2
  3. package/_index.css +7 -0
  4. package/components/data-table/src/data-table.component.d.ts +6 -1
  5. package/components/table/src/table.component.d.ts +6 -1
  6. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +6 -6
  7. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
  8. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +21 -21
  9. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
  10. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +3 -3
  11. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  12. package/fesm2022/sixbell-telco-sdk-components-badge.mjs +3 -3
  13. package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
  14. package/fesm2022/sixbell-telco-sdk-components-button.mjs +3 -3
  15. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  16. package/fesm2022/sixbell-telco-sdk-components-card.mjs +42 -42
  17. package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
  18. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +4 -4
  19. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
  20. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs +3 -3
  21. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs.map +1 -1
  22. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +39 -33
  23. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
  24. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +16 -16
  25. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
  26. package/fesm2022/sixbell-telco-sdk-components-divider.mjs +3 -3
  27. package/fesm2022/sixbell-telco-sdk-components-divider.mjs.map +1 -1
  28. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +29 -29
  29. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
  30. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs +3 -3
  31. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs.map +1 -1
  32. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +45 -45
  33. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
  34. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +30 -30
  35. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  36. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +3 -3
  37. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  38. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +6 -6
  39. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
  40. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +3 -3
  41. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
  42. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +3 -3
  43. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  44. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +3 -3
  45. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
  46. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +3 -3
  47. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
  48. package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs +3 -3
  49. package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs.map +1 -1
  50. package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs +3 -3
  51. package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs.map +1 -1
  52. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +6 -6
  53. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  54. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +3 -3
  55. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
  56. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +3 -3
  57. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
  58. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +3 -3
  59. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  60. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +3 -3
  61. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
  62. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +3 -3
  63. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  64. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +3 -3
  65. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
  66. package/fesm2022/sixbell-telco-sdk-components-icon.mjs +3 -3
  67. package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
  68. package/fesm2022/sixbell-telco-sdk-components-link.mjs +3 -3
  69. package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
  70. package/fesm2022/sixbell-telco-sdk-components-notification.mjs +3 -3
  71. package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
  72. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs +9 -9
  73. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -1
  74. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +9 -9
  75. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  76. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +12 -12
  77. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
  78. package/fesm2022/sixbell-telco-sdk-components-progress.mjs +3 -3
  79. package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
  80. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs +8 -8
  81. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs.map +1 -1
  82. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs +8 -8
  83. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs.map +1 -1
  84. package/fesm2022/sixbell-telco-sdk-components-tab.mjs +9 -9
  85. package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
  86. package/fesm2022/sixbell-telco-sdk-components-table.mjs +24 -18
  87. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  88. package/fesm2022/sixbell-telco-sdk-components-text.mjs +3 -3
  89. package/fesm2022/sixbell-telco-sdk-components-text.mjs.map +1 -1
  90. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +6 -6
  91. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
  92. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +27 -27
  93. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
  94. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +3 -3
  95. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -1
  96. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +3 -3
  97. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -1
  98. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +3 -3
  99. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
  100. package/fesm2022/sixbell-telco-sdk-directives-text.mjs +3 -3
  101. package/fesm2022/sixbell-telco-sdk-directives-text.mjs.map +1 -1
  102. package/fesm2022/sixbell-telco-sdk-utils-cn.mjs.map +1 -1
  103. package/fesm2022/sixbell-telco-sdk-utils-date.mjs.map +1 -1
  104. package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs +15 -15
  105. package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs.map +1 -1
  106. package/fesm2022/sixbell-telco-sdk-utils-logger.mjs +3 -3
  107. package/fesm2022/sixbell-telco-sdk-utils-logger.mjs.map +1 -1
  108. package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs +3 -3
  109. package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs.map +1 -1
  110. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs +3 -3
  111. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs.map +1 -1
  112. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs +3 -3
  113. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs.map +1 -1
  114. package/fesm2022/sixbell-telco-sdk-utils-runtime-config.mjs.map +1 -1
  115. package/fesm2022/sixbell-telco-sdk-utils-sync.mjs.map +1 -1
  116. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +15 -15
  117. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
  118. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +12 -12
  119. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
  120. package/package.json +96 -91
@@ -243,10 +243,10 @@ class PaginationItemComponent {
243
243
  this.keyDownSpace.emit(event);
244
244
  this.triggered.emit();
245
245
  }
246
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: PaginationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
247
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: PaginationItemComponent, isStandalone: true, selector: "st-pagination-item", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, number: { classPropertyName: "number", publicName: "number", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, stopPropagation: { classPropertyName: "stopPropagation", publicName: "stopPropagation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked", keyDownEnter: "keyDownEnter", keyDownSpace: "keyDownSpace", triggered: "triggered" }, ngImport: i0, template: "@let variantVar = this.variant();\n@let componentClassVar = this.componentClass();\n\n@if (variantVar === 'numeric') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n} @else if (variantVar === 'icon') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<st-icon [icon]=\"this.icon()\" color=\"inherit\" [size]=\"iconSize()\"></st-icon>\n\t</button>\n} @else if (variantVar === 'dots') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span></span>\n\t</button>\n} @else if (variantVar === 'ellipsis') {\n\t<!-- Ellipsis button is inherently not interactive -->\n\t<button [class]=\"componentClassVar\" type=\"button\" [disabled]=\"true\">\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n} @else {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n}\n", styles: [""], dependencies: [{ kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }] });
246
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: PaginationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
247
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: PaginationItemComponent, isStandalone: true, selector: "st-pagination-item", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, number: { classPropertyName: "number", publicName: "number", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, stopPropagation: { classPropertyName: "stopPropagation", publicName: "stopPropagation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked", keyDownEnter: "keyDownEnter", keyDownSpace: "keyDownSpace", triggered: "triggered" }, ngImport: i0, template: "@let variantVar = this.variant();\n@let componentClassVar = this.componentClass();\n\n@if (variantVar === 'numeric') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n} @else if (variantVar === 'icon') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<st-icon [icon]=\"this.icon()\" color=\"inherit\" [size]=\"iconSize()\"></st-icon>\n\t</button>\n} @else if (variantVar === 'dots') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span></span>\n\t</button>\n} @else if (variantVar === 'ellipsis') {\n\t<!-- Ellipsis button is inherently not interactive -->\n\t<button [class]=\"componentClassVar\" type=\"button\" [disabled]=\"true\">\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n} @else {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n}\n", styles: [""], dependencies: [{ kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }] });
248
248
  }
249
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: PaginationItemComponent, decorators: [{
249
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: PaginationItemComponent, decorators: [{
250
250
  type: Component,
251
251
  args: [{ selector: 'st-pagination-item', imports: [IconComponent, TextDirective], standalone: true, template: "@let variantVar = this.variant();\n@let componentClassVar = this.componentClass();\n\n@if (variantVar === 'numeric') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n} @else if (variantVar === 'icon') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<st-icon [icon]=\"this.icon()\" color=\"inherit\" [size]=\"iconSize()\"></st-icon>\n\t</button>\n} @else if (variantVar === 'dots') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span></span>\n\t</button>\n} @else if (variantVar === 'ellipsis') {\n\t<!-- Ellipsis button is inherently not interactive -->\n\t<button [class]=\"componentClassVar\" type=\"button\" [disabled]=\"true\">\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n} @else {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n}\n" }]
252
252
  }] });
@@ -277,10 +277,10 @@ class PaginationPipe {
277
277
  const endIndex = startIndex + itemsPerPage;
278
278
  return items.slice(startIndex, endIndex);
279
279
  }
280
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: PaginationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
281
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0", ngImport: i0, type: PaginationPipe, isStandalone: true, name: "paginate" });
280
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: PaginationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
281
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: PaginationPipe, isStandalone: true, name: "paginate" });
282
282
  }
283
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: PaginationPipe, decorators: [{
283
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: PaginationPipe, decorators: [{
284
284
  type: Pipe,
285
285
  args: [{
286
286
  name: 'paginate',
@@ -486,10 +486,10 @@ class PaginatorComponent {
486
486
  lastPage() {
487
487
  this.handlePageChange(Math.max(this.pages(), 1));
488
488
  }
489
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: PaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
490
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: PaginatorComponent, isStandalone: true, selector: "st-paginator", inputs: { paginatorId: { classPropertyName: "paginatorId", publicName: "paginatorId", isSignal: true, isRequired: false, transformFunction: null }, maxSize: { classPropertyName: "maxSize", publicName: "maxSize", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, pages: { classPropertyName: "pages", publicName: "pages", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, currentPage: { classPropertyName: "currentPage", publicName: "currentPage", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pageChanged: "pageChanged", currentPage: "currentPageChange" }, ngImport: i0, template: "@if (type() === 'default') {\n\t<div class=\"flex items-center justify-center gap-2\">\n\t\t<!-- First page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconDoubleArrowLeft\"\n\t\t\t(triggered)=\"firstPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === 1\"\n\t\t></st-pagination-item>\n\t\t<!-- Previous page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconArrowLeft\"\n\t\t\t(triggered)=\"previousPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === 1\"\n\t\t></st-pagination-item>\n\n\t\t@for (page of pageNumbersForDisplay(); track $index) {\n\t\t\t@if (page === '...') {\n\t\t\t\t<!-- Ellipsis for hidden pages -->\n\t\t\t\t<st-pagination-item variant=\"ellipsis\" [size]=\"size()\" shape=\"round-xs\" padding=\"none\" [number]=\"'...'\"></st-pagination-item>\n\t\t\t} @else {\n\t\t\t\t<!-- Numeric page item -->\n\t\t\t\t<st-pagination-item\n\t\t\t\t\t(triggered)=\"handlePageChange(page)\"\n\t\t\t\t\tvariant=\"numeric\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\tshape=\"round-xs\"\n\t\t\t\t\tpadding=\"none\"\n\t\t\t\t\t[number]=\"page\"\n\t\t\t\t\t[active]=\"currentPage() === page\"\n\t\t\t\t></st-pagination-item>\n\t\t\t}\n\t\t}\n\n\t\t<!-- Next page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconArrowRight\"\n\t\t\t(triggered)=\"nextPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === pages() || pages() <= 1\"\n\t\t></st-pagination-item>\n\t\t<!-- Last page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconDoubleArrowRight\"\n\t\t\t(triggered)=\"lastPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === pages() || pages() <= 1\"\n\t\t></st-pagination-item>\n\t</div>\n}\n@if (type() === 'dots') {\n\t<div class=\"flex items-center justify-center gap-2\">\n\t\t@for (page of pageNumbersForDisplay(); track $index) {\n\t\t\t@if (page === '...') {\n\t\t\t\t<!-- Ellipsis for hidden pages -->\n\t\t\t\t<st-pagination-item variant=\"ellipsis\" [size]=\"size()\" shape=\"round-lg\" padding=\"none\" [number]=\"'...'\"></st-pagination-item>\n\t\t\t} @else {\n\t\t\t\t<st-pagination-item\n\t\t\t\t\t(triggered)=\"handlePageChange(page)\"\n\t\t\t\t\tvariant=\"dots\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\tshape=\"round-lg\"\n\t\t\t\t\tpadding=\"none\"\n\t\t\t\t\t[active]=\"currentPage() === page\"\n\t\t\t\t></st-pagination-item>\n\t\t\t}\n\t\t}\n\t</div>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: PaginationItemComponent, selector: "st-pagination-item", inputs: ["variant", "size", "icon", "number", "active", "disabled", "stopPropagation"], outputs: ["clicked", "keyDownEnter", "keyDownSpace", "triggered"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
489
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: PaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
490
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: PaginatorComponent, isStandalone: true, selector: "st-paginator", inputs: { paginatorId: { classPropertyName: "paginatorId", publicName: "paginatorId", isSignal: true, isRequired: false, transformFunction: null }, maxSize: { classPropertyName: "maxSize", publicName: "maxSize", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, pages: { classPropertyName: "pages", publicName: "pages", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, currentPage: { classPropertyName: "currentPage", publicName: "currentPage", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pageChanged: "pageChanged", currentPage: "currentPageChange" }, ngImport: i0, template: "@if (type() === 'default') {\n\t<div class=\"flex items-center justify-center gap-2\">\n\t\t<!-- First page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconDoubleArrowLeft\"\n\t\t\t(triggered)=\"firstPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === 1\"\n\t\t></st-pagination-item>\n\t\t<!-- Previous page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconArrowLeft\"\n\t\t\t(triggered)=\"previousPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === 1\"\n\t\t></st-pagination-item>\n\n\t\t@for (page of pageNumbersForDisplay(); track $index) {\n\t\t\t@if (page === '...') {\n\t\t\t\t<!-- Ellipsis for hidden pages -->\n\t\t\t\t<st-pagination-item variant=\"ellipsis\" [size]=\"size()\" shape=\"round-xs\" padding=\"none\" [number]=\"'...'\"></st-pagination-item>\n\t\t\t} @else {\n\t\t\t\t<!-- Numeric page item -->\n\t\t\t\t<st-pagination-item\n\t\t\t\t\t(triggered)=\"handlePageChange(page)\"\n\t\t\t\t\tvariant=\"numeric\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\tshape=\"round-xs\"\n\t\t\t\t\tpadding=\"none\"\n\t\t\t\t\t[number]=\"page\"\n\t\t\t\t\t[active]=\"currentPage() === page\"\n\t\t\t\t></st-pagination-item>\n\t\t\t}\n\t\t}\n\n\t\t<!-- Next page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconArrowRight\"\n\t\t\t(triggered)=\"nextPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === pages() || pages() <= 1\"\n\t\t></st-pagination-item>\n\t\t<!-- Last page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconDoubleArrowRight\"\n\t\t\t(triggered)=\"lastPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === pages() || pages() <= 1\"\n\t\t></st-pagination-item>\n\t</div>\n}\n@if (type() === 'dots') {\n\t<div class=\"flex items-center justify-center gap-2\">\n\t\t@for (page of pageNumbersForDisplay(); track $index) {\n\t\t\t@if (page === '...') {\n\t\t\t\t<!-- Ellipsis for hidden pages -->\n\t\t\t\t<st-pagination-item variant=\"ellipsis\" [size]=\"size()\" shape=\"round-lg\" padding=\"none\" [number]=\"'...'\"></st-pagination-item>\n\t\t\t} @else {\n\t\t\t\t<st-pagination-item\n\t\t\t\t\t(triggered)=\"handlePageChange(page)\"\n\t\t\t\t\tvariant=\"dots\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\tshape=\"round-lg\"\n\t\t\t\t\tpadding=\"none\"\n\t\t\t\t\t[active]=\"currentPage() === page\"\n\t\t\t\t></st-pagination-item>\n\t\t\t}\n\t\t}\n\t</div>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: PaginationItemComponent, selector: "st-pagination-item", inputs: ["variant", "size", "icon", "number", "active", "disabled", "stopPropagation"], outputs: ["clicked", "keyDownEnter", "keyDownSpace", "triggered"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
491
491
  }
492
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: PaginatorComponent, decorators: [{
492
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: PaginatorComponent, decorators: [{
493
493
  type: Component,
494
494
  args: [{ selector: 'st-paginator', imports: [CommonModule, PaginationItemComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (type() === 'default') {\n\t<div class=\"flex items-center justify-center gap-2\">\n\t\t<!-- First page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconDoubleArrowLeft\"\n\t\t\t(triggered)=\"firstPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === 1\"\n\t\t></st-pagination-item>\n\t\t<!-- Previous page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconArrowLeft\"\n\t\t\t(triggered)=\"previousPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === 1\"\n\t\t></st-pagination-item>\n\n\t\t@for (page of pageNumbersForDisplay(); track $index) {\n\t\t\t@if (page === '...') {\n\t\t\t\t<!-- Ellipsis for hidden pages -->\n\t\t\t\t<st-pagination-item variant=\"ellipsis\" [size]=\"size()\" shape=\"round-xs\" padding=\"none\" [number]=\"'...'\"></st-pagination-item>\n\t\t\t} @else {\n\t\t\t\t<!-- Numeric page item -->\n\t\t\t\t<st-pagination-item\n\t\t\t\t\t(triggered)=\"handlePageChange(page)\"\n\t\t\t\t\tvariant=\"numeric\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\tshape=\"round-xs\"\n\t\t\t\t\tpadding=\"none\"\n\t\t\t\t\t[number]=\"page\"\n\t\t\t\t\t[active]=\"currentPage() === page\"\n\t\t\t\t></st-pagination-item>\n\t\t\t}\n\t\t}\n\n\t\t<!-- Next page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconArrowRight\"\n\t\t\t(triggered)=\"nextPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === pages() || pages() <= 1\"\n\t\t></st-pagination-item>\n\t\t<!-- Last page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconDoubleArrowRight\"\n\t\t\t(triggered)=\"lastPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === pages() || pages() <= 1\"\n\t\t></st-pagination-item>\n\t</div>\n}\n@if (type() === 'dots') {\n\t<div class=\"flex items-center justify-center gap-2\">\n\t\t@for (page of pageNumbersForDisplay(); track $index) {\n\t\t\t@if (page === '...') {\n\t\t\t\t<!-- Ellipsis for hidden pages -->\n\t\t\t\t<st-pagination-item variant=\"ellipsis\" [size]=\"size()\" shape=\"round-lg\" padding=\"none\" [number]=\"'...'\"></st-pagination-item>\n\t\t\t} @else {\n\t\t\t\t<st-pagination-item\n\t\t\t\t\t(triggered)=\"handlePageChange(page)\"\n\t\t\t\t\tvariant=\"dots\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\tshape=\"round-lg\"\n\t\t\t\t\tpadding=\"none\"\n\t\t\t\t\t[active]=\"currentPage() === page\"\n\t\t\t\t></st-pagination-item>\n\t\t\t}\n\t\t}\n\t</div>\n}\n" }]
495
495
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-paginator.mjs","sources":["../../../projects/sdk/components/paginator/components/pagination-item/pagination-item.component.ts","../../../projects/sdk/components/paginator/components/pagination-item/pagination-item.component.html","../../../projects/sdk/components/paginator/pipes/pagination.pipe.ts","../../../projects/sdk/components/paginator/src/paginator.component.ts","../../../projects/sdk/components/paginator/src/paginator.component.html","../../../projects/sdk/components/paginator/sixbell-telco-sdk-components-paginator.ts"],"sourcesContent":["import { Component, computed, input, output } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matKeyboardArrowLeftOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\nexport type PaginationItemSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;\n\nconst paginationItemDimensions: Record<\n\tExclude<PaginationItemSizeProps, null | undefined>,\n\t{ button: string[]; dots: string[]; text: TextPreset; icon: 'xs' | 'sm' | 'md' }\n> = {\n\txs: {\n\t\tbutton: ['min-h-[24px]', 'h-[24px]', 'min-w-[24px]', 'w-[24px]'],\n\t\tdots: ['h-[8px]', 'min-h-[8px]', 'w-[8px]', 'min-w-[8px]'],\n\t\ttext: '10',\n\t\ticon: 'xs',\n\t},\n\tsm: {\n\t\tbutton: ['min-h-[28px]', 'h-[28px]', 'min-w-[28px]', 'w-[28px]'],\n\t\tdots: ['h-[9px]', 'min-h-[9px]', 'w-[9px]', 'min-w-[9px]'],\n\t\ttext: '9',\n\t\ticon: 'xs',\n\t},\n\tmd: {\n\t\tbutton: ['min-h-[30px]', 'h-[30px]', 'min-w-[30px]', 'w-[30px]'],\n\t\tdots: ['h-[10px]', 'min-h-[10px]', 'w-[10px]', 'min-w-[10px]'],\n\t\ttext: '8',\n\t\ticon: 'sm',\n\t},\n\tlg: {\n\t\tbutton: ['min-h-[36px]', 'h-[36px]', 'min-w-[36px]', 'w-[36px]'],\n\t\tdots: ['h-[12px]', 'min-h-[12px]', 'w-[12px]', 'min-w-[12px]'],\n\t\ttext: '7',\n\t\ticon: 'md',\n\t},\n};\n\n/**\n * @internal\n * Generates base pagination item classes with style variants\n */\nexport const paginationItemComponent = cva([], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tnumeric: [\n\t\t\t\t'btn',\n\t\t\t\t'btn-outline',\n\t\t\t\t'flex',\n\t\t\t\t'text-base-content',\n\t\t\t\t'border-secondary',\n\t\t\t\t'hover:text-secondary-content',\n\t\t\t\t'hover:bg-secondary/40',\n\t\t\t\t'hover:border-secondary',\n\t\t\t\t'active:hover:bg-secondary-content',\n\t\t\t\t'active:hover:bg-secondary',\n\t\t\t\t'active:focus:border-secondary',\n\t\t\t\t'p-0',\n\t\t\t],\n\t\t\ticon: [\n\t\t\t\t'btn',\n\t\t\t\t'btn-outline',\n\t\t\t\t'flex',\n\t\t\t\t'text-base-content',\n\t\t\t\t'border-secondary',\n\t\t\t\t'hover:text-secondary-content',\n\t\t\t\t'hover:bg-secondary/40',\n\t\t\t\t'hover:border-secondary',\n\t\t\t\t'active:hover:bg-secondary-content',\n\t\t\t\t'active:hover:bg-secondary',\n\t\t\t\t'active:focus:border-secondary',\n\t\t\t\t'p-0',\n\t\t\t],\n\t\t\tdots: [\n\t\t\t\t'btn',\n\t\t\t\t'btn-circle',\n\t\t\t\t'flex',\n\t\t\t\t'border-secondary',\n\t\t\t\t'bg-secondary',\n\t\t\t\t'hover:bg-secondary/40',\n\t\t\t\t'hover:border-secondary',\n\t\t\t\t'hover:scale-150',\n\t\t\t\t'active:hover:bg-secondary',\n\t\t\t\t'active:border-secondary',\n\t\t\t\t'active:scale-150',\n\t\t\t\t'active:focus:border-secondary',\n\t\t\t\t'p-0',\n\t\t\t],\n\t\t\t// New variant for ellipsis\n\t\t\tellipsis: [\n\t\t\t\t'px-2',\n\t\t\t\t'py-1',\n\t\t\t\t'text-base-content',\n\t\t\t\t'pointer-events-none', // Make it non-clickable\n\t\t\t\t'select-none', // Prevent text selection\n\t\t\t],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'numeric',\n\t},\n});\n\n/** Possible pagination item style variants */\nexport type PaginationItemVariantProps = 'numeric' | 'icon' | 'dots' | 'ellipsis' | null | undefined;\n\n/** Configuration object for pagination item styling */\nexport type PaginationItemProps = {\n\tvariant?: PaginationItemVariantProps;\n};\n\n/**\n * A compact pagination control component with interactive states\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports three variants: numeric pages, navigation icons, and dot indicators.\n * Provides visual feedback for active and hover states.\n *\n * @example\n * ```html\n * <!-- Numeric page item -->\n * <st-pagination-item\n * variant=\"numeric\"\n * [number]=\"2\"\n * [active]=\"true\"\n * ></st-pagination-item>\n * ```\n *\n * @example\n * ```html\n * <!-- Icon navigation -->\n * <st-pagination-item\n * variant=\"icon\"\n * icon=\"chevron-right\"\n * ></st-pagination-item>\n * ```\n *\n * @example\n * ```html\n * <!-- Active dot indicator -->\n * <st-pagination-item\n * variant=\"dots\"\n * [active]=\"true\"\n * ></st-pagination-item>\n * ```\n */\n@Component({\n\tselector: 'st-pagination-item',\n\timports: [IconComponent, TextDirective],\n\ttemplateUrl: './pagination-item.component.html',\n\tstyles: '',\n\tstandalone: true,\n})\nexport class PaginationItemComponent {\n\t/**\n\t * Style variant for the pagination item\n\t * @defaultValue 'numeric'\n\t */\n\tvariant = input<PaginationItemVariantProps>();\n\n\t/**\n\t * Visual size for numeric and icon items\n\t * @defaultValue 'md'\n\t */\n\tsize = input<PaginationItemSizeProps>('md');\n\n\t/**\n\t * Icon name from the icon library\n\t * @defaultValue matKeyboardArrowLeftOutline\n\t */\n\ticon = input<string>(matKeyboardArrowLeftOutline);\n\n\t/**\n\t * Display number or custom content\n\t * @defaultValue 1\n\t */\n\tnumber = input<number | string>(1);\n\n\t/**\n\t * Active state styling\n\t * @defaultValue false\n\t */\n\tactive = input<boolean>(false);\n\n\t/**\n\t * Disabled state styling\n\t * @defaultValue false\n\t */\n\tdisabled = input<boolean>(false); // New input for disabled state\n\n\t/**\n\t * Stop event propagation for activation events\n\t * @defaultValue false\n\t */\n\tstopPropagation = input<boolean>(false);\n\n\t/**\n\t * Event emitted on click\n\t */\n\tclicked = output<MouseEvent>();\n\n\t/**\n\t * Event emitted on Enter keydown\n\t */\n\tkeyDownEnter = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on Space keydown\n\t */\n\tkeyDownSpace = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on activation (click or keyboard)\n\t */\n\ttriggered = output<void>();\n\n\t/**\n\t * @internal\n\t * Computed class string for the pagination item\n\t */\n\tcomponentClass = computed(() => {\n\t\tconst resolvedSize = this.size() ?? 'md';\n\t\tconst sizeClasses = this.variant() === 'dots' ? paginationItemDimensions[resolvedSize].dots : paginationItemDimensions[resolvedSize].button;\n\t\treturn cn(\n\t\t\tpaginationItemComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t}),\n\t\t\tsizeClasses,\n\t\t\t{\n\t\t\t\t'bg-secondary border-secondary text-secondary-content': this.active() && this.variant() !== 'dots',\n\t\t\t\t'cursor-not-allowed opacity-50': this.disabled(), // Add disabled styles\n\t\t\t},\n\t\t\t{\n\t\t\t\t'hover:bg-secondary/100 bg-secondary border-secondary text-secondary-content h-[16px] w-[16px] hover:scale-100':\n\t\t\t\t\tthis.active() && this.variant() === 'dots',\n\t\t\t},\n\t\t);\n\t});\n\n\ttextPreset = computed<TextPreset>(() => paginationItemDimensions[this.size() ?? 'md'].text);\n\n\ticonSize = computed<'xs' | 'sm' | 'md'>(() => paginationItemDimensions[this.size() ?? 'md'].icon);\n\n\t/**\n\t * @internal\n\t * Handle click activation\n\t */\n\thandleClick(event: MouseEvent): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.clicked.emit(event);\n\t\tthis.triggered.emit();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Enter key activation\n\t */\n\thandleKeyDownEnter(event: Event): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownEnter.emit(event as KeyboardEvent);\n\t\tthis.triggered.emit();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Space key activation\n\t */\n\thandleKeyDownSpace(event: Event): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownSpace.emit(event as KeyboardEvent);\n\t\tthis.triggered.emit();\n\t}\n}\n","@let variantVar = this.variant();\n@let componentClassVar = this.componentClass();\n\n@if (variantVar === 'numeric') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n} @else if (variantVar === 'icon') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<st-icon [icon]=\"this.icon()\" color=\"inherit\" [size]=\"iconSize()\"></st-icon>\n\t</button>\n} @else if (variantVar === 'dots') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span></span>\n\t</button>\n} @else if (variantVar === 'ellipsis') {\n\t<!-- Ellipsis button is inherently not interactive -->\n\t<button [class]=\"componentClassVar\" type=\"button\" [disabled]=\"true\">\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n} @else {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n}\n","// projects/sdk/components/paginator/src/pagination.pipe.ts\nimport { Pipe, PipeTransform } from '@angular/core';\n\nexport type Pagination = {\n\tcurrentPage: number;\n\titemsPerPage: number;\n};\n\n/**\n * A pipe to manually paginate an array of items.\n *\n * @remarks\n * This pipe takes an array and a pagination configuration object (currentPage, itemsPerPage)\n * and returns a sliced version of the array, representing the items for the current page.\n *\n * @example\n * ```html\n * @for (item of items | pagination: { currentPage: 2, itemsPerPage: 10 }; track item.id) {\n * <li>{{ item.name }}</li>\n * }\n * ```\n */\n@Pipe({\n\tname: 'paginate',\n\tstandalone: true, // Use standalone pipes for better tree-shaking and consistency\n})\nexport class PaginationPipe implements PipeTransform {\n\ttransform<T>(items: T[], pagination: { currentPage: number; itemsPerPage: number }): T[];\n\ttransform<T>(items: T[] | null, pagination: { currentPage: number; itemsPerPage: number }): T[] | null;\n\ttransform<T>(items: T[] | undefined, pagination: { currentPage: number; itemsPerPage: number }): T[] | undefined;\n\ttransform<T>(items: T[] | null | undefined, pagination: { currentPage: number; itemsPerPage: number }): T[] | null | undefined;\n\ttransform<T>(items: T[] | null | undefined, pagination: { currentPage: number; itemsPerPage: number }): T[] | null | undefined {\n\t\tif (!items || !Array.isArray(items) || pagination?.currentPage === undefined || pagination?.itemsPerPage === undefined) {\n\t\t\treturn items;\n\t\t}\n\n\t\tconst currentPage = Math.max(1, pagination.currentPage);\n\t\tconst itemsPerPage = Math.max(1, pagination.itemsPerPage);\n\n\t\tconst startIndex = (currentPage - 1) * itemsPerPage;\n\t\tconst endIndex = startIndex + itemsPerPage;\n\n\t\treturn items.slice(startIndex, endIndex);\n\t}\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input, model, output } from '@angular/core';\nimport {\n\tmatKeyboardArrowLeftOutline,\n\tmatKeyboardArrowRightOutline,\n\tmatKeyboardDoubleArrowLeftOutline,\n\tmatKeyboardDoubleArrowRightOutline,\n} from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { PaginationItemComponent } from '../components/pagination-item/pagination-item.component';\n\n/** Type of pagination display variant */\nexport type PaginationType = 'default' | 'dots';\nexport type PaginatorSizeProps = 'xs' | 'sm' | 'md' | 'lg';\n\n/**\n * A customizable pagination component with navigation controls\n *\n * @remarks\n * Supports both traditional numbered pagination and dot indicators.\n * Provides custom styling and navigation controls.\n *\n * @example\n * ```html\n * <st-paginator\n * [pages]=\"10\"\n * type=\"default\"\n * (pageChanged)=\"onPageChange($event)\"\n * ></st-paginator>\n * ```\n *\n * @example\n * ```html\n * <st-paginator\n * [pages]=\"5\"\n * type=\"dots\"\n * [maxSize]=\"3\"\n * ></st-paginator>\n * ```\n */\n@Component({\n\tselector: 'st-paginator',\n\timports: [CommonModule, PaginationItemComponent],\n\ttemplateUrl: './paginator.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PaginatorComponent {\n\t/**\n\t * Unique identifier for the paginator instance\n\t * @defaultValue 'paginator'\n\t */\n\tpaginatorId = input<string>('paginator');\n\n\t/**\n\t * Maximum number of visible numeric page items (excluding arrows and ellipses).\n\t * This controls the window of page numbers shown around the current page.\n\t * @defaultValue 4\n\t */\n\tmaxSize = input<number>(4);\n\n\t/**\n\t * Pagination display variant\n\t * @defaultValue 'default'\n\t */\n\ttype = input<PaginationType>('default');\n\n\t/**\n\t * Event emitted when the current page changes\n\t */\n\tpageChanged = output<number>();\n\n\t/**\n\t * Total number of pages\n\t * @defaultValue 0\n\t */\n\tpages = input<number>(0);\n\n\t/**\n\t * Size for pagination buttons and labels\n\t * @defaultValue 'md'\n\t */\n\tsize = input<PaginatorSizeProps>('md');\n\n\t/**\n\t * Current active page (1-based)\n\t * @defaultValue 1\n\t */\n\tcurrentPage = model<number>(1);\n\n\t/**\n\t * @internal\n\t * Left arrow icon reference\n\t */\n\ticonArrowLeft = matKeyboardArrowLeftOutline;\n\n\t/**\n\t * @internal\n\t * Double left arrow icon reference\n\t */\n\ticonDoubleArrowLeft = matKeyboardDoubleArrowLeftOutline;\n\n\t/**\n\t * @internal\n\t * Right arrow icon reference\n\t */\n\ticonArrowRight = matKeyboardArrowRightOutline;\n\n\t/**\n\t * @internal\n\t * Double right arrow icon reference\n\t */\n\ticonDoubleArrowRight = matKeyboardDoubleArrowRightOutline;\n\n\t/**\n\t * @internal\n\t * Computed array of page numbers and ellipses for display.\n\t * Implements the logic to show a limited range of pages around the current page\n\t * with '...' for skipped pages.\n\t */\n\tpageNumbersForDisplay = computed<(number | string)[]>(() => {\n\t\tconst totalPages = this.pages();\n\t\tconst currentPage = this.currentPage();\n\t\tconst maxSize = this.maxSize(); // Number of visible numeric page links\n\n\t\tconst pages: (number | string)[] = [];\n\n\t\tif (totalPages <= 1) {\n\t\t\treturn [1];\n\t\t}\n\n\t\tlet startRange: number;\n\t\tlet endRange: number;\n\n\t\t// Calculate the range of pages to display around the current page\n\t\tif (totalPages <= maxSize) {\n\t\t\t// If total pages are less than or equal to maxSize, show all pages\n\t\t\tstartRange = 1;\n\t\t\tendRange = totalPages;\n\t\t} else {\n\t\t\t// Calculate the range to center the currentPage\n\t\t\tconst half = Math.floor(maxSize / 2);\n\t\t\tstartRange = currentPage - half;\n\t\t\tendRange = currentPage + (maxSize - 1 - half);\n\n\t\t\t// Adjust boundary conditions\n\t\t\tif (startRange < 1) {\n\t\t\t\tstartRange = 1;\n\t\t\t\tendRange = maxSize;\n\t\t\t}\n\t\t\tif (endRange > totalPages) {\n\t\t\t\tendRange = totalPages;\n\t\t\t\tstartRange = totalPages - maxSize + 1;\n\t\t\t}\n\t\t}\n\n\t\t// Add first page and leading ellipsis if necessary\n\t\tif (startRange > 1) {\n\t\t\tpages.push(1);\n\t\t\tif (startRange > 2) {\n\t\t\t\t// Only add ellipsis if there's at least one page between 1 and startRange\n\t\t\t\tpages.push('...');\n\t\t\t}\n\t\t}\n\n\t\t// Add pages within the calculated range\n\t\tfor (let i = startRange; i <= endRange; i++) {\n\t\t\tpages.push(i);\n\t\t}\n\n\t\t// Add trailing ellipsis and last page if necessary\n\t\tif (endRange < totalPages) {\n\t\t\tif (endRange < totalPages - 1) {\n\t\t\t\t// Only add ellipsis if there's at least one page between endRange and totalPages\n\t\t\t\tpages.push('...');\n\t\t\t}\n\t\t\t// Ensure last page is only added once and if it's not already in the array\n\t\t\tif (!pages.includes(totalPages)) {\n\t\t\t\tpages.push(totalPages);\n\t\t\t}\n\t\t}\n\n\t\t// Final pass to remove potential duplicate adjacent '...' (e.g., if page 1, ..., 3, ..., 5 leads to 1, ..., ..., 5)\n\t\tconst finalPages: (number | string)[] = [];\n\t\tfor (let i = 0; i < pages.length; i++) {\n\t\t\t// Skip if current is '...' and previous was also '...'\n\t\t\tif (pages[i] === '...' && finalPages.length > 0 && finalPages[finalPages.length - 1] === '...') {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tfinalPages.push(pages[i]);\n\t\t}\n\n\t\treturn finalPages;\n\t});\n\n\t/**\n\t * @internal\n\t * Handles page navigation changes\n\t * @param page - New page number (or '...' if clicked on ellipsis, which is ignored)\n\t */\n\thandlePageChange(page: number | string) {\n\t\t// Updated signature to accept string\n\t\tif (typeof page !== 'number') {\n\t\t\t// Type guard: ignore clicks on '...'\n\t\t\treturn;\n\t\t}\n\t\tconst totalPages = Math.max(this.pages(), 1);\n\t\tconst newPage = Math.min(Math.max(1, page), totalPages);\n\t\tif (newPage !== this.currentPage()) {\n\t\t\tthis.currentPage.set(newPage);\n\t\t\tthis.pageChanged.emit(newPage);\n\t\t}\n\t}\n\n\t/**\n\t * @internal\n\t * Navigates to previous page if available\n\t */\n\tpreviousPage() {\n\t\tthis.handlePageChange(this.currentPage() - 1);\n\t}\n\n\t/**\n\t * @internal\n\t * Navigates to next page if available\n\t */\n\tnextPage() {\n\t\tthis.handlePageChange(this.currentPage() + 1);\n\t}\n\n\t/**\n\t * @internal\n\t * Jumps to first page\n\t */\n\tfirstPage() {\n\t\tthis.handlePageChange(1);\n\t}\n\n\t/**\n\t * @internal\n\t * Jumps to last page\n\t */\n\tlastPage() {\n\t\tthis.handlePageChange(Math.max(this.pages(), 1));\n\t}\n}\n","@if (type() === 'default') {\n\t<div class=\"flex items-center justify-center gap-2\">\n\t\t<!-- First page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconDoubleArrowLeft\"\n\t\t\t(triggered)=\"firstPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === 1\"\n\t\t></st-pagination-item>\n\t\t<!-- Previous page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconArrowLeft\"\n\t\t\t(triggered)=\"previousPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === 1\"\n\t\t></st-pagination-item>\n\n\t\t@for (page of pageNumbersForDisplay(); track $index) {\n\t\t\t@if (page === '...') {\n\t\t\t\t<!-- Ellipsis for hidden pages -->\n\t\t\t\t<st-pagination-item variant=\"ellipsis\" [size]=\"size()\" shape=\"round-xs\" padding=\"none\" [number]=\"'...'\"></st-pagination-item>\n\t\t\t} @else {\n\t\t\t\t<!-- Numeric page item -->\n\t\t\t\t<st-pagination-item\n\t\t\t\t\t(triggered)=\"handlePageChange(page)\"\n\t\t\t\t\tvariant=\"numeric\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\tshape=\"round-xs\"\n\t\t\t\t\tpadding=\"none\"\n\t\t\t\t\t[number]=\"page\"\n\t\t\t\t\t[active]=\"currentPage() === page\"\n\t\t\t\t></st-pagination-item>\n\t\t\t}\n\t\t}\n\n\t\t<!-- Next page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconArrowRight\"\n\t\t\t(triggered)=\"nextPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === pages() || pages() <= 1\"\n\t\t></st-pagination-item>\n\t\t<!-- Last page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconDoubleArrowRight\"\n\t\t\t(triggered)=\"lastPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === pages() || pages() <= 1\"\n\t\t></st-pagination-item>\n\t</div>\n}\n@if (type() === 'dots') {\n\t<div class=\"flex items-center justify-center gap-2\">\n\t\t@for (page of pageNumbersForDisplay(); track $index) {\n\t\t\t@if (page === '...') {\n\t\t\t\t<!-- Ellipsis for hidden pages -->\n\t\t\t\t<st-pagination-item variant=\"ellipsis\" [size]=\"size()\" shape=\"round-lg\" padding=\"none\" [number]=\"'...'\"></st-pagination-item>\n\t\t\t} @else {\n\t\t\t\t<st-pagination-item\n\t\t\t\t\t(triggered)=\"handlePageChange(page)\"\n\t\t\t\t\tvariant=\"dots\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\tshape=\"round-lg\"\n\t\t\t\t\tpadding=\"none\"\n\t\t\t\t\t[active]=\"currentPage() === page\"\n\t\t\t\t></st-pagination-item>\n\t\t\t}\n\t\t}\n\t</div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AASA,MAAM,wBAAwB,GAG1B;AACH,IAAA,EAAE,EAAE;QACH,MAAM,EAAE,CAAC,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,CAAC;QAChE,IAAI,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,CAAC;AAC1D,QAAA,IAAI,EAAE,IAAI;AACV,QAAA,IAAI,EAAE,IAAI;AACV,KAAA;AACD,IAAA,EAAE,EAAE;QACH,MAAM,EAAE,CAAC,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,CAAC;QAChE,IAAI,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,CAAC;AAC1D,QAAA,IAAI,EAAE,GAAG;AACT,QAAA,IAAI,EAAE,IAAI;AACV,KAAA;AACD,IAAA,EAAE,EAAE;QACH,MAAM,EAAE,CAAC,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,CAAC;QAChE,IAAI,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,CAAC;AAC9D,QAAA,IAAI,EAAE,GAAG;AACT,QAAA,IAAI,EAAE,IAAI;AACV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AA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,WAAA,EAAA,mBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,mnFAkFA,EDzCW,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,+BAAE,uBAAuB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,MAAA,EAAA,MAAA,EAAA,QAAA,EAAA,QAAA,EAAA,UAAA,EAAA,iBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,cAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAInC,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;+BACC,cAAc,EAAA,OAAA,EACf,CAAC,YAAY,EAAE,uBAAuB,CAAC,EAAA,eAAA,EAE/B,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mnFAAA,EAAA;;;AE3ChD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-paginator.mjs","sources":["../../../projects/sdk/components/paginator/components/pagination-item/pagination-item.component.ts","../../../projects/sdk/components/paginator/components/pagination-item/pagination-item.component.html","../../../projects/sdk/components/paginator/pipes/pagination.pipe.ts","../../../projects/sdk/components/paginator/src/paginator.component.ts","../../../projects/sdk/components/paginator/src/paginator.component.html","../../../projects/sdk/components/paginator/sixbell-telco-sdk-components-paginator.ts"],"sourcesContent":["import { Component, computed, input, output } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matKeyboardArrowLeftOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { TextDirective, TextPreset } from '@sixbell-telco/sdk/directives/text';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\nexport type PaginationItemSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;\n\nconst paginationItemDimensions: Record<\n\tExclude<PaginationItemSizeProps, null | undefined>,\n\t{ button: string[]; dots: string[]; text: TextPreset; icon: 'xs' | 'sm' | 'md' }\n> = {\n\txs: {\n\t\tbutton: ['min-h-[24px]', 'h-[24px]', 'min-w-[24px]', 'w-[24px]'],\n\t\tdots: ['h-[8px]', 'min-h-[8px]', 'w-[8px]', 'min-w-[8px]'],\n\t\ttext: '10',\n\t\ticon: 'xs',\n\t},\n\tsm: {\n\t\tbutton: ['min-h-[28px]', 'h-[28px]', 'min-w-[28px]', 'w-[28px]'],\n\t\tdots: ['h-[9px]', 'min-h-[9px]', 'w-[9px]', 'min-w-[9px]'],\n\t\ttext: '9',\n\t\ticon: 'xs',\n\t},\n\tmd: {\n\t\tbutton: ['min-h-[30px]', 'h-[30px]', 'min-w-[30px]', 'w-[30px]'],\n\t\tdots: ['h-[10px]', 'min-h-[10px]', 'w-[10px]', 'min-w-[10px]'],\n\t\ttext: '8',\n\t\ticon: 'sm',\n\t},\n\tlg: {\n\t\tbutton: ['min-h-[36px]', 'h-[36px]', 'min-w-[36px]', 'w-[36px]'],\n\t\tdots: ['h-[12px]', 'min-h-[12px]', 'w-[12px]', 'min-w-[12px]'],\n\t\ttext: '7',\n\t\ticon: 'md',\n\t},\n};\n\n/**\n * @internal\n * Generates base pagination item classes with style variants\n */\nexport const paginationItemComponent = cva([], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tnumeric: [\n\t\t\t\t'btn',\n\t\t\t\t'btn-outline',\n\t\t\t\t'flex',\n\t\t\t\t'text-base-content',\n\t\t\t\t'border-secondary',\n\t\t\t\t'hover:text-secondary-content',\n\t\t\t\t'hover:bg-secondary/40',\n\t\t\t\t'hover:border-secondary',\n\t\t\t\t'active:hover:bg-secondary-content',\n\t\t\t\t'active:hover:bg-secondary',\n\t\t\t\t'active:focus:border-secondary',\n\t\t\t\t'p-0',\n\t\t\t],\n\t\t\ticon: [\n\t\t\t\t'btn',\n\t\t\t\t'btn-outline',\n\t\t\t\t'flex',\n\t\t\t\t'text-base-content',\n\t\t\t\t'border-secondary',\n\t\t\t\t'hover:text-secondary-content',\n\t\t\t\t'hover:bg-secondary/40',\n\t\t\t\t'hover:border-secondary',\n\t\t\t\t'active:hover:bg-secondary-content',\n\t\t\t\t'active:hover:bg-secondary',\n\t\t\t\t'active:focus:border-secondary',\n\t\t\t\t'p-0',\n\t\t\t],\n\t\t\tdots: [\n\t\t\t\t'btn',\n\t\t\t\t'btn-circle',\n\t\t\t\t'flex',\n\t\t\t\t'border-secondary',\n\t\t\t\t'bg-secondary',\n\t\t\t\t'hover:bg-secondary/40',\n\t\t\t\t'hover:border-secondary',\n\t\t\t\t'hover:scale-150',\n\t\t\t\t'active:hover:bg-secondary',\n\t\t\t\t'active:border-secondary',\n\t\t\t\t'active:scale-150',\n\t\t\t\t'active:focus:border-secondary',\n\t\t\t\t'p-0',\n\t\t\t],\n\t\t\t// New variant for ellipsis\n\t\t\tellipsis: [\n\t\t\t\t'px-2',\n\t\t\t\t'py-1',\n\t\t\t\t'text-base-content',\n\t\t\t\t'pointer-events-none', // Make it non-clickable\n\t\t\t\t'select-none', // Prevent text selection\n\t\t\t],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'numeric',\n\t},\n});\n\n/** Possible pagination item style variants */\nexport type PaginationItemVariantProps = 'numeric' | 'icon' | 'dots' | 'ellipsis' | null | undefined;\n\n/** Configuration object for pagination item styling */\nexport type PaginationItemProps = {\n\tvariant?: PaginationItemVariantProps;\n};\n\n/**\n * A compact pagination control component with interactive states\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports three variants: numeric pages, navigation icons, and dot indicators.\n * Provides visual feedback for active and hover states.\n *\n * @example\n * ```html\n * <!-- Numeric page item -->\n * <st-pagination-item\n * variant=\"numeric\"\n * [number]=\"2\"\n * [active]=\"true\"\n * ></st-pagination-item>\n * ```\n *\n * @example\n * ```html\n * <!-- Icon navigation -->\n * <st-pagination-item\n * variant=\"icon\"\n * icon=\"chevron-right\"\n * ></st-pagination-item>\n * ```\n *\n * @example\n * ```html\n * <!-- Active dot indicator -->\n * <st-pagination-item\n * variant=\"dots\"\n * [active]=\"true\"\n * ></st-pagination-item>\n * ```\n */\n@Component({\n\tselector: 'st-pagination-item',\n\timports: [IconComponent, TextDirective],\n\ttemplateUrl: './pagination-item.component.html',\n\tstyles: '',\n\tstandalone: true,\n})\nexport class PaginationItemComponent {\n\t/**\n\t * Style variant for the pagination item\n\t * @defaultValue 'numeric'\n\t */\n\tvariant = input<PaginationItemVariantProps>();\n\n\t/**\n\t * Visual size for numeric and icon items\n\t * @defaultValue 'md'\n\t */\n\tsize = input<PaginationItemSizeProps>('md');\n\n\t/**\n\t * Icon name from the icon library\n\t * @defaultValue matKeyboardArrowLeftOutline\n\t */\n\ticon = input<string>(matKeyboardArrowLeftOutline);\n\n\t/**\n\t * Display number or custom content\n\t * @defaultValue 1\n\t */\n\tnumber = input<number | string>(1);\n\n\t/**\n\t * Active state styling\n\t * @defaultValue false\n\t */\n\tactive = input<boolean>(false);\n\n\t/**\n\t * Disabled state styling\n\t * @defaultValue false\n\t */\n\tdisabled = input<boolean>(false); // New input for disabled state\n\n\t/**\n\t * Stop event propagation for activation events\n\t * @defaultValue false\n\t */\n\tstopPropagation = input<boolean>(false);\n\n\t/**\n\t * Event emitted on click\n\t */\n\tclicked = output<MouseEvent>();\n\n\t/**\n\t * Event emitted on Enter keydown\n\t */\n\tkeyDownEnter = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on Space keydown\n\t */\n\tkeyDownSpace = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on activation (click or keyboard)\n\t */\n\ttriggered = output<void>();\n\n\t/**\n\t * @internal\n\t * Computed class string for the pagination item\n\t */\n\tcomponentClass = computed(() => {\n\t\tconst resolvedSize = this.size() ?? 'md';\n\t\tconst sizeClasses = this.variant() === 'dots' ? paginationItemDimensions[resolvedSize].dots : paginationItemDimensions[resolvedSize].button;\n\t\treturn cn(\n\t\t\tpaginationItemComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t}),\n\t\t\tsizeClasses,\n\t\t\t{\n\t\t\t\t'bg-secondary border-secondary text-secondary-content': this.active() && this.variant() !== 'dots',\n\t\t\t\t'cursor-not-allowed opacity-50': this.disabled(), // Add disabled styles\n\t\t\t},\n\t\t\t{\n\t\t\t\t'hover:bg-secondary/100 bg-secondary border-secondary text-secondary-content h-[16px] w-[16px] hover:scale-100':\n\t\t\t\t\tthis.active() && this.variant() === 'dots',\n\t\t\t},\n\t\t);\n\t});\n\n\ttextPreset = computed<TextPreset>(() => paginationItemDimensions[this.size() ?? 'md'].text);\n\n\ticonSize = computed<'xs' | 'sm' | 'md'>(() => paginationItemDimensions[this.size() ?? 'md'].icon);\n\n\t/**\n\t * @internal\n\t * Handle click activation\n\t */\n\thandleClick(event: MouseEvent): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.clicked.emit(event);\n\t\tthis.triggered.emit();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Enter key activation\n\t */\n\thandleKeyDownEnter(event: Event): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownEnter.emit(event as KeyboardEvent);\n\t\tthis.triggered.emit();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Space key activation\n\t */\n\thandleKeyDownSpace(event: Event): void {\n\t\tif (this.disabled()) return;\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownSpace.emit(event as KeyboardEvent);\n\t\tthis.triggered.emit();\n\t}\n}\n","@let variantVar = this.variant();\n@let componentClassVar = this.componentClass();\n\n@if (variantVar === 'numeric') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n} @else if (variantVar === 'icon') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<st-icon [icon]=\"this.icon()\" color=\"inherit\" [size]=\"iconSize()\"></st-icon>\n\t</button>\n} @else if (variantVar === 'dots') {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span></span>\n\t</button>\n} @else if (variantVar === 'ellipsis') {\n\t<!-- Ellipsis button is inherently not interactive -->\n\t<button [class]=\"componentClassVar\" type=\"button\" [disabled]=\"true\">\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n} @else {\n\t<button\n\t\t[class]=\"componentClassVar\"\n\t\ttype=\"button\"\n\t\t[disabled]=\"disabled()\"\n\t\t(click)=\"handleClick($event)\"\n\t\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\t>\n\t\t<span [stText]=\"textPreset()\">{{ number() }}</span>\n\t</button>\n}\n","// projects/sdk/components/paginator/src/pagination.pipe.ts\nimport { Pipe, PipeTransform } from '@angular/core';\n\nexport type Pagination = {\n\tcurrentPage: number;\n\titemsPerPage: number;\n};\n\n/**\n * A pipe to manually paginate an array of items.\n *\n * @remarks\n * This pipe takes an array and a pagination configuration object (currentPage, itemsPerPage)\n * and returns a sliced version of the array, representing the items for the current page.\n *\n * @example\n * ```html\n * @for (item of items | pagination: { currentPage: 2, itemsPerPage: 10 }; track item.id) {\n * <li>{{ item.name }}</li>\n * }\n * ```\n */\n@Pipe({\n\tname: 'paginate',\n\tstandalone: true, // Use standalone pipes for better tree-shaking and consistency\n})\nexport class PaginationPipe implements PipeTransform {\n\ttransform<T>(items: T[], pagination: { currentPage: number; itemsPerPage: number }): T[];\n\ttransform<T>(items: T[] | null, pagination: { currentPage: number; itemsPerPage: number }): T[] | null;\n\ttransform<T>(items: T[] | undefined, pagination: { currentPage: number; itemsPerPage: number }): T[] | undefined;\n\ttransform<T>(items: T[] | null | undefined, pagination: { currentPage: number; itemsPerPage: number }): T[] | null | undefined;\n\ttransform<T>(items: T[] | null | undefined, pagination: { currentPage: number; itemsPerPage: number }): T[] | null | undefined {\n\t\tif (!items || !Array.isArray(items) || pagination?.currentPage === undefined || pagination?.itemsPerPage === undefined) {\n\t\t\treturn items;\n\t\t}\n\n\t\tconst currentPage = Math.max(1, pagination.currentPage);\n\t\tconst itemsPerPage = Math.max(1, pagination.itemsPerPage);\n\n\t\tconst startIndex = (currentPage - 1) * itemsPerPage;\n\t\tconst endIndex = startIndex + itemsPerPage;\n\n\t\treturn items.slice(startIndex, endIndex);\n\t}\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input, model, output } from '@angular/core';\nimport {\n\tmatKeyboardArrowLeftOutline,\n\tmatKeyboardArrowRightOutline,\n\tmatKeyboardDoubleArrowLeftOutline,\n\tmatKeyboardDoubleArrowRightOutline,\n} from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { PaginationItemComponent } from '../components/pagination-item/pagination-item.component';\n\n/** Type of pagination display variant */\nexport type PaginationType = 'default' | 'dots';\nexport type PaginatorSizeProps = 'xs' | 'sm' | 'md' | 'lg';\n\n/**\n * A customizable pagination component with navigation controls\n *\n * @remarks\n * Supports both traditional numbered pagination and dot indicators.\n * Provides custom styling and navigation controls.\n *\n * @example\n * ```html\n * <st-paginator\n * [pages]=\"10\"\n * type=\"default\"\n * (pageChanged)=\"onPageChange($event)\"\n * ></st-paginator>\n * ```\n *\n * @example\n * ```html\n * <st-paginator\n * [pages]=\"5\"\n * type=\"dots\"\n * [maxSize]=\"3\"\n * ></st-paginator>\n * ```\n */\n@Component({\n\tselector: 'st-paginator',\n\timports: [CommonModule, PaginationItemComponent],\n\ttemplateUrl: './paginator.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PaginatorComponent {\n\t/**\n\t * Unique identifier for the paginator instance\n\t * @defaultValue 'paginator'\n\t */\n\tpaginatorId = input<string>('paginator');\n\n\t/**\n\t * Maximum number of visible numeric page items (excluding arrows and ellipses).\n\t * This controls the window of page numbers shown around the current page.\n\t * @defaultValue 4\n\t */\n\tmaxSize = input<number>(4);\n\n\t/**\n\t * Pagination display variant\n\t * @defaultValue 'default'\n\t */\n\ttype = input<PaginationType>('default');\n\n\t/**\n\t * Event emitted when the current page changes\n\t */\n\tpageChanged = output<number>();\n\n\t/**\n\t * Total number of pages\n\t * @defaultValue 0\n\t */\n\tpages = input<number>(0);\n\n\t/**\n\t * Size for pagination buttons and labels\n\t * @defaultValue 'md'\n\t */\n\tsize = input<PaginatorSizeProps>('md');\n\n\t/**\n\t * Current active page (1-based)\n\t * @defaultValue 1\n\t */\n\tcurrentPage = model<number>(1);\n\n\t/**\n\t * @internal\n\t * Left arrow icon reference\n\t */\n\ticonArrowLeft = matKeyboardArrowLeftOutline;\n\n\t/**\n\t * @internal\n\t * Double left arrow icon reference\n\t */\n\ticonDoubleArrowLeft = matKeyboardDoubleArrowLeftOutline;\n\n\t/**\n\t * @internal\n\t * Right arrow icon reference\n\t */\n\ticonArrowRight = matKeyboardArrowRightOutline;\n\n\t/**\n\t * @internal\n\t * Double right arrow icon reference\n\t */\n\ticonDoubleArrowRight = matKeyboardDoubleArrowRightOutline;\n\n\t/**\n\t * @internal\n\t * Computed array of page numbers and ellipses for display.\n\t * Implements the logic to show a limited range of pages around the current page\n\t * with '...' for skipped pages.\n\t */\n\tpageNumbersForDisplay = computed<(number | string)[]>(() => {\n\t\tconst totalPages = this.pages();\n\t\tconst currentPage = this.currentPage();\n\t\tconst maxSize = this.maxSize(); // Number of visible numeric page links\n\n\t\tconst pages: (number | string)[] = [];\n\n\t\tif (totalPages <= 1) {\n\t\t\treturn [1];\n\t\t}\n\n\t\tlet startRange: number;\n\t\tlet endRange: number;\n\n\t\t// Calculate the range of pages to display around the current page\n\t\tif (totalPages <= maxSize) {\n\t\t\t// If total pages are less than or equal to maxSize, show all pages\n\t\t\tstartRange = 1;\n\t\t\tendRange = totalPages;\n\t\t} else {\n\t\t\t// Calculate the range to center the currentPage\n\t\t\tconst half = Math.floor(maxSize / 2);\n\t\t\tstartRange = currentPage - half;\n\t\t\tendRange = currentPage + (maxSize - 1 - half);\n\n\t\t\t// Adjust boundary conditions\n\t\t\tif (startRange < 1) {\n\t\t\t\tstartRange = 1;\n\t\t\t\tendRange = maxSize;\n\t\t\t}\n\t\t\tif (endRange > totalPages) {\n\t\t\t\tendRange = totalPages;\n\t\t\t\tstartRange = totalPages - maxSize + 1;\n\t\t\t}\n\t\t}\n\n\t\t// Add first page and leading ellipsis if necessary\n\t\tif (startRange > 1) {\n\t\t\tpages.push(1);\n\t\t\tif (startRange > 2) {\n\t\t\t\t// Only add ellipsis if there's at least one page between 1 and startRange\n\t\t\t\tpages.push('...');\n\t\t\t}\n\t\t}\n\n\t\t// Add pages within the calculated range\n\t\tfor (let i = startRange; i <= endRange; i++) {\n\t\t\tpages.push(i);\n\t\t}\n\n\t\t// Add trailing ellipsis and last page if necessary\n\t\tif (endRange < totalPages) {\n\t\t\tif (endRange < totalPages - 1) {\n\t\t\t\t// Only add ellipsis if there's at least one page between endRange and totalPages\n\t\t\t\tpages.push('...');\n\t\t\t}\n\t\t\t// Ensure last page is only added once and if it's not already in the array\n\t\t\tif (!pages.includes(totalPages)) {\n\t\t\t\tpages.push(totalPages);\n\t\t\t}\n\t\t}\n\n\t\t// Final pass to remove potential duplicate adjacent '...' (e.g., if page 1, ..., 3, ..., 5 leads to 1, ..., ..., 5)\n\t\tconst finalPages: (number | string)[] = [];\n\t\tfor (let i = 0; i < pages.length; i++) {\n\t\t\t// Skip if current is '...' and previous was also '...'\n\t\t\tif (pages[i] === '...' && finalPages.length > 0 && finalPages[finalPages.length - 1] === '...') {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tfinalPages.push(pages[i]);\n\t\t}\n\n\t\treturn finalPages;\n\t});\n\n\t/**\n\t * @internal\n\t * Handles page navigation changes\n\t * @param page - New page number (or '...' if clicked on ellipsis, which is ignored)\n\t */\n\thandlePageChange(page: number | string) {\n\t\t// Updated signature to accept string\n\t\tif (typeof page !== 'number') {\n\t\t\t// Type guard: ignore clicks on '...'\n\t\t\treturn;\n\t\t}\n\t\tconst totalPages = Math.max(this.pages(), 1);\n\t\tconst newPage = Math.min(Math.max(1, page), totalPages);\n\t\tif (newPage !== this.currentPage()) {\n\t\t\tthis.currentPage.set(newPage);\n\t\t\tthis.pageChanged.emit(newPage);\n\t\t}\n\t}\n\n\t/**\n\t * @internal\n\t * Navigates to previous page if available\n\t */\n\tpreviousPage() {\n\t\tthis.handlePageChange(this.currentPage() - 1);\n\t}\n\n\t/**\n\t * @internal\n\t * Navigates to next page if available\n\t */\n\tnextPage() {\n\t\tthis.handlePageChange(this.currentPage() + 1);\n\t}\n\n\t/**\n\t * @internal\n\t * Jumps to first page\n\t */\n\tfirstPage() {\n\t\tthis.handlePageChange(1);\n\t}\n\n\t/**\n\t * @internal\n\t * Jumps to last page\n\t */\n\tlastPage() {\n\t\tthis.handlePageChange(Math.max(this.pages(), 1));\n\t}\n}\n","@if (type() === 'default') {\n\t<div class=\"flex items-center justify-center gap-2\">\n\t\t<!-- First page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconDoubleArrowLeft\"\n\t\t\t(triggered)=\"firstPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === 1\"\n\t\t></st-pagination-item>\n\t\t<!-- Previous page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconArrowLeft\"\n\t\t\t(triggered)=\"previousPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === 1\"\n\t\t></st-pagination-item>\n\n\t\t@for (page of pageNumbersForDisplay(); track $index) {\n\t\t\t@if (page === '...') {\n\t\t\t\t<!-- Ellipsis for hidden pages -->\n\t\t\t\t<st-pagination-item variant=\"ellipsis\" [size]=\"size()\" shape=\"round-xs\" padding=\"none\" [number]=\"'...'\"></st-pagination-item>\n\t\t\t} @else {\n\t\t\t\t<!-- Numeric page item -->\n\t\t\t\t<st-pagination-item\n\t\t\t\t\t(triggered)=\"handlePageChange(page)\"\n\t\t\t\t\tvariant=\"numeric\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\tshape=\"round-xs\"\n\t\t\t\t\tpadding=\"none\"\n\t\t\t\t\t[number]=\"page\"\n\t\t\t\t\t[active]=\"currentPage() === page\"\n\t\t\t\t></st-pagination-item>\n\t\t\t}\n\t\t}\n\n\t\t<!-- Next page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconArrowRight\"\n\t\t\t(triggered)=\"nextPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === pages() || pages() <= 1\"\n\t\t></st-pagination-item>\n\t\t<!-- Last page button -->\n\t\t<st-pagination-item\n\t\t\t[icon]=\"iconDoubleArrowRight\"\n\t\t\t(triggered)=\"lastPage()\"\n\t\t\tvariant=\"icon\"\n\t\t\t[size]=\"size()\"\n\t\t\tshape=\"round-xs\"\n\t\t\tpadding=\"none\"\n\t\t\t[disabled]=\"currentPage() === pages() || pages() <= 1\"\n\t\t></st-pagination-item>\n\t</div>\n}\n@if (type() === 'dots') {\n\t<div class=\"flex items-center justify-center gap-2\">\n\t\t@for (page of pageNumbersForDisplay(); track $index) {\n\t\t\t@if (page === '...') {\n\t\t\t\t<!-- Ellipsis for hidden pages -->\n\t\t\t\t<st-pagination-item variant=\"ellipsis\" [size]=\"size()\" shape=\"round-lg\" padding=\"none\" [number]=\"'...'\"></st-pagination-item>\n\t\t\t} @else {\n\t\t\t\t<st-pagination-item\n\t\t\t\t\t(triggered)=\"handlePageChange(page)\"\n\t\t\t\t\tvariant=\"dots\"\n\t\t\t\t\t[size]=\"size()\"\n\t\t\t\t\tshape=\"round-lg\"\n\t\t\t\t\tpadding=\"none\"\n\t\t\t\t\t[active]=\"currentPage() === page\"\n\t\t\t\t></st-pagination-item>\n\t\t\t}\n\t\t}\n\t</div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AASA,MAAM,wBAAwB,GAG1B;AACH,IAAA,EAAE,EAAE;QACH,MAAM,EAAE,CAAC,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,CAAC;QAChE,IAAI,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,CAAC;AAC1D,QAAA,IAAI,EAAE,IAAI;AACV,QAAA,IAAI,EAAE,IAAI;AAC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AA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAInC,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;+BACC,cAAc,EAAA,OAAA,EACf,CAAC,YAAY,EAAE,uBAAuB,CAAC,EAAA,eAAA,EAE/B,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mnFAAA,EAAA;;;AE3ChD;;AAEG;;;;"}
@@ -8,10 +8,10 @@ import { cva, cx } from 'class-variance-authority';
8
8
 
9
9
  class ProductCardActionsDirective {
10
10
  tplRef = inject(TemplateRef);
11
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ProductCardActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
12
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0", type: ProductCardActionsDirective, isStandalone: true, selector: "[stProductCardActions]", ngImport: i0 });
11
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ProductCardActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
12
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: ProductCardActionsDirective, isStandalone: true, selector: "[stProductCardActions]", ngImport: i0 });
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ProductCardActionsDirective, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ProductCardActionsDirective, decorators: [{
15
15
  type: Directive,
16
16
  args: [{
17
17
  selector: '[stProductCardActions]',
@@ -21,10 +21,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
21
21
 
22
22
  class ProductCardContentDirective {
23
23
  tplRef = inject(TemplateRef);
24
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ProductCardContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0", type: ProductCardContentDirective, isStandalone: true, selector: "[stProductCardContent]", ngImport: i0 });
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ProductCardContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: ProductCardContentDirective, isStandalone: true, selector: "[stProductCardContent]", ngImport: i0 });
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ProductCardContentDirective, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ProductCardContentDirective, decorators: [{
28
28
  type: Directive,
29
29
  args: [{
30
30
  selector: '[stProductCardContent]',
@@ -34,10 +34,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
34
34
 
35
35
  class ProductCardHeaderDirective {
36
36
  tplRef = inject(TemplateRef);
37
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ProductCardHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
38
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0", type: ProductCardHeaderDirective, isStandalone: true, selector: "[stProductCardHeader]", ngImport: i0 });
37
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ProductCardHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
38
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: ProductCardHeaderDirective, isStandalone: true, selector: "[stProductCardHeader]", ngImport: i0 });
39
39
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ProductCardHeaderDirective, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ProductCardHeaderDirective, decorators: [{
41
41
  type: Directive,
42
42
  args: [{
43
43
  selector: '[stProductCardHeader]',
@@ -159,10 +159,10 @@ class ProductCardComponent {
159
159
  })));
160
160
  titleClass = computed(() => cn('card-title', this.titleClasses()));
161
161
  actionsClass = computed(() => cn('card-actions', this.actionsClasses()));
162
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ProductCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
163
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: ProductCardComponent, isStandalone: true, selector: "st-product-card", inputs: { shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, figurePosition: { classPropertyName: "figurePosition", publicName: "figurePosition", isSignal: true, isRequired: false, transformFunction: null }, figureBackground: { classPropertyName: "figureBackground", publicName: "figureBackground", isSignal: true, isRequired: false, transformFunction: null }, figureAlignment: { classPropertyName: "figureAlignment", publicName: "figureAlignment", isSignal: true, isRequired: false, transformFunction: null }, figurePaddingY: { classPropertyName: "figurePaddingY", publicName: "figurePaddingY", isSignal: true, isRequired: false, transformFunction: null }, figurePaddingX: { classPropertyName: "figurePaddingX", publicName: "figurePaddingX", isSignal: true, isRequired: false, transformFunction: null }, titleClasses: { classPropertyName: "titleClasses", publicName: "titleClasses", isSignal: true, isRequired: false, transformFunction: null }, actionsClasses: { classPropertyName: "actionsClasses", publicName: "actionsClasses", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "header", first: true, predicate: ProductCardHeaderDirective, descendants: true, isSignal: true }, { propertyName: "content", first: true, predicate: ProductCardContentDirective, descendants: true, isSignal: true }, { propertyName: "actions", first: true, predicate: ProductCardActionsDirective, descendants: true, isSignal: true }], ngImport: i0, template: "@let figurePositionVar = this.figurePosition();\n@let imageVar = image();\n@let iconVar = icon();\n\n<div [class]=\"containerClass()\">\n\t@if (figurePositionVar === 'top' || figurePositionVar === 'side' || !figurePositionVar) {\n\t\t<figure [class]=\"figureClass()\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n\t<div class=\"card-body\">\n\t\t<div [class]=\"titleClass()\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"header()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div>\n\t\t\t<ng-container [ngTemplateOutlet]=\"content()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div [class]=\"actionsClass()\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"actions()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t</div>\n\t@if (figurePositionVar === 'bottom') {\n\t\t<figure [class]=\"figureClass()\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }] });
162
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ProductCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
163
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: ProductCardComponent, isStandalone: true, selector: "st-product-card", inputs: { shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, figurePosition: { classPropertyName: "figurePosition", publicName: "figurePosition", isSignal: true, isRequired: false, transformFunction: null }, figureBackground: { classPropertyName: "figureBackground", publicName: "figureBackground", isSignal: true, isRequired: false, transformFunction: null }, figureAlignment: { classPropertyName: "figureAlignment", publicName: "figureAlignment", isSignal: true, isRequired: false, transformFunction: null }, figurePaddingY: { classPropertyName: "figurePaddingY", publicName: "figurePaddingY", isSignal: true, isRequired: false, transformFunction: null }, figurePaddingX: { classPropertyName: "figurePaddingX", publicName: "figurePaddingX", isSignal: true, isRequired: false, transformFunction: null }, titleClasses: { classPropertyName: "titleClasses", publicName: "titleClasses", isSignal: true, isRequired: false, transformFunction: null }, actionsClasses: { classPropertyName: "actionsClasses", publicName: "actionsClasses", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "header", first: true, predicate: ProductCardHeaderDirective, descendants: true, isSignal: true }, { propertyName: "content", first: true, predicate: ProductCardContentDirective, descendants: true, isSignal: true }, { propertyName: "actions", first: true, predicate: ProductCardActionsDirective, descendants: true, isSignal: true }], ngImport: i0, template: "@let figurePositionVar = this.figurePosition();\n@let imageVar = image();\n@let iconVar = icon();\n\n<div [class]=\"containerClass()\">\n\t@if (figurePositionVar === 'top' || figurePositionVar === 'side' || !figurePositionVar) {\n\t\t<figure [class]=\"figureClass()\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n\t<div class=\"card-body\">\n\t\t<div [class]=\"titleClass()\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"header()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div>\n\t\t\t<ng-container [ngTemplateOutlet]=\"content()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div [class]=\"actionsClass()\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"actions()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t</div>\n\t@if (figurePositionVar === 'bottom') {\n\t\t<figure [class]=\"figureClass()\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }] });
164
164
  }
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ProductCardComponent, decorators: [{
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ProductCardComponent, decorators: [{
166
166
  type: Component,
167
167
  args: [{ selector: 'st-product-card', imports: [NgTemplateOutlet, IconComponent], template: "@let figurePositionVar = this.figurePosition();\n@let imageVar = image();\n@let iconVar = icon();\n\n<div [class]=\"containerClass()\">\n\t@if (figurePositionVar === 'top' || figurePositionVar === 'side' || !figurePositionVar) {\n\t\t<figure [class]=\"figureClass()\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n\t<div class=\"card-body\">\n\t\t<div [class]=\"titleClass()\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"header()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div>\n\t\t\t<ng-container [ngTemplateOutlet]=\"content()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div [class]=\"actionsClass()\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"actions()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t</div>\n\t@if (figurePositionVar === 'bottom') {\n\t\t<figure [class]=\"figureClass()\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n</div>\n" }]
168
168
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-product-card.mjs","sources":["../../../projects/sdk/components/product-card/directives/product-card-actions.directive.ts","../../../projects/sdk/components/product-card/directives/product-card-content.directive.ts","../../../projects/sdk/components/product-card/directives/product-card-header.directive.ts","../../../projects/sdk/components/product-card/src/product-card.component.ts","../../../projects/sdk/components/product-card/src/product-card.component.html","../../../projects/sdk/components/product-card/sixbell-telco-sdk-components-product-card.ts"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n\tselector: '[stProductCardActions]',\n\tstandalone: true,\n})\nexport class ProductCardActionsDirective {\n\ttplRef = inject(TemplateRef);\n}\n","import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n\tselector: '[stProductCardContent]',\n\tstandalone: true,\n})\nexport class ProductCardContentDirective {\n\ttplRef = inject(TemplateRef);\n}\n","import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n\tselector: '[stProductCardHeader]',\n\tstandalone: true,\n})\nexport class ProductCardHeaderDirective {\n\ttplRef = inject(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { Component, computed, contentChild, input } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matCallOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva, cx } from 'class-variance-authority';\nimport { ProductCardActionsDirective } from '../directives/product-card-actions.directive';\nimport { ProductCardContentDirective } from '../directives/product-card-content.directive';\nimport { ProductCardHeaderDirective } from '../directives/product-card-header.directive';\n\nexport const productCardContainer = cva(['card'], {\n\tvariants: {\n\t\tshadow: {\n\t\t\tnone: [],\n\t\t\tprimary: ['shadow-main'],\n\t\t},\n\t\theight: {\n\t\t\tfit: ['h-fit', 'min-h-[auto]'],\n\t\t\tauto: ['h-auto', 'min-h-[auto]'],\n\t\t\tfull: ['h-full', 'min-h-full'],\n\t\t\t'min-content': ['h-min', 'min-h-min'],\n\t\t\t'max-content': ['h-max', 'min-h-max'],\n\t\t},\n\t\twidth: {\n\t\t\tfit: ['w-fit', 'min-w-[auto]'],\n\t\t\tauto: ['w-auto', 'min-w-[auto]'],\n\t\t\tfull: ['w-full', 'min-w-full'],\n\t\t\t'min-content': ['w-min', 'min-w-min'],\n\t\t\t'max-content': ['w-max', 'min-w-max'],\n\t\t},\n\t\tsize: {\n\t\t\txs: 'card-xs',\n\t\t\tsm: 'card-sm',\n\t\t\tmd: 'card-md',\n\t\t\tlg: 'card-lg',\n\t\t\txl: 'card-xl',\n\t\t},\n\t\tfigurePosition: {\n\t\t\ttop: ['top'],\n\t\t\tbottom: ['bottom'],\n\t\t\tside: ['card-side'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tshadow: 'primary',\n\t\theight: 'full',\n\t\twidth: 'auto',\n\t\tsize: 'md',\n\t\tfigurePosition: 'top',\n\t},\n});\n\nexport type ProductCardContainerShadowProps = 'none' | 'primary' | null | undefined;\nexport type ProductCardContainerHeightProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;\nexport type ProductCardContainerWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;\nexport type ProductCardContainerSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\nexport type ProductCardContainerFigurePositionProps = 'top' | 'bottom' | 'side' | null | undefined;\n\nexport const productCardFigure = cva([], {\n\tvariants: {\n\t\tfigureBackground: {\n\t\t\tnone: [],\n\t\t\timage: ['image-full'],\n\t\t\tprimary: ['bg-primary', 'text-primary-content'],\n\t\t\tsecondary: ['bg-secondary', 'text-secondary-content'],\n\t\t\twarning: ['bg-warning', 'text-warning-content'],\n\t\t\terror: ['bg-error', 'text-error-content'],\n\t\t\tneutral: ['bg-neutral', 'text-neutral-content'],\n\t\t},\n\t\tfigureAlignment: {\n\t\t\tauto: [],\n\t\t\tcenter: ['flex', 'justify-center'],\n\t\t\tstart: ['flex', 'justify-start'],\n\t\t\tend: ['flex', 'justify-end'],\n\t\t},\n\t\tfigurePaddingY: {\n\t\t\tnone: 'py-0',\n\t\t\tsm: 'py-2',\n\t\t\tmd: 'py-4',\n\t\t\tlg: 'py-6',\n\t\t},\n\t\tfigurePaddingX: {\n\t\t\tnone: 'px-0',\n\t\t\tsm: 'px-2',\n\t\t\tmd: 'px-4',\n\t\t\tlg: 'px-6',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tfigureBackground: 'none',\n\t\tfigureAlignment: 'auto',\n\t\tfigurePaddingY: 'none',\n\t\tfigurePaddingX: 'none',\n\t},\n});\n\nexport type ProductCardFigureBackgroundProps = 'none' | 'image' | 'primary' | 'secondary' | 'warning' | 'error' | 'neutral' | null | undefined;\nexport type ProductCardFigureAlignmentProps = 'auto' | 'center' | 'start' | 'end' | null | undefined;\nexport type ProductCardFigurePaddingYProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;\nexport type ProductCardFigurePaddingXProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;\n\nexport type ProductCardVariantProps = {\n\tshadow?: ProductCardContainerShadowProps;\n\theight?: ProductCardContainerHeightProps;\n\twidth?: ProductCardContainerWidthProps;\n\tsize?: ProductCardContainerSizeProps;\n\tfigureBackground?: ProductCardFigureBackgroundProps;\n\tfigurePosition?: ProductCardContainerFigurePositionProps;\n\tfigureAlignment?: ProductCardFigureAlignmentProps;\n\tfigurePaddingY?: ProductCardFigurePaddingYProps;\n\tfigurePaddingX?: ProductCardFigurePaddingXProps;\n};\n\nexport const productCardComponent = ({\n\tshadow,\n\theight,\n\twidth,\n\tsize,\n\tfigureBackground,\n\tfigurePosition,\n\tfigureAlignment,\n\tfigurePaddingY,\n\tfigurePaddingX,\n}: ProductCardVariantProps = {}) =>\n\tcx(\n\t\tproductCardContainer({ shadow, height, width, size, figurePosition }),\n\t\tproductCardFigure({ figureBackground, figureAlignment, figurePaddingX, figurePaddingY }),\n\t);\n\n@Component({\n\tselector: 'st-product-card',\n\timports: [NgTemplateOutlet, IconComponent],\n\ttemplateUrl: './product-card.component.html',\n\tstyles: '',\n})\nexport class ProductCardComponent {\n\t// Base table properties\n\tshadow = input<ProductCardContainerShadowProps>();\n\theight = input<ProductCardContainerHeightProps>();\n\twidth = input<ProductCardContainerWidthProps>();\n\tsize = input<ProductCardContainerSizeProps>();\n\tfigurePosition = input<ProductCardContainerFigurePositionProps>();\n\t// Figure properties\n\tfigureBackground = input<ProductCardFigureBackgroundProps>();\n\tfigureAlignment = input<ProductCardFigureAlignmentProps>();\n\tfigurePaddingY = input<ProductCardFigurePaddingYProps>();\n\tfigurePaddingX = input<ProductCardFigurePaddingXProps>();\n\n\ttitleClasses = input<string>('');\n\tactionsClasses = input<string>('');\n\timage = input<{ src: string; alt: string }>();\n\ticon = input<string>();\n\tfallbackIcon = matCallOutline;\n\theader = contentChild(ProductCardHeaderDirective);\n\tcontent = contentChild(ProductCardContentDirective);\n\tactions = contentChild(ProductCardActionsDirective);\n\n\tcontainerClass = computed(() =>\n\t\tcn(\n\t\t\tproductCardContainer({\n\t\t\t\tshadow: this.shadow(),\n\t\t\t\theight: this.height(),\n\t\t\t\twidth: this.width(),\n\t\t\t\tsize: this.size(),\n\t\t\t\tfigurePosition: this.figurePosition(),\n\t\t\t}),\n\t\t),\n\t);\n\n\tfigureClass = computed(() =>\n\t\tcn(\n\t\t\tproductCardFigure({\n\t\t\t\tfigureBackground: this.figureBackground(),\n\t\t\t\tfigureAlignment: this.figureAlignment(),\n\t\t\t\tfigurePaddingX: this.figurePaddingX(),\n\t\t\t\tfigurePaddingY: this.figurePaddingY(),\n\t\t\t}),\n\t\t),\n\t);\n\n\ttitleClass = computed(() => cn('card-title', this.titleClasses()));\n\n\tactionsClass = computed(() => cn('card-actions', this.actionsClasses()));\n}\n","@let figurePositionVar = this.figurePosition();\n@let imageVar = image();\n@let iconVar = icon();\n\n<div [class]=\"containerClass()\">\n\t@if (figurePositionVar === 'top' || figurePositionVar === 'side' || !figurePositionVar) {\n\t\t<figure [class]=\"figureClass()\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n\t<div class=\"card-body\">\n\t\t<div [class]=\"titleClass()\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"header()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div>\n\t\t\t<ng-container [ngTemplateOutlet]=\"content()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div [class]=\"actionsClass()\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"actions()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t</div>\n\t@if (figurePositionVar === 'bottom') {\n\t\t<figure [class]=\"figureClass()\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAMa,2BAA2B,CAAA;AACvC,IAAA,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC;uGADhB,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,SAAS;AAAC,YAAA,IAAA,EAAA,C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AAA,CAAA,EAAA,YAAA,EAAA,QAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAkBV,0BAA0B,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,EAAA,EAAA,YAAA,EAAA,SAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EACzB,2BAA2B,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,EAAA,EAAA,YAAA,EAAA,SAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAC3B,2BAA2B,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC3JnD,2vCAmCA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDgGW,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,aAAa,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAI7B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,EAClB,OAAA,EAAA,CAAC,gBAAgB,EAAE,aAAa,CAAC,EAAA,QAAA,EAAA,2vCAAA,EAAA;;;AEnI3C;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-product-card.mjs","sources":["../../../projects/sdk/components/product-card/directives/product-card-actions.directive.ts","../../../projects/sdk/components/product-card/directives/product-card-content.directive.ts","../../../projects/sdk/components/product-card/directives/product-card-header.directive.ts","../../../projects/sdk/components/product-card/src/product-card.component.ts","../../../projects/sdk/components/product-card/src/product-card.component.html","../../../projects/sdk/components/product-card/sixbell-telco-sdk-components-product-card.ts"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n\tselector: '[stProductCardActions]',\n\tstandalone: true,\n})\nexport class ProductCardActionsDirective {\n\ttplRef = inject(TemplateRef);\n}\n","import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n\tselector: '[stProductCardContent]',\n\tstandalone: true,\n})\nexport class ProductCardContentDirective {\n\ttplRef = inject(TemplateRef);\n}\n","import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n\tselector: '[stProductCardHeader]',\n\tstandalone: true,\n})\nexport class ProductCardHeaderDirective {\n\ttplRef = inject(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { Component, computed, contentChild, input } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matCallOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva, cx } from 'class-variance-authority';\nimport { ProductCardActionsDirective } from '../directives/product-card-actions.directive';\nimport { ProductCardContentDirective } from '../directives/product-card-content.directive';\nimport { ProductCardHeaderDirective } from '../directives/product-card-header.directive';\n\nexport const productCardContainer = cva(['card'], {\n\tvariants: {\n\t\tshadow: {\n\t\t\tnone: [],\n\t\t\tprimary: ['shadow-main'],\n\t\t},\n\t\theight: {\n\t\t\tfit: ['h-fit', 'min-h-[auto]'],\n\t\t\tauto: ['h-auto', 'min-h-[auto]'],\n\t\t\tfull: ['h-full', 'min-h-full'],\n\t\t\t'min-content': ['h-min', 'min-h-min'],\n\t\t\t'max-content': ['h-max', 'min-h-max'],\n\t\t},\n\t\twidth: {\n\t\t\tfit: ['w-fit', 'min-w-[auto]'],\n\t\t\tauto: ['w-auto', 'min-w-[auto]'],\n\t\t\tfull: ['w-full', 'min-w-full'],\n\t\t\t'min-content': ['w-min', 'min-w-min'],\n\t\t\t'max-content': ['w-max', 'min-w-max'],\n\t\t},\n\t\tsize: {\n\t\t\txs: 'card-xs',\n\t\t\tsm: 'card-sm',\n\t\t\tmd: 'card-md',\n\t\t\tlg: 'card-lg',\n\t\t\txl: 'card-xl',\n\t\t},\n\t\tfigurePosition: {\n\t\t\ttop: ['top'],\n\t\t\tbottom: ['bottom'],\n\t\t\tside: ['card-side'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tshadow: 'primary',\n\t\theight: 'full',\n\t\twidth: 'auto',\n\t\tsize: 'md',\n\t\tfigurePosition: 'top',\n\t},\n});\n\nexport type ProductCardContainerShadowProps = 'none' | 'primary' | null | undefined;\nexport type ProductCardContainerHeightProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;\nexport type ProductCardContainerWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;\nexport type ProductCardContainerSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\nexport type ProductCardContainerFigurePositionProps = 'top' | 'bottom' | 'side' | null | undefined;\n\nexport const productCardFigure = cva([], {\n\tvariants: {\n\t\tfigureBackground: {\n\t\t\tnone: [],\n\t\t\timage: ['image-full'],\n\t\t\tprimary: ['bg-primary', 'text-primary-content'],\n\t\t\tsecondary: ['bg-secondary', 'text-secondary-content'],\n\t\t\twarning: ['bg-warning', 'text-warning-content'],\n\t\t\terror: ['bg-error', 'text-error-content'],\n\t\t\tneutral: ['bg-neutral', 'text-neutral-content'],\n\t\t},\n\t\tfigureAlignment: {\n\t\t\tauto: [],\n\t\t\tcenter: ['flex', 'justify-center'],\n\t\t\tstart: ['flex', 'justify-start'],\n\t\t\tend: ['flex', 'justify-end'],\n\t\t},\n\t\tfigurePaddingY: {\n\t\t\tnone: 'py-0',\n\t\t\tsm: 'py-2',\n\t\t\tmd: 'py-4',\n\t\t\tlg: 'py-6',\n\t\t},\n\t\tfigurePaddingX: {\n\t\t\tnone: 'px-0',\n\t\t\tsm: 'px-2',\n\t\t\tmd: 'px-4',\n\t\t\tlg: 'px-6',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tfigureBackground: 'none',\n\t\tfigureAlignment: 'auto',\n\t\tfigurePaddingY: 'none',\n\t\tfigurePaddingX: 'none',\n\t},\n});\n\nexport type ProductCardFigureBackgroundProps = 'none' | 'image' | 'primary' | 'secondary' | 'warning' | 'error' | 'neutral' | null | undefined;\nexport type ProductCardFigureAlignmentProps = 'auto' | 'center' | 'start' | 'end' | null | undefined;\nexport type ProductCardFigurePaddingYProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;\nexport type ProductCardFigurePaddingXProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;\n\nexport type ProductCardVariantProps = {\n\tshadow?: ProductCardContainerShadowProps;\n\theight?: ProductCardContainerHeightProps;\n\twidth?: ProductCardContainerWidthProps;\n\tsize?: ProductCardContainerSizeProps;\n\tfigureBackground?: ProductCardFigureBackgroundProps;\n\tfigurePosition?: ProductCardContainerFigurePositionProps;\n\tfigureAlignment?: ProductCardFigureAlignmentProps;\n\tfigurePaddingY?: ProductCardFigurePaddingYProps;\n\tfigurePaddingX?: ProductCardFigurePaddingXProps;\n};\n\nexport const productCardComponent = ({\n\tshadow,\n\theight,\n\twidth,\n\tsize,\n\tfigureBackground,\n\tfigurePosition,\n\tfigureAlignment,\n\tfigurePaddingY,\n\tfigurePaddingX,\n}: ProductCardVariantProps = {}) =>\n\tcx(\n\t\tproductCardContainer({ shadow, height, width, size, figurePosition }),\n\t\tproductCardFigure({ figureBackground, figureAlignment, figurePaddingX, figurePaddingY }),\n\t);\n\n@Component({\n\tselector: 'st-product-card',\n\timports: [NgTemplateOutlet, IconComponent],\n\ttemplateUrl: './product-card.component.html',\n\tstyles: '',\n})\nexport class ProductCardComponent {\n\t// Base table properties\n\tshadow = input<ProductCardContainerShadowProps>();\n\theight = input<ProductCardContainerHeightProps>();\n\twidth = input<ProductCardContainerWidthProps>();\n\tsize = input<ProductCardContainerSizeProps>();\n\tfigurePosition = input<ProductCardContainerFigurePositionProps>();\n\t// Figure properties\n\tfigureBackground = input<ProductCardFigureBackgroundProps>();\n\tfigureAlignment = input<ProductCardFigureAlignmentProps>();\n\tfigurePaddingY = input<ProductCardFigurePaddingYProps>();\n\tfigurePaddingX = input<ProductCardFigurePaddingXProps>();\n\n\ttitleClasses = input<string>('');\n\tactionsClasses = input<string>('');\n\timage = input<{ src: string; alt: string }>();\n\ticon = input<string>();\n\tfallbackIcon = matCallOutline;\n\theader = contentChild(ProductCardHeaderDirective);\n\tcontent = contentChild(ProductCardContentDirective);\n\tactions = contentChild(ProductCardActionsDirective);\n\n\tcontainerClass = computed(() =>\n\t\tcn(\n\t\t\tproductCardContainer({\n\t\t\t\tshadow: this.shadow(),\n\t\t\t\theight: this.height(),\n\t\t\t\twidth: this.width(),\n\t\t\t\tsize: this.size(),\n\t\t\t\tfigurePosition: this.figurePosition(),\n\t\t\t}),\n\t\t),\n\t);\n\n\tfigureClass = computed(() =>\n\t\tcn(\n\t\t\tproductCardFigure({\n\t\t\t\tfigureBackground: this.figureBackground(),\n\t\t\t\tfigureAlignment: this.figureAlignment(),\n\t\t\t\tfigurePaddingX: this.figurePaddingX(),\n\t\t\t\tfigurePaddingY: this.figurePaddingY(),\n\t\t\t}),\n\t\t),\n\t);\n\n\ttitleClass = computed(() => cn('card-title', this.titleClasses()));\n\n\tactionsClass = computed(() => cn('card-actions', this.actionsClasses()));\n}\n","@let figurePositionVar = this.figurePosition();\n@let imageVar = image();\n@let iconVar = icon();\n\n<div [class]=\"containerClass()\">\n\t@if (figurePositionVar === 'top' || figurePositionVar === 'side' || !figurePositionVar) {\n\t\t<figure [class]=\"figureClass()\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n\t<div class=\"card-body\">\n\t\t<div [class]=\"titleClass()\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"header()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div>\n\t\t\t<ng-container [ngTemplateOutlet]=\"content()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div [class]=\"actionsClass()\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"actions()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t</div>\n\t@if (figurePositionVar === 'bottom') {\n\t\t<figure [class]=\"figureClass()\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAMa,2BAA2B,CAAA;AACvC,IAAA,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC;wGADhB,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA;;;MCCY,2BAA2B,CAAA;AACvC,IAAA,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC;wGADhB,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAA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AA,EACzB,2BAA2B,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,EAAA,EAAA,YAAA,EAAA,SAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAC3B,2BAA2B,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC3JnD,2vCAmCA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDgGW,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,aAAa,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAI7B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,EAAA,OAAA,EAClB,CAAC,gBAAgB,EAAE,aAAa,CAAC,EAAA,QAAA,EAAA,2vCAAA,EAAA;;;AEnI3C;;AAEG;;;;"}
@@ -82,10 +82,10 @@ class ProgressComponent {
82
82
  componentClass = computed(() => cn(progressComponent({
83
83
  variant: this.variant(),
84
84
  })));
85
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
86
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: ProgressComponent, isStandalone: true, selector: "st-progress", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null }, labelPosition: { classPropertyName: "labelPosition", publicName: "labelPosition", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@let labelPositionVar = labelPosition();\n@let valueVar = value();\n@let indeterminateVar = indeterminate();\n@let maxVar = max();\n@let componentClassVar = componentClass();\n\n<div class=\"flex flex-col items-center gap-1\">\n\t@if (valueVar >= 0 && labelPositionVar === 'top') {\n\t\t<span stText=\"9\">{{ valueVar }} %</span>\n\t}\n\t<progress [class]=\"componentClassVar\" [attr.value]=\"!indeterminateVar ? valueVar : null\" [max]=\"maxVar\"></progress>\n\t@if (valueVar >= 0 && labelPositionVar === 'bottom') {\n\t\t<span stText=\"9\">{{ valueVar }} %</span>\n\t}\n</div>\n", dependencies: [{ kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
85
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
86
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: ProgressComponent, isStandalone: true, selector: "st-progress", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null }, labelPosition: { classPropertyName: "labelPosition", publicName: "labelPosition", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@let labelPositionVar = labelPosition();\n@let valueVar = value();\n@let indeterminateVar = indeterminate();\n@let maxVar = max();\n@let componentClassVar = componentClass();\n\n<div class=\"flex flex-col items-center gap-1\">\n\t@if (valueVar >= 0 && labelPositionVar === 'top') {\n\t\t<span stText=\"9\">{{ valueVar }} %</span>\n\t}\n\t<progress [class]=\"componentClassVar\" [attr.value]=\"!indeterminateVar ? valueVar : null\" [max]=\"maxVar\"></progress>\n\t@if (valueVar >= 0 && labelPositionVar === 'bottom') {\n\t\t<span stText=\"9\">{{ valueVar }} %</span>\n\t}\n</div>\n", dependencies: [{ kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
87
87
  }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ProgressComponent, decorators: [{
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ProgressComponent, decorators: [{
89
89
  type: Component,
90
90
  args: [{ selector: 'st-progress', imports: [TextDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "@let labelPositionVar = labelPosition();\n@let valueVar = value();\n@let indeterminateVar = indeterminate();\n@let maxVar = max();\n@let componentClassVar = componentClass();\n\n<div class=\"flex flex-col items-center gap-1\">\n\t@if (valueVar >= 0 && labelPositionVar === 'top') {\n\t\t<span stText=\"9\">{{ valueVar }} %</span>\n\t}\n\t<progress [class]=\"componentClassVar\" [attr.value]=\"!indeterminateVar ? valueVar : null\" [max]=\"maxVar\"></progress>\n\t@if (valueVar >= 0 && labelPositionVar === 'bottom') {\n\t\t<span stText=\"9\">{{ valueVar }} %</span>\n\t}\n</div>\n" }]
91
91
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-progress.mjs","sources":["../../../projects/sdk/components/progress/src/progress.component.ts","../../../projects/sdk/components/progress/src/progress.component.html","../../../projects/sdk/components/progress/sixbell-telco-sdk-components-progress.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { TextDirective } from '@sixbell-telco/sdk/directives/text';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\n/**\n * @internal\n * Generates base progress bar classes with style variants\n */\nexport const progressComponent = cva(['progress'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tprimary: ['progress-primary'],\n\t\t\tsecondary: ['progress-secondary'],\n\t\t\tsuccess: ['progress-success'],\n\t\t\tinfo: ['progress-info'],\n\t\t\terror: ['progress-error'],\n\t\t\twarning: ['progress-warning'],\n\t\t\taccent: ['progress-accent'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'primary',\n\t},\n});\n\n/** Possible progress bar color variants */\nexport type ProgressVariantProps = 'primary' | 'secondary' | 'success' | 'info' | 'error' | 'warning' | 'accent' | null | undefined;\n\n/** Possible positions for progress bar label */\nexport type ProgressLabelPositionProps = 'top' | 'bottom' | 'none';\n\n/** Configuration object for progress bar styling */\nexport type ProgressProps = {\n\tvariant?: ProgressVariantProps;\n};\n\n/**\n * A customizable progress indicator component\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports multiple color variants, indeterminate state, and label positioning.\n *\n * @example\n * ```html\n * <st-progress\n * variant=\"primary\"\n * [value]=\"75\"\n * labelPosition=\"top\"\n * ></st-progress>\n * ```\n *\n * @example\n * ```html\n * <st-progress\n * variant=\"success\"\n * [indeterminate]=\"true\"\n * ></st-progress>\n * ```\n */\n@Component({\n\tselector: 'st-progress',\n\ttemplateUrl: './progress.component.html',\n\timports: [TextDirective],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProgressComponent {\n\t/**\n\t * Progress bar color variant\n\t * @defaultValue 'primary'\n\t */\n\tvariant = input<ProgressVariantProps>();\n\n\t/**\n\t * Current progress value (0-100)\n\t * @defaultValue -1 (indeterminate when value < 0)\n\t */\n\tvalue = input<number>(-1);\n\n\t/**\n\t * Maximum progress value\n\t * @defaultValue 100\n\t */\n\tmax = input<number>(100);\n\n\t/**\n\t * Enable indeterminate animation\n\t * @defaultValue false\n\t */\n\tindeterminate = input<boolean>(false);\n\n\t/**\n\t * Position of progress value label\n\t * @defaultValue 'none'\n\t */\n\tlabelPosition = input<ProgressLabelPositionProps>('none');\n\n\t/**\n\t * @internal\n\t * Computed class string for the progress bar container\n\t */\n\tcomponentClass = computed(() =>\n\t\tcn(\n\t\t\tprogressComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t}),\n\t\t),\n\t);\n}\n","@let labelPositionVar = labelPosition();\n@let valueVar = value();\n@let indeterminateVar = indeterminate();\n@let maxVar = max();\n@let componentClassVar = componentClass();\n\n<div class=\"flex flex-col items-center gap-1\">\n\t@if (valueVar >= 0 && labelPositionVar === 'top') {\n\t\t<span stText=\"9\">{{ valueVar }} %</span>\n\t}\n\t<progress [class]=\"componentClassVar\" [attr.value]=\"!indeterminateVar ? valueVar : null\" [max]=\"maxVar\"></progress>\n\t@if (valueVar >= 0 && labelPositionVar === 'bottom') {\n\t\t<span stText=\"9\">{{ valueVar }} %</span>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAKA;;;AAGG;MACU,iBAAiB,GAAG,GAAG,CAAC,CAAC,UAAU,CAAC,EAAE;AAClD,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;YACR,OAAO,EAAE,CAAC,kBAAkB,CAAC;YAC7B,SAAS,EAAE,CAAC,oBAAoB,CAAC;YACjC,OAAO,EAAE,CAAC,kBAAkB,CAAC;YAC7B,IAAI,EAAE,CAAC,eAAe,CAAC;YACvB,KAAK,EAAE,CAAC,gBAAgB,CAAC;YACzB,OAAO,EAAE,CAAC,kBAAkB,CAAC;YAC7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EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,aAAA,EAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,aAAA,EAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECpE9B,skBAeA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDkDW,aAAa,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,cAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,iBAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAGX,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,WAEd,CAAC,aAAa,CAAC,EACP,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,skBAAA,EAAA;;;AElEhD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-progress.mjs","sources":["../../../projects/sdk/components/progress/src/progress.component.ts","../../../projects/sdk/components/progress/src/progress.component.html","../../../projects/sdk/components/progress/sixbell-telco-sdk-components-progress.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { TextDirective } from '@sixbell-telco/sdk/directives/text';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\n/**\n * @internal\n * Generates base progress bar classes with style variants\n */\nexport const progressComponent = cva(['progress'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tprimary: ['progress-primary'],\n\t\t\tsecondary: ['progress-secondary'],\n\t\t\tsuccess: ['progress-success'],\n\t\t\tinfo: ['progress-info'],\n\t\t\terror: ['progress-error'],\n\t\t\twarning: ['progress-warning'],\n\t\t\taccent: ['progress-accent'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'primary',\n\t},\n});\n\n/** Possible progress bar color variants */\nexport type ProgressVariantProps = 'primary' | 'secondary' | 'success' | 'info' | 'error' | 'warning' | 'accent' | null | undefined;\n\n/** Possible positions for progress bar label */\nexport type ProgressLabelPositionProps = 'top' | 'bottom' | 'none';\n\n/** Configuration object for progress bar styling */\nexport type ProgressProps = {\n\tvariant?: ProgressVariantProps;\n};\n\n/**\n * A customizable progress indicator component\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports multiple color variants, indeterminate state, and label positioning.\n *\n * @example\n * ```html\n * <st-progress\n * variant=\"primary\"\n * [value]=\"75\"\n * labelPosition=\"top\"\n * ></st-progress>\n * ```\n *\n * @example\n * ```html\n * <st-progress\n * variant=\"success\"\n * [indeterminate]=\"true\"\n * ></st-progress>\n * ```\n */\n@Component({\n\tselector: 'st-progress',\n\ttemplateUrl: './progress.component.html',\n\timports: [TextDirective],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProgressComponent {\n\t/**\n\t * Progress bar color variant\n\t * @defaultValue 'primary'\n\t */\n\tvariant = input<ProgressVariantProps>();\n\n\t/**\n\t * Current progress value (0-100)\n\t * @defaultValue -1 (indeterminate when value < 0)\n\t */\n\tvalue = input<number>(-1);\n\n\t/**\n\t * Maximum progress value\n\t * @defaultValue 100\n\t */\n\tmax = input<number>(100);\n\n\t/**\n\t * Enable indeterminate animation\n\t * @defaultValue false\n\t */\n\tindeterminate = input<boolean>(false);\n\n\t/**\n\t * Position of progress value label\n\t * @defaultValue 'none'\n\t */\n\tlabelPosition = input<ProgressLabelPositionProps>('none');\n\n\t/**\n\t * @internal\n\t * Computed class string for the progress bar container\n\t */\n\tcomponentClass = computed(() =>\n\t\tcn(\n\t\t\tprogressComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t}),\n\t\t),\n\t);\n}\n","@let labelPositionVar = labelPosition();\n@let valueVar = value();\n@let indeterminateVar = indeterminate();\n@let maxVar = max();\n@let componentClassVar = componentClass();\n\n<div class=\"flex flex-col items-center gap-1\">\n\t@if (valueVar >= 0 && labelPositionVar === 'top') {\n\t\t<span stText=\"9\">{{ valueVar }} %</span>\n\t}\n\t<progress [class]=\"componentClassVar\" [attr.value]=\"!indeterminateVar ? valueVar : null\" [max]=\"maxVar\"></progress>\n\t@if (valueVar >= 0 && labelPositionVar === 'bottom') {\n\t\t<span stText=\"9\">{{ valueVar }} %</span>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAKA;;;AAGG;MACU,iBAAiB,GAAG,GAAG,CAAC,CAAC,UAAU,CAAC,EAAE;AAClD,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;YACR,OAAO,EAAE,CAAC,kBAAkB,CAAC;YAC7B,SAAS,EAAE,CAAC,oBAAoB,CAAC;YACjC,OAAO,EAAE,CAAC,kBAAkB,CAAC;YAC7B,IAAI,EAAE,CAAC,eAAe,CAAC;YACvB,KAAK,EAAE,CAAC,gBAAgB,CAAC;YACzB,OAAO,EAAE,CAAC,kBAAkB,CAAC;YAC7B,MAAM,EAAE,CAAC,iBAAiB,CAAC;AAC3B,SAAA;AACD,KAAA;AACD,IAAA,gBAAgB,EAAE,EAAE;AACpB,IAAA,eAAe,EAAE;AAChB,QAAA,OAAO,EAAE,SAAS;AAClB,KAAA;AACD,CAAA;AAaD;;;;;;;;;;;;;;;;;;;;;;;AAuBG;MAOU,iBAAiB,CAAA;AAC7B;;;AAGG;I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,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECpE9B,skBAeA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDkDW,aAAa,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,cAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,iBAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAGX,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,WAEd,CAAC,aAAa,CAAC,EAAA,eAAA,EACP,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,skBAAA,EAAA;;;AElEhD;;AAEG;;;;"}
@@ -65,12 +65,12 @@ class SonnerToasterComponent {
65
65
  */
66
66
  toastOptions = computed(() => {
67
67
  const baseClasses = {
68
- toast: cn('p-4! w-[22rem]! bg-base-200! data-[type=loading]:border-neutral! data-[type=default]:border-neutral! border! text-base-content! rounded-box shadow-main-lg! text-pretty! transition-[transform,opacity,height,box-shadow,border-color,color]! duration-[400ms,400ms,400ms,200ms,200ms,200ms]!', { 'border-neutral!': this.richColors() === false }),
69
- title: cn('font-medium! font-heading!'),
68
+ toast: cn('bg-base-200! data-[type=loading]:border-neutral! data-[type=default]:border-neutral! text-base-content! rounded-box shadow-main-lg! w-[22rem]! border! p-4! text-pretty! transition-[transform,opacity,height,box-shadow,border-color,color]! duration-[400ms,400ms,400ms,200ms,200ms,200ms]!', { 'border-neutral!': this.richColors() === false }),
69
+ title: cn('font-heading! font-medium!'),
70
70
  description: cn('text-base-content/70!'),
71
- actionButton: cn('btn! btn-primary! btn-xs! text-pretty! font-body! font-medium! leading-normal!'),
72
- cancelButton: cn('btn! btn-secondary! btn-xs! text-pretty! font-body! font-medium! leading-normal!'),
73
- closeButton: cn('btn! btn-circle! btn-xs! text-pretty! font-body! border-neutral! border!'),
71
+ actionButton: cn('btn! btn-primary! btn-xs! font-body! leading-normal! font-medium! text-pretty!'),
72
+ cancelButton: cn('btn! btn-secondary! btn-xs! font-body! leading-normal! font-medium! text-pretty!'),
73
+ closeButton: cn('btn! btn-circle! btn-xs! font-body! border-neutral! border! text-pretty!'),
74
74
  };
75
75
  const semanticClasses = this.richColors()
76
76
  ? {
@@ -88,8 +88,8 @@ class SonnerToasterComponent {
88
88
  },
89
89
  };
90
90
  });
91
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: SonnerToasterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
92
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: SonnerToasterComponent, isStandalone: true, selector: "st-sonner-toaster", inputs: { dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, richColors: { classPropertyName: "richColors", publicName: "richColors", isSignal: true, isRequired: false, transformFunction: null }, expand: { classPropertyName: "expand", publicName: "expand", isSignal: true, isRequired: false, transformFunction: null }, visibleToasts: { classPropertyName: "visibleToasts", publicName: "visibleToasts", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, offset: { classPropertyName: "offset", publicName: "offset", isSignal: true, isRequired: false, transformFunction: null }, closeButton: { classPropertyName: "closeButton", publicName: "closeButton", isSignal: true, isRequired: false, transformFunction: null }, duration: { classPropertyName: "duration", publicName: "duration", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
91
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: SonnerToasterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
92
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: SonnerToasterComponent, isStandalone: true, selector: "st-sonner-toaster", inputs: { dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, richColors: { classPropertyName: "richColors", publicName: "richColors", isSignal: true, isRequired: false, transformFunction: null }, expand: { classPropertyName: "expand", publicName: "expand", isSignal: true, isRequired: false, transformFunction: null }, visibleToasts: { classPropertyName: "visibleToasts", publicName: "visibleToasts", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, offset: { classPropertyName: "offset", publicName: "offset", isSignal: true, isRequired: false, transformFunction: null }, closeButton: { classPropertyName: "closeButton", publicName: "closeButton", isSignal: true, isRequired: false, transformFunction: null }, duration: { classPropertyName: "duration", publicName: "duration", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
93
93
  <ngx-sonner-toaster
94
94
  [dir]="dir()"
95
95
  [expand]="expand()"
@@ -102,7 +102,7 @@ class SonnerToasterComponent {
102
102
  />
103
103
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: NgxSonnerToaster, selector: "ngx-sonner-toaster", inputs: ["invert", "theme", "position", "hotKey", "richColors", "expand", "duration", "visibleToasts", "closeButton", "toastOptions", "offset", "dir", "class", "style"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
104
104
  }
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: SonnerToasterComponent, decorators: [{
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: SonnerToasterComponent, decorators: [{
106
106
  type: Component,
107
107
  args: [{
108
108
  selector: 'st-sonner-toaster',
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-sonner-toaster.mjs","sources":["../../../projects/sdk/components/sonner/toaster/src/toaster.component.ts","../../../projects/sdk/components/sonner/toaster/sixbell-telco-sdk-components-sonner-toaster.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { NgxSonnerToaster } from 'ngx-sonner';\n\n/**\n * Sixbell Telco Sonner Toaster Component\n *\n * A wrapper around ngx-sonner-toaster that provides Tailwind CSS styling and semantic color variants.\n * This component proxies the ngx-sonner-toaster functionality while applying the SDK's design system.\n *\n * @example\n * ```html\n * <st-sonner-toaster\n * [theme]=\"'light'\"\n * [position]=\"'bottom-right'\"\n * [richColors]=\"true\"\n * />\n * ```\n */\n@Component({\n\tselector: 'st-sonner-toaster',\n\timports: [CommonModule, NgxSonnerToaster],\n\ttemplate: `\n\t\t<ngx-sonner-toaster\n\t\t\t[dir]=\"dir()\"\n\t\t\t[expand]=\"expand()\"\n\t\t\t[visibleToasts]=\"visibleToasts()\"\n\t\t\t[position]=\"position()\"\n\t\t\t[offset]=\"offset()\"\n\t\t\t[closeButton]=\"closeButton()\"\n\t\t\t[duration]=\"duration()\"\n\t\t\t[toastOptions]=\"toastOptions()\"\n\t\t/>\n\t`,\n\tstandalone: true,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SonnerToasterComponent {\n\t/**\n\t * Direction for the toasts\n\t * @defaultValue 'ltr'\n\t */\n\tdir = input<'ltr' | 'rtl'>('ltr');\n\n\t/**\n\t * Whether to use rich colors for semantic toasts\n\t * @defaultValue true\n\t */\n\trichColors = input<boolean>(false);\n\n\t/**\n\t * Whether to expand the toast on hover\n\t * @defaultValue false\n\t */\n\texpand = input<boolean>(false);\n\n\t/**\n\t * Maximum number of visible toasts\n\t * @defaultValue 3\n\t */\n\tvisibleToasts = input<number>(3);\n\n\t/**\n\t * Position of the toasts\n\t * @defaultValue 'bottom-right'\n\t */\n\tposition = input<'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center'>('bottom-right');\n\n\t/**\n\t * Offset from the edge of the screen\n\t * @defaultValue '16px'\n\t */\n\toffset = input<string>('16px');\n\n\t/**\n\t * Whether to show close button\n\t * @defaultValue false\n\t */\n\tcloseButton = input<boolean>(false);\n\n\t/**\n\t * Duration for the toast in milliseconds\n\t * @defaultValue 4000\n\t */\n\tduration = input<number>(4000);\n\n\t/**\n\t * Default toast options with semantic styling\n\t */\n\ttoastOptions = computed(() => {\n\t\tconst baseClasses = {\n\t\t\ttoast: cn(\n\t\t\t\t'p-4! w-[22rem]! bg-base-200! data-[type=loading]:border-neutral! data-[type=default]:border-neutral! border! text-base-content! rounded-box shadow-main-lg! text-pretty! transition-[transform,opacity,height,box-shadow,border-color,color]! duration-[400ms,400ms,400ms,200ms,200ms,200ms]!',\n\t\t\t\t{ 'border-neutral!': this.richColors() === false },\n\t\t\t),\n\t\t\ttitle: cn('font-medium! font-heading!'),\n\t\t\tdescription: cn('text-base-content/70!'),\n\t\t\tactionButton: cn('btn! btn-primary! btn-xs! text-pretty! font-body! font-medium! leading-normal!'),\n\t\t\tcancelButton: cn('btn! btn-secondary! btn-xs! text-pretty! font-body! font-medium! leading-normal!'),\n\t\t\tcloseButton: cn('btn! btn-circle! btn-xs! text-pretty! font-body! border-neutral! border!'),\n\t\t};\n\n\t\tconst semanticClasses = this.richColors()\n\t\t\t? {\n\t\t\t\t\tsuccess: cn('bg-base-200! border-success! text-success!'),\n\t\t\t\t\terror: cn('bg-base-200! border-error! text-error!'),\n\t\t\t\t\twarning: cn('bg-base-200! border-warning! text-warning!'),\n\t\t\t\t\tinfo: cn('bg-base-200! border-info! text-info!'),\n\t\t\t\t}\n\t\t\t: {};\n\n\t\treturn {\n\t\t\tunstyled: false,\n\t\t\tclasses: {\n\t\t\t\t...baseClasses,\n\t\t\t\t...semanticClasses,\n\t\t\t},\n\t\t};\n\t});\n}\n","/**\n * Generated bundle index.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EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,iBAAA;;;ACrCD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-sonner-toaster.mjs","sources":["../../../projects/sdk/components/sonner/toaster/src/toaster.component.ts","../../../projects/sdk/components/sonner/toaster/sixbell-telco-sdk-components-sonner-toaster.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { NgxSonnerToaster } from 'ngx-sonner';\n\n/**\n * Sixbell Telco Sonner Toaster Component\n *\n * A wrapper around ngx-sonner-toaster that provides Tailwind CSS styling and semantic color variants.\n * This component proxies the ngx-sonner-toaster functionality while applying the SDK's design system.\n *\n * @example\n * ```html\n * <st-sonner-toaster\n * [theme]=\"'light'\"\n * [position]=\"'bottom-right'\"\n * [richColors]=\"true\"\n * />\n * ```\n */\n@Component({\n\tselector: 'st-sonner-toaster',\n\timports: [CommonModule, NgxSonnerToaster],\n\ttemplate: `\n\t\t<ngx-sonner-toaster\n\t\t\t[dir]=\"dir()\"\n\t\t\t[expand]=\"expand()\"\n\t\t\t[visibleToasts]=\"visibleToasts()\"\n\t\t\t[position]=\"position()\"\n\t\t\t[offset]=\"offset()\"\n\t\t\t[closeButton]=\"closeButton()\"\n\t\t\t[duration]=\"duration()\"\n\t\t\t[toastOptions]=\"toastOptions()\"\n\t\t/>\n\t`,\n\tstandalone: true,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SonnerToasterComponent {\n\t/**\n\t * Direction for the toasts\n\t * @defaultValue 'ltr'\n\t */\n\tdir = input<'ltr' | 'rtl'>('ltr');\n\n\t/**\n\t * Whether to use rich colors for semantic toasts\n\t * @defaultValue true\n\t */\n\trichColors = input<boolean>(false);\n\n\t/**\n\t * Whether to expand the toast on hover\n\t * @defaultValue false\n\t */\n\texpand = input<boolean>(false);\n\n\t/**\n\t * Maximum number of visible toasts\n\t * @defaultValue 3\n\t */\n\tvisibleToasts = input<number>(3);\n\n\t/**\n\t * Position of the toasts\n\t * @defaultValue 'bottom-right'\n\t */\n\tposition = input<'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center'>('bottom-right');\n\n\t/**\n\t * Offset from the edge of the screen\n\t * @defaultValue '16px'\n\t */\n\toffset = input<string>('16px');\n\n\t/**\n\t * Whether to show close button\n\t * @defaultValue false\n\t */\n\tcloseButton = input<boolean>(false);\n\n\t/**\n\t * Duration for the toast in milliseconds\n\t * @defaultValue 4000\n\t */\n\tduration = input<number>(4000);\n\n\t/**\n\t * Default toast options with semantic styling\n\t */\n\ttoastOptions = computed(() => {\n\t\tconst baseClasses = {\n\t\t\ttoast: cn(\n\t\t\t\t'bg-base-200! data-[type=loading]:border-neutral! data-[type=default]:border-neutral! text-base-content! rounded-box shadow-main-lg! w-[22rem]! border! p-4! text-pretty! transition-[transform,opacity,height,box-shadow,border-color,color]! duration-[400ms,400ms,400ms,200ms,200ms,200ms]!',\n\t\t\t\t{ 'border-neutral!': this.richColors() === false },\n\t\t\t),\n\t\t\ttitle: cn('font-heading! font-medium!'),\n\t\t\tdescription: cn('text-base-content/70!'),\n\t\t\tactionButton: cn('btn! btn-primary! btn-xs! font-body! leading-normal! font-medium! text-pretty!'),\n\t\t\tcancelButton: cn('btn! btn-secondary! btn-xs! font-body! leading-normal! font-medium! text-pretty!'),\n\t\t\tcloseButton: cn('btn! btn-circle! btn-xs! font-body! border-neutral! border! text-pretty!'),\n\t\t};\n\n\t\tconst semanticClasses = this.richColors()\n\t\t\t? {\n\t\t\t\t\tsuccess: cn('bg-base-200! border-success! text-success!'),\n\t\t\t\t\terror: cn('bg-base-200! border-error! text-error!'),\n\t\t\t\t\twarning: cn('bg-base-200! border-warning! text-warning!'),\n\t\t\t\t\tinfo: cn('bg-base-200! border-info! text-info!'),\n\t\t\t\t}\n\t\t\t: {};\n\n\t\treturn {\n\t\t\tunstyled: false,\n\t\t\tclasses: {\n\t\t\t\t...baseClasses,\n\t\t\t\t...semanticClasses,\n\t\t\t},\n\t\t};\n\t});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAKA;;;;;;;;;;;;;;AAcG;MAmBU,sBAAsB,CAAA;AAClC;;;AAGG;AACH,IAAA,GAAG,GAAG,KAAK,CAAgB,KAAK,CAAC;AAEjC;;;AAGG;AACH,IAAA,UAAU,GAAG,KAAK,CAAU,KAAK,CAAC;AAElC;;;AAGG;AACH,IAAA,MAAM,GAAG,KAAK,CAAU,KAAK,CAAC;AAE9B;;;AAGG;AACH,IAAA,aAAa,GAAG,KAAK,CAAS,CAAC,CAAC;AAEhC;;;AAGG;AACH,IAAA,QAAQ,GAAG,KAAK,CAA6F,cAAc,CAAC;AAE5H;;;AAGG;AACH,IAAA,MAAM,GAAG,KAAK,CAAS,MAAM,CAAC;AAE9B;;;AAGG;AACH,IAAA,WAAW,GAAG,KAAK,CAAU,KAAK,CAAC;AAEnC;;;AAGG;AACH,IAAA,QAAQ,GAAG,KAAK,CAAS,IAAI,CAAC;AAE9B;;AAEG;AACH,IAAA,YAAY,GAAG,QAAQ,CAAC,MAAK;AAC5B,QAAA,MAAM,WAAW,GAAG;AACnB,YAAA,KAAK,EAAE,EAAE,CACR,+RAA+R,EAC/R,EAAE,iBAAiB,EAAE,IAAI,CAAC,UAAU,EAAE,KAAK,KAAK,EAAE,CAClD;AACD,YAAA,KAAK,EAAE,EAAE,CAAC,4BAA4B,CAAC;AACvC,YAAA,WAAW,EAAE,EAAE,CAAC,uBAAuB,CAAC;AACxC,YAAA,YAAY,EAAE,EAAE,CAAC,gFAAgF,CAAC;AAClG,YAAA,YAAY,EAAE,EAAE,CAAC,kFAAkF,CAAC;AACpG,YAAA,WAAW,EAAE,EAAE,CAAC,0EAA0E,CAAC;SAC3F;AAED,QAAA,MAAM,eAAe,GAAG,IAAI,CAA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