@cloudflare/realtimekit-ui 1.1.0-staging.3 → 1.1.0-staging.5

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 (394) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/realtimekit-ui.cjs.js +1 -1
  4. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +1 -1
  5. package/dist/cjs/rtk-audio-grid.cjs.entry.js +1 -1
  6. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +1 -1
  7. package/dist/cjs/rtk-avatar_24.cjs.entry.js +267 -247
  8. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +4 -4
  9. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +9 -9
  10. package/dist/cjs/rtk-channel-creator.cjs.entry.js +2 -2
  11. package/dist/cjs/rtk-channel-details.cjs.entry.js +1 -1
  12. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +2 -2
  13. package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
  14. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +3 -3
  15. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +1 -1
  16. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +27 -22
  17. package/dist/cjs/rtk-clock.cjs.entry.js +3 -3
  18. package/dist/cjs/rtk-controlbar.cjs.entry.js +1 -1
  19. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +1 -1
  20. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +1 -1
  21. package/dist/cjs/rtk-file-message_3.cjs.entry.js +8 -8
  22. package/dist/cjs/rtk-header.cjs.entry.js +1 -1
  23. package/dist/cjs/rtk-idle-screen.cjs.entry.js +1 -1
  24. package/dist/cjs/rtk-image-viewer.cjs.entry.js +1 -1
  25. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +1 -1
  26. package/dist/cjs/rtk-leave-button.cjs.entry.js +1 -1
  27. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  28. package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
  29. package/dist/cjs/rtk-name-tag.cjs.entry.js +1 -1
  30. package/dist/cjs/rtk-notification.cjs.entry.js +2 -2
  31. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  32. package/dist/cjs/rtk-participant_2.cjs.entry.js +14 -14
  33. package/dist/cjs/rtk-participants-audio.cjs.entry.js +1 -1
  34. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +1 -1
  35. package/dist/cjs/rtk-plugins_2.cjs.entry.js +4 -4
  36. package/dist/cjs/rtk-poll_2.cjs.entry.js +3 -3
  37. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +1 -1
  38. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +5 -5
  39. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +1 -1
  40. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  41. package/dist/cjs/rtk-stage.cjs.entry.js +1 -1
  42. package/dist/cjs/rtk-transcript.cjs.entry.js +1 -1
  43. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +1 -1
  44. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
  45. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
  46. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +2 -2
  47. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
  48. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +2 -2
  49. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +1 -1
  50. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +2 -2
  51. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +29 -29
  52. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +2 -2
  53. package/dist/collection/components/rtk-chat/rtk-chat.css +45 -8
  54. package/dist/collection/components/rtk-chat/rtk-chat.js +15 -7
  55. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +2 -2
  56. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +3 -3
  57. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +3 -3
  58. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
  59. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.css +1 -1
  60. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +27 -26
  61. package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
  62. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
  63. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
  64. package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
  65. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
  66. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
  67. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
  68. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
  69. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
  70. package/dist/collection/components/rtk-file-message/rtk-file-message.js +2 -2
  71. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +1 -1
  72. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
  73. package/dist/collection/components/rtk-header/rtk-header.js +1 -1
  74. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
  75. package/dist/collection/components/rtk-image-message/rtk-image-message.js +4 -4
  76. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +3 -3
  77. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
  78. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
  79. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
  80. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
  81. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +2 -2
  82. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
  83. package/dist/collection/components/rtk-menu/rtk-menu.js +2 -2
  84. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
  85. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
  86. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +3 -3
  87. package/dist/collection/components/rtk-message-view/rtk-message-view.css +5 -1
  88. package/dist/collection/components/rtk-message-view/rtk-message-view.js +23 -1
  89. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
  90. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
  91. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
  92. package/dist/collection/components/rtk-notification/rtk-notification.js +2 -2
  93. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  94. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +5 -5
  95. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +272 -256
  96. package/dist/collection/components/rtk-participant/rtk-participant.js +12 -12
  97. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
  98. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  99. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  100. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  101. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  102. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  103. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
  104. package/dist/collection/components/rtk-polls/rtk-polls.js +3 -3
  105. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  106. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
  107. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  108. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  109. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +2 -2
  110. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  111. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  112. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  113. package/dist/collection/components/rtk-text-message/rtk-text-message.js +2 -2
  114. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  115. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
  116. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  117. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  118. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
  119. package/dist/components/{p-9f7b9764.js → p-00bb4abb.js} +6 -6
  120. package/dist/components/{p-5248ee44.js → p-02b840f8.js} +3 -3
  121. package/dist/components/{p-a54ac879.js → p-0b2b3442.js} +2 -2
  122. package/dist/components/p-0d472019.js +362 -0
  123. package/dist/components/{p-94ba6c49.js → p-0e5cc539.js} +2 -2
  124. package/dist/components/{p-8901c589.js → p-0f2de0f8.js} +10 -7
  125. package/dist/components/{p-3a3650bd.js → p-107e55c1.js} +1 -1
  126. package/dist/components/{p-e62d961a.js → p-1a9e3806.js} +1 -1
  127. package/dist/components/{p-1da75fdd.js → p-1f5a4682.js} +2 -2
  128. package/dist/components/{p-bb55fa0c.js → p-2309fb19.js} +2 -2
  129. package/dist/components/{p-ff320cbb.js → p-241a8245.js} +1 -1
  130. package/dist/components/{p-93069a8c.js → p-2447a26f.js} +2 -2
  131. package/dist/components/{p-3bc68ec4.js → p-28170a8d.js} +9 -9
  132. package/dist/components/{p-ffe562b1.js → p-294cda89.js} +3 -3
  133. package/dist/components/{p-9c88019e.js → p-2a65883d.js} +1 -1
  134. package/dist/components/{p-d9845780.js → p-32c6e86d.js} +36 -28
  135. package/dist/components/{p-0c512fd1.js → p-39e8b34a.js} +1 -1
  136. package/dist/components/{p-ff8753e8.js → p-3e58e0f3.js} +1 -1
  137. package/dist/components/{p-2e6987aa.js → p-43d6a221.js} +2 -2
  138. package/dist/components/{p-7e8d976d.js → p-45220ce9.js} +2 -2
  139. package/dist/components/{p-962c2e24.js → p-46d99dd9.js} +2 -2
  140. package/dist/components/{p-9ff37f98.js → p-48acb953.js} +1 -1
  141. package/dist/components/{p-d9b1945a.js → p-4902c5cf.js} +1 -1
  142. package/dist/components/{p-5ac9b786.js → p-4aede34c.js} +1 -1
  143. package/dist/components/{p-6366df1e.js → p-4e5a54c2.js} +10 -10
  144. package/dist/components/{p-8b4e32b7.js → p-4ebf9684.js} +1 -1
  145. package/dist/components/{p-94bd91b3.js → p-540d8eb9.js} +1 -1
  146. package/dist/components/{p-ad7cabcc.js → p-5476e3f3.js} +2 -2
  147. package/dist/components/{p-471a529a.js → p-5669b6e7.js} +4 -4
  148. package/dist/components/{p-626c7a5f.js → p-598dc3f2.js} +2 -2
  149. package/dist/components/{p-c36a303c.js → p-616ae7ab.js} +2 -2
  150. package/dist/components/{p-a94b2e67.js → p-6739a399.js} +2 -2
  151. package/dist/components/{p-ad331530.js → p-6c9a833e.js} +1 -1
  152. package/dist/components/{p-1614fe8f.js → p-713c7ed7.js} +3 -3
  153. package/dist/components/{p-222454dc.js → p-7148ec6a.js} +1 -1
  154. package/dist/components/{p-ef493e1b.js → p-761c0e78.js} +1 -1
  155. package/dist/components/{p-3b6af603.js → p-7f489600.js} +1 -1
  156. package/dist/components/{p-0e8ff1cc.js → p-819cb785.js} +1 -1
  157. package/dist/components/{p-68af4225.js → p-89025409.js} +3 -3
  158. package/dist/components/{p-7a04f0cc.js → p-8cfdac0d.js} +5 -5
  159. package/dist/components/{p-41224895.js → p-8d6b21d5.js} +3 -3
  160. package/dist/components/{p-6c20da11.js → p-a25f3aca.js} +2 -2
  161. package/dist/components/{p-d0c5e808.js → p-a51db0d6.js} +16 -16
  162. package/dist/components/{p-a48e2cf0.js → p-a73665b4.js} +7 -7
  163. package/dist/components/{p-a24156ce.js → p-a8a6496d.js} +1 -1
  164. package/dist/components/{p-b58a185f.js → p-ae376177.js} +14 -14
  165. package/dist/components/{p-01c968b1.js → p-af3b99f4.js} +2 -2
  166. package/dist/components/{p-d81ba93a.js → p-bb4983b8.js} +2 -2
  167. package/dist/components/{p-c2b64e33.js → p-c334f0e5.js} +2 -2
  168. package/dist/components/{p-88bef213.js → p-cf8f725b.js} +1 -1
  169. package/dist/components/{p-d6146a96.js → p-d765dbe4.js} +6 -6
  170. package/dist/components/{p-6523d14b.js → p-da9018ea.js} +6 -6
  171. package/dist/components/{p-0d582365.js → p-dc3143c0.js} +2 -2
  172. package/dist/components/{p-58b56794.js → p-e0510925.js} +1 -1
  173. package/dist/components/{p-5e67d672.js → p-eeb37b16.js} +1 -1
  174. package/dist/components/{p-f2a47b5b.js → p-fa476519.js} +5 -5
  175. package/dist/components/{p-fa8f6b4a.js → p-fb836f65.js} +1 -1
  176. package/dist/components/{p-ba788f9e.js → p-fb900e8f.js} +2 -2
  177. package/dist/components/{p-262671ff.js → p-fef53de3.js} +1 -1
  178. package/dist/components/rtk-ai-toggle.js +2 -2
  179. package/dist/components/rtk-ai-transcriptions.js +1 -1
  180. package/dist/components/rtk-ai.js +1 -1
  181. package/dist/components/rtk-audio-grid.js +1 -1
  182. package/dist/components/rtk-audio-tile.js +3 -3
  183. package/dist/components/rtk-avatar.js +1 -1
  184. package/dist/components/rtk-breakout-room-manager.js +1 -1
  185. package/dist/components/rtk-breakout-room-participants.js +1 -1
  186. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  187. package/dist/components/rtk-breakout-rooms-toggle.js +2 -2
  188. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  189. package/dist/components/rtk-camera-toggle.js +3 -3
  190. package/dist/components/rtk-caption-toggle.js +2 -2
  191. package/dist/components/rtk-channel-creator.js +4 -4
  192. package/dist/components/rtk-channel-details.js +1 -1
  193. package/dist/components/rtk-channel-header.js +4 -4
  194. package/dist/components/rtk-channel-selector-ui.js +4 -4
  195. package/dist/components/rtk-channel-selector-view.js +1 -1
  196. package/dist/components/rtk-chat-composer-ui.js +4 -4
  197. package/dist/components/rtk-chat-composer-view.js +1 -1
  198. package/dist/components/rtk-chat-message.js +1 -1
  199. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  200. package/dist/components/rtk-chat-messages-ui.js +14 -14
  201. package/dist/components/rtk-chat-search-results.js +11 -11
  202. package/dist/components/rtk-chat-toggle.js +30 -26
  203. package/dist/components/rtk-chat.js +1 -1
  204. package/dist/components/rtk-clock.js +3 -3
  205. package/dist/components/rtk-confirmation-modal.js +1 -1
  206. package/dist/components/rtk-controlbar-button.js +1 -1
  207. package/dist/components/rtk-controlbar.js +1 -1
  208. package/dist/components/rtk-counter.js +1 -1
  209. package/dist/components/rtk-debugger-toggle.js +3 -3
  210. package/dist/components/rtk-dialog-manager.js +14 -14
  211. package/dist/components/rtk-draft-attachment-view.js +1 -1
  212. package/dist/components/rtk-emoji-picker-button.js +1 -1
  213. package/dist/components/rtk-emoji-picker.js +1 -1
  214. package/dist/components/rtk-file-dropzone.js +1 -1
  215. package/dist/components/rtk-file-message-view.js +1 -1
  216. package/dist/components/rtk-file-message.js +1 -1
  217. package/dist/components/rtk-file-picker-button.js +1 -1
  218. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  219. package/dist/components/rtk-grid-pagination.js +1 -1
  220. package/dist/components/rtk-grid.js +4 -4
  221. package/dist/components/rtk-header.js +1 -1
  222. package/dist/components/rtk-idle-screen.js +2 -2
  223. package/dist/components/rtk-image-message-view.js +1 -1
  224. package/dist/components/rtk-image-message.js +1 -1
  225. package/dist/components/rtk-image-viewer.js +1 -1
  226. package/dist/components/rtk-information-tooltip.js +1 -1
  227. package/dist/components/rtk-join-stage.js +1 -1
  228. package/dist/components/rtk-leave-button.js +3 -3
  229. package/dist/components/rtk-leave-meeting.js +1 -1
  230. package/dist/components/rtk-livestream-player.js +1 -1
  231. package/dist/components/rtk-livestream-toggle.js +2 -2
  232. package/dist/components/rtk-markdown-view.js +1 -1
  233. package/dist/components/rtk-meeting-title.js +1 -1
  234. package/dist/components/rtk-meeting.js +21 -21
  235. package/dist/components/rtk-menu-item.js +1 -1
  236. package/dist/components/rtk-menu-list.js +1 -1
  237. package/dist/components/rtk-menu.js +1 -1
  238. package/dist/components/rtk-message-list-view.js +4 -4
  239. package/dist/components/rtk-message-view.js +1 -1
  240. package/dist/components/rtk-mic-toggle.js +3 -3
  241. package/dist/components/rtk-mixed-grid.js +3 -3
  242. package/dist/components/rtk-more-toggle.js +4 -4
  243. package/dist/components/rtk-mute-all-button.js +3 -3
  244. package/dist/components/rtk-mute-all-confirmation.js +1 -1
  245. package/dist/components/rtk-name-tag.js +1 -1
  246. package/dist/components/rtk-notification.js +1 -1
  247. package/dist/components/rtk-notifications.js +1 -1
  248. package/dist/components/rtk-overlay-modal.js +1 -1
  249. package/dist/components/rtk-paginated-list.js +1 -1
  250. package/dist/components/rtk-participant-setup.js +2 -2
  251. package/dist/components/rtk-participant.js +1 -1
  252. package/dist/components/rtk-participants-audio.js +1 -1
  253. package/dist/components/rtk-participants-stage-list.js +1 -1
  254. package/dist/components/rtk-participants-stage-queue.js +1 -1
  255. package/dist/components/rtk-participants-toggle.js +2 -2
  256. package/dist/components/rtk-participants-viewer-list.js +1 -1
  257. package/dist/components/rtk-participants-waiting-list.js +1 -1
  258. package/dist/components/rtk-participants.js +11 -11
  259. package/dist/components/rtk-permissions-message.js +1 -1
  260. package/dist/components/rtk-pip-toggle.js +2 -2
  261. package/dist/components/rtk-plugins-toggle.js +2 -2
  262. package/dist/components/rtk-plugins.js +1 -1
  263. package/dist/components/rtk-poll-form.js +1 -1
  264. package/dist/components/rtk-poll.js +1 -1
  265. package/dist/components/rtk-polls-toggle.js +2 -2
  266. package/dist/components/rtk-polls.js +1 -1
  267. package/dist/components/rtk-recording-indicator.js +1 -1
  268. package/dist/components/rtk-recording-toggle.js +2 -2
  269. package/dist/components/rtk-screen-share-toggle.js +3 -3
  270. package/dist/components/rtk-screenshare-view.js +6 -6
  271. package/dist/components/rtk-settings-audio.js +1 -1
  272. package/dist/components/rtk-settings-toggle.js +3 -3
  273. package/dist/components/rtk-settings-video.js +1 -1
  274. package/dist/components/rtk-settings.js +3 -3
  275. package/dist/components/rtk-setup-screen.js +1 -1
  276. package/dist/components/rtk-sidebar.js +5 -5
  277. package/dist/components/rtk-spinner.js +1 -1
  278. package/dist/components/rtk-spotlight-grid.js +2 -2
  279. package/dist/components/rtk-spotlight-indicator.js +1 -1
  280. package/dist/components/rtk-stage-toggle.js +3 -3
  281. package/dist/components/rtk-stage.js +1 -1
  282. package/dist/components/rtk-switch.js +1 -1
  283. package/dist/components/rtk-tab-bar.js +1 -1
  284. package/dist/components/rtk-text-composer-view.js +1 -1
  285. package/dist/components/rtk-text-message-view.js +1 -1
  286. package/dist/components/rtk-text-message.js +1 -1
  287. package/dist/components/rtk-tooltip.js +1 -1
  288. package/dist/components/rtk-transcript.js +1 -1
  289. package/dist/components/rtk-transcripts.js +1 -1
  290. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  291. package/dist/components/rtk-waiting-screen.js +1 -1
  292. package/dist/docs/docs-components.json +88 -66
  293. package/dist/docs/docs-vscode.json +4 -0
  294. package/dist/esm/loader.js +397 -371
  295. package/dist/esm/realtimekit-ui.js +1 -1
  296. package/dist/esm/rtk-ai-transcriptions.entry.js +1 -1
  297. package/dist/esm/rtk-audio-grid.entry.js +1 -1
  298. package/dist/esm/rtk-audio-visualizer_4.entry.js +1 -1
  299. package/dist/esm/rtk-avatar_24.entry.js +267 -247
  300. package/dist/esm/rtk-breakout-room-manager_3.entry.js +4 -4
  301. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +9 -9
  302. package/dist/esm/rtk-channel-creator.entry.js +2 -2
  303. package/dist/esm/rtk-channel-details.entry.js +1 -1
  304. package/dist/esm/rtk-channel-selector-ui.entry.js +2 -2
  305. package/dist/esm/rtk-chat-message.entry.js +2 -2
  306. package/dist/esm/rtk-chat-messages-ui.entry.js +3 -3
  307. package/dist/esm/rtk-chat-search-results.entry.js +1 -1
  308. package/dist/esm/rtk-chat-toggle.entry.js +27 -22
  309. package/dist/esm/rtk-clock.entry.js +3 -3
  310. package/dist/esm/rtk-controlbar.entry.js +1 -1
  311. package/dist/esm/rtk-debugger-toggle.entry.js +1 -1
  312. package/dist/esm/rtk-file-dropzone.entry.js +1 -1
  313. package/dist/esm/rtk-file-message_3.entry.js +8 -8
  314. package/dist/esm/rtk-header.entry.js +1 -1
  315. package/dist/esm/rtk-idle-screen.entry.js +1 -1
  316. package/dist/esm/rtk-image-viewer.entry.js +1 -1
  317. package/dist/esm/rtk-information-tooltip.entry.js +1 -1
  318. package/dist/esm/rtk-leave-button.entry.js +1 -1
  319. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  320. package/dist/esm/rtk-more-toggle.entry.js +2 -2
  321. package/dist/esm/rtk-name-tag.entry.js +1 -1
  322. package/dist/esm/rtk-notification.entry.js +2 -2
  323. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  324. package/dist/esm/rtk-participant_2.entry.js +14 -14
  325. package/dist/esm/rtk-participants-audio.entry.js +1 -1
  326. package/dist/esm/rtk-participants-stage-list_4.entry.js +1 -1
  327. package/dist/esm/rtk-plugins_2.entry.js +4 -4
  328. package/dist/esm/rtk-poll_2.entry.js +3 -3
  329. package/dist/esm/rtk-recording-indicator.entry.js +1 -1
  330. package/dist/esm/rtk-screenshare-view.entry.js +5 -5
  331. package/dist/esm/rtk-settings-toggle.entry.js +1 -1
  332. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  333. package/dist/esm/rtk-stage.entry.js +1 -1
  334. package/dist/esm/rtk-transcript.entry.js +1 -1
  335. package/dist/esm/rtk-waiting-screen.entry.js +1 -1
  336. package/dist/realtimekit-ui/{p-d2a92f27.entry.js → p-00445029.entry.js} +1 -1
  337. package/dist/realtimekit-ui/{p-42989f41.entry.js → p-02c6b025.entry.js} +1 -1
  338. package/dist/realtimekit-ui/{p-af6436dd.entry.js → p-0baa78d7.entry.js} +1 -1
  339. package/dist/realtimekit-ui/{p-6ba99cc3.entry.js → p-1fe6003b.entry.js} +1 -1
  340. package/dist/realtimekit-ui/p-21d4bb9c.entry.js +1 -0
  341. package/dist/realtimekit-ui/{p-ed34d8a1.entry.js → p-23784be6.entry.js} +1 -1
  342. package/dist/realtimekit-ui/{p-f19668ba.entry.js → p-2441260e.entry.js} +1 -1
  343. package/dist/realtimekit-ui/p-322957ed.entry.js +1 -0
  344. package/dist/realtimekit-ui/{p-9ac1b986.entry.js → p-323d1aa4.entry.js} +1 -1
  345. package/dist/realtimekit-ui/p-44d69c6b.entry.js +1 -0
  346. package/dist/realtimekit-ui/p-48c87789.entry.js +1 -0
  347. package/dist/realtimekit-ui/{p-c43c2382.entry.js → p-53680d55.entry.js} +1 -1
  348. package/dist/realtimekit-ui/{p-5ebc57f8.entry.js → p-54a88fdf.entry.js} +1 -1
  349. package/dist/realtimekit-ui/{p-beedd1b5.entry.js → p-5892c1e0.entry.js} +1 -1
  350. package/dist/realtimekit-ui/{p-b64eae39.entry.js → p-612a8d25.entry.js} +1 -1
  351. package/dist/realtimekit-ui/{p-6437ff4e.entry.js → p-64206b62.entry.js} +1 -1
  352. package/dist/realtimekit-ui/{p-2f9211b9.entry.js → p-67ead213.entry.js} +1 -1
  353. package/dist/realtimekit-ui/{p-29c11bdb.entry.js → p-6896e819.entry.js} +1 -1
  354. package/dist/realtimekit-ui/{p-73a56e4f.entry.js → p-7a9a226e.entry.js} +1 -1
  355. package/dist/realtimekit-ui/{p-298befae.entry.js → p-80e51a73.entry.js} +1 -1
  356. package/dist/realtimekit-ui/p-820dad23.entry.js +1 -0
  357. package/dist/realtimekit-ui/p-83db4de1.entry.js +1 -0
  358. package/dist/realtimekit-ui/{p-844143f8.entry.js → p-85b3c0c4.entry.js} +1 -1
  359. package/dist/realtimekit-ui/{p-b4975a33.entry.js → p-8778b3e6.entry.js} +1 -1
  360. package/dist/realtimekit-ui/{p-447ffea0.entry.js → p-a1408db4.entry.js} +1 -1
  361. package/dist/realtimekit-ui/{p-1a78c129.entry.js → p-a67e2a25.entry.js} +1 -1
  362. package/dist/realtimekit-ui/{p-3d5ebc77.entry.js → p-a680da64.entry.js} +1 -1
  363. package/dist/realtimekit-ui/{p-b6cee65a.entry.js → p-a7172c2d.entry.js} +1 -1
  364. package/dist/realtimekit-ui/{p-78968008.entry.js → p-a852e0cf.entry.js} +1 -1
  365. package/dist/realtimekit-ui/{p-503371f7.entry.js → p-ac6c8ebe.entry.js} +1 -1
  366. package/dist/realtimekit-ui/{p-132fca40.entry.js → p-b25f7d7b.entry.js} +1 -1
  367. package/dist/realtimekit-ui/p-b51e813e.entry.js +1 -0
  368. package/dist/realtimekit-ui/{p-f6918dd7.entry.js → p-be5bdd0a.entry.js} +1 -1
  369. package/dist/realtimekit-ui/p-c5f704a3.entry.js +1 -0
  370. package/dist/realtimekit-ui/{p-a849f2b3.entry.js → p-cc226b51.entry.js} +1 -1
  371. package/dist/realtimekit-ui/{p-6928aa8e.entry.js → p-cda276d6.entry.js} +1 -1
  372. package/dist/realtimekit-ui/p-d880fb69.entry.js +1 -0
  373. package/dist/realtimekit-ui/p-f457ae6f.entry.js +1 -0
  374. package/dist/realtimekit-ui/{p-3482a231.entry.js → p-f6c82f1b.entry.js} +1 -1
  375. package/dist/realtimekit-ui/p-fa86682c.entry.js +1 -0
  376. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  377. package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -1
  378. package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +4 -6
  379. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +2 -0
  380. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +68 -53
  381. package/dist/types/components.d.ts +17 -5
  382. package/package.json +1 -1
  383. package/dist/components/p-8e160343.js +0 -357
  384. package/dist/realtimekit-ui/p-02889d02.entry.js +0 -1
  385. package/dist/realtimekit-ui/p-0485834f.entry.js +0 -1
  386. package/dist/realtimekit-ui/p-190523f5.entry.js +0 -1
  387. package/dist/realtimekit-ui/p-2f6fd6de.entry.js +0 -1
  388. package/dist/realtimekit-ui/p-3a4e302b.entry.js +0 -1
  389. package/dist/realtimekit-ui/p-93e9fb59.entry.js +0 -1
  390. package/dist/realtimekit-ui/p-a9cb6a16.entry.js +0 -1
  391. package/dist/realtimekit-ui/p-bf234650.entry.js +0 -1
  392. package/dist/realtimekit-ui/p-ce5a911d.entry.js +0 -1
  393. package/dist/realtimekit-ui/p-d5144f9d.entry.js +0 -1
  394. package/dist/realtimekit-ui/p-db831ab6.entry.js +0 -1
@@ -124,8 +124,8 @@ export class RtkChannelSelectorView {
124
124
  'last-message': true,
125
125
  'no-message': !channel.latestMessage,
126
126
  } }, h("rtk-text-message-view", { isMarkdown: true, text: channel.latestMessage })))), h("div", { class: "col channel-meta" }, channel.latestMessageTime && (h("time", { class: "time" }, this.getTimeLabel(channel.latestMessageTime))), channel.unreadCount > 0 && (h("div", { class: "unread-count" }, channel.unreadCount))))));
127
- })))), this.viewAs === 'dropdown' && (h("button", { key: '0c87f90d6d0fe22284995ab7259689f80a862829', class: "dropdown-trigger", onClick: this.toggleDropdown }, h("span", { key: 'd1a364f2c5c57d19702d0b8707ca661c1dc4c14f' }, this.selectedChannelId &&
128
- `${this.t('to')} ${this.getChannelById(this.selectedChannelId).name}`, this.getTotalUnreads() > 0 && (h("div", { key: 'bf789f9df82851825bc6ea12a19a5f37ab74aefe', class: "unread-count" }, this.getTotalUnreads()))), h("rtk-icon", { key: 'c0d03f883f4c46b2698be0f197751fc0470717ea', icon: this.showDropdown ? this.iconPack.chevron_up : this.iconPack.chevron_down })))));
127
+ })))), this.viewAs === 'dropdown' && (h("button", { key: '0c87f90d6d0fe22284995ab7259689f80a862829', class: "dropdown-trigger", onClick: this.toggleDropdown }, h("span", { key: 'd1a364f2c5c57d19702d0b8707ca661c1dc4c14f' }, h("rtk-icon", { key: 'a4a028e536459fab6de2884e25b0312d2a36bc32', icon: this.iconPack.participants }), this.selectedChannelId &&
128
+ `${this.t('to')} ${this.getChannelById(this.selectedChannelId).name}`, this.getTotalUnreads() > 0 && (h("div", { key: '83c8efae8daed7dce4c4fdb55b523876c71a9a85', class: "unread-count" }, this.getTotalUnreads()))), h("rtk-icon", { key: '855ff62e593c7c14f448bbd5b8cf898e13d5d391', icon: this.showDropdown ? this.iconPack.chevron_up : this.iconPack.chevron_down })))));
129
129
  }
130
130
  static get is() { return "rtk-channel-selector-view"; }
131
131
  static get encapsulation() { return "shadow"; }
@@ -188,30 +188,67 @@ rtk-chat-composer-view {
188
188
  display: block;
189
189
  }
190
190
 
191
+ .pinned-messages {
192
+ position: relative;
193
+ display: flex;
194
+ flex-direction: column;
195
+ }
196
+
191
197
  .pinned-messages-header {
192
198
  display: flex;
193
199
  align-items: center;
200
+ justify-content: space-between;
194
201
  gap: var(--rtk-space-2, 8px);
195
- padding: var(--rtk-space-2, 8px);
202
+ padding: var(--rtk-space-4, 16px);
196
203
  --tw-bg-opacity: 1;
197
- background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));
198
- font-size: 12px;
204
+ background-color: rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));
205
+ font-size: 14px;
199
206
  cursor: pointer;
200
207
  }
201
208
 
209
+ .pinned-messages-header div {
210
+ display: flex;
211
+ flex-direction: row;
212
+ align-items: center;
213
+ gap: var(--rtk-space-2, 8px);
214
+ }
215
+
202
216
  .pinned-messages-header rtk-icon {
203
217
  height: var(--rtk-space-3, 12px);
204
218
  width: var(--rtk-space-3, 12px);
205
219
  }
206
220
 
207
- .pinned-messages-header:hover {
221
+ .pinned-messages-content {
222
+ --tw-border-opacity: 1;
223
+ border-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));
208
224
  --tw-bg-opacity: 1;
209
- background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));
225
+ background-color: rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));
226
+ position: absolute;
227
+ left: var(--rtk-space-0, 0px);
228
+ top: 100%;
229
+ z-index: 50;
230
+ width: 100%;
210
231
  }
211
232
 
212
- .pinned-messages-header.active {
213
- --tw-bg-opacity: 1;
214
- background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));
233
+ .pinned-message {
234
+ display: flex;
235
+ cursor: pointer;
236
+ flex-direction: row;
237
+ align-items: center;
238
+ gap: var(--rtk-space-2, 8px);
239
+ --tw-border-opacity: 1;
240
+ border-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));
241
+ padding: var(--rtk-space-4, 16px);
242
+ border-bottom-width: var(--rtk-border-width-sm, 1px);
243
+ border-right-width: var(--rtk-border-width-none, 0);
244
+ border-left-width: var(--rtk-border-width-none, 0);
245
+ border-top-width: var(--rtk-border-width-none, 0);
246
+ border-style: solid;
247
+ }
248
+
249
+ .pinned-message-avatar {
250
+ height: var(--rtk-space-6, 24px) !important;
251
+ width: var(--rtk-space-6, 24px) !important;
215
252
  }
216
253
 
217
254
  @keyframes swipe-in {
@@ -302,13 +302,25 @@ export class RtkChat {
302
302
  };
303
303
  return [everyone, ...participants];
304
304
  };
305
- this.onTogglePinnedMessages = () => {
306
- this.showPinnedMessages = !this.showPinnedMessages;
305
+ this.getPinnedMessageLabel = (message) => {
306
+ if (message.type === 'text')
307
+ return message.message;
308
+ if (message.type === 'image')
309
+ return 'Image';
310
+ if (message.type === 'file')
311
+ return 'File';
312
+ return '';
307
313
  };
308
314
  this.renderPinnedMessagesHeader = () => {
309
315
  if (this.meeting.chat.pinned.length === 0)
310
316
  return null;
311
- return (h("rtk-tooltip", { label: this.t('chat.toggle_pinned_msgs') }, h("div", { class: { 'pinned-messages-header': true, active: this.showPinnedMessages }, onClick: this.onTogglePinnedMessages }, h("rtk-icon", { icon: this.iconPack.pin }), this.t('chat.pinned_msgs'), ` (${this.meeting.chat.pinned.length})`)));
317
+ /**
318
+ * We do not display a picture against the avatar because the chatMessage API does not provide it.
319
+ */
320
+ return (h("div", { class: "pinned-messages" }, h("div", { class: "pinned-messages-header", onClick: () => (this.showPinnedMessages = !this.showPinnedMessages) }, h("div", null, h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }), this.t('chat.pinned_msgs'), ` (${this.meeting.chat.pinned.length})`), h("rtk-icon", { icon: this.showPinnedMessages ? this.iconPack.chevron_up : this.iconPack.chevron_down, size: "sm" })), this.showPinnedMessages && (h("div", { class: "pinned-messages-content" }, this.meeting.chat.pinned.map((message) => {
321
+ const label = this.getPinnedMessageLabel(message);
322
+ return (h("div", { class: "pinned-message" }, h("rtk-avatar", { class: "pinned-message-avatar", participant: { name: message.displayName, picture: '' }, size: "sm" }), h("span", null, label.length > 20 ? `${label.substring(0, 20)}...` : label)));
323
+ })))));
312
324
  };
313
325
  }
314
326
  connectedCallback() {
@@ -462,10 +474,6 @@ export class RtkChat {
462
474
  if (!this.meeting) {
463
475
  return null;
464
476
  }
465
- let chatMessages = this.chatGroups[this.selectedGroup] || [];
466
- if (this.showPinnedMessages && this.meeting.chat.pinned.length !== 0) {
467
- chatMessages = chatMessages.filter((chat) => chat.type === 'chat' && chat.message.pinned);
468
- }
469
477
  return (h(Host, null, h("div", { class: "chat-container" }, h("div", { class: "chat" }, this.isFileMessagingAllowed() && (h("div", { id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { icon: this.iconPack.attach }), h("p", null, this.t('chat.send_attachment')))), this.renderPinnedMessagesHeader(), this.isPrivateChatSupported() && (h("rtk-channel-selector-view", { channels: this.getPrivateChatRecipients(), selectedChannelId: ((_a = this.selectedParticipant) === null || _a === void 0 ? void 0 : _a.userId) || 'everyone', onChannelChange: this.updateRecipients, t: this.t, viewAs: "dropdown" })), h("rtk-chat-messages-ui-paginated", { meeting: this.meeting, onPinMessage: this.onPinMessage, onDeleteMessage: this.onDeleteMessage, size: this.size, iconPack: this.iconPack, t: this.t }), this.renderComposerUI()))));
470
478
  }
471
479
  static get is() { return "rtk-chat"; }
@@ -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"; }
@@ -121,9 +121,9 @@ export class RtkChatMessagesUiPaginated {
121
121
  }
122
122
  const isSelf = message.userId === this.meeting.self.userId;
123
123
  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: () => {
124
+ return (h("div", null, h("div", { class: "message-wrapper" }, h("rtk-message-view", { pinned: message.pinned, 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
125
  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" }))))))));
126
+ } }))))))));
127
127
  };
128
128
  this.chatUpdateListener = (data) => {
129
129
  if (this.selectedChannelId && data.message.channelId !== this.selectedChannelId)
@@ -169,7 +169,7 @@ export class RtkChatMessagesUiPaginated {
169
169
  this.lastReadMessageIndex = -1;
170
170
  }
171
171
  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' }))));
172
+ return (h(Host, { key: '012b7189dfbdccfd8017cc9023263e6a7e9afd44' }, h("rtk-paginated-list", { key: '0ea37ee880fda0acdd7460b6da5f03e11ac304bf', 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: '53cb197b6d9319f470e87fe73d7ca0d158778e3f' }))));
173
173
  }
174
174
  static get is() { return "rtk-chat-messages-ui-paginated"; }
175
175
  static get encapsulation() { return "shadow"; }
@@ -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 === messages.length && messages.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 = this.pageSize - 1;
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"; }
@@ -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"; }
@@ -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"; }
@@ -34,10 +34,10 @@ export class RtkImageMessage {
34
34
  this.status = 'loading';
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '1267763841d7162f1ad4152a5c4cdd809aaa3808' }, !this.isContinued && (h(ChatHead, { key: '9b415f65f456f8624cd4f981d7f8ae191772a3ce', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '38ea5e45140f543ae6d16d2d00b0bf0c9a671910', class: {
37
+ return (h(Host, { key: '4d83696c62cb30b3c50201c054aed059f9d087fb' }, !this.isContinued && (h(ChatHead, { key: 'b1f8ca2684e487f9f51106562af2fb7bb7d0ae5e', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '0ffd97ca74224fb7e464b5bbde3d79c8b11c6105', class: {
38
38
  body: true,
39
39
  bubble: this.showBubble,
40
- }, part: "body" }, h("div", { key: '3c842144038f9612fc46c3f5d18f87342f8376c4', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: '39b2978696328d6ed6ac3bbbdc83a57fc7fa7d88', src: sanitizeLink(this.message.link), onLoad: () => {
40
+ }, part: "body" }, h("div", { key: 'de64e6fff4b952e08eea1895f6b02ce6de7ea528', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'fae1d0126e403da11c8d4aeb036ad29484af2bf6', src: sanitizeLink(this.message.link), onLoad: () => {
41
41
  this.status = 'loaded';
42
42
  }, onError: () => {
43
43
  this.status = 'errored';
@@ -45,9 +45,9 @@ export class RtkImageMessage {
45
45
  if (this.status === 'loaded') {
46
46
  this.stateUpdate.emit({ image: this.message });
47
47
  }
48
- } }), this.status === 'loading' && (h("div", { key: 'd83ca52f9330ddef301be3d4a84b663f91864ea3', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: '6333ce5847ecd62793d5777a886a3a1a33641fab', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: 'e4063e68ad477069d8acaa03d0dd1c692f82c76f', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: '010562aee164fdb63e45da4c0eaa29ad1cbdf66c', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: '14773362280e9dd167db61e58b3f729e0a86d88d', class: "actions" }, h("rtk-button", { key: '8e0cd659fd47074729fa3e63897e3e8eab3193a3', class: "action", variant: "secondary", kind: "icon", onClick: () => {
48
+ } }), this.status === 'loading' && (h("div", { key: 'b5e4c17c94f065f06a513d8601564ca6512d38a9', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: '4819886ed836fc94d35b48fd2f185bed2f142db6', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: '7d2381426f1867524b59963d025ed6728d0bee34', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: 'abe064f6b5ecf9740611362c8c836a1fcf886223', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: '863b9db15ee68f5bd5939b70f7b24f215b250a19', class: "actions" }, h("rtk-button", { key: '6b9d6e415a485fbbe8844a38a3b2d2401aa7ad22', class: "action", variant: "secondary", kind: "icon", onClick: () => {
49
49
  this.stateUpdate.emit({ image: this.message });
50
- } }, h("rtk-icon", { key: '9db76d4971f2b6b45d87b6015b7ef449fa46ba85', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: '978934fd136ab2c364521ec55d25e578940e5c7c', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.message.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: '55be50aff54309a76e5348f437805e2872bcf548', icon: this.iconPack.download }))))))));
50
+ } }, h("rtk-icon", { key: 'a40d297b50b7667b08b9a5d08223b7326c3314be', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: 'cb344d52dbcc0c6a55da8017b5664b8a160dd339', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.message.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: 'e4a5cee14a5fae2496930dbbdaa3199a6b2d9b6b', icon: this.iconPack.download }))))))));
51
51
  }
52
52
  static get is() { return "rtk-image-message"; }
53
53
  static get originalStyleUrls() {
@@ -25,7 +25,7 @@ export class RtkImageMessageView {
25
25
  this.status = 'loading';
26
26
  }
27
27
  render() {
28
- return (h("div", { key: '47b2dd8f8dfc0d2aa20e80b513f802e1ebc09153', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'fba4cfc015beb86040ec74b2a44e2163744a67c6', src: sanitizeLink(this.url), onLoad: () => {
28
+ return (h("div", { key: '066606e6ae62634b2466bb46b453e0c2d91b17ea', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'f042e5d3c1a6341e9fc0845e6643016f1be5b5f7', src: sanitizeLink(this.url), onLoad: () => {
29
29
  this.status = 'loaded';
30
30
  }, onError: () => {
31
31
  this.status = 'errored';
@@ -33,9 +33,9 @@ export class RtkImageMessageView {
33
33
  if (this.status === 'loaded') {
34
34
  this.onPreview.emit(this.url);
35
35
  }
36
- } }), this.status === 'loading' && (h("div", { key: '4da0a3ab39d782e9affe7702a19232747bb4581c', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: 'dea7afe2c92dd5c7c71620bc7b9089f743ef1aa2', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: 'ab303ce11b7182d20c64b00638a1c8be59aea774', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: 'e14eb63cc4b2d18a5abd921e25ef305095f61c17', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: 'ccceaa5cc5821ce9b4ddab742001cee78135636a', class: "actions" }, h("rtk-button", { key: 'de49516247d9655cc74afcd58bc50771e2594dca', class: "action", variant: "secondary", kind: "icon", onClick: () => {
36
+ } }), this.status === 'loading' && (h("div", { key: 'd4a5030468fbf70afae62bd55ae4d0fa989e15c2', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: '216aba361a46cc100e7d26cc2daf1ffb0948d695', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: '01f5da8f70872c9fa22dc9a9b70b046b0001d05b', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: '0f7e6fed2730f6366d07fc6afddb2b247e9b7d3a', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: '5ac0e61c65a88a8d6b9ee54c900b856854d1b84b', class: "actions" }, h("rtk-button", { key: 'fd83dfecd7b5d9c3976374c3c55731b1f026fc0a', class: "action", variant: "secondary", kind: "icon", onClick: () => {
37
37
  this.onPreview.emit(this.url);
38
- } }, h("rtk-icon", { key: 'bd1ea608e4846d994a418236dca7856570bd689d', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: '266a860a4ab4d6cf76bd89bb35c987efbc89a593', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.url, { fallbackName: 'image' }) }, h("rtk-icon", { key: 'ec26862ff95e116d519280c7e62ed7a7e1ede273', icon: this.iconPack.download }))))));
38
+ } }, h("rtk-icon", { key: '3ca7384fa28e6716345acacf9225ae9471ff8d63', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: '198787808c389e4df48d3609a53c2d27cf2e7fb3', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.url, { fallbackName: 'image' }) }, h("rtk-icon", { key: 'f38fe3da48d1fc854001c719164c95f0673808c5', icon: this.iconPack.download }))))));
39
39
  }
40
40
  static get is() { return "rtk-image-message-view"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -39,7 +39,7 @@ export class RtkImageViewer {
39
39
  document.removeEventListener('click', this.handleOutsideClick);
40
40
  }
41
41
  render() {
42
- return (h(Host, { key: '6e6e27bf5529ef5af5b0b7f02c0fcda77dba492c', class: "scrollbar", onClick: (e) => e.stopPropagation() }, h("div", { key: '53b1df2b76fb58d37154f246c09c38f17c4ac6b3', class: "header" }, h("div", { key: 'e5707219faa115dfccd330643d022c90abdcfc5b', class: "shared-by-user" }, this.t('chat.img.shared_by'), ' ', h("span", { key: '8387ffa67b78746a8d94f130ff23241313b5c1d8', class: "displayName" }, formatName(shorten(this.image.displayName)))), h("div", { key: 'cd70a8a95e264a533d2d093e4d32df49dfc3f2c7', class: "actions" }, h("rtk-button", { key: '404da530999c81a7754c07ed48ffb73eb8f915e3', onClick: () => downloadFile(this.image.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: '5d7806419e55072fcfb8735229cef5b9b0816669', icon: this.iconPack.download, slot: "start" }), "Download"), h("rtk-button", { key: '6ac87cb0172f319706d8e8d4591a76d3fa60a2b9', kind: "icon", variant: "secondary", onClick: () => this.close.emit() }, h("rtk-icon", { key: 'd25982c4b4f3c422df8187782a762b12fffb76df', icon: this.iconPack.dismiss })))), h("div", { key: '968d31b08e5113419bbdc63c3887a8537d198284', class: "image-ctr" }, h("img", { key: 'a806265d98e09094dd267afc3dc6018f6cf692c4', src: this.image.link }))));
42
+ return (h(Host, { key: 'd3d145c8bd304fbe0e9420e7746ea15872772f3b', class: "scrollbar", onClick: (e) => e.stopPropagation() }, h("div", { key: '3f9ceed6d177439c39438dbb6ac60d08d630bf0e', class: "header" }, h("div", { key: '3944264dcf9903e55b544bda02dfa8d6643ba3ff', class: "shared-by-user" }, this.t('chat.img.shared_by'), ' ', h("span", { key: '540b69c4f1abdd437a003fa4ba9c9ddf8aa71dd8', class: "displayName" }, formatName(shorten(this.image.displayName)))), h("div", { key: 'ed632e11bcdf8fa46a2c1bd0f6b02884ee635b5a', class: "actions" }, h("rtk-button", { key: '677ef4df0f7235a27c925b1e742a61222c90049f', onClick: () => downloadFile(this.image.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: '2479f3a5e2f9eff5359d377625d06337b2023e8c', icon: this.iconPack.download, slot: "start" }), "Download"), h("rtk-button", { key: '6ff009deb6e385481254e9fa6a7ae30f1676cff0', kind: "icon", variant: "secondary", onClick: () => this.close.emit() }, h("rtk-icon", { key: '6ad51918f8e76980f61c02c10b9a2cccfe5a2a7f', icon: this.iconPack.dismiss })))), h("div", { key: '5fd522972d26d9b4815ffe37d2d418b784e751ae', class: "image-ctr" }, h("img", { key: 'a45df563ecdf79e020e3269f6fd055aee27cfab0', src: this.image.link }))));
43
43
  }
44
44
  static get is() { return "rtk-image-viewer"; }
45
45
  static get encapsulation() { return "shadow"; }