@cloudflare/realtimekit-ui 1.0.9-staging.2 → 1.0.9-staging.4

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 (587) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/ChatHead-e13f3b0e.js +13 -0
  3. package/dist/cjs/{TextMessage-4f9299ff.js → TextMessage-7bb3e1fd.js} +1 -1
  4. package/dist/cjs/{chat-04fd67b4.js → chat-717e517d.js} +1 -1
  5. package/dist/cjs/{notification-6f17add8.js → config-8c9ac89a.js} +0 -35
  6. package/dist/cjs/{ChatHead-6416d6cf.js → date-61ffcd0a.js} +0 -10
  7. package/dist/cjs/index-05554ce6.js +62 -2
  8. package/dist/cjs/index.cjs.js +11 -10
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/notification-567fe887.js +39 -0
  11. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  12. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +3 -2
  13. package/dist/cjs/rtk-audio-grid.cjs.entry.js +1 -1
  14. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +1 -1
  15. package/dist/cjs/rtk-avatar_24.cjs.entry.js +2584 -0
  16. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +397 -0
  17. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +986 -0
  18. package/dist/cjs/rtk-channel-creator.cjs.entry.js +163 -0
  19. package/dist/cjs/rtk-channel-details.cjs.entry.js +49 -0
  20. package/dist/cjs/rtk-channel-header.cjs.entry.js +83 -0
  21. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +4 -4
  22. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +1 -1
  23. package/dist/cjs/rtk-chat-message.cjs.entry.js +118 -0
  24. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +200 -0
  25. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +57 -0
  26. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +1 -1
  27. package/dist/cjs/rtk-clock.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-controlbar.cjs.entry.js +1 -1
  29. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +686 -0
  30. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +1 -1
  31. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +154 -0
  32. package/dist/cjs/rtk-dialog.cjs.entry.js +93 -0
  33. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +1 -1
  34. package/dist/cjs/rtk-file-message_3.cjs.entry.js +148 -0
  35. package/dist/cjs/rtk-header.cjs.entry.js +1 -1
  36. package/dist/cjs/rtk-idle-screen.cjs.entry.js +1 -1
  37. package/dist/cjs/rtk-image-viewer.cjs.entry.js +1 -1
  38. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +1 -1
  39. package/dist/cjs/rtk-leave-button.cjs.entry.js +1 -1
  40. package/dist/cjs/rtk-logo.cjs.entry.js +77 -0
  41. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  42. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-notification.cjs.entry.js +71 -0
  44. package/dist/cjs/rtk-notifications.cjs.entry.js +588 -0
  45. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-participant_2.cjs.entry.js +14 -14
  47. package/dist/cjs/rtk-participants-audio.cjs.entry.js +1 -1
  48. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +1 -1
  49. package/dist/cjs/rtk-plugins_2.cjs.entry.js +4 -4
  50. package/dist/cjs/rtk-poll_2.cjs.entry.js +3 -3
  51. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +1 -1
  52. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +5 -5
  53. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +1 -1
  54. package/dist/cjs/rtk-sidebar.cjs.entry.js +1 -1
  55. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-stage.cjs.entry.js +1 -1
  57. package/dist/cjs/rtk-transcript.cjs.entry.js +1 -1
  58. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +1 -1
  59. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  60. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  61. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +2 -2
  62. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
  63. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +5 -2
  64. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +2 -1
  65. package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +1 -0
  66. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +5 -2
  67. package/dist/collection/components/rtk-chat/rtk-chat.js +5 -102
  68. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +3 -2
  69. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +13 -4
  70. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +4 -2
  71. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +2 -1
  72. package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
  73. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  74. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  75. package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
  76. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  77. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +0 -6
  78. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  79. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  80. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  81. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  82. package/dist/collection/components/rtk-file-message/rtk-file-message.js +3 -2
  83. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +1 -1
  84. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  85. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  86. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  87. package/dist/collection/components/rtk-image-message/rtk-image-message.js +5 -4
  88. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +3 -3
  89. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  90. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
  91. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  92. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +2 -2
  93. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  94. package/dist/collection/components/rtk-menu/rtk-menu.js +2 -2
  95. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  96. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  97. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +3 -3
  98. package/dist/collection/components/rtk-message-view/rtk-message-view.css +26 -12
  99. package/dist/collection/components/rtk-message-view/rtk-message-view.js +23 -1
  100. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
  101. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  102. package/dist/collection/components/rtk-notification/rtk-notification.js +2 -2
  103. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  104. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +25 -1
  105. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +25 -22
  106. package/dist/collection/components/rtk-participant/rtk-participant.js +12 -12
  107. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
  108. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  109. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  110. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  111. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  112. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  113. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
  114. package/dist/collection/components/rtk-polls/rtk-polls.js +3 -3
  115. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  116. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
  117. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  118. package/dist/collection/components/rtk-sidebar/rtk-sidebar.css +2 -0
  119. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  120. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +2 -2
  121. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  122. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  123. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  124. package/dist/collection/components/rtk-text-message/rtk-text-message.js +3 -2
  125. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  126. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  127. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  128. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  129. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
  130. package/dist/collection/utils/chat.js +1 -1
  131. package/dist/components/index.js +7 -7
  132. package/dist/components/{p-26055088.js → p-080acf18.js} +3 -3
  133. package/dist/components/{p-34b580c9.js → p-0a35a909.js} +3 -3
  134. package/dist/components/{p-f9faeffc.js → p-0b4e526c.js} +3 -3
  135. package/dist/components/{p-a3ebfc10.js → p-0d582365.js} +2 -2
  136. package/dist/components/{p-c7413ac8.js → p-0d7bf41b.js} +4 -4
  137. package/dist/components/{p-a5a40d7e.js → p-102b6df8.js} +2 -2
  138. package/dist/components/{p-12d2b558.js → p-10ef077c.js} +3 -3
  139. package/dist/components/{p-4772f368.js → p-121e073d.js} +2 -2
  140. package/dist/components/{p-b804a5f5.js → p-188bfe87.js} +8 -8
  141. package/dist/components/{p-a9d5d165.js → p-190db142.js} +7 -7
  142. package/dist/components/{p-fb427023.js → p-20290b0b.js} +4 -4
  143. package/dist/components/{p-03fe0979.js → p-244cbe7b.js} +2 -2
  144. package/dist/components/{p-cc5ecd67.js → p-2d08ab28.js} +2 -2
  145. package/dist/components/{p-91a9efcf.js → p-2e282643.js} +5 -5
  146. package/dist/components/{p-aba9b612.js → p-2f82e0b0.js} +7 -7
  147. package/dist/components/{p-7119673c.js → p-33a87325.js} +2 -2
  148. package/dist/components/{p-511ed3f8.js → p-395d7140.js} +4 -4
  149. package/dist/components/{p-1a60f5b0.js → p-3da4880c.js} +4 -4
  150. package/dist/components/{p-af35ac31.js → p-47c25f64.js} +1 -1
  151. package/dist/components/{p-01a50790.js → p-488d88a8.js} +4 -4
  152. package/dist/components/{p-e2e22bf8.js → p-4d582a90.js} +5 -5
  153. package/dist/components/{p-b373754d.js → p-51de7af3.js} +1 -1
  154. package/dist/components/{p-65b9931e.js → p-55501201.js} +4 -4
  155. package/dist/components/{p-7f0ee3c6.js → p-563c785d.js} +3 -3
  156. package/dist/components/{p-c40166a9.js → p-5c92df32.js} +5 -5
  157. package/dist/components/{p-ed8955d0.js → p-5f26bba3.js} +2 -2
  158. package/dist/components/{p-0a7f6a8a.js → p-618864a0.js} +3 -3
  159. package/dist/components/{p-49967150.js → p-63ef7ea4.js} +6 -6
  160. package/dist/components/{p-00ebd1dc.js → p-65cd2fe3.js} +4 -4
  161. package/dist/components/{p-3438fd71.js → p-6756b222.js} +2 -2
  162. package/dist/components/{p-9730c398.js → p-6c2cfa0d.js} +3 -3
  163. package/dist/components/{p-3a80e3ab.js → p-6f272732.js} +8 -8
  164. package/dist/components/{p-df25c2a7.js → p-6f340109.js} +1 -1
  165. package/dist/components/{p-a09aefba.js → p-7481511c.js} +2 -2
  166. package/dist/components/{p-6bd3b767.js → p-78b61cce.js} +1 -1
  167. package/dist/components/{p-037e572f.js → p-7fc0dc2f.js} +1 -1
  168. package/dist/components/{p-314b1504.js → p-82f8c924.js} +2 -2
  169. package/dist/components/{p-6d49cf9f.js → p-84e5b453.js} +2 -2
  170. package/dist/components/{p-f5f0b499.js → p-88bef213.js} +2 -2
  171. package/dist/components/{p-f46a0782.js → p-8d25843a.js} +3 -3
  172. package/dist/components/{p-2b955eb0.js → p-914563e7.js} +5 -5
  173. package/dist/components/{p-04aaec79.js → p-94e867c2.js} +17 -15
  174. package/dist/components/{p-731ee854.js → p-9889bee5.js} +5 -5
  175. package/dist/components/{p-dc4b6fc4.js → p-9e87b2c9.js} +2 -2
  176. package/dist/components/{p-f734a4cf.js → p-a10b9faa.js} +2 -2
  177. package/dist/components/{p-f81c7fda.js → p-a29c01fc.js} +2 -2
  178. package/dist/components/{p-551bed08.js → p-a4a5ff5a.js} +4 -4
  179. package/dist/components/{p-1986022b.js → p-a6296b02.js} +3 -3
  180. package/dist/components/{p-93e1439e.js → p-a94b2e67.js} +2 -2
  181. package/dist/components/{p-4c8cff29.js → p-a9540d93.js} +28 -24
  182. package/dist/components/{p-a2f4f9e3.js → p-aae4c250.js} +1 -1
  183. package/dist/components/{p-3051f5f5.js → p-abe1dbe6.js} +4 -4
  184. package/dist/components/{p-840ef7fe.js → p-adf73364.js} +5 -5
  185. package/dist/components/{p-72346e7f.js → p-afe77b50.js} +2 -2
  186. package/dist/components/{p-f4ff7d70.js → p-b011763d.js} +3 -3
  187. package/dist/components/{p-9ea5df8f.js → p-b34865c7.js} +4 -4
  188. package/dist/components/{p-897a04be.js → p-b882f4a1.js} +4 -4
  189. package/dist/components/{p-4edd666b.js → p-bb8f2597.js} +6 -6
  190. package/dist/components/{p-9149c02e.js → p-c078ae06.js} +2 -2
  191. package/dist/components/{p-989d36e2.js → p-c3621e10.js} +6 -6
  192. package/dist/components/{p-40c5ca62.js → p-c515acba.js} +2 -2
  193. package/dist/components/{p-12437468.js → p-cf503999.js} +2 -2
  194. package/dist/components/{p-66bae0d9.js → p-d06d1eac.js} +2 -2
  195. package/dist/components/{p-17867774.js → p-d107e9f4.js} +3 -3
  196. package/dist/components/{p-c5dfd548.js → p-d37b8a32.js} +49 -326
  197. package/dist/components/{p-bccc21f8.js → p-d3de8b85.js} +3 -3
  198. package/dist/components/{p-22a734a8.js → p-d4e2ac64.js} +6 -6
  199. package/dist/components/{p-0abe4b8a.js → p-dab9d3d6.js} +1 -1
  200. package/dist/components/{p-52b090fc.js → p-dbfc9151.js} +3 -3
  201. package/dist/components/{p-d2c3870a.js → p-e4a080a5.js} +3 -3
  202. package/dist/components/{p-c663f9b1.js → p-e6710b76.js} +4 -4
  203. package/dist/components/{p-3df2211d.js → p-e675729a.js} +4 -4
  204. package/dist/components/{p-ddb2df62.js → p-e81fc1e8.js} +3 -3
  205. package/dist/components/{p-39a6a6a6.js → p-e8df7ac5.js} +18 -18
  206. package/dist/components/{p-1d29b7c3.js → p-ee98bbaf.js} +12 -12
  207. package/dist/components/{p-3fe1bb0d.js → p-f47894a6.js} +12 -12
  208. package/dist/components/{p-6fe2233b.js → p-f4e75ea9.js} +3 -3
  209. package/dist/components/{p-22d9d3ff.js → p-f7430e46.js} +5 -5
  210. package/dist/components/{p-d2b37264.js → p-f7eb9c47.js} +5 -5
  211. package/dist/components/{p-54dba22f.js → p-f8f5cb31.js} +4 -4
  212. package/dist/components/{p-03bdc4c0.js → p-fa8f6b4a.js} +1 -1
  213. package/dist/components/{p-fb46d041.js → p-fd68a52b.js} +8 -8
  214. package/dist/components/{p-c3582bf3.js → p-fe911889.js} +12 -9
  215. package/dist/components/rtk-ai-toggle.js +4 -4
  216. package/dist/components/rtk-ai-transcriptions.js +1 -1
  217. package/dist/components/rtk-ai.js +3 -3
  218. package/dist/components/rtk-audio-grid.js +3 -3
  219. package/dist/components/rtk-audio-tile.js +5 -5
  220. package/dist/components/rtk-audio-visualizer.js +1 -1
  221. package/dist/components/rtk-avatar.js +1 -1
  222. package/dist/components/rtk-breakout-room-manager.js +1 -1
  223. package/dist/components/rtk-breakout-room-participants.js +1 -1
  224. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  225. package/dist/components/rtk-breakout-rooms-toggle.js +4 -4
  226. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  227. package/dist/components/rtk-camera-selector.js +1 -1
  228. package/dist/components/rtk-camera-toggle.js +5 -5
  229. package/dist/components/rtk-caption-toggle.js +4 -4
  230. package/dist/components/rtk-channel-creator.js +209 -1
  231. package/dist/components/rtk-channel-details.js +1 -1
  232. package/dist/components/rtk-channel-header.js +146 -1
  233. package/dist/components/rtk-channel-selector-ui.js +7 -7
  234. package/dist/components/rtk-channel-selector-view.js +1 -1
  235. package/dist/components/rtk-chat-composer-ui.js +7 -7
  236. package/dist/components/rtk-chat-composer-view.js +1 -1
  237. package/dist/components/rtk-chat-message.js +1 -1
  238. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  239. package/dist/components/rtk-chat-messages-ui.js +302 -1
  240. package/dist/components/rtk-chat-search-results.js +146 -1
  241. package/dist/components/rtk-chat-selector-ui.js +3 -3
  242. package/dist/components/rtk-chat-toggle.js +5 -5
  243. package/dist/components/rtk-chat.js +1 -1
  244. package/dist/components/rtk-clock.js +5 -5
  245. package/dist/components/rtk-confirmation-modal.js +1 -1
  246. package/dist/components/rtk-controlbar-button.js +1 -1
  247. package/dist/components/rtk-controlbar.js +3 -3
  248. package/dist/components/rtk-counter.js +1 -1
  249. package/dist/components/rtk-debugger-audio.js +1 -1
  250. package/dist/components/rtk-debugger-screenshare.js +1 -1
  251. package/dist/components/rtk-debugger-system.js +1 -1
  252. package/dist/components/rtk-debugger-toggle.js +5 -5
  253. package/dist/components/rtk-debugger-video.js +1 -1
  254. package/dist/components/rtk-debugger.js +1 -1
  255. package/dist/components/rtk-dialog-manager.js +305 -1
  256. package/dist/components/rtk-dialog.js +1 -1
  257. package/dist/components/rtk-draft-attachment-view.js +1 -1
  258. package/dist/components/rtk-emoji-picker-button.js +1 -1
  259. package/dist/components/rtk-emoji-picker.js +1 -1
  260. package/dist/components/rtk-ended-screen.js +3 -3
  261. package/dist/components/rtk-file-dropzone.js +3 -3
  262. package/dist/components/rtk-file-message-view.js +1 -1
  263. package/dist/components/rtk-file-message.js +1 -1
  264. package/dist/components/rtk-file-picker-button.js +1 -1
  265. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  266. package/dist/components/rtk-grid-pagination.js +3 -3
  267. package/dist/components/rtk-grid.js +8 -8
  268. package/dist/components/rtk-header.js +3 -3
  269. package/dist/components/rtk-idle-screen.js +5 -5
  270. package/dist/components/rtk-image-message-view.js +1 -1
  271. package/dist/components/rtk-image-message.js +1 -1
  272. package/dist/components/rtk-image-viewer.js +3 -3
  273. package/dist/components/rtk-information-tooltip.js +3 -3
  274. package/dist/components/rtk-join-stage.js +1 -1
  275. package/dist/components/rtk-leave-button.js +5 -5
  276. package/dist/components/rtk-leave-meeting.js +1 -1
  277. package/dist/components/rtk-livestream-indicator.js +1 -1
  278. package/dist/components/rtk-livestream-player.js +1 -1
  279. package/dist/components/rtk-livestream-toggle.js +4 -4
  280. package/dist/components/rtk-logo.js +1 -1
  281. package/dist/components/rtk-markdown-view.js +1 -1
  282. package/dist/components/rtk-meeting-title.js +3 -3
  283. package/dist/components/rtk-meeting.js +47 -227
  284. package/dist/components/rtk-menu-item.js +1 -1
  285. package/dist/components/rtk-menu-list.js +1 -1
  286. package/dist/components/rtk-menu.js +1 -1
  287. package/dist/components/rtk-message-list-view.js +6 -6
  288. package/dist/components/rtk-message-view.js +1 -1
  289. package/dist/components/rtk-mic-toggle.js +5 -5
  290. package/dist/components/rtk-microphone-selector.js +1 -1
  291. package/dist/components/rtk-mixed-grid.js +6 -6
  292. package/dist/components/rtk-more-toggle.js +6 -6
  293. package/dist/components/rtk-mute-all-button.js +5 -5
  294. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  295. package/dist/components/rtk-name-tag.js +1 -1
  296. package/dist/components/rtk-network-indicator.js +2 -2
  297. package/dist/components/rtk-notification.js +1 -1
  298. package/dist/components/rtk-notifications.js +629 -1
  299. package/dist/components/rtk-overlay-modal.js +1 -1
  300. package/dist/components/rtk-paginated-list.js +1 -1
  301. package/dist/components/rtk-participant-count.js +2 -2
  302. package/dist/components/rtk-participant-setup.js +4 -4
  303. package/dist/components/rtk-participant-tile.js +1 -1
  304. package/dist/components/rtk-participant.js +1 -1
  305. package/dist/components/rtk-participants-audio.js +4 -4
  306. package/dist/components/rtk-participants-stage-list.js +1 -1
  307. package/dist/components/rtk-participants-stage-queue.js +1 -1
  308. package/dist/components/rtk-participants-toggle.js +5 -5
  309. package/dist/components/rtk-participants-viewer-list.js +1 -1
  310. package/dist/components/rtk-participants-waiting-list.js +1 -1
  311. package/dist/components/rtk-participants.js +14 -14
  312. package/dist/components/rtk-permissions-message.js +1 -1
  313. package/dist/components/rtk-pip-toggle.js +4 -4
  314. package/dist/components/rtk-plugin-main.js +1 -1
  315. package/dist/components/rtk-plugins-toggle.js +5 -5
  316. package/dist/components/rtk-plugins.js +1 -1
  317. package/dist/components/rtk-poll-form.js +1 -1
  318. package/dist/components/rtk-poll.js +1 -1
  319. package/dist/components/rtk-polls-toggle.js +5 -5
  320. package/dist/components/rtk-polls.js +1 -1
  321. package/dist/components/rtk-recording-indicator.js +3 -3
  322. package/dist/components/rtk-recording-toggle.js +4 -4
  323. package/dist/components/rtk-screen-share-toggle.js +5 -5
  324. package/dist/components/rtk-screenshare-view.js +8 -8
  325. package/dist/components/rtk-settings-audio.js +1 -1
  326. package/dist/components/rtk-settings-toggle.js +5 -5
  327. package/dist/components/rtk-settings-video.js +1 -1
  328. package/dist/components/rtk-settings.js +10 -10
  329. package/dist/components/rtk-setup-screen.js +6 -6
  330. package/dist/components/rtk-sidebar-ui.js +1 -1
  331. package/dist/components/rtk-sidebar.js +10 -10
  332. package/dist/components/rtk-simple-grid.js +2 -2
  333. package/dist/components/rtk-speaker-selector.js +1 -1
  334. package/dist/components/rtk-spinner.js +1 -1
  335. package/dist/components/rtk-spotlight-grid.js +4 -4
  336. package/dist/components/rtk-spotlight-indicator.js +1 -1
  337. package/dist/components/rtk-stage-toggle.js +5 -5
  338. package/dist/components/rtk-stage.js +3 -3
  339. package/dist/components/rtk-switch.js +1 -1
  340. package/dist/components/rtk-tab-bar.js +1 -1
  341. package/dist/components/rtk-text-composer-view.js +1 -1
  342. package/dist/components/rtk-text-message-view.js +1 -1
  343. package/dist/components/rtk-text-message.js +1 -1
  344. package/dist/components/rtk-tooltip.js +1 -1
  345. package/dist/components/rtk-transcript.js +1 -1
  346. package/dist/components/rtk-transcripts.js +3 -3
  347. package/dist/components/rtk-ui-provider.js +2 -2
  348. package/dist/components/rtk-viewer-count.js +1 -1
  349. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  350. package/dist/components/rtk-waiting-screen.js +4 -4
  351. package/dist/docs/docs-components.json +144 -384
  352. package/dist/docs/docs-vscode.json +7 -3
  353. package/dist/esm/ChatHead-15c2f8d4.js +11 -0
  354. package/dist/esm/{TextMessage-07d53134.js → TextMessage-ca92045e.js} +1 -1
  355. package/dist/esm/{chat-32ac0c2b.js → chat-ff185374.js} +2 -2
  356. package/dist/esm/{notification-0794a8cc.js → config-e684aa4d.js} +3 -37
  357. package/dist/esm/{ChatHead-11b92a26.js → date-b1f78dea.js} +1 -10
  358. package/dist/esm/{debounce-6ec038d3.js → debounce-3ea4df36.js} +1 -1
  359. package/dist/esm/{file-849468c1.js → file-6114f1a9.js} +1 -1
  360. package/dist/esm/index-c1fb98bb.js +62 -2
  361. package/dist/esm/{index-849b9dd9.js → index-e65afca5.js} +1 -1
  362. package/dist/esm/index.js +7 -6
  363. package/dist/esm/loader.js +13237 -13245
  364. package/dist/esm/{merge-f5f3ca10.js → merge-7ffc04b3.js} +1 -1
  365. package/dist/esm/notification-78afaabf.js +37 -0
  366. package/dist/esm/realtimekit-ui.js +1 -1
  367. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  368. package/dist/esm/rtk-ai-transcriptions.entry.js +6 -5
  369. package/dist/esm/rtk-ai.entry.js +2 -2
  370. package/dist/esm/rtk-audio-grid.entry.js +3 -3
  371. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  372. package/dist/esm/rtk-audio-visualizer_4.entry.js +3 -3
  373. package/dist/esm/rtk-avatar_24.entry.js +2557 -0
  374. package/dist/esm/rtk-breakout-room-manager_3.entry.js +391 -0
  375. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +974 -0
  376. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  377. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  378. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  379. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  380. package/dist/{components/p-c9a7cf06.js → esm/rtk-channel-creator.entry.js} +12 -64
  381. package/dist/esm/rtk-channel-details.entry.js +45 -0
  382. package/dist/{components/p-0c11d195.js → esm/rtk-channel-header.entry.js} +9 -78
  383. package/dist/esm/rtk-channel-selector-ui.entry.js +6 -6
  384. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  385. package/dist/esm/rtk-chat-message.entry.js +114 -0
  386. package/dist/{components/p-0e07ea51.js → esm/rtk-chat-messages-ui.entry.js} +14 -122
  387. package/dist/esm/rtk-chat-search-results.entry.js +53 -0
  388. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  389. package/dist/esm/rtk-chat-toggle.entry.js +3 -3
  390. package/dist/esm/rtk-clock.entry.js +5 -5
  391. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  392. package/dist/esm/rtk-controlbar.entry.js +3 -3
  393. package/dist/esm/rtk-debugger-audio_4.entry.js +679 -0
  394. package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
  395. package/dist/{components/p-3042f998.js → esm/rtk-dialog-manager.entry.js} +10 -179
  396. package/dist/esm/rtk-dialog.entry.js +89 -0
  397. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  398. package/dist/esm/rtk-file-dropzone.entry.js +3 -3
  399. package/dist/esm/rtk-file-message_3.entry.js +142 -0
  400. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  401. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  402. package/dist/esm/rtk-grid.entry.js +2 -2
  403. package/dist/esm/rtk-header.entry.js +3 -3
  404. package/dist/esm/rtk-idle-screen.entry.js +3 -3
  405. package/dist/esm/rtk-image-viewer.entry.js +5 -5
  406. package/dist/esm/rtk-information-tooltip.entry.js +3 -3
  407. package/dist/esm/rtk-leave-button.entry.js +3 -3
  408. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  409. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  410. package/dist/esm/rtk-logo.entry.js +73 -0
  411. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  412. package/dist/esm/rtk-message-list-view.entry.js +6 -6
  413. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  414. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  415. package/dist/esm/rtk-more-toggle.entry.js +4 -4
  416. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  417. package/dist/esm/rtk-name-tag.entry.js +3 -3
  418. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  419. package/dist/esm/rtk-notification.entry.js +67 -0
  420. package/dist/{components/p-7a336667.js → esm/rtk-notifications.entry.js} +13 -60
  421. package/dist/esm/rtk-participant-count.entry.js +2 -2
  422. package/dist/esm/rtk-participant-setup.entry.js +4 -4
  423. package/dist/esm/rtk-participant_2.entry.js +18 -18
  424. package/dist/esm/rtk-participants-audio.entry.js +3 -3
  425. package/dist/esm/rtk-participants-stage-list_4.entry.js +3 -3
  426. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  427. package/dist/esm/rtk-participants.entry.js +3 -3
  428. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  429. package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
  430. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  431. package/dist/esm/rtk-plugins_2.entry.js +6 -6
  432. package/dist/esm/rtk-poll_2.entry.js +6 -6
  433. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  434. package/dist/esm/rtk-recording-indicator.entry.js +3 -3
  435. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  436. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  437. package/dist/esm/rtk-screenshare-view.entry.js +7 -7
  438. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  439. package/dist/esm/rtk-settings-toggle.entry.js +3 -3
  440. package/dist/esm/rtk-settings.entry.js +2 -2
  441. package/dist/esm/rtk-setup-screen.entry.js +3 -3
  442. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  443. package/dist/esm/rtk-sidebar.entry.js +4 -4
  444. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  445. package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
  446. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  447. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  448. package/dist/esm/rtk-stage.entry.js +3 -3
  449. package/dist/esm/rtk-transcript.entry.js +3 -3
  450. package/dist/esm/rtk-transcripts.entry.js +2 -2
  451. package/dist/esm/rtk-ui-provider.entry.js +2 -2
  452. package/dist/esm/rtk-waiting-screen.entry.js +3 -3
  453. package/dist/esm/{sidebar-76cae1f0.js → sidebar-030fff49.js} +1 -1
  454. package/dist/esm/{string-5e8dab07.js → string-068ce30a.js} +1 -1
  455. package/dist/esm/{ui-store-2965ff1a.js → ui-store-9e486e1b.js} +1 -1
  456. package/dist/realtimekit-ui/index.esm.js +1 -1
  457. package/dist/realtimekit-ui/{p-ff19ee1e.entry.js → p-0689d68b.entry.js} +1 -1
  458. package/dist/realtimekit-ui/{p-2318c3af.js → p-084b6f30.js} +1 -1
  459. package/dist/realtimekit-ui/{p-e6f1e6aa.entry.js → p-09869644.entry.js} +1 -1
  460. package/dist/realtimekit-ui/{p-22313959.entry.js → p-0b8c47d9.entry.js} +1 -1
  461. package/dist/realtimekit-ui/{p-b6c83f82.entry.js → p-11c964cf.entry.js} +1 -1
  462. package/dist/realtimekit-ui/{p-2857144e.js → p-12e4cb4a.js} +1 -1
  463. package/dist/realtimekit-ui/{p-9ba26c9f.entry.js → p-1666857d.entry.js} +1 -1
  464. package/dist/realtimekit-ui/{p-7f896d33.entry.js → p-1bf58a84.entry.js} +1 -1
  465. package/dist/realtimekit-ui/{p-2d6c5160.entry.js → p-2a0ec1c6.entry.js} +1 -1
  466. package/dist/realtimekit-ui/{p-404207e0.entry.js → p-2b373e53.entry.js} +1 -1
  467. package/dist/realtimekit-ui/p-2f641bfa.entry.js +1 -0
  468. package/dist/realtimekit-ui/p-2fc5ef84.entry.js +1 -0
  469. package/dist/realtimekit-ui/{p-9b6d809b.entry.js → p-31f58b98.entry.js} +1 -1
  470. package/dist/realtimekit-ui/p-33228f0a.entry.js +1 -0
  471. package/dist/realtimekit-ui/p-3369f405.entry.js +1 -0
  472. package/dist/realtimekit-ui/p-36c8dfa0.entry.js +1 -0
  473. package/dist/realtimekit-ui/p-382270d8.js +1 -0
  474. package/dist/realtimekit-ui/{p-ac1ff0f8.entry.js → p-385fddbd.entry.js} +1 -1
  475. package/dist/realtimekit-ui/{p-f1ab4672.entry.js → p-38aec474.entry.js} +1 -1
  476. package/dist/realtimekit-ui/p-38f4773b.entry.js +1 -0
  477. package/dist/realtimekit-ui/{p-368420fc.entry.js → p-3a325310.entry.js} +1 -1
  478. package/dist/realtimekit-ui/{p-83a8cd29.entry.js → p-3d0c4257.entry.js} +1 -1
  479. package/dist/realtimekit-ui/{p-6495f016.entry.js → p-3e02ec0b.entry.js} +1 -1
  480. package/dist/realtimekit-ui/p-3eefefa3.entry.js +1 -0
  481. package/dist/realtimekit-ui/p-40be18ee.js +1 -0
  482. package/dist/realtimekit-ui/{p-f5a3ccc0.entry.js → p-481549ac.entry.js} +1 -1
  483. package/dist/realtimekit-ui/{p-2aa2727b.entry.js → p-4eba1baa.entry.js} +1 -1
  484. package/dist/realtimekit-ui/p-4eee77b0.entry.js +1 -0
  485. package/dist/realtimekit-ui/{p-1185eec6.entry.js → p-50157a65.entry.js} +1 -1
  486. package/dist/realtimekit-ui/p-50e861f9.entry.js +1 -0
  487. package/dist/realtimekit-ui/{p-a7ba0456.entry.js → p-5383fe87.entry.js} +1 -1
  488. package/dist/realtimekit-ui/{p-2d09aeb4.entry.js → p-53ac3d30.entry.js} +1 -1
  489. package/dist/realtimekit-ui/{p-e32c13e0.entry.js → p-54a31e02.entry.js} +1 -1
  490. package/dist/realtimekit-ui/p-57277553.entry.js +1 -0
  491. package/dist/realtimekit-ui/{p-95ab3abe.entry.js → p-5a2d8313.entry.js} +1 -1
  492. package/dist/realtimekit-ui/p-5b2d97fc.js +1 -0
  493. package/dist/realtimekit-ui/p-60a29b69.entry.js +1 -0
  494. package/dist/realtimekit-ui/{p-62949a7d.entry.js → p-61a16ccf.entry.js} +1 -1
  495. package/dist/realtimekit-ui/{p-47d8e5c8.entry.js → p-61a53713.entry.js} +1 -1
  496. package/dist/realtimekit-ui/{p-77f71d40.entry.js → p-61d3f74f.entry.js} +1 -1
  497. package/dist/realtimekit-ui/{p-2dc496f0.entry.js → p-62e0a141.entry.js} +1 -1
  498. package/dist/realtimekit-ui/{p-dfa4a588.entry.js → p-639ab9ad.entry.js} +1 -1
  499. package/dist/realtimekit-ui/{p-0ab52f70.entry.js → p-643194e4.entry.js} +1 -1
  500. package/dist/realtimekit-ui/p-6a45f305.js +1 -0
  501. package/dist/realtimekit-ui/{p-e65d2f04.entry.js → p-6adb2de4.entry.js} +1 -1
  502. package/dist/realtimekit-ui/{p-efabd2ce.js → p-6f211c3e.js} +1 -1
  503. package/dist/realtimekit-ui/{p-c1d92065.entry.js → p-74e1b5a6.entry.js} +1 -1
  504. package/dist/realtimekit-ui/{p-a449b5cd.entry.js → p-7613857e.entry.js} +1 -1
  505. package/dist/realtimekit-ui/p-7786e9a7.entry.js +1 -0
  506. package/dist/realtimekit-ui/{p-5cb4f925.entry.js → p-77e04fb7.entry.js} +1 -1
  507. package/dist/realtimekit-ui/{p-1f328e83.entry.js → p-788f26c4.entry.js} +1 -1
  508. package/dist/realtimekit-ui/{p-53ffaa9f.entry.js → p-7a8ca3f2.entry.js} +1 -1
  509. package/dist/realtimekit-ui/{p-f5560043.entry.js → p-7b999408.entry.js} +1 -1
  510. package/dist/realtimekit-ui/p-7f76de48.entry.js +1 -0
  511. package/dist/realtimekit-ui/{p-2799d5b2.js → p-80c856cd.js} +1 -1
  512. package/dist/realtimekit-ui/{p-64aa0fae.entry.js → p-882d07c9.entry.js} +1 -1
  513. package/dist/realtimekit-ui/{p-7fab2c53.entry.js → p-8b189438.entry.js} +1 -1
  514. package/dist/realtimekit-ui/{p-81d1334c.entry.js → p-8b341608.entry.js} +1 -1
  515. package/dist/realtimekit-ui/{p-e24289b8.entry.js → p-8f512d69.entry.js} +1 -1
  516. package/dist/realtimekit-ui/{p-c6c86fd8.js → p-91ea043c.js} +1 -1
  517. package/dist/realtimekit-ui/{p-145caa6b.js → p-91fd286c.js} +1 -1
  518. package/dist/realtimekit-ui/p-930f0255.entry.js +1 -0
  519. package/dist/realtimekit-ui/p-93b84c22.js +1 -0
  520. package/dist/realtimekit-ui/{p-34350578.entry.js → p-941f159e.entry.js} +1 -1
  521. package/dist/realtimekit-ui/{p-f3998c17.entry.js → p-949b2b6a.entry.js} +1 -1
  522. package/dist/realtimekit-ui/{p-3144bec3.entry.js → p-951a7b06.entry.js} +1 -1
  523. package/dist/realtimekit-ui/{p-616f3a25.entry.js → p-95f05e26.entry.js} +1 -1
  524. package/dist/realtimekit-ui/{p-db9dd8ea.entry.js → p-98ee3341.entry.js} +1 -1
  525. package/dist/realtimekit-ui/{p-7fbca8d1.entry.js → p-9ad2c746.entry.js} +1 -1
  526. package/dist/realtimekit-ui/p-9c1f42dd.entry.js +1 -0
  527. package/dist/realtimekit-ui/{p-6334ca51.entry.js → p-9cbf286a.entry.js} +1 -1
  528. package/dist/realtimekit-ui/{p-560fc162.entry.js → p-a1203856.entry.js} +1 -1
  529. package/dist/realtimekit-ui/{p-0b93c12d.entry.js → p-a319e81f.entry.js} +1 -1
  530. package/dist/realtimekit-ui/p-a4e223e8.entry.js +1 -0
  531. package/dist/realtimekit-ui/{p-e7a89e24.entry.js → p-a9126c12.entry.js} +1 -1
  532. package/dist/realtimekit-ui/{p-a55863be.entry.js → p-a9dd63ef.entry.js} +1 -1
  533. package/dist/realtimekit-ui/p-aa70de39.entry.js +1 -0
  534. package/dist/realtimekit-ui/{p-ead8970b.entry.js → p-ae7319ac.entry.js} +1 -1
  535. package/dist/realtimekit-ui/p-b387e9a1.entry.js +1 -0
  536. package/dist/realtimekit-ui/p-b564d931.entry.js +1 -0
  537. package/dist/realtimekit-ui/{p-f16345d6.entry.js → p-ba51770e.entry.js} +1 -1
  538. package/dist/realtimekit-ui/{p-0979ba30.entry.js → p-c1b81873.entry.js} +1 -1
  539. package/dist/realtimekit-ui/{p-543dcdc1.entry.js → p-c5c965b8.entry.js} +1 -1
  540. package/dist/realtimekit-ui/{p-b2b8b421.entry.js → p-c638f666.entry.js} +1 -1
  541. package/dist/realtimekit-ui/p-c7711712.entry.js +1 -0
  542. package/dist/realtimekit-ui/{p-bfd7cd5a.entry.js → p-d0384d90.entry.js} +1 -1
  543. package/dist/realtimekit-ui/p-d7f16f24.entry.js +1 -0
  544. package/dist/realtimekit-ui/p-d81c0263.entry.js +1 -0
  545. package/dist/realtimekit-ui/{p-35b87831.entry.js → p-d9cad67f.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-0266e82b.entry.js → p-de75d48d.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-4b62d6f9.entry.js → p-e62593a2.entry.js} +1 -1
  548. package/dist/realtimekit-ui/{p-fa2ee341.js → p-e720b51e.js} +1 -1
  549. package/dist/realtimekit-ui/{p-9ac89beb.entry.js → p-e7b83772.entry.js} +1 -1
  550. package/dist/realtimekit-ui/{p-8046e263.js → p-e87928f7.js} +1 -1
  551. package/dist/realtimekit-ui/{p-39d0ad4d.entry.js → p-e925ca8a.entry.js} +1 -1
  552. package/dist/realtimekit-ui/{p-e0dd5f79.entry.js → p-f0f6c282.entry.js} +1 -1
  553. package/dist/realtimekit-ui/{p-51a8a9e5.entry.js → p-f40a55e3.entry.js} +1 -1
  554. package/dist/realtimekit-ui/{p-47e89714.entry.js → p-f5aa8af7.entry.js} +1 -1
  555. package/dist/realtimekit-ui/p-f645b8bb.entry.js +1 -0
  556. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  557. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +3 -0
  558. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +1 -0
  559. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +1 -0
  560. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +3 -0
  561. package/dist/types/components/rtk-chat/rtk-chat.d.ts +0 -9
  562. package/dist/types/components/rtk-chat-message/rtk-chat-message.d.ts +1 -0
  563. package/dist/types/components/rtk-chat-messages-ui/rtk-chat-messages-ui.d.ts +3 -0
  564. package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +1 -0
  565. package/dist/types/components/rtk-file-message/rtk-file-message.d.ts +1 -0
  566. package/dist/types/components/rtk-image-message/rtk-image-message.d.ts +1 -0
  567. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +2 -0
  568. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +5 -0
  569. package/dist/types/components/rtk-text-message/rtk-text-message.d.ts +1 -0
  570. package/dist/types/components.d.ts +104 -0
  571. package/dist/types/types/props.d.ts +1 -0
  572. package/dist/types/utils/chat.d.ts +1 -1
  573. package/package.json +1 -1
  574. package/dist/cjs/rtk-avatar_54.cjs.entry.js +0 -6417
  575. package/dist/components/p-6a47e2ee.js +0 -148
  576. package/dist/esm/rtk-avatar_54.entry.js +0 -6360
  577. package/dist/realtimekit-ui/p-00b5bdeb.entry.js +0 -1
  578. package/dist/realtimekit-ui/p-173457a5.js +0 -1
  579. package/dist/realtimekit-ui/p-2d729cec.entry.js +0 -1
  580. package/dist/realtimekit-ui/p-3263d76d.entry.js +0 -1
  581. package/dist/realtimekit-ui/p-34c90f1c.entry.js +0 -1
  582. package/dist/realtimekit-ui/p-47314bc7.js +0 -1
  583. package/dist/realtimekit-ui/p-4ea418c9.js +0 -1
  584. package/dist/realtimekit-ui/p-55f181be.entry.js +0 -1
  585. package/dist/realtimekit-ui/p-bad807c1.entry.js +0 -1
  586. package/dist/realtimekit-ui/p-bfed80f3.entry.js +0 -1
  587. package/dist/realtimekit-ui/p-d7a5c237.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{a as t}from"./p-efabd2ce.js";const a=t=>t.split(/[#?]/)[0].split(".").pop().trim(),n=t=>{if(!t)return"0 B";const a=Math.floor(Math.log(t)/Math.log(1024));return`${(t/1024**a).toFixed(2)} ${["B","kB","MB","GB","TB"][a]}`},r=async(a,n)=>{a=t(a);let r=null==n?void 0:n.name;const e=await fetch(a);if(!e.ok)return void window.open(a,"_blank");const o=URL.createObjectURL(await e.blob()),c=document.createElement("a");c.href=o,c.download=null!=r?r:((t,a="file")=>{try{const n=new URL(t).pathname.split("/").pop();return"/"!==n?n:a}catch(t){return a}})(a,null==n?void 0:n.fallbackName),c.click()};export{n as a,r as d,a as g}
@@ -1 +0,0 @@
1
- import{c as t,E as e,F as i}from"./p-8046e263.js";import{d as r,i as a}from"./p-145caa6b.js";const o=(e,i=t())=>{let a=Object.assign({},i);return r(a,e),a},l=(t,i,r={},l={grid_pagination:!0,settings_toggle:!0})=>{var n,d,g,s,c,v,k,p,m,u,h,f,b,x,y,S,w,I;const O={showSetupScreen:!0};let _,j=["rtk-stage"],M={},T={};const A=!1!==(null==l?void 0:l.settings_toggle),R=!1!==(null==l?void 0:l.grid_pagination);if(null===(n=t.controlBar)||void 0===n?void 0:n.isEnabled){j.push("rtk-controlbar");const{elements:r}=t.controlBar,a=[...r.fullscreen?["rtk-fullscreen-toggle"]:[],...A?["rtk-settings-toggle"]:[]],o=[],l=[];(null===(d=i.participants.pip)||void 0===d?void 0:d.isSupported())&&(null===(s=null===(g=i.self)||void 0===g?void 0:g.config)||void 0===s?void 0:s.pipMode)&&"LIVESTREAM"!==(null===(c=i.self.config)||void 0===c?void 0:c.viewType)&&l.push("rtk-pip-toggle"),(null==i?void 0:i.self.permissions.canDisableParticipantAudio)&&l.push("rtk-mute-all-button"),l.push("rtk-breakout-rooms-toggle"),(null===(v=i.self)||void 0===v?void 0:v.permissions.canRecord)&&l.push("rtk-recording-toggle"),null!==(k=i.self.permissions.transcriptionEnabled)&&void 0!==k&&k&&l.push("rtk-caption-toggle"),"ReactNative"!==navigator.product&&l.push("rtk-debugger-toggle"),e(i)&&a.push("rtk-livestream-toggle"),r.screenshare&&a.push("rtk-screen-share-toggle"),r.chat&&o.push("rtk-chat-toggle"),r.polls&&o.push("rtk-polls-toggle"),r.participants&&o.push("rtk-participants-toggle"),r.plugins&&o.push("rtk-plugins-toggle"),o.push("rtk-ai-toggle");const n=["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle","rtk-leave-button"];l.length>0&&n.push("rtk-more-toggle");const p=a.concat(o).concat(l);let m=!1;p.length>0&&(m=!0),T={"rtk-controlbar":{states:["activeMoreMenu"],children:["div#controlbar-left","div#controlbar-center","div#controlbar-right"]},"div#controlbar-left":a,"div#controlbar-center":n,"div#controlbar-right":o,"rtk-more-toggle":{states:["activeMoreMenu"],children:[]},"rtk-more-toggle.activeMoreMenu":l.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-controlbar.sm":["div#controlbar-mobile"],"rtk-controlbar.md":["div#controlbar-mobile"],"rtk-more-toggle.activeMoreMenu.md":p.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-more-toggle.activeMoreMenu.sm":p.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"div#controlbar-mobile":["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle",m&&"rtk-more-toggle","rtk-leave-button"]}}if(null===(p=t.header)||void 0===p?void 0:p.isEnabled){j.unshift("rtk-header");const{elements:e}=t.header;let i=["rtk-recording-indicator","rtk-livestream-indicator"],r=[],a=[];R&&a.push("rtk-grid-pagination"),e.title&&r.push("rtk-meeting-title"),"string"==typeof e.logo&&e.logo.length>0&&(_=e.logo,i.unshift("rtk-logo")),e.participantCount&&a.push("rtk-participant-count","rtk-viewer-count"),e.timer&&a.push("rtk-clock"),M={"rtk-header":["div#header-left","div#header-center","div#header-right"],"rtk-header.sm":{remove:["div#header-center"]},"div#header-left":i,"div#header-center":r,"div#header-right":a,"div#header-left.sm":{remove:["rtk-logo"],prepend:["rtk-meeting-title"]}}}j.push("rtk-participants-audio","rtk-dialog-manager");let C={logo:_};C=t.designTokens,a(null===(u=null===(m=null==t?void 0:t.designTokens)||void 0===m?void 0:m.colors)||void 0===u?void 0:u.textOnBrand)&&(C.colors["text-on-brand"]=null===(f=null===(h=null==t?void 0:t.designTokens)||void 0===h?void 0:h.colors)||void 0===f?void 0:f.textOnBrand),a(null===(x=null===(b=null==t?void 0:t.designTokens)||void 0===b?void 0:b.colors)||void 0===x?void 0:x.videoBg)&&(C.colors["video-bg"]=null===(S=null===(y=null==t?void 0:t.designTokens)||void 0===y?void 0:y.colors)||void 0===S?void 0:S.videoBg);let z={designTokens:C,styles:{"rtk-header":{display:"grid",height:"48px",gridTemplateColumns:"repeat(3, 1fr)",gridTemplateRows:"1fr",alignItems:"center","--header-section-gap":"var(--rtk-space-2, 8px)"},"rtk-header.sm":{display:"grid",gridArea:"header",gridTemplateColumns:"repeat(2, 1fr)",gridTemplateRows:"1fr",alignItems:"center","--header-section-gap":"var(--rtk-space-1, 4px)"},"div#header-left":{display:"flex",alignItems:"center",height:"48px",wordBreak:"break-all",gap:"var(--header-section-gap)"},"rtk-logo":{height:"26px"},"div#header-center":{display:"flex",alignItems:"center",justifyContent:"center",wordBreak:"break-all",gap:"var(--header-section-gap)",paddingInline:"var(--rtk-space-3, 12px)"},"div#header-right":{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"var(--header-section-gap)"},"rtk-stage":{display:"flex",flex:"1"},"rtk-grid":{flex:"1",height:"auto"},"rtk-controlbar":{display:"grid",gridTemplateColumns:"repeat(3,1fr)",gridTemplateRows:"1fr",alignItems:"center",padding:"8px"},"rtk-controlbar.sm":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"rtk-controlbar.md":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"div#controlbar-left":{display:"flex",alignItems:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-center":{display:"flex",alignItems:"center",position:"relative",overflow:"visible",justifyContent:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-mobile":{display:"flex",flex:"1",alignItems:"center",justifyContent:"center",zIndex:"10000",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-right":{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"var(--rtk-space-1, 4px)"},"rtk-settings":{width:"720px",height:"480px"},"rtk-debugger":{width:"720px",height:"480px"},"div#setupcontrols-indicator":{position:"absolute",bottom:"12px",left:"12px",display:"flex",gap:"6px",background:"rgb(var(--rtk-colors-background-800, 0 0 0))",borderRadius:"100%"},"div#setupcontrols-media":{position:"absolute",bottom:"8px",right:"8px",display:"flex",gap:"6px"},"div#setupcontrols-settings":{position:"absolute",top:"8px",right:"8px",display:"flex",flexDirection:"column",gap:"6px"},"rtk-meeting-title.sm":{marginLeft:"0"},"rtk-clock":{marginRight:"0"}},root:Object.assign(Object.assign(Object.assign({"rtk-meeting":{state:"meeting",states:["activeSidebar","activeAI"]},"rtk-meeting[meeting=idle]":["rtk-idle-screen"],"rtk-meeting[meeting=waiting]":["rtk-waiting-screen"],"rtk-meeting[meeting=setup]":["rtk-setup-screen","rtk-dialog-manager"],"rtk-meeting[meeting=joined]":j,"rtk-meeting[meeting=joined].activeSidebar.sm":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeSidebar.md":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeAI.sm":{add:[["rtk-ai",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeAI.md":{add:[["rtk-ai",{view:"full-screen"}]]},"rtk-meeting[meeting=ended]":["rtk-ended-screen"]},M),T),{"rtk-stage":{states:["activeSidebar","activeAI"],children:["rtk-grid","rtk-notifications","rtk-transcripts"]},"rtk-stage.activeSidebar":{add:[["rtk-sidebar",{view:"sidebar"}]]},"rtk-stage.activeSidebar.sm":{remove:["rtk-sidebar"]},"rtk-stage.activeAI":{add:[["rtk-ai",{view:"sidebar"}]]},"rtk-stage.activeAI.sm":{remove:["rtk-ai"]},"rtk-grid":{states:["activeScreenShare","activePlugin","activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"rtk-grid[viewType=AUDIO_ROOM]":["rtk-audio-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activeScreenshare":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin.activeSpotlight":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activeSpotlight":["rtk-spotlight-grid"],"rtk-grid.activeScreenShare":["rtk-mixed-grid"],"rtk-grid.activePlugin":["rtk-mixed-grid"],"rtk-grid.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activePlugin.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activePlugin.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-mixed-grid":{states:["activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"rtk-mixed-grid[viewType=AUDIO_ROOM]":["rtk-audio-grid"],"rtk-mixed-grid.activeSpotlight":["rtk-spotlight-grid"],"rtk-participant-tile":{state:"meeting",children:["rtk-name-tag","rtk-avatar","rtk-network-indicator"]},"rtk-participant-setup":["rtk-avatar","div#setupcontrols-media"],"rtk-participant-tile[meeting=setup]":["rtk-avatar","div#setupcontrols-indicator","div#setupcontrols-media",...A?["div#setupcontrols-settings"]:[]],"div#setupcontrols-indicator":[["rtk-audio-visualizer",{slot:"start",hideMuted:!0}]],"div#setupcontrols-media":[["rtk-mic-toggle",{size:"sm"}],["rtk-camera-toggle",{size:"sm"}]],"div#setupcontrols-settings":[["rtk-settings-toggle",{size:"sm"}]],"rtk-screenshare-view":["rtk-name-tag","rtk-network-indicator"],"rtk-name-tag":[["rtk-audio-visualizer",{slot:"start"}]]}),config:{notification_sounds:{participant_left:!1},participant_joined_sound_notification_limit:3,participant_chat_message_sound_notification_limit:10,videoFit:"cover"}};return z=o(r,z),O.showSetupScreen=null===(I=null===(w=t.setupScreen)||void 0===w?void 0:w.isEnabled)||void 0===I||I,{config:z,data:O}},n={joined:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",left:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",message:"https://rtk-uploads.realtime.cloudflare.com/notification_message.mp3"};class d{constructor(t){this.meeting=t,this.audio=document.createElement("audio"),this.audio.volume=.3}play(t,e=3e3){var i;this.playing||(this.playing=!0,this.audio.src=n[t],this.audio.volume=.3,null===(i=this.audio.play())||void 0===i||i.catch((()=>{})),setTimeout((()=>{this.playing=!1}),e))}async setDevice(t){var e,r,a;i(this.meeting)||await(null===(a=null===(r=null===(e=this.audio)||void 0===e?void 0:e.setSinkId)||void 0===r?void 0:r.call(e,t))||void 0===a?void 0:a.catch((()=>{})))}}export{d as R,o as e,l as g}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,F as r,H as o}from"./p-0ee570cd.js";import{s as a}from"./p-efabd2ce.js";import{c as n,e as s,h as c,L as l}from"./p-8046e263.js";import{R as d}from"./p-c8eaa707.js";import{S as p}from"./p-2799d5b2.js";var h=function(t,i,e,r){var o,a=arguments.length,n=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,e,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(n=(a<3?o(n):a>3?o(i,e,n):o(i,e))||n);return a>3&&n&&Object.defineProperty(i,e,n),n};const v=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.config=n(),this.iconPack=s,this.t=c(),this.isJoining=!1,this.canEditName=!0,this.canProduceAudio=!0,this.socketStateUpdate=({state:t})=>{this.connectionState=t,"failed"===t&&(this.isJoining=!1)},this.join=async()=>{var t,i,e;if(""!==(null===(t=this.displayName)||void 0===t?void 0:t.trim())&&!this.isJoining){this.isJoining=!0,null===(i=this.meeting)||void 0===i||i.self.setName(this.displayName),l.setItem("rtk-display-name",this.displayName);try{await(null===(e=this.meeting)||void 0===e?void 0:e.joinRoom())}catch(t){this.isJoining=!1}}}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting.meta.removeListener("socketConnectionUpdate",this.socketStateUpdate)}componentDidLoad(){var t;null===(t=this.inputEl)||void 0===t||t.focus()}meetingChanged(t){var i,e,r;t&&(this.connectionState=null===(i=t.meta.socketState)||void 0===i?void 0:i.state,this.canEditName=null===(e=t.self.permissions.canEditDisplayName)||void 0===e||e,this.displayName=(null===(r=t.self.name)||void 0===r?void 0:r.trim())||(this.canEditName?"":"Participant"),t.meta.addListener("socketConnectionUpdate",this.socketStateUpdate))}render(){var t,i,n,s,c,l;if(!this.meeting)return;const p=""===(null===(t=this.displayName)||void 0===t?void 0:t.trim())||"connected"!==this.connectionState||this.isJoining,h={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},v=null===(s=null===(n=null===(i=this.meeting)||void 0===i?void 0:i.meta)||void 0===n?void 0:n.meetingTitle)||void 0===s?void 0:s.trim();return e(o,null,e("div",{class:"container"},e("div",{class:"container-tile"},e(d,{element:"rtk-participant-tile",defaults:h,props:{participant:null===(c=this.meeting)||void 0===c?void 0:c.self,size:"md",isPreview:!0},childProps:{participant:null===(l=this.meeting)||void 0===l?void 0:l.self,size:"md"},deepProps:!0}),e("div",{class:"media-selectors"},e("rtk-microphone-selector",Object.assign({},h,{variant:"inline"})),e("rtk-camera-selector",Object.assign({},h,{variant:"inline"})),e("rtk-speaker-selector",Object.assign({},h,{variant:"inline"})))),e("div",{class:"metadata"},v&&""!==v&&e("div",{class:"meeting-title"},v),this.canEditName?e(r,null,e("div",{class:"join-as"},this.t("setup_screen.join_in_as")),e("input",{placeholder:this.t("setup_screen.your_name"),value:this.displayName,spellcheck:!1,autoFocus:!0,ref:t=>{this.inputEl=t},onInput:t=>{this.displayName=t.target.value},onKeyDown:t=>{"Enter"===t.key&&this.join()}})):e("div",{class:"uneditable-name"},e("span",{class:"text"},this.t("setup_screen.join_in_as")," ")," ",e("div",{class:"name"},a(this.displayName,20))),e("rtk-button",{size:"lg",kind:"wide",onClick:this.join,disabled:p},this.isJoining?e("rtk-spinner",{iconPack:this.iconPack}):this.t("join")),"connected"!==this.connectionState&&e("div",{class:"no-network-badge"},e("rtk-icon",{size:"md",variant:"danger",icon:this.iconPack.disconnected}),this.t("failed"===this.connectionState?"network.lost_extended":"network.lost")))))}static get watchers(){return{meeting:["meetingChanged"]}}};h([p()],v.prototype,"meeting",void 0),h([p()],v.prototype,"states",void 0),h([p()],v.prototype,"config",void 0),h([p()],v.prototype,"iconPack",void 0),h([p()],v.prototype,"t",void 0),v.style=":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)}:host{box-sizing:border-box;padding:var(--rtk-space-4, 16px);height:100%;min-height:100%;width:100%;display:flex;place-items:center;justify-content:center;--rtk-controlbar-button-background-color:rgb(var(--rtk-colors-background-700, 44 44 44))}.container{width:100%;max-width:1080px;display:flex;align-items:center;justify-content:space-evenly;gap:var(--rtk-space-4, 16px)}.container-tile{display:flex;height:100%;width:100%;max-width:584px;flex-direction:column;gap:var(--rtk-space-2, 8px)}.metadata{display:flex;width:100%;max-width:var(--rtk-space-80, 320px);flex-direction:column;align-items:center;text-align:center}.meeting-title{margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:24px;font-weight:500}.join-as{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:16px;letter-spacing:-0.025em;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.uneditable-name{margin-bottom:var(--rtk-space-6, 24px)}.uneditable-name .text,.uneditable-name .name{display:inline-block}.uneditable-name .name{font-size:16px;font-weight:500}input{margin-bottom:var(--rtk-space-6, 24px);display:block;height:var(--rtk-space-10, 40px);width:100%;max-width:var(--rtk-space-80, 320px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));box-sizing:border-box;font-size:16px;outline:2px solid transparent;outline-offset:2px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}input::-moz-placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input::placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}input:focus{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity))}rtk-spinner{color:rgb(var(--rtk-colors-text-1000, 255 255 255));--icon-size:var(--rtk-space-8, 32px)}:host([size='sm']) .container,:host([size='md']) .container{height:100%;flex-direction:column;justify-content:space-evenly}:host([size='sm']) .container-tile,:host([size='md']) .container-tile{height:-moz-min-content;height:min-content;flex-direction:column;justify-content:center}rtk-participant-tile{height:auto;width:100%;max-width:584px}.media-selectors{display:flex;flex-direction:column;justify-content:space-between}.media-selectors .row{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr))}.no-network-badge{margin-top:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:row;align-items:center;justify-content:flex-start;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);font-size:12px;color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.75)}.no-network-badge rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px)}";export{v as rtk_setup_screen}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,H as e,a}from"./p-0ee570cd.js";import{e as h,h as n,c,K as o}from"./p-8046e263.js";import{l as r,R as d}from"./p-c8eaa707.js";import{f as l,s as f}from"./p-efabd2ce.js";import{c as p,b,o as v,s as k,h as u}from"./p-769bb885.js";import{S as m}from"./p-2799d5b2.js";import{d as g}from"./p-fa2ee341.js";var y=function(t,i,s,e){var a,h=arguments.length,n=h<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,e);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(h<3?a(n):h>3?a(i,s,n):a(i,s))||n);return h>3&&n&&Object.defineProperty(i,s,n),n};const x=class{constructor(s){t(this,s),this.rtkSendNotification=i(this,"rtkSendNotification",7),this.pinnedListener=({isPinned:t})=>{this.isPinned=t},this.toggleTileListener=({hidden:t})=>{this.isHidden=t},this.stageListener=({stageStatus:t})=>{this.isOnStage="ON_STAGE"===t},this.view="sidebar",this.iconPack=h,this.t=n(),this.config=c(),this.audioEnabled=!1,this.videoEnabled=!1,this.isPinned=!1,this.isHidden=!1,this.isOnStage=!1,this.canDisableParticipantAudio=!1,this.canDisableParticipantVideo=!1,this.canKickParticipant=!1,this.canPinParticipant=!1,this.canAllowParticipantOnStage=!1,this.menuOpen=!1,this.permissionsUpdateListener=()=>{this.meetingChanged(this.meeting)},this.inviteToStageToggle=async()=>{const t=this.participant,{stage:i}=this.meeting;"ACCEPTED_TO_JOIN_STAGE"!==t.stageStatus?(this.isOnStage?(t.isPinned&&t.unpin(),await i.kick([t.userId])):(await i.grantAccess([t.userId]),this.rtkSendNotification.emit({message:`${t.name} ${this.t("stage.invited_notification")}`,trace:`join-stage-invite-${t.id}`})),this.isOnStage="ON_STAGE"===t.stageStatus):this.rtkSendNotification.emit({message:`${t.name} ${this.t("stage.invited_notification")}`,trace:`join-stage-${t.id}`})},this.handleOutsideClick=t=>{!t.composedPath().includes(this.host)&&this.menuOpen&&(this.menuOpen=!1)},this.update=()=>{const t=this.host.shadowRoot.getElementById("trigger"),i=this.host.shadowRoot.getElementById("menu-list");p(t,i,{placement:"bottom-end",middleware:[b({allowedPlacements:["bottom-end","top-end"],alignment:"end"}),v(4),k({padding:8}),u()]}).then((({x:t,y:s,placement:e})=>{let a=null;a="bottom-end"===e?{right:`${t}px`,top:`${s}px`}:{right:`${t}px`,bottom:`${s}px`},Object.assign(i.style,a)}))},this.onMenuToggle=()=>{this.menuOpen=!this.menuOpen,this.menuOpen&&this.update()}}connectedCallback(){this.meetingChanged(this.meeting),this.participantChanged(this.participant),document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){var t;document.removeEventListener("click",this.handleOutsideClick),null===(t=this.meeting)||void 0===t||t.self.permissions.removeListener("permissionsUpdate",this.permissionsUpdateListener),null!=this.participant&&null!=this.participant.removeListener&&(this.audioUpdateListener&&this.participant.removeListener("audioUpdate",this.audioUpdateListener),this.videoUpdateListener&&this.participant.removeListener("videoUpdate",this.videoUpdateListener),this.participant.removeListener("pinned",this.pinnedListener),this.participant.removeListener("unpinned",this.pinnedListener),this.participant.removeListener("stageStatusUpdate",this.stageListener),this.participant.removeListener("toggleTile",this.toggleTileListener))}meetingChanged(t){var i,s,e,a,h,n,c;if(null!=t){const{self:r}=t;this.canDisableParticipantAudio=r.permissions.canAllowParticipantAudio||r.permissions.canDisableParticipantAudio,this.canDisableParticipantVideo=r.permissions.canAllowParticipantVideo||r.permissions.canDisableParticipantVideo,this.canKickParticipant=r.permissions.kickParticipant&&!0!==(null===(i=this.meeting)||void 0===i?void 0:i.__internals__.features.hasFeature(o.DISABLE_KICKING))&&(!0!==(null===(s=this.meeting)||void 0===s?void 0:s.__internals__.features.hasFeature(o.ADMIN_CANTREMOVE_ADMIN))||"webinar_admin"!==(null===(e=this.participant)||void 0===e?void 0:e.presetName)),this.canPinParticipant=r.permissions.pinParticipant,this.canAllowParticipantOnStage=r.permissions.acceptStageRequests&&r.permissions.stageEnabled&&(!0!==(null===(a=this.meeting)||void 0===a?void 0:a.__internals__.features.hasFeature(o.ADMIN_CANTREMOVE_ADMIN))||"webinar_admin"!==(null===(h=this.participant)||void 0===h?void 0:h.presetName))&&(!0!==(null===(n=this.meeting)||void 0===n?void 0:n.__internals__.features.hasFeature(o.CANTINVITE_VIEWER))||"webinar_viewer"!==(null===(c=this.participant)||void 0===c?void 0:c.presetName)),t.self.permissions.addListener("permissionsUpdate",this.permissionsUpdateListener)}}participantChanged(t){var i;if(null!=t){if(this.audioEnabled=t.audioEnabled,this.videoEnabled=t.videoEnabled,this.isPinned=t.isPinned,this.isHidden=null!==(i=t.hidden)&&void 0!==i&&i,this.isOnStage="ON_STAGE"===t.stageStatus,this.audioUpdateListener=({audioEnabled:t})=>{this.audioEnabled=t},this.videoUpdateListener=({videoEnabled:t})=>{this.videoEnabled=t},null==t.addListener)return;t.addListener("audioUpdate",this.audioUpdateListener),t.addListener("videoUpdate",this.videoUpdateListener),t.addListener("pinned",this.pinnedListener),t.addListener("unpinned",this.pinnedListener),t.addListener("stageStatusUpdate",this.stageListener),this.participant.addListener("toggleTile",this.toggleTileListener)}}render(){var t,i,a,h,n,c,o,p,b;const v="AUDIO_ROOM"===(null===(t=this.meeting)||void 0===t?void 0:t.meta.viewType),k=(null===(i=this.meeting)||void 0===i?void 0:i.self.id)===this.participant.id,u=this.canDisableParticipantAudio&&this.audioEnabled||this.canDisableParticipantVideo&&this.videoEnabled&&!v||this.canKickParticipant||this.canPinParticipant&&this.isOnStage||this.canAllowParticipantOnStage,m=l((null===(a=this.participant)||void 0===a?void 0:a.name)||""),g=this.isOnStage||["GROUP_CALL","AUDIO_ROOM"].includes(null===(h=this.meeting)||void 0===h?void 0:h.meta.viewType),y={meeting:this.meeting,size:"sm",states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};return s(e,{key:"804f9c2daf473fd518c6697a51b82f5baf63fb17"},s("div",{class:"left",key:null===(n=this.participant)||void 0===n?void 0:n.id},s("rtk-avatar",{key:"98f6f1a031269f5ca6523ed38228bcb64a3fe97d",participant:this.participant,size:"sm",iconPack:this.iconPack,t:this.t}),s("p",{key:"de05ef0806cb0e614bae951715ec263cb2271492",class:"name",title:m},f(m,16)," ",(null===(c=this.meeting)||void 0===c?void 0:c.self.id)===(null===(o=this.participant)||void 0===o?void 0:o.id)&&this.t("(you)"))),"sidebar"===this.view&&s("div",{key:"8393d899384cac8ff0e248a76f4095922f98e1cb",class:"right"},g&&s("rtk-icon",{key:"7b99b6269a101d01a8014dc4038b6bcada21203f",class:{red:!this.audioEnabled},icon:this.audioEnabled?this.iconPack.mic_on:this.iconPack.mic_off}),g&&!v&&s("rtk-icon",{key:"e6e7d7e8a50a9ad0be657b85245252300182c539",class:{red:!this.videoEnabled},icon:this.videoEnabled?this.iconPack.video_on:this.iconPack.video_off}),(u||r({element:"rtk-participant",defaults:y,childProps:{participant:this.participant}})>0)&&s("div",{key:"085e0ffe3c230ef1f21ed5de6c11ef70ccfeb69b",class:"menu"},s("span",{key:"ab295b485204509824a6bce511a80ec939e31fbb",id:"trigger",onClick:this.onMenuToggle},s("rtk-button",{key:"0f0cb35c69e63ba8d8b3835cec42aba9f65dc6b8",variant:"ghost",kind:"icon",slot:"trigger"},s("rtk-icon",{key:"ebd5705879751573de28ddad204d8f16b055a2b9",class:"more",icon:this.iconPack.more_vertical}))),s("span",{key:"98ec81219c735d44ba36eb2e677b734cc43e478d",id:"menu-list"},this.menuOpen&&s("rtk-menu-list",{key:"243c43eacd1c429f4c7bd2fcd24fef3983209226",iconPack:this.iconPack,t:this.t},this.canPinParticipant&&g&&!v&&s("rtk-menu-item",{key:"93b74a42b5b37fe15bcbe7a5217258c8cb2b48b9",onClick:()=>{this.isPinned?this.participant.unpin():this.participant.pin()},iconPack:this.iconPack,t:this.t},s("rtk-icon",{key:"0c1c8f6cc7b10c2fdea37f79ad0fc00cbb50f1d6",icon:this.isPinned?this.iconPack.pin_off:this.iconPack.pin,slot:"start"}),this.t(this.isPinned?"unpin":"pin")),k&&s("rtk-menu-item",{key:"dd4d5dff2c77f93a233a5f565d9d64fddb660c0d",iconPack:this.iconPack,t:this.t,onClick:()=>{this.isHidden?this.participant.show():this.participant.hide()}},s("rtk-icon",{key:"fdfc1cfeca1b1c63dd27fcc31a658f1d1a8d5c17",icon:this.isHidden?this.iconPack.minimize:this.iconPack.maximize,slot:"start"}),this.t(this.meeting.self.hidden?"maximize":"minimize")),this.canDisableParticipantAudio&&g&&this.audioEnabled&&s("rtk-menu-item",{key:"95edf3439889a9c468acce8ef88ababef747e018",iconPack:this.iconPack,t:this.t,onClick:()=>{this.participant.disableAudio()}},s("rtk-icon",{key:"1df60ff6541717369a5c8c1fa47dcb09e2499f8d",icon:this.iconPack.mic_off,slot:"start"}),this.t("mute")),this.canDisableParticipantVideo&&g&&this.videoEnabled&&s("rtk-menu-item",{key:"e3812a8631be2f84695b90ac80f0214a26495071",iconPack:this.iconPack,t:this.t,onClick:()=>{this.participant.disableVideo()}},s("rtk-icon",{key:"634c9c452ecd36d6c024cbb0e22a79059f4b85a6",icon:this.iconPack.video_off,slot:"start"}),this.t("participants.turn_off_video")),this.canAllowParticipantOnStage&&(null===(p=this.participant)||void 0===p?void 0:p.id)!==(null===(b=this.meeting)||void 0===b?void 0:b.self.id)&&s("rtk-menu-item",{key:"3428e0c1d22f675bbec3a920670a26dd3c7c66e5",iconPack:this.iconPack,t:this.t,class:this.isOnStage?"red":"",onClick:this.inviteToStageToggle},s("rtk-icon",{key:"55cdf3825acd959945ce82b19fd69f36e26aa476",icon:this.isOnStage?this.iconPack.leave_stage:this.iconPack.join_stage,slot:"start"}),this.t(this.isOnStage?"stage.remove_from_stage":"stage.add_to_stage")),!k&&this.canKickParticipant&&s("rtk-menu-item",{key:"affe710adb04e305b6a46b9de2d25984d6c075d6",iconPack:this.iconPack,t:this.t,class:"red",onClick:()=>{var t,i;null===(t=this.meeting)||void 0===t||t.participants.kick(null===(i=this.participant)||void 0===i?void 0:i.id)}},s("rtk-icon",{key:"d9c55c666231f76f00dd68ce0e2bedd92462ef89",icon:this.iconPack.dismiss,slot:"start"}),this.t("kick")),s("slot",{key:"7017ef52152b1908e93ce539f762120425e50562"},s(d,{key:"28c3eacd6a4572c806748a7d09a861f000430b90",element:"rtk-participant",defaults:y,childProps:{participant:this.participant},deepProps:!0,onlyChildren:!0})))))))}get host(){return a(this)}static get watchers(){return{meeting:["meetingChanged"],participant:["participantChanged"]}}};y([m()],x.prototype,"meeting",void 0),y([m()],x.prototype,"states",void 0),y([m()],x.prototype,"iconPack",void 0),y([m()],x.prototype,"t",void 0),y([m()],x.prototype,"config",void 0),x.style=":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)}:host{position:relative;display:flex;height:var(--rtk-space-14, 56px);align-items:center;justify-content:space-between;cursor:pointer;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}:host rtk-avatar{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);font-size:14px}.left{display:flex;align-items:center}.left>*{margin-right:var(--rtk-space-2, 8px)}.left>*:last-child{margin-right:var(--rtk-space-0, 0px)}.right{display:flex;align-items:center;justify-content:flex-end}.right>*{margin-left:var(--rtk-space-2, 8px)}.right>*:first-child{margin-left:var(--rtk-space-0, 0px)}.name{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}rtk-icon.red{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}rtk-icon.more{cursor:pointer}.menu{position:relative;display:inline-block;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}#menu-list{position:absolute;z-index:20}";const w=class{constructor(i){t(this,i),this.items=[],this.itemHeight=55,this.bufferedItemsCount=5,this.emptyListElement=null,this.visibleStart=0,this.visibleEnd=0,this.containerHeight=0,this.lastScrollTop=0,this.recalculatePositioning=()=>{this.updateContainerHeight(),requestAnimationFrame((()=>{this.updateItemHeight()}))},this.updateContainerHeight=()=>{this.el.querySelector(".virtual-list-container").clientHeight&&(requestAnimationFrame((()=>{this.updateItemHeight()})),this.containerHeight=this.el.querySelector(".virtual-list-container").clientHeight,this.updateVisibleRange())},this.onScroll=g((()=>{const t=this.el.querySelector(".virtual-list-container").scrollTop;t>this.lastScrollTop&&this.visibleEnd===this.items.length||(this.lastScrollTop=t,this.updateVisibleRange())}))}itemsChanged(){this.recalculatePositioning()}componentDidLoad(){this.recalculatePositioning(),this.el.querySelector(".virtual-list-container").addEventListener("scroll",this.onScroll),window.addEventListener("resize",this.recalculatePositioning)}componentDidUpdate(){this.updateItemHeight()}disconnectedCallback(){this.el.querySelector(".virtual-list-container").removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.recalculatePositioning)}updateVisibleRange(){const t=this.el.querySelector(".virtual-list-container").scrollTop,i=Math.floor(t/this.itemHeight),s=Math.ceil(this.containerHeight/this.itemHeight),e=Math.min(this.items.length,i+s+this.bufferedItemsCount);this.visibleStart=i,this.visibleEnd=e,this.el.querySelector(".virtual-list-container").scrollTop=this.lastScrollTop}updateItemHeight(){const t=this.el.querySelector(".virtual-list-item");if(t){const i=t.style.height;t.style.height="auto";const s=t.getBoundingClientRect().height;i&&(t.style.height=i),s&&Math.floor(s)!==Math.floor(this.itemHeight)&&(this.itemHeight=s)}}renderItems(){return this.items.slice(this.visibleStart,this.visibleEnd).map(((t,i)=>{const e=this.visibleStart+i;return s("div",{class:"virtual-list-item",key:t.id,style:{position:"absolute",top:e*this.itemHeight+"px",height:`${this.itemHeight}px`,width:"100%"}},this.renderItem(t,e))}))}render(){var t;return s("div",{key:"8928758911fd6ac3b955e727306f1ebfe19aba9b",class:"virtual-list-container",style:{position:"relative",height:"100%",overflowX:"hidden",overflowY:"auto"}},s("div",{key:"4812952f05b7cbcb920cf5bfe54cd30c26cb8b0d",style:{height:this.items.length*this.itemHeight+"px",position:"relative"}},(null===(t=this.items)||void 0===t?void 0:t.length)?this.renderItems():this.emptyListElement),s("div",{key:"0f9cd358e2d49af44765dbe560a323c9e8fa09f7",style:{height:`${this.itemHeight}px`}}))}get el(){return a(this)}static get watchers(){return{items:["itemsChanged"]}}};w.style=":host{height:100%;width:100%}";export{x as rtk_participant,w as rtk_virtualized_participant_list}
@@ -1 +0,0 @@
1
- import{r,h as t,H as a}from"./p-0ee570cd.js";import{h as e,T as o}from"./p-8046e263.js";import{C as s}from"./p-173457a5.js";import{s as i}from"./p-0752f2ba.js";import{S as c}from"./p-2799d5b2.js";import"./p-efabd2ce.js";var n=function(r,t,a,e){var o,s=arguments.length,i=s<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(r,t,a,e);else for(var c=r.length-1;c>=0;c--)(o=r[c])&&(i=(s<3?o(i):s>3?o(t,a,i):o(t,a))||i);return s>3&&i&&Object.defineProperty(t,a,i),i};const d=class{constructor(t){r(this,t),this.participantQuery="",this.isProcessing=!1,this.t=e(),this.transcriptions=[],this.autoScrollEnabled=!0,this.onScroll=r=>{const{scrollTop:t,clientHeight:a,scrollHeight:e}=r.target;this.autoScrollEnabled=t+a+10>=e},this.onTranscriptHandler=r=>{this.transcriptions=this.transcriptionsReducer(this.transcriptions,r)}}transcriptionsReducer(r,t){if(!r.length||r[r.length-1].peerId!==t.peerId)return r.concat(t);const a=r[r.length-1];return a.id===t.id?(a.transcript=t.transcript,r.pop(),r.concat(a)):r.concat(t)}connectedCallback(){this.meeting&&this.meetingChanged(this.meeting)}componentDidLoad(){var r;null===(r=this.contentContainer)||void 0===r||r.addEventListener("scroll",this.onScroll)}disconnectedCallback(){var r,t,a;null===(t=null===(r=this.meeting)||void 0===r?void 0:r.ai)||void 0===t||t.off("transcript",this.onTranscriptHandler),null===(a=this.contentContainer)||void 0===a||a.removeEventListener("scroll",this.onScroll)}meetingChanged(r){var t,a;this.transcriptions=o(null===(t=null==r?void 0:r.ai)||void 0===t?void 0:t.transcripts),this.transcriptions=this.transcriptions.reduce(this.transcriptionsReducer,[]),null===(a=null==r?void 0:r.ai)||void 0===a||a.on("transcript",this.onTranscriptHandler)}transcriptionsChanged(){this.autoScrollEnabled&&setTimeout((()=>{i(this.contentContainer,!1)}),100)}renderTranscripts(){const r=this.transcriptions.filter((r=>!this.participantQuery||r.name.toLowerCase().includes(this.participantQuery.toLowerCase()))),a=[];return r.forEach((r=>{const t={name:r.name,date:r.date,peerId:r.peerId,transcript:r.transcript};if(!a.length)return void a.push(t);const e=a[a.length-1];r.peerId===e.peerId?e.transcript+=" "+r.transcript:a.push(t)})),a.map((r=>t("div",{class:"message"},t(s,{name:r.name,time:new Date(r.date),now:new Date}),t("div",{class:"body"},r.transcript))))}render(){return t(a,{key:"f9d8cea8917ddb558fd721020c71e32964c4e653"},t("div",{key:"b35cf0970ccf2b813c99976e1554c2a4dc60ac12",class:"search-bar"},t("input",{key:"d6c84982fbf1f5b7c9b8264228f622ca74d60672",type:"text",placeholder:"Search Participant",value:this.participantQuery,onInput:r=>this.participantQuery=r.target.value})),this.isProcessing&&t("div",{key:"fbd031e9acdd967e2e81bcb655d3ff80a33210f5",class:"processing"},t("p",{key:"7ee274172423aaac3f286f9463ae2c2b0a01d09e"},"Processing audio....")),!this.isProcessing&&t("div",{key:"e07f3a7314132300113f955e7a83bc2ca18e6bc5",class:"content scrollbar",ref:r=>this.contentContainer=r},t("div",{key:"3ffd0b4a02a6aaa136a282f145772e2f3afd3bc1",class:"started-message"},"Transcription started"),this.renderTranscripts()))}static get watchers(){return{meeting:["meetingChanged"],transcriptions:["transcriptionsChanged"]}}};n([c()],d.prototype,"t",void 0),n([c()],d.prototype,"meeting",void 0),d.style=":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)}.head{display:flex;align-items:center}.head .name{margin-right:var(--rtk-space-4, 16px);font-size:12px;font-weight:700}.head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.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)))}*{box-sizing:border-box;border-width:0;border-style:solid}:host{width:100%;display:flex;flex-direction:column}.processing{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;justify-content:center}.content{box-sizing:border-box;display:flex;flex-direction:column;padding:var(--rtk-space-3, 12px);flex:1 0 0px;overflow-y:scroll}.started-message{margin-top:var(--rtk-space-5, 20px);margin-bottom:var(--rtk-space-5, 20px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.search-bar{height:var(--rtk-space-14, 56px);width:100%;border-bottom-width:var(--rtk-border-width-sm, 1px);--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));padding:var(--rtk-space-3, 12px)}input{height:100%;width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);font-size:14px;border-radius:var(--rtk-border-radius-sm, 4px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.caption-view{height:var(--rtk-space-12, 48px);width:100%;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);border-bottom-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));display:flex;align-items:center;justify-content:space-between;font-size:14px}.message .body{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);font-size:14px;word-break:break-word}.message{margin-bottom:var(--rtk-space-3, 12px)}.message:last-child{margin-bottom:var(--rtk-space-0, 0px)}";export{d as rtk_ai_transcriptions}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as r,H as o}from"./p-0ee570cd.js";import{e as a,h as i}from"./p-8046e263.js";import{S as c}from"./p-2799d5b2.js";var s=function(t,e,r,o){var a,i=arguments.length,c=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,r,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(c=(i<3?a(c):i>3?a(e,r,c):a(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c};const n=class{constructor(r){t(this,r),this.onDropCallback=e(this,"dropCallback",7),this.iconPack=a,this.t=i(),this.dropzoneActivated=!1}connectedCallback(){if(!this.hostEl)throw new Error("hostEl prop is required");this.hostEl.addEventListener("dragover",(t=>{t.preventDefault(),this.dropzoneActivated=!0})),this.hostEl.addEventListener("dragleave",(()=>{this.dropzoneActivated=!1})),this.hostEl.addEventListener("drop",(t=>{t.preventDefault(),this.dropzoneActivated=!1,this.onDropCallback.emit(t)}))}render(){return r(o,{key:"b48025cbb3461f9eb95eb3731d3cf0e0b7c370c7"},r("div",{key:"00112e25f54a6b0a1c66530abcf232bf553d02d2",id:"dropzone",class:{active:this.dropzoneActivated},part:"dropzone"},r("rtk-icon",{key:"57b13d941c10854e3144d6107135e610734ed9f1",icon:this.iconPack.attach}),r("p",{key:"5f803ce1f2938255b865a6b905658463f6870060"},this.t("chat.send_attachment"))))}};s([c()],n.prototype,"iconPack",void 0),s([c()],n.prototype,"t",void 0),n.style="#dropzone{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);z-index:10;display:none;flex-direction:column;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}#dropzone.active{display:flex;animation:0.2s slide-up ease-in}";export{n as rtk_file_dropzone}