@cloudflare/realtimekit-ui 1.1.0-staging.1 → 1.1.0-staging.11

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 (733) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-7bb3e1fd.js → TextMessage-75b55b60.js} +1 -1
  3. package/dist/cjs/{chat-717e517d.js → chat-90670f84.js} +1 -16
  4. package/dist/cjs/{config-8c9ac89a.js → config-60d594e2.js} +2 -2
  5. package/dist/cjs/{debounce-a3e0d9e7.js → debounce-677e65cb.js} +1 -1
  6. package/dist/cjs/index-05554ce6.js +6 -22
  7. package/dist/cjs/{index-8d07e125.js → index-5442bdba.js} +1 -1
  8. package/dist/cjs/index.cjs.js +6 -5
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/{merge-73e2770b.js → merge-7ce7986a.js} +1 -1
  11. package/dist/cjs/{notification-567fe887.js → notification-b9d42aa0.js} +1 -1
  12. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  13. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +3 -3
  15. package/dist/cjs/rtk-ai.cjs.entry.js +2 -2
  16. package/dist/cjs/rtk-audio-grid.cjs.entry.js +3 -3
  17. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  18. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +3 -3
  19. package/dist/cjs/{rtk-avatar_24.cjs.entry.js → rtk-avatar_23.cjs.entry.js} +432 -599
  20. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +6 -6
  21. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +11 -11
  22. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  23. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  24. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  25. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  26. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +10 -24
  27. package/dist/cjs/rtk-chat-message.cjs.entry.js +4 -4
  28. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +5 -5
  29. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +3 -3
  30. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  31. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +30 -25
  32. package/dist/cjs/rtk-clock.cjs.entry.js +5 -5
  33. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +3 -3
  34. package/dist/cjs/rtk-controlbar.cjs.entry.js +3 -3
  35. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
  36. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +3 -3
  37. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
  38. package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
  39. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  40. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +3 -3
  41. package/dist/cjs/rtk-file-message_3.cjs.entry.js +12 -12
  42. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  44. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  45. package/dist/cjs/rtk-header.cjs.entry.js +3 -3
  46. package/dist/cjs/rtk-idle-screen.cjs.entry.js +3 -3
  47. package/dist/cjs/rtk-image-viewer.cjs.entry.js +3 -3
  48. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +3 -3
  49. package/dist/cjs/rtk-leave-button.cjs.entry.js +3 -3
  50. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  51. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  52. package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
  53. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  54. package/dist/cjs/rtk-message-list-view.cjs.entry.js +6 -6
  55. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-more-toggle.cjs.entry.js +4 -4
  58. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  59. package/dist/cjs/rtk-name-tag.cjs.entry.js +3 -3
  60. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  61. package/dist/cjs/rtk-notification.cjs.entry.js +6 -6
  62. package/dist/cjs/rtk-notifications.cjs.entry.js +8 -5
  63. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  64. package/dist/cjs/rtk-participant-setup.cjs.entry.js +4 -4
  65. package/dist/cjs/rtk-participant_2.cjs.entry.js +17 -17
  66. package/dist/cjs/rtk-participants-audio.cjs.entry.js +3 -3
  67. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +3 -3
  68. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
  69. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  70. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  71. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +3 -3
  72. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
  73. package/dist/cjs/rtk-plugins_2.cjs.entry.js +6 -6
  74. package/dist/cjs/rtk-poll_2.cjs.entry.js +5 -5
  75. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
  76. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +3 -3
  77. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  78. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  79. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +7 -7
  80. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  81. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
  82. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  83. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  84. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +4 -4
  85. package/dist/cjs/rtk-sidebar.cjs.entry.js +3 -3
  86. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  87. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +4 -4
  88. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  89. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  90. package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
  91. package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
  92. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  93. package/dist/cjs/rtk-ui-provider.cjs.entry.js +13 -3
  94. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
  95. package/dist/cjs/{sidebar-2ad915b1.js → sidebar-e172c4ae.js} +1 -1
  96. package/dist/cjs/{ui-store-1cb28da8.js → ui-store-594688bf.js} +12 -9
  97. package/dist/collection/collection-manifest.json +0 -5
  98. package/dist/collection/components/rtk-ai/rtk-ai.js +2 -2
  99. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +2 -2
  100. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +2 -2
  101. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +3 -3
  102. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +2 -2
  103. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +2 -2
  104. package/dist/collection/components/rtk-avatar/rtk-avatar.js +3 -3
  105. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +2 -2
  106. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +4 -4
  107. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +3 -3
  108. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +3 -3
  109. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +4 -4
  110. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +2 -2
  111. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +2 -2
  112. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +2 -2
  113. package/dist/collection/components/rtk-chat/rtk-chat.css +47 -45
  114. package/dist/collection/components/rtk-chat/rtk-chat.js +98 -158
  115. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +12 -48
  116. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +30 -17
  117. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +4 -4
  118. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +5 -5
  119. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +44 -87
  120. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +3 -3
  121. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +2 -2
  122. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.css +1 -1
  123. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +29 -28
  124. package/dist/collection/components/rtk-clock/rtk-clock.js +4 -4
  125. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +3 -3
  126. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +3 -3
  127. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +2 -2
  128. package/dist/collection/components/rtk-counter/rtk-counter.js +4 -4
  129. package/dist/collection/components/rtk-debugger/rtk-debugger.js +2 -2
  130. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +2 -2
  131. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +2 -2
  132. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +2 -2
  133. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +3 -3
  134. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +2 -2
  135. package/dist/collection/components/rtk-dialog/rtk-dialog.js +2 -2
  136. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +2 -2
  137. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +3 -3
  138. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +3 -3
  139. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +3 -3
  140. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +2 -2
  141. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +3 -3
  142. package/dist/collection/components/rtk-file-message/rtk-file-message.js +4 -4
  143. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +2 -2
  144. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +4 -4
  145. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +2 -2
  146. package/dist/collection/components/rtk-grid/rtk-grid.js +2 -2
  147. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +2 -2
  148. package/dist/collection/components/rtk-header/rtk-header.js +3 -3
  149. package/dist/collection/components/rtk-icon/rtk-icon.js +1 -1
  150. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +3 -3
  151. package/dist/collection/components/rtk-image-message/rtk-image-message.js +6 -6
  152. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +5 -5
  153. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +3 -3
  154. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -2
  155. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +3 -3
  156. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +3 -3
  157. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +4 -4
  158. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +2 -2
  159. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +2 -2
  160. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +2 -2
  161. package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
  162. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  163. package/dist/collection/components/rtk-meeting/rtk-meeting.js +39 -2
  164. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +2 -2
  165. package/dist/collection/components/rtk-menu/rtk-menu.js +4 -4
  166. package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +6 -1
  167. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +25 -3
  168. package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +15 -4
  169. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +25 -3
  170. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +4 -4
  171. package/dist/collection/components/rtk-message-view/rtk-message-view.css +30 -22
  172. package/dist/collection/components/rtk-message-view/rtk-message-view.js +73 -3
  173. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +2 -2
  174. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +2 -2
  175. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +2 -2
  176. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +4 -4
  177. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +2 -2
  178. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +3 -3
  179. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +3 -3
  180. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +2 -2
  181. package/dist/collection/components/rtk-notification/rtk-notification.js +4 -4
  182. package/dist/collection/components/rtk-notifications/rtk-notifications.js +6 -3
  183. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +3 -3
  184. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +5 -5
  185. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +329 -266
  186. package/dist/collection/components/rtk-participant/rtk-participant.js +14 -14
  187. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +2 -2
  188. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +4 -4
  189. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +2 -2
  190. package/dist/collection/components/rtk-participants/rtk-participants.js +2 -2
  191. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +3 -3
  192. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +3 -3
  193. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +2 -2
  194. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +2 -2
  195. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +2 -2
  196. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +2 -2
  197. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +3 -3
  198. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +2 -2
  199. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +2 -2
  200. package/dist/collection/components/rtk-plugins/rtk-plugins.js +3 -3
  201. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +2 -2
  202. package/dist/collection/components/rtk-poll/rtk-poll.js +3 -3
  203. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +4 -4
  204. package/dist/collection/components/rtk-polls/rtk-polls.js +5 -5
  205. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +2 -2
  206. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +3 -3
  207. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +2 -2
  208. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +2 -2
  209. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +7 -7
  210. package/dist/collection/components/rtk-settings/rtk-settings.js +2 -2
  211. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +2 -2
  212. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +3 -3
  213. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +2 -2
  214. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +2 -2
  215. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +2 -2
  216. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +5 -5
  217. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +2 -2
  218. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +2 -2
  219. package/dist/collection/components/rtk-spinner/rtk-spinner.js +2 -2
  220. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +4 -4
  221. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +2 -2
  222. package/dist/collection/components/rtk-stage/rtk-stage.js +3 -3
  223. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +2 -2
  224. package/dist/collection/components/rtk-switch/rtk-switch.js +3 -3
  225. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +3 -3
  226. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +3 -3
  227. package/dist/collection/components/rtk-text-message/rtk-text-message.js +4 -4
  228. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  229. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  230. package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
  231. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
  232. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +39 -3
  233. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +2 -2
  234. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  235. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +3 -3
  236. package/dist/collection/exports.js +2 -1
  237. package/dist/collection/lib/icons/default-icon-pack.js +0 -2
  238. package/dist/collection/lib/lang/default-language.js +1 -4
  239. package/dist/collection/lib/overrides.js +6 -0
  240. package/dist/collection/utils/chat.js +0 -4
  241. package/dist/collection/utils/flags.js +0 -2
  242. package/dist/collection/utils/sync-with-store/ui-store.js +4 -1
  243. package/dist/components/index.js +7 -7
  244. package/dist/components/{p-8d25843a.js → p-0899c09f.js} +3 -3
  245. package/dist/components/{p-0a35a909.js → p-19d83dd6.js} +4 -4
  246. package/dist/components/{p-6f340109.js → p-1c5cc842.js} +1 -1
  247. package/dist/components/{p-5c92df32.js → p-1c678eab.js} +6 -6
  248. package/dist/components/{p-dbfc9151.js → p-1e9999d7.js} +4 -4
  249. package/dist/components/{p-65cd2fe3.js → p-1ea0d406.js} +5 -5
  250. package/dist/components/{p-6c2cfa0d.js → p-206acdcd.js} +5 -5
  251. package/dist/components/{p-fd68a52b.js → p-21becaf3.js} +9 -9
  252. package/dist/components/{p-4d582a90.js → p-23d37f65.js} +6 -6
  253. package/dist/components/{p-3da4880c.js → p-24481cb4.js} +5 -5
  254. package/dist/components/{p-d3de8b85.js → p-2ec120cd.js} +4 -4
  255. package/dist/components/{p-20290b0b.js → p-3245ace2.js} +5 -5
  256. package/dist/components/p-33db910f.js +409 -0
  257. package/dist/components/{p-188bfe87.js → p-34654ffc.js} +9 -9
  258. package/dist/components/{p-d107e9f4.js → p-410cef02.js} +4 -4
  259. package/dist/components/{p-afe77b50.js → p-4c82be72.js} +3 -3
  260. package/dist/components/{p-b011763d.js → p-5194f4d6.js} +4 -4
  261. package/dist/components/{p-f7430e46.js → p-51ef5a21.js} +6 -6
  262. package/dist/components/{p-0b4e526c.js → p-52e95364.js} +4 -4
  263. package/dist/components/{p-10ef077c.js → p-541e6de7.js} +3 -3
  264. package/dist/components/{p-aae4c250.js → p-56134994.js} +1 -1
  265. package/dist/components/{p-395d7140.js → p-565c8389.js} +5 -5
  266. package/dist/components/{p-33a87325.js → p-5791a91d.js} +3 -3
  267. package/dist/components/{p-fa8f6b4a.js → p-63c79efa.js} +1 -1
  268. package/dist/components/{p-121e073d.js → p-63e06c50.js} +2 -2
  269. package/dist/components/{p-b34865c7.js → p-63e51be4.js} +5 -5
  270. package/dist/components/{p-2f82e0b0.js → p-645b761e.js} +8 -8
  271. package/dist/components/{p-914563e7.js → p-6614c9e7.js} +6 -6
  272. package/dist/components/{p-9e87b2c9.js → p-66ba4031.js} +2 -2
  273. package/dist/components/{p-488d88a8.js → p-66d10db2.js} +5 -5
  274. package/dist/components/{p-5f26bba3.js → p-6e10fc42.js} +2 -2
  275. package/dist/components/{p-0d7bf41b.js → p-71f12515.js} +4 -4
  276. package/dist/components/{p-3b29dda1.js → p-73baf5ba.js} +1 -1
  277. package/dist/components/{p-a6f2b402.js → p-770c0fd7.js} +38 -60
  278. package/dist/components/{p-e675729a.js → p-777aa628.js} +5 -5
  279. package/dist/components/{p-78b61cce.js → p-7a424d82.js} +1 -1
  280. package/dist/components/{p-2e282643.js → p-7c84212d.js} +6 -6
  281. package/dist/components/{p-a6296b02.js → p-7e6ca4af.js} +7 -4
  282. package/dist/components/{p-b882f4a1.js → p-7f790526.js} +5 -5
  283. package/dist/components/{p-88bef213.js → p-8222af8c.js} +2 -2
  284. package/dist/components/{p-0d582365.js → p-8e285a44.js} +2 -2
  285. package/dist/components/{p-c078ae06.js → p-901c2375.js} +3 -3
  286. package/dist/components/{p-cf503999.js → p-91bc86f4.js} +5 -5
  287. package/dist/components/{p-e81fc1e8.js → p-93947678.js} +3 -3
  288. package/dist/components/{p-7481511c.js → p-93db20a6.js} +3 -3
  289. package/dist/components/{p-f8f5cb31.js → p-951a67af.js} +4 -4
  290. package/dist/components/{p-f47894a6.js → p-97d1dcb7.js} +22 -28
  291. package/dist/components/{p-47c25f64.js → p-9c3c75a9.js} +1 -1
  292. package/dist/components/{p-a94b2e67.js → p-a6aea524.js} +2 -2
  293. package/dist/components/{p-51de7af3.js → p-a72d3d19.js} +1 -1
  294. package/dist/components/{p-ee98bbaf.js → p-a89ee2d2.js} +13 -13
  295. package/dist/components/{p-a4a5ff5a.js → p-a99b0889.js} +6 -6
  296. package/dist/components/{p-2f08d7eb.js → p-ac80e7fc.js} +99 -183
  297. package/dist/components/{p-dab9d3d6.js → p-addb4be5.js} +1 -12
  298. package/dist/components/{p-d06d1eac.js → p-aeba1c02.js} +3 -3
  299. package/dist/components/{p-55501201.js → p-b2904963.js} +5 -5
  300. package/dist/components/{p-bb8f2597.js → p-b37f2227.js} +7 -7
  301. package/dist/components/{p-c515acba.js → p-b4a37662.js} +3 -3
  302. package/dist/components/{p-244cbe7b.js → p-b65d1760.js} +2 -2
  303. package/dist/components/{p-563c785d.js → p-b69a05ad.js} +3 -3
  304. package/dist/components/{p-82f8c924.js → p-b92c53c7.js} +3 -3
  305. package/dist/components/{p-a29c01fc.js → p-bbffc0e1.js} +3 -3
  306. package/dist/components/{p-e6710b76.js → p-c0942317.js} +4 -4
  307. package/dist/components/{p-84e5b453.js → p-c402a1db.js} +2 -2
  308. package/dist/components/{p-190db142.js → p-c643c410.js} +8 -8
  309. package/dist/components/{p-a10b9faa.js → p-c66a52b7.js} +3 -3
  310. package/dist/components/{p-102b6df8.js → p-caaca684.js} +2 -2
  311. package/dist/components/{p-c3621e10.js → p-cd8f62c9.js} +7 -7
  312. package/dist/components/{p-f4e75ea9.js → p-cec4d080.js} +5 -5
  313. package/dist/components/{p-fe911889.js → p-d3414935.js} +20 -11
  314. package/dist/components/{p-7fc0dc2f.js → p-dc9dde66.js} +12 -10
  315. package/dist/components/{p-e8df7ac5.js → p-e09955f3.js} +19 -19
  316. package/dist/components/{p-6f272732.js → p-e583a838.js} +9 -9
  317. package/dist/components/{p-618864a0.js → p-e60aa036.js} +3 -3
  318. package/dist/components/{p-2d08ab28.js → p-efbfe5a0.js} +4 -4
  319. package/dist/components/{p-abe1dbe6.js → p-f247cacc.js} +4 -4
  320. package/dist/components/{p-63ef7ea4.js → p-f5101af9.js} +7 -7
  321. package/dist/components/{p-f7eb9c47.js → p-f5a3ee43.js} +6 -6
  322. package/dist/components/{p-e4a080a5.js → p-f7a8a2d8.js} +4 -4
  323. package/dist/components/{p-9889bee5.js → p-f8a13473.js} +5 -5
  324. package/dist/components/{p-6756b222.js → p-f95c314b.js} +3 -3
  325. package/dist/components/{p-080acf18.js → p-fe648db5.js} +7 -4
  326. package/dist/components/rtk-ai-toggle.js +5 -5
  327. package/dist/components/rtk-ai-transcriptions.js +1 -1
  328. package/dist/components/rtk-ai.js +4 -4
  329. package/dist/components/rtk-audio-grid.js +3 -3
  330. package/dist/components/rtk-audio-tile.js +6 -6
  331. package/dist/components/rtk-audio-visualizer.js +1 -1
  332. package/dist/components/rtk-avatar.js +1 -1
  333. package/dist/components/rtk-breakout-room-manager.js +1 -1
  334. package/dist/components/rtk-breakout-room-participants.js +1 -1
  335. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  336. package/dist/components/rtk-breakout-rooms-toggle.js +5 -5
  337. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  338. package/dist/components/rtk-camera-selector.js +1 -1
  339. package/dist/components/rtk-camera-toggle.js +6 -6
  340. package/dist/components/rtk-caption-toggle.js +5 -5
  341. package/dist/components/rtk-chat-composer-ui.js +15 -32
  342. package/dist/components/rtk-chat-composer-view.js +1 -1
  343. package/dist/components/rtk-chat-message.js +1 -1
  344. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  345. package/dist/components/rtk-chat-messages-ui.js +17 -17
  346. package/dist/components/rtk-chat-search-results.js +14 -14
  347. package/dist/components/rtk-chat-selector-ui.js +4 -4
  348. package/dist/components/rtk-chat-toggle.js +34 -30
  349. package/dist/components/rtk-chat.js +1 -1
  350. package/dist/components/rtk-clock.js +6 -6
  351. package/dist/components/rtk-confirmation-modal.js +1 -1
  352. package/dist/components/rtk-controlbar-button.js +1 -1
  353. package/dist/components/rtk-controlbar.js +3 -3
  354. package/dist/components/rtk-counter.js +1 -1
  355. package/dist/components/rtk-debugger-audio.js +1 -1
  356. package/dist/components/rtk-debugger-screenshare.js +1 -1
  357. package/dist/components/rtk-debugger-system.js +1 -1
  358. package/dist/components/rtk-debugger-toggle.js +6 -6
  359. package/dist/components/rtk-debugger-video.js +1 -1
  360. package/dist/components/rtk-debugger.js +1 -1
  361. package/dist/components/rtk-dialog-manager.js +23 -23
  362. package/dist/components/rtk-dialog.js +1 -1
  363. package/dist/components/rtk-draft-attachment-view.js +1 -1
  364. package/dist/components/rtk-emoji-picker-button.js +1 -1
  365. package/dist/components/rtk-emoji-picker.js +1 -1
  366. package/dist/components/rtk-ended-screen.js +4 -4
  367. package/dist/components/rtk-file-dropzone.js +4 -4
  368. package/dist/components/rtk-file-message-view.js +1 -1
  369. package/dist/components/rtk-file-message.js +1 -1
  370. package/dist/components/rtk-file-picker-button.js +1 -1
  371. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  372. package/dist/components/rtk-grid-pagination.js +4 -4
  373. package/dist/components/rtk-grid.js +9 -9
  374. package/dist/components/rtk-header.js +3 -3
  375. package/dist/components/rtk-icon.js +1 -1
  376. package/dist/components/rtk-idle-screen.js +6 -6
  377. package/dist/components/rtk-image-message-view.js +1 -1
  378. package/dist/components/rtk-image-message.js +1 -1
  379. package/dist/components/rtk-image-viewer.js +4 -4
  380. package/dist/components/rtk-information-tooltip.js +4 -4
  381. package/dist/components/rtk-join-stage.js +1 -1
  382. package/dist/components/rtk-leave-button.js +6 -6
  383. package/dist/components/rtk-leave-meeting.js +1 -1
  384. package/dist/components/rtk-livestream-indicator.js +1 -1
  385. package/dist/components/rtk-livestream-player.js +1 -1
  386. package/dist/components/rtk-livestream-toggle.js +5 -5
  387. package/dist/components/rtk-logo.js +1 -1
  388. package/dist/components/rtk-markdown-view.js +1 -1
  389. package/dist/components/rtk-meeting-title.js +3 -3
  390. package/dist/components/rtk-meeting.js +42 -36
  391. package/dist/components/rtk-menu-item.js +1 -1
  392. package/dist/components/rtk-menu-list.js +1 -1
  393. package/dist/components/rtk-menu.js +1 -1
  394. package/dist/components/rtk-message-list-view.js +7 -7
  395. package/dist/components/rtk-message-view.js +1 -1
  396. package/dist/components/rtk-mic-toggle.js +6 -6
  397. package/dist/components/rtk-microphone-selector.js +1 -1
  398. package/dist/components/rtk-mixed-grid.js +7 -7
  399. package/dist/components/rtk-more-toggle.js +7 -7
  400. package/dist/components/rtk-mute-all-button.js +6 -6
  401. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  402. package/dist/components/rtk-name-tag.js +1 -1
  403. package/dist/components/rtk-network-indicator.js +3 -3
  404. package/dist/components/rtk-notification.js +1 -1
  405. package/dist/components/rtk-notifications.js +10 -7
  406. package/dist/components/rtk-overlay-modal.js +1 -1
  407. package/dist/components/rtk-paginated-list.js +1 -1
  408. package/dist/components/rtk-participant-count.js +3 -3
  409. package/dist/components/rtk-participant-setup.js +4 -4
  410. package/dist/components/rtk-participant-tile.js +1 -1
  411. package/dist/components/rtk-participant.js +1 -1
  412. package/dist/components/rtk-participants-audio.js +5 -5
  413. package/dist/components/rtk-participants-stage-list.js +1 -1
  414. package/dist/components/rtk-participants-stage-queue.js +1 -1
  415. package/dist/components/rtk-participants-toggle.js +6 -6
  416. package/dist/components/rtk-participants-viewer-list.js +1 -1
  417. package/dist/components/rtk-participants-waiting-list.js +1 -1
  418. package/dist/components/rtk-participants.js +15 -15
  419. package/dist/components/rtk-permissions-message.js +1 -1
  420. package/dist/components/rtk-pip-toggle.js +5 -5
  421. package/dist/components/rtk-plugin-main.js +1 -1
  422. package/dist/components/rtk-plugins-toggle.js +6 -6
  423. package/dist/components/rtk-plugins.js +1 -1
  424. package/dist/components/rtk-poll-form.js +1 -1
  425. package/dist/components/rtk-poll.js +1 -1
  426. package/dist/components/rtk-polls-toggle.js +6 -6
  427. package/dist/components/rtk-polls.js +1 -1
  428. package/dist/components/rtk-recording-indicator.js +4 -4
  429. package/dist/components/rtk-recording-toggle.js +5 -5
  430. package/dist/components/rtk-screen-share-toggle.js +6 -6
  431. package/dist/components/rtk-screenshare-view.js +9 -9
  432. package/dist/components/rtk-settings-audio.js +1 -1
  433. package/dist/components/rtk-settings-toggle.js +6 -6
  434. package/dist/components/rtk-settings-video.js +1 -1
  435. package/dist/components/rtk-settings.js +11 -11
  436. package/dist/components/rtk-setup-screen.js +7 -7
  437. package/dist/components/rtk-sidebar-ui.js +1 -1
  438. package/dist/components/rtk-sidebar.js +10 -10
  439. package/dist/components/rtk-simple-grid.js +2 -2
  440. package/dist/components/rtk-speaker-selector.js +1 -1
  441. package/dist/components/rtk-spinner.js +1 -1
  442. package/dist/components/rtk-spotlight-grid.js +4 -4
  443. package/dist/components/rtk-spotlight-indicator.js +1 -1
  444. package/dist/components/rtk-stage-toggle.js +6 -6
  445. package/dist/components/rtk-stage.js +3 -3
  446. package/dist/components/rtk-switch.js +1 -1
  447. package/dist/components/rtk-tab-bar.js +1 -1
  448. package/dist/components/rtk-text-composer-view.js +1 -1
  449. package/dist/components/rtk-text-message-view.js +1 -1
  450. package/dist/components/rtk-text-message.js +1 -1
  451. package/dist/components/rtk-tooltip.js +1 -1
  452. package/dist/components/rtk-transcript.js +1 -1
  453. package/dist/components/rtk-transcripts.js +3 -3
  454. package/dist/components/rtk-ui-provider.js +17 -5
  455. package/dist/components/rtk-viewer-count.js +1 -1
  456. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  457. package/dist/components/rtk-waiting-screen.js +4 -4
  458. package/dist/docs/docs-components.json +1429 -12236
  459. package/dist/docs/docs-vscode.json +42 -94
  460. package/dist/esm/{TextMessage-ca92045e.js → TextMessage-0aed30b2.js} +1 -1
  461. package/dist/esm/{chat-ff185374.js → chat-a170fc58.js} +2 -13
  462. package/dist/esm/{config-e684aa4d.js → config-cea9cd37.js} +2 -2
  463. package/dist/esm/{debounce-3ea4df36.js → debounce-b7ba967e.js} +1 -1
  464. package/dist/esm/index-c1fb98bb.js +6 -22
  465. package/dist/esm/{index-e65afca5.js → index-d08145ca.js} +1 -1
  466. package/dist/esm/index.js +7 -7
  467. package/dist/esm/loader.js +1369 -1971
  468. package/dist/esm/{merge-7ffc04b3.js → merge-88832ad1.js} +1 -1
  469. package/dist/esm/{notification-78afaabf.js → notification-6fa40b68.js} +1 -1
  470. package/dist/esm/realtimekit-ui.js +1 -1
  471. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  472. package/dist/esm/rtk-ai-transcriptions.entry.js +3 -3
  473. package/dist/esm/rtk-ai.entry.js +2 -2
  474. package/dist/esm/rtk-audio-grid.entry.js +3 -3
  475. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  476. package/dist/esm/rtk-audio-visualizer_4.entry.js +3 -3
  477. package/dist/esm/{rtk-avatar_24.entry.js → rtk-avatar_23.entry.js} +433 -599
  478. package/dist/esm/rtk-breakout-room-manager_3.entry.js +6 -6
  479. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +11 -11
  480. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  481. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  482. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  483. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  484. package/dist/esm/rtk-chat-composer-ui.entry.js +10 -24
  485. package/dist/esm/rtk-chat-message.entry.js +4 -4
  486. package/dist/esm/rtk-chat-messages-ui.entry.js +5 -5
  487. package/dist/esm/rtk-chat-search-results.entry.js +3 -3
  488. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  489. package/dist/esm/rtk-chat-toggle.entry.js +30 -25
  490. package/dist/esm/rtk-clock.entry.js +5 -5
  491. package/dist/esm/rtk-controlbar-button.entry.js +3 -3
  492. package/dist/esm/rtk-controlbar.entry.js +3 -3
  493. package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
  494. package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
  495. package/dist/esm/rtk-dialog-manager.entry.js +2 -2
  496. package/dist/esm/rtk-dialog.entry.js +2 -2
  497. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  498. package/dist/esm/rtk-file-dropzone.entry.js +3 -3
  499. package/dist/esm/rtk-file-message_3.entry.js +12 -12
  500. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  501. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  502. package/dist/esm/rtk-grid.entry.js +2 -2
  503. package/dist/esm/rtk-header.entry.js +3 -3
  504. package/dist/esm/rtk-idle-screen.entry.js +3 -3
  505. package/dist/esm/rtk-image-viewer.entry.js +3 -3
  506. package/dist/esm/rtk-information-tooltip.entry.js +3 -3
  507. package/dist/esm/rtk-leave-button.entry.js +3 -3
  508. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  509. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  510. package/dist/esm/rtk-logo.entry.js +2 -2
  511. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  512. package/dist/esm/rtk-message-list-view.entry.js +6 -6
  513. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  514. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  515. package/dist/esm/rtk-more-toggle.entry.js +4 -4
  516. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  517. package/dist/esm/rtk-name-tag.entry.js +3 -3
  518. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  519. package/dist/esm/rtk-notification.entry.js +6 -6
  520. package/dist/esm/rtk-notifications.entry.js +8 -5
  521. package/dist/esm/rtk-participant-count.entry.js +2 -2
  522. package/dist/esm/rtk-participant-setup.entry.js +4 -4
  523. package/dist/esm/rtk-participant_2.entry.js +17 -17
  524. package/dist/esm/rtk-participants-audio.entry.js +3 -3
  525. package/dist/esm/rtk-participants-stage-list_4.entry.js +3 -3
  526. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  527. package/dist/esm/rtk-participants.entry.js +3 -3
  528. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  529. package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
  530. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  531. package/dist/esm/rtk-plugins_2.entry.js +6 -6
  532. package/dist/esm/rtk-poll_2.entry.js +5 -5
  533. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  534. package/dist/esm/rtk-recording-indicator.entry.js +3 -3
  535. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  536. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  537. package/dist/esm/rtk-screenshare-view.entry.js +7 -7
  538. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  539. package/dist/esm/rtk-settings-toggle.entry.js +3 -3
  540. package/dist/esm/rtk-settings.entry.js +2 -2
  541. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  542. package/dist/esm/rtk-sidebar-ui.entry.js +4 -4
  543. package/dist/esm/rtk-sidebar.entry.js +3 -3
  544. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  545. package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
  546. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  547. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  548. package/dist/esm/rtk-stage.entry.js +3 -3
  549. package/dist/esm/rtk-transcript.entry.js +3 -3
  550. package/dist/esm/rtk-transcripts.entry.js +2 -2
  551. package/dist/esm/rtk-ui-provider.entry.js +13 -3
  552. package/dist/esm/rtk-waiting-screen.entry.js +3 -3
  553. package/dist/esm/{sidebar-030fff49.js → sidebar-dd9a38aa.js} +1 -1
  554. package/dist/esm/{ui-store-9e486e1b.js → ui-store-5a66fa71.js} +12 -10
  555. package/dist/realtimekit-ui/index.esm.js +1 -1
  556. package/dist/realtimekit-ui/{p-a9dd63ef.entry.js → p-00fbc77d.entry.js} +1 -1
  557. package/dist/realtimekit-ui/p-085b70ca.entry.js +1 -0
  558. package/dist/realtimekit-ui/{p-f5aa8af7.entry.js → p-0a6840aa.entry.js} +1 -1
  559. package/dist/realtimekit-ui/p-0a9761b4.entry.js +1 -0
  560. package/dist/realtimekit-ui/{p-9c1f42dd.entry.js → p-0d173282.entry.js} +1 -1
  561. package/dist/realtimekit-ui/{p-8f512d69.entry.js → p-0d6b6c0d.entry.js} +1 -1
  562. package/dist/realtimekit-ui/{p-91fd286c.js → p-0e513482.js} +1 -1
  563. package/dist/realtimekit-ui/{p-74e1b5a6.entry.js → p-136d3fe2.entry.js} +1 -1
  564. package/dist/realtimekit-ui/{p-61d3f74f.entry.js → p-186d21ad.entry.js} +1 -1
  565. package/dist/realtimekit-ui/{p-7786e9a7.entry.js → p-194ca93a.entry.js} +1 -1
  566. package/dist/realtimekit-ui/{p-e925ca8a.entry.js → p-1b6b75a7.entry.js} +1 -1
  567. package/dist/realtimekit-ui/p-1d9ba38f.entry.js +1 -0
  568. package/dist/realtimekit-ui/p-1dbbb8cb.entry.js +1 -0
  569. package/dist/realtimekit-ui/{p-c1b81873.entry.js → p-1e8a9290.entry.js} +1 -1
  570. package/dist/realtimekit-ui/{p-80c856cd.js → p-1ff96b0f.js} +1 -1
  571. package/dist/realtimekit-ui/{p-31f58b98.entry.js → p-245c5d74.entry.js} +1 -1
  572. package/dist/realtimekit-ui/{p-ba51770e.entry.js → p-25a5687a.entry.js} +1 -1
  573. package/dist/realtimekit-ui/p-29c66766.entry.js +1 -0
  574. package/dist/realtimekit-ui/{p-77e04fb7.entry.js → p-2afa0984.entry.js} +1 -1
  575. package/dist/realtimekit-ui/{p-62e0a141.entry.js → p-2be75f31.entry.js} +1 -1
  576. package/dist/realtimekit-ui/{p-36c8dfa0.entry.js → p-2e996dd5.entry.js} +1 -1
  577. package/dist/realtimekit-ui/{p-3a325310.entry.js → p-3229431b.entry.js} +1 -1
  578. package/dist/realtimekit-ui/p-328d53bd.js +1 -0
  579. package/dist/realtimekit-ui/p-334f3f6d.entry.js +1 -0
  580. package/dist/realtimekit-ui/{p-2a0ec1c6.entry.js → p-38fb340d.entry.js} +1 -1
  581. package/dist/realtimekit-ui/{p-6a45f305.js → p-3a14da51.js} +1 -1
  582. package/dist/realtimekit-ui/p-3a309e80.entry.js +1 -0
  583. package/dist/realtimekit-ui/{p-d0384d90.entry.js → p-3c003b71.entry.js} +1 -1
  584. package/dist/realtimekit-ui/{p-d7f16f24.entry.js → p-3cc15c7a.entry.js} +1 -1
  585. package/dist/realtimekit-ui/{p-8b189438.entry.js → p-3eb5a72d.entry.js} +1 -1
  586. package/dist/realtimekit-ui/p-423ff132.entry.js +1 -0
  587. package/dist/realtimekit-ui/p-55074d37.entry.js +1 -0
  588. package/dist/realtimekit-ui/{p-9ad2c746.entry.js → p-574fa8db.entry.js} +1 -1
  589. package/dist/realtimekit-ui/{p-9cbf286a.entry.js → p-59ac307d.entry.js} +1 -1
  590. package/dist/realtimekit-ui/{p-5a2d8313.entry.js → p-5cd2b5e0.entry.js} +1 -1
  591. package/dist/realtimekit-ui/p-605e418e.entry.js +1 -0
  592. package/dist/realtimekit-ui/{p-882d07c9.entry.js → p-63c32e2d.entry.js} +1 -1
  593. package/dist/realtimekit-ui/{p-95f05e26.entry.js → p-6407dc7e.entry.js} +1 -1
  594. package/dist/realtimekit-ui/p-6560e903.entry.js +1 -0
  595. package/dist/realtimekit-ui/{p-de75d48d.entry.js → p-6acda400.entry.js} +1 -1
  596. package/dist/realtimekit-ui/p-6f8f175b.entry.js +1 -0
  597. package/dist/realtimekit-ui/{p-61a16ccf.entry.js → p-731bcf94.entry.js} +1 -1
  598. package/dist/realtimekit-ui/{p-2b373e53.entry.js → p-740444e7.entry.js} +1 -1
  599. package/dist/realtimekit-ui/{p-6adb2de4.entry.js → p-75087c10.entry.js} +1 -1
  600. package/dist/realtimekit-ui/{p-93b84c22.js → p-79731cb6.js} +1 -1
  601. package/dist/realtimekit-ui/{p-e7b83772.entry.js → p-7aa48099.entry.js} +1 -1
  602. package/dist/realtimekit-ui/{p-11c964cf.entry.js → p-7c9ac5df.entry.js} +1 -1
  603. package/dist/realtimekit-ui/{p-3369f405.entry.js → p-8000d8de.entry.js} +1 -1
  604. package/dist/realtimekit-ui/p-81beeff4.entry.js +1 -0
  605. package/dist/realtimekit-ui/p-872a05b0.entry.js +1 -0
  606. package/dist/realtimekit-ui/{p-4eee77b0.entry.js → p-8bd79e77.entry.js} +1 -1
  607. package/dist/realtimekit-ui/{p-b387e9a1.entry.js → p-904119a0.entry.js} +1 -1
  608. package/dist/realtimekit-ui/{p-12e4cb4a.js → p-91d15089.js} +1 -1
  609. package/dist/realtimekit-ui/p-91efc377.entry.js +1 -0
  610. package/dist/realtimekit-ui/{p-d9cad67f.entry.js → p-9b206390.entry.js} +1 -1
  611. package/dist/realtimekit-ui/{p-0b8c47d9.entry.js → p-9b35d38b.entry.js} +1 -1
  612. package/dist/realtimekit-ui/{p-a1203856.entry.js → p-9b5c6928.entry.js} +1 -1
  613. package/dist/realtimekit-ui/{p-ae7319ac.entry.js → p-9c7449a0.entry.js} +1 -1
  614. package/dist/realtimekit-ui/{p-38aec474.entry.js → p-a37a936c.entry.js} +1 -1
  615. package/dist/realtimekit-ui/p-a417984b.entry.js +1 -0
  616. package/dist/realtimekit-ui/{p-643194e4.entry.js → p-a6bccc60.entry.js} +1 -1
  617. package/dist/realtimekit-ui/{p-4eba1baa.entry.js → p-a71320ec.entry.js} +1 -1
  618. package/dist/realtimekit-ui/p-ab5b09f9.entry.js +1 -0
  619. package/dist/realtimekit-ui/p-ae9de69a.js +1 -0
  620. package/dist/realtimekit-ui/{p-3eefefa3.entry.js → p-aef75bbb.entry.js} +1 -1
  621. package/dist/realtimekit-ui/{p-7f76de48.entry.js → p-b89736c6.entry.js} +1 -1
  622. package/dist/realtimekit-ui/{p-a4e223e8.entry.js → p-bf87c56f.entry.js} +1 -1
  623. package/dist/realtimekit-ui/{p-c5c965b8.entry.js → p-c09f774c.entry.js} +1 -1
  624. package/dist/realtimekit-ui/{p-c638f666.entry.js → p-c0b75ca2.entry.js} +1 -1
  625. package/dist/realtimekit-ui/{p-f0f6c282.entry.js → p-c33b0b90.entry.js} +1 -1
  626. package/dist/realtimekit-ui/{p-a9126c12.entry.js → p-c4fada74.entry.js} +1 -1
  627. package/dist/realtimekit-ui/{p-98ee3341.entry.js → p-c77d9110.entry.js} +1 -1
  628. package/dist/realtimekit-ui/{p-7613857e.entry.js → p-cb72ae59.entry.js} +1 -1
  629. package/dist/realtimekit-ui/{p-7b999408.entry.js → p-d543f03a.entry.js} +1 -1
  630. package/dist/realtimekit-ui/{p-949b2b6a.entry.js → p-d6071b1d.entry.js} +1 -1
  631. package/dist/realtimekit-ui/{p-1666857d.entry.js → p-d644eed7.entry.js} +1 -1
  632. package/dist/realtimekit-ui/{p-788f26c4.entry.js → p-d679ea25.entry.js} +1 -1
  633. package/dist/realtimekit-ui/{p-91ea043c.js → p-d7b92a52.js} +1 -1
  634. package/dist/realtimekit-ui/p-d7c040f0.entry.js +1 -0
  635. package/dist/realtimekit-ui/{p-09869644.entry.js → p-d9117aa2.entry.js} +1 -1
  636. package/dist/realtimekit-ui/{p-c7711712.entry.js → p-dfd41e7d.entry.js} +1 -1
  637. package/dist/realtimekit-ui/{p-2fc5ef84.entry.js → p-e16f5890.entry.js} +1 -1
  638. package/dist/realtimekit-ui/p-e1f2d163.entry.js +1 -0
  639. package/dist/realtimekit-ui/p-e829a20f.entry.js +1 -0
  640. package/dist/realtimekit-ui/{p-3d0c4257.entry.js → p-f0054be9.entry.js} +1 -1
  641. package/dist/realtimekit-ui/{p-61a53713.entry.js → p-f19fe2c3.entry.js} +1 -1
  642. package/dist/realtimekit-ui/p-f39b89a3.entry.js +1 -0
  643. package/dist/realtimekit-ui/{p-a319e81f.entry.js → p-f4025c97.entry.js} +1 -1
  644. package/dist/realtimekit-ui/{p-54a31e02.entry.js → p-f6cd4525.entry.js} +1 -1
  645. package/dist/realtimekit-ui/p-f89bb70f.js +1 -0
  646. package/dist/realtimekit-ui/{p-385fddbd.entry.js → p-fa39a651.entry.js} +1 -1
  647. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  648. package/dist/types/components/rtk-chat/rtk-chat.d.ts +7 -15
  649. package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +0 -4
  650. package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +1 -0
  651. package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +4 -12
  652. package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +4 -6
  653. package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +4 -0
  654. package/dist/types/components/rtk-menu-item/rtk-menu-item.d.ts +2 -0
  655. package/dist/types/components/rtk-menu-list/rtk-menu-list.d.ts +2 -0
  656. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +7 -0
  657. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +55 -54
  658. package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +0 -2
  659. package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +4 -1
  660. package/dist/types/components.d.ts +90 -467
  661. package/dist/types/exports.d.ts +2 -1
  662. package/dist/types/lib/icons/default-icon-pack.d.ts +0 -2
  663. package/dist/types/lib/lang/default-language.d.ts +1 -4
  664. package/dist/types/lib/overrides.d.ts +16 -0
  665. package/dist/types/types/props.d.ts +0 -4
  666. package/dist/types/utils/chat.d.ts +1 -3
  667. package/dist/types/utils/flags.d.ts +0 -2
  668. package/dist/types/utils/sync-with-store/ui-store.d.ts +4 -1
  669. package/package.json +1 -1
  670. package/dist/cjs/rtk-channel-creator.cjs.entry.js +0 -163
  671. package/dist/cjs/rtk-channel-details.cjs.entry.js +0 -49
  672. package/dist/cjs/rtk-channel-header.cjs.entry.js +0 -83
  673. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +0 -147
  674. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +0 -210
  675. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +0 -290
  676. package/dist/collection/components/rtk-channel-details/rtk-channel-details.css +0 -93
  677. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +0 -149
  678. package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +0 -99
  679. package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +0 -256
  680. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +0 -330
  681. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +0 -286
  682. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +0 -306
  683. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +0 -341
  684. package/dist/components/p-a9540d93.js +0 -357
  685. package/dist/components/p-adf73364.js +0 -85
  686. package/dist/components/p-d4e2ac64.js +0 -203
  687. package/dist/components/rtk-channel-creator.d.ts +0 -11
  688. package/dist/components/rtk-channel-creator.js +0 -214
  689. package/dist/components/rtk-channel-details.d.ts +0 -11
  690. package/dist/components/rtk-channel-details.js +0 -6
  691. package/dist/components/rtk-channel-header.d.ts +0 -11
  692. package/dist/components/rtk-channel-header.js +0 -151
  693. package/dist/components/rtk-channel-selector-ui.d.ts +0 -11
  694. package/dist/components/rtk-channel-selector-ui.js +0 -194
  695. package/dist/components/rtk-channel-selector-view.d.ts +0 -11
  696. package/dist/components/rtk-channel-selector-view.js +0 -6
  697. package/dist/esm/rtk-channel-creator.entry.js +0 -159
  698. package/dist/esm/rtk-channel-details.entry.js +0 -45
  699. package/dist/esm/rtk-channel-header.entry.js +0 -79
  700. package/dist/esm/rtk-channel-selector-ui.entry.js +0 -143
  701. package/dist/realtimekit-ui/p-0689d68b.entry.js +0 -1
  702. package/dist/realtimekit-ui/p-084b6f30.js +0 -1
  703. package/dist/realtimekit-ui/p-1bf58a84.entry.js +0 -1
  704. package/dist/realtimekit-ui/p-2f641bfa.entry.js +0 -1
  705. package/dist/realtimekit-ui/p-33228f0a.entry.js +0 -1
  706. package/dist/realtimekit-ui/p-38f4773b.entry.js +0 -1
  707. package/dist/realtimekit-ui/p-3e02ec0b.entry.js +0 -1
  708. package/dist/realtimekit-ui/p-481549ac.entry.js +0 -1
  709. package/dist/realtimekit-ui/p-50157a65.entry.js +0 -1
  710. package/dist/realtimekit-ui/p-50e861f9.entry.js +0 -1
  711. package/dist/realtimekit-ui/p-5383fe87.entry.js +0 -1
  712. package/dist/realtimekit-ui/p-53ac3d30.entry.js +0 -1
  713. package/dist/realtimekit-ui/p-57277553.entry.js +0 -1
  714. package/dist/realtimekit-ui/p-5dc40f1a.entry.js +0 -1
  715. package/dist/realtimekit-ui/p-60a29b69.entry.js +0 -1
  716. package/dist/realtimekit-ui/p-639ab9ad.entry.js +0 -1
  717. package/dist/realtimekit-ui/p-7a8ca3f2.entry.js +0 -1
  718. package/dist/realtimekit-ui/p-8b341608.entry.js +0 -1
  719. package/dist/realtimekit-ui/p-930f0255.entry.js +0 -1
  720. package/dist/realtimekit-ui/p-941f159e.entry.js +0 -1
  721. package/dist/realtimekit-ui/p-951a7b06.entry.js +0 -1
  722. package/dist/realtimekit-ui/p-aa70de39.entry.js +0 -1
  723. package/dist/realtimekit-ui/p-b564d931.entry.js +0 -1
  724. package/dist/realtimekit-ui/p-e62593a2.entry.js +0 -1
  725. package/dist/realtimekit-ui/p-e720b51e.js +0 -1
  726. package/dist/realtimekit-ui/p-e87928f7.js +0 -1
  727. package/dist/realtimekit-ui/p-f40a55e3.entry.js +0 -1
  728. package/dist/realtimekit-ui/p-f645b8bb.entry.js +0 -1
  729. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +0 -37
  730. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +0 -16
  731. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +0 -32
  732. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +0 -35
  733. package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +0 -62
@@ -1,194 +0,0 @@
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-7fc0dc2f.js';
3
- import './p-a83ccdbd.js';
4
- import { S as SyncWithStore } from './p-47c25f64.js';
5
- import { T as TextMessageView } from './p-aae4c250.js';
6
- import { d as defineCustomElement$5 } from './p-f4e75ea9.js';
7
- import { d as defineCustomElement$4 } from './p-1391bef0.js';
8
- import { d as defineCustomElement$3 } from './p-3b29dda1.js';
9
- import { d as defineCustomElement$2 } from './p-0a35a909.js';
10
-
11
- const rtkChannelSelectorUiCss = ".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}.container{display:flex;height:100%;width:var(--rtk-space-96, 384px);flex-direction:column;position:absolute;--tw-translate-x:calc(var(--rtk-space-96, 384px) * -1);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));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));border-top-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-sm, 1px);border-left-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-right-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-border-opacity));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}@keyframes fade{0%{opacity:0}100%{opacity:1}}.overlay-container{width:100vw;--tw-translate-x:var(--rtk-space-96, 384px);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));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));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;animation:fade 0.8s}.overlay-container .sidebar-btn{position:static;padding:var(--rtk-space-4, 16px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.sidebar-btn{position:absolute;right:calc(var(--rtk-space-9, 36px) * -1);top:var(--rtk-space-4, 16px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-7, 28px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-sm, 4px)}@media (orientation: landscape) and (min-width: 400px){.container{position:static;--tw-translate-x: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))}.sidebar-btn,.overlay-container{display:none}}.search-wrapper{display:flex;align-items:center;gap:var(--rtk-space-2, 8px);padding:var(--rtk-space-2, 8px);border-left-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-sm, 1px);border-top-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-bottom-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-border-opacity))}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);height:var(--rtk-space-8, 32px);width:100%}.search .search-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);padding:var(--rtk-space-2, 8px);--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-600, 255 255 255 / 0.52));border-top-right-radius:var(--rtk-border-radius-sm, 4px);border-bottom-right-radius:var(--rtk-border-radius-sm, 4px)}.search input{box-sizing:border-box;width:100%;padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-2, 8px);--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));border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;font-size:14px;line-height:1.25rem}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input{border-top-left-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px)}.channel-container{box-sizing:border-box;display:flex;flex-direction:column;padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);overflow-y:scroll}.channel-container .channel{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-2, 8px);padding:var(--rtk-space-0, 0px);border-left-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-sm, 1px);border-top-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-border-opacity))}.channel-container .channel:hover{cursor:pointer;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}.channel-container .channel:hover .latest-msg-time,.channel-container .channel:hover .latest-msg,.channel-container .channel:hover .latest-msg.new{color:rgb(var(--rtk-colors-text-on-brand-700, var(--rtk-colors-text-700, 255 255 255 / 0.64)))}.channel-container .channel-display{display:flex;gap:var(--rtk-space-2, 8px);align-self:center;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-0, 0px)}.channel-container .channel-display rtk-avatar{height:var(--rtk-space-9, 36px);width:var(--rtk-space-9, 36px);flex-shrink:0;font-size:12px}.channel-container .channel-display rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);flex-shrink:0;padding:var(--rtk-space-2, 8px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.channel-container .channel-card{width:100%;padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-1, 4px)}.channel-container .channel-card .channel-name{max-width:var(--rtk-space-60, 240px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500}.channel-container .channel-card .latest-msg{margin:var(--rtk-space-0, 0px);max-width:var(--rtk-space-56, 224px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.channel-container .channel-card .latest-msg.new{font-weight:200;font-style:italic;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.channel-container .channel-card .latest-msg-time{font-size:12px;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.channel-container .channel-meta{width:var(--rtk-space-12, 48px);display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:var(--rtk-space-1\\.5, 6px);font-size:12px;font-weight:600}.channel-container .new-msgs-count{height:var(--rtk-space-4, 16px);min-width:var(--rtk-space-4, 16px);padding-top:1px;padding-bottom:1px;padding-left:2px;padding-right:2px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));border-radius:var(--rtk-border-radius-sm, 4px);text-align:center;font-size:12px}.channel-container .selected{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}.channel-container .selected .latest-msg-time,.channel-container .selected .latest-msg,.channel-container .selected .latest-msg.new{color:rgb(var(--rtk-colors-text-on-brand-700, var(--rtk-colors-text-700, 255 255 255 / 0.64)))}.channel-container .highlight .channel-title span{font-weight:700}.latest-msg p{margin:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-1, 4px);display:inline-block}.latest-msg blockquote{display:none}.recent-message-row{margin-bottom:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:row;justify-content:space-between}";
12
- const RtkChannelSelectorUiStyle0 = rtkChannelSelectorUiCss;
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 RtkChannelSelectorUi$1 = /*@__PURE__*/ proxyCustomElement(class RtkChannelSelectorUi extends H {
25
- constructor() {
26
- super();
27
- this.__registerHost();
28
- this.__attachShadow();
29
- this.channelChanged = createEvent(this, "channelChanged", 7);
30
- /** Icon pack */
31
- this.iconPack = defaultIconPack;
32
- /** Language */
33
- this.t = useLanguage();
34
- /** show recent message in channel */
35
- this.showRecentMessage = false;
36
- this.isHidden = false;
37
- this.searchQuery = '';
38
- this.handleResize = (e) => {
39
- this.isHidden = !e.matches;
40
- };
41
- this.channelSelected = (channelId) => {
42
- this.channelChanged.emit(channelId);
43
- this.onRevealClicked();
44
- };
45
- this.onSearchInput = (e) => {
46
- this.searchQuery = e.target.value;
47
- };
48
- this.onRevealClicked = () => {
49
- if (this.matchMedia.matches)
50
- return;
51
- this.isHidden = !this.isHidden;
52
- };
53
- this.renderChannelDisplayPic = (channel) => {
54
- const hasDisplayPic = channel.displayPictureUrl && channel.displayPictureUrl.length !== 0;
55
- if (channel.isDirectMessage || hasDisplayPic) {
56
- return (h("div", { class: "channel-display" }, h("rtk-avatar", { participant: {
57
- name: channel.displayName,
58
- picture: channel.displayPictureUrl,
59
- } })));
60
- }
61
- else {
62
- return (h("div", { class: "channel-display" }, h("rtk-icon", { icon: this.iconPack.people, slot: "start" })));
63
- }
64
- };
65
- this.renderRecentMessage = (channel) => {
66
- if (!channel.latestMessage)
67
- return h("p", { class: "latest-msg new" }, this.t('chat.start_conversation'));
68
- let senderFragment = channel.isDirectMessage ? '' : `${channel.latestMessage.displayName}: `;
69
- if (channel.latestMessage.type === 'text') {
70
- return (h("p", { class: "latest-msg" }, senderFragment, h(TextMessageView, { message: channel.latestMessage.message })));
71
- }
72
- // non text
73
- let messageFragment = '';
74
- if (channel.latestMessage.type === 'image') {
75
- messageFragment = this.t('image');
76
- }
77
- else if (channel.latestMessage.type === 'file') {
78
- messageFragment = this.t('file');
79
- }
80
- return h("p", { class: "latest-msg" }, `${senderFragment}${messageFragment}`);
81
- };
82
- }
83
- connectedCallback() {
84
- this.matchMedia = window.matchMedia(`(orientation: landscape) and (min-width: 400px)`);
85
- this.matchMedia.addEventListener('change', this.handleResize);
86
- this.isHidden = !this.matchMedia.matches;
87
- }
88
- disconnectedCallback() {
89
- this.matchMedia.removeEventListener('change', this.handleResize);
90
- }
91
- componentDidRender() {
92
- this.$el.style.transform = this.isHidden ? 'translateX(-380px)' : 'translateX(0)';
93
- }
94
- getTimeLabel(message) {
95
- const messageDate = message.time;
96
- const today = new Date();
97
- const yesterday = new Date(today);
98
- yesterday.setDate(today.getDate() - 1);
99
- const firstDayOfWeek = new Date(today);
100
- firstDayOfWeek.setDate(today.getDate() - today.getDay() - 1);
101
- if (messageDate.toDateString() === today.toDateString()) {
102
- return messageDate.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' });
103
- }
104
- else if (messageDate.toDateString() === yesterday.toDateString()) {
105
- return this.t('date.yesteday');
106
- }
107
- else if (messageDate > firstDayOfWeek) {
108
- const weekdays = [
109
- 'date.sunday',
110
- 'date.monday',
111
- 'date.tuesday',
112
- 'date.wednesday',
113
- 'date.thursday',
114
- 'date.friday',
115
- 'date.saturday',
116
- ];
117
- return this.t(weekdays[messageDate.getDay()]);
118
- }
119
- else {
120
- return Intl.DateTimeFormat([], {
121
- day: '2-digit',
122
- month: '2-digit',
123
- year: '2-digit',
124
- }).format(messageDate);
125
- }
126
- }
127
- render() {
128
- return (h(Host, { key: 'd4565e4906338b20c51ca9559f9aabcf6a54382a' }, h("div", { key: '3e196d8746296f4d8f118c5218b9c1c9818fd7c3', class: "container", ref: (el) => (this.$el = el) }, this.isHidden && (h("rtk-button", { key: 'a771768f868b0e1281281ff8dc721f8a3cb2c201', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, h("rtk-icon", { key: 'b6e75a2486cef93ad99e9e173258256ab048198b', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))), h("slot", { key: 'fd02665a1f80a946e9f6c2b642b80edc6f978a65', name: "header" }), h("div", { key: 'd24ad0988ef95f0ddabb8ff1c33f3740f8af4f76', class: "search-wrapper" }, h("div", { key: '1bb2aec77e2d1d6500709566a0bd1d9a8246ecc8', class: "search" }, h("input", { key: '10a989ac0e55bd37f67359e9ca14ea9e79edeb88', type: "search", autocomplete: "off", placeholder: this.t('chat.search_conversations'), onInput: this.onSearchInput }), h("rtk-icon", { key: 'ffaeb2e88ffc571a6271fafd9b9ef1c7f105803b', icon: this.iconPack.search, class: "search-icon" }))), h("div", { key: '9612379eb95b5d4fae3a4fa6db05660bfc92b6e8', class: "channel-container scrollbar", role: "list" }, this.channels
129
- .filter((channel) => this.searchQuery === '' || channel.displayName.includes(this.searchQuery))
130
- .map((channel) => {
131
- return (h("div", { class: {
132
- channel: true,
133
- selected: channel.id === this.selectedChannelId,
134
- highlight: !!channel.unreadCount,
135
- }, role: "listitem", onClick: () => {
136
- this.channelSelected(channel.id);
137
- } }, this.renderChannelDisplayPic(channel), h("div", { class: "channel-card", "is-direct-message": channel.isDirectMessage }, h("div", { class: 'recent-message-row' }, h("span", { class: "channel-name" }, channel.displayName), channel.latestMessage && (h("span", { class: "latest-msg-time" }, this.getTimeLabel(channel.latestMessage)))), h("div", { class: 'recent-message-row' }, this.renderRecentMessage(channel), channel.unreadCount > 0 && channel.id !== this.selectedChannelId ? (h("span", { class: "new-msgs-count" }, channel.unreadCount < 99 ? channel.unreadCount : '99+')) : null))));
138
- }))), !this.isHidden && (h("div", { key: '84b18823c07fc0dba89b8e11fb36044d36c4e9d3', class: "overlay-container" }, h("rtk-button", { key: '7aecee5541f731e264a5f12d10e7f7b07ce647ef', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, h("rtk-icon", { key: '924fa966910f056fbe0e7ee57de122fcb7d6311c', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))))));
139
- }
140
- static get style() { return RtkChannelSelectorUiStyle0; }
141
- }, [1, "rtk-channel-selector-ui", {
142
- "channels": [16],
143
- "selectedChannelId": [1, "selected-channel-id"],
144
- "iconPack": [16],
145
- "t": [16],
146
- "showRecentMessage": [4, "show-recent-message"],
147
- "isHidden": [32],
148
- "searchQuery": [32]
149
- }]);
150
- __decorate([
151
- SyncWithStore()
152
- ], RtkChannelSelectorUi$1.prototype, "iconPack", void 0);
153
- __decorate([
154
- SyncWithStore()
155
- ], RtkChannelSelectorUi$1.prototype, "t", void 0);
156
- function defineCustomElement$1() {
157
- if (typeof customElements === "undefined") {
158
- return;
159
- }
160
- const components = ["rtk-channel-selector-ui", "rtk-avatar", "rtk-button", "rtk-icon", "rtk-spinner"];
161
- components.forEach(tagName => { switch (tagName) {
162
- case "rtk-channel-selector-ui":
163
- if (!customElements.get(tagName)) {
164
- customElements.define(tagName, RtkChannelSelectorUi$1);
165
- }
166
- break;
167
- case "rtk-avatar":
168
- if (!customElements.get(tagName)) {
169
- defineCustomElement$5();
170
- }
171
- break;
172
- case "rtk-button":
173
- if (!customElements.get(tagName)) {
174
- defineCustomElement$4();
175
- }
176
- break;
177
- case "rtk-icon":
178
- if (!customElements.get(tagName)) {
179
- defineCustomElement$3();
180
- }
181
- break;
182
- case "rtk-spinner":
183
- if (!customElements.get(tagName)) {
184
- defineCustomElement$2();
185
- }
186
- break;
187
- } });
188
- }
189
- defineCustomElement$1();
190
-
191
- const RtkChannelSelectorUi = RtkChannelSelectorUi$1;
192
- const defineCustomElement = defineCustomElement$1;
193
-
194
- export { RtkChannelSelectorUi, defineCustomElement };
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface RtkChannelSelectorView extends Components.RtkChannelSelectorView, HTMLElement {}
4
- export const RtkChannelSelectorView: {
5
- prototype: RtkChannelSelectorView;
6
- new (): RtkChannelSelectorView;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,6 +0,0 @@
1
- import { R as RtkChannelSelectorView$1, d as defineCustomElement$1 } from './p-d4e2ac64.js';
2
-
3
- const RtkChannelSelectorView = RtkChannelSelectorView$1;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { RtkChannelSelectorView, defineCustomElement };
@@ -1,159 +0,0 @@
1
- import { r as registerInstance, c as createEvent, w as writeTask, f as forceUpdate, h, H as Host, a as getElement } from './index-c1fb98bb.js';
2
- import { h as useLanguage, e as defaultIconPack } from './ui-store-9e486e1b.js';
3
- import { S as SyncWithStore } from './index-e65afca5.js';
4
-
5
- const rtkChannelCreatorCss = ":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{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));display:flex;flex-direction:column;width:var(--rtk-space-96, 384px);padding-left:var(--rtk-space-9, 36px);padding-right:var(--rtk-space-9, 36px);padding-top:var(--rtk-space-10, 40px);padding-bottom:var(--rtk-space-10, 40px)}header{margin-bottom:var(--rtk-space-8, 32px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px);font-size:24px;font-weight:600}.channel-name-input{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-3, 12px);font-size:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.25;outline:2px solid transparent;outline-offset:2px}.channel-name-input:focus{outline-width:2px;outline-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}footer{margin-top:var(--rtk-space-5, 20px);display:flex;justify-content:flex-end}.member{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding:var(--rtk-space-2, 8px)}.member rtk-avatar{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.input-container{position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.25;outline:2px solid transparent;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5);border-radius:var(--rtk-border-radius-sm, 4px)}.input-container .members{margin:var(--rtk-space-0, 0px);max-height:var(--rtk-space-28, 112px);border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);list-style-type:none;display:flex;flex-wrap:wrap;gap:var(--rtk-space-1, 4px);cursor:text;font-size:16px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));overflow-y:auto;min-height:var(--rtk-space-7, 28px)}.input-container .pill{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.input-container .pill rtk-avatar{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);font-size:14px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.input-container .pill span{max-width:var(--rtk-space-32, 128px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-container .pill rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);cursor:pointer}.input-container input{width:var(--rtk-space-24, 96px);border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-1, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;font-size:16px;line-height:1.25rem}.input-container input.wide-input{width:100%}.search-results{margin:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-1, 4px);max-height:var(--rtk-space-28, 112px);width:100%;padding:var(--rtk-space-0, 0px);position:absolute;list-style-type:none;overflow-y:auto;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-md, 8px);--tw-border-spacing-x:var(--rtk-space-2, 8px);--tw-border-spacing-y:var(--rtk-space-2, 8px);border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-style:solid;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.search-results .member{cursor:pointer}.search-results .member rtk-avatar{color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.search-results .member:hover,.search-results .member.selected{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-700, 2 70 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}";
6
- const RtkChannelCreatorStyle0 = rtkChannelCreatorCss;
7
-
8
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
9
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
10
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
11
- r = Reflect.decorate(decorators, target, key, desc);
12
- else
13
- for (var i = decorators.length - 1; i >= 0; i--)
14
- if (d = decorators[i])
15
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
16
- return c > 3 && r && Object.defineProperty(target, key, r), r;
17
- };
18
- const RtkChannelCreator = class {
19
- constructor(hostRef) {
20
- registerInstance(this, hostRef);
21
- this.stateUpdate = createEvent(this, "rtkStateUpdate", 7);
22
- this.switchChannel = createEvent(this, "switchChannel", 7);
23
- /** Language */
24
- this.t = useLanguage();
25
- /** Icon pack */
26
- this.iconPack = defaultIconPack;
27
- this.channelName = '';
28
- this.searchQuery = '';
29
- this.step = 1;
30
- this.loading = false;
31
- this.selectedMemberIds = new Set();
32
- this.focusedMemberIndex = -1;
33
- this.showAllMembersList = false;
34
- this.allMembers = new Map();
35
- this.inputTextRef = null;
36
- this.searchInputTextRef = null;
37
- this.focusOnSearch = (selectText = false) => {
38
- this.focusedMemberIndex = -1;
39
- writeTask(() => {
40
- var _a, _b;
41
- (_a = this.searchInputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
42
- if (selectText)
43
- (_b = this.searchInputTextRef) === null || _b === void 0 ? void 0 : _b.select();
44
- });
45
- };
46
- this.onClickHandler = async () => {
47
- if (this.channelName.length === 0)
48
- return;
49
- if (this.step === 1) {
50
- const members = this.meeting.participants.all.toArray();
51
- const selfId = this.meeting.self.userId;
52
- const nonSelfMembers = members.filter((member) => member.userId !== selfId);
53
- nonSelfMembers.forEach((member) => this.allMembers.set(member.userId, member));
54
- this.step = 2;
55
- this.focusOnSearch();
56
- return;
57
- }
58
- // step 2 - add members and create channel
59
- await this.createChannel();
60
- };
61
- this.createChannel = async () => {
62
- const members = Array.from(this.selectedMemberIds);
63
- const newChannel = await this.meeting.chat.createChannel(this.channelName, members, {
64
- displayPictureUrl: '',
65
- visibility: 'public',
66
- isDirectMessage: false,
67
- });
68
- this.switchChannel.emit(newChannel.id);
69
- this.stateUpdate.emit({ activeChannelCreator: false });
70
- };
71
- this.onMemberAdd = (id) => {
72
- this.showAllMembersList = false;
73
- this.selectedMemberIds.add(id);
74
- this.searchQuery = '';
75
- this.focusOnSearch();
76
- };
77
- this.keyDownHandler = (e, filteredMembers) => {
78
- if (e.key === 'ArrowDown') {
79
- this.focusedMemberIndex = Math.min(this.focusedMemberIndex + 1, filteredMembers.length - 1);
80
- }
81
- else if (e.key === 'ArrowUp') {
82
- if (this.focusedMemberIndex === -1)
83
- return;
84
- if (this.focusedMemberIndex === 0) {
85
- this.focusOnSearch(true);
86
- return;
87
- }
88
- this.focusedMemberIndex = Math.max(this.focusedMemberIndex - 1, 0);
89
- }
90
- else if (e.key === 'Enter') {
91
- this.onMemberAdd(filteredMembers[this.focusedMemberIndex].userId);
92
- }
93
- else if (e.key === 'Backspace') {
94
- if (this.searchQuery.length !== 0)
95
- return;
96
- if (this.selectedMemberIds.size === 0)
97
- return;
98
- const lastMemberId = Array.from(this.selectedMemberIds.values()).at(-1);
99
- this.selectedMemberIds.delete(lastMemberId);
100
- forceUpdate(this.$el);
101
- }
102
- };
103
- this.renderMemberSelector = () => {
104
- const filteredMembers = Array.from(this.allMembers.values()).filter((member) => !this.selectedMemberIds.has(member.userId) &&
105
- member.name.toLowerCase().includes(this.searchQuery.toLowerCase()));
106
- const selectedMembers = Array.from(this.selectedMemberIds.values()).map((id) => this.allMembers.get(id));
107
- const disableInput = this.selectedMemberIds.size === this.allMembers.size;
108
- return (h("div", { class: "input-container" }, h("ul", { class: "members scrollbar", onClick: () => {
109
- var _a;
110
- (_a = this.searchInputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
111
- } }, selectedMembers.map((member) => (h("li", { class: "pill" }, h("rtk-avatar", { participant: {
112
- name: member.name,
113
- picture: member.picture,
114
- }, size: "sm" }), h("span", null, member.name), h("rtk-icon", { icon: this.iconPack.dismiss, onClick: () => {
115
- this.selectedMemberIds.delete(member.userId);
116
- forceUpdate(this.$el);
117
- this.focusOnSearch();
118
- } })))), !disableInput && (h("input", { type: "text", ref: (el) => (this.searchInputTextRef = el), value: this.searchQuery, placeholder: this.selectedMemberIds.size === 0 ? this.t('chat.member_name') : '', class: {
119
- 'wide-input': this.selectedMemberIds.size === 0,
120
- }, onInput: (e) => {
121
- this.searchQuery = e.target.value.trim();
122
- }, onClick: () => {
123
- this.showAllMembersList = !this.showAllMembersList;
124
- }, onKeyDown: (e) => this.keyDownHandler(e, filteredMembers) }))), (this.searchQuery.length !== 0 || this.showAllMembersList) && (h("ul", { class: "search-results" }, filteredMembers.map((member, index) => (h("li", { class: { member: true, selected: index === this.focusedMemberIndex }, onClick: () => this.onMemberAdd(member.userId), ref: ($li) => {
125
- if (index === this.focusedMemberIndex) {
126
- writeTask(() => {
127
- if ($li)
128
- $li.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'nearest' });
129
- });
130
- }
131
- } }, h("rtk-avatar", { participant: {
132
- name: member.name,
133
- picture: member.picture,
134
- }, size: "sm" }), h("span", null, member.name)))), filteredMembers.length === 0 && (h("li", { class: "member" }, h("span", null, this.t('chat.error.empty_results'))))))));
135
- };
136
- }
137
- componentDidLoad() {
138
- var _a;
139
- (_a = this.inputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
140
- }
141
- render() {
142
- return (h(Host, { key: '5d65768a72c0769857b7d817d0b555d50a5645a5' }, h("header", { key: 'f8826c58072d2ddb73ed61a1813bf62b85cb9bc8' }, this.step === 1 ? this.t('chat.new_channel') : this.t('chat.add_members')), this.step === 1 && (h("input", { key: '2bad468b946a896cb28a6206d5650c1b0192f9f9', class: "channel-name-input", type: "text", placeholder: this.t('chat.channel_name'), ref: (el) => (this.inputTextRef = el), onInput: (e) => {
143
- this.channelName = e.target.value.trim();
144
- } })), this.step === 2 && this.renderMemberSelector(), h("footer", { key: 'd23db51c427fa67f67cc11514e241d052eb376fe' }, h("rtk-button", { key: '5031f53ed0dc632d3e778f0ecaefb0165b74d74d', kind: "button", size: "lg", disabled: this.channelName.length === 0, onClick: this.onClickHandler }, this.step === 1 ? this.t('chat.add_members') : this.t('create')))));
145
- }
146
- get $el() { return getElement(this); }
147
- };
148
- __decorate([
149
- SyncWithStore()
150
- ], RtkChannelCreator.prototype, "meeting", void 0);
151
- __decorate([
152
- SyncWithStore()
153
- ], RtkChannelCreator.prototype, "t", void 0);
154
- __decorate([
155
- SyncWithStore()
156
- ], RtkChannelCreator.prototype, "iconPack", void 0);
157
- RtkChannelCreator.style = RtkChannelCreatorStyle0;
158
-
159
- export { RtkChannelCreator as rtk_channel_creator };
@@ -1,45 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-c1fb98bb.js';
2
- import { h as useLanguage, e as defaultIconPack } from './ui-store-9e486e1b.js';
3
- import { S as SyncWithStore } from './index-e65afca5.js';
4
-
5
- const rtkChannelDetailsCss = ":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{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));display:flex;flex-direction:column;width:var(--rtk-space-72, 288px);padding-top:var(--rtk-space-5, 20px);padding-bottom:var(--rtk-space-5, 20px);padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px)}header{font-size:20px}rtk-spinner{margin-top:var(--rtk-space-10, 40px);margin-bottom:var(--rtk-space-10, 40px);margin-left:auto;margin-right:auto}ul{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-6, 24px);margin-bottom:var(--rtk-space-4, 16px);height:var(--rtk-space-48, 192px);padding:var(--rtk-space-0, 0px);overflow-y:auto;list-style-type:none;display:flex;flex-direction:column;gap:var(--rtk-space-2, 8px)}ul li{margin-right:var(--rtk-space-2, 8px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px);padding:var(--rtk-space-2, 8px);cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px)}ul li:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}ul li rtk-avatar{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}";
6
- const RtkChannelDetailsStyle0 = rtkChannelDetailsCss;
7
-
8
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
9
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
10
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
11
- r = Reflect.decorate(decorators, target, key, desc);
12
- else
13
- for (var i = decorators.length - 1; i >= 0; i--)
14
- if (d = decorators[i])
15
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
16
- return c > 3 && r && Object.defineProperty(target, key, r), r;
17
- };
18
- const RtkChannelDetails = class {
19
- constructor(hostRef) {
20
- registerInstance(this, hostRef);
21
- /** Language */
22
- this.t = useLanguage();
23
- /** Icon pack */
24
- this.iconPack = defaultIconPack;
25
- /** List of channel members */
26
- this.members = [];
27
- }
28
- renderMembers() {
29
- return (h("ul", { class: "scrollbar" }, this.members.map((member) => {
30
- return (h("li", null, h("rtk-avatar", { participant: { name: member.name, picture: member.picture }, size: "sm" }), h("span", null, member.name)));
31
- })));
32
- }
33
- render() {
34
- return (h(Host, { key: 'fd16feaf7e6dff4fbf038073e953c25d3f7b4822' }, h("header", { key: 'acb5029883e4bd77eadd22d1024cb5a9dfd8247a' }, this.t('chat.channel_members')), this.renderMembers()));
35
- }
36
- };
37
- __decorate([
38
- SyncWithStore()
39
- ], RtkChannelDetails.prototype, "t", void 0);
40
- __decorate([
41
- SyncWithStore()
42
- ], RtkChannelDetails.prototype, "iconPack", void 0);
43
- RtkChannelDetails.style = RtkChannelDetailsStyle0;
44
-
45
- export { RtkChannelDetails as rtk_channel_details };
@@ -1,79 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-c1fb98bb.js';
2
- import { e as defaultIconPack, h as useLanguage } from './ui-store-9e486e1b.js';
3
- import { S as SyncWithStore } from './index-e65afca5.js';
4
-
5
- const rtkChannelHeaderCss = "header{box-sizing:border-box;height:var(--rtk-space-16, 64px);width:100%;padding:var(--rtk-space-4, 16px);display:flex;justify-content:space-between;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));border-left-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-sm, 1px);border-top-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-bottom-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-border-opacity))}header.searching{justify-content:flex-end}header.searching .channel-details{display:none}header .channel-details{display:flex;flex-grow:1;flex-direction:column;justify-content:center;height:var(--rtk-space-9, 36px);width:var(--rtk-space-1, 4px)}header .channel-details .name{font-weight:500}header .channel-details .members{margin-top:var(--rtk-space-0\\.5, 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}header .channel-tools{display:flex;flex-shrink:0;justify-content:flex-end;gap:var(--rtk-space-1, 4px);min-width:var(--rtk-space-24, 96px)}header .channel-tools rtk-tooltip{height:var(--rtk-space-8, 32px);width:var(--rtk-space-10, 40px);display:flex}header .search-input{height:var(--rtk-space-8, 32px);width:var(--rtk-space-48, 192px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);--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))}header .name{font-size:16px}header .br-primary-btn{background-color:transparent}header .br-primary-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}@media (orientation: landscape) and (min-width: 400px){header.searching .channel-details{display:flex}}.back-btn{margin-right:var(--rtk-space-3, 12px)}";
6
- const RtkChannelHeaderStyle0 = rtkChannelHeaderCss;
7
-
8
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
9
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
10
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
11
- r = Reflect.decorate(decorators, target, key, desc);
12
- else
13
- for (var i = decorators.length - 1; i >= 0; i--)
14
- if (d = decorators[i])
15
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
16
- return c > 3 && r && Object.defineProperty(target, key, r), r;
17
- };
18
- const RtkChannelHeader = class {
19
- constructor(hostRef) {
20
- registerInstance(this, hostRef);
21
- this.search = createEvent(this, "search", 7);
22
- this.searchDismissed = createEvent(this, "searchDismissed", 7);
23
- this.back = createEvent(this, "back", 7);
24
- /** Icon pack */
25
- this.iconPack = defaultIconPack;
26
- /** Language */
27
- this.t = useLanguage();
28
- this.showChannelDetailsDialog = false;
29
- this.showSearchBar = false;
30
- this.members = [];
31
- /** Show back button */
32
- this.showBackButton = false;
33
- }
34
- onChannelChanged() {
35
- if (this.$searchInput)
36
- this.$searchInput.value = '';
37
- this.showSearchBar = false;
38
- if (!this.channel.isDirectMessage) {
39
- this.meeting.chat.getChannelMembers(this.channel.id).then((members) => {
40
- this.members = members;
41
- });
42
- }
43
- }
44
- connectedCallback() {
45
- this.onChannelChanged();
46
- }
47
- renderChannelDetails() {
48
- return (h("rtk-dialog", { open: true, onRtkDialogClose: () => {
49
- this.showChannelDetailsDialog = false;
50
- }, iconPack: this.iconPack, t: this.t }, h("rtk-channel-details", { members: this.members, channel: this.channel })));
51
- }
52
- render() {
53
- if (!this.channel) {
54
- return null;
55
- }
56
- return (h(Host, null, this.showChannelDetailsDialog && this.renderChannelDetails(), h("header", { class: {
57
- searching: this.showSearchBar,
58
- } }, this.showBackButton && (h("rtk-button", { kind: "icon", variant: "secondary", class: "back-btn", onClick: () => {
59
- this.back.emit();
60
- } }, h("rtk-icon", { icon: this.iconPack.chevron_left }))), h("div", { class: "channel-details" }, h("span", { class: "name" }, this.channel.displayName), !this.channel.isDirectMessage && (h("span", { class: "members" }, this.members.map((member) => member.name).join(', ')))), h("div", { class: "channel-tools" }, !this.channel.isDirectMessage && (h("rtk-tooltip", { label: this.t('chat.channel_members'), variant: "primary" }, h("rtk-button", { kind: "button", variant: "secondary", size: "md", onClick: () => {
61
- this.showChannelDetailsDialog = !this.showChannelDetailsDialog;
62
- }, class: "br-primary-btn" }, h("rtk-icon", { icon: this.iconPack.people }))))))));
63
- }
64
- static get watchers() { return {
65
- "channel": ["onChannelChanged"]
66
- }; }
67
- };
68
- __decorate([
69
- SyncWithStore()
70
- ], RtkChannelHeader.prototype, "meeting", void 0);
71
- __decorate([
72
- SyncWithStore()
73
- ], RtkChannelHeader.prototype, "iconPack", void 0);
74
- __decorate([
75
- SyncWithStore()
76
- ], RtkChannelHeader.prototype, "t", void 0);
77
- RtkChannelHeader.style = RtkChannelHeaderStyle0;
78
-
79
- export { RtkChannelHeader as rtk_channel_header };