@acorex/components 19.10.9 → 19.11.0-next.1

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 (470) hide show
  1. package/action-sheet/lib/action-sheet.component.d.ts +1 -1
  2. package/action-sheet/lib/action-sheet.module.d.ts +11 -11
  3. package/alert/lib/alert.component.d.ts +1 -1
  4. package/alert/lib/alert.module.d.ts +4 -4
  5. package/audio-wave/lib/audio-wave.component.d.ts +1 -1
  6. package/audio-wave/lib/audio-wave.module.d.ts +7 -7
  7. package/avatar/lib/avatar-group.component.d.ts +1 -1
  8. package/avatar/lib/avatar.component.d.ts +1 -1
  9. package/avatar/lib/avatar.module.d.ts +4 -4
  10. package/badge/lib/badge.component.d.ts +1 -1
  11. package/badge/lib/badge.module.d.ts +3 -3
  12. package/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.d.ts +1 -1
  13. package/bottom-navigation/lib/bottom-navigation.component.d.ts +1 -1
  14. package/bottom-navigation/lib/bottom-navigation.module.d.ts +4 -4
  15. package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +1 -1
  16. package/breadcrumbs/lib/breadcrumbs.component.d.ts +1 -1
  17. package/breadcrumbs/lib/breadcrumbs.module.d.ts +5 -5
  18. package/button/lib/button-item-list.component.d.ts +1 -1
  19. package/button/lib/button-item.component.d.ts +1 -1
  20. package/button/lib/button.component.d.ts +1 -1
  21. package/button/lib/button.module.d.ts +8 -8
  22. package/button-group/lib/button-group-item.component.d.ts +1 -1
  23. package/button-group/lib/button-group.component.d.ts +1 -1
  24. package/button-group/lib/button-group.module.d.ts +6 -6
  25. package/calendar/lib/calendar-range.component.d.ts +1 -1
  26. package/calendar/lib/calendar.component.d.ts +1 -1
  27. package/calendar/lib/calendar.module.d.ts +8 -8
  28. package/check-box/lib/check-box.component.d.ts +1 -1
  29. package/check-box/lib/check-box.module.d.ts +5 -5
  30. package/chips/lib/chips.component.d.ts +1 -1
  31. package/chips/lib/chips.module.d.ts +3 -3
  32. package/circular-progress/lib/circular-progress.component.d.ts +1 -1
  33. package/circular-progress/lib/circular-progress.module.d.ts +1 -1
  34. package/collapse/lib/collapse-group.component.d.ts +1 -1
  35. package/collapse/lib/collapse.component.d.ts +1 -1
  36. package/collapse/lib/collapse.module.d.ts +5 -5
  37. package/color-box/lib/color-box.component.d.ts +1 -1
  38. package/color-box/lib/color-box.module.d.ts +6 -6
  39. package/color-palette/lib/color-palette-input.component.d.ts +1 -1
  40. package/color-palette/lib/color-palette-picker.component.d.ts +1 -1
  41. package/color-palette/lib/color-palette-preview.component.d.ts +3 -3
  42. package/color-palette/lib/color-palette-swatches.component.d.ts +1 -1
  43. package/color-palette/lib/color-palette.component.d.ts +3 -3
  44. package/color-palette/lib/color-palette.module.d.ts +17 -17
  45. package/comment/lib/comment-container/comment-container.component.d.ts +1 -1
  46. package/comment/lib/comment-item/comment-item.component.d.ts +1 -1
  47. package/comment/lib/comment-tools/comment-date/comment-date.component.d.ts +1 -1
  48. package/comment/lib/comment-tools/comment-like/comment-like.component.d.ts +1 -1
  49. package/comment/lib/comment-tools/comment-menu-options/comment-menu-options.component.d.ts +1 -1
  50. package/comment/lib/comment-tools/comment-reply-more/comment-reply-more.component.d.ts +1 -1
  51. package/comment/lib/comment-tools/comment-reply-text/comment-reply-text.component.d.ts +1 -1
  52. package/comment/lib/comment-view/comment-view.component.d.ts +1 -1
  53. package/comment/lib/comment.module.d.ts +16 -16
  54. package/common/lib/common.module.d.ts +1 -1
  55. package/common/lib/directives/auto-focus.directive.d.ts +1 -1
  56. package/common/lib/directives/hotkey.directive.d.ts +1 -1
  57. package/common/lib/directives/infinite-scroll.directive.d.ts +1 -1
  58. package/common/lib/directives/responsive.directive.d.ts +1 -1
  59. package/conversation/lib/conversation-container/conversation-container.component.d.ts +1 -1
  60. package/conversation/lib/conversation-input/conversation-input.component.d.ts +1 -1
  61. package/conversation/lib/conversation-message/conversation-message.component.d.ts +1 -1
  62. package/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.d.ts +1 -1
  63. package/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.d.ts +1 -1
  64. package/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.d.ts +1 -1
  65. package/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.d.ts +1 -1
  66. package/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.d.ts +1 -1
  67. package/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.d.ts +1 -1
  68. package/conversation/lib/conversation-view/conversation-view.component.d.ts +1 -1
  69. package/conversation/lib/conversation.module.d.ts +29 -29
  70. package/cron-job/lib/cron-job-container/cron-job-container.component.d.ts +1 -1
  71. package/cron-job/lib/cron-job.module.d.ts +20 -20
  72. package/cron-job/lib/day/day.component.d.ts +1 -1
  73. package/cron-job/lib/hours/hours.component.d.ts +1 -1
  74. package/cron-job/lib/minutes/minutes.component.d.ts +1 -1
  75. package/cron-job/lib/month/month.component.d.ts +1 -1
  76. package/cron-job/lib/seconds/seconds.component.d.ts +1 -1
  77. package/cron-job/lib/year/year.component.d.ts +1 -1
  78. package/data-pager/lib/data-pager-info.component.d.ts +1 -1
  79. package/data-pager/lib/data-pager-input-selector.component.d.ts +1 -1
  80. package/data-pager/lib/data-pager-next-buttons.component.d.ts +1 -1
  81. package/data-pager/lib/data-pager-numeric-selector.component.d.ts +1 -1
  82. package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +1 -1
  83. package/data-pager/lib/data-pager-prev-buttons.component.d.ts +1 -1
  84. package/data-pager/lib/data-pager.component.d.ts +1 -1
  85. package/data-pager/lib/data-pager.module.d.ts +17 -17
  86. package/data-table/lib/columns/data-table-column-resizable.directive.d.ts +1 -1
  87. package/data-table/lib/columns/data-text-column.component.d.ts +1 -1
  88. package/data-table/lib/columns/row-command-column.component.d.ts +2 -2
  89. package/data-table/lib/columns/row-expand-column.component.d.ts +1 -1
  90. package/data-table/lib/columns/row-index-column.component.d.ts +10 -10
  91. package/data-table/lib/columns/row-select-column.component.d.ts +1 -1
  92. package/data-table/lib/data-table/data-table.component.d.ts +1 -1
  93. package/data-table/lib/data-table.module.d.ts +22 -22
  94. package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +1 -1
  95. package/datetime-box/lib/datetime-box.component.d.ts +1 -1
  96. package/datetime-box/lib/datetime-box.module.d.ts +8 -8
  97. package/datetime-input/lib/datetime-input.component.d.ts +1 -1
  98. package/datetime-input/lib/datetime-input.module.d.ts +5 -5
  99. package/datetime-picker/lib/datetime-picker.component.d.ts +1 -1
  100. package/datetime-picker/lib/datetime-picker.module.d.ts +11 -11
  101. package/decorators/lib/components/clear-button/clear-button.component.d.ts +1 -1
  102. package/decorators/lib/components/close-button/close-button.component.d.ts +1 -1
  103. package/decorators/lib/components/color-indicator/color-indicator.component.d.ts +1 -1
  104. package/decorators/lib/components/full-screen/full-screen-button.component.d.ts +1 -1
  105. package/decorators/lib/components/generic-content.component.d.ts +1 -1
  106. package/decorators/lib/components/heading/heading.component.d.ts +1 -1
  107. package/decorators/lib/components/icon/icon.component.d.ts +1 -1
  108. package/decorators/lib/decorators.module.d.ts +9 -9
  109. package/dialog/lib/dialog.component.d.ts +1 -1
  110. package/dialog/lib/dialog.module.d.ts +11 -11
  111. package/drawer/lib/drawer/drawer-container/drawer-container.component.d.ts +1 -1
  112. package/drawer/lib/drawer/drawer-item/drawer.component.d.ts +1 -1
  113. package/drawer/lib/drawer.module.d.ts +4 -4
  114. package/dropdown/lib/dropdown-box.component.d.ts +1 -1
  115. package/dropdown/lib/dropdown-panel.component.d.ts +1 -1
  116. package/dropdown/lib/dropdown.module.d.ts +9 -9
  117. package/dropdown-button/lib/dropdown-button.component.d.ts +1 -1
  118. package/dropdown-button/lib/dropdown-button.module.d.ts +8 -8
  119. package/fesm2022/acorex-components-action-sheet.mjs +20 -53
  120. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  121. package/fesm2022/acorex-components-alert.mjs +11 -13
  122. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  123. package/fesm2022/acorex-components-audio-wave.mjs +12 -15
  124. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  125. package/fesm2022/acorex-components-avatar.mjs +13 -15
  126. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  127. package/fesm2022/acorex-components-badge.mjs +10 -11
  128. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  129. package/fesm2022/acorex-components-bottom-navigation.mjs +14 -15
  130. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  131. package/fesm2022/acorex-components-breadcrumbs.mjs +15 -17
  132. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  133. package/fesm2022/acorex-components-button-group.mjs +16 -18
  134. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  135. package/fesm2022/acorex-components-button.mjs +28 -51
  136. package/fesm2022/acorex-components-button.mjs.map +1 -1
  137. package/fesm2022/acorex-components-calendar.mjs +26 -42
  138. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  139. package/fesm2022/acorex-components-check-box.mjs +11 -12
  140. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  141. package/fesm2022/acorex-components-chips.mjs +10 -11
  142. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  143. package/fesm2022/acorex-components-circular-progress.mjs +10 -11
  144. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  145. package/fesm2022/acorex-components-collapse.mjs +16 -20
  146. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  147. package/fesm2022/acorex-components-color-box.mjs +23 -40
  148. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  149. package/fesm2022/acorex-components-color-palette.mjs +50 -56
  150. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  151. package/fesm2022/acorex-components-comment.mjs +47 -63
  152. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  153. package/fesm2022/acorex-components-common.mjs +94 -107
  154. package/fesm2022/acorex-components-common.mjs.map +1 -1
  155. package/fesm2022/acorex-components-conversation.mjs +101 -99
  156. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  157. package/fesm2022/acorex-components-cron-job.mjs +312 -248
  158. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  159. package/fesm2022/acorex-components-data-pager.mjs +79 -67
  160. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  161. package/fesm2022/acorex-components-data-table.mjs +121 -144
  162. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  163. package/fesm2022/acorex-components-datetime-box.mjs +11 -15
  164. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  165. package/fesm2022/acorex-components-datetime-input.mjs +17 -33
  166. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  167. package/fesm2022/acorex-components-datetime-picker.mjs +35 -30
  168. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  169. package/fesm2022/acorex-components-decorators.mjs +42 -58
  170. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  171. package/fesm2022/acorex-components-dialog.mjs +32 -30
  172. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  173. package/fesm2022/acorex-components-drawer.mjs +17 -18
  174. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  175. package/fesm2022/acorex-components-dropdown-button.mjs +15 -20
  176. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  177. package/fesm2022/acorex-components-dropdown.mjs +18 -21
  178. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  179. package/fesm2022/acorex-components-file-explorer.mjs +53 -49
  180. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  181. package/fesm2022/acorex-components-form.mjs +56 -50
  182. package/fesm2022/acorex-components-form.mjs.map +1 -1
  183. package/fesm2022/acorex-components-grid-layout-builder.mjs +17 -22
  184. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  185. package/fesm2022/acorex-components-image-editor.mjs +44 -52
  186. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  187. package/fesm2022/acorex-components-image.mjs +11 -16
  188. package/fesm2022/acorex-components-image.mjs.map +1 -1
  189. package/fesm2022/acorex-components-json-viewer.mjs +12 -18
  190. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  191. package/fesm2022/acorex-components-kbd.mjs +14 -15
  192. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  193. package/fesm2022/acorex-components-label.mjs +10 -11
  194. package/fesm2022/acorex-components-label.mjs.map +1 -1
  195. package/fesm2022/acorex-components-list.mjs +23 -18
  196. package/fesm2022/acorex-components-list.mjs.map +1 -1
  197. package/fesm2022/acorex-components-loading-dialog.mjs +46 -45
  198. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  199. package/fesm2022/acorex-components-loading.mjs +22 -31
  200. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  201. package/fesm2022/acorex-components-map.mjs +14 -18
  202. package/fesm2022/acorex-components-map.mjs.map +1 -1
  203. package/fesm2022/acorex-components-media-viewer.mjs +69 -74
  204. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  205. package/fesm2022/acorex-components-menu.mjs +28 -41
  206. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  207. package/fesm2022/acorex-components-navbar.mjs +10 -11
  208. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  209. package/fesm2022/acorex-components-notification.mjs +19 -26
  210. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  211. package/fesm2022/acorex-components-number-box.mjs +11 -13
  212. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  213. package/fesm2022/acorex-components-otp.mjs +13 -15
  214. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  215. package/fesm2022/acorex-components-page.mjs +11 -11
  216. package/fesm2022/acorex-components-paint.mjs +33 -67
  217. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  218. package/fesm2022/acorex-components-password-box.mjs +21 -51
  219. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  220. package/fesm2022/acorex-components-pdf-reader.mjs +10 -11
  221. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  222. package/fesm2022/acorex-components-phone-box.mjs +17 -39
  223. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  224. package/fesm2022/acorex-components-picker.mjs +21 -23
  225. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  226. package/fesm2022/acorex-components-popover.mjs +10 -11
  227. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  228. package/fesm2022/acorex-components-popup.mjs +28 -51
  229. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  230. package/fesm2022/acorex-components-progress-bar.mjs +10 -11
  231. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  232. package/fesm2022/acorex-components-qrcode.mjs +10 -11
  233. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  234. package/fesm2022/acorex-components-query-builder.mjs +31 -28
  235. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  236. package/fesm2022/acorex-components-radio.mjs +11 -12
  237. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  238. package/fesm2022/acorex-components-rail-navigation.mjs +19 -22
  239. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  240. package/fesm2022/acorex-components-range-slider.mjs +12 -14
  241. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  242. package/fesm2022/acorex-components-rate-picker.mjs +10 -11
  243. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  244. package/fesm2022/acorex-components-rest-api-generator.mjs +50 -45
  245. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  246. package/fesm2022/acorex-components-result.mjs +16 -17
  247. package/fesm2022/acorex-components-result.mjs.map +1 -1
  248. package/fesm2022/acorex-components-routing-progress.mjs +16 -17
  249. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  250. package/fesm2022/acorex-components-scheduler.mjs +30 -27
  251. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  252. package/fesm2022/acorex-components-scss.mjs +4 -4
  253. package/fesm2022/acorex-components-search-box.mjs +17 -40
  254. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  255. package/fesm2022/acorex-components-select-box.mjs +31 -24
  256. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  257. package/fesm2022/acorex-components-selection-list.mjs +15 -34
  258. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  259. package/fesm2022/acorex-components-side-menu.mjs +26 -56
  260. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  261. package/fesm2022/acorex-components-skeleton.mjs +10 -11
  262. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  263. package/fesm2022/acorex-components-slider.mjs +11 -12
  264. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  265. package/fesm2022/acorex-components-sliding-item.mjs +19 -22
  266. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  267. package/fesm2022/acorex-components-step-wizard.mjs +20 -24
  268. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  269. package/fesm2022/acorex-components-switch.mjs +13 -15
  270. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  271. package/fesm2022/acorex-components-tabs.mjs +19 -22
  272. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  273. package/fesm2022/acorex-components-tag.mjs +10 -11
  274. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  275. package/fesm2022/acorex-components-text-area.mjs +12 -24
  276. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  277. package/fesm2022/acorex-components-text-box.mjs +17 -47
  278. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  279. package/fesm2022/acorex-components-time-line.mjs +16 -18
  280. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  281. package/fesm2022/acorex-components-toast.mjs +16 -20
  282. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  283. package/fesm2022/acorex-components-toolbar.mjs +10 -12
  284. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  285. package/fesm2022/acorex-components-tooltip.mjs +14 -18
  286. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  287. package/fesm2022/acorex-components-tree-view.mjs +28 -28
  288. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  289. package/fesm2022/acorex-components-uploader.mjs +42 -49
  290. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  291. package/fesm2022/acorex-components-video-player.mjs +10 -11
  292. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  293. package/fesm2022/acorex-components-wysiwyg.mjs +65 -71
  294. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  295. package/file-explorer/lib/file-explorer-container/file-explorer-container.component.d.ts +1 -1
  296. package/file-explorer/lib/file-explorer-header/file-explorer-header.component.d.ts +1 -1
  297. package/file-explorer/lib/file-explorer-item/file-explorer-item.component.d.ts +1 -1
  298. package/file-explorer/lib/file-explorer-tree/file-explorer-tree.component.d.ts +1 -1
  299. package/file-explorer/lib/file-explorer-view/file-explorer-view.component.d.ts +1 -1
  300. package/file-explorer/lib/file-explorer.module.d.ts +14 -14
  301. package/form/lib/form-field.component.d.ts +1 -1
  302. package/form/lib/form.component.d.ts +1 -1
  303. package/form/lib/form.module.d.ts +11 -11
  304. package/form/lib/validation-rule.directive.d.ts +1 -1
  305. package/form/lib/validation-summary.component.d.ts +1 -1
  306. package/grid-layout-builder/lib/grid-layout-builder.module.d.ts +5 -5
  307. package/grid-layout-builder/lib/grid-layout-container.component.d.ts +1 -1
  308. package/grid-layout-builder/lib/grid-layout-widget.component.d.ts +1 -1
  309. package/grid-layout-builder/lib/grid-layout-widget.directive.d.ts +1 -1
  310. package/image/lib/image.component.d.ts +1 -1
  311. package/image/lib/image.module.d.ts +3 -3
  312. package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +1 -1
  313. package/image-editor/lib/image-editor-tools/image-editor-color-picker/image-editor-color-picker.component.d.ts +1 -1
  314. package/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.d.ts +1 -1
  315. package/image-editor/lib/image-editor-tools/image-editor-pen-mode-changer/image-editor-pen-mode-changer.component.d.ts +1 -1
  316. package/image-editor/lib/image-editor-view/image-editor-view.component.d.ts +1 -1
  317. package/image-editor/lib/image-editor.module.d.ts +16 -16
  318. package/json-viewer/lib/json-viewer/json-viewer.component.d.ts +1 -1
  319. package/json-viewer/lib/json-viewer.module.d.ts +5 -5
  320. package/kbd/lib/kbd-item/kbd-item.component.d.ts +1 -1
  321. package/kbd/lib/kbd.component.d.ts +1 -1
  322. package/kbd/lib/kbd.module.d.ts +4 -4
  323. package/label/lib/label.component.d.ts +1 -1
  324. package/label/lib/label.module.d.ts +3 -3
  325. package/list/lib/list.component.d.ts +1 -1
  326. package/list/lib/list.module.d.ts +5 -5
  327. package/loading/lib/loading-spinner.component.d.ts +1 -1
  328. package/loading/lib/loading.component.d.ts +1 -1
  329. package/loading/lib/loading.directive.d.ts +1 -1
  330. package/loading/lib/loading.module.d.ts +8 -8
  331. package/loading-dialog/lib/loading-dialog.component.d.ts +18 -18
  332. package/loading-dialog/lib/loading-dialog.module.d.ts +9 -9
  333. package/map/lib/map.component.d.ts +1 -1
  334. package/map/lib/map.module.d.ts +3 -3
  335. package/media-viewer/lib/media-viewer-container/media-viewer-container.component.d.ts +1 -1
  336. package/media-viewer/lib/media-viewer-slider/media-viewer-slider.component.d.ts +1 -1
  337. package/media-viewer/lib/media-viewer-tools/audio-player/audio-player.component.d.ts +1 -1
  338. package/media-viewer/lib/media-viewer-tools/file-info/file-info.component.d.ts +1 -1
  339. package/media-viewer/lib/media-viewer-tools/image-viewer/image-viewer.component.d.ts +1 -1
  340. package/media-viewer/lib/media-viewer-tools/pdf-reader/pdf-reader.component.d.ts +1 -1
  341. package/media-viewer/lib/media-viewer-tools/video-player/video-player.component.d.ts +1 -1
  342. package/media-viewer/lib/media-viewer.module.d.ts +18 -18
  343. package/menu/lib/context-menu.component.d.ts +1 -1
  344. package/menu/lib/menu-item.component.d.ts +1 -1
  345. package/menu/lib/menu.component.d.ts +1 -1
  346. package/menu/lib/menu.module.d.ts +10 -10
  347. package/navbar/lib/navbar.component.d.ts +1 -1
  348. package/navbar/lib/navbar.module.d.ts +3 -3
  349. package/notification/lib/notification.component.d.ts +1 -1
  350. package/notification/lib/notification.module.d.ts +9 -9
  351. package/number-box/lib/number-box.component.d.ts +1 -1
  352. package/number-box/lib/number-box.module.d.ts +7 -7
  353. package/otp/lib/otp.component.d.ts +1 -1
  354. package/otp/lib/otp.module.d.ts +4 -4
  355. package/package.json +1 -1
  356. package/paint/lib/paint/paint-container/paint-container.component.d.ts +1 -1
  357. package/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.d.ts +1 -1
  358. package/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.d.ts +1 -1
  359. package/paint/lib/paint/paint-view/paint-view.component.d.ts +1 -1
  360. package/paint/lib/paint.module.d.ts +13 -13
  361. package/password-box/lib/password-box.component.d.ts +1 -1
  362. package/password-box/lib/password-box.module.d.ts +10 -10
  363. package/password-box/lib/password-strength-validation/password-strength-validation.component.d.ts +1 -1
  364. package/pdf-reader/lib/pdf-reader/pdf-reader.component.d.ts +1 -1
  365. package/pdf-reader/lib/pdf-reader.module.d.ts +1 -1
  366. package/phone-box/lib/phone-box.component.d.ts +1 -1
  367. package/phone-box/lib/phone-box.module.d.ts +10 -10
  368. package/picker/lib/picker-container/picker-container.component.d.ts +1 -1
  369. package/picker/lib/picker-items/picker-items.component.d.ts +1 -1
  370. package/picker/lib/picker-title/picker-title.component.d.ts +1 -1
  371. package/picker/lib/picker.module.d.ts +6 -6
  372. package/popover/lib/popover.component.d.ts +1 -1
  373. package/popover/lib/popover.module.d.ts +3 -3
  374. package/popup/lib/popup.component.d.ts +9 -9
  375. package/popup/lib/popup.module.d.ts +10 -10
  376. package/progress-bar/lib/progress-bar.component.d.ts +1 -1
  377. package/progress-bar/lib/progress-bar.module.d.ts +3 -3
  378. package/qrcode/lib/qrcode.component.d.ts +1 -1
  379. package/qrcode/lib/qrcode.module.d.ts +3 -3
  380. package/query-builder/lib/query-builder.component.d.ts +1 -1
  381. package/query-builder/lib/query-builder.module.d.ts +10 -10
  382. package/radio/lib/radio.component.d.ts +1 -1
  383. package/radio/lib/radio.module.d.ts +4 -4
  384. package/rail-navigation/lib/rail-navigation-item/rail-navigation-item.component.d.ts +1 -1
  385. package/rail-navigation/lib/rail-navigation.component.d.ts +1 -1
  386. package/rail-navigation/lib/rail-navigation.module.d.ts +5 -5
  387. package/range-slider/lib/range-slider.component.d.ts +1 -1
  388. package/range-slider/lib/range-slider.module.d.ts +3 -3
  389. package/rate-picker/lib/rate-picker.component.d.ts +1 -1
  390. package/rate-picker/lib/rate-picker.module.d.ts +3 -3
  391. package/rest-api-generator/lib/query-params/query-params.component.d.ts +1 -1
  392. package/rest-api-generator/lib/request-body/request-body.component.d.ts +1 -1
  393. package/rest-api-generator/lib/request-headers/request-headers.component.d.ts +1 -1
  394. package/rest-api-generator/lib/rest-api-auth/rest-api-auth.component.d.ts +1 -1
  395. package/rest-api-generator/lib/rest-api-generator.component.d.ts +1 -1
  396. package/rest-api-generator/lib/rest-api-generator.module.d.ts +14 -14
  397. package/result/lib/result.component.d.ts +7 -7
  398. package/result/lib/result.module.d.ts +3 -3
  399. package/routing-progress/lib/routing-progress.component.d.ts +7 -7
  400. package/routing-progress/lib/routing-progress.module.d.ts +3 -3
  401. package/scheduler/lib/scheduler-month-view.component.d.ts +1 -1
  402. package/scheduler/lib/scheduler-week-view.component.d.ts +1 -1
  403. package/scheduler/lib/scheduler.component.d.ts +1 -1
  404. package/scheduler/lib/scheduler.module.d.ts +9 -9
  405. package/search-box/lib/search-box.component.d.ts +1 -1
  406. package/search-box/lib/search-box.module.d.ts +9 -9
  407. package/select-box/lib/select-box.component.d.ts +1 -1
  408. package/select-box/lib/select-box.module.d.ts +15 -15
  409. package/selection-list/lib/selection-list.component.d.ts +1 -1
  410. package/selection-list/lib/selection-list.module.d.ts +8 -8
  411. package/side-menu/lib/side-menu-item/side-menu-item.component.d.ts +1 -1
  412. package/side-menu/lib/side-menu.component.d.ts +1 -1
  413. package/side-menu/lib/side-menu.directive.d.ts +1 -1
  414. package/side-menu/lib/side-menu.module.d.ts +10 -10
  415. package/skeleton/lib/skeleton.component.d.ts +1 -1
  416. package/skeleton/lib/skeleton.module.d.ts +3 -3
  417. package/slider/lib/slider.component.d.ts +1 -1
  418. package/slider/lib/slider.module.d.ts +5 -5
  419. package/sliding-item/lib/sliding-item/sliding-item.component.d.ts +1 -1
  420. package/sliding-item/lib/sliding-item-prefix/sliding-item-prefix.component.d.ts +1 -1
  421. package/sliding-item/lib/sliding-item-suffix/sliding-item-suffix.component.d.ts +1 -1
  422. package/sliding-item/lib/sliding-item.module.d.ts +6 -6
  423. package/step-wizard/lib/step-wizard-item/step-wizard-item.component.d.ts +1 -1
  424. package/step-wizard/lib/step-wizard.component.d.ts +1 -1
  425. package/step-wizard/lib/step-wizard.directive.d.ts +1 -1
  426. package/step-wizard/lib/step-wizard.module.d.ts +8 -8
  427. package/switch/lib/switch-content.component.d.ts +1 -1
  428. package/switch/lib/switch.component.d.ts +1 -1
  429. package/switch/lib/switch.module.d.ts +5 -5
  430. package/tabs/lib/tab-content.directive.d.ts +1 -1
  431. package/tabs/lib/tab-item.component.d.ts +1 -1
  432. package/tabs/lib/tabs.component.d.ts +1 -1
  433. package/tabs/lib/tabs.module.d.ts +7 -7
  434. package/tag/lib/tag.component.d.ts +1 -1
  435. package/tag/lib/tag.module.d.ts +3 -3
  436. package/text-area/lib/text-area.component.d.ts +1 -1
  437. package/text-area/lib/text-area.module.d.ts +4 -4
  438. package/text-box/lib/mask-options.directive.d.ts +1 -1
  439. package/text-box/lib/text-box.component.d.ts +1 -1
  440. package/text-box/lib/text-box.module.d.ts +8 -8
  441. package/time-line/lib/time-line-item.component.d.ts +1 -1
  442. package/time-line/lib/time-line.component.d.ts +1 -1
  443. package/time-line/lib/time-line.module.d.ts +4 -4
  444. package/toast/lib/toast.component.d.ts +1 -1
  445. package/toast/lib/toast.module.d.ts +8 -8
  446. package/toolbar/lib/toolbar.component.d.ts +1 -1
  447. package/toolbar/lib/toolbar.module.d.ts +3 -3
  448. package/tooltip/lib/tooltip.component.d.ts +1 -1
  449. package/tooltip/lib/tooltip.directive.d.ts +1 -1
  450. package/tooltip/lib/tooltip.module.d.ts +5 -5
  451. package/tree-view/lib/tree-view-item.component.d.ts +1 -1
  452. package/tree-view/lib/tree-view.component.d.ts +1 -1
  453. package/tree-view/lib/tree-view.component.module.d.ts +11 -11
  454. package/uploader/lib/uploader-browse-handle.directive.d.ts +1 -1
  455. package/uploader/lib/uploader-dialog-container/uploader-dialog-container.component.d.ts +1 -1
  456. package/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.d.ts +1 -1
  457. package/uploader/lib/uploader-list/uploader-list.component.d.ts +1 -1
  458. package/uploader/lib/uploader-zone.directive.d.ts +1 -1
  459. package/uploader/lib/uploader.module.d.ts +16 -16
  460. package/video-player/lib/video-player/video-player.component.d.ts +1 -1
  461. package/video-player/lib/video-player.module.d.ts +1 -1
  462. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +1 -1
  463. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.d.ts +1 -1
  464. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.d.ts +1 -1
  465. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.d.ts +1 -1
  466. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component.d.ts +1 -1
  467. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.d.ts +1 -1
  468. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component.d.ts +1 -1
  469. package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +1 -1
  470. package/wysiwyg/lib/wysiwyg.module.d.ts +16 -16
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-conversation.mjs","sources":["../../../../libs/components/conversation/src/lib/classes/events.interface.ts","../../../../libs/components/conversation/src/lib/conversation-container/conversation-container.component.ts","../../../../libs/components/conversation/src/lib/conversation-container/conversation-container.component.html","../../../../libs/components/conversation/src/lib/services/conversation.service.ts","../../../../libs/components/conversation/src/lib/services/recording.service.ts","../../../../libs/components/conversation/src/lib/conversation-input/conversation-input.component.ts","../../../../libs/components/conversation/src/lib/conversation-input/conversation-input.component.html","../../../../libs/components/conversation/src/lib/services/conversation-message-type-registry.service.ts","../../../../libs/components/conversation/src/lib/conversation-message/conversation-message.component.ts","../../../../libs/components/conversation/src/lib/conversation-message/conversation-message.component.html","../../../../libs/components/conversation/src/lib/conversation.types.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.html","../../../../libs/components/conversation/src/lib/conversation-view/conversation-view.component.ts","../../../../libs/components/conversation/src/lib/conversation-view/conversation-view.component.html","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-file/conversation-message-file.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-file/conversation-message-file.component.html","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-image/conversation-message-image.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-text/conversation-message-text.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-video/conversation-message-video.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.html","../../../../libs/components/conversation/src/lib/conversation.module.ts","../../../../libs/components/conversation/src/acorex-components-conversation.ts"],"sourcesContent":["import { AXEvent, AXHtmlEvent } from '@acorex/components/common';\n\nexport interface AXInputFileChange extends AXHtmlEvent<MouseEvent> {\n data?: any;\n}\nexport class AXConversationActionEvent extends AXEvent {\n data: any;\n}\n","import { AXClearableComponent, AXComponent, AXFocusableComponent, AXValuableComponent } from '@acorex/components/common';\nimport { Component, forwardRef, ViewEncapsulation } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\n\n/**\n * A container for displaying and managing conversations.\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-container',\n templateUrl: './conversation-container.component.html',\n styleUrl: './conversation-container.component.scss',\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n providers: [\n { provide: AXComponent, useExisting: AXConversationContainerComponent },\n { provide: AXFocusableComponent, useExisting: AXConversationContainerComponent },\n { provide: AXClearableComponent, useExisting: AXConversationContainerComponent },\n { provide: AXValuableComponent, useExisting: AXConversationContainerComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXConversationContainerComponent),\n multi: true,\n },\n ],\n})\nexport class AXConversationContainerComponent {}\n","<div class=\"ax-conversation-container\">\n <ng-content> </ng-content>\n</div>\n","import { Injectable, signal } from '@angular/core';\n\n@Injectable()\nexport class AXConversationService {\n replyId = signal('');\n chats = signal([]);\n}\n","import { Injectable, WritableSignal, signal } from '@angular/core';\n\n@Injectable()\nexport class AXRecordingService {\n audioBlobs: any[] = [];\n mediaRecorder: MediaRecorder | null;\n streamBeingCaptured: any = null;\n\n timer: WritableSignal<string> = signal('00:0');\n\n protected time = {\n seconds: 0,\n minutes: 0,\n hours: 0,\n };\n\n protected timerInterval;\n\n startRecording() {\n if (!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia)) {\n return Promise.reject(new Error('mediaDevices API or getUserMedia method is not supported in this browser.'));\n } else {\n return navigator.mediaDevices.getUserMedia({ audio: true }).then((stream) => {\n this.streamBeingCaptured = stream;\n this.mediaRecorder = new MediaRecorder(stream);\n this.audioBlobs = [];\n this.mediaRecorder.addEventListener('dataavailable', (event) => {\n this.audioBlobs.push(event.data);\n });\n this.mediaRecorder.start();\n this.timerInterval = setInterval(() => {\n this.calculateTime();\n }, 1000);\n });\n }\n }\n\n endRecording() {\n return new Promise((resolve) => {\n const mimeType = this.mediaRecorder?.mimeType;\n this.mediaRecorder?.addEventListener('stop', () => {\n const audioBlob = new Blob(this.audioBlobs, { type: mimeType });\n resolve(audioBlob);\n });\n this.mediaRecorder?.stop();\n this.streamBeingCaptured.getTracks().forEach((track) => track.stop());\n this.mediaRecorder = null;\n this.streamBeingCaptured = null;\n this.resetTimer();\n });\n }\n\n calculateTime() {\n this.time.seconds++;\n if (this.time.seconds >= 60) {\n this.time.seconds = 0;\n this.time.minutes++;\n if (this.time.minutes >= 60) {\n this.time.minutes = 0;\n this.time.hours++;\n }\n }\n\n const formattedTime =\n (this.time.hours > 0 ? this.time.hours + ':' : '') +\n (this.time.minutes < 10 ? '0' + this.time.minutes : this.time.minutes) +\n ':' +\n (this.time.seconds < 10 ? '0' + this.time.seconds : this.time.seconds);\n\n this.timer.set(formattedTime);\n }\n\n resetTimer() {\n clearInterval(this.timerInterval);\n this.time.seconds = 0;\n this.time.minutes = 0;\n this.time.hours = 0;\n this.timer.set('00:0');\n }\n}\n","import {\n AXClickEvent,\n AXComponent,\n AXFocusableComponent,\n AXValuableComponent,\n MXInputBaseValueComponent,\n MXLookComponent,\n} from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Signal,\n ViewChild,\n ViewEncapsulation,\n WritableSignal,\n computed,\n forwardRef,\n inject,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { classes } from 'polytype';\nimport { AXConversationMessage } from '../conversation.types';\nimport { AXConversationService } from '../services/conversation.service';\nimport { AXRecordingService } from '../services/recording.service';\n\n/**\n * An input component for entering conversation messages.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-input',\n templateUrl: './conversation-input.component.html',\n styleUrls: ['./conversation-input.component.scss'],\n inputs: ['look', 'placeholder'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: AXComponent, useExisting: AXConversationInputComponent },\n { provide: AXFocusableComponent, useExisting: AXConversationInputComponent },\n { provide: AXValuableComponent, useExisting: AXConversationInputComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXConversationInputComponent),\n multi: true,\n },\n ],\n standalone: false,\n})\nexport class AXConversationInputComponent extends classes(\n MXInputBaseValueComponent<string>,\n MXLookComponent,\n) {\n /**\n * @ignore\n */\n @ViewChild('inputFile') protected inputFile: ElementRef<HTMLInputElement>;\n\n /**\n * @ignore\n */\n protected conversationService = inject(AXConversationService);\n\n /**\n * @ignore\n */\n protected chats: Signal<AXConversationMessage<any>[]> = computed(() => {\n return this.conversationService.chats();\n });\n\n /**\n * @ignore\n */\n protected replyChat: Signal<AXConversationMessage<any>> = computed(() => {\n const findMessage = this.chats().find((item) => item.id === this.conversationService.replyId());\n return findMessage;\n });\n\n /** Maximum length of input text */\n maxLength = input<number>();\n\n /** Indicates if an attachment is present */\n hasAttachment = input<boolean>(true);\n\n /** Indicates if voice recording is enabled */\n hasVoice = input<boolean>(true);\n\n hasEmoji = input<boolean>(true);\n\n isLoading = input<boolean>(false);\n\n /** Acceptable file types for attachment */\n acceptFileType = input<string>('*');\n\n /**\n * Emitted when the send button is clicked.\n *\n * @event\n */\n onSendClick = output<AXClickEvent>();\n\n /**\n * Emitted when recording starts.\n *\n * @event\n */\n onStartRecording = output<AXClickEvent>();\n\n /**\n * Emitted when recording is canceled.\n *\n * @event\n */\n onCancelRecording = output<AXClickEvent>();\n\n /**\n * @ignore\n */\n recording: WritableSignal<boolean> = signal(false);\n\n /**\n * @ignore\n */\n recordingService: AXRecordingService = inject(AXRecordingService);\n\n /**\n * @ignore\n */\n protected _updateOn: 'change' | 'blur' | 'submit' = 'change';\n\n /**\n * @ignore\n */\n protected _handleModelChange(value: string) {\n this.commitValue(value, true);\n }\n\n /**\n * Initiates recording when the record button is clicked.\n * Emits an event when recording starts.\n * @ignore\n */\n handleRecordClick() {\n this.recording.set(true);\n this.recordingService\n ?.startRecording()\n .then(() => {\n this.onStartRecording.emit({\n component: this,\n data: { recording: true },\n isUserInteraction: true,\n });\n })\n .catch((e) => {\n throw e;\n });\n }\n\n /**\n * Cancels the recording and emits an event to indicate cancellation.\n * @ignore\n */\n handleCancelRecordingClick() {\n this.recording.set(false);\n\n this.onCancelRecording.emit({\n component: this,\n data: { value: null },\n });\n }\n\n /**\n * Opens the file picker for attachment.\n * @ignore\n */\n handleAttachClick() {\n this.inputFile.nativeElement.click();\n }\n\n /**\n * Emits the selected files when the file input changes.\n * @ignore\n */\n handleChangeFile(event: Event) {\n this.onSendClick.emit({\n component: this,\n data: { value: (event.target as HTMLInputElement).files, type: 'file' },\n });\n }\n\n /**\n * Emits the text value and optional replyChat when the send button is clicked.\n * @ignore\n */\n handleSendClick() {\n this.onSendClick.emit({\n component: this,\n data: { value: this.value, replyChat: this.replyChat() || null, type: 'text' },\n isUserInteraction: true,\n });\n this.conversationService.replyId.set('');\n }\n\n /**\n * Ends recording and emits the recorded voice data when the send voice button is clicked.\n * @ignore\n */\n handleSendVoiceClick() {\n this.recordingService.endRecording().then((c) => {\n this.recording.set(false);\n this.onSendClick.emit({\n component: this,\n data: { value: c, type: 'voice' },\n isUserInteraction: true,\n });\n });\n }\n\n /**\n * Clears the reply ID when closing a reply.\n * @ignore\n */\n closeReplyHandler() {\n this.conversationService.replyId.set('');\n }\n}\n","@if (replyChat()) {\n <div class=\"ax-editor-reply-container ax-editor-container ax-{{ look }}\">\n <div class=\"ax-reply-start\">\n <i class=\"fa-solid fa-reply\"></i>\n @switch (replyChat().type) {\n @case ('text') {\n <p>\n {{ replyChat().content }}\n </p>\n }\n @case ('image') {\n <div class=\"ax-reply-types\">\n <img src=\"{{ replyChat().content }}\" alt=\"\" />\n {{ replyChat().type }}\n </div>\n }\n @case ('video') {\n <div class=\"ax-reply-types\">\n <video src=\"{{ replyChat().content }}\" alt=\"\"></video>\n {{ replyChat().type }}\n </div>\n }\n @case ('file') {\n <div class=\"ax-reply-types\">\n <i class=\"fa-regular fa-folder-open\"></i>\n {{ replyChat().name }}\n </div>\n }\n @default {\n <p>\n {{ replyChat().type }}\n </p>\n }\n }\n </div>\n <i (click)=\"closeReplyHandler()\" class=\"fa-solid fa-xmark ax-cursor-pointer\"></i>\n </div>\n}\n\n<div class=\"ax-conversation-input ax-editor-container ax-{{ look }}\" [class.ax-state-recording]=\"recording()\">\n @if (recording()) {\n <div class=\"ax-conversation-input-start-side\">\n <span class=\"ax-record-dot\"></span>\n <span>{{ recordingService.timer() }}</span>\n </div>\n <div class=\"ax-conversation-input-main-side\">\n <ax-button class=\"ax-sm\" look=\"blank\" color=\"primary\" [text]=\"'cancel' | translate | async\" (onClick)=\"handleCancelRecordingClick()\"></ax-button>\n </div>\n <div class=\"ax-conversation-input-end-side\">\n <ax-button look=\"solid\" color=\"danger\" class=\"ax-blob ax-sm\" (onClick)=\"handleSendVoiceClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-send\"></i>\n </ax-icon>\n </ax-button>\n </div>\n } @else {\n @if (hasEmoji()) {\n <div class=\"ax-conversation-input-start-side\">\n <ax-button look=\"blank\" class=\"ax-sm\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-emoji\"></i>\n </ax-icon>\n <ax-dropdown-panel>\n <ng-container>\n <div class=\"ax-emoji-container\">\n <div>⚠️</div>\n <div>➡️</div>\n <div>🔃</div>\n <div>🔷</div>\n <div>🤚</div>\n <div>😂</div>\n <div>😊</div>\n </div>\n </ng-container>\n </ax-dropdown-panel>\n </ax-button>\n </div>\n }\n\n <textarea\n class=\"ax-conversation-input-main-side\"\n oninput='this.style.height = \"\";this.style.height = this.scrollHeight + \"px\"'\n type=\"text\"\n rows=\"1\"\n [id]=\"id\"\n [name]=\"name\"\n [attr.placeholder]=\"placeholder\"\n [attr.maxlength]=\"maxLength()\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [tabindex]=\"tabIndex\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n [ngModelOptions]=\"{ updateOn: _updateOn }\"\n (keydown)=\"emitOnKeydownEvent($event)\"\n (keyup)=\"emitOnKeyupEvent($event)\"\n (keypress)=\"emitOnKeypressEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n >\n </textarea>\n\n <div class=\"ax-conversation-input-end-side\">\n @if (!value) {\n @if (hasAttachment()) {\n <ax-button look=\"blank\" class=\"ax-sm\" (onClick)=\"handleAttachClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-attach\"></i>\n </ax-icon>\n </ax-button>\n <input multiple #inputFile [accept]=\"acceptFileType()\" type=\"file\" class=\"ax-attach-input\" (change)=\"handleChangeFile($event)\" />\n }\n @if (hasVoice()) {\n <ax-button look=\"blank\" class=\"ax-sm\" (onClick)=\"handleRecordClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-mic\"></i>\n </ax-icon>\n </ax-button>\n }\n } @else {\n <ax-button [disabled]=\"isLoading()\" look=\"solid\" color=\"primary\" class=\"ax-sm\" (onClick)=\"handleSendClick()\">\n @if (isLoading()) {\n <ax-loading-spinner color=\"primary\"></ax-loading-spinner>\n } @else {\n <ax-icon>\n <i class=\"ax-icon ax-icon-send\"></i>\n </ax-icon>\n }\n </ax-button>\n }\n </div>\n }\n</div>\n","import { Injectable } from '@angular/core';\nimport { AXConversationMessageType } from '../conversation.types';\n\n@Injectable({ providedIn: 'root' })\nexport class AXConversationMessageTypeRegistryService {\n private plugins: Map<string, AXConversationMessageType> = new Map<string, AXConversationMessageType>();\n\n register(...plugins: AXConversationMessageType[]) {\n plugins.forEach((p) => this.plugins.set(p.name, p));\n }\n\n public resolve(name: string): AXConversationMessageType | undefined {\n return this.plugins.get(name);\n }\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { AXPopoverComponent } from '@acorex/components/popover';\nimport { isBrowser } from '@acorex/core/platform';\nimport { CdkPortalOutletAttachedRef, ComponentPortal } from '@angular/cdk/portal';\nimport { Component, ComponentRef, HostBinding, ViewEncapsulation, computed, inject, input, viewChild } from '@angular/core';\nimport { AXConversationMessage } from '../conversation.types';\nimport { AXConversationMessageTypeRegistryService } from '../services/conversation-message-type-registry.service';\nimport { AXConversationService } from '../services/conversation.service';\n\n/**\n * A component for displaying individual conversation messages.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message',\n templateUrl: './conversation-message.component.html',\n styleUrls: ['./conversation-message.component.scss'],\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class AXConversationMessageComponent extends MXBaseComponent {\n /**\n * @ignore\n */\n protected popover = viewChild<AXPopoverComponent>('popover');\n\n isReply = input(true);\n\n /**\n * @ignore\n */\n protected conversationService = inject(AXConversationService);\n\n /**\n * The message data to display in the conversation.\n */\n chatMessage = input<AXConversationMessage<any>>();\n\n /**\n * @ignore\n */\n protected registryService = inject(AXConversationMessageTypeRegistryService);\n\n /**\n * @ignore\n */\n protected portal = computed<ComponentPortal<any> | null>(() => {\n return new ComponentPortal(this.registryService.resolve(this.chatMessage().type).component);\n });\n\n protected messageType = computed(() => {\n return this.chatMessage().type;\n });\n\n /**\n * @ignore\n */\n protected get isOwn(): boolean {\n return !this.chatMessage().fromId;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string {\n return `${this.isOwn ? 'ax-state-own' : ''} ${!this.isOwn ? 'ax-state-other' : ''}`;\n }\n\n /**\n * @ignore\n */\n protected _handleAttached(ref: CdkPortalOutletAttachedRef) {\n ref = ref as ComponentRef<unknown>;\n if (ref.instance && isBrowser()) {\n Object.assign(ref.instance, { message: this.chatMessage() });\n\n const prefixContainer = this.getHostElement().querySelector('.ax-message-prefix');\n const suffixContainer = this.getHostElement().querySelector('.ax-message-suffix');\n prefixContainer.innerHTML = '';\n suffixContainer.innerHTML = '';\n\n const prefix = this.getHostElement().querySelector('ax-prefix') as HTMLDivElement;\n const suffix = this.getHostElement().querySelector('ax-suffix') as HTMLDivElement;\n\n if (prefix && prefixContainer) {\n prefix.style.display = 'flex';\n prefixContainer.append(prefix);\n }\n if (suffix && suffixContainer) {\n suffix.style.display = 'flex';\n suffixContainer.append(suffix);\n }\n }\n }\n\n /**\n * @ignore\n */\n protected handleResendClick() {\n this.popover()?.close();\n this.chatMessage().onResendClick();\n }\n\n /**\n * @ignore\n */\n protected handleDeleteClick() {\n this.popover()?.close();\n this.chatMessage().onDeleteClick();\n }\n\n /**\n * @ignore\n */\n protected replyHandler(e) {\n this.conversationService.replyId.set(e);\n }\n}\n","@if (chatMessage().fromId) {\n <ax-avatar color=\"primary\" [size]=\"36\"> </ax-avatar>\n}\n\n@if (isOwn && isReply()) {\n <i (click)=\"replyHandler(chatMessage().id)\" class=\"fa-solid fa-reply ax-cursor-pointer\"></i>\n}\n\n<div class=\"ax-message-content\" [class]=\"'ax-type-' + messageType()\" [class.ax-state-own]=\"!chatMessage().fromId\" [class.ax-state-other]=\"chatMessage().fromId\">\n <ng-template [cdkPortalOutlet]=\"portal()\" (attached)=\"_handleAttached($event)\"></ng-template>\n\n <div class=\"ax-chat-message-status\">\n <div class=\"ax-message-prefix\"></div>\n <div>\n <div class=\"ax-message-suffix\"></div>\n <span>\n {{ chatMessage().sendTime | format: 'datetime' : 'HH:mm' | async }}\n </span>\n <span>\n @if (isOwn) {\n @if (chatMessage().deliverTime && chatMessage().sendTime) {\n <i class=\"ax-icon ax-icon-check ax-message-status\"></i>\n }\n @if (chatMessage().readTime && chatMessage().sendTime) {\n <i class=\"ax-icon ax-icon-dobble-check ax-message-status\"></i>\n }\n }\n </span>\n </div>\n </div>\n</div>\n\n@if (!chatMessage().sendTime) {\n <ax-button class=\"ax-resend-button ax-xs\" color=\"danger\" #b>\n <ax-icon class=\"ax-icon ax-icon-error\"></ax-icon>\n\n <ax-popover [target]=\"b\" placement=\"bottom-end\" #popover>\n <div class=\"ax-overlay-pane\">\n <ax-content> </ax-content>\n <ax-button-item-list>\n @if (chatMessage().onResendClick) {\n <ax-button-item text=\"Resend\" (onClick)=\"handleResendClick()\">\n <ax-icon class=\"ax-icon ax-icon-reload ax-bold\"></ax-icon>\n </ax-button-item>\n }\n @if (chatMessage().onDeleteClick) {\n <ax-button-item text=\"Delete\" color=\"danger\" (onClick)=\"handleDeleteClick()\">\n <ax-icon class=\"ax-icon ax-icon-clear ax-bold\"></ax-icon>\n </ax-button-item>\n }\n </ax-button-item-list>\n </div>\n </ax-popover>\n </ax-button>\n}\n","import { Injectable, Type } from '@angular/core';\n\nexport interface AXConversationMessageType {\n name: string;\n component: Type<any>;\n}\n\nexport interface AXConversationMessage<T> {\n id: string;\n type: string;\n sendTime: Date | null;\n deliverTime?: Date;\n readTime?: Date;\n replyTo?: AXConversationMessage<T>;\n content: any;\n fromId?: string;\n name: string;\n onResendClick?: () => void;\n onDeleteClick?: () => void;\n onDownloadClick?: () => void;\n onCancelClick?: () => void;\n}\n\n@Injectable()\nexport class AXConversationMessageBaseComponent<T> {\n message: AXConversationMessage<T>;\n}\n","import {\n Component,\n OnDestroy,\n Renderer2,\n ViewEncapsulation,\n afterNextRender,\n inject,\n signal,\n} from '@angular/core';\nimport { AXConversationMessageBaseComponent } from '../../conversation.types';\n\n/**\n * Component for displaying audio messages in a conversation.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message-audio',\n templateUrl: './conversation-message-audio.component.html',\n styleUrls: ['./conversation-message-audio.component.scss'],\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class AXConversationMessageAudioComponent\n extends AXConversationMessageBaseComponent<string>\n implements OnDestroy\n{\n rendrer = inject(Renderer2);\n /**\n * @ignore\n */\n protected audioState = signal<'playing' | 'paused'>('paused');\n\n /**\n * @ignore\n */\n // audioTag = viewChild<ElementRef<HTMLAudioElement>>('a');\n protected audioTag = signal(new Audio());\n\n /**\n * @ignore\n */\n protected audioRate = signal(1);\n\n /**\n * @ignore\n */\n protected currentTime = signal(0);\n\n /**\n * @ignore\n */\n protected duration = signal(0);\n\n /**\n * @ignore\n */\n protected currentTimeFormat = signal(0);\n\n /**\n * @ignore\n */\n protected durationFormat = signal(0);\n\n /**\n * @ignore\n */\n protected endedEvent;\n\n /**\n * @ignore\n */\n protected durationchangeEvent;\n\n /**\n * @ignore\n */\n protected timeupdateEvent;\n\n /**\n * @ignore\n */\n constructor() {\n super();\n afterNextRender(() => {\n this.audioTag().autoplay = false;\n this.audioTag().src = this.message.content;\n this.rendrer.listen(this.audioTag(), 'ended', this.endedFunction.bind(this));\n this.rendrer.listen(this.audioTag(), 'durationchange', this.durationchangeFunction.bind(this));\n this.rendrer.listen(this.audioTag(), 'timeupdate', this.timeupdateFunction.bind(this));\n });\n }\n\n /**\n * @ignore\n */\n ngOnDestroy(): void {\n if (this.endedEvent) {\n this.endedEvent();\n }\n if (this.durationchangeEvent) {\n this.durationchangeEvent();\n }\n if (this.timeupdateEvent) {\n this.timeupdateEvent();\n }\n }\n\n /**\n * @ignore\n */\n protected endedFunction() {\n this.audioState.set('paused');\n this.audioTag().pause();\n this.audioTag().currentTime = 0;\n this.currentTime.set(0);\n }\n\n /**\n * @ignore\n */\n protected durationchangeFunction() {\n if (this.audioTag().duration === Infinity) return;\n this.duration.set(this.audioTag().duration);\n this.durationFormat.set(Math.ceil(this.audioTag().duration) * 1000);\n }\n\n /**\n * @ignore\n */\n protected timeupdateFunction() {\n this.currentTime.set(this.audioTag().currentTime);\n this.currentTimeFormat.set(Math.ceil(this.audioTag().currentTime * 1000));\n }\n /**\n * Seeks to the specified time and resumes audio playback.\n *\n * @param e - Time in seconds to seek to.\n * @ignore\n */\n protected clickHandler(e: any) {\n this.audioTag().currentTime = e as number;\n }\n\n /**\n * Pauses the audio and updates the state to 'paused'.\n * @ignore\n */\n protected handlePauseClick() {\n this.audioState.set('paused');\n this.audioTag().pause();\n }\n\n /**\n * Plays the audio and updates the state to 'playing'.\\\n * @ignore\n */\n protected handlePlayClick() {\n this.audioState.set('playing');\n this.audioTag().play();\n }\n\n /**\n * Toggles the playback rate of the audio between 1x, 1.5x, and 2x.\n * @ignore\n */\n protected handleRateClick() {\n if (this.audioRate() === 1) {\n this.audioRate.set(1.5);\n this.audioTag().playbackRate = 1.5;\n } else if (this.audioRate() === 1.5) {\n this.audioRate.set(2);\n this.audioTag().playbackRate = 2;\n } else if (this.audioRate() === 2) {\n this.audioRate.set(1);\n this.audioTag().playbackRate = 1;\n }\n }\n}\n","<ax-prefix>\n <div class=\"ax-time-rate\">\n @switch (audioState()) {\n @case ('paused') {\n {{ currentTimeFormat() | format: 'time-duration' | async }}\n }\n @case ('playing') {\n {{ currentTimeFormat() | format: 'time-duration' | async }}\n }\n @default {\n {{ durationFormat() | format: 'time-duration' | async }}\n }\n }\n <ax-button color=\"primary\" look=\"solid\" text=\"{{ audioRate() }}X\" class=\"ax-audio-speed\" (click)=\"handleRateClick()\"></ax-button>\n </div>\n</ax-prefix>\n<div class=\"ax-conversation-controller\">\n @switch (audioState()) {\n @case ('playing') {\n <button (click)=\"handlePauseClick()\">\n <i class=\"ax-icon ax-icon-pause\"></i>\n </button>\n }\n @case ('paused') {\n <button (click)=\"handlePlayClick()\">\n <i class=\"ax-icon ax-icon-play\"></i>\n </button>\n }\n }\n</div>\n<ax-range-slider\n class=\"ax-modify-bgSlider\"\n (ngModelChange)=\"clickHandler($event)\"\n [max]=\"duration()\"\n [min]=\"0\"\n mode=\"single\"\n [ngModel]=\"currentTime()\"\n color=\"primary\"\n>\n</ax-range-slider>\n","import { AXEvent, MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation, inject, input, output } from '@angular/core';\nimport { AXConversationActionEvent } from '../classes/events.interface';\nimport { AXConversationService } from '../services/conversation.service';\n\n/**\n * Displays the conversation view with messages and interactions.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-view',\n templateUrl: './conversation-view.component.html',\n styleUrls: ['./conversation-view.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class AXConversationViewComponent extends MXBaseComponent {\n /** @ignore */\n protected conversationService = inject(AXConversationService);\n\n onScrollEnd = output<AXEvent>();\n\n height = input<string>('30vh');\n\n isReply = input(true);\n\n /**\n * Emits an event when an action is performed within the conversation view.\n *\n * @event\n */\n onAction = output<AXConversationActionEvent>();\n\n updatePrevItems(item: any[]) {\n this.conversationService.chats.update((prev) => [...item, ...prev]);\n }\n\n callForUpdate() {\n this.onScrollEnd.emit({ component: this });\n }\n\n addNewItem(item: any) {\n this.conversationService.chats.update((prev) => [...prev, item]);\n }\n}\n","<div axVirtualScrollingContainer (ScrollEnd)=\"callForUpdate()\" [height]=\"height()\">\n @for (item of conversationService.chats(); track item.id) {\n <ax-conversation-message\n [isReply]=\"isReply()\"\n axVirtualScrollingItem\n [chatMessage]=\"item\"\n ></ax-conversation-message>\n }\n</div>\n","/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { AXFileService } from '@acorex/core/file';\nimport { HttpClient } from '@angular/common/http';\nimport { Component, ViewEncapsulation, WritableSignal, afterNextRender, inject, signal } from '@angular/core';\nimport { AXConversationViewComponent } from '../../conversation-view/conversation-view.component';\nimport { AXConversationMessageBaseComponent } from '../../conversation.types';\n\n/**\n * Component for displaying file messages in a conversation.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message-file',\n templateUrl: './conversation-message-file.component.html',\n styleUrl: './conversation-message-file.component.scss',\n encapsulation: ViewEncapsulation.None,\n standalone: false\n})\nexport class AXConversationFileMessageComponent extends AXConversationMessageBaseComponent<string> {\n /**\n * @ignore\n */\n fileState: WritableSignal<'loading' | 'ready' | 'error'> = signal('ready');\n /**\n * @ignore\n */\n fileSize: WritableSignal<number> = signal(null);\n /**\n * @ignore\n */\n fileName: WritableSignal<string> = signal('');\n\n /**\n * @ignore\n */\n fileService = inject(AXFileService);\n /**\n * @ignore\n */\n http = inject(HttpClient);\n /**\n * @ignore\n */\n parent = inject(AXConversationViewComponent);\n\n /**\n * @ignore\n */\n constructor() {\n super();\n afterNextRender(() => {\n if (this.message.name) {\n this.fileName.set(this.message.name);\n this.fileSize.set(this.fileService.getSize(this.message.content) as number);\n } else {\n this.fileName.set(this.message.content[0].name);\n this.fileSize.set(this.message.content[0].size);\n }\n });\n }\n\n /**\n * Emits a download action event for the file.\n * @ignore\n */\n handleDownloadFile() {\n this.parent.onAction.emit({ component: this, data: this.message, isUserInteraction: true });\n }\n\n /**\n * Emits a cancel action event for the file loading.\n * @ignore\n */\n handleCancelLoading() {\n this.parent.onAction.emit({ component: this, data: this.message, isUserInteraction: true });\n }\n}\n","<ax-prefix>\n {{ fileSize() | format: 'filesize' | async }}\n</ax-prefix>\n<div class=\"ax-file-container\">\n <div class=\"ax-conversation-controller\">\n @switch (fileState()) {\n @case ('ready') {\n <button (click)=\"handleDownloadFile()\">\n <i class=\"ax-icon ax-icon-download\"></i>\n </button>\n }\n\n @default {\n <button (click)=\"handleCancelLoading()\">\n <ax-loading-spinner\n [size]=\"24\"\n [stroke]=\"2\"\n [color]=\"message.fromId ? 'white' : 'warning'\"\n ></ax-loading-spinner>\n </button>\n }\n }\n </div>\n\n <div class=\"ax-file-name\">{{ fileName() }}</div>\n</div>\n","import { afterNextRender, Component, ViewEncapsulation } from '@angular/core';\n\n/**\n * A popup component for displaying an image in full view.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message-image-popup',\n template: `<img class=\"ax-image-popup\" [src]=\"url\" alt=\"\" />`,\n styleUrl: './conversation-message-image-popup.component.scss',\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n})\nexport class ConversationMessageImagePopupComponent {\n /**\n * @ignore\n */\n protected url: string;\n\n /**\n * @ignore\n */\n constructor() {\n afterNextRender(() => {\n console.log(this.url);\n });\n }\n}\n","import { AXPopupService, AXPopupSizeType } from '@acorex/components/popup';\nimport { Component, afterNextRender, inject, signal } from '@angular/core';\nimport { AXConversationMessageBaseComponent } from '../../conversation.types';\nimport { ConversationMessageImagePopupComponent } from '../conversation-message-image-popup/conversation-message-image-popup.component';\n\n/**\n * A component for displaying an image within a conversation message.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message-image',\n template: `<img (click)=\"openPopup()\" [src]=\"_imageUrl()\" alt=\"\" /> `,\n styles: `\n img {\n cursor: pointer;\n width: 100%;\n height: 100%;\n }\n `,\n inputs: ['message'],\n standalone: false,\n})\nexport class AXConversationMessageImageComponent extends AXConversationMessageBaseComponent<string> {\n /**\n * @ignore\n */\n protected _imageUrl = signal('');\n\n /**\n * @ignore\n */\n private popup: AXPopupService = inject(AXPopupService);\n\n /**\n * @ignore\n */\n protected _options = {\n header: true,\n footer: false,\n size: 'md',\n draggable: true,\n hasBackdrop: true,\n closeButton: true,\n closeOnBackdropClick: false,\n };\n\n /**\n * @ignore\n */\n constructor() {\n super();\n afterNextRender(() => {\n this._imageUrl.set(this.message?.content);\n });\n }\n\n /**\n * Opens a popup displaying the image with options for draggable, size, and backdrop.\n * @ignore\n */\n openPopup() {\n this.popup\n .open(ConversationMessageImagePopupComponent, {\n draggable: this._options.draggable,\n header: this._options.header,\n size: this._options.size as AXPopupSizeType,\n hasBackdrop: this._options.hasBackdrop,\n closeButton: this._options.closeButton,\n closeOnBackdropClick: this._options.closeOnBackdropClick,\n data: {\n url: this._imageUrl(),\n },\n })\n .then((c) => {\n console.log(c);\n });\n }\n}\n","import { Component, OnInit, ViewEncapsulation, signal } from '@angular/core';\nimport { AXConversationMessage, AXConversationMessageBaseComponent } from '../../conversation.types';\n\n/**\n * A component for displaying a text message with optional reply content, including text, images, videos, files, and audio.\n *\n * @category Components\n */\n@Component({\n template: `\n @if (replyText()) {\n <div class=\"ax-message-reply-container\">{{ replyText().content }}</div>\n }\n\n @if (replyImage()) {\n <div class=\"ax-message-reply-container\"><img [src]=\"replyImage()\" alt=\"\" /></div>\n }\n\n @if (replyVideo()) {\n <div class=\"ax-message-reply-container\"><video [src]=\"replyVideo()\"></video></div>\n }\n\n @if (replyFile()) {\n <div class=\"ax-message-reply-container\">\n <div class=\"file\">\n <i class=\"fa-regular fa-folder-open\"></i>\n {{ replyFile().name }}\n </div>\n </div>\n }\n\n @if (replyAudio() || replyVoice()) {\n <div class=\"ax-message-reply-container\">{{ replyAudio().type }}</div>\n }\n\n <div class=\"ax-text-message\" [innerHtml]=\"_text()\"></div>\n `,\n styleUrl: './conversation-message-text.component.scss',\n encapsulation: ViewEncapsulation.None,\n inputs: ['message'],\n standalone: false,\n})\nexport class AXConversationTextMessageComponent\n extends AXConversationMessageBaseComponent<string>\n implements OnInit\n{\n /**\n * @ignore\n */\n protected _text = signal('');\n\n /**\n * @ignore\n */\n protected replyText = signal<AXConversationMessage<string> | null>(null);\n\n /**\n * @ignore\n */\n protected replyImage = signal<AXConversationMessage<string> | null>(null);\n\n /**\n * @ignore\n */\n protected replyVideo = signal<AXConversationMessage<string> | null>(null);\n\n /**\n * @ignore\n */\n protected replyAudio = signal<AXConversationMessage<string> | null>(null);\n\n /**\n * @ignore\n */\n protected replyVoice = signal<AXConversationMessage<string> | null>(null);\n\n /**\n * @ignore\n */\n protected replyFile = signal<AXConversationMessage<string> | null>(null);\n\n /**\n * @ignore\n */\n ngOnInit(): void {\n this._text.set(this.message?.content);\n\n if (!this.message?.replyTo) return;\n\n switch (this.message.replyTo.type) {\n case 'text':\n this.replyText.set(this.message?.replyTo);\n break;\n case 'image':\n this.replyImage.set(this.message?.replyTo);\n break;\n case 'video':\n this.replyVideo.set(this.message?.replyTo);\n break;\n case 'audio':\n this.replyAudio.set(this.message?.replyTo);\n break;\n case 'voice':\n this.replyVoice.set(this.message?.replyTo);\n break;\n case 'file':\n this.replyFile.set(this.message?.replyTo);\n break;\n }\n }\n}\n","import { Component, OnInit, signal } from '@angular/core';\nimport { AXConversationMessageBaseComponent } from '../../conversation.types';\n\n/**\n * A component for displaying a video message with playback controls.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message-video',\n template: `<video controls [src]=\"_videoUrl()\"></video>`,\n styles: `\n video {\n width: 100%;\n height: 100%;\n }\n `,\n standalone: false,\n})\nexport class AXConversationMessageVideoComponent extends AXConversationMessageBaseComponent<string> implements OnInit {\n /**\n * @ignore\n */\n protected _videoUrl = signal('');\n\n /**\n * @ignore\n */\n ngOnInit(): void {\n this._videoUrl.set(this.message?.content);\n console.log(this._videoUrl());\n }\n}\n","import { AXAudioWaveChangeEvent, AXAudioWaveComponent, AXWaveConfig } from '@acorex/components/audio-wave';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n Component,\n HostBinding,\n PLATFORM_ID,\n ViewChild,\n ViewEncapsulation,\n WritableSignal,\n afterNextRender,\n inject,\n signal,\n} from '@angular/core';\nimport { AXConversationViewComponent } from '../../conversation-view/conversation-view.component';\nimport { AXConversationMessageBaseComponent } from '../../conversation.types';\n\n/**\n * A component for displaying and handling audio messages in a conversation.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message-audio',\n templateUrl: './conversation-message-voice.component.html',\n styleUrl: `./conversation-message-voice.component.scss`,\n encapsulation: ViewEncapsulation.None,\n inputs: ['message'],\n standalone: false\n})\nexport class AXConversationVoiceMessageComponent extends AXConversationMessageBaseComponent<string> {\n /**\n * @ignore\n */\n @ViewChild('a') audio: AXAudioWaveComponent;\n\n /**\n * @ignore\n */\n config: AXWaveConfig = { url: '' };\n\n /**\n * @ignore\n */\n audioState: WritableSignal<'playing' | 'paused' | 'loading' | 'ready' | 'error'> = signal('paused');\n\n /**\n * @ignore\n */\n parent = inject(AXConversationViewComponent);\n private platformID = inject(PLATFORM_ID);\n\n /**\n * @ignore\n */\n selectedRate = signal(1);\n\n /**\n * @ignore\n */\n selectedRateIndex = signal(1);\n\n /**\n * @ignore\n */\n protected audioProgress = signal(0);\n\n /**\n * @ignore\n */\n protected timeLeft = signal(0);\n\n /**\n * @ignore\n */\n protected currentTime = signal(0);\n\n /**\n * @ignore\n */\n protected duration = signal(0);\n\n /**\n * @ignore\n */\n constructor() {\n super();\n afterNextRender(() => {\n this.config.url = this.message?.content;\n this.config.audioRate = 0.25;\n this.setWaveColor();\n this.audio.onStatusChanged.subscribe((c) => {\n this.parent.onAction.emit(c);\n });\n this.handleLoadingProgress();\n });\n }\n /**\n * @ignore\n */\n setWaveColor() {\n let waveColor = '';\n let progressColor = '';\n if (isPlatformBrowser(this.platformID)) {\n if (this.message.fromId) {\n waveColor = getComputedStyle(document.body).getPropertyValue('--ax-message-other-bar-color');\n progressColor = getComputedStyle(document.body).getPropertyValue('--ax-message-other-progress-color');\n } else {\n waveColor = getComputedStyle(document.body).getPropertyValue('--ax-message-own-bar-color');\n progressColor = getComputedStyle(document.body).getPropertyValue('--ax-message-own-progress-color');\n }\n }\n this.config.waveColor = waveColor;\n this.config.progressColor = progressColor;\n }\n\n /**\n * Pauses the audio playback and updates the audio state to 'paused'.\n * @ignore\n */\n handlePauseClick() {\n this.audio?.pause();\n this.audioState.set('paused');\n }\n\n /**\n * Plays the audio and updates the audio state to 'playing'.\n * @ignore\n */\n handlePlayClick() {\n this.audio?.play()?.then(() => {\n this.audioState.set('playing');\n });\n }\n\n /**\n * Updates audio state and progress based on status changes from the audio wave.\n * @param e - The event containing status and data related to the audio.\n * @ignore\n */\n handleOnStatusChanged(e: AXAudioWaveChangeEvent) {\n if (e.status === 'load' || e.status === 'loading') {\n this.audioState.set('loading');\n }\n if (e.status === 'loading') {\n this.audioProgress.set(e.data.percent);\n this.duration.set(Math.ceil(e.data.duration * 1000));\n }\n if (e.status === 'ready') {\n this.audioState.set('ready');\n this.duration.set(Math.ceil(e.data.duration * 1000));\n }\n if (e.status === 'finish') {\n this.audioState.set('paused');\n }\n if (e.status === 'timeupdate') {\n this.timeLeft.set(this.duration() - e.data.currentTime * 1000);\n this.currentTime.set(e.data.currentTime * 1000);\n }\n if (e.status === 'error') {\n this.audioState.set('error');\n }\n }\n\n /**\n * @ignore\n */\n handleLoadingProgress() {\n // this.audioLoaderProgress?.nativeElement.style.cssText = `--ax-audio-progress: ${this.audioProgress()}`;\n }\n\n /**\n * Handles the cancellation of a loading operation.\n * @ignore\n */\n handleCancelLoading() {\n //\n }\n\n /**\n * Reloads the audio and updates the state to 'loading'.\n * @ignore\n */\n handleReloadClick() {\n //\n this.audioState.set('loading');\n this.audio.load();\n }\n\n /**\n * Cycles through predefined audio playback rates and updates the rate.\n * @ignore\n */\n handleRateClick() {\n const rates = [0.5, 1, 2, 4];\n if (this.selectedRateIndex() == rates.length - 1) {\n this.selectedRateIndex.set(0);\n } else {\n this.selectedRateIndex.set(this.selectedRateIndex() + 1);\n }\n this.selectedRate.set(rates[this.selectedRateIndex()]);\n this.audio.setRate(this.selectedRate());\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string {\n return `${this.message.fromId ? 'ax-state-other' : 'ax-state-own'}`;\n }\n}\n","<ax-prefix>\n @switch (audioState()) {\n @case ('paused') {\n {{ currentTime() | format: 'time-duration' | async }}\n }\n @case ('playing') {\n {{ currentTime() | format: 'time-duration' | async }}\n }\n @default {\n {{ duration() | format: 'time-duration' | async }}\n }\n }\n <button class=\"ax-audio-speed\" (click)=\"handleRateClick()\"></button>\n</ax-prefix>\n<div class=\"ax-conversation-controller\">\n @switch (audioState()) {\n @case ('playing') {\n <button (click)=\"handlePauseClick()\">\n <i class=\"ax-icon ax-icon-pause\"></i>\n </button>\n }\n\n @case ('ready') {\n <button (click)=\"handlePlayClick()\">\n <i class=\"ax-icon ax-icon-play\"></i>\n </button>\n }\n\n @case ('paused') {\n <button (click)=\"handlePlayClick()\">\n <i class=\"ax-icon ax-icon-play\"></i>\n </button>\n }\n\n @case ('error') {\n <button class=\"ax-state-error\" (click)=\"handleReloadClick()\">\n <i class=\"ax-icon ax-icon-reload\"></i>\n </button>\n }\n\n @default {\n <button (click)=\"handleCancelLoading()\">\n <ax-loading-spinner\n [size]=\"24\"\n [stroke]=\"2\"\n [color]=\"message.fromId ? 'white' : 'warning'\"\n ></ax-loading-spinner>\n </button>\n }\n }\n</div>\n<ax-audio-wave #a [config]=\"config\" (onStatusChanged)=\"handleOnStatusChanged($event)\"></ax-audio-wave>\n<ax-suffix>\n <div class=\"ax-audio-rate-button\" [class.ax-state-own]=\"!message?.fromId\" (click)=\"handleRateClick()\">\n {{ selectedRate() }}X\n </div>\n</ax-suffix>\n","import { AXVirtualScrollModule } from '@acorex/cdk/virtual-scroll';\nimport { AXAudioWaveModule } from '@acorex/components/audio-wave';\nimport { AXAvatarModule } from '@acorex/components/avatar';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXCircularProgressModule } from '@acorex/components/circular-progress';\nimport { AXRippleDirective } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXPopupService } from '@acorex/components/popup';\nimport { AXRangeSliderModule } from '@acorex/components/range-slider';\nimport { AXDateTimeModule } from '@acorex/core/date-time';\nimport { AXFileModule } from '@acorex/core/file';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { CdkPortalOutlet } from '@angular/cdk/portal';\nimport { AsyncPipe, CommonModule } from '@angular/common';\nimport { Inject, ModuleWithProviders, NgModule, Optional } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXConversationContainerComponent } from './conversation-container/conversation-container.component';\nimport { AXConversationInputComponent } from './conversation-input/conversation-input.component';\nimport { AXConversationMessageComponent } from './conversation-message/conversation-message.component';\nimport { AXConversationMessageAudioComponent } from './conversation-messages/conversation-message-audio/conversation-message-audio.component';\nimport { AXConversationFileMessageComponent } from './conversation-messages/conversation-message-file/conversation-message-file.component';\nimport { AXConversationMessageImageComponent } from './conversation-messages/conversation-message-image/conversation-message-image.component';\nimport { AXConversationTextMessageComponent } from './conversation-messages/conversation-message-text/conversation-message-text.component';\nimport { AXConversationMessageVideoComponent } from './conversation-messages/conversation-message-video/conversation-message-video.component';\nimport { AXConversationVoiceMessageComponent } from './conversation-messages/conversation-message-voice/conversation-message-voice.component';\nimport { AXConversationViewComponent } from './conversation-view/conversation-view.component';\nimport { AXConversationMessageType } from './conversation.types';\nimport { AXConversationMessageTypeRegistryService } from './services/conversation-message-type-registry.service';\nimport { AXConversationService } from './services/conversation.service';\nimport { AXRecordingService } from './services/recording.service';\n\nexport interface AXChatModuleConfig {\n types: AXConversationMessageType[];\n}\n\nconst COMPONENT = [\n AXConversationViewComponent,\n AXConversationInputComponent,\n AXConversationMessageComponent,\n AXConversationTextMessageComponent,\n AXConversationVoiceMessageComponent,\n AXConversationFileMessageComponent,\n AXConversationContainerComponent,\n AXConversationMessageAudioComponent,\n AXConversationMessageImageComponent,\n AXConversationMessageVideoComponent,\n];\nconst MODULES = [\n CommonModule,\n FormsModule,\n AsyncPipe,\n AXRippleDirective,\n AXButtonModule,\n AXDecoratorModule,\n AXTranslationModule,\n AXDropdownModule,\n AXFormatModule,\n AXAudioWaveModule,\n AXCircularProgressModule,\n AXDateTimeModule,\n CdkPortalOutlet,\n AXLoadingModule,\n AXAvatarModule,\n AXPopoverModule,\n AXFileModule,\n AXRangeSliderModule,\n AXVirtualScrollModule,\n];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [AXRecordingService, AXConversationService, AXPopupService],\n})\nexport class AXConversationModule {\n static forRoot(config?: AXChatModuleConfig): ModuleWithProviders<AXConversationModule> {\n return {\n ngModule: AXConversationModule,\n providers: [\n {\n provide: 'AXChatModuleFactory',\n useFactory: (registry: AXConversationMessageTypeRegistryService) => () => {\n if (config?.types?.length) {\n registry.register(...config.types);\n }\n registry.register({\n name: 'text',\n component: AXConversationTextMessageComponent,\n });\n registry.register({\n name: 'voice',\n component: AXConversationVoiceMessageComponent,\n });\n registry.register({\n name: 'file',\n component: AXConversationFileMessageComponent,\n });\n registry.register({\n name: 'audio',\n component: AXConversationMessageAudioComponent,\n });\n registry.register({\n name: 'image',\n component: AXConversationMessageImageComponent,\n });\n registry.register({\n name: 'video',\n component: AXConversationMessageVideoComponent,\n });\n },\n deps: [AXConversationMessageTypeRegistryService],\n multi: true,\n },\n ],\n };\n }\n\n static forChild(config?: AXChatModuleConfig): ModuleWithProviders<AXConversationModule> {\n return {\n ngModule: AXConversationModule,\n providers: [\n {\n provide: 'AXChatModuleFactory',\n useFactory: (registry: AXConversationMessageTypeRegistryService) => () => {\n if (config?.types?.length) {\n registry.register(...config.types);\n }\n },\n deps: [AXConversationMessageTypeRegistryService],\n multi: true,\n },\n ],\n };\n }\n\n /**\n * @ignore\n */\n constructor(@Optional() @Inject('AXChatModuleFactory') instances: any[]) {\n instances?.forEach((f) => {\n f();\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i3","i1","i4","i5","i7","i6","i2.AXConversationMessageComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKM,MAAO,yBAA0B,SAAQ,OAAO,CAAA;AAErD;;ACHD;;;AAGG;MAmBU,gCAAgC,CAAA;8GAAhC,gCAAgC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gCAAgC,EAZhC,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,SAAA,EAAA;AACT,YAAA,EAAE,OAAO,E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YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,CAAC,kBAAkB,EAAE,qBAAqB,EAAE,cAAc,CAAC;AACvE,iBAAA;;0BAiEc;;0BAAY,MAAM;2BAAC,qBAAqB;;;AC/IvD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-conversation.mjs","sources":["../../../../libs/components/conversation/src/lib/classes/events.interface.ts","../../../../libs/components/conversation/src/lib/conversation-container/conversation-container.component.ts","../../../../libs/components/conversation/src/lib/conversation-container/conversation-container.component.html","../../../../libs/components/conversation/src/lib/services/conversation.service.ts","../../../../libs/components/conversation/src/lib/services/recording.service.ts","../../../../libs/components/conversation/src/lib/conversation-input/conversation-input.component.ts","../../../../libs/components/conversation/src/lib/conversation-input/conversation-input.component.html","../../../../libs/components/conversation/src/lib/services/conversation-message-type-registry.service.ts","../../../../libs/components/conversation/src/lib/conversation-message/conversation-message.component.ts","../../../../libs/components/conversation/src/lib/conversation-message/conversation-message.component.html","../../../../libs/components/conversation/src/lib/conversation.types.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.html","../../../../libs/components/conversation/src/lib/conversation-view/conversation-view.component.ts","../../../../libs/components/conversation/src/lib/conversation-view/conversation-view.component.html","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-file/conversation-message-file.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-file/conversation-message-file.component.html","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-image/conversation-message-image.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-text/conversation-message-text.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-video/conversation-message-video.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.ts","../../../../libs/components/conversation/src/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.html","../../../../libs/components/conversation/src/lib/conversation.module.ts","../../../../libs/components/conversation/src/acorex-components-conversation.ts"],"sourcesContent":["import { AXEvent, AXHtmlEvent } from '@acorex/components/common';\n\nexport interface AXInputFileChange extends AXHtmlEvent<MouseEvent> {\n data?: any;\n}\nexport class AXConversationActionEvent extends AXEvent {\n data: any;\n}\n","import { AXClearableComponent, AXComponent, AXFocusableComponent, AXValuableComponent } from '@acorex/components/common';\nimport { Component, forwardRef, ViewEncapsulation } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\n\n/**\n * A container for displaying and managing conversations.\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-container',\n templateUrl: './conversation-container.component.html',\n styleUrl: './conversation-container.component.scss',\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: AXComponent, useExisting: AXConversationContainerComponent },\n { provide: AXFocusableComponent, useExisting: AXConversationContainerComponent },\n { provide: AXClearableComponent, useExisting: AXConversationContainerComponent },\n { provide: AXValuableComponent, useExisting: AXConversationContainerComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXConversationContainerComponent),\n multi: true,\n },\n ],\n})\nexport class AXConversationContainerComponent {}\n","<div class=\"ax-conversation-container\">\n <ng-content> </ng-content>\n</div>\n","import { Injectable, signal } from '@angular/core';\n\n@Injectable()\nexport class AXConversationService {\n replyId = signal('');\n chats = signal([]);\n}\n","import { Injectable, WritableSignal, signal } from '@angular/core';\n\n@Injectable()\nexport class AXRecordingService {\n audioBlobs: any[] = [];\n mediaRecorder: MediaRecorder | null;\n streamBeingCaptured: any = null;\n\n timer: WritableSignal<string> = signal('00:0');\n\n protected time = {\n seconds: 0,\n minutes: 0,\n hours: 0,\n };\n\n protected timerInterval;\n\n startRecording() {\n if (!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia)) {\n return Promise.reject(new Error('mediaDevices API or getUserMedia method is not supported in this browser.'));\n } else {\n return navigator.mediaDevices.getUserMedia({ audio: true }).then((stream) => {\n this.streamBeingCaptured = stream;\n this.mediaRecorder = new MediaRecorder(stream);\n this.audioBlobs = [];\n this.mediaRecorder.addEventListener('dataavailable', (event) => {\n this.audioBlobs.push(event.data);\n });\n this.mediaRecorder.start();\n this.timerInterval = setInterval(() => {\n this.calculateTime();\n }, 1000);\n });\n }\n }\n\n endRecording() {\n return new Promise((resolve) => {\n const mimeType = this.mediaRecorder?.mimeType;\n this.mediaRecorder?.addEventListener('stop', () => {\n const audioBlob = new Blob(this.audioBlobs, { type: mimeType });\n resolve(audioBlob);\n });\n this.mediaRecorder?.stop();\n this.streamBeingCaptured.getTracks().forEach((track) => track.stop());\n this.mediaRecorder = null;\n this.streamBeingCaptured = null;\n this.resetTimer();\n });\n }\n\n calculateTime() {\n this.time.seconds++;\n if (this.time.seconds >= 60) {\n this.time.seconds = 0;\n this.time.minutes++;\n if (this.time.minutes >= 60) {\n this.time.minutes = 0;\n this.time.hours++;\n }\n }\n\n const formattedTime =\n (this.time.hours > 0 ? this.time.hours + ':' : '') +\n (this.time.minutes < 10 ? '0' + this.time.minutes : this.time.minutes) +\n ':' +\n (this.time.seconds < 10 ? '0' + this.time.seconds : this.time.seconds);\n\n this.timer.set(formattedTime);\n }\n\n resetTimer() {\n clearInterval(this.timerInterval);\n this.time.seconds = 0;\n this.time.minutes = 0;\n this.time.hours = 0;\n this.timer.set('00:0');\n }\n}\n","import { AXButtonComponent } from '@acorex/components/button';\nimport { AXClickEvent, AXComponent, AXFocusableComponent, AXValuableComponent, MXInputBaseValueComponent, MXLookComponent } from '@acorex/components/common';\nimport { AXDecoratorIconComponent } from '@acorex/components/decorators';\nimport { AXDropdownPanelComponent } from '@acorex/components/dropdown';\nimport { AXLoadingSpinnerComponent } from '@acorex/components/loading';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { AsyncPipe } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Signal,\n ViewChild,\n ViewEncapsulation,\n WritableSignal,\n computed,\n forwardRef,\n inject,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { classes } from 'polytype';\nimport { AXConversationMessage } from '../conversation.types';\nimport { AXConversationService } from '../services/conversation.service';\nimport { AXRecordingService } from '../services/recording.service';\n\n/**\n * An input component for entering conversation messages.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-input',\n templateUrl: './conversation-input.component.html',\n styleUrls: ['./conversation-input.component.scss'],\n inputs: ['look', 'placeholder'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: AXComponent, useExisting: AXConversationInputComponent },\n { provide: AXFocusableComponent, useExisting: AXConversationInputComponent },\n { provide: AXValuableComponent, useExisting: AXConversationInputComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXConversationInputComponent),\n multi: true,\n },\n ],\n imports: [AXButtonComponent, AXDecoratorIconComponent, AXDropdownPanelComponent, FormsModule, AXLoadingSpinnerComponent, AsyncPipe, AXTranslatorPipe],\n})\nexport class AXConversationInputComponent extends classes(MXInputBaseValueComponent<string>, MXLookComponent) {\n /**\n * @ignore\n */\n @ViewChild('inputFile') protected inputFile: ElementRef<HTMLInputElement>;\n\n /**\n * @ignore\n */\n protected conversationService = inject(AXConversationService);\n\n /**\n * @ignore\n */\n protected chats: Signal<AXConversationMessage<any>[]> = computed(() => {\n return this.conversationService.chats();\n });\n\n /**\n * @ignore\n */\n protected replyChat: Signal<AXConversationMessage<any>> = computed(() => {\n const findMessage = this.chats().find((item) => item.id === this.conversationService.replyId());\n return findMessage;\n });\n\n /** Maximum length of input text */\n maxLength = input<number>();\n\n /** Indicates if an attachment is present */\n hasAttachment = input<boolean>(true);\n\n /** Indicates if voice recording is enabled */\n hasVoice = input<boolean>(true);\n\n hasEmoji = input<boolean>(true);\n\n isLoading = input<boolean>(false);\n\n /** Acceptable file types for attachment */\n acceptFileType = input<string>('*');\n\n /**\n * Emitted when the send button is clicked.\n *\n * @event\n */\n onSendClick = output<AXClickEvent>();\n\n /**\n * Emitted when recording starts.\n *\n * @event\n */\n onStartRecording = output<AXClickEvent>();\n\n /**\n * Emitted when recording is canceled.\n *\n * @event\n */\n onCancelRecording = output<AXClickEvent>();\n\n /**\n * @ignore\n */\n recording: WritableSignal<boolean> = signal(false);\n\n /**\n * @ignore\n */\n recordingService: AXRecordingService = inject(AXRecordingService);\n\n /**\n * @ignore\n */\n protected _updateOn: 'change' | 'blur' | 'submit' = 'change';\n\n /**\n * @ignore\n */\n protected _handleModelChange(value: string) {\n this.commitValue(value, true);\n }\n\n /**\n * Initiates recording when the record button is clicked.\n * Emits an event when recording starts.\n * @ignore\n */\n handleRecordClick() {\n this.recording.set(true);\n this.recordingService\n ?.startRecording()\n .then(() => {\n this.onStartRecording.emit({\n component: this,\n data: { recording: true },\n isUserInteraction: true,\n });\n })\n .catch((e) => {\n throw e;\n });\n }\n\n /**\n * Cancels the recording and emits an event to indicate cancellation.\n * @ignore\n */\n handleCancelRecordingClick() {\n this.recording.set(false);\n\n this.onCancelRecording.emit({\n component: this,\n data: { value: null },\n });\n }\n\n /**\n * Opens the file picker for attachment.\n * @ignore\n */\n handleAttachClick() {\n this.inputFile.nativeElement.click();\n }\n\n /**\n * Emits the selected files when the file input changes.\n * @ignore\n */\n handleChangeFile(event: Event) {\n this.onSendClick.emit({\n component: this,\n data: { value: (event.target as HTMLInputElement).files, type: 'file' },\n });\n }\n\n /**\n * Emits the text value and optional replyChat when the send button is clicked.\n * @ignore\n */\n handleSendClick() {\n this.onSendClick.emit({\n component: this,\n data: { value: this.value, replyChat: this.replyChat() || null, type: 'text' },\n isUserInteraction: true,\n });\n this.conversationService.replyId.set('');\n }\n\n /**\n * Ends recording and emits the recorded voice data when the send voice button is clicked.\n * @ignore\n */\n handleSendVoiceClick() {\n this.recordingService.endRecording().then((c) => {\n this.recording.set(false);\n this.onSendClick.emit({\n component: this,\n data: { value: c, type: 'voice' },\n isUserInteraction: true,\n });\n });\n }\n\n /**\n * Clears the reply ID when closing a reply.\n * @ignore\n */\n closeReplyHandler() {\n this.conversationService.replyId.set('');\n }\n}\n","@if (replyChat()) {\n <div class=\"ax-editor-reply-container ax-editor-container ax-{{ look }}\">\n <div class=\"ax-reply-start\">\n <i class=\"fa-solid fa-reply\"></i>\n @switch (replyChat().type) {\n @case ('text') {\n <p>\n {{ replyChat().content }}\n </p>\n }\n @case ('image') {\n <div class=\"ax-reply-types\">\n <img src=\"{{ replyChat().content }}\" alt=\"\" />\n {{ replyChat().type }}\n </div>\n }\n @case ('video') {\n <div class=\"ax-reply-types\">\n <video src=\"{{ replyChat().content }}\" alt=\"\"></video>\n {{ replyChat().type }}\n </div>\n }\n @case ('file') {\n <div class=\"ax-reply-types\">\n <i class=\"fa-regular fa-folder-open\"></i>\n {{ replyChat().name }}\n </div>\n }\n @default {\n <p>\n {{ replyChat().type }}\n </p>\n }\n }\n </div>\n <i (click)=\"closeReplyHandler()\" class=\"fa-solid fa-xmark ax-cursor-pointer\"></i>\n </div>\n}\n\n<div class=\"ax-conversation-input ax-editor-container ax-{{ look }}\" [class.ax-state-recording]=\"recording()\">\n @if (recording()) {\n <div class=\"ax-conversation-input-start-side\">\n <span class=\"ax-record-dot\"></span>\n <span>{{ recordingService.timer() }}</span>\n </div>\n <div class=\"ax-conversation-input-main-side\">\n <ax-button class=\"ax-sm\" look=\"blank\" color=\"primary\" [text]=\"'cancel' | translate | async\" (onClick)=\"handleCancelRecordingClick()\"></ax-button>\n </div>\n <div class=\"ax-conversation-input-end-side\">\n <ax-button look=\"solid\" color=\"danger\" class=\"ax-blob ax-sm\" (onClick)=\"handleSendVoiceClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-send\"></i>\n </ax-icon>\n </ax-button>\n </div>\n } @else {\n @if (hasEmoji()) {\n <div class=\"ax-conversation-input-start-side\">\n <ax-button look=\"blank\" class=\"ax-sm\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-emoji\"></i>\n </ax-icon>\n <ax-dropdown-panel>\n <ng-container>\n <div class=\"ax-emoji-container\">\n <div>⚠️</div>\n <div>➡️</div>\n <div>🔃</div>\n <div>🔷</div>\n <div>🤚</div>\n <div>😂</div>\n <div>😊</div>\n </div>\n </ng-container>\n </ax-dropdown-panel>\n </ax-button>\n </div>\n }\n\n <textarea\n class=\"ax-conversation-input-main-side\"\n oninput='this.style.height = \"\";this.style.height = this.scrollHeight + \"px\"'\n type=\"text\"\n rows=\"1\"\n [id]=\"id\"\n [name]=\"name\"\n [attr.placeholder]=\"placeholder\"\n [attr.maxlength]=\"maxLength()\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [tabindex]=\"tabIndex\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n [ngModelOptions]=\"{ updateOn: _updateOn }\"\n (keydown)=\"emitOnKeydownEvent($event)\"\n (keyup)=\"emitOnKeyupEvent($event)\"\n (keypress)=\"emitOnKeypressEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n >\n </textarea>\n\n <div class=\"ax-conversation-input-end-side\">\n @if (!value) {\n @if (hasAttachment()) {\n <ax-button look=\"blank\" class=\"ax-sm\" (onClick)=\"handleAttachClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-attach\"></i>\n </ax-icon>\n </ax-button>\n <input multiple #inputFile [accept]=\"acceptFileType()\" type=\"file\" class=\"ax-attach-input\" (change)=\"handleChangeFile($event)\" />\n }\n @if (hasVoice()) {\n <ax-button look=\"blank\" class=\"ax-sm\" (onClick)=\"handleRecordClick()\">\n <ax-icon>\n <i class=\"ax-icon ax-icon-mic\"></i>\n </ax-icon>\n </ax-button>\n }\n } @else {\n <ax-button [disabled]=\"isLoading()\" look=\"solid\" color=\"primary\" class=\"ax-sm\" (onClick)=\"handleSendClick()\">\n @if (isLoading()) {\n <ax-loading-spinner color=\"primary\"></ax-loading-spinner>\n } @else {\n <ax-icon>\n <i class=\"ax-icon ax-icon-send\"></i>\n </ax-icon>\n }\n </ax-button>\n }\n </div>\n }\n</div>\n","import { Injectable } from '@angular/core';\nimport { AXConversationMessageType } from '../conversation.types';\n\n@Injectable({ providedIn: 'root' })\nexport class AXConversationMessageTypeRegistryService {\n private plugins: Map<string, AXConversationMessageType> = new Map<string, AXConversationMessageType>();\n\n register(...plugins: AXConversationMessageType[]) {\n plugins.forEach((p) => this.plugins.set(p.name, p));\n }\n\n public resolve(name: string): AXConversationMessageType | undefined {\n return this.plugins.get(name);\n }\n}\n","import { AXAvatarComponent } from '@acorex/components/avatar';\nimport { AXButtonComponent, AXButtonItemComponent, AXButtonItemListComponent } from '@acorex/components/button';\nimport { MXBaseComponent } from '@acorex/components/common';\nimport { AXDecoratorGenericComponent, AXDecoratorIconComponent } from '@acorex/components/decorators';\nimport { AXPopoverComponent } from '@acorex/components/popover';\nimport { AXFormatPipe } from '@acorex/core/format';\nimport { isBrowser } from '@acorex/core/platform';\nimport { CdkPortalOutlet, CdkPortalOutletAttachedRef, ComponentPortal } from '@angular/cdk/portal';\nimport { AsyncPipe } from '@angular/common';\nimport { Component, ComponentRef, HostBinding, ViewEncapsulation, computed, inject, input, viewChild } from '@angular/core';\nimport { AXConversationMessage } from '../conversation.types';\nimport { AXConversationMessageTypeRegistryService } from '../services/conversation-message-type-registry.service';\nimport { AXConversationService } from '../services/conversation.service';\n\n/**\n * A component for displaying individual conversation messages.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message',\n templateUrl: './conversation-message.component.html',\n styleUrls: ['./conversation-message.component.scss'],\n encapsulation: ViewEncapsulation.None,\n imports: [\n AXAvatarComponent,\n CdkPortalOutlet,\n AXButtonComponent,\n AXDecoratorIconComponent,\n AXPopoverComponent,\n AXDecoratorGenericComponent,\n AXButtonItemListComponent,\n AXButtonItemComponent,\n AsyncPipe,\n AXFormatPipe,\n ],\n})\nexport class AXConversationMessageComponent extends MXBaseComponent {\n /**\n * @ignore\n */\n protected popover = viewChild<AXPopoverComponent>('popover');\n\n isReply = input(true);\n\n /**\n * @ignore\n */\n protected conversationService = inject(AXConversationService);\n\n /**\n * The message data to display in the conversation.\n */\n chatMessage = input<AXConversationMessage<any>>();\n\n /**\n * @ignore\n */\n protected registryService = inject(AXConversationMessageTypeRegistryService);\n\n /**\n * @ignore\n */\n protected portal = computed<ComponentPortal<any> | null>(() => {\n return new ComponentPortal(this.registryService.resolve(this.chatMessage().type).component);\n });\n\n protected messageType = computed(() => {\n return this.chatMessage().type;\n });\n\n /**\n * @ignore\n */\n protected get isOwn(): boolean {\n return !this.chatMessage().fromId;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string {\n return `${this.isOwn ? 'ax-state-own' : ''} ${!this.isOwn ? 'ax-state-other' : ''}`;\n }\n\n /**\n * @ignore\n */\n protected _handleAttached(ref: CdkPortalOutletAttachedRef) {\n ref = ref as ComponentRef<unknown>;\n if (ref.instance && isBrowser()) {\n Object.assign(ref.instance, { message: this.chatMessage() });\n\n const prefixContainer = this.getHostElement().querySelector('.ax-message-prefix');\n const suffixContainer = this.getHostElement().querySelector('.ax-message-suffix');\n prefixContainer.innerHTML = '';\n suffixContainer.innerHTML = '';\n\n const prefix = this.getHostElement().querySelector('ax-prefix') as HTMLDivElement;\n const suffix = this.getHostElement().querySelector('ax-suffix') as HTMLDivElement;\n\n if (prefix && prefixContainer) {\n prefix.style.display = 'flex';\n prefixContainer.append(prefix);\n }\n if (suffix && suffixContainer) {\n suffix.style.display = 'flex';\n suffixContainer.append(suffix);\n }\n }\n }\n\n /**\n * @ignore\n */\n protected handleResendClick() {\n this.popover()?.close();\n this.chatMessage().onResendClick();\n }\n\n /**\n * @ignore\n */\n protected handleDeleteClick() {\n this.popover()?.close();\n this.chatMessage().onDeleteClick();\n }\n\n /**\n * @ignore\n */\n protected replyHandler(e) {\n this.conversationService.replyId.set(e);\n }\n}\n","@if (chatMessage().fromId) {\n <ax-avatar color=\"primary\" [size]=\"36\"> </ax-avatar>\n}\n\n@if (isOwn && isReply()) {\n <i (click)=\"replyHandler(chatMessage().id)\" class=\"fa-solid fa-reply ax-cursor-pointer\"></i>\n}\n\n<div class=\"ax-message-content\" [class]=\"'ax-type-' + messageType()\" [class.ax-state-own]=\"!chatMessage().fromId\" [class.ax-state-other]=\"chatMessage().fromId\">\n <ng-template [cdkPortalOutlet]=\"portal()\" (attached)=\"_handleAttached($event)\"></ng-template>\n\n <div class=\"ax-chat-message-status\">\n <div class=\"ax-message-prefix\"></div>\n <div>\n <div class=\"ax-message-suffix\"></div>\n <span>\n {{ chatMessage().sendTime | format: 'datetime' : 'HH:mm' | async }}\n </span>\n <span>\n @if (isOwn) {\n @if (chatMessage().deliverTime && chatMessage().sendTime) {\n <i class=\"ax-icon ax-icon-check ax-message-status\"></i>\n }\n @if (chatMessage().readTime && chatMessage().sendTime) {\n <i class=\"ax-icon ax-icon-dobble-check ax-message-status\"></i>\n }\n }\n </span>\n </div>\n </div>\n</div>\n\n@if (!chatMessage().sendTime) {\n <ax-button class=\"ax-resend-button ax-xs\" color=\"danger\" #b>\n <ax-icon class=\"ax-icon ax-icon-error\"></ax-icon>\n\n <ax-popover [target]=\"b\" placement=\"bottom-end\" #popover>\n <div class=\"ax-overlay-pane\">\n <ax-content> </ax-content>\n <ax-button-item-list>\n @if (chatMessage().onResendClick) {\n <ax-button-item text=\"Resend\" (onClick)=\"handleResendClick()\">\n <ax-icon class=\"ax-icon ax-icon-reload ax-bold\"></ax-icon>\n </ax-button-item>\n }\n @if (chatMessage().onDeleteClick) {\n <ax-button-item text=\"Delete\" color=\"danger\" (onClick)=\"handleDeleteClick()\">\n <ax-icon class=\"ax-icon ax-icon-clear ax-bold\"></ax-icon>\n </ax-button-item>\n }\n </ax-button-item-list>\n </div>\n </ax-popover>\n </ax-button>\n}\n","import { Injectable, Type } from '@angular/core';\n\nexport interface AXConversationMessageType {\n name: string;\n component: Type<any>;\n}\n\nexport interface AXConversationMessage<T> {\n id: string;\n type: string;\n sendTime: Date | null;\n deliverTime?: Date;\n readTime?: Date;\n replyTo?: AXConversationMessage<T>;\n content: any;\n fromId?: string;\n name: string;\n onResendClick?: () => void;\n onDeleteClick?: () => void;\n onDownloadClick?: () => void;\n onCancelClick?: () => void;\n}\n\n@Injectable()\nexport class AXConversationMessageBaseComponent<T> {\n message: AXConversationMessage<T>;\n}\n","import { AXButtonComponent } from '@acorex/components/button';\nimport { AXDecoratorGenericComponent } from '@acorex/components/decorators';\nimport { AXRangeSliderComponent } from '@acorex/components/range-slider';\nimport { AXFormatPipe } from '@acorex/core/format';\nimport { AsyncPipe } from '@angular/common';\nimport { Component, OnDestroy, Renderer2, ViewEncapsulation, afterNextRender, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXConversationMessageBaseComponent } from '../../conversation.types';\n\n/**\n * Component for displaying audio messages in a conversation.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message-audio',\n templateUrl: './conversation-message-audio.component.html',\n styleUrls: ['./conversation-message-audio.component.scss'],\n encapsulation: ViewEncapsulation.None,\n imports: [AXDecoratorGenericComponent, AXButtonComponent, AXRangeSliderComponent, FormsModule, AsyncPipe, AXFormatPipe],\n})\nexport class AXConversationMessageAudioComponent extends AXConversationMessageBaseComponent<string> implements OnDestroy {\n rendrer = inject(Renderer2);\n /**\n * @ignore\n */\n protected audioState = signal<'playing' | 'paused'>('paused');\n\n /**\n * @ignore\n */\n // audioTag = viewChild<ElementRef<HTMLAudioElement>>('a');\n protected audioTag = signal(new Audio());\n\n /**\n * @ignore\n */\n protected audioRate = signal(1);\n\n /**\n * @ignore\n */\n protected currentTime = signal(0);\n\n /**\n * @ignore\n */\n protected duration = signal(0);\n\n /**\n * @ignore\n */\n protected currentTimeFormat = signal(0);\n\n /**\n * @ignore\n */\n protected durationFormat = signal(0);\n\n /**\n * @ignore\n */\n protected endedEvent;\n\n /**\n * @ignore\n */\n protected durationchangeEvent;\n\n /**\n * @ignore\n */\n protected timeupdateEvent;\n\n /**\n * @ignore\n */\n constructor() {\n super();\n afterNextRender(() => {\n this.audioTag().autoplay = false;\n this.audioTag().src = this.message.content;\n this.rendrer.listen(this.audioTag(), 'ended', this.endedFunction.bind(this));\n this.rendrer.listen(this.audioTag(), 'durationchange', this.durationchangeFunction.bind(this));\n this.rendrer.listen(this.audioTag(), 'timeupdate', this.timeupdateFunction.bind(this));\n });\n }\n\n /**\n * @ignore\n */\n ngOnDestroy(): void {\n if (this.endedEvent) {\n this.endedEvent();\n }\n if (this.durationchangeEvent) {\n this.durationchangeEvent();\n }\n if (this.timeupdateEvent) {\n this.timeupdateEvent();\n }\n }\n\n /**\n * @ignore\n */\n protected endedFunction() {\n this.audioState.set('paused');\n this.audioTag().pause();\n this.audioTag().currentTime = 0;\n this.currentTime.set(0);\n }\n\n /**\n * @ignore\n */\n protected durationchangeFunction() {\n if (this.audioTag().duration === Infinity) return;\n this.duration.set(this.audioTag().duration);\n this.durationFormat.set(Math.ceil(this.audioTag().duration) * 1000);\n }\n\n /**\n * @ignore\n */\n protected timeupdateFunction() {\n this.currentTime.set(this.audioTag().currentTime);\n this.currentTimeFormat.set(Math.ceil(this.audioTag().currentTime * 1000));\n }\n /**\n * Seeks to the specified time and resumes audio playback.\n *\n * @param e - Time in seconds to seek to.\n * @ignore\n */\n protected clickHandler(e: any) {\n this.audioTag().currentTime = e as number;\n }\n\n /**\n * Pauses the audio and updates the state to 'paused'.\n * @ignore\n */\n protected handlePauseClick() {\n this.audioState.set('paused');\n this.audioTag().pause();\n }\n\n /**\n * Plays the audio and updates the state to 'playing'.\\\n * @ignore\n */\n protected handlePlayClick() {\n this.audioState.set('playing');\n this.audioTag().play();\n }\n\n /**\n * Toggles the playback rate of the audio between 1x, 1.5x, and 2x.\n * @ignore\n */\n protected handleRateClick() {\n if (this.audioRate() === 1) {\n this.audioRate.set(1.5);\n this.audioTag().playbackRate = 1.5;\n } else if (this.audioRate() === 1.5) {\n this.audioRate.set(2);\n this.audioTag().playbackRate = 2;\n } else if (this.audioRate() === 2) {\n this.audioRate.set(1);\n this.audioTag().playbackRate = 1;\n }\n }\n}\n","<ax-prefix>\n <div class=\"ax-time-rate\">\n @switch (audioState()) {\n @case ('paused') {\n {{ currentTimeFormat() | format: 'time-duration' | async }}\n }\n @case ('playing') {\n {{ currentTimeFormat() | format: 'time-duration' | async }}\n }\n @default {\n {{ durationFormat() | format: 'time-duration' | async }}\n }\n }\n <ax-button color=\"primary\" look=\"solid\" text=\"{{ audioRate() }}X\" class=\"ax-audio-speed\" (click)=\"handleRateClick()\"></ax-button>\n </div>\n</ax-prefix>\n<div class=\"ax-conversation-controller\">\n @switch (audioState()) {\n @case ('playing') {\n <button (click)=\"handlePauseClick()\">\n <i class=\"ax-icon ax-icon-pause\"></i>\n </button>\n }\n @case ('paused') {\n <button (click)=\"handlePlayClick()\">\n <i class=\"ax-icon ax-icon-play\"></i>\n </button>\n }\n }\n</div>\n<ax-range-slider\n class=\"ax-modify-bgSlider\"\n (ngModelChange)=\"clickHandler($event)\"\n [max]=\"duration()\"\n [min]=\"0\"\n mode=\"single\"\n [ngModel]=\"currentTime()\"\n color=\"primary\"\n>\n</ax-range-slider>\n","import { AXVirtualScrollingContainerDirective, AXVirtualScrollingItemDirective } from '@acorex/cdk/virtual-scroll';\nimport { AXEvent, MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation, inject, input, output } from '@angular/core';\nimport { AXConversationActionEvent } from '../classes/events.interface';\nimport { AXConversationMessageComponent } from '../conversation-message/conversation-message.component';\nimport { AXConversationService } from '../services/conversation.service';\n\n/**\n * Displays the conversation view with messages and interactions.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-view',\n templateUrl: './conversation-view.component.html',\n styleUrls: ['./conversation-view.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [AXVirtualScrollingContainerDirective, AXConversationMessageComponent, AXVirtualScrollingItemDirective],\n})\nexport class AXConversationViewComponent extends MXBaseComponent {\n /** @ignore */\n protected conversationService = inject(AXConversationService);\n\n onScrollEnd = output<AXEvent>();\n\n height = input<string>('30vh');\n\n isReply = input(true);\n\n /**\n * Emits an event when an action is performed within the conversation view.\n *\n * @event\n */\n onAction = output<AXConversationActionEvent>();\n\n updatePrevItems(item: any[]) {\n this.conversationService.chats.update((prev) => [...item, ...prev]);\n }\n\n callForUpdate() {\n this.onScrollEnd.emit({ component: this });\n }\n\n addNewItem(item: any) {\n this.conversationService.chats.update((prev) => [...prev, item]);\n }\n}\n","<div axVirtualScrollingContainer (ScrollEnd)=\"callForUpdate()\" [height]=\"height()\">\n @for (item of conversationService.chats(); track item.id) {\n <ax-conversation-message\n [isReply]=\"isReply()\"\n axVirtualScrollingItem\n [chatMessage]=\"item\"\n ></ax-conversation-message>\n }\n</div>\n","/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { AXDecoratorGenericComponent } from '@acorex/components/decorators';\nimport { AXLoadingSpinnerComponent } from '@acorex/components/loading';\nimport { AXFileService } from '@acorex/core/file';\nimport { AXFormatPipe } from '@acorex/core/format';\nimport { AsyncPipe } from '@angular/common';\nimport { HttpClient } from '@angular/common/http';\nimport { Component, ViewEncapsulation, WritableSignal, afterNextRender, inject, signal } from '@angular/core';\nimport { AXConversationViewComponent } from '../../conversation-view/conversation-view.component';\nimport { AXConversationMessageBaseComponent } from '../../conversation.types';\n\n/**\n * Component for displaying file messages in a conversation.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message-file',\n templateUrl: './conversation-message-file.component.html',\n styleUrl: './conversation-message-file.component.scss',\n encapsulation: ViewEncapsulation.None,\n imports: [AXDecoratorGenericComponent, AXLoadingSpinnerComponent, AsyncPipe, AXFormatPipe],\n})\nexport class AXConversationFileMessageComponent extends AXConversationMessageBaseComponent<string> {\n /**\n * @ignore\n */\n fileState: WritableSignal<'loading' | 'ready' | 'error'> = signal('ready');\n /**\n * @ignore\n */\n fileSize: WritableSignal<number> = signal(null);\n /**\n * @ignore\n */\n fileName: WritableSignal<string> = signal('');\n\n /**\n * @ignore\n */\n fileService = inject(AXFileService);\n /**\n * @ignore\n */\n http = inject(HttpClient);\n /**\n * @ignore\n */\n parent = inject(AXConversationViewComponent);\n\n /**\n * @ignore\n */\n constructor() {\n super();\n afterNextRender(() => {\n if (this.message.name) {\n this.fileName.set(this.message.name);\n this.fileSize.set(this.fileService.getSize(this.message.content) as number);\n } else {\n this.fileName.set(this.message.content[0].name);\n this.fileSize.set(this.message.content[0].size);\n }\n });\n }\n\n /**\n * Emits a download action event for the file.\n * @ignore\n */\n handleDownloadFile() {\n this.parent.onAction.emit({ component: this, data: this.message, isUserInteraction: true });\n }\n\n /**\n * Emits a cancel action event for the file loading.\n * @ignore\n */\n handleCancelLoading() {\n this.parent.onAction.emit({ component: this, data: this.message, isUserInteraction: true });\n }\n}\n","<ax-prefix>\n {{ fileSize() | format: 'filesize' | async }}\n</ax-prefix>\n<div class=\"ax-file-container\">\n <div class=\"ax-conversation-controller\">\n @switch (fileState()) {\n @case ('ready') {\n <button (click)=\"handleDownloadFile()\">\n <i class=\"ax-icon ax-icon-download\"></i>\n </button>\n }\n\n @default {\n <button (click)=\"handleCancelLoading()\">\n <ax-loading-spinner\n [size]=\"24\"\n [stroke]=\"2\"\n [color]=\"message.fromId ? 'white' : 'warning'\"\n ></ax-loading-spinner>\n </button>\n }\n }\n </div>\n\n <div class=\"ax-file-name\">{{ fileName() }}</div>\n</div>\n","import { afterNextRender, Component, ViewEncapsulation } from '@angular/core';\n\n/**\n * A popup component for displaying an image in full view.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message-image-popup',\n template: `<img class=\"ax-image-popup\" [src]=\"url\" alt=\"\" />`,\n styleUrl: './conversation-message-image-popup.component.scss',\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n})\nexport class ConversationMessageImagePopupComponent {\n /**\n * @ignore\n */\n protected url: string;\n\n /**\n * @ignore\n */\n constructor() {\n afterNextRender(() => {\n console.log(this.url);\n });\n }\n}\n","import { AXPopupService, AXPopupSizeType } from '@acorex/components/popup';\nimport { Component, afterNextRender, inject, signal } from '@angular/core';\nimport { AXConversationMessageBaseComponent } from '../../conversation.types';\nimport { ConversationMessageImagePopupComponent } from '../conversation-message-image-popup/conversation-message-image-popup.component';\n\n/**\n * A component for displaying an image within a conversation message.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message-image',\n template: `<img (click)=\"openPopup()\" [src]=\"_imageUrl()\" alt=\"\" /> `,\n styles: `\n img {\n cursor: pointer;\n width: 100%;\n height: 100%;\n }\n `,\n inputs: ['message'],\n})\nexport class AXConversationMessageImageComponent extends AXConversationMessageBaseComponent<string> {\n /**\n * @ignore\n */\n protected _imageUrl = signal('');\n\n /**\n * @ignore\n */\n private popup: AXPopupService = inject(AXPopupService);\n\n /**\n * @ignore\n */\n protected _options = {\n header: true,\n footer: false,\n size: 'md',\n draggable: true,\n hasBackdrop: true,\n closeButton: true,\n closeOnBackdropClick: false,\n };\n\n /**\n * @ignore\n */\n constructor() {\n super();\n afterNextRender(() => {\n this._imageUrl.set(this.message?.content);\n });\n }\n\n /**\n * Opens a popup displaying the image with options for draggable, size, and backdrop.\n * @ignore\n */\n openPopup() {\n this.popup\n .open(ConversationMessageImagePopupComponent, {\n draggable: this._options.draggable,\n header: this._options.header,\n size: this._options.size as AXPopupSizeType,\n hasBackdrop: this._options.hasBackdrop,\n closeButton: this._options.closeButton,\n closeOnBackdropClick: this._options.closeOnBackdropClick,\n data: {\n url: this._imageUrl(),\n },\n })\n .then((c) => {\n console.log(c);\n });\n }\n}\n","import { Component, OnInit, ViewEncapsulation, signal } from '@angular/core';\nimport { AXConversationMessage, AXConversationMessageBaseComponent } from '../../conversation.types';\n\n/**\n * A component for displaying a text message with optional reply content, including text, images, videos, files, and audio.\n *\n * @category Components\n */\n@Component({\n template: `\n @if (replyText()) {\n <div class=\"ax-message-reply-container\">{{ replyText().content }}</div>\n }\n\n @if (replyImage()) {\n <div class=\"ax-message-reply-container\"><img [src]=\"replyImage()\" alt=\"\" /></div>\n }\n\n @if (replyVideo()) {\n <div class=\"ax-message-reply-container\"><video [src]=\"replyVideo()\"></video></div>\n }\n\n @if (replyFile()) {\n <div class=\"ax-message-reply-container\">\n <div class=\"file\">\n <i class=\"fa-regular fa-folder-open\"></i>\n {{ replyFile().name }}\n </div>\n </div>\n }\n\n @if (replyAudio() || replyVoice()) {\n <div class=\"ax-message-reply-container\">{{ replyAudio().type }}</div>\n }\n\n <div class=\"ax-text-message\" [innerHtml]=\"_text()\"></div>\n `,\n styleUrl: './conversation-message-text.component.scss',\n encapsulation: ViewEncapsulation.None,\n inputs: ['message'],\n})\nexport class AXConversationTextMessageComponent extends AXConversationMessageBaseComponent<string> implements OnInit {\n /**\n * @ignore\n */\n protected _text = signal('');\n\n /**\n * @ignore\n */\n protected replyText = signal<AXConversationMessage<string> | null>(null);\n\n /**\n * @ignore\n */\n protected replyImage = signal<AXConversationMessage<string> | null>(null);\n\n /**\n * @ignore\n */\n protected replyVideo = signal<AXConversationMessage<string> | null>(null);\n\n /**\n * @ignore\n */\n protected replyAudio = signal<AXConversationMessage<string> | null>(null);\n\n /**\n * @ignore\n */\n protected replyVoice = signal<AXConversationMessage<string> | null>(null);\n\n /**\n * @ignore\n */\n protected replyFile = signal<AXConversationMessage<string> | null>(null);\n\n /**\n * @ignore\n */\n ngOnInit(): void {\n this._text.set(this.message?.content);\n\n if (!this.message?.replyTo) return;\n\n switch (this.message.replyTo.type) {\n case 'text':\n this.replyText.set(this.message?.replyTo);\n break;\n case 'image':\n this.replyImage.set(this.message?.replyTo);\n break;\n case 'video':\n this.replyVideo.set(this.message?.replyTo);\n break;\n case 'audio':\n this.replyAudio.set(this.message?.replyTo);\n break;\n case 'voice':\n this.replyVoice.set(this.message?.replyTo);\n break;\n case 'file':\n this.replyFile.set(this.message?.replyTo);\n break;\n }\n }\n}\n","import { Component, OnInit, signal } from '@angular/core';\nimport { AXConversationMessageBaseComponent } from '../../conversation.types';\n\n/**\n * A component for displaying a video message with playback controls.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message-video',\n template: `<video controls [src]=\"_videoUrl()\"></video>`,\n styles: `\n video {\n width: 100%;\n height: 100%;\n }\n `,\n})\nexport class AXConversationMessageVideoComponent extends AXConversationMessageBaseComponent<string> implements OnInit {\n /**\n * @ignore\n */\n protected _videoUrl = signal('');\n\n /**\n * @ignore\n */\n ngOnInit(): void {\n this._videoUrl.set(this.message?.content);\n console.log(this._videoUrl());\n }\n}\n","import { AXAudioWaveChangeEvent, AXAudioWaveComponent, AXWaveConfig } from '@acorex/components/audio-wave';\nimport { AXDecoratorGenericComponent } from '@acorex/components/decorators';\nimport { AXLoadingSpinnerComponent } from '@acorex/components/loading';\nimport { AXFormatPipe } from '@acorex/core/format';\nimport { AsyncPipe, isPlatformBrowser } from '@angular/common';\nimport { Component, HostBinding, PLATFORM_ID, ViewChild, ViewEncapsulation, WritableSignal, afterNextRender, inject, signal } from '@angular/core';\nimport { AXConversationViewComponent } from '../../conversation-view/conversation-view.component';\nimport { AXConversationMessageBaseComponent } from '../../conversation.types';\n\n/**\n * A component for displaying and handling audio messages in a conversation.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-conversation-message-audio',\n templateUrl: './conversation-message-voice.component.html',\n styleUrl: `./conversation-message-voice.component.scss`,\n encapsulation: ViewEncapsulation.None,\n inputs: ['message'],\n imports: [AXDecoratorGenericComponent, AXLoadingSpinnerComponent, AXAudioWaveComponent, AsyncPipe, AXFormatPipe],\n})\nexport class AXConversationVoiceMessageComponent extends AXConversationMessageBaseComponent<string> {\n /**\n * @ignore\n */\n @ViewChild('a') audio: AXAudioWaveComponent;\n\n /**\n * @ignore\n */\n config: AXWaveConfig = { url: '' };\n\n /**\n * @ignore\n */\n audioState: WritableSignal<'playing' | 'paused' | 'loading' | 'ready' | 'error'> = signal('paused');\n\n /**\n * @ignore\n */\n parent = inject(AXConversationViewComponent);\n private platformID = inject(PLATFORM_ID);\n\n /**\n * @ignore\n */\n selectedRate = signal(1);\n\n /**\n * @ignore\n */\n selectedRateIndex = signal(1);\n\n /**\n * @ignore\n */\n protected audioProgress = signal(0);\n\n /**\n * @ignore\n */\n protected timeLeft = signal(0);\n\n /**\n * @ignore\n */\n protected currentTime = signal(0);\n\n /**\n * @ignore\n */\n protected duration = signal(0);\n\n /**\n * @ignore\n */\n constructor() {\n super();\n afterNextRender(() => {\n this.config.url = this.message?.content;\n this.config.audioRate = 0.25;\n this.setWaveColor();\n this.audio.onStatusChanged.subscribe((c) => {\n this.parent.onAction.emit(c);\n });\n this.handleLoadingProgress();\n });\n }\n /**\n * @ignore\n */\n setWaveColor() {\n let waveColor = '';\n let progressColor = '';\n if (isPlatformBrowser(this.platformID)) {\n if (this.message.fromId) {\n waveColor = getComputedStyle(document.body).getPropertyValue('--ax-message-other-bar-color');\n progressColor = getComputedStyle(document.body).getPropertyValue('--ax-message-other-progress-color');\n } else {\n waveColor = getComputedStyle(document.body).getPropertyValue('--ax-message-own-bar-color');\n progressColor = getComputedStyle(document.body).getPropertyValue('--ax-message-own-progress-color');\n }\n }\n this.config.waveColor = waveColor;\n this.config.progressColor = progressColor;\n }\n\n /**\n * Pauses the audio playback and updates the audio state to 'paused'.\n * @ignore\n */\n handlePauseClick() {\n this.audio?.pause();\n this.audioState.set('paused');\n }\n\n /**\n * Plays the audio and updates the audio state to 'playing'.\n * @ignore\n */\n handlePlayClick() {\n this.audio?.play()?.then(() => {\n this.audioState.set('playing');\n });\n }\n\n /**\n * Updates audio state and progress based on status changes from the audio wave.\n * @param e - The event containing status and data related to the audio.\n * @ignore\n */\n handleOnStatusChanged(e: AXAudioWaveChangeEvent) {\n if (e.status === 'load' || e.status === 'loading') {\n this.audioState.set('loading');\n }\n if (e.status === 'loading') {\n this.audioProgress.set(e.data.percent);\n this.duration.set(Math.ceil(e.data.duration * 1000));\n }\n if (e.status === 'ready') {\n this.audioState.set('ready');\n this.duration.set(Math.ceil(e.data.duration * 1000));\n }\n if (e.status === 'finish') {\n this.audioState.set('paused');\n }\n if (e.status === 'timeupdate') {\n this.timeLeft.set(this.duration() - e.data.currentTime * 1000);\n this.currentTime.set(e.data.currentTime * 1000);\n }\n if (e.status === 'error') {\n this.audioState.set('error');\n }\n }\n\n /**\n * @ignore\n */\n handleLoadingProgress() {\n // this.audioLoaderProgress?.nativeElement.style.cssText = `--ax-audio-progress: ${this.audioProgress()}`;\n }\n\n /**\n * Handles the cancellation of a loading operation.\n * @ignore\n */\n handleCancelLoading() {\n //\n }\n\n /**\n * Reloads the audio and updates the state to 'loading'.\n * @ignore\n */\n handleReloadClick() {\n //\n this.audioState.set('loading');\n this.audio.load();\n }\n\n /**\n * Cycles through predefined audio playback rates and updates the rate.\n * @ignore\n */\n handleRateClick() {\n const rates = [0.5, 1, 2, 4];\n if (this.selectedRateIndex() == rates.length - 1) {\n this.selectedRateIndex.set(0);\n } else {\n this.selectedRateIndex.set(this.selectedRateIndex() + 1);\n }\n this.selectedRate.set(rates[this.selectedRateIndex()]);\n this.audio.setRate(this.selectedRate());\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string {\n return `${this.message.fromId ? 'ax-state-other' : 'ax-state-own'}`;\n }\n}\n","<ax-prefix>\n @switch (audioState()) {\n @case ('paused') {\n {{ currentTime() | format: 'time-duration' | async }}\n }\n @case ('playing') {\n {{ currentTime() | format: 'time-duration' | async }}\n }\n @default {\n {{ duration() | format: 'time-duration' | async }}\n }\n }\n <button class=\"ax-audio-speed\" (click)=\"handleRateClick()\"></button>\n</ax-prefix>\n<div class=\"ax-conversation-controller\">\n @switch (audioState()) {\n @case ('playing') {\n <button (click)=\"handlePauseClick()\">\n <i class=\"ax-icon ax-icon-pause\"></i>\n </button>\n }\n\n @case ('ready') {\n <button (click)=\"handlePlayClick()\">\n <i class=\"ax-icon ax-icon-play\"></i>\n </button>\n }\n\n @case ('paused') {\n <button (click)=\"handlePlayClick()\">\n <i class=\"ax-icon ax-icon-play\"></i>\n </button>\n }\n\n @case ('error') {\n <button class=\"ax-state-error\" (click)=\"handleReloadClick()\">\n <i class=\"ax-icon ax-icon-reload\"></i>\n </button>\n }\n\n @default {\n <button (click)=\"handleCancelLoading()\">\n <ax-loading-spinner\n [size]=\"24\"\n [stroke]=\"2\"\n [color]=\"message.fromId ? 'white' : 'warning'\"\n ></ax-loading-spinner>\n </button>\n }\n }\n</div>\n<ax-audio-wave #a [config]=\"config\" (onStatusChanged)=\"handleOnStatusChanged($event)\"></ax-audio-wave>\n<ax-suffix>\n <div class=\"ax-audio-rate-button\" [class.ax-state-own]=\"!message?.fromId\" (click)=\"handleRateClick()\">\n {{ selectedRate() }}X\n </div>\n</ax-suffix>\n","import { AXVirtualScrollModule } from '@acorex/cdk/virtual-scroll';\nimport { AXAudioWaveModule } from '@acorex/components/audio-wave';\nimport { AXAvatarModule } from '@acorex/components/avatar';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXCircularProgressModule } from '@acorex/components/circular-progress';\nimport { AXRippleDirective } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXPopupService } from '@acorex/components/popup';\nimport { AXRangeSliderModule } from '@acorex/components/range-slider';\nimport { AXDateTimeModule } from '@acorex/core/date-time';\nimport { AXFileModule } from '@acorex/core/file';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { CdkPortalOutlet } from '@angular/cdk/portal';\nimport { AsyncPipe, CommonModule } from '@angular/common';\nimport { Inject, ModuleWithProviders, NgModule, Optional } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXConversationContainerComponent } from './conversation-container/conversation-container.component';\nimport { AXConversationInputComponent } from './conversation-input/conversation-input.component';\nimport { AXConversationMessageComponent } from './conversation-message/conversation-message.component';\nimport { AXConversationMessageAudioComponent } from './conversation-messages/conversation-message-audio/conversation-message-audio.component';\nimport { AXConversationFileMessageComponent } from './conversation-messages/conversation-message-file/conversation-message-file.component';\nimport { AXConversationMessageImageComponent } from './conversation-messages/conversation-message-image/conversation-message-image.component';\nimport { AXConversationTextMessageComponent } from './conversation-messages/conversation-message-text/conversation-message-text.component';\nimport { AXConversationMessageVideoComponent } from './conversation-messages/conversation-message-video/conversation-message-video.component';\nimport { AXConversationVoiceMessageComponent } from './conversation-messages/conversation-message-voice/conversation-message-voice.component';\nimport { AXConversationViewComponent } from './conversation-view/conversation-view.component';\nimport { AXConversationMessageType } from './conversation.types';\nimport { AXConversationMessageTypeRegistryService } from './services/conversation-message-type-registry.service';\nimport { AXConversationService } from './services/conversation.service';\nimport { AXRecordingService } from './services/recording.service';\n\nexport interface AXChatModuleConfig {\n types: AXConversationMessageType[];\n}\n\nconst COMPONENT = [\n AXConversationViewComponent,\n AXConversationInputComponent,\n AXConversationMessageComponent,\n AXConversationTextMessageComponent,\n AXConversationVoiceMessageComponent,\n AXConversationFileMessageComponent,\n AXConversationContainerComponent,\n AXConversationMessageAudioComponent,\n AXConversationMessageImageComponent,\n AXConversationMessageVideoComponent,\n];\nconst MODULES = [\n CommonModule,\n FormsModule,\n AsyncPipe,\n AXRippleDirective,\n AXButtonModule,\n AXDecoratorModule,\n AXTranslationModule,\n AXDropdownModule,\n AXFormatModule,\n AXAudioWaveModule,\n AXCircularProgressModule,\n AXDateTimeModule,\n CdkPortalOutlet,\n AXLoadingModule,\n AXAvatarModule,\n AXPopoverModule,\n AXFileModule,\n AXRangeSliderModule,\n AXVirtualScrollModule,\n];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [AXRecordingService, AXConversationService, AXPopupService],\n})\nexport class AXConversationModule {\n static forRoot(config?: AXChatModuleConfig): ModuleWithProviders<AXConversationModule> {\n return {\n ngModule: AXConversationModule,\n providers: [\n {\n provide: 'AXChatModuleFactory',\n useFactory: (registry: AXConversationMessageTypeRegistryService) => () => {\n if (config?.types?.length) {\n registry.register(...config.types);\n }\n registry.register({\n name: 'text',\n component: AXConversationTextMessageComponent,\n });\n registry.register({\n name: 'voice',\n component: AXConversationVoiceMessageComponent,\n });\n registry.register({\n name: 'file',\n component: AXConversationFileMessageComponent,\n });\n registry.register({\n name: 'audio',\n component: AXConversationMessageAudioComponent,\n });\n registry.register({\n name: 'image',\n component: AXConversationMessageImageComponent,\n });\n registry.register({\n name: 'video',\n component: AXConversationMessageVideoComponent,\n });\n },\n deps: [AXConversationMessageTypeRegistryService],\n multi: true,\n },\n ],\n };\n }\n\n static forChild(config?: AXChatModuleConfig): ModuleWithProviders<AXConversationModule> {\n return {\n ngModule: AXConversationModule,\n providers: [\n {\n provide: 'AXChatModuleFactory',\n useFactory: (registry: AXConversationMessageTypeRegistryService) => () => {\n if (config?.types?.length) {\n registry.register(...config.types);\n }\n },\n deps: [AXConversationMessageTypeRegistryService],\n multi: true,\n },\n ],\n };\n }\n\n /**\n * @ignore\n */\n constructor(@Optional() @Inject('AXChatModuleFactory') instances: any[]) {\n instances?.forEach((f) => {\n f();\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAKM,MAAO,yBAA0B,SAAQ,OAAO,CAAA;AAErD;;ACHD;;;AAGG;MAkBU,gCAAgC,CAAA;8GAAhC,gCAAgC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,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