@cloudflare/realtimekit-ui 1.0.3-staging.4 → 1.0.4-staging.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +1 -1
  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
@@ -171,7 +171,7 @@ export class RtkChatMessagesUiPaginated {
171
171
  this.lastReadMessageIndex = -1;
172
172
  }
173
173
  render() {
174
- return (h(Host, { key: '088b35f5fe196ed2b3271a0b36eef02df47f28e0' }, h("rtk-paginated-list", { key: 'a856bde7e481f78b081dcd20351d872a6dd687fa', ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getChatMessages, createNodes: this.createChatNodes, selectedItemId: this.selectedChannelId, emptyListLabel: this.t('chat.empty_channel') }, h("slot", { key: 'a4c15d852264ca50ae784a8b26b052585b0acac8' }))));
174
+ return (h(Host, { key: 'ab3da087eddff60e803af97f66b05dbb51a3957f' }, h("rtk-paginated-list", { key: 'd22d325b961625596c529a9c6fb8e086f6e24e00', ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getChatMessages, createNodes: this.createChatNodes, selectedItemId: this.selectedChannelId, emptyListLabel: this.t('chat.empty_channel') }, h("slot", { key: '9bcd54c7f8e1e97c8e876e9c06435fa6bbe27fae' }))));
175
175
  }
176
176
  static get is() { return "rtk-chat-messages-ui-paginated"; }
177
177
  static get encapsulation() { return "shadow"; }
@@ -371,7 +371,7 @@ export class RtkChatMessagesUiPaginated {
371
371
  "TextMessage": {
372
372
  "location": "import",
373
373
  "path": "@cloudflare/realtimekit",
374
- "id": "../../node_modules/@cloudflare/realtimekit/dist/index.d.ts::TextMessage"
374
+ "id": "node_modules::TextMessage"
375
375
  }
376
376
  }
377
377
  }
@@ -392,7 +392,7 @@ export class RtkChatMessagesUiPaginated {
392
392
  "Message": {
393
393
  "location": "import",
394
394
  "path": "@cloudflare/realtimekit",
395
- "id": "../../node_modules/@cloudflare/realtimekit/dist/index.d.ts::Message"
395
+ "id": "node_modules::Message"
396
396
  }
397
397
  }
398
398
  }
@@ -413,7 +413,7 @@ export class RtkChatMessagesUiPaginated {
413
413
  "Message": {
414
414
  "location": "import",
415
415
  "path": "@cloudflare/realtimekit",
416
- "id": "../../node_modules/@cloudflare/realtimekit/dist/index.d.ts::Message"
416
+ "id": "node_modules::Message"
417
417
  }
418
418
  }
419
419
  }
@@ -31,7 +31,7 @@ export class RtkChatSearchResults {
31
31
  };
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: 'f94f965504c412fd2a33fd9f50a8baaedd05f3ab' }, h("rtk-paginated-list", { key: '6e21d19a60937f67733162a2f2fcdae290c5991f', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
34
+ return (h(Host, { key: 'f9dc934ec73372295dde976d216dc1f8ffb6f11e' }, h("rtk-paginated-list", { key: '4bdb8438495075558df2ee013a58dbbd56e3f274', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
35
35
  }
36
36
  static get is() { return "rtk-chat-search-results"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -79,7 +79,7 @@ export class RtkChatToggle {
79
79
  }
80
80
  meetingChanged(meeting) {
81
81
  var _a, _b, _c, _d, _e, _f, _g;
82
- if (meeting == null)
82
+ if (!meeting)
83
83
  return;
84
84
  if (usePaginatedChat(meeting)) {
85
85
  (_a = meeting.chat) === null || _a === void 0 ? void 0 : _a.getMessages(new Date().getTime(), 1, true).then((res) => {
@@ -108,6 +108,8 @@ export class RtkChatToggle {
108
108
  }
109
109
  }
110
110
  render() {
111
+ if (!this.meeting)
112
+ return null;
111
113
  if (!this.canViewChat)
112
114
  return h(Host, { "data-hidden": true });
113
115
  return (h(Host, { title: this.t('chat') }, usePaginatedChat(this.meeting)
@@ -71,9 +71,9 @@ export class RtkClock {
71
71
  }
72
72
  render() {
73
73
  const showClock = this.startedTime !== undefined;
74
- return (h(Host, { key: '2775471382c6d07aae0ba8e18677d6850fd9cb34', "data-hidden": !showClock, tabIndex: 0, role: "timer", "aria-live": "off" }, this.startedTime !== undefined && [
75
- h("rtk-icon", { key: '48b8bdfeef973d7f3eb4cdd526e386226a4b999a', icon: this.iconPack.clock, "aria-hidden": true, tabIndex: -1, part: "icon" }),
76
- h("span", { key: '9f2bb7aa7adc6ecb65c5fef57e406801e6592e59', part: "text" }, this.getFormattedTime()),
74
+ return (h(Host, { key: 'f9d97a2d88a418623011aa33839e3262cb106419', "data-hidden": !showClock, tabIndex: 0, role: "timer", "aria-live": "off" }, this.startedTime !== undefined && [
75
+ h("rtk-icon", { key: 'c1b4cb9b3859d6523529c5590f84a571f245330b', icon: this.iconPack.clock, "aria-hidden": true, tabIndex: -1, part: "icon" }),
76
+ h("span", { key: 'af7242035fc017d49aa0f21c3da844b37dd87277', part: "text" }, this.getFormattedTime()),
77
77
  ]));
78
78
  }
79
79
  static get is() { return "rtk-clock"; }
@@ -47,7 +47,7 @@ export class RtkConfirmationModal {
47
47
  render() {
48
48
  var _a, _b;
49
49
  const state = this.states.activeConfirmationModal;
50
- return (h(Host, { key: 'e9a8a58afa42b97d8dba92f3619b3b0b67160d04' }, h("div", { key: '5ad16431e2157600116bbdbf47c194d8a4980621', class: "leave-modal" }, h("div", { key: '9285137f1130bcc7f67183e476e5464688ccff90', class: "header" }, h("h2", { key: 'ef2144a5de17b8f1dd41f4bf765e3da17ae058e5', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && h("p", { key: '2227d4079e7df0e02b805aef57c2187c3a55e785', class: "message" }, this.t(state.content)), h("div", { key: 'd6f587b79bbf99d0e8a00f7bb65975b2eafa80ad', class: "content" }, h("div", { key: 'cdd81faaf9fa4192a2ed57f9d4d3f36e45400250', class: "leave-meeting" }, h("rtk-button", { key: 'ff9ddfccf098ea4cc956f95c22e94816e3b0561a', variant: "secondary", title: state.cancelText ? this.t(state.cancelText) : this.t('cancel'), onClick: this.close, class: "br-secondary-btn" }, state.cancelText ? this.t(state.cancelText) : this.t('cancel')), h("rtk-button", { key: 'bc680bd1d2995998e759cbb520f4b146bf6e359e', onClick: () => this.onConfirmation(), variant: (_b = (_a = this.states.activeConfirmationModal) === null || _a === void 0 ? void 0 : _a.variant) !== null && _b !== void 0 ? _b : 'danger', title: state.ctaText ? this.t(state.ctaText) : this.t('yes') }, state.ctaText ? this.t(state.ctaText) : this.t('yes')))))));
50
+ return (h(Host, { key: '22ee38d06ab212134ac17a656da1251a3dc05372' }, h("div", { key: 'ed29620d69abd3202a823de32c06d7b2fb71f828', class: "leave-modal" }, h("div", { key: '07466875c79feb312e7df26cec679e62a4fc2991', class: "header" }, h("h2", { key: '4ebc7ab0dc5c2175cb234575435a30e4d1ce7a13', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && h("p", { key: 'a9fcfa27f006dfb6ee1be60529b2c02611edc4cd', class: "message" }, this.t(state.content)), h("div", { key: '940cb8e8344bd99ba5d5266e284cc5161e666748', class: "content" }, h("div", { key: 'b8862b1db1f77121f9c2032e1f8213eeced5217d', class: "leave-meeting" }, h("rtk-button", { key: '0b4e17540009e0a465097e628904b36c54e17462', variant: "secondary", title: state.cancelText ? this.t(state.cancelText) : this.t('cancel'), onClick: this.close, class: "br-secondary-btn" }, state.cancelText ? this.t(state.cancelText) : this.t('cancel')), h("rtk-button", { key: '5f8c65ea6678c14855ece31827cb4aff714a0965', onClick: () => this.onConfirmation(), variant: (_b = (_a = this.states.activeConfirmationModal) === null || _a === void 0 ? void 0 : _a.variant) !== null && _b !== void 0 ? _b : 'danger', title: state.ctaText ? this.t(state.ctaText) : this.t('yes') }, state.ctaText ? this.t(state.ctaText) : this.t('yes')))))));
51
51
  }
52
52
  static get is() { return "rtk-confirmation-modal"; }
53
53
  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 { Render } from "../../lib/render";
15
15
  import { SyncWithStore } from "../../utils/sync-with-store";
@@ -25,7 +25,7 @@ export class RtkControlbar {
25
25
  /** Whether to render the default UI */
26
26
  this.disableRender = false;
27
27
  /** Config */
28
- this.config = defaultConfig;
28
+ this.config = createDefaultConfig();
29
29
  /** Icon Pack */
30
30
  this.iconPack = defaultIconPack;
31
31
  /** Language */
@@ -40,7 +40,7 @@ export class RtkControlbar {
40
40
  iconPack: this.iconPack,
41
41
  size: this.size,
42
42
  };
43
- return (h(Host, { key: '03a753b729584aee302a0e76f7961ae057dc0746' }, !this.disableRender && (h(Render, { key: '488995338fff693e38de3f98f72a656cd71a5882', element: "rtk-controlbar", defaults: defaults, onlyChildren: true })), h("slot", { key: '6fb547f8c56b9a610c532d66aa3582d16b3b40ef' })));
43
+ return (h(Host, { key: '3821bcb1a2328652bcf259d55c96f0adbb3c4ab6' }, !this.disableRender && (h(Render, { key: '9cdaf23eb3616d6ed4b725a289399b29b86e8c36', element: "rtk-controlbar", defaults: defaults, onlyChildren: true })), h("slot", { key: 'a7c56a8ab40766012c4a2ba32592e90f3051b293' })));
44
44
  }
45
45
  static get is() { return "rtk-controlbar"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -141,7 +141,7 @@ export class RtkControlbar {
141
141
  },
142
142
  "getter": false,
143
143
  "setter": false,
144
- "defaultValue": "defaultConfig"
144
+ "defaultValue": "createDefaultConfig()"
145
145
  },
146
146
  "states": {
147
147
  "type": "unknown",
@@ -245,6 +245,9 @@ export class RtkControlbar {
245
245
  __decorate([
246
246
  SyncWithStore()
247
247
  ], RtkControlbar.prototype, "meeting", void 0);
248
+ __decorate([
249
+ SyncWithStore()
250
+ ], RtkControlbar.prototype, "config", void 0);
248
251
  __decorate([
249
252
  SyncWithStore()
250
253
  ], RtkControlbar.prototype, "states", void 0);
@@ -28,7 +28,7 @@ export class RtkControlbarButton {
28
28
  this.brandIcon = false;
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: '9a1150fd8a0fbd0022f33f325e7413d0670d0820' }, h("button", { key: '0fabd8a63a8013e1630dd3838f0c2f1378f423f7', "aria-label": this.label, part: "button" }, this.isLoading ? (h("rtk-spinner", { id: "icon", part: "spinner", iconPack: this.iconPack })) : (h("rtk-icon", { id: "icon", icon: this.icon, tabIndex: -1, "aria-hidden": true, part: "icon" })), h("span", { key: '117f1bff41fb719a832ef89d000b2abef6f1388a', class: "label", part: "label" }, this.label), this.showWarning && (h("rtk-icon", { key: '4d8b9170c833a930e013613089755ec768df0695', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" })))));
31
+ return (h(Host, { key: '9883914979b6b7ca3cb39624476bf09d4c3d9849' }, h("button", { key: '0edc9db5989a895003f8f6df75352009475af716', "aria-label": this.label, part: "button" }, this.isLoading ? (h("rtk-spinner", { id: "icon", part: "spinner", iconPack: this.iconPack })) : (h("rtk-icon", { id: "icon", icon: this.icon, tabIndex: -1, "aria-hidden": true, part: "icon" })), h("span", { key: '36fe6f2c97c62350a08a8b57317e32201d26182c', class: "label", part: "label" }, this.label), this.showWarning && (h("rtk-icon", { key: 'a0a6ebe1e21a3eb3fec815e2aeeda12378b911f6', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" })))));
32
32
  }
33
33
  static get is() { return "rtk-controlbar-button"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class RtkCounter {
40
40
  this.input = Math.max(this.minValue, parseInt(this.input) - 1).toString();
41
41
  }
42
42
  render() {
43
- return (h(Host, { key: '69da144af824d130db538c62561020197f7b93fa' }, h("rtk-button", { key: 'c31072304b50d8f4eb75379ad9cf924762107425', kind: "icon", variant: "ghost", onClick: () => this.decrement() }, h("rtk-icon", { key: 'ff4247e38e693b1a642cebb6c7dc4efc675945de', icon: this.iconPack.subtract })), h("input", { key: 'ffe5abe4110565707ec1fcd26e74fae44cf9f7a9', type: "number", value: this.input, min: this.minValue, onInput: (e) => {
43
+ return (h(Host, { key: '272e7b55fbdf3b7bca96c737152319c310d1f112' }, h("rtk-button", { key: 'c9fd1fc0b3338b9428eb76f10d1d63f73292995b', kind: "icon", variant: "ghost", onClick: () => this.decrement() }, h("rtk-icon", { key: '695097f6acef35020d3ca70f6afce1df28cebfba', icon: this.iconPack.subtract })), h("input", { key: '72fb69566bd509998bcaef9ce995ed048b0db5a8', type: "number", value: this.input, min: this.minValue, onInput: (e) => {
44
44
  const val = parseInt(e.target.value, 10);
45
45
  if (isNaN(val) || val < this.minValue) {
46
46
  this.input = this.minValue.toString();
@@ -48,7 +48,7 @@ export class RtkCounter {
48
48
  else {
49
49
  this.input = val.toString();
50
50
  }
51
- } }), h("rtk-button", { key: '5b063c1a3698c7f8ccbd6e7fb406efe0905a260b', kind: "icon", variant: "ghost", onClick: () => this.increment() }, h("rtk-icon", { key: 'dbc1a35da59b9973eceab21fdf6fcb395942ac45', icon: this.iconPack.add }))));
51
+ } }), h("rtk-button", { key: '9f0eb1678344ae27fa06b179fac938cbfdbb8307', kind: "icon", variant: "ghost", onClick: () => this.increment() }, h("rtk-icon", { key: 'd895d47a9bc64aa95723970313eca8ea2503a8c1', icon: this.iconPack.add }))));
52
52
  }
53
53
  static get is() { return "rtk-counter"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -65,7 +65,7 @@ export class RtkDebugger {
65
65
  }
66
66
  }
67
67
  render() {
68
- if (this.meeting == null)
68
+ if (!this.meeting)
69
69
  return null;
70
70
  const defaults = {
71
71
  meeting: this.meeting,
@@ -29,7 +29,7 @@ export class RtkDebuggerToggle {
29
29
  });
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: 'e46722c024802f6c96cebb487c9049e8834c48f8', title: this.t('Troubleshooting') }, h("rtk-controlbar-button", { key: 'ee3d60dd6993d2757f763a0ae8ba173887c9ceba', size: this.size, iconPack: this.iconPack, onClick: () => this.toggleDebugger(), icon: this.iconPack.debug, label: this.t('Troubleshooting'), variant: this.variant })));
32
+ return (h(Host, { key: '3f0fb6e513b44c36dfcbe4ddef47c40a6b97f361', title: this.t('Troubleshooting') }, h("rtk-controlbar-button", { key: 'f790e80162d8d711d7fac27247ddd96bceca5356', size: this.size, iconPack: this.iconPack, onClick: () => this.toggleDebugger(), icon: this.iconPack.debug, label: this.t('Troubleshooting'), variant: this.variant })));
33
33
  }
34
34
  static get is() { return "rtk-debugger-toggle"; }
35
35
  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 "../../lib/default-ui-config";
12
+ import { createDefaultConfig } from "../../lib/default-ui-config";
13
13
  import { defaultIconPack } from "../../lib/icons";
14
14
  import { useLanguage } from "../../lib/lang";
15
15
  import { SyncWithStore } from "../../utils/sync-with-store";
@@ -23,7 +23,7 @@ export class RtkDialog {
23
23
  /** Whether Escape key can close the modal */
24
24
  this.disableEscapeKey = false;
25
25
  /** UI Config */
26
- this.config = defaultConfig;
26
+ this.config = createDefaultConfig();
27
27
  /** Icon pack */
28
28
  this.iconPack = defaultIconPack;
29
29
  /** Language */
@@ -166,7 +166,7 @@ export class RtkDialog {
166
166
  },
167
167
  "getter": false,
168
168
  "setter": false,
169
- "defaultValue": "defaultConfig"
169
+ "defaultValue": "createDefaultConfig()"
170
170
  },
171
171
  "states": {
172
172
  "type": "unknown",
@@ -308,6 +308,9 @@ export class RtkDialog {
308
308
  __decorate([
309
309
  SyncWithStore()
310
310
  ], RtkDialog.prototype, "meeting", void 0);
311
+ __decorate([
312
+ SyncWithStore()
313
+ ], RtkDialog.prototype, "config", void 0);
311
314
  __decorate([
312
315
  SyncWithStore()
313
316
  ], RtkDialog.prototype, "states", void 0);
@@ -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 { defaultIconPack } from "../../lib/icons";
14
14
  import { useLanguage } from "../../lib/lang";
15
15
  import { SyncWithStore } from "../../utils/sync-with-store";
@@ -28,7 +28,7 @@ import { Render } from "../../lib/render";
28
28
  export class RtkDialogManager {
29
29
  constructor() {
30
30
  /** UI Config */
31
- this.config = defaultConfig;
31
+ this.config = createDefaultConfig();
32
32
  /** Icon pack */
33
33
  this.iconPack = defaultIconPack;
34
34
  /** Language */
@@ -70,6 +70,9 @@ export class RtkDialogManager {
70
70
  }
71
71
  render() {
72
72
  var _a, _b, _c, _d;
73
+ if (!this.meeting) {
74
+ return;
75
+ }
73
76
  const defaults = {
74
77
  meeting: this.meeting,
75
78
  states: this.states,
@@ -195,7 +198,7 @@ export class RtkDialogManager {
195
198
  },
196
199
  "getter": false,
197
200
  "setter": false,
198
- "defaultValue": "defaultConfig"
201
+ "defaultValue": "createDefaultConfig()"
199
202
  },
200
203
  "states": {
201
204
  "type": "unknown",
@@ -329,6 +332,9 @@ export class RtkDialogManager {
329
332
  __decorate([
330
333
  SyncWithStore()
331
334
  ], RtkDialogManager.prototype, "meeting", void 0);
335
+ __decorate([
336
+ SyncWithStore()
337
+ ], RtkDialogManager.prototype, "config", void 0);
332
338
  __decorate([
333
339
  SyncWithStore()
334
340
  ], RtkDialogManager.prototype, "states", void 0);
@@ -53,7 +53,7 @@ export class RtkDraftAttachmentView {
53
53
  this.onAttachmentChange();
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: 'bf052df6f3c49b6a52b3002a8ed92bae6cbd7b06' }, h("div", { key: '786126525fd361e17ec716615da402f11b5f5d1d', class: "preview-overlay" }, h("div", { key: '1d89de4184961ebc4c8822aa016394706d37b2ba', class: "preview" }, h("rtk-tooltip", { key: '87177c3ff98e59097c02bfcc397c13b68952199c', label: this.t('chat.cancel_upload') }, h("rtk-button", { key: 'f2a2ce338be78a7572c6a819ee5a75a9521f73b0', variant: "secondary", kind: "icon", onClick: this.onDeleteClickHandler }, h("rtk-icon", { key: '12b0d383efb984307eba05ccdb783a8bd9c2d636', icon: this.iconPack.dismiss }))), this.attachment.type === 'image' ? (h("img", { class: "preview-image", src: this.filePreview })) : (h("div", { class: "preview-file" }, h("span", null, this.filePreview)))))));
56
+ return (h(Host, { key: 'f6ede093bcdf8100807baab4de2a296fc4960a07' }, h("div", { key: 'b19bbe9b2ea58ea4adccc2028a1b24ea6bc9f0a9', class: "preview-overlay" }, h("div", { key: 'cbb2bfcb3a50e6e7fbfd4109eb340ba51d6a162d', class: "preview" }, h("rtk-tooltip", { key: '15b50c547470b0fa22014e0992a1c7e26b234573', label: this.t('chat.cancel_upload') }, h("rtk-button", { key: '940332a51747af3368ffec497d5ef76fa64ecf75', variant: "secondary", kind: "icon", onClick: this.onDeleteClickHandler }, h("rtk-icon", { key: 'cc04b0ac70753e970ff638f187ad5f702dc3656b', icon: this.iconPack.dismiss }))), this.attachment.type === 'image' ? (h("img", { class: "preview-image", src: this.filePreview })) : (h("div", { class: "preview-file" }, h("span", null, this.filePreview)))))));
57
57
  }
58
58
  static get is() { return "rtk-draft-attachment-view"; }
59
59
  static get encapsulation() { return "shadow"; }
@@ -57,7 +57,7 @@ export class RtkEmojiPicker {
57
57
  return (h("div", { id: "emoji-grid", class: "scrollbar max-w-40" }, this.filteredEmojis.map((e) => (h("rtk-button", { key: `emoji-button-${e.name}`, class: "emoji", variant: "ghost", kind: "icon", title: e.name, onClick: () => this.handleEmojiClick(e.emoji) }, e.emoji)))));
58
58
  }
59
59
  render() {
60
- return (h(Host, { key: '989c0508bb88941926f29091895707e7b4a3e139' }, h("div", { key: '83a90c6b73ca11fb6e864a59362d15bf83391d20', class: 'close-parent' }, h("rtk-button", { key: '446a4c1a343eb11032b9ea2bf5b4cd5bef6f7f1b', variant: "ghost", kind: "icon", class: "close", onClick: () => { var _a; return (_a = this.pickerClose) === null || _a === void 0 ? void 0 : _a.emit(); }, "aria-label": this.t('close') }, h("rtk-icon", { key: 'cacfe97be0590e840d332fc9197bb473fef22d9f', icon: this.iconPack.dismiss }))), h("div", { key: '461a263d19a60547aff16689d3c6f4f31aea8a3a', class: 'emoji-parent' }, h("input", { key: 'c9a111769b48d5ff12ac48d8c172a8d3f371df2c', value: this.filterVal, onInput: (event) => this.handleInputChange(event.target), placeholder: this.t('search'), ref: (el) => (this.inputElement = el) }), this.mapEmojiList())));
60
+ return (h(Host, { key: '6581d26d75a7b869d0ba00243ec74ee06b927e7d' }, h("div", { key: '3705d8c557ac3e05769171998e9176e7e40a232c', class: 'close-parent' }, h("rtk-button", { key: 'b437e579cb828a709de255ddfa6b751e4bdfbe51', variant: "ghost", kind: "icon", class: "close", onClick: () => { var _a; return (_a = this.pickerClose) === null || _a === void 0 ? void 0 : _a.emit(); }, "aria-label": this.t('close') }, h("rtk-icon", { key: '7fac79a21c6be57156d17ceeff9ceb2834bbf709', icon: this.iconPack.dismiss }))), h("div", { key: '46cb2af6654ef36b7258baf47e3cd9e5bd60bf89', class: 'emoji-parent' }, h("input", { key: 'cfde33638d531f9bac1b1bf25d966a369f4dfb38', value: this.filterVal, onInput: (event) => this.handleInputChange(event.target), placeholder: this.t('search'), ref: (el) => (this.inputElement = el) }), this.mapEmojiList())));
61
61
  }
62
62
  static get is() { return "rtk-emoji-picker"; }
63
63
  static get encapsulation() { return "shadow"; }
@@ -19,7 +19,7 @@ export class RtkEmojiPickerButton {
19
19
  this.t = useLanguage();
20
20
  }
21
21
  render() {
22
- return (h("rtk-tooltip", { key: '5edf35e2100be583f2be4feadaa3b3149f9c8962', label: this.t('chat.send_emoji') }, h("rtk-button", { key: '00bfc269a700ab10955a627095aac31b64d8a28e', variant: "ghost", kind: "icon", class: { active: this.isActive }, title: this.t('chat.send_emoji') }, h("rtk-icon", { key: '47bd54c1593f7f5ea04eb96ccbca07ea3c22e511', icon: this.iconPack.emoji_multiple }))));
22
+ return (h("rtk-tooltip", { key: '45ef1f18da6d1ecc3c02882590cd22e930461562', label: this.t('chat.send_emoji') }, h("rtk-button", { key: '6504abab2f1c6537443699c53a8cbdcf13530cba', variant: "ghost", kind: "icon", class: { active: this.isActive }, title: this.t('chat.send_emoji') }, h("rtk-icon", { key: 'd730c81abce72d9c3226f1f666941e1136bee77f', icon: this.iconPack.emoji_multiple }))));
23
23
  }
24
24
  static get is() { return "rtk-emoji-picker-button"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
11
11
  import { Host, h } from "@stencil/core";
12
12
  import { useLanguage } from "../../lib/lang";
13
13
  import { defaultIconPack } from "../../lib/icons";
14
- import { defaultConfig } from "../../exports";
14
+ import { createDefaultConfig } from "../../exports";
15
15
  import { SyncWithStore } from "../../utils/sync-with-store";
16
16
  /**
17
17
  * A screen which shows a meeting has ended.
@@ -19,7 +19,7 @@ import { SyncWithStore } from "../../utils/sync-with-store";
19
19
  export class RtkEndedScreen {
20
20
  constructor() {
21
21
  /** Config object */
22
- this.config = defaultConfig;
22
+ this.config = createDefaultConfig();
23
23
  /** Icon */
24
24
  this.icon = defaultIconPack;
25
25
  /** Language */
@@ -75,6 +75,8 @@ export class RtkEndedScreen {
75
75
  return (h(Host, null, h("div", { class: "ctr", part: "container" }, h("rtk-icon", { icon: this.iconPack.breakout_rooms }), h("p", { part: "message", class: "breakout" }, this.t(this.message)))));
76
76
  }
77
77
  render() {
78
+ if (!this.meeting)
79
+ return null;
78
80
  const states = this.states;
79
81
  if (states.roomLeftState === 'connected-meeting') {
80
82
  return this.renderBreakoutRoomScreen();
@@ -117,7 +119,7 @@ export class RtkEndedScreen {
117
119
  },
118
120
  "getter": false,
119
121
  "setter": false,
120
- "defaultValue": "defaultConfig"
122
+ "defaultValue": "createDefaultConfig()"
121
123
  },
122
124
  "size": {
123
125
  "type": "string",
@@ -253,6 +255,9 @@ export class RtkEndedScreen {
253
255
  }];
254
256
  }
255
257
  }
258
+ __decorate([
259
+ SyncWithStore()
260
+ ], RtkEndedScreen.prototype, "config", void 0);
256
261
  __decorate([
257
262
  SyncWithStore()
258
263
  ], RtkEndedScreen.prototype, "size", void 0);
@@ -37,7 +37,7 @@ export class RtkFileDropzone {
37
37
  });
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: '197cf2a1b1deff5e45125b4e489d020d474a02dd' }, h("div", { key: '84e88151d3080dc0bd9f44f22b401d605f7f286f', id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { key: 'debea53f3376bb54bca692aed0450cf218f576d3', icon: this.iconPack.attach }), h("p", { key: '19b161b26bd4acc13447c47f5ee17b9645f91cc3' }, this.t('chat.send_attachment')))));
40
+ return (h(Host, { key: '6a205001d1e1e1f7c54855005cab34b81e95c9b9' }, h("div", { key: 'b87bcc6c90819127b2783665e541b69ce49f1032', id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { key: '1f603086a79a170a4fc3f3df53df9cfdfbae73fe', icon: this.iconPack.attach }), h("p", { key: '0b4914a3fb881006b1af20533750e6b273a82a48' }, this.t('chat.send_attachment')))));
41
41
  }
42
42
  static get is() { return "rtk-file-dropzone"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -33,10 +33,10 @@ export class RtkFileMessage {
33
33
  }
34
34
  render() {
35
35
  const link = sanitizeLink(this.message.link);
36
- return (h(Host, { key: '25ff2cd29b951ffee9fb266ec4937258db527ef4' }, !this.isContinued && (h(ChatHead, { key: '50dc45f56ac2837215619c597f557c0e71e5fd85', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '5b300ea679f835b6d7421568dde80aa38cbbc821', class: {
36
+ return (h(Host, { key: '7c75a7c9e627cddd7beeeadf11473894371395d8' }, !this.isContinued && (h(ChatHead, { key: 'c05c95453e3f878767770c6a261ebb90e2a06e7d', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '69b824cc5d3d328a3b08cc4def693d86bd96a39b', class: {
37
37
  body: true,
38
38
  bubble: this.showBubble,
39
- }, part: "body" }, h("div", { key: '895f033df99c8d9dfc1241bbaf5f20137b905395', class: "file" }, h("div", { key: '345bd0370a81c50c1ef46fa7119fa321213ad741', class: "file-data" }, h("div", { key: 'fb30c6c130af584d2f4294029c4304e213ddd339', class: "name" }, this.message.name), h("div", { key: 'd0de234e1697b196fe248bbfbad18109b59c20df', class: "file-data-split" }, h("div", { key: '635343bd7dbcbfeea1a7534c943be355decf20c4', class: "ext" }, getExtension(this.message.name)), h("span", { key: 'bd7772e273ae55297c99d8564cfa44e6dd1b43d0', class: "divider" }), h("div", { key: 'd6df3a4fca8932d3bcdeb805ef7b3bed1c3e8c15', class: "size" }, getFileSize(this.message.size)))), h("rtk-button", { key: '4b4d9be6f228e5deda5590f2aa6038b3501623d7', variant: "secondary", kind: "icon", onClick: () => downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '187e0b8f903bd7cd8b5f9e25ef2d6841299fe87f', icon: this.iconPack.download }))))));
39
+ }, part: "body" }, h("div", { key: '86315ca5ed3c9b9f48d84ffef9f52ebbd1d3515e', class: "file" }, h("div", { key: '3475ccfa9c266adb6fefefa1eadcc3d8b1fe37f1', class: "file-data" }, h("div", { key: 'e99e1b1c6acd5b7892d9916680cde1d937dfcb82', class: "name" }, this.message.name), h("div", { key: '4f213fd3a36d457da93e75b7b51573120978893c', class: "file-data-split" }, h("div", { key: '3484e59af9f316eabfcf9bc35f015a0d3b7d286d', class: "ext" }, getExtension(this.message.name)), h("span", { key: 'b223670e2ed2bbc84b1145123fe14ca52f5f0a88', class: "divider" }), h("div", { key: 'ebe6b5e3f8e6da099438a7015a3c2d10770808b6', class: "size" }, getFileSize(this.message.size)))), h("rtk-button", { key: '5a109a7b43db38b10e9d084f9fb141e5a0535d9b', variant: "secondary", kind: "icon", onClick: () => downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '57aaf2b09f11a066c298d675a06ec10202e18fc8', icon: this.iconPack.download }))))));
40
40
  }
41
41
  static get is() { return "rtk-file-message"; }
42
42
  static get properties() {
@@ -51,7 +51,7 @@ export class RtkFileMessage {
51
51
  "FileMessage": {
52
52
  "location": "import",
53
53
  "path": "@cloudflare/realtimekit",
54
- "id": "../../node_modules/@cloudflare/realtimekit/dist/index.d.ts::FileMessage"
54
+ "id": "node_modules::FileMessage"
55
55
  }
56
56
  }
57
57
  },
@@ -22,7 +22,7 @@ export class RtkFileMessageView {
22
22
  this.iconPack = defaultIconPack;
23
23
  }
24
24
  render() {
25
- return (h("div", { key: '7bc636599452b840ae0a5467fcf579a883a98727', class: "file" }, h("rtk-button", { key: '98bfff6ca8aa598d296ff1f3b39994f8b839572c', variant: "secondary", kind: "icon", onClick: () => downloadFile(sanitizeLink(this.url), { name: this.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '26b9fe1b7e884ffa993e988eb94e18351eec8c25', icon: this.iconPack.download })), h("div", { key: 'c3d045925ef1a13039c44624930b96cd326d769f', class: "file-data" }, h("div", { key: '619e9cd8f72f342e31c334586e44813e2d3216ba', class: "name" }, this.name), h("div", { key: '71b788c2a10c8a7290da1f77d82c6b6e66746223', class: "file-data-split" }, h("div", { key: '550720228247cdaf766a84938df720bf95249bf5', class: "ext" }, getExtension(this.name)), h("span", { key: '2bb1940a95e5e06ec8a064a775ea2257ff80fcc7', class: "divider" }), h("div", { key: 'e5451bcd50b3e05d90b149a98b7c328711025827', class: "size" }, getFileSize(this.size))))));
25
+ return (h("div", { key: '5cc29b4780f581a2f8b045e5051bcc66f3fdaf55', class: "file" }, h("rtk-button", { key: '4100b47bc1d72f08ec5fe645291bfbb58e3a6486', variant: "secondary", kind: "icon", onClick: () => downloadFile(sanitizeLink(this.url), { name: this.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '52ae14abb7c27b89861d5ba4c907d606257628c9', icon: this.iconPack.download })), h("div", { key: '02c9ad8d173172a85cc474273a966607d456360e', class: "file-data" }, h("div", { key: '6ceca21685d04f175006ba35a6de194cc98879ad', class: "name" }, this.name), h("div", { key: 'b07d07bcaedee3fd6fbcfe81ce2f6bf757655b5f', class: "file-data-split" }, h("div", { key: '280635ef486de02bc68ca3e774be14fa5a461d1c', class: "ext" }, getExtension(this.name)), h("span", { key: '84f72d8b37b7d15c257faed036b76c737eec780b', class: "divider" }), h("div", { key: '1b88f48f51afe3fceb57920c3d17f586e848a25f', class: "size" }, getFileSize(this.size))))));
26
26
  }
27
27
  static get is() { return "rtk-file-message-view"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class RtkFilePickerButton {
44
44
  render() {
45
45
  const label = this.label || this.t('chat.send_file');
46
46
  const icon = this.iconPack[this.icon];
47
- return (h("rtk-tooltip", { key: 'ea570679bd495c1230a563d08496211e57645797', label: label }, h("rtk-button", { key: '894429d9abc652daf0d897fe3757b3a81dc06da2', variant: "ghost", kind: "icon", onClick: () => this.uploadFile(), title: label }, h("rtk-icon", { key: '12f9e9a114accb42178da6663f85cac8a3cf70e2', icon: icon }))));
47
+ return (h("rtk-tooltip", { key: '057a0a5a714dbbde228e3481e53adea4f88fb3ad', label: label }, h("rtk-button", { key: '04193df1053b14687fb9464a122b9158707bdda1', variant: "ghost", kind: "icon", onClick: () => this.uploadFile(), title: label }, h("rtk-icon", { key: 'ed2fce30b93dfce9dd6b967d5993c93496cf3388', icon: icon }))));
48
48
  }
49
49
  static get is() { return "rtk-file-picker-button"; }
50
50
  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 "../../lib/default-ui-config";
12
+ import { createDefaultConfig } from "../../lib/default-ui-config";
13
13
  import { defaultIconPack } from "../../lib/icons";
14
14
  import { useLanguage } from "../../lib/lang";
15
15
  import debounce from "lodash/debounce";
@@ -17,7 +17,6 @@ import { Render } from "../../lib/render";
17
17
  import { isLiveStreamViewer } from "../../utils/livestream";
18
18
  import { SyncWithStore } from "../../utils/sync-with-store";
19
19
  import { defaultGridSize } from "../../lib/grid";
20
- import { uiState } from "../../utils/sync-with-store/ui-store";
21
20
  const MASS_ACTIONS_DEBOUNCE_TIMER = 50; // In ms
22
21
  /**
23
22
  * The main grid component which abstracts all the grid handling logic and renders it for you.
@@ -42,7 +41,7 @@ export class RtkGrid {
42
41
  /** Gap between participants */
43
42
  this.gap = 8;
44
43
  /** Config object */
45
- this.config = defaultConfig;
44
+ this.config = createDefaultConfig();
46
45
  /** Icon pack */
47
46
  this.iconPack = defaultIconPack;
48
47
  /** Language */
@@ -73,7 +72,7 @@ export class RtkGrid {
73
72
  return participants;
74
73
  };
75
74
  this.onViewModeChanged = () => {
76
- if (this.meeting == null)
75
+ if (!this.meeting)
77
76
  return;
78
77
  this.updateActiveParticipants();
79
78
  };
@@ -145,7 +144,7 @@ export class RtkGrid {
145
144
  }
146
145
  disconnectMeeting(meeting) {
147
146
  var _a;
148
- if (meeting == null)
147
+ if (!meeting)
149
148
  return;
150
149
  this.participants = [];
151
150
  this.plugins = [];
@@ -227,24 +226,24 @@ export class RtkGrid {
227
226
  }
228
227
  screenShareParticipantsChanged(participants) {
229
228
  const activeScreenShare = participants.length > 0;
230
- if (!!uiState.states.activeScreenShare === activeScreenShare)
229
+ if (!!this.states.activeScreenShare === activeScreenShare)
231
230
  return;
232
231
  this.stateUpdate.emit({ activeScreenShare });
233
- uiState.states.activeScreenShare = activeScreenShare;
232
+ this.states.activeScreenShare = activeScreenShare;
234
233
  }
235
234
  pluginsChanged(plugins) {
236
235
  const activePlugin = plugins.length > 0;
237
- if (!!uiState.states.activePlugin === activePlugin)
236
+ if (!!this.states.activePlugin === activePlugin)
238
237
  return;
239
238
  this.stateUpdate.emit({ activePlugin });
240
- uiState.states.activePlugin = activePlugin;
239
+ this.states.activePlugin = activePlugin;
241
240
  }
242
241
  pinnedParticipantsChanged(participants) {
243
242
  const activeSpotlight = participants.length > 0;
244
- if (!!uiState.states.activeSpotlight === activeSpotlight)
243
+ if (!!this.states.activeSpotlight === activeSpotlight)
245
244
  return;
246
245
  this.stateUpdate.emit({ activeSpotlight });
247
- uiState.states.activeSpotlight = activeSpotlight;
246
+ this.states.activeSpotlight = activeSpotlight;
248
247
  }
249
248
  updateActiveParticipants() {
250
249
  var _a;
@@ -504,7 +503,7 @@ export class RtkGrid {
504
503
  },
505
504
  "getter": false,
506
505
  "setter": false,
507
- "defaultValue": "defaultConfig"
506
+ "defaultValue": "createDefaultConfig()"
508
507
  },
509
508
  "iconPack": {
510
509
  "type": "unknown",
@@ -670,6 +669,9 @@ __decorate([
670
669
  __decorate([
671
670
  SyncWithStore()
672
671
  ], RtkGrid.prototype, "states", void 0);
672
+ __decorate([
673
+ SyncWithStore()
674
+ ], RtkGrid.prototype, "config", void 0);
673
675
  __decorate([
674
676
  SyncWithStore()
675
677
  ], RtkGrid.prototype, "iconPack", void 0);
@@ -63,7 +63,7 @@ export class RtkGridPagination {
63
63
  this.toggleGridPagination();
64
64
  }, MASS_ACTIONS_DEBOUNCE_TIMER);
65
65
  this.prevPage = () => {
66
- if (this.meeting == null)
66
+ if (!this.meeting)
67
67
  return;
68
68
  const { participants } = this.meeting;
69
69
  if (this.page > 1) {
@@ -74,7 +74,7 @@ export class RtkGridPagination {
74
74
  }
75
75
  };
76
76
  this.nextPage = () => {
77
- if (this.meeting == null)
77
+ if (!this.meeting)
78
78
  return;
79
79
  const { participants } = this.meeting;
80
80
  if (this.page > 0 && this.page < this.pageCount) {
@@ -90,7 +90,7 @@ export class RtkGridPagination {
90
90
  this.sizeChanged();
91
91
  }
92
92
  disconnectedCallback() {
93
- if (this.meeting == null)
93
+ if (!this.meeting)
94
94
  return;
95
95
  const { participants, stage } = this.meeting;
96
96
  participants.removeListener('pageChanged', this.onPageChanged);
@@ -120,6 +120,8 @@ export class RtkGridPagination {
120
120
  this.toggleGridPagination();
121
121
  }
122
122
  render() {
123
+ if (!this.meeting)
124
+ return null;
123
125
  const { meta } = this.meeting;
124
126
  const isAudioRoom = (meta === null || meta === void 0 ? void 0 : meta.viewType) === 'AUDIO_ROOM';
125
127
  if (isAudioRoom || !this.showPagination) {
@@ -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 { Render } from "../../lib/render";
15
15
  import { SyncWithStore } from "../../utils/sync-with-store";
@@ -25,7 +25,7 @@ export class RtkHeader {
25
25
  /** Whether to render the default UI */
26
26
  this.disableRender = false;
27
27
  /** Config */
28
- this.config = defaultConfig;
28
+ this.config = createDefaultConfig();
29
29
  /** Icon Pack */
30
30
  this.iconPack = defaultIconPack;
31
31
  /** Language */
@@ -40,7 +40,7 @@ export class RtkHeader {
40
40
  iconPack: this.iconPack,
41
41
  size: this.size,
42
42
  };
43
- return (h(Host, { key: '0b3c18e3927465e198c26f79d810dadc31ebb74b' }, !this.disableRender && h(Render, { key: '480d2f17a6d831dabb3d39abceb33fbc1aa6d78d', element: "rtk-header", defaults: defaults, onlyChildren: true }), h("slot", { key: '67f89c4a3574ba22976d3aa57268aabe4ce78d2a' })));
43
+ return (h(Host, { key: '783db656f391fc45ab6f59770a18506d2f0f83de' }, !this.disableRender && h(Render, { key: '9f5f954191c34e6d117fc9c53a0708bfe4e2e392', element: "rtk-header", defaults: defaults, onlyChildren: true }), h("slot", { key: '0dd3257b0a4702c96582139d03f59b154264b438' })));
44
44
  }
45
45
  static get is() { return "rtk-header"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -141,7 +141,7 @@ export class RtkHeader {
141
141
  },
142
142
  "getter": false,
143
143
  "setter": false,
144
- "defaultValue": "defaultConfig"
144
+ "defaultValue": "createDefaultConfig()"
145
145
  },
146
146
  "states": {
147
147
  "type": "unknown",
@@ -245,6 +245,9 @@ export class RtkHeader {
245
245
  __decorate([
246
246
  SyncWithStore()
247
247
  ], RtkHeader.prototype, "meeting", void 0);
248
+ __decorate([
249
+ SyncWithStore()
250
+ ], RtkHeader.prototype, "config", void 0);
248
251
  __decorate([
249
252
  SyncWithStore()
250
253
  ], RtkHeader.prototype, "states", void 0);