@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
@@ -8,10 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
9
  return c > 3 && r && Object.defineProperty(target, key, r), r;
10
10
  };
11
- import { Host, h, Fragment, } from "@stencil/core";
11
+ import { Host, h, } from "@stencil/core";
12
12
  import { defaultIconPack } from "../../lib/icons";
13
13
  import { useLanguage } from "../../lib/lang";
14
- import { TEMPORARY_CHANNEL_PREFIX, alphabeticalSorter, getDMComparator, generateChatGroupKey, handleFilesDataTransfer, isDirectMessageChannel, parseMessageForTarget, stripOutReplyBlock, } from "../../utils/chat";
14
+ import { TEMPORARY_CHANNEL_PREFIX, alphabeticalSorter, getDMComparator, generateChatGroupKey, handleFilesDataTransfer, isDirectMessageChannel, parseMessageForTarget, } from "../../utils/chat";
15
15
  import { chatUnreadTimestamps } from "../../utils/user-prefs";
16
16
  import { FlagsmithFeatureFlags } from "../../utils/flags";
17
17
  import { createDefaultConfig } from "../../exports";
@@ -134,11 +134,6 @@ export class RtkChat {
134
134
  this.chatRecipientId = this.selectedGroup = 'everyone';
135
135
  }
136
136
  };
137
- this.usePaginatedChat = () => {
138
- if (this.isGroupCall && this.showPinnedMessages)
139
- return false;
140
- return this.selectedGroup === 'everyone';
141
- };
142
137
  this.updateUnreadCountGroups = (obj) => {
143
138
  this.unreadCountGroups = Object.assign(Object.assign({}, this.unreadCountGroups), obj);
144
139
  };
@@ -262,17 +257,7 @@ export class RtkChat {
262
257
  };
263
258
  this.onNewMessageHandler = async (e) => {
264
259
  const message = e.detail;
265
- if (this.isChatViewType) {
266
- await this.meeting.chat.sendMessageToChannel(message, this.selectedChannelId, this.replyMessage
267
- ? {
268
- replyTo: this.replyMessage,
269
- }
270
- : {});
271
- this.replyMessage = null;
272
- }
273
- else {
274
- this.meeting.chat.sendMessage(message, this.getRecipientPeerIds());
275
- }
260
+ this.meeting.chat.sendMessage(message, this.getRecipientPeerIds());
276
261
  };
277
262
  this.onEditMessageHandler = async (e) => {
278
263
  var _a, _b;
@@ -282,15 +267,6 @@ export class RtkChat {
282
267
  this.onEditCancel = () => {
283
268
  this.editingMessage = null;
284
269
  };
285
- this.onSearchHandler = async (e) => {
286
- this.searchQuery = e.detail;
287
- };
288
- this.onSearchDismissed = () => {
289
- this.searchQuery = '';
290
- };
291
- this.onChannelCreateClicked = () => {
292
- this.stateUpdate.emit({ activeChannelCreator: true });
293
- };
294
270
  this.onPinMessage = (event) => {
295
271
  const message = event.detail;
296
272
  if (message.pinned) {
@@ -304,23 +280,6 @@ export class RtkChat {
304
280
  const message = event.detail;
305
281
  this.meeting.chat.deleteMessage(message.id);
306
282
  };
307
- this.getChannelItems = () => {
308
- return this.channels.map((channel) => {
309
- const result = {
310
- id: channel.id,
311
- name: channel.displayName,
312
- avatarUrl: channel.displayPictureUrl,
313
- };
314
- if (channel.latestMessage) {
315
- result.latestMessage =
316
- channel.latestMessage.type === 'text'
317
- ? stripOutReplyBlock(channel.latestMessage.message)
318
- : '';
319
- result.latestMessageTime = channel.latestMessage.time;
320
- }
321
- return result;
322
- });
323
- };
324
283
  this.getPrivateChatRecipients = () => {
325
284
  const participants = this.getFilteredParticipants().map((participant) => {
326
285
  const key = generateChatGroupKey([participant.userId, this.meeting.self.userId]);
@@ -395,31 +354,6 @@ export class RtkChat {
395
354
  this.canPinMessages =
396
355
  ((_e = meeting === null || meeting === void 0 ? void 0 : meeting.__internals__) === null || _e === void 0 ? void 0 : _e.features.hasFeature(FlagsmithFeatureFlags.PINNED_MESSAGES)) &&
397
356
  meeting.self.permissions.pinParticipant;
398
- this.isGroupCall = meeting.meta.viewType === 'GROUP_CALL';
399
- this.isChatViewType = meeting.meta.viewType === 'CHAT';
400
- if (this.isChatViewType) {
401
- this.onChannelCreateOrUpdate();
402
- const validChannels = this.channels.filter((channel) => !channel.id.includes(TEMPORARY_CHANNEL_PREFIX));
403
- if (validChannels.length) {
404
- this.selectedChannelId = this.channels[0].id;
405
- }
406
- if (this.resizeObserver) {
407
- this.resizeObserver.disconnect();
408
- }
409
- this.resizeObserver = new ResizeObserver((entries) => {
410
- for (const entry of entries) {
411
- if (entry.contentBoxSize[0].inlineSize < 758) {
412
- this.selectorState = 'hide';
413
- }
414
- else {
415
- this.selectorState = 'desktop';
416
- }
417
- }
418
- });
419
- if (this.isChatViewType) {
420
- this.resizeObserver.observe(this.host);
421
- }
422
- }
423
357
  this.initializeChatGroups();
424
358
  // shallow copy to trigger render
425
359
  this.chatGroups = Object.assign({}, this.chatGroups);
@@ -430,12 +364,6 @@ export class RtkChat {
430
364
  meeting.participants.joined.addListener('participantJoined', this.onParticipantUpdate);
431
365
  meeting.participants.joined.addListener('participantLeft', this.onParticipantUpdate);
432
366
  }
433
- if (this.isChatViewType) {
434
- meeting.chat.addListener('channelCreate', this.onChannelCreateOrUpdate);
435
- meeting.chat.addListener('channelUpdate', this.onChannelCreateOrUpdate);
436
- meeting.chat.addListener('channelMessageUpdate', this.onChannelCreateOrUpdate);
437
- meeting.participants.all.addListener('participantsUpdate', this.onChannelCreateOrUpdate);
438
- }
439
367
  }
440
368
  }
441
369
  chatGroupsChanged(chatGroups) {
@@ -511,17 +439,8 @@ export class RtkChat {
511
439
  channelSwitchListener(e) {
512
440
  this.onChannelChanged(e);
513
441
  }
514
- renderHeadlessComponents() {
515
- return (h(Fragment, null, h("rtk-dialog-manager", { meeting: this.meeting }), h("rtk-notifications", { meeting: this.meeting })));
516
- }
517
442
  renderComposerUI() {
518
443
  var _a, _b, _c;
519
- if (this.isChatViewType && this.channels.length === 0)
520
- return null;
521
- if (this.isChatViewType && this.searchQuery !== '')
522
- return null;
523
- if (this.isChatViewType && !this.selectedChannelId)
524
- return null;
525
444
  if (this.chatRecipientId === 'everyone') {
526
445
  if (!this.canSendTextMessage && !this.canSendFiles)
527
446
  return null;
@@ -535,32 +454,16 @@ export class RtkChat {
535
454
  const quotedMessage = this.replyMessage ? this.replyMessage.message : '';
536
455
  return (h("rtk-chat-composer-view", Object.assign({ message: message, storageKey: (_a = this.selectedChannelId) !== null && _a !== void 0 ? _a : `draft-${this.selectedChannelId}`, quotedMessage: quotedMessage, isEditing: !!this.editingMessage, canSendTextMessage: this.isTextMessagingAllowed(), canSendFiles: this.isFileMessagingAllowed(), disableEmojiPicker: !!((_c = (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.__internals__) === null || _c === void 0 ? void 0 : _c.features.hasFeature(FlagsmithFeatureFlags.DISABLE_EMOJI_PICKER)), maxLength: this.meeting.chat.maxTextLimit, rateLimits: this.meeting.chat.rateLimits, inputTextPlaceholder: this.t('chat.message_placeholder'), onNewMessage: this.onNewMessageHandler, onEditMessage: this.onEditMessageHandler, onEditCancel: this.onEditCancel, onQuotedMessageDismiss: this.onQuotedMessageDismiss }, uiProps), h("slot", { name: "chat-addon", slot: "chat-addon" })));
537
456
  }
538
- renderFullChat() {
539
- if (this.creatingChannel) {
540
- return (h("div", { class: "banner" }, h("rtk-spinner", { size: "lg" })));
541
- }
542
- if (this.channels.length === 0 || !this.selectedChannelId) {
543
- return (h("div", { class: "banner" }, h("rtk-icon", { icon: this.iconPack.create_channel_illustration, slot: "start", class: 'create-channel-illustration' }), h("rtk-button", { kind: "wide", variant: "primary", size: "md", onClick: this.onChannelCreateClicked, class: "welcome-new-channel" }, h("rtk-icon", { icon: this.iconPack.add, slot: "start" }), h("span", null, this.t('chat.new_channel'))), (this.selectorState === 'mobile' || this.selectorState === 'hide') && (h("rtk-button", { kind: "button", variant: "secondary", size: "md", class: "view-chats-btn", onClick: () => {
544
- this.selectorState = 'mobile';
545
- } }, h("rtk-icon", { icon: this.iconPack.chat, slot: "start" }), h("span", null, this.t('chat.view_chats'))))));
546
- }
547
- const selectedChannel = this.channels.find((channel) => channel.id === this.selectedChannelId);
548
- return (h("div", { class: "chat" }, h("rtk-channel-header", { slot: "header", meeting: this.meeting, channel: selectedChannel, onSearch: this.onSearchHandler, onSearchDismissed: this.onSearchDismissed, showBackButton: this.selectorState === 'mobile' || this.selectorState === 'hide', onBack: () => {
549
- this.selectorState = 'mobile';
550
- } }), this.searchQuery !== '' && (h("rtk-chat-search-results", { meeting: this.meeting, query: this.searchQuery, channelId: this.selectedChannelId })), this.searchQuery === '' && (h("rtk-chat-messages-ui-paginated", { meeting: this.meeting, size: this.size, iconPack: this.iconPack, t: this.t, selectedChannelId: this.selectedChannelId, selectedChannel: selectedChannel }))));
551
- }
552
457
  render() {
553
- var _a, _b;
458
+ var _a;
554
459
  if (!this.meeting) {
555
460
  return null;
556
461
  }
557
- const uiProps = { iconPack: this.iconPack, t: this.t, size: this.size };
558
- const selfUserId = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId;
559
462
  let chatMessages = this.chatGroups[this.selectedGroup] || [];
560
463
  if (this.showPinnedMessages && this.meeting.chat.pinned.length !== 0) {
561
464
  chatMessages = chatMessages.filter((chat) => chat.type === 'chat' && chat.message.pinned);
562
465
  }
563
- return (h(Host, null, this.isChatViewType && this.renderHeadlessComponents(), h("div", { class: "chat-container" }, this.isChatViewType && (h("div", { class: { 'selector-container': true, [this.selectorState]: true } }, h("rtk-channel-selector-view", { channels: this.getChannelItems(), selectedChannelId: this.selectedChannelId, onChannelChange: this.onChannelChanged, t: this.t }, h("div", { class: "channel-selector-header", slot: "header" }, h("rtk-logo", { meeting: this.meeting, config: this.config, t: this.t }), h("rtk-tooltip", { label: this.t('chat.new_channel') }, h("rtk-button", { kind: "button", variant: "ghost", size: "md", onClick: this.onChannelCreateClicked, class: "channel-create-btn" }, h("rtk-icon", { icon: this.iconPack.add }))))), h("rtk-button", { kind: "icon", variant: "ghost", class: "mobile-close-btn", onClick: () => (this.selectorState = 'hide') }, h("rtk-icon", { icon: this.iconPack.dismiss })))), h("div", { class: "chat" }, this.isFileMessagingAllowed() && (h("div", { id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { icon: this.iconPack.attach }), h("p", null, this.t('chat.send_attachment')))), this.renderPinnedMessagesHeader(), this.isPrivateChatSupported() && (h("rtk-channel-selector-view", { channels: this.getPrivateChatRecipients(), selectedChannelId: ((_b = this.selectedParticipant) === null || _b === void 0 ? void 0 : _b.userId) || 'everyone', onChannelChange: this.updateRecipients, t: this.t, viewAs: "dropdown" })), this.isChatViewType ? (this.renderFullChat()) : this.usePaginatedChat() ? (h("rtk-chat-messages-ui-paginated", { meeting: this.meeting, onPinMessage: this.onPinMessage, onDeleteMessage: this.onDeleteMessage, size: this.size, iconPack: this.iconPack, t: this.t })) : (h("rtk-chat-messages-ui", Object.assign({ messages: chatMessages, selfUserId: selfUserId, selectedGroup: this.selectedGroup, onPinMessage: this.onPinMessage, canPinMessages: this.canPinMessages }, uiProps))), this.renderComposerUI()))));
466
+ return (h(Host, null, h("div", { class: "chat-container" }, h("div", { class: "chat" }, this.isFileMessagingAllowed() && (h("div", { id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { icon: this.iconPack.attach }), h("p", null, this.t('chat.send_attachment')))), this.renderPinnedMessagesHeader(), this.isPrivateChatSupported() && (h("rtk-channel-selector-view", { channels: this.getPrivateChatRecipients(), selectedChannelId: ((_a = this.selectedParticipant) === null || _a === void 0 ? void 0 : _a.userId) || 'everyone', onChannelChange: this.updateRecipients, t: this.t, viewAs: "dropdown" })), h("rtk-chat-messages-ui-paginated", { meeting: this.meeting, onPinMessage: this.onPinMessage, onDeleteMessage: this.onDeleteMessage, size: this.size, iconPack: this.iconPack, t: this.t }), this.renderComposerUI()))));
564
467
  }
565
468
  static get is() { return "rtk-chat"; }
566
469
  static get encapsulation() { return "shadow"; }
@@ -12,6 +12,7 @@ import { Host, h } from "@stencil/core";
12
12
  import { defaultIconPack } from "../../exports";
13
13
  import { useLanguage } from "../../lib/lang";
14
14
  import { SyncWithStore } from "../../utils/sync-with-store";
15
+ /** @deprecated `rtk-chat-message` is deprecated and will be removed soon. Use `rtk-message-view` instead. */
15
16
  export class RtkChatMessage {
16
17
  constructor() {
17
18
  /** Icon pack */
@@ -84,11 +85,11 @@ export class RtkChatMessage {
84
85
  } })));
85
86
  }
86
87
  render() {
87
- return (h(Host, { key: '50c4021e3c717d8d2c7e035ce6541adca05ca3d2' }, h("div", { key: '1f5a0d679baea7ea72855846f57fa8419e46f019', class: {
88
+ return (h(Host, { key: '358cc92774694c9c31b965f823efd5047685ddd3' }, h("div", { key: '084dbfc81b75420c66f949b9799a60563c39b6b2', class: {
88
89
  'message-wrapper': true,
89
90
  'align-right': this.alignRight,
90
91
  'left-align': this.leftAlign,
91
- }, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: '1f11244450725426035076a80fcc41a76ef0b7a4', class: {
92
+ }, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: 'e3f3490eccdc1550b9232bf70f2d8f6717f2fac4', class: {
92
93
  message: true,
93
94
  'show-on-hover': !this.isTouchDevice(),
94
95
  }, "is-continued": this.isContinued }, this.renderMessage(), this.renderControls()))));
@@ -8,13 +8,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
9
  return c > 3 && r && Object.defineProperty(target, key, r), r;
10
10
  };
11
- import { Host, h, writeTask, } from "@stencil/core";
11
+ import { Build, Host, h, writeTask, } from "@stencil/core";
12
12
  import { defaultIconPack } from "../../exports";
13
13
  import { useLanguage } from "../../lib/lang";
14
14
  import { differenceInMinutes, elapsedDuration, formatDateTime } from "../../utils/date";
15
15
  import { smoothScrollToBottom } from "../../utils/scroll";
16
16
  import { chatUnreadTimestamps } from "../../utils/user-prefs";
17
17
  import { SyncWithStore } from "../../utils/sync-with-store";
18
+ let hasShownDeprecationWarning = false;
19
+ /**
20
+ * @deprecated Use `rtk-chat-messages-ui-paginated` instead.
21
+ */
18
22
  export class RtkChatMessagesUi {
19
23
  constructor() {
20
24
  this.observingEl = [];
@@ -80,6 +84,11 @@ export class RtkChatMessagesUi {
80
84
  }
81
85
  connectedCallback() {
82
86
  var _a;
87
+ if (Build.isDev && !hasShownDeprecationWarning) {
88
+ hasShownDeprecationWarning = true;
89
+ // eslint-disable-next-line no-console
90
+ console.warn('[realtimekit-ui] `rtk-chat-messages-ui` is deprecated and will be removed in a future release. Use `rtk-chat-messages-ui-paginated` instead.');
91
+ }
83
92
  this.lastReadTimestamp = (_a = chatUnreadTimestamps['everyone']) !== null && _a !== void 0 ? _a : new Date('0001-01-01T00:00:00Z');
84
93
  this.intersectionObserver = new IntersectionObserver((entries) => {
85
94
  if (!document.hasFocus())
@@ -153,7 +162,7 @@ export class RtkChatMessagesUi {
153
162
  var _a;
154
163
  let prevMessage = null;
155
164
  let reachedFirstUnread = false;
156
- return (h(Host, { key: '1e44ac8e6bd0eabff25aaedb905d80fb4007903d' }, h("div", { key: 'ffbb1fe97efc2408e2ee7e4bccef1cc8a3100b66', class: "chat-container scrollbar", ref: (el) => (this.$chat = el), part: "container" }, h("div", { key: '58d11c81a25a0760d3bdd9e60a8a6d0a96c022c2', class: "spacer", part: "spacer" }), h("div", { key: 'be68b5ccfd53bc7ec4c7dc23b10fe325a7c54314', class: "chat", part: "chat" }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.map((item) => {
165
+ return (h(Host, { key: '02149982e96642f42c8850f5d501c038874300f7' }, h("div", { key: 'bcc27f4f4c620175c5b6daead99d0a1b64e6bba8', class: "chat-container scrollbar", ref: (el) => (this.$chat = el), part: "container" }, h("div", { key: '4d4ba71a572095a28aa7c03e70a724521122e96d', class: "spacer", part: "spacer" }), h("div", { key: 'eca7d4406536b4e1b8d907bffe9a1ed6ad311dd4', class: "chat", part: "chat" }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.map((item) => {
157
166
  if (item.type === 'chat') {
158
167
  const { message } = item;
159
168
  const isSelfMessage = message.userId === this.selfUserId;
@@ -172,10 +181,10 @@ export class RtkChatMessagesUi {
172
181
  } })))), message.pinned && (h("div", { class: "pin-button", part: "pin-button" }, h("rtk-tooltip", { label: this.t('unpin') }, h("rtk-button", { kind: "icon", variant: "ghost", onClick: () => this.onMessageActionHandler('pin_message', message), disabled: !this.canPinMessages }, h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }))))))));
173
182
  }
174
183
  return null;
175
- }))), h("div", { key: 'ae321cae98279cb45e61968b5fab1806d8ae2f33', class: "show-new-messages-ctr" }, h("rtk-button", { key: 'e593e952615692612b2423e49975f97bb22df0fe', class: {
184
+ }))), h("div", { key: '8cbfbb3eef3f8640ddd66f68d0287cff5ade6997', class: "show-new-messages-ctr" }, h("rtk-button", { key: 'c9d841cf2d557b766c4a642291779562b71d25a1', class: {
176
185
  'show-new-messages': true,
177
186
  active: this.showLatestMessageButton,
178
- }, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: '454e7ecb90b1660b882bb6f988beb1d7d0494d5f', icon: this.iconPack.chevron_down })))));
187
+ }, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: 'c579ffd1d28139fd82535c6cc0f661118b670a59', icon: this.iconPack.chevron_down })))));
179
188
  }
180
189
  static get is() { return "rtk-chat-messages-ui"; }
181
190
  static get encapsulation() { return "shadow"; }
@@ -123,7 +123,9 @@ export class RtkChatMessagesUiPaginated {
123
123
  .find((member) => member.userId === message.userId)) === null || _b === void 0 ? void 0 : _b.picture) !== null && _c !== void 0 ? _c : (_d = this.meeting.participants.waitlisted.toArray().find((p) => p.userId === message.userId)) === null || _d === void 0 ? void 0 : _d.picture;
124
124
  }
125
125
  }
126
- return (h("div", { class: { pinned: message.pinned } }, h("div", { class: "message-wrapper" }, h("rtk-message-view", { time: message.time, actions: this.getMessageActions(message), authorName: message.displayName, avatarUrl: displayPicture, hideAuthorName: isContinued, viewType: 'incoming', variant: "bubble", onAction: (event) => this.onMessageActionHandler(event.detail, message) }, h("div", null, h("div", { class: "body" }, message.type === 'text' && (h("rtk-text-message-view", { text: message.message, isMarkdown: true })), message.type === 'file' && (h("rtk-file-message-view", { name: message.name, url: message.link, size: message.size })), message.type === 'image' && (h("rtk-image-message-view", { url: message.link, onPreview: () => {
126
+ const isSelf = message.userId === this.meeting.self.userId;
127
+ const viewType = isSelf ? 'outgoing' : 'incoming';
128
+ return (h("div", { class: { pinned: message.pinned } }, h("div", { class: "message-wrapper" }, h("rtk-message-view", { time: message.time, actions: this.getMessageActions(message), authorName: message.displayName, isSelf: isSelf, avatarUrl: displayPicture, hideAuthorName: isContinued, viewType: viewType, variant: "bubble", onAction: (event) => this.onMessageActionHandler(event.detail, message) }, h("div", null, h("div", { class: "body" }, message.type === 'text' && (h("rtk-text-message-view", { text: message.message, isMarkdown: true })), message.type === 'file' && (h("rtk-file-message-view", { name: message.name, url: message.link, size: message.size })), message.type === 'image' && (h("rtk-image-message-view", { url: message.link, onPreview: () => {
127
129
  this.stateUpdate.emit({ image: message });
128
130
  } }))), message.pinned && (h("div", { class: "pin-icon", part: "pin-icon" }, h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }))))))));
129
131
  };
@@ -171,7 +173,7 @@ export class RtkChatMessagesUiPaginated {
171
173
  this.lastReadMessageIndex = -1;
172
174
  }
173
175
  render() {
174
- return (h(Host, { key: 'd0ae21ca32589c18ede4b1e4b4682f5b82b58320' }, h("rtk-paginated-list", { key: 'bff3bdae7c6bbefed8dd8b478ac60370067c75a6', ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getChatMessages, createNodes: this.createChatNodes, selectedItemId: this.selectedChannelId, emptyListLabel: this.t('chat.empty_channel') }, h("slot", { key: '043cfe627a1056c2267dd00705ff33e7e96f1f89' }))));
176
+ return (h(Host, { key: '6fdfc734e2f31c5e6d6ef616766ae1eadbbc44aa' }, h("rtk-paginated-list", { key: '4286561871575f00871ecd177aae852846c35ecd', ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getChatMessages, createNodes: this.createChatNodes, selectedItemId: this.selectedChannelId, emptyListLabel: this.t('chat.empty_channel') }, h("slot", { key: 'd101b1f6d86fcc058dba3146ae8ce783978c93cd' }))));
175
177
  }
176
178
  static get is() { return "rtk-chat-messages-ui-paginated"; }
177
179
  static get encapsulation() { return "shadow"; }
@@ -11,6 +11,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
11
11
  import { h, Host } from "@stencil/core";
12
12
  import { defaultIconPack, useLanguage } from "../../exports";
13
13
  import { SyncWithStore } from "../../utils/sync-with-store";
14
+ /** @deprecated `rtk-chat-search-results` is deprecated and will be removed soon. Use `rtk-chat-messages-ui-paginated` instead. -*/
14
15
  export class RtkChatSearchResults {
15
16
  constructor() {
16
17
  /** Icon pack */
@@ -31,7 +32,7 @@ export class RtkChatSearchResults {
31
32
  };
32
33
  }
33
34
  render() {
34
- return (h(Host, { key: '9947c793cb766158d4ed3d81871bbdb8b60274af' }, h("rtk-paginated-list", { key: '0d91dc8818b08c7ed053728074c483f159811a41', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
35
+ return (h(Host, { key: '226b9e52950fca3d296b041dbd93a6c060ad4abe' }, h("rtk-paginated-list", { key: '102af9de7e52317a5f9a8272e9e8a302f99268da', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
35
36
  }
36
37
  static get is() { return "rtk-chat-search-results"; }
37
38
  static get encapsulation() { return "shadow"; }
@@ -71,9 +71,9 @@ export class RtkClock {
71
71
  }
72
72
  render() {
73
73
  const showClock = this.startedTime !== undefined;
74
- return (h(Host, { key: '23a8a2e6c14a8c1d1dd70dce26df45f1a302f085', "data-hidden": !showClock, tabIndex: 0, role: "timer", "aria-live": "off" }, this.startedTime !== undefined && [
75
- h("rtk-icon", { key: '914bd75f8e3a14df602bbb58b2c2d75b26f7cb27', icon: this.iconPack.clock, "aria-hidden": true, tabIndex: -1, part: "icon" }),
76
- h("span", { key: 'abb38cd4d3dbb3a6be06d1bf98b082c42551af2c', part: "text" }, this.getFormattedTime()),
74
+ return (h(Host, { key: '6e6b7a331666cd98cb100dca5c2869a8b5688553', "data-hidden": !showClock, tabIndex: 0, role: "timer", "aria-live": "off" }, this.startedTime !== undefined && [
75
+ h("rtk-icon", { key: '91cd9140d88447cd6662e08f4d2ed4c0df62858b', icon: this.iconPack.clock, "aria-hidden": true, tabIndex: -1, part: "icon" }),
76
+ h("span", { key: 'eba0772ccc8f0cc14c9c4dd7c11574dcc368b443', part: "text" }, this.getFormattedTime()),
77
77
  ]));
78
78
  }
79
79
  static get is() { return "rtk-clock"; }
@@ -47,7 +47,7 @@ export class RtkConfirmationModal {
47
47
  render() {
48
48
  var _a, _b;
49
49
  const state = this.states.activeConfirmationModal;
50
- return (h(Host, { key: 'c79124361c70a80d200f4021c7483038f330b683' }, h("div", { key: 'a1c812cc2742b0eca2525416e67579864a8c0ae7', class: "leave-modal" }, h("div", { key: '21edbc34bdd1c996707d297abf86a1c04a487396', class: "header" }, h("h2", { key: 'a7c77cf1a39bc46b787b851d51a5cd37695e44eb', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && h("p", { key: '25ceecc3c208442821795ebf0a1a981b5130d1d9', class: "message" }, this.t(state.content)), h("div", { key: 'f081c0544fb467787cbfea432575d4a16a1c42c3', class: "content" }, h("div", { key: 'a7cf64611e6a516624310fbe0c119c279bec682d', class: "leave-meeting" }, h("rtk-button", { key: '469b16b167d943f369f9995c9b0d20225108303a', variant: "secondary", title: state.cancelText ? this.t(state.cancelText) : this.t('cancel'), onClick: this.close, class: "br-secondary-btn" }, state.cancelText ? this.t(state.cancelText) : this.t('cancel')), h("rtk-button", { key: '5fc8427e0b0c51fad3a4d033f1d6c4b4399477f3', onClick: () => this.onConfirmation(), variant: (_b = (_a = this.states.activeConfirmationModal) === null || _a === void 0 ? void 0 : _a.variant) !== null && _b !== void 0 ? _b : 'danger', title: state.ctaText ? this.t(state.ctaText) : this.t('yes') }, state.ctaText ? this.t(state.ctaText) : this.t('yes')))))));
50
+ return (h(Host, { key: '716b099a3b9d9886c41626cf977e6de8e744894b' }, h("div", { key: 'bac586faa92a4a80b78e36cbef361eec830a8ee2', class: "leave-modal" }, h("div", { key: 'ee19990482ae51504da014bf7d804b4bf577a14a', class: "header" }, h("h2", { key: 'd220797780f3f93b27f1ae511a9fd30e0211b957', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && h("p", { key: '498688e185b24eec250bcbcdd555fedc15980395', class: "message" }, this.t(state.content)), h("div", { key: '43f6068e6a14c1798ea2d9dec4dafd110222a5aa', class: "content" }, h("div", { key: 'dde485ee17c18a7a15dafd5347e9981ea6af4fe4', class: "leave-meeting" }, h("rtk-button", { key: '9cbbbe08509212e581b2e0768653a9f97efa45e3', variant: "secondary", title: state.cancelText ? this.t(state.cancelText) : this.t('cancel'), onClick: this.close, class: "br-secondary-btn" }, state.cancelText ? this.t(state.cancelText) : this.t('cancel')), h("rtk-button", { key: 'd6c1deaa86c2ec2dd607583aaf9ef3238c343183', onClick: () => this.onConfirmation(), variant: (_b = (_a = this.states.activeConfirmationModal) === null || _a === void 0 ? void 0 : _a.variant) !== null && _b !== void 0 ? _b : 'danger', title: state.ctaText ? this.t(state.ctaText) : this.t('yes') }, state.ctaText ? this.t(state.ctaText) : this.t('yes')))))));
51
51
  }
52
52
  static get is() { return "rtk-confirmation-modal"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class RtkControlbar {
40
40
  iconPack: this.iconPack,
41
41
  size: this.size,
42
42
  };
43
- return (h(Host, { key: '65680394a70e60ccdb25b0a872ab433610e1b8b7' }, !this.disableRender && (h(Render, { key: '244f8d28e5a18483193a8a62fabd7550c06c110d', element: "rtk-controlbar", defaults: defaults, onlyChildren: true })), h("slot", { key: 'e77d170e9292b6b1c0962c196ea9232ea4372294' })));
43
+ return (h(Host, { key: 'f4fee1168f1b057865a0c615c563158df7f7e2fd' }, !this.disableRender && (h(Render, { key: '58945391fb15e670a385f12e3d5861b03597ed61', element: "rtk-controlbar", defaults: defaults, onlyChildren: true })), h("slot", { key: 'df55eba453868617350ec45fc0437ecb11e03597' })));
44
44
  }
45
45
  static get is() { return "rtk-controlbar"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class RtkCounter {
40
40
  this.input = Math.max(this.minValue, parseInt(this.input) - 1).toString();
41
41
  }
42
42
  render() {
43
- return (h(Host, { key: '151ffb29ae91788d05b46f4c795b817c20a35b90' }, h("rtk-button", { key: '9568cb52875c92f57597033cc7b396fa5c2d0371', kind: "icon", variant: "ghost", onClick: () => this.decrement() }, h("rtk-icon", { key: '8ef248b64e90f01bd1f78db5048db148d7c374c9', icon: this.iconPack.subtract })), h("input", { key: '376d604bb62a6c9013e7361da51de8f05f34c870', type: "number", value: this.input, min: this.minValue, onInput: (e) => {
43
+ return (h(Host, { key: 'ef85b8128d8f6470dade486d8b31948db504ca21' }, h("rtk-button", { key: 'cfe52b812fcbb969cfa26cfd6f07aaf2f8b68cb2', kind: "icon", variant: "ghost", onClick: () => this.decrement() }, h("rtk-icon", { key: '947cbae0757f3b56ca511789d431da4a9457259a', icon: this.iconPack.subtract })), h("input", { key: '082850c82f03fa110b670234c676b35e56ac663f', type: "number", value: this.input, min: this.minValue, onInput: (e) => {
44
44
  const val = parseInt(e.target.value, 10);
45
45
  if (isNaN(val) || val < this.minValue) {
46
46
  this.input = this.minValue.toString();
@@ -48,7 +48,7 @@ export class RtkCounter {
48
48
  else {
49
49
  this.input = val.toString();
50
50
  }
51
- } }), h("rtk-button", { key: 'cea8491840c69cf3856e97d97b5c4f34abf45e55', kind: "icon", variant: "ghost", onClick: () => this.increment() }, h("rtk-icon", { key: 'cb2146960e8c8368cce69fb8d8a696078bcea2fc', icon: this.iconPack.add }))));
51
+ } }), h("rtk-button", { key: 'fcb469289475e418446019725f47b3fcfe4a2ec1', kind: "icon", variant: "ghost", onClick: () => this.increment() }, h("rtk-icon", { key: 'd4f907255b622dfea369815f4c99ea3a4656caf7', icon: this.iconPack.add }))));
52
52
  }
53
53
  static get is() { return "rtk-counter"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class RtkDebuggerToggle {
29
29
  });
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: '5675d28a2da23df6c54e79827b0adf37ef128cd9', title: this.t('Troubleshooting') }, h("rtk-controlbar-button", { key: 'b8e16bbfb77fe9c4d50e872ed4eaecf351816a98', size: this.size, iconPack: this.iconPack, onClick: () => this.toggleDebugger(), icon: this.iconPack.debug, label: this.t('Troubleshooting'), variant: this.variant })));
32
+ return (h(Host, { key: 'cc9ec6cade76093abba3a48502d12a82868a875a', title: this.t('Troubleshooting') }, h("rtk-controlbar-button", { key: '6b8bcf2e363dfcdfb8e0f90c8602d95cdf338544', size: this.size, iconPack: this.iconPack, onClick: () => this.toggleDebugger(), icon: this.iconPack.debug, label: this.t('Troubleshooting'), variant: this.variant })));
33
33
  }
34
34
  static get is() { return "rtk-debugger-toggle"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -132,12 +132,6 @@ export class RtkDialogManager {
132
132
  this.updateStoreState('activeMuteAllConfirmation', false);
133
133
  }, iconPack: this.iconPack, t: this.t }, h("rtk-mute-all-confirmation", Object.assign({}, defaults)))));
134
134
  }
135
- else if (states === null || states === void 0 ? void 0 : states.activeChannelCreator) {
136
- return (h(Host, null, h("rtk-dialog", { open: true, onRtkDialogClose: () => {
137
- this.updateStoreState('activeChannelCreator', false);
138
- }, iconPack: this.iconPack, t: this.t }, h("rtk-channel-creator", Object.assign({}, defaults)))));
139
- }
140
- return null;
141
135
  }
142
136
  static get is() { return "rtk-dialog-manager"; }
143
137
  static get encapsulation() { return "shadow"; }
@@ -53,7 +53,7 @@ export class RtkDraftAttachmentView {
53
53
  this.onAttachmentChange();
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '22c8ff3317b6247dc6a0fa2088f28dc293de9738' }, h("div", { key: '317c0e6a06849af0af42d81353dc0002b82185a5', class: "preview-overlay" }, h("div", { key: '94d0d35a3696725b59341303760212cf6e01c8a7', class: "preview" }, h("rtk-tooltip", { key: '3171acf60f22a80cbcbf9d3d6f8cf5ac61b67b67', label: this.t('chat.cancel_upload') }, h("rtk-button", { key: '37d1055de9d59318c0f7f612dee3304838142968', variant: "secondary", kind: "icon", onClick: this.onDeleteClickHandler }, h("rtk-icon", { key: '9988b389300e0c6bd404d02440d7b3d323f384dd', icon: this.iconPack.dismiss }))), this.attachment.type === 'image' ? (h("img", { class: "preview-image", src: this.filePreview })) : (h("div", { class: "preview-file" }, h("span", null, this.filePreview)))))));
56
+ return (h(Host, { key: 'b23eb412c60a62f542aec0e3cd3b99fc72de48f0' }, h("div", { key: '04251f8d4b13325f8474110c89733369bd8904f2', class: "preview-overlay" }, h("div", { key: '51963510a704b19e7c591ea177018bae6e0317f5', class: "preview" }, h("rtk-tooltip", { key: '3a2167ea7a02f1d744462826084f0fef5c607ac9', label: this.t('chat.cancel_upload') }, h("rtk-button", { key: '634c9a7e0962ed82c36519e919eb597c9b603f51', variant: "secondary", kind: "icon", onClick: this.onDeleteClickHandler }, h("rtk-icon", { key: 'b936e54ae44e1d54b73adf38a92551fbea0299c5', icon: this.iconPack.dismiss }))), this.attachment.type === 'image' ? (h("img", { class: "preview-image", src: this.filePreview })) : (h("div", { class: "preview-file" }, h("span", null, this.filePreview)))))));
57
57
  }
58
58
  static get is() { return "rtk-draft-attachment-view"; }
59
59
  static get encapsulation() { return "shadow"; }
@@ -57,7 +57,7 @@ export class RtkEmojiPicker {
57
57
  return (h("div", { id: "emoji-grid", class: "scrollbar max-w-40" }, this.filteredEmojis.map((e) => (h("rtk-button", { key: `emoji-button-${e.name}`, class: "emoji", variant: "ghost", kind: "icon", title: e.name, onClick: () => this.handleEmojiClick(e.emoji) }, e.emoji)))));
58
58
  }
59
59
  render() {
60
- return (h(Host, { key: '48f4159ff5232b9d03fdcabf2d39e4375ca4fa14' }, h("div", { key: '20f86592a9dc47231c0c6cf33484af981533e21d', class: 'close-parent' }, h("rtk-button", { key: 'cff61f9c8fa0c1e0a8b6dc9433abedf914f9ded0', variant: "ghost", kind: "icon", class: "close", onClick: () => { var _a; return (_a = this.pickerClose) === null || _a === void 0 ? void 0 : _a.emit(); }, "aria-label": this.t('close') }, h("rtk-icon", { key: '56a12d4cc55b80ea026c92906466ebb10bf6cd6e', icon: this.iconPack.dismiss }))), h("div", { key: 'b48a1933b33f9886f39955ecbd046ffff370719b', class: 'emoji-parent' }, h("input", { key: '40d0f74a160358c3214b810de0f2ee6f286f1af7', value: this.filterVal, onInput: (event) => this.handleInputChange(event.target), placeholder: this.t('search'), ref: (el) => (this.inputElement = el) }), this.mapEmojiList())));
60
+ return (h(Host, { key: 'e099d5996a16c659de17ca9a36fcd79a9f02f400' }, h("div", { key: '2a3e300c9625b877feb2b6780df7d1a9851cb7f3', class: 'close-parent' }, h("rtk-button", { key: '7ca8421704136d09d107d1f7392ba393d5f59a9a', variant: "ghost", kind: "icon", class: "close", onClick: () => { var _a; return (_a = this.pickerClose) === null || _a === void 0 ? void 0 : _a.emit(); }, "aria-label": this.t('close') }, h("rtk-icon", { key: '040069093f7243bf5075d55b2c081c564d885a8f', icon: this.iconPack.dismiss }))), h("div", { key: '372a32be35dea5200323720e221424b5138cc4ab', class: 'emoji-parent' }, h("input", { key: 'fae2be13d736adbb99212146498f00d4f395636e', value: this.filterVal, onInput: (event) => this.handleInputChange(event.target), placeholder: this.t('search'), ref: (el) => (this.inputElement = el) }), this.mapEmojiList())));
61
61
  }
62
62
  static get is() { return "rtk-emoji-picker"; }
63
63
  static get encapsulation() { return "shadow"; }
@@ -19,7 +19,7 @@ export class RtkEmojiPickerButton {
19
19
  this.t = useLanguage();
20
20
  }
21
21
  render() {
22
- return (h("rtk-tooltip", { key: '9826128cb78d2cb79a21b4dcb877ecc1ab020090', label: this.t('chat.send_emoji') }, h("rtk-button", { key: '07fd6bcc6ffdb58278c843748f771a2597f8edcd', variant: "ghost", kind: "icon", class: { active: this.isActive }, title: this.t('chat.send_emoji') }, h("rtk-icon", { key: '30f352d18771bd542d9ca4ff1a4615ef5958ec7d', icon: this.iconPack.emoji_multiple }))));
22
+ return (h("rtk-tooltip", { key: 'bcde14fb2c3a6544882502e65ffda7a6b3b6f13d', label: this.t('chat.send_emoji') }, h("rtk-button", { key: 'd82fa78c4ffe48c24131a6e38f087548f540fefa', variant: "ghost", kind: "icon", class: { active: this.isActive }, title: this.t('chat.send_emoji') }, h("rtk-icon", { key: '791bbe2537f1aeb064c5e9ccbbf4af37b706ec2a', icon: this.iconPack.emoji_multiple }))));
23
23
  }
24
24
  static get is() { return "rtk-emoji-picker-button"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -37,7 +37,7 @@ export class RtkFileDropzone {
37
37
  });
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: 'b48025cbb3461f9eb95eb3731d3cf0e0b7c370c7' }, h("div", { key: '00112e25f54a6b0a1c66530abcf232bf553d02d2', id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { key: '57b13d941c10854e3144d6107135e610734ed9f1', icon: this.iconPack.attach }), h("p", { key: '5f803ce1f2938255b865a6b905658463f6870060' }, this.t('chat.send_attachment')))));
40
+ return (h(Host, { key: 'd3fd9af2a148277b2481c94305104e43088a9b42' }, h("div", { key: 'f889ddc5635013ae7f364a6d36ef51936e179f7d', id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { key: 'ceb747a5fba7aa40ef108d404a7b8b02e6ab25b9', icon: this.iconPack.attach }), h("p", { key: '711b8a1ace2d73714f9abdbaba8c031e204fe07e' }, this.t('chat.send_attachment')))));
41
41
  }
42
42
  static get is() { return "rtk-file-dropzone"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -16,6 +16,7 @@ import { downloadFile, getExtension, getFileSize } from "../../utils/file";
16
16
  import { SyncWithStore } from "../../utils/sync-with-store";
17
17
  import { useLanguage } from "../../lib/lang";
18
18
  /**
19
+ * @deprecated `rtk-file-message` is deprecated and will be removed soon. Use `rtk-file-message-view` instead.
19
20
  * A component which renders a file message from chat.
20
21
  */
21
22
  export class RtkFileMessage {
@@ -33,10 +34,10 @@ export class RtkFileMessage {
33
34
  }
34
35
  render() {
35
36
  const link = sanitizeLink(this.message.link);
36
- return (h(Host, { key: '771fc8ccb2700a3fba83f04676a0c4396c1a8a41' }, !this.isContinued && (h(ChatHead, { key: 'ef2d83897dcae870bb7a2b0eeef397585b873b77', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '841039fcad32f254653bd490a98f268479345b44', class: {
37
+ return (h(Host, { key: '915330674d273f2c45ece29cb5e7c9408ee5cbe8' }, !this.isContinued && (h(ChatHead, { key: 'eb2877f6224de9be1c975f0d2dc010f29fef3bc9', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '87d7f309379f23b76e404da2039cd2fd3fb7c95a', class: {
37
38
  body: true,
38
39
  bubble: this.showBubble,
39
- }, part: "body" }, h("div", { key: '65e3c8aafa4e9fa55a24264685bb0cf20841048a', class: "file" }, h("div", { key: '1b1e97b1518c5471964ea91889f4500fc0e01e03', class: "file-data" }, h("div", { key: 'ff9d3071b528162f6e796ccb49e2472df2e8d364', class: "name" }, this.message.name), h("div", { key: '1d3ccb1f5bc2a94983de216e77a8ebc0ae07d669', class: "file-data-split" }, h("div", { key: 'ebab32b642e097b3c1c1903269a8d76fbd586f5c', class: "ext" }, getExtension(this.message.name)), h("span", { key: '81ee3600ba18a7689706504befebcf02697a56e7', class: "divider" }), h("div", { key: 'e969a8d6221d8af560a26510c38a92406a18ef2a', class: "size" }, getFileSize(this.message.size)))), h("rtk-button", { key: '482c27659f71cfebf9f88fdf538e32baa6b87073', variant: "secondary", kind: "icon", onClick: () => downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '4efaeb927b4ea2010eed09227eb7f511b9253017', icon: this.iconPack.download }))))));
40
+ }, part: "body" }, h("div", { key: '7683a17adf5784ef0e6af8f396c58c005a369f6b', class: "file" }, h("div", { key: '3005eb72a09ba4d241ec919f957b95f26077ed13', class: "file-data" }, h("div", { key: 'ca5fc3700f868fd321793d4da672e9c7aad38056', class: "name" }, this.message.name), h("div", { key: '463c37838eec7b9ee9b096803cb785445206041a', class: "file-data-split" }, h("div", { key: '9470b898708fc78ca01c2926f8fb6a3c6fae6eea', class: "ext" }, getExtension(this.message.name)), h("span", { key: '35fa7f199b45bb6e64a72614ca1eceaafa6044e7', class: "divider" }), h("div", { key: 'b19a9d32151bb1ddbbb7689dc6d8e09b021d0612', class: "size" }, getFileSize(this.message.size)))), h("rtk-button", { key: '6bb6a3223801a944fb9018765385ebadeae15e0f', variant: "secondary", kind: "icon", onClick: () => downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '9a7335c6720295a7f0b9073e35ac86014be53316', icon: this.iconPack.download }))))));
40
41
  }
41
42
  static get is() { return "rtk-file-message"; }
42
43
  static get properties() {
@@ -22,7 +22,7 @@ export class RtkFileMessageView {
22
22
  this.iconPack = defaultIconPack;
23
23
  }
24
24
  render() {
25
- return (h("div", { key: 'd2cbeddc138f81c05da1656ee7f59c170e83bd1e', class: "file" }, h("rtk-button", { key: 'b0ee90c3493c24e938b6ea88a317c642e4afc003', variant: "secondary", kind: "icon", onClick: () => downloadFile(sanitizeLink(this.url), { name: this.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: 'c1b25c655b5c87bf95948abfa461f8b58ff79195', icon: this.iconPack.download })), h("div", { key: 'c961a8ce93d4ff4405590787a88b5a9bbdbf56ab', class: "file-data" }, h("div", { key: 'bd178354d166c7816d6fabb72f7bba70fd711415', class: "name" }, this.name), h("div", { key: '59a791ae9f94a13b4005a0d8f79d09687fe3fc4c', class: "file-data-split" }, h("div", { key: 'b31421fdf786d92eed0decec9d3b247530413aa9', class: "ext" }, getExtension(this.name)), h("span", { key: '7a0a2a188b3e0b6bee0cf54d3afe29c2454788bb', class: "divider" }), h("div", { key: 'b217b87fa0737732aae10662b82d337d7258e6d7', class: "size" }, getFileSize(this.size))))));
25
+ return (h("div", { key: 'cdd46a1be912f807688dc86671dddd2fa5b9e7c9', class: "file" }, h("rtk-button", { key: '20bd6c448ec64902989cd742a8f18de32e368194', variant: "secondary", kind: "icon", onClick: () => downloadFile(sanitizeLink(this.url), { name: this.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '11ac30db5146132be8aaba67a79f66f8aba7bb8d', icon: this.iconPack.download })), h("div", { key: '342dd8daa944a5857a6519339b4d3bfb6c369eda', class: "file-data" }, h("div", { key: 'e161743b75677b1e81d09d7c373be494ccf8411a', class: "name" }, this.name), h("div", { key: '99f2d8d77ef3c129aa0c229260f6e79901ce268c', class: "file-data-split" }, h("div", { key: '7b9beadca2a810c151fb1ad43ee7c47ba451a37a', class: "ext" }, getExtension(this.name)), h("span", { key: 'd55f69a96bbe26c262461fa87f1a0a506854cf59', class: "divider" }), h("div", { key: 'cad33d263ab75aeb3083886e83063b8ccb2ea976', class: "size" }, getFileSize(this.size))))));
26
26
  }
27
27
  static get is() { return "rtk-file-message-view"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class RtkFilePickerButton {
44
44
  render() {
45
45
  const label = this.label || this.t('chat.send_file');
46
46
  const icon = this.iconPack[this.icon];
47
- return (h("rtk-tooltip", { key: '90e405f39792f7ea0430c55e9b5ba0da72ce2a4a', label: label }, h("rtk-button", { key: 'f0957e7a9668afd9e25e866ea2acbb6891123bbe', variant: "ghost", kind: "icon", onClick: () => this.uploadFile(), title: label }, h("rtk-icon", { key: '1955f524343683974831b28629291428637aa8fc', icon: icon }))));
47
+ return (h("rtk-tooltip", { key: '78ef1fd3a42656601c94561bbfc63f888d8180d3', label: label }, h("rtk-button", { key: 'a0a82e689c2e3a344936db1b3253e36def3a0ce5', variant: "ghost", kind: "icon", onClick: () => this.uploadFile(), title: label }, h("rtk-icon", { key: '1651a9f460e3851ff5296f05cf08554f9da21703', icon: icon }))));
48
48
  }
49
49
  static get is() { return "rtk-file-picker-button"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class RtkHeader {
40
40
  iconPack: this.iconPack,
41
41
  size: this.size,
42
42
  };
43
- return (h(Host, { key: '1f3b7e1a0a0895e6429c12ddb44470ef35a30d23' }, !this.disableRender && h(Render, { key: '3b1525e4f4aaac177b466e4c72be4b7492bd404f', element: "rtk-header", defaults: defaults, onlyChildren: true }), h("slot", { key: '6f770052362e6daa803638e0857de41c2c894ed3' })));
43
+ return (h(Host, { key: '00cfd80dbffa3f1c9c66e00397c7db1e7292664c' }, !this.disableRender && h(Render, { key: '521ab0493477836b0a5ce6de5ed85a842c71d32a', element: "rtk-header", defaults: defaults, onlyChildren: true }), h("slot", { key: 'f73693073b8a7162a5db2ec73e93de6bbccea7dd' })));
44
44
  }
45
45
  static get is() { return "rtk-header"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -27,7 +27,7 @@ export class RtkIdleScreen {
27
27
  this.t = useLanguage();
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: 'c5eff1252dc42e20190130962994d713b95b922b' }, h("slot", { key: '99a385d737fba394bcce3340d7ceaa49fe290580' }, h("div", { key: '484cfb782b699eea5be2eac7c003dcaea922177a', class: "ctr", part: "container" }, h("rtk-logo", { key: '0e190078187680faec1df09a7a50bc80d405a978', meeting: this.meeting, config: this.config, t: this.t, part: "logo" }), h("rtk-spinner", { key: 'f00bae50ccb13120714d2d94c9629747824b5eaa', "aria-label": "Idle, waiting for meeting data", part: "spinner", iconPack: this.iconPack })))));
30
+ return (h(Host, { key: '1243feb830c4b40ddbb41409ba5e4f5259d4aba2' }, h("slot", { key: 'e5c674091393508a202d514e9ad41ccae687a660' }, h("div", { key: 'bd6e459fc18148edf47ed45df3e9f1f3d3356383', class: "ctr", part: "container" }, h("rtk-logo", { key: '9b3211860563ef93307902744b37985908f71cdf', meeting: this.meeting, config: this.config, t: this.t, part: "logo" }), h("rtk-spinner", { key: '584a3355b5a023ae9bc66f1eafbd85f3d3b9bb92', "aria-label": "Idle, waiting for meeting data", part: "spinner", iconPack: this.iconPack })))));
31
31
  }
32
32
  static get is() { return "rtk-idle-screen"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -16,6 +16,7 @@ import { downloadFile } from "../../utils/file";
16
16
  import { useLanguage } from "../../lib/lang";
17
17
  import { SyncWithStore } from "../../utils/sync-with-store";
18
18
  /**
19
+ * @deprecated `rtk-image-message` is deprecated and will be removed soon. Use `rtk-image-message-view` instead.
19
20
  * A component which renders an image message from chat.
20
21
  */
21
22
  export class RtkImageMessage {
@@ -33,10 +34,10 @@ export class RtkImageMessage {
33
34
  this.status = 'loading';
34
35
  }
35
36
  render() {
36
- return (h(Host, { key: '7e0fc95aff5f4db94f4ec0ba3c4dcd4d2ee9ffa6' }, !this.isContinued && (h(ChatHead, { key: 'cc7f214502f49fe2869f3e9bdfd797926987ef74', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '2e61a7320c1941df7c0d13082a9257e47ec5df58', class: {
37
+ return (h(Host, { key: '1267763841d7162f1ad4152a5c4cdd809aaa3808' }, !this.isContinued && (h(ChatHead, { key: '9b415f65f456f8624cd4f981d7f8ae191772a3ce', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '38ea5e45140f543ae6d16d2d00b0bf0c9a671910', class: {
37
38
  body: true,
38
39
  bubble: this.showBubble,
39
- }, part: "body" }, h("div", { key: 'bf2eec18c82aae79f31c40d44711ec7db2ab5bf1', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'acb8f5ef169bd0c663dbc74c1d43b4186f81004a', src: sanitizeLink(this.message.link), onLoad: () => {
40
+ }, part: "body" }, h("div", { key: '3c842144038f9612fc46c3f5d18f87342f8376c4', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: '39b2978696328d6ed6ac3bbbdc83a57fc7fa7d88', src: sanitizeLink(this.message.link), onLoad: () => {
40
41
  this.status = 'loaded';
41
42
  }, onError: () => {
42
43
  this.status = 'errored';
@@ -44,9 +45,9 @@ export class RtkImageMessage {
44
45
  if (this.status === 'loaded') {
45
46
  this.stateUpdate.emit({ image: this.message });
46
47
  }
47
- } }), this.status === 'loading' && (h("div", { key: '92a6610a937088e03200f9048146da0e4f749054', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: 'b85fa3e9dd0580f1d7e18360e74670a933e74367', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: 'b1046aff30dfe244498c957799f33c3a7c26ecb8', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: '833e3ea7f7734a17450c98077e52b9db4fb5404a', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: '2545e3685f6e586b4fdc1304da08bbece5ec2cda', class: "actions" }, h("rtk-button", { key: 'bb5e37862d82702f6350f48c275100825dd494fa', class: "action", variant: "secondary", kind: "icon", onClick: () => {
48
+ } }), this.status === 'loading' && (h("div", { key: 'd83ca52f9330ddef301be3d4a84b663f91864ea3', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: '6333ce5847ecd62793d5777a886a3a1a33641fab', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: 'e4063e68ad477069d8acaa03d0dd1c692f82c76f', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: '010562aee164fdb63e45da4c0eaa29ad1cbdf66c', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: '14773362280e9dd167db61e58b3f729e0a86d88d', class: "actions" }, h("rtk-button", { key: '8e0cd659fd47074729fa3e63897e3e8eab3193a3', class: "action", variant: "secondary", kind: "icon", onClick: () => {
48
49
  this.stateUpdate.emit({ image: this.message });
49
- } }, h("rtk-icon", { key: '247f754dfe4c9b63634906105a71bb2146154eaa', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: 'ab2712266ddce6f79abf1fca68379abcb4a3c9a1', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.message.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: 'ffafa0e22d7752b125d0e1e50cfc03d858d29365', icon: this.iconPack.download }))))))));
50
+ } }, h("rtk-icon", { key: '9db76d4971f2b6b45d87b6015b7ef449fa46ba85', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: '978934fd136ab2c364521ec55d25e578940e5c7c', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.message.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: '55be50aff54309a76e5348f437805e2872bcf548', icon: this.iconPack.download }))))))));
50
51
  }
51
52
  static get is() { return "rtk-image-message"; }
52
53
  static get originalStyleUrls() {
@@ -25,7 +25,7 @@ export class RtkImageMessageView {
25
25
  this.status = 'loading';
26
26
  }
27
27
  render() {
28
- return (h("div", { key: '259bdc1102c6026dd10388ae759f67608c777b5f', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'dbcb8d497fee3710f4474ec3ac0ce9a9b4f1bb49', src: sanitizeLink(this.url), onLoad: () => {
28
+ return (h("div", { key: '47b2dd8f8dfc0d2aa20e80b513f802e1ebc09153', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'fba4cfc015beb86040ec74b2a44e2163744a67c6', src: sanitizeLink(this.url), onLoad: () => {
29
29
  this.status = 'loaded';
30
30
  }, onError: () => {
31
31
  this.status = 'errored';
@@ -33,9 +33,9 @@ export class RtkImageMessageView {
33
33
  if (this.status === 'loaded') {
34
34
  this.onPreview.emit(this.url);
35
35
  }
36
- } }), this.status === 'loading' && (h("div", { key: 'b0ecfada4428e1cb8c3625cc4ce3d2a5bae058ab', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: 'fff61c6522d8bcb7de1345bb6505721ee6c6325e', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: 'c07e2cf6e9a94d375802c974e519d859ab48aa9b', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: '83108f4f0396d77778463601a4f18d8593b0ffe7', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: '96b5aafbd94eec920ae1cad14f09ab4a44571bd7', class: "actions" }, h("rtk-button", { key: 'a87ec11cc8de472aeb356689b49b6b366bd67f28', class: "action", variant: "secondary", kind: "icon", onClick: () => {
36
+ } }), this.status === 'loading' && (h("div", { key: '4da0a3ab39d782e9affe7702a19232747bb4581c', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: 'dea7afe2c92dd5c7c71620bc7b9089f743ef1aa2', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: 'ab303ce11b7182d20c64b00638a1c8be59aea774', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: 'e14eb63cc4b2d18a5abd921e25ef305095f61c17', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: 'ccceaa5cc5821ce9b4ddab742001cee78135636a', class: "actions" }, h("rtk-button", { key: 'de49516247d9655cc74afcd58bc50771e2594dca', class: "action", variant: "secondary", kind: "icon", onClick: () => {
37
37
  this.onPreview.emit(this.url);
38
- } }, h("rtk-icon", { key: '543478c786b709ac477d4482874608c0b394b27c', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: '6ce6d94a965688c7ec6ee64f79a4d13dda9651e3', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.url, { fallbackName: 'image' }) }, h("rtk-icon", { key: '3b1d67fbdd667e0d006e342c37f6e78c90fd2e34', icon: this.iconPack.download }))))));
38
+ } }, h("rtk-icon", { key: 'bd1ea608e4846d994a418236dca7856570bd689d', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: '266a860a4ab4d6cf76bd89bb35c987efbc89a593', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.url, { fallbackName: 'image' }) }, h("rtk-icon", { key: 'ec26862ff95e116d519280c7e62ed7a7e1ede273', icon: this.iconPack.download }))))));
39
39
  }
40
40
  static get is() { return "rtk-image-message-view"; }
41
41
  static get encapsulation() { return "shadow"; }