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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (587) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/ChatHead-e13f3b0e.js +13 -0
  3. package/dist/cjs/{TextMessage-4f9299ff.js → TextMessage-7bb3e1fd.js} +1 -1
  4. package/dist/cjs/{chat-04fd67b4.js → chat-717e517d.js} +1 -1
  5. package/dist/cjs/{notification-6f17add8.js → config-8c9ac89a.js} +0 -35
  6. package/dist/cjs/{ChatHead-6416d6cf.js → date-61ffcd0a.js} +0 -10
  7. package/dist/cjs/index-05554ce6.js +62 -2
  8. package/dist/cjs/index.cjs.js +11 -10
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/notification-567fe887.js +39 -0
  11. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  12. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +3 -2
  13. package/dist/cjs/rtk-audio-grid.cjs.entry.js +1 -1
  14. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +1 -1
  15. package/dist/cjs/rtk-avatar_24.cjs.entry.js +2584 -0
  16. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +397 -0
  17. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +986 -0
  18. package/dist/cjs/rtk-channel-creator.cjs.entry.js +163 -0
  19. package/dist/cjs/rtk-channel-details.cjs.entry.js +49 -0
  20. package/dist/cjs/rtk-channel-header.cjs.entry.js +83 -0
  21. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +4 -4
  22. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +1 -1
  23. package/dist/cjs/rtk-chat-message.cjs.entry.js +118 -0
  24. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +200 -0
  25. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +57 -0
  26. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +1 -1
  27. package/dist/cjs/rtk-clock.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-controlbar.cjs.entry.js +1 -1
  29. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +686 -0
  30. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +1 -1
  31. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +154 -0
  32. package/dist/cjs/rtk-dialog.cjs.entry.js +93 -0
  33. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +1 -1
  34. package/dist/cjs/rtk-file-message_3.cjs.entry.js +148 -0
  35. package/dist/cjs/rtk-header.cjs.entry.js +1 -1
  36. package/dist/cjs/rtk-idle-screen.cjs.entry.js +1 -1
  37. package/dist/cjs/rtk-image-viewer.cjs.entry.js +1 -1
  38. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +1 -1
  39. package/dist/cjs/rtk-leave-button.cjs.entry.js +1 -1
  40. package/dist/cjs/rtk-logo.cjs.entry.js +77 -0
  41. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  42. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-notification.cjs.entry.js +71 -0
  44. package/dist/cjs/rtk-notifications.cjs.entry.js +588 -0
  45. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-participant_2.cjs.entry.js +14 -14
  47. package/dist/cjs/rtk-participants-audio.cjs.entry.js +1 -1
  48. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +1 -1
  49. package/dist/cjs/rtk-plugins_2.cjs.entry.js +4 -4
  50. package/dist/cjs/rtk-poll_2.cjs.entry.js +3 -3
  51. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +1 -1
  52. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +5 -5
  53. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +1 -1
  54. package/dist/cjs/rtk-sidebar.cjs.entry.js +1 -1
  55. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-stage.cjs.entry.js +1 -1
  57. package/dist/cjs/rtk-transcript.cjs.entry.js +1 -1
  58. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +1 -1
  59. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  60. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  61. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +2 -2
  62. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
  63. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +5 -2
  64. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +2 -1
  65. package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +1 -0
  66. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +5 -2
  67. package/dist/collection/components/rtk-chat/rtk-chat.js +5 -102
  68. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +3 -2
  69. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +13 -4
  70. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +4 -2
  71. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +2 -1
  72. package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
  73. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  74. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  75. package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
  76. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  77. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +0 -6
  78. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  79. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  80. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  81. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  82. package/dist/collection/components/rtk-file-message/rtk-file-message.js +3 -2
  83. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +1 -1
  84. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  85. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  86. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  87. package/dist/collection/components/rtk-image-message/rtk-image-message.js +5 -4
  88. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +3 -3
  89. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  90. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
  91. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  92. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +2 -2
  93. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  94. package/dist/collection/components/rtk-menu/rtk-menu.js +2 -2
  95. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  96. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  97. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +3 -3
  98. package/dist/collection/components/rtk-message-view/rtk-message-view.css +26 -12
  99. package/dist/collection/components/rtk-message-view/rtk-message-view.js +23 -1
  100. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
  101. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  102. package/dist/collection/components/rtk-notification/rtk-notification.js +2 -2
  103. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  104. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +25 -1
  105. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +25 -22
  106. package/dist/collection/components/rtk-participant/rtk-participant.js +12 -12
  107. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
  108. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  109. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  110. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  111. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  112. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  113. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
  114. package/dist/collection/components/rtk-polls/rtk-polls.js +3 -3
  115. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  116. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
  117. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  118. package/dist/collection/components/rtk-sidebar/rtk-sidebar.css +2 -0
  119. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  120. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +2 -2
  121. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  122. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  123. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  124. package/dist/collection/components/rtk-text-message/rtk-text-message.js +3 -2
  125. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  126. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  127. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  128. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  129. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
  130. package/dist/collection/utils/chat.js +1 -1
  131. package/dist/components/index.js +7 -7
  132. package/dist/components/{p-26055088.js → p-080acf18.js} +3 -3
  133. package/dist/components/{p-34b580c9.js → p-0a35a909.js} +3 -3
  134. package/dist/components/{p-f9faeffc.js → p-0b4e526c.js} +3 -3
  135. package/dist/components/{p-a3ebfc10.js → p-0d582365.js} +2 -2
  136. package/dist/components/{p-c7413ac8.js → p-0d7bf41b.js} +4 -4
  137. package/dist/components/{p-a5a40d7e.js → p-102b6df8.js} +2 -2
  138. package/dist/components/{p-12d2b558.js → p-10ef077c.js} +3 -3
  139. package/dist/components/{p-4772f368.js → p-121e073d.js} +2 -2
  140. package/dist/components/{p-b804a5f5.js → p-188bfe87.js} +8 -8
  141. package/dist/components/{p-a9d5d165.js → p-190db142.js} +7 -7
  142. package/dist/components/{p-fb427023.js → p-20290b0b.js} +4 -4
  143. package/dist/components/{p-03fe0979.js → p-244cbe7b.js} +2 -2
  144. package/dist/components/{p-cc5ecd67.js → p-2d08ab28.js} +2 -2
  145. package/dist/components/{p-91a9efcf.js → p-2e282643.js} +5 -5
  146. package/dist/components/{p-aba9b612.js → p-2f82e0b0.js} +7 -7
  147. package/dist/components/{p-7119673c.js → p-33a87325.js} +2 -2
  148. package/dist/components/{p-511ed3f8.js → p-395d7140.js} +4 -4
  149. package/dist/components/{p-1a60f5b0.js → p-3da4880c.js} +4 -4
  150. package/dist/components/{p-af35ac31.js → p-47c25f64.js} +1 -1
  151. package/dist/components/{p-01a50790.js → p-488d88a8.js} +4 -4
  152. package/dist/components/{p-e2e22bf8.js → p-4d582a90.js} +5 -5
  153. package/dist/components/{p-b373754d.js → p-51de7af3.js} +1 -1
  154. package/dist/components/{p-65b9931e.js → p-55501201.js} +4 -4
  155. package/dist/components/{p-7f0ee3c6.js → p-563c785d.js} +3 -3
  156. package/dist/components/{p-c40166a9.js → p-5c92df32.js} +5 -5
  157. package/dist/components/{p-ed8955d0.js → p-5f26bba3.js} +2 -2
  158. package/dist/components/{p-0a7f6a8a.js → p-618864a0.js} +3 -3
  159. package/dist/components/{p-49967150.js → p-63ef7ea4.js} +6 -6
  160. package/dist/components/{p-00ebd1dc.js → p-65cd2fe3.js} +4 -4
  161. package/dist/components/{p-3438fd71.js → p-6756b222.js} +2 -2
  162. package/dist/components/{p-9730c398.js → p-6c2cfa0d.js} +3 -3
  163. package/dist/components/{p-3a80e3ab.js → p-6f272732.js} +8 -8
  164. package/dist/components/{p-df25c2a7.js → p-6f340109.js} +1 -1
  165. package/dist/components/{p-a09aefba.js → p-7481511c.js} +2 -2
  166. package/dist/components/{p-6bd3b767.js → p-78b61cce.js} +1 -1
  167. package/dist/components/{p-037e572f.js → p-7fc0dc2f.js} +1 -1
  168. package/dist/components/{p-314b1504.js → p-82f8c924.js} +2 -2
  169. package/dist/components/{p-6d49cf9f.js → p-84e5b453.js} +2 -2
  170. package/dist/components/{p-f5f0b499.js → p-88bef213.js} +2 -2
  171. package/dist/components/{p-f46a0782.js → p-8d25843a.js} +3 -3
  172. package/dist/components/{p-2b955eb0.js → p-914563e7.js} +5 -5
  173. package/dist/components/{p-04aaec79.js → p-94e867c2.js} +17 -15
  174. package/dist/components/{p-731ee854.js → p-9889bee5.js} +5 -5
  175. package/dist/components/{p-dc4b6fc4.js → p-9e87b2c9.js} +2 -2
  176. package/dist/components/{p-f734a4cf.js → p-a10b9faa.js} +2 -2
  177. package/dist/components/{p-f81c7fda.js → p-a29c01fc.js} +2 -2
  178. package/dist/components/{p-551bed08.js → p-a4a5ff5a.js} +4 -4
  179. package/dist/components/{p-1986022b.js → p-a6296b02.js} +3 -3
  180. package/dist/components/{p-93e1439e.js → p-a94b2e67.js} +2 -2
  181. package/dist/components/{p-4c8cff29.js → p-a9540d93.js} +28 -24
  182. package/dist/components/{p-a2f4f9e3.js → p-aae4c250.js} +1 -1
  183. package/dist/components/{p-3051f5f5.js → p-abe1dbe6.js} +4 -4
  184. package/dist/components/{p-840ef7fe.js → p-adf73364.js} +5 -5
  185. package/dist/components/{p-72346e7f.js → p-afe77b50.js} +2 -2
  186. package/dist/components/{p-f4ff7d70.js → p-b011763d.js} +3 -3
  187. package/dist/components/{p-9ea5df8f.js → p-b34865c7.js} +4 -4
  188. package/dist/components/{p-897a04be.js → p-b882f4a1.js} +4 -4
  189. package/dist/components/{p-4edd666b.js → p-bb8f2597.js} +6 -6
  190. package/dist/components/{p-9149c02e.js → p-c078ae06.js} +2 -2
  191. package/dist/components/{p-989d36e2.js → p-c3621e10.js} +6 -6
  192. package/dist/components/{p-40c5ca62.js → p-c515acba.js} +2 -2
  193. package/dist/components/{p-12437468.js → p-cf503999.js} +2 -2
  194. package/dist/components/{p-66bae0d9.js → p-d06d1eac.js} +2 -2
  195. package/dist/components/{p-17867774.js → p-d107e9f4.js} +3 -3
  196. package/dist/components/{p-c5dfd548.js → p-d37b8a32.js} +49 -326
  197. package/dist/components/{p-bccc21f8.js → p-d3de8b85.js} +3 -3
  198. package/dist/components/{p-22a734a8.js → p-d4e2ac64.js} +6 -6
  199. package/dist/components/{p-0abe4b8a.js → p-dab9d3d6.js} +1 -1
  200. package/dist/components/{p-52b090fc.js → p-dbfc9151.js} +3 -3
  201. package/dist/components/{p-d2c3870a.js → p-e4a080a5.js} +3 -3
  202. package/dist/components/{p-c663f9b1.js → p-e6710b76.js} +4 -4
  203. package/dist/components/{p-3df2211d.js → p-e675729a.js} +4 -4
  204. package/dist/components/{p-ddb2df62.js → p-e81fc1e8.js} +3 -3
  205. package/dist/components/{p-39a6a6a6.js → p-e8df7ac5.js} +18 -18
  206. package/dist/components/{p-1d29b7c3.js → p-ee98bbaf.js} +12 -12
  207. package/dist/components/{p-3fe1bb0d.js → p-f47894a6.js} +12 -12
  208. package/dist/components/{p-6fe2233b.js → p-f4e75ea9.js} +3 -3
  209. package/dist/components/{p-22d9d3ff.js → p-f7430e46.js} +5 -5
  210. package/dist/components/{p-d2b37264.js → p-f7eb9c47.js} +5 -5
  211. package/dist/components/{p-54dba22f.js → p-f8f5cb31.js} +4 -4
  212. package/dist/components/{p-03bdc4c0.js → p-fa8f6b4a.js} +1 -1
  213. package/dist/components/{p-fb46d041.js → p-fd68a52b.js} +8 -8
  214. package/dist/components/{p-c3582bf3.js → p-fe911889.js} +12 -9
  215. package/dist/components/rtk-ai-toggle.js +4 -4
  216. package/dist/components/rtk-ai-transcriptions.js +1 -1
  217. package/dist/components/rtk-ai.js +3 -3
  218. package/dist/components/rtk-audio-grid.js +3 -3
  219. package/dist/components/rtk-audio-tile.js +5 -5
  220. package/dist/components/rtk-audio-visualizer.js +1 -1
  221. package/dist/components/rtk-avatar.js +1 -1
  222. package/dist/components/rtk-breakout-room-manager.js +1 -1
  223. package/dist/components/rtk-breakout-room-participants.js +1 -1
  224. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  225. package/dist/components/rtk-breakout-rooms-toggle.js +4 -4
  226. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  227. package/dist/components/rtk-camera-selector.js +1 -1
  228. package/dist/components/rtk-camera-toggle.js +5 -5
  229. package/dist/components/rtk-caption-toggle.js +4 -4
  230. package/dist/components/rtk-channel-creator.js +209 -1
  231. package/dist/components/rtk-channel-details.js +1 -1
  232. package/dist/components/rtk-channel-header.js +146 -1
  233. package/dist/components/rtk-channel-selector-ui.js +7 -7
  234. package/dist/components/rtk-channel-selector-view.js +1 -1
  235. package/dist/components/rtk-chat-composer-ui.js +7 -7
  236. package/dist/components/rtk-chat-composer-view.js +1 -1
  237. package/dist/components/rtk-chat-message.js +1 -1
  238. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  239. package/dist/components/rtk-chat-messages-ui.js +302 -1
  240. package/dist/components/rtk-chat-search-results.js +146 -1
  241. package/dist/components/rtk-chat-selector-ui.js +3 -3
  242. package/dist/components/rtk-chat-toggle.js +5 -5
  243. package/dist/components/rtk-chat.js +1 -1
  244. package/dist/components/rtk-clock.js +5 -5
  245. package/dist/components/rtk-confirmation-modal.js +1 -1
  246. package/dist/components/rtk-controlbar-button.js +1 -1
  247. package/dist/components/rtk-controlbar.js +3 -3
  248. package/dist/components/rtk-counter.js +1 -1
  249. package/dist/components/rtk-debugger-audio.js +1 -1
  250. package/dist/components/rtk-debugger-screenshare.js +1 -1
  251. package/dist/components/rtk-debugger-system.js +1 -1
  252. package/dist/components/rtk-debugger-toggle.js +5 -5
  253. package/dist/components/rtk-debugger-video.js +1 -1
  254. package/dist/components/rtk-debugger.js +1 -1
  255. package/dist/components/rtk-dialog-manager.js +305 -1
  256. package/dist/components/rtk-dialog.js +1 -1
  257. package/dist/components/rtk-draft-attachment-view.js +1 -1
  258. package/dist/components/rtk-emoji-picker-button.js +1 -1
  259. package/dist/components/rtk-emoji-picker.js +1 -1
  260. package/dist/components/rtk-ended-screen.js +3 -3
  261. package/dist/components/rtk-file-dropzone.js +3 -3
  262. package/dist/components/rtk-file-message-view.js +1 -1
  263. package/dist/components/rtk-file-message.js +1 -1
  264. package/dist/components/rtk-file-picker-button.js +1 -1
  265. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  266. package/dist/components/rtk-grid-pagination.js +3 -3
  267. package/dist/components/rtk-grid.js +8 -8
  268. package/dist/components/rtk-header.js +3 -3
  269. package/dist/components/rtk-idle-screen.js +5 -5
  270. package/dist/components/rtk-image-message-view.js +1 -1
  271. package/dist/components/rtk-image-message.js +1 -1
  272. package/dist/components/rtk-image-viewer.js +3 -3
  273. package/dist/components/rtk-information-tooltip.js +3 -3
  274. package/dist/components/rtk-join-stage.js +1 -1
  275. package/dist/components/rtk-leave-button.js +5 -5
  276. package/dist/components/rtk-leave-meeting.js +1 -1
  277. package/dist/components/rtk-livestream-indicator.js +1 -1
  278. package/dist/components/rtk-livestream-player.js +1 -1
  279. package/dist/components/rtk-livestream-toggle.js +4 -4
  280. package/dist/components/rtk-logo.js +1 -1
  281. package/dist/components/rtk-markdown-view.js +1 -1
  282. package/dist/components/rtk-meeting-title.js +3 -3
  283. package/dist/components/rtk-meeting.js +47 -227
  284. package/dist/components/rtk-menu-item.js +1 -1
  285. package/dist/components/rtk-menu-list.js +1 -1
  286. package/dist/components/rtk-menu.js +1 -1
  287. package/dist/components/rtk-message-list-view.js +6 -6
  288. package/dist/components/rtk-message-view.js +1 -1
  289. package/dist/components/rtk-mic-toggle.js +5 -5
  290. package/dist/components/rtk-microphone-selector.js +1 -1
  291. package/dist/components/rtk-mixed-grid.js +6 -6
  292. package/dist/components/rtk-more-toggle.js +6 -6
  293. package/dist/components/rtk-mute-all-button.js +5 -5
  294. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  295. package/dist/components/rtk-name-tag.js +1 -1
  296. package/dist/components/rtk-network-indicator.js +2 -2
  297. package/dist/components/rtk-notification.js +1 -1
  298. package/dist/components/rtk-notifications.js +629 -1
  299. package/dist/components/rtk-overlay-modal.js +1 -1
  300. package/dist/components/rtk-paginated-list.js +1 -1
  301. package/dist/components/rtk-participant-count.js +2 -2
  302. package/dist/components/rtk-participant-setup.js +4 -4
  303. package/dist/components/rtk-participant-tile.js +1 -1
  304. package/dist/components/rtk-participant.js +1 -1
  305. package/dist/components/rtk-participants-audio.js +4 -4
  306. package/dist/components/rtk-participants-stage-list.js +1 -1
  307. package/dist/components/rtk-participants-stage-queue.js +1 -1
  308. package/dist/components/rtk-participants-toggle.js +5 -5
  309. package/dist/components/rtk-participants-viewer-list.js +1 -1
  310. package/dist/components/rtk-participants-waiting-list.js +1 -1
  311. package/dist/components/rtk-participants.js +14 -14
  312. package/dist/components/rtk-permissions-message.js +1 -1
  313. package/dist/components/rtk-pip-toggle.js +4 -4
  314. package/dist/components/rtk-plugin-main.js +1 -1
  315. package/dist/components/rtk-plugins-toggle.js +5 -5
  316. package/dist/components/rtk-plugins.js +1 -1
  317. package/dist/components/rtk-poll-form.js +1 -1
  318. package/dist/components/rtk-poll.js +1 -1
  319. package/dist/components/rtk-polls-toggle.js +5 -5
  320. package/dist/components/rtk-polls.js +1 -1
  321. package/dist/components/rtk-recording-indicator.js +3 -3
  322. package/dist/components/rtk-recording-toggle.js +4 -4
  323. package/dist/components/rtk-screen-share-toggle.js +5 -5
  324. package/dist/components/rtk-screenshare-view.js +8 -8
  325. package/dist/components/rtk-settings-audio.js +1 -1
  326. package/dist/components/rtk-settings-toggle.js +5 -5
  327. package/dist/components/rtk-settings-video.js +1 -1
  328. package/dist/components/rtk-settings.js +10 -10
  329. package/dist/components/rtk-setup-screen.js +6 -6
  330. package/dist/components/rtk-sidebar-ui.js +1 -1
  331. package/dist/components/rtk-sidebar.js +10 -10
  332. package/dist/components/rtk-simple-grid.js +2 -2
  333. package/dist/components/rtk-speaker-selector.js +1 -1
  334. package/dist/components/rtk-spinner.js +1 -1
  335. package/dist/components/rtk-spotlight-grid.js +4 -4
  336. package/dist/components/rtk-spotlight-indicator.js +1 -1
  337. package/dist/components/rtk-stage-toggle.js +5 -5
  338. package/dist/components/rtk-stage.js +3 -3
  339. package/dist/components/rtk-switch.js +1 -1
  340. package/dist/components/rtk-tab-bar.js +1 -1
  341. package/dist/components/rtk-text-composer-view.js +1 -1
  342. package/dist/components/rtk-text-message-view.js +1 -1
  343. package/dist/components/rtk-text-message.js +1 -1
  344. package/dist/components/rtk-tooltip.js +1 -1
  345. package/dist/components/rtk-transcript.js +1 -1
  346. package/dist/components/rtk-transcripts.js +3 -3
  347. package/dist/components/rtk-ui-provider.js +2 -2
  348. package/dist/components/rtk-viewer-count.js +1 -1
  349. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  350. package/dist/components/rtk-waiting-screen.js +4 -4
  351. package/dist/docs/docs-components.json +144 -384
  352. package/dist/docs/docs-vscode.json +7 -3
  353. package/dist/esm/ChatHead-15c2f8d4.js +11 -0
  354. package/dist/esm/{TextMessage-07d53134.js → TextMessage-ca92045e.js} +1 -1
  355. package/dist/esm/{chat-32ac0c2b.js → chat-ff185374.js} +2 -2
  356. package/dist/esm/{notification-0794a8cc.js → config-e684aa4d.js} +3 -37
  357. package/dist/esm/{ChatHead-11b92a26.js → date-b1f78dea.js} +1 -10
  358. package/dist/esm/{debounce-6ec038d3.js → debounce-3ea4df36.js} +1 -1
  359. package/dist/esm/{file-849468c1.js → file-6114f1a9.js} +1 -1
  360. package/dist/esm/index-c1fb98bb.js +62 -2
  361. package/dist/esm/{index-849b9dd9.js → index-e65afca5.js} +1 -1
  362. package/dist/esm/index.js +7 -6
  363. package/dist/esm/loader.js +13237 -13245
  364. package/dist/esm/{merge-f5f3ca10.js → merge-7ffc04b3.js} +1 -1
  365. package/dist/esm/notification-78afaabf.js +37 -0
  366. package/dist/esm/realtimekit-ui.js +1 -1
  367. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  368. package/dist/esm/rtk-ai-transcriptions.entry.js +6 -5
  369. package/dist/esm/rtk-ai.entry.js +2 -2
  370. package/dist/esm/rtk-audio-grid.entry.js +3 -3
  371. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  372. package/dist/esm/rtk-audio-visualizer_4.entry.js +3 -3
  373. package/dist/esm/rtk-avatar_24.entry.js +2557 -0
  374. package/dist/esm/rtk-breakout-room-manager_3.entry.js +391 -0
  375. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +974 -0
  376. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  377. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  378. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  379. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  380. package/dist/{components/p-c9a7cf06.js → esm/rtk-channel-creator.entry.js} +12 -64
  381. package/dist/esm/rtk-channel-details.entry.js +45 -0
  382. package/dist/{components/p-0c11d195.js → esm/rtk-channel-header.entry.js} +9 -78
  383. package/dist/esm/rtk-channel-selector-ui.entry.js +6 -6
  384. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  385. package/dist/esm/rtk-chat-message.entry.js +114 -0
  386. package/dist/{components/p-0e07ea51.js → esm/rtk-chat-messages-ui.entry.js} +14 -122
  387. package/dist/esm/rtk-chat-search-results.entry.js +53 -0
  388. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  389. package/dist/esm/rtk-chat-toggle.entry.js +3 -3
  390. package/dist/esm/rtk-clock.entry.js +5 -5
  391. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  392. package/dist/esm/rtk-controlbar.entry.js +3 -3
  393. package/dist/esm/rtk-debugger-audio_4.entry.js +679 -0
  394. package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
  395. package/dist/{components/p-3042f998.js → esm/rtk-dialog-manager.entry.js} +10 -179
  396. package/dist/esm/rtk-dialog.entry.js +89 -0
  397. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  398. package/dist/esm/rtk-file-dropzone.entry.js +3 -3
  399. package/dist/esm/rtk-file-message_3.entry.js +142 -0
  400. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  401. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  402. package/dist/esm/rtk-grid.entry.js +2 -2
  403. package/dist/esm/rtk-header.entry.js +3 -3
  404. package/dist/esm/rtk-idle-screen.entry.js +3 -3
  405. package/dist/esm/rtk-image-viewer.entry.js +5 -5
  406. package/dist/esm/rtk-information-tooltip.entry.js +3 -3
  407. package/dist/esm/rtk-leave-button.entry.js +3 -3
  408. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  409. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  410. package/dist/esm/rtk-logo.entry.js +73 -0
  411. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  412. package/dist/esm/rtk-message-list-view.entry.js +6 -6
  413. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  414. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  415. package/dist/esm/rtk-more-toggle.entry.js +4 -4
  416. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  417. package/dist/esm/rtk-name-tag.entry.js +3 -3
  418. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  419. package/dist/esm/rtk-notification.entry.js +67 -0
  420. package/dist/{components/p-7a336667.js → esm/rtk-notifications.entry.js} +13 -60
  421. package/dist/esm/rtk-participant-count.entry.js +2 -2
  422. package/dist/esm/rtk-participant-setup.entry.js +4 -4
  423. package/dist/esm/rtk-participant_2.entry.js +18 -18
  424. package/dist/esm/rtk-participants-audio.entry.js +3 -3
  425. package/dist/esm/rtk-participants-stage-list_4.entry.js +3 -3
  426. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  427. package/dist/esm/rtk-participants.entry.js +3 -3
  428. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  429. package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
  430. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  431. package/dist/esm/rtk-plugins_2.entry.js +6 -6
  432. package/dist/esm/rtk-poll_2.entry.js +6 -6
  433. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  434. package/dist/esm/rtk-recording-indicator.entry.js +3 -3
  435. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  436. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  437. package/dist/esm/rtk-screenshare-view.entry.js +7 -7
  438. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  439. package/dist/esm/rtk-settings-toggle.entry.js +3 -3
  440. package/dist/esm/rtk-settings.entry.js +2 -2
  441. package/dist/esm/rtk-setup-screen.entry.js +3 -3
  442. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  443. package/dist/esm/rtk-sidebar.entry.js +4 -4
  444. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  445. package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
  446. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  447. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  448. package/dist/esm/rtk-stage.entry.js +3 -3
  449. package/dist/esm/rtk-transcript.entry.js +3 -3
  450. package/dist/esm/rtk-transcripts.entry.js +2 -2
  451. package/dist/esm/rtk-ui-provider.entry.js +2 -2
  452. package/dist/esm/rtk-waiting-screen.entry.js +3 -3
  453. package/dist/esm/{sidebar-76cae1f0.js → sidebar-030fff49.js} +1 -1
  454. package/dist/esm/{string-5e8dab07.js → string-068ce30a.js} +1 -1
  455. package/dist/esm/{ui-store-2965ff1a.js → ui-store-9e486e1b.js} +1 -1
  456. package/dist/realtimekit-ui/index.esm.js +1 -1
  457. package/dist/realtimekit-ui/{p-ff19ee1e.entry.js → p-0689d68b.entry.js} +1 -1
  458. package/dist/realtimekit-ui/{p-2318c3af.js → p-084b6f30.js} +1 -1
  459. package/dist/realtimekit-ui/{p-e6f1e6aa.entry.js → p-09869644.entry.js} +1 -1
  460. package/dist/realtimekit-ui/{p-22313959.entry.js → p-0b8c47d9.entry.js} +1 -1
  461. package/dist/realtimekit-ui/{p-b6c83f82.entry.js → p-11c964cf.entry.js} +1 -1
  462. package/dist/realtimekit-ui/{p-2857144e.js → p-12e4cb4a.js} +1 -1
  463. package/dist/realtimekit-ui/{p-9ba26c9f.entry.js → p-1666857d.entry.js} +1 -1
  464. package/dist/realtimekit-ui/{p-7f896d33.entry.js → p-1bf58a84.entry.js} +1 -1
  465. package/dist/realtimekit-ui/{p-2d6c5160.entry.js → p-2a0ec1c6.entry.js} +1 -1
  466. package/dist/realtimekit-ui/{p-404207e0.entry.js → p-2b373e53.entry.js} +1 -1
  467. package/dist/realtimekit-ui/p-2f641bfa.entry.js +1 -0
  468. package/dist/realtimekit-ui/p-2fc5ef84.entry.js +1 -0
  469. package/dist/realtimekit-ui/{p-9b6d809b.entry.js → p-31f58b98.entry.js} +1 -1
  470. package/dist/realtimekit-ui/p-33228f0a.entry.js +1 -0
  471. package/dist/realtimekit-ui/p-3369f405.entry.js +1 -0
  472. package/dist/realtimekit-ui/p-36c8dfa0.entry.js +1 -0
  473. package/dist/realtimekit-ui/p-382270d8.js +1 -0
  474. package/dist/realtimekit-ui/{p-ac1ff0f8.entry.js → p-385fddbd.entry.js} +1 -1
  475. package/dist/realtimekit-ui/{p-f1ab4672.entry.js → p-38aec474.entry.js} +1 -1
  476. package/dist/realtimekit-ui/p-38f4773b.entry.js +1 -0
  477. package/dist/realtimekit-ui/{p-368420fc.entry.js → p-3a325310.entry.js} +1 -1
  478. package/dist/realtimekit-ui/{p-83a8cd29.entry.js → p-3d0c4257.entry.js} +1 -1
  479. package/dist/realtimekit-ui/{p-6495f016.entry.js → p-3e02ec0b.entry.js} +1 -1
  480. package/dist/realtimekit-ui/p-3eefefa3.entry.js +1 -0
  481. package/dist/realtimekit-ui/p-40be18ee.js +1 -0
  482. package/dist/realtimekit-ui/{p-f5a3ccc0.entry.js → p-481549ac.entry.js} +1 -1
  483. package/dist/realtimekit-ui/{p-2aa2727b.entry.js → p-4eba1baa.entry.js} +1 -1
  484. package/dist/realtimekit-ui/p-4eee77b0.entry.js +1 -0
  485. package/dist/realtimekit-ui/{p-1185eec6.entry.js → p-50157a65.entry.js} +1 -1
  486. package/dist/realtimekit-ui/p-50e861f9.entry.js +1 -0
  487. package/dist/realtimekit-ui/{p-a7ba0456.entry.js → p-5383fe87.entry.js} +1 -1
  488. package/dist/realtimekit-ui/{p-2d09aeb4.entry.js → p-53ac3d30.entry.js} +1 -1
  489. package/dist/realtimekit-ui/{p-e32c13e0.entry.js → p-54a31e02.entry.js} +1 -1
  490. package/dist/realtimekit-ui/p-57277553.entry.js +1 -0
  491. package/dist/realtimekit-ui/{p-95ab3abe.entry.js → p-5a2d8313.entry.js} +1 -1
  492. package/dist/realtimekit-ui/p-5b2d97fc.js +1 -0
  493. package/dist/realtimekit-ui/p-60a29b69.entry.js +1 -0
  494. package/dist/realtimekit-ui/{p-62949a7d.entry.js → p-61a16ccf.entry.js} +1 -1
  495. package/dist/realtimekit-ui/{p-47d8e5c8.entry.js → p-61a53713.entry.js} +1 -1
  496. package/dist/realtimekit-ui/{p-77f71d40.entry.js → p-61d3f74f.entry.js} +1 -1
  497. package/dist/realtimekit-ui/{p-2dc496f0.entry.js → p-62e0a141.entry.js} +1 -1
  498. package/dist/realtimekit-ui/{p-dfa4a588.entry.js → p-639ab9ad.entry.js} +1 -1
  499. package/dist/realtimekit-ui/{p-0ab52f70.entry.js → p-643194e4.entry.js} +1 -1
  500. package/dist/realtimekit-ui/p-6a45f305.js +1 -0
  501. package/dist/realtimekit-ui/{p-e65d2f04.entry.js → p-6adb2de4.entry.js} +1 -1
  502. package/dist/realtimekit-ui/{p-efabd2ce.js → p-6f211c3e.js} +1 -1
  503. package/dist/realtimekit-ui/{p-c1d92065.entry.js → p-74e1b5a6.entry.js} +1 -1
  504. package/dist/realtimekit-ui/{p-a449b5cd.entry.js → p-7613857e.entry.js} +1 -1
  505. package/dist/realtimekit-ui/p-7786e9a7.entry.js +1 -0
  506. package/dist/realtimekit-ui/{p-5cb4f925.entry.js → p-77e04fb7.entry.js} +1 -1
  507. package/dist/realtimekit-ui/{p-1f328e83.entry.js → p-788f26c4.entry.js} +1 -1
  508. package/dist/realtimekit-ui/{p-53ffaa9f.entry.js → p-7a8ca3f2.entry.js} +1 -1
  509. package/dist/realtimekit-ui/{p-f5560043.entry.js → p-7b999408.entry.js} +1 -1
  510. package/dist/realtimekit-ui/p-7f76de48.entry.js +1 -0
  511. package/dist/realtimekit-ui/{p-2799d5b2.js → p-80c856cd.js} +1 -1
  512. package/dist/realtimekit-ui/{p-64aa0fae.entry.js → p-882d07c9.entry.js} +1 -1
  513. package/dist/realtimekit-ui/{p-7fab2c53.entry.js → p-8b189438.entry.js} +1 -1
  514. package/dist/realtimekit-ui/{p-81d1334c.entry.js → p-8b341608.entry.js} +1 -1
  515. package/dist/realtimekit-ui/{p-e24289b8.entry.js → p-8f512d69.entry.js} +1 -1
  516. package/dist/realtimekit-ui/{p-c6c86fd8.js → p-91ea043c.js} +1 -1
  517. package/dist/realtimekit-ui/{p-145caa6b.js → p-91fd286c.js} +1 -1
  518. package/dist/realtimekit-ui/p-930f0255.entry.js +1 -0
  519. package/dist/realtimekit-ui/p-93b84c22.js +1 -0
  520. package/dist/realtimekit-ui/{p-34350578.entry.js → p-941f159e.entry.js} +1 -1
  521. package/dist/realtimekit-ui/{p-f3998c17.entry.js → p-949b2b6a.entry.js} +1 -1
  522. package/dist/realtimekit-ui/{p-3144bec3.entry.js → p-951a7b06.entry.js} +1 -1
  523. package/dist/realtimekit-ui/{p-616f3a25.entry.js → p-95f05e26.entry.js} +1 -1
  524. package/dist/realtimekit-ui/{p-db9dd8ea.entry.js → p-98ee3341.entry.js} +1 -1
  525. package/dist/realtimekit-ui/{p-7fbca8d1.entry.js → p-9ad2c746.entry.js} +1 -1
  526. package/dist/realtimekit-ui/p-9c1f42dd.entry.js +1 -0
  527. package/dist/realtimekit-ui/{p-6334ca51.entry.js → p-9cbf286a.entry.js} +1 -1
  528. package/dist/realtimekit-ui/{p-560fc162.entry.js → p-a1203856.entry.js} +1 -1
  529. package/dist/realtimekit-ui/{p-0b93c12d.entry.js → p-a319e81f.entry.js} +1 -1
  530. package/dist/realtimekit-ui/p-a4e223e8.entry.js +1 -0
  531. package/dist/realtimekit-ui/{p-e7a89e24.entry.js → p-a9126c12.entry.js} +1 -1
  532. package/dist/realtimekit-ui/{p-a55863be.entry.js → p-a9dd63ef.entry.js} +1 -1
  533. package/dist/realtimekit-ui/p-aa70de39.entry.js +1 -0
  534. package/dist/realtimekit-ui/{p-ead8970b.entry.js → p-ae7319ac.entry.js} +1 -1
  535. package/dist/realtimekit-ui/p-b387e9a1.entry.js +1 -0
  536. package/dist/realtimekit-ui/p-b564d931.entry.js +1 -0
  537. package/dist/realtimekit-ui/{p-f16345d6.entry.js → p-ba51770e.entry.js} +1 -1
  538. package/dist/realtimekit-ui/{p-0979ba30.entry.js → p-c1b81873.entry.js} +1 -1
  539. package/dist/realtimekit-ui/{p-543dcdc1.entry.js → p-c5c965b8.entry.js} +1 -1
  540. package/dist/realtimekit-ui/{p-b2b8b421.entry.js → p-c638f666.entry.js} +1 -1
  541. package/dist/realtimekit-ui/p-c7711712.entry.js +1 -0
  542. package/dist/realtimekit-ui/{p-bfd7cd5a.entry.js → p-d0384d90.entry.js} +1 -1
  543. package/dist/realtimekit-ui/p-d7f16f24.entry.js +1 -0
  544. package/dist/realtimekit-ui/p-d81c0263.entry.js +1 -0
  545. package/dist/realtimekit-ui/{p-35b87831.entry.js → p-d9cad67f.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-0266e82b.entry.js → p-de75d48d.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-4b62d6f9.entry.js → p-e62593a2.entry.js} +1 -1
  548. package/dist/realtimekit-ui/{p-fa2ee341.js → p-e720b51e.js} +1 -1
  549. package/dist/realtimekit-ui/{p-9ac89beb.entry.js → p-e7b83772.entry.js} +1 -1
  550. package/dist/realtimekit-ui/{p-8046e263.js → p-e87928f7.js} +1 -1
  551. package/dist/realtimekit-ui/{p-39d0ad4d.entry.js → p-e925ca8a.entry.js} +1 -1
  552. package/dist/realtimekit-ui/{p-e0dd5f79.entry.js → p-f0f6c282.entry.js} +1 -1
  553. package/dist/realtimekit-ui/{p-51a8a9e5.entry.js → p-f40a55e3.entry.js} +1 -1
  554. package/dist/realtimekit-ui/{p-47e89714.entry.js → p-f5aa8af7.entry.js} +1 -1
  555. package/dist/realtimekit-ui/p-f645b8bb.entry.js +1 -0
  556. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  557. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +3 -0
  558. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +1 -0
  559. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +1 -0
  560. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +3 -0
  561. package/dist/types/components/rtk-chat/rtk-chat.d.ts +0 -9
  562. package/dist/types/components/rtk-chat-message/rtk-chat-message.d.ts +1 -0
  563. package/dist/types/components/rtk-chat-messages-ui/rtk-chat-messages-ui.d.ts +3 -0
  564. package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +1 -0
  565. package/dist/types/components/rtk-file-message/rtk-file-message.d.ts +1 -0
  566. package/dist/types/components/rtk-image-message/rtk-image-message.d.ts +1 -0
  567. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +2 -0
  568. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +5 -0
  569. package/dist/types/components/rtk-text-message/rtk-text-message.d.ts +1 -0
  570. package/dist/types/components.d.ts +104 -0
  571. package/dist/types/types/props.d.ts +1 -0
  572. package/dist/types/utils/chat.d.ts +1 -1
  573. package/package.json +1 -1
  574. package/dist/cjs/rtk-avatar_54.cjs.entry.js +0 -6417
  575. package/dist/components/p-6a47e2ee.js +0 -148
  576. package/dist/esm/rtk-avatar_54.entry.js +0 -6360
  577. package/dist/realtimekit-ui/p-00b5bdeb.entry.js +0 -1
  578. package/dist/realtimekit-ui/p-173457a5.js +0 -1
  579. package/dist/realtimekit-ui/p-2d729cec.entry.js +0 -1
  580. package/dist/realtimekit-ui/p-3263d76d.entry.js +0 -1
  581. package/dist/realtimekit-ui/p-34c90f1c.entry.js +0 -1
  582. package/dist/realtimekit-ui/p-47314bc7.js +0 -1
  583. package/dist/realtimekit-ui/p-4ea418c9.js +0 -1
  584. package/dist/realtimekit-ui/p-55f181be.entry.js +0 -1
  585. package/dist/realtimekit-ui/p-bad807c1.entry.js +0 -1
  586. package/dist/realtimekit-ui/p-bfed80f3.entry.js +0 -1
  587. package/dist/realtimekit-ui/p-d7a5c237.entry.js +0 -1
@@ -39,7 +39,7 @@ export class RtkImageViewer {
39
39
  document.removeEventListener('click', this.handleOutsideClick);
40
40
  }
41
41
  render() {
42
- return (h(Host, { key: 'f7d65ee86716b9bea4ff1839df12647fa03bc053', class: "scrollbar", onClick: (e) => e.stopPropagation() }, h("div", { key: '30715a0e1d52250815411be7a4339c47a9c050ff', class: "header" }, h("div", { key: '69bcd74cea972c9663f46549b1c62b08afd94558', class: "shared-by-user" }, this.t('chat.img.shared_by'), ' ', h("span", { key: '86b7f0095054d490e0a534d2c5df3733503dde72', class: "displayName" }, formatName(shorten(this.image.displayName)))), h("div", { key: '84b428b667da741f420753a0c58ef6a04169f765', class: "actions" }, h("rtk-button", { key: 'dce9d2b6c6e4b7dcfb429839762a0f350dc474df', onClick: () => downloadFile(this.image.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: 'f9a6b1fbd5f770555ba4bc7267fff7ca6102f097', icon: this.iconPack.download, slot: "start" }), "Download"), h("rtk-button", { key: '4051efa57da483dc628769fdd1e754a49fd389b7', kind: "icon", variant: "secondary", onClick: () => this.close.emit() }, h("rtk-icon", { key: 'ee1e43b0f89ad76c5cad6db21d6f8759c5d87a89', icon: this.iconPack.dismiss })))), h("div", { key: '752ab0206aa1b1e9447f9814210bcaa346dfab5d', class: "image-ctr" }, h("img", { key: '7de531b58aa5aad94ab03d500d34d13c37b43ba1', src: this.image.link }))));
42
+ return (h(Host, { key: '6e6e27bf5529ef5af5b0b7f02c0fcda77dba492c', class: "scrollbar", onClick: (e) => e.stopPropagation() }, h("div", { key: '53b1df2b76fb58d37154f246c09c38f17c4ac6b3', class: "header" }, h("div", { key: 'e5707219faa115dfccd330643d022c90abdcfc5b', class: "shared-by-user" }, this.t('chat.img.shared_by'), ' ', h("span", { key: '8387ffa67b78746a8d94f130ff23241313b5c1d8', class: "displayName" }, formatName(shorten(this.image.displayName)))), h("div", { key: 'cd70a8a95e264a533d2d093e4d32df49dfc3f2c7', class: "actions" }, h("rtk-button", { key: '404da530999c81a7754c07ed48ffb73eb8f915e3', onClick: () => downloadFile(this.image.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: '5d7806419e55072fcfb8735229cef5b9b0816669', icon: this.iconPack.download, slot: "start" }), "Download"), h("rtk-button", { key: '6ac87cb0172f319706d8e8d4591a76d3fa60a2b9', kind: "icon", variant: "secondary", onClick: () => this.close.emit() }, h("rtk-icon", { key: 'd25982c4b4f3c422df8187782a762b12fffb76df', icon: this.iconPack.dismiss })))), h("div", { key: '968d31b08e5113419bbdc63c3887a8537d198284', class: "image-ctr" }, h("img", { key: 'a806265d98e09094dd267afc3dc6018f6cf692c4', src: this.image.link }))));
43
43
  }
44
44
  static get is() { return "rtk-image-viewer"; }
45
45
  static get encapsulation() { return "shadow"; }
@@ -17,7 +17,7 @@ export class RtkInformationTooltip {
17
17
  this.iconPack = defaultIconPack;
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '71ecafbad168eb980530eb5e524f9b243ac49fc7' }, h("div", { key: 'beb675be20de89080d7fdeefb47367c5ab201a73', class: "tooltip-container" }, h("rtk-icon", { key: '8e135030eb60115c1f2a49ad71caedbd9e1b50e8', icon: this.iconPack.info, size: "sm" }), h("div", { key: '9b4c277f0d2c9311258c24f1001bf763936adde3', class: "tooltip" }, h("slot", { key: '66c6b7895cd23271cca393cc12dc075c1bf14923', name: "tootlip-text" })))));
20
+ return (h(Host, { key: '182572b0e68a80a504b3aed40ae526ae371a9921' }, h("div", { key: 'c46d1aedd29c015e36c0496dd36ccd7d2afcd4ee', class: "tooltip-container" }, h("rtk-icon", { key: '25465b17d5b97a102273621e6e942fb34f542d53', icon: this.iconPack.info, size: "sm" }), h("div", { key: '9f3e5eea9a21b1ff48e8a3e7e91e3f81e748af79', class: "tooltip" }, h("slot", { key: 'a0f42e3681ffddf9287ddacd111ea3fa64f77c01', name: "tootlip-text" })))));
21
21
  }
22
22
  static get is() { return "rtk-information-tooltip"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class RtkLeaveButton {
29
29
  }
30
30
  render() {
31
31
  const text = this.t('leave');
32
- return (h(Host, { key: '9a760243cdb8a409f96b2e44b07e84495ecf8ba6', label: text }, h("rtk-controlbar-button", { key: '5a45791756d7e448493b4968876820230d7ce81f', 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" })));
32
+ return (h(Host, { key: '27ea1d3f7593e32d53b8160537e00147be6e2a2d', label: text }, 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" })));
33
33
  }
34
34
  static get is() { return "rtk-leave-button"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -75,9 +75,9 @@ export class RtkLeaveMeeting {
75
75
  }
76
76
  }
77
77
  render() {
78
- return (h(Host, { key: '3a498cd6ba7efe8697a29b25cb91bba8bf4f8385' }, h("div", { key: '8094c0d9b4ade3f1a511796556b9bea6163f4081', class: "leave-modal" }, h("div", { key: '2ccb549f2ce35c8f54d806f7d6aa8e74bbc7bab2', class: "header" }, h("h2", { key: 'cf9281517dfad495e37f86b51a5cef6e471a1e62', class: "title" }, this.t('leave'))), h("p", { key: 'c2c0f7a042c377ce26e1045c6462c0a526d00041', class: "message" }, this.isBreakoutRoomsActive && this.isChildMeeting
78
+ return (h(Host, { key: 'aea5962feea02bcf96948f3fe61eb6d59657de0d' }, h("div", { key: '183292c3726e742323faba5d94c21ccefe3d56c5', class: "leave-modal" }, h("div", { key: '313b84d84c8a575883c5aa89613bf8a07b53a6aa', class: "header" }, h("h2", { key: 'd87fcdf179052a18b70b9681e56858e09acb04b5', class: "title" }, this.t('leave'))), h("p", { key: 'd03e97a6556e27b3719d4ca9ea89ee8a286d3f16', class: "message" }, this.isBreakoutRoomsActive && this.isChildMeeting
79
79
  ? this.t('breakout_rooms.leave_confirmation')
80
- : this.t('leave_confirmation')), h("div", { key: 'd2e9264448b26532318022ec7991fc77a17f15e1', class: "content" }, h("rtk-button", { key: '7792537400624c5f8028f5a6e167af8cc6c19317', variant: "secondary", onClick: this.close, class: "secondary-btn" }, this.t('cancel')), this.isBreakoutRoomsActive && this.isChildMeeting && this.canJoinMainRoom && (h("rtk-button", { key: 'e37a7a97fa85d120385f64831efebc02c9b4b036', variant: "secondary", onClick: this.handleJoinMainRoom, class: "secondary-btn" }, this.t('breakout_rooms.leave_confirmation.main_room_btn'))), h("rtk-button", { key: 'b6ae60a2e64af83b118c077c4eac6c5d7ee6f6f8', variant: "danger", title: this.t('leave'), onClick: this.handleLeave }, this.t('leave')), this.canEndMeeting && (h("rtk-button", { key: '05f27640ced0043aeb733df84f51a6ee637d3396', variant: "danger", class: "secondary-btn secondary-danger-btn", onClick: this.handleEndMeeting }, this.t('end.all')))))));
80
+ : this.t('leave_confirmation')), h("div", { key: '39742fe6bfbadfb30b116ee38685f1193c773e1c', class: "content" }, h("rtk-button", { key: '39d88ee45a920e56593cd23237bf241951d8b178', variant: "secondary", onClick: this.close, class: "secondary-btn" }, this.t('cancel')), this.isBreakoutRoomsActive && this.isChildMeeting && this.canJoinMainRoom && (h("rtk-button", { key: '250fb2f7e0a44e64a29072bc59d966191ce55a88', variant: "secondary", onClick: this.handleJoinMainRoom, class: "secondary-btn" }, this.t('breakout_rooms.leave_confirmation.main_room_btn'))), h("rtk-button", { key: 'bdbea0eb8468240008a11b1f4456d52633dc2637', variant: "danger", title: this.t('leave'), onClick: this.handleLeave }, this.t('leave')), this.canEndMeeting && (h("rtk-button", { key: 'abff846edc62ce861159bc19101ef6714a5ad99b', variant: "danger", class: "secondary-btn secondary-danger-btn", onClick: this.handleEndMeeting }, this.t('end.all')))))));
81
81
  }
82
82
  static get is() { return "rtk-leave-meeting"; }
83
83
  static get encapsulation() { return "shadow"; }
@@ -76,7 +76,7 @@ export class RtkMarkdownView {
76
76
  const slicedMessage = this.text.slice(0, this.maxLength);
77
77
  const withReply = extractReplyBlock(slicedMessage, true);
78
78
  const withoutReply = stripOutReplyBlock(slicedMessage);
79
- return (h("p", { key: '9544292f118f2c6975a807d6bcc2d307c70b2940' }, withReply.length !== 0 && h("blockquote", { key: '294bca9889738148fd51ecd8487d2d98b5adee4b' }, this.renderMessage(withReply)), withoutReply.length !== 0 && this.renderMessage(withoutReply)));
79
+ return (h("p", { key: 'c33735507a0798dffc360f01793bc7b0caaac159' }, withReply.length !== 0 && h("blockquote", { key: 'c0a4271ee4c843b6e73c8300a8026a3ec8dd5fe3' }, this.renderMessage(withReply)), withoutReply.length !== 0 && this.renderMessage(withoutReply)));
80
80
  }
81
81
  static get is() { return "rtk-markdown-view"; }
82
82
  static get encapsulation() { return "shadow"; }
@@ -59,7 +59,7 @@ export class RtkMenu {
59
59
  });
60
60
  }
61
61
  render() {
62
- return (h(Host, { key: 'a814ea3dde902a15cb6fb0db8a9c2409c240537f' }, h("span", { key: 'de2447524c6a1787a6b9442ccb9c3d56a33e9f4f', id: "trigger", ref: (el) => (this.triggerEl = el), onClick: () => {
62
+ return (h(Host, { key: 'b019210ff85bde38c61855f8ac38aa8b927aa857' }, h("span", { key: '14f689eed0672642c3a181ee5d197d7a9b5c00a8', id: "trigger", ref: (el) => (this.triggerEl = el), onClick: () => {
63
63
  this.clickedThis = true;
64
64
  if (this.menuListEl.style.display !== 'block') {
65
65
  this.menuListEl.style.display = 'block';
@@ -68,7 +68,7 @@ export class RtkMenu {
68
68
  else {
69
69
  this.menuListEl.style.display = 'none';
70
70
  }
71
- } }, h("slot", { key: 'fb566f431ceca452fad8b564cfb777bc90411a02', name: "trigger" })), h("span", { key: '50b030d301e54677d19cc21dadcec53f566b14cf', part: "menu-list", id: "menu-list", ref: (el) => (this.menuListEl = el) }, h("slot", { key: '59ce6c30c39155fec448114fd25752585d95c87d' }))));
71
+ } }, h("slot", { key: 'f1ab2111e0ad309df5b38e4f189d821b8ab50a4a', name: "trigger" })), h("span", { key: 'ec03b8c7ff60dd21dce3bc1f9b473ab59ec37ace', part: "menu-list", id: "menu-list", ref: (el) => (this.menuListEl = el) }, h("slot", { key: 'bc05fba324ccf4360340b070c8d4f3723a72cf6e' }))));
72
72
  }
73
73
  static get is() { return "rtk-menu"; }
74
74
  static get encapsulation() { return "shadow"; }
@@ -27,7 +27,7 @@ export class RtkMenuItem {
27
27
  this.t = useLanguage();
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: 'f0316fee5ac5fd2124ee26ac2664172007ad1c54' }, h("slot", { key: '994a3a27f743462a3ae0a4c95bc5de672119fdb6', name: "start" }), h("slot", { key: '24594ecaffb46a4b0458032596570fee37e6ae00' }), h("slot", { key: '4ede22267a24a37c508591b0148a1e1b2c391fc9', name: "end" })));
30
+ return (h(Host, { key: 'a5c802aa2cb8cb235dc1e68d54ec9703c57df0b9' }, h("slot", { key: 'b448160fdd220fd814d471ddc08d7f784af10c49', name: "start" }), h("slot", { key: '0b342d2547a7835ea23d1974c3fd1b2e3507e779' }), h("slot", { key: '6670a8ed947d2bd6fb1651e9c6c1cd52f5ca419c', name: "end" })));
31
31
  }
32
32
  static get is() { return "rtk-menu-item"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -25,7 +25,7 @@ export class RtkMenuList {
25
25
  this.t = useLanguage();
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: 'c0974bc340294b197aa8310e5a9913126ac22c48' }, h("slot", { key: '1a660db36c713285203569957959663497803c5e' })));
28
+ return (h(Host, { key: '1357690e48bef0c8c0e953886f1fd7754f0e4e4d' }, h("slot", { key: 'f3a221b7a4d28f53add6b658a0510294a998d6c1' })));
29
29
  }
30
30
  static get is() { return "rtk-menu-list"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -260,11 +260,11 @@ export class RtkMessageListView {
260
260
  this.updateTotalHeight();
261
261
  }
262
262
  render() {
263
- return (h("div", { key: '4da03366f085b87729d946b1633d031e4656f2ac', class: "scrollbar content-wrapper", ref: (el) => (this.$listRef = el), onScroll: this.handleScroll }, h("div", { key: '7a8268e8a3d5326d359f4722c341e6487e1f21f6', class: "scroller" }, h("div", { key: 'b856c5ec8c602963ab9bd74e9838b4ce6bf05f85', style: {
263
+ return (h("div", { key: '413771e98d7ce6f8c2af3d6cadf6ad3484586929', class: "scrollbar content-wrapper", ref: (el) => (this.$listRef = el), onScroll: this.handleScroll }, h("div", { key: '4e4eb3729e574f555e844266803338e5b8a5aff9', class: "scroller" }, h("div", { key: 'c4389d8636465efef4cb1e15b63c2f52eb457942', style: {
264
264
  height: `${this.totalHeight}px`,
265
- } }), h("div", { key: 'a7fe4267408199ffe0f81b56c00f3dffb5e2e59f', class: "smallest-dom-element", id: "list-end", ref: (el) => (this.$listEndRef = el) })), h("div", { key: 'bcd29a59a370c975ab344cabeefdd7ce905f37fe', class: "content", style: {
265
+ } }), h("div", { key: 'dd6b9b2cb812f817bdf66f4abf5f2c81f0664fa0', class: "smallest-dom-element", id: "list-end", ref: (el) => (this.$listEndRef = el) })), h("div", { key: 'e07b23728210f7708bf5c65ae2007b28779954e7', class: "content", style: {
266
266
  transform: `translateY(${this.getRangeSize(0, this.range.start)}px)`,
267
- } }, this.isFetching && (h("div", { key: '6529fdc824381737d75e489f262dcf90bd12e186', class: "loader" }, h("rtk-spinner", { key: '8785a6b44007f8ce834639b5e6ae9221a6df704c', size: "md" }))), this.getVisibleItems().map((msg, index) => (h("div", { key: msg.id, ref: (el) => this.rendererInternal(el, msg, index) }))))));
267
+ } }, this.isFetching && (h("div", { key: '3957d510fcc88770169f5378e8180c168645d954', class: "loader" }, h("rtk-spinner", { key: '30a85f8744f51150940abf19b3dcfb9587f50c7f', size: "md" }))), this.getVisibleItems().map((msg, index) => (h("div", { key: msg.id, ref: (el) => this.rendererInternal(el, msg, index) }))))));
268
268
  }
269
269
  static get is() { return "rtk-message-list-view"; }
270
270
  static get originalStyleUrls() {
@@ -37,6 +37,7 @@ p {
37
37
  .message-wrapper {
38
38
  display: flex;
39
39
  flex-direction: row-reverse;
40
+ align-items: flex-start;
40
41
  gap: var(--rtk-space-2, 8px);
41
42
  }
42
43
  .message-wrapper.incoming {
@@ -45,15 +46,23 @@ p {
45
46
  .message {
46
47
  display: flex;
47
48
  flex-direction: column;
49
+ align-items: flex-end;
48
50
  }
51
+
52
+ .incoming .message {
53
+ display: flex;
54
+ flex-direction: column;
55
+ align-items: flex-start;
56
+ }
57
+
49
58
  .header {
59
+ margin-top: var(--rtk-space-1, 4px);
50
60
  margin-bottom: var(--rtk-space-1, 4px);
51
61
  align-self: flex-end;
52
62
  color: rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));
53
- font-size: 14px;
63
+ font-size: 12px;
54
64
  font-weight: 600;
55
65
  }
56
-
57
66
  .incoming .header {
58
67
  align-self: flex-start;
59
68
  }
@@ -69,29 +78,34 @@ p {
69
78
  position: relative;
70
79
  }
71
80
 
72
- .body .metadata {
73
- margin-top: var(--rtk-space-2, 8px);
74
- align-self: flex-end;
75
- font-size: 10px;
76
- }
77
-
78
81
  .bubble {
79
- max-width: var(--rtk-space-96, 384px);
82
+ max-width: 90%;
80
83
  padding: var(--rtk-space-2, 8px);
84
+ border-width: 1px;
85
+ border-style: solid;
86
+ --tw-border-opacity: 1;
87
+ border-color: rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-border-opacity));
81
88
  --tw-bg-opacity: 1;
82
- background-color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity));
89
+ background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));
83
90
  color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));
84
91
  border-radius: var(--rtk-border-radius-md, 8px);
85
92
  }
86
93
 
87
94
  .incoming .bubble {
88
- width: -moz-fit-content;
89
- width: fit-content;
95
+ --tw-border-opacity: 1;
96
+ border-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));
90
97
  --tw-bg-opacity: 1;
91
98
  background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));
92
99
  color: rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));
93
100
  }
94
101
 
102
+ .metadata {
103
+ margin-top: var(--rtk-space-2, 8px);
104
+ align-self: flex-end;
105
+ font-size: 10px;
106
+ color: rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76));
107
+ }
108
+
95
109
  .avatar {
96
110
  display: none;
97
111
  }
@@ -22,6 +22,8 @@ export class RtkMessageView {
22
22
  this.viewType = 'outgoing';
23
23
  /** Hides avatar */
24
24
  this.hideAvatar = false;
25
+ /** Is the message sent by the current user */
26
+ this.isSelf = false;
25
27
  /** Hides author display label */
26
28
  this.hideAuthorName = false;
27
29
  /** Hides metadata (time) */
@@ -33,7 +35,7 @@ export class RtkMessageView {
33
35
  return (h("rtk-menu", { placement: "top-end", offset: 1 }, h("button", { slot: "trigger", class: "actions" }, h("rtk-icon", { icon: this.iconPack.chevron_down })), h("rtk-menu-list", null, this.actions.map((action) => (h("rtk-menu-item", { onClick: () => this.onAction.emit(action.id) }, action.icon && h("rtk-icon", { icon: action.icon, slot: "start" }), action.label))))));
34
36
  }
35
37
  render() {
36
- return (h(Host, { key: '9fafe4370eee525631023ecde39b3293059e8c22' }, h("div", { key: '1718981905d4458d0862c34c3c342f7335f0921b', class: { 'message-wrapper': true, [this.viewType]: true } }, !this.hideAvatar && (h("aside", { key: 'c6ea0c46283a7faa4bb937cb4196e2e1d548c721', class: "avatar", part: "avatar" }, h("rtk-avatar", { key: 'e3181a831b75b5c79f212da64076dbf6b47fecca', participant: { name: this.authorName, picture: this.avatarUrl }, size: "sm" }))), h("div", { key: '5565b5711055f1cd543cfaa36c03789b82fb94fa', class: "message", part: "message" }, !this.hideAuthorName && h("div", { key: '613098d825ba1c33aaca53579c883a306ed1239d', class: "header" }, this.authorName), h("div", { key: '166dd3e4fb33876cd74f94a7ac193064e8778f81', class: { body: true, bubble: this.variant === 'bubble' } }, h("slot", { key: 'd04e722b66c4d7cb7c20952a9e7c70d048e66410' }), !this.hideMetadata && !!this.time && (h("div", { key: 'f12d8c9dd8320202a6906c10298d3357aff5d762', class: "metadata", title: formatDateTime(this.time) }, elapsedDuration(this.time, new Date(Date.now())))), this.actions.length !== 0 && this.renderActions())))));
38
+ return (h(Host, { key: '61882011f477f816296277a4f2d5622d224e47f0' }, h("div", { key: 'ae21bfc0c499879da6a2167f0cad5203475de696', class: { 'message-wrapper': true, [this.viewType]: true } }, !this.hideAvatar && (h("aside", { key: '73b10ebb1dccdc4e2c9258f185eb14f07d11d542', class: "avatar", part: "avatar" }, h("rtk-avatar", { key: 'e07971bf9d7738fb2dcc015d339a13d5dca7c6f7', participant: { name: this.authorName, picture: this.avatarUrl }, size: "sm" }))), h("div", { key: '1e24801f717589e598c4160bea7ab10a59acfcc2', class: "message", part: "message" }, !this.hideAuthorName && (h("div", { key: '3178f750ad798b7d83508f82ead36ee5407fee4c', class: "header" }, this.authorName, " ", this.isSelf ? ' (You)' : '')), h("div", { key: '056445ef0c557d7d756330df5778ad8bc2d41e60', class: { body: true, bubble: this.variant === 'bubble' } }, h("slot", { key: '6d5486666ce2238e4387c2621d562b24704a9317' }), !this.hideMetadata && !!this.time && (h("div", { key: '1d4b9bdbb3aaf288dce4b43a31354df3d413b2b4', class: "metadata", title: formatDateTime(this.time) }, elapsedDuration(this.time, new Date(Date.now())))), this.actions.length !== 0 && this.renderActions())))));
37
39
  }
38
40
  static get is() { return "rtk-message-view"; }
39
41
  static get encapsulation() { return "shadow"; }
@@ -171,6 +173,26 @@ export class RtkMessageView {
171
173
  "attribute": "author-name",
172
174
  "reflect": false
173
175
  },
176
+ "isSelf": {
177
+ "type": "boolean",
178
+ "mutable": false,
179
+ "complexType": {
180
+ "original": "boolean",
181
+ "resolved": "boolean",
182
+ "references": {}
183
+ },
184
+ "required": false,
185
+ "optional": false,
186
+ "docs": {
187
+ "tags": [],
188
+ "text": "Is the message sent by the current user"
189
+ },
190
+ "getter": false,
191
+ "setter": false,
192
+ "attribute": "is-self",
193
+ "reflect": false,
194
+ "defaultValue": "false"
195
+ },
174
196
  "hideAuthorName": {
175
197
  "type": "boolean",
176
198
  "mutable": false,
@@ -53,10 +53,10 @@ export class RtkMoreToggle {
53
53
  }
54
54
  render() {
55
55
  const text = this.t('more');
56
- return (h(Host, { key: '8cee20061968a6658b164929fa725c0d56f3c5f4', title: text }, this.states.activeMoreMenu && (h("div", { key: '1cf7d2a85d4d1626a0c469d77c91131e9f86b451', class: "more-menu" }, h("slot", { key: '3c1507fa6561127f2d1a4f9d53899dece5d933a2', name: "more-elements" }))), h("rtk-controlbar-button", { key: '76ea4f7d1a55abc6928c6b6c55d89382d46b34e3', size: this.size, iconPack: this.iconPack, onClick: (e) => {
56
+ return (h(Host, { key: '3b07eaaee77053c8bc68edf517adbc2928244680', title: text }, this.states.activeMoreMenu && (h("div", { key: '31f641a909685ce4f561b107e6dfd380a6d5ec86', class: "more-menu" }, h("slot", { key: 'c78477d0c4db136d6dfb4c3fe63ceb7dc678205e', name: "more-elements" }))), h("rtk-controlbar-button", { key: '41bbfa76720797850c8f540720eaeaed7e9f2a12', 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" }), h("slot", { key: 'e38000e817552abd2b20668885effaf8a0b73592', name: "expanded" })));
59
+ }, icon: this.iconPack.horizontal_dots, label: text, part: "controlbar-button" }), h("slot", { key: '207388a5e3c71f27d54f54b42d41339c19bb202d', name: "expanded" })));
60
60
  }
61
61
  static get is() { return "rtk-more-toggle"; }
62
62
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class RtkMuteAllConfirmation {
29
29
  };
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: '6f260e3a10d229942b3903afc721d30b6e6494a7' }, h("div", { key: '9bdf56a9eee7b0a172f4b29b619632817ccc1212', class: "leave-modal" }, h("div", { key: 'a68cd8b46f9727a2ced5e505651e65bf1a1fb1f2', class: "header" }, h("h2", { key: '202529f47bd59dd2df1a7971a33cc706070705d9', class: "title" }, this.t('mute_all.header'))), h("p", { key: '40569f7f09c9f370ccd117590113545a4a083e40', class: "message" }, this.t('mute_all.description')), h("div", { key: 'f6a19e3fcdc7ca1c8e8d443cb705dcd27b55398e', class: "content" }, h("div", { key: '979e79f3f20c60b1e1474d7c37b96392809078f9', class: "leave-meeting" }, h("rtk-button", { key: 'a717271acf30ebf16e22cfbc23b7e7120662754c', variant: "secondary", title: this.t('close'), onClick: this.onClose }, this.t('cancel')), h("rtk-button", { key: '6b425563d4f0c4db28e9201c87d0bd9aa71399a8', variant: "danger", title: this.t('mute_all'), onClick: this.onMuteAll }, this.t('mute_all')))))));
32
+ return (h(Host, { key: '012843e04afc91b7a9b8bca01d5d44ad8eb21988' }, h("div", { key: '82d246a5339936460435c45122ee9979c6f96ec4', class: "leave-modal" }, h("div", { key: '93a9cb57cc106f4dadbb3bac2dc194dc506d8926', class: "header" }, h("h2", { key: '26535ce68bae0d140ad626cfef61f7f753892404', class: "title" }, this.t('mute_all.header'))), h("p", { key: 'adf32771ba089b2b07022faa581a152495faafbc', class: "message" }, this.t('mute_all.description')), h("div", { key: '8f15b4433aa6483d968f435ce413ebe64077aee4', class: "content" }, h("div", { key: '5d9781ebe01b4085f4c5a9917a09b5b32e418c72', class: "leave-meeting" }, h("rtk-button", { key: 'bb8718e4548662d15ea67cb5a432e195c5f5f965', variant: "secondary", title: this.t('close'), onClick: this.onClose }, this.t('cancel')), h("rtk-button", { key: '0efaee116b9361826fc94a41e4727115a08100cb', variant: "danger", title: this.t('mute_all'), onClick: this.onMuteAll }, this.t('mute_all')))))));
33
33
  }
34
34
  static get is() { return "rtk-mute-all-confirmation"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -47,9 +47,9 @@ export class RtkNotification {
47
47
  }
48
48
  render() {
49
49
  var _a;
50
- return (h(Host, { key: '60c06bbf91a415227daa6df5e33ce70f70b9e96a' }, h("div", { key: '88b3028fbab2ae480d9b56169be54d7be88f283a', class: "ctr" }, this.notification.icon != null && (h("rtk-icon", { key: '2082950cbd422100eaae181089b459a228edb5b2', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
50
+ return (h(Host, { key: '8c854ce9c1fbed1d0078e37ddfe731bd09f60217' }, h("div", { key: 'e5110dfac0052c151ad0f0c702fd2183639c160c', class: "ctr" }, this.notification.icon != null && (h("rtk-icon", { key: '34c84299f20115d1576606443fd28035d604a282', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
51
51
  this.notification.icon == null &&
52
- this.imageState !== 'errored' && (h("img", { key: '56e7d906bb2daf5ddce6b143ffa74a47d602ca70', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: '980db1c29942c51de04eef62c519ff20402c639e', class: "message" }, h(TextMessageView, { key: '6b59afd62dcf6671d056ed424146c9c4c1e1bead', message: this.notification.message })), h("div", { key: 'a4399741c18093e46be3726f3514d8e8a5682ab3', class: "right" }, this.notification.button != null && (h("rtk-button", { key: 'a20046c85de2c3ee5cd7b6814c84e52a027e0cfc', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("button", { key: '83d7d13c98c68f6049321d5d0c573ea2eccf65f8', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, h("rtk-icon", { key: '5a17a700a54172a10cd2398dd38853bd0c337215', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
52
+ this.imageState !== 'errored' && (h("img", { key: 'f8c7d6de5740e5e94be8b0bec312b44157c9999a', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: 'cf22e099409eda906611ad43bb92192512c3b3f0', class: "message" }, h(TextMessageView, { key: '87e52e92ffa9d86b4ddc6a1c61b5bbb6a9f6c1d1', message: this.notification.message })), h("div", { key: '06195e55729bbc11fc48b188df7ee5f8a7b111d6', class: "right" }, this.notification.button != null && (h("rtk-button", { key: 'b1a8e8f05587fa9eaf66e9d8932dee6d4fc57e67', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("button", { key: '102260442e93358e972d72dbcfe2cc90f68523d9', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, h("rtk-icon", { key: 'f585bf6153a7c34528bd46af850db3f8511805ff', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
53
53
  }
54
54
  static get is() { return "rtk-notification"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -30,7 +30,7 @@ export class RtkOverlayModal {
30
30
  }
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: 'c767e575975cc837f1f484932c5c916d5d7e4522' }, h("rtk-icon", { key: '0f4e8e81e1fa985852cbe4055203ca3095ae8ebe', icon: this.states.activeOverlayModal.icon }), h("h2", { key: '1af8c19bc19e93b279cf396903a91d3ae7192eda' }, this.states.activeOverlayModal.title), h("p", { key: '226aacfe32b70ba4e1a01b1e4875af3fd39b559a' }, this.states.activeOverlayModal.description)));
33
+ return (h(Host, { key: '3c4b052af95eb7fd181d940b671b1d8105c568bb' }, h("rtk-icon", { key: 'a279a00bc270b2aa5bc1b867753bb10fbb13dfba', icon: this.states.activeOverlayModal.icon }), h("h2", { key: '283ade7b8c7f340e6931330a923df6d7457902e7' }, this.states.activeOverlayModal.title), h("p", { key: '16a8497d0940fa3354530555ab523e4d7236bbc0' }, this.states.activeOverlayModal.description)));
34
34
  }
35
35
  static get is() { return "rtk-overlay-modal"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -32,9 +32,10 @@
32
32
  flex-direction: column-reverse;
33
33
  padding-top: var(--rtk-space-4, 16px);
34
34
  padding-bottom: var(--rtk-space-4, 16px);
35
+ padding-left: var(--rtk-space-2, 8px);
36
+ padding-right: var(--rtk-space-2, 8px);
35
37
  flex: 1 0 0px;
36
38
  overflow-y: scroll;
37
- /* overflow-anchor: none; */
38
39
  }
39
40
  .file-picker {
40
41
  display: none;
@@ -335,3 +336,26 @@ rtk-spinner,
335
336
  padding-top: var(--rtk-space-1, 4px);
336
337
  padding-bottom: var(--rtk-space-1, 4px);
337
338
  }
339
+
340
+ .load-more-on-top-container {
341
+ pointer-events: none;
342
+ position: absolute;
343
+ top: var(--rtk-space-2, 8px);
344
+ right: var(--rtk-space-4, 16px);
345
+ z-index: 10;
346
+ }
347
+
348
+ .load-more-icon {
349
+ pointer-events: auto;
350
+ border-radius: 9999px;
351
+ }
352
+
353
+ .load-more-icon:hover {
354
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
355
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
356
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
357
+ --tw-ring-opacity: 1;
358
+ --tw-ring-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-ring-opacity));
359
+ --tw-bg-opacity: 1;
360
+ background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));
361
+ }
@@ -16,8 +16,6 @@ import { SyncWithStore } from "../../utils/sync-with-store";
16
16
  import { smoothScrollToBottom } from "../../utils/scroll";
17
17
  export class RtkPaginatedList {
18
18
  constructor() {
19
- /** auto scroll list to bottom */
20
- this.autoScroll = true;
21
19
  /** Icon pack */
22
20
  this.iconPack = defaultIconPack;
23
21
  /** Language */
@@ -25,6 +23,9 @@ export class RtkPaginatedList {
25
23
  /** label to show when empty */
26
24
  this.emptyListLabel = null;
27
25
  this.isLoading = false;
26
+ this.isLoadingTop = false;
27
+ this.isLoadingBottom = false;
28
+ this.hasMoreDataAtTop = false;
28
29
  this.rerenderBoolean = false;
29
30
  /**
30
31
  * This gets disabled when the user scrolls up and the bottom node
@@ -101,6 +102,7 @@ export class RtkPaginatedList {
101
102
  }
102
103
  connectedCallback() {
103
104
  this.rerender = debounce(this.rerender.bind(this), 50, { maxWait: 200 });
105
+ this.autoScroll = true;
104
106
  this.intersectionObserver = new IntersectionObserver((entries) => {
105
107
  writeTask(() => {
106
108
  for (const entry of entries) {
@@ -156,7 +158,8 @@ export class RtkPaginatedList {
156
158
  const oldestTimestamp = oldestVNode.timeMs;
157
159
  // TODO: scrollIntoView
158
160
  const onPageRendered = () => { }; // oldestVNode.$elm$?.scrollIntoView();
159
- this.loadPage(oldestTimestamp - 1, this.pageSize, true, onPageRendered);
161
+ this.isLoadingTop = true;
162
+ this.loadPage(oldestTimestamp - 1, this.pageSize, true, onPageRendered, 'top');
160
163
  }
161
164
  loadBottom() {
162
165
  /**
@@ -175,7 +178,8 @@ export class RtkPaginatedList {
175
178
  const newestTimestamp = newestVNode.timeMs;
176
179
  // TODO: scrollIntoView
177
180
  const onPageRendered = () => smoothScrollToBottom(this.$paginatedList);
178
- this.loadPage(newestTimestamp + 1, this.pageSize, false, onPageRendered);
181
+ this.isLoadingBottom = true;
182
+ this.loadPage(newestTimestamp + 1, this.pageSize, false, onPageRendered, 'bottom');
179
183
  }
180
184
  addNodeToRender(node, addToStart) {
181
185
  if (addToStart) {
@@ -219,11 +223,19 @@ export class RtkPaginatedList {
219
223
  * @param end
220
224
  * @param reversed Defines whether to add the page at the beginning or the end
221
225
  * @param onPageLoaded Callback for when all new nodes are rendered
226
+ * @param direction Indicates if loading from 'top' or 'bottom'
222
227
  */
223
- async loadPage(timestamp, size, reversed, onPageRendered = () => { }) {
228
+ async loadPage(timestamp, size, reversed, onPageRendered = () => { }, direction) {
224
229
  this.isLoading = true;
225
230
  const data = (await this.fetchData(timestamp, size, reversed));
226
231
  this.isLoading = false;
232
+ if (direction === 'top') {
233
+ this.isLoadingTop = false;
234
+ this.hasMoreDataAtTop = (data === null || data === void 0 ? void 0 : data.length) > 0;
235
+ }
236
+ if (direction === 'bottom') {
237
+ this.isLoadingBottom = false;
238
+ }
227
239
  if (!(data === null || data === void 0 ? void 0 : data.length)) {
228
240
  /**
229
241
  * While scrolling down if there were no new items found
@@ -236,20 +248,6 @@ export class RtkPaginatedList {
236
248
  onPageRendered([]);
237
249
  return;
238
250
  }
239
- // const page = this.createNodes(data);
240
- // const lastNodeToBeRendered = page[page.length - 1];
241
- // let lastNodeToBeRenderedProxy = new Proxy(lastNodeToBeRendered, {
242
- // set(obj, prop, value) {
243
- // /**
244
- // * Whenever the last node has the 'elm' property added to it
245
- // * we can assume it has been rendered
246
- // */
247
- // if (prop === '$elm$' && value && !obj.$elm$) onPageRendered();
248
- // obj[prop] = value;
249
- // return true;
250
- // },
251
- // });
252
- // page[page.length - 1] = lastNodeToBeRenderedProxy;
253
251
  data.forEach((node) => this.addNodeToRender(node, reversed));
254
252
  this.rerender();
255
253
  onPageRendered(data);
@@ -271,6 +269,9 @@ export class RtkPaginatedList {
271
269
  */
272
270
  this.loadBottom();
273
271
  }
272
+ onLoadMoreOnTopClicked() {
273
+ this.loadTop();
274
+ }
274
275
  render() {
275
276
  var _a;
276
277
  /**
@@ -278,7 +279,7 @@ export class RtkPaginatedList {
278
279
  * which is why div#bottom-scroll comes before div#top-scroll
279
280
  * div.page-wrapper prevents reversal of messages
280
281
  */
281
- return (h(Host, { key: '4f1521c422a134079a5def745ed85631c48a132a' }, h("div", { key: '0cadd9723fbc844bab7e595d18b6174ecb6ba10c', class: "scrollbar container", part: "container", ref: (el) => (this.$paginatedList = el) }, h("div", { key: '35a9b009d74a81159c7b856b9412b670051c9893', class: { 'show-new-messages-ctr': true, active: !this.shouldRenderNewNodes } }, h("rtk-button", { key: '2798fbf3da7200db72dfe1f985d4570163d77ff8', class: "show-new-messages", kind: "icon", variant: "secondary", part: "show-new-messages", onClick: () => this.onDownArrowClicked() }, h("rtk-icon", { key: '08b47cd4f472b240174cee559d4d39cf796aa788', icon: this.iconPack.chevron_down }))), h("div", { key: 'ae30f2391936a8a4f258384cc8da4300bf2c350c', class: "smallest-dom-element", id: "bottom-scroll", ref: (el) => (this.$bottomRef = el) }), this.isLoading && this.pagesToRender.flat().length === 0 && h("rtk-spinner", { key: '72f866d03e6d0d954a46443aa19d95f7033dfbe9', size: "lg" }), this.pagesToRender.flat().length === 0 && this.showEmptyListLabel ? (h("div", { class: "empty-list" }, (_a = this.emptyListLabel) !== null && _a !== void 0 ? _a : this.t('list.empty'))) : (h("div", { class: "page-wrapper" }, this.pagesToRender.map((page) => this.createNodes(page)))), h("div", { key: 'c96065eee8e01c56c0f6cb419b5e26ceef564678', class: "smallest-dom-element", id: "top-scroll", ref: (el) => (this.$topRef = el) }))));
282
+ return (h(Host, { key: '23e10f12b079213650cf9c947d30650ba8c95a4d' }, h("div", { key: 'b5406069fd69ff117b19d437184c38b3c7d2fc28', class: "scrollbar container", part: "container", ref: (el) => (this.$paginatedList = el) }, h("div", { key: '7be947f2409ff810e0d10beea53ace8fdec334ce', class: { 'show-new-messages-ctr': true, active: !this.shouldRenderNewNodes } }, h("rtk-button", { key: '45c43d6ca1cc39376334dffa10f3f2c137d65add', class: "show-new-messages", kind: "icon", variant: "secondary", part: "show-new-messages", onClick: () => this.onDownArrowClicked() }, h("rtk-icon", { key: '519b0db80f7d16cc4d03983e227d4897a5868ec9', icon: this.iconPack.chevron_down }))), h("div", { key: '53691e3943b90ef9e422c8da8f5facaa23f01920', class: "smallest-dom-element", id: "bottom-scroll", ref: (el) => (this.$bottomRef = el) }), this.isLoadingBottom && h("rtk-spinner", { key: '2a393cb0bbb07c356144464dcc7c597f5cc9771b', size: "sm" }), this.isLoading && this.pagesToRender.flat().length === 0 && h("rtk-spinner", { key: '4ce03be69368db0d6d0d4ad079b14f2c7d93f26d', size: "lg" }), this.pagesToRender.flat().length === 0 && this.showEmptyListLabel ? (h("div", { class: "empty-list" }, (_a = this.emptyListLabel) !== null && _a !== void 0 ? _a : this.t('list.empty'))) : (h("div", { class: "page-wrapper" }, this.pagesToRender.map((page) => this.createNodes(page)))), this.hasMoreDataAtTop && !this.isLoadingTop && (h("div", { key: '5c85806854687efe098e4bd6d06d109060445378', class: "load-more-on-top-container" }, h("rtk-button", { key: '6d73a030fad5ba133aa2841b2feb196646592ada', class: "load-more-icon", kind: "icon", variant: "secondary", part: "load-more-icon", onClick: () => this.onLoadMoreOnTopClicked() }, h("rtk-icon", { key: '61a4f376749938df280e5c734dd3fa8a9b0b7201', icon: this.iconPack.chevron_up })))), this.isLoadingTop && h("rtk-spinner", { key: '3e55b99c60ed7bc2cd937091a33663dd19c9ca68', size: "sm" }), h("div", { key: 'a69e0a3a26d295783f4f729b33770b206ab5d46b', class: "smallest-dom-element", id: "top-scroll", ref: (el) => (this.$topRef = el) }))));
282
283
  }
283
284
  static get is() { return "rtk-paginated-list"; }
284
285
  static get encapsulation() { return "shadow"; }
@@ -413,8 +414,7 @@ export class RtkPaginatedList {
413
414
  "getter": false,
414
415
  "setter": false,
415
416
  "attribute": "auto-scroll",
416
- "reflect": false,
417
- "defaultValue": "true"
417
+ "reflect": false
418
418
  },
419
419
  "iconPack": {
420
420
  "type": "unknown",
@@ -489,6 +489,9 @@ export class RtkPaginatedList {
489
489
  static get states() {
490
490
  return {
491
491
  "isLoading": {},
492
+ "isLoadingTop": {},
493
+ "isLoadingBottom": {},
494
+ "hasMoreDataAtTop": {},
492
495
  "rerenderBoolean": {},
493
496
  "shouldRenderNewNodes": {},
494
497
  "hasNewNodesToRender": {},
@@ -220,9 +220,9 @@ export class RtkParticipant {
220
220
  iconPack: this.iconPack,
221
221
  t: this.t,
222
222
  };
223
- return (h(Host, { key: '804f9c2daf473fd518c6697a51b82f5baf63fb17' }, h("div", { class: "left", key: (_e = this.participant) === null || _e === void 0 ? void 0 : _e.id }, h("rtk-avatar", { key: '98f6f1a031269f5ca6523ed38228bcb64a3fe97d', participant: this.participant, size: "sm", iconPack: this.iconPack, t: this.t }), h("p", { key: 'de05ef0806cb0e614bae951715ec263cb2271492', class: "name", title: name }, shorten(name, 16), " ", ((_f = this.meeting) === null || _f === void 0 ? void 0 : _f.self.id) === ((_g = this.participant) === null || _g === void 0 ? void 0 : _g.id) && this.t('(you)'))), this.view === 'sidebar' && (h("div", { key: '8393d899384cac8ff0e248a76f4095922f98e1cb', class: "right" }, isActiveParticipant && (h("rtk-icon", { key: '7b99b6269a101d01a8014dc4038b6bcada21203f', class: {
223
+ return (h(Host, { key: 'd04f837e2d5eb2024ac202ad5ac77331adad43c9' }, h("div", { class: "left", key: (_e = this.participant) === null || _e === void 0 ? void 0 : _e.id }, h("rtk-avatar", { key: '357234a1dde242720daab827db2d8aeda595c96b', participant: this.participant, size: "sm", iconPack: this.iconPack, t: this.t }), h("p", { key: 'f1cd6c6f0398e7f5275a65044a65429d5f0d1db4', class: "name", title: name }, shorten(name, 16), " ", ((_f = this.meeting) === null || _f === void 0 ? void 0 : _f.self.id) === ((_g = this.participant) === null || _g === void 0 ? void 0 : _g.id) && this.t('(you)'))), this.view === 'sidebar' && (h("div", { key: 'bd12f811f09fdb1b722ac9597f8e70dd734d5737', class: "right" }, isActiveParticipant && (h("rtk-icon", { key: '20d4bd4f97e9edd4f86cb4b427fa60b1507906cd', class: {
224
224
  red: !this.audioEnabled,
225
- }, icon: this.audioEnabled ? this.iconPack.mic_on : this.iconPack.mic_off })), isActiveParticipant && !isAudioRoom && (h("rtk-icon", { key: 'e6e7d7e8a50a9ad0be657b85245252300182c539', class: {
225
+ }, icon: this.audioEnabled ? this.iconPack.mic_on : this.iconPack.mic_off })), isActiveParticipant && !isAudioRoom && (h("rtk-icon", { key: 'bebf3ddc0a1b40a4cbb736edbee9bf2482890c32', class: {
226
226
  red: !this.videoEnabled,
227
227
  }, icon: this.videoEnabled ? this.iconPack.video_on : this.iconPack.video_off })), (showMenu ||
228
228
  lenChildren({
@@ -231,34 +231,34 @@ export class RtkParticipant {
231
231
  childProps: {
232
232
  participant: this.participant,
233
233
  },
234
- }) > 0) && (h("div", { key: '085e0ffe3c230ef1f21ed5de6c11ef70ccfeb69b', class: "menu" }, h("span", { key: 'ab295b485204509824a6bce511a80ec939e31fbb', id: "trigger", onClick: this.onMenuToggle }, h("rtk-button", { key: '0f0cb35c69e63ba8d8b3835cec42aba9f65dc6b8', variant: "ghost", kind: "icon", slot: "trigger" }, h("rtk-icon", { key: 'ebd5705879751573de28ddad204d8f16b055a2b9', class: "more", icon: this.iconPack.more_vertical }))), h("span", { key: '98ec81219c735d44ba36eb2e677b734cc43e478d', id: "menu-list" }, this.menuOpen && (h("rtk-menu-list", { key: '243c43eacd1c429f4c7bd2fcd24fef3983209226', iconPack: this.iconPack, t: this.t }, this.canPinParticipant && isActiveParticipant && !isAudioRoom && (h("rtk-menu-item", { key: '93b74a42b5b37fe15bcbe7a5217258c8cb2b48b9', onClick: () => {
234
+ }) > 0) && (h("div", { key: '98bbfa6d23c2b298f082b182ed4ff39b5ab6ffbd', class: "menu" }, h("span", { key: '510be24b1e9000cea40bc1d19bead1092b882802', id: "trigger", onClick: this.onMenuToggle }, h("rtk-button", { key: 'ffc0397b8259769d5fe2407770507350449211e5', variant: "ghost", kind: "icon", slot: "trigger" }, h("rtk-icon", { key: 'a7c403786b7fd2be84e3cb59015e0c9532fbe7a8', class: "more", icon: this.iconPack.more_vertical }))), h("span", { key: '996cfcd1221be661ec4a7a1fb753a2979ef695b6', id: "menu-list" }, this.menuOpen && (h("rtk-menu-list", { key: '16d3ce80e2d51cffb37617856dfec051958ef9b7', iconPack: this.iconPack, t: this.t }, this.canPinParticipant && isActiveParticipant && !isAudioRoom && (h("rtk-menu-item", { key: '2469c59d100fe34fbb0c271f9bf27263e9d3ce72', onClick: () => {
235
235
  if (this.isPinned) {
236
236
  this.participant.unpin();
237
237
  }
238
238
  else {
239
239
  this.participant.pin();
240
240
  }
241
- }, iconPack: this.iconPack, t: this.t }, h("rtk-icon", { key: '0c1c8f6cc7b10c2fdea37f79ad0fc00cbb50f1d6', icon: this.isPinned ? this.iconPack.pin_off : this.iconPack.pin, slot: "start" }), this.isPinned ? this.t('unpin') : this.t('pin'))), isSelf && (h("rtk-menu-item", { key: 'dd4d5dff2c77f93a233a5f565d9d64fddb660c0d', iconPack: this.iconPack, t: this.t, onClick: () => {
241
+ }, iconPack: this.iconPack, t: this.t }, h("rtk-icon", { key: 'e69b81c2a557d2acf6f4254edb46836d9951cf3e', icon: this.isPinned ? this.iconPack.pin_off : this.iconPack.pin, slot: "start" }), this.isPinned ? this.t('unpin') : this.t('pin'))), isSelf && (h("rtk-menu-item", { key: '52335e703f44cf8b1d3adc6c2d6750198906216b', iconPack: this.iconPack, t: this.t, onClick: () => {
242
242
  this.isHidden
243
243
  ? this.participant.show()
244
244
  : this.participant.hide();
245
- } }, h("rtk-icon", { key: 'fdfc1cfeca1b1c63dd27fcc31a658f1d1a8d5c17', icon: this.isHidden ? this.iconPack.minimize : this.iconPack.maximize, slot: "start" }), !this.meeting.self.hidden ? this.t('minimize') : this.t('maximize'))), this.canDisableParticipantAudio &&
245
+ } }, h("rtk-icon", { key: '7b9aa493842c50422b909c1c98f4d16bda594d59', icon: this.isHidden ? this.iconPack.minimize : this.iconPack.maximize, slot: "start" }), !this.meeting.self.hidden ? this.t('minimize') : this.t('maximize'))), this.canDisableParticipantAudio &&
246
246
  isActiveParticipant &&
247
- this.audioEnabled && (h("rtk-menu-item", { key: '95edf3439889a9c468acce8ef88ababef747e018', iconPack: this.iconPack, t: this.t, onClick: () => {
247
+ this.audioEnabled && (h("rtk-menu-item", { key: '956e423b33a1db73ad692362708c2db9307604e3', iconPack: this.iconPack, t: this.t, onClick: () => {
248
248
  this.participant.disableAudio();
249
- } }, h("rtk-icon", { key: '1df60ff6541717369a5c8c1fa47dcb09e2499f8d', icon: this.iconPack.mic_off, slot: "start" }), this.t('mute'))), this.canDisableParticipantVideo &&
249
+ } }, h("rtk-icon", { key: '3f0d90c3e43059ee95b5bee9b52a0e3d03f67011', icon: this.iconPack.mic_off, slot: "start" }), this.t('mute'))), this.canDisableParticipantVideo &&
250
250
  isActiveParticipant &&
251
- this.videoEnabled && (h("rtk-menu-item", { key: 'e3812a8631be2f84695b90ac80f0214a26495071', iconPack: this.iconPack, t: this.t, onClick: () => {
251
+ this.videoEnabled && (h("rtk-menu-item", { key: 'fc2f22ed04974fa40c10e730e3bb7aee2142d7a4', iconPack: this.iconPack, t: this.t, onClick: () => {
252
252
  this.participant.disableVideo();
253
- } }, h("rtk-icon", { key: '634c9c452ecd36d6c024cbb0e22a79059f4b85a6', icon: this.iconPack.video_off, slot: "start" }), this.t('participants.turn_off_video'))), this.canAllowParticipantOnStage &&
254
- ((_h = this.participant) === null || _h === void 0 ? void 0 : _h.id) !== ((_j = this.meeting) === null || _j === void 0 ? void 0 : _j.self.id) && (h("rtk-menu-item", { key: '3428e0c1d22f675bbec3a920670a26dd3c7c66e5', iconPack: this.iconPack, t: this.t, class: this.isOnStage ? 'red' : '', onClick: this.inviteToStageToggle }, h("rtk-icon", { key: '55cdf3825acd959945ce82b19fd69f36e26aa476', icon: this.isOnStage
253
+ } }, h("rtk-icon", { key: '86ee677bb056d9e665ab81fc8246b17fb89ac699', icon: this.iconPack.video_off, slot: "start" }), this.t('participants.turn_off_video'))), this.canAllowParticipantOnStage &&
254
+ ((_h = this.participant) === null || _h === void 0 ? void 0 : _h.id) !== ((_j = this.meeting) === null || _j === void 0 ? void 0 : _j.self.id) && (h("rtk-menu-item", { key: 'ca374ea886d695a5e78b75b3de9de9b9631ef19a', iconPack: this.iconPack, t: this.t, class: this.isOnStage ? 'red' : '', onClick: this.inviteToStageToggle }, h("rtk-icon", { key: '6166ff20a3fa00d28b6602a3a7e68c1a2ca008a5', icon: this.isOnStage
255
255
  ? this.iconPack.leave_stage
256
256
  : this.iconPack.join_stage, slot: "start" }), this.isOnStage
257
257
  ? this.t('stage.remove_from_stage')
258
- : this.t('stage.add_to_stage'))), !isSelf && this.canKickParticipant && (h("rtk-menu-item", { key: 'affe710adb04e305b6a46b9de2d25984d6c075d6', iconPack: this.iconPack, t: this.t, class: "red", onClick: () => {
258
+ : this.t('stage.add_to_stage'))), !isSelf && this.canKickParticipant && (h("rtk-menu-item", { key: '95818a580073c6b3244a47020cafed3bb7b97dd6', iconPack: this.iconPack, t: this.t, class: "red", onClick: () => {
259
259
  var _a, _b;
260
260
  (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.participants.kick((_b = this.participant) === null || _b === void 0 ? void 0 : _b.id);
261
- } }, h("rtk-icon", { key: 'd9c55c666231f76f00dd68ce0e2bedd92462ef89', icon: this.iconPack.dismiss, slot: "start" }), this.t('kick'))), h("slot", { key: '7017ef52152b1908e93ce539f762120425e50562' }, h(Render, { key: '28c3eacd6a4572c806748a7d09a861f000430b90', element: "rtk-participant", defaults: defaults, childProps: {
261
+ } }, h("rtk-icon", { key: '9a2511e15d604cd672d85fb7cd99deb157e96bb0', icon: this.iconPack.dismiss, slot: "start" }), this.t('kick'))), h("slot", { key: '8dad8df5005902e5af3325062ba4d81711dc8370' }, h(Render, { key: '915f440d18ae76a9330297122d6c8f22dbf629cd', element: "rtk-participant", defaults: defaults, childProps: {
262
262
  participant: this.participant,
263
263
  }, deepProps: true, onlyChildren: true })))))))))));
264
264
  }
@@ -83,11 +83,11 @@ export class RtkParticipantSetup {
83
83
  }
84
84
  render() {
85
85
  var _a, _b, _c, _d;
86
- return (h(Host, { key: 'b1470884fc7e85a79e6d6954547737690dd6923a' }, h("video", { key: 'c967c9e6716624e3a484d424fe33a50b4d9799c6', ref: (el) => (this.videoEl = el), class: {
86
+ return (h(Host, { key: '05dae6198445aaae28546dba043ce89e8fd0e796' }, h("video", { key: '1a306aa1f4ec027338400e3b40349b92184d470d', ref: (el) => (this.videoEl = el), class: {
87
87
  visible: (_a = this.videoState) === null || _a === void 0 ? void 0 : _a.videoEnabled,
88
88
  mirror: this.isMirrored(),
89
89
  [(_d = (_c = (_b = this.config) === null || _b === void 0 ? void 0 : _b.config) === null || _c === void 0 ? void 0 : _c.videoFit) !== null && _d !== void 0 ? _d : 'cover']: true,
90
- }, autoPlay: true, playsInline: true, muted: true }), h("slot", { key: 'fe319fc4aa0cc4049024e3860a8af2b2d6d5bc68' })));
90
+ }, autoPlay: true, playsInline: true, muted: true }), h("slot", { key: '69ae8a0337cd57891b99fafe677f63652a6340bc' })));
91
91
  }
92
92
  static get is() { return "rtk-participant-setup"; }
93
93
  static get encapsulation() { return "shadow"; }
@@ -126,7 +126,7 @@ export class RtkParticipantsAudio {
126
126
  await this.handleEvents(meeting);
127
127
  }
128
128
  render() {
129
- return (h(Host, { key: '6055104d2d2e54c60d42b51bcb4c296346d13a19' }, this.showPlayDialog && (h("rtk-dialog", { key: '8dce181e5c8f0f33f615bf48f1f85bd3c11efa2b', open: true, onRtkDialogClose: this.onRtkDialogClose, hideCloseButton: true, disableEscapeKey: true, iconPack: this.iconPack, t: this.t }, h("div", { key: '5be7e31e7776eecf09bcc981757d24da71ce6a43', class: "modal" }, h("h3", { key: '9e2df7d9e655102c51f841718e8e365d578e96fb' }, this.t('audio_playback.title')), h("p", { key: 'c7c406eeb93ab661cf144e69e0782cbde5588753' }, this.t('audio_playback.description')), h("rtk-button", { key: '0c5e9341edb22e32666591a0fb212aea54c61d0b', kind: "wide", onClick: () => {
129
+ return (h(Host, { key: 'e8515d8ee981ccf7d43d0ccadfd4414ac2602979' }, this.showPlayDialog && (h("rtk-dialog", { key: '75dfd57ba7927e298fb39fd7d4212e18c229d7f0', open: true, onRtkDialogClose: this.onRtkDialogClose, hideCloseButton: true, disableEscapeKey: true, iconPack: this.iconPack, t: this.t }, h("div", { key: '1749ed436d4c241a391bbe24ae58cf3644105f7f', class: "modal" }, h("h3", { key: '7352013c7e81212fb4667cd97d4f77930fdf943c' }, this.t('audio_playback.title')), h("p", { key: '56134c9034b5620aabac1567207a2e0c3b051981' }, this.t('audio_playback.description')), h("rtk-button", { key: '485007a99d8bada88f5a768b15d5a1077ea4b073', kind: "wide", onClick: () => {
130
130
  this.audio.play();
131
131
  this.onRtkDialogClose();
132
132
  }, title: this.t('audio_playback') }, this.t('audio_playback')))))));
@@ -105,7 +105,7 @@ export class RtkParticipants {
105
105
  }
106
106
  }
107
107
  render() {
108
- return (h(Host, { key: 'd799034511ea2f1b1125e0a5ba4ea52add1ac748' }, h("div", { key: 'e46415181eaa216bc46470ebbce23f4dfe3b96b8', class: "participants-container" }, !this.hideHeader && (h("div", { key: '83a22247b44cfd8a7bee2c89fdd199310d2cc008', class: "heading-count", part: "heading-count" }, this.t('participants'), " (", this.participants.length, ")")), h("rtk-virtualized-participant-list", { key: '64876afecf04945ed6ab8f567dd19298add079e9', items: this.participants, renderItem: this.createParticipantNode, part: "participants", class: "participants", emptyListElement: h("div", { class: "empty-stage-list" }, this.search.length > 0 ? this.t('search.could_not_find') : this.t('search.empty')) }))));
108
+ return (h(Host, { key: 'a3f02d560188be38be3e7d0e7c480fc215a6eb67' }, h("div", { key: '933821b69d57aa5d71e0866486c3d7dd4ca5c28d', class: "participants-container" }, !this.hideHeader && (h("div", { key: '1c9f7a6d59331e3bb849a341add9d1f492fbe9bc', class: "heading-count", part: "heading-count" }, this.t('participants'), " (", this.participants.length, ")")), h("rtk-virtualized-participant-list", { key: '9f3f31b89e3bdfa7ebf7e09518b1ddd0861fdfdd', items: this.participants, renderItem: this.createParticipantNode, part: "participants", class: "participants", emptyListElement: h("div", { class: "empty-stage-list" }, this.search.length > 0 ? this.t('search.could_not_find') : this.t('search.empty')) }))));
109
109
  }
110
110
  static get is() { return "rtk-participants-stage-list"; }
111
111
  static get encapsulation() { return "shadow"; }