@cloudflare/realtimekit-ui 1.1.0-staging.10 → 1.1.0-staging.12

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 (768) 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} +538 -555
  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 +9 -5
  34. package/dist/cjs/rtk-clock.cjs.entry.js +6 -6
  35. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +3 -3
  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 +3 -3
  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 +3 -3
  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 +3 -3
  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 +2 -37
  116. package/dist/collection/components/rtk-chat/rtk-chat.js +27 -385
  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 +2 -2
  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 +91 -96
  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 +142 -0
  128. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +421 -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 +8 -4
  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 +1 -1
  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-idle-screen/rtk-idle-screen.js +4 -4
  161. package/dist/collection/components/rtk-image-message/rtk-image-message.js +7 -7
  162. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +5 -5
  163. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +4 -4
  164. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -2
  165. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +4 -4
  166. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +3 -3
  167. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +5 -5
  168. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +3 -3
  169. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +3 -3
  170. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +3 -3
  171. package/dist/collection/components/rtk-logo/rtk-logo.js +2 -2
  172. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  173. package/dist/collection/components/rtk-meeting/rtk-meeting.js +3 -3
  174. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +3 -3
  175. package/dist/collection/components/rtk-menu/rtk-menu.js +4 -4
  176. package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +1 -1
  177. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +3 -3
  178. package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +3 -3
  179. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +3 -3
  180. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +4 -4
  181. package/dist/collection/components/rtk-message-view/rtk-message-view.js +3 -3
  182. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +3 -3
  183. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +3 -3
  184. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +5 -5
  185. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +4 -4
  186. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +3 -3
  187. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +4 -4
  188. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +5 -5
  189. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +4 -4
  190. package/dist/collection/components/rtk-notification/rtk-notification.js +4 -4
  191. package/dist/collection/components/rtk-notifications/rtk-notifications.js +3 -3
  192. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +4 -4
  193. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +88 -2
  194. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +50 -27
  195. package/dist/collection/components/rtk-participant/rtk-participant.js +16 -16
  196. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +3 -3
  197. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +5 -5
  198. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +5 -5
  199. package/dist/collection/components/rtk-participants/rtk-participants.js +3 -3
  200. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +4 -4
  201. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +4 -4
  202. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +3 -3
  203. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +3 -3
  204. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +3 -3
  205. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +3 -3
  206. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +4 -4
  207. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.css +112 -0
  208. package/dist/collection/components/{rtk-channel-header/rtk-channel-header.js → rtk-pinned-message-selector/rtk-pinned-message-selector.js} +181 -118
  209. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +3 -3
  210. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +5 -5
  211. package/dist/collection/components/rtk-plugins/rtk-plugins.js +4 -4
  212. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +3 -3
  213. package/dist/collection/components/rtk-poll/rtk-poll.js +5 -5
  214. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +4 -4
  215. package/dist/collection/components/rtk-polls/rtk-polls.js +6 -6
  216. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +3 -3
  217. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +4 -4
  218. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +3 -3
  219. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +3 -3
  220. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +9 -9
  221. package/dist/collection/components/rtk-settings/rtk-settings.js +3 -3
  222. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +3 -3
  223. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +3 -3
  224. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +3 -3
  225. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +0 -2
  226. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +3 -3
  227. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +3 -3
  228. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +3 -3
  229. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +3 -3
  230. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +3 -3
  231. package/dist/collection/components/rtk-spinner/rtk-spinner.js +2 -2
  232. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +5 -5
  233. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +3 -3
  234. package/dist/collection/components/rtk-stage/rtk-stage.js +3 -3
  235. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +3 -3
  236. package/dist/collection/components/rtk-switch/rtk-switch.js +3 -3
  237. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +3 -3
  238. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +3 -3
  239. package/dist/collection/components/rtk-text-message/rtk-text-message.js +5 -5
  240. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  241. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  242. package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
  243. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +2 -2
  244. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +3 -3
  245. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +3 -3
  246. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  247. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +4 -4
  248. package/dist/collection/lib/icons/default-icon-pack.js +0 -2
  249. package/dist/collection/lib/lang/default-language.js +2 -5
  250. package/dist/collection/lib/overrides.js +1 -0
  251. package/dist/collection/utils/chat.js +0 -4
  252. package/dist/collection/utils/flags.js +0 -2
  253. package/dist/components/index.js +8 -8
  254. package/dist/components/{p-e375b50d.js → p-06de876f.js} +7 -7
  255. package/dist/components/{p-6c02b0d0.js → p-08351fd6.js} +8 -8
  256. package/dist/components/{p-44c32349.js → p-0a36cb4b.js} +11 -11
  257. package/dist/components/{p-dab9d3d6.js → p-0db812c2.js} +1 -12
  258. package/dist/components/{p-f0e4633e.js → p-1099c0fe.js} +5 -5
  259. package/dist/components/{p-eeb37b16.js → p-12b59b72.js} +5 -5
  260. package/dist/components/{p-fb836f65.js → p-15156a2c.js} +2 -2
  261. package/dist/components/{p-43bf8953.js → p-154bed23.js} +6 -6
  262. package/dist/components/{p-c05530c8.js → p-1b26fbf7.js} +3 -3
  263. package/dist/components/{p-7bde2b2d.js → p-2232de67.js} +2482 -1455
  264. package/dist/components/{p-fb900e8f.js → p-22827c53.js} +6 -6
  265. package/dist/components/{p-ad873f2d.js → p-2305aa2d.js} +1 -1
  266. package/dist/components/{p-6f8d2043.js → p-2690645d.js} +3 -3
  267. package/dist/components/{p-e64e3cec.js → p-2976fcb0.js} +8 -8
  268. package/dist/components/p-321a4aef.js +86 -0
  269. package/dist/components/{p-586482a8.js → p-345a07e8.js} +8 -8
  270. package/dist/components/{p-dfb42075.js → p-401ce922.js} +5 -5
  271. package/dist/components/{p-72fffe3e.js → p-41bf1c3d.js} +5 -5
  272. package/dist/components/{p-5f1b84f7.js → p-45a9a385.js} +11 -11
  273. package/dist/components/{p-3972098e.js → p-469f4396.js} +15 -15
  274. package/dist/components/{p-92729e09.js → p-4942bfd2.js} +9 -9
  275. package/dist/components/{p-dd89aff2.js → p-4a1144e2.js} +8 -8
  276. package/dist/components/{p-46d99dd9.js → p-4a5d3b4c.js} +7 -7
  277. package/dist/components/{p-74356882.js → p-52d9029f.js} +9 -9
  278. package/dist/components/p-54e0acc1.js +463 -0
  279. package/dist/components/{p-da87cc71.js → p-583f9282.js} +1 -1
  280. package/dist/components/{p-ecb016da.js → p-6ac87493.js} +6 -6
  281. package/dist/components/{p-f6c2e822.js → p-6e373d96.js} +4 -4
  282. package/dist/components/{p-aae4c250.js → p-707dced6.js} +2 -2
  283. package/dist/components/{p-1afc54bb.js → p-71fb663b.js} +4 -4
  284. package/dist/components/{p-fefc57f9.js → p-71fbfb8b.js} +7 -7
  285. package/dist/components/{p-282e8e83.js → p-7384c20c.js} +9 -9
  286. package/dist/components/{p-35e93724.js → p-73db39b8.js} +2 -2
  287. package/dist/components/{p-193d8051.js → p-76c443b7.js} +3 -3
  288. package/dist/components/{p-44a203bd.js → p-793f074d.js} +36 -15
  289. package/dist/components/{p-19b037c5.js → p-7adb3504.js} +5 -5
  290. package/dist/components/{p-b6869c32.js → p-7f3bfc54.js} +6 -6
  291. package/dist/components/p-7fcbd2dd.js +236 -0
  292. package/dist/components/{p-7a27fdb5.js → p-862ec1f9.js} +10 -10
  293. package/dist/components/{p-39e8b34a.js → p-8861d5a3.js} +4 -4
  294. package/dist/components/{p-6392204c.js → p-88aded7d.js} +11 -11
  295. package/dist/components/{p-7148ec6a.js → p-8a66a347.js} +5 -5
  296. package/dist/components/{p-05df465d.js → p-8cea6257.js} +1 -1
  297. package/dist/components/{p-cf8f725b.js → p-90420dc5.js} +3 -3
  298. package/dist/components/{p-600579a6.js → p-95a1fa70.js} +5 -5
  299. package/dist/components/{p-e72a0f16.js → p-9e1478a0.js} +7 -7
  300. package/dist/components/{p-977f9875.js → p-9f481b70.js} +5 -5
  301. package/dist/components/{p-73baf5ba.js → p-a3cc7425.js} +1 -1
  302. package/dist/components/{p-fa5aba68.js → p-a4d13056.js} +22 -22
  303. package/dist/components/{p-107e55c1.js → p-a6c93f34.js} +5 -5
  304. package/dist/components/{p-e552dc59.js → p-a74caccd.js} +4 -4
  305. package/dist/components/{p-33be3c19.js → p-a8d77615.js} +16 -16
  306. package/dist/components/{p-2309fb19.js → p-abf952f5.js} +5 -5
  307. package/dist/components/{p-e57e8041.js → p-ac6a5fc5.js} +7 -7
  308. package/dist/components/{p-d9f6db4f.js → p-af2b1476.js} +8 -8
  309. package/dist/components/{p-b76e3950.js → p-b226a124.js} +7 -7
  310. package/dist/components/{p-1a9e3806.js → p-b2d5329f.js} +5 -5
  311. package/dist/components/{p-89151c7a.js → p-b3240843.js} +5 -5
  312. package/dist/components/{p-1da807a2.js → p-bfc86230.js} +4 -4
  313. package/dist/components/{p-a54b82e9.js → p-c0790538.js} +1 -1
  314. package/dist/components/{p-395ef9c8.js → p-c0ad28ff.js} +9 -9
  315. package/dist/components/{p-d188f58b.js → p-c6c4c24e.js} +4 -4
  316. package/dist/components/{p-9bdc24b8.js → p-c9db1b82.js} +5 -5
  317. package/dist/components/{p-fb7666ce.js → p-cd6656bf.js} +8 -8
  318. package/dist/components/{p-819cb785.js → p-cd6f04ae.js} +5 -5
  319. package/dist/components/{p-f7bd10f1.js → p-d029dd2f.js} +8 -8
  320. package/dist/components/{p-dc3143c0.js → p-d0f54eea.js} +3 -3
  321. package/dist/components/{p-edd12f2f.js → p-d22fc130.js} +7 -7
  322. package/dist/components/{p-abdff498.js → p-d2cbc2d1.js} +11 -11
  323. package/dist/components/{p-851b90a6.js → p-d6024528.js} +4 -4
  324. package/dist/components/{p-7b6356e2.js → p-d9626191.js} +6 -6
  325. package/dist/components/p-d9fa18db.js +218 -0
  326. package/dist/components/{p-0a31ef52.js → p-dacaa250.js} +3 -3
  327. package/dist/components/{p-e4888ccc.js → p-db5556c3.js} +81 -58
  328. package/dist/components/{p-7c8096c2.js → p-dd8a892e.js} +5 -5
  329. package/dist/components/{p-e443d803.js → p-dfdbb665.js} +5 -5
  330. package/dist/components/{p-524d7900.js → p-e0ef3893.js} +7 -7
  331. package/dist/components/{p-1391bef0.js → p-e229128b.js} +1 -1
  332. package/dist/components/{p-6f7c46d2.js → p-e334e15c.js} +2 -2
  333. package/dist/components/{p-5476e3f3.js → p-e544a590.js} +6 -6
  334. package/dist/components/{p-2447a26f.js → p-e7b7abfe.js} +5 -5
  335. package/dist/components/{p-45b4f6a1.js → p-ecbb4e46.js} +7 -7
  336. package/dist/components/{p-6f361314.js → p-eff3c856.js} +6 -6
  337. package/dist/components/{p-e847fee9.js → p-f19b4abc.js} +114 -35
  338. package/dist/components/{p-60fdbd75.js → p-f3c261ec.js} +1 -1
  339. package/dist/components/{p-6739a399.js → p-f5aecaad.js} +3 -3
  340. package/dist/components/{p-89eb65a9.js → p-fa8cf270.js} +3 -3
  341. package/dist/components/p-fdad14c9.js +4028 -0
  342. package/dist/components/{p-3e58e0f3.js → p-fe0d125b.js} +4 -4
  343. package/dist/components/rtk-ai-toggle.js +6 -6
  344. package/dist/components/rtk-ai-transcriptions.js +1 -1
  345. package/dist/components/rtk-ai.js +6 -6
  346. package/dist/components/rtk-audio-grid.js +5 -5
  347. package/dist/components/rtk-audio-tile.js +7 -7
  348. package/dist/components/rtk-audio-visualizer.js +1 -1
  349. package/dist/components/rtk-avatar.js +1 -1
  350. package/dist/components/rtk-breakout-room-manager.js +1 -1
  351. package/dist/components/rtk-breakout-room-participants.js +1 -1
  352. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  353. package/dist/components/rtk-breakout-rooms-toggle.js +6 -6
  354. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  355. package/dist/components/rtk-button.js +1 -1
  356. package/dist/components/rtk-camera-selector.js +1 -1
  357. package/dist/components/rtk-camera-toggle.js +7 -7
  358. package/dist/components/rtk-caption-toggle.js +6 -6
  359. package/dist/components/rtk-chat-composer-ui.js +17 -34
  360. package/dist/components/rtk-chat-composer-view.js +1 -1
  361. package/dist/components/{rtk-channel-header.d.ts → rtk-chat-header.d.ts} +4 -4
  362. package/dist/components/rtk-chat-header.js +6 -0
  363. package/dist/components/rtk-chat-message.js +1 -1
  364. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  365. package/dist/components/rtk-chat-messages-ui.js +26 -20
  366. package/dist/components/rtk-chat-search-results.js +16 -16
  367. package/dist/components/rtk-chat-selector-ui.js +5 -5
  368. package/dist/components/{rtk-channel-creator.d.ts → rtk-chat-selector.d.ts} +4 -4
  369. package/dist/components/rtk-chat-selector.js +6 -0
  370. package/dist/components/rtk-chat-toggle.js +12 -8
  371. package/dist/components/rtk-chat.js +1 -1
  372. package/dist/components/rtk-clock.js +7 -7
  373. package/dist/components/rtk-confirmation-modal.js +1 -1
  374. package/dist/components/rtk-controlbar-button.js +1 -1
  375. package/dist/components/rtk-controlbar.js +5 -5
  376. package/dist/components/rtk-counter.js +1 -1
  377. package/dist/components/rtk-debugger-audio.js +1 -1
  378. package/dist/components/rtk-debugger-screenshare.js +1 -1
  379. package/dist/components/rtk-debugger-system.js +1 -1
  380. package/dist/components/rtk-debugger-toggle.js +7 -7
  381. package/dist/components/rtk-debugger-video.js +1 -1
  382. package/dist/components/rtk-debugger.js +1 -1
  383. package/dist/components/rtk-dialog-manager.js +26 -26
  384. package/dist/components/rtk-dialog.js +1 -1
  385. package/dist/components/rtk-draft-attachment-view.js +1 -1
  386. package/dist/components/rtk-emoji-picker-button.js +1 -1
  387. package/dist/components/rtk-emoji-picker.js +1 -1
  388. package/dist/components/rtk-ended-screen.js +5 -5
  389. package/dist/components/rtk-file-dropzone.js +5 -5
  390. package/dist/components/rtk-file-message-view.js +1 -1
  391. package/dist/components/rtk-file-message.js +1 -1
  392. package/dist/components/rtk-file-picker-button.js +1 -1
  393. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  394. package/dist/components/rtk-grid-pagination.js +7 -7
  395. package/dist/components/rtk-grid.js +12 -12
  396. package/dist/components/rtk-header.js +5 -5
  397. package/dist/components/rtk-icon.js +1 -1
  398. package/dist/components/rtk-idle-screen.js +7 -7
  399. package/dist/components/rtk-image-message-view.js +1 -1
  400. package/dist/components/rtk-image-message.js +1 -1
  401. package/dist/components/rtk-image-viewer.js +6 -6
  402. package/dist/components/rtk-information-tooltip.js +5 -5
  403. package/dist/components/rtk-join-stage.js +1 -1
  404. package/dist/components/rtk-leave-button.js +7 -7
  405. package/dist/components/rtk-leave-meeting.js +1 -1
  406. package/dist/components/rtk-livestream-indicator.js +1 -1
  407. package/dist/components/rtk-livestream-player.js +1 -1
  408. package/dist/components/rtk-livestream-toggle.js +6 -6
  409. package/dist/components/rtk-logo.js +1 -1
  410. package/dist/components/rtk-markdown-view.js +1 -1
  411. package/dist/components/rtk-meeting-title.js +4 -4
  412. package/dist/components/rtk-meeting.js +59 -47
  413. package/dist/components/rtk-menu-item.js +1 -1
  414. package/dist/components/rtk-menu-list.js +1 -1
  415. package/dist/components/rtk-menu.js +1 -1
  416. package/dist/components/rtk-message-list-view.js +8 -8
  417. package/dist/components/rtk-message-view.js +1 -1
  418. package/dist/components/rtk-mic-toggle.js +7 -7
  419. package/dist/components/rtk-microphone-selector.js +1 -1
  420. package/dist/components/rtk-mixed-grid.js +10 -10
  421. package/dist/components/rtk-more-toggle.js +8 -8
  422. package/dist/components/rtk-mute-all-button.js +7 -7
  423. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  424. package/dist/components/rtk-name-tag.js +1 -1
  425. package/dist/components/rtk-network-indicator.js +4 -4
  426. package/dist/components/rtk-notification.js +1 -1
  427. package/dist/components/rtk-notifications.js +8 -8
  428. package/dist/components/rtk-overlay-modal.js +1 -1
  429. package/dist/components/rtk-paginated-list.js +1 -1
  430. package/dist/components/rtk-participant-count.js +4 -4
  431. package/dist/components/rtk-participant-setup.js +5 -5
  432. package/dist/components/rtk-participant-tile.js +1 -1
  433. package/dist/components/rtk-participant.js +1 -1
  434. package/dist/components/rtk-participants-audio.js +7 -7
  435. package/dist/components/rtk-participants-stage-list.js +1 -1
  436. package/dist/components/rtk-participants-stage-queue.js +1 -1
  437. package/dist/components/rtk-participants-toggle.js +7 -7
  438. package/dist/components/rtk-participants-viewer-list.js +1 -1
  439. package/dist/components/rtk-participants-waiting-list.js +1 -1
  440. package/dist/components/rtk-participants.js +17 -17
  441. package/dist/components/rtk-permissions-message.js +1 -1
  442. package/dist/components/rtk-pinned-message-selector.d.ts +11 -0
  443. package/dist/components/rtk-pinned-message-selector.js +6 -0
  444. package/dist/components/rtk-pip-toggle.js +6 -6
  445. package/dist/components/rtk-plugin-main.js +1 -1
  446. package/dist/components/rtk-plugins-toggle.js +7 -7
  447. package/dist/components/rtk-plugins.js +1 -1
  448. package/dist/components/rtk-poll-form.js +1 -1
  449. package/dist/components/rtk-poll.js +1 -1
  450. package/dist/components/rtk-polls-toggle.js +7 -7
  451. package/dist/components/rtk-polls.js +1 -1
  452. package/dist/components/rtk-recording-indicator.js +5 -5
  453. package/dist/components/rtk-recording-toggle.js +6 -6
  454. package/dist/components/rtk-screen-share-toggle.js +7 -7
  455. package/dist/components/rtk-screenshare-view.js +11 -11
  456. package/dist/components/rtk-settings-audio.js +1 -1
  457. package/dist/components/rtk-settings-toggle.js +7 -7
  458. package/dist/components/rtk-settings-video.js +1 -1
  459. package/dist/components/rtk-settings.js +13 -13
  460. package/dist/components/rtk-setup-screen.js +11 -11
  461. package/dist/components/rtk-sidebar-ui.js +1 -1
  462. package/dist/components/rtk-sidebar.js +13 -13
  463. package/dist/components/rtk-simple-grid.js +4 -4
  464. package/dist/components/rtk-speaker-selector.js +1 -1
  465. package/dist/components/rtk-spinner.js +1 -1
  466. package/dist/components/rtk-spotlight-grid.js +6 -6
  467. package/dist/components/rtk-spotlight-indicator.js +1 -1
  468. package/dist/components/rtk-stage-toggle.js +7 -7
  469. package/dist/components/rtk-stage.js +4 -4
  470. package/dist/components/rtk-switch.js +1 -1
  471. package/dist/components/rtk-tab-bar.js +1 -1
  472. package/dist/components/rtk-text-composer-view.js +1 -1
  473. package/dist/components/rtk-text-message-view.js +1 -1
  474. package/dist/components/rtk-text-message.js +1 -1
  475. package/dist/components/rtk-tooltip.js +1 -1
  476. package/dist/components/rtk-transcript.js +1 -1
  477. package/dist/components/rtk-transcripts.js +4 -4
  478. package/dist/components/rtk-ui-provider.js +3 -3
  479. package/dist/components/rtk-viewer-count.js +1 -1
  480. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  481. package/dist/components/rtk-waiting-screen.js +5 -5
  482. package/dist/docs/docs-components.json +10739 -18036
  483. package/dist/docs/docs-vscode.json +46 -108
  484. package/dist/esm/{ChatHead-15c2f8d4.js → ChatHead-148558a8.js} +1 -1
  485. package/dist/esm/{TextMessage-0d8be8c5.js → TextMessage-cdf76ced.js} +2 -2
  486. package/dist/esm/{chat-b2bea75f.js → chat-12f27725.js} +2 -13
  487. package/dist/esm/{config-325caca3.js → config-74c02ff0.js} +2 -2
  488. package/dist/esm/{debounce-3139f9e3.js → debounce-0c6e63e9.js} +1 -1
  489. package/dist/esm/{index-d31a2e33.js → index-3f51790f.js} +1 -1
  490. package/dist/esm/index-55463a54.js +4365 -0
  491. package/dist/esm/{index-6eb882e7.js → index-e677f28b.js} +2 -2
  492. package/dist/esm/index.js +8 -8
  493. package/dist/esm/loader.js +6360 -3546
  494. package/dist/esm/{merge-bc2a0775.js → merge-df16b7d2.js} +1 -1
  495. package/dist/esm/{notification-4beb1e0d.js → notification-dd8b1d52.js} +1 -1
  496. package/dist/esm/realtimekit-ui.js +31 -4
  497. package/dist/esm/rtk-ai-toggle.entry.js +3 -3
  498. package/dist/esm/rtk-ai-transcriptions.entry.js +5 -5
  499. package/dist/esm/rtk-ai.entry.js +3 -3
  500. package/dist/esm/rtk-audio-grid.entry.js +5 -5
  501. package/dist/esm/rtk-audio-tile.entry.js +3 -3
  502. package/dist/esm/rtk-audio-visualizer_4.entry.js +4 -4
  503. package/dist/esm/{rtk-avatar_24.entry.js → rtk-avatar_26.entry.js} +536 -555
  504. package/dist/esm/rtk-breakout-room-manager_3.entry.js +8 -8
  505. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +13 -13
  506. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +3 -3
  507. package/dist/esm/rtk-camera-selector_2.entry.js +4 -4
  508. package/dist/esm/rtk-camera-toggle.entry.js +3 -3
  509. package/dist/esm/rtk-caption-toggle.entry.js +3 -3
  510. package/dist/esm/rtk-chat-composer-ui.entry.js +11 -25
  511. package/dist/esm/rtk-chat-message.entry.js +6 -6
  512. package/dist/esm/rtk-chat-messages-ui.entry.js +13 -7
  513. package/dist/esm/rtk-chat-search-results.entry.js +4 -4
  514. package/dist/esm/rtk-chat-selector-ui.entry.js +4 -4
  515. package/dist/esm/rtk-chat-toggle.entry.js +9 -5
  516. package/dist/esm/rtk-clock.entry.js +6 -6
  517. package/dist/esm/rtk-controlbar-button.entry.js +3 -3
  518. package/dist/esm/rtk-controlbar.entry.js +5 -5
  519. package/dist/esm/rtk-debugger-audio_4.entry.js +3 -3
  520. package/dist/esm/rtk-debugger-toggle.entry.js +4 -4
  521. package/dist/esm/rtk-dialog-manager.entry.js +4 -4
  522. package/dist/esm/rtk-dialog.entry.js +4 -4
  523. package/dist/esm/rtk-ended-screen.entry.js +3 -3
  524. package/dist/esm/rtk-file-dropzone.entry.js +4 -4
  525. package/dist/esm/rtk-file-message_3.entry.js +14 -14
  526. package/dist/esm/rtk-fullscreen-toggle.entry.js +3 -3
  527. package/dist/esm/rtk-grid-pagination.entry.js +4 -4
  528. package/dist/esm/rtk-grid.entry.js +4 -4
  529. package/dist/esm/rtk-header.entry.js +5 -5
  530. package/dist/esm/rtk-idle-screen.entry.js +4 -4
  531. package/dist/esm/rtk-image-viewer.entry.js +4 -4
  532. package/dist/esm/rtk-information-tooltip.entry.js +4 -4
  533. package/dist/esm/rtk-leave-button.entry.js +4 -4
  534. package/dist/esm/rtk-livestream-indicator_3.entry.js +2477 -1450
  535. package/dist/esm/rtk-livestream-toggle.entry.js +3 -3
  536. package/dist/esm/rtk-logo.entry.js +3 -3
  537. package/dist/esm/rtk-meeting-title.entry.js +3 -3
  538. package/dist/esm/rtk-message-list-view.entry.js +7 -7
  539. package/dist/esm/rtk-mic-toggle.entry.js +3 -3
  540. package/dist/esm/rtk-mixed-grid.entry.js +4 -4
  541. package/dist/esm/rtk-more-toggle.entry.js +5 -5
  542. package/dist/esm/rtk-mute-all-button.entry.js +3 -3
  543. package/dist/esm/rtk-name-tag.entry.js +4 -4
  544. package/dist/esm/rtk-network-indicator.entry.js +3 -3
  545. package/dist/esm/rtk-notification.entry.js +7 -7
  546. package/dist/esm/rtk-notifications.entry.js +5 -5
  547. package/dist/esm/rtk-participant-count.entry.js +3 -3
  548. package/dist/esm/rtk-participant-setup.entry.js +5 -5
  549. package/dist/esm/rtk-participant_2.entry.js +19 -19
  550. package/dist/esm/rtk-participants-audio.entry.js +4 -4
  551. package/dist/esm/rtk-participants-stage-list_4.entry.js +5 -5
  552. package/dist/esm/rtk-participants-toggle.entry.js +4 -4
  553. package/dist/esm/rtk-participants.entry.js +4 -4
  554. package/dist/esm/rtk-pip-toggle.entry.js +3 -3
  555. package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
  556. package/dist/esm/rtk-plugins-toggle.entry.js +4 -4
  557. package/dist/esm/rtk-plugins_2.entry.js +7 -7
  558. package/dist/esm/rtk-poll_2.entry.js +6 -6
  559. package/dist/esm/rtk-polls-toggle.entry.js +4 -4
  560. package/dist/esm/rtk-recording-indicator.entry.js +4 -4
  561. package/dist/esm/rtk-recording-toggle.entry.js +3 -3
  562. package/dist/esm/rtk-screen-share-toggle.entry.js +3 -3
  563. package/dist/esm/rtk-screenshare-view.entry.js +8 -8
  564. package/dist/esm/rtk-settings-audio_2.entry.js +3 -3
  565. package/dist/esm/rtk-settings-toggle.entry.js +4 -4
  566. package/dist/esm/rtk-settings.entry.js +3 -3
  567. package/dist/esm/rtk-setup-screen.entry.js +5 -5
  568. package/dist/esm/rtk-sidebar-ui.entry.js +3 -3
  569. package/dist/esm/rtk-sidebar.entry.js +5 -5
  570. package/dist/esm/rtk-simple-grid.entry.js +4 -4
  571. package/dist/esm/rtk-spotlight-grid.entry.js +6 -6
  572. package/dist/esm/rtk-spotlight-indicator.entry.js +3 -3
  573. package/dist/esm/rtk-stage-toggle.entry.js +3 -3
  574. package/dist/esm/rtk-stage.entry.js +4 -4
  575. package/dist/esm/rtk-transcript.entry.js +4 -4
  576. package/dist/esm/rtk-transcripts.entry.js +3 -3
  577. package/dist/esm/rtk-ui-provider.entry.js +3 -3
  578. package/dist/esm/rtk-waiting-screen.entry.js +4 -4
  579. package/dist/esm/{sidebar-376c9917.js → sidebar-293fd302.js} +1 -1
  580. package/dist/esm/{ui-store-12132d9c.js → ui-store-644e4cb0.js} +114 -35
  581. package/dist/realtimekit-ui/index.esm.js +1 -1
  582. package/dist/realtimekit-ui/p-01ef7b4d.entry.js +1 -0
  583. package/dist/realtimekit-ui/p-06dcd55e.entry.js +1 -0
  584. package/dist/realtimekit-ui/p-0c3f571f.entry.js +1 -0
  585. package/dist/realtimekit-ui/{p-30dcb4cc.entry.js → p-0cfee5d3.entry.js} +1 -1
  586. package/dist/realtimekit-ui/p-10d4354c.entry.js +1 -0
  587. package/dist/realtimekit-ui/p-14dc10b8.entry.js +1 -0
  588. package/dist/realtimekit-ui/p-1517b428.entry.js +1 -0
  589. package/dist/realtimekit-ui/{p-6914a616.entry.js → p-15297e89.entry.js} +1 -1
  590. package/dist/realtimekit-ui/p-1e16ecb3.entry.js +1 -0
  591. package/dist/realtimekit-ui/{p-af58f450.entry.js → p-1feec027.entry.js} +1 -1
  592. package/dist/realtimekit-ui/{p-00445029.entry.js → p-2251059d.entry.js} +1 -1
  593. package/dist/realtimekit-ui/p-25f3e66a.entry.js +1 -0
  594. package/dist/realtimekit-ui/{p-e0c73820.entry.js → p-26b4e422.entry.js} +1 -1
  595. package/dist/realtimekit-ui/p-29549a05.entry.js +1 -0
  596. package/dist/realtimekit-ui/{p-a852e0cf.entry.js → p-29d3f735.entry.js} +1 -1
  597. package/dist/realtimekit-ui/{p-532e1a53.entry.js → p-2b47921e.entry.js} +1 -1
  598. package/dist/realtimekit-ui/p-2f93d90b.entry.js +1 -0
  599. package/dist/realtimekit-ui/{p-afa7211c.js → p-2ff77d78.js} +1 -1
  600. package/dist/realtimekit-ui/{p-c5f704a3.entry.js → p-309b8a96.entry.js} +1 -1
  601. package/dist/realtimekit-ui/{p-fcb7a6e2.entry.js → p-30a3007c.entry.js} +1 -1
  602. package/dist/realtimekit-ui/{p-9b550ec4.js → p-315cd380.js} +1 -1
  603. package/dist/realtimekit-ui/{p-a67e2a25.entry.js → p-36f7accb.entry.js} +1 -1
  604. package/dist/realtimekit-ui/{p-05d1b9d5.entry.js → p-3ec85ff3.entry.js} +1 -1
  605. package/dist/realtimekit-ui/{p-14569a57.entry.js → p-40ab8b0f.entry.js} +1 -1
  606. package/dist/realtimekit-ui/{p-be5bdd0a.entry.js → p-43fa4d95.entry.js} +1 -1
  607. package/dist/realtimekit-ui/{p-426bf45e.entry.js → p-4814e742.entry.js} +1 -1
  608. package/dist/realtimekit-ui/{p-616dc312.entry.js → p-4a5e203d.entry.js} +1 -1
  609. package/dist/realtimekit-ui/{p-a7172c2d.entry.js → p-4e604bf1.entry.js} +1 -1
  610. package/dist/realtimekit-ui/p-4ec77793.js +1 -0
  611. package/dist/realtimekit-ui/{p-e78ba202.entry.js → p-50aaac81.entry.js} +1 -1
  612. package/dist/realtimekit-ui/{p-323d1aa4.entry.js → p-5a425dac.entry.js} +1 -1
  613. package/dist/realtimekit-ui/{p-1834416c.entry.js → p-5ef7cf76.entry.js} +1 -1
  614. package/dist/realtimekit-ui/{p-85b3c0c4.entry.js → p-60b3fbb2.entry.js} +1 -1
  615. package/dist/realtimekit-ui/{p-c8773db0.entry.js → p-6573487e.entry.js} +1 -1
  616. package/dist/realtimekit-ui/p-67c674d4.entry.js +1 -0
  617. package/dist/realtimekit-ui/p-6acdcb4f.entry.js +1 -0
  618. package/dist/realtimekit-ui/{p-cb54bd67.entry.js → p-6c2ef845.entry.js} +1 -1
  619. package/dist/realtimekit-ui/{p-0baa78d7.entry.js → p-6f913b9b.entry.js} +1 -1
  620. package/dist/realtimekit-ui/p-71393f37.entry.js +1 -0
  621. package/dist/realtimekit-ui/{p-a7e0277f.js → p-77e5605f.js} +1 -1
  622. package/dist/realtimekit-ui/{p-f6c82f1b.entry.js → p-8329d4ae.entry.js} +1 -1
  623. package/dist/realtimekit-ui/{p-8778b3e6.entry.js → p-84476389.entry.js} +1 -1
  624. package/dist/realtimekit-ui/{p-342b4926.entry.js → p-879459bb.entry.js} +1 -1
  625. package/dist/realtimekit-ui/p-8cc26ae0.entry.js +1 -0
  626. package/dist/realtimekit-ui/{p-2441260e.entry.js → p-8e867ba8.entry.js} +1 -1
  627. package/dist/realtimekit-ui/p-8fc79c56.js +1 -0
  628. package/dist/realtimekit-ui/p-9599b2e4.entry.js +1 -0
  629. package/dist/realtimekit-ui/{p-7d01d588.entry.js → p-975cbc2e.entry.js} +1 -1
  630. package/dist/realtimekit-ui/p-9ff0dfdb.entry.js +1 -0
  631. package/dist/realtimekit-ui/{p-f32aecbc.entry.js → p-a43a7ffb.entry.js} +1 -1
  632. package/dist/realtimekit-ui/p-a599f720.js +2 -0
  633. package/dist/realtimekit-ui/p-abbee273.entry.js +1 -0
  634. package/dist/realtimekit-ui/p-ad11a64a.entry.js +1 -0
  635. package/dist/realtimekit-ui/p-aee32120.entry.js +1 -0
  636. package/dist/realtimekit-ui/{p-515a17ce.entry.js → p-b0eaeddc.entry.js} +1 -1
  637. package/dist/realtimekit-ui/p-b5e5e206.js +1 -0
  638. package/dist/realtimekit-ui/p-bb907330.entry.js +1 -0
  639. package/dist/realtimekit-ui/{p-5b00a8fa.entry.js → p-bbaf3e7d.entry.js} +1 -1
  640. package/dist/realtimekit-ui/{p-a1408db4.entry.js → p-be0cae77.entry.js} +1 -1
  641. package/dist/realtimekit-ui/{p-11a469d9.js → p-be0d2b90.js} +1 -1
  642. package/dist/realtimekit-ui/{p-94a37c73.entry.js → p-bea3ee08.entry.js} +1 -1
  643. package/dist/realtimekit-ui/{p-ebfde234.entry.js → p-c0e5ddd4.entry.js} +1 -1
  644. package/dist/realtimekit-ui/{p-1fe6003b.entry.js → p-c794adf9.entry.js} +1 -1
  645. package/dist/realtimekit-ui/p-c7ddf9a9.entry.js +1 -0
  646. package/dist/realtimekit-ui/{p-44d69c6b.entry.js → p-c8239122.entry.js} +1 -1
  647. package/dist/realtimekit-ui/p-c8f0b23e.entry.js +1 -0
  648. package/dist/realtimekit-ui/{p-573187b4.entry.js → p-cbbb09a2.entry.js} +1 -1
  649. package/dist/realtimekit-ui/{p-80e51a73.entry.js → p-cbfe61b9.entry.js} +1 -1
  650. package/dist/realtimekit-ui/{p-cc226b51.entry.js → p-cc71c33f.entry.js} +1 -1
  651. package/dist/realtimekit-ui/{p-ad5e9fdb.entry.js → p-cd086077.entry.js} +1 -1
  652. package/dist/realtimekit-ui/{p-6896e819.entry.js → p-cedff249.entry.js} +1 -1
  653. package/dist/realtimekit-ui/p-d107248e.entry.js +1 -0
  654. package/dist/realtimekit-ui/{p-a40cc665.entry.js → p-d10fe6c7.entry.js} +1 -1
  655. package/dist/realtimekit-ui/p-d1256212.entry.js +1 -0
  656. package/dist/realtimekit-ui/p-d24dd330.entry.js +1 -0
  657. package/dist/realtimekit-ui/{p-4b33b435.entry.js → p-d3d4e6de.entry.js} +1 -1
  658. package/dist/realtimekit-ui/p-d432c842.entry.js +1 -0
  659. package/dist/realtimekit-ui/p-d6126ff7.js +1 -0
  660. package/dist/realtimekit-ui/p-d8e64814.entry.js +1 -0
  661. package/dist/realtimekit-ui/{p-d3e520e5.js → p-ddcb6b8b.js} +1 -1
  662. package/dist/realtimekit-ui/{p-4485414e.entry.js → p-de253745.entry.js} +1 -1
  663. package/dist/realtimekit-ui/{p-369648b9.entry.js → p-de2fd3a4.entry.js} +1 -1
  664. package/dist/realtimekit-ui/{p-3dd04263.entry.js → p-e6fc5935.entry.js} +1 -1
  665. package/dist/realtimekit-ui/{p-c8eaa707.js → p-eccb6d78.js} +1 -1
  666. package/dist/realtimekit-ui/p-f1c4d507.entry.js +1 -0
  667. package/dist/realtimekit-ui/{p-fa86682c.entry.js → p-f42001bb.entry.js} +1 -1
  668. package/dist/realtimekit-ui/{p-a0d39ea3.entry.js → p-f423e125.entry.js} +1 -1
  669. package/dist/realtimekit-ui/p-f46787e0.entry.js +1 -0
  670. package/dist/realtimekit-ui/{p-f266302c.entry.js → p-f4e8a0b3.entry.js} +1 -1
  671. package/dist/realtimekit-ui/{p-cd0c5440.js → p-f6fdb3c3.js} +1 -1
  672. package/dist/realtimekit-ui/p-f8089097.entry.js +1 -0
  673. package/dist/realtimekit-ui/p-fc0eb2e6.entry.js +1 -0
  674. package/dist/realtimekit-ui/p-ff86148c.entry.js +1 -0
  675. package/dist/realtimekit-ui/{p-cd56beb7.entry.js → p-ffac36ba.entry.js} +1 -1
  676. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  677. package/dist/types/components/rtk-chat/rtk-chat.d.ts +5 -43
  678. package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +1 -4
  679. package/dist/types/components/rtk-chat-header/rtk-chat-header.d.ts +7 -0
  680. package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +6 -15
  681. package/dist/types/components/rtk-chat-selector/rtk-chat-selector.d.ts +52 -0
  682. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +4 -2
  683. package/dist/types/components/rtk-pinned-message-selector/rtk-pinned-message-selector.d.ts +40 -0
  684. package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +0 -2
  685. package/dist/types/components.d.ts +186 -498
  686. package/dist/types/lib/icons/default-icon-pack.d.ts +0 -2
  687. package/dist/types/lib/lang/default-language.d.ts +1 -4
  688. package/dist/types/lib/overrides.d.ts +5 -0
  689. package/dist/types/types/props.d.ts +0 -4
  690. package/dist/types/utils/chat.d.ts +1 -3
  691. package/dist/types/utils/flags.d.ts +0 -2
  692. package/package.json +1 -1
  693. package/dist/cjs/index-05554ce6.js +0 -2251
  694. package/dist/cjs/rtk-channel-creator.cjs.entry.js +0 -163
  695. package/dist/cjs/rtk-channel-details.cjs.entry.js +0 -49
  696. package/dist/cjs/rtk-channel-header.cjs.entry.js +0 -83
  697. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +0 -147
  698. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +0 -210
  699. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +0 -290
  700. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +0 -149
  701. package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +0 -99
  702. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +0 -330
  703. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +0 -286
  704. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +0 -306
  705. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +0 -341
  706. package/dist/components/p-210862ae.js +0 -736
  707. package/dist/components/p-33e73313.js +0 -85
  708. package/dist/components/p-c3592601.js +0 -1641
  709. package/dist/components/p-c78c26b1.js +0 -203
  710. package/dist/components/rtk-channel-creator.js +0 -214
  711. package/dist/components/rtk-channel-details.d.ts +0 -11
  712. package/dist/components/rtk-channel-details.js +0 -6
  713. package/dist/components/rtk-channel-header.js +0 -151
  714. package/dist/components/rtk-channel-selector-ui.d.ts +0 -11
  715. package/dist/components/rtk-channel-selector-ui.js +0 -194
  716. package/dist/components/rtk-channel-selector-view.d.ts +0 -11
  717. package/dist/components/rtk-channel-selector-view.js +0 -6
  718. package/dist/esm/index-c1fb98bb.js +0 -2218
  719. package/dist/esm/rtk-channel-creator.entry.js +0 -159
  720. package/dist/esm/rtk-channel-details.entry.js +0 -45
  721. package/dist/esm/rtk-channel-header.entry.js +0 -79
  722. package/dist/esm/rtk-channel-selector-ui.entry.js +0 -143
  723. package/dist/realtimekit-ui/p-0ee570cd.js +0 -2
  724. package/dist/realtimekit-ui/p-1462cbd9.entry.js +0 -1
  725. package/dist/realtimekit-ui/p-1669c53d.entry.js +0 -1
  726. package/dist/realtimekit-ui/p-21d4bb9c.entry.js +0 -1
  727. package/dist/realtimekit-ui/p-25c4d10f.js +0 -1
  728. package/dist/realtimekit-ui/p-2b054928.entry.js +0 -1
  729. package/dist/realtimekit-ui/p-322957ed.entry.js +0 -1
  730. package/dist/realtimekit-ui/p-3f4120cc.entry.js +0 -1
  731. package/dist/realtimekit-ui/p-43530cd3.entry.js +0 -1
  732. package/dist/realtimekit-ui/p-44531a97.entry.js +0 -1
  733. package/dist/realtimekit-ui/p-45f90b95.js +0 -1
  734. package/dist/realtimekit-ui/p-48c87789.entry.js +0 -1
  735. package/dist/realtimekit-ui/p-4b638184.entry.js +0 -1
  736. package/dist/realtimekit-ui/p-53680d55.entry.js +0 -1
  737. package/dist/realtimekit-ui/p-54a88fdf.entry.js +0 -1
  738. package/dist/realtimekit-ui/p-5892c1e0.entry.js +0 -1
  739. package/dist/realtimekit-ui/p-5b2d97fc.js +0 -1
  740. package/dist/realtimekit-ui/p-612a8d25.entry.js +0 -1
  741. package/dist/realtimekit-ui/p-639601b7.entry.js +0 -1
  742. package/dist/realtimekit-ui/p-64206b62.entry.js +0 -1
  743. package/dist/realtimekit-ui/p-67ead213.entry.js +0 -1
  744. package/dist/realtimekit-ui/p-685adc5f.entry.js +0 -1
  745. package/dist/realtimekit-ui/p-701cdf1b.entry.js +0 -1
  746. package/dist/realtimekit-ui/p-7108d1cd.entry.js +0 -1
  747. package/dist/realtimekit-ui/p-75f53ae6.entry.js +0 -1
  748. package/dist/realtimekit-ui/p-7a9a226e.entry.js +0 -1
  749. package/dist/realtimekit-ui/p-820dad23.entry.js +0 -1
  750. package/dist/realtimekit-ui/p-85b45c3b.entry.js +0 -1
  751. package/dist/realtimekit-ui/p-95fb25d6.entry.js +0 -1
  752. package/dist/realtimekit-ui/p-a5900df2.js +0 -1
  753. package/dist/realtimekit-ui/p-a680da64.entry.js +0 -1
  754. package/dist/realtimekit-ui/p-a9190330.entry.js +0 -1
  755. package/dist/realtimekit-ui/p-ac6c8ebe.entry.js +0 -1
  756. package/dist/realtimekit-ui/p-b25f7d7b.entry.js +0 -1
  757. package/dist/realtimekit-ui/p-b51e813e.entry.js +0 -1
  758. package/dist/realtimekit-ui/p-be03944b.entry.js +0 -1
  759. package/dist/realtimekit-ui/p-bf717b8c.entry.js +0 -1
  760. package/dist/realtimekit-ui/p-cda276d6.entry.js +0 -1
  761. package/dist/realtimekit-ui/p-d880fb69.entry.js +0 -1
  762. package/dist/realtimekit-ui/p-e5b426fa.entry.js +0 -1
  763. package/dist/realtimekit-ui/p-ec5ed8a4.entry.js +0 -1
  764. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +0 -37
  765. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +0 -16
  766. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +0 -32
  767. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +0 -35
  768. package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +0 -62
@@ -1 +1 @@
1
- import{r as t,h as r,H as o}from"./p-0ee570cd.js";import{e as a}from"./p-25c4d10f.js";import{S as i}from"./p-9b550ec4.js";const e=class{constructor(r){t(this,r),this.variant="button",this.showWarning=!1,this.disabled=!1,this.iconPack=a,this.brandIcon=!1}render(){return r(o,{key:"90cbc7f04dd7975ef7331aace992aeadd1fdba52"},r("button",{key:"36ea971cf7d69742346dd6a65b41ef57def59a40","aria-label":this.label,part:"button"},this.isLoading?r("rtk-spinner",{id:"icon",part:"spinner",iconPack:this.iconPack}):r("rtk-icon",{id:"icon",icon:this.icon,tabIndex:-1,"aria-hidden":!0,part:"icon"}),r("span",{key:"83dda2888c01eec119c1cc21921a682cc2111307",class:"label",part:"label"},this.label),this.showWarning&&r("rtk-icon",{key:"abddcd4d3c81f7ba09cc4595c98cb55c76d678ad",id:"warning-indicator",icon:this.iconPack.warning,part:"warning-indicator"})))}static get delegatesFocus(){return!0}};(function(t,r,o,a){var i,e=arguments.length,n=e<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,r,o,a);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(n=(e<3?i(n):e>3?i(r,o,n):i(r,o))||n);e>3&&n&&Object.defineProperty(r,o,n)})([i()],e.prototype,"iconPack",void 0),e.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{--background-color:var(\n --rtk-controlbar-button-background-color,\n rgb(var(--rtk-colors-background-1000, 8 8 8))\n );--icon-size:var(--rtk-controlbar-button-icon-size, var(--rtk-space-7, 28px));position:relative;box-sizing:border-box;display:inline-flex;height:100%;width:auto;min-width:var(--rtk-space-20, 80px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;color:rgb(var(--rtk-colors-text-1000, 255 255 255));background-color:var(--background-color)}button{padding:var(--rtk-space-1, 4px)}:host(.red-icon) #icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([disabled]){color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}button{box-sizing:border-box;display:inline-flex;height:100%;width:100%;flex:1 1 0%;flex-direction:column;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-1, 4px);align-items:center;justify-content:center;cursor:pointer;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:inherit;outline-offset:-2px;border:var(--rtk-border-width-md, 2px) solid transparent}.label{text-align:center;font-size:12px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}#warning-indicator{position:absolute;top:var(--rtk-space-1, 4px);right:var(--rtk-space-2, 8px);height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}:host([size='sm']) #warning-indicator{right:var(--rtk-space-0, 0px);top:var(--rtk-space-0, 0px);height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}:host(:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}#icon{width:var(--icon-size);height:var(--icon-size)}:host(.leave:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-danger, 255 45 45))}:host(.active) button{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-brand-400, 53 110 253))}button:focus-visible{outline:2px solid rgb(var(--rtk-colors-brand-400, 53 110 253))}:host(.active-livestream){--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']){min-width:var(--rtk-space-14, 56px)}:host([size='sm']) .label{display:none}:host([variant='horizontal']){width:100%}:host([variant='horizontal']) button{border-radius:7px;height:var(--rtk-space-12, 48px);width:100%;padding-left:var(--rtk-space-5, 20px);padding-right:var(--rtk-space-5, 20px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);flex-direction:row;justify-content:flex-start;gap:var(--rtk-space-3, 12px)}:host([variant='horizontal']) #icon{width:var(--rtk-space-6, 24px)}:host([variant='horizontal']) .label{display:block;font-size:14px;line-height:1.25rem}:host([variant='horizontal']) #warning-indicator{right:auto;left:var(--rtk-space-4, 16px)}:host([brand-icon]) rtk-icon#icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host .label{display:none}:slotted(rtk-icon){height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}}";export{e as rtk_controlbar_button}
1
+ import{r as t,h as r,a as o}from"./p-a599f720.js";import{e as a}from"./p-8fc79c56.js";import{S as i}from"./p-315cd380.js";const e=class{constructor(r){t(this,r),this.variant="button",this.showWarning=!1,this.disabled=!1,this.iconPack=a,this.brandIcon=!1}render(){return r(o,{key:"90cbc7f04dd7975ef7331aace992aeadd1fdba52"},r("button",{key:"36ea971cf7d69742346dd6a65b41ef57def59a40","aria-label":this.label,part:"button"},this.isLoading?r("rtk-spinner",{id:"icon",part:"spinner",iconPack:this.iconPack}):r("rtk-icon",{id:"icon",icon:this.icon,tabIndex:-1,"aria-hidden":!0,part:"icon"}),r("span",{key:"83dda2888c01eec119c1cc21921a682cc2111307",class:"label",part:"label"},this.label),this.showWarning&&r("rtk-icon",{key:"abddcd4d3c81f7ba09cc4595c98cb55c76d678ad",id:"warning-indicator",icon:this.iconPack.warning,part:"warning-indicator"})))}static get delegatesFocus(){return!0}};(function(t,r,o,a){var i,e=arguments.length,n=e<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,r,o,a);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(n=(e<3?i(n):e>3?i(r,o,n):i(r,o))||n);e>3&&n&&Object.defineProperty(r,o,n)})([i()],e.prototype,"iconPack",void 0),e.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{--background-color:var(\n --rtk-controlbar-button-background-color,\n rgb(var(--rtk-colors-background-1000, 8 8 8))\n );--icon-size:var(--rtk-controlbar-button-icon-size, var(--rtk-space-7, 28px));position:relative;box-sizing:border-box;display:inline-flex;height:100%;width:auto;min-width:var(--rtk-space-20, 80px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;color:rgb(var(--rtk-colors-text-1000, 255 255 255));background-color:var(--background-color)}button{padding:var(--rtk-space-1, 4px)}:host(.red-icon) #icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([disabled]){color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}button{box-sizing:border-box;display:inline-flex;height:100%;width:100%;flex:1 1 0%;flex-direction:column;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-1, 4px);align-items:center;justify-content:center;cursor:pointer;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:inherit;outline-offset:-2px;border:var(--rtk-border-width-md, 2px) solid transparent}.label{text-align:center;font-size:12px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}#warning-indicator{position:absolute;top:var(--rtk-space-1, 4px);right:var(--rtk-space-2, 8px);height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}:host([size='sm']) #warning-indicator{right:var(--rtk-space-0, 0px);top:var(--rtk-space-0, 0px);height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}:host(:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}#icon{width:var(--icon-size);height:var(--icon-size)}:host(.leave:hover) button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-danger, 255 45 45))}:host(.active) button{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));border:var(--rtk-border-width-md, 2px) solid rgb(var(--rtk-colors-brand-400, 53 110 253))}button:focus-visible{outline:2px solid rgb(var(--rtk-colors-brand-400, 53 110 253))}:host(.active-livestream){--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']){min-width:var(--rtk-space-14, 56px)}:host([size='sm']) .label{display:none}:host([variant='horizontal']){width:100%}:host([variant='horizontal']) button{border-radius:7px;height:var(--rtk-space-12, 48px);width:100%;padding-left:var(--rtk-space-5, 20px);padding-right:var(--rtk-space-5, 20px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);flex-direction:row;justify-content:flex-start;gap:var(--rtk-space-3, 12px)}:host([variant='horizontal']) #icon{width:var(--rtk-space-6, 24px)}:host([variant='horizontal']) .label{display:block;font-size:14px;line-height:1.25rem}:host([variant='horizontal']) #warning-indicator{right:auto;left:var(--rtk-space-4, 16px)}:host([brand-icon]) rtk-icon#icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host .label{display:none}:slotted(rtk-icon){height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}}";export{e as rtk_controlbar_button}
@@ -0,0 +1 @@
1
+ import{r,d as t,h as o,a}from"./p-a599f720.js";import{e,i as s}from"./p-8fc79c56.js";import{g as c}from"./p-b5e5e206.js";import{S as i}from"./p-315cd380.js";var n=function(r,t,o,a){var e,s=arguments.length,c=s<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(r,t,o,a);else for(var i=r.length-1;i>=0;i--)(e=r[i])&&(c=(s<3?e(c):s>3?e(t,o,c):e(t,o))||c);return s>3&&c&&Object.defineProperty(t,o,c),c};const p=class{constructor(o){r(this,o),this.groupChanged=t(this,"rtkChatGroupChanged",7),this.unreadCounts={},this.groups=[],this.iconPack=e,this.t=s(),this.showParticipantsPanel=!1,this.query="",this.onScopeClick=r=>{this.showParticipantsPanel=!1,this.groupChanged.emit(r)}}toggleParticipants(){this.showParticipantsPanel=!this.showParticipantsPanel}getGroups(){return this.groups.filter((r=>r.name.toLowerCase().includes(this.query.toLowerCase())))}getName(){if(!this.selectedGroupId||"everyone"===this.selectedGroupId)return this.t("everyone");const r=this.groups.find((r=>r.userId===this.selectedGroupId));return r?r.name:this.t("everyone")}render(){const r=Object.keys(this.unreadCounts).reduce(((r,t)=>r+this.unreadCounts[t]),0);return o(a,null,o("div",{class:"chat-scope-selector"},this.showParticipantsPanel&&o("div",{class:"participants-container"},o("div",{class:"search",part:"search"},o("rtk-icon",{icon:this.iconPack.search,part:"search-icon"}),o("input",{type:"search",autocomplete:"off",placeholder:this.t("search"),value:this.query,onInput:r=>{this.query=r.target.value},part:"search-input"})),o("ul",{class:"scope-list scrollbar"},""===this.query&&o("li",{class:"scope scope-special",onClick:()=>this.onScopeClick("everyone")},o("div",{class:"everyone-icon"},o("rtk-icon",{icon:this.iconPack.participants})),this.t("everyone"),this.unreadCounts.everyone>0&&o("div",{class:"unread-count",part:"unread-count"},o("span",null,this.unreadCounts.everyone))),this.getGroups().map((r=>{const t=this.unreadCounts[c([this.selfUserId,r.userId])];return o("li",{class:"scope",onClick:()=>this.onScopeClick(r),key:r.userId},r.name,t>0&&o("div",{class:"unread-count",part:"unread-count"},o("span",null,t)))})))),o("button",{onClick:()=>this.toggleParticipants()},o("span",null,`${this.t("to")} ${this.getName()}`," ",r>0&&o("div",{class:"unread-count selector"},o("span",null,r))),o("rtk-icon",{icon:this.showParticipantsPanel?this.iconPack.chevron_up:this.iconPack.chevron_down}))))}};n([i()],p.prototype,"iconPack",void 0),n([i()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;flex-direction:column}.chat-scope-selector{position:relative;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));z-index:10}.chat-scope-selector button{width:100%;border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-4, 16px);display:flex;align-items:center;justify-content:space-between;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-size:14px;cursor:pointer;height:var(--rtk-space-12, 48px)}.chat-scope-selector button span{display:flex;align-items:center;justify-content:flex-start}.chat-scope-selector button rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.chat-scope-selector .search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-0, 0px)}.chat-scope-selector .search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.chat-scope-selector .search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.chat-scope-selector .search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .participants-container{position:absolute;width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));top:var(--rtk-space-12, 48px);animation:0.3s slide-down ease}@keyframes slide-down{from{transform:translateY(-50px)}to{transform:translateY(0%)}}.chat-scope-selector .scope-list{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);list-style-type:none;padding-left:var(--rtk-space-0, 0px);padding-right:var(--rtk-space-0, 0px);overflow:auto;max-height:375px}.chat-scope-selector .scope-list .scope{position:relative;display:flex;flex-direction:row;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px)}.chat-scope-selector .scope-list .scope:hover{cursor:pointer;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.chat-scope-selector .scope-list .scope-special{margin-top:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat-scope-selector .scope-list .everyone-icon>rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.chat-scope-selector .scope-list .everyone-icon{display:flex;height:100%;width:100%;align-items:center;justify-content:center;margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px}.unread-count.selector{position:unset;margin-left:var(--rtk-space-2, 8px)}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}rtk-avatar{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px)}";export{p as rtk_chat_selector_ui}
@@ -1 +1 @@
1
- import{r as i,h as t,H as s,a as e}from"./p-0ee570cd.js";import{c as h,e as a,i as d}from"./p-25c4d10f.js";import{d as r}from"./p-b13ddb7d.js";import{R as o}from"./p-c8eaa707.js";import{S as m}from"./p-9b550ec4.js";var c=function(i,t,s,e){var h,a=arguments.length,d=a<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(i,t,s,e);else for(var r=i.length-1;r>=0;r--)(h=i[r])&&(d=(a<3?h(d):a>3?h(t,s,d):h(t,s))||d);return a>3&&d&&Object.defineProperty(t,s,d),d};const f=class{constructor(t){i(this,t),this.layout="row",this.participants=[],this.pinnedParticipants=[],this.aspectRatio="16:9",this.gap=8,this.config=h(),this.iconPack=a,this.t=d(),this.gridSize=r,this.getAdaptiveSize=i=>"sm"===this.size||i>3||"md"===this.size?"sm":"md"}render(){const i={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},e=this.participants.filter((i=>this.pinnedParticipants.some((t=>t.id!=i.id))));return t(s,{key:"3e5596fe72e5df7684bfc51df9df3171358d094a"},t("main",{key:"8c00ae24704582f775042399624a0274c9384d0c",part:"main"},t(o,{key:"c5a06e7aff1aba7f4120acccf8e6e45d3267fccc",element:"rtk-simple-grid",defaults:i,props:{part:"main-grid",participants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(this.pinnedParticipants.length)}})),e.length>0&&t("aside",{key:"24bafede04344ea964cf667c5ba90f6fe52d1962",part:"aside",class:this.gridSize.spotlight?`grid-width-${this.gridSize.spotlight}`:"grid-width-md"},t(o,{key:"2328434d5f2a309e27c4af59d863e3122ec9fbc9",element:"rtk-simple-grid",defaults:i,props:{part:"aside-grid",participants:e,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(e.length)}})))}get host(){return e(this)}};c([m()],f.prototype,"meeting",void 0),c([m()],f.prototype,"states",void 0),c([m()],f.prototype,"config",void 0),c([m()],f.prototype,"iconPack",void 0),c([m()],f.prototype,"t",void 0),f.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:100%;width:100%}main{flex:1 1 0%}.grid-width-sm{width:25%}.grid-width-md{width:50%}.grid-width-lg{width:66.666667%}:host([size='sm']),:host([size='md']){flex-direction:column}:host([size='md']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='md']) .grid-width-sm{height:25%}:host([size='md']) .grid-width-md{height:50%}:host([size='md']) .grid-width-lg{height:66.666667%}:host([size='sm']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='sm']) .grid-width-sm,:host([size='sm']) .grid-width-md,:host([size='sm']) .grid-width-lg{height:50%}:host([size='xl']) .grid-width-sm,:host([size='xl']) .grid-width-md,:host([size='xl']) .grid-width-lg{width:400px}:host([layout='column']){flex-direction:column}:host([layout='column']) main{flex:4}:host([layout='column']) aside{flex:2;max-width:100%;width:100%}";export{f as rtk_spotlight_grid}
1
+ import{r as i,h as t,a as s,g as e}from"./p-a599f720.js";import{c as d,e as h,i as a}from"./p-8fc79c56.js";import{d as r}from"./p-b13ddb7d.js";import{R as o}from"./p-eccb6d78.js";import{S as m}from"./p-315cd380.js";var c=function(i,t,s,e){var d,h=arguments.length,a=h<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(i,t,s,e);else for(var r=i.length-1;r>=0;r--)(d=i[r])&&(a=(h<3?d(a):h>3?d(t,s,a):d(t,s))||a);return h>3&&a&&Object.defineProperty(t,s,a),a};const n=class{constructor(t){i(this,t),this.layout="row",this.participants=[],this.pinnedParticipants=[],this.aspectRatio="16:9",this.gap=8,this.config=d(),this.iconPack=h,this.t=a(),this.gridSize=r,this.getAdaptiveSize=i=>"sm"===this.size||i>3||"md"===this.size?"sm":"md"}render(){const i={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},e=this.participants.filter((i=>this.pinnedParticipants.some((t=>t.id!=i.id))));return t(s,{key:"ae7a59ab30389858e0e858e45715703b5ff70a64"},t("main",{key:"c654fa973b878dfedcbf50d4cd721ead7c934823",part:"main"},t(o,{key:"76977fe2c71d9f5bb6fc1db0ea3b0a1fec953342",element:"rtk-simple-grid",defaults:i,props:{part:"main-grid",participants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(this.pinnedParticipants.length)}})),e.length>0&&t("aside",{key:"c4472ba092926b8252309ccb705ab176c9f778d3",part:"aside",class:this.gridSize.spotlight?`grid-width-${this.gridSize.spotlight}`:"grid-width-md"},t(o,{key:"e7b636cc6dd46a7c4b9771070df8531d239fc0c0",element:"rtk-simple-grid",defaults:i,props:{part:"aside-grid",participants:e,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(e.length)}})))}get host(){return e(this)}};c([m()],n.prototype,"meeting",void 0),c([m()],n.prototype,"states",void 0),c([m()],n.prototype,"config",void 0),c([m()],n.prototype,"iconPack",void 0),c([m()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:100%;width:100%}main{flex:1 1 0%}.grid-width-sm{width:25%}.grid-width-md{width:50%}.grid-width-lg{width:66.666667%}:host([size='sm']),:host([size='md']){flex-direction:column}:host([size='md']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='md']) .grid-width-sm{height:25%}:host([size='md']) .grid-width-md{height:50%}:host([size='md']) .grid-width-lg{height:66.666667%}:host([size='sm']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='sm']) .grid-width-sm,:host([size='sm']) .grid-width-md,:host([size='sm']) .grid-width-lg{height:50%}:host([size='xl']) .grid-width-sm,:host([size='xl']) .grid-width-md,:host([size='xl']) .grid-width-lg{width:400px}:host([layout='column']){flex-direction:column}:host([layout='column']) main{flex:4}:host([layout='column']) aside{flex:2;max-width:100%;width:100%}";export{n as rtk_spotlight_grid}
@@ -1 +1 @@
1
- import{r as t,h as r,H as i}from"./p-0ee570cd.js";import{e as a,i as o}from"./p-25c4d10f.js";import{S as s}from"./p-9b550ec4.js";import{d as e}from"./p-cbdd7a99.js";var n=function(t,r,i,a){var o,s=arguments.length,e=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(e=(s<3?o(e):s>3?o(r,i,e):o(r,i))||e);return s>3&&e&&Object.defineProperty(r,i,e),e};const c=class{constructor(r){t(this,r),this.variant="rounded",this.iconPack=a,this.t=o(),this.page=1,this.pageCount=0,this.activeCount=0,this.activeComputedCount=0,this.showPagination=!1,this.onPageChanged=({currentPage:t,pageCount:r})=>{this.pageCount=r,this.page=t},this.toggleGridPagination=e((()=>{var t;const{self:r,participants:i}=this.meeting,{mobile:a,desktop:o}=null===(t=r.config)||void 0===t?void 0:t.maxVideoStreams,s="sm"===this.size?a:o,e=i.joined.toArray().filter((t=>"ON_STAGE"===t.stageStatus)).length;this.showPagination=!(e<s)}),50),this.onParticipantJoin=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onParticipantLeave=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onStateStatusUpdate=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.prevPage=()=>{if(!this.meeting)return;const{participants:t}=this.meeting;this.page>1?t.setPage(this.page-=1):"PAGINATED"===t.viewMode&&t.setViewMode("ACTIVE_GRID")},this.nextPage=()=>{if(!this.meeting)return;const{participants:t}=this.meeting;this.page>0&&this.page<this.pageCount?t.setPage(this.page+=1):t.count>0&&0===this.pageCount&&t.setViewMode("PAGINATED")}}connectedCallback(){this.meetingChanged(this.meeting),this.sizeChanged()}disconnectedCallback(){if(!this.meeting)return;const{participants:t,stage:r}=this.meeting;t.removeListener("pageChanged",this.onPageChanged),t.removeListener("viewModeChanged",this.onPageChanged),t.joined.removeListener("participantJoined",this.onParticipantJoin),t.joined.removeListener("participantLeft",this.onParticipantLeave),t.joined.removeListener("stageStatusUpdate",this.onStateStatusUpdate),r.removeListener("stageStatusUpdate",this.onStateStatusUpdate)}meetingChanged(t){if(null!=t){const{stage:r,participants:i}=t;this.page=i.currentPage,this.pageCount=i.pageCount,i.addListener("viewModeChanged",this.onPageChanged),i.addListener("pageChanged",this.onPageChanged),i.joined.addListener("participantJoined",this.onParticipantJoin),i.joined.addListener("participantLeft",this.onParticipantLeave),i.joined.addListener("stageStatusUpdate",this.onStateStatusUpdate),r.addListener("stageStatusUpdate",this.onStateStatusUpdate),this.activeCount=this.meeting.participants.joined.size,this.activeComputedCount=this.meeting.participants.joined.size,this.toggleGridPagination()}}sizeChanged(){this.toggleGridPagination()}render(){if(!this.meeting)return null;const{meta:t}=this.meeting;return"AUDIO_ROOM"!==(null==t?void 0:t.viewType)&&this.showPagination?r(i,null,r("rtk-button",{class:"prev",variant:"secondary",kind:"icon",disabled:0===this.pageCount,onClick:this.prevPage,"aria-label":this.t("page.prev")},r("rtk-icon",{icon:this.iconPack.chevron_left})),"grid"!==this.variant&&r("div",{class:"center"},r("span",{class:"page"},0===this.pageCount?r("rtk-tooltip",{label:this.t("layout.auto")},r("rtk-button",{kind:"icon",class:"auto"},r("rtk-icon",{icon:this.iconPack.wand}))):this.page),0!==this.pageCount&&[r("span",{class:"slash"},"/"),r("span",{class:"pages"},this.pageCount)]),"grid"===this.variant&&this.pageCount>0&&r("div",{class:"dots"},[...Array(this.pageCount)].map(((t,i)=>r("div",{key:`dot-${i}`,class:{dot:!0,active:i+1===this.page}})))),r("rtk-button",{class:"next",variant:"secondary",kind:"icon",disabled:0!==this.page&&this.page===this.pageCount,onClick:this.nextPage,"aria-label":this.t("page.next")},r("rtk-icon",{icon:this.iconPack.chevron_right,tabIndex:-1,"aria-hidden":!0}))):r(i,{"data-hidden":!0})}static get watchers(){return{meeting:["meetingChanged"],size:["sizeChanged"]}}};n([s()],c.prototype,"meeting",void 0),n([s()],c.prototype,"states",void 0),n([s()],c.prototype,"iconPack",void 0),n([s()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;font-size:16px}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}:host([size='sm']) .center{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px)}:host([size='sm']) rtk-button{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}:host([size='sm']) rtk-button rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}rtk-button{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.center{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.center .page{color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.center .slash{margin-left:var(--rtk-space-0\\.5, 2px);margin-right:var(--rtk-space-0\\.5, 2px)}.center .pages{align-self:flex-end;font-size:12px}:host([variant='rounded']){overflow:hidden;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host([variant='rounded']) rtk-button{border-radius:9999px;border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}:host([variant='rounded']) rtk-button:not([disabled]):hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='rounded']) rtk-button:not([disabled]):focus{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='grid']) rtk-button{position:absolute;top:50%;height:var(--rtk-space-20, 80px);width:var(--rtk-space-20, 80px);opacity:0.2;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}:host([variant='grid']) rtk-button:hover{opacity:1}:host([variant='grid']) rtk-button{transform:translateY(-50%)}:host([variant='grid']) rtk-button.prev{left:var(--rtk-space-0, 0px);border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host([variant='grid']) rtk-button.next{right:var(--rtk-space-0, 0px);border-top-left-radius:9999px;border-bottom-left-radius:9999px}:host([variant='grid']) rtk-button.auto{left:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host([variant='grid']) .dots{position:absolute;left:50%;bottom:var(--rtk-space-3, 12px);display:flex;align-items:center;transform:translateX(-50%)}:host([variant='grid']) .dots .dot{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-2, 8px);width:var(--rtk-space-2, 8px);cursor:pointer;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([variant='grid']) .dots .dot:last-child{margin-right:var(--rtk-space-0, 0px)}:host([variant='grid']) .dots .dot.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host([variant='grid'][size='sm']) rtk-button{height:var(--rtk-space-14, 56px);width:var(--rtk-space-14, 56px);opacity:0.1}";export{c as rtk_grid_pagination}
1
+ import{r as t,h as r,a as i}from"./p-a599f720.js";import{e as a,i as s}from"./p-8fc79c56.js";import{S as o}from"./p-315cd380.js";import{d as e}from"./p-cbdd7a99.js";var n=function(t,r,i,a){var s,o=arguments.length,e=o<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(e=(o<3?s(e):o>3?s(r,i,e):s(r,i))||e);return o>3&&e&&Object.defineProperty(r,i,e),e};const c=class{constructor(r){t(this,r),this.variant="rounded",this.iconPack=a,this.t=s(),this.page=1,this.pageCount=0,this.activeCount=0,this.activeComputedCount=0,this.showPagination=!1,this.onPageChanged=({currentPage:t,pageCount:r})=>{this.pageCount=r,this.page=t},this.toggleGridPagination=e((()=>{var t;const{self:r,participants:i}=this.meeting,{mobile:a,desktop:s}=null===(t=r.config)||void 0===t?void 0:t.maxVideoStreams,o="sm"===this.size?a:s,e=i.joined.toArray().filter((t=>"ON_STAGE"===t.stageStatus)).length;this.showPagination=!(e<o)}),50),this.onParticipantJoin=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onParticipantLeave=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onStateStatusUpdate=e((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.prevPage=()=>{if(!this.meeting)return;const{participants:t}=this.meeting;this.page>1?t.setPage(this.page-=1):"PAGINATED"===t.viewMode&&t.setViewMode("ACTIVE_GRID")},this.nextPage=()=>{if(!this.meeting)return;const{participants:t}=this.meeting;this.page>0&&this.page<this.pageCount?t.setPage(this.page+=1):t.count>0&&0===this.pageCount&&t.setViewMode("PAGINATED")}}connectedCallback(){this.meetingChanged(this.meeting),this.sizeChanged()}disconnectedCallback(){if(!this.meeting)return;const{participants:t,stage:r}=this.meeting;t.removeListener("pageChanged",this.onPageChanged),t.removeListener("viewModeChanged",this.onPageChanged),t.joined.removeListener("participantJoined",this.onParticipantJoin),t.joined.removeListener("participantLeft",this.onParticipantLeave),t.joined.removeListener("stageStatusUpdate",this.onStateStatusUpdate),r.removeListener("stageStatusUpdate",this.onStateStatusUpdate)}meetingChanged(t){if(null!=t){const{stage:r,participants:i}=t;this.page=i.currentPage,this.pageCount=i.pageCount,i.addListener("viewModeChanged",this.onPageChanged),i.addListener("pageChanged",this.onPageChanged),i.joined.addListener("participantJoined",this.onParticipantJoin),i.joined.addListener("participantLeft",this.onParticipantLeave),i.joined.addListener("stageStatusUpdate",this.onStateStatusUpdate),r.addListener("stageStatusUpdate",this.onStateStatusUpdate),this.activeCount=this.meeting.participants.joined.size,this.activeComputedCount=this.meeting.participants.joined.size,this.toggleGridPagination()}}sizeChanged(){this.toggleGridPagination()}render(){if(!this.meeting)return null;const{meta:t}=this.meeting;return"AUDIO_ROOM"!==(null==t?void 0:t.viewType)&&this.showPagination?r(i,null,r("rtk-button",{class:"prev",variant:"secondary",kind:"icon",disabled:0===this.pageCount,onClick:this.prevPage,"aria-label":this.t("page.prev")},r("rtk-icon",{icon:this.iconPack.chevron_left})),"grid"!==this.variant&&r("div",{class:"center"},r("span",{class:"page"},0===this.pageCount?r("rtk-tooltip",{label:this.t("layout.auto")},r("rtk-button",{kind:"icon",class:"auto"},r("rtk-icon",{icon:this.iconPack.wand}))):this.page),0!==this.pageCount&&[r("span",{class:"slash"},"/"),r("span",{class:"pages"},this.pageCount)]),"grid"===this.variant&&this.pageCount>0&&r("div",{class:"dots"},[...Array(this.pageCount)].map(((t,i)=>r("div",{key:`dot-${i}`,class:{dot:!0,active:i+1===this.page}})))),r("rtk-button",{class:"next",variant:"secondary",kind:"icon",disabled:0!==this.page&&this.page===this.pageCount,onClick:this.nextPage,"aria-label":this.t("page.next")},r("rtk-icon",{icon:this.iconPack.chevron_right,tabIndex:-1,"aria-hidden":!0}))):r(i,{"data-hidden":!0})}static get watchers(){return{meeting:["meetingChanged"],size:["sizeChanged"]}}};n([o()],c.prototype,"meeting",void 0),n([o()],c.prototype,"states",void 0),n([o()],c.prototype,"iconPack",void 0),n([o()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;font-size:16px}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}:host([size='sm']) .center{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px)}:host([size='sm']) rtk-button{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}:host([size='sm']) rtk-button rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}rtk-button{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.center{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.center .page{color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.center .slash{margin-left:var(--rtk-space-0\\.5, 2px);margin-right:var(--rtk-space-0\\.5, 2px)}.center .pages{align-self:flex-end;font-size:12px}:host([variant='rounded']){overflow:hidden;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host([variant='rounded']) rtk-button{border-radius:9999px;border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}:host([variant='rounded']) rtk-button:not([disabled]):hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='rounded']) rtk-button:not([disabled]):focus{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='grid']) rtk-button{position:absolute;top:50%;height:var(--rtk-space-20, 80px);width:var(--rtk-space-20, 80px);opacity:0.2;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}:host([variant='grid']) rtk-button:hover{opacity:1}:host([variant='grid']) rtk-button{transform:translateY(-50%)}:host([variant='grid']) rtk-button.prev{left:var(--rtk-space-0, 0px);border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host([variant='grid']) rtk-button.next{right:var(--rtk-space-0, 0px);border-top-left-radius:9999px;border-bottom-left-radius:9999px}:host([variant='grid']) rtk-button.auto{left:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host([variant='grid']) .dots{position:absolute;left:50%;bottom:var(--rtk-space-3, 12px);display:flex;align-items:center;transform:translateX(-50%)}:host([variant='grid']) .dots .dot{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-2, 8px);width:var(--rtk-space-2, 8px);cursor:pointer;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([variant='grid']) .dots .dot:last-child{margin-right:var(--rtk-space-0, 0px)}:host([variant='grid']) .dots .dot.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host([variant='grid'][size='sm']) rtk-button{height:var(--rtk-space-14, 56px);width:var(--rtk-space-14, 56px);opacity:0.1}";export{c as rtk_grid_pagination}