@cloudflare/realtimekit-ui 2.2.0-staging.3 → 2.2.0-staging.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/{TextMessage-BA97TnvX.js → TextMessage-C4d86cID.js} +1 -1
- package/dist/cjs/{chat-NY588mAE.js → chat-_Z7QVSxx.js} +1 -1
- package/dist/cjs/{config-Chzt-h7l.js → config-C9cIVa2D.js} +5 -11
- package/dist/cjs/{debounce-CoFZKdWb.js → debounce-BaLnYFmQ.js} +1 -1
- package/dist/cjs/{index-BeKaBV5F.js → index-CSL0ebii.js} +1 -1
- package/dist/cjs/index.cjs.js +18 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{ui-kit-metadata-zBJ8NnVE.js → merge-B4v4sEV3.js} +1 -290
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-visualizer_3.cjs.entry.js +5 -6
- package/dist/cjs/rtk-avatar_26.cjs.entry.js +13 -12
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-breakout-rooms-manager_8.cjs.entry.js +2 -2
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger.cjs.entry.js +2 -2
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
- package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +6 -6
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-header.cjs.entry.js +2 -2
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +4 -5
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-notification.cjs.entry.js +8 -6
- package/dist/cjs/rtk-notifications.cjs.entry.js +195 -205
- package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant_2.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +3 -4
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +347 -34
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +4 -4
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage.cjs.entry.js +3 -3
- package/dist/cjs/rtk-switch.cjs.entry.js +3 -3
- package/dist/cjs/rtk-transcript.cjs.entry.js +3 -3
- package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +6 -5
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +3 -3
- package/dist/cjs/ui-kit-metadata-BjBLJPVs.js +291 -0
- package/dist/cjs/{ui-store-DSyXGfDZ.js → ui-store-XQk2zaMR.js} +225 -8
- package/dist/collection/components/rtk-ai/rtk-ai.js +1 -1
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +1 -1
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +1 -1
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +1 -1
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +1 -1
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +1 -1
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +1 -1
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +1 -1
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +1 -1
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +1 -1
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +1 -1
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +1 -1
- package/dist/collection/components/rtk-chat/rtk-chat.js +1 -1
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +1 -1
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +1 -1
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +1 -1
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +1 -1
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +1 -1
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +1 -1
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +1 -1
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
- package/dist/collection/components/rtk-counter/rtk-counter.js +1 -1
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +1 -1
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +1 -1
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +1 -1
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +1 -1
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +1 -1
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +1 -1
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +1 -1
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +1 -1
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +1 -1
- package/dist/collection/components/rtk-grid/rtk-grid.js +1 -1
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
- package/dist/collection/components/rtk-header/rtk-header.js +1 -1
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +1 -1
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +1 -1
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +1 -1
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +1 -1
- package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +1 -1
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +1 -1
- package/dist/collection/components/rtk-menu/rtk-menu.js +1 -1
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +1 -1
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +1 -1
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +1 -1
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +1 -1
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +1 -1
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +1 -1
- package/dist/collection/components/rtk-notification/rtk-notification.js +5 -3
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +194 -166
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
- package/dist/collection/components/rtk-participant/rtk-participant.js +1 -1
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +1 -1
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +1 -1
- package/dist/collection/components/rtk-participants/rtk-participants.js +1 -1
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +1 -1
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +1 -1
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +1 -1
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +1 -1
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
- package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +1 -1
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +1 -1
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
- package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +1 -1
- package/dist/collection/components/rtk-polls/rtk-polls.js +1 -1
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +1 -1
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +1 -1
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +1 -1
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.css +210 -0
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +371 -37
- package/dist/collection/components/rtk-settings/rtk-settings.js +1 -1
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +1 -1
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +2 -2
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +1 -1
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +1 -1
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +1 -1
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +1 -1
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +1 -1
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +3 -3
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
- package/dist/collection/components/rtk-stage/rtk-stage.js +2 -2
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
- package/dist/collection/components/rtk-switch/rtk-switch.js +2 -2
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +1 -1
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +2 -2
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +3 -3
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +2 -2
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +1 -1
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +2 -2
- package/dist/collection/lib/default-ui-config.js +2 -8
- package/dist/collection/lib/lang/default-language.js +6 -0
- package/dist/collection/lib/notification.js +56 -2
- package/dist/collection/types/ui-config/config.js +101 -13
- package/dist/collection/utils/config.js +3 -8
- package/dist/collection/utils/notification.js +12 -3
- package/dist/collection/utils/ui-kit-metadata.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-DC-3Hg9I.js → p-0DTiM_we.js} +1 -1
- package/dist/components/{p-kGPSVdob.js → p-1C_TdKq0.js} +1 -1
- package/dist/components/{p-CHSH0L_g.js → p-1J7p9yTO.js} +1 -1
- package/dist/components/{p-CGVMdadq.js → p-453sV-Ir.js} +1 -1
- package/dist/components/{p-0I1N5xHK.js → p-6A_cBfi7.js} +1 -1
- package/dist/components/{p-GMH-Dp75.js → p-B-L_tmky.js} +1 -1
- package/dist/components/{p-Zkjzr8ZL.js → p-B5e4-Gnb.js} +1 -1
- package/dist/components/{p-CugPCiPF.js → p-B7ZjIFa-.js} +1 -1
- package/dist/components/{p-xLck_VlO.js → p-B8xh8FL-.js} +1 -1
- package/dist/components/{p-BNjHUNwU.js → p-BDmVHB8l.js} +1 -1
- package/dist/components/{p-Bc2jtNZw.js → p-BJ7Hcvk1.js} +1 -1
- package/dist/components/p-BLyVHBPm.js +1 -0
- package/dist/components/{p-D9cHynev.js → p-BQ-x6_xE.js} +1 -1
- package/dist/components/{p-DAGCKEFc.js → p-BY_hQMNu.js} +1 -1
- package/dist/components/{p-BeWjGx1n.js → p-BaCQqa-Q.js} +1 -1
- package/dist/components/p-BbVYO_6g.js +1 -0
- package/dist/components/{p-CkNlX5-Y.js → p-BbdR8jiw.js} +1 -1
- package/dist/components/{p-GtIz3u0L.js → p-BeeuQPMZ.js} +1 -1
- package/dist/components/{p-BugzZ4hY.js → p-Bhp9Zffa.js} +1 -1
- package/dist/components/{p-Dc5xkFI9.js → p-BkWaCvJV.js} +1 -1
- package/dist/components/{p-Ds5j-VXZ.js → p-BmjopjI3.js} +1 -1
- package/dist/components/{p--F3BGV0E.js → p-Bo1ku_2a.js} +1 -1
- package/dist/components/{p-uxGiMP6W.js → p-BowkkEiR.js} +1 -1
- package/dist/components/p-BtMpJ0mM.js +1 -0
- package/dist/components/{p-DuRlksIi.js → p-BwnnHi0H.js} +1 -1
- package/dist/components/{p-CiX87kt0.js → p-BwpYVCMj.js} +1 -1
- package/dist/components/{p-DxZ5v-a-.js → p-Bxt73ql2.js} +1 -1
- package/dist/components/{p-gBEnKt4T.js → p-C-Jht7Ou.js} +1 -1
- package/dist/components/{p-CM3Y2kOg.js → p-C7qQzBOW.js} +1 -1
- package/dist/components/{p-BVRIm4Vt.js → p-CFL-ALsL.js} +1 -1
- package/dist/components/{p-ByMjaTnP.js → p-CNJG60uZ.js} +1 -1
- package/dist/components/{p-C7Rh2NRS.js → p-CNY9L4u1.js} +1 -1
- package/dist/components/{p-CH7w_Zrp.js → p-CP4anCBG.js} +1 -1
- package/dist/components/{p-Be6GRqFL.js → p-CQa16w_c.js} +1 -1
- package/dist/components/{p-CWxtbDEh.js → p-CSW-it45.js} +1 -1
- package/dist/components/{p-B2RoJ1tz.js → p-CVy_5Tvb.js} +1 -1
- package/dist/components/{p-U9jg1DvO.js → p-CY6CL9kK.js} +1 -1
- package/dist/components/{p-g5NPAxAj.js → p-C_fSXjwp.js} +1 -1
- package/dist/components/{p-BWLmBQB7.js → p-Cb3kcQH8.js} +1 -1
- package/dist/components/{p-oXCkwBKR.js → p-CjID2TEf.js} +1 -1
- package/dist/components/{p-BQMMBSP2.js → p-CjNPU4tr.js} +1 -1
- package/dist/components/{p-Ic4M6IZs.js → p-CoiejzBd.js} +1 -1
- package/dist/components/p-CpLLOHOq.js +1 -0
- package/dist/components/p-CsFRsJd2.js +1 -0
- package/dist/components/{p-BX3gY1PP.js → p-CsTjOsQ7.js} +1 -1
- package/dist/components/{p-BWqnoSw2.js → p-CsY7NAuq.js} +1 -1
- package/dist/components/{p-BC__OeWi.js → p-CshWFMrN.js} +1 -1
- package/dist/components/{p-vADJB1c2.js → p-D1dX_iSl.js} +1 -1
- package/dist/components/{p-B3ATJ-iD.js → p-D1ihibWt.js} +1 -1
- package/dist/components/{p-DNy6quyg.js → p-D3S9CkeA.js} +1 -1
- package/dist/components/{p-B2EHfWpD.js → p-D5NZi5H5.js} +1 -1
- package/dist/components/{p-Btj1QSzG.js → p-D6u-SXpn.js} +1 -1
- package/dist/components/p-D8OMvJbR.js +1 -0
- package/dist/components/p-DIblgdpF.js +1 -0
- package/dist/components/{p-BjZJaxt1.js → p-DLWL-o6Z.js} +1 -1
- package/dist/components/{p-BjG7yuwj.js → p-DRa-BDek.js} +1 -1
- package/dist/components/{p-DUIWB0ra.js → p-DW2Js6u1.js} +1 -1
- package/dist/components/p-DWYKl0rg.js +1 -0
- package/dist/components/{p-B6IcTqkN.js → p-DWgMo0uM.js} +1 -1
- package/dist/components/{p-msSLVaDl.js → p-D_HYgg0D.js} +1 -1
- package/dist/components/{p-D34dZlkT.js → p-D_Zth43B.js} +1 -1
- package/dist/components/{p-Bp8UGnBB.js → p-DcGAhFPL.js} +1 -1
- package/dist/components/{p-C07P-YzZ.js → p-DiO4NkoA.js} +1 -1
- package/dist/components/{p-CtPr1nvA.js → p-DtCdkVUQ.js} +1 -1
- package/dist/components/{p-ifBo9NHb.js → p-DuB7bImP.js} +1 -1
- package/dist/components/{p-Bjx68Nkv.js → p-DuheZw1w.js} +1 -1
- package/dist/components/{p-BBRpBb3D.js → p-DwHaSUu3.js} +1 -1
- package/dist/components/{p-CjOKLEdP.js → p-DxynE7R4.js} +1 -1
- package/dist/components/p-Dy7c6clK.js +1 -0
- package/dist/components/{p-CxPXk2ws.js → p-FI--hA8I.js} +1 -1
- package/dist/components/{p-IilUR0Z4.js → p-K3aT9e86.js} +1 -1
- package/dist/components/{p-B0Fo3cKf.js → p-LlsVAS7r.js} +1 -1
- package/dist/components/{p-CXDRC8Nb.js → p-R3NB2Rxd.js} +1 -1
- package/dist/components/{p-Dp2LhUKa.js → p-SJeISbFm.js} +1 -1
- package/dist/components/{p-DPENu38v.js → p-aAhxhPu6.js} +1 -1
- package/dist/components/{p-B_Wn0VnS.js → p-l4woSzxj.js} +1 -1
- package/dist/components/{p-DW9czTAD.js → p-ralyxXdZ.js} +1 -1
- package/dist/components/{p-BGaDuggr.js → p-sG2nShz-.js} +1 -1
- package/dist/components/{p-DAq4FN_d.js → p-w2nCsug-.js} +1 -1
- package/dist/components/rtk-ai-toggle.js +1 -1
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +1 -1
- package/dist/components/rtk-audio-grid.js +1 -1
- package/dist/components/rtk-audio-tile.js +1 -1
- package/dist/components/rtk-audio-visualizer.js +1 -1
- package/dist/components/rtk-avatar.js +1 -1
- package/dist/components/rtk-breakout-room-manager.js +1 -1
- package/dist/components/rtk-breakout-room-participants.js +1 -1
- package/dist/components/rtk-breakout-rooms-manager.js +1 -1
- package/dist/components/rtk-breakout-rooms-toggle.js +1 -1
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-camera-selector.js +1 -1
- package/dist/components/rtk-camera-toggle.js +1 -1
- package/dist/components/rtk-caption-toggle.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +1 -1
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-header.js +1 -1
- package/dist/components/rtk-chat-message.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +1 -1
- package/dist/components/rtk-chat-search-results.js +1 -1
- package/dist/components/rtk-chat-selector-ui.js +1 -1
- package/dist/components/rtk-chat-selector.js +1 -1
- package/dist/components/rtk-chat-toggle.js +1 -1
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +1 -1
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +1 -1
- package/dist/components/rtk-counter.js +1 -1
- package/dist/components/rtk-debugger-audio.js +1 -1
- package/dist/components/rtk-debugger-screenshare.js +1 -1
- package/dist/components/rtk-debugger-system.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +1 -1
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +1 -1
- package/dist/components/rtk-dialog.js +1 -1
- package/dist/components/rtk-draft-attachment-view.js +1 -1
- package/dist/components/rtk-emoji-picker-button.js +1 -1
- package/dist/components/rtk-emoji-picker.js +1 -1
- package/dist/components/rtk-ended-screen.js +1 -1
- package/dist/components/rtk-file-dropzone.js +1 -1
- package/dist/components/rtk-file-message-view.js +1 -1
- package/dist/components/rtk-file-message.js +1 -1
- package/dist/components/rtk-file-picker-button.js +1 -1
- package/dist/components/rtk-fullscreen-toggle.js +1 -1
- package/dist/components/rtk-grid-pagination.js +1 -1
- package/dist/components/rtk-grid.js +1 -1
- package/dist/components/rtk-header.js +1 -1
- package/dist/components/rtk-idle-screen.js +1 -1
- package/dist/components/rtk-image-message-view.js +1 -1
- package/dist/components/rtk-image-message.js +1 -1
- package/dist/components/rtk-image-viewer.js +1 -1
- package/dist/components/rtk-information-tooltip.js +1 -1
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +1 -1
- package/dist/components/rtk-leave-meeting.js +1 -1
- package/dist/components/rtk-livestream-indicator.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +1 -1
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-meeting-title.js +1 -1
- package/dist/components/rtk-meeting.js +1 -1
- package/dist/components/rtk-menu-item.js +1 -1
- package/dist/components/rtk-menu-list.js +1 -1
- package/dist/components/rtk-menu.js +1 -1
- package/dist/components/rtk-message-list-view.js +1 -1
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +1 -1
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +1 -1
- package/dist/components/rtk-more-toggle.js +1 -1
- package/dist/components/rtk-mute-all-button.js +1 -1
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-network-indicator.js +1 -1
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +1 -1
- package/dist/components/rtk-overlay-modal.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-participant-count.js +1 -1
- package/dist/components/rtk-participant-setup.js +1 -1
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +1 -1
- package/dist/components/rtk-participants-stage-list.js +1 -1
- package/dist/components/rtk-participants-stage-queue.js +1 -1
- package/dist/components/rtk-participants-toggle.js +1 -1
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +1 -1
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pinned-message-selector.js +1 -1
- package/dist/components/rtk-pip-toggle.js +1 -1
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +1 -1
- package/dist/components/rtk-plugins.js +1 -1
- package/dist/components/rtk-poll-form.js +1 -1
- package/dist/components/rtk-poll.js +1 -1
- package/dist/components/rtk-polls-toggle.js +1 -1
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +1 -1
- package/dist/components/rtk-recording-toggle.js +1 -1
- package/dist/components/rtk-screen-share-toggle.js +1 -1
- package/dist/components/rtk-screenshare-view.js +1 -1
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +1 -1
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +1 -1
- package/dist/components/rtk-setup-screen.js +1 -1
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +1 -1
- package/dist/components/rtk-simple-grid.js +1 -1
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +1 -1
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +1 -1
- package/dist/components/rtk-stage.js +1 -1
- package/dist/components/rtk-switch.js +1 -1
- package/dist/components/rtk-tab-bar.js +1 -1
- package/dist/components/rtk-text-composer-view.js +1 -1
- package/dist/components/rtk-text-message-view.js +1 -1
- package/dist/components/rtk-text-message.js +1 -1
- package/dist/components/rtk-transcript.js +1 -1
- package/dist/components/rtk-transcripts.js +1 -1
- package/dist/components/rtk-ui-provider.js +1 -1
- package/dist/components/rtk-viewer-count.js +1 -1
- package/dist/components/rtk-virtualized-participant-list.js +1 -1
- package/dist/components/rtk-waiting-screen.js +1 -1
- package/dist/docs/docs-components.json +3711 -742
- package/dist/docs/docs-vscode.json +5 -1
- package/dist/esm/{TextMessage-BZiVGmY1.js → TextMessage-yvgmoyno.js} +1 -1
- package/dist/esm/{chat-lvouWi7J.js → chat-C76CTGaE.js} +1 -1
- package/dist/esm/{config-B2jDqnc2.js → config-DP9lPGyT.js} +4 -10
- package/dist/esm/{debounce-aR8pwob-.js → debounce-wUcmtMrZ.js} +1 -1
- package/dist/esm/{index-CgECHQfr.js → index-BqWqJ0QM.js} +1 -1
- package/dist/esm/index.js +19 -11
- package/dist/esm/loader.js +1054 -579
- package/dist/esm/{ui-kit-metadata-DBkOnyOI.js → merge-CyAJSnqi.js} +2 -287
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-ai-toggle.entry.js +2 -2
- package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
- package/dist/esm/rtk-ai_3.entry.js +2 -2
- package/dist/esm/rtk-audio-grid.entry.js +2 -2
- package/dist/esm/rtk-audio-tile.entry.js +2 -2
- package/dist/esm/rtk-audio-visualizer_3.entry.js +2 -3
- package/dist/esm/rtk-avatar_26.entry.js +10 -9
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
- package/dist/esm/rtk-breakout-rooms-manager_8.entry.js +2 -2
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
- package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
- package/dist/esm/rtk-camera-toggle.entry.js +2 -2
- package/dist/esm/rtk-caption-toggle.entry.js +2 -2
- package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-message.entry.js +2 -2
- package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
- package/dist/esm/rtk-chat-search-results.entry.js +2 -2
- package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-toggle.entry.js +2 -2
- package/dist/esm/rtk-clock.entry.js +2 -2
- package/dist/esm/rtk-controlbar-button.entry.js +2 -2
- package/dist/esm/rtk-controlbar.entry.js +2 -2
- package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
- package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
- package/dist/esm/rtk-debugger.entry.js +2 -2
- package/dist/esm/rtk-dialog-manager.entry.js +2 -2
- package/dist/esm/rtk-dialog.entry.js +2 -2
- package/dist/esm/rtk-ended-screen.entry.js +2 -2
- package/dist/esm/rtk-file-dropzone.entry.js +2 -2
- package/dist/esm/rtk-file-message_3.entry.js +6 -6
- package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
- package/dist/esm/rtk-grid-pagination.entry.js +2 -2
- package/dist/esm/rtk-grid.entry.js +2 -2
- package/dist/esm/rtk-header.entry.js +2 -2
- package/dist/esm/rtk-idle-screen.entry.js +2 -2
- package/dist/esm/rtk-image-viewer.entry.js +2 -2
- package/dist/esm/rtk-information-tooltip.entry.js +2 -2
- package/dist/esm/rtk-leave-button.entry.js +2 -2
- package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
- package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
- package/dist/esm/rtk-logo.entry.js +2 -2
- package/dist/esm/rtk-meeting-title.entry.js +2 -2
- package/dist/esm/rtk-message-list-view.entry.js +3 -3
- package/dist/esm/rtk-mic-toggle.entry.js +2 -3
- package/dist/esm/rtk-mixed-grid.entry.js +2 -2
- package/dist/esm/rtk-more-toggle.entry.js +2 -2
- package/dist/esm/rtk-mute-all-button.entry.js +2 -2
- package/dist/esm/rtk-name-tag.entry.js +2 -2
- package/dist/esm/rtk-network-indicator.entry.js +2 -2
- package/dist/esm/rtk-notification.entry.js +8 -6
- package/dist/esm/rtk-notifications.entry.js +194 -204
- package/dist/esm/rtk-participant-count.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +2 -2
- package/dist/esm/rtk-participant_2.entry.js +5 -5
- package/dist/esm/rtk-participants-audio.entry.js +2 -3
- package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
- package/dist/esm/rtk-participants-toggle.entry.js +2 -2
- package/dist/esm/rtk-participants.entry.js +3 -3
- package/dist/esm/rtk-pip-toggle.entry.js +2 -2
- package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
- package/dist/esm/rtk-plugins-toggle.entry.js +2 -2
- package/dist/esm/rtk-poll_2.entry.js +2 -2
- package/dist/esm/rtk-polls-toggle.entry.js +2 -2
- package/dist/esm/rtk-recording-indicator.entry.js +2 -2
- package/dist/esm/rtk-recording-toggle.entry.js +2 -2
- package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
- package/dist/esm/rtk-screenshare-view.entry.js +347 -34
- package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
- package/dist/esm/rtk-settings-toggle.entry.js +3 -3
- package/dist/esm/rtk-settings.entry.js +2 -2
- package/dist/esm/rtk-setup-screen.entry.js +2 -2
- package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
- package/dist/esm/rtk-sidebar.entry.js +2 -2
- package/dist/esm/rtk-simple-grid.entry.js +2 -2
- package/dist/esm/rtk-spotlight-grid.entry.js +4 -4
- package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
- package/dist/esm/rtk-stage-toggle.entry.js +2 -2
- package/dist/esm/rtk-stage.entry.js +3 -3
- package/dist/esm/rtk-switch.entry.js +3 -3
- package/dist/esm/rtk-transcript.entry.js +3 -3
- package/dist/esm/rtk-transcripts.entry.js +2 -2
- package/dist/esm/rtk-ui-provider.entry.js +3 -2
- package/dist/esm/rtk-waiting-screen.entry.js +3 -3
- package/dist/esm/ui-kit-metadata-BLyVHBPm.js +286 -0
- package/dist/esm/{ui-store-25wIB_YH.js → ui-store-BDu-JN-c.js} +221 -9
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-3ab9b329.entry.js → p-00d76359.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2999cb8d.entry.js → p-09c97ce7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c7f7f0ee.entry.js → p-1649cd9b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-aa1bcc8d.entry.js → p-1cb35848.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2f380c20.entry.js → p-20ca622e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a5afae52.entry.js → p-212b81f9.entry.js} +1 -1
- package/dist/realtimekit-ui/p-216d317b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-e54dbacd.entry.js → p-21d6fbde.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6a985345.entry.js → p-2630a30f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7878ab30.entry.js → p-2666b720.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1eac1ada.entry.js → p-29ca5030.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2ac37cd3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-69e11a90.entry.js → p-2b4a9798.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-69445dc5.entry.js → p-2cc93fdf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c35040dc.entry.js → p-2cffd80b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6bca148a.entry.js → p-2e00a64f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-22cd2a40.entry.js → p-2f225d81.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-94a286d0.entry.js → p-31cff3b4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-da857425.entry.js → p-339d78e0.entry.js} +1 -1
- package/dist/realtimekit-ui/p-39f4dfc2.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d91222ea.entry.js → p-3df86b16.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7711649a.entry.js → p-40b5a3f6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5ea44aa5.entry.js → p-40d669f7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-465e03e3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a478656f.entry.js → p-468bbf25.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-467cb881.entry.js → p-46f5bd65.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cdf80add.entry.js → p-4a2791af.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a732dd55.entry.js → p-4d1c520d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fbde8aee.entry.js → p-4f4f74de.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6568c9be.entry.js → p-50964a67.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-60e672f3.entry.js → p-590d9a6f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-73f2a2db.entry.js → p-59e85491.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cf9e2497.entry.js → p-5a316687.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8dc6db09.entry.js → p-5ad79e40.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a6b6f977.entry.js → p-65d4e49f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-69ee90c7.entry.js → p-66c16b99.entry.js} +1 -1
- package/dist/realtimekit-ui/p-679cff34.entry.js +1 -0
- package/dist/realtimekit-ui/p-68355fad.entry.js +1 -0
- package/dist/realtimekit-ui/{p-f202a199.entry.js → p-6c6da19f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a1febe2c.entry.js → p-6db3f0b3.entry.js} +1 -1
- package/dist/realtimekit-ui/p-705c69ef.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b29b686b.entry.js → p-71bd9c93.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3a0eaf1e.entry.js → p-780e1278.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-590350ae.entry.js → p-7b95fcea.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c8cad0a6.entry.js → p-7f6cd05d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-77648ee7.entry.js → p-80e72f3b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-81b64fa2.entry.js +1 -0
- package/dist/realtimekit-ui/{p-64b7ca52.entry.js → p-866df7d3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-64f46d1e.entry.js → p-8a113cfb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-00ae47eb.entry.js → p-915dec6c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b783a853.entry.js → p-9169be62.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-60f90e32.entry.js → p-95f35e70.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-95818179.entry.js → p-983ca822.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3d95065e.entry.js → p-98e3caf7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9f5eb163.entry.js +1 -0
- package/dist/realtimekit-ui/p-BLyVHBPm.js +1 -0
- package/dist/realtimekit-ui/p-Bzni6MqK.js +1 -0
- package/dist/realtimekit-ui/p-DEqeU73W.js +1 -0
- package/dist/realtimekit-ui/p-DYdFtxVz.js +1 -0
- package/dist/realtimekit-ui/{p-CGOvNX5H.js → p-DjuLCOXk.js} +1 -1
- package/dist/realtimekit-ui/{p-CRQsZMW5.js → p-KiBrYIp4.js} +1 -1
- package/dist/realtimekit-ui/{p-8206b22d.entry.js → p-a058849b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-54c71e62.entry.js → p-a2fd9cf2.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a3177447.entry.js +1 -0
- package/dist/realtimekit-ui/{p-39a410f5.entry.js → p-a583cc88.entry.js} +1 -1
- package/dist/realtimekit-ui/p-aIVgtPUf.js +1 -0
- package/dist/realtimekit-ui/{p-cfa03301.entry.js → p-ad8e4409.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-13a913a9.entry.js → p-b16b8339.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0ce5b00f.entry.js → p-baa83772.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-70672349.entry.js → p-be12bd8a.entry.js} +1 -1
- package/dist/realtimekit-ui/p-c132536f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-7d7409e5.entry.js → p-ca45d169.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0df18cd8.entry.js → p-d1422675.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d7b10d53.entry.js → p-d33dcab8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b56fe105.entry.js → p-d6177836.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2eb73b5f.entry.js → p-dfd083c9.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e0fbcd2f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-465c4010.entry.js → p-e2c07b34.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8a481d43.entry.js → p-e48f5b65.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4d59e280.entry.js → p-ea3591dd.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4b2ce9e5.entry.js → p-ea9632fb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-96b81823.entry.js → p-ebc2284a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-dcced1f6.entry.js → p-ed4e8032.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-32079fea.entry.js → p-f163f7d0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bef64365.entry.js → p-f42d1ca8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9675893b.entry.js → p-f6964364.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-21119a4d.entry.js → p-f6cc50c1.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-18607b9a.entry.js → p-fb638463.entry.js} +1 -1
- package/dist/realtimekit-ui/p-fe56d5f4.entry.js +1 -0
- package/dist/realtimekit-ui/{p-df5b5a98.entry.js → p-febe71c5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-Dj-6QheV.js → p-kAmDs9rB.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +12 -3
- package/dist/types/components/rtk-screenshare-view/rtk-screenshare-view.d.ts +31 -7
- package/dist/types/components.d.ts +20 -13
- package/dist/types/lib/lang/default-language.d.ts +6 -0
- package/dist/types/lib/notification.d.ts +31 -2
- package/dist/types/types/ui-config/config.d.ts +49 -10
- package/dist/types/utils/notification.d.ts +11 -2
- package/package.json +1 -1
- package/dist/cjs/browser-qKzDfwbO.js +0 -5
- package/dist/cjs/notification-Bny5fHfy.js +0 -39
- package/dist/components/p--EktoJd3.js +0 -1
- package/dist/components/p-36vx_Mui.js +0 -1
- package/dist/components/p-B56IYWsZ.js +0 -1
- package/dist/components/p-B5Ikq3LV.js +0 -1
- package/dist/components/p-BeJhcBfy.js +0 -1
- package/dist/components/p-C8IQnQjR.js +0 -1
- package/dist/components/p-CAqYddlg.js +0 -1
- package/dist/components/p-C_e0a6jQ.js +0 -1
- package/dist/components/p-DalLUQa1.js +0 -1
- package/dist/components/p-aXMUeMjU.js +0 -1
- package/dist/esm/browser-CAqYddlg.js +0 -3
- package/dist/esm/notification-DZgheLdK.js +0 -37
- package/dist/realtimekit-ui/p-1ff01d5f.entry.js +0 -1
- package/dist/realtimekit-ui/p-20588357.entry.js +0 -1
- package/dist/realtimekit-ui/p-341159c7.entry.js +0 -1
- package/dist/realtimekit-ui/p-63413c07.entry.js +0 -1
- package/dist/realtimekit-ui/p-72b2fe54.entry.js +0 -1
- package/dist/realtimekit-ui/p-792d2533.entry.js +0 -1
- package/dist/realtimekit-ui/p-828ecefa.entry.js +0 -1
- package/dist/realtimekit-ui/p-82a226df.entry.js +0 -1
- package/dist/realtimekit-ui/p-9c53a0b7.entry.js +0 -1
- package/dist/realtimekit-ui/p-B3SWd1rN.js +0 -1
- package/dist/realtimekit-ui/p-B56IYWsZ.js +0 -1
- package/dist/realtimekit-ui/p-C8tHk7bV.js +0 -1
- package/dist/realtimekit-ui/p-CAqYddlg.js +0 -1
- package/dist/realtimekit-ui/p-DgbGa7ou.js +0 -1
- package/dist/realtimekit-ui/p-a05269d4.entry.js +0 -1
- package/dist/realtimekit-ui/p-b415ff27.entry.js +0 -1
- package/dist/realtimekit-ui/p-cc9228ee.entry.js +0 -1
- package/dist/realtimekit-ui/p-df0fe032.entry.js +0 -1
- package/dist/realtimekit-ui/p-x7gw0EVy.js +0 -1
|
@@ -1,5 +1,218 @@
|
|
|
1
1
|
import { S as StencilCore } from './index-gJCRRBX0.js';
|
|
2
2
|
|
|
3
|
+
const isFirefox = (meeting) => { var _a; return (_a = meeting === null || meeting === void 0 ? void 0 : meeting.__internals__) === null || _a === void 0 ? void 0 : _a.browserSpecs.isFirefox(); };
|
|
4
|
+
|
|
5
|
+
const SOUNDS = {
|
|
6
|
+
joined: 'https://rtk-assets.realtime.cloudflare.com/ui-kit/sounds/notification_join.mp3',
|
|
7
|
+
left: 'https://rtk-assets.realtime.cloudflare.com/ui-kit/sounds/notification_join.mp3',
|
|
8
|
+
message: 'https://rtk-assets.realtime.cloudflare.com/ui-kit/sounds/notification_message.mp3',
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Checks that a value is the name of a built-in sound: `joined`, `left` or `message`.
|
|
12
|
+
*/
|
|
13
|
+
function isBuiltInSoundName(value) {
|
|
14
|
+
return typeof value === 'string' && Object.prototype.hasOwnProperty.call(SOUNDS, value);
|
|
15
|
+
}
|
|
16
|
+
const AUDIO_FILE_EXTENSIONS = ['.mp3', '.wav', '.ogg', '.m4a', '.aac', '.flac', '.opus', '.webm'];
|
|
17
|
+
/**
|
|
18
|
+
* Checks that a value is a valid sound URL.
|
|
19
|
+
* It must be an absolute URL that starts with `https://` or `http://` and ends with a
|
|
20
|
+
* supported audio file extension: `.mp3`, `.wav`, `.ogg`, `.m4a`, `.aac`, `.flac`, `.opus`
|
|
21
|
+
* or `.webm`.
|
|
22
|
+
* A query string after the extension is allowed.
|
|
23
|
+
*/
|
|
24
|
+
function isAudioFileUrl(url) {
|
|
25
|
+
if (!url || typeof url !== 'string')
|
|
26
|
+
return false;
|
|
27
|
+
let parsedUrl;
|
|
28
|
+
try {
|
|
29
|
+
// no base URL: a relative path is not a valid URL here
|
|
30
|
+
parsedUrl = new URL(url);
|
|
31
|
+
}
|
|
32
|
+
catch (error) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
if (parsedUrl.protocol !== 'https:' && parsedUrl.protocol !== 'http:')
|
|
36
|
+
return false;
|
|
37
|
+
const path = parsedUrl.pathname.toLowerCase();
|
|
38
|
+
return AUDIO_FILE_EXTENSIONS.some((extension) => path.endsWith(extension));
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Handles notification sounds in a meeting
|
|
42
|
+
*/
|
|
43
|
+
class RTKNotificationsAudio {
|
|
44
|
+
constructor(meeting) {
|
|
45
|
+
this.meeting = meeting;
|
|
46
|
+
this.audio = document.createElement('audio');
|
|
47
|
+
this.audio.volume = 0.3;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Plays one of the built-in notification sounds: `joined`, `left` or `message`.
|
|
51
|
+
* After a sound starts, no other sound can start for `duration` milliseconds.
|
|
52
|
+
* A call during that time does nothing.
|
|
53
|
+
* @param sound The name of the built-in sound
|
|
54
|
+
* @param duration How long this sound plays before other sounds can start, in milliseconds
|
|
55
|
+
*/
|
|
56
|
+
play(sound, duration = 3000) {
|
|
57
|
+
this.playUrlSound(SOUNDS[sound], duration);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Plays an audio file from a URL.
|
|
61
|
+
* It must be an absolute URL that starts with `https://` or `http://` and ends with a
|
|
62
|
+
* supported audio file extension: `.mp3`, `.wav`, `.ogg`, `.m4a`, `.aac`, `.flac`, `.opus`
|
|
63
|
+
* or `.webm`.
|
|
64
|
+
* Any other URL is ignored.
|
|
65
|
+
* @param url The URL of the audio file to play
|
|
66
|
+
* @param duration How long this sound plays before other sounds can start, in milliseconds
|
|
67
|
+
*/
|
|
68
|
+
playUrl(url, duration = 3000) {
|
|
69
|
+
if (!isAudioFileUrl(url))
|
|
70
|
+
return;
|
|
71
|
+
this.playUrlSound(url, duration);
|
|
72
|
+
}
|
|
73
|
+
playUrlSound(source, duration) {
|
|
74
|
+
var _a;
|
|
75
|
+
if (this.playing)
|
|
76
|
+
return;
|
|
77
|
+
this.playing = true;
|
|
78
|
+
this.audio.src = source;
|
|
79
|
+
this.audio.volume = 0.3;
|
|
80
|
+
(_a = this.audio.play()) === null || _a === void 0 ? void 0 : _a.catch((_) => { });
|
|
81
|
+
setTimeout(() => {
|
|
82
|
+
this.playing = false;
|
|
83
|
+
}, duration);
|
|
84
|
+
}
|
|
85
|
+
async setDevice(id) {
|
|
86
|
+
var _a, _b, _c;
|
|
87
|
+
if (isFirefox(this.meeting))
|
|
88
|
+
return;
|
|
89
|
+
await ((_c = (_b = (_a = this.audio) === null || _a === void 0 ? void 0 : _a.setSinkId) === null || _b === void 0 ? void 0 : _b.call(_a, id)) === null || _c === void 0 ? void 0 : _c.catch((_) => { }));
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const DEFAULT_NOTIFICATION_DURATION = 2000;
|
|
94
|
+
const DEFAULT_NOTIFICATION_CONFIG = Object.freeze({
|
|
95
|
+
notifications: {
|
|
96
|
+
participant_joined: true,
|
|
97
|
+
participant_left: true,
|
|
98
|
+
participant_joined_waitlist: true,
|
|
99
|
+
chat_new_message: true,
|
|
100
|
+
chat_message_edited: false,
|
|
101
|
+
chat_message_deleted: false,
|
|
102
|
+
polls_new_poll: true,
|
|
103
|
+
tab_sync_plugin_switched: true,
|
|
104
|
+
tab_sync_screen_share_switched: true,
|
|
105
|
+
recording_started: true,
|
|
106
|
+
recording_stopped: true,
|
|
107
|
+
stage_requested_to_join: false,
|
|
108
|
+
stage_joined: false,
|
|
109
|
+
stage_request_accepted: true,
|
|
110
|
+
stage_request_rejected: true,
|
|
111
|
+
stage_new_request_received: true,
|
|
112
|
+
stage_invite_sent: true,
|
|
113
|
+
speaker_switched: true,
|
|
114
|
+
camera_switched: true,
|
|
115
|
+
microphone_switched: true,
|
|
116
|
+
network_restored: true,
|
|
117
|
+
network_reconnecting: true,
|
|
118
|
+
network_delayed: true,
|
|
119
|
+
network_disconnected: true,
|
|
120
|
+
network_failed: true,
|
|
121
|
+
api_error: true,
|
|
122
|
+
custom: true,
|
|
123
|
+
},
|
|
124
|
+
notification_sounds: {
|
|
125
|
+
participant_joined: true,
|
|
126
|
+
participant_left: false,
|
|
127
|
+
participant_joined_waitlist: true,
|
|
128
|
+
chat_new_message: true,
|
|
129
|
+
chat_message_edited: false,
|
|
130
|
+
chat_message_deleted: false,
|
|
131
|
+
polls_new_poll: true,
|
|
132
|
+
tab_sync_plugin_switched: false,
|
|
133
|
+
tab_sync_screen_share_switched: false,
|
|
134
|
+
recording_started: false,
|
|
135
|
+
recording_stopped: false,
|
|
136
|
+
stage_requested_to_join: false,
|
|
137
|
+
stage_joined: false,
|
|
138
|
+
stage_request_accepted: false,
|
|
139
|
+
stage_request_rejected: false,
|
|
140
|
+
stage_new_request_received: false,
|
|
141
|
+
stage_invite_sent: false,
|
|
142
|
+
speaker_switched: false,
|
|
143
|
+
camera_switched: false,
|
|
144
|
+
microphone_switched: false,
|
|
145
|
+
network_restored: false,
|
|
146
|
+
network_reconnecting: false,
|
|
147
|
+
network_delayed: false,
|
|
148
|
+
network_disconnected: false,
|
|
149
|
+
network_failed: false,
|
|
150
|
+
api_error: false,
|
|
151
|
+
custom: true,
|
|
152
|
+
},
|
|
153
|
+
notification_duration: {
|
|
154
|
+
participant_joined: 2100,
|
|
155
|
+
participant_left: 2100,
|
|
156
|
+
participant_joined_waitlist: 4000,
|
|
157
|
+
chat_new_message: DEFAULT_NOTIFICATION_DURATION,
|
|
158
|
+
chat_message_edited: DEFAULT_NOTIFICATION_DURATION,
|
|
159
|
+
chat_message_deleted: DEFAULT_NOTIFICATION_DURATION,
|
|
160
|
+
polls_new_poll: DEFAULT_NOTIFICATION_DURATION,
|
|
161
|
+
tab_sync_plugin_switched: 2100,
|
|
162
|
+
tab_sync_screen_share_switched: DEFAULT_NOTIFICATION_DURATION,
|
|
163
|
+
recording_started: DEFAULT_NOTIFICATION_DURATION,
|
|
164
|
+
recording_stopped: DEFAULT_NOTIFICATION_DURATION,
|
|
165
|
+
stage_requested_to_join: DEFAULT_NOTIFICATION_DURATION,
|
|
166
|
+
stage_joined: DEFAULT_NOTIFICATION_DURATION,
|
|
167
|
+
stage_request_accepted: 3000,
|
|
168
|
+
stage_request_rejected: 3000,
|
|
169
|
+
stage_new_request_received: 3000,
|
|
170
|
+
stage_invite_sent: DEFAULT_NOTIFICATION_DURATION,
|
|
171
|
+
speaker_switched: 5000,
|
|
172
|
+
camera_switched: 5000,
|
|
173
|
+
microphone_switched: 5000,
|
|
174
|
+
network_restored: 3000,
|
|
175
|
+
network_reconnecting: 0,
|
|
176
|
+
network_delayed: 0,
|
|
177
|
+
network_disconnected: 0,
|
|
178
|
+
network_failed: 0,
|
|
179
|
+
api_error: DEFAULT_NOTIFICATION_DURATION,
|
|
180
|
+
custom: DEFAULT_NOTIFICATION_DURATION,
|
|
181
|
+
},
|
|
182
|
+
notification_sound_urls: {
|
|
183
|
+
participant_joined: SOUNDS.joined,
|
|
184
|
+
participant_left: SOUNDS.left,
|
|
185
|
+
participant_joined_waitlist: SOUNDS.message,
|
|
186
|
+
chat_new_message: SOUNDS.message,
|
|
187
|
+
chat_message_edited: SOUNDS.message,
|
|
188
|
+
chat_message_deleted: SOUNDS.message,
|
|
189
|
+
polls_new_poll: SOUNDS.message,
|
|
190
|
+
tab_sync_plugin_switched: SOUNDS.message,
|
|
191
|
+
tab_sync_screen_share_switched: SOUNDS.message,
|
|
192
|
+
recording_started: SOUNDS.message,
|
|
193
|
+
recording_stopped: SOUNDS.message,
|
|
194
|
+
stage_requested_to_join: SOUNDS.joined,
|
|
195
|
+
stage_joined: SOUNDS.joined,
|
|
196
|
+
stage_request_accepted: SOUNDS.message,
|
|
197
|
+
stage_request_rejected: SOUNDS.message,
|
|
198
|
+
stage_new_request_received: SOUNDS.message,
|
|
199
|
+
stage_invite_sent: SOUNDS.message,
|
|
200
|
+
speaker_switched: SOUNDS.message,
|
|
201
|
+
camera_switched: SOUNDS.message,
|
|
202
|
+
microphone_switched: SOUNDS.message,
|
|
203
|
+
network_restored: SOUNDS.message,
|
|
204
|
+
network_reconnecting: SOUNDS.message,
|
|
205
|
+
network_delayed: SOUNDS.message,
|
|
206
|
+
network_disconnected: SOUNDS.message,
|
|
207
|
+
network_failed: SOUNDS.message,
|
|
208
|
+
api_error: SOUNDS.message,
|
|
209
|
+
custom: undefined,
|
|
210
|
+
},
|
|
211
|
+
participant_joined_sound_notification_limit: 3,
|
|
212
|
+
participant_chat_message_sound_notification_limit: 10,
|
|
213
|
+
visible_notifications_limit: 5,
|
|
214
|
+
});
|
|
215
|
+
|
|
3
216
|
/** Detect free variable `global` from Node.js. */
|
|
4
217
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
5
218
|
|
|
@@ -2344,14 +2557,7 @@ const defaultConfig = {
|
|
|
2344
2557
|
'rtk-ai-toggle',
|
|
2345
2558
|
],
|
|
2346
2559
|
},
|
|
2347
|
-
config: {
|
|
2348
|
-
notification_sounds: {
|
|
2349
|
-
participant_left: false,
|
|
2350
|
-
},
|
|
2351
|
-
participant_joined_sound_notification_limit: 10,
|
|
2352
|
-
participant_chat_message_sound_notification_limit: 10,
|
|
2353
|
-
videoFit: 'cover',
|
|
2354
|
-
},
|
|
2560
|
+
config: Object.assign(Object.assign({}, clone(DEFAULT_NOTIFICATION_CONFIG)), { videoFit: 'cover' }),
|
|
2355
2561
|
};
|
|
2356
2562
|
const createDefaultConfig = () => {
|
|
2357
2563
|
return clone(defaultConfig);
|
|
@@ -2722,6 +2928,10 @@ const defaultLanguage = {
|
|
|
2722
2928
|
'screenshare.min_preview': 'Minimize Preview',
|
|
2723
2929
|
'screenshare.max_preview': 'Expand Preview',
|
|
2724
2930
|
'screenshare.shared': 'Your screen is being shared.',
|
|
2931
|
+
'screenshare.visibility.none': 'No one is viewing your screen.',
|
|
2932
|
+
'screenshare.visibility.all': 'Everyone is viewing your screen.',
|
|
2933
|
+
'screenshare.visibility.not_viewing': 'Not currently viewing:',
|
|
2934
|
+
'screenshare.visibility.more': 'More participants',
|
|
2725
2935
|
'screenshare.start': 'Share Screen',
|
|
2726
2936
|
'screenshare.share_different_screen': 'Share Different Screen',
|
|
2727
2937
|
'screenshare.menu': 'Screen Sharing',
|
|
@@ -3025,6 +3235,8 @@ const defaultLanguage = {
|
|
|
3025
3235
|
'notifications.request_to_join_rejected': 'Request to join rejected',
|
|
3026
3236
|
'notifications.accept': 'Accept',
|
|
3027
3237
|
'notifications.new_poll_created_by': 'New poll created by',
|
|
3238
|
+
'notifications.chat_message_edited': 'edited a message',
|
|
3239
|
+
'notifications.chat_message_deleted': 'deleted a message',
|
|
3028
3240
|
'notifications.connected_to': 'Connected to',
|
|
3029
3241
|
'notifications.plugin_switched_to': 'Plugin switched to',
|
|
3030
3242
|
'notifications.remote_control_requested': 'has requested for remote control',
|
|
@@ -3347,4 +3559,4 @@ function removeElement(propName, element, targetStore = uiStore) {
|
|
|
3347
3559
|
}
|
|
3348
3560
|
}
|
|
3349
3561
|
|
|
3350
|
-
export {
|
|
3562
|
+
export { getPrototype as A, isBuffer as B, isTypedArray as C, DEFAULT_NOTIFICATION_CONFIG as D, isArray as E, cloneBuffer as F, cloneTypedArray as G, isArguments as H, isFunction as I, initCloneObject as J, appendElement as K, removeElement as L, root as M, isFirefox as N, isAudioFileUrl as O, isBuiltInSoundName as P, getPreference as Q, RTKNotificationsAudio as R, Stack as S, uiState as a, createPeerStore as b, createDefaultConfig as c, defaultConfig as d, defaultIconPack as e, defaultOverrides as f, getInitialStates as g, defaultLanguage as h, useLanguage as i, gracefulStorage$1 as j, clone as k, getUserPreferences as l, chatUnreadTimestamps as m, defineProperty as n, baseAssignValue as o, assignValue as p, isObject as q, isArrayLike as r, setPreference as s, isIndex as t, uiStore as u, eq as v, isPrototype as w, arrayLikeKeys as x, isObjectLike as y, baseGetTag as z };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{B as BreakoutRoomsManager}from"./p-Rq_6y0HI.js";export{p as provideRtkDesignSystem,s as setUiKitSdkName}from"./p-
|
|
1
|
+
export{B as BreakoutRoomsManager}from"./p-Rq_6y0HI.js";export{p as provideRtkDesignSystem,s as setUiKitSdkName}from"./p-BLyVHBPm.js";import{g as t}from"./p-aIVgtPUf.js";export{e as extendConfig}from"./p-aIVgtPUf.js";import{c as r}from"./p-DYdFtxVz.js";export{R as RtkNotificationsAudio,b as createPeerStore,d as defaultConfig,e as defaultIconPack,h as defaultLanguage,f as defaultOverrides,g as getInitialStates,a as uiState,u as uiStore,i as useLanguage}from"./p-DYdFtxVz.js";export{g as generateChatGroupKey,a as getChatGroups,c as getParticipantUserId,b as getUnreadChatCounts}from"./p-KiBrYIp4.js";import"./p-Daj_55_i.js";import"./p-Bzni6MqK.js";import"./p-C0vp-Q7v.js";import"./p-gJCRRBX0.js";const o=(t,s,i)=>{var e;if("undefined"==typeof document)return!1;const r=new CustomEvent("rtkNotification",{detail:Object.assign(Object.assign({},t),{playSound:s,meetingId:null===(e=null==i?void 0:i.meta)||void 0===e?void 0:e.meetingId}),composed:!0});return document.dispatchEvent(r)};function n(t){return s=>Array.isArray(s)?s[0]===t:s===t}function l(t){return s=>Array.isArray(s)?s[0]!==t:s!==t}function m(t){return t.replace(/([a-z])([A-Z])/g,(t=>`${t[0]}-${t[1]}`.toLowerCase()))}class v{constructor(t,s,i){this.elem=t,this.config=s,this.keyString=i}add(t,s={}){var i;let e=t=m(t);return Object.keys(s).length>0&&(e=[t,s]),Array.isArray(this.elem)?this.elem.push(e):"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=[...this.elem.children,e]:"remove"in this.elem&&Array.isArray(this.elem.remove)&&this.elem.remove.find(n(t))?this.elem.remove=this.elem.remove.filter(l(t)):("add"in this.elem||(this.elem.add=[]),null===(i=this.elem.add)||void 0===i||i.push(e)),this}remove(t){var s;if(t=m(t),Array.isArray(this.elem)){const s=this.elem.findIndex(n(t));s>-1&&this.elem.splice(s,1)}else"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=this.elem.children.filter(l(t)):"add"in this.elem&&Array.isArray(this.elem.add)&&this.elem.add.find((s=>s===t))?this.elem.add=this.elem.add.filter(l(t)):("remove"in this.elem||(this.elem.remove=[]),null===(s=this.elem.remove)||void 0===s||s.push(t));return this}set style(t){console.log(t)}setChildrenProps(t,s){console.log(this.keyString,t,s)}getChildrenProps(t){return console.log(this.keyString,t),{}}replace(t){console.log(this.config,t)}}class y{constructor(t){this.config=t||r()}find(t,s={}){t=m(t);const i=[],e=[];Object.keys(s||{}).forEach((t=>{"boolean"==typeof s[t]?i.push(t):e.push([t,s[t]])})),i.sort();const r=this.config.root;if(void 0===r)return;let o=t,n="";i.length>0&&(n=`.${i.join(".")}`,o=`${t}${n}`,Array.isArray(r[t])&&(r[t]={states:[],children:r[t]}),void 0===r[t].states&&(r[t].states=[]),i.forEach((s=>{var i,e;-1===(null===(i=r[t].states)||void 0===i?void 0:i.indexOf(s))&&(null===(e=r[t].states)||void 0===e||e.push(s))}))),e.length>0&&e.forEach((s=>{o=`${t}[${s[0]}=${s[1]}]${n}`,Array.isArray(r[t])&&(r[t]={state:s[0],children:r[t]})}));let a=r[o];return void 0===a&&(r[o]={},a=r[o]),new v(a,this.config,o)}build(){return this.config}}function j(s,i,e){if(!e){const s=t(i.self.config,i);e=s.config}return s.map((t=>{e=t.register(e,i,(t=>new y(t)))})),e}export{y as RtkUiBuilder,r as createDefaultConfig,t as generateConfig,j as registerAddons,o as sendNotification}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as r,h as i,a as s}from"./p-gJCRRBX0.js";import{c as a,e,i as o}from"./p-
|
|
1
|
+
import{r as t,d as r,h as i,a as s}from"./p-gJCRRBX0.js";import{c as a,e,i as o}from"./p-DYdFtxVz.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{S as n}from"./p-DjuLCOXk.js";import{d as p}from"./p-DEqeU73W.js";import"./p-Daj_55_i.js";var c=function(t,r,i,s){var a,e=arguments.length,o=e<3?r:null===s?s=Object.getOwnPropertyDescriptor(r,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(o=(e<3?a(o):e>3?a(r,i,o):a(r,i))||o);return e>3&&o&&Object.defineProperty(r,i,o),o};const h=class{constructor(s){t(this,s),this.stateUpdate=r(this,"rtkStateUpdate",7),this.config=a(),this.iconPack=e,this.defaultParticipantsTabId="stage-list",this.t=o(),this.currentParticipantsTabId=this.defaultParticipantsTabId,this.tabs=[],this.hasRequests=!1,this.search="",this.updateParticipantCountsInTabs=p((()=>{var t;let r=(null===(t=this.meeting.participants.waitlisted)||void 0===t?void 0:t.size)||0,s=0,a=0;this.meeting.participants.joined.toArray().forEach((t=>{"ON_STAGE"===t.stageStatus&&s++,"OFF_STAGE"===t.stageStatus&&a++,"REQUESTED_TO_JOIN_STAGE"===t.stageStatus&&(r++,a++),"ACCEPTED_TO_JOIN_STAGE"===t.stageStatus&&a++})),"ON_STAGE"===this.meeting.self.stageStatus&&s++,"OFF_STAGE"===this.meeting.self.stageStatus&&a++,"REQUESTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&(r++,a++),"ACCEPTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&a++;const e=[];this.shouldShowRequestsTab()&&e.push({id:"requests",name:i("span",null,this.t("requests")," ",i("span",{class:`tab-participant-count-badge ${r>0?"requests-pending":""} ${"requests"===this.currentParticipantsTabId?"selected-tab":""}`},r))}),e.push({id:"stage-list",name:i("span",null,this.t("participants")," ",i("span",{class:"tab-participant-count-badge "+("stage-list"===this.currentParticipantsTabId?"selected-tab":"")},s))}),this.shouldShowViewersTab()&&e.push({id:"viewer-list",name:i("span",null,this.t("viewers")," ",i("span",{class:"tab-participant-count-badge "+("viewer-list"===this.currentParticipantsTabId?"selected-tab":"")},a))}),this.tabs=e,this.hasRequests=r>0})),this.onSearchInput=t=>{this.search=t.target.value},this.shouldShowViewersTab=()=>{var t,r,i;return null===(i=null===(r=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===r?void 0:r.permissions)||void 0===i?void 0:i.stageEnabled},this.shouldShowRequestsTab=()=>{var t;let r=!1;return r="LIVESTREAM"!==this.meeting.meta.viewType&&(null===(t=this.meeting.self.config.waitingRoom)||void 0===t?void 0:t.isEnabled)&&this.meeting.self.permissions.acceptWaitingRequests,this.meeting.self.permissions.stageEnabled&&this.meeting.self.permissions.acceptStageRequests||r},this.viewSection=t=>{this.currentParticipantsTabId=t}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting&&(this.meeting.participants.joined.off("participantJoined",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("participantsUpdate",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("participantLeft",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("stageStatusUpdate",this.updateParticipantCountsInTabs),this.meeting.stage.off("stageStatusUpdate",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("participantJoined",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("participantLeft",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("stageStatusUpdate",this.updateParticipantCountsInTabs))}meetingChanged(t){t&&(t.participants.joined.on("participantJoined",this.updateParticipantCountsInTabs),t.participants.joined.on("participantsUpdate",this.updateParticipantCountsInTabs),t.participants.joined.on("participantLeft",this.updateParticipantCountsInTabs),t.participants.joined.on("stageStatusUpdate",this.updateParticipantCountsInTabs),t.stage.on("stageStatusUpdate",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("participantJoined",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("participantLeft",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("stageStatusUpdate",this.updateParticipantCountsInTabs),this.updateParticipantCountsInTabs())}currentParticipantsTabIdChanged(){this.stateUpdate.emit({participantsTabId:this.currentParticipantsTabId}),this.updateParticipantCountsInTabs()}render(){if(!this.meeting)return null;const t={meeting:this.meeting,states:this.states,config:this.config,size:this.size,iconPack:this.iconPack,t:this.t};return i(s,null,i("div",{class:"search",part:"search"},i("rtk-icon",{icon:this.iconPack.search,part:"search-icon"}),i("input",{type:"search",autocomplete:"off",placeholder:this.t("search"),onInput:this.onSearchInput,part:"search-input"})),i("slot",{name:"start"}),i("div",{class:"ctr scrollbar "+("requests"!==this.currentParticipantsTabId?"virtualised":""),part:"container"},i("rtk-sidebar-ui",{tabs:this.tabs,currentTab:this.currentParticipantsTabId,view:"full-screen",hideHeader:!0,hideCloseAction:!0,style:{position:"relative"},onTabChange:t=>{this.viewSection(t.detail),t.stopPropagation()}},(!this.currentParticipantsTabId||"stage-list"===this.currentParticipantsTabId)&&i("div",{slot:"stage-list",style:{marginTop:"10px",height:"100%"}},i("rtk-participants-stage-list",Object.assign({},t,{search:this.search,hideHeader:!0}))),"requests"===this.currentParticipantsTabId&&i("div",{slot:"requests",style:{marginTop:"10px",height:"100%"}},!this.hasRequests&&i("div",{class:"no-pending-requests"},this.t("participants.no_pending_requests")),i("rtk-participants-stage-queue",Object.assign({},t)),i("rtk-participants-waiting-list",Object.assign({},t))),"viewer-list"===this.currentParticipantsTabId&&i("div",{slot:"viewer-list",style:{marginTop:"10px",height:"100%"}},i("rtk-participants-viewer-list",Object.assign({},t,{search:this.search,hideHeader:!0}))))),i("slot",{name:"end"}))}static get watchers(){return{meeting:[{meetingChanged:0}],currentParticipantsTabId:[{currentParticipantsTabIdChanged:0}]}}};c([n()],h.prototype,"meeting",void 0),c([n()],h.prototype,"states",void 0),c([n()],h.prototype,"config",void 0),c([n()],h.prototype,"iconPack",void 0),c([n()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;height:100%;width:100%;flex-direction:column;font-size:14px}*{box-sizing:border-box}.ctr{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);box-sizing:border-box;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);overflow-y:auto;flex-grow:1;flex-basis:0}.ctr.virtualised{overflow-y:hidden}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px)}.search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}:host([size='md']) .search{margin-top:var(--rtk-space-4, 16px) !important;margin-bottom:var(--rtk-space-4, 16px) !important}:host([size='sm']) .search{margin-top:var(--rtk-space-4, 16px) !important;margin-bottom:var(--rtk-space-4, 16px) !important}.no-pending-requests{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}";export{h as rtk_participants}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,a as i}from"./p-gJCRRBX0.js";import{e as a}from"./p-
|
|
1
|
+
import{r as t,h as e,a as i}from"./p-gJCRRBX0.js";import{e as a}from"./p-DYdFtxVz.js";import{S as n}from"./p-DjuLCOXk.js";var s=function(t,e,i,a){var n,s=arguments.length,r=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const r=t=>Math.trunc(t).toString().padStart(2,"0"),o=class{constructor(e){t(this,e),this.iconPack=a,this.disconnectMeeting=()=>{var t,e;this.timeout&&clearTimeout(this.timeout),"number"==typeof this.request&&cancelAnimationFrame(this.request),null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("meetingStartTimeUpdate",this.startedTimeUpdateListener)},this.startedTimeUpdateListener=()=>{var t,e,i;this.startedTime=null===(i=null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString()}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting()}meetingChanged(t){var e,i,a;this.disconnectMeeting(),null!=t&&(this.startedTime=null===(i=null===(e=t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString(),null===(a=t.meta)||void 0===a||a.addListener("meetingStartTimeUpdate",this.startedTimeUpdateListener))}startedTimeChanged(t){if(void 0!==t){const t=()=>{this.timeDiff=(Date.now()-new Date(this.startedTime).getTime())/1e3,this.timeout=setTimeout((()=>{null!=this.request&&(this.request=requestAnimationFrame(t))}),500)};this.request=requestAnimationFrame(t)}}getFormattedTime(){if(null==this.timeDiff)return null;const t=this.timeDiff;let e="";return t>=3600&&(e=`${r(t/3600)}:`),e+=`${r(t%3600/60)}:${r(t%60)}`,e}render(){return e(i,{key:"4592c92b870075a8ec23d89c01c382f61278983a","data-hidden":!(void 0!==this.startedTime),tabIndex:0,role:"timer","aria-live":"off"},void 0!==this.startedTime&&[e("rtk-icon",{key:"87b1012dd7c5d7187182a2ed025868f05ed010e7",icon:this.iconPack.clock,"aria-hidden":!0,tabIndex:-1,part:"icon"}),e("span",{key:"6fec2fef30be9c54a3e68108fde81a59ce000576",part:"text"},this.getFormattedTime())])}static get watchers(){return{meeting:[{meetingChanged:0}],startedTime:[{startedTimeChanged:0}]}}};s([n()],o.prototype,"meeting",void 0),s([n()],o.prototype,"iconPack",void 0),o.style=":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{display:inline-flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-variant-numeric:tabular-nums}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}";export{o as rtk_clock}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as r,a}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import
|
|
1
|
+
import{r as t,h as r,a}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import{e as i,i as o}from"./p-DYdFtxVz.js";import"./p-C0vp-Q7v.js";import{h as s}from"./p-BWNToYSb.js";import{S as e}from"./p-DjuLCOXk.js";import"./p-Daj_55_i.js";import"./p-BFTU3MAI.js";var c=function(t,r,a,i){var o,s=arguments.length,e=s<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,a,i);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(e=(s<3?o(e):s>3?o(r,a,e):o(r,a))||e);return s>3&&e&&Object.defineProperty(r,a,e),e};const n=class{constructor(r){t(this,r),this.iconPack=i,this.t=o(),this.audioEnabled=!1,this.volume=0,this.onAudioUpdate=({audioEnabled:t,audioTrack:r})=>{var a;if(this.participant)if(null===(a=this.hark)||void 0===a||a.stop(),t&&r){const t=new MediaStream;t.addTrack(r),this.calcVolume(t),this.audioEnabled=!0}else this.volume=0,this.audioEnabled=!1}}connectedCallback(){this.participantChanged(this.participant)}disconnectedCallback(){var t,r;null===(t=this.hark)||void 0===t||t.stop(),null===(r=this.participant)||void 0===r||r.removeListener("audioUpdate",this.onAudioUpdate)}participantChanged(t){t&&(this.audioEnabled=t.audioEnabled,t.addListener("audioUpdate",this.onAudioUpdate))}calcVolume(t){this.hark=s(t,{play:!1,interval:100}),this.hark.on("volume_change",(t=>{const r=this.volume;let a=Math.round(10**(t/115)*10);a<3&&(a=0);let i=Math.round((2*r+a)/3);r!==i&&(this.volume=i)}))}render(){if(!this.meeting)return null;const t={meeting:this.meeting,size:this.size,config:this.config,states:this.states,iconPack:this.iconPack,t:this.t};let o="bar-0";return o=this.volume>5?"bar-5":this.volume<0?"bar-0":"bar-"+this.volume,r(a,null,r("div",{class:{"avatar-ctr":!0,speaking:this.audioEnabled,[o]:!0}},r("rtk-avatar",{participant:this.participant,size:this.size},!this.audioEnabled&&r("div",{class:"mic-icon"},r("rtk-icon",{icon:i.mic_off})))),r("rtk-name-tag",Object.assign({variant:"text",participant:this.participant},t)),r("slot",null))}static get watchers(){return{participant:[{participantChanged:0}]}}};c([e()],n.prototype,"meeting",void 0),c([e()],n.prototype,"config",void 0),c([e()],n.prototype,"states",void 0),c([e()],n.prototype,"iconPack",void 0),c([e()],n.prototype,"t",void 0),n.style=":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{box-sizing:border-box;display:flex;flex-direction:column}.avatar-ctr{box-sizing:border-box;width:100%;flex:1 1 0%;padding:var(--rtk-space-1\\.5, 6px);border:2px solid transparent;border-radius:calc(var(--rtk-border-radius-xl, 40px) + var(--rtk-space-1\\.5, 6px))}.avatar-ctr.speaking{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.bar-0{box-shadow:none}.bar-1{box-shadow:0 0 4px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-2{box-shadow:0 0 8px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-3{box-shadow:0 0 16px 1px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-4{box-shadow:0 0 20px 3px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-5{box-shadow:0 0 24px 6px rgb(var(--rtk-colors-brand-500, 33 96 253))}rtk-avatar{aspect-ratio:1 / 1;height:100%;width:100%;position:relative;border-radius:var(--rtk-border-radius-xl, 40px)}rtk-name-tag{display:block;height:var(--rtk-space-10, 40px);width:100%;text-align:center;line-height:2.5rem}:host([size='sm']) .avatar-ctr{border-radius:calc(var(--rtk-border-radius-lg, 12px) + var(--rtk-space-1\\.5, 6px))}:host([size='sm']) rtk-name-tag{height:var(--rtk-space-7, 28px);line-height:1.75rem}:host([size='sm']) rtk-avatar{border-radius:var(--rtk-border-radius-lg, 12px)}.mic-icon{position:absolute;bottom:calc(var(--rtk-space-1, 4px) * -1);right:calc(var(--rtk-space-1, 4px) * -1);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.mic-icon rtk-icon{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}:host([size='sm']) .mic-icon rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}:host([size='md']) .mic-icon rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}";export{n as rtk_audio_tile}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t,a as r}from"./p-gJCRRBX0.js";import{S as a}from"./p-
|
|
1
|
+
import{r as o,h as t,a as r}from"./p-gJCRRBX0.js";import{S as a}from"./p-DjuLCOXk.js";import"./p-Rq_6y0HI.js";import{e}from"./p-DYdFtxVz.js";import"./p-C0vp-Q7v.js";import"./p-Daj_55_i.js";const i=class{constructor(t){o(this,t),this.iconPack=e}render(){return t(r,{key:"ff8e44d0644f3a81e71ec3595f109c396effd80e"},t("div",{key:"9b07fcd50ec2050f65008ad447b42fe0a2431fba",class:"tooltip-container"},t("rtk-icon",{key:"09393761a1ee443f54d08034c451397adf05c0a2",icon:this.iconPack.info,size:"sm"}),t("div",{key:"edcc65636e3888864a4f619b34929a494a748b43",class:"tooltip"},t("slot",{key:"298db1c52802862d8d1da4a3b9cfc33e3695163d",name:"tootlip-text"}))))}};(function(o,t,r,a){var e,i=arguments.length,p=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(o,t,r,a);else for(var c=o.length-1;c>=0;c--)(e=o[c])&&(p=(i<3?e(p):i>3?e(t,r,p):e(t,r))||p);i>3&&p&&Object.defineProperty(t,r,p)})([a()],i.prototype,"iconPack",void 0),i.style=":host{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);cursor:pointer}.tooltip-container{position:relative;display:flex;flex-direction:row;align-items:center}.tooltip-container rtk-icon{cursor:pointer;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.tooltip-container rtk-icon:hover+.tooltip{display:flex !important}.tooltip{position:absolute;margin-left:var(--rtk-space-2, 8px);display:none !important;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);font-weight:400;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));z-index:50;display:flex;min-width:var(--rtk-space-60, 240px);flex-direction:column;--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);left:14px}";export{i as rtk_information_tooltip}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as i,h as s,a as e}from"./p-gJCRRBX0.js";import{c as a,e as n,i as r}from"./p-C8tHk7bV.js";import{d as h}from"./p-t72veIFj.js";import{R as o}from"./p-CTFO-5XH.js";import{a as p}from"./p-C0vp-Q7v.js";import{S as c}from"./p-CGOvNX5H.js";import{d as l}from"./p-CmmyVCoN.js";import"./p-BFTU3MAI.js";var d=function(t,i,s,e){var a,n=arguments.length,r=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,e);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(r=(n<3?a(r):n>3?a(i,s,r):a(i,s))||r);return n>3&&r&&Object.defineProperty(i,s,r),r};const g=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.hideSelf=!1,this.participants=[],this.pinnedParticipants=[],this.screenShareParticipants=[],this.plugins=[],this.emptyStage=!1,this.showLiveStreamPlayer=!1,this.canCurrentPeerHost=!1,this.pipSupported=!1,this.pipEnabled=!1,this.hidden=!1,this.layout="row",this.aspectRatio="16:9",this.gap=8,this.config=a(),this.iconPack=n,this.t=r(),this.gridSize=l,this.overrides={},this.invalidRoomStates=["init","waitlisted","ended","kicked","rejected"],this.filterParticipants=t=>{var i;if(this.overrides&&(null===(i=this.overrides)||void 0===i?void 0:i.videoUnsubscribed)){const i=this.overrides.videoUnsubscribed.preset;i.length>0&&(t=t.filter((t=>!i.some((i=>void 0!==t.presetName&&t.presetName.match(i))))))}return t},this.onViewModeChanged=()=>{this.meeting&&this.updateActiveParticipants()},this.refreshParticipants=h((()=>{this.updateActiveParticipants()}),50),this.stageStatusListener=()=>{this.updateActiveParticipants(),this.showLiveStreamPlayer=p(this.meeting),"ON_STAGE"!==this.meeting.stage.status&&this.removeScreenShare(this.meeting.self)},this.peerStageStatusListener=t=>{this.updateActiveParticipants(),"ON_STAGE"!==this.meeting.stage.status&&(this.removePinned(t),this.removeScreenShare(t))},this.onScreenShareUpdate=t=>{t.screenShareEnabled?this.addScreenShare(t):this.removeScreenShare(t)},this.onSelfScreenShareUpdate=({screenShareEnabled:t})=>{t?this.addScreenShare(this.meeting.self):this.removeScreenShare(this.meeting.self)},this.toggleTileListener=({hidden:t})=>{this.hidden=t,this.updateActiveParticipants()},this.onPluginStateUpdate=(t,{active:i})=>{i?this.plugins.some((i=>i.id===t.id))||(this.plugins=[...this.plugins,t]):this.plugins=this.plugins.filter((i=>i.id!==t.id))},this.onParticipantPinned=()=>{this.updateActiveParticipants()},this.onParticipantUnpinned=()=>{this.updateActiveParticipants()},this.updateRoomStateListener=()=>{this.roomState=this.meeting.self.roomState}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting(this.meeting)}disconnectMeeting(t){var i;if(!t)return;this.refreshParticipants.cancel(),this.participants=[],this.plugins=[];const{self:s,participants:e,plugins:a}=t;s.removeListener("pinned",this.onParticipantPinned),s.removeListener("unpinned",this.onParticipantUnpinned),s.removeListener("roomLeft",this.updateRoomStateListener),s.removeListener("roomJoined",this.updateRoomStateListener),s.removeListener("screenShareUpdate",this.onSelfScreenShareUpdate),s.removeListener("toggleTile",this.toggleTileListener),null==a||a.all.removeListener("stateUpdate",this.onPluginStateUpdate),null===(i=t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.stageStatusListener),e.removeListener("viewModeChanged",this.onViewModeChanged),e.active.removeListener("participantLeft",this.refreshParticipants),e.active.removeListener("participantJoined",this.refreshParticipants),e.active.removeListener("participantsUpdate",this.refreshParticipants),e.pinned.removeListener("participantJoined",this.onParticipantPinned),e.pinned.removeListener("participantLeft",this.onParticipantUnpinned),e.joined.removeListener("screenShareUpdate",this.onScreenShareUpdate),e.joined.removeListener("stageStatusUpdate",this.peerStageStatusListener)}meetingChanged(t,i){var s,e,a,n;if(null!==i&&this.disconnectMeeting(i),null!=t){const{self:i,participants:r,plugins:h,stage:o}=t;this.pipSupported=(null===(s=this.meeting.participants.pip)||void 0===s?void 0:s.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode),this.pipSupported&&this.meeting.participants.pip.init();const{permissions:p}=i;this.roomState=i.roomState,this.hideSelf="ON_STAGE"!==this.meeting.stage.status||(null==p?void 0:p.isRecorder)||p.hiddenParticipant,this.participants=this.filterParticipants([...r.active.toArray(),...i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...r.pinned.toArray(),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=r.joined.toArray().filter((t=>t.screenShareEnabled)),this.plugins=(null==h?void 0:h.active.toArray())||[],(null==p?void 0:p.stageEnabled)&&(this.canCurrentPeerHost=p.acceptStageRequests||"ALLOWED"===p.canProduceAudio||"ALLOWED"===p.canProduceVideo||"ALLOWED"===p.canProduceScreenshare,this.updateStage()),this.hidden=t.self.hidden,i.addListener("roomLeft",this.updateRoomStateListener),i.addListener("roomJoined",this.updateRoomStateListener),i.addListener("screenShareUpdate",this.onSelfScreenShareUpdate),i.addListener("pinned",this.onParticipantPinned),i.addListener("unpinned",this.onParticipantUnpinned),i.addListener("toggleTile",this.toggleTileListener),null==o||o.addListener("stageStatusUpdate",this.stageStatusListener),null==h||h.all.addListener("stateUpdate",this.onPluginStateUpdate),r.addListener("viewModeChanged",this.onViewModeChanged),r.active.addListener("participantLeft",this.refreshParticipants),null===(a=null==r?void 0:r.joined)||void 0===a||a.on("stageStatusUpdate",this.peerStageStatusListener),r.joined.addListener("screenShareUpdate",this.onScreenShareUpdate),r.active.addListener("participantJoined",this.refreshParticipants),r.active.addListener("participantsUpdate",this.refreshParticipants),r.pinned.addListener("participantJoined",this.onParticipantPinned),r.pinned.addListener("participantLeft",this.onParticipantUnpinned),(null===(n=t.stage)||void 0===n?void 0:n.status)&&this.stageStatusListener()}}overridesChanged(t){this.updateActiveParticipants()}screenShareParticipantsChanged(t){const i=t.length>0;!!this.states.activeScreenShare!==i&&(this.stateUpdate.emit({activeScreenShare:i}),this.states.activeScreenShare=i)}pluginsChanged(t){const i=t.length>0;!!this.states.activePlugin!==i&&(this.stateUpdate.emit({activePlugin:i}),this.states.activePlugin=i)}pinnedParticipantsChanged(t){const i=t.length>0;!!this.states.activeSpotlight!==i&&(this.stateUpdate.emit({activeSpotlight:i}),this.states.activeSpotlight=i)}updateActiveParticipants(){var t;const{self:i,participants:s,stage:e}=this.meeting;this.hideSelf=this.hidden||"ON_STAGE"!==e.status||(null===(t=i.permissions)||void 0===t?void 0:t.isRecorder)||i.permissions.hiddenParticipant,this.participants=this.filterParticipants([...s.active.toArray().filter((t=>t.id!==i.id)),...!["ACTIVE_GRID","MANUAL"].includes(s.viewMode)||i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...s.pinned.toArray().filter((t=>t.id!==i.id)),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=s.joined.toArray().filter((t=>t.screenShareEnabled)),i.screenShareEnabled&&(this.screenShareParticipants=this.screenShareParticipants.concat([i])),this.updateStage()}updateStage(){var t;const{self:i}=this.meeting;this.meeting&&(this.emptyStage=!!(null===(t=null==i?void 0:i.permissions)||void 0===t?void 0:t.stageEnabled)&&0===this.participants.length&&0===this.pinnedParticipants.length)}addScreenShare(t){this.screenShareParticipants.some((i=>i.id===t.id))||(this.screenShareParticipants=[...this.screenShareParticipants,t])}removeScreenShare(t){this.screenShareParticipants=this.screenShareParticipants.filter((i=>i.id!==t.id))}removePinned(t){this.pinnedParticipants=this.pinnedParticipants.filter((i=>i.id!==t.id))}render(){var t,i,a,n;const r={meeting:this.meeting,size:this.size,states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};if(this.invalidRoomStates.includes(this.roomState))return s(e,null,s("div",{class:"offline-grid"},s("rtk-icon",{icon:this.iconPack.join_stage,size:"xl"}),s("h3",null,this.t("disconnected")),s("p",null,this.t("disconnected.description"))));if("disconnected"===this.roomState){const r=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===i?void 0:i.mediaState;if("connected"!==(null===(a=null==r?void 0:r.send)||void 0===a?void 0:a.state)||"connected"!==(null===(n=null==r?void 0:r.recv)||void 0===n?void 0:n.state))return s(e,null,s("div",{class:"offline-grid"},s("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),s("h3",null,this.t("offline")),s("p",null,this.t("offline.description"))))}return"failed"===this.roomState?s(e,null,s("div",{class:"offline-grid"},s("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),s("h3",null,this.t("failed")),s("p",null,this.t("failed.description")))):this.showLiveStreamPlayer?s(e,null,s("rtk-livestream-player",{meeting:this.meeting,size:this.size}),s("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),s("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t})):this.emptyStage?s(e,null,s("div",{class:"webinar-stage"},s("div",{class:"center"},this.canCurrentPeerHost&&s("div",{class:"ctr",part:"container"},s("p",{class:"message",part:"message"},this.t("stage.empty_host")),s("span",{class:"description",part:"description"},this.t("stage.empty_host_summary"))),!this.canCurrentPeerHost&&s("div",{class:"ctr",part:"container"},s("p",{class:"message",part:"message"},this.t("stage.empty_viewer")))))):s(e,null,s(o,{element:"rtk-grid",defaults:r,childProps:{participants:this.participants,screenShareParticipants:this.screenShareParticipants,plugins:this.plugins,pinnedParticipants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,layout:this.layout,gridSize:this.gridSize},onlyChildren:!0}),s("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),s("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t}))}static get watchers(){return{meeting:[{meetingChanged:0}],overrides:[{overridesChanged:0}],screenShareParticipants:[{screenShareParticipantsChanged:0}],plugins:[{pluginsChanged:0}],pinnedParticipants:[{pinnedParticipantsChanged:0}]}}};d([c()],g.prototype,"meeting",void 0),d([c()],g.prototype,"states",void 0),d([c()],g.prototype,"config",void 0),d([c()],g.prototype,"iconPack",void 0),d([c()],g.prototype,"t",void 0),g.style=":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{display:block;height:100%;width:100%}.offline-grid{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}.offline-grid h3{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);font-size:20px;font-weight:500;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.offline-grid p{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);text-align:center;font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.offline-grid rtk-icon{margin-bottom:var(--rtk-space-2, 8px)}.webinar-stage{box-sizing:border-box;height:100%;display:flex;align-content:center;align-items:center;justify-content:center;text-align:center}.webinar-stage h2{margin:var(--rtk-space-0, 0px);font-weight:normal}rtk-viewer-count{display:none}.ctr{display:flex;flex-direction:column;align-items:center}.message{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.description{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}rtk-livestream-indicator{display:none}@media only screen and (max-device-height: 480px) and (orientation: landscape){rtk-viewer-count[variant='embedded']{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}rtk-livestream-indicator{position:absolute;top:var(--rtk-space-0, 0px);left:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}}";export{g as rtk_grid}
|
|
1
|
+
import{r as t,d as i,h as s,a as e}from"./p-gJCRRBX0.js";import{c as a,e as n,i as r}from"./p-DYdFtxVz.js";import{d as h}from"./p-t72veIFj.js";import{R as o}from"./p-CTFO-5XH.js";import{a as p}from"./p-C0vp-Q7v.js";import{S as c}from"./p-DjuLCOXk.js";import{d as l}from"./p-CmmyVCoN.js";import"./p-BFTU3MAI.js";var d=function(t,i,s,e){var a,n=arguments.length,r=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,e);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(r=(n<3?a(r):n>3?a(i,s,r):a(i,s))||r);return n>3&&r&&Object.defineProperty(i,s,r),r};const g=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.hideSelf=!1,this.participants=[],this.pinnedParticipants=[],this.screenShareParticipants=[],this.plugins=[],this.emptyStage=!1,this.showLiveStreamPlayer=!1,this.canCurrentPeerHost=!1,this.pipSupported=!1,this.pipEnabled=!1,this.hidden=!1,this.layout="row",this.aspectRatio="16:9",this.gap=8,this.config=a(),this.iconPack=n,this.t=r(),this.gridSize=l,this.overrides={},this.invalidRoomStates=["init","waitlisted","ended","kicked","rejected"],this.filterParticipants=t=>{var i;if(this.overrides&&(null===(i=this.overrides)||void 0===i?void 0:i.videoUnsubscribed)){const i=this.overrides.videoUnsubscribed.preset;i.length>0&&(t=t.filter((t=>!i.some((i=>void 0!==t.presetName&&t.presetName.match(i))))))}return t},this.onViewModeChanged=()=>{this.meeting&&this.updateActiveParticipants()},this.refreshParticipants=h((()=>{this.updateActiveParticipants()}),50),this.stageStatusListener=()=>{this.updateActiveParticipants(),this.showLiveStreamPlayer=p(this.meeting),"ON_STAGE"!==this.meeting.stage.status&&this.removeScreenShare(this.meeting.self)},this.peerStageStatusListener=t=>{this.updateActiveParticipants(),"ON_STAGE"!==this.meeting.stage.status&&(this.removePinned(t),this.removeScreenShare(t))},this.onScreenShareUpdate=t=>{t.screenShareEnabled?this.addScreenShare(t):this.removeScreenShare(t)},this.onSelfScreenShareUpdate=({screenShareEnabled:t})=>{t?this.addScreenShare(this.meeting.self):this.removeScreenShare(this.meeting.self)},this.toggleTileListener=({hidden:t})=>{this.hidden=t,this.updateActiveParticipants()},this.onPluginStateUpdate=(t,{active:i})=>{i?this.plugins.some((i=>i.id===t.id))||(this.plugins=[...this.plugins,t]):this.plugins=this.plugins.filter((i=>i.id!==t.id))},this.onParticipantPinned=()=>{this.updateActiveParticipants()},this.onParticipantUnpinned=()=>{this.updateActiveParticipants()},this.updateRoomStateListener=()=>{this.roomState=this.meeting.self.roomState}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting(this.meeting)}disconnectMeeting(t){var i;if(!t)return;this.refreshParticipants.cancel(),this.participants=[],this.plugins=[];const{self:s,participants:e,plugins:a}=t;s.removeListener("pinned",this.onParticipantPinned),s.removeListener("unpinned",this.onParticipantUnpinned),s.removeListener("roomLeft",this.updateRoomStateListener),s.removeListener("roomJoined",this.updateRoomStateListener),s.removeListener("screenShareUpdate",this.onSelfScreenShareUpdate),s.removeListener("toggleTile",this.toggleTileListener),null==a||a.all.removeListener("stateUpdate",this.onPluginStateUpdate),null===(i=t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.stageStatusListener),e.removeListener("viewModeChanged",this.onViewModeChanged),e.active.removeListener("participantLeft",this.refreshParticipants),e.active.removeListener("participantJoined",this.refreshParticipants),e.active.removeListener("participantsUpdate",this.refreshParticipants),e.pinned.removeListener("participantJoined",this.onParticipantPinned),e.pinned.removeListener("participantLeft",this.onParticipantUnpinned),e.joined.removeListener("screenShareUpdate",this.onScreenShareUpdate),e.joined.removeListener("stageStatusUpdate",this.peerStageStatusListener)}meetingChanged(t,i){var s,e,a,n;if(null!==i&&this.disconnectMeeting(i),null!=t){const{self:i,participants:r,plugins:h,stage:o}=t;this.pipSupported=(null===(s=this.meeting.participants.pip)||void 0===s?void 0:s.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode),this.pipSupported&&this.meeting.participants.pip.init();const{permissions:p}=i;this.roomState=i.roomState,this.hideSelf="ON_STAGE"!==this.meeting.stage.status||(null==p?void 0:p.isRecorder)||p.hiddenParticipant,this.participants=this.filterParticipants([...r.active.toArray(),...i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...r.pinned.toArray(),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=r.joined.toArray().filter((t=>t.screenShareEnabled)),this.plugins=(null==h?void 0:h.active.toArray())||[],(null==p?void 0:p.stageEnabled)&&(this.canCurrentPeerHost=p.acceptStageRequests||"ALLOWED"===p.canProduceAudio||"ALLOWED"===p.canProduceVideo||"ALLOWED"===p.canProduceScreenshare,this.updateStage()),this.hidden=t.self.hidden,i.addListener("roomLeft",this.updateRoomStateListener),i.addListener("roomJoined",this.updateRoomStateListener),i.addListener("screenShareUpdate",this.onSelfScreenShareUpdate),i.addListener("pinned",this.onParticipantPinned),i.addListener("unpinned",this.onParticipantUnpinned),i.addListener("toggleTile",this.toggleTileListener),null==o||o.addListener("stageStatusUpdate",this.stageStatusListener),null==h||h.all.addListener("stateUpdate",this.onPluginStateUpdate),r.addListener("viewModeChanged",this.onViewModeChanged),r.active.addListener("participantLeft",this.refreshParticipants),null===(a=null==r?void 0:r.joined)||void 0===a||a.on("stageStatusUpdate",this.peerStageStatusListener),r.joined.addListener("screenShareUpdate",this.onScreenShareUpdate),r.active.addListener("participantJoined",this.refreshParticipants),r.active.addListener("participantsUpdate",this.refreshParticipants),r.pinned.addListener("participantJoined",this.onParticipantPinned),r.pinned.addListener("participantLeft",this.onParticipantUnpinned),(null===(n=t.stage)||void 0===n?void 0:n.status)&&this.stageStatusListener()}}overridesChanged(t){this.updateActiveParticipants()}screenShareParticipantsChanged(t){const i=t.length>0;!!this.states.activeScreenShare!==i&&(this.stateUpdate.emit({activeScreenShare:i}),this.states.activeScreenShare=i)}pluginsChanged(t){const i=t.length>0;!!this.states.activePlugin!==i&&(this.stateUpdate.emit({activePlugin:i}),this.states.activePlugin=i)}pinnedParticipantsChanged(t){const i=t.length>0;!!this.states.activeSpotlight!==i&&(this.stateUpdate.emit({activeSpotlight:i}),this.states.activeSpotlight=i)}updateActiveParticipants(){var t;const{self:i,participants:s,stage:e}=this.meeting;this.hideSelf=this.hidden||"ON_STAGE"!==e.status||(null===(t=i.permissions)||void 0===t?void 0:t.isRecorder)||i.permissions.hiddenParticipant,this.participants=this.filterParticipants([...s.active.toArray().filter((t=>t.id!==i.id)),...!["ACTIVE_GRID","MANUAL"].includes(s.viewMode)||i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...s.pinned.toArray().filter((t=>t.id!==i.id)),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=s.joined.toArray().filter((t=>t.screenShareEnabled)),i.screenShareEnabled&&(this.screenShareParticipants=this.screenShareParticipants.concat([i])),this.updateStage()}updateStage(){var t;const{self:i}=this.meeting;this.meeting&&(this.emptyStage=!!(null===(t=null==i?void 0:i.permissions)||void 0===t?void 0:t.stageEnabled)&&0===this.participants.length&&0===this.pinnedParticipants.length)}addScreenShare(t){this.screenShareParticipants.some((i=>i.id===t.id))||(this.screenShareParticipants=[...this.screenShareParticipants,t])}removeScreenShare(t){this.screenShareParticipants=this.screenShareParticipants.filter((i=>i.id!==t.id))}removePinned(t){this.pinnedParticipants=this.pinnedParticipants.filter((i=>i.id!==t.id))}render(){var t,i,a,n;const r={meeting:this.meeting,size:this.size,states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};if(this.invalidRoomStates.includes(this.roomState))return s(e,null,s("div",{class:"offline-grid"},s("rtk-icon",{icon:this.iconPack.join_stage,size:"xl"}),s("h3",null,this.t("disconnected")),s("p",null,this.t("disconnected.description"))));if("disconnected"===this.roomState){const r=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===i?void 0:i.mediaState;if("connected"!==(null===(a=null==r?void 0:r.send)||void 0===a?void 0:a.state)||"connected"!==(null===(n=null==r?void 0:r.recv)||void 0===n?void 0:n.state))return s(e,null,s("div",{class:"offline-grid"},s("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),s("h3",null,this.t("offline")),s("p",null,this.t("offline.description"))))}return"failed"===this.roomState?s(e,null,s("div",{class:"offline-grid"},s("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),s("h3",null,this.t("failed")),s("p",null,this.t("failed.description")))):this.showLiveStreamPlayer?s(e,null,s("rtk-livestream-player",{meeting:this.meeting,size:this.size}),s("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),s("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t})):this.emptyStage?s(e,null,s("div",{class:"webinar-stage"},s("div",{class:"center"},this.canCurrentPeerHost&&s("div",{class:"ctr",part:"container"},s("p",{class:"message",part:"message"},this.t("stage.empty_host")),s("span",{class:"description",part:"description"},this.t("stage.empty_host_summary"))),!this.canCurrentPeerHost&&s("div",{class:"ctr",part:"container"},s("p",{class:"message",part:"message"},this.t("stage.empty_viewer")))))):s(e,null,s(o,{element:"rtk-grid",defaults:r,childProps:{participants:this.participants,screenShareParticipants:this.screenShareParticipants,plugins:this.plugins,pinnedParticipants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,layout:this.layout,gridSize:this.gridSize},onlyChildren:!0}),s("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),s("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t}))}static get watchers(){return{meeting:[{meetingChanged:0}],overrides:[{overridesChanged:0}],screenShareParticipants:[{screenShareParticipantsChanged:0}],plugins:[{pluginsChanged:0}],pinnedParticipants:[{pinnedParticipantsChanged:0}]}}};d([c()],g.prototype,"meeting",void 0),d([c()],g.prototype,"states",void 0),d([c()],g.prototype,"config",void 0),d([c()],g.prototype,"iconPack",void 0),d([c()],g.prototype,"t",void 0),g.style=":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{display:block;height:100%;width:100%}.offline-grid{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}.offline-grid h3{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);font-size:20px;font-weight:500;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.offline-grid p{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);text-align:center;font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.offline-grid rtk-icon{margin-bottom:var(--rtk-space-2, 8px)}.webinar-stage{box-sizing:border-box;height:100%;display:flex;align-content:center;align-items:center;justify-content:center;text-align:center}.webinar-stage h2{margin:var(--rtk-space-0, 0px);font-weight:normal}rtk-viewer-count{display:none}.ctr{display:flex;flex-direction:column;align-items:center}.message{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.description{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}rtk-livestream-indicator{display:none}@media only screen and (max-device-height: 480px) and (orientation: landscape){rtk-viewer-count[variant='embedded']{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}rtk-livestream-indicator{position:absolute;top:var(--rtk-space-0, 0px);left:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}}";export{g as rtk_grid}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,a as e}from"./p-gJCRRBX0.js";import{e as s,i as a}from"./p-
|
|
1
|
+
import{r as t,h as i,a as e}from"./p-gJCRRBX0.js";import{e as s,i as a}from"./p-DYdFtxVz.js";import{a as n}from"./p-C0vp-Q7v.js";import{S as r}from"./p-DjuLCOXk.js";var o=function(t,i,e,s){var a,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,s);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(r=(n<3?a(r):n>3?a(i,e,r):a(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const h=class{constructor(i){t(this,i),this.iconPack=s,this.t=a(),this.participantCount=0,this.isViewer=!1,this.disconnectMeeting=t=>{null!=t&&null!=this.countListener&&(t.participants.joined.removeListener("participantJoined",this.countListener),t.participants.joined.removeListener("participantLeft",this.countListener),(null==t?void 0:t.stage)&&this.stageUpdateListener&&t.stage.removeListener("stageStatusUpdate",this.stageUpdateListener),t.self.removeListener("roomJoined",this.countListener))}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting(this.meeting)}meetingChanged(t,i){this.disconnectMeeting(i),null!=t&&(this.countListener=()=>{this.participantCount=t.participants.joined.size+(t.self.roomJoined?1:0)},this.countListener(),this.isViewer=n(this.meeting),t.participants.joined.addListener("participantJoined",this.countListener),t.participants.joined.addListener("participantLeft",this.countListener),(null==t?void 0:t.stage)&&(this.stageUpdateListener=()=>{this.isViewer=n(this.meeting)},null==t||t.stage.addListener("stageStatusUpdate",this.stageUpdateListener)),t.self.addListener("roomJoined",this.countListener))}render(){return this.isViewer?i(e,{"data-hidden":!0}):i(e,{tabIndex:0,role:"log","aria-label":`${this.participantCount} ${this.t("participants")}`},i("rtk-icon",{icon:this.iconPack.people,tabIndex:-1,"aria-hidden":!0,part:"icon"}),this.participantCount)}static get watchers(){return{meeting:[{meetingChanged:0}]}}};o([r()],h.prototype,"meeting",void 0),o([r()],h.prototype,"iconPack",void 0),o([r()],h.prototype,"t",void 0),h.style=":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{display:inline-flex;height:var(--rtk-space-10, 40px);-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}";export{h as rtk_participant_count}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as r,h as a,a as e}from"./p-gJCRRBX0.js";import{e as i,i as s}from"./p-DYdFtxVz.js";import{S as o}from"./p-DjuLCOXk.js";import{T as n}from"./p-kAmDs9rB.js";import"./p-KiBrYIp4.js";var c=function(t,r,a,e){var i,s=arguments.length,o=s<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,a,e);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(o=(s<3?i(o):s>3?i(r,a,o):i(r,a))||o);return s>3&&o&&Object.defineProperty(r,a,o),o};const d=class{constructor(a){t(this,a),this.dismiss=r(this,"rtkNotificationDismiss",7),this.iconPack=i,this.t=s(),this.imageState="loading"}connectedCallback(){this.notificationChanged(this.notification)}pausedChanged(t){t?clearTimeout(this.timeout):this.notificationChanged(this.notification)}notificationChanged(t){clearTimeout(this.timeout),null==t||"number"!=typeof t.duration||this.paused||(this.timeout=window.setTimeout((()=>{this.dismiss.emit(t.id)}),t.duration))}render(){var t;return a(e,{key:"f548c9e4b49c40e93279d6e6b3889d81ea0facb6"},a("div",{key:"b0a3d463882db7dee4debe5748f6c54ea9287aeb",class:"ctr"},null!=this.notification.icon&&a("rtk-icon",{key:"ef4b3e2a15070b75e2cf9ae27913d38b46c6107e",class:"icon",icon:this.notification.icon,variant:null!==(t=this.notification.iconVariant)&&void 0!==t?t:"primary"}),null!=this.notification.image&&null==this.notification.icon&&"errored"!==this.imageState&&a("img",{key:"5f79812ff0f10e958a9279517b6aa57dee354b70",src:this.notification.image,class:{loaded:"loaded"===this.imageState},onLoad:()=>this.imageState="loaded",onError:()=>this.imageState="errored"}),a("p",{key:"543e0840a834a3749a1345ae605fe03f1e160cf7",class:"message"},a(n,{key:"62cddeb9ab432dbd275507fae45b63c9c446d4b7",message:this.notification.message})),a("div",{key:"a43e3df4cc658b22fd99ceeb3f053d3ba000d1c2",class:"right"},null!=this.notification.button&&a("rtk-button",{key:"876db66ef576bfec5b03db97be2db0036db695bd",size:"sm",variant:this.notification.button.variant,onClick:()=>this.notification.button.onClick()},this.notification.button.text),a("button",{key:"8eca9869989a1426c33882fd4a3eb0b6251753a8",onClick:()=>this.dismiss.emit(this.notification.id),class:"dismiss"},a("rtk-icon",{key:"f9aea2e422c5706d72fb5fcadf88bf4636585807","aria-label":this.t("dismiss"),icon:this.iconPack.dismiss})))))}static get watchers(){return{paused:[{pausedChanged:0}],notification:[{notificationChanged:0}]}}};c([o()],d.prototype,"iconPack",void 0),c([o()],d.prototype,"t",void 0),d.style=":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}";export{d as rtk_notification}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as r,h as o,a}from"./p-gJCRRBX0.js";import{e as i,i as s}from"./p-
|
|
1
|
+
import{r as t,d as r,h as o,a}from"./p-gJCRRBX0.js";import{e as i,i as s}from"./p-DYdFtxVz.js";import{S as e}from"./p-DjuLCOXk.js";var n=function(t,r,o,a){var i,s=arguments.length,e=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,o,a);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(e=(s<3?i(e):s>3?i(r,o,e):i(r,o))||e);return s>3&&e&&Object.defineProperty(r,o,e),e};const c=class{constructor(o){t(this,o),this.stateUpdate=r(this,"rtkStateUpdate",7),this.keyPressListener=t=>{"Escape"===t.key&&this.close()},this.stageStatusListener=()=>{this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo},this.iconPack=i,this.t=s(),this.activeTab="connection",this.isMobileMainVisible=!1,this.networkStatus="good",this.canProduceVideo=!1}connectedCallback(){document.addEventListener("keydown",this.keyPressListener),this.meetingChanged(this.meeting)}disconnectedCallback(){var t;this.keyPressListener&&document.removeEventListener("keydown",this.keyPressListener),this.poorConnectionListener&&(null===(t=this.meeting)||void 0===t||t.meta.removeListener("poorConnection",this.poorConnectionListener)),this.meeting.stage.removeListener("stageStatusUpdate",this.stageStatusListener)}meetingChanged(t){null!=t&&(this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo,this.activeTab=this.canProduceVideo?"video":"audio",this.poorConnectionListener=({score:t})=>{t<7?this.networkStatus="poor":t<4&&(this.networkStatus="poorest"),setTimeout((()=>{this.networkStatus="good"}),5e3)},t.meta.addListener("poorConnection",this.poorConnectionListener),t.stage.addListener("stageStatusUpdate",this.stageStatusListener))}changeTab(t){this.activeTab=t,"sm"===this.size&&(this.isMobileMainVisible||(this.isMobileMainVisible=!0))}close(){this.stateUpdate.emit({activeSettings:!1})}render(){if(!this.meeting)return null;const t={meeting:this.meeting,states:this.states,iconPack:this.iconPack,t:this.t};return o(a,null,o("aside",{class:{hide:this.isMobileMainVisible},part:"menu"},o("header",null,o("h2",null,this.t("settings"))),o("button",{type:"button",class:{active:"audio"===this.activeTab},onClick:()=>this.changeTab("audio")},this.t("audio"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.mic_on}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))),this.canProduceVideo&&o("button",{type:"button",class:{active:"video"===this.activeTab},onClick:()=>this.changeTab("video")},this.t("video"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.video_on}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))),o("button",{type:"none",title:`Your network condition is ${this.networkStatus}`},this.t("connection"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.wifi,class:this.networkStatus})))),o("main",{class:{active:this.isMobileMainVisible,scrollbar:!0},part:"main-content"},"sm"===this.size&&o("header",null,o("rtk-button",{kind:"icon",class:"back-btn",onClick:()=>this.isMobileMainVisible=!1},o("rtk-icon",{icon:this.iconPack.chevron_left})),o("h2",null,this.t("audio"===this.activeTab?"audio":"video"))),"audio"===this.activeTab&&o("rtk-settings-audio",Object.assign({},t)),"video"===this.activeTab&&o("rtk-settings-video",Object.assign({},t))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}};n([e()],c.prototype,"meeting",void 0),n([e()],c.prototype,"states",void 0),n([e()],c.prototype,"iconPack",void 0),n([e()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}header{display:flex;align-items:center;justify-content:space-between;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}.title{font-size:20px;line-height:1}.back-btn,.dismiss-btn{border-radius:var(--rtk-border-radius-sm, 4px);background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.back-btn:hover,.dismiss-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside{box-sizing:border-box;display:flex;min-width:var(--rtk-space-56, 224px);flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));padding-left:var(--rtk-space-2, 8px)}aside button{margin-top:var(--rtk-space-4, 16px);box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:space-between;border-top-left-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);background-color:transparent;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));cursor:default;font-size:16px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px}aside button .right{display:flex;align-items:center}aside button .right rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}aside button .right rtk-icon:last-child{margin-left:var(--rtk-space-4, 16px)}aside button[type='button']{cursor:pointer;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}aside button[type='button']:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside button[type='button']{border-right:var(--rtk-border-width-md, 2px) solid transparent}aside button.active{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.active:hover{background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}rtk-icon.poor{--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}rtk-icon.poorest{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}rtk-icon.good{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}main{display:flex;flex:1 1 0%;align-items:center;justify-content:center;padding-left:var(--rtk-space-6, 24px);padding-right:var(--rtk-space-6, 24px);box-sizing:border-box;width:100%;max-width:calc(100% - var(--rtk-space-56, 224px))}.dismiss-btn{position:absolute;top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']) aside{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host([size='sm']) .dismiss-btn{top:var(--rtk-space-5, 20px);right:var(--rtk-space-4, 16px)}:host([size='sm']) aside{width:100%;padding-left:var(--rtk-space-0, 0px)}:host([size='sm']) aside button{border-radius:var(--rtk-border-radius-none, 0)}:host([size='sm']) aside button.active{border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent}:host([size='sm']) aside button.active:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) aside.hide{display:none}:host([size='sm']) main{display:none;max-width:100%;overflow-y:auto;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host([size='sm']) main header{justify-content:center}:host([size='sm']) main header rtk-button{position:absolute;left:var(--rtk-space-4, 16px)}:host([size='sm']) main.active{display:block}";export{c as rtk_settings}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as a,a as i}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import{c as e,e as r,i as o}from"./p-
|
|
1
|
+
import{r as t,h as a,a as i}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import{c as e,e as r,i as o}from"./p-DYdFtxVz.js";import"./p-C0vp-Q7v.js";import{R as s}from"./p-CTFO-5XH.js";import{S as n}from"./p-DjuLCOXk.js";import"./p-Daj_55_i.js";var c=function(t,a,i,e){var r,o=arguments.length,s=o<3?a:null===e?e=Object.getOwnPropertyDescriptor(a,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,a,i,e);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(o<3?r(s):o>3?r(a,i,s):r(a,i))||s);return o>3&&s&&Object.defineProperty(a,i,s),s};const p=class{constructor(a){t(this,a),this.variant="solid",this.disableRender=!1,this.config=e(),this.iconPack=r,this.t=o()}render(){return a(i,{key:"68af3001ce88b084a7f11db7bbd201cad5bf477f"},!this.disableRender&&a(s,{key:"0f9084065a6ffb76744d97c78b81cb62022fe6af",element:"rtk-controlbar",defaults:{meeting:this.meeting,config:this.config,states:this.states,t:this.t,iconPack:this.iconPack,size:this.size},onlyChildren:!0}),a("slot",{key:"fb6acf7e94afc107c0ce8dc721c568020f5fd35c"}))}};c([n()],p.prototype,"meeting",void 0),c([n()],p.prototype,"config",void 0),c([n()],p.prototype,"states",void 0),c([n()],p.prototype,"iconPack",void 0),c([n()],p.prototype,"t",void 0),p.style=":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{box-sizing:border-box;display:flex;align-items:center;gap:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);position:relative;z-index:10}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host{padding-top:var(--rtk-space-0, 0px) !important}}";export{p as rtk_controlbar}
|