@cloudflare/realtimekit-ui 2.0.1 → 2.0.2-staging.2

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 (927) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/ChatHead-DzH-mYX1.js +11 -0
  3. package/dist/cjs/{TextMessage-492778db.js → TextMessage-5iqcrDk9.js} +9 -11
  4. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
  5. package/dist/cjs/breakout-rooms-46jWgGiL.js +72 -0
  6. package/dist/cjs/breakout-rooms-manager-Bgk5FEK1.js +303 -0
  7. package/dist/cjs/{chat-4f5c28ca.js → chat-CiRLOYTj.js} +1 -1
  8. package/dist/cjs/{config-705c8f2c.js → config-Dr-kt-RY.js} +6 -5
  9. package/dist/cjs/debounce-BgZ6dvDk.js +659 -0
  10. package/dist/cjs/{debounce-7fa6354d.js → debounce-padcVDRF.js} +4 -6
  11. package/dist/cjs/{file-0b9afa34.js → file-BfaJmhHW.js} +1 -1
  12. package/dist/cjs/{floating-ui.dom.esm-9d940028.js → floating-ui.dom-D8vZii24.js} +3 -310
  13. package/dist/cjs/hark-qJk9qiLr.js +322 -0
  14. package/dist/cjs/{index-4366eb3b.js → index-BOQMsbCN.js} +2 -2
  15. package/dist/cjs/{index-2e5758b6.js → index-Bi2L8zQ7.js} +1202 -555
  16. package/dist/cjs/{index-6f8c1928.js → index-Ck9E7Wf2.js} +22 -31
  17. package/dist/cjs/index.cjs.js +14 -13
  18. package/dist/cjs/{init-error-70ccf3b6.js → init-error-BC4ECjPk.js} +10 -2
  19. package/dist/cjs/livestream-B1z1fq_f.js +78 -0
  20. package/dist/cjs/loader.cjs.js +3 -5
  21. package/dist/cjs/{merge-79537b1d.js → merge-CSoi4R44.js} +136 -17
  22. package/dist/cjs/{notification-8f4db150.js → notification-BM6CUHyL.js} +1 -1
  23. package/dist/cjs/realtimekit-ui.cjs.js +7 -7
  24. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +8 -9
  25. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +15 -14
  26. package/dist/cjs/rtk-ai_3.cjs.entry.js +19 -17
  27. package/dist/cjs/rtk-audio-grid.cjs.entry.js +12 -10
  28. package/dist/cjs/rtk-audio-tile.cjs.entry.js +13 -10
  29. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +26 -23
  30. package/dist/cjs/rtk-avatar_26.cjs.entry.js +124 -125
  31. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +33 -27
  32. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +38 -41
  33. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +11 -11
  34. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +20 -15
  35. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +8 -9
  36. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +11 -9
  37. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +9 -9
  38. package/dist/cjs/rtk-chat-message.cjs.entry.js +8 -8
  39. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +16 -12
  40. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +8 -8
  41. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +9 -9
  42. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +16 -12
  43. package/dist/cjs/rtk-clock.cjs.entry.js +11 -10
  44. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +5 -8
  45. package/dist/cjs/rtk-controlbar.cjs.entry.js +9 -9
  46. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +42 -48
  47. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +5 -8
  48. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +9 -10
  49. package/dist/cjs/rtk-dialog.cjs.entry.js +5 -8
  50. package/dist/cjs/rtk-ended-screen.cjs.entry.js +11 -9
  51. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +8 -8
  52. package/dist/cjs/rtk-file-message_3.cjs.entry.js +11 -14
  53. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +6 -9
  54. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +17 -15
  55. package/dist/cjs/rtk-grid.cjs.entry.js +28 -19
  56. package/dist/cjs/rtk-header.cjs.entry.js +9 -9
  57. package/dist/cjs/rtk-idle-screen.cjs.entry.js +14 -10
  58. package/dist/cjs/rtk-image-viewer.cjs.entry.js +7 -10
  59. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +8 -8
  60. package/dist/cjs/rtk-leave-button.cjs.entry.js +5 -8
  61. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +41 -52
  62. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +10 -10
  63. package/dist/cjs/rtk-logo.cjs.entry.js +14 -10
  64. package/dist/cjs/rtk-meeting-title.cjs.entry.js +5 -8
  65. package/dist/cjs/rtk-message-list-view.cjs.entry.js +12 -10
  66. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +8 -9
  67. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +16 -13
  68. package/dist/cjs/rtk-more-toggle.cjs.entry.js +5 -8
  69. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +11 -9
  70. package/dist/cjs/rtk-name-tag.cjs.entry.js +9 -10
  71. package/dist/cjs/rtk-network-indicator.cjs.entry.js +11 -9
  72. package/dist/cjs/rtk-notification.cjs.entry.js +13 -12
  73. package/dist/cjs/rtk-notifications.cjs.entry.js +22 -16
  74. package/dist/cjs/rtk-participant-count.cjs.entry.js +11 -11
  75. package/dist/cjs/rtk-participant-setup.cjs.entry.js +14 -10
  76. package/dist/cjs/rtk-participant_2.cjs.entry.js +29 -28
  77. package/dist/cjs/rtk-participants-audio.cjs.entry.js +11 -11
  78. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +33 -24
  79. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +16 -12
  80. package/dist/cjs/rtk-participants.cjs.entry.js +15 -11
  81. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +11 -9
  82. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +11 -13
  83. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +16 -12
  84. package/dist/cjs/rtk-poll_2.cjs.entry.js +8 -12
  85. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +16 -12
  86. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +8 -9
  87. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +8 -9
  88. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +8 -9
  89. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +9 -10
  90. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +10 -12
  91. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +5 -8
  92. package/dist/cjs/rtk-settings.cjs.entry.js +8 -9
  93. package/dist/cjs/rtk-setup-screen.cjs.entry.js +11 -12
  94. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +11 -9
  95. package/dist/cjs/rtk-sidebar.cjs.entry.js +17 -13
  96. package/dist/cjs/rtk-simple-grid.cjs.entry.js +11 -12
  97. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +7 -10
  98. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +8 -9
  99. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +11 -9
  100. package/dist/cjs/rtk-stage.cjs.entry.js +5 -8
  101. package/dist/cjs/rtk-transcript.cjs.entry.js +8 -9
  102. package/dist/cjs/rtk-transcripts.cjs.entry.js +14 -10
  103. package/dist/cjs/rtk-ui-provider.cjs.entry.js +32 -20
  104. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +8 -8
  105. package/dist/cjs/{sidebar-3d8abb05.js → sidebar-CaEYxWaS.js} +2 -2
  106. package/dist/cjs/{ui-store-b1ac9e83.js → ui-store-CTof0Q5V.js} +100 -813
  107. package/dist/collection/collection-manifest.json +3 -2
  108. package/dist/collection/components/rtk-ai/rtk-ai.js +16 -10
  109. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +18 -11
  110. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +9 -5
  111. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +16 -10
  112. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +18 -11
  113. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +15 -11
  114. package/dist/collection/components/rtk-avatar/rtk-avatar.js +15 -10
  115. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +18 -13
  116. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +7 -4
  117. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +19 -12
  118. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +12 -7
  119. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +11 -6
  120. package/dist/collection/components/rtk-button/rtk-button.js +9 -8
  121. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +12 -8
  122. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +16 -10
  123. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +20 -12
  124. package/dist/collection/components/rtk-chat/rtk-chat.js +19 -11
  125. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +16 -11
  126. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +16 -14
  127. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +34 -26
  128. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +20 -14
  129. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +24 -14
  130. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +11 -8
  131. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +20 -12
  132. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +10 -8
  133. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +18 -11
  134. package/dist/collection/components/rtk-clock/rtk-clock.js +8 -5
  135. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +11 -6
  136. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +17 -11
  137. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +16 -14
  138. package/dist/collection/components/rtk-counter/rtk-counter.js +12 -9
  139. package/dist/collection/components/rtk-debugger/rtk-debugger.js +15 -9
  140. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +13 -8
  141. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +13 -8
  142. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +13 -8
  143. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +18 -11
  144. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +13 -8
  145. package/dist/collection/components/rtk-dialog/rtk-dialog.js +18 -12
  146. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +17 -10
  147. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +5 -3
  148. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +6 -4
  149. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +7 -5
  150. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +15 -9
  151. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +5 -3
  152. package/dist/collection/components/rtk-file-message/rtk-file-message.js +9 -6
  153. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +8 -7
  154. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +13 -10
  155. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +16 -10
  156. package/dist/collection/components/rtk-grid/rtk-grid.js +22 -15
  157. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +14 -9
  158. package/dist/collection/components/rtk-header/rtk-header.js +17 -11
  159. package/dist/collection/components/rtk-icon/rtk-icon.js +6 -5
  160. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +11 -6
  161. package/dist/collection/components/rtk-image-message/rtk-image-message.js +11 -7
  162. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +7 -5
  163. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +11 -7
  164. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -1
  165. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +17 -10
  166. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +14 -9
  167. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +11 -6
  168. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +11 -7
  169. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +11 -7
  170. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +16 -10
  171. package/dist/collection/components/rtk-logo/rtk-logo.js +9 -6
  172. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +4 -4
  173. package/dist/collection/components/rtk-meeting/rtk-meeting.js +31 -21
  174. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +7 -4
  175. package/dist/collection/components/rtk-menu/rtk-menu.js +13 -9
  176. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +10 -7
  177. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +6 -4
  178. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +5 -4
  179. package/dist/collection/components/rtk-message-view/rtk-message-view.js +19 -17
  180. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +16 -10
  181. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +12 -8
  182. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +31 -19
  183. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +13 -8
  184. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +16 -10
  185. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +11 -6
  186. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +16 -11
  187. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +11 -7
  188. package/dist/collection/components/rtk-notification/rtk-notification.js +13 -9
  189. package/dist/collection/components/rtk-notifications/rtk-notifications.js +15 -9
  190. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +11 -6
  191. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +14 -11
  192. package/dist/collection/components/rtk-participant/rtk-participant.js +15 -9
  193. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +11 -7
  194. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +19 -13
  195. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +26 -17
  196. package/dist/collection/components/rtk-participants/rtk-participants.js +18 -11
  197. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +7 -4
  198. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +20 -13
  199. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +16 -10
  200. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +18 -11
  201. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +18 -12
  202. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +16 -10
  203. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +11 -6
  204. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +9 -5
  205. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +20 -12
  206. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +10 -6
  207. package/dist/collection/components/rtk-plugins/rtk-plugins.js +15 -9
  208. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +18 -11
  209. package/dist/collection/components/rtk-poll/rtk-poll.js +12 -8
  210. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +7 -4
  211. package/dist/collection/components/rtk-polls/rtk-polls.js +13 -8
  212. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +18 -11
  213. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +11 -7
  214. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +15 -10
  215. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +18 -11
  216. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +21 -14
  217. package/dist/collection/components/rtk-settings/rtk-settings.js +15 -9
  218. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +15 -9
  219. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +16 -10
  220. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +15 -9
  221. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +17 -10
  222. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +23 -14
  223. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +9 -8
  224. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +19 -12
  225. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +14 -9
  226. package/dist/collection/components/rtk-spinner/rtk-spinner.js +5 -3
  227. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +27 -17
  228. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +11 -7
  229. package/dist/collection/components/rtk-stage/rtk-stage.js +7 -4
  230. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +18 -11
  231. package/dist/collection/components/rtk-switch/rtk-switch.js +8 -6
  232. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +18 -11
  233. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +13 -11
  234. package/dist/collection/components/rtk-text-message/rtk-text-message.js +9 -6
  235. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +3 -3
  236. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +13 -11
  237. package/dist/collection/components/rtk-transcript/rtk-transcript.js +5 -3
  238. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +9 -5
  239. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +22 -13
  240. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +8 -5
  241. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +6 -4
  242. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +9 -5
  243. package/dist/collection/utils/init-error.js +10 -2
  244. package/dist/collection/utils/livestream.js +1 -1
  245. package/dist/collection/utils/sync-with-store/ui-store.js +1 -1
  246. package/dist/components/index.d.ts +2 -0
  247. package/dist/components/index.js +1 -247
  248. package/dist/components/p-1sLF61J1.js +1 -0
  249. package/dist/components/p-7zlNLqpS.js +1 -0
  250. package/dist/components/p-B-k80wnP.js +1 -0
  251. package/dist/components/p-B1SWgSTZ.js +1 -0
  252. package/dist/components/p-B1wrArJr.js +1 -0
  253. package/dist/components/p-B4TnXODX.js +1 -0
  254. package/dist/components/p-B5-LNbkp.js +1 -0
  255. package/dist/components/p-B9MPybze.js +1 -0
  256. package/dist/components/p-BA_UY9k8.js +1 -0
  257. package/dist/components/p-BBHQOrFK.js +2 -0
  258. package/dist/{realtimekit-ui/p-598b792e.js → components/p-BCuMxcZN.js} +1 -1
  259. package/dist/components/p-BEOq_QN5.js +1 -0
  260. package/dist/components/p-BFTU3MAI.js +1 -0
  261. package/dist/components/p-BJKSFJeB.js +1 -0
  262. package/dist/components/p-BOYkqKBb.js +1 -0
  263. package/dist/components/p-BRbb3tLk.js +1 -0
  264. package/dist/components/p-BWNToYSb.js +1 -0
  265. package/dist/components/p-BYIBbfJ8.js +1 -0
  266. package/dist/components/p-BbJzI1u1.js +1 -0
  267. package/dist/components/p-BcCYogfR.js +1 -0
  268. package/dist/components/p-Bf4LuZWa.js +1 -0
  269. package/dist/{realtimekit-ui/p-1e62d63b.js → components/p-Bj1kNPpe.js} +1 -1
  270. package/dist/components/p-BjF9F_tX.js +1 -0
  271. package/dist/components/p-BoGbJ5PX.js +1 -0
  272. package/dist/components/p-BuZhKlht.js +1 -0
  273. package/dist/{realtimekit-ui/p-fa9759f4.js → components/p-Bx38FZhs.js} +1 -1
  274. package/dist/components/p-C-OVY3ug.js +1 -0
  275. package/dist/components/p-C0H4DNJM.js +1 -0
  276. package/dist/components/p-C0vp-Q7v.js +1 -0
  277. package/dist/components/p-C3Z3GLQh.js +1 -0
  278. package/dist/components/p-C4IJ0f9O.js +1 -0
  279. package/dist/components/p-C9EBo56b.js +1 -0
  280. package/dist/components/p-CABfszIM.js +1 -0
  281. package/dist/components/p-CB5hzEOM.js +1 -0
  282. package/dist/components/p-CBJjerDR.js +1 -0
  283. package/dist/components/p-CBLUz_2s.js +1 -0
  284. package/dist/components/p-CJsXePY3.js +1 -0
  285. package/dist/components/p-CKX6X8es.js +1 -0
  286. package/dist/components/p-COEreDeR.js +1 -0
  287. package/dist/components/p-COZSdc5O.js +1 -0
  288. package/dist/components/p-CQAMoQlr.js +1 -0
  289. package/dist/components/p-Cd-WpR0J.js +1 -0
  290. package/dist/components/p-CdV0xzjB.js +1 -0
  291. package/dist/components/p-Ce-9kgl0.js +1 -0
  292. package/dist/components/p-ChuKD7QS.js +1 -0
  293. package/dist/components/p-Cj44pA_c.js +1 -0
  294. package/dist/components/p-Cmu_4ZYL.js +1 -0
  295. package/dist/components/p-CnJQLwM-.js +1 -0
  296. package/dist/components/p-CpOL3OJd.js +1 -0
  297. package/dist/components/p-CphAED3J.js +1 -0
  298. package/dist/components/p-CqEcYX16.js +1 -0
  299. package/dist/components/p-CrExxJHe.js +1 -0
  300. package/dist/components/p-D0bZYAmS.js +1 -0
  301. package/dist/components/p-D1zAGrQ9.js +1 -0
  302. package/dist/components/p-D6vw6bT2.js +1 -0
  303. package/dist/{realtimekit-ui/p-6befaf17.js → components/p-D9HGXWKc.js} +1 -1
  304. package/dist/components/p-DBjcFAtV.js +1 -0
  305. package/dist/components/p-DCEjf6bL.js +1 -0
  306. package/dist/components/p-DD3_OTZn.js +1 -0
  307. package/dist/{realtimekit-ui/p-40be18ee.js → components/p-DDaHXyCC.js} +1 -1
  308. package/dist/components/p-DE1s0fDa.js +1 -0
  309. package/dist/components/p-DEOaS443.js +1 -0
  310. package/dist/components/p-DHSRRtn3.js +1 -0
  311. package/dist/components/p-DKjr_UXt.js +1 -0
  312. package/dist/components/p-DLocSBO3.js +1 -0
  313. package/dist/components/p-DNkzP2hS.js +1 -0
  314. package/dist/components/p-DP4RUNa1.js +1 -0
  315. package/dist/components/p-DU5mNJqK.js +1 -0
  316. package/dist/components/p-DY8ll5IU.js +1 -0
  317. package/dist/components/p-DZC8m5f_.js +1 -0
  318. package/dist/components/p-Daj_55_i.js +1 -0
  319. package/dist/components/p-DbHOlaHU.js +1 -0
  320. package/dist/components/p-De8YQHVd.js +1 -0
  321. package/dist/components/p-Deo_3EhX.js +1 -0
  322. package/dist/components/p-Df2S0-LE.js +1 -0
  323. package/dist/components/p-DfWuSKCq.js +1 -0
  324. package/dist/components/p-Dguuxuf6.js +1 -0
  325. package/dist/components/p-Dkd2PDJ-.js +1 -0
  326. package/dist/components/p-DlKMnwxL.js +1 -0
  327. package/dist/components/p-DmVA5ArE.js +1 -0
  328. package/dist/components/p-DnQYtb0h.js +1 -0
  329. package/dist/components/p-DuOnRaMu.js +1 -0
  330. package/dist/components/p-DxDYE5-a.js +1 -0
  331. package/dist/components/p-EuNHmu13.js +1 -0
  332. package/dist/components/p-FVFlyS1y.js +1 -0
  333. package/dist/components/p-FdeAvICb.js +1 -0
  334. package/dist/components/p-J1kxEVHe.js +1 -0
  335. package/dist/components/p-JyC3dswA.js +1 -0
  336. package/dist/components/p-KpmupjxR.js +1 -0
  337. package/dist/components/p-L9yK33Cu.js +1 -0
  338. package/dist/components/p-PXVZ-Szx.js +1 -0
  339. package/dist/components/p-ViKGg-Ct.js +1 -0
  340. package/dist/components/p-aS2wpIc0.js +1 -0
  341. package/dist/components/p-ak2clYhw.js +1 -0
  342. package/dist/components/p-e-OVL-Mg.js +1 -0
  343. package/dist/components/p-j2J2Tn1F.js +1 -0
  344. package/dist/components/p-oXrlIvqH.js +1 -0
  345. package/dist/components/p-pb5wDMuJ.js +1 -0
  346. package/dist/components/p-s-jAl7lc.js +1 -0
  347. package/dist/components/p-sSs7a3Ms.js +1 -0
  348. package/dist/components/p-t72veIFj.js +1 -0
  349. package/dist/components/p-uOh9MOi7.js +1 -0
  350. package/dist/components/p-wemYeTS7.js +1 -0
  351. package/dist/components/p-wl6GEzgG.js +1 -0
  352. package/dist/components/p-zBoy9v8V.js +1 -0
  353. package/dist/components/rtk-ai-toggle.js +1 -122
  354. package/dist/components/rtk-ai-transcriptions.js +1 -6
  355. package/dist/components/rtk-ai.js +1 -6
  356. package/dist/components/rtk-audio-grid.js +1 -145
  357. package/dist/components/rtk-audio-tile.js +1 -184
  358. package/dist/components/rtk-audio-visualizer.js +1 -6
  359. package/dist/components/rtk-avatar.js +1 -6
  360. package/dist/components/rtk-breakout-room-manager.js +1 -6
  361. package/dist/components/rtk-breakout-room-participants.js +1 -6
  362. package/dist/components/rtk-breakout-rooms-manager.js +1 -6
  363. package/dist/components/rtk-breakout-rooms-toggle.js +1 -128
  364. package/dist/components/rtk-broadcast-message-modal.js +1 -6
  365. package/dist/components/rtk-button.js +1 -6
  366. package/dist/components/rtk-camera-selector.js +1 -6
  367. package/dist/components/rtk-camera-toggle.js +1 -236
  368. package/dist/components/rtk-caption-toggle.js +1 -131
  369. package/dist/components/rtk-chat-composer-ui.js +1 -363
  370. package/dist/components/rtk-chat-composer-view.js +1 -6
  371. package/dist/components/rtk-chat-header.js +1 -6
  372. package/dist/components/rtk-chat-message.js +1 -6
  373. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -6
  374. package/dist/components/rtk-chat-messages-ui.js +1 -313
  375. package/dist/components/rtk-chat-search-results.js +1 -147
  376. package/dist/components/rtk-chat-selector-ui.js +1 -108
  377. package/dist/components/rtk-chat-selector.js +1 -6
  378. package/dist/components/rtk-chat-toggle.js +1 -181
  379. package/dist/components/rtk-chat.js +1 -6
  380. package/dist/components/rtk-clock.js +1 -128
  381. package/dist/components/rtk-confirmation-modal.js +1 -6
  382. package/dist/components/rtk-controlbar-button.js +1 -6
  383. package/dist/components/rtk-controlbar.js +1 -91
  384. package/dist/components/rtk-counter.js +1 -6
  385. package/dist/components/rtk-debugger-audio.js +1 -6
  386. package/dist/components/rtk-debugger-screenshare.js +1 -6
  387. package/dist/components/rtk-debugger-system.js +1 -6
  388. package/dist/components/rtk-debugger-toggle.js +1 -98
  389. package/dist/components/rtk-debugger-video.js +1 -6
  390. package/dist/components/rtk-debugger.js +1 -6
  391. package/dist/components/rtk-dialog-manager.js +1 -310
  392. package/dist/components/rtk-dialog.js +1 -6
  393. package/dist/components/rtk-draft-attachment-view.js +1 -6
  394. package/dist/components/rtk-emoji-picker-button.js +1 -6
  395. package/dist/components/rtk-emoji-picker.js +1 -6
  396. package/dist/components/rtk-ended-screen.js +1 -150
  397. package/dist/components/rtk-file-dropzone.js +1 -87
  398. package/dist/components/rtk-file-message-view.js +1 -6
  399. package/dist/components/rtk-file-message.js +1 -6
  400. package/dist/components/rtk-file-picker-button.js +1 -6
  401. package/dist/components/rtk-fullscreen-toggle.js +1 -6
  402. package/dist/components/rtk-grid-pagination.js +1 -206
  403. package/dist/components/rtk-grid.js +1 -468
  404. package/dist/components/rtk-header.js +1 -91
  405. package/dist/components/rtk-icon.js +1 -6
  406. package/dist/components/rtk-idle-screen.js +1 -139
  407. package/dist/components/rtk-image-message-view.js +1 -6
  408. package/dist/components/rtk-image-message.js +1 -6
  409. package/dist/components/rtk-image-viewer.js +1 -91
  410. package/dist/components/rtk-information-tooltip.js +1 -61
  411. package/dist/components/rtk-join-stage.js +1 -6
  412. package/dist/components/rtk-leave-button.js +1 -87
  413. package/dist/components/rtk-leave-meeting.js +1 -6
  414. package/dist/components/rtk-livestream-indicator.js +1 -6
  415. package/dist/components/rtk-livestream-player.js +1 -6
  416. package/dist/components/rtk-livestream-toggle.js +1 -181
  417. package/dist/components/rtk-logo.js +1 -6
  418. package/dist/components/rtk-markdown-view.js +1 -6
  419. package/dist/components/rtk-meeting-title.js +1 -74
  420. package/dist/components/rtk-meeting.js +1 -533
  421. package/dist/components/rtk-menu-item.js +1 -6
  422. package/dist/components/rtk-menu-list.js +1 -6
  423. package/dist/components/rtk-menu.js +1 -6
  424. package/dist/components/rtk-message-list-view.js +1 -324
  425. package/dist/components/rtk-message-view.js +1 -6
  426. package/dist/components/rtk-mic-toggle.js +1 -234
  427. package/dist/components/rtk-microphone-selector.js +1 -6
  428. package/dist/components/rtk-mixed-grid.js +1 -300
  429. package/dist/components/rtk-more-toggle.js +1 -112
  430. package/dist/components/rtk-mute-all-button.js +1 -127
  431. package/dist/components/rtk-mute-all-confirmation.js +1 -6
  432. package/dist/components/rtk-name-tag.js +1 -6
  433. package/dist/components/rtk-network-indicator.js +1 -117
  434. package/dist/components/rtk-notification.js +1 -6
  435. package/dist/components/rtk-notifications.js +1 -637
  436. package/dist/components/rtk-overlay-modal.js +1 -6
  437. package/dist/components/rtk-paginated-list.js +1 -6
  438. package/dist/components/rtk-participant-count.js +1 -118
  439. package/dist/components/rtk-participant-setup.js +1 -149
  440. package/dist/components/rtk-participant-tile.js +1 -6
  441. package/dist/components/rtk-participant.js +1 -6
  442. package/dist/components/rtk-participants-audio.js +1 -249
  443. package/dist/components/rtk-participants-stage-list.js +1 -6
  444. package/dist/components/rtk-participants-stage-queue.js +1 -6
  445. package/dist/components/rtk-participants-toggle.js +1 -195
  446. package/dist/components/rtk-participants-viewer-list.js +1 -6
  447. package/dist/components/rtk-participants-waiting-list.js +1 -6
  448. package/dist/components/rtk-participants.js +1 -306
  449. package/dist/components/rtk-permissions-message.js +1 -6
  450. package/dist/components/rtk-pinned-message-selector.js +1 -6
  451. package/dist/components/rtk-pip-toggle.js +1 -135
  452. package/dist/components/rtk-plugin-main.js +1 -6
  453. package/dist/components/rtk-plugins-toggle.js +1 -148
  454. package/dist/components/rtk-plugins.js +1 -6
  455. package/dist/components/rtk-poll-form.js +1 -6
  456. package/dist/components/rtk-poll.js +1 -6
  457. package/dist/components/rtk-polls-toggle.js +1 -160
  458. package/dist/components/rtk-polls.js +1 -6
  459. package/dist/components/rtk-recording-indicator.js +1 -96
  460. package/dist/components/rtk-recording-toggle.js +1 -203
  461. package/dist/components/rtk-screen-share-toggle.js +1 -317
  462. package/dist/components/rtk-screenshare-view.js +1 -194
  463. package/dist/components/rtk-settings-audio.js +1 -6
  464. package/dist/components/rtk-settings-toggle.js +1 -93
  465. package/dist/components/rtk-settings-video.js +1 -6
  466. package/dist/components/rtk-settings.js +1 -208
  467. package/dist/components/rtk-setup-screen.js +1 -215
  468. package/dist/components/rtk-sidebar-ui.js +1 -6
  469. package/dist/components/rtk-sidebar.js +1 -253
  470. package/dist/components/rtk-simple-grid.js +1 -149
  471. package/dist/components/rtk-speaker-selector.js +1 -6
  472. package/dist/components/rtk-spinner.js +1 -6
  473. package/dist/components/rtk-spotlight-grid.js +1 -135
  474. package/dist/components/rtk-spotlight-indicator.js +1 -6
  475. package/dist/components/rtk-stage-toggle.js +1 -195
  476. package/dist/components/rtk-stage.js +1 -61
  477. package/dist/components/rtk-switch.js +1 -6
  478. package/dist/components/rtk-tab-bar.js +1 -6
  479. package/dist/components/rtk-text-composer-view.js +1 -6
  480. package/dist/components/rtk-text-message-view.js +1 -6
  481. package/dist/components/rtk-text-message.js +1 -6
  482. package/dist/components/rtk-tooltip.js +1 -6
  483. package/dist/components/rtk-transcript.js +1 -6
  484. package/dist/components/rtk-transcripts.js +1 -199
  485. package/dist/components/rtk-ui-provider.js +1 -281
  486. package/dist/components/rtk-viewer-count.js +1 -6
  487. package/dist/components/rtk-virtualized-participant-list.js +1 -6
  488. package/dist/components/rtk-waiting-screen.js +1 -77
  489. package/dist/docs/docs-components.d.ts +37 -0
  490. package/dist/docs/docs-components.json +5693 -3069
  491. package/dist/docs/docs-vscode.json +78 -78
  492. package/dist/esm/ChatHead-BV_pLIJ6.js +9 -0
  493. package/dist/{components/p-1a950769.js → esm/TextMessage-DRvjfMBy.js} +9 -11
  494. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
  495. package/dist/esm/breakout-rooms-Daj_55_i.js +64 -0
  496. package/dist/esm/breakout-rooms-manager-B1Qky9zO.js +301 -0
  497. package/dist/esm/{chat-1107a64f.js → chat-Zou036qQ.js} +1 -1
  498. package/dist/{components/p-9f0c9162.js → esm/config-BYcrCEso.js} +5 -4
  499. package/dist/esm/debounce-BLQbB67V.js +657 -0
  500. package/dist/{components/p-1dca17d1.js → esm/debounce-BYqYBLuN.js} +4 -6
  501. package/dist/{components/p-47314bc7.js → esm/file-6Fkktc2w.js} +1 -1
  502. package/dist/esm/{floating-ui.dom.esm-78a1e61c.js → floating-ui.dom-B1SWgSTZ.js} +3 -310
  503. package/dist/esm/hark-Dwnntwzh.js +320 -0
  504. package/dist/{components/p-bd10fae6.js → esm/index-7w76SzJW.js} +2 -2
  505. package/dist/{components/p-88bd1053.js → esm/index-BUsisVB6.js} +22 -31
  506. package/dist/esm/{index-55463a54.js → index-gJCRRBX0.js} +1198 -549
  507. package/dist/esm/index.js +13 -10
  508. package/dist/esm/{init-error-ff5ead9a.js → init-error-DE1s0fDa.js} +10 -2
  509. package/dist/esm/livestream-C0vp-Q7v.js +73 -0
  510. package/dist/esm/loader.js +3630 -2785
  511. package/dist/{components/p-556de366.js → esm/merge-CiWMx7_3.js} +133 -15
  512. package/dist/{components/p-598b792e.js → esm/notification-DcR6dHfn.js} +1 -1
  513. package/dist/esm/realtimekit-ui.js +6 -5
  514. package/dist/esm/rtk-ai-toggle.entry.js +8 -7
  515. package/dist/esm/rtk-ai-transcriptions.entry.js +15 -12
  516. package/dist/esm/rtk-ai_3.entry.js +19 -15
  517. package/dist/esm/rtk-audio-grid.entry.js +12 -8
  518. package/dist/esm/rtk-audio-tile.entry.js +13 -8
  519. package/dist/esm/rtk-audio-visualizer_4.entry.js +26 -21
  520. package/dist/esm/rtk-avatar_26.entry.js +120 -119
  521. package/dist/esm/rtk-breakout-room-manager_3.entry.js +25 -17
  522. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +33 -34
  523. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +9 -7
  524. package/dist/esm/rtk-camera-selector_2.entry.js +20 -13
  525. package/dist/esm/rtk-camera-toggle.entry.js +8 -7
  526. package/dist/esm/rtk-caption-toggle.entry.js +11 -7
  527. package/dist/esm/rtk-chat-composer-ui.entry.js +9 -7
  528. package/dist/esm/rtk-chat-message.entry.js +8 -6
  529. package/dist/esm/rtk-chat-messages-ui.entry.js +16 -10
  530. package/dist/esm/rtk-chat-search-results.entry.js +8 -6
  531. package/dist/esm/rtk-chat-selector-ui.entry.js +9 -7
  532. package/dist/esm/rtk-chat-toggle.entry.js +16 -10
  533. package/dist/esm/rtk-clock.entry.js +11 -8
  534. package/dist/esm/rtk-controlbar-button.entry.js +5 -6
  535. package/dist/esm/rtk-controlbar.entry.js +9 -7
  536. package/dist/esm/rtk-debugger-audio_4.entry.js +42 -46
  537. package/dist/esm/rtk-debugger-toggle.entry.js +5 -6
  538. package/dist/esm/rtk-dialog-manager.entry.js +9 -8
  539. package/dist/esm/rtk-dialog.entry.js +5 -6
  540. package/dist/esm/rtk-ended-screen.entry.js +11 -7
  541. package/dist/esm/rtk-file-dropzone.entry.js +8 -6
  542. package/dist/esm/rtk-file-message_3.entry.js +11 -12
  543. package/dist/esm/rtk-fullscreen-toggle.entry.js +6 -7
  544. package/dist/esm/rtk-grid-pagination.entry.js +17 -13
  545. package/dist/esm/rtk-grid.entry.js +27 -16
  546. package/dist/esm/rtk-header.entry.js +9 -7
  547. package/dist/esm/rtk-idle-screen.entry.js +14 -8
  548. package/dist/esm/rtk-image-viewer.entry.js +7 -8
  549. package/dist/esm/rtk-information-tooltip.entry.js +8 -6
  550. package/dist/esm/rtk-leave-button.entry.js +5 -6
  551. package/dist/esm/rtk-livestream-indicator_3.entry.js +26 -35
  552. package/dist/esm/rtk-livestream-toggle.entry.js +9 -7
  553. package/dist/esm/rtk-logo.entry.js +14 -8
  554. package/dist/esm/rtk-meeting-title.entry.js +5 -6
  555. package/dist/esm/rtk-message-list-view.entry.js +12 -8
  556. package/dist/esm/rtk-mic-toggle.entry.js +8 -7
  557. package/dist/esm/rtk-mixed-grid.entry.js +16 -11
  558. package/dist/esm/rtk-more-toggle.entry.js +5 -6
  559. package/dist/esm/rtk-mute-all-button.entry.js +11 -7
  560. package/dist/esm/rtk-name-tag.entry.js +9 -8
  561. package/dist/esm/rtk-network-indicator.entry.js +11 -7
  562. package/dist/esm/rtk-notification.entry.js +13 -10
  563. package/dist/esm/rtk-notifications.entry.js +21 -13
  564. package/dist/esm/rtk-participant-count.entry.js +9 -7
  565. package/dist/esm/rtk-participant-setup.entry.js +14 -8
  566. package/dist/esm/rtk-participant_2.entry.js +24 -21
  567. package/dist/esm/rtk-participants-audio.entry.js +10 -8
  568. package/dist/esm/rtk-participants-stage-list_4.entry.js +33 -22
  569. package/dist/esm/rtk-participants-toggle.entry.js +16 -10
  570. package/dist/esm/rtk-participants.entry.js +15 -9
  571. package/dist/esm/rtk-pip-toggle.entry.js +11 -7
  572. package/dist/esm/rtk-plugin-main_2.entry.js +11 -11
  573. package/dist/esm/rtk-plugins-toggle.entry.js +16 -10
  574. package/dist/esm/rtk-poll_2.entry.js +8 -10
  575. package/dist/esm/rtk-polls-toggle.entry.js +16 -10
  576. package/dist/esm/rtk-recording-indicator.entry.js +8 -7
  577. package/dist/esm/rtk-recording-toggle.entry.js +8 -7
  578. package/dist/esm/rtk-screen-share-toggle.entry.js +8 -7
  579. package/dist/esm/rtk-screenshare-view.entry.js +9 -8
  580. package/dist/esm/rtk-settings-audio_2.entry.js +10 -10
  581. package/dist/esm/rtk-settings-toggle.entry.js +5 -6
  582. package/dist/esm/rtk-settings.entry.js +8 -7
  583. package/dist/esm/rtk-setup-screen.entry.js +11 -10
  584. package/dist/esm/rtk-sidebar-ui.entry.js +11 -7
  585. package/dist/esm/rtk-sidebar.entry.js +17 -11
  586. package/dist/esm/rtk-simple-grid.entry.js +11 -10
  587. package/dist/esm/rtk-spotlight-grid.entry.js +7 -8
  588. package/dist/esm/rtk-spotlight-indicator.entry.js +8 -7
  589. package/dist/esm/rtk-stage-toggle.entry.js +11 -7
  590. package/dist/esm/rtk-stage.entry.js +5 -6
  591. package/dist/esm/rtk-transcript.entry.js +8 -7
  592. package/dist/esm/rtk-transcripts.entry.js +14 -8
  593. package/dist/esm/rtk-ui-provider.entry.js +32 -18
  594. package/dist/esm/rtk-waiting-screen.entry.js +8 -6
  595. package/dist/{components/p-a3fc952e.js → esm/sidebar-B3trLKC3.js} +1 -1
  596. package/dist/{components/p-d5a12339.js → esm/ui-store-BtrgoOOT.js} +258 -762
  597. package/dist/realtimekit-ui/index.esm.js +1 -1
  598. package/dist/realtimekit-ui/p-04237239.entry.js +1 -0
  599. package/dist/realtimekit-ui/p-070294a1.entry.js +1 -0
  600. package/dist/realtimekit-ui/p-0d5719ea.entry.js +1 -0
  601. package/dist/realtimekit-ui/p-0fe1ced3.entry.js +1 -0
  602. package/dist/realtimekit-ui/p-105e4115.entry.js +1 -0
  603. package/dist/realtimekit-ui/{p-30fa04e9.entry.js → p-117f34c2.entry.js} +1 -1
  604. package/dist/realtimekit-ui/{p-069cc080.entry.js → p-149c0b9c.entry.js} +1 -1
  605. package/dist/realtimekit-ui/p-15d96f62.entry.js +1 -0
  606. package/dist/realtimekit-ui/p-16fe4fca.entry.js +1 -0
  607. package/dist/realtimekit-ui/p-17690ef8.entry.js +1 -0
  608. package/dist/realtimekit-ui/p-1ae8c9ea.entry.js +1 -0
  609. package/dist/realtimekit-ui/p-1f114cc0.entry.js +1 -0
  610. package/dist/realtimekit-ui/{p-d93b1e9c.entry.js → p-213b9942.entry.js} +1 -1
  611. package/dist/realtimekit-ui/p-243e3c22.entry.js +1 -0
  612. package/dist/realtimekit-ui/p-25374ae7.entry.js +1 -0
  613. package/dist/realtimekit-ui/{p-71a44776.entry.js → p-26ba0489.entry.js} +1 -1
  614. package/dist/realtimekit-ui/p-27dcaef7.entry.js +1 -0
  615. package/dist/realtimekit-ui/p-2906e52d.entry.js +1 -0
  616. package/dist/realtimekit-ui/{p-58b2f1a1.entry.js → p-2baa2443.entry.js} +1 -1
  617. package/dist/realtimekit-ui/p-2bd8f726.entry.js +1 -0
  618. package/dist/realtimekit-ui/p-2c5a9a4d.entry.js +1 -0
  619. package/dist/realtimekit-ui/p-2f438543.entry.js +1 -0
  620. package/dist/realtimekit-ui/{p-b5f0c31d.entry.js → p-34ebceb7.entry.js} +1 -1
  621. package/dist/realtimekit-ui/p-3df3b56b.entry.js +1 -0
  622. package/dist/realtimekit-ui/{p-03db9946.entry.js → p-3f297e22.entry.js} +1 -1
  623. package/dist/realtimekit-ui/p-405addc8.entry.js +1 -0
  624. package/dist/realtimekit-ui/p-450803e1.entry.js +1 -0
  625. package/dist/realtimekit-ui/p-49f22238.entry.js +1 -0
  626. package/dist/realtimekit-ui/{p-4b9450d3.entry.js → p-49feda1f.entry.js} +1 -1
  627. package/dist/realtimekit-ui/p-4c1b7ee2.entry.js +1 -0
  628. package/dist/realtimekit-ui/{p-234a709e.entry.js → p-4f264d60.entry.js} +1 -1
  629. package/dist/realtimekit-ui/{p-64b59d46.entry.js → p-560dcff9.entry.js} +1 -1
  630. package/dist/realtimekit-ui/p-56261662.entry.js +1 -0
  631. package/dist/realtimekit-ui/p-5a1918a1.entry.js +1 -0
  632. package/dist/realtimekit-ui/p-5bd05c88.entry.js +1 -0
  633. package/dist/realtimekit-ui/p-5c5ca185.entry.js +1 -0
  634. package/dist/realtimekit-ui/p-6092b383.entry.js +1 -0
  635. package/dist/realtimekit-ui/p-650339c3.entry.js +1 -0
  636. package/dist/realtimekit-ui/p-65c856c3.entry.js +1 -0
  637. package/dist/realtimekit-ui/p-69ddb3a9.entry.js +1 -0
  638. package/dist/realtimekit-ui/p-6bc7af7a.entry.js +1 -0
  639. package/dist/realtimekit-ui/p-73bd1b57.entry.js +1 -0
  640. package/dist/realtimekit-ui/p-768c3c20.entry.js +1 -0
  641. package/dist/realtimekit-ui/p-779bd93e.entry.js +1 -0
  642. package/dist/realtimekit-ui/{p-72461b1f.entry.js → p-7d4e36b0.entry.js} +1 -1
  643. package/dist/realtimekit-ui/{p-1b26c15d.entry.js → p-7ff08b19.entry.js} +1 -1
  644. package/dist/realtimekit-ui/p-836455f1.entry.js +1 -0
  645. package/dist/realtimekit-ui/p-8dcf542b.entry.js +1 -0
  646. package/dist/realtimekit-ui/{p-91795fd7.entry.js → p-9810aada.entry.js} +1 -1
  647. package/dist/realtimekit-ui/p-9b089f06.entry.js +1 -0
  648. package/dist/realtimekit-ui/p-9b93c273.entry.js +1 -0
  649. package/dist/realtimekit-ui/p-9c5cf5a3.entry.js +1 -0
  650. package/dist/realtimekit-ui/p-9cb3685c.entry.js +1 -0
  651. package/dist/realtimekit-ui/p-B1SWgSTZ.js +1 -0
  652. package/dist/realtimekit-ui/{p-7e3c2d64.js → p-BCaKYPpD.js} +1 -1
  653. package/dist/realtimekit-ui/p-BCuMxcZN.js +1 -0
  654. package/dist/realtimekit-ui/p-BFTU3MAI.js +1 -0
  655. package/dist/realtimekit-ui/p-BIplIdLH.js +1 -0
  656. package/dist/realtimekit-ui/p-BJvHNbaa.js +1 -0
  657. package/dist/realtimekit-ui/p-BSWYrdZA.js +1 -0
  658. package/dist/realtimekit-ui/p-BWNToYSb.js +1 -0
  659. package/dist/realtimekit-ui/p-Bbls2zyp.js +1 -0
  660. package/dist/realtimekit-ui/p-C0vp-Q7v.js +1 -0
  661. package/dist/realtimekit-ui/p-C5Ah4uY5.js +1 -0
  662. package/dist/realtimekit-ui/p-CAqYddlg.js +1 -0
  663. package/dist/realtimekit-ui/{p-eccb6d78.js → p-CTFO-5XH.js} +1 -1
  664. package/dist/realtimekit-ui/p-CmmyVCoN.js +1 -0
  665. package/dist/realtimekit-ui/p-CqWk07gT.js +1 -0
  666. package/dist/realtimekit-ui/p-D9HGXWKc.js +1 -0
  667. package/dist/realtimekit-ui/p-DE1s0fDa.js +1 -0
  668. package/dist/realtimekit-ui/p-Daj_55_i.js +1 -0
  669. package/dist/realtimekit-ui/p-Dg4b2aZr.js +1 -0
  670. package/dist/realtimekit-ui/p-DpAk_WQ6.js +1 -0
  671. package/dist/realtimekit-ui/p-DxDYE5-a.js +1 -0
  672. package/dist/realtimekit-ui/p-FdeAvICb.js +1 -0
  673. package/dist/realtimekit-ui/p-GSFejkz7.js +1 -0
  674. package/dist/realtimekit-ui/{p-3306b122.entry.js → p-a060fa07.entry.js} +1 -1
  675. package/dist/realtimekit-ui/{p-e0426f17.entry.js → p-a8b77530.entry.js} +1 -1
  676. package/dist/realtimekit-ui/p-ae94a77b.entry.js +1 -0
  677. package/dist/realtimekit-ui/p-b77aab62.entry.js +1 -0
  678. package/dist/realtimekit-ui/p-b81bfd1b.entry.js +1 -0
  679. package/dist/realtimekit-ui/p-bb7b542e.entry.js +1 -0
  680. package/dist/realtimekit-ui/p-c0fb33e4.entry.js +1 -0
  681. package/dist/realtimekit-ui/{p-88a01a0c.entry.js → p-c25c6602.entry.js} +1 -1
  682. package/dist/realtimekit-ui/p-c90deeae.entry.js +1 -0
  683. package/dist/realtimekit-ui/p-ce4105e5.entry.js +1 -0
  684. package/dist/realtimekit-ui/p-d0baf267.entry.js +1 -0
  685. package/dist/realtimekit-ui/p-d39bd2e9.entry.js +1 -0
  686. package/dist/realtimekit-ui/p-d5ccf7d6.entry.js +1 -0
  687. package/dist/realtimekit-ui/{p-b89873a4.entry.js → p-d75ea8a3.entry.js} +1 -1
  688. package/dist/realtimekit-ui/p-db957a5c.entry.js +1 -0
  689. package/dist/realtimekit-ui/{p-d4a2594a.entry.js → p-ddd3808d.entry.js} +1 -1
  690. package/dist/realtimekit-ui/p-e0837ae7.entry.js +1 -0
  691. package/dist/realtimekit-ui/p-e12de42e.entry.js +1 -0
  692. package/dist/realtimekit-ui/p-e2f9a4fc.entry.js +1 -0
  693. package/dist/realtimekit-ui/{p-20390946.entry.js → p-e5293ed6.entry.js} +1 -1
  694. package/dist/realtimekit-ui/p-e87aa0f9.entry.js +1 -0
  695. package/dist/realtimekit-ui/p-e8823daa.entry.js +1 -0
  696. package/dist/realtimekit-ui/p-f101d6f9.entry.js +1 -0
  697. package/dist/realtimekit-ui/p-f4c228c8.entry.js +1 -0
  698. package/dist/realtimekit-ui/p-f5688e34.entry.js +1 -0
  699. package/dist/realtimekit-ui/p-fb973221.entry.js +1 -0
  700. package/dist/realtimekit-ui/p-fcde019e.entry.js +1 -0
  701. package/dist/realtimekit-ui/p-fd29249a.entry.js +1 -0
  702. package/dist/realtimekit-ui/p-gJCRRBX0.js +2 -0
  703. package/dist/realtimekit-ui/p-jvwnrxra.js +1 -0
  704. package/dist/realtimekit-ui/p-t72veIFj.js +1 -0
  705. package/dist/realtimekit-ui/p-uIA60Puf.js +1 -0
  706. package/dist/realtimekit-ui/p-vBfDtD_u.js +1 -0
  707. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  708. package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -1
  709. package/dist/types/components.d.ts +1752 -255
  710. package/dist/types/stencil-public-runtime.d.ts +193 -12
  711. package/dist/types/utils/init-error.d.ts +6 -2
  712. package/dist/types/utils/livestream.d.ts +60 -0
  713. package/dist/types/utils/sync-with-store/ui-store.d.ts +1 -1
  714. package/package.json +2 -3
  715. package/dist/cjs/ChatHead-777e6a2d.js +0 -13
  716. package/dist/cjs/debounce-6080cc73.js +0 -544
  717. package/dist/cjs/hark-c97d0a59.js +0 -301
  718. package/dist/components/p-00568bea.js +0 -159
  719. package/dist/components/p-026049ee.js +0 -81
  720. package/dist/components/p-03e354cd.js +0 -82
  721. package/dist/components/p-04ac37d4.js +0 -69
  722. package/dist/components/p-0529c72c.js +0 -218
  723. package/dist/components/p-084f7d6c.js +0 -95
  724. package/dist/components/p-08e39399.js +0 -199
  725. package/dist/components/p-0db812c2.js +0 -189
  726. package/dist/components/p-0e02697c.js +0 -85
  727. package/dist/components/p-1a7dd46a.js +0 -390
  728. package/dist/components/p-1cb276df.js +0 -104
  729. package/dist/components/p-240d48d1.js +0 -96
  730. package/dist/components/p-278a613b.js +0 -115
  731. package/dist/components/p-29e60132.js +0 -437
  732. package/dist/components/p-2f2b07a1.js +0 -168
  733. package/dist/components/p-303a7f1f.js +0 -122
  734. package/dist/components/p-32b95100.js +0 -128
  735. package/dist/components/p-32f14b1a.js +0 -260
  736. package/dist/components/p-36ad7fe2.js +0 -98
  737. package/dist/components/p-38d22d57.js +0 -11
  738. package/dist/components/p-3ae130f7.js +0 -178
  739. package/dist/components/p-3e0452c4.js +0 -48
  740. package/dist/components/p-3eedb9db.js +0 -68
  741. package/dist/components/p-3f882e7c.js +0 -299
  742. package/dist/components/p-42c2e598.js +0 -103
  743. package/dist/components/p-4351785c.js +0 -103
  744. package/dist/components/p-467abb0c.js +0 -159
  745. package/dist/components/p-48b6fb95.js +0 -327
  746. package/dist/components/p-4e02ee0f.js +0 -131
  747. package/dist/components/p-51b6f520.js +0 -43
  748. package/dist/components/p-549ab58f.js +0 -108
  749. package/dist/components/p-5654365f.js +0 -94
  750. package/dist/components/p-592cd396.js +0 -105
  751. package/dist/components/p-5995471c.js +0 -125
  752. package/dist/components/p-5c55e43b.js +0 -115
  753. package/dist/components/p-5d3174d1.js +0 -127
  754. package/dist/components/p-632cbbe7.js +0 -164
  755. package/dist/components/p-695e5dc5.js +0 -223
  756. package/dist/components/p-6a0a1a25.js +0 -101
  757. package/dist/components/p-6bd3b29c.js +0 -97
  758. package/dist/components/p-6c6cefb0.js +0 -224
  759. package/dist/components/p-70c0c7ce.js +0 -179
  760. package/dist/components/p-78db5933.js +0 -92
  761. package/dist/components/p-7d8d9693.js +0 -119
  762. package/dist/components/p-8133c228.js +0 -79
  763. package/dist/components/p-82df4307.js +0 -114
  764. package/dist/components/p-84deab1d.js +0 -126
  765. package/dist/components/p-85587a5c.js +0 -50
  766. package/dist/components/p-92ac782c.js +0 -37205
  767. package/dist/components/p-95721bd2.js +0 -159
  768. package/dist/components/p-96be6716.js +0 -120
  769. package/dist/components/p-9c89d7b1.js +0 -131
  770. package/dist/components/p-9f5d24b0.js +0 -191
  771. package/dist/components/p-a0a863fa.js +0 -61
  772. package/dist/components/p-a3c85ced.js +0 -177
  773. package/dist/components/p-a6cf88b5.js +0 -146
  774. package/dist/components/p-a83ccdbd.js +0 -40
  775. package/dist/components/p-a9d577bb.js +0 -271
  776. package/dist/components/p-ab37c121.js +0 -181
  777. package/dist/components/p-ae373651.js +0 -4028
  778. package/dist/components/p-b1a93be0.js +0 -1945
  779. package/dist/components/p-b1a9a7c4.js +0 -214
  780. package/dist/components/p-b1aeb013.js +0 -113
  781. package/dist/components/p-b29d03cf.js +0 -77
  782. package/dist/components/p-b4068392.js +0 -60
  783. package/dist/components/p-b75297d7.js +0 -299
  784. package/dist/components/p-b98fd0eb.js +0 -102
  785. package/dist/components/p-bece0226.js +0 -141
  786. package/dist/components/p-bf64e0af.js +0 -76
  787. package/dist/components/p-c3c8f309.js +0 -127
  788. package/dist/components/p-c82e13b1.js +0 -92
  789. package/dist/components/p-c9f704c4.js +0 -349
  790. package/dist/components/p-cbdd7a99.js +0 -542
  791. package/dist/components/p-cedfbbd4.js +0 -105
  792. package/dist/components/p-cf1903b1.js +0 -60
  793. package/dist/components/p-cfa0b5c7.js +0 -26
  794. package/dist/components/p-d411c80b.js +0 -463
  795. package/dist/components/p-d48b4170.js +0 -159
  796. package/dist/components/p-d83124b1.js +0 -86
  797. package/dist/components/p-de0b23a0.js +0 -210
  798. package/dist/components/p-e0129657.js +0 -201
  799. package/dist/components/p-e8809896.js +0 -147
  800. package/dist/components/p-ea359bb7.js +0 -90
  801. package/dist/components/p-ea4aa3bf.js +0 -86
  802. package/dist/components/p-ed0fad6d.js +0 -166
  803. package/dist/components/p-efabd2ce.js +0 -58
  804. package/dist/components/p-f179a6ff.js +0 -80
  805. package/dist/components/p-f867ebba.js +0 -122
  806. package/dist/components/p-f9cbb223.js +0 -127
  807. package/dist/components/p-f9f08610.js +0 -157
  808. package/dist/esm/ChatHead-148558a8.js +0 -11
  809. package/dist/esm/ResizeObserver.es-02979d4e.js +0 -928
  810. package/dist/esm/TextMessage-0ab2db20.js +0 -67
  811. package/dist/esm/browser-24d8ab3e.js +0 -3
  812. package/dist/esm/config-f3f01b9a.js +0 -352
  813. package/dist/esm/date-b1f78dea.js +0 -32
  814. package/dist/esm/debounce-0169a54d.js +0 -542
  815. package/dist/esm/debounce-430cbf00.js +0 -329
  816. package/dist/esm/file-6114f1a9.js +0 -57
  817. package/dist/esm/full-screen-d36ffc68.js +0 -50
  818. package/dist/esm/grid-a3ca5a3e.js +0 -96
  819. package/dist/esm/hark-6327d91e.js +0 -299
  820. package/dist/esm/index-3f51790f.js +0 -224
  821. package/dist/esm/index-b81ca899.js +0 -92
  822. package/dist/esm/join-error-e87be64a.js +0 -29
  823. package/dist/esm/merge-201ecd5c.js +0 -820
  824. package/dist/esm/notification-1ebf7700.js +0 -37
  825. package/dist/esm/scroll-2d8e810c.js +0 -13
  826. package/dist/esm/sidebar-a13dc215.js +0 -49
  827. package/dist/esm/ui-store-1bc7abc6.js +0 -4033
  828. package/dist/realtimekit-ui/p-012cd22a.entry.js +0 -1
  829. package/dist/realtimekit-ui/p-026e8157.entry.js +0 -1
  830. package/dist/realtimekit-ui/p-083e53cc.entry.js +0 -1
  831. package/dist/realtimekit-ui/p-0bd95245.entry.js +0 -1
  832. package/dist/realtimekit-ui/p-1e19ef2c.entry.js +0 -1
  833. package/dist/realtimekit-ui/p-217dcd9f.entry.js +0 -1
  834. package/dist/realtimekit-ui/p-26ffb189.entry.js +0 -1
  835. package/dist/realtimekit-ui/p-3540d2b0.entry.js +0 -1
  836. package/dist/realtimekit-ui/p-3707f1e0.entry.js +0 -1
  837. package/dist/realtimekit-ui/p-39c48b22.entry.js +0 -1
  838. package/dist/realtimekit-ui/p-3f882e7c.js +0 -1
  839. package/dist/realtimekit-ui/p-41fa7b4f.js +0 -1
  840. package/dist/realtimekit-ui/p-44fb5d40.entry.js +0 -1
  841. package/dist/realtimekit-ui/p-4564c9ff.entry.js +0 -1
  842. package/dist/realtimekit-ui/p-4ec77793.js +0 -1
  843. package/dist/realtimekit-ui/p-548f72ee.entry.js +0 -1
  844. package/dist/realtimekit-ui/p-5564adad.entry.js +0 -1
  845. package/dist/realtimekit-ui/p-5623d82e.entry.js +0 -1
  846. package/dist/realtimekit-ui/p-5862bcba.entry.js +0 -1
  847. package/dist/realtimekit-ui/p-62c4d1ba.entry.js +0 -1
  848. package/dist/realtimekit-ui/p-667c84b1.js +0 -1
  849. package/dist/realtimekit-ui/p-6b177ee6.entry.js +0 -1
  850. package/dist/realtimekit-ui/p-6c9a2464.entry.js +0 -1
  851. package/dist/realtimekit-ui/p-7649168e.entry.js +0 -1
  852. package/dist/realtimekit-ui/p-76f87172.entry.js +0 -1
  853. package/dist/realtimekit-ui/p-79060698.entry.js +0 -1
  854. package/dist/realtimekit-ui/p-7bdd688b.entry.js +0 -1
  855. package/dist/realtimekit-ui/p-7e4a3510.entry.js +0 -1
  856. package/dist/realtimekit-ui/p-80be0156.entry.js +0 -1
  857. package/dist/realtimekit-ui/p-85818728.entry.js +0 -1
  858. package/dist/realtimekit-ui/p-873a645c.entry.js +0 -1
  859. package/dist/realtimekit-ui/p-8c971978.entry.js +0 -1
  860. package/dist/realtimekit-ui/p-8cc4f116.entry.js +0 -1
  861. package/dist/realtimekit-ui/p-8edfe6fa.entry.js +0 -1
  862. package/dist/realtimekit-ui/p-8fa0ea33.entry.js +0 -1
  863. package/dist/realtimekit-ui/p-91c8f9d1.entry.js +0 -1
  864. package/dist/realtimekit-ui/p-93f88675.entry.js +0 -1
  865. package/dist/realtimekit-ui/p-9727a165.js +0 -1
  866. package/dist/realtimekit-ui/p-a0471508.entry.js +0 -1
  867. package/dist/realtimekit-ui/p-a056fd35.entry.js +0 -1
  868. package/dist/realtimekit-ui/p-a2693bee.entry.js +0 -1
  869. package/dist/realtimekit-ui/p-a47c017b.entry.js +0 -1
  870. package/dist/realtimekit-ui/p-a599f720.js +0 -2
  871. package/dist/realtimekit-ui/p-a9ab826e.entry.js +0 -1
  872. package/dist/realtimekit-ui/p-ae0bb894.js +0 -1
  873. package/dist/realtimekit-ui/p-b1a93be0.js +0 -1
  874. package/dist/realtimekit-ui/p-b27886ff.entry.js +0 -1
  875. package/dist/realtimekit-ui/p-b3f1ad3b.entry.js +0 -1
  876. package/dist/realtimekit-ui/p-b86e3e01.entry.js +0 -1
  877. package/dist/realtimekit-ui/p-bde05d24.entry.js +0 -1
  878. package/dist/realtimekit-ui/p-c57e0778.entry.js +0 -1
  879. package/dist/realtimekit-ui/p-c6a8ef1e.entry.js +0 -1
  880. package/dist/realtimekit-ui/p-c8bc3bb1.entry.js +0 -1
  881. package/dist/realtimekit-ui/p-c8f7b427.entry.js +0 -1
  882. package/dist/realtimekit-ui/p-c9d62ba7.entry.js +0 -1
  883. package/dist/realtimekit-ui/p-cbdd7a99.js +0 -1
  884. package/dist/realtimekit-ui/p-cfa0b5c7.js +0 -1
  885. package/dist/realtimekit-ui/p-d0959773.entry.js +0 -1
  886. package/dist/realtimekit-ui/p-d59e0ecc.entry.js +0 -1
  887. package/dist/realtimekit-ui/p-d790f2be.entry.js +0 -1
  888. package/dist/realtimekit-ui/p-d7fd359f.entry.js +0 -1
  889. package/dist/realtimekit-ui/p-daf01d45.entry.js +0 -1
  890. package/dist/realtimekit-ui/p-db2a6aed.entry.js +0 -1
  891. package/dist/realtimekit-ui/p-de170ad4.entry.js +0 -1
  892. package/dist/realtimekit-ui/p-de31f5b0.entry.js +0 -1
  893. package/dist/realtimekit-ui/p-deaae495.entry.js +0 -1
  894. package/dist/realtimekit-ui/p-e59cc7d0.entry.js +0 -1
  895. package/dist/realtimekit-ui/p-ea03b1a0.entry.js +0 -1
  896. package/dist/realtimekit-ui/p-ede50497.entry.js +0 -1
  897. package/dist/realtimekit-ui/p-f47d4fe8.js +0 -1
  898. package/dist/realtimekit-ui/p-f52fdfb4.entry.js +0 -1
  899. package/dist/realtimekit-ui/p-fd80c28e.entry.js +0 -1
  900. package/dist/realtimekit-ui/p-ff971eea.entry.js +0 -1
  901. package/loader/package.json +0 -11
  902. /package/dist/cjs/{ResizeObserver.es-ba961f16.js → ResizeObserver.es-26EdCpEA.js} +0 -0
  903. /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
  904. /package/dist/cjs/{browser-5538db4d.js → browser-qKzDfwbO.js} +0 -0
  905. /package/dist/cjs/{date-61ffcd0a.js → date-CObAPgSZ.js} +0 -0
  906. /package/dist/cjs/{full-screen-b02d13dd.js → full-screen-BRlJJI9n.js} +0 -0
  907. /package/dist/cjs/{grid-edc342a7.js → grid-D_7WOWNI.js} +0 -0
  908. /package/dist/cjs/{join-error-c1eed98e.js → join-error-CZSJQxsP.js} +0 -0
  909. /package/dist/cjs/{scroll-c6404609.js → scroll-uQ4eWvC-.js} +0 -0
  910. /package/dist/cjs/{string-9bce3253.js → string-C1A6N-tA.js} +0 -0
  911. /package/dist/{realtimekit-ui/p-0752f2ba.js → components/p-BIplIdLH.js} +0 -0
  912. /package/dist/{realtimekit-ui/p-05186172.js → components/p-CAqYddlg.js} +0 -0
  913. /package/dist/{realtimekit-ui/p-b13ddb7d.js → components/p-CmmyVCoN.js} +0 -0
  914. /package/dist/{realtimekit-ui/p-3974d97a.js → components/p-GSFejkz7.js} +0 -0
  915. /package/dist/{realtimekit-ui/p-382270d8.js → components/p-jvwnrxra.js} +0 -0
  916. /package/dist/{realtimekit-ui/p-f7c2daba.js → components/p-vBfDtD_u.js} +0 -0
  917. /package/dist/{components/p-f47d4fe8.js → esm/ResizeObserver.es-FdeAvICb.js} +0 -0
  918. /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
  919. /package/dist/{components/p-05186172.js → esm/browser-CAqYddlg.js} +0 -0
  920. /package/dist/{components/p-382270d8.js → esm/date-jvwnrxra.js} +0 -0
  921. /package/dist/{components/p-3974d97a.js → esm/full-screen-GSFejkz7.js} +0 -0
  922. /package/dist/{components/p-b13ddb7d.js → esm/grid-CmmyVCoN.js} +0 -0
  923. /package/dist/{components/p-f7c2daba.js → esm/join-error-vBfDtD_u.js} +0 -0
  924. /package/dist/{components/p-0752f2ba.js → esm/scroll-BIplIdLH.js} +0 -0
  925. /package/dist/esm/{string-068ce30a.js → string-vBD2htwQ.js} +0 -0
  926. /package/dist/realtimekit-ui/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
  927. /package/dist/realtimekit-ui/{p-6f211c3e.js → p-vBD2htwQ.js} +0 -0
@@ -1,363 +1 @@
1
- import { p as proxyCustomElement, H, e as createEvent, w as writeTask, h, c as Host } from './p-ae373651.js';
2
- import { e as defaultIconPack, i as useLanguage } from './p-d5a12339.js';
3
- import { r as reverse, h as handleFilesDataTransfer, d as replyBlockPattern, e as extractReplyBlock, s as stripOutReplyBlock, M as MAX_TEXT_LENGTH } from './p-0db812c2.js';
4
- import { a as gracefulStorage } from './p-a83ccdbd.js';
5
- import { S as SyncWithStore } from './p-bd10fae6.js';
6
- import { d as defineCustomElement$7 } from './p-ea359bb7.js';
7
- import { d as defineCustomElement$6 } from './p-85587a5c.js';
8
- import { d as defineCustomElement$5 } from './p-32b95100.js';
9
- import { d as defineCustomElement$4 } from './p-3e0452c4.js';
10
- import { d as defineCustomElement$3 } from './p-cf1903b1.js';
11
- import { d as defineCustomElement$2 } from './p-bece0226.js';
12
-
13
- const rtkChatComposerUiCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.chat-input{position:relative;margin:var(--rtk-space-2, 8px);z-index:10;box-sizing:border-box;display:flex;flex-direction:column;border-radius:var(--rtk-border-radius-md, 8px);border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}textarea{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));box-sizing:border-box;padding:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}textarea::-moz-placeholder{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}textarea::placeholder{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}textarea{border-top-left-radius:var(--rtk-border-radius-md, 8px);border-top-right-radius:var(--rtk-border-radius-md, 8px);font-family:var(--rtk-font-family, sans-serif);outline:2px solid transparent;outline-offset:2px;resize:none;overflow-y:auto;border-width:var(--rtk-border-width-none, 0);border-style:none;min-height:60px;font-size:16px}.chat-buttons{border-bottom-right-radius:var(--rtk-border-radius-md, 8px);border-bottom-left-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));display:flex;height:var(--rtk-space-8, 32px);align-items:center;justify-content:space-between;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}.chat-buttons .left rtk-button{margin-right:var(--rtk-space-1, 4px)}.chat-buttons .left rtk-button rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.chat-buttons .right{z-index:10}.chat-buttons .right .edit-buttons{display:flex;gap:var(--rtk-space-2, 8px)}.chat-buttons>div{display:flex;align-items:center}rtk-emoji-picker{z-index:0;position:absolute;bottom:var(--rtk-space-32, 128px);border-top:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));animation:0.3s slide-up ease}@keyframes slide-up{from{transform:translateY(100%)}to{transform:translateY(0%)}}.member-list{margin:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-1, 4px);max-height:var(--rtk-space-28, 112px);min-width:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);padding:var(--rtk-space-0, 0px);position:absolute;bottom:var(--rtk-space-28, 112px);list-style-type:none;overflow-y:auto;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-sm, 4px);--tw-border-spacing-x:var(--rtk-space-2, 8px);--tw-border-spacing-y:var(--rtk-space-2, 8px);border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-style:solid;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.member-list .member{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-4, 16px);cursor:pointer}.member-list .member rtk-avatar{flex-shrink:0;height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);font-size:14px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.member-list .member span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-list .member:hover,.member-list .member.selected{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-700, 2 70 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.suggested-replies{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-3, 12px);display:flex;flex-wrap:nowrap;gap:var(--rtk-space-2, 8px);list-style-type:none;overflow-x:auto}.suggested-replies rtk-tooltip{flex-shrink:0}.suggested-replies li{padding:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-md, 8px);background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.75);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));cursor:pointer}.suggested-replies li:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity))}.preview-overlay{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-md, 8px)}.file-preview{position:absolute;top:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);max-width:-moz-fit-content;max-width:fit-content;max-height:var(--rtk-space-20, 80px)}.file-preview:hover rtk-tooltip{display:block}.file-preview rtk-tooltip{position:absolute;top:calc(var(--rtk-space-1, 4px) * -1);left:calc(var(--rtk-space-1, 4px) * -1);display:none;margin-left:calc(var(--rtk-space-1, 4px) * -1);margin-top:calc(var(--rtk-space-1, 4px) * -1)}.file-preview rtk-button{display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));border:1px solid rgb(var(--rtk-colors-text-1000, 255 255 255))}.file-preview rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.preview-image{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);-o-object-fit:cover;object-fit:cover;max-height:100%;max-width:100%;overflow:clip;border-radius:var(--rtk-border-radius-md, 8px)}.preview-file{padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--rtk-border-radius-md, 8px);max-width:200px}@keyframes scroll-text{0%{transform:translateX(0%)}70%{transform:translateX(-100%)}80%{transform:translateX(0%)}100%{transform:translateX(0%)}}";
14
- const RtkChatComposerUiStyle0 = rtkChatComposerUiCss;
15
-
16
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
17
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
18
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
19
- r = Reflect.decorate(decorators, target, key, desc);
20
- else
21
- for (var i = decorators.length - 1; i >= 0; i--)
22
- if (d = decorators[i])
23
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
24
- return c > 3 && r && Object.defineProperty(target, key, r), r;
25
- };
26
- const MENTION_CHAR = '@';
27
- const RtkChatComposerUi$1 = /*@__PURE__*/ proxyCustomElement(class RtkChatComposerUi extends H {
28
- constructor() {
29
- super();
30
- this.__registerHost();
31
- this.__attachShadow();
32
- this.onNewMessage = createEvent(this, "rtkNewMessage", 7);
33
- this.onEditMessage = createEvent(this, "rtkEditMessage", 7);
34
- this.onEditCancelled = createEvent(this, "rtkEditCancelled", 7);
35
- /** Whether user can send text messages */
36
- this.canSendTextMessage = false;
37
- /** Whether user can send file messages */
38
- this.canSendFiles = false;
39
- /** Icon pack */
40
- this.iconPack = defaultIconPack;
41
- /** Language */
42
- this.t = useLanguage();
43
- /** Whether to show emoji picker */
44
- this.disableEmojiPicker = false;
45
- /** prefill the composer */
46
- this.prefill = {};
47
- /** list of members that can be mentioned */
48
- this.members = [];
49
- this.emojiPickerActive = false;
50
- this.mentionQuery = '';
51
- this.focusedMemberIndex = 0;
52
- this.filePreview = null;
53
- this.fileReader = new FileReader();
54
- this.fileToUpload = null;
55
- this.handleKeyDown = (e) => {
56
- if (e.key === MENTION_CHAR && [undefined, ' '].includes(this.$textArea.value.at(-1))) {
57
- // [undefined, ' '] checks if mention is start of text or start of new word
58
- this.mentionQuery = MENTION_CHAR;
59
- }
60
- if (e.key === 'ArrowDown') {
61
- this.focusedMemberIndex = Math.min(this.focusedMemberIndex + 1, this.getFilteredMembers().length - 1);
62
- }
63
- if (e.key === 'ArrowUp') {
64
- this.focusedMemberIndex = Math.max(0, this.focusedMemberIndex - 1);
65
- }
66
- if (e.key === 'Escape' || (e.key === 'Backspace' && this.mentionQuery === MENTION_CHAR)) {
67
- this.mentionQuery = '';
68
- }
69
- if (['Enter', 'Tab', ' '].includes(e.key) && this.mentionQuery !== '') {
70
- const member = this.getFilteredMembers()[this.focusedMemberIndex];
71
- this.onMemberSelect(member);
72
- e.preventDefault();
73
- return;
74
- }
75
- // slack like typing experience
76
- if (e.key === 'Enter' && e.shiftKey) {
77
- const height = this.$textArea.clientHeight;
78
- if (height < 200) {
79
- this.$textArea.style.height = this.$textArea.clientHeight + 20 + 'px';
80
- }
81
- }
82
- else if (e.key === 'Enter') {
83
- e.preventDefault();
84
- if (this.prefill.editMessage) {
85
- this.handleEditMessage();
86
- }
87
- else {
88
- this.handleSendMessage();
89
- }
90
- }
91
- else if (e.key === 'Backspace') {
92
- if (this.$textArea.value.endsWith('\n')) {
93
- this.$textArea.style.height = this.$textArea.clientHeight - 20 + 'px';
94
- }
95
- else if (this.$textArea.value === '') {
96
- this.$textArea.style.height = 'auto';
97
- }
98
- }
99
- };
100
- this.handleKeyUp = (_e) => {
101
- if (this.mentionQuery !== '') {
102
- const reversed = reverse(this.$textArea.value.trim());
103
- const query = reversed.substring(0, reversed.indexOf(MENTION_CHAR));
104
- this.mentionQuery = `${MENTION_CHAR}${reverse(query)}`;
105
- }
106
- };
107
- this.onPaste = (e) => {
108
- const data = e.clipboardData || e.originalEvent.clipboardData;
109
- writeTask(() => {
110
- if (data && data.items && data.items.length > 0) {
111
- handleFilesDataTransfer(data.items, this.generateFilePreview);
112
- this.$textArea.value = '';
113
- }
114
- });
115
- };
116
- this.generateFilePreview = (type, file) => {
117
- this.fileToUpload = { type, image: file, file };
118
- if (type === 'image') {
119
- this.fileReader.readAsDataURL(file);
120
- }
121
- else if (type === 'file') {
122
- this.filePreview = file.name;
123
- }
124
- };
125
- this.sendFile = () => {
126
- if (!this.canSendFiles) {
127
- return;
128
- }
129
- if (this.fileToUpload.type === 'image') {
130
- this.onNewMessage.emit({
131
- type: 'image',
132
- file: this.fileToUpload.image,
133
- image: this.fileToUpload.image,
134
- });
135
- }
136
- else {
137
- this.onNewMessage.emit({ type: 'file', file: this.fileToUpload.file });
138
- }
139
- this.cleanUpFileUpload();
140
- };
141
- this.handleSendMessage = () => {
142
- if (!this.canSendTextMessage) {
143
- return;
144
- }
145
- if (this.fileToUpload !== null) {
146
- this.sendFile();
147
- return;
148
- }
149
- const message = this.$textArea.value.trim();
150
- if (message.length > 0) {
151
- if (this.prefill.replyMessage) {
152
- this.onNewMessage.emit({
153
- type: 'text',
154
- message,
155
- replyTo: this.prefill.replyMessage,
156
- });
157
- }
158
- else {
159
- this.onNewMessage.emit({ type: 'text', message });
160
- }
161
- this.cleanup();
162
- }
163
- };
164
- this.cleanup = () => {
165
- this.mentionQuery = '';
166
- this.focusedMemberIndex = 0;
167
- this.$textArea.value = '';
168
- this.$textArea.style.height = 'auto';
169
- gracefulStorage.setItem(this.storageKey, '');
170
- };
171
- this.handleEditMessage = () => {
172
- var _a;
173
- let editedMessage = this.$textArea.value.trim();
174
- if (((_a = this.prefill.editMessage) === null || _a === void 0 ? void 0 : _a.message) &&
175
- replyBlockPattern.test(this.prefill.editMessage.message)) {
176
- // add back the reply block which we stripped out for editing
177
- const replyBlock = extractReplyBlock(this.prefill.editMessage.message);
178
- editedMessage = `${replyBlock}\n\n${editedMessage}`;
179
- }
180
- this.onEditMessage.emit({
181
- id: this.prefill.editMessage.id,
182
- message: editedMessage,
183
- });
184
- this.cleanup();
185
- };
186
- this.handleEditCancel = () => {
187
- this.onEditCancelled.emit();
188
- this.cleanup();
189
- };
190
- this.initializeTextField = (el) => {
191
- this.$textArea = el;
192
- const message = gracefulStorage.getItem(this.storageKey) || '';
193
- this.$textArea.value = message;
194
- };
195
- this.onMemberSelect = (member) => {
196
- const reversedQuery = reverse(this.mentionQuery);
197
- const reversed = reverse(this.$textArea.value.trim()).replace(reversedQuery, '');
198
- this.$textArea.value = reverse(reversed) + `${MENTION_CHAR}${member.name} `;
199
- this.mentionQuery = '';
200
- this.focusedMemberIndex = 0;
201
- writeTask(() => this.$textArea.focus());
202
- };
203
- this.getFilteredMembers = () => {
204
- const query = this.mentionQuery.replace(MENTION_CHAR, '');
205
- return this.members.filter((member) => member.name.toLowerCase().includes(query.toLowerCase()));
206
- };
207
- this.cleanUpFileUpload = () => {
208
- this.filePreview = null;
209
- this.fileToUpload = null;
210
- };
211
- this.renderSuggestedReplies = () => {
212
- if (!this.prefill.suggestedReplies)
213
- return;
214
- if (this.prefill.suggestedReplies.length === 0)
215
- return;
216
- return (h("ul", { class: "suggested-replies scrollbar" }, this.prefill.suggestedReplies.map((reply) => (h("rtk-tooltip", { label: this.t('chat.click_to_send') }, h("li", { onClick: () => this.onNewMessage.emit({ type: 'text', message: reply }) }, reply))))));
217
- };
218
- this.renderMenu = () => {
219
- if (this.mentionQuery.length === 0)
220
- return;
221
- const filteredMembers = this.getFilteredMembers();
222
- if (filteredMembers.length === 0)
223
- return;
224
- return (h("ul", { class: "member-list scrollbar" }, filteredMembers.map((member, index) => (h("li", { class: { member: true, selected: index === this.focusedMemberIndex }, onClick: () => this.onMemberSelect(member), ref: ($li) => {
225
- if (index === this.focusedMemberIndex) {
226
- writeTask(() => {
227
- if ($li)
228
- $li.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'nearest' });
229
- });
230
- }
231
- } }, h("rtk-avatar", { participant: {
232
- name: member.name,
233
- picture: member.picture,
234
- }, size: "sm" }), h("span", null, member.name))))));
235
- };
236
- }
237
- connectedCallback() {
238
- this.fileReader.onload = (e) => {
239
- if (typeof e.target.result === 'string') {
240
- this.filePreview = e.target.result;
241
- }
242
- };
243
- // this.fileReader.onloadstart = () => {};
244
- // this.fileReader.onloadend = () => {};
245
- }
246
- componentDidRender() {
247
- if (this.prefill.editMessage || this.prefill.replyMessage) {
248
- writeTask(() => this.$textArea.focus());
249
- }
250
- }
251
- get storageKey() {
252
- return 'rtk-text-message';
253
- }
254
- uploadFile(type) {
255
- const input = document.createElement('input');
256
- input.type = 'file';
257
- if (type === 'image') {
258
- input.accept = 'image/*';
259
- }
260
- input.onchange = (e) => {
261
- const { validity, files: [file], } = e.target;
262
- if (validity.valid) {
263
- this.generateFilePreview(type, file);
264
- }
265
- };
266
- input.click();
267
- }
268
- renderFilePreview() {
269
- if (typeof this.filePreview !== 'string')
270
- return;
271
- return (h("div", { class: "preview-overlay" }, h("div", { class: "file-preview" }, h("rtk-tooltip", { label: this.t('chat.cancel_upload') }, h("rtk-button", { variant: "secondary", kind: "icon", onClick: this.cleanUpFileUpload }, h("rtk-icon", { icon: this.iconPack.dismiss }))), this.fileToUpload.type === 'image' ? (h("img", { class: "preview-image", src: this.filePreview })) : (h("div", { class: "preview-file" }, h("span", null, this.filePreview))))));
272
- }
273
- render() {
274
- var _a;
275
- let defaultValue = '';
276
- if ((_a = this.prefill.editMessage) === null || _a === void 0 ? void 0 : _a.message) {
277
- defaultValue = stripOutReplyBlock(this.prefill.editMessage.message);
278
- }
279
- return (h(Host, { key: 'c1bbf529244184de2062ddb50b40a918fe6b89f0' }, this.canSendTextMessage && this.emojiPickerActive && (h("rtk-emoji-picker", { key: '62c92f177bdf7ff725a345efd948fbd07e58efda', part: "emoji-picker", onPickerClose: () => {
280
- this.emojiPickerActive = false;
281
- }, onRtkEmojiClicked: (e) => {
282
- this.$textArea.value += e.detail;
283
- this.$textArea.focus();
284
- }, t: this.t })), this.renderSuggestedReplies(), h("slot", { key: '02f70148bdae1f9e3b9fc60d088c59f85af68880', name: "chat-addon" }), h("slot", { key: '0ac47b719d6c39807076f86bcd0fe4fb9b75fcd5', name: "quote-block" }), h("div", { key: 'e88db8097f1615f62235c41262700c0c11bc0453', class: "chat-input", part: "chat-input" }, this.renderMenu(), this.canSendTextMessage && (h("textarea", { key: 'f1aa0c834b37e25a7e3093d10b6ad4531d58c0e8', class: "scrollbar", part: "textarea", ref: this.initializeTextField, autoFocus: true, placeholder: this.fileToUpload ? '' : this.t('chat.message_placeholder'), value: defaultValue, onPaste: this.onPaste, maxLength: MAX_TEXT_LENGTH, onKeyDown: this.handleKeyDown, onKeyUp: this.handleKeyUp, onInput: (e) => {
285
- gracefulStorage.setItem(this.storageKey, e.target.value);
286
- }, disabled: !!this.filePreview })), h("div", { key: '724a8e40a0384c4f11efca4d7abf081b110a7c9f', class: "chat-buttons", part: "chat-buttons" }, h("div", { key: '028b74f93d7b8ba1964460ea80ed4c63d56e5146', class: "left", part: "chat-buttons-left" }, !this.prefill.editMessage &&
287
- this.canSendFiles && [
288
- h("rtk-tooltip", { key: 'e4b0edc4f6a0f8f8b91ec4925dbd661c3e3b1a32', label: this.t('chat.send_file') }, h("rtk-button", { key: '53f030c9720362995342eb1959da07136c44724b', variant: "ghost", kind: "icon", onClick: () => this.uploadFile('file'), title: this.t('chat.send_file') }, h("rtk-icon", { key: '51bf45a1074886452e1c7d6ca80d8b5f9e7a61ba', icon: this.iconPack.attach }))),
289
- h("rtk-tooltip", { key: 'd20a53b034f312ced9d7f5441da7574100cbb6e7', label: this.t('chat.send_img') }, h("rtk-button", { key: '822413ff8636a33d2d70c7d10412a0ff5d043d86', variant: "ghost", kind: "icon", onClick: () => this.uploadFile('image'), title: this.t('chat.send_img') }, h("rtk-icon", { key: 'af60e5ec42253e7780af31bc5f2fb9ad00ad6245', icon: this.iconPack.image }))),
290
- ], !this.prefill.editMessage && this.canSendTextMessage && !this.disableEmojiPicker && (h("rtk-tooltip", { key: '665bb180737c220297a9394f582ddd8d57135ed4', label: this.t('chat.send_emoji') }, h("rtk-button", { key: '6550bd345555644e89a501df5838452206ea9c55', variant: "ghost", kind: "icon", class: { active: this.emojiPickerActive }, title: this.t('chat.send_emoji'), onClick: () => {
291
- this.emojiPickerActive = !this.emojiPickerActive;
292
- } }, h("rtk-icon", { key: '4ee0c02bf3efc309a58db7be0f51545d6d346a9c', icon: this.iconPack.emoji_multiple }))))), !!this.filePreview && this.renderFilePreview(), this.canSendTextMessage && (h("div", { key: 'a7d3f27cbe43f591363d1ffd8858f30d457e6629', class: "right", part: "chat-buttons-right" }, !this.prefill.editMessage && (h("rtk-tooltip", { key: '57fc69e04c29b54cfb8510914659f0b94c3944eb', variant: "primary", label: this.t('chat.send_msg'), delay: 2000 }, h("rtk-button", { key: '949e480cc2a243265f1268aff6396cd9bda20b03', kind: "icon", onClick: () => this.handleSendMessage(), title: this.t('chat.send_msg') }, h("rtk-icon", { key: '8fe5bc5391bef475805c86ab3fec94690bd71dfd', icon: this.iconPack.send })))), this.prefill.editMessage && (h("div", { key: '3e87dae17dcac9be10a20fe15252756d496bf924', class: "edit-buttons" }, h("rtk-tooltip", { key: '201e7b44dc8a40cfc94bb299448a1e89c972ea92', variant: "secondary", label: this.t('cancel'), delay: 2000 }, h("rtk-button", { key: '64d5dc9e41bc87a654c760c709b7b7d378f28141', kind: "icon", variant: "secondary", onClick: () => this.handleEditCancel(), title: this.t('cancel') }, h("rtk-icon", { key: '7e75e511da878e45f88b75c2f23a855a8c191b9b', icon: this.iconPack.dismiss }))), h("rtk-tooltip", { key: 'df6284b88ac9651d5cb1c736b92fb929ee5795a1', variant: "primary", label: this.t('chat.update_msg'), delay: 2000 }, h("rtk-button", { key: 'c6b375320d193ccbf6658aa040302453ae361f91', kind: "icon", onClick: () => this.handleEditMessage(), title: this.t('chat.send_msg') }, h("rtk-icon", { key: 'f047153809bc154526364f2e9a903449f83f51a9', icon: this.iconPack.checkmark })))))))))));
293
- }
294
- static get style() { return RtkChatComposerUiStyle0; }
295
- }, [1, "rtk-chat-composer-ui", {
296
- "canSendTextMessage": [4, "can-send-text-message"],
297
- "canSendFiles": [4, "can-send-files"],
298
- "size": [513],
299
- "iconPack": [16],
300
- "t": [16],
301
- "disableEmojiPicker": [4, "disable-emoji-picker"],
302
- "prefill": [16],
303
- "members": [16],
304
- "emojiPickerActive": [32],
305
- "mentionQuery": [32],
306
- "focusedMemberIndex": [32],
307
- "filePreview": [32]
308
- }]);
309
- __decorate([
310
- SyncWithStore()
311
- ], RtkChatComposerUi$1.prototype, "iconPack", void 0);
312
- __decorate([
313
- SyncWithStore()
314
- ], RtkChatComposerUi$1.prototype, "t", void 0);
315
- function defineCustomElement$1() {
316
- if (typeof customElements === "undefined") {
317
- return;
318
- }
319
- const components = ["rtk-chat-composer-ui", "rtk-avatar", "rtk-button", "rtk-emoji-picker", "rtk-icon", "rtk-spinner", "rtk-tooltip"];
320
- components.forEach(tagName => { switch (tagName) {
321
- case "rtk-chat-composer-ui":
322
- if (!customElements.get(tagName)) {
323
- customElements.define(tagName, RtkChatComposerUi$1);
324
- }
325
- break;
326
- case "rtk-avatar":
327
- if (!customElements.get(tagName)) {
328
- defineCustomElement$7();
329
- }
330
- break;
331
- case "rtk-button":
332
- if (!customElements.get(tagName)) {
333
- defineCustomElement$6();
334
- }
335
- break;
336
- case "rtk-emoji-picker":
337
- if (!customElements.get(tagName)) {
338
- defineCustomElement$5();
339
- }
340
- break;
341
- case "rtk-icon":
342
- if (!customElements.get(tagName)) {
343
- defineCustomElement$4();
344
- }
345
- break;
346
- case "rtk-spinner":
347
- if (!customElements.get(tagName)) {
348
- defineCustomElement$3();
349
- }
350
- break;
351
- case "rtk-tooltip":
352
- if (!customElements.get(tagName)) {
353
- defineCustomElement$2();
354
- }
355
- break;
356
- } });
357
- }
358
- defineCustomElement$1();
359
-
360
- const RtkChatComposerUi = RtkChatComposerUi$1;
361
- const defineCustomElement = defineCustomElement$1;
362
-
363
- export { RtkChatComposerUi, defineCustomElement };
1
+ import{p as t,H as r,c as e,w as a,h as i,d as s,t as o}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{e as c,i as n}from"./p-De8YQHVd.js";import{r as l,h as d,d as p,e as h,s as b,M as k}from"./p-Bj1kNPpe.js";import{g as f}from"./p-Dguuxuf6.js";import{S as v}from"./p-CphAED3J.js";import{d as m}from"./p-DEOaS443.js";import{d as g}from"./p-D6vw6bT2.js";import{d as u}from"./p-BJKSFJeB.js";import{d as x}from"./p-BYIBbfJ8.js";import{d as y}from"./p-BoGbJ5PX.js";import{d as w}from"./p-DHSRRtn3.js";var j=function(t,r,e,a){var i,s=arguments.length,o=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,e,a);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(o=(s<3?i(o):s>3?i(r,e,o):i(r,e))||o);return s>3&&o&&Object.defineProperty(r,e,o),o};const E="@",C=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.onNewMessage=e(this,"rtkNewMessage",7),this.onEditMessage=e(this,"rtkEditMessage",7),this.onEditCancelled=e(this,"rtkEditCancelled",7),this.canSendTextMessage=!1,this.canSendFiles=!1,this.iconPack=c,this.t=n(),this.disableEmojiPicker=!1,this.prefill={},this.members=[],this.emojiPickerActive=!1,this.mentionQuery="",this.focusedMemberIndex=0,this.filePreview=null,this.fileReader=new FileReader,this.fileToUpload=null,this.handleKeyDown=t=>{if(t.key===E&&[void 0," "].includes(this.$textArea.value.at(-1))&&(this.mentionQuery=E),"ArrowDown"===t.key&&(this.focusedMemberIndex=Math.min(this.focusedMemberIndex+1,this.getFilteredMembers().length-1)),"ArrowUp"===t.key&&(this.focusedMemberIndex=Math.max(0,this.focusedMemberIndex-1)),("Escape"===t.key||"Backspace"===t.key&&this.mentionQuery===E)&&(this.mentionQuery=""),["Enter","Tab"," "].includes(t.key)&&""!==this.mentionQuery){const r=this.getFilteredMembers()[this.focusedMemberIndex];return this.onMemberSelect(r),void t.preventDefault()}"Enter"===t.key&&t.shiftKey?this.$textArea.clientHeight<200&&(this.$textArea.style.height=this.$textArea.clientHeight+20+"px"):"Enter"===t.key?(t.preventDefault(),this.prefill.editMessage?this.handleEditMessage():this.handleSendMessage()):"Backspace"===t.key&&(this.$textArea.value.endsWith("\n")?this.$textArea.style.height=this.$textArea.clientHeight-20+"px":""===this.$textArea.value&&(this.$textArea.style.height="auto"))},this.handleKeyUp=()=>{if(""!==this.mentionQuery){const t=l(this.$textArea.value.trim()),r=t.substring(0,t.indexOf(E));this.mentionQuery=`${E}${l(r)}`}},this.onPaste=t=>{const r=t.clipboardData||t.originalEvent.clipboardData;a((()=>{r&&r.items&&r.items.length>0&&(d(r.items,this.generateFilePreview),this.$textArea.value="")}))},this.generateFilePreview=(t,r)=>{this.fileToUpload={type:t,image:r,file:r},"image"===t?this.fileReader.readAsDataURL(r):"file"===t&&(this.filePreview=r.name)},this.sendFile=()=>{this.canSendFiles&&(this.onNewMessage.emit("image"===this.fileToUpload.type?{type:"image",file:this.fileToUpload.image,image:this.fileToUpload.image}:{type:"file",file:this.fileToUpload.file}),this.cleanUpFileUpload())},this.handleSendMessage=()=>{if(!this.canSendTextMessage)return;if(null!==this.fileToUpload)return void this.sendFile();const t=this.$textArea.value.trim();t.length>0&&(this.onNewMessage.emit(this.prefill.replyMessage?{type:"text",message:t,replyTo:this.prefill.replyMessage}:{type:"text",message:t}),this.cleanup())},this.cleanup=()=>{this.mentionQuery="",this.focusedMemberIndex=0,this.$textArea.value="",this.$textArea.style.height="auto",f.setItem(this.storageKey,"")},this.handleEditMessage=()=>{var t;let r=this.$textArea.value.trim();(null===(t=this.prefill.editMessage)||void 0===t?void 0:t.message)&&p.test(this.prefill.editMessage.message)&&(r=`${h(this.prefill.editMessage.message)}\n\n${r}`),this.onEditMessage.emit({id:this.prefill.editMessage.id,message:r}),this.cleanup()},this.handleEditCancel=()=>{this.onEditCancelled.emit(),this.cleanup()},this.initializeTextField=t=>{this.$textArea=t;const r=f.getItem(this.storageKey)||"";this.$textArea.value=r},this.onMemberSelect=t=>{const r=l(this.mentionQuery),e=l(this.$textArea.value.trim()).replace(r,"");this.$textArea.value=l(e)+`${E}${t.name} `,this.mentionQuery="",this.focusedMemberIndex=0,a((()=>this.$textArea.focus()))},this.getFilteredMembers=()=>{const t=this.mentionQuery.replace(E,"");return this.members.filter((r=>r.name.toLowerCase().includes(t.toLowerCase())))},this.cleanUpFileUpload=()=>{this.filePreview=null,this.fileToUpload=null},this.renderSuggestedReplies=()=>{if(this.prefill.suggestedReplies&&0!==this.prefill.suggestedReplies.length)return i("ul",{class:"suggested-replies scrollbar"},this.prefill.suggestedReplies.map((t=>i("rtk-tooltip",{label:this.t("chat.click_to_send")},i("li",{onClick:()=>this.onNewMessage.emit({type:"text",message:t})},t)))))},this.renderMenu=()=>{if(0===this.mentionQuery.length)return;const t=this.getFilteredMembers();return 0!==t.length?i("ul",{class:"member-list scrollbar"},t.map(((t,r)=>i("li",{class:{member:!0,selected:r===this.focusedMemberIndex},onClick:()=>this.onMemberSelect(t),ref:t=>{r===this.focusedMemberIndex&&a((()=>{t&&t.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}))}},i("rtk-avatar",{participant:{name:t.name,picture:t.picture},size:"sm"}),i("span",null,t.name))))):void 0}}connectedCallback(){this.fileReader.onload=t=>{"string"==typeof t.target.result&&(this.filePreview=t.target.result)}}componentDidRender(){(this.prefill.editMessage||this.prefill.replyMessage)&&a((()=>this.$textArea.focus()))}get storageKey(){return"rtk-text-message"}uploadFile(t){const r=document.createElement("input");r.type="file","image"===t&&(r.accept="image/*"),r.onchange=r=>{const{validity:e,files:[a]}=r.target;e.valid&&this.generateFilePreview(t,a)},r.click()}renderFilePreview(){if("string"==typeof this.filePreview)return i("div",{class:"preview-overlay"},i("div",{class:"file-preview"},i("rtk-tooltip",{label:this.t("chat.cancel_upload")},i("rtk-button",{variant:"secondary",kind:"icon",onClick:this.cleanUpFileUpload},i("rtk-icon",{icon:this.iconPack.dismiss}))),"image"===this.fileToUpload.type?i("img",{class:"preview-image",src:this.filePreview}):i("div",{class:"preview-file"},i("span",null,this.filePreview))))}render(){var t;let r="";return(null===(t=this.prefill.editMessage)||void 0===t?void 0:t.message)&&(r=b(this.prefill.editMessage.message)),i(s,{key:"c1bbf529244184de2062ddb50b40a918fe6b89f0"},this.canSendTextMessage&&this.emojiPickerActive&&i("rtk-emoji-picker",{key:"62c92f177bdf7ff725a345efd948fbd07e58efda",part:"emoji-picker",onPickerClose:()=>{this.emojiPickerActive=!1},onRtkEmojiClicked:t=>{this.$textArea.value+=t.detail,this.$textArea.focus()},t:this.t}),this.renderSuggestedReplies(),i("slot",{key:"02f70148bdae1f9e3b9fc60d088c59f85af68880",name:"chat-addon"}),i("slot",{key:"0ac47b719d6c39807076f86bcd0fe4fb9b75fcd5",name:"quote-block"}),i("div",{key:"e88db8097f1615f62235c41262700c0c11bc0453",class:"chat-input",part:"chat-input"},this.renderMenu(),this.canSendTextMessage&&i("textarea",{key:"f1aa0c834b37e25a7e3093d10b6ad4531d58c0e8",class:"scrollbar",part:"textarea",ref:this.initializeTextField,autoFocus:!0,placeholder:this.fileToUpload?"":this.t("chat.message_placeholder"),value:r,onPaste:this.onPaste,maxLength:k,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onInput:t=>{f.setItem(this.storageKey,t.target.value)},disabled:!!this.filePreview}),i("div",{key:"724a8e40a0384c4f11efca4d7abf081b110a7c9f",class:"chat-buttons",part:"chat-buttons"},i("div",{key:"028b74f93d7b8ba1964460ea80ed4c63d56e5146",class:"left",part:"chat-buttons-left"},!this.prefill.editMessage&&this.canSendFiles&&[i("rtk-tooltip",{key:"e4b0edc4f6a0f8f8b91ec4925dbd661c3e3b1a32",label:this.t("chat.send_file")},i("rtk-button",{key:"53f030c9720362995342eb1959da07136c44724b",variant:"ghost",kind:"icon",onClick:()=>this.uploadFile("file"),title:this.t("chat.send_file")},i("rtk-icon",{key:"51bf45a1074886452e1c7d6ca80d8b5f9e7a61ba",icon:this.iconPack.attach}))),i("rtk-tooltip",{key:"d20a53b034f312ced9d7f5441da7574100cbb6e7",label:this.t("chat.send_img")},i("rtk-button",{key:"822413ff8636a33d2d70c7d10412a0ff5d043d86",variant:"ghost",kind:"icon",onClick:()=>this.uploadFile("image"),title:this.t("chat.send_img")},i("rtk-icon",{key:"af60e5ec42253e7780af31bc5f2fb9ad00ad6245",icon:this.iconPack.image})))],!this.prefill.editMessage&&this.canSendTextMessage&&!this.disableEmojiPicker&&i("rtk-tooltip",{key:"665bb180737c220297a9394f582ddd8d57135ed4",label:this.t("chat.send_emoji")},i("rtk-button",{key:"6550bd345555644e89a501df5838452206ea9c55",variant:"ghost",kind:"icon",class:{active:this.emojiPickerActive},title:this.t("chat.send_emoji"),onClick:()=>{this.emojiPickerActive=!this.emojiPickerActive}},i("rtk-icon",{key:"4ee0c02bf3efc309a58db7be0f51545d6d346a9c",icon:this.iconPack.emoji_multiple})))),!!this.filePreview&&this.renderFilePreview(),this.canSendTextMessage&&i("div",{key:"a7d3f27cbe43f591363d1ffd8858f30d457e6629",class:"right",part:"chat-buttons-right"},!this.prefill.editMessage&&i("rtk-tooltip",{key:"57fc69e04c29b54cfb8510914659f0b94c3944eb",variant:"primary",label:this.t("chat.send_msg"),delay:2e3},i("rtk-button",{key:"949e480cc2a243265f1268aff6396cd9bda20b03",kind:"icon",onClick:()=>this.handleSendMessage(),title:this.t("chat.send_msg")},i("rtk-icon",{key:"8fe5bc5391bef475805c86ab3fec94690bd71dfd",icon:this.iconPack.send}))),this.prefill.editMessage&&i("div",{key:"3e87dae17dcac9be10a20fe15252756d496bf924",class:"edit-buttons"},i("rtk-tooltip",{key:"201e7b44dc8a40cfc94bb299448a1e89c972ea92",variant:"secondary",label:this.t("cancel"),delay:2e3},i("rtk-button",{key:"64d5dc9e41bc87a654c760c709b7b7d378f28141",kind:"icon",variant:"secondary",onClick:()=>this.handleEditCancel(),title:this.t("cancel")},i("rtk-icon",{key:"7e75e511da878e45f88b75c2f23a855a8c191b9b",icon:this.iconPack.dismiss}))),i("rtk-tooltip",{key:"df6284b88ac9651d5cb1c736b92fb929ee5795a1",variant:"primary",label:this.t("chat.update_msg"),delay:2e3},i("rtk-button",{key:"c6b375320d193ccbf6658aa040302453ae361f91",kind:"icon",onClick:()=>this.handleEditMessage(),title:this.t("chat.send_msg")},i("rtk-icon",{key:"f047153809bc154526364f2e9a903449f83f51a9",icon:this.iconPack.checkmark}))))))))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.chat-input{position:relative;margin:var(--rtk-space-2, 8px);z-index:10;box-sizing:border-box;display:flex;flex-direction:column;border-radius:var(--rtk-border-radius-md, 8px);border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}textarea{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));box-sizing:border-box;padding:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}textarea::-moz-placeholder{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}textarea::placeholder{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}textarea{border-top-left-radius:var(--rtk-border-radius-md, 8px);border-top-right-radius:var(--rtk-border-radius-md, 8px);font-family:var(--rtk-font-family, sans-serif);outline:2px solid transparent;outline-offset:2px;resize:none;overflow-y:auto;border-width:var(--rtk-border-width-none, 0);border-style:none;min-height:60px;font-size:16px}.chat-buttons{border-bottom-right-radius:var(--rtk-border-radius-md, 8px);border-bottom-left-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));display:flex;height:var(--rtk-space-8, 32px);align-items:center;justify-content:space-between;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}.chat-buttons .left rtk-button{margin-right:var(--rtk-space-1, 4px)}.chat-buttons .left rtk-button rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.chat-buttons .right{z-index:10}.chat-buttons .right .edit-buttons{display:flex;gap:var(--rtk-space-2, 8px)}.chat-buttons>div{display:flex;align-items:center}rtk-emoji-picker{z-index:0;position:absolute;bottom:var(--rtk-space-32, 128px);border-top:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));animation:0.3s slide-up ease}@keyframes slide-up{from{transform:translateY(100%)}to{transform:translateY(0%)}}.member-list{margin:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-1, 4px);max-height:var(--rtk-space-28, 112px);min-width:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);padding:var(--rtk-space-0, 0px);position:absolute;bottom:var(--rtk-space-28, 112px);list-style-type:none;overflow-y:auto;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-sm, 4px);--tw-border-spacing-x:var(--rtk-space-2, 8px);--tw-border-spacing-y:var(--rtk-space-2, 8px);border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-style:solid;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.member-list .member{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-4, 16px);cursor:pointer}.member-list .member rtk-avatar{flex-shrink:0;height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);font-size:14px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.member-list .member span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-list .member:hover,.member-list .member.selected{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-700, 2 70 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.suggested-replies{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-3, 12px);display:flex;flex-wrap:nowrap;gap:var(--rtk-space-2, 8px);list-style-type:none;overflow-x:auto}.suggested-replies rtk-tooltip{flex-shrink:0}.suggested-replies li{padding:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-md, 8px);background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.75);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));cursor:pointer}.suggested-replies li:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity))}.preview-overlay{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-md, 8px)}.file-preview{position:absolute;top:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);max-width:-moz-fit-content;max-width:fit-content;max-height:var(--rtk-space-20, 80px)}.file-preview:hover rtk-tooltip{display:block}.file-preview rtk-tooltip{position:absolute;top:calc(var(--rtk-space-1, 4px) * -1);left:calc(var(--rtk-space-1, 4px) * -1);display:none;margin-left:calc(var(--rtk-space-1, 4px) * -1);margin-top:calc(var(--rtk-space-1, 4px) * -1)}.file-preview rtk-button{display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));border:1px solid rgb(var(--rtk-colors-text-1000, 255 255 255))}.file-preview rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.preview-image{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);-o-object-fit:cover;object-fit:cover;max-height:100%;max-width:100%;overflow:clip;border-radius:var(--rtk-border-radius-md, 8px)}.preview-file{padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--rtk-border-radius-md, 8px);max-width:200px}@keyframes scroll-text{0%{transform:translateX(0%)}70%{transform:translateX(-100%)}80%{transform:translateX(0%)}100%{transform:translateX(0%)}}"}},[257,"rtk-chat-composer-ui",{canSendTextMessage:[4,"can-send-text-message"],canSendFiles:[4,"can-send-files"],size:[513],iconPack:[16],t:[16],disableEmojiPicker:[4,"disable-emoji-picker"],prefill:[16],members:[16],emojiPickerActive:[32],mentionQuery:[32],focusedMemberIndex:[32],filePreview:[32]}]);function _(){"undefined"!=typeof customElements&&["rtk-chat-composer-ui","rtk-avatar","rtk-button","rtk-emoji-picker","rtk-icon","rtk-spinner","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-chat-composer-ui":customElements.get(o(t))||customElements.define(o(t),C);break;case"rtk-avatar":customElements.get(o(t))||m();break;case"rtk-button":customElements.get(o(t))||g();break;case"rtk-emoji-picker":customElements.get(o(t))||u();break;case"rtk-icon":customElements.get(o(t))||x();break;case"rtk-spinner":customElements.get(o(t))||y();break;case"rtk-tooltip":customElements.get(o(t))||w()}}))}j([v()],C.prototype,"iconPack",void 0),j([v()],C.prototype,"t",void 0),_();const z=C,D=_;export{z as RtkChatComposerUi,D as defineCustomElement}
@@ -1,6 +1 @@
1
- import { R as RtkChatComposerView$1, d as defineCustomElement$1 } from './p-b75297d7.js';
2
-
3
- const RtkChatComposerView = RtkChatComposerView$1;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { RtkChatComposerView, defineCustomElement };
1
+ import{R as o,d as s}from"./p-wl6GEzgG.js";const p=o,r=s;export{p as RtkChatComposerView,r as defineCustomElement}
@@ -1,6 +1 @@
1
- import { R as RtkChatHeader$1, d as defineCustomElement$1 } from './p-ea4aa3bf.js';
2
-
3
- const RtkChatHeader = RtkChatHeader$1;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { RtkChatHeader, defineCustomElement };
1
+ import{R as s,d as o}from"./p-CKX6X8es.js";const p=s,r=o;export{p as RtkChatHeader,r as defineCustomElement}
@@ -1,6 +1 @@
1
- import { R as RtkChatMessage$1, d as defineCustomElement$1 } from './p-de0b23a0.js';
2
-
3
- const RtkChatMessage = RtkChatMessage$1;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { RtkChatMessage, defineCustomElement };
1
+ import{R as o,d as r}from"./p-CQAMoQlr.js";const s=o,p=r;export{s as RtkChatMessage,p as defineCustomElement}
@@ -1,6 +1 @@
1
- import { R as RtkChatMessagesUiPaginated$1, d as defineCustomElement$1 } from './p-48b6fb95.js';
2
-
3
- const RtkChatMessagesUiPaginated = RtkChatMessagesUiPaginated$1;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { RtkChatMessagesUiPaginated, defineCustomElement };
1
+ import{R as o,d as p}from"./p-pb5wDMuJ.js";const s=o,r=p;export{s as RtkChatMessagesUiPaginated,r as defineCustomElement}