@cloudflare/realtimekit-ui 0.0.0 → 1.0.0-staging.10

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 (1229) hide show
  1. package/README.md +62 -0
  2. package/dist/browser.js +1 -0
  3. package/dist/cjs/ChatHead-d2f094ec.js +46 -0
  4. package/dist/cjs/ResizeObserver.es-ba961f16.js +930 -0
  5. package/dist/cjs/TextMessage-e9ca06aa.js +69 -0
  6. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  7. package/dist/cjs/chat-46e7e4fe.js +217 -0
  8. package/dist/cjs/clone-2e9a4cae.js +754 -0
  9. package/dist/cjs/config-dba24e25.js +1183 -0
  10. package/dist/cjs/debounce-6080cc73.js +544 -0
  11. package/dist/cjs/debounce-6dabb441.js +331 -0
  12. package/dist/cjs/file-33e9ed90.js +61 -0
  13. package/dist/cjs/floating-ui.dom.esm-c3c35b98.js +1900 -0
  14. package/dist/cjs/full-screen-de3e9caf.js +55 -0
  15. package/dist/cjs/grid-edc342a7.js +99 -0
  16. package/dist/cjs/hark-c97d0a59.js +301 -0
  17. package/dist/cjs/index-05554ce6.js +2191 -0
  18. package/dist/cjs/index-821d14b7.js +227 -0
  19. package/dist/cjs/index-daae8cee.js +26 -0
  20. package/dist/cjs/index.cjs.js +268 -0
  21. package/dist/cjs/isObjectLike-73d13a39.js +171 -0
  22. package/dist/cjs/keysIn-8bdbe83d.js +1438 -0
  23. package/dist/cjs/loader.cjs.js +15 -0
  24. package/dist/cjs/logger-3df9c75d.js +5 -0
  25. package/dist/cjs/notification-1948ed2f.js +44 -0
  26. package/dist/cjs/realtimekit-ui.cjs.js +25 -0
  27. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +76 -0
  28. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +138 -0
  29. package/dist/cjs/rtk-ai.cjs.entry.js +91 -0
  30. package/dist/cjs/rtk-audio-grid.cjs.entry.js +116 -0
  31. package/dist/cjs/rtk-audio-tile.cjs.entry.js +130 -0
  32. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +501 -0
  33. package/dist/cjs/rtk-avatar_54.cjs.entry.js +6378 -0
  34. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +86 -0
  35. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +281 -0
  36. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +186 -0
  37. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +84 -0
  38. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +147 -0
  39. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +315 -0
  40. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +78 -0
  41. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +138 -0
  42. package/dist/cjs/rtk-clock.cjs.entry.js +98 -0
  43. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +49 -0
  44. package/dist/cjs/rtk-controlbar.cjs.entry.js +66 -0
  45. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +61 -0
  46. package/dist/cjs/rtk-ended-screen.cjs.entry.js +109 -0
  47. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +60 -0
  48. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +86 -0
  49. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +159 -0
  50. package/dist/cjs/rtk-grid.cjs.entry.js +362 -0
  51. package/dist/cjs/rtk-header.cjs.entry.js +66 -0
  52. package/dist/cjs/rtk-idle-screen.cjs.entry.js +47 -0
  53. package/dist/cjs/rtk-image-viewer.cjs.entry.js +62 -0
  54. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +37 -0
  55. package/dist/cjs/rtk-leave-button.cjs.entry.js +52 -0
  56. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +29148 -0
  57. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +142 -0
  58. package/dist/cjs/rtk-meeting-title.cjs.entry.js +49 -0
  59. package/dist/cjs/rtk-message-list-view.cjs.entry.js +285 -0
  60. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +184 -0
  61. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +226 -0
  62. package/dist/cjs/rtk-more-toggle.cjs.entry.js +77 -0
  63. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +79 -0
  64. package/dist/cjs/rtk-name-tag.cjs.entry.js +72 -0
  65. package/dist/cjs/rtk-network-indicator.cjs.entry.js +86 -0
  66. package/dist/cjs/rtk-participant-count.cjs.entry.js +91 -0
  67. package/dist/cjs/rtk-participant-setup.cjs.entry.js +118 -0
  68. package/dist/cjs/rtk-participant_2.cjs.entry.js +419 -0
  69. package/dist/cjs/rtk-participants-audio.cjs.entry.js +207 -0
  70. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +467 -0
  71. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +150 -0
  72. package/dist/cjs/rtk-participants.cjs.entry.js +190 -0
  73. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +88 -0
  74. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +196 -0
  75. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +106 -0
  76. package/dist/cjs/rtk-plugins_2.cjs.entry.js +181 -0
  77. package/dist/cjs/rtk-poll_2.cjs.entry.js +142 -0
  78. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +117 -0
  79. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +70 -0
  80. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +162 -0
  81. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +266 -0
  82. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +149 -0
  83. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +150 -0
  84. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +57 -0
  85. package/dist/cjs/rtk-settings.cjs.entry.js +124 -0
  86. package/dist/cjs/rtk-setup-screen.cjs.entry.js +120 -0
  87. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +80 -0
  88. package/dist/cjs/rtk-sidebar.cjs.entry.js +151 -0
  89. package/dist/cjs/rtk-simple-grid.cjs.entry.js +118 -0
  90. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +107 -0
  91. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +85 -0
  92. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +147 -0
  93. package/dist/cjs/rtk-stage.cjs.entry.js +43 -0
  94. package/dist/cjs/rtk-transcript.cjs.entry.js +58 -0
  95. package/dist/cjs/rtk-transcripts.cjs.entry.js +167 -0
  96. package/dist/cjs/rtk-ui-provider.cjs.entry.js +168 -0
  97. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +47 -0
  98. package/dist/cjs/scroll-c6404609.js +15 -0
  99. package/dist/cjs/sidebar-a3c87828.js +50 -0
  100. package/dist/cjs/size-2a406e36.js +28 -0
  101. package/dist/cjs/string-a410fab6.js +64 -0
  102. package/dist/cjs/ui-store-3ddce955.js +1608 -0
  103. package/dist/collection/collection-manifest.json +149 -0
  104. package/dist/collection/components/rtk-ai/rtk-ai.css +69 -0
  105. package/dist/collection/components/rtk-ai/rtk-ai.js +292 -0
  106. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.css +8 -0
  107. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +257 -0
  108. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.css +139 -0
  109. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +221 -0
  110. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.css +102 -0
  111. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +292 -0
  112. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.css +118 -0
  113. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +308 -0
  114. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.css +46 -0
  115. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +324 -0
  116. package/dist/collection/components/rtk-avatar/rtk-avatar.css +117 -0
  117. package/dist/collection/components/rtk-avatar/rtk-avatar.js +202 -0
  118. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.css +272 -0
  119. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +509 -0
  120. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.css +269 -0
  121. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +305 -0
  122. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.css +17 -0
  123. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +273 -0
  124. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.css +379 -0
  125. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +481 -0
  126. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.css +111 -0
  127. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +198 -0
  128. package/dist/collection/components/rtk-button/rtk-button.css +185 -0
  129. package/dist/collection/components/rtk-button/rtk-button.js +198 -0
  130. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.css +146 -0
  131. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +263 -0
  132. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.css +22 -0
  133. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +350 -0
  134. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.css +17 -0
  135. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +289 -0
  136. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +210 -0
  137. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +287 -0
  138. package/dist/collection/components/rtk-channel-details/rtk-channel-details.css +93 -0
  139. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +148 -0
  140. package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +99 -0
  141. package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +255 -0
  142. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +330 -0
  143. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +283 -0
  144. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +306 -0
  145. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +341 -0
  146. package/dist/collection/components/rtk-chat/components/ChatHead.js +6 -0
  147. package/dist/collection/components/rtk-chat/rtk-chat.css +224 -0
  148. package/dist/collection/components/rtk-chat/rtk-chat.js +866 -0
  149. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.css +304 -0
  150. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +583 -0
  151. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.css +111 -0
  152. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +535 -0
  153. package/dist/collection/components/rtk-chat-message/rtk-chat-message.css +428 -0
  154. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +569 -0
  155. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.css +191 -0
  156. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +420 -0
  157. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.css +7 -0
  158. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +465 -0
  159. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.css +22 -0
  160. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +170 -0
  161. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.css +219 -0
  162. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +245 -0
  163. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.css +65 -0
  164. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +338 -0
  165. package/dist/collection/components/rtk-clock/rtk-clock.css +46 -0
  166. package/dist/collection/components/rtk-clock/rtk-clock.js +163 -0
  167. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.css +68 -0
  168. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +198 -0
  169. package/dist/collection/components/rtk-controlbar/rtk-controlbar.css +32 -0
  170. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +259 -0
  171. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.css +187 -0
  172. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +248 -0
  173. package/dist/collection/components/rtk-counter/rtk-counter.css +64 -0
  174. package/dist/collection/components/rtk-counter/rtk-counter.js +219 -0
  175. package/dist/collection/components/rtk-debugger/rtk-debugger.css +262 -0
  176. package/dist/collection/components/rtk-debugger/rtk-debugger.js +271 -0
  177. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.css +180 -0
  178. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +294 -0
  179. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.css +175 -0
  180. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +339 -0
  181. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.css +176 -0
  182. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +260 -0
  183. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.css +17 -0
  184. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +234 -0
  185. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.css +180 -0
  186. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +306 -0
  187. package/dist/collection/components/rtk-dialog/rtk-dialog.css +47 -0
  188. package/dist/collection/components/rtk-dialog/rtk-dialog.js +322 -0
  189. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.css +17 -0
  190. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +343 -0
  191. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.css +81 -0
  192. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +180 -0
  193. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.css +141 -0
  194. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +192 -0
  195. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.css +3 -0
  196. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +113 -0
  197. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.css +80 -0
  198. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +270 -0
  199. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.css +20 -0
  200. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +162 -0
  201. package/dist/collection/components/rtk-file-message/rtk-file-message.js +186 -0
  202. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.css +76 -0
  203. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +127 -0
  204. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.css +3 -0
  205. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +206 -0
  206. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.css +22 -0
  207. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +268 -0
  208. package/dist/collection/components/rtk-grid/rtk-grid.css +122 -0
  209. package/dist/collection/components/rtk-grid/rtk-grid.js +678 -0
  210. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +174 -0
  211. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +327 -0
  212. package/dist/collection/components/rtk-header/rtk-header.css +35 -0
  213. package/dist/collection/components/rtk-header/rtk-header.js +259 -0
  214. package/dist/collection/components/rtk-icon/rtk-icon.css +73 -0
  215. package/dist/collection/components/rtk-icon/rtk-icon.js +124 -0
  216. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.css +40 -0
  217. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +152 -0
  218. package/dist/collection/components/rtk-image-message/rtk-image-message.css +21 -0
  219. package/dist/collection/components/rtk-image-message/rtk-image-message.js +235 -0
  220. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.css +117 -0
  221. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +152 -0
  222. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.css +99 -0
  223. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +183 -0
  224. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.css +41 -0
  225. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +65 -0
  226. package/dist/collection/components/rtk-join-stage/rtk-join-stage.css +131 -0
  227. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +310 -0
  228. package/dist/collection/components/rtk-leave-button/rtk-leave-button.css +17 -0
  229. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +182 -0
  230. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.css +75 -0
  231. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +239 -0
  232. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.css +65 -0
  233. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +180 -0
  234. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.css +177 -0
  235. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +485 -0
  236. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.css +22 -0
  237. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +315 -0
  238. package/dist/collection/components/rtk-logo/rtk-logo.css +34 -0
  239. package/dist/collection/components/rtk-logo/rtk-logo.js +177 -0
  240. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.css +44 -0
  241. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +136 -0
  242. package/dist/collection/components/rtk-meeting/rtk-meeting.css +43 -0
  243. package/dist/collection/components/rtk-meeting/rtk-meeting.js +520 -0
  244. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.css +38 -0
  245. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +128 -0
  246. package/dist/collection/components/rtk-menu/rtk-menu.css +25 -0
  247. package/dist/collection/components/rtk-menu/rtk-menu.js +217 -0
  248. package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +46 -0
  249. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +130 -0
  250. package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +30 -0
  251. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +100 -0
  252. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.css +68 -0
  253. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +439 -0
  254. package/dist/collection/components/rtk-message-view/rtk-message-view.css +169 -0
  255. package/dist/collection/components/rtk-message-view/rtk-message-view.js +283 -0
  256. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.css +27 -0
  257. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +348 -0
  258. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.css +146 -0
  259. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +276 -0
  260. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.css +257 -0
  261. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +577 -0
  262. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.css +61 -0
  263. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +210 -0
  264. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.css +17 -0
  265. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +237 -0
  266. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.css +74 -0
  267. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +185 -0
  268. package/dist/collection/components/rtk-name-tag/rtk-name-tag.css +55 -0
  269. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +253 -0
  270. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.css +68 -0
  271. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +213 -0
  272. package/dist/collection/components/rtk-notification/rtk-notification.css +161 -0
  273. package/dist/collection/components/rtk-notification/rtk-notification.js +226 -0
  274. package/dist/collection/components/rtk-notifications/rtk-notifications.css +30 -0
  275. package/dist/collection/components/rtk-notifications/rtk-notifications.js +736 -0
  276. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.css +41 -0
  277. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +181 -0
  278. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +337 -0
  279. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +591 -0
  280. package/dist/collection/components/rtk-participant/rtk-participant.css +91 -0
  281. package/dist/collection/components/rtk-participant/rtk-participant.js +503 -0
  282. package/dist/collection/components/rtk-participant-count/rtk-participant-count.css +42 -0
  283. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +205 -0
  284. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.css +111 -0
  285. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +338 -0
  286. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.css +283 -0
  287. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +464 -0
  288. package/dist/collection/components/rtk-participants/rtk-participants.css +127 -0
  289. package/dist/collection/components/rtk-participants/rtk-participants.js +404 -0
  290. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.css +46 -0
  291. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +282 -0
  292. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.css +61 -0
  293. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +364 -0
  294. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.css +116 -0
  295. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +286 -0
  296. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.css +50 -0
  297. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +348 -0
  298. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.css +58 -0
  299. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +326 -0
  300. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.css +107 -0
  301. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +263 -0
  302. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.css +110 -0
  303. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +325 -0
  304. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.css +22 -0
  305. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +293 -0
  306. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.css +89 -0
  307. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +232 -0
  308. package/dist/collection/components/rtk-plugins/rtk-plugins.css +105 -0
  309. package/dist/collection/components/rtk-plugins/rtk-plugins.js +251 -0
  310. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.css +22 -0
  311. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +301 -0
  312. package/dist/collection/components/rtk-poll/rtk-poll.css +153 -0
  313. package/dist/collection/components/rtk-poll/rtk-poll.js +202 -0
  314. package/dist/collection/components/rtk-poll-form/rtk-poll-form.css +121 -0
  315. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +175 -0
  316. package/dist/collection/components/rtk-polls/rtk-polls.css +69 -0
  317. package/dist/collection/components/rtk-polls/rtk-polls.js +242 -0
  318. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.css +51 -0
  319. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +315 -0
  320. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.css +63 -0
  321. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +184 -0
  322. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.css +17 -0
  323. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +342 -0
  324. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.css +22 -0
  325. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +470 -0
  326. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.css +294 -0
  327. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +394 -0
  328. package/dist/collection/components/rtk-settings/rtk-settings.css +241 -0
  329. package/dist/collection/components/rtk-settings/rtk-settings.js +286 -0
  330. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.css +59 -0
  331. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +230 -0
  332. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.css +17 -0
  333. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +216 -0
  334. package/dist/collection/components/rtk-settings-video/rtk-settings-video.css +135 -0
  335. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +256 -0
  336. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +175 -0
  337. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +309 -0
  338. package/dist/collection/components/rtk-sidebar/rtk-sidebar.css +65 -0
  339. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +417 -0
  340. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.css +135 -0
  341. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +289 -0
  342. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.css +20 -0
  343. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +343 -0
  344. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.css +144 -0
  345. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +299 -0
  346. package/dist/collection/components/rtk-spinner/rtk-spinner.css +52 -0
  347. package/dist/collection/components/rtk-spinner/rtk-spinner.js +99 -0
  348. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.css +88 -0
  349. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +402 -0
  350. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.css +102 -0
  351. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +195 -0
  352. package/dist/collection/components/rtk-stage/rtk-stage.css +19 -0
  353. package/dist/collection/components/rtk-stage/rtk-stage.js +125 -0
  354. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.css +22 -0
  355. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +321 -0
  356. package/dist/collection/components/rtk-switch/rtk-switch.css +51 -0
  357. package/dist/collection/components/rtk-switch/rtk-switch.js +211 -0
  358. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.css +194 -0
  359. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +330 -0
  360. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.css +81 -0
  361. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +316 -0
  362. package/dist/collection/components/rtk-text-message/components/TextMessage.js +62 -0
  363. package/dist/collection/components/rtk-text-message/rtk-text-message.js +185 -0
  364. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.css +25 -0
  365. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +68 -0
  366. package/dist/collection/components/rtk-tooltip/rtk-tooltip.css +67 -0
  367. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +349 -0
  368. package/dist/collection/components/rtk-transcript/rtk-transcript.css +96 -0
  369. package/dist/collection/components/rtk-transcript/rtk-transcript.js +140 -0
  370. package/dist/collection/components/rtk-transcripts/rtk-transcripts.css +32 -0
  371. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +281 -0
  372. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.css +5 -0
  373. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +374 -0
  374. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.css +61 -0
  375. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +191 -0
  376. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.css +4 -0
  377. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +264 -0
  378. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.css +45 -0
  379. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +148 -0
  380. package/dist/collection/exports.js +16 -0
  381. package/dist/collection/index.js +2 -0
  382. package/dist/collection/lib/addons/index.js +19 -0
  383. package/dist/collection/lib/audio.js +54 -0
  384. package/dist/collection/lib/builder/index.js +203 -0
  385. package/dist/collection/lib/default-ui-config.js +324 -0
  386. package/dist/collection/lib/grid.js +94 -0
  387. package/dist/collection/lib/icons/default-icon-pack.js +87 -0
  388. package/dist/collection/lib/icons/index.js +20 -0
  389. package/dist/collection/lib/lang/default-language.js +415 -0
  390. package/dist/collection/lib/lang/index.js +17 -0
  391. package/dist/collection/lib/notification.js +39 -0
  392. package/dist/collection/lib/render/index.js +97 -0
  393. package/dist/collection/lib/render/utils.js +115 -0
  394. package/dist/collection/lib/visualizer.js +42 -0
  395. package/dist/collection/theme/colors.js +130 -0
  396. package/dist/collection/theme/index.js +65 -0
  397. package/dist/collection/theme/presets/border.js +46 -0
  398. package/dist/collection/theme/presets/themes.js +35 -0
  399. package/dist/collection/theme/space.js +17 -0
  400. package/dist/collection/theme/tests/space.spec.js +17 -0
  401. package/dist/collection/types/floating-ui.js +1 -0
  402. package/dist/collection/types/props.js +1 -0
  403. package/dist/collection/types/rtk-ai.js +1 -0
  404. package/dist/collection/types/rtk-client.js +10 -0
  405. package/dist/collection/types/ui-config/config.js +35 -0
  406. package/dist/collection/types/ui-config/design-tokens.js +1 -0
  407. package/dist/collection/types/ui-config/index.js +1 -0
  408. package/dist/collection/types/ui-config/root.js +1 -0
  409. package/dist/collection/utils/assets.js +13 -0
  410. package/dist/collection/utils/breakout-rooms-manager.js +299 -0
  411. package/dist/collection/utils/breakout-rooms.js +69 -0
  412. package/dist/collection/utils/chat.js +198 -0
  413. package/dist/collection/utils/clone.js +7 -0
  414. package/dist/collection/utils/color.js +175 -0
  415. package/dist/collection/utils/config.js +359 -0
  416. package/dist/collection/utils/date.js +30 -0
  417. package/dist/collection/utils/debugger-utils.js +83 -0
  418. package/dist/collection/utils/file.js +54 -0
  419. package/dist/collection/utils/flags.js +24 -0
  420. package/dist/collection/utils/full-screen.js +48 -0
  421. package/dist/collection/utils/graceful-storage.js +18 -0
  422. package/dist/collection/utils/livestream.js +100 -0
  423. package/dist/collection/utils/logger.js +1 -0
  424. package/dist/collection/utils/notification.js +15 -0
  425. package/dist/collection/utils/provide-design-system.js +114 -0
  426. package/dist/collection/utils/scroll.js +11 -0
  427. package/dist/collection/utils/sidebar.js +42 -0
  428. package/dist/collection/utils/size.js +14 -0
  429. package/dist/collection/utils/stage.js +9 -0
  430. package/dist/collection/utils/string.js +56 -0
  431. package/dist/collection/utils/sync-with-store/index.js +21 -0
  432. package/dist/collection/utils/sync-with-store/ui-store.js +56 -0
  433. package/dist/collection/utils/time.js +9 -0
  434. package/dist/collection/utils/troubleshooter.js +469 -0
  435. package/dist/collection/utils/user-prefs.js +20 -0
  436. package/dist/components/index.d.ts +33 -0
  437. package/dist/components/index.js +246 -0
  438. package/dist/components/p-02f19345.js +50 -0
  439. package/dist/components/p-0752f2ba.js +13 -0
  440. package/dist/components/p-0a9d8224.js +168 -0
  441. package/dist/components/p-0abe4b8a.js +200 -0
  442. package/dist/components/p-0c4a1808.js +305 -0
  443. package/dist/components/p-0c94b402.js +309 -0
  444. package/dist/components/p-0e02697c.js +85 -0
  445. package/dist/components/p-0ea515b2.js +108 -0
  446. package/dist/components/p-0eab3933.js +97 -0
  447. package/dist/components/p-10182034.js +61 -0
  448. package/dist/components/p-10759cad.js +95 -0
  449. package/dist/components/p-135d5d2f.js +82 -0
  450. package/dist/components/p-1a546cf4.js +628 -0
  451. package/dist/components/p-24e9b37b.js +157 -0
  452. package/dist/components/p-24ffce5a.js +227 -0
  453. package/dist/components/p-260b86da.js +131 -0
  454. package/dist/components/p-2c3cda13.js +164 -0
  455. package/dist/components/p-2ecf028f.js +168 -0
  456. package/dist/components/p-2f2fb96d.js +62 -0
  457. package/dist/components/p-31964573.js +1892 -0
  458. package/dist/components/p-31a1dc4d.js +159 -0
  459. package/dist/components/p-31ce3b90.js +182 -0
  460. package/dist/components/p-32d788e7.js +149 -0
  461. package/dist/components/p-3358d7dc.js +108 -0
  462. package/dist/components/p-338c7261.js +58 -0
  463. package/dist/components/p-35d6211b.js +81 -0
  464. package/dist/components/p-382270d8.js +32 -0
  465. package/dist/components/p-3d845f44.js +131 -0
  466. package/dist/components/p-3f882e7c.js +299 -0
  467. package/dist/components/p-406292be.js +68 -0
  468. package/dist/components/p-4096426e.js +92 -0
  469. package/dist/components/p-4307888c.js +96 -0
  470. package/dist/components/p-4608147b.js +105 -0
  471. package/dist/components/p-46690510.js +157 -0
  472. package/dist/components/p-46923b34.js +1409 -0
  473. package/dist/components/p-4880c342.js +148 -0
  474. package/dist/components/p-4a436e2d.js +1178 -0
  475. package/dist/components/p-4cc0e9a5.js +64 -0
  476. package/dist/components/p-4cedc9e8.js +105 -0
  477. package/dist/components/p-4e3d7f9d.js +95 -0
  478. package/dist/components/p-50ecaaf1.js +42 -0
  479. package/dist/components/p-55598b38.js +76 -0
  480. package/dist/components/p-5605a420.js +3 -0
  481. package/dist/components/p-563bc723.js +156 -0
  482. package/dist/components/p-59ea0ce1.js +116 -0
  483. package/dist/components/p-59fb6900.js +204 -0
  484. package/dist/components/p-5c3d1c4f.js +148 -0
  485. package/dist/components/p-5ffcbba3.js +95 -0
  486. package/dist/components/p-606ca241.js +119 -0
  487. package/dist/components/p-60fdbd75.js +224 -0
  488. package/dist/components/p-62a6b783.js +194 -0
  489. package/dist/components/p-68b6f23b.js +223 -0
  490. package/dist/components/p-6acaa07e.js +83 -0
  491. package/dist/components/p-71e0f6f2.js +79 -0
  492. package/dist/components/p-734a10e4.js +86 -0
  493. package/dist/components/p-7a7d1710.js +134 -0
  494. package/dist/components/p-80bef3b5.js +125 -0
  495. package/dist/components/p-81f4e985.js +63 -0
  496. package/dist/components/p-898da6ae.js +307 -0
  497. package/dist/components/p-8f99c783.js +316 -0
  498. package/dist/components/p-922f201f.js +103 -0
  499. package/dist/components/p-935b5e0f.js +77 -0
  500. package/dist/components/p-965a4bd9.js +101 -0
  501. package/dist/components/p-96be234f.js +26 -0
  502. package/dist/components/p-9c17c7ce.js +93 -0
  503. package/dist/components/p-9cace38c.js +203 -0
  504. package/dist/components/p-9cfe5c7c.js +353 -0
  505. package/dist/components/p-9da5b9d0.js +211 -0
  506. package/dist/components/p-9fc565cf.js +57 -0
  507. package/dist/components/p-a08b5a59.js +329 -0
  508. package/dist/components/p-a24309fd.js +118 -0
  509. package/dist/components/p-a2f4f9e3.js +67 -0
  510. package/dist/components/p-a41e1b94.js +161 -0
  511. package/dist/components/p-a83ccdbd.js +40 -0
  512. package/dist/components/p-aa9ee9a5.js +180 -0
  513. package/dist/components/p-ab87c5be.js +178 -0
  514. package/dist/components/p-ae239151.js +150 -0
  515. package/dist/components/p-b12e5011.js +115 -0
  516. package/dist/components/p-b13ddb7d.js +96 -0
  517. package/dist/components/p-b3537ccc.js +69 -0
  518. package/dist/components/p-b373da43.js +357 -0
  519. package/dist/components/p-b39c779d.js +114 -0
  520. package/dist/components/p-bcb91396.js +43 -0
  521. package/dist/components/p-c11b2f37.js +45 -0
  522. package/dist/components/p-c15d924f.js +752 -0
  523. package/dist/components/p-c2723ebb.js +213 -0
  524. package/dist/components/p-c27c353f.js +128 -0
  525. package/dist/components/p-c3592601.js +1641 -0
  526. package/dist/components/p-c7dcb441.js +57 -0
  527. package/dist/components/p-c939f92d.js +114 -0
  528. package/dist/components/p-cbdd7a99.js +542 -0
  529. package/dist/components/p-cd50770d.js +127 -0
  530. package/dist/components/p-d5791958.js +24 -0
  531. package/dist/components/p-dba3cdd1.js +951 -0
  532. package/dist/components/p-ddf6148a.js +125 -0
  533. package/dist/components/p-e2b78972.js +153 -0
  534. package/dist/components/p-e3b59650.js +155 -0
  535. package/dist/components/p-e3ffbf6c.js +124 -0
  536. package/dist/components/p-e4241aa9.js +29080 -0
  537. package/dist/components/p-e4376670.js +162 -0
  538. package/dist/components/p-e542eda6.js +264 -0
  539. package/dist/components/p-e6d09c50.js +1544 -0
  540. package/dist/components/p-eb10c563.js +390 -0
  541. package/dist/components/p-ece96324.js +107 -0
  542. package/dist/components/p-ef376a73.js +103 -0
  543. package/dist/components/p-f0dfdfea.js +120 -0
  544. package/dist/components/p-f33bb583.js +199 -0
  545. package/dist/components/p-f47d4fe8.js +928 -0
  546. package/dist/components/p-f6046472.js +85 -0
  547. package/dist/components/p-fe278fba.js +215 -0
  548. package/dist/components/p-febe3ebc.js +11 -0
  549. package/dist/components/rtk-ai-toggle.d.ts +11 -0
  550. package/dist/components/rtk-ai-toggle.js +119 -0
  551. package/dist/components/rtk-ai-transcriptions.d.ts +11 -0
  552. package/dist/components/rtk-ai-transcriptions.js +6 -0
  553. package/dist/components/rtk-ai.d.ts +11 -0
  554. package/dist/components/rtk-ai.js +134 -0
  555. package/dist/components/rtk-audio-grid.d.ts +11 -0
  556. package/dist/components/rtk-audio-grid.js +145 -0
  557. package/dist/components/rtk-audio-tile.d.ts +11 -0
  558. package/dist/components/rtk-audio-tile.js +182 -0
  559. package/dist/components/rtk-audio-visualizer.d.ts +11 -0
  560. package/dist/components/rtk-audio-visualizer.js +6 -0
  561. package/dist/components/rtk-avatar.d.ts +11 -0
  562. package/dist/components/rtk-avatar.js +6 -0
  563. package/dist/components/rtk-breakout-room-manager.d.ts +11 -0
  564. package/dist/components/rtk-breakout-room-manager.js +6 -0
  565. package/dist/components/rtk-breakout-room-participants.d.ts +11 -0
  566. package/dist/components/rtk-breakout-room-participants.js +6 -0
  567. package/dist/components/rtk-breakout-rooms-manager.d.ts +11 -0
  568. package/dist/components/rtk-breakout-rooms-manager.js +6 -0
  569. package/dist/components/rtk-breakout-rooms-toggle.d.ts +11 -0
  570. package/dist/components/rtk-breakout-rooms-toggle.js +129 -0
  571. package/dist/components/rtk-broadcast-message-modal.d.ts +11 -0
  572. package/dist/components/rtk-broadcast-message-modal.js +6 -0
  573. package/dist/components/rtk-button.d.ts +11 -0
  574. package/dist/components/rtk-button.js +6 -0
  575. package/dist/components/rtk-camera-selector.d.ts +11 -0
  576. package/dist/components/rtk-camera-selector.js +6 -0
  577. package/dist/components/rtk-camera-toggle.d.ts +11 -0
  578. package/dist/components/rtk-camera-toggle.js +237 -0
  579. package/dist/components/rtk-caption-toggle.d.ts +11 -0
  580. package/dist/components/rtk-caption-toggle.js +129 -0
  581. package/dist/components/rtk-channel-creator.d.ts +11 -0
  582. package/dist/components/rtk-channel-creator.js +6 -0
  583. package/dist/components/rtk-channel-details.d.ts +11 -0
  584. package/dist/components/rtk-channel-details.js +6 -0
  585. package/dist/components/rtk-channel-header.d.ts +11 -0
  586. package/dist/components/rtk-channel-header.js +6 -0
  587. package/dist/components/rtk-channel-selector-ui.d.ts +11 -0
  588. package/dist/components/rtk-channel-selector-ui.js +194 -0
  589. package/dist/components/rtk-channel-selector-view.d.ts +11 -0
  590. package/dist/components/rtk-channel-selector-view.js +6 -0
  591. package/dist/components/rtk-chat-composer-ui.d.ts +11 -0
  592. package/dist/components/rtk-chat-composer-ui.js +383 -0
  593. package/dist/components/rtk-chat-composer-view.d.ts +11 -0
  594. package/dist/components/rtk-chat-composer-view.js +6 -0
  595. package/dist/components/rtk-chat-message.d.ts +11 -0
  596. package/dist/components/rtk-chat-message.js +6 -0
  597. package/dist/components/rtk-chat-messages-ui-paginated.d.ts +11 -0
  598. package/dist/components/rtk-chat-messages-ui-paginated.js +6 -0
  599. package/dist/components/rtk-chat-messages-ui.d.ts +11 -0
  600. package/dist/components/rtk-chat-messages-ui.js +6 -0
  601. package/dist/components/rtk-chat-search-results.d.ts +11 -0
  602. package/dist/components/rtk-chat-search-results.js +6 -0
  603. package/dist/components/rtk-chat-selector-ui.d.ts +11 -0
  604. package/dist/components/rtk-chat-selector-ui.js +108 -0
  605. package/dist/components/rtk-chat-toggle.d.ts +11 -0
  606. package/dist/components/rtk-chat-toggle.js +186 -0
  607. package/dist/components/rtk-chat.d.ts +11 -0
  608. package/dist/components/rtk-chat.js +6 -0
  609. package/dist/components/rtk-clock.d.ts +11 -0
  610. package/dist/components/rtk-clock.js +127 -0
  611. package/dist/components/rtk-confirmation-modal.d.ts +11 -0
  612. package/dist/components/rtk-confirmation-modal.js +6 -0
  613. package/dist/components/rtk-controlbar-button.d.ts +11 -0
  614. package/dist/components/rtk-controlbar-button.js +6 -0
  615. package/dist/components/rtk-controlbar.d.ts +11 -0
  616. package/dist/components/rtk-controlbar.js +91 -0
  617. package/dist/components/rtk-counter.d.ts +11 -0
  618. package/dist/components/rtk-counter.js +6 -0
  619. package/dist/components/rtk-debugger-audio.d.ts +11 -0
  620. package/dist/components/rtk-debugger-audio.js +6 -0
  621. package/dist/components/rtk-debugger-screenshare.d.ts +11 -0
  622. package/dist/components/rtk-debugger-screenshare.js +6 -0
  623. package/dist/components/rtk-debugger-system.d.ts +11 -0
  624. package/dist/components/rtk-debugger-system.js +6 -0
  625. package/dist/components/rtk-debugger-toggle.d.ts +11 -0
  626. package/dist/components/rtk-debugger-toggle.js +101 -0
  627. package/dist/components/rtk-debugger-video.d.ts +11 -0
  628. package/dist/components/rtk-debugger-video.js +6 -0
  629. package/dist/components/rtk-debugger.d.ts +11 -0
  630. package/dist/components/rtk-debugger.js +6 -0
  631. package/dist/components/rtk-dialog-manager.d.ts +11 -0
  632. package/dist/components/rtk-dialog-manager.js +6 -0
  633. package/dist/components/rtk-dialog.d.ts +11 -0
  634. package/dist/components/rtk-dialog.js +6 -0
  635. package/dist/components/rtk-draft-attachment-view.d.ts +11 -0
  636. package/dist/components/rtk-draft-attachment-view.js +6 -0
  637. package/dist/components/rtk-emoji-picker-button.d.ts +11 -0
  638. package/dist/components/rtk-emoji-picker-button.js +6 -0
  639. package/dist/components/rtk-emoji-picker.d.ts +11 -0
  640. package/dist/components/rtk-emoji-picker.js +6 -0
  641. package/dist/components/rtk-ended-screen.d.ts +11 -0
  642. package/dist/components/rtk-ended-screen.js +148 -0
  643. package/dist/components/rtk-file-dropzone.d.ts +11 -0
  644. package/dist/components/rtk-file-dropzone.js +87 -0
  645. package/dist/components/rtk-file-message-view.d.ts +11 -0
  646. package/dist/components/rtk-file-message-view.js +6 -0
  647. package/dist/components/rtk-file-message.d.ts +11 -0
  648. package/dist/components/rtk-file-message.js +6 -0
  649. package/dist/components/rtk-file-picker-button.d.ts +11 -0
  650. package/dist/components/rtk-file-picker-button.js +6 -0
  651. package/dist/components/rtk-fullscreen-toggle.d.ts +11 -0
  652. package/dist/components/rtk-fullscreen-toggle.js +6 -0
  653. package/dist/components/rtk-grid-pagination.d.ts +11 -0
  654. package/dist/components/rtk-grid-pagination.js +207 -0
  655. package/dist/components/rtk-grid.d.ts +11 -0
  656. package/dist/components/rtk-grid.js +454 -0
  657. package/dist/components/rtk-header.d.ts +11 -0
  658. package/dist/components/rtk-header.js +91 -0
  659. package/dist/components/rtk-icon.d.ts +11 -0
  660. package/dist/components/rtk-icon.js +6 -0
  661. package/dist/components/rtk-idle-screen.d.ts +11 -0
  662. package/dist/components/rtk-idle-screen.js +86 -0
  663. package/dist/components/rtk-image-message-view.d.ts +11 -0
  664. package/dist/components/rtk-image-message-view.js +6 -0
  665. package/dist/components/rtk-image-message.d.ts +11 -0
  666. package/dist/components/rtk-image-message.js +6 -0
  667. package/dist/components/rtk-image-viewer.d.ts +11 -0
  668. package/dist/components/rtk-image-viewer.js +94 -0
  669. package/dist/components/rtk-information-tooltip.d.ts +11 -0
  670. package/dist/components/rtk-information-tooltip.js +61 -0
  671. package/dist/components/rtk-join-stage.d.ts +11 -0
  672. package/dist/components/rtk-join-stage.js +6 -0
  673. package/dist/components/rtk-leave-button.d.ts +11 -0
  674. package/dist/components/rtk-leave-button.js +90 -0
  675. package/dist/components/rtk-leave-meeting.d.ts +11 -0
  676. package/dist/components/rtk-leave-meeting.js +6 -0
  677. package/dist/components/rtk-livestream-indicator.d.ts +11 -0
  678. package/dist/components/rtk-livestream-indicator.js +6 -0
  679. package/dist/components/rtk-livestream-player.d.ts +11 -0
  680. package/dist/components/rtk-livestream-player.js +6 -0
  681. package/dist/components/rtk-livestream-toggle.d.ts +11 -0
  682. package/dist/components/rtk-livestream-toggle.js +184 -0
  683. package/dist/components/rtk-logo.d.ts +11 -0
  684. package/dist/components/rtk-logo.js +6 -0
  685. package/dist/components/rtk-markdown-view.d.ts +11 -0
  686. package/dist/components/rtk-markdown-view.js +6 -0
  687. package/dist/components/rtk-meeting-title.d.ts +11 -0
  688. package/dist/components/rtk-meeting-title.js +74 -0
  689. package/dist/components/rtk-meeting.d.ts +11 -0
  690. package/dist/components/rtk-meeting.js +566 -0
  691. package/dist/components/rtk-menu-item.d.ts +11 -0
  692. package/dist/components/rtk-menu-item.js +6 -0
  693. package/dist/components/rtk-menu-list.d.ts +11 -0
  694. package/dist/components/rtk-menu-list.js +6 -0
  695. package/dist/components/rtk-menu.d.ts +11 -0
  696. package/dist/components/rtk-menu.js +6 -0
  697. package/dist/components/rtk-message-list-view.d.ts +11 -0
  698. package/dist/components/rtk-message-list-view.js +324 -0
  699. package/dist/components/rtk-message-view.d.ts +11 -0
  700. package/dist/components/rtk-message-view.js +6 -0
  701. package/dist/components/rtk-mic-toggle.d.ts +11 -0
  702. package/dist/components/rtk-mic-toggle.js +235 -0
  703. package/dist/components/rtk-microphone-selector.d.ts +11 -0
  704. package/dist/components/rtk-microphone-selector.js +6 -0
  705. package/dist/components/rtk-mixed-grid.d.ts +11 -0
  706. package/dist/components/rtk-mixed-grid.js +298 -0
  707. package/dist/components/rtk-more-toggle.d.ts +11 -0
  708. package/dist/components/rtk-more-toggle.js +115 -0
  709. package/dist/components/rtk-mute-all-button.d.ts +11 -0
  710. package/dist/components/rtk-mute-all-button.js +128 -0
  711. package/dist/components/rtk-mute-all-confirmation.d.ts +11 -0
  712. package/dist/components/rtk-mute-all-confirmation.js +6 -0
  713. package/dist/components/rtk-name-tag.d.ts +11 -0
  714. package/dist/components/rtk-name-tag.js +6 -0
  715. package/dist/components/rtk-network-indicator.d.ts +11 -0
  716. package/dist/components/rtk-network-indicator.js +117 -0
  717. package/dist/components/rtk-notification.d.ts +11 -0
  718. package/dist/components/rtk-notification.js +6 -0
  719. package/dist/components/rtk-notifications.d.ts +11 -0
  720. package/dist/components/rtk-notifications.js +6 -0
  721. package/dist/components/rtk-overlay-modal.d.ts +11 -0
  722. package/dist/components/rtk-overlay-modal.js +6 -0
  723. package/dist/components/rtk-paginated-list.d.ts +11 -0
  724. package/dist/components/rtk-paginated-list.js +6 -0
  725. package/dist/components/rtk-participant-count.d.ts +11 -0
  726. package/dist/components/rtk-participant-count.js +121 -0
  727. package/dist/components/rtk-participant-setup.d.ts +11 -0
  728. package/dist/components/rtk-participant-setup.js +149 -0
  729. package/dist/components/rtk-participant-tile.d.ts +11 -0
  730. package/dist/components/rtk-participant-tile.js +6 -0
  731. package/dist/components/rtk-participant.d.ts +11 -0
  732. package/dist/components/rtk-participant.js +6 -0
  733. package/dist/components/rtk-participants-audio.d.ts +11 -0
  734. package/dist/components/rtk-participants-audio.js +248 -0
  735. package/dist/components/rtk-participants-stage-list.d.ts +11 -0
  736. package/dist/components/rtk-participants-stage-list.js +6 -0
  737. package/dist/components/rtk-participants-stage-queue.d.ts +11 -0
  738. package/dist/components/rtk-participants-stage-queue.js +6 -0
  739. package/dist/components/rtk-participants-toggle.d.ts +11 -0
  740. package/dist/components/rtk-participants-toggle.js +199 -0
  741. package/dist/components/rtk-participants-viewer-list.d.ts +11 -0
  742. package/dist/components/rtk-participants-viewer-list.js +6 -0
  743. package/dist/components/rtk-participants-waiting-list.d.ts +11 -0
  744. package/dist/components/rtk-participants-waiting-list.js +6 -0
  745. package/dist/components/rtk-participants.d.ts +11 -0
  746. package/dist/components/rtk-participants.js +304 -0
  747. package/dist/components/rtk-permissions-message.d.ts +11 -0
  748. package/dist/components/rtk-permissions-message.js +6 -0
  749. package/dist/components/rtk-pip-toggle.d.ts +11 -0
  750. package/dist/components/rtk-pip-toggle.js +133 -0
  751. package/dist/components/rtk-plugin-main.d.ts +11 -0
  752. package/dist/components/rtk-plugin-main.js +6 -0
  753. package/dist/components/rtk-plugins-toggle.d.ts +11 -0
  754. package/dist/components/rtk-plugins-toggle.js +152 -0
  755. package/dist/components/rtk-plugins.d.ts +11 -0
  756. package/dist/components/rtk-plugins.js +6 -0
  757. package/dist/components/rtk-poll-form.d.ts +11 -0
  758. package/dist/components/rtk-poll-form.js +6 -0
  759. package/dist/components/rtk-poll.d.ts +11 -0
  760. package/dist/components/rtk-poll.js +6 -0
  761. package/dist/components/rtk-polls-toggle.d.ts +11 -0
  762. package/dist/components/rtk-polls-toggle.js +164 -0
  763. package/dist/components/rtk-polls.d.ts +11 -0
  764. package/dist/components/rtk-polls.js +6 -0
  765. package/dist/components/rtk-recording-indicator.d.ts +11 -0
  766. package/dist/components/rtk-recording-indicator.js +99 -0
  767. package/dist/components/rtk-recording-toggle.d.ts +11 -0
  768. package/dist/components/rtk-recording-toggle.js +206 -0
  769. package/dist/components/rtk-screen-share-toggle.d.ts +11 -0
  770. package/dist/components/rtk-screen-share-toggle.js +321 -0
  771. package/dist/components/rtk-screenshare-view.d.ts +11 -0
  772. package/dist/components/rtk-screenshare-view.js +197 -0
  773. package/dist/components/rtk-settings-audio.d.ts +11 -0
  774. package/dist/components/rtk-settings-audio.js +6 -0
  775. package/dist/components/rtk-settings-toggle.d.ts +11 -0
  776. package/dist/components/rtk-settings-toggle.js +96 -0
  777. package/dist/components/rtk-settings-video.d.ts +11 -0
  778. package/dist/components/rtk-settings-video.js +6 -0
  779. package/dist/components/rtk-settings.d.ts +11 -0
  780. package/dist/components/rtk-settings.js +211 -0
  781. package/dist/components/rtk-setup-screen.d.ts +11 -0
  782. package/dist/components/rtk-setup-screen.js +186 -0
  783. package/dist/components/rtk-sidebar-ui.d.ts +11 -0
  784. package/dist/components/rtk-sidebar-ui.js +6 -0
  785. package/dist/components/rtk-sidebar.d.ts +11 -0
  786. package/dist/components/rtk-sidebar.js +231 -0
  787. package/dist/components/rtk-simple-grid.d.ts +11 -0
  788. package/dist/components/rtk-simple-grid.js +147 -0
  789. package/dist/components/rtk-speaker-selector.d.ts +11 -0
  790. package/dist/components/rtk-speaker-selector.js +6 -0
  791. package/dist/components/rtk-spinner.d.ts +11 -0
  792. package/dist/components/rtk-spinner.js +6 -0
  793. package/dist/components/rtk-spotlight-grid.d.ts +11 -0
  794. package/dist/components/rtk-spotlight-grid.js +135 -0
  795. package/dist/components/rtk-spotlight-indicator.d.ts +11 -0
  796. package/dist/components/rtk-spotlight-indicator.js +6 -0
  797. package/dist/components/rtk-stage-toggle.d.ts +11 -0
  798. package/dist/components/rtk-stage-toggle.js +198 -0
  799. package/dist/components/rtk-stage.d.ts +11 -0
  800. package/dist/components/rtk-stage.js +61 -0
  801. package/dist/components/rtk-switch.d.ts +11 -0
  802. package/dist/components/rtk-switch.js +6 -0
  803. package/dist/components/rtk-tab-bar.d.ts +11 -0
  804. package/dist/components/rtk-tab-bar.js +6 -0
  805. package/dist/components/rtk-text-composer-view.d.ts +11 -0
  806. package/dist/components/rtk-text-composer-view.js +6 -0
  807. package/dist/components/rtk-text-message-view.d.ts +11 -0
  808. package/dist/components/rtk-text-message-view.js +6 -0
  809. package/dist/components/rtk-text-message.d.ts +11 -0
  810. package/dist/components/rtk-text-message.js +6 -0
  811. package/dist/components/rtk-tooltip.d.ts +11 -0
  812. package/dist/components/rtk-tooltip.js +6 -0
  813. package/dist/components/rtk-transcript.d.ts +11 -0
  814. package/dist/components/rtk-transcript.js +6 -0
  815. package/dist/components/rtk-transcripts.d.ts +11 -0
  816. package/dist/components/rtk-transcripts.js +197 -0
  817. package/dist/components/rtk-ui-provider.d.ts +11 -0
  818. package/dist/components/rtk-ui-provider.js +195 -0
  819. package/dist/components/rtk-viewer-count.d.ts +11 -0
  820. package/dist/components/rtk-viewer-count.js +6 -0
  821. package/dist/components/rtk-virtualized-participant-list.d.ts +11 -0
  822. package/dist/components/rtk-virtualized-participant-list.js +6 -0
  823. package/dist/components/rtk-waiting-screen.d.ts +11 -0
  824. package/dist/components/rtk-waiting-screen.js +74 -0
  825. package/dist/docs/docs-components.d.ts +443 -0
  826. package/dist/docs/docs-components.json +239263 -0
  827. package/dist/docs/docs-vscode.json +4429 -0
  828. package/dist/esm/ChatHead-cf7a7e22.js +41 -0
  829. package/dist/esm/ResizeObserver.es-02979d4e.js +928 -0
  830. package/dist/esm/TextMessage-efd224db.js +67 -0
  831. package/dist/esm/app-globals-0f993ce5.js +3 -0
  832. package/dist/esm/chat-c25836b0.js +200 -0
  833. package/dist/esm/clone-acd4af50.js +752 -0
  834. package/dist/esm/config-1ca1ba30.js +1178 -0
  835. package/dist/esm/debounce-0169a54d.js +542 -0
  836. package/dist/esm/debounce-ea0579b2.js +329 -0
  837. package/dist/esm/file-1d408324.js +57 -0
  838. package/dist/esm/floating-ui.dom.esm-cf1488a2.js +1892 -0
  839. package/dist/esm/full-screen-1f58c594.js +50 -0
  840. package/dist/esm/grid-a3ca5a3e.js +96 -0
  841. package/dist/esm/hark-6327d91e.js +299 -0
  842. package/dist/esm/index-6aaa85ca.js +24 -0
  843. package/dist/esm/index-c1fb98bb.js +2158 -0
  844. package/dist/esm/index-d31a2e33.js +224 -0
  845. package/dist/esm/index.js +249 -0
  846. package/dist/esm/isObjectLike-773b9473.js +164 -0
  847. package/dist/esm/keysIn-310f65c1.js +1409 -0
  848. package/dist/esm/loader.js +56266 -0
  849. package/dist/esm/logger-31448943.js +3 -0
  850. package/dist/esm/notification-800f2bcd.js +42 -0
  851. package/dist/esm/realtimekit-ui.js +20 -0
  852. package/dist/esm/rtk-ai-toggle.entry.js +72 -0
  853. package/dist/esm/rtk-ai-transcriptions.entry.js +134 -0
  854. package/dist/esm/rtk-ai.entry.js +87 -0
  855. package/dist/esm/rtk-audio-grid.entry.js +112 -0
  856. package/dist/esm/rtk-audio-tile.entry.js +126 -0
  857. package/dist/esm/rtk-audio-visualizer_4.entry.js +494 -0
  858. package/dist/esm/rtk-avatar_54.entry.js +6321 -0
  859. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +82 -0
  860. package/dist/esm/rtk-camera-selector_2.entry.js +276 -0
  861. package/dist/esm/rtk-camera-toggle.entry.js +182 -0
  862. package/dist/esm/rtk-caption-toggle.entry.js +80 -0
  863. package/dist/esm/rtk-channel-selector-ui.entry.js +143 -0
  864. package/dist/esm/rtk-chat-composer-ui.entry.js +311 -0
  865. package/dist/esm/rtk-chat-selector-ui.entry.js +74 -0
  866. package/dist/esm/rtk-chat-toggle.entry.js +134 -0
  867. package/dist/esm/rtk-clock.entry.js +94 -0
  868. package/dist/esm/rtk-controlbar-button.entry.js +45 -0
  869. package/dist/esm/rtk-controlbar.entry.js +62 -0
  870. package/dist/esm/rtk-debugger-toggle.entry.js +57 -0
  871. package/dist/esm/rtk-ended-screen.entry.js +105 -0
  872. package/dist/esm/rtk-file-dropzone.entry.js +56 -0
  873. package/dist/esm/rtk-fullscreen-toggle.entry.js +82 -0
  874. package/dist/esm/rtk-grid-pagination.entry.js +155 -0
  875. package/dist/esm/rtk-grid.entry.js +358 -0
  876. package/dist/esm/rtk-header.entry.js +62 -0
  877. package/dist/esm/rtk-idle-screen.entry.js +43 -0
  878. package/dist/esm/rtk-image-viewer.entry.js +58 -0
  879. package/dist/esm/rtk-information-tooltip.entry.js +33 -0
  880. package/dist/esm/rtk-leave-button.entry.js +48 -0
  881. package/dist/esm/rtk-livestream-indicator_3.entry.js +29142 -0
  882. package/dist/esm/rtk-livestream-toggle.entry.js +138 -0
  883. package/dist/esm/rtk-meeting-title.entry.js +45 -0
  884. package/dist/esm/rtk-message-list-view.entry.js +281 -0
  885. package/dist/esm/rtk-mic-toggle.entry.js +180 -0
  886. package/dist/esm/rtk-mixed-grid.entry.js +222 -0
  887. package/dist/esm/rtk-more-toggle.entry.js +73 -0
  888. package/dist/esm/rtk-mute-all-button.entry.js +75 -0
  889. package/dist/esm/rtk-name-tag.entry.js +68 -0
  890. package/dist/esm/rtk-network-indicator.entry.js +82 -0
  891. package/dist/esm/rtk-participant-count.entry.js +87 -0
  892. package/dist/esm/rtk-participant-setup.entry.js +114 -0
  893. package/dist/esm/rtk-participant_2.entry.js +414 -0
  894. package/dist/esm/rtk-participants-audio.entry.js +203 -0
  895. package/dist/esm/rtk-participants-stage-list_4.entry.js +460 -0
  896. package/dist/esm/rtk-participants-toggle.entry.js +146 -0
  897. package/dist/esm/rtk-participants.entry.js +186 -0
  898. package/dist/esm/rtk-pip-toggle.entry.js +84 -0
  899. package/dist/esm/rtk-plugin-main_2.entry.js +191 -0
  900. package/dist/esm/rtk-plugins-toggle.entry.js +102 -0
  901. package/dist/esm/rtk-plugins_2.entry.js +176 -0
  902. package/dist/esm/rtk-poll_2.entry.js +137 -0
  903. package/dist/esm/rtk-polls-toggle.entry.js +113 -0
  904. package/dist/esm/rtk-recording-indicator.entry.js +66 -0
  905. package/dist/esm/rtk-recording-toggle.entry.js +158 -0
  906. package/dist/esm/rtk-screen-share-toggle.entry.js +262 -0
  907. package/dist/esm/rtk-screenshare-view.entry.js +145 -0
  908. package/dist/esm/rtk-settings-audio_2.entry.js +145 -0
  909. package/dist/esm/rtk-settings-toggle.entry.js +53 -0
  910. package/dist/esm/rtk-settings.entry.js +120 -0
  911. package/dist/esm/rtk-setup-screen.entry.js +116 -0
  912. package/dist/esm/rtk-sidebar-ui.entry.js +76 -0
  913. package/dist/esm/rtk-sidebar.entry.js +147 -0
  914. package/dist/esm/rtk-simple-grid.entry.js +114 -0
  915. package/dist/esm/rtk-spotlight-grid.entry.js +103 -0
  916. package/dist/esm/rtk-spotlight-indicator.entry.js +81 -0
  917. package/dist/esm/rtk-stage-toggle.entry.js +143 -0
  918. package/dist/esm/rtk-stage.entry.js +39 -0
  919. package/dist/esm/rtk-transcript.entry.js +54 -0
  920. package/dist/esm/rtk-transcripts.entry.js +163 -0
  921. package/dist/esm/rtk-ui-provider.entry.js +164 -0
  922. package/dist/esm/rtk-waiting-screen.entry.js +43 -0
  923. package/dist/esm/scroll-2d8e810c.js +13 -0
  924. package/dist/esm/sidebar-cafaa8d3.js +45 -0
  925. package/dist/esm/size-505ade24.js +26 -0
  926. package/dist/esm/string-ed1380fb.js +58 -0
  927. package/dist/esm/ui-store-b453cdf2.js +1582 -0
  928. package/dist/index.cjs.js +1 -0
  929. package/dist/index.js +1 -0
  930. package/dist/realtimekit-ui/index.esm.js +1 -0
  931. package/dist/realtimekit-ui/p-01f5aba6.entry.js +1 -0
  932. package/dist/realtimekit-ui/p-02f19345.js +1 -0
  933. package/dist/realtimekit-ui/p-03a04390.entry.js +1 -0
  934. package/dist/realtimekit-ui/p-050f0b1f.entry.js +1 -0
  935. package/dist/realtimekit-ui/p-0752f2ba.js +1 -0
  936. package/dist/realtimekit-ui/p-0a1d9e02.entry.js +1 -0
  937. package/dist/realtimekit-ui/p-0b1fabf5.js +1 -0
  938. package/dist/realtimekit-ui/p-0d4db84d.entry.js +1 -0
  939. package/dist/realtimekit-ui/p-0e777b3f.entry.js +1 -0
  940. package/dist/realtimekit-ui/p-0ee570cd.js +2 -0
  941. package/dist/realtimekit-ui/p-131b1e94.entry.js +1 -0
  942. package/dist/realtimekit-ui/p-139da463.entry.js +1 -0
  943. package/dist/realtimekit-ui/p-18fdb6bb.entry.js +1 -0
  944. package/dist/realtimekit-ui/p-235b7aa8.entry.js +1 -0
  945. package/dist/realtimekit-ui/p-238a19f8.entry.js +1 -0
  946. package/dist/realtimekit-ui/p-29802710.entry.js +1 -0
  947. package/dist/realtimekit-ui/p-2aa242f4.js +1 -0
  948. package/dist/realtimekit-ui/p-2bfa32da.entry.js +1 -0
  949. package/dist/realtimekit-ui/p-2c3cda13.js +1 -0
  950. package/dist/realtimekit-ui/p-31964573.js +1 -0
  951. package/dist/realtimekit-ui/p-338c7261.js +1 -0
  952. package/dist/realtimekit-ui/p-3ed1c004.entry.js +1 -0
  953. package/dist/realtimekit-ui/p-3f882e7c.js +1 -0
  954. package/dist/realtimekit-ui/p-3fd79328.entry.js +1 -0
  955. package/dist/realtimekit-ui/p-42a64cbb.entry.js +1 -0
  956. package/dist/realtimekit-ui/p-44915a3b.entry.js +1 -0
  957. package/dist/realtimekit-ui/p-457a0412.entry.js +1 -0
  958. package/dist/realtimekit-ui/p-46923b34.js +1 -0
  959. package/dist/realtimekit-ui/p-4b882b41.js +1 -0
  960. package/dist/realtimekit-ui/p-4d8ab9a5.entry.js +1 -0
  961. package/dist/realtimekit-ui/p-4f2ec64b.entry.js +1 -0
  962. package/dist/realtimekit-ui/p-4f45e362.entry.js +1 -0
  963. package/dist/realtimekit-ui/p-4ff47eb0.entry.js +1 -0
  964. package/dist/realtimekit-ui/p-5325b5e5.entry.js +1 -0
  965. package/dist/realtimekit-ui/p-55040827.entry.js +1 -0
  966. package/dist/realtimekit-ui/p-55503b00.entry.js +1 -0
  967. package/dist/realtimekit-ui/p-556db3a1.entry.js +1 -0
  968. package/dist/realtimekit-ui/p-5605a420.js +1 -0
  969. package/dist/realtimekit-ui/p-560c3d93.entry.js +1 -0
  970. package/dist/realtimekit-ui/p-58e58de6.entry.js +1 -0
  971. package/dist/realtimekit-ui/p-5b15e3cf.entry.js +1 -0
  972. package/dist/realtimekit-ui/p-61c38e05.entry.js +1 -0
  973. package/dist/realtimekit-ui/p-621a7265.entry.js +1 -0
  974. package/dist/realtimekit-ui/p-679bd218.entry.js +1 -0
  975. package/dist/realtimekit-ui/p-6be9be47.entry.js +1 -0
  976. package/dist/realtimekit-ui/p-6c238609.entry.js +1 -0
  977. package/dist/realtimekit-ui/p-6ededa68.js +1 -0
  978. package/dist/realtimekit-ui/p-73bc3abd.entry.js +1 -0
  979. package/dist/realtimekit-ui/p-7536cb87.entry.js +1 -0
  980. package/dist/realtimekit-ui/p-7c1a2584.entry.js +1 -0
  981. package/dist/realtimekit-ui/p-7dbd2a25.entry.js +1 -0
  982. package/dist/realtimekit-ui/p-807dd186.entry.js +1 -0
  983. package/dist/realtimekit-ui/p-85ff4a34.entry.js +1 -0
  984. package/dist/realtimekit-ui/p-89f6a08a.entry.js +1 -0
  985. package/dist/realtimekit-ui/p-8fe6b03c.entry.js +1 -0
  986. package/dist/realtimekit-ui/p-917f2951.entry.js +1 -0
  987. package/dist/realtimekit-ui/p-93f881e2.entry.js +1 -0
  988. package/dist/realtimekit-ui/p-9435f236.entry.js +1 -0
  989. package/dist/realtimekit-ui/p-94b739b4.entry.js +1 -0
  990. package/dist/realtimekit-ui/p-96be234f.js +1 -0
  991. package/dist/realtimekit-ui/p-9946b484.entry.js +1 -0
  992. package/dist/realtimekit-ui/p-9bbe1d7c.entry.js +1 -0
  993. package/dist/realtimekit-ui/p-9fc565cf.js +1 -0
  994. package/dist/realtimekit-ui/p-9ff45356.entry.js +1 -0
  995. package/dist/realtimekit-ui/p-a08b5a59.js +1 -0
  996. package/dist/realtimekit-ui/p-a5d22edf.entry.js +1 -0
  997. package/dist/realtimekit-ui/p-a6f03681.entry.js +1 -0
  998. package/dist/realtimekit-ui/p-a738a7b3.entry.js +1 -0
  999. package/dist/realtimekit-ui/p-aaba206b.js +1 -0
  1000. package/dist/realtimekit-ui/p-ac91f9f9.entry.js +1 -0
  1001. package/dist/realtimekit-ui/p-affaaf1a.entry.js +1 -0
  1002. package/dist/realtimekit-ui/p-b13ddb7d.js +1 -0
  1003. package/dist/realtimekit-ui/p-b14563cb.entry.js +1 -0
  1004. package/dist/realtimekit-ui/p-b16cee89.js +1 -0
  1005. package/dist/realtimekit-ui/p-b62f9abb.entry.js +1 -0
  1006. package/dist/realtimekit-ui/p-b80f1bed.entry.js +1 -0
  1007. package/dist/realtimekit-ui/p-bc17c582.entry.js +1 -0
  1008. package/dist/realtimekit-ui/p-bf56688f.entry.js +1 -0
  1009. package/dist/realtimekit-ui/p-c15d924f.js +1 -0
  1010. package/dist/realtimekit-ui/p-c6f7cd03.entry.js +1 -0
  1011. package/dist/realtimekit-ui/p-c8eaa707.js +1 -0
  1012. package/dist/realtimekit-ui/p-c8f8b690.entry.js +1 -0
  1013. package/dist/realtimekit-ui/p-cbdd7a99.js +1 -0
  1014. package/dist/realtimekit-ui/p-d013442a.entry.js +1 -0
  1015. package/dist/realtimekit-ui/p-d075d673.entry.js +1 -0
  1016. package/dist/realtimekit-ui/p-d77f7f22.entry.js +1 -0
  1017. package/dist/realtimekit-ui/p-d9217d24.entry.js +1 -0
  1018. package/dist/realtimekit-ui/p-d9e81b11.entry.js +1 -0
  1019. package/dist/realtimekit-ui/p-dbb95589.entry.js +1 -0
  1020. package/dist/realtimekit-ui/p-e1255160.js +1 -0
  1021. package/dist/realtimekit-ui/p-e13b5128.entry.js +1 -0
  1022. package/dist/realtimekit-ui/p-e171b1c4.entry.js +1 -0
  1023. package/dist/realtimekit-ui/p-e80cf367.entry.js +1 -0
  1024. package/dist/realtimekit-ui/p-ee167b96.js +1 -0
  1025. package/dist/realtimekit-ui/p-f47d4fe8.js +1 -0
  1026. package/dist/realtimekit-ui/p-f7c6931d.entry.js +1 -0
  1027. package/dist/realtimekit-ui/p-fc36f92c.js +1 -0
  1028. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -0
  1029. package/dist/types/components/rtk-ai/rtk-ai.d.ts +31 -0
  1030. package/dist/types/components/rtk-ai-toggle/rtk-ai-toggle.d.ts +26 -0
  1031. package/dist/types/components/rtk-ai-transcriptions/rtk-ai-transcriptions.d.ts +26 -0
  1032. package/dist/types/components/rtk-audio-grid/rtk-audio-grid.d.ts +29 -0
  1033. package/dist/types/components/rtk-audio-tile/rtk-audio-tile.d.ts +33 -0
  1034. package/dist/types/components/rtk-audio-visualizer/rtk-audio-visualizer.d.ts +42 -0
  1035. package/dist/types/components/rtk-avatar/rtk-avatar.d.ts +26 -0
  1036. package/dist/types/components/rtk-breakout-room-manager/rtk-breakout-room-manager.d.ts +70 -0
  1037. package/dist/types/components/rtk-breakout-room-participants/rtk-breakout-room-participants.d.ts +46 -0
  1038. package/dist/types/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.d.ts +34 -0
  1039. package/dist/types/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.d.ts +82 -0
  1040. package/dist/types/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.d.ts +26 -0
  1041. package/dist/types/components/rtk-button/rtk-button.d.ts +25 -0
  1042. package/dist/types/components/rtk-camera-selector/rtk-camera-selector.d.ts +40 -0
  1043. package/dist/types/components/rtk-camera-toggle/rtk-camera-toggle.d.ts +39 -0
  1044. package/dist/types/components/rtk-caption-toggle/rtk-caption-toggle.d.ts +30 -0
  1045. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +34 -0
  1046. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +15 -0
  1047. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +31 -0
  1048. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +32 -0
  1049. package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +62 -0
  1050. package/dist/types/components/rtk-chat/components/ChatHead.d.ts +8 -0
  1051. package/dist/types/components/rtk-chat/rtk-chat.d.ts +122 -0
  1052. package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +84 -0
  1053. package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +73 -0
  1054. package/dist/types/components/rtk-chat-message/rtk-chat-message.d.ts +67 -0
  1055. package/dist/types/components/rtk-chat-messages-ui/rtk-chat-messages-ui.d.ts +46 -0
  1056. package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +61 -0
  1057. package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +18 -0
  1058. package/dist/types/components/rtk-chat-selector-ui/rtk-chat-selector-ui.d.ts +29 -0
  1059. package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +50 -0
  1060. package/dist/types/components/rtk-clock/rtk-clock.d.ts +23 -0
  1061. package/dist/types/components/rtk-confirmation-modal/rtk-confirmation-modal.d.ts +27 -0
  1062. package/dist/types/components/rtk-controlbar/rtk-controlbar.d.ts +28 -0
  1063. package/dist/types/components/rtk-controlbar-button/rtk-controlbar-button.d.ts +30 -0
  1064. package/dist/types/components/rtk-counter/rtk-counter.d.ts +27 -0
  1065. package/dist/types/components/rtk-debugger/rtk-debugger.d.ts +34 -0
  1066. package/dist/types/components/rtk-debugger-audio/rtk-debugger-audio.d.ts +36 -0
  1067. package/dist/types/components/rtk-debugger-screenshare/rtk-debugger-screenshare.d.ts +38 -0
  1068. package/dist/types/components/rtk-debugger-system/rtk-debugger-system.d.ts +40 -0
  1069. package/dist/types/components/rtk-debugger-toggle/rtk-debugger-toggle.d.ts +24 -0
  1070. package/dist/types/components/rtk-debugger-video/rtk-debugger-video.d.ts +36 -0
  1071. package/dist/types/components/rtk-dialog/rtk-dialog.d.ts +38 -0
  1072. package/dist/types/components/rtk-dialog-manager/rtk-dialog-manager.d.ts +41 -0
  1073. package/dist/types/components/rtk-draft-attachment-view/rtk-draft-attachment-view.d.ts +26 -0
  1074. package/dist/types/components/rtk-emoji-picker/rtk-emoji-picker.d.ts +32 -0
  1075. package/dist/types/components/rtk-emoji-picker-button/rtk-emoji-picker-button.d.ts +10 -0
  1076. package/dist/types/components/rtk-ended-screen/rtk-ended-screen.d.ts +30 -0
  1077. package/dist/types/components/rtk-file-dropzone/rtk-file-dropzone.d.ts +15 -0
  1078. package/dist/types/components/rtk-file-message/rtk-file-message.d.ts +21 -0
  1079. package/dist/types/components/rtk-file-message-view/rtk-file-message-view.d.ts +15 -0
  1080. package/dist/types/components/rtk-file-picker-button/rtk-file-picker-button.d.ts +21 -0
  1081. package/dist/types/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.d.ts +32 -0
  1082. package/dist/types/components/rtk-grid/rtk-grid.d.ts +83 -0
  1083. package/dist/types/components/rtk-grid-pagination/rtk-grid-pagination.d.ts +40 -0
  1084. package/dist/types/components/rtk-header/rtk-header.d.ts +28 -0
  1085. package/dist/types/components/rtk-icon/rtk-icon.d.ts +14 -0
  1086. package/dist/types/components/rtk-idle-screen/rtk-idle-screen.d.ts +19 -0
  1087. package/dist/types/components/rtk-image-message/rtk-image-message.d.ts +26 -0
  1088. package/dist/types/components/rtk-image-message-view/rtk-image-message-view.d.ts +17 -0
  1089. package/dist/types/components/rtk-image-viewer/rtk-image-viewer.d.ts +25 -0
  1090. package/dist/types/components/rtk-information-tooltip/rtk-information-tooltip.d.ts +6 -0
  1091. package/dist/types/components/rtk-join-stage/rtk-join-stage.d.ts +38 -0
  1092. package/dist/types/components/rtk-leave-button/rtk-leave-button.d.ts +22 -0
  1093. package/dist/types/components/rtk-leave-meeting/rtk-leave-meeting.d.ts +35 -0
  1094. package/dist/types/components/rtk-livestream-indicator/rtk-livestream-indicator.d.ts +18 -0
  1095. package/dist/types/components/rtk-livestream-player/rtk-livestream-player.d.ts +60 -0
  1096. package/dist/types/components/rtk-livestream-toggle/rtk-livestream-toggle.d.ts +40 -0
  1097. package/dist/types/components/rtk-logo/rtk-logo.d.ts +20 -0
  1098. package/dist/types/components/rtk-markdown-view/rtk-markdown-view.d.ts +15 -0
  1099. package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +59 -0
  1100. package/dist/types/components/rtk-meeting-title/rtk-meeting-title.d.ts +15 -0
  1101. package/dist/types/components/rtk-menu/rtk-menu.d.ts +30 -0
  1102. package/dist/types/components/rtk-menu-item/rtk-menu-item.d.ts +19 -0
  1103. package/dist/types/components/rtk-menu-list/rtk-menu-list.d.ts +14 -0
  1104. package/dist/types/components/rtk-message-list-view/rtk-message-list-view.d.ts +62 -0
  1105. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +33 -0
  1106. package/dist/types/components/rtk-mic-toggle/rtk-mic-toggle.d.ts +39 -0
  1107. package/dist/types/components/rtk-microphone-selector/rtk-microphone-selector.d.ts +42 -0
  1108. package/dist/types/components/rtk-mixed-grid/rtk-mixed-grid.d.ts +61 -0
  1109. package/dist/types/components/rtk-more-toggle/rtk-more-toggle.d.ts +32 -0
  1110. package/dist/types/components/rtk-mute-all-button/rtk-mute-all-button.d.ts +26 -0
  1111. package/dist/types/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.d.ts +21 -0
  1112. package/dist/types/components/rtk-name-tag/rtk-name-tag.d.ts +28 -0
  1113. package/dist/types/components/rtk-network-indicator/rtk-network-indicator.d.ts +20 -0
  1114. package/dist/types/components/rtk-notification/rtk-notification.d.ts +30 -0
  1115. package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +69 -0
  1116. package/dist/types/components/rtk-overlay-modal/rtk-overlay-modal.d.ts +22 -0
  1117. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +91 -0
  1118. package/dist/types/components/rtk-participant/rtk-participant.d.ts +62 -0
  1119. package/dist/types/components/rtk-participant-count/rtk-participant-count.d.ts +26 -0
  1120. package/dist/types/components/rtk-participant-setup/rtk-participant-setup.d.ts +37 -0
  1121. package/dist/types/components/rtk-participant-tile/rtk-participant-tile.d.ts +55 -0
  1122. package/dist/types/components/rtk-participants/rtk-participants.d.ts +48 -0
  1123. package/dist/types/components/rtk-participants-audio/rtk-participants-audio.d.ts +34 -0
  1124. package/dist/types/components/rtk-participants-stage-list/rtk-participants-stage-list.d.ts +42 -0
  1125. package/dist/types/components/rtk-participants-stage-queue/rtk-participants-stage-queue.d.ts +29 -0
  1126. package/dist/types/components/rtk-participants-toggle/rtk-participants-toggle.d.ts +49 -0
  1127. package/dist/types/components/rtk-participants-viewer-list/rtk-participants-viewer-list.d.ts +33 -0
  1128. package/dist/types/components/rtk-participants-waiting-list/rtk-participants-waiting-list.d.ts +29 -0
  1129. package/dist/types/components/rtk-permissions-message/rtk-permissions-message.d.ts +40 -0
  1130. package/dist/types/components/rtk-pip-toggle/rtk-pip-toggle.d.ts +28 -0
  1131. package/dist/types/components/rtk-plugin-main/rtk-plugin-main.d.ts +28 -0
  1132. package/dist/types/components/rtk-plugins/rtk-plugins.d.ts +35 -0
  1133. package/dist/types/components/rtk-plugins-toggle/rtk-plugins-toggle.d.ts +42 -0
  1134. package/dist/types/components/rtk-poll/rtk-poll.d.ts +30 -0
  1135. package/dist/types/components/rtk-poll-form/rtk-poll-form.d.ts +30 -0
  1136. package/dist/types/components/rtk-polls/rtk-polls.d.ts +38 -0
  1137. package/dist/types/components/rtk-polls-toggle/rtk-polls-toggle.d.ts +46 -0
  1138. package/dist/types/components/rtk-recording-indicator/rtk-recording-indicator.d.ts +26 -0
  1139. package/dist/types/components/rtk-recording-toggle/rtk-recording-toggle.d.ts +47 -0
  1140. package/dist/types/components/rtk-screen-share-toggle/rtk-screen-share-toggle.d.ts +67 -0
  1141. package/dist/types/components/rtk-screenshare-view/rtk-screenshare-view.d.ts +52 -0
  1142. package/dist/types/components/rtk-settings/rtk-settings.d.ts +38 -0
  1143. package/dist/types/components/rtk-settings-audio/rtk-settings-audio.d.ts +32 -0
  1144. package/dist/types/components/rtk-settings-toggle/rtk-settings-toggle.d.ts +30 -0
  1145. package/dist/types/components/rtk-settings-video/rtk-settings-video.d.ts +37 -0
  1146. package/dist/types/components/rtk-setup-screen/rtk-setup-screen.d.ts +40 -0
  1147. package/dist/types/components/rtk-sidebar/rtk-sidebar.d.ts +49 -0
  1148. package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +120 -0
  1149. package/dist/types/components/rtk-simple-grid/rtk-simple-grid.d.ts +43 -0
  1150. package/dist/types/components/rtk-speaker-selector/rtk-speaker-selector.d.ts +44 -0
  1151. package/dist/types/components/rtk-spinner/rtk-spinner.d.ts +12 -0
  1152. package/dist/types/components/rtk-spotlight-grid/rtk-spotlight-grid.d.ts +47 -0
  1153. package/dist/types/components/rtk-spotlight-indicator/rtk-spotlight-indicator.d.ts +22 -0
  1154. package/dist/types/components/rtk-stage/rtk-stage.d.ts +19 -0
  1155. package/dist/types/components/rtk-stage-toggle/rtk-stage-toggle.d.ts +36 -0
  1156. package/dist/types/components/rtk-switch/rtk-switch.d.ts +25 -0
  1157. package/dist/types/components/rtk-tab-bar/rtk-tab-bar.d.ts +37 -0
  1158. package/dist/types/components/rtk-text-composer-view/rtk-text-composer-view.d.ts +34 -0
  1159. package/dist/types/components/rtk-text-message/components/TextMessage.d.ts +6 -0
  1160. package/dist/types/components/rtk-text-message/rtk-text-message.d.ts +21 -0
  1161. package/dist/types/components/rtk-text-message-view/rtk-text-message-view.d.ts +10 -0
  1162. package/dist/types/components/rtk-tooltip/rtk-tooltip.d.ts +42 -0
  1163. package/dist/types/components/rtk-transcript/rtk-transcript.d.ts +30 -0
  1164. package/dist/types/components/rtk-transcripts/rtk-transcripts.d.ts +39 -0
  1165. package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +45 -0
  1166. package/dist/types/components/rtk-viewer-count/rtk-viewer-count.d.ts +24 -0
  1167. package/dist/types/components/rtk-virtualized-list/rtk-virtualized-participant-list.d.ts +30 -0
  1168. package/dist/types/components/rtk-waiting-screen/rtk-waiting-screen.d.ts +15 -0
  1169. package/dist/types/components.d.ts +11544 -0
  1170. package/dist/types/exports.d.ts +20 -0
  1171. package/dist/types/globals.d.ts +15 -0
  1172. package/dist/types/index.d.ts +2 -0
  1173. package/dist/types/lib/addons/index.d.ts +27 -0
  1174. package/dist/types/lib/audio.d.ts +17 -0
  1175. package/dist/types/lib/builder/index.d.ts +42 -0
  1176. package/dist/types/lib/default-ui-config.d.ts +5 -0
  1177. package/dist/types/lib/grid.d.ts +43 -0
  1178. package/dist/types/lib/icons/default-icon-pack.d.ts +88 -0
  1179. package/dist/types/lib/icons/index.d.ts +9 -0
  1180. package/dist/types/lib/lang/default-language.d.ts +415 -0
  1181. package/dist/types/lib/lang/index.d.ts +16 -0
  1182. package/dist/types/lib/notification.d.ts +19 -0
  1183. package/dist/types/lib/render/index.d.ts +45 -0
  1184. package/dist/types/lib/render/utils.d.ts +31 -0
  1185. package/dist/types/lib/visualizer.d.ts +6 -0
  1186. package/dist/types/stencil-public-runtime.d.ts +1680 -0
  1187. package/dist/types/theme/presets/border.d.ts +13 -0
  1188. package/dist/types/theme/presets/themes.d.ts +2 -0
  1189. package/dist/types/types/floating-ui.d.ts +1 -0
  1190. package/dist/types/types/props.d.ts +175 -0
  1191. package/dist/types/types/rtk-ai.d.ts +9 -0
  1192. package/dist/types/types/rtk-client.d.ts +16 -0
  1193. package/dist/types/types/ui-config/config.d.ts +25 -0
  1194. package/dist/types/types/ui-config/design-tokens.d.ts +41 -0
  1195. package/dist/types/types/ui-config/index.d.ts +15 -0
  1196. package/dist/types/types/ui-config/root.d.ts +23 -0
  1197. package/dist/types/types/web-core.d.ts +9 -0
  1198. package/dist/types/utils/assets.d.ts +6 -0
  1199. package/dist/types/utils/breakout-rooms-manager.d.ts +100 -0
  1200. package/dist/types/utils/breakout-rooms.d.ts +24 -0
  1201. package/dist/types/utils/chat.d.ts +49 -0
  1202. package/dist/types/utils/clone.d.ts +1 -0
  1203. package/dist/types/utils/color.d.ts +69 -0
  1204. package/dist/types/utils/config.d.ts +28 -0
  1205. package/dist/types/utils/date.d.ts +3 -0
  1206. package/dist/types/utils/debugger-utils.d.ts +40 -0
  1207. package/dist/types/utils/file.d.ts +23 -0
  1208. package/dist/types/utils/full-screen.d.ts +4 -0
  1209. package/dist/types/utils/graceful-storage.d.ts +2 -0
  1210. package/dist/types/utils/logger.d.ts +1 -0
  1211. package/dist/types/utils/notification.d.ts +9 -0
  1212. package/dist/types/utils/provide-design-system.d.ts +7 -0
  1213. package/dist/types/utils/scroll.d.ts +7 -0
  1214. package/dist/types/utils/sidebar.d.ts +5 -0
  1215. package/dist/types/utils/size.d.ts +7 -0
  1216. package/dist/types/utils/stage.d.ts +3 -0
  1217. package/dist/types/utils/string.d.ts +24 -0
  1218. package/dist/types/utils/sync-with-store/index.d.ts +3 -0
  1219. package/dist/types/utils/sync-with-store/ui-store.d.ts +20 -0
  1220. package/dist/types/utils/time.d.ts +1 -0
  1221. package/dist/types/utils/troubleshooter.d.ts +151 -0
  1222. package/dist/types/utils/user-prefs.d.ts +7 -0
  1223. package/loader/cdn.js +1 -0
  1224. package/loader/index.cjs.js +1 -0
  1225. package/loader/index.d.ts +24 -0
  1226. package/loader/index.es2017.js +1 -0
  1227. package/loader/index.js +2 -0
  1228. package/loader/package.json +11 -0
  1229. package/package.json +59 -3
@@ -0,0 +1,143 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-c1fb98bb.js';
2
+ import { a as defaultIconPack, c as useLanguage } from './ui-store-b453cdf2.js';
3
+ import { S as SyncWithStore } from './index-6aaa85ca.js';
4
+ import { T as TextMessageView } from './TextMessage-efd224db.js';
5
+ import './chat-c25836b0.js';
6
+
7
+ const rtkChannelSelectorUiCss = ".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{display:flex}.container{display:flex;height:100%;width:var(--rtk-space-96, 384px);flex-direction:column;position:absolute;--tw-translate-x:calc(var(--rtk-space-96, 384px) * -1);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));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));border-top-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-sm, 1px);border-left-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-right-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-border-opacity));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}@keyframes fade{0%{opacity:0}100%{opacity:1}}.overlay-container{width:100vw;--tw-translate-x:var(--rtk-space-96, 384px);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));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;animation:fade 0.8s}.overlay-container .sidebar-btn{position:static;padding:var(--rtk-space-4, 16px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.sidebar-btn{position:absolute;right:calc(var(--rtk-space-9, 36px) * -1);top:var(--rtk-space-4, 16px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-7, 28px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-sm, 4px)}@media (orientation: landscape) and (min-width: 400px){.container{position:static;--tw-translate-x: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))}.sidebar-btn,.overlay-container{display:none}}.search-wrapper{display:flex;align-items:center;gap:var(--rtk-space-2, 8px);padding:var(--rtk-space-2, 8px);border-left-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-sm, 1px);border-top-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-bottom-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-border-opacity))}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);height:var(--rtk-space-8, 32px);width:100%}.search .search-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);padding:var(--rtk-space-2, 8px);--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-600, 255 255 255 / 0.52));border-top-right-radius:var(--rtk-border-radius-sm, 4px);border-bottom-right-radius:var(--rtk-border-radius-sm, 4px)}.search input{box-sizing:border-box;width:100%;padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-2, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;font-size:14px;line-height:1.25rem}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input{border-top-left-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px)}.channel-container{box-sizing:border-box;display:flex;flex-direction:column;padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);overflow-y:scroll}.channel-container .channel{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-2, 8px);padding:var(--rtk-space-0, 0px);border-left-width:var(--rtk-border-width-none, 0);border-right-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-sm, 1px);border-top-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-border-opacity))}.channel-container .channel:hover{cursor:pointer;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}.channel-container .channel:hover .latest-msg-time,.channel-container .channel:hover .latest-msg,.channel-container .channel:hover .latest-msg.new{color:rgb(var(--rtk-colors-text-on-brand-700, var(--rtk-colors-text-700, 255 255 255 / 0.64)))}.channel-container .channel-display{display:flex;gap:var(--rtk-space-2, 8px);align-self:center;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-0, 0px)}.channel-container .channel-display rtk-avatar{height:var(--rtk-space-9, 36px);width:var(--rtk-space-9, 36px);flex-shrink:0;font-size:12px}.channel-container .channel-display rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);flex-shrink:0;padding: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));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.channel-container .channel-card{width:100%;padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-left:var(--rtk-space-1, 4px)}.channel-container .channel-card .channel-name{max-width:var(--rtk-space-60, 240px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500}.channel-container .channel-card .latest-msg{margin:var(--rtk-space-0, 0px);max-width:var(--rtk-space-56, 224px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.channel-container .channel-card .latest-msg.new{font-weight:200;font-style:italic;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.channel-container .channel-card .latest-msg-time{font-size:12px;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.channel-container .channel-meta{width:var(--rtk-space-12, 48px);display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:var(--rtk-space-1\\.5, 6px);font-size:12px;font-weight:600}.channel-container .new-msgs-count{height:var(--rtk-space-4, 16px);min-width:var(--rtk-space-4, 16px);padding-top:1px;padding-bottom:1px;padding-left:2px;padding-right:2px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));border-radius:var(--rtk-border-radius-sm, 4px);text-align:center;font-size:12px}.channel-container .selected{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}.channel-container .selected .latest-msg-time,.channel-container .selected .latest-msg,.channel-container .selected .latest-msg.new{color:rgb(var(--rtk-colors-text-on-brand-700, var(--rtk-colors-text-700, 255 255 255 / 0.64)))}.channel-container .highlight .channel-title span{font-weight:700}.latest-msg p{margin:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-1, 4px);display:inline-block}.latest-msg blockquote{display:none}.recent-message-row{margin-bottom:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:row;justify-content:space-between}";
8
+ const RtkChannelSelectorUiStyle0 = rtkChannelSelectorUiCss;
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 RtkChannelSelectorUi = class {
21
+ constructor(hostRef) {
22
+ registerInstance(this, hostRef);
23
+ this.channelChanged = createEvent(this, "channelChanged", 7);
24
+ /** Icon pack */
25
+ this.iconPack = defaultIconPack;
26
+ /** Language */
27
+ this.t = useLanguage();
28
+ /** show recent message in channel */
29
+ this.showRecentMessage = false;
30
+ this.isHidden = false;
31
+ this.searchQuery = '';
32
+ this.handleResize = (e) => {
33
+ this.isHidden = !e.matches;
34
+ };
35
+ this.channelSelected = (channelId) => {
36
+ this.channelChanged.emit(channelId);
37
+ this.onRevealClicked();
38
+ };
39
+ this.onSearchInput = (e) => {
40
+ this.searchQuery = e.target.value;
41
+ };
42
+ this.onRevealClicked = () => {
43
+ if (this.matchMedia.matches)
44
+ return;
45
+ this.isHidden = !this.isHidden;
46
+ };
47
+ this.renderChannelDisplayPic = (channel) => {
48
+ const hasDisplayPic = channel.displayPictureUrl && channel.displayPictureUrl.length !== 0;
49
+ if (channel.isDirectMessage || hasDisplayPic) {
50
+ return (h("div", { class: "channel-display" }, h("rtk-avatar", { participant: {
51
+ name: channel.displayName,
52
+ picture: channel.displayPictureUrl,
53
+ } })));
54
+ }
55
+ else {
56
+ return (h("div", { class: "channel-display" }, h("rtk-icon", { icon: this.iconPack.people, slot: "start" })));
57
+ }
58
+ };
59
+ this.renderRecentMessage = (channel) => {
60
+ if (!channel.latestMessage)
61
+ return h("p", { class: "latest-msg new" }, this.t('chat.start_conversation'));
62
+ let senderFragment = channel.isDirectMessage ? '' : `${channel.latestMessage.displayName}: `;
63
+ if (channel.latestMessage.type === 'text') {
64
+ return (h("p", { class: "latest-msg" }, senderFragment, h(TextMessageView, { message: channel.latestMessage.message })));
65
+ }
66
+ // non text
67
+ let messageFragment = '';
68
+ if (channel.latestMessage.type === 'image') {
69
+ messageFragment = this.t('image');
70
+ }
71
+ else if (channel.latestMessage.type === 'file') {
72
+ messageFragment = this.t('file');
73
+ }
74
+ return h("p", { class: "latest-msg" }, `${senderFragment}${messageFragment}`);
75
+ };
76
+ }
77
+ connectedCallback() {
78
+ this.matchMedia = window.matchMedia(`(orientation: landscape) and (min-width: 400px)`);
79
+ this.matchMedia.addEventListener('change', this.handleResize);
80
+ this.isHidden = !this.matchMedia.matches;
81
+ }
82
+ disconnectedCallback() {
83
+ this.matchMedia.removeEventListener('change', this.handleResize);
84
+ }
85
+ componentDidRender() {
86
+ this.$el.style.transform = this.isHidden ? 'translateX(-380px)' : 'translateX(0)';
87
+ }
88
+ getTimeLabel(message) {
89
+ const messageDate = message.time;
90
+ const today = new Date();
91
+ const yesterday = new Date(today);
92
+ yesterday.setDate(today.getDate() - 1);
93
+ const firstDayOfWeek = new Date(today);
94
+ firstDayOfWeek.setDate(today.getDate() - today.getDay() - 1);
95
+ if (messageDate.toDateString() === today.toDateString()) {
96
+ return messageDate.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' });
97
+ }
98
+ else if (messageDate.toDateString() === yesterday.toDateString()) {
99
+ return this.t('date.yesteday');
100
+ }
101
+ else if (messageDate > firstDayOfWeek) {
102
+ const weekdays = [
103
+ 'date.sunday',
104
+ 'date.monday',
105
+ 'date.tuesday',
106
+ 'date.wednesday',
107
+ 'date.thursday',
108
+ 'date.friday',
109
+ 'date.saturday',
110
+ ];
111
+ return this.t(weekdays[messageDate.getDay()]);
112
+ }
113
+ else {
114
+ return Intl.DateTimeFormat([], {
115
+ day: '2-digit',
116
+ month: '2-digit',
117
+ year: '2-digit',
118
+ }).format(messageDate);
119
+ }
120
+ }
121
+ render() {
122
+ return (h(Host, { key: 'b6684ad536955380fd011a8db8ed74508ce5c4e2' }, h("div", { key: '0b9bd04166de85df7043026fe6f80d8980d09fd8', class: "container", ref: (el) => (this.$el = el) }, this.isHidden && (h("rtk-button", { key: '5b2af8c992ae39a097db0c6bcb79f73720c0baf6', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, h("rtk-icon", { key: '0713628a2ab34e4c7dbc8bf15a760331e0a4501b', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))), h("slot", { key: 'cba2cb4ec34adb4c852362af9aa6feef0c4f11b7', name: "header" }), h("div", { key: 'ca23085817b6b0ca7bcd7cbe87d5788bc3b091d6', class: "search-wrapper" }, h("div", { key: 'ac28f333fb7625024441c06039c86a651bf31a51', class: "search" }, h("input", { key: '34f1a069108d1610209bdc902afd40f168fd24a0', type: "search", autocomplete: "off", placeholder: this.t('chat.search_conversations'), onInput: this.onSearchInput }), h("rtk-icon", { key: '479b07ba42bbd7825e33f59efb4da26301553616', icon: this.iconPack.search, class: "search-icon" }))), h("div", { key: '4f97ff09587ab50ad957e6748ee31673f9097564', class: "channel-container scrollbar", role: "list" }, this.channels
123
+ .filter((channel) => this.searchQuery === '' || channel.displayName.includes(this.searchQuery))
124
+ .map((channel) => {
125
+ return (h("div", { class: {
126
+ channel: true,
127
+ selected: channel.id === this.selectedChannelId,
128
+ highlight: !!channel.unreadCount,
129
+ }, role: "listitem", onClick: () => {
130
+ this.channelSelected(channel.id);
131
+ } }, this.renderChannelDisplayPic(channel), h("div", { class: "channel-card", "is-direct-message": channel.isDirectMessage }, h("div", { class: 'recent-message-row' }, h("span", { class: "channel-name" }, channel.displayName), channel.latestMessage && (h("span", { class: "latest-msg-time" }, this.getTimeLabel(channel.latestMessage)))), h("div", { class: 'recent-message-row' }, this.renderRecentMessage(channel), channel.unreadCount > 0 && channel.id !== this.selectedChannelId ? (h("span", { class: "new-msgs-count" }, channel.unreadCount < 99 ? channel.unreadCount : '99+')) : null))));
132
+ }))), !this.isHidden && (h("div", { key: 'dbf1235ca2393f7978906cbbcd2530ea38801157', class: "overlay-container" }, h("rtk-button", { key: 'd2a37c163f32a251597ee8dd1332c48bacad1883', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, h("rtk-icon", { key: 'a13daad18a52bd8846dba2bbeab753d0a060463e', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))))));
133
+ }
134
+ };
135
+ __decorate([
136
+ SyncWithStore()
137
+ ], RtkChannelSelectorUi.prototype, "iconPack", void 0);
138
+ __decorate([
139
+ SyncWithStore()
140
+ ], RtkChannelSelectorUi.prototype, "t", void 0);
141
+ RtkChannelSelectorUi.style = RtkChannelSelectorUiStyle0;
142
+
143
+ export { RtkChannelSelectorUi as rtk_channel_selector_ui };
@@ -0,0 +1,311 @@
1
+ import { r as registerInstance, c as createEvent, w as writeTask, h, H as Host } from './index-c1fb98bb.js';
2
+ import { a as defaultIconPack, c as useLanguage, k as gracefulStorage } from './ui-store-b453cdf2.js';
3
+ import { r as reverse, h as handleFilesDataTransfer, k as replyBlockPattern, j as extractReplyBlock, s as stripOutReplyBlock, M as MAX_TEXT_LENGTH } from './chat-c25836b0.js';
4
+ import { S as SyncWithStore } from './index-6aaa85ca.js';
5
+
6
+ const rtkChatComposerUiCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.chat-input{position:relative;margin:var(--rtk-space-2, 8px);z-index:10;box-sizing:border-box;display:flex;flex-direction:column;border-radius:var(--rtk-border-radius-md, 8px);border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}textarea{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));box-sizing:border-box;padding:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}textarea::-moz-placeholder{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}textarea::placeholder{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}textarea{border-top-left-radius:var(--rtk-border-radius-md, 8px);border-top-right-radius:var(--rtk-border-radius-md, 8px);font-family:var(--rtk-font-family, sans-serif);outline:2px solid transparent;outline-offset:2px;resize:none;overflow-y:auto;border-width:var(--rtk-border-width-none, 0);border-style:none;min-height:60px;font-size:14px}.chat-buttons{border-bottom-right-radius:var(--rtk-border-radius-md, 8px);border-bottom-left-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));display:flex;height:var(--rtk-space-8, 32px);align-items:center;justify-content:space-between;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}.chat-buttons .left rtk-button{margin-right:var(--rtk-space-1, 4px)}.chat-buttons .left rtk-button rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.chat-buttons .right{z-index:10}.chat-buttons .right .edit-buttons{display:flex;gap:var(--rtk-space-2, 8px)}.chat-buttons>div{display:flex;align-items:center}rtk-emoji-picker{z-index:0;position:absolute;bottom:var(--rtk-space-32, 128px);border-top:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));animation:0.3s slide-up ease}@keyframes slide-up{from{transform:translateY(100%)}to{transform:translateY(0%)}}.member-list{margin:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-1, 4px);max-height:var(--rtk-space-28, 112px);min-width:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);padding:var(--rtk-space-0, 0px);position:absolute;bottom:var(--rtk-space-28, 112px);list-style-type:none;overflow-y:auto;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-sm, 4px);--tw-border-spacing-x:var(--rtk-space-2, 8px);--tw-border-spacing-y:var(--rtk-space-2, 8px);border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-style:solid;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.member-list .member{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-4, 16px);cursor:pointer}.member-list .member rtk-avatar{flex-shrink:0;height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);font-size:14px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.member-list .member span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-list .member:hover,.member-list .member.selected{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-700, 2 70 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.suggested-replies{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-3, 12px);display:flex;flex-wrap:nowrap;gap:var(--rtk-space-2, 8px);list-style-type:none;overflow-x:auto}.suggested-replies rtk-tooltip{flex-shrink:0}.suggested-replies li{padding:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-md, 8px);background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.75);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));cursor:pointer}.suggested-replies li:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity))}.preview-overlay{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));border-radius:var(--rtk-border-radius-md, 8px)}.file-preview{position:absolute;top:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);max-width:-moz-fit-content;max-width:fit-content;max-height:var(--rtk-space-20, 80px)}.file-preview:hover rtk-tooltip{display:block}.file-preview rtk-tooltip{position:absolute;top:calc(var(--rtk-space-1, 4px) * -1);left:calc(var(--rtk-space-1, 4px) * -1);display:none;margin-left:calc(var(--rtk-space-1, 4px) * -1);margin-top:calc(var(--rtk-space-1, 4px) * -1)}.file-preview rtk-button{display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));border:1px solid rgb(var(--rtk-colors-text-1000, 255 255 255))}.file-preview rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.preview-image{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);-o-object-fit:cover;object-fit:cover;max-height:100%;max-width:100%;overflow:clip;border-radius:var(--rtk-border-radius-md, 8px)}.preview-file{padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--rtk-border-radius-md, 8px);max-width:200px}@keyframes scroll-text{0%{transform:translateX(0%)}70%{transform:translateX(-100%)}80%{transform:translateX(0%)}100%{transform:translateX(0%)}}";
7
+ const RtkChatComposerUiStyle0 = rtkChatComposerUiCss;
8
+
9
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
10
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
11
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
12
+ r = Reflect.decorate(decorators, target, key, desc);
13
+ else
14
+ for (var i = decorators.length - 1; i >= 0; i--)
15
+ if (d = decorators[i])
16
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
17
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
18
+ };
19
+ const MENTION_CHAR = '@';
20
+ const RtkChatComposerUi = class {
21
+ constructor(hostRef) {
22
+ registerInstance(this, hostRef);
23
+ this.onNewMessage = createEvent(this, "rtkNewMessage", 7);
24
+ this.onEditMessage = createEvent(this, "rtkEditMessage", 7);
25
+ this.onEditCancelled = createEvent(this, "rtkEditCancelled", 7);
26
+ /** Whether user can send text messages */
27
+ this.canSendTextMessage = false;
28
+ /** Whether user can send file messages */
29
+ this.canSendFiles = false;
30
+ /** Icon pack */
31
+ this.iconPack = defaultIconPack;
32
+ /** Language */
33
+ this.t = useLanguage();
34
+ /** Whether to show emoji picker */
35
+ this.disableEmojiPicker = false;
36
+ /** prefill the composer */
37
+ this.prefill = {};
38
+ /** list of members that can be mentioned */
39
+ this.members = [];
40
+ this.emojiPickerActive = false;
41
+ this.mentionQuery = '';
42
+ this.focusedMemberIndex = 0;
43
+ this.filePreview = null;
44
+ this.fileReader = new FileReader();
45
+ this.fileToUpload = null;
46
+ this.handleKeyDown = (e) => {
47
+ if (e.key === MENTION_CHAR && [undefined, ' '].includes(this.$textArea.value.at(-1))) {
48
+ // [undefined, ' '] checks if mention is start of text or start of new word
49
+ this.mentionQuery = MENTION_CHAR;
50
+ }
51
+ if (e.key === 'ArrowDown') {
52
+ this.focusedMemberIndex = Math.min(this.focusedMemberIndex + 1, this.getFilteredMembers().length - 1);
53
+ }
54
+ if (e.key === 'ArrowUp') {
55
+ this.focusedMemberIndex = Math.max(0, this.focusedMemberIndex - 1);
56
+ }
57
+ if (e.key === 'Escape' || (e.key === 'Backspace' && this.mentionQuery === MENTION_CHAR)) {
58
+ this.mentionQuery = '';
59
+ }
60
+ if (['Enter', 'Tab', ' '].includes(e.key) && this.mentionQuery !== '') {
61
+ const member = this.getFilteredMembers()[this.focusedMemberIndex];
62
+ this.onMemberSelect(member);
63
+ e.preventDefault();
64
+ return;
65
+ }
66
+ // slack like typing experience
67
+ if (e.key === 'Enter' && e.shiftKey) {
68
+ const height = this.$textArea.clientHeight;
69
+ if (height < 200) {
70
+ this.$textArea.style.height = this.$textArea.clientHeight + 20 + 'px';
71
+ }
72
+ }
73
+ else if (e.key === 'Enter') {
74
+ e.preventDefault();
75
+ if (this.prefill.editMessage) {
76
+ this.handleEditMessage();
77
+ }
78
+ else {
79
+ this.handleSendMessage();
80
+ }
81
+ }
82
+ else if (e.key === 'Backspace') {
83
+ if (this.$textArea.value.endsWith('\n')) {
84
+ this.$textArea.style.height = this.$textArea.clientHeight - 20 + 'px';
85
+ }
86
+ else if (this.$textArea.value === '') {
87
+ this.$textArea.style.height = 'auto';
88
+ }
89
+ }
90
+ };
91
+ this.handleKeyUp = (_e) => {
92
+ if (this.mentionQuery !== '') {
93
+ const reversed = reverse(this.$textArea.value.trim());
94
+ const query = reversed.substring(0, reversed.indexOf(MENTION_CHAR));
95
+ this.mentionQuery = `${MENTION_CHAR}${reverse(query)}`;
96
+ }
97
+ };
98
+ this.onPaste = (e) => {
99
+ const data = e.clipboardData || e.originalEvent.clipboardData;
100
+ writeTask(() => {
101
+ if (data && data.items && data.items.length > 0) {
102
+ handleFilesDataTransfer(data.items, this.generateFilePreview);
103
+ this.$textArea.value = '';
104
+ }
105
+ });
106
+ };
107
+ this.generateFilePreview = (type, file) => {
108
+ this.fileToUpload = { type, image: file, file };
109
+ if (type === 'image') {
110
+ this.fileReader.readAsDataURL(file);
111
+ }
112
+ else if (type === 'file') {
113
+ this.filePreview = file.name;
114
+ }
115
+ };
116
+ this.sendFile = () => {
117
+ if (!this.canSendFiles) {
118
+ return;
119
+ }
120
+ if (this.fileToUpload.type === 'image') {
121
+ this.onNewMessage.emit({
122
+ type: 'image',
123
+ file: this.fileToUpload.image,
124
+ image: this.fileToUpload.image,
125
+ });
126
+ }
127
+ else {
128
+ this.onNewMessage.emit({ type: 'file', file: this.fileToUpload.file });
129
+ }
130
+ this.cleanUpFileUpload();
131
+ };
132
+ this.handleSendMessage = () => {
133
+ if (!this.canSendTextMessage) {
134
+ return;
135
+ }
136
+ if (this.fileToUpload !== null) {
137
+ this.sendFile();
138
+ return;
139
+ }
140
+ const message = this.$textArea.value.trim();
141
+ if (message.length > 0) {
142
+ if (this.prefill.replyMessage) {
143
+ this.onNewMessage.emit({
144
+ type: 'text',
145
+ message,
146
+ replyTo: this.prefill.replyMessage,
147
+ });
148
+ }
149
+ else {
150
+ this.onNewMessage.emit({ type: 'text', message });
151
+ }
152
+ this.cleanup();
153
+ }
154
+ };
155
+ this.cleanup = () => {
156
+ this.mentionQuery = '';
157
+ this.focusedMemberIndex = 0;
158
+ this.$textArea.value = '';
159
+ this.$textArea.style.height = 'auto';
160
+ gracefulStorage.setItem(this.storageKey, '');
161
+ };
162
+ this.handleEditMessage = () => {
163
+ var _a;
164
+ let editedMessage = this.$textArea.value.trim();
165
+ if (((_a = this.prefill.editMessage) === null || _a === void 0 ? void 0 : _a.message) &&
166
+ replyBlockPattern.test(this.prefill.editMessage.message)) {
167
+ // add back the reply block which we stripped out for editing
168
+ const replyBlock = extractReplyBlock(this.prefill.editMessage.message);
169
+ editedMessage = `${replyBlock}\n\n${editedMessage}`;
170
+ }
171
+ this.onEditMessage.emit({
172
+ id: this.prefill.editMessage.id,
173
+ message: editedMessage,
174
+ channelId: this.prefill.editMessage.channelId,
175
+ });
176
+ this.cleanup();
177
+ };
178
+ this.handleEditCancel = () => {
179
+ this.onEditCancelled.emit();
180
+ this.cleanup();
181
+ };
182
+ this.initializeTextField = (el) => {
183
+ this.$textArea = el;
184
+ const message = gracefulStorage.getItem(this.storageKey) || '';
185
+ this.$textArea.value = message;
186
+ };
187
+ this.onMemberSelect = (member) => {
188
+ const reversedQuery = reverse(this.mentionQuery);
189
+ const reversed = reverse(this.$textArea.value.trim()).replace(reversedQuery, '');
190
+ this.$textArea.value = reverse(reversed) + `${MENTION_CHAR}${member.name} `;
191
+ this.mentionQuery = '';
192
+ this.focusedMemberIndex = 0;
193
+ writeTask(() => this.$textArea.focus());
194
+ };
195
+ this.getFilteredMembers = () => {
196
+ const query = this.mentionQuery.replace(MENTION_CHAR, '');
197
+ return this.members.filter((member) => member.name.toLowerCase().includes(query.toLowerCase()));
198
+ };
199
+ this.cleanUpFileUpload = () => {
200
+ this.filePreview = null;
201
+ this.fileToUpload = null;
202
+ };
203
+ this.renderSuggestedReplies = () => {
204
+ if (!this.prefill.suggestedReplies)
205
+ return;
206
+ if (this.prefill.suggestedReplies.length === 0)
207
+ return;
208
+ return (h("ul", { class: "suggested-replies scrollbar" }, this.prefill.suggestedReplies.map((reply) => (h("rtk-tooltip", { label: this.t('chat.click_to_send') }, h("li", { onClick: () => this.onNewMessage.emit({ type: 'text', message: reply }) }, reply))))));
209
+ };
210
+ this.renderMenu = () => {
211
+ if (this.mentionQuery.length === 0)
212
+ return;
213
+ const filteredMembers = this.getFilteredMembers();
214
+ if (filteredMembers.length === 0)
215
+ return;
216
+ return (h("ul", { class: "member-list scrollbar" }, filteredMembers.map((member, index) => (h("li", { class: { member: true, selected: index === this.focusedMemberIndex }, onClick: () => this.onMemberSelect(member), ref: ($li) => {
217
+ if (index === this.focusedMemberIndex) {
218
+ writeTask(() => {
219
+ if ($li)
220
+ $li.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'nearest' });
221
+ });
222
+ }
223
+ } }, h("rtk-avatar", { participant: {
224
+ name: member.name,
225
+ picture: member.picture,
226
+ }, size: "sm" }), h("span", null, member.name))))));
227
+ };
228
+ }
229
+ connectedCallback() {
230
+ this.fileReader.onload = (e) => {
231
+ if (typeof e.target.result === 'string') {
232
+ this.filePreview = e.target.result;
233
+ }
234
+ };
235
+ // this.fileReader.onloadstart = () => {};
236
+ // this.fileReader.onloadend = () => {};
237
+ }
238
+ onChannelChanged() {
239
+ this.mentionQuery = '';
240
+ this.focusedMemberIndex = 0;
241
+ const message = gracefulStorage.getItem(this.storageKey) || '';
242
+ this.$textArea.value = message;
243
+ this.emojiPickerActive = false;
244
+ }
245
+ componentDidRender() {
246
+ if (this.prefill.editMessage || this.prefill.replyMessage) {
247
+ writeTask(() => this.$textArea.focus());
248
+ }
249
+ }
250
+ get storageKey() {
251
+ if (this.channelId) {
252
+ return `rtk-text-message-${this.channelId}`;
253
+ }
254
+ return 'rtk-text-message';
255
+ }
256
+ uploadFile(type) {
257
+ const input = document.createElement('input');
258
+ input.type = 'file';
259
+ if (type === 'image') {
260
+ input.accept = 'image/*';
261
+ }
262
+ input.onchange = (e) => {
263
+ const { validity, files: [file], } = e.target;
264
+ if (validity.valid) {
265
+ this.generateFilePreview(type, file);
266
+ }
267
+ };
268
+ input.click();
269
+ }
270
+ renderFilePreview() {
271
+ if (typeof this.filePreview !== 'string')
272
+ return;
273
+ return (h("div", { class: "preview-overlay" }, h("div", { class: "file-preview" }, h("rtk-tooltip", { label: this.t('chat.cancel_upload') }, h("rtk-button", { variant: "secondary", kind: "icon", onClick: this.cleanUpFileUpload }, h("rtk-icon", { icon: this.iconPack.dismiss }))), this.fileToUpload.type === 'image' ? (h("img", { class: "preview-image", src: this.filePreview })) : (h("div", { class: "preview-file" }, h("span", null, this.filePreview))))));
274
+ }
275
+ render() {
276
+ var _a;
277
+ let defaultValue = '';
278
+ if ((_a = this.prefill.editMessage) === null || _a === void 0 ? void 0 : _a.message) {
279
+ defaultValue = stripOutReplyBlock(this.prefill.editMessage.message);
280
+ }
281
+ return (h(Host, { key: '8f0ee810fac56aa1c62254d3d8a997941475bb3a' }, this.canSendTextMessage && this.emojiPickerActive && (h("rtk-emoji-picker", { key: '368bdbbe0e995aafd13e70d12f62b59979a5691b', part: "emoji-picker", onPickerClose: () => {
282
+ this.emojiPickerActive = false;
283
+ }, onRtkEmojiClicked: (e) => {
284
+ this.$textArea.value += e.detail;
285
+ this.$textArea.focus();
286
+ }, t: this.t })), this.renderSuggestedReplies(), h("slot", { key: '166872db8c0b07d2ec2e407de0fddfce7f3d4969', name: "chat-addon" }), h("slot", { key: 'b383df2de3320e69fe2cb35a22296d1ee53b08df', name: "quote-block" }), h("div", { key: '89d5fdf625bf212acda92276e9ec10b60b55a179', class: "chat-input", part: "chat-input" }, this.renderMenu(), this.canSendTextMessage && (h("textarea", { key: '55192f10820a161189d42b6150819be6a346d1e9', class: "scrollbar", part: "textarea", ref: this.initializeTextField, autoFocus: true, placeholder: this.fileToUpload ? '' : this.t('chat.message_placeholder'), value: defaultValue, onPaste: this.onPaste, maxLength: MAX_TEXT_LENGTH, onKeyDown: this.handleKeyDown, onKeyUp: this.handleKeyUp, onInput: (e) => {
287
+ gracefulStorage.setItem(this.storageKey, e.target.value);
288
+ }, disabled: !!this.filePreview })), h("div", { key: '6c3a94c43257041fdeed496c7bd8b57ce4be6510', class: "chat-buttons", part: "chat-buttons" }, h("div", { key: '76e6f7923484ee6a58359b6554e5e51009bc317f', class: "left", part: "chat-buttons-left" }, !this.prefill.editMessage &&
289
+ this.canSendFiles && [
290
+ h("rtk-tooltip", { key: 'dbc04471a85d1fe2987c7d18dd0781e61f85fa35', label: this.t('chat.send_file') }, h("rtk-button", { key: 'cb54c65b81559d4a00a316aacf2f4bb368f30799', variant: "ghost", kind: "icon", onClick: () => this.uploadFile('file'), title: this.t('chat.send_file') }, h("rtk-icon", { key: 'd3c542b0b1260ac305de3cfd5fbf5396f18d1f0e', icon: this.iconPack.attach }))),
291
+ h("rtk-tooltip", { key: '6aac421a0d9149fd6c188bcce25bf4152cb8c0dd', label: this.t('chat.send_img') }, h("rtk-button", { key: '5460407db51e83ab379bb8ade5af7d87bd04b64d', variant: "ghost", kind: "icon", onClick: () => this.uploadFile('image'), title: this.t('chat.send_img') }, h("rtk-icon", { key: '3f8732882dc03b5ddf23c59bdbe96329e551b070', icon: this.iconPack.image }))),
292
+ ], !this.prefill.editMessage && this.canSendTextMessage && !this.disableEmojiPicker && (h("rtk-tooltip", { key: '8d032069a031d6a3b3e4847953a8e027eb5b3400', label: this.t('chat.send_emoji') }, h("rtk-button", { key: 'b96b0791ac68f142408f269354bde5385c08a4da', variant: "ghost", kind: "icon", class: { active: this.emojiPickerActive }, title: this.t('chat.send_emoji'), onClick: () => {
293
+ this.emojiPickerActive = !this.emojiPickerActive;
294
+ } }, h("rtk-icon", { key: 'cd9ac09500ed1151dad94ed285db35bea6260ed8', icon: this.iconPack.emoji_multiple }))))), !!this.filePreview && this.renderFilePreview(), this.canSendTextMessage && (h("div", { key: '43b9f9232a7476b5600519fb3517d6342143d76f', class: "right", part: "chat-buttons-right" }, !this.prefill.editMessage && (h("rtk-tooltip", { key: 'ec757e58571a0ff2e4ab9b1006ab388b334a77d3', variant: "primary", label: this.t('chat.send_msg'), delay: 2000 }, h("rtk-button", { key: '054e7b52bfcfe852ca53ce96c6b498585924e616', kind: "icon", onClick: () => this.handleSendMessage(), title: this.t('chat.send_msg') }, h("rtk-icon", { key: 'd085d0aae594a8e08f29d200e4cb0818c0eabdfd', icon: this.iconPack.send })))), this.prefill.editMessage && (h("div", { key: '7926d7cf394a7989d2fbae97c1ab5a974834b431', class: "edit-buttons" }, h("rtk-tooltip", { key: '66029024ca595880cc72fdb28999f8380a8a37fc', variant: "secondary", label: this.t('cancel'), delay: 2000 }, h("rtk-button", { key: 'cba0e1460d33a0b20593009acc588ba4e385d782', kind: "icon", variant: "secondary", onClick: () => this.handleEditCancel(), title: this.t('cancel') }, h("rtk-icon", { key: '2155257dea8a5660b6b2d9d9510da153192be16e', icon: this.iconPack.dismiss }))), h("rtk-tooltip", { key: 'b296276e6f08c128ec3ba3cc292f6637e3550a34', variant: "primary", label: this.t('chat.update_msg'), delay: 2000 }, h("rtk-button", { key: 'e3c50822510811d254f3e8d65ed967b70be97037', kind: "icon", onClick: () => this.handleEditMessage(), title: this.t('chat.send_msg') }, h("rtk-icon", { key: '016e23547285b95c2545784d627a37fb8c6359d5', icon: this.iconPack.checkmark })))))))))));
295
+ }
296
+ static get watchers() { return {
297
+ "channelId": ["onChannelChanged"]
298
+ }; }
299
+ };
300
+ __decorate([
301
+ SyncWithStore()
302
+ ], RtkChatComposerUi.prototype, "size", void 0);
303
+ __decorate([
304
+ SyncWithStore()
305
+ ], RtkChatComposerUi.prototype, "iconPack", void 0);
306
+ __decorate([
307
+ SyncWithStore()
308
+ ], RtkChatComposerUi.prototype, "t", void 0);
309
+ RtkChatComposerUi.style = RtkChatComposerUiStyle0;
310
+
311
+ export { RtkChatComposerUi as rtk_chat_composer_ui };
@@ -0,0 +1,74 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-c1fb98bb.js';
2
+ import { a as defaultIconPack, c as useLanguage } from './ui-store-b453cdf2.js';
3
+ import { g as generateChatGroupKey } from './chat-c25836b0.js';
4
+ import { S as SyncWithStore } from './index-6aaa85ca.js';
5
+
6
+ const rtkChatSelectorUiCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;flex-direction:column}.chat-scope-selector{position:relative;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));z-index:10}.chat-scope-selector button{width:100%;border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-4, 16px);display:flex;align-items:center;justify-content:space-between;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-size:14px;cursor:pointer;height:var(--rtk-space-12, 48px)}.chat-scope-selector button span{display:flex;align-items:center;justify-content:flex-start}.chat-scope-selector button rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.chat-scope-selector .search{position:sticky;box-sizing:border-box;display:flex;align-items:center;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));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-0, 0px)}.chat-scope-selector .search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.chat-scope-selector .search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.chat-scope-selector .search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .participants-container{position:absolute;width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));top:var(--rtk-space-12, 48px);animation:0.3s slide-down ease}@keyframes slide-down{from{transform:translateY(-50px)}to{transform:translateY(0%)}}.chat-scope-selector .scope-list{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);list-style-type:none;padding-left:var(--rtk-space-0, 0px);padding-right:var(--rtk-space-0, 0px);overflow:auto;max-height:375px}.chat-scope-selector .scope-list .scope{position:relative;display:flex;flex-direction:row;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px)}.chat-scope-selector .scope-list .scope:hover{cursor:pointer;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.chat-scope-selector .scope-list .scope-special{margin-top:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat-scope-selector .scope-list .everyone-icon>rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.chat-scope-selector .scope-list .everyone-icon{display:flex;height:100%;width:100%;align-items:center;justify-content:center;margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px}.unread-count.selector{position:unset;margin-left:var(--rtk-space-2, 8px)}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}rtk-avatar{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px)}";
7
+ const RtkChatSelectorUiStyle0 = rtkChatSelectorUiCss;
8
+
9
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
10
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
11
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
12
+ r = Reflect.decorate(decorators, target, key, desc);
13
+ else
14
+ for (var i = decorators.length - 1; i >= 0; i--)
15
+ if (d = decorators[i])
16
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
17
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
18
+ };
19
+ const RtkChatSelectorUi = class {
20
+ constructor(hostRef) {
21
+ registerInstance(this, hostRef);
22
+ this.groupChanged = createEvent(this, "rtkChatGroupChanged", 7);
23
+ /** Unread counts */
24
+ this.unreadCounts = {};
25
+ /** Participants */
26
+ this.groups = [];
27
+ /** Icon pack */
28
+ this.iconPack = defaultIconPack;
29
+ /** Language */
30
+ this.t = useLanguage();
31
+ this.showParticipantsPanel = false;
32
+ this.query = '';
33
+ this.onScopeClick = (scope) => {
34
+ this.showParticipantsPanel = false;
35
+ this.groupChanged.emit(scope);
36
+ };
37
+ }
38
+ toggleParticipants() {
39
+ this.showParticipantsPanel = !this.showParticipantsPanel;
40
+ }
41
+ getGroups() {
42
+ return this.groups.filter((participant) => participant.name.toLowerCase().includes(this.query.toLowerCase()));
43
+ }
44
+ getName() {
45
+ if (!this.selectedGroupId || this.selectedGroupId === 'everyone') {
46
+ return this.t('everyone');
47
+ }
48
+ const group = this.groups.find((g) => g.userId === this.selectedGroupId);
49
+ if (group) {
50
+ return group.name;
51
+ }
52
+ return this.t('everyone');
53
+ }
54
+ render() {
55
+ const unreadCountTotal = Object.keys(this.unreadCounts).reduce((total, key) => {
56
+ return total + this.unreadCounts[key];
57
+ }, 0);
58
+ return (h(Host, null, h("div", { class: "chat-scope-selector" }, this.showParticipantsPanel && (h("div", { class: "participants-container" }, h("div", { class: "search", part: "search" }, h("rtk-icon", { icon: this.iconPack.search, part: "search-icon" }), h("input", { type: "search", autocomplete: "off", placeholder: this.t('search'), value: this.query, onInput: (e) => {
59
+ this.query = e.target.value;
60
+ }, part: "search-input" })), h("ul", { class: "scope-list scrollbar" }, this.query === '' && (h("li", { class: "scope scope-special", onClick: () => this.onScopeClick('everyone') }, h("div", { class: "everyone-icon" }, h("rtk-icon", { icon: this.iconPack.participants })), this.t('everyone'), this.unreadCounts['everyone'] > 0 && (h("div", { class: "unread-count", part: "unread-count" }, h("span", null, this.unreadCounts['everyone']))))), this.getGroups().map((group) => {
61
+ const count = this.unreadCounts[generateChatGroupKey([this.selfUserId, group.userId])];
62
+ return (h("li", { class: "scope", onClick: () => this.onScopeClick(group), key: group.userId }, group.name, count > 0 && (h("div", { class: "unread-count", part: "unread-count" }, h("span", null, count)))));
63
+ })))), h("button", { onClick: () => this.toggleParticipants() }, h("span", null, `${this.t('to')} ${this.getName()}`, ' ', unreadCountTotal > 0 && (h("div", { class: "unread-count selector" }, h("span", null, unreadCountTotal)))), h("rtk-icon", { icon: this.showParticipantsPanel ? this.iconPack.chevron_up : this.iconPack.chevron_down })))));
64
+ }
65
+ };
66
+ __decorate([
67
+ SyncWithStore()
68
+ ], RtkChatSelectorUi.prototype, "iconPack", void 0);
69
+ __decorate([
70
+ SyncWithStore()
71
+ ], RtkChatSelectorUi.prototype, "t", void 0);
72
+ RtkChatSelectorUi.style = RtkChatSelectorUiStyle0;
73
+
74
+ export { RtkChatSelectorUi as rtk_chat_selector_ui };