@cloudflare/realtimekit-ui 1.0.9-staging.1 → 1.0.9-staging.3

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 (683) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/ChatHead-e13f3b0e.js +13 -0
  3. package/dist/cjs/{TextMessage-23aacf34.js → TextMessage-7bb3e1fd.js} +1 -1
  4. package/dist/cjs/{chat-e37da504.js → chat-717e517d.js} +2 -2
  5. package/dist/cjs/{notification-822d615a.js → config-8c9ac89a.js} +2 -37
  6. package/dist/cjs/{ChatHead-6416d6cf.js → date-61ffcd0a.js} +0 -10
  7. package/dist/cjs/{debounce-5ee900cc.js → debounce-a3e0d9e7.js} +1 -1
  8. package/dist/cjs/index-05554ce6.js +62 -2
  9. package/dist/cjs/{index-fb18156f.js → index-8d07e125.js} +1 -1
  10. package/dist/cjs/index.cjs.js +13 -12
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/{merge-ca0928c5.js → merge-73e2770b.js} +1 -1
  13. package/dist/cjs/notification-567fe887.js +39 -0
  14. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  15. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  16. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +4 -3
  17. package/dist/cjs/rtk-ai.cjs.entry.js +2 -2
  18. package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
  19. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  20. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +2 -2
  21. package/dist/cjs/rtk-avatar_24.cjs.entry.js +2568 -0
  22. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +397 -0
  23. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +986 -0
  24. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  25. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  26. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  27. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  28. package/dist/cjs/rtk-channel-creator.cjs.entry.js +163 -0
  29. package/dist/cjs/rtk-channel-details.cjs.entry.js +49 -0
  30. package/dist/cjs/rtk-channel-header.cjs.entry.js +83 -0
  31. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +6 -6
  32. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  33. package/dist/cjs/rtk-chat-message.cjs.entry.js +118 -0
  34. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +200 -0
  35. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +57 -0
  36. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  37. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +10 -14
  38. package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
  39. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
  40. package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +686 -0
  42. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +154 -0
  44. package/dist/cjs/rtk-dialog.cjs.entry.js +93 -0
  45. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
  47. package/dist/cjs/rtk-file-message_3.cjs.entry.js +148 -0
  48. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  49. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  51. package/dist/cjs/rtk-header.cjs.entry.js +2 -2
  52. package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
  53. package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
  54. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
  55. package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  58. package/dist/cjs/rtk-logo.cjs.entry.js +77 -0
  59. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  60. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  61. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  62. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  63. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  64. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  65. package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
  66. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  67. package/dist/cjs/rtk-notification.cjs.entry.js +71 -0
  68. package/dist/cjs/rtk-notifications.cjs.entry.js +588 -0
  69. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  70. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  71. package/dist/cjs/rtk-participant_2.cjs.entry.js +3 -3
  72. package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
  73. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
  74. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
  75. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  76. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  77. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
  78. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
  79. package/dist/cjs/rtk-plugins_2.cjs.entry.js +2 -2
  80. package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
  81. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
  82. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
  83. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  84. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  85. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +2 -2
  86. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  87. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
  88. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  89. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  90. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  91. package/dist/cjs/rtk-sidebar.cjs.entry.js +4 -4
  92. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  93. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  94. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  95. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  96. package/dist/cjs/rtk-stage.cjs.entry.js +2 -2
  97. package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
  98. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  99. package/dist/cjs/rtk-ui-provider.cjs.entry.js +2 -2
  100. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
  101. package/dist/cjs/{sidebar-89748c6c.js → sidebar-2ad915b1.js} +1 -1
  102. package/dist/cjs/{ui-store-e096fdc6.js → ui-store-1cb28da8.js} +72 -79
  103. package/dist/collection/components/rtk-ai/rtk-ai.js +1 -1
  104. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +1 -1
  105. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  106. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  107. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +2 -2
  108. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +2 -2
  109. package/dist/collection/components/rtk-avatar/rtk-avatar.js +2 -2
  110. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +7 -11
  111. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +1 -1
  112. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +2 -2
  113. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +2 -2
  114. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +1 -1
  115. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +1 -1
  116. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +1 -1
  117. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +1 -1
  118. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +6 -3
  119. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +3 -2
  120. package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +2 -1
  121. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +6 -3
  122. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +3 -3
  123. package/dist/collection/components/rtk-chat/rtk-chat.js +7 -104
  124. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +1 -1
  125. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +1 -1
  126. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +4 -3
  127. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +14 -5
  128. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +5 -3
  129. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +3 -2
  130. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +1 -1
  131. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +7 -9
  132. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  133. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  134. package/dist/collection/components/rtk-counter/rtk-counter.js +1 -1
  135. package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
  136. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +1 -1
  137. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +1 -1
  138. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +1 -1
  139. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  140. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +1 -1
  141. package/dist/collection/components/rtk-dialog/rtk-dialog.js +1 -1
  142. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +1 -7
  143. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  144. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  145. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  146. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +1 -1
  147. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  148. package/dist/collection/components/rtk-file-message/rtk-file-message.js +4 -3
  149. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +2 -2
  150. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +1 -1
  151. package/dist/collection/components/rtk-grid/rtk-grid.js +1 -1
  152. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
  153. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  154. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  155. package/dist/collection/components/rtk-image-message/rtk-image-message.js +6 -5
  156. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +1 -1
  157. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  158. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
  159. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  160. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +1 -1
  161. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
  162. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
  163. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +1 -1
  164. package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
  165. package/dist/collection/components/rtk-meeting/rtk-meeting.js +1 -1
  166. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +1 -1
  167. package/dist/collection/components/rtk-menu/rtk-menu.js +1 -1
  168. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  169. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  170. package/dist/collection/components/rtk-message-view/rtk-message-view.css +26 -12
  171. package/dist/collection/components/rtk-message-view/rtk-message-view.js +23 -1
  172. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +1 -1
  173. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +1 -1
  174. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +1 -1
  175. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +1 -1
  176. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +1 -1
  177. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  178. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +2 -2
  179. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +2 -2
  180. package/dist/collection/components/rtk-notification/rtk-notification.js +1 -1
  181. package/dist/collection/components/rtk-notifications/rtk-notifications.js +1 -1
  182. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  183. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +2 -1
  184. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +4 -20
  185. package/dist/collection/components/rtk-participant/rtk-participant.js +2 -2
  186. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
  187. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
  188. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +3 -3
  189. package/dist/collection/components/rtk-participants/rtk-participants.js +1 -1
  190. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  191. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  192. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +1 -1
  193. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +1 -1
  194. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +1 -1
  195. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +1 -1
  196. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  197. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +1 -1
  198. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
  199. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  200. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
  201. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  202. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +1 -1
  203. package/dist/collection/components/rtk-polls/rtk-polls.js +1 -1
  204. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +1 -1
  205. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  206. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +1 -1
  207. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +1 -1
  208. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +2 -2
  209. package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
  210. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
  211. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  212. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +1 -1
  213. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
  214. package/dist/collection/components/rtk-sidebar/rtk-sidebar.css +2 -0
  215. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +1 -1
  216. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +1 -1
  217. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
  218. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +1 -1
  219. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +1 -1
  220. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
  221. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  222. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
  223. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  224. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
  225. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  226. package/dist/collection/components/rtk-text-message/rtk-text-message.js +4 -3
  227. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  228. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
  229. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
  230. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
  231. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
  232. package/dist/collection/utils/chat.js +1 -1
  233. package/dist/collection/utils/flags.js +1 -7
  234. package/dist/components/index.js +7 -7
  235. package/dist/components/{p-c7ca0840.js → p-013ffc19.js} +3 -3
  236. package/dist/components/{p-cfbd1c8a.js → p-024ef28a.js} +2 -2
  237. package/dist/components/{p-7827c27d.js → p-027ec380.js} +6 -6
  238. package/dist/components/{p-d926df40.js → p-06e20f42.js} +2 -2
  239. package/dist/components/{p-9db751ca.js → p-08382c59.js} +5 -5
  240. package/dist/components/{p-dcb240cb.js → p-0bbd0056.js} +2 -2
  241. package/dist/components/{p-9cc8f284.js → p-102b6df8.js} +2 -2
  242. package/dist/components/{p-517eed51.js → p-121e073d.js} +2 -2
  243. package/dist/components/{p-bcd9ae7c.js → p-1f320625.js} +48 -325
  244. package/dist/components/{p-bdb2d1f9.js → p-244cbe7b.js} +2 -2
  245. package/dist/components/{p-073066d9.js → p-2508ac98.js} +2 -2
  246. package/dist/components/{p-b3f547d5.js → p-2590f470.js} +3 -3
  247. package/dist/components/{p-59bdb49b.js → p-25ca06f2.js} +2 -2
  248. package/dist/components/{p-4ac416da.js → p-27fea689.js} +4 -4
  249. package/dist/components/{p-5183c437.js → p-2d08ab28.js} +2 -2
  250. package/dist/components/{p-68ea23a4.js → p-2ea7652f.js} +2 -2
  251. package/dist/components/{p-8aa0a20a.js → p-30ac9705.js} +6 -21
  252. package/dist/components/{p-750e6dd1.js → p-31c44fed.js} +6 -6
  253. package/dist/components/{p-c46fca60.js → p-32609f9f.js} +12 -9
  254. package/dist/components/{p-0599a377.js → p-32bf6a44.js} +4 -4
  255. package/dist/components/{p-a05c75f3.js → p-335f937c.js} +2 -2
  256. package/dist/components/{p-f7bea1a7.js → p-33a87325.js} +2 -2
  257. package/dist/components/{p-a960414f.js → p-3d3fa677.js} +2 -2
  258. package/dist/components/{p-a3948b63.js → p-3fa8f1e1.js} +2 -2
  259. package/dist/components/{p-bbe38af7.js → p-47c25f64.js} +1 -1
  260. package/dist/components/{p-e16baa62.js → p-498c01a6.js} +2 -2
  261. package/dist/components/{p-aceb63f7.js → p-4b542718.js} +2 -2
  262. package/dist/components/{p-4db644b9.js → p-4c7f1a19.js} +2 -2
  263. package/dist/components/{p-3de94128.js → p-51de7af3.js} +1 -1
  264. package/dist/components/{p-cc3e758a.js → p-52d1525c.js} +2 -2
  265. package/dist/components/{p-f5f0b499.js → p-560e7a4f.js} +1 -1
  266. package/dist/components/{p-93e1439e.js → p-566c1155.js} +1 -1
  267. package/dist/components/{p-9c762c7c.js → p-5b03154d.js} +3 -3
  268. package/dist/components/{p-21caffae.js → p-5f26bba3.js} +2 -2
  269. package/dist/components/{p-42672814.js → p-63953295.js} +2 -2
  270. package/dist/components/{p-f92f9ef2.js → p-6756b222.js} +2 -2
  271. package/dist/components/{p-53ff409b.js → p-68c9100f.js} +2 -2
  272. package/dist/components/{p-34688fcf.js → p-6c1b380d.js} +12 -12
  273. package/dist/components/{p-00d593e1.js → p-6cbaf90a.js} +2 -2
  274. package/dist/components/{p-4163391e.js → p-6eabd1ad.js} +3 -3
  275. package/dist/components/{p-92738209.js → p-6f340109.js} +1 -1
  276. package/dist/components/{p-ba1f008f.js → p-724074c4.js} +5 -5
  277. package/dist/components/{p-82b52967.js → p-7481511c.js} +2 -2
  278. package/dist/components/{p-6f1af797.js → p-78b61cce.js} +1 -1
  279. package/dist/components/{p-f45ff21a.js → p-7a322c43.js} +3 -3
  280. package/dist/components/{p-bf700149.js → p-7fc0dc2f.js} +73 -79
  281. package/dist/components/{p-e727691a.js → p-82c678d6.js} +7 -7
  282. package/dist/components/{p-4a194b9f.js → p-82f8c924.js} +2 -2
  283. package/dist/components/{p-b15d2763.js → p-84e5b453.js} +2 -2
  284. package/dist/components/{p-0a74af4f.js → p-88e50eea.js} +17 -15
  285. package/dist/components/{p-a234bf1a.js → p-97e1e186.js} +2 -2
  286. package/dist/components/{p-ac19035c.js → p-9c2c0760.js} +7 -7
  287. package/dist/components/{p-26a20701.js → p-9e87b2c9.js} +2 -2
  288. package/dist/components/{p-4d154773.js → p-9fd18352.js} +2 -2
  289. package/dist/components/{p-c46abf5d.js → p-a0c8422f.js} +4 -4
  290. package/dist/components/{p-484bc00f.js → p-a10b9faa.js} +2 -2
  291. package/dist/components/{p-0ebf838c.js → p-a159952c.js} +2 -2
  292. package/dist/components/{p-dbdc62e6.js → p-a29c01fc.js} +2 -2
  293. package/dist/components/{p-54c33b11.js → p-a4b26604.js} +4 -4
  294. package/dist/components/{p-a2f4f9e3.js → p-aae4c250.js} +1 -1
  295. package/dist/components/{p-8c5e42ea.js → p-afe77b50.js} +2 -2
  296. package/dist/components/{p-9645c983.js → p-b1338b4f.js} +3 -3
  297. package/dist/components/{p-47230f49.js → p-b397a600.js} +10 -14
  298. package/dist/components/{p-8dd72d80.js → p-b6ee1a32.js} +2 -2
  299. package/dist/components/{p-00cddac4.js → p-b762cf1e.js} +11 -11
  300. package/dist/components/{p-3260a0fe.js → p-bb8f2597.js} +6 -6
  301. package/dist/components/{p-bfd30b77.js → p-be9fe914.js} +7 -7
  302. package/dist/components/{p-176c5195.js → p-c078ae06.js} +2 -2
  303. package/dist/components/{p-00b48a12.js → p-c07e3e6d.js} +2 -2
  304. package/dist/components/{p-221a4186.js → p-c515acba.js} +2 -2
  305. package/dist/components/{p-61e6e7be.js → p-cf503999.js} +2 -2
  306. package/dist/components/{p-66eda965.js → p-d06d1eac.js} +2 -2
  307. package/dist/components/{p-0abe4b8a.js → p-dab9d3d6.js} +1 -1
  308. package/dist/components/{p-58e7fbf9.js → p-e48cd596.js} +4 -4
  309. package/dist/components/{p-963afa79.js → p-e732b5ee.js} +4 -4
  310. package/dist/components/{p-e248d815.js → p-e87b68de.js} +5 -5
  311. package/dist/components/{p-1425697e.js → p-eb7df0eb.js} +6 -6
  312. package/dist/components/{p-1fb97660.js → p-ef71b75e.js} +5 -5
  313. package/dist/components/{p-1d32657e.js → p-fa7412e2.js} +2 -2
  314. package/dist/components/{p-23ab84b1.js → p-fc21299d.js} +2 -2
  315. package/dist/components/{p-2ecff14a.js → p-fdb67d1f.js} +2 -2
  316. package/dist/components/rtk-ai-toggle.js +4 -4
  317. package/dist/components/rtk-ai-transcriptions.js +1 -1
  318. package/dist/components/rtk-ai.js +3 -3
  319. package/dist/components/rtk-audio-grid.js +2 -2
  320. package/dist/components/rtk-audio-tile.js +5 -5
  321. package/dist/components/rtk-audio-visualizer.js +1 -1
  322. package/dist/components/rtk-avatar.js +1 -1
  323. package/dist/components/rtk-breakout-room-manager.js +1 -1
  324. package/dist/components/rtk-breakout-room-participants.js +1 -1
  325. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  326. package/dist/components/rtk-breakout-rooms-toggle.js +4 -4
  327. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  328. package/dist/components/rtk-camera-selector.js +1 -1
  329. package/dist/components/rtk-camera-toggle.js +4 -4
  330. package/dist/components/rtk-caption-toggle.js +4 -4
  331. package/dist/components/rtk-channel-creator.js +209 -1
  332. package/dist/components/rtk-channel-details.js +1 -1
  333. package/dist/components/rtk-channel-header.js +146 -1
  334. package/dist/components/rtk-channel-selector-ui.js +7 -7
  335. package/dist/components/rtk-channel-selector-view.js +1 -1
  336. package/dist/components/rtk-chat-composer-ui.js +6 -6
  337. package/dist/components/rtk-chat-composer-view.js +1 -1
  338. package/dist/components/rtk-chat-message.js +1 -1
  339. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  340. package/dist/components/rtk-chat-messages-ui.js +302 -1
  341. package/dist/components/rtk-chat-search-results.js +146 -1
  342. package/dist/components/rtk-chat-selector-ui.js +3 -3
  343. package/dist/components/rtk-chat-toggle.js +12 -16
  344. package/dist/components/rtk-chat.js +1 -1
  345. package/dist/components/rtk-clock.js +2 -2
  346. package/dist/components/rtk-confirmation-modal.js +1 -1
  347. package/dist/components/rtk-controlbar-button.js +1 -1
  348. package/dist/components/rtk-controlbar.js +2 -2
  349. package/dist/components/rtk-counter.js +1 -1
  350. package/dist/components/rtk-debugger-audio.js +1 -1
  351. package/dist/components/rtk-debugger-screenshare.js +1 -1
  352. package/dist/components/rtk-debugger-system.js +1 -1
  353. package/dist/components/rtk-debugger-toggle.js +4 -4
  354. package/dist/components/rtk-debugger-video.js +1 -1
  355. package/dist/components/rtk-debugger.js +1 -1
  356. package/dist/components/rtk-dialog-manager.js +305 -1
  357. package/dist/components/rtk-dialog.js +1 -1
  358. package/dist/components/rtk-draft-attachment-view.js +1 -1
  359. package/dist/components/rtk-emoji-picker-button.js +1 -1
  360. package/dist/components/rtk-emoji-picker.js +1 -1
  361. package/dist/components/rtk-ended-screen.js +3 -3
  362. package/dist/components/rtk-file-dropzone.js +2 -2
  363. package/dist/components/rtk-file-message-view.js +1 -1
  364. package/dist/components/rtk-file-message.js +1 -1
  365. package/dist/components/rtk-file-picker-button.js +1 -1
  366. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  367. package/dist/components/rtk-grid-pagination.js +2 -2
  368. package/dist/components/rtk-grid.js +8 -8
  369. package/dist/components/rtk-header.js +2 -2
  370. package/dist/components/rtk-idle-screen.js +4 -4
  371. package/dist/components/rtk-image-message-view.js +1 -1
  372. package/dist/components/rtk-image-message.js +1 -1
  373. package/dist/components/rtk-image-viewer.js +2 -2
  374. package/dist/components/rtk-information-tooltip.js +2 -2
  375. package/dist/components/rtk-join-stage.js +1 -1
  376. package/dist/components/rtk-leave-button.js +4 -4
  377. package/dist/components/rtk-leave-meeting.js +1 -1
  378. package/dist/components/rtk-livestream-indicator.js +1 -1
  379. package/dist/components/rtk-livestream-player.js +1 -1
  380. package/dist/components/rtk-livestream-toggle.js +4 -4
  381. package/dist/components/rtk-logo.js +1 -1
  382. package/dist/components/rtk-markdown-view.js +1 -1
  383. package/dist/components/rtk-meeting-title.js +2 -2
  384. package/dist/components/rtk-meeting.js +46 -226
  385. package/dist/components/rtk-menu-item.js +1 -1
  386. package/dist/components/rtk-menu-list.js +1 -1
  387. package/dist/components/rtk-menu.js +1 -1
  388. package/dist/components/rtk-message-list-view.js +3 -3
  389. package/dist/components/rtk-message-view.js +1 -1
  390. package/dist/components/rtk-mic-toggle.js +4 -4
  391. package/dist/components/rtk-microphone-selector.js +1 -1
  392. package/dist/components/rtk-mixed-grid.js +5 -5
  393. package/dist/components/rtk-more-toggle.js +4 -4
  394. package/dist/components/rtk-mute-all-button.js +4 -4
  395. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  396. package/dist/components/rtk-name-tag.js +1 -1
  397. package/dist/components/rtk-network-indicator.js +2 -2
  398. package/dist/components/rtk-notification.js +1 -1
  399. package/dist/components/rtk-notifications.js +629 -1
  400. package/dist/components/rtk-overlay-modal.js +1 -1
  401. package/dist/components/rtk-paginated-list.js +1 -1
  402. package/dist/components/rtk-participant-count.js +2 -2
  403. package/dist/components/rtk-participant-setup.js +2 -2
  404. package/dist/components/rtk-participant-tile.js +1 -1
  405. package/dist/components/rtk-participant.js +1 -1
  406. package/dist/components/rtk-participants-audio.js +3 -3
  407. package/dist/components/rtk-participants-stage-list.js +1 -1
  408. package/dist/components/rtk-participants-stage-queue.js +1 -1
  409. package/dist/components/rtk-participants-toggle.js +5 -5
  410. package/dist/components/rtk-participants-viewer-list.js +1 -1
  411. package/dist/components/rtk-participants-waiting-list.js +1 -1
  412. package/dist/components/rtk-participants.js +12 -12
  413. package/dist/components/rtk-permissions-message.js +1 -1
  414. package/dist/components/rtk-pip-toggle.js +4 -4
  415. package/dist/components/rtk-plugin-main.js +1 -1
  416. package/dist/components/rtk-plugins-toggle.js +5 -5
  417. package/dist/components/rtk-plugins.js +1 -1
  418. package/dist/components/rtk-poll-form.js +1 -1
  419. package/dist/components/rtk-poll.js +1 -1
  420. package/dist/components/rtk-polls-toggle.js +5 -5
  421. package/dist/components/rtk-polls.js +1 -1
  422. package/dist/components/rtk-recording-indicator.js +2 -2
  423. package/dist/components/rtk-recording-toggle.js +4 -4
  424. package/dist/components/rtk-screen-share-toggle.js +4 -4
  425. package/dist/components/rtk-screenshare-view.js +2 -2
  426. package/dist/components/rtk-settings-audio.js +1 -1
  427. package/dist/components/rtk-settings-toggle.js +4 -4
  428. package/dist/components/rtk-settings-video.js +1 -1
  429. package/dist/components/rtk-settings.js +10 -10
  430. package/dist/components/rtk-setup-screen.js +6 -6
  431. package/dist/components/rtk-sidebar-ui.js +1 -1
  432. package/dist/components/rtk-sidebar.js +9 -9
  433. package/dist/components/rtk-simple-grid.js +2 -2
  434. package/dist/components/rtk-speaker-selector.js +1 -1
  435. package/dist/components/rtk-spinner.js +1 -1
  436. package/dist/components/rtk-spotlight-grid.js +2 -2
  437. package/dist/components/rtk-spotlight-indicator.js +1 -1
  438. package/dist/components/rtk-stage-toggle.js +4 -4
  439. package/dist/components/rtk-stage.js +2 -2
  440. package/dist/components/rtk-switch.js +1 -1
  441. package/dist/components/rtk-tab-bar.js +1 -1
  442. package/dist/components/rtk-text-composer-view.js +1 -1
  443. package/dist/components/rtk-text-message-view.js +1 -1
  444. package/dist/components/rtk-text-message.js +1 -1
  445. package/dist/components/rtk-transcript.js +1 -1
  446. package/dist/components/rtk-transcripts.js +3 -3
  447. package/dist/components/rtk-ui-provider.js +2 -2
  448. package/dist/components/rtk-viewer-count.js +1 -1
  449. package/dist/components/rtk-waiting-screen.js +3 -3
  450. package/dist/docs/docs-components.json +2362 -2606
  451. package/dist/docs/docs-vscode.json +17 -13
  452. package/dist/esm/ChatHead-15c2f8d4.js +11 -0
  453. package/dist/esm/{TextMessage-5f73acf3.js → TextMessage-ca92045e.js} +1 -1
  454. package/dist/esm/{chat-d13dedd6.js → chat-ff185374.js} +2 -2
  455. package/dist/esm/{notification-b6d024c7.js → config-e684aa4d.js} +3 -37
  456. package/dist/esm/{ChatHead-11b92a26.js → date-b1f78dea.js} +1 -10
  457. package/dist/esm/{debounce-6e6d522e.js → debounce-3ea4df36.js} +1 -1
  458. package/dist/esm/{file-849468c1.js → file-6114f1a9.js} +1 -1
  459. package/dist/esm/index-c1fb98bb.js +62 -2
  460. package/dist/esm/{index-e1ee8258.js → index-e65afca5.js} +1 -1
  461. package/dist/esm/index.js +7 -6
  462. package/dist/esm/loader.js +13463 -13501
  463. package/dist/esm/{merge-783d3076.js → merge-7ffc04b3.js} +1 -1
  464. package/dist/esm/notification-78afaabf.js +37 -0
  465. package/dist/esm/realtimekit-ui.js +1 -1
  466. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  467. package/dist/esm/rtk-ai-transcriptions.entry.js +5 -4
  468. package/dist/esm/rtk-ai.entry.js +2 -2
  469. package/dist/esm/rtk-audio-grid.entry.js +2 -2
  470. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  471. package/dist/esm/rtk-audio-visualizer_4.entry.js +2 -2
  472. package/dist/esm/rtk-avatar_24.entry.js +2541 -0
  473. package/dist/esm/rtk-breakout-room-manager_3.entry.js +391 -0
  474. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +974 -0
  475. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  476. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  477. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  478. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  479. package/dist/{components/p-9de3508b.js → esm/rtk-channel-creator.entry.js} +12 -64
  480. package/dist/esm/rtk-channel-details.entry.js +45 -0
  481. package/dist/{components/p-5d3d3990.js → esm/rtk-channel-header.entry.js} +9 -78
  482. package/dist/esm/rtk-channel-selector-ui.entry.js +6 -6
  483. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  484. package/dist/esm/rtk-chat-message.entry.js +114 -0
  485. package/dist/{components/p-2e3b02b3.js → esm/rtk-chat-messages-ui.entry.js} +14 -122
  486. package/dist/esm/rtk-chat-search-results.entry.js +53 -0
  487. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  488. package/dist/esm/rtk-chat-toggle.entry.js +10 -14
  489. package/dist/esm/rtk-clock.entry.js +2 -2
  490. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  491. package/dist/esm/rtk-controlbar.entry.js +2 -2
  492. package/dist/esm/rtk-debugger-audio_4.entry.js +679 -0
  493. package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
  494. package/dist/{components/p-99a61e45.js → esm/rtk-dialog-manager.entry.js} +10 -179
  495. package/dist/esm/rtk-dialog.entry.js +89 -0
  496. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  497. package/dist/esm/rtk-file-dropzone.entry.js +2 -2
  498. package/dist/esm/rtk-file-message_3.entry.js +142 -0
  499. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  500. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  501. package/dist/esm/rtk-grid.entry.js +2 -2
  502. package/dist/esm/rtk-header.entry.js +2 -2
  503. package/dist/esm/rtk-idle-screen.entry.js +2 -2
  504. package/dist/esm/rtk-image-viewer.entry.js +4 -4
  505. package/dist/esm/rtk-information-tooltip.entry.js +2 -2
  506. package/dist/esm/rtk-leave-button.entry.js +2 -2
  507. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  508. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  509. package/dist/esm/rtk-logo.entry.js +73 -0
  510. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  511. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  512. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  513. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  514. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  515. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  516. package/dist/esm/rtk-name-tag.entry.js +3 -3
  517. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  518. package/dist/esm/rtk-notification.entry.js +67 -0
  519. package/dist/{components/p-2ec901a0.js → esm/rtk-notifications.entry.js} +13 -60
  520. package/dist/esm/rtk-participant-count.entry.js +2 -2
  521. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  522. package/dist/esm/rtk-participant_2.entry.js +4 -4
  523. package/dist/esm/rtk-participants-audio.entry.js +2 -2
  524. package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
  525. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  526. package/dist/esm/rtk-participants.entry.js +3 -3
  527. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  528. package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
  529. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  530. package/dist/esm/rtk-plugins_2.entry.js +2 -2
  531. package/dist/esm/rtk-poll_2.entry.js +3 -3
  532. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  533. package/dist/esm/rtk-recording-indicator.entry.js +2 -2
  534. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  535. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  536. package/dist/esm/rtk-screenshare-view.entry.js +2 -2
  537. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  538. package/dist/esm/rtk-settings-toggle.entry.js +2 -2
  539. package/dist/esm/rtk-settings.entry.js +2 -2
  540. package/dist/esm/rtk-setup-screen.entry.js +3 -3
  541. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  542. package/dist/esm/rtk-sidebar.entry.js +4 -4
  543. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  544. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  545. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  546. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  547. package/dist/esm/rtk-stage.entry.js +2 -2
  548. package/dist/esm/rtk-transcript.entry.js +2 -2
  549. package/dist/esm/rtk-transcripts.entry.js +2 -2
  550. package/dist/esm/rtk-ui-provider.entry.js +2 -2
  551. package/dist/esm/rtk-waiting-screen.entry.js +2 -2
  552. package/dist/esm/{sidebar-11ec6514.js → sidebar-030fff49.js} +1 -1
  553. package/dist/esm/{string-5e8dab07.js → string-068ce30a.js} +1 -1
  554. package/dist/esm/{ui-store-db94a9fe.js → ui-store-9e486e1b.js} +73 -79
  555. package/dist/realtimekit-ui/index.esm.js +1 -1
  556. package/dist/realtimekit-ui/{p-02c21f58.entry.js → p-013ae8ca.entry.js} +1 -1
  557. package/dist/realtimekit-ui/{p-072435bb.entry.js → p-0689d68b.entry.js} +1 -1
  558. package/dist/realtimekit-ui/{p-b6b382fb.js → p-084b6f30.js} +1 -1
  559. package/dist/realtimekit-ui/{p-02af251d.entry.js → p-0898c8ee.entry.js} +1 -1
  560. package/dist/realtimekit-ui/{p-68b7d8b8.entry.js → p-09869644.entry.js} +1 -1
  561. package/dist/realtimekit-ui/{p-c2ee481a.entry.js → p-11c964cf.entry.js} +1 -1
  562. package/dist/realtimekit-ui/{p-30f406f2.entry.js → p-124eb1c7.entry.js} +1 -1
  563. package/dist/realtimekit-ui/{p-2158fcad.js → p-12e4cb4a.js} +1 -1
  564. package/dist/realtimekit-ui/{p-b8b1abc1.entry.js → p-158b1b0c.entry.js} +1 -1
  565. package/dist/realtimekit-ui/{p-f79c9388.entry.js → p-17c6d2fa.entry.js} +1 -1
  566. package/dist/realtimekit-ui/{p-695de0a5.entry.js → p-2b373e53.entry.js} +1 -1
  567. package/dist/realtimekit-ui/p-2d7b969d.entry.js +1 -0
  568. package/dist/realtimekit-ui/{p-fd9eecef.entry.js → p-32030329.entry.js} +1 -1
  569. package/dist/realtimekit-ui/p-3369f405.entry.js +1 -0
  570. package/dist/realtimekit-ui/p-382270d8.js +1 -0
  571. package/dist/realtimekit-ui/{p-55db56a1.entry.js → p-38aec474.entry.js} +1 -1
  572. package/dist/realtimekit-ui/{p-13b16cf1.entry.js → p-3a325310.entry.js} +1 -1
  573. package/dist/realtimekit-ui/{p-66923aef.entry.js → p-3b8de127.entry.js} +1 -1
  574. package/dist/realtimekit-ui/{p-ba7da0d6.entry.js → p-3d0c4257.entry.js} +1 -1
  575. package/dist/realtimekit-ui/{p-6d0a4f84.entry.js → p-3e02ec0b.entry.js} +1 -1
  576. package/dist/realtimekit-ui/p-40be18ee.js +1 -0
  577. package/dist/realtimekit-ui/{p-e8b1dd81.entry.js → p-4554a674.entry.js} +1 -1
  578. package/dist/realtimekit-ui/p-474ba04f.entry.js +1 -0
  579. package/dist/realtimekit-ui/p-487e808a.entry.js +1 -0
  580. package/dist/realtimekit-ui/p-4ab26f1f.entry.js +1 -0
  581. package/dist/realtimekit-ui/{p-b026c868.entry.js → p-4eba1baa.entry.js} +1 -1
  582. package/dist/realtimekit-ui/p-50157a65.entry.js +1 -0
  583. package/dist/realtimekit-ui/p-51e949d6.entry.js +1 -0
  584. package/dist/realtimekit-ui/{p-2e3dfcc9.entry.js → p-53ac3d30.entry.js} +1 -1
  585. package/dist/realtimekit-ui/{p-7adbebd6.entry.js → p-54a31e02.entry.js} +1 -1
  586. package/dist/realtimekit-ui/{p-1667420d.entry.js → p-5a2d8313.entry.js} +1 -1
  587. package/dist/realtimekit-ui/p-5b2d97fc.js +1 -0
  588. package/dist/realtimekit-ui/{p-2ce32db5.entry.js → p-5bbfdabe.entry.js} +1 -1
  589. package/dist/realtimekit-ui/p-60a29b69.entry.js +1 -0
  590. package/dist/realtimekit-ui/{p-36ac26b8.entry.js → p-60b39e38.entry.js} +1 -1
  591. package/dist/realtimekit-ui/{p-8aa0ba79.entry.js → p-61d3f74f.entry.js} +1 -1
  592. package/dist/realtimekit-ui/{p-bcd4a3a3.entry.js → p-62e0a141.entry.js} +1 -1
  593. package/dist/realtimekit-ui/{p-6fd30714.entry.js → p-643194e4.entry.js} +1 -1
  594. package/dist/realtimekit-ui/p-6a45f305.js +1 -0
  595. package/dist/realtimekit-ui/{p-8ce4ce1e.entry.js → p-6adb2de4.entry.js} +1 -1
  596. package/dist/realtimekit-ui/{p-efabd2ce.js → p-6f211c3e.js} +1 -1
  597. package/dist/realtimekit-ui/{p-af6545ce.entry.js → p-74e1b5a6.entry.js} +1 -1
  598. package/dist/realtimekit-ui/p-7786e9a7.entry.js +1 -0
  599. package/dist/realtimekit-ui/{p-02e2abe9.entry.js → p-77e04fb7.entry.js} +1 -1
  600. package/dist/realtimekit-ui/{p-ded15279.entry.js → p-788f26c4.entry.js} +1 -1
  601. package/dist/realtimekit-ui/p-78d19559.entry.js +1 -0
  602. package/dist/realtimekit-ui/{p-f547518b.entry.js → p-7b999408.entry.js} +1 -1
  603. package/dist/realtimekit-ui/{p-09c73782.js → p-80c856cd.js} +1 -1
  604. package/dist/realtimekit-ui/{p-99b12b35.entry.js → p-871d8fbf.entry.js} +1 -1
  605. package/dist/realtimekit-ui/{p-24e68e61.entry.js → p-882d07c9.entry.js} +1 -1
  606. package/dist/realtimekit-ui/{p-601b236f.entry.js → p-8b189438.entry.js} +1 -1
  607. package/dist/realtimekit-ui/{p-5c98d979.entry.js → p-8c55a630.entry.js} +1 -1
  608. package/dist/realtimekit-ui/{p-94478817.entry.js → p-8f512d69.entry.js} +1 -1
  609. package/dist/realtimekit-ui/{p-87bc8bbd.js → p-91ea043c.js} +1 -1
  610. package/dist/realtimekit-ui/{p-141c5a96.js → p-91fd286c.js} +1 -1
  611. package/dist/realtimekit-ui/p-930f0255.entry.js +1 -0
  612. package/dist/realtimekit-ui/p-93b84c22.js +1 -0
  613. package/dist/realtimekit-ui/{p-388ea8ba.entry.js → p-941f159e.entry.js} +1 -1
  614. package/dist/realtimekit-ui/{p-f51eda1c.entry.js → p-949b2b6a.entry.js} +1 -1
  615. package/dist/realtimekit-ui/{p-73eccbf9.entry.js → p-986e7389.entry.js} +1 -1
  616. package/dist/realtimekit-ui/{p-e32f2f7d.entry.js → p-98ee3341.entry.js} +1 -1
  617. package/dist/realtimekit-ui/p-99801804.entry.js +1 -0
  618. package/dist/realtimekit-ui/{p-6d2d135b.entry.js → p-9ad2c746.entry.js} +1 -1
  619. package/dist/realtimekit-ui/p-9c1f42dd.entry.js +1 -0
  620. package/dist/realtimekit-ui/{p-5c7cacf3.entry.js → p-9cbf286a.entry.js} +1 -1
  621. package/dist/realtimekit-ui/{p-04057bfb.entry.js → p-9d3cf603.entry.js} +1 -1
  622. package/dist/realtimekit-ui/{p-e2a6c7ca.entry.js → p-a0563ab4.entry.js} +1 -1
  623. package/dist/realtimekit-ui/{p-1c0dc0e4.entry.js → p-a319e81f.entry.js} +1 -1
  624. package/dist/realtimekit-ui/{p-2735b1d8.entry.js → p-a4372f65.entry.js} +1 -1
  625. package/dist/realtimekit-ui/{p-2e91528d.entry.js → p-a9126c12.entry.js} +1 -1
  626. package/dist/realtimekit-ui/{p-433b1cf8.entry.js → p-a9dd63ef.entry.js} +1 -1
  627. package/dist/realtimekit-ui/{p-8191b1a0.entry.js → p-aa757cd3.entry.js} +1 -1
  628. package/dist/realtimekit-ui/{p-0ee296a5.entry.js → p-ad26f7fd.entry.js} +1 -1
  629. package/dist/realtimekit-ui/{p-9aa52462.entry.js → p-ad887be1.entry.js} +1 -1
  630. package/dist/realtimekit-ui/{p-008ff55b.entry.js → p-ae7319ac.entry.js} +1 -1
  631. package/dist/realtimekit-ui/p-b387e9a1.entry.js +1 -0
  632. package/dist/realtimekit-ui/{p-cbcb71ff.entry.js → p-b388b4c6.entry.js} +1 -1
  633. package/dist/realtimekit-ui/{p-7f6469ed.entry.js → p-bbf76104.entry.js} +1 -1
  634. package/dist/realtimekit-ui/p-bc1a2b04.entry.js +1 -0
  635. package/dist/realtimekit-ui/p-c1d026d1.entry.js +1 -0
  636. package/dist/realtimekit-ui/{p-850768a7.entry.js → p-c5c965b8.entry.js} +1 -1
  637. package/dist/realtimekit-ui/p-c7711712.entry.js +1 -0
  638. package/dist/realtimekit-ui/p-cdacd242.entry.js +1 -0
  639. package/dist/realtimekit-ui/{p-c83bb4db.entry.js → p-cdf8bc21.entry.js} +1 -1
  640. package/dist/realtimekit-ui/{p-3950823a.entry.js → p-d0384d90.entry.js} +1 -1
  641. package/dist/realtimekit-ui/{p-6602bcb7.entry.js → p-d0bba739.entry.js} +1 -1
  642. package/dist/realtimekit-ui/p-d8962ea0.entry.js +1 -0
  643. package/dist/realtimekit-ui/{p-38c285b6.entry.js → p-d95ce443.entry.js} +1 -1
  644. package/dist/realtimekit-ui/{p-c878323a.entry.js → p-d9cad67f.entry.js} +1 -1
  645. package/dist/realtimekit-ui/{p-4bc037d7.entry.js → p-dbd07824.entry.js} +1 -1
  646. package/dist/realtimekit-ui/{p-83cc0429.entry.js → p-de75d48d.entry.js} +1 -1
  647. package/dist/realtimekit-ui/{p-cfaf19a1.entry.js → p-e62593a2.entry.js} +1 -1
  648. package/dist/realtimekit-ui/{p-fdb4f92c.js → p-e720b51e.js} +1 -1
  649. package/dist/realtimekit-ui/{p-9e75367a.entry.js → p-e7b83772.entry.js} +1 -1
  650. package/dist/realtimekit-ui/p-e87928f7.js +1 -0
  651. package/dist/realtimekit-ui/{p-3a58bc75.entry.js → p-e925ca8a.entry.js} +1 -1
  652. package/dist/realtimekit-ui/{p-a3fb7ff3.entry.js → p-f0f6c282.entry.js} +1 -1
  653. package/dist/realtimekit-ui/{p-d403ae25.entry.js → p-f775be53.entry.js} +1 -1
  654. package/dist/realtimekit-ui/{p-d369eb4f.entry.js → p-fee7bd4f.entry.js} +1 -1
  655. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  656. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +3 -0
  657. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +1 -0
  658. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +1 -0
  659. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +3 -0
  660. package/dist/types/components/rtk-chat/rtk-chat.d.ts +0 -9
  661. package/dist/types/components/rtk-chat-message/rtk-chat-message.d.ts +1 -0
  662. package/dist/types/components/rtk-chat-messages-ui/rtk-chat-messages-ui.d.ts +3 -0
  663. package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +1 -0
  664. package/dist/types/components/rtk-file-message/rtk-file-message.d.ts +1 -0
  665. package/dist/types/components/rtk-image-message/rtk-image-message.d.ts +1 -0
  666. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +2 -0
  667. package/dist/types/components/rtk-text-message/rtk-text-message.d.ts +1 -0
  668. package/dist/types/components.d.ts +104 -0
  669. package/dist/types/types/props.d.ts +1 -0
  670. package/dist/types/utils/chat.d.ts +1 -1
  671. package/dist/types/utils/flags.d.ts +15 -0
  672. package/package.json +1 -1
  673. package/dist/cjs/rtk-avatar_54.cjs.entry.js +0 -6421
  674. package/dist/components/p-d9e57455.js +0 -148
  675. package/dist/esm/rtk-avatar_54.entry.js +0 -6364
  676. package/dist/realtimekit-ui/p-173457a5.js +0 -1
  677. package/dist/realtimekit-ui/p-47314bc7.js +0 -1
  678. package/dist/realtimekit-ui/p-4ec9d2bb.entry.js +0 -1
  679. package/dist/realtimekit-ui/p-5e4404d2.entry.js +0 -1
  680. package/dist/realtimekit-ui/p-5e510bd4.entry.js +0 -1
  681. package/dist/realtimekit-ui/p-89ebff3d.js +0 -1
  682. package/dist/realtimekit-ui/p-b0debce4.js +0 -1
  683. package/dist/realtimekit-ui/p-d3717b05.entry.js +0 -1
@@ -1,4 +1,305 @@
1
- import { R as RtkChatMessagesUi$1, d as defineCustomElement$1 } from './p-2e3b02b3.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, w as writeTask, h, e as Host } from './p-c3592601.js';
2
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
+ import { c as chatUnreadTimestamps } from './p-a83ccdbd.js';
4
+ import { d as differenceInMinutes, f as formatDateTime, e as elapsedDuration } from './p-382270d8.js';
5
+ import { s as smoothScrollToBottom } from './p-0752f2ba.js';
6
+ import { S as SyncWithStore } from './p-47c25f64.js';
7
+ import { d as defineCustomElement$e } from './p-b1338b4f.js';
8
+ import { d as defineCustomElement$d } from './p-1391bef0.js';
9
+ import { d as defineCustomElement$c } from './p-6cbaf90a.js';
10
+ import { d as defineCustomElement$b } from './p-3b29dda1.js';
11
+ import { d as defineCustomElement$a } from './p-5b03154d.js';
12
+ import { d as defineCustomElement$9 } from './p-560e7a4f.js';
13
+ import { d as defineCustomElement$8 } from './p-4b542718.js';
14
+ import { d as defineCustomElement$7 } from './p-fc21299d.js';
15
+ import { d as defineCustomElement$6 } from './p-c07e3e6d.js';
16
+ import { d as defineCustomElement$5 } from './p-32609f9f.js';
17
+ import { d as defineCustomElement$4 } from './p-b6ee1a32.js';
18
+ import { d as defineCustomElement$3 } from './p-566c1155.js';
19
+ import { d as defineCustomElement$2 } from './p-03bdc4c0.js';
20
+
21
+ const rtkChatMessagesUiCss = ":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{position:relative;display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));word-break:break-word}.chat-container{box-sizing:border-box;display:flex;flex-direction:column;padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);flex:1 0 0px;overflow-y:scroll}.chat-container .spacer{flex:1 1 auto}.chat-container .chat{flex:0 0 auto}.file-picker{display:none}.chat .head{margin-bottom:var(--rtk-space-2, 8px);display:flex;align-items:center}.chat .head .name{margin-right:var(--rtk-space-2, 8px);font-size:12px;font-weight:700}.chat .head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat .body{overflow-wrap:break-word;line-height:1.5}.chat .body .emoji{font-size:24px}p{margin:var(--rtk-space-0, 0px);line-height:1.5}rtk-message-view{margin-top:var(--rtk-space-2, 8px);display:block;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}rtk-message-view::part(message){flex-grow:1}*[is-continued] rtk-message-view{margin-top:var(--rtk-space-1, 4px)}.pinned .message-wrapper{position:relative}.pinned .pin-button{position:absolute;right:var(--rtk-space-4, 16px);top:calc(var(--rtk-space-4, 16px) * -1);display:flex;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.pinned .pin-button:hover rtk-button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-bg-opacity))}.pinned rtk-message-view{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}a{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));text-decoration-line:none}a:hover{text-decoration-line:underline}.new-chat-marker{display:flex;width:100%;align-items:center;gap:var(--rtk-space-2, 8px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.new-chat-marker::before{content:'';height:1px;flex:1 1 0%;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.show-new-messages-ctr{pointer-events:none;display:flex;justify-content:flex-end;padding:var(--rtk-space-3, 12px);z-index:0;margin-top:calc(var(--rtk-space-14, 56px) * -1)}.show-new-messages{pointer-events:auto;--tw-translate-y:var(--rtk-space-16, 64px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.show-new-messages.active{--tw-translate-y:var(--rtk-space-0, 0px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}";
22
+ const RtkChatMessagesUiStyle0 = rtkChatMessagesUiCss;
23
+
24
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
25
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
26
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
27
+ r = Reflect.decorate(decorators, target, key, desc);
28
+ else
29
+ for (var i = decorators.length - 1; i >= 0; i--)
30
+ if (d = decorators[i])
31
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
32
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
33
+ };
34
+ const RtkChatMessagesUi$1 = /*@__PURE__*/ proxyCustomElement(class RtkChatMessagesUi extends H {
35
+ constructor() {
36
+ super();
37
+ this.__registerHost();
38
+ this.__attachShadow();
39
+ this.onPinMessage = createEvent(this, "pinMessage", 7);
40
+ this.stateUpdate = createEvent(this, "rtkStateUpdate", 7);
41
+ this.observingEl = [];
42
+ this.autoScrollEnabled = true;
43
+ /** Chat Messages */
44
+ this.messages = [];
45
+ /** Can current user pin/unpin messages */
46
+ this.canPinMessages = false;
47
+ /** Icon pack */
48
+ this.iconPack = defaultIconPack;
49
+ /** Language */
50
+ this.t = useLanguage();
51
+ this.now = new Date();
52
+ this.showLatestMessageButton = false;
53
+ this.onScroll = (e) => {
54
+ const target = e.target;
55
+ writeTask(() => {
56
+ const { scrollTop, clientHeight, scrollHeight } = target;
57
+ const fromTop = scrollTop + clientHeight;
58
+ if (fromTop + 10 >= scrollHeight) {
59
+ // at bottom
60
+ this.autoScrollEnabled = true;
61
+ this.showLatestMessageButton = false;
62
+ }
63
+ else {
64
+ // not at bottom
65
+ this.autoScrollEnabled = false;
66
+ }
67
+ });
68
+ };
69
+ this.scrollToBottom = () => {
70
+ smoothScrollToBottom(this.$chat);
71
+ };
72
+ this.observeMessage = (el) => {
73
+ if (el) {
74
+ this.observingEl.push(el);
75
+ }
76
+ try {
77
+ this.intersectionObserver.observe(el);
78
+ }
79
+ catch (_a) { }
80
+ };
81
+ this.getMessageActions = (message) => {
82
+ const actions = [];
83
+ if (!message.pinned && this.canPinMessages) {
84
+ actions.push({
85
+ id: 'pin_message',
86
+ label: this.t('pin'),
87
+ icon: this.iconPack.pin,
88
+ });
89
+ }
90
+ return actions;
91
+ };
92
+ this.onMessageActionHandler = (actionId, message) => {
93
+ switch (actionId) {
94
+ case 'pin_message':
95
+ this.onPinMessage.emit(message);
96
+ break;
97
+ }
98
+ };
99
+ }
100
+ connectedCallback() {
101
+ var _a;
102
+ this.lastReadTimestamp = (_a = chatUnreadTimestamps['everyone']) !== null && _a !== void 0 ? _a : new Date('0001-01-01T00:00:00Z');
103
+ this.intersectionObserver = new IntersectionObserver((entries) => {
104
+ if (!document.hasFocus())
105
+ return;
106
+ writeTask(() => {
107
+ for (const entry of entries) {
108
+ if (entry.isIntersecting) {
109
+ const currTimestamp = parseInt(entry.target.getAttribute('data-timestamp'));
110
+ if (currTimestamp > this.lastReadTimestamp.getTime()) {
111
+ // this.lastReadTimestamp = new Date();
112
+ chatUnreadTimestamps[this.selectedGroup] = new Date();
113
+ }
114
+ }
115
+ }
116
+ });
117
+ });
118
+ // update current time every minute
119
+ const updateNow = () => {
120
+ this.now = new Date();
121
+ this.timeout = setTimeout(() => {
122
+ if (this.request != null) {
123
+ this.request = requestAnimationFrame(updateNow);
124
+ }
125
+ }, 60 * 1000);
126
+ };
127
+ this.request = requestAnimationFrame(updateNow);
128
+ this.chatChanged(this.messages);
129
+ }
130
+ componentDidLoad() {
131
+ this.$chat.addEventListener('scroll', this.onScroll);
132
+ this.$chat.scrollTop = this.$chat.scrollHeight;
133
+ }
134
+ componentDidRender() {
135
+ if (this.autoScrollEnabled) {
136
+ smoothScrollToBottom(this.$chat);
137
+ }
138
+ else if (this.autoScrollEnabled == null) {
139
+ // scroll to bottom on first render
140
+ smoothScrollToBottom(this.$chat, false);
141
+ }
142
+ }
143
+ chatChanged(messages) {
144
+ if (this.$chat == null)
145
+ return;
146
+ if (this.autoScrollEnabled || this.$chat.clientHeight === this.$chat.scrollHeight)
147
+ return;
148
+ for (let i = messages.length - 1; i >= 0; i--) {
149
+ if (messages[i].message.time > this.lastReadTimestamp &&
150
+ messages[i].message.userId !== this.selfUserId) {
151
+ // show latest message button when you have new messages
152
+ // and chat container is scrollable and autoscroll is not enabled
153
+ this.showLatestMessageButton = true;
154
+ break;
155
+ }
156
+ }
157
+ }
158
+ selectedBucketChanged() {
159
+ this.autoScrollEnabled = undefined;
160
+ this.observingEl.forEach((el) => {
161
+ this.intersectionObserver.unobserve(el);
162
+ });
163
+ this.observingEl = [];
164
+ }
165
+ disconnectedCallback() {
166
+ this.$chat.removeEventListener('scroll', this.onScroll);
167
+ this.intersectionObserver.disconnect();
168
+ clearTimeout(this.timeout);
169
+ cancelAnimationFrame(this.request);
170
+ }
171
+ render() {
172
+ var _a;
173
+ let prevMessage = null;
174
+ let reachedFirstUnread = false;
175
+ return (h(Host, { key: '5ca3e127c9abed47f6c172eb4c53fc6b398b4d41' }, h("div", { key: 'cd8dafbc18b733c313c49ecb6d117f70db9584b0', class: "chat-container scrollbar", ref: (el) => (this.$chat = el), part: "container" }, h("div", { key: 'd4d325263ff65ef30032ad15f086557b3ac10315', class: "spacer", part: "spacer" }), h("div", { key: 'd05b4717dd5f5b4fba9b7fc313073aed6b01e856', class: "chat", part: "chat" }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.map((item) => {
176
+ if (item.type === 'chat') {
177
+ const { message } = item;
178
+ const isSelfMessage = message.userId === this.selfUserId;
179
+ const isUnread = !isSelfMessage &&
180
+ !this.autoScrollEnabled &&
181
+ !reachedFirstUnread &&
182
+ message.time > this.lastReadTimestamp;
183
+ if (isUnread)
184
+ reachedFirstUnread = isUnread;
185
+ const isContinued = !isUnread &&
186
+ message.userId === (prevMessage === null || prevMessage === void 0 ? void 0 : prevMessage.userId) &&
187
+ differenceInMinutes(message.time, prevMessage === null || prevMessage === void 0 ? void 0 : prevMessage.time) < 2;
188
+ prevMessage = message;
189
+ return (h("div", { "is-continued": isContinued, key: item.message.id, ref: this.observeMessage, "data-timestamp": message.time.getTime(), class: message.pinned ? 'pinned' : '' }, isUnread && (h("div", { class: "new-chat-marker", part: "new-chat-marker" }, this.t('chat.new'))), h("div", { class: "message-wrapper" }, h("rtk-message-view", { time: message.time, actions: this.getMessageActions(message), authorName: message.displayName, hideAuthorName: true, hideAvatar: true, hideMetadata: true, viewType: 'incoming', variant: "bubble", onAction: (event) => this.onMessageActionHandler(event.detail, message) }, !isContinued && (h("div", { class: "head" }, h("div", { class: "name" }, message.displayName), !!message.time && (h("div", { class: "time", title: formatDateTime(message.time) }, elapsedDuration(message.time, new Date(Date.now())))))), 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: () => {
190
+ this.stateUpdate.emit({ image: message });
191
+ } })))), message.pinned && (h("div", { class: "pin-button", part: "pin-button" }, h("rtk-tooltip", { label: this.t('unpin') }, h("rtk-button", { kind: "icon", variant: "ghost", onClick: () => this.onMessageActionHandler('pin_message', message), disabled: !this.canPinMessages }, h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }))))))));
192
+ }
193
+ return null;
194
+ }))), h("div", { key: '0079564252ee7102e54b7c62c162d7a1f3e18294', class: "show-new-messages-ctr" }, h("rtk-button", { key: '90531cde507557fe0068c4e97cef7ce98df6acff', class: {
195
+ 'show-new-messages': true,
196
+ active: this.showLatestMessageButton,
197
+ }, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: '027cd1315f035a7ae3c093fb2ed22c6eda2cdae5', icon: this.iconPack.chevron_down })))));
198
+ }
199
+ static get watchers() { return {
200
+ "messages": ["chatChanged"],
201
+ "selectedGroup": ["selectedBucketChanged"]
202
+ }; }
203
+ static get style() { return RtkChatMessagesUiStyle0; }
204
+ }, [1, "rtk-chat-messages-ui", {
205
+ "selectedGroup": [1, "selected-group"],
206
+ "messages": [16],
207
+ "selfUserId": [1, "self-user-id"],
208
+ "canPinMessages": [4, "can-pin-messages"],
209
+ "size": [513],
210
+ "iconPack": [16],
211
+ "t": [16],
212
+ "now": [32],
213
+ "showLatestMessageButton": [32]
214
+ }, undefined, {
215
+ "messages": ["chatChanged"],
216
+ "selectedGroup": ["selectedBucketChanged"]
217
+ }]);
218
+ __decorate([
219
+ SyncWithStore()
220
+ ], RtkChatMessagesUi$1.prototype, "iconPack", void 0);
221
+ __decorate([
222
+ SyncWithStore()
223
+ ], RtkChatMessagesUi$1.prototype, "t", void 0);
224
+ function defineCustomElement$1() {
225
+ if (typeof customElements === "undefined") {
226
+ return;
227
+ }
228
+ const components = ["rtk-chat-messages-ui", "rtk-avatar", "rtk-button", "rtk-file-message-view", "rtk-icon", "rtk-image-message-view", "rtk-markdown-view", "rtk-menu", "rtk-menu-item", "rtk-menu-list", "rtk-message-view", "rtk-spinner", "rtk-text-message-view", "rtk-tooltip"];
229
+ components.forEach(tagName => { switch (tagName) {
230
+ case "rtk-chat-messages-ui":
231
+ if (!customElements.get(tagName)) {
232
+ customElements.define(tagName, RtkChatMessagesUi$1);
233
+ }
234
+ break;
235
+ case "rtk-avatar":
236
+ if (!customElements.get(tagName)) {
237
+ defineCustomElement$e();
238
+ }
239
+ break;
240
+ case "rtk-button":
241
+ if (!customElements.get(tagName)) {
242
+ defineCustomElement$d();
243
+ }
244
+ break;
245
+ case "rtk-file-message-view":
246
+ if (!customElements.get(tagName)) {
247
+ defineCustomElement$c();
248
+ }
249
+ break;
250
+ case "rtk-icon":
251
+ if (!customElements.get(tagName)) {
252
+ defineCustomElement$b();
253
+ }
254
+ break;
255
+ case "rtk-image-message-view":
256
+ if (!customElements.get(tagName)) {
257
+ defineCustomElement$a();
258
+ }
259
+ break;
260
+ case "rtk-markdown-view":
261
+ if (!customElements.get(tagName)) {
262
+ defineCustomElement$9();
263
+ }
264
+ break;
265
+ case "rtk-menu":
266
+ if (!customElements.get(tagName)) {
267
+ defineCustomElement$8();
268
+ }
269
+ break;
270
+ case "rtk-menu-item":
271
+ if (!customElements.get(tagName)) {
272
+ defineCustomElement$7();
273
+ }
274
+ break;
275
+ case "rtk-menu-list":
276
+ if (!customElements.get(tagName)) {
277
+ defineCustomElement$6();
278
+ }
279
+ break;
280
+ case "rtk-message-view":
281
+ if (!customElements.get(tagName)) {
282
+ defineCustomElement$5();
283
+ }
284
+ break;
285
+ case "rtk-spinner":
286
+ if (!customElements.get(tagName)) {
287
+ defineCustomElement$4();
288
+ }
289
+ break;
290
+ case "rtk-text-message-view":
291
+ if (!customElements.get(tagName)) {
292
+ defineCustomElement$3();
293
+ }
294
+ break;
295
+ case "rtk-tooltip":
296
+ if (!customElements.get(tagName)) {
297
+ defineCustomElement$2();
298
+ }
299
+ break;
300
+ } });
301
+ }
302
+ defineCustomElement$1();
2
303
 
3
304
  const RtkChatMessagesUi = RtkChatMessagesUi$1;
4
305
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,149 @@
1
- import { R as RtkChatSearchResults$1, d as defineCustomElement$1 } from './p-d9e57455.js';
1
+ import { p as proxyCustomElement, H, h, e as Host } from './p-c3592601.js';
2
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
+ import './p-a83ccdbd.js';
4
+ import { S as SyncWithStore } from './p-47c25f64.js';
5
+ import { d as defineCustomElement$d } from './p-b1338b4f.js';
6
+ import { d as defineCustomElement$c } from './p-1391bef0.js';
7
+ import { d as defineCustomElement$b } from './p-6c1b380d.js';
8
+ import { d as defineCustomElement$a } from './p-e48cd596.js';
9
+ import { d as defineCustomElement$9 } from './p-3b29dda1.js';
10
+ import { d as defineCustomElement$8 } from './p-82c678d6.js';
11
+ import { d as defineCustomElement$7 } from './p-4b542718.js';
12
+ import { d as defineCustomElement$6 } from './p-fc21299d.js';
13
+ import { d as defineCustomElement$5 } from './p-c07e3e6d.js';
14
+ import { d as defineCustomElement$4 } from './p-30ac9705.js';
15
+ import { d as defineCustomElement$3 } from './p-b6ee1a32.js';
16
+ import { d as defineCustomElement$2 } from './p-08382c59.js';
17
+
18
+ const rtkChatSearchResultsCss = ":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{display:flex;height:100%;flex-direction:column;position:relative;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}";
19
+ const RtkChatSearchResultsStyle0 = rtkChatSearchResultsCss;
20
+
21
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
22
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
23
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
24
+ r = Reflect.decorate(decorators, target, key, desc);
25
+ else
26
+ for (var i = decorators.length - 1; i >= 0; i--)
27
+ if (d = decorators[i])
28
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
29
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
30
+ };
31
+ const RtkChatSearchResults$1 = /*@__PURE__*/ proxyCustomElement(class RtkChatSearchResults extends H {
32
+ constructor() {
33
+ super();
34
+ this.__registerHost();
35
+ this.__attachShadow();
36
+ /** Icon pack */
37
+ this.iconPack = defaultIconPack;
38
+ /** Language */
39
+ this.t = useLanguage();
40
+ this.pageSize = 50;
41
+ this.searchMessages = async (timestamp, size, reversed) => {
42
+ return this.meeting.chat.searchMessages(this.query, {
43
+ channelId: this.channelId,
44
+ timestamp,
45
+ size,
46
+ reversed,
47
+ });
48
+ };
49
+ this.nodeRenderer = (messages) => {
50
+ return messages.map((message) => (h("rtk-chat-message", { key: message.id, message: message, disableControls: true })));
51
+ };
52
+ }
53
+ render() {
54
+ return (h(Host, { key: '6876b825ec6df02a21a40b29084dbd7cefed7b03' }, h("rtk-paginated-list", { key: 'ab78b5cf7955f090038eb28665d66101fd5297f9', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
55
+ }
56
+ static get style() { return RtkChatSearchResultsStyle0; }
57
+ }, [1, "rtk-chat-search-results", {
58
+ "meeting": [16],
59
+ "query": [1],
60
+ "channelId": [1, "channel-id"],
61
+ "iconPack": [16],
62
+ "t": [16]
63
+ }]);
64
+ __decorate([
65
+ SyncWithStore()
66
+ ], RtkChatSearchResults$1.prototype, "meeting", void 0);
67
+ __decorate([
68
+ SyncWithStore()
69
+ ], RtkChatSearchResults$1.prototype, "iconPack", void 0);
70
+ __decorate([
71
+ SyncWithStore()
72
+ ], RtkChatSearchResults$1.prototype, "t", void 0);
73
+ function defineCustomElement$1() {
74
+ if (typeof customElements === "undefined") {
75
+ return;
76
+ }
77
+ const components = ["rtk-chat-search-results", "rtk-avatar", "rtk-button", "rtk-chat-message", "rtk-file-message", "rtk-icon", "rtk-image-message", "rtk-menu", "rtk-menu-item", "rtk-menu-list", "rtk-paginated-list", "rtk-spinner", "rtk-text-message"];
78
+ components.forEach(tagName => { switch (tagName) {
79
+ case "rtk-chat-search-results":
80
+ if (!customElements.get(tagName)) {
81
+ customElements.define(tagName, RtkChatSearchResults$1);
82
+ }
83
+ break;
84
+ case "rtk-avatar":
85
+ if (!customElements.get(tagName)) {
86
+ defineCustomElement$d();
87
+ }
88
+ break;
89
+ case "rtk-button":
90
+ if (!customElements.get(tagName)) {
91
+ defineCustomElement$c();
92
+ }
93
+ break;
94
+ case "rtk-chat-message":
95
+ if (!customElements.get(tagName)) {
96
+ defineCustomElement$b();
97
+ }
98
+ break;
99
+ case "rtk-file-message":
100
+ if (!customElements.get(tagName)) {
101
+ defineCustomElement$a();
102
+ }
103
+ break;
104
+ case "rtk-icon":
105
+ if (!customElements.get(tagName)) {
106
+ defineCustomElement$9();
107
+ }
108
+ break;
109
+ case "rtk-image-message":
110
+ if (!customElements.get(tagName)) {
111
+ defineCustomElement$8();
112
+ }
113
+ break;
114
+ case "rtk-menu":
115
+ if (!customElements.get(tagName)) {
116
+ defineCustomElement$7();
117
+ }
118
+ break;
119
+ case "rtk-menu-item":
120
+ if (!customElements.get(tagName)) {
121
+ defineCustomElement$6();
122
+ }
123
+ break;
124
+ case "rtk-menu-list":
125
+ if (!customElements.get(tagName)) {
126
+ defineCustomElement$5();
127
+ }
128
+ break;
129
+ case "rtk-paginated-list":
130
+ if (!customElements.get(tagName)) {
131
+ defineCustomElement$4();
132
+ }
133
+ break;
134
+ case "rtk-spinner":
135
+ if (!customElements.get(tagName)) {
136
+ defineCustomElement$3();
137
+ }
138
+ break;
139
+ case "rtk-text-message":
140
+ if (!customElements.get(tagName)) {
141
+ defineCustomElement$2();
142
+ }
143
+ break;
144
+ } });
145
+ }
146
+ defineCustomElement$1();
2
147
 
3
148
  const RtkChatSearchResults = RtkChatSearchResults$1;
4
149
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage } from './p-bf700149.js';
3
- import { g as generateChatGroupKey } from './p-0abe4b8a.js';
4
- import { S as SyncWithStore } from './p-bbe38af7.js';
2
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
+ import { g as generateChatGroupKey } from './p-dab9d3d6.js';
4
+ import { S as SyncWithStore } from './p-47c25f64.js';
5
5
  import { d as defineCustomElement$2 } from './p-3b29dda1.js';
6
6
 
7
7
  const rtkChatSelectorUiCss = ":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;flex-direction:column}.chat-scope-selector{position:relative;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));z-index:10}.chat-scope-selector button{width:100%;border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-4, 16px);display:flex;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-1000, 255 255 255));font-size:14px;cursor:pointer;height:var(--rtk-space-12, 48px)}.chat-scope-selector button span{display:flex;align-items:center;justify-content:flex-start}.chat-scope-selector button rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.chat-scope-selector .search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-0, 0px)}.chat-scope-selector .search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.chat-scope-selector .search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.chat-scope-selector .search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .participants-container{position:absolute;width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));top:var(--rtk-space-12, 48px);animation:0.3s slide-down ease}@keyframes slide-down{from{transform:translateY(-50px)}to{transform:translateY(0%)}}.chat-scope-selector .scope-list{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);list-style-type:none;padding-left:var(--rtk-space-0, 0px);padding-right:var(--rtk-space-0, 0px);overflow:auto;max-height:375px}.chat-scope-selector .scope-list .scope{position:relative;display:flex;flex-direction:row;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px)}.chat-scope-selector .scope-list .scope:hover{cursor:pointer;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.chat-scope-selector .scope-list .scope-special{margin-top:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat-scope-selector .scope-list .everyone-icon>rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.chat-scope-selector .scope-list .everyone-icon{display:flex;height:100%;width:100%;align-items:center;justify-content:center;margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px}.unread-count.selector{position:unset;margin-left:var(--rtk-space-2, 8px)}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}rtk-avatar{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px)}";
@@ -1,10 +1,10 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, h as useLanguage, K as usePaginatedChat } from './p-bf700149.js';
3
- import { c as canViewChat } from './p-92738209.js';
4
- import { S as SyncWithStore } from './p-bbe38af7.js';
5
- import { d as defineCustomElement$4 } from './p-b3f547d5.js';
2
+ import { e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
+ import { c as canViewChat } from './p-6f340109.js';
4
+ import { S as SyncWithStore } from './p-47c25f64.js';
5
+ import { d as defineCustomElement$4 } from './p-2590f470.js';
6
6
  import { d as defineCustomElement$3 } from './p-3b29dda1.js';
7
- import { d as defineCustomElement$2 } from './p-8dd72d80.js';
7
+ import { d as defineCustomElement$2 } from './p-b6ee1a32.js';
8
8
 
9
9
  const rtkChatToggleCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block}:host([data-hidden]){display:none}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}.unread-count-dot{position:absolute;right:var(--rtk-space-3, 12px);z-index:10;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));border-radius:50%;display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;transform:translateY(-50%)}";
10
10
  const RtkChatToggleStyle0 = rtkChatToggleCss;
@@ -79,13 +79,11 @@ const RtkChatToggle$1 = /*@__PURE__*/ proxyCustomElement(class RtkChatToggle ext
79
79
  var _a, _b, _c, _d, _e, _f, _g;
80
80
  if (!meeting)
81
81
  return;
82
- if (usePaginatedChat(meeting)) {
83
- (_a = meeting.chat) === null || _a === void 0 ? void 0 : _a.getMessages(new Date().getTime(), 1, true).then((res) => {
84
- var _a;
85
- if ((_a = res === null || res === void 0 ? void 0 : res.messages) === null || _a === void 0 ? void 0 : _a.length)
86
- this.hasNewMessages = true;
87
- });
88
- }
82
+ (_a = meeting.chat) === null || _a === void 0 ? void 0 : _a.getMessages(new Date().getTime(), 1, true).then((res) => {
83
+ var _a;
84
+ if ((_a = res === null || res === void 0 ? void 0 : res.messages) === null || _a === void 0 ? void 0 : _a.length)
85
+ this.hasNewMessages = true;
86
+ });
89
87
  const meetingStartedTimeMs = (_c = (_b = meeting.meta) === null || _b === void 0 ? void 0 : _b.meetingStartedTimestamp.getTime()) !== null && _c !== void 0 ? _c : 0;
90
88
  const newMessages = (_d = meeting.chat) === null || _d === void 0 ? void 0 : _d.messages.filter((m) => m.timeMs > meetingStartedTimeMs);
91
89
  this.unreadMessageCount = newMessages.length || 0;
@@ -110,10 +108,8 @@ const RtkChatToggle$1 = /*@__PURE__*/ proxyCustomElement(class RtkChatToggle ext
110
108
  return null;
111
109
  if (!this.canViewChat)
112
110
  return h(Host, { "data-hidden": true });
113
- return (h(Host, { title: this.t('chat') }, usePaginatedChat(this.meeting)
114
- ? this.hasNewMessages && h("div", { class: "unread-count-dot", part: "unread-count-dot" })
115
- : this.unreadMessageCount !== 0 &&
116
- !this.chatActive && (h("div", { class: "unread-count", part: "unread-count" }, h("span", null, this.unreadMessageCount <= 100 ? this.unreadMessageCount : '99+'))), h("rtk-controlbar-button", { ref: (el) => (this.buttonEl = el), part: "controlbar-button", size: this.size, iconPack: this.iconPack, class: { active: this.chatActive }, onClick: this.toggleChat, icon: this.iconPack.chat, label: this.t('chat'), variant: this.variant })));
111
+ return (h(Host, { title: this.t('chat') }, this.hasNewMessages && h("div", { class: "unread-count-dot", part: "unread-count-dot" })
112
+ , h("rtk-controlbar-button", { ref: (el) => (this.buttonEl = el), part: "controlbar-button", size: this.size, iconPack: this.iconPack, class: { active: this.chatActive }, onClick: this.toggleChat, icon: this.iconPack.chat, label: this.t('chat'), variant: this.variant })));
117
113
  }
118
114
  static get watchers() { return {
119
115
  "meeting": ["meetingChanged"],
@@ -1,4 +1,4 @@
1
- import { R as RtkChat$1, d as defineCustomElement$1 } from './p-bcd9ae7c.js';
1
+ import { R as RtkChat$1, d as defineCustomElement$1 } from './p-1f320625.js';
2
2
 
3
3
  const RtkChat = RtkChat$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack } from './p-bf700149.js';
3
- import { S as SyncWithStore } from './p-bbe38af7.js';
2
+ import { e as defaultIconPack } from './p-7fc0dc2f.js';
3
+ import { S as SyncWithStore } from './p-47c25f64.js';
4
4
  import { d as defineCustomElement$2 } from './p-3b29dda1.js';
5
5
 
6
6
  const rtkClockCss = ":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{display:inline-flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-variant-numeric:tabular-nums}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}";
@@ -1,4 +1,4 @@
1
- import { R as RtkConfirmationModal$1, d as defineCustomElement$1 } from './p-59bdb49b.js';
1
+ import { R as RtkConfirmationModal$1, d as defineCustomElement$1 } from './p-25ca06f2.js';
2
2
 
3
3
  const RtkConfirmationModal = RtkConfirmationModal$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { R as RtkControlbarButton$1, d as defineCustomElement$1 } from './p-b3f547d5.js';
1
+ import { R as RtkControlbarButton$1, d as defineCustomElement$1 } from './p-2590f470.js';
2
2
 
3
3
  const RtkControlbarButton = RtkControlbarButton$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, h, e as Host } from './p-c3592601.js';
2
- import { c as createDefaultConfig, e as defaultIconPack, h as useLanguage } from './p-bf700149.js';
2
+ import { c as createDefaultConfig, e as defaultIconPack, h as useLanguage } from './p-7fc0dc2f.js';
3
3
  import './p-a83ccdbd.js';
4
4
  import { R as Render } from './p-60fdbd75.js';
5
- import { S as SyncWithStore } from './p-bbe38af7.js';
5
+ import { S as SyncWithStore } from './p-47c25f64.js';
6
6
 
7
7
  const rtkControlbarCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:flex;align-items:center;gap:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);position:relative;z-index:10}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host{padding-top:var(--rtk-space-0, 0px) !important}}";
8
8
  const RtkControlbarStyle0 = rtkControlbarCss;
@@ -1,4 +1,4 @@
1
- import { R as RtkCounter$1, d as defineCustomElement$1 } from './p-073066d9.js';
1
+ import { R as RtkCounter$1, d as defineCustomElement$1 } from './p-2508ac98.js';
2
2
 
3
3
  const RtkCounter = RtkCounter$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { R as RtkDebuggerAudio$1, d as defineCustomElement$1 } from './p-b15d2763.js';
1
+ import { R as RtkDebuggerAudio$1, d as defineCustomElement$1 } from './p-84e5b453.js';
2
2
 
3
3
  const RtkDebuggerAudio = RtkDebuggerAudio$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { R as RtkDebuggerScreenShare, d as defineCustomElement$1 } from './p-21caffae.js';
1
+ import { R as RtkDebuggerScreenShare, d as defineCustomElement$1 } from './p-5f26bba3.js';
2
2
 
3
3
  const RtkDebuggerScreenshare = RtkDebuggerScreenShare;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { R as RtkDebuggerSystem$1, d as defineCustomElement$1 } from './p-9cc8f284.js';
1
+ import { R as RtkDebuggerSystem$1, d as defineCustomElement$1 } from './p-102b6df8.js';
2
2
 
3
3
  const RtkDebuggerSystem = RtkDebuggerSystem$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,9 +1,9 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { h as useLanguage, e as defaultIconPack } from './p-bf700149.js';
3
- import { S as SyncWithStore } from './p-bbe38af7.js';
4
- import { d as defineCustomElement$4 } from './p-b3f547d5.js';
2
+ import { h as useLanguage, e as defaultIconPack } from './p-7fc0dc2f.js';
3
+ import { S as SyncWithStore } from './p-47c25f64.js';
4
+ import { d as defineCustomElement$4 } from './p-2590f470.js';
5
5
  import { d as defineCustomElement$3 } from './p-3b29dda1.js';
6
- import { d as defineCustomElement$2 } from './p-8dd72d80.js';
6
+ import { d as defineCustomElement$2 } from './p-b6ee1a32.js';
7
7
 
8
8
  const rtkDebuggerToggleCss = ":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{display:block}";
9
9
  const RtkDebuggerToggleStyle0 = rtkDebuggerToggleCss;
@@ -1,4 +1,4 @@
1
- import { R as RtkDebuggerVideo$1, d as defineCustomElement$1 } from './p-26a20701.js';
1
+ import { R as RtkDebuggerVideo$1, d as defineCustomElement$1 } from './p-9e87b2c9.js';
2
2
 
3
3
  const RtkDebuggerVideo = RtkDebuggerVideo$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { R as RtkDebugger$1, d as defineCustomElement$1 } from './p-3260a0fe.js';
1
+ import { R as RtkDebugger$1, d as defineCustomElement$1 } from './p-bb8f2597.js';
2
2
 
3
3
  const RtkDebugger = RtkDebugger$1;
4
4
  const defineCustomElement = defineCustomElement$1;