@cloudflare/realtimekit-ui 1.0.0-staging.8 → 1.0.1

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 (641) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-e9ca06aa.js → TextMessage-87c1e5a0.js} +1 -1
  3. package/dist/cjs/{chat-46e7e4fe.js → chat-6d305b71.js} +1 -1
  4. package/dist/cjs/{config-dba24e25.js → config-9632c81a.js} +4 -4
  5. package/dist/cjs/{index-daae8cee.js → index-49c92728.js} +1 -1
  6. package/dist/cjs/index.cjs.js +4 -5
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{notification-1948ed2f.js → notification-6d70e3a8.js} +3 -8
  9. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  10. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  11. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
  12. package/dist/cjs/rtk-ai.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  15. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +3 -3
  16. package/dist/cjs/rtk-avatar_54.cjs.entry.js +53 -29
  17. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  18. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +4 -4
  19. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  20. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  21. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +4 -4
  22. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  23. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  24. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +3 -3
  25. package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
  26. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +3 -3
  27. package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
  28. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
  29. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  30. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
  31. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  33. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  34. package/dist/cjs/rtk-header.cjs.entry.js +2 -2
  35. package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
  36. package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
  37. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
  38. package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
  39. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  40. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  42. package/dist/cjs/rtk-message-list-view.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  44. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  45. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  47. package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
  48. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  49. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-participant-setup.cjs.entry.js +4 -4
  51. package/dist/cjs/rtk-participant_2.cjs.entry.js +4 -4
  52. package/dist/cjs/rtk-participants-audio.cjs.entry.js +6 -6
  53. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +6 -7
  54. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
  55. package/dist/cjs/rtk-participants.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
  58. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
  59. package/dist/cjs/rtk-plugins_2.cjs.entry.js +6 -6
  60. package/dist/cjs/rtk-poll_2.cjs.entry.js +5 -5
  61. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
  62. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +3 -3
  63. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  64. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +3 -4
  65. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +7 -7
  66. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  67. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
  68. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  69. package/dist/cjs/rtk-setup-screen.cjs.entry.js +7 -6
  70. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  71. package/dist/cjs/rtk-sidebar.cjs.entry.js +3 -3
  72. package/dist/cjs/rtk-simple-grid.cjs.entry.js +3 -3
  73. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +4 -4
  74. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  75. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
  77. package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
  78. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  79. package/dist/cjs/rtk-ui-provider.cjs.entry.js +8 -8
  80. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
  81. package/dist/cjs/{sidebar-a3c87828.js → sidebar-8256d60e.js} +1 -1
  82. package/dist/cjs/{ui-store-3ddce955.js → ui-store-7807fa2a.js} +4 -5
  83. package/dist/collection/components/rtk-ai/rtk-ai.js +1 -1
  84. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +1 -1
  85. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  86. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  87. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +1 -1
  88. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +1 -1
  89. package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
  90. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +1 -1
  91. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +1 -1
  92. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +2 -2
  93. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +2 -2
  94. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +1 -1
  95. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +1 -1
  96. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +1 -1
  97. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +1 -1
  98. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +1 -1
  99. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +1 -1
  100. package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +1 -1
  101. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +1 -1
  102. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +1 -1
  103. package/dist/collection/components/rtk-chat/rtk-chat.js +1 -1
  104. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +1 -1
  105. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +1 -1
  106. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +1 -1
  107. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +1 -1
  108. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +1 -1
  109. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  110. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +1 -1
  111. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +1 -1
  112. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.css +1 -5
  113. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +2 -2
  114. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  115. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.css +1 -0
  116. package/dist/collection/components/rtk-counter/rtk-counter.js +1 -1
  117. package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
  118. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +1 -1
  119. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +1 -1
  120. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +1 -1
  121. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  122. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +1 -1
  123. package/dist/collection/components/rtk-dialog/rtk-dialog.css +12 -41
  124. package/dist/collection/components/rtk-dialog/rtk-dialog.js +17 -2
  125. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +1 -1
  126. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  127. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  128. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  129. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +1 -1
  130. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  131. package/dist/collection/components/rtk-file-message/rtk-file-message.js +1 -1
  132. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  133. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +1 -1
  134. package/dist/collection/components/rtk-grid/rtk-grid.js +1 -1
  135. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
  136. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  137. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  138. package/dist/collection/components/rtk-image-message/rtk-image-message.js +1 -1
  139. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +1 -1
  140. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  141. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
  142. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  143. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +1 -1
  144. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
  145. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
  146. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +1 -1
  147. package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
  148. package/dist/collection/components/rtk-meeting/rtk-meeting.js +6 -6
  149. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +1 -1
  150. package/dist/collection/components/rtk-menu/rtk-menu.js +1 -1
  151. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  152. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  153. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +1 -1
  154. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +1 -1
  155. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +1 -1
  156. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +1 -1
  157. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +1 -1
  158. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  159. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
  160. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +1 -1
  161. package/dist/collection/components/rtk-notification/rtk-notification.css +26 -18
  162. package/dist/collection/components/rtk-notification/rtk-notification.js +35 -5
  163. package/dist/collection/components/rtk-notifications/rtk-notifications.js +5 -3
  164. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +2 -2
  165. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
  166. package/dist/collection/components/rtk-participant/rtk-participant.js +1 -1
  167. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
  168. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +3 -3
  169. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +3 -3
  170. package/dist/collection/components/rtk-participants/rtk-participants.js +1 -1
  171. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +2 -2
  172. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +2 -2
  173. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +4 -5
  174. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +1 -1
  175. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +1 -1
  176. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +1 -1
  177. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +2 -2
  178. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +1 -1
  179. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
  180. package/dist/collection/components/rtk-plugins/rtk-plugins.js +2 -2
  181. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
  182. package/dist/collection/components/rtk-poll/rtk-poll.js +2 -2
  183. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +3 -3
  184. package/dist/collection/components/rtk-polls/rtk-polls.js +4 -4
  185. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +1 -1
  186. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +2 -2
  187. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +1 -1
  188. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +2 -3
  189. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +6 -6
  190. package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
  191. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
  192. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +2 -2
  193. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +1 -1
  194. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +33 -22
  195. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +7 -6
  196. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +1 -1
  197. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +1 -1
  198. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +2 -2
  199. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +1 -1
  200. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  201. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +3 -3
  202. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
  203. package/dist/collection/components/rtk-stage/rtk-stage.js +2 -2
  204. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
  205. package/dist/collection/components/rtk-switch/rtk-switch.js +2 -2
  206. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
  207. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +2 -2
  208. package/dist/collection/components/rtk-text-message/rtk-text-message.js +3 -3
  209. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  210. package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
  211. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
  212. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +7 -7
  213. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
  214. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  215. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +2 -2
  216. package/dist/collection/lib/audio.js +3 -3
  217. package/dist/collection/lib/default-ui-config.js +3 -3
  218. package/dist/collection/lib/lang/default-language.js +1 -2
  219. package/dist/collection/lib/notification.js +2 -7
  220. package/dist/collection/utils/config.js +3 -3
  221. package/dist/components/index.js +5 -5
  222. package/dist/components/{p-0a9d8224.js → p-01788fc5.js} +4 -4
  223. package/dist/components/{p-619a7896.js → p-0daa472f.js} +6 -6
  224. package/dist/components/{p-00b13124.js → p-1174d3f4.js} +14 -14
  225. package/dist/components/{p-3dbc09e4.js → p-14c496c6.js} +5 -5
  226. package/dist/components/{p-0ea515b2.js → p-153e1ac6.js} +4 -4
  227. package/dist/components/{p-eeea40dd.js → p-1590eea9.js} +5 -5
  228. package/dist/components/{p-db1e56e8.js → p-1633eae1.js} +10 -10
  229. package/dist/components/{p-3d845f44.js → p-1cc409c6.js} +3 -3
  230. package/dist/components/{p-4ba64e96.js → p-1d7f3c99.js} +14 -14
  231. package/dist/components/{p-a24309fd.js → p-1f6e5501.js} +4 -4
  232. package/dist/components/{p-10182034.js → p-20c74379.js} +2 -2
  233. package/dist/components/{p-1947c106.js → p-23d64784.js} +4 -4
  234. package/dist/components/{p-4cc0e9a5.js → p-2507c6c8.js} +1 -1
  235. package/dist/components/{p-f682505d.js → p-25738f7b.js} +12 -12
  236. package/dist/components/{p-2f7c0530.js → p-25f625c5.js} +53 -53
  237. package/dist/components/{p-965a4bd9.js → p-273196ec.js} +4 -4
  238. package/dist/components/{p-8ca0d44f.js → p-287eadbd.js} +6 -6
  239. package/dist/components/{p-99b862b5.js → p-2cc196a8.js} +6 -6
  240. package/dist/components/{p-c7dcb441.js → p-2df5f773.js} +2 -2
  241. package/dist/components/{p-4a436e2d.js → p-31f1e8e5.js} +4 -4
  242. package/dist/components/{p-594ed925.js → p-3d5214b4.js} +5 -5
  243. package/dist/components/{p-7d26c3e0.js → p-40a18d12.js} +5 -5
  244. package/dist/components/{p-b12e5011.js → p-519e8701.js} +5 -5
  245. package/dist/components/{p-e4376670.js → p-5597fe9f.js} +8 -8
  246. package/dist/components/{p-0c81aa9c.js → p-5e5c9b53.js} +9 -9
  247. package/dist/components/{p-32d788e7.js → p-60b29ed0.js} +3 -3
  248. package/dist/components/{p-dc23e204.js → p-65da3d17.js} +5 -5
  249. package/dist/components/{p-fe278fba.js → p-65e9c741.js} +3 -3
  250. package/dist/components/{p-10759cad.js → p-6631e984.js} +2 -2
  251. package/dist/components/{p-2ce92a24.js → p-70053efe.js} +7 -7
  252. package/dist/components/{p-664f872d.js → p-77338347.js} +4 -4
  253. package/dist/components/{p-935b5e0f.js → p-778197ec.js} +5 -5
  254. package/dist/components/{p-5ffcbba3.js → p-7916d083.js} +2 -2
  255. package/dist/components/{p-8ceedb7f.js → p-79534847.js} +4 -4
  256. package/dist/components/{p-c11b2f37.js → p-7a1b0433.js} +1 -1
  257. package/dist/components/{p-24ffce5a.js → p-7afb8f24.js} +2 -2
  258. package/dist/components/p-7b5f7b56.js +107 -0
  259. package/dist/components/{p-a478e070.js → p-7d76715d.js} +3 -3
  260. package/dist/components/{p-0eab3933.js → p-7dcce90b.js} +3 -3
  261. package/dist/components/{p-1bf54ab3.js → p-828a11f4.js} +10 -10
  262. package/dist/components/{p-d262b31f.js → p-83a87193.js} +8 -8
  263. package/dist/components/{p-b39c779d.js → p-85665c03.js} +4 -4
  264. package/dist/components/{p-260b86da.js → p-8750e2de.js} +6 -6
  265. package/dist/components/{p-46690510.js → p-8804314e.js} +2 -2
  266. package/dist/components/{p-0e13b6ee.js → p-8eea1b4d.js} +5 -5
  267. package/dist/components/{p-a41e1b94.js → p-9007d4aa.js} +3 -3
  268. package/dist/components/{p-c00de10a.js → p-9140d5c1.js} +10 -11
  269. package/dist/components/{p-4221b28d.js → p-94e8d526.js} +7 -7
  270. package/dist/components/{p-d5791958.js → p-989a34c9.js} +1 -1
  271. package/dist/components/{p-91cb38a3.js → p-98d49c8e.js} +4 -4
  272. package/dist/components/{p-35d6211b.js → p-9b7dc3b2.js} +4 -4
  273. package/dist/components/{p-2973e211.js → p-9e5b47ea.js} +2 -2
  274. package/dist/components/{p-caf8596c.js → p-9f29a2f1.js} +10 -8
  275. package/dist/components/{p-168b17a0.js → p-a09473cb.js} +1 -1
  276. package/dist/components/{p-50ecaaf1.js → p-a575deb5.js} +3 -8
  277. package/dist/components/{p-62a6b783.js → p-a59e060b.js} +2 -2
  278. package/dist/components/{p-e99f574d.js → p-a5d2ac22.js} +25 -25
  279. package/dist/components/{p-2f2fb96d.js → p-a73161da.js} +1 -1
  280. package/dist/components/{p-4608147b.js → p-abdd2a8a.js} +5 -5
  281. package/dist/components/{p-4cedc9e8.js → p-af7aea98.js} +2 -2
  282. package/dist/components/{p-ef376a73.js → p-afc2ce7b.js} +3 -3
  283. package/dist/components/{p-ae239151.js → p-b1030316.js} +2 -2
  284. package/dist/components/{p-8227dcd2.js → p-b1161cb8.js} +3 -3
  285. package/dist/components/{p-87f1e5db.js → p-b5dc3971.js} +6 -6
  286. package/dist/components/{p-d3ca55ba.js → p-ba8208ac.js} +5 -5
  287. package/dist/components/{p-54c8b684.js → p-be584d57.js} +14 -14
  288. package/dist/components/{p-56586bc8.js → p-c173a513.js} +10 -10
  289. package/dist/components/{p-8ca1fe4c.js → p-c226934a.js} +12 -12
  290. package/dist/components/{p-14aafb1d.js → p-c86a0f9e.js} +5 -5
  291. package/dist/components/{p-175b365f.js → p-cac807c5.js} +5 -5
  292. package/dist/components/{p-7373cc7e.js → p-cbc8e449.js} +4 -4
  293. package/dist/components/{p-e2b78972.js → p-cfbb9bd9.js} +4 -4
  294. package/dist/components/{p-e3b59650.js → p-de2175ca.js} +1 -1
  295. package/dist/components/{p-66ff4a1a.js → p-de567bdf.js} +5 -5
  296. package/dist/components/{p-d71db36f.js → p-e9c999f4.js} +5 -5
  297. package/dist/components/{p-4c4025de.js → p-eaa808b7.js} +8 -8
  298. package/dist/components/{p-bd9a0ef8.js → p-ebb19a87.js} +21 -6
  299. package/dist/components/{p-59ea0ce1.js → p-efda30dd.js} +4 -4
  300. package/dist/components/{p-cd66e89b.js → p-f0df8c15.js} +4 -4
  301. package/dist/components/{p-31ce3b90.js → p-f4158e29.js} +2 -2
  302. package/dist/components/{p-135d5d2f.js → p-f634f020.js} +3 -3
  303. package/dist/components/{p-13bf25de.js → p-f77fe02e.js} +6 -6
  304. package/dist/components/{p-0f937441.js → p-fab54b49.js} +4 -4
  305. package/dist/components/{p-00649ab8.js → p-fb31f34b.js} +8 -8
  306. package/dist/components/{p-e6d09c50.js → p-fc4484ae.js} +4 -5
  307. package/dist/components/{p-78444f97.js → p-ff13d28d.js} +7 -7
  308. package/dist/components/{p-b3537ccc.js → p-ff6d9602.js} +4 -4
  309. package/dist/components/rtk-ai-toggle.js +5 -5
  310. package/dist/components/rtk-ai-transcriptions.js +1 -1
  311. package/dist/components/rtk-ai.js +5 -5
  312. package/dist/components/rtk-audio-grid.js +2 -2
  313. package/dist/components/rtk-audio-tile.js +6 -6
  314. package/dist/components/rtk-audio-visualizer.js +1 -1
  315. package/dist/components/rtk-avatar.js +1 -1
  316. package/dist/components/rtk-breakout-room-manager.js +1 -1
  317. package/dist/components/rtk-breakout-room-participants.js +1 -1
  318. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  319. package/dist/components/rtk-breakout-rooms-toggle.js +5 -5
  320. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  321. package/dist/components/rtk-button.js +1 -1
  322. package/dist/components/rtk-camera-selector.js +1 -1
  323. package/dist/components/rtk-camera-toggle.js +6 -6
  324. package/dist/components/rtk-caption-toggle.js +5 -5
  325. package/dist/components/rtk-channel-creator.js +1 -1
  326. package/dist/components/rtk-channel-details.js +1 -1
  327. package/dist/components/rtk-channel-header.js +1 -1
  328. package/dist/components/rtk-channel-selector-ui.js +6 -6
  329. package/dist/components/rtk-channel-selector-view.js +1 -1
  330. package/dist/components/rtk-chat-composer-ui.js +8 -8
  331. package/dist/components/rtk-chat-composer-view.js +1 -1
  332. package/dist/components/rtk-chat-message.js +1 -1
  333. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  334. package/dist/components/rtk-chat-messages-ui.js +1 -1
  335. package/dist/components/rtk-chat-search-results.js +1 -1
  336. package/dist/components/rtk-chat-selector-ui.js +3 -3
  337. package/dist/components/rtk-chat-toggle.js +6 -6
  338. package/dist/components/rtk-chat.js +1 -1
  339. package/dist/components/rtk-clock.js +3 -3
  340. package/dist/components/rtk-confirmation-modal.js +1 -1
  341. package/dist/components/rtk-controlbar-button.js +1 -1
  342. package/dist/components/rtk-controlbar.js +2 -2
  343. package/dist/components/rtk-counter.js +1 -1
  344. package/dist/components/rtk-debugger-audio.js +1 -1
  345. package/dist/components/rtk-debugger-screenshare.js +1 -1
  346. package/dist/components/rtk-debugger-system.js +1 -1
  347. package/dist/components/rtk-debugger-toggle.js +5 -5
  348. package/dist/components/rtk-debugger-video.js +1 -1
  349. package/dist/components/rtk-debugger.js +1 -1
  350. package/dist/components/rtk-dialog-manager.js +1 -1
  351. package/dist/components/rtk-dialog.js +1 -1
  352. package/dist/components/rtk-draft-attachment-view.js +1 -1
  353. package/dist/components/rtk-emoji-picker-button.js +1 -1
  354. package/dist/components/rtk-emoji-picker.js +1 -1
  355. package/dist/components/rtk-ended-screen.js +4 -4
  356. package/dist/components/rtk-file-dropzone.js +3 -3
  357. package/dist/components/rtk-file-message-view.js +1 -1
  358. package/dist/components/rtk-file-message.js +1 -1
  359. package/dist/components/rtk-file-picker-button.js +1 -1
  360. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  361. package/dist/components/rtk-grid-pagination.js +5 -5
  362. package/dist/components/rtk-grid.js +10 -10
  363. package/dist/components/rtk-header.js +2 -2
  364. package/dist/components/rtk-icon.js +1 -1
  365. package/dist/components/rtk-idle-screen.js +5 -5
  366. package/dist/components/rtk-image-message-view.js +1 -1
  367. package/dist/components/rtk-image-message.js +1 -1
  368. package/dist/components/rtk-image-viewer.js +4 -4
  369. package/dist/components/rtk-information-tooltip.js +3 -3
  370. package/dist/components/rtk-join-stage.js +1 -1
  371. package/dist/components/rtk-leave-button.js +5 -5
  372. package/dist/components/rtk-leave-meeting.js +1 -1
  373. package/dist/components/rtk-livestream-indicator.js +1 -1
  374. package/dist/components/rtk-livestream-player.js +1 -1
  375. package/dist/components/rtk-livestream-toggle.js +5 -5
  376. package/dist/components/rtk-logo.js +1 -1
  377. package/dist/components/rtk-meeting-title.js +3 -3
  378. package/dist/components/rtk-meeting.js +60 -60
  379. package/dist/components/rtk-menu-item.js +1 -1
  380. package/dist/components/rtk-menu-list.js +1 -1
  381. package/dist/components/rtk-menu.js +1 -1
  382. package/dist/components/rtk-message-list-view.js +4 -4
  383. package/dist/components/rtk-message-view.js +1 -1
  384. package/dist/components/rtk-mic-toggle.js +6 -6
  385. package/dist/components/rtk-microphone-selector.js +1 -1
  386. package/dist/components/rtk-mixed-grid.js +8 -8
  387. package/dist/components/rtk-more-toggle.js +5 -5
  388. package/dist/components/rtk-mute-all-button.js +6 -6
  389. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  390. package/dist/components/rtk-name-tag.js +1 -1
  391. package/dist/components/rtk-network-indicator.js +3 -3
  392. package/dist/components/rtk-notification.js +1 -1
  393. package/dist/components/rtk-notifications.js +1 -1
  394. package/dist/components/rtk-overlay-modal.js +1 -1
  395. package/dist/components/rtk-paginated-list.js +1 -1
  396. package/dist/components/rtk-participant-count.js +3 -3
  397. package/dist/components/rtk-participant-setup.js +4 -4
  398. package/dist/components/rtk-participant-tile.js +1 -1
  399. package/dist/components/rtk-participant.js +1 -1
  400. package/dist/components/rtk-participants-audio.js +9 -9
  401. package/dist/components/rtk-participants-stage-list.js +1 -1
  402. package/dist/components/rtk-participants-stage-queue.js +1 -1
  403. package/dist/components/rtk-participants-toggle.js +6 -6
  404. package/dist/components/rtk-participants-viewer-list.js +1 -1
  405. package/dist/components/rtk-participants-waiting-list.js +1 -1
  406. package/dist/components/rtk-participants.js +16 -16
  407. package/dist/components/rtk-permissions-message.js +1 -1
  408. package/dist/components/rtk-pip-toggle.js +5 -5
  409. package/dist/components/rtk-plugin-main.js +1 -1
  410. package/dist/components/rtk-plugins-toggle.js +6 -6
  411. package/dist/components/rtk-plugins.js +1 -1
  412. package/dist/components/rtk-poll-form.js +1 -1
  413. package/dist/components/rtk-poll.js +1 -1
  414. package/dist/components/rtk-polls-toggle.js +6 -6
  415. package/dist/components/rtk-polls.js +1 -1
  416. package/dist/components/rtk-recording-indicator.js +4 -4
  417. package/dist/components/rtk-recording-toggle.js +5 -5
  418. package/dist/components/rtk-screen-share-toggle.js +7 -8
  419. package/dist/components/rtk-screenshare-view.js +10 -10
  420. package/dist/components/rtk-settings-audio.js +1 -1
  421. package/dist/components/rtk-settings-toggle.js +6 -6
  422. package/dist/components/rtk-settings-video.js +1 -1
  423. package/dist/components/rtk-settings.js +12 -12
  424. package/dist/components/rtk-setup-screen.js +14 -13
  425. package/dist/components/rtk-sidebar-ui.js +1 -1
  426. package/dist/components/rtk-sidebar.js +11 -11
  427. package/dist/components/rtk-simple-grid.js +3 -3
  428. package/dist/components/rtk-speaker-selector.js +1 -1
  429. package/dist/components/rtk-spinner.js +1 -1
  430. package/dist/components/rtk-spotlight-grid.js +4 -4
  431. package/dist/components/rtk-spotlight-indicator.js +1 -1
  432. package/dist/components/rtk-stage-toggle.js +6 -6
  433. package/dist/components/rtk-stage.js +3 -3
  434. package/dist/components/rtk-switch.js +1 -1
  435. package/dist/components/rtk-tab-bar.js +1 -1
  436. package/dist/components/rtk-text-composer-view.js +1 -1
  437. package/dist/components/rtk-text-message-view.js +1 -1
  438. package/dist/components/rtk-text-message.js +1 -1
  439. package/dist/components/rtk-tooltip.js +1 -1
  440. package/dist/components/rtk-transcript.js +1 -1
  441. package/dist/components/rtk-transcripts.js +3 -3
  442. package/dist/components/rtk-ui-provider.js +8 -8
  443. package/dist/components/rtk-viewer-count.js +1 -1
  444. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  445. package/dist/components/rtk-waiting-screen.js +4 -4
  446. package/dist/docs/docs-components.json +278 -755
  447. package/dist/docs/docs-vscode.json +4 -0
  448. package/dist/esm/{TextMessage-efd224db.js → TextMessage-3e08c5e1.js} +1 -1
  449. package/dist/esm/{chat-c25836b0.js → chat-927074dc.js} +1 -1
  450. package/dist/esm/{config-1ca1ba30.js → config-407ad80b.js} +4 -4
  451. package/dist/esm/{index-6aaa85ca.js → index-3481d5b2.js} +1 -1
  452. package/dist/esm/index.js +6 -7
  453. package/dist/esm/loader.js +105 -86
  454. package/dist/esm/{notification-800f2bcd.js → notification-2ab22a76.js} +3 -8
  455. package/dist/esm/realtimekit-ui.js +1 -1
  456. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  457. package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
  458. package/dist/esm/rtk-ai.entry.js +2 -2
  459. package/dist/esm/rtk-audio-grid.entry.js +2 -2
  460. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  461. package/dist/esm/rtk-audio-visualizer_4.entry.js +3 -3
  462. package/dist/esm/rtk-avatar_54.entry.js +53 -29
  463. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  464. package/dist/esm/rtk-camera-selector_2.entry.js +4 -4
  465. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  466. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  467. package/dist/esm/rtk-channel-selector-ui.entry.js +4 -4
  468. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  469. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  470. package/dist/esm/rtk-chat-toggle.entry.js +3 -3
  471. package/dist/esm/rtk-clock.entry.js +2 -2
  472. package/dist/esm/rtk-controlbar-button.entry.js +3 -3
  473. package/dist/esm/rtk-controlbar.entry.js +2 -2
  474. package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
  475. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  476. package/dist/esm/rtk-file-dropzone.entry.js +2 -2
  477. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  478. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  479. package/dist/esm/rtk-grid.entry.js +2 -2
  480. package/dist/esm/rtk-header.entry.js +2 -2
  481. package/dist/esm/rtk-idle-screen.entry.js +2 -2
  482. package/dist/esm/rtk-image-viewer.entry.js +2 -2
  483. package/dist/esm/rtk-information-tooltip.entry.js +2 -2
  484. package/dist/esm/rtk-leave-button.entry.js +2 -2
  485. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  486. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  487. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  488. package/dist/esm/rtk-message-list-view.entry.js +2 -2
  489. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  490. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  491. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  492. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  493. package/dist/esm/rtk-name-tag.entry.js +2 -2
  494. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  495. package/dist/esm/rtk-participant-count.entry.js +2 -2
  496. package/dist/esm/rtk-participant-setup.entry.js +4 -4
  497. package/dist/esm/rtk-participant_2.entry.js +4 -4
  498. package/dist/esm/rtk-participants-audio.entry.js +6 -6
  499. package/dist/esm/rtk-participants-stage-list_4.entry.js +6 -7
  500. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  501. package/dist/esm/rtk-participants.entry.js +2 -2
  502. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  503. package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
  504. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  505. package/dist/esm/rtk-plugins_2.entry.js +6 -6
  506. package/dist/esm/rtk-poll_2.entry.js +5 -5
  507. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  508. package/dist/esm/rtk-recording-indicator.entry.js +3 -3
  509. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  510. package/dist/esm/rtk-screen-share-toggle.entry.js +3 -4
  511. package/dist/esm/rtk-screenshare-view.entry.js +7 -7
  512. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  513. package/dist/esm/rtk-settings-toggle.entry.js +3 -3
  514. package/dist/esm/rtk-settings.entry.js +2 -2
  515. package/dist/esm/rtk-setup-screen.entry.js +8 -7
  516. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  517. package/dist/esm/rtk-sidebar.entry.js +3 -3
  518. package/dist/esm/rtk-simple-grid.entry.js +3 -3
  519. package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
  520. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  521. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  522. package/dist/esm/rtk-stage.entry.js +3 -3
  523. package/dist/esm/rtk-transcript.entry.js +3 -3
  524. package/dist/esm/rtk-transcripts.entry.js +2 -2
  525. package/dist/esm/rtk-ui-provider.entry.js +8 -8
  526. package/dist/esm/rtk-waiting-screen.entry.js +3 -3
  527. package/dist/esm/{sidebar-cafaa8d3.js → sidebar-50d89918.js} +1 -1
  528. package/dist/esm/{ui-store-b453cdf2.js → ui-store-1b477153.js} +4 -5
  529. package/dist/realtimekit-ui/index.esm.js +1 -1
  530. package/dist/realtimekit-ui/{p-9946b484.entry.js → p-0215809e.entry.js} +1 -1
  531. package/dist/realtimekit-ui/{p-9ff45356.entry.js → p-076d6fb1.entry.js} +1 -1
  532. package/dist/realtimekit-ui/{p-6c238609.entry.js → p-0787a8a4.entry.js} +1 -1
  533. package/dist/realtimekit-ui/{p-8fe6b03c.entry.js → p-0b8b849b.entry.js} +1 -1
  534. package/dist/realtimekit-ui/p-0df0bc3b.entry.js +1 -0
  535. package/dist/realtimekit-ui/{p-0d4db84d.entry.js → p-0f91e886.entry.js} +1 -1
  536. package/dist/realtimekit-ui/{p-3611c234.entry.js → p-11a81411.entry.js} +1 -1
  537. package/dist/realtimekit-ui/{p-560c3d93.entry.js → p-14284891.entry.js} +1 -1
  538. package/dist/realtimekit-ui/{p-dbb95589.entry.js → p-15e0e0fc.entry.js} +1 -1
  539. package/dist/realtimekit-ui/{p-6be9be47.entry.js → p-17588509.entry.js} +1 -1
  540. package/dist/realtimekit-ui/{p-bc17c582.entry.js → p-19ffa2e9.entry.js} +1 -1
  541. package/dist/realtimekit-ui/p-221efc53.entry.js +1 -0
  542. package/dist/realtimekit-ui/{p-139da463.entry.js → p-293547d1.entry.js} +1 -1
  543. package/dist/realtimekit-ui/{p-9435f236.entry.js → p-3e54f3e8.entry.js} +1 -1
  544. package/dist/realtimekit-ui/p-4023c083.js +1 -0
  545. package/dist/realtimekit-ui/{p-affaaf1a.entry.js → p-44c22bd9.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-b62f9abb.entry.js → p-49602b35.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-b14563cb.entry.js → p-4bace64f.entry.js} +1 -1
  548. package/dist/realtimekit-ui/{p-0a1d9e02.entry.js → p-4bcf9db7.entry.js} +1 -1
  549. package/dist/realtimekit-ui/{p-01f5aba6.entry.js → p-5444d39b.entry.js} +1 -1
  550. package/dist/realtimekit-ui/{p-679bd218.entry.js → p-546ff22a.entry.js} +1 -1
  551. package/dist/realtimekit-ui/{p-42a64cbb.entry.js → p-5b277ae0.entry.js} +1 -1
  552. package/dist/realtimekit-ui/{p-457a0412.entry.js → p-629258de.entry.js} +1 -1
  553. package/dist/realtimekit-ui/{p-5b15e3cf.entry.js → p-63064c88.entry.js} +1 -1
  554. package/dist/realtimekit-ui/p-64514c63.entry.js +1 -0
  555. package/dist/realtimekit-ui/{p-d9217d24.entry.js → p-67dcfbf3.entry.js} +1 -1
  556. package/dist/realtimekit-ui/{p-050f0b1f.entry.js → p-6f487b93.entry.js} +1 -1
  557. package/dist/realtimekit-ui/{p-7dbd2a25.entry.js → p-6f56ad30.entry.js} +1 -1
  558. package/dist/realtimekit-ui/{p-03a04390.entry.js → p-6fd65de6.entry.js} +1 -1
  559. package/dist/realtimekit-ui/{p-d075d673.entry.js → p-7597f3ea.entry.js} +1 -1
  560. package/dist/realtimekit-ui/p-7965a765.entry.js +1 -0
  561. package/dist/realtimekit-ui/{p-dd9b1b30.entry.js → p-7ade6183.entry.js} +1 -1
  562. package/dist/realtimekit-ui/p-7d0ad5a8.entry.js +1 -0
  563. package/dist/realtimekit-ui/{p-93f881e2.entry.js → p-7e96fb7b.entry.js} +1 -1
  564. package/dist/realtimekit-ui/{p-85ff4a34.entry.js → p-86afa8c3.entry.js} +1 -1
  565. package/dist/realtimekit-ui/{p-a5d22edf.entry.js → p-8819f726.entry.js} +1 -1
  566. package/dist/realtimekit-ui/{p-4d8ab9a5.entry.js → p-89543b39.entry.js} +1 -1
  567. package/dist/realtimekit-ui/{p-f5ad8c8f.entry.js → p-8e869d13.entry.js} +1 -1
  568. package/dist/realtimekit-ui/{p-d77f7f22.entry.js → p-9274e173.entry.js} +1 -1
  569. package/dist/realtimekit-ui/{p-3fd79328.entry.js → p-9a2536ed.entry.js} +1 -1
  570. package/dist/realtimekit-ui/p-9d038c16.entry.js +1 -0
  571. package/dist/realtimekit-ui/p-9d8e8a27.entry.js +1 -0
  572. package/dist/realtimekit-ui/{p-4ff47eb0.entry.js → p-9de3f942.entry.js} +1 -1
  573. package/dist/realtimekit-ui/{p-80a02bba.entry.js → p-a42c0e83.entry.js} +1 -1
  574. package/dist/realtimekit-ui/{p-6ededa68.js → p-a4922241.js} +1 -1
  575. package/dist/realtimekit-ui/{p-25c7522f.entry.js → p-a845c29f.entry.js} +1 -1
  576. package/dist/realtimekit-ui/p-a8b7c6a2.entry.js +1 -0
  577. package/dist/realtimekit-ui/p-ac8a0151.entry.js +1 -0
  578. package/dist/realtimekit-ui/{p-e171b1c4.entry.js → p-acd86770.entry.js} +1 -1
  579. package/dist/realtimekit-ui/{p-94b739b4.entry.js → p-b15377a2.entry.js} +1 -1
  580. package/dist/realtimekit-ui/p-b5af8a86.entry.js +1 -0
  581. package/dist/realtimekit-ui/p-b60b229e.entry.js +1 -0
  582. package/dist/realtimekit-ui/{p-238a19f8.entry.js → p-b965ac1d.entry.js} +1 -1
  583. package/dist/realtimekit-ui/{p-b16cee89.js → p-bf5ecc7c.js} +1 -1
  584. package/dist/realtimekit-ui/{p-917f2951.entry.js → p-c1db5ef9.entry.js} +1 -1
  585. package/dist/realtimekit-ui/{p-4b882b41.js → p-c203aff3.js} +1 -1
  586. package/dist/realtimekit-ui/{p-4dc84daa.entry.js → p-c39a8005.entry.js} +1 -1
  587. package/dist/realtimekit-ui/{p-0d071b0c.entry.js → p-c4fc57c1.entry.js} +1 -1
  588. package/dist/realtimekit-ui/{p-55503b00.entry.js → p-c6837853.entry.js} +1 -1
  589. package/dist/realtimekit-ui/p-c6eb9963.entry.js +1 -0
  590. package/dist/realtimekit-ui/p-d3bf4348.js +1 -0
  591. package/dist/realtimekit-ui/p-d560f5c8.entry.js +1 -0
  592. package/dist/realtimekit-ui/{p-7af0573f.entry.js → p-d8c2b553.entry.js} +1 -1
  593. package/dist/realtimekit-ui/{p-807dd186.entry.js → p-d9138a0d.entry.js} +1 -1
  594. package/dist/realtimekit-ui/{p-5584d146.entry.js → p-da56f340.entry.js} +1 -1
  595. package/dist/realtimekit-ui/{p-aaba206b.js → p-da59b75c.js} +1 -1
  596. package/dist/realtimekit-ui/p-dac97779.js +1 -0
  597. package/dist/realtimekit-ui/{p-373ea59c.entry.js → p-dd6d2ca9.entry.js} +1 -1
  598. package/dist/realtimekit-ui/{p-44915a3b.entry.js → p-e0450660.entry.js} +1 -1
  599. package/dist/realtimekit-ui/p-e0a80608.entry.js +1 -0
  600. package/dist/realtimekit-ui/p-ea1736c3.entry.js +1 -0
  601. package/dist/realtimekit-ui/{p-7536cb87.entry.js → p-eb4025c0.entry.js} +1 -1
  602. package/dist/realtimekit-ui/{p-556db3a1.entry.js → p-ed87ad1f.entry.js} +1 -1
  603. package/dist/realtimekit-ui/{p-bf56688f.entry.js → p-efbe07a6.entry.js} +1 -1
  604. package/dist/realtimekit-ui/{p-d013442a.entry.js → p-f2ba56ec.entry.js} +1 -1
  605. package/dist/realtimekit-ui/p-f3d02201.entry.js +1 -0
  606. package/dist/realtimekit-ui/{p-e13b5128.entry.js → p-f78cecba.entry.js} +1 -1
  607. package/dist/realtimekit-ui/{p-fb67b669.entry.js → p-fa03ab98.entry.js} +1 -1
  608. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  609. package/dist/types/components/rtk-dialog/rtk-dialog.d.ts +2 -0
  610. package/dist/types/components/rtk-notification/rtk-notification.d.ts +4 -0
  611. package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +1 -0
  612. package/dist/types/components.d.ts +8 -0
  613. package/dist/types/lib/audio.d.ts +1 -0
  614. package/dist/types/lib/lang/default-language.d.ts +0 -1
  615. package/package.json +3 -2
  616. package/dist/cjs/logger-3df9c75d.js +0 -5
  617. package/dist/collection/utils/logger.js +0 -1
  618. package/dist/components/p-20354866.js +0 -96
  619. package/dist/components/p-5605a420.js +0 -3
  620. package/dist/esm/logger-31448943.js +0 -3
  621. package/dist/realtimekit-ui/p-050469f0.entry.js +0 -1
  622. package/dist/realtimekit-ui/p-131b1e94.entry.js +0 -1
  623. package/dist/realtimekit-ui/p-29802710.entry.js +0 -1
  624. package/dist/realtimekit-ui/p-2aa242f4.js +0 -1
  625. package/dist/realtimekit-ui/p-3d312beb.entry.js +0 -1
  626. package/dist/realtimekit-ui/p-3ed1c004.entry.js +0 -1
  627. package/dist/realtimekit-ui/p-4211ad5e.entry.js +0 -1
  628. package/dist/realtimekit-ui/p-4f45e362.entry.js +0 -1
  629. package/dist/realtimekit-ui/p-5605a420.js +0 -1
  630. package/dist/realtimekit-ui/p-89f6a08a.entry.js +0 -1
  631. package/dist/realtimekit-ui/p-9bbe1d7c.entry.js +0 -1
  632. package/dist/realtimekit-ui/p-9ca13287.entry.js +0 -1
  633. package/dist/realtimekit-ui/p-a6f03681.entry.js +0 -1
  634. package/dist/realtimekit-ui/p-a738a7b3.entry.js +0 -1
  635. package/dist/realtimekit-ui/p-c7f14fd0.entry.js +0 -1
  636. package/dist/realtimekit-ui/p-d1e6d6c4.entry.js +0 -1
  637. package/dist/realtimekit-ui/p-e1091812.entry.js +0 -1
  638. package/dist/realtimekit-ui/p-ee167b96.js +0 -1
  639. package/dist/realtimekit-ui/p-fc36f92c.js +0 -1
  640. package/dist/realtimekit-ui/p-fc704ef3.entry.js +0 -1
  641. package/dist/types/utils/logger.d.ts +0 -1
@@ -1 +1 @@
1
- import{r as t,h as e,H as r}from"./p-0ee570cd.js";import{d as a,a as s,c as i}from"./p-ee167b96.js";import{S as o}from"./p-2aa242f4.js";var n=function(t,e,r,a){var s,i=arguments.length,o=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o};const c=class{constructor(e){t(this,e),this.config=a,this.icon=s,this.t=i(),this.iconPack=s,this.message=""}connectedCallback(){this.statesChanged(this.states)}getBreakoutRoomsMessage(t){var e;let r;return"connected-meeting"===(null==t?void 0:t.roomLeftState)&&(r=(null===(e=this.states.activeBreakoutRoomsManager)||void 0===e?void 0:e.destinationMeetingId)===this.meeting.connectedMeetings.parentMeeting.id?"breakout_rooms.move_reason.switch_main_room":"breakout_rooms.move_reason.switch_room"),r}statesChanged(t){if(null!=t)switch(null==t?void 0:t.roomLeftState){case"left":this.message="ended.left";break;case"kicked":this.message="ended.kicked";break;case"disconnected":this.message="ended.disconnected";break;case"rejected":this.message="ended.rejected";break;case"connected-meeting":this.message=this.getBreakoutRoomsMessage(t);break;case"unauthorized":this.message="ended.unauthorized";break;default:this.message="ended"}}renderBreakoutRoomScreen(){return e(r,null,e("div",{class:"ctr",part:"container"},e("rtk-icon",{icon:this.iconPack.breakout_rooms}),e("p",{part:"message",class:"breakout"},this.t(this.message))))}render(){const t=this.states;return"connected-meeting"===t.roomLeftState?this.renderBreakoutRoomScreen():e(r,null,e("div",{class:"ctr",part:"container"},e("rtk-logo",{meeting:this.meeting,config:this.config,part:"logo",t:this.t}),e("p",{part:"message"},this.t(this.message)),"disconnected"===(null==t?void 0:t.roomLeftState)&&e("span",{part:"description"},this.t("ended.network"))))}static get watchers(){return{states:["statesChanged"]}}};n([o()],c.prototype,"size",void 0),n([o()],c.prototype,"states",void 0),n([o()],c.prototype,"t",void 0),n([o()],c.prototype,"iconPack",void 0),n([o()],c.prototype,"meeting",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{height:100%;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}.rejoin-button{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-6, 24px);padding-bottom:var(--rtk-space-6, 24px);padding-left:var(--rtk-space-16, 64px);padding-right:var(--rtk-space-16, 64px)}.rejoin-icon{margin-right:var(--rtk-space-2, 8px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}p.breakout{font-size:20px;display:flex;flex-direction:column;align-items:center}p.breakout span{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-0, 0px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}span{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}";export{c as rtk_ended_screen}
1
+ import{r as t,h as e,H as r}from"./p-0ee570cd.js";import{d as a,a as s,c as i}from"./p-d3bf4348.js";import{S as o}from"./p-dac97779.js";var n=function(t,e,r,a){var s,i=arguments.length,o=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o};const c=class{constructor(e){t(this,e),this.config=a,this.icon=s,this.t=i(),this.iconPack=s,this.message=""}connectedCallback(){this.statesChanged(this.states)}getBreakoutRoomsMessage(t){var e;let r;return"connected-meeting"===(null==t?void 0:t.roomLeftState)&&(r=(null===(e=this.states.activeBreakoutRoomsManager)||void 0===e?void 0:e.destinationMeetingId)===this.meeting.connectedMeetings.parentMeeting.id?"breakout_rooms.move_reason.switch_main_room":"breakout_rooms.move_reason.switch_room"),r}statesChanged(t){if(null!=t)switch(null==t?void 0:t.roomLeftState){case"left":this.message="ended.left";break;case"kicked":this.message="ended.kicked";break;case"disconnected":this.message="ended.disconnected";break;case"rejected":this.message="ended.rejected";break;case"connected-meeting":this.message=this.getBreakoutRoomsMessage(t);break;case"unauthorized":this.message="ended.unauthorized";break;default:this.message="ended"}}renderBreakoutRoomScreen(){return e(r,null,e("div",{class:"ctr",part:"container"},e("rtk-icon",{icon:this.iconPack.breakout_rooms}),e("p",{part:"message",class:"breakout"},this.t(this.message))))}render(){const t=this.states;return"connected-meeting"===t.roomLeftState?this.renderBreakoutRoomScreen():e(r,null,e("div",{class:"ctr",part:"container"},e("rtk-logo",{meeting:this.meeting,config:this.config,part:"logo",t:this.t}),e("p",{part:"message"},this.t(this.message)),"disconnected"===(null==t?void 0:t.roomLeftState)&&e("span",{part:"description"},this.t("ended.network"))))}static get watchers(){return{states:["statesChanged"]}}};n([o()],c.prototype,"size",void 0),n([o()],c.prototype,"states",void 0),n([o()],c.prototype,"t",void 0),n([o()],c.prototype,"iconPack",void 0),n([o()],c.prototype,"meeting",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{height:100%;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}.rejoin-button{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-6, 24px);padding-bottom:var(--rtk-space-6, 24px);padding-left:var(--rtk-space-16, 64px);padding-right:var(--rtk-space-16, 64px)}.rejoin-icon{margin-right:var(--rtk-space-2, 8px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}p.breakout{font-size:20px;display:flex;flex-direction:column;align-items:center}p.breakout span{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-0, 0px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}span{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}";export{c as rtk_ended_screen}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as s}from"./p-0ee570cd.js";import{a,c as r,i as n}from"./p-ee167b96.js";import{S as h}from"./p-2aa242f4.js";var o=function(t,i,e,s){var a,r=arguments.length,n=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,e,s);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(n=(r<3?a(n):r>3?a(i,e,n):a(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};const l=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.apiError=i(this,"rtkApiError",7),this.variant="button",this.iconPack=a,this.t=r(),this.livestreamState="IDLE",this.livestreamStateListener=t=>{this.livestreamState=t,"LIVESTREAMING"!==t&&"IDLE"!==t||this.stateUpdate.emit({activeMoreMenu:!1})},this.isLoading=()=>null==this.meeting||"STARTING"===this.livestreamState||"STOPPING"===this.livestreamState}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.clearListeners()}meetingChanged(t){var i,e;null!=t&&(this.livestreamState=null===(i=this.meeting.livestream)||void 0===i?void 0:i.state,null===(e=this.meeting.livestream)||void 0===e||e.on("livestreamUpdate",this.livestreamStateListener))}async toggleLivestream(){var t,i;if("LIVESTREAMING"===this.livestreamState)try{await(null===(t=this.meeting.livestream)||void 0===t?void 0:t.stop())}catch(t){this.apiError.emit({trace:this.t("livestream.stop"),message:this.t("livestream.error.stop")})}else try{await(null===(i=this.meeting.livestream)||void 0===i?void 0:i.start())}catch(t){this.apiError.emit({trace:this.t("livestream.start"),message:this.t("livestream.error.start")})}}clearListeners(){var t;null===(t=this.meeting.livestream)||void 0===t||t.removeListener("livestreamUpdate",this.livestreamStateListener)}getLivestreamLabel(){switch(this.livestreamState){case"IDLE":return this.t("livestream.go_live");case"LIVESTREAMING":return this.t("livestream.end_live");case"WAITING_ON_MANUAL_INGESTION":return this.t("livestream.waiting_on_manual_ingestion");case"STARTING":return this.t("livestream.starting");case"STOPPING":return this.t("livestream.stopping");default:return this.t("livestream.error")}}getLivestreamIcon(){switch(this.livestreamState){case"IDLE":case"WAITING_ON_MANUAL_INGESTION":return this.iconPack.start_livestream;default:return this.iconPack.stop_livestream}}render(){return n(this.meeting)?e(s,null,e("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,isLoading:this.isLoading(),class:{"active-livestream":"LIVESTREAMING"===this.livestreamState},onClick:()=>this.toggleLivestream(),icon:this.getLivestreamIcon(),disabled:this.isLoading(),label:this.t(this.getLivestreamLabel()),variant:this.variant})):e(s,{"data-hidden":!0})}static get watchers(){return{meeting:["meetingChanged"]}}};o([h()],l.prototype,"meeting",void 0),o([h()],l.prototype,"size",void 0),o([h()],l.prototype,"iconPack",void 0),o([h()],l.prototype,"t",void 0),l.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:block}:host([data-hidden]){display:none}";export{l as rtk_livestream_toggle}
1
+ import{r as t,c as i,h as e,H as s}from"./p-0ee570cd.js";import{a,c as r,i as n}from"./p-d3bf4348.js";import{S as h}from"./p-dac97779.js";var o=function(t,i,e,s){var a,r=arguments.length,n=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,e,s);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(n=(r<3?a(n):r>3?a(i,e,n):a(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};const l=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.apiError=i(this,"rtkApiError",7),this.variant="button",this.iconPack=a,this.t=r(),this.livestreamState="IDLE",this.livestreamStateListener=t=>{this.livestreamState=t,"LIVESTREAMING"!==t&&"IDLE"!==t||this.stateUpdate.emit({activeMoreMenu:!1})},this.isLoading=()=>null==this.meeting||"STARTING"===this.livestreamState||"STOPPING"===this.livestreamState}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.clearListeners()}meetingChanged(t){var i,e;null!=t&&(this.livestreamState=null===(i=this.meeting.livestream)||void 0===i?void 0:i.state,null===(e=this.meeting.livestream)||void 0===e||e.on("livestreamUpdate",this.livestreamStateListener))}async toggleLivestream(){var t,i;if("LIVESTREAMING"===this.livestreamState)try{await(null===(t=this.meeting.livestream)||void 0===t?void 0:t.stop())}catch(t){this.apiError.emit({trace:this.t("livestream.stop"),message:this.t("livestream.error.stop")})}else try{await(null===(i=this.meeting.livestream)||void 0===i?void 0:i.start())}catch(t){this.apiError.emit({trace:this.t("livestream.start"),message:this.t("livestream.error.start")})}}clearListeners(){var t;null===(t=this.meeting.livestream)||void 0===t||t.removeListener("livestreamUpdate",this.livestreamStateListener)}getLivestreamLabel(){switch(this.livestreamState){case"IDLE":return this.t("livestream.go_live");case"LIVESTREAMING":return this.t("livestream.end_live");case"WAITING_ON_MANUAL_INGESTION":return this.t("livestream.waiting_on_manual_ingestion");case"STARTING":return this.t("livestream.starting");case"STOPPING":return this.t("livestream.stopping");default:return this.t("livestream.error")}}getLivestreamIcon(){switch(this.livestreamState){case"IDLE":case"WAITING_ON_MANUAL_INGESTION":return this.iconPack.start_livestream;default:return this.iconPack.stop_livestream}}render(){return n(this.meeting)?e(s,null,e("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,isLoading:this.isLoading(),class:{"active-livestream":"LIVESTREAMING"===this.livestreamState},onClick:()=>this.toggleLivestream(),icon:this.getLivestreamIcon(),disabled:this.isLoading(),label:this.t(this.getLivestreamLabel()),variant:this.variant})):e(s,{"data-hidden":!0})}static get watchers(){return{meeting:["meetingChanged"]}}};o([h()],l.prototype,"meeting",void 0),o([h()],l.prototype,"size",void 0),o([h()],l.prototype,"iconPack",void 0),o([h()],l.prototype,"t",void 0),l.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:block}:host([data-hidden]){display:none}";export{l as rtk_livestream_toggle}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,H as e}from"./p-0ee570cd.js";import{a as h,c as a}from"./p-d3bf4348.js";import{S as r}from"./p-dac97779.js";var n=function(t,s,i,e){var h,a=arguments.length,r=a<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,i,e);else for(var n=t.length-1;n>=0;n--)(h=t[n])&&(r=(a<3?h(r):a>3?h(s,i,r):h(s,i))||r);return a>3&&r&&Object.defineProperty(s,i,r),r};const o=()=>"undefined"!=typeof navigator&&void 0!==navigator.mediaDevices&&"getDisplayMedia"in navigator.mediaDevices,c=class{constructor(i){t(this,i),this.stateUpdate=s(this,"rtkStateUpdate",7),this.apiError=s(this,"rtkApiError",7),this.variant="button",this.iconPack=h,this.t=a(),this.maxScreenShareCount=-1,this.screenShareCount=0,this.screenShareEnabled=!1,this.canScreenShare=!1,this.shareScreenPermission="NOT_REQUESTED",this.screenShareState={tooltipLabel:this.t("screenshare.start"),label:this.t("screenshare.start"),icon:this.iconPack.share_screen_start,classList:{},showWarning:!1,disable:!1},this.stageStatus="OFF_STAGE",this.screenShareListener=()=>{const t=this.meeting.participants.active.toArray().filter((t=>t.screenShareEnabled)).length;this.screenShareCount=t+(this.meeting.self.screenShareEnabled?1:0),this.screenShareEnabled=this.meeting.self.screenShareEnabled,this.getState(),this.meeting.__internals__.logger.info("rtkScreenShare::screenShareUpdate",{media:{screenshare:{enabled:this.screenShareEnabled,count:this.screenShareCount}}})},this.participantLeftListener=({screenShareEnabled:t})=>{t&&(this.screenShareCount=Math.max(this.screenShareCount-1,0),this.getState(),this.meeting.__internals__.logger.info("rtkScreenShare::screenShareUpdate",{media:{screenshare:{enabled:this.screenShareEnabled,count:this.screenShareCount}}}))},this.stageStatusListener=()=>{this.stageStatus=this.meeting.stage.status,this.canScreenShare="ALLOWED"===this.meeting.self.permissions.canProduceScreenshare},this.mediaPermissionUpdateListener=({kind:t,message:s})=>{"screenshare"===t&&(this.shareScreenPermission=s,this.getState(),"COULD_NOT_START"===s&&this.apiError.emit({trace:this.t("screenshare.permissions"),message:this.t("screenshare.error.unknown")}),this.hasPermissionError())&&this.stateUpdate.emit({activePermissionsMessage:{enabled:!0,kind:"screenshare"}})},this.reachedMaxScreenShares=()=>this.maxScreenShareCount>0&&this.screenShareCount>=this.maxScreenShareCount,this.toggleScreenShare=async()=>{var t;if(this.screenShareState.disable)return;if(this.hasPermissionError())return this.stateUpdate.emit({activePermissionsMessage:{enabled:!0,kind:"screenshare"}}),!1;const s=null===(t=this.meeting)||void 0===t?void 0:t.self;this.screenShareEnabled?s.disableScreenShare():null==s||!this.canScreenShare||this.reachedMaxScreenShares()||this.hasPermissionError()||(this.screenShareState=Object.assign(Object.assign({},this.screenShareState),{disable:!0}),await s.enableScreenShare(),this.screenShareState=Object.assign(Object.assign({},this.screenShareState),{disable:!1}),this.stateUpdate.emit({activeMoreMenu:!1}))}}connectedCallback(){o()?this.meetingChanged(this.meeting):this.meeting.__internals__.logger.error("[rtk-screenshare-toggle] Device does not support screensharing.")}disconnectedCallback(){var t,s,i,e,h,a;null===(t=this.meeting)||void 0===t||t.participants.joined.removeListener("screenShareUpdate",this.screenShareListener),null===(s=this.meeting)||void 0===s||s.participants.joined.removeListener("participantLeft",this.participantLeftListener),null===(i=this.meeting)||void 0===i||i.self.removeListener("screenShareUpdate",this.screenShareListener),null===(e=this.meeting)||void 0===e||e.self.removeListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),null===(a=null===(h=this.meeting)||void 0===h?void 0:h.stage)||void 0===a||a.removeListener("stageStatusUpdate",this.stageStatusListener)}meetingChanged(t){if(null!=t){const{self:s,stage:i}=t;this.canScreenShare="ALLOWED"===this.meeting.self.permissions.canProduceScreenshare,this.maxScreenShareCount=s.config.maxScreenShareCount,this.screenShareEnabled=s.screenShareEnabled;let e=0;for(const s of t.participants.joined.toArray())s.screenShareEnabled&&e++;this.screenShareCount=e,this.getState(),t.__internals__.logger.info("rtkScreenShare::initialise",{media:{screenshare:{enabled:this.screenShareEnabled,count:this.screenShareCount,maxAllowedCount:this.maxScreenShareCount}}}),this.stageStatus=t.stage.status,t.participants.joined.addListener("screenShareUpdate",this.screenShareListener),t.participants.joined.addListener("participantLeft",this.participantLeftListener),s.addListener("screenShareUpdate",this.screenShareListener),s.addListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),null==i||i.addListener("stageStatusUpdate",this.stageStatusListener)}}hasPermissionError(){return"SYSTEM_DENIED"===this.shareScreenPermission||"DENIED"===this.shareScreenPermission}getState(){let t="",s="",i="",e={};const h=this.hasPermissionError()&&!this.screenShareEnabled,a=this.reachedMaxScreenShares()&&!this.screenShareEnabled,r="COULD_NOT_START"===this.shareScreenPermission;this.screenShareEnabled&&!h?(s=this.t("screenshare.stop"),i=this.iconPack.share_screen_stop,e["red-icon"]=!0):(s=this.t("screenshare.start"),i=this.iconPack.share_screen_start),"SYSTEM_DENIED"===this.shareScreenPermission?(t=this.t("perm_sys_denied.screenshare"),e["red-icon"]=!0):"DENIED"===this.shareScreenPermission?(t=this.t("perm_denied.screenshare"),e["red-icon"]=!0):t=s,a&&(t=this.t("screenshare.error.max_count")),r&&(t=this.t("screenshare.error.unknown")),this.screenShareState={tooltipLabel:t,label:s,icon:i,classList:e,disable:h||a,showWarning:h||a||r}}render(){return o()&&this.canScreenShare&&!["OFF_STAGE","REQUESTED_TO_JOIN_STAGE"].includes(this.stageStatus)?i(e,{title:this.screenShareState.label},i("rtk-tooltip",{placement:"top",kind:"block",label:this.screenShareState.tooltipLabel,delay:600,part:"tooltip"},i("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,variant:this.variant,label:this.screenShareState.label,icon:this.screenShareState.icon,class:this.screenShareState.classList,onClick:this.toggleScreenShare,disabled:this.screenShareState.disable,showWarning:this.screenShareState.showWarning}))):i(e,{"data-hidden":!0})}static get watchers(){return{meeting:["meetingChanged"]}}};n([r()],c.prototype,"states",void 0),n([r()],c.prototype,"meeting",void 0),n([r()],c.prototype,"size",void 0),n([r()],c.prototype,"iconPack",void 0),n([r()],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:block}:host([data-hidden]){display:none}";export{c as rtk_screen_share_toggle}
@@ -1 +1 @@
1
- import{r as t,c as r,h as a,H as i}from"./p-0ee570cd.js";import{d as s,a as e,c as o}from"./p-ee167b96.js";import{S as l}from"./p-2aa242f4.js";import{s as n}from"./p-0752f2ba.js";var c=function(t,r,a,i){var s,e=arguments.length,o=e<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,a,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(o=(e<3?s(o):e>3?s(r,a,o):s(r,a))||o);return e>3&&o&&Object.defineProperty(r,a,o),o};const d=class{constructor(a){t(this,a),this.stateUpdate=r(this,"rtkStateUpdate",7),this.config=s,this.iconPack=e,this.t=o(),this.plugins=[],this.canStartPlugins=!1,this.canClosePlugins=!1,this.activatedPluginsId=[],this.close=()=>{this.stateUpdate.emit({activeSidebar:!1,sidebar:void 0})}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null===(t=this.meeting)||void 0===t||t.plugins.all.removeListener("stateUpdate",this.updateActivePlugins)}meetingChanged(t){null!=t&&(this.canStartPlugins=t.self.permissions.plugins.canStart,this.canClosePlugins=t.self.permissions.plugins.canClose,this.plugins=t.plugins.all.toArray().filter((r=>{var a;return!(null===(a=t.self.config.disabledPlugins)||void 0===a?void 0:a.includes(r.id))})),this.updateActivePlugins=()=>{this.activatedPluginsId=t.plugins.active.toArray().map((t=>t.id))},this.updateActivePlugins(),t.plugins.all.addListener("stateUpdate",this.updateActivePlugins))}render(){return a(i,{key:"a4ef27530f9e18bc63f0c419219eb4ad0314a213"},a("ul",{key:"348783b9aa3feb3a215a73a1f7fc1bb749c17da0",class:"scrollbar"},this.plugins.map((t=>a("li",{key:t.name,class:"plugin"},a("div",{class:"metadata"},a("img",{src:t.picture}),a("div",{class:"name"},t.name)),!this.activatedPluginsId.includes(t.id)&&this.canStartPlugins&&a("div",{class:"buttons"},a("rtk-button",{kind:"icon",size:"lg",onClick:()=>{t.activate(),this.close()},"aria-label":`${this.t("activate")} ${t.name}`},a("rtk-icon",{icon:this.iconPack.rocket,tabIndex:-1,"aria-hidden":!0}))),this.activatedPluginsId.includes(t.id)&&this.canClosePlugins&&a("div",{class:"buttons"},a("rtk-button",{kind:"icon",size:"lg",onClick:()=>{t.deactivate()},"aria-label":`${this.t("close")} ${t.name}`},a("rtk-icon",{icon:this.iconPack.dismiss,tabIndex:-1,"aria-hidden":!0}))))))))}static get watchers(){return{meeting:["meetingChanged"]}}};c([l()],d.prototype,"meeting",void 0),c([l()],d.prototype,"size",void 0),c([l()],d.prototype,"iconPack",void 0),c([l()],d.prototype,"t",void 0),d.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{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;height:100%;width:100%;flex-direction:column;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}h3{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);display:block;padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}ul{overflow-y:auto;padding:var(--rtk-space-0, 0px);flex-grow:1;flex-basis:0}.metadata{display:flex;align-items:center}.metadata img{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-sm, 4px)}.metadata .name{margin-left:var(--rtk-space-2, 8px);font-weight:500}.plugin{display:flex;align-items:center;justify-content:space-between;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}.plugin .buttons{display:flex;align-items:center}rtk-button:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-ring-offset-color:rgb(var(--rtk-colors-background-1000, 8 8 8))}";var p=function(t,r,a,i){var s,e=arguments.length,o=e<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,a,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(o=(e<3?s(o):e>3?s(r,a,o):s(r,a))||o);return e>3&&o&&Object.defineProperty(r,a,o),o};const h=class{constructor(r){t(this,r),this.config=s,this.iconPack=e,this.t=o(),this.create=!1,this.onPollsUpdate=t=>{this.polls=[...t.polls]},this.onUpdatePermissions=()=>{this.permissions=this.meeting.self.permissions}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null!=this.meeting&&(null===(t=this.meeting.polls)||void 0===t||t.removeListener("pollsUpdate",this.onPollsUpdate),this.meeting.self.permissions.removeListener("pollsUpdate",this.onUpdatePermissions))}meetingChanged(t){null!=t&&(t&&!t.polls||(this.permissions=this.meeting.self.permissions,this.polls=[...t.polls.items],t.polls.addListener("pollsUpdate",this.onPollsUpdate),this.meeting.self.permissions.addListener("pollsUpdate",this.onUpdatePermissions),this.onCreate=async r=>{this.create=!1,await t.polls.create(r.question,r.options,r.anonymous,r.hideVotes)},this.onVote=async(r,a)=>{await t.polls.vote(r,a)}))}toggleCreateState(){this.create=!this.create}componentDidRender(){n(this.pollEl)}render(){return a(i,{key:"90670e63e9732cdaf7fb40b8fc5c83d23169ffc2"},a("div",{key:"e1b10652531d40deef0753eba00f5e42a6ace030",class:"ctr",part:"container"},a("div",{key:"ff8549851c499d5e52c7ea44ff02542a9216463b",class:"polls-view scrollbar",ref:t=>this.pollEl=t,part:"polls"},0==this.polls.length&&!0!==this.create&&a("div",{key:"cd06ef857955de65e4aaa60ee1b5419c379e1a9c",class:"empty-polls"},this.t("polls.empty")),this.polls.map((t=>{var r;return a("rtk-poll",{key:t.id,poll:t,onRtkVotePoll:t=>{this.onVote(t.detail.id,t.detail.index)},self:null===(r=this.meeting)||void 0===r?void 0:r.self.userId,iconPack:this.iconPack,t:this.t,permissions:this.permissions})})),this.create&&a("rtk-poll-form",{key:"41f8908f7485faf89738cea1f2ccb816fb6c094f",part:"poll-form",onRtkCreatePoll:t=>{this.onCreate(t.detail)},iconPack:this.iconPack,t:this.t})),this.permissions.polls.canCreate&&a("rtk-button",{key:"d2b90f8c13da232af950d2653c1322f334df8181",kind:"wide",onClick:()=>this.toggleCreateState(),variant:this.create?"secondary":"primary",part:"button"},this.t(this.create?"polls.cancel":"polls.create"))))}static get watchers(){return{meeting:["meetingChanged"]}}};p([l()],h.prototype,"meeting",void 0),p([l()],h.prototype,"size",void 0),p([l()],h.prototype,"iconPack",void 0),p([l()],h.prototype,"t",void 0),h.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{margin-top:var(--rtk-space-2, 8px);display:flex;height:100%;width:100%;flex-direction:column;font-size:14px}*{box-sizing:border-box}.ctr{box-sizing:border-box;padding:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-0, 0px);display:flex;flex:1 1 0%;flex-direction:column}.polls-view{overflow-y:auto;flex:1 1 0%;flex-basis:0}.empty-polls{display:flex;height:100%;width:100%;align-items:center;justify-content:center}";export{d as rtk_plugins,h as rtk_polls}
1
+ import{r as t,c as r,h as a,H as i}from"./p-0ee570cd.js";import{d as s,a as e,c as o}from"./p-d3bf4348.js";import{S as l}from"./p-dac97779.js";import{s as n}from"./p-0752f2ba.js";var c=function(t,r,a,i){var s,e=arguments.length,o=e<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,a,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(o=(e<3?s(o):e>3?s(r,a,o):s(r,a))||o);return e>3&&o&&Object.defineProperty(r,a,o),o};const d=class{constructor(a){t(this,a),this.stateUpdate=r(this,"rtkStateUpdate",7),this.config=s,this.iconPack=e,this.t=o(),this.plugins=[],this.canStartPlugins=!1,this.canClosePlugins=!1,this.activatedPluginsId=[],this.close=()=>{this.stateUpdate.emit({activeSidebar:!1,sidebar:void 0})}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null===(t=this.meeting)||void 0===t||t.plugins.all.removeListener("stateUpdate",this.updateActivePlugins)}meetingChanged(t){null!=t&&(this.canStartPlugins=t.self.permissions.plugins.canStart,this.canClosePlugins=t.self.permissions.plugins.canClose,this.plugins=t.plugins.all.toArray().filter((r=>{var a;return!(null===(a=t.self.config.disabledPlugins)||void 0===a?void 0:a.includes(r.id))})),this.updateActivePlugins=()=>{this.activatedPluginsId=t.plugins.active.toArray().map((t=>t.id))},this.updateActivePlugins(),t.plugins.all.addListener("stateUpdate",this.updateActivePlugins))}render(){return a(i,{key:"74f2d9af55a0670b4ae5406f73b333187e8c3d92"},a("ul",{key:"955e4e2a9d101b5027ef725175996c8e72a94b30",class:"scrollbar"},this.plugins.map((t=>a("li",{key:t.name,class:"plugin"},a("div",{class:"metadata"},a("img",{src:t.picture}),a("div",{class:"name"},t.name)),!this.activatedPluginsId.includes(t.id)&&this.canStartPlugins&&a("div",{class:"buttons"},a("rtk-button",{kind:"icon",size:"lg",onClick:()=>{t.activate(),this.close()},"aria-label":`${this.t("activate")} ${t.name}`},a("rtk-icon",{icon:this.iconPack.rocket,tabIndex:-1,"aria-hidden":!0}))),this.activatedPluginsId.includes(t.id)&&this.canClosePlugins&&a("div",{class:"buttons"},a("rtk-button",{kind:"icon",size:"lg",onClick:()=>{t.deactivate()},"aria-label":`${this.t("close")} ${t.name}`},a("rtk-icon",{icon:this.iconPack.dismiss,tabIndex:-1,"aria-hidden":!0}))))))))}static get watchers(){return{meeting:["meetingChanged"]}}};c([l()],d.prototype,"meeting",void 0),c([l()],d.prototype,"size",void 0),c([l()],d.prototype,"iconPack",void 0),c([l()],d.prototype,"t",void 0),d.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{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;height:100%;width:100%;flex-direction:column;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}h3{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);display:block;padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}ul{overflow-y:auto;padding:var(--rtk-space-0, 0px);flex-grow:1;flex-basis:0}.metadata{display:flex;align-items:center}.metadata img{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-sm, 4px)}.metadata .name{margin-left:var(--rtk-space-2, 8px);font-weight:500}.plugin{display:flex;align-items:center;justify-content:space-between;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}.plugin .buttons{display:flex;align-items:center}rtk-button:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-ring-offset-color:rgb(var(--rtk-colors-background-1000, 8 8 8))}";var p=function(t,r,a,i){var s,e=arguments.length,o=e<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,a,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(o=(e<3?s(o):e>3?s(r,a,o):s(r,a))||o);return e>3&&o&&Object.defineProperty(r,a,o),o};const h=class{constructor(r){t(this,r),this.config=s,this.iconPack=e,this.t=o(),this.create=!1,this.onPollsUpdate=t=>{this.polls=[...t.polls]},this.onUpdatePermissions=()=>{this.permissions=this.meeting.self.permissions}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null!=this.meeting&&(null===(t=this.meeting.polls)||void 0===t||t.removeListener("pollsUpdate",this.onPollsUpdate),this.meeting.self.permissions.removeListener("pollsUpdate",this.onUpdatePermissions))}meetingChanged(t){null!=t&&(t&&!t.polls||(this.permissions=this.meeting.self.permissions,this.polls=[...t.polls.items],t.polls.addListener("pollsUpdate",this.onPollsUpdate),this.meeting.self.permissions.addListener("pollsUpdate",this.onUpdatePermissions),this.onCreate=async r=>{this.create=!1,await t.polls.create(r.question,r.options,r.anonymous,r.hideVotes)},this.onVote=async(r,a)=>{await t.polls.vote(r,a)}))}toggleCreateState(){this.create=!this.create}componentDidRender(){n(this.pollEl)}render(){return a(i,{key:"aac0c84486146fa17436746fb6def9cc4e539a2c"},a("div",{key:"179c4496372623a2ea2f7c0b555b84ea1cae12ee",class:"ctr",part:"container"},a("div",{key:"07b09fc28d75b1d40dec83eecae3661dfca1dbd2",class:"polls-view scrollbar",ref:t=>this.pollEl=t,part:"polls"},0==this.polls.length&&!0!==this.create&&a("div",{key:"841f91b0da755e48498c520a8234cf6b926b058c",class:"empty-polls"},this.t("polls.empty")),this.polls.map((t=>{var r;return a("rtk-poll",{key:t.id,poll:t,onRtkVotePoll:t=>{this.onVote(t.detail.id,t.detail.index)},self:null===(r=this.meeting)||void 0===r?void 0:r.self.userId,iconPack:this.iconPack,t:this.t,permissions:this.permissions})})),this.create&&a("rtk-poll-form",{key:"c6545dffc24f5409417666404ab73bf546834a8b",part:"poll-form",onRtkCreatePoll:t=>{this.onCreate(t.detail)},iconPack:this.iconPack,t:this.t})),this.permissions.polls.canCreate&&a("rtk-button",{key:"69651546ee9a00f9b9c467e0f2307f5ce2dc1383",kind:"wide",onClick:()=>this.toggleCreateState(),variant:this.create?"secondary":"primary",part:"button"},this.t(this.create?"polls.cancel":"polls.create"))))}static get watchers(){return{meeting:["meetingChanged"]}}};p([l()],h.prototype,"meeting",void 0),p([l()],h.prototype,"size",void 0),p([l()],h.prototype,"iconPack",void 0),p([l()],h.prototype,"t",void 0),h.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{margin-top:var(--rtk-space-2, 8px);display:flex;height:100%;width:100%;flex-direction:column;font-size:14px}*{box-sizing:border-box}.ctr{box-sizing:border-box;padding:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-0, 0px);display:flex;flex:1 1 0%;flex-direction:column}.polls-view{overflow-y:auto;flex:1 1 0%;flex-basis:0}.empty-polls{display:flex;height:100%;width:100%;align-items:center;justify-content:center}";export{d as rtk_plugins,h as rtk_polls}