@sixbell-telco/sdk 0.5.2 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +17 -3
  3. package/_index.scss +6 -0
  4. package/components/audio-player/audio-timeline/audio-timeline.component.d.ts +20 -0
  5. package/components/audio-player/button-play/button-play.component.d.ts +23 -0
  6. package/components/audio-player/index.d.ts +5 -0
  7. package/components/audio-player/public-api.d.ts +3 -0
  8. package/components/audio-player/services/audio.service.d.ts +50 -0
  9. package/components/audio-player/src/audio-player.component.d.ts +31 -0
  10. package/components/audio-player/track-info/track-info.component.d.ts +8 -0
  11. package/components/audio-player/volume-control/volume-control.component.d.ts +24 -0
  12. package/components/button/src/button.component.d.ts +2 -1
  13. package/components/icon/heroicons/mini/index.d.ts +5 -0
  14. package/components/icon/heroicons/mini/public-api.d.ts +1 -0
  15. package/components/icon/heroicons/outline/index.d.ts +5 -0
  16. package/components/icon/heroicons/outline/public-api.d.ts +1 -0
  17. package/components/icon/heroicons/solid/index.d.ts +5 -0
  18. package/components/icon/heroicons/solid/public-api.d.ts +1 -0
  19. package/components/icon/ionicons/index.d.ts +5 -0
  20. package/components/icon/ionicons/public-api.d.ts +1 -0
  21. package/components/toast/services/toast.service.d.ts +0 -1
  22. package/components/toast/toasts-container/toasts-container.component.d.ts +0 -1
  23. package/directives/typography/src/typography.directive.d.ts +4 -1
  24. package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +1 -1
  25. package/esm2022/components/audio-player/audio-timeline/audio-timeline.component.mjs +76 -0
  26. package/esm2022/components/audio-player/button-play/button-play.component.mjs +62 -0
  27. package/esm2022/components/audio-player/public-api.mjs +4 -0
  28. package/esm2022/components/audio-player/services/audio.service.mjs +160 -0
  29. package/esm2022/components/audio-player/sixbell-telco-sdk-components-audio-player.mjs +5 -0
  30. package/esm2022/components/audio-player/src/audio-player.component.mjs +79 -0
  31. package/esm2022/components/audio-player/track-info/track-info.component.mjs +17 -0
  32. package/esm2022/components/audio-player/volume-control/volume-control.component.mjs +83 -0
  33. package/esm2022/components/avatar/src/avatar.component.mjs +1 -1
  34. package/esm2022/components/button/src/button.component.mjs +5 -3
  35. package/esm2022/components/dual-list/src/dual-list.component.mjs +2 -2
  36. package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +2 -2
  37. package/esm2022/components/file-upload/file-uploader/src/file-uploader.component.mjs +1 -1
  38. package/esm2022/components/forms/checkbox/src/checkbox.component.mjs +1 -1
  39. package/esm2022/components/forms/combobox/src/combobox.component.mjs +2 -2
  40. package/esm2022/components/forms/form-error/src/form-error.component.mjs +1 -1
  41. package/esm2022/components/forms/input/src/input.component.mjs +5 -2
  42. package/esm2022/components/forms/radio/src/radio.component.mjs +1 -1
  43. package/esm2022/components/forms/range/src/range.component.mjs +2 -2
  44. package/esm2022/components/forms/select/src/select.component.mjs +1 -1
  45. package/esm2022/components/forms/switch/src/switch.component.mjs +1 -1
  46. package/esm2022/components/forms/textarea/src/textarea.component.mjs +2 -2
  47. package/esm2022/components/forms/toggle/src/toggle.component.mjs +1 -1
  48. package/esm2022/components/icon/heroicons/mini/public-api.mjs +2 -0
  49. package/esm2022/components/icon/heroicons/mini/sixbell-telco-sdk-components-icon-heroicons-mini.mjs +5 -0
  50. package/esm2022/components/icon/heroicons/outline/public-api.mjs +2 -0
  51. package/esm2022/components/icon/heroicons/outline/sixbell-telco-sdk-components-icon-heroicons-outline.mjs +5 -0
  52. package/esm2022/components/icon/heroicons/solid/public-api.mjs +2 -0
  53. package/esm2022/components/icon/heroicons/solid/sixbell-telco-sdk-components-icon-heroicons-solid.mjs +5 -0
  54. package/esm2022/components/icon/ionicons/public-api.mjs +2 -0
  55. package/esm2022/components/icon/ionicons/sixbell-telco-sdk-components-icon-ionicons.mjs +5 -0
  56. package/esm2022/components/modal/modal-title/modal-title.component.mjs +3 -3
  57. package/esm2022/components/paginator/components/pagination-item/pagination-item.component.mjs +1 -1
  58. package/esm2022/components/product-card/src/product-card.component.mjs +2 -2
  59. package/esm2022/components/progress/src/progress.component.mjs +1 -1
  60. package/esm2022/components/table/src/table.component.mjs +3 -3
  61. package/esm2022/components/toast/services/toast.service.mjs +3 -13
  62. package/esm2022/components/toast/toast-message/toast-message.component.mjs +2 -2
  63. package/esm2022/components/toast/toasts-container/toasts-container.component.mjs +3 -11
  64. package/esm2022/components/wizard/wizard-marker/wizard-marker.component.mjs +1 -1
  65. package/esm2022/components/wizard/wizard-step/wizard-step.component.mjs +2 -2
  66. package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +2 -2
  67. package/esm2022/directives/typography/src/typography.directive.mjs +9 -2
  68. package/esm2022/utils/pipes/time/public-api.mjs +2 -0
  69. package/esm2022/utils/pipes/time/sixbell-telco-sdk-utils-pipes-time.mjs +5 -0
  70. package/esm2022/utils/pipes/time/src/time.pipe.mjs +19 -0
  71. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +1 -1
  72. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
  73. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +450 -0
  74. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -0
  75. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +1 -1
  76. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  77. package/fesm2022/sixbell-telco-sdk-components-button.mjs +4 -2
  78. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  79. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +1 -1
  80. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  81. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +1 -1
  82. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs.map +1 -1
  83. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +1 -1
  84. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs.map +1 -1
  85. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +1 -1
  86. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
  87. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +1 -1
  88. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  89. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +1 -1
  90. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
  91. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +4 -1
  92. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  93. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +1 -1
  94. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
  95. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +1 -1
  96. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
  97. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +1 -1
  98. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  99. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +1 -1
  100. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
  101. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +1 -1
  102. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  103. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +1 -1
  104. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
  105. package/fesm2022/sixbell-telco-sdk-components-icon-heroicons-mini.mjs +6 -0
  106. package/fesm2022/sixbell-telco-sdk-components-icon-heroicons-mini.mjs.map +1 -0
  107. package/fesm2022/sixbell-telco-sdk-components-icon-heroicons-outline.mjs +6 -0
  108. package/fesm2022/sixbell-telco-sdk-components-icon-heroicons-outline.mjs.map +1 -0
  109. package/fesm2022/sixbell-telco-sdk-components-icon-heroicons-solid.mjs +6 -0
  110. package/fesm2022/sixbell-telco-sdk-components-icon-heroicons-solid.mjs.map +1 -0
  111. package/fesm2022/sixbell-telco-sdk-components-icon-ionicons.mjs +6 -0
  112. package/fesm2022/sixbell-telco-sdk-components-icon-ionicons.mjs.map +1 -0
  113. package/fesm2022/sixbell-telco-sdk-components-modal.mjs +2 -2
  114. package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
  115. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +1 -1
  116. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  117. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +1 -1
  118. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
  119. package/fesm2022/sixbell-telco-sdk-components-progress.mjs +1 -1
  120. package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
  121. package/fesm2022/sixbell-telco-sdk-components-table.mjs +2 -2
  122. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  123. package/fesm2022/sixbell-telco-sdk-components-toast.mjs +4 -22
  124. package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
  125. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +3 -3
  126. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
  127. package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +8 -1
  128. package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
  129. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs +26 -0
  130. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs.map +1 -0
  131. package/package.json +68 -29
  132. package/utils/pipes/time/index.d.ts +5 -0
  133. package/utils/pipes/time/public-api.d.ts +1 -0
  134. package/utils/pipes/time/src/time.pipe.d.ts +7 -0
@@ -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: 'st-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-tertiary border-[2px] border-tertiary 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 [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'semibold'\">{{ getStatusMarkerMessage(contentVar) }}</span>\n</div>\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matCheckOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\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: 'st-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\ticon = matCheckOutline;\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 [tyVariant]=\"'body'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'semibold'\">\n\t\t\t\t{{ contentVar.step() + 1 }}\n\t\t\t</span>\n\t\t</div>\n\t\t<st-icon [class]=\"stepIconClasses\" [icon]=\"icon\" color=\"inherit\" size=\"md\"></st-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: 'st-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 { matKeyboardBackspaceOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\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: 'st-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\ticon = matKeyboardBackspaceOutline;\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<st-wizard-step [currentStep]=\"currentStepVar\" [content]=\"content\" [status]=\"content.status()\"></st-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<st-wizard-marker [content]=\"content\"></st-wizard-marker>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<st-wizard-sub-step [currentStep]=\"currentStepVar\" [content]=\"content\"></st-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 [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">{{ content.name() }}</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 [tyVariant]=\"'body'\" [tyColor]=\"'base'\" [tyFontWeight]=\"'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<div class=\"w-60\">\n\t\t\t\t<st-button variant=\"secondary\" (click)=\"handleBack()\" [block]=\"true\">Volver</st-button>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [icon]=\"icon\" variant=\"secondary\" (click)=\"handlePreviousStep()\" [block]=\"true\">Anterior</st-button>\n\t\t\t</div>\n\t\t}\n\t\t@if (isLastStep()) {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [disabled]=\"!allStepsAreValid()\" variant=\"secondary\" (click)=\"handleComplete()\" [block]=\"true\">Finalizar</st-button>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [disabled]=\"!isCurrentStepValid()\" (click)=\"handleNextStep()\" [block]=\"true\">Siguiente</st-button>\n\t\t\t</div>\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: 'st-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,oIAAoI,EACnI,OAAO,CAAC,MAAM,EAAE,KAAK,SAAS;AAC/B,SAAA,CAAC,CAAC;KACH;wGAfW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;4FAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,I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izard/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: 'st-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-tertiary border-[2px] border-tertiary 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 [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'semibold'\">{{ getStatusMarkerMessage(contentVar) }}</span>\n</div>\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matCheckOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\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: 'st-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\ticon = matCheckOutline;\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 [tyVariant]=\"'body'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'semibold'\">\n\t\t\t\t{{ contentVar.step() + 1 }}\n\t\t\t</span>\n\t\t</div>\n\t\t<st-icon [class]=\"stepIconClasses\" [icon]=\"icon\" color=\"inherit\" size=\"md\"></st-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: 'st-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 { matKeyboardBackspaceOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\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: 'st-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\ticon = matKeyboardBackspaceOutline;\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<st-wizard-step [currentStep]=\"currentStepVar\" [content]=\"content\" [status]=\"content.status()\"></st-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<st-wizard-marker [content]=\"content\"></st-wizard-marker>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<st-wizard-sub-step [currentStep]=\"currentStepVar\" [content]=\"content\"></st-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 [tyVariant]=\"'body-sm'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">{{ content.name() }}</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 [tyVariant]=\"'body'\" [tyColor]=\"'base'\" [tyFontWeight]=\"'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<div class=\"w-60\">\n\t\t\t\t<st-button variant=\"secondary\" (click)=\"handleBack()\" [block]=\"true\">Volver</st-button>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [icon]=\"icon\" variant=\"secondary\" (click)=\"handlePreviousStep()\" [block]=\"true\">Anterior</st-button>\n\t\t\t</div>\n\t\t}\n\t\t@if (isLastStep()) {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [disabled]=\"!allStepsAreValid()\" variant=\"secondary\" (click)=\"handleComplete()\" [block]=\"true\">Finalizar</st-button>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"w-60\">\n\t\t\t\t<st-button [disabled]=\"!isCurrentStepValid()\" (click)=\"handleNextStep()\" [block]=\"true\">Siguiente</st-button>\n\t\t\t</div>\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: 'st-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,oIAAoI,EACnI,OAAO,CAAC,MAAM,EAAE,KAAK,SAAS;AAC/B,SAAA,CAAC,CAAC;KACH;wGAfW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;4FAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAA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 'font-body'],
31
31
  },
32
+ textOverflow: {
33
+ clip: 'text-clip',
34
+ ellipsis: 'text-ellipsis',
35
+ truncate: 'text-truncate',
36
+ },
32
37
  },
33
38
  compoundVariants: [],
34
39
  defaultVariants: {
35
40
  variant: 'body',
36
41
  color: 'inherit',
37
42
  fontWeight: 'normal',
43
+ textOverflow: 'clip',
38
44
  },
39
45
  });
40
46
  class TypographyDirective {
@@ -42,6 +48,7 @@ class TypographyDirective {
42
48
  variant = input('body', { alias: 'tyVariant' });
43
49
  color = input('inherit', { alias: 'tyColor' });
44
50
  fontWeight = input('normal', { alias: 'tyFontWeight' });
51
+ textOverflow = input('clip', { alias: 'tyTextOverflow' });
45
52
  element = inject(ElementRef);
46
53
  renderer = inject(Renderer2);
47
54
  classListEffect = effect(() => {
@@ -49,7 +56,7 @@ class TypographyDirective {
49
56
  this.renderer.setAttribute(this.element.nativeElement, 'class', classList);
50
57
  });
51
58
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TypographyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
52
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.12", type: TypographyDirective, isStandalone: true, selector: "[typography]", inputs: { variant: { classPropertyName: "variant", publicName: "tyVariant", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "tyColor", isSignal: true, isRequired: false, transformFunction: null }, fontWeight: { classPropertyName: "fontWeight", publicName: "tyFontWeight", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
59
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.12", type: TypographyDirective, isStandalone: true, selector: "[typography]", inputs: { variant: { classPropertyName: "variant", publicName: "tyVariant", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "tyColor", isSignal: true, isRequired: false, transformFunction: null }, fontWeight: { classPropertyName: "fontWeight", publicName: "tyFontWeight", isSignal: true, isRequired: false, transformFunction: null }, textOverflow: { classPropertyName: "textOverflow", publicName: "tyTextOverflow", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
53
60
  }
54
61
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TypographyDirective, decorators: [{
55
62
  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 { cva } from 'class-variance-authority';\n\nconst typographyDirective = cva([], {\n\tvariants: {\n\t\tvariant: {\n\t\t\th1: ['text-[2.027rem]', 'text-balance', 'font-heading', 'leading-tight'],\n\t\t\th2: ['text-[1.802rem]', 'text-balance', 'font-heading', 'leading-tight'],\n\t\t\th3: ['text-[1.602rem]', 'text-balance', 'font-heading', 'leading-tight'],\n\t\t\th4: ['text-[1.424rem]', 'text-balance', 'font-heading', 'leading-snug'],\n\t\t\th5: ['text-[1.266rem]', 'text-balance', 'font-heading', 'leading-snug'],\n\t\t\th6: ['text-xl', 'text-balance', 'font-heading', 'leading-snug'],\n\t\t\tbody: ['text-base', 'text-pretty', 'font-body', 'leading-normal'],\n\t\t\t'body-sm': ['text-[0.8rem]', 'text-pretty', 'font-body', 'leading-normal'],\n\t\t\t'body-xs': ['text-[0.64rem]', 'text-pretty', 'font-body', 'leading-normal'],\n\t\t\tinherit: ['font-body'],\n\t\t},\n\t\tcolor: {\n\t\t\tbase: 'text-base-content',\n\t\t\t'base-placeholder': 'text-neutral',\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: 'inherit',\n\t\tfontWeight: 'normal',\n\t},\n});\n\nexport type TypographyVariantProps = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body' | 'body-sm' | 'body-xs' | 'inherit' | null | undefined;\nexport type TypographyColorProps = 'base' | 'base-placeholder' | '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: 'tyVariant' });\n\tcolor = input<TypographyColorProps>('inherit', { alias: 'tyColor' });\n\tfontWeight = input<TypographyFontWeightProps>('normal', { alias: 'tyFontWeight' });\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() }));\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;YACR,EAAE,EAAE,CAAC,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,CAAC;YACxE,EAAE,EAAE,CAAC,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,eA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A,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAnB,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;;;ACrDD;;AAEG;;;;"}
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 { cva } from 'class-variance-authority';\n\nconst typographyDirective = cva([], {\n\tvariants: {\n\t\tvariant: {\n\t\t\th1: ['text-[2.027rem]', 'text-balance', 'font-heading', 'leading-tight'],\n\t\t\th2: ['text-[1.802rem]', 'text-balance', 'font-heading', 'leading-tight'],\n\t\t\th3: ['text-[1.602rem]', 'text-balance', 'font-heading', 'leading-tight'],\n\t\t\th4: ['text-[1.424rem]', 'text-balance', 'font-heading', 'leading-snug'],\n\t\t\th5: ['text-[1.266rem]', 'text-balance', 'font-heading', 'leading-snug'],\n\t\t\th6: ['text-xl', 'text-balance', 'font-heading', 'leading-snug'],\n\t\t\tbody: ['text-base', 'text-pretty', 'font-body', 'leading-normal'],\n\t\t\t'body-sm': ['text-[0.8rem]', 'text-pretty', 'font-body', 'leading-normal'],\n\t\t\t'body-xs': ['text-[0.64rem]', 'text-pretty', 'font-body', 'leading-normal'],\n\t\t\tinherit: ['font-body'],\n\t\t},\n\t\tcolor: {\n\t\t\tbase: 'text-base-content',\n\t\t\t'base-placeholder': 'text-neutral',\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\ttextOverflow: {\n\t\t\tclip: 'text-clip',\n\t\t\tellipsis: 'text-ellipsis',\n\t\t\ttruncate: 'text-truncate',\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'body',\n\t\tcolor: 'inherit',\n\t\tfontWeight: 'normal',\n\t\ttextOverflow: 'clip',\n\t},\n});\n\nexport type TypographyVariantProps = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body' | 'body-sm' | 'body-xs' | 'inherit' | null | undefined;\nexport type TypographyColorProps = 'base' | 'base-placeholder' | 'inherit' | null | undefined;\nexport type TypographyFontWeightProps = 'bold' | 'semibold' | 'medium' | 'normal' | 'inherit' | null | undefined;\nexport type TypographyTextOverflowProps = 'clip' | 'ellipsis' | 'truncate' | null | undefined;\n\nexport type TypographyProps = {\n\tvariant?: TypographyVariantProps;\n\tcolor?: TypographyColorProps;\n\tfontWeight?: TypographyFontWeightProps;\n\ttextOverflow?: TypographyTextOverflowProps;\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: 'tyVariant' });\n\tcolor = input<TypographyColorProps>('inherit', { alias: 'tyColor' });\n\tfontWeight = input<TypographyFontWeightProps>('normal', { alias: 'tyFontWeight' });\n\ttextOverflow = input<TypographyTextOverflowProps>('clip', { alias: 'tyTextOverflow' });\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() }));\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;YACR,EAAE,EAAE,CAAC,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,CAAC;YACxE,EAAE,EAAE,CAAC,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,CAAC;YACxE,EAAE,EAAE,CAAC,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,CAAC;YACxE,EAAE,EAAE,CAAC,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,CAAC;YACvE,EAAE,EAAE,CAAC,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,CAAC;YACvE,EAAE,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,CAAC;YAC/D,IAAI,EAAE,CAAC,WAAW,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,CAAC;YACjE,SAAS,EAAE,CAAC,eAAe,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,CAAC;YAC1E,SAAS,EAAE,CAAC,gBAAgB,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,CAAC;YAC3E,OAAO,EAAE,CAAC,WAAW,CAAC;AACtB,SAAA;AACD,QAAA,KAAK,EAAE;AACN,YAAA,IAAI,EAAE,mBAAmB;AACzB,YAAA,kBAAkB,EAAE,cAAc;AAClC,YAAA,OAAO,EAAE,cAAc;AACvB,SAAA;AACD,QAAA,UAAU,EAAE;AACX,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,QAAQ,EAAE,eAAe;AACzB,YAAA,MAAM,EAAE,aAAa;AACrB,YAAA,MAAM,EAAE,aAAa;AACrB,YAAA,OAAO,EAAE,CAAC,cAAc,EAAE,WA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AAC,CAAC;wGAbS,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;4FAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,WAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAnB,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;;;AC7DD;;AAEG;;;;"}
@@ -0,0 +1,26 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class TimePipe {
5
+ transform(value) {
6
+ const minutes = Math.floor(value / 60);
7
+ const seconds = Math.floor(value % 60);
8
+ return `${minutes}:${seconds.toString().padStart(2, '0')}`;
9
+ }
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
11
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.12", ngImport: i0, type: TimePipe, isStandalone: true, name: "time" });
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TimePipe, decorators: [{
14
+ type: Pipe,
15
+ args: [{
16
+ name: 'time',
17
+ standalone: true,
18
+ }]
19
+ }] });
20
+
21
+ /**
22
+ * Generated bundle index. Do not edit.
23
+ */
24
+
25
+ export { TimePipe };
26
+ //# sourceMappingURL=sixbell-telco-sdk-utils-pipes-time.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sixbell-telco-sdk-utils-pipes-time.mjs","sources":["../../../projects/sdk/utils/pipes/time/src/time.pipe.ts","../../../projects/sdk/utils/pipes/time/sixbell-telco-sdk-utils-pipes-time.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n\tname: 'time',\n\tstandalone: true,\n})\nexport class TimePipe implements PipeTransform {\n\ttransform(value: number): string {\n\t\tconst minutes = Math.floor(value / 60);\n\t\tconst seconds = Math.floor(value % 60);\n\t\treturn `${minutes}:${seconds.toString().padStart(2, '0')}`;\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAMa,QAAQ,CAAA;AACpB,IAAA,SAAS,CAAC,KAAa,EAAA;QACtB,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,EAAE,CAAC,CAAC;QACvC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,EAAE,CAAC,CAAC;AACvC,QAAA,OAAO,CAAG,EAAA,OAAO,CAAI,CAAA,EAAA,OAAO,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;KAC3D;wGALW,QAAQ,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;sGAAR,QAAQ,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,CAAA;;4FAAR,QAAQ,EAAA,UAAA,EAAA,CAAA;kBAJpB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,MAAM;AACZ,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACLD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sixbell-telco/sdk",
3
- "version": "0.5.2",
3
+ "version": "0.6.0",
4
4
  "description": "A collection of reusable components designed for use in Sixbell Telco Angular projects",
5
5
  "keywords": [
6
6
  "sixbell",
@@ -35,24 +35,30 @@
35
35
  "esm": "./esm2022/components/accordion/sixbell-telco-sdk-components-accordion.mjs",
36
36
  "default": "./fesm2022/sixbell-telco-sdk-components-accordion.mjs"
37
37
  },
38
+ "./components/audio-player": {
39
+ "types": "./components/audio-player/index.d.ts",
40
+ "esm2022": "./esm2022/components/audio-player/sixbell-telco-sdk-components-audio-player.mjs",
41
+ "esm": "./esm2022/components/audio-player/sixbell-telco-sdk-components-audio-player.mjs",
42
+ "default": "./fesm2022/sixbell-telco-sdk-components-audio-player.mjs"
43
+ },
38
44
  "./components/badge": {
39
45
  "types": "./components/badge/index.d.ts",
40
46
  "esm2022": "./esm2022/components/badge/sixbell-telco-sdk-components-badge.mjs",
41
47
  "esm": "./esm2022/components/badge/sixbell-telco-sdk-components-badge.mjs",
42
48
  "default": "./fesm2022/sixbell-telco-sdk-components-badge.mjs"
43
49
  },
44
- "./components/button": {
45
- "types": "./components/button/index.d.ts",
46
- "esm2022": "./esm2022/components/button/sixbell-telco-sdk-components-button.mjs",
47
- "esm": "./esm2022/components/button/sixbell-telco-sdk-components-button.mjs",
48
- "default": "./fesm2022/sixbell-telco-sdk-components-button.mjs"
49
- },
50
50
  "./components/avatar": {
51
51
  "types": "./components/avatar/index.d.ts",
52
52
  "esm2022": "./esm2022/components/avatar/sixbell-telco-sdk-components-avatar.mjs",
53
53
  "esm": "./esm2022/components/avatar/sixbell-telco-sdk-components-avatar.mjs",
54
54
  "default": "./fesm2022/sixbell-telco-sdk-components-avatar.mjs"
55
55
  },
56
+ "./components/button": {
57
+ "types": "./components/button/index.d.ts",
58
+ "esm2022": "./esm2022/components/button/sixbell-telco-sdk-components-button.mjs",
59
+ "esm": "./esm2022/components/button/sixbell-telco-sdk-components-button.mjs",
60
+ "default": "./fesm2022/sixbell-telco-sdk-components-button.mjs"
61
+ },
56
62
  "./components/card": {
57
63
  "types": "./components/card/index.d.ts",
58
64
  "esm2022": "./esm2022/components/card/sixbell-telco-sdk-components-card.mjs",
@@ -215,11 +221,11 @@
215
221
  "esm": "./esm2022/components/forms/radio/sixbell-telco-sdk-components-forms-radio.mjs",
216
222
  "default": "./fesm2022/sixbell-telco-sdk-components-forms-radio.mjs"
217
223
  },
218
- "./components/forms/range": {
219
- "types": "./components/forms/range/index.d.ts",
220
- "esm2022": "./esm2022/components/forms/range/sixbell-telco-sdk-components-forms-range.mjs",
221
- "esm": "./esm2022/components/forms/range/sixbell-telco-sdk-components-forms-range.mjs",
222
- "default": "./fesm2022/sixbell-telco-sdk-components-forms-range.mjs"
224
+ "./components/forms/switch": {
225
+ "types": "./components/forms/switch/index.d.ts",
226
+ "esm2022": "./esm2022/components/forms/switch/sixbell-telco-sdk-components-forms-switch.mjs",
227
+ "esm": "./esm2022/components/forms/switch/sixbell-telco-sdk-components-forms-switch.mjs",
228
+ "default": "./fesm2022/sixbell-telco-sdk-components-forms-switch.mjs"
223
229
  },
224
230
  "./components/forms/select": {
225
231
  "types": "./components/forms/select/index.d.ts",
@@ -227,17 +233,11 @@
227
233
  "esm": "./esm2022/components/forms/select/sixbell-telco-sdk-components-forms-select.mjs",
228
234
  "default": "./fesm2022/sixbell-telco-sdk-components-forms-select.mjs"
229
235
  },
230
- "./components/forms/switch": {
231
- "types": "./components/forms/switch/index.d.ts",
232
- "esm2022": "./esm2022/components/forms/switch/sixbell-telco-sdk-components-forms-switch.mjs",
233
- "esm": "./esm2022/components/forms/switch/sixbell-telco-sdk-components-forms-switch.mjs",
234
- "default": "./fesm2022/sixbell-telco-sdk-components-forms-switch.mjs"
235
- },
236
- "./components/forms/textarea": {
237
- "types": "./components/forms/textarea/index.d.ts",
238
- "esm2022": "./esm2022/components/forms/textarea/sixbell-telco-sdk-components-forms-textarea.mjs",
239
- "esm": "./esm2022/components/forms/textarea/sixbell-telco-sdk-components-forms-textarea.mjs",
240
- "default": "./fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs"
236
+ "./components/forms/range": {
237
+ "types": "./components/forms/range/index.d.ts",
238
+ "esm2022": "./esm2022/components/forms/range/sixbell-telco-sdk-components-forms-range.mjs",
239
+ "esm": "./esm2022/components/forms/range/sixbell-telco-sdk-components-forms-range.mjs",
240
+ "default": "./fesm2022/sixbell-telco-sdk-components-forms-range.mjs"
241
241
  },
242
242
  "./components/forms/toggle": {
243
243
  "types": "./components/forms/toggle/index.d.ts",
@@ -245,6 +245,18 @@
245
245
  "esm": "./esm2022/components/forms/toggle/sixbell-telco-sdk-components-forms-toggle.mjs",
246
246
  "default": "./fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs"
247
247
  },
248
+ "./components/icon/ionicons": {
249
+ "types": "./components/icon/ionicons/index.d.ts",
250
+ "esm2022": "./esm2022/components/icon/ionicons/sixbell-telco-sdk-components-icon-ionicons.mjs",
251
+ "esm": "./esm2022/components/icon/ionicons/sixbell-telco-sdk-components-icon-ionicons.mjs",
252
+ "default": "./fesm2022/sixbell-telco-sdk-components-icon-ionicons.mjs"
253
+ },
254
+ "./components/forms/textarea": {
255
+ "types": "./components/forms/textarea/index.d.ts",
256
+ "esm2022": "./esm2022/components/forms/textarea/sixbell-telco-sdk-components-forms-textarea.mjs",
257
+ "esm": "./esm2022/components/forms/textarea/sixbell-telco-sdk-components-forms-textarea.mjs",
258
+ "default": "./fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs"
259
+ },
248
260
  "./utils/generators/uuid": {
249
261
  "types": "./utils/generators/uuid/index.d.ts",
250
262
  "esm2022": "./esm2022/utils/generators/uuid/sixbell-telco-sdk-utils-generators-uuid.mjs",
@@ -257,17 +269,29 @@
257
269
  "esm": "./esm2022/utils/pipes/extract-extension/sixbell-telco-sdk-utils-pipes-extract-extension.mjs",
258
270
  "default": "./fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs"
259
271
  },
272
+ "./utils/pipes/time": {
273
+ "types": "./utils/pipes/time/index.d.ts",
274
+ "esm2022": "./esm2022/utils/pipes/time/sixbell-telco-sdk-utils-pipes-time.mjs",
275
+ "esm": "./esm2022/utils/pipes/time/sixbell-telco-sdk-utils-pipes-time.mjs",
276
+ "default": "./fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs"
277
+ },
260
278
  "./utils/pipes/to-bytes-extesion": {
261
279
  "types": "./utils/pipes/to-bytes-extesion/index.d.ts",
262
280
  "esm2022": "./esm2022/utils/pipes/to-bytes-extesion/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs",
263
281
  "esm": "./esm2022/utils/pipes/to-bytes-extesion/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs",
264
282
  "default": "./fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs"
265
283
  },
266
- "./components/icon/material/baseline": {
267
- "types": "./components/icon/material/baseline/index.d.ts",
268
- "esm2022": "./esm2022/components/icon/material/baseline/sixbell-telco-sdk-components-icon-material-baseline.mjs",
269
- "esm": "./esm2022/components/icon/material/baseline/sixbell-telco-sdk-components-icon-material-baseline.mjs",
270
- "default": "./fesm2022/sixbell-telco-sdk-components-icon-material-baseline.mjs"
284
+ "./components/icon/heroicons/mini": {
285
+ "types": "./components/icon/heroicons/mini/index.d.ts",
286
+ "esm2022": "./esm2022/components/icon/heroicons/mini/sixbell-telco-sdk-components-icon-heroicons-mini.mjs",
287
+ "esm": "./esm2022/components/icon/heroicons/mini/sixbell-telco-sdk-components-icon-heroicons-mini.mjs",
288
+ "default": "./fesm2022/sixbell-telco-sdk-components-icon-heroicons-mini.mjs"
289
+ },
290
+ "./components/icon/heroicons/solid": {
291
+ "types": "./components/icon/heroicons/solid/index.d.ts",
292
+ "esm2022": "./esm2022/components/icon/heroicons/solid/sixbell-telco-sdk-components-icon-heroicons-solid.mjs",
293
+ "esm": "./esm2022/components/icon/heroicons/solid/sixbell-telco-sdk-components-icon-heroicons-solid.mjs",
294
+ "default": "./fesm2022/sixbell-telco-sdk-components-icon-heroicons-solid.mjs"
271
295
  },
272
296
  "./components/icon/material/outline": {
273
297
  "types": "./components/icon/material/outline/index.d.ts",
@@ -275,6 +299,18 @@
275
299
  "esm": "./esm2022/components/icon/material/outline/sixbell-telco-sdk-components-icon-material-outline.mjs",
276
300
  "default": "./fesm2022/sixbell-telco-sdk-components-icon-material-outline.mjs"
277
301
  },
302
+ "./components/icon/material/baseline": {
303
+ "types": "./components/icon/material/baseline/index.d.ts",
304
+ "esm2022": "./esm2022/components/icon/material/baseline/sixbell-telco-sdk-components-icon-material-baseline.mjs",
305
+ "esm": "./esm2022/components/icon/material/baseline/sixbell-telco-sdk-components-icon-material-baseline.mjs",
306
+ "default": "./fesm2022/sixbell-telco-sdk-components-icon-material-baseline.mjs"
307
+ },
308
+ "./components/icon/heroicons/outline": {
309
+ "types": "./components/icon/heroicons/outline/index.d.ts",
310
+ "esm2022": "./esm2022/components/icon/heroicons/outline/sixbell-telco-sdk-components-icon-heroicons-outline.mjs",
311
+ "esm": "./esm2022/components/icon/heroicons/outline/sixbell-telco-sdk-components-icon-heroicons-outline.mjs",
312
+ "default": "./fesm2022/sixbell-telco-sdk-components-icon-heroicons-outline.mjs"
313
+ },
278
314
  "./components/icon/material/round": {
279
315
  "types": "./components/icon/material/round/index.d.ts",
280
316
  "esm2022": "./esm2022/components/icon/material/round/sixbell-telco-sdk-components-icon-material-round.mjs",
@@ -305,7 +341,10 @@
305
341
  "dayjs": "~1.11.13",
306
342
  "uuid": "~11.0.3",
307
343
  "@ng-icons/core": "~29.10.0",
308
- "@ng-icons/material-icons": "~29.10.0"
344
+ "@ng-icons/material-icons": "~29.10.0",
345
+ "@ng-icons/ionicons": "~30.2.0",
346
+ "@ng-icons/heroicons": "~30.2.0",
347
+ "tailwind-scrollbar": "~3.1.0"
309
348
  },
310
349
  "sideEffects": false,
311
350
  "module": "fesm2022/sixbell-telco-sdk.mjs",
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@sixbell-telco/sdk/utils/pipes/time" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './src/time.pipe';
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TimePipe implements PipeTransform {
4
+ transform(value: number): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TimePipe, "time", true>;
7
+ }