@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
@@ -11,7 +11,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
11
11
  import { defaultIconPack } from "../../lib/icons";
12
12
  import { Host, h } from "@stencil/core";
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
  import { debounce } from "lodash-es";
17
17
  /**
@@ -21,7 +21,7 @@ import { debounce } from "lodash-es";
21
21
  export class RtkParticipants {
22
22
  constructor() {
23
23
  /** Config */
24
- this.config = defaultConfig;
24
+ this.config = createDefaultConfig();
25
25
  /** Icon pack */
26
26
  this.iconPack = defaultIconPack;
27
27
  /** Default section */
@@ -116,7 +116,7 @@ export class RtkParticipants {
116
116
  this.meetingChanged(this.meeting);
117
117
  }
118
118
  disconnectedCallback() {
119
- if (this.meeting == null)
119
+ if (!this.meeting)
120
120
  return;
121
121
  this.meeting.participants.joined.off('participantJoined', this.updateParticipantCountsInTabs);
122
122
  this.meeting.participants.joined.off('participantsUpdate', this.updateParticipantCountsInTabs);
@@ -128,7 +128,7 @@ export class RtkParticipants {
128
128
  this.meeting.participants.waitlisted.off('stageStatusUpdate', this.updateParticipantCountsInTabs);
129
129
  }
130
130
  meetingChanged(meeting) {
131
- if (meeting == null)
131
+ if (!meeting)
132
132
  return;
133
133
  meeting.participants.joined.on('participantJoined', this.updateParticipantCountsInTabs);
134
134
  meeting.participants.joined.on('participantsUpdate', this.updateParticipantCountsInTabs);
@@ -147,6 +147,8 @@ export class RtkParticipants {
147
147
  this.updateParticipantCountsInTabs();
148
148
  }
149
149
  render() {
150
+ if (!this.meeting)
151
+ return null;
150
152
  const defaults = {
151
153
  meeting: this.meeting,
152
154
  states: this.states,
@@ -155,10 +157,10 @@ export class RtkParticipants {
155
157
  iconPack: this.iconPack,
156
158
  t: this.t,
157
159
  };
158
- return (h(Host, { key: '9957561cf7ae9a0a28d62bce7102dbb6145aaeda' }, h("div", { key: '5960602654c8d993afc99ce22582514d1438182b', class: "search", part: "search" }, h("rtk-icon", { key: 'cc94e5fd1e5540b893f2bdb5b4ad4e3563d37424', icon: this.iconPack.search, part: "search-icon" }), h("input", { key: 'c0a723db1be4d4a8c91907f24078678561a9bfb9', type: "search", autocomplete: "off", placeholder: this.t('search'), onInput: this.onSearchInput, part: "search-input" })), h("slot", { key: '7f145408b13056ad7e95b3469dc009ae46e73978', name: "start" }), h("div", { key: '465b74c71cd0239832ef60a0973537c71b394007', class: `ctr scrollbar ${this.currentParticipantsTabId !== 'requests' ? 'virtualised' : ''}`, part: "container" }, h("rtk-sidebar-ui", { key: 'c6395b16482d114f82af07df85faeb1dc2584c4a', tabs: this.tabs, currentTab: this.currentParticipantsTabId, view: "full-screen", hideHeader: true, hideCloseAction: true, style: { position: 'relative' }, onTabChange: (e) => {
160
+ return (h(Host, null, h("div", { class: "search", part: "search" }, h("rtk-icon", { icon: this.iconPack.search, part: "search-icon" }), h("input", { type: "search", autocomplete: "off", placeholder: this.t('search'), onInput: this.onSearchInput, part: "search-input" })), h("slot", { name: "start" }), h("div", { class: `ctr scrollbar ${this.currentParticipantsTabId !== 'requests' ? 'virtualised' : ''}`, part: "container" }, h("rtk-sidebar-ui", { tabs: this.tabs, currentTab: this.currentParticipantsTabId, view: "full-screen", hideHeader: true, hideCloseAction: true, style: { position: 'relative' }, onTabChange: (e) => {
159
161
  this.viewSection(e.detail);
160
162
  e.stopPropagation();
161
- } }, (!this.currentParticipantsTabId || this.currentParticipantsTabId === 'stage-list') && (h("div", { key: '20d7a91bed3ea3047614d52ba30c5e832db6fce1', slot: "stage-list", style: { marginTop: '10px', height: '100%' } }, h("rtk-participants-stage-list", Object.assign({ key: '160ddba969e95e270e1443f11d48d989b4ee8561' }, defaults, { search: this.search, hideHeader: true })))), this.currentParticipantsTabId === 'requests' && (h("div", { key: '52d4eae9480d00972b61c0e2964fcb8fc5498c89', slot: "requests", style: { marginTop: '10px', height: '100%' } }, !this.hasRequests && (h("div", { key: '5690208be803224c202d81563be0fae45396dbeb', class: "no-pending-requests" }, this.t('participants.no_pending_requests'))), h("rtk-participants-stage-queue", Object.assign({ key: 'db4763d312a191c48279fa25168a1f363f574edc' }, defaults)), h("rtk-participants-waiting-list", Object.assign({ key: 'f2b4ad3ad303b1c8a5314b5dd55de16c9c168c19' }, defaults)))), this.currentParticipantsTabId === 'viewer-list' && (h("div", { key: 'a262369c69afd77e101ec10934a9d4065590e748', slot: "viewer-list", style: { marginTop: '10px', height: '100%' } }, h("rtk-participants-viewer-list", Object.assign({ key: '0142b3855f357213ba24260091e5e7d48acb268d' }, defaults, { search: this.search, hideHeader: true })))))), h("slot", { key: 'eae12c410cbe1282da2107420b4d44f66af5dd35', name: "end" })));
163
+ } }, (!this.currentParticipantsTabId || this.currentParticipantsTabId === 'stage-list') && (h("div", { slot: "stage-list", style: { marginTop: '10px', height: '100%' } }, h("rtk-participants-stage-list", Object.assign({}, defaults, { search: this.search, hideHeader: true })))), this.currentParticipantsTabId === 'requests' && (h("div", { slot: "requests", style: { marginTop: '10px', height: '100%' } }, !this.hasRequests && (h("div", { class: "no-pending-requests" }, this.t('participants.no_pending_requests'))), h("rtk-participants-stage-queue", Object.assign({}, defaults)), h("rtk-participants-waiting-list", Object.assign({}, defaults)))), this.currentParticipantsTabId === 'viewer-list' && (h("div", { slot: "viewer-list", style: { marginTop: '10px', height: '100%' } }, h("rtk-participants-viewer-list", Object.assign({}, defaults, { search: this.search, hideHeader: true })))))), h("slot", { name: "end" })));
162
164
  }
163
165
  static get is() { return "rtk-participants"; }
164
166
  static get encapsulation() { return "shadow"; }
@@ -242,7 +244,7 @@ export class RtkParticipants {
242
244
  },
243
245
  "getter": false,
244
246
  "setter": false,
245
- "defaultValue": "defaultConfig"
247
+ "defaultValue": "createDefaultConfig()"
246
248
  },
247
249
  "size": {
248
250
  "type": "string",
@@ -393,6 +395,9 @@ __decorate([
393
395
  __decorate([
394
396
  SyncWithStore()
395
397
  ], RtkParticipants.prototype, "states", void 0);
398
+ __decorate([
399
+ SyncWithStore()
400
+ ], RtkParticipants.prototype, "config", void 0);
396
401
  __decorate([
397
402
  SyncWithStore()
398
403
  ], RtkParticipants.prototype, "size", void 0);
@@ -36,7 +36,7 @@ export class RtkParticipantsAudio {
36
36
  }
37
37
  disconnectedCallback() {
38
38
  var _a;
39
- if (this.meeting == null)
39
+ if (!this.meeting)
40
40
  return;
41
41
  this.audioUpdateListener &&
42
42
  this.meeting.participants.joined.removeListener('audioUpdate', this.audioUpdateListener);
@@ -108,7 +108,7 @@ export class RtkParticipantsAudio {
108
108
  }
109
109
  async meetingChanged(meeting) {
110
110
  var _a;
111
- if (meeting == null)
111
+ if (!meeting)
112
112
  return;
113
113
  this.setupAudio();
114
114
  if (isLiveStreamViewer(meeting)) {
@@ -126,7 +126,7 @@ export class RtkParticipantsAudio {
126
126
  await this.handleEvents(meeting);
127
127
  }
128
128
  render() {
129
- return (h(Host, { key: '8f6ac797ceb5f3fa6c8633e72174e9ae91e7979a' }, this.showPlayDialog && (h("rtk-dialog", { key: 'd1f5723dec7d7e9e66625deb9cebce63e26520e1', open: true, onRtkDialogClose: this.onRtkDialogClose, hideCloseButton: true, disableEscapeKey: true, iconPack: this.iconPack, t: this.t }, h("div", { key: 'cd0de80766e3f1c665666f463bf405f44ed8323d', class: "modal" }, h("h3", { key: '098d978b8c3aeba86328e23104fa7e73f12f2296' }, this.t('audio_playback.title')), h("p", { key: '74d242093687ab9734392a8d5357c7a2c5cce8b9' }, this.t('audio_playback.description')), h("rtk-button", { key: '6382f33f9b3907989c5559c49091f2173be708e3', kind: "wide", onClick: () => {
129
+ return (h(Host, { key: '21a64212a6cc90c14a8f5593269be311b844c574' }, this.showPlayDialog && (h("rtk-dialog", { key: '9572a416560f8ebd569d977b0d6b1758fe9ffaa4', open: true, onRtkDialogClose: this.onRtkDialogClose, hideCloseButton: true, disableEscapeKey: true, iconPack: this.iconPack, t: this.t }, h("div", { key: 'dd3cea3ac1b3ba4feb4f85a0cc2d8505bf25597e', class: "modal" }, h("h3", { key: '3dc9046e0322029cee74b8d5688453f081b529e1' }, this.t('audio_playback.title')), h("p", { key: 'b9b076d73c0ac8fa13e25bfba2ebd6c968d41e58' }, this.t('audio_playback.description')), h("rtk-button", { key: '274d941ea5c4f3b6aa6e94f200dabd84856ebccc', kind: "wide", onClick: () => {
130
130
  this.audio.play();
131
131
  this.onRtkDialogClose();
132
132
  }, title: this.t('audio_playback') }, this.t('audio_playback')))))));
@@ -11,7 +11,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
11
11
  import { defaultIconPack } from "../../lib/icons";
12
12
  import { Host, h } from "@stencil/core";
13
13
  import { useLanguage } from "../../lib/lang";
14
- import { defaultConfig } from "../../exports";
14
+ import { createDefaultConfig } from "../../exports";
15
15
  import { Render } from "../../lib/render";
16
16
  import { SyncWithStore } from "../../utils/sync-with-store";
17
17
  /**
@@ -21,7 +21,7 @@ import { SyncWithStore } from "../../utils/sync-with-store";
21
21
  export class RtkParticipants {
22
22
  constructor() {
23
23
  /** Config */
24
- this.config = defaultConfig;
24
+ this.config = createDefaultConfig();
25
25
  /** Hide Stage Participants Count Header */
26
26
  this.hideHeader = false;
27
27
  /** Icon pack */
@@ -54,9 +54,9 @@ export class RtkParticipants {
54
54
  this.searchChanged(this.search);
55
55
  }
56
56
  disconnectedCallback() {
57
- const { participants, stage } = this.meeting;
58
- if (this.meeting == null)
57
+ if (!this.meeting)
59
58
  return;
59
+ const { participants, stage } = this.meeting;
60
60
  this.participantJoinedListener &&
61
61
  this.meeting.participants.joined.removeListener('participantJoined', this.participantJoinedListener);
62
62
  this.participantLeftListener &&
@@ -65,7 +65,7 @@ export class RtkParticipants {
65
65
  stage === null || stage === void 0 ? void 0 : stage.removeListener('stageStatusUpdate', this.updateStageList);
66
66
  }
67
67
  meetingChanged(meeting) {
68
- if (meeting == null)
68
+ if (!meeting)
69
69
  return;
70
70
  this.participantJoinedListener = (participant) => {
71
71
  if (participant.stageStatus !== 'ON_STAGE')
@@ -105,7 +105,7 @@ export class RtkParticipants {
105
105
  }
106
106
  }
107
107
  render() {
108
- return (h(Host, { key: '54501f9cebd4dee4398cb0161341c72008a1bf22' }, h("div", { key: '9157670e4ed76beb38ad5c6e3405a1707ff8d262', class: "participants-container" }, !this.hideHeader && (h("div", { key: '71d44cb3842d749a19526068700f788727ff5c28', class: "heading-count", part: "heading-count" }, this.t('participants'), " (", this.participants.length, ")")), h("rtk-virtualized-participant-list", { key: '8239db7509da6cc5334b8d860e9954527febacf2', items: this.participants, renderItem: this.createParticipantNode, part: "participants", class: "participants", emptyListElement: h("div", { class: "empty-stage-list" }, this.search.length > 0 ? this.t('search.could_not_find') : this.t('search.empty')) }))));
108
+ return (h(Host, { key: 'cfdd5d93db01607a2790998e1ccd9fb4793ea23a' }, h("div", { key: 'ae28eb5c74fb86f5c9fe3f702285b88ca45f8aef', class: "participants-container" }, !this.hideHeader && (h("div", { key: '1251c66e98b2c2c07d627524f6a593161ada4bc7', class: "heading-count", part: "heading-count" }, this.t('participants'), " (", this.participants.length, ")")), h("rtk-virtualized-participant-list", { key: 'c90a073af89c1ce26e1e65077a15b4e585d7bf4f', items: this.participants, renderItem: this.createParticipantNode, part: "participants", class: "participants", emptyListElement: h("div", { class: "empty-stage-list" }, this.search.length > 0 ? this.t('search.could_not_find') : this.t('search.empty')) }))));
109
109
  }
110
110
  static get is() { return "rtk-participants-stage-list"; }
111
111
  static get encapsulation() { return "shadow"; }
@@ -189,7 +189,7 @@ export class RtkParticipants {
189
189
  },
190
190
  "getter": false,
191
191
  "setter": false,
192
- "defaultValue": "defaultConfig"
192
+ "defaultValue": "createDefaultConfig()"
193
193
  },
194
194
  "size": {
195
195
  "type": "string",
@@ -353,6 +353,9 @@ __decorate([
353
353
  __decorate([
354
354
  SyncWithStore()
355
355
  ], RtkParticipants.prototype, "states", void 0);
356
+ __decorate([
357
+ SyncWithStore()
358
+ ], RtkParticipants.prototype, "config", void 0);
356
359
  __decorate([
357
360
  SyncWithStore()
358
361
  ], RtkParticipants.prototype, "size", void 0);
@@ -9,13 +9,13 @@ 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 { h } from "@stencil/core";
12
- import { defaultIconPack, defaultConfig } from "../../exports";
12
+ import { defaultIconPack, createDefaultConfig, } from "../../exports";
13
13
  import { useLanguage } from "../../lib/lang";
14
14
  import { SyncWithStore } from "../../utils/sync-with-store";
15
15
  export class RtkParticipantsStaged {
16
16
  constructor() {
17
17
  /** Config */
18
- this.config = defaultConfig;
18
+ this.config = createDefaultConfig();
19
19
  /** Icon pack */
20
20
  this.iconPack = defaultIconPack;
21
21
  /** View mode for participants list */
@@ -86,13 +86,15 @@ export class RtkParticipantsStaged {
86
86
  }
87
87
  meetingChanged(meeting) {
88
88
  var _a;
89
- if (meeting == null)
89
+ if (!meeting)
90
90
  return;
91
91
  this.updateRequestList();
92
92
  meeting.participants.joined.on('stageStatusUpdate', this.updateStageRequestedParticipants);
93
93
  (_a = meeting.stage) === null || _a === void 0 ? void 0 : _a.on('stageAccessRequestUpdate', this.updateRequestList);
94
94
  }
95
95
  render() {
96
+ if (!this.meeting)
97
+ return null;
96
98
  if (this.view !== 'sidebar' || !this.shouldShowStageRequests())
97
99
  return;
98
100
  return (h("div", { class: "stage-requested-participants" }, h("div", { class: "heading-count", part: "staged-heading-count" }, this.t('stage_request.header_title'), " (", this.stageRequestedParticipants.length, ")"), h("ul", { class: "participants", part: "staged-participants" }, this.stageRequestedParticipants.map((participant) => (h("li", { class: "waiting-participant", key: participant.id }, h("div", { class: "participant-details" }, h("rtk-avatar", { participant: participant, size: "sm", iconPack: this.iconPack, t: this.t }), h("p", { class: "name", title: participant.name }, participant.name)), h("div", { class: "waitlist-controls" }, h("rtk-tooltip", { label: this.t('stage_request.deny_request'), variant: "secondary" }, h("rtk-button", { variant: "secondary", kind: "icon", onClick: () => this.rejectStageRequest(participant) }, h("rtk-icon", { class: "deny", icon: this.iconPack.dismiss }))), h("rtk-tooltip", { label: this.t('stage_request.accept_request'), variant: "secondary" }, h("rtk-button", { variant: "secondary", kind: "icon", onClick: () => this.acceptStageRequest(participant) }, h("rtk-icon", { class: "accept", icon: this.iconPack.checkmark })))))))), h("div", { class: "bulk-actions" }, h("rtk-button", { class: "accept-all-button", variant: "secondary", onClick: this.acceptAllStageRequest }, this.t('stage_request.accept_all')), h("rtk-button", { class: "deny-all-button", variant: "danger", onClick: this.denyAllStageRequest }, this.t('stage_request.deny_all')))));
@@ -156,7 +158,7 @@ export class RtkParticipantsStaged {
156
158
  },
157
159
  "getter": false,
158
160
  "setter": false,
159
- "defaultValue": "defaultConfig"
161
+ "defaultValue": "createDefaultConfig()"
160
162
  },
161
163
  "size": {
162
164
  "type": "string",
@@ -274,6 +276,9 @@ export class RtkParticipantsStaged {
274
276
  __decorate([
275
277
  SyncWithStore()
276
278
  ], RtkParticipantsStaged.prototype, "meeting", void 0);
279
+ __decorate([
280
+ SyncWithStore()
281
+ ], RtkParticipantsStaged.prototype, "config", void 0);
277
282
  __decorate([
278
283
  SyncWithStore()
279
284
  ], RtkParticipantsStaged.prototype, "size", void 0);
@@ -60,7 +60,7 @@ export class RtkParticipantsToggle {
60
60
  }
61
61
  disconnectedCallback() {
62
62
  var _a, _b, _c;
63
- if (this.meeting == null)
63
+ if (!this.meeting)
64
64
  return;
65
65
  (_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.stage) === null || _b === void 0 ? void 0 : _b.removeListener('stageStatusUpdate', this.updateCanView);
66
66
  this.waitlistedParticipantJoinedListener &&
@@ -71,7 +71,7 @@ export class RtkParticipantsToggle {
71
71
  }
72
72
  meetingChanged(meeting) {
73
73
  var _a;
74
- if (meeting == null)
74
+ if (!meeting)
75
75
  return;
76
76
  this.canViewParticipants = canViewParticipants(meeting);
77
77
  (_a = meeting === null || meeting === void 0 ? void 0 : meeting.stage) === null || _a === void 0 ? void 0 : _a.on('stageStatusUpdate', this.updateCanView);
@@ -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 { h } from "@stencil/core";
12
- import { defaultIconPack, defaultConfig } from "../../exports";
12
+ import { defaultIconPack, createDefaultConfig, } from "../../exports";
13
13
  import { useLanguage } from "../../lib/lang";
14
14
  import { SyncWithStore } from "../../utils/sync-with-store";
15
15
  export class RtkParticipantsViewers {
@@ -18,7 +18,7 @@ export class RtkParticipantsViewers {
18
18
  this.getViewers(this.search);
19
19
  };
20
20
  /** Config */
21
- this.config = defaultConfig;
21
+ this.config = createDefaultConfig();
22
22
  /** Hide Viewer Count Header */
23
23
  this.hideHeader = false;
24
24
  /** Icon pack */
@@ -44,7 +44,7 @@ export class RtkParticipantsViewers {
44
44
  this.searchChanged(this.search);
45
45
  }
46
46
  meetingChanged(meeting) {
47
- if (meeting == null)
47
+ if (!meeting)
48
48
  return;
49
49
  this.participantJoinedListener = (participant) => {
50
50
  if (participant.stageStatus === 'ON_STAGE')
@@ -89,6 +89,8 @@ export class RtkParticipantsViewers {
89
89
  }
90
90
  }
91
91
  render() {
92
+ if (!this.meeting)
93
+ return null;
92
94
  if (this.view !== 'sidebar' || !this.shouldShowViewers())
93
95
  return;
94
96
  return (h("div", { class: "list" }, !this.hideHeader && (h("div", { class: "heading-count", part: "heading-count" }, this.t('viewers'), " (", this.stageViewers.length, ")")), h("rtk-virtualized-participant-list", { items: this.stageViewers, renderItem: this.createParticipantNode, class: "participants", part: "participants", style: { height: '100%' }, emptyListElement: h("div", { class: "empty-viewers-list" }, this.search.length > 0
@@ -154,7 +156,7 @@ export class RtkParticipantsViewers {
154
156
  },
155
157
  "getter": false,
156
158
  "setter": false,
157
- "defaultValue": "defaultConfig"
159
+ "defaultValue": "createDefaultConfig()"
158
160
  },
159
161
  "size": {
160
162
  "type": "string",
@@ -315,6 +317,9 @@ export class RtkParticipantsViewers {
315
317
  __decorate([
316
318
  SyncWithStore()
317
319
  ], RtkParticipantsViewers.prototype, "meeting", void 0);
320
+ __decorate([
321
+ SyncWithStore()
322
+ ], RtkParticipantsViewers.prototype, "config", void 0);
318
323
  __decorate([
319
324
  SyncWithStore()
320
325
  ], RtkParticipantsViewers.prototype, "size", void 0);
@@ -9,13 +9,13 @@ 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 { h } from "@stencil/core";
12
- import { defaultIconPack, defaultConfig } from "../../exports";
12
+ import { defaultIconPack, createDefaultConfig, } from "../../exports";
13
13
  import { useLanguage } from "../../lib/lang";
14
14
  import { SyncWithStore } from "../../utils/sync-with-store";
15
15
  export class RtkParticipantsWaitlisted {
16
16
  constructor() {
17
17
  /** Config */
18
- this.config = defaultConfig;
18
+ this.config = createDefaultConfig();
19
19
  /** Icon pack */
20
20
  this.iconPack = defaultIconPack;
21
21
  /** View mode for participants list */
@@ -52,7 +52,7 @@ export class RtkParticipantsWaitlisted {
52
52
  this.meetingChanged(this.meeting);
53
53
  }
54
54
  meetingChanged(meeting) {
55
- if (meeting == null)
55
+ if (!meeting)
56
56
  return;
57
57
  this.waitlistedParticipants = meeting.participants.waitlisted.toArray();
58
58
  this.waitlistedParticipantJoinedListener = (participant) => {
@@ -134,7 +134,7 @@ export class RtkParticipantsWaitlisted {
134
134
  },
135
135
  "getter": false,
136
136
  "setter": false,
137
- "defaultValue": "defaultConfig"
137
+ "defaultValue": "createDefaultConfig()"
138
138
  },
139
139
  "size": {
140
140
  "type": "string",
@@ -252,6 +252,9 @@ export class RtkParticipantsWaitlisted {
252
252
  __decorate([
253
253
  SyncWithStore()
254
254
  ], RtkParticipantsWaitlisted.prototype, "meeting", void 0);
255
+ __decorate([
256
+ SyncWithStore()
257
+ ], RtkParticipantsWaitlisted.prototype, "config", void 0);
255
258
  __decorate([
256
259
  SyncWithStore()
257
260
  ], RtkParticipantsWaitlisted.prototype, "size", void 0);
@@ -161,7 +161,7 @@ export class RtkPermissionsMessage {
161
161
  this.stepsTimer = setTimeout(this.nextStep, 2500);
162
162
  }
163
163
  const showMacDeepLink = isDeniedBySystem && this.meeting.self.device.osName == 'macOS';
164
- return (h(Host, { key: '37bc20fd76370a473d701b99f141057e3ef7b9ea' }, h("h2", { key: '5177028bd1d1f909cc5dacffaf7a63e9a90a6119' }, h("rtk-icon", { key: 'eef420ebb45cedbd63f6f4532954a5175535c07e', class: "text-icon", icon: this.iconPack.warning }), this.getTitle()), this.svgSteps.length > 0 && (h("div", { key: '1f35d79d6e3b83341a26081fc72540863d395108', class: 'svg-container' }, this.svgSteps.map((e, index) => (h("p", { innerHTML: e, class: "svg-ins", key: this.currentStep, hidden: index !== this.currentStep }))))), h("div", { key: '855ceb1e53e3006b85d32e0edd9eb0088f94ad75' }, this.getMessage()), !isDeniedBySystem && (h("a", { key: 'c02d929f912ed50e47edaf853650e9569c700524', class: "need-help-link", href: this.getLink((_c = (_b = (_a = this.states) === null || _a === void 0 ? void 0 : _a.activePermissionsMessage) === null || _b === void 0 ? void 0 : _b.kind) !== null && _c !== void 0 ? _c : 'audio'), target: "_blank", rel: "noreferrer external noreferrer noopener" }, h("rtk-icon", { key: '775423666928defb61670cd9a4c2e158fe6386e6', class: "text-icon", icon: this.iconPack.attach }), this.t('cta.help'))), h("div", { key: '023b8da610c0afea0abb203ae9d09286b3368ccf', class: "actions" }, h("rtk-button", { key: 'a2b29cb77e0f32076dc8bf0a72e6b2f512684201', size: "lg", kind: "wide", variant: "secondary", onClick: this.continue }, this.t('cta.continue')), showMacDeepLink ? (h("rtk-button", { size: "lg", kind: "wide", onClick: this.openMacSystemSettings }, this.t('cta.system_settings'))) : (h("rtk-button", { size: "lg", kind: "wide", onClick: this.reload }, this.t('cta.reload')))), h("slot", { key: '2e7d6bcdb64f65de6e73742946a3a173905227a5' })));
164
+ return (h(Host, { key: '8a733f9212eeeaa2beeb660f388cd386bd5866da' }, h("h2", { key: '8b98272023226f4d555bc4a392132cc4f3bb5508' }, h("rtk-icon", { key: '5512cf5917b4e621cc478ace72d66a5a018d3abc', class: "text-icon", icon: this.iconPack.warning }), this.getTitle()), this.svgSteps.length > 0 && (h("div", { key: '51b406b4466bed495737ffc4dd8c931e89a7b313', class: 'svg-container' }, this.svgSteps.map((e, index) => (h("p", { innerHTML: e, class: "svg-ins", key: this.currentStep, hidden: index !== this.currentStep }))))), h("div", { key: '2aa51de951fa6e325407214400aacfb3c159332d' }, this.getMessage()), !isDeniedBySystem && (h("a", { key: 'f5ca776a56d696f623f373dda8bb0bfb034daaaa', class: "need-help-link", href: this.getLink((_c = (_b = (_a = this.states) === null || _a === void 0 ? void 0 : _a.activePermissionsMessage) === null || _b === void 0 ? void 0 : _b.kind) !== null && _c !== void 0 ? _c : 'audio'), target: "_blank", rel: "noreferrer external noreferrer noopener" }, h("rtk-icon", { key: 'a4a220afa615666aa5124af81e754ad7cd0ae8ce', class: "text-icon", icon: this.iconPack.attach }), this.t('cta.help'))), h("div", { key: '34a967813793d6deb854c008164fc14b859a3b53', class: "actions" }, h("rtk-button", { key: '8676c863a486b365b378728ca89f494297160bf0', size: "lg", kind: "wide", variant: "secondary", onClick: this.continue }, this.t('cta.continue')), showMacDeepLink ? (h("rtk-button", { size: "lg", kind: "wide", onClick: this.openMacSystemSettings }, this.t('cta.system_settings'))) : (h("rtk-button", { size: "lg", kind: "wide", onClick: this.reload }, this.t('cta.reload')))), h("slot", { key: '67e17eb781cb49110f92dfd89faec112d79b03b3' })));
165
165
  }
166
166
  static get is() { return "rtk-permissions-message"; }
167
167
  static get encapsulation() { return "shadow"; }
@@ -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, defaultIconPack } from "../../exports";
12
+ import { createDefaultConfig, defaultIconPack, } from "../../exports";
13
13
  import { useLanguage } from "../../lib/lang";
14
14
  import { SyncWithStore } from "../../utils/sync-with-store";
15
15
  export class RtkPipToggle {
@@ -17,7 +17,7 @@ export class RtkPipToggle {
17
17
  /** Variant */
18
18
  this.variant = 'button';
19
19
  /** Config */
20
- this.config = defaultConfig;
20
+ this.config = createDefaultConfig();
21
21
  /** Icon pack */
22
22
  this.iconPack = defaultIconPack;
23
23
  /** Language */
@@ -50,6 +50,8 @@ export class RtkPipToggle {
50
50
  this.stateUpdate.emit({ activeMoreMenu: false });
51
51
  }
52
52
  render() {
53
+ if (!this.meeting)
54
+ return null;
53
55
  if (!this.pipSupported)
54
56
  return h(Host, { "data-hidden": true });
55
57
  const pipEnabled = this.meeting.participants.pip.isActive;
@@ -163,7 +165,7 @@ export class RtkPipToggle {
163
165
  },
164
166
  "getter": false,
165
167
  "setter": false,
166
- "defaultValue": "defaultConfig"
168
+ "defaultValue": "createDefaultConfig()"
167
169
  },
168
170
  "iconPack": {
169
171
  "type": "unknown",
@@ -282,6 +284,9 @@ __decorate([
282
284
  __decorate([
283
285
  SyncWithStore()
284
286
  ], RtkPipToggle.prototype, "states", void 0);
287
+ __decorate([
288
+ SyncWithStore()
289
+ ], RtkPipToggle.prototype, "config", void 0);
285
290
  __decorate([
286
291
  SyncWithStore()
287
292
  ], RtkPipToggle.prototype, "iconPack", void 0);
@@ -142,7 +142,7 @@ export class RtkPluginMain {
142
142
  "RTKPlugin": {
143
143
  "location": "import",
144
144
  "path": "@cloudflare/realtimekit",
145
- "id": "../../node_modules/@cloudflare/realtimekit/dist/index.d.ts::RTKPlugin"
145
+ "id": "node_modules::RTKPlugin"
146
146
  }
147
147
  }
148
148
  },
@@ -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 { SyncWithStore } from "../../utils/sync-with-store";
15
- import { defaultConfig } from "../../exports";
15
+ import { createDefaultConfig } from "../../exports";
16
16
  /**
17
17
  * A component which lists all available plugins from their preset,
18
18
  * and ability to enable or disable plugins.
@@ -20,7 +20,7 @@ import { defaultConfig } from "../../exports";
20
20
  export class RtkPlugins {
21
21
  constructor() {
22
22
  /** Config */
23
- this.config = defaultConfig;
23
+ this.config = createDefaultConfig();
24
24
  /** Icon pack */
25
25
  this.iconPack = defaultIconPack;
26
26
  /** Language */
@@ -55,7 +55,7 @@ export class RtkPlugins {
55
55
  }
56
56
  }
57
57
  render() {
58
- return (h(Host, { key: '74f2d9af55a0670b4ae5406f73b333187e8c3d92' }, h("ul", { key: '955e4e2a9d101b5027ef725175996c8e72a94b30', class: "scrollbar" }, this.plugins.map((plugin) => (h("li", { key: plugin.name, class: "plugin" }, h("div", { class: "metadata" }, h("img", { src: plugin.picture }), h("div", { class: "name" }, plugin.name)), !this.activatedPluginsId.includes(plugin.id) && this.canStartPlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
58
+ return (h(Host, { key: '950ac94190f804e4964ddd48c3040e7d9cd11f27' }, h("ul", { key: 'be946e5ce530d9867d278b10681ad2f460558c51', class: "scrollbar" }, this.plugins.map((plugin) => (h("li", { key: plugin.name, class: "plugin" }, h("div", { class: "metadata" }, h("img", { src: plugin.picture }), h("div", { class: "name" }, plugin.name)), !this.activatedPluginsId.includes(plugin.id) && this.canStartPlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
59
59
  plugin.activate();
60
60
  this.close();
61
61
  }, "aria-label": `${this.t('activate')} ${plugin.name}` }, h("rtk-icon", { icon: this.iconPack.rocket, tabIndex: -1, "aria-hidden": true })))), this.activatedPluginsId.includes(plugin.id) && this.canClosePlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
@@ -121,7 +121,7 @@ export class RtkPlugins {
121
121
  },
122
122
  "getter": false,
123
123
  "setter": false,
124
- "defaultValue": "defaultConfig"
124
+ "defaultValue": "createDefaultConfig()"
125
125
  },
126
126
  "size": {
127
127
  "type": "string",
@@ -240,6 +240,9 @@ export class RtkPlugins {
240
240
  __decorate([
241
241
  SyncWithStore()
242
242
  ], RtkPlugins.prototype, "meeting", void 0);
243
+ __decorate([
244
+ SyncWithStore()
245
+ ], RtkPlugins.prototype, "config", void 0);
243
246
  __decorate([
244
247
  SyncWithStore()
245
248
  ], RtkPlugins.prototype, "size", void 0);
@@ -47,7 +47,7 @@ export class RtkPluginsToggle {
47
47
  }
48
48
  meetingChanged(meeting) {
49
49
  var _a, _b;
50
- if (meeting == null)
50
+ if (!meeting)
51
51
  return;
52
52
  this.canViewPlugins = canViewPlugins(meeting);
53
53
  (_a = meeting === null || meeting === void 0 ? void 0 : meeting.stage) === null || _a === void 0 ? void 0 : _a.on('stageStatusUpdate', this.updateCanView);
@@ -36,7 +36,7 @@ export class RtkPolls {
36
36
  }
37
37
  render() {
38
38
  const hasVoted = this.poll.voted.includes(this.self);
39
- return (h(Host, { key: '3436a978185495090fcf81a59f40e3d0f9bac969' }, h("div", { key: '1349450369add7268b290b2b75ca07aa28820683', class: "ctr" }, h("p", { key: 'f36ddcb1f30368e5b311fe7f11cca87785c9570c', class: "poll-title" }, this.t('polls.by'), " ", shorten(formatName(this.poll.createdBy), 20)), h("div", { key: '6c5ac869b1c182d09d9e1490a312797c913d24b1', class: "poll" }, h("p", { key: '1c3ca8f47cf9a08f3ac7ef47e144330b922534fc', class: "poll-question" }, this.poll.question), h("div", { key: 'e5e60be4359714828d1d25bb24f5f143a1c6428f', class: "poll-answers" }, h("span", { key: '60eeb63b59d1f3d8c44a1cbd53c42e82877f22d1' }, this.t('polls.answers')), h("span", { key: '6c6a42a4e6b84ec18ad94bcd4015ed4047b7b0aa' }, this.poll.voted.length)), this.poll.options.map((item, index) => (h("div", { class: {
39
+ return (h(Host, { key: '2951e932453e7c58f3d2a1bc0952b02c7f231fe2' }, h("div", { key: 'fda1240df8d21e01df14e749593f00ca81a4c4a2', class: "ctr" }, h("p", { key: '08459f706bdb922eddc7a3b7f3b2177293f18371', class: "poll-title" }, this.t('polls.by'), " ", shorten(formatName(this.poll.createdBy), 20)), h("div", { key: 'b8c1d0755a17862bf372c24c72b6ad5f9a774d81', class: "poll" }, h("p", { key: 'cd76bf5da75f3165eecac1c6845bbb5c0a69a99c', class: "poll-question" }, this.poll.question), h("div", { key: '00c702b964872b7883bcd656e3b8e03a1986b28e', class: "poll-answers" }, h("span", { key: 'e51a233616f792e6bcbbb8376099a4a5e9e7dd02' }, this.t('polls.answers')), h("span", { key: 'f3fe545292f85870d11f334c211099bdab8694f0' }, this.poll.voted.length)), this.poll.options.map((item, index) => (h("div", { class: {
40
40
  active: item.votes.some((x) => x.id === this.self),
41
41
  'open-vote': this.permissions.polls.canVote && !hasVoted,
42
42
  'poll-option': true,
@@ -112,7 +112,7 @@ export class RtkPolls {
112
112
  "RTKPermissionsPreset": {
113
113
  "location": "import",
114
114
  "path": "@cloudflare/realtimekit",
115
- "id": "../../node_modules/@cloudflare/realtimekit/dist/index.d.ts::RTKPermissionsPreset"
115
+ "id": "node_modules::RTKPermissionsPreset"
116
116
  }
117
117
  }
118
118
  },
@@ -65,10 +65,10 @@ export class RtkPoll {
65
65
  this.onCreate.emit(pollObject);
66
66
  }
67
67
  render() {
68
- return (h(Host, { key: 'a5d66ad4586b3e3bf360fc7f3330cbebfcc27d29' }, h("div", { key: 'ab293118b0a4e4f0839da8b1f28e8bb4c3075e00', class: "create-poll" }, h("p", { key: 'dd851c73436db148c85fa4ae605841acc4047114' }, this.t('polls.question')), h("textarea", { key: 'f2fc86324169b0eb23eccbf6f9a9425b2fa43cef', onInput: () => {
68
+ return (h(Host, { key: '3b0e105480e37261b64a99552f20f65b467deb5c' }, h("div", { key: '8682faca7764a1669f589be097ccfee63d49e9b3', class: "create-poll" }, h("p", { key: '723847f27d92eeac805b7c55692d61ce48476eb0' }, this.t('polls.question')), h("textarea", { key: 'e85b887af5077f79a0542aa256cbc1ee2e209c67', onInput: () => {
69
69
  if (this.error && this.error.code === 0)
70
70
  this.error = undefined;
71
- }, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (h("div", { class: "option" }, h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, h("rtk-icon", { icon: this.iconPack.subtract })))))), h("rtk-button", { key: 'd33f567bcd74edf4ace17cd3a0ca36daf69eeb8c', class: "add-option", variant: "secondary", onClick: () => this.addOption() }, this.t('polls.option')), h("label", { key: '1ded9b5aeec6b5b5fec3cc2ec43c488b48a0568b' }, h("input", { key: '37047cb8a6ccb8c37fc56261fb2f32fa0ff19d92', id: "anonymous", type: "checkbox", onChange: (e) => (this.anonymous = e.target.checked) }), this.t('polls.results.anon')), h("label", { key: '50ac11b8af600d337cc2a1d8ec934e1abac7eaf6' }, h("input", { key: '6d3df46887a4285d923cc2f8b82abf396a2df8fa', id: "hideVotes", type: "checkbox", disabled: this.anonymous, checked: this.anonymous ? true : this.hideVotes, onChange: (e) => (this.hideVotes = e.target.checked) }), this.t('polls.results.hide')), h("rtk-button", { key: '36f2228ca82a29f9d72f768fa65028690230a26f', kind: "wide", onClick: () => this.handleSubmit() }, this.t('polls.create')), this.error && h("span", { key: 'fe7a37df641bcf672e8c85a87251df19d8d1fc91', class: "error-text" }, this.error.message))));
71
+ }, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (h("div", { class: "option" }, h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, h("rtk-icon", { icon: this.iconPack.subtract })))))), h("rtk-button", { key: '4b1552030c268c7b9c67e63f47ca4decbaca549f', class: "add-option", variant: "secondary", onClick: () => this.addOption() }, this.t('polls.option')), h("label", { key: '3af3d5e264c8acd9fd2348483489a02aaf9ac770' }, h("input", { key: '39339af087cc40813d79a211fd12866ade71403c', id: "anonymous", type: "checkbox", onChange: (e) => (this.anonymous = e.target.checked) }), this.t('polls.results.anon')), h("label", { key: '30a29efafcbd837057cfed7957d48c04d02e2570' }, h("input", { key: 'e5c949df6cfec33c4c31c14db9d2ff816211ca3f', id: "hideVotes", type: "checkbox", disabled: this.anonymous, checked: this.anonymous ? true : this.hideVotes, onChange: (e) => (this.hideVotes = e.target.checked) }), this.t('polls.results.hide')), h("rtk-button", { key: '994e07e64080cd4251202ac3090da2c4e71f8a02', kind: "wide", onClick: () => this.handleSubmit() }, this.t('polls.create')), this.error && h("span", { key: '27e0ab9385fe99ca5bab3a9ce4c756988dafbea4', class: "error-text" }, this.error.message))));
72
72
  }
73
73
  static get is() { return "rtk-poll-form"; }
74
74
  static get encapsulation() { return "shadow"; }
@@ -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 "../../exports";
12
+ import { createDefaultConfig } from "../../exports";
13
13
  import { defaultIconPack } from "../../lib/icons";
14
14
  import { useLanguage } from "../../lib/lang";
15
15
  import { smoothScrollToBottom } from "../../utils/scroll";
@@ -21,7 +21,7 @@ import { SyncWithStore } from "../../utils/sync-with-store";
21
21
  export class RtkPolls {
22
22
  constructor() {
23
23
  /** Config */
24
- this.config = defaultConfig;
24
+ this.config = createDefaultConfig();
25
25
  /** Icon pack */
26
26
  this.iconPack = defaultIconPack;
27
27
  /** Language */
@@ -40,7 +40,7 @@ export class RtkPolls {
40
40
  }
41
41
  disconnectedCallback() {
42
42
  var _a;
43
- if (this.meeting == null)
43
+ if (!this.meeting)
44
44
  return;
45
45
  (_a = this.meeting.polls) === null || _a === void 0 ? void 0 : _a.removeListener('pollsUpdate', this.onPollsUpdate);
46
46
  this.meeting.self.permissions.removeListener('pollsUpdate', this.onUpdatePermissions);
@@ -69,14 +69,14 @@ export class RtkPolls {
69
69
  smoothScrollToBottom(this.pollEl);
70
70
  }
71
71
  render() {
72
- return (h(Host, { key: 'aac0c84486146fa17436746fb6def9cc4e539a2c' }, h("div", { key: '179c4496372623a2ea2f7c0b555b84ea1cae12ee', class: "ctr", part: "container" }, h("div", { key: '07b09fc28d75b1d40dec83eecae3661dfca1dbd2', class: "polls-view scrollbar", ref: (el) => (this.pollEl = el), part: "polls" }, this.polls.length == 0 && this.create !== true && (h("div", { key: '841f91b0da755e48498c520a8234cf6b926b058c', class: "empty-polls" }, this.t('polls.empty'))), this.polls.map((item) => {
72
+ return (h(Host, { key: '8770b8ce69f0b1442e8cffbbbf7b96874c3ef6a2' }, h("div", { key: 'b1fcb90aa87f0d7f3b24652cbd523ac4b1024a61', class: "ctr", part: "container" }, h("div", { key: 'f278a30940fa3a3a683576c0933a0ce237b6609e', class: "polls-view scrollbar", ref: (el) => (this.pollEl = el), part: "polls" }, this.polls.length == 0 && this.create !== true && (h("div", { key: 'bcbda5c9139bab2f3dea43a08186ac5608eecba4', class: "empty-polls" }, this.t('polls.empty'))), this.polls.map((item) => {
73
73
  var _a;
74
74
  return (h("rtk-poll", { key: item.id, poll: item, onRtkVotePoll: (e) => {
75
75
  this.onVote(e.detail.id, e.detail.index);
76
76
  }, self: (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId, iconPack: this.iconPack, t: this.t, permissions: this.permissions }));
77
- }), this.create && (h("rtk-poll-form", { key: 'c6545dffc24f5409417666404ab73bf546834a8b', part: "poll-form", onRtkCreatePoll: (e) => {
77
+ }), this.create && (h("rtk-poll-form", { key: '2cbfe0444fd2f8c62dcb0cb8ac5b1513addde8da', part: "poll-form", onRtkCreatePoll: (e) => {
78
78
  this.onCreate(e.detail);
79
- }, iconPack: this.iconPack, t: this.t }))), this.permissions.polls.canCreate && (h("rtk-button", { key: '69651546ee9a00f9b9c467e0f2307f5ce2dc1383', kind: "wide", onClick: () => this.toggleCreateState(), variant: this.create ? 'secondary' : 'primary', part: "button" }, this.create ? this.t('polls.cancel') : this.t('polls.create'))))));
79
+ }, iconPack: this.iconPack, t: this.t }))), this.permissions.polls.canCreate && (h("rtk-button", { key: '03a50d055a6513ca40060572f072e6c752a81cbc', kind: "wide", onClick: () => this.toggleCreateState(), variant: this.create ? 'secondary' : 'primary', part: "button" }, this.create ? this.t('polls.cancel') : this.t('polls.create'))))));
80
80
  }
81
81
  static get is() { return "rtk-polls"; }
82
82
  static get encapsulation() { return "shadow"; }
@@ -137,7 +137,7 @@ export class RtkPolls {
137
137
  },
138
138
  "getter": false,
139
139
  "setter": false,
140
- "defaultValue": "defaultConfig"
140
+ "defaultValue": "createDefaultConfig()"
141
141
  },
142
142
  "size": {
143
143
  "type": "string",
@@ -231,6 +231,9 @@ export class RtkPolls {
231
231
  __decorate([
232
232
  SyncWithStore()
233
233
  ], RtkPolls.prototype, "meeting", void 0);
234
+ __decorate([
235
+ SyncWithStore()
236
+ ], RtkPolls.prototype, "config", void 0);
234
237
  __decorate([
235
238
  SyncWithStore()
236
239
  ], RtkPolls.prototype, "size", void 0);
@@ -44,7 +44,7 @@ export class RtkRecordingIndicator {
44
44
  }
45
45
  }
46
46
  render() {
47
- return (h(Host, { key: '3919ce20c5524d477536f62b9dd5abe8c1d49c37', "data-hidden": !this.isRecording }, this.isRecording && (h("div", { key: 'c482fdc00ff90f8ae2841f8d469f3b54704b6615', class: "indicator", "aria-label": this.t('recording.indicator'), part: "indicator" }, h("rtk-icon", { key: '75663e533fe47c5ad2e5d55db5d8a027fc12220c', icon: this.iconPack.recording, "aria-hidden": true, tabIndex: -1, part: "icon" }), h("span", { key: '99d4cc0c9ce7388808b643b0bcce27883d2b4643' }, this.t('recording.label'))))));
47
+ return (h(Host, { key: 'f03d6c21768c58cfec4c24c8bfc20b9b9e53db7a', "data-hidden": !this.isRecording }, this.isRecording && (h("div", { key: '79da404a6fcbd7d4bf40ed5c20e547965d77368c', class: "indicator", "aria-label": this.t('recording.indicator'), part: "indicator" }, h("rtk-icon", { key: '57d06ed7f629117aa7240e126bd8571c50bd29cd', icon: this.iconPack.recording, "aria-hidden": true, tabIndex: -1, part: "icon" }), h("span", { key: '2a6e1788962bf044fc12194bc20fbe8b6300babc' }, this.t('recording.label'))))));
48
48
  }
49
49
  static get is() { return "rtk-recording-indicator"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -81,9 +81,7 @@ export class RtkRecordingToggle {
81
81
  }
82
82
  };
83
83
  this.isLoading = () => {
84
- return (this.meeting == null ||
85
- this.recordingState === 'STARTING' ||
86
- this.recordingState === 'STOPPING');
84
+ return (!this.meeting || this.recordingState === 'STARTING' || this.recordingState === 'STOPPING');
87
85
  };
88
86
  }
89
87
  connectedCallback() {
@@ -135,6 +133,8 @@ export class RtkRecordingToggle {
135
133
  }
136
134
  }
137
135
  render() {
136
+ if (!this.meeting)
137
+ return null;
138
138
  if (!this.canRecord)
139
139
  return;
140
140
  return (h(Host, { title: this.t(this.recordingState === 'RECORDING' ? 'recording.stop' : 'recording.idle') }, h("rtk-controlbar-button", { part: "controlbar-button", size: this.size, iconPack: this.iconPack, onClick: this.toggleRecording, icon: this.getIcon(), isLoading: this.isLoading(), label: this.t(this.getLabel()), variant: this.variant, disabled: this.disabled })));