@cloudflare/realtimekit-ui 1.1.0-staging.9 → 1.1.1-staging.1

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 (781) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{ChatHead-e13f3b0e.js → ChatHead-777e6a2d.js} +1 -1
  3. package/dist/cjs/{TextMessage-1dc6f8b9.js → TextMessage-b9322340.js} +2 -2
  4. package/dist/cjs/{chat-2ae6f058.js → chat-f1a9fd6e.js} +1 -16
  5. package/dist/cjs/{config-0a88d50b.js → config-86164f93.js} +2 -2
  6. package/dist/cjs/{debounce-b06b27ca.js → debounce-267777c1.js} +1 -1
  7. package/dist/cjs/index-2e5758b6.js +4403 -0
  8. package/dist/cjs/{index-821d14b7.js → index-6f8c1928.js} +1 -1
  9. package/dist/cjs/{index-e4244d7d.js → index-92947ea7.js} +2 -2
  10. package/dist/cjs/index.cjs.js +6 -6
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/{merge-c46cfa17.js → merge-bb096d88.js} +1 -1
  13. package/dist/cjs/{notification-f3750b61.js → notification-ef397c71.js} +1 -1
  14. package/dist/cjs/realtimekit-ui.cjs.js +30 -3
  15. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +3 -3
  16. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +5 -5
  17. package/dist/cjs/rtk-ai.cjs.entry.js +3 -3
  18. package/dist/cjs/rtk-audio-grid.cjs.entry.js +5 -5
  19. package/dist/cjs/rtk-audio-tile.cjs.entry.js +3 -3
  20. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +4 -4
  21. package/dist/cjs/{rtk-avatar_24.cjs.entry.js → rtk-avatar_26.cjs.entry.js} +661 -605
  22. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +8 -8
  23. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +13 -13
  24. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +3 -3
  25. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +4 -4
  26. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +3 -3
  27. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +11 -25
  29. package/dist/cjs/rtk-chat-message.cjs.entry.js +6 -6
  30. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +13 -7
  31. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +4 -4
  32. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +4 -4
  33. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +10 -13
  34. package/dist/cjs/rtk-clock.cjs.entry.js +6 -6
  35. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +4 -4
  36. package/dist/cjs/rtk-controlbar.cjs.entry.js +5 -5
  37. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +3 -3
  38. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +4 -4
  39. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +4 -4
  40. package/dist/cjs/rtk-dialog.cjs.entry.js +4 -4
  41. package/dist/cjs/rtk-ended-screen.cjs.entry.js +3 -3
  42. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +4 -4
  43. package/dist/cjs/rtk-file-message_3.cjs.entry.js +14 -14
  44. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +3 -3
  45. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +4 -4
  46. package/dist/cjs/rtk-grid.cjs.entry.js +4 -4
  47. package/dist/cjs/rtk-header.cjs.entry.js +5 -5
  48. package/dist/cjs/rtk-idle-screen.cjs.entry.js +46 -5
  49. package/dist/cjs/rtk-image-viewer.cjs.entry.js +4 -4
  50. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +4 -4
  51. package/dist/cjs/rtk-leave-button.cjs.entry.js +4 -4
  52. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2477 -1450
  53. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +3 -3
  54. package/dist/cjs/rtk-logo.cjs.entry.js +3 -3
  55. package/dist/cjs/rtk-meeting-title.cjs.entry.js +3 -3
  56. package/dist/cjs/rtk-message-list-view.cjs.entry.js +7 -7
  57. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +3 -3
  58. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +4 -4
  59. package/dist/cjs/rtk-more-toggle.cjs.entry.js +5 -5
  60. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +3 -3
  61. package/dist/cjs/rtk-name-tag.cjs.entry.js +4 -4
  62. package/dist/cjs/rtk-network-indicator.cjs.entry.js +3 -3
  63. package/dist/cjs/rtk-notification.cjs.entry.js +7 -7
  64. package/dist/cjs/rtk-notifications.cjs.entry.js +5 -5
  65. package/dist/cjs/rtk-participant-count.cjs.entry.js +3 -3
  66. package/dist/cjs/rtk-participant-setup.cjs.entry.js +5 -5
  67. package/dist/cjs/rtk-participant_2.cjs.entry.js +19 -19
  68. package/dist/cjs/rtk-participants-audio.cjs.entry.js +4 -4
  69. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +5 -5
  70. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +4 -4
  71. package/dist/cjs/rtk-participants.cjs.entry.js +4 -4
  72. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +3 -3
  73. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +4 -4
  74. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +4 -4
  75. package/dist/cjs/rtk-plugins_2.cjs.entry.js +7 -7
  76. package/dist/cjs/rtk-poll_2.cjs.entry.js +6 -6
  77. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +4 -4
  78. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +4 -4
  79. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +3 -3
  80. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +3 -3
  81. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +8 -8
  82. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +3 -3
  83. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +4 -4
  84. package/dist/cjs/rtk-settings.cjs.entry.js +3 -3
  85. package/dist/cjs/rtk-setup-screen.cjs.entry.js +26 -8
  86. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +5 -5
  87. package/dist/cjs/rtk-sidebar.cjs.entry.js +5 -5
  88. package/dist/cjs/rtk-simple-grid.cjs.entry.js +4 -4
  89. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +6 -6
  90. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +3 -3
  91. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +3 -3
  92. package/dist/cjs/rtk-stage.cjs.entry.js +4 -4
  93. package/dist/cjs/rtk-transcript.cjs.entry.js +4 -4
  94. package/dist/cjs/rtk-transcripts.cjs.entry.js +3 -3
  95. package/dist/cjs/rtk-ui-provider.cjs.entry.js +3 -3
  96. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +4 -4
  97. package/dist/cjs/{sidebar-0eb1e4ef.js → sidebar-7df66d80.js} +1 -1
  98. package/dist/cjs/{ui-store-6c2d680f.js → ui-store-d0e80f30.js} +113 -34
  99. package/dist/collection/collection-manifest.json +4 -6
  100. package/dist/collection/components/rtk-ai/rtk-ai.js +9 -3
  101. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +3 -3
  102. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +3 -3
  103. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +4 -4
  104. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +4 -4
  105. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +3 -3
  106. package/dist/collection/components/rtk-avatar/rtk-avatar.js +4 -4
  107. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +3 -3
  108. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +5 -5
  109. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +4 -4
  110. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +4 -4
  111. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +11 -5
  112. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +3 -3
  113. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +3 -3
  114. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +3 -3
  115. package/dist/collection/components/rtk-chat/rtk-chat.css +4 -37
  116. package/dist/collection/components/rtk-chat/rtk-chat.js +63 -388
  117. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +16 -51
  118. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +30 -17
  119. package/dist/collection/components/{rtk-channel-details/rtk-channel-details.css → rtk-chat-header/rtk-chat-header.css} +28 -46
  120. package/dist/collection/components/rtk-chat-header/rtk-chat-header.js +32 -0
  121. package/dist/collection/components/rtk-chat-message/rtk-chat-message.css +0 -2
  122. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +9 -9
  123. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.css +0 -2
  124. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +6 -6
  125. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +92 -97
  126. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +4 -4
  127. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.css +141 -0
  128. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +445 -0
  129. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +2 -2
  130. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +9 -12
  131. package/dist/collection/components/rtk-clock/rtk-clock.js +5 -5
  132. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +4 -4
  133. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +4 -4
  134. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +2 -2
  135. package/dist/collection/components/rtk-counter/rtk-counter.css +0 -2
  136. package/dist/collection/components/rtk-counter/rtk-counter.js +4 -4
  137. package/dist/collection/components/rtk-debugger/rtk-debugger.js +3 -3
  138. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +3 -3
  139. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +3 -3
  140. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +3 -3
  141. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +4 -4
  142. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +3 -3
  143. package/dist/collection/components/rtk-dialog/rtk-dialog.css +1 -2
  144. package/dist/collection/components/rtk-dialog/rtk-dialog.js +3 -3
  145. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +3 -3
  146. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +3 -3
  147. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.css +0 -2
  148. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +3 -3
  149. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +3 -3
  150. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +3 -3
  151. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +3 -3
  152. package/dist/collection/components/rtk-file-message/rtk-file-message.js +5 -5
  153. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +2 -2
  154. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +4 -4
  155. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +2 -2
  156. package/dist/collection/components/rtk-grid/rtk-grid.js +3 -3
  157. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +0 -2
  158. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +3 -3
  159. package/dist/collection/components/rtk-header/rtk-header.js +4 -4
  160. package/dist/collection/components/rtk-icon/rtk-icon.js +1 -1
  161. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.css +22 -0
  162. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +79 -4
  163. package/dist/collection/components/rtk-image-message/rtk-image-message.js +7 -7
  164. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +5 -5
  165. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +4 -4
  166. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -2
  167. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +4 -4
  168. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +3 -3
  169. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +5 -5
  170. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +3 -3
  171. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +3 -3
  172. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +9 -3
  173. package/dist/collection/components/rtk-logo/rtk-logo.js +2 -2
  174. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.css +6 -0
  175. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  176. package/dist/collection/components/rtk-meeting/rtk-meeting.js +13 -5
  177. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +3 -3
  178. package/dist/collection/components/rtk-menu/rtk-menu.js +4 -4
  179. package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +1 -1
  180. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +3 -3
  181. package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +3 -3
  182. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +3 -3
  183. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +4 -4
  184. package/dist/collection/components/rtk-message-view/rtk-message-view.css +18 -1
  185. package/dist/collection/components/rtk-message-view/rtk-message-view.js +51 -3
  186. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +3 -3
  187. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +3 -3
  188. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +5 -5
  189. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +4 -4
  190. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +3 -3
  191. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +4 -4
  192. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +5 -5
  193. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +4 -4
  194. package/dist/collection/components/rtk-notification/rtk-notification.js +4 -4
  195. package/dist/collection/components/rtk-notifications/rtk-notifications.js +3 -3
  196. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +4 -4
  197. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +104 -2
  198. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +104 -51
  199. package/dist/collection/components/rtk-participant/rtk-participant.js +16 -16
  200. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +3 -3
  201. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +5 -5
  202. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +5 -5
  203. package/dist/collection/components/rtk-participants/rtk-participants.js +3 -3
  204. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +4 -4
  205. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +4 -4
  206. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +9 -3
  207. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +3 -3
  208. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +3 -3
  209. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +3 -3
  210. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +4 -4
  211. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.css +107 -0
  212. package/dist/collection/components/{rtk-channel-header/rtk-channel-header.js → rtk-pinned-message-selector/rtk-pinned-message-selector.js} +181 -118
  213. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +9 -3
  214. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +5 -5
  215. package/dist/collection/components/rtk-plugins/rtk-plugins.js +4 -4
  216. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +3 -3
  217. package/dist/collection/components/rtk-poll/rtk-poll.js +5 -5
  218. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +4 -4
  219. package/dist/collection/components/rtk-polls/rtk-polls.js +6 -6
  220. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +3 -3
  221. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +4 -4
  222. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +3 -3
  223. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +3 -3
  224. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +9 -9
  225. package/dist/collection/components/rtk-settings/rtk-settings.js +3 -3
  226. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +3 -3
  227. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +3 -3
  228. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +3 -3
  229. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +0 -2
  230. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +25 -6
  231. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +3 -3
  232. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +11 -5
  233. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +3 -3
  234. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +3 -3
  235. package/dist/collection/components/rtk-spinner/rtk-spinner.js +2 -2
  236. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +5 -5
  237. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +3 -3
  238. package/dist/collection/components/rtk-stage/rtk-stage.js +3 -3
  239. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +3 -3
  240. package/dist/collection/components/rtk-switch/rtk-switch.js +3 -3
  241. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +4 -4
  242. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +3 -3
  243. package/dist/collection/components/rtk-text-message/rtk-text-message.js +5 -5
  244. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  245. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  246. package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
  247. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +2 -2
  248. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +3 -3
  249. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +3 -3
  250. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  251. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +4 -4
  252. package/dist/collection/lib/icons/default-icon-pack.js +0 -2
  253. package/dist/collection/lib/lang/default-language.js +2 -5
  254. package/dist/collection/lib/overrides.js +1 -0
  255. package/dist/collection/utils/chat.js +0 -4
  256. package/dist/collection/utils/flags.js +0 -2
  257. package/dist/components/index.js +8 -8
  258. package/dist/components/{p-39e8b34a.js → p-00551379.js} +4 -4
  259. package/dist/components/{p-bb4983b8.js → p-06de876f.js} +7 -7
  260. package/dist/components/{p-4902c5cf.js → p-08698341.js} +5 -5
  261. package/dist/components/{p-5476e3f3.js → p-0d76966c.js} +6 -6
  262. package/dist/components/{p-dab9d3d6.js → p-0db812c2.js} +1 -12
  263. package/dist/components/{p-00bb4abb.js → p-0f065bee.js} +11 -11
  264. package/dist/components/{p-7148ec6a.js → p-0f39e8ae.js} +5 -5
  265. package/dist/components/{p-7f489600.js → p-1099c0fe.js} +5 -5
  266. package/dist/components/{p-107e55c1.js → p-1186c3c8.js} +5 -5
  267. package/dist/components/{p-eeb37b16.js → p-12b59b72.js} +5 -5
  268. package/dist/components/{p-fb836f65.js → p-15156a2c.js} +2 -2
  269. package/dist/components/{p-761c0e78.js → p-154bed23.js} +6 -6
  270. package/dist/components/{p-c05530c8.js → p-1b26fbf7.js} +3 -3
  271. package/dist/components/{p-e0510925.js → p-1cbbf87d.js} +7 -7
  272. package/dist/components/{p-dc3143c0.js → p-1fd0aeb8.js} +3 -3
  273. package/dist/components/{p-294cda89.js → p-2281c2c4.js} +8 -8
  274. package/dist/components/{p-ad873f2d.js → p-2305aa2d.js} +1 -1
  275. package/dist/components/{p-6f8d2043.js → p-2690645d.js} +3 -3
  276. package/dist/components/{p-616ae7ab.js → p-2976fcb0.js} +8 -8
  277. package/dist/components/{p-8cfdac0d.js → p-2c66d025.js} +9 -9
  278. package/dist/components/{p-fa476519.js → p-2f56d366.js} +11 -11
  279. package/dist/components/{p-598dc3f2.js → p-3577385a.js} +8 -8
  280. package/dist/components/{p-241a8245.js → p-38ba07d0.js} +6 -6
  281. package/dist/components/{p-6101a21c.js → p-401ce922.js} +5 -5
  282. package/dist/components/{p-2090b03d.js → p-41bf1c3d.js} +5 -5
  283. package/dist/components/{p-46d99dd9.js → p-41d43013.js} +7 -7
  284. package/dist/components/{p-4e5a54c2.js → p-4870263f.js} +16 -16
  285. package/dist/components/p-4a8d69ae.js +437 -0
  286. package/dist/components/{p-a8a6496d.js → p-4b7af749.js} +9 -9
  287. package/dist/components/{p-45220ce9.js → p-512c4515.js} +7 -7
  288. package/dist/components/{p-c0db1a83.js → p-526870e9.js} +82 -59
  289. package/dist/components/p-528cc24e.js +260 -0
  290. package/dist/components/{p-da87cc71.js → p-583f9282.js} +1 -1
  291. package/dist/components/p-5c4de4b9.js +86 -0
  292. package/dist/components/{p-8d6b21d5.js → p-5cce54f2.js} +8 -8
  293. package/dist/components/{p-cf8f725b.js → p-61dcdd44.js} +4 -4
  294. package/dist/components/p-6857797f.js +218 -0
  295. package/dist/components/{p-d765dbe4.js → p-6c0eb5d7.js} +11 -11
  296. package/dist/components/{p-95e08256.js → p-6e373d96.js} +4 -4
  297. package/dist/components/{p-aae4c250.js → p-707dced6.js} +2 -2
  298. package/dist/components/{p-b30d5f6b.js → p-71fb663b.js} +4 -4
  299. package/dist/components/{p-c334f0e5.js → p-7210157d.js} +8 -8
  300. package/dist/components/{p-35e93724.js → p-73db39b8.js} +2 -2
  301. package/dist/components/{p-193d8051.js → p-76c443b7.js} +3 -3
  302. package/dist/components/{p-6739a399.js → p-8123217e.js} +3 -3
  303. package/dist/components/{p-fb900e8f.js → p-81658a62.js} +6 -6
  304. package/dist/components/{p-02b840f8.js → p-81f479e2.js} +8 -8
  305. package/dist/components/p-8a0106ed.js +463 -0
  306. package/dist/components/{p-05df465d.js → p-8cea6257.js} +1 -1
  307. package/dist/components/{p-695f0784.js → p-95a1fa70.js} +5 -5
  308. package/dist/components/{p-a51db0d6.js → p-9bf3a2cd.js} +22 -22
  309. package/dist/components/{p-4ebf9684.js → p-9cf41ab1.js} +5 -5
  310. package/dist/components/{p-0e5cc539.js → p-9e1478a0.js} +7 -7
  311. package/dist/components/{p-da9018ea.js → p-a101bff7.js} +11 -11
  312. package/dist/components/{p-0f2de0f8.js → p-a339a693.js} +18 -12
  313. package/dist/components/{p-3b29dda1.js → p-a3cc7425.js} +2 -2
  314. package/dist/components/{p-89025409.js → p-a6c17b0d.js} +2482 -1455
  315. package/dist/components/{p-4b319158.js → p-a74caccd.js} +4 -4
  316. package/dist/components/{p-2309fb19.js → p-ad179bea.js} +5 -5
  317. package/dist/components/{p-819cb785.js → p-b1723439.js} +5 -5
  318. package/dist/components/{p-1a9e3806.js → p-b2d5329f.js} +5 -5
  319. package/dist/components/{p-3e58e0f3.js → p-bcff8acc.js} +4 -4
  320. package/dist/components/{p-6c9a833e.js → p-bfc86230.js} +4 -4
  321. package/dist/components/{p-a54b82e9.js → p-c0790538.js} +1 -1
  322. package/dist/components/{p-1a8b46bb.js → p-c0ad28ff.js} +9 -9
  323. package/dist/components/{p-4aede34c.js → p-c0de7320.js} +5 -5
  324. package/dist/components/{p-6ec01673.js → p-c6c4c24e.js} +4 -4
  325. package/dist/components/{p-540d8eb9.js → p-cb053923.js} +6 -6
  326. package/dist/components/{p-af3b99f4.js → p-cd6656bf.js} +8 -8
  327. package/dist/components/{p-a25f3aca.js → p-d0b9b4a1.js} +6 -6
  328. package/dist/components/{p-5669b6e7.js → p-d0eb78a2.js} +9 -9
  329. package/dist/components/{p-43d6a221.js → p-d22fc130.js} +8 -8
  330. package/dist/components/{p-4b375dfa.js → p-d6024528.js} +4 -4
  331. package/dist/components/{p-2447a26f.js → p-d70fbc37.js} +5 -5
  332. package/dist/components/{p-2a65883d.js → p-da13b457.js} +6 -6
  333. package/dist/components/{p-0a31ef52.js → p-dacaa250.js} +3 -3
  334. package/dist/components/{p-1f5a4682.js → p-e0ef3893.js} +7 -7
  335. package/dist/components/{p-1391bef0.js → p-e229128b.js} +1 -1
  336. package/dist/components/{p-6f7c46d2.js → p-e334e15c.js} +2 -2
  337. package/dist/components/{p-fef53de3.js → p-ecbb4e46.js} +7 -7
  338. package/dist/components/{p-84b30573.js → p-eff3c856.js} +6 -6
  339. package/dist/components/{p-e847fee9.js → p-f19b4abc.js} +114 -35
  340. package/dist/components/{p-7834fd55.js → p-f1fa3b2a.js} +7 -7
  341. package/dist/components/{p-60fdbd75.js → p-f3c261ec.js} +1 -1
  342. package/dist/components/{p-0b2b3442.js → p-f4bd3f50.js} +7 -7
  343. package/dist/components/{p-48acb953.js → p-f517e595.js} +6 -6
  344. package/dist/components/{p-89eb65a9.js → p-fa8cf270.js} +3 -3
  345. package/dist/components/{p-28170a8d.js → p-fb5a823a.js} +24 -30
  346. package/dist/components/p-fdad14c9.js +4028 -0
  347. package/dist/components/rtk-ai-toggle.js +6 -6
  348. package/dist/components/rtk-ai-transcriptions.js +1 -1
  349. package/dist/components/rtk-ai.js +6 -6
  350. package/dist/components/rtk-audio-grid.js +5 -5
  351. package/dist/components/rtk-audio-tile.js +7 -7
  352. package/dist/components/rtk-audio-visualizer.js +1 -1
  353. package/dist/components/rtk-avatar.js +1 -1
  354. package/dist/components/rtk-breakout-room-manager.js +1 -1
  355. package/dist/components/rtk-breakout-room-participants.js +1 -1
  356. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  357. package/dist/components/rtk-breakout-rooms-toggle.js +6 -6
  358. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  359. package/dist/components/rtk-button.js +1 -1
  360. package/dist/components/rtk-camera-selector.js +1 -1
  361. package/dist/components/rtk-camera-toggle.js +7 -7
  362. package/dist/components/rtk-caption-toggle.js +6 -6
  363. package/dist/components/rtk-chat-composer-ui.js +17 -34
  364. package/dist/components/rtk-chat-composer-view.js +1 -1
  365. package/dist/components/{rtk-channel-header.d.ts → rtk-chat-header.d.ts} +4 -4
  366. package/dist/components/rtk-chat-header.js +6 -0
  367. package/dist/components/rtk-chat-message.js +1 -1
  368. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  369. package/dist/components/rtk-chat-messages-ui.js +26 -20
  370. package/dist/components/rtk-chat-search-results.js +16 -16
  371. package/dist/components/rtk-chat-selector-ui.js +5 -5
  372. package/dist/components/{rtk-channel-creator.d.ts → rtk-chat-selector.d.ts} +4 -4
  373. package/dist/components/rtk-chat-selector.js +6 -0
  374. package/dist/components/rtk-chat-toggle.js +13 -16
  375. package/dist/components/rtk-chat.js +1 -1
  376. package/dist/components/rtk-clock.js +7 -7
  377. package/dist/components/rtk-confirmation-modal.js +1 -1
  378. package/dist/components/rtk-controlbar-button.js +1 -1
  379. package/dist/components/rtk-controlbar.js +5 -5
  380. package/dist/components/rtk-counter.js +1 -1
  381. package/dist/components/rtk-debugger-audio.js +1 -1
  382. package/dist/components/rtk-debugger-screenshare.js +1 -1
  383. package/dist/components/rtk-debugger-system.js +1 -1
  384. package/dist/components/rtk-debugger-toggle.js +7 -7
  385. package/dist/components/rtk-debugger-video.js +1 -1
  386. package/dist/components/rtk-debugger.js +1 -1
  387. package/dist/components/rtk-dialog-manager.js +26 -26
  388. package/dist/components/rtk-dialog.js +1 -1
  389. package/dist/components/rtk-draft-attachment-view.js +1 -1
  390. package/dist/components/rtk-emoji-picker-button.js +1 -1
  391. package/dist/components/rtk-emoji-picker.js +1 -1
  392. package/dist/components/rtk-ended-screen.js +5 -5
  393. package/dist/components/rtk-file-dropzone.js +5 -5
  394. package/dist/components/rtk-file-message-view.js +1 -1
  395. package/dist/components/rtk-file-message.js +1 -1
  396. package/dist/components/rtk-file-picker-button.js +1 -1
  397. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  398. package/dist/components/rtk-grid-pagination.js +7 -7
  399. package/dist/components/rtk-grid.js +12 -12
  400. package/dist/components/rtk-header.js +5 -5
  401. package/dist/components/rtk-icon.js +1 -1
  402. package/dist/components/rtk-idle-screen.js +56 -9
  403. package/dist/components/rtk-image-message-view.js +1 -1
  404. package/dist/components/rtk-image-message.js +1 -1
  405. package/dist/components/rtk-image-viewer.js +6 -6
  406. package/dist/components/rtk-information-tooltip.js +5 -5
  407. package/dist/components/rtk-join-stage.js +1 -1
  408. package/dist/components/rtk-leave-button.js +7 -7
  409. package/dist/components/rtk-leave-meeting.js +1 -1
  410. package/dist/components/rtk-livestream-indicator.js +1 -1
  411. package/dist/components/rtk-livestream-player.js +1 -1
  412. package/dist/components/rtk-livestream-toggle.js +6 -6
  413. package/dist/components/rtk-logo.js +1 -1
  414. package/dist/components/rtk-markdown-view.js +1 -1
  415. package/dist/components/rtk-meeting-title.js +4 -4
  416. package/dist/components/rtk-meeting.js +69 -49
  417. package/dist/components/rtk-menu-item.js +1 -1
  418. package/dist/components/rtk-menu-list.js +1 -1
  419. package/dist/components/rtk-menu.js +1 -1
  420. package/dist/components/rtk-message-list-view.js +8 -8
  421. package/dist/components/rtk-message-view.js +1 -1
  422. package/dist/components/rtk-mic-toggle.js +7 -7
  423. package/dist/components/rtk-microphone-selector.js +1 -1
  424. package/dist/components/rtk-mixed-grid.js +10 -10
  425. package/dist/components/rtk-more-toggle.js +8 -8
  426. package/dist/components/rtk-mute-all-button.js +7 -7
  427. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  428. package/dist/components/rtk-name-tag.js +1 -1
  429. package/dist/components/rtk-network-indicator.js +4 -4
  430. package/dist/components/rtk-notification.js +1 -1
  431. package/dist/components/rtk-notifications.js +8 -8
  432. package/dist/components/rtk-overlay-modal.js +1 -1
  433. package/dist/components/rtk-paginated-list.js +1 -1
  434. package/dist/components/rtk-participant-count.js +4 -4
  435. package/dist/components/rtk-participant-setup.js +5 -5
  436. package/dist/components/rtk-participant-tile.js +1 -1
  437. package/dist/components/rtk-participant.js +1 -1
  438. package/dist/components/rtk-participants-audio.js +7 -7
  439. package/dist/components/rtk-participants-stage-list.js +1 -1
  440. package/dist/components/rtk-participants-stage-queue.js +1 -1
  441. package/dist/components/rtk-participants-toggle.js +7 -7
  442. package/dist/components/rtk-participants-viewer-list.js +1 -1
  443. package/dist/components/rtk-participants-waiting-list.js +1 -1
  444. package/dist/components/rtk-participants.js +17 -17
  445. package/dist/components/rtk-permissions-message.js +1 -1
  446. package/dist/components/rtk-pinned-message-selector.d.ts +11 -0
  447. package/dist/components/rtk-pinned-message-selector.js +6 -0
  448. package/dist/components/rtk-pip-toggle.js +6 -6
  449. package/dist/components/rtk-plugin-main.js +1 -1
  450. package/dist/components/rtk-plugins-toggle.js +7 -7
  451. package/dist/components/rtk-plugins.js +1 -1
  452. package/dist/components/rtk-poll-form.js +1 -1
  453. package/dist/components/rtk-poll.js +1 -1
  454. package/dist/components/rtk-polls-toggle.js +7 -7
  455. package/dist/components/rtk-polls.js +1 -1
  456. package/dist/components/rtk-recording-indicator.js +5 -5
  457. package/dist/components/rtk-recording-toggle.js +6 -6
  458. package/dist/components/rtk-screen-share-toggle.js +7 -7
  459. package/dist/components/rtk-screenshare-view.js +11 -11
  460. package/dist/components/rtk-settings-audio.js +1 -1
  461. package/dist/components/rtk-settings-toggle.js +7 -7
  462. package/dist/components/rtk-settings-video.js +1 -1
  463. package/dist/components/rtk-settings.js +13 -13
  464. package/dist/components/rtk-setup-screen.js +33 -14
  465. package/dist/components/rtk-sidebar-ui.js +1 -1
  466. package/dist/components/rtk-sidebar.js +13 -13
  467. package/dist/components/rtk-simple-grid.js +4 -4
  468. package/dist/components/rtk-speaker-selector.js +1 -1
  469. package/dist/components/rtk-spinner.js +1 -1
  470. package/dist/components/rtk-spotlight-grid.js +6 -6
  471. package/dist/components/rtk-spotlight-indicator.js +1 -1
  472. package/dist/components/rtk-stage-toggle.js +7 -7
  473. package/dist/components/rtk-stage.js +4 -4
  474. package/dist/components/rtk-switch.js +1 -1
  475. package/dist/components/rtk-tab-bar.js +1 -1
  476. package/dist/components/rtk-text-composer-view.js +1 -1
  477. package/dist/components/rtk-text-message-view.js +1 -1
  478. package/dist/components/rtk-text-message.js +1 -1
  479. package/dist/components/rtk-tooltip.js +1 -1
  480. package/dist/components/rtk-transcript.js +1 -1
  481. package/dist/components/rtk-transcripts.js +4 -4
  482. package/dist/components/rtk-ui-provider.js +3 -3
  483. package/dist/components/rtk-viewer-count.js +1 -1
  484. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  485. package/dist/components/rtk-waiting-screen.js +5 -5
  486. package/dist/docs/docs-components.json +11101 -18241
  487. package/dist/docs/docs-vscode.json +64 -114
  488. package/dist/esm/{ChatHead-15c2f8d4.js → ChatHead-148558a8.js} +1 -1
  489. package/dist/esm/{TextMessage-0d8be8c5.js → TextMessage-cdf76ced.js} +2 -2
  490. package/dist/esm/{chat-b2bea75f.js → chat-12f27725.js} +2 -13
  491. package/dist/esm/{config-325caca3.js → config-74c02ff0.js} +2 -2
  492. package/dist/esm/{debounce-3139f9e3.js → debounce-0c6e63e9.js} +1 -1
  493. package/dist/esm/{index-d31a2e33.js → index-3f51790f.js} +1 -1
  494. package/dist/esm/index-55463a54.js +4365 -0
  495. package/dist/esm/{index-6eb882e7.js → index-e677f28b.js} +2 -2
  496. package/dist/esm/index.js +8 -8
  497. package/dist/esm/loader.js +6551 -3612
  498. package/dist/esm/{merge-bc2a0775.js → merge-df16b7d2.js} +1 -1
  499. package/dist/esm/{notification-4beb1e0d.js → notification-dd8b1d52.js} +1 -1
  500. package/dist/esm/realtimekit-ui.js +31 -4
  501. package/dist/esm/rtk-ai-toggle.entry.js +3 -3
  502. package/dist/esm/rtk-ai-transcriptions.entry.js +5 -5
  503. package/dist/esm/rtk-ai.entry.js +3 -3
  504. package/dist/esm/rtk-audio-grid.entry.js +5 -5
  505. package/dist/esm/rtk-audio-tile.entry.js +3 -3
  506. package/dist/esm/rtk-audio-visualizer_4.entry.js +4 -4
  507. package/dist/esm/{rtk-avatar_24.entry.js → rtk-avatar_26.entry.js} +659 -605
  508. package/dist/esm/rtk-breakout-room-manager_3.entry.js +8 -8
  509. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +13 -13
  510. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +3 -3
  511. package/dist/esm/rtk-camera-selector_2.entry.js +4 -4
  512. package/dist/esm/rtk-camera-toggle.entry.js +3 -3
  513. package/dist/esm/rtk-caption-toggle.entry.js +3 -3
  514. package/dist/esm/rtk-chat-composer-ui.entry.js +11 -25
  515. package/dist/esm/rtk-chat-message.entry.js +6 -6
  516. package/dist/esm/rtk-chat-messages-ui.entry.js +13 -7
  517. package/dist/esm/rtk-chat-search-results.entry.js +4 -4
  518. package/dist/esm/rtk-chat-selector-ui.entry.js +4 -4
  519. package/dist/esm/rtk-chat-toggle.entry.js +10 -13
  520. package/dist/esm/rtk-clock.entry.js +6 -6
  521. package/dist/esm/rtk-controlbar-button.entry.js +4 -4
  522. package/dist/esm/rtk-controlbar.entry.js +5 -5
  523. package/dist/esm/rtk-debugger-audio_4.entry.js +3 -3
  524. package/dist/esm/rtk-debugger-toggle.entry.js +4 -4
  525. package/dist/esm/rtk-dialog-manager.entry.js +4 -4
  526. package/dist/esm/rtk-dialog.entry.js +4 -4
  527. package/dist/esm/rtk-ended-screen.entry.js +3 -3
  528. package/dist/esm/rtk-file-dropzone.entry.js +4 -4
  529. package/dist/esm/rtk-file-message_3.entry.js +14 -14
  530. package/dist/esm/rtk-fullscreen-toggle.entry.js +3 -3
  531. package/dist/esm/rtk-grid-pagination.entry.js +4 -4
  532. package/dist/esm/rtk-grid.entry.js +4 -4
  533. package/dist/esm/rtk-header.entry.js +5 -5
  534. package/dist/esm/rtk-idle-screen.entry.js +46 -5
  535. package/dist/esm/rtk-image-viewer.entry.js +4 -4
  536. package/dist/esm/rtk-information-tooltip.entry.js +4 -4
  537. package/dist/esm/rtk-leave-button.entry.js +4 -4
  538. package/dist/esm/rtk-livestream-indicator_3.entry.js +2477 -1450
  539. package/dist/esm/rtk-livestream-toggle.entry.js +3 -3
  540. package/dist/esm/rtk-logo.entry.js +3 -3
  541. package/dist/esm/rtk-meeting-title.entry.js +3 -3
  542. package/dist/esm/rtk-message-list-view.entry.js +7 -7
  543. package/dist/esm/rtk-mic-toggle.entry.js +3 -3
  544. package/dist/esm/rtk-mixed-grid.entry.js +4 -4
  545. package/dist/esm/rtk-more-toggle.entry.js +5 -5
  546. package/dist/esm/rtk-mute-all-button.entry.js +3 -3
  547. package/dist/esm/rtk-name-tag.entry.js +4 -4
  548. package/dist/esm/rtk-network-indicator.entry.js +3 -3
  549. package/dist/esm/rtk-notification.entry.js +7 -7
  550. package/dist/esm/rtk-notifications.entry.js +5 -5
  551. package/dist/esm/rtk-participant-count.entry.js +3 -3
  552. package/dist/esm/rtk-participant-setup.entry.js +5 -5
  553. package/dist/esm/rtk-participant_2.entry.js +19 -19
  554. package/dist/esm/rtk-participants-audio.entry.js +4 -4
  555. package/dist/esm/rtk-participants-stage-list_4.entry.js +5 -5
  556. package/dist/esm/rtk-participants-toggle.entry.js +4 -4
  557. package/dist/esm/rtk-participants.entry.js +4 -4
  558. package/dist/esm/rtk-pip-toggle.entry.js +3 -3
  559. package/dist/esm/rtk-plugin-main_2.entry.js +4 -4
  560. package/dist/esm/rtk-plugins-toggle.entry.js +4 -4
  561. package/dist/esm/rtk-plugins_2.entry.js +7 -7
  562. package/dist/esm/rtk-poll_2.entry.js +6 -6
  563. package/dist/esm/rtk-polls-toggle.entry.js +4 -4
  564. package/dist/esm/rtk-recording-indicator.entry.js +4 -4
  565. package/dist/esm/rtk-recording-toggle.entry.js +3 -3
  566. package/dist/esm/rtk-screen-share-toggle.entry.js +3 -3
  567. package/dist/esm/rtk-screenshare-view.entry.js +8 -8
  568. package/dist/esm/rtk-settings-audio_2.entry.js +3 -3
  569. package/dist/esm/rtk-settings-toggle.entry.js +4 -4
  570. package/dist/esm/rtk-settings.entry.js +3 -3
  571. package/dist/esm/rtk-setup-screen.entry.js +26 -8
  572. package/dist/esm/rtk-sidebar-ui.entry.js +5 -5
  573. package/dist/esm/rtk-sidebar.entry.js +5 -5
  574. package/dist/esm/rtk-simple-grid.entry.js +4 -4
  575. package/dist/esm/rtk-spotlight-grid.entry.js +6 -6
  576. package/dist/esm/rtk-spotlight-indicator.entry.js +3 -3
  577. package/dist/esm/rtk-stage-toggle.entry.js +3 -3
  578. package/dist/esm/rtk-stage.entry.js +4 -4
  579. package/dist/esm/rtk-transcript.entry.js +4 -4
  580. package/dist/esm/rtk-transcripts.entry.js +3 -3
  581. package/dist/esm/rtk-ui-provider.entry.js +3 -3
  582. package/dist/esm/rtk-waiting-screen.entry.js +4 -4
  583. package/dist/esm/{sidebar-376c9917.js → sidebar-293fd302.js} +1 -1
  584. package/dist/esm/{ui-store-12132d9c.js → ui-store-644e4cb0.js} +114 -35
  585. package/dist/realtimekit-ui/index.esm.js +1 -1
  586. package/dist/realtimekit-ui/p-01ef7b4d.entry.js +1 -0
  587. package/dist/realtimekit-ui/p-0511529f.entry.js +1 -0
  588. package/dist/realtimekit-ui/p-06dcd55e.entry.js +1 -0
  589. package/dist/realtimekit-ui/{p-a1408db4.entry.js → p-07860158.entry.js} +1 -1
  590. package/dist/realtimekit-ui/p-0bd7eedc.entry.js +1 -0
  591. package/dist/realtimekit-ui/p-0c3f571f.entry.js +1 -0
  592. package/dist/realtimekit-ui/{p-30dcb4cc.entry.js → p-0cfee5d3.entry.js} +1 -1
  593. package/dist/realtimekit-ui/p-1517b428.entry.js +1 -0
  594. package/dist/realtimekit-ui/{p-6914a616.entry.js → p-15297e89.entry.js} +1 -1
  595. package/dist/realtimekit-ui/{p-a7172c2d.entry.js → p-1a4f0b00.entry.js} +1 -1
  596. package/dist/realtimekit-ui/{p-cc226b51.entry.js → p-1efb8f44.entry.js} +1 -1
  597. package/dist/realtimekit-ui/{p-2441260e.entry.js → p-1f877b80.entry.js} +1 -1
  598. package/dist/realtimekit-ui/{p-af58f450.entry.js → p-1feec027.entry.js} +1 -1
  599. package/dist/realtimekit-ui/p-205590ae.entry.js +1 -0
  600. package/dist/realtimekit-ui/p-25f3e66a.entry.js +1 -0
  601. package/dist/realtimekit-ui/{p-6888b050.entry.js → p-26b4e422.entry.js} +1 -1
  602. package/dist/realtimekit-ui/p-29549a05.entry.js +1 -0
  603. package/dist/realtimekit-ui/{p-532e1a53.entry.js → p-2b47921e.entry.js} +1 -1
  604. package/dist/realtimekit-ui/p-2f93d90b.entry.js +1 -0
  605. package/dist/realtimekit-ui/{p-afa7211c.js → p-2ff77d78.js} +1 -1
  606. package/dist/realtimekit-ui/{p-fcb7a6e2.entry.js → p-30a3007c.entry.js} +1 -1
  607. package/dist/realtimekit-ui/p-3125a6e7.entry.js +1 -0
  608. package/dist/realtimekit-ui/{p-9b550ec4.js → p-315cd380.js} +1 -1
  609. package/dist/realtimekit-ui/{p-a67e2a25.entry.js → p-36f7accb.entry.js} +1 -1
  610. package/dist/realtimekit-ui/{p-05d1b9d5.entry.js → p-3ec85ff3.entry.js} +1 -1
  611. package/dist/realtimekit-ui/{p-14569a57.entry.js → p-40ab8b0f.entry.js} +1 -1
  612. package/dist/realtimekit-ui/{p-be5bdd0a.entry.js → p-43fa4d95.entry.js} +1 -1
  613. package/dist/realtimekit-ui/{p-426bf45e.entry.js → p-4814e742.entry.js} +1 -1
  614. package/dist/realtimekit-ui/{p-616dc312.entry.js → p-4a5e203d.entry.js} +1 -1
  615. package/dist/realtimekit-ui/p-4ec77793.js +1 -0
  616. package/dist/realtimekit-ui/{p-e78ba202.entry.js → p-50aaac81.entry.js} +1 -1
  617. package/dist/realtimekit-ui/{p-323d1aa4.entry.js → p-5a425dac.entry.js} +1 -1
  618. package/dist/realtimekit-ui/{p-c5f704a3.entry.js → p-6038d773.entry.js} +1 -1
  619. package/dist/realtimekit-ui/{p-c8773db0.entry.js → p-6573487e.entry.js} +1 -1
  620. package/dist/realtimekit-ui/p-6741242b.entry.js +1 -0
  621. package/dist/realtimekit-ui/p-67c674d4.entry.js +1 -0
  622. package/dist/realtimekit-ui/{p-02c6b025.entry.js → p-67e751d5.entry.js} +1 -1
  623. package/dist/realtimekit-ui/{p-85b3c0c4.entry.js → p-67f94206.entry.js} +1 -1
  624. package/dist/realtimekit-ui/p-6a1faaf1.entry.js +1 -0
  625. package/dist/realtimekit-ui/p-6acdcb4f.entry.js +1 -0
  626. package/dist/realtimekit-ui/{p-cb54bd67.entry.js → p-6c2ef845.entry.js} +1 -1
  627. package/dist/realtimekit-ui/{p-1fe6003b.entry.js → p-6d0690f6.entry.js} +1 -1
  628. package/dist/realtimekit-ui/p-71393f37.entry.js +1 -0
  629. package/dist/realtimekit-ui/{p-a852e0cf.entry.js → p-76b45a0d.entry.js} +1 -1
  630. package/dist/realtimekit-ui/{p-a7e0277f.js → p-77e5605f.js} +1 -1
  631. package/dist/realtimekit-ui/{p-8778b3e6.entry.js → p-78802076.entry.js} +1 -1
  632. package/dist/realtimekit-ui/p-7c6cdccf.entry.js +1 -0
  633. package/dist/realtimekit-ui/{p-f6c82f1b.entry.js → p-8329d4ae.entry.js} +1 -1
  634. package/dist/realtimekit-ui/{p-342b4926.entry.js → p-879459bb.entry.js} +1 -1
  635. package/dist/realtimekit-ui/p-8dd8bab2.entry.js +1 -0
  636. package/dist/realtimekit-ui/p-8e9ff91e.entry.js +1 -0
  637. package/dist/realtimekit-ui/p-8fc79c56.js +1 -0
  638. package/dist/realtimekit-ui/{p-00445029.entry.js → p-91735c98.entry.js} +1 -1
  639. package/dist/realtimekit-ui/{p-7d01d588.entry.js → p-975cbc2e.entry.js} +1 -1
  640. package/dist/realtimekit-ui/p-9ff0dfdb.entry.js +1 -0
  641. package/dist/realtimekit-ui/{p-54a88fdf.entry.js → p-a09b6b2c.entry.js} +1 -1
  642. package/dist/realtimekit-ui/{p-f32aecbc.entry.js → p-a43a7ffb.entry.js} +1 -1
  643. package/dist/realtimekit-ui/p-a599f720.js +2 -0
  644. package/dist/realtimekit-ui/{p-fa86682c.entry.js → p-aac14289.entry.js} +1 -1
  645. package/dist/realtimekit-ui/p-abbee273.entry.js +1 -0
  646. package/dist/realtimekit-ui/p-ad11a64a.entry.js +1 -0
  647. package/dist/realtimekit-ui/p-aee32120.entry.js +1 -0
  648. package/dist/realtimekit-ui/{p-515a17ce.entry.js → p-b0eaeddc.entry.js} +1 -1
  649. package/dist/realtimekit-ui/{p-0baa78d7.entry.js → p-b5d279fd.entry.js} +1 -1
  650. package/dist/realtimekit-ui/p-b5e5e206.js +1 -0
  651. package/dist/realtimekit-ui/{p-6896e819.entry.js → p-b7bbc696.entry.js} +1 -1
  652. package/dist/realtimekit-ui/{p-5b00a8fa.entry.js → p-bbaf3e7d.entry.js} +1 -1
  653. package/dist/realtimekit-ui/{p-11a469d9.js → p-be0d2b90.js} +1 -1
  654. package/dist/realtimekit-ui/{p-94a37c73.entry.js → p-bea3ee08.entry.js} +1 -1
  655. package/dist/realtimekit-ui/{p-ebfde234.entry.js → p-c0e5ddd4.entry.js} +1 -1
  656. package/dist/realtimekit-ui/p-c8f0b23e.entry.js +1 -0
  657. package/dist/realtimekit-ui/{p-573187b4.entry.js → p-cbbb09a2.entry.js} +1 -1
  658. package/dist/realtimekit-ui/{p-80e51a73.entry.js → p-cbfe61b9.entry.js} +1 -1
  659. package/dist/realtimekit-ui/{p-ad5e9fdb.entry.js → p-cd086077.entry.js} +1 -1
  660. package/dist/realtimekit-ui/p-d107248e.entry.js +1 -0
  661. package/dist/realtimekit-ui/{p-a40cc665.entry.js → p-d10fe6c7.entry.js} +1 -1
  662. package/dist/realtimekit-ui/p-d1a6e546.entry.js +1 -0
  663. package/dist/realtimekit-ui/p-d24dd330.entry.js +1 -0
  664. package/dist/realtimekit-ui/{p-44d69c6b.entry.js → p-d3acf8e9.entry.js} +1 -1
  665. package/dist/realtimekit-ui/{p-4b33b435.entry.js → p-d3d4e6de.entry.js} +1 -1
  666. package/dist/realtimekit-ui/p-d432c842.entry.js +1 -0
  667. package/dist/realtimekit-ui/p-d5af89d0.entry.js +1 -0
  668. package/dist/realtimekit-ui/p-d6126ff7.js +1 -0
  669. package/dist/realtimekit-ui/{p-d3e520e5.js → p-ddcb6b8b.js} +1 -1
  670. package/dist/realtimekit-ui/{p-4485414e.entry.js → p-de253745.entry.js} +1 -1
  671. package/dist/realtimekit-ui/{p-369648b9.entry.js → p-de2fd3a4.entry.js} +1 -1
  672. package/dist/realtimekit-ui/{p-3dd04263.entry.js → p-e6fc5935.entry.js} +1 -1
  673. package/dist/realtimekit-ui/{p-c8eaa707.js → p-eccb6d78.js} +1 -1
  674. package/dist/realtimekit-ui/p-f1c4d507.entry.js +1 -0
  675. package/dist/realtimekit-ui/{p-a0d39ea3.entry.js → p-f423e125.entry.js} +1 -1
  676. package/dist/realtimekit-ui/{p-f266302c.entry.js → p-f4e8a0b3.entry.js} +1 -1
  677. package/dist/realtimekit-ui/{p-cd0c5440.js → p-f6fdb3c3.js} +1 -1
  678. package/dist/realtimekit-ui/p-ff86148c.entry.js +1 -0
  679. package/dist/realtimekit-ui/{p-cd56beb7.entry.js → p-ffac36ba.entry.js} +1 -1
  680. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  681. package/dist/types/components/rtk-ai/rtk-ai.d.ts +6 -0
  682. package/dist/types/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.d.ts +6 -0
  683. package/dist/types/components/rtk-chat/rtk-chat.d.ts +6 -43
  684. package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +1 -4
  685. package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +1 -0
  686. package/dist/types/components/rtk-chat-header/rtk-chat-header.d.ts +7 -0
  687. package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +6 -15
  688. package/dist/types/components/rtk-chat-selector/rtk-chat-selector.d.ts +54 -0
  689. package/dist/types/components/rtk-idle-screen/rtk-idle-screen.d.ts +11 -0
  690. package/dist/types/components/rtk-livestream-toggle/rtk-livestream-toggle.d.ts +6 -0
  691. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +5 -0
  692. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +11 -5
  693. package/dist/types/components/rtk-participants-stage-queue/rtk-participants-stage-queue.d.ts +6 -0
  694. package/dist/types/components/rtk-pinned-message-selector/rtk-pinned-message-selector.d.ts +40 -0
  695. package/dist/types/components/rtk-pip-toggle/rtk-pip-toggle.d.ts +6 -0
  696. package/dist/types/components/rtk-setup-screen/rtk-setup-screen.d.ts +1 -0
  697. package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +6 -2
  698. package/dist/types/components.d.ts +336 -498
  699. package/dist/types/lib/icons/default-icon-pack.d.ts +0 -2
  700. package/dist/types/lib/lang/default-language.d.ts +1 -4
  701. package/dist/types/lib/overrides.d.ts +5 -0
  702. package/dist/types/types/props.d.ts +1 -4
  703. package/dist/types/utils/chat.d.ts +1 -3
  704. package/dist/types/utils/flags.d.ts +0 -2
  705. package/package.json +1 -1
  706. package/dist/cjs/index-05554ce6.js +0 -2251
  707. package/dist/cjs/rtk-channel-creator.cjs.entry.js +0 -163
  708. package/dist/cjs/rtk-channel-details.cjs.entry.js +0 -49
  709. package/dist/cjs/rtk-channel-header.cjs.entry.js +0 -83
  710. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +0 -147
  711. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +0 -210
  712. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +0 -290
  713. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +0 -149
  714. package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +0 -99
  715. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +0 -330
  716. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +0 -286
  717. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +0 -306
  718. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +0 -341
  719. package/dist/components/p-713c7ed7.js +0 -85
  720. package/dist/components/p-a73665b4.js +0 -203
  721. package/dist/components/p-b64798ac.js +0 -703
  722. package/dist/components/p-c3592601.js +0 -1641
  723. package/dist/components/p-fbc02b1f.js +0 -402
  724. package/dist/components/rtk-channel-creator.js +0 -214
  725. package/dist/components/rtk-channel-details.d.ts +0 -11
  726. package/dist/components/rtk-channel-details.js +0 -6
  727. package/dist/components/rtk-channel-header.js +0 -151
  728. package/dist/components/rtk-channel-selector-ui.d.ts +0 -11
  729. package/dist/components/rtk-channel-selector-ui.js +0 -194
  730. package/dist/components/rtk-channel-selector-view.d.ts +0 -11
  731. package/dist/components/rtk-channel-selector-view.js +0 -6
  732. package/dist/esm/index-c1fb98bb.js +0 -2218
  733. package/dist/esm/rtk-channel-creator.entry.js +0 -159
  734. package/dist/esm/rtk-channel-details.entry.js +0 -45
  735. package/dist/esm/rtk-channel-header.entry.js +0 -79
  736. package/dist/esm/rtk-channel-selector-ui.entry.js +0 -143
  737. package/dist/realtimekit-ui/p-0ee570cd.js +0 -2
  738. package/dist/realtimekit-ui/p-1462cbd9.entry.js +0 -1
  739. package/dist/realtimekit-ui/p-1834416c.entry.js +0 -1
  740. package/dist/realtimekit-ui/p-21d4bb9c.entry.js +0 -1
  741. package/dist/realtimekit-ui/p-23784be6.entry.js +0 -1
  742. package/dist/realtimekit-ui/p-25c4d10f.js +0 -1
  743. package/dist/realtimekit-ui/p-2b054928.entry.js +0 -1
  744. package/dist/realtimekit-ui/p-322957ed.entry.js +0 -1
  745. package/dist/realtimekit-ui/p-3f4120cc.entry.js +0 -1
  746. package/dist/realtimekit-ui/p-43530cd3.entry.js +0 -1
  747. package/dist/realtimekit-ui/p-45f90b95.js +0 -1
  748. package/dist/realtimekit-ui/p-48c87789.entry.js +0 -1
  749. package/dist/realtimekit-ui/p-4b638184.entry.js +0 -1
  750. package/dist/realtimekit-ui/p-53680d55.entry.js +0 -1
  751. package/dist/realtimekit-ui/p-5892c1e0.entry.js +0 -1
  752. package/dist/realtimekit-ui/p-5b2d97fc.js +0 -1
  753. package/dist/realtimekit-ui/p-612a8d25.entry.js +0 -1
  754. package/dist/realtimekit-ui/p-639601b7.entry.js +0 -1
  755. package/dist/realtimekit-ui/p-64206b62.entry.js +0 -1
  756. package/dist/realtimekit-ui/p-67ead213.entry.js +0 -1
  757. package/dist/realtimekit-ui/p-685adc5f.entry.js +0 -1
  758. package/dist/realtimekit-ui/p-701cdf1b.entry.js +0 -1
  759. package/dist/realtimekit-ui/p-7a9a226e.entry.js +0 -1
  760. package/dist/realtimekit-ui/p-820dad23.entry.js +0 -1
  761. package/dist/realtimekit-ui/p-85b45c3b.entry.js +0 -1
  762. package/dist/realtimekit-ui/p-95fb25d6.entry.js +0 -1
  763. package/dist/realtimekit-ui/p-a031547c.entry.js +0 -1
  764. package/dist/realtimekit-ui/p-a5900df2.js +0 -1
  765. package/dist/realtimekit-ui/p-a680da64.entry.js +0 -1
  766. package/dist/realtimekit-ui/p-a9190330.entry.js +0 -1
  767. package/dist/realtimekit-ui/p-a91a2e10.entry.js +0 -1
  768. package/dist/realtimekit-ui/p-ac6c8ebe.entry.js +0 -1
  769. package/dist/realtimekit-ui/p-b25f7d7b.entry.js +0 -1
  770. package/dist/realtimekit-ui/p-b51e813e.entry.js +0 -1
  771. package/dist/realtimekit-ui/p-be03944b.entry.js +0 -1
  772. package/dist/realtimekit-ui/p-cda276d6.entry.js +0 -1
  773. package/dist/realtimekit-ui/p-d880fb69.entry.js +0 -1
  774. package/dist/realtimekit-ui/p-e5b426fa.entry.js +0 -1
  775. package/dist/realtimekit-ui/p-ea21ec0c.entry.js +0 -1
  776. package/dist/realtimekit-ui/p-ec5ed8a4.entry.js +0 -1
  777. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +0 -37
  778. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +0 -16
  779. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +0 -32
  780. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +0 -35
  781. package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +0 -62
@@ -1,19 +1,19 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, i as useLanguage } from './p-e847fee9.js';
3
- import { S as SyncWithStore } from './p-6f7c46d2.js';
4
- import { d as defineCustomElement$d } from './p-241a8245.js';
5
- import { d as defineCustomElement$c } from './p-1391bef0.js';
6
- import { d as defineCustomElement$b } from './p-761c0e78.js';
7
- import { d as defineCustomElement$a } from './p-3b29dda1.js';
8
- import { d as defineCustomElement$9 } from './p-5669b6e7.js';
9
- import { d as defineCustomElement$8 } from './p-cf8f725b.js';
10
- import { d as defineCustomElement$7 } from './p-2447a26f.js';
11
- import { d as defineCustomElement$6 } from './p-819cb785.js';
12
- import { d as defineCustomElement$5 } from './p-7148ec6a.js';
13
- import { d as defineCustomElement$4 } from './p-0f2de0f8.js';
14
- import { d as defineCustomElement$3 } from './p-fbc02b1f.js';
15
- import { d as defineCustomElement$2 } from './p-4ebf9684.js';
16
- import { d as defineCustomElement$1 } from './p-6739a399.js';
1
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-fdad14c9.js';
2
+ import { e as defaultIconPack, i as useLanguage } from './p-f19b4abc.js';
3
+ import { S as SyncWithStore } from './p-e334e15c.js';
4
+ import { d as defineCustomElement$d } from './p-38ba07d0.js';
5
+ import { d as defineCustomElement$c } from './p-e229128b.js';
6
+ import { d as defineCustomElement$b } from './p-154bed23.js';
7
+ import { d as defineCustomElement$a } from './p-a3cc7425.js';
8
+ import { d as defineCustomElement$9 } from './p-d0eb78a2.js';
9
+ import { d as defineCustomElement$8 } from './p-61dcdd44.js';
10
+ import { d as defineCustomElement$7 } from './p-d70fbc37.js';
11
+ import { d as defineCustomElement$6 } from './p-b1723439.js';
12
+ import { d as defineCustomElement$5 } from './p-0f39e8ae.js';
13
+ import { d as defineCustomElement$4 } from './p-a339a693.js';
14
+ import { d as defineCustomElement$3 } from './p-4a8d69ae.js';
15
+ import { d as defineCustomElement$2 } from './p-9cf41ab1.js';
16
+ import { d as defineCustomElement$1 } from './p-8123217e.js';
17
17
 
18
18
  const rtkChatMessagesUiPaginatedCss = ":host{display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));flex:1 0 0px}";
19
19
  const RtkChatMessagesUiPaginatedStyle0 = rtkChatMessagesUiPaginatedCss;
@@ -42,31 +42,37 @@ const RtkChatMessagesUiPaginated = /*@__PURE__*/ proxyCustomElement(class RtkCha
42
42
  this.iconPack = defaultIconPack;
43
43
  /** Language */
44
44
  this.t = useLanguage();
45
- /** Whether to align chat bubbles to the left */
46
- this.leftAlign = false;
47
45
  this.permissionsChanged = false;
48
46
  this.pageSize = 25;
49
- this.lastReadMessageIndex = -1;
50
47
  this.permissionsUpdateListener = () => {
51
48
  this.permissionsChanged = !this.permissionsChanged;
52
49
  };
53
- this.maybeMarkChannelAsRead = (messages) => {
54
- if (!this.selectedChannelId)
55
- return;
56
- if (messages.length === 0)
57
- return;
58
- if (this.lastReadMessageIndex !== -1)
59
- return;
60
- const latestMsg = messages.at(0).time > messages.at(-1).time ? messages.at(0) : messages.at(-1);
61
- if (!latestMsg.channelIndex)
62
- return;
63
- this.lastReadMessageIndex = parseInt(latestMsg.channelIndex, 10);
64
- this.meeting.chat.markLastReadMessage(this.selectedChannelId, latestMsg);
65
- };
66
50
  this.getChatMessages = async (timestamp, size, reversed) => {
67
- const { messages } = await this.meeting.chat.getMessages(timestamp, size, reversed, undefined, this.selectedChannelId);
68
- this.maybeMarkChannelAsRead(messages);
69
- return messages;
51
+ if (this.privateChatRecipient) {
52
+ try {
53
+ const messages = await this.meeting.chat.fetchPrivateMessages({
54
+ timestamp,
55
+ limit: size,
56
+ direction: reversed ? 'before' : 'after',
57
+ userId: this.privateChatRecipient.userId,
58
+ });
59
+ return messages;
60
+ }
61
+ catch (err) {
62
+ return [];
63
+ }
64
+ }
65
+ try {
66
+ const messages = await this.meeting.chat.fetchPublicMessages({
67
+ timestamp,
68
+ limit: size,
69
+ direction: reversed ? 'before' : 'after',
70
+ });
71
+ return messages;
72
+ }
73
+ catch (err) {
74
+ return [];
75
+ }
70
76
  };
71
77
  this.createChatNodes = (data) => {
72
78
  /**
@@ -74,8 +80,11 @@ const RtkChatMessagesUiPaginated = /*@__PURE__*/ proxyCustomElement(class RtkCha
74
80
  * will fail in current implementation
75
81
  */
76
82
  return data.map((message, idx) => {
77
- var _a;
83
+ var _a, _b;
78
84
  const isContinued = message.userId === ((_a = data[idx - 1]) === null || _a === void 0 ? void 0 : _a.userId);
85
+ // FIXME(ikabra): Socket sends private messages sent to the recipient as a part of public messages
86
+ if (!this.privateChatRecipient && ((_b = message.targetUserIds) === null || _b === void 0 ? void 0 : _b.length) > 0)
87
+ return;
79
88
  return this.createChatNode(message, isContinued);
80
89
  });
81
90
  };
@@ -85,13 +94,17 @@ const RtkChatMessagesUiPaginated = /*@__PURE__*/ proxyCustomElement(class RtkCha
85
94
  (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self.permissions.removeListener('permissionsUpdate', this.permissionsUpdateListener);
86
95
  };
87
96
  this.getMessageActions = (message) => {
97
+ var _a;
88
98
  const actions = [];
89
99
  const messageBelongsToSelf = message.userId === this.meeting.self.userId;
90
- actions.push({
91
- id: 'pin_message',
92
- label: message.pinned ? this.t('unpin') : this.t('pin'),
93
- icon: this.iconPack.pin,
94
- });
100
+ const isPrivateMessage = ((_a = message.targetUserIds) === null || _a === void 0 ? void 0 : _a.length) > 0;
101
+ if (!isPrivateMessage) {
102
+ actions.push({
103
+ id: 'pin_message',
104
+ label: message.pinned ? this.t('unpin') : this.t('pin'),
105
+ icon: this.iconPack.pin,
106
+ });
107
+ }
95
108
  if (messageBelongsToSelf) {
96
109
  actions.push({
97
110
  id: 'edit_message',
@@ -121,8 +134,6 @@ const RtkChatMessagesUiPaginated = /*@__PURE__*/ proxyCustomElement(class RtkCha
121
134
  };
122
135
  this.createChatNode = (message, isContinued) => {
123
136
  var _a, _b, _c, _d;
124
- if (message.targetUserIds.length !== 0)
125
- return null; // don't render private messages
126
137
  let displayPicture;
127
138
  if (this.meeting.meta.viewType === 'CHAT') {
128
139
  displayPicture = (_a = this.meeting.participants.all
@@ -142,17 +153,23 @@ const RtkChatMessagesUiPaginated = /*@__PURE__*/ proxyCustomElement(class RtkCha
142
153
  }
143
154
  const isSelf = message.userId === this.meeting.self.userId;
144
155
  const viewType = isSelf ? 'outgoing' : 'incoming';
145
- return (h("div", null, h("div", { class: "message-wrapper", id: message.id }, h("rtk-message-view", { pinned: message.pinned, time: message.time, actions: this.getMessageActions(message), authorName: message.displayName, isSelf: isSelf, avatarUrl: displayPicture, hideAuthorName: isContinued, viewType: viewType, variant: "bubble", onAction: (event) => this.onMessageActionHandler(event.detail, message) }, h("div", null, h("div", { class: "body" }, message.type === 'text' && (h("rtk-text-message-view", { text: message.message, isMarkdown: true })), message.type === 'file' && (h("rtk-file-message-view", { name: message.name, url: message.link, size: message.size })), message.type === 'image' && (h("rtk-image-message-view", { url: message.link, onPreview: () => {
156
+ return (h("div", null, h("div", { class: "message-wrapper", id: message.id }, h("rtk-message-view", { messageType: message.type, pinned: message.pinned, isEdited: message.isEdited, time: message.time, actions: this.getMessageActions(message), authorName: message.displayName, isSelf: isSelf, avatarUrl: displayPicture, hideAuthorName: isContinued, viewType: viewType, variant: "bubble", onAction: (event) => this.onMessageActionHandler(event.detail, message) }, h("div", null, h("div", { class: "body" }, message.type === 'text' && (h("rtk-text-message-view", { text: message.message, isMarkdown: true })), message.type === 'file' && (h("rtk-file-message-view", { name: message.name, url: message.link, size: message.size })), message.type === 'image' && (h("rtk-image-message-view", { url: message.link, onPreview: () => {
146
157
  this.stateUpdate.emit({ image: message });
147
158
  } }))))))));
148
159
  };
149
160
  this.chatUpdateListener = (data) => {
150
- if (this.selectedChannelId && data.message.channelId !== this.selectedChannelId)
161
+ var _a, _b, _c;
162
+ // if private message and not for privateChatRecipient, ignore
163
+ // if private message and public chat selected, ignore
164
+ if (((_a = data.message.targetUserIds) === null || _a === void 0 ? void 0 : _a.length) > 0 &&
165
+ !data.message.targetUserIds.includes((_b = this.privateChatRecipient) === null || _b === void 0 ? void 0 : _b.userId))
166
+ return;
167
+ // if public message and private chat selected, ignore
168
+ if (this.privateChatRecipient && ((_c = data.message.targetUserIds) === null || _c === void 0 ? void 0 : _c.length) === 0) {
151
169
  return;
170
+ }
152
171
  if (data.action === 'add') {
153
172
  this.$paginatedListRef.onNewNode(data.message);
154
- this.lastReadMessageIndex = -1;
155
- this.maybeMarkChannelAsRead([data.message]);
156
173
  }
157
174
  else if (data.action === 'delete') {
158
175
  this.$paginatedListRef.onNodeDelete(data.message.id);
@@ -171,9 +188,20 @@ const RtkChatMessagesUiPaginated = /*@__PURE__*/ proxyCustomElement(class RtkCha
171
188
  connectedCallback() {
172
189
  this.meetingChanged(this.meeting);
173
190
  }
191
+ async onPinnedMessageSelect(event) {
192
+ var _a, _b;
193
+ const message = event.detail;
194
+ if (!message)
195
+ return;
196
+ await ((_b = (_a = this.$paginatedListRef) === null || _a === void 0 ? void 0 : _a.reset) === null || _b === void 0 ? void 0 : _b.call(_a, message.timeMs + 1));
197
+ }
174
198
  disconnectedCallback() {
175
199
  this.disconnectMeeting(this.meeting);
176
200
  }
201
+ privateChatRecipientChanged() {
202
+ var _a;
203
+ (_a = this.$paginatedListRef) === null || _a === void 0 ? void 0 : _a.reset();
204
+ }
177
205
  meetingChanged(meeting, oldMeeting) {
178
206
  var _a;
179
207
  if (oldMeeting != undefined)
@@ -186,31 +214,26 @@ const RtkChatMessagesUiPaginated = /*@__PURE__*/ proxyCustomElement(class RtkCha
186
214
  }
187
215
  this.permissionsUpdateListener();
188
216
  }
189
- channelChanged() {
190
- this.lastReadMessageIndex = -1;
191
- }
192
217
  render() {
193
- return (h(Host, { key: '55b594d1fad2c164a70b71e297f63273ece0bc4f' }, h("rtk-paginated-list", { key: '1554ee896643feec72a02672f156f95c988813ce', ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getChatMessages, createNodes: this.createChatNodes, selectedItemId: this.selectedChannelId, emptyListLabel: this.t('chat.empty_channel') }, h("slot", { key: '03aeb2069b87cb217b9759cabd3835c9bac81f11' }))));
218
+ return (h(Host, { key: '8062f966f4bc489a4fdadb2da59bb88473e45194' }, h("rtk-paginated-list", { key: '7f50458ee29cd7bd83bd123303e82db556230d67', ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getChatMessages, createNodes: this.createChatNodes, emptyListLabel: this.t('chat.empty_chat') }, h("slot", { key: '69b0106558d9995b0bc24ed3d0d36f56febbf90f' }))));
194
219
  }
195
220
  get host() { return this; }
196
221
  static get watchers() { return {
197
- "meeting": ["meetingChanged"],
198
- "selectedChannelId": ["channelChanged"]
222
+ "privateChatRecipient": ["privateChatRecipientChanged"],
223
+ "meeting": ["meetingChanged"]
199
224
  }; }
200
225
  static get style() { return RtkChatMessagesUiPaginatedStyle0; }
201
226
  }, [1, "rtk-chat-messages-ui-paginated", {
202
227
  "meeting": [16],
203
- "selectedChannel": [16],
204
- "selectedChannelId": [1, "selected-channel-id"],
205
228
  "size": [513],
206
229
  "iconPack": [16],
207
230
  "t": [16],
208
- "leftAlign": [4, "left-align"],
231
+ "privateChatRecipient": [16],
209
232
  "children": [32],
210
233
  "permissionsChanged": [32]
211
- }, undefined, {
212
- "meeting": ["meetingChanged"],
213
- "selectedChannelId": ["channelChanged"]
234
+ }, [[8, "rtkPinnedMessageSelect", "onPinnedMessageSelect"]], {
235
+ "privateChatRecipient": ["privateChatRecipientChanged"],
236
+ "meeting": ["meetingChanged"]
214
237
  }]);
215
238
  __decorate([
216
239
  SyncWithStore()
@@ -0,0 +1,260 @@
1
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-fdad14c9.js';
2
+ import { S as SyncWithStore } from './p-e334e15c.js';
3
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage, f as defaultOverrides } from './p-f19b4abc.js';
4
+ import './p-a83ccdbd.js';
5
+ import { d as defineCustomElement$5 } from './p-38ba07d0.js';
6
+ import { d as defineCustomElement$4 } from './p-e229128b.js';
7
+ import { d as defineCustomElement$3 } from './p-a3cc7425.js';
8
+ import { d as defineCustomElement$2 } from './p-4a8d69ae.js';
9
+ import { d as defineCustomElement$1 } from './p-9cf41ab1.js';
10
+
11
+ const rtkChatSelectorCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;width:100%;flex-direction:column;font-size:14px;position:relative;box-sizing:border-box;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.chat-header{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);display:flex;flex-direction:row;align-items:center;justify-content:space-between;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px);border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.chat-header-label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px)}.dropdown{position:absolute;top:100%;z-index:10;padding:var(--rtk-space-0, 0px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));opacity:0;pointer-events:none;border-bottom-right-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px);left:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);max-width:calc(100vw - var(--rtk-space-4, 16px));box-sizing:border-box}.dropdown.open{opacity:1;pointer-events:auto;border-width:1px;border-top-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity))}.dropdown rtk-paginated-list{box-sizing:border-box;display:flex;height:30vh;flex-direction:column}.public-chat-group-label{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);border-left-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-top-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-none, 0);border-bottom-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}.public-chat-icon{display:flex;align-items:center;justify-content:center;padding:var(--rtk-space-1, 4px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}.public-chat-icon rtk-icon{color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}";
12
+ const RtkChatSelectorStyle0 = rtkChatSelectorCss;
13
+
14
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
17
+ r = Reflect.decorate(decorators, target, key, desc);
18
+ else
19
+ for (var i = decorators.length - 1; i >= 0; i--)
20
+ if (d = decorators[i])
21
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
22
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
23
+ };
24
+ const RtkChatSelector = /*@__PURE__*/ proxyCustomElement(class RtkChatSelector extends H {
25
+ constructor() {
26
+ super();
27
+ this.__registerHost();
28
+ this.__attachShadow();
29
+ this.dropdownToggle = createEvent(this, "rtkDropdownToggle", 7);
30
+ this.chatSelectorChange = createEvent(this, "rtkChatSelectorChange", 7);
31
+ /** Config */
32
+ this.config = createDefaultConfig();
33
+ /** Icon pack */
34
+ this.iconPack = defaultIconPack;
35
+ /** Language */
36
+ this.t = useLanguage();
37
+ /** UI Overrides */
38
+ this.overrides = defaultOverrides;
39
+ this.isOpen = false;
40
+ this.showPrivateChat = false;
41
+ this.selectedUser = undefined;
42
+ //NOTE(ikabra): Fix this value once backend supports pagination for participants
43
+ this.pageSize = 100000;
44
+ this.pagesAllowed = 3;
45
+ this.unreadMap = new Map();
46
+ this.disconnectMeeting = (meeting) => {
47
+ var _a, _b, _c, _d;
48
+ const { self, participants } = meeting || {};
49
+ (_a = meeting.chat) === null || _a === void 0 ? void 0 : _a.off('chatUpdate', this.chatUpdateListener);
50
+ (_b = self === null || self === void 0 ? void 0 : self.permissions) === null || _b === void 0 ? void 0 : _b.off('*', this.chatPermissionUpdateListener);
51
+ (_c = participants === null || participants === void 0 ? void 0 : participants.joined) === null || _c === void 0 ? void 0 : _c.off('participantJoined', this.participantJoinedListener);
52
+ (_d = participants === null || participants === void 0 ? void 0 : participants.joined) === null || _d === void 0 ? void 0 : _d.off('participantLeft', this.participantLeftListener);
53
+ };
54
+ this.toggle = (e) => {
55
+ e.preventDefault();
56
+ e.stopPropagation();
57
+ this.isOpen = !this.isOpen;
58
+ this.dropdownToggle.emit({ open: this.isOpen });
59
+ };
60
+ this.selectUser = async (user) => {
61
+ if (user === null || user === void 0 ? void 0 : user.userId) {
62
+ this.unreadMap.set(user.userId, false);
63
+ this.$paginatedListRef.rerenderList();
64
+ }
65
+ this.selectedUser = user;
66
+ this.chatSelectorChange.emit({ selectedUser: user });
67
+ await this.close();
68
+ };
69
+ this.chatPermissionUpdateListener = () => {
70
+ var _a, _b;
71
+ this.showPrivateChat = !!(((_a = this.meeting.self.permissions.chatPrivate) === null || _a === void 0 ? void 0 : _a.canSend) ||
72
+ ((_b = this.meeting.self.permissions.chatPrivate) === null || _b === void 0 ? void 0 : _b.canReceive));
73
+ if (!this.showPrivateChat) {
74
+ this.selectedUser = undefined;
75
+ this.chatSelectorChange.emit({ selectedUser: undefined });
76
+ }
77
+ };
78
+ this.onParticipantUpdate = () => {
79
+ var _a, _b, _c, _d;
80
+ if (!this.selectedUser)
81
+ return;
82
+ const participants = ((_d = (_c = (_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.participants) === null || _b === void 0 ? void 0 : _b.joined) === null || _c === void 0 ? void 0 : _c.toArray) === null || _d === void 0 ? void 0 : _d.call(_c)) || [];
83
+ if (!participants.some((p) => { var _a; return p.id === ((_a = this.selectedUser) === null || _a === void 0 ? void 0 : _a.id); })) {
84
+ this.selectedUser = undefined;
85
+ this.chatSelectorChange.emit({ selectedUser: undefined });
86
+ }
87
+ };
88
+ this.participantJoinedListener = (data) => {
89
+ this.$paginatedListRef.onNewNode(data);
90
+ };
91
+ this.participantLeftListener = (data) => {
92
+ this.$paginatedListRef.onNodeDelete(data.id);
93
+ this.onParticipantUpdate();
94
+ };
95
+ // @ts-ignore - unused params
96
+ this.getParticipants = async (timestamp, size, reversed) => {
97
+ const meeting = this.meeting;
98
+ if (!meeting)
99
+ return [];
100
+ /**
101
+ * FIXME(ikabra): This is a temporary hack in place to handle the initial load
102
+ * and not repeat participants when a user reaches the top of the list.
103
+ * This must be replaced by actual pagination APIs from backend for participants.
104
+ */
105
+ if (!timestamp)
106
+ return [];
107
+ const participants = meeting.participants.joined.toArray();
108
+ return participants;
109
+ };
110
+ this.createPaticipantNodes = (data) => {
111
+ return data.map((participant) => {
112
+ var _a;
113
+ return (h("div", { class: "private-chat-label", id: participant.id, onClick: () => this.selectUser(participant) }, h("rtk-avatar", { size: "sm", participant: participant }), h("span", null, (_a = participant.name) !== null && _a !== void 0 ? _a : this.t('participant')), this.unreadMap.get(participant.userId) ? (h("div", { class: "private-chat-unread-badge" })) : null));
114
+ });
115
+ };
116
+ this.chatUpdateListener = (data) => {
117
+ var _a;
118
+ if (data.action !== 'add')
119
+ return;
120
+ if (!((_a = data.message.targetUserIds) === null || _a === void 0 ? void 0 : _a.length))
121
+ return;
122
+ const selfUserId = this.meeting.self.userId;
123
+ const otherUserId = data.message.targetUserIds.find((id) => id !== selfUserId);
124
+ if (!otherUserId)
125
+ return;
126
+ this.unreadMap.set(otherUserId, true);
127
+ this.$paginatedListRef.rerenderList();
128
+ };
129
+ }
130
+ /** */
131
+ async close() {
132
+ if (!this.isOpen)
133
+ return;
134
+ this.isOpen = false;
135
+ this.dropdownToggle.emit({ open: false });
136
+ }
137
+ connectedCallback() {
138
+ this.meetingChanged(this.meeting);
139
+ this.overridesChanged(this.overrides);
140
+ }
141
+ disconnectedCallback() {
142
+ var _a, _b, _c;
143
+ if (!this.meeting)
144
+ return;
145
+ const { self, participants } = this.meeting;
146
+ (_a = self === null || self === void 0 ? void 0 : self.permissions) === null || _a === void 0 ? void 0 : _a.off('*', this.chatPermissionUpdateListener);
147
+ (_b = participants === null || participants === void 0 ? void 0 : participants.joined) === null || _b === void 0 ? void 0 : _b.off('participantJoined', this.participantJoinedListener);
148
+ (_c = participants === null || participants === void 0 ? void 0 : participants.joined) === null || _c === void 0 ? void 0 : _c.off('participantLeft', this.participantLeftListener);
149
+ }
150
+ overridesChanged(overrides) {
151
+ var _a, _b;
152
+ if (!this.meeting || this.meeting.self)
153
+ return;
154
+ this.showPrivateChat =
155
+ !!(((_a = this.meeting.self.permissions.chatPrivate) === null || _a === void 0 ? void 0 : _a.canSend) ||
156
+ ((_b = this.meeting.self.permissions.chatPrivate) === null || _b === void 0 ? void 0 : _b.canReceive)) && !overrides.disablePrivateChat;
157
+ }
158
+ meetingChanged(meeting, oldMeeting) {
159
+ var _a, _b, _c, _d, _e, _f, _g;
160
+ if (oldMeeting)
161
+ this.disconnectMeeting(oldMeeting);
162
+ if (!meeting || !meeting.chat)
163
+ return;
164
+ this.showPrivateChat =
165
+ !!(((_a = meeting.self.permissions.chatPrivate) === null || _a === void 0 ? void 0 : _a.canSend) ||
166
+ ((_b = meeting.self.permissions.chatPrivate) === null || _b === void 0 ? void 0 : _b.canReceive)) && !this.overrides.disablePrivateChat;
167
+ this.onParticipantUpdate();
168
+ (_c = meeting.chat) === null || _c === void 0 ? void 0 : _c.on('chatUpdate', this.chatUpdateListener);
169
+ meeting.self.permissions.on('*', this.chatPermissionUpdateListener);
170
+ (_e = (_d = meeting === null || meeting === void 0 ? void 0 : meeting.participants) === null || _d === void 0 ? void 0 : _d.joined) === null || _e === void 0 ? void 0 : _e.on('participantJoined', this.participantJoinedListener);
171
+ (_g = (_f = meeting === null || meeting === void 0 ? void 0 : meeting.participants) === null || _f === void 0 ? void 0 : _f.joined) === null || _g === void 0 ? void 0 : _g.on('participantLeft', this.participantLeftListener);
172
+ }
173
+ render() {
174
+ if (!this.showPrivateChat)
175
+ return null;
176
+ return (h(Host, null, h("div", { class: "chat-header", onClick: this.toggle }, h("div", { class: "chat-header-label" }, this.selectedUser ? (h("rtk-icon", { icon: this.iconPack.people, size: "sm" })) : (h("rtk-icon", { icon: this.iconPack.participants, size: "sm" })), !this.selectedUser ? this.t('chat.everyone') : this.selectedUser.name), h("div", { class: "chevron" }, h("rtk-icon", { icon: this.isOpen ? this.iconPack.chevron_up : this.iconPack.chevron_down, size: "sm" }))), h("div", { class: { dropdown: true, open: this.isOpen, scrollbar: true } }, h("div", { class: "public-chat-group-label", onClick: () => this.selectUser(undefined) }, h("div", { class: "public-chat-icon" }, h("rtk-icon", { icon: this.iconPack.participants, size: "sm" })), this.t('chat.everyone')), h("rtk-paginated-list", { class: "chat-selector-paginated-list", ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getParticipants, createNodes: this.createPaticipantNodes, emptyListLabel: this.t('participants.empty_list') }, h("slot", null)))));
177
+ }
178
+ static get watchers() { return {
179
+ "overrides": ["overridesChanged"],
180
+ "meeting": ["meetingChanged"]
181
+ }; }
182
+ static get style() { return RtkChatSelectorStyle0; }
183
+ }, [1, "rtk-chat-selector", {
184
+ "meeting": [16],
185
+ "states": [16],
186
+ "config": [16],
187
+ "iconPack": [16],
188
+ "t": [16],
189
+ "overrides": [16],
190
+ "size": [513],
191
+ "isOpen": [32],
192
+ "showPrivateChat": [32],
193
+ "selectedUser": [32],
194
+ "pageSize": [32],
195
+ "pagesAllowed": [32],
196
+ "unreadMap": [32],
197
+ "close": [64]
198
+ }, undefined, {
199
+ "overrides": ["overridesChanged"],
200
+ "meeting": ["meetingChanged"]
201
+ }]);
202
+ __decorate([
203
+ SyncWithStore()
204
+ ], RtkChatSelector.prototype, "meeting", void 0);
205
+ __decorate([
206
+ SyncWithStore()
207
+ ], RtkChatSelector.prototype, "states", void 0);
208
+ __decorate([
209
+ SyncWithStore()
210
+ ], RtkChatSelector.prototype, "config", void 0);
211
+ __decorate([
212
+ SyncWithStore()
213
+ ], RtkChatSelector.prototype, "iconPack", void 0);
214
+ __decorate([
215
+ SyncWithStore()
216
+ ], RtkChatSelector.prototype, "t", void 0);
217
+ __decorate([
218
+ SyncWithStore()
219
+ ], RtkChatSelector.prototype, "overrides", void 0);
220
+ function defineCustomElement() {
221
+ if (typeof customElements === "undefined") {
222
+ return;
223
+ }
224
+ const components = ["rtk-chat-selector", "rtk-avatar", "rtk-button", "rtk-icon", "rtk-paginated-list", "rtk-spinner"];
225
+ components.forEach(tagName => { switch (tagName) {
226
+ case "rtk-chat-selector":
227
+ if (!customElements.get(tagName)) {
228
+ customElements.define(tagName, RtkChatSelector);
229
+ }
230
+ break;
231
+ case "rtk-avatar":
232
+ if (!customElements.get(tagName)) {
233
+ defineCustomElement$5();
234
+ }
235
+ break;
236
+ case "rtk-button":
237
+ if (!customElements.get(tagName)) {
238
+ defineCustomElement$4();
239
+ }
240
+ break;
241
+ case "rtk-icon":
242
+ if (!customElements.get(tagName)) {
243
+ defineCustomElement$3();
244
+ }
245
+ break;
246
+ case "rtk-paginated-list":
247
+ if (!customElements.get(tagName)) {
248
+ defineCustomElement$2();
249
+ }
250
+ break;
251
+ case "rtk-spinner":
252
+ if (!customElements.get(tagName)) {
253
+ defineCustomElement$1();
254
+ }
255
+ break;
256
+ } });
257
+ }
258
+ defineCustomElement();
259
+
260
+ export { RtkChatSelector as R, defineCustomElement as d };
@@ -1,4 +1,4 @@
1
- import { j as defineProperty, k as isArrayLike, l as isIndex, m as eq, n as getPrototype, o as baseAssignValue, p as copyObject, q as keysIn, r as isArray, s as isBuffer, t as isTypedArray, v as copyArray, w as cloneBuffer, x as cloneTypedArray, y as isArguments, z as isFunction, A as initCloneObject, S as Stack } from './p-e847fee9.js';
1
+ import { j as defineProperty, k as isArrayLike, l as isIndex, m as eq, n as getPrototype, o as baseAssignValue, p as copyObject, q as keysIn, r as isArray, s as isBuffer, t as isTypedArray, v as copyArray, w as cloneBuffer, x as cloneTypedArray, y as isArguments, z as isFunction, A as initCloneObject, S as Stack } from './p-f19b4abc.js';
2
2
  import { i as isObject, a as isObjectLike, b as baseGetTag } from './p-632cbbe7.js';
3
3
 
4
4
  const spacingScale = [
@@ -0,0 +1,86 @@
1
+ import { p as proxyCustomElement, H, h, d as Host } from './p-fdad14c9.js';
2
+ import { d as defineCustomElement$7 } from './p-38ba07d0.js';
3
+ import { d as defineCustomElement$6 } from './p-e229128b.js';
4
+ import { d as defineCustomElement$5 } from './p-528cc24e.js';
5
+ import { d as defineCustomElement$4 } from './p-a3cc7425.js';
6
+ import { d as defineCustomElement$3 } from './p-4a8d69ae.js';
7
+ import { d as defineCustomElement$2 } from './p-6857797f.js';
8
+ import { d as defineCustomElement$1 } from './p-9cf41ab1.js';
9
+
10
+ const rtkChatHeaderCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;width:100%;flex-direction:column;gap:var(--rtk-space-2, 8px);font-size:14px;z-index:10;margin-bottom:var(--rtk-space-2, 8px);box-sizing:border-box;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.chat-header{position:relative;margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);gap:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);display:flex;flex-direction:row;align-items:center;justify-content:space-between;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));border-radius:var(--rtk-border-radius-sm, 4px);overflow:hidden;border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));cursor:pointer}.chat-header-label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px)}";
11
+ const RtkChatHeaderStyle0 = rtkChatHeaderCss;
12
+
13
+ const RtkChatHeader = /*@__PURE__*/ proxyCustomElement(class RtkChatHeader extends H {
14
+ constructor() {
15
+ super();
16
+ this.__registerHost();
17
+ this.__attachShadow();
18
+ this.onPinnedToggle = async (e) => {
19
+ var _a, _b, _c;
20
+ if ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.open) {
21
+ await ((_c = (_b = this.$chatSelector) === null || _b === void 0 ? void 0 : _b.close) === null || _c === void 0 ? void 0 : _c.call(_b));
22
+ }
23
+ };
24
+ this.onChatToggle = async (e) => {
25
+ var _a, _b, _c;
26
+ if ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.open) {
27
+ await ((_c = (_b = this.$pinnedSelector) === null || _b === void 0 ? void 0 : _b.close) === null || _c === void 0 ? void 0 : _c.call(_b));
28
+ }
29
+ };
30
+ }
31
+ render() {
32
+ return (h(Host, { key: 'af9956ff6e693f29fb63a6180ef773a0e64822e5' }, h("rtk-pinned-message-selector", { key: 'b0d9199d02d84453f8ee26c3a47e00c82047e4f6', ref: (el) => (this.$pinnedSelector = el), onRtkDropdownToggle: this.onPinnedToggle }), h("rtk-chat-selector", { key: '4d019562a85ebfeaf4ceae2e99d1b9c8c282127a', ref: (el) => (this.$chatSelector = el), onRtkDropdownToggle: this.onChatToggle })));
33
+ }
34
+ static get style() { return RtkChatHeaderStyle0; }
35
+ }, [1, "rtk-chat-header"]);
36
+ function defineCustomElement() {
37
+ if (typeof customElements === "undefined") {
38
+ return;
39
+ }
40
+ const components = ["rtk-chat-header", "rtk-avatar", "rtk-button", "rtk-chat-selector", "rtk-icon", "rtk-paginated-list", "rtk-pinned-message-selector", "rtk-spinner"];
41
+ components.forEach(tagName => { switch (tagName) {
42
+ case "rtk-chat-header":
43
+ if (!customElements.get(tagName)) {
44
+ customElements.define(tagName, RtkChatHeader);
45
+ }
46
+ break;
47
+ case "rtk-avatar":
48
+ if (!customElements.get(tagName)) {
49
+ defineCustomElement$7();
50
+ }
51
+ break;
52
+ case "rtk-button":
53
+ if (!customElements.get(tagName)) {
54
+ defineCustomElement$6();
55
+ }
56
+ break;
57
+ case "rtk-chat-selector":
58
+ if (!customElements.get(tagName)) {
59
+ defineCustomElement$5();
60
+ }
61
+ break;
62
+ case "rtk-icon":
63
+ if (!customElements.get(tagName)) {
64
+ defineCustomElement$4();
65
+ }
66
+ break;
67
+ case "rtk-paginated-list":
68
+ if (!customElements.get(tagName)) {
69
+ defineCustomElement$3();
70
+ }
71
+ break;
72
+ case "rtk-pinned-message-selector":
73
+ if (!customElements.get(tagName)) {
74
+ defineCustomElement$2();
75
+ }
76
+ break;
77
+ case "rtk-spinner":
78
+ if (!customElements.get(tagName)) {
79
+ defineCustomElement$1();
80
+ }
81
+ break;
82
+ } });
83
+ }
84
+ defineCustomElement();
85
+
86
+ export { RtkChatHeader as R, defineCustomElement as d };
@@ -1,12 +1,12 @@
1
- import { p as proxyCustomElement, H, h } from './p-c3592601.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './p-e847fee9.js';
1
+ import { p as proxyCustomElement, H, h } from './p-fdad14c9.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './p-f19b4abc.js';
3
3
  import './p-a83ccdbd.js';
4
- import { S as SyncWithStore } from './p-6f7c46d2.js';
5
- import { d as defineCustomElement$5 } from './p-241a8245.js';
6
- import { d as defineCustomElement$4 } from './p-1391bef0.js';
7
- import { d as defineCustomElement$3 } from './p-3b29dda1.js';
8
- import { d as defineCustomElement$2 } from './p-4ebf9684.js';
9
- import { d as defineCustomElement$1 } from './p-fb836f65.js';
4
+ import { S as SyncWithStore } from './p-e334e15c.js';
5
+ import { d as defineCustomElement$5 } from './p-38ba07d0.js';
6
+ import { d as defineCustomElement$4 } from './p-e229128b.js';
7
+ import { d as defineCustomElement$3 } from './p-a3cc7425.js';
8
+ import { d as defineCustomElement$2 } from './p-9cf41ab1.js';
9
+ import { d as defineCustomElement$1 } from './p-15156a2c.js';
10
10
 
11
11
  const rtkParticipantsStageQueueCss = ":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{margin-top:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:column;font-size:14px}.stage-requested-participants{margin-bottom:var(--rtk-space-8, 32px)}.stage-requested-participants .bulk-actions{display:flex;gap:var(--rtk-space-2, 8px)}.stage-requested-participants .bulk-actions .accept-all-button{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}.stage-requested-participants .bulk-actions rtk-button{flex:1 1 0%}h3,.heading-count{margin:var(--rtk-space-0, 0px);display:flex;align-items:center;justify-content:center;padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}.heading-count{font-size:14px}.participants{margin-top:var(--rtk-space-2, 8px);padding:var(--rtk-space-0, 0px)}.waiting-participant{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;align-items:center}.waiting-participant .participant-details{margin-right:auto;display:flex;align-items:center}.waiting-participant .participant-details rtk-avatar{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);flex-shrink:0;font-size:14px}.waiting-participant .participant-details .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}@media (min-width: 1080px){.waiting-participant .participant-details .name{max-width:var(--rtk-space-40, 160px)}}.waiting-participant .waitlist-controls{display:flex}.waiting-participant .waitlist-controls rtk-button{margin-left:var(--rtk-space-2, 8px);cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px)}.waiting-participant .waitlist-controls rtk-icon.accept{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}.waiting-participant .waitlist-controls rtk-icon.deny{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";
12
12
  const RtkParticipantsStageQueueStyle0 = rtkParticipantsStageQueueCss;
@@ -1,7 +1,7 @@
1
- import { p as proxyCustomElement, H, h } from './p-c3592601.js';
2
- import { M as MAX_TEXT_LENGTH, p as parseRichText, e as extractReplyBlock, s as stripOutReplyBlock } from './p-dab9d3d6.js';
1
+ import { p as proxyCustomElement, H, h } from './p-fdad14c9.js';
2
+ import { M as MAX_TEXT_LENGTH, p as parseRichText, e as extractReplyBlock, s as stripOutReplyBlock } from './p-0db812c2.js';
3
3
 
4
- const rtkMarkdownViewCss = ":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{overflow-wrap:break-word}a{color:currentColor}.block-quote,blockquote{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px);--tw-border-spacing-x:1px;--tw-border-spacing-y:1px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-top-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-md, 2px);border-right-width:var(--rtk-border-width-none, 0);border-style:solid;padding:var(--rtk-space-0\\.5, 2px);padding-left:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 4px);border-top-left-radius:var(--rtk-border-radius-none, 0);border-bottom-left-radius:var(--rtk-border-radius-none, 0)}pre{white-space:pre-wrap}";
4
+ const rtkMarkdownViewCss = ":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{overflow-wrap:break-word}a{color:currentColor}.block-quote,blockquote{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px);--tw-border-spacing-x:1px;--tw-border-spacing-y:1px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-top-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-md, 2px);border-right-width:var(--rtk-border-width-none, 0);border-style:solid;padding:var(--rtk-space-0\\.5, 2px);padding-left:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 4px);border-top-left-radius:var(--rtk-border-radius-none, 0);border-bottom-left-radius:var(--rtk-border-radius-none, 0)}pre{white-space:pre-wrap;width:300px;margin-right:var(--rtk-space-2, 8px)}.markdown-message{box-sizing:border-box}";
5
5
  const RtkMarkdownViewStyle0 = rtkMarkdownViewCss;
6
6
 
7
7
  const RtkMarkdownView = /*@__PURE__*/ proxyCustomElement(class RtkMarkdownView extends H {
@@ -83,7 +83,7 @@ const RtkMarkdownView = /*@__PURE__*/ proxyCustomElement(class RtkMarkdownView e
83
83
  const slicedMessage = this.text.slice(0, this.maxLength);
84
84
  const withReply = extractReplyBlock(slicedMessage, true);
85
85
  const withoutReply = stripOutReplyBlock(slicedMessage);
86
- return (h("p", { key: '787e6d3177f4faf1c8dcd7c73d83a6de9c57b42b' }, withReply.length !== 0 && h("blockquote", { key: '1c4b82fb870994e6707d35adcd5e6f2f0e65dd26' }, this.renderMessage(withReply)), withoutReply.length !== 0 && this.renderMessage(withoutReply)));
86
+ return (h("p", { key: 'b4114b74658b0311835f31ea387e47ef9323ef4f', class: "markdown-message" }, withReply.length !== 0 && h("blockquote", { key: 'cc726294f8b71999f6fa48442b40419f17e3c049' }, this.renderMessage(withReply)), withoutReply.length !== 0 && this.renderMessage(withoutReply)));
87
87
  }
88
88
  static get style() { return RtkMarkdownViewStyle0; }
89
89
  }, [1, "rtk-markdown-view", {