@sixbell-telco/sdk 0.1.3 → 0.1.5

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 (140) hide show
  1. package/CHANGELOG.md +128 -4
  2. package/README.md +53 -45
  3. package/components/accordion/accordion-item/accordion-item.component.d.ts +9 -6
  4. package/components/avatar/src/avatar.component.d.ts +17 -12
  5. package/components/button/src/button.component.d.ts +29 -28
  6. package/components/card/src/card.component.d.ts +18 -12
  7. package/components/dropdown/src/dropdown.component.d.ts +29 -27
  8. package/components/dual-list/src/dual-list.component.d.ts +47 -37
  9. package/components/file-upload/file-uploader/src/file-uploader.component.d.ts +20 -11
  10. package/components/forms/checkbox/src/checkbox.component.d.ts +7 -3
  11. package/components/forms/combobox/src/combobox.component.d.ts +17 -16
  12. package/components/forms/input/src/input.component.d.ts +20 -15
  13. package/components/forms/radio/src/radio.component.d.ts +14 -1
  14. package/components/forms/range/src/range.component.d.ts +11 -11
  15. package/components/forms/select/src/select.component.d.ts +17 -15
  16. package/components/forms/switch/src/switch.component.d.ts +11 -11
  17. package/components/forms/textarea/src/textarea.component.d.ts +20 -16
  18. package/components/forms/toggle/src/toggle.component.d.ts +12 -7
  19. package/components/icon/src/icon.component.d.ts +12 -7
  20. package/components/link/src/link.component.d.ts +27 -16
  21. package/components/modal/src/modal.component.d.ts +18 -7
  22. package/components/notification/src/notification.component.d.ts +15 -7
  23. package/components/paginator/components/pagination-item/pagination-item.component.d.ts +18 -7
  24. package/components/product-card/src/product-card.component.d.ts +42 -17
  25. package/components/progress/src/progress.component.d.ts +9 -7
  26. package/components/tab/directives/tab-content/tab-content.directive.d.ts +8 -10
  27. package/components/tab/directives/tab-header/tab-header.directive.d.ts +9 -12
  28. package/components/tab/src/tab.component.d.ts +14 -9
  29. package/components/table/src/table.component.d.ts +28 -17
  30. package/components/toast/toast-message/toast-message.component.d.ts +9 -7
  31. package/components/tooltip/src/tooltip.component.d.ts +12 -7
  32. package/components/wizard/wizard-content/wizard-content.component.d.ts +3 -3
  33. package/directives/typography/src/typography.directive.d.ts +13 -12
  34. package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +7 -7
  35. package/esm2022/components/accordion/src/accordion.component.mjs +3 -3
  36. package/esm2022/components/avatar/src/avatar.component.mjs +7 -7
  37. package/esm2022/components/button/src/button.component.mjs +13 -11
  38. package/esm2022/components/card/src/card.component.mjs +7 -7
  39. package/esm2022/components/dropdown/src/dropdown.component.mjs +15 -11
  40. package/esm2022/components/dual-list/src/dual-list.component.mjs +53 -33
  41. package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +3 -4
  42. package/esm2022/components/file-upload/file-uploader/src/file-uploader.component.mjs +28 -22
  43. package/esm2022/components/forms/checkbox/src/checkbox.component.mjs +9 -9
  44. package/esm2022/components/forms/combobox/src/combobox.component.mjs +31 -28
  45. package/esm2022/components/forms/datepicker/src/datepicker.component.mjs +3 -3
  46. package/esm2022/components/forms/form-error/src/form-error.component.mjs +3 -3
  47. package/esm2022/components/forms/input/src/input.component.mjs +34 -34
  48. package/esm2022/components/forms/radio/src/radio.component.mjs +53 -4
  49. package/esm2022/components/forms/range/src/range.component.mjs +14 -13
  50. package/esm2022/components/forms/select/src/select.component.mjs +30 -28
  51. package/esm2022/components/forms/switch/src/switch.component.mjs +15 -14
  52. package/esm2022/components/forms/textarea/src/textarea.component.mjs +35 -36
  53. package/esm2022/components/forms/toggle/src/toggle.component.mjs +113 -90
  54. package/esm2022/components/icon/src/icon.component.mjs +9 -8
  55. package/esm2022/components/link/src/link.component.mjs +26 -20
  56. package/esm2022/components/modal/src/modal.component.mjs +17 -13
  57. package/esm2022/components/notification/src/notification.component.mjs +10 -8
  58. package/esm2022/components/paginator/components/pagination-item/pagination-item.component.mjs +18 -15
  59. package/esm2022/components/paginator/src/paginator.component.mjs +3 -3
  60. package/esm2022/components/product-card/src/product-card.component.mjs +52 -46
  61. package/esm2022/components/progress/src/progress.component.mjs +11 -11
  62. package/esm2022/components/tab/directives/tab-content/tab-content.directive.mjs +14 -13
  63. package/esm2022/components/tab/directives/tab-header/tab-header.directive.mjs +17 -15
  64. package/esm2022/components/tab/src/tab.component.mjs +17 -15
  65. package/esm2022/components/table/src/table.component.mjs +32 -23
  66. package/esm2022/components/table/table-header-checkbox/table-header-checkbox.component.mjs +1 -1
  67. package/esm2022/components/table/table-row-checkbox/table-row-checkbox.component.mjs +1 -1
  68. package/esm2022/components/toast/toast-message/toast-message.component.mjs +22 -17
  69. package/esm2022/components/toast/toasts-container/toasts-container.component.mjs +2 -2
  70. package/esm2022/components/tooltip/src/tooltip.component.mjs +12 -10
  71. package/esm2022/components/wizard/wizard-content/wizard-content.component.mjs +6 -6
  72. package/esm2022/components/wizard/wizard-marker/wizard-marker.component.mjs +3 -3
  73. package/esm2022/components/wizard/wizard-step/wizard-step.component.mjs +3 -4
  74. package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +3 -11
  75. package/esm2022/directives/typography/src/typography.directive.mjs +9 -6
  76. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +9 -9
  77. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
  78. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +7 -7
  79. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  80. package/fesm2022/sixbell-telco-sdk-components-button.mjs +13 -11
  81. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  82. package/fesm2022/sixbell-telco-sdk-components-card.mjs +7 -7
  83. package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
  84. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +15 -11
  85. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  86. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +51 -31
  87. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  88. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +2 -3
  89. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs.map +1 -1
  90. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +27 -21
  91. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs.map +1 -1
  92. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +8 -8
  93. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
  94. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +30 -27
  95. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  96. package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs +2 -2
  97. package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs.map +1 -1
  98. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +2 -2
  99. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
  100. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +33 -33
  101. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  102. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +52 -3
  103. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
  104. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +13 -12
  105. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
  106. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +29 -27
  107. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  108. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +14 -13
  109. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
  110. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +34 -35
  111. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  112. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +113 -90
  113. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
  114. package/fesm2022/sixbell-telco-sdk-components-icon.mjs +9 -8
  115. package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
  116. package/fesm2022/sixbell-telco-sdk-components-link.mjs +26 -20
  117. package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
  118. package/fesm2022/sixbell-telco-sdk-components-modal.mjs +17 -13
  119. package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
  120. package/fesm2022/sixbell-telco-sdk-components-notification.mjs +10 -8
  121. package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
  122. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +20 -17
  123. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  124. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +52 -46
  125. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
  126. package/fesm2022/sixbell-telco-sdk-components-progress.mjs +11 -11
  127. package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
  128. package/fesm2022/sixbell-telco-sdk-components-tab.mjs +46 -41
  129. package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
  130. package/fesm2022/sixbell-telco-sdk-components-table.mjs +35 -25
  131. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  132. package/fesm2022/sixbell-telco-sdk-components-toast.mjs +23 -18
  133. package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
  134. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +12 -10
  135. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
  136. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +11 -19
  137. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
  138. package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +8 -5
  139. package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
  140. package/package.json +9 -3
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-wizard.mjs","sources":["../../../projects/sdk/components/wizard/wizard-marker/wizard-marker.component.ts","../../../projects/sdk/components/wizard/wizard-marker/wizard-marker.component.html","../../../projects/sdk/components/wizard/wizard-step/wizard-step.component.ts","../../../projects/sdk/components/wizard/wizard-step/wizard-step.component.html","../../../projects/sdk/components/wizard/wizard-sub-step/wizard-sub-step.component.ts","../../../projects/sdk/components/wizard/wizard-sub-step/wizard-sub-step.component.html","../../../projects/sdk/components/wizard/wizard-wrapper/wizard-wrapper.component.ts","../../../projects/sdk/components/wizard/wizard-wrapper/wizard-wrapper.component.html","../../../projects/sdk/components/wizard/wizard-content/wizard-content.component.ts","../../../projects/sdk/components/wizard/wizard-content/wizard-content.component.html","../../../projects/sdk/components/wizard/sixbell-telco-sdk-components-wizard.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent } from '../wizard-content/wizard-content.component';\n\n@Component({\n\tselector: 'app-wizard-marker',\n\tstandalone: true,\n\timports: [TypographyDirective],\n\ttemplateUrl: './wizard-marker.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WizardMarkerComponent {\n\tcontent = input.required<WizardContentComponent>();\n\n\tgetStatusMarkerMessage(content: WizardContentComponent) {\n\t\treturn content.status() === 'completed' ? 'Completado' : content.status() === 'in progress' ? 'En progreso' : 'Pendiente';\n\t}\n\n\tgetStepStatusMarkerClasses(content: WizardContentComponent) {\n\t\treturn cn('rounded-btn-xs', {\n\t\t\t'transition-colors duration-300 ease-out delay-150 bg-primary bg-opacity-20 text-primary px-3 py-[5px]': content.status() === 'completed',\n\t\t\t'transition-colors duration-300 ease-out delay-150 bg-neutral-content text-secondary border-[2px] border-secondary px-[10px] py-[3px]':\n\t\t\t\tcontent.status() === 'in progress',\n\t\t\t'transition-colors duration-300 ease-out delay-150 bg-neutral-content text-secondary-muted border-[2px] border-secondary-muted px-[10px] py-[3px]':\n\t\t\t\tcontent.status() === 'pending',\n\t\t});\n\t}\n}\n","@let contentVar = content();\n<span [class]=\"getStepStatusMarkerClasses(contentVar)\" [typography]=\"{ variant: 'body-sm', fontWeight: 'semibold', color: 'inherit' }\">{{\n\tgetStatusMarkerMessage(contentVar)\n}}</span>\n","import { NgClass } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent, WizardStepStatus } from '../wizard-content/wizard-content.component';\n\n@Component({\n\tselector: 'app-wizard-step',\n\ttemplateUrl: './wizard-step.component.html',\n\tstandalone: true,\n\timports: [TypographyDirective, IconComponent, NgClass],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WizardStepComponent {\n\tstatus = input.required<WizardStepStatus>();\n\tcontent = input.required<WizardContentComponent>();\n\tcurrentStep = input.required<number>();\n\n\tgetStepClasses(currentStep: number, content: WizardContentComponent) {\n\t\tconst outerClasses = cn(\n\t\t\t'flex h-[50px] min-h-[50px] w-[50px] min-w-[50px] items-center justify-center rounded-full border-[1px] border-solid p-[2px] font-medium text-neutral-content',\n\t\t\t{\n\t\t\t\t'border-primary currentStep transition-colors duration-300 ease-out':\n\t\t\t\t\tcurrentStep === content.step() && (content.status() === 'in progress' || content.status() === 'completed'),\n\t\t\t\t'border-primary notCurrentStep transition-colors duration-300 ease-out': currentStep !== content.step() && content.status() === 'completed',\n\t\t\t\t'border-secondary notCurrentStep transition-colors duration-300 ease-out delay-[300ms]':\n\t\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t\t},\n\t\t);\n\t\tconst innerClasses = cn('flex h-full w-full items-center justify-center rounded-full', {\n\t\t\t'bg-primary currentStep transition-colors duration-300 ease-out':\n\t\t\t\tcurrentStep === content.step() && (content.status() === 'in progress' || content.status() === 'completed'),\n\t\t\t'bg-primary notCurrentStep transition-colors duration-300 ease-out': currentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep transition-colors duration-300 ease-out delay-[300ms]':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\t\treturn { outerClasses, innerClasses };\n\t}\n\n\tget stepNumberClasses() {\n\t\treturn cn({\n\t\t\t'hidden opacity-0': this.status() === 'completed',\n\t\t\t'animate-fade-in animate-duration-300 delay-[350ms] opacity-1': this.status() === 'in progress' || this.status() === 'pending',\n\t\t});\n\t}\n\n\tget stepIconClasses() {\n\t\treturn cn({\n\t\t\t'animate-fade-in animate-duration-300 delay-[350ms] opacity-1': this.status() === 'completed',\n\t\t\t'hidden opacity-0': this.status() === 'in progress' || this.status() === 'pending',\n\t\t});\n\t}\n}\n","@let currentStepVar = currentStep();\n@let contentVar = content();\n\n<div [class]=\"getStepClasses(currentStepVar, contentVar).outerClasses\">\n\t<div [class]=\"getStepClasses(currentStepVar, contentVar).innerClasses\">\n\t\t<span [class]=\"stepNumberClasses\" [typography]=\"{ variant: 'body', fontWeight: 'semibold', color: 'inherit' }\">\n\t\t\t{{ contentVar.step() + 1 }}\n\t\t</span>\n\t\t<app-icon [class]=\"stepIconClasses\" [iconName]=\"'check'\" [variants]=\"{ color: 'inherit', size: 'md' }\"></app-icon>\n\t</div>\n</div>\n","import { Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent } from '../wizard-content/wizard-content.component';\n\n@Component({\n\tselector: 'app-wizard-sub-step',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './wizard-sub-step.component.html',\n})\nexport class WizardSubStepComponent {\n\tcontent = input.required<WizardContentComponent>();\n\tcurrentStep = input.required<number>();\n\n\tgetSubStepClasses(currentStep: number, content: WizardContentComponent) {\n\t\tconst leftClasses = cn('h-[2px] w-full', {\n\t\t\t'bg-secondary currentStep relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep === content.step() && (content.status() === 'in progress' || content.status() === 'completed'),\n\t\t\t'bg-secondary notCurrentSte relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep relative after:absolute after:w-0 after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out after:delay-[350ms]':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\n\t\tconst centerClasses = cn('h-3 min-h-3 w-3 min-w-3 rounded-full', {\n\t\t\t'bg-primary currentStep transition-colors duration-300 ease-out delay-300':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'in progress',\n\t\t\t'bg-primary notCurrentStep transition-colors duration-300 ease-out delay-300':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-primary currentStep inProgress transition-colors duration-300 ease-out delay-300':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep transition-colors duration-300 ease-out': currentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\n\t\tconst rightClasses = cn('h-[2px] w-full', {\n\t\t\t'bg-secondary currentStep relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out after:delay-[350ms]':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out after:delay-[350ms]':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary currentStep inProgress relative after:absolute after:w-0 after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'in progress',\n\t\t\t'bg-secondary notCurrentStep relative after:absolute after:w-0 after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\n\t\treturn { leftClasses, centerClasses, rightClasses };\n\t}\n}\n","@let currentStepVar = currentStep();\n@let contentVar = content();\n<div class=\"flex flex-1 -translate-y-3 items-center\">\n\t<div [class]=\"getSubStepClasses(currentStepVar, contentVar).leftClasses\"></div>\n\t<div [class]=\"getSubStepClasses(currentStepVar, contentVar).centerClasses\"></div>\n\t<div [class]=\"getSubStepClasses(currentStepVar, contentVar).rightClasses\"></div>\n</div>\n","import { NgClass } from '@angular/common';\nimport { Component, computed, contentChildren, model, output } from '@angular/core';\nimport { ButtonComponent } from '@sixbell-telco/sdk/components/button';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent } from '../wizard-content/wizard-content.component';\nimport { WizardMarkerComponent } from '../wizard-marker/wizard-marker.component';\nimport { WizardStepComponent } from '../wizard-step/wizard-step.component';\nimport { WizardSubStepComponent } from '../wizard-sub-step/wizard-sub-step.component';\n\n@Component({\n\tselector: 'app-wizard',\n\ttemplateUrl: './wizard-wrapper.component.html',\n\tstandalone: true,\n\timports: [\n\t\tWizardStepComponent,\n\t\tButtonComponent,\n\t\tNgClass,\n\t\tTypographyDirective,\n\t\tWizardMarkerComponent,\n\t\tWizardSubStepComponent,\n\t\tWizardContentComponent,\n\t],\n})\nexport class WizardWrapperComponent {\n\tcontents = contentChildren(WizardContentComponent);\n\tcurrentStep = model(0);\n\n\tonBack = output();\n\toncompleted = output();\n\n\tisFirstStep = computed(() => this.currentStep() === 0);\n\tisLastStep = computed(() => this.currentStep() === this.contents().length - 1);\n\n\tallStepsAreValid = computed(() => this.contents().every((step) => step.isValid()));\n\tisCurrentStepValid = computed(() => this.contents()[this.currentStep()].isValid());\n\n\thandlePreviousStep() {\n\t\tif (this.currentStep() <= 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.currentStep.set(this.currentStep() - 1);\n\n\t\tthis.handleStepStatusChange(this.contents()[this.currentStep()]);\n\t}\n\n\thandleNextStep() {\n\t\tif (this.currentStep() >= this.contents().length - 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.isCurrentStepValid()) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.currentStep.set(this.currentStep() + 1);\n\n\t\tthis.handleStepStatusChange(this.contents()[this.currentStep()]);\n\t}\n\n\thandleBack() {\n\t\tthis.onBack.emit();\n\t}\n\n\thandleComplete() {\n\t\tif (!this.isCurrentStepValid()) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.oncompleted.emit();\n\t}\n\n\thandleStepStatusChange(step: WizardContentComponent) {\n\t\tthis.contents().forEach((s) => {\n\t\t\tif (s.step() < step.step()) {\n\t\t\t\ts.status.set('completed');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (s.step() > step.step()) {\n\t\t\t\ts.status.set('pending');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (s.step() === step.step() && !step.isValid()) {\n\t\t\t\ts.status.set('in progress');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (s.step() === step.step() && step.isValid()) {\n\t\t\t\ts.status.set('completed');\n\t\t\t\treturn;\n\t\t\t}\n\t\t});\n\t}\n\n\tgetStepClasses(currentStep: number, step: WizardContentComponent) {\n\t\tconst outerClasses = cn({\n\t\t\t'border-primary currentStep': currentStep === step.step() && (step.status() === 'in progress' || step.status() === 'completed'),\n\t\t\t'border-primary notCurrentStep': currentStep !== step.step() && step.status() === 'completed',\n\t\t\t'border-secondary notCurrentStep': currentStep !== step.step() && step.status() === 'pending',\n\t\t});\n\t\tconst innerClasses = cn({\n\t\t\t'bg-primary currentStep': currentStep === step.step() && (step.status() === 'in progress' || step.status() === 'completed'),\n\t\t\t'bg-primary notCurrentStep': currentStep !== step.step() && step.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep': currentStep !== step.step() && step.status() === 'pending',\n\t\t});\n\t\treturn { outerClasses, innerClasses };\n\t}\n}\n","@let contentsVar = contents();\n@let currentStepVar = currentStep();\n\n<div class=\"flex flex-col gap-5\">\n\t<ul class=\"flex gap-4 px-[20%] pt-6\">\n\t\t@for (content of contentsVar; track $index) {\n\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t<app-wizard-step [currentStep]=\"currentStepVar\" [content]=\"content\" [status]=\"content.status()\"></app-wizard-step>\n\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t<div class=\"flex flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t<app-wizard-marker [content]=\"content\"></app-wizard-marker>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<app-wizard-sub-step [currentStep]=\"currentStepVar\" [content]=\"content\"></app-wizard-sub-step>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"w-[50px]\">\n\t\t\t\t\t<div class=\"flex max-w-fit flex-col items-center text-secondary\">\n\t\t\t\t\t\t<span class=\"min-w-max\" [typography]=\"{ variant: 'body-sm', fontWeight: 'normal', color: 'inherit' }\">{{ content.name() }}</span>\n\t\t\t\t\t\t<span class=\"min-w-max\" [typography]=\"{ variant: 'body', fontWeight: 'normal', color: 'black' }\">{{ content.label() }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t}\n\t</ul>\n\n\t<div>\n\t\t<ng-content></ng-content>\n\t</div>\n\n\t<div class=\"flex items-center justify-center gap-5\">\n\t\t@if (isFirstStep()) {\n\t\t\t<app-button label=\"Volver\" type=\"button\" baseClass=\"w-60\" variant=\"secondary\" shape=\"round-lg\" padding=\"md\" (click)=\"handleBack()\" />\n\t\t} @else {\n\t\t\t<app-button\n\t\t\t\tlabel=\"Anterior\"\n\t\t\t\ttype=\"button\"\n\t\t\t\tbaseClass=\"w-60\"\n\t\t\t\ticonName=\"arrow-left\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\tshape=\"round-lg\"\n\t\t\t\tpadding=\"md\"\n\t\t\t\t(click)=\"handlePreviousStep()\"\n\t\t\t/>\n\t\t}\n\t\t@if (isLastStep()) {\n\t\t\t<app-button\n\t\t\t\tlabel=\"Finalizar\"\n\t\t\t\ttype=\"button\"\n\t\t\t\tbaseClass=\"w-60\"\n\t\t\t\t[disabled]=\"!allStepsAreValid()\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\tshape=\"round-lg\"\n\t\t\t\tpadding=\"md\"\n\t\t\t\t(click)=\"handleComplete()\"\n\t\t\t/>\n\t\t} @else {\n\t\t\t<app-button\n\t\t\t\tlabel=\"Siguiente\"\n\t\t\t\ttype=\"button\"\n\t\t\t\tbaseClass=\"w-60\"\n\t\t\t\t[disabled]=\"!isCurrentStepValid()\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\tshape=\"round-lg\"\n\t\t\t\tpadding=\"md\"\n\t\t\t\t(click)=\"handleNextStep()\"\n\t\t\t/>\n\t\t}\n\t</div>\n</div>\n","import { Component, computed, Host, input, model } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardWrapperComponent } from '../wizard-wrapper/wizard-wrapper.component';\n\nexport type WizardStepStatus = 'in progress' | 'pending' | 'completed';\n\n@Component({\n\tselector: 'app-wizard-content',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './wizard-content.component.html',\n})\nexport class WizardContentComponent {\n\tstep = input(0);\n\tname = input('');\n\tstatus = model.required<WizardStepStatus>();\n\tisValid = model.required<boolean>();\n\tlabel = input('');\n\tbaseClass = input('');\n\n\tcurrentStep = computed(() => this.wizard.currentStep());\n\tisStepActive = computed(() => this.step() === this.currentStep());\n\n\tconstructor(@Host() private wizard: WizardWrapperComponent) {}\n\n\tget baseClasses() {\n\t\treturn cn('animate-fade-in animate-duration-300', this.baseClass());\n\t}\n}\n","@if (this.isStepActive()) {\n\t<div [class]=\"baseClasses\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.WizardWrapperComponent"],"mappings":";;;;;;;;MAYa,qBAAqB,CAAA;AACjC,IAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,EAA0B,CAAC;AAEnD,IAAA,sBAAsB,CAAC,OAA+B,EAAA;QACrD,OAAO,OAAO,CAAC,MAAM,EAAE,KAAK,WAAW,GAAG,YAAY,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,aAAa,GAAG,aAAa,GAAG,WAAW,CAAC;KAC1H;AAED,IAAA,0BAA0B,CAAC,OAA+B,EAAA;QACzD,OAAO,EAAE,CAAC,gBAAgB,EAAE;AAC3B,YAAA,uGAAuG,EAAE,OAAO,CAAC,MAAM,EAAE,KAAK,WAAW;AACzI,YAAA,sIAAsI,EACrI,OAAO,CAAC,MAAM,EAAE,KAAK,aAAa;AACnC,YAAA,kJAAkJ,EACjJ,OAAO,CAAC,MAAM,EAAE,KAAK,SAAS;AAC/B,SAAA,CAAC,CAAC;KACH;uGAfW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;2FAArB,qBAAqB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A,QAAA,EAAA,4GAAA,EAAA,CAAA;;0BAcE,IAAI;;;AEvBlB;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-wizard.mjs","sources":["../../../projects/sdk/components/wizard/wizard-marker/wizard-marker.component.ts","../../../projects/sdk/components/wizard/wizard-marker/wizard-marker.component.html","../../../projects/sdk/components/wizard/wizard-step/wizard-step.component.ts","../../../projects/sdk/components/wizard/wizard-step/wizard-step.component.html","../../../projects/sdk/components/wizard/wizard-sub-step/wizard-sub-step.component.ts","../../../projects/sdk/components/wizard/wizard-sub-step/wizard-sub-step.component.html","../../../projects/sdk/components/wizard/wizard-wrapper/wizard-wrapper.component.ts","../../../projects/sdk/components/wizard/wizard-wrapper/wizard-wrapper.component.html","../../../projects/sdk/components/wizard/wizard-content/wizard-content.component.ts","../../../projects/sdk/components/wizard/wizard-content/wizard-content.component.html","../../../projects/sdk/components/wizard/sixbell-telco-sdk-components-wizard.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent } from '../wizard-content/wizard-content.component';\n\n@Component({\n\tselector: 'app-wizard-marker',\n\tstandalone: true,\n\timports: [TypographyDirective],\n\ttemplateUrl: './wizard-marker.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WizardMarkerComponent {\n\tcontent = input.required<WizardContentComponent>();\n\n\tgetStatusMarkerMessage(content: WizardContentComponent) {\n\t\treturn content.status() === 'completed' ? 'Completado' : content.status() === 'in progress' ? 'En progreso' : 'Pendiente';\n\t}\n\n\tgetStepStatusMarkerClasses(content: WizardContentComponent) {\n\t\treturn cn('rounded-btn-xs', {\n\t\t\t'transition-colors duration-300 ease-out delay-150 bg-primary bg-opacity-20 text-primary px-3 py-[5px]': content.status() === 'completed',\n\t\t\t'transition-colors duration-300 ease-out delay-150 bg-neutral-content text-secondary border-[2px] border-secondary px-[10px] py-[3px]':\n\t\t\t\tcontent.status() === 'in progress',\n\t\t\t'transition-colors duration-300 ease-out delay-150 bg-neutral-content text-secondary-muted border-[2px] border-secondary-muted px-[10px] py-[3px]':\n\t\t\t\tcontent.status() === 'pending',\n\t\t});\n\t}\n}\n","@let contentVar = content();\n<div [class]=\"getStepStatusMarkerClasses(contentVar)\">\n\t<span typography [typographyVariant]=\"'body-sm'\" [typographyColor]=\"'inherit'\" [typographyFontWeight]=\"'semibold'\">{{\n\t\tgetStatusMarkerMessage(contentVar)\n\t}}</span>\n</div>\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent, WizardStepStatus } from '../wizard-content/wizard-content.component';\n\n@Component({\n\tselector: 'app-wizard-step',\n\ttemplateUrl: './wizard-step.component.html',\n\tstandalone: true,\n\timports: [TypographyDirective, IconComponent],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WizardStepComponent {\n\tstatus = input.required<WizardStepStatus>();\n\tcontent = input.required<WizardContentComponent>();\n\tcurrentStep = input.required<number>();\n\n\tgetStepClasses(currentStep: number, content: WizardContentComponent) {\n\t\tconst outerClasses = cn(\n\t\t\t'flex h-[50px] min-h-[50px] w-[50px] min-w-[50px] items-center justify-center rounded-full border-[1px] border-solid p-[2px] font-medium text-neutral-content',\n\t\t\t{\n\t\t\t\t'border-primary currentStep transition-colors duration-300 ease-out':\n\t\t\t\t\tcurrentStep === content.step() && (content.status() === 'in progress' || content.status() === 'completed'),\n\t\t\t\t'border-primary notCurrentStep transition-colors duration-300 ease-out': currentStep !== content.step() && content.status() === 'completed',\n\t\t\t\t'border-secondary notCurrentStep transition-colors duration-300 ease-out delay-[300ms]':\n\t\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t\t},\n\t\t);\n\t\tconst innerClasses = cn('flex h-full w-full items-center justify-center rounded-full', {\n\t\t\t'bg-primary currentStep transition-colors duration-300 ease-out':\n\t\t\t\tcurrentStep === content.step() && (content.status() === 'in progress' || content.status() === 'completed'),\n\t\t\t'bg-primary notCurrentStep transition-colors duration-300 ease-out': currentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep transition-colors duration-300 ease-out delay-[300ms]':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\t\treturn { outerClasses, innerClasses };\n\t}\n\n\tget stepNumberClasses() {\n\t\treturn cn({\n\t\t\t'hidden opacity-0': this.status() === 'completed',\n\t\t\t'animate-fade-in animate-duration-300 delay-[350ms] opacity-1': this.status() === 'in progress' || this.status() === 'pending',\n\t\t});\n\t}\n\n\tget stepIconClasses() {\n\t\treturn cn({\n\t\t\t'animate-fade-in animate-duration-300 delay-[350ms] opacity-1': this.status() === 'completed',\n\t\t\t'hidden opacity-0': this.status() === 'in progress' || this.status() === 'pending',\n\t\t});\n\t}\n}\n","@let currentStepVar = currentStep();\n@let contentVar = content();\n\n<div [class]=\"getStepClasses(currentStepVar, contentVar).outerClasses\">\n\t<div [class]=\"getStepClasses(currentStepVar, contentVar).innerClasses\">\n\t\t<div [class]=\"stepNumberClasses\">\n\t\t\t<span typography [typographyVariant]=\"'body'\" [typographyColor]=\"'inherit'\" [typographyFontWeight]=\"'semibold'\">\n\t\t\t\t{{ contentVar.step() + 1 }}\n\t\t\t</span>\n\t\t</div>\n\t\t<app-icon [class]=\"stepIconClasses\" [iconName]=\"'check'\" color=\"inherit\" size=\"md\"></app-icon>\n\t</div>\n</div>\n","import { Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent } from '../wizard-content/wizard-content.component';\n\n@Component({\n\tselector: 'app-wizard-sub-step',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './wizard-sub-step.component.html',\n})\nexport class WizardSubStepComponent {\n\tcontent = input.required<WizardContentComponent>();\n\tcurrentStep = input.required<number>();\n\n\tgetSubStepClasses(currentStep: number, content: WizardContentComponent) {\n\t\tconst leftClasses = cn('h-[2px] w-full', {\n\t\t\t'bg-secondary currentStep relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep === content.step() && (content.status() === 'in progress' || content.status() === 'completed'),\n\t\t\t'bg-secondary notCurrentSte relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep relative after:absolute after:w-0 after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out after:delay-[350ms]':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\n\t\tconst centerClasses = cn('h-3 min-h-3 w-3 min-w-3 rounded-full', {\n\t\t\t'bg-primary currentStep transition-colors duration-300 ease-out delay-300':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'in progress',\n\t\t\t'bg-primary notCurrentStep transition-colors duration-300 ease-out delay-300':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-primary currentStep inProgress transition-colors duration-300 ease-out delay-300':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep transition-colors duration-300 ease-out': currentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\n\t\tconst rightClasses = cn('h-[2px] w-full', {\n\t\t\t'bg-secondary currentStep relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out after:delay-[350ms]':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep relative after:absolute after:w-full after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out after:delay-[350ms]':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'completed',\n\t\t\t'bg-secondary currentStep inProgress relative after:absolute after:w-0 after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep === content.step() && content.status() === 'in progress',\n\t\t\t'bg-secondary notCurrentStep relative after:absolute after:w-0 after:left-0 after:bottom-0 after:bg-primary bg:content-[\" \"] after:h-[2px] after:transition-[width] after:duration-300 after:ease-out':\n\t\t\t\tcurrentStep !== content.step() && content.status() === 'pending',\n\t\t});\n\n\t\treturn { leftClasses, centerClasses, rightClasses };\n\t}\n}\n","@let currentStepVar = currentStep();\n@let contentVar = content();\n<div class=\"flex flex-1 -translate-y-3 items-center\">\n\t<div [class]=\"getSubStepClasses(currentStepVar, contentVar).leftClasses\"></div>\n\t<div [class]=\"getSubStepClasses(currentStepVar, contentVar).centerClasses\"></div>\n\t<div [class]=\"getSubStepClasses(currentStepVar, contentVar).rightClasses\"></div>\n</div>\n","import { NgClass } from '@angular/common';\nimport { Component, computed, contentChildren, model, output } from '@angular/core';\nimport { ButtonComponent } from '@sixbell-telco/sdk/components/button';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardContentComponent } from '../wizard-content/wizard-content.component';\nimport { WizardMarkerComponent } from '../wizard-marker/wizard-marker.component';\nimport { WizardStepComponent } from '../wizard-step/wizard-step.component';\nimport { WizardSubStepComponent } from '../wizard-sub-step/wizard-sub-step.component';\n\n@Component({\n\tselector: 'app-wizard',\n\ttemplateUrl: './wizard-wrapper.component.html',\n\tstandalone: true,\n\timports: [WizardStepComponent, ButtonComponent, NgClass, TypographyDirective, WizardMarkerComponent, WizardSubStepComponent],\n})\nexport class WizardWrapperComponent {\n\tcontents = contentChildren(WizardContentComponent);\n\tcurrentStep = model(0);\n\n\tonBack = output();\n\toncompleted = output();\n\n\tisFirstStep = computed(() => this.currentStep() === 0);\n\tisLastStep = computed(() => this.currentStep() === this.contents().length - 1);\n\n\tallStepsAreValid = computed(() => this.contents().every((step) => step.isValid()));\n\tisCurrentStepValid = computed(() => this.contents()[this.currentStep()].isValid());\n\n\thandlePreviousStep() {\n\t\tif (this.currentStep() <= 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.currentStep.set(this.currentStep() - 1);\n\n\t\tthis.handleStepStatusChange(this.contents()[this.currentStep()]);\n\t}\n\n\thandleNextStep() {\n\t\tif (this.currentStep() >= this.contents().length - 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.isCurrentStepValid()) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.currentStep.set(this.currentStep() + 1);\n\n\t\tthis.handleStepStatusChange(this.contents()[this.currentStep()]);\n\t}\n\n\thandleBack() {\n\t\tthis.onBack.emit();\n\t}\n\n\thandleComplete() {\n\t\tif (!this.isCurrentStepValid()) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.oncompleted.emit();\n\t}\n\n\thandleStepStatusChange(step: WizardContentComponent) {\n\t\tthis.contents().forEach((s) => {\n\t\t\tif (s.step() < step.step()) {\n\t\t\t\ts.status.set('completed');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (s.step() > step.step()) {\n\t\t\t\ts.status.set('pending');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (s.step() === step.step() && !step.isValid()) {\n\t\t\t\ts.status.set('in progress');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (s.step() === step.step() && step.isValid()) {\n\t\t\t\ts.status.set('completed');\n\t\t\t\treturn;\n\t\t\t}\n\t\t});\n\t}\n\n\tgetStepClasses(currentStep: number, step: WizardContentComponent) {\n\t\tconst outerClasses = cn({\n\t\t\t'border-primary currentStep': currentStep === step.step() && (step.status() === 'in progress' || step.status() === 'completed'),\n\t\t\t'border-primary notCurrentStep': currentStep !== step.step() && step.status() === 'completed',\n\t\t\t'border-secondary notCurrentStep': currentStep !== step.step() && step.status() === 'pending',\n\t\t});\n\t\tconst innerClasses = cn({\n\t\t\t'bg-primary currentStep': currentStep === step.step() && (step.status() === 'in progress' || step.status() === 'completed'),\n\t\t\t'bg-primary notCurrentStep': currentStep !== step.step() && step.status() === 'completed',\n\t\t\t'bg-secondary notCurrentStep': currentStep !== step.step() && step.status() === 'pending',\n\t\t});\n\t\treturn { outerClasses, innerClasses };\n\t}\n}\n","@let contentsVar = contents();\n@let currentStepVar = currentStep();\n\n<div class=\"flex flex-col gap-5\">\n\t<ul class=\"flex gap-4 px-[20%] pt-6\">\n\t\t@for (content of contentsVar; track $index) {\n\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t<app-wizard-step [currentStep]=\"currentStepVar\" [content]=\"content\" [status]=\"content.status()\"></app-wizard-step>\n\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t<div class=\"flex flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t<app-wizard-marker [content]=\"content\"></app-wizard-marker>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<app-wizard-sub-step [currentStep]=\"currentStepVar\" [content]=\"content\"></app-wizard-sub-step>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"w-[50px]\">\n\t\t\t\t\t<div class=\"flex max-w-fit flex-col items-center text-secondary\">\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [typographyVariant]=\"'body-sm'\" [typographyColor]=\"'inherit'\" [typographyFontWeight]=\"'normal'\">{{\n\t\t\t\t\t\t\t\tcontent.name()\n\t\t\t\t\t\t\t}}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t<span typography [typographyVariant]=\"'body'\" [typographyColor]=\"'black'\" [typographyFontWeight]=\"'normal'\">{{ content.label() }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t}\n\t</ul>\n\n\t<div>\n\t\t<ng-content></ng-content>\n\t</div>\n\n\t<div class=\"flex items-center justify-center gap-5\">\n\t\t@if (isFirstStep()) {\n\t\t\t<app-button label=\"Volver\" type=\"button\" containerClasses=\"w-60\" variant=\"secondary\" shape=\"round-lg\" padding=\"md\" (click)=\"handleBack()\" />\n\t\t} @else {\n\t\t\t<app-button\n\t\t\t\tlabel=\"Anterior\"\n\t\t\t\ttype=\"button\"\n\t\t\t\tcontainerClasses=\"w-60\"\n\t\t\t\ticonName=\"arrow-left\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\tshape=\"round-lg\"\n\t\t\t\tpadding=\"md\"\n\t\t\t\t(click)=\"handlePreviousStep()\"\n\t\t\t/>\n\t\t}\n\t\t@if (isLastStep()) {\n\t\t\t<app-button\n\t\t\t\tlabel=\"Finalizar\"\n\t\t\t\ttype=\"button\"\n\t\t\t\tcontainerClasses=\"w-60\"\n\t\t\t\t[disabled]=\"!allStepsAreValid()\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\tshape=\"round-lg\"\n\t\t\t\tpadding=\"md\"\n\t\t\t\t(click)=\"handleComplete()\"\n\t\t\t/>\n\t\t} @else {\n\t\t\t<app-button\n\t\t\t\tlabel=\"Siguiente\"\n\t\t\t\ttype=\"button\"\n\t\t\t\tcontainerClasses=\"w-60\"\n\t\t\t\t[disabled]=\"!isCurrentStepValid()\"\n\t\t\t\tvariant=\"primary\"\n\t\t\t\tshape=\"round-lg\"\n\t\t\t\tpadding=\"md\"\n\t\t\t\t(click)=\"handleNextStep()\"\n\t\t\t/>\n\t\t}\n\t</div>\n</div>\n","import { Component, computed, Host, input, model } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { WizardWrapperComponent } from '../wizard-wrapper/wizard-wrapper.component';\n\nexport type WizardStepStatus = 'in progress' | 'pending' | 'completed';\n\n@Component({\n\tselector: 'app-wizard-content',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './wizard-content.component.html',\n})\nexport class WizardContentComponent {\n\tstep = input(0);\n\tname = input('');\n\tstatus = model.required<WizardStepStatus>();\n\tisValid = model.required<boolean>();\n\tlabel = input('');\n\tclasses = input('');\n\n\tcurrentStep = computed(() => this.wizard.currentStep());\n\tisStepActive = computed(() => this.step() === this.currentStep());\n\n\tconstructor(@Host() private wizard: WizardWrapperComponent) {}\n\n\tget componentClass() {\n\t\treturn cn('animate-fade-in animate-duration-300', this.classes());\n\t}\n}\n","@if (this.isStepActive()) {\n\t<div [class]=\"componentClass\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.WizardWrapperComponent"],"mappings":";;;;;;;;MAYa,qBAAqB,CAAA;AACjC,IAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,EAA0B,CAAC;AAEnD,IAAA,sBAAsB,CAAC,OAA+B,EAAA;QACrD,OAAO,OAAO,CAAC,MAAM,EAAE,KAAK,WAAW,GAAG,YAAY,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,aAAa,GAAG,aAAa,GAAG,WAAW,CAAC;KAC1H;AAED,IAAA,0BAA0B,CAAC,OAA+B,EAAA;QACzD,OAAO,EAAE,CAAC,gBAAgB,EAAE;AAC3B,YAAA,uGAAuG,EAAE,OAAO,CAAC,MAAM,EAAE,KAAK,WAAW;AACzI,YAAA,sIAAsI,EACrI,OAAO,CAAC,MAAM,EAAE,KAAK,aAAa;AACnC,YAAA,kJAAkJ,EACjJ,OAAO,CAAC,MA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A,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,g3BCZnC,+GAKA,EAAA,CAAA,CAAA;;2FDOa,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;+BACC,oBAAoB,EAAA,UAAA,EAClB,IAAI,EAAA,OAAA,EACP,EAAE,EAAA,QAAA,EAAA,+GAAA,EAAA,CAAA;;0BAcE,IAAI;;;AEvBlB;;AAEG;;;;"}
@@ -3,7 +3,7 @@ import { input, inject, ElementRef, Renderer2, effect, Directive } from '@angula
3
3
  import { cn } from '@sixbell-telco/sdk/utils/cn';
4
4
  import { cva } from 'class-variance-authority';
5
5
 
6
- const typography = cva([], {
6
+ const typographyDirective = cva([], {
7
7
  variants: {
8
8
  variant: {
9
9
  'h1-xl': ['2xl:text-5xl text-4xl', 'text-balance', 'font-heading'],
@@ -36,16 +36,19 @@ const typography = cva([], {
36
36
  },
37
37
  });
38
38
  class TypographyDirective {
39
- variants = input({ variant: 'body', color: 'black', fontWeight: 'normal' }, { alias: 'typography' });
40
- class = input('');
39
+ // typography = input<TypographyProps>();
40
+ variant = input('body', { alias: 'typographyVariant' });
41
+ color = input('black', { alias: 'typographyColor' });
42
+ fontWeight = input('normal', { alias: 'typographyFontWeight' });
43
+ classes = input('');
41
44
  element = inject(ElementRef);
42
45
  renderer = inject(Renderer2);
43
46
  classListEffect = effect(() => {
44
- const classList = cn(typography({ variant: this.variants().variant, color: this.variants().color, fontWeight: this.variants().fontWeight, class: this.class() }));
47
+ const classList = cn(typographyDirective({ variant: this.variant(), color: this.color(), fontWeight: this.fontWeight(), class: this.classes() }));
45
48
  this.renderer.setAttribute(this.element.nativeElement, 'class', classList);
46
49
  });
47
50
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: TypographyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
48
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.8", type: TypographyDirective, isStandalone: true, selector: "[typography]", inputs: { variants: { classPropertyName: "variants", publicName: "typography", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
51
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.8", type: TypographyDirective, isStandalone: true, selector: "[typography]", inputs: { variant: { classPropertyName: "variant", publicName: "typographyVariant", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "typographyColor", isSignal: true, isRequired: false, transformFunction: null }, fontWeight: { classPropertyName: "fontWeight", publicName: "typographyFontWeight", isSignal: true, isRequired: false, transformFunction: null }, classes: { classPropertyName: "classes", publicName: "classes", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
49
52
  }
50
53
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: TypographyDirective, decorators: [{
51
54
  type: Directive,
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-directives-typography.mjs","sources":["../../../projects/sdk/directives/typography/src/typography.directive.ts","../../../projects/sdk/directives/typography/sixbell-telco-sdk-directives-typography.ts"],"sourcesContent":["import { Directive, ElementRef, Renderer2, effect, inject, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { VariantProps, cva } from 'class-variance-authority';\n\nconst typography = cva([], {\n\tvariants: {\n\t\tvariant: {\n\t\t\t'h1-xl': ['2xl:text-5xl text-4xl', 'text-balance', 'font-heading'],\n\t\t\th1: ['text-3xl', 'text-balance', 'font-heading'],\n\t\t\th2: ['text-2xl', 'text-balance', 'font-heading'],\n\t\t\th3: ['text-xl', 'text-balance', 'font-heading'],\n\t\t\tbody: ['text-base', 'text-pretty', 'font-body'],\n\t\t\t'body-sm': ['text-sm', 'text-pretty', 'font-body'],\n\t\t\t'body-xs': ['text-xs', 'text-pretty', 'font-body'],\n\t\t},\n\t\tcolor: {\n\t\t\twhite: 'text-neutral-content',\n\t\t\tblack: 'text-neutral',\n\t\t\tprimary: 'text-primary',\n\t\t\tinherit: 'text-inherit',\n\t\t},\n\t\tfontWeight: {\n\t\t\tbold: 'font-bold',\n\t\t\tsemibold: 'font-semibold',\n\t\t\tmedium: 'font-medium',\n\t\t\tnormal: 'font-normal',\n\t\t\tinherit: ['font-inherit', 'font-body'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'body',\n\t\tcolor: 'black',\n\t\tfontWeight: 'normal',\n\t},\n});\n\nexport type TypographyVariantProps = VariantProps<typeof typography>;\n\nexport type TypographyVariantOnlyProps = Pick<TypographyVariantProps, 'variant'>;\n\n@Directive({\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: '[typography]',\n\tstandalone: true,\n})\nexport class TypographyDirective {\n\tvariants = input<TypographyVariantProps>({ variant: 'body', color: 'black', fontWeight: 'normal' }, { alias: 'typography' });\n\tclass = input<string>('');\n\n\tprivate element: ElementRef = inject(ElementRef);\n\tprivate renderer: Renderer2 = inject(Renderer2);\n\n\tclassListEffect = effect(() => {\n\t\tconst classList = cn(\n\t\t\ttypography({ variant: this.variants().variant, color: this.variants().color, fontWeight: this.variants().fontWeight, class: this.class() }),\n\t\t);\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'class', classList);\n\t});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAIA,MAAM,UAAU,GAAG,GAAG,CAAC,EAAE,EAAE;AAC1B,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,OAAO,EAAE,CAAC,uBAAuB,EAAE,cAAc,EAAE,cAAc,CAAC;AAClE,YAAA,EAAE,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,cAAc,CAAC;AAChD,YAAA,EAAE,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,cAAc,C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","../../../projects/sdk/directives/typography/sixbell-telco-sdk-directives-typography.ts"],"sourcesContent":["import { Directive, ElementRef, Renderer2, effect, inject, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\nconst typographyDirective = cva([], {\n\tvariants: {\n\t\tvariant: {\n\t\t\t'h1-xl': ['2xl:text-5xl text-4xl', 'text-balance', 'font-heading'],\n\t\t\th1: ['text-3xl', 'text-balance', 'font-heading'],\n\t\t\th2: ['text-2xl', 'text-balance', 'font-heading'],\n\t\t\th3: ['text-xl', 'text-balance', 'font-heading'],\n\t\t\tbody: ['text-base', 'text-pretty', 'font-body'],\n\t\t\t'body-sm': ['text-sm', 'text-pretty', 'font-body'],\n\t\t\t'body-xs': ['text-xs', 'text-pretty', 'font-body'],\n\t\t},\n\t\tcolor: {\n\t\t\twhite: 'text-neutral-content',\n\t\t\tblack: 'text-neutral',\n\t\t\tprimary: 'text-primary',\n\t\t\tinherit: 'text-inherit',\n\t\t},\n\t\tfontWeight: {\n\t\t\tbold: 'font-bold',\n\t\t\tsemibold: 'font-semibold',\n\t\t\tmedium: 'font-medium',\n\t\t\tnormal: 'font-normal',\n\t\t\tinherit: ['font-inherit', 'font-body'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'body',\n\t\tcolor: 'black',\n\t\tfontWeight: 'normal',\n\t},\n});\n\nexport type TypographyVariantProps = 'h1-xl' | 'h1' | 'h2' | 'h3' | 'body' | 'body-sm' | 'body-xs' | null | undefined;\nexport type TypographyColorProps = 'white' | 'black' | 'primary' | 'inherit' | null | undefined;\nexport type TypographyFontWeightProps = 'bold' | 'semibold' | 'medium' | 'normal' | 'inherit' | null | undefined;\n\nexport type TypographyProps = {\n\tvariant?: TypographyVariantProps;\n\tcolor?: TypographyColorProps;\n\tfontWeight?: TypographyFontWeightProps;\n};\n\n@Directive({\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: '[typography]',\n\tstandalone: true,\n})\nexport class TypographyDirective {\n\t// typography = input<TypographyProps>();\n\tvariant = input<TypographyVariantProps>('body', { alias: 'typographyVariant' });\n\tcolor = input<TypographyColorProps>('black', { alias: 'typographyColor' });\n\tfontWeight = input<TypographyFontWeightProps>('normal', { alias: 'typographyFontWeight' });\n\tclasses = input<string>('');\n\n\tprivate element: ElementRef = inject(ElementRef);\n\tprivate renderer: Renderer2 = inject(Renderer2);\n\n\tclassListEffect = effect(() => {\n\t\tconst classList = cn(typographyDirective({ variant: this.variant(), color: this.color(), fontWeight: this.fontWeight(), class: this.classes() }));\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'class', classList);\n\t});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAIA,MAAM,mBAAmB,GAAG,GAAG,CAAC,EAAE,EAAE;AACnC,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,OAAO,EAAE,CAAC,uBAAuB,EAAE,cAAc,EAAE,cAAc,CAAC;AAClE,YAAA,EAAE,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,cAAc,CAAC;AAChD,YAAA,EAAE,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,cAAc,CAAC;AAChD,YAAA,EAAE,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,cAAc,CAAC;AAC/C,YAAA,IAAI,EAAE,CAAC,WAAW,EAAE,aAAa,EAAE,WAAW,CAAC;AAC/C,YAAA,SAAS,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,WAAW,CAAC;AAClD,YAAA,SAAS,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,WAAW,CAAC;AAClD,SAAA;AACD,QAAA,KAAK,EAAE;AACN,YAAA,KAAK,EAAE,sBAAsB;AAC7B,YAAA,KAAK,EAAE,cAAc;AACrB,YAAA,OAAO,EAAE,cAAc;AACvB,YAAA,OAAO,EAAE,cAAc;AACvB,SAAA;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AE,OAAO,EAAE,SAAS,CAAC,CAAC;AAC5E,KAAC,CAAC,CAAC;uGAbS,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;2FAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,sBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;;AAEV,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACnDD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,12 +1,18 @@
1
1
  {
2
2
  "name": "@sixbell-telco/sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "A collection of reusable components designed for use in Sixbell Telco Angular projects",
5
5
  "keywords": [
6
6
  "sixbell",
7
7
  "telco",
8
8
  "ui-kit",
9
- "sdk"
9
+ "sdk",
10
+ "angular",
11
+ "components",
12
+ "18",
13
+ "tailwindcss",
14
+ "tailwind",
15
+ "angular 18"
10
16
  ],
11
17
  "private": false,
12
18
  "main": "",
@@ -270,4 +276,4 @@
270
276
  "dependencies": {
271
277
  "tslib": "^2.3.0"
272
278
  }
273
- }
279
+ }