@cloudflare/realtimekit-ui 1.1.0-staging.3 → 1.1.0-staging.5

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 (394) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  4. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +1 -1
  5. package/dist/cjs/rtk-audio-grid.cjs.entry.js +1 -1
  6. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +1 -1
  7. package/dist/cjs/rtk-avatar_24.cjs.entry.js +267 -247
  8. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +4 -4
  9. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +9 -9
  10. package/dist/cjs/rtk-channel-creator.cjs.entry.js +2 -2
  11. package/dist/cjs/rtk-channel-details.cjs.entry.js +1 -1
  12. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +3 -3
  15. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +1 -1
  16. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +27 -22
  17. package/dist/cjs/rtk-clock.cjs.entry.js +3 -3
  18. package/dist/cjs/rtk-controlbar.cjs.entry.js +1 -1
  19. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +1 -1
  20. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +1 -1
  21. package/dist/cjs/rtk-file-message_3.cjs.entry.js +8 -8
  22. package/dist/cjs/rtk-header.cjs.entry.js +1 -1
  23. package/dist/cjs/rtk-idle-screen.cjs.entry.js +1 -1
  24. package/dist/cjs/rtk-image-viewer.cjs.entry.js +1 -1
  25. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +1 -1
  26. package/dist/cjs/rtk-leave-button.cjs.entry.js +1 -1
  27. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  29. package/dist/cjs/rtk-name-tag.cjs.entry.js +1 -1
  30. package/dist/cjs/rtk-notification.cjs.entry.js +2 -2
  31. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-participant_2.cjs.entry.js +14 -14
  33. package/dist/cjs/rtk-participants-audio.cjs.entry.js +1 -1
  34. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +1 -1
  35. package/dist/cjs/rtk-plugins_2.cjs.entry.js +4 -4
  36. package/dist/cjs/rtk-poll_2.cjs.entry.js +3 -3
  37. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +1 -1
  38. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +5 -5
  39. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +1 -1
  40. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-stage.cjs.entry.js +1 -1
  42. package/dist/cjs/rtk-transcript.cjs.entry.js +1 -1
  43. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +1 -1
  44. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  45. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  46. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +2 -2
  47. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
  48. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +2 -2
  49. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +1 -1
  50. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +2 -2
  51. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +29 -29
  52. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +2 -2
  53. package/dist/collection/components/rtk-chat/rtk-chat.css +45 -8
  54. package/dist/collection/components/rtk-chat/rtk-chat.js +15 -7
  55. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +2 -2
  56. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +3 -3
  57. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +3 -3
  58. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  59. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.css +1 -1
  60. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +27 -26
  61. package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
  62. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  63. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  64. package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
  65. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  66. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  67. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  68. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  69. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  70. package/dist/collection/components/rtk-file-message/rtk-file-message.js +2 -2
  71. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +1 -1
  72. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  73. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  74. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  75. package/dist/collection/components/rtk-image-message/rtk-image-message.js +4 -4
  76. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +3 -3
  77. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  78. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
  79. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
  80. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  81. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +2 -2
  82. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  83. package/dist/collection/components/rtk-menu/rtk-menu.js +2 -2
  84. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  85. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  86. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +3 -3
  87. package/dist/collection/components/rtk-message-view/rtk-message-view.css +5 -1
  88. package/dist/collection/components/rtk-message-view/rtk-message-view.js +23 -1
  89. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
  90. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  91. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
  92. package/dist/collection/components/rtk-notification/rtk-notification.js +2 -2
  93. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  94. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +5 -5
  95. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +272 -256
  96. package/dist/collection/components/rtk-participant/rtk-participant.js +12 -12
  97. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
  98. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  99. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  100. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  101. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  102. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  103. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
  104. package/dist/collection/components/rtk-polls/rtk-polls.js +3 -3
  105. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  106. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
  107. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  108. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  109. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +2 -2
  110. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  111. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  112. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  113. package/dist/collection/components/rtk-text-message/rtk-text-message.js +2 -2
  114. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  115. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  116. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  117. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  118. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
  119. package/dist/components/{p-9f7b9764.js → p-00bb4abb.js} +6 -6
  120. package/dist/components/{p-5248ee44.js → p-02b840f8.js} +3 -3
  121. package/dist/components/{p-a54ac879.js → p-0b2b3442.js} +2 -2
  122. package/dist/components/p-0d472019.js +362 -0
  123. package/dist/components/{p-94ba6c49.js → p-0e5cc539.js} +2 -2
  124. package/dist/components/{p-8901c589.js → p-0f2de0f8.js} +10 -7
  125. package/dist/components/{p-3a3650bd.js → p-107e55c1.js} +1 -1
  126. package/dist/components/{p-e62d961a.js → p-1a9e3806.js} +1 -1
  127. package/dist/components/{p-1da75fdd.js → p-1f5a4682.js} +2 -2
  128. package/dist/components/{p-bb55fa0c.js → p-2309fb19.js} +2 -2
  129. package/dist/components/{p-ff320cbb.js → p-241a8245.js} +1 -1
  130. package/dist/components/{p-93069a8c.js → p-2447a26f.js} +2 -2
  131. package/dist/components/{p-3bc68ec4.js → p-28170a8d.js} +9 -9
  132. package/dist/components/{p-ffe562b1.js → p-294cda89.js} +3 -3
  133. package/dist/components/{p-9c88019e.js → p-2a65883d.js} +1 -1
  134. package/dist/components/{p-d9845780.js → p-32c6e86d.js} +36 -28
  135. package/dist/components/{p-0c512fd1.js → p-39e8b34a.js} +1 -1
  136. package/dist/components/{p-ff8753e8.js → p-3e58e0f3.js} +1 -1
  137. package/dist/components/{p-2e6987aa.js → p-43d6a221.js} +2 -2
  138. package/dist/components/{p-7e8d976d.js → p-45220ce9.js} +2 -2
  139. package/dist/components/{p-962c2e24.js → p-46d99dd9.js} +2 -2
  140. package/dist/components/{p-9ff37f98.js → p-48acb953.js} +1 -1
  141. package/dist/components/{p-d9b1945a.js → p-4902c5cf.js} +1 -1
  142. package/dist/components/{p-5ac9b786.js → p-4aede34c.js} +1 -1
  143. package/dist/components/{p-6366df1e.js → p-4e5a54c2.js} +10 -10
  144. package/dist/components/{p-8b4e32b7.js → p-4ebf9684.js} +1 -1
  145. package/dist/components/{p-94bd91b3.js → p-540d8eb9.js} +1 -1
  146. package/dist/components/{p-ad7cabcc.js → p-5476e3f3.js} +2 -2
  147. package/dist/components/{p-471a529a.js → p-5669b6e7.js} +4 -4
  148. package/dist/components/{p-626c7a5f.js → p-598dc3f2.js} +2 -2
  149. package/dist/components/{p-c36a303c.js → p-616ae7ab.js} +2 -2
  150. package/dist/components/{p-a94b2e67.js → p-6739a399.js} +2 -2
  151. package/dist/components/{p-ad331530.js → p-6c9a833e.js} +1 -1
  152. package/dist/components/{p-1614fe8f.js → p-713c7ed7.js} +3 -3
  153. package/dist/components/{p-222454dc.js → p-7148ec6a.js} +1 -1
  154. package/dist/components/{p-ef493e1b.js → p-761c0e78.js} +1 -1
  155. package/dist/components/{p-3b6af603.js → p-7f489600.js} +1 -1
  156. package/dist/components/{p-0e8ff1cc.js → p-819cb785.js} +1 -1
  157. package/dist/components/{p-68af4225.js → p-89025409.js} +3 -3
  158. package/dist/components/{p-7a04f0cc.js → p-8cfdac0d.js} +5 -5
  159. package/dist/components/{p-41224895.js → p-8d6b21d5.js} +3 -3
  160. package/dist/components/{p-6c20da11.js → p-a25f3aca.js} +2 -2
  161. package/dist/components/{p-d0c5e808.js → p-a51db0d6.js} +16 -16
  162. package/dist/components/{p-a48e2cf0.js → p-a73665b4.js} +7 -7
  163. package/dist/components/{p-a24156ce.js → p-a8a6496d.js} +1 -1
  164. package/dist/components/{p-b58a185f.js → p-ae376177.js} +14 -14
  165. package/dist/components/{p-01c968b1.js → p-af3b99f4.js} +2 -2
  166. package/dist/components/{p-d81ba93a.js → p-bb4983b8.js} +2 -2
  167. package/dist/components/{p-c2b64e33.js → p-c334f0e5.js} +2 -2
  168. package/dist/components/{p-88bef213.js → p-cf8f725b.js} +1 -1
  169. package/dist/components/{p-d6146a96.js → p-d765dbe4.js} +6 -6
  170. package/dist/components/{p-6523d14b.js → p-da9018ea.js} +6 -6
  171. package/dist/components/{p-0d582365.js → p-dc3143c0.js} +2 -2
  172. package/dist/components/{p-58b56794.js → p-e0510925.js} +1 -1
  173. package/dist/components/{p-5e67d672.js → p-eeb37b16.js} +1 -1
  174. package/dist/components/{p-f2a47b5b.js → p-fa476519.js} +5 -5
  175. package/dist/components/{p-fa8f6b4a.js → p-fb836f65.js} +1 -1
  176. package/dist/components/{p-ba788f9e.js → p-fb900e8f.js} +2 -2
  177. package/dist/components/{p-262671ff.js → p-fef53de3.js} +1 -1
  178. package/dist/components/rtk-ai-toggle.js +2 -2
  179. package/dist/components/rtk-ai-transcriptions.js +1 -1
  180. package/dist/components/rtk-ai.js +1 -1
  181. package/dist/components/rtk-audio-grid.js +1 -1
  182. package/dist/components/rtk-audio-tile.js +3 -3
  183. package/dist/components/rtk-avatar.js +1 -1
  184. package/dist/components/rtk-breakout-room-manager.js +1 -1
  185. package/dist/components/rtk-breakout-room-participants.js +1 -1
  186. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  187. package/dist/components/rtk-breakout-rooms-toggle.js +2 -2
  188. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  189. package/dist/components/rtk-camera-toggle.js +3 -3
  190. package/dist/components/rtk-caption-toggle.js +2 -2
  191. package/dist/components/rtk-channel-creator.js +4 -4
  192. package/dist/components/rtk-channel-details.js +1 -1
  193. package/dist/components/rtk-channel-header.js +4 -4
  194. package/dist/components/rtk-channel-selector-ui.js +4 -4
  195. package/dist/components/rtk-channel-selector-view.js +1 -1
  196. package/dist/components/rtk-chat-composer-ui.js +4 -4
  197. package/dist/components/rtk-chat-composer-view.js +1 -1
  198. package/dist/components/rtk-chat-message.js +1 -1
  199. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  200. package/dist/components/rtk-chat-messages-ui.js +14 -14
  201. package/dist/components/rtk-chat-search-results.js +11 -11
  202. package/dist/components/rtk-chat-toggle.js +30 -26
  203. package/dist/components/rtk-chat.js +1 -1
  204. package/dist/components/rtk-clock.js +3 -3
  205. package/dist/components/rtk-confirmation-modal.js +1 -1
  206. package/dist/components/rtk-controlbar-button.js +1 -1
  207. package/dist/components/rtk-controlbar.js +1 -1
  208. package/dist/components/rtk-counter.js +1 -1
  209. package/dist/components/rtk-debugger-toggle.js +3 -3
  210. package/dist/components/rtk-dialog-manager.js +14 -14
  211. package/dist/components/rtk-draft-attachment-view.js +1 -1
  212. package/dist/components/rtk-emoji-picker-button.js +1 -1
  213. package/dist/components/rtk-emoji-picker.js +1 -1
  214. package/dist/components/rtk-file-dropzone.js +1 -1
  215. package/dist/components/rtk-file-message-view.js +1 -1
  216. package/dist/components/rtk-file-message.js +1 -1
  217. package/dist/components/rtk-file-picker-button.js +1 -1
  218. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  219. package/dist/components/rtk-grid-pagination.js +1 -1
  220. package/dist/components/rtk-grid.js +4 -4
  221. package/dist/components/rtk-header.js +1 -1
  222. package/dist/components/rtk-idle-screen.js +2 -2
  223. package/dist/components/rtk-image-message-view.js +1 -1
  224. package/dist/components/rtk-image-message.js +1 -1
  225. package/dist/components/rtk-image-viewer.js +1 -1
  226. package/dist/components/rtk-information-tooltip.js +1 -1
  227. package/dist/components/rtk-join-stage.js +1 -1
  228. package/dist/components/rtk-leave-button.js +3 -3
  229. package/dist/components/rtk-leave-meeting.js +1 -1
  230. package/dist/components/rtk-livestream-player.js +1 -1
  231. package/dist/components/rtk-livestream-toggle.js +2 -2
  232. package/dist/components/rtk-markdown-view.js +1 -1
  233. package/dist/components/rtk-meeting-title.js +1 -1
  234. package/dist/components/rtk-meeting.js +21 -21
  235. package/dist/components/rtk-menu-item.js +1 -1
  236. package/dist/components/rtk-menu-list.js +1 -1
  237. package/dist/components/rtk-menu.js +1 -1
  238. package/dist/components/rtk-message-list-view.js +4 -4
  239. package/dist/components/rtk-message-view.js +1 -1
  240. package/dist/components/rtk-mic-toggle.js +3 -3
  241. package/dist/components/rtk-mixed-grid.js +3 -3
  242. package/dist/components/rtk-more-toggle.js +4 -4
  243. package/dist/components/rtk-mute-all-button.js +3 -3
  244. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  245. package/dist/components/rtk-name-tag.js +1 -1
  246. package/dist/components/rtk-notification.js +1 -1
  247. package/dist/components/rtk-notifications.js +1 -1
  248. package/dist/components/rtk-overlay-modal.js +1 -1
  249. package/dist/components/rtk-paginated-list.js +1 -1
  250. package/dist/components/rtk-participant-setup.js +2 -2
  251. package/dist/components/rtk-participant.js +1 -1
  252. package/dist/components/rtk-participants-audio.js +1 -1
  253. package/dist/components/rtk-participants-stage-list.js +1 -1
  254. package/dist/components/rtk-participants-stage-queue.js +1 -1
  255. package/dist/components/rtk-participants-toggle.js +2 -2
  256. package/dist/components/rtk-participants-viewer-list.js +1 -1
  257. package/dist/components/rtk-participants-waiting-list.js +1 -1
  258. package/dist/components/rtk-participants.js +11 -11
  259. package/dist/components/rtk-permissions-message.js +1 -1
  260. package/dist/components/rtk-pip-toggle.js +2 -2
  261. package/dist/components/rtk-plugins-toggle.js +2 -2
  262. package/dist/components/rtk-plugins.js +1 -1
  263. package/dist/components/rtk-poll-form.js +1 -1
  264. package/dist/components/rtk-poll.js +1 -1
  265. package/dist/components/rtk-polls-toggle.js +2 -2
  266. package/dist/components/rtk-polls.js +1 -1
  267. package/dist/components/rtk-recording-indicator.js +1 -1
  268. package/dist/components/rtk-recording-toggle.js +2 -2
  269. package/dist/components/rtk-screen-share-toggle.js +3 -3
  270. package/dist/components/rtk-screenshare-view.js +6 -6
  271. package/dist/components/rtk-settings-audio.js +1 -1
  272. package/dist/components/rtk-settings-toggle.js +3 -3
  273. package/dist/components/rtk-settings-video.js +1 -1
  274. package/dist/components/rtk-settings.js +3 -3
  275. package/dist/components/rtk-setup-screen.js +1 -1
  276. package/dist/components/rtk-sidebar.js +5 -5
  277. package/dist/components/rtk-spinner.js +1 -1
  278. package/dist/components/rtk-spotlight-grid.js +2 -2
  279. package/dist/components/rtk-spotlight-indicator.js +1 -1
  280. package/dist/components/rtk-stage-toggle.js +3 -3
  281. package/dist/components/rtk-stage.js +1 -1
  282. package/dist/components/rtk-switch.js +1 -1
  283. package/dist/components/rtk-tab-bar.js +1 -1
  284. package/dist/components/rtk-text-composer-view.js +1 -1
  285. package/dist/components/rtk-text-message-view.js +1 -1
  286. package/dist/components/rtk-text-message.js +1 -1
  287. package/dist/components/rtk-tooltip.js +1 -1
  288. package/dist/components/rtk-transcript.js +1 -1
  289. package/dist/components/rtk-transcripts.js +1 -1
  290. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  291. package/dist/components/rtk-waiting-screen.js +1 -1
  292. package/dist/docs/docs-components.json +88 -66
  293. package/dist/docs/docs-vscode.json +4 -0
  294. package/dist/esm/loader.js +397 -371
  295. package/dist/esm/realtimekit-ui.js +1 -1
  296. package/dist/esm/rtk-ai-transcriptions.entry.js +1 -1
  297. package/dist/esm/rtk-audio-grid.entry.js +1 -1
  298. package/dist/esm/rtk-audio-visualizer_4.entry.js +1 -1
  299. package/dist/esm/rtk-avatar_24.entry.js +267 -247
  300. package/dist/esm/rtk-breakout-room-manager_3.entry.js +4 -4
  301. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +9 -9
  302. package/dist/esm/rtk-channel-creator.entry.js +2 -2
  303. package/dist/esm/rtk-channel-details.entry.js +1 -1
  304. package/dist/esm/rtk-channel-selector-ui.entry.js +2 -2
  305. package/dist/esm/rtk-chat-message.entry.js +2 -2
  306. package/dist/esm/rtk-chat-messages-ui.entry.js +3 -3
  307. package/dist/esm/rtk-chat-search-results.entry.js +1 -1
  308. package/dist/esm/rtk-chat-toggle.entry.js +27 -22
  309. package/dist/esm/rtk-clock.entry.js +3 -3
  310. package/dist/esm/rtk-controlbar.entry.js +1 -1
  311. package/dist/esm/rtk-debugger-toggle.entry.js +1 -1
  312. package/dist/esm/rtk-file-dropzone.entry.js +1 -1
  313. package/dist/esm/rtk-file-message_3.entry.js +8 -8
  314. package/dist/esm/rtk-header.entry.js +1 -1
  315. package/dist/esm/rtk-idle-screen.entry.js +1 -1
  316. package/dist/esm/rtk-image-viewer.entry.js +1 -1
  317. package/dist/esm/rtk-information-tooltip.entry.js +1 -1
  318. package/dist/esm/rtk-leave-button.entry.js +1 -1
  319. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  320. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  321. package/dist/esm/rtk-name-tag.entry.js +1 -1
  322. package/dist/esm/rtk-notification.entry.js +2 -2
  323. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  324. package/dist/esm/rtk-participant_2.entry.js +14 -14
  325. package/dist/esm/rtk-participants-audio.entry.js +1 -1
  326. package/dist/esm/rtk-participants-stage-list_4.entry.js +1 -1
  327. package/dist/esm/rtk-plugins_2.entry.js +4 -4
  328. package/dist/esm/rtk-poll_2.entry.js +3 -3
  329. package/dist/esm/rtk-recording-indicator.entry.js +1 -1
  330. package/dist/esm/rtk-screenshare-view.entry.js +5 -5
  331. package/dist/esm/rtk-settings-toggle.entry.js +1 -1
  332. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  333. package/dist/esm/rtk-stage.entry.js +1 -1
  334. package/dist/esm/rtk-transcript.entry.js +1 -1
  335. package/dist/esm/rtk-waiting-screen.entry.js +1 -1
  336. package/dist/realtimekit-ui/{p-d2a92f27.entry.js → p-00445029.entry.js} +1 -1
  337. package/dist/realtimekit-ui/{p-42989f41.entry.js → p-02c6b025.entry.js} +1 -1
  338. package/dist/realtimekit-ui/{p-af6436dd.entry.js → p-0baa78d7.entry.js} +1 -1
  339. package/dist/realtimekit-ui/{p-6ba99cc3.entry.js → p-1fe6003b.entry.js} +1 -1
  340. package/dist/realtimekit-ui/p-21d4bb9c.entry.js +1 -0
  341. package/dist/realtimekit-ui/{p-ed34d8a1.entry.js → p-23784be6.entry.js} +1 -1
  342. package/dist/realtimekit-ui/{p-f19668ba.entry.js → p-2441260e.entry.js} +1 -1
  343. package/dist/realtimekit-ui/p-322957ed.entry.js +1 -0
  344. package/dist/realtimekit-ui/{p-9ac1b986.entry.js → p-323d1aa4.entry.js} +1 -1
  345. package/dist/realtimekit-ui/p-44d69c6b.entry.js +1 -0
  346. package/dist/realtimekit-ui/p-48c87789.entry.js +1 -0
  347. package/dist/realtimekit-ui/{p-c43c2382.entry.js → p-53680d55.entry.js} +1 -1
  348. package/dist/realtimekit-ui/{p-5ebc57f8.entry.js → p-54a88fdf.entry.js} +1 -1
  349. package/dist/realtimekit-ui/{p-beedd1b5.entry.js → p-5892c1e0.entry.js} +1 -1
  350. package/dist/realtimekit-ui/{p-b64eae39.entry.js → p-612a8d25.entry.js} +1 -1
  351. package/dist/realtimekit-ui/{p-6437ff4e.entry.js → p-64206b62.entry.js} +1 -1
  352. package/dist/realtimekit-ui/{p-2f9211b9.entry.js → p-67ead213.entry.js} +1 -1
  353. package/dist/realtimekit-ui/{p-29c11bdb.entry.js → p-6896e819.entry.js} +1 -1
  354. package/dist/realtimekit-ui/{p-73a56e4f.entry.js → p-7a9a226e.entry.js} +1 -1
  355. package/dist/realtimekit-ui/{p-298befae.entry.js → p-80e51a73.entry.js} +1 -1
  356. package/dist/realtimekit-ui/p-820dad23.entry.js +1 -0
  357. package/dist/realtimekit-ui/p-83db4de1.entry.js +1 -0
  358. package/dist/realtimekit-ui/{p-844143f8.entry.js → p-85b3c0c4.entry.js} +1 -1
  359. package/dist/realtimekit-ui/{p-b4975a33.entry.js → p-8778b3e6.entry.js} +1 -1
  360. package/dist/realtimekit-ui/{p-447ffea0.entry.js → p-a1408db4.entry.js} +1 -1
  361. package/dist/realtimekit-ui/{p-1a78c129.entry.js → p-a67e2a25.entry.js} +1 -1
  362. package/dist/realtimekit-ui/{p-3d5ebc77.entry.js → p-a680da64.entry.js} +1 -1
  363. package/dist/realtimekit-ui/{p-b6cee65a.entry.js → p-a7172c2d.entry.js} +1 -1
  364. package/dist/realtimekit-ui/{p-78968008.entry.js → p-a852e0cf.entry.js} +1 -1
  365. package/dist/realtimekit-ui/{p-503371f7.entry.js → p-ac6c8ebe.entry.js} +1 -1
  366. package/dist/realtimekit-ui/{p-132fca40.entry.js → p-b25f7d7b.entry.js} +1 -1
  367. package/dist/realtimekit-ui/p-b51e813e.entry.js +1 -0
  368. package/dist/realtimekit-ui/{p-f6918dd7.entry.js → p-be5bdd0a.entry.js} +1 -1
  369. package/dist/realtimekit-ui/p-c5f704a3.entry.js +1 -0
  370. package/dist/realtimekit-ui/{p-a849f2b3.entry.js → p-cc226b51.entry.js} +1 -1
  371. package/dist/realtimekit-ui/{p-6928aa8e.entry.js → p-cda276d6.entry.js} +1 -1
  372. package/dist/realtimekit-ui/p-d880fb69.entry.js +1 -0
  373. package/dist/realtimekit-ui/p-f457ae6f.entry.js +1 -0
  374. package/dist/realtimekit-ui/{p-3482a231.entry.js → p-f6c82f1b.entry.js} +1 -1
  375. package/dist/realtimekit-ui/p-fa86682c.entry.js +1 -0
  376. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  377. package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -1
  378. package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +4 -6
  379. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +2 -0
  380. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +68 -53
  381. package/dist/types/components.d.ts +17 -5
  382. package/package.json +1 -1
  383. package/dist/components/p-8e160343.js +0 -357
  384. package/dist/realtimekit-ui/p-02889d02.entry.js +0 -1
  385. package/dist/realtimekit-ui/p-0485834f.entry.js +0 -1
  386. package/dist/realtimekit-ui/p-190523f5.entry.js +0 -1
  387. package/dist/realtimekit-ui/p-2f6fd6de.entry.js +0 -1
  388. package/dist/realtimekit-ui/p-3a4e302b.entry.js +0 -1
  389. package/dist/realtimekit-ui/p-93e9fb59.entry.js +0 -1
  390. package/dist/realtimekit-ui/p-a9cb6a16.entry.js +0 -1
  391. package/dist/realtimekit-ui/p-bf234650.entry.js +0 -1
  392. package/dist/realtimekit-ui/p-ce5a911d.entry.js +0 -1
  393. package/dist/realtimekit-ui/p-d5144f9d.entry.js +0 -1
  394. package/dist/realtimekit-ui/p-db831ab6.entry.js +0 -1
@@ -309,9 +309,9 @@ const RtkBreakoutRoomParticipants = class {
309
309
  }, size: "sm" }), index$1.h("p", { class: "name", title: name }, string.shorten(name, 16), this.meeting.self.userId === participant.id && ` (${this.t('you')})`)));
310
310
  }
311
311
  render() {
312
- return (index$1.h(index$1.Host, { key: '2df7ce2cbfbdfea7d739e2d9ba39e029e650813a' }, index$1.h("div", { key: '22e9786b7ce49b59c19f6dacd74aab60150a5ac1', class: "search-wrapper" }, index$1.h("div", { key: '66dbf04424c21717663bc72c2d005ea1ca3c7b0b', class: "search", part: "search" }, index$1.h("rtk-icon", { key: 'c6ea14f0ea2c2b4833a3c6eca076a20e876bf16a', icon: this.iconPack.search, part: "search-icon", class: "search-icon" }), index$1.h("input", { key: '506a501cbbb0d5ac9ab18d727a5878452a1ddb94', type: "search", autocomplete: "off", placeholder: this.t('search'), onInput: this.onSearchInput, part: "search-input" })), index$1.h("slot", { key: '7811caee1f0abb42effdb9f1d5cd962b1d74f378', name: "shuffle-button" })), index$1.h("div", { key: '31343e56d0109cd9a43e6baf0ecccc41e67aca0e', class: "header" }, index$1.h("div", { key: '6a534ac1cb33e0cb9b2a8edbbf8933aa87e6e679', class: "title-wrapper" }, index$1.h("span", { key: '3ce597924d2132e5b9ebacfb3d4078cff50a619b' }, this.t('breakout_rooms.main_room')), index$1.h("span", { key: '1033023b38905b1a5ef7ebfd7be025dfdedb4f61', class: "participant-count" }, "(", index$1.h("rtk-icon", { key: '5eed0bebdeb203efb34893e4e5790f8f4ff699e7', icon: this.iconPack.people }), this.participantsToShow.length, ")")), this.selectedParticipantIds.length !== 0 && (index$1.h("rtk-tooltip", { key: 'cbb49326b124b9fc085e9647fa00f0b9132b11e3', label: this.t('breakout_rooms.select_all') }, index$1.h("input", { key: '049b49f2171d40908855f156bc12e714e5cdb3d9', type: "checkbox", checked: this.selectedParticipantIds.length === this.participantsToShow.length, onChange: (e) => this.onToggleAll(!!e.target.checked) })))), index$1.h("div", { key: '0f0f58ee1e6743b40c955c8b7103d2ec73de8f9c', class: "ctr scrollbar", part: "container" }, this.participantsToShow.length > 0 && (index$1.h("ul", { key: '7ecb78de6863bb8792e69b7bdff5cc94b95050e8', class: "participants", part: "participants" }, this.participantsToShow.map((participant) => (index$1.h("li", { class: { 'participant-item': true, dragging: this.isDragging }, onClick: () => this.onClick(participant), onDragStart: () => this.onDragStart(participant), onDragEnd: () => this.onDragEnd(participant), draggable: this.selectedParticipantIds.length === 0, role: "listitem", key: participant.id }, this.renderPeer(participant), !this.isDragging && (index$1.h("input", { type: "checkbox", class: {
312
+ return (index$1.h(index$1.Host, { key: '01a707fa50950501d11428747783c1e9828e6572' }, index$1.h("div", { key: '535f80747ddc6b0d7b4c2d3d3bd82464284db304', class: "search-wrapper" }, index$1.h("div", { key: '14b0ae5148bc13345df0732eeb299354ce7e3ae4', class: "search", part: "search" }, index$1.h("rtk-icon", { key: 'c2eda4fadab2d20b16a95786a763748ee5a5e123', icon: this.iconPack.search, part: "search-icon", class: "search-icon" }), index$1.h("input", { key: '71b153979188a4eca0368faad5afe22ad4a65d84', type: "search", autocomplete: "off", placeholder: this.t('search'), onInput: this.onSearchInput, part: "search-input" })), index$1.h("slot", { key: '3ce56a86dfa9063150ff586f3333ad1a1e363219', name: "shuffle-button" })), index$1.h("div", { key: '2eed52da4d3e61f65b69c5dda8054891182615ac', class: "header" }, index$1.h("div", { key: 'c661c77b3fcfaea354456f741d2d816666bf4b68', class: "title-wrapper" }, index$1.h("span", { key: 'bc52e54641259a5c8f7eb0c749117444594a2f24' }, this.t('breakout_rooms.main_room')), index$1.h("span", { key: '9f84a8c77c7af6df6849103235927c68cafda518', class: "participant-count" }, "(", index$1.h("rtk-icon", { key: '34d4139b8fa98d3a1594a34a90774cf3bf5dc589', icon: this.iconPack.people }), this.participantsToShow.length, ")")), this.selectedParticipantIds.length !== 0 && (index$1.h("rtk-tooltip", { key: '866cf16aa1666a3cbc6521fadee36a50b168cf21', label: this.t('breakout_rooms.select_all') }, index$1.h("input", { key: 'd60fc5c1ee7a8e7b63ed7a9fd804f86bb7c945ed', type: "checkbox", checked: this.selectedParticipantIds.length === this.participantsToShow.length, onChange: (e) => this.onToggleAll(!!e.target.checked) })))), index$1.h("div", { key: 'fc8b60be1e14fd6fe92276fae65b357a998ae80a', class: "ctr scrollbar", part: "container" }, this.participantsToShow.length > 0 && (index$1.h("ul", { key: '9e76ca169c9c3a3fd3796f8e6f20a7ba19906c8f', class: "participants", part: "participants" }, this.participantsToShow.map((participant) => (index$1.h("li", { class: { 'participant-item': true, dragging: this.isDragging }, onClick: () => this.onClick(participant), onDragStart: () => this.onDragStart(participant), onDragEnd: () => this.onDragEnd(participant), draggable: this.selectedParticipantIds.length === 0, role: "listitem", key: participant.id }, this.renderPeer(participant), !this.isDragging && (index$1.h("input", { type: "checkbox", class: {
313
313
  'hide-checkbox': this.selectedParticipantIds.length === 0,
314
- }, checked: this.selectedParticipantIds.includes(uiStore.participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (index$1.h("div", { key: 'bbe867d1f141f2c72d7f801d0eaedd5a0fc484b7', class: "empty-message" }, this.t('participants.errors.empty_results'))), this.participantsToShow.length === 0 && this.search.length === 0 && (index$1.h("div", { key: '84864749f6c582214a03ef21f027a9977d979785', class: "empty-room" }, index$1.h("rtk-icon", { key: '31353ae4541b5d32d402c77838955f263a02c75f', icon: this.iconPack.people_checked, part: "search-icon", class: "search-icon" }), index$1.h("p", { key: '4201bc2d18b32a3e96fee9fe6f8fdb4f75464cb1' }, this.t('breakout_rooms.all_assigned')), index$1.h("span", { key: 'e5245caf044fd96b17c41851dce8d22e1c6a083e' }, this.t('breakout_rooms.empty_main_room')))))));
314
+ }, checked: this.selectedParticipantIds.includes(uiStore.participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (index$1.h("div", { key: '179104c8fd8bfe2692147a23d3520ba51f830721', class: "empty-message" }, this.t('participants.errors.empty_results'))), this.participantsToShow.length === 0 && this.search.length === 0 && (index$1.h("div", { key: 'c50a8a4ae9863d918108430ffbe61721fd155847', class: "empty-room" }, index$1.h("rtk-icon", { key: 'afa0afc1ecda667d26fd921438f9369549c5463b', icon: this.iconPack.people_checked, part: "search-icon", class: "search-icon" }), index$1.h("p", { key: 'be9fe2e7d745f88228ecd5053b129b344a626eb6' }, this.t('breakout_rooms.all_assigned')), index$1.h("span", { key: 'e16a34744352686361f4a2aff6e90bba44ae3a15' }, this.t('breakout_rooms.empty_main_room')))))));
315
315
  }
316
316
  static get watchers() { return {
317
317
  "meeting": ["meetingChanged"],
@@ -370,7 +370,7 @@ const RtkCounter = class {
370
370
  this.input = Math.max(this.minValue, parseInt(this.input) - 1).toString();
371
371
  }
372
372
  render() {
373
- return (index$1.h(index$1.Host, { key: 'ef85b8128d8f6470dade486d8b31948db504ca21' }, index$1.h("rtk-button", { key: 'cfe52b812fcbb969cfa26cfd6f07aaf2f8b68cb2', kind: "icon", variant: "ghost", onClick: () => this.decrement() }, index$1.h("rtk-icon", { key: '947cbae0757f3b56ca511789d431da4a9457259a', icon: this.iconPack.subtract })), index$1.h("input", { key: '082850c82f03fa110b670234c676b35e56ac663f', type: "number", value: this.input, min: this.minValue, onInput: (e) => {
373
+ return (index$1.h(index$1.Host, { key: 'd30fe362d84f5e387dfe67dc761683b91785bafb' }, index$1.h("rtk-button", { key: '5c60d8e4fed3f53236b1099f8360c341df36aa32', kind: "icon", variant: "ghost", onClick: () => this.decrement() }, index$1.h("rtk-icon", { key: 'b76e7889f6d94144aa1632159c52fb9580f931f7', icon: this.iconPack.subtract })), index$1.h("input", { key: 'cfd43551b1df8dca486b1dfc4f03d427c7e32caf', type: "number", value: this.input, min: this.minValue, onInput: (e) => {
374
374
  const val = parseInt(e.target.value, 10);
375
375
  if (isNaN(val) || val < this.minValue) {
376
376
  this.input = this.minValue.toString();
@@ -378,7 +378,7 @@ const RtkCounter = class {
378
378
  else {
379
379
  this.input = val.toString();
380
380
  }
381
- } }), index$1.h("rtk-button", { key: 'fcb469289475e418446019725f47b3fcfe4a2ec1', kind: "icon", variant: "ghost", onClick: () => this.increment() }, index$1.h("rtk-icon", { key: 'd4f907255b622dfea369815f4c99ea3a4656caf7', icon: this.iconPack.add }))));
381
+ } }), index$1.h("rtk-button", { key: '4cfe34a4483d12ddbd35b82a6f5d099424b24be3', kind: "icon", variant: "ghost", onClick: () => this.increment() }, index$1.h("rtk-icon", { key: 'a06553be5801039bfefb1a2c2542d01c7426a605', icon: this.iconPack.add }))));
382
382
  }
383
383
  static get watchers() { return {
384
384
  "input": ["watchStateHandler"]
@@ -354,9 +354,9 @@ const RtkBroadcastMessageModal = class {
354
354
  }, 2000);
355
355
  }
356
356
  render() {
357
- return (index$1.h(index$1.Host, { key: 'dafb5f8358be8db735eca75ae4f1cd887267e74a' }, index$1.h("div", { key: 'e5990f3fd2c371dc8c989ec8639f0fe1c23cbde4', class: "content-col" }, index$1.h("h2", { key: '3c6362b764c6ee53b841ab2278939815de33a0c0' }, "Broadcast message to"), index$1.h("select", { key: '9f96c461261583d32197f9a8ffaf0c73cdb2404f', onChange: (e) => {
357
+ return (index$1.h(index$1.Host, { key: '6fbeed26fe6bd27b9f0fb5d574437db002931560' }, index$1.h("div", { key: '539893028570a33bae6e10dfbbf30a9872660cc9', class: "content-col" }, index$1.h("h2", { key: '066aaa4541f135cd6d8d424395cf449f79c61caa' }, "Broadcast message to"), index$1.h("select", { key: '413dea8a9bd7a1efbf17948cfb45b655ddb79b71', onChange: (e) => {
358
358
  this.messagePayload = Object.assign(Object.assign({}, this.messagePayload), { to: e.target.value });
359
- } }, index$1.h("option", { key: '780592e2af423343df3dce1f0da05fbfb2676691' }, "Everyone"), index$1.h("option", { key: '7874876c9354347c9ad5365128dcf419c678b801' }, "List of rooms")), index$1.h("textarea", { key: 'e0bb3a3146e6a9c38374bed1eb78429ee4478d2c', placeholder: "Type message here...", onInput: (e) => {
359
+ } }, index$1.h("option", { key: '72df6790e57bdd905ad96d62c9d6fa57e4a3a41c' }, "Everyone"), index$1.h("option", { key: '82650452bb4de2b6d382a14dab3e901d62ca3b13' }, "List of rooms")), index$1.h("textarea", { key: '2be2bad10700c89162a06d662198b4eaadd96027', placeholder: "Type message here...", onInput: (e) => {
360
360
  this.messagePayload = Object.assign(Object.assign({}, this.messagePayload), { message: e.target.value });
361
361
  } }), this.successMessage ? (index$1.h("p", null, "Message sent to ", this.messagePayload.to, index$1.h("rtk-icon", { icon: this.iconPack.checkmark }))) : (index$1.h("div", { class: "content-row" }, index$1.h("rtk-button", { onClick: () => this.close(), variant: "secondary" }, "Cancel"), "\u2002", index$1.h("rtk-button", { variant: "primary", onClick: () => this.sendMessage() }, "Send"))))));
362
362
  }
@@ -422,7 +422,7 @@ const RtkConfirmationModal = class {
422
422
  render() {
423
423
  var _a, _b;
424
424
  const state = this.states.activeConfirmationModal;
425
- return (index$1.h(index$1.Host, { key: '716b099a3b9d9886c41626cf977e6de8e744894b' }, index$1.h("div", { key: 'bac586faa92a4a80b78e36cbef361eec830a8ee2', class: "leave-modal" }, index$1.h("div", { key: 'ee19990482ae51504da014bf7d804b4bf577a14a', class: "header" }, index$1.h("h2", { key: 'd220797780f3f93b27f1ae511a9fd30e0211b957', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && index$1.h("p", { key: '498688e185b24eec250bcbcdd555fedc15980395', class: "message" }, this.t(state.content)), index$1.h("div", { key: '43f6068e6a14c1798ea2d9dec4dafd110222a5aa', class: "content" }, index$1.h("div", { key: 'dde485ee17c18a7a15dafd5347e9981ea6af4fe4', class: "leave-meeting" }, index$1.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')), index$1.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')))))));
425
+ return (index$1.h(index$1.Host, { key: '22ee38d06ab212134ac17a656da1251a3dc05372' }, index$1.h("div", { key: 'ed29620d69abd3202a823de32c06d7b2fb71f828', class: "leave-modal" }, index$1.h("div", { key: '07466875c79feb312e7df26cec679e62a4fc2991', class: "header" }, index$1.h("h2", { key: '4ebc7ab0dc5c2175cb234575435a30e4d1ce7a13', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && index$1.h("p", { key: 'a9fcfa27f006dfb6ee1be60529b2c02611edc4cd', class: "message" }, this.t(state.content)), index$1.h("div", { key: '940cb8e8344bd99ba5d5266e284cc5161e666748', class: "content" }, index$1.h("div", { key: 'b8862b1db1f77121f9c2032e1f8213eeced5217d', class: "leave-meeting" }, index$1.h("rtk-button", { key: '0b4e17540009e0a465097e628904b36c54e17462', 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')), index$1.h("rtk-button", { key: '5f8c65ea6678c14855ece31827cb4aff714a0965', 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')))))));
426
426
  }
427
427
  };
428
428
  __decorate$6([
@@ -578,7 +578,7 @@ const RtkJoinStage = class {
578
578
  iconPack: this.iconPack,
579
579
  t: this.t,
580
580
  };
581
- return (index$1.h(index$1.Host, { key: 'b69a0a77d20a65a3112a393f33e4bc71564b16e1', class: { stage: true } }, index$1.h("header", { key: 'c9860a7bd9139b4ddb188f03f4efadcecf2d4259' }, index$1.h("h2", { key: '3222f6b149c9584205f355daecb4ebc7a2c329e3' }, this.dataConfig.title)), index$1.h(index$2.Render, { key: 'ae93b03e1ffeef036560de82bd1cfd678be9895a', element: "rtk-participant-setup", defaults: defaults, props: { participant: (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self, size: 'md' }, childProps: { participant: (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self, size: 'md' }, deepProps: true }), index$1.h("div", { key: 'b579bcd55ac13475d46a9b363e50a293b3f8ab87', class: "summary" }, this.dataConfig.description), index$1.h("div", { key: 'b7002bbcf12848243621dbd4e0e62d73ed5c7043', class: "container" }, index$1.h("rtk-button", { key: '240d7e4f50f89e6859be85917a325075d5d98628', variant: "secondary", onClick: () => this.leaveStage.emit(), title: this.dataConfig.label.reject }, this.dataConfig.label.reject), index$1.h("rtk-button", { key: 'c510ea579e35bf1302b6364065a2bb4eac43bec0', onClick: () => {
581
+ return (index$1.h(index$1.Host, { key: 'e5d51e22abdf1f0192e48ea4d4cbb614747edcc1', class: { stage: true } }, index$1.h("header", { key: 'd2a658de63ba4df5d5827a3aff348347c271c21d' }, index$1.h("h2", { key: '9e0279be859026b0c330bd174a47556b145f14c6' }, this.dataConfig.title)), index$1.h(index$2.Render, { key: '47b47ff8103b8f0aec5f667750b2f011e55e0eea', element: "rtk-participant-setup", defaults: defaults, props: { participant: (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self, size: 'md' }, childProps: { participant: (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self, size: 'md' }, deepProps: true }), index$1.h("div", { key: 'eb435cd2a823279760819d199228eeb4b848b8c7', class: "summary" }, this.dataConfig.description), index$1.h("div", { key: '7f161d269e0508e3f184adf590043b707809fac4', class: "container" }, index$1.h("rtk-button", { key: '98344f17b421583410b1f279c2ee8dd533090ebb', variant: "secondary", onClick: () => this.leaveStage.emit(), title: this.dataConfig.label.reject }, this.dataConfig.label.reject), index$1.h("rtk-button", { key: '5f8cf91e9e864df3c85b63677ab9ac2e17e7aa18', onClick: () => {
582
582
  if (this.isLoading)
583
583
  return;
584
584
  this.isLoading = true;
@@ -677,9 +677,9 @@ const RtkLeaveMeeting = class {
677
677
  }
678
678
  }
679
679
  render() {
680
- return (index$1.h(index$1.Host, { key: 'aea5962feea02bcf96948f3fe61eb6d59657de0d' }, index$1.h("div", { key: '183292c3726e742323faba5d94c21ccefe3d56c5', class: "leave-modal" }, index$1.h("div", { key: '313b84d84c8a575883c5aa89613bf8a07b53a6aa', class: "header" }, index$1.h("h2", { key: 'd87fcdf179052a18b70b9681e56858e09acb04b5', class: "title" }, this.t('leave'))), index$1.h("p", { key: 'd03e97a6556e27b3719d4ca9ea89ee8a286d3f16', class: "message" }, this.isBreakoutRoomsActive && this.isChildMeeting
680
+ return (index$1.h(index$1.Host, { key: '55991a2b1b60bb963ee7dfb10fbea5d5bc63c186' }, index$1.h("div", { key: 'bc50b5a89ff7ee5348aadbba4fe8f709fa35bee9', class: "leave-modal" }, index$1.h("div", { key: '7a19d21b272222e7cf83bbb6dbd8bb4284ea9d29', class: "header" }, index$1.h("h2", { key: '935e06a35f3669457c63761697a9152972d69c54', class: "title" }, this.t('leave'))), index$1.h("p", { key: 'cd1ba755b4f73c0d3fb4c9078ee11afc31cee726', class: "message" }, this.isBreakoutRoomsActive && this.isChildMeeting
681
681
  ? this.t('breakout_rooms.leave_confirmation')
682
- : this.t('leave_confirmation')), index$1.h("div", { key: '39742fe6bfbadfb30b116ee38685f1193c773e1c', class: "content" }, index$1.h("rtk-button", { key: '39d88ee45a920e56593cd23237bf241951d8b178', variant: "secondary", onClick: this.close, class: "secondary-btn" }, this.t('cancel')), this.isBreakoutRoomsActive && this.isChildMeeting && this.canJoinMainRoom && (index$1.h("rtk-button", { key: '250fb2f7e0a44e64a29072bc59d966191ce55a88', variant: "secondary", onClick: this.handleJoinMainRoom, class: "secondary-btn" }, this.t('breakout_rooms.leave_confirmation.main_room_btn'))), index$1.h("rtk-button", { key: 'bdbea0eb8468240008a11b1f4456d52633dc2637', variant: "danger", title: this.t('leave'), onClick: this.handleLeave }, this.t('leave')), this.canEndMeeting && (index$1.h("rtk-button", { key: 'abff846edc62ce861159bc19101ef6714a5ad99b', variant: "danger", class: "secondary-btn secondary-danger-btn", onClick: this.handleEndMeeting }, this.t('end.all')))))));
682
+ : this.t('leave_confirmation')), index$1.h("div", { key: 'd4031f068f492f76d5feb9dd39587263e9b545f0', class: "content" }, index$1.h("rtk-button", { key: 'a014dc329e5f861de85468e04715d8aeb87f4e8c', variant: "secondary", onClick: this.close, class: "secondary-btn" }, this.t('cancel')), this.isBreakoutRoomsActive && this.isChildMeeting && this.canJoinMainRoom && (index$1.h("rtk-button", { key: '501a689793bb5e1ff2a8d03f5b9d0ab3d6baafbf', variant: "secondary", onClick: this.handleJoinMainRoom, class: "secondary-btn" }, this.t('breakout_rooms.leave_confirmation.main_room_btn'))), index$1.h("rtk-button", { key: '35a6941049928fa81f1e0a73b64f4ce937c86451', variant: "danger", title: this.t('leave'), onClick: this.handleLeave }, this.t('leave')), this.canEndMeeting && (index$1.h("rtk-button", { key: '7c6367e3f9322235e126c01cc16014f5b2c81ecc', variant: "danger", class: "secondary-btn secondary-danger-btn", onClick: this.handleEndMeeting }, this.t('end.all')))))));
683
683
  }
684
684
  static get watchers() { return {
685
685
  "meeting": ["meetingChanged"]
@@ -731,7 +731,7 @@ const RtkMuteAllConfirmation = class {
731
731
  };
732
732
  }
733
733
  render() {
734
- return (index$1.h(index$1.Host, { key: '012843e04afc91b7a9b8bca01d5d44ad8eb21988' }, index$1.h("div", { key: '82d246a5339936460435c45122ee9979c6f96ec4', class: "leave-modal" }, index$1.h("div", { key: '93a9cb57cc106f4dadbb3bac2dc194dc506d8926', class: "header" }, index$1.h("h2", { key: '26535ce68bae0d140ad626cfef61f7f753892404', class: "title" }, this.t('mute_all.header'))), index$1.h("p", { key: 'adf32771ba089b2b07022faa581a152495faafbc', class: "message" }, this.t('mute_all.description')), index$1.h("div", { key: '8f15b4433aa6483d968f435ce413ebe64077aee4', class: "content" }, index$1.h("div", { key: '5d9781ebe01b4085f4c5a9917a09b5b32e418c72', class: "leave-meeting" }, index$1.h("rtk-button", { key: 'bb8718e4548662d15ea67cb5a432e195c5f5f965', variant: "secondary", title: this.t('close'), onClick: this.onClose }, this.t('cancel')), index$1.h("rtk-button", { key: '0efaee116b9361826fc94a41e4727115a08100cb', variant: "danger", title: this.t('mute_all'), onClick: this.onMuteAll }, this.t('mute_all')))))));
734
+ return (index$1.h(index$1.Host, { key: 'd7439c9c3ffd1a79974ed8f8a0081aa807a2b103' }, index$1.h("div", { key: 'f11f6d201c843384f3e173cf611ea6b26fcfe620', class: "leave-modal" }, index$1.h("div", { key: '8475acebc7a3abd14a4d0716b6dbdeabb0f1896e', class: "header" }, index$1.h("h2", { key: 'fe5cfaa40eccca120a696555456acd59610bd5f0', class: "title" }, this.t('mute_all.header'))), index$1.h("p", { key: '88b6d8faf23e5780d632f9bac0077751bb9db554', class: "message" }, this.t('mute_all.description')), index$1.h("div", { key: 'b901ffb7714dbcf5bbda907df1f44214672ded17', class: "content" }, index$1.h("div", { key: 'f554e5829ff3250400307f139661a0fe426ee22c', class: "leave-meeting" }, index$1.h("rtk-button", { key: 'c300ddc6c3ae02266d4769a964eb3fb246aa7dbd', variant: "secondary", title: this.t('close'), onClick: this.onClose }, this.t('cancel')), index$1.h("rtk-button", { key: '897d7d2639a6c51c5fb0ae1b51a111fbba5431c9', variant: "danger", title: this.t('mute_all'), onClick: this.onMuteAll }, this.t('mute_all')))))));
735
735
  }
736
736
  };
737
737
  __decorate$2([
@@ -778,7 +778,7 @@ const RtkOverlayModal = class {
778
778
  }
779
779
  }
780
780
  render() {
781
- return (index$1.h(index$1.Host, { key: '3c4b052af95eb7fd181d940b671b1d8105c568bb' }, index$1.h("rtk-icon", { key: 'a279a00bc270b2aa5bc1b867753bb10fbb13dfba', icon: this.states.activeOverlayModal.icon }), index$1.h("h2", { key: '283ade7b8c7f340e6931330a923df6d7457902e7' }, this.states.activeOverlayModal.title), index$1.h("p", { key: '16a8497d0940fa3354530555ab523e4d7236bbc0' }, this.states.activeOverlayModal.description)));
781
+ return (index$1.h(index$1.Host, { key: 'd2837e184517e21a048bf3c0132db866e76df98e' }, index$1.h("rtk-icon", { key: '986632806311740b097ef99ad2cefc286f54b7d4', icon: this.states.activeOverlayModal.icon }), index$1.h("h2", { key: 'f7c985545abeefcf0dccd10744c70e84b14c0f1d' }, this.states.activeOverlayModal.title), index$1.h("p", { key: '43ab2a1bde3c41732d3e159c493a799f68bcd0c7' }, this.states.activeOverlayModal.description)));
782
782
  }
783
783
  };
784
784
  __decorate$1([
@@ -955,7 +955,7 @@ const RtkPermissionsMessage = class {
955
955
  this.stepsTimer = setTimeout(this.nextStep, 2500);
956
956
  }
957
957
  const showMacDeepLink = isDeniedBySystem && this.meeting.self.device.osName == 'macOS';
958
- return (index$1.h(index$1.Host, { key: '2286180903192f50c5a5f427f4b71b7764f908ff' }, index$1.h("h2", { key: '02bd9de1404b366114eac1b36ee94f4afa8666e4' }, index$1.h("rtk-icon", { key: 'eae918cb5e321c8ed4f853b3f7942a5ff4a06ec0', class: "text-icon", icon: this.iconPack.warning }), this.getTitle()), this.svgSteps.length > 0 && (index$1.h("div", { key: '2ee086e9dfcf6bbce679c0714c40dbc28ccc6318', class: 'svg-container' }, this.svgSteps.map((e, index) => (index$1.h("p", { innerHTML: e, class: "svg-ins", key: this.currentStep, hidden: index !== this.currentStep }))))), index$1.h("div", { key: 'ee719e6edab99a1998a2284e596c6e5becc0f078' }, this.getMessage()), !isDeniedBySystem && (index$1.h("a", { key: 'baaef2813309bde6be2087b18969dfd556ad5f1e', class: "need-help-link", href: this.getLink((_c = (_b = (_a = this.states) === null || _a === void 0 ? void 0 : _a.activePermissionsMessage) === null || _b === void 0 ? void 0 : _b.kind) !== null && _c !== void 0 ? _c : 'audio'), target: "_blank", rel: "noreferrer external noreferrer noopener" }, index$1.h("rtk-icon", { key: '23e3df4cc997eec1dedd53c5a89c611d93feb95e', class: "text-icon", icon: this.iconPack.attach }), this.t('cta.help'))), index$1.h("div", { key: '27e0eec473b0328d503428802c46f7c648861804', class: "actions" }, index$1.h("rtk-button", { key: '4dbb461bbc79ccc78ef964c3596bf61816a941ff', size: "lg", kind: "wide", variant: "secondary", onClick: this.continue }, this.t('cta.continue')), showMacDeepLink ? (index$1.h("rtk-button", { size: "lg", kind: "wide", onClick: this.openMacSystemSettings }, this.t('cta.system_settings'))) : (index$1.h("rtk-button", { size: "lg", kind: "wide", onClick: this.reload }, this.t('cta.reload')))), index$1.h("slot", { key: 'c86e688c04b116c225daed08d622d48dcab064da' })));
958
+ return (index$1.h(index$1.Host, { key: '6ae73a5881876423b5065f878457a9c125c30ca8' }, index$1.h("h2", { key: 'd92a983a6a5d98f337888da65b5e8438ea6b2f1d' }, index$1.h("rtk-icon", { key: '00842b2e9c00b9f37fcd5259190e02282c013913', class: "text-icon", icon: this.iconPack.warning }), this.getTitle()), this.svgSteps.length > 0 && (index$1.h("div", { key: 'f86b1fac2420ba4d323a027ff806989a417d03dd', class: 'svg-container' }, this.svgSteps.map((e, index) => (index$1.h("p", { innerHTML: e, class: "svg-ins", key: this.currentStep, hidden: index !== this.currentStep }))))), index$1.h("div", { key: '8bd0f3b1a8d22fe783c5483273056d2df1e5f8e2' }, this.getMessage()), !isDeniedBySystem && (index$1.h("a", { key: 'eb177deab4d6fe72a06f918740a3a892344982d4', class: "need-help-link", href: this.getLink((_c = (_b = (_a = this.states) === null || _a === void 0 ? void 0 : _a.activePermissionsMessage) === null || _b === void 0 ? void 0 : _b.kind) !== null && _c !== void 0 ? _c : 'audio'), target: "_blank", rel: "noreferrer external noreferrer noopener" }, index$1.h("rtk-icon", { key: 'b25bb5f60e479f79d462961e5c11ad6d7e5e1844', class: "text-icon", icon: this.iconPack.attach }), this.t('cta.help'))), index$1.h("div", { key: 'cebce7cb7b2529bc92ac23420b7ea30025fe80a4', class: "actions" }, index$1.h("rtk-button", { key: 'f92b409ace419307243ceaf9de047e61ee6782e7', size: "lg", kind: "wide", variant: "secondary", onClick: this.continue }, this.t('cta.continue')), showMacDeepLink ? (index$1.h("rtk-button", { size: "lg", kind: "wide", onClick: this.openMacSystemSettings }, this.t('cta.system_settings'))) : (index$1.h("rtk-button", { size: "lg", kind: "wide", onClick: this.reload }, this.t('cta.reload')))), index$1.h("slot", { key: '0be270faf43bde77cb109950d59be74be8e1669c' })));
959
959
  }
960
960
  static get watchers() { return {
961
961
  "meeting": ["meetingChanged"]
@@ -143,9 +143,9 @@ const RtkChannelCreator = class {
143
143
  (_a = this.inputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
144
144
  }
145
145
  render() {
146
- return (index$1.h(index$1.Host, { key: '5d65768a72c0769857b7d817d0b555d50a5645a5' }, index$1.h("header", { key: 'f8826c58072d2ddb73ed61a1813bf62b85cb9bc8' }, this.step === 1 ? this.t('chat.new_channel') : this.t('chat.add_members')), this.step === 1 && (index$1.h("input", { key: '2bad468b946a896cb28a6206d5650c1b0192f9f9', class: "channel-name-input", type: "text", placeholder: this.t('chat.channel_name'), ref: (el) => (this.inputTextRef = el), onInput: (e) => {
146
+ return (index$1.h(index$1.Host, { key: '0e938e24a3838a8b3cff8be5f8f56e0e828a656a' }, index$1.h("header", { key: 'b0aed03cea09e2105feee1bbfd1acad453cc924e' }, this.step === 1 ? this.t('chat.new_channel') : this.t('chat.add_members')), this.step === 1 && (index$1.h("input", { key: 'f252b9a1d899fa189837d6dd44097ee3e132907b', class: "channel-name-input", type: "text", placeholder: this.t('chat.channel_name'), ref: (el) => (this.inputTextRef = el), onInput: (e) => {
147
147
  this.channelName = e.target.value.trim();
148
- } })), this.step === 2 && this.renderMemberSelector(), index$1.h("footer", { key: 'd23db51c427fa67f67cc11514e241d052eb376fe' }, index$1.h("rtk-button", { key: '5031f53ed0dc632d3e778f0ecaefb0165b74d74d', kind: "button", size: "lg", disabled: this.channelName.length === 0, onClick: this.onClickHandler }, this.step === 1 ? this.t('chat.add_members') : this.t('create')))));
148
+ } })), this.step === 2 && this.renderMemberSelector(), index$1.h("footer", { key: '4dc3bc442c35be9c21d5c0a510aac74f8f94bc6a' }, index$1.h("rtk-button", { key: 'de530ede30a33ae9cf14c155cbf3b53d25d434ae', kind: "button", size: "lg", disabled: this.channelName.length === 0, onClick: this.onClickHandler }, this.step === 1 ? this.t('chat.add_members') : this.t('create')))));
149
149
  }
150
150
  get $el() { return index$1.getElement(this); }
151
151
  };
@@ -35,7 +35,7 @@ const RtkChannelDetails = class {
35
35
  })));
36
36
  }
37
37
  render() {
38
- return (index$1.h(index$1.Host, { key: 'fd16feaf7e6dff4fbf038073e953c25d3f7b4822' }, index$1.h("header", { key: 'acb5029883e4bd77eadd22d1024cb5a9dfd8247a' }, this.t('chat.channel_members')), this.renderMembers()));
38
+ return (index$1.h(index$1.Host, { key: '0d50bc8ecef99900be123c21754cc7e865425c65' }, index$1.h("header", { key: '4b595171c0c7f10835230d7ed66508d5b2412ac4' }, this.t('chat.channel_members')), this.renderMembers()));
39
39
  }
40
40
  };
41
41
  __decorate([
@@ -123,7 +123,7 @@ const RtkChannelSelectorUi = class {
123
123
  }
124
124
  }
125
125
  render() {
126
- return (index$1.h(index$1.Host, { key: 'd4565e4906338b20c51ca9559f9aabcf6a54382a' }, index$1.h("div", { key: '3e196d8746296f4d8f118c5218b9c1c9818fd7c3', class: "container", ref: (el) => (this.$el = el) }, this.isHidden && (index$1.h("rtk-button", { key: 'a771768f868b0e1281281ff8dc721f8a3cb2c201', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, index$1.h("rtk-icon", { key: 'b6e75a2486cef93ad99e9e173258256ab048198b', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))), index$1.h("slot", { key: 'fd02665a1f80a946e9f6c2b642b80edc6f978a65', name: "header" }), index$1.h("div", { key: 'd24ad0988ef95f0ddabb8ff1c33f3740f8af4f76', class: "search-wrapper" }, index$1.h("div", { key: '1bb2aec77e2d1d6500709566a0bd1d9a8246ecc8', class: "search" }, index$1.h("input", { key: '10a989ac0e55bd37f67359e9ca14ea9e79edeb88', type: "search", autocomplete: "off", placeholder: this.t('chat.search_conversations'), onInput: this.onSearchInput }), index$1.h("rtk-icon", { key: 'ffaeb2e88ffc571a6271fafd9b9ef1c7f105803b', icon: this.iconPack.search, class: "search-icon" }))), index$1.h("div", { key: '9612379eb95b5d4fae3a4fa6db05660bfc92b6e8', class: "channel-container scrollbar", role: "list" }, this.channels
126
+ return (index$1.h(index$1.Host, { key: '8c0e21c2edeb6cedf5e4332d361dd06fef80e2c3' }, index$1.h("div", { key: 'b4f0bdc102cf4a6bdaafe945ccacc65691cda6c8', class: "container", ref: (el) => (this.$el = el) }, this.isHidden && (index$1.h("rtk-button", { key: 'c0a4ffa6a83074b59d39827dd0d49db89d0bbe86', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, index$1.h("rtk-icon", { key: '51316a7127bc3f780d4110fe62a6114156859fef', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))), index$1.h("slot", { key: '9f62d231516e418d40e73ff4e7128c3df93fa516', name: "header" }), index$1.h("div", { key: 'e337d9c1c2599b894812d1f9d68740ddff45a417', class: "search-wrapper" }, index$1.h("div", { key: 'a4e60014174739d658cac4a8a2b4cc6170a718c3', class: "search" }, index$1.h("input", { key: 'e4b02408f7893c2ac6dc4d7f52dbafbd6acba59b', type: "search", autocomplete: "off", placeholder: this.t('chat.search_conversations'), onInput: this.onSearchInput }), index$1.h("rtk-icon", { key: 'ab9fd67f26aebf1062ed89d0411f00cd3a1ce30b', icon: this.iconPack.search, class: "search-icon" }))), index$1.h("div", { key: 'ac46c45d8f8ee6a93c04748e8eae278fecc9d2a9', class: "channel-container scrollbar", role: "list" }, this.channels
127
127
  .filter((channel) => this.searchQuery === '' || channel.displayName.includes(this.searchQuery))
128
128
  .map((channel) => {
129
129
  return (index$1.h("div", { class: {
@@ -133,7 +133,7 @@ const RtkChannelSelectorUi = class {
133
133
  }, role: "listitem", onClick: () => {
134
134
  this.channelSelected(channel.id);
135
135
  } }, this.renderChannelDisplayPic(channel), index$1.h("div", { class: "channel-card", "is-direct-message": channel.isDirectMessage }, index$1.h("div", { class: 'recent-message-row' }, index$1.h("span", { class: "channel-name" }, channel.displayName), channel.latestMessage && (index$1.h("span", { class: "latest-msg-time" }, this.getTimeLabel(channel.latestMessage)))), index$1.h("div", { class: 'recent-message-row' }, this.renderRecentMessage(channel), channel.unreadCount > 0 && channel.id !== this.selectedChannelId ? (index$1.h("span", { class: "new-msgs-count" }, channel.unreadCount < 99 ? channel.unreadCount : '99+')) : null))));
136
- }))), !this.isHidden && (index$1.h("div", { key: '84b18823c07fc0dba89b8e11fb36044d36c4e9d3', class: "overlay-container" }, index$1.h("rtk-button", { key: '7aecee5541f731e264a5f12d10e7f7b07ce647ef', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, index$1.h("rtk-icon", { key: '924fa966910f056fbe0e7ee57de122fcb7d6311c', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))))));
136
+ }))), !this.isHidden && (index$1.h("div", { key: '7c886fbae80b1248db515317cfcf525eb74ffa6b', class: "overlay-container" }, index$1.h("rtk-button", { key: 'f48116160f38d361ec4842dbe2a550a1154d0b00', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, index$1.h("rtk-icon", { key: '29f1f41eb90dddacf0ef6a42479d7468a03ee005', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))))));
137
137
  }
138
138
  };
139
139
  __decorate([
@@ -96,11 +96,11 @@ const RtkChatMessage = class {
96
96
  } })));
97
97
  }
98
98
  render() {
99
- return (index$1.h(index$1.Host, { key: '358cc92774694c9c31b965f823efd5047685ddd3' }, index$1.h("div", { key: '084dbfc81b75420c66f949b9799a60563c39b6b2', class: {
99
+ return (index$1.h(index$1.Host, { key: 'f6a727c485be5af8f6213c40a9b897debac1c62d' }, index$1.h("div", { key: '03fff27269d7e3976463692e0e4f15106e4f1cc6', class: {
100
100
  'message-wrapper': true,
101
101
  'align-right': this.alignRight,
102
102
  'left-align': this.leftAlign,
103
- }, "is-continued": this.isContinued }, this.renderAvatar(), index$1.h("div", { key: 'e3f3490eccdc1550b9232bf70f2d8f6717f2fac4', class: {
103
+ }, "is-continued": this.isContinued }, this.renderAvatar(), index$1.h("div", { key: 'd62eaa8b99853d7c38586dc2ac1c8163ad4effcf', class: {
104
104
  message: true,
105
105
  'show-on-hover': !this.isTouchDevice(),
106
106
  }, "is-continued": this.isContinued }, this.renderMessage(), this.renderControls()))));
@@ -160,7 +160,7 @@ const RtkChatMessagesUi = class {
160
160
  var _a;
161
161
  let prevMessage = null;
162
162
  let reachedFirstUnread = false;
163
- return (index$1.h(index$1.Host, { key: '02149982e96642f42c8850f5d501c038874300f7' }, index$1.h("div", { key: 'bcc27f4f4c620175c5b6daead99d0a1b64e6bba8', class: "chat-container scrollbar", ref: (el) => (this.$chat = el), part: "container" }, index$1.h("div", { key: '4d4ba71a572095a28aa7c03e70a724521122e96d', class: "spacer", part: "spacer" }), index$1.h("div", { key: 'eca7d4406536b4e1b8d907bffe9a1ed6ad311dd4', class: "chat", part: "chat" }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.map((item) => {
163
+ return (index$1.h(index$1.Host, { key: '1e00d65234971f64cb44cfc9f3f27523ef4184eb' }, index$1.h("div", { key: '6f1f50001914707a79782e2b035f7f056545bd73', class: "chat-container scrollbar", ref: (el) => (this.$chat = el), part: "container" }, index$1.h("div", { key: '0e2513409c533ce131341d8d636f95cde39bd1e4', class: "spacer", part: "spacer" }), index$1.h("div", { key: 'c677a4a1f80fb07f59157358aff8008d2cf52569', class: "chat", part: "chat" }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.map((item) => {
164
164
  if (item.type === 'chat') {
165
165
  const { message } = item;
166
166
  const isSelfMessage = message.userId === this.selfUserId;
@@ -179,10 +179,10 @@ const RtkChatMessagesUi = class {
179
179
  } })))), message.pinned && (index$1.h("div", { class: "pin-button", part: "pin-button" }, index$1.h("rtk-tooltip", { label: this.t('unpin') }, index$1.h("rtk-button", { kind: "icon", variant: "ghost", onClick: () => this.onMessageActionHandler('pin_message', message), disabled: !this.canPinMessages }, index$1.h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }))))))));
180
180
  }
181
181
  return null;
182
- }))), index$1.h("div", { key: '8cbfbb3eef3f8640ddd66f68d0287cff5ade6997', class: "show-new-messages-ctr" }, index$1.h("rtk-button", { key: 'c9d841cf2d557b766c4a642291779562b71d25a1', class: {
182
+ }))), index$1.h("div", { key: 'b0cd46132b3cd70b784f94a8c97a3fbeef57900f', class: "show-new-messages-ctr" }, index$1.h("rtk-button", { key: 'd8faf61563052ad61ef2cc19e6f8d91993bae58d', class: {
183
183
  'show-new-messages': true,
184
184
  active: this.showLatestMessageButton,
185
- }, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, index$1.h("rtk-icon", { key: 'c579ffd1d28139fd82535c6cc0f661118b670a59', icon: this.iconPack.chevron_down })))));
185
+ }, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, index$1.h("rtk-icon", { key: 'ef37ed2fc35d087ac95a75393a2470ce9def4670', icon: this.iconPack.chevron_down })))));
186
186
  }
187
187
  static get watchers() { return {
188
188
  "messages": ["chatChanged"],
@@ -40,7 +40,7 @@ const RtkChatSearchResults = class {
40
40
  };
41
41
  }
42
42
  render() {
43
- return (index$1.h(index$1.Host, { key: '226b9e52950fca3d296b041dbd93a6c060ad4abe' }, index$1.h("rtk-paginated-list", { key: '102af9de7e52317a5f9a8272e9e8a302f99268da', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
43
+ return (index$1.h(index$1.Host, { key: 'e71457e70093c4de4d453d3905aaeedf7ef91df3' }, index$1.h("rtk-paginated-list", { key: '4a8f9360d483804ed31c512ddc9ae91454ab1c89', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
44
44
  }
45
45
  };
46
46
  __decorate([
@@ -7,7 +7,7 @@ const uiStore = require('./ui-store-6c2d680f.js');
7
7
  const sidebar = require('./sidebar-0eb1e4ef.js');
8
8
  const index = require('./index-e4244d7d.js');
9
9
 
10
- const rtkChatToggleCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block}:host([data-hidden]){display:none}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}.unread-count-dot{position:absolute;right:var(--rtk-space-3, 12px);z-index:10;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));border-radius:50%;display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;transform:translateY(-50%)}";
10
+ const rtkChatToggleCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block}:host([data-hidden]){display:none}.unread-count{position:absolute;right:var(--rtk-space-4, 16px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}.unread-count-dot{position:absolute;right:var(--rtk-space-3, 12px);z-index:10;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));border-radius:50%;display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;transform:translateY(-50%)}";
11
11
  const RtkChatToggleStyle0 = rtkChatToggleCss;
12
12
 
13
13
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
@@ -33,17 +33,15 @@ const RtkChatToggle = class {
33
33
  this.t = uiStore.useLanguage();
34
34
  this.chatActive = false;
35
35
  this.canViewChat = false;
36
- /**
37
- * Only used when paginated chat is enabled
38
- */
39
- this.hasNewMessages = false;
36
+ this.pageSize = 11;
40
37
  this.onChatUpdate = ({ action, message }) => {
41
38
  var _a;
42
39
  if (this.chatActive)
43
40
  return;
44
41
  if (action === 'add' && message.userId !== ((_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId)) {
45
- this.hasNewMessages = true;
46
- this.unreadMessageCount += 1;
42
+ if (this.unreadMessageCount <= 10) {
43
+ this.unreadMessageCount += 1;
44
+ }
47
45
  }
48
46
  };
49
47
  this.toggleChat = () => {
@@ -51,7 +49,6 @@ const RtkChatToggle = class {
51
49
  this.chatActive = !((states === null || states === void 0 ? void 0 : states.activeSidebar) && (states === null || states === void 0 ? void 0 : states.sidebar) === 'chat');
52
50
  if (this.chatActive) {
53
51
  this.unreadMessageCount = 0;
54
- this.hasNewMessages = false;
55
52
  }
56
53
  this.stateUpdate.emit({
57
54
  activeSidebar: this.chatActive,
@@ -75,27 +72,36 @@ const RtkChatToggle = class {
75
72
  (_f = (_e = this.meeting) === null || _e === void 0 ? void 0 : _e.self) === null || _f === void 0 ? void 0 : _f.permissions.removeListener('chatUpdate', this.updateCanView);
76
73
  }
77
74
  meetingChanged(meeting) {
78
- var _a, _b, _c, _d, _e, _f, _g;
75
+ var _a, _b, _c;
79
76
  if (!meeting)
80
77
  return;
81
- (_a = meeting.chat) === null || _a === void 0 ? void 0 : _a.getMessages(new Date().getTime(), 1, true).then((res) => {
82
- var _a;
83
- if ((_a = res === null || res === void 0 ? void 0 : res.messages) === null || _a === void 0 ? void 0 : _a.length)
84
- this.hasNewMessages = true;
85
- });
86
- const meetingStartedTimeMs = (_c = (_b = meeting.meta) === null || _b === void 0 ? void 0 : _b.meetingStartedTimestamp.getTime()) !== null && _c !== void 0 ? _c : 0;
87
- const newMessages = (_d = meeting.chat) === null || _d === void 0 ? void 0 : _d.messages.filter((m) => m.timeMs > meetingStartedTimeMs);
88
- this.unreadMessageCount = newMessages.length || 0;
89
- (_e = meeting.chat) === null || _e === void 0 ? void 0 : _e.addListener('chatUpdate', this.onChatUpdate);
78
+ this.setUnreadMessageCount();
90
79
  this.canViewChat = sidebar.canViewChat(meeting);
91
- (_f = meeting === null || meeting === void 0 ? void 0 : meeting.stage) === null || _f === void 0 ? void 0 : _f.on('stageStatusUpdate', this.updateCanView);
92
- (_g = meeting === null || meeting === void 0 ? void 0 : meeting.self) === null || _g === void 0 ? void 0 : _g.permissions.on('chatUpdate', this.updateCanView);
80
+ (_a = meeting.chat) === null || _a === void 0 ? void 0 : _a.addListener('chatUpdate', this.onChatUpdate);
81
+ (_b = meeting === null || meeting === void 0 ? void 0 : meeting.stage) === null || _b === void 0 ? void 0 : _b.on('stageStatusUpdate', this.updateCanView);
82
+ (_c = meeting === null || meeting === void 0 ? void 0 : meeting.self) === null || _c === void 0 ? void 0 : _c.permissions.on('chatUpdate', this.updateCanView);
93
83
  }
94
84
  statesChanged(states) {
95
85
  if (states != null) {
96
86
  this.chatActive = states.activeSidebar === true && states.sidebar === 'chat';
97
87
  }
98
88
  }
89
+ async setUnreadMessageCount() {
90
+ var _a, _b;
91
+ const chat = this.meeting.chat;
92
+ if (!chat)
93
+ return;
94
+ const { messages } = await chat.getMessages(new Date().getTime(), this.pageSize, true);
95
+ const meetingStartedTimeMs = (_b = (_a = this.meeting.meta) === null || _a === void 0 ? void 0 : _a.meetingStartedTimestamp.getTime()) !== null && _b !== void 0 ? _b : 0;
96
+ const newMessages = messages.filter((m) => m.timeMs > meetingStartedTimeMs);
97
+ if (newMessages.length === messages.length && messages.length > 0) {
98
+ // all messages are new, so we can't know the exact count, but we know there are at least pageSize - 1 new messages
99
+ this.unreadMessageCount = this.pageSize - 1;
100
+ }
101
+ else {
102
+ this.unreadMessageCount = newMessages.length;
103
+ }
104
+ }
99
105
  handleChatActiveChange() {
100
106
  // Chat sidebar closed without opening a different sidebar
101
107
  if (!this.chatActive && !this.states.activeSidebar) {
@@ -107,8 +113,7 @@ const RtkChatToggle = class {
107
113
  return null;
108
114
  if (!this.canViewChat)
109
115
  return index$1.h(index$1.Host, { "data-hidden": true });
110
- return (index$1.h(index$1.Host, { title: this.t('chat') }, this.hasNewMessages && index$1.h("div", { class: "unread-count-dot", part: "unread-count-dot" })
111
- , index$1.h("rtk-controlbar-button", { ref: (el) => (this.buttonEl = el), part: "controlbar-button", size: this.size, iconPack: this.iconPack, class: { active: this.chatActive }, onClick: this.toggleChat, icon: this.iconPack.chat, label: this.t('chat'), variant: this.variant })));
116
+ return (index$1.h(index$1.Host, { title: this.t('chat') }, this.unreadMessageCount !== 0 && !this.chatActive && (index$1.h("div", { class: "unread-count", part: "unread-count" }, index$1.h("span", null, this.unreadMessageCount < this.pageSize ? this.unreadMessageCount : '10+'))), index$1.h("rtk-controlbar-button", { ref: (el) => (this.buttonEl = el), part: "controlbar-button", size: this.size, iconPack: this.iconPack, class: { active: this.chatActive }, onClick: this.toggleChat, icon: this.iconPack.chat, label: this.t('chat'), variant: this.variant })));
112
117
  }
113
118
  static get watchers() { return {
114
119
  "meeting": ["meetingChanged"],
@@ -77,9 +77,9 @@ const RtkClock = class {
77
77
  }
78
78
  render() {
79
79
  const showClock = this.startedTime !== undefined;
80
- return (index$1.h(index$1.Host, { key: '6e6b7a331666cd98cb100dca5c2869a8b5688553', "data-hidden": !showClock, tabIndex: 0, role: "timer", "aria-live": "off" }, this.startedTime !== undefined && [
81
- index$1.h("rtk-icon", { key: '91cd9140d88447cd6662e08f4d2ed4c0df62858b', icon: this.iconPack.clock, "aria-hidden": true, tabIndex: -1, part: "icon" }),
82
- index$1.h("span", { key: 'eba0772ccc8f0cc14c9c4dd7c11574dcc368b443', part: "text" }, this.getFormattedTime()),
80
+ return (index$1.h(index$1.Host, { key: 'a389e7c6a9fc8183f3228564bfa61f606ceaf979', "data-hidden": !showClock, tabIndex: 0, role: "timer", "aria-live": "off" }, this.startedTime !== undefined && [
81
+ index$1.h("rtk-icon", { key: '5fe283d25031c367f018d7a99ea46ed0c0d46a86', icon: this.iconPack.clock, "aria-hidden": true, tabIndex: -1, part: "icon" }),
82
+ index$1.h("span", { key: 'e5e134c951f7bbb3f161ae01d88d9c83ed85c798', part: "text" }, this.getFormattedTime()),
83
83
  ]));
84
84
  }
85
85
  static get watchers() { return {
@@ -43,7 +43,7 @@ const RtkControlbar = class {
43
43
  iconPack: this.iconPack,
44
44
  size: this.size,
45
45
  };
46
- return (index$1.h(index$1.Host, { key: 'f4fee1168f1b057865a0c615c563158df7f7e2fd' }, !this.disableRender && (index$1.h(index$2.Render, { key: '58945391fb15e670a385f12e3d5861b03597ed61', element: "rtk-controlbar", defaults: defaults, onlyChildren: true })), index$1.h("slot", { key: 'df55eba453868617350ec45fc0437ecb11e03597' })));
46
+ return (index$1.h(index$1.Host, { key: 'f42df94eb381604cc1e4e9716e7908cab55da6b2' }, !this.disableRender && (index$1.h(index$2.Render, { key: '2c961c3e2546e7610cd2e18ea8aeaf72dbdd1075', element: "rtk-controlbar", defaults: defaults, onlyChildren: true })), index$1.h("slot", { key: '9e2a7239b36ba2f4c40bf7c7d63441c833927a97' })));
47
47
  }
48
48
  };
49
49
  __decorate([
@@ -38,7 +38,7 @@ const RtkDebuggerToggle = class {
38
38
  });
39
39
  }
40
40
  render() {
41
- return (index$1.h(index$1.Host, { key: 'cc9ec6cade76093abba3a48502d12a82868a875a', title: this.t('Troubleshooting') }, index$1.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 })));
41
+ return (index$1.h(index$1.Host, { key: '38be7c2de47b57a51bb6feedc0f8ea05801eec58', title: this.t('Troubleshooting') }, index$1.h("rtk-controlbar-button", { key: '18d8b11e7a57d4930c2d300eaeb60b9a77c45c5c', size: this.size, iconPack: this.iconPack, onClick: () => this.toggleDebugger(), icon: this.iconPack.debug, label: this.t('Troubleshooting'), variant: this.variant })));
42
42
  }
43
43
  };
44
44
  __decorate([
@@ -46,7 +46,7 @@ const RtkFileDropzone = class {
46
46
  });
47
47
  }
48
48
  render() {
49
- return (index$1.h(index$1.Host, { key: 'd3fd9af2a148277b2481c94305104e43088a9b42' }, index$1.h("div", { key: 'f889ddc5635013ae7f364a6d36ef51936e179f7d', id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, index$1.h("rtk-icon", { key: 'ceb747a5fba7aa40ef108d404a7b8b02e6ab25b9', icon: this.iconPack.attach }), index$1.h("p", { key: '711b8a1ace2d73714f9abdbaba8c031e204fe07e' }, this.t('chat.send_attachment')))));
49
+ return (index$1.h(index$1.Host, { key: '6a205001d1e1e1f7c54855005cab34b81e95c9b9' }, index$1.h("div", { key: 'b87bcc6c90819127b2783665e541b69ce49f1032', id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, index$1.h("rtk-icon", { key: '1f603086a79a170a4fc3f3df53df9cfdfbae73fe', icon: this.iconPack.attach }), index$1.h("p", { key: '0b4914a3fb881006b1af20533750e6b273a82a48' }, this.t('chat.send_attachment')))));
50
50
  }
51
51
  };
52
52
  __decorate([
@@ -38,10 +38,10 @@ const RtkFileMessage = class {
38
38
  }
39
39
  render() {
40
40
  const link = string.sanitizeLink(this.message.link);
41
- return (index$1.h(index$1.Host, { key: '915330674d273f2c45ece29cb5e7c9408ee5cbe8' }, !this.isContinued && (index$1.h(ChatHead.ChatHead, { key: 'eb2877f6224de9be1c975f0d2dc010f29fef3bc9', name: this.message.displayName, time: this.message.time, now: this.now })), index$1.h("div", { key: '87d7f309379f23b76e404da2039cd2fd3fb7c95a', class: {
41
+ return (index$1.h(index$1.Host, { key: '7e77bf95a78614fce8aac5a517e96b766d05684c' }, !this.isContinued && (index$1.h(ChatHead.ChatHead, { key: '2369a52afdf95e5d3850ae2e55ccf62212841797', name: this.message.displayName, time: this.message.time, now: this.now })), index$1.h("div", { key: '21b0fc1a24e50d2487292c812b6d37189f219fdb', class: {
42
42
  body: true,
43
43
  bubble: this.showBubble,
44
- }, part: "body" }, index$1.h("div", { key: '7683a17adf5784ef0e6af8f396c58c005a369f6b', class: "file" }, index$1.h("div", { key: '3005eb72a09ba4d241ec919f957b95f26077ed13', class: "file-data" }, index$1.h("div", { key: 'ca5fc3700f868fd321793d4da672e9c7aad38056', class: "name" }, this.message.name), index$1.h("div", { key: '463c37838eec7b9ee9b096803cb785445206041a', class: "file-data-split" }, index$1.h("div", { key: '9470b898708fc78ca01c2926f8fb6a3c6fae6eea', class: "ext" }, file.getExtension(this.message.name)), index$1.h("span", { key: '35fa7f199b45bb6e64a72614ca1eceaafa6044e7', class: "divider" }), index$1.h("div", { key: 'b19a9d32151bb1ddbbb7689dc6d8e09b021d0612', class: "size" }, file.getFileSize(this.message.size)))), index$1.h("rtk-button", { key: '6bb6a3223801a944fb9018765385ebadeae15e0f', variant: "secondary", kind: "icon", onClick: () => file.downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, index$1.h("rtk-icon", { key: '9a7335c6720295a7f0b9073e35ac86014be53316', icon: this.iconPack.download }))))));
44
+ }, part: "body" }, index$1.h("div", { key: '8dca01f88c22a64a3b70b26ebaabdcd46afa73a7', class: "file" }, index$1.h("div", { key: 'a6bf3e516ce45acc1671df528f998ef057926539', class: "file-data" }, index$1.h("div", { key: '8680af670beb6d1fc08e0d47508667b357ff466f', class: "name" }, this.message.name), index$1.h("div", { key: '4fcd3cf05e9e14d798e04150337c93577b47104c', class: "file-data-split" }, index$1.h("div", { key: '618e81eb6011f9ebde2782f4c039fd787cba666c', class: "ext" }, file.getExtension(this.message.name)), index$1.h("span", { key: 'ac5faddf53f94aab3d1f8f05d8523960de8a300f', class: "divider" }), index$1.h("div", { key: 'd28b3acf0f19d99c399f008d0d41c1a8977a821f', class: "size" }, file.getFileSize(this.message.size)))), index$1.h("rtk-button", { key: '4f562573b8b0765a5a94c064ebb9c60e26eb9c1a', variant: "secondary", kind: "icon", onClick: () => file.downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, index$1.h("rtk-icon", { key: '062a9cb80ab29f81fac9b6d76caaa5f5846d3837', icon: this.iconPack.download }))))));
45
45
  }
46
46
  };
47
47
  __decorate$2([
@@ -81,10 +81,10 @@ const RtkImageMessage = class {
81
81
  this.status = 'loading';
82
82
  }
83
83
  render() {
84
- return (index$1.h(index$1.Host, { key: '1267763841d7162f1ad4152a5c4cdd809aaa3808' }, !this.isContinued && (index$1.h(ChatHead.ChatHead, { key: '9b415f65f456f8624cd4f981d7f8ae191772a3ce', name: this.message.displayName, time: this.message.time, now: this.now })), index$1.h("div", { key: '38ea5e45140f543ae6d16d2d00b0bf0c9a671910', class: {
84
+ return (index$1.h(index$1.Host, { key: '4d83696c62cb30b3c50201c054aed059f9d087fb' }, !this.isContinued && (index$1.h(ChatHead.ChatHead, { key: 'b1f8ca2684e487f9f51106562af2fb7bb7d0ae5e', name: this.message.displayName, time: this.message.time, now: this.now })), index$1.h("div", { key: '0ffd97ca74224fb7e464b5bbde3d79c8b11c6105', class: {
85
85
  body: true,
86
86
  bubble: this.showBubble,
87
- }, part: "body" }, index$1.h("div", { key: '3c842144038f9612fc46c3f5d18f87342f8376c4', class: { image: true, loaded: this.status === 'loaded' } }, index$1.h("img", { key: '39b2978696328d6ed6ac3bbbdc83a57fc7fa7d88', src: string.sanitizeLink(this.message.link), onLoad: () => {
87
+ }, part: "body" }, index$1.h("div", { key: 'de64e6fff4b952e08eea1895f6b02ce6de7ea528', class: { image: true, loaded: this.status === 'loaded' } }, index$1.h("img", { key: 'fae1d0126e403da11c8d4aeb036ad29484af2bf6', src: string.sanitizeLink(this.message.link), onLoad: () => {
88
88
  this.status = 'loaded';
89
89
  }, onError: () => {
90
90
  this.status = 'errored';
@@ -92,9 +92,9 @@ const RtkImageMessage = class {
92
92
  if (this.status === 'loaded') {
93
93
  this.stateUpdate.emit({ image: this.message });
94
94
  }
95
- } }), this.status === 'loading' && (index$1.h("div", { key: 'd83ca52f9330ddef301be3d4a84b663f91864ea3', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, index$1.h("rtk-spinner", { key: '6333ce5847ecd62793d5777a886a3a1a33641fab', iconPack: this.iconPack }))), this.status === 'errored' && (index$1.h("div", { key: 'e4063e68ad477069d8acaa03d0dd1c692f82c76f', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, index$1.h("rtk-icon", { key: '010562aee164fdb63e45da4c0eaa29ad1cbdf66c', icon: this.iconPack.image_off }))), this.status === 'loaded' && (index$1.h("div", { key: '14773362280e9dd167db61e58b3f729e0a86d88d', class: "actions" }, index$1.h("rtk-button", { key: '8e0cd659fd47074729fa3e63897e3e8eab3193a3', class: "action", variant: "secondary", kind: "icon", onClick: () => {
95
+ } }), this.status === 'loading' && (index$1.h("div", { key: 'b5e4c17c94f065f06a513d8601564ca6512d38a9', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, index$1.h("rtk-spinner", { key: '4819886ed836fc94d35b48fd2f185bed2f142db6', iconPack: this.iconPack }))), this.status === 'errored' && (index$1.h("div", { key: '7d2381426f1867524b59963d025ed6728d0bee34', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, index$1.h("rtk-icon", { key: 'abe064f6b5ecf9740611362c8c836a1fcf886223', icon: this.iconPack.image_off }))), this.status === 'loaded' && (index$1.h("div", { key: '863b9db15ee68f5bd5939b70f7b24f215b250a19', class: "actions" }, index$1.h("rtk-button", { key: '6b9d6e415a485fbbe8844a38a3b2d2401aa7ad22', class: "action", variant: "secondary", kind: "icon", onClick: () => {
96
96
  this.stateUpdate.emit({ image: this.message });
97
- } }, index$1.h("rtk-icon", { key: '9db76d4971f2b6b45d87b6015b7ef449fa46ba85', icon: this.iconPack.full_screen_maximize })), index$1.h("rtk-button", { key: '978934fd136ab2c364521ec55d25e578940e5c7c', class: "action", variant: "secondary", kind: "icon", onClick: () => file.downloadFile(this.message.link, { fallbackName: 'image' }) }, index$1.h("rtk-icon", { key: '55be50aff54309a76e5348f437805e2872bcf548', icon: this.iconPack.download }))))))));
97
+ } }, index$1.h("rtk-icon", { key: 'a40d297b50b7667b08b9a5d08223b7326c3314be', icon: this.iconPack.full_screen_maximize })), index$1.h("rtk-button", { key: 'cb344d52dbcc0c6a55da8017b5664b8a160dd339', class: "action", variant: "secondary", kind: "icon", onClick: () => file.downloadFile(this.message.link, { fallbackName: 'image' }) }, index$1.h("rtk-icon", { key: 'e4a5cee14a5fae2496930dbbdaa3199a6b2d9b6b', icon: this.iconPack.download }))))))));
98
98
  }
99
99
  };
100
100
  __decorate$1([
@@ -130,10 +130,10 @@ const RtkTextMessage = class {
130
130
  this.showBubble = false;
131
131
  }
132
132
  render() {
133
- return (index$1.h(index$1.Host, { key: '4182f98abea77690fb9159047ef66c9ca0dbefbf' }, !this.isContinued && (index$1.h(ChatHead.ChatHead, { key: '1132b1b04efd80d172e172cfa2c6a8c0de3ff9aa', name: this.message.displayName, time: this.message.time, now: this.now })), index$1.h("div", { key: '01736d14164f0b10c50243f721f82914012a47a9', class: {
133
+ return (index$1.h(index$1.Host, { key: '43c32eae2f8433487a47b0784fa41f9f254caaf9' }, !this.isContinued && (index$1.h(ChatHead.ChatHead, { key: '3d6e8b86782e1d50d04a576ec25c01ed5f66e037', name: this.message.displayName, time: this.message.time, now: this.now })), index$1.h("div", { key: '073ec191f2916b760a497346b45dcd4685ae84e7', class: {
134
134
  body: true,
135
135
  bubble: this.showBubble,
136
- }, part: "body" }, index$1.h("div", { key: 'fa971c508e884fc58c434d14a5e398e04f046168', class: { text: true, emoji: string.hasOnlyEmojis(this.message.message) } }, index$1.h(TextMessage.TextMessageView, { key: '2ffdf13b83faef9f39f8cd2825ec042a92c6e6a6', message: this.message.message })))));
136
+ }, part: "body" }, index$1.h("div", { key: 'e020a664959b894e62b4c02b30cfa42cb4000a29', class: { text: true, emoji: string.hasOnlyEmojis(this.message.message) } }, index$1.h(TextMessage.TextMessageView, { key: '11bb0acfff63f078413a2870f893946eab1596fc', message: this.message.message })))));
137
137
  }
138
138
  };
139
139
  __decorate([
@@ -43,7 +43,7 @@ const RtkHeader = class {
43
43
  iconPack: this.iconPack,
44
44
  size: this.size,
45
45
  };
46
- return (index$1.h(index$1.Host, { key: '00cfd80dbffa3f1c9c66e00397c7db1e7292664c' }, !this.disableRender && index$1.h(index$2.Render, { key: '521ab0493477836b0a5ce6de5ed85a842c71d32a', element: "rtk-header", defaults: defaults, onlyChildren: true }), index$1.h("slot", { key: 'f73693073b8a7162a5db2ec73e93de6bbccea7dd' })));
46
+ return (index$1.h(index$1.Host, { key: 'cc998eacd57a6ab5492229b6eb900caf9aa6cfaa' }, !this.disableRender && index$1.h(index$2.Render, { key: 'c8bfb68227fcea6955c7e4d07cfe3d1eb9d7906d', element: "rtk-header", defaults: defaults, onlyChildren: true }), index$1.h("slot", { key: '50848506efeeccf7a6bd4539d65374eb64279d17' })));
47
47
  }
48
48
  };
49
49
  __decorate([
@@ -30,7 +30,7 @@ const RtkIdleScreen = class {
30
30
  this.t = uiStore.useLanguage();
31
31
  }
32
32
  render() {
33
- return (index$1.h(index$1.Host, { key: '1243feb830c4b40ddbb41409ba5e4f5259d4aba2' }, index$1.h("slot", { key: 'e5c674091393508a202d514e9ad41ccae687a660' }, index$1.h("div", { key: 'bd6e459fc18148edf47ed45df3e9f1f3d3356383', class: "ctr", part: "container" }, index$1.h("rtk-logo", { key: '9b3211860563ef93307902744b37985908f71cdf', meeting: this.meeting, config: this.config, t: this.t, part: "logo" }), index$1.h("rtk-spinner", { key: '584a3355b5a023ae9bc66f1eafbd85f3d3b9bb92', "aria-label": "Idle, waiting for meeting data", part: "spinner", iconPack: this.iconPack })))));
33
+ return (index$1.h(index$1.Host, { key: '9542c3ce51e79f077f59e3c260884b117ee8d327' }, index$1.h("slot", { key: 'b0d7e6f916ef6bc00eb77c89a6ee6c4f55fe81c5' }, index$1.h("div", { key: '028702fec102195179abb5ad93803478cda2cd4d', class: "ctr", part: "container" }, index$1.h("rtk-logo", { key: '5fa9163f969de1ee7f9f02b585138e16d583bf2b', meeting: this.meeting, config: this.config, t: this.t, part: "logo" }), index$1.h("rtk-spinner", { key: 'cbf0b91e0455cb2be65059766d6eb713674f2dcb', "aria-label": "Idle, waiting for meeting data", part: "spinner", iconPack: this.iconPack })))));
34
34
  }
35
35
  };
36
36
  __decorate([
@@ -45,7 +45,7 @@ const RtkImageViewer = class {
45
45
  document.removeEventListener('click', this.handleOutsideClick);
46
46
  }
47
47
  render() {
48
- return (index$1.h(index$1.Host, { key: '6e6e27bf5529ef5af5b0b7f02c0fcda77dba492c', class: "scrollbar", onClick: (e) => e.stopPropagation() }, index$1.h("div", { key: '53b1df2b76fb58d37154f246c09c38f17c4ac6b3', class: "header" }, index$1.h("div", { key: 'e5707219faa115dfccd330643d022c90abdcfc5b', class: "shared-by-user" }, this.t('chat.img.shared_by'), ' ', index$1.h("span", { key: '8387ffa67b78746a8d94f130ff23241313b5c1d8', class: "displayName" }, string.formatName(string.shorten(this.image.displayName)))), index$1.h("div", { key: 'cd70a8a95e264a533d2d093e4d32df49dfc3f2c7', class: "actions" }, index$1.h("rtk-button", { key: '404da530999c81a7754c07ed48ffb73eb8f915e3', onClick: () => file.downloadFile(this.image.link, { fallbackName: 'image' }) }, index$1.h("rtk-icon", { key: '5d7806419e55072fcfb8735229cef5b9b0816669', icon: this.iconPack.download, slot: "start" }), "Download"), index$1.h("rtk-button", { key: '6ac87cb0172f319706d8e8d4591a76d3fa60a2b9', kind: "icon", variant: "secondary", onClick: () => this.close.emit() }, index$1.h("rtk-icon", { key: 'd25982c4b4f3c422df8187782a762b12fffb76df', icon: this.iconPack.dismiss })))), index$1.h("div", { key: '968d31b08e5113419bbdc63c3887a8537d198284', class: "image-ctr" }, index$1.h("img", { key: 'a806265d98e09094dd267afc3dc6018f6cf692c4', src: this.image.link }))));
48
+ return (index$1.h(index$1.Host, { key: 'd3d145c8bd304fbe0e9420e7746ea15872772f3b', class: "scrollbar", onClick: (e) => e.stopPropagation() }, index$1.h("div", { key: '3f9ceed6d177439c39438dbb6ac60d08d630bf0e', class: "header" }, index$1.h("div", { key: '3944264dcf9903e55b544bda02dfa8d6643ba3ff', class: "shared-by-user" }, this.t('chat.img.shared_by'), ' ', index$1.h("span", { key: '540b69c4f1abdd437a003fa4ba9c9ddf8aa71dd8', class: "displayName" }, string.formatName(string.shorten(this.image.displayName)))), index$1.h("div", { key: 'ed632e11bcdf8fa46a2c1bd0f6b02884ee635b5a', class: "actions" }, index$1.h("rtk-button", { key: '677ef4df0f7235a27c925b1e742a61222c90049f', onClick: () => file.downloadFile(this.image.link, { fallbackName: 'image' }) }, index$1.h("rtk-icon", { key: '2479f3a5e2f9eff5359d377625d06337b2023e8c', icon: this.iconPack.download, slot: "start" }), "Download"), index$1.h("rtk-button", { key: '6ff009deb6e385481254e9fa6a7ae30f1676cff0', kind: "icon", variant: "secondary", onClick: () => this.close.emit() }, index$1.h("rtk-icon", { key: '6ad51918f8e76980f61c02c10b9a2cccfe5a2a7f', icon: this.iconPack.dismiss })))), index$1.h("div", { key: '5fd522972d26d9b4815ffe37d2d418b784e751ae', class: "image-ctr" }, index$1.h("img", { key: 'a45df563ecdf79e020e3269f6fd055aee27cfab0', src: this.image.link }))));
49
49
  }
50
50
  };
51
51
  __decorate([
@@ -26,7 +26,7 @@ const RtkInformationTooltip = class {
26
26
  this.iconPack = uiStore.defaultIconPack;
27
27
  }
28
28
  render() {
29
- return (index$1.h(index$1.Host, { key: '182572b0e68a80a504b3aed40ae526ae371a9921' }, index$1.h("div", { key: 'c46d1aedd29c015e36c0496dd36ccd7d2afcd4ee', class: "tooltip-container" }, index$1.h("rtk-icon", { key: '25465b17d5b97a102273621e6e942fb34f542d53', icon: this.iconPack.info, size: "sm" }), index$1.h("div", { key: '9f3e5eea9a21b1ff48e8a3e7e91e3f81e748af79', class: "tooltip" }, index$1.h("slot", { key: 'a0f42e3681ffddf9287ddacd111ea3fa64f77c01', name: "tootlip-text" })))));
29
+ return (index$1.h(index$1.Host, { key: 'e6592aeb2d479a084f6100d1a32f6df61c2e979c' }, index$1.h("div", { key: '9406039d36b98781c2eb8dbbe37fab9a3390c90b', class: "tooltip-container" }, index$1.h("rtk-icon", { key: '97fd3324d790e8dc81d81bb272cacd95a2a95997', icon: this.iconPack.info, size: "sm" }), index$1.h("div", { key: 'e3b5b3a8e69cea34a1aa86b1a6eff2008028b673', class: "tooltip" }, index$1.h("slot", { key: '88608c68efc3287baf74d717a5e3ca418ef0dc9b', name: "tootlip-text" })))));
30
30
  }
31
31
  };
32
32
  __decorate([
@@ -35,7 +35,7 @@ const RtkLeaveButton = class {
35
35
  }
36
36
  render() {
37
37
  const text = this.t('leave');
38
- return (index$1.h(index$1.Host, { key: '27ea1d3f7593e32d53b8160537e00147be6e2a2d', label: text }, index$1.h("rtk-controlbar-button", { key: 'f0952b09acd1f7cff04fd521252ecf75715e9a74', size: this.size, iconPack: this.iconPack, class: "leave red-icon", onClick: this.leave, icon: this.iconPack.call_end, label: text, variant: this.variant, part: "controlbar-button" })));
38
+ return (index$1.h(index$1.Host, { key: 'fc176585ba4617c2b64d05d9b2e1ee66084666aa', label: text }, index$1.h("rtk-controlbar-button", { key: 'feb4ee03ff7d16bf6ab858a3207a628121fd477b', size: this.size, iconPack: this.iconPack, class: "leave red-icon", onClick: this.leave, icon: this.iconPack.call_end, label: text, variant: this.variant, part: "controlbar-button" })));
39
39
  }
40
40
  };
41
41
  __decorate([
@@ -266,11 +266,11 @@ const RtkMessageListView = class {
266
266
  this.updateTotalHeight();
267
267
  }
268
268
  render() {
269
- return (index$1.h("div", { key: '413771e98d7ce6f8c2af3d6cadf6ad3484586929', class: "scrollbar content-wrapper", ref: (el) => (this.$listRef = el), onScroll: this.handleScroll }, index$1.h("div", { key: '4e4eb3729e574f555e844266803338e5b8a5aff9', class: "scroller" }, index$1.h("div", { key: 'c4389d8636465efef4cb1e15b63c2f52eb457942', style: {
269
+ return (index$1.h("div", { key: '17ccb3852a89ddb77e5799413f8ee0ef0ac7c132', class: "scrollbar content-wrapper", ref: (el) => (this.$listRef = el), onScroll: this.handleScroll }, index$1.h("div", { key: '044af22a10ae312a46d90f29dc9a793d86540fb8', class: "scroller" }, index$1.h("div", { key: '15a2b213883f210a44081c05c317f9da7a58380c', style: {
270
270
  height: `${this.totalHeight}px`,
271
- } }), index$1.h("div", { key: 'dd6b9b2cb812f817bdf66f4abf5f2c81f0664fa0', class: "smallest-dom-element", id: "list-end", ref: (el) => (this.$listEndRef = el) })), index$1.h("div", { key: 'e07b23728210f7708bf5c65ae2007b28779954e7', class: "content", style: {
271
+ } }), index$1.h("div", { key: '918071c6d3aed045814c1c2b3908572edae480ac', class: "smallest-dom-element", id: "list-end", ref: (el) => (this.$listEndRef = el) })), index$1.h("div", { key: '19b2f45794fa73f44d54b9b91ef1cab0df6c4aae', class: "content", style: {
272
272
  transform: `translateY(${this.getRangeSize(0, this.range.start)}px)`,
273
- } }, this.isFetching && (index$1.h("div", { key: '3957d510fcc88770169f5378e8180c168645d954', class: "loader" }, index$1.h("rtk-spinner", { key: '30a85f8744f51150940abf19b3dcfb9587f50c7f', size: "md" }))), this.getVisibleItems().map((msg, index) => (index$1.h("div", { key: msg.id, ref: (el) => this.rendererInternal(el, msg, index) }))))));
273
+ } }, this.isFetching && (index$1.h("div", { key: '1a05d8ec0a4a11812afef413226c472d797e7ebe', class: "loader" }, index$1.h("rtk-spinner", { key: '29f275642f8f8be5d9cbe12ff0eeedba48e1b4c1', size: "md" }))), this.getVisibleItems().map((msg, index) => (index$1.h("div", { key: msg.id, ref: (el) => this.rendererInternal(el, msg, index) }))))));
274
274
  }
275
275
  static get watchers() { return {
276
276
  "messages": ["messagesUpdated"]
@@ -53,10 +53,10 @@ const RtkMoreToggle = class {
53
53
  }
54
54
  render() {
55
55
  const text = this.t('more');
56
- return (index$1.h(index$1.Host, { key: '3b07eaaee77053c8bc68edf517adbc2928244680', title: text }, this.states.activeMoreMenu && (index$1.h("div", { key: '31f641a909685ce4f561b107e6dfd380a6d5ec86', class: "more-menu" }, index$1.h("slot", { key: 'c78477d0c4db136d6dfb4c3fe63ceb7dc678205e', name: "more-elements" }))), index$1.h("rtk-controlbar-button", { key: '41bbfa76720797850c8f540720eaeaed7e9f2a12', size: this.size, iconPack: this.iconPack, onClick: (e) => {
56
+ return (index$1.h(index$1.Host, { key: 'ae92dc374ab721ea86cfe8d0f658be4f4c624d51', title: text }, this.states.activeMoreMenu && (index$1.h("div", { key: '061d68748259df66e729ff830c9d72909b8185a6', class: "more-menu" }, index$1.h("slot", { key: '6a89ae4f51c32c560c83bb5fa10f694797f4d20c', name: "more-elements" }))), index$1.h("rtk-controlbar-button", { key: '775fcd968101f57f070159f6992ad55527fd424a', size: this.size, iconPack: this.iconPack, onClick: (e) => {
57
57
  e.stopPropagation();
58
58
  this.toggleMoreMenu();
59
- }, icon: this.iconPack.horizontal_dots, label: text, part: "controlbar-button" }), index$1.h("slot", { key: '207388a5e3c71f27d54f54b42d41339c19bb202d', name: "expanded" })));
59
+ }, icon: this.iconPack.horizontal_dots, label: text, part: "controlbar-button" }), index$1.h("slot", { key: '4b2006186051bf7c0e80dc4d9536d610d25ae7ba', name: "expanded" })));
60
60
  }
61
61
  get host() { return index$1.getElement(this); }
62
62
  };
@@ -49,7 +49,7 @@ const RtkNameTag = class {
49
49
  var _a, _b, _c;
50
50
  const name = string.formatName(((_a = this.participant) === null || _a === void 0 ? void 0 : _a.name) || '');
51
51
  const isSelf = ((_b = this.participant) === null || _b === void 0 ? void 0 : _b.id) === ((_c = this.meeting) === null || _c === void 0 ? void 0 : _c.self.id);
52
- return (index$1.h(index$1.Host, { key: 'd42b26fe39b4a8643e32b420ec6cded7450dde20', title: name }, index$1.h("slot", { key: '5235adedfaef8eb0b99d46f9b6e89efe40e53f68', name: "start" }), index$1.h("span", { key: 'bd15296809e2caf334c6786e45e3b751633ff001', class: "name" }, this.formatNameTag(name, isSelf)), index$1.h("slot", { key: '6f5a39cfecf90b9d449b08274eb20b450bcba196', name: "end" })));
52
+ return (index$1.h(index$1.Host, { key: '03a8cf176ca6a1b688f3bc9bd5c77ef22e8937d9', title: name }, index$1.h("slot", { key: 'd38164aeda8e938f49ffceb8e52e3102ddd03d11', name: "start" }), index$1.h("span", { key: '026f1cc6bbfcbd3649f73db43b2111af55fea6ee', class: "name" }, this.formatNameTag(name, isSelf)), index$1.h("slot", { key: '3a22aa050a15f452b0ec5db3cd5981dccb88aa55', name: "end" })));
53
53
  }
54
54
  static get watchers() { return {
55
55
  "size": ["sizeChanged"]