@sixbell-telco/sdk 3.1.0 → 3.2.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 (197) hide show
  1. package/CHANGELOG.md +121 -16
  2. package/README.md +76 -58
  3. package/_index.css +297 -122
  4. package/components/accordion/README.md +20 -0
  5. package/components/audio-player/README.md +18 -0
  6. package/components/avatar/README.md +17 -0
  7. package/components/badge/README.md +17 -0
  8. package/components/badge/src/badge.component.d.ts +3 -3
  9. package/components/button/README.md +18 -0
  10. package/components/button/src/button.component.d.ts +2 -2
  11. package/components/card/README.md +36 -0
  12. package/components/countdown/README.md +18 -0
  13. package/components/data-table/README.md +31 -0
  14. package/components/data-table/src/data-table.component.d.ts +6 -1
  15. package/components/dialog/README.md +24 -0
  16. package/components/dialog/src/dialog.component.d.ts +4 -1
  17. package/components/divider/README.md +17 -0
  18. package/components/dropdown/README.md +25 -0
  19. package/components/dropdown/dropdown-chevron/dropdown-chevron.component.d.ts +3 -2
  20. package/components/dropdown/dropdown-item-radio/dropdown-item-radio.component.d.ts +4 -0
  21. package/components/dropdown/dropdown-trigger/dropdown-trigger.component.d.ts +2 -0
  22. package/components/dropdown-menu/README.md +24 -0
  23. package/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.d.ts +4 -0
  24. package/components/dual-list/README.md +17 -0
  25. package/components/file-upload/README.md +17 -0
  26. package/components/file-upload/file-uploader/file-uploader.component.d.ts +1 -1
  27. package/components/forms/checkbox/README.md +17 -0
  28. package/components/forms/checkbox/src/checkbox.component.d.ts +2 -2
  29. package/components/forms/combobox/README.md +26 -0
  30. package/components/forms/combobox/src/combobox.component.d.ts +16 -4
  31. package/components/forms/date-picker/README.md +27 -0
  32. package/components/forms/date-picker/src/date-picker.component.d.ts +8 -1
  33. package/components/forms/form-error/README.md +21 -0
  34. package/components/forms/form-group/src/form-group.component.d.ts +27 -38
  35. package/components/forms/input/README.md +18 -0
  36. package/components/forms/input/src/input.component.d.ts +2 -2
  37. package/components/forms/radio/README.md +14 -0
  38. package/components/forms/radio/src/radio.component.d.ts +2 -2
  39. package/components/forms/range/README.md +13 -0
  40. package/components/forms/range/src/range.component.d.ts +2 -2
  41. package/components/forms/select/README.md +18 -0
  42. package/components/forms/select/src/select.component.d.ts +15 -4
  43. package/components/forms/switch/README.md +13 -0
  44. package/components/forms/switch/src/switch.component.d.ts +2 -2
  45. package/components/forms/textarea/README.md +17 -0
  46. package/components/forms/textarea/src/textarea.component.d.ts +2 -2
  47. package/components/forms/toggle/README.md +13 -0
  48. package/components/forms/toggle/src/toggle.component.d.ts +5 -36
  49. package/components/icon/README.md +18 -0
  50. package/components/link/README.md +17 -0
  51. package/components/link/src/link.component.d.ts +2 -2
  52. package/components/notification/README.md +13 -0
  53. package/components/notification/src/notification.component.d.ts +3 -3
  54. package/components/overlay/README.md +33 -0
  55. package/components/overlay/overlay-trigger/overlay-trigger.component.d.ts +3 -0
  56. package/components/overlay/src/overlay.component.d.ts +34 -0
  57. package/components/paginator/README.md +17 -0
  58. package/components/product-card/README.md +13 -0
  59. package/components/progress/README.md +17 -0
  60. package/components/progress/src/progress.component.d.ts +3 -3
  61. package/components/sonner/README.md +23 -0
  62. package/components/sonner/src/sonner.component.d.ts +2 -2
  63. package/components/tab/README.md +17 -0
  64. package/components/table/README.md +20 -0
  65. package/components/table/src/table.component.d.ts +6 -1
  66. package/components/table/table-action/table-action.component.d.ts +26 -3
  67. package/components/text/README.md +14 -0
  68. package/components/tooltip/README.md +29 -0
  69. package/components/tooltip/src/tooltip.component.d.ts +64 -4
  70. package/components/wizard/README.md +25 -0
  71. package/components/wizard/services/wizard.service.d.ts +1 -0
  72. package/components/wizard/wizard-content/wizard-content.component.d.ts +1 -1
  73. package/components/wizard/wizard-marker/wizard-marker.component.d.ts +2 -0
  74. package/components/wizard/wizard-sub-step/wizard-sub-step.component.d.ts +1 -1
  75. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +6 -6
  76. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
  77. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +24 -24
  78. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
  79. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +4 -4
  80. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  81. package/fesm2022/sixbell-telco-sdk-components-badge.mjs +6 -5
  82. package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
  83. package/fesm2022/sixbell-telco-sdk-components-button.mjs +6 -6
  84. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  85. package/fesm2022/sixbell-telco-sdk-components-card.mjs +42 -42
  86. package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
  87. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +4 -4
  88. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
  89. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs +3 -3
  90. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs.map +1 -1
  91. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +40 -34
  92. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
  93. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +21 -18
  94. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
  95. package/fesm2022/sixbell-telco-sdk-components-divider.mjs +3 -3
  96. package/fesm2022/sixbell-telco-sdk-components-divider.mjs.map +1 -1
  97. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +36 -30
  98. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
  99. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs +3 -3
  100. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs.map +1 -1
  101. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +46 -46
  102. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
  103. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +49 -40
  104. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  105. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +3 -3
  106. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  107. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +11 -11
  108. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
  109. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +7 -6
  110. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
  111. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +95 -26
  112. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  113. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +31 -9
  114. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
  115. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +3 -3
  116. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
  117. package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs +30 -41
  118. package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs.map +1 -1
  119. package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs +3 -3
  120. package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs.map +1 -1
  121. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +11 -10
  122. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  123. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +7 -6
  124. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
  125. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +7 -6
  126. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
  127. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +56 -24
  128. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  129. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +7 -6
  130. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
  131. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +9 -7
  132. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  133. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +102 -156
  134. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
  135. package/fesm2022/sixbell-telco-sdk-components-icon.mjs +3 -3
  136. package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
  137. package/fesm2022/sixbell-telco-sdk-components-link.mjs +5 -4
  138. package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
  139. package/fesm2022/sixbell-telco-sdk-components-notification.mjs +26 -5
  140. package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
  141. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs +319 -30
  142. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -1
  143. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +38 -28
  144. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  145. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +12 -12
  146. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
  147. package/fesm2022/sixbell-telco-sdk-components-progress.mjs +6 -5
  148. package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
  149. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs +8 -8
  150. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs.map +1 -1
  151. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs +10 -10
  152. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs.map +1 -1
  153. package/fesm2022/sixbell-telco-sdk-components-tab.mjs +9 -9
  154. package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
  155. package/fesm2022/sixbell-telco-sdk-components-table.mjs +56 -24
  156. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  157. package/fesm2022/sixbell-telco-sdk-components-text.mjs +3 -3
  158. package/fesm2022/sixbell-telco-sdk-components-text.mjs.map +1 -1
  159. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +369 -13
  160. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
  161. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +81 -61
  162. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
  163. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +3 -3
  164. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -1
  165. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +3 -3
  166. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -1
  167. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +3 -3
  168. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
  169. package/fesm2022/sixbell-telco-sdk-directives-text.mjs +3 -3
  170. package/fesm2022/sixbell-telco-sdk-directives-text.mjs.map +1 -1
  171. package/fesm2022/sixbell-telco-sdk-utils-cn.mjs.map +1 -1
  172. package/fesm2022/sixbell-telco-sdk-utils-date.mjs.map +1 -1
  173. package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs +15 -15
  174. package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs.map +1 -1
  175. package/fesm2022/sixbell-telco-sdk-utils-logger.mjs +3 -3
  176. package/fesm2022/sixbell-telco-sdk-utils-logger.mjs.map +1 -1
  177. package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs +3 -3
  178. package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs.map +1 -1
  179. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs +3 -3
  180. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs.map +1 -1
  181. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs +3 -3
  182. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs.map +1 -1
  183. package/fesm2022/sixbell-telco-sdk-utils-runtime-config.mjs.map +1 -1
  184. package/fesm2022/sixbell-telco-sdk-utils-sync.mjs.map +1 -1
  185. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +299 -160
  186. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
  187. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +12 -12
  188. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
  189. package/package.json +96 -91
  190. package/utils/runtime-config/README.md +1 -1
  191. package/utils/theme/README.md +34 -19
  192. package/utils/theme/public-api.d.ts +2 -2
  193. package/utils/theme/src/constants.d.ts +6 -6
  194. package/utils/theme/src/models/theme.d.ts +14 -6
  195. package/utils/theme/src/theme-assets/theme-assets.service.d.ts +1 -1
  196. package/utils/theme/src/theme-dom/theme-dom.service.d.ts +6 -1
  197. package/utils/theme/src/utils/utils.d.ts +9 -3
@@ -19,6 +19,7 @@ const WIZARD_STEP_STATUS = {
19
19
  IN_PROGRESS: 'in progress',
20
20
  PENDING: 'pending',
21
21
  COMPLETED: 'completed',
22
+ ERROR: 'error',
22
23
  };
23
24
  /**
24
25
  * Service for managing wizard state and navigation
@@ -310,10 +311,10 @@ class WizardService {
310
311
  this._lastStepIndex.set(0);
311
312
  this._isTransitioning.set(false);
312
313
  }
313
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
314
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardService, providedIn: 'root' });
314
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
315
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardService, providedIn: 'root' });
315
316
  }
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardService, decorators: [{
317
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardService, decorators: [{
317
318
  type: Injectable,
318
319
  args: [{
319
320
  providedIn: 'root',
@@ -324,16 +325,16 @@ class WizardActionsComponent {
324
325
  // Base table properties
325
326
  alignment = input('left');
326
327
  componentClass = computed(() => {
327
- return cn('flex flex-w items-center gap-2 text-pretty font-body leading-normal', {
328
+ return cn('flex-w font-body flex items-center gap-2 leading-normal text-pretty', {
328
329
  'justify-start': this.alignment() === 'left',
329
330
  'justify-end': this.alignment() === 'right',
330
331
  'justify-center': this.alignment() === 'center',
331
332
  });
332
333
  });
333
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
334
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: WizardActionsComponent, isStandalone: true, selector: "st-wizard-actions", inputs: { alignment: { classPropertyName: "alignment", publicName: "alignment", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"componentClass()\">\n\t<ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
334
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
335
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: WizardActionsComponent, isStandalone: true, selector: "st-wizard-actions", inputs: { alignment: { classPropertyName: "alignment", publicName: "alignment", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"componentClass()\">\n\t<ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
335
336
  }
336
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardActionsComponent, decorators: [{
337
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardActionsComponent, decorators: [{
337
338
  type: Component,
338
339
  args: [{ selector: 'st-wizard-actions', imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"componentClass()\">\n\t<ng-content></ng-content>\n</div>\n" }]
339
340
  }] });
@@ -399,7 +400,7 @@ class WizardContentComponent {
399
400
  * @returns {string} Animation classes
400
401
  * @internal
401
402
  */
402
- componentClass = computed(() => cn('animate-fade-in animate-duration-300 text-pretty font-body leading-normal'));
403
+ componentClass = computed(() => cn('animate-fade-in animate-duration-300 font-body leading-normal text-pretty'));
403
404
  /**
404
405
  * Sets up validation state synchronization
405
406
  * @remarks Uses takeUntilDestroyed for automatic cleanup
@@ -409,10 +410,10 @@ class WizardContentComponent {
409
410
  this.wizardService.updateStepIsValid(this.stepIndex(), isValid);
410
411
  });
411
412
  }
412
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
413
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: WizardContentComponent, isStandalone: true, selector: "st-wizard-content", inputs: { stepIndex: { classPropertyName: "stepIndex", publicName: "stepIndex", isSignal: true, isRequired: false, transformFunction: null }, isValid: { classPropertyName: "isValid", publicName: "isValid", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (this.isStepActive()) {\n\t<div [class]=\"componentClass()\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n" });
413
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
414
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: WizardContentComponent, isStandalone: true, selector: "st-wizard-content", inputs: { stepIndex: { classPropertyName: "stepIndex", publicName: "stepIndex", isSignal: true, isRequired: false, transformFunction: null }, isValid: { classPropertyName: "isValid", publicName: "isValid", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (this.isStepActive()) {\n\t<div [class]=\"componentClass()\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n" });
414
415
  }
415
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardContentComponent, decorators: [{
416
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardContentComponent, decorators: [{
416
417
  type: Component,
417
418
  args: [{ selector: 'st-wizard-content', imports: [], template: "@if (this.isStepActive()) {\n\t<div [class]=\"componentClass()\">\n\t\t<ng-content></ng-content>\n\t</div>\n}\n" }]
418
419
  }], ctorParameters: () => [] });
@@ -464,13 +465,16 @@ class WizardMarkerComponent {
464
465
  inProgress = signal('in progress');
465
466
  /** @internal Signal holding translated "pending" text */
466
467
  pending = signal('pending');
468
+ /** @internal Signal holding translated "error" text */
469
+ error = signal('error');
467
470
  /** @internal Base CSS classes for the marker */
468
- baseClasses = 'rounded-field transition-colors duration-300 ease-out delay-150 text-nowrap w-max';
471
+ baseClasses = 'rounded-selector transition-colors duration-300 ease-out delay-150 text-nowrap w-max';
469
472
  /** @internal Status-to-class mapping */
470
473
  statusClassMap = {
471
- completed: 'bg-primary/20 text-primary px-3 py-[5px]',
472
- 'in progress': 'bg-neutral text-neutral-content border-[2px] border-neutral px-[10px] py-[3px]',
473
- pending: 'bg-neutral/20 text-neutral-content/20 border-[2px] border-neutral px-[10px] py-[3px]',
474
+ completed: 'bg-success/20 text-success border-[2px] border-success px-3 py-[5px]',
475
+ 'in progress': 'bg-primary text-primary-content border-[2px] border-primary px-[10px] py-[3px]',
476
+ pending: 'bg-base-200 text-base-content border-[2px] border-base-300 px-[10px] py-[3px]',
477
+ error: 'bg-error/20 text-error border-[2px] border-error px-[10px] py-[3px]',
474
478
  };
475
479
  /**
476
480
  * Initializes component translations
@@ -485,7 +489,13 @@ class WizardMarkerComponent {
485
489
  * @internal
486
490
  */
487
491
  getStatusMarkerMessage() {
488
- return this.status() === 'completed' ? this.completed() : this.status() === 'in progress' ? this.inProgress() : this.pending();
492
+ if (this.status() === 'completed')
493
+ return this.completed();
494
+ if (this.status() === 'in progress')
495
+ return this.inProgress();
496
+ if (this.status() === 'error')
497
+ return this.error();
498
+ return this.pending();
489
499
  }
490
500
  /**
491
501
  * Computes CSS classes based on current status
@@ -513,11 +523,14 @@ class WizardMarkerComponent {
513
523
  this.translateService.get(_('sdk.wizard.wizardMarker.pending')).subscribe((res) => {
514
524
  this.pending.set(res);
515
525
  });
526
+ this.translateService.get(_('sdk.wizard.wizardMarker.error')).subscribe((res) => {
527
+ this.error.set(res);
528
+ });
516
529
  }
517
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardMarkerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
518
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: WizardMarkerComponent, isStandalone: true, selector: "st-wizard-marker", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"statusMarkerClasses()\">\n\t<span stText=\"10\" stTextWeight=\"medium\">{{ statusMarkerMessage() }}</span>\n</div>\n", dependencies: [{ kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
530
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardMarkerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
531
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: WizardMarkerComponent, isStandalone: true, selector: "st-wizard-marker", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"statusMarkerClasses()\">\n\t<span stText=\"10\" stTextWeight=\"medium\">{{ statusMarkerMessage() }}</span>\n</div>\n", dependencies: [{ kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
519
532
  }
520
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardMarkerComponent, decorators: [{
533
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardMarkerComponent, decorators: [{
521
534
  type: Component,
522
535
  args: [{ selector: 'st-wizard-marker', imports: [TextDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"statusMarkerClasses()\">\n\t<span stText=\"10\" stTextWeight=\"medium\">{{ statusMarkerMessage() }}</span>\n</div>\n" }]
523
536
  }] });
@@ -579,27 +592,24 @@ class WizardStepComponent {
579
592
  * @internal
580
593
  */
581
594
  stepClasses = computed(() => {
582
- // Base classes
583
595
  const baseOuterClasses = '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';
584
- const baseInnerClasses = 'flex h-full w-full items-center justify-center rounded-full bg-secondary';
585
- // State variables
586
- const isCurrentStep = this.wizardService.currentStepIndex() === this.stepIndex();
596
+ const baseInnerClasses = 'flex h-full w-full items-center justify-center rounded-full';
587
597
  const currentStatus = this.status();
588
598
  const isCompleted = currentStatus === 'completed';
589
599
  const isInProgress = currentStatus === 'in progress';
590
- // Conditions
591
- const isCurrentActive = isCurrentStep && (isInProgress || isCompleted);
592
- const isCompletedNotCurrent = !isCurrentStep && isCompleted;
593
- const isPendingNotCurrent = !isCurrentStep && currentStatus === 'pending';
600
+ const isPending = currentStatus === 'pending';
601
+ const isError = currentStatus === 'error';
594
602
  const outerClasses = cn(baseOuterClasses, {
595
- 'border-primary currentStep transition-colors duration-300 ease-out': isCurrentActive,
596
- 'border-primary notCurrentStep transition-colors duration-300 ease-out': isCompletedNotCurrent,
597
- 'border-secondary notCurrentStep transition-colors delay-[300ms] duration-300 ease-out': isPendingNotCurrent,
603
+ 'border-primary currentStep transition-colors duration-300 ease-out': isInProgress,
604
+ 'border-success notCurrentStep transition-colors duration-300 ease-out': isCompleted,
605
+ 'border-error notCurrentStep transition-colors duration-300 ease-out': isError,
606
+ 'border-base-300 notCurrentStep transition-colors delay-[300ms] duration-300 ease-out': isPending,
598
607
  });
599
608
  const innerClasses = cn(baseInnerClasses, {
600
- 'bg-primary text-primary-content currentStep transition-colors duration-300 ease-out': isCurrentActive,
601
- 'bg-primary text-primary-content notCurrentStep transition-colors duration-300 ease-out': isCompletedNotCurrent,
602
- 'bg-secondary text-secondary-content notCurrentStep transition-colors delay-[300ms] duration-300 ease-out': isPendingNotCurrent,
609
+ 'bg-primary text-primary-content currentStep transition-colors duration-300 ease-out': isInProgress,
610
+ 'bg-success text-success-content notCurrentStep transition-colors duration-300 ease-out': isCompleted,
611
+ 'bg-error text-error-content notCurrentStep transition-colors duration-300 ease-out': isError,
612
+ 'bg-base-200 text-base-content notCurrentStep transition-colors delay-[300ms] duration-300 ease-out': isPending,
603
613
  });
604
614
  return { outerClasses, innerClasses };
605
615
  });
@@ -613,8 +623,8 @@ class WizardStepComponent {
613
623
  */
614
624
  stepNumberClasses = computed(() => {
615
625
  const isCompleted = this.status() === 'completed';
616
- return cn({
617
- 'hidden opacity-0': isCompleted,
626
+ return cn('col-start-1 row-start-1 grid place-items-center leading-none', {
627
+ 'invisible opacity-0': isCompleted,
618
628
  'animate-fade-in animate-duration-300 opacity-100 delay-[350ms]': !isCompleted,
619
629
  });
620
630
  });
@@ -628,17 +638,17 @@ class WizardStepComponent {
628
638
  */
629
639
  stepIconClasses = computed(() => {
630
640
  const isCompleted = this.status() === 'completed';
631
- return cn({
641
+ return cn('col-start-1 row-start-1 grid place-items-center leading-none', {
632
642
  'animate-fade-in animate-duration-300 opacity-100 delay-[350ms]': isCompleted,
633
- 'hidden opacity-0': !isCompleted,
643
+ 'invisible opacity-0': !isCompleted,
634
644
  });
635
645
  });
636
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
637
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: WizardStepComponent, isStandalone: true, selector: "st-wizard-step", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null }, stepIndex: { classPropertyName: "stepIndex", publicName: "stepIndex", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"stepClasses().outerClasses\">\n\t<div [class]=\"stepClasses().innerClasses\">\n\t\t<div [class]=\"stepNumberClasses()\">\n\t\t\t@let iconVar = icon();\n\t\t\t@if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t} @else {\n\t\t\t\t<span stText=\"7\" stTextColor=\"base\" stTextWeight=\"semibold\">\n\t\t\t\t\t{{ stepIndex() + 1 }}\n\t\t\t\t</span>\n\t\t\t}\n\t\t</div>\n\t\t<div [class]=\"stepIconClasses()\">\n\t\t\t<st-icon [icon]=\"iconCheck\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t</div>\n\t</div>\n</div>\n", dependencies: [{ kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
646
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
647
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: WizardStepComponent, isStandalone: true, selector: "st-wizard-step", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null }, stepIndex: { classPropertyName: "stepIndex", publicName: "stepIndex", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"stepClasses().outerClasses\">\n\t<div [class]=\"stepClasses().innerClasses\">\n\t\t<div class=\"wizard-step-overlay grid h-full w-full place-items-center\">\n\t\t\t<div [class]=\"stepNumberClasses()\">\n\t\t\t\t@let iconVar = icon();\n\t\t\t\t@if (iconVar) {\n\t\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t\t} @else {\n\t\t\t\t\t<span stText=\"7\" stTextColor=\"base\" stTextWeight=\"semibold\">\n\t\t\t\t\t\t{{ stepIndex() + 1 }}\n\t\t\t\t\t</span>\n\t\t\t\t}\n\t\t\t</div>\n\t\t\t<div [class]=\"stepIconClasses()\">\n\t\t\t\t<st-icon [icon]=\"iconCheck\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n", dependencies: [{ kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
638
648
  }
639
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardStepComponent, decorators: [{
649
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardStepComponent, decorators: [{
640
650
  type: Component,
641
- args: [{ selector: 'st-wizard-step', imports: [TextDirective, IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"stepClasses().outerClasses\">\n\t<div [class]=\"stepClasses().innerClasses\">\n\t\t<div [class]=\"stepNumberClasses()\">\n\t\t\t@let iconVar = icon();\n\t\t\t@if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t} @else {\n\t\t\t\t<span stText=\"7\" stTextColor=\"base\" stTextWeight=\"semibold\">\n\t\t\t\t\t{{ stepIndex() + 1 }}\n\t\t\t\t</span>\n\t\t\t}\n\t\t</div>\n\t\t<div [class]=\"stepIconClasses()\">\n\t\t\t<st-icon [icon]=\"iconCheck\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t</div>\n\t</div>\n</div>\n" }]
651
+ args: [{ selector: 'st-wizard-step', imports: [TextDirective, IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"stepClasses().outerClasses\">\n\t<div [class]=\"stepClasses().innerClasses\">\n\t\t<div class=\"wizard-step-overlay grid h-full w-full place-items-center\">\n\t\t\t<div [class]=\"stepNumberClasses()\">\n\t\t\t\t@let iconVar = icon();\n\t\t\t\t@if (iconVar) {\n\t\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t\t} @else {\n\t\t\t\t\t<span stText=\"7\" stTextColor=\"base\" stTextWeight=\"semibold\">\n\t\t\t\t\t\t{{ stepIndex() + 1 }}\n\t\t\t\t\t</span>\n\t\t\t\t}\n\t\t\t</div>\n\t\t\t<div [class]=\"stepIconClasses()\">\n\t\t\t\t<st-icon [icon]=\"iconCheck\" color=\"inherit\" size=\"md\"></st-icon>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n" }]
642
652
  }] });
643
653
 
644
654
  /**
@@ -698,8 +708,9 @@ class WizardSubStepComponent {
698
708
  horizontalLeftClasses = computed(() => {
699
709
  const isCompleted = this.stepStatus() === 'completed';
700
710
  const isInProgress = this.stepStatus() === 'in progress';
701
- const afterWidthClass = isCompleted || (this.isCurrentStep() && isInProgress) ? 'after:w-full' : 'after:w-0';
702
- return cn('h-[2px] w-full bg-secondary relative', 'after:absolute after:left-0 after:bottom-0 after:bg-primary after:h-[2px]', 'after:transition-[width] after:duration-300 after:ease-out', afterWidthClass);
711
+ const isError = this.stepStatus() === 'error';
712
+ const afterWidthClass = isCompleted || isError || (this.isCurrentStep() && isInProgress) ? 'after:w-full' : 'after:w-0';
713
+ return cn('bg-secondary relative h-[2px] w-full', 'after:absolute after:bottom-0 after:left-0 after:h-[2px]', isCompleted ? 'after:bg-success' : isError ? 'after:bg-error' : 'after:bg-primary', 'after:transition-[width] after:duration-300 after:ease-out', afterWidthClass);
703
714
  });
704
715
  /**
705
716
  * Computed classes for horizontal center indicator
@@ -707,8 +718,11 @@ class WizardSubStepComponent {
707
718
  * @internal
708
719
  */
709
720
  horizontalCenterClasses = computed(() => {
710
- const isPrimaryBg = (this.isCurrentStep() && this.stepStatus() !== 'pending') || (!this.isCurrentStep() && this.stepStatus() === 'completed');
711
- return cn('h-3 min-h-3 w-3 min-w-3 rounded-full', 'transition-colors duration-300 ease-out', isPrimaryBg ? 'bg-primary' : 'bg-secondary', isPrimaryBg && !this.isCurrentStep() ? '' : 'delay-300');
721
+ const isCompleted = this.stepStatus() === 'completed';
722
+ const isInProgress = this.stepStatus() === 'in progress';
723
+ const isError = this.stepStatus() === 'error';
724
+ const isPrimaryBg = (this.isCurrentStep() && isInProgress) || (!this.isCurrentStep() && isCompleted);
725
+ return cn('h-3 min-h-3 w-3 min-w-3 rounded-full', 'transition-colors duration-300 ease-out', isCompleted ? 'bg-success' : isError ? 'bg-error' : isPrimaryBg ? 'bg-primary' : 'bg-secondary', isPrimaryBg && !this.isCurrentStep() ? '' : 'delay-300');
712
726
  });
713
727
  /**
714
728
  * Computed classes for horizontal right connector segment
@@ -717,8 +731,9 @@ class WizardSubStepComponent {
717
731
  */
718
732
  horizontalRightClasses = computed(() => {
719
733
  const isCompleted = this.stepStatus() === 'completed';
720
- const afterWidthClass = isCompleted ? 'after:w-full' : 'after:w-0';
721
- return cn('h-[2px] w-full bg-secondary relative', 'after:absolute after:left-0 after:bottom-0 after:bg-primary after:h-[2px]', 'after:transition-[width] after:duration-300 after:ease-out', afterWidthClass);
734
+ const isError = this.stepStatus() === 'error';
735
+ const afterWidthClass = isCompleted || isError ? 'after:w-full' : 'after:w-0';
736
+ return cn('bg-secondary relative h-[2px] w-full', 'after:absolute after:bottom-0 after:left-0 after:h-[2px]', isCompleted ? 'after:bg-success' : isError ? 'after:bg-error' : 'after:bg-primary', 'after:transition-[width] after:duration-300 after:ease-out', afterWidthClass);
722
737
  });
723
738
  /**
724
739
  * Computed classes for vertical left connector segment
@@ -728,8 +743,9 @@ class WizardSubStepComponent {
728
743
  verticalLeftClasses = computed(() => {
729
744
  const isCompleted = this.stepStatus() === 'completed';
730
745
  const isInProgress = this.stepStatus() === 'in progress';
731
- const afterHeightClass = isCompleted || (this.isCurrentStep() && isInProgress) ? 'after:h-full' : 'after:h-0';
732
- return cn('w-[2px] h-full bg-secondary relative rotate-180', 'after:absolute after:left-0 after:bottom-0 after:bg-primary after:w-[2px]', 'after:transition-[height] after:duration-300 after:ease-out', afterHeightClass);
746
+ const isError = this.stepStatus() === 'error';
747
+ const afterHeightClass = isCompleted || isError || (this.isCurrentStep() && isInProgress) ? 'after:h-full' : 'after:h-0';
748
+ return cn('bg-secondary relative h-full w-[2px] rotate-180', 'after:absolute after:bottom-0 after:left-0 after:w-[2px]', isCompleted ? 'after:bg-success' : isError ? 'after:bg-error' : 'after:bg-primary', 'after:transition-[height] after:duration-300 after:ease-out', afterHeightClass);
733
749
  });
734
750
  /**
735
751
  * Computed classes for vertical center indicator
@@ -737,8 +753,11 @@ class WizardSubStepComponent {
737
753
  * @internal
738
754
  */
739
755
  verticalCenterClasses = computed(() => {
740
- const isPrimaryBg = (this.isCurrentStep() && this.stepStatus() !== 'pending') || (!this.isCurrentStep() && this.stepStatus() === 'completed');
741
- return cn('h-3 min-h-3 w-3 min-w-3 rounded-full', 'transition-colors duration-300 ease-out', isPrimaryBg ? 'bg-primary' : 'bg-secondary', isPrimaryBg && !this.isCurrentStep() ? '' : 'delay-300');
756
+ const isCompleted = this.stepStatus() === 'completed';
757
+ const isInProgress = this.stepStatus() === 'in progress';
758
+ const isError = this.stepStatus() === 'error';
759
+ const isPrimaryBg = (this.isCurrentStep() && isInProgress) || (!this.isCurrentStep() && isCompleted);
760
+ return cn('h-3 min-h-3 w-3 min-w-3 rounded-full', 'transition-colors duration-300 ease-out', isCompleted ? 'bg-success' : isError ? 'bg-error' : isPrimaryBg ? 'bg-primary' : 'bg-secondary', isPrimaryBg && !this.isCurrentStep() ? '' : 'delay-300');
742
761
  });
743
762
  /**
744
763
  * Computed classes for vertical right connector segment
@@ -747,15 +766,16 @@ class WizardSubStepComponent {
747
766
  */
748
767
  verticalRightClasses = computed(() => {
749
768
  const isCompleted = this.stepStatus() === 'completed';
750
- const afterHeightClass = isCompleted ? 'after:h-full' : 'after:h-0';
751
- return cn('w-[2px] h-full bg-secondary relative rotate-180', 'after:absolute after:left-0 after:bottom-0 after:bg-primary after:w-[2px]', 'after:transition-[height] after:duration-300 after:ease-out', afterHeightClass);
769
+ const isError = this.stepStatus() === 'error';
770
+ const afterHeightClass = isCompleted || isError ? 'after:h-full' : 'after:h-0';
771
+ return cn('bg-secondary relative h-full w-[2px] rotate-180', 'after:absolute after:bottom-0 after:left-0 after:w-[2px]', isCompleted ? 'after:bg-success' : isError ? 'after:bg-error' : 'after:bg-primary', 'after:transition-[height] after:duration-300 after:ease-out', afterHeightClass);
752
772
  });
753
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardSubStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
754
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: WizardSubStepComponent, isStandalone: true, selector: "st-wizard-sub-step", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, stepIndex: { classPropertyName: "stepIndex", publicName: "stepIndex", isSignal: true, isRequired: true, transformFunction: null }, stepStatus: { classPropertyName: "stepStatus", publicName: "stepStatus", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@if (variant() === 'horizontal') {\n\t<div class=\"flex w-full min-w-full -translate-y-[18px] items-center\">\n\t\t<div [class]=\"horizontalLeftClasses()\"></div>\n\t\t<div [class]=\"horizontalCenterClasses()\"></div>\n\t\t<div [class]=\"horizontalRightClasses()\"></div>\n\t</div>\n} @else {\n\t<div class=\"flex h-20 min-h-20 w-fit translate-x-[18px] flex-col items-center\">\n\t\t<div [class]=\"verticalLeftClasses()\"></div>\n\t\t<div [class]=\"verticalCenterClasses()\"></div>\n\t\t<div [class]=\"verticalRightClasses()\"></div>\n\t</div>\n}\n" });
773
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardSubStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
774
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: WizardSubStepComponent, isStandalone: true, selector: "st-wizard-sub-step", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, stepIndex: { classPropertyName: "stepIndex", publicName: "stepIndex", isSignal: true, isRequired: true, transformFunction: null }, stepStatus: { classPropertyName: "stepStatus", publicName: "stepStatus", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@if (variant() === 'horizontal') {\n\t<div class=\"wizard-sub-step-horizontal flex w-full min-w-full -translate-y-[25px] items-center\">\n\t\t<div [class]=\"horizontalLeftClasses()\"></div>\n\t\t<div [class]=\"horizontalCenterClasses()\"></div>\n\t\t<div [class]=\"horizontalRightClasses()\"></div>\n\t</div>\n} @else {\n\t<div class=\"wizard-sub-step-vertical flex h-20 min-h-20 w-fit translate-x-[25px] flex-col items-center\">\n\t\t<div [class]=\"verticalLeftClasses()\"></div>\n\t\t<div [class]=\"verticalCenterClasses()\"></div>\n\t\t<div [class]=\"verticalRightClasses()\"></div>\n\t</div>\n}\n" });
755
775
  }
756
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardSubStepComponent, decorators: [{
776
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardSubStepComponent, decorators: [{
757
777
  type: Component,
758
- args: [{ selector: 'st-wizard-sub-step', imports: [], template: "@if (variant() === 'horizontal') {\n\t<div class=\"flex w-full min-w-full -translate-y-[18px] items-center\">\n\t\t<div [class]=\"horizontalLeftClasses()\"></div>\n\t\t<div [class]=\"horizontalCenterClasses()\"></div>\n\t\t<div [class]=\"horizontalRightClasses()\"></div>\n\t</div>\n} @else {\n\t<div class=\"flex h-20 min-h-20 w-fit translate-x-[18px] flex-col items-center\">\n\t\t<div [class]=\"verticalLeftClasses()\"></div>\n\t\t<div [class]=\"verticalCenterClasses()\"></div>\n\t\t<div [class]=\"verticalRightClasses()\"></div>\n\t</div>\n}\n" }]
778
+ args: [{ selector: 'st-wizard-sub-step', imports: [], template: "@if (variant() === 'horizontal') {\n\t<div class=\"wizard-sub-step-horizontal flex w-full min-w-full -translate-y-[25px] items-center\">\n\t\t<div [class]=\"horizontalLeftClasses()\"></div>\n\t\t<div [class]=\"horizontalCenterClasses()\"></div>\n\t\t<div [class]=\"horizontalRightClasses()\"></div>\n\t</div>\n} @else {\n\t<div class=\"wizard-sub-step-vertical flex h-20 min-h-20 w-fit translate-x-[25px] flex-col items-center\">\n\t\t<div [class]=\"verticalLeftClasses()\"></div>\n\t\t<div [class]=\"verticalCenterClasses()\"></div>\n\t\t<div [class]=\"verticalRightClasses()\"></div>\n\t</div>\n}\n" }]
759
779
  }] });
760
780
 
761
781
  /**
@@ -918,10 +938,10 @@ class WizardWrapperComponent {
918
938
  handleComplete() {
919
939
  this.complete.emit();
920
940
  }
921
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
922
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: WizardWrapperComponent, isStandalone: true, selector: "st-wizard", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, card: { classPropertyName: "card", publicName: "card", isSignal: true, isRequired: false, transformFunction: null }, showControls: { classPropertyName: "showControls", publicName: "showControls", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { back: "back", previous: "previous", next: "next", complete: "complete" }, queries: [{ propertyName: "contents", predicate: WizardContentComponent, isSignal: true }], ngImport: i0, template: "@let contentsVar = contents();\n@let varinatVar = variant();\n\n<div\n\t[class]=\"varinatVar === 'horizontal' ? 'flex flex-col gap-6' : 'flex gap-6'\"\n\t[ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() && varinatVar === 'horizontal' }\"\n>\n\t<!-- Steps -->\n\t@if (varinatVar === 'horizontal') {\n\t\t<ul class=\"mx-auto my-0 flex w-full max-w-[80%_40vw] min-w-fit gap-4 px-3.5 pt-6 md:px-4 lg:px-5\">\n\t\t\t@for (step of wizardService.steps(); track $index) {\n\t\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t\t<st-wizard-step [icon]=\"step.icon\" [stepIndex]=\"$index\" [status]=\"step.status\"></st-wizard-step>\n\t\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t\t<div class=\"flex min-w-min flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t\t<st-wizard-marker [status]=\"step.status\"></st-wizard-marker>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<st-wizard-sub-step [stepIndex]=\"$index\" [stepStatus]=\"step.status\"></st-wizard-sub-step>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"mt-1 w-[50px]\">\n\t\t\t\t\t\t<div class=\"relative flex max-w-fit flex-col items-center\">\n\t\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t\t<span stText=\"8\" stTextColor=\"base\" stTextWeight=\"medium\">{{ step.label }}</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"text-secondary relative -top-1 min-w-max\" stText=\"9\">\n\t\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.step' | translate: { index: $index + 1 } }}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t}\n\t\t</ul>\n\t} @else {\n\t\t<ul class=\"grid h-min max-h-min gap-4\" [ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() }\">\n\t\t\t@for (step of wizardService.steps(); track $index) {\n\t\t\t\t<li>\n\t\t\t\t\t<!-- step pogress -->\n\t\t\t\t\t<div class=\"grid grid-rows-[min-content_min-content] gap-4\">\n\t\t\t\t\t\t<div class=\"flex items-center gap-3\">\n\t\t\t\t\t\t\t<st-wizard-step [icon]=\"step.icon\" [stepIndex]=\"$index\" [status]=\"step.status\"></st-wizard-step>\n\t\t\t\t\t\t\t<!-- step info -->\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<div class=\"relative flex max-w-fit flex-col\">\n\t\t\t\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t\t\t\t<span stText=\"8\" stTextColor=\"base\" stTextWeight=\"medium\">{{ step.label }}</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<div class=\"text-neutral relative -top-1 min-w-max\" stText=\"9\">\n\t\t\t\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.step' | translate: { index: $index + 1 } }}\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t\t<div class=\"flex flex-col justify-center\">\n\t\t\t\t\t\t\t\t<st-wizard-sub-step variant=\"vertical\" [stepIndex]=\"$index\" [stepStatus]=\"step.status\"></st-wizard-sub-step>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t}\n\t\t</ul>\n\t}\n\n\t<div class=\"flex flex-1 flex-col gap-6\" [ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() && varinatVar === 'vertical' }\">\n\t\t<!-- Content -->\n\t\t<div>\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\n\t\t<!-- Actions -->\n\t\t@if (this.showControls()) {\n\t\t\t<div class=\"flex items-center gap-3\">\n\t\t\t\t@if (wizardService.isCurrentStepFirst()) {\n\t\t\t\t\t<st-button variant=\"secondary\" [outline]=\"true\" [icon]=\"iconReturn\" (click)=\"handleBack()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.back' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t} @else {\n\t\t\t\t\t<st-button [icon]=\"iconChevronLeft\" variant=\"secondary\" [outline]=\"true\" (click)=\"handlePrevious()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.previous' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t}\n\t\t\t\t@if (wizardService.isCurrentStepLast()) {\n\t\t\t\t\t<st-button\n\t\t\t\t\t\t[disabled]=\"!wizardService.areAllStepsValid()\"\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t(click)=\"handleComplete()\"\n\t\t\t\t\t\t[disabled]=\"loading()\"\n\t\t\t\t\t\t[loader]=\"loading()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t@if (!loading()) {\n\t\t\t\t\t\t\t<st-icon [icon]=\"iconSave\"></st-icon>\n\n\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.end' | translate }}\n\t\t\t\t\t\t}\n\t\t\t\t\t</st-button>\n\t\t\t\t} @else {\n\t\t\t\t\t<st-button [icon]=\"iconChevronRight\" iconPosition=\"right\" [disabled]=\"!wizardService.currentStep().isValid\" (click)=\"handleNext()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.next' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t}\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<ng-content select=\"st-wizard-actions\"></ng-content>\n\t\t}\n\t</div>\n</div>\n", dependencies: [{ kind: "component", type: WizardStepComponent, selector: "st-wizard-step", inputs: ["icon", "status", "stepIndex"] }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "link", "soft", "dash", "wide", "circle", "square", "glass", "block", "loader", "size", "shadow", "focusable", "icon", "iconPosition", "type", "disabled", "stopPropagation"], outputs: ["clicked", "pointerDown", "keyDownEnter", "keyDownSpace", "triggered"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }, { kind: "component", type: WizardMarkerComponent, selector: "st-wizard-marker", inputs: ["status"] }, { kind: "component", type: WizardSubStepComponent, selector: "st-wizard-sub-step", inputs: ["variant", "stepIndex", "stepStatus"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }] });
941
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
942
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: WizardWrapperComponent, isStandalone: true, selector: "st-wizard", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, card: { classPropertyName: "card", publicName: "card", isSignal: true, isRequired: false, transformFunction: null }, showControls: { classPropertyName: "showControls", publicName: "showControls", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { back: "back", previous: "previous", next: "next", complete: "complete" }, queries: [{ propertyName: "contents", predicate: WizardContentComponent, isSignal: true }], ngImport: i0, template: "@let contentsVar = contents();\n@let varinatVar = variant();\n\n<div\n\t[class]=\"varinatVar === 'horizontal' ? 'flex flex-col gap-6' : 'flex gap-6'\"\n\t[ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() && varinatVar === 'horizontal' }\"\n>\n\t<!-- Steps -->\n\t@if (varinatVar === 'horizontal') {\n\t\t<ul class=\"mx-auto my-0 flex w-full max-w-[80%_40vw] min-w-fit gap-4 px-3.5 pt-6 md:px-4 lg:px-5\">\n\t\t\t@for (step of wizardService.steps(); track $index) {\n\t\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t\t<st-wizard-step [icon]=\"step.icon\" [stepIndex]=\"$index\" [status]=\"step.status\"></st-wizard-step>\n\t\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t\t<div class=\"flex min-w-min flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t\t<st-wizard-marker [status]=\"step.status\"></st-wizard-marker>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<st-wizard-sub-step [stepIndex]=\"$index\" [stepStatus]=\"step.status\"></st-wizard-sub-step>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"mt-1 w-[50px]\">\n\t\t\t\t\t\t<div class=\"relative flex max-w-fit flex-col items-center\">\n\t\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t\t<span stText=\"8\" stTextColor=\"base\" stTextWeight=\"medium\">{{ step.label }}</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"text-secondary relative -top-1 min-w-max\" stText=\"9\">\n\t\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.step' | translate: { index: $index + 1 } }}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t}\n\t\t</ul>\n\t} @else {\n\t\t<ul class=\"grid h-min max-h-min gap-4\" [ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() }\">\n\t\t\t@for (step of wizardService.steps(); track $index) {\n\t\t\t\t<li>\n\t\t\t\t\t<!-- step pogress -->\n\t\t\t\t\t<div class=\"grid grid-rows-[min-content_min-content] gap-4\">\n\t\t\t\t\t\t<div class=\"flex items-center gap-3\">\n\t\t\t\t\t\t\t<st-wizard-step [icon]=\"step.icon\" [stepIndex]=\"$index\" [status]=\"step.status\"></st-wizard-step>\n\t\t\t\t\t\t\t<!-- step info -->\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<div class=\"relative flex max-w-fit flex-col\">\n\t\t\t\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t\t\t\t<span stText=\"8\" stTextColor=\"base\" stTextWeight=\"medium\">{{ step.label }}</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<div class=\"text-neutral relative -top-1 min-w-max\" stText=\"9\">\n\t\t\t\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.step' | translate: { index: $index + 1 } }}\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t\t<div class=\"flex flex-col justify-center\">\n\t\t\t\t\t\t\t\t<st-wizard-sub-step variant=\"vertical\" [stepIndex]=\"$index\" [stepStatus]=\"step.status\"></st-wizard-sub-step>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t}\n\t\t</ul>\n\t}\n\n\t<div class=\"flex flex-1 flex-col gap-6\" [ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() && varinatVar === 'vertical' }\">\n\t\t<!-- Content -->\n\t\t<div>\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\n\t\t<!-- Actions -->\n\t\t@if (this.showControls()) {\n\t\t\t<div class=\"flex items-center gap-3\">\n\t\t\t\t@if (wizardService.isCurrentStepFirst()) {\n\t\t\t\t\t<st-button variant=\"secondary\" [outline]=\"true\" [icon]=\"iconReturn\" (click)=\"handleBack()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.back' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t} @else {\n\t\t\t\t\t<st-button [icon]=\"iconChevronLeft\" variant=\"secondary\" [outline]=\"true\" (click)=\"handlePrevious()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.previous' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t}\n\t\t\t\t@if (wizardService.isCurrentStepLast()) {\n\t\t\t\t\t<st-button\n\t\t\t\t\t\t[disabled]=\"!wizardService.areAllStepsValid()\"\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t(click)=\"handleComplete()\"\n\t\t\t\t\t\t[disabled]=\"loading()\"\n\t\t\t\t\t\t[loader]=\"loading()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t@if (!loading()) {\n\t\t\t\t\t\t\t<st-icon [icon]=\"iconSave\"></st-icon>\n\n\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.end' | translate }}\n\t\t\t\t\t\t}\n\t\t\t\t\t</st-button>\n\t\t\t\t} @else {\n\t\t\t\t\t<st-button\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t[icon]=\"iconChevronRight\"\n\t\t\t\t\t\ticonPosition=\"right\"\n\t\t\t\t\t\t[disabled]=\"!wizardService.currentStep().isValid\"\n\t\t\t\t\t\t(click)=\"handleNext()\"\n\t\t\t\t\t\t>{{ 'sdk.wizard.wizardWrapper.next' | translate }}</st-button\n\t\t\t\t\t>\n\t\t\t\t}\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<ng-content select=\"st-wizard-actions\"></ng-content>\n\t\t}\n\t</div>\n</div>\n", dependencies: [{ kind: "component", type: WizardStepComponent, selector: "st-wizard-step", inputs: ["icon", "status", "stepIndex"] }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "link", "soft", "dash", "wide", "circle", "square", "glass", "block", "loader", "size", "shadow", "focusable", "icon", "iconPosition", "type", "disabled", "stopPropagation"], outputs: ["clicked", "pointerDown", "keyDownEnter", "keyDownSpace", "triggered"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: TextDirective, selector: "[stText]", inputs: ["stText", "stTextWeight", "stTextColor", "stTextOverflow", "stTextLineClamp", "stTextClass"] }, { kind: "component", type: WizardMarkerComponent, selector: "st-wizard-marker", inputs: ["status"] }, { kind: "component", type: WizardSubStepComponent, selector: "st-wizard-sub-step", inputs: ["variant", "stepIndex", "stepStatus"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }] });
923
943
  }
924
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: WizardWrapperComponent, decorators: [{
944
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WizardWrapperComponent, decorators: [{
925
945
  type: Component,
926
946
  args: [{ selector: 'st-wizard', imports: [
927
947
  WizardStepComponent,
@@ -932,7 +952,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
932
952
  WizardSubStepComponent,
933
953
  TranslatePipe,
934
954
  IconComponent,
935
- ], template: "@let contentsVar = contents();\n@let varinatVar = variant();\n\n<div\n\t[class]=\"varinatVar === 'horizontal' ? 'flex flex-col gap-6' : 'flex gap-6'\"\n\t[ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() && varinatVar === 'horizontal' }\"\n>\n\t<!-- Steps -->\n\t@if (varinatVar === 'horizontal') {\n\t\t<ul class=\"mx-auto my-0 flex w-full max-w-[80%_40vw] min-w-fit gap-4 px-3.5 pt-6 md:px-4 lg:px-5\">\n\t\t\t@for (step of wizardService.steps(); track $index) {\n\t\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t\t<st-wizard-step [icon]=\"step.icon\" [stepIndex]=\"$index\" [status]=\"step.status\"></st-wizard-step>\n\t\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t\t<div class=\"flex min-w-min flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t\t<st-wizard-marker [status]=\"step.status\"></st-wizard-marker>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<st-wizard-sub-step [stepIndex]=\"$index\" [stepStatus]=\"step.status\"></st-wizard-sub-step>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"mt-1 w-[50px]\">\n\t\t\t\t\t\t<div class=\"relative flex max-w-fit flex-col items-center\">\n\t\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t\t<span stText=\"8\" stTextColor=\"base\" stTextWeight=\"medium\">{{ step.label }}</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"text-secondary relative -top-1 min-w-max\" stText=\"9\">\n\t\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.step' | translate: { index: $index + 1 } }}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t}\n\t\t</ul>\n\t} @else {\n\t\t<ul class=\"grid h-min max-h-min gap-4\" [ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() }\">\n\t\t\t@for (step of wizardService.steps(); track $index) {\n\t\t\t\t<li>\n\t\t\t\t\t<!-- step pogress -->\n\t\t\t\t\t<div class=\"grid grid-rows-[min-content_min-content] gap-4\">\n\t\t\t\t\t\t<div class=\"flex items-center gap-3\">\n\t\t\t\t\t\t\t<st-wizard-step [icon]=\"step.icon\" [stepIndex]=\"$index\" [status]=\"step.status\"></st-wizard-step>\n\t\t\t\t\t\t\t<!-- step info -->\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<div class=\"relative flex max-w-fit flex-col\">\n\t\t\t\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t\t\t\t<span stText=\"8\" stTextColor=\"base\" stTextWeight=\"medium\">{{ step.label }}</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<div class=\"text-neutral relative -top-1 min-w-max\" stText=\"9\">\n\t\t\t\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.step' | translate: { index: $index + 1 } }}\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t\t<div class=\"flex flex-col justify-center\">\n\t\t\t\t\t\t\t\t<st-wizard-sub-step variant=\"vertical\" [stepIndex]=\"$index\" [stepStatus]=\"step.status\"></st-wizard-sub-step>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t}\n\t\t</ul>\n\t}\n\n\t<div class=\"flex flex-1 flex-col gap-6\" [ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() && varinatVar === 'vertical' }\">\n\t\t<!-- Content -->\n\t\t<div>\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\n\t\t<!-- Actions -->\n\t\t@if (this.showControls()) {\n\t\t\t<div class=\"flex items-center gap-3\">\n\t\t\t\t@if (wizardService.isCurrentStepFirst()) {\n\t\t\t\t\t<st-button variant=\"secondary\" [outline]=\"true\" [icon]=\"iconReturn\" (click)=\"handleBack()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.back' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t} @else {\n\t\t\t\t\t<st-button [icon]=\"iconChevronLeft\" variant=\"secondary\" [outline]=\"true\" (click)=\"handlePrevious()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.previous' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t}\n\t\t\t\t@if (wizardService.isCurrentStepLast()) {\n\t\t\t\t\t<st-button\n\t\t\t\t\t\t[disabled]=\"!wizardService.areAllStepsValid()\"\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t(click)=\"handleComplete()\"\n\t\t\t\t\t\t[disabled]=\"loading()\"\n\t\t\t\t\t\t[loader]=\"loading()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t@if (!loading()) {\n\t\t\t\t\t\t\t<st-icon [icon]=\"iconSave\"></st-icon>\n\n\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.end' | translate }}\n\t\t\t\t\t\t}\n\t\t\t\t\t</st-button>\n\t\t\t\t} @else {\n\t\t\t\t\t<st-button [icon]=\"iconChevronRight\" iconPosition=\"right\" [disabled]=\"!wizardService.currentStep().isValid\" (click)=\"handleNext()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.next' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t}\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<ng-content select=\"st-wizard-actions\"></ng-content>\n\t\t}\n\t</div>\n</div>\n" }]
955
+ ], template: "@let contentsVar = contents();\n@let varinatVar = variant();\n\n<div\n\t[class]=\"varinatVar === 'horizontal' ? 'flex flex-col gap-6' : 'flex gap-6'\"\n\t[ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() && varinatVar === 'horizontal' }\"\n>\n\t<!-- Steps -->\n\t@if (varinatVar === 'horizontal') {\n\t\t<ul class=\"mx-auto my-0 flex w-full max-w-[80%_40vw] min-w-fit gap-4 px-3.5 pt-6 md:px-4 lg:px-5\">\n\t\t\t@for (step of wizardService.steps(); track $index) {\n\t\t\t\t<li [ngClass]=\"{ 'flex-1': contentsVar.length - 1 !== $index }\">\n\t\t\t\t\t<div class=\"flex items-center gap-4\">\n\t\t\t\t\t\t<st-wizard-step [icon]=\"step.icon\" [stepIndex]=\"$index\" [status]=\"step.status\"></st-wizard-step>\n\t\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t\t<div class=\"flex min-w-min flex-1 flex-col justify-center\">\n\t\t\t\t\t\t\t\t<div class=\"flex -translate-y-6 justify-center\">\n\t\t\t\t\t\t\t\t\t<st-wizard-marker [status]=\"step.status\"></st-wizard-marker>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<st-wizard-sub-step [stepIndex]=\"$index\" [stepStatus]=\"step.status\"></st-wizard-sub-step>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"mt-1 w-[50px]\">\n\t\t\t\t\t\t<div class=\"relative flex max-w-fit flex-col items-center\">\n\t\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t\t<span stText=\"8\" stTextColor=\"base\" stTextWeight=\"medium\">{{ step.label }}</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"text-secondary relative -top-1 min-w-max\" stText=\"9\">\n\t\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.step' | translate: { index: $index + 1 } }}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t}\n\t\t</ul>\n\t} @else {\n\t\t<ul class=\"grid h-min max-h-min gap-4\" [ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() }\">\n\t\t\t@for (step of wizardService.steps(); track $index) {\n\t\t\t\t<li>\n\t\t\t\t\t<!-- step pogress -->\n\t\t\t\t\t<div class=\"grid grid-rows-[min-content_min-content] gap-4\">\n\t\t\t\t\t\t<div class=\"flex items-center gap-3\">\n\t\t\t\t\t\t\t<st-wizard-step [icon]=\"step.icon\" [stepIndex]=\"$index\" [status]=\"step.status\"></st-wizard-step>\n\t\t\t\t\t\t\t<!-- step info -->\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<div class=\"relative flex max-w-fit flex-col\">\n\t\t\t\t\t\t\t\t\t<div class=\"min-w-max\">\n\t\t\t\t\t\t\t\t\t\t<span stText=\"8\" stTextColor=\"base\" stTextWeight=\"medium\">{{ step.label }}</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<div class=\"text-neutral relative -top-1 min-w-max\" stText=\"9\">\n\t\t\t\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.step' | translate: { index: $index + 1 } }}\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t@if (contentsVar.length - 1 !== $index) {\n\t\t\t\t\t\t\t<div class=\"flex flex-col justify-center\">\n\t\t\t\t\t\t\t\t<st-wizard-sub-step variant=\"vertical\" [stepIndex]=\"$index\" [stepStatus]=\"step.status\"></st-wizard-sub-step>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</li>\n\t\t\t}\n\t\t</ul>\n\t}\n\n\t<div class=\"flex flex-1 flex-col gap-6\" [ngClass]=\"{ 'rounded-box bg-base-200 shadow-main p-6': card() && varinatVar === 'vertical' }\">\n\t\t<!-- Content -->\n\t\t<div>\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\n\t\t<!-- Actions -->\n\t\t@if (this.showControls()) {\n\t\t\t<div class=\"flex items-center gap-3\">\n\t\t\t\t@if (wizardService.isCurrentStepFirst()) {\n\t\t\t\t\t<st-button variant=\"secondary\" [outline]=\"true\" [icon]=\"iconReturn\" (click)=\"handleBack()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.back' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t} @else {\n\t\t\t\t\t<st-button [icon]=\"iconChevronLeft\" variant=\"secondary\" [outline]=\"true\" (click)=\"handlePrevious()\">{{\n\t\t\t\t\t\t'sdk.wizard.wizardWrapper.previous' | translate\n\t\t\t\t\t}}</st-button>\n\t\t\t\t}\n\t\t\t\t@if (wizardService.isCurrentStepLast()) {\n\t\t\t\t\t<st-button\n\t\t\t\t\t\t[disabled]=\"!wizardService.areAllStepsValid()\"\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t(click)=\"handleComplete()\"\n\t\t\t\t\t\t[disabled]=\"loading()\"\n\t\t\t\t\t\t[loader]=\"loading()\"\n\t\t\t\t\t>\n\t\t\t\t\t\t@if (!loading()) {\n\t\t\t\t\t\t\t<st-icon [icon]=\"iconSave\"></st-icon>\n\n\t\t\t\t\t\t\t{{ 'sdk.wizard.wizardWrapper.end' | translate }}\n\t\t\t\t\t\t}\n\t\t\t\t\t</st-button>\n\t\t\t\t} @else {\n\t\t\t\t\t<st-button\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t[icon]=\"iconChevronRight\"\n\t\t\t\t\t\ticonPosition=\"right\"\n\t\t\t\t\t\t[disabled]=\"!wizardService.currentStep().isValid\"\n\t\t\t\t\t\t(click)=\"handleNext()\"\n\t\t\t\t\t\t>{{ 'sdk.wizard.wizardWrapper.next' | translate }}</st-button\n\t\t\t\t\t>\n\t\t\t\t}\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<ng-content select=\"st-wizard-actions\"></ng-content>\n\t\t}\n\t</div>\n</div>\n" }]
936
956
  }] });
937
957
 
938
958
  /**