@cloudflare/realtimekit-ui 2.0.1 → 2.0.2-staging.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (924) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/ChatHead-DzH-mYX1.js +11 -0
  3. package/dist/cjs/{TextMessage-492778db.js → TextMessage-5iqcrDk9.js} +9 -11
  4. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
  5. package/dist/cjs/breakout-rooms-46jWgGiL.js +72 -0
  6. package/dist/cjs/breakout-rooms-manager-Bgk5FEK1.js +303 -0
  7. package/dist/cjs/{chat-4f5c28ca.js → chat-CiRLOYTj.js} +1 -1
  8. package/dist/cjs/{config-705c8f2c.js → config-Dr-kt-RY.js} +6 -5
  9. package/dist/cjs/debounce-BgZ6dvDk.js +659 -0
  10. package/dist/cjs/{debounce-7fa6354d.js → debounce-padcVDRF.js} +4 -6
  11. package/dist/cjs/{file-0b9afa34.js → file-BfaJmhHW.js} +1 -1
  12. package/dist/cjs/{floating-ui.dom.esm-9d940028.js → floating-ui.dom-D8vZii24.js} +3 -310
  13. package/dist/cjs/hark-qJk9qiLr.js +322 -0
  14. package/dist/cjs/{index-4366eb3b.js → index-BOQMsbCN.js} +2 -2
  15. package/dist/cjs/{index-2e5758b6.js → index-Bi2L8zQ7.js} +1202 -555
  16. package/dist/cjs/{index-6f8c1928.js → index-Ck9E7Wf2.js} +22 -31
  17. package/dist/cjs/index.cjs.js +14 -13
  18. package/dist/cjs/livestream-B1z1fq_f.js +78 -0
  19. package/dist/cjs/loader.cjs.js +3 -5
  20. package/dist/cjs/{merge-79537b1d.js → merge-CSoi4R44.js} +136 -17
  21. package/dist/cjs/{notification-8f4db150.js → notification-BM6CUHyL.js} +1 -1
  22. package/dist/cjs/realtimekit-ui.cjs.js +7 -7
  23. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +8 -9
  24. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +15 -14
  25. package/dist/cjs/rtk-ai_3.cjs.entry.js +19 -17
  26. package/dist/cjs/rtk-audio-grid.cjs.entry.js +12 -10
  27. package/dist/cjs/rtk-audio-tile.cjs.entry.js +13 -10
  28. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +26 -23
  29. package/dist/cjs/rtk-avatar_26.cjs.entry.js +120 -123
  30. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +33 -27
  31. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +38 -41
  32. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +11 -11
  33. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +20 -15
  34. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +8 -9
  35. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +11 -9
  36. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +9 -9
  37. package/dist/cjs/rtk-chat-message.cjs.entry.js +8 -8
  38. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +16 -12
  39. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +8 -8
  40. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +9 -9
  41. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +16 -12
  42. package/dist/cjs/rtk-clock.cjs.entry.js +11 -10
  43. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +5 -8
  44. package/dist/cjs/rtk-controlbar.cjs.entry.js +9 -9
  45. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +42 -48
  46. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +5 -8
  47. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +9 -10
  48. package/dist/cjs/rtk-dialog.cjs.entry.js +5 -8
  49. package/dist/cjs/rtk-ended-screen.cjs.entry.js +11 -9
  50. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +8 -8
  51. package/dist/cjs/rtk-file-message_3.cjs.entry.js +11 -14
  52. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +6 -9
  53. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +17 -15
  54. package/dist/cjs/rtk-grid.cjs.entry.js +28 -19
  55. package/dist/cjs/rtk-header.cjs.entry.js +9 -9
  56. package/dist/cjs/rtk-idle-screen.cjs.entry.js +14 -10
  57. package/dist/cjs/rtk-image-viewer.cjs.entry.js +7 -10
  58. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +8 -8
  59. package/dist/cjs/rtk-leave-button.cjs.entry.js +5 -8
  60. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +41 -52
  61. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +10 -10
  62. package/dist/cjs/rtk-logo.cjs.entry.js +14 -10
  63. package/dist/cjs/rtk-meeting-title.cjs.entry.js +5 -8
  64. package/dist/cjs/rtk-message-list-view.cjs.entry.js +12 -10
  65. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +8 -9
  66. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +16 -13
  67. package/dist/cjs/rtk-more-toggle.cjs.entry.js +5 -8
  68. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +11 -9
  69. package/dist/cjs/rtk-name-tag.cjs.entry.js +9 -10
  70. package/dist/cjs/rtk-network-indicator.cjs.entry.js +11 -9
  71. package/dist/cjs/rtk-notification.cjs.entry.js +13 -12
  72. package/dist/cjs/rtk-notifications.cjs.entry.js +22 -16
  73. package/dist/cjs/rtk-participant-count.cjs.entry.js +11 -11
  74. package/dist/cjs/rtk-participant-setup.cjs.entry.js +14 -10
  75. package/dist/cjs/rtk-participant_2.cjs.entry.js +29 -28
  76. package/dist/cjs/rtk-participants-audio.cjs.entry.js +11 -11
  77. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +33 -24
  78. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +16 -12
  79. package/dist/cjs/rtk-participants.cjs.entry.js +15 -11
  80. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +11 -9
  81. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +11 -13
  82. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +16 -12
  83. package/dist/cjs/rtk-poll_2.cjs.entry.js +8 -12
  84. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +16 -12
  85. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +8 -9
  86. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +8 -9
  87. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +8 -9
  88. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +9 -10
  89. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +10 -12
  90. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +5 -8
  91. package/dist/cjs/rtk-settings.cjs.entry.js +8 -9
  92. package/dist/cjs/rtk-setup-screen.cjs.entry.js +11 -12
  93. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +11 -9
  94. package/dist/cjs/rtk-sidebar.cjs.entry.js +17 -13
  95. package/dist/cjs/rtk-simple-grid.cjs.entry.js +11 -12
  96. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +7 -10
  97. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +8 -9
  98. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +11 -9
  99. package/dist/cjs/rtk-stage.cjs.entry.js +5 -8
  100. package/dist/cjs/rtk-transcript.cjs.entry.js +8 -9
  101. package/dist/cjs/rtk-transcripts.cjs.entry.js +14 -10
  102. package/dist/cjs/rtk-ui-provider.cjs.entry.js +28 -18
  103. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +8 -8
  104. package/dist/cjs/{sidebar-3d8abb05.js → sidebar-CaEYxWaS.js} +2 -2
  105. package/dist/cjs/{ui-store-b1ac9e83.js → ui-store-CTof0Q5V.js} +100 -813
  106. package/dist/collection/collection-manifest.json +3 -2
  107. package/dist/collection/components/rtk-ai/rtk-ai.js +16 -10
  108. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +18 -11
  109. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +9 -5
  110. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +16 -10
  111. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +18 -11
  112. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +15 -11
  113. package/dist/collection/components/rtk-avatar/rtk-avatar.js +15 -10
  114. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +18 -13
  115. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +7 -4
  116. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +19 -12
  117. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +12 -7
  118. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +11 -6
  119. package/dist/collection/components/rtk-button/rtk-button.js +9 -8
  120. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +12 -8
  121. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +16 -10
  122. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +20 -12
  123. package/dist/collection/components/rtk-chat/rtk-chat.js +19 -11
  124. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +16 -11
  125. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +16 -14
  126. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +34 -26
  127. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +20 -14
  128. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +24 -14
  129. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +11 -8
  130. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +20 -12
  131. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +10 -8
  132. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +18 -11
  133. package/dist/collection/components/rtk-clock/rtk-clock.js +8 -5
  134. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +11 -6
  135. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +17 -11
  136. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +16 -14
  137. package/dist/collection/components/rtk-counter/rtk-counter.js +12 -9
  138. package/dist/collection/components/rtk-debugger/rtk-debugger.js +15 -9
  139. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +13 -8
  140. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +13 -8
  141. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +13 -8
  142. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +18 -11
  143. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +13 -8
  144. package/dist/collection/components/rtk-dialog/rtk-dialog.js +18 -12
  145. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +17 -10
  146. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +5 -3
  147. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +6 -4
  148. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +7 -5
  149. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +15 -9
  150. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +5 -3
  151. package/dist/collection/components/rtk-file-message/rtk-file-message.js +9 -6
  152. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +8 -7
  153. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +13 -10
  154. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +16 -10
  155. package/dist/collection/components/rtk-grid/rtk-grid.js +22 -15
  156. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +14 -9
  157. package/dist/collection/components/rtk-header/rtk-header.js +17 -11
  158. package/dist/collection/components/rtk-icon/rtk-icon.js +6 -5
  159. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +11 -6
  160. package/dist/collection/components/rtk-image-message/rtk-image-message.js +11 -7
  161. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +7 -5
  162. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +11 -7
  163. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -1
  164. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +17 -10
  165. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +14 -9
  166. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +11 -6
  167. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +11 -7
  168. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +11 -7
  169. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +16 -10
  170. package/dist/collection/components/rtk-logo/rtk-logo.js +9 -6
  171. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +4 -4
  172. package/dist/collection/components/rtk-meeting/rtk-meeting.js +27 -19
  173. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +7 -4
  174. package/dist/collection/components/rtk-menu/rtk-menu.js +13 -9
  175. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +10 -7
  176. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +6 -4
  177. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +5 -4
  178. package/dist/collection/components/rtk-message-view/rtk-message-view.js +19 -17
  179. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +16 -10
  180. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +12 -8
  181. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +31 -19
  182. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +13 -8
  183. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +16 -10
  184. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +11 -6
  185. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +16 -11
  186. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +11 -7
  187. package/dist/collection/components/rtk-notification/rtk-notification.js +13 -9
  188. package/dist/collection/components/rtk-notifications/rtk-notifications.js +15 -9
  189. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +11 -6
  190. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +14 -11
  191. package/dist/collection/components/rtk-participant/rtk-participant.js +15 -9
  192. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +11 -7
  193. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +19 -13
  194. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +26 -17
  195. package/dist/collection/components/rtk-participants/rtk-participants.js +18 -11
  196. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +7 -4
  197. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +20 -13
  198. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +16 -10
  199. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +18 -11
  200. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +18 -12
  201. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +16 -10
  202. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +11 -6
  203. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +9 -5
  204. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +20 -12
  205. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +10 -6
  206. package/dist/collection/components/rtk-plugins/rtk-plugins.js +15 -9
  207. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +18 -11
  208. package/dist/collection/components/rtk-poll/rtk-poll.js +12 -8
  209. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +7 -4
  210. package/dist/collection/components/rtk-polls/rtk-polls.js +13 -8
  211. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +18 -11
  212. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +11 -7
  213. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +15 -10
  214. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +18 -11
  215. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +21 -14
  216. package/dist/collection/components/rtk-settings/rtk-settings.js +15 -9
  217. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +15 -9
  218. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +16 -10
  219. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +15 -9
  220. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +17 -10
  221. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +23 -14
  222. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +9 -8
  223. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +19 -12
  224. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +14 -9
  225. package/dist/collection/components/rtk-spinner/rtk-spinner.js +5 -3
  226. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +27 -17
  227. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +11 -7
  228. package/dist/collection/components/rtk-stage/rtk-stage.js +7 -4
  229. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +18 -11
  230. package/dist/collection/components/rtk-switch/rtk-switch.js +8 -6
  231. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +18 -11
  232. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +13 -11
  233. package/dist/collection/components/rtk-text-message/rtk-text-message.js +9 -6
  234. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +3 -3
  235. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +13 -11
  236. package/dist/collection/components/rtk-transcript/rtk-transcript.js +5 -3
  237. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +9 -5
  238. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +18 -11
  239. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +8 -5
  240. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +6 -4
  241. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +9 -5
  242. package/dist/collection/utils/livestream.js +1 -1
  243. package/dist/collection/utils/sync-with-store/ui-store.js +1 -1
  244. package/dist/components/index.d.ts +2 -0
  245. package/dist/components/index.js +1 -247
  246. package/dist/components/p-1sLF61J1.js +1 -0
  247. package/dist/components/p-7zlNLqpS.js +1 -0
  248. package/dist/components/p-B-k80wnP.js +1 -0
  249. package/dist/components/p-B1SWgSTZ.js +1 -0
  250. package/dist/components/p-B1wrArJr.js +1 -0
  251. package/dist/components/p-B4TnXODX.js +1 -0
  252. package/dist/components/p-B5-LNbkp.js +1 -0
  253. package/dist/components/p-B9MPybze.js +1 -0
  254. package/dist/components/p-BA_UY9k8.js +1 -0
  255. package/dist/components/p-BBHQOrFK.js +2 -0
  256. package/dist/{realtimekit-ui/p-598b792e.js → components/p-BCuMxcZN.js} +1 -1
  257. package/dist/components/p-BEOq_QN5.js +1 -0
  258. package/dist/components/p-BFTU3MAI.js +1 -0
  259. package/dist/components/p-BJKSFJeB.js +1 -0
  260. package/dist/components/p-BOYkqKBb.js +1 -0
  261. package/dist/components/p-BRbb3tLk.js +1 -0
  262. package/dist/components/p-BWNToYSb.js +1 -0
  263. package/dist/components/p-BYIBbfJ8.js +1 -0
  264. package/dist/components/p-BbJzI1u1.js +1 -0
  265. package/dist/components/p-BcCYogfR.js +1 -0
  266. package/dist/components/p-Bf4LuZWa.js +1 -0
  267. package/dist/{realtimekit-ui/p-1e62d63b.js → components/p-Bj1kNPpe.js} +1 -1
  268. package/dist/components/p-BjF9F_tX.js +1 -0
  269. package/dist/components/p-BoGbJ5PX.js +1 -0
  270. package/dist/components/p-BuZhKlht.js +1 -0
  271. package/dist/{realtimekit-ui/p-fa9759f4.js → components/p-Bx38FZhs.js} +1 -1
  272. package/dist/components/p-C-OVY3ug.js +1 -0
  273. package/dist/components/p-C0H4DNJM.js +1 -0
  274. package/dist/components/p-C0vp-Q7v.js +1 -0
  275. package/dist/components/p-C3Z3GLQh.js +1 -0
  276. package/dist/components/p-C4IJ0f9O.js +1 -0
  277. package/dist/components/p-C9EBo56b.js +1 -0
  278. package/dist/components/p-CABfszIM.js +1 -0
  279. package/dist/components/p-CB5hzEOM.js +1 -0
  280. package/dist/components/p-CBJjerDR.js +1 -0
  281. package/dist/components/p-CBLUz_2s.js +1 -0
  282. package/dist/components/p-CJsXePY3.js +1 -0
  283. package/dist/components/p-CKX6X8es.js +1 -0
  284. package/dist/components/p-COEreDeR.js +1 -0
  285. package/dist/components/p-COZSdc5O.js +1 -0
  286. package/dist/components/p-CQAMoQlr.js +1 -0
  287. package/dist/components/p-Cd-WpR0J.js +1 -0
  288. package/dist/components/p-CdV0xzjB.js +1 -0
  289. package/dist/components/p-Ce-9kgl0.js +1 -0
  290. package/dist/components/p-ChuKD7QS.js +1 -0
  291. package/dist/components/p-Cj44pA_c.js +1 -0
  292. package/dist/components/p-Cmu_4ZYL.js +1 -0
  293. package/dist/components/p-CnJQLwM-.js +1 -0
  294. package/dist/components/p-CpOL3OJd.js +1 -0
  295. package/dist/components/p-CphAED3J.js +1 -0
  296. package/dist/components/p-CqEcYX16.js +1 -0
  297. package/dist/components/p-CrExxJHe.js +1 -0
  298. package/dist/components/p-D0bZYAmS.js +1 -0
  299. package/dist/components/p-D1zAGrQ9.js +1 -0
  300. package/dist/components/p-D6vw6bT2.js +1 -0
  301. package/dist/{realtimekit-ui/p-6befaf17.js → components/p-D9HGXWKc.js} +1 -1
  302. package/dist/components/p-DBjcFAtV.js +1 -0
  303. package/dist/components/p-DCEjf6bL.js +1 -0
  304. package/dist/components/p-DD3_OTZn.js +1 -0
  305. package/dist/{realtimekit-ui/p-40be18ee.js → components/p-DDaHXyCC.js} +1 -1
  306. package/dist/components/p-DEOaS443.js +1 -0
  307. package/dist/components/p-DHSRRtn3.js +1 -0
  308. package/dist/components/p-DKjr_UXt.js +1 -0
  309. package/dist/components/p-DLocSBO3.js +1 -0
  310. package/dist/components/p-DNkzP2hS.js +1 -0
  311. package/dist/components/p-DP4RUNa1.js +1 -0
  312. package/dist/components/p-DU5mNJqK.js +1 -0
  313. package/dist/components/p-DY8ll5IU.js +1 -0
  314. package/dist/components/p-DZC8m5f_.js +1 -0
  315. package/dist/components/p-Daj_55_i.js +1 -0
  316. package/dist/components/p-DbHOlaHU.js +1 -0
  317. package/dist/components/p-De8YQHVd.js +1 -0
  318. package/dist/components/p-Deo_3EhX.js +1 -0
  319. package/dist/components/p-Df2S0-LE.js +1 -0
  320. package/dist/components/p-DfWuSKCq.js +1 -0
  321. package/dist/components/p-Dguuxuf6.js +1 -0
  322. package/dist/components/p-Dkd2PDJ-.js +1 -0
  323. package/dist/components/p-DlKMnwxL.js +1 -0
  324. package/dist/components/p-DmVA5ArE.js +1 -0
  325. package/dist/components/p-DnQYtb0h.js +1 -0
  326. package/dist/components/p-DuOnRaMu.js +1 -0
  327. package/dist/components/p-DxDYE5-a.js +1 -0
  328. package/dist/components/p-EuNHmu13.js +1 -0
  329. package/dist/components/p-FVFlyS1y.js +1 -0
  330. package/dist/components/p-FdeAvICb.js +1 -0
  331. package/dist/components/p-J1kxEVHe.js +1 -0
  332. package/dist/components/p-JyC3dswA.js +1 -0
  333. package/dist/components/p-KpmupjxR.js +1 -0
  334. package/dist/components/p-L9yK33Cu.js +1 -0
  335. package/dist/components/p-PXVZ-Szx.js +1 -0
  336. package/dist/components/p-ViKGg-Ct.js +1 -0
  337. package/dist/components/p-aS2wpIc0.js +1 -0
  338. package/dist/components/p-ak2clYhw.js +1 -0
  339. package/dist/components/p-e-OVL-Mg.js +1 -0
  340. package/dist/components/p-j2J2Tn1F.js +1 -0
  341. package/dist/components/p-oXrlIvqH.js +1 -0
  342. package/dist/components/p-pb5wDMuJ.js +1 -0
  343. package/dist/components/p-s-jAl7lc.js +1 -0
  344. package/dist/components/p-sSs7a3Ms.js +1 -0
  345. package/dist/components/p-t72veIFj.js +1 -0
  346. package/dist/components/p-uOh9MOi7.js +1 -0
  347. package/dist/components/p-wemYeTS7.js +1 -0
  348. package/dist/components/p-wl6GEzgG.js +1 -0
  349. package/dist/components/p-zBoy9v8V.js +1 -0
  350. package/dist/components/rtk-ai-toggle.js +1 -122
  351. package/dist/components/rtk-ai-transcriptions.js +1 -6
  352. package/dist/components/rtk-ai.js +1 -6
  353. package/dist/components/rtk-audio-grid.js +1 -145
  354. package/dist/components/rtk-audio-tile.js +1 -184
  355. package/dist/components/rtk-audio-visualizer.js +1 -6
  356. package/dist/components/rtk-avatar.js +1 -6
  357. package/dist/components/rtk-breakout-room-manager.js +1 -6
  358. package/dist/components/rtk-breakout-room-participants.js +1 -6
  359. package/dist/components/rtk-breakout-rooms-manager.js +1 -6
  360. package/dist/components/rtk-breakout-rooms-toggle.js +1 -128
  361. package/dist/components/rtk-broadcast-message-modal.js +1 -6
  362. package/dist/components/rtk-button.js +1 -6
  363. package/dist/components/rtk-camera-selector.js +1 -6
  364. package/dist/components/rtk-camera-toggle.js +1 -236
  365. package/dist/components/rtk-caption-toggle.js +1 -131
  366. package/dist/components/rtk-chat-composer-ui.js +1 -363
  367. package/dist/components/rtk-chat-composer-view.js +1 -6
  368. package/dist/components/rtk-chat-header.js +1 -6
  369. package/dist/components/rtk-chat-message.js +1 -6
  370. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -6
  371. package/dist/components/rtk-chat-messages-ui.js +1 -313
  372. package/dist/components/rtk-chat-search-results.js +1 -147
  373. package/dist/components/rtk-chat-selector-ui.js +1 -108
  374. package/dist/components/rtk-chat-selector.js +1 -6
  375. package/dist/components/rtk-chat-toggle.js +1 -181
  376. package/dist/components/rtk-chat.js +1 -6
  377. package/dist/components/rtk-clock.js +1 -128
  378. package/dist/components/rtk-confirmation-modal.js +1 -6
  379. package/dist/components/rtk-controlbar-button.js +1 -6
  380. package/dist/components/rtk-controlbar.js +1 -91
  381. package/dist/components/rtk-counter.js +1 -6
  382. package/dist/components/rtk-debugger-audio.js +1 -6
  383. package/dist/components/rtk-debugger-screenshare.js +1 -6
  384. package/dist/components/rtk-debugger-system.js +1 -6
  385. package/dist/components/rtk-debugger-toggle.js +1 -98
  386. package/dist/components/rtk-debugger-video.js +1 -6
  387. package/dist/components/rtk-debugger.js +1 -6
  388. package/dist/components/rtk-dialog-manager.js +1 -310
  389. package/dist/components/rtk-dialog.js +1 -6
  390. package/dist/components/rtk-draft-attachment-view.js +1 -6
  391. package/dist/components/rtk-emoji-picker-button.js +1 -6
  392. package/dist/components/rtk-emoji-picker.js +1 -6
  393. package/dist/components/rtk-ended-screen.js +1 -150
  394. package/dist/components/rtk-file-dropzone.js +1 -87
  395. package/dist/components/rtk-file-message-view.js +1 -6
  396. package/dist/components/rtk-file-message.js +1 -6
  397. package/dist/components/rtk-file-picker-button.js +1 -6
  398. package/dist/components/rtk-fullscreen-toggle.js +1 -6
  399. package/dist/components/rtk-grid-pagination.js +1 -206
  400. package/dist/components/rtk-grid.js +1 -468
  401. package/dist/components/rtk-header.js +1 -91
  402. package/dist/components/rtk-icon.js +1 -6
  403. package/dist/components/rtk-idle-screen.js +1 -139
  404. package/dist/components/rtk-image-message-view.js +1 -6
  405. package/dist/components/rtk-image-message.js +1 -6
  406. package/dist/components/rtk-image-viewer.js +1 -91
  407. package/dist/components/rtk-information-tooltip.js +1 -61
  408. package/dist/components/rtk-join-stage.js +1 -6
  409. package/dist/components/rtk-leave-button.js +1 -87
  410. package/dist/components/rtk-leave-meeting.js +1 -6
  411. package/dist/components/rtk-livestream-indicator.js +1 -6
  412. package/dist/components/rtk-livestream-player.js +1 -6
  413. package/dist/components/rtk-livestream-toggle.js +1 -181
  414. package/dist/components/rtk-logo.js +1 -6
  415. package/dist/components/rtk-markdown-view.js +1 -6
  416. package/dist/components/rtk-meeting-title.js +1 -74
  417. package/dist/components/rtk-meeting.js +1 -533
  418. package/dist/components/rtk-menu-item.js +1 -6
  419. package/dist/components/rtk-menu-list.js +1 -6
  420. package/dist/components/rtk-menu.js +1 -6
  421. package/dist/components/rtk-message-list-view.js +1 -324
  422. package/dist/components/rtk-message-view.js +1 -6
  423. package/dist/components/rtk-mic-toggle.js +1 -234
  424. package/dist/components/rtk-microphone-selector.js +1 -6
  425. package/dist/components/rtk-mixed-grid.js +1 -300
  426. package/dist/components/rtk-more-toggle.js +1 -112
  427. package/dist/components/rtk-mute-all-button.js +1 -127
  428. package/dist/components/rtk-mute-all-confirmation.js +1 -6
  429. package/dist/components/rtk-name-tag.js +1 -6
  430. package/dist/components/rtk-network-indicator.js +1 -117
  431. package/dist/components/rtk-notification.js +1 -6
  432. package/dist/components/rtk-notifications.js +1 -637
  433. package/dist/components/rtk-overlay-modal.js +1 -6
  434. package/dist/components/rtk-paginated-list.js +1 -6
  435. package/dist/components/rtk-participant-count.js +1 -118
  436. package/dist/components/rtk-participant-setup.js +1 -149
  437. package/dist/components/rtk-participant-tile.js +1 -6
  438. package/dist/components/rtk-participant.js +1 -6
  439. package/dist/components/rtk-participants-audio.js +1 -249
  440. package/dist/components/rtk-participants-stage-list.js +1 -6
  441. package/dist/components/rtk-participants-stage-queue.js +1 -6
  442. package/dist/components/rtk-participants-toggle.js +1 -195
  443. package/dist/components/rtk-participants-viewer-list.js +1 -6
  444. package/dist/components/rtk-participants-waiting-list.js +1 -6
  445. package/dist/components/rtk-participants.js +1 -306
  446. package/dist/components/rtk-permissions-message.js +1 -6
  447. package/dist/components/rtk-pinned-message-selector.js +1 -6
  448. package/dist/components/rtk-pip-toggle.js +1 -135
  449. package/dist/components/rtk-plugin-main.js +1 -6
  450. package/dist/components/rtk-plugins-toggle.js +1 -148
  451. package/dist/components/rtk-plugins.js +1 -6
  452. package/dist/components/rtk-poll-form.js +1 -6
  453. package/dist/components/rtk-poll.js +1 -6
  454. package/dist/components/rtk-polls-toggle.js +1 -160
  455. package/dist/components/rtk-polls.js +1 -6
  456. package/dist/components/rtk-recording-indicator.js +1 -96
  457. package/dist/components/rtk-recording-toggle.js +1 -203
  458. package/dist/components/rtk-screen-share-toggle.js +1 -317
  459. package/dist/components/rtk-screenshare-view.js +1 -194
  460. package/dist/components/rtk-settings-audio.js +1 -6
  461. package/dist/components/rtk-settings-toggle.js +1 -93
  462. package/dist/components/rtk-settings-video.js +1 -6
  463. package/dist/components/rtk-settings.js +1 -208
  464. package/dist/components/rtk-setup-screen.js +1 -215
  465. package/dist/components/rtk-sidebar-ui.js +1 -6
  466. package/dist/components/rtk-sidebar.js +1 -253
  467. package/dist/components/rtk-simple-grid.js +1 -149
  468. package/dist/components/rtk-speaker-selector.js +1 -6
  469. package/dist/components/rtk-spinner.js +1 -6
  470. package/dist/components/rtk-spotlight-grid.js +1 -135
  471. package/dist/components/rtk-spotlight-indicator.js +1 -6
  472. package/dist/components/rtk-stage-toggle.js +1 -195
  473. package/dist/components/rtk-stage.js +1 -61
  474. package/dist/components/rtk-switch.js +1 -6
  475. package/dist/components/rtk-tab-bar.js +1 -6
  476. package/dist/components/rtk-text-composer-view.js +1 -6
  477. package/dist/components/rtk-text-message-view.js +1 -6
  478. package/dist/components/rtk-text-message.js +1 -6
  479. package/dist/components/rtk-tooltip.js +1 -6
  480. package/dist/components/rtk-transcript.js +1 -6
  481. package/dist/components/rtk-transcripts.js +1 -199
  482. package/dist/components/rtk-ui-provider.js +1 -281
  483. package/dist/components/rtk-viewer-count.js +1 -6
  484. package/dist/components/rtk-virtualized-participant-list.js +1 -6
  485. package/dist/components/rtk-waiting-screen.js +1 -77
  486. package/dist/docs/docs-components.d.ts +37 -0
  487. package/dist/docs/docs-components.json +5693 -3069
  488. package/dist/docs/docs-vscode.json +78 -78
  489. package/dist/esm/ChatHead-BV_pLIJ6.js +9 -0
  490. package/dist/{components/p-1a950769.js → esm/TextMessage-DRvjfMBy.js} +9 -11
  491. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
  492. package/dist/esm/breakout-rooms-Daj_55_i.js +64 -0
  493. package/dist/esm/breakout-rooms-manager-B1Qky9zO.js +301 -0
  494. package/dist/esm/{chat-1107a64f.js → chat-Zou036qQ.js} +1 -1
  495. package/dist/{components/p-9f0c9162.js → esm/config-BYcrCEso.js} +5 -4
  496. package/dist/esm/debounce-BLQbB67V.js +657 -0
  497. package/dist/{components/p-1dca17d1.js → esm/debounce-BYqYBLuN.js} +4 -6
  498. package/dist/{components/p-47314bc7.js → esm/file-6Fkktc2w.js} +1 -1
  499. package/dist/esm/{floating-ui.dom.esm-78a1e61c.js → floating-ui.dom-B1SWgSTZ.js} +3 -310
  500. package/dist/esm/hark-Dwnntwzh.js +320 -0
  501. package/dist/{components/p-bd10fae6.js → esm/index-7w76SzJW.js} +2 -2
  502. package/dist/{components/p-88bd1053.js → esm/index-BUsisVB6.js} +22 -31
  503. package/dist/esm/{index-55463a54.js → index-gJCRRBX0.js} +1198 -549
  504. package/dist/esm/index.js +13 -10
  505. package/dist/esm/livestream-C0vp-Q7v.js +73 -0
  506. package/dist/esm/loader.js +3614 -2781
  507. package/dist/{components/p-556de366.js → esm/merge-CiWMx7_3.js} +133 -15
  508. package/dist/{components/p-598b792e.js → esm/notification-DcR6dHfn.js} +1 -1
  509. package/dist/esm/realtimekit-ui.js +6 -5
  510. package/dist/esm/rtk-ai-toggle.entry.js +8 -7
  511. package/dist/esm/rtk-ai-transcriptions.entry.js +15 -12
  512. package/dist/esm/rtk-ai_3.entry.js +19 -15
  513. package/dist/esm/rtk-audio-grid.entry.js +12 -8
  514. package/dist/esm/rtk-audio-tile.entry.js +13 -8
  515. package/dist/esm/rtk-audio-visualizer_4.entry.js +26 -21
  516. package/dist/esm/rtk-avatar_26.entry.js +116 -117
  517. package/dist/esm/rtk-breakout-room-manager_3.entry.js +25 -17
  518. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +33 -34
  519. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +9 -7
  520. package/dist/esm/rtk-camera-selector_2.entry.js +20 -13
  521. package/dist/esm/rtk-camera-toggle.entry.js +8 -7
  522. package/dist/esm/rtk-caption-toggle.entry.js +11 -7
  523. package/dist/esm/rtk-chat-composer-ui.entry.js +9 -7
  524. package/dist/esm/rtk-chat-message.entry.js +8 -6
  525. package/dist/esm/rtk-chat-messages-ui.entry.js +16 -10
  526. package/dist/esm/rtk-chat-search-results.entry.js +8 -6
  527. package/dist/esm/rtk-chat-selector-ui.entry.js +9 -7
  528. package/dist/esm/rtk-chat-toggle.entry.js +16 -10
  529. package/dist/esm/rtk-clock.entry.js +11 -8
  530. package/dist/esm/rtk-controlbar-button.entry.js +5 -6
  531. package/dist/esm/rtk-controlbar.entry.js +9 -7
  532. package/dist/esm/rtk-debugger-audio_4.entry.js +42 -46
  533. package/dist/esm/rtk-debugger-toggle.entry.js +5 -6
  534. package/dist/esm/rtk-dialog-manager.entry.js +9 -8
  535. package/dist/esm/rtk-dialog.entry.js +5 -6
  536. package/dist/esm/rtk-ended-screen.entry.js +11 -7
  537. package/dist/esm/rtk-file-dropzone.entry.js +8 -6
  538. package/dist/esm/rtk-file-message_3.entry.js +11 -12
  539. package/dist/esm/rtk-fullscreen-toggle.entry.js +6 -7
  540. package/dist/esm/rtk-grid-pagination.entry.js +17 -13
  541. package/dist/esm/rtk-grid.entry.js +27 -16
  542. package/dist/esm/rtk-header.entry.js +9 -7
  543. package/dist/esm/rtk-idle-screen.entry.js +14 -8
  544. package/dist/esm/rtk-image-viewer.entry.js +7 -8
  545. package/dist/esm/rtk-information-tooltip.entry.js +8 -6
  546. package/dist/esm/rtk-leave-button.entry.js +5 -6
  547. package/dist/esm/rtk-livestream-indicator_3.entry.js +26 -35
  548. package/dist/esm/rtk-livestream-toggle.entry.js +9 -7
  549. package/dist/esm/rtk-logo.entry.js +14 -8
  550. package/dist/esm/rtk-meeting-title.entry.js +5 -6
  551. package/dist/esm/rtk-message-list-view.entry.js +12 -8
  552. package/dist/esm/rtk-mic-toggle.entry.js +8 -7
  553. package/dist/esm/rtk-mixed-grid.entry.js +16 -11
  554. package/dist/esm/rtk-more-toggle.entry.js +5 -6
  555. package/dist/esm/rtk-mute-all-button.entry.js +11 -7
  556. package/dist/esm/rtk-name-tag.entry.js +9 -8
  557. package/dist/esm/rtk-network-indicator.entry.js +11 -7
  558. package/dist/esm/rtk-notification.entry.js +13 -10
  559. package/dist/esm/rtk-notifications.entry.js +21 -13
  560. package/dist/esm/rtk-participant-count.entry.js +9 -7
  561. package/dist/esm/rtk-participant-setup.entry.js +14 -8
  562. package/dist/esm/rtk-participant_2.entry.js +24 -21
  563. package/dist/esm/rtk-participants-audio.entry.js +10 -8
  564. package/dist/esm/rtk-participants-stage-list_4.entry.js +33 -22
  565. package/dist/esm/rtk-participants-toggle.entry.js +16 -10
  566. package/dist/esm/rtk-participants.entry.js +15 -9
  567. package/dist/esm/rtk-pip-toggle.entry.js +11 -7
  568. package/dist/esm/rtk-plugin-main_2.entry.js +11 -11
  569. package/dist/esm/rtk-plugins-toggle.entry.js +16 -10
  570. package/dist/esm/rtk-poll_2.entry.js +8 -10
  571. package/dist/esm/rtk-polls-toggle.entry.js +16 -10
  572. package/dist/esm/rtk-recording-indicator.entry.js +8 -7
  573. package/dist/esm/rtk-recording-toggle.entry.js +8 -7
  574. package/dist/esm/rtk-screen-share-toggle.entry.js +8 -7
  575. package/dist/esm/rtk-screenshare-view.entry.js +9 -8
  576. package/dist/esm/rtk-settings-audio_2.entry.js +10 -10
  577. package/dist/esm/rtk-settings-toggle.entry.js +5 -6
  578. package/dist/esm/rtk-settings.entry.js +8 -7
  579. package/dist/esm/rtk-setup-screen.entry.js +11 -10
  580. package/dist/esm/rtk-sidebar-ui.entry.js +11 -7
  581. package/dist/esm/rtk-sidebar.entry.js +17 -11
  582. package/dist/esm/rtk-simple-grid.entry.js +11 -10
  583. package/dist/esm/rtk-spotlight-grid.entry.js +7 -8
  584. package/dist/esm/rtk-spotlight-indicator.entry.js +8 -7
  585. package/dist/esm/rtk-stage-toggle.entry.js +11 -7
  586. package/dist/esm/rtk-stage.entry.js +5 -6
  587. package/dist/esm/rtk-transcript.entry.js +8 -7
  588. package/dist/esm/rtk-transcripts.entry.js +14 -8
  589. package/dist/esm/rtk-ui-provider.entry.js +28 -16
  590. package/dist/esm/rtk-waiting-screen.entry.js +8 -6
  591. package/dist/{components/p-a3fc952e.js → esm/sidebar-B3trLKC3.js} +1 -1
  592. package/dist/{components/p-d5a12339.js → esm/ui-store-BtrgoOOT.js} +258 -762
  593. package/dist/realtimekit-ui/index.esm.js +1 -1
  594. package/dist/realtimekit-ui/p-04237239.entry.js +1 -0
  595. package/dist/realtimekit-ui/p-070294a1.entry.js +1 -0
  596. package/dist/realtimekit-ui/p-088325e7.entry.js +1 -0
  597. package/dist/realtimekit-ui/p-0d5719ea.entry.js +1 -0
  598. package/dist/realtimekit-ui/p-0fe1ced3.entry.js +1 -0
  599. package/dist/realtimekit-ui/p-105e4115.entry.js +1 -0
  600. package/dist/realtimekit-ui/{p-30fa04e9.entry.js → p-117f34c2.entry.js} +1 -1
  601. package/dist/realtimekit-ui/p-12fdd525.entry.js +1 -0
  602. package/dist/realtimekit-ui/{p-069cc080.entry.js → p-149c0b9c.entry.js} +1 -1
  603. package/dist/realtimekit-ui/p-15d96f62.entry.js +1 -0
  604. package/dist/realtimekit-ui/p-16fe4fca.entry.js +1 -0
  605. package/dist/realtimekit-ui/p-17690ef8.entry.js +1 -0
  606. package/dist/realtimekit-ui/p-1ae8c9ea.entry.js +1 -0
  607. package/dist/realtimekit-ui/p-1f114cc0.entry.js +1 -0
  608. package/dist/realtimekit-ui/{p-d93b1e9c.entry.js → p-213b9942.entry.js} +1 -1
  609. package/dist/realtimekit-ui/p-243e3c22.entry.js +1 -0
  610. package/dist/realtimekit-ui/p-25374ae7.entry.js +1 -0
  611. package/dist/realtimekit-ui/{p-71a44776.entry.js → p-26ba0489.entry.js} +1 -1
  612. package/dist/realtimekit-ui/p-27dcaef7.entry.js +1 -0
  613. package/dist/realtimekit-ui/p-2906e52d.entry.js +1 -0
  614. package/dist/realtimekit-ui/{p-58b2f1a1.entry.js → p-2baa2443.entry.js} +1 -1
  615. package/dist/realtimekit-ui/p-2bd8f726.entry.js +1 -0
  616. package/dist/realtimekit-ui/p-2c5a9a4d.entry.js +1 -0
  617. package/dist/realtimekit-ui/p-2f438543.entry.js +1 -0
  618. package/dist/realtimekit-ui/{p-b5f0c31d.entry.js → p-34ebceb7.entry.js} +1 -1
  619. package/dist/realtimekit-ui/p-3df3b56b.entry.js +1 -0
  620. package/dist/realtimekit-ui/{p-03db9946.entry.js → p-3f297e22.entry.js} +1 -1
  621. package/dist/realtimekit-ui/p-405addc8.entry.js +1 -0
  622. package/dist/realtimekit-ui/p-450803e1.entry.js +1 -0
  623. package/dist/realtimekit-ui/p-49f22238.entry.js +1 -0
  624. package/dist/realtimekit-ui/{p-4b9450d3.entry.js → p-49feda1f.entry.js} +1 -1
  625. package/dist/realtimekit-ui/p-4c1b7ee2.entry.js +1 -0
  626. package/dist/realtimekit-ui/{p-234a709e.entry.js → p-4f264d60.entry.js} +1 -1
  627. package/dist/realtimekit-ui/{p-64b59d46.entry.js → p-560dcff9.entry.js} +1 -1
  628. package/dist/realtimekit-ui/p-56261662.entry.js +1 -0
  629. package/dist/realtimekit-ui/p-5a1918a1.entry.js +1 -0
  630. package/dist/realtimekit-ui/p-5bd05c88.entry.js +1 -0
  631. package/dist/realtimekit-ui/p-5c5ca185.entry.js +1 -0
  632. package/dist/realtimekit-ui/p-6092b383.entry.js +1 -0
  633. package/dist/realtimekit-ui/p-650339c3.entry.js +1 -0
  634. package/dist/realtimekit-ui/p-65c856c3.entry.js +1 -0
  635. package/dist/realtimekit-ui/p-69ddb3a9.entry.js +1 -0
  636. package/dist/realtimekit-ui/p-6bc7af7a.entry.js +1 -0
  637. package/dist/realtimekit-ui/p-73bd1b57.entry.js +1 -0
  638. package/dist/realtimekit-ui/p-768c3c20.entry.js +1 -0
  639. package/dist/realtimekit-ui/p-779bd93e.entry.js +1 -0
  640. package/dist/realtimekit-ui/{p-72461b1f.entry.js → p-7d4e36b0.entry.js} +1 -1
  641. package/dist/realtimekit-ui/{p-1b26c15d.entry.js → p-7ff08b19.entry.js} +1 -1
  642. package/dist/realtimekit-ui/p-836455f1.entry.js +1 -0
  643. package/dist/realtimekit-ui/p-8dcf542b.entry.js +1 -0
  644. package/dist/realtimekit-ui/{p-91795fd7.entry.js → p-9810aada.entry.js} +1 -1
  645. package/dist/realtimekit-ui/p-9b089f06.entry.js +1 -0
  646. package/dist/realtimekit-ui/p-9b93c273.entry.js +1 -0
  647. package/dist/realtimekit-ui/p-9c5cf5a3.entry.js +1 -0
  648. package/dist/realtimekit-ui/p-9cb3685c.entry.js +1 -0
  649. package/dist/realtimekit-ui/p-B1SWgSTZ.js +1 -0
  650. package/dist/realtimekit-ui/{p-7e3c2d64.js → p-BCaKYPpD.js} +1 -1
  651. package/dist/realtimekit-ui/p-BCuMxcZN.js +1 -0
  652. package/dist/realtimekit-ui/p-BFTU3MAI.js +1 -0
  653. package/dist/realtimekit-ui/p-BIplIdLH.js +1 -0
  654. package/dist/realtimekit-ui/p-BJvHNbaa.js +1 -0
  655. package/dist/realtimekit-ui/p-BSWYrdZA.js +1 -0
  656. package/dist/realtimekit-ui/p-BWNToYSb.js +1 -0
  657. package/dist/realtimekit-ui/p-Bbls2zyp.js +1 -0
  658. package/dist/realtimekit-ui/p-C0vp-Q7v.js +1 -0
  659. package/dist/realtimekit-ui/p-C5Ah4uY5.js +1 -0
  660. package/dist/realtimekit-ui/p-CAqYddlg.js +1 -0
  661. package/dist/realtimekit-ui/{p-eccb6d78.js → p-CTFO-5XH.js} +1 -1
  662. package/dist/realtimekit-ui/p-CmmyVCoN.js +1 -0
  663. package/dist/realtimekit-ui/p-CqWk07gT.js +1 -0
  664. package/dist/realtimekit-ui/p-D9HGXWKc.js +1 -0
  665. package/dist/realtimekit-ui/p-Daj_55_i.js +1 -0
  666. package/dist/realtimekit-ui/p-Dg4b2aZr.js +1 -0
  667. package/dist/realtimekit-ui/p-DpAk_WQ6.js +1 -0
  668. package/dist/realtimekit-ui/p-DxDYE5-a.js +1 -0
  669. package/dist/realtimekit-ui/p-FdeAvICb.js +1 -0
  670. package/dist/realtimekit-ui/p-GSFejkz7.js +1 -0
  671. package/dist/realtimekit-ui/{p-3306b122.entry.js → p-a060fa07.entry.js} +1 -1
  672. package/dist/realtimekit-ui/{p-e0426f17.entry.js → p-a8b77530.entry.js} +1 -1
  673. package/dist/realtimekit-ui/p-ae94a77b.entry.js +1 -0
  674. package/dist/realtimekit-ui/p-b77aab62.entry.js +1 -0
  675. package/dist/realtimekit-ui/p-b81bfd1b.entry.js +1 -0
  676. package/dist/realtimekit-ui/p-bb7b542e.entry.js +1 -0
  677. package/dist/realtimekit-ui/p-c0fb33e4.entry.js +1 -0
  678. package/dist/realtimekit-ui/{p-88a01a0c.entry.js → p-c25c6602.entry.js} +1 -1
  679. package/dist/realtimekit-ui/p-d0baf267.entry.js +1 -0
  680. package/dist/realtimekit-ui/p-d39bd2e9.entry.js +1 -0
  681. package/dist/realtimekit-ui/p-d5ccf7d6.entry.js +1 -0
  682. package/dist/realtimekit-ui/{p-b89873a4.entry.js → p-d75ea8a3.entry.js} +1 -1
  683. package/dist/realtimekit-ui/p-db957a5c.entry.js +1 -0
  684. package/dist/realtimekit-ui/{p-d4a2594a.entry.js → p-ddd3808d.entry.js} +1 -1
  685. package/dist/realtimekit-ui/p-e0837ae7.entry.js +1 -0
  686. package/dist/realtimekit-ui/p-e12de42e.entry.js +1 -0
  687. package/dist/realtimekit-ui/p-e2f9a4fc.entry.js +1 -0
  688. package/dist/realtimekit-ui/{p-20390946.entry.js → p-e5293ed6.entry.js} +1 -1
  689. package/dist/realtimekit-ui/p-e87aa0f9.entry.js +1 -0
  690. package/dist/realtimekit-ui/p-e8823daa.entry.js +1 -0
  691. package/dist/realtimekit-ui/p-f101d6f9.entry.js +1 -0
  692. package/dist/realtimekit-ui/p-f4c228c8.entry.js +1 -0
  693. package/dist/realtimekit-ui/p-f5688e34.entry.js +1 -0
  694. package/dist/realtimekit-ui/p-fb973221.entry.js +1 -0
  695. package/dist/realtimekit-ui/p-fcde019e.entry.js +1 -0
  696. package/dist/realtimekit-ui/p-fd29249a.entry.js +1 -0
  697. package/dist/realtimekit-ui/p-gJCRRBX0.js +2 -0
  698. package/dist/realtimekit-ui/p-jvwnrxra.js +1 -0
  699. package/dist/realtimekit-ui/p-t72veIFj.js +1 -0
  700. package/dist/realtimekit-ui/p-uIA60Puf.js +1 -0
  701. package/dist/realtimekit-ui/p-vBfDtD_u.js +1 -0
  702. package/dist/realtimekit-ui/p-wWDkfcFk.js +1 -0
  703. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  704. package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -1
  705. package/dist/types/components.d.ts +1752 -255
  706. package/dist/types/stencil-public-runtime.d.ts +193 -12
  707. package/dist/types/utils/livestream.d.ts +60 -0
  708. package/dist/types/utils/sync-with-store/ui-store.d.ts +1 -1
  709. package/package.json +2 -3
  710. package/dist/cjs/ChatHead-777e6a2d.js +0 -13
  711. package/dist/cjs/debounce-6080cc73.js +0 -544
  712. package/dist/cjs/hark-c97d0a59.js +0 -301
  713. package/dist/components/p-00568bea.js +0 -159
  714. package/dist/components/p-026049ee.js +0 -81
  715. package/dist/components/p-03e354cd.js +0 -82
  716. package/dist/components/p-04ac37d4.js +0 -69
  717. package/dist/components/p-0529c72c.js +0 -218
  718. package/dist/components/p-084f7d6c.js +0 -95
  719. package/dist/components/p-08e39399.js +0 -199
  720. package/dist/components/p-0db812c2.js +0 -189
  721. package/dist/components/p-0e02697c.js +0 -85
  722. package/dist/components/p-1a7dd46a.js +0 -390
  723. package/dist/components/p-1cb276df.js +0 -104
  724. package/dist/components/p-240d48d1.js +0 -96
  725. package/dist/components/p-278a613b.js +0 -115
  726. package/dist/components/p-29e60132.js +0 -437
  727. package/dist/components/p-2f2b07a1.js +0 -168
  728. package/dist/components/p-303a7f1f.js +0 -122
  729. package/dist/components/p-32b95100.js +0 -128
  730. package/dist/components/p-32f14b1a.js +0 -260
  731. package/dist/components/p-36ad7fe2.js +0 -98
  732. package/dist/components/p-38d22d57.js +0 -11
  733. package/dist/components/p-3ae130f7.js +0 -178
  734. package/dist/components/p-3e0452c4.js +0 -48
  735. package/dist/components/p-3eedb9db.js +0 -68
  736. package/dist/components/p-3f882e7c.js +0 -299
  737. package/dist/components/p-42c2e598.js +0 -103
  738. package/dist/components/p-4351785c.js +0 -103
  739. package/dist/components/p-467abb0c.js +0 -159
  740. package/dist/components/p-48b6fb95.js +0 -327
  741. package/dist/components/p-4e02ee0f.js +0 -131
  742. package/dist/components/p-51b6f520.js +0 -43
  743. package/dist/components/p-549ab58f.js +0 -108
  744. package/dist/components/p-5654365f.js +0 -94
  745. package/dist/components/p-592cd396.js +0 -105
  746. package/dist/components/p-5995471c.js +0 -125
  747. package/dist/components/p-5c55e43b.js +0 -115
  748. package/dist/components/p-5d3174d1.js +0 -127
  749. package/dist/components/p-632cbbe7.js +0 -164
  750. package/dist/components/p-695e5dc5.js +0 -223
  751. package/dist/components/p-6a0a1a25.js +0 -101
  752. package/dist/components/p-6bd3b29c.js +0 -97
  753. package/dist/components/p-6c6cefb0.js +0 -224
  754. package/dist/components/p-70c0c7ce.js +0 -179
  755. package/dist/components/p-78db5933.js +0 -92
  756. package/dist/components/p-7d8d9693.js +0 -119
  757. package/dist/components/p-8133c228.js +0 -79
  758. package/dist/components/p-82df4307.js +0 -114
  759. package/dist/components/p-84deab1d.js +0 -126
  760. package/dist/components/p-85587a5c.js +0 -50
  761. package/dist/components/p-92ac782c.js +0 -37205
  762. package/dist/components/p-95721bd2.js +0 -159
  763. package/dist/components/p-96be6716.js +0 -120
  764. package/dist/components/p-9c89d7b1.js +0 -131
  765. package/dist/components/p-9f5d24b0.js +0 -191
  766. package/dist/components/p-a0a863fa.js +0 -61
  767. package/dist/components/p-a3c85ced.js +0 -177
  768. package/dist/components/p-a6cf88b5.js +0 -146
  769. package/dist/components/p-a83ccdbd.js +0 -40
  770. package/dist/components/p-a9d577bb.js +0 -271
  771. package/dist/components/p-ab37c121.js +0 -181
  772. package/dist/components/p-ae373651.js +0 -4028
  773. package/dist/components/p-b1a93be0.js +0 -1945
  774. package/dist/components/p-b1a9a7c4.js +0 -214
  775. package/dist/components/p-b1aeb013.js +0 -113
  776. package/dist/components/p-b29d03cf.js +0 -77
  777. package/dist/components/p-b4068392.js +0 -60
  778. package/dist/components/p-b75297d7.js +0 -299
  779. package/dist/components/p-b98fd0eb.js +0 -102
  780. package/dist/components/p-bece0226.js +0 -141
  781. package/dist/components/p-bf64e0af.js +0 -76
  782. package/dist/components/p-c3c8f309.js +0 -127
  783. package/dist/components/p-c82e13b1.js +0 -92
  784. package/dist/components/p-c9f704c4.js +0 -349
  785. package/dist/components/p-cbdd7a99.js +0 -542
  786. package/dist/components/p-cedfbbd4.js +0 -105
  787. package/dist/components/p-cf1903b1.js +0 -60
  788. package/dist/components/p-d411c80b.js +0 -463
  789. package/dist/components/p-d48b4170.js +0 -159
  790. package/dist/components/p-d83124b1.js +0 -86
  791. package/dist/components/p-de0b23a0.js +0 -210
  792. package/dist/components/p-e0129657.js +0 -201
  793. package/dist/components/p-e8809896.js +0 -147
  794. package/dist/components/p-ea359bb7.js +0 -90
  795. package/dist/components/p-ea4aa3bf.js +0 -86
  796. package/dist/components/p-ed0fad6d.js +0 -166
  797. package/dist/components/p-efabd2ce.js +0 -58
  798. package/dist/components/p-f179a6ff.js +0 -80
  799. package/dist/components/p-f867ebba.js +0 -122
  800. package/dist/components/p-f9cbb223.js +0 -127
  801. package/dist/components/p-f9f08610.js +0 -157
  802. package/dist/esm/ChatHead-148558a8.js +0 -11
  803. package/dist/esm/ResizeObserver.es-02979d4e.js +0 -928
  804. package/dist/esm/TextMessage-0ab2db20.js +0 -67
  805. package/dist/esm/browser-24d8ab3e.js +0 -3
  806. package/dist/esm/config-f3f01b9a.js +0 -352
  807. package/dist/esm/date-b1f78dea.js +0 -32
  808. package/dist/esm/debounce-0169a54d.js +0 -542
  809. package/dist/esm/debounce-430cbf00.js +0 -329
  810. package/dist/esm/file-6114f1a9.js +0 -57
  811. package/dist/esm/full-screen-d36ffc68.js +0 -50
  812. package/dist/esm/grid-a3ca5a3e.js +0 -96
  813. package/dist/esm/hark-6327d91e.js +0 -299
  814. package/dist/esm/index-3f51790f.js +0 -224
  815. package/dist/esm/index-b81ca899.js +0 -92
  816. package/dist/esm/init-error-ff5ead9a.js +0 -26
  817. package/dist/esm/join-error-e87be64a.js +0 -29
  818. package/dist/esm/merge-201ecd5c.js +0 -820
  819. package/dist/esm/notification-1ebf7700.js +0 -37
  820. package/dist/esm/scroll-2d8e810c.js +0 -13
  821. package/dist/esm/sidebar-a13dc215.js +0 -49
  822. package/dist/esm/ui-store-1bc7abc6.js +0 -4033
  823. package/dist/realtimekit-ui/p-012cd22a.entry.js +0 -1
  824. package/dist/realtimekit-ui/p-026e8157.entry.js +0 -1
  825. package/dist/realtimekit-ui/p-083e53cc.entry.js +0 -1
  826. package/dist/realtimekit-ui/p-0bd95245.entry.js +0 -1
  827. package/dist/realtimekit-ui/p-1e19ef2c.entry.js +0 -1
  828. package/dist/realtimekit-ui/p-217dcd9f.entry.js +0 -1
  829. package/dist/realtimekit-ui/p-26ffb189.entry.js +0 -1
  830. package/dist/realtimekit-ui/p-3540d2b0.entry.js +0 -1
  831. package/dist/realtimekit-ui/p-3707f1e0.entry.js +0 -1
  832. package/dist/realtimekit-ui/p-39c48b22.entry.js +0 -1
  833. package/dist/realtimekit-ui/p-3f882e7c.js +0 -1
  834. package/dist/realtimekit-ui/p-41fa7b4f.js +0 -1
  835. package/dist/realtimekit-ui/p-44fb5d40.entry.js +0 -1
  836. package/dist/realtimekit-ui/p-4564c9ff.entry.js +0 -1
  837. package/dist/realtimekit-ui/p-4ec77793.js +0 -1
  838. package/dist/realtimekit-ui/p-548f72ee.entry.js +0 -1
  839. package/dist/realtimekit-ui/p-5564adad.entry.js +0 -1
  840. package/dist/realtimekit-ui/p-5623d82e.entry.js +0 -1
  841. package/dist/realtimekit-ui/p-5862bcba.entry.js +0 -1
  842. package/dist/realtimekit-ui/p-62c4d1ba.entry.js +0 -1
  843. package/dist/realtimekit-ui/p-667c84b1.js +0 -1
  844. package/dist/realtimekit-ui/p-6b177ee6.entry.js +0 -1
  845. package/dist/realtimekit-ui/p-6c9a2464.entry.js +0 -1
  846. package/dist/realtimekit-ui/p-7649168e.entry.js +0 -1
  847. package/dist/realtimekit-ui/p-76f87172.entry.js +0 -1
  848. package/dist/realtimekit-ui/p-79060698.entry.js +0 -1
  849. package/dist/realtimekit-ui/p-7bdd688b.entry.js +0 -1
  850. package/dist/realtimekit-ui/p-7e4a3510.entry.js +0 -1
  851. package/dist/realtimekit-ui/p-80be0156.entry.js +0 -1
  852. package/dist/realtimekit-ui/p-85818728.entry.js +0 -1
  853. package/dist/realtimekit-ui/p-873a645c.entry.js +0 -1
  854. package/dist/realtimekit-ui/p-8c971978.entry.js +0 -1
  855. package/dist/realtimekit-ui/p-8cc4f116.entry.js +0 -1
  856. package/dist/realtimekit-ui/p-8edfe6fa.entry.js +0 -1
  857. package/dist/realtimekit-ui/p-8fa0ea33.entry.js +0 -1
  858. package/dist/realtimekit-ui/p-91c8f9d1.entry.js +0 -1
  859. package/dist/realtimekit-ui/p-93f88675.entry.js +0 -1
  860. package/dist/realtimekit-ui/p-9727a165.js +0 -1
  861. package/dist/realtimekit-ui/p-a0471508.entry.js +0 -1
  862. package/dist/realtimekit-ui/p-a056fd35.entry.js +0 -1
  863. package/dist/realtimekit-ui/p-a2693bee.entry.js +0 -1
  864. package/dist/realtimekit-ui/p-a47c017b.entry.js +0 -1
  865. package/dist/realtimekit-ui/p-a599f720.js +0 -2
  866. package/dist/realtimekit-ui/p-a9ab826e.entry.js +0 -1
  867. package/dist/realtimekit-ui/p-ae0bb894.js +0 -1
  868. package/dist/realtimekit-ui/p-b1a93be0.js +0 -1
  869. package/dist/realtimekit-ui/p-b27886ff.entry.js +0 -1
  870. package/dist/realtimekit-ui/p-b3f1ad3b.entry.js +0 -1
  871. package/dist/realtimekit-ui/p-b86e3e01.entry.js +0 -1
  872. package/dist/realtimekit-ui/p-bde05d24.entry.js +0 -1
  873. package/dist/realtimekit-ui/p-c57e0778.entry.js +0 -1
  874. package/dist/realtimekit-ui/p-c6a8ef1e.entry.js +0 -1
  875. package/dist/realtimekit-ui/p-c8bc3bb1.entry.js +0 -1
  876. package/dist/realtimekit-ui/p-c8f7b427.entry.js +0 -1
  877. package/dist/realtimekit-ui/p-c9d62ba7.entry.js +0 -1
  878. package/dist/realtimekit-ui/p-cbdd7a99.js +0 -1
  879. package/dist/realtimekit-ui/p-d0959773.entry.js +0 -1
  880. package/dist/realtimekit-ui/p-d59e0ecc.entry.js +0 -1
  881. package/dist/realtimekit-ui/p-d790f2be.entry.js +0 -1
  882. package/dist/realtimekit-ui/p-d7fd359f.entry.js +0 -1
  883. package/dist/realtimekit-ui/p-daf01d45.entry.js +0 -1
  884. package/dist/realtimekit-ui/p-db2a6aed.entry.js +0 -1
  885. package/dist/realtimekit-ui/p-de170ad4.entry.js +0 -1
  886. package/dist/realtimekit-ui/p-de31f5b0.entry.js +0 -1
  887. package/dist/realtimekit-ui/p-deaae495.entry.js +0 -1
  888. package/dist/realtimekit-ui/p-e59cc7d0.entry.js +0 -1
  889. package/dist/realtimekit-ui/p-ea03b1a0.entry.js +0 -1
  890. package/dist/realtimekit-ui/p-ede50497.entry.js +0 -1
  891. package/dist/realtimekit-ui/p-f47d4fe8.js +0 -1
  892. package/dist/realtimekit-ui/p-f52fdfb4.entry.js +0 -1
  893. package/dist/realtimekit-ui/p-fd80c28e.entry.js +0 -1
  894. package/dist/realtimekit-ui/p-ff971eea.entry.js +0 -1
  895. package/loader/package.json +0 -11
  896. /package/dist/cjs/{ResizeObserver.es-ba961f16.js → ResizeObserver.es-26EdCpEA.js} +0 -0
  897. /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
  898. /package/dist/cjs/{browser-5538db4d.js → browser-qKzDfwbO.js} +0 -0
  899. /package/dist/cjs/{date-61ffcd0a.js → date-CObAPgSZ.js} +0 -0
  900. /package/dist/cjs/{full-screen-b02d13dd.js → full-screen-BRlJJI9n.js} +0 -0
  901. /package/dist/cjs/{grid-edc342a7.js → grid-D_7WOWNI.js} +0 -0
  902. /package/dist/cjs/{init-error-70ccf3b6.js → init-error-DIWXbjwA.js} +0 -0
  903. /package/dist/cjs/{join-error-c1eed98e.js → join-error-CZSJQxsP.js} +0 -0
  904. /package/dist/cjs/{scroll-c6404609.js → scroll-uQ4eWvC-.js} +0 -0
  905. /package/dist/cjs/{string-9bce3253.js → string-C1A6N-tA.js} +0 -0
  906. /package/dist/{realtimekit-ui/p-0752f2ba.js → components/p-BIplIdLH.js} +0 -0
  907. /package/dist/{realtimekit-ui/p-05186172.js → components/p-CAqYddlg.js} +0 -0
  908. /package/dist/{realtimekit-ui/p-b13ddb7d.js → components/p-CmmyVCoN.js} +0 -0
  909. /package/dist/{realtimekit-ui/p-3974d97a.js → components/p-GSFejkz7.js} +0 -0
  910. /package/dist/{realtimekit-ui/p-382270d8.js → components/p-jvwnrxra.js} +0 -0
  911. /package/dist/{realtimekit-ui/p-f7c2daba.js → components/p-vBfDtD_u.js} +0 -0
  912. /package/dist/{realtimekit-ui/p-cfa0b5c7.js → components/p-wWDkfcFk.js} +0 -0
  913. /package/dist/{components/p-f47d4fe8.js → esm/ResizeObserver.es-FdeAvICb.js} +0 -0
  914. /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
  915. /package/dist/{components/p-05186172.js → esm/browser-CAqYddlg.js} +0 -0
  916. /package/dist/{components/p-382270d8.js → esm/date-jvwnrxra.js} +0 -0
  917. /package/dist/{components/p-3974d97a.js → esm/full-screen-GSFejkz7.js} +0 -0
  918. /package/dist/{components/p-b13ddb7d.js → esm/grid-CmmyVCoN.js} +0 -0
  919. /package/dist/{components/p-cfa0b5c7.js → esm/init-error-wWDkfcFk.js} +0 -0
  920. /package/dist/{components/p-f7c2daba.js → esm/join-error-vBfDtD_u.js} +0 -0
  921. /package/dist/{components/p-0752f2ba.js → esm/scroll-BIplIdLH.js} +0 -0
  922. /package/dist/esm/{string-068ce30a.js → string-vBD2htwQ.js} +0 -0
  923. /package/dist/realtimekit-ui/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
  924. /package/dist/realtimekit-ui/{p-6f211c3e.js → p-vBD2htwQ.js} +0 -0
@@ -1,115 +0,0 @@
1
- import { p as proxyCustomElement, H, h, c as Host } from './p-ae373651.js';
2
- import { e as defaultIconPack, i as useLanguage } from './p-d5a12339.js';
3
- import { S as SyncWithStore } from './p-bd10fae6.js';
4
- import { d as defineCustomElement$2 } from './p-3e0452c4.js';
5
- import { d as defineCustomElement$1 } from './p-bece0226.js';
6
-
7
- const rtkSpotlightIndicatorCss = ":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{font-size:12px}#sync-button{flex-direction:row;border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-1, 4px);display:flex;align-items:center;justify-content:center;margin-bottom:var(--rtk-space-1, 4px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) rtk-tooltip,:host([size='md']) rtk-tooltip{width:100%}:host([size='sm'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px);padding-left:var(--rtk-space-0, 0px)}:host([size='md'])>#sync-button{height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}:host([size='lg'])>#sync-button{flex-direction:row;height:var(--rtk-space-8, 32px);width:var(--rtk-space-16, 64px)}@media (orientation: portrait){:host([size='lg']) #sync-button{flex-direction:column-reverse;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='md']) #sync-button{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px)}:host([size='sm']) #sync-button{height:var(--rtk-space-10, 40px);width:var(--rtk-space-16, 64px);flex-direction:row}}#sync-button>rtk-icon{max-height:14px}#sync-button rtk-icon{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']) #sync-button>rtk-icon{width:auto}#sync-button.active rtk-icon{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}div{align-content:center;line-height:2rem}rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-8, 32px)}#sync-button.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-bg-opacity))}";
8
- const RtkSpotlightIndicatorStyle0 = rtkSpotlightIndicatorCss;
9
-
10
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
11
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
12
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
13
- r = Reflect.decorate(decorators, target, key, desc);
14
- else
15
- for (var i = decorators.length - 1; i >= 0; i--)
16
- if (d = decorators[i])
17
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- const RtkSpotlightIndicator = /*@__PURE__*/ proxyCustomElement(class RtkSpotlightIndicator extends H {
21
- constructor() {
22
- super();
23
- this.__registerHost();
24
- this.__attachShadow();
25
- /** Icon pack */
26
- this.iconPack = defaultIconPack;
27
- /** Language */
28
- this.t = useLanguage();
29
- this.permissionsUpdateListener = () => {
30
- this.canSpotlight = this.meeting.self.permissions.canSpotlight;
31
- };
32
- }
33
- connectedCallback() {
34
- this.meetingChanged(this.meeting);
35
- }
36
- disconnectedCallback() {
37
- var _a;
38
- (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.permissions.removeListener('permissionsUpdate', this.permissionsUpdateListener);
39
- }
40
- meetingChanged(meeting) {
41
- var _a, _b;
42
- if (meeting != null) {
43
- this.canSpotlight = meeting.self.permissions.canSpotlight;
44
- this.isSpotlighted = (_b = (_a = meeting.meta) === null || _a === void 0 ? void 0 : _a.broadcastTabChanges) !== null && _b !== void 0 ? _b : false;
45
- meeting.self.permissions.addListener('permissionsUpdate', this.permissionsUpdateListener);
46
- }
47
- }
48
- updateSpotlightState(shouldBroadcastTabChanges) {
49
- var _a;
50
- try {
51
- (_a = this.meeting.meta) === null || _a === void 0 ? void 0 : _a.setBroadcastTabChanges(shouldBroadcastTabChanges);
52
- this.isSpotlighted = shouldBroadcastTabChanges;
53
- }
54
- catch (e) {
55
- // eslint-disable-next-line no-console
56
- console.error(e);
57
- }
58
- }
59
- render() {
60
- if (!this.canSpotlight)
61
- return;
62
- return (h(Host, null, h("rtk-tooltip", { size: 'md', label: this.t('remote_access.indicator') }, h("div", { id: "sync-button", class: {
63
- tab: true,
64
- active: this.isSpotlighted,
65
- }, onClick: () => this.updateSpotlightState(!this.isSpotlighted) }, h("span", { class: "name" }, "Sync"), h("rtk-icon", { id: "icon", icon: this.isSpotlighted ? this.iconPack.checkmark : this.iconPack.warning, tabIndex: -1, "aria-hidden": true })))));
66
- }
67
- static get watchers() { return {
68
- "meeting": ["meetingChanged"]
69
- }; }
70
- static get style() { return RtkSpotlightIndicatorStyle0; }
71
- }, [1, "rtk-spotlight-indicator", {
72
- "meeting": [16],
73
- "iconPack": [16],
74
- "t": [16],
75
- "size": [513],
76
- "canSpotlight": [32],
77
- "isSpotlighted": [32]
78
- }, undefined, {
79
- "meeting": ["meetingChanged"]
80
- }]);
81
- __decorate([
82
- SyncWithStore()
83
- ], RtkSpotlightIndicator.prototype, "meeting", void 0);
84
- __decorate([
85
- SyncWithStore()
86
- ], RtkSpotlightIndicator.prototype, "iconPack", void 0);
87
- __decorate([
88
- SyncWithStore()
89
- ], RtkSpotlightIndicator.prototype, "t", void 0);
90
- function defineCustomElement() {
91
- if (typeof customElements === "undefined") {
92
- return;
93
- }
94
- const components = ["rtk-spotlight-indicator", "rtk-icon", "rtk-tooltip"];
95
- components.forEach(tagName => { switch (tagName) {
96
- case "rtk-spotlight-indicator":
97
- if (!customElements.get(tagName)) {
98
- customElements.define(tagName, RtkSpotlightIndicator);
99
- }
100
- break;
101
- case "rtk-icon":
102
- if (!customElements.get(tagName)) {
103
- defineCustomElement$2();
104
- }
105
- break;
106
- case "rtk-tooltip":
107
- if (!customElements.get(tagName)) {
108
- defineCustomElement$1();
109
- }
110
- break;
111
- } });
112
- }
113
- defineCustomElement();
114
-
115
- export { RtkSpotlightIndicator as R, defineCustomElement as d };
@@ -1,437 +0,0 @@
1
- import { p as proxyCustomElement, H, h, c as Host } from './p-ae373651.js';
2
- import { e as defaultIconPack, i as useLanguage } from './p-d5a12339.js';
3
- import { S as SyncWithStore } from './p-bd10fae6.js';
4
- import { d as defineCustomElement$3 } from './p-85587a5c.js';
5
- import { d as defineCustomElement$2 } from './p-3e0452c4.js';
6
- import { d as defineCustomElement$1 } from './p-cf1903b1.js';
7
- import { d as debounce } from './p-1dca17d1.js';
8
-
9
- const rtkPaginatedListCss = ".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)))}:host{position:relative;display:flex;flex-direction:column;flex:1}:host(.chat-selector-paginated-list) .container{box-sizing:border-box;display:flex;flex-direction:column;padding:var(--rtk-space-2, 8px);flex:1 0 0px;overflow-y:scroll}:host(.chat-selector-paginated-list) .private-chat-label{display:flex;width:100%;cursor:pointer;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px)}:host(.chat-selector-paginated-list) .private-chat-label rtk-avatar{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host(.chat-selector-paginated-list) .show-new-messages-ctr.active{display:none}.private-chat-unread-badge{height:var(--rtk-space-2, 8px);width:var(--rtk-space-2, 8px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host(.pinned-message-selector-paginated-list) .container{box-sizing:border-box;display:flex;flex-direction:column-reverse;padding:var(--rtk-space-2, 8px);flex:1 0 0px;overflow-y:scroll}:host(.pinned-message-selector-paginated-list) .page{position:relative;box-sizing:border-box}:host(.pinned-message-selector-paginated-list) .pinned-message{box-sizing:border-box;display:flex;width:100%;cursor:pointer;flex-direction:row;overflow:hidden;border-radius:var(--rtk-border-radius-sm, 4px)}:host(.pinned-message-selector-paginated-list) .pinned-message:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host(.pinned-message-selector-paginated-list) .pinned-message-container{display:flex;width:100%;flex-direction:row;align-items:flex-start;padding:var(--rtk-space-2, 8px)}:host(.pinned-message-selector-paginated-list) .pinned-message-content{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);display:flex;min-width:var(--rtk-space-0, 0px);flex:1 1 0%;flex-direction:column}:host(.pinned-message-selector-paginated-list) .pinned-message-time{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}:host(.pinned-message-selector-paginated-list) .pinned-message-preview{margin-bottom:var(--rtk-space-2, 8px);word-break:break-all;color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}:host(.pinned-message-selector-paginated-list) rtk-avatar{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}.container{box-sizing:border-box;display:flex;flex-direction:column-reverse;padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);flex:1 0 0px;overflow-y:scroll}.file-picker{display:none}.chat *:first-child{margin-top:var(--rtk-space-0, 0px)}.chat .head{display:flex;align-items:center}.chat .head .name{margin-right:var(--rtk-space-4, 16px);font-size:12px;font-weight:700}.chat .head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat .body{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);overflow-wrap:break-word;font-size:14px;line-height:1.375}.chat .body .emoji{font-size:24px}p{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px)}rtk-text-message,rtk-image-message,rtk-file-message{margin-top:var(--rtk-space-4, 16px);display:block;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}*[is-continued]{margin-top:var(--rtk-space-3, 12px)}rtk-text-message[is-continued]{margin-top:var(--rtk-space-2, 8px)}.chat .image{position:relative;height:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);cursor:pointer}.chat .image img{display:none;height:100%;width:100%;border-radius:var(--rtk-border-radius-sm, 4px);-o-object-fit:cover;object-fit:cover}.chat .image .image-spinner{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.chat .image .image-spinner rtk-spinner{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat .image .image-errored{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.chat .image .actions{display:none;height:var(--rtk-space-8, 32px);align-items:center;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-none, 0);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;--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)}.chat .image .actions .action:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.image.loaded img{display:block}.image.loaded .image-spinner{display:none}.image:hover .actions,.image:focus .actions{display:flex}.chat .file{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-1\\.5, 6px);padding-bottom:var(--rtk-space-1\\.5, 6px);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));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.chat .file .file-data{flex:1 1 0%}.chat .file .file-data .name{word-break:break-all;color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split{margin-top:var(--rtk-space-0\\.5, 2px);display:flex;align-items:center;font-size:12px}.chat .file .file-data .file-data-split .ext{margin-right:var(--rtk-space-2, 8px);text-transform:uppercase;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split .divider{height:var(--rtk-space-4, 16px);width:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.chat .file .file-data .file-data-split .size{margin-left:var(--rtk-space-2, 8px)}.smallest-dom-element{width:1px}#top-scroll{transform:translateY(20vh);transform:translateY(20px)}a{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));text-decoration-line:none}a:hover{text-decoration-line:underline}.show-new-messages-ctr{position:absolute;bottom:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);z-index:10;margin-top:calc(var(--rtk-space-14, 56px) * -1);--tw-translate-y:var(--rtk-space-28, 112px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.show-new-messages-ctr.active{--tw-translate-y:var(--rtk-space-0, 0px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;opacity:1}.show-new-messages{pointer-events:auto;border-radius:9999px}.show-new-messages:hover{border-radius:9999px;--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(2px + 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);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-ring-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}rtk-spinner,.empty-list{margin:auto}.page-wrapper{margin-left:var(--rtk-space-1, 4px);margin-right:var(--rtk-space-1, 4px);display:flex;flex-direction:column-reverse}.message-wrapper{margin-bottom:var(--rtk-space-2, 8px)}.pinned .message-wrapper{position:relative}.pinned .pin-icon{position:absolute;right:calc(var(--rtk-space-1, 4px) * -1);top:calc(var(--rtk-space-1, 4px) * -1);display:flex;border-radius:var(--rtk-border-radius-sm, 4px)}.pinned rtk-message-view{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}.load-more-on-top-container{pointer-events:none;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-4, 16px);z-index:10}.load-more-icon{pointer-events:auto;border-radius:9999px}.load-more-icon:hover{--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(2px + 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);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-ring-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";
10
- const RtkPaginatedListStyle0 = rtkPaginatedListCss;
11
-
12
- /**
13
- * NOTE(ikabra): INFINITE SCROLL IMPLEMENTATION:
14
- *
15
- * Uses scrollend listener for 2way scrolling.
16
- * Empty divs ($topRef, $bottomRef) act as scroll triggers to fetch new messages.
17
- *
18
- * UPWARD SCROLLING:
19
- * - Fetch top anchor (element currently visible to the user near top)
20
- * - Fetch older messages, push to end of 2D array
21
- * - When exceeding pagesAllowed, delete pages and scroll back to anchor
22
- *
23
- * DOWNWARD SCROLLING:
24
- * - Fetch bottom anchor (element currently visible to the user near bottom)
25
- * - Fetch new page, insert at the start
26
- * - Update timestamps & firstEmptyIndex, then rerender
27
- * - When exceeding pagesAllowed, delete pages and scroll back to anchor
28
- *
29
- * ADDING NEW NODES:
30
- * - If no pages exist, load old page
31
- * - If on 1st page, append messages till page size is full and then load new page
32
- *
33
- * DELETE NODE:
34
- * - If deleting the only available node, reset to initial state
35
- * - If page is empty, delete it
36
- * - Update timestamp curors
37
- */
38
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
39
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
40
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
41
- r = Reflect.decorate(decorators, target, key, desc);
42
- else
43
- for (var i = decorators.length - 1; i >= 0; i--)
44
- if (d = decorators[i])
45
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
46
- return c > 3 && r && Object.defineProperty(target, key, r), r;
47
- };
48
- const RtkPaginatedList = /*@__PURE__*/ proxyCustomElement(class RtkPaginatedList extends H {
49
- constructor() {
50
- super();
51
- this.__registerHost();
52
- this.__attachShadow();
53
- // Timestamp pertaining to the oldest stored message
54
- this.oldestPaginatedTimestamp = 0;
55
- // Timestamp pertaining to the latest stored message
56
- this.latestPaginatedTimestamp = null;
57
- // Timestamp pertaining to the latest message stored in backend
58
- this.latestMessageTimestamp = null;
59
- // the length of pages will always be pageSize + 2
60
- this.pages = [];
61
- // Controls whether to keep auto-scrolling when a new page load.
62
- this.shouldScrollToBottom = false;
63
- // Shows "scroll to bottom" button when new nodes arrive and autoscroll is off.
64
- this.showNewMessagesCTR = false;
65
- /** label to show when empty */
66
- this.emptyListLabel = null;
67
- /** Icon pack */
68
- this.iconPack = defaultIconPack;
69
- /** Language */
70
- this.t = useLanguage();
71
- this.rerenderBoolean = false;
72
- this.showEmptyListLabel = false;
73
- this.isLoading = false;
74
- this.isLoadingTop = false;
75
- this.isLoadingBottom = false;
76
- // Tells us if we need to scroll to a specific anchor after a rerender
77
- this.pendingScrollAnchor = null;
78
- this.isInView = (el) => {
79
- const rect = el.getBoundingClientRect();
80
- return rect.top >= 0 && rect.bottom <= window.innerHeight;
81
- };
82
- }
83
- /**
84
- * Rerender paginated list
85
- */
86
- async rerenderList() {
87
- this.rerenderBoolean = !this.rerenderBoolean;
88
- }
89
- /**
90
- * Adds a new node to the beginning of the paginated list
91
- * @param {DataNode} node - The data node to add to the beginning of the list
92
- */
93
- async onNewNode(node) {
94
- // if there are no pages, append to the first page
95
- if (this.pages.length < 1) {
96
- this.oldestPaginatedTimestamp = node.timeMs;
97
- this.pages.unshift([node]);
98
- this.latestPaginatedTimestamp = node.timeMs;
99
- this.latestMessageTimestamp = node.timeMs;
100
- this.rerender();
101
- if (this.autoScroll)
102
- this.$bottomRef.scrollIntoView({ behavior: 'smooth' });
103
- }
104
- else if (this.latestMessageTimestamp === this.latestPaginatedTimestamp) {
105
- // append messages to the page if page has not reached full capacity
106
- if (this.pages[0].length < this.pageSize) {
107
- this.pages[0].unshift(node);
108
- this.latestPaginatedTimestamp = node.timeMs;
109
- this.latestMessageTimestamp = node.timeMs;
110
- this.rerender();
111
- }
112
- else {
113
- // if page is at full capacity, load next page
114
- this.pages.unshift([node]);
115
- this.latestPaginatedTimestamp = node.timeMs;
116
- this.latestMessageTimestamp = node.timeMs;
117
- // remove pages if out of bounds
118
- if (this.pages.length > this.pagesAllowed)
119
- this.pages.pop();
120
- // update timestamps
121
- const lastPage = this.pages[this.pages.length - 1];
122
- this.oldestPaginatedTimestamp = lastPage[lastPage.length - 1].timeMs;
123
- this.rerender();
124
- }
125
- if (this.autoScroll)
126
- this.$bottomRef.scrollIntoView({ behavior: 'smooth' });
127
- }
128
- else {
129
- if (this.autoScroll)
130
- this.scrollToBottom();
131
- }
132
- this.pendingScrollAnchor = null;
133
- }
134
- /**
135
- * Deletes a node anywhere from the list
136
- * @param {string} id - The id of the node to delete
137
- * */
138
- async onNodeDelete(id) {
139
- var _a, _b;
140
- for (let i = this.pages.length - 1; i >= 0; i--) {
141
- const index = this.pages[i].findIndex((node) => node.id === id);
142
- // if message not found, move on
143
- if (index === -1)
144
- continue;
145
- // delete message
146
- this.pages[i].splice(index, 1);
147
- // if page is empty, delete it
148
- if (this.pages[i].length === 0)
149
- this.pages.splice(i, 1);
150
- // update timestamps
151
- const firstPage = this.pages[0];
152
- const lastPage = this.pages[this.pages.length - 1];
153
- this.latestPaginatedTimestamp = (_a = firstPage === null || firstPage === void 0 ? void 0 : firstPage[0]) === null || _a === void 0 ? void 0 : _a.timeMs;
154
- this.oldestPaginatedTimestamp = (_b = lastPage === null || lastPage === void 0 ? void 0 : lastPage[lastPage.length - 1]) === null || _b === void 0 ? void 0 : _b.timeMs;
155
- // if I have deleted the latest message, update latestMessageTimestamp
156
- if (index === 0 && i === 0)
157
- this.latestMessageTimestamp = this.latestPaginatedTimestamp;
158
- this.rerender();
159
- break;
160
- }
161
- }
162
- /**
163
- * Updates a new node anywhere in the list
164
- * @param {string} id - The id of the node to update
165
- * @param {DataNode} node - The updated data node
166
- * */
167
- async onNodeUpdate(id, node) {
168
- for (let i = this.pages.length - 1; i >= 0; i--) {
169
- const index = this.pages[i].findIndex((node) => node.id === id);
170
- // if message not found, move on
171
- if (index === -1)
172
- continue;
173
- // edit message
174
- this.pages[i][index] = Object.assign(Object.assign({}, this.pages[i][index]), node);
175
- this.rerender();
176
- break;
177
- }
178
- }
179
- /**
180
- * Resets the paginated list to a given timestamp
181
- */
182
- async reset(timestamp = 0) {
183
- this.oldestPaginatedTimestamp = timestamp;
184
- this.latestPaginatedTimestamp = null;
185
- this.pages = [];
186
- this.shouldScrollToBottom = false;
187
- this.showNewMessagesCTR = false;
188
- this.pendingScrollAnchor = null;
189
- this.isLoading = false;
190
- this.isLoadingTop = false;
191
- this.isLoadingBottom = false;
192
- if (timestamp === 0) {
193
- // preserve latestMessageTimestamp if reseting to a particular message
194
- this.latestMessageTimestamp = null;
195
- }
196
- this.rerender();
197
- await this.loadPrevPage();
198
- }
199
- connectedCallback() {
200
- this.rerender = debounce(this.rerender.bind(this), 50, { maxWait: 200 });
201
- }
202
- componentDidLoad() {
203
- // initial load
204
- this.loadPrevPage();
205
- if (this.$containerRef) {
206
- this.$containerRef.onscrollend = async () => {
207
- // do not do anything if we are scrolling to bottom
208
- if (this.shouldScrollToBottom)
209
- return;
210
- // handle top and bottom scroll
211
- if (this.isInView(this.$bottomRef) &&
212
- this.latestMessageTimestamp > this.latestPaginatedTimestamp) {
213
- await this.loadNextPage();
214
- }
215
- else if (this.isInView(this.$topRef)) {
216
- this.showNewMessagesCTR = true;
217
- await this.loadPrevPage();
218
- }
219
- };
220
- }
221
- }
222
- componentDidRender() {
223
- if (!this.pendingScrollAnchor)
224
- return;
225
- const anchor = this.pendingScrollAnchor;
226
- this.pendingScrollAnchor = null;
227
- this.restoreScrollToAnchor(anchor);
228
- }
229
- async loadPrevPage() {
230
- if (this.isLoading)
231
- return;
232
- const scrollAnchor = this.getScrollAnchor('top');
233
- // if old timestamp is 0, it means we are at initial state
234
- if (this.oldestPaginatedTimestamp === 0)
235
- this.oldestPaginatedTimestamp = new Date().getTime();
236
- // load data
237
- this.isLoading = true;
238
- this.isLoadingTop = true;
239
- const data = await this.fetchData(this.oldestPaginatedTimestamp - 1, this.pageSize, true);
240
- this.isLoading = false;
241
- this.isLoadingTop = false;
242
- // no more old messages to show, we are at the top of the page
243
- if (!data.length)
244
- return;
245
- // add old data to the end of the array
246
- this.pages.push(data);
247
- // clear old pages when we reach the limit
248
- if (this.pages.length > this.pagesAllowed)
249
- this.pages.shift();
250
- // update timestamps
251
- const lastPage = this.pages[this.pages.length - 1];
252
- this.oldestPaginatedTimestamp = lastPage[lastPage.length - 1].timeMs;
253
- this.latestPaginatedTimestamp = this.pages[0][0].timeMs;
254
- if (!this.latestMessageTimestamp)
255
- this.latestMessageTimestamp = this.latestPaginatedTimestamp;
256
- this.rerender();
257
- // fix scroll position
258
- if (scrollAnchor)
259
- this.pendingScrollAnchor = scrollAnchor;
260
- }
261
- async loadNextPage() {
262
- if (this.isLoading)
263
- return [];
264
- // Do nothing. New timestamp needs to be assigned by loadPrevPage method
265
- if (!this.latestPaginatedTimestamp) {
266
- this.showNewMessagesCTR = false;
267
- return [];
268
- }
269
- this.isLoading = true;
270
- this.isLoadingBottom = true;
271
- const scrollAnchor = this.getScrollAnchor('bottom');
272
- const data = await this.fetchData(this.latestPaginatedTimestamp + 1, this.pageSize, false);
273
- this.isLoading = false;
274
- this.isLoadingBottom = false;
275
- // no more new messages to load
276
- if (!data.length) {
277
- this.latestMessageTimestamp = this.latestPaginatedTimestamp;
278
- this.showNewMessagesCTR = false;
279
- return [];
280
- }
281
- // load new messages and append to the start
282
- const incoming = [...data].reverse();
283
- if (this.pages.length === 0)
284
- this.pages.unshift([]);
285
- const firstPage = this.pages[0];
286
- const spaceInFirstPage = this.pageSize - firstPage.length;
287
- if (spaceInFirstPage > 0) {
288
- const toFill = incoming.splice(0, spaceInFirstPage);
289
- firstPage.unshift(...toFill);
290
- }
291
- while (incoming.length > 0) {
292
- this.pages.unshift(incoming.splice(0, this.pageSize));
293
- }
294
- // remove pages if out of bounds
295
- if (this.pages.length > this.pagesAllowed)
296
- this.pages.pop();
297
- // update timestamps
298
- const lastPage = this.pages[this.pages.length - 1];
299
- this.oldestPaginatedTimestamp = lastPage[lastPage.length - 1].timeMs;
300
- this.latestPaginatedTimestamp = this.pages[0][0].timeMs;
301
- this.rerender();
302
- this.pendingScrollAnchor = scrollAnchor;
303
- return data;
304
- }
305
- // Find the element that is closest to the top/bottom of the container
306
- getScrollAnchor(edge = 'top') {
307
- if (!this.$containerRef)
308
- return null;
309
- const containerRect = this.$containerRef.getBoundingClientRect();
310
- const candidates = Array.from(this.$containerRef.querySelectorAll('[id]')).filter((el) => el.id !== 'top-scroll' && el.id !== 'bottom-scroll');
311
- let best = null;
312
- for (const el of candidates) {
313
- const rect = el.getBoundingClientRect();
314
- const isVisibleInContainer = rect.bottom > containerRect.top && rect.top < containerRect.bottom;
315
- if (!isVisibleInContainer)
316
- continue;
317
- if (edge === 'top') {
318
- const offsetTop = rect.top - containerRect.top;
319
- if (best == null || (best.edge === 'top' && offsetTop < best.offsetTop)) {
320
- best = { id: el.id, edge: 'top', offsetTop };
321
- }
322
- }
323
- else {
324
- const offsetBottom = containerRect.bottom - rect.bottom;
325
- if (best == null || (best.edge === 'bottom' && offsetBottom < best.offsetBottom)) {
326
- best = { id: el.id, edge: 'bottom', offsetBottom };
327
- }
328
- }
329
- }
330
- return best;
331
- }
332
- //instant scroll to anchor to make sure we are at the same position after a rerender
333
- restoreScrollToAnchor(anchor) {
334
- if (!this.$containerRef)
335
- return;
336
- // make element id safe to use inside a CSS selector
337
- const escapeId = (id) => {
338
- var _a;
339
- const cssEscape = (_a = globalThis.CSS) === null || _a === void 0 ? void 0 : _a.escape;
340
- return typeof cssEscape === 'function'
341
- ? cssEscape(id)
342
- : id.replace(/[^a-zA-Z0-9_-]/g, '\\$&');
343
- };
344
- const el = this.$containerRef.querySelector(`#${escapeId(anchor.id)}`);
345
- if (!el)
346
- return;
347
- const containerRect = this.$containerRef.getBoundingClientRect();
348
- const rect = el.getBoundingClientRect();
349
- if (anchor.edge === 'top') {
350
- const newOffsetTop = rect.top - containerRect.top;
351
- this.$containerRef.scrollTop += newOffsetTop - anchor.offsetTop;
352
- }
353
- else {
354
- const newOffsetBottom = containerRect.bottom - rect.bottom;
355
- this.$containerRef.scrollTop += anchor.offsetBottom - newOffsetBottom;
356
- }
357
- }
358
- // this method is called recursively based on shouldScrollToBottom (see loadNextPage)
359
- async scrollToBottom() {
360
- this.shouldScrollToBottom = true;
361
- while (this.shouldScrollToBottom) {
362
- const response = await this.loadNextPage();
363
- this.$bottomRef.scrollIntoView({ behavior: 'smooth' });
364
- if (response.length === 0)
365
- this.shouldScrollToBottom = false;
366
- }
367
- }
368
- rerender() {
369
- this.rerenderBoolean = !this.rerenderBoolean;
370
- }
371
- render() {
372
- var _a;
373
- /**
374
- * div.container is flex=column-reversewhich is why div#bottom-scroll comes before div#top-scroll
375
- */
376
- return (h(Host, { key: 'bff4fc91b737334c5764e690fbf2adafa1444408' }, h("div", { key: 'f4efa98ef0bd178602ee03718d35fcb833487909', class: "scrollbar container", part: "container", ref: (el) => (this.$containerRef = el) }, h("div", { key: '37403f6462812a6662efa9577ae9ed43d27f63d6', class: { 'show-new-messages-ctr': true, active: this.showNewMessagesCTR } }, h("rtk-button", { key: 'ee7e04e6281370dddb1b1e10b753e96dc602d42a', class: "show-new-messages", kind: "icon", variant: "secondary", part: "show-new-messages", onClick: () => {
377
- this.scrollToBottom();
378
- } }, this.shouldScrollToBottom ? (h("rtk-spinner", { size: "sm" })) : (h("rtk-icon", { icon: this.iconPack.chevron_down })))), h("div", { key: '91bcdadd2518313fa06306a172575f5acc786596', class: "smallest-dom-element", id: "bottom-scroll", ref: (el) => (this.$bottomRef = el) }), this.isLoadingBottom && this.pages.length > 0 && h("rtk-spinner", { key: '932af19af69c3ecd5af22dd3051a5eea5cb25e7a', size: "sm" }), this.isLoading && this.pages.length < 1 && h("rtk-spinner", { key: '9fa60fb784a09800a32a3accdc81d940476330d2', size: "lg" }), !this.isLoading && this.pages.flat().length === 0 ? (h("div", { class: "empty-list" }, (_a = this.emptyListLabel) !== null && _a !== void 0 ? _a : this.t('list.empty'))) : (h("div", { class: "page-wrapper" }, this.pages.map((page, pageIndex) => (h("div", { class: "page", "data-page-index": pageIndex }, this.createNodes([...page].reverse())))))), this.isLoadingTop && this.pages.length > 0 && h("rtk-spinner", { key: '73103f58338bdb89be69f9f6dc742e3cdd2c95d8', size: "sm" }), h("div", { key: '9c4c43ffb6442d58040448fe1b2d7332505fc81e', class: "smallest-dom-element", id: "top-scroll", ref: (el) => (this.$topRef = el) }))));
379
- }
380
- static get style() { return RtkPaginatedListStyle0; }
381
- }, [1, "rtk-paginated-list", {
382
- "pageSize": [2, "page-size"],
383
- "pagesAllowed": [2, "pages-allowed"],
384
- "emptyListLabel": [1, "empty-list-label"],
385
- "fetchData": [16],
386
- "createNodes": [16],
387
- "autoScroll": [4, "auto-scroll"],
388
- "iconPack": [16],
389
- "t": [16],
390
- "rerenderBoolean": [32],
391
- "showEmptyListLabel": [32],
392
- "isLoading": [32],
393
- "isLoadingTop": [32],
394
- "isLoadingBottom": [32],
395
- "rerenderList": [64],
396
- "onNewNode": [64],
397
- "onNodeDelete": [64],
398
- "onNodeUpdate": [64],
399
- "reset": [64]
400
- }]);
401
- __decorate([
402
- SyncWithStore()
403
- ], RtkPaginatedList.prototype, "iconPack", void 0);
404
- __decorate([
405
- SyncWithStore()
406
- ], RtkPaginatedList.prototype, "t", void 0);
407
- function defineCustomElement() {
408
- if (typeof customElements === "undefined") {
409
- return;
410
- }
411
- const components = ["rtk-paginated-list", "rtk-button", "rtk-icon", "rtk-spinner"];
412
- components.forEach(tagName => { switch (tagName) {
413
- case "rtk-paginated-list":
414
- if (!customElements.get(tagName)) {
415
- customElements.define(tagName, RtkPaginatedList);
416
- }
417
- break;
418
- case "rtk-button":
419
- if (!customElements.get(tagName)) {
420
- defineCustomElement$3();
421
- }
422
- break;
423
- case "rtk-icon":
424
- if (!customElements.get(tagName)) {
425
- defineCustomElement$2();
426
- }
427
- break;
428
- case "rtk-spinner":
429
- if (!customElements.get(tagName)) {
430
- defineCustomElement$1();
431
- }
432
- break;
433
- } });
434
- }
435
- defineCustomElement();
436
-
437
- export { RtkPaginatedList as R, defineCustomElement as d };