@cloudflare/realtimekit-ui 1.0.0-staging.8 → 1.0.0-staging.9

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 (231) 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-audio-visualizer_4.cjs.entry.js +1 -1
  5. package/dist/cjs/rtk-avatar_54.cjs.entry.js +23 -13
  6. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
  7. package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
  8. package/dist/cjs/rtk-participant_2.cjs.entry.js +2 -2
  9. package/dist/cjs/rtk-participants-audio.cjs.entry.js +1 -1
  10. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +1 -1
  11. package/dist/cjs/rtk-plugins_2.cjs.entry.js +4 -4
  12. package/dist/cjs/rtk-poll_2.cjs.entry.js +3 -3
  13. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +1 -1
  14. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +5 -5
  15. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +1 -1
  16. package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
  17. package/dist/cjs/rtk-simple-grid.cjs.entry.js +1 -1
  18. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  19. package/dist/cjs/rtk-stage.cjs.entry.js +1 -1
  20. package/dist/cjs/rtk-transcript.cjs.entry.js +1 -1
  21. package/dist/cjs/rtk-ui-provider.cjs.entry.js +1 -1
  22. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +1 -1
  23. package/dist/collection/components/rtk-notification/rtk-notification.css +26 -18
  24. package/dist/collection/components/rtk-notification/rtk-notification.js +34 -4
  25. package/dist/collection/components/rtk-notifications/rtk-notifications.js +4 -2
  26. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
  27. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
  28. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +2 -2
  29. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
  30. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
  31. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
  32. package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
  33. package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
  34. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
  35. package/dist/collection/components/rtk-polls/rtk-polls.js +3 -3
  36. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
  37. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
  38. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
  39. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +2 -2
  40. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
  41. package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
  42. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +2 -2
  43. package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
  44. package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
  45. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
  46. package/dist/collection/components/rtk-text-message/rtk-text-message.js +2 -2
  47. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
  48. package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
  49. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
  50. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
  51. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
  52. package/dist/components/{p-8ca1fe4c.js → p-0c4a1808.js} +4 -4
  53. package/dist/components/{p-54c8b684.js → p-0c94b402.js} +6 -6
  54. package/dist/components/{p-caf8596c.js → p-1a546cf4.js} +5 -3
  55. package/dist/components/{p-78444f97.js → p-24e9b37b.js} +2 -2
  56. package/dist/components/{p-e99f574d.js → p-25770e4e.js} +8 -8
  57. package/dist/components/{p-0c81aa9c.js → p-28f65402.js} +3 -3
  58. package/dist/components/{p-664f872d.js → p-2ecf028f.js} +2 -2
  59. package/dist/components/{p-2973e211.js → p-31a1dc4d.js} +2 -2
  60. package/dist/components/{p-cd66e89b.js → p-406292be.js} +2 -2
  61. package/dist/components/{p-594ed925.js → p-4096426e.js} +1 -1
  62. package/dist/components/{p-00b13124.js → p-4880c342.js} +6 -6
  63. package/dist/components/{p-a478e070.js → p-4e3d7f9d.js} +1 -1
  64. package/dist/components/{p-8227dcd2.js → p-55598b38.js} +1 -1
  65. package/dist/components/{p-db1e56e8.js → p-563bc723.js} +5 -5
  66. package/dist/components/{p-0e13b6ee.js → p-59fb6900.js} +2 -2
  67. package/dist/components/{p-8ca0d44f.js → p-606ca241.js} +2 -2
  68. package/dist/components/{p-d3ca55ba.js → p-68b6f23b.js} +1 -1
  69. package/dist/components/{p-dc23e204.js → p-6acaa07e.js} +1 -1
  70. package/dist/components/{p-0f937441.js → p-71e0f6f2.js} +1 -1
  71. package/dist/components/{p-91cb38a3.js → p-734a10e4.js} +1 -1
  72. package/dist/components/{p-13bf25de.js → p-7a7d1710.js} +2 -2
  73. package/dist/components/{p-eeea40dd.js → p-80bef3b5.js} +2 -2
  74. package/dist/components/{p-1947c106.js → p-81f4e985.js} +1 -1
  75. package/dist/components/{p-4ba64e96.js → p-898da6ae.js} +5 -5
  76. package/dist/components/{p-14aafb1d.js → p-922f201f.js} +1 -1
  77. package/dist/components/{p-7373cc7e.js → p-9c17c7ce.js} +1 -1
  78. package/dist/components/{p-87f1e5db.js → p-9cace38c.js} +3 -3
  79. package/dist/components/{p-7d26c3e0.js → p-9cfe5c7c.js} +1 -1
  80. package/dist/components/{p-619a7896.js → p-9da5b9d0.js} +2 -2
  81. package/dist/components/{p-c00de10a.js → p-aa9ee9a5.js} +2 -2
  82. package/dist/components/{p-99b862b5.js → p-ab87c5be.js} +2 -2
  83. package/dist/components/{p-d262b31f.js → p-b373da43.js} +2 -2
  84. package/dist/components/{p-168b17a0.js → p-bcb91396.js} +1 -1
  85. package/dist/components/{p-f682505d.js → p-c2723ebb.js} +4 -4
  86. package/dist/components/{p-66ff4a1a.js → p-c27c353f.js} +1 -1
  87. package/dist/components/{p-00649ab8.js → p-c939f92d.js} +2 -2
  88. package/dist/components/{p-4c4025de.js → p-ddf6148a.js} +1 -1
  89. package/dist/components/{p-3dbc09e4.js → p-e3ffbf6c.js} +1 -1
  90. package/dist/components/{p-2ce92a24.js → p-e4241aa9.js} +3 -3
  91. package/dist/components/{p-4221b28d.js → p-e542eda6.js} +2 -2
  92. package/dist/components/{p-1bf54ab3.js → p-eb10c563.js} +4 -4
  93. package/dist/components/{p-2f7c0530.js → p-eca2ab2e.js} +27 -27
  94. package/dist/components/{p-20354866.js → p-ece96324.js} +16 -5
  95. package/dist/components/{p-8ceedb7f.js → p-f0dfdfea.js} +1 -1
  96. package/dist/components/{p-56586bc8.js → p-f33bb583.js} +4 -4
  97. package/dist/components/{p-d71db36f.js → p-f6046472.js} +2 -2
  98. package/dist/components/rtk-ai-toggle.js +2 -2
  99. package/dist/components/rtk-audio-tile.js +2 -2
  100. package/dist/components/rtk-avatar.js +1 -1
  101. package/dist/components/rtk-breakout-room-manager.js +1 -1
  102. package/dist/components/rtk-breakout-room-participants.js +1 -1
  103. package/dist/components/rtk-breakout-rooms-manager.js +1 -1
  104. package/dist/components/rtk-breakout-rooms-toggle.js +2 -2
  105. package/dist/components/rtk-camera-toggle.js +2 -2
  106. package/dist/components/rtk-caption-toggle.js +2 -2
  107. package/dist/components/rtk-channel-creator.js +1 -1
  108. package/dist/components/rtk-channel-details.js +1 -1
  109. package/dist/components/rtk-channel-header.js +1 -1
  110. package/dist/components/rtk-channel-selector-ui.js +2 -2
  111. package/dist/components/rtk-channel-selector-view.js +1 -1
  112. package/dist/components/rtk-chat-composer-ui.js +3 -3
  113. package/dist/components/rtk-chat-composer-view.js +1 -1
  114. package/dist/components/rtk-chat-message.js +1 -1
  115. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  116. package/dist/components/rtk-chat-messages-ui.js +1 -1
  117. package/dist/components/rtk-chat-search-results.js +1 -1
  118. package/dist/components/rtk-chat-toggle.js +2 -2
  119. package/dist/components/rtk-chat.js +1 -1
  120. package/dist/components/rtk-controlbar-button.js +1 -1
  121. package/dist/components/rtk-debugger-toggle.js +2 -2
  122. package/dist/components/rtk-dialog-manager.js +1 -1
  123. package/dist/components/rtk-emoji-picker.js +1 -1
  124. package/dist/components/rtk-fullscreen-toggle.js +1 -1
  125. package/dist/components/rtk-grid.js +4 -4
  126. package/dist/components/rtk-idle-screen.js +1 -1
  127. package/dist/components/rtk-image-message-view.js +1 -1
  128. package/dist/components/rtk-image-message.js +1 -1
  129. package/dist/components/rtk-leave-button.js +2 -2
  130. package/dist/components/rtk-livestream-player.js +1 -1
  131. package/dist/components/rtk-livestream-toggle.js +2 -2
  132. package/dist/components/rtk-meeting.js +28 -28
  133. package/dist/components/rtk-message-list-view.js +1 -1
  134. package/dist/components/rtk-message-view.js +1 -1
  135. package/dist/components/rtk-mic-toggle.js +2 -2
  136. package/dist/components/rtk-more-toggle.js +2 -2
  137. package/dist/components/rtk-mute-all-button.js +2 -2
  138. package/dist/components/rtk-notification.js +1 -1
  139. package/dist/components/rtk-notifications.js +1 -1
  140. package/dist/components/rtk-overlay-modal.js +1 -1
  141. package/dist/components/rtk-paginated-list.js +1 -1
  142. package/dist/components/rtk-participant-setup.js +2 -2
  143. package/dist/components/rtk-participant-tile.js +1 -1
  144. package/dist/components/rtk-participant.js +1 -1
  145. package/dist/components/rtk-participants-audio.js +1 -1
  146. package/dist/components/rtk-participants-stage-list.js +1 -1
  147. package/dist/components/rtk-participants-stage-queue.js +1 -1
  148. package/dist/components/rtk-participants-toggle.js +2 -2
  149. package/dist/components/rtk-participants-viewer-list.js +1 -1
  150. package/dist/components/rtk-participants-waiting-list.js +1 -1
  151. package/dist/components/rtk-participants.js +8 -8
  152. package/dist/components/rtk-permissions-message.js +1 -1
  153. package/dist/components/rtk-pip-toggle.js +2 -2
  154. package/dist/components/rtk-plugins-toggle.js +2 -2
  155. package/dist/components/rtk-plugins.js +1 -1
  156. package/dist/components/rtk-poll-form.js +1 -1
  157. package/dist/components/rtk-poll.js +1 -1
  158. package/dist/components/rtk-polls-toggle.js +2 -2
  159. package/dist/components/rtk-polls.js +1 -1
  160. package/dist/components/rtk-recording-indicator.js +1 -1
  161. package/dist/components/rtk-recording-toggle.js +2 -2
  162. package/dist/components/rtk-screen-share-toggle.js +2 -2
  163. package/dist/components/rtk-screenshare-view.js +5 -5
  164. package/dist/components/rtk-settings-audio.js +1 -1
  165. package/dist/components/rtk-settings-toggle.js +3 -3
  166. package/dist/components/rtk-settings-video.js +1 -1
  167. package/dist/components/rtk-settings.js +4 -4
  168. package/dist/components/rtk-setup-screen.js +3 -3
  169. package/dist/components/rtk-sidebar.js +4 -4
  170. package/dist/components/rtk-simple-grid.js +1 -1
  171. package/dist/components/rtk-spinner.js +1 -1
  172. package/dist/components/rtk-spotlight-grid.js +2 -2
  173. package/dist/components/rtk-stage-toggle.js +2 -2
  174. package/dist/components/rtk-stage.js +1 -1
  175. package/dist/components/rtk-switch.js +1 -1
  176. package/dist/components/rtk-text-composer-view.js +1 -1
  177. package/dist/components/rtk-text-message-view.js +1 -1
  178. package/dist/components/rtk-text-message.js +1 -1
  179. package/dist/components/rtk-transcript.js +1 -1
  180. package/dist/components/rtk-transcripts.js +1 -1
  181. package/dist/components/rtk-ui-provider.js +1 -1
  182. package/dist/components/rtk-virtualized-participant-list.js +1 -1
  183. package/dist/components/rtk-waiting-screen.js +1 -1
  184. package/dist/docs/docs-components.json +24 -1
  185. package/dist/docs/docs-vscode.json +4 -0
  186. package/dist/esm/loader.js +56 -46
  187. package/dist/esm/realtimekit-ui.js +1 -1
  188. package/dist/esm/rtk-audio-visualizer_4.entry.js +1 -1
  189. package/dist/esm/rtk-avatar_54.entry.js +23 -13
  190. package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
  191. package/dist/esm/rtk-participant-setup.entry.js +2 -2
  192. package/dist/esm/rtk-participant_2.entry.js +2 -2
  193. package/dist/esm/rtk-participants-audio.entry.js +1 -1
  194. package/dist/esm/rtk-participants-stage-list_4.entry.js +1 -1
  195. package/dist/esm/rtk-plugins_2.entry.js +4 -4
  196. package/dist/esm/rtk-poll_2.entry.js +3 -3
  197. package/dist/esm/rtk-recording-indicator.entry.js +1 -1
  198. package/dist/esm/rtk-screenshare-view.entry.js +5 -5
  199. package/dist/esm/rtk-settings-toggle.entry.js +1 -1
  200. package/dist/esm/rtk-setup-screen.entry.js +2 -2
  201. package/dist/esm/rtk-simple-grid.entry.js +1 -1
  202. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  203. package/dist/esm/rtk-stage.entry.js +1 -1
  204. package/dist/esm/rtk-transcript.entry.js +1 -1
  205. package/dist/esm/rtk-ui-provider.entry.js +1 -1
  206. package/dist/esm/rtk-waiting-screen.entry.js +1 -1
  207. package/dist/realtimekit-ui/{p-0d071b0c.entry.js → p-0e777b3f.entry.js} +1 -1
  208. package/dist/realtimekit-ui/{p-25c7522f.entry.js → p-18fdb6bb.entry.js} +1 -1
  209. package/dist/realtimekit-ui/{p-9ca13287.entry.js → p-235b7aa8.entry.js} +1 -1
  210. package/dist/realtimekit-ui/{p-5584d146.entry.js → p-2bfa32da.entry.js} +1 -1
  211. package/dist/realtimekit-ui/{p-dd9b1b30.entry.js → p-4f2ec64b.entry.js} +1 -1
  212. package/dist/realtimekit-ui/{p-4dc84daa.entry.js → p-5325b5e5.entry.js} +1 -1
  213. package/dist/realtimekit-ui/{p-050469f0.entry.js → p-55040827.entry.js} +1 -1
  214. package/dist/realtimekit-ui/{p-3d312beb.entry.js → p-61c38e05.entry.js} +1 -1
  215. package/dist/realtimekit-ui/{p-7af0573f.entry.js → p-621a7265.entry.js} +1 -1
  216. package/dist/realtimekit-ui/{p-3611c234.entry.js → p-73bc3abd.entry.js} +1 -1
  217. package/dist/realtimekit-ui/{p-80a02bba.entry.js → p-7c1a2584.entry.js} +1 -1
  218. package/dist/realtimekit-ui/{p-fc704ef3.entry.js → p-950454b7.entry.js} +1 -1
  219. package/dist/realtimekit-ui/{p-fb67b669.entry.js → p-ac91f9f9.entry.js} +1 -1
  220. package/dist/realtimekit-ui/{p-373ea59c.entry.js → p-b80f1bed.entry.js} +1 -1
  221. package/dist/realtimekit-ui/{p-f5ad8c8f.entry.js → p-c6f7cd03.entry.js} +1 -1
  222. package/dist/realtimekit-ui/{p-e1091812.entry.js → p-c8f8b690.entry.js} +1 -1
  223. package/dist/realtimekit-ui/p-d9e81b11.entry.js +1 -0
  224. package/dist/realtimekit-ui/{p-d1e6d6c4.entry.js → p-e80cf367.entry.js} +1 -1
  225. package/dist/realtimekit-ui/{p-4211ad5e.entry.js → p-f7c6931d.entry.js} +1 -1
  226. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  227. package/dist/types/components/rtk-notification/rtk-notification.d.ts +4 -0
  228. package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +1 -0
  229. package/dist/types/components.d.ts +8 -0
  230. package/package.json +1 -1
  231. package/dist/realtimekit-ui/p-c7f14fd0.entry.js +0 -1
@@ -30,18 +30,26 @@ export class RtkNotification {
30
30
  connectedCallback() {
31
31
  this.notificationChanged(this.notification);
32
32
  }
33
+ pausedChanged(paused) {
34
+ if (paused) {
35
+ clearTimeout(this.timeout);
36
+ }
37
+ else {
38
+ this.notificationChanged(this.notification);
39
+ }
40
+ }
33
41
  notificationChanged(notification) {
34
- if (notification != null && typeof notification.duration === 'number') {
35
- setTimeout(() => {
42
+ if (notification != null && typeof notification.duration === 'number' && !this.paused) {
43
+ this.timeout = window.setTimeout(() => {
36
44
  this.dismiss.emit(notification.id);
37
45
  }, notification.duration);
38
46
  }
39
47
  }
40
48
  render() {
41
49
  var _a;
42
- return (h(Host, { key: '97c09930a40443d2f0468ffc3623f197d04d3c62' }, h("div", { key: '099c921e90353f5965af50ef6019282d063692e9', class: "ctr" }, this.notification.icon != null && (h("rtk-icon", { key: '31502f1200bb0a7b8f059ee2916e79fc446cb73e', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
50
+ return (h(Host, { key: 'b6a7ede34064bcc25040589cd09b00a5e5a5cf8a' }, h("div", { key: '42608dc49ec59c0c54be513e59b81627f0ecb11c', class: "ctr" }, this.notification.icon != null && (h("rtk-icon", { key: '263c38129622549c8df1900d8905f52ee29cff8a', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
43
51
  this.notification.icon == null &&
44
- this.imageState !== 'errored' && (h("img", { key: 'e2388975b8bea497a9d982037028bc7a269ab1fd', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: '252ae9de49d3cc8faf23dee76d9add01fd1c1958', class: "message" }, h(TextMessageView, { key: '07b7dc12a9678647a331a0755a1faee6fddc7c31', message: this.notification.message })), h("div", { key: '8609f56cf258e8c6fb3eb2507d66da83e1e04267', class: "right" }, this.notification.button != null && (h("rtk-button", { key: 'b2a250ca6f0b7460f1dae4d35dab0aa7e57f6ecb', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("rtk-icon", { key: 'bbb1d1b15f3f58b6ed40a6339cf554e9870313d2', "aria-label": this.t('dismiss'), class: "dismiss", icon: this.iconPack.dismiss, onClick: () => this.dismiss.emit(this.notification.id) })))));
52
+ this.imageState !== 'errored' && (h("img", { key: '0e8d7812bd8b58ce0efe3edff6ae7346cbcd0fd4', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: 'f28ec5ff1a3902817d5501ea2324371defc8995a', class: "message" }, h(TextMessageView, { key: '7f7b179a67d125585ed70112fcb2a1925c3bae52', message: this.notification.message })), h("div", { key: '2ba60b2b60ddbc43d207adc86e0a975f3c432f70', class: "right" }, this.notification.button != null && (h("rtk-button", { key: '2f4871b0ee2871cbccb016e4451e28c424fe14ce', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("button", { key: '1786dac10dbc2ca9aabad707354ce16fe1af9bc8', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, h("rtk-icon", { key: 'b11c47705af86c38bd6488ecb6998aad62099396', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
45
53
  }
46
54
  static get is() { return "rtk-notification"; }
47
55
  static get encapsulation() { return "shadow"; }
@@ -80,6 +88,25 @@ export class RtkNotification {
80
88
  "getter": false,
81
89
  "setter": false
82
90
  },
91
+ "paused": {
92
+ "type": "boolean",
93
+ "mutable": false,
94
+ "complexType": {
95
+ "original": "boolean",
96
+ "resolved": "boolean",
97
+ "references": {}
98
+ },
99
+ "required": false,
100
+ "optional": false,
101
+ "docs": {
102
+ "tags": [],
103
+ "text": "Stops timeout when true"
104
+ },
105
+ "getter": false,
106
+ "setter": false,
107
+ "attribute": "paused",
108
+ "reflect": false
109
+ },
83
110
  "size": {
84
111
  "type": "string",
85
112
  "mutable": false,
@@ -180,6 +207,9 @@ export class RtkNotification {
180
207
  }
181
208
  static get watchers() {
182
209
  return [{
210
+ "propName": "paused",
211
+ "methodName": "pausedChanged"
212
+ }, {
183
213
  "propName": "notification",
184
214
  "methodName": "notificationChanged"
185
215
  }];
@@ -86,6 +86,7 @@ export class RtkNotifications {
86
86
  });
87
87
  }
88
88
  };
89
+ this.paused = false;
89
90
  }
90
91
  connectedCallback() {
91
92
  if (typeof document !== 'undefined') {
@@ -522,7 +523,7 @@ export class RtkNotifications {
522
523
  this.meeting.self.permissions.acceptWaitingRequests);
523
524
  }
524
525
  render() {
525
- return (h(Host, { key: '5e997428b873dd19471cec88927d4e0f86a74e6e' }, this.notifications.map((notification) => (h("rtk-notification", { size: this.size, key: notification.id, "data-id": notification.id, notification: notification, onRtkNotificationDismiss: (e) => this.handleDismiss(e), iconPack: this.iconPack, t: this.t })))));
526
+ return (h(Host, { key: '906188de5f85fcdb91e7bbd9fc44c60f722ec231' }, h("div", { key: '971924ad071ffa9525984eac3f11e929d10ec8a2', onMouseEnter: () => (this.paused = true), onFocusin: () => (this.paused = true), onMouseLeave: () => (this.paused = false), onFocusout: () => (this.paused = false) }, this.notifications.map((notification) => (h("rtk-notification", { size: this.size, key: notification.id, "data-id": notification.id, notification: notification, onRtkNotificationDismiss: (e) => this.handleDismiss(e), iconPack: this.iconPack, paused: this.paused, t: this.t }))))));
526
527
  }
527
528
  static get is() { return "rtk-notifications"; }
528
529
  static get encapsulation() { return "shadow"; }
@@ -685,7 +686,8 @@ export class RtkNotifications {
685
686
  }
686
687
  static get states() {
687
688
  return {
688
- "notifications": {}
689
+ "notifications": {},
690
+ "paused": {}
689
691
  };
690
692
  }
691
693
  static get elementRef() { return "host"; }
@@ -30,7 +30,7 @@ export class RtkOverlayModal {
30
30
  }
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '2c47006c013e278d9b65448f39e946458ba54158' }, h("rtk-icon", { key: 'daaa50fe0045a549f114d13c30059b79afaf4941', icon: this.states.activeOverlayModal.icon }), h("h2", { key: 'b75c58c750cad4dd10e80e7c1bb9ab2a6635cc64' }, this.states.activeOverlayModal.title), h("p", { key: '73f461f178f1924205cb9bed3e1605e358ce8c9f' }, this.states.activeOverlayModal.description)));
33
+ return (h(Host, { key: 'e5bdb94d07093b7b6950c5d389b3cca3c5f0bc22' }, h("rtk-icon", { key: '04dcace07d18e31644bb11215c069eb63ea8dfe6', icon: this.states.activeOverlayModal.icon }), h("h2", { key: '5ca79bee28c169a489a83e53e0911e6187c731f2' }, this.states.activeOverlayModal.title), h("p", { key: 'd4d7e34a08e991709b1931ce22c899dcc624c692' }, this.states.activeOverlayModal.description)));
34
34
  }
35
35
  static get is() { return "rtk-overlay-modal"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -83,11 +83,11 @@ export class RtkParticipantSetup {
83
83
  }
84
84
  render() {
85
85
  var _a, _b, _c, _d;
86
- return (h(Host, { key: 'ce131d63081a18dbb7078a6dd4904d6de8b43664' }, h("video", { key: '8e155c035aaeabc6f74a7ed9b2b0499a2957acc1', ref: (el) => (this.videoEl = el), class: {
86
+ return (h(Host, { key: '69573519e7127835dd9304dcfb507ebbb94e0de8' }, h("video", { key: '75c047e3029721e655016da9a40e2b94770a5234', ref: (el) => (this.videoEl = el), class: {
87
87
  visible: (_a = this.videoState) === null || _a === void 0 ? void 0 : _a.videoEnabled,
88
88
  mirror: this.isMirrored(),
89
89
  [(_d = (_c = (_b = this.config) === null || _b === void 0 ? void 0 : _b.config) === null || _c === void 0 ? void 0 : _c.videoFit) !== null && _d !== void 0 ? _d : 'cover']: true,
90
- }, autoPlay: true, playsInline: true, muted: true }), h("slot", { key: 'e54ce30dea8f970c2e8577eaddeec51aebbe5dcf' })));
90
+ }, autoPlay: true, playsInline: true, muted: true }), h("slot", { key: '3bdccee7fb4e001425249fe832b4bdcb01751306' })));
91
91
  }
92
92
  static get is() { return "rtk-participant-setup"; }
93
93
  static get encapsulation() { return "shadow"; }
@@ -133,10 +133,10 @@ export class RtkParticipantTile {
133
133
  iconPack: this.iconPack,
134
134
  t: this.t,
135
135
  };
136
- return (h(Host, { key: 'd52e6943f39b48e4bbfab588d8cbbb65b345487f' }, h("video", { key: 'ab6f34d99cbfc482a2f4ab217fbcf94376fac8e3', ref: (el) => this.onVideoRef(el), class: {
136
+ return (h(Host, { key: '3e979a21a98a39b061612531ef9bd644d39a983e' }, h("video", { key: '3ba45f4944aafeb8673afc8daa1e15db82ec42b5', ref: (el) => this.onVideoRef(el), class: {
137
137
  mirror: this.isMirrored(),
138
138
  [(_c = (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.config) === null || _b === void 0 ? void 0 : _b.videoFit) !== null && _c !== void 0 ? _c : 'cover']: true,
139
- }, onPlaying: this.onPlaying, onPause: this.onPause, autoPlay: true, playsInline: true, muted: true, part: "video" }), this.isPinned && (h("rtk-icon", { key: 'ec66f88d6381c86e4014012bfba6ea9ba3a05309', class: "pinned-icon", icon: this.iconPack.pin, "aria-label": this.t('pinned'), part: "pinned-icon" })), this.mediaConnectionError && (h("div", { key: '07ab333220bc599319b32860f30735efa303c1cd', class: "network-container", part: "network-indicator" }, h("rtk-icon", { key: 'fcc1a2531916e35926bf3bec25a57f99e057d1f1', class: "network-icon", icon: this.iconPack.disconnected, "aria-label": this.t('pinned'), part: "pinned-icon" }))), h("slot", { key: 'c93ed3a0436b26e949bbbb030d88a87af4e31310' }, h(Render, { key: 'f0e56e1fe05063e2a37f421337ba08ea6dba2c9c', element: "rtk-participant-tile", defaults: defaults, childProps: {
139
+ }, onPlaying: this.onPlaying, onPause: this.onPause, autoPlay: true, playsInline: true, muted: true, part: "video" }), this.isPinned && (h("rtk-icon", { key: '02ca6b139670e6ac3ac16a24248329a4dc09976d', class: "pinned-icon", icon: this.iconPack.pin, "aria-label": this.t('pinned'), part: "pinned-icon" })), this.mediaConnectionError && (h("div", { key: '5bf2f0b14e7d077b3ebd9bec74291bf746fcf6c9', class: "network-container", part: "network-indicator" }, h("rtk-icon", { key: '32ee83f5d08430273ae0bce3424e2e1a3206419a', class: "network-icon", icon: this.iconPack.disconnected, "aria-label": this.t('pinned'), part: "pinned-icon" }))), h("slot", { key: '781a75e98ff649fb94672cb7ce4f176ef0c1c090' }, h(Render, { key: 'b756c2269429153fbab8dd3c79978d0a2d3a153d', element: "rtk-participant-tile", defaults: defaults, childProps: {
140
140
  participant: this.participant,
141
141
  }, deepProps: true, onlyChildren: true }))));
142
142
  }
@@ -126,7 +126,7 @@ export class RtkParticipantsAudio {
126
126
  await this.handleEvents(meeting);
127
127
  }
128
128
  render() {
129
- return (h(Host, { key: '5c1ce4b10a43956964e2382e2434784617990be7' }, this.showPlayDialog && (h("rtk-dialog", { key: '572cd0cbb7e6919318ed412820cbe9bc0204178c', open: true, onRtkDialogClose: this.onRtkDialogClose, hideCloseButton: true, disableEscapeKey: true, iconPack: this.iconPack, t: this.t }, h("div", { key: '3c48ac9420996a4bfc68f80fc982609b7110c5b0', class: "modal" }, h("h3", { key: '20e87e695d0782d55a66401df6bbb6cebc8fe5c6' }, this.t('audio_playback.title')), h("p", { key: '26c2fa6e74d533c543a286559a5b5b8e0450b220' }, this.t('audio_playback.description')), h("rtk-button", { key: '7ac67b115d7ad2db95336c1a1d262ec3378c102d', kind: "wide", onClick: () => {
129
+ return (h(Host, { key: '8f6ac797ceb5f3fa6c8633e72174e9ae91e7979a' }, this.showPlayDialog && (h("rtk-dialog", { key: 'd1f5723dec7d7e9e66625deb9cebce63e26520e1', open: true, onRtkDialogClose: this.onRtkDialogClose, hideCloseButton: true, disableEscapeKey: true, iconPack: this.iconPack, t: this.t }, h("div", { key: 'cd0de80766e3f1c665666f463bf405f44ed8323d', class: "modal" }, h("h3", { key: '098d978b8c3aeba86328e23104fa7e73f12f2296' }, this.t('audio_playback.title')), h("p", { key: '74d242093687ab9734392a8d5357c7a2c5cce8b9' }, this.t('audio_playback.description')), h("rtk-button", { key: '6382f33f9b3907989c5559c49091f2173be708e3', kind: "wide", onClick: () => {
130
130
  this.audio.play();
131
131
  this.onRtkDialogClose();
132
132
  }, title: this.t('audio_playback') }, this.t('audio_playback')))))));
@@ -105,7 +105,7 @@ export class RtkParticipants {
105
105
  }
106
106
  }
107
107
  render() {
108
- return (h(Host, { key: '022a9326d48692397a4b93a58b20b55942542f0d' }, h("div", { key: '292f4e26ddf2b65cecf3658d2d766734fa9fce86', class: "participants-container" }, !this.hideHeader && (h("div", { key: '6990d8f65de89a69ba0af146aa50790d132c676c', class: "heading-count", part: "heading-count" }, this.t('participants'), " (", this.participants.length, ")")), h("rtk-virtualized-participant-list", { key: '195b9d2ce76bba4ad934f4d776e003b3ab191fa3', items: this.participants, renderItem: this.createParticipantNode, part: "participants", class: "participants", emptyListElement: h("div", { class: "empty-stage-list" }, this.search.length > 0 ? this.t('search.could_not_find') : this.t('search.empty')) }))));
108
+ return (h(Host, { key: '54501f9cebd4dee4398cb0161341c72008a1bf22' }, h("div", { key: '9157670e4ed76beb38ad5c6e3405a1707ff8d262', class: "participants-container" }, !this.hideHeader && (h("div", { key: '71d44cb3842d749a19526068700f788727ff5c28', class: "heading-count", part: "heading-count" }, this.t('participants'), " (", this.participants.length, ")")), h("rtk-virtualized-participant-list", { key: '8239db7509da6cc5334b8d860e9954527febacf2', items: this.participants, renderItem: this.createParticipantNode, part: "participants", class: "participants", emptyListElement: h("div", { class: "empty-stage-list" }, this.search.length > 0 ? this.t('search.could_not_find') : this.t('search.empty')) }))));
109
109
  }
110
110
  static get is() { return "rtk-participants-stage-list"; }
111
111
  static get encapsulation() { return "shadow"; }
@@ -161,7 +161,7 @@ export class RtkPermissionsMessage {
161
161
  this.stepsTimer = setTimeout(this.nextStep, 2500);
162
162
  }
163
163
  const showMacDeepLink = isDeniedBySystem && this.meeting.self.device.osName == 'macOS';
164
- return (h(Host, { key: 'c147d4a660955e2dfc9983399c933b0c94167b8e' }, h("h2", { key: '83d6494dcfeb87d4a69e0017f0fc19d02fcd087e' }, h("rtk-icon", { key: 'b91b71bda9a11dcebcd278b9443050175772e436', class: "text-icon", icon: this.iconPack.warning }), this.getTitle()), this.svgSteps.length > 0 && (h("div", { key: 'b2bcc6e71b71435679ae2b601e18d9fe3f15884c', class: 'svg-container' }, this.svgSteps.map((e, index) => (h("p", { innerHTML: e, class: "svg-ins", key: this.currentStep, hidden: index !== this.currentStep }))))), h("div", { key: 'd6459cdc59b262d9aa64ab9327e3586efdc9cf54' }, this.getMessage()), !isDeniedBySystem && (h("a", { key: 'faa7f974bc971f124a89c566a9e1c1ea1ef1f32e', class: "need-help-link", href: this.getLink((_c = (_b = (_a = this.states) === null || _a === void 0 ? void 0 : _a.activePermissionsMessage) === null || _b === void 0 ? void 0 : _b.kind) !== null && _c !== void 0 ? _c : 'audio'), target: "_blank", rel: "noreferrer external noreferrer noopener" }, h("rtk-icon", { key: 'befa0b687af79400e6f22c4f2078a703c2c43a7b', class: "text-icon", icon: this.iconPack.attach }), this.t('cta.help'))), h("div", { key: '3cfcef69f2279d05451b290c0f3ef2dbbab5cfa7', class: "actions" }, h("rtk-button", { key: '5b95ec238665d0417f9c5ddb0b5ff6937adde080', size: "lg", kind: "wide", variant: "secondary", onClick: this.continue }, this.t('cta.continue')), showMacDeepLink ? (h("rtk-button", { size: "lg", kind: "wide", onClick: this.openMacSystemSettings }, this.t('cta.system_settings'))) : (h("rtk-button", { size: "lg", kind: "wide", onClick: this.reload }, this.t('cta.reload')))), h("slot", { key: 'a892cb955b1776bb54bb6e96d7e7234041d979a0' })));
164
+ return (h(Host, { key: '37bc20fd76370a473d701b99f141057e3ef7b9ea' }, h("h2", { key: '5177028bd1d1f909cc5dacffaf7a63e9a90a6119' }, h("rtk-icon", { key: 'eef420ebb45cedbd63f6f4532954a5175535c07e', class: "text-icon", icon: this.iconPack.warning }), this.getTitle()), this.svgSteps.length > 0 && (h("div", { key: '1f35d79d6e3b83341a26081fc72540863d395108', class: 'svg-container' }, this.svgSteps.map((e, index) => (h("p", { innerHTML: e, class: "svg-ins", key: this.currentStep, hidden: index !== this.currentStep }))))), h("div", { key: '855ceb1e53e3006b85d32e0edd9eb0088f94ad75' }, this.getMessage()), !isDeniedBySystem && (h("a", { key: 'c02d929f912ed50e47edaf853650e9569c700524', class: "need-help-link", href: this.getLink((_c = (_b = (_a = this.states) === null || _a === void 0 ? void 0 : _a.activePermissionsMessage) === null || _b === void 0 ? void 0 : _b.kind) !== null && _c !== void 0 ? _c : 'audio'), target: "_blank", rel: "noreferrer external noreferrer noopener" }, h("rtk-icon", { key: '775423666928defb61670cd9a4c2e158fe6386e6', class: "text-icon", icon: this.iconPack.attach }), this.t('cta.help'))), h("div", { key: '023b8da610c0afea0abb203ae9d09286b3368ccf', class: "actions" }, h("rtk-button", { key: 'a2b29cb77e0f32076dc8bf0a72e6b2f512684201', size: "lg", kind: "wide", variant: "secondary", onClick: this.continue }, this.t('cta.continue')), showMacDeepLink ? (h("rtk-button", { size: "lg", kind: "wide", onClick: this.openMacSystemSettings }, this.t('cta.system_settings'))) : (h("rtk-button", { size: "lg", kind: "wide", onClick: this.reload }, this.t('cta.reload')))), h("slot", { key: '2e7d6bcdb64f65de6e73742946a3a173905227a5' })));
165
165
  }
166
166
  static get is() { return "rtk-permissions-message"; }
167
167
  static get encapsulation() { return "shadow"; }
@@ -55,7 +55,7 @@ export class RtkPlugins {
55
55
  }
56
56
  }
57
57
  render() {
58
- return (h(Host, { key: 'a4ef27530f9e18bc63f0c419219eb4ad0314a213' }, h("ul", { key: '348783b9aa3feb3a215a73a1f7fc1bb749c17da0', class: "scrollbar" }, this.plugins.map((plugin) => (h("li", { key: plugin.name, class: "plugin" }, h("div", { class: "metadata" }, h("img", { src: plugin.picture }), h("div", { class: "name" }, plugin.name)), !this.activatedPluginsId.includes(plugin.id) && this.canStartPlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
58
+ return (h(Host, { key: '74f2d9af55a0670b4ae5406f73b333187e8c3d92' }, h("ul", { key: '955e4e2a9d101b5027ef725175996c8e72a94b30', class: "scrollbar" }, this.plugins.map((plugin) => (h("li", { key: plugin.name, class: "plugin" }, h("div", { class: "metadata" }, h("img", { src: plugin.picture }), h("div", { class: "name" }, plugin.name)), !this.activatedPluginsId.includes(plugin.id) && this.canStartPlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
59
59
  plugin.activate();
60
60
  this.close();
61
61
  }, "aria-label": `${this.t('activate')} ${plugin.name}` }, h("rtk-icon", { icon: this.iconPack.rocket, tabIndex: -1, "aria-hidden": true })))), this.activatedPluginsId.includes(plugin.id) && this.canClosePlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
@@ -36,7 +36,7 @@ export class RtkPolls {
36
36
  }
37
37
  render() {
38
38
  const hasVoted = this.poll.voted.includes(this.self);
39
- return (h(Host, { key: 'd37f42807d5e9ff32cd1a675d917a15ef38c1a50' }, h("div", { key: '2defb5e6817c6e52ef9d174e9139106d9f971304', class: "ctr" }, h("p", { key: '1f62d9493e4412fb8120dd6a1cdac8102d4bfd3f', class: "poll-title" }, this.t('polls.by'), " ", shorten(formatName(this.poll.createdBy), 20)), h("div", { key: '75315b70802cd4040f3a9feafe424f329fd2b397', class: "poll" }, h("p", { key: '562f274b9c9a37c181491ec2a10bc60dfb9b2f2e', class: "poll-question" }, this.poll.question), h("div", { key: 'b683a6f2d4f019f2abc0ede2db00559ee251601d', class: "poll-answers" }, h("span", { key: '8470f3dfc7e3ae98af53264e395678bf4a1df7af' }, this.t('polls.answers')), h("span", { key: '2a8bbbb9b06b5ae990b6076028c1305f7c8551b8' }, this.poll.voted.length)), this.poll.options.map((item, index) => (h("div", { class: {
39
+ return (h(Host, { key: '3436a978185495090fcf81a59f40e3d0f9bac969' }, h("div", { key: '1349450369add7268b290b2b75ca07aa28820683', class: "ctr" }, h("p", { key: 'f36ddcb1f30368e5b311fe7f11cca87785c9570c', class: "poll-title" }, this.t('polls.by'), " ", shorten(formatName(this.poll.createdBy), 20)), h("div", { key: '6c5ac869b1c182d09d9e1490a312797c913d24b1', class: "poll" }, h("p", { key: '1c3ca8f47cf9a08f3ac7ef47e144330b922534fc', class: "poll-question" }, this.poll.question), h("div", { key: 'e5e60be4359714828d1d25bb24f5f143a1c6428f', class: "poll-answers" }, h("span", { key: '60eeb63b59d1f3d8c44a1cbd53c42e82877f22d1' }, this.t('polls.answers')), h("span", { key: '6c6a42a4e6b84ec18ad94bcd4015ed4047b7b0aa' }, this.poll.voted.length)), this.poll.options.map((item, index) => (h("div", { class: {
40
40
  active: item.votes.some((x) => x.id === this.self),
41
41
  'open-vote': this.permissions.polls.canVote && !hasVoted,
42
42
  'poll-option': true,
@@ -65,10 +65,10 @@ export class RtkPoll {
65
65
  this.onCreate.emit(pollObject);
66
66
  }
67
67
  render() {
68
- return (h(Host, { key: 'ce91372243197e68b2323889fe6768afcb13712d' }, h("div", { key: 'd7e688b9e924ed8677eea21f7ba7fde844d8127a', class: "create-poll" }, h("p", { key: 'c240dde8fc2e10b092990a24a4c48205927f6661' }, this.t('polls.question')), h("textarea", { key: '52f17471f4e00db0f72aeaf5637b0d282170c905', onInput: () => {
68
+ return (h(Host, { key: 'a5d66ad4586b3e3bf360fc7f3330cbebfcc27d29' }, h("div", { key: 'ab293118b0a4e4f0839da8b1f28e8bb4c3075e00', class: "create-poll" }, h("p", { key: 'dd851c73436db148c85fa4ae605841acc4047114' }, this.t('polls.question')), h("textarea", { key: 'f2fc86324169b0eb23eccbf6f9a9425b2fa43cef', onInput: () => {
69
69
  if (this.error && this.error.code === 0)
70
70
  this.error = undefined;
71
- }, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (h("div", { class: "option" }, h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, h("rtk-icon", { icon: this.iconPack.subtract })))))), h("rtk-button", { key: '18b094e5ed57c3fc67719820c21e04ce5a322bf7', class: "add-option", variant: "secondary", onClick: () => this.addOption() }, this.t('polls.option')), h("label", { key: '7466c849dbd7146fbc2e919ca240cf5b4ca87948' }, h("input", { key: '3523addb0bef26dd203ff0ace9cbc5c8e438a4dc', id: "anonymous", type: "checkbox", onChange: (e) => (this.anonymous = e.target.checked) }), this.t('polls.results.anon')), h("label", { key: '0948aeedab995e2807f65da59db206620e559677' }, h("input", { key: '24c695b457b095f11ab25f2866dfdbad7e3445f3', id: "hideVotes", type: "checkbox", disabled: this.anonymous, checked: this.anonymous ? true : this.hideVotes, onChange: (e) => (this.hideVotes = e.target.checked) }), this.t('polls.results.hide')), h("rtk-button", { key: 'ed358c58d852a658d5a32681ac948b3bcdc06935', kind: "wide", onClick: () => this.handleSubmit() }, this.t('polls.create')), this.error && h("span", { key: 'ff82ffba979eef3ed1e4c234e8a0656fa454d2c9', class: "error-text" }, this.error.message))));
71
+ }, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (h("div", { class: "option" }, h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, h("rtk-icon", { icon: this.iconPack.subtract })))))), h("rtk-button", { key: 'd33f567bcd74edf4ace17cd3a0ca36daf69eeb8c', class: "add-option", variant: "secondary", onClick: () => this.addOption() }, this.t('polls.option')), h("label", { key: '1ded9b5aeec6b5b5fec3cc2ec43c488b48a0568b' }, h("input", { key: '37047cb8a6ccb8c37fc56261fb2f32fa0ff19d92', id: "anonymous", type: "checkbox", onChange: (e) => (this.anonymous = e.target.checked) }), this.t('polls.results.anon')), h("label", { key: '50ac11b8af600d337cc2a1d8ec934e1abac7eaf6' }, h("input", { key: '6d3df46887a4285d923cc2f8b82abf396a2df8fa', id: "hideVotes", type: "checkbox", disabled: this.anonymous, checked: this.anonymous ? true : this.hideVotes, onChange: (e) => (this.hideVotes = e.target.checked) }), this.t('polls.results.hide')), h("rtk-button", { key: '36f2228ca82a29f9d72f768fa65028690230a26f', kind: "wide", onClick: () => this.handleSubmit() }, this.t('polls.create')), this.error && h("span", { key: 'fe7a37df641bcf672e8c85a87251df19d8d1fc91', class: "error-text" }, this.error.message))));
72
72
  }
73
73
  static get is() { return "rtk-poll-form"; }
74
74
  static get encapsulation() { return "shadow"; }
@@ -69,14 +69,14 @@ export class RtkPolls {
69
69
  smoothScrollToBottom(this.pollEl);
70
70
  }
71
71
  render() {
72
- return (h(Host, { key: '90670e63e9732cdaf7fb40b8fc5c83d23169ffc2' }, h("div", { key: 'e1b10652531d40deef0753eba00f5e42a6ace030', class: "ctr", part: "container" }, h("div", { key: 'ff8549851c499d5e52c7ea44ff02542a9216463b', class: "polls-view scrollbar", ref: (el) => (this.pollEl = el), part: "polls" }, this.polls.length == 0 && this.create !== true && (h("div", { key: 'cd06ef857955de65e4aaa60ee1b5419c379e1a9c', class: "empty-polls" }, this.t('polls.empty'))), this.polls.map((item) => {
72
+ return (h(Host, { key: 'aac0c84486146fa17436746fb6def9cc4e539a2c' }, h("div", { key: '179c4496372623a2ea2f7c0b555b84ea1cae12ee', class: "ctr", part: "container" }, h("div", { key: '07b09fc28d75b1d40dec83eecae3661dfca1dbd2', class: "polls-view scrollbar", ref: (el) => (this.pollEl = el), part: "polls" }, this.polls.length == 0 && this.create !== true && (h("div", { key: '841f91b0da755e48498c520a8234cf6b926b058c', class: "empty-polls" }, this.t('polls.empty'))), this.polls.map((item) => {
73
73
  var _a;
74
74
  return (h("rtk-poll", { key: item.id, poll: item, onRtkVotePoll: (e) => {
75
75
  this.onVote(e.detail.id, e.detail.index);
76
76
  }, self: (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId, iconPack: this.iconPack, t: this.t, permissions: this.permissions }));
77
- }), this.create && (h("rtk-poll-form", { key: '41f8908f7485faf89738cea1f2ccb816fb6c094f', part: "poll-form", onRtkCreatePoll: (e) => {
77
+ }), this.create && (h("rtk-poll-form", { key: 'c6545dffc24f5409417666404ab73bf546834a8b', part: "poll-form", onRtkCreatePoll: (e) => {
78
78
  this.onCreate(e.detail);
79
- }, iconPack: this.iconPack, t: this.t }))), this.permissions.polls.canCreate && (h("rtk-button", { key: 'd2b90f8c13da232af950d2653c1322f334df8181', kind: "wide", onClick: () => this.toggleCreateState(), variant: this.create ? 'secondary' : 'primary', part: "button" }, this.create ? this.t('polls.cancel') : this.t('polls.create'))))));
79
+ }, iconPack: this.iconPack, t: this.t }))), this.permissions.polls.canCreate && (h("rtk-button", { key: '69651546ee9a00f9b9c467e0f2307f5ce2dc1383', kind: "wide", onClick: () => this.toggleCreateState(), variant: this.create ? 'secondary' : 'primary', part: "button" }, this.create ? this.t('polls.cancel') : this.t('polls.create'))))));
80
80
  }
81
81
  static get is() { return "rtk-polls"; }
82
82
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class RtkRecordingIndicator {
44
44
  }
45
45
  }
46
46
  render() {
47
- return (h(Host, { key: 'b76ca6a6d3dea0df7318e8882055dcd04dbd7a46', "data-hidden": !this.isRecording }, this.isRecording && (h("div", { key: '32d34242dbeb17c11067f51c5fbf0b1ebd7ef541', class: "indicator", "aria-label": this.t('recording.indicator'), part: "indicator" }, h("rtk-icon", { key: 'fb7851e4bb57e4193afc05edbfe9b24122a5b743', icon: this.iconPack.recording, "aria-hidden": true, tabIndex: -1, part: "icon" }), h("span", { key: 'de677e81dc576b9188b896ecbb458a62b5bd74dc' }, this.t('recording.label'))))));
47
+ return (h(Host, { key: '3919ce20c5524d477536f62b9dd5abe8c1d49c37', "data-hidden": !this.isRecording }, this.isRecording && (h("div", { key: 'c482fdc00ff90f8ae2841f8d469f3b54704b6615', class: "indicator", "aria-label": this.t('recording.indicator'), part: "indicator" }, h("rtk-icon", { key: '75663e533fe47c5ad2e5d55db5d8a027fc12220c', icon: this.iconPack.recording, "aria-hidden": true, tabIndex: -1, part: "icon" }), h("span", { key: '99d4cc0c9ce7388808b643b0bcce27883d2b4643' }, this.t('recording.label'))))));
48
48
  }
49
49
  static get is() { return "rtk-recording-indicator"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -106,7 +106,7 @@ export class RtkScreenshareView {
106
106
  const icon = this.isFullScreen
107
107
  ? this.iconPack.full_screen_minimize
108
108
  : this.iconPack.full_screen_maximize;
109
- return (h(Host, { key: '60edea950d73ace6447569fd3862c48925d24339', class: { isSelf } }, h("div", { key: "video-container", id: "video-container", class: { expand: this.videoExpanded } }, h("video", { key: '2c1ba4c2c053ded45060f453e47864662e6b49e1', ref: (el) => (this.videoEl = el), class: {
109
+ return (h(Host, { key: 'c5fe06d9c1bfd2856b2eb93bb55b7c636256052f', class: { isSelf } }, h("div", { key: "video-container", id: "video-container", class: { expand: this.videoExpanded } }, h("video", { key: '5bdd1b7bd0e28ecb4b551b30f6e623c7a1ece49a', ref: (el) => (this.videoEl = el), class: {
110
110
  visible: this.screenShareEnabled,
111
111
  'fit-in-container': this.participant.supportsRemoteControl,
112
112
  }, playsInline: true, onPlay: () => {
@@ -114,15 +114,15 @@ export class RtkScreenshareView {
114
114
  screenshareParticipant: this.participant,
115
115
  participant: this.meeting.self,
116
116
  });
117
- }, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: 'b5264cba99a0840d6be7841b68c633df3042e5bb', label: text }, h("rtk-button", { key: '93711a3eb4b848df8fbe16e1be1e661109908e66', id: "full-screen-btn", kind: "icon", onClick: this.toggleFullScreen, title: text }, h("rtk-icon", { key: 'b9c73ac5b6b247969b69c21dbc368372e0cdace4', icon: icon, "aria-hidden": true, tabIndex: -1 }))))), isSelf && (h("div", { id: "self-message", key: "self-message" }, h("h3", { key: 'c9878c8a0eaa4c25e18855a56357115fc19acf09' }, this.t('screenshare.shared')), h("div", { key: '1aacb8a470ec255facc44d666cc9565364f44809', class: "actions" }, this.meeting != null && (h("rtk-button", { key: '324558ed4a0115586aea78d69ecb94793ad7f731', variant: "danger", onClick: () => {
117
+ }, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: 'fdfd7c6b5468ef96bdb06d4f942a3e10cbee08cb', label: text }, h("rtk-button", { key: '99e0138257f6e0ec55ceee7f20318d78887f812b', id: "full-screen-btn", kind: "icon", onClick: this.toggleFullScreen, title: text }, h("rtk-icon", { key: '06e747a6af4a5b79445ffb63598afd2ac515d3a2', icon: icon, "aria-hidden": true, tabIndex: -1 }))))), isSelf && (h("div", { id: "self-message", key: "self-message" }, h("h3", { key: '1ad96435977e90e6f0eff64a54507d106a4091be' }, this.t('screenshare.shared')), h("div", { key: '02f1e2a734d3f56157ab76c1de55517995d8f98d', class: "actions" }, this.meeting != null && (h("rtk-button", { key: '4bc8344f8a829ff1a12552d9002d83032ec7277f', variant: "danger", onClick: () => {
118
118
  this.meeting.self.disableScreenShare();
119
- } }, h("rtk-icon", { key: 'c21f7fe06c0ddfbd6558f6facfc10a3777974618', icon: this.iconPack.share_screen_stop, slot: "start" }), this.t('screenshare.stop'))), h("rtk-button", { key: '1747d034e775efe0f6f483afd22b3635c8db12b6', variant: "secondary", id: "expand-btn", onClick: () => {
119
+ } }, h("rtk-icon", { key: 'c2412bb995c605f980859481200033a447147b91', icon: this.iconPack.share_screen_stop, slot: "start" }), this.t('screenshare.stop'))), h("rtk-button", { key: '0d513e8b6efa96b542d6bd163db81a179073ed45', variant: "secondary", id: "expand-btn", onClick: () => {
120
120
  this.videoExpanded = !this.videoExpanded;
121
- } }, h("rtk-icon", { key: 'e4edd0c3b9158eeabe313520f4214716668d4015', icon: this.videoExpanded
121
+ } }, h("rtk-icon", { key: 'bec9074447f55461239fc4c7c20b811dfe7db8bb', icon: this.videoExpanded
122
122
  ? this.iconPack.full_screen_minimize
123
123
  : this.iconPack.full_screen_maximize, slot: "start" }), this.videoExpanded
124
124
  ? this.t('screenshare.min_preview')
125
- : this.t('screenshare.max_preview'))))), h("slot", { key: 'a115d046871670b009dbb8be22f9fad93fafea6a' })));
125
+ : this.t('screenshare.max_preview'))))), h("slot", { key: '2858a3123887f964d6e8ea77fb871abddc4c6295' })));
126
126
  }
127
127
  static get is() { return "rtk-screenshare-view"; }
128
128
  static get encapsulation() { return "shadow"; }
@@ -37,7 +37,7 @@ export class RtkSettingsToggle {
37
37
  }
38
38
  render() {
39
39
  const text = this.t('settings');
40
- return (h(Host, { key: 'e94a22b4a0fea761f050247af7af496627353d07', title: text }, h("rtk-controlbar-button", { key: '62d3e20bf3ea31f4d05e323d56b699e6095b2742', part: "controlbar-button", size: this.size, iconPack: this.iconPack, onClick: () => this.toggleSettings(), icon: this.iconPack.settings, label: text, variant: this.variant })));
40
+ return (h(Host, { key: '11653f887305c7ba74c0e62197b0b8502f64bb22', title: text }, h("rtk-controlbar-button", { key: '4e4985182d0c63d2f9f8f2fc8173f2cd10edf91d', part: "controlbar-button", size: this.size, iconPack: this.iconPack, onClick: () => this.toggleSettings(), icon: this.iconPack.settings, label: text, variant: this.variant })));
41
41
  }
42
42
  static get is() { return "rtk-settings-toggle"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -81,7 +81,7 @@ export class RtkSetupScreen {
81
81
  iconPack: this.iconPack,
82
82
  t: this.t,
83
83
  };
84
- return (h(Host, { key: '381d4439ff09cec4bded24f3aaf133300d22eee6' }, h("div", { key: '6eb5aba251ccceace8ae1a002119b18e19101d5f', class: "container" }, h("div", { key: 'b28744700f5e375fd76cc541e881a693fcae1db8', class: 'container-tile' }, h(Render, { key: 'cf1b19261f5f93b31478ae78777c2738f6e772dd', element: "rtk-participant-tile", defaults: defaults, props: { participant: (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self, size: 'md', isPreview: true }, childProps: { participant: (_c = this.meeting) === null || _c === void 0 ? void 0 : _c.self, size: 'md' }, deepProps: true }), h("div", { key: '535be5e0cd9dd54bc9a8eaeafeb1ff400002a40c', class: 'media-selectors' }, h("rtk-microphone-selector", Object.assign({ key: '4372044b3190a1b6b870f18f582c3482e51247da' }, defaults, { variant: "inline" })), h("rtk-camera-selector", Object.assign({ key: '05b524a826d6f08e824ae7d4322964e08e7d5b17' }, defaults, { variant: "inline" })), h("rtk-speaker-selector", Object.assign({ key: 'ea1994e0688d368011892c093266d6d5e44f667a' }, defaults, { variant: "inline" })))), h("div", { key: 'e519f17b8b0f0e62d43c68c0a60b11cc67b15f0f', class: "metadata" }, h("div", { key: 'c5623e21796952587613edd9a7044409cb02cb4f', class: "name" }, this.t('setup_screen.join_in_as')), h("div", { key: '1331bc562722616956fa81f727e092a3e0a362e2', class: "label" }, h("div", { key: 'ef01a68f30113400a4fb53e6764748fa674e80b9', class: "name" }, !this.canEditName && shorten(this.displayName, 20))), this.canEditName && (h("input", { key: 'd101488e167a8bbecf9e8e316314faccc4617f20', placeholder: this.t('setup_screen.your_name'), value: this.displayName, spellcheck: false, autoFocus: true, ref: (el) => {
84
+ return (h(Host, { key: '4d337a1e3a71a0651fa082a149298129dd7b984a' }, h("div", { key: '24fda5fbca3b4dd0092031d54b90632a20ecc287', class: "container" }, h("div", { key: 'c1d947c44ba11b69f9679c03cd7423581e427a04', class: 'container-tile' }, h(Render, { key: '5fe4a9507ed599f08f808f0cf295c1504ac43799', element: "rtk-participant-tile", defaults: defaults, props: { participant: (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self, size: 'md', isPreview: true }, childProps: { participant: (_c = this.meeting) === null || _c === void 0 ? void 0 : _c.self, size: 'md' }, deepProps: true }), h("div", { key: 'f0b35c6d5354c3416e72132d53bdda9fd770505b', class: 'media-selectors' }, h("rtk-microphone-selector", Object.assign({ key: 'daec71962a0d368e91fa7d410c09be0321d6e7e1' }, defaults, { variant: "inline" })), h("rtk-camera-selector", Object.assign({ key: 'b61f2afe68d92c48a199bcb22e1df124c392c22d' }, defaults, { variant: "inline" })), h("rtk-speaker-selector", Object.assign({ key: '8368f850725151e63ff390a2a721164e8923a762' }, defaults, { variant: "inline" })))), h("div", { key: 'd29f5f5e680e4614cf5ee378a1533c0e1235cf7c', class: "metadata" }, h("div", { key: 'c0b7e8ef018d34f447775f55e8244927314d70c3', class: "name" }, this.t('setup_screen.join_in_as')), h("div", { key: 'a45332643ef73dd286e48d2ba9b6bddd9625ab60', class: "label" }, h("div", { key: '71633d8d8987bafaa054edace2a18a9960d45f48', class: "name" }, !this.canEditName && shorten(this.displayName, 20))), this.canEditName && (h("input", { key: 'b7609fa43a59a637c14f32c7ad7cde8f67b04bc2', placeholder: this.t('setup_screen.your_name'), value: this.displayName, spellcheck: false, autoFocus: true, ref: (el) => {
85
85
  this.inputEl = el;
86
86
  }, onInput: (e) => {
87
87
  this.displayName = e.target.value;
@@ -89,7 +89,7 @@ export class RtkSetupScreen {
89
89
  if (e.key === 'Enter') {
90
90
  this.join();
91
91
  }
92
- } })), h("rtk-button", { key: 'b80a3f917453ed29dec1b6b406065f96a7030aa0', size: "lg", kind: "wide", onClick: this.join, disabled: disabled }, this.isJoining ? h("rtk-spinner", { iconPack: this.iconPack }) : this.t('join')), this.connectionState !== 'connected' && (h("div", { key: '0ca7a9fb334f82d3f59720bd37246749ce62e86a', class: "no-network-badge" }, h("rtk-icon", { key: 'd43d5507a164ac734dddb6496cd2910aa81deb98', size: "md", variant: "danger", icon: this.iconPack.disconnected }), this.connectionState === 'failed'
92
+ } })), h("rtk-button", { key: '16599f17361ab91cee7af782e18ac55a75de2f95', size: "lg", kind: "wide", onClick: this.join, disabled: disabled }, this.isJoining ? h("rtk-spinner", { iconPack: this.iconPack }) : this.t('join')), this.connectionState !== 'connected' && (h("div", { key: 'ce111c7cbcd7ce227bd5eda1d9498621f5de0286', class: "no-network-badge" }, h("rtk-icon", { key: '3de05287a1657febc620285394299557042e5218', size: "md", variant: "danger", icon: this.iconPack.disconnected }), this.connectionState === 'failed'
93
93
  ? this.t('network.lost_extended')
94
94
  : this.t('network.lost')))))));
95
95
  }
@@ -72,7 +72,7 @@ export class RtkSimpleGrid {
72
72
  aspectRatio: this.aspectRatio,
73
73
  gap: this.gap,
74
74
  });
75
- return (h(Host, { key: '954285505c59c26020a13412683395dd80bfd0b9' }, h("slot", { key: '5843e6f185d9e10a0e74b8f8e234b0e82e78c9fd' }, this.participants.map((participant, index) => {
75
+ return (h(Host, { key: '66b303c15b37e03ca647f8633c72f664f1e7256f' }, h("slot", { key: '14f45cb35f76b6456561df790ca4be4ff415f1e7' }, this.participants.map((participant, index) => {
76
76
  const { top, left } = getPosition(index);
77
77
  return (h(Render, { element: "rtk-participant-tile", defaults: defaults, props: {
78
78
  participant,
@@ -22,7 +22,7 @@ export class RtkSpinner {
22
22
  this.size = 'md';
23
23
  }
24
24
  render() {
25
- return (h(Host, { key: 'bad95fde6d19c342301f03cede54d405fac62d61' }, h("rtk-icon", { key: '1dcdaaf95f9ada0f9966249a0246142180149ce4', class: "spinner", icon: this.iconPack.spinner })));
25
+ return (h(Host, { key: '40c9d7dd077b4ed5372afa510644528d392ff329' }, h("rtk-icon", { key: 'e74d17cc21859fc8581ad9e8735f65a98aa18300', class: "spinner", icon: this.iconPack.spinner })));
26
26
  }
27
27
  static get is() { return "rtk-spinner"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -72,13 +72,13 @@ export class RtkSpotlightGrid {
72
72
  t: this.t,
73
73
  };
74
74
  const nonPinnedParticipants = this.participants.filter((p) => this.pinnedParticipants.some((pt) => pt.id != p.id));
75
- return (h(Host, { key: 'f969a4a4e84d759236f508c76b1f17f2ca6c86fc' }, h("main", { key: '2b3a1b073a00b9a4ce2ef52ac16135032c5bca16', part: "main" }, h(Render, { key: '0173d3ee87d82e2aa2cfd67d4c4a9539545c725d', element: "rtk-simple-grid", defaults: defaults, props: {
75
+ return (h(Host, { key: '78a47e090097d8c758b7e78678c60c66231559e4' }, h("main", { key: '405ea4039c11b49abe9b7636f94b966b2a02388f', part: "main" }, h(Render, { key: 'bff026528181c24c2c761aa354678cb61aa01169', element: "rtk-simple-grid", defaults: defaults, props: {
76
76
  part: 'main-grid',
77
77
  participants: this.pinnedParticipants,
78
78
  aspectRatio: this.aspectRatio,
79
79
  gap: this.gap,
80
80
  size: this.getAdaptiveSize(this.pinnedParticipants.length),
81
- } })), nonPinnedParticipants.length > 0 && (h("aside", { key: 'f6432185ad98bf81d7c76cd9abb26a17973692f8', part: "aside", class: this.gridSize.spotlight ? `grid-width-${this.gridSize.spotlight}` : 'grid-width-md' }, h(Render, { key: '504cc9d09a30d0fb00533aa9bfbd33353b0bd08a', element: "rtk-simple-grid", defaults: defaults, props: {
81
+ } })), nonPinnedParticipants.length > 0 && (h("aside", { key: 'f2f77d8371fef0a83c5682d0dd7bf4d6c57ea69b', part: "aside", class: this.gridSize.spotlight ? `grid-width-${this.gridSize.spotlight}` : 'grid-width-md' }, h(Render, { key: 'ba9e91c14b812c650275c4ae99bd602fb0f16aa0', element: "rtk-simple-grid", defaults: defaults, props: {
82
82
  part: 'aside-grid',
83
83
  participants: nonPinnedParticipants,
84
84
  aspectRatio: this.aspectRatio,
@@ -26,7 +26,7 @@ export class RtkStage {
26
26
  this.t = useLanguage();
27
27
  }
28
28
  render() {
29
- return (h(Host, { key: 'f3dba7a49cfd4c051dfba4cef64430ec670512d8' }, h("slot", { key: '6500537d6fb1f3da3ede35f4e9aa3f227c71323f' })));
29
+ return (h(Host, { key: 'c28c425c3619477e0e9234f42ec5711a49d27a43' }, h("slot", { key: '8a4210ce0af731affd16bdab0258135f71b6408f' })));
30
30
  }
31
31
  static get is() { return "rtk-stage"; }
32
32
  static get encapsulation() { return "shadow"; }
@@ -52,7 +52,7 @@ export class RtkSwitch {
52
52
  this.onChange.emit(checked);
53
53
  }
54
54
  render() {
55
- return (h(Host, { key: '5995d5ed4ddf3b300ad929985ee6df0af4421542', role: "switch", tabIndex: this.disabled && 0, "aria-readonly": this.readonly, "aria-checked": this.checked, "aria-disabled": this.disabled, class: { checked: this.checked }, onClick: this.onClick, onKeyPress: this.onKeyPress }, h("div", { key: '83e43e0b6cbd4c22dc641e87822ca7fda13ca015', class: "switch", part: "switch" })));
55
+ return (h(Host, { key: 'd52144d4eeaf1f93dc3f83971f014e4e31e80c0e', role: "switch", tabIndex: this.disabled && 0, "aria-readonly": this.readonly, "aria-checked": this.checked, "aria-disabled": this.disabled, class: { checked: this.checked }, onClick: this.onClick, onKeyPress: this.onKeyPress }, h("div", { key: 'aa51da6304b98be4d6d7c109ff488c1a684f6bb3', class: "switch", part: "switch" })));
56
56
  }
57
57
  static get is() { return "rtk-switch"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -69,7 +69,7 @@ export class RtkTextComposerView {
69
69
  }
70
70
  }
71
71
  render() {
72
- return (h("div", { key: 'a5c60716f87b3fe0c18849c889c33dc68e2cda5f', class: "chat-input", part: "chat-input-container" }, this.maxLengthBreached > 0 && (h("div", { key: 'fdb5dfa266fe4535a5623eec26f16dced824fc03', class: 'text-error ' + (this.maxLengthBreached === this.maxLength ? 'breached' : '') }, h("rtk-icon", { key: '57839914af1e0ba02cf962d66e0a6421f7d841e8', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.maxLengthBreached, " / ", this.maxLength, " ", this.t('chat.max_limit_warning'))), this.rateLimitBreached && (h("div", { key: 'c0c869cae45b9b125034b7bb4f14bb8e843133a7', class: 'text-error breached' }, h("rtk-icon", { key: 'f6cd0c6cf8b2a4e9811c7c189543f03fdc5c5c22', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.t('chat.rate_limit_error'))), h("textarea", { key: '78c0a228465c669fd3969f04e18c8e5f1e5cd342', ref: (el) => (this.$textArea = el), placeholder: this.placeholder, disabled: this.disabled, onInput: this.onInputHandler, onKeyDown: this.keyDownHandler, part: "chat-input", value: this.value })));
72
+ return (h("div", { key: 'ce055f9e92b79c5ae63448220ea3f1e5adfb39c1', class: "chat-input", part: "chat-input-container" }, this.maxLengthBreached > 0 && (h("div", { key: 'd131418c66d521fb7b3012465f5774113ae902eb', class: 'text-error ' + (this.maxLengthBreached === this.maxLength ? 'breached' : '') }, h("rtk-icon", { key: '01c5f7756fb5a76cf3319122c9d808f2b0f6bbf8', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.maxLengthBreached, " / ", this.maxLength, " ", this.t('chat.max_limit_warning'))), this.rateLimitBreached && (h("div", { key: 'f96301c878d5b3b607fcd5de6d2131e647a3477a', class: 'text-error breached' }, h("rtk-icon", { key: '9b2ecdbac46b0e6ab09e91280c9ca473c719a5a9', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.t('chat.rate_limit_error'))), h("textarea", { key: 'fc08e05d8d917e72ec1218d0a2d2bc1db618c4cc', ref: (el) => (this.$textArea = el), placeholder: this.placeholder, disabled: this.disabled, onInput: this.onInputHandler, onKeyDown: this.keyDownHandler, part: "chat-input", value: this.value })));
73
73
  }
74
74
  static get is() { return "rtk-text-composer-view"; }
75
75
  static get encapsulation() { return "shadow"; }
@@ -32,10 +32,10 @@ export class RtkTextMessage {
32
32
  this.showBubble = false;
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: '2f3f5211b82e0ae80453d606bb962c3e1f1c5f4b' }, !this.isContinued && (h(ChatHead, { key: 'd41c973244580ef48141414c40eaff6a9429b33a', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '3b4bf9ad47b959c79d9e70d3523b9ec46e6bdb8f', class: {
35
+ return (h(Host, { key: 'c21acb6c8645f4397b468f9f3bd687049503eb50' }, !this.isContinued && (h(ChatHead, { key: 'b7fa598be7d197a761bbb77617d4c9d8a255c48d', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: 'dc13b5f61ff5ecdece68abc33444d5a4e6852d92', class: {
36
36
  body: true,
37
37
  bubble: this.showBubble,
38
- }, part: "body" }, h("div", { key: 'a3d9a56aa79c80d7f6c837a5ca32e574c0cf9c5a', class: { text: true, emoji: hasOnlyEmojis(this.message.message) } }, h(TextMessageView, { key: '69f15f8de5596d483ccb8724993c2274a46ed186', message: this.message.message })))));
38
+ }, part: "body" }, h("div", { key: 'a51406f8da3eda94b35b4ed878dffe4bd3f8d5a2', class: { text: true, emoji: hasOnlyEmojis(this.message.message) } }, h(TextMessageView, { key: '65b20790e134d5149c20815e47ab79c039afd437', message: this.message.message })))));
39
39
  }
40
40
  static get is() { return "rtk-text-message"; }
41
41
  static get properties() {
@@ -9,7 +9,7 @@ export class RtkTextMessageView {
9
9
  this.isMarkdown = false;
10
10
  }
11
11
  render() {
12
- return (h("p", { key: '67b3aadecf02b8838821c13a3fbf926506dd3143', class: { text: true, emoji: hasOnlyEmojis(this.text) } }, this.isMarkdown ? h("rtk-markdown-view", { text: this.text }) : this.text));
12
+ return (h("p", { key: '43af19a40b404cf8de36db064a89e9eefd50af81', class: { text: true, emoji: hasOnlyEmojis(this.text) } }, this.isMarkdown ? h("rtk-markdown-view", { text: this.text }) : this.text));
13
13
  }
14
14
  static get is() { return "rtk-text-message-view"; }
15
15
  static get originalStyleUrls() {
@@ -40,7 +40,7 @@ export class RtkTranscript {
40
40
  }, 10000);
41
41
  }
42
42
  render() {
43
- return (h(Host, { key: '12226276b5cd6bdc6f0dedf877a1f8829132b7e6' }, h("div", { key: '0fc2f4aa3e5be3a0339e353e89a187c410b17c18', class: "ctr" }, h("p", { key: 'ce7a0b3d519770b0588c062c49a5187a0432702c', class: "message" }, h("span", { key: '0a2cceb0e26b5aa2570f53a4651caf9fcd4971ed', class: "name" }, this.transcript.name), ": ", this.transcript.transcript))));
43
+ return (h(Host, { key: '40777059dc796ccc9772d79ce7507762bc8f9323' }, h("div", { key: 'b2c9181f66d7dcc024d7f1dedee09429139285a1', class: "ctr" }, h("p", { key: '261023413c7bad6207249d93dbd61222aafa0df8', class: "message" }, h("span", { key: '822c6ecc8dd33bc9395f21a5bec49183f207fd7b', class: "name" }, this.transcript.name), ": ", this.transcript.transcript))));
44
44
  }
45
45
  static get is() { return "rtk-transcript"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -141,7 +141,7 @@ export class RtkUiProvider {
141
141
  });
142
142
  }
143
143
  render() {
144
- return h(Host, { key: 'ce61aaa074ff4c285bb9b39ea420c456a03ea2b6' }, this.noRenderUntilMeeting && !this.meeting ? null : h("slot", null));
144
+ return h(Host, { key: '4c5b692de4bf1486e1c17ab6f9d61684705cfa95' }, this.noRenderUntilMeeting && !this.meeting ? null : h("slot", null));
145
145
  }
146
146
  static get is() { return "rtk-ui-provider"; }
147
147
  static get originalStyleUrls() {
@@ -112,12 +112,12 @@ export class RtkVirtualizedParticipantList {
112
112
  render() {
113
113
  var _a;
114
114
  const totalHeight = this.items.length * this.itemHeight; // Total height of the list
115
- return (h("div", { key: 'f46088e437f2da25f0599d9050d3b45f01a08323', class: "virtual-list-container", style: {
115
+ return (h("div", { key: '1a35b2155ffba410d278513dbdfeb7fd238443d8', class: "virtual-list-container", style: {
116
116
  position: 'relative',
117
117
  height: '100%',
118
118
  overflowX: 'hidden',
119
119
  overflowY: 'auto',
120
- } }, h("div", { key: 'b980284407bddc11ba6b9a365eff13601b694732', style: { height: `${totalHeight}px`, position: 'relative' } }, !((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) ? this.emptyListElement : this.renderItems()), h("div", { key: 'aca29d6c447481589c4928ad04ced0f2f926681b', style: { height: `${this.itemHeight}px` } })));
120
+ } }, h("div", { key: '90f445de9af8464c23dbd931f46600e015839d4f', style: { height: `${totalHeight}px`, position: 'relative' } }, !((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) ? this.emptyListElement : this.renderItems()), h("div", { key: 'b7acc66cc75273c722b5a9c78949c67d785d5725', style: { height: `${this.itemHeight}px` } })));
121
121
  }
122
122
  static get is() { return "rtk-virtualized-participant-list"; }
123
123
  static get originalStyleUrls() {
@@ -23,7 +23,7 @@ export class RtkWaitingScreen {
23
23
  this.t = useLanguage();
24
24
  }
25
25
  render() {
26
- return (h(Host, { key: '77f62eac2bfd382e325dbb6e1e2386c5eb3d13a6' }, h("slot", { key: 'efa083572c73db00e2db935fd44eefc85da2f22d' }, h("div", { key: 'f03cb8e9293d618bf17532ce139311998d6332f8', class: "centered", part: "content" }, h("rtk-logo", { key: '4f80c7bd29784e0edcb069c5f8c90ea6662831d4', meeting: this.meeting, config: this.config, part: "logo", t: this.t }), h("p", { key: 'd8a7bd5e11b2bec6e9a108c6c1c64d2b45df4a66' }, this.t('waitlist.body_text'))))));
26
+ return (h(Host, { key: 'f2c47d3259b2df855467a20acb9c3cf9efba0656' }, h("slot", { key: 'f00f36e15ecf6279903d8512f3dee23057de734a' }, h("div", { key: '980543555369e3547a6ba36a4235e885ca65ee4b', class: "centered", part: "content" }, h("rtk-logo", { key: '9a82a757b90ceb5ec2d143cc2e4ba3a85e4b5ead', meeting: this.meeting, config: this.config, part: "logo", t: this.t }), h("p", { key: 'e9c2f4e21f075ee74e147249bd52e8947bdfa37d' }, this.t('waitlist.body_text'))))));
27
27
  }
28
28
  static get is() { return "rtk-waiting-screen"; }
29
29
  static get encapsulation() { return "shadow"; }
@@ -5,14 +5,14 @@ import { a as gracefulStorage } from './p-a83ccdbd.js';
5
5
  import { S as SyncWithStore } from './p-d5791958.js';
6
6
  import { d as defineCustomElement$b } from './p-4cc0e9a5.js';
7
7
  import { d as defineCustomElement$a } from './p-b12e5011.js';
8
- import { d as defineCustomElement$9 } from './p-66ff4a1a.js';
8
+ import { d as defineCustomElement$9 } from './p-c27c353f.js';
9
9
  import { d as defineCustomElement$8 } from './p-935b5e0f.js';
10
10
  import { d as defineCustomElement$7 } from './p-4608147b.js';
11
11
  import { d as defineCustomElement$6 } from './p-2f2fb96d.js';
12
12
  import { d as defineCustomElement$5 } from './p-3358d7dc.js';
13
- import { d as defineCustomElement$4 } from './p-1947c106.js';
14
- import { d as defineCustomElement$3 } from './p-8ceedb7f.js';
15
- import { d as defineCustomElement$2 } from './p-168b17a0.js';
13
+ import { d as defineCustomElement$4 } from './p-81f4e985.js';
14
+ import { d as defineCustomElement$3 } from './p-f0dfdfea.js';
15
+ import { d as defineCustomElement$2 } from './p-bcb91396.js';
16
16
  import { d as defineCustomElement$1 } from './p-e3b59650.js';
17
17
 
18
18
  const rtkChatComposerViewCss = ":host {\n display: flex;\n flex-direction: column;\n font-family: var(--rtk-font-family, sans-serif);\n font-size: 14px;\n position: relative;\n}\n\n.quoted-message-container {\n margin-bottom: var(--rtk-space-2, 8px);\n display: flex;\n justify-content: space-between;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n border-radius: var(--rtk-border-radius-md, 8px);\n border: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n}\n\n.quoted-message-container .quoted-message {\n flex: 1 1 0%;\n padding: var(--rtk-space-2, 8px);\n border-radius: var(--rtk-border-radius-md, 8px);\n max-height: var(--rtk-space-24, 96px);\n overflow-y: auto;\n word-break: break-all;\n}\n\n.quoted-message-container .quoted-message blockquote {\n display: none;\n}\n\n.quoted-message-container rtk-icon.dismiss {\n margin-left: auto;\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n padding: var(--rtk-space-2, 8px);\n border-radius: var(--rtk-border-radius-md, 8px);\n color: rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));\n}\n\n.quoted-message-container rtk-icon.dismiss:hover {\n cursor: pointer;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\n.quoted-message-container rtk-icon.dismiss {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.composer-container {\n position: relative;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));\n border-radius: var(--rtk-border-radius-md, 8px);\n overflow: hidden;\n border: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n}\n\n.composer-container > .composers {\n min-height: 60px;\n }\n\n@container chatcontainer (height < 360px) {\n .composer-container > .composers {\n min-height: 30px;\n }\n}\n\n.chat-buttons {\n padding: var(--rtk-space-3, 12px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\n.chat-buttons .right {\n z-index: 10;\n}\n\n.chat-buttons .right .edit-buttons {\n display: flex;\n gap: var(--rtk-space-2, 8px);\n}\n\n.chat-buttons > div {\n display: flex;\n align-items: center;\n}\n\nrtk-emoji-picker {\n z-index: 20;\n position: absolute;\n top: calc(var(--rtk-space-72, 288px) * -1);\n border-top: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n animation: 0.3s slide-up ease;\n}\n\n@keyframes slide-up {\n from {\n transform: translateY(100%);\n }\n to {\n transform: translateY(0%);\n }\n}\n";
@@ -1,19 +1,19 @@
1
1
  import { p as proxyCustomElement, H, d as createEvent, h, e as Host } from './p-c3592601.js';
2
2
  import { a as defaultIconPack, c as useLanguage } from './p-e6d09c50.js';
3
3
  import { S as SyncWithStore } from './p-d5791958.js';
4
- import { d as defineCustomElement$d } from './p-7373cc7e.js';
4
+ import { d as defineCustomElement$d } from './p-9c17c7ce.js';
5
5
  import { d as defineCustomElement$c } from './p-4cc0e9a5.js';
6
6
  import { d as defineCustomElement$b } from './p-b3537ccc.js';
7
7
  import { d as defineCustomElement$a } from './p-2f2fb96d.js';
8
- import { d as defineCustomElement$9 } from './p-594ed925.js';
8
+ import { d as defineCustomElement$9 } from './p-4096426e.js';
9
9
  import { d as defineCustomElement$8 } from './p-3358d7dc.js';
10
10
  import { d as defineCustomElement$7 } from './p-4cedc9e8.js';
11
11
  import { d as defineCustomElement$6 } from './p-10182034.js';
12
12
  import { d as defineCustomElement$5 } from './p-c7dcb441.js';
13
- import { d as defineCustomElement$4 } from './p-00649ab8.js';
14
- import { d as defineCustomElement$3 } from './p-7d26c3e0.js';
15
- import { d as defineCustomElement$2 } from './p-1947c106.js';
16
- import { d as defineCustomElement$1 } from './p-168b17a0.js';
13
+ import { d as defineCustomElement$4 } from './p-c939f92d.js';
14
+ import { d as defineCustomElement$3 } from './p-9cfe5c7c.js';
15
+ import { d as defineCustomElement$2 } from './p-81f4e985.js';
16
+ import { d as defineCustomElement$1 } from './p-bcb91396.js';
17
17
 
18
18
  const rtkChatMessagesUiPaginatedCss = ":host{display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));flex:1 0 0px}";
19
19
  const RtkChatMessagesUiPaginatedStyle0 = rtkChatMessagesUiPaginatedCss;