@cloudflare/realtimekit-ui 2.0.1 → 2.0.2-staging.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/ChatHead-DzH-mYX1.js +11 -0
- package/dist/cjs/{TextMessage-492778db.js → TextMessage-5iqcrDk9.js} +9 -11
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
- package/dist/cjs/breakout-rooms-46jWgGiL.js +72 -0
- package/dist/cjs/breakout-rooms-manager-Bgk5FEK1.js +303 -0
- package/dist/cjs/{chat-4f5c28ca.js → chat-CiRLOYTj.js} +1 -1
- package/dist/cjs/{config-705c8f2c.js → config-Dr-kt-RY.js} +6 -5
- package/dist/cjs/debounce-BgZ6dvDk.js +659 -0
- package/dist/cjs/{debounce-7fa6354d.js → debounce-padcVDRF.js} +4 -6
- package/dist/cjs/{file-0b9afa34.js → file-BfaJmhHW.js} +1 -1
- package/dist/cjs/{floating-ui.dom.esm-9d940028.js → floating-ui.dom-D8vZii24.js} +3 -310
- package/dist/cjs/hark-qJk9qiLr.js +322 -0
- package/dist/cjs/{index-4366eb3b.js → index-BOQMsbCN.js} +2 -2
- package/dist/cjs/{index-2e5758b6.js → index-Bi2L8zQ7.js} +1202 -555
- package/dist/cjs/{index-6f8c1928.js → index-Ck9E7Wf2.js} +22 -31
- package/dist/cjs/index.cjs.js +14 -13
- package/dist/cjs/livestream-B1z1fq_f.js +78 -0
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/{merge-79537b1d.js → merge-CSoi4R44.js} +136 -17
- package/dist/cjs/{notification-8f4db150.js → notification-BM6CUHyL.js} +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +7 -7
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +15 -14
- package/dist/cjs/rtk-ai_3.cjs.entry.js +19 -17
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +12 -10
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +13 -10
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +26 -23
- package/dist/cjs/rtk-avatar_26.cjs.entry.js +120 -123
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +33 -27
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +38 -41
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +11 -11
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +20 -15
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +11 -9
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +9 -9
- package/dist/cjs/rtk-chat-message.cjs.entry.js +8 -8
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +16 -12
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +8 -8
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +9 -9
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-clock.cjs.entry.js +11 -10
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +5 -8
- package/dist/cjs/rtk-controlbar.cjs.entry.js +9 -9
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +42 -48
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +5 -8
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +9 -10
- package/dist/cjs/rtk-dialog.cjs.entry.js +5 -8
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +11 -9
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +8 -8
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +11 -14
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +6 -9
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +17 -15
- package/dist/cjs/rtk-grid.cjs.entry.js +28 -19
- package/dist/cjs/rtk-header.cjs.entry.js +9 -9
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +14 -10
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +7 -10
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/rtk-leave-button.cjs.entry.js +5 -8
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +41 -52
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +10 -10
- package/dist/cjs/rtk-logo.cjs.entry.js +14 -10
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +5 -8
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +12 -10
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +16 -13
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +5 -8
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +11 -9
- package/dist/cjs/rtk-name-tag.cjs.entry.js +9 -10
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +11 -9
- package/dist/cjs/rtk-notification.cjs.entry.js +13 -12
- package/dist/cjs/rtk-notifications.cjs.entry.js +22 -16
- package/dist/cjs/rtk-participant-count.cjs.entry.js +11 -11
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +14 -10
- package/dist/cjs/rtk-participant_2.cjs.entry.js +29 -28
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +11 -11
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +33 -24
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-participants.cjs.entry.js +15 -11
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +11 -9
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +11 -13
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-poll_2.cjs.entry.js +8 -12
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +8 -9
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +9 -10
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +10 -12
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +5 -8
- package/dist/cjs/rtk-settings.cjs.entry.js +8 -9
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +11 -12
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +11 -9
- package/dist/cjs/rtk-sidebar.cjs.entry.js +17 -13
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +11 -12
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +7 -10
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +8 -9
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +11 -9
- package/dist/cjs/rtk-stage.cjs.entry.js +5 -8
- package/dist/cjs/rtk-transcript.cjs.entry.js +8 -9
- package/dist/cjs/rtk-transcripts.cjs.entry.js +14 -10
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +28 -18
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +8 -8
- package/dist/cjs/{sidebar-3d8abb05.js → sidebar-CaEYxWaS.js} +2 -2
- package/dist/cjs/{ui-store-b1ac9e83.js → ui-store-CTof0Q5V.js} +100 -813
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/rtk-ai/rtk-ai.js +16 -10
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +18 -11
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +9 -5
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +16 -10
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +18 -11
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +15 -11
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +15 -10
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +18 -13
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +7 -4
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +19 -12
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +12 -7
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +11 -6
- package/dist/collection/components/rtk-button/rtk-button.js +9 -8
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +12 -8
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +16 -10
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +20 -12
- package/dist/collection/components/rtk-chat/rtk-chat.js +19 -11
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +16 -11
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +16 -14
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +34 -26
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +20 -14
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +24 -14
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +11 -8
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +20 -12
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +10 -8
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +18 -11
- package/dist/collection/components/rtk-clock/rtk-clock.js +8 -5
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +11 -6
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +17 -11
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +16 -14
- package/dist/collection/components/rtk-counter/rtk-counter.js +12 -9
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +15 -9
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +13 -8
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +13 -8
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +13 -8
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +18 -11
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +13 -8
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +18 -12
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +17 -10
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +5 -3
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +6 -4
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +7 -5
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +15 -9
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +5 -3
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +9 -6
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +8 -7
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +13 -10
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +16 -10
- package/dist/collection/components/rtk-grid/rtk-grid.js +22 -15
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +14 -9
- package/dist/collection/components/rtk-header/rtk-header.js +17 -11
- package/dist/collection/components/rtk-icon/rtk-icon.js +6 -5
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +11 -6
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +11 -7
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +7 -5
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +11 -7
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -1
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +17 -10
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +14 -9
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +11 -6
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +11 -7
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +11 -7
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +16 -10
- package/dist/collection/components/rtk-logo/rtk-logo.js +9 -6
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +4 -4
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +27 -19
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +7 -4
- package/dist/collection/components/rtk-menu/rtk-menu.js +13 -9
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +10 -7
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +6 -4
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +5 -4
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +19 -17
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +16 -10
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +12 -8
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +31 -19
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +13 -8
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +16 -10
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +11 -6
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +16 -11
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +11 -7
- package/dist/collection/components/rtk-notification/rtk-notification.js +13 -9
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +15 -9
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +11 -6
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +14 -11
- package/dist/collection/components/rtk-participant/rtk-participant.js +15 -9
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +11 -7
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +19 -13
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +26 -17
- package/dist/collection/components/rtk-participants/rtk-participants.js +18 -11
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +7 -4
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +20 -13
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +16 -10
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +18 -11
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +18 -12
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +16 -10
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +11 -6
- package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +9 -5
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +20 -12
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +10 -6
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +15 -9
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +18 -11
- package/dist/collection/components/rtk-poll/rtk-poll.js +12 -8
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +7 -4
- package/dist/collection/components/rtk-polls/rtk-polls.js +13 -8
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +18 -11
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +11 -7
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +15 -10
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +18 -11
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +21 -14
- package/dist/collection/components/rtk-settings/rtk-settings.js +15 -9
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +15 -9
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +16 -10
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +15 -9
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +17 -10
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +23 -14
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +9 -8
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +19 -12
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +14 -9
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +5 -3
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +27 -17
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +11 -7
- package/dist/collection/components/rtk-stage/rtk-stage.js +7 -4
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +18 -11
- package/dist/collection/components/rtk-switch/rtk-switch.js +8 -6
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +18 -11
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +13 -11
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +9 -6
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +3 -3
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +13 -11
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +5 -3
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +9 -5
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +18 -11
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +8 -5
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +6 -4
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +9 -5
- package/dist/collection/utils/livestream.js +1 -1
- package/dist/collection/utils/sync-with-store/ui-store.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -247
- package/dist/components/p-1sLF61J1.js +1 -0
- package/dist/components/p-7zlNLqpS.js +1 -0
- package/dist/components/p-B-k80wnP.js +1 -0
- package/dist/components/p-B1SWgSTZ.js +1 -0
- package/dist/components/p-B1wrArJr.js +1 -0
- package/dist/components/p-B4TnXODX.js +1 -0
- package/dist/components/p-B5-LNbkp.js +1 -0
- package/dist/components/p-B9MPybze.js +1 -0
- package/dist/components/p-BA_UY9k8.js +1 -0
- package/dist/components/p-BBHQOrFK.js +2 -0
- package/dist/{realtimekit-ui/p-598b792e.js → components/p-BCuMxcZN.js} +1 -1
- package/dist/components/p-BEOq_QN5.js +1 -0
- package/dist/components/p-BFTU3MAI.js +1 -0
- package/dist/components/p-BJKSFJeB.js +1 -0
- package/dist/components/p-BOYkqKBb.js +1 -0
- package/dist/components/p-BRbb3tLk.js +1 -0
- package/dist/components/p-BWNToYSb.js +1 -0
- package/dist/components/p-BYIBbfJ8.js +1 -0
- package/dist/components/p-BbJzI1u1.js +1 -0
- package/dist/components/p-BcCYogfR.js +1 -0
- package/dist/components/p-Bf4LuZWa.js +1 -0
- package/dist/{realtimekit-ui/p-1e62d63b.js → components/p-Bj1kNPpe.js} +1 -1
- package/dist/components/p-BjF9F_tX.js +1 -0
- package/dist/components/p-BoGbJ5PX.js +1 -0
- package/dist/components/p-BuZhKlht.js +1 -0
- package/dist/{realtimekit-ui/p-fa9759f4.js → components/p-Bx38FZhs.js} +1 -1
- package/dist/components/p-C-OVY3ug.js +1 -0
- package/dist/components/p-C0H4DNJM.js +1 -0
- package/dist/components/p-C0vp-Q7v.js +1 -0
- package/dist/components/p-C3Z3GLQh.js +1 -0
- package/dist/components/p-C4IJ0f9O.js +1 -0
- package/dist/components/p-C9EBo56b.js +1 -0
- package/dist/components/p-CABfszIM.js +1 -0
- package/dist/components/p-CB5hzEOM.js +1 -0
- package/dist/components/p-CBJjerDR.js +1 -0
- package/dist/components/p-CBLUz_2s.js +1 -0
- package/dist/components/p-CJsXePY3.js +1 -0
- package/dist/components/p-CKX6X8es.js +1 -0
- package/dist/components/p-COEreDeR.js +1 -0
- package/dist/components/p-COZSdc5O.js +1 -0
- package/dist/components/p-CQAMoQlr.js +1 -0
- package/dist/components/p-Cd-WpR0J.js +1 -0
- package/dist/components/p-CdV0xzjB.js +1 -0
- package/dist/components/p-Ce-9kgl0.js +1 -0
- package/dist/components/p-ChuKD7QS.js +1 -0
- package/dist/components/p-Cj44pA_c.js +1 -0
- package/dist/components/p-Cmu_4ZYL.js +1 -0
- package/dist/components/p-CnJQLwM-.js +1 -0
- package/dist/components/p-CpOL3OJd.js +1 -0
- package/dist/components/p-CphAED3J.js +1 -0
- package/dist/components/p-CqEcYX16.js +1 -0
- package/dist/components/p-CrExxJHe.js +1 -0
- package/dist/components/p-D0bZYAmS.js +1 -0
- package/dist/components/p-D1zAGrQ9.js +1 -0
- package/dist/components/p-D6vw6bT2.js +1 -0
- package/dist/{realtimekit-ui/p-6befaf17.js → components/p-D9HGXWKc.js} +1 -1
- package/dist/components/p-DBjcFAtV.js +1 -0
- package/dist/components/p-DCEjf6bL.js +1 -0
- package/dist/components/p-DD3_OTZn.js +1 -0
- package/dist/{realtimekit-ui/p-40be18ee.js → components/p-DDaHXyCC.js} +1 -1
- package/dist/components/p-DEOaS443.js +1 -0
- package/dist/components/p-DHSRRtn3.js +1 -0
- package/dist/components/p-DKjr_UXt.js +1 -0
- package/dist/components/p-DLocSBO3.js +1 -0
- package/dist/components/p-DNkzP2hS.js +1 -0
- package/dist/components/p-DP4RUNa1.js +1 -0
- package/dist/components/p-DU5mNJqK.js +1 -0
- package/dist/components/p-DY8ll5IU.js +1 -0
- package/dist/components/p-DZC8m5f_.js +1 -0
- package/dist/components/p-Daj_55_i.js +1 -0
- package/dist/components/p-DbHOlaHU.js +1 -0
- package/dist/components/p-De8YQHVd.js +1 -0
- package/dist/components/p-Deo_3EhX.js +1 -0
- package/dist/components/p-Df2S0-LE.js +1 -0
- package/dist/components/p-DfWuSKCq.js +1 -0
- package/dist/components/p-Dguuxuf6.js +1 -0
- package/dist/components/p-Dkd2PDJ-.js +1 -0
- package/dist/components/p-DlKMnwxL.js +1 -0
- package/dist/components/p-DmVA5ArE.js +1 -0
- package/dist/components/p-DnQYtb0h.js +1 -0
- package/dist/components/p-DuOnRaMu.js +1 -0
- package/dist/components/p-DxDYE5-a.js +1 -0
- package/dist/components/p-EuNHmu13.js +1 -0
- package/dist/components/p-FVFlyS1y.js +1 -0
- package/dist/components/p-FdeAvICb.js +1 -0
- package/dist/components/p-J1kxEVHe.js +1 -0
- package/dist/components/p-JyC3dswA.js +1 -0
- package/dist/components/p-KpmupjxR.js +1 -0
- package/dist/components/p-L9yK33Cu.js +1 -0
- package/dist/components/p-PXVZ-Szx.js +1 -0
- package/dist/components/p-ViKGg-Ct.js +1 -0
- package/dist/components/p-aS2wpIc0.js +1 -0
- package/dist/components/p-ak2clYhw.js +1 -0
- package/dist/components/p-e-OVL-Mg.js +1 -0
- package/dist/components/p-j2J2Tn1F.js +1 -0
- package/dist/components/p-oXrlIvqH.js +1 -0
- package/dist/components/p-pb5wDMuJ.js +1 -0
- package/dist/components/p-s-jAl7lc.js +1 -0
- package/dist/components/p-sSs7a3Ms.js +1 -0
- package/dist/components/p-t72veIFj.js +1 -0
- package/dist/components/p-uOh9MOi7.js +1 -0
- package/dist/components/p-wemYeTS7.js +1 -0
- package/dist/components/p-wl6GEzgG.js +1 -0
- package/dist/components/p-zBoy9v8V.js +1 -0
- package/dist/components/rtk-ai-toggle.js +1 -122
- package/dist/components/rtk-ai-transcriptions.js +1 -6
- package/dist/components/rtk-ai.js +1 -6
- package/dist/components/rtk-audio-grid.js +1 -145
- package/dist/components/rtk-audio-tile.js +1 -184
- package/dist/components/rtk-audio-visualizer.js +1 -6
- package/dist/components/rtk-avatar.js +1 -6
- package/dist/components/rtk-breakout-room-manager.js +1 -6
- package/dist/components/rtk-breakout-room-participants.js +1 -6
- package/dist/components/rtk-breakout-rooms-manager.js +1 -6
- package/dist/components/rtk-breakout-rooms-toggle.js +1 -128
- package/dist/components/rtk-broadcast-message-modal.js +1 -6
- package/dist/components/rtk-button.js +1 -6
- package/dist/components/rtk-camera-selector.js +1 -6
- package/dist/components/rtk-camera-toggle.js +1 -236
- package/dist/components/rtk-caption-toggle.js +1 -131
- package/dist/components/rtk-chat-composer-ui.js +1 -363
- package/dist/components/rtk-chat-composer-view.js +1 -6
- package/dist/components/rtk-chat-header.js +1 -6
- package/dist/components/rtk-chat-message.js +1 -6
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -6
- package/dist/components/rtk-chat-messages-ui.js +1 -313
- package/dist/components/rtk-chat-search-results.js +1 -147
- package/dist/components/rtk-chat-selector-ui.js +1 -108
- package/dist/components/rtk-chat-selector.js +1 -6
- package/dist/components/rtk-chat-toggle.js +1 -181
- package/dist/components/rtk-chat.js +1 -6
- package/dist/components/rtk-clock.js +1 -128
- package/dist/components/rtk-confirmation-modal.js +1 -6
- package/dist/components/rtk-controlbar-button.js +1 -6
- package/dist/components/rtk-controlbar.js +1 -91
- package/dist/components/rtk-counter.js +1 -6
- package/dist/components/rtk-debugger-audio.js +1 -6
- package/dist/components/rtk-debugger-screenshare.js +1 -6
- package/dist/components/rtk-debugger-system.js +1 -6
- package/dist/components/rtk-debugger-toggle.js +1 -98
- package/dist/components/rtk-debugger-video.js +1 -6
- package/dist/components/rtk-debugger.js +1 -6
- package/dist/components/rtk-dialog-manager.js +1 -310
- package/dist/components/rtk-dialog.js +1 -6
- package/dist/components/rtk-draft-attachment-view.js +1 -6
- package/dist/components/rtk-emoji-picker-button.js +1 -6
- package/dist/components/rtk-emoji-picker.js +1 -6
- package/dist/components/rtk-ended-screen.js +1 -150
- package/dist/components/rtk-file-dropzone.js +1 -87
- package/dist/components/rtk-file-message-view.js +1 -6
- package/dist/components/rtk-file-message.js +1 -6
- package/dist/components/rtk-file-picker-button.js +1 -6
- package/dist/components/rtk-fullscreen-toggle.js +1 -6
- package/dist/components/rtk-grid-pagination.js +1 -206
- package/dist/components/rtk-grid.js +1 -468
- package/dist/components/rtk-header.js +1 -91
- package/dist/components/rtk-icon.js +1 -6
- package/dist/components/rtk-idle-screen.js +1 -139
- package/dist/components/rtk-image-message-view.js +1 -6
- package/dist/components/rtk-image-message.js +1 -6
- package/dist/components/rtk-image-viewer.js +1 -91
- package/dist/components/rtk-information-tooltip.js +1 -61
- package/dist/components/rtk-join-stage.js +1 -6
- package/dist/components/rtk-leave-button.js +1 -87
- package/dist/components/rtk-leave-meeting.js +1 -6
- package/dist/components/rtk-livestream-indicator.js +1 -6
- package/dist/components/rtk-livestream-player.js +1 -6
- package/dist/components/rtk-livestream-toggle.js +1 -181
- package/dist/components/rtk-logo.js +1 -6
- package/dist/components/rtk-markdown-view.js +1 -6
- package/dist/components/rtk-meeting-title.js +1 -74
- package/dist/components/rtk-meeting.js +1 -533
- package/dist/components/rtk-menu-item.js +1 -6
- package/dist/components/rtk-menu-list.js +1 -6
- package/dist/components/rtk-menu.js +1 -6
- package/dist/components/rtk-message-list-view.js +1 -324
- package/dist/components/rtk-message-view.js +1 -6
- package/dist/components/rtk-mic-toggle.js +1 -234
- package/dist/components/rtk-microphone-selector.js +1 -6
- package/dist/components/rtk-mixed-grid.js +1 -300
- package/dist/components/rtk-more-toggle.js +1 -112
- package/dist/components/rtk-mute-all-button.js +1 -127
- package/dist/components/rtk-mute-all-confirmation.js +1 -6
- package/dist/components/rtk-name-tag.js +1 -6
- package/dist/components/rtk-network-indicator.js +1 -117
- package/dist/components/rtk-notification.js +1 -6
- package/dist/components/rtk-notifications.js +1 -637
- package/dist/components/rtk-overlay-modal.js +1 -6
- package/dist/components/rtk-paginated-list.js +1 -6
- package/dist/components/rtk-participant-count.js +1 -118
- package/dist/components/rtk-participant-setup.js +1 -149
- package/dist/components/rtk-participant-tile.js +1 -6
- package/dist/components/rtk-participant.js +1 -6
- package/dist/components/rtk-participants-audio.js +1 -249
- package/dist/components/rtk-participants-stage-list.js +1 -6
- package/dist/components/rtk-participants-stage-queue.js +1 -6
- package/dist/components/rtk-participants-toggle.js +1 -195
- package/dist/components/rtk-participants-viewer-list.js +1 -6
- package/dist/components/rtk-participants-waiting-list.js +1 -6
- package/dist/components/rtk-participants.js +1 -306
- package/dist/components/rtk-permissions-message.js +1 -6
- package/dist/components/rtk-pinned-message-selector.js +1 -6
- package/dist/components/rtk-pip-toggle.js +1 -135
- package/dist/components/rtk-plugin-main.js +1 -6
- package/dist/components/rtk-plugins-toggle.js +1 -148
- package/dist/components/rtk-plugins.js +1 -6
- package/dist/components/rtk-poll-form.js +1 -6
- package/dist/components/rtk-poll.js +1 -6
- package/dist/components/rtk-polls-toggle.js +1 -160
- package/dist/components/rtk-polls.js +1 -6
- package/dist/components/rtk-recording-indicator.js +1 -96
- package/dist/components/rtk-recording-toggle.js +1 -203
- package/dist/components/rtk-screen-share-toggle.js +1 -317
- package/dist/components/rtk-screenshare-view.js +1 -194
- package/dist/components/rtk-settings-audio.js +1 -6
- package/dist/components/rtk-settings-toggle.js +1 -93
- package/dist/components/rtk-settings-video.js +1 -6
- package/dist/components/rtk-settings.js +1 -208
- package/dist/components/rtk-setup-screen.js +1 -215
- package/dist/components/rtk-sidebar-ui.js +1 -6
- package/dist/components/rtk-sidebar.js +1 -253
- package/dist/components/rtk-simple-grid.js +1 -149
- package/dist/components/rtk-speaker-selector.js +1 -6
- package/dist/components/rtk-spinner.js +1 -6
- package/dist/components/rtk-spotlight-grid.js +1 -135
- package/dist/components/rtk-spotlight-indicator.js +1 -6
- package/dist/components/rtk-stage-toggle.js +1 -195
- package/dist/components/rtk-stage.js +1 -61
- package/dist/components/rtk-switch.js +1 -6
- package/dist/components/rtk-tab-bar.js +1 -6
- package/dist/components/rtk-text-composer-view.js +1 -6
- package/dist/components/rtk-text-message-view.js +1 -6
- package/dist/components/rtk-text-message.js +1 -6
- package/dist/components/rtk-tooltip.js +1 -6
- package/dist/components/rtk-transcript.js +1 -6
- package/dist/components/rtk-transcripts.js +1 -199
- package/dist/components/rtk-ui-provider.js +1 -281
- package/dist/components/rtk-viewer-count.js +1 -6
- package/dist/components/rtk-virtualized-participant-list.js +1 -6
- package/dist/components/rtk-waiting-screen.js +1 -77
- package/dist/docs/docs-components.d.ts +37 -0
- package/dist/docs/docs-components.json +5693 -3069
- package/dist/docs/docs-vscode.json +78 -78
- package/dist/esm/ChatHead-BV_pLIJ6.js +9 -0
- package/dist/{components/p-1a950769.js → esm/TextMessage-DRvjfMBy.js} +9 -11
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/breakout-rooms-Daj_55_i.js +64 -0
- package/dist/esm/breakout-rooms-manager-B1Qky9zO.js +301 -0
- package/dist/esm/{chat-1107a64f.js → chat-Zou036qQ.js} +1 -1
- package/dist/{components/p-9f0c9162.js → esm/config-BYcrCEso.js} +5 -4
- package/dist/esm/debounce-BLQbB67V.js +657 -0
- package/dist/{components/p-1dca17d1.js → esm/debounce-BYqYBLuN.js} +4 -6
- package/dist/{components/p-47314bc7.js → esm/file-6Fkktc2w.js} +1 -1
- package/dist/esm/{floating-ui.dom.esm-78a1e61c.js → floating-ui.dom-B1SWgSTZ.js} +3 -310
- package/dist/esm/hark-Dwnntwzh.js +320 -0
- package/dist/{components/p-bd10fae6.js → esm/index-7w76SzJW.js} +2 -2
- package/dist/{components/p-88bd1053.js → esm/index-BUsisVB6.js} +22 -31
- package/dist/esm/{index-55463a54.js → index-gJCRRBX0.js} +1198 -549
- package/dist/esm/index.js +13 -10
- package/dist/esm/livestream-C0vp-Q7v.js +73 -0
- package/dist/esm/loader.js +3614 -2781
- package/dist/{components/p-556de366.js → esm/merge-CiWMx7_3.js} +133 -15
- package/dist/{components/p-598b792e.js → esm/notification-DcR6dHfn.js} +1 -1
- package/dist/esm/realtimekit-ui.js +6 -5
- package/dist/esm/rtk-ai-toggle.entry.js +8 -7
- package/dist/esm/rtk-ai-transcriptions.entry.js +15 -12
- package/dist/esm/rtk-ai_3.entry.js +19 -15
- package/dist/esm/rtk-audio-grid.entry.js +12 -8
- package/dist/esm/rtk-audio-tile.entry.js +13 -8
- package/dist/esm/rtk-audio-visualizer_4.entry.js +26 -21
- package/dist/esm/rtk-avatar_26.entry.js +116 -117
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +25 -17
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +33 -34
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +9 -7
- package/dist/esm/rtk-camera-selector_2.entry.js +20 -13
- package/dist/esm/rtk-camera-toggle.entry.js +8 -7
- package/dist/esm/rtk-caption-toggle.entry.js +11 -7
- package/dist/esm/rtk-chat-composer-ui.entry.js +9 -7
- package/dist/esm/rtk-chat-message.entry.js +8 -6
- package/dist/esm/rtk-chat-messages-ui.entry.js +16 -10
- package/dist/esm/rtk-chat-search-results.entry.js +8 -6
- package/dist/esm/rtk-chat-selector-ui.entry.js +9 -7
- package/dist/esm/rtk-chat-toggle.entry.js +16 -10
- package/dist/esm/rtk-clock.entry.js +11 -8
- package/dist/esm/rtk-controlbar-button.entry.js +5 -6
- package/dist/esm/rtk-controlbar.entry.js +9 -7
- package/dist/esm/rtk-debugger-audio_4.entry.js +42 -46
- package/dist/esm/rtk-debugger-toggle.entry.js +5 -6
- package/dist/esm/rtk-dialog-manager.entry.js +9 -8
- package/dist/esm/rtk-dialog.entry.js +5 -6
- package/dist/esm/rtk-ended-screen.entry.js +11 -7
- package/dist/esm/rtk-file-dropzone.entry.js +8 -6
- package/dist/esm/rtk-file-message_3.entry.js +11 -12
- package/dist/esm/rtk-fullscreen-toggle.entry.js +6 -7
- package/dist/esm/rtk-grid-pagination.entry.js +17 -13
- package/dist/esm/rtk-grid.entry.js +27 -16
- package/dist/esm/rtk-header.entry.js +9 -7
- package/dist/esm/rtk-idle-screen.entry.js +14 -8
- package/dist/esm/rtk-image-viewer.entry.js +7 -8
- package/dist/esm/rtk-information-tooltip.entry.js +8 -6
- package/dist/esm/rtk-leave-button.entry.js +5 -6
- package/dist/esm/rtk-livestream-indicator_3.entry.js +26 -35
- package/dist/esm/rtk-livestream-toggle.entry.js +9 -7
- package/dist/esm/rtk-logo.entry.js +14 -8
- package/dist/esm/rtk-meeting-title.entry.js +5 -6
- package/dist/esm/rtk-message-list-view.entry.js +12 -8
- package/dist/esm/rtk-mic-toggle.entry.js +8 -7
- package/dist/esm/rtk-mixed-grid.entry.js +16 -11
- package/dist/esm/rtk-more-toggle.entry.js +5 -6
- package/dist/esm/rtk-mute-all-button.entry.js +11 -7
- package/dist/esm/rtk-name-tag.entry.js +9 -8
- package/dist/esm/rtk-network-indicator.entry.js +11 -7
- package/dist/esm/rtk-notification.entry.js +13 -10
- package/dist/esm/rtk-notifications.entry.js +21 -13
- package/dist/esm/rtk-participant-count.entry.js +9 -7
- package/dist/esm/rtk-participant-setup.entry.js +14 -8
- package/dist/esm/rtk-participant_2.entry.js +24 -21
- package/dist/esm/rtk-participants-audio.entry.js +10 -8
- package/dist/esm/rtk-participants-stage-list_4.entry.js +33 -22
- package/dist/esm/rtk-participants-toggle.entry.js +16 -10
- package/dist/esm/rtk-participants.entry.js +15 -9
- package/dist/esm/rtk-pip-toggle.entry.js +11 -7
- package/dist/esm/rtk-plugin-main_2.entry.js +11 -11
- package/dist/esm/rtk-plugins-toggle.entry.js +16 -10
- package/dist/esm/rtk-poll_2.entry.js +8 -10
- package/dist/esm/rtk-polls-toggle.entry.js +16 -10
- package/dist/esm/rtk-recording-indicator.entry.js +8 -7
- package/dist/esm/rtk-recording-toggle.entry.js +8 -7
- package/dist/esm/rtk-screen-share-toggle.entry.js +8 -7
- package/dist/esm/rtk-screenshare-view.entry.js +9 -8
- package/dist/esm/rtk-settings-audio_2.entry.js +10 -10
- package/dist/esm/rtk-settings-toggle.entry.js +5 -6
- package/dist/esm/rtk-settings.entry.js +8 -7
- package/dist/esm/rtk-setup-screen.entry.js +11 -10
- package/dist/esm/rtk-sidebar-ui.entry.js +11 -7
- package/dist/esm/rtk-sidebar.entry.js +17 -11
- package/dist/esm/rtk-simple-grid.entry.js +11 -10
- package/dist/esm/rtk-spotlight-grid.entry.js +7 -8
- package/dist/esm/rtk-spotlight-indicator.entry.js +8 -7
- package/dist/esm/rtk-stage-toggle.entry.js +11 -7
- package/dist/esm/rtk-stage.entry.js +5 -6
- package/dist/esm/rtk-transcript.entry.js +8 -7
- package/dist/esm/rtk-transcripts.entry.js +14 -8
- package/dist/esm/rtk-ui-provider.entry.js +28 -16
- package/dist/esm/rtk-waiting-screen.entry.js +8 -6
- package/dist/{components/p-a3fc952e.js → esm/sidebar-B3trLKC3.js} +1 -1
- package/dist/{components/p-d5a12339.js → esm/ui-store-BtrgoOOT.js} +258 -762
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/p-04237239.entry.js +1 -0
- package/dist/realtimekit-ui/p-070294a1.entry.js +1 -0
- package/dist/realtimekit-ui/p-088325e7.entry.js +1 -0
- package/dist/realtimekit-ui/p-0d5719ea.entry.js +1 -0
- package/dist/realtimekit-ui/p-0fe1ced3.entry.js +1 -0
- package/dist/realtimekit-ui/p-105e4115.entry.js +1 -0
- package/dist/realtimekit-ui/{p-30fa04e9.entry.js → p-117f34c2.entry.js} +1 -1
- package/dist/realtimekit-ui/p-12fdd525.entry.js +1 -0
- package/dist/realtimekit-ui/{p-069cc080.entry.js → p-149c0b9c.entry.js} +1 -1
- package/dist/realtimekit-ui/p-15d96f62.entry.js +1 -0
- package/dist/realtimekit-ui/p-16fe4fca.entry.js +1 -0
- package/dist/realtimekit-ui/p-17690ef8.entry.js +1 -0
- package/dist/realtimekit-ui/p-1ae8c9ea.entry.js +1 -0
- package/dist/realtimekit-ui/p-1f114cc0.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d93b1e9c.entry.js → p-213b9942.entry.js} +1 -1
- package/dist/realtimekit-ui/p-243e3c22.entry.js +1 -0
- package/dist/realtimekit-ui/p-25374ae7.entry.js +1 -0
- package/dist/realtimekit-ui/{p-71a44776.entry.js → p-26ba0489.entry.js} +1 -1
- package/dist/realtimekit-ui/p-27dcaef7.entry.js +1 -0
- package/dist/realtimekit-ui/p-2906e52d.entry.js +1 -0
- package/dist/realtimekit-ui/{p-58b2f1a1.entry.js → p-2baa2443.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2bd8f726.entry.js +1 -0
- package/dist/realtimekit-ui/p-2c5a9a4d.entry.js +1 -0
- package/dist/realtimekit-ui/p-2f438543.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b5f0c31d.entry.js → p-34ebceb7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-3df3b56b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-03db9946.entry.js → p-3f297e22.entry.js} +1 -1
- package/dist/realtimekit-ui/p-405addc8.entry.js +1 -0
- package/dist/realtimekit-ui/p-450803e1.entry.js +1 -0
- package/dist/realtimekit-ui/p-49f22238.entry.js +1 -0
- package/dist/realtimekit-ui/{p-4b9450d3.entry.js → p-49feda1f.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4c1b7ee2.entry.js +1 -0
- package/dist/realtimekit-ui/{p-234a709e.entry.js → p-4f264d60.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-64b59d46.entry.js → p-560dcff9.entry.js} +1 -1
- package/dist/realtimekit-ui/p-56261662.entry.js +1 -0
- package/dist/realtimekit-ui/p-5a1918a1.entry.js +1 -0
- package/dist/realtimekit-ui/p-5bd05c88.entry.js +1 -0
- package/dist/realtimekit-ui/p-5c5ca185.entry.js +1 -0
- package/dist/realtimekit-ui/p-6092b383.entry.js +1 -0
- package/dist/realtimekit-ui/p-650339c3.entry.js +1 -0
- package/dist/realtimekit-ui/p-65c856c3.entry.js +1 -0
- package/dist/realtimekit-ui/p-69ddb3a9.entry.js +1 -0
- package/dist/realtimekit-ui/p-6bc7af7a.entry.js +1 -0
- package/dist/realtimekit-ui/p-73bd1b57.entry.js +1 -0
- package/dist/realtimekit-ui/p-768c3c20.entry.js +1 -0
- package/dist/realtimekit-ui/p-779bd93e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-72461b1f.entry.js → p-7d4e36b0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1b26c15d.entry.js → p-7ff08b19.entry.js} +1 -1
- package/dist/realtimekit-ui/p-836455f1.entry.js +1 -0
- package/dist/realtimekit-ui/p-8dcf542b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-91795fd7.entry.js → p-9810aada.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9b089f06.entry.js +1 -0
- package/dist/realtimekit-ui/p-9b93c273.entry.js +1 -0
- package/dist/realtimekit-ui/p-9c5cf5a3.entry.js +1 -0
- package/dist/realtimekit-ui/p-9cb3685c.entry.js +1 -0
- package/dist/realtimekit-ui/p-B1SWgSTZ.js +1 -0
- package/dist/realtimekit-ui/{p-7e3c2d64.js → p-BCaKYPpD.js} +1 -1
- package/dist/realtimekit-ui/p-BCuMxcZN.js +1 -0
- package/dist/realtimekit-ui/p-BFTU3MAI.js +1 -0
- package/dist/realtimekit-ui/p-BIplIdLH.js +1 -0
- package/dist/realtimekit-ui/p-BJvHNbaa.js +1 -0
- package/dist/realtimekit-ui/p-BSWYrdZA.js +1 -0
- package/dist/realtimekit-ui/p-BWNToYSb.js +1 -0
- package/dist/realtimekit-ui/p-Bbls2zyp.js +1 -0
- package/dist/realtimekit-ui/p-C0vp-Q7v.js +1 -0
- package/dist/realtimekit-ui/p-C5Ah4uY5.js +1 -0
- package/dist/realtimekit-ui/p-CAqYddlg.js +1 -0
- package/dist/realtimekit-ui/{p-eccb6d78.js → p-CTFO-5XH.js} +1 -1
- package/dist/realtimekit-ui/p-CmmyVCoN.js +1 -0
- package/dist/realtimekit-ui/p-CqWk07gT.js +1 -0
- package/dist/realtimekit-ui/p-D9HGXWKc.js +1 -0
- package/dist/realtimekit-ui/p-Daj_55_i.js +1 -0
- package/dist/realtimekit-ui/p-Dg4b2aZr.js +1 -0
- package/dist/realtimekit-ui/p-DpAk_WQ6.js +1 -0
- package/dist/realtimekit-ui/p-DxDYE5-a.js +1 -0
- package/dist/realtimekit-ui/p-FdeAvICb.js +1 -0
- package/dist/realtimekit-ui/p-GSFejkz7.js +1 -0
- package/dist/realtimekit-ui/{p-3306b122.entry.js → p-a060fa07.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e0426f17.entry.js → p-a8b77530.entry.js} +1 -1
- package/dist/realtimekit-ui/p-ae94a77b.entry.js +1 -0
- package/dist/realtimekit-ui/p-b77aab62.entry.js +1 -0
- package/dist/realtimekit-ui/p-b81bfd1b.entry.js +1 -0
- package/dist/realtimekit-ui/p-bb7b542e.entry.js +1 -0
- package/dist/realtimekit-ui/p-c0fb33e4.entry.js +1 -0
- package/dist/realtimekit-ui/{p-88a01a0c.entry.js → p-c25c6602.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d0baf267.entry.js +1 -0
- package/dist/realtimekit-ui/p-d39bd2e9.entry.js +1 -0
- package/dist/realtimekit-ui/p-d5ccf7d6.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b89873a4.entry.js → p-d75ea8a3.entry.js} +1 -1
- package/dist/realtimekit-ui/p-db957a5c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d4a2594a.entry.js → p-ddd3808d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e0837ae7.entry.js +1 -0
- package/dist/realtimekit-ui/p-e12de42e.entry.js +1 -0
- package/dist/realtimekit-ui/p-e2f9a4fc.entry.js +1 -0
- package/dist/realtimekit-ui/{p-20390946.entry.js → p-e5293ed6.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e87aa0f9.entry.js +1 -0
- package/dist/realtimekit-ui/p-e8823daa.entry.js +1 -0
- package/dist/realtimekit-ui/p-f101d6f9.entry.js +1 -0
- package/dist/realtimekit-ui/p-f4c228c8.entry.js +1 -0
- package/dist/realtimekit-ui/p-f5688e34.entry.js +1 -0
- package/dist/realtimekit-ui/p-fb973221.entry.js +1 -0
- package/dist/realtimekit-ui/p-fcde019e.entry.js +1 -0
- package/dist/realtimekit-ui/p-fd29249a.entry.js +1 -0
- package/dist/realtimekit-ui/p-gJCRRBX0.js +2 -0
- package/dist/realtimekit-ui/p-jvwnrxra.js +1 -0
- package/dist/realtimekit-ui/p-t72veIFj.js +1 -0
- package/dist/realtimekit-ui/p-uIA60Puf.js +1 -0
- package/dist/realtimekit-ui/p-vBfDtD_u.js +1 -0
- package/dist/realtimekit-ui/p-wWDkfcFk.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -1
- package/dist/types/components.d.ts +1752 -255
- package/dist/types/stencil-public-runtime.d.ts +193 -12
- package/dist/types/utils/livestream.d.ts +60 -0
- package/dist/types/utils/sync-with-store/ui-store.d.ts +1 -1
- package/package.json +2 -3
- package/dist/cjs/ChatHead-777e6a2d.js +0 -13
- package/dist/cjs/debounce-6080cc73.js +0 -544
- package/dist/cjs/hark-c97d0a59.js +0 -301
- package/dist/components/p-00568bea.js +0 -159
- package/dist/components/p-026049ee.js +0 -81
- package/dist/components/p-03e354cd.js +0 -82
- package/dist/components/p-04ac37d4.js +0 -69
- package/dist/components/p-0529c72c.js +0 -218
- package/dist/components/p-084f7d6c.js +0 -95
- package/dist/components/p-08e39399.js +0 -199
- package/dist/components/p-0db812c2.js +0 -189
- package/dist/components/p-0e02697c.js +0 -85
- package/dist/components/p-1a7dd46a.js +0 -390
- package/dist/components/p-1cb276df.js +0 -104
- package/dist/components/p-240d48d1.js +0 -96
- package/dist/components/p-278a613b.js +0 -115
- package/dist/components/p-29e60132.js +0 -437
- package/dist/components/p-2f2b07a1.js +0 -168
- package/dist/components/p-303a7f1f.js +0 -122
- package/dist/components/p-32b95100.js +0 -128
- package/dist/components/p-32f14b1a.js +0 -260
- package/dist/components/p-36ad7fe2.js +0 -98
- package/dist/components/p-38d22d57.js +0 -11
- package/dist/components/p-3ae130f7.js +0 -178
- package/dist/components/p-3e0452c4.js +0 -48
- package/dist/components/p-3eedb9db.js +0 -68
- package/dist/components/p-3f882e7c.js +0 -299
- package/dist/components/p-42c2e598.js +0 -103
- package/dist/components/p-4351785c.js +0 -103
- package/dist/components/p-467abb0c.js +0 -159
- package/dist/components/p-48b6fb95.js +0 -327
- package/dist/components/p-4e02ee0f.js +0 -131
- package/dist/components/p-51b6f520.js +0 -43
- package/dist/components/p-549ab58f.js +0 -108
- package/dist/components/p-5654365f.js +0 -94
- package/dist/components/p-592cd396.js +0 -105
- package/dist/components/p-5995471c.js +0 -125
- package/dist/components/p-5c55e43b.js +0 -115
- package/dist/components/p-5d3174d1.js +0 -127
- package/dist/components/p-632cbbe7.js +0 -164
- package/dist/components/p-695e5dc5.js +0 -223
- package/dist/components/p-6a0a1a25.js +0 -101
- package/dist/components/p-6bd3b29c.js +0 -97
- package/dist/components/p-6c6cefb0.js +0 -224
- package/dist/components/p-70c0c7ce.js +0 -179
- package/dist/components/p-78db5933.js +0 -92
- package/dist/components/p-7d8d9693.js +0 -119
- package/dist/components/p-8133c228.js +0 -79
- package/dist/components/p-82df4307.js +0 -114
- package/dist/components/p-84deab1d.js +0 -126
- package/dist/components/p-85587a5c.js +0 -50
- package/dist/components/p-92ac782c.js +0 -37205
- package/dist/components/p-95721bd2.js +0 -159
- package/dist/components/p-96be6716.js +0 -120
- package/dist/components/p-9c89d7b1.js +0 -131
- package/dist/components/p-9f5d24b0.js +0 -191
- package/dist/components/p-a0a863fa.js +0 -61
- package/dist/components/p-a3c85ced.js +0 -177
- package/dist/components/p-a6cf88b5.js +0 -146
- package/dist/components/p-a83ccdbd.js +0 -40
- package/dist/components/p-a9d577bb.js +0 -271
- package/dist/components/p-ab37c121.js +0 -181
- package/dist/components/p-ae373651.js +0 -4028
- package/dist/components/p-b1a93be0.js +0 -1945
- package/dist/components/p-b1a9a7c4.js +0 -214
- package/dist/components/p-b1aeb013.js +0 -113
- package/dist/components/p-b29d03cf.js +0 -77
- package/dist/components/p-b4068392.js +0 -60
- package/dist/components/p-b75297d7.js +0 -299
- package/dist/components/p-b98fd0eb.js +0 -102
- package/dist/components/p-bece0226.js +0 -141
- package/dist/components/p-bf64e0af.js +0 -76
- package/dist/components/p-c3c8f309.js +0 -127
- package/dist/components/p-c82e13b1.js +0 -92
- package/dist/components/p-c9f704c4.js +0 -349
- package/dist/components/p-cbdd7a99.js +0 -542
- package/dist/components/p-cedfbbd4.js +0 -105
- package/dist/components/p-cf1903b1.js +0 -60
- package/dist/components/p-d411c80b.js +0 -463
- package/dist/components/p-d48b4170.js +0 -159
- package/dist/components/p-d83124b1.js +0 -86
- package/dist/components/p-de0b23a0.js +0 -210
- package/dist/components/p-e0129657.js +0 -201
- package/dist/components/p-e8809896.js +0 -147
- package/dist/components/p-ea359bb7.js +0 -90
- package/dist/components/p-ea4aa3bf.js +0 -86
- package/dist/components/p-ed0fad6d.js +0 -166
- package/dist/components/p-efabd2ce.js +0 -58
- package/dist/components/p-f179a6ff.js +0 -80
- package/dist/components/p-f867ebba.js +0 -122
- package/dist/components/p-f9cbb223.js +0 -127
- package/dist/components/p-f9f08610.js +0 -157
- package/dist/esm/ChatHead-148558a8.js +0 -11
- package/dist/esm/ResizeObserver.es-02979d4e.js +0 -928
- package/dist/esm/TextMessage-0ab2db20.js +0 -67
- package/dist/esm/browser-24d8ab3e.js +0 -3
- package/dist/esm/config-f3f01b9a.js +0 -352
- package/dist/esm/date-b1f78dea.js +0 -32
- package/dist/esm/debounce-0169a54d.js +0 -542
- package/dist/esm/debounce-430cbf00.js +0 -329
- package/dist/esm/file-6114f1a9.js +0 -57
- package/dist/esm/full-screen-d36ffc68.js +0 -50
- package/dist/esm/grid-a3ca5a3e.js +0 -96
- package/dist/esm/hark-6327d91e.js +0 -299
- package/dist/esm/index-3f51790f.js +0 -224
- package/dist/esm/index-b81ca899.js +0 -92
- package/dist/esm/init-error-ff5ead9a.js +0 -26
- package/dist/esm/join-error-e87be64a.js +0 -29
- package/dist/esm/merge-201ecd5c.js +0 -820
- package/dist/esm/notification-1ebf7700.js +0 -37
- package/dist/esm/scroll-2d8e810c.js +0 -13
- package/dist/esm/sidebar-a13dc215.js +0 -49
- package/dist/esm/ui-store-1bc7abc6.js +0 -4033
- package/dist/realtimekit-ui/p-012cd22a.entry.js +0 -1
- package/dist/realtimekit-ui/p-026e8157.entry.js +0 -1
- package/dist/realtimekit-ui/p-083e53cc.entry.js +0 -1
- package/dist/realtimekit-ui/p-0bd95245.entry.js +0 -1
- package/dist/realtimekit-ui/p-1e19ef2c.entry.js +0 -1
- package/dist/realtimekit-ui/p-217dcd9f.entry.js +0 -1
- package/dist/realtimekit-ui/p-26ffb189.entry.js +0 -1
- package/dist/realtimekit-ui/p-3540d2b0.entry.js +0 -1
- package/dist/realtimekit-ui/p-3707f1e0.entry.js +0 -1
- package/dist/realtimekit-ui/p-39c48b22.entry.js +0 -1
- package/dist/realtimekit-ui/p-3f882e7c.js +0 -1
- package/dist/realtimekit-ui/p-41fa7b4f.js +0 -1
- package/dist/realtimekit-ui/p-44fb5d40.entry.js +0 -1
- package/dist/realtimekit-ui/p-4564c9ff.entry.js +0 -1
- package/dist/realtimekit-ui/p-4ec77793.js +0 -1
- package/dist/realtimekit-ui/p-548f72ee.entry.js +0 -1
- package/dist/realtimekit-ui/p-5564adad.entry.js +0 -1
- package/dist/realtimekit-ui/p-5623d82e.entry.js +0 -1
- package/dist/realtimekit-ui/p-5862bcba.entry.js +0 -1
- package/dist/realtimekit-ui/p-62c4d1ba.entry.js +0 -1
- package/dist/realtimekit-ui/p-667c84b1.js +0 -1
- package/dist/realtimekit-ui/p-6b177ee6.entry.js +0 -1
- package/dist/realtimekit-ui/p-6c9a2464.entry.js +0 -1
- package/dist/realtimekit-ui/p-7649168e.entry.js +0 -1
- package/dist/realtimekit-ui/p-76f87172.entry.js +0 -1
- package/dist/realtimekit-ui/p-79060698.entry.js +0 -1
- package/dist/realtimekit-ui/p-7bdd688b.entry.js +0 -1
- package/dist/realtimekit-ui/p-7e4a3510.entry.js +0 -1
- package/dist/realtimekit-ui/p-80be0156.entry.js +0 -1
- package/dist/realtimekit-ui/p-85818728.entry.js +0 -1
- package/dist/realtimekit-ui/p-873a645c.entry.js +0 -1
- package/dist/realtimekit-ui/p-8c971978.entry.js +0 -1
- package/dist/realtimekit-ui/p-8cc4f116.entry.js +0 -1
- package/dist/realtimekit-ui/p-8edfe6fa.entry.js +0 -1
- package/dist/realtimekit-ui/p-8fa0ea33.entry.js +0 -1
- package/dist/realtimekit-ui/p-91c8f9d1.entry.js +0 -1
- package/dist/realtimekit-ui/p-93f88675.entry.js +0 -1
- package/dist/realtimekit-ui/p-9727a165.js +0 -1
- package/dist/realtimekit-ui/p-a0471508.entry.js +0 -1
- package/dist/realtimekit-ui/p-a056fd35.entry.js +0 -1
- package/dist/realtimekit-ui/p-a2693bee.entry.js +0 -1
- package/dist/realtimekit-ui/p-a47c017b.entry.js +0 -1
- package/dist/realtimekit-ui/p-a599f720.js +0 -2
- package/dist/realtimekit-ui/p-a9ab826e.entry.js +0 -1
- package/dist/realtimekit-ui/p-ae0bb894.js +0 -1
- package/dist/realtimekit-ui/p-b1a93be0.js +0 -1
- package/dist/realtimekit-ui/p-b27886ff.entry.js +0 -1
- package/dist/realtimekit-ui/p-b3f1ad3b.entry.js +0 -1
- package/dist/realtimekit-ui/p-b86e3e01.entry.js +0 -1
- package/dist/realtimekit-ui/p-bde05d24.entry.js +0 -1
- package/dist/realtimekit-ui/p-c57e0778.entry.js +0 -1
- package/dist/realtimekit-ui/p-c6a8ef1e.entry.js +0 -1
- package/dist/realtimekit-ui/p-c8bc3bb1.entry.js +0 -1
- package/dist/realtimekit-ui/p-c8f7b427.entry.js +0 -1
- package/dist/realtimekit-ui/p-c9d62ba7.entry.js +0 -1
- package/dist/realtimekit-ui/p-cbdd7a99.js +0 -1
- package/dist/realtimekit-ui/p-d0959773.entry.js +0 -1
- package/dist/realtimekit-ui/p-d59e0ecc.entry.js +0 -1
- package/dist/realtimekit-ui/p-d790f2be.entry.js +0 -1
- package/dist/realtimekit-ui/p-d7fd359f.entry.js +0 -1
- package/dist/realtimekit-ui/p-daf01d45.entry.js +0 -1
- package/dist/realtimekit-ui/p-db2a6aed.entry.js +0 -1
- package/dist/realtimekit-ui/p-de170ad4.entry.js +0 -1
- package/dist/realtimekit-ui/p-de31f5b0.entry.js +0 -1
- package/dist/realtimekit-ui/p-deaae495.entry.js +0 -1
- package/dist/realtimekit-ui/p-e59cc7d0.entry.js +0 -1
- package/dist/realtimekit-ui/p-ea03b1a0.entry.js +0 -1
- package/dist/realtimekit-ui/p-ede50497.entry.js +0 -1
- package/dist/realtimekit-ui/p-f47d4fe8.js +0 -1
- package/dist/realtimekit-ui/p-f52fdfb4.entry.js +0 -1
- package/dist/realtimekit-ui/p-fd80c28e.entry.js +0 -1
- package/dist/realtimekit-ui/p-ff971eea.entry.js +0 -1
- package/loader/package.json +0 -11
- /package/dist/cjs/{ResizeObserver.es-ba961f16.js → ResizeObserver.es-26EdCpEA.js} +0 -0
- /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
- /package/dist/cjs/{browser-5538db4d.js → browser-qKzDfwbO.js} +0 -0
- /package/dist/cjs/{date-61ffcd0a.js → date-CObAPgSZ.js} +0 -0
- /package/dist/cjs/{full-screen-b02d13dd.js → full-screen-BRlJJI9n.js} +0 -0
- /package/dist/cjs/{grid-edc342a7.js → grid-D_7WOWNI.js} +0 -0
- /package/dist/cjs/{init-error-70ccf3b6.js → init-error-DIWXbjwA.js} +0 -0
- /package/dist/cjs/{join-error-c1eed98e.js → join-error-CZSJQxsP.js} +0 -0
- /package/dist/cjs/{scroll-c6404609.js → scroll-uQ4eWvC-.js} +0 -0
- /package/dist/cjs/{string-9bce3253.js → string-C1A6N-tA.js} +0 -0
- /package/dist/{realtimekit-ui/p-0752f2ba.js → components/p-BIplIdLH.js} +0 -0
- /package/dist/{realtimekit-ui/p-05186172.js → components/p-CAqYddlg.js} +0 -0
- /package/dist/{realtimekit-ui/p-b13ddb7d.js → components/p-CmmyVCoN.js} +0 -0
- /package/dist/{realtimekit-ui/p-3974d97a.js → components/p-GSFejkz7.js} +0 -0
- /package/dist/{realtimekit-ui/p-382270d8.js → components/p-jvwnrxra.js} +0 -0
- /package/dist/{realtimekit-ui/p-f7c2daba.js → components/p-vBfDtD_u.js} +0 -0
- /package/dist/{realtimekit-ui/p-cfa0b5c7.js → components/p-wWDkfcFk.js} +0 -0
- /package/dist/{components/p-f47d4fe8.js → esm/ResizeObserver.es-FdeAvICb.js} +0 -0
- /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
- /package/dist/{components/p-05186172.js → esm/browser-CAqYddlg.js} +0 -0
- /package/dist/{components/p-382270d8.js → esm/date-jvwnrxra.js} +0 -0
- /package/dist/{components/p-3974d97a.js → esm/full-screen-GSFejkz7.js} +0 -0
- /package/dist/{components/p-b13ddb7d.js → esm/grid-CmmyVCoN.js} +0 -0
- /package/dist/{components/p-cfa0b5c7.js → esm/init-error-wWDkfcFk.js} +0 -0
- /package/dist/{components/p-f7c2daba.js → esm/join-error-vBfDtD_u.js} +0 -0
- /package/dist/{components/p-0752f2ba.js → esm/scroll-BIplIdLH.js} +0 -0
- /package/dist/esm/{string-068ce30a.js → string-vBD2htwQ.js} +0 -0
- /package/dist/realtimekit-ui/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
- /package/dist/realtimekit-ui/{p-6f211c3e.js → p-vBD2htwQ.js} +0 -0
|
@@ -1,390 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as createEvent, h, c as Host } from './p-ae373651.js';
|
|
2
|
-
import { e as defaultIconPack, i as useLanguage, I as resetRoomCount, B as BreakoutRoomsManager, H as participantIdentifier } from './p-d5a12339.js';
|
|
3
|
-
import { S as SyncWithStore } from './p-bd10fae6.js';
|
|
4
|
-
import { d as defineCustomElement$8 } from './p-ea359bb7.js';
|
|
5
|
-
import { d as defineCustomElement$7 } from './p-a9d577bb.js';
|
|
6
|
-
import { d as defineCustomElement$6 } from './p-3ae130f7.js';
|
|
7
|
-
import { d as defineCustomElement$5 } from './p-85587a5c.js';
|
|
8
|
-
import { d as defineCustomElement$4 } from './p-cedfbbd4.js';
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-3e0452c4.js';
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-cf1903b1.js';
|
|
11
|
-
import { d as defineCustomElement$1 } from './p-bece0226.js';
|
|
12
|
-
|
|
13
|
-
const rtkBreakoutRoomsManagerCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.color-brand{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.color-danger{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.loading-content{height:var(--rtk-space-60, 240px);width:var(--rtk-space-96, 384px);padding:var(--rtk-space-9, 36px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));display:flex;align-items:center;justify-content:center}.room-config{overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));display:flex;flex-direction:column;width:var(--rtk-space-96, 384px);padding-left:var(--rtk-space-9, 36px);padding-right:var(--rtk-space-9, 36px);padding-top:var(--rtk-space-10, 40px);padding-bottom:var(--rtk-space-10, 40px)}header{margin-bottom:var(--rtk-space-8, 32px);display:flex;align-items:center;gap:var(--rtk-space-2, 8px);font-size:24px;font-weight:600}header rtk-icon{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}.create-room{margin-bottom:var(--rtk-space-4, 16px);display:flex;align-items:center;gap:var(--rtk-space-3, 12px);width:100%}.create-room p{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-1, 4px);font-size:16px}.distribution-hint{margin-bottom:var(--rtk-space-8, 32px);font-size:14px;font-weight:400;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.distribution-hint em{font-style:normal;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}footer{display:flex;flex-direction:row;vertical-align:middle;justify-content:center}footer rtk-button{width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}label{margin-bottom:var(--rtk-space-3, 12px);font-weight:400;color:rgb(var(--rtk-colors-text-1000, 255 255 255));opacity:0.4}.participant-config-wrapper{width:850px;min-height:595px;max-width:100%;max-height:100%;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));display:flex;flex-direction:column}.participant-config-actions{display:flex;justify-content:space-between;padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-5, 20px);padding-bottom:var(--rtk-space-5, 20px);border-bottom-right-radius:var(--rtk-border-radius-md, 8px);border-bottom-left-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.participant-config{display:flex;flex-grow:1;flex-direction:row;overflow:hidden}aside{box-sizing:border-box;display:flex;width:var(--rtk-space-96, 384px);flex-grow:1;flex-direction:column;padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-4, 16px);border-right-width:var(--rtk-border-width-sm, 1px);border-top-width:var(--rtk-border-width-none, 0);border-bottom-width:var(--rtk-border-width-none, 0);border-left-width:var(--rtk-border-width-none, 0);border-style:solid;--tw-border-opacity:1;border-right-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity))}aside header{margin-bottom:var(--rtk-space-4, 16px);width:100%;padding-left:var(--rtk-space-0, 0px);padding-right:var(--rtk-space-0, 0px);padding-top:var(--rtk-space-8, 32px);font-size:20px;font-weight:500;line-height:2rem}.shuffle-button{display:flex;flex-direction:row;align-items:center}.shuffle-button rtk-icon{height:var(--rtk-space-8, 32px)}.participants-assign-actions{display:flex;flex-direction:row;align-items:center;justify-content:space-between;font-size:14px;padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-2, 8px);margin-left:calc(var(--rtk-space-8, 32px) * -1);margin-right:calc(var(--rtk-space-4, 16px) * -1);padding-top:var(--rtk-space-0\\.5, 2px);padding-bottom:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.participants-assign-actions .deselect-button{height:var(--rtk-space-6, 24px)}.participants-assign-actions .deselect-button:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.assign-rooms{padding:var(--rtk-space-8, 32px);display:flex;width:100%;flex-direction:column}.assign-rooms .disabled{opacity:0.2}.assign-rooms .back{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:flex-start;padding:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-0, 0px);font-size:14px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.assign-rooms .back rtk-icon{height:var(--rtk-space-5, 20px)}.assign-rooms .row{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}.assign-rooms .row-header{margin:var(--rtk-space-0, 0px);font-size:16px;line-height:2rem}.assign-rooms .cta-buttons{display:flex;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px)}.assign-rooms .cta-buttons rtk-button div{display:flex;flex-direction:row;align-items:center}.assign-rooms .cta-buttons rtk-button div rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}.rooms{margin-bottom:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-1, 4px);display:flex;flex-grow:1;flex-direction:column;gap:var(--rtk-space-2, 8px);overflow-y:auto;max-height:500px}.rooms::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-sm, 4px)}.rooms::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.rooms::-webkit-scrollbar-track{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.breakout-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:var(--rtk-space-2, 8px)}.breakout-actions .start-breakout-button{color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.breakout-actions .close-breakout-button{color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity))}.breakout-actions .update-breakout-button{background-color:transparent;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity));border-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity))}.status-bar{display:flex;align-items:center;font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));width:var(--rtk-space-80, 320px)}.ephemeral-status{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}.ephemeral-status rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}.room-switcher-container{border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));width:468px;padding:var(--rtk-space-8, 32px)}.add-room-jumbo-btn div{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);font-size:14px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.add-room-jumbo-btn div rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}.br-primary-btn:not([disabled]){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.br-primary-btn:not([disabled]):hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-bg-opacity))}.br-secondary-btn:not([disabled]){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.br-secondary-btn:not([disabled]):hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";
|
|
14
|
-
const RtkBreakoutRoomsManagerStyle0 = rtkBreakoutRoomsManagerCss;
|
|
15
|
-
|
|
16
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
17
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
19
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else
|
|
21
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
22
|
-
if (d = decorators[i])
|
|
23
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
24
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
-
};
|
|
26
|
-
const MIN_ROOMS = 1;
|
|
27
|
-
const RtkBreakoutRoomsManager = /*@__PURE__*/ proxyCustomElement(class RtkBreakoutRoomsManager extends H {
|
|
28
|
-
constructor() {
|
|
29
|
-
super();
|
|
30
|
-
this.__registerHost();
|
|
31
|
-
this.__attachShadow();
|
|
32
|
-
this.stateUpdate = createEvent(this, "rtkStateUpdate", 7);
|
|
33
|
-
/** Flag to indicate busy state */
|
|
34
|
-
this.loading = false;
|
|
35
|
-
/** Breakout room config object */
|
|
36
|
-
this.roomConfig = {
|
|
37
|
-
rooms: 2,
|
|
38
|
-
step: 'room-config',
|
|
39
|
-
mode: 'create',
|
|
40
|
-
applyingChanges: false,
|
|
41
|
-
};
|
|
42
|
-
/** List of assigned participants */
|
|
43
|
-
// @State() unassignedParticipants: string[] = [];
|
|
44
|
-
/** Flag that tells if participants are being assigned or not */
|
|
45
|
-
this.assigningParticipants = false;
|
|
46
|
-
/** List of selected peers */
|
|
47
|
-
this.selectedParticipants = [];
|
|
48
|
-
/** update about room changes */
|
|
49
|
-
this.ephemeralStatusText = '';
|
|
50
|
-
/** Flag that tells if participants are being dragged */
|
|
51
|
-
this.isDragMode = false;
|
|
52
|
-
/** Icon pack */
|
|
53
|
-
this.iconPack = defaultIconPack;
|
|
54
|
-
/** Language */
|
|
55
|
-
this.t = useLanguage();
|
|
56
|
-
this.permissionsUpdateListener = () => {
|
|
57
|
-
this.permissions = this.meeting.self.permissions.connectedMeetings;
|
|
58
|
-
};
|
|
59
|
-
this.updateLocalState = (payload) => {
|
|
60
|
-
this.stateManager.updateCurrentState(payload);
|
|
61
|
-
this.draftState = this.stateManager.currentState;
|
|
62
|
-
if (this.meeting.connectedMeetings.isActive) {
|
|
63
|
-
this.roomConfig = Object.assign(Object.assign({}, this.roomConfig), { mode: 'edit' });
|
|
64
|
-
}
|
|
65
|
-
if (this.roomConfig.mode === 'create' && !this.meeting.connectedMeetings.isActive) {
|
|
66
|
-
resetRoomCount();
|
|
67
|
-
}
|
|
68
|
-
if (['edit', 'view'].includes(this.roomConfig.mode)) {
|
|
69
|
-
this.roomConfig = Object.assign(Object.assign({}, this.roomConfig), { rooms: payload.meetings.length, step: 'participants-config' });
|
|
70
|
-
this.selectedParticipants = [];
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
this.onAddNewRoom = () => {
|
|
74
|
-
this.stateManager.addNewMeeting();
|
|
75
|
-
this.draftState = this.stateManager.currentState;
|
|
76
|
-
this.selectorRef.scrollTo({ top: this.selectorRef.scrollHeight, behavior: 'smooth' });
|
|
77
|
-
};
|
|
78
|
-
this.onRoomUpdate = (event) => {
|
|
79
|
-
const { detail } = event;
|
|
80
|
-
this.stateManager.updateMeetingTitle(detail.id, detail.title);
|
|
81
|
-
this.draftState = this.stateManager.currentState;
|
|
82
|
-
};
|
|
83
|
-
this.onRoomDelete = (id) => {
|
|
84
|
-
const toDelete = this.stateManager.allConnectedMeetings.find((meeting) => meeting.id === id);
|
|
85
|
-
if (toDelete) {
|
|
86
|
-
this.stateManager.deleteMeeting(id);
|
|
87
|
-
this.draftState = this.stateManager.currentState;
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
this.unassignParticipant = (id) => {
|
|
91
|
-
this.stateManager.unassignParticipants([id]);
|
|
92
|
-
this.draftState = this.stateManager.currentState;
|
|
93
|
-
};
|
|
94
|
-
this.onUnassignAll = () => {
|
|
95
|
-
this.stateManager.unassignAllParticipants();
|
|
96
|
-
this.draftState = this.stateManager.currentState;
|
|
97
|
-
};
|
|
98
|
-
this.assignParticipantsToRoom = (destinationMeetingId) => {
|
|
99
|
-
if (this.selectedParticipants.length === 0 || this.assigningParticipants == false)
|
|
100
|
-
return;
|
|
101
|
-
this.stateManager.assignParticipantsToMeeting(this.selectedParticipants, destinationMeetingId);
|
|
102
|
-
this.draftState = this.stateManager.currentState;
|
|
103
|
-
this.selectedParticipants = [];
|
|
104
|
-
this.assigningParticipants = false;
|
|
105
|
-
this.setEphemeralStatus(this.t('breakout_rooms.ephemeral_status.participants_assigned'));
|
|
106
|
-
};
|
|
107
|
-
this.handleClose = (stateUpdate, store) => {
|
|
108
|
-
stateUpdate.emit({
|
|
109
|
-
activeBreakoutRoomsManager: {
|
|
110
|
-
active: true,
|
|
111
|
-
},
|
|
112
|
-
});
|
|
113
|
-
store.activeBreakoutRoomsManager = {
|
|
114
|
-
active: true,
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
this.enableConfirmationModal = (modalType = 'start-breakout') => {
|
|
118
|
-
let activeConfirmationModal = {
|
|
119
|
-
active: true,
|
|
120
|
-
header: 'breakout_rooms.confirm_modal.start_breakout.header',
|
|
121
|
-
content: 'breakout_rooms.confirm_modal.start_breakout.content',
|
|
122
|
-
variant: 'primary',
|
|
123
|
-
cancelText: 'breakout_rooms.confirm_modal.start_breakout.cancelText',
|
|
124
|
-
ctaText: 'breakout_rooms.confirm_modal.start_breakout.ctaText',
|
|
125
|
-
onClick: () => this.applyChanges(),
|
|
126
|
-
onClose: this.handleClose,
|
|
127
|
-
};
|
|
128
|
-
if (modalType === 'close-breakout') {
|
|
129
|
-
activeConfirmationModal = {
|
|
130
|
-
active: true,
|
|
131
|
-
header: 'breakout_rooms.confirm_modal.close_breakout.header',
|
|
132
|
-
content: 'breakout_rooms.confirm_modal.close_breakout.content',
|
|
133
|
-
variant: 'danger',
|
|
134
|
-
cancelText: 'cancel',
|
|
135
|
-
ctaText: 'breakout_rooms.confirm_modal.close_breakout.ctaText',
|
|
136
|
-
onClick: () => this.closeBreakout(),
|
|
137
|
-
onClose: this.handleClose,
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
this.stateUpdate.emit({
|
|
141
|
-
activeBreakoutRoomsManager: { active: false },
|
|
142
|
-
activeConfirmationModal,
|
|
143
|
-
});
|
|
144
|
-
};
|
|
145
|
-
this.close = () => {
|
|
146
|
-
this.stateManager.discardChanges();
|
|
147
|
-
this.stateUpdate.emit({
|
|
148
|
-
activeBreakoutRoomsManager: {
|
|
149
|
-
active: false,
|
|
150
|
-
},
|
|
151
|
-
});
|
|
152
|
-
};
|
|
153
|
-
this.applyChanges = async () => {
|
|
154
|
-
this.roomConfig = Object.assign(Object.assign({}, this.roomConfig), { applyingChanges: true });
|
|
155
|
-
await this.stateManager.applyChanges(this.meeting);
|
|
156
|
-
this.close();
|
|
157
|
-
this.roomConfig = Object.assign(Object.assign({}, this.roomConfig), { applyingChanges: false });
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
onSelectedParticipantsChanged(participants) {
|
|
161
|
-
if (participants.length > 0)
|
|
162
|
-
this.assigningParticipants = true;
|
|
163
|
-
else
|
|
164
|
-
this.assigningParticipants = false;
|
|
165
|
-
}
|
|
166
|
-
connectedCallback() {
|
|
167
|
-
this.permissionsUpdateListener();
|
|
168
|
-
this.meeting.connectedMeetings.on('stateUpdate', this.updateLocalState);
|
|
169
|
-
this.meeting.connectedMeetings.on('changingMeeting', this.close);
|
|
170
|
-
this.meeting.self.permissions.on('permissionsUpdate', this.permissionsUpdateListener);
|
|
171
|
-
this.stateManager = new BreakoutRoomsManager();
|
|
172
|
-
this.fetchRoomState();
|
|
173
|
-
}
|
|
174
|
-
disconnectedCallback() {
|
|
175
|
-
this.meeting.connectedMeetings.off('stateUpdate', this.updateLocalState);
|
|
176
|
-
this.meeting.connectedMeetings.off('changingMeeting', this.close);
|
|
177
|
-
this.meeting.self.permissions.off('permissionsUpdate', this.permissionsUpdateListener);
|
|
178
|
-
}
|
|
179
|
-
async fetchRoomState() {
|
|
180
|
-
this.loading = true;
|
|
181
|
-
await this.meeting.connectedMeetings.getConnectedMeetings();
|
|
182
|
-
this.loading = false;
|
|
183
|
-
}
|
|
184
|
-
setEphemeralStatus(text) {
|
|
185
|
-
this.ephemeralStatusText = text;
|
|
186
|
-
setTimeout(() => {
|
|
187
|
-
this.ephemeralStatusText = '';
|
|
188
|
-
}, 3000);
|
|
189
|
-
}
|
|
190
|
-
onCreateRooms() {
|
|
191
|
-
this.selectedParticipants = [];
|
|
192
|
-
this.stateManager.addNewMeetings(this.roomConfig.rooms);
|
|
193
|
-
this.draftState = this.stateManager.currentState;
|
|
194
|
-
// move to next step -> participants-config
|
|
195
|
-
this.roomConfig = Object.assign(Object.assign({}, this.roomConfig), { step: 'participants-config' });
|
|
196
|
-
}
|
|
197
|
-
onParticipantDelete(event) {
|
|
198
|
-
const { detail } = event;
|
|
199
|
-
const id = participantIdentifier(detail);
|
|
200
|
-
if (id == null)
|
|
201
|
-
return;
|
|
202
|
-
this.unassignParticipant(id);
|
|
203
|
-
}
|
|
204
|
-
toggleDragMode(e) {
|
|
205
|
-
this.isDragMode = e.detail;
|
|
206
|
-
}
|
|
207
|
-
assignParticipantsRandomly() {
|
|
208
|
-
if (this.stateManager.unassignedParticipants.length === 0)
|
|
209
|
-
return;
|
|
210
|
-
this.stateManager.assignParticipantsRandomly();
|
|
211
|
-
this.draftState = this.stateManager.currentState;
|
|
212
|
-
this.setEphemeralStatus(this.t('breakout_rooms.ephemeral_status.participants_assigned_randomly'));
|
|
213
|
-
}
|
|
214
|
-
async joinRoom(destinationMeetingId) {
|
|
215
|
-
const participantId = participantIdentifier(this.meeting.self);
|
|
216
|
-
this.stateManager.assignParticipantsToMeeting([participantId], destinationMeetingId);
|
|
217
|
-
await this.applyChanges();
|
|
218
|
-
}
|
|
219
|
-
async closeBreakout() {
|
|
220
|
-
this.stateManager.allConnectedMeetings.forEach((meeting) => this.stateManager.deleteMeeting(meeting.id));
|
|
221
|
-
await this.applyChanges();
|
|
222
|
-
}
|
|
223
|
-
updateSelectedParticipants(e) {
|
|
224
|
-
this.selectedParticipants = e.detail;
|
|
225
|
-
}
|
|
226
|
-
updateAllParticipants(e) {
|
|
227
|
-
this.selectedParticipants = e.detail;
|
|
228
|
-
}
|
|
229
|
-
getStatusText() {
|
|
230
|
-
if (this.ephemeralStatusText !== '')
|
|
231
|
-
return this.ephemeralStatusText;
|
|
232
|
-
let statusText = '';
|
|
233
|
-
if (this.roomConfig.mode === 'create') {
|
|
234
|
-
statusText = this.t('breakout_rooms.status.assign_multiple');
|
|
235
|
-
if (this.selectedParticipants.length !== 0) {
|
|
236
|
-
statusText = this.t('breakout_rooms.status.select_room');
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
return statusText;
|
|
240
|
-
}
|
|
241
|
-
getApproxDistribution() {
|
|
242
|
-
const num = this.stateManager.unassignedParticipants.length / (this.roomConfig.rooms || MIN_ROOMS);
|
|
243
|
-
return Math.max(MIN_ROOMS, Math.round(num));
|
|
244
|
-
}
|
|
245
|
-
deselectAll() {
|
|
246
|
-
this.selectedParticipants = [];
|
|
247
|
-
}
|
|
248
|
-
async discardChanges() {
|
|
249
|
-
this.stateManager.discardChanges();
|
|
250
|
-
await this.fetchRoomState();
|
|
251
|
-
this.setEphemeralStatus(this.t('breakout_rooms.ephemeral_status.changes_discarded'));
|
|
252
|
-
}
|
|
253
|
-
shouldShowOnlyRoomSwitcher() {
|
|
254
|
-
return this.permissions.canAlterConnectedMeetings === false;
|
|
255
|
-
}
|
|
256
|
-
getPermittedRooms() {
|
|
257
|
-
if (this.permissions.canAlterConnectedMeetings || this.permissions.canSwitchConnectedMeetings) {
|
|
258
|
-
return this.stateManager.allConnectedMeetings;
|
|
259
|
-
}
|
|
260
|
-
return this.stateManager.allConnectedMeetings.filter((cMeeting) => cMeeting.id === this.meeting.meta.meetingId);
|
|
261
|
-
}
|
|
262
|
-
renderMainRoomMaybe() {
|
|
263
|
-
if (!(this.meeting.connectedMeetings.isActive && this.permissions.canSwitchToParentMeeting)) {
|
|
264
|
-
return null;
|
|
265
|
-
}
|
|
266
|
-
return (h("rtk-breakout-room-manager", { key: this.stateManager.currentState.parentMeeting['id'], assigningParticipants: this.assigningParticipants, isDragMode: this.isDragMode, meeting: this.meeting, mode: this.roomConfig.mode, onParticipantsAdd: () => this.assignParticipantsToRoom(this.stateManager.currentState.parentMeeting['id']), onRoomJoin: () => this.joinRoom(this.stateManager.currentState.parentMeeting['id']), onUpdate: this.onRoomUpdate, states: this.states, room: Object.assign({}, this.stateManager.currentState.parentMeeting), iconPack: this.iconPack, t: this.t }));
|
|
267
|
-
}
|
|
268
|
-
renderRoomSwitcher() {
|
|
269
|
-
return (h(Host, null, h("div", { class: "room-switcher-container" }, h("header", null, h("rtk-icon", { icon: this.iconPack.breakout_rooms }), h("span", null, this.t('breakout_rooms.join_breakout_header'))), h("div", { class: "rooms", ref: (el) => (this.selectorRef = el) }, this.renderMainRoomMaybe(), this.getPermittedRooms().map((room, idx) => {
|
|
270
|
-
return (h("rtk-breakout-room-manager", { key: room['id'], assigningParticipants: this.assigningParticipants, isDragMode: this.isDragMode, defaultExpanded: idx === 0, meeting: this.meeting, mode: this.roomConfig.mode, onDelete: () => this.onRoomDelete(room['id']), onParticipantsAdd: () => this.assignParticipantsToRoom(room['id']), onRoomJoin: () => this.joinRoom(room['id']), states: this.states, room: Object.assign({}, room), iconPack: this.iconPack, t: this.t, allowDelete: false }));
|
|
271
|
-
})))));
|
|
272
|
-
}
|
|
273
|
-
renderLoading() {
|
|
274
|
-
return (h(Host, null, h("div", { class: "loading-content" }, h("rtk-spinner", { size: "xl" }))));
|
|
275
|
-
}
|
|
276
|
-
renderRoomConfig() {
|
|
277
|
-
return (h(Host, null, h("div", { class: "room-config" }, h("header", null, h("rtk-icon", { icon: this.iconPack.breakout_rooms }), h("span", null, this.t('breakout_rooms.room_config_header'))), h("div", { class: "create-room" }, h("p", null, this.t('breakout_rooms.num_of_rooms')), h("rtk-counter", { value: this.roomConfig.rooms, minValue: MIN_ROOMS, iconPack: this.iconPack, t: this.t, onValueChange: (val) => {
|
|
278
|
-
this.roomConfig = Object.assign(Object.assign({}, this.roomConfig), { rooms: Math.max(+val.detail, MIN_ROOMS) });
|
|
279
|
-
} })), h("span", { class: "distribution-hint" }, `${this.t('breakout_rooms.approx')}${' '}`, ' ', h("em", null, this.getApproxDistribution(), " ", this.t('breakout_rooms.participants_per_room')), ' ', this.t('breakout_rooms.division_text')), h("footer", null, h("rtk-button", { kind: "button", size: "lg", title: this.t('create'), disabled: this.roomConfig.rooms === 0, onClick: () => this.onCreateRooms() }, this.t('create'))))));
|
|
280
|
-
}
|
|
281
|
-
render() {
|
|
282
|
-
if (this.loading) {
|
|
283
|
-
return this.renderLoading();
|
|
284
|
-
}
|
|
285
|
-
if (this.shouldShowOnlyRoomSwitcher()) {
|
|
286
|
-
return this.renderRoomSwitcher();
|
|
287
|
-
}
|
|
288
|
-
if (this.roomConfig.step === 'room-config') {
|
|
289
|
-
return this.renderRoomConfig();
|
|
290
|
-
}
|
|
291
|
-
// participant config
|
|
292
|
-
return (h(Host, null, h("div", { class: "participant-config-wrapper" }, h("div", { class: "participant-config" }, h("aside", { part: "menu" }, h("header", null, this.t('breakout_rooms.assign_participants')), h("rtk-breakout-room-participants", { meeting: this.meeting, iconPack: this.iconPack, t: this.t, participantIds: this.stateManager.unassignedParticipants.map(participantIdentifier), selectedParticipantIds: this.selectedParticipants }, h("rtk-tooltip", { label: this.t('breakout_rooms.shuffle_participants'), slot: "shuffle-button" }, h("rtk-button", { disabled: this.roomConfig.mode === 'edit' ||
|
|
293
|
-
this.stateManager.unassignedParticipants.length === 0, kind: "button", variant: "secondary", size: "md", onClick: () => this.assignParticipantsRandomly(), class: "shuffle-button br-primary-btn" }, h("rtk-icon", { icon: this.iconPack.shuffle })))), this.selectedParticipants.length !== 0 && (h("div", { class: "participants-assign-actions" }, h("span", null, `${this.selectedParticipants.length} ${this.t('breakout_rooms.selected')}`), h("rtk-button", { disabled: this.roomConfig.mode === 'edit', kind: "button", variant: "ghost", size: "md", onClick: () => this.deselectAll(), class: "deselect-button color-danger" }, this.t('breakout_rooms.deselect'))))), h("div", { class: "assign-rooms" }, h("div", { class: "row" }, h("p", { class: "row-header" }, this.t('breakout_rooms.rooms'), " (", this.stateManager.allConnectedMeetings.length, ")"), !this.assigningParticipants && (h("div", { class: "cta-buttons" }, h("rtk-button", { kind: "button", variant: "secondary", class: "br-primary-btn" }, h("div", { onClick: this.onAddNewRoom }, h("rtk-icon", { icon: this.iconPack.add }), this.t('breakout_rooms.add_room'))), this.stateManager.allConnectedMeetings.flatMap((m) => m.participants)
|
|
294
|
-
.length !== 0 && (h("rtk-button", { kind: "button", variant: "ghost", onClick: this.onUnassignAll }, this.t('breakout_rooms.unassign_all')))))), h("div", { class: "rooms", ref: (el) => (this.selectorRef = el) }, this.renderMainRoomMaybe(), this.getPermittedRooms().map((room, idx) => {
|
|
295
|
-
return (h("rtk-breakout-room-manager", { key: room['id'], assigningParticipants: this.assigningParticipants, isDragMode: this.isDragMode, defaultExpanded: idx === 0, meeting: this.meeting, mode: this.roomConfig.mode, onDelete: () => this.onRoomDelete(room['id']), onParticipantsAdd: () => this.assignParticipantsToRoom(room['id']), onRoomJoin: () => this.joinRoom(room['id']), onUpdate: this.onRoomUpdate, states: this.states, room: Object.assign({}, room), iconPack: this.iconPack, t: this.t, allowDelete: this.stateManager.allConnectedMeetings.length > MIN_ROOMS }));
|
|
296
|
-
}), h("rtk-button", { kind: "button", variant: "secondary", onClick: this.onAddNewRoom, class: "add-room-jumbo-btn br-secondary-btn" }, h("div", null, h("rtk-icon", { icon: this.iconPack.add }), h("span", null, this.t('breakout_rooms.add_room_brief'))))))), h("div", { class: "participant-config-actions" }, h("div", { class: { 'status-bar': true, 'ephemeral-status': this.ephemeralStatusText !== '' } }, this.ephemeralStatusText !== '' && h("rtk-icon", { icon: this.iconPack.checkmark }), this.getStatusText()), h("div", { class: "breakout-actions" }, this.roomConfig.mode === 'create' && this.permissions.canAlterConnectedMeetings && (h("rtk-button", { size: "md", class: "start-breakout-button", onClick: () => this.enableConfirmationModal('start-breakout') }, this.t('breakout_rooms.start_breakout'))), this.roomConfig.mode === 'edit' &&
|
|
297
|
-
this.stateManager.hasLocalChanges &&
|
|
298
|
-
this.permissions.canAlterConnectedMeetings && (h("rtk-button", { size: "md", class: "color-danger", variant: "ghost", onClick: () => this.discardChanges() }, this.t('breakout_rooms.discard_changes'))), this.roomConfig.mode === 'edit' &&
|
|
299
|
-
this.stateManager.hasLocalChanges &&
|
|
300
|
-
this.permissions.canAlterConnectedMeetings && (h("rtk-button", { size: "md", class: "update-breakout-button", onClick: this.applyChanges }, this.t('breakout_rooms.update_breakout'))), this.roomConfig.mode === 'edit' &&
|
|
301
|
-
!this.stateManager.hasLocalChanges &&
|
|
302
|
-
this.permissions.canAlterConnectedMeetings && (h("rtk-button", { size: "md", class: "close-breakout-button", onClick: () => this.enableConfirmationModal('close-breakout') }, this.t('breakout_rooms.close_breakout'))))))));
|
|
303
|
-
}
|
|
304
|
-
static get watchers() { return {
|
|
305
|
-
"selectedParticipants": ["onSelectedParticipantsChanged"]
|
|
306
|
-
}; }
|
|
307
|
-
static get style() { return RtkBreakoutRoomsManagerStyle0; }
|
|
308
|
-
}, [1, "rtk-breakout-rooms-manager", {
|
|
309
|
-
"meeting": [16],
|
|
310
|
-
"states": [16],
|
|
311
|
-
"iconPack": [16],
|
|
312
|
-
"t": [16],
|
|
313
|
-
"loading": [32],
|
|
314
|
-
"roomConfig": [32],
|
|
315
|
-
"draftState": [32],
|
|
316
|
-
"assigningParticipants": [32],
|
|
317
|
-
"selectedParticipants": [32],
|
|
318
|
-
"ephemeralStatusText": [32],
|
|
319
|
-
"isDragMode": [32]
|
|
320
|
-
}, [[0, "participantDelete", "onParticipantDelete"], [0, "participantsDragging", "toggleDragMode"], [0, "selectedParticipantsUpdate", "updateSelectedParticipants"], [0, "allParticipantsToggleUpdate", "updateAllParticipants"]], {
|
|
321
|
-
"selectedParticipants": ["onSelectedParticipantsChanged"]
|
|
322
|
-
}]);
|
|
323
|
-
__decorate([
|
|
324
|
-
SyncWithStore()
|
|
325
|
-
], RtkBreakoutRoomsManager.prototype, "meeting", void 0);
|
|
326
|
-
__decorate([
|
|
327
|
-
SyncWithStore()
|
|
328
|
-
], RtkBreakoutRoomsManager.prototype, "states", void 0);
|
|
329
|
-
__decorate([
|
|
330
|
-
SyncWithStore()
|
|
331
|
-
], RtkBreakoutRoomsManager.prototype, "iconPack", void 0);
|
|
332
|
-
__decorate([
|
|
333
|
-
SyncWithStore()
|
|
334
|
-
], RtkBreakoutRoomsManager.prototype, "t", void 0);
|
|
335
|
-
function defineCustomElement() {
|
|
336
|
-
if (typeof customElements === "undefined") {
|
|
337
|
-
return;
|
|
338
|
-
}
|
|
339
|
-
const components = ["rtk-breakout-rooms-manager", "rtk-avatar", "rtk-breakout-room-manager", "rtk-breakout-room-participants", "rtk-button", "rtk-counter", "rtk-icon", "rtk-spinner", "rtk-tooltip"];
|
|
340
|
-
components.forEach(tagName => { switch (tagName) {
|
|
341
|
-
case "rtk-breakout-rooms-manager":
|
|
342
|
-
if (!customElements.get(tagName)) {
|
|
343
|
-
customElements.define(tagName, RtkBreakoutRoomsManager);
|
|
344
|
-
}
|
|
345
|
-
break;
|
|
346
|
-
case "rtk-avatar":
|
|
347
|
-
if (!customElements.get(tagName)) {
|
|
348
|
-
defineCustomElement$8();
|
|
349
|
-
}
|
|
350
|
-
break;
|
|
351
|
-
case "rtk-breakout-room-manager":
|
|
352
|
-
if (!customElements.get(tagName)) {
|
|
353
|
-
defineCustomElement$7();
|
|
354
|
-
}
|
|
355
|
-
break;
|
|
356
|
-
case "rtk-breakout-room-participants":
|
|
357
|
-
if (!customElements.get(tagName)) {
|
|
358
|
-
defineCustomElement$6();
|
|
359
|
-
}
|
|
360
|
-
break;
|
|
361
|
-
case "rtk-button":
|
|
362
|
-
if (!customElements.get(tagName)) {
|
|
363
|
-
defineCustomElement$5();
|
|
364
|
-
}
|
|
365
|
-
break;
|
|
366
|
-
case "rtk-counter":
|
|
367
|
-
if (!customElements.get(tagName)) {
|
|
368
|
-
defineCustomElement$4();
|
|
369
|
-
}
|
|
370
|
-
break;
|
|
371
|
-
case "rtk-icon":
|
|
372
|
-
if (!customElements.get(tagName)) {
|
|
373
|
-
defineCustomElement$3();
|
|
374
|
-
}
|
|
375
|
-
break;
|
|
376
|
-
case "rtk-spinner":
|
|
377
|
-
if (!customElements.get(tagName)) {
|
|
378
|
-
defineCustomElement$2();
|
|
379
|
-
}
|
|
380
|
-
break;
|
|
381
|
-
case "rtk-tooltip":
|
|
382
|
-
if (!customElements.get(tagName)) {
|
|
383
|
-
defineCustomElement$1();
|
|
384
|
-
}
|
|
385
|
-
break;
|
|
386
|
-
} });
|
|
387
|
-
}
|
|
388
|
-
defineCustomElement();
|
|
389
|
-
|
|
390
|
-
export { RtkBreakoutRoomsManager as R, defineCustomElement as d };
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as createEvent, h, c as Host } from './p-ae373651.js';
|
|
2
|
-
import { e as defaultIconPack, i as useLanguage } from './p-d5a12339.js';
|
|
3
|
-
import { S as SyncWithStore } from './p-bd10fae6.js';
|
|
4
|
-
import { T as TextMessageView } from './p-1a950769.js';
|
|
5
|
-
import { d as defineCustomElement$2 } from './p-85587a5c.js';
|
|
6
|
-
import { d as defineCustomElement$1 } from './p-3e0452c4.js';
|
|
7
|
-
|
|
8
|
-
const rtkNotificationCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{pointer-events:none;display:block;height:var(--rtk-space-10, 40px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));animation:show 0.4s ease;transition:0.4s;z-index:100}.ctr{box-sizing:border-box;display:inline-flex;height:100%;min-width:var(--rtk-space-40, 160px);align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-2, 8px);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);--tw-shadow-color:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-shadow:var(--tw-shadow-colored);pointer-events:auto}img{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-0, 0px);width:var(--rtk-space-0, 0px);border-radius:9999px}img.loaded{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}.message{margin-right:var(--rtk-space-2, 8px);max-width:var(--rtk-space-72, 288px) !important;font-size:14px !important;overflow:hidden !important;display:-webkit-box !important;-webkit-box-orient:vertical !important;-webkit-line-clamp:2 !important}.message p{margin:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-1, 4px)}.message blockquote{display:none}rtk-icon.icon{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}button.dismiss{display:flex;height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);align-items:center;justify-content:center;border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-0, 0px);border-radius:var(--rtk-border-radius-sm, 4px);background-color:transparent;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));outline-width:1px;outline-color:rgb(var(--rtk-colors-text-1000, 255 255 255))}button.dismiss:hover{cursor:pointer;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}button.dismiss:focus-visible{outline-style:solid}button.dismiss{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.dismiss rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}rtk-button{border-radius:var(--rtk-border-radius-sm, 4px)}.right{margin-left:auto;display:flex;align-items:center;gap:var(--rtk-space-2, 8px)}:host(.exit){animation:exit 0.4s ease}@keyframes show{0%{opacity:0;transform:translateX(-120px)}100%{opacity:1;transform:translateX(0px)}}@keyframes exit{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(-120px)}}:host([size='sm']){font-size:14px}";
|
|
9
|
-
const RtkNotificationStyle0 = rtkNotificationCss;
|
|
10
|
-
|
|
11
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
14
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
-
else
|
|
16
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
17
|
-
if (d = decorators[i])
|
|
18
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
19
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
|
-
};
|
|
21
|
-
const RtkNotification = /*@__PURE__*/ proxyCustomElement(class RtkNotification extends H {
|
|
22
|
-
constructor() {
|
|
23
|
-
super();
|
|
24
|
-
this.__registerHost();
|
|
25
|
-
this.__attachShadow();
|
|
26
|
-
this.dismiss = createEvent(this, "rtkNotificationDismiss", 7);
|
|
27
|
-
/** Icon pack */
|
|
28
|
-
this.iconPack = defaultIconPack;
|
|
29
|
-
/** Language */
|
|
30
|
-
this.t = useLanguage();
|
|
31
|
-
this.imageState = 'loading';
|
|
32
|
-
}
|
|
33
|
-
connectedCallback() {
|
|
34
|
-
this.notificationChanged(this.notification);
|
|
35
|
-
}
|
|
36
|
-
pausedChanged(paused) {
|
|
37
|
-
if (paused) {
|
|
38
|
-
clearTimeout(this.timeout);
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
this.notificationChanged(this.notification);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
notificationChanged(notification) {
|
|
45
|
-
if (notification != null && typeof notification.duration === 'number' && !this.paused) {
|
|
46
|
-
this.timeout = window.setTimeout(() => {
|
|
47
|
-
this.dismiss.emit(notification.id);
|
|
48
|
-
}, notification.duration);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
render() {
|
|
52
|
-
var _a;
|
|
53
|
-
return (h(Host, { key: 'f8ddbd9e32a05c36d3b7ea8d1589bba1b6009fab' }, h("div", { key: '61fe82306da70295f9530edf9acdb28d891ae9d5', class: "ctr" }, this.notification.icon != null && (h("rtk-icon", { key: '59cb7c56120f3c3d52fc9d39c7e1c7066d7f5d72', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
|
|
54
|
-
this.notification.icon == null &&
|
|
55
|
-
this.imageState !== 'errored' && (h("img", { key: '3dce9047059aa31989e0205f1fe20abade6b56f7', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: 'eaf2809d755002b226552111f52e5d6ec35f1731', class: "message" }, h(TextMessageView, { key: '5fc9377a438bcb3fe70d8ad85d753ed30123204c', message: this.notification.message })), h("div", { key: '5d4562cd5dd565b107f39b1eb0cbbd400281082b', class: "right" }, this.notification.button != null && (h("rtk-button", { key: 'f21316499b4f85b4ab7b3b1194c8014b969f2358', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("button", { key: '299be899a5cd4e7e23b9e0006e69d030b5f06b10', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, h("rtk-icon", { key: 'ef56fd50689c3166a3f6f7f8cebb2ed9d902dc3d', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
|
|
56
|
-
}
|
|
57
|
-
static get watchers() { return {
|
|
58
|
-
"paused": ["pausedChanged"],
|
|
59
|
-
"notification": ["notificationChanged"]
|
|
60
|
-
}; }
|
|
61
|
-
static get style() { return RtkNotificationStyle0; }
|
|
62
|
-
}, [1, "rtk-notification", {
|
|
63
|
-
"notification": [16],
|
|
64
|
-
"paused": [4],
|
|
65
|
-
"size": [513],
|
|
66
|
-
"iconPack": [16],
|
|
67
|
-
"t": [16],
|
|
68
|
-
"imageState": [32]
|
|
69
|
-
}, undefined, {
|
|
70
|
-
"paused": ["pausedChanged"],
|
|
71
|
-
"notification": ["notificationChanged"]
|
|
72
|
-
}]);
|
|
73
|
-
__decorate([
|
|
74
|
-
SyncWithStore()
|
|
75
|
-
], RtkNotification.prototype, "iconPack", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
SyncWithStore()
|
|
78
|
-
], RtkNotification.prototype, "t", void 0);
|
|
79
|
-
function defineCustomElement() {
|
|
80
|
-
if (typeof customElements === "undefined") {
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
const components = ["rtk-notification", "rtk-button", "rtk-icon"];
|
|
84
|
-
components.forEach(tagName => { switch (tagName) {
|
|
85
|
-
case "rtk-notification":
|
|
86
|
-
if (!customElements.get(tagName)) {
|
|
87
|
-
customElements.define(tagName, RtkNotification);
|
|
88
|
-
}
|
|
89
|
-
break;
|
|
90
|
-
case "rtk-button":
|
|
91
|
-
if (!customElements.get(tagName)) {
|
|
92
|
-
defineCustomElement$2();
|
|
93
|
-
}
|
|
94
|
-
break;
|
|
95
|
-
case "rtk-icon":
|
|
96
|
-
if (!customElements.get(tagName)) {
|
|
97
|
-
defineCustomElement$1();
|
|
98
|
-
}
|
|
99
|
-
break;
|
|
100
|
-
} });
|
|
101
|
-
}
|
|
102
|
-
defineCustomElement();
|
|
103
|
-
|
|
104
|
-
export { RtkNotification as R, defineCustomElement as d };
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as createEvent, h, c as Host } from './p-ae373651.js';
|
|
2
|
-
import { e as defaultIconPack, i as useLanguage } from './p-d5a12339.js';
|
|
3
|
-
import { S as SyncWithStore } from './p-bd10fae6.js';
|
|
4
|
-
import { d as defineCustomElement$1 } from './p-85587a5c.js';
|
|
5
|
-
|
|
6
|
-
const rtkConfirmationModalCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);padding:var(--rtk-space-8, 32px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));width:400px;max-width:80%}.leave-modal{width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.leave-modal .header h2{margin:var(--rtk-space-0, 0px)}.leave-modal .content{font-size:14px}.leave-modal p{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px)}.leave-meeting{display:flex;flex-direction:row;justify-content:space-between;gap:var(--rtk-space-4, 16px)}.leave-meeting rtk-button{color:rgb(var(--rtk-colors-text-1000, 255 255 255));flex:1 1 0%}.br-secondary-btn{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.br-secondary-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";
|
|
7
|
-
const RtkConfirmationModalStyle0 = rtkConfirmationModalCss;
|
|
8
|
-
|
|
9
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
12
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
13
|
-
else
|
|
14
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
15
|
-
if (d = decorators[i])
|
|
16
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
17
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
-
};
|
|
19
|
-
const RtkConfirmationModal = /*@__PURE__*/ proxyCustomElement(class RtkConfirmationModal extends H {
|
|
20
|
-
constructor() {
|
|
21
|
-
super();
|
|
22
|
-
this.__registerHost();
|
|
23
|
-
this.__attachShadow();
|
|
24
|
-
this.stateUpdate = createEvent(this, "rtkStateUpdate", 7);
|
|
25
|
-
this.keyPressListener = (e) => {
|
|
26
|
-
if (e.key === 'Escape') {
|
|
27
|
-
this.close();
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
/** Icon pack */
|
|
31
|
-
this.iconPack = defaultIconPack;
|
|
32
|
-
/** Language */
|
|
33
|
-
this.t = useLanguage();
|
|
34
|
-
this.close = () => {
|
|
35
|
-
this.states.activeConfirmationModal.onClose(this.stateUpdate, this.states, this.meeting);
|
|
36
|
-
this.stateUpdate.emit({ activeConfirmationModal: { active: false } });
|
|
37
|
-
this.states.activeConfirmationModal = { active: false };
|
|
38
|
-
};
|
|
39
|
-
this.onConfirmation = async () => {
|
|
40
|
-
this.states.activeConfirmationModal.onClick(this.stateUpdate, this.states, this.meeting);
|
|
41
|
-
this.stateUpdate.emit({ activeConfirmationModal: { active: false } });
|
|
42
|
-
this.states.activeConfirmationModal = { active: false };
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
connectedCallback() {
|
|
46
|
-
document.addEventListener('keydown', this.keyPressListener);
|
|
47
|
-
}
|
|
48
|
-
componentDidLoad() { }
|
|
49
|
-
disconnectedCallback() {
|
|
50
|
-
document.removeEventListener('keydown', this.keyPressListener);
|
|
51
|
-
}
|
|
52
|
-
render() {
|
|
53
|
-
var _a, _b;
|
|
54
|
-
const state = this.states.activeConfirmationModal;
|
|
55
|
-
return (h(Host, { key: 'faaa0531618c40c1e31ab3f77a9b038cd917244e' }, h("div", { key: '930c37d5d2e290a739d50dcd9c2ad298465850d3', class: "leave-modal" }, h("div", { key: '0bfb807f0f28d8bc1a28c03c548eca5b0e36eaab', class: "header" }, h("h2", { key: '0985fb052282b0b67ec259bd4e3b555405bc7283', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && h("p", { key: '99ea852e8d28f4164a6bd159dcb1b967c92b7a63', class: "message" }, this.t(state.content)), h("div", { key: '44073f19fa772c1d4c4bcc4962be90aad26b6965', class: "content" }, h("div", { key: '823c39dfd07659d5f9391242acdac1654e14b588', class: "leave-meeting" }, h("rtk-button", { key: 'e549f53577a5a3b4e677fac6b66f5024868c748f', 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: 'da7969392d5781fb63e999c6e4c6b022f7aae23d', 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')))))));
|
|
56
|
-
}
|
|
57
|
-
static get style() { return RtkConfirmationModalStyle0; }
|
|
58
|
-
}, [1, "rtk-confirmation-modal", {
|
|
59
|
-
"meeting": [16],
|
|
60
|
-
"states": [16],
|
|
61
|
-
"iconPack": [16],
|
|
62
|
-
"t": [16]
|
|
63
|
-
}]);
|
|
64
|
-
__decorate([
|
|
65
|
-
SyncWithStore()
|
|
66
|
-
], RtkConfirmationModal.prototype, "meeting", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
SyncWithStore()
|
|
69
|
-
], RtkConfirmationModal.prototype, "states", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
SyncWithStore()
|
|
72
|
-
], RtkConfirmationModal.prototype, "iconPack", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
SyncWithStore()
|
|
75
|
-
], RtkConfirmationModal.prototype, "t", void 0);
|
|
76
|
-
function defineCustomElement() {
|
|
77
|
-
if (typeof customElements === "undefined") {
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
const components = ["rtk-confirmation-modal", "rtk-button"];
|
|
81
|
-
components.forEach(tagName => { switch (tagName) {
|
|
82
|
-
case "rtk-confirmation-modal":
|
|
83
|
-
if (!customElements.get(tagName)) {
|
|
84
|
-
customElements.define(tagName, RtkConfirmationModal);
|
|
85
|
-
}
|
|
86
|
-
break;
|
|
87
|
-
case "rtk-button":
|
|
88
|
-
if (!customElements.get(tagName)) {
|
|
89
|
-
defineCustomElement$1();
|
|
90
|
-
}
|
|
91
|
-
break;
|
|
92
|
-
} });
|
|
93
|
-
}
|
|
94
|
-
defineCustomElement();
|
|
95
|
-
|
|
96
|
-
export { RtkConfirmationModal as R, defineCustomElement as d };
|