@cloudflare/realtimekit-ui 2.2.0-staging.2 → 2.2.0-staging.4

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 (638) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-BA97TnvX.js → TextMessage-C_OMdhOv.js} +1 -1
  3. package/dist/cjs/{chat-NY588mAE.js → chat-2G70V8h1.js} +1 -1
  4. package/dist/cjs/{config-Chzt-h7l.js → config-DNVD4for.js} +2 -2
  5. package/dist/cjs/{debounce-CoFZKdWb.js → debounce-CZxcmrOw.js} +1 -1
  6. package/dist/cjs/{index-BeKaBV5F.js → index-bphCu7Kc.js} +1 -1
  7. package/dist/cjs/index.cjs.js +4 -4
  8. package/dist/cjs/loader.cjs.js +1 -1
  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_3.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_3.cjs.entry.js +2 -2
  16. package/dist/cjs/rtk-avatar_26.cjs.entry.js +9 -9
  17. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
  18. package/dist/cjs/rtk-breakout-rooms-manager_8.cjs.entry.js +2 -2
  19. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  20. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  21. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  22. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  23. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  24. package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
  25. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
  26. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +2 -2
  27. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +2 -2
  29. package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
  30. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
  31. package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
  33. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
  34. package/dist/cjs/rtk-debugger.cjs.entry.js +2 -2
  35. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
  36. package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
  37. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  38. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
  39. package/dist/cjs/rtk-file-message_3.cjs.entry.js +6 -6
  40. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  42. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-header.cjs.entry.js +2 -2
  44. package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
  45. package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
  47. package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
  48. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  49. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
  51. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  52. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  53. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  54. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  55. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
  58. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  59. package/dist/cjs/rtk-notification.cjs.entry.js +4 -4
  60. package/dist/cjs/rtk-notifications.cjs.entry.js +26 -4
  61. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  62. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  63. package/dist/cjs/rtk-participant_2.cjs.entry.js +5 -5
  64. package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
  65. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
  66. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +2 -2
  67. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  68. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  69. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
  70. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +2 -2
  71. package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
  72. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +2 -2
  73. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
  74. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  75. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +347 -34
  77. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  78. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
  79. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  80. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  81. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  82. package/dist/cjs/rtk-sidebar.cjs.entry.js +2 -2
  83. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  84. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +4 -4
  85. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  86. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  87. package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
  88. package/dist/cjs/rtk-switch.cjs.entry.js +3 -3
  89. package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
  90. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  91. package/dist/cjs/rtk-ui-provider.cjs.entry.js +2 -2
  92. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
  93. package/dist/cjs/{ui-kit-metadata-zBJ8NnVE.js → ui-kit-metadata-Db62SilF.js} +2 -2
  94. package/dist/cjs/{ui-store-DSyXGfDZ.js → ui-store-XdzekVqK.js} +4 -0
  95. package/dist/collection/components/rtk-ai/rtk-ai.js +1 -1
  96. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +1 -1
  97. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  98. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  99. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +1 -1
  100. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +1 -1
  101. package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
  102. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +1 -1
  103. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +1 -1
  104. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +1 -1
  105. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +1 -1
  106. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +1 -1
  107. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +1 -1
  108. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +1 -1
  109. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +1 -1
  110. package/dist/collection/components/rtk-chat/rtk-chat.js +1 -1
  111. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +1 -1
  112. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +1 -1
  113. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +1 -1
  114. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +1 -1
  115. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +1 -1
  116. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  117. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +1 -1
  118. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +1 -1
  119. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +1 -1
  120. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  121. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  122. package/dist/collection/components/rtk-counter/rtk-counter.js +1 -1
  123. package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
  124. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +1 -1
  125. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +1 -1
  126. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +1 -1
  127. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  128. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +1 -1
  129. package/dist/collection/components/rtk-dialog/rtk-dialog.js +1 -1
  130. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +1 -1
  131. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  132. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  133. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  134. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +1 -1
  135. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  136. package/dist/collection/components/rtk-file-message/rtk-file-message.js +1 -1
  137. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  138. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +1 -1
  139. package/dist/collection/components/rtk-grid/rtk-grid.js +1 -1
  140. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
  141. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  142. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  143. package/dist/collection/components/rtk-image-message/rtk-image-message.js +1 -1
  144. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +1 -1
  145. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  146. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
  147. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  148. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +1 -1
  149. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
  150. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
  151. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +1 -1
  152. package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
  153. package/dist/collection/components/rtk-meeting/rtk-meeting.js +1 -1
  154. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +1 -1
  155. package/dist/collection/components/rtk-menu/rtk-menu.js +1 -1
  156. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  157. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  158. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +1 -1
  159. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +1 -1
  160. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +1 -1
  161. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +1 -1
  162. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +1 -1
  163. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  164. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
  165. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +1 -1
  166. package/dist/collection/components/rtk-notification/rtk-notification.js +1 -1
  167. package/dist/collection/components/rtk-notifications/rtk-notifications.js +24 -2
  168. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  169. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
  170. package/dist/collection/components/rtk-participant/rtk-participant.js +1 -1
  171. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
  172. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +1 -1
  173. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +1 -1
  174. package/dist/collection/components/rtk-participants/rtk-participants.js +1 -1
  175. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  176. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  177. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +1 -1
  178. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +1 -1
  179. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +1 -1
  180. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +1 -1
  181. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  182. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +1 -1
  183. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +1 -1
  184. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
  185. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  186. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
  187. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  188. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +1 -1
  189. package/dist/collection/components/rtk-polls/rtk-polls.js +1 -1
  190. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +1 -1
  191. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  192. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +1 -1
  193. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +1 -1
  194. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.css +210 -0
  195. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +371 -37
  196. package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
  197. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
  198. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +2 -2
  199. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +1 -1
  200. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
  201. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +1 -1
  202. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +1 -1
  203. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
  204. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +1 -1
  205. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  206. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +3 -3
  207. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
  208. package/dist/collection/components/rtk-stage/rtk-stage.js +2 -2
  209. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
  210. package/dist/collection/components/rtk-switch/rtk-switch.js +2 -2
  211. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
  212. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +2 -2
  213. package/dist/collection/components/rtk-text-message/rtk-text-message.js +3 -3
  214. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  215. package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
  216. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
  217. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
  218. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
  219. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  220. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +2 -2
  221. package/dist/collection/lib/lang/default-language.js +4 -0
  222. package/dist/collection/utils/ui-kit-metadata.js +1 -1
  223. package/dist/components/index.js +1 -1
  224. package/dist/components/{p-ByMjaTnP.js → p-16s5ZSAZ.js} +1 -1
  225. package/dist/components/{p-Bjx68Nkv.js → p-B2HJVmyW.js} +1 -1
  226. package/dist/components/{p-CXDRC8Nb.js → p-BDBQ3yNX.js} +1 -1
  227. package/dist/components/p-BDZmvSZ5.js +1 -0
  228. package/dist/components/{p-xLck_VlO.js → p-BIkikWuB.js} +1 -1
  229. package/dist/components/{p-BNjHUNwU.js → p-BMEVA63X.js} +1 -1
  230. package/dist/components/{p-ifBo9NHb.js → p-BOs3IQB-.js} +1 -1
  231. package/dist/components/p-BWM_mzxz.js +1 -0
  232. package/dist/components/{p-BBRpBb3D.js → p-BX-q0U6y.js} +1 -1
  233. package/dist/components/{p-GtIz3u0L.js → p-BeeuQPMZ.js} +1 -1
  234. package/dist/components/{p-BWLmBQB7.js → p-Bev5JWZ0.js} +1 -1
  235. package/dist/components/{p-BjG7yuwj.js → p-BpMexaGX.js} +1 -1
  236. package/dist/components/{p--F3BGV0E.js → p-BrWD_P9J.js} +1 -1
  237. package/dist/components/{p-CWxtbDEh.js → p-BxJT0iOj.js} +1 -1
  238. package/dist/components/{p-oXCkwBKR.js → p-BxM6yQDX.js} +1 -1
  239. package/dist/components/{p-DAq4FN_d.js → p-C27_nsxU.js} +1 -1
  240. package/dist/components/{p-CiX87kt0.js → p-C78m8FSo.js} +1 -1
  241. package/dist/components/{p-CM3Y2kOg.js → p-C7kzxj2U.js} +1 -1
  242. package/dist/components/{p-DUIWB0ra.js → p-CAePd-oD.js} +1 -1
  243. package/dist/components/{p-B2EHfWpD.js → p-CBBiuExR.js} +1 -1
  244. package/dist/components/{p-CkNlX5-Y.js → p-CCcFJzS9.js} +1 -1
  245. package/dist/components/{p-BeWjGx1n.js → p-CNRlJgcv.js} +1 -1
  246. package/dist/components/{p-CH7w_Zrp.js → p-CSQnL_EP.js} +1 -1
  247. package/dist/components/{p-BX3gY1PP.js → p-CSdpb5b3.js} +1 -1
  248. package/dist/components/{p-B6IcTqkN.js → p-CT1iNAdo.js} +1 -1
  249. package/dist/components/{p-CHSH0L_g.js → p-CX0Xm7nC.js} +1 -1
  250. package/dist/components/{p-Bp8UGnBB.js → p-CddkXbJO.js} +1 -1
  251. package/dist/components/{p-DalLUQa1.js → p-ChM1gCIW.js} +1 -1
  252. package/dist/components/{p-BVRIm4Vt.js → p-CjAIMy9F.js} +1 -1
  253. package/dist/components/{p-uxGiMP6W.js → p-CjnaOcqP.js} +1 -1
  254. package/dist/components/{p-D9cHynev.js → p-CkAYE3S8.js} +1 -1
  255. package/dist/components/p-CtoKGHXg.js +1 -0
  256. package/dist/components/{p-DuRlksIi.js → p-CuQOcbEk.js} +1 -1
  257. package/dist/components/{p-Dp2LhUKa.js → p-CuXI1Bo9.js} +1 -1
  258. package/dist/components/{p-DAGCKEFc.js → p-CudchGV-.js} +1 -1
  259. package/dist/components/{p-BC__OeWi.js → p-D00_ZaOw.js} +1 -1
  260. package/dist/components/{p-C7Rh2NRS.js → p-D3hW0Kbk.js} +1 -1
  261. package/dist/components/{p-U9jg1DvO.js → p-D7C_eMze.js} +1 -1
  262. package/dist/components/{p-DW9czTAD.js → p-DCxpDhJk.js} +1 -1
  263. package/dist/components/{p-CtPr1nvA.js → p-DDXAdlei.js} +1 -1
  264. package/dist/components/{p-Be6GRqFL.js → p-DGf0eDeq.js} +1 -1
  265. package/dist/components/{p-0I1N5xHK.js → p-DQpLF7Tl.js} +1 -1
  266. package/dist/components/{p-Dc5xkFI9.js → p-DR4HIK_J.js} +1 -1
  267. package/dist/components/{p-C_e0a6jQ.js → p-DSiVRqn-.js} +1 -1
  268. package/dist/components/{p-Ds5j-VXZ.js → p-DT1PR6Br.js} +1 -1
  269. package/dist/components/{p-gBEnKt4T.js → p-DTcPOR7t.js} +1 -1
  270. package/dist/components/{p-CugPCiPF.js → p-DTlvGHSC.js} +1 -1
  271. package/dist/components/{p-36vx_Mui.js → p-DU_5lopz.js} +1 -1
  272. package/dist/components/{p-B2RoJ1tz.js → p-DYpMIlQ4.js} +1 -1
  273. package/dist/components/{p-g5NPAxAj.js → p-De3mM3M-.js} +1 -1
  274. package/dist/components/{p-Bc2jtNZw.js → p-DeQvmRpj.js} +1 -1
  275. package/dist/components/{p-DC-3Hg9I.js → p-Dft337Ll.js} +1 -1
  276. package/dist/components/{p-BWqnoSw2.js → p-DstiJHuo.js} +1 -1
  277. package/dist/components/{p-D34dZlkT.js → p-Dvobsim-.js} +1 -1
  278. package/dist/components/{p-kGPSVdob.js → p-DxWuP9W-.js} +1 -1
  279. package/dist/components/{p-DNy6quyg.js → p-DzU0ms1z.js} +1 -1
  280. package/dist/components/{p-Btj1QSzG.js → p-EcdS-L-q.js} +1 -1
  281. package/dist/components/{p-GMH-Dp75.js → p-FJMslKrI.js} +1 -1
  282. package/dist/components/{p-Ic4M6IZs.js → p-H0SF5wed.js} +1 -1
  283. package/dist/components/{p-CjOKLEdP.js → p-IIcKCSrk.js} +1 -1
  284. package/dist/components/{p-BGaDuggr.js → p-Jrghj_Rb.js} +1 -1
  285. package/dist/components/{p-C07P-YzZ.js → p-Qr0iq3rP.js} +1 -1
  286. package/dist/components/{p-DxZ5v-a-.js → p-SuJdlCN6.js} +1 -1
  287. package/dist/components/{p-DPENu38v.js → p-TVGlb-lM.js} +1 -1
  288. package/dist/components/{p-msSLVaDl.js → p-TzHbL-Yw.js} +1 -1
  289. package/dist/components/{p-Zkjzr8ZL.js → p-W6qOF1ab.js} +1 -1
  290. package/dist/components/{p-IilUR0Z4.js → p-bf44p3D-.js} +1 -1
  291. package/dist/components/{p-BeJhcBfy.js → p-cWoLKHJ3.js} +1 -1
  292. package/dist/components/{p-C8IQnQjR.js → p-fQitJHsh.js} +1 -1
  293. package/dist/components/{p-B_Wn0VnS.js → p-l4woSzxj.js} +1 -1
  294. package/dist/components/{p-BugzZ4hY.js → p-lUHVcFOY.js} +1 -1
  295. package/dist/components/{p-vADJB1c2.js → p-pOJlVled.js} +1 -1
  296. package/dist/components/{p-B3ATJ-iD.js → p-p_mTGyE6.js} +1 -1
  297. package/dist/components/{p-B0Fo3cKf.js → p-qzUtJdPs.js} +1 -1
  298. package/dist/components/{p-BjZJaxt1.js → p-reX4rZOi.js} +1 -1
  299. package/dist/components/{p-CxPXk2ws.js → p-w39VkrD-.js} +1 -1
  300. package/dist/components/{p-BQMMBSP2.js → p-wCbKvvTJ.js} +1 -1
  301. package/dist/components/{p-CGVMdadq.js → p-woxb-Bmm.js} +1 -1
  302. package/dist/components/rtk-ai-toggle.js +1 -1
  303. package/dist/components/rtk-ai-transcriptions.js +1 -1
  304. package/dist/components/rtk-ai.js +1 -1
  305. package/dist/components/rtk-audio-grid.js +1 -1
  306. package/dist/components/rtk-audio-tile.js +1 -1
  307. package/dist/components/rtk-audio-visualizer.js +1 -1
  308. package/dist/components/rtk-avatar.js +1 -1
  309. package/dist/components/rtk-breakout-room-manager.js +1 -1
  310. package/dist/components/rtk-breakout-room-participants.js +1 -1
  311. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  312. package/dist/components/rtk-breakout-rooms-toggle.js +1 -1
  313. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  314. package/dist/components/rtk-camera-selector.js +1 -1
  315. package/dist/components/rtk-camera-toggle.js +1 -1
  316. package/dist/components/rtk-caption-toggle.js +1 -1
  317. package/dist/components/rtk-chat-composer-ui.js +1 -1
  318. package/dist/components/rtk-chat-composer-view.js +1 -1
  319. package/dist/components/rtk-chat-header.js +1 -1
  320. package/dist/components/rtk-chat-message.js +1 -1
  321. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  322. package/dist/components/rtk-chat-messages-ui.js +1 -1
  323. package/dist/components/rtk-chat-search-results.js +1 -1
  324. package/dist/components/rtk-chat-selector-ui.js +1 -1
  325. package/dist/components/rtk-chat-selector.js +1 -1
  326. package/dist/components/rtk-chat-toggle.js +1 -1
  327. package/dist/components/rtk-chat.js +1 -1
  328. package/dist/components/rtk-clock.js +1 -1
  329. package/dist/components/rtk-confirmation-modal.js +1 -1
  330. package/dist/components/rtk-controlbar-button.js +1 -1
  331. package/dist/components/rtk-controlbar.js +1 -1
  332. package/dist/components/rtk-counter.js +1 -1
  333. package/dist/components/rtk-debugger-audio.js +1 -1
  334. package/dist/components/rtk-debugger-screenshare.js +1 -1
  335. package/dist/components/rtk-debugger-system.js +1 -1
  336. package/dist/components/rtk-debugger-toggle.js +1 -1
  337. package/dist/components/rtk-debugger-video.js +1 -1
  338. package/dist/components/rtk-debugger.js +1 -1
  339. package/dist/components/rtk-dialog-manager.js +1 -1
  340. package/dist/components/rtk-dialog.js +1 -1
  341. package/dist/components/rtk-draft-attachment-view.js +1 -1
  342. package/dist/components/rtk-emoji-picker-button.js +1 -1
  343. package/dist/components/rtk-emoji-picker.js +1 -1
  344. package/dist/components/rtk-ended-screen.js +1 -1
  345. package/dist/components/rtk-file-dropzone.js +1 -1
  346. package/dist/components/rtk-file-message-view.js +1 -1
  347. package/dist/components/rtk-file-message.js +1 -1
  348. package/dist/components/rtk-file-picker-button.js +1 -1
  349. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  350. package/dist/components/rtk-grid-pagination.js +1 -1
  351. package/dist/components/rtk-grid.js +1 -1
  352. package/dist/components/rtk-header.js +1 -1
  353. package/dist/components/rtk-idle-screen.js +1 -1
  354. package/dist/components/rtk-image-message-view.js +1 -1
  355. package/dist/components/rtk-image-message.js +1 -1
  356. package/dist/components/rtk-image-viewer.js +1 -1
  357. package/dist/components/rtk-information-tooltip.js +1 -1
  358. package/dist/components/rtk-join-stage.js +1 -1
  359. package/dist/components/rtk-leave-button.js +1 -1
  360. package/dist/components/rtk-leave-meeting.js +1 -1
  361. package/dist/components/rtk-livestream-indicator.js +1 -1
  362. package/dist/components/rtk-livestream-player.js +1 -1
  363. package/dist/components/rtk-livestream-toggle.js +1 -1
  364. package/dist/components/rtk-logo.js +1 -1
  365. package/dist/components/rtk-meeting-title.js +1 -1
  366. package/dist/components/rtk-meeting.js +1 -1
  367. package/dist/components/rtk-menu-item.js +1 -1
  368. package/dist/components/rtk-menu-list.js +1 -1
  369. package/dist/components/rtk-menu.js +1 -1
  370. package/dist/components/rtk-message-list-view.js +1 -1
  371. package/dist/components/rtk-message-view.js +1 -1
  372. package/dist/components/rtk-mic-toggle.js +1 -1
  373. package/dist/components/rtk-microphone-selector.js +1 -1
  374. package/dist/components/rtk-mixed-grid.js +1 -1
  375. package/dist/components/rtk-more-toggle.js +1 -1
  376. package/dist/components/rtk-mute-all-button.js +1 -1
  377. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  378. package/dist/components/rtk-name-tag.js +1 -1
  379. package/dist/components/rtk-network-indicator.js +1 -1
  380. package/dist/components/rtk-notification.js +1 -1
  381. package/dist/components/rtk-notifications.js +1 -1
  382. package/dist/components/rtk-overlay-modal.js +1 -1
  383. package/dist/components/rtk-paginated-list.js +1 -1
  384. package/dist/components/rtk-participant-count.js +1 -1
  385. package/dist/components/rtk-participant-setup.js +1 -1
  386. package/dist/components/rtk-participant-tile.js +1 -1
  387. package/dist/components/rtk-participant.js +1 -1
  388. package/dist/components/rtk-participants-audio.js +1 -1
  389. package/dist/components/rtk-participants-stage-list.js +1 -1
  390. package/dist/components/rtk-participants-stage-queue.js +1 -1
  391. package/dist/components/rtk-participants-toggle.js +1 -1
  392. package/dist/components/rtk-participants-viewer-list.js +1 -1
  393. package/dist/components/rtk-participants-waiting-list.js +1 -1
  394. package/dist/components/rtk-participants.js +1 -1
  395. package/dist/components/rtk-permissions-message.js +1 -1
  396. package/dist/components/rtk-pinned-message-selector.js +1 -1
  397. package/dist/components/rtk-pip-toggle.js +1 -1
  398. package/dist/components/rtk-plugin-main.js +1 -1
  399. package/dist/components/rtk-plugins-toggle.js +1 -1
  400. package/dist/components/rtk-plugins.js +1 -1
  401. package/dist/components/rtk-poll-form.js +1 -1
  402. package/dist/components/rtk-poll.js +1 -1
  403. package/dist/components/rtk-polls-toggle.js +1 -1
  404. package/dist/components/rtk-polls.js +1 -1
  405. package/dist/components/rtk-recording-indicator.js +1 -1
  406. package/dist/components/rtk-recording-toggle.js +1 -1
  407. package/dist/components/rtk-screen-share-toggle.js +1 -1
  408. package/dist/components/rtk-screenshare-view.js +1 -1
  409. package/dist/components/rtk-settings-audio.js +1 -1
  410. package/dist/components/rtk-settings-toggle.js +1 -1
  411. package/dist/components/rtk-settings-video.js +1 -1
  412. package/dist/components/rtk-settings.js +1 -1
  413. package/dist/components/rtk-setup-screen.js +1 -1
  414. package/dist/components/rtk-sidebar-ui.js +1 -1
  415. package/dist/components/rtk-sidebar.js +1 -1
  416. package/dist/components/rtk-simple-grid.js +1 -1
  417. package/dist/components/rtk-speaker-selector.js +1 -1
  418. package/dist/components/rtk-spinner.js +1 -1
  419. package/dist/components/rtk-spotlight-grid.js +1 -1
  420. package/dist/components/rtk-spotlight-indicator.js +1 -1
  421. package/dist/components/rtk-stage-toggle.js +1 -1
  422. package/dist/components/rtk-stage.js +1 -1
  423. package/dist/components/rtk-switch.js +1 -1
  424. package/dist/components/rtk-tab-bar.js +1 -1
  425. package/dist/components/rtk-text-composer-view.js +1 -1
  426. package/dist/components/rtk-text-message-view.js +1 -1
  427. package/dist/components/rtk-text-message.js +1 -1
  428. package/dist/components/rtk-transcript.js +1 -1
  429. package/dist/components/rtk-transcripts.js +1 -1
  430. package/dist/components/rtk-ui-provider.js +1 -1
  431. package/dist/components/rtk-viewer-count.js +1 -1
  432. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  433. package/dist/components/rtk-waiting-screen.js +1 -1
  434. package/dist/docs/docs-components.json +2244 -251
  435. package/dist/docs/docs-vscode.json +5 -1
  436. package/dist/esm/{TextMessage-BZiVGmY1.js → TextMessage-Cisroi3Z.js} +1 -1
  437. package/dist/esm/{chat-lvouWi7J.js → chat-CNKqhbws.js} +1 -1
  438. package/dist/esm/{config-B2jDqnc2.js → config-DRqODcfp.js} +2 -2
  439. package/dist/esm/{debounce-aR8pwob-.js → debounce-B5AGeS26.js} +1 -1
  440. package/dist/esm/{index-CgECHQfr.js → index-vqQJVJal.js} +1 -1
  441. package/dist/esm/index.js +6 -6
  442. package/dist/esm/loader.js +387 -48
  443. package/dist/esm/realtimekit-ui.js +1 -1
  444. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  445. package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
  446. package/dist/esm/rtk-ai_3.entry.js +2 -2
  447. package/dist/esm/rtk-audio-grid.entry.js +2 -2
  448. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  449. package/dist/esm/rtk-audio-visualizer_3.entry.js +2 -2
  450. package/dist/esm/rtk-avatar_26.entry.js +9 -9
  451. package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
  452. package/dist/esm/rtk-breakout-rooms-manager_8.entry.js +2 -2
  453. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  454. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  455. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  456. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  457. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  458. package/dist/esm/rtk-chat-message.entry.js +2 -2
  459. package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
  460. package/dist/esm/rtk-chat-search-results.entry.js +2 -2
  461. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  462. package/dist/esm/rtk-chat-toggle.entry.js +2 -2
  463. package/dist/esm/rtk-clock.entry.js +2 -2
  464. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  465. package/dist/esm/rtk-controlbar.entry.js +2 -2
  466. package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
  467. package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
  468. package/dist/esm/rtk-debugger.entry.js +2 -2
  469. package/dist/esm/rtk-dialog-manager.entry.js +2 -2
  470. package/dist/esm/rtk-dialog.entry.js +2 -2
  471. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  472. package/dist/esm/rtk-file-dropzone.entry.js +2 -2
  473. package/dist/esm/rtk-file-message_3.entry.js +6 -6
  474. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  475. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  476. package/dist/esm/rtk-grid.entry.js +2 -2
  477. package/dist/esm/rtk-header.entry.js +2 -2
  478. package/dist/esm/rtk-idle-screen.entry.js +2 -2
  479. package/dist/esm/rtk-image-viewer.entry.js +2 -2
  480. package/dist/esm/rtk-information-tooltip.entry.js +2 -2
  481. package/dist/esm/rtk-leave-button.entry.js +2 -2
  482. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  483. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  484. package/dist/esm/rtk-logo.entry.js +2 -2
  485. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  486. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  487. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  488. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  489. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  490. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  491. package/dist/esm/rtk-name-tag.entry.js +2 -2
  492. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  493. package/dist/esm/rtk-notification.entry.js +4 -4
  494. package/dist/esm/rtk-notifications.entry.js +26 -4
  495. package/dist/esm/rtk-participant-count.entry.js +2 -2
  496. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  497. package/dist/esm/rtk-participant_2.entry.js +5 -5
  498. package/dist/esm/rtk-participants-audio.entry.js +2 -2
  499. package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
  500. package/dist/esm/rtk-participants-toggle.entry.js +2 -2
  501. package/dist/esm/rtk-participants.entry.js +3 -3
  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 +2 -2
  505. package/dist/esm/rtk-poll_2.entry.js +2 -2
  506. package/dist/esm/rtk-polls-toggle.entry.js +2 -2
  507. package/dist/esm/rtk-recording-indicator.entry.js +2 -2
  508. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  509. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  510. package/dist/esm/rtk-screenshare-view.entry.js +347 -34
  511. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  512. package/dist/esm/rtk-settings-toggle.entry.js +3 -3
  513. package/dist/esm/rtk-settings.entry.js +2 -2
  514. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  515. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  516. package/dist/esm/rtk-sidebar.entry.js +2 -2
  517. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  518. package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
  519. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  520. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  521. package/dist/esm/rtk-stage.entry.js +3 -3
  522. package/dist/esm/rtk-switch.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 +2 -2
  526. package/dist/esm/rtk-waiting-screen.entry.js +3 -3
  527. package/dist/esm/{ui-kit-metadata-DBkOnyOI.js → ui-kit-metadata-CIMhjc7J.js} +2 -2
  528. package/dist/esm/{ui-store-25wIB_YH.js → ui-store-GPnCYQx5.js} +4 -0
  529. package/dist/realtimekit-ui/index.esm.js +1 -1
  530. package/dist/realtimekit-ui/{p-a6b6f977.entry.js → p-0558ad3d.entry.js} +1 -1
  531. package/dist/realtimekit-ui/{p-2eb73b5f.entry.js → p-06dfb82f.entry.js} +1 -1
  532. package/dist/realtimekit-ui/{p-cdf80add.entry.js → p-0760dc9f.entry.js} +1 -1
  533. package/dist/realtimekit-ui/{p-f202a199.entry.js → p-0a9509ea.entry.js} +1 -1
  534. package/dist/realtimekit-ui/{p-00ae47eb.entry.js → p-0e89ddbe.entry.js} +1 -1
  535. package/dist/realtimekit-ui/{p-64b7ca52.entry.js → p-11d7c342.entry.js} +1 -1
  536. package/dist/realtimekit-ui/{p-22cd2a40.entry.js → p-151eb58e.entry.js} +1 -1
  537. package/dist/realtimekit-ui/p-1ff5cfd7.entry.js +1 -0
  538. package/dist/realtimekit-ui/{p-63413c07.entry.js → p-1ffa8cca.entry.js} +1 -1
  539. package/dist/realtimekit-ui/{p-d7b10d53.entry.js → p-226a8500.entry.js} +1 -1
  540. package/dist/realtimekit-ui/{p-1eac1ada.entry.js → p-25550cf9.entry.js} +1 -1
  541. package/dist/realtimekit-ui/{p-5ea44aa5.entry.js → p-266ca900.entry.js} +1 -1
  542. package/dist/realtimekit-ui/{p-dcced1f6.entry.js → p-352f5966.entry.js} +1 -1
  543. package/dist/realtimekit-ui/{p-94a286d0.entry.js → p-37feaeaf.entry.js} +1 -1
  544. package/dist/realtimekit-ui/{p-69e11a90.entry.js → p-39915b72.entry.js} +1 -1
  545. package/dist/realtimekit-ui/{p-aa1bcc8d.entry.js → p-3ade5cae.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-d91222ea.entry.js → p-3bb06c62.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-4d59e280.entry.js → p-3c813199.entry.js} +1 -1
  548. package/dist/realtimekit-ui/p-3d663797.entry.js +1 -0
  549. package/dist/realtimekit-ui/{p-828ecefa.entry.js → p-41bc3d1f.entry.js} +1 -1
  550. package/dist/realtimekit-ui/{p-a732dd55.entry.js → p-43c99dd3.entry.js} +1 -1
  551. package/dist/realtimekit-ui/p-452d0941.entry.js +1 -0
  552. package/dist/realtimekit-ui/p-577d3d6c.entry.js +1 -0
  553. package/dist/realtimekit-ui/{p-96b81823.entry.js → p-5a0a0b08.entry.js} +1 -1
  554. package/dist/realtimekit-ui/{p-b783a853.entry.js → p-5a2c4639.entry.js} +1 -1
  555. package/dist/realtimekit-ui/{p-df5b5a98.entry.js → p-5bbaaee6.entry.js} +1 -1
  556. package/dist/realtimekit-ui/{p-fbde8aee.entry.js → p-6747ca25.entry.js} +1 -1
  557. package/dist/realtimekit-ui/{p-b29b686b.entry.js → p-6b0a4780.entry.js} +1 -1
  558. package/dist/realtimekit-ui/{p-2f380c20.entry.js → p-6d87671d.entry.js} +1 -1
  559. package/dist/realtimekit-ui/{p-a5afae52.entry.js → p-6e07513b.entry.js} +1 -1
  560. package/dist/realtimekit-ui/{p-7878ab30.entry.js → p-700e62e5.entry.js} +1 -1
  561. package/dist/realtimekit-ui/p-70a4d8e8.entry.js +1 -0
  562. package/dist/realtimekit-ui/{p-cfa03301.entry.js → p-7275df7a.entry.js} +1 -1
  563. package/dist/realtimekit-ui/{p-39a410f5.entry.js → p-727ff3ca.entry.js} +1 -1
  564. package/dist/realtimekit-ui/{p-c35040dc.entry.js → p-7407e5fb.entry.js} +1 -1
  565. package/dist/realtimekit-ui/{p-3d95065e.entry.js → p-76bea9ba.entry.js} +1 -1
  566. package/dist/realtimekit-ui/p-7955b7c2.entry.js +1 -0
  567. package/dist/realtimekit-ui/{p-a478656f.entry.js → p-7c511cf6.entry.js} +1 -1
  568. package/dist/realtimekit-ui/{p-6a985345.entry.js → p-7dc40b64.entry.js} +1 -1
  569. package/dist/realtimekit-ui/{p-60f90e32.entry.js → p-831a4a72.entry.js} +1 -1
  570. package/dist/realtimekit-ui/{p-c7f7f0ee.entry.js → p-848260b5.entry.js} +1 -1
  571. package/dist/realtimekit-ui/{p-da857425.entry.js → p-8662827c.entry.js} +1 -1
  572. package/dist/realtimekit-ui/{p-73f2a2db.entry.js → p-8751b85c.entry.js} +1 -1
  573. package/dist/realtimekit-ui/p-8dbac5e8.entry.js +1 -0
  574. package/dist/realtimekit-ui/{p-8a481d43.entry.js → p-8e588d5b.entry.js} +1 -1
  575. package/dist/realtimekit-ui/{p-0ce5b00f.entry.js → p-9b8c79ab.entry.js} +1 -1
  576. package/dist/realtimekit-ui/{p-x7gw0EVy.js → p-B8OtSZCI.js} +1 -1
  577. package/dist/realtimekit-ui/{p-B3SWd1rN.js → p-CkEIiUAw.js} +1 -1
  578. package/dist/realtimekit-ui/p-DITWlMXR.js +1 -0
  579. package/dist/realtimekit-ui/{p-CGOvNX5H.js → p-Dk8hCkEY.js} +1 -1
  580. package/dist/realtimekit-ui/{p-DgbGa7ou.js → p-DkW8b_It.js} +1 -1
  581. package/dist/realtimekit-ui/{p-6bca148a.entry.js → p-a25790f7.entry.js} +1 -1
  582. package/dist/realtimekit-ui/{p-82a226df.entry.js → p-a634bf29.entry.js} +1 -1
  583. package/dist/realtimekit-ui/{p-590350ae.entry.js → p-aaad0c85.entry.js} +1 -1
  584. package/dist/realtimekit-ui/{p-95818179.entry.js → p-b40651e7.entry.js} +1 -1
  585. package/dist/realtimekit-ui/{p-3ab9b329.entry.js → p-b42581e5.entry.js} +1 -1
  586. package/dist/realtimekit-ui/{p-4b2ce9e5.entry.js → p-ba1b67a4.entry.js} +1 -1
  587. package/dist/realtimekit-ui/{p-3a0eaf1e.entry.js → p-c25ef602.entry.js} +1 -1
  588. package/dist/realtimekit-ui/{p-69ee90c7.entry.js → p-c620f917.entry.js} +1 -1
  589. package/dist/realtimekit-ui/{p-7d7409e5.entry.js → p-c7916a62.entry.js} +1 -1
  590. package/dist/realtimekit-ui/{p-69445dc5.entry.js → p-c7bd4da5.entry.js} +1 -1
  591. package/dist/realtimekit-ui/{p-8206b22d.entry.js → p-cb58b187.entry.js} +1 -1
  592. package/dist/realtimekit-ui/{p-7711649a.entry.js → p-cc198be3.entry.js} +1 -1
  593. package/dist/realtimekit-ui/{p-21119a4d.entry.js → p-cc509d39.entry.js} +1 -1
  594. package/dist/realtimekit-ui/{p-bef64365.entry.js → p-cea57cb7.entry.js} +1 -1
  595. package/dist/realtimekit-ui/{p-465c4010.entry.js → p-cfd6260a.entry.js} +1 -1
  596. package/dist/realtimekit-ui/{p-cc9228ee.entry.js → p-d0fe5d91.entry.js} +1 -1
  597. package/dist/realtimekit-ui/{p-b56fe105.entry.js → p-d3bfc744.entry.js} +1 -1
  598. package/dist/realtimekit-ui/{p-a1febe2c.entry.js → p-d3d39178.entry.js} +1 -1
  599. package/dist/realtimekit-ui/{p-18607b9a.entry.js → p-d3d70e76.entry.js} +1 -1
  600. package/dist/realtimekit-ui/{p-6568c9be.entry.js → p-d52833d6.entry.js} +1 -1
  601. package/dist/realtimekit-ui/{p-8dc6db09.entry.js → p-d797e61a.entry.js} +1 -1
  602. package/dist/realtimekit-ui/{p-2999cb8d.entry.js → p-d85eea5e.entry.js} +1 -1
  603. package/dist/realtimekit-ui/{p-32079fea.entry.js → p-da137b88.entry.js} +1 -1
  604. package/dist/realtimekit-ui/{p-13a913a9.entry.js → p-db426f29.entry.js} +1 -1
  605. package/dist/realtimekit-ui/p-dc302f4a.entry.js +1 -0
  606. package/dist/realtimekit-ui/{p-c8cad0a6.entry.js → p-de8820d1.entry.js} +1 -1
  607. package/dist/realtimekit-ui/{p-64f46d1e.entry.js → p-df7a6471.entry.js} +1 -1
  608. package/dist/realtimekit-ui/{p-60e672f3.entry.js → p-dfce1619.entry.js} +1 -1
  609. package/dist/realtimekit-ui/{p-0df18cd8.entry.js → p-e155abc4.entry.js} +1 -1
  610. package/dist/realtimekit-ui/{p-cf9e2497.entry.js → p-e1e2aa29.entry.js} +1 -1
  611. package/dist/realtimekit-ui/{p-467cb881.entry.js → p-e2131b56.entry.js} +1 -1
  612. package/dist/realtimekit-ui/{p-70672349.entry.js → p-e59aa67d.entry.js} +1 -1
  613. package/dist/realtimekit-ui/p-e7e918c5.entry.js +1 -0
  614. package/dist/realtimekit-ui/{p-54c71e62.entry.js → p-e9d6b2fc.entry.js} +1 -1
  615. package/dist/realtimekit-ui/{p-e54dbacd.entry.js → p-f8bd6ef6.entry.js} +1 -1
  616. package/dist/realtimekit-ui/{p-9675893b.entry.js → p-f9e1d361.entry.js} +1 -1
  617. package/dist/realtimekit-ui/p-fde9e0ea.entry.js +1 -0
  618. package/dist/realtimekit-ui/{p-Dj-6QheV.js → p-im1XlbcC.js} +1 -1
  619. package/dist/realtimekit-ui/{p-CRQsZMW5.js → p-wx9iq4MT.js} +1 -1
  620. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  621. package/dist/types/components/rtk-screenshare-view/rtk-screenshare-view.d.ts +31 -7
  622. package/dist/types/components.d.ts +20 -13
  623. package/dist/types/lib/lang/default-language.d.ts +4 -0
  624. package/package.json +1 -1
  625. package/dist/components/p--EktoJd3.js +0 -1
  626. package/dist/components/p-B5Ikq3LV.js +0 -1
  627. package/dist/components/p-aXMUeMjU.js +0 -1
  628. package/dist/realtimekit-ui/p-1ff01d5f.entry.js +0 -1
  629. package/dist/realtimekit-ui/p-20588357.entry.js +0 -1
  630. package/dist/realtimekit-ui/p-341159c7.entry.js +0 -1
  631. package/dist/realtimekit-ui/p-72b2fe54.entry.js +0 -1
  632. package/dist/realtimekit-ui/p-77648ee7.entry.js +0 -1
  633. package/dist/realtimekit-ui/p-9c53a0b7.entry.js +0 -1
  634. package/dist/realtimekit-ui/p-C8tHk7bV.js +0 -1
  635. package/dist/realtimekit-ui/p-a05269d4.entry.js +0 -1
  636. package/dist/realtimekit-ui/p-b415ff27.entry.js +0 -1
  637. package/dist/realtimekit-ui/p-c1efb757.entry.js +0 -1
  638. package/dist/realtimekit-ui/p-df0fe032.entry.js +0 -1
@@ -13,38 +13,140 @@ import { defaultIconPack } from "../../lib/icons";
13
13
  import { useLanguage } from "../../lib/lang";
14
14
  import { exitFullScreen, isFullScreenEnabled, isFullScreenSupported, requestFullScreen, } from "../../utils/full-screen";
15
15
  import { SyncWithStore } from "../../utils/sync-with-store";
16
+ const SCREEN_SHARE_VISIBILITY_MESSAGE = '__rtk_screenshare_visibility__';
17
+ let isScreenShareProgressRegistered = false;
16
18
  /**
17
- * A component which plays a participant's screenshared video.
19
+ * Displays a participant's shared screen.
18
20
  *
19
- * It also allows for placement of other components similar to `rtk-participant-tile`.
20
- *
21
- * This component will not render anything if the participant hasn't start screensharing.
21
+ * For a local share, shows which joined participants are not currently viewing it.
22
22
  */
23
23
  export class RtkScreenshareView {
24
24
  constructor() {
25
- this.screenShareListener = ({ screenShareEnabled, screenShareTracks, }) => {
26
- const enabled = screenShareEnabled && screenShareTracks.video != null;
25
+ this.pendingViewerIds = new Set();
26
+ // Stencil batches state assignments, but does not observe Set mutations.
27
+ this.viewerVisibilityRevision = 0;
28
+ this.handleScreenShareUpdate = ({ screenShareEnabled, screenShareTracks, }) => {
29
+ var _a, _b;
30
+ const hasScreenShareVideo = screenShareEnabled && (screenShareTracks === null || screenShareTracks === void 0 ? void 0 : screenShareTracks.video) != null;
31
+ if (((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id) === ((_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self.id)) {
32
+ this.updateLocalScreenShareVisibilityTracking(hasScreenShareVideo);
33
+ }
34
+ else {
35
+ this.prepareRemoteScreenShareVisibilityNotification(hasScreenShareVideo);
36
+ }
27
37
  writeTask(() => {
28
- this.screenShareEnabled = enabled;
38
+ this.screenShareEnabled = hasScreenShareVideo;
39
+ });
40
+ };
41
+ this.handleViewerJoined = (peer) => {
42
+ var _a, _b, _c, _d;
43
+ if (((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id) === ((_c = (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self) === null || _c === void 0 ? void 0 : _c.id)) {
44
+ this.trackJoinedViewerScreenshareVisibility(peer);
45
+ }
46
+ else if (peer.id === ((_d = this.participant) === null || _d === void 0 ? void 0 : _d.id)) {
47
+ // The sharer may have lost our earlier visibility report during reconnect.
48
+ this.lastNotifiedVisibility = undefined;
49
+ this.notifySharerOfScreenShareVisibility(true);
50
+ }
51
+ };
52
+ this.handleViewerLeft = (peer) => {
53
+ var _a, _b, _c;
54
+ if (((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id) === ((_c = (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self) === null || _c === void 0 ? void 0 : _c.id)) {
55
+ this.removeDepartedViewerVisibility(peer);
56
+ }
57
+ };
58
+ this.handleScreenShareVisibilityNotification = ({ type, payload, peerId, }) => {
59
+ var _a;
60
+ const meeting = this.meeting;
61
+ if (type !== SCREEN_SHARE_VISIBILITY_MESSAGE ||
62
+ meeting == null ||
63
+ ((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id) !== meeting.self.id ||
64
+ payload == null ||
65
+ typeof payload !== 'object') {
66
+ return;
67
+ }
68
+ const { sharerId, producerId, visible } = payload;
69
+ if (sharerId !== meeting.self.id ||
70
+ typeof producerId !== 'string' ||
71
+ typeof visible !== 'boolean' ||
72
+ producerId !== this.trackedScreenShareProducerId ||
73
+ !meeting.participants.joined.has(peerId)) {
74
+ return;
75
+ }
76
+ if (visible) {
77
+ if (!this.pendingViewerIds.delete(peerId)) {
78
+ return;
79
+ }
80
+ }
81
+ else {
82
+ if (this.pendingViewerIds.has(peerId)) {
83
+ return;
84
+ }
85
+ this.pendingViewerIds.add(peerId);
86
+ }
87
+ this.viewerVisibilityRevision++;
88
+ this.hidePendingViewerDetailsWhenEmpty();
89
+ };
90
+ this.notifySharerOfScreenShareVisibility = (visible, meeting, sharerId) => {
91
+ var _a, _b;
92
+ if (meeting === void 0) {
93
+ meeting = this.meeting;
94
+ }
95
+ if (sharerId === void 0) {
96
+ sharerId = (_a = this.participant) === null || _a === void 0 ? void 0 : _a.id;
97
+ }
98
+ if (!((_b = meeting === null || meeting === void 0 ? void 0 : meeting.participants) === null || _b === void 0 ? void 0 : _b.broadcastMessage) || !sharerId || sharerId === meeting.self.id) {
99
+ return;
100
+ }
101
+ const producerId = this.trackedScreenShareProducerId;
102
+ if (!producerId || (visible && !this.isActivelyViewingScreenShare())) {
103
+ return;
104
+ }
105
+ const last = this.lastNotifiedVisibility;
106
+ if ((!visible && !(last === null || last === void 0 ? void 0 : last.visible)) ||
107
+ ((last === null || last === void 0 ? void 0 : last.producerId) === producerId && last.visible === visible)) {
108
+ return;
109
+ }
110
+ const notification = { producerId, visible };
111
+ this.lastNotifiedVisibility = notification;
112
+ void meeting.participants
113
+ .broadcastMessage(SCREEN_SHARE_VISIBILITY_MESSAGE, { sharerId, producerId, visible }, { participantIds: [sharerId] })
114
+ .catch((error) => {
115
+ var _a, _b;
116
+ if (this.lastNotifiedVisibility === notification) {
117
+ this.lastNotifiedVisibility = undefined;
118
+ }
119
+ (_b = (_a = meeting.__internals__) === null || _a === void 0 ? void 0 : _a.logger) === null || _b === void 0 ? void 0 : _b.error('rtkScreenshareView::validateScreenShare', { error });
29
120
  });
30
121
  };
122
+ this.handleActiveTabUpdate = () => {
123
+ this.notifySharerOfScreenShareVisibility(this.isActivelyViewingScreenShare());
124
+ };
125
+ this.handleVideoPause = () => {
126
+ this.notifySharerOfScreenShareVisibility(false);
127
+ };
31
128
  this.onVideoRef = (el) => {
32
129
  var _a;
33
- if (el == null || el === this.videoEl)
130
+ if (el == null || el === this.videoEl) {
34
131
  return;
132
+ }
35
133
  this.videoEl = el;
36
134
  (_a = this.participant) === null || _a === void 0 ? void 0 : _a.registerScreenshareVideoElement(el);
37
135
  };
38
136
  this.fullScreenListener = () => {
39
137
  this.isFullScreen = isFullScreenEnabled();
40
138
  };
41
- this.participantScreenshareUpdate = (p) => {
42
- if (p.id !== this.participant.id)
139
+ this.handleRemoteParticipantScreenShareUpdate = (p) => {
140
+ var _a;
141
+ if (!p || p.id !== ((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id)) {
43
142
  return;
44
- this.screenShareListener(p);
143
+ }
144
+ this.handleScreenShareUpdate(p);
45
145
  };
46
146
  /** Hide full screen button */
47
147
  this.hideFullScreenButton = false;
148
+ /** Maximum number of pending viewer avatars shown before the overflow count */
149
+ this.maxVisibleViewerAvatars = 3;
48
150
  /** Position of name tag */
49
151
  this.nameTagPosition = 'bottom-left';
50
152
  /** Variant */
@@ -57,10 +159,12 @@ export class RtkScreenshareView {
57
159
  this.screenShareEnabled = false;
58
160
  this.isSwitchingScreen = false;
59
161
  this.isFullScreen = false;
162
+ this.showRemainingViewers = false;
60
163
  this.shareDifferentScreen = async () => {
61
164
  const meeting = this.meeting;
62
- if (meeting == null || this.isSwitchingScreen)
165
+ if (meeting == null || this.isSwitchingScreen) {
63
166
  return;
167
+ }
64
168
  this.isSwitchingScreen = true;
65
169
  try {
66
170
  await meeting.self.enableScreenShare();
@@ -83,52 +187,244 @@ export class RtkScreenshareView {
83
187
  }
84
188
  };
85
189
  }
190
+ getLocalScreenShareVideoProducerId() {
191
+ var _a, _b, _c, _d;
192
+ return (_d = (_c = (_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self) === null || _b === void 0 ? void 0 : _b.producers) === null || _c === void 0 ? void 0 : _c.find((producer) => { var _a; return (producer === null || producer === void 0 ? void 0 : producer.kind) === 'video' && ((_a = producer === null || producer === void 0 ? void 0 : producer.appData) === null || _a === void 0 ? void 0 : _a.screenShare) === true; })) === null || _d === void 0 ? void 0 : _d.id;
193
+ }
194
+ getRemoteScreenShareVideoProducerId() {
195
+ var _a, _b, _c, _d, _e, _f, _g;
196
+ const remotePeer = this.participant;
197
+ if (!(remotePeer === null || remotePeer === void 0 ? void 0 : remotePeer.id)) {
198
+ return;
199
+ }
200
+ return (_g = (_f = (_e = (_d = (_c = (_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.participants) === null || _b === void 0 ? void 0 : _b.joined) === null || _c === void 0 ? void 0 : _c.get) === null || _d === void 0 ? void 0 : _d.call(_c, remotePeer.id)) === null || _e === void 0 ? void 0 : _e.producers) === null || _f === void 0 ? void 0 : _f.find((producer) => (producer === null || producer === void 0 ? void 0 : producer.kind) === 'video' && (producer === null || producer === void 0 ? void 0 : producer.screenShare) === true)) === null || _g === void 0 ? void 0 : _g.producerId;
201
+ }
202
+ updateLocalScreenShareVisibilityTracking(enabled) {
203
+ const producerId = enabled ? this.getLocalScreenShareVideoProducerId() : undefined;
204
+ if (producerId === this.trackedScreenShareProducerId) {
205
+ return;
206
+ }
207
+ if (!producerId) {
208
+ this.resetScreenShareVisibilityTracking();
209
+ return;
210
+ }
211
+ this.startTrackingScreenShareVisibility(producerId);
212
+ }
213
+ prepareRemoteScreenShareVisibilityNotification(enabled) {
214
+ const producerId = enabled ? this.getRemoteScreenShareVideoProducerId() : undefined;
215
+ if (producerId === this.trackedScreenShareProducerId) {
216
+ return;
217
+ }
218
+ this.notifySharerOfScreenShareVisibility(false);
219
+ this.trackedScreenShareProducerId = producerId;
220
+ this.lastNotifiedVisibility = undefined;
221
+ }
222
+ startTrackingScreenShareVisibility(producerId) {
223
+ this.resetScreenShareVisibilityTracking();
224
+ this.trackedScreenShareProducerId = producerId;
225
+ // Each viewer must report seeing the current screen-share producer.
226
+ for (const viewerId of this.meeting.participants.joined.keys()) {
227
+ this.pendingViewerIds.add(viewerId);
228
+ }
229
+ this.viewerVisibilityRevision++;
230
+ }
231
+ resetScreenShareVisibilityTracking() {
232
+ this.trackedScreenShareProducerId = undefined;
233
+ this.lastNotifiedVisibility = undefined;
234
+ this.pendingViewerIds.clear();
235
+ this.viewerVisibilityRevision++;
236
+ this.previewedViewerId = undefined;
237
+ this.showRemainingViewers = false;
238
+ }
239
+ trackJoinedViewerScreenshareVisibility(peer) {
240
+ const meeting = this.meeting;
241
+ if (!meeting || !this.trackedScreenShareProducerId) {
242
+ return;
243
+ }
244
+ // A rejoined viewer needs to confirm the current share again.
245
+ this.pendingViewerIds.add(peer.id);
246
+ this.viewerVisibilityRevision++;
247
+ }
248
+ removeDepartedViewerVisibility(peer) {
249
+ const meeting = this.meeting;
250
+ if (!meeting || !this.trackedScreenShareProducerId) {
251
+ return;
252
+ }
253
+ if (meeting.participants.joined.has(peer.id)) {
254
+ return;
255
+ }
256
+ this.pendingViewerIds.delete(peer.id);
257
+ this.viewerVisibilityRevision++;
258
+ this.hidePendingViewerDetailsWhenEmpty();
259
+ }
260
+ hidePendingViewerDetailsWhenEmpty() {
261
+ if (this.pendingViewerIds.size > 0) {
262
+ return;
263
+ }
264
+ this.previewedViewerId = undefined;
265
+ this.showRemainingViewers = false;
266
+ }
267
+ isActivelyViewingScreenShare() {
268
+ var _a, _b, _c, _d, _e, _f, _g;
269
+ const tab = (_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.selfActiveTab;
270
+ const video = this.videoEl;
271
+ const participantId = (_c = this.participant) === null || _c === void 0 ? void 0 : _c.id;
272
+ const screenShareTrack = participantId
273
+ ? (_f = (_e = (_d = this.meeting) === null || _d === void 0 ? void 0 : _d.participants.joined.get(participantId)) === null || _e === void 0 ? void 0 : _e.screenShareTracks) === null || _f === void 0 ? void 0 : _f.video
274
+ : undefined;
275
+ const videoSource = video === null || video === void 0 ? void 0 : video.srcObject;
276
+ const attachedVideoTrack = videoSource && 'getVideoTracks' in videoSource ? videoSource.getVideoTracks()[0] : undefined;
277
+ // An already-playing element can still hold a frame from the previous share.
278
+ return (screenShareTrack != null &&
279
+ attachedVideoTrack === screenShareTrack &&
280
+ video != null &&
281
+ !video.paused &&
282
+ video.readyState >= video.HAVE_CURRENT_DATA &&
283
+ (tab == null || (tab.type === 'screenshare' && tab.id === ((_g = this.participant) === null || _g === void 0 ? void 0 : _g.id))));
284
+ }
86
285
  connectedCallback() {
286
+ if (!isScreenShareProgressRegistered &&
287
+ typeof CSS !== 'undefined' &&
288
+ typeof CSS.registerProperty === 'function') {
289
+ // Shadow-root @property rules do not register in Chromium.
290
+ try {
291
+ CSS.registerProperty({
292
+ name: '--rtk-screenshare-view-progress',
293
+ syntax: '<percentage>',
294
+ inherits: true,
295
+ initialValue: '0%',
296
+ });
297
+ }
298
+ catch (error) {
299
+ if (!(error instanceof DOMException && error.name === 'InvalidModificationError')) {
300
+ throw error;
301
+ }
302
+ }
303
+ isScreenShareProgressRegistered = true;
304
+ }
87
305
  window === null || window === void 0 ? void 0 : window.addEventListener('fullscreenchange', this.fullScreenListener);
88
306
  window === null || window === void 0 ? void 0 : window.addEventListener('webkitfullscreenchange', this.fullScreenListener);
89
- this.participantChanged(this.participant);
307
+ this.meetingChanged(this.meeting);
90
308
  }
91
309
  disconnectedCallback() {
310
+ this.notifySharerOfScreenShareVisibility(false);
92
311
  this.cleanupParticipant(this.participant);
312
+ this.cleanupMeeting(this.meeting);
93
313
  window === null || window === void 0 ? void 0 : window.removeEventListener('fullscreenchange', this.fullScreenListener);
94
314
  window === null || window === void 0 ? void 0 : window.removeEventListener('webkitfullscreenchange', this.fullScreenListener);
95
315
  }
96
316
  participantChanged(participant, oldParticipant) {
97
317
  // The SDK ignores a video element that another participant still manages
98
318
  this.cleanupParticipant(oldParticipant);
99
- if (participant == null)
319
+ if ((oldParticipant === null || oldParticipant === void 0 ? void 0 : oldParticipant.id) !== (participant === null || participant === void 0 ? void 0 : participant.id)) {
320
+ this.notifySharerOfScreenShareVisibility(false, this.meeting, oldParticipant === null || oldParticipant === void 0 ? void 0 : oldParticipant.id);
321
+ this.resetScreenShareVisibilityTracking();
322
+ }
323
+ else if (oldParticipant && oldParticipant !== participant) {
324
+ // A fresh participant object can reattach the same producer to a new video track.
325
+ this.lastNotifiedVisibility = undefined;
326
+ }
327
+ if (participant == null) {
100
328
  return;
329
+ }
101
330
  // On first load the video element is registered once it renders, see onVideoRef
102
- if (this.videoEl)
331
+ if (this.videoEl) {
103
332
  participant.registerScreenshareVideoElement(this.videoEl);
104
- if (!this.meeting)
333
+ }
334
+ if (!this.meeting) {
335
+ return;
336
+ }
337
+ this.handleScreenShareUpdate(participant);
338
+ if (oldParticipant && oldParticipant !== participant) {
339
+ this.notifySharerOfScreenShareVisibility(true);
340
+ }
341
+ if (participant.id === this.meeting.self.id) {
342
+ participant.addListener('screenShareUpdate', this.handleScreenShareUpdate);
343
+ }
344
+ else {
345
+ this.meeting.participants.joined.addListener('screenShareUpdate', this.handleRemoteParticipantScreenShareUpdate);
346
+ }
347
+ }
348
+ meetingChanged(meeting, oldMeeting) {
349
+ var _a, _b, _c, _d;
350
+ if (oldMeeting) {
351
+ this.notifySharerOfScreenShareVisibility(false, oldMeeting);
352
+ this.cleanupParticipant(this.participant, oldMeeting);
353
+ this.cleanupMeeting(oldMeeting);
354
+ }
355
+ this.resetScreenShareVisibilityTracking();
356
+ if (!meeting) {
357
+ return;
358
+ }
359
+ (_b = (_a = meeting.participants).addListener) === null || _b === void 0 ? void 0 : _b.call(_a, 'broadcastedMessage', this.handleScreenShareVisibilityNotification);
360
+ meeting.participants.joined.addListener('participantJoined', this.handleViewerJoined);
361
+ meeting.participants.joined.addListener('participantLeft', this.handleViewerLeft);
362
+ (_c = meeting.meta) === null || _c === void 0 ? void 0 : _c.addListener('selfTabUpdate', this.handleActiveTabUpdate);
363
+ (_d = meeting.meta) === null || _d === void 0 ? void 0 : _d.addListener('activeTabUpdate', this.handleActiveTabUpdate);
364
+ this.participantChanged(this.participant);
365
+ }
366
+ cleanupMeeting(meeting) {
367
+ var _a, _b, _c, _d;
368
+ this.resetScreenShareVisibilityTracking();
369
+ if (!meeting) {
105
370
  return;
106
- this.screenShareListener(participant);
107
- if (participant.id === this.meeting.self.id)
108
- participant.addListener('screenShareUpdate', this.screenShareListener);
109
- else
110
- this.meeting.participants.joined.addListener('screenShareUpdate', this.participantScreenshareUpdate);
371
+ }
372
+ (_b = (_a = meeting.participants).removeListener) === null || _b === void 0 ? void 0 : _b.call(_a, 'broadcastedMessage', this.handleScreenShareVisibilityNotification);
373
+ meeting.participants.joined.removeListener('participantJoined', this.handleViewerJoined);
374
+ meeting.participants.joined.removeListener('participantLeft', this.handleViewerLeft);
375
+ (_c = meeting.meta) === null || _c === void 0 ? void 0 : _c.removeListener('selfTabUpdate', this.handleActiveTabUpdate);
376
+ (_d = meeting.meta) === null || _d === void 0 ? void 0 : _d.removeListener('activeTabUpdate', this.handleActiveTabUpdate);
111
377
  }
112
- cleanupParticipant(participant) {
113
- if (participant == null)
378
+ cleanupParticipant(participant, meeting = this.meeting) {
379
+ if (participant == null) {
114
380
  return;
115
- if (this.videoEl)
381
+ }
382
+ if (this.videoEl) {
116
383
  participant.deregisterScreenshareVideoElement(this.videoEl);
117
- if (!this.meeting)
384
+ }
385
+ if (!meeting) {
118
386
  return;
119
- if (participant.id === this.meeting.self.id)
120
- participant.removeListener('screenShareUpdate', this.screenShareListener);
121
- else
122
- this.meeting.participants.joined.removeListener('screenShareUpdate', this.participantScreenshareUpdate);
387
+ }
388
+ if (participant.id === meeting.self.id) {
389
+ participant.removeListener('screenShareUpdate', this.handleScreenShareUpdate);
390
+ }
391
+ else {
392
+ meeting.participants.joined.removeListener('screenShareUpdate', this.handleRemoteParticipantScreenShareUpdate);
393
+ }
123
394
  }
124
395
  render() {
125
396
  var _a, _b, _c;
126
397
  const isSelf = ((_a = this.participant) === null || _a === void 0 ? void 0 : _a.id) === ((_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self.id);
398
+ const trackedViewerCount = this.trackedScreenShareProducerId && this.meeting ? this.meeting.participants.joined.size : 0;
399
+ const pendingViewerCount = this.pendingViewerIds.size;
400
+ const noViewersActive = trackedViewerCount > 0 && pendingViewerCount === trackedViewerCount;
401
+ const confirmationProgress = trackedViewerCount > 0
402
+ ? ((trackedViewerCount - pendingViewerCount) / trackedViewerCount) * 100
403
+ : 0;
404
+ const showVisibilityStatus = isSelf && trackedViewerCount > 0;
405
+ const allViewersConfirmed = pendingViewerCount === 0;
406
+ const displayedPendingViewers = [];
407
+ const additionalPendingViewers = [];
408
+ if (showVisibilityStatus && !noViewersActive && !allViewersConfirmed) {
409
+ for (const viewerId of this.pendingViewerIds) {
410
+ const viewer = this.meeting.participants.joined.get(viewerId);
411
+ if (!viewer) {
412
+ continue;
413
+ }
414
+ if (displayedPendingViewers.length < this.maxVisibleViewerAvatars) {
415
+ displayedPendingViewers.push(viewer);
416
+ }
417
+ else if (this.showRemainingViewers) {
418
+ additionalPendingViewers.push(viewer);
419
+ }
420
+ }
421
+ }
422
+ const additionalPendingViewerCount = Math.max(0, pendingViewerCount - displayedPendingViewers.length);
127
423
  const text = this.isFullScreen ? this.t('full_screen.exit') : this.t('full_screen');
128
424
  const icon = this.isFullScreen
129
425
  ? this.iconPack.full_screen_minimize
130
426
  : this.iconPack.full_screen_maximize;
131
- return (h(Host, { key: '194efb9fa8783a441c8050ebab07a2d3546446bf', class: { isSelf } }, h("div", { key: "video-container", id: "video-container", class: { expand: this.videoExpanded } }, h("video", { key: 'de008c1a856ba19e766c03b71b1be492a9975261', ref: this.onVideoRef, class: {
427
+ return (h(Host, { key: '6986b5c16de2056d97623e685745c6990496babc', class: { isSelf } }, h("div", { key: "video-container", id: "video-container", class: { expand: this.videoExpanded } }, h("video", { key: 'c83c791c578fe1b7c4d669d0ffe0f1596e17a780', ref: this.onVideoRef, class: {
132
428
  visible: this.screenShareEnabled,
133
429
  'fit-in-container': this.participant.supportsRemoteControl,
134
430
  }, playsInline: true, onPlay: () => {
@@ -136,15 +432,27 @@ export class RtkScreenshareView {
136
432
  screenshareParticipant: this.participant,
137
433
  participant: this.meeting.self,
138
434
  });
139
- }, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: 'bf9a96bcba99bb9cf13bbcf572e5a9b71d53498b', label: text }, h("rtk-button", { key: '06a5eb9396056114d9e1a339454e782b9c533a9b', id: "full-screen-btn", kind: "icon", onClick: this.toggleFullScreen, title: text }, h("rtk-icon", { key: 'fa4e499769a910ceb9b2bffa6668db83adbad135', icon: icon, "aria-hidden": true, tabIndex: -1 }))))), isSelf && (h("div", { id: "self-message", key: "self-message" }, h("h3", { key: '1650592e64dd44004a53ccc168ab7138c78ea7f4' }, this.t('screenshare.shared')), h("div", { key: 'd09216ab62012e1d2d445b8f080ae18786fc197e', class: "actions" }, this.meeting != null && (h("rtk-button", { key: 'f4e8c65eaaf40190eb566eb473d7932411731793', variant: "danger", onClick: () => {
435
+ }, onPlaying: () => this.notifySharerOfScreenShareVisibility(true), onLoadedData: () => {
436
+ if (this.videoEl && !this.videoEl.paused) {
437
+ this.notifySharerOfScreenShareVisibility(true);
438
+ }
439
+ }, onPause: this.handleVideoPause, onEnded: this.handleVideoPause, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: '17221ecf03be22834b3b1b23286dd075cfa885b1', label: text }, h("rtk-button", { key: 'c1414141153ff0c9a37bc849017e724811e8d536', id: "full-screen-btn", kind: "icon", onClick: this.toggleFullScreen, title: text }, h("rtk-icon", { key: '232665f29a058ab86a609025e7c369ace53f0368', icon: icon, "aria-hidden": true, tabIndex: -1 }))))), isSelf && (h("div", { id: "self-message", key: "self-message" }, h("h3", { key: '06a04f7f2feadba54a4c54f0cacd6c4bc557923f' }, this.t('screenshare.shared')), h("div", { key: '4e1df4b305d5e4843cac9ae670ac8ff1a77648fa', class: "actions" }, this.meeting != null && (h("rtk-button", { key: '74d2f1793363035a32dc478585d3b5a02d7fdbea', variant: "danger", onClick: () => {
140
440
  this.meeting.self.disableScreenShare();
141
- } }, h("rtk-icon", { key: '215fd1e658442e6f9c70ee5f7cabcd22e0901886', icon: this.iconPack.share_screen_stop, slot: "start" }), this.t('screenshare.stop'))), this.meeting != null && (h("rtk-button", { key: 'a73b3774901661020ef20e9e48dc81a4277cc471', variant: "secondary", disabled: this.isSwitchingScreen, onClick: this.shareDifferentScreen }, h("rtk-icon", { key: 'f9a4304e8cb648f5f2ca6ee650f6b512e86f1833', icon: (_c = this.iconPack.share_screen_different) !== null && _c !== void 0 ? _c : this.iconPack.share_screen_start, slot: "start" }), this.t('screenshare.share_different_screen'))), h("rtk-button", { key: 'b2f93bd50018b9a727860014d0d4c33ab8a23334', variant: "secondary", id: "expand-btn", onClick: () => {
441
+ } }, h("rtk-icon", { key: '4c4cbf01b1cf9286953ccfb4b40b841eb8203e8b', icon: this.iconPack.share_screen_stop, slot: "start" }), this.t('screenshare.stop'))), this.meeting != null && (h("rtk-button", { key: '9fe208d836de4daa414767db5b4e738ec53ce505', variant: "secondary", disabled: this.isSwitchingScreen, onClick: this.shareDifferentScreen }, h("rtk-icon", { key: '4040344624fdd4019fa7acdd3a4f2004d68ec3f7', icon: (_c = this.iconPack.share_screen_different) !== null && _c !== void 0 ? _c : this.iconPack.share_screen_start, slot: "start" }), this.t('screenshare.share_different_screen'))), h("rtk-button", { key: 'ed8b81b5ad16e2203bffe36651950ba882151d62', variant: "secondary", id: "expand-btn", onClick: () => {
142
442
  this.videoExpanded = !this.videoExpanded;
143
- } }, h("rtk-icon", { key: '40d5bb9a3dfc648035b946ced0c584b3a6312100', icon: this.videoExpanded
443
+ } }, h("rtk-icon", { key: '23266b23609ce8696652bb3cd3d74bbe779d7262', icon: this.videoExpanded
144
444
  ? this.iconPack.full_screen_minimize
145
445
  : this.iconPack.full_screen_maximize, slot: "start" }), this.videoExpanded
146
446
  ? this.t('screenshare.min_preview')
147
- : this.t('screenshare.max_preview'))))), h("slot", { key: 'a2908fef4320f0bf4408a6a07d2ba4bea0acdc4c' })));
447
+ : this.t('screenshare.max_preview'))))), showVisibilityStatus && (h("div", { key: '2b42d6f65ca92fdc92354f6afc6e1bb322dfd952', class: "validation-status", role: "status", "aria-live": "polite" }, allViewersConfirmed ? (h("span", { class: "all-visible" }, this.t('screenshare.visibility.all'))) : noViewersActive ? (h("span", { class: "none-visible" }, this.t('screenshare.visibility.none'))) : (h("div", { class: "waiting-viewers" }, h("span", null, this.t('screenshare.visibility.not_viewing')), h("div", { class: "pending-avatars" }, displayedPendingViewers.map((peer) => (h("button", { key: peer.id, class: "avatar-trigger", type: "button", "aria-label": peer.name, onMouseEnter: () => (this.previewedViewerId = peer.id), onMouseLeave: () => (this.previewedViewerId = undefined), onFocus: () => (this.previewedViewerId = peer.id), onBlur: () => (this.previewedViewerId = undefined), onClick: () => (this.previewedViewerId = peer.id) }, h("rtk-avatar", { participant: peer, size: "sm", iconPack: this.iconPack, t: this.t }), this.previewedViewerId === peer.id && (h("span", { class: "viewer-name", "aria-hidden": "true" }, peer.name))))), additionalPendingViewerCount > 0 && (h("button", { class: "more-avatar", type: "button", "aria-label": `${this.t('screenshare.visibility.more')} ${additionalPendingViewerCount}`, "aria-expanded": this.showRemainingViewers, "aria-controls": this.showRemainingViewers ? 'remaining-viewers' : undefined, onClick: () => (this.showRemainingViewers = !this.showRemainingViewers), onBlur: () => (this.showRemainingViewers = false), onKeyDown: (event) => {
448
+ if (event.key === 'Escape') {
449
+ this.showRemainingViewers = false;
450
+ }
451
+ } }, "+", additionalPendingViewerCount))), this.showRemainingViewers && additionalPendingViewerCount > 0 && (h("div", { id: "remaining-viewers", class: "remaining-viewers", role: "list" }, additionalPendingViewers.map((peer) => (h("div", { class: "remaining-viewer", role: "listitem", key: peer.id }, h("rtk-avatar", { participant: peer, size: "sm", iconPack: this.iconPack, t: this.t }), h("span", null, peer.name)))))))))), showVisibilityStatus && (h("div", { key: '834ab58b84f6e8471ddc40f9a2ba210cf3390968', class: {
452
+ 'validation-border': true,
453
+ 'none-active': noViewersActive,
454
+ complete: allViewersConfirmed,
455
+ }, style: { '--validation-progress': `${noViewersActive ? 100 : confirmationProgress}%` }, "aria-hidden": "true" })), h("slot", { key: '63e420aff5f60c85c1c1f5031740e37ff4620214' })));
148
456
  }
149
457
  static get is() { return "rtk-screenshare-view"; }
150
458
  static get encapsulation() { return "shadow"; }
@@ -180,6 +488,26 @@ export class RtkScreenshareView {
180
488
  "attribute": "hide-full-screen-button",
181
489
  "defaultValue": "false"
182
490
  },
491
+ "maxVisibleViewerAvatars": {
492
+ "type": "number",
493
+ "mutable": false,
494
+ "complexType": {
495
+ "original": "number",
496
+ "resolved": "number",
497
+ "references": {}
498
+ },
499
+ "required": false,
500
+ "optional": false,
501
+ "docs": {
502
+ "tags": [],
503
+ "text": "Maximum number of pending viewer avatars shown before the overflow count"
504
+ },
505
+ "getter": false,
506
+ "setter": false,
507
+ "reflect": false,
508
+ "attribute": "max-visible-viewer-avatars",
509
+ "defaultValue": "3"
510
+ },
183
511
  "nameTagPosition": {
184
512
  "type": "string",
185
513
  "mutable": false,
@@ -324,7 +652,7 @@ export class RtkScreenshareView {
324
652
  "mutable": false,
325
653
  "complexType": {
326
654
  "original": "RtkI18n",
327
- "resolved": "(key: \"pin\" | \"unpin\" | \"kick\" | \"ended\" | \"disconnected\" | \"failed\" | \"type\" | \"end\" | \"joined\" | \"pinned\" | \"join\" | \"participants\" | \"logo\" | \"audio\" | \"search\" | \"video\" | \"image\" | \"chat\" | \"polls\" | \"leave\" | \"plugins\" | \"(you)\" | (string & {}) | \"about_call\" | \"screen\" | \"camera\" | \"dismiss\" | \"page\" | \"more\" | \"page.prev\" | \"page.next\" | \"layout\" | \"layout.auto\" | \"settings\" | \"file\" | \"connection\" | \"leave_confirmation\" | \"cancel\" | \"yes\" | \"you\" | \"everyone\" | \"to\" | \"mute\" | \"accept\" | \"pip_on\" | \"pip_off\" | \"viewers\" | \"create\" | \"close\" | \"ask\" | \"activate\" | \"requests\" | \"mic_off\" | \"disable_mic\" | \"mic_on\" | \"enable_mic\" | \"test\" | \"minimize\" | \"maximize\" | \"mute_all\" | \"mute_all.description\" | \"mute_all.header\" | \"mute_all.allow_unmute\" | \"video_off\" | \"disable_video\" | \"video_on\" | \"enable_video\" | \"offline\" | \"offline.description\" | \"failed.description\" | \"disconnected.description\" | \"participants.errors.empty_results\" | \"participants.empty_list\" | \"participants.no_pending_requests\" | \"participants.turn_off_video\" | \"polls.by\" | \"polls.question\" | \"polls.question.placeholder\" | \"polls.answers\" | \"polls.option\" | \"polls.option.placeholder\" | \"polls.results.anon\" | \"polls.results.hide\" | \"polls.create\" | \"polls.cancel\" | \"polls.empty\" | \"polls.errors.question_required\" | \"polls.errors.empty_option\" | \"screenshare\" | \"screenshare.min_preview\" | \"screenshare.max_preview\" | \"screenshare.shared\" | \"screenshare.start\" | \"screenshare.share_different_screen\" | \"screenshare.menu\" | \"screenshare.stop\" | \"screenshare.error.unknown\" | \"screenshare.error.max_count\" | \"plugins.empty\" | \"perm_denied\" | \"perm_denied.audio\" | \"perm_denied.video\" | \"perm_denied.screenshare\" | \"perm_denied.audio.chrome.message\" | \"perm_denied.video.chrome.message\" | \"perm_denied.screenshare.chrome.message\" | \"perm_denied.audio.safari.message\" | \"perm_denied.video.safari.message\" | \"perm_denied.screenshare.safari.message\" | \"perm_denied.audio.edge.message\" | \"perm_denied.video.edge.message\" | \"perm_denied.screenshare.edge.message\" | \"perm_denied.audio.microsoft edge.message\" | \"perm_denied.video.microsoft edge.message\" | \"perm_denied.screenshare.microsoft edge.message\" | \"perm_denied.audio.firefox.message\" | \"perm_denied.video.firefox.message\" | \"perm_denied.screenshare.firefox.message\" | \"perm_denied.audio.others.message\" | \"perm_denied.video.others.message\" | \"perm_denied.screenshare.others.message\" | \"perm_sys_denied\" | \"perm_sys_denied.audio\" | \"perm_sys_denied.video\" | \"perm_sys_denied.screenshare\" | \"perm_sys_denied.audio.macos.message\" | \"perm_sys_denied.video.macos.message\" | \"perm_sys_denied.screenshare.macos.message\" | \"perm_sys_denied.audio.ios.message\" | \"perm_sys_denied.video.ios.message\" | \"perm_sys_denied.screenshare.ios.message\" | \"perm_sys_denied.audio.windows.message\" | \"perm_sys_denied.video.windows.message\" | \"perm_sys_denied.screenshare.windows.message\" | \"perm_sys_denied.audio.android.message\" | \"perm_sys_denied.video.android.message\" | \"perm_sys_denied.screenshare.android.message\" | \"perm_sys_denied.audio.others.message\" | \"perm_sys_denied.video.others.message\" | \"perm_sys_denied.screenshare.others.message\" | \"perm_could_not_start\" | \"perm_could_not_start.audio\" | \"perm_could_not_start.video\" | \"perm_could_not_start.screenshare\" | \"perm_could_not_start.audio.message\" | \"perm_could_not_start.video.message\" | \"perm_could_not_start.screenshare.message\" | \"full_screen\" | \"full_screen.exit\" | \"waitlist.header_title\" | \"waitlist.body_text\" | \"waitlist.deny_request\" | \"waitlist.accept_request\" | \"waitlist.accept_all\" | \"stage_request.header_title\" | \"stage_request.deny_request\" | \"stage_request.accept_request\" | \"stage_request.accept_all\" | \"stage_request.deny_all\" | \"stage_request.approval_pending\" | \"stage_request.denied\" | \"stage_request.request\" | \"stage_request.requested\" | \"stage_request.cancel_request\" | \"stage_request.leave_stage\" | \"stage_request.request_tip\" | \"stage_request.leave_tip\" | \"stage_request.pending_tip\" | \"stage_request.denied_tip\" | \"stage.empty_host\" | \"stage.empty_host_summary\" | \"stage.empty_viewer\" | \"stage.remove_from_stage\" | \"stage.invited_notification\" | \"stage.add_to_stage\" | \"stage.join_title\" | \"stage.join_summary\" | \"stage.join_cancel\" | \"stage.join_confirm\" | \"setup_screen.join_in_as\" | \"setup_screen.your_name\" | \"stage.reconnecting\" | \"recording.label\" | \"recording.indicator\" | \"recording.started\" | \"recording.stopped\" | \"recording.paused\" | \"recording.error.start\" | \"recording.error.already_recording\" | \"recording.error.stop\" | \"recording.error.resume\" | \"recording.start\" | \"recording.stop\" | \"recording.resume\" | \"recording.starting\" | \"recording.stopping\" | \"recording.loading\" | \"recording.idle\" | \"audio_playback\" | \"audio_playback.title\" | \"audio_playback.description\" | \"breakout_rooms\" | \"breakout_rooms.room_config_header\" | \"breakout_rooms.join_breakout_header\" | \"breakout_rooms.empty\" | \"breakout_rooms.delete\" | \"breakout_rooms.switch\" | \"breakout_rooms.main_room\" | \"breakout_rooms.shuffle_participants\" | \"breakout_rooms.deselect\" | \"breakout_rooms.selected\" | \"breakout_rooms.num_of_rooms\" | \"breakout_rooms.approx\" | \"breakout_rooms.participants_per_room\" | \"breakout_rooms.division_text\" | \"breakout_rooms.start_breakout\" | \"breakout_rooms.close_breakout\" | \"breakout_rooms.update_breakout\" | \"breakout_rooms.discard_changes\" | \"breakout_rooms.room\" | \"breakout_rooms.rooms\" | \"breakout_rooms.room_name\" | \"breakout_rooms.edit_room_name\" | \"breakout_rooms.save_room_name\" | \"breakout_rooms.add_room\" | \"breakout_rooms.add_room_brief\" | \"breakout_rooms.select_all\" | \"breakout_rooms.unassign_all\" | \"breakout_rooms.assign\" | \"breakout_rooms.assign_participants\" | \"breakout_rooms.none_assigned\" | \"breakout_rooms.drag_drop_participants\" | \"breakout_rooms.click_drop_participants\" | \"breakout_rooms.status.assign_multiple\" | \"breakout_rooms.status.select_room\" | \"breakout_rooms.ephemeral_status.participants_assigned\" | \"breakout_rooms.ephemeral_status.participants_assigned_randomly\" | \"breakout_rooms.ephemeral_status.changes_discarded\" | \"breakout_rooms.confirm_modal.start_breakout.header\" | \"breakout_rooms.confirm_modal.start_breakout.content\" | \"breakout_rooms.confirm_modal.start_breakout.cancelText\" | \"breakout_rooms.confirm_modal.start_breakout.ctaText\" | \"breakout_rooms.confirm_modal.close_breakout.header\" | \"breakout_rooms.confirm_modal.close_breakout.content\" | \"breakout_rooms.confirm_modal.close_breakout.ctaText\" | \"breakout_rooms.move_reason.started_msg\" | \"breakout_rooms.move_reason.started_desc\" | \"breakout_rooms.move_reason.closed_msg\" | \"breakout_rooms.move_reason.closed_desc\" | \"breakout_rooms.move_reason.switch_room\" | \"breakout_rooms.move_reason.switch_main_room\" | \"breakout_rooms.all_assigned\" | \"breakout_rooms.empty_main_room\" | \"breakout_rooms.leave_confirmation\" | \"breakout_rooms.leave_confirmation.main_room_btn\" | \"ai\" | \"ai.meeting_ai\" | \"ai.home\" | \"ai.transcriptions\" | \"ai.personal\" | \"ai.caption_view\" | \"ai.chat.tooltip\" | \"ai.chat.summarize\" | \"ai.chat.agenda\" | \"ai.transcriptions.search_placeholder\" | \"ai.transcriptions.no_transcripts_found\" | \"ai.transcriptions.no_transcripts_yet\" | \"search.could_not_find\" | \"search.empty\" | \"end.all\" | \"ended.rejected\" | \"ended.left\" | \"ended.kicked\" | \"ended.disconnected\" | \"ended.network\" | \"ended.unauthorized\" | \"network\" | \"network.reconnecting\" | \"network.delay_extended\" | \"network.disconnected\" | \"network.leaving\" | \"network.restored\" | \"network.delay\" | \"network.lost\" | \"network.lost_extended\" | \"network.troubleshoot\" | \"init.auth_error\" | \"init.token_not_yet_valid\" | \"init.token_expired\" | \"init.token_revoked\" | \"init.token_invalid\" | \"init.meeting_inactive\" | \"init.network_error\" | \"init.browser_error\" | \"init.default_error\" | \"join.network_error\" | \"join.media_error\" | \"join.media_firewall_error\" | \"join.default_error\" | \"join.error_code\" | \"livestream\" | \"livestream.indicator\" | \"livestream.skip\" | \"livestream.idle\" | \"livestream.starting\" | \"livestream.stopping\" | \"livestream.waiting_on_manual_ingestion\" | \"livestream.error.not_supported\" | \"livestream.error.not_found\" | \"livestream.error.unknown\" | \"livestream.error.sync\" | \"livestream.error.start\" | \"livestream.error.stop\" | \"livestream.go_live\" | \"livestream.end_live\" | \"livestream.error\" | \"cta.help\" | \"cta.continue\" | \"cta.reload\" | \"cta.confirmation\" | \"cta.system_settings\" | \"remote_access.empty\" | \"remote_access.requests\" | \"remote_access.allow\" | \"remote_access.grant\" | \"remote_access.indicator\" | \"chat.new\" | \"chat.max_limit_warning\" | \"chat.rate_limit_error\" | \"chat.member_name\" | \"chat.add_members\" | \"chat.delete_msg\" | \"chat.edit_msg\" | \"chat.send_msg\" | \"chat.send_attachment\" | \"chat.send_img\" | \"chat.send_file\" | \"chat.send_emoji\" | \"chat.update_msg\" | \"chat.img.loading\" | \"chat.error.img_not_found\" | \"chat.error.empty_results\" | \"chat.img.shared_by\" | \"chat.reply\" | \"chat.message_placeholder\" | \"chat.click_to_send\" | \"chat.search_msgs\" | \"chat.search_conversations\" | \"chat.start_conversation\" | \"chat.empty_search\" | \"chat.empty_chat\" | \"chat.cancel_upload\" | \"chat.view_chats\" | \"chat.everyone\" | \"chat.pinned_msgs\" | \"chat.toggle_pinned_msgs\" | \"date.today\" | \"date.yesterday\" | \"date.sunday\" | \"date.monday\" | \"date.tuesday\" | \"date.wednesday\" | \"date.thursday\" | \"date.friday\" | \"date.saturday\" | \"list.empty\" | \"grid.listening\" | \"transcript.off\" | \"transcript.on\" | \"settings.notification_sound\" | \"mic_toggle.audio_devices\" | \"camera_toggle.video_devices\" | \"camera_toggle.mirror_video\" | \"settings.microphone_input\" | \"settings.speaker_output\" | \"not_found_microphone\" | \"not_found_speaker\" | \"not_found_camera\" | \"settings.mirror_video\" | \"settings.camera_off\" | \"dialog.close\" | \"notifications.joined\" | \"notifications.left\" | \"notifications.requesting_to_join_meeting\" | \"notifications.requested_to_join_stage\" | \"notifications.joined_stage\" | \"notifications.request_to_join_accepted\" | \"notifications.request_to_join_rejected\" | \"notifications.accept\" | \"notifications.new_poll_created_by\" | \"notifications.connected_to\" | \"notifications.plugin_switched_to\" | \"notifications.remote_control_requested\" | \"notifications.remote_control_request_sent\" | \"notifications.remote_control_request_accepted\" | \"notifications.remote_control_granted\" | \"notifications.remote_control_terminated\" | \"debugger.troubleshooting.label\" | \"debugger.quality.good\" | \"debugger.quality.average\" | \"debugger.quality.poor\" | \"debugger.stats.bitrate.label\" | \"debugger.stats.bitrate.description\" | \"debugger.stats.packet_loss.label\" | \"debugger.stats.packet_loss.description\" | \"debugger.stats.jitter.label\" | \"debugger.stats.jitter.description\" | \"debugger.stats.cpu_limitations.label\" | \"debugger.stats.cpu_limitations.description\" | \"debugger.stats.bandwidth_limitations.label\" | \"debugger.stats.bandwidth_limitations.description\" | \"debugger.audio.label\" | \"debugger.audio.troubleshooting.label\" | \"debugger.audio.messages.generating_report\" | \"debugger.audio.messages.enable_media\" | \"debugger.audio.sections.network_media\" | \"debugger.video.label\" | \"debugger.video.troubleshooting.label\" | \"debugger.video.messages.generating_report\" | \"debugger.video.messages.enable_media\" | \"debugger.video.sections.network_media\" | \"debugger.screenshare.label\" | \"debugger.screenshare.troubleshooting.label\" | \"debugger.screenshare.sections.network_media\" | \"debugger.screenshare.messages.generating_report\" | \"debugger.screenshare.messages.enable_media\" | \"debugger.system.label\" | \"debugger.system.troubleshooting.label\" | \"debugger.system.sections.battery\" | \"debugger.system.battery.level.label\" | \"debugger.system.battery.level.description\" | \"debugger.system.battery.charging.label\" | \"debugger.system.battery.charging.description\" | \"debugger.system.battery.charging.is_charging\" | \"debugger.system.battery.charging.is_not_charging\" | \"meeting_title.edit\" | \"meeting_title.save\") => string",
655
+ "resolved": "(key: \"pin\" | \"unpin\" | \"kick\" | \"ended\" | \"disconnected\" | \"failed\" | \"type\" | \"end\" | \"joined\" | \"pinned\" | \"join\" | \"participants\" | \"logo\" | \"audio\" | \"search\" | \"video\" | \"image\" | \"chat\" | \"polls\" | \"leave\" | \"plugins\" | \"(you)\" | (string & {}) | \"about_call\" | \"screen\" | \"camera\" | \"dismiss\" | \"page\" | \"more\" | \"page.prev\" | \"page.next\" | \"layout\" | \"layout.auto\" | \"settings\" | \"file\" | \"connection\" | \"leave_confirmation\" | \"cancel\" | \"yes\" | \"you\" | \"everyone\" | \"to\" | \"mute\" | \"accept\" | \"pip_on\" | \"pip_off\" | \"viewers\" | \"create\" | \"close\" | \"ask\" | \"activate\" | \"requests\" | \"mic_off\" | \"disable_mic\" | \"mic_on\" | \"enable_mic\" | \"test\" | \"minimize\" | \"maximize\" | \"mute_all\" | \"mute_all.description\" | \"mute_all.header\" | \"mute_all.allow_unmute\" | \"video_off\" | \"disable_video\" | \"video_on\" | \"enable_video\" | \"offline\" | \"offline.description\" | \"failed.description\" | \"disconnected.description\" | \"participants.errors.empty_results\" | \"participants.empty_list\" | \"participants.no_pending_requests\" | \"participants.turn_off_video\" | \"polls.by\" | \"polls.question\" | \"polls.question.placeholder\" | \"polls.answers\" | \"polls.option\" | \"polls.option.placeholder\" | \"polls.results.anon\" | \"polls.results.hide\" | \"polls.create\" | \"polls.cancel\" | \"polls.empty\" | \"polls.errors.question_required\" | \"polls.errors.empty_option\" | \"screenshare\" | \"screenshare.min_preview\" | \"screenshare.max_preview\" | \"screenshare.shared\" | \"screenshare.visibility.none\" | \"screenshare.visibility.all\" | \"screenshare.visibility.not_viewing\" | \"screenshare.visibility.more\" | \"screenshare.start\" | \"screenshare.share_different_screen\" | \"screenshare.menu\" | \"screenshare.stop\" | \"screenshare.error.unknown\" | \"screenshare.error.max_count\" | \"plugins.empty\" | \"perm_denied\" | \"perm_denied.audio\" | \"perm_denied.video\" | \"perm_denied.screenshare\" | \"perm_denied.audio.chrome.message\" | \"perm_denied.video.chrome.message\" | \"perm_denied.screenshare.chrome.message\" | \"perm_denied.audio.safari.message\" | \"perm_denied.video.safari.message\" | \"perm_denied.screenshare.safari.message\" | \"perm_denied.audio.edge.message\" | \"perm_denied.video.edge.message\" | \"perm_denied.screenshare.edge.message\" | \"perm_denied.audio.microsoft edge.message\" | \"perm_denied.video.microsoft edge.message\" | \"perm_denied.screenshare.microsoft edge.message\" | \"perm_denied.audio.firefox.message\" | \"perm_denied.video.firefox.message\" | \"perm_denied.screenshare.firefox.message\" | \"perm_denied.audio.others.message\" | \"perm_denied.video.others.message\" | \"perm_denied.screenshare.others.message\" | \"perm_sys_denied\" | \"perm_sys_denied.audio\" | \"perm_sys_denied.video\" | \"perm_sys_denied.screenshare\" | \"perm_sys_denied.audio.macos.message\" | \"perm_sys_denied.video.macos.message\" | \"perm_sys_denied.screenshare.macos.message\" | \"perm_sys_denied.audio.ios.message\" | \"perm_sys_denied.video.ios.message\" | \"perm_sys_denied.screenshare.ios.message\" | \"perm_sys_denied.audio.windows.message\" | \"perm_sys_denied.video.windows.message\" | \"perm_sys_denied.screenshare.windows.message\" | \"perm_sys_denied.audio.android.message\" | \"perm_sys_denied.video.android.message\" | \"perm_sys_denied.screenshare.android.message\" | \"perm_sys_denied.audio.others.message\" | \"perm_sys_denied.video.others.message\" | \"perm_sys_denied.screenshare.others.message\" | \"perm_could_not_start\" | \"perm_could_not_start.audio\" | \"perm_could_not_start.video\" | \"perm_could_not_start.screenshare\" | \"perm_could_not_start.audio.message\" | \"perm_could_not_start.video.message\" | \"perm_could_not_start.screenshare.message\" | \"full_screen\" | \"full_screen.exit\" | \"waitlist.header_title\" | \"waitlist.body_text\" | \"waitlist.deny_request\" | \"waitlist.accept_request\" | \"waitlist.accept_all\" | \"stage_request.header_title\" | \"stage_request.deny_request\" | \"stage_request.accept_request\" | \"stage_request.accept_all\" | \"stage_request.deny_all\" | \"stage_request.approval_pending\" | \"stage_request.denied\" | \"stage_request.request\" | \"stage_request.requested\" | \"stage_request.cancel_request\" | \"stage_request.leave_stage\" | \"stage_request.request_tip\" | \"stage_request.leave_tip\" | \"stage_request.pending_tip\" | \"stage_request.denied_tip\" | \"stage.empty_host\" | \"stage.empty_host_summary\" | \"stage.empty_viewer\" | \"stage.remove_from_stage\" | \"stage.invited_notification\" | \"stage.add_to_stage\" | \"stage.join_title\" | \"stage.join_summary\" | \"stage.join_cancel\" | \"stage.join_confirm\" | \"setup_screen.join_in_as\" | \"setup_screen.your_name\" | \"stage.reconnecting\" | \"recording.label\" | \"recording.indicator\" | \"recording.started\" | \"recording.stopped\" | \"recording.paused\" | \"recording.error.start\" | \"recording.error.already_recording\" | \"recording.error.stop\" | \"recording.error.resume\" | \"recording.start\" | \"recording.stop\" | \"recording.resume\" | \"recording.starting\" | \"recording.stopping\" | \"recording.loading\" | \"recording.idle\" | \"audio_playback\" | \"audio_playback.title\" | \"audio_playback.description\" | \"breakout_rooms\" | \"breakout_rooms.room_config_header\" | \"breakout_rooms.join_breakout_header\" | \"breakout_rooms.empty\" | \"breakout_rooms.delete\" | \"breakout_rooms.switch\" | \"breakout_rooms.main_room\" | \"breakout_rooms.shuffle_participants\" | \"breakout_rooms.deselect\" | \"breakout_rooms.selected\" | \"breakout_rooms.num_of_rooms\" | \"breakout_rooms.approx\" | \"breakout_rooms.participants_per_room\" | \"breakout_rooms.division_text\" | \"breakout_rooms.start_breakout\" | \"breakout_rooms.close_breakout\" | \"breakout_rooms.update_breakout\" | \"breakout_rooms.discard_changes\" | \"breakout_rooms.room\" | \"breakout_rooms.rooms\" | \"breakout_rooms.room_name\" | \"breakout_rooms.edit_room_name\" | \"breakout_rooms.save_room_name\" | \"breakout_rooms.add_room\" | \"breakout_rooms.add_room_brief\" | \"breakout_rooms.select_all\" | \"breakout_rooms.unassign_all\" | \"breakout_rooms.assign\" | \"breakout_rooms.assign_participants\" | \"breakout_rooms.none_assigned\" | \"breakout_rooms.drag_drop_participants\" | \"breakout_rooms.click_drop_participants\" | \"breakout_rooms.status.assign_multiple\" | \"breakout_rooms.status.select_room\" | \"breakout_rooms.ephemeral_status.participants_assigned\" | \"breakout_rooms.ephemeral_status.participants_assigned_randomly\" | \"breakout_rooms.ephemeral_status.changes_discarded\" | \"breakout_rooms.confirm_modal.start_breakout.header\" | \"breakout_rooms.confirm_modal.start_breakout.content\" | \"breakout_rooms.confirm_modal.start_breakout.cancelText\" | \"breakout_rooms.confirm_modal.start_breakout.ctaText\" | \"breakout_rooms.confirm_modal.close_breakout.header\" | \"breakout_rooms.confirm_modal.close_breakout.content\" | \"breakout_rooms.confirm_modal.close_breakout.ctaText\" | \"breakout_rooms.move_reason.started_msg\" | \"breakout_rooms.move_reason.started_desc\" | \"breakout_rooms.move_reason.closed_msg\" | \"breakout_rooms.move_reason.closed_desc\" | \"breakout_rooms.move_reason.switch_room\" | \"breakout_rooms.move_reason.switch_main_room\" | \"breakout_rooms.all_assigned\" | \"breakout_rooms.empty_main_room\" | \"breakout_rooms.leave_confirmation\" | \"breakout_rooms.leave_confirmation.main_room_btn\" | \"ai\" | \"ai.meeting_ai\" | \"ai.home\" | \"ai.transcriptions\" | \"ai.personal\" | \"ai.caption_view\" | \"ai.chat.tooltip\" | \"ai.chat.summarize\" | \"ai.chat.agenda\" | \"ai.transcriptions.search_placeholder\" | \"ai.transcriptions.no_transcripts_found\" | \"ai.transcriptions.no_transcripts_yet\" | \"search.could_not_find\" | \"search.empty\" | \"end.all\" | \"ended.rejected\" | \"ended.left\" | \"ended.kicked\" | \"ended.disconnected\" | \"ended.network\" | \"ended.unauthorized\" | \"network\" | \"network.reconnecting\" | \"network.delay_extended\" | \"network.disconnected\" | \"network.leaving\" | \"network.restored\" | \"network.delay\" | \"network.lost\" | \"network.lost_extended\" | \"network.troubleshoot\" | \"init.auth_error\" | \"init.token_not_yet_valid\" | \"init.token_expired\" | \"init.token_revoked\" | \"init.token_invalid\" | \"init.meeting_inactive\" | \"init.network_error\" | \"init.browser_error\" | \"init.default_error\" | \"join.network_error\" | \"join.media_error\" | \"join.media_firewall_error\" | \"join.default_error\" | \"join.error_code\" | \"livestream\" | \"livestream.indicator\" | \"livestream.skip\" | \"livestream.idle\" | \"livestream.starting\" | \"livestream.stopping\" | \"livestream.waiting_on_manual_ingestion\" | \"livestream.error.not_supported\" | \"livestream.error.not_found\" | \"livestream.error.unknown\" | \"livestream.error.sync\" | \"livestream.error.start\" | \"livestream.error.stop\" | \"livestream.go_live\" | \"livestream.end_live\" | \"livestream.error\" | \"cta.help\" | \"cta.continue\" | \"cta.reload\" | \"cta.confirmation\" | \"cta.system_settings\" | \"remote_access.empty\" | \"remote_access.requests\" | \"remote_access.allow\" | \"remote_access.grant\" | \"remote_access.indicator\" | \"chat.new\" | \"chat.max_limit_warning\" | \"chat.rate_limit_error\" | \"chat.member_name\" | \"chat.add_members\" | \"chat.delete_msg\" | \"chat.edit_msg\" | \"chat.send_msg\" | \"chat.send_attachment\" | \"chat.send_img\" | \"chat.send_file\" | \"chat.send_emoji\" | \"chat.update_msg\" | \"chat.img.loading\" | \"chat.error.img_not_found\" | \"chat.error.empty_results\" | \"chat.img.shared_by\" | \"chat.reply\" | \"chat.message_placeholder\" | \"chat.click_to_send\" | \"chat.search_msgs\" | \"chat.search_conversations\" | \"chat.start_conversation\" | \"chat.empty_search\" | \"chat.empty_chat\" | \"chat.cancel_upload\" | \"chat.view_chats\" | \"chat.everyone\" | \"chat.pinned_msgs\" | \"chat.toggle_pinned_msgs\" | \"date.today\" | \"date.yesterday\" | \"date.sunday\" | \"date.monday\" | \"date.tuesday\" | \"date.wednesday\" | \"date.thursday\" | \"date.friday\" | \"date.saturday\" | \"list.empty\" | \"grid.listening\" | \"transcript.off\" | \"transcript.on\" | \"settings.notification_sound\" | \"mic_toggle.audio_devices\" | \"camera_toggle.video_devices\" | \"camera_toggle.mirror_video\" | \"settings.microphone_input\" | \"settings.speaker_output\" | \"not_found_microphone\" | \"not_found_speaker\" | \"not_found_camera\" | \"settings.mirror_video\" | \"settings.camera_off\" | \"dialog.close\" | \"notifications.joined\" | \"notifications.left\" | \"notifications.requesting_to_join_meeting\" | \"notifications.requested_to_join_stage\" | \"notifications.joined_stage\" | \"notifications.request_to_join_accepted\" | \"notifications.request_to_join_rejected\" | \"notifications.accept\" | \"notifications.new_poll_created_by\" | \"notifications.connected_to\" | \"notifications.plugin_switched_to\" | \"notifications.remote_control_requested\" | \"notifications.remote_control_request_sent\" | \"notifications.remote_control_request_accepted\" | \"notifications.remote_control_granted\" | \"notifications.remote_control_terminated\" | \"debugger.troubleshooting.label\" | \"debugger.quality.good\" | \"debugger.quality.average\" | \"debugger.quality.poor\" | \"debugger.stats.bitrate.label\" | \"debugger.stats.bitrate.description\" | \"debugger.stats.packet_loss.label\" | \"debugger.stats.packet_loss.description\" | \"debugger.stats.jitter.label\" | \"debugger.stats.jitter.description\" | \"debugger.stats.cpu_limitations.label\" | \"debugger.stats.cpu_limitations.description\" | \"debugger.stats.bandwidth_limitations.label\" | \"debugger.stats.bandwidth_limitations.description\" | \"debugger.audio.label\" | \"debugger.audio.troubleshooting.label\" | \"debugger.audio.messages.generating_report\" | \"debugger.audio.messages.enable_media\" | \"debugger.audio.sections.network_media\" | \"debugger.video.label\" | \"debugger.video.troubleshooting.label\" | \"debugger.video.messages.generating_report\" | \"debugger.video.messages.enable_media\" | \"debugger.video.sections.network_media\" | \"debugger.screenshare.label\" | \"debugger.screenshare.troubleshooting.label\" | \"debugger.screenshare.sections.network_media\" | \"debugger.screenshare.messages.generating_report\" | \"debugger.screenshare.messages.enable_media\" | \"debugger.system.label\" | \"debugger.system.troubleshooting.label\" | \"debugger.system.sections.battery\" | \"debugger.system.battery.level.label\" | \"debugger.system.battery.level.description\" | \"debugger.system.battery.charging.label\" | \"debugger.system.battery.charging.description\" | \"debugger.system.battery.charging.is_charging\" | \"debugger.system.battery.charging.is_not_charging\" | \"meeting_title.edit\" | \"meeting_title.save\") => string",
328
656
  "references": {
329
657
  "RtkI18n": {
330
658
  "location": "import",
@@ -348,11 +676,14 @@ export class RtkScreenshareView {
348
676
  }
349
677
  static get states() {
350
678
  return {
679
+ "viewerVisibilityRevision": {},
351
680
  "videoExpanded": {},
352
681
  "screenShareEnabled": {},
353
682
  "isSwitchingScreen": {},
354
683
  "isFullScreen": {},
355
- "remoteControlInfo": {}
684
+ "remoteControlInfo": {},
685
+ "previewedViewerId": {},
686
+ "showRemainingViewers": {}
356
687
  };
357
688
  }
358
689
  static get events() {
@@ -386,7 +717,7 @@ export class RtkScreenshareView {
386
717
  "composed": true,
387
718
  "docs": {
388
719
  "tags": [],
389
- "text": "Emits when video playback happens successfully"
720
+ "text": "Emits on the screen-share video's play event"
390
721
  },
391
722
  "complexType": {
392
723
  "original": "{\n participant: Peer;\n screenshareParticipant: Peer;\n }",
@@ -407,6 +738,9 @@ export class RtkScreenshareView {
407
738
  return [{
408
739
  "propName": "participant",
409
740
  "methodName": "participantChanged"
741
+ }, {
742
+ "propName": "meeting",
743
+ "methodName": "meetingChanged"
410
744
  }];
411
745
  }
412
746
  }