@sixbell-telco/sdk 0.10.1 → 0.12.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 (334) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/README.md +30 -280
  3. package/_index.css +452 -0
  4. package/assets/styles/combobox.css +197 -0
  5. package/components/accordion/accordion-item/accordion-item.component.d.ts +1 -1
  6. package/components/audio-player/audio-timeline/audio-timeline.component.d.ts +2 -2
  7. package/components/audio-player/button-play/button-play.component.d.ts +6 -6
  8. package/components/audio-player/services/audio.service.d.ts +1 -0
  9. package/components/audio-player/src/audio-player.component.d.ts +1 -0
  10. package/components/audio-player/volume-control/volume-control.component.d.ts +2 -2
  11. package/components/avatar/src/avatar.component.d.ts +1 -1
  12. package/components/badge/src/badge.component.d.ts +69 -7
  13. package/components/button/src/button.component.d.ts +23 -9
  14. package/components/card/card-actions/card-actions.component.d.ts +29 -1
  15. package/components/card/card-content/card-content.component.d.ts +25 -0
  16. package/components/card/card-title/card-title.component.d.ts +22 -0
  17. package/components/card/src/card.component.d.ts +90 -5
  18. package/components/countdown/src/countdown.component.d.ts +2 -2
  19. package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +35 -2
  20. package/components/dropdown/src/dropdown.component.d.ts +151 -9
  21. package/components/dual-list/src/dual-list.component.d.ts +6 -6
  22. package/components/file-upload/file-dropzone/file-dropzone.component.d.ts +254 -0
  23. package/components/file-upload/file-uploader/file-uploader.component.d.ts +209 -0
  24. package/components/file-upload/index.d.ts +5 -0
  25. package/components/file-upload/public-api.d.ts +4 -0
  26. package/components/file-upload/shared/types/file-upload.d.ts +8 -0
  27. package/components/forms/checkbox/src/checkbox.component.d.ts +68 -5
  28. package/components/forms/combobox/src/combobox.component.d.ts +3 -3
  29. package/components/forms/datepicker/src/datepicker.component.d.ts +2 -2
  30. package/components/forms/form-error/src/form-error.component.d.ts +8 -1
  31. package/components/forms/input/input-content/input-content.component.d.ts +8 -0
  32. package/components/forms/input/public-api.d.ts +1 -0
  33. package/components/forms/input/src/input.component.d.ts +148 -25
  34. package/components/forms/radio/src/radio.component.d.ts +83 -7
  35. package/components/forms/range/src/range.component.d.ts +101 -6
  36. package/components/forms/select/src/select.component.d.ts +139 -13
  37. package/components/forms/switch/src/switch.component.d.ts +74 -7
  38. package/components/forms/textarea/src/textarea.component.d.ts +172 -16
  39. package/components/forms/toggle/src/toggle.component.d.ts +3 -3
  40. package/components/icon/src/icon.component.d.ts +3 -3
  41. package/components/link/src/link.component.d.ts +1 -1
  42. package/components/modal/modal-actions/modal-actions.component.d.ts +1 -1
  43. package/components/modal/src/modal.component.d.ts +10 -10
  44. package/components/notification/src/notification.component.d.ts +2 -3
  45. package/components/paginator/components/pagination-item/pagination-item.component.d.ts +64 -15
  46. package/components/paginator/src/paginator.component.d.ts +93 -2
  47. package/components/product-card/src/product-card.component.d.ts +6 -6
  48. package/components/progress/src/progress.component.d.ts +59 -4
  49. package/components/tab/directives/tab-content/tab-content.directive.d.ts +1 -1
  50. package/components/tab/directives/tab-header/tab-header.directive.d.ts +1 -1
  51. package/components/tab/src/tab.component.d.ts +3 -3
  52. package/components/table/src/table.component.d.ts +15 -11
  53. package/components/toast/toast-message/toast-message.component.d.ts +3 -3
  54. package/components/tooltip/public-api.d.ts +1 -0
  55. package/components/tooltip/src/tooltip.component.d.ts +66 -5
  56. package/components/tooltip/tooltip-content/tooltip-content.component.d.ts +38 -0
  57. package/components/wizard/wizard-actions/wizard-actions.component.d.ts +1 -1
  58. package/components/wizard/wizard-wrapper/wizard-wrapper.component.d.ts +20 -20
  59. package/directives/auto-focus/index.d.ts +5 -0
  60. package/directives/auto-focus/public-api.d.ts +1 -0
  61. package/directives/auto-focus/src/autofocus.directive.d.ts +93 -0
  62. package/directives/click-outside/src/click-outside.directive.d.ts +48 -3
  63. package/directives/only-numbers/index.d.ts +5 -0
  64. package/directives/only-numbers/public-api.d.ts +1 -0
  65. package/directives/only-numbers/src/only-numbers.directive.d.ts +9 -0
  66. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +10 -12
  67. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
  68. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +71 -50
  69. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
  70. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +7 -7
  71. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  72. package/fesm2022/sixbell-telco-sdk-components-badge.mjs +92 -47
  73. package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
  74. package/fesm2022/sixbell-telco-sdk-components-button.mjs +35 -28
  75. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  76. package/fesm2022/sixbell-telco-sdk-components-card.mjs +194 -32
  77. package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
  78. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +7 -7
  79. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
  80. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +201 -30
  81. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  82. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +18 -16
  83. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  84. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +706 -0
  85. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -0
  86. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +85 -25
  87. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
  88. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +20 -20
  89. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  90. package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs +11 -11
  91. package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs.map +1 -1
  92. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +12 -4
  93. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
  94. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +221 -122
  95. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  96. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +98 -26
  97. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
  98. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +117 -25
  99. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
  100. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +190 -65
  101. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  102. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +95 -45
  103. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
  104. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +229 -80
  105. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  106. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +56 -243
  107. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
  108. package/fesm2022/sixbell-telco-sdk-components-icon.mjs +14 -15
  109. package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
  110. package/fesm2022/sixbell-telco-sdk-components-link.mjs +16 -16
  111. package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
  112. package/fesm2022/sixbell-telco-sdk-components-modal.mjs +39 -36
  113. package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
  114. package/fesm2022/sixbell-telco-sdk-components-notification.mjs +12 -9
  115. package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
  116. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +189 -59
  117. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  118. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +34 -39
  119. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
  120. package/fesm2022/sixbell-telco-sdk-components-progress.mjs +60 -12
  121. package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
  122. package/fesm2022/sixbell-telco-sdk-components-tab.mjs +32 -34
  123. package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
  124. package/fesm2022/sixbell-telco-sdk-components-table.mjs +50 -48
  125. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  126. package/fesm2022/sixbell-telco-sdk-components-toast.mjs +28 -44
  127. package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
  128. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +111 -9
  129. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
  130. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +59 -59
  131. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
  132. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +206 -0
  133. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -0
  134. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +54 -11
  135. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -1
  136. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +52 -0
  137. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -0
  138. package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +14 -13
  139. package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
  140. package/fesm2022/sixbell-telco-sdk-utils-cn.mjs.map +1 -1
  141. package/fesm2022/sixbell-telco-sdk-utils-generators-uuid.mjs.map +1 -1
  142. package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs +3 -3
  143. package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs.map +1 -1
  144. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs +3 -3
  145. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs.map +1 -1
  146. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs +3 -3
  147. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs.map +1 -1
  148. package/package.json +51 -147
  149. package/_index.scss +0 -146
  150. package/assets/styles/combobox.scss +0 -454
  151. package/components/file-upload/file-dropzone/index.d.ts +0 -5
  152. package/components/file-upload/file-dropzone/public-api.d.ts +0 -1
  153. package/components/file-upload/file-dropzone/src/file-dropzone.component.d.ts +0 -68
  154. package/components/file-upload/file-uploader/index.d.ts +0 -5
  155. package/components/file-upload/file-uploader/public-api.d.ts +0 -1
  156. package/components/file-upload/file-uploader/src/file-uploader.component.d.ts +0 -46
  157. package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +0 -43
  158. package/esm2022/components/accordion/public-api.mjs +0 -3
  159. package/esm2022/components/accordion/sixbell-telco-sdk-components-accordion.mjs +0 -5
  160. package/esm2022/components/accordion/src/accordion.component.mjs +0 -13
  161. package/esm2022/components/audio-player/audio-timeline/audio-timeline.component.mjs +0 -76
  162. package/esm2022/components/audio-player/button-play/button-play.component.mjs +0 -71
  163. package/esm2022/components/audio-player/public-api.mjs +0 -4
  164. package/esm2022/components/audio-player/services/audio.service.mjs +0 -189
  165. package/esm2022/components/audio-player/sixbell-telco-sdk-components-audio-player.mjs +0 -5
  166. package/esm2022/components/audio-player/src/audio-player.component.mjs +0 -105
  167. package/esm2022/components/audio-player/track-info/track-info.component.mjs +0 -18
  168. package/esm2022/components/audio-player/volume-control/volume-control.component.mjs +0 -83
  169. package/esm2022/components/avatar/public-api.mjs +0 -2
  170. package/esm2022/components/avatar/sixbell-telco-sdk-components-avatar.mjs +0 -5
  171. package/esm2022/components/avatar/src/avatar.component.mjs +0 -149
  172. package/esm2022/components/badge/public-api.mjs +0 -2
  173. package/esm2022/components/badge/sixbell-telco-sdk-components-badge.mjs +0 -5
  174. package/esm2022/components/badge/src/badge.component.mjs +0 -77
  175. package/esm2022/components/button/public-api.mjs +0 -2
  176. package/esm2022/components/button/sixbell-telco-sdk-components-button.mjs +0 -5
  177. package/esm2022/components/button/src/button.component.mjs +0 -182
  178. package/esm2022/components/card/card-actions/card-actions.component.mjs +0 -22
  179. package/esm2022/components/card/card-content/card-content.component.mjs +0 -12
  180. package/esm2022/components/card/card-title/card-title.component.mjs +0 -12
  181. package/esm2022/components/card/public-api.mjs +0 -5
  182. package/esm2022/components/card/sixbell-telco-sdk-components-card.mjs +0 -5
  183. package/esm2022/components/card/src/card.component.mjs +0 -32
  184. package/esm2022/components/countdown/public-api.mjs +0 -2
  185. package/esm2022/components/countdown/sixbell-telco-sdk-components-countdown.mjs +0 -5
  186. package/esm2022/components/countdown/src/countdown.component.mjs +0 -57
  187. package/esm2022/components/dropdown/dropdown-item/dropdown-item.component.mjs +0 -24
  188. package/esm2022/components/dropdown/public-api.mjs +0 -3
  189. package/esm2022/components/dropdown/sixbell-telco-sdk-components-dropdown.mjs +0 -5
  190. package/esm2022/components/dropdown/src/dropdown.component.mjs +0 -127
  191. package/esm2022/components/dual-list/public-api.mjs +0 -2
  192. package/esm2022/components/dual-list/sixbell-telco-sdk-components-dual-list.mjs +0 -5
  193. package/esm2022/components/dual-list/src/dual-list.component.mjs +0 -184
  194. package/esm2022/components/file-upload/file-dropzone/public-api.mjs +0 -2
  195. package/esm2022/components/file-upload/file-dropzone/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +0 -5
  196. package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +0 -232
  197. package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.constants.mjs +0 -7
  198. package/esm2022/components/file-upload/file-uploader/public-api.mjs +0 -2
  199. package/esm2022/components/file-upload/file-uploader/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +0 -5
  200. package/esm2022/components/file-upload/file-uploader/src/file-uploader.component.mjs +0 -115
  201. package/esm2022/components/forms/checkbox/public-api.mjs +0 -2
  202. package/esm2022/components/forms/checkbox/sixbell-telco-sdk-components-forms-checkbox.mjs +0 -5
  203. package/esm2022/components/forms/checkbox/src/checkbox.component.mjs +0 -94
  204. package/esm2022/components/forms/combobox/public-api.mjs +0 -2
  205. package/esm2022/components/forms/combobox/sixbell-telco-sdk-components-forms-combobox.mjs +0 -5
  206. package/esm2022/components/forms/combobox/src/combobox.component.mjs +0 -188
  207. package/esm2022/components/forms/datepicker/public-api.mjs +0 -3
  208. package/esm2022/components/forms/datepicker/sixbell-telco-sdk-components-forms-datepicker.mjs +0 -5
  209. package/esm2022/components/forms/datepicker/src/datepicker-format-month.pipe.mjs +0 -20
  210. package/esm2022/components/forms/datepicker/src/datepicker.component.mjs +0 -190
  211. package/esm2022/components/forms/form-error/public-api.mjs +0 -2
  212. package/esm2022/components/forms/form-error/sixbell-telco-sdk-components-forms-form-error.mjs +0 -5
  213. package/esm2022/components/forms/form-error/src/form-error.component.mjs +0 -25
  214. package/esm2022/components/forms/input/public-api.mjs +0 -2
  215. package/esm2022/components/forms/input/sixbell-telco-sdk-components-forms-input.mjs +0 -5
  216. package/esm2022/components/forms/input/src/input.component.mjs +0 -202
  217. package/esm2022/components/forms/radio/public-api.mjs +0 -2
  218. package/esm2022/components/forms/radio/sixbell-telco-sdk-components-forms-radio.mjs +0 -5
  219. package/esm2022/components/forms/radio/src/radio.component.mjs +0 -96
  220. package/esm2022/components/forms/range/public-api.mjs +0 -2
  221. package/esm2022/components/forms/range/sixbell-telco-sdk-components-forms-range.mjs +0 -5
  222. package/esm2022/components/forms/range/src/range.component.mjs +0 -103
  223. package/esm2022/components/forms/select/public-api.mjs +0 -2
  224. package/esm2022/components/forms/select/sixbell-telco-sdk-components-forms-select.mjs +0 -5
  225. package/esm2022/components/forms/select/src/select.component.mjs +0 -162
  226. package/esm2022/components/forms/switch/public-api.mjs +0 -2
  227. package/esm2022/components/forms/switch/sixbell-telco-sdk-components-forms-switch.mjs +0 -5
  228. package/esm2022/components/forms/switch/src/switch.component.mjs +0 -108
  229. package/esm2022/components/forms/textarea/public-api.mjs +0 -2
  230. package/esm2022/components/forms/textarea/sixbell-telco-sdk-components-forms-textarea.mjs +0 -5
  231. package/esm2022/components/forms/textarea/src/textarea.component.mjs +0 -168
  232. package/esm2022/components/forms/toggle/public-api.mjs +0 -2
  233. package/esm2022/components/forms/toggle/sixbell-telco-sdk-components-forms-toggle.mjs +0 -5
  234. package/esm2022/components/forms/toggle/src/toggle.component.mjs +0 -404
  235. package/esm2022/components/icon/heroicons/mini/public-api.mjs +0 -2
  236. package/esm2022/components/icon/heroicons/mini/sixbell-telco-sdk-components-icon-heroicons-mini.mjs +0 -5
  237. package/esm2022/components/icon/heroicons/outline/public-api.mjs +0 -2
  238. package/esm2022/components/icon/heroicons/outline/sixbell-telco-sdk-components-icon-heroicons-outline.mjs +0 -5
  239. package/esm2022/components/icon/heroicons/solid/public-api.mjs +0 -2
  240. package/esm2022/components/icon/heroicons/solid/sixbell-telco-sdk-components-icon-heroicons-solid.mjs +0 -5
  241. package/esm2022/components/icon/ionicons/public-api.mjs +0 -2
  242. package/esm2022/components/icon/ionicons/sixbell-telco-sdk-components-icon-ionicons.mjs +0 -5
  243. package/esm2022/components/icon/material/baseline/public-api.mjs +0 -2
  244. package/esm2022/components/icon/material/baseline/sixbell-telco-sdk-components-icon-material-baseline.mjs +0 -5
  245. package/esm2022/components/icon/material/outline/public-api.mjs +0 -2
  246. package/esm2022/components/icon/material/outline/sixbell-telco-sdk-components-icon-material-outline.mjs +0 -5
  247. package/esm2022/components/icon/material/round/public-api.mjs +0 -2
  248. package/esm2022/components/icon/material/round/sixbell-telco-sdk-components-icon-material-round.mjs +0 -5
  249. package/esm2022/components/icon/material/sharp/public-api.mjs +0 -2
  250. package/esm2022/components/icon/material/sharp/sixbell-telco-sdk-components-icon-material-sharp.mjs +0 -5
  251. package/esm2022/components/icon/public-api.mjs +0 -2
  252. package/esm2022/components/icon/sixbell-telco-sdk-components-icon.mjs +0 -5
  253. package/esm2022/components/icon/src/icon.component.mjs +0 -42
  254. package/esm2022/components/link/public-api.mjs +0 -2
  255. package/esm2022/components/link/sixbell-telco-sdk-components-link.mjs +0 -5
  256. package/esm2022/components/link/src/link.component.mjs +0 -63
  257. package/esm2022/components/modal/modal-actions/modal-actions.component.mjs +0 -22
  258. package/esm2022/components/modal/modal-content/modal-content.component.mjs +0 -12
  259. package/esm2022/components/modal/modal-title/modal-title.component.mjs +0 -13
  260. package/esm2022/components/modal/public-api.mjs +0 -5
  261. package/esm2022/components/modal/sixbell-telco-sdk-components-modal.mjs +0 -5
  262. package/esm2022/components/modal/src/modal.component.mjs +0 -154
  263. package/esm2022/components/notification/public-api.mjs +0 -2
  264. package/esm2022/components/notification/sixbell-telco-sdk-components-notification.mjs +0 -5
  265. package/esm2022/components/notification/src/notification.component.mjs +0 -55
  266. package/esm2022/components/paginator/components/pagination-item/pagination-item.component.mjs +0 -113
  267. package/esm2022/components/paginator/public-api.mjs +0 -3
  268. package/esm2022/components/paginator/sixbell-telco-sdk-components-paginator.mjs +0 -5
  269. package/esm2022/components/paginator/src/paginator.component.mjs +0 -52
  270. package/esm2022/components/product-card/directives/product-card-actions.directive.mjs +0 -15
  271. package/esm2022/components/product-card/directives/product-card-content.directive.mjs +0 -15
  272. package/esm2022/components/product-card/directives/product-card-header.directive.mjs +0 -15
  273. package/esm2022/components/product-card/public-api.mjs +0 -5
  274. package/esm2022/components/product-card/sixbell-telco-sdk-components-product-card.mjs +0 -5
  275. package/esm2022/components/product-card/src/product-card.component.mjs +0 -137
  276. package/esm2022/components/progress/public-api.mjs +0 -2
  277. package/esm2022/components/progress/sixbell-telco-sdk-components-progress.mjs +0 -5
  278. package/esm2022/components/progress/src/progress.component.mjs +0 -43
  279. package/esm2022/components/tab/directives/tab-content/tab-content.directive.mjs +0 -51
  280. package/esm2022/components/tab/directives/tab-header/tab-header.directive.mjs +0 -56
  281. package/esm2022/components/tab/public-api.mjs +0 -4
  282. package/esm2022/components/tab/sixbell-telco-sdk-components-tab.mjs +0 -5
  283. package/esm2022/components/tab/src/tab.component.mjs +0 -42
  284. package/esm2022/components/table/public-api.mjs +0 -4
  285. package/esm2022/components/table/sixbell-telco-sdk-components-table.mjs +0 -5
  286. package/esm2022/components/table/src/table.component.mjs +0 -283
  287. package/esm2022/components/table/table-header-checkbox/table-header-checkbox.component.mjs +0 -67
  288. package/esm2022/components/table/table-row-checkbox/table-row-checkbox.component.mjs +0 -72
  289. package/esm2022/components/toast/public-api.mjs +0 -4
  290. package/esm2022/components/toast/services/toast.service.mjs +0 -67
  291. package/esm2022/components/toast/sixbell-telco-sdk-components-toast.mjs +0 -5
  292. package/esm2022/components/toast/toast-message/toast-message.component.mjs +0 -80
  293. package/esm2022/components/toast/toasts-container/toasts-container.component.mjs +0 -41
  294. package/esm2022/components/tooltip/public-api.mjs +0 -2
  295. package/esm2022/components/tooltip/sixbell-telco-sdk-components-tooltip.mjs +0 -5
  296. package/esm2022/components/tooltip/src/tooltip.component.mjs +0 -45
  297. package/esm2022/components/wizard/public-api.mjs +0 -5
  298. package/esm2022/components/wizard/services/wizard.service.mjs +0 -312
  299. package/esm2022/components/wizard/sixbell-telco-sdk-components-wizard.mjs +0 -5
  300. package/esm2022/components/wizard/wizard-actions/wizard-actions.component.mjs +0 -22
  301. package/esm2022/components/wizard/wizard-content/wizard-content.component.mjs +0 -84
  302. package/esm2022/components/wizard/wizard-marker/wizard-marker.component.mjs +0 -111
  303. package/esm2022/components/wizard/wizard-step/wizard-step.component.mjs +0 -126
  304. package/esm2022/components/wizard/wizard-sub-step/wizard-sub-step.component.mjs +0 -121
  305. package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +0 -173
  306. package/esm2022/directives/click-outside/public-api.mjs +0 -2
  307. package/esm2022/directives/click-outside/sixbell-telco-sdk-directives-click-outside.mjs +0 -5
  308. package/esm2022/directives/click-outside/src/click-outside.directive.mjs +0 -30
  309. package/esm2022/directives/typography/public-api.mjs +0 -2
  310. package/esm2022/directives/typography/sixbell-telco-sdk-directives-typography.mjs +0 -5
  311. package/esm2022/directives/typography/src/typography.directive.mjs +0 -118
  312. package/esm2022/public_api.mjs +0 -2
  313. package/esm2022/sixbell-telco-sdk.mjs +0 -5
  314. package/esm2022/utils/cn/public-api.mjs +0 -2
  315. package/esm2022/utils/cn/sixbell-telco-sdk-utils-cn.mjs +0 -5
  316. package/esm2022/utils/cn/src/cn.mjs +0 -6
  317. package/esm2022/utils/generators/uuid/public-api.mjs +0 -2
  318. package/esm2022/utils/generators/uuid/sixbell-telco-sdk-utils-generators-uuid.mjs +0 -5
  319. package/esm2022/utils/generators/uuid/src/uuid.mjs +0 -5
  320. package/esm2022/utils/pipes/extract-extension/public-api.mjs +0 -2
  321. package/esm2022/utils/pipes/extract-extension/sixbell-telco-sdk-utils-pipes-extract-extension.mjs +0 -5
  322. package/esm2022/utils/pipes/extract-extension/src/extract-extension.mjs +0 -30
  323. package/esm2022/utils/pipes/time/public-api.mjs +0 -2
  324. package/esm2022/utils/pipes/time/sixbell-telco-sdk-utils-pipes-time.mjs +0 -5
  325. package/esm2022/utils/pipes/time/src/time.pipe.mjs +0 -19
  326. package/esm2022/utils/pipes/to-bytes-extesion/public-api.mjs +0 -2
  327. package/esm2022/utils/pipes/to-bytes-extesion/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs +0 -5
  328. package/esm2022/utils/pipes/to-bytes-extesion/src/to-bytes.pipe.mjs +0 -29
  329. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +0 -245
  330. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs.map +0 -1
  331. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +0 -122
  332. package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs.map +0 -1
  333. /package/assets/styles/{toast.scss → toast.css} +0 -0
  334. /package/components/file-upload/{file-dropzone/src/file-dropzone.constants.d.ts → shared/const/file-upload.constants.d.ts} +0 -0
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class OnlyNumbersDirective {
3
+ onlyNumbers: import("@angular/core").InputSignal<boolean>;
4
+ constructor();
5
+ blockPaste(event: ClipboardEvent): boolean;
6
+ onKeyPress(event: KeyboardEvent): boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnlyNumbersDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OnlyNumbersDirective, "[stOnlynumbers]", never, { "onlyNumbers": { "alias": "onlyNumbers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
9
+ }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, Component, Host } from '@angular/core';
2
+ import { input, Component, computed, Host } 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';
@@ -7,12 +7,12 @@ import { cva } from 'class-variance-authority';
7
7
  class AccordionComponent {
8
8
  name = input('accordion');
9
9
  type = input('default');
10
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.12", type: AccordionComponent, isStandalone: true, selector: "st-accordion", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"join join-vertical w-full\">\n\t<ng-content></ng-content>\n</div>\n" });
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: AccordionComponent, isStandalone: true, selector: "st-accordion", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"join join-vertical w-full\">\n\t<ng-content></ng-content>\n</div>\n" });
12
12
  }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: AccordionComponent, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AccordionComponent, decorators: [{
14
14
  type: Component,
15
- args: [{ selector: 'st-accordion', standalone: true, imports: [], template: "<div class=\"join join-vertical w-full\">\n\t<ng-content></ng-content>\n</div>\n" }]
15
+ args: [{ selector: 'st-accordion', imports: [], template: "<div class=\"join join-vertical w-full\">\n\t<ng-content></ng-content>\n</div>\n" }]
16
16
  }] });
17
17
 
18
18
  const accordionItemComponent = cva(['collapse join-item border border-neutral'], {
@@ -39,15 +39,13 @@ class AccordionItemComponent {
39
39
  this.name = this.accordion.name();
40
40
  this.type = this.accordion.type() === 'single' ? 'radio' : 'checkbox';
41
41
  }
42
- get componentClass() {
43
- return cn(accordionItemComponent({ variant: this.variant() }));
44
- }
45
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: AccordionItemComponent, deps: [{ token: AccordionComponent, host: true }], target: i0.ɵɵFactoryTarget.Component });
46
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.12", type: AccordionItemComponent, isStandalone: true, selector: "st-accordion-item", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, opened: { classPropertyName: "opened", publicName: "opened", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"componentClass\">\n\t<input [type]=\"type\" [name]=\"name\" [checked]=\"opened()\" />\n\t<div class=\"collapse-title\">\n\t\t<div typography [tyVariant]=\"'body'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">\n\t\t\t{{ header() }}\n\t\t</div>\n\t</div>\n\t<div class=\"collapse-content\">\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n", dependencies: [{ kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }] });
42
+ componentClass = computed(() => cn(accordionItemComponent({ variant: this.variant() })));
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AccordionItemComponent, deps: [{ token: AccordionComponent, host: true }], target: i0.ɵɵFactoryTarget.Component });
44
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: AccordionItemComponent, isStandalone: true, selector: "st-accordion-item", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, opened: { classPropertyName: "opened", publicName: "opened", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"componentClass()\">\n\t<input [type]=\"type\" [name]=\"name\" [checked]=\"opened()\" />\n\t<div class=\"collapse-title\">\n\t\t<div typography [tyVariant]=\"'body'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">\n\t\t\t{{ header() }}\n\t\t</div>\n\t</div>\n\t<div class=\"collapse-content\">\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n", dependencies: [{ kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }] });
47
45
  }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: AccordionItemComponent, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AccordionItemComponent, decorators: [{
49
47
  type: Component,
50
- args: [{ selector: 'st-accordion-item', standalone: true, imports: [TypographyDirective], template: "<div [class]=\"componentClass\">\n\t<input [type]=\"type\" [name]=\"name\" [checked]=\"opened()\" />\n\t<div class=\"collapse-title\">\n\t\t<div typography [tyVariant]=\"'body'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">\n\t\t\t{{ header() }}\n\t\t</div>\n\t</div>\n\t<div class=\"collapse-content\">\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n" }]
48
+ args: [{ selector: 'st-accordion-item', imports: [TypographyDirective], template: "<div [class]=\"componentClass()\">\n\t<input [type]=\"type\" [name]=\"name\" [checked]=\"opened()\" />\n\t<div class=\"collapse-title\">\n\t\t<div typography [tyVariant]=\"'body'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">\n\t\t\t{{ header() }}\n\t\t</div>\n\t</div>\n\t<div class=\"collapse-content\">\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n" }]
51
49
  }], ctorParameters: () => [{ type: AccordionComponent, decorators: [{
52
50
  type: Host
53
51
  }] }] });
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-components-accordion.mjs","sources":["../../../projects/sdk/components/accordion/src/accordion.component.ts","../../../projects/sdk/components/accordion/src/accordion.component.html","../../../projects/sdk/components/accordion/accordion-item/accordion-item.component.ts","../../../projects/sdk/components/accordion/accordion-item/accordion-item.component.html","../../../projects/sdk/components/accordion/sixbell-telco-sdk-components-accordion.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\n\n@Component({\n\tselector: 'st-accordion',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './accordion.component.html',\n})\nexport class AccordionComponent {\n\tname = input('accordion');\n\ttype = input<'default' | 'single'>('default');\n}\n","<div class=\"join join-vertical w-full\">\n\t<ng-content></ng-content>\n</div>\n","import { Component, Host, 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';\nimport { AccordionComponent } from '../src/accordion.component';\n\nexport const accordionItemComponent = cva(['collapse join-item border border-neutral'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: [],\n\t\t\tarrow: ['collapse-arrow'],\n\t\t\tplus: ['collapse-plus'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: 'default',\n\t},\n});\n\nexport type AccordionVariantProps = 'default' | 'arrow' | 'plus' | null | undefined;\n\nexport type AccordionItemProps = {\n\tvariant?: AccordionVariantProps;\n};\n\n@Component({\n\tselector: 'st-accordion-item',\n\tstandalone: true,\n\timports: [TypographyDirective],\n\ttemplateUrl: './accordion-item.component.html',\n})\nexport class AccordionItemComponent {\n\theader = input('');\n\topened = input(false);\n\n\tvariant = input<AccordionVariantProps>();\n\tname: string;\n\ttype: string;\n\n\tconstructor(@Host() private accordion: AccordionComponent) {\n\t\tthis.name = this.accordion.name();\n\t\tthis.type = this.accordion.type() === 'single' ? 'radio' : 'checkbox';\n\t}\n\n\tget componentClass() {\n\t\treturn cn(accordionItemComponent({ variant: this.variant() }));\n\t}\n}\n","<div [class]=\"componentClass\">\n\t<input [type]=\"type\" [name]=\"name\" [checked]=\"opened()\" />\n\t<div class=\"collapse-title\">\n\t\t<div typography [tyVariant]=\"'body'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">\n\t\t\t{{ header() }}\n\t\t</div>\n\t</div>\n\t<div class=\"collapse-content\">\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.AccordionComponent"],"mappings":"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"}
1
+ {"version":3,"file":"sixbell-telco-sdk-components-accordion.mjs","sources":["../../../projects/sdk/components/accordion/src/accordion.component.ts","../../../projects/sdk/components/accordion/src/accordion.component.html","../../../projects/sdk/components/accordion/accordion-item/accordion-item.component.ts","../../../projects/sdk/components/accordion/accordion-item/accordion-item.component.html","../../../projects/sdk/components/accordion/sixbell-telco-sdk-components-accordion.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\n\n@Component({\n selector: 'st-accordion',\n imports: [],\n templateUrl: './accordion.component.html'\n})\nexport class AccordionComponent {\n\tname = input('accordion');\n\ttype = input<'default' | 'single'>('default');\n}\n","<div class=\"join join-vertical w-full\">\n\t<ng-content></ng-content>\n</div>\n","import { Component, computed, Host, 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';\nimport { AccordionComponent } from '../src/accordion.component';\n\nexport const accordionItemComponent = cva(['collapse join-item border border-neutral'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: [],\n\t\t\tarrow: ['collapse-arrow'],\n\t\t\tplus: ['collapse-plus'],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: 'default',\n\t},\n});\n\nexport type AccordionVariantProps = 'default' | 'arrow' | 'plus' | null | undefined;\n\nexport type AccordionItemProps = {\n\tvariant?: AccordionVariantProps;\n};\n\n@Component({\n\tselector: 'st-accordion-item',\n\timports: [TypographyDirective],\n\ttemplateUrl: './accordion-item.component.html',\n})\nexport class AccordionItemComponent {\n\theader = input('');\n\topened = input(false);\n\n\tvariant = input<AccordionVariantProps>();\n\tname: string;\n\ttype: string;\n\n\tconstructor(@Host() private accordion: AccordionComponent) {\n\t\tthis.name = this.accordion.name();\n\t\tthis.type = this.accordion.type() === 'single' ? 'radio' : 'checkbox';\n\t}\n\n\tcomponentClass = computed(() => cn(accordionItemComponent({ variant: this.variant() })));\n}\n","<div [class]=\"componentClass()\">\n\t<input [type]=\"type\" [name]=\"name\" [checked]=\"opened()\" />\n\t<div class=\"collapse-title\">\n\t\t<div typography [tyVariant]=\"'body'\" [tyColor]=\"'inherit'\" [tyFontWeight]=\"'normal'\">\n\t\t\t{{ header() }}\n\t\t</div>\n\t</div>\n\t<div class=\"collapse-content\">\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.AccordionComponent"],"mappings":"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"}
@@ -1,6 +1,6 @@
1
1
  import { CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, signal, computed, Injectable, input, output, Component, ChangeDetectionStrategy, viewChild, HostListener, model, effect } from '@angular/core';
3
+ import { inject, signal, computed, Injectable, input, output, ChangeDetectionStrategy, Component, viewChild, HostListener, model, effect } from '@angular/core';
4
4
  import { matPlayArrow, matPause, matSkipPrevious, matSkipNext } from '@ng-icons/material-icons/baseline';
5
5
  import { ButtonComponent } from '@sixbell-telco/sdk/components/button';
6
6
  import { IconComponent } from '@sixbell-telco/sdk/components/icon';
@@ -98,10 +98,29 @@ class AudioPlayerService {
98
98
  this._isInitializing.set(false);
99
99
  }
100
100
  }
101
+ init() {
102
+ this.audio = new Audio();
103
+ this.setupAudioListeners();
104
+ this.restoreVolumeSettings();
105
+ }
101
106
  cleanup() {
107
+ this.audio.pause();
108
+ this.audio.src = '';
102
109
  this.objectUrls.forEach((url) => URL.revokeObjectURL(url));
103
110
  this.objectUrls.clear();
104
- this.audio.src = ''; // Clear audio source
111
+ // reset signals
112
+ this._tracks.set([]);
113
+ this._currentTrackIndex.set(-1);
114
+ this._isPlaying.set(false);
115
+ this._duration.set(0);
116
+ this._currentTime.set(0);
117
+ this._volume.set(1);
118
+ this._isMuted.set(false);
119
+ this._lastVolume.set(1);
120
+ this._isBuffering.set(false);
121
+ this._isInitializing.set(false);
122
+ this._autoPlayNext.set(false);
123
+ this._error.set(null);
105
124
  }
106
125
  async togglePlay() {
107
126
  if (!this.checkIfTrackIsLoaded())
@@ -190,10 +209,10 @@ class AudioPlayerService {
190
209
  checkIfTrackIsLoaded() {
191
210
  return this.audio.src !== '';
192
211
  }
193
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: AudioPlayerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
194
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: AudioPlayerService, providedIn: 'root' });
212
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AudioPlayerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
213
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AudioPlayerService, providedIn: 'root' });
195
214
  }
196
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: AudioPlayerService, decorators: [{
215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AudioPlayerService, decorators: [{
197
216
  type: Injectable,
198
217
  args: [{ providedIn: 'root' }]
199
218
  }], ctorParameters: () => [] });
@@ -211,7 +230,7 @@ class ButtonPlayComponent {
211
230
  asButton = input(false);
212
231
  isHovered = signal(false);
213
232
  trackIndex = input.required();
214
- onTogglePlay = output();
233
+ togglePlay = output();
215
234
  iconMusicNote = heroMusicalNoteMini;
216
235
  iconPlay = matPlayArrow;
217
236
  iconPause = matPause;
@@ -222,24 +241,24 @@ class ButtonPlayComponent {
222
241
  { delay: '0.3s', class: 'h-3/5 animate-wave w-[2px] rounded-full bg-current' },
223
242
  { delay: '0.4s', class: 'h-1/5 animate-wave w-[2px] rounded-full bg-current' },
224
243
  ];
225
- get ButtonClass() {
244
+ buttonClass = computed(() => {
226
245
  return cn('absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 opacity-0 transition-opacity duration-200 inline-flex items-center justify-center align-top', {
227
246
  'opacity-100': (this.audioService.isPlaying() && this.trackIndex() === this.audioService.currentTrackIndex()) || this.isHovered(),
228
247
  });
229
- }
230
- get WaveBarsClass() {
248
+ });
249
+ waveBarsClass = computed(() => {
231
250
  return cn('h-6 w-6 opacity-0 absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transition-opacity duration-200', {
232
251
  'opacity-100': this.audioService.isPlaying() && this.trackIndex() === this.audioService.currentTrackIndex() && !this.isHovered(),
233
252
  });
234
- }
235
- get IconClass() {
236
- return cn('opacity-0 absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transition-opacity duration-200 inline-flex items-center justify-center align-top', {
253
+ });
254
+ iconClass = computed(() => {
255
+ return cn('opacity-0 absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transition-opacity duration-200 inline-flex items-center justify-center align-top text-lg', {
237
256
  'opacity-100': !this.audioService.isPlaying() || this.trackIndex() !== this.audioService.currentTrackIndex() || this.isHovered(),
238
257
  });
239
- }
240
- get Icon() {
258
+ });
259
+ icon = computed(() => {
241
260
  return this.audioService.isPlaying() && this.trackIndex() === this.audioService.currentTrackIndex() ? this.iconPause : this.iconPlay;
242
- }
261
+ });
243
262
  handleHover(isHovered) {
244
263
  this.isHovered.set(isHovered);
245
264
  }
@@ -250,14 +269,14 @@ class ButtonPlayComponent {
250
269
  else {
251
270
  await this.audioService.togglePlay();
252
271
  }
253
- this.onTogglePlay.emit();
272
+ this.togglePlay.emit();
254
273
  }
255
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ButtonPlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
256
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: ButtonPlayComponent, isStandalone: true, selector: "st-button-play", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, ghost: { classPropertyName: "ghost", publicName: "ghost", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, circle: { classPropertyName: "circle", publicName: "circle", isSignal: true, isRequired: false, transformFunction: null }, square: { classPropertyName: "square", publicName: "square", isSignal: true, isRequired: false, transformFunction: null }, glass: { classPropertyName: "glass", publicName: "glass", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null }, asButton: { classPropertyName: "asButton", publicName: "asButton", isSignal: true, isRequired: false, transformFunction: null }, trackIndex: { classPropertyName: "trackIndex", publicName: "trackIndex", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { onTogglePlay: "onTogglePlay" }, ngImport: i0, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n@if (!asButton()) {\n\t<div\n\t\tclass=\"relative grid h-10 min-h-10 w-10 min-w-10 place-content-center rounded bg-gradient-to-br from-primary to-primary-gradient text-white\"\n\t\t(mouseenter)=\"handleHover(true)\"\n\t\t(mouseleave)=\"handleHover(false)\"\n\t>\n\t\t<st-icon [icon]=\"iconMusicNote\"></st-icon>\n\n\t\t<div [class]=\"ButtonClass\">\n\t\t\t<st-button [circle]=\"true\" size=\"sm\" [shadow]=\"true\" variant=\"secondary\" (click)=\"handleTogglePlay()\">\n\t\t\t\t<div class=\"relative h-full w-full\">\n\t\t\t\t\t<div [class]=\"WaveBarsClass\">\n\t\t\t\t\t\t<div class=\"flex h-full w-full items-center justify-between\">\n\t\t\t\t\t\t\t@for (bar of waveBars; track $index) {\n\t\t\t\t\t\t\t\t<div [class]=\"bar.class\" [style.--i]=\"bar.delay\"></div>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div [class]=\"IconClass\">\n\t\t\t\t\t\t<st-icon [icon]=\"Icon\"></st-icon>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</st-button>\n\t\t</div>\n\t</div>\n} @else {\n\t<st-button\n\t\t[variant]=\"variant()\"\n\t\t[ghost]=\"ghost()\"\n\t\t[outline]=\"outline()\"\n\t\t[circle]=\"circle()\"\n\t\t[square]=\"square()\"\n\t\t[glass]=\"glass()\"\n\t\t[size]=\"size()\"\n\t\t[shadow]=\"shadow()\"\n\t\t(click)=\"handleTogglePlay()\"\n\t\t(mouseenter)=\"handleHover(true)\"\n\t\t(mouseleave)=\"handleHover(false)\"\n\t>\n\t\t<div class=\"relative h-full w-full\">\n\t\t\t<div [class]=\"WaveBarsClass\">\n\t\t\t\t<div class=\"flex h-full w-full items-center justify-between\">\n\t\t\t\t\t@for (bar of waveBars; track $index) {\n\t\t\t\t\t\t<div [class]=\"bar.class\" [style.--i]=\"bar.delay\"></div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div [class]=\"IconClass\">\n\t\t\t\t<st-icon [icon]=\"Icon\"></st-icon>\n\t\t\t</div>\n\t\t</div>\n\t</st-button>\n}\n", styles: [""], dependencies: [{ kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "circle", "square", "glass", "block", "loader", "size", "shadow", "icon", "iconPosition", "type", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
274
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ButtonPlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
275
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: ButtonPlayComponent, isStandalone: true, selector: "st-button-play", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, ghost: { classPropertyName: "ghost", publicName: "ghost", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, circle: { classPropertyName: "circle", publicName: "circle", isSignal: true, isRequired: false, transformFunction: null }, square: { classPropertyName: "square", publicName: "square", isSignal: true, isRequired: false, transformFunction: null }, glass: { classPropertyName: "glass", publicName: "glass", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null }, asButton: { classPropertyName: "asButton", publicName: "asButton", isSignal: true, isRequired: false, transformFunction: null }, trackIndex: { classPropertyName: "trackIndex", publicName: "trackIndex", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { togglePlay: "togglePlay" }, ngImport: i0, template: "@let waveBarsVar = waveBarsClass();\n@let iconClassVar = iconClass();\n@let iconVar = icon();\n\n@if (!asButton()) {\n\t<div\n\t\tclass=\"from-primary to-primary-gradient relative grid h-10 min-h-10 w-10 min-w-10 place-content-center rounded-sm bg-linear-to-br text-lg text-white\"\n\t\t(mouseenter)=\"handleHover(true)\"\n\t\t(mouseleave)=\"handleHover(false)\"\n\t>\n\t\t<st-icon [icon]=\"iconMusicNote\"></st-icon>\n\n\t\t<div [class]=\"buttonClass()\">\n\t\t\t<st-button [circle]=\"true\" size=\"sm\" [shadow]=\"true\" variant=\"secondary\" (click)=\"handleTogglePlay()\">\n\t\t\t\t<div class=\"relative h-full w-full\">\n\t\t\t\t\t<div [class]=\"waveBarsVar\">\n\t\t\t\t\t\t<div class=\"flex h-full w-full items-center justify-between\">\n\t\t\t\t\t\t\t@for (bar of waveBars; track $index) {\n\t\t\t\t\t\t\t\t<div [class]=\"bar.class\" [style.--i]=\"bar.delay\"></div>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div [class]=\"iconClassVar\">\n\t\t\t\t\t\t<st-icon [icon]=\"iconVar\"></st-icon>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</st-button>\n\t\t</div>\n\t</div>\n} @else {\n\t<st-button\n\t\t[variant]=\"variant()\"\n\t\t[ghost]=\"ghost()\"\n\t\t[outline]=\"outline()\"\n\t\t[circle]=\"circle()\"\n\t\t[square]=\"square()\"\n\t\t[glass]=\"glass()\"\n\t\t[size]=\"size()\"\n\t\t[shadow]=\"shadow()\"\n\t\t(click)=\"handleTogglePlay()\"\n\t\t(mouseenter)=\"handleHover(true)\"\n\t\t(mouseleave)=\"handleHover(false)\"\n\t>\n\t\t<div class=\"relative h-full w-full\">\n\t\t\t<div [class]=\"waveBarsVar\">\n\t\t\t\t<div class=\"flex h-full w-full items-center justify-between\">\n\t\t\t\t\t@for (bar of waveBars; track $index) {\n\t\t\t\t\t\t<div [class]=\"bar.class\" [style.--i]=\"bar.delay\"></div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div [class]=\"iconClassVar\">\n\t\t\t\t<st-icon [icon]=\"iconVar\"></st-icon>\n\t\t\t</div>\n\t\t</div>\n\t</st-button>\n}\n", styles: [""], dependencies: [{ kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "link", "soft", "dash", "wide", "circle", "square", "glass", "block", "loader", "size", "shadow", "icon", "iconPosition", "type", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
257
276
  }
258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: ButtonPlayComponent, decorators: [{
277
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ButtonPlayComponent, decorators: [{
259
278
  type: Component,
260
- args: [{ selector: 'st-button-play', standalone: true, imports: [IconComponent, CommonModule, ButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n@if (!asButton()) {\n\t<div\n\t\tclass=\"relative grid h-10 min-h-10 w-10 min-w-10 place-content-center rounded bg-gradient-to-br from-primary to-primary-gradient text-white\"\n\t\t(mouseenter)=\"handleHover(true)\"\n\t\t(mouseleave)=\"handleHover(false)\"\n\t>\n\t\t<st-icon [icon]=\"iconMusicNote\"></st-icon>\n\n\t\t<div [class]=\"ButtonClass\">\n\t\t\t<st-button [circle]=\"true\" size=\"sm\" [shadow]=\"true\" variant=\"secondary\" (click)=\"handleTogglePlay()\">\n\t\t\t\t<div class=\"relative h-full w-full\">\n\t\t\t\t\t<div [class]=\"WaveBarsClass\">\n\t\t\t\t\t\t<div class=\"flex h-full w-full items-center justify-between\">\n\t\t\t\t\t\t\t@for (bar of waveBars; track $index) {\n\t\t\t\t\t\t\t\t<div [class]=\"bar.class\" [style.--i]=\"bar.delay\"></div>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div [class]=\"IconClass\">\n\t\t\t\t\t\t<st-icon [icon]=\"Icon\"></st-icon>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</st-button>\n\t\t</div>\n\t</div>\n} @else {\n\t<st-button\n\t\t[variant]=\"variant()\"\n\t\t[ghost]=\"ghost()\"\n\t\t[outline]=\"outline()\"\n\t\t[circle]=\"circle()\"\n\t\t[square]=\"square()\"\n\t\t[glass]=\"glass()\"\n\t\t[size]=\"size()\"\n\t\t[shadow]=\"shadow()\"\n\t\t(click)=\"handleTogglePlay()\"\n\t\t(mouseenter)=\"handleHover(true)\"\n\t\t(mouseleave)=\"handleHover(false)\"\n\t>\n\t\t<div class=\"relative h-full w-full\">\n\t\t\t<div [class]=\"WaveBarsClass\">\n\t\t\t\t<div class=\"flex h-full w-full items-center justify-between\">\n\t\t\t\t\t@for (bar of waveBars; track $index) {\n\t\t\t\t\t\t<div [class]=\"bar.class\" [style.--i]=\"bar.delay\"></div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div [class]=\"IconClass\">\n\t\t\t\t<st-icon [icon]=\"Icon\"></st-icon>\n\t\t\t</div>\n\t\t</div>\n\t</st-button>\n}\n" }]
279
+ args: [{ selector: 'st-button-play', imports: [IconComponent, CommonModule, ButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@let waveBarsVar = waveBarsClass();\n@let iconClassVar = iconClass();\n@let iconVar = icon();\n\n@if (!asButton()) {\n\t<div\n\t\tclass=\"from-primary to-primary-gradient relative grid h-10 min-h-10 w-10 min-w-10 place-content-center rounded-sm bg-linear-to-br text-lg text-white\"\n\t\t(mouseenter)=\"handleHover(true)\"\n\t\t(mouseleave)=\"handleHover(false)\"\n\t>\n\t\t<st-icon [icon]=\"iconMusicNote\"></st-icon>\n\n\t\t<div [class]=\"buttonClass()\">\n\t\t\t<st-button [circle]=\"true\" size=\"sm\" [shadow]=\"true\" variant=\"secondary\" (click)=\"handleTogglePlay()\">\n\t\t\t\t<div class=\"relative h-full w-full\">\n\t\t\t\t\t<div [class]=\"waveBarsVar\">\n\t\t\t\t\t\t<div class=\"flex h-full w-full items-center justify-between\">\n\t\t\t\t\t\t\t@for (bar of waveBars; track $index) {\n\t\t\t\t\t\t\t\t<div [class]=\"bar.class\" [style.--i]=\"bar.delay\"></div>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div [class]=\"iconClassVar\">\n\t\t\t\t\t\t<st-icon [icon]=\"iconVar\"></st-icon>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</st-button>\n\t\t</div>\n\t</div>\n} @else {\n\t<st-button\n\t\t[variant]=\"variant()\"\n\t\t[ghost]=\"ghost()\"\n\t\t[outline]=\"outline()\"\n\t\t[circle]=\"circle()\"\n\t\t[square]=\"square()\"\n\t\t[glass]=\"glass()\"\n\t\t[size]=\"size()\"\n\t\t[shadow]=\"shadow()\"\n\t\t(click)=\"handleTogglePlay()\"\n\t\t(mouseenter)=\"handleHover(true)\"\n\t\t(mouseleave)=\"handleHover(false)\"\n\t>\n\t\t<div class=\"relative h-full w-full\">\n\t\t\t<div [class]=\"waveBarsVar\">\n\t\t\t\t<div class=\"flex h-full w-full items-center justify-between\">\n\t\t\t\t\t@for (bar of waveBars; track $index) {\n\t\t\t\t\t\t<div [class]=\"bar.class\" [style.--i]=\"bar.delay\"></div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div [class]=\"iconClassVar\">\n\t\t\t\t<st-icon [icon]=\"iconVar\"></st-icon>\n\t\t\t</div>\n\t\t</div>\n\t</st-button>\n}\n" }]
261
280
  }] });
262
281
 
263
282
  class AudioTimelineComponent {
@@ -265,12 +284,8 @@ class AudioTimelineComponent {
265
284
  audioService = inject(AudioPlayerService);
266
285
  isDragging = signal(false);
267
286
  isHovered = signal(false);
268
- get timelineClass() {
269
- return cn('relative h-1 w-full cursor-pointer rounded-full bg-neutral ', { 'h-[6px]': this.isHovered() || this.isDragging() });
270
- }
271
- get timelineCircleClass() {
272
- return cn('transition-opacity duration-200 absolute top-1/2 h-3 w-3 -translate-y-1/2 transform cursor-grab rounded-full bg-tertiary shadow-main', this.isHovered() || this.isDragging() ? 'opacity-100' : 'opacity-0');
273
- }
287
+ timelineClass = computed(() => cn('relative h-1 w-full cursor-pointer rounded-full bg-neutral ', { 'h-[6px]': this.isHovered() || this.isDragging() }));
288
+ timelineCircleClass = computed(() => cn('transition-opacity duration-200 absolute top-1/2 h-3 w-3 -translate-y-1/2 transform cursor-grab rounded-full bg-tertiary shadow-main', this.isHovered() || this.isDragging() ? 'opacity-100' : 'opacity-0'));
274
289
  // Handle timeline hover
275
290
  handleTimelineHover(isHovered) {
276
291
  this.isHovered.set(isHovered);
@@ -309,12 +324,12 @@ class AudioTimelineComponent {
309
324
  this.updateProgress(event);
310
325
  }
311
326
  }
312
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: AudioTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
313
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: AudioTimelineComponent, isStandalone: true, selector: "st-timeline", host: { listeners: { "document:mousemove": "onDrag($event)", "document:touchmove": "onDrag($event)", "document:mouseup": "stopDrag()", "document:touchend": "stopDrag()" } }, viewQueries: [{ propertyName: "timeline", first: true, predicate: ["timeline"], descendants: true, isSignal: true }], ngImport: i0, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n<!-- Progress Bar -->\n<div class=\"grid w-full grid-cols-[1fr_5fr_1fr] items-center gap-4\">\n\t<!-- Current Time Display -->\n\t<div class=\"inline-flex min-h-5 select-none items-center justify-end align-top text-tertiary\">\n\t\t@if (!audioService.isInitializing()) {\n\t\t\t@if (audioService.isBuffering()) {\n\t\t\t\t<span class=\"loading loading-ring loading-xs\"></span>\n\t\t\t} @else {\n\t\t\t\t<span typography tyVariant=\"body-xxs\">{{ audioService.currentTime() | time }}</span>\n\t\t\t}\n\t\t}\n\t</div>\n\n\t<div [class]=\"timelineClass\" (click)=\"seek($event)\" #timeline (mouseenter)=\"handleTimelineHover(true)\" (mouseleave)=\"handleTimelineHover(false)\">\n\t\t<!-- Progress Bar Background -->\n\t\t<div class=\"absolute h-full rounded-full bg-primary\" [style.width]=\"(audioService.currentTime() / audioService.duration()) * 100 + '%'\"></div>\n\n\t\t<!-- Draggable Circle -->\n\t\t<div\n\t\t\t[style.left]=\"\n\t\t\t\t'calc(' +\n\t\t\t\t(audioService.currentTime() / audioService.duration()) * 100 +\n\t\t\t\t'% - ' +\n\t\t\t\t(audioService.currentTime() / audioService.duration() === 1 ? '6px' : '3px') +\n\t\t\t\t')'\n\t\t\t\"\n\t\t\t[class]=\"timelineCircleClass\"\n\t\t\t#circle\n\t\t\t(mousedown)=\"startDrag($event)\"\n\t\t\t(touchstart)=\"startDrag($event)\"\n\t\t></div>\n\t</div>\n\n\t<!-- Total Time Display -->\n\t<div class=\"inline-flex min-h-5 select-none items-center justify-start align-top text-tertiary\">\n\t\t@if (audioService.isInitializing()) {\n\t\t\t<span class=\"loading loading-ring loading-xs\"></span>\n\t\t} @else {\n\t\t\t<span typography tyVariant=\"body-xxs\">{{ audioService.duration() | time }}</span>\n\t\t}\n\t</div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: TimePipe, name: "time" }, { kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
327
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AudioTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
328
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: AudioTimelineComponent, isStandalone: true, selector: "st-timeline", host: { listeners: { "document:mousemove": "onDrag($event)", "document:touchmove": "onDrag($event)", "document:mouseup": "stopDrag()", "document:touchend": "stopDrag()" } }, viewQueries: [{ propertyName: "timeline", first: true, predicate: ["timeline"], descendants: true, isSignal: true }], ngImport: i0, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n<!-- Progress Bar -->\n<div class=\"grid w-full grid-cols-[1fr_5fr_1fr] items-center gap-4\">\n\t<!-- Current Time Display -->\n\t<div class=\"text-tertiary inline-flex min-h-5 items-center justify-end align-top select-none\">\n\t\t@if (!audioService.isInitializing()) {\n\t\t\t@if (audioService.isBuffering()) {\n\t\t\t\t<span class=\"loading loading-ring loading-xs\"></span>\n\t\t\t} @else {\n\t\t\t\t<span typography tyVariant=\"body-xxs\">{{ audioService.currentTime() | time }}</span>\n\t\t\t}\n\t\t}\n\t</div>\n\n\t<div [class]=\"timelineClass()\" (click)=\"seek($event)\" #timeline (mouseenter)=\"handleTimelineHover(true)\" (mouseleave)=\"handleTimelineHover(false)\">\n\t\t<!-- Progress Bar Background -->\n\t\t<div class=\"bg-primary absolute h-full rounded-full\" [style.width]=\"(audioService.currentTime() / audioService.duration()) * 100 + '%'\"></div>\n\n\t\t<!-- Draggable Circle -->\n\t\t<div\n\t\t\t[style.left]=\"\n\t\t\t\t'calc(' +\n\t\t\t\t(audioService.currentTime() / audioService.duration()) * 100 +\n\t\t\t\t'% - ' +\n\t\t\t\t(audioService.currentTime() / audioService.duration() === 1 ? '6px' : '3px') +\n\t\t\t\t')'\n\t\t\t\"\n\t\t\t[class]=\"timelineCircleClass()\"\n\t\t\t#circle\n\t\t\t(mousedown)=\"startDrag($event)\"\n\t\t\t(touchstart)=\"startDrag($event)\"\n\t\t></div>\n\t</div>\n\n\t<!-- Total Time Display -->\n\t<div class=\"text-tertiary inline-flex min-h-5 items-center justify-start align-top select-none\">\n\t\t@if (audioService.isInitializing()) {\n\t\t\t<span class=\"loading loading-ring loading-xs\"></span>\n\t\t} @else {\n\t\t\t<span typography tyVariant=\"body-xxs\">{{ audioService.duration() | time }}</span>\n\t\t}\n\t</div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: TimePipe, name: "time" }, { kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
314
329
  }
315
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: AudioTimelineComponent, decorators: [{
330
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AudioTimelineComponent, decorators: [{
316
331
  type: Component,
317
- args: [{ selector: 'st-timeline', standalone: true, imports: [CommonModule, TimePipe, TypographyDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n<!-- Progress Bar -->\n<div class=\"grid w-full grid-cols-[1fr_5fr_1fr] items-center gap-4\">\n\t<!-- Current Time Display -->\n\t<div class=\"inline-flex min-h-5 select-none items-center justify-end align-top text-tertiary\">\n\t\t@if (!audioService.isInitializing()) {\n\t\t\t@if (audioService.isBuffering()) {\n\t\t\t\t<span class=\"loading loading-ring loading-xs\"></span>\n\t\t\t} @else {\n\t\t\t\t<span typography tyVariant=\"body-xxs\">{{ audioService.currentTime() | time }}</span>\n\t\t\t}\n\t\t}\n\t</div>\n\n\t<div [class]=\"timelineClass\" (click)=\"seek($event)\" #timeline (mouseenter)=\"handleTimelineHover(true)\" (mouseleave)=\"handleTimelineHover(false)\">\n\t\t<!-- Progress Bar Background -->\n\t\t<div class=\"absolute h-full rounded-full bg-primary\" [style.width]=\"(audioService.currentTime() / audioService.duration()) * 100 + '%'\"></div>\n\n\t\t<!-- Draggable Circle -->\n\t\t<div\n\t\t\t[style.left]=\"\n\t\t\t\t'calc(' +\n\t\t\t\t(audioService.currentTime() / audioService.duration()) * 100 +\n\t\t\t\t'% - ' +\n\t\t\t\t(audioService.currentTime() / audioService.duration() === 1 ? '6px' : '3px') +\n\t\t\t\t')'\n\t\t\t\"\n\t\t\t[class]=\"timelineCircleClass\"\n\t\t\t#circle\n\t\t\t(mousedown)=\"startDrag($event)\"\n\t\t\t(touchstart)=\"startDrag($event)\"\n\t\t></div>\n\t</div>\n\n\t<!-- Total Time Display -->\n\t<div class=\"inline-flex min-h-5 select-none items-center justify-start align-top text-tertiary\">\n\t\t@if (audioService.isInitializing()) {\n\t\t\t<span class=\"loading loading-ring loading-xs\"></span>\n\t\t} @else {\n\t\t\t<span typography tyVariant=\"body-xxs\">{{ audioService.duration() | time }}</span>\n\t\t}\n\t</div>\n</div>\n" }]
332
+ args: [{ selector: 'st-timeline', imports: [CommonModule, TimePipe, TypographyDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n<!-- Progress Bar -->\n<div class=\"grid w-full grid-cols-[1fr_5fr_1fr] items-center gap-4\">\n\t<!-- Current Time Display -->\n\t<div class=\"text-tertiary inline-flex min-h-5 items-center justify-end align-top select-none\">\n\t\t@if (!audioService.isInitializing()) {\n\t\t\t@if (audioService.isBuffering()) {\n\t\t\t\t<span class=\"loading loading-ring loading-xs\"></span>\n\t\t\t} @else {\n\t\t\t\t<span typography tyVariant=\"body-xxs\">{{ audioService.currentTime() | time }}</span>\n\t\t\t}\n\t\t}\n\t</div>\n\n\t<div [class]=\"timelineClass()\" (click)=\"seek($event)\" #timeline (mouseenter)=\"handleTimelineHover(true)\" (mouseleave)=\"handleTimelineHover(false)\">\n\t\t<!-- Progress Bar Background -->\n\t\t<div class=\"bg-primary absolute h-full rounded-full\" [style.width]=\"(audioService.currentTime() / audioService.duration()) * 100 + '%'\"></div>\n\n\t\t<!-- Draggable Circle -->\n\t\t<div\n\t\t\t[style.left]=\"\n\t\t\t\t'calc(' +\n\t\t\t\t(audioService.currentTime() / audioService.duration()) * 100 +\n\t\t\t\t'% - ' +\n\t\t\t\t(audioService.currentTime() / audioService.duration() === 1 ? '6px' : '3px') +\n\t\t\t\t')'\n\t\t\t\"\n\t\t\t[class]=\"timelineCircleClass()\"\n\t\t\t#circle\n\t\t\t(mousedown)=\"startDrag($event)\"\n\t\t\t(touchstart)=\"startDrag($event)\"\n\t\t></div>\n\t</div>\n\n\t<!-- Total Time Display -->\n\t<div class=\"text-tertiary inline-flex min-h-5 items-center justify-start align-top select-none\">\n\t\t@if (audioService.isInitializing()) {\n\t\t\t<span class=\"loading loading-ring loading-xs\"></span>\n\t\t} @else {\n\t\t\t<span typography tyVariant=\"body-xxs\">{{ audioService.duration() | time }}</span>\n\t\t}\n\t</div>\n</div>\n" }]
318
333
  }], propDecorators: { onDrag: [{
319
334
  type: HostListener,
320
335
  args: ['document:mousemove', ['$event']]
@@ -332,12 +347,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
332
347
  class TrackInfoComponent {
333
348
  currentTrack = input();
334
349
  iconMusicNote = heroMusicalNoteMini;
335
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TrackInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
336
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.12", type: TrackInfoComponent, isStandalone: true, selector: "st-track-info", inputs: { currentTrack: { classPropertyName: "currentTrack", publicName: "currentTrack", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n<div class=\"relative flex max-w-80 items-center gap-4 overflow-x-hidden whitespace-nowrap\">\n\t<div class=\"flex items-center gap-3\">\n\t\t<!-- Album/Track Icon -->\n\t\t<div class=\"grid h-12 min-h-12 w-12 min-w-12 place-content-center rounded bg-gradient-to-br from-primary to-primary-gradient text-white\">\n\t\t\t<st-icon [icon]=\"iconMusicNote\"></st-icon>\n\t\t</div>\n\n\t\t<!-- Track Info -->\n\t\t@let currentTrackVar = this.currentTrack();\n\t\t<div class=\"min-w-0 flex-1\">\n\t\t\t<p typography tyVariant=\"body\" tyFontWeight=\"medium\" tyColor=\"base\">\n\t\t\t\t{{ currentTrackVar?.title ?? 'sdk.audioPlayer.trackInfo.title' | translate }}\n\t\t\t</p>\n\t\t\t<p typography tyVariant=\"body-sm\" tyFontWeight=\"normal\" tyColor=\"base\">\n\t\t\t\t{{ currentTrackVar?.description ?? 'sdk.audioPlayer.trackInfo.description' | translate }}\n\t\t\t</p>\n\t\t</div>\n\t</div>\n\t<div class=\"pointer-events-none absolute inset-y-0 right-0 w-12 bg-gradient-to-l from-base-200 to-transparent\"></div>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
350
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TrackInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
351
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: TrackInfoComponent, isStandalone: true, selector: "st-track-info", inputs: { currentTrack: { classPropertyName: "currentTrack", publicName: "currentTrack", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"relative flex max-w-80 items-center gap-4 overflow-x-hidden whitespace-nowrap\">\n\t<div class=\"flex items-center gap-3\">\n\t\t<!-- Album/Track Icon -->\n\t\t<div class=\"from-primary to-primary-gradient grid h-12 min-h-12 w-12 min-w-12 place-content-center rounded-sm bg-linear-to-br text-white\">\n\t\t\t<st-icon [icon]=\"iconMusicNote\" size=\"md\"></st-icon>\n\t\t</div>\n\n\t\t<!-- Track Info -->\n\t\t@let currentTrackVar = this.currentTrack();\n\t\t<div class=\"min-w-0 flex-1\">\n\t\t\t<p typography tyVariant=\"body\" tyFontWeight=\"medium\" tyColor=\"base\">\n\t\t\t\t{{ currentTrackVar?.title ?? 'sdk.audioPlayer.trackInfo.title' | translate }}\n\t\t\t</p>\n\t\t\t<p typography tyVariant=\"body-sm\" tyFontWeight=\"normal\" tyColor=\"base\">\n\t\t\t\t{{ currentTrackVar?.description ?? 'sdk.audioPlayer.trackInfo.description' | translate }}\n\t\t\t</p>\n\t\t</div>\n\t</div>\n\t<div class=\"from-base-200 pointer-events-none absolute inset-y-0 right-0 w-12 bg-linear-to-l to-transparent\"></div>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
337
352
  }
338
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TrackInfoComponent, decorators: [{
353
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TrackInfoComponent, decorators: [{
339
354
  type: Component,
340
- args: [{ selector: 'st-track-info', standalone: true, imports: [IconComponent, CommonModule, TypographyDirective, TranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n<div class=\"relative flex max-w-80 items-center gap-4 overflow-x-hidden whitespace-nowrap\">\n\t<div class=\"flex items-center gap-3\">\n\t\t<!-- Album/Track Icon -->\n\t\t<div class=\"grid h-12 min-h-12 w-12 min-w-12 place-content-center rounded bg-gradient-to-br from-primary to-primary-gradient text-white\">\n\t\t\t<st-icon [icon]=\"iconMusicNote\"></st-icon>\n\t\t</div>\n\n\t\t<!-- Track Info -->\n\t\t@let currentTrackVar = this.currentTrack();\n\t\t<div class=\"min-w-0 flex-1\">\n\t\t\t<p typography tyVariant=\"body\" tyFontWeight=\"medium\" tyColor=\"base\">\n\t\t\t\t{{ currentTrackVar?.title ?? 'sdk.audioPlayer.trackInfo.title' | translate }}\n\t\t\t</p>\n\t\t\t<p typography tyVariant=\"body-sm\" tyFontWeight=\"normal\" tyColor=\"base\">\n\t\t\t\t{{ currentTrackVar?.description ?? 'sdk.audioPlayer.trackInfo.description' | translate }}\n\t\t\t</p>\n\t\t</div>\n\t</div>\n\t<div class=\"pointer-events-none absolute inset-y-0 right-0 w-12 bg-gradient-to-l from-base-200 to-transparent\"></div>\n</div>\n" }]
355
+ args: [{ selector: 'st-track-info', imports: [IconComponent, CommonModule, TypographyDirective, TranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"relative flex max-w-80 items-center gap-4 overflow-x-hidden whitespace-nowrap\">\n\t<div class=\"flex items-center gap-3\">\n\t\t<!-- Album/Track Icon -->\n\t\t<div class=\"from-primary to-primary-gradient grid h-12 min-h-12 w-12 min-w-12 place-content-center rounded-sm bg-linear-to-br text-white\">\n\t\t\t<st-icon [icon]=\"iconMusicNote\" size=\"md\"></st-icon>\n\t\t</div>\n\n\t\t<!-- Track Info -->\n\t\t@let currentTrackVar = this.currentTrack();\n\t\t<div class=\"min-w-0 flex-1\">\n\t\t\t<p typography tyVariant=\"body\" tyFontWeight=\"medium\" tyColor=\"base\">\n\t\t\t\t{{ currentTrackVar?.title ?? 'sdk.audioPlayer.trackInfo.title' | translate }}\n\t\t\t</p>\n\t\t\t<p typography tyVariant=\"body-sm\" tyFontWeight=\"normal\" tyColor=\"base\">\n\t\t\t\t{{ currentTrackVar?.description ?? 'sdk.audioPlayer.trackInfo.description' | translate }}\n\t\t\t</p>\n\t\t</div>\n\t</div>\n\t<div class=\"from-base-200 pointer-events-none absolute inset-y-0 right-0 w-12 bg-linear-to-l to-transparent\"></div>\n</div>\n" }]
341
356
  }] });
342
357
 
343
358
  class VolumeControlComponent {
@@ -348,12 +363,14 @@ class VolumeControlComponent {
348
363
  iconVolumeUp = matVolumeUpOutline;
349
364
  iconVolumeDown = matVolumeDownOutline;
350
365
  iconVolumeMute = matVolumeMuteOutline;
351
- get volumeTimelineClass() {
352
- return cn('relative h-1 w-20 cursor-pointer rounded-full bg-neutral', { 'h-[6px]': this.isVolumeHovered() || this.isVolumeDragging() });
353
- }
354
- get volumeTimelineCircleClass() {
366
+ volumeTimelineClass = computed(() => {
367
+ return cn('relative h-1 w-20 cursor-pointer rounded-full bg-neutral', {
368
+ 'h-[6px]': this.isVolumeHovered() || this.isVolumeDragging(),
369
+ });
370
+ });
371
+ volumeTimelineCircleClass = computed(() => {
355
372
  return cn('absolute top-1/2 h-3 w-3 -translate-y-1/2 transform cursor-grab rounded-full bg-tertiary shadow-main transition-opacity duration-200', this.isVolumeHovered() || this.isVolumeDragging() ? 'opacity-100' : 'opacity-0');
356
- }
373
+ });
357
374
  // Handle volume hover
358
375
  handleVolumeHover(isHovered) {
359
376
  this.isVolumeHovered.set(isHovered);
@@ -395,12 +412,12 @@ class VolumeControlComponent {
395
412
  toggleMute() {
396
413
  this.audioService.setMuted(!this.audioService.isMuted());
397
414
  }
398
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: VolumeControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
399
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: VolumeControlComponent, isStandalone: true, selector: "st-volume-control", host: { listeners: { "document:mousemove": "onVolumeDrag($event)", "document:touchmove": "onVolumeDrag($event)", "document:mouseup": "stopVolumeDrag()", "document:touchend": "stopVolumeDrag()" } }, viewQueries: [{ propertyName: "volumeTimeline", first: true, predicate: ["volumeTimeline"], descendants: true, isSignal: true }], ngImport: i0, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n<!-- Volume Control -->\n<div class=\"flex items-center justify-end gap-2\">\n\t<!-- Mute/Unmute Button -->\n\t<st-button [ghost]=\"true\" size=\"sm\" [circle]=\"true\" (click)=\"toggleMute()\">\n\t\t@if (audioService.volume() === 0) {\n\t\t\t<st-icon [icon]=\"iconVolumeMute\"></st-icon>\n\t\t} @else if (audioService.volume() > 0.5) {\n\t\t\t<st-icon [icon]=\"iconVolumeUp\"></st-icon>\n\t\t} @else {\n\t\t\t<st-icon [icon]=\"iconVolumeDown\"></st-icon>\n\t\t}\n\t</st-button>\n\n\t<!-- Custom Volume Progress Bar -->\n\t<div\n\t\t[class]=\"volumeTimelineClass\"\n\t\t(click)=\"seekVolume($event)\"\n\t\t#volumeTimeline\n\t\t(mouseenter)=\"handleVolumeHover(true)\"\n\t\t(mouseleave)=\"handleVolumeHover(false)\"\n\t>\n\t\t<!-- Volume Progress Bar Background -->\n\t\t<div class=\"absolute h-full rounded-full bg-primary\" [style.width]=\"audioService.volume() * 100 + '%'\"></div>\n\n\t\t<!-- Draggable Volume Circle -->\n\t\t<div\n\t\t\t[style.left]=\"'calc(' + audioService.volume() * 100 + '% - ' + (audioService.volume() === 1 ? '6px' : '3px') + ')'\"\n\t\t\t[class]=\"volumeTimelineCircleClass\"\n\t\t\t#volumeCircle\n\t\t\t(mousedown)=\"startVolumeDrag($event)\"\n\t\t\t(touchstart)=\"startVolumeDrag($event)\"\n\t\t></div>\n\t</div>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "circle", "square", "glass", "block", "loader", "size", "shadow", "icon", "iconPosition", "type", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
415
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: VolumeControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
416
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: VolumeControlComponent, isStandalone: true, selector: "st-volume-control", host: { listeners: { "document:mousemove": "onVolumeDrag($event)", "document:touchmove": "onVolumeDrag($event)", "document:mouseup": "stopVolumeDrag()", "document:touchend": "stopVolumeDrag()" } }, viewQueries: [{ propertyName: "volumeTimeline", first: true, predicate: ["volumeTimeline"], descendants: true, isSignal: true }], ngImport: i0, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n<!-- Volume Control -->\n<div class=\"flex items-center justify-end gap-2\">\n\t<!-- Mute/Unmute Button -->\n\t<st-button [ghost]=\"true\" size=\"sm\" [circle]=\"true\" (click)=\"toggleMute()\">\n\t\t@if (audioService.volume() === 0) {\n\t\t\t<st-icon [icon]=\"iconVolumeMute\" size=\"sm\"></st-icon>\n\t\t} @else if (audioService.volume() > 0.5) {\n\t\t\t<st-icon [icon]=\"iconVolumeUp\" size=\"sm\"></st-icon>\n\t\t} @else {\n\t\t\t<st-icon [icon]=\"iconVolumeDown\" size=\"sm\"></st-icon>\n\t\t}\n\t</st-button>\n\n\t<!-- Custom Volume Progress Bar -->\n\t<div\n\t\t[class]=\"volumeTimelineClass()\"\n\t\t(click)=\"seekVolume($event)\"\n\t\t#volumeTimeline\n\t\t(mouseenter)=\"handleVolumeHover(true)\"\n\t\t(mouseleave)=\"handleVolumeHover(false)\"\n\t>\n\t\t<!-- Volume Progress Bar Background -->\n\t\t<div class=\"bg-primary absolute h-full rounded-full\" [style.width]=\"audioService.volume() * 100 + '%'\"></div>\n\n\t\t<!-- Draggable Volume Circle -->\n\t\t<div\n\t\t\t[style.left]=\"'calc(' + audioService.volume() * 100 + '% - ' + (audioService.volume() === 1 ? '6px' : '3px') + ')'\"\n\t\t\t[class]=\"volumeTimelineCircleClass()\"\n\t\t\t#volumeCircle\n\t\t\t(mousedown)=\"startVolumeDrag($event)\"\n\t\t\t(touchstart)=\"startVolumeDrag($event)\"\n\t\t></div>\n\t</div>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "link", "soft", "dash", "wide", "circle", "square", "glass", "block", "loader", "size", "shadow", "icon", "iconPosition", "type", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
400
417
  }
401
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: VolumeControlComponent, decorators: [{
418
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: VolumeControlComponent, decorators: [{
402
419
  type: Component,
403
- args: [{ selector: 'st-volume-control', standalone: true, imports: [IconComponent, CommonModule, ButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n<!-- Volume Control -->\n<div class=\"flex items-center justify-end gap-2\">\n\t<!-- Mute/Unmute Button -->\n\t<st-button [ghost]=\"true\" size=\"sm\" [circle]=\"true\" (click)=\"toggleMute()\">\n\t\t@if (audioService.volume() === 0) {\n\t\t\t<st-icon [icon]=\"iconVolumeMute\"></st-icon>\n\t\t} @else if (audioService.volume() > 0.5) {\n\t\t\t<st-icon [icon]=\"iconVolumeUp\"></st-icon>\n\t\t} @else {\n\t\t\t<st-icon [icon]=\"iconVolumeDown\"></st-icon>\n\t\t}\n\t</st-button>\n\n\t<!-- Custom Volume Progress Bar -->\n\t<div\n\t\t[class]=\"volumeTimelineClass\"\n\t\t(click)=\"seekVolume($event)\"\n\t\t#volumeTimeline\n\t\t(mouseenter)=\"handleVolumeHover(true)\"\n\t\t(mouseleave)=\"handleVolumeHover(false)\"\n\t>\n\t\t<!-- Volume Progress Bar Background -->\n\t\t<div class=\"absolute h-full rounded-full bg-primary\" [style.width]=\"audioService.volume() * 100 + '%'\"></div>\n\n\t\t<!-- Draggable Volume Circle -->\n\t\t<div\n\t\t\t[style.left]=\"'calc(' + audioService.volume() * 100 + '% - ' + (audioService.volume() === 1 ? '6px' : '3px') + ')'\"\n\t\t\t[class]=\"volumeTimelineCircleClass\"\n\t\t\t#volumeCircle\n\t\t\t(mousedown)=\"startVolumeDrag($event)\"\n\t\t\t(touchstart)=\"startVolumeDrag($event)\"\n\t\t></div>\n\t</div>\n</div>\n" }]
420
+ args: [{ selector: 'st-volume-control', imports: [IconComponent, CommonModule, ButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n<!-- Volume Control -->\n<div class=\"flex items-center justify-end gap-2\">\n\t<!-- Mute/Unmute Button -->\n\t<st-button [ghost]=\"true\" size=\"sm\" [circle]=\"true\" (click)=\"toggleMute()\">\n\t\t@if (audioService.volume() === 0) {\n\t\t\t<st-icon [icon]=\"iconVolumeMute\" size=\"sm\"></st-icon>\n\t\t} @else if (audioService.volume() > 0.5) {\n\t\t\t<st-icon [icon]=\"iconVolumeUp\" size=\"sm\"></st-icon>\n\t\t} @else {\n\t\t\t<st-icon [icon]=\"iconVolumeDown\" size=\"sm\"></st-icon>\n\t\t}\n\t</st-button>\n\n\t<!-- Custom Volume Progress Bar -->\n\t<div\n\t\t[class]=\"volumeTimelineClass()\"\n\t\t(click)=\"seekVolume($event)\"\n\t\t#volumeTimeline\n\t\t(mouseenter)=\"handleVolumeHover(true)\"\n\t\t(mouseleave)=\"handleVolumeHover(false)\"\n\t>\n\t\t<!-- Volume Progress Bar Background -->\n\t\t<div class=\"bg-primary absolute h-full rounded-full\" [style.width]=\"audioService.volume() * 100 + '%'\"></div>\n\n\t\t<!-- Draggable Volume Circle -->\n\t\t<div\n\t\t\t[style.left]=\"'calc(' + audioService.volume() * 100 + '% - ' + (audioService.volume() === 1 ? '6px' : '3px') + ')'\"\n\t\t\t[class]=\"volumeTimelineCircleClass()\"\n\t\t\t#volumeCircle\n\t\t\t(mousedown)=\"startVolumeDrag($event)\"\n\t\t\t(touchstart)=\"startVolumeDrag($event)\"\n\t\t></div>\n\t</div>\n</div>\n" }]
404
421
  }], propDecorators: { onVolumeDrag: [{
405
422
  type: HostListener,
406
423
  args: ['document:mousemove', ['$event']]
@@ -450,11 +467,11 @@ class AudioPlayerComponent {
450
467
  // Sync tracks with service
451
468
  effect(() => {
452
469
  this.audioPlayerService.setTracks(this.tracks());
453
- }, { allowSignalWrites: true });
470
+ });
454
471
  // One-way sync from service to component
455
472
  effect(() => {
456
473
  this.currentTrackIndex.set(this.audioPlayerService.currentTrackIndex());
457
- }, { allowSignalWrites: true });
474
+ });
458
475
  }
459
476
  handleAnimationEnd(event) {
460
477
  if (this.variant() !== 'fixed')
@@ -483,18 +500,21 @@ class AudioPlayerComponent {
483
500
  async next() {
484
501
  await this.audioPlayerService.next();
485
502
  }
503
+ handleOpen() {
504
+ this.opened.set(true);
505
+ }
486
506
  handleClose() {
487
507
  this.opened.set(false);
488
508
  }
489
509
  ngOnDestroy() {
490
510
  this.audioPlayerService.cleanup();
491
511
  }
492
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: AudioPlayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
493
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: AudioPlayerComponent, isStandalone: true, selector: "st-audio-player", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null }, opened: { classPropertyName: "opened", publicName: "opened", isSignal: true, isRequired: false, transformFunction: null }, tracks: { classPropertyName: "tracks", publicName: "tracks", isSignal: true, isRequired: false, transformFunction: null }, showTrackList: { classPropertyName: "showTrackList", publicName: "showTrackList", isSignal: true, isRequired: false, transformFunction: null }, currentTrackIndex: { classPropertyName: "currentTrackIndex", publicName: "currentTrackIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { opened: "openedChange", currentTrackIndex: "currentTrackIndexChange" }, ngImport: i0, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n<div class=\"flex w-full flex-col gap-4\">\n\t<!-- Track List -->\n\t@if (showTrackList()) {\n\t\t<div class=\"mb-4 rounded-box border border-neutral shadow-sm\">\n\t\t\t<div class=\"p-4\">\n\t\t\t\t<h4 typography tyVariant=\"h4\">{{ 'sdk.audioPlayer.trackListTitle' | translate }}</h4>\n\t\t\t\t<div class=\"max-h-[300px] space-y-2 overflow-y-auto\">\n\t\t\t\t\t@for (track of tracks(); track $index; let i = $index) {\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass=\"flex cursor-pointer items-center gap-2 rounded-btn p-2 hover:bg-base-300\"\n\t\t\t\t\t\t\t[class.bg-base-300]=\"audioPlayerService.currentTrackIndex() === i\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<st-button-play [trackIndex]=\"i\"> </st-button-play>\n\t\t\t\t\t\t\t<div class=\"flex-1\">\n\t\t\t\t\t\t\t\t<div typography tyVariant=\"body\">{{ track.title }}</div>\n\t\t\t\t\t\t\t\t<div typography tyVariant=\"body-sm\">{{ track.description }}</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t}\n\n\t<div [class]=\"playerClass()\" (animationend)=\"handleAnimationEnd($event)\" (animationstart)=\"handleAnimationStart($event)\">\n\t\t<!-- close button -->\n\t\t@if (variant() === 'fixed') {\n\t\t\t<div class=\"absolute right-[2px] top-[2px]\">\n\t\t\t\t<button class=\"btn-circle btn btn-ghost btn-xs absolute right-0 top-0\" (click)=\"handleClose()\">\u2715</button>\n\t\t\t</div>\n\t\t}\n\n\t\t<!-- track info -->\n\t\t<st-track-info [currentTrack]=\"currentTrack()\"></st-track-info>\n\n\t\t<div class=\"grid items-center\">\n\t\t\t<!-- Controls -->\n\t\t\t<div class=\"flex items-center justify-center gap-2\">\n\t\t\t\t<st-button (click)=\"previous()\" [ghost]=\"true\" [icon]=\"iconSkipPrevious\" [circle]=\"true\" size=\"sm\"> </st-button>\n\n\t\t\t\t<st-button (click)=\"togglePlay()\" [icon]=\"audioPlayerService.isPlaying() ? iconPause : iconPlay\" [circle]=\"true\" size=\"sm\" [shadow]=\"true\">\n\t\t\t\t</st-button>\n\n\t\t\t\t<st-button (click)=\"next()\" [ghost]=\"true\" [icon]=\"iconSkipNext\" [circle]=\"true\" size=\"sm\"> </st-button>\n\t\t\t</div>\n\n\t\t\t<!-- Progress Bar -->\n\t\t\t<st-timeline></st-timeline>\n\t\t</div>\n\n\t\t<!-- Volume Control -->\n\t\t<st-volume-control></st-volume-control>\n\t</div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "circle", "square", "glass", "block", "loader", "size", "shadow", "icon", "iconPosition", "type", "disabled"] }, { kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }, { kind: "component", type: VolumeControlComponent, selector: "st-volume-control" }, { kind: "component", type: TrackInfoComponent, selector: "st-track-info", inputs: ["currentTrack"] }, { kind: "component", type: AudioTimelineComponent, selector: "st-timeline" }, { kind: "component", type: ButtonPlayComponent, selector: "st-button-play", inputs: ["variant", "ghost", "outline", "circle", "square", "glass", "size", "shadow", "asButton", "trackIndex"], outputs: ["onTogglePlay"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
512
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AudioPlayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
513
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: AudioPlayerComponent, isStandalone: true, selector: "st-audio-player", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null }, opened: { classPropertyName: "opened", publicName: "opened", isSignal: true, isRequired: false, transformFunction: null }, tracks: { classPropertyName: "tracks", publicName: "tracks", isSignal: true, isRequired: false, transformFunction: null }, showTrackList: { classPropertyName: "showTrackList", publicName: "showTrackList", isSignal: true, isRequired: false, transformFunction: null }, currentTrackIndex: { classPropertyName: "currentTrackIndex", publicName: "currentTrackIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { opened: "openedChange", currentTrackIndex: "currentTrackIndexChange" }, ngImport: i0, template: "<div class=\"flex w-full flex-col gap-4\">\n\t<!-- Track List -->\n\t@if (showTrackList()) {\n\t\t<div class=\"rounded-box border-neutral shadow-main mb-4 border\">\n\t\t\t<div class=\"p-4\">\n\t\t\t\t<h4 typography tyVariant=\"h4\">{{ 'sdk.audioPlayer.trackListTitle' | translate }}</h4>\n\t\t\t\t<div class=\"max-h-[300px] space-y-2 overflow-y-auto\">\n\t\t\t\t\t@for (track of tracks(); track $index; let i = $index) {\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass=\"rounded-field hover:bg-base-300 flex cursor-pointer items-center gap-2 p-2\"\n\t\t\t\t\t\t\t[class.bg-base-300]=\"audioPlayerService.currentTrackIndex() === i\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<st-button-play [trackIndex]=\"i\" (click)=\"handleOpen()\"> </st-button-play>\n\t\t\t\t\t\t\t<div class=\"flex-1\">\n\t\t\t\t\t\t\t\t<div typography tyVariant=\"body\">{{ track.title }}</div>\n\t\t\t\t\t\t\t\t<div typography tyVariant=\"body-sm\">{{ track.description }}</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t}\n\n\t<div [class]=\"playerClass()\" (animationend)=\"handleAnimationEnd($event)\" (animationstart)=\"handleAnimationStart($event)\">\n\t\t<!-- close button -->\n\t\t@if (variant() === 'fixed') {\n\t\t\t<div class=\"absolute top-[2px] right-[2px]\">\n\t\t\t\t<button class=\"btn-circle btn btn-ghost btn-xs absolute top-0 right-0\" (click)=\"handleClose()\">\u2715</button>\n\t\t\t</div>\n\t\t}\n\n\t\t<!-- track info -->\n\t\t<st-track-info [currentTrack]=\"currentTrack()\"></st-track-info>\n\n\t\t<div class=\"grid items-center\">\n\t\t\t<!-- Controls -->\n\t\t\t<div class=\"flex items-center justify-center gap-2\">\n\t\t\t\t<st-button (click)=\"previous()\" [ghost]=\"true\" [circle]=\"true\" size=\"sm\">\n\t\t\t\t\t<st-icon [icon]=\"iconSkipPrevious\" size=\"sm\"></st-icon>\n\t\t\t\t</st-button>\n\n\t\t\t\t<st-button (click)=\"togglePlay()\" [circle]=\"true\" size=\"sm\" [shadow]=\"true\">\n\t\t\t\t\t<st-icon [icon]=\"audioPlayerService.isPlaying() ? iconPause : iconPlay\" size=\"sm\"></st-icon>\n\t\t\t\t</st-button>\n\n\t\t\t\t<st-button (click)=\"next()\" [ghost]=\"true\" [circle]=\"true\" size=\"sm\">\n\t\t\t\t\t<st-icon [icon]=\"iconSkipNext\" size=\"sm\"></st-icon>\n\t\t\t\t</st-button>\n\t\t\t</div>\n\n\t\t\t<!-- Progress Bar -->\n\t\t\t<st-timeline></st-timeline>\n\t\t</div>\n\n\t\t<!-- Volume Control -->\n\t\t<st-volume-control></st-volume-control>\n\t</div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: ButtonComponent, selector: "st-button", inputs: ["variant", "ghost", "outline", "link", "soft", "dash", "wide", "circle", "square", "glass", "block", "loader", "size", "shadow", "icon", "iconPosition", "type", "disabled"] }, { kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }, { kind: "component", type: VolumeControlComponent, selector: "st-volume-control" }, { kind: "component", type: TrackInfoComponent, selector: "st-track-info", inputs: ["currentTrack"] }, { kind: "component", type: AudioTimelineComponent, selector: "st-timeline" }, { kind: "component", type: ButtonPlayComponent, selector: "st-button-play", inputs: ["variant", "ghost", "outline", "circle", "square", "glass", "size", "shadow", "asButton", "trackIndex"], outputs: ["togglePlay"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
494
514
  }
495
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: AudioPlayerComponent, decorators: [{
515
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: AudioPlayerComponent, decorators: [{
496
516
  type: Component,
497
- args: [{ selector: 'st-audio-player', standalone: true, imports: [
517
+ args: [{ selector: 'st-audio-player', imports: [
498
518
  CommonModule,
499
519
  ButtonComponent,
500
520
  TypographyDirective,
@@ -503,7 +523,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
503
523
  AudioTimelineComponent,
504
524
  ButtonPlayComponent,
505
525
  TranslatePipe,
506
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- eslint-disable @angular-eslint/template/interactive-supports-focus -->\n<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->\n\n<div class=\"flex w-full flex-col gap-4\">\n\t<!-- Track List -->\n\t@if (showTrackList()) {\n\t\t<div class=\"mb-4 rounded-box border border-neutral shadow-sm\">\n\t\t\t<div class=\"p-4\">\n\t\t\t\t<h4 typography tyVariant=\"h4\">{{ 'sdk.audioPlayer.trackListTitle' | translate }}</h4>\n\t\t\t\t<div class=\"max-h-[300px] space-y-2 overflow-y-auto\">\n\t\t\t\t\t@for (track of tracks(); track $index; let i = $index) {\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass=\"flex cursor-pointer items-center gap-2 rounded-btn p-2 hover:bg-base-300\"\n\t\t\t\t\t\t\t[class.bg-base-300]=\"audioPlayerService.currentTrackIndex() === i\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<st-button-play [trackIndex]=\"i\"> </st-button-play>\n\t\t\t\t\t\t\t<div class=\"flex-1\">\n\t\t\t\t\t\t\t\t<div typography tyVariant=\"body\">{{ track.title }}</div>\n\t\t\t\t\t\t\t\t<div typography tyVariant=\"body-sm\">{{ track.description }}</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t}\n\n\t<div [class]=\"playerClass()\" (animationend)=\"handleAnimationEnd($event)\" (animationstart)=\"handleAnimationStart($event)\">\n\t\t<!-- close button -->\n\t\t@if (variant() === 'fixed') {\n\t\t\t<div class=\"absolute right-[2px] top-[2px]\">\n\t\t\t\t<button class=\"btn-circle btn btn-ghost btn-xs absolute right-0 top-0\" (click)=\"handleClose()\">\u2715</button>\n\t\t\t</div>\n\t\t}\n\n\t\t<!-- track info -->\n\t\t<st-track-info [currentTrack]=\"currentTrack()\"></st-track-info>\n\n\t\t<div class=\"grid items-center\">\n\t\t\t<!-- Controls -->\n\t\t\t<div class=\"flex items-center justify-center gap-2\">\n\t\t\t\t<st-button (click)=\"previous()\" [ghost]=\"true\" [icon]=\"iconSkipPrevious\" [circle]=\"true\" size=\"sm\"> </st-button>\n\n\t\t\t\t<st-button (click)=\"togglePlay()\" [icon]=\"audioPlayerService.isPlaying() ? iconPause : iconPlay\" [circle]=\"true\" size=\"sm\" [shadow]=\"true\">\n\t\t\t\t</st-button>\n\n\t\t\t\t<st-button (click)=\"next()\" [ghost]=\"true\" [icon]=\"iconSkipNext\" [circle]=\"true\" size=\"sm\"> </st-button>\n\t\t\t</div>\n\n\t\t\t<!-- Progress Bar -->\n\t\t\t<st-timeline></st-timeline>\n\t\t</div>\n\n\t\t<!-- Volume Control -->\n\t\t<st-volume-control></st-volume-control>\n\t</div>\n</div>\n" }]
526
+ IconComponent,
527
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex w-full flex-col gap-4\">\n\t<!-- Track List -->\n\t@if (showTrackList()) {\n\t\t<div class=\"rounded-box border-neutral shadow-main mb-4 border\">\n\t\t\t<div class=\"p-4\">\n\t\t\t\t<h4 typography tyVariant=\"h4\">{{ 'sdk.audioPlayer.trackListTitle' | translate }}</h4>\n\t\t\t\t<div class=\"max-h-[300px] space-y-2 overflow-y-auto\">\n\t\t\t\t\t@for (track of tracks(); track $index; let i = $index) {\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass=\"rounded-field hover:bg-base-300 flex cursor-pointer items-center gap-2 p-2\"\n\t\t\t\t\t\t\t[class.bg-base-300]=\"audioPlayerService.currentTrackIndex() === i\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<st-button-play [trackIndex]=\"i\" (click)=\"handleOpen()\"> </st-button-play>\n\t\t\t\t\t\t\t<div class=\"flex-1\">\n\t\t\t\t\t\t\t\t<div typography tyVariant=\"body\">{{ track.title }}</div>\n\t\t\t\t\t\t\t\t<div typography tyVariant=\"body-sm\">{{ track.description }}</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t}\n\n\t<div [class]=\"playerClass()\" (animationend)=\"handleAnimationEnd($event)\" (animationstart)=\"handleAnimationStart($event)\">\n\t\t<!-- close button -->\n\t\t@if (variant() === 'fixed') {\n\t\t\t<div class=\"absolute top-[2px] right-[2px]\">\n\t\t\t\t<button class=\"btn-circle btn btn-ghost btn-xs absolute top-0 right-0\" (click)=\"handleClose()\">\u2715</button>\n\t\t\t</div>\n\t\t}\n\n\t\t<!-- track info -->\n\t\t<st-track-info [currentTrack]=\"currentTrack()\"></st-track-info>\n\n\t\t<div class=\"grid items-center\">\n\t\t\t<!-- Controls -->\n\t\t\t<div class=\"flex items-center justify-center gap-2\">\n\t\t\t\t<st-button (click)=\"previous()\" [ghost]=\"true\" [circle]=\"true\" size=\"sm\">\n\t\t\t\t\t<st-icon [icon]=\"iconSkipPrevious\" size=\"sm\"></st-icon>\n\t\t\t\t</st-button>\n\n\t\t\t\t<st-button (click)=\"togglePlay()\" [circle]=\"true\" size=\"sm\" [shadow]=\"true\">\n\t\t\t\t\t<st-icon [icon]=\"audioPlayerService.isPlaying() ? iconPause : iconPlay\" size=\"sm\"></st-icon>\n\t\t\t\t</st-button>\n\n\t\t\t\t<st-button (click)=\"next()\" [ghost]=\"true\" [circle]=\"true\" size=\"sm\">\n\t\t\t\t\t<st-icon [icon]=\"iconSkipNext\" size=\"sm\"></st-icon>\n\t\t\t\t</st-button>\n\t\t\t</div>\n\n\t\t\t<!-- Progress Bar -->\n\t\t\t<st-timeline></st-timeline>\n\t\t</div>\n\n\t\t<!-- Volume Control -->\n\t\t<st-volume-control></st-volume-control>\n\t</div>\n</div>\n" }]
507
528
  }], ctorParameters: () => [] });
508
529
 
509
530
  /**