@sixbell-telco/sdk 0.10.1 → 0.11.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 (316) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +30 -280
  3. package/_index.css +452 -0
  4. package/assets/styles/combobox.css +197 -0
  5. package/components/audio-player/audio-timeline/audio-timeline.component.d.ts +2 -2
  6. package/components/audio-player/button-play/button-play.component.d.ts +6 -6
  7. package/components/audio-player/services/audio.service.d.ts +1 -0
  8. package/components/audio-player/src/audio-player.component.d.ts +1 -0
  9. package/components/audio-player/volume-control/volume-control.component.d.ts +2 -2
  10. package/components/avatar/src/avatar.component.d.ts +1 -1
  11. package/components/badge/src/badge.component.d.ts +69 -7
  12. package/components/button/src/button.component.d.ts +23 -9
  13. package/components/card/card-actions/card-actions.component.d.ts +28 -0
  14. package/components/card/card-content/card-content.component.d.ts +25 -0
  15. package/components/card/card-title/card-title.component.d.ts +22 -0
  16. package/components/card/src/card.component.d.ts +90 -5
  17. package/components/countdown/src/countdown.component.d.ts +2 -2
  18. package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +35 -2
  19. package/components/dropdown/src/dropdown.component.d.ts +151 -9
  20. package/components/dual-list/src/dual-list.component.d.ts +6 -6
  21. package/components/file-upload/file-dropzone/file-dropzone.component.d.ts +254 -0
  22. package/components/file-upload/file-uploader/file-uploader.component.d.ts +209 -0
  23. package/components/file-upload/index.d.ts +5 -0
  24. package/components/file-upload/public-api.d.ts +4 -0
  25. package/components/file-upload/shared/types/file-upload.d.ts +8 -0
  26. package/components/forms/checkbox/src/checkbox.component.d.ts +68 -5
  27. package/components/forms/combobox/src/combobox.component.d.ts +3 -3
  28. package/components/forms/datepicker/src/datepicker.component.d.ts +2 -2
  29. package/components/forms/form-error/src/form-error.component.d.ts +8 -1
  30. package/components/forms/input/input-content/input-content.component.d.ts +8 -0
  31. package/components/forms/input/public-api.d.ts +1 -0
  32. package/components/forms/input/src/input.component.d.ts +146 -25
  33. package/components/forms/radio/src/radio.component.d.ts +83 -7
  34. package/components/forms/range/src/range.component.d.ts +101 -6
  35. package/components/forms/select/src/select.component.d.ts +139 -13
  36. package/components/forms/switch/src/switch.component.d.ts +74 -7
  37. package/components/forms/textarea/src/textarea.component.d.ts +172 -16
  38. package/components/forms/toggle/src/toggle.component.d.ts +2 -2
  39. package/components/icon/src/icon.component.d.ts +2 -2
  40. package/components/modal/src/modal.component.d.ts +8 -8
  41. package/components/paginator/components/pagination-item/pagination-item.component.d.ts +64 -15
  42. package/components/paginator/src/paginator.component.d.ts +93 -2
  43. package/components/product-card/src/product-card.component.d.ts +2 -2
  44. package/components/progress/src/progress.component.d.ts +59 -4
  45. package/components/tab/src/tab.component.d.ts +2 -2
  46. package/components/table/src/table.component.d.ts +15 -11
  47. package/components/toast/toast-message/toast-message.component.d.ts +2 -2
  48. package/components/tooltip/public-api.d.ts +1 -0
  49. package/components/tooltip/src/tooltip.component.d.ts +66 -5
  50. package/components/tooltip/tooltip-content/tooltip-content.component.d.ts +38 -0
  51. package/components/wizard/wizard-wrapper/wizard-wrapper.component.d.ts +20 -20
  52. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +8 -8
  53. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
  54. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +71 -50
  55. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
  56. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +7 -7
  57. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  58. package/fesm2022/sixbell-telco-sdk-components-badge.mjs +92 -47
  59. package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
  60. package/fesm2022/sixbell-telco-sdk-components-button.mjs +35 -28
  61. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  62. package/fesm2022/sixbell-telco-sdk-components-card.mjs +192 -30
  63. package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
  64. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +7 -7
  65. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
  66. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +201 -30
  67. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  68. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +18 -16
  69. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  70. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +706 -0
  71. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -0
  72. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +85 -25
  73. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
  74. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +20 -20
  75. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  76. package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs +11 -11
  77. package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs.map +1 -1
  78. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +12 -4
  79. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
  80. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +217 -122
  81. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  82. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +98 -26
  83. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
  84. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +117 -25
  85. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
  86. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +190 -65
  87. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  88. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +95 -45
  89. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
  90. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +229 -80
  91. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  92. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +43 -38
  93. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
  94. package/fesm2022/sixbell-telco-sdk-components-icon.mjs +12 -11
  95. package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
  96. package/fesm2022/sixbell-telco-sdk-components-link.mjs +14 -14
  97. package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
  98. package/fesm2022/sixbell-telco-sdk-components-modal.mjs +27 -25
  99. package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
  100. package/fesm2022/sixbell-telco-sdk-components-notification.mjs +4 -4
  101. package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
  102. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +189 -59
  103. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  104. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +18 -15
  105. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
  106. package/fesm2022/sixbell-telco-sdk-components-progress.mjs +60 -12
  107. package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
  108. package/fesm2022/sixbell-telco-sdk-components-tab.mjs +22 -22
  109. package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
  110. package/fesm2022/sixbell-telco-sdk-components-table.mjs +50 -48
  111. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  112. package/fesm2022/sixbell-telco-sdk-components-toast.mjs +13 -13
  113. package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
  114. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +111 -9
  115. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
  116. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +57 -57
  117. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
  118. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +4 -4
  119. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -1
  120. package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +14 -13
  121. package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
  122. package/fesm2022/sixbell-telco-sdk-utils-cn.mjs.map +1 -1
  123. package/fesm2022/sixbell-telco-sdk-utils-generators-uuid.mjs.map +1 -1
  124. package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs +3 -3
  125. package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs.map +1 -1
  126. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs +3 -3
  127. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs.map +1 -1
  128. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs +3 -3
  129. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs.map +1 -1
  130. package/package.json +64 -168
  131. package/_index.scss +0 -146
  132. package/assets/styles/combobox.scss +0 -454
  133. package/components/file-upload/file-dropzone/index.d.ts +0 -5
  134. package/components/file-upload/file-dropzone/public-api.d.ts +0 -1
  135. package/components/file-upload/file-dropzone/src/file-dropzone.component.d.ts +0 -68
  136. package/components/file-upload/file-uploader/index.d.ts +0 -5
  137. package/components/file-upload/file-uploader/public-api.d.ts +0 -1
  138. package/components/file-upload/file-uploader/src/file-uploader.component.d.ts +0 -46
  139. package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +0 -43
  140. package/esm2022/components/accordion/public-api.mjs +0 -3
  141. package/esm2022/components/accordion/sixbell-telco-sdk-components-accordion.mjs +0 -5
  142. package/esm2022/components/accordion/src/accordion.component.mjs +0 -13
  143. package/esm2022/components/audio-player/audio-timeline/audio-timeline.component.mjs +0 -76
  144. package/esm2022/components/audio-player/button-play/button-play.component.mjs +0 -71
  145. package/esm2022/components/audio-player/public-api.mjs +0 -4
  146. package/esm2022/components/audio-player/services/audio.service.mjs +0 -189
  147. package/esm2022/components/audio-player/sixbell-telco-sdk-components-audio-player.mjs +0 -5
  148. package/esm2022/components/audio-player/src/audio-player.component.mjs +0 -105
  149. package/esm2022/components/audio-player/track-info/track-info.component.mjs +0 -18
  150. package/esm2022/components/audio-player/volume-control/volume-control.component.mjs +0 -83
  151. package/esm2022/components/avatar/public-api.mjs +0 -2
  152. package/esm2022/components/avatar/sixbell-telco-sdk-components-avatar.mjs +0 -5
  153. package/esm2022/components/avatar/src/avatar.component.mjs +0 -149
  154. package/esm2022/components/badge/public-api.mjs +0 -2
  155. package/esm2022/components/badge/sixbell-telco-sdk-components-badge.mjs +0 -5
  156. package/esm2022/components/badge/src/badge.component.mjs +0 -77
  157. package/esm2022/components/button/public-api.mjs +0 -2
  158. package/esm2022/components/button/sixbell-telco-sdk-components-button.mjs +0 -5
  159. package/esm2022/components/button/src/button.component.mjs +0 -182
  160. package/esm2022/components/card/card-actions/card-actions.component.mjs +0 -22
  161. package/esm2022/components/card/card-content/card-content.component.mjs +0 -12
  162. package/esm2022/components/card/card-title/card-title.component.mjs +0 -12
  163. package/esm2022/components/card/public-api.mjs +0 -5
  164. package/esm2022/components/card/sixbell-telco-sdk-components-card.mjs +0 -5
  165. package/esm2022/components/card/src/card.component.mjs +0 -32
  166. package/esm2022/components/countdown/public-api.mjs +0 -2
  167. package/esm2022/components/countdown/sixbell-telco-sdk-components-countdown.mjs +0 -5
  168. package/esm2022/components/countdown/src/countdown.component.mjs +0 -57
  169. package/esm2022/components/dropdown/dropdown-item/dropdown-item.component.mjs +0 -24
  170. package/esm2022/components/dropdown/public-api.mjs +0 -3
  171. package/esm2022/components/dropdown/sixbell-telco-sdk-components-dropdown.mjs +0 -5
  172. package/esm2022/components/dropdown/src/dropdown.component.mjs +0 -127
  173. package/esm2022/components/dual-list/public-api.mjs +0 -2
  174. package/esm2022/components/dual-list/sixbell-telco-sdk-components-dual-list.mjs +0 -5
  175. package/esm2022/components/dual-list/src/dual-list.component.mjs +0 -184
  176. package/esm2022/components/file-upload/file-dropzone/public-api.mjs +0 -2
  177. package/esm2022/components/file-upload/file-dropzone/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +0 -5
  178. package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +0 -232
  179. package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.constants.mjs +0 -7
  180. package/esm2022/components/file-upload/file-uploader/public-api.mjs +0 -2
  181. package/esm2022/components/file-upload/file-uploader/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +0 -5
  182. package/esm2022/components/file-upload/file-uploader/src/file-uploader.component.mjs +0 -115
  183. package/esm2022/components/forms/checkbox/public-api.mjs +0 -2
  184. package/esm2022/components/forms/checkbox/sixbell-telco-sdk-components-forms-checkbox.mjs +0 -5
  185. package/esm2022/components/forms/checkbox/src/checkbox.component.mjs +0 -94
  186. package/esm2022/components/forms/combobox/public-api.mjs +0 -2
  187. package/esm2022/components/forms/combobox/sixbell-telco-sdk-components-forms-combobox.mjs +0 -5
  188. package/esm2022/components/forms/combobox/src/combobox.component.mjs +0 -188
  189. package/esm2022/components/forms/datepicker/public-api.mjs +0 -3
  190. package/esm2022/components/forms/datepicker/sixbell-telco-sdk-components-forms-datepicker.mjs +0 -5
  191. package/esm2022/components/forms/datepicker/src/datepicker-format-month.pipe.mjs +0 -20
  192. package/esm2022/components/forms/datepicker/src/datepicker.component.mjs +0 -190
  193. package/esm2022/components/forms/form-error/public-api.mjs +0 -2
  194. package/esm2022/components/forms/form-error/sixbell-telco-sdk-components-forms-form-error.mjs +0 -5
  195. package/esm2022/components/forms/form-error/src/form-error.component.mjs +0 -25
  196. package/esm2022/components/forms/input/public-api.mjs +0 -2
  197. package/esm2022/components/forms/input/sixbell-telco-sdk-components-forms-input.mjs +0 -5
  198. package/esm2022/components/forms/input/src/input.component.mjs +0 -202
  199. package/esm2022/components/forms/radio/public-api.mjs +0 -2
  200. package/esm2022/components/forms/radio/sixbell-telco-sdk-components-forms-radio.mjs +0 -5
  201. package/esm2022/components/forms/radio/src/radio.component.mjs +0 -96
  202. package/esm2022/components/forms/range/public-api.mjs +0 -2
  203. package/esm2022/components/forms/range/sixbell-telco-sdk-components-forms-range.mjs +0 -5
  204. package/esm2022/components/forms/range/src/range.component.mjs +0 -103
  205. package/esm2022/components/forms/select/public-api.mjs +0 -2
  206. package/esm2022/components/forms/select/sixbell-telco-sdk-components-forms-select.mjs +0 -5
  207. package/esm2022/components/forms/select/src/select.component.mjs +0 -162
  208. package/esm2022/components/forms/switch/public-api.mjs +0 -2
  209. package/esm2022/components/forms/switch/sixbell-telco-sdk-components-forms-switch.mjs +0 -5
  210. package/esm2022/components/forms/switch/src/switch.component.mjs +0 -108
  211. package/esm2022/components/forms/textarea/public-api.mjs +0 -2
  212. package/esm2022/components/forms/textarea/sixbell-telco-sdk-components-forms-textarea.mjs +0 -5
  213. package/esm2022/components/forms/textarea/src/textarea.component.mjs +0 -168
  214. package/esm2022/components/forms/toggle/public-api.mjs +0 -2
  215. package/esm2022/components/forms/toggle/sixbell-telco-sdk-components-forms-toggle.mjs +0 -5
  216. package/esm2022/components/forms/toggle/src/toggle.component.mjs +0 -404
  217. package/esm2022/components/icon/heroicons/mini/public-api.mjs +0 -2
  218. package/esm2022/components/icon/heroicons/mini/sixbell-telco-sdk-components-icon-heroicons-mini.mjs +0 -5
  219. package/esm2022/components/icon/heroicons/outline/public-api.mjs +0 -2
  220. package/esm2022/components/icon/heroicons/outline/sixbell-telco-sdk-components-icon-heroicons-outline.mjs +0 -5
  221. package/esm2022/components/icon/heroicons/solid/public-api.mjs +0 -2
  222. package/esm2022/components/icon/heroicons/solid/sixbell-telco-sdk-components-icon-heroicons-solid.mjs +0 -5
  223. package/esm2022/components/icon/ionicons/public-api.mjs +0 -2
  224. package/esm2022/components/icon/ionicons/sixbell-telco-sdk-components-icon-ionicons.mjs +0 -5
  225. package/esm2022/components/icon/material/baseline/public-api.mjs +0 -2
  226. package/esm2022/components/icon/material/baseline/sixbell-telco-sdk-components-icon-material-baseline.mjs +0 -5
  227. package/esm2022/components/icon/material/outline/public-api.mjs +0 -2
  228. package/esm2022/components/icon/material/outline/sixbell-telco-sdk-components-icon-material-outline.mjs +0 -5
  229. package/esm2022/components/icon/material/round/public-api.mjs +0 -2
  230. package/esm2022/components/icon/material/round/sixbell-telco-sdk-components-icon-material-round.mjs +0 -5
  231. package/esm2022/components/icon/material/sharp/public-api.mjs +0 -2
  232. package/esm2022/components/icon/material/sharp/sixbell-telco-sdk-components-icon-material-sharp.mjs +0 -5
  233. package/esm2022/components/icon/public-api.mjs +0 -2
  234. package/esm2022/components/icon/sixbell-telco-sdk-components-icon.mjs +0 -5
  235. package/esm2022/components/icon/src/icon.component.mjs +0 -42
  236. package/esm2022/components/link/public-api.mjs +0 -2
  237. package/esm2022/components/link/sixbell-telco-sdk-components-link.mjs +0 -5
  238. package/esm2022/components/link/src/link.component.mjs +0 -63
  239. package/esm2022/components/modal/modal-actions/modal-actions.component.mjs +0 -22
  240. package/esm2022/components/modal/modal-content/modal-content.component.mjs +0 -12
  241. package/esm2022/components/modal/modal-title/modal-title.component.mjs +0 -13
  242. package/esm2022/components/modal/public-api.mjs +0 -5
  243. package/esm2022/components/modal/sixbell-telco-sdk-components-modal.mjs +0 -5
  244. package/esm2022/components/modal/src/modal.component.mjs +0 -154
  245. package/esm2022/components/notification/public-api.mjs +0 -2
  246. package/esm2022/components/notification/sixbell-telco-sdk-components-notification.mjs +0 -5
  247. package/esm2022/components/notification/src/notification.component.mjs +0 -55
  248. package/esm2022/components/paginator/components/pagination-item/pagination-item.component.mjs +0 -113
  249. package/esm2022/components/paginator/public-api.mjs +0 -3
  250. package/esm2022/components/paginator/sixbell-telco-sdk-components-paginator.mjs +0 -5
  251. package/esm2022/components/paginator/src/paginator.component.mjs +0 -52
  252. package/esm2022/components/product-card/directives/product-card-actions.directive.mjs +0 -15
  253. package/esm2022/components/product-card/directives/product-card-content.directive.mjs +0 -15
  254. package/esm2022/components/product-card/directives/product-card-header.directive.mjs +0 -15
  255. package/esm2022/components/product-card/public-api.mjs +0 -5
  256. package/esm2022/components/product-card/sixbell-telco-sdk-components-product-card.mjs +0 -5
  257. package/esm2022/components/product-card/src/product-card.component.mjs +0 -137
  258. package/esm2022/components/progress/public-api.mjs +0 -2
  259. package/esm2022/components/progress/sixbell-telco-sdk-components-progress.mjs +0 -5
  260. package/esm2022/components/progress/src/progress.component.mjs +0 -43
  261. package/esm2022/components/tab/directives/tab-content/tab-content.directive.mjs +0 -51
  262. package/esm2022/components/tab/directives/tab-header/tab-header.directive.mjs +0 -56
  263. package/esm2022/components/tab/public-api.mjs +0 -4
  264. package/esm2022/components/tab/sixbell-telco-sdk-components-tab.mjs +0 -5
  265. package/esm2022/components/tab/src/tab.component.mjs +0 -42
  266. package/esm2022/components/table/public-api.mjs +0 -4
  267. package/esm2022/components/table/sixbell-telco-sdk-components-table.mjs +0 -5
  268. package/esm2022/components/table/src/table.component.mjs +0 -283
  269. package/esm2022/components/table/table-header-checkbox/table-header-checkbox.component.mjs +0 -67
  270. package/esm2022/components/table/table-row-checkbox/table-row-checkbox.component.mjs +0 -72
  271. package/esm2022/components/toast/public-api.mjs +0 -4
  272. package/esm2022/components/toast/services/toast.service.mjs +0 -67
  273. package/esm2022/components/toast/sixbell-telco-sdk-components-toast.mjs +0 -5
  274. package/esm2022/components/toast/toast-message/toast-message.component.mjs +0 -80
  275. package/esm2022/components/toast/toasts-container/toasts-container.component.mjs +0 -41
  276. package/esm2022/components/tooltip/public-api.mjs +0 -2
  277. package/esm2022/components/tooltip/sixbell-telco-sdk-components-tooltip.mjs +0 -5
  278. package/esm2022/components/tooltip/src/tooltip.component.mjs +0 -45
  279. package/esm2022/components/wizard/public-api.mjs +0 -5
  280. package/esm2022/components/wizard/services/wizard.service.mjs +0 -312
  281. package/esm2022/components/wizard/sixbell-telco-sdk-components-wizard.mjs +0 -5
  282. package/esm2022/components/wizard/wizard-actions/wizard-actions.component.mjs +0 -22
  283. package/esm2022/components/wizard/wizard-content/wizard-content.component.mjs +0 -84
  284. package/esm2022/components/wizard/wizard-marker/wizard-marker.component.mjs +0 -111
  285. package/esm2022/components/wizard/wizard-step/wizard-step.component.mjs +0 -126
  286. package/esm2022/components/wizard/wizard-sub-step/wizard-sub-step.component.mjs +0 -121
  287. package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +0 -173
  288. package/esm2022/directives/click-outside/public-api.mjs +0 -2
  289. package/esm2022/directives/click-outside/sixbell-telco-sdk-directives-click-outside.mjs +0 -5
  290. package/esm2022/directives/click-outside/src/click-outside.directive.mjs +0 -30
  291. package/esm2022/directives/typography/public-api.mjs +0 -2
  292. package/esm2022/directives/typography/sixbell-telco-sdk-directives-typography.mjs +0 -5
  293. package/esm2022/directives/typography/src/typography.directive.mjs +0 -118
  294. package/esm2022/public_api.mjs +0 -2
  295. package/esm2022/sixbell-telco-sdk.mjs +0 -5
  296. package/esm2022/utils/cn/public-api.mjs +0 -2
  297. package/esm2022/utils/cn/sixbell-telco-sdk-utils-cn.mjs +0 -5
  298. package/esm2022/utils/cn/src/cn.mjs +0 -6
  299. package/esm2022/utils/generators/uuid/public-api.mjs +0 -2
  300. package/esm2022/utils/generators/uuid/sixbell-telco-sdk-utils-generators-uuid.mjs +0 -5
  301. package/esm2022/utils/generators/uuid/src/uuid.mjs +0 -5
  302. package/esm2022/utils/pipes/extract-extension/public-api.mjs +0 -2
  303. package/esm2022/utils/pipes/extract-extension/sixbell-telco-sdk-utils-pipes-extract-extension.mjs +0 -5
  304. package/esm2022/utils/pipes/extract-extension/src/extract-extension.mjs +0 -30
  305. package/esm2022/utils/pipes/time/public-api.mjs +0 -2
  306. package/esm2022/utils/pipes/time/sixbell-telco-sdk-utils-pipes-time.mjs +0 -5
  307. package/esm2022/utils/pipes/time/src/time.pipe.mjs +0 -19
  308. package/esm2022/utils/pipes/to-bytes-extesion/public-api.mjs +0 -2
  309. package/esm2022/utils/pipes/to-bytes-extesion/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs +0 -5
  310. package/esm2022/utils/pipes/to-bytes-extesion/src/to-bytes.pipe.mjs +0 -29
  311. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +0 -245
  312. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs.map +0 -1
  313. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +0 -122
  314. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs.map +0 -1
  315. /package/assets/styles/{toast.scss → toast.css} +0 -0
  316. /package/components/file-upload/{file-dropzone/src/file-dropzone.constants.d.ts → shared/const/file-upload.constants.d.ts} +0 -0
@@ -8,10 +8,10 @@ import { cva, cx } from 'class-variance-authority';
8
8
 
9
9
  class ProductCardActionsDirective {
10
10
  tplRef = inject(TemplateRef);
11
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ProductCardActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
12
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: ProductCardActionsDirective, isStandalone: true, selector: "[appProductCardActions]", ngImport: i0 });
11
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ProductCardActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
12
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.1", type: ProductCardActionsDirective, isStandalone: true, selector: "[appProductCardActions]", ngImport: i0 });
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ProductCardActionsDirective, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ProductCardActionsDirective, decorators: [{
15
15
  type: Directive,
16
16
  args: [{
17
17
  selector: '[appProductCardActions]',
@@ -21,10 +21,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
21
21
 
22
22
  class ProductCardContentDirective {
23
23
  tplRef = inject(TemplateRef);
24
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ProductCardContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: ProductCardContentDirective, isStandalone: true, selector: "[appProductCardContent]", ngImport: i0 });
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ProductCardContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.1", type: ProductCardContentDirective, isStandalone: true, selector: "[appProductCardContent]", ngImport: i0 });
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ProductCardContentDirective, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ProductCardContentDirective, decorators: [{
28
28
  type: Directive,
29
29
  args: [{
30
30
  selector: '[appProductCardContent]',
@@ -34,10 +34,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
34
34
 
35
35
  class ProductCardHeaderDirective {
36
36
  tplRef = inject(TemplateRef);
37
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ProductCardHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
38
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: ProductCardHeaderDirective, isStandalone: true, selector: "[appProductCardHeader]", ngImport: i0 });
37
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ProductCardHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
38
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.1", type: ProductCardHeaderDirective, isStandalone: true, selector: "[appProductCardHeader]", ngImport: i0 });
39
39
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ProductCardHeaderDirective, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ProductCardHeaderDirective, decorators: [{
41
41
  type: Directive,
42
42
  args: [{
43
43
  selector: '[appProductCardHeader]',
@@ -66,8 +66,11 @@ const productCardContainer = cva(['card'], {
66
66
  'max-content': ['w-max', 'min-w-max'],
67
67
  },
68
68
  size: {
69
- sm: 'card-compact',
70
- md: 'card-normal',
69
+ xs: 'card-xs',
70
+ sm: 'card-sm',
71
+ md: 'card-md',
72
+ lg: 'card-lg',
73
+ xl: 'card-xl',
71
74
  },
72
75
  figurePosition: {
73
76
  top: ['top'],
@@ -164,12 +167,12 @@ class ProductCardComponent {
164
167
  get actionsClass() {
165
168
  return cn('card-actions', this.actionsClasses());
166
169
  }
167
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ProductCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
168
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: ProductCardComponent, isStandalone: true, selector: "st-product-card", inputs: { shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, figurePosition: { classPropertyName: "figurePosition", publicName: "figurePosition", isSignal: true, isRequired: false, transformFunction: null }, figureBackground: { classPropertyName: "figureBackground", publicName: "figureBackground", isSignal: true, isRequired: false, transformFunction: null }, figureAlignment: { classPropertyName: "figureAlignment", publicName: "figureAlignment", isSignal: true, isRequired: false, transformFunction: null }, figurePaddingY: { classPropertyName: "figurePaddingY", publicName: "figurePaddingY", isSignal: true, isRequired: false, transformFunction: null }, figurePaddingX: { classPropertyName: "figurePaddingX", publicName: "figurePaddingX", isSignal: true, isRequired: false, transformFunction: null }, titleClasses: { classPropertyName: "titleClasses", publicName: "titleClasses", isSignal: true, isRequired: false, transformFunction: null }, actionsClasses: { classPropertyName: "actionsClasses", publicName: "actionsClasses", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "header", first: true, predicate: ProductCardHeaderDirective, descendants: true, isSignal: true }, { propertyName: "content", first: true, predicate: ProductCardContentDirective, descendants: true, isSignal: true }, { propertyName: "actions", first: true, predicate: ProductCardActionsDirective, descendants: true, isSignal: true }], ngImport: i0, template: "@let figurePositionVar = this.figurePosition();\n@let imageVar = image();\n@let iconVar = icon();\n\n<div [class]=\"containerClass\">\n\t@if (figurePositionVar === 'top' || figurePositionVar === 'side' || !figurePositionVar) {\n\t\t<figure [class]=\"figureClass\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n\t<div class=\"card-body\">\n\t\t<div [class]=\"titleClass\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"header()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div>\n\t\t\t<ng-container [ngTemplateOutlet]=\"content()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div [class]=\"actionsClass\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"actions()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t</div>\n\t@if (figurePositionVar === 'bottom') {\n\t\t<figure [class]=\"figureClass\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }] });
170
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ProductCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
171
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.1", type: ProductCardComponent, isStandalone: true, selector: "st-product-card", inputs: { shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, figurePosition: { classPropertyName: "figurePosition", publicName: "figurePosition", isSignal: true, isRequired: false, transformFunction: null }, figureBackground: { classPropertyName: "figureBackground", publicName: "figureBackground", isSignal: true, isRequired: false, transformFunction: null }, figureAlignment: { classPropertyName: "figureAlignment", publicName: "figureAlignment", isSignal: true, isRequired: false, transformFunction: null }, figurePaddingY: { classPropertyName: "figurePaddingY", publicName: "figurePaddingY", isSignal: true, isRequired: false, transformFunction: null }, figurePaddingX: { classPropertyName: "figurePaddingX", publicName: "figurePaddingX", isSignal: true, isRequired: false, transformFunction: null }, titleClasses: { classPropertyName: "titleClasses", publicName: "titleClasses", isSignal: true, isRequired: false, transformFunction: null }, actionsClasses: { classPropertyName: "actionsClasses", publicName: "actionsClasses", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "header", first: true, predicate: ProductCardHeaderDirective, descendants: true, isSignal: true }, { propertyName: "content", first: true, predicate: ProductCardContentDirective, descendants: true, isSignal: true }, { propertyName: "actions", first: true, predicate: ProductCardActionsDirective, descendants: true, isSignal: true }], ngImport: i0, template: "@let figurePositionVar = this.figurePosition();\n@let imageVar = image();\n@let iconVar = icon();\n\n<div [class]=\"containerClass\">\n\t@if (figurePositionVar === 'top' || figurePositionVar === 'side' || !figurePositionVar) {\n\t\t<figure [class]=\"figureClass\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n\t<div class=\"card-body\">\n\t\t<div [class]=\"titleClass\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"header()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div>\n\t\t\t<ng-container [ngTemplateOutlet]=\"content()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div [class]=\"actionsClass\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"actions()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t</div>\n\t@if (figurePositionVar === 'bottom') {\n\t\t<figure [class]=\"figureClass\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }] });
169
172
  }
170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ProductCardComponent, decorators: [{
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ProductCardComponent, decorators: [{
171
174
  type: Component,
172
- args: [{ selector: 'st-product-card', standalone: true, imports: [NgTemplateOutlet, IconComponent], template: "@let figurePositionVar = this.figurePosition();\n@let imageVar = image();\n@let iconVar = icon();\n\n<div [class]=\"containerClass\">\n\t@if (figurePositionVar === 'top' || figurePositionVar === 'side' || !figurePositionVar) {\n\t\t<figure [class]=\"figureClass\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n\t<div class=\"card-body\">\n\t\t<div [class]=\"titleClass\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"header()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div>\n\t\t\t<ng-container [ngTemplateOutlet]=\"content()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div [class]=\"actionsClass\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"actions()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t</div>\n\t@if (figurePositionVar === 'bottom') {\n\t\t<figure [class]=\"figureClass\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n</div>\n" }]
175
+ args: [{ selector: 'st-product-card', imports: [NgTemplateOutlet, IconComponent], template: "@let figurePositionVar = this.figurePosition();\n@let imageVar = image();\n@let iconVar = icon();\n\n<div [class]=\"containerClass\">\n\t@if (figurePositionVar === 'top' || figurePositionVar === 'side' || !figurePositionVar) {\n\t\t<figure [class]=\"figureClass\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n\t<div class=\"card-body\">\n\t\t<div [class]=\"titleClass\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"header()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div>\n\t\t\t<ng-container [ngTemplateOutlet]=\"content()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div [class]=\"actionsClass\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"actions()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t</div>\n\t@if (figurePositionVar === 'bottom') {\n\t\t<figure [class]=\"figureClass\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n</div>\n" }]
173
176
  }] });
174
177
 
175
178
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-product-card.mjs","sources":["../../../projects/sdk/components/product-card/directives/product-card-actions.directive.ts","../../../projects/sdk/components/product-card/directives/product-card-content.directive.ts","../../../projects/sdk/components/product-card/directives/product-card-header.directive.ts","../../../projects/sdk/components/product-card/src/product-card.component.ts","../../../projects/sdk/components/product-card/src/product-card.component.html","../../../projects/sdk/components/product-card/sixbell-telco-sdk-components-product-card.ts"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n\tselector: '[appProductCardActions]',\n\tstandalone: true,\n})\nexport class ProductCardActionsDirective {\n\ttplRef = inject(TemplateRef);\n}\n","import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n\tselector: '[appProductCardContent]',\n\tstandalone: true,\n})\nexport class ProductCardContentDirective {\n\ttplRef = inject(TemplateRef);\n}\n","import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n\tselector: '[appProductCardHeader]',\n\tstandalone: true,\n})\nexport class ProductCardHeaderDirective {\n\ttplRef = inject(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { Component, contentChild, input } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matCallOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva, cx } from 'class-variance-authority';\nimport { ProductCardActionsDirective } from '../directives/product-card-actions.directive';\nimport { ProductCardContentDirective } from '../directives/product-card-content.directive';\nimport { ProductCardHeaderDirective } from '../directives/product-card-header.directive';\n\nexport const productCardContainer = cva(['card'], {\n\tvariants: {\n\t\tshadow: {\n\t\t\tnone: [],\n\t\t\tprimary: ['shadow-primary'],\n\t\t},\n\t\theight: {\n\t\t\tfit: ['h-fit', 'min-h-[auto]'],\n\t\t\tauto: ['h-auto', 'min-h-[auto]'],\n\t\t\tfull: ['h-full', 'min-h-full'],\n\t\t\t'min-content': ['h-min', 'min-h-min'],\n\t\t\t'max-content': ['h-max', 'min-h-max'],\n\t\t},\n\t\twidth: {\n\t\t\tfit: ['w-fit', 'min-w-[auto]'],\n\t\t\tauto: ['w-auto', 'min-w-[auto]'],\n\t\t\tfull: ['w-full', 'min-w-full'],\n\t\t\t'min-content': ['w-min', 'min-w-min'],\n\t\t\t'max-content': ['w-max', 'min-w-max'],\n\t\t},\n\t\tsize: {\n\t\t\tsm: 'card-compact',\n\t\t\tmd: 'card-normal',\n\t\t},\n\t\tfigurePosition: {\n\t\t\ttop: ['top'],\n\t\t\tbottom: ['bottom'],\n\t\t\tside: ['card-side'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tshadow: 'primary',\n\t\theight: 'full',\n\t\twidth: 'auto',\n\t\tsize: 'md',\n\t\tfigurePosition: 'top',\n\t},\n});\n\nexport type ProductCardContainerShadowProps = 'none' | 'primary' | null | undefined;\nexport type ProductCardContainerHeightProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;\nexport type ProductCardContainerWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;\nexport type ProductCardContainerSizeProps = 'sm' | 'md' | null | undefined;\nexport type ProductCardContainerFigurePositionProps = 'top' | 'bottom' | 'side' | null | undefined;\n\nexport const productCardFigure = cva([], {\n\tvariants: {\n\t\tfigureBackground: {\n\t\t\tnone: [],\n\t\t\timage: ['image-full'],\n\t\t\tprimary: ['bg-primary', 'text-primary-content'],\n\t\t\tsecondary: ['bg-secondary', 'text-secondary-content'],\n\t\t\twarning: ['bg-warning', 'text-warning-content'],\n\t\t\terror: ['bg-error', 'text-error-content'],\n\t\t\tneutral: ['bg-neutral', 'text-neutral-content'],\n\t\t},\n\t\tfigureAlignment: {\n\t\t\tauto: [],\n\t\t\tcenter: ['flex', 'justify-center'],\n\t\t\tstart: ['flex', 'justify-start'],\n\t\t\tend: ['flex', 'justify-end'],\n\t\t},\n\t\tfigurePaddingY: {\n\t\t\tnone: 'py-0',\n\t\t\tsm: 'py-2',\n\t\t\tmd: 'py-4',\n\t\t\tlg: 'py-6',\n\t\t},\n\t\tfigurePaddingX: {\n\t\t\tnone: 'px-0',\n\t\t\tsm: 'px-2',\n\t\t\tmd: 'px-4',\n\t\t\tlg: 'px-6',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tfigureBackground: 'none',\n\t\tfigureAlignment: 'auto',\n\t\tfigurePaddingY: 'none',\n\t\tfigurePaddingX: 'none',\n\t},\n});\n\nexport type ProductCardFigureBackgroundProps = 'none' | 'image' | 'primary' | 'secondary' | 'warning' | 'error' | 'neutral' | null | undefined;\nexport type ProductCardFigureAlignmentProps = 'auto' | 'center' | 'start' | 'end' | null | undefined;\nexport type ProductCardFigurePaddingYProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;\nexport type ProductCardFigurePaddingXProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;\n\nexport type ProductCardVariantProps = {\n\tshadow?: ProductCardContainerShadowProps;\n\theight?: ProductCardContainerHeightProps;\n\twidth?: ProductCardContainerWidthProps;\n\tsize?: ProductCardContainerSizeProps;\n\tfigureBackground?: ProductCardFigureBackgroundProps;\n\tfigurePosition?: ProductCardContainerFigurePositionProps;\n\tfigureAlignment?: ProductCardFigureAlignmentProps;\n\tfigurePaddingY?: ProductCardFigurePaddingYProps;\n\tfigurePaddingX?: ProductCardFigurePaddingXProps;\n};\n\nexport const productCardComponent = ({\n\tshadow,\n\theight,\n\twidth,\n\tsize,\n\tfigureBackground,\n\tfigurePosition,\n\tfigureAlignment,\n\tfigurePaddingY,\n\tfigurePaddingX,\n}: ProductCardVariantProps = {}) =>\n\tcx(\n\t\tproductCardContainer({ shadow, height, width, size, figurePosition }),\n\t\tproductCardFigure({ figureBackground, figureAlignment, figurePaddingX, figurePaddingY }),\n\t);\n\n@Component({\n\tselector: 'st-product-card',\n\tstandalone: true,\n\timports: [NgTemplateOutlet, IconComponent],\n\ttemplateUrl: './product-card.component.html',\n\tstyles: '',\n})\nexport class ProductCardComponent {\n\t// Base table properties\n\tshadow = input<ProductCardContainerShadowProps>();\n\theight = input<ProductCardContainerHeightProps>();\n\twidth = input<ProductCardContainerWidthProps>();\n\tsize = input<ProductCardContainerSizeProps>();\n\tfigurePosition = input<ProductCardContainerFigurePositionProps>();\n\t// Figure properties\n\tfigureBackground = input<ProductCardFigureBackgroundProps>();\n\tfigureAlignment = input<ProductCardFigureAlignmentProps>();\n\tfigurePaddingY = input<ProductCardFigurePaddingYProps>();\n\tfigurePaddingX = input<ProductCardFigurePaddingXProps>();\n\n\ttitleClasses = input<string>('');\n\tactionsClasses = input<string>('');\n\timage = input<{ src: string; alt: string }>();\n\ticon = input<string>();\n\tfallbackIcon = matCallOutline;\n\theader = contentChild(ProductCardHeaderDirective);\n\tcontent = contentChild(ProductCardContentDirective);\n\tactions = contentChild(ProductCardActionsDirective);\n\n\tget containerClass() {\n\t\treturn cn(\n\t\t\tproductCardContainer({\n\t\t\t\tshadow: this.shadow(),\n\t\t\t\theight: this.height(),\n\t\t\t\twidth: this.width(),\n\t\t\t\tsize: this.size(),\n\t\t\t\tfigurePosition: this.figurePosition(),\n\t\t\t}),\n\t\t);\n\t}\n\n\tget figureClass() {\n\t\treturn cn(\n\t\t\tproductCardFigure({\n\t\t\t\tfigureBackground: this.figureBackground(),\n\t\t\t\tfigureAlignment: this.figureAlignment(),\n\t\t\t\tfigurePaddingX: this.figurePaddingX(),\n\t\t\t\tfigurePaddingY: this.figurePaddingY(),\n\t\t\t}),\n\t\t);\n\t}\n\n\tget titleClass() {\n\t\treturn cn('card-title', this.titleClasses());\n\t}\n\n\tget actionsClass() {\n\t\treturn cn('card-actions', this.actionsClasses());\n\t}\n}\n","@let figurePositionVar = this.figurePosition();\n@let imageVar = image();\n@let iconVar = icon();\n\n<div [class]=\"containerClass\">\n\t@if (figurePositionVar === 'top' || figurePositionVar === 'side' || !figurePositionVar) {\n\t\t<figure [class]=\"figureClass\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n\t<div class=\"card-body\">\n\t\t<div [class]=\"titleClass\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"header()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div>\n\t\t\t<ng-container [ngTemplateOutlet]=\"content()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div [class]=\"actionsClass\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"actions()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t</div>\n\t@if (figurePositionVar === 'bottom') {\n\t\t<figure [class]=\"figureClass\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAMa,2BAA2B,CAAA;AACvC,IAAA,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;wGADjB,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CA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AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,cACf,IAAI,EAAA,OAAA,EACP,CAAC,gBAAgB,EAAE,aAAa,CAAC,EAAA,QAAA,EAAA,ivCAAA,EAAA,CAAA;;;AEjI3C;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-product-card.mjs","sources":["../../../projects/sdk/components/product-card/directives/product-card-actions.directive.ts","../../../projects/sdk/components/product-card/directives/product-card-content.directive.ts","../../../projects/sdk/components/product-card/directives/product-card-header.directive.ts","../../../projects/sdk/components/product-card/src/product-card.component.ts","../../../projects/sdk/components/product-card/src/product-card.component.html","../../../projects/sdk/components/product-card/sixbell-telco-sdk-components-product-card.ts"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n\tselector: '[appProductCardActions]',\n\tstandalone: true,\n})\nexport class ProductCardActionsDirective {\n\ttplRef = inject(TemplateRef);\n}\n","import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n\tselector: '[appProductCardContent]',\n\tstandalone: true,\n})\nexport class ProductCardContentDirective {\n\ttplRef = inject(TemplateRef);\n}\n","import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n\tselector: '[appProductCardHeader]',\n\tstandalone: true,\n})\nexport class ProductCardHeaderDirective {\n\ttplRef = inject(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { Component, contentChild, input } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matCallOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva, cx } from 'class-variance-authority';\nimport { ProductCardActionsDirective } from '../directives/product-card-actions.directive';\nimport { ProductCardContentDirective } from '../directives/product-card-content.directive';\nimport { ProductCardHeaderDirective } from '../directives/product-card-header.directive';\n\nexport const productCardContainer = cva(['card'], {\n\tvariants: {\n\t\tshadow: {\n\t\t\tnone: [],\n\t\t\tprimary: ['shadow-primary'],\n\t\t},\n\t\theight: {\n\t\t\tfit: ['h-fit', 'min-h-[auto]'],\n\t\t\tauto: ['h-auto', 'min-h-[auto]'],\n\t\t\tfull: ['h-full', 'min-h-full'],\n\t\t\t'min-content': ['h-min', 'min-h-min'],\n\t\t\t'max-content': ['h-max', 'min-h-max'],\n\t\t},\n\t\twidth: {\n\t\t\tfit: ['w-fit', 'min-w-[auto]'],\n\t\t\tauto: ['w-auto', 'min-w-[auto]'],\n\t\t\tfull: ['w-full', 'min-w-full'],\n\t\t\t'min-content': ['w-min', 'min-w-min'],\n\t\t\t'max-content': ['w-max', 'min-w-max'],\n\t\t},\n\t\tsize: {\n\t\t\txs: 'card-xs',\n\t\t\tsm: 'card-sm',\n\t\t\tmd: 'card-md',\n\t\t\tlg: 'card-lg',\n\t\t\txl: 'card-xl',\n\t\t},\n\t\tfigurePosition: {\n\t\t\ttop: ['top'],\n\t\t\tbottom: ['bottom'],\n\t\t\tside: ['card-side'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tshadow: 'primary',\n\t\theight: 'full',\n\t\twidth: 'auto',\n\t\tsize: 'md',\n\t\tfigurePosition: 'top',\n\t},\n});\n\nexport type ProductCardContainerShadowProps = 'none' | 'primary' | null | undefined;\nexport type ProductCardContainerHeightProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;\nexport type ProductCardContainerWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;\nexport type ProductCardContainerSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\nexport type ProductCardContainerFigurePositionProps = 'top' | 'bottom' | 'side' | null | undefined;\n\nexport const productCardFigure = cva([], {\n\tvariants: {\n\t\tfigureBackground: {\n\t\t\tnone: [],\n\t\t\timage: ['image-full'],\n\t\t\tprimary: ['bg-primary', 'text-primary-content'],\n\t\t\tsecondary: ['bg-secondary', 'text-secondary-content'],\n\t\t\twarning: ['bg-warning', 'text-warning-content'],\n\t\t\terror: ['bg-error', 'text-error-content'],\n\t\t\tneutral: ['bg-neutral', 'text-neutral-content'],\n\t\t},\n\t\tfigureAlignment: {\n\t\t\tauto: [],\n\t\t\tcenter: ['flex', 'justify-center'],\n\t\t\tstart: ['flex', 'justify-start'],\n\t\t\tend: ['flex', 'justify-end'],\n\t\t},\n\t\tfigurePaddingY: {\n\t\t\tnone: 'py-0',\n\t\t\tsm: 'py-2',\n\t\t\tmd: 'py-4',\n\t\t\tlg: 'py-6',\n\t\t},\n\t\tfigurePaddingX: {\n\t\t\tnone: 'px-0',\n\t\t\tsm: 'px-2',\n\t\t\tmd: 'px-4',\n\t\t\tlg: 'px-6',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tfigureBackground: 'none',\n\t\tfigureAlignment: 'auto',\n\t\tfigurePaddingY: 'none',\n\t\tfigurePaddingX: 'none',\n\t},\n});\n\nexport type ProductCardFigureBackgroundProps = 'none' | 'image' | 'primary' | 'secondary' | 'warning' | 'error' | 'neutral' | null | undefined;\nexport type ProductCardFigureAlignmentProps = 'auto' | 'center' | 'start' | 'end' | null | undefined;\nexport type ProductCardFigurePaddingYProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;\nexport type ProductCardFigurePaddingXProps = 'none' | 'sm' | 'md' | 'lg' | null | undefined;\n\nexport type ProductCardVariantProps = {\n\tshadow?: ProductCardContainerShadowProps;\n\theight?: ProductCardContainerHeightProps;\n\twidth?: ProductCardContainerWidthProps;\n\tsize?: ProductCardContainerSizeProps;\n\tfigureBackground?: ProductCardFigureBackgroundProps;\n\tfigurePosition?: ProductCardContainerFigurePositionProps;\n\tfigureAlignment?: ProductCardFigureAlignmentProps;\n\tfigurePaddingY?: ProductCardFigurePaddingYProps;\n\tfigurePaddingX?: ProductCardFigurePaddingXProps;\n};\n\nexport const productCardComponent = ({\n\tshadow,\n\theight,\n\twidth,\n\tsize,\n\tfigureBackground,\n\tfigurePosition,\n\tfigureAlignment,\n\tfigurePaddingY,\n\tfigurePaddingX,\n}: ProductCardVariantProps = {}) =>\n\tcx(\n\t\tproductCardContainer({ shadow, height, width, size, figurePosition }),\n\t\tproductCardFigure({ figureBackground, figureAlignment, figurePaddingX, figurePaddingY }),\n\t);\n\n@Component({\n\tselector: 'st-product-card',\n\timports: [NgTemplateOutlet, IconComponent],\n\ttemplateUrl: './product-card.component.html',\n\tstyles: '',\n})\nexport class ProductCardComponent {\n\t// Base table properties\n\tshadow = input<ProductCardContainerShadowProps>();\n\theight = input<ProductCardContainerHeightProps>();\n\twidth = input<ProductCardContainerWidthProps>();\n\tsize = input<ProductCardContainerSizeProps>();\n\tfigurePosition = input<ProductCardContainerFigurePositionProps>();\n\t// Figure properties\n\tfigureBackground = input<ProductCardFigureBackgroundProps>();\n\tfigureAlignment = input<ProductCardFigureAlignmentProps>();\n\tfigurePaddingY = input<ProductCardFigurePaddingYProps>();\n\tfigurePaddingX = input<ProductCardFigurePaddingXProps>();\n\n\ttitleClasses = input<string>('');\n\tactionsClasses = input<string>('');\n\timage = input<{ src: string; alt: string }>();\n\ticon = input<string>();\n\tfallbackIcon = matCallOutline;\n\theader = contentChild(ProductCardHeaderDirective);\n\tcontent = contentChild(ProductCardContentDirective);\n\tactions = contentChild(ProductCardActionsDirective);\n\n\tget containerClass() {\n\t\treturn cn(\n\t\t\tproductCardContainer({\n\t\t\t\tshadow: this.shadow(),\n\t\t\t\theight: this.height(),\n\t\t\t\twidth: this.width(),\n\t\t\t\tsize: this.size(),\n\t\t\t\tfigurePosition: this.figurePosition(),\n\t\t\t}),\n\t\t);\n\t}\n\n\tget figureClass() {\n\t\treturn cn(\n\t\t\tproductCardFigure({\n\t\t\t\tfigureBackground: this.figureBackground(),\n\t\t\t\tfigureAlignment: this.figureAlignment(),\n\t\t\t\tfigurePaddingX: this.figurePaddingX(),\n\t\t\t\tfigurePaddingY: this.figurePaddingY(),\n\t\t\t}),\n\t\t);\n\t}\n\n\tget titleClass() {\n\t\treturn cn('card-title', this.titleClasses());\n\t}\n\n\tget actionsClass() {\n\t\treturn cn('card-actions', this.actionsClasses());\n\t}\n}\n","@let figurePositionVar = this.figurePosition();\n@let imageVar = image();\n@let iconVar = icon();\n\n<div [class]=\"containerClass\">\n\t@if (figurePositionVar === 'top' || figurePositionVar === 'side' || !figurePositionVar) {\n\t\t<figure [class]=\"figureClass\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n\t<div class=\"card-body\">\n\t\t<div [class]=\"titleClass\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"header()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div>\n\t\t\t<ng-container [ngTemplateOutlet]=\"content()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t\t<div [class]=\"actionsClass\">\n\t\t\t<ng-container [ngTemplateOutlet]=\"actions()?.tplRef || null\"></ng-container>\n\t\t</div>\n\t</div>\n\t@if (figurePositionVar === 'bottom') {\n\t\t<figure [class]=\"figureClass\">\n\t\t\t@if (imageVar?.src && imageVar?.alt) {\n\t\t\t\t<img [src]=\"imageVar?.src\" [alt]=\"imageVar?.alt\" />\n\t\t\t} @else if (iconVar) {\n\t\t\t\t<st-icon [icon]=\"iconVar\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t}\n\t\t</figure>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAMa,2BAA2B,CAAA;AACvC,IAAA,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC;uGADhB,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA3B,2BAA2B,EAAA,YAAA,EAA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 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, Component, ChangeDetectionStrategy } from '@angular/core';
2
+ import { input, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';
4
4
  import { cn } from '@sixbell-telco/sdk/utils/cn';
5
5
  import { cva } from 'class-variance-authority';
6
6
 
7
+ /**
8
+ * @internal
9
+ * Generates base progress bar classes with style variants
10
+ */
7
11
  const progressComponent = cva(['progress'], {
8
12
  variants: {
9
13
  variant: {
@@ -21,25 +25,69 @@ const progressComponent = cva(['progress'], {
21
25
  variant: 'primary',
22
26
  },
23
27
  });
28
+ /**
29
+ * A customizable progress indicator component
30
+ *
31
+ * @remarks
32
+ * Built with Tailwind CSS and class-variance-authority for style management.
33
+ * Supports multiple color variants, indeterminate state, and label positioning.
34
+ *
35
+ * @example
36
+ * ```html
37
+ * <st-progress
38
+ * variant="primary"
39
+ * [value]="75"
40
+ * labelPosition="top"
41
+ * ></st-progress>
42
+ * ```
43
+ *
44
+ * @example
45
+ * ```html
46
+ * <st-progress
47
+ * variant="success"
48
+ * [indeterminate]="true"
49
+ * ></st-progress>
50
+ * ```
51
+ */
24
52
  class ProgressComponent {
53
+ /**
54
+ * Progress bar color variant
55
+ * @defaultValue 'primary'
56
+ */
25
57
  variant = input();
26
- classes = input('');
58
+ /**
59
+ * Current progress value (0-100)
60
+ * @defaultValue -1 (indeterminate when value < 0)
61
+ */
27
62
  value = input(-1);
63
+ /**
64
+ * Maximum progress value
65
+ * @defaultValue 100
66
+ */
28
67
  max = input(100);
68
+ /**
69
+ * Enable indeterminate animation
70
+ * @defaultValue false
71
+ */
29
72
  indeterminate = input(false);
73
+ /**
74
+ * Position of progress value label
75
+ * @defaultValue 'none'
76
+ */
30
77
  labelPosition = input('none');
31
- get componentClass() {
32
- return cn(progressComponent({
33
- variant: this.variant(),
34
- class: this.classes(),
35
- }));
36
- }
37
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
38
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: ProgressComponent, isStandalone: true, selector: "st-progress", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, classes: { classPropertyName: "classes", publicName: "classes", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null }, labelPosition: { classPropertyName: "labelPosition", publicName: "labelPosition", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"flex flex-col items-center\">\n\t@if (value() >= 0 && labelPosition() === 'top') {\n\t\t<span typography [tyVariant]=\"'body-xs'\">{{ value() }} %</span>\n\t}\n\t<progress [class]=\"componentClass\" [attr.value]=\"!indeterminate() ? value() : null\" [max]=\"max()\"></progress>\n\t@if (value() >= 0 && labelPosition() === 'bottom') {\n\t\t<span typography [tyVariant]=\"'body-xs'\">{{ value() }} %</span>\n\t}\n</div>\n", dependencies: [{ kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
78
+ /**
79
+ * @internal
80
+ * Computed class string for the progress bar container
81
+ */
82
+ componentClass = computed(() => cn(progressComponent({
83
+ variant: this.variant(),
84
+ })));
85
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
86
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.1", type: ProgressComponent, isStandalone: true, selector: "st-progress", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null }, labelPosition: { classPropertyName: "labelPosition", publicName: "labelPosition", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@let labelPositionVar = labelPosition();\n@let valueVar = value();\n@let indeterminateVar = indeterminate();\n@let maxVar = max();\n@let componentClassVar = componentClass();\n\n<div class=\"flex flex-col items-center gap-1\">\n\t@if (valueVar >= 0 && labelPositionVar === 'top') {\n\t\t<span typography [tyVariant]=\"'body-xs'\">{{ valueVar }} %</span>\n\t}\n\t<progress [class]=\"componentClassVar\" [attr.value]=\"!indeterminateVar ? valueVar : null\" [max]=\"maxVar\"></progress>\n\t@if (valueVar >= 0 && labelPositionVar === 'bottom') {\n\t\t<span typography [tyVariant]=\"'body-xs'\">{{ valueVar }} %</span>\n\t}\n</div>\n", dependencies: [{ kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
39
87
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ProgressComponent, decorators: [{
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: ProgressComponent, decorators: [{
41
89
  type: Component,
42
- args: [{ selector: 'st-progress', standalone: true, imports: [TypographyDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex flex-col items-center\">\n\t@if (value() >= 0 && labelPosition() === 'top') {\n\t\t<span typography [tyVariant]=\"'body-xs'\">{{ value() }} %</span>\n\t}\n\t<progress [class]=\"componentClass\" [attr.value]=\"!indeterminate() ? value() : null\" [max]=\"max()\"></progress>\n\t@if (value() >= 0 && labelPosition() === 'bottom') {\n\t\t<span typography [tyVariant]=\"'body-xs'\">{{ value() }} %</span>\n\t}\n</div>\n" }]
90
+ args: [{ selector: 'st-progress', imports: [TypographyDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "@let labelPositionVar = labelPosition();\n@let valueVar = value();\n@let indeterminateVar = indeterminate();\n@let maxVar = max();\n@let componentClassVar = componentClass();\n\n<div class=\"flex flex-col items-center gap-1\">\n\t@if (valueVar >= 0 && labelPositionVar === 'top') {\n\t\t<span typography [tyVariant]=\"'body-xs'\">{{ valueVar }} %</span>\n\t}\n\t<progress [class]=\"componentClassVar\" [attr.value]=\"!indeterminateVar ? valueVar : null\" [max]=\"maxVar\"></progress>\n\t@if (valueVar >= 0 && labelPositionVar === 'bottom') {\n\t\t<span typography [tyVariant]=\"'body-xs'\">{{ valueVar }} %</span>\n\t}\n</div>\n" }]
43
91
  }] });
44
92
 
45
93
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-progress.mjs","sources":["../../../projects/sdk/components/progress/src/progress.component.ts","../../../projects/sdk/components/progress/src/progress.component.html","../../../projects/sdk/components/progress/sixbell-telco-sdk-components-progress.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\nexport const progressComponent = cva(['progress'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tprimary: ['progress-primary'],\n\t\t\tsecondary: ['progress-secondary'],\n\t\t\tsuccess: ['progress-success'],\n\t\t\tinfo: ['progress-info'],\n\t\t\terror: ['progress-error'],\n\t\t\twarning: ['progress-warning'],\n\t\t\taccent: ['progress-accent'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'primary',\n\t},\n});\n\nexport type ProgressVariantProps = 'primary' | 'secondary' | 'success' | 'info' | 'error' | 'warning' | 'accent' | null | undefined;\n\nexport type ProgressProps = {\n\tvariant?: ProgressVariantProps;\n};\n\n@Component({\n\tselector: 'st-progress',\n\ttemplateUrl: './progress.component.html',\n\tstandalone: true,\n\timports: [TypographyDirective],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProgressComponent {\n\tvariant = input<ProgressVariantProps>();\n\tclasses = input<string>('');\n\tvalue = input<number>(-1);\n\tmax = input<number>(100);\n\tindeterminate = input<boolean>(false);\n\tlabelPosition = input<'top' | 'bottom' | 'none'>('none');\n\n\tget componentClass() {\n\t\treturn cn(\n\t\t\tprogressComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t\tclass: this.classes(),\n\t\t\t}),\n\t\t);\n\t}\n}\n","<div class=\"flex flex-col items-center\">\n\t@if (value() >= 0 && labelPosition() === 'top') {\n\t\t<span typography [tyVariant]=\"'body-xs'\">{{ value() }} %</span>\n\t}\n\t<progress [class]=\"componentClass\" [attr.value]=\"!indeterminate() ? value() : null\" [max]=\"max()\"></progress>\n\t@if (value() >= 0 && labelPosition() === 'bottom') {\n\t\t<span typography [tyVariant]=\"'body-xs'\">{{ value() }} %</span>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAKa,iBAAiB,GAAG,GAAG,CAAC,CAAC,UAAU,CAAC,EAAE;AAClD,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;YACR,OAAO,EAAE,CAAC,kBAAkB,CAAC;YAC7B,SAAS,EAAE,CAAC,oBAAoB,CAAC;YACjC,OAAO,EAAE,CAAC,kBAAkB,CAAC;YAC7B,IAAI,EAAE,CAAC,eAAe,CAAC;YACvB,KAAK,EAAE,CAAC,gBAAgB,CAAC;YACzB,OAAO,EAAE,CAAC,kBAAkB,CAAC;YAC7B,MAAM,EAAE,CAAC,iBAAiB,CAA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A,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,aAAA,EAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,aAAA,EAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECpC9B,kbASA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDwBW,mBAAmB,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,WAAA,EAAA,SAAA,EAAA,cAAA,EAAA,gBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAGjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAP7B,SAAS;+BACC,aAAa,EAAA,UAAA,EAEX,IAAI,EACP,OAAA,EAAA,CAAC,mBAAmB,CAAC,EAAA,eAAA,EACb,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,kbAAA,EAAA,CAAA;;;AElChD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-progress.mjs","sources":["../../../projects/sdk/components/progress/src/progress.component.ts","../../../projects/sdk/components/progress/src/progress.component.html","../../../projects/sdk/components/progress/sixbell-telco-sdk-components-progress.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\n/**\n * @internal\n * Generates base progress bar classes with style variants\n */\nexport const progressComponent = cva(['progress'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tprimary: ['progress-primary'],\n\t\t\tsecondary: ['progress-secondary'],\n\t\t\tsuccess: ['progress-success'],\n\t\t\tinfo: ['progress-info'],\n\t\t\terror: ['progress-error'],\n\t\t\twarning: ['progress-warning'],\n\t\t\taccent: ['progress-accent'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tvariant: 'primary',\n\t},\n});\n\n/** Possible progress bar color variants */\nexport type ProgressVariantProps = 'primary' | 'secondary' | 'success' | 'info' | 'error' | 'warning' | 'accent' | null | undefined;\n\n/** Possible positions for progress bar label */\nexport type ProgressLabelPositionProps = 'top' | 'bottom' | 'none';\n\n/** Configuration object for progress bar styling */\nexport type ProgressProps = {\n\tvariant?: ProgressVariantProps;\n};\n\n/**\n * A customizable progress indicator component\n *\n * @remarks\n * Built with Tailwind CSS and class-variance-authority for style management.\n * Supports multiple color variants, indeterminate state, and label positioning.\n *\n * @example\n * ```html\n * <st-progress\n * variant=\"primary\"\n * [value]=\"75\"\n * labelPosition=\"top\"\n * ></st-progress>\n * ```\n *\n * @example\n * ```html\n * <st-progress\n * variant=\"success\"\n * [indeterminate]=\"true\"\n * ></st-progress>\n * ```\n */\n@Component({\n\tselector: 'st-progress',\n\ttemplateUrl: './progress.component.html',\n\timports: [TypographyDirective],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProgressComponent {\n\t/**\n\t * Progress bar color variant\n\t * @defaultValue 'primary'\n\t */\n\tvariant = input<ProgressVariantProps>();\n\n\t/**\n\t * Current progress value (0-100)\n\t * @defaultValue -1 (indeterminate when value < 0)\n\t */\n\tvalue = input<number>(-1);\n\n\t/**\n\t * Maximum progress value\n\t * @defaultValue 100\n\t */\n\tmax = input<number>(100);\n\n\t/**\n\t * Enable indeterminate animation\n\t * @defaultValue false\n\t */\n\tindeterminate = input<boolean>(false);\n\n\t/**\n\t * Position of progress value label\n\t * @defaultValue 'none'\n\t */\n\tlabelPosition = input<ProgressLabelPositionProps>('none');\n\n\t/**\n\t * @internal\n\t * Computed class string for the progress bar container\n\t */\n\tcomponentClass = computed(() =>\n\t\tcn(\n\t\t\tprogressComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t}),\n\t\t),\n\t);\n}\n","@let labelPositionVar = labelPosition();\n@let valueVar = value();\n@let indeterminateVar = indeterminate();\n@let maxVar = max();\n@let componentClassVar = componentClass();\n\n<div class=\"flex flex-col items-center gap-1\">\n\t@if (valueVar >= 0 && labelPositionVar === 'top') {\n\t\t<span typography [tyVariant]=\"'body-xs'\">{{ valueVar }} %</span>\n\t}\n\t<progress [class]=\"componentClassVar\" [attr.value]=\"!indeterminateVar ? valueVar : null\" [max]=\"maxVar\"></progress>\n\t@if (valueVar >= 0 && labelPositionVar === 'bottom') {\n\t\t<span typography [tyVariant]=\"'body-xs'\">{{ valueVar }} %</span>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAKA;;;AAGG;MACU,iBAAiB,GAAG,GAAG,CAAC,CAAC,UAAU,CAAC,EAAE;AAClD,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;YACR,OAAO,EAAE,CAAC,kBAAkB,CAAC;YAC7B,SAAS,EAAE,CAAC,oBAAoB,CAAC;YACjC,OAAO,EAAE,CAAC,kBAAkB,CAAC;YAC7B,IAAI,EAAE,CAAC,eAAe,CAAC;YACvB,KAAK,EAAE,CAAC,gBAAgB,CAAC;YACzB,OAAO,EAAE,CAAC,kBAAkB,CAAC;YAC7B,MAAM,EAAE,CAAC,iBAAiB,CAAC;AAC3B,SAAA;AACD,KAAA;AACD,IAAA,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AA,aAAA,EAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,aAAA,EAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECpE9B,snBAeA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDkDW,mBAAmB,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,WAAA,EAAA,SAAA,EAAA,cAAA,EAAA,gBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAGjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,WAEd,CAAC,mBAAmB,CAAC,EACb,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,snBAAA,EAAA;;;AElEhD;;AAEG;;;;"}
@@ -1,29 +1,29 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, Component, inject, ElementRef, Renderer2, effect, Directive, Host } from '@angular/core';
2
+ import { input, Component, inject, ElementRef, Renderer2, effect, Host, Directive } from '@angular/core';
3
3
  import { cn } from '@sixbell-telco/sdk/utils/cn';
4
4
  import { cva } from 'class-variance-authority';
5
5
 
6
6
  const tabComponent = cva(['tabs'], {
7
7
  variants: {
8
8
  variant: {
9
- bodexed: ['tabs-boxed'],
10
- bordered: ['tabs-bordered'],
11
- lifted: ['tabs-lifted'],
9
+ box: ['tabs-box'],
10
+ border: ['tabs-boder'],
11
+ lift: ['tabs-lift'],
12
12
  },
13
13
  size: {
14
- xs: ['tabs-xs', 'text-[0.823rem]'],
15
- sm: ['tabs-sm', 'text-[0.878rem]'],
16
- md: ['tabs-md', 'text-[0.937rem]'],
17
- lg: ['tabs-lg', 'text-base'],
14
+ xs: ['tabs-xs'],
15
+ sm: ['tabs-sm'],
16
+ md: ['tabs-md'],
17
+ lg: ['tabs-lg'],
18
18
  },
19
19
  },
20
20
  defaultVariants: {
21
- variant: 'bodexed',
21
+ variant: 'box',
22
22
  size: 'md',
23
23
  },
24
24
  });
25
25
  class TabComponent {
26
- variant = input('bodexed');
26
+ variant = input('box');
27
27
  size = input();
28
28
  disabled = input(false);
29
29
  active = input(false);
@@ -33,15 +33,15 @@ class TabComponent {
33
33
  size: this.size(),
34
34
  }));
35
35
  }
36
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
37
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.12", type: TabComponent, isStandalone: true, selector: "st-tab", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div role=\"tablist\" [class]=\"componentClass\">\n\t<ng-content></ng-content>\n</div>\n", styles: [""] });
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
37
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.1", type: TabComponent, isStandalone: true, selector: "st-tab", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div role=\"tablist\" [class]=\"componentClass\">\n\t<ng-content></ng-content>\n</div>\n", styles: [""] });
38
38
  }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TabComponent, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TabComponent, decorators: [{
40
40
  type: Component,
41
- args: [{ selector: 'st-tab', standalone: true, imports: [], template: "<div role=\"tablist\" [class]=\"componentClass\">\n\t<ng-content></ng-content>\n</div>\n" }]
41
+ args: [{ selector: 'st-tab', imports: [], template: "<div role=\"tablist\" [class]=\"componentClass\">\n\t<ng-content></ng-content>\n</div>\n" }]
42
42
  }] });
43
43
 
44
- const tabContentDirective = cva(['tab-content', 'rounded-box'], {
44
+ const tabContentDirective = cva(['tab-content', 'border-base-300', 'bg-base-100'], {
45
45
  variants: {
46
46
  padding: {
47
47
  xs: 'p-2',
@@ -66,17 +66,17 @@ class TabContentDirective {
66
66
  get componentClass() {
67
67
  return cn(tabContentDirective({
68
68
  padding: this.padding(),
69
- }), { 'bg-base-100': this.tabComponent.variant() === 'lifted' });
69
+ }), { 'bg-base-100': this.tabComponent.variant() === 'lift' });
70
70
  }
71
71
  classListEffect = effect(() => {
72
72
  const classList = this.componentClass;
73
73
  this.renderer.setAttribute(this.element.nativeElement, 'class', classList);
74
74
  this.renderer.setAttribute(this.element.nativeElement, 'role', 'tabpanel');
75
75
  });
76
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TabContentDirective, deps: [{ token: TabComponent, host: true }], target: i0.ɵɵFactoryTarget.Directive });
77
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.12", type: TabContentDirective, isStandalone: true, selector: "div[tab-content]", inputs: { padding: { classPropertyName: "padding", publicName: "padding", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
76
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TabContentDirective, deps: [{ token: TabComponent, host: true }], target: i0.ɵɵFactoryTarget.Directive });
77
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.1", type: TabContentDirective, isStandalone: true, selector: "div[tab-content]", inputs: { padding: { classPropertyName: "padding", publicName: "padding", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TabContentDirective, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TabContentDirective, decorators: [{
80
80
  type: Directive,
81
81
  args: [{
82
82
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -127,10 +127,10 @@ class TabHeaderDirective {
127
127
  this.renderer.setAttribute(this.element.nativeElement, 'role', 'tab');
128
128
  this.renderer.setAttribute(this.element.nativeElement, 'tabindex', '0');
129
129
  });
130
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TabHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
131
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.12", type: TabHeaderDirective, isStandalone: true, selector: "a[tab-header]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, classes: { classPropertyName: "classes", publicName: "classes", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
130
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TabHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
131
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.1", type: TabHeaderDirective, isStandalone: true, selector: "a[tab-header]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, classes: { classPropertyName: "classes", publicName: "classes", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
132
132
  }
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TabHeaderDirective, decorators: [{
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TabHeaderDirective, decorators: [{
134
134
  type: Directive,
135
135
  args: [{
136
136
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-tab.mjs","sources":["../../../projects/sdk/components/tab/src/tab.component.ts","../../../projects/sdk/components/tab/src/tab.component.html","../../../projects/sdk/components/tab/directives/tab-content/tab-content.directive.ts","../../../projects/sdk/components/tab/directives/tab-header/tab-header.directive.ts","../../../projects/sdk/components/tab/sixbell-telco-sdk-components-tab.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\nimport { TabHeaderVariantProps } from '../directives/tab-header/tab-header.directive';\n\nexport type Tab = {\n\tid: string;\n\tlabel: string;\n\tstatus: TabHeaderVariantProps;\n};\n\nexport const tabComponent = cva(['tabs'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tbodexed: ['tabs-boxed'],\n\t\t\tbordered: ['tabs-bordered'],\n\t\t\tlifted: ['tabs-lifted'],\n\t\t},\n\t\tsize: {\n\t\t\txs: ['tabs-xs', 'text-[0.823rem]'],\n\t\t\tsm: ['tabs-sm', 'text-[0.878rem]'],\n\t\t\tmd: ['tabs-md', 'text-[0.937rem]'],\n\t\t\tlg: ['tabs-lg', 'text-base'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: 'bodexed',\n\t\tsize: 'md',\n\t},\n});\n\nexport type TabVariantProps = 'bodexed' | 'bordered' | 'lifted' | null | undefined;\nexport type TabSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;\n\nexport type TabProps = {\n\tvariant?: TabVariantProps;\n\tsize?: TabSizeProps;\n};\n\n@Component({\n\tselector: 'st-tab',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './tab.component.html',\n\tstyles: '',\n})\nexport class TabComponent {\n\tvariant = input<TabVariantProps>('bodexed');\n\tsize = input<TabSizeProps>();\n\tdisabled = input<boolean>(false);\n\tactive = input<boolean>(false);\n\n\tget componentClass() {\n\t\treturn cn(\n\t\t\ttabComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t\tsize: this.size(),\n\t\t\t}),\n\t\t);\n\t}\n}\n","<div role=\"tablist\" [class]=\"componentClass\">\n\t<ng-content></ng-content>\n</div>\n","import { Directive, effect, ElementRef, Host, inject, input, Renderer2 } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\nimport { TabComponent } from '../../src/tab.component';\n\nconst tabContentDirective = cva(['tab-content', 'rounded-box'], {\n\tvariants: {\n\t\tpadding: {\n\t\t\txs: 'p-2',\n\t\t\tsm: 'p-5',\n\t\t\tmd: 'p-10',\n\t\t\tlg: 'p-20',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tpadding: 'md',\n\t},\n});\n\nexport type TabContentVariantProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;\n\nexport type TabContentDirectiveProps = {\n\tvariant?: TabContentVariantProps;\n};\n\n@Directive({\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: 'div[tab-content]',\n\tstandalone: true,\n})\nexport class TabContentDirective {\n\tpadding = input<TabContentVariantProps>();\n\tlabel = input<string>('');\n\n\tprivate element: ElementRef = inject(ElementRef);\n\tprivate renderer: Renderer2 = inject(Renderer2);\n\n\tconstructor(@Host() private tabComponent: TabComponent) {}\n\n\tget componentClass() {\n\t\treturn cn(\n\t\t\ttabContentDirective({\n\t\t\t\tpadding: this.padding(),\n\t\t\t}),\n\t\t\t{ 'bg-base-100': this.tabComponent.variant() === 'lifted' },\n\t\t);\n\t}\n\n\tclassListEffect = effect(() => {\n\t\tconst classList = this.componentClass;\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'class', classList);\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'role', 'tabpanel');\n\t});\n}\n","import { Directive, effect, ElementRef, inject, input, Renderer2 } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\nconst tabHeaderDirective = cva(['tab'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: '',\n\t\t\tactive: 'tab-active',\n\t\t\tdisabled: 'tab-disabled',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: 'default',\n\t},\n});\n\nexport type TabHeaderVariantProps = 'default' | 'active' | 'disabled' | null | undefined;\n\nexport type TabHeaderDirectiveProps = {\n\tvariant?: TabHeaderVariantProps;\n};\n\n@Directive({\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: 'a[tab-header]',\n\tstandalone: true,\n})\nexport class TabHeaderDirective {\n\tvariant = input<TabHeaderVariantProps>();\n\tclasses = input<string>('');\n\tstatus = input<TabHeaderVariantProps>();\n\tlabel = input<string>('');\n\n\tprivate element: ElementRef = inject(ElementRef);\n\tprivate renderer: Renderer2 = inject(Renderer2);\n\n\tget componentClass() {\n\t\tif (this.status()) {\n\t\t\treturn cn(\n\t\t\t\ttabHeaderDirective({\n\t\t\t\t\tvariant: this.status(),\n\t\t\t\t\tclass: this.classes(),\n\t\t\t\t}),\n\t\t\t);\n\t\t} else {\n\t\t\treturn cn(\n\t\t\t\ttabHeaderDirective({\n\t\t\t\t\tvariant: this.variant(),\n\t\t\t\t\tclass: this.classes(),\n\t\t\t\t}),\n\t\t\t);\n\t\t}\n\t}\n\n\tclassListEffect = effect(() => {\n\t\tconst classList = this.componentClass;\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'class', classList);\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'aria-label', this.label());\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'role', 'tab');\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'tabindex', '0');\n\t});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.TabComponent"],"mappings":";;;;;MAWa,YAAY,GAAG,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE;AACzC,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;YACR,OAAO,EAAE,CAAC,YAAY,CAAC;YACvB,QAAQ,EAAE,CAAC,eAAe,CAAC;YAC3B,MAAM,EAAE,CAAC,aAAa,CAAC;AACvB,SAAA;AACD,QAAA,IAAI,EAAE;AACL,YAAA,EAAE,EAAE,CAAC,SAAS,EAAE,iBAAiB,CAAC;AAClC,YAAA,EAAE,EAAE,CAAC,SAAS,EAAE,iBAAiB,CAAC;AAClC,YAAA,EAAE,EAAE,CAAC,SAAS,EAAE,iBAAiB,CAAC;AAClC,YAAA,EAAE,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC;AAC5B,SAAA;AACD,KAAA;AACD,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AA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAL9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;;AAEV,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;AC3BD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-tab.mjs","sources":["../../../projects/sdk/components/tab/src/tab.component.ts","../../../projects/sdk/components/tab/src/tab.component.html","../../../projects/sdk/components/tab/directives/tab-content/tab-content.directive.ts","../../../projects/sdk/components/tab/directives/tab-header/tab-header.directive.ts","../../../projects/sdk/components/tab/sixbell-telco-sdk-components-tab.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\nimport { TabHeaderVariantProps } from '../directives/tab-header/tab-header.directive';\n\nexport type Tab = {\n\tid: string;\n\tlabel: string;\n\tstatus: TabHeaderVariantProps;\n};\n\nexport const tabComponent = cva(['tabs'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tbox: ['tabs-box'],\n\t\t\tborder: ['tabs-boder'],\n\t\t\tlift: ['tabs-lift'],\n\t\t},\n\t\tsize: {\n\t\t\txs: ['tabs-xs'],\n\t\t\tsm: ['tabs-sm'],\n\t\t\tmd: ['tabs-md'],\n\t\t\tlg: ['tabs-lg'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: 'box',\n\t\tsize: 'md',\n\t},\n});\n\nexport type TabVariantProps = 'box' | 'border' | 'lift' | null | undefined;\nexport type TabSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;\n\nexport type TabProps = {\n\tvariant?: TabVariantProps;\n\tsize?: TabSizeProps;\n};\n\n@Component({\n\tselector: 'st-tab',\n\timports: [],\n\ttemplateUrl: './tab.component.html',\n\tstyles: '',\n})\nexport class TabComponent {\n\tvariant = input<TabVariantProps>('box');\n\tsize = input<TabSizeProps>();\n\tdisabled = input<boolean>(false);\n\tactive = input<boolean>(false);\n\n\tget componentClass() {\n\t\treturn cn(\n\t\t\ttabComponent({\n\t\t\t\tvariant: this.variant(),\n\t\t\t\tsize: this.size(),\n\t\t\t}),\n\t\t);\n\t}\n}\n","<div role=\"tablist\" [class]=\"componentClass\">\n\t<ng-content></ng-content>\n</div>\n","import { Directive, effect, ElementRef, Host, inject, input, Renderer2 } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\nimport { TabComponent } from '../../src/tab.component';\n\nconst tabContentDirective = cva(['tab-content', 'border-base-300', 'bg-base-100'], {\n\tvariants: {\n\t\tpadding: {\n\t\t\txs: 'p-2',\n\t\t\tsm: 'p-5',\n\t\t\tmd: 'p-10',\n\t\t\tlg: 'p-20',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tpadding: 'md',\n\t},\n});\n\nexport type TabContentVariantProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;\n\nexport type TabContentDirectiveProps = {\n\tvariant?: TabContentVariantProps;\n};\n\n@Directive({\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: 'div[tab-content]',\n\tstandalone: true,\n})\nexport class TabContentDirective {\n\tpadding = input<TabContentVariantProps>();\n\tlabel = input<string>('');\n\n\tprivate element: ElementRef = inject(ElementRef);\n\tprivate renderer: Renderer2 = inject(Renderer2);\n\n\tconstructor(@Host() private tabComponent: TabComponent) {}\n\n\tget componentClass() {\n\t\treturn cn(\n\t\t\ttabContentDirective({\n\t\t\t\tpadding: this.padding(),\n\t\t\t}),\n\t\t\t{ 'bg-base-100': this.tabComponent.variant() === 'lift' },\n\t\t);\n\t}\n\n\tclassListEffect = effect(() => {\n\t\tconst classList = this.componentClass;\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'class', classList);\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'role', 'tabpanel');\n\t});\n}\n","import { Directive, effect, ElementRef, inject, input, Renderer2 } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\nconst tabHeaderDirective = cva(['tab'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: '',\n\t\t\tactive: 'tab-active',\n\t\t\tdisabled: 'tab-disabled',\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: 'default',\n\t},\n});\n\nexport type TabHeaderVariantProps = 'default' | 'active' | 'disabled' | null | undefined;\n\nexport type TabHeaderDirectiveProps = {\n\tvariant?: TabHeaderVariantProps;\n};\n\n@Directive({\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: 'a[tab-header]',\n\tstandalone: true,\n})\nexport class TabHeaderDirective {\n\tvariant = input<TabHeaderVariantProps>();\n\tclasses = input<string>('');\n\tstatus = input<TabHeaderVariantProps>();\n\tlabel = input<string>('');\n\n\tprivate element: ElementRef = inject(ElementRef);\n\tprivate renderer: Renderer2 = inject(Renderer2);\n\n\tget componentClass() {\n\t\tif (this.status()) {\n\t\t\treturn cn(\n\t\t\t\ttabHeaderDirective({\n\t\t\t\t\tvariant: this.status(),\n\t\t\t\t\tclass: this.classes(),\n\t\t\t\t}),\n\t\t\t);\n\t\t} else {\n\t\t\treturn cn(\n\t\t\t\ttabHeaderDirective({\n\t\t\t\t\tvariant: this.variant(),\n\t\t\t\t\tclass: this.classes(),\n\t\t\t\t}),\n\t\t\t);\n\t\t}\n\t}\n\n\tclassListEffect = effect(() => {\n\t\tconst classList = this.componentClass;\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'class', classList);\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'aria-label', this.label());\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'role', 'tab');\n\t\tthis.renderer.setAttribute(this.element.nativeElement, 'tabindex', '0');\n\t});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.TabComponent"],"mappings":";;;;;MAWa,YAAY,GAAG,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE;AACzC,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;YACR,GAAG,EAAE,CAAC,UAAU,CAAC;YACjB,MAAM,EAAE,CAAC,YAAY,CAAC;YACtB,IAAI,EAAE,CAAC,WAAW,CAAC;AACnB,SAAA;AACD,QAAA,IAAI,EAAE;YACL,EAAE,EAAE,CAAC,SAAS,CAAC;YACf,EAAE,EAAE,CAAC,SAAS,CAAC;YACf,EAAE,EAAE,CAAC,SAAS,CAAC;YACf,EAAE,EAAE,CAAC,SAAS,CAAC;AACf,SAAA;AACD,KAAA;AACD,IAAA,eAAe,EAAE;AAChB,QAAA,OAAO,EAAE,KAAK;AACd,QAAA,IAAI,EAAE,IAAI;AACV,KAAA;AACD,CAAA;MAgBY,YAAY,CAAA;AACxB,IAAA,OAAO,GAAG,KAAK,CAAkB,KAAK,CAAC;IACvC,IAAI,GAAG,KAAK,EAAgB;AAC5B,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,CAAC;AA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