@cloudflare/realtimekit-ui 1.1.0-staging.8 → 1.1.0

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 (774) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{ChatHead-e13f3b0e.js → ChatHead-777e6a2d.js} +1 -1
  3. package/dist/cjs/{TextMessage-1dc6f8b9.js → TextMessage-b9322340.js} +2 -2
  4. package/dist/cjs/{chat-2ae6f058.js → chat-f1a9fd6e.js} +1 -16
  5. package/dist/cjs/{config-0a88d50b.js → config-86164f93.js} +2 -2
  6. package/dist/cjs/{debounce-b06b27ca.js → debounce-267777c1.js} +1 -1
  7. package/dist/cjs/index-2e5758b6.js +4403 -0
  8. package/dist/cjs/{index-821d14b7.js → index-6f8c1928.js} +1 -1
  9. package/dist/cjs/{index-e4244d7d.js → index-92947ea7.js} +2 -2
  10. package/dist/cjs/index.cjs.js +6 -6
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/{merge-c46cfa17.js → merge-bb096d88.js} +1 -1
  13. package/dist/cjs/{notification-f3750b61.js → notification-ef397c71.js} +1 -1
  14. package/dist/cjs/realtimekit-ui.cjs.js +30 -3
  15. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +3 -3
  16. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +5 -5
  17. package/dist/cjs/rtk-ai.cjs.entry.js +3 -3
  18. package/dist/cjs/rtk-audio-grid.cjs.entry.js +5 -5
  19. package/dist/cjs/rtk-audio-tile.cjs.entry.js +3 -3
  20. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +4 -4
  21. package/dist/cjs/{rtk-avatar_24.cjs.entry.js → rtk-avatar_26.cjs.entry.js} +716 -654
  22. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +8 -8
  23. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +13 -13
  24. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +3 -3
  25. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +4 -4
  26. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +3 -3
  27. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +11 -25
  29. package/dist/cjs/rtk-chat-message.cjs.entry.js +6 -6
  30. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +13 -7
  31. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +4 -4
  32. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +4 -4
  33. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +10 -13
  34. package/dist/cjs/rtk-clock.cjs.entry.js +6 -6
  35. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +4 -4
  36. package/dist/cjs/rtk-controlbar.cjs.entry.js +5 -5
  37. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +3 -3
  38. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +4 -4
  39. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +4 -4
  40. package/dist/cjs/rtk-dialog.cjs.entry.js +4 -4
  41. package/dist/cjs/rtk-ended-screen.cjs.entry.js +3 -3
  42. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +4 -4
  43. package/dist/cjs/rtk-file-message_3.cjs.entry.js +14 -14
  44. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +3 -3
  45. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +4 -4
  46. package/dist/cjs/rtk-grid.cjs.entry.js +4 -4
  47. package/dist/cjs/rtk-header.cjs.entry.js +5 -5
  48. package/dist/cjs/rtk-idle-screen.cjs.entry.js +4 -4
  49. package/dist/cjs/rtk-image-viewer.cjs.entry.js +4 -4
  50. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +4 -4
  51. package/dist/cjs/rtk-leave-button.cjs.entry.js +4 -4
  52. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2477 -1450
  53. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +3 -3
  54. package/dist/cjs/rtk-logo.cjs.entry.js +3 -3
  55. package/dist/cjs/rtk-meeting-title.cjs.entry.js +3 -3
  56. package/dist/cjs/rtk-message-list-view.cjs.entry.js +7 -7
  57. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +3 -3
  58. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +4 -4
  59. package/dist/cjs/rtk-more-toggle.cjs.entry.js +5 -5
  60. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +3 -3
  61. package/dist/cjs/rtk-name-tag.cjs.entry.js +4 -4
  62. package/dist/cjs/rtk-network-indicator.cjs.entry.js +3 -3
  63. package/dist/cjs/rtk-notification.cjs.entry.js +7 -7
  64. package/dist/cjs/rtk-notifications.cjs.entry.js +5 -5
  65. package/dist/cjs/rtk-participant-count.cjs.entry.js +3 -3
  66. package/dist/cjs/rtk-participant-setup.cjs.entry.js +5 -5
  67. package/dist/cjs/rtk-participant_2.cjs.entry.js +19 -19
  68. package/dist/cjs/rtk-participants-audio.cjs.entry.js +4 -4
  69. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +5 -5
  70. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +4 -4
  71. package/dist/cjs/rtk-participants.cjs.entry.js +4 -4
  72. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +3 -3
  73. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +4 -4
  74. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +4 -4
  75. package/dist/cjs/rtk-plugins_2.cjs.entry.js +7 -7
  76. package/dist/cjs/rtk-poll_2.cjs.entry.js +6 -6
  77. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +4 -4
  78. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +4 -4
  79. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +3 -3
  80. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +3 -3
  81. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +8 -8
  82. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +3 -3
  83. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +4 -4
  84. package/dist/cjs/rtk-settings.cjs.entry.js +3 -3
  85. package/dist/cjs/rtk-setup-screen.cjs.entry.js +5 -5
  86. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +5 -5
  87. package/dist/cjs/rtk-sidebar.cjs.entry.js +5 -5
  88. package/dist/cjs/rtk-simple-grid.cjs.entry.js +4 -4
  89. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +6 -6
  90. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +3 -3
  91. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +3 -3
  92. package/dist/cjs/rtk-stage.cjs.entry.js +4 -4
  93. package/dist/cjs/rtk-transcript.cjs.entry.js +4 -4
  94. package/dist/cjs/rtk-transcripts.cjs.entry.js +3 -3
  95. package/dist/cjs/rtk-ui-provider.cjs.entry.js +3 -3
  96. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +4 -4
  97. package/dist/cjs/{sidebar-0eb1e4ef.js → sidebar-7df66d80.js} +1 -1
  98. package/dist/cjs/{ui-store-6c2d680f.js → ui-store-d0e80f30.js} +113 -34
  99. package/dist/collection/collection-manifest.json +4 -6
  100. package/dist/collection/components/rtk-ai/rtk-ai.js +3 -3
  101. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +3 -3
  102. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +3 -3
  103. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +4 -4
  104. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +4 -4
  105. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +3 -3
  106. package/dist/collection/components/rtk-avatar/rtk-avatar.js +4 -4
  107. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +3 -3
  108. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +5 -5
  109. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +4 -4
  110. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +4 -4
  111. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +5 -5
  112. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +3 -3
  113. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +3 -3
  114. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +3 -3
  115. package/dist/collection/components/rtk-chat/rtk-chat.css +4 -37
  116. package/dist/collection/components/rtk-chat/rtk-chat.js +63 -388
  117. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +16 -51
  118. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +30 -17
  119. package/dist/collection/components/{rtk-channel-details/rtk-channel-details.css → rtk-chat-header/rtk-chat-header.css} +28 -46
  120. package/dist/collection/components/rtk-chat-header/rtk-chat-header.js +32 -0
  121. package/dist/collection/components/rtk-chat-message/rtk-chat-message.css +0 -2
  122. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +9 -9
  123. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.css +0 -2
  124. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +6 -6
  125. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +92 -97
  126. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +4 -4
  127. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.css +141 -0
  128. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +445 -0
  129. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +2 -2
  130. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +9 -12
  131. package/dist/collection/components/rtk-clock/rtk-clock.js +5 -5
  132. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +4 -4
  133. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +4 -4
  134. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +2 -2
  135. package/dist/collection/components/rtk-counter/rtk-counter.css +0 -2
  136. package/dist/collection/components/rtk-counter/rtk-counter.js +4 -4
  137. package/dist/collection/components/rtk-debugger/rtk-debugger.js +3 -3
  138. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +3 -3
  139. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +3 -3
  140. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +3 -3
  141. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +4 -4
  142. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +3 -3
  143. package/dist/collection/components/rtk-dialog/rtk-dialog.css +1 -2
  144. package/dist/collection/components/rtk-dialog/rtk-dialog.js +3 -3
  145. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +3 -3
  146. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +3 -3
  147. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.css +0 -2
  148. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +3 -3
  149. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +3 -3
  150. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +3 -3
  151. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +3 -3
  152. package/dist/collection/components/rtk-file-message/rtk-file-message.js +5 -5
  153. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +2 -2
  154. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +4 -4
  155. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +2 -2
  156. package/dist/collection/components/rtk-grid/rtk-grid.js +3 -3
  157. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +0 -2
  158. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +3 -3
  159. package/dist/collection/components/rtk-header/rtk-header.js +4 -4
  160. package/dist/collection/components/rtk-icon/rtk-icon.js +1 -1
  161. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +4 -4
  162. package/dist/collection/components/rtk-image-message/rtk-image-message.js +7 -7
  163. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +5 -5
  164. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +4 -4
  165. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -2
  166. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +4 -4
  167. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +3 -3
  168. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +5 -5
  169. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +3 -3
  170. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +3 -3
  171. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +3 -3
  172. package/dist/collection/components/rtk-logo/rtk-logo.js +2 -2
  173. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.css +6 -0
  174. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  175. package/dist/collection/components/rtk-meeting/rtk-meeting.js +3 -3
  176. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +3 -3
  177. package/dist/collection/components/rtk-menu/rtk-menu.js +4 -4
  178. package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +1 -1
  179. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +3 -3
  180. package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +3 -3
  181. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +3 -3
  182. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +4 -4
  183. package/dist/collection/components/rtk-message-view/rtk-message-view.css +18 -1
  184. package/dist/collection/components/rtk-message-view/rtk-message-view.js +51 -3
  185. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +3 -3
  186. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +3 -3
  187. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +5 -5
  188. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +4 -4
  189. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +3 -3
  190. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +4 -4
  191. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +5 -5
  192. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +4 -4
  193. package/dist/collection/components/rtk-notification/rtk-notification.js +4 -4
  194. package/dist/collection/components/rtk-notifications/rtk-notifications.js +3 -3
  195. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +4 -4
  196. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +104 -2
  197. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +169 -102
  198. package/dist/collection/components/rtk-participant/rtk-participant.js +16 -16
  199. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +3 -3
  200. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +5 -5
  201. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +5 -5
  202. package/dist/collection/components/rtk-participants/rtk-participants.js +3 -3
  203. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +4 -4
  204. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +4 -4
  205. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +3 -3
  206. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +3 -3
  207. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +3 -3
  208. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +3 -3
  209. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +4 -4
  210. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.css +107 -0
  211. package/dist/collection/components/{rtk-channel-header/rtk-channel-header.js → rtk-pinned-message-selector/rtk-pinned-message-selector.js} +181 -118
  212. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +3 -3
  213. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +5 -5
  214. package/dist/collection/components/rtk-plugins/rtk-plugins.js +4 -4
  215. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +3 -3
  216. package/dist/collection/components/rtk-poll/rtk-poll.js +5 -5
  217. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +4 -4
  218. package/dist/collection/components/rtk-polls/rtk-polls.js +6 -6
  219. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +3 -3
  220. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +4 -4
  221. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +3 -3
  222. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +3 -3
  223. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +9 -9
  224. package/dist/collection/components/rtk-settings/rtk-settings.js +3 -3
  225. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +3 -3
  226. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +3 -3
  227. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +3 -3
  228. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +0 -2
  229. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +3 -3
  230. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +3 -3
  231. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +5 -5
  232. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +3 -3
  233. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +3 -3
  234. package/dist/collection/components/rtk-spinner/rtk-spinner.js +2 -2
  235. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +5 -5
  236. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +3 -3
  237. package/dist/collection/components/rtk-stage/rtk-stage.js +3 -3
  238. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +3 -3
  239. package/dist/collection/components/rtk-switch/rtk-switch.js +3 -3
  240. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +4 -4
  241. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +3 -3
  242. package/dist/collection/components/rtk-text-message/rtk-text-message.js +5 -5
  243. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  244. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  245. package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
  246. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +2 -2
  247. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +3 -3
  248. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +3 -3
  249. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  250. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +4 -4
  251. package/dist/collection/lib/icons/default-icon-pack.js +0 -2
  252. package/dist/collection/lib/lang/default-language.js +2 -5
  253. package/dist/collection/lib/overrides.js +1 -0
  254. package/dist/collection/utils/chat.js +0 -4
  255. package/dist/collection/utils/flags.js +0 -2
  256. package/dist/components/index.js +8 -8
  257. package/dist/components/{p-bb4983b8.js → p-06de876f.js} +7 -7
  258. package/dist/components/{p-8d6b21d5.js → p-08351fd6.js} +8 -8
  259. package/dist/components/{p-fa476519.js → p-0a36cb4b.js} +11 -11
  260. package/dist/components/{p-dab9d3d6.js → p-0db812c2.js} +1 -12
  261. package/dist/components/{p-7f489600.js → p-1099c0fe.js} +5 -5
  262. package/dist/components/{p-eeb37b16.js → p-12b59b72.js} +5 -5
  263. package/dist/components/{p-fb836f65.js → p-15156a2c.js} +2 -2
  264. package/dist/components/{p-761c0e78.js → p-154bed23.js} +6 -6
  265. package/dist/components/{p-6739a399.js → p-15d2291f.js} +3 -3
  266. package/dist/components/{p-c05530c8.js → p-1b26fbf7.js} +3 -3
  267. package/dist/components/{p-89025409.js → p-2232de67.js} +2482 -1455
  268. package/dist/components/{p-fb900e8f.js → p-22827c53.js} +6 -6
  269. package/dist/components/{p-ad873f2d.js → p-2305aa2d.js} +1 -1
  270. package/dist/components/{p-6f8d2043.js → p-2690645d.js} +3 -3
  271. package/dist/components/{p-cf8f725b.js → p-27029836.js} +4 -4
  272. package/dist/components/{p-616ae7ab.js → p-2976fcb0.js} +8 -8
  273. package/dist/components/{p-28170a8d.js → p-298aa8be.js} +24 -30
  274. package/dist/components/{p-0f2de0f8.js → p-2f68e7bb.js} +18 -12
  275. package/dist/components/{p-02b840f8.js → p-345a07e8.js} +8 -8
  276. package/dist/components/{p-6101a21c.js → p-401ce922.js} +5 -5
  277. package/dist/components/{p-2090b03d.js → p-41bf1c3d.js} +5 -5
  278. package/dist/components/{p-d765dbe4.js → p-45a9a385.js} +11 -11
  279. package/dist/components/{p-a8a6496d.js → p-4942bfd2.js} +9 -9
  280. package/dist/components/{p-294cda89.js → p-4a1144e2.js} +8 -8
  281. package/dist/components/{p-46d99dd9.js → p-4a5d3b4c.js} +7 -7
  282. package/dist/components/{p-8cfdac0d.js → p-52d9029f.js} +9 -9
  283. package/dist/components/{p-da87cc71.js → p-583f9282.js} +1 -1
  284. package/dist/components/{p-a25f3aca.js → p-6ac87493.js} +6 -6
  285. package/dist/components/{p-95e08256.js → p-6e373d96.js} +4 -4
  286. package/dist/components/{p-aae4c250.js → p-707dced6.js} +2 -2
  287. package/dist/components/{p-b30d5f6b.js → p-71fb663b.js} +4 -4
  288. package/dist/components/{p-e0510925.js → p-71fbfb8b.js} +7 -7
  289. package/dist/components/{p-5669b6e7.js → p-7384c20c.js} +9 -9
  290. package/dist/components/{p-35e93724.js → p-73db39b8.js} +2 -2
  291. package/dist/components/{p-193d8051.js → p-76c443b7.js} +3 -3
  292. package/dist/components/{p-4902c5cf.js → p-7adb3504.js} +5 -5
  293. package/dist/components/{p-48acb953.js → p-7f3bfc54.js} +6 -6
  294. package/dist/components/p-7f71b3c7.js +463 -0
  295. package/dist/components/{p-9213c3fc.js → p-881e5548.js} +82 -59
  296. package/dist/components/{p-39e8b34a.js → p-8861d5a3.js} +4 -4
  297. package/dist/components/{p-00bb4abb.js → p-88aded7d.js} +11 -11
  298. package/dist/components/{p-7148ec6a.js → p-8a66a347.js} +5 -5
  299. package/dist/components/{p-05df465d.js → p-8cea6257.js} +1 -1
  300. package/dist/components/{p-695f0784.js → p-95a1fa70.js} +5 -5
  301. package/dist/components/{p-0e5cc539.js → p-9e1478a0.js} +7 -7
  302. package/dist/components/{p-7834fd55.js → p-9f481b70.js} +7 -7
  303. package/dist/components/{p-3b29dda1.js → p-a3cc7425.js} +2 -2
  304. package/dist/components/{p-a51db0d6.js → p-a4d13056.js} +22 -22
  305. package/dist/components/{p-107e55c1.js → p-a6c93f34.js} +5 -5
  306. package/dist/components/{p-4b319158.js → p-a74caccd.js} +4 -4
  307. package/dist/components/{p-4e5a54c2.js → p-a8d77615.js} +16 -16
  308. package/dist/components/{p-2309fb19.js → p-abf952f5.js} +5 -5
  309. package/dist/components/{p-0b2b3442.js → p-ac6a5fc5.js} +7 -7
  310. package/dist/components/{p-c334f0e5.js → p-af2b1476.js} +8 -8
  311. package/dist/components/{p-45220ce9.js → p-b226a124.js} +7 -7
  312. package/dist/components/{p-1a9e3806.js → p-b2d5329f.js} +5 -5
  313. package/dist/components/{p-4aede34c.js → p-b3240843.js} +5 -5
  314. package/dist/components/{p-6c9a833e.js → p-bfc86230.js} +4 -4
  315. package/dist/components/{p-a54b82e9.js → p-c0790538.js} +1 -1
  316. package/dist/components/{p-1a8b46bb.js → p-c0ad28ff.js} +9 -9
  317. package/dist/components/p-c39c6e12.js +218 -0
  318. package/dist/components/p-c3bfa8f1.js +437 -0
  319. package/dist/components/{p-6ec01673.js → p-c6c4c24e.js} +4 -4
  320. package/dist/components/{p-241a8245.js → p-c9db1b82.js} +6 -6
  321. package/dist/components/p-c9ee0428.js +260 -0
  322. package/dist/components/{p-af3b99f4.js → p-cd6656bf.js} +8 -8
  323. package/dist/components/{p-819cb785.js → p-cd6f04ae.js} +5 -5
  324. package/dist/components/{p-598dc3f2.js → p-d029dd2f.js} +8 -8
  325. package/dist/components/{p-dc3143c0.js → p-d0f54eea.js} +3 -3
  326. package/dist/components/{p-43d6a221.js → p-d22fc130.js} +8 -8
  327. package/dist/components/{p-da9018ea.js → p-d2cbc2d1.js} +11 -11
  328. package/dist/components/{p-4b375dfa.js → p-d6024528.js} +4 -4
  329. package/dist/components/{p-540d8eb9.js → p-d9626191.js} +6 -6
  330. package/dist/components/{p-0a31ef52.js → p-dacaa250.js} +3 -3
  331. package/dist/components/{p-2a65883d.js → p-dd8a892e.js} +6 -6
  332. package/dist/components/{p-4ebf9684.js → p-dfdbb665.js} +5 -5
  333. package/dist/components/{p-1f5a4682.js → p-e0ef3893.js} +7 -7
  334. package/dist/components/{p-1391bef0.js → p-e229128b.js} +1 -1
  335. package/dist/components/{p-6f7c46d2.js → p-e334e15c.js} +2 -2
  336. package/dist/components/{p-5476e3f3.js → p-e544a590.js} +6 -6
  337. package/dist/components/{p-2447a26f.js → p-e7b7abfe.js} +5 -5
  338. package/dist/components/p-e93218b8.js +86 -0
  339. package/dist/components/{p-fef53de3.js → p-ecbb4e46.js} +7 -7
  340. package/dist/components/{p-84b30573.js → p-eff3c856.js} +6 -6
  341. package/dist/components/{p-e847fee9.js → p-f19b4abc.js} +114 -35
  342. package/dist/components/{p-60fdbd75.js → p-f3c261ec.js} +1 -1
  343. package/dist/components/{p-89eb65a9.js → p-fa8cf270.js} +3 -3
  344. package/dist/components/p-fdad14c9.js +4028 -0
  345. package/dist/components/{p-3e58e0f3.js → p-fe0d125b.js} +4 -4
  346. package/dist/components/rtk-ai-toggle.js +6 -6
  347. package/dist/components/rtk-ai-transcriptions.js +1 -1
  348. package/dist/components/rtk-ai.js +6 -6
  349. package/dist/components/rtk-audio-grid.js +5 -5
  350. package/dist/components/rtk-audio-tile.js +7 -7
  351. package/dist/components/rtk-audio-visualizer.js +1 -1
  352. package/dist/components/rtk-avatar.js +1 -1
  353. package/dist/components/rtk-breakout-room-manager.js +1 -1
  354. package/dist/components/rtk-breakout-room-participants.js +1 -1
  355. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  356. package/dist/components/rtk-breakout-rooms-toggle.js +6 -6
  357. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  358. package/dist/components/rtk-button.js +1 -1
  359. package/dist/components/rtk-camera-selector.js +1 -1
  360. package/dist/components/rtk-camera-toggle.js +7 -7
  361. package/dist/components/rtk-caption-toggle.js +6 -6
  362. package/dist/components/rtk-chat-composer-ui.js +17 -34
  363. package/dist/components/rtk-chat-composer-view.js +1 -1
  364. package/dist/components/{rtk-channel-header.d.ts → rtk-chat-header.d.ts} +4 -4
  365. package/dist/components/rtk-chat-header.js +6 -0
  366. package/dist/components/rtk-chat-message.js +1 -1
  367. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  368. package/dist/components/rtk-chat-messages-ui.js +26 -20
  369. package/dist/components/rtk-chat-search-results.js +16 -16
  370. package/dist/components/rtk-chat-selector-ui.js +5 -5
  371. package/dist/components/{rtk-channel-creator.d.ts → rtk-chat-selector.d.ts} +4 -4
  372. package/dist/components/rtk-chat-selector.js +6 -0
  373. package/dist/components/rtk-chat-toggle.js +13 -16
  374. package/dist/components/rtk-chat.js +1 -1
  375. package/dist/components/rtk-clock.js +7 -7
  376. package/dist/components/rtk-confirmation-modal.js +1 -1
  377. package/dist/components/rtk-controlbar-button.js +1 -1
  378. package/dist/components/rtk-controlbar.js +5 -5
  379. package/dist/components/rtk-counter.js +1 -1
  380. package/dist/components/rtk-debugger-audio.js +1 -1
  381. package/dist/components/rtk-debugger-screenshare.js +1 -1
  382. package/dist/components/rtk-debugger-system.js +1 -1
  383. package/dist/components/rtk-debugger-toggle.js +7 -7
  384. package/dist/components/rtk-debugger-video.js +1 -1
  385. package/dist/components/rtk-debugger.js +1 -1
  386. package/dist/components/rtk-dialog-manager.js +26 -26
  387. package/dist/components/rtk-dialog.js +1 -1
  388. package/dist/components/rtk-draft-attachment-view.js +1 -1
  389. package/dist/components/rtk-emoji-picker-button.js +1 -1
  390. package/dist/components/rtk-emoji-picker.js +1 -1
  391. package/dist/components/rtk-ended-screen.js +5 -5
  392. package/dist/components/rtk-file-dropzone.js +5 -5
  393. package/dist/components/rtk-file-message-view.js +1 -1
  394. package/dist/components/rtk-file-message.js +1 -1
  395. package/dist/components/rtk-file-picker-button.js +1 -1
  396. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  397. package/dist/components/rtk-grid-pagination.js +7 -7
  398. package/dist/components/rtk-grid.js +12 -12
  399. package/dist/components/rtk-header.js +5 -5
  400. package/dist/components/rtk-icon.js +1 -1
  401. package/dist/components/rtk-idle-screen.js +7 -7
  402. package/dist/components/rtk-image-message-view.js +1 -1
  403. package/dist/components/rtk-image-message.js +1 -1
  404. package/dist/components/rtk-image-viewer.js +6 -6
  405. package/dist/components/rtk-information-tooltip.js +5 -5
  406. package/dist/components/rtk-join-stage.js +1 -1
  407. package/dist/components/rtk-leave-button.js +7 -7
  408. package/dist/components/rtk-leave-meeting.js +1 -1
  409. package/dist/components/rtk-livestream-indicator.js +1 -1
  410. package/dist/components/rtk-livestream-player.js +1 -1
  411. package/dist/components/rtk-livestream-toggle.js +6 -6
  412. package/dist/components/rtk-logo.js +1 -1
  413. package/dist/components/rtk-markdown-view.js +1 -1
  414. package/dist/components/rtk-meeting-title.js +4 -4
  415. package/dist/components/rtk-meeting.js +59 -47
  416. package/dist/components/rtk-menu-item.js +1 -1
  417. package/dist/components/rtk-menu-list.js +1 -1
  418. package/dist/components/rtk-menu.js +1 -1
  419. package/dist/components/rtk-message-list-view.js +8 -8
  420. package/dist/components/rtk-message-view.js +1 -1
  421. package/dist/components/rtk-mic-toggle.js +7 -7
  422. package/dist/components/rtk-microphone-selector.js +1 -1
  423. package/dist/components/rtk-mixed-grid.js +10 -10
  424. package/dist/components/rtk-more-toggle.js +8 -8
  425. package/dist/components/rtk-mute-all-button.js +7 -7
  426. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  427. package/dist/components/rtk-name-tag.js +1 -1
  428. package/dist/components/rtk-network-indicator.js +4 -4
  429. package/dist/components/rtk-notification.js +1 -1
  430. package/dist/components/rtk-notifications.js +8 -8
  431. package/dist/components/rtk-overlay-modal.js +1 -1
  432. package/dist/components/rtk-paginated-list.js +1 -1
  433. package/dist/components/rtk-participant-count.js +4 -4
  434. package/dist/components/rtk-participant-setup.js +5 -5
  435. package/dist/components/rtk-participant-tile.js +1 -1
  436. package/dist/components/rtk-participant.js +1 -1
  437. package/dist/components/rtk-participants-audio.js +7 -7
  438. package/dist/components/rtk-participants-stage-list.js +1 -1
  439. package/dist/components/rtk-participants-stage-queue.js +1 -1
  440. package/dist/components/rtk-participants-toggle.js +7 -7
  441. package/dist/components/rtk-participants-viewer-list.js +1 -1
  442. package/dist/components/rtk-participants-waiting-list.js +1 -1
  443. package/dist/components/rtk-participants.js +17 -17
  444. package/dist/components/rtk-permissions-message.js +1 -1
  445. package/dist/components/rtk-pinned-message-selector.d.ts +11 -0
  446. package/dist/components/rtk-pinned-message-selector.js +6 -0
  447. package/dist/components/rtk-pip-toggle.js +6 -6
  448. package/dist/components/rtk-plugin-main.js +1 -1
  449. package/dist/components/rtk-plugins-toggle.js +7 -7
  450. package/dist/components/rtk-plugins.js +1 -1
  451. package/dist/components/rtk-poll-form.js +1 -1
  452. package/dist/components/rtk-poll.js +1 -1
  453. package/dist/components/rtk-polls-toggle.js +7 -7
  454. package/dist/components/rtk-polls.js +1 -1
  455. package/dist/components/rtk-recording-indicator.js +5 -5
  456. package/dist/components/rtk-recording-toggle.js +6 -6
  457. package/dist/components/rtk-screen-share-toggle.js +7 -7
  458. package/dist/components/rtk-screenshare-view.js +11 -11
  459. package/dist/components/rtk-settings-audio.js +1 -1
  460. package/dist/components/rtk-settings-toggle.js +7 -7
  461. package/dist/components/rtk-settings-video.js +1 -1
  462. package/dist/components/rtk-settings.js +13 -13
  463. package/dist/components/rtk-setup-screen.js +11 -11
  464. package/dist/components/rtk-sidebar-ui.js +1 -1
  465. package/dist/components/rtk-sidebar.js +13 -13
  466. package/dist/components/rtk-simple-grid.js +4 -4
  467. package/dist/components/rtk-speaker-selector.js +1 -1
  468. package/dist/components/rtk-spinner.js +1 -1
  469. package/dist/components/rtk-spotlight-grid.js +6 -6
  470. package/dist/components/rtk-spotlight-indicator.js +1 -1
  471. package/dist/components/rtk-stage-toggle.js +7 -7
  472. package/dist/components/rtk-stage.js +4 -4
  473. package/dist/components/rtk-switch.js +1 -1
  474. package/dist/components/rtk-tab-bar.js +1 -1
  475. package/dist/components/rtk-text-composer-view.js +1 -1
  476. package/dist/components/rtk-text-message-view.js +1 -1
  477. package/dist/components/rtk-text-message.js +1 -1
  478. package/dist/components/rtk-tooltip.js +1 -1
  479. package/dist/components/rtk-transcript.js +1 -1
  480. package/dist/components/rtk-transcripts.js +4 -4
  481. package/dist/components/rtk-ui-provider.js +3 -3
  482. package/dist/components/rtk-viewer-count.js +1 -1
  483. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  484. package/dist/components/rtk-waiting-screen.js +5 -5
  485. package/dist/docs/docs-components.json +10767 -17949
  486. package/dist/docs/docs-vscode.json +58 -108
  487. package/dist/esm/{ChatHead-15c2f8d4.js → ChatHead-148558a8.js} +1 -1
  488. package/dist/esm/{TextMessage-0d8be8c5.js → TextMessage-cdf76ced.js} +2 -2
  489. package/dist/esm/{chat-b2bea75f.js → chat-12f27725.js} +2 -13
  490. package/dist/esm/{config-325caca3.js → config-74c02ff0.js} +2 -2
  491. package/dist/esm/{debounce-3139f9e3.js → debounce-0c6e63e9.js} +1 -1
  492. package/dist/esm/{index-d31a2e33.js → index-3f51790f.js} +1 -1
  493. package/dist/esm/index-55463a54.js +4365 -0
  494. package/dist/esm/{index-6eb882e7.js → index-e677f28b.js} +2 -2
  495. package/dist/esm/index.js +8 -8
  496. package/dist/esm/loader.js +6543 -3657
  497. package/dist/esm/{merge-bc2a0775.js → merge-df16b7d2.js} +1 -1
  498. package/dist/esm/{notification-4beb1e0d.js → notification-dd8b1d52.js} +1 -1
  499. package/dist/esm/realtimekit-ui.js +31 -4
  500. package/dist/esm/rtk-ai-toggle.entry.js +3 -3
  501. package/dist/esm/rtk-ai-transcriptions.entry.js +5 -5
  502. package/dist/esm/rtk-ai.entry.js +3 -3
  503. package/dist/esm/rtk-audio-grid.entry.js +5 -5
  504. package/dist/esm/rtk-audio-tile.entry.js +3 -3
  505. package/dist/esm/rtk-audio-visualizer_4.entry.js +4 -4
  506. package/dist/esm/{rtk-avatar_24.entry.js → rtk-avatar_26.entry.js} +714 -654
  507. package/dist/esm/rtk-breakout-room-manager_3.entry.js +8 -8
  508. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +13 -13
  509. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +3 -3
  510. package/dist/esm/rtk-camera-selector_2.entry.js +4 -4
  511. package/dist/esm/rtk-camera-toggle.entry.js +3 -3
  512. package/dist/esm/rtk-caption-toggle.entry.js +3 -3
  513. package/dist/esm/rtk-chat-composer-ui.entry.js +11 -25
  514. package/dist/esm/rtk-chat-message.entry.js +6 -6
  515. package/dist/esm/rtk-chat-messages-ui.entry.js +13 -7
  516. package/dist/esm/rtk-chat-search-results.entry.js +4 -4
  517. package/dist/esm/rtk-chat-selector-ui.entry.js +4 -4
  518. package/dist/esm/rtk-chat-toggle.entry.js +10 -13
  519. package/dist/esm/rtk-clock.entry.js +6 -6
  520. package/dist/esm/rtk-controlbar-button.entry.js +4 -4
  521. package/dist/esm/rtk-controlbar.entry.js +5 -5
  522. package/dist/esm/rtk-debugger-audio_4.entry.js +3 -3
  523. package/dist/esm/rtk-debugger-toggle.entry.js +4 -4
  524. package/dist/esm/rtk-dialog-manager.entry.js +4 -4
  525. package/dist/esm/rtk-dialog.entry.js +4 -4
  526. package/dist/esm/rtk-ended-screen.entry.js +3 -3
  527. package/dist/esm/rtk-file-dropzone.entry.js +4 -4
  528. package/dist/esm/rtk-file-message_3.entry.js +14 -14
  529. package/dist/esm/rtk-fullscreen-toggle.entry.js +3 -3
  530. package/dist/esm/rtk-grid-pagination.entry.js +4 -4
  531. package/dist/esm/rtk-grid.entry.js +4 -4
  532. package/dist/esm/rtk-header.entry.js +5 -5
  533. package/dist/esm/rtk-idle-screen.entry.js +4 -4
  534. package/dist/esm/rtk-image-viewer.entry.js +4 -4
  535. package/dist/esm/rtk-information-tooltip.entry.js +4 -4
  536. package/dist/esm/rtk-leave-button.entry.js +4 -4
  537. package/dist/esm/rtk-livestream-indicator_3.entry.js +2477 -1450
  538. package/dist/esm/rtk-livestream-toggle.entry.js +3 -3
  539. package/dist/esm/rtk-logo.entry.js +3 -3
  540. package/dist/esm/rtk-meeting-title.entry.js +3 -3
  541. package/dist/esm/rtk-message-list-view.entry.js +7 -7
  542. package/dist/esm/rtk-mic-toggle.entry.js +3 -3
  543. package/dist/esm/rtk-mixed-grid.entry.js +4 -4
  544. package/dist/esm/rtk-more-toggle.entry.js +5 -5
  545. package/dist/esm/rtk-mute-all-button.entry.js +3 -3
  546. package/dist/esm/rtk-name-tag.entry.js +4 -4
  547. package/dist/esm/rtk-network-indicator.entry.js +3 -3
  548. package/dist/esm/rtk-notification.entry.js +7 -7
  549. package/dist/esm/rtk-notifications.entry.js +5 -5
  550. package/dist/esm/rtk-participant-count.entry.js +3 -3
  551. package/dist/esm/rtk-participant-setup.entry.js +5 -5
  552. package/dist/esm/rtk-participant_2.entry.js +19 -19
  553. package/dist/esm/rtk-participants-audio.entry.js +4 -4
  554. package/dist/esm/rtk-participants-stage-list_4.entry.js +5 -5
  555. package/dist/esm/rtk-participants-toggle.entry.js +4 -4
  556. package/dist/esm/rtk-participants.entry.js +4 -4
  557. package/dist/esm/rtk-pip-toggle.entry.js +3 -3
  558. package/dist/esm/rtk-plugin-main_2.entry.js +4 -4
  559. package/dist/esm/rtk-plugins-toggle.entry.js +4 -4
  560. package/dist/esm/rtk-plugins_2.entry.js +7 -7
  561. package/dist/esm/rtk-poll_2.entry.js +6 -6
  562. package/dist/esm/rtk-polls-toggle.entry.js +4 -4
  563. package/dist/esm/rtk-recording-indicator.entry.js +4 -4
  564. package/dist/esm/rtk-recording-toggle.entry.js +3 -3
  565. package/dist/esm/rtk-screen-share-toggle.entry.js +3 -3
  566. package/dist/esm/rtk-screenshare-view.entry.js +8 -8
  567. package/dist/esm/rtk-settings-audio_2.entry.js +3 -3
  568. package/dist/esm/rtk-settings-toggle.entry.js +4 -4
  569. package/dist/esm/rtk-settings.entry.js +3 -3
  570. package/dist/esm/rtk-setup-screen.entry.js +5 -5
  571. package/dist/esm/rtk-sidebar-ui.entry.js +5 -5
  572. package/dist/esm/rtk-sidebar.entry.js +5 -5
  573. package/dist/esm/rtk-simple-grid.entry.js +4 -4
  574. package/dist/esm/rtk-spotlight-grid.entry.js +6 -6
  575. package/dist/esm/rtk-spotlight-indicator.entry.js +3 -3
  576. package/dist/esm/rtk-stage-toggle.entry.js +3 -3
  577. package/dist/esm/rtk-stage.entry.js +4 -4
  578. package/dist/esm/rtk-transcript.entry.js +4 -4
  579. package/dist/esm/rtk-transcripts.entry.js +3 -3
  580. package/dist/esm/rtk-ui-provider.entry.js +3 -3
  581. package/dist/esm/rtk-waiting-screen.entry.js +4 -4
  582. package/dist/esm/{sidebar-376c9917.js → sidebar-293fd302.js} +1 -1
  583. package/dist/esm/{ui-store-12132d9c.js → ui-store-644e4cb0.js} +114 -35
  584. package/dist/realtimekit-ui/index.esm.js +1 -1
  585. package/dist/realtimekit-ui/p-01ef7b4d.entry.js +1 -0
  586. package/dist/realtimekit-ui/p-06dcd55e.entry.js +1 -0
  587. package/dist/realtimekit-ui/p-0c3f571f.entry.js +1 -0
  588. package/dist/realtimekit-ui/{p-30dcb4cc.entry.js → p-0cfee5d3.entry.js} +1 -1
  589. package/dist/realtimekit-ui/p-10d4354c.entry.js +1 -0
  590. package/dist/realtimekit-ui/p-14dc10b8.entry.js +1 -0
  591. package/dist/realtimekit-ui/p-1517b428.entry.js +1 -0
  592. package/dist/realtimekit-ui/{p-6914a616.entry.js → p-15297e89.entry.js} +1 -1
  593. package/dist/realtimekit-ui/p-1e16ecb3.entry.js +1 -0
  594. package/dist/realtimekit-ui/{p-af58f450.entry.js → p-1feec027.entry.js} +1 -1
  595. package/dist/realtimekit-ui/{p-00445029.entry.js → p-2251059d.entry.js} +1 -1
  596. package/dist/realtimekit-ui/p-25f3e66a.entry.js +1 -0
  597. package/dist/realtimekit-ui/{p-6888b050.entry.js → p-26b4e422.entry.js} +1 -1
  598. package/dist/realtimekit-ui/p-29549a05.entry.js +1 -0
  599. package/dist/realtimekit-ui/{p-a852e0cf.entry.js → p-29d3f735.entry.js} +1 -1
  600. package/dist/realtimekit-ui/{p-532e1a53.entry.js → p-2b47921e.entry.js} +1 -1
  601. package/dist/realtimekit-ui/p-2f93d90b.entry.js +1 -0
  602. package/dist/realtimekit-ui/{p-afa7211c.js → p-2ff77d78.js} +1 -1
  603. package/dist/realtimekit-ui/{p-c5f704a3.entry.js → p-309b8a96.entry.js} +1 -1
  604. package/dist/realtimekit-ui/{p-fcb7a6e2.entry.js → p-30a3007c.entry.js} +1 -1
  605. package/dist/realtimekit-ui/{p-9b550ec4.js → p-315cd380.js} +1 -1
  606. package/dist/realtimekit-ui/{p-a67e2a25.entry.js → p-36f7accb.entry.js} +1 -1
  607. package/dist/realtimekit-ui/{p-05d1b9d5.entry.js → p-3ec85ff3.entry.js} +1 -1
  608. package/dist/realtimekit-ui/{p-14569a57.entry.js → p-40ab8b0f.entry.js} +1 -1
  609. package/dist/realtimekit-ui/{p-be5bdd0a.entry.js → p-43fa4d95.entry.js} +1 -1
  610. package/dist/realtimekit-ui/{p-426bf45e.entry.js → p-4814e742.entry.js} +1 -1
  611. package/dist/realtimekit-ui/{p-616dc312.entry.js → p-4a5e203d.entry.js} +1 -1
  612. package/dist/realtimekit-ui/{p-a7172c2d.entry.js → p-4e604bf1.entry.js} +1 -1
  613. package/dist/realtimekit-ui/p-4ec77793.js +1 -0
  614. package/dist/realtimekit-ui/{p-e78ba202.entry.js → p-50aaac81.entry.js} +1 -1
  615. package/dist/realtimekit-ui/{p-323d1aa4.entry.js → p-5a425dac.entry.js} +1 -1
  616. package/dist/realtimekit-ui/{p-1834416c.entry.js → p-5ef7cf76.entry.js} +1 -1
  617. package/dist/realtimekit-ui/{p-85b3c0c4.entry.js → p-60b3fbb2.entry.js} +1 -1
  618. package/dist/realtimekit-ui/{p-c8773db0.entry.js → p-6573487e.entry.js} +1 -1
  619. package/dist/realtimekit-ui/p-67c674d4.entry.js +1 -0
  620. package/dist/realtimekit-ui/p-6acdcb4f.entry.js +1 -0
  621. package/dist/realtimekit-ui/{p-cb54bd67.entry.js → p-6c2ef845.entry.js} +1 -1
  622. package/dist/realtimekit-ui/{p-0baa78d7.entry.js → p-6f913b9b.entry.js} +1 -1
  623. package/dist/realtimekit-ui/p-71393f37.entry.js +1 -0
  624. package/dist/realtimekit-ui/{p-a7e0277f.js → p-77e5605f.js} +1 -1
  625. package/dist/realtimekit-ui/p-7c6cdccf.entry.js +1 -0
  626. package/dist/realtimekit-ui/{p-f6c82f1b.entry.js → p-8329d4ae.entry.js} +1 -1
  627. package/dist/realtimekit-ui/{p-8778b3e6.entry.js → p-84476389.entry.js} +1 -1
  628. package/dist/realtimekit-ui/{p-342b4926.entry.js → p-879459bb.entry.js} +1 -1
  629. package/dist/realtimekit-ui/{p-2441260e.entry.js → p-8e867ba8.entry.js} +1 -1
  630. package/dist/realtimekit-ui/p-8fc79c56.js +1 -0
  631. package/dist/realtimekit-ui/p-9599b2e4.entry.js +1 -0
  632. package/dist/realtimekit-ui/{p-7d01d588.entry.js → p-975cbc2e.entry.js} +1 -1
  633. package/dist/realtimekit-ui/p-9e27670a.entry.js +1 -0
  634. package/dist/realtimekit-ui/p-9ff0dfdb.entry.js +1 -0
  635. package/dist/realtimekit-ui/{p-f32aecbc.entry.js → p-a43a7ffb.entry.js} +1 -1
  636. package/dist/realtimekit-ui/p-a599f720.js +2 -0
  637. package/dist/realtimekit-ui/p-abbee273.entry.js +1 -0
  638. package/dist/realtimekit-ui/p-ad11a64a.entry.js +1 -0
  639. package/dist/realtimekit-ui/p-aee32120.entry.js +1 -0
  640. package/dist/realtimekit-ui/{p-515a17ce.entry.js → p-b0eaeddc.entry.js} +1 -1
  641. package/dist/realtimekit-ui/p-b5e5e206.js +1 -0
  642. package/dist/realtimekit-ui/p-bb907330.entry.js +1 -0
  643. package/dist/realtimekit-ui/{p-5b00a8fa.entry.js → p-bbaf3e7d.entry.js} +1 -1
  644. package/dist/realtimekit-ui/{p-a1408db4.entry.js → p-be0cae77.entry.js} +1 -1
  645. package/dist/realtimekit-ui/{p-11a469d9.js → p-be0d2b90.js} +1 -1
  646. package/dist/realtimekit-ui/{p-94a37c73.entry.js → p-bea3ee08.entry.js} +1 -1
  647. package/dist/realtimekit-ui/{p-ebfde234.entry.js → p-c0e5ddd4.entry.js} +1 -1
  648. package/dist/realtimekit-ui/{p-1fe6003b.entry.js → p-c794adf9.entry.js} +1 -1
  649. package/dist/realtimekit-ui/p-c7ddf9a9.entry.js +1 -0
  650. package/dist/realtimekit-ui/{p-44d69c6b.entry.js → p-c8239122.entry.js} +1 -1
  651. package/dist/realtimekit-ui/p-c8f0b23e.entry.js +1 -0
  652. package/dist/realtimekit-ui/{p-573187b4.entry.js → p-cbbb09a2.entry.js} +1 -1
  653. package/dist/realtimekit-ui/{p-80e51a73.entry.js → p-cbfe61b9.entry.js} +1 -1
  654. package/dist/realtimekit-ui/{p-cc226b51.entry.js → p-cc71c33f.entry.js} +1 -1
  655. package/dist/realtimekit-ui/{p-ad5e9fdb.entry.js → p-cd086077.entry.js} +1 -1
  656. package/dist/realtimekit-ui/{p-6896e819.entry.js → p-cedff249.entry.js} +1 -1
  657. package/dist/realtimekit-ui/p-d107248e.entry.js +1 -0
  658. package/dist/realtimekit-ui/{p-a40cc665.entry.js → p-d10fe6c7.entry.js} +1 -1
  659. package/dist/realtimekit-ui/p-d24dd330.entry.js +1 -0
  660. package/dist/realtimekit-ui/{p-4b33b435.entry.js → p-d3d4e6de.entry.js} +1 -1
  661. package/dist/realtimekit-ui/p-d432c842.entry.js +1 -0
  662. package/dist/realtimekit-ui/p-d6126ff7.js +1 -0
  663. package/dist/realtimekit-ui/p-d8e64814.entry.js +1 -0
  664. package/dist/realtimekit-ui/{p-d3e520e5.js → p-ddcb6b8b.js} +1 -1
  665. package/dist/realtimekit-ui/{p-4485414e.entry.js → p-de253745.entry.js} +1 -1
  666. package/dist/realtimekit-ui/{p-369648b9.entry.js → p-de2fd3a4.entry.js} +1 -1
  667. package/dist/realtimekit-ui/{p-3dd04263.entry.js → p-e6fc5935.entry.js} +1 -1
  668. package/dist/realtimekit-ui/{p-c8eaa707.js → p-eccb6d78.js} +1 -1
  669. package/dist/realtimekit-ui/p-f1c4d507.entry.js +1 -0
  670. package/dist/realtimekit-ui/{p-fa86682c.entry.js → p-f42001bb.entry.js} +1 -1
  671. package/dist/realtimekit-ui/{p-a0d39ea3.entry.js → p-f423e125.entry.js} +1 -1
  672. package/dist/realtimekit-ui/p-f46787e0.entry.js +1 -0
  673. package/dist/realtimekit-ui/{p-f266302c.entry.js → p-f4e8a0b3.entry.js} +1 -1
  674. package/dist/realtimekit-ui/{p-cd0c5440.js → p-f6fdb3c3.js} +1 -1
  675. package/dist/realtimekit-ui/p-f8089097.entry.js +1 -0
  676. package/dist/realtimekit-ui/p-fc0eb2e6.entry.js +1 -0
  677. package/dist/realtimekit-ui/p-ff86148c.entry.js +1 -0
  678. package/dist/realtimekit-ui/{p-cd56beb7.entry.js → p-ffac36ba.entry.js} +1 -1
  679. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  680. package/dist/types/components/rtk-chat/rtk-chat.d.ts +6 -43
  681. package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +1 -4
  682. package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +1 -0
  683. package/dist/types/components/rtk-chat-header/rtk-chat-header.d.ts +7 -0
  684. package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +6 -15
  685. package/dist/types/components/rtk-chat-selector/rtk-chat-selector.d.ts +54 -0
  686. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +5 -0
  687. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +11 -6
  688. package/dist/types/components/rtk-pinned-message-selector/rtk-pinned-message-selector.d.ts +40 -0
  689. package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +0 -2
  690. package/dist/types/components.d.ts +208 -498
  691. package/dist/types/lib/icons/default-icon-pack.d.ts +0 -2
  692. package/dist/types/lib/lang/default-language.d.ts +1 -4
  693. package/dist/types/lib/overrides.d.ts +5 -0
  694. package/dist/types/types/props.d.ts +0 -4
  695. package/dist/types/utils/chat.d.ts +1 -3
  696. package/dist/types/utils/flags.d.ts +0 -2
  697. package/package.json +3 -2
  698. package/dist/cjs/index-05554ce6.js +0 -2251
  699. package/dist/cjs/rtk-channel-creator.cjs.entry.js +0 -163
  700. package/dist/cjs/rtk-channel-details.cjs.entry.js +0 -49
  701. package/dist/cjs/rtk-channel-header.cjs.entry.js +0 -83
  702. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +0 -147
  703. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +0 -210
  704. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +0 -290
  705. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +0 -149
  706. package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +0 -99
  707. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +0 -330
  708. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +0 -286
  709. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +0 -306
  710. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +0 -341
  711. package/dist/components/p-713c7ed7.js +0 -85
  712. package/dist/components/p-7e90e964.js +0 -703
  713. package/dist/components/p-a73665b4.js +0 -203
  714. package/dist/components/p-ad8282dc.js +0 -388
  715. package/dist/components/p-c3592601.js +0 -1641
  716. package/dist/components/rtk-channel-creator.js +0 -214
  717. package/dist/components/rtk-channel-details.d.ts +0 -11
  718. package/dist/components/rtk-channel-details.js +0 -6
  719. package/dist/components/rtk-channel-header.js +0 -151
  720. package/dist/components/rtk-channel-selector-ui.d.ts +0 -11
  721. package/dist/components/rtk-channel-selector-ui.js +0 -194
  722. package/dist/components/rtk-channel-selector-view.d.ts +0 -11
  723. package/dist/components/rtk-channel-selector-view.js +0 -6
  724. package/dist/esm/index-c1fb98bb.js +0 -2218
  725. package/dist/esm/rtk-channel-creator.entry.js +0 -159
  726. package/dist/esm/rtk-channel-details.entry.js +0 -45
  727. package/dist/esm/rtk-channel-header.entry.js +0 -79
  728. package/dist/esm/rtk-channel-selector-ui.entry.js +0 -143
  729. package/dist/realtimekit-ui/p-02c6b025.entry.js +0 -1
  730. package/dist/realtimekit-ui/p-0ee570cd.js +0 -2
  731. package/dist/realtimekit-ui/p-1462cbd9.entry.js +0 -1
  732. package/dist/realtimekit-ui/p-21d4bb9c.entry.js +0 -1
  733. package/dist/realtimekit-ui/p-23784be6.entry.js +0 -1
  734. package/dist/realtimekit-ui/p-25c4d10f.js +0 -1
  735. package/dist/realtimekit-ui/p-2b054928.entry.js +0 -1
  736. package/dist/realtimekit-ui/p-322957ed.entry.js +0 -1
  737. package/dist/realtimekit-ui/p-3f4120cc.entry.js +0 -1
  738. package/dist/realtimekit-ui/p-43530cd3.entry.js +0 -1
  739. package/dist/realtimekit-ui/p-45f90b95.js +0 -1
  740. package/dist/realtimekit-ui/p-48c87789.entry.js +0 -1
  741. package/dist/realtimekit-ui/p-4b638184.entry.js +0 -1
  742. package/dist/realtimekit-ui/p-53680d55.entry.js +0 -1
  743. package/dist/realtimekit-ui/p-54a88fdf.entry.js +0 -1
  744. package/dist/realtimekit-ui/p-5892c1e0.entry.js +0 -1
  745. package/dist/realtimekit-ui/p-5b2d97fc.js +0 -1
  746. package/dist/realtimekit-ui/p-612a8d25.entry.js +0 -1
  747. package/dist/realtimekit-ui/p-639601b7.entry.js +0 -1
  748. package/dist/realtimekit-ui/p-64206b62.entry.js +0 -1
  749. package/dist/realtimekit-ui/p-67ead213.entry.js +0 -1
  750. package/dist/realtimekit-ui/p-685adc5f.entry.js +0 -1
  751. package/dist/realtimekit-ui/p-701cdf1b.entry.js +0 -1
  752. package/dist/realtimekit-ui/p-7a9a226e.entry.js +0 -1
  753. package/dist/realtimekit-ui/p-820dad23.entry.js +0 -1
  754. package/dist/realtimekit-ui/p-85b45c3b.entry.js +0 -1
  755. package/dist/realtimekit-ui/p-8f4f3160.entry.js +0 -1
  756. package/dist/realtimekit-ui/p-95fb25d6.entry.js +0 -1
  757. package/dist/realtimekit-ui/p-a031547c.entry.js +0 -1
  758. package/dist/realtimekit-ui/p-a5900df2.js +0 -1
  759. package/dist/realtimekit-ui/p-a680da64.entry.js +0 -1
  760. package/dist/realtimekit-ui/p-a9190330.entry.js +0 -1
  761. package/dist/realtimekit-ui/p-a91a2e10.entry.js +0 -1
  762. package/dist/realtimekit-ui/p-ac6c8ebe.entry.js +0 -1
  763. package/dist/realtimekit-ui/p-b25f7d7b.entry.js +0 -1
  764. package/dist/realtimekit-ui/p-b51e813e.entry.js +0 -1
  765. package/dist/realtimekit-ui/p-be03944b.entry.js +0 -1
  766. package/dist/realtimekit-ui/p-cda276d6.entry.js +0 -1
  767. package/dist/realtimekit-ui/p-d880fb69.entry.js +0 -1
  768. package/dist/realtimekit-ui/p-e5b426fa.entry.js +0 -1
  769. package/dist/realtimekit-ui/p-ec5ed8a4.entry.js +0 -1
  770. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +0 -37
  771. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +0 -16
  772. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +0 -32
  773. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +0 -35
  774. package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +0 -62
@@ -1,341 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
4
- r = Reflect.decorate(decorators, target, key, desc);
5
- else
6
- for (var i = decorators.length - 1; i >= 0; i--)
7
- if (d = decorators[i])
8
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
- return c > 3 && r && Object.defineProperty(target, key, r), r;
10
- };
11
- import { Host, h } from "@stencil/core";
12
- import { defaultIconPack, useLanguage } from "../../exports";
13
- import { SyncWithStore } from "../../utils/sync-with-store";
14
- import { debounce } from "lodash-es";
15
- export class RtkChannelSelectorView {
16
- constructor() {
17
- /** Disables search bar (default = false) */
18
- this.disableSearch = false;
19
- /** Hides avatar (default = false) */
20
- this.hideAvatar = false;
21
- /** Icon Pack */
22
- this.iconPack = defaultIconPack;
23
- /** Language */
24
- this.t = useLanguage();
25
- /** Render as dropdown or list (default = list) */
26
- this.viewAs = 'list';
27
- this.searchQuery = '';
28
- this.showDropdown = false;
29
- this.calculateListHeight = debounce(() => {
30
- if (this.viewAs === 'list' && this.$listEl) {
31
- let height = 0;
32
- const slotEl = this.$el.shadowRoot.querySelector('slot[name="header"]');
33
- if (slotEl) {
34
- slotEl.assignedElements().forEach((e) => (height += e.offsetHeight));
35
- }
36
- if (this.$searchEl) {
37
- height += this.$searchEl.offsetHeight;
38
- }
39
- this.$listEl.style.height = `${window.innerHeight - height - 16}px`;
40
- }
41
- }, 60);
42
- this.getFilteredChannels = () => {
43
- if (this.searchQuery.trim() === '') {
44
- return this.channels;
45
- }
46
- return this.channels.filter((channel) => {
47
- return channel['name'].toLowerCase().includes(this.searchQuery.toLowerCase());
48
- });
49
- };
50
- this.toggleDropdown = () => {
51
- this.showDropdown = !this.showDropdown;
52
- };
53
- this.getChannelById = (id) => {
54
- return this.channels.find((channel) => channel.id === id);
55
- };
56
- this.getTotalUnreads = () => {
57
- return this.channels.reduce((acc, curr) => {
58
- return acc + curr.unreadCount;
59
- }, 0);
60
- };
61
- this.onChannelClickHandler = (channel) => {
62
- this.channelChange.emit(channel);
63
- if (this.viewAs === 'dropdown') {
64
- this.showDropdown = false;
65
- }
66
- };
67
- }
68
- connectedCallback() {
69
- this.resizeObserver = new ResizeObserver(this.calculateListHeight);
70
- }
71
- componentDidLoad() {
72
- this.resizeObserver.observe(this.$el);
73
- this.calculateListHeight();
74
- }
75
- disconnectedCallback() {
76
- var _a;
77
- (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
78
- this.calculateListHeight.cancel();
79
- }
80
- getTimeLabel(messageDate) {
81
- const today = new Date();
82
- const yesterday = new Date(today);
83
- yesterday.setDate(today.getDate() - 1);
84
- const firstDayOfWeek = new Date(today);
85
- firstDayOfWeek.setDate(today.getDate() - today.getDay() - 1);
86
- if (messageDate.toDateString() === today.toDateString()) {
87
- return messageDate.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' });
88
- }
89
- else if (messageDate.toDateString() === yesterday.toDateString()) {
90
- return this.t('date.yesteday');
91
- }
92
- else if (messageDate > firstDayOfWeek) {
93
- const weekdays = [
94
- 'date.sunday',
95
- 'date.monday',
96
- 'date.tuesday',
97
- 'date.wednesday',
98
- 'date.thursday',
99
- 'date.friday',
100
- 'date.saturday',
101
- ];
102
- return this.t(weekdays[messageDate.getDay()]);
103
- }
104
- else {
105
- return Intl.DateTimeFormat([], {
106
- day: '2-digit',
107
- month: '2-digit',
108
- year: '2-digit',
109
- }).format(messageDate);
110
- }
111
- }
112
- render() {
113
- const filteredChannels = this.getFilteredChannels();
114
- const shouldShowDropdown = this.viewAs === 'list' || (this.viewAs === 'dropdown' && this.showDropdown);
115
- return (h(Host, { key: 'adc8ab4b9c8c865998588fbd9766296f18b3e48e' }, this.viewAs === 'list' && h("slot", { key: 'e5740725a4349472ca2eb1fb0816eb2311a99838', name: "header" }), shouldShowDropdown && (h("div", { key: '425adc920c28e0421e07bb0bd9f61b31c42fcda9', class: {
116
- dropdown: this.viewAs === 'dropdown',
117
- scrollbar: this.viewAs === 'dropdown',
118
- list: this.viewAs === 'list',
119
- } }, !this.disableSearch && (h("div", { key: '9fbbc48d8489f2a6490729fac1fecdef1838e84a', class: "search-container", ref: (el) => (this.$searchEl = el) }, h("input", { key: 'f7fb43662d50274f80380b735ef9f5fc0b215442', type: "text", placeholder: this.t('chat.search_conversations'), value: this.searchQuery, onInput: (e) => (this.searchQuery = e.target.value) }), h("rtk-icon", { key: 'af76e65a1397d2a6e557a28b687e26aef641c568', icon: this.iconPack.search }))), h("div", { key: '0711a9cfcc811269a5020dc41030c0daee5cc8bf', class: "channels-container scrollbar", ref: (el) => (this.$listEl = el) }, filteredChannels.map((channel) => {
120
- 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: {
121
- name: channel.name,
122
- picture: channel.avatarUrl,
123
- } })))), h("div", { class: "channel-data" }, h("div", { class: "col" }, h("div", { class: "name" }, channel.name), channel.latestMessage && (h("div", { class: {
124
- 'last-message': true,
125
- 'no-message': !channel.latestMessage,
126
- } }, 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))))));
127
- })))), this.viewAs === 'dropdown' && (h("button", { key: '0c87f90d6d0fe22284995ab7259689f80a862829', class: "dropdown-trigger", onClick: this.toggleDropdown }, h("span", { key: 'd1a364f2c5c57d19702d0b8707ca661c1dc4c14f' }, h("rtk-icon", { key: 'a4a028e536459fab6de2884e25b0312d2a36bc32', icon: this.iconPack.participants }), this.selectedChannelId &&
128
- `${this.t('to')} ${this.getChannelById(this.selectedChannelId).name}`, this.getTotalUnreads() > 0 && (h("div", { key: '83c8efae8daed7dce4c4fdb55b523876c71a9a85', class: "unread-count" }, this.getTotalUnreads()))), h("rtk-icon", { key: '855ff62e593c7c14f448bbd5b8cf898e13d5d391', icon: this.showDropdown ? this.iconPack.chevron_up : this.iconPack.chevron_down })))));
129
- }
130
- static get is() { return "rtk-channel-selector-view"; }
131
- static get encapsulation() { return "shadow"; }
132
- static get originalStyleUrls() {
133
- return {
134
- "$": ["rtk-channel-selector-view.css"]
135
- };
136
- }
137
- static get styleUrls() {
138
- return {
139
- "$": ["rtk-channel-selector-view.css"]
140
- };
141
- }
142
- static get properties() {
143
- return {
144
- "channels": {
145
- "type": "unknown",
146
- "mutable": false,
147
- "complexType": {
148
- "original": "{\n id: string;\n name: string;\n avatarUrl?: string;\n icon?: keyof IconPack;\n latestMessage?: string;\n latestMessageTime?: Date;\n unreadCount?: number;\n }[]",
149
- "resolved": "{ id: string; name: string; avatarUrl?: string; icon?: \"pin\" | \"disconnected\" | \"add\" | \"delete\" | \"participants\" | \"search\" | \"image\" | \"warning\" | \"chat\" | \"pause\" | \"info\" | \"debug\" | \"dismiss\" | \"settings\" | \"pip_on\" | \"pip_off\" | \"viewers\" | \"mic_off\" | \"mic_on\" | \"minimize\" | \"maximize\" | \"video_off\" | \"video_on\" | \"breakout_rooms\" | \"copy\" | \"play\" | \"people\" | \"people_checked\" | \"poll\" | \"rocket\" | \"call_end\" | \"share\" | \"share_screen_start\" | \"share_screen_stop\" | \"share_screen_person\" | \"clock\" | \"send\" | \"more_vertical\" | \"chevron_down\" | \"chevron_up\" | \"chevron_left\" | \"chevron_right\" | \"wifi\" | \"speaker\" | \"speaker_off\" | \"download\" | \"full_screen_maximize\" | \"full_screen_minimize\" | \"attach\" | \"emoji_multiple\" | \"image_off\" | \"wand\" | \"recording\" | \"subtract\" | \"stop_recording\" | \"pin_off\" | \"spinner\" | \"shuffle\" | \"edit\" | \"back\" | \"save\" | \"web\" | \"checkmark\" | \"spotlight\" | \"join_stage\" | \"leave_stage\" | \"signal_1\" | \"signal_2\" | \"signal_3\" | \"signal_4\" | \"signal_5\" | \"start_livestream\" | \"stop_livestream\" | \"devices\" | \"horizontal_dots\" | \"ai_sparkle\" | \"meeting_ai\" | \"create_channel\" | \"create_channel_illustration\" | \"captionsOn\" | \"captionsOff\" | \"fastForward\"; latestMessage?: string; latestMessageTime?: Date; unreadCount?: number; }[]",
150
- "references": {
151
- "IconPack": {
152
- "location": "import",
153
- "path": "../../exports",
154
- "id": "src/exports.ts::IconPack"
155
- },
156
- "Date": {
157
- "location": "global",
158
- "id": "global::Date"
159
- }
160
- }
161
- },
162
- "required": true,
163
- "optional": false,
164
- "docs": {
165
- "tags": [],
166
- "text": "Channels"
167
- },
168
- "getter": false,
169
- "setter": false
170
- },
171
- "selectedChannelId": {
172
- "type": "string",
173
- "mutable": false,
174
- "complexType": {
175
- "original": "string",
176
- "resolved": "string",
177
- "references": {}
178
- },
179
- "required": false,
180
- "optional": false,
181
- "docs": {
182
- "tags": [],
183
- "text": "Selected channel id"
184
- },
185
- "getter": false,
186
- "setter": false,
187
- "attribute": "selected-channel-id",
188
- "reflect": false
189
- },
190
- "disableSearch": {
191
- "type": "boolean",
192
- "mutable": false,
193
- "complexType": {
194
- "original": "boolean",
195
- "resolved": "boolean",
196
- "references": {}
197
- },
198
- "required": false,
199
- "optional": false,
200
- "docs": {
201
- "tags": [],
202
- "text": "Disables search bar (default = false)"
203
- },
204
- "getter": false,
205
- "setter": false,
206
- "attribute": "disable-search",
207
- "reflect": false,
208
- "defaultValue": "false"
209
- },
210
- "hideAvatar": {
211
- "type": "boolean",
212
- "mutable": false,
213
- "complexType": {
214
- "original": "boolean",
215
- "resolved": "boolean",
216
- "references": {}
217
- },
218
- "required": false,
219
- "optional": false,
220
- "docs": {
221
- "tags": [],
222
- "text": "Hides avatar (default = false)"
223
- },
224
- "getter": false,
225
- "setter": false,
226
- "attribute": "hide-avatar",
227
- "reflect": false,
228
- "defaultValue": "false"
229
- },
230
- "iconPack": {
231
- "type": "unknown",
232
- "mutable": false,
233
- "complexType": {
234
- "original": "IconPack",
235
- "resolved": "{ people: string; people_checked: string; chat: string; poll: string; participants: string; rocket: string; call_end: string; share: string; mic_on: string; mic_off: string; video_on: string; video_off: string; share_screen_start: string; share_screen_stop: string; share_screen_person: string; clock: string; dismiss: string; send: string; search: string; more_vertical: string; chevron_down: string; chevron_up: string; chevron_left: string; chevron_right: string; settings: string; wifi: string; speaker: string; speaker_off: string; download: string; full_screen_maximize: string; full_screen_minimize: string; copy: string; attach: string; image: string; emoji_multiple: string; image_off: string; disconnected: string; wand: string; recording: string; subtract: string; stop_recording: string; warning: string; pin: string; pin_off: string; spinner: string; breakout_rooms: string; add: string; shuffle: string; edit: string; delete: string; back: string; save: string; web: string; checkmark: string; spotlight: string; join_stage: string; leave_stage: string; pip_off: string; pip_on: string; signal_1: string; signal_2: string; signal_3: string; signal_4: string; signal_5: string; start_livestream: string; stop_livestream: string; viewers: string; debug: string; info: string; devices: string; horizontal_dots: string; ai_sparkle: string; meeting_ai: string; create_channel: string; create_channel_illustration: string; captionsOn: string; captionsOff: string; play: string; pause: string; fastForward: string; minimize: string; maximize: string; }",
236
- "references": {
237
- "IconPack": {
238
- "location": "import",
239
- "path": "../../exports",
240
- "id": "src/exports.ts::IconPack"
241
- }
242
- }
243
- },
244
- "required": false,
245
- "optional": false,
246
- "docs": {
247
- "tags": [],
248
- "text": "Icon Pack"
249
- },
250
- "getter": false,
251
- "setter": false,
252
- "defaultValue": "defaultIconPack"
253
- },
254
- "t": {
255
- "type": "unknown",
256
- "mutable": false,
257
- "complexType": {
258
- "original": "RtkI18n",
259
- "resolved": "(key: \"pin\" | \"unpin\" | \"kick\" | \"ended\" | \"disconnected\" | \"failed\" | \"type\" | \"end\" | \"joined\" | \"pinned\" | \"join\" | \"participants\" | \"logo\" | \"audio\" | \"search\" | \"video\" | \"image\" | \"chat\" | \"polls\" | \"leave\" | \"close\" | \"plugins\" | \"screenshare\" | \"(you)\" | \"everyone\" | (string & {}) | \"about_call\" | \"screen\" | \"camera\" | \"dismiss\" | \"page\" | \"more\" | \"page.prev\" | \"page.next\" | \"layout\" | \"layout.auto\" | \"settings\" | \"file\" | \"connection\" | \"leave_confirmation\" | \"cancel\" | \"yes\" | \"you\" | \"to\" | \"mute\" | \"accept\" | \"pip_on\" | \"pip_off\" | \"viewers\" | \"create\" | \"ask\" | \"activate\" | \"requests\" | \"mic_off\" | \"disable_mic\" | \"mic_on\" | \"enable_mic\" | \"test\" | \"minimize\" | \"maximize\" | \"mute_all\" | \"mute_all.description\" | \"mute_all.header\" | \"mute_all.allow_unmute\" | \"video_off\" | \"disable_video\" | \"video_on\" | \"enable_video\" | \"offline\" | \"offline.description\" | \"failed.description\" | \"disconnected.description\" | \"participants.errors.empty_results\" | \"participants.empty_list\" | \"participants.no_pending_requests\" | \"participants.turn_off_video\" | \"polls.by\" | \"polls.question\" | \"polls.question.placeholder\" | \"polls.answers\" | \"polls.option\" | \"polls.option.placeholder\" | \"polls.results.anon\" | \"polls.results.hide\" | \"polls.create\" | \"polls.cancel\" | \"polls.empty\" | \"polls.errors.question_required\" | \"polls.errors.empty_option\" | \"screenshare.min_preview\" | \"screenshare.max_preview\" | \"screenshare.shared\" | \"screenshare.start\" | \"screenshare.stop\" | \"screenshare.error.unknown\" | \"screenshare.error.max_count\" | \"perm_denied\" | \"perm_denied.audio\" | \"perm_denied.video\" | \"perm_denied.screenshare\" | \"perm_denied.audio.chrome.message\" | \"perm_denied.video.chrome.message\" | \"perm_denied.screenshare.chrome.message\" | \"perm_denied.audio.safari.message\" | \"perm_denied.video.safari.message\" | \"perm_denied.screenshare.safari.message\" | \"perm_denied.audio.edge.message\" | \"perm_denied.video.edge.message\" | \"perm_denied.screenshare.edge.message\" | \"perm_denied.audio.microsoft edge.message\" | \"perm_denied.video.microsoft edge.message\" | \"perm_denied.screenshare.microsoft edge.message\" | \"perm_denied.audio.firefox.message\" | \"perm_denied.video.firefox.message\" | \"perm_denied.screenshare.firefox.message\" | \"perm_denied.audio.others.message\" | \"perm_denied.video.others.message\" | \"perm_denied.screenshare.others.message\" | \"perm_sys_denied\" | \"perm_sys_denied.audio\" | \"perm_sys_denied.video\" | \"perm_sys_denied.screenshare\" | \"perm_sys_denied.audio.macos.message\" | \"perm_sys_denied.video.macos.message\" | \"perm_sys_denied.screenshare.macos.message\" | \"perm_sys_denied.audio.ios.message\" | \"perm_sys_denied.video.ios.message\" | \"perm_sys_denied.screenshare.ios.message\" | \"perm_sys_denied.audio.windows.message\" | \"perm_sys_denied.video.windows.message\" | \"perm_sys_denied.screenshare.windows.message\" | \"perm_sys_denied.audio.android.message\" | \"perm_sys_denied.video.android.message\" | \"perm_sys_denied.screenshare.android.message\" | \"perm_sys_denied.audio.others.message\" | \"perm_sys_denied.video.others.message\" | \"perm_sys_denied.screenshare.others.message\" | \"perm_could_not_start\" | \"perm_could_not_start.audio\" | \"perm_could_not_start.video\" | \"perm_could_not_start.screenshare\" | \"perm_could_not_start.audio.message\" | \"perm_could_not_start.video.message\" | \"perm_could_not_start.screenshare.message\" | \"full_screen\" | \"full_screen.exit\" | \"waitlist.header_title\" | \"waitlist.body_text\" | \"waitlist.deny_request\" | \"waitlist.accept_request\" | \"waitlist.accept_all\" | \"stage_request.header_title\" | \"stage_request.deny_request\" | \"stage_request.accept_request\" | \"stage_request.accept_all\" | \"stage_request.deny_all\" | \"stage_request.approval_pending\" | \"stage_request.denied\" | \"stage_request.request\" | \"stage_request.requested\" | \"stage_request.cancel_request\" | \"stage_request.leave_stage\" | \"stage_request.request_tip\" | \"stage_request.leave_tip\" | \"stage_request.pending_tip\" | \"stage_request.denied_tip\" | \"stage.empty_host\" | \"stage.empty_host_summary\" | \"stage.empty_viewer\" | \"stage.remove_from_stage\" | \"stage.invited_notification\" | \"stage.add_to_stage\" | \"stage.join_title\" | \"stage.join_summary\" | \"stage.join_cancel\" | \"stage.join_confirm\" | \"setup_screen.join_in_as\" | \"setup_screen.your_name\" | \"stage.reconnecting\" | \"recording.label\" | \"recording.indicator\" | \"recording.started\" | \"recording.stopped\" | \"recording.paused\" | \"recording.error.start\" | \"recording.error.stop\" | \"recording.error.resume\" | \"recording.start\" | \"recording.stop\" | \"recording.resume\" | \"recording.starting\" | \"recording.stopping\" | \"recording.loading\" | \"recording.idle\" | \"audio_playback\" | \"audio_playback.title\" | \"audio_playback.description\" | \"breakout_rooms\" | \"breakout_rooms.room_config_header\" | \"breakout_rooms.join_breakout_header\" | \"breakout_rooms.empty\" | \"breakout_rooms.delete\" | \"breakout_rooms.switch\" | \"breakout_rooms.main_room\" | \"breakout_rooms.shuffle_participants\" | \"breakout_rooms.deselect\" | \"breakout_rooms.selected\" | \"breakout_rooms.num_of_rooms\" | \"breakout_rooms.approx\" | \"breakout_rooms.participants_per_room\" | \"breakout_rooms.division_text\" | \"breakout_rooms.start_breakout\" | \"breakout_rooms.close_breakout\" | \"breakout_rooms.update_breakout\" | \"breakout_rooms.discard_changes\" | \"breakout_rooms.room\" | \"breakout_rooms.rooms\" | \"breakout_rooms.room_name\" | \"breakout_rooms.edit_room_name\" | \"breakout_rooms.save_room_name\" | \"breakout_rooms.add_room\" | \"breakout_rooms.add_room_brief\" | \"breakout_rooms.select_all\" | \"breakout_rooms.unassign_all\" | \"breakout_rooms.assign\" | \"breakout_rooms.assign_participants\" | \"breakout_rooms.none_assigned\" | \"breakout_rooms.drag_drop_participants\" | \"breakout_rooms.click_drop_participants\" | \"breakout_rooms.status.assign_multiple\" | \"breakout_rooms.status.select_room\" | \"breakout_rooms.ephemeral_status.participants_assigned\" | \"breakout_rooms.ephemeral_status.participants_assigned_randomly\" | \"breakout_rooms.ephemeral_status.changes_discarded\" | \"breakout_rooms.confirm_modal.start_breakout.header\" | \"breakout_rooms.confirm_modal.start_breakout.content\" | \"breakout_rooms.confirm_modal.start_breakout.cancelText\" | \"breakout_rooms.confirm_modal.start_breakout.ctaText\" | \"breakout_rooms.confirm_modal.close_breakout.header\" | \"breakout_rooms.confirm_modal.close_breakout.content\" | \"breakout_rooms.confirm_modal.close_breakout.ctaText\" | \"breakout_rooms.move_reason.started_msg\" | \"breakout_rooms.move_reason.started_desc\" | \"breakout_rooms.move_reason.closed_msg\" | \"breakout_rooms.move_reason.closed_desc\" | \"breakout_rooms.move_reason.switch_room\" | \"breakout_rooms.move_reason.switch_main_room\" | \"breakout_rooms.all_assigned\" | \"breakout_rooms.empty_main_room\" | \"breakout_rooms.leave_confirmation\" | \"breakout_rooms.leave_confirmation.main_room_btn\" | \"ai\" | \"ai.meeting_ai\" | \"ai.home\" | \"ai.transcriptions\" | \"ai.personal\" | \"ai.caption_view\" | \"ai.chat.tooltip\" | \"ai.chat.summerise\" | \"ai.chat.agenda\" | \"search.could_not_find\" | \"search.empty\" | \"end.all\" | \"ended.rejected\" | \"ended.left\" | \"ended.kicked\" | \"ended.disconnected\" | \"ended.network\" | \"ended.unauthorized\" | \"network\" | \"network.reconnecting\" | \"network.delay_extended\" | \"network.disconnected\" | \"network.leaving\" | \"network.restored\" | \"network.delay\" | \"network.lost\" | \"network.lost_extended\" | \"livestream\" | \"livestream.indicator\" | \"livestream.skip\" | \"livestream.idle\" | \"livestream.starting\" | \"livestream.stopping\" | \"livestream.waiting_on_manual_ingestion\" | \"livestream.error.not_supported\" | \"livestream.error.not_found\" | \"livestream.error.unknown\" | \"livestream.error.sync\" | \"livestream.error.start\" | \"livestream.error.stop\" | \"livestream.go_live\" | \"livestream.end_live\" | \"livestream.error\" | \"cta.help\" | \"cta.continue\" | \"cta.reload\" | \"cta.confirmation\" | \"cta.system_settings\" | \"remote_access.empty\" | \"remote_access.requests\" | \"remote_access.allow\" | \"remote_access.grant\" | \"remote_access.indicator\" | \"chat.new\" | \"chat.max_limit_warning\" | \"chat.rate_limit_error\" | \"chat.new_channel\" | \"chat.channel_name\" | \"chat.member_name\" | \"chat.add_members\" | \"chat.delete_msg\" | \"chat.edit_msg\" | \"chat.send_msg\" | \"chat.send_attachment\" | \"chat.send_img\" | \"chat.send_file\" | \"chat.send_emoji\" | \"chat.update_msg\" | \"chat.channel_members\" | \"chat.img.loading\" | \"chat.error.img_not_found\" | \"chat.error.empty_results\" | \"chat.img.shared_by\" | \"chat.reply\" | \"chat.message_placeholder\" | \"chat.click_to_send\" | \"chat.search_msgs\" | \"chat.search_conversations\" | \"chat.start_conversation\" | \"chat.empty_search\" | \"chat.empty_channel\" | \"chat.cancel_upload\" | \"chat.view_chats\" | \"chat.everyone\" | \"chat.pinned_msgs\" | \"chat.toggle_pinned_msgs\" | \"date.today\" | \"date.yesteday\" | \"date.sunday\" | \"date.monday\" | \"date.tuesday\" | \"date.wednesday\" | \"date.thursday\" | \"date.friday\" | \"date.saturday\" | \"list.empty\" | \"grid.listening\" | \"transcript.off\" | \"transcript.on\" | \"settings.notification_sound\" | \"settings.microphone_input\" | \"settings.speaker_output\" | \"settings.mirror_video\" | \"settings.camera_off\" | \"dialog.close\" | \"notifications.joined\" | \"notifications.left\" | \"notifications.requesting_to_join_meeting\" | \"notifications.requested_to_join_stage\" | \"notifications.joined_stage\" | \"notifications.request_to_join_accepted\" | \"notifications.request_to_join_rejected\" | \"notifications.accept\" | \"notifications.new_poll_created_by\" | \"notifications.connected_to\" | \"notifications.plugin_switched_to\" | \"notifications.remote_control_requested\" | \"notifications.remote_control_request_sent\" | \"notifications.remote_control_request_accepted\" | \"notifications.remote_control_granted\" | \"notifications.remote_control_terminated\" | \"debugger.troubleshooting.label\" | \"debugger.quality.good\" | \"debugger.quality.average\" | \"debugger.quality.poor\" | \"debugger.stats.bitrate.label\" | \"debugger.stats.bitrate.description\" | \"debugger.stats.packet_loss.label\" | \"debugger.stats.packet_loss.description\" | \"debugger.stats.jitter.label\" | \"debugger.stats.jitter.description\" | \"debugger.stats.cpu_limitations.label\" | \"debugger.stats.cpu_limitations.description\" | \"debugger.stats.bandwidth_limitations.label\" | \"debugger.stats.bandwidth_limitations.description\" | \"debugger.audio.label\" | \"debugger.audio.troubleshooting.label\" | \"debugger.audio.messages.generating_report\" | \"debugger.audio.messages.enable_media\" | \"debugger.audio.sections.network_media\" | \"debugger.video.label\" | \"debugger.video.troubleshooting.label\" | \"debugger.video.messages.generating_report\" | \"debugger.video.messages.enable_media\" | \"debugger.video.sections.network_media\" | \"debugger.screenshare.label\" | \"debugger.screenshare.troubleshooting.label\" | \"debugger.screenshare.sections.network_media\" | \"debugger.screenshare.messages.generating_report\" | \"debugger.screenshare.messages.enable_media\" | \"debugger.system.label\" | \"debugger.system.troubleshooting.label\" | \"debugger.system.sections.battery\" | \"debugger.system.battery.level.label\" | \"debugger.system.battery.level.description\" | \"debugger.system.battery.charging.label\" | \"debugger.system.battery.charging.description\" | \"debugger.system.battery.charging.is_charging\" | \"debugger.system.battery.charging.is_not_charging\") => string",
260
- "references": {
261
- "RtkI18n": {
262
- "location": "import",
263
- "path": "../../exports",
264
- "id": "src/exports.ts::RtkI18n"
265
- }
266
- }
267
- },
268
- "required": false,
269
- "optional": false,
270
- "docs": {
271
- "tags": [],
272
- "text": "Language"
273
- },
274
- "getter": false,
275
- "setter": false,
276
- "defaultValue": "useLanguage()"
277
- },
278
- "viewAs": {
279
- "type": "string",
280
- "mutable": false,
281
- "complexType": {
282
- "original": "'dropdown' | 'list'",
283
- "resolved": "\"dropdown\" | \"list\"",
284
- "references": {}
285
- },
286
- "required": false,
287
- "optional": false,
288
- "docs": {
289
- "tags": [],
290
- "text": "Render as dropdown or list (default = list)"
291
- },
292
- "getter": false,
293
- "setter": false,
294
- "attribute": "view-as",
295
- "reflect": false,
296
- "defaultValue": "'list'"
297
- }
298
- };
299
- }
300
- static get states() {
301
- return {
302
- "searchQuery": {},
303
- "showDropdown": {}
304
- };
305
- }
306
- static get events() {
307
- return [{
308
- "method": "channelChange",
309
- "name": "channelChange",
310
- "bubbles": true,
311
- "cancelable": true,
312
- "composed": true,
313
- "docs": {
314
- "tags": [],
315
- "text": "Event emitted when selected channel changes"
316
- },
317
- "complexType": {
318
- "original": "{\n id: string;\n name: string;\n avatarUrl?: string;\n icon?: keyof IconPack;\n latestMessage?: string;\n latestMessageTime?: Date;\n unreadCount?: number;\n }",
319
- "resolved": "{ id: string; name: string; avatarUrl?: string; icon?: \"pin\" | \"disconnected\" | \"add\" | \"delete\" | \"participants\" | \"search\" | \"image\" | \"warning\" | \"chat\" | \"pause\" | \"info\" | \"debug\" | \"dismiss\" | \"settings\" | \"pip_on\" | \"pip_off\" | \"viewers\" | \"mic_off\" | \"mic_on\" | \"minimize\" | \"maximize\" | \"video_off\" | \"video_on\" | \"breakout_rooms\" | \"copy\" | \"play\" | \"people\" | \"people_checked\" | \"poll\" | \"rocket\" | \"call_end\" | \"share\" | \"share_screen_start\" | \"share_screen_stop\" | \"share_screen_person\" | \"clock\" | \"send\" | \"more_vertical\" | \"chevron_down\" | \"chevron_up\" | \"chevron_left\" | \"chevron_right\" | \"wifi\" | \"speaker\" | \"speaker_off\" | \"download\" | \"full_screen_maximize\" | \"full_screen_minimize\" | \"attach\" | \"emoji_multiple\" | \"image_off\" | \"wand\" | \"recording\" | \"subtract\" | \"stop_recording\" | \"pin_off\" | \"spinner\" | \"shuffle\" | \"edit\" | \"back\" | \"save\" | \"web\" | \"checkmark\" | \"spotlight\" | \"join_stage\" | \"leave_stage\" | \"signal_1\" | \"signal_2\" | \"signal_3\" | \"signal_4\" | \"signal_5\" | \"start_livestream\" | \"stop_livestream\" | \"devices\" | \"horizontal_dots\" | \"ai_sparkle\" | \"meeting_ai\" | \"create_channel\" | \"create_channel_illustration\" | \"captionsOn\" | \"captionsOff\" | \"fastForward\"; latestMessage?: string; latestMessageTime?: Date; unreadCount?: number; }",
320
- "references": {
321
- "IconPack": {
322
- "location": "import",
323
- "path": "../../exports",
324
- "id": "src/exports.ts::IconPack"
325
- },
326
- "Date": {
327
- "location": "global",
328
- "id": "global::Date"
329
- }
330
- }
331
- }
332
- }];
333
- }
334
- static get elementRef() { return "$el"; }
335
- }
336
- __decorate([
337
- SyncWithStore()
338
- ], RtkChannelSelectorView.prototype, "iconPack", void 0);
339
- __decorate([
340
- SyncWithStore()
341
- ], RtkChannelSelectorView.prototype, "t", void 0);
@@ -1,85 +0,0 @@
1
- import { p as proxyCustomElement, H, 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$3 } from './p-241a8245.js';
6
- import { d as defineCustomElement$2 } from './p-3b29dda1.js';
7
- import { d as defineCustomElement$1 } from './p-4ebf9684.js';
8
-
9
- 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))}";
10
- const RtkChannelDetailsStyle0 = rtkChannelDetailsCss;
11
-
12
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
13
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
15
- r = Reflect.decorate(decorators, target, key, desc);
16
- else
17
- for (var i = decorators.length - 1; i >= 0; i--)
18
- if (d = decorators[i])
19
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
20
- return c > 3 && r && Object.defineProperty(target, key, r), r;
21
- };
22
- const RtkChannelDetails = /*@__PURE__*/ proxyCustomElement(class RtkChannelDetails extends H {
23
- constructor() {
24
- super();
25
- this.__registerHost();
26
- this.__attachShadow();
27
- /** Language */
28
- this.t = useLanguage();
29
- /** Icon pack */
30
- this.iconPack = defaultIconPack;
31
- /** List of channel members */
32
- this.members = [];
33
- }
34
- renderMembers() {
35
- return (h("ul", { class: "scrollbar" }, this.members.map((member) => {
36
- return (h("li", null, h("rtk-avatar", { participant: { name: member.name, picture: member.picture }, size: "sm" }), h("span", null, member.name)));
37
- })));
38
- }
39
- render() {
40
- return (h(Host, { key: '0d50bc8ecef99900be123c21754cc7e865425c65' }, h("header", { key: '4b595171c0c7f10835230d7ed66508d5b2412ac4' }, this.t('chat.channel_members')), this.renderMembers()));
41
- }
42
- static get style() { return RtkChannelDetailsStyle0; }
43
- }, [1, "rtk-channel-details", {
44
- "channel": [16],
45
- "t": [16],
46
- "iconPack": [16],
47
- "members": [16]
48
- }]);
49
- __decorate([
50
- SyncWithStore()
51
- ], RtkChannelDetails.prototype, "t", void 0);
52
- __decorate([
53
- SyncWithStore()
54
- ], RtkChannelDetails.prototype, "iconPack", void 0);
55
- function defineCustomElement() {
56
- if (typeof customElements === "undefined") {
57
- return;
58
- }
59
- const components = ["rtk-channel-details", "rtk-avatar", "rtk-icon", "rtk-spinner"];
60
- components.forEach(tagName => { switch (tagName) {
61
- case "rtk-channel-details":
62
- if (!customElements.get(tagName)) {
63
- customElements.define(tagName, RtkChannelDetails);
64
- }
65
- break;
66
- case "rtk-avatar":
67
- if (!customElements.get(tagName)) {
68
- defineCustomElement$3();
69
- }
70
- break;
71
- case "rtk-icon":
72
- if (!customElements.get(tagName)) {
73
- defineCustomElement$2();
74
- }
75
- break;
76
- case "rtk-spinner":
77
- if (!customElements.get(tagName)) {
78
- defineCustomElement$1();
79
- }
80
- break;
81
- } });
82
- }
83
- defineCustomElement();
84
-
85
- export { RtkChannelDetails as R, defineCustomElement as d };