@cloudflare/realtimekit-ui 1.0.9-staging.1 → 1.0.9-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 (592) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-23aacf34.js → TextMessage-4f9299ff.js} +1 -1
  3. package/dist/cjs/{chat-e37da504.js → chat-04fd67b4.js} +1 -1
  4. package/dist/cjs/{debounce-5ee900cc.js → debounce-a3e0d9e7.js} +1 -1
  5. package/dist/cjs/{index-fb18156f.js → index-8d07e125.js} +1 -1
  6. package/dist/cjs/index.cjs.js +4 -4
  7. package/dist/cjs/{merge-ca0928c5.js → merge-73e2770b.js} +1 -1
  8. package/dist/cjs/{notification-822d615a.js → notification-6f17add8.js} +2 -2
  9. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  10. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
  11. package/dist/cjs/rtk-ai.cjs.entry.js +2 -2
  12. package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +2 -2
  15. package/dist/cjs/rtk-avatar_54.cjs.entry.js +14 -18
  16. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  17. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  18. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  19. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  20. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +4 -4
  21. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  22. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  23. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +10 -14
  24. package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
  25. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
  26. package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
  27. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
  28. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  29. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
  30. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  31. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  33. package/dist/cjs/rtk-header.cjs.entry.js +2 -2
  34. package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
  35. package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
  36. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
  37. package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
  38. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  39. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  40. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  42. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  44. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  45. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
  47. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  48. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  49. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  50. package/dist/cjs/rtk-participant_2.cjs.entry.js +3 -3
  51. package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
  52. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
  53. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
  54. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  55. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
  58. package/dist/cjs/rtk-plugins_2.cjs.entry.js +2 -2
  59. package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
  60. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
  61. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
  62. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  63. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  64. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +2 -2
  65. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  66. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
  67. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  68. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  69. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  70. package/dist/cjs/rtk-sidebar.cjs.entry.js +3 -3
  71. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  72. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  73. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  74. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  75. package/dist/cjs/rtk-stage.cjs.entry.js +2 -2
  76. package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
  77. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  78. package/dist/cjs/rtk-ui-provider.cjs.entry.js +2 -2
  79. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
  80. package/dist/cjs/{sidebar-89748c6c.js → sidebar-2ad915b1.js} +1 -1
  81. package/dist/cjs/{ui-store-e096fdc6.js → ui-store-1cb28da8.js} +72 -79
  82. package/dist/collection/components/rtk-ai/rtk-ai.js +1 -1
  83. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +1 -1
  84. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  85. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  86. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +2 -2
  87. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +2 -2
  88. package/dist/collection/components/rtk-avatar/rtk-avatar.js +2 -2
  89. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +7 -11
  90. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +1 -1
  91. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +2 -2
  92. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +2 -2
  93. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +1 -1
  94. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +1 -1
  95. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +1 -1
  96. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +1 -1
  97. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +1 -1
  98. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +1 -1
  99. package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +1 -1
  100. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +1 -1
  101. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +3 -3
  102. package/dist/collection/components/rtk-chat/rtk-chat.js +3 -3
  103. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +1 -1
  104. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +1 -1
  105. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +1 -1
  106. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +1 -1
  107. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +1 -1
  108. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  109. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +1 -1
  110. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +7 -9
  111. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  112. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  113. package/dist/collection/components/rtk-counter/rtk-counter.js +1 -1
  114. package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
  115. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +1 -1
  116. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +1 -1
  117. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +1 -1
  118. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  119. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +1 -1
  120. package/dist/collection/components/rtk-dialog/rtk-dialog.js +1 -1
  121. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +1 -1
  122. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  123. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  124. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  125. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +1 -1
  126. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  127. package/dist/collection/components/rtk-file-message/rtk-file-message.js +1 -1
  128. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +2 -2
  129. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +1 -1
  130. package/dist/collection/components/rtk-grid/rtk-grid.js +1 -1
  131. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
  132. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  133. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  134. package/dist/collection/components/rtk-image-message/rtk-image-message.js +1 -1
  135. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +1 -1
  136. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  137. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
  138. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  139. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +1 -1
  140. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
  141. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
  142. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +1 -1
  143. package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
  144. package/dist/collection/components/rtk-meeting/rtk-meeting.js +1 -1
  145. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +1 -1
  146. package/dist/collection/components/rtk-menu/rtk-menu.js +1 -1
  147. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  148. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  149. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +1 -1
  150. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +1 -1
  151. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +1 -1
  152. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +1 -1
  153. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +1 -1
  154. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  155. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +2 -2
  156. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +2 -2
  157. package/dist/collection/components/rtk-notification/rtk-notification.js +1 -1
  158. package/dist/collection/components/rtk-notifications/rtk-notifications.js +1 -1
  159. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  160. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
  161. package/dist/collection/components/rtk-participant/rtk-participant.js +2 -2
  162. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
  163. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
  164. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +3 -3
  165. package/dist/collection/components/rtk-participants/rtk-participants.js +1 -1
  166. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  167. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  168. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +1 -1
  169. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +1 -1
  170. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +1 -1
  171. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +1 -1
  172. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  173. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +1 -1
  174. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
  175. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  176. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
  177. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  178. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +1 -1
  179. package/dist/collection/components/rtk-polls/rtk-polls.js +1 -1
  180. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +1 -1
  181. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  182. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +1 -1
  183. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +1 -1
  184. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +2 -2
  185. package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
  186. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
  187. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  188. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +1 -1
  189. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
  190. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +1 -1
  191. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +1 -1
  192. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
  193. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +1 -1
  194. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +1 -1
  195. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
  196. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  197. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
  198. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  199. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
  200. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  201. package/dist/collection/components/rtk-text-message/rtk-text-message.js +1 -1
  202. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  203. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
  204. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
  205. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
  206. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
  207. package/dist/collection/utils/flags.js +1 -7
  208. package/dist/components/index.js +6 -6
  209. package/dist/components/{p-1d32657e.js → p-00ebd1dc.js} +2 -2
  210. package/dist/components/{p-58e7fbf9.js → p-01a50790.js} +2 -2
  211. package/dist/components/{p-bf700149.js → p-037e572f.js} +73 -79
  212. package/dist/components/{p-bdb2d1f9.js → p-03fe0979.js} +2 -2
  213. package/dist/components/{p-0a74af4f.js → p-04aaec79.js} +11 -11
  214. package/dist/components/{p-4d154773.js → p-0a7f6a8a.js} +2 -2
  215. package/dist/components/{p-5d3d3990.js → p-0c11d195.js} +6 -6
  216. package/dist/components/{p-2e3b02b3.js → p-0e07ea51.js} +10 -10
  217. package/dist/components/{p-61e6e7be.js → p-12437468.js} +2 -2
  218. package/dist/components/{p-42672814.js → p-12d2b558.js} +2 -2
  219. package/dist/components/{p-4db644b9.js → p-17867774.js} +2 -2
  220. package/dist/components/{p-23ab84b1.js → p-1986022b.js} +2 -2
  221. package/dist/components/{p-a3948b63.js → p-1a60f5b0.js} +2 -2
  222. package/dist/components/{p-34688fcf.js → p-1d29b7c3.js} +10 -10
  223. package/dist/components/{p-1425697e.js → p-22a734a8.js} +4 -4
  224. package/dist/components/{p-e248d815.js → p-22d9d3ff.js} +5 -5
  225. package/dist/components/{p-00b48a12.js → p-26055088.js} +2 -2
  226. package/dist/components/{p-4ac416da.js → p-2b955eb0.js} +4 -4
  227. package/dist/components/{p-99a61e45.js → p-3042f998.js} +22 -22
  228. package/dist/components/{p-2ecff14a.js → p-3051f5f5.js} +2 -2
  229. package/dist/components/{p-4a194b9f.js → p-314b1504.js} +2 -2
  230. package/dist/components/{p-f92f9ef2.js → p-3438fd71.js} +2 -2
  231. package/dist/components/{p-8dd72d80.js → p-34b580c9.js} +2 -2
  232. package/dist/components/{p-7827c27d.js → p-39a6a6a6.js} +6 -6
  233. package/dist/components/{p-0599a377.js → p-3a80e3ab.js} +4 -4
  234. package/dist/components/{p-a960414f.js → p-3df2211d.js} +2 -2
  235. package/dist/components/{p-00cddac4.js → p-3fe1bb0d.js} +8 -8
  236. package/dist/components/{p-221a4186.js → p-40c5ca62.js} +2 -2
  237. package/dist/components/{p-517eed51.js → p-4772f368.js} +2 -2
  238. package/dist/components/{p-9c762c7c.js → p-49967150.js} +3 -3
  239. package/dist/components/{p-8aa0a20a.js → p-4c8cff29.js} +3 -3
  240. package/dist/components/{p-3260a0fe.js → p-4edd666b.js} +6 -6
  241. package/dist/components/{p-e16baa62.js → p-511ed3f8.js} +2 -2
  242. package/dist/components/{p-cc3e758a.js → p-52b090fc.js} +2 -2
  243. package/dist/components/{p-aceb63f7.js → p-54dba22f.js} +2 -2
  244. package/dist/components/{p-4163391e.js → p-551bed08.js} +3 -3
  245. package/dist/components/{p-dcb240cb.js → p-65b9931e.js} +2 -2
  246. package/dist/components/{p-66eda965.js → p-66bae0d9.js} +2 -2
  247. package/dist/components/{p-d9e57455.js → p-6a47e2ee.js} +12 -12
  248. package/dist/components/{p-6f1af797.js → p-6bd3b767.js} +1 -1
  249. package/dist/components/{p-b15d2763.js → p-6d49cf9f.js} +2 -2
  250. package/dist/components/{p-9645c983.js → p-6fe2233b.js} +3 -3
  251. package/dist/components/{p-f7bea1a7.js → p-7119673c.js} +2 -2
  252. package/dist/components/{p-8c5e42ea.js → p-72346e7f.js} +2 -2
  253. package/dist/components/{p-9db751ca.js → p-731ee854.js} +2 -2
  254. package/dist/components/{p-2ec901a0.js → p-7a336667.js} +4 -4
  255. package/dist/components/{p-cfbd1c8a.js → p-7f0ee3c6.js} +2 -2
  256. package/dist/components/{p-ba1f008f.js → p-840ef7fe.js} +4 -4
  257. package/dist/components/{p-54c33b11.js → p-897a04be.js} +4 -4
  258. package/dist/components/{p-176c5195.js → p-9149c02e.js} +2 -2
  259. package/dist/components/{p-c7ca0840.js → p-91a9efcf.js} +2 -2
  260. package/dist/components/{p-b3f547d5.js → p-9730c398.js} +3 -3
  261. package/dist/components/{p-750e6dd1.js → p-989d36e2.js} +6 -6
  262. package/dist/components/{p-073066d9.js → p-9ea5df8f.js} +2 -2
  263. package/dist/components/{p-82b52967.js → p-a09aefba.js} +2 -2
  264. package/dist/components/{p-9cc8f284.js → p-a5a40d7e.js} +2 -2
  265. package/dist/components/{p-e727691a.js → p-a9d5d165.js} +3 -3
  266. package/dist/components/{p-963afa79.js → p-aba9b612.js} +4 -4
  267. package/dist/components/{p-bbe38af7.js → p-af35ac31.js} +1 -1
  268. package/dist/components/{p-3de94128.js → p-b373754d.js} +1 -1
  269. package/dist/components/{p-bfd30b77.js → p-b804a5f5.js} +7 -7
  270. package/dist/components/{p-53ff409b.js → p-bccc21f8.js} +2 -2
  271. package/dist/components/{p-c46fca60.js → p-c3582bf3.js} +7 -7
  272. package/dist/components/{p-1fb97660.js → p-c40166a9.js} +5 -5
  273. package/dist/components/{p-bcd9ae7c.js → p-c5dfd548.js} +50 -50
  274. package/dist/components/{p-d926df40.js → p-c663f9b1.js} +2 -2
  275. package/dist/components/{p-a05c75f3.js → p-c7413ac8.js} +2 -2
  276. package/dist/components/{p-9de3508b.js → p-c9a7cf06.js} +4 -4
  277. package/dist/components/{p-5183c437.js → p-cc5ecd67.js} +2 -2
  278. package/dist/components/{p-c46abf5d.js → p-d2b37264.js} +4 -4
  279. package/dist/components/{p-0ebf838c.js → p-d2c3870a.js} +2 -2
  280. package/dist/components/{p-26a20701.js → p-dc4b6fc4.js} +2 -2
  281. package/dist/components/{p-68ea23a4.js → p-ddb2df62.js} +2 -2
  282. package/dist/components/{p-92738209.js → p-df25c2a7.js} +1 -1
  283. package/dist/components/{p-47230f49.js → p-e2e22bf8.js} +10 -14
  284. package/dist/components/{p-21caffae.js → p-ed8955d0.js} +2 -2
  285. package/dist/components/{p-59bdb49b.js → p-f46a0782.js} +2 -2
  286. package/dist/components/{p-a234bf1a.js → p-f4ff7d70.js} +2 -2
  287. package/dist/components/{p-484bc00f.js → p-f734a4cf.js} +2 -2
  288. package/dist/components/{p-dbdc62e6.js → p-f81c7fda.js} +2 -2
  289. package/dist/components/{p-00d593e1.js → p-f9faeffc.js} +2 -2
  290. package/dist/components/{p-f45ff21a.js → p-fb427023.js} +3 -3
  291. package/dist/components/{p-ac19035c.js → p-fb46d041.js} +7 -7
  292. package/dist/components/rtk-ai-toggle.js +4 -4
  293. package/dist/components/rtk-ai-transcriptions.js +1 -1
  294. package/dist/components/rtk-ai.js +3 -3
  295. package/dist/components/rtk-audio-grid.js +2 -2
  296. package/dist/components/rtk-audio-tile.js +5 -5
  297. package/dist/components/rtk-audio-visualizer.js +1 -1
  298. package/dist/components/rtk-avatar.js +1 -1
  299. package/dist/components/rtk-breakout-room-manager.js +1 -1
  300. package/dist/components/rtk-breakout-room-participants.js +1 -1
  301. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  302. package/dist/components/rtk-breakout-rooms-toggle.js +4 -4
  303. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  304. package/dist/components/rtk-camera-selector.js +1 -1
  305. package/dist/components/rtk-camera-toggle.js +4 -4
  306. package/dist/components/rtk-caption-toggle.js +4 -4
  307. package/dist/components/rtk-channel-creator.js +1 -1
  308. package/dist/components/rtk-channel-details.js +1 -1
  309. package/dist/components/rtk-channel-header.js +1 -1
  310. package/dist/components/rtk-channel-selector-ui.js +4 -4
  311. package/dist/components/rtk-channel-selector-view.js +1 -1
  312. package/dist/components/rtk-chat-composer-ui.js +5 -5
  313. package/dist/components/rtk-chat-composer-view.js +1 -1
  314. package/dist/components/rtk-chat-message.js +1 -1
  315. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  316. package/dist/components/rtk-chat-messages-ui.js +1 -1
  317. package/dist/components/rtk-chat-search-results.js +1 -1
  318. package/dist/components/rtk-chat-selector-ui.js +2 -2
  319. package/dist/components/rtk-chat-toggle.js +12 -16
  320. package/dist/components/rtk-chat.js +1 -1
  321. package/dist/components/rtk-clock.js +2 -2
  322. package/dist/components/rtk-confirmation-modal.js +1 -1
  323. package/dist/components/rtk-controlbar-button.js +1 -1
  324. package/dist/components/rtk-controlbar.js +2 -2
  325. package/dist/components/rtk-counter.js +1 -1
  326. package/dist/components/rtk-debugger-audio.js +1 -1
  327. package/dist/components/rtk-debugger-screenshare.js +1 -1
  328. package/dist/components/rtk-debugger-system.js +1 -1
  329. package/dist/components/rtk-debugger-toggle.js +4 -4
  330. package/dist/components/rtk-debugger-video.js +1 -1
  331. package/dist/components/rtk-debugger.js +1 -1
  332. package/dist/components/rtk-dialog-manager.js +1 -1
  333. package/dist/components/rtk-dialog.js +1 -1
  334. package/dist/components/rtk-draft-attachment-view.js +1 -1
  335. package/dist/components/rtk-emoji-picker-button.js +1 -1
  336. package/dist/components/rtk-emoji-picker.js +1 -1
  337. package/dist/components/rtk-ended-screen.js +3 -3
  338. package/dist/components/rtk-file-dropzone.js +2 -2
  339. package/dist/components/rtk-file-message-view.js +1 -1
  340. package/dist/components/rtk-file-message.js +1 -1
  341. package/dist/components/rtk-file-picker-button.js +1 -1
  342. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  343. package/dist/components/rtk-grid-pagination.js +2 -2
  344. package/dist/components/rtk-grid.js +8 -8
  345. package/dist/components/rtk-header.js +2 -2
  346. package/dist/components/rtk-idle-screen.js +4 -4
  347. package/dist/components/rtk-image-message-view.js +1 -1
  348. package/dist/components/rtk-image-message.js +1 -1
  349. package/dist/components/rtk-image-viewer.js +2 -2
  350. package/dist/components/rtk-information-tooltip.js +2 -2
  351. package/dist/components/rtk-join-stage.js +1 -1
  352. package/dist/components/rtk-leave-button.js +4 -4
  353. package/dist/components/rtk-leave-meeting.js +1 -1
  354. package/dist/components/rtk-livestream-indicator.js +1 -1
  355. package/dist/components/rtk-livestream-player.js +1 -1
  356. package/dist/components/rtk-livestream-toggle.js +4 -4
  357. package/dist/components/rtk-logo.js +1 -1
  358. package/dist/components/rtk-meeting-title.js +2 -2
  359. package/dist/components/rtk-meeting.js +51 -51
  360. package/dist/components/rtk-menu-item.js +1 -1
  361. package/dist/components/rtk-menu-list.js +1 -1
  362. package/dist/components/rtk-menu.js +1 -1
  363. package/dist/components/rtk-message-list-view.js +3 -3
  364. package/dist/components/rtk-message-view.js +1 -1
  365. package/dist/components/rtk-mic-toggle.js +4 -4
  366. package/dist/components/rtk-microphone-selector.js +1 -1
  367. package/dist/components/rtk-mixed-grid.js +5 -5
  368. package/dist/components/rtk-more-toggle.js +4 -4
  369. package/dist/components/rtk-mute-all-button.js +4 -4
  370. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  371. package/dist/components/rtk-name-tag.js +1 -1
  372. package/dist/components/rtk-network-indicator.js +2 -2
  373. package/dist/components/rtk-notification.js +1 -1
  374. package/dist/components/rtk-notifications.js +1 -1
  375. package/dist/components/rtk-overlay-modal.js +1 -1
  376. package/dist/components/rtk-paginated-list.js +1 -1
  377. package/dist/components/rtk-participant-count.js +2 -2
  378. package/dist/components/rtk-participant-setup.js +2 -2
  379. package/dist/components/rtk-participant-tile.js +1 -1
  380. package/dist/components/rtk-participant.js +1 -1
  381. package/dist/components/rtk-participants-audio.js +3 -3
  382. package/dist/components/rtk-participants-stage-list.js +1 -1
  383. package/dist/components/rtk-participants-stage-queue.js +1 -1
  384. package/dist/components/rtk-participants-toggle.js +5 -5
  385. package/dist/components/rtk-participants-viewer-list.js +1 -1
  386. package/dist/components/rtk-participants-waiting-list.js +1 -1
  387. package/dist/components/rtk-participants.js +12 -12
  388. package/dist/components/rtk-permissions-message.js +1 -1
  389. package/dist/components/rtk-pip-toggle.js +4 -4
  390. package/dist/components/rtk-plugin-main.js +1 -1
  391. package/dist/components/rtk-plugins-toggle.js +5 -5
  392. package/dist/components/rtk-plugins.js +1 -1
  393. package/dist/components/rtk-poll-form.js +1 -1
  394. package/dist/components/rtk-poll.js +1 -1
  395. package/dist/components/rtk-polls-toggle.js +5 -5
  396. package/dist/components/rtk-polls.js +1 -1
  397. package/dist/components/rtk-recording-indicator.js +2 -2
  398. package/dist/components/rtk-recording-toggle.js +4 -4
  399. package/dist/components/rtk-screen-share-toggle.js +4 -4
  400. package/dist/components/rtk-screenshare-view.js +2 -2
  401. package/dist/components/rtk-settings-audio.js +1 -1
  402. package/dist/components/rtk-settings-toggle.js +4 -4
  403. package/dist/components/rtk-settings-video.js +1 -1
  404. package/dist/components/rtk-settings.js +10 -10
  405. package/dist/components/rtk-setup-screen.js +6 -6
  406. package/dist/components/rtk-sidebar-ui.js +1 -1
  407. package/dist/components/rtk-sidebar.js +8 -8
  408. package/dist/components/rtk-simple-grid.js +2 -2
  409. package/dist/components/rtk-speaker-selector.js +1 -1
  410. package/dist/components/rtk-spinner.js +1 -1
  411. package/dist/components/rtk-spotlight-grid.js +2 -2
  412. package/dist/components/rtk-spotlight-indicator.js +1 -1
  413. package/dist/components/rtk-stage-toggle.js +4 -4
  414. package/dist/components/rtk-stage.js +2 -2
  415. package/dist/components/rtk-switch.js +1 -1
  416. package/dist/components/rtk-tab-bar.js +1 -1
  417. package/dist/components/rtk-text-composer-view.js +1 -1
  418. package/dist/components/rtk-text-message.js +1 -1
  419. package/dist/components/rtk-transcript.js +1 -1
  420. package/dist/components/rtk-transcripts.js +3 -3
  421. package/dist/components/rtk-ui-provider.js +2 -2
  422. package/dist/components/rtk-viewer-count.js +1 -1
  423. package/dist/components/rtk-waiting-screen.js +3 -3
  424. package/dist/docs/docs-components.json +2223 -2223
  425. package/dist/docs/docs-vscode.json +10 -10
  426. package/dist/esm/{TextMessage-5f73acf3.js → TextMessage-07d53134.js} +1 -1
  427. package/dist/esm/{chat-d13dedd6.js → chat-32ac0c2b.js} +1 -1
  428. package/dist/esm/{debounce-6e6d522e.js → debounce-6ec038d3.js} +1 -1
  429. package/dist/esm/{index-e1ee8258.js → index-849b9dd9.js} +1 -1
  430. package/dist/esm/index.js +6 -6
  431. package/dist/esm/loader.js +86 -100
  432. package/dist/esm/{merge-783d3076.js → merge-f5f3ca10.js} +1 -1
  433. package/dist/esm/{notification-b6d024c7.js → notification-0794a8cc.js} +2 -2
  434. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  435. package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
  436. package/dist/esm/rtk-ai.entry.js +2 -2
  437. package/dist/esm/rtk-audio-grid.entry.js +2 -2
  438. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  439. package/dist/esm/rtk-audio-visualizer_4.entry.js +2 -2
  440. package/dist/esm/rtk-avatar_54.entry.js +14 -18
  441. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  442. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  443. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  444. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  445. package/dist/esm/rtk-channel-selector-ui.entry.js +4 -4
  446. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  447. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  448. package/dist/esm/rtk-chat-toggle.entry.js +10 -14
  449. package/dist/esm/rtk-clock.entry.js +2 -2
  450. package/dist/esm/rtk-controlbar-button.entry.js +2 -2
  451. package/dist/esm/rtk-controlbar.entry.js +2 -2
  452. package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
  453. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  454. package/dist/esm/rtk-file-dropzone.entry.js +2 -2
  455. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  456. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  457. package/dist/esm/rtk-grid.entry.js +2 -2
  458. package/dist/esm/rtk-header.entry.js +2 -2
  459. package/dist/esm/rtk-idle-screen.entry.js +2 -2
  460. package/dist/esm/rtk-image-viewer.entry.js +2 -2
  461. package/dist/esm/rtk-information-tooltip.entry.js +2 -2
  462. package/dist/esm/rtk-leave-button.entry.js +2 -2
  463. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  464. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  465. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  466. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  467. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  468. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  469. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  470. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  471. package/dist/esm/rtk-name-tag.entry.js +2 -2
  472. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  473. package/dist/esm/rtk-participant-count.entry.js +2 -2
  474. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  475. package/dist/esm/rtk-participant_2.entry.js +3 -3
  476. package/dist/esm/rtk-participants-audio.entry.js +2 -2
  477. package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
  478. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  479. package/dist/esm/rtk-participants.entry.js +3 -3
  480. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  481. package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
  482. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  483. package/dist/esm/rtk-plugins_2.entry.js +2 -2
  484. package/dist/esm/rtk-poll_2.entry.js +2 -2
  485. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  486. package/dist/esm/rtk-recording-indicator.entry.js +2 -2
  487. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  488. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  489. package/dist/esm/rtk-screenshare-view.entry.js +2 -2
  490. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  491. package/dist/esm/rtk-settings-toggle.entry.js +2 -2
  492. package/dist/esm/rtk-settings.entry.js +2 -2
  493. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  494. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  495. package/dist/esm/rtk-sidebar.entry.js +3 -3
  496. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  497. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  498. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  499. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  500. package/dist/esm/rtk-stage.entry.js +2 -2
  501. package/dist/esm/rtk-transcript.entry.js +2 -2
  502. package/dist/esm/rtk-transcripts.entry.js +2 -2
  503. package/dist/esm/rtk-ui-provider.entry.js +2 -2
  504. package/dist/esm/rtk-waiting-screen.entry.js +2 -2
  505. package/dist/esm/{sidebar-11ec6514.js → sidebar-76cae1f0.js} +1 -1
  506. package/dist/esm/{ui-store-db94a9fe.js → ui-store-2965ff1a.js} +73 -79
  507. package/dist/realtimekit-ui/index.esm.js +1 -1
  508. package/dist/realtimekit-ui/{p-b8b1abc1.entry.js → p-00b5bdeb.entry.js} +1 -1
  509. package/dist/realtimekit-ui/{p-83cc0429.entry.js → p-0266e82b.entry.js} +1 -1
  510. package/dist/realtimekit-ui/{p-c83bb4db.entry.js → p-0979ba30.entry.js} +1 -1
  511. package/dist/realtimekit-ui/{p-6fd30714.entry.js → p-0ab52f70.entry.js} +1 -1
  512. package/dist/realtimekit-ui/{p-1c0dc0e4.entry.js → p-0b93c12d.entry.js} +1 -1
  513. package/dist/realtimekit-ui/p-1185eec6.entry.js +1 -0
  514. package/dist/realtimekit-ui/{p-141c5a96.js → p-145caa6b.js} +1 -1
  515. package/dist/realtimekit-ui/{p-ded15279.entry.js → p-1f328e83.entry.js} +1 -1
  516. package/dist/realtimekit-ui/{p-cbcb71ff.entry.js → p-22313959.entry.js} +1 -1
  517. package/dist/realtimekit-ui/{p-b6b382fb.js → p-2318c3af.js} +1 -1
  518. package/dist/realtimekit-ui/{p-09c73782.js → p-2799d5b2.js} +1 -1
  519. package/dist/realtimekit-ui/{p-2158fcad.js → p-2857144e.js} +1 -1
  520. package/dist/realtimekit-ui/{p-b026c868.entry.js → p-2aa2727b.entry.js} +1 -1
  521. package/dist/realtimekit-ui/{p-2e3dfcc9.entry.js → p-2d09aeb4.entry.js} +1 -1
  522. package/dist/realtimekit-ui/{p-99b12b35.entry.js → p-2d6c5160.entry.js} +1 -1
  523. package/dist/realtimekit-ui/{p-f79c9388.entry.js → p-2d729cec.entry.js} +1 -1
  524. package/dist/realtimekit-ui/{p-bcd4a3a3.entry.js → p-2dc496f0.entry.js} +1 -1
  525. package/dist/realtimekit-ui/{p-36ac26b8.entry.js → p-3144bec3.entry.js} +1 -1
  526. package/dist/realtimekit-ui/{p-8191b1a0.entry.js → p-3263d76d.entry.js} +1 -1
  527. package/dist/realtimekit-ui/{p-388ea8ba.entry.js → p-34350578.entry.js} +1 -1
  528. package/dist/realtimekit-ui/p-34c90f1c.entry.js +1 -0
  529. package/dist/realtimekit-ui/{p-c878323a.entry.js → p-35b87831.entry.js} +1 -1
  530. package/dist/realtimekit-ui/{p-13b16cf1.entry.js → p-368420fc.entry.js} +1 -1
  531. package/dist/realtimekit-ui/{p-3a58bc75.entry.js → p-39d0ad4d.entry.js} +1 -1
  532. package/dist/realtimekit-ui/{p-695de0a5.entry.js → p-404207e0.entry.js} +1 -1
  533. package/dist/realtimekit-ui/{p-d403ae25.entry.js → p-47d8e5c8.entry.js} +1 -1
  534. package/dist/realtimekit-ui/{p-73eccbf9.entry.js → p-47e89714.entry.js} +1 -1
  535. package/dist/realtimekit-ui/{p-cfaf19a1.entry.js → p-4b62d6f9.entry.js} +1 -1
  536. package/dist/realtimekit-ui/{p-b0debce4.js → p-4ea418c9.js} +1 -1
  537. package/dist/realtimekit-ui/{p-66923aef.entry.js → p-51a8a9e5.entry.js} +1 -1
  538. package/dist/realtimekit-ui/{p-02af251d.entry.js → p-53ffaa9f.entry.js} +1 -1
  539. package/dist/realtimekit-ui/{p-850768a7.entry.js → p-543dcdc1.entry.js} +1 -1
  540. package/dist/realtimekit-ui/{p-5e4404d2.entry.js → p-55f181be.entry.js} +1 -1
  541. package/dist/realtimekit-ui/{p-9aa52462.entry.js → p-560fc162.entry.js} +1 -1
  542. package/dist/realtimekit-ui/{p-02e2abe9.entry.js → p-5cb4f925.entry.js} +1 -1
  543. package/dist/realtimekit-ui/{p-38c285b6.entry.js → p-616f3a25.entry.js} +1 -1
  544. package/dist/realtimekit-ui/{p-04057bfb.entry.js → p-62949a7d.entry.js} +1 -1
  545. package/dist/realtimekit-ui/{p-5c7cacf3.entry.js → p-6334ca51.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-6d0a4f84.entry.js → p-6495f016.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-24e68e61.entry.js → p-64aa0fae.entry.js} +1 -1
  548. package/dist/realtimekit-ui/{p-8aa0ba79.entry.js → p-77f71d40.entry.js} +1 -1
  549. package/dist/realtimekit-ui/{p-2735b1d8.entry.js → p-7f896d33.entry.js} +1 -1
  550. package/dist/realtimekit-ui/{p-601b236f.entry.js → p-7fab2c53.entry.js} +1 -1
  551. package/dist/realtimekit-ui/{p-6d2d135b.entry.js → p-7fbca8d1.entry.js} +1 -1
  552. package/dist/realtimekit-ui/p-8046e263.js +1 -0
  553. package/dist/realtimekit-ui/{p-6602bcb7.entry.js → p-81d1334c.entry.js} +1 -1
  554. package/dist/realtimekit-ui/{p-ba7da0d6.entry.js → p-83a8cd29.entry.js} +1 -1
  555. package/dist/realtimekit-ui/{p-1667420d.entry.js → p-95ab3abe.entry.js} +1 -1
  556. package/dist/realtimekit-ui/{p-9e75367a.entry.js → p-9ac89beb.entry.js} +1 -1
  557. package/dist/realtimekit-ui/{p-0ee296a5.entry.js → p-9b6d809b.entry.js} +1 -1
  558. package/dist/realtimekit-ui/{p-7f6469ed.entry.js → p-9ba26c9f.entry.js} +1 -1
  559. package/dist/realtimekit-ui/{p-4bc037d7.entry.js → p-a449b5cd.entry.js} +1 -1
  560. package/dist/realtimekit-ui/{p-433b1cf8.entry.js → p-a55863be.entry.js} +1 -1
  561. package/dist/realtimekit-ui/{p-02c21f58.entry.js → p-a7ba0456.entry.js} +1 -1
  562. package/dist/realtimekit-ui/{p-5c98d979.entry.js → p-ac1ff0f8.entry.js} +1 -1
  563. package/dist/realtimekit-ui/{p-30f406f2.entry.js → p-b2b8b421.entry.js} +1 -1
  564. package/dist/realtimekit-ui/{p-c2ee481a.entry.js → p-b6c83f82.entry.js} +1 -1
  565. package/dist/realtimekit-ui/{p-d369eb4f.entry.js → p-bad807c1.entry.js} +1 -1
  566. package/dist/realtimekit-ui/{p-3950823a.entry.js → p-bfd7cd5a.entry.js} +1 -1
  567. package/dist/realtimekit-ui/{p-d3717b05.entry.js → p-bfed80f3.entry.js} +1 -1
  568. package/dist/realtimekit-ui/{p-af6545ce.entry.js → p-c1d92065.entry.js} +1 -1
  569. package/dist/realtimekit-ui/{p-87bc8bbd.js → p-c6c86fd8.js} +1 -1
  570. package/dist/realtimekit-ui/{p-fd9eecef.entry.js → p-d7a5c237.entry.js} +1 -1
  571. package/dist/realtimekit-ui/{p-e32f2f7d.entry.js → p-db9dd8ea.entry.js} +1 -1
  572. package/dist/realtimekit-ui/{p-e8b1dd81.entry.js → p-dfa4a588.entry.js} +1 -1
  573. package/dist/realtimekit-ui/{p-a3fb7ff3.entry.js → p-e0dd5f79.entry.js} +1 -1
  574. package/dist/realtimekit-ui/{p-94478817.entry.js → p-e24289b8.entry.js} +1 -1
  575. package/dist/realtimekit-ui/{p-7adbebd6.entry.js → p-e32c13e0.entry.js} +1 -1
  576. package/dist/realtimekit-ui/{p-8ce4ce1e.entry.js → p-e65d2f04.entry.js} +1 -1
  577. package/dist/realtimekit-ui/{p-68b7d8b8.entry.js → p-e6f1e6aa.entry.js} +1 -1
  578. package/dist/realtimekit-ui/{p-2e91528d.entry.js → p-e7a89e24.entry.js} +1 -1
  579. package/dist/realtimekit-ui/{p-008ff55b.entry.js → p-ead8970b.entry.js} +1 -1
  580. package/dist/realtimekit-ui/{p-2ce32db5.entry.js → p-f16345d6.entry.js} +1 -1
  581. package/dist/realtimekit-ui/{p-55db56a1.entry.js → p-f1ab4672.entry.js} +1 -1
  582. package/dist/realtimekit-ui/{p-f51eda1c.entry.js → p-f3998c17.entry.js} +1 -1
  583. package/dist/realtimekit-ui/{p-f547518b.entry.js → p-f5560043.entry.js} +1 -1
  584. package/dist/realtimekit-ui/{p-e2a6c7ca.entry.js → p-f5a3ccc0.entry.js} +1 -1
  585. package/dist/realtimekit-ui/{p-fdb4f92c.js → p-fa2ee341.js} +1 -1
  586. package/dist/realtimekit-ui/{p-072435bb.entry.js → p-ff19ee1e.entry.js} +1 -1
  587. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  588. package/dist/types/utils/flags.d.ts +15 -0
  589. package/package.json +1 -1
  590. package/dist/realtimekit-ui/p-4ec9d2bb.entry.js +0 -1
  591. package/dist/realtimekit-ui/p-5e510bd4.entry.js +0 -1
  592. package/dist/realtimekit-ui/p-89ebff3d.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as e,H as i}from"./p-0ee570cd.js";import{e as o,h as r}from"./p-89ebff3d.js";import{S as n}from"./p-09c73782.js";var s=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const a=class{constructor(e){t(this,e),this.iconPack=o,this.t=r()}render(){var t;const o=null===(t=this.meeting)||void 0===t?void 0:t.meta.meetingTitle;return null==o?e(i,{"data-hidden":!0}):e(i,{role:"banner","aria-label":o},e("rtk-tooltip",{label:o,part:"tooltip"},e("div",{class:"title",part:"title"},o)))}};s([n()],a.prototype,"meeting",void 0),s([n()],a.prototype,"iconPack",void 0),s([n()],a.prototype,"t",void 0),a.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:16px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}:host([data-hidden]){display:none}.title{text-align:center;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}:host([size='sm']){font-size:12px}";export{a as rtk_meeting_title}
1
+ import{r as t,h as e,H as i}from"./p-0ee570cd.js";import{e as o,h as r}from"./p-8046e263.js";import{S as n}from"./p-2799d5b2.js";var s=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const a=class{constructor(e){t(this,e),this.iconPack=o,this.t=r()}render(){var t;const o=null===(t=this.meeting)||void 0===t?void 0:t.meta.meetingTitle;return null==o?e(i,{"data-hidden":!0}):e(i,{role:"banner","aria-label":o},e("rtk-tooltip",{label:o,part:"tooltip"},e("div",{class:"title",part:"title"},o)))}};s([n()],a.prototype,"meeting",void 0),s([n()],a.prototype,"iconPack",void 0),s([n()],a.prototype,"t",void 0),a.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:16px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}:host([data-hidden]){display:none}.title{text-align:center;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}:host([size='sm']){font-size:12px}";export{a as rtk_meeting_title}
@@ -1 +1 @@
1
- import{h as r}from"./p-0ee570cd.js";import{M as e,j as n,s,f as t}from"./p-b6b382fb.js";const l=e=>e.map((e=>{switch(e.type){case"a":if("string"==typeof e.content)return r("a",{class:"link",href:n=e.content,target:"_blank",rel:"noopener noreferrer"},n);case"b":return(e=>r("b",null,"string"==typeof e?e:l(e)))(e.content);case"i":return(e=>r("i",null,"string"==typeof e?e:l(e)))(e.content);case"s":return(e=>"string"==typeof e?r("s",null,e):r("b",null,l(e)))(e.content);case"q":return r("span",{class:"block-quote"});default:return(e=>"string"==typeof e?e:r("p",null,l(e)))(e.content)}var n})),o=({message:o})=>{const u=o.slice(0,e),a=n(u,!0),p=s(u);return r("p",null,0!==a.length&&r("blockquote",null,a.split("\n").map((e=>{const n=t(e);return r("p",null,l(n))}))),p.split("\n").map((e=>{const n=t(e);return r("p",null,l(n))})))};export{o as T}
1
+ import{h as r}from"./p-0ee570cd.js";import{M as e,j as n,s,f as t}from"./p-2318c3af.js";const l=e=>e.map((e=>{switch(e.type){case"a":if("string"==typeof e.content)return r("a",{class:"link",href:n=e.content,target:"_blank",rel:"noopener noreferrer"},n);case"b":return(e=>r("b",null,"string"==typeof e?e:l(e)))(e.content);case"i":return(e=>r("i",null,"string"==typeof e?e:l(e)))(e.content);case"s":return(e=>"string"==typeof e?r("s",null,e):r("b",null,l(e)))(e.content);case"q":return r("span",{class:"block-quote"});default:return(e=>"string"==typeof e?e:r("p",null,l(e)))(e.content)}var n})),a=({message:a})=>{const o=a.slice(0,e),u=n(o,!0),c=s(o);return r("p",null,0!==u.length&&r("blockquote",null,u.split("\n").map((e=>{const n=t(e);return r("p",null,l(n))}))),c.split("\n").map((e=>{const n=t(e);return r("p",null,l(n))})))};export{a as T}
@@ -1 +1 @@
1
- import{r as t,c as e,h as r,H as o}from"./p-0ee570cd.js";import{e as a,h as c}from"./p-89ebff3d.js";import{S as i}from"./p-09c73782.js";var s=function(t,e,r,o){var a,c=arguments.length,i=c<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(i=(c<3?a(i):c>3?a(e,r,i):a(e,r))||i);return c>3&&i&&Object.defineProperty(e,r,i),i};const n=class{constructor(r){t(this,r),this.onDropCallback=e(this,"dropCallback",7),this.iconPack=a,this.t=c(),this.dropzoneActivated=!1}connectedCallback(){if(!this.hostEl)throw new Error("hostEl prop is required");this.hostEl.addEventListener("dragover",(t=>{t.preventDefault(),this.dropzoneActivated=!0})),this.hostEl.addEventListener("dragleave",(()=>{this.dropzoneActivated=!1})),this.hostEl.addEventListener("drop",(t=>{t.preventDefault(),this.dropzoneActivated=!1,this.onDropCallback.emit(t)}))}render(){return r(o,{key:"b48025cbb3461f9eb95eb3731d3cf0e0b7c370c7"},r("div",{key:"00112e25f54a6b0a1c66530abcf232bf553d02d2",id:"dropzone",class:{active:this.dropzoneActivated},part:"dropzone"},r("rtk-icon",{key:"57b13d941c10854e3144d6107135e610734ed9f1",icon:this.iconPack.attach}),r("p",{key:"5f803ce1f2938255b865a6b905658463f6870060"},this.t("chat.send_attachment"))))}};s([i()],n.prototype,"iconPack",void 0),s([i()],n.prototype,"t",void 0),n.style="#dropzone{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:10;display:none;flex-direction:column;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}#dropzone.active{display:flex;animation:0.2s slide-up ease-in}";export{n as rtk_file_dropzone}
1
+ import{r as t,c as e,h as r,H as o}from"./p-0ee570cd.js";import{e as a,h as i}from"./p-8046e263.js";import{S as c}from"./p-2799d5b2.js";var s=function(t,e,r,o){var a,i=arguments.length,c=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,r,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(c=(i<3?a(c):i>3?a(e,r,c):a(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c};const n=class{constructor(r){t(this,r),this.onDropCallback=e(this,"dropCallback",7),this.iconPack=a,this.t=i(),this.dropzoneActivated=!1}connectedCallback(){if(!this.hostEl)throw new Error("hostEl prop is required");this.hostEl.addEventListener("dragover",(t=>{t.preventDefault(),this.dropzoneActivated=!0})),this.hostEl.addEventListener("dragleave",(()=>{this.dropzoneActivated=!1})),this.hostEl.addEventListener("drop",(t=>{t.preventDefault(),this.dropzoneActivated=!1,this.onDropCallback.emit(t)}))}render(){return r(o,{key:"b48025cbb3461f9eb95eb3731d3cf0e0b7c370c7"},r("div",{key:"00112e25f54a6b0a1c66530abcf232bf553d02d2",id:"dropzone",class:{active:this.dropzoneActivated},part:"dropzone"},r("rtk-icon",{key:"57b13d941c10854e3144d6107135e610734ed9f1",icon:this.iconPack.attach}),r("p",{key:"5f803ce1f2938255b865a6b905658463f6870060"},this.t("chat.send_attachment"))))}};s([c()],n.prototype,"iconPack",void 0),s([c()],n.prototype,"t",void 0),n.style="#dropzone{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:10;display:none;flex-direction:column;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}#dropzone.active{display:flex;animation:0.2s slide-up ease-in}";export{n as rtk_file_dropzone}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as e}from"./p-0ee570cd.js";import{e as a,h as o}from"./p-89ebff3d.js";import{d as n}from"./p-2158fcad.js";import{S as r}from"./p-09c73782.js";var l=function(t,i,s,e){var a,o=arguments.length,n=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(n=(o<3?a(n):o>3?a(i,s,n):a(i,s))||n);return o>3&&n&&Object.defineProperty(i,s,n),n};const h=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o(),this.pollsActive=!1,this.unreadPollsCount=0,this.canViewPolls=!1,this.onPollsUpdate=({newPoll:t})=>{!0===t&&(this.unreadPollsCount+=1)},this.updateCanView=()=>{this.canViewPolls=n(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,i,s,e,a,o;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.polls)||void 0===i||i.removeListener("pollsUpdate",this.onPollsUpdate),null===(e=null===(s=this.meeting)||void 0===s?void 0:s.self)||void 0===e||e.permissions.removeListener("pollsUpdate",this.updateCanView),null===(o=null===(a=this.meeting)||void 0===a?void 0:a.stage)||void 0===o||o.removeListener("stageStatusUpdate",this.updateCanView)}meetingChanged(t){var i,s;t&&t.polls&&(this.unreadPollsCount=t.polls.items.length,this.meeting.polls.addListener("pollsUpdate",this.onPollsUpdate),null===(i=null==t?void 0:t.self)||void 0===i||i.permissions.addListener("pollsUpdate",this.updateCanView),this.canViewPolls=n(t),null===(s=null==t?void 0:t.stage)||void 0===s||s.on("stageStatusUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.pollsActive=!0===t.activeSidebar&&"polls"===t.sidebar)}togglePollsTab(){const t=this.states;this.unreadPollsCount=0,this.pollsActive=!((null==t?void 0:t.activeSidebar)&&"polls"===(null==t?void 0:t.sidebar)),this.stateUpdate.emit({activeSidebar:this.pollsActive,sidebar:this.pollsActive?"polls":void 0,activeMoreMenu:!1,activeAI:!1})}handlePollsActiveChange(){this.pollsActive||this.states.activeSidebar||this.buttonEl.focus()}render(){if(!this.canViewPolls)return s(e,{"data-hidden":!0});const t=this.t("polls");return s(e,{title:t},0!==this.unreadPollsCount&&!this.pollsActive&&s("div",{class:"unread-count",part:"unread-count"},s("span",null,this.unreadPollsCount<=100?this.unreadPollsCount:"99+")),s("rtk-controlbar-button",{ref:t=>this.buttonEl=t,part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.pollsActive},onClick:()=>this.togglePollsTab(),icon:this.iconPack.poll,label:t,variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"],pollsActive:["handlePollsActiveChange"]}}};l([r()],h.prototype,"meeting",void 0),l([r()],h.prototype,"states",void 0),l([r()],h.prototype,"iconPack",void 0),l([r()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block}:host([data-hidden]){display:none}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;transform:translateY(-50%)}";export{h as rtk_polls_toggle}
1
+ import{r as t,c as i,h as s,H as e}from"./p-0ee570cd.js";import{e as a,h as o}from"./p-8046e263.js";import{d as n}from"./p-2857144e.js";import{S as r}from"./p-2799d5b2.js";var l=function(t,i,s,e){var a,o=arguments.length,n=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(n=(o<3?a(n):o>3?a(i,s,n):a(i,s))||n);return o>3&&n&&Object.defineProperty(i,s,n),n};const h=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o(),this.pollsActive=!1,this.unreadPollsCount=0,this.canViewPolls=!1,this.onPollsUpdate=({newPoll:t})=>{!0===t&&(this.unreadPollsCount+=1)},this.updateCanView=()=>{this.canViewPolls=n(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,i,s,e,a,o;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.polls)||void 0===i||i.removeListener("pollsUpdate",this.onPollsUpdate),null===(e=null===(s=this.meeting)||void 0===s?void 0:s.self)||void 0===e||e.permissions.removeListener("pollsUpdate",this.updateCanView),null===(o=null===(a=this.meeting)||void 0===a?void 0:a.stage)||void 0===o||o.removeListener("stageStatusUpdate",this.updateCanView)}meetingChanged(t){var i,s;t&&t.polls&&(this.unreadPollsCount=t.polls.items.length,this.meeting.polls.addListener("pollsUpdate",this.onPollsUpdate),null===(i=null==t?void 0:t.self)||void 0===i||i.permissions.addListener("pollsUpdate",this.updateCanView),this.canViewPolls=n(t),null===(s=null==t?void 0:t.stage)||void 0===s||s.on("stageStatusUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.pollsActive=!0===t.activeSidebar&&"polls"===t.sidebar)}togglePollsTab(){const t=this.states;this.unreadPollsCount=0,this.pollsActive=!((null==t?void 0:t.activeSidebar)&&"polls"===(null==t?void 0:t.sidebar)),this.stateUpdate.emit({activeSidebar:this.pollsActive,sidebar:this.pollsActive?"polls":void 0,activeMoreMenu:!1,activeAI:!1})}handlePollsActiveChange(){this.pollsActive||this.states.activeSidebar||this.buttonEl.focus()}render(){if(!this.canViewPolls)return s(e,{"data-hidden":!0});const t=this.t("polls");return s(e,{title:t},0!==this.unreadPollsCount&&!this.pollsActive&&s("div",{class:"unread-count",part:"unread-count"},s("span",null,this.unreadPollsCount<=100?this.unreadPollsCount:"99+")),s("rtk-controlbar-button",{ref:t=>this.buttonEl=t,part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.pollsActive},onClick:()=>this.togglePollsTab(),icon:this.iconPack.poll,label:t,variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"],pollsActive:["handlePollsActiveChange"]}}};l([r()],h.prototype,"meeting",void 0),l([r()],h.prototype,"states",void 0),l([r()],h.prototype,"iconPack",void 0),l([r()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block}:host([data-hidden]){display:none}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;transform:translateY(-50%)}";export{h as rtk_polls_toggle}
@@ -1 +1 @@
1
- import{r as t,w as s,h as i}from"./p-0ee570cd.js";import{e as r}from"./p-89ebff3d.js";import{S as e}from"./p-09c73782.js";import{d as h}from"./p-fdb4f92c.js";const a=class{constructor(i){t(this,i),this.visibleItemsCount=20,this.estimateItemSize=100,this.iconPack=r,this.isFetching=!1,this.autoScroll=!0,this.totalHeight=0,this.sizes=new Map,this.lastScrollTop=0,this.scrollToBottomRetries=0,this.elementObserver=(()=>{let t=null;const s=()=>t||("undefined"!=typeof ResizeObserver?t=new ResizeObserver((t=>{t.forEach((t=>{this.measureElement(t.target,t)}))})):null);return{disconnect:()=>{var t;return null===(t=s())||void 0===t?void 0:t.disconnect()},observe:t=>{var i;return null===(i=s())||void 0===i?void 0:i.observe(t,{box:"border-box"})},unobserve:t=>{var i;return null===(i=s())||void 0===i?void 0:i.unobserve(t)}}})(),this.measureElement=(t,s)=>{if(!t)return;const i=t.dataset.id;if(this.sizes.has(i))return void this.elementObserver.unobserve(t);if(s){const r=s.borderBoxSize[0];if(r&&r.blockSize>0)return this.saveItemSize(i,r.blockSize),void this.elementObserver.unobserve(t)}const r=t.getBoundingClientRect();r.height>0&&this.saveItemSize(i,r.height)},this.getVisibleItems=()=>this.messages.slice(this.range.start,this.range.end+1),this.updateVisibleItems=(t,s)=>{const i=this.messages.length;let r=t,e=s;i<=this.visibleItemsCount?(r=0,e=i-1):s-t<this.visibleItemsCount-1&&(r=this.range.end-this.visibleItemsCount+1),this.range.start!==r&&(this.range={start:r,end:e},this.totalHeight=this.getRangeSize(0,i))},this.getEstimatedItemSize=()=>this.estimateItemSize,this.getRangeSize=(t,s)=>{let i=0,r=0;for(let e=t;e<s;e++)r=this.sizes.get(this.messages[e].id),i+=r||this.getEstimatedItemSize();return i},this.getScrollTop=()=>this.$listRef?Math.ceil(this.$listRef.scrollTop):0,this.getClientHeight=()=>this.$listRef?Math.ceil(this.$listRef.clientHeight):0,this.getScrollHeight=()=>this.$listRef?Math.ceil(this.$listRef.scrollHeight):0,this.getItemsScrolled=()=>{const t=this.lastScrollTop;if(t<=0)return 0;let s=0,i=0,r=0,e=this.messages.length;for(;s<=e;){if(i=s+e>>>1,r=this.getRangeSize(0,i),r===t)return i;r<t?s=i+1:r>t&&(e=i-1)}return s>0?--s:0},this.getEndByStart=t=>Math.min(t+this.visibleItemsCount,this.messages.length-1),this.scrollToOffset=t=>{this.$listRef&&(this.$listRef.scrollTop=t)},this.scrollToIndex=t=>{if(t>=this.messages.length-1)this.scrollToBottom();else{const s=t<1?0:this.getRangeSize(0,t);this.scrollToOffset(s)}},this.scrollToBottom=()=>{this.$listEndRef&&s((()=>{this.$listEndRef.scrollIntoView(),this.getScrollHeight()-(this.getScrollTop()+this.getClientHeight())>0&&this.scrollToBottomRetries<10?setTimeout((()=>{this.scrollToBottom()}),1e3/60):(this.scrollToBottomRetries=0,this.autoScroll=!0)}))},this.handleScroll=async()=>{if(this.isFetching)return;const t=this.getScrollTop(),s=t<this.lastScrollTop||0===t?"UP":"DOWN";if(this.lastScrollTop=t,this.loadMore&&0===t&&"UP"===s&&!1===this.isFetching){this.isFetching=!0;const t=await this.loadMore(this.messages[0]);t&&t.length&&(this.messages=[...t,...this.messages]),this.isFetching=!1}"UP"===s?this.handleTop():"DOWN"===s&&this.handleBottom()},this.handleTop=()=>{const t=this.getItemsScrolled();if(t<=this.range.end-5&&(this.autoScroll=!1),t>this.range.start+5)return;const s=Math.max(this.range.start-5,0);this.updateVisibleItems(s,this.getEndByStart(s))},this.handleBottom=()=>{if(this.getItemsScrolled()<this.range.start+5)return;const t=this.range.start+5,s=this.getEndByStart(t);this.updateVisibleItems(s===this.messages.length-1?s-this.visibleItemsCount:t,s)},this.updateTotalHeight=h((()=>{this.totalHeight=this.getRangeSize(0,this.messages.length)}),1e3/30,{leading:!0}),this.rendererInternal=(t,s,i)=>{if(!t)return;if(t.dataset.id===s.id)return;const r=this.renderer(s,i);t.hasChildNodes&&(t.innerHTML=""),this.elementObserver.observe(t),t.dataset.id=s.id,t.appendChild(r)}}connectedCallback(){const t=this.messages.length-1;this.range={start:t-this.visibleItemsCount,end:t},this.updateVisibleItems(this.range.start,this.range.end),this.totalHeight=this.getRangeSize(0,t)}componentDidLoad(){this.autoScroll&&this.scrollToBottom()}messagesUpdated(t,s){if(t.length>s.length){const i=t.length-s.length;this.updateVisibleItems(i,this.getEndByStart(i)),this.scrollToIndex(this.range.start)}}saveItemSize(t,s){this.sizes.set(t,Math.round(s)),this.updateTotalHeight()}render(){return i("div",{key:"4da03366f085b87729d946b1633d031e4656f2ac",class:"scrollbar content-wrapper",ref:t=>this.$listRef=t,onScroll:this.handleScroll},i("div",{key:"7a8268e8a3d5326d359f4722c341e6487e1f21f6",class:"scroller"},i("div",{key:"b856c5ec8c602963ab9bd74e9838b4ce6bf05f85",style:{height:`${this.totalHeight}px`}}),i("div",{key:"a7fe4267408199ffe0f81b56c00f3dffb5e2e59f",class:"smallest-dom-element",id:"list-end",ref:t=>this.$listEndRef=t})),i("div",{key:"bcd29a59a370c975ab344cabeefdd7ce905f37fe",class:"content",style:{transform:`translateY(${this.getRangeSize(0,this.range.start)}px)`}},this.isFetching&&i("div",{key:"6529fdc824381737d75e489f262dcf90bd12e186",class:"loader"},i("rtk-spinner",{key:"8785a6b44007f8ce834639b5e6ae9221a6df704c",size:"md"})),this.getVisibleItems().map(((t,s)=>i("div",{key:t.id,ref:i=>this.rendererInternal(i,t,s)})))))}static get watchers(){return{messages:["messagesUpdated"]}}};(function(t,s,i,r){var e,h=arguments.length,a=h<3?s:null===r?r=Object.getOwnPropertyDescriptor(s,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,r);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(h<3?e(a):h>3?e(s,i,a):e(s,i))||a);h>3&&a&&Object.defineProperty(s,i,a)})([e()],a.prototype,"iconPack",void 0),a.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}.loading{cursor:wait}.content-wrapper{height:100%;overflow-y:auto;position:relative;contain:strict}.scroller{width:1px;opacity:0}.content{position:absolute;top:0;width:100%}.smallest-dom-element{width:100%;height:2px;background:red}.loader{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;justify-content:center}";export{a as rtk_message_list_view}
1
+ import{r as t,w as s,h as i}from"./p-0ee570cd.js";import{e as r}from"./p-8046e263.js";import{S as e}from"./p-2799d5b2.js";import{d as h}from"./p-fa2ee341.js";const a=class{constructor(i){t(this,i),this.visibleItemsCount=20,this.estimateItemSize=100,this.iconPack=r,this.isFetching=!1,this.autoScroll=!0,this.totalHeight=0,this.sizes=new Map,this.lastScrollTop=0,this.scrollToBottomRetries=0,this.elementObserver=(()=>{let t=null;const s=()=>t||("undefined"!=typeof ResizeObserver?t=new ResizeObserver((t=>{t.forEach((t=>{this.measureElement(t.target,t)}))})):null);return{disconnect:()=>{var t;return null===(t=s())||void 0===t?void 0:t.disconnect()},observe:t=>{var i;return null===(i=s())||void 0===i?void 0:i.observe(t,{box:"border-box"})},unobserve:t=>{var i;return null===(i=s())||void 0===i?void 0:i.unobserve(t)}}})(),this.measureElement=(t,s)=>{if(!t)return;const i=t.dataset.id;if(this.sizes.has(i))return void this.elementObserver.unobserve(t);if(s){const r=s.borderBoxSize[0];if(r&&r.blockSize>0)return this.saveItemSize(i,r.blockSize),void this.elementObserver.unobserve(t)}const r=t.getBoundingClientRect();r.height>0&&this.saveItemSize(i,r.height)},this.getVisibleItems=()=>this.messages.slice(this.range.start,this.range.end+1),this.updateVisibleItems=(t,s)=>{const i=this.messages.length;let r=t,e=s;i<=this.visibleItemsCount?(r=0,e=i-1):s-t<this.visibleItemsCount-1&&(r=this.range.end-this.visibleItemsCount+1),this.range.start!==r&&(this.range={start:r,end:e},this.totalHeight=this.getRangeSize(0,i))},this.getEstimatedItemSize=()=>this.estimateItemSize,this.getRangeSize=(t,s)=>{let i=0,r=0;for(let e=t;e<s;e++)r=this.sizes.get(this.messages[e].id),i+=r||this.getEstimatedItemSize();return i},this.getScrollTop=()=>this.$listRef?Math.ceil(this.$listRef.scrollTop):0,this.getClientHeight=()=>this.$listRef?Math.ceil(this.$listRef.clientHeight):0,this.getScrollHeight=()=>this.$listRef?Math.ceil(this.$listRef.scrollHeight):0,this.getItemsScrolled=()=>{const t=this.lastScrollTop;if(t<=0)return 0;let s=0,i=0,r=0,e=this.messages.length;for(;s<=e;){if(i=s+e>>>1,r=this.getRangeSize(0,i),r===t)return i;r<t?s=i+1:r>t&&(e=i-1)}return s>0?--s:0},this.getEndByStart=t=>Math.min(t+this.visibleItemsCount,this.messages.length-1),this.scrollToOffset=t=>{this.$listRef&&(this.$listRef.scrollTop=t)},this.scrollToIndex=t=>{if(t>=this.messages.length-1)this.scrollToBottom();else{const s=t<1?0:this.getRangeSize(0,t);this.scrollToOffset(s)}},this.scrollToBottom=()=>{this.$listEndRef&&s((()=>{this.$listEndRef.scrollIntoView(),this.getScrollHeight()-(this.getScrollTop()+this.getClientHeight())>0&&this.scrollToBottomRetries<10?setTimeout((()=>{this.scrollToBottom()}),1e3/60):(this.scrollToBottomRetries=0,this.autoScroll=!0)}))},this.handleScroll=async()=>{if(this.isFetching)return;const t=this.getScrollTop(),s=t<this.lastScrollTop||0===t?"UP":"DOWN";if(this.lastScrollTop=t,this.loadMore&&0===t&&"UP"===s&&!1===this.isFetching){this.isFetching=!0;const t=await this.loadMore(this.messages[0]);t&&t.length&&(this.messages=[...t,...this.messages]),this.isFetching=!1}"UP"===s?this.handleTop():"DOWN"===s&&this.handleBottom()},this.handleTop=()=>{const t=this.getItemsScrolled();if(t<=this.range.end-5&&(this.autoScroll=!1),t>this.range.start+5)return;const s=Math.max(this.range.start-5,0);this.updateVisibleItems(s,this.getEndByStart(s))},this.handleBottom=()=>{if(this.getItemsScrolled()<this.range.start+5)return;const t=this.range.start+5,s=this.getEndByStart(t);this.updateVisibleItems(s===this.messages.length-1?s-this.visibleItemsCount:t,s)},this.updateTotalHeight=h((()=>{this.totalHeight=this.getRangeSize(0,this.messages.length)}),1e3/30,{leading:!0}),this.rendererInternal=(t,s,i)=>{if(!t)return;if(t.dataset.id===s.id)return;const r=this.renderer(s,i);t.hasChildNodes&&(t.innerHTML=""),this.elementObserver.observe(t),t.dataset.id=s.id,t.appendChild(r)}}connectedCallback(){const t=this.messages.length-1;this.range={start:t-this.visibleItemsCount,end:t},this.updateVisibleItems(this.range.start,this.range.end),this.totalHeight=this.getRangeSize(0,t)}componentDidLoad(){this.autoScroll&&this.scrollToBottom()}messagesUpdated(t,s){if(t.length>s.length){const i=t.length-s.length;this.updateVisibleItems(i,this.getEndByStart(i)),this.scrollToIndex(this.range.start)}}saveItemSize(t,s){this.sizes.set(t,Math.round(s)),this.updateTotalHeight()}render(){return i("div",{key:"4da03366f085b87729d946b1633d031e4656f2ac",class:"scrollbar content-wrapper",ref:t=>this.$listRef=t,onScroll:this.handleScroll},i("div",{key:"7a8268e8a3d5326d359f4722c341e6487e1f21f6",class:"scroller"},i("div",{key:"b856c5ec8c602963ab9bd74e9838b4ce6bf05f85",style:{height:`${this.totalHeight}px`}}),i("div",{key:"a7fe4267408199ffe0f81b56c00f3dffb5e2e59f",class:"smallest-dom-element",id:"list-end",ref:t=>this.$listEndRef=t})),i("div",{key:"bcd29a59a370c975ab344cabeefdd7ce905f37fe",class:"content",style:{transform:`translateY(${this.getRangeSize(0,this.range.start)}px)`}},this.isFetching&&i("div",{key:"6529fdc824381737d75e489f262dcf90bd12e186",class:"loader"},i("rtk-spinner",{key:"8785a6b44007f8ce834639b5e6ae9221a6df704c",size:"md"})),this.getVisibleItems().map(((t,s)=>i("div",{key:t.id,ref:i=>this.rendererInternal(i,t,s)})))))}static get watchers(){return{messages:["messagesUpdated"]}}};(function(t,s,i,r){var e,h=arguments.length,a=h<3?s:null===r?r=Object.getOwnPropertyDescriptor(s,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,r);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(h<3?e(a):h>3?e(s,i,a):e(s,i))||a);h>3&&a&&Object.defineProperty(s,i,a)})([e()],a.prototype,"iconPack",void 0),a.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}.loading{cursor:wait}.content-wrapper{height:100%;overflow-y:auto;position:relative;contain:strict}.scroller{width:1px;opacity:0}.content{position:absolute;top:0;width:100%}.smallest-dom-element{width:100%;height:2px;background:red}.loader{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;justify-content:center}";export{a as rtk_message_list_view}
@@ -1 +1 @@
1
- import{r as t,h as r,H as a}from"./p-0ee570cd.js";import{e as i,h as o}from"./p-89ebff3d.js";import{h as s}from"./p-3f882e7c.js";import{S as e}from"./p-09c73782.js";var c=function(t,r,a,i){var o,s=arguments.length,e=s<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,a,i);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(e=(s<3?o(e):s>3?o(r,a,e):o(r,a))||e);return s>3&&e&&Object.defineProperty(r,a,e),e};const n=class{constructor(r){t(this,r),this.iconPack=i,this.t=o(),this.audioEnabled=!1,this.volume=0,this.onAudioUpdate=({audioEnabled:t,audioTrack:r})=>{if(this.participant)if(t&&r){const t=new MediaStream;t.addTrack(r),this.calcVolume(t),this.audioEnabled=!0}else this.volume=0,this.audioEnabled=!1}}connectedCallback(){this.participantChanged(this.participant)}disconnectedCallback(){var t,r;null===(t=this.hark)||void 0===t||t.stop(),null===(r=this.participant)||void 0===r||r.removeListener("audioUpdate",this.onAudioUpdate)}participantChanged(t){t&&(this.audioEnabled=t.audioEnabled,t.addListener("audioUpdate",this.onAudioUpdate))}calcVolume(t){this.hark=s(t,{play:!1,interval:100}),this.hark.on("volume_change",(t=>{const r=this.volume;let a=Math.round(10**(t/115)*10);a<3&&(a=0);let i=Math.round((2*r+a)/3);r!==i&&(this.volume=i)}))}render(){if(!this.meeting)return null;const t={meeting:this.meeting,size:this.size,config:this.config,states:this.states,iconPack:this.iconPack,t:this.t};let o="bar-0";return o=this.volume>5?"bar-5":this.volume<0?"bar-0":"bar-"+this.volume,r(a,null,r("div",{class:{"avatar-ctr":!0,speaking:this.audioEnabled,[o]:!0}},r("rtk-avatar",{participant:this.participant,size:this.size},!this.audioEnabled&&r("div",{class:"mic-icon"},r("rtk-icon",{icon:i.mic_off})))),r("rtk-name-tag",Object.assign({variant:"text",participant:this.participant},t)),r("slot",null))}static get watchers(){return{participant:["participantChanged"]}}};c([e()],n.prototype,"meeting",void 0),c([e()],n.prototype,"config",void 0),c([e()],n.prototype,"states",void 0),c([e()],n.prototype,"iconPack",void 0),c([e()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:flex;flex-direction:column}.avatar-ctr{box-sizing:border-box;width:100%;flex:1 1 0%;padding:var(--rtk-space-1\\.5, 6px);border:2px solid transparent;border-radius:calc(var(--rtk-border-radius-xl, 40px) + var(--rtk-space-1\\.5, 6px))}.avatar-ctr.speaking{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.bar-0{box-shadow:none}.bar-1{box-shadow:0 0 4px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-2{box-shadow:0 0 8px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-3{box-shadow:0 0 16px 1px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-4{box-shadow:0 0 20px 3px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-5{box-shadow:0 0 24px 6px rgb(var(--rtk-colors-brand-500, 33 96 253))}rtk-avatar{aspect-ratio:1 / 1;height:100%;width:100%;position:relative;border-radius:var(--rtk-border-radius-xl, 40px)}rtk-name-tag{display:block;height:var(--rtk-space-10, 40px);width:100%;text-align:center;line-height:2.5rem}:host([size='sm']) .avatar-ctr{border-radius:calc(var(--rtk-border-radius-lg, 12px) + var(--rtk-space-1\\.5, 6px))}:host([size='sm']) rtk-name-tag{height:var(--rtk-space-7, 28px);line-height:1.75rem}:host([size='sm']) rtk-avatar{border-radius:var(--rtk-border-radius-lg, 12px)}.mic-icon{position:absolute;bottom:calc(var(--rtk-space-1, 4px) * -1);right:calc(var(--rtk-space-1, 4px) * -1);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.mic-icon rtk-icon{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}:host([size='sm']) .mic-icon rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}:host([size='md']) .mic-icon rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}";export{n as rtk_audio_tile}
1
+ import{r as t,h as r,H as a}from"./p-0ee570cd.js";import{e as i,h as o}from"./p-8046e263.js";import{h as s}from"./p-3f882e7c.js";import{S as e}from"./p-2799d5b2.js";var c=function(t,r,a,i){var o,s=arguments.length,e=s<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,a,i);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(e=(s<3?o(e):s>3?o(r,a,e):o(r,a))||e);return s>3&&e&&Object.defineProperty(r,a,e),e};const n=class{constructor(r){t(this,r),this.iconPack=i,this.t=o(),this.audioEnabled=!1,this.volume=0,this.onAudioUpdate=({audioEnabled:t,audioTrack:r})=>{if(this.participant)if(t&&r){const t=new MediaStream;t.addTrack(r),this.calcVolume(t),this.audioEnabled=!0}else this.volume=0,this.audioEnabled=!1}}connectedCallback(){this.participantChanged(this.participant)}disconnectedCallback(){var t,r;null===(t=this.hark)||void 0===t||t.stop(),null===(r=this.participant)||void 0===r||r.removeListener("audioUpdate",this.onAudioUpdate)}participantChanged(t){t&&(this.audioEnabled=t.audioEnabled,t.addListener("audioUpdate",this.onAudioUpdate))}calcVolume(t){this.hark=s(t,{play:!1,interval:100}),this.hark.on("volume_change",(t=>{const r=this.volume;let a=Math.round(10**(t/115)*10);a<3&&(a=0);let i=Math.round((2*r+a)/3);r!==i&&(this.volume=i)}))}render(){if(!this.meeting)return null;const t={meeting:this.meeting,size:this.size,config:this.config,states:this.states,iconPack:this.iconPack,t:this.t};let o="bar-0";return o=this.volume>5?"bar-5":this.volume<0?"bar-0":"bar-"+this.volume,r(a,null,r("div",{class:{"avatar-ctr":!0,speaking:this.audioEnabled,[o]:!0}},r("rtk-avatar",{participant:this.participant,size:this.size},!this.audioEnabled&&r("div",{class:"mic-icon"},r("rtk-icon",{icon:i.mic_off})))),r("rtk-name-tag",Object.assign({variant:"text",participant:this.participant},t)),r("slot",null))}static get watchers(){return{participant:["participantChanged"]}}};c([e()],n.prototype,"meeting",void 0),c([e()],n.prototype,"config",void 0),c([e()],n.prototype,"states",void 0),c([e()],n.prototype,"iconPack",void 0),c([e()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:flex;flex-direction:column}.avatar-ctr{box-sizing:border-box;width:100%;flex:1 1 0%;padding:var(--rtk-space-1\\.5, 6px);border:2px solid transparent;border-radius:calc(var(--rtk-border-radius-xl, 40px) + var(--rtk-space-1\\.5, 6px))}.avatar-ctr.speaking{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.bar-0{box-shadow:none}.bar-1{box-shadow:0 0 4px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-2{box-shadow:0 0 8px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-3{box-shadow:0 0 16px 1px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-4{box-shadow:0 0 20px 3px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-5{box-shadow:0 0 24px 6px rgb(var(--rtk-colors-brand-500, 33 96 253))}rtk-avatar{aspect-ratio:1 / 1;height:100%;width:100%;position:relative;border-radius:var(--rtk-border-radius-xl, 40px)}rtk-name-tag{display:block;height:var(--rtk-space-10, 40px);width:100%;text-align:center;line-height:2.5rem}:host([size='sm']) .avatar-ctr{border-radius:calc(var(--rtk-border-radius-lg, 12px) + var(--rtk-space-1\\.5, 6px))}:host([size='sm']) rtk-name-tag{height:var(--rtk-space-7, 28px);line-height:1.75rem}:host([size='sm']) rtk-avatar{border-radius:var(--rtk-border-radius-lg, 12px)}.mic-icon{position:absolute;bottom:calc(var(--rtk-space-1, 4px) * -1);right:calc(var(--rtk-space-1, 4px) * -1);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.mic-icon rtk-icon{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}:host([size='sm']) .mic-icon rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}:host([size='md']) .mic-icon rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}";export{n as rtk_audio_tile}
@@ -1 +1 @@
1
- import{r as t,h as i,H as s,a as e}from"./p-0ee570cd.js";import{c as n,e as o,h as a}from"./p-89ebff3d.js";import{R as h}from"./p-c8eaa707.js";import{u as r}from"./p-b13ddb7d.js";import{i as c}from"./p-f47d4fe8.js";import{S as p}from"./p-09c73782.js";var l=function(t,i,s,e){var n,o=arguments.length,a=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var h=t.length-1;h>=0;h--)(n=t[h])&&(a=(o<3?n(a):o>3?n(i,s,a):n(i,s))||a);return o>3&&a&&Object.defineProperty(i,s,a),a};const d=class{constructor(i){t(this,i),this.participants=[],this.aspectRatio="16:9",this.gap=8,this.config=n(),this.iconPack=o,this.t=a(),this.dimensions={width:0,height:0},this.setHostDimensions=()=>{const{clientWidth:t,clientHeight:i}=this.host;this.dimensions={width:t,height:i}}}connectedCallback(){this.resizeObserver=new c(this.setHostDimensions),this.resizeObserver.observe(this.host),this.meetingChanged(this.meeting)}meetingChanged(t){const i=null==t?void 0:t.meta;i&&(this.mediaConnection=Object.assign({},i.mediaState))}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){if(!this.meeting)return null;const t={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},{width:e,height:n,getPosition:o}=r({dimensions:this.dimensions,count:this.participants.length,aspectRatio:this.aspectRatio,gap:this.gap});return i(s,null,i("slot",null,this.participants.map(((s,a)=>{const{top:r,left:c}=o(a);return i(h,{element:"rtk-participant-tile",defaults:t,props:{participant:s,style:{position:"absolute",top:`${r}px`,left:`${c}px`,width:`${e}px`,height:`${n}px`},key:s.id,"data-participant":s.id,mediaConnection:this.mediaConnection},childProps:{participant:s},deepProps:!0})}))))}get host(){return e(this)}static get watchers(){return{meeting:["meetingChanged"]}}};l([p()],d.prototype,"meeting",void 0),l([p()],d.prototype,"states",void 0),l([p()],d.prototype,"config",void 0),l([p()],d.prototype,"iconPack",void 0),l([p()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block;height:100%;width:100%}";export{d as rtk_simple_grid}
1
+ import{r as t,h as i,H as s,a as e}from"./p-0ee570cd.js";import{c as n,e as o,h as a}from"./p-8046e263.js";import{R as h}from"./p-c8eaa707.js";import{u as r}from"./p-b13ddb7d.js";import{i as c}from"./p-f47d4fe8.js";import{S as p}from"./p-2799d5b2.js";var l=function(t,i,s,e){var n,o=arguments.length,a=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var h=t.length-1;h>=0;h--)(n=t[h])&&(a=(o<3?n(a):o>3?n(i,s,a):n(i,s))||a);return o>3&&a&&Object.defineProperty(i,s,a),a};const d=class{constructor(i){t(this,i),this.participants=[],this.aspectRatio="16:9",this.gap=8,this.config=n(),this.iconPack=o,this.t=a(),this.dimensions={width:0,height:0},this.setHostDimensions=()=>{const{clientWidth:t,clientHeight:i}=this.host;this.dimensions={width:t,height:i}}}connectedCallback(){this.resizeObserver=new c(this.setHostDimensions),this.resizeObserver.observe(this.host),this.meetingChanged(this.meeting)}meetingChanged(t){const i=null==t?void 0:t.meta;i&&(this.mediaConnection=Object.assign({},i.mediaState))}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){if(!this.meeting)return null;const t={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},{width:e,height:n,getPosition:o}=r({dimensions:this.dimensions,count:this.participants.length,aspectRatio:this.aspectRatio,gap:this.gap});return i(s,null,i("slot",null,this.participants.map(((s,a)=>{const{top:r,left:c}=o(a);return i(h,{element:"rtk-participant-tile",defaults:t,props:{participant:s,style:{position:"absolute",top:`${r}px`,left:`${c}px`,width:`${e}px`,height:`${n}px`},key:s.id,"data-participant":s.id,mediaConnection:this.mediaConnection},childProps:{participant:s},deepProps:!0})}))))}get host(){return e(this)}static get watchers(){return{meeting:["meetingChanged"]}}};l([p()],d.prototype,"meeting",void 0),l([p()],d.prototype,"states",void 0),l([p()],d.prototype,"config",void 0),l([p()],d.prototype,"iconPack",void 0),l([p()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block;height:100%;width:100%}";export{d as rtk_simple_grid}
@@ -1 +1 @@
1
- import{r as t,c as i,h as r,H as e}from"./p-0ee570cd.js";import{e as o,h as a,X as s,Y as n}from"./p-89ebff3d.js";import{S as c}from"./p-09c73782.js";var l=function(t,i,r,e){var o,a=arguments.length,s=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,r,s):o(i,r))||s);return a>3&&s&&Object.defineProperty(i,r,s),s};const p=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=a()}render(){var t,i;if(!this.meeting)return null;const o={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},a=this.states,c=!0===(null===(t=null==a?void 0:a.prefs)||void 0===t?void 0:t.muteNotificationSounds)||"true"===s("mute-notification-sounds");return r(e,null,r("rtk-microphone-selector",Object.assign({},o),r("rtk-audio-visualizer",{participant:null===(i=this.meeting)||void 0===i?void 0:i.self,iconPack:this.iconPack,t:this.t,slot:"indicator"})),r("rtk-speaker-selector",Object.assign({},o)),r("div",{class:"group",part:"notification-toggle"},r("div",{class:"row"},r("label",{htmlFor:"notification-toggle"},this.t("settings.notification_sound")),r("rtk-switch",{id:"notification-toggle",checked:!c,onRtkChange:t=>{const{checked:i}=t.target,r=!i;this.stateUpdate.emit({prefs:{muteNotificationSounds:r}}),n("mute-notification-sounds",r)},iconPack:this.iconPack,t:this.t}))))}};l([c()],p.prototype,"meeting",void 0),l([c()],p.prototype,"states",void 0),l([c()],p.prototype,"iconPack",void 0),l([c()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;width:100%;flex-direction:column}audio{visibility:hidden}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.row{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}rtk-audio-visualizer{flex-shrink:0}rtk-button{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}rtk-button rtk-icon{margin-right:var(--rtk-space-2, 8px)}";var d=function(t,i,r,e){var o,a=arguments.length,s=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,r,s):o(i,r))||s);return a>3&&s&&Object.defineProperty(i,r,s),s};const h=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=a(),this.onVideoUpdate=t=>{this.videoEnabled=t.videoEnabled}}componentDidLoad(){this.meetingChanged(this.meeting)}meetingChanged(t){var i;t&&(this.videoEnabled=t.self.videoEnabled,null===(i=t.self)||void 0===i||i.addListener("videoUpdate",this.onVideoUpdate))}disconnectedCallback(){var t;null===(t=this.meeting.self)||void 0===t||t.removeListener("videoUpdate",this.onVideoUpdate)}render(){var t,i,o;if(!this.meeting)return null;const a={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},c=this.states,l=!0===(null===(t=null==c?void 0:c.prefs)||void 0===t?void 0:t.mirrorVideo)||"true"===s("mirror-video");return r(e,null,r("div",{class:"section",part:"tile-preview"},r("div",{class:"group",part:"tile-preview"},!0===this.videoEnabled?r("rtk-participant-tile",{meeting:this.meeting,participant:null===(i=this.meeting)||void 0===i?void 0:i.self,iconPack:this.iconPack,t:this.t,states:c,size:this.size,isPreview:!0}):r("div",{class:"camera-off-helper"},r("rtk-participant-tile",{meeting:this.meeting,participant:null===(o=this.meeting)||void 0===o?void 0:o.self,size:this.size},r("div",null,r("rtk-icon",{id:"icon",icon:this.iconPack.video_off,tabIndex:-1,"aria-hidden":!0}),r("div",null,this.t("settings.camera_off"))))))),r("rtk-camera-selector",Object.assign({},a)),r("div",{class:"group",part:"mirror-toggle"},r("div",{class:"row"},r("label",{htmlFor:"mirror-toggle"},this.t("settings.mirror_video")),r("rtk-switch",{checked:l,iconPack:this.iconPack,t:this.t,onRtkChange:t=>{const{checked:i}=t.target;this.stateUpdate.emit({prefs:{mirrorVideo:i}}),n("mirror-video",i)}}))))}static get watchers(){return{meeting:["meetingChanged"]}}};d([c()],h.prototype,"meeting",void 0),d([c()],h.prototype,"states",void 0),d([c()],h.prototype,"iconPack",void 0),d([c()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.rtk-select{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.rtk-select:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.rtk-select{display:block;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--rtk-space-3, 12px);font-size:16px;--icon-size:var(--rtk-select-chevron-size, var(--rtk-space-6, 24px));--icon-right-position:var(--rtk-select-chevron-right-position, var(--rtk-space-2, 8px));background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-position:right var(--icon-right-position) center;background-repeat:no-repeat;background-size:var(--icon-size) var(--icon-size);padding-right:calc(var(--icon-right-position) * 5)}:host{display:flex;width:100%;flex-direction:column}.rtk-select{width:100%;text-overflow:ellipsis}rtk-participant-tile{margin-left:auto;margin-right:auto;margin-bottom:var(--rtk-space-4, 16px);max-width:100%}#icon{padding-bottom:var(--rtk-space-1, 4px)}.apply-button{height:var(--rtk-space-10, 40px)}label{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.row{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.section{display:flex;flex-direction:column}@media only screen and (max-height: 480px) and (orientation: landscape){:host{flex-direction:row}:host([size='sm']){flex-direction:row}.section[part='tile-preview']{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);max-height:90%;max-width:40%;flex-shrink:1}.section[part='video-settings']{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);flex-grow:1}}";export{p as rtk_settings_audio,h as rtk_settings_video}
1
+ import{r as t,c as i,h as r,H as e}from"./p-0ee570cd.js";import{e as o,h as a,W as s,X as n}from"./p-8046e263.js";import{S as c}from"./p-2799d5b2.js";var l=function(t,i,r,e){var o,a=arguments.length,s=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,r,s):o(i,r))||s);return a>3&&s&&Object.defineProperty(i,r,s),s};const p=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=a()}render(){var t,i;if(!this.meeting)return null;const o={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},a=this.states,c=!0===(null===(t=null==a?void 0:a.prefs)||void 0===t?void 0:t.muteNotificationSounds)||"true"===s("mute-notification-sounds");return r(e,null,r("rtk-microphone-selector",Object.assign({},o),r("rtk-audio-visualizer",{participant:null===(i=this.meeting)||void 0===i?void 0:i.self,iconPack:this.iconPack,t:this.t,slot:"indicator"})),r("rtk-speaker-selector",Object.assign({},o)),r("div",{class:"group",part:"notification-toggle"},r("div",{class:"row"},r("label",{htmlFor:"notification-toggle"},this.t("settings.notification_sound")),r("rtk-switch",{id:"notification-toggle",checked:!c,onRtkChange:t=>{const{checked:i}=t.target,r=!i;this.stateUpdate.emit({prefs:{muteNotificationSounds:r}}),n("mute-notification-sounds",r)},iconPack:this.iconPack,t:this.t}))))}};l([c()],p.prototype,"meeting",void 0),l([c()],p.prototype,"states",void 0),l([c()],p.prototype,"iconPack",void 0),l([c()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;width:100%;flex-direction:column}audio{visibility:hidden}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.row{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}rtk-audio-visualizer{flex-shrink:0}rtk-button{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}rtk-button rtk-icon{margin-right:var(--rtk-space-2, 8px)}";var d=function(t,i,r,e){var o,a=arguments.length,s=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,r,s):o(i,r))||s);return a>3&&s&&Object.defineProperty(i,r,s),s};const h=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=a(),this.onVideoUpdate=t=>{this.videoEnabled=t.videoEnabled}}componentDidLoad(){this.meetingChanged(this.meeting)}meetingChanged(t){var i;t&&(this.videoEnabled=t.self.videoEnabled,null===(i=t.self)||void 0===i||i.addListener("videoUpdate",this.onVideoUpdate))}disconnectedCallback(){var t;null===(t=this.meeting.self)||void 0===t||t.removeListener("videoUpdate",this.onVideoUpdate)}render(){var t,i,o;if(!this.meeting)return null;const a={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},c=this.states,l=!0===(null===(t=null==c?void 0:c.prefs)||void 0===t?void 0:t.mirrorVideo)||"true"===s("mirror-video");return r(e,null,r("div",{class:"section",part:"tile-preview"},r("div",{class:"group",part:"tile-preview"},!0===this.videoEnabled?r("rtk-participant-tile",{meeting:this.meeting,participant:null===(i=this.meeting)||void 0===i?void 0:i.self,iconPack:this.iconPack,t:this.t,states:c,size:this.size,isPreview:!0}):r("div",{class:"camera-off-helper"},r("rtk-participant-tile",{meeting:this.meeting,participant:null===(o=this.meeting)||void 0===o?void 0:o.self,size:this.size},r("div",null,r("rtk-icon",{id:"icon",icon:this.iconPack.video_off,tabIndex:-1,"aria-hidden":!0}),r("div",null,this.t("settings.camera_off"))))))),r("rtk-camera-selector",Object.assign({},a)),r("div",{class:"group",part:"mirror-toggle"},r("div",{class:"row"},r("label",{htmlFor:"mirror-toggle"},this.t("settings.mirror_video")),r("rtk-switch",{checked:l,iconPack:this.iconPack,t:this.t,onRtkChange:t=>{const{checked:i}=t.target;this.stateUpdate.emit({prefs:{mirrorVideo:i}}),n("mirror-video",i)}}))))}static get watchers(){return{meeting:["meetingChanged"]}}};d([c()],h.prototype,"meeting",void 0),d([c()],h.prototype,"states",void 0),d([c()],h.prototype,"iconPack",void 0),d([c()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.rtk-select{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.rtk-select:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.rtk-select{display:block;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--rtk-space-3, 12px);font-size:16px;--icon-size:var(--rtk-select-chevron-size, var(--rtk-space-6, 24px));--icon-right-position:var(--rtk-select-chevron-right-position, var(--rtk-space-2, 8px));background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-position:right var(--icon-right-position) center;background-repeat:no-repeat;background-size:var(--icon-size) var(--icon-size);padding-right:calc(var(--icon-right-position) * 5)}:host{display:flex;width:100%;flex-direction:column}.rtk-select{width:100%;text-overflow:ellipsis}rtk-participant-tile{margin-left:auto;margin-right:auto;margin-bottom:var(--rtk-space-4, 16px);max-width:100%}#icon{padding-bottom:var(--rtk-space-1, 4px)}.apply-button{height:var(--rtk-space-10, 40px)}label{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.row{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.section{display:flex;flex-direction:column}@media only screen and (max-height: 480px) and (orientation: landscape){:host{flex-direction:row}:host([size='sm']){flex-direction:row}.section[part='tile-preview']{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);max-height:90%;max-width:40%;flex-shrink:1}.section[part='video-settings']{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);flex-grow:1}}";export{p as rtk_settings_audio,h as rtk_settings_video}
@@ -1 +1 @@
1
- import{r as t,w as i,h as s,H as e,a as r}from"./p-0ee570cd.js";import{c as n,h as a,U as o}from"./p-89ebff3d.js";import{S as h}from"./p-09c73782.js";var c=function(t,i,s,e){var r,n=arguments.length,a=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(a=(n<3?r(a):n>3?r(i,s,a):r(i,s))||a);return n>3&&a&&Object.defineProperty(i,s,a),a};const d=class{constructor(i){t(this,i),this.config=n(),this.t=a(),this.transcripts=[],this.listenerAttached=!1,this.onTranscript=t=>{t.transcript&&this.add(t)}}connectedCallback(){this.meetingChanged(this.meeting)}addListener(t){var i;null===(i=null==t?void 0:t.ai)||void 0===i||i.addListener("transcript",this.onTranscript),this.listenerAttached=!0}clearListeners(t){var i;this.onTranscript&&(null===(i=null==t?void 0:t.ai)||void 0===i||i.removeListener("transcript",this.onTranscript)),this.listenerAttached=!1,clearTimeout(this.disconnectTimeout),this.transcripts=[]}disconnectedCallback(){this.meeting&&this.clearListeners(this.meeting)}meetingChanged(t,i){clearTimeout(this.disconnectTimeout),i&&this.clearListeners(i),t&&this.states.activeCaptions&&this.addListener(t)}statesChanged(t){t&&(t.activeCaptions&&!this.listenerAttached&&this.addListener(this.meeting),!t.activeCaptions&&this.listenerAttached&&this.clearListeners(this.meeting))}transcriptionsReducer(t,i){if(!t.length)return[i];let s=t[t.length-1];return s.peerId!==i.peerId?t.concat(i):s.id===i.id?(s.transcript=i.transcript,t.pop(),t.concat(o(s))):t.concat(i)}add(t){this.transcripts=this.transcriptionsReducer(this.transcripts,t)}remove(t){this.transcripts=this.transcripts.filter((i=>i.renderedId!==t))}handleDismiss(t){t.stopPropagation();const{id:s,renderedId:e}=t.detail,r=this.host.shadowRoot.querySelector(`[data-id="${s}"]`);null==r||r.classList.add("exit"),setTimeout((()=>{i((()=>{this.remove(e)}))}),400)}renderTranscripts(){const t=[];return this.transcripts.forEach((i=>{const s={name:i.name,date:i.date,peerId:i.peerId,transcript:i.transcript,id:i.id,renderedId:i.id};if(!t.length)return i.renderedId=s.renderedId,void t.push(s);const e=t[t.length-1];if(e.transcript.length+s.transcript.length>400||e.peerId!==i.peerId)return i.renderedId=s.renderedId,void t.push(s);e.transcript+=" "+i.transcript,i.renderedId=e.renderedId})),t.splice(0,t.length-2),null==t?void 0:t.map((t=>s("rtk-transcript",{key:t.id,"data-id":t.id,transcript:t,onRtkTranscriptDismiss:t=>this.handleDismiss(t),t:this.t})))}render(){if(this.states.activeCaptions)return s(e,null,this.renderTranscripts())}get host(){return r(this)}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"]}}};c([h()],d.prototype,"meeting",void 0),c([h()],d.prototype,"states",void 0),c([h()],d.prototype,"config",void 0),c([h()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:absolute;top:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);bottom:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);top:auto;display:flex;flex-direction:column;pointer-events:none;justify-content:center;width:100%;z-index:5}rtk-transcript{margin-top:var(--rtk-space-2, 8px)}";export{d as rtk_transcripts}
1
+ import{r as t,w as i,h as s,H as e,a as r}from"./p-0ee570cd.js";import{c as n,h as a,T as o}from"./p-8046e263.js";import{S as h}from"./p-2799d5b2.js";var c=function(t,i,s,e){var r,n=arguments.length,a=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(a=(n<3?r(a):n>3?r(i,s,a):r(i,s))||a);return n>3&&a&&Object.defineProperty(i,s,a),a};const d=class{constructor(i){t(this,i),this.config=n(),this.t=a(),this.transcripts=[],this.listenerAttached=!1,this.onTranscript=t=>{t.transcript&&this.add(t)}}connectedCallback(){this.meetingChanged(this.meeting)}addListener(t){var i;null===(i=null==t?void 0:t.ai)||void 0===i||i.addListener("transcript",this.onTranscript),this.listenerAttached=!0}clearListeners(t){var i;this.onTranscript&&(null===(i=null==t?void 0:t.ai)||void 0===i||i.removeListener("transcript",this.onTranscript)),this.listenerAttached=!1,clearTimeout(this.disconnectTimeout),this.transcripts=[]}disconnectedCallback(){this.meeting&&this.clearListeners(this.meeting)}meetingChanged(t,i){clearTimeout(this.disconnectTimeout),i&&this.clearListeners(i),t&&this.states.activeCaptions&&this.addListener(t)}statesChanged(t){t&&(t.activeCaptions&&!this.listenerAttached&&this.addListener(this.meeting),!t.activeCaptions&&this.listenerAttached&&this.clearListeners(this.meeting))}transcriptionsReducer(t,i){if(!t.length)return[i];let s=t[t.length-1];return s.peerId!==i.peerId?t.concat(i):s.id===i.id?(s.transcript=i.transcript,t.pop(),t.concat(o(s))):t.concat(i)}add(t){this.transcripts=this.transcriptionsReducer(this.transcripts,t)}remove(t){this.transcripts=this.transcripts.filter((i=>i.renderedId!==t))}handleDismiss(t){t.stopPropagation();const{id:s,renderedId:e}=t.detail,r=this.host.shadowRoot.querySelector(`[data-id="${s}"]`);null==r||r.classList.add("exit"),setTimeout((()=>{i((()=>{this.remove(e)}))}),400)}renderTranscripts(){const t=[];return this.transcripts.forEach((i=>{const s={name:i.name,date:i.date,peerId:i.peerId,transcript:i.transcript,id:i.id,renderedId:i.id};if(!t.length)return i.renderedId=s.renderedId,void t.push(s);const e=t[t.length-1];if(e.transcript.length+s.transcript.length>400||e.peerId!==i.peerId)return i.renderedId=s.renderedId,void t.push(s);e.transcript+=" "+i.transcript,i.renderedId=e.renderedId})),t.splice(0,t.length-2),null==t?void 0:t.map((t=>s("rtk-transcript",{key:t.id,"data-id":t.id,transcript:t,onRtkTranscriptDismiss:t=>this.handleDismiss(t),t:this.t})))}render(){if(this.states.activeCaptions)return s(e,null,this.renderTranscripts())}get host(){return r(this)}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"]}}};c([h()],d.prototype,"meeting",void 0),c([h()],d.prototype,"states",void 0),c([h()],d.prototype,"config",void 0),c([h()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:absolute;top:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);bottom:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);top:auto;display:flex;flex-direction:column;pointer-events:none;justify-content:center;width:100%;z-index:5}rtk-transcript{margin-top:var(--rtk-space-2, 8px)}";export{d as rtk_transcripts}
@@ -1 +1 @@
1
- import{r as t,c as i,h as r,H as e}from"./p-0ee570cd.js";import{c as a,e as s,h as o}from"./p-89ebff3d.js";import{S as n}from"./p-09c73782.js";var c=function(t,i,r,e){var a,s=arguments.length,o=s<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(o=(s<3?a(o):s>3?a(i,r,o):a(i,r))||o);return s>3&&o&&Object.defineProperty(i,r,o),o};const l=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.config=a(),this.iconPack=s,this.t=o(),this.view="sidebar",this.close=()=>{this.stateUpdate.emit({activeAI:!1})}}connectedCallback(){this.viewChanged(this.view)}disconnectedCallback(){this.keydownListener&&document.removeEventListener("keydown",this.keydownListener)}viewChanged(t){"full-screen"===t&&(this.keydownListener=t=>{"Escape"===t.key&&this.close()},document.addEventListener("keydown",this.keydownListener))}render(){var t,i,a;if(!this.meeting)return null;if(!(null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions).transcriptionEnabled||!(null===(a=this.states)||void 0===a?void 0:a.activeAI))return null;const s={meeting:this.meeting,config:this.config,states:this.states,size:this.size,t:this.t,iconPack:this.iconPack};return r(e,null,r("h3",{class:"title"},this.t("ai.transcriptions")),r("rtk-button",{variant:"ghost",kind:"icon",class:"close",onClick:this.close,"aria-label":this.t("close")},r("rtk-icon",{icon:this.iconPack.dismiss})),r("rtk-ai-transcriptions",Object.assign({},s)))}static get watchers(){return{view:["viewChanged"]}}};c([n()],l.prototype,"meeting",void 0),c([n()],l.prototype,"states",void 0),c([n()],l.prototype,"config",void 0),c([n()],l.prototype,"iconPack",void 0),c([n()],l.prototype,"t",void 0),l.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;box-sizing:border-box;display:flex;width:100%;max-width:var(--rtk-space-80, 320px);flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden}.close{position:absolute;top:var(--rtk-space-3, 12px);left:var(--rtk-space-3, 12px)}.title{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-2, 8px);-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:var(--rtk-space-0, 0px);text-align:center;font-size:14px;font-weight:400}rtk-ai-transcriptions{flex:1}:host([view='sidebar']){margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}:host([view='full-screen']){position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:50;max-width:100%;border:none}";export{l as rtk_ai}
1
+ import{r as t,c as i,h as r,H as e}from"./p-0ee570cd.js";import{c as a,e as s,h as o}from"./p-8046e263.js";import{S as n}from"./p-2799d5b2.js";var c=function(t,i,r,e){var a,s=arguments.length,o=s<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(o=(s<3?a(o):s>3?a(i,r,o):a(i,r))||o);return s>3&&o&&Object.defineProperty(i,r,o),o};const l=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.config=a(),this.iconPack=s,this.t=o(),this.view="sidebar",this.close=()=>{this.stateUpdate.emit({activeAI:!1})}}connectedCallback(){this.viewChanged(this.view)}disconnectedCallback(){this.keydownListener&&document.removeEventListener("keydown",this.keydownListener)}viewChanged(t){"full-screen"===t&&(this.keydownListener=t=>{"Escape"===t.key&&this.close()},document.addEventListener("keydown",this.keydownListener))}render(){var t,i,a;if(!this.meeting)return null;if(!(null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions).transcriptionEnabled||!(null===(a=this.states)||void 0===a?void 0:a.activeAI))return null;const s={meeting:this.meeting,config:this.config,states:this.states,size:this.size,t:this.t,iconPack:this.iconPack};return r(e,null,r("h3",{class:"title"},this.t("ai.transcriptions")),r("rtk-button",{variant:"ghost",kind:"icon",class:"close",onClick:this.close,"aria-label":this.t("close")},r("rtk-icon",{icon:this.iconPack.dismiss})),r("rtk-ai-transcriptions",Object.assign({},s)))}static get watchers(){return{view:["viewChanged"]}}};c([n()],l.prototype,"meeting",void 0),c([n()],l.prototype,"states",void 0),c([n()],l.prototype,"config",void 0),c([n()],l.prototype,"iconPack",void 0),c([n()],l.prototype,"t",void 0),l.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;box-sizing:border-box;display:flex;width:100%;max-width:var(--rtk-space-80, 320px);flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden}.close{position:absolute;top:var(--rtk-space-3, 12px);left:var(--rtk-space-3, 12px)}.title{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-2, 8px);-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:var(--rtk-space-0, 0px);text-align:center;font-size:14px;font-weight:400}rtk-ai-transcriptions{flex:1}:host([view='sidebar']){margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}:host([view='full-screen']){position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:50;max-width:100%;border:none}";export{l as rtk_ai}