@cloudflare/realtimekit-ui 1.0.3 → 1.0.4-staging.2

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 (691) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-87c1e5a0.js → TextMessage-b9599251.js} +1 -1
  3. package/dist/cjs/{chat-6d305b71.js → chat-aac81e73.js} +1 -1
  4. package/dist/cjs/{debounce-6dabb441.js → debounce-8ebb7833.js} +6 -6
  5. package/dist/cjs/index-2ae99c70.js +88 -0
  6. package/dist/cjs/index.cjs.js +17 -16
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/merge-ee976be5.js +575 -0
  9. package/dist/cjs/{config-9632c81a.js → notification-541b7cfa.js} +39 -576
  10. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  11. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +4 -2
  12. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +4 -7
  13. package/dist/cjs/rtk-ai.cjs.entry.js +8 -3
  14. package/dist/cjs/rtk-audio-grid.cjs.entry.js +6 -3
  15. package/dist/cjs/rtk-audio-tile.cjs.entry.js +8 -3
  16. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +11 -11
  17. package/dist/cjs/rtk-avatar_54.cjs.entry.js +385 -297
  18. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +4 -2
  19. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +12 -7
  20. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +4 -2
  21. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +8 -3
  22. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +6 -6
  23. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  24. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  25. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +6 -4
  26. package/dist/cjs/rtk-clock.cjs.entry.js +5 -5
  27. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-controlbar.cjs.entry.js +7 -4
  29. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +3 -3
  30. package/dist/cjs/rtk-ended-screen.cjs.entry.js +8 -3
  31. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +3 -3
  32. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  33. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +7 -5
  34. package/dist/cjs/rtk-grid.cjs.entry.js +14 -11
  35. package/dist/cjs/rtk-header.cjs.entry.js +7 -4
  36. package/dist/cjs/rtk-idle-screen.cjs.entry.js +7 -4
  37. package/dist/cjs/rtk-image-viewer.cjs.entry.js +3 -3
  38. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +3 -3
  39. package/dist/cjs/rtk-leave-button.cjs.entry.js +3 -3
  40. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +4 -4
  41. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +6 -6
  42. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-message-list-view.cjs.entry.js +6 -7
  44. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +4 -2
  45. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +10 -5
  46. package/dist/cjs/rtk-more-toggle.cjs.entry.js +4 -4
  47. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +4 -2
  48. package/dist/cjs/rtk-name-tag.cjs.entry.js +3 -3
  49. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  51. package/dist/cjs/rtk-participant-setup.cjs.entry.js +8 -5
  52. package/dist/cjs/rtk-participant_2.cjs.entry.js +21 -19
  53. package/dist/cjs/rtk-participants-audio.cjs.entry.js +5 -5
  54. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +29 -13
  55. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +5 -5
  56. package/dist/cjs/rtk-participants.cjs.entry.js +13 -9
  57. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +8 -3
  58. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +7 -4
  59. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +4 -4
  60. package/dist/cjs/rtk-plugins_2.cjs.entry.js +15 -9
  61. package/dist/cjs/rtk-poll_2.cjs.entry.js +5 -5
  62. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
  63. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +3 -3
  64. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +5 -5
  65. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  66. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +7 -7
  67. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +5 -5
  68. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
  69. package/dist/cjs/rtk-settings.cjs.entry.js +3 -3
  70. package/dist/cjs/rtk-setup-screen.cjs.entry.js +11 -5
  71. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  72. package/dist/cjs/rtk-sidebar.cjs.entry.js +13 -4
  73. package/dist/cjs/rtk-simple-grid.cjs.entry.js +9 -4
  74. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +8 -5
  75. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +4 -4
  77. package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
  78. package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
  79. package/dist/cjs/rtk-transcripts.cjs.entry.js +10 -10
  80. package/dist/cjs/rtk-ui-provider.cjs.entry.js +127 -57
  81. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +7 -4
  82. package/dist/cjs/{sidebar-8256d60e.js → sidebar-8b82a470.js} +1 -1
  83. package/dist/cjs/{ui-store-7807fa2a.js → ui-store-af000a8e.js} +2419 -13
  84. package/dist/collection/components/rtk-ai/rtk-ai.js +8 -3
  85. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +2 -0
  86. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  87. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +4 -1
  88. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +6 -1
  89. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +3 -3
  90. package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
  91. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +11 -9
  92. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +4 -4
  93. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +2 -0
  94. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
  95. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +2 -2
  96. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +2 -0
  97. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +8 -3
  98. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +2 -2
  99. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +2 -2
  100. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +2 -2
  101. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +4 -4
  102. package/dist/collection/components/rtk-chat/rtk-chat.js +8 -4
  103. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +2 -2
  104. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +7 -7
  105. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +4 -4
  106. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +4 -4
  107. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  108. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +3 -1
  109. package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
  110. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  111. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +7 -4
  112. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +1 -1
  113. package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
  114. package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
  115. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  116. package/dist/collection/components/rtk-dialog/rtk-dialog.js +6 -3
  117. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +9 -3
  118. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  119. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  120. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  121. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +8 -3
  122. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  123. package/dist/collection/components/rtk-file-message/rtk-file-message.js +3 -3
  124. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +1 -1
  125. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  126. package/dist/collection/components/rtk-grid/rtk-grid.js +14 -12
  127. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +5 -3
  128. package/dist/collection/components/rtk-header/rtk-header.js +7 -4
  129. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +7 -4
  130. package/dist/collection/components/rtk-image-message/rtk-image-message.js +5 -5
  131. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +3 -3
  132. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +2 -2
  133. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
  134. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +7 -4
  135. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  136. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +2 -2
  137. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
  138. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
  139. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +4 -4
  140. package/dist/collection/components/rtk-logo/rtk-logo.js +6 -3
  141. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  142. package/dist/collection/components/rtk-meeting/rtk-meeting.js +119 -64
  143. package/dist/collection/components/rtk-menu/rtk-menu.js +2 -2
  144. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  145. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  146. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +3 -3
  147. package/dist/collection/components/rtk-message-view/rtk-message-view.js +1 -1
  148. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +2 -0
  149. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +3 -3
  150. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +11 -6
  151. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
  152. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +2 -0
  153. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  154. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
  155. package/dist/collection/components/rtk-notification/rtk-notification.js +2 -2
  156. package/dist/collection/components/rtk-notifications/rtk-notifications.js +13 -7
  157. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  158. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
  159. package/dist/collection/components/rtk-participant/rtk-participant.js +18 -15
  160. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +8 -5
  161. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +10 -5
  162. package/dist/collection/components/rtk-participants/rtk-participants.js +12 -7
  163. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +3 -3
  164. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +10 -7
  165. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +9 -4
  166. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +2 -2
  167. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +9 -4
  168. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +7 -4
  169. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  170. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +8 -3
  171. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
  172. package/dist/collection/components/rtk-plugins/rtk-plugins.js +7 -4
  173. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
  174. package/dist/collection/components/rtk-poll/rtk-poll.js +2 -2
  175. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
  176. package/dist/collection/components/rtk-polls/rtk-polls.js +10 -7
  177. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  178. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +3 -3
  179. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
  180. package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
  181. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
  182. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  183. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +2 -2
  184. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +11 -5
  185. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +12 -3
  186. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +9 -4
  187. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +2 -2
  188. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  189. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +8 -5
  190. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  191. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +2 -3
  192. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  193. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +7 -4
  194. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  195. package/dist/collection/components/rtk-text-message/rtk-text-message.js +3 -3
  196. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  197. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  198. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  199. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +9 -6
  200. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.css +41 -3
  201. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +162 -93
  202. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  203. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +7 -4
  204. package/dist/collection/exports.js +2 -2
  205. package/dist/collection/lib/builder/index.js +2 -2
  206. package/dist/collection/lib/default-ui-config.js +4 -0
  207. package/dist/collection/utils/config.js +2 -2
  208. package/dist/collection/utils/sync-with-store/index.js +66 -4
  209. package/dist/collection/utils/sync-with-store/ui-store.js +77 -15
  210. package/dist/components/index.js +6 -6
  211. package/dist/components/{p-cc6ff913.js → p-04dc0331.js} +17 -12
  212. package/dist/components/{p-a09473cb.js → p-095e6b83.js} +2 -2
  213. package/dist/components/{p-01788fc5.js → p-09ec425b.js} +6 -6
  214. package/dist/components/{p-79534847.js → p-0a0515d9.js} +4 -4
  215. package/dist/components/{p-cfbb9bd9.js → p-0b9cf1da.js} +4 -4
  216. package/dist/components/{p-de567bdf.js → p-0c855484.js} +6 -6
  217. package/dist/components/{p-6631e984.js → p-0f10661d.js} +3 -3
  218. package/dist/components/{p-20c74379.js → p-1035acb6.js} +3 -3
  219. package/dist/components/{p-afc2ce7b.js → p-12e64755.js} +3 -3
  220. package/dist/components/{p-7916d083.js → p-17ac0da7.js} +6 -3
  221. package/dist/components/{p-a08b5a59.js → p-1dca17d1.js} +1 -1
  222. package/dist/components/{p-a0000935.js → p-1f5e21d0.js} +11 -8
  223. package/dist/components/{p-23d64784.js → p-24c3ffc2.js} +4 -4
  224. package/dist/components/{p-fc4484ae.js → p-2b523e10.js} +2233 -14
  225. package/dist/components/{p-1f0c5462.js → p-2d58e36e.js} +6 -6
  226. package/dist/components/{p-77338347.js → p-2ee6390c.js} +11 -8
  227. package/dist/components/{p-c1f57f6b.js → p-2f9525bf.js} +4 -4
  228. package/dist/components/{p-ff6d9602.js → p-3081fabf.js} +5 -5
  229. package/dist/components/{p-eab1b7c1.js → p-310a03ac.js} +16 -16
  230. package/dist/components/{p-9b7dc3b2.js → p-32584f88.js} +6 -6
  231. package/dist/components/{p-153e1ac6.js → p-36b8529e.js} +6 -6
  232. package/dist/components/{p-efda30dd.js → p-37f70cfb.js} +4 -4
  233. package/dist/components/{p-b76deed8.js → p-384919de.js} +15 -15
  234. package/dist/components/{p-9007d4aa.js → p-388b17ad.js} +6 -6
  235. package/dist/components/p-3968315b.js +86 -0
  236. package/dist/components/{p-c86a0f9e.js → p-40870ba7.js} +9 -9
  237. package/dist/components/{p-8804314e.js → p-47a6f5a0.js} +3 -4
  238. package/dist/components/{p-cac807c5.js → p-47f6fdfa.js} +4 -4
  239. package/dist/components/{p-14c496c6.js → p-483894c7.js} +9 -6
  240. package/dist/components/{p-8c391f68.js → p-4bb5e9bb.js} +14 -14
  241. package/dist/components/{p-2507c6c8.js → p-4c2acc5c.js} +1 -1
  242. package/dist/components/{p-d8be719c.js → p-4f585ec2.js} +13 -13
  243. package/dist/components/{p-6d3c8a73.js → p-5255d2f8.js} +10 -10
  244. package/dist/components/{p-65e9c741.js → p-52628938.js} +6 -6
  245. package/dist/components/{p-b1161cb8.js → p-54de25c6.js} +3 -3
  246. package/dist/components/{p-97ce630d.js → p-557d4076.js} +15 -12
  247. package/dist/components/{p-22f2908e.js → p-5677f439.js} +4 -4
  248. package/dist/components/{p-ed0df5b1.js → p-57973e22.js} +4 -4
  249. package/dist/components/{p-2e9c3dd2.js → p-616cfbd8.js} +12 -9
  250. package/dist/components/{p-2c3cda13.js → p-632cbbe7.js} +25 -25
  251. package/dist/components/{p-11048ea8.js → p-65980189.js} +18 -16
  252. package/dist/components/{p-4b89a5d6.js → p-6b4eccd6.js} +6 -6
  253. package/dist/components/{p-b29a58cd.js → p-6c351e40.js} +14 -9
  254. package/dist/components/{p-f0df8c15.js → p-7525d343.js} +4 -4
  255. package/dist/components/{p-eba76ab4.js → p-7764b66b.js} +32 -26
  256. package/dist/components/{p-2df5f773.js → p-792de3bc.js} +3 -3
  257. package/dist/components/{p-7afb8f24.js → p-7ac93e47.js} +2 -2
  258. package/dist/components/{p-40a18d12.js → p-7d95084a.js} +7 -7
  259. package/dist/components/{p-9b675f4f.js → p-7f4b9092.js} +24 -21
  260. package/dist/components/{p-07c5a2da.js → p-80efd900.js} +17 -11
  261. package/dist/components/{p-cbc8e449.js → p-81a13bf2.js} +5 -5
  262. package/dist/components/{p-8d07e4b3.js → p-8320939f.js} +9 -9
  263. package/dist/components/{p-01b76741.js → p-87ae32cb.js} +9 -9
  264. package/dist/components/{p-1cc409c6.js → p-885dad3e.js} +5 -5
  265. package/dist/components/{p-1590eea9.js → p-889bc7b9.js} +5 -5
  266. package/dist/components/{p-ba8208ac.js → p-8afd3f68.js} +5 -5
  267. package/dist/components/{p-f77fe02e.js → p-8d93417e.js} +8 -8
  268. package/dist/components/{p-a575deb5.js → p-93355c43.js} +1 -1
  269. package/dist/components/{p-f634f020.js → p-938ee31c.js} +4 -4
  270. package/dist/components/{p-e9c999f4.js → p-96362151.js} +6 -6
  271. package/dist/components/{p-783ab170.js → p-96e2ff79.js} +8 -8
  272. package/dist/components/{p-7a1b0433.js → p-99303d10.js} +1 -1
  273. package/dist/components/{p-eaa808b7.js → p-9f843e5a.js} +9 -9
  274. package/dist/components/{p-3d5214b4.js → p-9f86929b.js} +8 -8
  275. package/dist/components/{p-60b29ed0.js → p-a10339f4.js} +5 -5
  276. package/dist/components/{p-ebb19a87.js → p-ab84cfbb.js} +8 -5
  277. package/dist/components/{p-b2b2e917.js → p-acbb932e.js} +2 -2
  278. package/dist/components/{p-11b00854.js → p-b53c309c.js} +6 -6
  279. package/dist/components/{p-c1a12313.js → p-b8baba9f.js} +60 -56
  280. package/dist/components/p-b8fe19b6.js +574 -0
  281. package/dist/components/{p-3358d7dc.js → p-b9e78c21.js} +1 -1
  282. package/dist/components/{p-5597fe9f.js → p-bee7d918.js} +9 -9
  283. package/dist/components/{p-1c22a3a0.js → p-bf72bb45.js} +10 -10
  284. package/dist/components/{p-85665c03.js → p-c254f63b.js} +9 -6
  285. package/dist/{esm/config-407ad80b.js → components/p-c5fd7cc6.js} +4 -575
  286. package/dist/components/{p-e902ab68.js → p-c65aaf73.js} +18 -18
  287. package/dist/components/{p-a73161da.js → p-cadee920.js} +1 -1
  288. package/dist/components/{p-b1030316.js → p-d1084f45.js} +2 -2
  289. package/dist/components/{p-8eea1b4d.js → p-d4f3d3d2.js} +11 -6
  290. package/dist/components/{p-9e5b47ea.js → p-dc3143c0.js} +3 -3
  291. package/dist/components/{p-b5dc3971.js → p-e10e8a56.js} +12 -12
  292. package/dist/components/{p-a59e060b.js → p-ea160150.js} +2 -2
  293. package/dist/components/{p-7dcce90b.js → p-f1a781b0.js} +4 -4
  294. package/dist/components/{p-65da3d17.js → p-f31839f4.js} +5 -5
  295. package/dist/components/{p-7d76715d.js → p-f3f1b0c0.js} +3 -3
  296. package/dist/components/{p-287eadbd.js → p-f3fbe2fb.js} +6 -6
  297. package/dist/components/{p-fab54b49.js → p-f44a0212.js} +4 -4
  298. package/dist/components/{p-f4158e29.js → p-f8594d8e.js} +2 -2
  299. package/dist/components/{p-d5ce79e0.js → p-fb038bd0.js} +6 -6
  300. package/dist/components/{p-0daa472f.js → p-fbe523dc.js} +8 -8
  301. package/dist/components/{p-273196ec.js → p-fc56c6ea.js} +6 -6
  302. package/dist/components/rtk-ai-toggle.js +7 -5
  303. package/dist/components/rtk-ai-transcriptions.js +1 -1
  304. package/dist/components/rtk-ai.js +11 -6
  305. package/dist/components/rtk-audio-grid.js +6 -3
  306. package/dist/components/rtk-audio-tile.js +12 -7
  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 +7 -5
  313. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  314. package/dist/components/rtk-button.js +1 -1
  315. package/dist/components/rtk-camera-selector.js +1 -1
  316. package/dist/components/rtk-camera-toggle.js +8 -6
  317. package/dist/components/rtk-caption-toggle.js +11 -6
  318. package/dist/components/rtk-channel-creator.js +1 -1
  319. package/dist/components/rtk-channel-details.js +1 -1
  320. package/dist/components/rtk-channel-header.js +1 -1
  321. package/dist/components/rtk-channel-selector-ui.js +8 -8
  322. package/dist/components/rtk-channel-selector-view.js +1 -1
  323. package/dist/components/rtk-chat-composer-ui.js +8 -8
  324. package/dist/components/rtk-chat-composer-view.js +1 -1
  325. package/dist/components/rtk-chat-message.js +1 -1
  326. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  327. package/dist/components/rtk-chat-messages-ui.js +1 -1
  328. package/dist/components/rtk-chat-search-results.js +1 -1
  329. package/dist/components/rtk-chat-selector-ui.js +3 -3
  330. package/dist/components/rtk-chat-toggle.js +9 -7
  331. package/dist/components/rtk-chat.js +1 -1
  332. package/dist/components/rtk-clock.js +6 -6
  333. package/dist/components/rtk-confirmation-modal.js +1 -1
  334. package/dist/components/rtk-controlbar-button.js +1 -1
  335. package/dist/components/rtk-controlbar.js +7 -4
  336. package/dist/components/rtk-counter.js +1 -1
  337. package/dist/components/rtk-debugger-audio.js +1 -1
  338. package/dist/components/rtk-debugger-screenshare.js +1 -1
  339. package/dist/components/rtk-debugger-system.js +1 -1
  340. package/dist/components/rtk-debugger-toggle.js +6 -6
  341. package/dist/components/rtk-debugger-video.js +1 -1
  342. package/dist/components/rtk-debugger.js +1 -1
  343. package/dist/components/rtk-dialog-manager.js +1 -1
  344. package/dist/components/rtk-dialog.js +1 -1
  345. package/dist/components/rtk-draft-attachment-view.js +1 -1
  346. package/dist/components/rtk-emoji-picker-button.js +1 -1
  347. package/dist/components/rtk-emoji-picker.js +1 -1
  348. package/dist/components/rtk-ended-screen.js +10 -5
  349. package/dist/components/rtk-file-dropzone.js +4 -4
  350. package/dist/components/rtk-file-message-view.js +1 -1
  351. package/dist/components/rtk-file-message.js +1 -1
  352. package/dist/components/rtk-file-picker-button.js +1 -1
  353. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  354. package/dist/components/rtk-grid-pagination.js +10 -8
  355. package/dist/components/rtk-grid.js +22 -19
  356. package/dist/components/rtk-header.js +7 -4
  357. package/dist/components/rtk-icon.js +1 -1
  358. package/dist/components/rtk-idle-screen.js +10 -7
  359. package/dist/components/rtk-image-message-view.js +1 -1
  360. package/dist/components/rtk-image-message.js +1 -1
  361. package/dist/components/rtk-image-viewer.js +5 -5
  362. package/dist/components/rtk-information-tooltip.js +4 -4
  363. package/dist/components/rtk-join-stage.js +1 -1
  364. package/dist/components/rtk-leave-button.js +6 -6
  365. package/dist/components/rtk-leave-meeting.js +1 -1
  366. package/dist/components/rtk-livestream-indicator.js +1 -1
  367. package/dist/components/rtk-livestream-player.js +1 -1
  368. package/dist/components/rtk-livestream-toggle.js +9 -9
  369. package/dist/components/rtk-logo.js +1 -1
  370. package/dist/components/rtk-markdown-view.js +1 -1
  371. package/dist/components/rtk-meeting-title.js +3 -3
  372. package/dist/components/rtk-meeting.js +173 -109
  373. package/dist/components/rtk-menu-item.js +1 -1
  374. package/dist/components/rtk-menu-list.js +1 -1
  375. package/dist/components/rtk-menu.js +1 -1
  376. package/dist/components/rtk-message-list-view.js +8 -8
  377. package/dist/components/rtk-message-view.js +1 -1
  378. package/dist/components/rtk-mic-toggle.js +8 -6
  379. package/dist/components/rtk-microphone-selector.js +1 -1
  380. package/dist/components/rtk-mixed-grid.js +16 -11
  381. package/dist/components/rtk-more-toggle.js +7 -7
  382. package/dist/components/rtk-mute-all-button.js +8 -6
  383. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  384. package/dist/components/rtk-name-tag.js +1 -1
  385. package/dist/components/rtk-network-indicator.js +3 -3
  386. package/dist/components/rtk-notification.js +1 -1
  387. package/dist/components/rtk-notifications.js +1 -1
  388. package/dist/components/rtk-overlay-modal.js +1 -1
  389. package/dist/components/rtk-paginated-list.js +1 -1
  390. package/dist/components/rtk-participant-count.js +3 -3
  391. package/dist/components/rtk-participant-setup.js +8 -5
  392. package/dist/components/rtk-participant-tile.js +1 -1
  393. package/dist/components/rtk-participant.js +1 -1
  394. package/dist/components/rtk-participants-audio.js +8 -8
  395. package/dist/components/rtk-participants-stage-list.js +1 -1
  396. package/dist/components/rtk-participants-stage-queue.js +1 -1
  397. package/dist/components/rtk-participants-toggle.js +8 -8
  398. package/dist/components/rtk-participants-viewer-list.js +1 -1
  399. package/dist/components/rtk-participants-waiting-list.js +1 -1
  400. package/dist/components/rtk-participants.js +27 -22
  401. package/dist/components/rtk-permissions-message.js +1 -1
  402. package/dist/components/rtk-pip-toggle.js +11 -6
  403. package/dist/components/rtk-plugin-main.js +1 -1
  404. package/dist/components/rtk-plugins-toggle.js +7 -7
  405. package/dist/components/rtk-plugins.js +1 -1
  406. package/dist/components/rtk-poll-form.js +1 -1
  407. package/dist/components/rtk-poll.js +1 -1
  408. package/dist/components/rtk-polls-toggle.js +6 -6
  409. package/dist/components/rtk-polls.js +1 -1
  410. package/dist/components/rtk-recording-indicator.js +4 -4
  411. package/dist/components/rtk-recording-toggle.js +8 -8
  412. package/dist/components/rtk-screen-share-toggle.js +6 -6
  413. package/dist/components/rtk-screenshare-view.js +10 -10
  414. package/dist/components/rtk-settings-audio.js +1 -1
  415. package/dist/components/rtk-settings-toggle.js +6 -6
  416. package/dist/components/rtk-settings-video.js +1 -1
  417. package/dist/components/rtk-settings.js +13 -13
  418. package/dist/components/rtk-setup-screen.js +17 -11
  419. package/dist/components/rtk-sidebar-ui.js +1 -1
  420. package/dist/components/rtk-sidebar.js +21 -12
  421. package/dist/components/rtk-simple-grid.js +9 -4
  422. package/dist/components/rtk-speaker-selector.js +1 -1
  423. package/dist/components/rtk-spinner.js +1 -1
  424. package/dist/components/rtk-spotlight-grid.js +8 -5
  425. package/dist/components/rtk-spotlight-indicator.js +1 -1
  426. package/dist/components/rtk-stage-toggle.js +8 -8
  427. package/dist/components/rtk-stage.js +3 -3
  428. package/dist/components/rtk-switch.js +1 -1
  429. package/dist/components/rtk-tab-bar.js +1 -1
  430. package/dist/components/rtk-text-composer-view.js +1 -1
  431. package/dist/components/rtk-text-message-view.js +1 -1
  432. package/dist/components/rtk-text-message.js +1 -1
  433. package/dist/components/rtk-tooltip.js +1 -1
  434. package/dist/components/rtk-transcript.js +1 -1
  435. package/dist/components/rtk-transcripts.js +10 -8
  436. package/dist/components/rtk-ui-provider.js +130 -58
  437. package/dist/components/rtk-viewer-count.js +1 -1
  438. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  439. package/dist/components/rtk-waiting-screen.js +8 -5
  440. package/dist/docs/docs-components.json +84 -122
  441. package/dist/docs/docs-vscode.json +10 -2
  442. package/dist/esm/{TextMessage-3e08c5e1.js → TextMessage-a699d8da.js} +1 -1
  443. package/dist/esm/{chat-927074dc.js → chat-0fec85e9.js} +1 -1
  444. package/dist/esm/{debounce-ea0579b2.js → debounce-29e3a983.js} +1 -1
  445. package/dist/esm/index-21637ec2.js +86 -0
  446. package/dist/esm/index.js +7 -9
  447. package/dist/esm/loader.js +18560 -18143
  448. package/dist/esm/merge-ef938315.js +573 -0
  449. package/dist/{components/p-31f1e8e5.js → esm/notification-deef1123.js} +38 -575
  450. package/dist/esm/realtimekit-ui.js +1 -1
  451. package/dist/esm/rtk-ai-toggle.entry.js +4 -2
  452. package/dist/esm/rtk-ai-transcriptions.entry.js +3 -6
  453. package/dist/esm/rtk-ai.entry.js +8 -3
  454. package/dist/esm/rtk-audio-grid.entry.js +6 -3
  455. package/dist/esm/rtk-audio-tile.entry.js +8 -3
  456. package/dist/esm/rtk-audio-visualizer_4.entry.js +11 -11
  457. package/dist/esm/rtk-avatar_54.entry.js +382 -294
  458. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +4 -2
  459. package/dist/esm/rtk-camera-selector_2.entry.js +12 -7
  460. package/dist/esm/rtk-camera-toggle.entry.js +4 -2
  461. package/dist/esm/rtk-caption-toggle.entry.js +8 -3
  462. package/dist/esm/rtk-channel-selector-ui.entry.js +6 -6
  463. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  464. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  465. package/dist/esm/rtk-chat-toggle.entry.js +6 -4
  466. package/dist/esm/rtk-clock.entry.js +5 -5
  467. package/dist/esm/rtk-controlbar-button.entry.js +3 -3
  468. package/dist/esm/rtk-controlbar.entry.js +7 -4
  469. package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
  470. package/dist/esm/rtk-ended-screen.entry.js +8 -3
  471. package/dist/esm/rtk-file-dropzone.entry.js +3 -3
  472. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  473. package/dist/esm/rtk-grid-pagination.entry.js +7 -5
  474. package/dist/esm/rtk-grid.entry.js +14 -11
  475. package/dist/esm/rtk-header.entry.js +7 -4
  476. package/dist/esm/rtk-idle-screen.entry.js +7 -4
  477. package/dist/esm/rtk-image-viewer.entry.js +3 -3
  478. package/dist/esm/rtk-information-tooltip.entry.js +3 -3
  479. package/dist/esm/rtk-leave-button.entry.js +3 -3
  480. package/dist/esm/rtk-livestream-indicator_3.entry.js +4 -4
  481. package/dist/esm/rtk-livestream-toggle.entry.js +6 -6
  482. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  483. package/dist/esm/rtk-message-list-view.entry.js +6 -7
  484. package/dist/esm/rtk-mic-toggle.entry.js +4 -2
  485. package/dist/esm/rtk-mixed-grid.entry.js +10 -5
  486. package/dist/esm/rtk-more-toggle.entry.js +4 -4
  487. package/dist/esm/rtk-mute-all-button.entry.js +4 -2
  488. package/dist/esm/rtk-name-tag.entry.js +3 -3
  489. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  490. package/dist/esm/rtk-participant-count.entry.js +2 -2
  491. package/dist/esm/rtk-participant-setup.entry.js +8 -5
  492. package/dist/esm/rtk-participant_2.entry.js +21 -19
  493. package/dist/esm/rtk-participants-audio.entry.js +5 -5
  494. package/dist/esm/rtk-participants-stage-list_4.entry.js +29 -13
  495. package/dist/esm/rtk-participants-toggle.entry.js +5 -5
  496. package/dist/esm/rtk-participants.entry.js +13 -9
  497. package/dist/esm/rtk-pip-toggle.entry.js +8 -3
  498. package/dist/esm/rtk-plugin-main_2.entry.js +7 -4
  499. package/dist/esm/rtk-plugins-toggle.entry.js +4 -4
  500. package/dist/esm/rtk-plugins_2.entry.js +15 -9
  501. package/dist/esm/rtk-poll_2.entry.js +5 -5
  502. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  503. package/dist/esm/rtk-recording-indicator.entry.js +3 -3
  504. package/dist/esm/rtk-recording-toggle.entry.js +5 -5
  505. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  506. package/dist/esm/rtk-screenshare-view.entry.js +7 -7
  507. package/dist/esm/rtk-settings-audio_2.entry.js +5 -5
  508. package/dist/esm/rtk-settings-toggle.entry.js +3 -3
  509. package/dist/esm/rtk-settings.entry.js +3 -3
  510. package/dist/esm/rtk-setup-screen.entry.js +11 -5
  511. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  512. package/dist/esm/rtk-sidebar.entry.js +13 -4
  513. package/dist/esm/rtk-simple-grid.entry.js +9 -4
  514. package/dist/esm/rtk-spotlight-grid.entry.js +8 -5
  515. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  516. package/dist/esm/rtk-stage-toggle.entry.js +4 -4
  517. package/dist/esm/rtk-stage.entry.js +3 -3
  518. package/dist/esm/rtk-transcript.entry.js +3 -3
  519. package/dist/esm/rtk-transcripts.entry.js +9 -9
  520. package/dist/esm/rtk-ui-provider.entry.js +127 -57
  521. package/dist/esm/rtk-waiting-screen.entry.js +7 -4
  522. package/dist/esm/{sidebar-50d89918.js → sidebar-c47b86b4.js} +1 -1
  523. package/dist/esm/{ui-store-1b477153.js → ui-store-fabf2b32.js} +2395 -14
  524. package/dist/realtimekit-ui/index.esm.js +1 -1
  525. package/dist/realtimekit-ui/p-05b3a3fa.entry.js +1 -0
  526. package/dist/realtimekit-ui/p-08628c03.entry.js +1 -0
  527. package/dist/realtimekit-ui/p-0f5681eb.entry.js +1 -0
  528. package/dist/realtimekit-ui/p-116eabc9.entry.js +1 -0
  529. package/dist/realtimekit-ui/p-17c4a39a.entry.js +1 -0
  530. package/dist/realtimekit-ui/{p-fa03ab98.entry.js → p-18618102.entry.js} +1 -1
  531. package/dist/realtimekit-ui/p-18ca0ccd.entry.js +1 -0
  532. package/dist/realtimekit-ui/p-199f622a.entry.js +1 -0
  533. package/dist/realtimekit-ui/{p-c203aff3.js → p-1f3bfcdb.js} +1 -1
  534. package/dist/realtimekit-ui/p-23893740.entry.js +1 -0
  535. package/dist/realtimekit-ui/{p-da56f340.entry.js → p-28ac7dfd.entry.js} +1 -1
  536. package/dist/realtimekit-ui/p-2bd5be73.js +1 -0
  537. package/dist/realtimekit-ui/p-2d0676a9.entry.js +1 -0
  538. package/dist/realtimekit-ui/p-309def3e.entry.js +1 -0
  539. package/dist/realtimekit-ui/p-30fe4bbf.entry.js +1 -0
  540. package/dist/realtimekit-ui/p-33c173a8.entry.js +1 -0
  541. package/dist/realtimekit-ui/p-375c10a2.entry.js +1 -0
  542. package/dist/realtimekit-ui/{p-9a2536ed.entry.js → p-37a218a8.entry.js} +1 -1
  543. package/dist/realtimekit-ui/p-38c18a6b.entry.js +1 -0
  544. package/dist/realtimekit-ui/{p-efbe07a6.entry.js → p-393ff18f.entry.js} +1 -1
  545. package/dist/realtimekit-ui/{p-a08b5a59.js → p-3956d569.js} +1 -1
  546. package/dist/realtimekit-ui/p-3b14c478.entry.js +1 -0
  547. package/dist/realtimekit-ui/{p-0787a8a4.entry.js → p-3eb310d3.entry.js} +1 -1
  548. package/dist/realtimekit-ui/{p-6f487b93.entry.js → p-420629b1.entry.js} +1 -1
  549. package/dist/realtimekit-ui/p-4265c450.entry.js +1 -0
  550. package/dist/realtimekit-ui/p-458b4f23.entry.js +1 -0
  551. package/dist/realtimekit-ui/p-4a2d51d2.entry.js +1 -0
  552. package/dist/realtimekit-ui/p-51fd9745.js +1 -0
  553. package/dist/realtimekit-ui/p-526f1a76.js +1 -0
  554. package/dist/realtimekit-ui/p-52b25934.js +1 -0
  555. package/dist/realtimekit-ui/p-542f52e9.entry.js +1 -0
  556. package/dist/realtimekit-ui/p-586b8e78.entry.js +1 -0
  557. package/dist/realtimekit-ui/p-59837fe1.entry.js +1 -0
  558. package/dist/realtimekit-ui/p-59cd209a.entry.js +1 -0
  559. package/dist/realtimekit-ui/p-5d60f101.entry.js +1 -0
  560. package/dist/realtimekit-ui/{p-221efc53.entry.js → p-67ff2615.entry.js} +1 -1
  561. package/dist/realtimekit-ui/{p-bf5ecc7c.js → p-6cd96b58.js} +1 -1
  562. package/dist/realtimekit-ui/p-6f24d78f.entry.js +1 -0
  563. package/dist/realtimekit-ui/p-716f90a3.entry.js +1 -0
  564. package/dist/realtimekit-ui/{p-d9138a0d.entry.js → p-76bcc78d.entry.js} +1 -1
  565. package/dist/realtimekit-ui/p-7bae9d05.entry.js +1 -0
  566. package/dist/realtimekit-ui/p-82520fc0.entry.js +1 -0
  567. package/dist/realtimekit-ui/p-86d3632a.entry.js +1 -0
  568. package/dist/realtimekit-ui/p-87a8cbc2.entry.js +1 -0
  569. package/dist/realtimekit-ui/p-881f7e61.entry.js +1 -0
  570. package/dist/realtimekit-ui/p-9b8a0f9b.entry.js +1 -0
  571. package/dist/realtimekit-ui/p-9c5cb84c.entry.js +1 -0
  572. package/dist/realtimekit-ui/{p-7965a765.entry.js → p-a02141f1.entry.js} +1 -1
  573. package/dist/realtimekit-ui/p-a29ad4d8.entry.js +1 -0
  574. package/dist/realtimekit-ui/p-a33714b1.entry.js +1 -0
  575. package/dist/realtimekit-ui/p-a5512788.entry.js +1 -0
  576. package/dist/realtimekit-ui/p-a6802383.entry.js +1 -0
  577. package/dist/realtimekit-ui/p-a80ce945.entry.js +1 -0
  578. package/dist/realtimekit-ui/p-ad5fc6df.entry.js +1 -0
  579. package/dist/realtimekit-ui/p-af81e9cf.entry.js +1 -0
  580. package/dist/realtimekit-ui/p-af95d40e.entry.js +1 -0
  581. package/dist/realtimekit-ui/{p-4bace64f.entry.js → p-b616deb3.entry.js} +1 -1
  582. package/dist/realtimekit-ui/p-bd103adc.entry.js +1 -0
  583. package/dist/realtimekit-ui/p-c2f35fc7.entry.js +1 -0
  584. package/dist/realtimekit-ui/p-c31bcf97.entry.js +1 -0
  585. package/dist/realtimekit-ui/p-cde200c4.entry.js +1 -0
  586. package/dist/realtimekit-ui/p-d0ec8218.entry.js +1 -0
  587. package/dist/realtimekit-ui/p-d2998b1e.entry.js +1 -0
  588. package/dist/realtimekit-ui/p-de42b31f.entry.js +1 -0
  589. package/dist/realtimekit-ui/{p-c4fc57c1.entry.js → p-e0303097.entry.js} +1 -1
  590. package/dist/realtimekit-ui/p-e368f30f.entry.js +1 -0
  591. package/dist/realtimekit-ui/p-e48166db.entry.js +1 -0
  592. package/dist/realtimekit-ui/p-e77e5cef.entry.js +1 -0
  593. package/dist/realtimekit-ui/p-e872d214.entry.js +1 -0
  594. package/dist/realtimekit-ui/p-e8e68c22.entry.js +1 -0
  595. package/dist/realtimekit-ui/p-eae4e83b.js +1 -0
  596. package/dist/realtimekit-ui/p-ef3ac9e9.entry.js +1 -0
  597. package/dist/realtimekit-ui/{p-629258de.entry.js → p-efc9cddb.entry.js} +1 -1
  598. package/dist/realtimekit-ui/p-f16ed5c8.entry.js +1 -0
  599. package/dist/realtimekit-ui/p-f2af9690.entry.js +1 -0
  600. package/dist/realtimekit-ui/p-f7cc7f81.entry.js +1 -0
  601. package/dist/realtimekit-ui/p-fdc0d8cc.entry.js +1 -0
  602. package/dist/realtimekit-ui/p-fdec3315.entry.js +1 -0
  603. package/dist/realtimekit-ui/p-ff4f156f.entry.js +1 -0
  604. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  605. package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +13 -3
  606. package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +13 -8
  607. package/dist/types/components.d.ts +10 -10
  608. package/dist/types/exports.d.ts +2 -2
  609. package/dist/types/lib/default-ui-config.d.ts +1 -0
  610. package/dist/types/utils/sync-with-store/ui-store.d.ts +23 -7
  611. package/package.json +2 -3
  612. package/dist/cjs/clone-2e9a4cae.js +0 -754
  613. package/dist/cjs/index-49c92728.js +0 -26
  614. package/dist/cjs/isObjectLike-73d13a39.js +0 -171
  615. package/dist/cjs/keysIn-8bdbe83d.js +0 -1438
  616. package/dist/cjs/notification-6d70e3a8.js +0 -39
  617. package/dist/components/p-46923b34.js +0 -1409
  618. package/dist/components/p-989a34c9.js +0 -24
  619. package/dist/components/p-c15d924f.js +0 -752
  620. package/dist/esm/clone-acd4af50.js +0 -752
  621. package/dist/esm/index-3481d5b2.js +0 -24
  622. package/dist/esm/isObjectLike-773b9473.js +0 -164
  623. package/dist/esm/keysIn-310f65c1.js +0 -1409
  624. package/dist/esm/notification-2ab22a76.js +0 -37
  625. package/dist/realtimekit-ui/p-0215809e.entry.js +0 -1
  626. package/dist/realtimekit-ui/p-076d6fb1.entry.js +0 -1
  627. package/dist/realtimekit-ui/p-0df0bc3b.entry.js +0 -1
  628. package/dist/realtimekit-ui/p-0f91e886.entry.js +0 -1
  629. package/dist/realtimekit-ui/p-11a81411.entry.js +0 -1
  630. package/dist/realtimekit-ui/p-14284891.entry.js +0 -1
  631. package/dist/realtimekit-ui/p-14350b0d.entry.js +0 -1
  632. package/dist/realtimekit-ui/p-15e0e0fc.entry.js +0 -1
  633. package/dist/realtimekit-ui/p-17588509.entry.js +0 -1
  634. package/dist/realtimekit-ui/p-1abb4841.entry.js +0 -1
  635. package/dist/realtimekit-ui/p-293547d1.entry.js +0 -1
  636. package/dist/realtimekit-ui/p-2c3cda13.js +0 -1
  637. package/dist/realtimekit-ui/p-2ed8953f.entry.js +0 -1
  638. package/dist/realtimekit-ui/p-3c46bebb.entry.js +0 -1
  639. package/dist/realtimekit-ui/p-3e54f3e8.entry.js +0 -1
  640. package/dist/realtimekit-ui/p-4023c083.js +0 -1
  641. package/dist/realtimekit-ui/p-44c22bd9.entry.js +0 -1
  642. package/dist/realtimekit-ui/p-46923b34.js +0 -1
  643. package/dist/realtimekit-ui/p-49602b35.entry.js +0 -1
  644. package/dist/realtimekit-ui/p-4bcf9db7.entry.js +0 -1
  645. package/dist/realtimekit-ui/p-5444d39b.entry.js +0 -1
  646. package/dist/realtimekit-ui/p-546ff22a.entry.js +0 -1
  647. package/dist/realtimekit-ui/p-5b277ae0.entry.js +0 -1
  648. package/dist/realtimekit-ui/p-63064c88.entry.js +0 -1
  649. package/dist/realtimekit-ui/p-64514c63.entry.js +0 -1
  650. package/dist/realtimekit-ui/p-67a1126f.entry.js +0 -1
  651. package/dist/realtimekit-ui/p-67dcfbf3.entry.js +0 -1
  652. package/dist/realtimekit-ui/p-6f56ad30.entry.js +0 -1
  653. package/dist/realtimekit-ui/p-6fd65de6.entry.js +0 -1
  654. package/dist/realtimekit-ui/p-7597f3ea.entry.js +0 -1
  655. package/dist/realtimekit-ui/p-7ade6183.entry.js +0 -1
  656. package/dist/realtimekit-ui/p-7e96fb7b.entry.js +0 -1
  657. package/dist/realtimekit-ui/p-86afa8c3.entry.js +0 -1
  658. package/dist/realtimekit-ui/p-8819f726.entry.js +0 -1
  659. package/dist/realtimekit-ui/p-89543b39.entry.js +0 -1
  660. package/dist/realtimekit-ui/p-8e869d13.entry.js +0 -1
  661. package/dist/realtimekit-ui/p-9274e173.entry.js +0 -1
  662. package/dist/realtimekit-ui/p-9d038c16.entry.js +0 -1
  663. package/dist/realtimekit-ui/p-9d8e8a27.entry.js +0 -1
  664. package/dist/realtimekit-ui/p-9de3f942.entry.js +0 -1
  665. package/dist/realtimekit-ui/p-a42c0e83.entry.js +0 -1
  666. package/dist/realtimekit-ui/p-a4922241.js +0 -1
  667. package/dist/realtimekit-ui/p-a845c29f.entry.js +0 -1
  668. package/dist/realtimekit-ui/p-a8b7c6a2.entry.js +0 -1
  669. package/dist/realtimekit-ui/p-ac8a0151.entry.js +0 -1
  670. package/dist/realtimekit-ui/p-acd86770.entry.js +0 -1
  671. package/dist/realtimekit-ui/p-b15377a2.entry.js +0 -1
  672. package/dist/realtimekit-ui/p-b5af8a86.entry.js +0 -1
  673. package/dist/realtimekit-ui/p-b965ac1d.entry.js +0 -1
  674. package/dist/realtimekit-ui/p-c15d924f.js +0 -1
  675. package/dist/realtimekit-ui/p-c1db5ef9.entry.js +0 -1
  676. package/dist/realtimekit-ui/p-c6837853.entry.js +0 -1
  677. package/dist/realtimekit-ui/p-c6eb9963.entry.js +0 -1
  678. package/dist/realtimekit-ui/p-d3bf4348.js +0 -1
  679. package/dist/realtimekit-ui/p-d560f5c8.entry.js +0 -1
  680. package/dist/realtimekit-ui/p-d8c2b553.entry.js +0 -1
  681. package/dist/realtimekit-ui/p-da59b75c.js +0 -1
  682. package/dist/realtimekit-ui/p-dac97779.js +0 -1
  683. package/dist/realtimekit-ui/p-dd6d2ca9.entry.js +0 -1
  684. package/dist/realtimekit-ui/p-e0450660.entry.js +0 -1
  685. package/dist/realtimekit-ui/p-e0a80608.entry.js +0 -1
  686. package/dist/realtimekit-ui/p-ea1736c3.entry.js +0 -1
  687. package/dist/realtimekit-ui/p-eb4025c0.entry.js +0 -1
  688. package/dist/realtimekit-ui/p-ed87ad1f.entry.js +0 -1
  689. package/dist/realtimekit-ui/p-f2ba56ec.entry.js +0 -1
  690. package/dist/realtimekit-ui/p-f3d02201.entry.js +0 -1
  691. package/dist/realtimekit-ui/p-f78cecba.entry.js +0 -1
@@ -59,7 +59,7 @@ export class RtkMenu {
59
59
  });
60
60
  }
61
61
  render() {
62
- return (h(Host, { key: 'b276110eb5171b15f815bfe7a96663e01f899e96' }, h("span", { key: '8bfa076de490cee6929b3a5da3d90f7741795dd5', id: "trigger", ref: (el) => (this.triggerEl = el), onClick: () => {
62
+ return (h(Host, { key: 'bd41e5e2f0d26ac7b532ac85d1904cf6c0307fc8' }, h("span", { key: 'dcdb7df85f283aa37efd82d6f014371e655dab23', id: "trigger", ref: (el) => (this.triggerEl = el), onClick: () => {
63
63
  this.clickedThis = true;
64
64
  if (this.menuListEl.style.display !== 'block') {
65
65
  this.menuListEl.style.display = 'block';
@@ -68,7 +68,7 @@ export class RtkMenu {
68
68
  else {
69
69
  this.menuListEl.style.display = 'none';
70
70
  }
71
- } }, h("slot", { key: 'e287328ba8515ddd37a21645aef25e83e6484e6b', name: "trigger" })), h("span", { key: 'cc7025445296778b3dd0ad3eceb24b03eb0c2924', part: "menu-list", id: "menu-list", ref: (el) => (this.menuListEl = el) }, h("slot", { key: '0d26db850bffc2cdf9b4142fdfa2f4113d180078' }))));
71
+ } }, h("slot", { key: '0bbc31781b3b8702b6d233688de2031abd97d2dc', name: "trigger" })), h("span", { key: '5c0279fa9912ea5b5332f4c52e285405cfb18f05', part: "menu-list", id: "menu-list", ref: (el) => (this.menuListEl = el) }, h("slot", { key: '0185ee09c1f2034ffe44553c613f3e2bd59400e8' }))));
72
72
  }
73
73
  static get is() { return "rtk-menu"; }
74
74
  static get encapsulation() { return "shadow"; }
@@ -27,7 +27,7 @@ export class RtkMenuItem {
27
27
  this.t = useLanguage();
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: '16f2f9a4030f6d6b48345af4cfdb3f55c1eee39e' }, h("slot", { key: '82c4020f63a6cbf773ecee8493f3fcc6a61c3c61', name: "start" }), h("slot", { key: '55f0449e84f1833a7ef6ddb2c9d995408f0ddef3' }), h("slot", { key: 'e826a0992e53227fd3fd517bbb2684f34fed3e8c', name: "end" })));
30
+ return (h(Host, { key: 'd847b9442e5e814e035bdca3b4ce69da7ed0d4bb' }, h("slot", { key: '9cf4adef243b99317aa627becb9412bf0c16e7d5', name: "start" }), h("slot", { key: 'efc47210f2527b061050a8f125eff3c3f2fed56f' }), h("slot", { key: '58b7b22d93c33d2bc85fc275209ef3f3ae3fdfc7', name: "end" })));
31
31
  }
32
32
  static get is() { return "rtk-menu-item"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -25,7 +25,7 @@ export class RtkMenuList {
25
25
  this.t = useLanguage();
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: '53cfa1381ea1c0bdfe99362f56cc505bff492774' }, h("slot", { key: 'fffe3a71f857c152d6619514d875893b5899b956' })));
28
+ return (h(Host, { key: '8d727ee3603bff8472bbe65a3fac47711fc6315c' }, h("slot", { key: '11755f7306267fd0496721a65aae0d36f84acb7b' })));
29
29
  }
30
30
  static get is() { return "rtk-menu-list"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -260,11 +260,11 @@ export class RtkMessageListView {
260
260
  this.updateTotalHeight();
261
261
  }
262
262
  render() {
263
- return (h("div", { key: '0bd9791d55b2c7b17e0f2165815d592e400612b6', class: "scrollbar content-wrapper", ref: (el) => (this.$listRef = el), onScroll: this.handleScroll }, h("div", { key: 'b255bce421935f065862a6a3a34e9ae588c936cd', class: "scroller" }, h("div", { key: '3eab5b317790b234f1a5c1935d7b8bf4d48620eb', style: {
263
+ return (h("div", { key: '17ccb3852a89ddb77e5799413f8ee0ef0ac7c132', class: "scrollbar content-wrapper", ref: (el) => (this.$listRef = el), onScroll: this.handleScroll }, h("div", { key: '044af22a10ae312a46d90f29dc9a793d86540fb8', class: "scroller" }, h("div", { key: '15a2b213883f210a44081c05c317f9da7a58380c', style: {
264
264
  height: `${this.totalHeight}px`,
265
- } }), h("div", { key: '47d070acc6cdd5e5cdd146594dbcb53906e5fc37', class: "smallest-dom-element", id: "list-end", ref: (el) => (this.$listEndRef = el) })), h("div", { key: '348ec8b65c0f76146f6ab65cbda80057dde6d93d', class: "content", style: {
265
+ } }), h("div", { key: '918071c6d3aed045814c1c2b3908572edae480ac', class: "smallest-dom-element", id: "list-end", ref: (el) => (this.$listEndRef = el) })), h("div", { key: '19b2f45794fa73f44d54b9b91ef1cab0df6c4aae', class: "content", style: {
266
266
  transform: `translateY(${this.getRangeSize(0, this.range.start)}px)`,
267
- } }, this.isFetching && (h("div", { key: '100d528dae04469574a6c908ba4e0159d61a928f', class: "loader" }, h("rtk-spinner", { key: 'a3a7cc932bd40b71bf67d9bb95cb7cdd8e36696f', size: "md" }))), this.getVisibleItems().map((msg, index) => (h("div", { key: msg.id, ref: (el) => this.rendererInternal(el, msg, index) }))))));
267
+ } }, this.isFetching && (h("div", { key: '1a05d8ec0a4a11812afef413226c472d797e7ebe', class: "loader" }, h("rtk-spinner", { key: '29f275642f8f8be5d9cbe12ff0eeedba48e1b4c1', size: "md" }))), this.getVisibleItems().map((msg, index) => (h("div", { key: msg.id, ref: (el) => this.rendererInternal(el, msg, index) }))))));
268
268
  }
269
269
  static get is() { return "rtk-message-list-view"; }
270
270
  static get originalStyleUrls() {
@@ -33,7 +33,7 @@ export class RtkMessageView {
33
33
  return (h("rtk-menu", { placement: "top-end", offset: 1 }, h("button", { slot: "trigger", class: "actions" }, h("rtk-icon", { icon: this.iconPack.chevron_down })), h("rtk-menu-list", null, this.actions.map((action) => (h("rtk-menu-item", { onClick: () => this.onAction.emit(action.id) }, action.icon && h("rtk-icon", { icon: action.icon, slot: "start" }), action.label))))));
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: 'fb4680e38de79ad40507a542c09d0b02c4691ded' }, h("div", { key: 'f6768fd2ea535e35ad86fc92d7f4595a503fdcca', class: { 'message-wrapper': true, [this.viewType]: true } }, !this.hideAvatar && (h("aside", { key: 'a524e142b020ea1d528ca57f984bb6e725b59893', class: "avatar", part: "avatar" }, h("rtk-avatar", { key: 'ee56623f64d2bb3f74ebea3357eb1af9d67cd3a3', participant: { name: this.authorName, picture: this.avatarUrl }, size: "sm" }))), h("div", { key: 'd6f5bb18ee7aa2ad174cd03c3aee4b9a94c3e63e', class: "message", part: "message" }, !this.hideAuthorName && h("div", { key: '338d4801d1ac9ce6a4dd3676148cac3c70f3b39f', class: "header" }, this.authorName), h("div", { key: '86d147a38d6582979a94536df63213730becc572', class: { body: true, bubble: this.variant === 'bubble' } }, h("slot", { key: '23a3984240643508ef10d3f2c0af5276e4cb5687' }), !this.hideMetadata && !!this.time && (h("div", { key: '35a4884867e5bdd835532f85e3a9575976aa9703', class: "metadata", title: formatDateTime(this.time) }, elapsedDuration(this.time, new Date(Date.now())))), this.actions.length !== 0 && this.renderActions())))));
36
+ return (h(Host, { key: 'cb9a54f30d9d3e42b1513c887c5c4ecdbbe1286d' }, h("div", { key: '9ff05d12f6441a3831fc91cda2094640ca730169', class: { 'message-wrapper': true, [this.viewType]: true } }, !this.hideAvatar && (h("aside", { key: '0afb28d2b8e2e09aad98b81f1eee75f08fe8d5a5', class: "avatar", part: "avatar" }, h("rtk-avatar", { key: 'a10f437e451b49941c9d5bed52ad450ddf6046d2', participant: { name: this.authorName, picture: this.avatarUrl }, size: "sm" }))), h("div", { key: '2d1b48256431776d34939f88c04fd8154fd4c95a', class: "message", part: "message" }, !this.hideAuthorName && h("div", { key: 'c380e92a56f94f9013e68067a86d743bc18fbb33', class: "header" }, this.authorName), h("div", { key: 'a81ffdc5e9665f0aad597a49b3467d5b4858f317', class: { body: true, bubble: this.variant === 'bubble' } }, h("slot", { key: '117f39722e02058aabef8eaacbaa99c7b5797452' }), !this.hideMetadata && !!this.time && (h("div", { key: '233f2bc3dd6dc62b5e6cfddef7c3a2135c1a0c6f', class: "metadata", title: formatDateTime(this.time) }, elapsedDuration(this.time, new Date(Date.now())))), this.actions.length !== 0 && this.renderActions())))));
37
37
  }
38
38
  static get is() { return "rtk-message-view"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -150,6 +150,8 @@ export class RtkMicToggle {
150
150
  };
151
151
  }
152
152
  render() {
153
+ if (!this.meeting)
154
+ return null;
153
155
  if (!this.canProduceAudio ||
154
156
  ['OFF_STAGE', 'REQUESTED_TO_JOIN_STAGE'].includes(this.stageStatus)) {
155
157
  return h(Host, { "data-hidden": true });
@@ -69,7 +69,7 @@ export class RtkMicrophoneSelector {
69
69
  (_e = this.meeting) === null || _e === void 0 ? void 0 : _e.self.removeListener('mediaPermissionUpdate', this.mediaPermissionUpdateListener);
70
70
  }
71
71
  meetingChanged(meeting) {
72
- if (meeting == null)
72
+ if (!meeting)
73
73
  return;
74
74
  writeTask(async () => {
75
75
  var _a, _b;
@@ -79,7 +79,7 @@ export class RtkMicrophoneSelector {
79
79
  this.currentDevices = {
80
80
  audio: currentAudioDevice,
81
81
  };
82
- this.canProduceAudio = this.meeting.self.permissions.canProduceAudio === 'ALLOWED';
82
+ this.canProduceAudio = meeting.self.permissions.canProduceAudio === 'ALLOWED';
83
83
  stage === null || stage === void 0 ? void 0 : stage.addListener('stageStatusUpdate', this.stageStateListener);
84
84
  self.addListener('deviceListUpdate', this.deviceListUpdateListener);
85
85
  self.addListener('deviceUpdate', this.deviceUpdateListener);
@@ -108,7 +108,7 @@ export class RtkMicrophoneSelector {
108
108
  }
109
109
  }
110
110
  render() {
111
- if (this.meeting == null)
111
+ if (!this.meeting)
112
112
  return null;
113
113
  let unnamedMicCount = 0;
114
114
  return (h(Host, null, this.canProduceAudio && (h("div", { part: "microphone-selection", class: 'group container ' + this.variant }, h("label", { slot: "label" }, this.variant !== 'inline' && this.t('settings.microphone_input'), h("rtk-icon", { icon: this.iconPack.mic_on, size: "sm" })), h("div", { class: "row" }, h("select", { class: "rtk-select", onChange: (e) => this.setDevice(e.target.value) }, this.audioinputDevices.map(({ deviceId, label }) => {
@@ -9,7 +9,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
9
9
  return c > 3 && r && Object.defineProperty(target, key, r), r;
10
10
  };
11
11
  import { Host, h } from "@stencil/core";
12
- import { defaultConfig } from "../../lib/default-ui-config";
12
+ import { createDefaultConfig } from "../../lib/default-ui-config";
13
13
  import { defaultGridSize } from "../../lib/grid";
14
14
  import { defaultIconPack } from "../../lib/icons";
15
15
  import { useLanguage } from "../../lib/lang";
@@ -39,7 +39,7 @@ export class RtkMixedGrid {
39
39
  /** Gap between participant tiles */
40
40
  this.gap = 8;
41
41
  /** UI Config */
42
- this.config = defaultConfig;
42
+ this.config = createDefaultConfig();
43
43
  /** Icon Pack */
44
44
  this.iconPack = defaultIconPack;
45
45
  /** Language */
@@ -155,6 +155,8 @@ export class RtkMixedGrid {
155
155
  }
156
156
  render() {
157
157
  var _a, _b;
158
+ if (!this.meeting)
159
+ return null;
158
160
  const defaults = {
159
161
  meeting: this.meeting,
160
162
  config: this.config,
@@ -163,7 +165,7 @@ export class RtkMixedGrid {
163
165
  iconPack: this.iconPack,
164
166
  t: this.t,
165
167
  };
166
- return (h(Host, { key: '52e26a16c20eee51ac0f3d01d932df88d58acb05' }, h("main", { key: '1838e7498d579bf70346bf921c9f3966721a1eea', id: "main-view", part: "main-view" }, ((_a = this.getTabs()) === null || _a === void 0 ? void 0 : _a.length) > 1 && (h("rtk-tab-bar", Object.assign({ key: 'b3f5f77e4b0bd36d12014881f0507c9de6e613af', activeTab: this.activeTab, tabs: this.getTabs(), onTabChange: (e) => this.setActiveTab(e.detail) }, defaults))), h("div", { id: "tabs", key: "tabs" }, this.screenShareParticipants.map((participant) => {
168
+ return (h(Host, null, h("main", { id: "main-view", part: "main-view" }, ((_a = this.getTabs()) === null || _a === void 0 ? void 0 : _a.length) > 1 && (h("rtk-tab-bar", Object.assign({ activeTab: this.activeTab, tabs: this.getTabs(), onTabChange: (e) => this.setActiveTab(e.detail) }, defaults))), h("div", { id: "tabs", key: "tabs" }, this.screenShareParticipants.map((participant) => {
167
169
  var _a, _b;
168
170
  return (h(Render, { element: "rtk-screenshare-view", defaults: defaults, props: {
169
171
  participant,
@@ -182,7 +184,7 @@ export class RtkMixedGrid {
182
184
  ? 'flex'
183
185
  : 'none',
184
186
  } })));
185
- }))), h(Render, { key: 'c3a9ce4706096e385fc522a37e3de7d9d30d1b70', element: "rtk-mixed-grid", defaults: defaults, childProps: {
187
+ }))), h(Render, { element: "rtk-mixed-grid", defaults: defaults, childProps: {
186
188
  part: 'participants-grid',
187
189
  class: this.gridSize.mixed ? `grid-width-${this.gridSize.mixed}` : 'grid-width-lg',
188
190
  participants: this.participants,
@@ -317,7 +319,7 @@ export class RtkMixedGrid {
317
319
  "RTKPlugin": {
318
320
  "location": "import",
319
321
  "path": "@cloudflare/realtimekit",
320
- "id": "../../node_modules/@cloudflare/realtimekit/dist/index.d.ts::RTKPlugin"
322
+ "id": "node_modules::RTKPlugin"
321
323
  }
322
324
  }
323
325
  },
@@ -464,7 +466,7 @@ export class RtkMixedGrid {
464
466
  },
465
467
  "getter": false,
466
468
  "setter": false,
467
- "defaultValue": "defaultConfig"
469
+ "defaultValue": "createDefaultConfig()"
468
470
  },
469
471
  "iconPack": {
470
472
  "type": "unknown",
@@ -569,6 +571,9 @@ __decorate([
569
571
  __decorate([
570
572
  SyncWithStore()
571
573
  ], RtkMixedGrid.prototype, "states", void 0);
574
+ __decorate([
575
+ SyncWithStore()
576
+ ], RtkMixedGrid.prototype, "config", void 0);
572
577
  __decorate([
573
578
  SyncWithStore()
574
579
  ], RtkMixedGrid.prototype, "iconPack", void 0);
@@ -53,10 +53,10 @@ export class RtkMoreToggle {
53
53
  }
54
54
  render() {
55
55
  const text = this.t('more');
56
- return (h(Host, { key: 'cc4c42c7e70920678ccd5504299cc2ea132ba082', title: text }, this.states.activeMoreMenu && (h("div", { key: '4e15d624377561cc3bfac660822041079387d15c', class: "more-menu" }, h("slot", { key: '83c8c81d94edbed4d30143fe4a0a9fc77f7c3883', name: "more-elements" }))), h("rtk-controlbar-button", { key: '1b88da49b3bd62fc05f43e83743935cbe1848bdf', size: this.size, iconPack: this.iconPack, onClick: (e) => {
56
+ return (h(Host, { key: 'f3c1cb18b17399883fa1e5313ddf6230ca93c860', title: text }, this.states.activeMoreMenu && (h("div", { key: 'bf0475b1df51643b54e93489c735ebba9452ff39', class: "more-menu" }, h("slot", { key: '503815f9d50eae60dbccc11b88cf5be2c782e5c2', name: "more-elements" }))), h("rtk-controlbar-button", { key: '82402eb33f53b6bfaf6619a1bba96ab0764ac053', size: this.size, iconPack: this.iconPack, onClick: (e) => {
57
57
  e.stopPropagation();
58
58
  this.toggleMoreMenu();
59
- }, icon: this.iconPack.horizontal_dots, label: text, part: "controlbar-button" }), h("slot", { key: '06155b80eabc3aa0c8495c5bc447af457acdd038', name: "expanded" })));
59
+ }, icon: this.iconPack.horizontal_dots, label: text, part: "controlbar-button" }), h("slot", { key: '36f6ba35f30fdda6dee9672341b38fa6bb1ffd74', name: "expanded" })));
60
60
  }
61
61
  static get is() { return "rtk-more-toggle"; }
62
62
  static get encapsulation() { return "shadow"; }
@@ -43,6 +43,8 @@ export class RtkMuteAllButton {
43
43
  meeting.self.permissions.addListener('permissionsUpdate', this.permissionsUpdateListener);
44
44
  }
45
45
  render() {
46
+ if (!this.meeting)
47
+ return null;
46
48
  if (!this.canDisable) {
47
49
  return null;
48
50
  }
@@ -29,7 +29,7 @@ export class RtkMuteAllConfirmation {
29
29
  };
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: '199f56583843ca5b4e68f6a087471983c231983b' }, h("div", { key: '86b15ff17b5a9526df77d2bc9f1d1e2d938c71c4', class: "leave-modal" }, h("div", { key: '7f19f8d34586e3f8ee4661556e5f4c744facb4e8', class: "header" }, h("h2", { key: '93adfa1d849b0aa3e483c280d1078d99ac1ef73c', class: "title" }, this.t('mute_all.header'))), h("p", { key: '7532426538ef8de6280cf0246126061bff639209', class: "message" }, this.t('mute_all.description')), h("div", { key: '14f577e917ecbf867afe2e6a4f94b86122d95496', class: "content" }, h("div", { key: '2cbe2cea5befa86328d786aa3420af04bda0097e', class: "leave-meeting" }, h("rtk-button", { key: '27b26964264a4c569ef7388357623ed97dff7bdb', variant: "secondary", title: this.t('close'), onClick: this.onClose }, this.t('cancel')), h("rtk-button", { key: 'dba570b9e72a21c0b76957cac4809f61878645d3', variant: "danger", title: this.t('mute_all'), onClick: this.onMuteAll }, this.t('mute_all')))))));
32
+ return (h(Host, { key: 'd7439c9c3ffd1a79974ed8f8a0081aa807a2b103' }, h("div", { key: 'f11f6d201c843384f3e173cf611ea6b26fcfe620', class: "leave-modal" }, h("div", { key: '8475acebc7a3abd14a4d0716b6dbdeabb0f1896e', class: "header" }, h("h2", { key: 'fe5cfaa40eccca120a696555456acd59610bd5f0', class: "title" }, this.t('mute_all.header'))), h("p", { key: '88b6d8faf23e5780d632f9bac0077751bb9db554', class: "message" }, this.t('mute_all.description')), h("div", { key: 'b901ffb7714dbcf5bbda907df1f44214672ded17', class: "content" }, h("div", { key: 'f554e5829ff3250400307f139661a0fe426ee22c', class: "leave-meeting" }, h("rtk-button", { key: 'c300ddc6c3ae02266d4769a964eb3fb246aa7dbd', variant: "secondary", title: this.t('close'), onClick: this.onClose }, this.t('cancel')), h("rtk-button", { key: '897d7d2639a6c51c5fb0ae1b51a111fbba5431c9', variant: "danger", title: this.t('mute_all'), onClick: this.onMuteAll }, this.t('mute_all')))))));
33
33
  }
34
34
  static get is() { return "rtk-mute-all-confirmation"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class RtkNameTag {
44
44
  var _a, _b, _c;
45
45
  const name = formatName(((_a = this.participant) === null || _a === void 0 ? void 0 : _a.name) || '');
46
46
  const isSelf = ((_b = this.participant) === null || _b === void 0 ? void 0 : _b.id) === ((_c = this.meeting) === null || _c === void 0 ? void 0 : _c.self.id);
47
- return (h(Host, { key: '52aa7e44f5a12d953eb5637346fff58cd40ed0bb', title: name }, h("slot", { key: '24d7325456abe1ec7051c44eaf6067446e459f2d', name: "start" }), h("span", { key: 'c2e7c6d2ca6ab1f5e097ccccad09b52fcc9c846a', class: "name" }, this.formatNameTag(name, isSelf)), h("slot", { key: '586b6e09b16c88cc219f45843ac8dfd746c0482a', name: "end" })));
47
+ return (h(Host, { key: 'aa14d4fdc9c5f2779653e3b4cff1cbaace353918', title: name }, h("slot", { key: '42d6da9d977a53c1955e4849cb4f2a91e5bd390c', name: "start" }), h("span", { key: '415345071c1e605ebb7f6399a56ab5469c4b10a3', class: "name" }, this.formatNameTag(name, isSelf)), h("slot", { key: 'aa2a92758c73819b9c940865390c73d3feb3925a', name: "end" })));
48
48
  }
49
49
  static get is() { return "rtk-name-tag"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -47,9 +47,9 @@ export class RtkNotification {
47
47
  }
48
48
  render() {
49
49
  var _a;
50
- return (h(Host, { key: 'b6a7ede34064bcc25040589cd09b00a5e5a5cf8a' }, h("div", { key: '42608dc49ec59c0c54be513e59b81627f0ecb11c', class: "ctr" }, this.notification.icon != null && (h("rtk-icon", { key: '263c38129622549c8df1900d8905f52ee29cff8a', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
50
+ return (h(Host, { key: 'ac0be33a8d9e03bd13cbc79f3ba082133fe6f227' }, h("div", { key: '7275520c8656b883a2f075768d3a8e2b84d64386', class: "ctr" }, this.notification.icon != null && (h("rtk-icon", { key: '368c448f1d2ec32c5bd555fda37955f50125f111', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
51
51
  this.notification.icon == null &&
52
- this.imageState !== 'errored' && (h("img", { key: '0e8d7812bd8b58ce0efe3edff6ae7346cbcd0fd4', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: 'f28ec5ff1a3902817d5501ea2324371defc8995a', class: "message" }, h(TextMessageView, { key: '7f7b179a67d125585ed70112fcb2a1925c3bae52', message: this.notification.message })), h("div", { key: '2ba60b2b60ddbc43d207adc86e0a975f3c432f70', class: "right" }, this.notification.button != null && (h("rtk-button", { key: '2f4871b0ee2871cbccb016e4451e28c424fe14ce', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("button", { key: '1786dac10dbc2ca9aabad707354ce16fe1af9bc8', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, h("rtk-icon", { key: 'b11c47705af86c38bd6488ecb6998aad62099396', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
52
+ this.imageState !== 'errored' && (h("img", { key: '510e84f6b3e0573ff1e617f5ccef73e79ac85028', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: '943becbe12a608de855b501d3209c0a795865d5b', class: "message" }, h(TextMessageView, { key: 'c81b7d0419a3da383c9fdb94cd0b25232094ae90', message: this.notification.message })), h("div", { key: '69eb21920c5cd680a781548e9981c3f1997d21c4', class: "right" }, this.notification.button != null && (h("rtk-button", { key: '7df0f1e71e531577eb3d9a8914247c0977a6ad20', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("button", { key: 'f66c7958c125fd77ed04e6a66d5ea1527aa97dc1', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, h("rtk-icon", { key: '6d6a9fe85560b6c108672172a12235cab9ab6ff3', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
53
53
  }
54
54
  static get is() { return "rtk-notification"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -14,7 +14,7 @@ import { formatName } from "../../utils/string";
14
14
  import { defaultIconPack } from "../../lib/icons";
15
15
  import { useLanguage } from "../../lib/lang";
16
16
  import { DEFAULT_NOTIFICATION_CONFIG, DEFAULT_NOTIFICATION_DURATION, } from "../../types/ui-config/config";
17
- import { defaultConfig } from "../../exports";
17
+ import { createDefaultConfig } from "../../exports";
18
18
  import { parseMessageForTarget } from "../../utils/chat";
19
19
  import { SyncWithStore } from "../../utils/sync-with-store";
20
20
  import { showLivestream } from "../../utils/livestream";
@@ -45,7 +45,7 @@ export class RtkNotifications {
45
45
  this.permissions = DEFAULT_NOTIFICATION_CONFIG;
46
46
  this.enabledSounds = getEnabledSounds(DEFAULT_NOTIFICATION_CONFIG.notification_sounds);
47
47
  /** Config object */
48
- this.config = defaultConfig;
48
+ this.config = createDefaultConfig();
49
49
  /** Language */
50
50
  this.t = useLanguage();
51
51
  /** Icon pack */
@@ -123,7 +123,7 @@ export class RtkNotifications {
123
123
  if (typeof document !== 'undefined') {
124
124
  document === null || document === void 0 ? void 0 : document.removeEventListener('rtkNotification', this.onNotification);
125
125
  }
126
- if (this.meeting == null)
126
+ if (!this.meeting)
127
127
  return;
128
128
  this.clearListeners(this.meeting);
129
129
  this.waitlistedParticipantJoinedListener &&
@@ -138,9 +138,9 @@ export class RtkNotifications {
138
138
  meetingChanged(meeting, oldMeeting) {
139
139
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
140
140
  clearTimeout(this.disconnectTimeout);
141
- if (oldMeeting !== undefined)
141
+ if (oldMeeting)
142
142
  this.clearListeners(oldMeeting);
143
- if (meeting == null)
143
+ if (!meeting)
144
144
  return;
145
145
  const isLivestream = meeting.meta.viewType === 'LIVESTREAM';
146
146
  this.audio = new RTKNotificationsAudio(meeting);
@@ -523,7 +523,10 @@ export class RtkNotifications {
523
523
  this.meeting.self.permissions.acceptWaitingRequests);
524
524
  }
525
525
  render() {
526
- return (h(Host, { key: '906188de5f85fcdb91e7bbd9fc44c60f722ec231' }, h("div", { key: '971924ad071ffa9525984eac3f11e929d10ec8a2', onMouseEnter: () => (this.paused = true), onFocusin: () => (this.paused = true), onMouseLeave: () => (this.paused = false), onFocusout: () => (this.paused = false) }, this.notifications.map((notification) => (h("rtk-notification", { size: this.size, key: notification.id, "data-id": notification.id, notification: notification, onRtkNotificationDismiss: (e) => this.handleDismiss(e), iconPack: this.iconPack, paused: this.paused, t: this.t }))))));
526
+ if (!this.meeting) {
527
+ return;
528
+ }
529
+ return (h(Host, null, h("div", { onMouseEnter: () => (this.paused = true), onFocusin: () => (this.paused = true), onMouseLeave: () => (this.paused = false), onFocusout: () => (this.paused = false) }, this.notifications.map((notification) => (h("rtk-notification", { size: this.size, key: notification.id, "data-id": notification.id, notification: notification, onRtkNotificationDismiss: (e) => this.handleDismiss(e), iconPack: this.iconPack, paused: this.paused, t: this.t }))))));
527
530
  }
528
531
  static get is() { return "rtk-notifications"; }
529
532
  static get encapsulation() { return "shadow"; }
@@ -607,7 +610,7 @@ export class RtkNotifications {
607
610
  },
608
611
  "getter": false,
609
612
  "setter": false,
610
- "defaultValue": "defaultConfig"
613
+ "defaultValue": "createDefaultConfig()"
611
614
  },
612
615
  "t": {
613
616
  "type": "unknown",
@@ -725,6 +728,9 @@ __decorate([
725
728
  __decorate([
726
729
  SyncWithStore()
727
730
  ], RtkNotifications.prototype, "states", void 0);
731
+ __decorate([
732
+ SyncWithStore()
733
+ ], RtkNotifications.prototype, "config", void 0);
728
734
  __decorate([
729
735
  SyncWithStore()
730
736
  ], RtkNotifications.prototype, "t", void 0);
@@ -30,7 +30,7 @@ export class RtkOverlayModal {
30
30
  }
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: 'e5bdb94d07093b7b6950c5d389b3cca3c5f0bc22' }, h("rtk-icon", { key: '04dcace07d18e31644bb11215c069eb63ea8dfe6', icon: this.states.activeOverlayModal.icon }), h("h2", { key: '5ca79bee28c169a489a83e53e0911e6187c731f2' }, this.states.activeOverlayModal.title), h("p", { key: 'd4d7e34a08e991709b1931ce22c899dcc624c692' }, this.states.activeOverlayModal.description)));
33
+ return (h(Host, { key: 'd2837e184517e21a048bf3c0132db866e76df98e' }, h("rtk-icon", { key: '986632806311740b097ef99ad2cefc286f54b7d4', icon: this.states.activeOverlayModal.icon }), h("h2", { key: 'f7c985545abeefcf0dccd10744c70e84b14c0f1d' }, this.states.activeOverlayModal.title), h("p", { key: '43ab2a1bde3c41732d3e159c493a799f68bcd0c7' }, this.states.activeOverlayModal.description)));
34
34
  }
35
35
  static get is() { return "rtk-overlay-modal"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -278,7 +278,7 @@ export class RtkPaginatedList {
278
278
  * which is why div#bottom-scroll comes before div#top-scroll
279
279
  * div.page-wrapper prevents reversal of messages
280
280
  */
281
- return (h(Host, { key: '6fd10c2fdc24eeab3d52c10643ed92321e04d9fe' }, h("div", { key: '675f184549482b76fc07ea5641b9c3297ab6a79b', class: "scrollbar container", part: "container", ref: (el) => (this.$paginatedList = el) }, h("div", { key: '37618a8856bd0f1a8ecc57b38cd700bc302191e6', class: { 'show-new-messages-ctr': true, active: !this.shouldRenderNewNodes } }, h("rtk-button", { key: 'b7ebb2a7b309c47af1987159726f1399452995c2', class: "show-new-messages", kind: "icon", variant: "secondary", part: "show-new-messages", onClick: () => this.onDownArrowClicked() }, h("rtk-icon", { key: '99532567bf299b314a8e0a6d5485ad3fa219e600', icon: this.iconPack.chevron_down }))), h("div", { key: '512f096db4e0fdbd969c3cb7cfacc00a38b2f2b6', class: "smallest-dom-element", id: "bottom-scroll", ref: (el) => (this.$bottomRef = el) }), this.isLoading && this.pagesToRender.flat().length === 0 && h("rtk-spinner", { key: 'bf2bcfdc9e4eecbc120ad38a0cc2c8323781532c', size: "lg" }), this.pagesToRender.flat().length === 0 && this.showEmptyListLabel ? (h("div", { class: "empty-list" }, (_a = this.emptyListLabel) !== null && _a !== void 0 ? _a : this.t('list.empty'))) : (h("div", { class: "page-wrapper" }, this.pagesToRender.map((page) => this.createNodes(page)))), h("div", { key: '2c29f14bcac1c725c619349f1e30627cfdbc26f9', class: "smallest-dom-element", id: "top-scroll", ref: (el) => (this.$topRef = el) }))));
281
+ return (h(Host, { key: '69d3a477477c252a20b07d749979b8b7dfb2e2e7' }, h("div", { key: '8ad8afdcc6ff74dfb150615597029db185369293', class: "scrollbar container", part: "container", ref: (el) => (this.$paginatedList = el) }, h("div", { key: '62b9e1007f9c46f181d2c4b0ab3ca532b9e89f3d', class: { 'show-new-messages-ctr': true, active: !this.shouldRenderNewNodes } }, h("rtk-button", { key: '4107ae7cfa77f50df7834e95dd35cad6b4836fda', class: "show-new-messages", kind: "icon", variant: "secondary", part: "show-new-messages", onClick: () => this.onDownArrowClicked() }, h("rtk-icon", { key: '1cd4a0c65e38021ecfc42c3669852fe311ac0600', icon: this.iconPack.chevron_down }))), h("div", { key: 'a52878eee8c962808b431f18b0fc6f97ecafd314', class: "smallest-dom-element", id: "bottom-scroll", ref: (el) => (this.$bottomRef = el) }), this.isLoading && this.pagesToRender.flat().length === 0 && h("rtk-spinner", { key: 'f40afc71664c93e55773112e8f69a2f97b1d8146', size: "lg" }), this.pagesToRender.flat().length === 0 && this.showEmptyListLabel ? (h("div", { class: "empty-list" }, (_a = this.emptyListLabel) !== null && _a !== void 0 ? _a : this.t('list.empty'))) : (h("div", { class: "page-wrapper" }, this.pagesToRender.map((page) => this.createNodes(page)))), h("div", { key: 'ff33dae45c6cf06f6ee64adf84b2ebfaec10d290', class: "smallest-dom-element", id: "top-scroll", ref: (el) => (this.$topRef = el) }))));
282
282
  }
283
283
  static get is() { return "rtk-paginated-list"; }
284
284
  static get encapsulation() { return "shadow"; }
@@ -13,7 +13,7 @@ import { defaultIconPack } from "../../lib/icons";
13
13
  import { useLanguage } from "../../lib/lang";
14
14
  import { lenChildren, Render } from "../../lib/render";
15
15
  import { formatName, shorten } from "../../utils/string";
16
- import { defaultConfig } from "../../exports";
16
+ import { createDefaultConfig } from "../../exports";
17
17
  import { FlagsmithFeatureFlags } from "../../utils/flags";
18
18
  import { autoPlacement, computePosition, hide, offset, shift } from "@floating-ui/dom";
19
19
  import { SyncWithStore } from "../../utils/sync-with-store";
@@ -41,7 +41,7 @@ export class RtkParticipant {
41
41
  /** Language */
42
42
  this.t = useLanguage();
43
43
  /** Config object */
44
- this.config = defaultConfig;
44
+ this.config = createDefaultConfig();
45
45
  this.audioEnabled = false;
46
46
  this.videoEnabled = false;
47
47
  this.isPinned = false;
@@ -220,9 +220,9 @@ export class RtkParticipant {
220
220
  iconPack: this.iconPack,
221
221
  t: this.t,
222
222
  };
223
- return (h(Host, { key: '9a717049edf15cfec3e497a30a37f873dcb37fd8' }, h("div", { class: "left", key: (_e = this.participant) === null || _e === void 0 ? void 0 : _e.id }, h("rtk-avatar", { key: '4e161f74ce11be1050c95556065867289ab618b2', participant: this.participant, size: "sm", iconPack: this.iconPack, t: this.t }), h("p", { key: 'c1e71db1ba1ed2e8defbbb9802c22df8b64670fc', class: "name", title: name }, shorten(name, 16), " ", ((_f = this.meeting) === null || _f === void 0 ? void 0 : _f.self.id) === ((_g = this.participant) === null || _g === void 0 ? void 0 : _g.id) && this.t('(you)'))), this.view === 'sidebar' && (h("div", { key: '165e14ba9f5e063820c6f440dc9eb03344e7bcdf', class: "right" }, isActiveParticipant && (h("rtk-icon", { key: 'd6651dc9e7eb12ed56742f08096ef239bd4429c1', class: {
223
+ return (h(Host, { key: 'fca2be3a201295536c8401df43b0d7c574204d67' }, h("div", { class: "left", key: (_e = this.participant) === null || _e === void 0 ? void 0 : _e.id }, h("rtk-avatar", { key: 'fc9a18d3afb9e023f690cc09b61c8fece2117131', participant: this.participant, size: "sm", iconPack: this.iconPack, t: this.t }), h("p", { key: '76bde07e6b502ad5b329ca0780e96b7d13ca6c86', class: "name", title: name }, shorten(name, 16), " ", ((_f = this.meeting) === null || _f === void 0 ? void 0 : _f.self.id) === ((_g = this.participant) === null || _g === void 0 ? void 0 : _g.id) && this.t('(you)'))), this.view === 'sidebar' && (h("div", { key: 'f5475e848b7eb07f36b03514c2f140366fa9db75', class: "right" }, isActiveParticipant && (h("rtk-icon", { key: 'd79d3570137dc8f44d85d4f1325d2b7528ae2b09', class: {
224
224
  red: !this.audioEnabled,
225
- }, icon: this.audioEnabled ? this.iconPack.mic_on : this.iconPack.mic_off })), isActiveParticipant && !isAudioRoom && (h("rtk-icon", { key: '89506d158acdb3e2629a7a2ab51aef475f9f3b75', class: {
225
+ }, icon: this.audioEnabled ? this.iconPack.mic_on : this.iconPack.mic_off })), isActiveParticipant && !isAudioRoom && (h("rtk-icon", { key: '8267f27a37e363ddc54708d31c6715fffd6bf057', class: {
226
226
  red: !this.videoEnabled,
227
227
  }, icon: this.videoEnabled ? this.iconPack.video_on : this.iconPack.video_off })), (showMenu ||
228
228
  lenChildren({
@@ -231,34 +231,34 @@ export class RtkParticipant {
231
231
  childProps: {
232
232
  participant: this.participant,
233
233
  },
234
- }) > 0) && (h("div", { key: '202a957dfe004c8c1f2195bf93c9ce9ce167a96f', class: "menu" }, h("span", { key: 'a01163f9da5fab4a1d7922f8abfe5a2e4a4dcf2c', id: "trigger", onClick: this.onMenuToggle }, h("rtk-button", { key: '144e0c418b6a038d560f8087825471b649229ecb', variant: "ghost", kind: "icon", slot: "trigger" }, h("rtk-icon", { key: '18abb20a0969e0332d8fe2b5dcfe41bfc66955f7', class: "more", icon: this.iconPack.more_vertical }))), h("span", { key: '3a22ebe5a21228b6ea6e15933d961b24085dce44', id: "menu-list" }, this.menuOpen && (h("rtk-menu-list", { key: '86688ad10d1440c5b534fe2f002225e0368ae24a', iconPack: this.iconPack, t: this.t }, this.canPinParticipant && isActiveParticipant && !isAudioRoom && (h("rtk-menu-item", { key: 'c22833b86d8583bdaec723a269afa7298cb0ca0d', onClick: () => {
234
+ }) > 0) && (h("div", { key: '16a70e1c20fbc9b60bdc06c2b5621eeb92ffd456', class: "menu" }, h("span", { key: '2283145bee77a1d3cca5b78ab035df9295c0bd12', id: "trigger", onClick: this.onMenuToggle }, h("rtk-button", { key: 'f11c52baf39ff342d4bd6cac5882b7852bea5dd0', variant: "ghost", kind: "icon", slot: "trigger" }, h("rtk-icon", { key: '2d218acada676cb4fc8d2b720fd7a785932b05cb', class: "more", icon: this.iconPack.more_vertical }))), h("span", { key: '57eee96bfe16ec0792f068b1c5125020522b6ea0', id: "menu-list" }, this.menuOpen && (h("rtk-menu-list", { key: '73786a54c181560cf3744d41872860a4f9226182', iconPack: this.iconPack, t: this.t }, this.canPinParticipant && isActiveParticipant && !isAudioRoom && (h("rtk-menu-item", { key: '5e58a73a8ee20e682dfaea8352bf757f21f2074d', onClick: () => {
235
235
  if (this.isPinned) {
236
236
  this.participant.unpin();
237
237
  }
238
238
  else {
239
239
  this.participant.pin();
240
240
  }
241
- }, iconPack: this.iconPack, t: this.t }, h("rtk-icon", { key: '9cdde53aaffca1f0042a69048b77f31fc10c69d6', icon: this.isPinned ? this.iconPack.pin_off : this.iconPack.pin, slot: "start" }), this.isPinned ? this.t('unpin') : this.t('pin'))), isSelf && (h("rtk-menu-item", { key: 'b651953a9b02065ca223c46dd7dbadedc8401031', iconPack: this.iconPack, t: this.t, onClick: () => {
241
+ }, iconPack: this.iconPack, t: this.t }, h("rtk-icon", { key: '7b1135f7ea874641440af548c170d7eed932f5aa', icon: this.isPinned ? this.iconPack.pin_off : this.iconPack.pin, slot: "start" }), this.isPinned ? this.t('unpin') : this.t('pin'))), isSelf && (h("rtk-menu-item", { key: '6f1a6e919ad72776e0a318bac3657e358a846e42', iconPack: this.iconPack, t: this.t, onClick: () => {
242
242
  this.isHidden
243
243
  ? this.participant.show()
244
244
  : this.participant.hide();
245
- } }, h("rtk-icon", { key: 'e63383cca42314f8ac0a9a03d13948b4eb5ced8c', icon: this.isHidden ? this.iconPack.minimize : this.iconPack.maximize, slot: "start" }), !this.meeting.self.hidden ? this.t('minimize') : this.t('maximize'))), this.canDisableParticipantAudio &&
245
+ } }, h("rtk-icon", { key: '6d2dc3f5a8fcbac7bee5855418f2d310a44ea581', icon: this.isHidden ? this.iconPack.minimize : this.iconPack.maximize, slot: "start" }), !this.meeting.self.hidden ? this.t('minimize') : this.t('maximize'))), this.canDisableParticipantAudio &&
246
246
  isActiveParticipant &&
247
- this.audioEnabled && (h("rtk-menu-item", { key: '86f670083fa1000cc99c5a57d4da2cb789c88aee', iconPack: this.iconPack, t: this.t, onClick: () => {
247
+ this.audioEnabled && (h("rtk-menu-item", { key: '9f15f60f110f41b68a7e48c5f14f1826f291a76a', iconPack: this.iconPack, t: this.t, onClick: () => {
248
248
  this.participant.disableAudio();
249
- } }, h("rtk-icon", { key: 'd75504ef4431c83efea2d281baad6a10c8a2e3b3', icon: this.iconPack.mic_off, slot: "start" }), this.t('mute'))), this.canDisableParticipantVideo &&
249
+ } }, h("rtk-icon", { key: '337bd8e35012e5d5db7c899246f5debff0e82a8f', icon: this.iconPack.mic_off, slot: "start" }), this.t('mute'))), this.canDisableParticipantVideo &&
250
250
  isActiveParticipant &&
251
- this.videoEnabled && (h("rtk-menu-item", { key: '2634fae26bc72fec773f3a7f85fad7ebc1cfca11', iconPack: this.iconPack, t: this.t, onClick: () => {
251
+ this.videoEnabled && (h("rtk-menu-item", { key: '5c57b5c3e63efc77578849e1e631d92bece21b93', iconPack: this.iconPack, t: this.t, onClick: () => {
252
252
  this.participant.disableVideo();
253
- } }, h("rtk-icon", { key: '57d51380b52a20a8f9dfc51931401712f4d67f26', icon: this.iconPack.video_off, slot: "start" }), this.t('participants.turn_off_video'))), this.canAllowParticipantOnStage &&
254
- ((_h = this.participant) === null || _h === void 0 ? void 0 : _h.id) !== ((_j = this.meeting) === null || _j === void 0 ? void 0 : _j.self.id) && (h("rtk-menu-item", { key: '64ab2f51f494b8d3d445ae9aece430e8c0fca673', iconPack: this.iconPack, t: this.t, class: this.isOnStage ? 'red' : '', onClick: this.inviteToStageToggle }, h("rtk-icon", { key: '5633f66f3679bfc3b6e87a55cfb884e63260767c', icon: this.isOnStage
253
+ } }, h("rtk-icon", { key: 'dc95678f6f7fdc6dcbce86ee6a13d9891e039770', icon: this.iconPack.video_off, slot: "start" }), this.t('participants.turn_off_video'))), this.canAllowParticipantOnStage &&
254
+ ((_h = this.participant) === null || _h === void 0 ? void 0 : _h.id) !== ((_j = this.meeting) === null || _j === void 0 ? void 0 : _j.self.id) && (h("rtk-menu-item", { key: '60aabc93efd82a76edcea10d895522d9c9d5e68f', iconPack: this.iconPack, t: this.t, class: this.isOnStage ? 'red' : '', onClick: this.inviteToStageToggle }, h("rtk-icon", { key: '6eef25ebdfae1932011b9764cdc3cbf7f07ecd1b', icon: this.isOnStage
255
255
  ? this.iconPack.leave_stage
256
256
  : this.iconPack.join_stage, slot: "start" }), this.isOnStage
257
257
  ? this.t('stage.remove_from_stage')
258
- : this.t('stage.add_to_stage'))), !isSelf && this.canKickParticipant && (h("rtk-menu-item", { key: '664e9b1c843aa0cc7a47062b4f353a8e1105a368', iconPack: this.iconPack, t: this.t, class: "red", onClick: () => {
258
+ : this.t('stage.add_to_stage'))), !isSelf && this.canKickParticipant && (h("rtk-menu-item", { key: '69ede235912eaf64e025d7b05dae7ee0e9089ab4', iconPack: this.iconPack, t: this.t, class: "red", onClick: () => {
259
259
  var _a, _b;
260
260
  (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.participants.kick((_b = this.participant) === null || _b === void 0 ? void 0 : _b.id);
261
- } }, h("rtk-icon", { key: '10cb3a42b4c861241d983d9cb1ebfe594500fbc3', icon: this.iconPack.dismiss, slot: "start" }), this.t('kick'))), h("slot", { key: 'ed681666f5bb8bf06a6fac4b929853d9b6bc704c' }, h(Render, { key: '8177a2248bf03ffbe26a7f0f560eb81439a00fb3', element: "rtk-participant", defaults: defaults, childProps: {
261
+ } }, h("rtk-icon", { key: 'e4ad9ac63eea2e436374289d5e0b83a754bf65fd', icon: this.iconPack.dismiss, slot: "start" }), this.t('kick'))), h("slot", { key: '51235a7802e6878c7391c132e4bd8c3c636b57c5' }, h(Render, { key: '5ca8b68b79c748f3ced6cdb33ec8757caa7b597b', element: "rtk-participant", defaults: defaults, childProps: {
262
262
  participant: this.participant,
263
263
  }, deepProps: true, onlyChildren: true })))))))))));
264
264
  }
@@ -441,7 +441,7 @@ export class RtkParticipant {
441
441
  },
442
442
  "getter": false,
443
443
  "setter": false,
444
- "defaultValue": "defaultConfig"
444
+ "defaultValue": "createDefaultConfig()"
445
445
  }
446
446
  };
447
447
  }
@@ -501,3 +501,6 @@ __decorate([
501
501
  __decorate([
502
502
  SyncWithStore()
503
503
  ], RtkParticipant.prototype, "t", void 0);
504
+ __decorate([
505
+ SyncWithStore()
506
+ ], RtkParticipant.prototype, "config", void 0);
@@ -11,7 +11,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
11
11
  import { Host, h } from "@stencil/core";
12
12
  import { defaultIconPack } from "../../lib/icons";
13
13
  import { useLanguage } from "../../lib/lang";
14
- import { defaultConfig } from "../../exports";
14
+ import { createDefaultConfig } from "../../exports";
15
15
  import { SyncWithStore } from "../../utils/sync-with-store";
16
16
  export class RtkParticipantSetup {
17
17
  constructor() {
@@ -21,7 +21,7 @@ export class RtkParticipantSetup {
21
21
  /** Whether tile is used for preview */
22
22
  this.isPreview = false;
23
23
  /** Config object */
24
- this.config = defaultConfig;
24
+ this.config = createDefaultConfig();
25
25
  /** Variant */
26
26
  this.variant = 'solid';
27
27
  /** Icon pack */
@@ -83,11 +83,11 @@ export class RtkParticipantSetup {
83
83
  }
84
84
  render() {
85
85
  var _a, _b, _c, _d;
86
- return (h(Host, { key: '69573519e7127835dd9304dcfb507ebbb94e0de8' }, h("video", { key: '75c047e3029721e655016da9a40e2b94770a5234', ref: (el) => (this.videoEl = el), class: {
86
+ return (h(Host, { key: 'a3dd1a3fccf6d3e2a9298039098a11869beee9e2' }, h("video", { key: '8b14e504969e4eaad73760e6e2ce0180671e7ced', ref: (el) => (this.videoEl = el), class: {
87
87
  visible: (_a = this.videoState) === null || _a === void 0 ? void 0 : _a.videoEnabled,
88
88
  mirror: this.isMirrored(),
89
89
  [(_d = (_c = (_b = this.config) === null || _b === void 0 ? void 0 : _b.config) === null || _c === void 0 ? void 0 : _c.videoFit) !== null && _d !== void 0 ? _d : 'cover']: true,
90
- }, autoPlay: true, playsInline: true, muted: true }), h("slot", { key: '3bdccee7fb4e001425249fe832b4bdcb01751306' })));
90
+ }, autoPlay: true, playsInline: true, muted: true }), h("slot", { key: 'e6938a22c8cd8e0c38b4724923ceb9808fff3a01' })));
91
91
  }
92
92
  static get is() { return "rtk-participant-setup"; }
93
93
  static get encapsulation() { return "shadow"; }
@@ -211,7 +211,7 @@ export class RtkParticipantSetup {
211
211
  },
212
212
  "getter": false,
213
213
  "setter": false,
214
- "defaultValue": "defaultConfig"
214
+ "defaultValue": "createDefaultConfig()"
215
215
  },
216
216
  "variant": {
217
217
  "type": "string",
@@ -327,6 +327,9 @@ export class RtkParticipantSetup {
327
327
  __decorate([
328
328
  SyncWithStore()
329
329
  ], RtkParticipantSetup.prototype, "states", void 0);
330
+ __decorate([
331
+ SyncWithStore()
332
+ ], RtkParticipantSetup.prototype, "config", void 0);
330
333
  __decorate([
331
334
  SyncWithStore()
332
335
  ], RtkParticipantSetup.prototype, "size", void 0);
@@ -12,7 +12,7 @@ import { Host, h } from "@stencil/core";
12
12
  import { defaultIconPack } from "../../lib/icons";
13
13
  import { useLanguage } from "../../lib/lang";
14
14
  import { FlagsmithFeatureFlags } from "../../utils/flags";
15
- import { defaultConfig } from "../../exports";
15
+ import { createDefaultConfig } from "../../exports";
16
16
  import { Render } from "../../lib/render";
17
17
  import { SyncWithStore } from "../../utils/sync-with-store";
18
18
  /**
@@ -28,7 +28,7 @@ export class RtkParticipantTile {
28
28
  /** Whether tile is used for preview */
29
29
  this.isPreview = false;
30
30
  /** Config object */
31
- this.config = defaultConfig;
31
+ this.config = createDefaultConfig();
32
32
  /** Variant */
33
33
  this.variant = 'solid';
34
34
  /** Icon pack */
@@ -125,6 +125,8 @@ export class RtkParticipantTile {
125
125
  }
126
126
  render() {
127
127
  var _a, _b, _c;
128
+ if (!this.meeting)
129
+ return null;
128
130
  const defaults = {
129
131
  meeting: this.meeting,
130
132
  size: this.size,
@@ -133,10 +135,10 @@ export class RtkParticipantTile {
133
135
  iconPack: this.iconPack,
134
136
  t: this.t,
135
137
  };
136
- return (h(Host, { key: '3e979a21a98a39b061612531ef9bd644d39a983e' }, h("video", { key: '3ba45f4944aafeb8673afc8daa1e15db82ec42b5', ref: (el) => this.onVideoRef(el), class: {
138
+ return (h(Host, null, h("video", { ref: (el) => this.onVideoRef(el), class: {
137
139
  mirror: this.isMirrored(),
138
140
  [(_c = (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.config) === null || _b === void 0 ? void 0 : _b.videoFit) !== null && _c !== void 0 ? _c : 'cover']: true,
139
- }, onPlaying: this.onPlaying, onPause: this.onPause, autoPlay: true, playsInline: true, muted: true, part: "video" }), this.isPinned && (h("rtk-icon", { key: '02ca6b139670e6ac3ac16a24248329a4dc09976d', class: "pinned-icon", icon: this.iconPack.pin, "aria-label": this.t('pinned'), part: "pinned-icon" })), this.mediaConnectionError && (h("div", { key: '5bf2f0b14e7d077b3ebd9bec74291bf746fcf6c9', class: "network-container", part: "network-indicator" }, h("rtk-icon", { key: '32ee83f5d08430273ae0bce3424e2e1a3206419a', class: "network-icon", icon: this.iconPack.disconnected, "aria-label": this.t('pinned'), part: "pinned-icon" }))), h("slot", { key: '781a75e98ff649fb94672cb7ce4f176ef0c1c090' }, h(Render, { key: 'b756c2269429153fbab8dd3c79978d0a2d3a153d', element: "rtk-participant-tile", defaults: defaults, childProps: {
141
+ }, onPlaying: this.onPlaying, onPause: this.onPause, autoPlay: true, playsInline: true, muted: true, part: "video" }), this.isPinned && (h("rtk-icon", { class: "pinned-icon", icon: this.iconPack.pin, "aria-label": this.t('pinned'), part: "pinned-icon" })), this.mediaConnectionError && (h("div", { class: "network-container", part: "network-indicator" }, h("rtk-icon", { class: "network-icon", icon: this.iconPack.disconnected, "aria-label": this.t('pinned'), part: "pinned-icon" }))), h("slot", null, h(Render, { element: "rtk-participant-tile", defaults: defaults, childProps: {
140
142
  participant: this.participant,
141
143
  }, deepProps: true, onlyChildren: true }))));
142
144
  }
@@ -285,7 +287,7 @@ export class RtkParticipantTile {
285
287
  },
286
288
  "getter": false,
287
289
  "setter": false,
288
- "defaultValue": "defaultConfig"
290
+ "defaultValue": "createDefaultConfig()"
289
291
  },
290
292
  "variant": {
291
293
  "type": "string",
@@ -453,6 +455,9 @@ __decorate([
453
455
  __decorate([
454
456
  SyncWithStore()
455
457
  ], RtkParticipantTile.prototype, "states", void 0);
458
+ __decorate([
459
+ SyncWithStore()
460
+ ], RtkParticipantTile.prototype, "config", void 0);
456
461
  __decorate([
457
462
  SyncWithStore()
458
463
  ], RtkParticipantTile.prototype, "size", void 0);