@cloudflare/realtimekit-ui 1.1.0-staging.10 → 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 (700) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-1dc6f8b9.js → TextMessage-75b55b60.js} +1 -1
  3. package/dist/cjs/{chat-2ae6f058.js → chat-90670f84.js} +1 -16
  4. package/dist/cjs/{config-0a88d50b.js → config-60d594e2.js} +2 -2
  5. package/dist/cjs/{debounce-b06b27ca.js → debounce-677e65cb.js} +1 -1
  6. package/dist/cjs/index-05554ce6.js +6 -22
  7. package/dist/cjs/{index-e4244d7d.js → index-5442bdba.js} +1 -1
  8. package/dist/cjs/index.cjs.js +5 -5
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/{merge-c46cfa17.js → merge-7ce7986a.js} +1 -1
  11. package/dist/cjs/{notification-f3750b61.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} +42 -338
  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 +3 -3
  32. package/dist/cjs/rtk-clock.cjs.entry.js +5 -5
  33. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
  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 +4 -4
  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 +2 -2
  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 +2 -2
  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 +2 -2
  94. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
  95. package/dist/cjs/{sidebar-0eb1e4ef.js → sidebar-e172c4ae.js} +1 -1
  96. package/dist/cjs/{ui-store-6c2d680f.js → ui-store-594688bf.js} +1 -7
  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 +2 -2
  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 +0 -37
  114. package/dist/collection/components/rtk-chat/rtk-chat.js +8 -153
  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 +2 -2
  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 +8 -71
  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.js +2 -2
  123. package/dist/collection/components/rtk-clock/rtk-clock.js +4 -4
  124. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +3 -3
  125. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +3 -3
  126. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +1 -1
  127. package/dist/collection/components/rtk-counter/rtk-counter.js +4 -4
  128. package/dist/collection/components/rtk-debugger/rtk-debugger.js +2 -2
  129. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +2 -2
  130. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +2 -2
  131. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +2 -2
  132. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +3 -3
  133. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +2 -2
  134. package/dist/collection/components/rtk-dialog/rtk-dialog.js +2 -2
  135. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +2 -2
  136. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +3 -3
  137. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +3 -3
  138. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +3 -3
  139. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +2 -2
  140. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +3 -3
  141. package/dist/collection/components/rtk-file-message/rtk-file-message.js +4 -4
  142. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +2 -2
  143. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +4 -4
  144. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +2 -2
  145. package/dist/collection/components/rtk-grid/rtk-grid.js +2 -2
  146. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +2 -2
  147. package/dist/collection/components/rtk-header/rtk-header.js +3 -3
  148. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +3 -3
  149. package/dist/collection/components/rtk-image-message/rtk-image-message.js +6 -6
  150. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +5 -5
  151. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +3 -3
  152. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -2
  153. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +3 -3
  154. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +3 -3
  155. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +4 -4
  156. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +2 -2
  157. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +2 -2
  158. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +2 -2
  159. package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
  160. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  161. package/dist/collection/components/rtk-meeting/rtk-meeting.js +2 -2
  162. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +2 -2
  163. package/dist/collection/components/rtk-menu/rtk-menu.js +4 -4
  164. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +3 -3
  165. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +3 -3
  166. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +4 -4
  167. package/dist/collection/components/rtk-message-view/rtk-message-view.js +2 -2
  168. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +2 -2
  169. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +2 -2
  170. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +2 -2
  171. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +4 -4
  172. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +2 -2
  173. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +3 -3
  174. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +3 -3
  175. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +2 -2
  176. package/dist/collection/components/rtk-notification/rtk-notification.js +4 -4
  177. package/dist/collection/components/rtk-notifications/rtk-notifications.js +2 -2
  178. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +3 -3
  179. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +4 -4
  180. package/dist/collection/components/rtk-participant/rtk-participant.js +14 -14
  181. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +2 -2
  182. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +4 -4
  183. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +2 -2
  184. package/dist/collection/components/rtk-participants/rtk-participants.js +2 -2
  185. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +3 -3
  186. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +3 -3
  187. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +2 -2
  188. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +2 -2
  189. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +2 -2
  190. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +2 -2
  191. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +3 -3
  192. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +2 -2
  193. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +2 -2
  194. package/dist/collection/components/rtk-plugins/rtk-plugins.js +3 -3
  195. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +2 -2
  196. package/dist/collection/components/rtk-poll/rtk-poll.js +3 -3
  197. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +4 -4
  198. package/dist/collection/components/rtk-polls/rtk-polls.js +5 -5
  199. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +2 -2
  200. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +3 -3
  201. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +2 -2
  202. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +2 -2
  203. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +7 -7
  204. package/dist/collection/components/rtk-settings/rtk-settings.js +2 -2
  205. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +2 -2
  206. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +3 -3
  207. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +2 -2
  208. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +2 -2
  209. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +2 -2
  210. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +3 -3
  211. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +2 -2
  212. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +2 -2
  213. package/dist/collection/components/rtk-spinner/rtk-spinner.js +2 -2
  214. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +4 -4
  215. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +2 -2
  216. package/dist/collection/components/rtk-stage/rtk-stage.js +3 -3
  217. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +2 -2
  218. package/dist/collection/components/rtk-switch/rtk-switch.js +3 -3
  219. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +2 -2
  220. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +3 -3
  221. package/dist/collection/components/rtk-text-message/rtk-text-message.js +4 -4
  222. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  223. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  224. package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
  225. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
  226. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +2 -2
  227. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +2 -2
  228. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  229. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +3 -3
  230. package/dist/collection/lib/icons/default-icon-pack.js +0 -2
  231. package/dist/collection/lib/lang/default-language.js +1 -4
  232. package/dist/collection/utils/chat.js +0 -4
  233. package/dist/collection/utils/flags.js +0 -1
  234. package/dist/components/index.js +7 -7
  235. package/dist/components/{p-1a9e3806.js → p-0899c09f.js} +3 -3
  236. package/dist/components/{p-e443d803.js → p-19d83dd6.js} +3 -3
  237. package/dist/components/{p-05df465d.js → p-1c5cc842.js} +1 -1
  238. package/dist/components/{p-7bde2b2d.js → p-1c678eab.js} +5 -5
  239. package/dist/components/{p-f0e4633e.js → p-1e9999d7.js} +3 -3
  240. package/dist/components/{p-524d7900.js → p-1ea0d406.js} +4 -4
  241. package/dist/components/{p-7c8096c2.js → p-206acdcd.js} +3 -3
  242. package/dist/components/{p-5f1b84f7.js → p-21becaf3.js} +8 -8
  243. package/dist/components/{p-dd89aff2.js → p-23d37f65.js} +5 -5
  244. package/dist/components/{p-e72a0f16.js → p-24481cb4.js} +4 -4
  245. package/dist/components/{p-19b037c5.js → p-2ec120cd.js} +3 -3
  246. package/dist/components/{p-f7bd10f1.js → p-3245ace2.js} +4 -4
  247. package/dist/components/{p-44a203bd.js → p-33db910f.js} +5 -5
  248. package/dist/components/{p-abdff498.js → p-34654ffc.js} +8 -8
  249. package/dist/components/{p-b6869c32.js → p-410cef02.js} +3 -3
  250. package/dist/components/{p-1da807a2.js → p-4c82be72.js} +3 -3
  251. package/dist/components/{p-7b6356e2.js → p-5194f4d6.js} +3 -3
  252. package/dist/components/{p-fefc57f9.js → p-51ef5a21.js} +5 -5
  253. package/dist/components/{p-43bf8953.js → p-52e95364.js} +3 -3
  254. package/dist/components/{p-39e8b34a.js → p-541e6de7.js} +3 -3
  255. package/dist/components/{p-aae4c250.js → p-56134994.js} +1 -1
  256. package/dist/components/{p-b76e3950.js → p-565c8389.js} +4 -4
  257. package/dist/components/{p-72fffe3e.js → p-5791a91d.js} +2 -2
  258. package/dist/components/{p-fb836f65.js → p-63c79efa.js} +1 -1
  259. package/dist/components/{p-35e93724.js → p-63e06c50.js} +2 -2
  260. package/dist/components/{p-e64e3cec.js → p-63e51be4.js} +4 -4
  261. package/dist/components/{p-74356882.js → p-645b761e.js} +7 -7
  262. package/dist/components/{p-586482a8.js → p-6614c9e7.js} +5 -5
  263. package/dist/components/{p-0a31ef52.js → p-66ba4031.js} +2 -2
  264. package/dist/components/{p-fb7666ce.js → p-66d10db2.js} +4 -4
  265. package/dist/components/{p-193d8051.js → p-6e10fc42.js} +2 -2
  266. package/dist/components/{p-5476e3f3.js → p-71f12515.js} +4 -4
  267. package/dist/components/{p-e4888ccc.js → p-770c0fd7.js} +21 -43
  268. package/dist/components/{p-e375b50d.js → p-777aa628.js} +4 -4
  269. package/dist/components/{p-ad873f2d.js → p-7a424d82.js} +1 -1
  270. package/dist/components/{p-d9f6db4f.js → p-7c84212d.js} +5 -5
  271. package/dist/components/{p-819cb785.js → p-7e6ca4af.js} +3 -3
  272. package/dist/components/{p-ecb016da.js → p-7f790526.js} +4 -4
  273. package/dist/components/{p-cf8f725b.js → p-8222af8c.js} +2 -2
  274. package/dist/components/{p-dc3143c0.js → p-8e285a44.js} +2 -2
  275. package/dist/components/{p-d188f58b.js → p-901c2375.js} +2 -2
  276. package/dist/components/{p-977f9875.js → p-91bc86f4.js} +2 -2
  277. package/dist/components/{p-3e58e0f3.js → p-93947678.js} +3 -3
  278. package/dist/components/{p-dfb42075.js → p-93db20a6.js} +2 -2
  279. package/dist/components/{p-2447a26f.js → p-951a67af.js} +4 -4
  280. package/dist/components/{p-3972098e.js → p-97d1dcb7.js} +12 -12
  281. package/dist/components/{p-6f7c46d2.js → p-9c3c75a9.js} +1 -1
  282. package/dist/components/{p-6739a399.js → p-a6aea524.js} +2 -2
  283. package/dist/components/{p-da87cc71.js → p-a72d3d19.js} +1 -1
  284. package/dist/components/{p-33be3c19.js → p-a89ee2d2.js} +12 -12
  285. package/dist/components/{p-edd12f2f.js → p-a99b0889.js} +4 -4
  286. package/dist/components/{p-210862ae.js → p-ac80e7fc.js} +32 -177
  287. package/dist/components/{p-dab9d3d6.js → p-addb4be5.js} +1 -12
  288. package/dist/components/{p-600579a6.js → p-aeba1c02.js} +2 -2
  289. package/dist/components/{p-e57e8041.js → p-b2904963.js} +4 -4
  290. package/dist/components/{p-395ef9c8.js → p-b37f2227.js} +6 -6
  291. package/dist/components/{p-6f361314.js → p-b4a37662.js} +2 -2
  292. package/dist/components/{p-89eb65a9.js → p-b65d1760.js} +2 -2
  293. package/dist/components/{p-eeb37b16.js → p-b69a05ad.js} +3 -3
  294. package/dist/components/{p-1afc54bb.js → p-b92c53c7.js} +2 -2
  295. package/dist/components/{p-f6c2e822.js → p-bbffc0e1.js} +2 -2
  296. package/dist/components/{p-fb900e8f.js → p-c0942317.js} +4 -4
  297. package/dist/components/{p-6f8d2043.js → p-c402a1db.js} +2 -2
  298. package/dist/components/{p-44c32349.js → p-c643c410.js} +7 -7
  299. package/dist/components/{p-e552dc59.js → p-c66a52b7.js} +2 -2
  300. package/dist/components/{p-c05530c8.js → p-caaca684.js} +2 -2
  301. package/dist/components/{p-92729e09.js → p-cd8f62c9.js} +6 -6
  302. package/dist/components/{p-9bdc24b8.js → p-cec4d080.js} +3 -3
  303. package/dist/components/{p-7a27fdb5.js → p-d3414935.js} +8 -8
  304. package/dist/components/{p-e847fee9.js → p-dc9dde66.js} +1 -7
  305. package/dist/components/{p-fa5aba68.js → p-e09955f3.js} +18 -18
  306. package/dist/components/{p-6392204c.js → p-e583a838.js} +8 -8
  307. package/dist/components/{p-107e55c1.js → p-e60aa036.js} +3 -3
  308. package/dist/components/{p-45b4f6a1.js → p-efbfe5a0.js} +3 -3
  309. package/dist/components/{p-2309fb19.js → p-f247cacc.js} +4 -4
  310. package/dist/components/{p-282e8e83.js → p-f5101af9.js} +6 -6
  311. package/dist/components/{p-6c02b0d0.js → p-f5a3ee43.js} +5 -5
  312. package/dist/components/{p-89151c7a.js → p-f7a8a2d8.js} +3 -3
  313. package/dist/components/{p-46d99dd9.js → p-f8a13473.js} +5 -5
  314. package/dist/components/{p-851b90a6.js → p-f95c314b.js} +2 -2
  315. package/dist/components/{p-7148ec6a.js → p-fe648db5.js} +3 -3
  316. package/dist/components/rtk-ai-toggle.js +4 -4
  317. package/dist/components/rtk-ai-transcriptions.js +1 -1
  318. package/dist/components/rtk-ai.js +3 -3
  319. package/dist/components/rtk-audio-grid.js +3 -3
  320. package/dist/components/rtk-audio-tile.js +5 -5
  321. package/dist/components/rtk-audio-visualizer.js +1 -1
  322. package/dist/components/rtk-avatar.js +1 -1
  323. package/dist/components/rtk-breakout-room-manager.js +1 -1
  324. package/dist/components/rtk-breakout-room-participants.js +1 -1
  325. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  326. package/dist/components/rtk-breakout-rooms-toggle.js +4 -4
  327. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  328. package/dist/components/rtk-camera-selector.js +1 -1
  329. package/dist/components/rtk-camera-toggle.js +5 -5
  330. package/dist/components/rtk-caption-toggle.js +4 -4
  331. package/dist/components/rtk-chat-composer-ui.js +14 -31
  332. package/dist/components/rtk-chat-composer-view.js +1 -1
  333. package/dist/components/rtk-chat-message.js +1 -1
  334. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  335. package/dist/components/rtk-chat-messages-ui.js +16 -16
  336. package/dist/components/rtk-chat-search-results.js +13 -13
  337. package/dist/components/rtk-chat-selector-ui.js +3 -3
  338. package/dist/components/rtk-chat-toggle.js +5 -5
  339. package/dist/components/rtk-chat.js +1 -1
  340. package/dist/components/rtk-clock.js +5 -5
  341. package/dist/components/rtk-confirmation-modal.js +1 -1
  342. package/dist/components/rtk-controlbar-button.js +1 -1
  343. package/dist/components/rtk-controlbar.js +3 -3
  344. package/dist/components/rtk-counter.js +1 -1
  345. package/dist/components/rtk-debugger-audio.js +1 -1
  346. package/dist/components/rtk-debugger-screenshare.js +1 -1
  347. package/dist/components/rtk-debugger-system.js +1 -1
  348. package/dist/components/rtk-debugger-toggle.js +5 -5
  349. package/dist/components/rtk-debugger-video.js +1 -1
  350. package/dist/components/rtk-debugger.js +1 -1
  351. package/dist/components/rtk-dialog-manager.js +22 -22
  352. package/dist/components/rtk-dialog.js +1 -1
  353. package/dist/components/rtk-draft-attachment-view.js +1 -1
  354. package/dist/components/rtk-emoji-picker-button.js +1 -1
  355. package/dist/components/rtk-emoji-picker.js +1 -1
  356. package/dist/components/rtk-ended-screen.js +3 -3
  357. package/dist/components/rtk-file-dropzone.js +3 -3
  358. package/dist/components/rtk-file-message-view.js +1 -1
  359. package/dist/components/rtk-file-message.js +1 -1
  360. package/dist/components/rtk-file-picker-button.js +1 -1
  361. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  362. package/dist/components/rtk-grid-pagination.js +3 -3
  363. package/dist/components/rtk-grid.js +8 -8
  364. package/dist/components/rtk-header.js +3 -3
  365. package/dist/components/rtk-idle-screen.js +5 -5
  366. package/dist/components/rtk-image-message-view.js +1 -1
  367. package/dist/components/rtk-image-message.js +1 -1
  368. package/dist/components/rtk-image-viewer.js +3 -3
  369. package/dist/components/rtk-information-tooltip.js +3 -3
  370. package/dist/components/rtk-join-stage.js +1 -1
  371. package/dist/components/rtk-leave-button.js +5 -5
  372. package/dist/components/rtk-leave-meeting.js +1 -1
  373. package/dist/components/rtk-livestream-indicator.js +1 -1
  374. package/dist/components/rtk-livestream-player.js +1 -1
  375. package/dist/components/rtk-livestream-toggle.js +4 -4
  376. package/dist/components/rtk-logo.js +1 -1
  377. package/dist/components/rtk-markdown-view.js +1 -1
  378. package/dist/components/rtk-meeting-title.js +3 -3
  379. package/dist/components/rtk-meeting.js +26 -32
  380. package/dist/components/rtk-menu-item.js +1 -1
  381. package/dist/components/rtk-menu-list.js +1 -1
  382. package/dist/components/rtk-menu.js +1 -1
  383. package/dist/components/rtk-message-list-view.js +6 -6
  384. package/dist/components/rtk-message-view.js +1 -1
  385. package/dist/components/rtk-mic-toggle.js +5 -5
  386. package/dist/components/rtk-microphone-selector.js +1 -1
  387. package/dist/components/rtk-mixed-grid.js +6 -6
  388. package/dist/components/rtk-more-toggle.js +6 -6
  389. package/dist/components/rtk-mute-all-button.js +5 -5
  390. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  391. package/dist/components/rtk-name-tag.js +1 -1
  392. package/dist/components/rtk-network-indicator.js +2 -2
  393. package/dist/components/rtk-notification.js +1 -1
  394. package/dist/components/rtk-notifications.js +5 -5
  395. package/dist/components/rtk-overlay-modal.js +1 -1
  396. package/dist/components/rtk-paginated-list.js +1 -1
  397. package/dist/components/rtk-participant-count.js +2 -2
  398. package/dist/components/rtk-participant-setup.js +4 -4
  399. package/dist/components/rtk-participant-tile.js +1 -1
  400. package/dist/components/rtk-participant.js +1 -1
  401. package/dist/components/rtk-participants-audio.js +4 -4
  402. package/dist/components/rtk-participants-stage-list.js +1 -1
  403. package/dist/components/rtk-participants-stage-queue.js +1 -1
  404. package/dist/components/rtk-participants-toggle.js +5 -5
  405. package/dist/components/rtk-participants-viewer-list.js +1 -1
  406. package/dist/components/rtk-participants-waiting-list.js +1 -1
  407. package/dist/components/rtk-participants.js +14 -14
  408. package/dist/components/rtk-permissions-message.js +1 -1
  409. package/dist/components/rtk-pip-toggle.js +4 -4
  410. package/dist/components/rtk-plugin-main.js +1 -1
  411. package/dist/components/rtk-plugins-toggle.js +5 -5
  412. package/dist/components/rtk-plugins.js +1 -1
  413. package/dist/components/rtk-poll-form.js +1 -1
  414. package/dist/components/rtk-poll.js +1 -1
  415. package/dist/components/rtk-polls-toggle.js +5 -5
  416. package/dist/components/rtk-polls.js +1 -1
  417. package/dist/components/rtk-recording-indicator.js +3 -3
  418. package/dist/components/rtk-recording-toggle.js +4 -4
  419. package/dist/components/rtk-screen-share-toggle.js +5 -5
  420. package/dist/components/rtk-screenshare-view.js +8 -8
  421. package/dist/components/rtk-settings-audio.js +1 -1
  422. package/dist/components/rtk-settings-toggle.js +5 -5
  423. package/dist/components/rtk-settings-video.js +1 -1
  424. package/dist/components/rtk-settings.js +10 -10
  425. package/dist/components/rtk-setup-screen.js +6 -6
  426. package/dist/components/rtk-sidebar-ui.js +1 -1
  427. package/dist/components/rtk-sidebar.js +9 -9
  428. package/dist/components/rtk-simple-grid.js +2 -2
  429. package/dist/components/rtk-speaker-selector.js +1 -1
  430. package/dist/components/rtk-spinner.js +1 -1
  431. package/dist/components/rtk-spotlight-grid.js +4 -4
  432. package/dist/components/rtk-spotlight-indicator.js +1 -1
  433. package/dist/components/rtk-stage-toggle.js +5 -5
  434. package/dist/components/rtk-stage.js +3 -3
  435. package/dist/components/rtk-switch.js +1 -1
  436. package/dist/components/rtk-tab-bar.js +1 -1
  437. package/dist/components/rtk-text-composer-view.js +1 -1
  438. package/dist/components/rtk-text-message-view.js +1 -1
  439. package/dist/components/rtk-text-message.js +1 -1
  440. package/dist/components/rtk-tooltip.js +1 -1
  441. package/dist/components/rtk-transcript.js +1 -1
  442. package/dist/components/rtk-transcripts.js +3 -3
  443. package/dist/components/rtk-ui-provider.js +2 -2
  444. package/dist/components/rtk-viewer-count.js +1 -1
  445. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  446. package/dist/components/rtk-waiting-screen.js +4 -4
  447. package/dist/docs/docs-components.json +3816 -14913
  448. package/dist/docs/docs-vscode.json +0 -93
  449. package/dist/esm/{TextMessage-0d8be8c5.js → TextMessage-0aed30b2.js} +1 -1
  450. package/dist/esm/{chat-b2bea75f.js → chat-a170fc58.js} +2 -13
  451. package/dist/esm/{config-325caca3.js → config-cea9cd37.js} +2 -2
  452. package/dist/esm/{debounce-3139f9e3.js → debounce-b7ba967e.js} +1 -1
  453. package/dist/esm/index-c1fb98bb.js +6 -22
  454. package/dist/esm/{index-6eb882e7.js → index-d08145ca.js} +1 -1
  455. package/dist/esm/index.js +7 -7
  456. package/dist/esm/loader.js +917 -1675
  457. package/dist/esm/{merge-bc2a0775.js → merge-88832ad1.js} +1 -1
  458. package/dist/esm/{notification-4beb1e0d.js → notification-6fa40b68.js} +1 -1
  459. package/dist/esm/realtimekit-ui.js +1 -1
  460. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  461. package/dist/esm/rtk-ai-transcriptions.entry.js +3 -3
  462. package/dist/esm/rtk-ai.entry.js +2 -2
  463. package/dist/esm/rtk-audio-grid.entry.js +3 -3
  464. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  465. package/dist/esm/rtk-audio-visualizer_4.entry.js +3 -3
  466. package/dist/esm/{rtk-avatar_24.entry.js → rtk-avatar_23.entry.js} +43 -338
  467. package/dist/esm/rtk-breakout-room-manager_3.entry.js +6 -6
  468. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +11 -11
  469. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  470. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  471. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  472. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  473. package/dist/esm/rtk-chat-composer-ui.entry.js +10 -24
  474. package/dist/esm/rtk-chat-message.entry.js +4 -4
  475. package/dist/esm/rtk-chat-messages-ui.entry.js +5 -5
  476. package/dist/esm/rtk-chat-search-results.entry.js +3 -3
  477. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  478. package/dist/esm/rtk-chat-toggle.entry.js +3 -3
  479. package/dist/esm/rtk-clock.entry.js +5 -5
  480. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  481. package/dist/esm/rtk-controlbar.entry.js +3 -3
  482. package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
  483. package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
  484. package/dist/esm/rtk-dialog-manager.entry.js +2 -2
  485. package/dist/esm/rtk-dialog.entry.js +2 -2
  486. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  487. package/dist/esm/rtk-file-dropzone.entry.js +3 -3
  488. package/dist/esm/rtk-file-message_3.entry.js +12 -12
  489. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  490. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  491. package/dist/esm/rtk-grid.entry.js +2 -2
  492. package/dist/esm/rtk-header.entry.js +3 -3
  493. package/dist/esm/rtk-idle-screen.entry.js +3 -3
  494. package/dist/esm/rtk-image-viewer.entry.js +3 -3
  495. package/dist/esm/rtk-information-tooltip.entry.js +3 -3
  496. package/dist/esm/rtk-leave-button.entry.js +3 -3
  497. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  498. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  499. package/dist/esm/rtk-logo.entry.js +2 -2
  500. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  501. package/dist/esm/rtk-message-list-view.entry.js +6 -6
  502. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  503. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  504. package/dist/esm/rtk-more-toggle.entry.js +4 -4
  505. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  506. package/dist/esm/rtk-name-tag.entry.js +3 -3
  507. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  508. package/dist/esm/rtk-notification.entry.js +6 -6
  509. package/dist/esm/rtk-notifications.entry.js +4 -4
  510. package/dist/esm/rtk-participant-count.entry.js +2 -2
  511. package/dist/esm/rtk-participant-setup.entry.js +4 -4
  512. package/dist/esm/rtk-participant_2.entry.js +17 -17
  513. package/dist/esm/rtk-participants-audio.entry.js +3 -3
  514. package/dist/esm/rtk-participants-stage-list_4.entry.js +3 -3
  515. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  516. package/dist/esm/rtk-participants.entry.js +3 -3
  517. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  518. package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
  519. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  520. package/dist/esm/rtk-plugins_2.entry.js +6 -6
  521. package/dist/esm/rtk-poll_2.entry.js +5 -5
  522. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  523. package/dist/esm/rtk-recording-indicator.entry.js +3 -3
  524. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  525. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  526. package/dist/esm/rtk-screenshare-view.entry.js +7 -7
  527. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  528. package/dist/esm/rtk-settings-toggle.entry.js +3 -3
  529. package/dist/esm/rtk-settings.entry.js +2 -2
  530. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  531. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  532. package/dist/esm/rtk-sidebar.entry.js +3 -3
  533. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  534. package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
  535. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  536. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  537. package/dist/esm/rtk-stage.entry.js +3 -3
  538. package/dist/esm/rtk-transcript.entry.js +3 -3
  539. package/dist/esm/rtk-transcripts.entry.js +2 -2
  540. package/dist/esm/rtk-ui-provider.entry.js +2 -2
  541. package/dist/esm/rtk-waiting-screen.entry.js +3 -3
  542. package/dist/esm/{sidebar-376c9917.js → sidebar-dd9a38aa.js} +1 -1
  543. package/dist/esm/{ui-store-12132d9c.js → ui-store-5a66fa71.js} +1 -7
  544. package/dist/realtimekit-ui/index.esm.js +1 -1
  545. package/dist/realtimekit-ui/{p-639601b7.entry.js → p-00fbc77d.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-b51e813e.entry.js → p-085b70ca.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-5892c1e0.entry.js → p-0a6840aa.entry.js} +1 -1
  548. package/dist/realtimekit-ui/p-0a9761b4.entry.js +1 -0
  549. package/dist/realtimekit-ui/{p-f266302c.entry.js → p-0d173282.entry.js} +1 -1
  550. package/dist/realtimekit-ui/{p-14569a57.entry.js → p-0d6b6c0d.entry.js} +1 -1
  551. package/dist/realtimekit-ui/{p-cd0c5440.js → p-0e513482.js} +1 -1
  552. package/dist/realtimekit-ui/{p-05d1b9d5.entry.js → p-136d3fe2.entry.js} +1 -1
  553. package/dist/realtimekit-ui/{p-e78ba202.entry.js → p-186d21ad.entry.js} +1 -1
  554. package/dist/realtimekit-ui/{p-ebfde234.entry.js → p-194ca93a.entry.js} +1 -1
  555. package/dist/realtimekit-ui/{p-cd56beb7.entry.js → p-1b6b75a7.entry.js} +1 -1
  556. package/dist/realtimekit-ui/p-1d9ba38f.entry.js +1 -0
  557. package/dist/realtimekit-ui/{p-342b4926.entry.js → p-1dbbb8cb.entry.js} +1 -1
  558. package/dist/realtimekit-ui/{p-7a9a226e.entry.js → p-1e8a9290.entry.js} +1 -1
  559. package/dist/realtimekit-ui/{p-9b550ec4.js → p-1ff96b0f.js} +1 -1
  560. package/dist/realtimekit-ui/{p-a680da64.entry.js → p-245c5d74.entry.js} +1 -1
  561. package/dist/realtimekit-ui/{p-cc226b51.entry.js → p-25a5687a.entry.js} +1 -1
  562. package/dist/realtimekit-ui/p-29c66766.entry.js +1 -0
  563. package/dist/realtimekit-ui/p-2afa0984.entry.js +1 -0
  564. package/dist/realtimekit-ui/{p-30dcb4cc.entry.js → p-2be75f31.entry.js} +1 -1
  565. package/dist/realtimekit-ui/{p-323d1aa4.entry.js → p-2e996dd5.entry.js} +1 -1
  566. package/dist/realtimekit-ui/{p-426bf45e.entry.js → p-3229431b.entry.js} +1 -1
  567. package/dist/realtimekit-ui/{p-45f90b95.js → p-328d53bd.js} +1 -1
  568. package/dist/realtimekit-ui/{p-85b3c0c4.entry.js → p-334f3f6d.entry.js} +1 -1
  569. package/dist/realtimekit-ui/{p-8778b3e6.entry.js → p-38fb340d.entry.js} +1 -1
  570. package/dist/realtimekit-ui/{p-afa7211c.js → p-3a14da51.js} +1 -1
  571. package/dist/realtimekit-ui/{p-6896e819.entry.js → p-3a309e80.entry.js} +1 -1
  572. package/dist/realtimekit-ui/{p-a40cc665.entry.js → p-3c003b71.entry.js} +1 -1
  573. package/dist/realtimekit-ui/{p-cda276d6.entry.js → p-3cc15c7a.entry.js} +1 -1
  574. package/dist/realtimekit-ui/{p-4b638184.entry.js → p-3eb5a72d.entry.js} +1 -1
  575. package/dist/realtimekit-ui/p-423ff132.entry.js +1 -0
  576. package/dist/realtimekit-ui/p-55074d37.entry.js +1 -0
  577. package/dist/realtimekit-ui/{p-515a17ce.entry.js → p-574fa8db.entry.js} +1 -1
  578. package/dist/realtimekit-ui/{p-701cdf1b.entry.js → p-59ac307d.entry.js} +1 -1
  579. package/dist/realtimekit-ui/{p-cb54bd67.entry.js → p-5cd2b5e0.entry.js} +1 -1
  580. package/dist/realtimekit-ui/{p-369648b9.entry.js → p-605e418e.entry.js} +1 -1
  581. package/dist/realtimekit-ui/{p-685adc5f.entry.js → p-63c32e2d.entry.js} +1 -1
  582. package/dist/realtimekit-ui/{p-0baa78d7.entry.js → p-6407dc7e.entry.js} +1 -1
  583. package/dist/realtimekit-ui/{p-fa86682c.entry.js → p-6560e903.entry.js} +1 -1
  584. package/dist/realtimekit-ui/{p-c8773db0.entry.js → p-6acda400.entry.js} +1 -1
  585. package/dist/realtimekit-ui/p-6f8f175b.entry.js +1 -0
  586. package/dist/realtimekit-ui/{p-a7172c2d.entry.js → p-731bcf94.entry.js} +1 -1
  587. package/dist/realtimekit-ui/{p-1462cbd9.entry.js → p-740444e7.entry.js} +1 -1
  588. package/dist/realtimekit-ui/{p-616dc312.entry.js → p-75087c10.entry.js} +1 -1
  589. package/dist/realtimekit-ui/{p-d3e520e5.js → p-79731cb6.js} +1 -1
  590. package/dist/realtimekit-ui/{p-ad5e9fdb.entry.js → p-7aa48099.entry.js} +1 -1
  591. package/dist/realtimekit-ui/{p-e0c73820.entry.js → p-7c9ac5df.entry.js} +1 -1
  592. package/dist/realtimekit-ui/{p-95fb25d6.entry.js → p-8000d8de.entry.js} +1 -1
  593. package/dist/realtimekit-ui/{p-ec5ed8a4.entry.js → p-81beeff4.entry.js} +1 -1
  594. package/dist/realtimekit-ui/p-872a05b0.entry.js +1 -0
  595. package/dist/realtimekit-ui/{p-b25f7d7b.entry.js → p-8bd79e77.entry.js} +1 -1
  596. package/dist/realtimekit-ui/{p-1834416c.entry.js → p-904119a0.entry.js} +1 -1
  597. package/dist/realtimekit-ui/{p-11a469d9.js → p-91d15089.js} +1 -1
  598. package/dist/realtimekit-ui/{p-44d69c6b.entry.js → p-91efc377.entry.js} +1 -1
  599. package/dist/realtimekit-ui/{p-f32aecbc.entry.js → p-9b206390.entry.js} +1 -1
  600. package/dist/realtimekit-ui/{p-1fe6003b.entry.js → p-9b35d38b.entry.js} +1 -1
  601. package/dist/realtimekit-ui/{p-a67e2a25.entry.js → p-9b5c6928.entry.js} +1 -1
  602. package/dist/realtimekit-ui/{p-a9190330.entry.js → p-9c7449a0.entry.js} +1 -1
  603. package/dist/realtimekit-ui/{p-be03944b.entry.js → p-a37a936c.entry.js} +1 -1
  604. package/dist/realtimekit-ui/{p-4485414e.entry.js → p-a417984b.entry.js} +1 -1
  605. package/dist/realtimekit-ui/{p-a0d39ea3.entry.js → p-a6bccc60.entry.js} +1 -1
  606. package/dist/realtimekit-ui/{p-3dd04263.entry.js → p-a71320ec.entry.js} +1 -1
  607. package/dist/realtimekit-ui/{p-a852e0cf.entry.js → p-ab5b09f9.entry.js} +1 -1
  608. package/dist/realtimekit-ui/p-ae9de69a.js +1 -0
  609. package/dist/realtimekit-ui/{p-be5bdd0a.entry.js → p-aef75bbb.entry.js} +1 -1
  610. package/dist/realtimekit-ui/{p-f6c82f1b.entry.js → p-b89736c6.entry.js} +1 -1
  611. package/dist/realtimekit-ui/p-bf87c56f.entry.js +1 -0
  612. package/dist/realtimekit-ui/{p-94a37c73.entry.js → p-c09f774c.entry.js} +1 -1
  613. package/dist/realtimekit-ui/{p-64206b62.entry.js → p-c0b75ca2.entry.js} +1 -1
  614. package/dist/realtimekit-ui/{p-85b45c3b.entry.js → p-c33b0b90.entry.js} +1 -1
  615. package/dist/realtimekit-ui/{p-43530cd3.entry.js → p-c4fada74.entry.js} +1 -1
  616. package/dist/realtimekit-ui/{p-af58f450.entry.js → p-c77d9110.entry.js} +1 -1
  617. package/dist/realtimekit-ui/{p-ac6c8ebe.entry.js → p-cb72ae59.entry.js} +1 -1
  618. package/dist/realtimekit-ui/{p-532e1a53.entry.js → p-d543f03a.entry.js} +1 -1
  619. package/dist/realtimekit-ui/{p-4b33b435.entry.js → p-d6071b1d.entry.js} +1 -1
  620. package/dist/realtimekit-ui/{p-67ead213.entry.js → p-d644eed7.entry.js} +1 -1
  621. package/dist/realtimekit-ui/{p-fcb7a6e2.entry.js → p-d679ea25.entry.js} +1 -1
  622. package/dist/realtimekit-ui/{p-a7e0277f.js → p-d7b92a52.js} +1 -1
  623. package/dist/realtimekit-ui/{p-bf717b8c.entry.js → p-d7c040f0.entry.js} +1 -1
  624. package/dist/realtimekit-ui/{p-6914a616.entry.js → p-d9117aa2.entry.js} +1 -1
  625. package/dist/realtimekit-ui/{p-573187b4.entry.js → p-dfd41e7d.entry.js} +1 -1
  626. package/dist/realtimekit-ui/{p-1669c53d.entry.js → p-e16f5890.entry.js} +1 -1
  627. package/dist/realtimekit-ui/p-e1f2d163.entry.js +1 -0
  628. package/dist/realtimekit-ui/p-e829a20f.entry.js +1 -0
  629. package/dist/realtimekit-ui/{p-7d01d588.entry.js → p-f0054be9.entry.js} +1 -1
  630. package/dist/realtimekit-ui/{p-2441260e.entry.js → p-f19fe2c3.entry.js} +1 -1
  631. package/dist/realtimekit-ui/p-f39b89a3.entry.js +1 -0
  632. package/dist/realtimekit-ui/{p-75f53ae6.entry.js → p-f4025c97.entry.js} +1 -1
  633. package/dist/realtimekit-ui/{p-5b00a8fa.entry.js → p-f6cd4525.entry.js} +1 -1
  634. package/dist/realtimekit-ui/p-f89bb70f.js +1 -0
  635. package/dist/realtimekit-ui/{p-00445029.entry.js → p-fa39a651.entry.js} +1 -1
  636. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  637. package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -14
  638. package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +0 -4
  639. package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +2 -12
  640. package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +0 -2
  641. package/dist/types/components.d.ts +6 -460
  642. package/dist/types/lib/icons/default-icon-pack.d.ts +0 -2
  643. package/dist/types/lib/lang/default-language.d.ts +1 -4
  644. package/dist/types/types/props.d.ts +0 -4
  645. package/dist/types/utils/chat.d.ts +1 -3
  646. package/dist/types/utils/flags.d.ts +0 -1
  647. package/package.json +1 -1
  648. package/dist/cjs/rtk-channel-creator.cjs.entry.js +0 -163
  649. package/dist/cjs/rtk-channel-details.cjs.entry.js +0 -49
  650. package/dist/cjs/rtk-channel-header.cjs.entry.js +0 -83
  651. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +0 -147
  652. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +0 -210
  653. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +0 -290
  654. package/dist/collection/components/rtk-channel-details/rtk-channel-details.css +0 -93
  655. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +0 -149
  656. package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +0 -99
  657. package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +0 -256
  658. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +0 -330
  659. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +0 -286
  660. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +0 -306
  661. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +0 -341
  662. package/dist/components/p-33e73313.js +0 -85
  663. package/dist/components/p-c78c26b1.js +0 -203
  664. package/dist/components/rtk-channel-creator.d.ts +0 -11
  665. package/dist/components/rtk-channel-creator.js +0 -214
  666. package/dist/components/rtk-channel-details.d.ts +0 -11
  667. package/dist/components/rtk-channel-details.js +0 -6
  668. package/dist/components/rtk-channel-header.d.ts +0 -11
  669. package/dist/components/rtk-channel-header.js +0 -151
  670. package/dist/components/rtk-channel-selector-ui.d.ts +0 -11
  671. package/dist/components/rtk-channel-selector-ui.js +0 -194
  672. package/dist/components/rtk-channel-selector-view.d.ts +0 -11
  673. package/dist/components/rtk-channel-selector-view.js +0 -6
  674. package/dist/esm/rtk-channel-creator.entry.js +0 -159
  675. package/dist/esm/rtk-channel-details.entry.js +0 -45
  676. package/dist/esm/rtk-channel-header.entry.js +0 -79
  677. package/dist/esm/rtk-channel-selector-ui.entry.js +0 -143
  678. package/dist/realtimekit-ui/p-21d4bb9c.entry.js +0 -1
  679. package/dist/realtimekit-ui/p-25c4d10f.js +0 -1
  680. package/dist/realtimekit-ui/p-2b054928.entry.js +0 -1
  681. package/dist/realtimekit-ui/p-322957ed.entry.js +0 -1
  682. package/dist/realtimekit-ui/p-3f4120cc.entry.js +0 -1
  683. package/dist/realtimekit-ui/p-44531a97.entry.js +0 -1
  684. package/dist/realtimekit-ui/p-48c87789.entry.js +0 -1
  685. package/dist/realtimekit-ui/p-53680d55.entry.js +0 -1
  686. package/dist/realtimekit-ui/p-54a88fdf.entry.js +0 -1
  687. package/dist/realtimekit-ui/p-612a8d25.entry.js +0 -1
  688. package/dist/realtimekit-ui/p-7108d1cd.entry.js +0 -1
  689. package/dist/realtimekit-ui/p-80e51a73.entry.js +0 -1
  690. package/dist/realtimekit-ui/p-820dad23.entry.js +0 -1
  691. package/dist/realtimekit-ui/p-a1408db4.entry.js +0 -1
  692. package/dist/realtimekit-ui/p-a5900df2.js +0 -1
  693. package/dist/realtimekit-ui/p-c5f704a3.entry.js +0 -1
  694. package/dist/realtimekit-ui/p-d880fb69.entry.js +0 -1
  695. package/dist/realtimekit-ui/p-e5b426fa.entry.js +0 -1
  696. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +0 -37
  697. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +0 -16
  698. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +0 -32
  699. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +0 -35
  700. package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +0 -62
@@ -1,203 +0,0 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, i as useLanguage } from './p-e847fee9.js';
3
- import './p-a83ccdbd.js';
4
- import { S as SyncWithStore } from './p-6f7c46d2.js';
5
- import { d as defineCustomElement$5 } from './p-9bdc24b8.js';
6
- import { d as defineCustomElement$4 } from './p-73baf5ba.js';
7
- import { d as defineCustomElement$3 } from './p-cf8f725b.js';
8
- import { d as defineCustomElement$2 } from './p-e443d803.js';
9
- import { d as defineCustomElement$1 } from './p-6739a399.js';
10
- import { d as debounce } from './p-1dca17d1.js';
11
-
12
- const rtkChannelSelectorViewCss = ".scrollbar {\n /* For Firefox */\n scrollbar-width: thin;\n scrollbar-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent);\n}\n\n/* For WebKit */\n.scrollbar::-webkit-scrollbar {\n height: var(--rtk-space-1\\.5, 6px);\n width: var(--rtk-space-1\\.5, 6px);\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-background, transparent);\n}\n\n.scrollbar::-webkit-scrollbar-thumb {\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)));\n}\n\n\n:host {\n display: flex;\n flex-direction: column;\n width: 100%;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));\n position: relative;\n z-index: 10;\n height: var(--rtk-space-12, 48px);\n min-height: 48px;\n}\n\n.dropdown-trigger {\n height: 100%;\n width: 100%;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n padding: var(--rtk-space-4, 16px);\n padding-left: var(--rtk-space-3, 12px);\n padding-right: var(--rtk-space-3, 12px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));\n font-size: 14px;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n cursor: pointer;\n position: absolute;\n z-index: 20;\n}\n\n.dropdown-trigger span {\n display: flex;\n flex: 1 1 0%;\n align-items: center;\n justify-content: flex-start;\n gap: var(--rtk-space-2, 8px);\n}\n\n.dropdown-trigger rtk-icon {\n margin-left: var(--rtk-space-1, 4px);\n height: var(--rtk-space-4, 16px);\n width: var(--rtk-space-4, 16px);\n flex-shrink: 0;\n}\n\n@container chatcontainer (height < 360px) {\n .dropdown-trigger {\n padding: var(--rtk-space-2, 8px);\n }\n .dropdown {\n top: var(--rtk-space-8, 32px) !important;\n }\n .search-container {\n padding-left: var(--rtk-space-0, 0px) !important;\n padding-right: var(--rtk-space-0, 0px) !important;\n padding-top: var(--rtk-space-0, 0px) !important;\n padding-bottom: var(--rtk-space-0, 0px) !important;\n }\n input {\n height: var(--rtk-space-8, 32px) !important;\n border-radius: var(--rtk-border-radius-none, 0) !important;\n }\n .avatar-icon {\n height: var(--rtk-space-3, 12px) !important;\n width: var(--rtk-space-3, 12px) !important;\n padding: var(--rtk-space-1, 4px) !important;\n }\n}\n\n.dropdown {\n position: absolute;\n width: 100%;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));\n border-bottom-width: var(--rtk-border-width-sm, 1px);\n border-right-width: var(--rtk-border-width-none, 0);\n border-left-width: var(--rtk-border-width-none, 0);\n border-top-width: var(--rtk-border-width-none, 0);\n border-style: solid;\n --tw-border-opacity: 1;\n border-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));\n top: var(--rtk-space-12, 48px);\n z-index: 10;\n animation: 0.3s slide-down ease;\n}\n\n.dropdown .channels-container {\n max-height: var(--rtk-space-80, 320px);\n}\n\n.list {\n display: flex;\n flex-direction: column;\n}\n\n.list .channel .channel-data {\n align-items: flex-start;\n}\n\n.unread-count {\n display: flex;\n justify-content: center;\n height: var(--rtk-space-5, 20px);\n min-width: var(--rtk-space-3, 12px);\n border-radius: 9999px;\n padding-left: var(--rtk-space-1, 4px);\n padding-right: var(--rtk-space-1, 4px);\n font-size: 12px;\n line-height: 1.25rem;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n}\n\ninput {\n height: var(--rtk-space-9, 36px);\n width: 100%;\n padding-left: var(--rtk-space-3, 12px);\n padding-right: var(--rtk-space-3, 12px);\n box-sizing: border-box;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n outline: 2px solid transparent;\n outline-offset: 2px;\n border-radius: var(--rtk-border-radius-sm, 4px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\n.search-container {\n display: flex;\n flex-shrink: 0;\n flex-grow: 0;\n flex-basis: auto;\n align-items: center;\n padding-top: var(--rtk-space-3, 12px);\n padding-bottom: var(--rtk-space-3, 12px);\n padding-left: var(--rtk-space-2, 8px);\n padding-right: var(--rtk-space-2, 8px);\n border-bottom: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-700, 44 44 44));\n}\n\n.search-container rtk-icon {\n margin-left: calc(var(--rtk-space-8, 32px) * -1);\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n color: rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76));\n}\n\n.channels-container {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n overflow-y: auto;\n}\n\nrtk-avatar {\n height: var(--rtk-space-4, 16px) !important;\n width: var(--rtk-space-4, 16px) !important;\n overflow: clip;\n border-radius: 9999px;\n padding: var(--rtk-space-2, 8px);\n font-size: 12px;\n}\n\n.channel {\n flex-shrink: 0;\n padding-top: var(--rtk-space-2, 8px);\n padding-bottom: var(--rtk-space-2, 8px);\n box-sizing: border-box;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n background-color: transparent;\n outline: 2px solid transparent;\n outline-offset: 2px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--rtk-space-2, 8px);\n width: 100%;\n padding-left: var(--rtk-space-2, 8px);\n padding-right: var(--rtk-space-3, 12px);\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.channel:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n}\n\n.channel .channel-data {\n flex: 1 1 0%;\n align-items: center;\n justify-content: space-between;\n display: flex;\n gap: var(--rtk-space-2, 8px);\n}\n\n.channel .name {\n font-size: 16px;\n}\n\n.channel .name, \n .channel .last-message {\n max-width: var(--rtk-space-40, 160px);\n text-align: left;\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n}\n\n.channel .no-message {\n font-style: italic;\n}\n\n.channel .avatar-icon {\n height: var(--rtk-space-4, 16px);\n width: var(--rtk-space-4, 16px);\n padding: var(--rtk-space-2, 8px);\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n overflow: clip;\n border-radius: 9999px;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n}\n\n.channel time, \n .channel .last-message {\n font-size: 12px;\n color: rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76));\n}\n\n.channel.active {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n}\n\n.channel.active .unread-count {\n background-color: rgb(var(--rtk-colors-text-on-brand-800, var(--rtk-colors-text-800, 255 255 255 / 0.76)));\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity));\n}\n\n.channel.active time {\n color: rgb(var(--rtk-colors-text-on-brand-800, var(--rtk-colors-text-800, 255 255 255 / 0.76)));\n}\n\n.channel.active .last-message {\n color: rgb(var(--rtk-colors-text-on-brand-700, var(--rtk-colors-text-700, 255 255 255 / 0.64)));\n}\n\n.channel.active rtk-avatar {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n}\n\n.col {\n gap: var(--rtk-space-1, 4px);\n display: flex;\n flex-direction: column;\n}\n\n.channel-meta {\n flex-shrink: 0;\n align-items: flex-end;\n}\n\n@keyframes slide-down {\n from {\n transform: translateY(-50px);\n }\n to {\n transform: translateY(0%);\n }\n}\n";
13
- const RtkChannelSelectorViewStyle0 = rtkChannelSelectorViewCss;
14
-
15
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
16
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
17
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
18
- r = Reflect.decorate(decorators, target, key, desc);
19
- else
20
- for (var i = decorators.length - 1; i >= 0; i--)
21
- if (d = decorators[i])
22
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
23
- return c > 3 && r && Object.defineProperty(target, key, r), r;
24
- };
25
- const RtkChannelSelectorView = /*@__PURE__*/ proxyCustomElement(class RtkChannelSelectorView extends H {
26
- constructor() {
27
- super();
28
- this.__registerHost();
29
- this.__attachShadow();
30
- this.channelChange = createEvent(this, "channelChange", 7);
31
- /** Disables search bar (default = false) */
32
- this.disableSearch = false;
33
- /** Hides avatar (default = false) */
34
- this.hideAvatar = false;
35
- /** Icon Pack */
36
- this.iconPack = defaultIconPack;
37
- /** Language */
38
- this.t = useLanguage();
39
- /** Render as dropdown or list (default = list) */
40
- this.viewAs = 'list';
41
- this.searchQuery = '';
42
- this.showDropdown = false;
43
- this.calculateListHeight = debounce(() => {
44
- if (this.viewAs === 'list' && this.$listEl) {
45
- let height = 0;
46
- const slotEl = this.$el.shadowRoot.querySelector('slot[name="header"]');
47
- if (slotEl) {
48
- slotEl.assignedElements().forEach((e) => (height += e.offsetHeight));
49
- }
50
- if (this.$searchEl) {
51
- height += this.$searchEl.offsetHeight;
52
- }
53
- this.$listEl.style.height = `${window.innerHeight - height - 16}px`;
54
- }
55
- }, 60);
56
- this.getFilteredChannels = () => {
57
- if (this.searchQuery.trim() === '') {
58
- return this.channels;
59
- }
60
- return this.channels.filter((channel) => {
61
- return channel['name'].toLowerCase().includes(this.searchQuery.toLowerCase());
62
- });
63
- };
64
- this.toggleDropdown = () => {
65
- this.showDropdown = !this.showDropdown;
66
- };
67
- this.getChannelById = (id) => {
68
- return this.channels.find((channel) => channel.id === id);
69
- };
70
- this.getTotalUnreads = () => {
71
- return this.channels.reduce((acc, curr) => {
72
- return acc + curr.unreadCount;
73
- }, 0);
74
- };
75
- this.onChannelClickHandler = (channel) => {
76
- this.channelChange.emit(channel);
77
- if (this.viewAs === 'dropdown') {
78
- this.showDropdown = false;
79
- }
80
- };
81
- }
82
- connectedCallback() {
83
- this.resizeObserver = new ResizeObserver(this.calculateListHeight);
84
- }
85
- componentDidLoad() {
86
- this.resizeObserver.observe(this.$el);
87
- this.calculateListHeight();
88
- }
89
- disconnectedCallback() {
90
- var _a;
91
- (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
92
- this.calculateListHeight.cancel();
93
- }
94
- getTimeLabel(messageDate) {
95
- const today = new Date();
96
- const yesterday = new Date(today);
97
- yesterday.setDate(today.getDate() - 1);
98
- const firstDayOfWeek = new Date(today);
99
- firstDayOfWeek.setDate(today.getDate() - today.getDay() - 1);
100
- if (messageDate.toDateString() === today.toDateString()) {
101
- return messageDate.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' });
102
- }
103
- else if (messageDate.toDateString() === yesterday.toDateString()) {
104
- return this.t('date.yesteday');
105
- }
106
- else if (messageDate > firstDayOfWeek) {
107
- const weekdays = [
108
- 'date.sunday',
109
- 'date.monday',
110
- 'date.tuesday',
111
- 'date.wednesday',
112
- 'date.thursday',
113
- 'date.friday',
114
- 'date.saturday',
115
- ];
116
- return this.t(weekdays[messageDate.getDay()]);
117
- }
118
- else {
119
- return Intl.DateTimeFormat([], {
120
- day: '2-digit',
121
- month: '2-digit',
122
- year: '2-digit',
123
- }).format(messageDate);
124
- }
125
- }
126
- render() {
127
- const filteredChannels = this.getFilteredChannels();
128
- const shouldShowDropdown = this.viewAs === 'list' || (this.viewAs === 'dropdown' && this.showDropdown);
129
- return (h(Host, { key: '2c491dbe0ac19cb386f0880fff81f4501648a6ae' }, this.viewAs === 'list' && h("slot", { key: '0e87d59c7522543b19711813474738f75a0e02fe', name: "header" }), shouldShowDropdown && (h("div", { key: 'c60692c7f75aa9febd73c134cd79aab020f7c2a5', class: {
130
- dropdown: this.viewAs === 'dropdown',
131
- scrollbar: this.viewAs === 'dropdown',
132
- list: this.viewAs === 'list',
133
- } }, !this.disableSearch && (h("div", { key: '74c50b2fad4cba26a20278f87c77a1672a1d748d', class: "search-container", ref: (el) => (this.$searchEl = el) }, h("input", { key: 'ff22698874ed7df9d91e72cb485ec2901ddf2b3b', type: "text", placeholder: this.t('chat.search_conversations'), value: this.searchQuery, onInput: (e) => (this.searchQuery = e.target.value) }), h("rtk-icon", { key: '9c8a9dffc0cea5e56aeb828ee198d0582024f1fa', icon: this.iconPack.search }))), h("div", { key: '04607e8d3cd62f4e6ca10c2748d6e100a4df4039', class: "channels-container scrollbar", ref: (el) => (this.$listEl = el) }, filteredChannels.map((channel) => {
134
- return (h("button", { class: { channel: true, active: this.selectedChannelId === channel.id }, onClick: () => this.onChannelClickHandler(channel) }, !this.hideAvatar && (h("div", null, channel.icon ? (h("rtk-icon", { class: "avatar-icon", icon: this.iconPack[channel.icon] })) : (h("rtk-avatar", { participant: {
135
- name: channel.name,
136
- picture: channel.avatarUrl,
137
- } })))), h("div", { class: "channel-data" }, h("div", { class: "col" }, h("div", { class: "name" }, channel.name), channel.latestMessage && (h("div", { class: {
138
- 'last-message': true,
139
- 'no-message': !channel.latestMessage,
140
- } }, h("rtk-text-message-view", { isMarkdown: true, text: channel.latestMessage })))), h("div", { class: "col channel-meta" }, channel.latestMessageTime && (h("time", { class: "time" }, this.getTimeLabel(channel.latestMessageTime))), channel.unreadCount > 0 && (h("div", { class: "unread-count" }, channel.unreadCount))))));
141
- })))), this.viewAs === 'dropdown' && (h("button", { key: 'f710577dda08fe51f169c85318b9c51b89e765bb', class: "dropdown-trigger", onClick: this.toggleDropdown }, h("span", { key: '9bebec13a0bacb5651ef598ff47b96a2903ccf0f' }, h("rtk-icon", { key: '0ec4a41bcb7fa3086cdeacc0d6671c23c43a857f', icon: this.iconPack.participants }), this.selectedChannelId &&
142
- `${this.t('to')} ${this.getChannelById(this.selectedChannelId).name}`, this.getTotalUnreads() > 0 && (h("div", { key: '043033c796d39c07a290350c5b7f92eafe03bbd2', class: "unread-count" }, this.getTotalUnreads()))), h("rtk-icon", { key: '12a2a92172d5741ac6ee99a39ee83158b98a8745', icon: this.showDropdown ? this.iconPack.chevron_up : this.iconPack.chevron_down })))));
143
- }
144
- get $el() { return this; }
145
- static get style() { return RtkChannelSelectorViewStyle0; }
146
- }, [1, "rtk-channel-selector-view", {
147
- "channels": [16],
148
- "selectedChannelId": [1, "selected-channel-id"],
149
- "disableSearch": [4, "disable-search"],
150
- "hideAvatar": [4, "hide-avatar"],
151
- "iconPack": [16],
152
- "t": [16],
153
- "viewAs": [1, "view-as"],
154
- "searchQuery": [32],
155
- "showDropdown": [32]
156
- }]);
157
- __decorate([
158
- SyncWithStore()
159
- ], RtkChannelSelectorView.prototype, "iconPack", void 0);
160
- __decorate([
161
- SyncWithStore()
162
- ], RtkChannelSelectorView.prototype, "t", void 0);
163
- function defineCustomElement() {
164
- if (typeof customElements === "undefined") {
165
- return;
166
- }
167
- const components = ["rtk-channel-selector-view", "rtk-avatar", "rtk-icon", "rtk-markdown-view", "rtk-spinner", "rtk-text-message-view"];
168
- components.forEach(tagName => { switch (tagName) {
169
- case "rtk-channel-selector-view":
170
- if (!customElements.get(tagName)) {
171
- customElements.define(tagName, RtkChannelSelectorView);
172
- }
173
- break;
174
- case "rtk-avatar":
175
- if (!customElements.get(tagName)) {
176
- defineCustomElement$5();
177
- }
178
- break;
179
- case "rtk-icon":
180
- if (!customElements.get(tagName)) {
181
- defineCustomElement$4();
182
- }
183
- break;
184
- case "rtk-markdown-view":
185
- if (!customElements.get(tagName)) {
186
- defineCustomElement$3();
187
- }
188
- break;
189
- case "rtk-spinner":
190
- if (!customElements.get(tagName)) {
191
- defineCustomElement$2();
192
- }
193
- break;
194
- case "rtk-text-message-view":
195
- if (!customElements.get(tagName)) {
196
- defineCustomElement$1();
197
- }
198
- break;
199
- } });
200
- }
201
- defineCustomElement();
202
-
203
- export { RtkChannelSelectorView as R, defineCustomElement as d };
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface RtkChannelCreator extends Components.RtkChannelCreator, HTMLElement {}
4
- export const RtkChannelCreator: {
5
- prototype: RtkChannelCreator;
6
- new (): RtkChannelCreator;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,214 +0,0 @@
1
- import { p as proxyCustomElement, H, d as createEvent, w as writeTask, f as forceUpdate, h, e as Host } from './p-c3592601.js';
2
- import { i as useLanguage, e as defaultIconPack } from './p-e847fee9.js';
3
- import './p-a83ccdbd.js';
4
- import { S as SyncWithStore } from './p-6f7c46d2.js';
5
- import { d as defineCustomElement$5 } from './p-9bdc24b8.js';
6
- import { d as defineCustomElement$4 } from './p-1391bef0.js';
7
- import { d as defineCustomElement$3 } from './p-73baf5ba.js';
8
- import { d as defineCustomElement$2 } from './p-e443d803.js';
9
-
10
- 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)))}";
11
- const RtkChannelCreatorStyle0 = rtkChannelCreatorCss;
12
-
13
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
14
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
15
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
16
- r = Reflect.decorate(decorators, target, key, desc);
17
- else
18
- for (var i = decorators.length - 1; i >= 0; i--)
19
- if (d = decorators[i])
20
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
21
- return c > 3 && r && Object.defineProperty(target, key, r), r;
22
- };
23
- const RtkChannelCreator$1 = /*@__PURE__*/ proxyCustomElement(class RtkChannelCreator extends H {
24
- constructor() {
25
- super();
26
- this.__registerHost();
27
- this.__attachShadow();
28
- this.stateUpdate = createEvent(this, "rtkStateUpdate", 7);
29
- this.switchChannel = createEvent(this, "switchChannel", 7);
30
- /** Language */
31
- this.t = useLanguage();
32
- /** Icon pack */
33
- this.iconPack = defaultIconPack;
34
- this.channelName = '';
35
- this.searchQuery = '';
36
- this.step = 1;
37
- this.loading = false;
38
- this.selectedMemberIds = new Set();
39
- this.focusedMemberIndex = -1;
40
- this.showAllMembersList = false;
41
- this.allMembers = new Map();
42
- this.inputTextRef = null;
43
- this.searchInputTextRef = null;
44
- this.focusOnSearch = (selectText = false) => {
45
- this.focusedMemberIndex = -1;
46
- writeTask(() => {
47
- var _a, _b;
48
- (_a = this.searchInputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
49
- if (selectText)
50
- (_b = this.searchInputTextRef) === null || _b === void 0 ? void 0 : _b.select();
51
- });
52
- };
53
- this.onClickHandler = async () => {
54
- if (this.channelName.length === 0)
55
- return;
56
- if (this.step === 1) {
57
- const members = this.meeting.participants.all.toArray();
58
- const selfId = this.meeting.self.userId;
59
- const nonSelfMembers = members.filter((member) => member.userId !== selfId);
60
- nonSelfMembers.forEach((member) => this.allMembers.set(member.userId, member));
61
- this.step = 2;
62
- this.focusOnSearch();
63
- return;
64
- }
65
- // step 2 - add members and create channel
66
- await this.createChannel();
67
- };
68
- this.createChannel = async () => {
69
- const members = Array.from(this.selectedMemberIds);
70
- const newChannel = await this.meeting.chat.createChannel(this.channelName, members, {
71
- displayPictureUrl: '',
72
- visibility: 'public',
73
- isDirectMessage: false,
74
- });
75
- this.switchChannel.emit(newChannel.id);
76
- this.stateUpdate.emit({ activeChannelCreator: false });
77
- };
78
- this.onMemberAdd = (id) => {
79
- this.showAllMembersList = false;
80
- this.selectedMemberIds.add(id);
81
- this.searchQuery = '';
82
- this.focusOnSearch();
83
- };
84
- this.keyDownHandler = (e, filteredMembers) => {
85
- if (e.key === 'ArrowDown') {
86
- this.focusedMemberIndex = Math.min(this.focusedMemberIndex + 1, filteredMembers.length - 1);
87
- }
88
- else if (e.key === 'ArrowUp') {
89
- if (this.focusedMemberIndex === -1)
90
- return;
91
- if (this.focusedMemberIndex === 0) {
92
- this.focusOnSearch(true);
93
- return;
94
- }
95
- this.focusedMemberIndex = Math.max(this.focusedMemberIndex - 1, 0);
96
- }
97
- else if (e.key === 'Enter') {
98
- this.onMemberAdd(filteredMembers[this.focusedMemberIndex].userId);
99
- }
100
- else if (e.key === 'Backspace') {
101
- if (this.searchQuery.length !== 0)
102
- return;
103
- if (this.selectedMemberIds.size === 0)
104
- return;
105
- const lastMemberId = Array.from(this.selectedMemberIds.values()).at(-1);
106
- this.selectedMemberIds.delete(lastMemberId);
107
- forceUpdate(this.$el);
108
- }
109
- };
110
- this.renderMemberSelector = () => {
111
- const filteredMembers = Array.from(this.allMembers.values()).filter((member) => !this.selectedMemberIds.has(member.userId) &&
112
- member.name.toLowerCase().includes(this.searchQuery.toLowerCase()));
113
- const selectedMembers = Array.from(this.selectedMemberIds.values()).map((id) => this.allMembers.get(id));
114
- const disableInput = this.selectedMemberIds.size === this.allMembers.size;
115
- return (h("div", { class: "input-container" }, h("ul", { class: "members scrollbar", onClick: () => {
116
- var _a;
117
- (_a = this.searchInputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
118
- } }, selectedMembers.map((member) => (h("li", { class: "pill" }, h("rtk-avatar", { participant: {
119
- name: member.name,
120
- picture: member.picture,
121
- }, size: "sm" }), h("span", null, member.name), h("rtk-icon", { icon: this.iconPack.dismiss, onClick: () => {
122
- this.selectedMemberIds.delete(member.userId);
123
- forceUpdate(this.$el);
124
- this.focusOnSearch();
125
- } })))), !disableInput && (h("input", { type: "text", ref: (el) => (this.searchInputTextRef = el), value: this.searchQuery, placeholder: this.selectedMemberIds.size === 0 ? this.t('chat.member_name') : '', class: {
126
- 'wide-input': this.selectedMemberIds.size === 0,
127
- }, onInput: (e) => {
128
- this.searchQuery = e.target.value.trim();
129
- }, onClick: () => {
130
- this.showAllMembersList = !this.showAllMembersList;
131
- }, 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) => {
132
- if (index === this.focusedMemberIndex) {
133
- writeTask(() => {
134
- if ($li)
135
- $li.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'nearest' });
136
- });
137
- }
138
- } }, h("rtk-avatar", { participant: {
139
- name: member.name,
140
- picture: member.picture,
141
- }, size: "sm" }), h("span", null, member.name)))), filteredMembers.length === 0 && (h("li", { class: "member" }, h("span", null, this.t('chat.error.empty_results'))))))));
142
- };
143
- }
144
- componentDidLoad() {
145
- var _a;
146
- (_a = this.inputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
147
- }
148
- render() {
149
- return (h(Host, { key: '0e938e24a3838a8b3cff8be5f8f56e0e828a656a' }, h("header", { key: 'b0aed03cea09e2105feee1bbfd1acad453cc924e' }, this.step === 1 ? this.t('chat.new_channel') : this.t('chat.add_members')), this.step === 1 && (h("input", { key: 'f252b9a1d899fa189837d6dd44097ee3e132907b', class: "channel-name-input", type: "text", placeholder: this.t('chat.channel_name'), ref: (el) => (this.inputTextRef = el), onInput: (e) => {
150
- this.channelName = e.target.value.trim();
151
- } })), this.step === 2 && this.renderMemberSelector(), h("footer", { key: '4dc3bc442c35be9c21d5c0a510aac74f8f94bc6a' }, h("rtk-button", { key: 'de530ede30a33ae9cf14c155cbf3b53d25d434ae', kind: "button", size: "lg", disabled: this.channelName.length === 0, onClick: this.onClickHandler }, this.step === 1 ? this.t('chat.add_members') : this.t('create')))));
152
- }
153
- get $el() { return this; }
154
- static get style() { return RtkChannelCreatorStyle0; }
155
- }, [1, "rtk-channel-creator", {
156
- "meeting": [16],
157
- "t": [16],
158
- "iconPack": [16],
159
- "channelName": [32],
160
- "searchQuery": [32],
161
- "step": [32],
162
- "loading": [32],
163
- "selectedMemberIds": [32],
164
- "focusedMemberIndex": [32],
165
- "showAllMembersList": [32]
166
- }]);
167
- __decorate([
168
- SyncWithStore()
169
- ], RtkChannelCreator$1.prototype, "meeting", void 0);
170
- __decorate([
171
- SyncWithStore()
172
- ], RtkChannelCreator$1.prototype, "t", void 0);
173
- __decorate([
174
- SyncWithStore()
175
- ], RtkChannelCreator$1.prototype, "iconPack", void 0);
176
- function defineCustomElement$1() {
177
- if (typeof customElements === "undefined") {
178
- return;
179
- }
180
- const components = ["rtk-channel-creator", "rtk-avatar", "rtk-button", "rtk-icon", "rtk-spinner"];
181
- components.forEach(tagName => { switch (tagName) {
182
- case "rtk-channel-creator":
183
- if (!customElements.get(tagName)) {
184
- customElements.define(tagName, RtkChannelCreator$1);
185
- }
186
- break;
187
- case "rtk-avatar":
188
- if (!customElements.get(tagName)) {
189
- defineCustomElement$5();
190
- }
191
- break;
192
- case "rtk-button":
193
- if (!customElements.get(tagName)) {
194
- defineCustomElement$4();
195
- }
196
- break;
197
- case "rtk-icon":
198
- if (!customElements.get(tagName)) {
199
- defineCustomElement$3();
200
- }
201
- break;
202
- case "rtk-spinner":
203
- if (!customElements.get(tagName)) {
204
- defineCustomElement$2();
205
- }
206
- break;
207
- } });
208
- }
209
- defineCustomElement$1();
210
-
211
- const RtkChannelCreator = RtkChannelCreator$1;
212
- const defineCustomElement = defineCustomElement$1;
213
-
214
- export { RtkChannelCreator, defineCustomElement };
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface RtkChannelDetails extends Components.RtkChannelDetails, HTMLElement {}
4
- export const RtkChannelDetails: {
5
- prototype: RtkChannelDetails;
6
- new (): RtkChannelDetails;
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 RtkChannelDetails$1, d as defineCustomElement$1 } from './p-33e73313.js';
2
-
3
- const RtkChannelDetails = RtkChannelDetails$1;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { RtkChannelDetails, defineCustomElement };
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface RtkChannelHeader extends Components.RtkChannelHeader, HTMLElement {}
4
- export const RtkChannelHeader: {
5
- prototype: RtkChannelHeader;
6
- new (): RtkChannelHeader;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,151 +0,0 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
- import { e as defaultIconPack, i as useLanguage } from './p-e847fee9.js';
3
- import './p-a83ccdbd.js';
4
- import { S as SyncWithStore } from './p-6f7c46d2.js';
5
- import { d as defineCustomElement$8 } from './p-9bdc24b8.js';
6
- import { d as defineCustomElement$7 } from './p-1391bef0.js';
7
- import { d as defineCustomElement$6 } from './p-33e73313.js';
8
- import { d as defineCustomElement$5 } from './p-6f361314.js';
9
- import { d as defineCustomElement$4 } from './p-73baf5ba.js';
10
- import { d as defineCustomElement$3 } from './p-e443d803.js';
11
- import { d as defineCustomElement$2 } from './p-fb836f65.js';
12
-
13
- 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)}";
14
- const RtkChannelHeaderStyle0 = rtkChannelHeaderCss;
15
-
16
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
17
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
18
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
19
- r = Reflect.decorate(decorators, target, key, desc);
20
- else
21
- for (var i = decorators.length - 1; i >= 0; i--)
22
- if (d = decorators[i])
23
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
24
- return c > 3 && r && Object.defineProperty(target, key, r), r;
25
- };
26
- const RtkChannelHeader$1 = /*@__PURE__*/ proxyCustomElement(class RtkChannelHeader extends H {
27
- constructor() {
28
- super();
29
- this.__registerHost();
30
- this.search = createEvent(this, "search", 7);
31
- this.searchDismissed = createEvent(this, "searchDismissed", 7);
32
- this.back = createEvent(this, "back", 7);
33
- /** Icon pack */
34
- this.iconPack = defaultIconPack;
35
- /** Language */
36
- this.t = useLanguage();
37
- this.showChannelDetailsDialog = false;
38
- this.showSearchBar = false;
39
- this.members = [];
40
- /** Show back button */
41
- this.showBackButton = false;
42
- }
43
- onChannelChanged() {
44
- if (this.$searchInput)
45
- this.$searchInput.value = '';
46
- this.showSearchBar = false;
47
- if (!this.channel.isDirectMessage) {
48
- this.meeting.chat.getChannelMembers(this.channel.id).then((members) => {
49
- this.members = members;
50
- });
51
- }
52
- }
53
- connectedCallback() {
54
- this.onChannelChanged();
55
- }
56
- renderChannelDetails() {
57
- return (h("rtk-dialog", { open: true, onRtkDialogClose: () => {
58
- this.showChannelDetailsDialog = false;
59
- }, iconPack: this.iconPack, t: this.t }, h("rtk-channel-details", { members: this.members, channel: this.channel })));
60
- }
61
- render() {
62
- if (!this.channel) {
63
- return null;
64
- }
65
- return (h(Host, null, this.showChannelDetailsDialog && this.renderChannelDetails(), h("header", { class: {
66
- searching: this.showSearchBar,
67
- } }, this.showBackButton && (h("rtk-button", { kind: "icon", variant: "secondary", class: "back-btn", onClick: () => {
68
- this.back.emit();
69
- } }, 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: () => {
70
- this.showChannelDetailsDialog = !this.showChannelDetailsDialog;
71
- }, class: "br-primary-btn" }, h("rtk-icon", { icon: this.iconPack.people }))))))));
72
- }
73
- static get watchers() { return {
74
- "channel": ["onChannelChanged"]
75
- }; }
76
- static get style() { return RtkChannelHeaderStyle0; }
77
- }, [0, "rtk-channel-header", {
78
- "meeting": [16],
79
- "channel": [16],
80
- "iconPack": [16],
81
- "t": [16],
82
- "showBackButton": [4, "show-back-button"],
83
- "showChannelDetailsDialog": [32],
84
- "showSearchBar": [32],
85
- "members": [32]
86
- }, undefined, {
87
- "channel": ["onChannelChanged"]
88
- }]);
89
- __decorate([
90
- SyncWithStore()
91
- ], RtkChannelHeader$1.prototype, "meeting", void 0);
92
- __decorate([
93
- SyncWithStore()
94
- ], RtkChannelHeader$1.prototype, "iconPack", void 0);
95
- __decorate([
96
- SyncWithStore()
97
- ], RtkChannelHeader$1.prototype, "t", void 0);
98
- function defineCustomElement$1() {
99
- if (typeof customElements === "undefined") {
100
- return;
101
- }
102
- const components = ["rtk-channel-header", "rtk-avatar", "rtk-button", "rtk-channel-details", "rtk-dialog", "rtk-icon", "rtk-spinner", "rtk-tooltip"];
103
- components.forEach(tagName => { switch (tagName) {
104
- case "rtk-channel-header":
105
- if (!customElements.get(tagName)) {
106
- customElements.define(tagName, RtkChannelHeader$1);
107
- }
108
- break;
109
- case "rtk-avatar":
110
- if (!customElements.get(tagName)) {
111
- defineCustomElement$8();
112
- }
113
- break;
114
- case "rtk-button":
115
- if (!customElements.get(tagName)) {
116
- defineCustomElement$7();
117
- }
118
- break;
119
- case "rtk-channel-details":
120
- if (!customElements.get(tagName)) {
121
- defineCustomElement$6();
122
- }
123
- break;
124
- case "rtk-dialog":
125
- if (!customElements.get(tagName)) {
126
- defineCustomElement$5();
127
- }
128
- break;
129
- case "rtk-icon":
130
- if (!customElements.get(tagName)) {
131
- defineCustomElement$4();
132
- }
133
- break;
134
- case "rtk-spinner":
135
- if (!customElements.get(tagName)) {
136
- defineCustomElement$3();
137
- }
138
- break;
139
- case "rtk-tooltip":
140
- if (!customElements.get(tagName)) {
141
- defineCustomElement$2();
142
- }
143
- break;
144
- } });
145
- }
146
- defineCustomElement$1();
147
-
148
- const RtkChannelHeader = RtkChannelHeader$1;
149
- const defineCustomElement = defineCustomElement$1;
150
-
151
- export { RtkChannelHeader, defineCustomElement };
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface RtkChannelSelectorUi extends Components.RtkChannelSelectorUi, HTMLElement {}
4
- export const RtkChannelSelectorUi: {
5
- prototype: RtkChannelSelectorUi;
6
- new (): RtkChannelSelectorUi;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;