@cloudflare/realtimekit-ui 1.1.0-staging.1 → 1.1.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 (644) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/{TextMessage-7bb3e1fd.js → TextMessage-1dc6f8b9.js} +1 -1
  3. package/dist/cjs/{chat-717e517d.js → chat-2ae6f058.js} +1 -1
  4. package/dist/cjs/{config-8c9ac89a.js → config-0a88d50b.js} +2 -2
  5. package/dist/cjs/{debounce-a3e0d9e7.js → debounce-b06b27ca.js} +1 -1
  6. package/dist/cjs/{index-8d07e125.js → index-e4244d7d.js} +1 -1
  7. package/dist/cjs/index.cjs.js +6 -5
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/{merge-73e2770b.js → merge-c46cfa17.js} +1 -1
  10. package/dist/cjs/{notification-567fe887.js → notification-f3750b61.js} +1 -1
  11. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  12. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +3 -3
  14. package/dist/cjs/rtk-ai.cjs.entry.js +2 -2
  15. package/dist/cjs/rtk-audio-grid.cjs.entry.js +3 -3
  16. package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
  17. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +3 -3
  18. package/dist/cjs/rtk-avatar_24.cjs.entry.js +430 -301
  19. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +6 -6
  20. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +11 -11
  21. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
  22. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  23. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
  24. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
  25. package/dist/cjs/rtk-channel-creator.cjs.entry.js +4 -4
  26. package/dist/cjs/rtk-channel-details.cjs.entry.js +3 -3
  27. package/dist/cjs/rtk-channel-header.cjs.entry.js +2 -2
  28. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +6 -6
  29. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
  30. package/dist/cjs/rtk-chat-message.cjs.entry.js +4 -4
  31. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +5 -5
  32. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +3 -3
  33. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
  34. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +30 -25
  35. package/dist/cjs/rtk-clock.cjs.entry.js +5 -5
  36. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +3 -3
  37. package/dist/cjs/rtk-controlbar.cjs.entry.js +3 -3
  38. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
  39. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +3 -3
  40. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
  42. package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
  43. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +3 -3
  44. package/dist/cjs/rtk-file-message_3.cjs.entry.js +12 -12
  45. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
  46. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
  47. package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
  48. package/dist/cjs/rtk-header.cjs.entry.js +3 -3
  49. package/dist/cjs/rtk-idle-screen.cjs.entry.js +3 -3
  50. package/dist/cjs/rtk-image-viewer.cjs.entry.js +3 -3
  51. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +3 -3
  52. package/dist/cjs/rtk-leave-button.cjs.entry.js +3 -3
  53. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
  54. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
  55. package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
  56. package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
  57. package/dist/cjs/rtk-message-list-view.cjs.entry.js +6 -6
  58. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
  59. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
  60. package/dist/cjs/rtk-more-toggle.cjs.entry.js +4 -4
  61. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
  62. package/dist/cjs/rtk-name-tag.cjs.entry.js +3 -3
  63. package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
  64. package/dist/cjs/rtk-notification.cjs.entry.js +6 -6
  65. package/dist/cjs/rtk-notifications.cjs.entry.js +8 -5
  66. package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
  67. package/dist/cjs/rtk-participant-setup.cjs.entry.js +4 -4
  68. package/dist/cjs/rtk-participant_2.cjs.entry.js +17 -17
  69. package/dist/cjs/rtk-participants-audio.cjs.entry.js +3 -3
  70. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +3 -3
  71. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
  72. package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
  73. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
  74. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +3 -3
  75. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
  76. package/dist/cjs/rtk-plugins_2.cjs.entry.js +6 -6
  77. package/dist/cjs/rtk-poll_2.cjs.entry.js +5 -5
  78. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
  79. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +3 -3
  80. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
  81. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
  82. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +7 -7
  83. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
  84. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
  85. package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
  86. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  87. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +4 -4
  88. package/dist/cjs/rtk-sidebar.cjs.entry.js +3 -3
  89. package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
  90. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +4 -4
  91. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
  92. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
  93. package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
  94. package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
  95. package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
  96. package/dist/cjs/rtk-ui-provider.cjs.entry.js +13 -3
  97. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
  98. package/dist/cjs/{sidebar-2ad915b1.js → sidebar-0eb1e4ef.js} +1 -1
  99. package/dist/cjs/{ui-store-1cb28da8.js → ui-store-6c2d680f.js} +11 -2
  100. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  101. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  102. package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
  103. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +2 -2
  104. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
  105. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +2 -2
  106. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +1 -1
  107. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +2 -2
  108. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +29 -29
  109. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +4 -4
  110. package/dist/collection/components/rtk-chat/rtk-chat.css +47 -8
  111. package/dist/collection/components/rtk-chat/rtk-chat.js +98 -13
  112. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +28 -15
  113. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +2 -2
  114. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +3 -3
  115. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +37 -17
  116. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  117. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.css +1 -1
  118. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +27 -26
  119. package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
  120. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  121. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  122. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +1 -1
  123. package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
  124. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  125. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  126. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  127. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  128. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  129. package/dist/collection/components/rtk-file-message/rtk-file-message.js +2 -2
  130. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +1 -1
  131. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  132. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  133. package/dist/collection/components/rtk-icon/rtk-icon.js +1 -1
  134. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  135. package/dist/collection/components/rtk-image-message/rtk-image-message.js +4 -4
  136. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +3 -3
  137. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  138. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
  139. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
  140. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  141. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +2 -2
  142. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  143. package/dist/collection/components/rtk-meeting/rtk-meeting.js +37 -0
  144. package/dist/collection/components/rtk-menu/rtk-menu.js +2 -2
  145. package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +6 -1
  146. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +23 -1
  147. package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +15 -4
  148. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +23 -1
  149. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +3 -3
  150. package/dist/collection/components/rtk-message-view/rtk-message-view.css +30 -22
  151. package/dist/collection/components/rtk-message-view/rtk-message-view.js +72 -2
  152. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
  153. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  154. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
  155. package/dist/collection/components/rtk-notification/rtk-notification.js +2 -2
  156. package/dist/collection/components/rtk-notifications/rtk-notifications.js +4 -1
  157. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  158. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +5 -5
  159. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +327 -264
  160. package/dist/collection/components/rtk-participant/rtk-participant.js +12 -12
  161. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
  162. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  163. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  164. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  165. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  166. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  167. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
  168. package/dist/collection/components/rtk-polls/rtk-polls.js +3 -3
  169. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  170. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
  171. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  172. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +2 -2
  173. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  174. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +2 -2
  175. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  176. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  177. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
  178. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  179. package/dist/collection/components/rtk-text-message/rtk-text-message.js +2 -2
  180. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  181. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  182. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  183. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +37 -1
  184. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  185. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
  186. package/dist/collection/exports.js +2 -1
  187. package/dist/collection/lib/overrides.js +6 -0
  188. package/dist/collection/utils/flags.js +0 -1
  189. package/dist/collection/utils/sync-with-store/ui-store.js +4 -1
  190. package/dist/components/index.js +6 -6
  191. package/dist/components/{p-6f340109.js → p-05df465d.js} +1 -1
  192. package/dist/components/{p-9e87b2c9.js → p-0a31ef52.js} +2 -2
  193. package/dist/components/{p-618864a0.js → p-107e55c1.js} +3 -3
  194. package/dist/components/{p-5f26bba3.js → p-193d8051.js} +2 -2
  195. package/dist/components/{p-d3de8b85.js → p-19b037c5.js} +4 -4
  196. package/dist/components/{p-8d25843a.js → p-1a9e3806.js} +3 -3
  197. package/dist/components/{p-82f8c924.js → p-1afc54bb.js} +3 -3
  198. package/dist/components/{p-afe77b50.js → p-1da807a2.js} +3 -3
  199. package/dist/components/{p-2f08d7eb.js → p-210862ae.js} +98 -37
  200. package/dist/components/{p-abe1dbe6.js → p-2309fb19.js} +4 -4
  201. package/dist/components/{p-f8f5cb31.js → p-2447a26f.js} +4 -4
  202. package/dist/components/{p-63ef7ea4.js → p-282e8e83.js} +7 -7
  203. package/dist/components/{p-ee98bbaf.js → p-33be3c19.js} +13 -13
  204. package/dist/components/{p-adf73364.js → p-33e73313.js} +6 -6
  205. package/dist/components/{p-121e073d.js → p-35e93724.js} +2 -2
  206. package/dist/components/{p-bb8f2597.js → p-395ef9c8.js} +7 -7
  207. package/dist/components/{p-f47894a6.js → p-3972098e.js} +21 -27
  208. package/dist/components/{p-10ef077c.js → p-39e8b34a.js} +3 -3
  209. package/dist/components/{p-e81fc1e8.js → p-3e58e0f3.js} +3 -3
  210. package/dist/components/{p-0b4e526c.js → p-43bf8953.js} +4 -4
  211. package/dist/components/p-44a203bd.js +409 -0
  212. package/dist/components/{p-190db142.js → p-44c32349.js} +8 -8
  213. package/dist/components/{p-2d08ab28.js → p-45b4f6a1.js} +4 -4
  214. package/dist/components/{p-9889bee5.js → p-46d99dd9.js} +4 -4
  215. package/dist/components/{p-65cd2fe3.js → p-524d7900.js} +5 -5
  216. package/dist/components/{p-0d7bf41b.js → p-5476e3f3.js} +4 -4
  217. package/dist/components/{p-914563e7.js → p-586482a8.js} +6 -6
  218. package/dist/components/{p-fd68a52b.js → p-5f1b84f7.js} +9 -9
  219. package/dist/components/{p-d06d1eac.js → p-600579a6.js} +3 -3
  220. package/dist/components/{p-6f272732.js → p-6392204c.js} +9 -9
  221. package/dist/components/{p-a94b2e67.js → p-6739a399.js} +2 -2
  222. package/dist/components/{p-f7eb9c47.js → p-6c02b0d0.js} +6 -6
  223. package/dist/components/{p-c515acba.js → p-6f361314.js} +3 -3
  224. package/dist/components/{p-47c25f64.js → p-6f7c46d2.js} +1 -1
  225. package/dist/components/{p-84e5b453.js → p-6f8d2043.js} +2 -2
  226. package/dist/components/{p-080acf18.js → p-7148ec6a.js} +7 -4
  227. package/dist/components/{p-33a87325.js → p-72fffe3e.js} +3 -3
  228. package/dist/components/{p-3b29dda1.js → p-73baf5ba.js} +1 -1
  229. package/dist/components/{p-2f82e0b0.js → p-74356882.js} +8 -8
  230. package/dist/components/{p-fe911889.js → p-7a27fdb5.js} +20 -11
  231. package/dist/components/{p-b011763d.js → p-7b6356e2.js} +4 -4
  232. package/dist/components/{p-5c92df32.js → p-7bde2b2d.js} +6 -6
  233. package/dist/components/{p-6c2cfa0d.js → p-7c8096c2.js} +5 -5
  234. package/dist/components/{p-a6296b02.js → p-819cb785.js} +7 -4
  235. package/dist/components/{p-6756b222.js → p-851b90a6.js} +3 -3
  236. package/dist/components/{p-e4a080a5.js → p-89151c7a.js} +4 -4
  237. package/dist/components/{p-244cbe7b.js → p-89eb65a9.js} +2 -2
  238. package/dist/components/{p-c3621e10.js → p-92729e09.js} +7 -7
  239. package/dist/components/{p-cf503999.js → p-977f9875.js} +5 -5
  240. package/dist/components/{p-f4e75ea9.js → p-9bdc24b8.js} +5 -5
  241. package/dist/components/{p-188bfe87.js → p-abdff498.js} +9 -9
  242. package/dist/components/{p-78b61cce.js → p-ad873f2d.js} +1 -1
  243. package/dist/components/{p-d107e9f4.js → p-b6869c32.js} +4 -4
  244. package/dist/components/{p-395d7140.js → p-b76e3950.js} +5 -5
  245. package/dist/components/{p-102b6df8.js → p-c05530c8.js} +2 -2
  246. package/dist/components/p-c78c26b1.js +203 -0
  247. package/dist/components/{p-88bef213.js → p-cf8f725b.js} +1 -1
  248. package/dist/components/{p-c078ae06.js → p-d188f58b.js} +3 -3
  249. package/dist/components/{p-2e282643.js → p-d9f6db4f.js} +5 -5
  250. package/dist/components/{p-51de7af3.js → p-da87cc71.js} +1 -1
  251. package/dist/components/{p-0d582365.js → p-dc3143c0.js} +2 -2
  252. package/dist/components/{p-4d582a90.js → p-dd89aff2.js} +6 -6
  253. package/dist/components/{p-7481511c.js → p-dfb42075.js} +3 -3
  254. package/dist/components/{p-e675729a.js → p-e375b50d.js} +5 -5
  255. package/dist/components/{p-0a35a909.js → p-e443d803.js} +4 -4
  256. package/dist/components/{p-a6f2b402.js → p-e4888ccc.js} +31 -31
  257. package/dist/components/{p-a10b9faa.js → p-e552dc59.js} +3 -3
  258. package/dist/components/{p-55501201.js → p-e57e8041.js} +5 -5
  259. package/dist/components/{p-b34865c7.js → p-e64e3cec.js} +5 -5
  260. package/dist/components/{p-3da4880c.js → p-e72a0f16.js} +5 -5
  261. package/dist/components/{p-7fc0dc2f.js → p-e847fee9.js} +11 -3
  262. package/dist/components/{p-b882f4a1.js → p-ecb016da.js} +5 -5
  263. package/dist/components/{p-a4a5ff5a.js → p-edd12f2f.js} +6 -6
  264. package/dist/components/{p-563c785d.js → p-eeb37b16.js} +3 -3
  265. package/dist/components/{p-dbfc9151.js → p-f0e4633e.js} +4 -4
  266. package/dist/components/{p-a29c01fc.js → p-f6c2e822.js} +3 -3
  267. package/dist/components/{p-20290b0b.js → p-f7bd10f1.js} +5 -5
  268. package/dist/components/{p-e8df7ac5.js → p-fa5aba68.js} +19 -19
  269. package/dist/components/{p-488d88a8.js → p-fb7666ce.js} +5 -5
  270. package/dist/components/{p-fa8f6b4a.js → p-fb836f65.js} +1 -1
  271. package/dist/components/{p-e6710b76.js → p-fb900e8f.js} +4 -4
  272. package/dist/components/{p-f7430e46.js → p-fefc57f9.js} +6 -6
  273. package/dist/components/rtk-ai-toggle.js +5 -5
  274. package/dist/components/rtk-ai-transcriptions.js +1 -1
  275. package/dist/components/rtk-ai.js +4 -4
  276. package/dist/components/rtk-audio-grid.js +3 -3
  277. package/dist/components/rtk-audio-tile.js +6 -6
  278. package/dist/components/rtk-audio-visualizer.js +1 -1
  279. package/dist/components/rtk-avatar.js +1 -1
  280. package/dist/components/rtk-breakout-room-manager.js +1 -1
  281. package/dist/components/rtk-breakout-room-participants.js +1 -1
  282. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  283. package/dist/components/rtk-breakout-rooms-toggle.js +5 -5
  284. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  285. package/dist/components/rtk-camera-selector.js +1 -1
  286. package/dist/components/rtk-camera-toggle.js +6 -6
  287. package/dist/components/rtk-caption-toggle.js +5 -5
  288. package/dist/components/rtk-channel-creator.js +7 -7
  289. package/dist/components/rtk-channel-details.js +1 -1
  290. package/dist/components/rtk-channel-header.js +8 -8
  291. package/dist/components/rtk-channel-selector-ui.js +7 -7
  292. package/dist/components/rtk-channel-selector-view.js +1 -1
  293. package/dist/components/rtk-chat-composer-ui.js +7 -7
  294. package/dist/components/rtk-chat-composer-view.js +1 -1
  295. package/dist/components/rtk-chat-message.js +1 -1
  296. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  297. package/dist/components/rtk-chat-messages-ui.js +17 -17
  298. package/dist/components/rtk-chat-search-results.js +14 -14
  299. package/dist/components/rtk-chat-selector-ui.js +3 -3
  300. package/dist/components/rtk-chat-toggle.js +34 -30
  301. package/dist/components/rtk-chat.js +1 -1
  302. package/dist/components/rtk-clock.js +6 -6
  303. package/dist/components/rtk-confirmation-modal.js +1 -1
  304. package/dist/components/rtk-controlbar-button.js +1 -1
  305. package/dist/components/rtk-controlbar.js +3 -3
  306. package/dist/components/rtk-counter.js +1 -1
  307. package/dist/components/rtk-debugger-audio.js +1 -1
  308. package/dist/components/rtk-debugger-screenshare.js +1 -1
  309. package/dist/components/rtk-debugger-system.js +1 -1
  310. package/dist/components/rtk-debugger-toggle.js +6 -6
  311. package/dist/components/rtk-debugger-video.js +1 -1
  312. package/dist/components/rtk-debugger.js +1 -1
  313. package/dist/components/rtk-dialog-manager.js +23 -23
  314. package/dist/components/rtk-dialog.js +1 -1
  315. package/dist/components/rtk-draft-attachment-view.js +1 -1
  316. package/dist/components/rtk-emoji-picker-button.js +1 -1
  317. package/dist/components/rtk-emoji-picker.js +1 -1
  318. package/dist/components/rtk-ended-screen.js +4 -4
  319. package/dist/components/rtk-file-dropzone.js +4 -4
  320. package/dist/components/rtk-file-message-view.js +1 -1
  321. package/dist/components/rtk-file-message.js +1 -1
  322. package/dist/components/rtk-file-picker-button.js +1 -1
  323. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  324. package/dist/components/rtk-grid-pagination.js +4 -4
  325. package/dist/components/rtk-grid.js +9 -9
  326. package/dist/components/rtk-header.js +3 -3
  327. package/dist/components/rtk-icon.js +1 -1
  328. package/dist/components/rtk-idle-screen.js +6 -6
  329. package/dist/components/rtk-image-message-view.js +1 -1
  330. package/dist/components/rtk-image-message.js +1 -1
  331. package/dist/components/rtk-image-viewer.js +4 -4
  332. package/dist/components/rtk-information-tooltip.js +4 -4
  333. package/dist/components/rtk-join-stage.js +1 -1
  334. package/dist/components/rtk-leave-button.js +6 -6
  335. package/dist/components/rtk-leave-meeting.js +1 -1
  336. package/dist/components/rtk-livestream-indicator.js +1 -1
  337. package/dist/components/rtk-livestream-player.js +1 -1
  338. package/dist/components/rtk-livestream-toggle.js +5 -5
  339. package/dist/components/rtk-logo.js +1 -1
  340. package/dist/components/rtk-markdown-view.js +1 -1
  341. package/dist/components/rtk-meeting-title.js +3 -3
  342. package/dist/components/rtk-meeting.js +40 -28
  343. package/dist/components/rtk-menu-item.js +1 -1
  344. package/dist/components/rtk-menu-list.js +1 -1
  345. package/dist/components/rtk-menu.js +1 -1
  346. package/dist/components/rtk-message-list-view.js +7 -7
  347. package/dist/components/rtk-message-view.js +1 -1
  348. package/dist/components/rtk-mic-toggle.js +6 -6
  349. package/dist/components/rtk-microphone-selector.js +1 -1
  350. package/dist/components/rtk-mixed-grid.js +7 -7
  351. package/dist/components/rtk-more-toggle.js +7 -7
  352. package/dist/components/rtk-mute-all-button.js +6 -6
  353. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  354. package/dist/components/rtk-name-tag.js +1 -1
  355. package/dist/components/rtk-network-indicator.js +3 -3
  356. package/dist/components/rtk-notification.js +1 -1
  357. package/dist/components/rtk-notifications.js +9 -6
  358. package/dist/components/rtk-overlay-modal.js +1 -1
  359. package/dist/components/rtk-paginated-list.js +1 -1
  360. package/dist/components/rtk-participant-count.js +3 -3
  361. package/dist/components/rtk-participant-setup.js +4 -4
  362. package/dist/components/rtk-participant-tile.js +1 -1
  363. package/dist/components/rtk-participant.js +1 -1
  364. package/dist/components/rtk-participants-audio.js +5 -5
  365. package/dist/components/rtk-participants-stage-list.js +1 -1
  366. package/dist/components/rtk-participants-stage-queue.js +1 -1
  367. package/dist/components/rtk-participants-toggle.js +6 -6
  368. package/dist/components/rtk-participants-viewer-list.js +1 -1
  369. package/dist/components/rtk-participants-waiting-list.js +1 -1
  370. package/dist/components/rtk-participants.js +15 -15
  371. package/dist/components/rtk-permissions-message.js +1 -1
  372. package/dist/components/rtk-pip-toggle.js +5 -5
  373. package/dist/components/rtk-plugin-main.js +1 -1
  374. package/dist/components/rtk-plugins-toggle.js +6 -6
  375. package/dist/components/rtk-plugins.js +1 -1
  376. package/dist/components/rtk-poll-form.js +1 -1
  377. package/dist/components/rtk-poll.js +1 -1
  378. package/dist/components/rtk-polls-toggle.js +6 -6
  379. package/dist/components/rtk-polls.js +1 -1
  380. package/dist/components/rtk-recording-indicator.js +4 -4
  381. package/dist/components/rtk-recording-toggle.js +5 -5
  382. package/dist/components/rtk-screen-share-toggle.js +6 -6
  383. package/dist/components/rtk-screenshare-view.js +9 -9
  384. package/dist/components/rtk-settings-audio.js +1 -1
  385. package/dist/components/rtk-settings-toggle.js +6 -6
  386. package/dist/components/rtk-settings-video.js +1 -1
  387. package/dist/components/rtk-settings.js +11 -11
  388. package/dist/components/rtk-setup-screen.js +7 -7
  389. package/dist/components/rtk-sidebar-ui.js +1 -1
  390. package/dist/components/rtk-sidebar.js +10 -10
  391. package/dist/components/rtk-simple-grid.js +2 -2
  392. package/dist/components/rtk-speaker-selector.js +1 -1
  393. package/dist/components/rtk-spinner.js +1 -1
  394. package/dist/components/rtk-spotlight-grid.js +4 -4
  395. package/dist/components/rtk-spotlight-indicator.js +1 -1
  396. package/dist/components/rtk-stage-toggle.js +6 -6
  397. package/dist/components/rtk-stage.js +3 -3
  398. package/dist/components/rtk-switch.js +1 -1
  399. package/dist/components/rtk-tab-bar.js +1 -1
  400. package/dist/components/rtk-text-composer-view.js +1 -1
  401. package/dist/components/rtk-text-message-view.js +1 -1
  402. package/dist/components/rtk-text-message.js +1 -1
  403. package/dist/components/rtk-tooltip.js +1 -1
  404. package/dist/components/rtk-transcript.js +1 -1
  405. package/dist/components/rtk-transcripts.js +3 -3
  406. package/dist/components/rtk-ui-provider.js +17 -5
  407. package/dist/components/rtk-viewer-count.js +1 -1
  408. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  409. package/dist/components/rtk-waiting-screen.js +4 -4
  410. package/dist/docs/docs-components.json +372 -82
  411. package/dist/docs/docs-vscode.json +42 -1
  412. package/dist/esm/{TextMessage-ca92045e.js → TextMessage-0d8be8c5.js} +1 -1
  413. package/dist/esm/{chat-ff185374.js → chat-b2bea75f.js} +1 -1
  414. package/dist/esm/{config-e684aa4d.js → config-325caca3.js} +2 -2
  415. package/dist/esm/{debounce-3ea4df36.js → debounce-3139f9e3.js} +1 -1
  416. package/dist/esm/{index-e65afca5.js → index-6eb882e7.js} +1 -1
  417. package/dist/esm/index.js +7 -7
  418. package/dist/esm/loader.js +584 -428
  419. package/dist/esm/{merge-7ffc04b3.js → merge-bc2a0775.js} +1 -1
  420. package/dist/esm/{notification-78afaabf.js → notification-4beb1e0d.js} +1 -1
  421. package/dist/esm/realtimekit-ui.js +1 -1
  422. package/dist/esm/rtk-ai-toggle.entry.js +2 -2
  423. package/dist/esm/rtk-ai-transcriptions.entry.js +3 -3
  424. package/dist/esm/rtk-ai.entry.js +2 -2
  425. package/dist/esm/rtk-audio-grid.entry.js +3 -3
  426. package/dist/esm/rtk-audio-tile.entry.js +2 -2
  427. package/dist/esm/rtk-audio-visualizer_4.entry.js +3 -3
  428. package/dist/esm/rtk-avatar_24.entry.js +430 -301
  429. package/dist/esm/rtk-breakout-room-manager_3.entry.js +6 -6
  430. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +11 -11
  431. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
  432. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  433. package/dist/esm/rtk-camera-toggle.entry.js +2 -2
  434. package/dist/esm/rtk-caption-toggle.entry.js +2 -2
  435. package/dist/esm/rtk-channel-creator.entry.js +4 -4
  436. package/dist/esm/rtk-channel-details.entry.js +3 -3
  437. package/dist/esm/rtk-channel-header.entry.js +2 -2
  438. package/dist/esm/rtk-channel-selector-ui.entry.js +6 -6
  439. package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
  440. package/dist/esm/rtk-chat-message.entry.js +4 -4
  441. package/dist/esm/rtk-chat-messages-ui.entry.js +5 -5
  442. package/dist/esm/rtk-chat-search-results.entry.js +3 -3
  443. package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
  444. package/dist/esm/rtk-chat-toggle.entry.js +30 -25
  445. package/dist/esm/rtk-clock.entry.js +5 -5
  446. package/dist/esm/rtk-controlbar-button.entry.js +3 -3
  447. package/dist/esm/rtk-controlbar.entry.js +3 -3
  448. package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
  449. package/dist/esm/rtk-debugger-toggle.entry.js +3 -3
  450. package/dist/esm/rtk-dialog-manager.entry.js +2 -2
  451. package/dist/esm/rtk-dialog.entry.js +2 -2
  452. package/dist/esm/rtk-ended-screen.entry.js +2 -2
  453. package/dist/esm/rtk-file-dropzone.entry.js +3 -3
  454. package/dist/esm/rtk-file-message_3.entry.js +12 -12
  455. package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
  456. package/dist/esm/rtk-grid-pagination.entry.js +2 -2
  457. package/dist/esm/rtk-grid.entry.js +2 -2
  458. package/dist/esm/rtk-header.entry.js +3 -3
  459. package/dist/esm/rtk-idle-screen.entry.js +3 -3
  460. package/dist/esm/rtk-image-viewer.entry.js +3 -3
  461. package/dist/esm/rtk-information-tooltip.entry.js +3 -3
  462. package/dist/esm/rtk-leave-button.entry.js +3 -3
  463. package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
  464. package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
  465. package/dist/esm/rtk-logo.entry.js +2 -2
  466. package/dist/esm/rtk-meeting-title.entry.js +2 -2
  467. package/dist/esm/rtk-message-list-view.entry.js +6 -6
  468. package/dist/esm/rtk-mic-toggle.entry.js +2 -2
  469. package/dist/esm/rtk-mixed-grid.entry.js +2 -2
  470. package/dist/esm/rtk-more-toggle.entry.js +4 -4
  471. package/dist/esm/rtk-mute-all-button.entry.js +2 -2
  472. package/dist/esm/rtk-name-tag.entry.js +3 -3
  473. package/dist/esm/rtk-network-indicator.entry.js +2 -2
  474. package/dist/esm/rtk-notification.entry.js +6 -6
  475. package/dist/esm/rtk-notifications.entry.js +8 -5
  476. package/dist/esm/rtk-participant-count.entry.js +2 -2
  477. package/dist/esm/rtk-participant-setup.entry.js +4 -4
  478. package/dist/esm/rtk-participant_2.entry.js +17 -17
  479. package/dist/esm/rtk-participants-audio.entry.js +3 -3
  480. package/dist/esm/rtk-participants-stage-list_4.entry.js +3 -3
  481. package/dist/esm/rtk-participants-toggle.entry.js +3 -3
  482. package/dist/esm/rtk-participants.entry.js +3 -3
  483. package/dist/esm/rtk-pip-toggle.entry.js +2 -2
  484. package/dist/esm/rtk-plugin-main_2.entry.js +3 -3
  485. package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
  486. package/dist/esm/rtk-plugins_2.entry.js +6 -6
  487. package/dist/esm/rtk-poll_2.entry.js +5 -5
  488. package/dist/esm/rtk-polls-toggle.entry.js +3 -3
  489. package/dist/esm/rtk-recording-indicator.entry.js +3 -3
  490. package/dist/esm/rtk-recording-toggle.entry.js +2 -2
  491. package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
  492. package/dist/esm/rtk-screenshare-view.entry.js +7 -7
  493. package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
  494. package/dist/esm/rtk-settings-toggle.entry.js +3 -3
  495. package/dist/esm/rtk-settings.entry.js +2 -2
  496. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  497. package/dist/esm/rtk-sidebar-ui.entry.js +4 -4
  498. package/dist/esm/rtk-sidebar.entry.js +3 -3
  499. package/dist/esm/rtk-simple-grid.entry.js +2 -2
  500. package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
  501. package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
  502. package/dist/esm/rtk-stage-toggle.entry.js +2 -2
  503. package/dist/esm/rtk-stage.entry.js +3 -3
  504. package/dist/esm/rtk-transcript.entry.js +3 -3
  505. package/dist/esm/rtk-transcripts.entry.js +2 -2
  506. package/dist/esm/rtk-ui-provider.entry.js +13 -3
  507. package/dist/esm/rtk-waiting-screen.entry.js +3 -3
  508. package/dist/esm/{sidebar-030fff49.js → sidebar-376c9917.js} +1 -1
  509. package/dist/esm/{ui-store-9e486e1b.js → ui-store-12132d9c.js} +11 -3
  510. package/dist/realtimekit-ui/index.esm.js +1 -1
  511. package/dist/realtimekit-ui/{p-385fddbd.entry.js → p-00445029.entry.js} +1 -1
  512. package/dist/realtimekit-ui/{p-74e1b5a6.entry.js → p-05d1b9d5.entry.js} +1 -1
  513. package/dist/realtimekit-ui/{p-95f05e26.entry.js → p-0baa78d7.entry.js} +1 -1
  514. package/dist/realtimekit-ui/{p-12e4cb4a.js → p-11a469d9.js} +1 -1
  515. package/dist/realtimekit-ui/{p-8f512d69.entry.js → p-14569a57.entry.js} +1 -1
  516. package/dist/realtimekit-ui/{p-2b373e53.entry.js → p-1462cbd9.entry.js} +1 -1
  517. package/dist/realtimekit-ui/{p-2fc5ef84.entry.js → p-1669c53d.entry.js} +1 -1
  518. package/dist/realtimekit-ui/{p-b387e9a1.entry.js → p-1834416c.entry.js} +1 -1
  519. package/dist/realtimekit-ui/{p-0b8c47d9.entry.js → p-1fe6003b.entry.js} +1 -1
  520. package/dist/realtimekit-ui/p-21d4bb9c.entry.js +1 -0
  521. package/dist/realtimekit-ui/{p-61a53713.entry.js → p-2441260e.entry.js} +1 -1
  522. package/dist/realtimekit-ui/p-25c4d10f.js +1 -0
  523. package/dist/realtimekit-ui/{p-53ac3d30.entry.js → p-2b054928.entry.js} +1 -1
  524. package/dist/realtimekit-ui/{p-62e0a141.entry.js → p-30dcb4cc.entry.js} +1 -1
  525. package/dist/realtimekit-ui/p-322957ed.entry.js +1 -0
  526. package/dist/realtimekit-ui/{p-36c8dfa0.entry.js → p-323d1aa4.entry.js} +1 -1
  527. package/dist/realtimekit-ui/p-342b4926.entry.js +1 -0
  528. package/dist/realtimekit-ui/p-369648b9.entry.js +1 -0
  529. package/dist/realtimekit-ui/{p-4eba1baa.entry.js → p-3dd04263.entry.js} +1 -1
  530. package/dist/realtimekit-ui/{p-60a29b69.entry.js → p-3f4120cc.entry.js} +1 -1
  531. package/dist/realtimekit-ui/{p-3a325310.entry.js → p-426bf45e.entry.js} +1 -1
  532. package/dist/realtimekit-ui/{p-a9126c12.entry.js → p-43530cd3.entry.js} +1 -1
  533. package/dist/realtimekit-ui/p-44531a97.entry.js +1 -0
  534. package/dist/realtimekit-ui/p-4485414e.entry.js +1 -0
  535. package/dist/realtimekit-ui/p-44d69c6b.entry.js +1 -0
  536. package/dist/realtimekit-ui/p-45f90b95.js +1 -0
  537. package/dist/realtimekit-ui/{p-951a7b06.entry.js → p-48c87789.entry.js} +1 -1
  538. package/dist/realtimekit-ui/{p-949b2b6a.entry.js → p-4b33b435.entry.js} +1 -1
  539. package/dist/realtimekit-ui/{p-8b189438.entry.js → p-4b638184.entry.js} +1 -1
  540. package/dist/realtimekit-ui/{p-9ad2c746.entry.js → p-515a17ce.entry.js} +1 -1
  541. package/dist/realtimekit-ui/{p-7b999408.entry.js → p-532e1a53.entry.js} +1 -1
  542. package/dist/realtimekit-ui/{p-38f4773b.entry.js → p-53680d55.entry.js} +1 -1
  543. package/dist/realtimekit-ui/{p-5383fe87.entry.js → p-54a88fdf.entry.js} +1 -1
  544. package/dist/realtimekit-ui/{p-c7711712.entry.js → p-573187b4.entry.js} +1 -1
  545. package/dist/realtimekit-ui/{p-f5aa8af7.entry.js → p-5892c1e0.entry.js} +1 -1
  546. package/dist/realtimekit-ui/{p-54a31e02.entry.js → p-5b00a8fa.entry.js} +1 -1
  547. package/dist/realtimekit-ui/{p-aa70de39.entry.js → p-612a8d25.entry.js} +1 -1
  548. package/dist/realtimekit-ui/{p-6adb2de4.entry.js → p-616dc312.entry.js} +1 -1
  549. package/dist/realtimekit-ui/{p-a9dd63ef.entry.js → p-639601b7.entry.js} +1 -1
  550. package/dist/realtimekit-ui/{p-c638f666.entry.js → p-64206b62.entry.js} +1 -1
  551. package/dist/realtimekit-ui/{p-1666857d.entry.js → p-67ead213.entry.js} +1 -1
  552. package/dist/realtimekit-ui/{p-882d07c9.entry.js → p-685adc5f.entry.js} +1 -1
  553. package/dist/realtimekit-ui/p-6896e819.entry.js +1 -0
  554. package/dist/realtimekit-ui/{p-09869644.entry.js → p-6914a616.entry.js} +1 -1
  555. package/dist/realtimekit-ui/{p-9cbf286a.entry.js → p-701cdf1b.entry.js} +1 -1
  556. package/dist/realtimekit-ui/p-7108d1cd.entry.js +1 -0
  557. package/dist/realtimekit-ui/{p-a319e81f.entry.js → p-75f53ae6.entry.js} +1 -1
  558. package/dist/realtimekit-ui/{p-c1b81873.entry.js → p-7a9a226e.entry.js} +1 -1
  559. package/dist/realtimekit-ui/{p-3d0c4257.entry.js → p-7d01d588.entry.js} +1 -1
  560. package/dist/realtimekit-ui/{p-8b341608.entry.js → p-80e51a73.entry.js} +1 -1
  561. package/dist/realtimekit-ui/p-820dad23.entry.js +1 -0
  562. package/dist/realtimekit-ui/p-85b3c0c4.entry.js +1 -0
  563. package/dist/realtimekit-ui/{p-f0f6c282.entry.js → p-85b45c3b.entry.js} +1 -1
  564. package/dist/realtimekit-ui/{p-2a0ec1c6.entry.js → p-8778b3e6.entry.js} +1 -1
  565. package/dist/realtimekit-ui/{p-c5c965b8.entry.js → p-94a37c73.entry.js} +1 -1
  566. package/dist/realtimekit-ui/{p-3369f405.entry.js → p-95fb25d6.entry.js} +1 -1
  567. package/dist/realtimekit-ui/{p-80c856cd.js → p-9b550ec4.js} +1 -1
  568. package/dist/realtimekit-ui/{p-643194e4.entry.js → p-a0d39ea3.entry.js} +1 -1
  569. package/dist/realtimekit-ui/{p-639ab9ad.entry.js → p-a1408db4.entry.js} +1 -1
  570. package/dist/realtimekit-ui/{p-d0384d90.entry.js → p-a40cc665.entry.js} +1 -1
  571. package/dist/realtimekit-ui/{p-084b6f30.js → p-a5900df2.js} +1 -1
  572. package/dist/realtimekit-ui/{p-a1203856.entry.js → p-a67e2a25.entry.js} +1 -1
  573. package/dist/realtimekit-ui/{p-31f58b98.entry.js → p-a680da64.entry.js} +1 -1
  574. package/dist/realtimekit-ui/{p-61a16ccf.entry.js → p-a7172c2d.entry.js} +1 -1
  575. package/dist/realtimekit-ui/{p-91ea043c.js → p-a7e0277f.js} +1 -1
  576. package/dist/realtimekit-ui/p-a852e0cf.entry.js +1 -0
  577. package/dist/realtimekit-ui/{p-ae7319ac.entry.js → p-a9190330.entry.js} +1 -1
  578. package/dist/realtimekit-ui/{p-7613857e.entry.js → p-ac6c8ebe.entry.js} +1 -1
  579. package/dist/realtimekit-ui/{p-e7b83772.entry.js → p-ad5e9fdb.entry.js} +1 -1
  580. package/dist/realtimekit-ui/{p-98ee3341.entry.js → p-af58f450.entry.js} +1 -1
  581. package/dist/realtimekit-ui/{p-6a45f305.js → p-afa7211c.js} +1 -1
  582. package/dist/realtimekit-ui/{p-4eee77b0.entry.js → p-b25f7d7b.entry.js} +1 -1
  583. package/dist/realtimekit-ui/p-b51e813e.entry.js +1 -0
  584. package/dist/realtimekit-ui/{p-38aec474.entry.js → p-be03944b.entry.js} +1 -1
  585. package/dist/realtimekit-ui/{p-3eefefa3.entry.js → p-be5bdd0a.entry.js} +1 -1
  586. package/dist/realtimekit-ui/p-bf717b8c.entry.js +1 -0
  587. package/dist/realtimekit-ui/p-c5f704a3.entry.js +1 -0
  588. package/dist/realtimekit-ui/{p-de75d48d.entry.js → p-c8773db0.entry.js} +1 -1
  589. package/dist/realtimekit-ui/{p-5a2d8313.entry.js → p-cb54bd67.entry.js} +1 -1
  590. package/dist/realtimekit-ui/{p-ba51770e.entry.js → p-cc226b51.entry.js} +1 -1
  591. package/dist/realtimekit-ui/{p-91fd286c.js → p-cd0c5440.js} +1 -1
  592. package/dist/realtimekit-ui/{p-e925ca8a.entry.js → p-cd56beb7.entry.js} +1 -1
  593. package/dist/realtimekit-ui/{p-d7f16f24.entry.js → p-cda276d6.entry.js} +1 -1
  594. package/dist/realtimekit-ui/{p-93b84c22.js → p-d3e520e5.js} +1 -1
  595. package/dist/realtimekit-ui/p-d880fb69.entry.js +1 -0
  596. package/dist/realtimekit-ui/{p-11c964cf.entry.js → p-e0c73820.entry.js} +1 -1
  597. package/dist/realtimekit-ui/{p-e62593a2.entry.js → p-e5b426fa.entry.js} +1 -1
  598. package/dist/realtimekit-ui/{p-61d3f74f.entry.js → p-e78ba202.entry.js} +1 -1
  599. package/dist/realtimekit-ui/{p-7786e9a7.entry.js → p-ebfde234.entry.js} +1 -1
  600. package/dist/realtimekit-ui/p-ec5ed8a4.entry.js +1 -0
  601. package/dist/realtimekit-ui/{p-9c1f42dd.entry.js → p-f266302c.entry.js} +1 -1
  602. package/dist/realtimekit-ui/{p-d9cad67f.entry.js → p-f32aecbc.entry.js} +1 -1
  603. package/dist/realtimekit-ui/{p-7f76de48.entry.js → p-f6c82f1b.entry.js} +1 -1
  604. package/dist/realtimekit-ui/p-fa86682c.entry.js +1 -0
  605. package/dist/realtimekit-ui/{p-788f26c4.entry.js → p-fcb7a6e2.entry.js} +1 -1
  606. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  607. package/dist/types/components/rtk-chat/rtk-chat.d.ts +6 -1
  608. package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +1 -0
  609. package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +2 -0
  610. package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +4 -6
  611. package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +4 -0
  612. package/dist/types/components/rtk-menu-item/rtk-menu-item.d.ts +2 -0
  613. package/dist/types/components/rtk-menu-list/rtk-menu-list.d.ts +2 -0
  614. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +7 -0
  615. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +55 -54
  616. package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +4 -1
  617. package/dist/types/components.d.ts +84 -7
  618. package/dist/types/exports.d.ts +2 -1
  619. package/dist/types/lib/overrides.d.ts +16 -0
  620. package/dist/types/utils/flags.d.ts +0 -1
  621. package/dist/types/utils/sync-with-store/ui-store.d.ts +4 -1
  622. package/package.json +1 -1
  623. package/dist/components/p-a9540d93.js +0 -357
  624. package/dist/components/p-d4e2ac64.js +0 -203
  625. package/dist/realtimekit-ui/p-0689d68b.entry.js +0 -1
  626. package/dist/realtimekit-ui/p-1bf58a84.entry.js +0 -1
  627. package/dist/realtimekit-ui/p-2f641bfa.entry.js +0 -1
  628. package/dist/realtimekit-ui/p-33228f0a.entry.js +0 -1
  629. package/dist/realtimekit-ui/p-3e02ec0b.entry.js +0 -1
  630. package/dist/realtimekit-ui/p-481549ac.entry.js +0 -1
  631. package/dist/realtimekit-ui/p-50157a65.entry.js +0 -1
  632. package/dist/realtimekit-ui/p-50e861f9.entry.js +0 -1
  633. package/dist/realtimekit-ui/p-57277553.entry.js +0 -1
  634. package/dist/realtimekit-ui/p-5dc40f1a.entry.js +0 -1
  635. package/dist/realtimekit-ui/p-77e04fb7.entry.js +0 -1
  636. package/dist/realtimekit-ui/p-7a8ca3f2.entry.js +0 -1
  637. package/dist/realtimekit-ui/p-930f0255.entry.js +0 -1
  638. package/dist/realtimekit-ui/p-941f159e.entry.js +0 -1
  639. package/dist/realtimekit-ui/p-a4e223e8.entry.js +0 -1
  640. package/dist/realtimekit-ui/p-b564d931.entry.js +0 -1
  641. package/dist/realtimekit-ui/p-e720b51e.js +0 -1
  642. package/dist/realtimekit-ui/p-e87928f7.js +0 -1
  643. package/dist/realtimekit-ui/p-f40a55e3.entry.js +0 -1
  644. package/dist/realtimekit-ui/p-f645b8bb.entry.js +0 -1
@@ -24,6 +24,7 @@ export class RtkChatComposerView {
24
24
  constructor() {
25
25
  /** Whether user can send text messages */
26
26
  this.canSendTextMessage = true;
27
+ this.isSending = false;
27
28
  /** Whether user can send file messages */
28
29
  this.canSendFiles = true;
29
30
  /** Message to be pre-populated */
@@ -84,15 +85,7 @@ export class RtkChatComposerView {
84
85
  messageLimits.messagesSent += 1;
85
86
  this.checkRateLimitBreached(currentTime);
86
87
  if (message.length > 0) {
87
- if (this.quotedMessage.length !== 0) {
88
- this.onNewMessage.emit({
89
- type: 'text',
90
- message,
91
- });
92
- }
93
- else {
94
- this.onNewMessage.emit({ type: 'text', message });
95
- }
88
+ this.onNewMessage.emit({ type: 'text', message });
96
89
  this.cleanup();
97
90
  }
98
91
  };
@@ -176,17 +169,17 @@ export class RtkChatComposerView {
176
169
  render() {
177
170
  var _a;
178
171
  const uiProps = { iconPack: this.iconPack, t: this.t };
179
- return (h(Host, { key: '06455539e3067eb1c1c592b551d0ef99eba2f331' }, this.canSendTextMessage && this.isEmojiPickerOpen && (h("rtk-emoji-picker", Object.assign({ key: 'fe83b0ab9562cc0e1c61f89e4b441ef592edfa1a', part: "emoji-picker", onPickerClose: () => {
172
+ return (h(Host, { key: '2df23422579c855ced1cb6d24bb95786a1326baf' }, this.canSendTextMessage && this.isEmojiPickerOpen && (h("rtk-emoji-picker", Object.assign({ key: 'a7ed280a636d0207f58f0ad13f79c1eaed52ab9c', part: "emoji-picker", onPickerClose: () => {
180
173
  this.isEmojiPickerOpen = false;
181
174
  }, onRtkEmojiClicked: (e) => {
182
175
  this.textMessage += e.detail;
183
176
  this.$textComposer.setText(this.textMessage, true);
184
- } }, uiProps))), h("slot", { key: '8653c2e805e41adf5958941cc10ff01d43f97792', name: "chat-addon" }), this.quotedMessage && this.quotedMessage.length !== 0 && (h("div", { key: '82b9bf5203a799709e980d61ab827b9daf8292e6', class: "quoted-message-container", part: "quoted-message-container" }, h("div", { key: '4b9fe8f382da7075e815c329f2d7dca17ce0f694', class: "quoted-message scrollbar" }, h("rtk-text-message-view", { key: '7a16547e83d9bca43794e46e56c5a9c743a9929a', text: this.quotedMessage, isMarkdown: true })), h("div", { key: '5691b8d882016cda66cd2faf3858bc38cd53458c' }, h("rtk-icon", { key: '2d5b222bd5eaac6d46812b704674f52f86efdb92', "aria-label": this.t('dismiss'), class: "dismiss", icon: this.iconPack.dismiss, onClick: this.onQuotedMessageDismissHandler })))), h("div", { key: 'd7638411df9ae1b2cbef8cae66d0af2b7ad310e6', class: "composer-container" }, h("div", { key: 'ca1ee222584fdd27e53989d28b6ce583c6b0c400', class: "composers" }, this.fileToUpload && (h("rtk-draft-attachment-view", Object.assign({ key: 'd511c900c71a97f8f92640b73a7575dcd267de88' }, uiProps, { attachment: this.fileToUpload, onDeleteAttachment: () => (this.fileToUpload = null) }))), !this.fileToUpload && (h("rtk-text-composer-view", { key: '08f214184853dcedeccb5f07dac2a0a308269793', value: this.textMessage, placeholder: this.inputTextPlaceholder, onTextChange: this.onTextChangeHandler, keyDownHandler: this.onKeyDownHandler, maxLength: (_a = this.maxLength) !== null && _a !== void 0 ? _a : MAX_TEXT_LENGTH, rateLimitBreached: this.rateLimitsBreached, t: this.t, iconPack: this.iconPack, ref: (el) => (this.$textComposer = el) }))), h("div", { key: '9b6cbe7cb8529c8e60f8cc9e13cc95ca64504efc', class: "chat-buttons", part: "chat-buttons" }, h("div", { key: '30e24e8edf58179ef20ccd436d3833ba177ebb0d', class: "left", part: "chat-buttons-left" }, !this.fileToUpload && !this.isEditing && (h("div", { key: '54ad294bedab1c0bc7c02a72c4f3f51bc10bba85' }, this.canSendFiles && [
185
- h("rtk-file-picker-button", Object.assign({ key: '1a0760e05a183b6c8da2ff02e33ecd40bfdb6e97' }, uiProps, { onFileChange: (event) => this.onFileUploadHandler('file', event.detail) })),
186
- h("rtk-file-picker-button", Object.assign({ key: '5d6cf1928c8edb6737b367807c93152ad62cea36', filter: "image/*", label: this.t('chat.send_img'), icon: "image", onFileChange: (event) => this.onFileUploadHandler('image', event.detail) }, uiProps)),
187
- ], this.canSendTextMessage && !this.disableEmojiPicker && (h("rtk-emoji-picker-button", Object.assign({ key: '50f14152b8d15009104e9b1dd05ee5e1ec49ab16', isActive: this.isEmojiPickerOpen, onClick: () => {
177
+ } }, uiProps))), h("slot", { key: '759df2a2029fbba963cfc26cd871771881dd6c5e', name: "chat-addon" }), this.quotedMessage && this.quotedMessage.length !== 0 && (h("div", { key: '413be05a7374fc76f790ad3f6f5bef5a56a6ef97', class: "quoted-message-container", part: "quoted-message-container" }, h("div", { key: '7fb6b571103c675dca202b74bd07fd55062dab70', class: "quoted-message scrollbar" }, h("rtk-text-message-view", { key: '3997aa719a746234c5641e976dd0c27e68b69dae', text: this.quotedMessage, isMarkdown: true })), h("div", { key: 'f76ec54e3d67d6957d5d152b144b22d8cc122660' }, h("rtk-icon", { key: '897b52fc41814d2cb8beeb461c36c9843cb2869e', "aria-label": this.t('dismiss'), class: "dismiss", icon: this.iconPack.dismiss, onClick: this.onQuotedMessageDismissHandler })))), h("div", { key: '35447eb1fffffd372c231bc76ce741e483e7f26a', class: "composer-container" }, h("div", { key: '0f8f198df49fcc27f6c85b8d6909eb2a7c00e142', class: "composers" }, this.fileToUpload && (h("rtk-draft-attachment-view", Object.assign({ key: '9d325d05fecb12ecb41f02e54561d2e1b59b2c2f' }, uiProps, { attachment: this.fileToUpload, onDeleteAttachment: () => (this.fileToUpload = null) }))), !this.fileToUpload && (h("rtk-text-composer-view", { key: 'fbc870bb9d9c2418e528e64273edb67846e23e17', value: this.textMessage, placeholder: this.inputTextPlaceholder, onTextChange: this.onTextChangeHandler, keyDownHandler: this.onKeyDownHandler, maxLength: (_a = this.maxLength) !== null && _a !== void 0 ? _a : MAX_TEXT_LENGTH, rateLimitBreached: this.rateLimitsBreached, t: this.t, iconPack: this.iconPack, ref: (el) => (this.$textComposer = el) }))), h("div", { key: '20191403531eb87bca86d13387c7937153a4c99e', class: "chat-buttons", part: "chat-buttons" }, h("div", { key: '4914a61fea3f502dc14778a237e9ce35a97e3afc', class: "left", part: "chat-buttons-left" }, !this.fileToUpload && !this.isEditing && (h("div", { key: '76c843588f2f7d90f5e60a1e44955309026eda27' }, this.canSendFiles && [
178
+ h("rtk-file-picker-button", Object.assign({ key: 'cbb6f17b22f10b48ada27a4b4da3c1d5b2c7e320' }, uiProps, { onFileChange: (event) => this.onFileUploadHandler('file', event.detail) })),
179
+ h("rtk-file-picker-button", Object.assign({ key: '0868162a2da021dd4175e977adf47d72ca54044a', filter: "image/*", label: this.t('chat.send_img'), icon: "image", onFileChange: (event) => this.onFileUploadHandler('image', event.detail) }, uiProps)),
180
+ ], this.canSendTextMessage && !this.disableEmojiPicker && (h("rtk-emoji-picker-button", Object.assign({ key: 'a73378b5495dc3bfcde7dba335f674292ee6a96c', isActive: this.isEmojiPickerOpen, onClick: () => {
188
181
  this.isEmojiPickerOpen = !this.isEmojiPickerOpen;
189
- } }, uiProps))), h("slot", { key: '1e1fe81e1e196fc8d679bfc2d6ed0c6402c74a4a', name: "chat-buttons" })))), h("div", { key: '272526b7c81ed1acd028beceb3869c584e94308f', class: "right", part: "chat-buttons-right" }, !this.isEditing && (h("rtk-tooltip", { key: '6750abf323b2f1c951661c44390eb97d3ec71544', variant: "primary", label: this.t('chat.send_msg'), delay: 2000 }, h("rtk-button", { key: 'a159fa6dcc1f8ede64085abd8286a69ad86b7002', kind: "icon", disabled: this.disableSendButton, onClick: () => this.handleSendMessage(), title: this.t('chat.send_msg') }, h("rtk-icon", { key: 'bb26a3a7954727859f5566ecc60d746ac6700b7b', icon: this.iconPack.send })))), this.isEditing && (h("div", { key: '5ef512e3fc236510a518e76ce027f0c8fc1c9a0c', class: "edit-buttons" }, h("rtk-tooltip", { key: 'e18ae7567350d32b18a70de8cb2c1af0830353bc', variant: "secondary", label: this.t('cancel'), delay: 2000 }, h("rtk-button", { key: '4f4aa2e44308a393314ab95244c87a3b8d4b282c', kind: "icon", variant: "secondary", onClick: () => this.handleEditCancel(), title: this.t('cancel') }, h("rtk-icon", { key: 'a4a99fe9ae34707cb63f63461a4728baf70e3e7a', icon: this.iconPack.dismiss }))), h("rtk-tooltip", { key: '789315dbf551ba74d004459981532fa9a467ac45', variant: "primary", label: this.t('chat.update_msg'), delay: 2000 }, h("rtk-button", { key: '61da43993c2da9b8bd00796544030e9b4cb45f12', kind: "icon", onClick: () => this.handleEditMessage(), title: this.t('chat.send_msg') }, h("rtk-icon", { key: 'e45aab29b0f6553ed2d7f370a8817bdccdabe42e', icon: this.iconPack.checkmark }))))))))));
182
+ } }, uiProps))), h("slot", { key: '31208ad279dec430da4527d22730de8e418bc722', name: "chat-buttons" })))), h("div", { key: '04fcdd3f690548cbf1e257ffb2982785e557726b', class: "right", part: "chat-buttons-right" }, !this.isEditing && (h("rtk-tooltip", { key: '367bf710673a0a2276f46d52289409abb77fe27b', variant: "primary", label: this.t('chat.send_msg'), delay: 2000 }, h("rtk-button", { key: 'c677e3026636c375ed7eee411c596f6d2a802794', kind: "icon", disabled: this.disableSendButton || this.isSending, onClick: () => this.handleSendMessage(), title: this.t('chat.send_msg') }, this.isSending ? (h("rtk-spinner", { size: "sm" })) : (h("rtk-icon", { icon: this.iconPack.send }))))), this.isEditing && (h("div", { key: '1e09e8868e4ae048b36bc8198b8aa1de92209a00', class: "edit-buttons" }, h("rtk-tooltip", { key: '29ff7a39bd168169fa7d104357b529a2c9efe0fd', variant: "secondary", label: this.t('cancel'), delay: 2000 }, h("rtk-button", { key: '27cf5353d0e8c2620fd8d4213994a9dcc83f83f3', kind: "icon", variant: "secondary", onClick: () => this.handleEditCancel(), title: this.t('cancel') }, h("rtk-icon", { key: 'aeb4c9df3993c6cebf952f64f6676eb8a3866bb0', icon: this.iconPack.dismiss }))), h("rtk-tooltip", { key: '835195d0f51a1db81e66a1b2d9076a71f2aaee4e', variant: "primary", label: this.t('chat.update_msg'), delay: 2000 }, h("rtk-button", { key: 'd524f01ba5d7ca52224d39e23e7f963972ad80c9', kind: "icon", onClick: () => this.handleEditMessage(), title: this.t('chat.send_msg') }, this.isSending ? (h("rtk-spinner", { size: "sm" })) : (h("rtk-icon", { icon: this.iconPack.checkmark })))))))))));
190
183
  }
191
184
  static get is() { return "rtk-chat-composer-view"; }
192
185
  static get encapsulation() { return "shadow"; }
@@ -222,6 +215,26 @@ export class RtkChatComposerView {
222
215
  "reflect": false,
223
216
  "defaultValue": "true"
224
217
  },
218
+ "isSending": {
219
+ "type": "boolean",
220
+ "mutable": false,
221
+ "complexType": {
222
+ "original": "boolean",
223
+ "resolved": "boolean",
224
+ "references": {}
225
+ },
226
+ "required": false,
227
+ "optional": false,
228
+ "docs": {
229
+ "tags": [],
230
+ "text": ""
231
+ },
232
+ "getter": false,
233
+ "setter": false,
234
+ "attribute": "is-sending",
235
+ "reflect": false,
236
+ "defaultValue": "false"
237
+ },
225
238
  "canSendFiles": {
226
239
  "type": "boolean",
227
240
  "mutable": false,
@@ -85,11 +85,11 @@ export class RtkChatMessage {
85
85
  } })));
86
86
  }
87
87
  render() {
88
- return (h(Host, { key: '358cc92774694c9c31b965f823efd5047685ddd3' }, h("div", { key: '084dbfc81b75420c66f949b9799a60563c39b6b2', class: {
88
+ return (h(Host, { key: 'f6a727c485be5af8f6213c40a9b897debac1c62d' }, h("div", { key: '03fff27269d7e3976463692e0e4f15106e4f1cc6', class: {
89
89
  'message-wrapper': true,
90
90
  'align-right': this.alignRight,
91
91
  'left-align': this.leftAlign,
92
- }, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: 'e3f3490eccdc1550b9232bf70f2d8f6717f2fac4', class: {
92
+ }, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: 'd62eaa8b99853d7c38586dc2ac1c8163ad4effcf', class: {
93
93
  message: true,
94
94
  'show-on-hover': !this.isTouchDevice(),
95
95
  }, "is-continued": this.isContinued }, this.renderMessage(), this.renderControls()))));
@@ -162,7 +162,7 @@ export class RtkChatMessagesUi {
162
162
  var _a;
163
163
  let prevMessage = null;
164
164
  let reachedFirstUnread = false;
165
- return (h(Host, { key: '02149982e96642f42c8850f5d501c038874300f7' }, h("div", { key: 'bcc27f4f4c620175c5b6daead99d0a1b64e6bba8', class: "chat-container scrollbar", ref: (el) => (this.$chat = el), part: "container" }, h("div", { key: '4d4ba71a572095a28aa7c03e70a724521122e96d', class: "spacer", part: "spacer" }), h("div", { key: 'eca7d4406536b4e1b8d907bffe9a1ed6ad311dd4', class: "chat", part: "chat" }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.map((item) => {
165
+ return (h(Host, { key: '1e00d65234971f64cb44cfc9f3f27523ef4184eb' }, h("div", { key: '6f1f50001914707a79782e2b035f7f056545bd73', class: "chat-container scrollbar", ref: (el) => (this.$chat = el), part: "container" }, h("div", { key: '0e2513409c533ce131341d8d636f95cde39bd1e4', class: "spacer", part: "spacer" }), h("div", { key: 'c677a4a1f80fb07f59157358aff8008d2cf52569', class: "chat", part: "chat" }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.map((item) => {
166
166
  if (item.type === 'chat') {
167
167
  const { message } = item;
168
168
  const isSelfMessage = message.userId === this.selfUserId;
@@ -181,10 +181,10 @@ export class RtkChatMessagesUi {
181
181
  } })))), message.pinned && (h("div", { class: "pin-button", part: "pin-button" }, h("rtk-tooltip", { label: this.t('unpin') }, h("rtk-button", { kind: "icon", variant: "ghost", onClick: () => this.onMessageActionHandler('pin_message', message), disabled: !this.canPinMessages }, h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }))))))));
182
182
  }
183
183
  return null;
184
- }))), h("div", { key: '8cbfbb3eef3f8640ddd66f68d0287cff5ade6997', class: "show-new-messages-ctr" }, h("rtk-button", { key: 'c9d841cf2d557b766c4a642291779562b71d25a1', class: {
184
+ }))), h("div", { key: 'b0cd46132b3cd70b784f94a8c97a3fbeef57900f', class: "show-new-messages-ctr" }, h("rtk-button", { key: 'd8faf61563052ad61ef2cc19e6f8d91993bae58d', class: {
185
185
  'show-new-messages': true,
186
186
  active: this.showLatestMessageButton,
187
- }, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: 'c579ffd1d28139fd82535c6cc0f661118b670a59', icon: this.iconPack.chevron_down })))));
187
+ }, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: 'ef37ed2fc35d087ac95a75393a2470ce9def4670', icon: this.iconPack.chevron_down })))));
188
188
  }
189
189
  static get is() { return "rtk-chat-messages-ui"; }
190
190
  static get encapsulation() { return "shadow"; }
@@ -62,22 +62,18 @@ export class RtkChatMessagesUiPaginated {
62
62
  };
63
63
  this.getMessageActions = (message) => {
64
64
  const actions = [];
65
- // const isSelf = this.meeting.self.userId === message.userId;
66
- // const chatMessagePermissions = this.meeting.self.permissions?.chatMessage;
67
- // const canEdit =
68
- // chatMessagePermissions === undefined
69
- // ? isSelf
70
- // : chatMessagePermissions.canEdit === 'ALL' ||
71
- // (chatMessagePermissions.canEdit === 'SELF' && isSelf);
72
- const canDelete = message.userId === this.meeting.self.userId;
73
- if (this.meeting.self.permissions.pinParticipant) {
65
+ const messageBelongsToSelf = message.userId === this.meeting.self.userId;
66
+ actions.push({
67
+ id: 'pin_message',
68
+ label: message.pinned ? this.t('unpin') : this.t('pin'),
69
+ icon: this.iconPack.pin,
70
+ });
71
+ if (messageBelongsToSelf) {
74
72
  actions.push({
75
- id: 'pin_message',
76
- label: message.pinned ? this.t('unpin') : this.t('pin'),
77
- icon: this.iconPack.pin,
73
+ id: 'edit_message',
74
+ label: this.t('chat.edit_msg'),
75
+ icon: this.iconPack.edit,
78
76
  });
79
- }
80
- if (canDelete) {
81
77
  actions.push({
82
78
  id: 'delete_message',
83
79
  label: this.t('chat.delete_msg'),
@@ -91,6 +87,9 @@ export class RtkChatMessagesUiPaginated {
91
87
  case 'pin_message':
92
88
  this.onPinMessage.emit(message);
93
89
  break;
90
+ case 'edit_message':
91
+ this.onEditMessage.emit(message);
92
+ break;
94
93
  case 'delete_message':
95
94
  this.onDeleteMessage.emit(message);
96
95
  break;
@@ -121,9 +120,9 @@ export class RtkChatMessagesUiPaginated {
121
120
  }
122
121
  const isSelf = message.userId === this.meeting.self.userId;
123
122
  const viewType = isSelf ? 'outgoing' : 'incoming';
124
- return (h("div", { class: { pinned: message.pinned } }, h("div", { class: "message-wrapper" }, h("rtk-message-view", { time: message.time, actions: this.getMessageActions(message), authorName: message.displayName, isSelf: isSelf, avatarUrl: displayPicture, hideAuthorName: isContinued, viewType: viewType, variant: "bubble", onAction: (event) => this.onMessageActionHandler(event.detail, message) }, h("div", null, h("div", { class: "body" }, message.type === 'text' && (h("rtk-text-message-view", { text: message.message, isMarkdown: true })), message.type === 'file' && (h("rtk-file-message-view", { name: message.name, url: message.link, size: message.size })), message.type === 'image' && (h("rtk-image-message-view", { url: message.link, onPreview: () => {
123
+ return (h("div", null, h("div", { class: "message-wrapper", id: message.id }, h("rtk-message-view", { messageType: message.type, pinned: message.pinned, isEdited: message.isEdited, time: message.time, actions: this.getMessageActions(message), authorName: message.displayName, isSelf: isSelf, avatarUrl: displayPicture, hideAuthorName: isContinued, viewType: viewType, variant: "bubble", onAction: (event) => this.onMessageActionHandler(event.detail, message) }, h("div", null, h("div", { class: "body" }, message.type === 'text' && (h("rtk-text-message-view", { text: message.message, isMarkdown: true })), message.type === 'file' && (h("rtk-file-message-view", { name: message.name, url: message.link, size: message.size })), message.type === 'image' && (h("rtk-image-message-view", { url: message.link, onPreview: () => {
125
124
  this.stateUpdate.emit({ image: message });
126
- } }))), message.pinned && (h("div", { class: "pin-icon", part: "pin-icon" }, h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }))))))));
125
+ } }))))))));
127
126
  };
128
127
  this.chatUpdateListener = (data) => {
129
128
  if (this.selectedChannelId && data.message.channelId !== this.selectedChannelId)
@@ -169,7 +168,7 @@ export class RtkChatMessagesUiPaginated {
169
168
  this.lastReadMessageIndex = -1;
170
169
  }
171
170
  render() {
172
- return (h(Host, { key: '732dea776303ba428aedc72608516a4e4dfc1591' }, h("rtk-paginated-list", { key: '6bc3cd1373ff487b897d3ca7a5bfbccfdbaa90da', ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getChatMessages, createNodes: this.createChatNodes, selectedItemId: this.selectedChannelId, emptyListLabel: this.t('chat.empty_channel') }, h("slot", { key: 'f3cc795b3b39aa48f87f9908e3b205e2db6439b4' }))));
171
+ return (h(Host, { key: '1cbb364021b79bd756621987ac03c2e852acf3bd' }, h("rtk-paginated-list", { key: 'b7896890b5e3ea9a190bfa9c86c825233b635aa4', ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getChatMessages, createNodes: this.createChatNodes, selectedItemId: this.selectedChannelId, emptyListLabel: this.t('chat.empty_channel') }, h("slot", { key: 'b1255713fc172c4e35385021809d391a5fdf9acc' }))));
173
172
  }
174
173
  static get is() { return "rtk-chat-messages-ui-paginated"; }
175
174
  static get encapsulation() { return "shadow"; }
@@ -394,6 +393,27 @@ export class RtkChatMessagesUiPaginated {
394
393
  }
395
394
  }
396
395
  }
396
+ }, {
397
+ "method": "onEditMessage",
398
+ "name": "editMessage",
399
+ "bubbles": true,
400
+ "cancelable": true,
401
+ "composed": true,
402
+ "docs": {
403
+ "tags": [],
404
+ "text": "Event emitted when a message is edited"
405
+ },
406
+ "complexType": {
407
+ "original": "Message",
408
+ "resolved": "CustomMessage | FileMessage | ImageMessage | TextMessage",
409
+ "references": {
410
+ "Message": {
411
+ "location": "import",
412
+ "path": "@cloudflare/realtimekit",
413
+ "id": "node_modules::Message"
414
+ }
415
+ }
416
+ }
397
417
  }, {
398
418
  "method": "onDeleteMessage",
399
419
  "name": "deleteMessage",
@@ -32,7 +32,7 @@ export class RtkChatSearchResults {
32
32
  };
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: '226b9e52950fca3d296b041dbd93a6c060ad4abe' }, h("rtk-paginated-list", { key: '102af9de7e52317a5f9a8272e9e8a302f99268da', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
35
+ return (h(Host, { key: 'e71457e70093c4de4d453d3905aaeedf7ef91df3' }, h("rtk-paginated-list", { key: '4a8f9360d483804ed31c512ddc9ae91454ab1c89', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
36
36
  }
37
37
  static get is() { return "rtk-chat-search-results"; }
38
38
  static get encapsulation() { return "shadow"; }
@@ -24,7 +24,7 @@ p {
24
24
 
25
25
  .unread-count {
26
26
  position: absolute;
27
- right: var(--rtk-space-3, 12px);
27
+ right: var(--rtk-space-4, 16px);
28
28
  box-sizing: border-box;
29
29
  padding: var(--rtk-space-0\.5, 2px);
30
30
  -webkit-user-select: none;
@@ -11,7 +11,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
11
11
  import { Host, h } from "@stencil/core";
12
12
  import { defaultIconPack } from "../../lib/icons";
13
13
  import { useLanguage } from "../../lib/lang";
14
- import { usePaginatedChat } from "../../utils/flags";
15
14
  import { canViewChat } from "../../utils/sidebar";
16
15
  import { SyncWithStore } from "../../utils/sync-with-store";
17
16
  /**
@@ -36,17 +35,15 @@ export class RtkChatToggle {
36
35
  this.t = useLanguage();
37
36
  this.chatActive = false;
38
37
  this.canViewChat = false;
39
- /**
40
- * Only used when paginated chat is enabled
41
- */
42
- this.hasNewMessages = false;
38
+ this.pageSize = 11;
43
39
  this.onChatUpdate = ({ action, message }) => {
44
40
  var _a;
45
41
  if (this.chatActive)
46
42
  return;
47
43
  if (action === 'add' && message.userId !== ((_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId)) {
48
- this.hasNewMessages = true;
49
- this.unreadMessageCount += 1;
44
+ if (this.unreadMessageCount <= 10) {
45
+ this.unreadMessageCount += 1;
46
+ }
50
47
  }
51
48
  };
52
49
  this.toggleChat = () => {
@@ -54,7 +51,6 @@ export class RtkChatToggle {
54
51
  this.chatActive = !((states === null || states === void 0 ? void 0 : states.activeSidebar) && (states === null || states === void 0 ? void 0 : states.sidebar) === 'chat');
55
52
  if (this.chatActive) {
56
53
  this.unreadMessageCount = 0;
57
- this.hasNewMessages = false;
58
54
  }
59
55
  this.stateUpdate.emit({
60
56
  activeSidebar: this.chatActive,
@@ -78,27 +74,36 @@ export class RtkChatToggle {
78
74
  (_f = (_e = this.meeting) === null || _e === void 0 ? void 0 : _e.self) === null || _f === void 0 ? void 0 : _f.permissions.removeListener('chatUpdate', this.updateCanView);
79
75
  }
80
76
  meetingChanged(meeting) {
81
- var _a, _b, _c, _d, _e, _f, _g;
77
+ var _a, _b, _c;
82
78
  if (!meeting)
83
79
  return;
84
- (_a = meeting.chat) === null || _a === void 0 ? void 0 : _a.getMessages(new Date().getTime(), 1, true).then((res) => {
85
- var _a;
86
- if ((_a = res === null || res === void 0 ? void 0 : res.messages) === null || _a === void 0 ? void 0 : _a.length)
87
- this.hasNewMessages = true;
88
- });
89
- const meetingStartedTimeMs = (_c = (_b = meeting.meta) === null || _b === void 0 ? void 0 : _b.meetingStartedTimestamp.getTime()) !== null && _c !== void 0 ? _c : 0;
90
- const newMessages = (_d = meeting.chat) === null || _d === void 0 ? void 0 : _d.messages.filter((m) => m.timeMs > meetingStartedTimeMs);
91
- this.unreadMessageCount = newMessages.length || 0;
92
- (_e = meeting.chat) === null || _e === void 0 ? void 0 : _e.addListener('chatUpdate', this.onChatUpdate);
80
+ this.setUnreadMessageCount();
93
81
  this.canViewChat = canViewChat(meeting);
94
- (_f = meeting === null || meeting === void 0 ? void 0 : meeting.stage) === null || _f === void 0 ? void 0 : _f.on('stageStatusUpdate', this.updateCanView);
95
- (_g = meeting === null || meeting === void 0 ? void 0 : meeting.self) === null || _g === void 0 ? void 0 : _g.permissions.on('chatUpdate', this.updateCanView);
82
+ (_a = meeting.chat) === null || _a === void 0 ? void 0 : _a.addListener('chatUpdate', this.onChatUpdate);
83
+ (_b = meeting === null || meeting === void 0 ? void 0 : meeting.stage) === null || _b === void 0 ? void 0 : _b.on('stageStatusUpdate', this.updateCanView);
84
+ (_c = meeting === null || meeting === void 0 ? void 0 : meeting.self) === null || _c === void 0 ? void 0 : _c.permissions.on('chatUpdate', this.updateCanView);
96
85
  }
97
86
  statesChanged(states) {
98
87
  if (states != null) {
99
88
  this.chatActive = states.activeSidebar === true && states.sidebar === 'chat';
100
89
  }
101
90
  }
91
+ async setUnreadMessageCount() {
92
+ var _a, _b;
93
+ const chat = this.meeting.chat;
94
+ if (!chat)
95
+ return;
96
+ const { messages } = await chat.getMessages(new Date().getTime(), this.pageSize, true);
97
+ const meetingStartedTimeMs = (_b = (_a = this.meeting.meta) === null || _a === void 0 ? void 0 : _a.meetingStartedTimestamp.getTime()) !== null && _b !== void 0 ? _b : 0;
98
+ const newMessages = messages.filter((m) => m.timeMs > meetingStartedTimeMs);
99
+ if (newMessages.length === this.pageSize && newMessages.length > 0) {
100
+ // all messages are new, so we can't know the exact count, but we know there are at least pageSize - 1 new messages
101
+ this.unreadMessageCount = newMessages.length;
102
+ }
103
+ else {
104
+ this.unreadMessageCount = newMessages.length;
105
+ }
106
+ }
102
107
  handleChatActiveChange() {
103
108
  // Chat sidebar closed without opening a different sidebar
104
109
  if (!this.chatActive && !this.states.activeSidebar) {
@@ -110,10 +115,7 @@ export class RtkChatToggle {
110
115
  return null;
111
116
  if (!this.canViewChat)
112
117
  return h(Host, { "data-hidden": true });
113
- return (h(Host, { title: this.t('chat') }, usePaginatedChat()
114
- ? this.hasNewMessages && h("div", { class: "unread-count-dot", part: "unread-count-dot" })
115
- : this.unreadMessageCount !== 0 &&
116
- !this.chatActive && (h("div", { class: "unread-count", part: "unread-count" }, h("span", null, this.unreadMessageCount <= 100 ? this.unreadMessageCount : '99+'))), h("rtk-controlbar-button", { ref: (el) => (this.buttonEl = el), part: "controlbar-button", size: this.size, iconPack: this.iconPack, class: { active: this.chatActive }, onClick: this.toggleChat, icon: this.iconPack.chat, label: this.t('chat'), variant: this.variant })));
118
+ return (h(Host, { title: this.t('chat') }, this.unreadMessageCount !== 0 && !this.chatActive && (h("div", { class: "unread-count", part: "unread-count" }, h("span", null, this.unreadMessageCount < this.pageSize ? this.unreadMessageCount : '10+'))), h("rtk-controlbar-button", { ref: (el) => (this.buttonEl = el), part: "controlbar-button", size: this.size, iconPack: this.iconPack, class: { active: this.chatActive }, onClick: this.toggleChat, icon: this.iconPack.chat, label: this.t('chat'), variant: this.variant })));
117
119
  }
118
120
  static get is() { return "rtk-chat-toggle"; }
119
121
  static get encapsulation() { return "shadow"; }
@@ -280,8 +282,7 @@ export class RtkChatToggle {
280
282
  return {
281
283
  "unreadMessageCount": {},
282
284
  "chatActive": {},
283
- "canViewChat": {},
284
- "hasNewMessages": {}
285
+ "canViewChat": {}
285
286
  };
286
287
  }
287
288
  static get events() {
@@ -71,9 +71,9 @@ export class RtkClock {
71
71
  }
72
72
  render() {
73
73
  const showClock = this.startedTime !== undefined;
74
- return (h(Host, { key: '6e6b7a331666cd98cb100dca5c2869a8b5688553', "data-hidden": !showClock, tabIndex: 0, role: "timer", "aria-live": "off" }, this.startedTime !== undefined && [
75
- h("rtk-icon", { key: '91cd9140d88447cd6662e08f4d2ed4c0df62858b', icon: this.iconPack.clock, "aria-hidden": true, tabIndex: -1, part: "icon" }),
76
- h("span", { key: 'eba0772ccc8f0cc14c9c4dd7c11574dcc368b443', part: "text" }, this.getFormattedTime()),
74
+ return (h(Host, { key: 'a389e7c6a9fc8183f3228564bfa61f606ceaf979', "data-hidden": !showClock, tabIndex: 0, role: "timer", "aria-live": "off" }, this.startedTime !== undefined && [
75
+ h("rtk-icon", { key: '5fe283d25031c367f018d7a99ea46ed0c0d46a86', icon: this.iconPack.clock, "aria-hidden": true, tabIndex: -1, part: "icon" }),
76
+ h("span", { key: 'e5e134c951f7bbb3f161ae01d88d9c83ed85c798', part: "text" }, this.getFormattedTime()),
77
77
  ]));
78
78
  }
79
79
  static get is() { return "rtk-clock"; }
@@ -47,7 +47,7 @@ export class RtkConfirmationModal {
47
47
  render() {
48
48
  var _a, _b;
49
49
  const state = this.states.activeConfirmationModal;
50
- return (h(Host, { key: '716b099a3b9d9886c41626cf977e6de8e744894b' }, h("div", { key: 'bac586faa92a4a80b78e36cbef361eec830a8ee2', class: "leave-modal" }, h("div", { key: 'ee19990482ae51504da014bf7d804b4bf577a14a', class: "header" }, h("h2", { key: 'd220797780f3f93b27f1ae511a9fd30e0211b957', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && h("p", { key: '498688e185b24eec250bcbcdd555fedc15980395', class: "message" }, this.t(state.content)), h("div", { key: '43f6068e6a14c1798ea2d9dec4dafd110222a5aa', class: "content" }, h("div", { key: 'dde485ee17c18a7a15dafd5347e9981ea6af4fe4', class: "leave-meeting" }, h("rtk-button", { key: '9cbbbe08509212e581b2e0768653a9f97efa45e3', variant: "secondary", title: state.cancelText ? this.t(state.cancelText) : this.t('cancel'), onClick: this.close, class: "br-secondary-btn" }, state.cancelText ? this.t(state.cancelText) : this.t('cancel')), h("rtk-button", { key: 'd6c1deaa86c2ec2dd607583aaf9ef3238c343183', onClick: () => this.onConfirmation(), variant: (_b = (_a = this.states.activeConfirmationModal) === null || _a === void 0 ? void 0 : _a.variant) !== null && _b !== void 0 ? _b : 'danger', title: state.ctaText ? this.t(state.ctaText) : this.t('yes') }, state.ctaText ? this.t(state.ctaText) : this.t('yes')))))));
50
+ return (h(Host, { key: '22ee38d06ab212134ac17a656da1251a3dc05372' }, h("div", { key: 'ed29620d69abd3202a823de32c06d7b2fb71f828', class: "leave-modal" }, h("div", { key: '07466875c79feb312e7df26cec679e62a4fc2991', class: "header" }, h("h2", { key: '4ebc7ab0dc5c2175cb234575435a30e4d1ce7a13', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && h("p", { key: 'a9fcfa27f006dfb6ee1be60529b2c02611edc4cd', class: "message" }, this.t(state.content)), h("div", { key: '940cb8e8344bd99ba5d5266e284cc5161e666748', class: "content" }, h("div", { key: 'b8862b1db1f77121f9c2032e1f8213eeced5217d', class: "leave-meeting" }, h("rtk-button", { key: '0b4e17540009e0a465097e628904b36c54e17462', variant: "secondary", title: state.cancelText ? this.t(state.cancelText) : this.t('cancel'), onClick: this.close, class: "br-secondary-btn" }, state.cancelText ? this.t(state.cancelText) : this.t('cancel')), h("rtk-button", { key: '5f8c65ea6678c14855ece31827cb4aff714a0965', onClick: () => this.onConfirmation(), variant: (_b = (_a = this.states.activeConfirmationModal) === null || _a === void 0 ? void 0 : _a.variant) !== null && _b !== void 0 ? _b : 'danger', title: state.ctaText ? this.t(state.ctaText) : this.t('yes') }, state.ctaText ? this.t(state.ctaText) : this.t('yes')))))));
51
51
  }
52
52
  static get is() { return "rtk-confirmation-modal"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class RtkControlbar {
40
40
  iconPack: this.iconPack,
41
41
  size: this.size,
42
42
  };
43
- return (h(Host, { key: 'f4fee1168f1b057865a0c615c563158df7f7e2fd' }, !this.disableRender && (h(Render, { key: '58945391fb15e670a385f12e3d5861b03597ed61', element: "rtk-controlbar", defaults: defaults, onlyChildren: true })), h("slot", { key: 'df55eba453868617350ec45fc0437ecb11e03597' })));
43
+ return (h(Host, { key: 'f42df94eb381604cc1e4e9716e7908cab55da6b2' }, !this.disableRender && (h(Render, { key: '2c961c3e2546e7610cd2e18ea8aeaf72dbdd1075', element: "rtk-controlbar", defaults: defaults, onlyChildren: true })), h("slot", { key: '9e2a7239b36ba2f4c40bf7c7d63441c833927a97' })));
44
44
  }
45
45
  static get is() { return "rtk-controlbar"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -28,7 +28,7 @@ export class RtkControlbarButton {
28
28
  this.brandIcon = false;
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: 'f8af1b318f555c5d98d146be871c5bef3e53fae7' }, h("button", { key: 'de25b31b07be84a5041431e6547822e445d7f446', "aria-label": this.label, part: "button" }, this.isLoading ? (h("rtk-spinner", { id: "icon", part: "spinner", iconPack: this.iconPack })) : (h("rtk-icon", { id: "icon", icon: this.icon, tabIndex: -1, "aria-hidden": true, part: "icon" })), h("span", { key: '620c5c4c08ed9740b3705f9c36bc19e7b77b1d73', class: "label", part: "label" }, this.label), this.showWarning && (h("rtk-icon", { key: 'a8b2fb7570f7a4268d5290ece1807b6ab530f664', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" })))));
31
+ return (h(Host, { key: '90cbc7f04dd7975ef7331aace992aeadd1fdba52' }, h("button", { key: '36ea971cf7d69742346dd6a65b41ef57def59a40', "aria-label": this.label, part: "button" }, this.isLoading ? (h("rtk-spinner", { id: "icon", part: "spinner", iconPack: this.iconPack })) : (h("rtk-icon", { id: "icon", icon: this.icon, tabIndex: -1, "aria-hidden": true, part: "icon" })), h("span", { key: '83dda2888c01eec119c1cc21921a682cc2111307', class: "label", part: "label" }, this.label), this.showWarning && (h("rtk-icon", { key: 'abddcd4d3c81f7ba09cc4595c98cb55c76d678ad', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" })))));
32
32
  }
33
33
  static get is() { return "rtk-controlbar-button"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class RtkCounter {
40
40
  this.input = Math.max(this.minValue, parseInt(this.input) - 1).toString();
41
41
  }
42
42
  render() {
43
- return (h(Host, { key: 'ef85b8128d8f6470dade486d8b31948db504ca21' }, h("rtk-button", { key: 'cfe52b812fcbb969cfa26cfd6f07aaf2f8b68cb2', kind: "icon", variant: "ghost", onClick: () => this.decrement() }, h("rtk-icon", { key: '947cbae0757f3b56ca511789d431da4a9457259a', icon: this.iconPack.subtract })), h("input", { key: '082850c82f03fa110b670234c676b35e56ac663f', type: "number", value: this.input, min: this.minValue, onInput: (e) => {
43
+ return (h(Host, { key: 'd30fe362d84f5e387dfe67dc761683b91785bafb' }, h("rtk-button", { key: '5c60d8e4fed3f53236b1099f8360c341df36aa32', kind: "icon", variant: "ghost", onClick: () => this.decrement() }, h("rtk-icon", { key: 'b76e7889f6d94144aa1632159c52fb9580f931f7', icon: this.iconPack.subtract })), h("input", { key: 'cfd43551b1df8dca486b1dfc4f03d427c7e32caf', type: "number", value: this.input, min: this.minValue, onInput: (e) => {
44
44
  const val = parseInt(e.target.value, 10);
45
45
  if (isNaN(val) || val < this.minValue) {
46
46
  this.input = this.minValue.toString();
@@ -48,7 +48,7 @@ export class RtkCounter {
48
48
  else {
49
49
  this.input = val.toString();
50
50
  }
51
- } }), h("rtk-button", { key: 'fcb469289475e418446019725f47b3fcfe4a2ec1', kind: "icon", variant: "ghost", onClick: () => this.increment() }, h("rtk-icon", { key: 'd4f907255b622dfea369815f4c99ea3a4656caf7', icon: this.iconPack.add }))));
51
+ } }), h("rtk-button", { key: '4cfe34a4483d12ddbd35b82a6f5d099424b24be3', kind: "icon", variant: "ghost", onClick: () => this.increment() }, h("rtk-icon", { key: 'a06553be5801039bfefb1a2c2542d01c7426a605', icon: this.iconPack.add }))));
52
52
  }
53
53
  static get is() { return "rtk-counter"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class RtkDebuggerToggle {
29
29
  });
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: 'cc9ec6cade76093abba3a48502d12a82868a875a', title: this.t('Troubleshooting') }, h("rtk-controlbar-button", { key: '6b8bcf2e363dfcdfb8e0f90c8602d95cdf338544', size: this.size, iconPack: this.iconPack, onClick: () => this.toggleDebugger(), icon: this.iconPack.debug, label: this.t('Troubleshooting'), variant: this.variant })));
32
+ return (h(Host, { key: '38be7c2de47b57a51bb6feedc0f8ea05801eec58', title: this.t('Troubleshooting') }, h("rtk-controlbar-button", { key: '18d8b11e7a57d4930c2d300eaeb60b9a77c45c5c', size: this.size, iconPack: this.iconPack, onClick: () => this.toggleDebugger(), icon: this.iconPack.debug, label: this.t('Troubleshooting'), variant: this.variant })));
33
33
  }
34
34
  static get is() { return "rtk-debugger-toggle"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -53,7 +53,7 @@ export class RtkDraftAttachmentView {
53
53
  this.onAttachmentChange();
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: 'b23eb412c60a62f542aec0e3cd3b99fc72de48f0' }, h("div", { key: '04251f8d4b13325f8474110c89733369bd8904f2', class: "preview-overlay" }, h("div", { key: '51963510a704b19e7c591ea177018bae6e0317f5', class: "preview" }, h("rtk-tooltip", { key: '3a2167ea7a02f1d744462826084f0fef5c607ac9', label: this.t('chat.cancel_upload') }, h("rtk-button", { key: '634c9a7e0962ed82c36519e919eb597c9b603f51', variant: "secondary", kind: "icon", onClick: this.onDeleteClickHandler }, h("rtk-icon", { key: 'b936e54ae44e1d54b73adf38a92551fbea0299c5', icon: this.iconPack.dismiss }))), this.attachment.type === 'image' ? (h("img", { class: "preview-image", src: this.filePreview })) : (h("div", { class: "preview-file" }, h("span", null, this.filePreview)))))));
56
+ return (h(Host, { key: 'f6ede093bcdf8100807baab4de2a296fc4960a07' }, h("div", { key: 'b19bbe9b2ea58ea4adccc2028a1b24ea6bc9f0a9', class: "preview-overlay" }, h("div", { key: 'cbb2bfcb3a50e6e7fbfd4109eb340ba51d6a162d', class: "preview" }, h("rtk-tooltip", { key: '15b50c547470b0fa22014e0992a1c7e26b234573', label: this.t('chat.cancel_upload') }, h("rtk-button", { key: '940332a51747af3368ffec497d5ef76fa64ecf75', variant: "secondary", kind: "icon", onClick: this.onDeleteClickHandler }, h("rtk-icon", { key: 'cc04b0ac70753e970ff638f187ad5f702dc3656b', icon: this.iconPack.dismiss }))), this.attachment.type === 'image' ? (h("img", { class: "preview-image", src: this.filePreview })) : (h("div", { class: "preview-file" }, h("span", null, this.filePreview)))))));
57
57
  }
58
58
  static get is() { return "rtk-draft-attachment-view"; }
59
59
  static get encapsulation() { return "shadow"; }
@@ -57,7 +57,7 @@ export class RtkEmojiPicker {
57
57
  return (h("div", { id: "emoji-grid", class: "scrollbar max-w-40" }, this.filteredEmojis.map((e) => (h("rtk-button", { key: `emoji-button-${e.name}`, class: "emoji", variant: "ghost", kind: "icon", title: e.name, onClick: () => this.handleEmojiClick(e.emoji) }, e.emoji)))));
58
58
  }
59
59
  render() {
60
- return (h(Host, { key: 'e099d5996a16c659de17ca9a36fcd79a9f02f400' }, h("div", { key: '2a3e300c9625b877feb2b6780df7d1a9851cb7f3', class: 'close-parent' }, h("rtk-button", { key: '7ca8421704136d09d107d1f7392ba393d5f59a9a', variant: "ghost", kind: "icon", class: "close", onClick: () => { var _a; return (_a = this.pickerClose) === null || _a === void 0 ? void 0 : _a.emit(); }, "aria-label": this.t('close') }, h("rtk-icon", { key: '040069093f7243bf5075d55b2c081c564d885a8f', icon: this.iconPack.dismiss }))), h("div", { key: '372a32be35dea5200323720e221424b5138cc4ab', class: 'emoji-parent' }, h("input", { key: 'fae2be13d736adbb99212146498f00d4f395636e', value: this.filterVal, onInput: (event) => this.handleInputChange(event.target), placeholder: this.t('search'), ref: (el) => (this.inputElement = el) }), this.mapEmojiList())));
60
+ return (h(Host, { key: '6581d26d75a7b869d0ba00243ec74ee06b927e7d' }, h("div", { key: '3705d8c557ac3e05769171998e9176e7e40a232c', class: 'close-parent' }, h("rtk-button", { key: 'b437e579cb828a709de255ddfa6b751e4bdfbe51', variant: "ghost", kind: "icon", class: "close", onClick: () => { var _a; return (_a = this.pickerClose) === null || _a === void 0 ? void 0 : _a.emit(); }, "aria-label": this.t('close') }, h("rtk-icon", { key: '7fac79a21c6be57156d17ceeff9ceb2834bbf709', icon: this.iconPack.dismiss }))), h("div", { key: '46cb2af6654ef36b7258baf47e3cd9e5bd60bf89', class: 'emoji-parent' }, h("input", { key: 'cfde33638d531f9bac1b1bf25d966a369f4dfb38', value: this.filterVal, onInput: (event) => this.handleInputChange(event.target), placeholder: this.t('search'), ref: (el) => (this.inputElement = el) }), this.mapEmojiList())));
61
61
  }
62
62
  static get is() { return "rtk-emoji-picker"; }
63
63
  static get encapsulation() { return "shadow"; }
@@ -19,7 +19,7 @@ export class RtkEmojiPickerButton {
19
19
  this.t = useLanguage();
20
20
  }
21
21
  render() {
22
- return (h("rtk-tooltip", { key: 'bcde14fb2c3a6544882502e65ffda7a6b3b6f13d', label: this.t('chat.send_emoji') }, h("rtk-button", { key: 'd82fa78c4ffe48c24131a6e38f087548f540fefa', variant: "ghost", kind: "icon", class: { active: this.isActive }, title: this.t('chat.send_emoji') }, h("rtk-icon", { key: '791bbe2537f1aeb064c5e9ccbbf4af37b706ec2a', icon: this.iconPack.emoji_multiple }))));
22
+ return (h("rtk-tooltip", { key: '45ef1f18da6d1ecc3c02882590cd22e930461562', label: this.t('chat.send_emoji') }, h("rtk-button", { key: '6504abab2f1c6537443699c53a8cbdcf13530cba', variant: "ghost", kind: "icon", class: { active: this.isActive }, title: this.t('chat.send_emoji') }, h("rtk-icon", { key: 'd730c81abce72d9c3226f1f666941e1136bee77f', icon: this.iconPack.emoji_multiple }))));
23
23
  }
24
24
  static get is() { return "rtk-emoji-picker-button"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -37,7 +37,7 @@ export class RtkFileDropzone {
37
37
  });
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: 'd3fd9af2a148277b2481c94305104e43088a9b42' }, h("div", { key: 'f889ddc5635013ae7f364a6d36ef51936e179f7d', id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { key: 'ceb747a5fba7aa40ef108d404a7b8b02e6ab25b9', icon: this.iconPack.attach }), h("p", { key: '711b8a1ace2d73714f9abdbaba8c031e204fe07e' }, this.t('chat.send_attachment')))));
40
+ return (h(Host, { key: '6a205001d1e1e1f7c54855005cab34b81e95c9b9' }, h("div", { key: 'b87bcc6c90819127b2783665e541b69ce49f1032', id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { key: '1f603086a79a170a4fc3f3df53df9cfdfbae73fe', icon: this.iconPack.attach }), h("p", { key: '0b4914a3fb881006b1af20533750e6b273a82a48' }, this.t('chat.send_attachment')))));
41
41
  }
42
42
  static get is() { return "rtk-file-dropzone"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -34,10 +34,10 @@ export class RtkFileMessage {
34
34
  }
35
35
  render() {
36
36
  const link = sanitizeLink(this.message.link);
37
- return (h(Host, { key: '915330674d273f2c45ece29cb5e7c9408ee5cbe8' }, !this.isContinued && (h(ChatHead, { key: 'eb2877f6224de9be1c975f0d2dc010f29fef3bc9', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '87d7f309379f23b76e404da2039cd2fd3fb7c95a', class: {
37
+ return (h(Host, { key: '7e77bf95a78614fce8aac5a517e96b766d05684c' }, !this.isContinued && (h(ChatHead, { key: '2369a52afdf95e5d3850ae2e55ccf62212841797', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '21b0fc1a24e50d2487292c812b6d37189f219fdb', class: {
38
38
  body: true,
39
39
  bubble: this.showBubble,
40
- }, part: "body" }, h("div", { key: '7683a17adf5784ef0e6af8f396c58c005a369f6b', class: "file" }, h("div", { key: '3005eb72a09ba4d241ec919f957b95f26077ed13', class: "file-data" }, h("div", { key: 'ca5fc3700f868fd321793d4da672e9c7aad38056', class: "name" }, this.message.name), h("div", { key: '463c37838eec7b9ee9b096803cb785445206041a', class: "file-data-split" }, h("div", { key: '9470b898708fc78ca01c2926f8fb6a3c6fae6eea', class: "ext" }, getExtension(this.message.name)), h("span", { key: '35fa7f199b45bb6e64a72614ca1eceaafa6044e7', class: "divider" }), h("div", { key: 'b19a9d32151bb1ddbbb7689dc6d8e09b021d0612', class: "size" }, getFileSize(this.message.size)))), h("rtk-button", { key: '6bb6a3223801a944fb9018765385ebadeae15e0f', variant: "secondary", kind: "icon", onClick: () => downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '9a7335c6720295a7f0b9073e35ac86014be53316', icon: this.iconPack.download }))))));
40
+ }, part: "body" }, h("div", { key: '8dca01f88c22a64a3b70b26ebaabdcd46afa73a7', class: "file" }, h("div", { key: 'a6bf3e516ce45acc1671df528f998ef057926539', class: "file-data" }, h("div", { key: '8680af670beb6d1fc08e0d47508667b357ff466f', class: "name" }, this.message.name), h("div", { key: '4fcd3cf05e9e14d798e04150337c93577b47104c', class: "file-data-split" }, h("div", { key: '618e81eb6011f9ebde2782f4c039fd787cba666c', class: "ext" }, getExtension(this.message.name)), h("span", { key: 'ac5faddf53f94aab3d1f8f05d8523960de8a300f', class: "divider" }), h("div", { key: 'd28b3acf0f19d99c399f008d0d41c1a8977a821f', class: "size" }, getFileSize(this.message.size)))), h("rtk-button", { key: '4f562573b8b0765a5a94c064ebb9c60e26eb9c1a', variant: "secondary", kind: "icon", onClick: () => downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '062a9cb80ab29f81fac9b6d76caaa5f5846d3837', icon: this.iconPack.download }))))));
41
41
  }
42
42
  static get is() { return "rtk-file-message"; }
43
43
  static get properties() {
@@ -22,7 +22,7 @@ export class RtkFileMessageView {
22
22
  this.iconPack = defaultIconPack;
23
23
  }
24
24
  render() {
25
- return (h("div", { key: 'cdd46a1be912f807688dc86671dddd2fa5b9e7c9', class: "file" }, h("rtk-button", { key: '20bd6c448ec64902989cd742a8f18de32e368194', variant: "secondary", kind: "icon", onClick: () => downloadFile(sanitizeLink(this.url), { name: this.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '11ac30db5146132be8aaba67a79f66f8aba7bb8d', icon: this.iconPack.download })), h("div", { key: '342dd8daa944a5857a6519339b4d3bfb6c369eda', class: "file-data" }, h("div", { key: 'e161743b75677b1e81d09d7c373be494ccf8411a', class: "name" }, this.name), h("div", { key: '99f2d8d77ef3c129aa0c229260f6e79901ce268c', class: "file-data-split" }, h("div", { key: '7b9beadca2a810c151fb1ad43ee7c47ba451a37a', class: "ext" }, getExtension(this.name)), h("span", { key: 'd55f69a96bbe26c262461fa87f1a0a506854cf59', class: "divider" }), h("div", { key: 'cad33d263ab75aeb3083886e83063b8ccb2ea976', class: "size" }, getFileSize(this.size))))));
25
+ return (h("div", { key: '5cc29b4780f581a2f8b045e5051bcc66f3fdaf55', class: "file" }, h("rtk-button", { key: '4100b47bc1d72f08ec5fe645291bfbb58e3a6486', variant: "secondary", kind: "icon", onClick: () => downloadFile(sanitizeLink(this.url), { name: this.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '52ae14abb7c27b89861d5ba4c907d606257628c9', icon: this.iconPack.download })), h("div", { key: '02c9ad8d173172a85cc474273a966607d456360e', class: "file-data" }, h("div", { key: '6ceca21685d04f175006ba35a6de194cc98879ad', class: "name" }, this.name), h("div", { key: 'b07d07bcaedee3fd6fbcfe81ce2f6bf757655b5f', class: "file-data-split" }, h("div", { key: '280635ef486de02bc68ca3e774be14fa5a461d1c', class: "ext" }, getExtension(this.name)), h("span", { key: '84f72d8b37b7d15c257faed036b76c737eec780b', class: "divider" }), h("div", { key: '1b88f48f51afe3fceb57920c3d17f586e848a25f', class: "size" }, getFileSize(this.size))))));
26
26
  }
27
27
  static get is() { return "rtk-file-message-view"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class RtkFilePickerButton {
44
44
  render() {
45
45
  const label = this.label || this.t('chat.send_file');
46
46
  const icon = this.iconPack[this.icon];
47
- return (h("rtk-tooltip", { key: '78ef1fd3a42656601c94561bbfc63f888d8180d3', label: label }, h("rtk-button", { key: 'a0a82e689c2e3a344936db1b3253e36def3a0ce5', variant: "ghost", kind: "icon", onClick: () => this.uploadFile(), title: label }, h("rtk-icon", { key: '1651a9f460e3851ff5296f05cf08554f9da21703', icon: icon }))));
47
+ return (h("rtk-tooltip", { key: '057a0a5a714dbbde228e3481e53adea4f88fb3ad', label: label }, h("rtk-button", { key: '04193df1053b14687fb9464a122b9158707bdda1', variant: "ghost", kind: "icon", onClick: () => this.uploadFile(), title: label }, h("rtk-icon", { key: 'ed2fce30b93dfce9dd6b967d5993c93496cf3388', icon: icon }))));
48
48
  }
49
49
  static get is() { return "rtk-file-picker-button"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class RtkHeader {
40
40
  iconPack: this.iconPack,
41
41
  size: this.size,
42
42
  };
43
- return (h(Host, { key: '00cfd80dbffa3f1c9c66e00397c7db1e7292664c' }, !this.disableRender && h(Render, { key: '521ab0493477836b0a5ce6de5ed85a842c71d32a', element: "rtk-header", defaults: defaults, onlyChildren: true }), h("slot", { key: 'f73693073b8a7162a5db2ec73e93de6bbccea7dd' })));
43
+ return (h(Host, { key: 'cc998eacd57a6ab5492229b6eb900caf9aa6cfaa' }, !this.disableRender && h(Render, { key: 'c8bfb68227fcea6955c7e4d07cfe3d1eb9d7906d', element: "rtk-header", defaults: defaults, onlyChildren: true }), h("slot", { key: '50848506efeeccf7a6bd4539d65374eb64279d17' })));
44
44
  }
45
45
  static get is() { return "rtk-header"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,7 @@ export class RtkIcon {
18
18
  this.size = 'lg';
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: 'fbacb1ee3dd4c1ca7aa612f08e938601df73036c' }, h("div", { key: '04c026967cb7aa3acb3fba09fcf5b0d33f45e2b0', class: "icon-wrapper", innerHTML: parseIcon(this.icon), part: "wrapper" })));
21
+ return (h(Host, { key: 'fdbe6fd9647bae7cfdf02ba6a250aa3c0c39ad85' }, h("div", { key: '114baca2f9ce9376e69073b40170473cc359915f', class: "icon-wrapper", innerHTML: parseIcon(this.icon), part: "wrapper" })));
22
22
  }
23
23
  static get is() { return "rtk-icon"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -27,7 +27,7 @@ export class RtkIdleScreen {
27
27
  this.t = useLanguage();
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: '1243feb830c4b40ddbb41409ba5e4f5259d4aba2' }, h("slot", { key: 'e5c674091393508a202d514e9ad41ccae687a660' }, h("div", { key: 'bd6e459fc18148edf47ed45df3e9f1f3d3356383', class: "ctr", part: "container" }, h("rtk-logo", { key: '9b3211860563ef93307902744b37985908f71cdf', meeting: this.meeting, config: this.config, t: this.t, part: "logo" }), h("rtk-spinner", { key: '584a3355b5a023ae9bc66f1eafbd85f3d3b9bb92', "aria-label": "Idle, waiting for meeting data", part: "spinner", iconPack: this.iconPack })))));
30
+ return (h(Host, { key: '9542c3ce51e79f077f59e3c260884b117ee8d327' }, h("slot", { key: 'b0d7e6f916ef6bc00eb77c89a6ee6c4f55fe81c5' }, h("div", { key: '028702fec102195179abb5ad93803478cda2cd4d', class: "ctr", part: "container" }, h("rtk-logo", { key: '5fa9163f969de1ee7f9f02b585138e16d583bf2b', meeting: this.meeting, config: this.config, t: this.t, part: "logo" }), h("rtk-spinner", { key: 'cbf0b91e0455cb2be65059766d6eb713674f2dcb', "aria-label": "Idle, waiting for meeting data", part: "spinner", iconPack: this.iconPack })))));
31
31
  }
32
32
  static get is() { return "rtk-idle-screen"; }
33
33
  static get encapsulation() { return "shadow"; }