@cloudflare/realtimekit-ui 2.0.2-staging.2 → 2.0.2
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-5iqcrDk9.js → TextMessage-CXP5MCz2.js} +1 -1
- package/dist/cjs/{chat-CiRLOYTj.js → chat-BJwmnHGm.js} +1 -1
- package/dist/cjs/{config-Dr-kt-RY.js → config-lVBc97X8.js} +2 -2
- package/dist/cjs/{debounce-padcVDRF.js → debounce-BfjpS8nk.js} +1 -1
- package/dist/cjs/{index-BOQMsbCN.js → index-iml9xkbo.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{merge-CSoi4R44.js → merge-BJWi-sVV.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_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-avatar_26.cjs.entry.js +6 -6
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-breakout-rooms-manager_9.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-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 +4 -4
- 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 +2 -2
- 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 +4 -4
- package/dist/cjs/rtk-notifications.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
- 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 +7 -6
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
- package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +2 -2
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
- package/dist/cjs/{ui-store-CTof0Q5V.js → ui-store-C8bSJOfE.js} +1 -0
- 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 +1 -1
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +1 -1
- 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 +6 -5
- 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.js +1 -1
- 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 +1 -1
- 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-spotlight-grid/rtk-spotlight-grid.js +1 -1
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +1 -1
- package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +1 -1
- package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
- 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 +1 -1
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +1 -1
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
- 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-waiting-screen/rtk-waiting-screen.js +1 -1
- package/dist/collection/lib/lang/default-language.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-BA_UY9k8.js → p-48gPeJ33.js} +1 -1
- package/dist/components/{p-CqEcYX16.js → p-66poN2qn.js} +1 -1
- package/dist/components/{p-C-OVY3ug.js → p-B17zaVfB.js} +1 -1
- package/dist/components/{p-DU5mNJqK.js → p-B2GVx1qA.js} +1 -1
- package/dist/components/{p-CdV0xzjB.js → p-B6TKlHLV.js} +1 -1
- package/dist/components/{p-DKjr_UXt.js → p-B77rBORD.js} +1 -1
- package/dist/components/{p-EuNHmu13.js → p-BGMQOFEz.js} +1 -1
- package/dist/components/{p-C4IJ0f9O.js → p-BIdrWJJD.js} +1 -1
- package/dist/components/{p-DEOaS443.js → p-BNRJKXAG.js} +1 -1
- package/dist/components/{p-KpmupjxR.js → p-BQkUbUdr.js} +1 -1
- package/dist/components/{p-BuZhKlht.js → p-BRPrcA0X.js} +1 -1
- package/dist/components/{p-COEreDeR.js → p-BUosYxgI.js} +1 -1
- package/dist/components/{p-Ce-9kgl0.js → p-Ba4odlrT.js} +1 -1
- package/dist/components/{p-DCEjf6bL.js → p-BbtnaCk4.js} +1 -1
- package/dist/components/{p-DZC8m5f_.js → p-Bgm0SnIA.js} +1 -1
- package/dist/components/{p-CB5hzEOM.js → p-BhG6UsF5.js} +1 -1
- package/dist/components/{p-ChuKD7QS.js → p-Bj4I4jh7.js} +1 -1
- package/dist/components/{p-DuOnRaMu.js → p-Bjmpb3KI.js} +1 -1
- package/dist/components/{p-wemYeTS7.js → p-BoeW-RxV.js} +1 -1
- package/dist/components/{p-BjF9F_tX.js → p-Bqf3TobZ.js} +1 -1
- package/dist/components/{p-C0H4DNJM.js → p-BssX9KwA.js} +1 -1
- package/dist/components/p-BsxEHBW2.js +1 -0
- package/dist/{realtimekit-ui/p-uIA60Puf.js → components/p-BthnOddY.js} +1 -1
- package/dist/components/{p-ak2clYhw.js → p-Bvn365hl.js} +1 -1
- package/dist/components/{p-DmVA5ArE.js → p-C-ZKbHGI.js} +1 -1
- package/dist/components/{p-pb5wDMuJ.js → p-C71rbtpI.js} +1 -1
- package/dist/components/{p-CrExxJHe.js → p-C8Dgpnzx.js} +1 -1
- package/dist/components/{p-CpOL3OJd.js → p-C9KgVl-d.js} +1 -1
- package/dist/components/{p-CQAMoQlr.js → p-CAgV-5OF.js} +1 -1
- package/dist/components/{p-C3Z3GLQh.js → p-CEjlztlu.js} +1 -1
- package/dist/components/{p-D1zAGrQ9.js → p-CIfkVpTJ.js} +1 -1
- package/dist/components/{p-DfWuSKCq.js → p-CNv9-uKL.js} +1 -1
- package/dist/components/{p-wl6GEzgG.js → p-COCm8rOB.js} +1 -1
- package/dist/components/{p-D0bZYAmS.js → p-CPF_oopS.js} +1 -1
- package/dist/components/{p-JyC3dswA.js → p-CRr8LXGp.js} +1 -1
- package/dist/components/{p-zBoy9v8V.js → p-CSO-O3S1.js} +1 -1
- package/dist/components/{p-7zlNLqpS.js → p-CSt7vW9Z.js} +1 -1
- package/dist/components/{p-PXVZ-Szx.js → p-CVfA5R2h.js} +1 -1
- package/dist/components/{p-DbHOlaHU.js → p-CWHbCyoL.js} +1 -1
- package/dist/components/{p-1sLF61J1.js → p-CXK5Hixp.js} +1 -1
- package/dist/components/{p-DBjcFAtV.js → p-CfFkjBT0.js} +1 -1
- package/dist/components/{p-COZSdc5O.js → p-Chf25Wxh.js} +1 -1
- package/dist/components/{p-Bf4LuZWa.js → p-Cj0CCucK.js} +1 -1
- package/dist/components/{p-BRbb3tLk.js → p-CkA8t9GX.js} +1 -1
- package/dist/components/{p-CBLUz_2s.js → p-CuqFnmgF.js} +1 -1
- package/dist/components/{p-Df2S0-LE.js → p-CwNP8xfN.js} +1 -1
- package/dist/components/{p-Cj44pA_c.js → p-Cz9_MmLt.js} +1 -1
- package/dist/components/{p-B1wrArJr.js → p-D3IRX-4x.js} +1 -1
- package/dist/components/{p-L9yK33Cu.js → p-DCtgO53p.js} +1 -1
- package/dist/components/{p-CphAED3J.js → p-DL4GSZ2e.js} +1 -1
- package/dist/components/{p-B4TnXODX.js → p-DPxfGgCX.js} +1 -1
- package/dist/components/{p-CKX6X8es.js → p-DSm20Isy.js} +1 -1
- package/dist/components/{p-BoGbJ5PX.js → p-DXSMSSbW.js} +1 -1
- package/dist/components/{p-s-jAl7lc.js → p-DX_XkIXf.js} +1 -1
- package/dist/components/{p-DNkzP2hS.js → p-D__Gipxn.js} +1 -1
- package/dist/components/{p-Deo_3EhX.js → p-D_tCWiMP.js} +1 -1
- package/dist/components/{p-BOYkqKBb.js → p-DcBUj_Ju.js} +1 -1
- package/dist/components/{p-ViKGg-Ct.js → p-DfGTdsn0.js} +1 -1
- package/dist/components/{p-J1kxEVHe.js → p-DjSGHZA8.js} +1 -1
- package/dist/components/{p-DlKMnwxL.js → p-Dr2k6gxY.js} +1 -1
- package/dist/components/{p-CnJQLwM-.js → p-Dy1vyj0N.js} +1 -1
- package/dist/components/{p-DnQYtb0h.js → p-RjS7wlRV.js} +1 -1
- package/dist/components/{p-DP4RUNa1.js → p-UCR1gRqj.js} +1 -1
- package/dist/components/{p-j2J2Tn1F.js → p-V9huV8XH.js} +1 -1
- package/dist/components/{p-BJKSFJeB.js → p-ebQT96VB.js} +1 -1
- package/dist/components/{p-FVFlyS1y.js → p-fEIEB26m.js} +1 -1
- package/dist/components/{p-DD3_OTZn.js → p-iZinM7-j.js} +1 -1
- package/dist/components/{p-B5-LNbkp.js → p-iaFYN7Sj.js} +1 -1
- package/dist/components/{p-Cmu_4ZYL.js → p-jyZncre7.js} +1 -1
- package/dist/components/{p-CABfszIM.js → p-kwrAj1JQ.js} +1 -1
- package/dist/components/{p-C9EBo56b.js → p-mm-pzvJ-.js} +1 -1
- package/dist/components/{p-Cd-WpR0J.js → p-nad0N2DI.js} +1 -1
- package/dist/components/{p-DY8ll5IU.js → p-nkadiHul.js} +1 -1
- package/dist/components/{p-e-OVL-Mg.js → p-oNFda96T.js} +1 -1
- package/dist/components/{p-uOh9MOi7.js → p-vBjvMv_5.js} +1 -1
- package/dist/components/{p-B-k80wnP.js → p-xmJ8IJTr.js} +1 -1
- package/dist/components/{p-B9MPybze.js → p-yIxFaBq2.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.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-waiting-screen.js +1 -1
- package/dist/docs/docs-components.json +734 -246
- package/dist/esm/{TextMessage-DRvjfMBy.js → TextMessage-C1lPu3R8.js} +1 -1
- package/dist/esm/{chat-Zou036qQ.js → chat-DRqOBXqN.js} +1 -1
- package/dist/esm/{config-BYcrCEso.js → config-BiYmSYD9.js} +2 -2
- package/dist/esm/{debounce-BYqYBLuN.js → debounce-BmgYF10w.js} +1 -1
- package/dist/esm/{index-7w76SzJW.js → index-BnFmFXDx.js} +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/loader.js +6 -4
- package/dist/esm/{merge-CiWMx7_3.js → merge-Bnx8tW3F.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_4.entry.js +2 -2
- package/dist/esm/rtk-avatar_26.entry.js +6 -6
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
- package/dist/esm/rtk-breakout-rooms-manager_9.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-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 +4 -4
- 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 -2
- 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 +4 -4
- package/dist/esm/rtk-notifications.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/rtk-participants-audio.entry.js +2 -2
- 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 +7 -6
- package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
- package/dist/esm/rtk-screenshare-view.entry.js +2 -2
- package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
- package/dist/esm/rtk-settings-toggle.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/rtk-transcript.entry.js +2 -2
- package/dist/esm/rtk-transcripts.entry.js +2 -2
- package/dist/esm/rtk-ui-provider.entry.js +2 -2
- package/dist/esm/rtk-waiting-screen.entry.js +2 -2
- package/dist/esm/{ui-store-BtrgoOOT.js → ui-store-CkvSNsmd.js} +1 -0
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-768c3c20.entry.js → p-066359c2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5bd05c88.entry.js → p-0872cae4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2c5a9a4d.entry.js → p-0c1a8f1a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2baa2443.entry.js → p-11a08757.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ddd3808d.entry.js → p-12fa2370.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e0837ae7.entry.js → p-14204827.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-26ba0489.entry.js → p-1de6c388.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7d4e36b0.entry.js → p-1e4ffceb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-836455f1.entry.js → p-207aa239.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-243e3c22.entry.js → p-2438cd32.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5c5ca185.entry.js → p-255290c6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3f297e22.entry.js → p-260169b4.entry.js} +1 -1
- package/dist/realtimekit-ui/p-27dd7099.entry.js +1 -0
- package/dist/realtimekit-ui/{p-6092b383.entry.js → p-2bbc4dfc.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2bd8f726.entry.js → p-2d1b8896.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-105e4115.entry.js → p-34e01092.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8dcf542b.entry.js → p-3e34195d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-CqWk07gT.js → p-3h3Qc6lD.js} +1 -1
- package/dist/realtimekit-ui/{p-d39bd2e9.entry.js → p-458e87f0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-149c0b9c.entry.js → p-4d2fcc46.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bb7b542e.entry.js → p-538b2ecf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-49f22238.entry.js → p-56a5c456.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c90deeae.entry.js → p-588dcb34.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d5ccf7d6.entry.js → p-5f9fdbf1.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5a1918a1.entry.js → p-607f649e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e87aa0f9.entry.js → p-64224592.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e8823daa.entry.js → p-6454c955.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e2f9a4fc.entry.js → p-676d4a41.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-65c856c3.entry.js → p-691a610d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-27dcaef7.entry.js → p-6fa0e07e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d75ea8a3.entry.js → p-71b0d221.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-49feda1f.entry.js → p-727fa3f2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-25374ae7.entry.js → p-7b94fb4f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-db957a5c.entry.js → p-7bf3de16.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f101d6f9.entry.js → p-7e0daf2a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-16fe4fca.entry.js → p-86b027f8.entry.js} +1 -1
- package/dist/realtimekit-ui/p-8b08fbc0.entry.js +1 -0
- package/dist/realtimekit-ui/p-8cb45932.entry.js +1 -0
- package/dist/realtimekit-ui/{p-69ddb3a9.entry.js → p-8f362ed0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3df3b56b.entry.js → p-8f4c582b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4f264d60.entry.js → p-9139643b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-34ebceb7.entry.js → p-92f6959e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-213b9942.entry.js → p-932c7070.entry.js} +1 -1
- package/dist/realtimekit-ui/p-94f25ba4.entry.js +1 -0
- package/dist/realtimekit-ui/p-98b33e56.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b77aab62.entry.js → p-9e855d5f.entry.js} +1 -1
- package/dist/realtimekit-ui/p-BTwUl5G9.js +1 -0
- package/dist/realtimekit-ui/{p-Dg4b2aZr.js → p-BmaxriWP.js} +1 -1
- package/dist/realtimekit-ui/{p-DpAk_WQ6.js → p-CKXY5S4J.js} +1 -1
- package/dist/realtimekit-ui/{p-BSWYrdZA.js → p-Cm8ENd-O.js} +1 -1
- package/dist/realtimekit-ui/p-D9rFUUCb.js +1 -0
- package/dist/realtimekit-ui/{p-BCaKYPpD.js → p-Dy41dnX2.js} +1 -1
- package/dist/realtimekit-ui/{p-6bc7af7a.entry.js → p-a74a3bd7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a060fa07.entry.js → p-ad1157e0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-17690ef8.entry.js → p-ae82b88b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9c5cf5a3.entry.js → p-af7bffbb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e5293ed6.entry.js → p-b04cc83e.entry.js} +1 -1
- package/dist/realtimekit-ui/p-b491565f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-9810aada.entry.js → p-b7f7e42a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fcde019e.entry.js → p-b90a0bf4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-560dcff9.entry.js → p-bbe8664e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f5688e34.entry.js → p-c2ea0c8a.entry.js} +1 -1
- package/dist/realtimekit-ui/p-c6be9e1f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-ce4105e5.entry.js → p-c8f68298.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-04237239.entry.js → p-cb9955f1.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0d5719ea.entry.js → p-cb9a3294.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9cb3685c.entry.js → p-cf8e7495.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fd29249a.entry.js → p-cffb7c0e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1ae8c9ea.entry.js → p-d089d2bb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-117f34c2.entry.js → p-d10a73b2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-73bd1b57.entry.js → p-d1c91dad.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-15d96f62.entry.js → p-d438c98e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7ff08b19.entry.js → p-d79a49f3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-070294a1.entry.js → p-d9061f53.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b81bfd1b.entry.js → p-de1b894a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-779bd93e.entry.js → p-df4122cb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9b93c273.entry.js → p-e010a673.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f4c228c8.entry.js → p-e1542a67.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9b089f06.entry.js → p-e3015917.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e12de42e.entry.js → p-ecac916f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-405addc8.entry.js → p-ee470245.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c0fb33e4.entry.js → p-eeb3d851.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c25c6602.entry.js → p-f182042f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4c1b7ee2.entry.js → p-f2380597.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fb973221.entry.js → p-f5a30d5b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-650339c3.entry.js → p-f95e96b7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ae94a77b.entry.js → p-fc6bfa36.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-56261662.entry.js → p-ff436b41.entry.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/lib/lang/default-language.d.ts +1 -0
- package/package.json +3 -2
- package/dist/components/p-BEOq_QN5.js +0 -1
- package/dist/components/p-De8YQHVd.js +0 -1
- package/dist/realtimekit-ui/p-0fe1ced3.entry.js +0 -1
- package/dist/realtimekit-ui/p-1f114cc0.entry.js +0 -1
- package/dist/realtimekit-ui/p-2906e52d.entry.js +0 -1
- package/dist/realtimekit-ui/p-2f438543.entry.js +0 -1
- package/dist/realtimekit-ui/p-450803e1.entry.js +0 -1
- package/dist/realtimekit-ui/p-Bbls2zyp.js +0 -1
- package/dist/realtimekit-ui/p-a8b77530.entry.js +0 -1
- package/dist/realtimekit-ui/p-d0baf267.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as r,c as s,h as a,d as i,t as e}from"./p-BBHQOrFK.js";import{c as o,e as n,i as p}from"./p-De8YQHVd.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{S as c}from"./p-CphAED3J.js";import{d as l}from"./p-DEOaS443.js";import{d as h}from"./p-D6vw6bT2.js";import{d}from"./p-BYIBbfJ8.js";import{d as m}from"./p-CqEcYX16.js";import{d as u}from"./p-7zlNLqpS.js";import{d as b}from"./p-DbHOlaHU.js";import{d as g}from"./p-DBjcFAtV.js";import{d as k}from"./p-L9yK33Cu.js";import{d as v}from"./p-Df2S0-LE.js";import{d as f}from"./p-CB5hzEOM.js";import{d as x}from"./p-Deo_3EhX.js";import{d as E}from"./p-BoGbJ5PX.js";import{d as w}from"./p-DHSRRtn3.js";import{d as T}from"./p-BbJzI1u1.js";import{d as j}from"./p-DLocSBO3.js";var S=function(t,r,s,a){var i,e=arguments.length,o=e<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,s):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,s,a);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(o=(e<3?i(o):e>3?i(r,s,o):i(r,s))||o);return e>3&&o&&Object.defineProperty(r,s,o),o};const O=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.config=o(),this.iconPack=n,this.defaultParticipantsTabId="stage-list",this.t=p(),this.currentParticipantsTabId=this.defaultParticipantsTabId,this.tabs=[],this.hasRequests=!1,this.search="",this.updateParticipantCountsInTabs=j((()=>{var t;let r=(null===(t=this.meeting.participants.waitlisted)||void 0===t?void 0:t.size)||0,s=0,i=0;this.meeting.participants.joined.toArray().forEach((t=>{"ON_STAGE"===t.stageStatus&&s++,"OFF_STAGE"===t.stageStatus&&i++,"REQUESTED_TO_JOIN_STAGE"===t.stageStatus&&(r++,i++),"ACCEPTED_TO_JOIN_STAGE"===t.stageStatus&&i++})),"ON_STAGE"===this.meeting.self.stageStatus&&s++,"OFF_STAGE"===this.meeting.self.stageStatus&&i++,"REQUESTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&(r++,i++),"ACCEPTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&i++;const e=[];this.shouldShowRequestsTab()&&e.push({id:"requests",name:a("span",null,this.t("requests")," ",a("span",{class:`tab-participant-count-badge ${r>0?"requests-pending":""} ${"requests"===this.currentParticipantsTabId?"selected-tab":""}`},r))}),e.push({id:"stage-list",name:a("span",null,this.t("participants")," ",a("span",{class:"tab-participant-count-badge "+("stage-list"===this.currentParticipantsTabId?"selected-tab":"")},s))}),this.shouldShowViewersTab()&&e.push({id:"viewer-list",name:a("span",null,this.t("viewers")," ",a("span",{class:"tab-participant-count-badge "+("viewer-list"===this.currentParticipantsTabId?"selected-tab":"")},i))}),this.tabs=e,this.hasRequests=r>0})),this.onSearchInput=t=>{this.search=t.target.value},this.shouldShowViewersTab=()=>{var t,r,s;return null===(s=null===(r=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===r?void 0:r.permissions)||void 0===s?void 0:s.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 a(i,null,a("div",{class:"search",part:"search"},a("rtk-icon",{icon:this.iconPack.search,part:"search-icon"}),a("input",{type:"search",autocomplete:"off",placeholder:this.t("search"),onInput:this.onSearchInput,part:"search-input"})),a("slot",{name:"start"}),a("div",{class:"ctr scrollbar "+("requests"!==this.currentParticipantsTabId?"virtualised":""),part:"container"},a("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)&&a("div",{slot:"stage-list",style:{marginTop:"10px",height:"100%"}},a("rtk-participants-stage-list",Object.assign({},t,{search:this.search,hideHeader:!0}))),"requests"===this.currentParticipantsTabId&&a("div",{slot:"requests",style:{marginTop:"10px",height:"100%"}},!this.hasRequests&&a("div",{class:"no-pending-requests"},this.t("participants.no_pending_requests")),a("rtk-participants-stage-queue",Object.assign({},t)),a("rtk-participants-waiting-list",Object.assign({},t))),"viewer-list"===this.currentParticipantsTabId&&a("div",{slot:"viewer-list",style:{marginTop:"10px",height:"100%"}},a("rtk-participants-viewer-list",Object.assign({},t,{search:this.search,hideHeader:!0}))))),a("slot",{name:"end"}))}static get watchers(){return{meeting:[{meetingChanged:0}],currentParticipantsTabId:[{currentParticipantsTabIdChanged:0}]}}static get style(){return":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))}"}},[257,"rtk-participants",{meeting:[16],states:[16],config:[16],size:[513],iconPack:[16],defaultParticipantsTabId:[1,"default-participants-tab-id"],t:[16],currentParticipantsTabId:[32],tabs:[32],hasRequests:[32],search:[32]},void 0,{meeting:[{meetingChanged:0}],currentParticipantsTabId:[{currentParticipantsTabIdChanged:0}]}]);function y(){"undefined"!=typeof customElements&&["rtk-participants","rtk-avatar","rtk-button","rtk-icon","rtk-menu-item","rtk-menu-list","rtk-participant","rtk-participants-stage-list","rtk-participants-stage-queue","rtk-participants-viewer-list","rtk-participants-waiting-list","rtk-sidebar-ui","rtk-spinner","rtk-tooltip","rtk-virtualized-participant-list"].forEach((t=>{switch(t){case"rtk-participants":customElements.get(e(t))||customElements.define(e(t),O);break;case"rtk-avatar":customElements.get(e(t))||l();break;case"rtk-button":customElements.get(e(t))||h();break;case"rtk-icon":customElements.get(e(t))||d();break;case"rtk-menu-item":customElements.get(e(t))||m();break;case"rtk-menu-list":customElements.get(e(t))||u();break;case"rtk-participant":customElements.get(e(t))||b();break;case"rtk-participants-stage-list":customElements.get(e(t))||g();break;case"rtk-participants-stage-queue":customElements.get(e(t))||k();break;case"rtk-participants-viewer-list":customElements.get(e(t))||v();break;case"rtk-participants-waiting-list":customElements.get(e(t))||f();break;case"rtk-sidebar-ui":customElements.get(e(t))||x();break;case"rtk-spinner":customElements.get(e(t))||E();break;case"rtk-tooltip":customElements.get(e(t))||w();break;case"rtk-virtualized-participant-list":customElements.get(e(t))||T()}}))}S([c()],O.prototype,"meeting",void 0),S([c()],O.prototype,"states",void 0),S([c()],O.prototype,"config",void 0),S([c()],O.prototype,"iconPack",void 0),S([c()],O.prototype,"t",void 0),y();const C=O,_=y;export{C as RtkParticipants,_ as defineCustomElement}
|
|
1
|
+
import{p as t,H as r,c as s,h as a,d as i,t as e}from"./p-BBHQOrFK.js";import{c as o,e as n,i as p}from"./p-BthnOddY.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{S as c}from"./p-DL4GSZ2e.js";import{d as l}from"./p-BNRJKXAG.js";import{d as h}from"./p-D6vw6bT2.js";import{d}from"./p-BYIBbfJ8.js";import{d as m}from"./p-66poN2qn.js";import{d as u}from"./p-CSt7vW9Z.js";import{d as b}from"./p-CWHbCyoL.js";import{d as g}from"./p-CfFkjBT0.js";import{d as k}from"./p-DCtgO53p.js";import{d as v}from"./p-CwNP8xfN.js";import{d as f}from"./p-BhG6UsF5.js";import{d as x}from"./p-D_tCWiMP.js";import{d as E}from"./p-DXSMSSbW.js";import{d as w}from"./p-DHSRRtn3.js";import{d as T}from"./p-BbJzI1u1.js";import{d as j}from"./p-DLocSBO3.js";var S=function(t,r,s,a){var i,e=arguments.length,o=e<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,s):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,s,a);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(o=(e<3?i(o):e>3?i(r,s,o):i(r,s))||o);return e>3&&o&&Object.defineProperty(r,s,o),o};const y=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.config=o(),this.iconPack=n,this.defaultParticipantsTabId="stage-list",this.t=p(),this.currentParticipantsTabId=this.defaultParticipantsTabId,this.tabs=[],this.hasRequests=!1,this.search="",this.updateParticipantCountsInTabs=j((()=>{var t;let r=(null===(t=this.meeting.participants.waitlisted)||void 0===t?void 0:t.size)||0,s=0,i=0;this.meeting.participants.joined.toArray().forEach((t=>{"ON_STAGE"===t.stageStatus&&s++,"OFF_STAGE"===t.stageStatus&&i++,"REQUESTED_TO_JOIN_STAGE"===t.stageStatus&&(r++,i++),"ACCEPTED_TO_JOIN_STAGE"===t.stageStatus&&i++})),"ON_STAGE"===this.meeting.self.stageStatus&&s++,"OFF_STAGE"===this.meeting.self.stageStatus&&i++,"REQUESTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&(r++,i++),"ACCEPTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&i++;const e=[];this.shouldShowRequestsTab()&&e.push({id:"requests",name:a("span",null,this.t("requests")," ",a("span",{class:`tab-participant-count-badge ${r>0?"requests-pending":""} ${"requests"===this.currentParticipantsTabId?"selected-tab":""}`},r))}),e.push({id:"stage-list",name:a("span",null,this.t("participants")," ",a("span",{class:"tab-participant-count-badge "+("stage-list"===this.currentParticipantsTabId?"selected-tab":"")},s))}),this.shouldShowViewersTab()&&e.push({id:"viewer-list",name:a("span",null,this.t("viewers")," ",a("span",{class:"tab-participant-count-badge "+("viewer-list"===this.currentParticipantsTabId?"selected-tab":"")},i))}),this.tabs=e,this.hasRequests=r>0})),this.onSearchInput=t=>{this.search=t.target.value},this.shouldShowViewersTab=()=>{var t,r,s;return null===(s=null===(r=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===r?void 0:r.permissions)||void 0===s?void 0:s.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 a(i,null,a("div",{class:"search",part:"search"},a("rtk-icon",{icon:this.iconPack.search,part:"search-icon"}),a("input",{type:"search",autocomplete:"off",placeholder:this.t("search"),onInput:this.onSearchInput,part:"search-input"})),a("slot",{name:"start"}),a("div",{class:"ctr scrollbar "+("requests"!==this.currentParticipantsTabId?"virtualised":""),part:"container"},a("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)&&a("div",{slot:"stage-list",style:{marginTop:"10px",height:"100%"}},a("rtk-participants-stage-list",Object.assign({},t,{search:this.search,hideHeader:!0}))),"requests"===this.currentParticipantsTabId&&a("div",{slot:"requests",style:{marginTop:"10px",height:"100%"}},!this.hasRequests&&a("div",{class:"no-pending-requests"},this.t("participants.no_pending_requests")),a("rtk-participants-stage-queue",Object.assign({},t)),a("rtk-participants-waiting-list",Object.assign({},t))),"viewer-list"===this.currentParticipantsTabId&&a("div",{slot:"viewer-list",style:{marginTop:"10px",height:"100%"}},a("rtk-participants-viewer-list",Object.assign({},t,{search:this.search,hideHeader:!0}))))),a("slot",{name:"end"}))}static get watchers(){return{meeting:[{meetingChanged:0}],currentParticipantsTabId:[{currentParticipantsTabIdChanged:0}]}}static get style(){return":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))}"}},[257,"rtk-participants",{meeting:[16],states:[16],config:[16],size:[513],iconPack:[16],defaultParticipantsTabId:[1,"default-participants-tab-id"],t:[16],currentParticipantsTabId:[32],tabs:[32],hasRequests:[32],search:[32]},void 0,{meeting:[{meetingChanged:0}],currentParticipantsTabId:[{currentParticipantsTabIdChanged:0}]}]);function C(){"undefined"!=typeof customElements&&["rtk-participants","rtk-avatar","rtk-button","rtk-icon","rtk-menu-item","rtk-menu-list","rtk-participant","rtk-participants-stage-list","rtk-participants-stage-queue","rtk-participants-viewer-list","rtk-participants-waiting-list","rtk-sidebar-ui","rtk-spinner","rtk-tooltip","rtk-virtualized-participant-list"].forEach((t=>{switch(t){case"rtk-participants":customElements.get(e(t))||customElements.define(e(t),y);break;case"rtk-avatar":customElements.get(e(t))||l();break;case"rtk-button":customElements.get(e(t))||h();break;case"rtk-icon":customElements.get(e(t))||d();break;case"rtk-menu-item":customElements.get(e(t))||m();break;case"rtk-menu-list":customElements.get(e(t))||u();break;case"rtk-participant":customElements.get(e(t))||b();break;case"rtk-participants-stage-list":customElements.get(e(t))||g();break;case"rtk-participants-stage-queue":customElements.get(e(t))||k();break;case"rtk-participants-viewer-list":customElements.get(e(t))||v();break;case"rtk-participants-waiting-list":customElements.get(e(t))||f();break;case"rtk-sidebar-ui":customElements.get(e(t))||x();break;case"rtk-spinner":customElements.get(e(t))||E();break;case"rtk-tooltip":customElements.get(e(t))||w();break;case"rtk-virtualized-participant-list":customElements.get(e(t))||T()}}))}S([c()],y.prototype,"meeting",void 0),S([c()],y.prototype,"states",void 0),S([c()],y.prototype,"config",void 0),S([c()],y.prototype,"iconPack",void 0),S([c()],y.prototype,"t",void 0),C();const O=y,_=C;export{O as RtkParticipants,_ as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as
|
|
1
|
+
import{R as o,d as p}from"./p-CIfkVpTJ.js";const s=o,r=p;export{s as RtkPermissionsMessage,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-CVfA5R2h.js";const p=o,r=s;export{p as RtkPinnedMessageSelector,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as i,c as e,h as s,d as o,t as n}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import{c as r,e as a,i as c}from"./p-
|
|
1
|
+
import{p as t,H as i,c as e,h as s,d as o,t as n}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import{c as r,e as a,i as c}from"./p-BthnOddY.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{S as p}from"./p-DL4GSZ2e.js";import{d as l}from"./p-DPxfGgCX.js";import{d as h}from"./p-BYIBbfJ8.js";import{d as m}from"./p-DXSMSSbW.js";var d=function(t,i,e,s){var o,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 a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const u=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=e(this,"rtkStateUpdate",7),this.variant="button",this.config=r(),this.iconPack=a,this.t=c(),this.pipSupported=!1}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){var i,e,s;t&&(this.pipSupported=(null===(i=t.participants.pip)||void 0===i?void 0:i.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode)&&"LIVESTREAM"!==(null===(s=t.self.config)||void 0===s?void 0:s.viewType))}togglePip(){this.meeting.participants.pip&&(this.meeting.participants.pip.isActive?this.meeting.participants.pip.disable():this.meeting.participants.pip.enable(),this.stateUpdate.emit({activeMoreMenu:!1}))}render(){if(!this.meeting)return null;if(!this.pipSupported)return s(o,{"data-hidden":!0});const t=this.meeting.participants.pip.isActive;return s(o,{role:"log","aria-label":"Picture-in-Picture mode"},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:()=>this.togglePip(),icon:t?this.iconPack.pip_on:this.iconPack.pip_off,label:this.t(t?"pip_off":"pip_on"),variant:this.variant}))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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}:host([data-hidden]){display:none}"}},[1,"rtk-pip-toggle",{variant:[513],meeting:[16],states:[16],config:[16],iconPack:[16],size:[513],t:[16],pipSupported:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function f(){"undefined"!=typeof customElements&&["rtk-pip-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-pip-toggle":customElements.get(n(t))||customElements.define(n(t),u);break;case"rtk-controlbar-button":customElements.get(n(t))||l();break;case"rtk-icon":customElements.get(n(t))||h();break;case"rtk-spinner":customElements.get(n(t))||m()}}))}d([p()],u.prototype,"meeting",void 0),d([p()],u.prototype,"states",void 0),d([p()],u.prototype,"config",void 0),d([p()],u.prototype,"iconPack",void 0),d([p()],u.prototype,"t",void 0),f();const g=u,v=f;export{g as RtkPipToggle,v as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-V9huV8XH.js";const p=o,r=s;export{p as RtkPluginMain,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as s,c as i,h as e,d as n,t as a}from"./p-BBHQOrFK.js";import{e as o,i as l}from"./p-
|
|
1
|
+
import{p as t,H as s,c as i,h as e,d as n,t as a}from"./p-BBHQOrFK.js";import{e as o,i as l}from"./p-BthnOddY.js";import{b as r}from"./p-D9HGXWKc.js";import{S as c}from"./p-DL4GSZ2e.js";import{d as h}from"./p-DPxfGgCX.js";import{d}from"./p-BYIBbfJ8.js";import{d as u}from"./p-DXSMSSbW.js";var g=function(t,s,i,e){var n,a=arguments.length,o=a<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,i,e);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(o=(a<3?n(o):a>3?n(s,i,o):n(s,i))||o);return a>3&&o&&Object.defineProperty(s,i,o),o};const p=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=o,this.t=l(),this.pluginsActive=!1,this.canViewPlugins=!1,this.updateCanView=()=>{this.canViewPlugins=r(this.meeting)}}disconnectedCallback(){var t,s,i,e;null===(s=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===s||s.removeListener("stageStatusUpdate",this.updateCanView),null===(e=null===(i=this.meeting)||void 0===i?void 0:i.self)||void 0===e||e.permissions.removeListener("pluginsUpdate",this.updateCanView)}connectedCallback(){this.statesChanged(this.states),this.meetingChanged(this.meeting)}meetingChanged(t){var s,i;t&&(this.canViewPlugins=r(t),null===(s=null==t?void 0:t.stage)||void 0===s||s.on("stageStatusUpdate",this.updateCanView),null===(i=null==t?void 0:t.self)||void 0===i||i.permissions.addListener("pluginsUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.pluginsActive=!0===t.activeSidebar&&"plugins"===t.sidebar)}togglePlugins(){const t=this.states;this.pluginsActive=!((null==t?void 0:t.activeSidebar)&&"plugins"===(null==t?void 0:t.sidebar)),this.stateUpdate.emit({activeSidebar:this.pluginsActive,sidebar:this.pluginsActive?"plugins":void 0,activeMoreMenu:!1})}handlePluginsActiveChange(){this.pluginsActive||this.states.activeSidebar||this.buttonEl.focus()}render(){if(!this.canViewPlugins)return e(n,{"data-hidden":!0});const t=this.t("plugins");return e(n,{title:t},e("rtk-controlbar-button",{ref:t=>this.buttonEl=t,part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.pluginsActive},onClick:()=>this.togglePlugins(),icon:this.iconPack.rocket,label:t,variant:this.variant}))}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],pluginsActive:[{handlePluginsActiveChange:0}]}}static get style(){return":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}:host([data-hidden]){display:none}"}},[1,"rtk-plugins-toggle",{variant:[513],meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],pluginsActive:[32],canViewPlugins:[32]},void 0,{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],pluginsActive:[{handlePluginsActiveChange:0}]}]);function m(){"undefined"!=typeof customElements&&["rtk-plugins-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-plugins-toggle":customElements.get(a(t))||customElements.define(a(t),p);break;case"rtk-controlbar-button":customElements.get(a(t))||h();break;case"rtk-icon":customElements.get(a(t))||d();break;case"rtk-spinner":customElements.get(a(t))||u()}}))}g([c()],p.prototype,"meeting",void 0),g([c()],p.prototype,"states",void 0),g([c()],p.prototype,"iconPack",void 0),g([c()],p.prototype,"t",void 0),m();const v=p,f=m;export{v as RtkPluginsToggle,f as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-oNFda96T.js";const a=o,p=s;export{a as RtkPlugins,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-Chf25Wxh.js";const p=o,r=s;export{p as RtkPollForm,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as
|
|
1
|
+
import{R as s,d as o}from"./p-DfGTdsn0.js";const p=s,r=o;export{p as RtkPoll,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as s,c as e,h as i,d as o,t as a}from"./p-BBHQOrFK.js";import{e as n,i as r}from"./p-
|
|
1
|
+
import{p as t,H as s,c as e,h as i,d as o,t as a}from"./p-BBHQOrFK.js";import{e as n,i as r}from"./p-BthnOddY.js";import{d as l}from"./p-D9HGXWKc.js";import{S as c}from"./p-DL4GSZ2e.js";import{d as h}from"./p-DPxfGgCX.js";import{d}from"./p-BYIBbfJ8.js";import{d as p}from"./p-DXSMSSbW.js";var u=function(t,s,e,i){var o,a=arguments.length,n=a<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,s,e,i);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(s,e,n):o(s,e))||n);return a>3&&n&&Object.defineProperty(s,e,n),n};const v=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=e(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=n,this.t=r(),this.pollsActive=!1,this.unreadPollsCount=0,this.canViewPolls=!1,this.onPollsUpdate=({newPoll:t})=>{!0===t&&(this.unreadPollsCount+=1)},this.updateCanView=()=>{this.canViewPolls=l(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,s,e,i,o,a;null===(s=null===(t=this.meeting)||void 0===t?void 0:t.polls)||void 0===s||s.removeListener("pollsUpdate",this.onPollsUpdate),null===(i=null===(e=this.meeting)||void 0===e?void 0:e.self)||void 0===i||i.permissions.removeListener("pollsUpdate",this.updateCanView),null===(a=null===(o=this.meeting)||void 0===o?void 0:o.stage)||void 0===a||a.removeListener("stageStatusUpdate",this.updateCanView)}meetingChanged(t){var s,e;t&&t.polls&&(this.unreadPollsCount=t.polls.items.length,this.meeting.polls.addListener("pollsUpdate",this.onPollsUpdate),null===(s=null==t?void 0:t.self)||void 0===s||s.permissions.addListener("pollsUpdate",this.updateCanView),this.canViewPolls=l(t),null===(e=null==t?void 0:t.stage)||void 0===e||e.on("stageStatusUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.pollsActive=!0===t.activeSidebar&&"polls"===t.sidebar)}togglePollsTab(){const t=this.states;this.unreadPollsCount=0,this.pollsActive=!((null==t?void 0:t.activeSidebar)&&"polls"===(null==t?void 0:t.sidebar)),this.stateUpdate.emit({activeSidebar:this.pollsActive,sidebar:this.pollsActive?"polls":void 0,activeMoreMenu:!1})}handlePollsActiveChange(){this.pollsActive||this.states.activeSidebar||this.buttonEl.focus()}render(){if(!this.canViewPolls)return i(o,{"data-hidden":!0});const t=this.t("polls");return i(o,{title:t},0!==this.unreadPollsCount&&!this.pollsActive&&i("div",{class:"unread-count",part:"unread-count"},i("span",null,this.unreadPollsCount<=100?this.unreadPollsCount:"99+")),i("rtk-controlbar-button",{ref:t=>this.buttonEl=t,part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.pollsActive},onClick:()=>this.togglePollsTab(),icon:this.iconPack.poll,label:t,variant:this.variant}))}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],pollsActive:[{handlePollsActiveChange:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block}:host([data-hidden]){display:none}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;transform:translateY(-50%)}"}},[1,"rtk-polls-toggle",{variant:[513],meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],pollsActive:[32],unreadPollsCount:[32],canViewPolls:[32]},void 0,{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],pollsActive:[{handlePollsActiveChange:0}]}]);function g(){"undefined"!=typeof customElements&&["rtk-polls-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-polls-toggle":customElements.get(a(t))||customElements.define(a(t),v);break;case"rtk-controlbar-button":customElements.get(a(t))||h();break;case"rtk-icon":customElements.get(a(t))||d();break;case"rtk-spinner":customElements.get(a(t))||p()}}))}u([c()],v.prototype,"meeting",void 0),u([c()],v.prototype,"states",void 0),u([c()],v.prototype,"iconPack",void 0),u([c()],v.prototype,"t",void 0),g();const m=v,b=g;export{m as RtkPollsToggle,b as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-BbtnaCk4.js";const t=o,a=s;export{t as RtkPolls,a as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as i,d as a,t as r}from"./p-BBHQOrFK.js";import{i as n,e as s}from"./p-
|
|
1
|
+
import{p as t,H as e,h as i,d as a,t as r}from"./p-BBHQOrFK.js";import{i as n,e as s}from"./p-BthnOddY.js";import{S as c}from"./p-DL4GSZ2e.js";import{d as o}from"./p-BYIBbfJ8.js";var d=function(t,e,i,a){var r,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.t=n(),this.iconPack=s,this.setIsRecording=t=>{this.isRecording="RECORDING"===t}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null===(t=this.meeting)||void 0===t||t.recording.removeListener("recordingUpdate",this.updateRecordingStatus)}meetingChanged(t){null!=t&&(this.setIsRecording(t.recording.recordingState),this.updateRecordingStatus=t=>{this.setIsRecording(t)},t.recording.addListener("recordingUpdate",this.updateRecordingStatus))}render(){return i(a,{key:"c4246e4721b0ca5fbc689a90688f1239df60ecad","data-hidden":!this.isRecording},this.isRecording&&i("div",{key:"ce19b3649bba8a91cd22770534762c932b934557",class:"indicator","aria-label":this.t("recording.indicator"),part:"indicator"},i("rtk-icon",{key:"9d2ae89fef0d4e1e0d3546f765f48be8a6da6b5a",icon:this.iconPack.recording,"aria-hidden":!0,tabIndex:-1,part:"icon"}),i("span",{key:"cedf044a1a96c164022d734be2baf7e568fb849e"},this.t("recording.label"))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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}:host([data-hidden]){display:none}:host[size='sm']{margin-left:var(--rtk-space-1, 4px);margin-right:var(--rtk-space-1, 4px)}.indicator{display:flex;flex-direction:row;align-items:center;font-size:14px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);animation:blink 4s linear infinite}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}:host([size='sm']) .indicator span{display:none}@keyframes blink{0%,10%{opacity:0}11%,100%{opacity:1}}"}},[1,"rtk-recording-indicator",{meeting:[16],size:[513],t:[16],iconPack:[16],isRecording:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function l(){"undefined"!=typeof customElements&&["rtk-recording-indicator","rtk-icon"].forEach((t=>{switch(t){case"rtk-recording-indicator":customElements.get(r(t))||customElements.define(r(t),p);break;case"rtk-icon":customElements.get(r(t))||o()}}))}d([c()],p.prototype,"meeting",void 0),d([c()],p.prototype,"t",void 0),d([c()],p.prototype,"iconPack",void 0),l();const h=p,f=l;export{h as RtkRecordingIndicator,f as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as
|
|
1
|
+
import{p as t,H as r,c as e,h as i,d as s,t as n}from"./p-BBHQOrFK.js";import{i as o,e as a}from"./p-BthnOddY.js";import{S as c}from"./p-DL4GSZ2e.js";import{d as h}from"./p-DPxfGgCX.js";import{d}from"./p-BYIBbfJ8.js";import{d as l}from"./p-DXSMSSbW.js";var g=function(t,r,e,i){var s,n=arguments.length,o=n<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,e,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(r,e,o):s(r,e))||o);return n>3&&o&&Object.defineProperty(r,e,o),o};const u=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.apiError=e(this,"rtkApiError",7),this.variant="button",this.t=o(),this.iconPack=a,this.disabled=!1,this.canRecord=!1,this.permissionsUpdateListener=()=>{this.canRecord=!0===this.meeting.self.permissions.canRecord},this.toggleRecording=async()=>{var t,r,e;if(!this.isLoading()&&!this.disabled)switch(this.recordingState){case"IDLE":try{return void await(null===(t=this.meeting)||void 0===t?void 0:t.recording.start())}catch(t){const r="1005"===(null==t?void 0:t.code);this.apiError.emit({trace:this.t("recording.start"),message:this.t(r?"recording.error.already_recording":"recording.error.start")})}return;case"RECORDING":try{return void await(null===(r=this.meeting)||void 0===r?void 0:r.recording.stop())}catch(t){this.apiError.emit({trace:this.t("recording.stop"),message:this.t("recording.error.stop")})}return;case"PAUSED":try{return void await(null===(e=this.meeting)||void 0===e?void 0:e.recording.resume())}catch(t){this.apiError.emit({trace:this.t("recording.resume"),message:this.t("recording.error.resume")})}return;default:return}},this.isLoading=()=>!this.meeting||"STARTING"===this.recordingState||"STOPPING"===this.recordingState}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,r;this.recordingStateUpdateListener&&(null===(t=this.meeting)||void 0===t||t.recording.removeListener("recordingUpdate",this.recordingStateUpdateListener)),null===(r=this.meeting)||void 0===r||r.self.permissions.removeListener("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){null!=t&&(this.recordingState=t.recording.recordingState,this.permissionsUpdateListener(),this.recordingStateUpdateListener=t=>{this.recordingState=t},t.recording.addListener("recordingUpdate",this.recordingStateUpdateListener),t.self.permissions.addListener("permissionsUpdate",this.permissionsUpdateListener))}getLabel(){switch(this.recordingState){case"IDLE":return"recording.idle";case"RECORDING":return"recording.stop";case"STARTING":return"recording.starting";case"STOPPING":return"recording.stopping";case"PAUSED":return"recording.resume";default:return"recording.loading"}}getIcon(){switch(this.recordingState){case"IDLE":case"STARTING":case"STOPPING":default:return this.iconPack.recording;case"RECORDING":return this.iconPack.stop_recording}}render(){return this.meeting?this.canRecord?i(s,{title:this.t("RECORDING"===this.recordingState?"recording.stop":"recording.idle")},i("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.toggleRecording,icon:this.getIcon(),isLoading:this.isLoading(),label:this.t(this.getLabel()),variant:this.variant,disabled:this.disabled})):void 0:null}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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}"}},[1,"rtk-recording-toggle",{variant:[513],meeting:[16],t:[16],iconPack:[16],size:[513],disabled:[4],recordingState:[32],canRecord:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function m(){"undefined"!=typeof customElements&&["rtk-recording-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-recording-toggle":customElements.get(n(t))||customElements.define(n(t),u);break;case"rtk-controlbar-button":customElements.get(n(t))||h();break;case"rtk-icon":customElements.get(n(t))||d();break;case"rtk-spinner":customElements.get(n(t))||l()}}))}g([c()],u.prototype,"meeting",void 0),g([c()],u.prototype,"t",void 0),g([c()],u.prototype,"iconPack",void 0),m();const p=u,f=m;export{p as RtkRecordingToggle,f as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as s,c as e,h as i,d as r,t as a}from"./p-BBHQOrFK.js";import{e as n,i as h}from"./p-
|
|
1
|
+
import{p as t,H as s,c as e,h as i,d as r,t as a}from"./p-BBHQOrFK.js";import{e as n,i as h}from"./p-BthnOddY.js";import{S as o}from"./p-DL4GSZ2e.js";import{d as c}from"./p-DPxfGgCX.js";import{d as l}from"./p-BYIBbfJ8.js";import{d}from"./p-DXSMSSbW.js";import{d as p}from"./p-DHSRRtn3.js";var m=function(t,s,e,i){var r,a=arguments.length,n=a<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,s,e,i);else for(var h=t.length-1;h>=0;h--)(r=t[h])&&(n=(a<3?r(n):a>3?r(s,e,n):r(s,e))||n);return a>3&&n&&Object.defineProperty(s,e,n),n};const u=()=>"undefined"!=typeof navigator&&void 0!==navigator.mediaDevices&&"getDisplayMedia"in navigator.mediaDevices,b=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=e(this,"rtkStateUpdate",7),this.apiError=e(this,"rtkApiError",7),this.variant="button",this.iconPack=n,this.t=h(),this.maxScreenShareCount=-1,this.screenShareCount=0,this.screenShareEnabled=!1,this.canScreenShare=!1,this.shareScreenPermission="NOT_REQUESTED",this.screenShareState={tooltipLabel:this.t("screenshare.start"),label:this.t("screenshare.start"),icon:this.iconPack.share_screen_start,classList:{},showWarning:!1,disable:!1},this.stageStatus="OFF_STAGE",this.screenShareListener=()=>{const t=this.meeting.participants.active.toArray().filter((t=>t.screenShareEnabled)).length;this.screenShareCount=t+(this.meeting.self.screenShareEnabled?1:0),this.screenShareEnabled=this.meeting.self.screenShareEnabled,this.getState(),this.meeting.__internals__.logger.info("rtkScreenShare::screenShareUpdate",{media:{screenshare:{enabled:this.screenShareEnabled,count:this.screenShareCount}}})},this.participantLeftListener=({screenShareEnabled:t})=>{t&&(this.screenShareCount=Math.max(this.screenShareCount-1,0),this.getState(),this.meeting.__internals__.logger.info("rtkScreenShare::screenShareUpdate",{media:{screenshare:{enabled:this.screenShareEnabled,count:this.screenShareCount}}}))},this.stageStatusListener=()=>{this.stageStatus=this.meeting.stage.status,this.canScreenShare="ALLOWED"===this.meeting.self.permissions.canProduceScreenshare},this.mediaPermissionUpdateListener=({kind:t,message:s})=>{"screenshare"===t&&(this.shareScreenPermission=s,this.getState(),"COULD_NOT_START"===s&&this.apiError.emit({trace:this.t("screenshare.permissions"),message:this.t("screenshare.error.unknown")}),this.hasPermissionError())&&this.stateUpdate.emit({activePermissionsMessage:{enabled:!0,kind:"screenshare"}})},this.reachedMaxScreenShares=()=>this.maxScreenShareCount>0&&this.screenShareCount>=this.maxScreenShareCount,this.toggleScreenShare=async()=>{var t;if(this.screenShareState.disable)return;if(this.hasPermissionError())return this.stateUpdate.emit({activePermissionsMessage:{enabled:!0,kind:"screenshare"}}),!1;const s=null===(t=this.meeting)||void 0===t?void 0:t.self;this.screenShareEnabled?s.disableScreenShare():null==s||!this.canScreenShare||this.reachedMaxScreenShares()||this.hasPermissionError()||(this.screenShareState=Object.assign(Object.assign({},this.screenShareState),{disable:!0}),await s.enableScreenShare(),this.screenShareState=Object.assign(Object.assign({},this.screenShareState),{disable:!1}),this.stateUpdate.emit({activeMoreMenu:!1}))}}connectedCallback(){u()?this.meetingChanged(this.meeting):this.meeting.__internals__.logger.error("[rtk-screenshare-toggle] Device does not support screensharing.")}disconnectedCallback(){var t,s,e,i,r,a;null===(t=this.meeting)||void 0===t||t.participants.joined.removeListener("screenShareUpdate",this.screenShareListener),null===(s=this.meeting)||void 0===s||s.participants.joined.removeListener("participantLeft",this.participantLeftListener),null===(e=this.meeting)||void 0===e||e.self.removeListener("screenShareUpdate",this.screenShareListener),null===(i=this.meeting)||void 0===i||i.self.removeListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),null===(a=null===(r=this.meeting)||void 0===r?void 0:r.stage)||void 0===a||a.removeListener("stageStatusUpdate",this.stageStatusListener)}meetingChanged(t){if(null!=t){const{self:s,stage:e}=t;this.canScreenShare="ALLOWED"===this.meeting.self.permissions.canProduceScreenshare,this.maxScreenShareCount=s.config.maxScreenShareCount,this.screenShareEnabled=s.screenShareEnabled;let i=0;for(const s of t.participants.joined.toArray())s.screenShareEnabled&&i++;this.screenShareCount=i,this.getState(),t.__internals__.logger.info("rtkScreenShare::initialise",{media:{screenshare:{enabled:this.screenShareEnabled,count:this.screenShareCount,maxAllowedCount:this.maxScreenShareCount}}}),this.stageStatus=t.stage.status,t.participants.joined.addListener("screenShareUpdate",this.screenShareListener),t.participants.joined.addListener("participantLeft",this.participantLeftListener),s.addListener("screenShareUpdate",this.screenShareListener),s.addListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),null==e||e.addListener("stageStatusUpdate",this.stageStatusListener)}}hasPermissionError(){return"SYSTEM_DENIED"===this.shareScreenPermission||"DENIED"===this.shareScreenPermission}getState(){let t="",s="",e="",i={};const r=this.hasPermissionError()&&!this.screenShareEnabled,a=this.reachedMaxScreenShares()&&!this.screenShareEnabled,n="COULD_NOT_START"===this.shareScreenPermission;this.screenShareEnabled&&!r?(s=this.t("screenshare.stop"),e=this.iconPack.share_screen_stop,i["red-icon"]=!0):(s=this.t("screenshare.start"),e=this.iconPack.share_screen_start),"SYSTEM_DENIED"===this.shareScreenPermission?(t=this.t("perm_sys_denied.screenshare"),i["red-icon"]=!0):"DENIED"===this.shareScreenPermission?(t=this.t("perm_denied.screenshare"),i["red-icon"]=!0):t=s,a&&(t=this.t("screenshare.error.max_count")),n&&(t=this.t("screenshare.error.unknown")),this.screenShareState={tooltipLabel:t,label:s,icon:e,classList:i,disable:r||a,showWarning:r||a||n}}render(){return u()&&this.canScreenShare&&!["OFF_STAGE","REQUESTED_TO_JOIN_STAGE"].includes(this.stageStatus)?i(r,{title:this.screenShareState.label},i("rtk-tooltip",{placement:"top",kind:"block",label:this.screenShareState.tooltipLabel,delay:600,part:"tooltip"},i("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,variant:this.variant,label:this.screenShareState.label,icon:this.screenShareState.icon,class:this.screenShareState.classList,onClick:this.toggleScreenShare,disabled:this.screenShareState.disable,showWarning:this.screenShareState.showWarning}))):i(r,{"data-hidden":!0})}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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}:host([data-hidden]){display:none}"}},[1,"rtk-screen-share-toggle",{states:[16],variant:[513],meeting:[16],size:[513],iconPack:[16],t:[16],maxScreenShareCount:[32],screenShareCount:[32],screenShareEnabled:[32],canScreenShare:[32],shareScreenPermission:[32],screenShareState:[32],stageStatus:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function S(){"undefined"!=typeof customElements&&["rtk-screen-share-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-screen-share-toggle":customElements.get(a(t))||customElements.define(a(t),b);break;case"rtk-controlbar-button":customElements.get(a(t))||c();break;case"rtk-icon":customElements.get(a(t))||l();break;case"rtk-spinner":customElements.get(a(t))||d();break;case"rtk-tooltip":customElements.get(a(t))||p()}}))}m([o()],b.prototype,"states",void 0),m([o()],b.prototype,"meeting",void 0),m([o()],b.prototype,"iconPack",void 0),m([o()],b.prototype,"t",void 0),S();const g=b,k=S;export{g as RtkScreenShareToggle,k as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as a,w as i,h as r,d as s,t as o}from"./p-BBHQOrFK.js";import{e as n,i as c}from"./p-De8YQHVd.js";import{i as d,r as l,e as p,a as h}from"./p-GSFejkz7.js";import{S as f}from"./p-CphAED3J.js";import{d as g}from"./p-D6vw6bT2.js";import{d as k}from"./p-BYIBbfJ8.js";import{d as v}from"./p-DHSRRtn3.js";var m=function(t,e,a,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,a,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(e,a,o):r(e,a))||o);return s>3&&o&&Object.defineProperty(e,a,o),o};const b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=a(this,"rtkStateUpdate",7),this.play=a(this,"screensharePlay",7),this.fullScreenListener=()=>{this.isFullScreen=d()},this.participantScreenshareUpdate=t=>{t.id===this.participant.id&&this.screenShareListener(t)},this.hideFullScreenButton=!1,this.nameTagPosition="bottom-left",this.variant="solid",this.iconPack=n,this.t=c(),this.videoExpanded=!1,this.screenShareEnabled=!1,this.isFullScreen=!1,this.toggleFullScreen=()=>{this.isFullScreen?(p(),this.isFullScreen=!1):(l(this.host),this.isFullScreen=!0)}}connectedCallback(){null===window||void 0===window||window.addEventListener("fullscreenchange",this.fullScreenListener),null===window||void 0===window||window.addEventListener("webkitfullscreenchange",this.fullScreenListener)}componentDidLoad(){this.participantChanged(this.participant)}disconnectedCallback(){if(!this.meeting)return;const{self:t}=this.meeting;this.participant.id===t.id&&this.screenShareListener?this.participant.removeListener("screenShareUpdate",this.screenShareListener):this.meeting.participants.joined.removeListener("screenShareUpdate",this.participantScreenshareUpdate),null===window||void 0===window||window.removeEventListener("fullscreenchange",this.fullScreenListener),null===window||void 0===window||window.removeEventListener("webkitfullscreenchange",this.fullScreenListener)}participantChanged(t){if(null!=t&&this.meeting){const{self:e}=this.meeting;this.screenShareListener=({screenShareEnabled:t,screenShareTracks:e})=>{const a=t&&null!=e.video;if(i((()=>{this.screenShareEnabled=a})),a){const t=new MediaStream;t.addTrack(e.video),null!=this.videoEl&&(this.videoEl.srcObject=t,this.videoEl.play())}else null!=this.videoEl&&(this.videoEl.srcObject=void 0)},this.screenShareListener(t),t.id===e.id?t.addListener("screenShareUpdate",this.screenShareListener):this.meeting.participants.joined.addListener("screenShareUpdate",this.participantScreenshareUpdate)}}render(){var t,e;const a=(null===(t=this.participant)||void 0===t?void 0:t.id)===(null===(e=this.meeting)||void 0===e?void 0:e.self.id),i=this.t(this.isFullScreen?"full_screen.exit":"full_screen"),o=this.isFullScreen?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize;return r(s,{key:"10646f5ea7b7b9bc162c2a98af07928a0f68f605",class:{isSelf:a}},r("div",{key:"video-container",id:"video-container",class:{expand:this.videoExpanded}},r("video",{key:"13e87cfee55fdd6d45a72ec55792fbbfefdc5206",ref:t=>this.videoEl=t,class:{visible:this.screenShareEnabled,"fit-in-container":this.participant.supportsRemoteControl},playsInline:!0,onPlay:()=>{this.play.emit({screenshareParticipant:this.participant,participant:this.meeting.self})},autoPlay:!0,muted:!0,id:"screen-share-video-"+this.participant.id})),r("div",{id:"controls",key:"controls"},!this.hideFullScreenButton&&!a&&h()&&r("rtk-tooltip",{key:"97ba6869139126f0114aee3239999bfe1172a798",label:i},r("rtk-button",{key:"0769449ffcba69117d10a7346e4881c207e7ac6f",id:"full-screen-btn",kind:"icon",onClick:this.toggleFullScreen,title:i},r("rtk-icon",{key:"508cf201f0b2e6da061e35dff4d3899f1da0749a",icon:o,"aria-hidden":!0,tabIndex:-1})))),a&&r("div",{id:"self-message",key:"self-message"},r("h3",{key:"6f055da4722c11893e3f8640bddad7f6844838da"},this.t("screenshare.shared")),r("div",{key:"96fa5f8b47cef2a2a58352e4275c3c325f22a465",class:"actions"},null!=this.meeting&&r("rtk-button",{key:"144c3908476ac18d1ffcc1282a46a4d7fad698c2",variant:"danger",onClick:()=>{this.meeting.self.disableScreenShare()}},r("rtk-icon",{key:"7a6f710ccb916ca78edbb5daa9b6bcf3547ed54e",icon:this.iconPack.share_screen_stop,slot:"start"}),this.t("screenshare.stop")),r("rtk-button",{key:"1667e04e5a22c3edfdab9300ffca06df7eba4948",variant:"secondary",id:"expand-btn",onClick:()=>{this.videoExpanded=!this.videoExpanded}},r("rtk-icon",{key:"6140671792e626d5de181861ee4c7aef1dd11e3e",icon:this.videoExpanded?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize,slot:"start"}),this.t(this.videoExpanded?"screenshare.min_preview":"screenshare.max_preview")))),r("slot",{key:"beeecb6fe5a1f46d259a86e698c31fb477949bf3"}))}get host(){return this}static get watchers(){return{participant:[{participantChanged:0}]}}static get style(){return":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{height:100%;width:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));container-type:inline-size;container-name:screentile}::slotted(rtk-name-tag){position:absolute;left:var(--rtk-space-3, 12px);bottom:var(--rtk-space-3, 12px);opacity:0.8}#video-container{position:absolute;display:block;height:100%;width:100%}#video-container .fit-in-container{-o-object-fit:fill;object-fit:fill}video{height:100%;width:100%;-o-object-fit:contain;object-fit:contain}:host([variant='gradient']) ::slotted(rtk-audio-visualizer){position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px)}:host([variant='gradient']) ::slotted(rtk-name-tag){bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);display:flex;width:100%;align-items:center;justify-content:center;text-align:center;background-color:transparent;background-image:linear-gradient(to top, var(--tw-gradient-stops));--tw-gradient-from:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-gradient-to:rgba(var(--rtk-colors-background-1000, 8 8 8) / 0);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to:transparent}:host([size='sm'][variant='gradient']) ::slotted(rtk-audio-visualizer){height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}video.visible{animation:video-fadein 0.4s ease}#controls{display:none;position:absolute;top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);align-items:center;justify-content:flex-end;gap:var(--rtk-space-2, 8px)}:host(:hover) #controls,:host(:active) #controls,:host(:focus-visible) #controls{display:flex}#full-screen-btn{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin-top:var(--rtk-space-10, 40px);margin-bottom:var(--rtk-space-6, 24px);text-align:center;font-size:20px;font-weight:500}:host([size='sm']) h3{font-size:16px}#self-message{padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host(.isSelf) #self-view{flex:1 1 0%}:host(.isSelf) #video-container{position:static;aspect-ratio:auto;height:auto;width:50%;max-width:var(--rtk-space-96, 384px);border-radius:var(--rtk-border-radius-md, 8px);transition:0.6s ease}:host(.isSelf) #video-container.expand{width:60%;max-width:100%}.actions{display:flex;align-items:center;justify-content:center;gap:var(--rtk-space-2, 8px)}:host([size='sm'].isSelf) #video-container,:host([size='md'].isSelf) #video-container,:host([size='sm'].isSelf) #expand-btn,:host([size='md'].isSelf) #expand-btn{display:none}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.remote-control{z-index:10;height:100%;max-height:100%;flex:0 1 auto}#remote-control-self{position:absolute;top:var(--rtk-space-0, 0px);left:50%;z-index:10;width:-moz-max-content;width:max-content;max-width:100%;box-sizing:border-box;display:flex;height:var(--rtk-space-8, 32px);align-items:center;overflow:hidden;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));transform:translateX(-50%)}#remote-control-self p{padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}#remote-control-self rtk-button{height:100%;border-radius:var(--rtk-border-radius-none, 0);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity));font-size:12px}:host([size='sm']) #remote-control-self{height:auto;flex-direction:column}:host([size='sm']) #remote-control-self rtk-button{width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}:host([name-tag-position='bottom-right']) ::slotted(rtk-name-tag){left:auto;right:var(--rtk-space-3, 12px)}:host([name-tag-position='bottom-center']) ::slotted(rtk-name-tag){left:auto;right:auto}:host([name-tag-position='top-left']) ::slotted(rtk-name-tag){top:var(--rtk-space-3, 12px);bottom:auto}:host([name-tag-position='top-right']) ::slotted(rtk-name-tag){top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);left:auto;bottom:auto}:host([name-tag-position='top-center']) ::slotted(rtk-name-tag){left:auto;right:auto;bottom:auto;top:var(--rtk-space-3, 12px)}@keyframes video-fadein{0%{opacity:0;transform:scale(1.4) translateY(20px)}100%{opacity:1;transform:scale(1) translateY(0)}}::slotted(rtk-network-indicator){position:absolute;right:var(--rtk-space-3, 12px);bottom:var(--rtk-space-3, 12px)}@media only screen and (max-height: 480px) and (orientation: landscape){:host([size='sm'][variant='solid']) ::slotted(rtk-name-tag),:host([size='sm'][variant='solid']) rtk-name-tag{left:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);border-radius:var(--rtk-border-radius-none, 0);transform-origin:0% 110%;transform:scale(0.6)}}@container screentile (max-width: 400px){::slotted(rtk-name-tag){transform-origin:0 130%;transform:scale(0.7)}}"}},[257,"rtk-screenshare-view",{hideFullScreenButton:[4,"hide-full-screen-button"],nameTagPosition:[513,"name-tag-position"],participant:[16],meeting:[16],variant:[513],size:[513],iconPack:[16],t:[16],videoExpanded:[32],screenShareEnabled:[32],isFullScreen:[32],remoteControlInfo:[32]},void 0,{participant:[{participantChanged:0}]}]);function u(){"undefined"!=typeof customElements&&["rtk-screenshare-view","rtk-button","rtk-icon","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-screenshare-view":customElements.get(o(t))||customElements.define(o(t),b);break;case"rtk-button":customElements.get(o(t))||g();break;case"rtk-icon":customElements.get(o(t))||k();break;case"rtk-tooltip":customElements.get(o(t))||v()}}))}m([f()],b.prototype,"meeting",void 0),m([f()],b.prototype,"iconPack",void 0),m([f()],b.prototype,"t",void 0),u();const x=b,w=u;export{x as RtkScreenshareView,w as defineCustomElement}
|
|
1
|
+
import{p as t,H as e,c as a,w as i,h as r,d as s,t as o}from"./p-BBHQOrFK.js";import{e as n,i as c}from"./p-BthnOddY.js";import{i as d,r as l,e as p,a as h}from"./p-GSFejkz7.js";import{S as f}from"./p-DL4GSZ2e.js";import{d as g}from"./p-D6vw6bT2.js";import{d as k}from"./p-BYIBbfJ8.js";import{d as v}from"./p-DHSRRtn3.js";var m=function(t,e,a,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,a,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(e,a,o):r(e,a))||o);return s>3&&o&&Object.defineProperty(e,a,o),o};const b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=a(this,"rtkStateUpdate",7),this.play=a(this,"screensharePlay",7),this.fullScreenListener=()=>{this.isFullScreen=d()},this.participantScreenshareUpdate=t=>{t.id===this.participant.id&&this.screenShareListener(t)},this.hideFullScreenButton=!1,this.nameTagPosition="bottom-left",this.variant="solid",this.iconPack=n,this.t=c(),this.videoExpanded=!1,this.screenShareEnabled=!1,this.isFullScreen=!1,this.toggleFullScreen=()=>{this.isFullScreen?(p(),this.isFullScreen=!1):(l(this.host),this.isFullScreen=!0)}}connectedCallback(){null===window||void 0===window||window.addEventListener("fullscreenchange",this.fullScreenListener),null===window||void 0===window||window.addEventListener("webkitfullscreenchange",this.fullScreenListener)}componentDidLoad(){this.participantChanged(this.participant)}disconnectedCallback(){if(!this.meeting)return;const{self:t}=this.meeting;this.participant.id===t.id&&this.screenShareListener?this.participant.removeListener("screenShareUpdate",this.screenShareListener):this.meeting.participants.joined.removeListener("screenShareUpdate",this.participantScreenshareUpdate),null===window||void 0===window||window.removeEventListener("fullscreenchange",this.fullScreenListener),null===window||void 0===window||window.removeEventListener("webkitfullscreenchange",this.fullScreenListener)}participantChanged(t){if(null!=t&&this.meeting){const{self:e}=this.meeting;this.screenShareListener=({screenShareEnabled:t,screenShareTracks:e})=>{const a=t&&null!=e.video;if(i((()=>{this.screenShareEnabled=a})),a){const t=new MediaStream;t.addTrack(e.video),null!=this.videoEl&&(this.videoEl.srcObject=t,this.videoEl.play())}else null!=this.videoEl&&(this.videoEl.srcObject=void 0)},this.screenShareListener(t),t.id===e.id?t.addListener("screenShareUpdate",this.screenShareListener):this.meeting.participants.joined.addListener("screenShareUpdate",this.participantScreenshareUpdate)}}render(){var t,e;const a=(null===(t=this.participant)||void 0===t?void 0:t.id)===(null===(e=this.meeting)||void 0===e?void 0:e.self.id),i=this.t(this.isFullScreen?"full_screen.exit":"full_screen"),o=this.isFullScreen?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize;return r(s,{key:"10646f5ea7b7b9bc162c2a98af07928a0f68f605",class:{isSelf:a}},r("div",{key:"video-container",id:"video-container",class:{expand:this.videoExpanded}},r("video",{key:"13e87cfee55fdd6d45a72ec55792fbbfefdc5206",ref:t=>this.videoEl=t,class:{visible:this.screenShareEnabled,"fit-in-container":this.participant.supportsRemoteControl},playsInline:!0,onPlay:()=>{this.play.emit({screenshareParticipant:this.participant,participant:this.meeting.self})},autoPlay:!0,muted:!0,id:"screen-share-video-"+this.participant.id})),r("div",{id:"controls",key:"controls"},!this.hideFullScreenButton&&!a&&h()&&r("rtk-tooltip",{key:"97ba6869139126f0114aee3239999bfe1172a798",label:i},r("rtk-button",{key:"0769449ffcba69117d10a7346e4881c207e7ac6f",id:"full-screen-btn",kind:"icon",onClick:this.toggleFullScreen,title:i},r("rtk-icon",{key:"508cf201f0b2e6da061e35dff4d3899f1da0749a",icon:o,"aria-hidden":!0,tabIndex:-1})))),a&&r("div",{id:"self-message",key:"self-message"},r("h3",{key:"6f055da4722c11893e3f8640bddad7f6844838da"},this.t("screenshare.shared")),r("div",{key:"96fa5f8b47cef2a2a58352e4275c3c325f22a465",class:"actions"},null!=this.meeting&&r("rtk-button",{key:"144c3908476ac18d1ffcc1282a46a4d7fad698c2",variant:"danger",onClick:()=>{this.meeting.self.disableScreenShare()}},r("rtk-icon",{key:"7a6f710ccb916ca78edbb5daa9b6bcf3547ed54e",icon:this.iconPack.share_screen_stop,slot:"start"}),this.t("screenshare.stop")),r("rtk-button",{key:"1667e04e5a22c3edfdab9300ffca06df7eba4948",variant:"secondary",id:"expand-btn",onClick:()=>{this.videoExpanded=!this.videoExpanded}},r("rtk-icon",{key:"6140671792e626d5de181861ee4c7aef1dd11e3e",icon:this.videoExpanded?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize,slot:"start"}),this.t(this.videoExpanded?"screenshare.min_preview":"screenshare.max_preview")))),r("slot",{key:"beeecb6fe5a1f46d259a86e698c31fb477949bf3"}))}get host(){return this}static get watchers(){return{participant:[{participantChanged:0}]}}static get style(){return":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{height:100%;width:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));container-type:inline-size;container-name:screentile}::slotted(rtk-name-tag){position:absolute;left:var(--rtk-space-3, 12px);bottom:var(--rtk-space-3, 12px);opacity:0.8}#video-container{position:absolute;display:block;height:100%;width:100%}#video-container .fit-in-container{-o-object-fit:fill;object-fit:fill}video{height:100%;width:100%;-o-object-fit:contain;object-fit:contain}:host([variant='gradient']) ::slotted(rtk-audio-visualizer){position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px)}:host([variant='gradient']) ::slotted(rtk-name-tag){bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);display:flex;width:100%;align-items:center;justify-content:center;text-align:center;background-color:transparent;background-image:linear-gradient(to top, var(--tw-gradient-stops));--tw-gradient-from:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-gradient-to:rgba(var(--rtk-colors-background-1000, 8 8 8) / 0);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to:transparent}:host([size='sm'][variant='gradient']) ::slotted(rtk-audio-visualizer){height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}video.visible{animation:video-fadein 0.4s ease}#controls{display:none;position:absolute;top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);align-items:center;justify-content:flex-end;gap:var(--rtk-space-2, 8px)}:host(:hover) #controls,:host(:active) #controls,:host(:focus-visible) #controls{display:flex}#full-screen-btn{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}h3{margin-top:var(--rtk-space-10, 40px);margin-bottom:var(--rtk-space-6, 24px);text-align:center;font-size:20px;font-weight:500}:host([size='sm']) h3{font-size:16px}#self-message{padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host(.isSelf) #self-view{flex:1 1 0%}:host(.isSelf) #video-container{position:static;aspect-ratio:auto;height:auto;width:50%;max-width:var(--rtk-space-96, 384px);border-radius:var(--rtk-border-radius-md, 8px);transition:0.6s ease}:host(.isSelf) #video-container.expand{width:60%;max-width:100%}.actions{display:flex;align-items:center;justify-content:center;gap:var(--rtk-space-2, 8px)}:host([size='sm'].isSelf) #video-container,:host([size='md'].isSelf) #video-container,:host([size='sm'].isSelf) #expand-btn,:host([size='md'].isSelf) #expand-btn{display:none}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.remote-control{z-index:10;height:100%;max-height:100%;flex:0 1 auto}#remote-control-self{position:absolute;top:var(--rtk-space-0, 0px);left:50%;z-index:10;width:-moz-max-content;width:max-content;max-width:100%;box-sizing:border-box;display:flex;height:var(--rtk-space-8, 32px);align-items:center;overflow:hidden;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));transform:translateX(-50%)}#remote-control-self p{padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px)}#remote-control-self rtk-button{height:100%;border-radius:var(--rtk-border-radius-none, 0);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity));font-size:12px}:host([size='sm']) #remote-control-self{height:auto;flex-direction:column}:host([size='sm']) #remote-control-self rtk-button{width:100%;padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}:host([name-tag-position='bottom-right']) ::slotted(rtk-name-tag){left:auto;right:var(--rtk-space-3, 12px)}:host([name-tag-position='bottom-center']) ::slotted(rtk-name-tag){left:auto;right:auto}:host([name-tag-position='top-left']) ::slotted(rtk-name-tag){top:var(--rtk-space-3, 12px);bottom:auto}:host([name-tag-position='top-right']) ::slotted(rtk-name-tag){top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);left:auto;bottom:auto}:host([name-tag-position='top-center']) ::slotted(rtk-name-tag){left:auto;right:auto;bottom:auto;top:var(--rtk-space-3, 12px)}@keyframes video-fadein{0%{opacity:0;transform:scale(1.4) translateY(20px)}100%{opacity:1;transform:scale(1) translateY(0)}}::slotted(rtk-network-indicator){position:absolute;right:var(--rtk-space-3, 12px);bottom:var(--rtk-space-3, 12px)}@media only screen and (max-height: 480px) and (orientation: landscape){:host([size='sm'][variant='solid']) ::slotted(rtk-name-tag),:host([size='sm'][variant='solid']) rtk-name-tag{left:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);border-radius:var(--rtk-border-radius-none, 0);transform-origin:0% 110%;transform:scale(0.6)}}@container screentile (max-width: 400px){::slotted(rtk-name-tag){transform-origin:0 130%;transform:scale(0.7)}}"}},[257,"rtk-screenshare-view",{hideFullScreenButton:[4,"hide-full-screen-button"],nameTagPosition:[513,"name-tag-position"],participant:[16],meeting:[16],variant:[513],size:[513],iconPack:[16],t:[16],videoExpanded:[32],screenShareEnabled:[32],isFullScreen:[32],remoteControlInfo:[32]},void 0,{participant:[{participantChanged:0}]}]);function u(){"undefined"!=typeof customElements&&["rtk-screenshare-view","rtk-button","rtk-icon","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-screenshare-view":customElements.get(o(t))||customElements.define(o(t),b);break;case"rtk-button":customElements.get(o(t))||g();break;case"rtk-icon":customElements.get(o(t))||k();break;case"rtk-tooltip":customElements.get(o(t))||v()}}))}m([f()],b.prototype,"meeting",void 0),m([f()],b.prototype,"iconPack",void 0),m([f()],b.prototype,"t",void 0),u();const x=b,w=u;export{x as RtkScreenshareView,w as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as
|
|
1
|
+
import{R as o,d as r}from"./p-BRPrcA0X.js";const s=o,p=r;export{s as RtkSettingsAudio,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as s,h as o,d as i,t as n}from"./p-BBHQOrFK.js";import{e as r,i as a}from"./p-
|
|
1
|
+
import{p as t,H as e,c as s,h as o,d as i,t as n}from"./p-BBHQOrFK.js";import{e as r,i as a}from"./p-BthnOddY.js";import{S as c}from"./p-DL4GSZ2e.js";import{d as f}from"./p-DPxfGgCX.js";import{d as l}from"./p-BYIBbfJ8.js";import{d as m}from"./p-DXSMSSbW.js";var p=function(t,e,s,o){var i,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,o);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(r=(n<3?i(r):n>3?i(e,s,r):i(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r};const b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=r,this.t=a()}toggleSettings(){const t={activeSettings:!0,activeMoreMenu:!1};this.states=Object.assign(Object.assign({},this.states),t),this.stateUpdate.emit(t)}render(){const t=this.t("settings");return o(i,{key:"921afc41ed4a6019ff882c896855ab455b3edfb7",title:t},o("rtk-controlbar-button",{key:"88d4194fee24f1b96769e06e3a935d516ad543b0",part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:()=>this.toggleSettings(),icon:this.iconPack.settings,label:t,variant:this.variant}))}static get style(){return":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}"}},[1,"rtk-settings-toggle",{variant:[513],states:[16],size:[513],iconPack:[16],t:[16]}]);function k(){"undefined"!=typeof customElements&&["rtk-settings-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-settings-toggle":customElements.get(n(t))||customElements.define(n(t),b);break;case"rtk-controlbar-button":customElements.get(n(t))||f();break;case"rtk-icon":customElements.get(n(t))||l();break;case"rtk-spinner":customElements.get(n(t))||m()}}))}p([c()],b.prototype,"states",void 0),p([c()],b.prototype,"iconPack",void 0),p([c()],b.prototype,"t",void 0),k();const u=b,d=k;export{u as RtkSettingsToggle,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as
|
|
1
|
+
import{R as o,d as p}from"./p-Bjmpb3KI.js";const s=o,m=p;export{s as RtkSettingsVideo,m as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as r,c as o,h as s,d as a,t as i}from"./p-BBHQOrFK.js";import{e,i as n}from"./p-De8YQHVd.js";import{S as c}from"./p-CphAED3J.js";import{d}from"./p-Cd-WpR0J.js";import{d as l}from"./p-D6vw6bT2.js";import{d as p}from"./p-FVFlyS1y.js";import{d as b}from"./p-BYIBbfJ8.js";import{d as h}from"./p-CpOL3OJd.js";import{d as k}from"./p-BjF9F_tX.js";import{d as u}from"./p-BuZhKlht.js";import{d as g}from"./p-DuOnRaMu.js";import{d as m}from"./p-DP4RUNa1.js";import{d as v}from"./p-CABfszIM.js";var w=function(t,r,o,s){var a,i=arguments.length,e=i<3?r:null===s?s=Object.getOwnPropertyDescriptor(r,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,o,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(e=(i<3?a(e):i>3?a(r,o,e):a(r,o))||e);return i>3&&e&&Object.defineProperty(r,o,e),e};const f=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=o(this,"rtkStateUpdate",7),this.keyPressListener=t=>{"Escape"===t.key&&this.close()},this.stageStatusListener=()=>{this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo},this.iconPack=e,this.t=n(),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 s(a,null,s("aside",{class:{hide:this.isMobileMainVisible},part:"menu"},s("header",null,s("h2",null,this.t("settings"))),s("button",{type:"button",class:{active:"audio"===this.activeTab},onClick:()=>this.changeTab("audio")},this.t("audio"),s("div",{class:"right"},s("rtk-icon",{icon:this.iconPack.mic_on}),"sm"===this.size&&s("rtk-icon",{icon:this.iconPack.chevron_right}))),this.canProduceVideo&&s("button",{type:"button",class:{active:"video"===this.activeTab},onClick:()=>this.changeTab("video")},this.t("video"),s("div",{class:"right"},s("rtk-icon",{icon:this.iconPack.video_on}),"sm"===this.size&&s("rtk-icon",{icon:this.iconPack.chevron_right}))),s("button",{type:"none",title:"Your network condition is "+this.networkStatus},this.t("connection"),s("div",{class:"right"},s("rtk-icon",{icon:this.iconPack.wifi,class:this.networkStatus})))),s("main",{class:{active:this.isMobileMainVisible,scrollbar:!0},part:"main-content"},"sm"===this.size&&s("header",null,s("rtk-button",{kind:"icon",class:"back-btn",onClick:()=>this.isMobileMainVisible=!1},s("rtk-icon",{icon:this.iconPack.chevron_left})),s("h2",null,this.t("audio"===this.activeTab?"audio":"video"))),"audio"===this.activeTab&&s("rtk-settings-audio",Object.assign({},t)),"video"===this.activeTab&&s("rtk-settings-video",Object.assign({},t))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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}"}},[1,"rtk-settings",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],activeTab:[32],isMobileMainVisible:[32],networkStatus:[32],canProduceVideo:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function x(){"undefined"!=typeof customElements&&["rtk-settings","rtk-audio-visualizer","rtk-button","rtk-camera-selector","rtk-icon","rtk-microphone-selector","rtk-participant-tile","rtk-settings-audio","rtk-settings-video","rtk-speaker-selector","rtk-switch"].forEach((t=>{switch(t){case"rtk-settings":customElements.get(i(t))||customElements.define(i(t),f);break;case"rtk-audio-visualizer":customElements.get(i(t))||d();break;case"rtk-button":customElements.get(i(t))||l();break;case"rtk-camera-selector":customElements.get(i(t))||p();break;case"rtk-icon":customElements.get(i(t))||b();break;case"rtk-microphone-selector":customElements.get(i(t))||h();break;case"rtk-participant-tile":customElements.get(i(t))||k();break;case"rtk-settings-audio":customElements.get(i(t))||u();break;case"rtk-settings-video":customElements.get(i(t))||g();break;case"rtk-speaker-selector":customElements.get(i(t))||m();break;case"rtk-switch":customElements.get(i(t))||v()}}))}w([c()],f.prototype,"meeting",void 0),w([c()],f.prototype,"states",void 0),w([c()],f.prototype,"iconPack",void 0),w([c()],f.prototype,"t",void 0),x();const y=f,j=x;export{y as RtkSettings,j as defineCustomElement}
|
|
1
|
+
import{p as t,H as r,c as o,h as s,d as a,t as i}from"./p-BBHQOrFK.js";import{e,i as n}from"./p-BthnOddY.js";import{S as c}from"./p-DL4GSZ2e.js";import{d}from"./p-nad0N2DI.js";import{d as l}from"./p-D6vw6bT2.js";import{d as p}from"./p-fEIEB26m.js";import{d as b}from"./p-BYIBbfJ8.js";import{d as h}from"./p-C9KgVl-d.js";import{d as k}from"./p-Bqf3TobZ.js";import{d as u}from"./p-BRPrcA0X.js";import{d as g}from"./p-Bjmpb3KI.js";import{d as m}from"./p-UCR1gRqj.js";import{d as v}from"./p-kwrAj1JQ.js";var w=function(t,r,o,s){var a,i=arguments.length,e=i<3?r:null===s?s=Object.getOwnPropertyDescriptor(r,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,o,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(e=(i<3?a(e):i>3?a(r,o,e):a(r,o))||e);return i>3&&e&&Object.defineProperty(r,o,e),e};const f=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=o(this,"rtkStateUpdate",7),this.keyPressListener=t=>{"Escape"===t.key&&this.close()},this.stageStatusListener=()=>{this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo},this.iconPack=e,this.t=n(),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 s(a,null,s("aside",{class:{hide:this.isMobileMainVisible},part:"menu"},s("header",null,s("h2",null,this.t("settings"))),s("button",{type:"button",class:{active:"audio"===this.activeTab},onClick:()=>this.changeTab("audio")},this.t("audio"),s("div",{class:"right"},s("rtk-icon",{icon:this.iconPack.mic_on}),"sm"===this.size&&s("rtk-icon",{icon:this.iconPack.chevron_right}))),this.canProduceVideo&&s("button",{type:"button",class:{active:"video"===this.activeTab},onClick:()=>this.changeTab("video")},this.t("video"),s("div",{class:"right"},s("rtk-icon",{icon:this.iconPack.video_on}),"sm"===this.size&&s("rtk-icon",{icon:this.iconPack.chevron_right}))),s("button",{type:"none",title:"Your network condition is "+this.networkStatus},this.t("connection"),s("div",{class:"right"},s("rtk-icon",{icon:this.iconPack.wifi,class:this.networkStatus})))),s("main",{class:{active:this.isMobileMainVisible,scrollbar:!0},part:"main-content"},"sm"===this.size&&s("header",null,s("rtk-button",{kind:"icon",class:"back-btn",onClick:()=>this.isMobileMainVisible=!1},s("rtk-icon",{icon:this.iconPack.chevron_left})),s("h2",null,this.t("audio"===this.activeTab?"audio":"video"))),"audio"===this.activeTab&&s("rtk-settings-audio",Object.assign({},t)),"video"===this.activeTab&&s("rtk-settings-video",Object.assign({},t))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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}"}},[1,"rtk-settings",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],activeTab:[32],isMobileMainVisible:[32],networkStatus:[32],canProduceVideo:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function x(){"undefined"!=typeof customElements&&["rtk-settings","rtk-audio-visualizer","rtk-button","rtk-camera-selector","rtk-icon","rtk-microphone-selector","rtk-participant-tile","rtk-settings-audio","rtk-settings-video","rtk-speaker-selector","rtk-switch"].forEach((t=>{switch(t){case"rtk-settings":customElements.get(i(t))||customElements.define(i(t),f);break;case"rtk-audio-visualizer":customElements.get(i(t))||d();break;case"rtk-button":customElements.get(i(t))||l();break;case"rtk-camera-selector":customElements.get(i(t))||p();break;case"rtk-icon":customElements.get(i(t))||b();break;case"rtk-microphone-selector":customElements.get(i(t))||h();break;case"rtk-participant-tile":customElements.get(i(t))||k();break;case"rtk-settings-audio":customElements.get(i(t))||u();break;case"rtk-settings-video":customElements.get(i(t))||g();break;case"rtk-speaker-selector":customElements.get(i(t))||m();break;case"rtk-switch":customElements.get(i(t))||v()}}))}w([c()],f.prototype,"meeting",void 0),w([c()],f.prototype,"states",void 0),w([c()],f.prototype,"iconPack",void 0),w([c()],f.prototype,"t",void 0),x();const y=f,j=x;export{y as RtkSettings,j as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as i,h as r,F as o,d as s,t as a}from"./p-BBHQOrFK.js";import{s as n}from"./p-CJsXePY3.js";import{c,e as l,i as d}from"./p-De8YQHVd.js";import{R as p}from"./p-CBJjerDR.js";import{g as h}from"./p-Dguuxuf6.js";import{S as m}from"./p-CphAED3J.js";import{g as k}from"./p-vBfDtD_u.js";import{d as v}from"./p-D6vw6bT2.js";import{d as u}from"./p-FVFlyS1y.js";import{d as g}from"./p-BYIBbfJ8.js";import{d as b}from"./p-CpOL3OJd.js";import{d as f}from"./p-DP4RUNa1.js";import{d as x}from"./p-BoGbJ5PX.js";var w=function(t,e,i,r){var o,s=arguments.length,a=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(s<3?o(a):s>3?o(e,i,a):o(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};const y=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=i(this,"rtkStateUpdate",7),this.config=c(),this.iconPack=l,this.t=d(),this.isJoining=!1,this.canEditName=!0,this.canProduceAudio=!0,this.socketStateUpdate=({state:t})=>{this.connectionState=t,"connected"===t&&(this.joinError=void 0,this.joinErrorCode=void 0),"failed"===t&&(this.isJoining=!1)},this.join=async()=>{var t,e,i;if(""!==(null===(t=this.displayName)||void 0===t?void 0:t.trim())&&!this.isJoining){if("connected"!==this.connectionState)return void(this.connectionState&&(this.joinError=this.t("failed"===this.connectionState?"network.lost_extended":"network.lost")));this.isJoining=!0,this.joinError=void 0,this.joinErrorCode=void 0,null===(e=this.meeting)||void 0===e||e.self.setName(this.displayName),h.setItem("rtk-display-name",this.displayName);try{await(null===(i=this.meeting)||void 0===i?void 0:i.join())}catch(t){this.isJoining=!1;const{message:e,code:i}=k(this.t,t);this.joinError=e,this.joinErrorCode=i}}}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting.meta.removeListener("socketConnectionUpdate",this.socketStateUpdate)}componentDidLoad(){var t;null===(t=this.inputEl)||void 0===t||t.focus()}meetingChanged(t){var e,i,r;t&&(this.connectionState=null===(e=t.meta.socketState)||void 0===e?void 0:e.state,this.canEditName=null===(i=t.self.permissions.canEditDisplayName)||void 0===i||i,this.displayName=(null===(r=t.self.name)||void 0===r?void 0:r.trim())||(this.canEditName?"":"Participant"),t.meta.addListener("socketConnectionUpdate",this.socketStateUpdate))}render(){var t,e,i,a,c,l;if(!this.meeting)return;const d=!!this.connectionState&&"connected"!==this.connectionState&&!this.joinError,h=this.joinError?this.joinError:this.t("failed"===this.connectionState?"network.lost_extended":"network.lost"),m=""===(null===(t=this.displayName)||void 0===t?void 0:t.trim())||"connected"!==this.connectionState||this.isJoining,k={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},v=null===(a=null===(i=null===(e=this.meeting)||void 0===e?void 0:e.meta)||void 0===i?void 0:i.meetingTitle)||void 0===a?void 0:a.trim();return r(s,null,r("div",{class:"container"},r("div",{class:"container-tile"},r(p,{element:"rtk-participant-tile",defaults:k,props:{participant:null===(c=this.meeting)||void 0===c?void 0:c.self,size:"md",isPreview:!0},childProps:{participant:null===(l=this.meeting)||void 0===l?void 0:l.self,size:"md"},deepProps:!0}),r("div",{class:"media-selectors"},r("rtk-microphone-selector",Object.assign({},k,{variant:"inline"})),r("rtk-camera-selector",Object.assign({},k,{variant:"inline"})),r("rtk-speaker-selector",Object.assign({},k,{variant:"inline"})))),r("div",{class:"metadata"},v&&""!==v&&r("div",{class:"meeting-title"},v),this.canEditName?r(o,null,r("div",{class:"join-as"},this.t("setup_screen.join_in_as")),r("input",{placeholder:this.t("setup_screen.your_name"),value:this.displayName,spellcheck:!1,autoFocus:!0,ref:t=>{this.inputEl=t},onInput:t=>{this.displayName=t.target.value},onKeyDown:t=>{"Enter"===t.key&&this.join()}})):r("div",{class:"uneditable-name"},r("span",{class:"text"},this.t("setup_screen.join_in_as")," ")," ",r("div",{class:"name"},n(this.displayName,20))),r("rtk-button",{size:"lg",kind:"wide",onClick:this.join,disabled:m},this.isJoining?r("rtk-spinner",{iconPack:this.iconPack}):this.t("join")),(this.joinError||d)&&r("div",{class:"no-network-badge",role:"alert"},r("rtk-icon",{size:"md",variant:"danger",icon:this.iconPack.disconnected}),h),this.meeting&&this.joinError&&r("a",{class:"troubleshoot-link",href:"https://test.realtime.cloudflare.com?authToken="+this.meeting.__internals__.authToken,target:"_blank",rel:"noopener noreferrer"},this.t("network.troubleshoot")),this.joinErrorCode&&r("span",{class:"error-code",part:"error-code"},this.t("join.error_code"),": ",this.joinErrorCode))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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;padding:var(--rtk-space-4, 16px);height:100%;min-height:100%;width:100%;display:flex;place-items:center;justify-content:center;--rtk-controlbar-button-background-color:rgb(var(--rtk-colors-background-700, 44 44 44))}.container{width:100%;max-width:1080px;display:flex;align-items:center;justify-content:space-evenly;gap:var(--rtk-space-4, 16px)}.container-tile{display:flex;height:100%;width:100%;max-width:584px;flex-direction:column;gap:var(--rtk-space-2, 8px)}.metadata{display:flex;width:100%;max-width:var(--rtk-space-80, 320px);flex-direction:column;align-items:center;text-align:center}.meeting-title{margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:24px;font-weight:500}.join-as{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:16px;letter-spacing:-0.025em;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.uneditable-name{margin-bottom:var(--rtk-space-6, 24px)}.uneditable-name .text,.uneditable-name .name{display:inline-block}.uneditable-name .name{font-size:16px;font-weight:500}input{margin-bottom:var(--rtk-space-6, 24px);display:block;height:var(--rtk-space-10, 40px);width:100%;max-width:var(--rtk-space-80, 320px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));box-sizing:border-box;font-size:16px;outline:2px solid transparent;outline-offset:2px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}input::-moz-placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input::placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}input:focus{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity))}rtk-spinner{color:rgb(var(--rtk-colors-text-1000, 255 255 255));--icon-size:var(--rtk-space-8, 32px)}:host([size='sm']) .container,:host([size='md']) .container{height:100%;flex-direction:column;justify-content:space-evenly}:host([size='sm']) .container-tile,:host([size='md']) .container-tile{height:-moz-min-content;height:min-content;flex-direction:column;justify-content:center}rtk-participant-tile{height:auto;width:100%;max-width:584px}.media-selectors{display:flex;flex-direction:column;justify-content:space-between}.media-selectors .row{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr))}.no-network-badge{margin-top:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:row;align-items:center;justify-content:flex-start;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);font-size:12px;color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.75)}.no-network-badge rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px)}.troubleshoot-link{margin-top:var(--rtk-space-1, 4px);font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));text-decoration-line:underline;text-underline-offset:2px}.troubleshoot-link:hover{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.error-code{margin-top:var(--rtk-space-1, 4px);font-size:10px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}"}},[1,"rtk-setup-screen",{meeting:[16],states:[16],size:[513],config:[16],iconPack:[16],t:[16],displayName:[32],isJoining:[32],joinError:[32],joinErrorCode:[32],canEditName:[32],canProduceAudio:[32],connectionState:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function j(){"undefined"!=typeof customElements&&["rtk-setup-screen","rtk-button","rtk-camera-selector","rtk-icon","rtk-microphone-selector","rtk-speaker-selector","rtk-spinner"].forEach((t=>{switch(t){case"rtk-setup-screen":customElements.get(a(t))||customElements.define(a(t),y);break;case"rtk-button":customElements.get(a(t))||v();break;case"rtk-camera-selector":customElements.get(a(t))||u();break;case"rtk-icon":customElements.get(a(t))||g();break;case"rtk-microphone-selector":customElements.get(a(t))||b();break;case"rtk-speaker-selector":customElements.get(a(t))||f();break;case"rtk-spinner":customElements.get(a(t))||x()}}))}w([m()],y.prototype,"meeting",void 0),w([m()],y.prototype,"states",void 0),w([m()],y.prototype,"config",void 0),w([m()],y.prototype,"iconPack",void 0),w([m()],y.prototype,"t",void 0),j();const z=y,E=j;export{z as RtkSetupScreen,E as defineCustomElement}
|
|
1
|
+
import{p as t,H as e,c as i,h as r,F as o,d as s,t as a}from"./p-BBHQOrFK.js";import{s as n}from"./p-CJsXePY3.js";import{c,e as l,i as d}from"./p-BthnOddY.js";import{R as p}from"./p-CBJjerDR.js";import{g as h}from"./p-Dguuxuf6.js";import{S as m}from"./p-DL4GSZ2e.js";import{g as k}from"./p-vBfDtD_u.js";import{d as v}from"./p-D6vw6bT2.js";import{d as u}from"./p-fEIEB26m.js";import{d as g}from"./p-BYIBbfJ8.js";import{d as b}from"./p-C9KgVl-d.js";import{d as f}from"./p-UCR1gRqj.js";import{d as x}from"./p-DXSMSSbW.js";var w=function(t,e,i,r){var o,s=arguments.length,a=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(s<3?o(a):s>3?o(e,i,a):o(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};const y=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=i(this,"rtkStateUpdate",7),this.config=c(),this.iconPack=l,this.t=d(),this.isJoining=!1,this.canEditName=!0,this.canProduceAudio=!0,this.socketStateUpdate=({state:t})=>{this.connectionState=t,"connected"===t&&(this.joinError=void 0,this.joinErrorCode=void 0),"failed"===t&&(this.isJoining=!1)},this.join=async()=>{var t,e,i;if(""!==(null===(t=this.displayName)||void 0===t?void 0:t.trim())&&!this.isJoining){if("connected"!==this.connectionState)return void(this.connectionState&&(this.joinError=this.t("failed"===this.connectionState?"network.lost_extended":"network.lost")));this.isJoining=!0,this.joinError=void 0,this.joinErrorCode=void 0,null===(e=this.meeting)||void 0===e||e.self.setName(this.displayName),h.setItem("rtk-display-name",this.displayName);try{await(null===(i=this.meeting)||void 0===i?void 0:i.join())}catch(t){this.isJoining=!1;const{message:e,code:i}=k(this.t,t);this.joinError=e,this.joinErrorCode=i}}}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting.meta.removeListener("socketConnectionUpdate",this.socketStateUpdate)}componentDidLoad(){var t;null===(t=this.inputEl)||void 0===t||t.focus()}meetingChanged(t){var e,i,r;t&&(this.connectionState=null===(e=t.meta.socketState)||void 0===e?void 0:e.state,this.canEditName=null===(i=t.self.permissions.canEditDisplayName)||void 0===i||i,this.displayName=(null===(r=t.self.name)||void 0===r?void 0:r.trim())||(this.canEditName?"":"Participant"),t.meta.addListener("socketConnectionUpdate",this.socketStateUpdate))}render(){var t,e,i,a,c,l;if(!this.meeting)return;const d=!!this.connectionState&&"connected"!==this.connectionState&&!this.joinError,h=this.joinError?this.joinError:this.t("failed"===this.connectionState?"network.lost_extended":"network.lost"),m=""===(null===(t=this.displayName)||void 0===t?void 0:t.trim())||"connected"!==this.connectionState||this.isJoining,k={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},v=null===(a=null===(i=null===(e=this.meeting)||void 0===e?void 0:e.meta)||void 0===i?void 0:i.meetingTitle)||void 0===a?void 0:a.trim();return r(s,null,r("div",{class:"container"},r("div",{class:"container-tile"},r(p,{element:"rtk-participant-tile",defaults:k,props:{participant:null===(c=this.meeting)||void 0===c?void 0:c.self,size:"md",isPreview:!0},childProps:{participant:null===(l=this.meeting)||void 0===l?void 0:l.self,size:"md"},deepProps:!0}),r("div",{class:"media-selectors"},r("rtk-microphone-selector",Object.assign({},k,{variant:"inline"})),r("rtk-camera-selector",Object.assign({},k,{variant:"inline"})),r("rtk-speaker-selector",Object.assign({},k,{variant:"inline"})))),r("div",{class:"metadata"},v&&""!==v&&r("div",{class:"meeting-title"},v),this.canEditName?r(o,null,r("div",{class:"join-as"},this.t("setup_screen.join_in_as")),r("input",{placeholder:this.t("setup_screen.your_name"),value:this.displayName,spellcheck:!1,autoFocus:!0,ref:t=>{this.inputEl=t},onInput:t=>{this.displayName=t.target.value},onKeyDown:t=>{"Enter"===t.key&&this.join()}})):r("div",{class:"uneditable-name"},r("span",{class:"text"},this.t("setup_screen.join_in_as")," ")," ",r("div",{class:"name"},n(this.displayName,20))),r("rtk-button",{size:"lg",kind:"wide",onClick:this.join,disabled:m},this.isJoining?r("rtk-spinner",{iconPack:this.iconPack}):this.t("join")),(this.joinError||d)&&r("div",{class:"no-network-badge",role:"alert"},r("rtk-icon",{size:"md",variant:"danger",icon:this.iconPack.disconnected}),h),this.meeting&&this.joinError&&r("a",{class:"troubleshoot-link",href:"https://test.realtime.cloudflare.com?authToken="+this.meeting.__internals__.authToken,target:"_blank",rel:"noopener noreferrer"},this.t("network.troubleshoot")),this.joinErrorCode&&r("span",{class:"error-code",part:"error-code"},this.t("join.error_code"),": ",this.joinErrorCode))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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;padding:var(--rtk-space-4, 16px);height:100%;min-height:100%;width:100%;display:flex;place-items:center;justify-content:center;--rtk-controlbar-button-background-color:rgb(var(--rtk-colors-background-700, 44 44 44))}.container{width:100%;max-width:1080px;display:flex;align-items:center;justify-content:space-evenly;gap:var(--rtk-space-4, 16px)}.container-tile{display:flex;height:100%;width:100%;max-width:584px;flex-direction:column;gap:var(--rtk-space-2, 8px)}.metadata{display:flex;width:100%;max-width:var(--rtk-space-80, 320px);flex-direction:column;align-items:center;text-align:center}.meeting-title{margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:24px;font-weight:500}.join-as{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:16px;letter-spacing:-0.025em;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.uneditable-name{margin-bottom:var(--rtk-space-6, 24px)}.uneditable-name .text,.uneditable-name .name{display:inline-block}.uneditable-name .name{font-size:16px;font-weight:500}input{margin-bottom:var(--rtk-space-6, 24px);display:block;height:var(--rtk-space-10, 40px);width:100%;max-width:var(--rtk-space-80, 320px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));box-sizing:border-box;font-size:16px;outline:2px solid transparent;outline-offset:2px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}input::-moz-placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input::placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}input{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}input:focus{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity))}rtk-spinner{color:rgb(var(--rtk-colors-text-1000, 255 255 255));--icon-size:var(--rtk-space-8, 32px)}:host([size='sm']) .container,:host([size='md']) .container{height:100%;flex-direction:column;justify-content:space-evenly}:host([size='sm']) .container-tile,:host([size='md']) .container-tile{height:-moz-min-content;height:min-content;flex-direction:column;justify-content:center}rtk-participant-tile{height:auto;width:100%;max-width:584px}.media-selectors{display:flex;flex-direction:column;justify-content:space-between}.media-selectors .row{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr))}.no-network-badge{margin-top:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:row;align-items:center;justify-content:flex-start;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);font-size:12px;color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.75)}.no-network-badge rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px)}.troubleshoot-link{margin-top:var(--rtk-space-1, 4px);font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));text-decoration-line:underline;text-underline-offset:2px}.troubleshoot-link:hover{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.error-code{margin-top:var(--rtk-space-1, 4px);font-size:10px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}"}},[1,"rtk-setup-screen",{meeting:[16],states:[16],size:[513],config:[16],iconPack:[16],t:[16],displayName:[32],isJoining:[32],joinError:[32],joinErrorCode:[32],canEditName:[32],canProduceAudio:[32],connectionState:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function j(){"undefined"!=typeof customElements&&["rtk-setup-screen","rtk-button","rtk-camera-selector","rtk-icon","rtk-microphone-selector","rtk-speaker-selector","rtk-spinner"].forEach((t=>{switch(t){case"rtk-setup-screen":customElements.get(a(t))||customElements.define(a(t),y);break;case"rtk-button":customElements.get(a(t))||v();break;case"rtk-camera-selector":customElements.get(a(t))||u();break;case"rtk-icon":customElements.get(a(t))||g();break;case"rtk-microphone-selector":customElements.get(a(t))||b();break;case"rtk-speaker-selector":customElements.get(a(t))||f();break;case"rtk-spinner":customElements.get(a(t))||x()}}))}w([m()],y.prototype,"meeting",void 0),w([m()],y.prototype,"states",void 0),w([m()],y.prototype,"config",void 0),w([m()],y.prototype,"iconPack",void 0),w([m()],y.prototype,"t",void 0),j();const z=y,E=j;export{z as RtkSetupScreen,E as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-D_tCWiMP.js";const t=o,p=s;export{t as RtkSidebarUi,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as s,c as i,h as a,d as e,t as r}from"./p-BBHQOrFK.js";import{c as o,e as n,i as l}from"./p-
|
|
1
|
+
import{p as t,H as s,c as i,h as a,d as e,t as r}from"./p-BBHQOrFK.js";import{c as o,e as n,i as l}from"./p-BthnOddY.js";import{c,d as p,a as h,b as d,e as m}from"./p-D9HGXWKc.js";import{S as k}from"./p-DL4GSZ2e.js";import{R as u}from"./p-CBJjerDR.js";import{d as b}from"./p-Dy1vyj0N.js";import{d as v}from"./p-DcBUj_Ju.js";import{d as g}from"./p-D6vw6bT2.js";import{d as f}from"./p-BYIBbfJ8.js";import{d as w}from"./p-oNFda96T.js";import{d as x}from"./p-DfGTdsn0.js";import{d as j}from"./p-Chf25Wxh.js";import{d as C}from"./p-BbtnaCk4.js";import{d as y}from"./p-D_tCWiMP.js";import{d as E}from"./p-DHSRRtn3.js";var S=function(t,s,i,a){var e,r=arguments.length,o=r<3?s:null===a?a=Object.getOwnPropertyDescriptor(s,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,i,a);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(o=(r<3?e(o):r>3?e(s,i,o):e(s,i))||o);return r>3&&o&&Object.defineProperty(s,i,o),o};const D=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=i(this,"rtkStateUpdate",7),this.enabledSections=[],this.defaultSection="chat",this.config=o(),this.iconPack=n,this.t=l(),this.view="sidebar",this.currentTab=this.defaultSection,this.isFloating=!1,this.enablePinning=!0,this.getTabs=()=>this.meeting.self.config?this.enabledSections.filter((t=>!(t.id in this.meeting.self.config.controlBar.elements)||this.meeting.self.config.controlBar.elements[t.id])):this.enabledSections,this.close=()=>{this.stateUpdate.emit({activeSidebar:!1,sidebar:this.defaultSection})},this.toggleFloating=()=>{this.isFloating=!this.isFloating}}connectedCallback(){var t;this.viewChanged(this.view),this.statesChanged(this.states),this.meetingChanged(this.meeting),this.isFloating=(null===(t=this.states)||void 0===t?void 0:t.sidebarFloating)||!1}disconnectedCallback(){var t,s;null===(s=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===s||s.removeListener("stageStatusUpdate",this.onStageStatusUpdate),this.onStageStatusUpdate=null}meetingChanged(t){var s,i;t&&(this.updateEnabledSections(t),this.onStageStatusUpdate=()=>{this.updateEnabledSections(this.meeting)},null===(i=null===(s=this.meeting)||void 0===s?void 0:s.stage)||void 0===i||i.on("stageStatusUpdate",this.onStageStatusUpdate))}statesChanged(t){(null==t?void 0:t.sidebar)&&(this.currentTab=t.sidebar)}viewChanged(t){this.enablePinning="full-screen"!==t}viewSection(t){this.currentTab=t,this.stateUpdate.emit({activeSidebar:!0,sidebar:this.currentTab})}updateEnabledSections(t=this.meeting){const s=[];c(t)&&s.push({id:"chat",name:this.t("chat")}),p(t)&&s.push({id:"polls",name:this.t("polls")}),h(t)&&s.push({id:"participants",name:this.t("participants")}),d(t)&&s.push({id:"plugins",name:this.t("plugins")}),m(t)&&s.push({id:"ai",name:this.t("ai.meeting_ai")}),this.enabledSections=s}render(){var t;if(!this.meeting)return null;const s={meeting:this.meeting,config:this.config,states:this.states,size:this.size,t:this.t,iconPack:this.iconPack};return!1!==(null===(t=s.states)||void 0===t?void 0:t.activeSidebar)&&this.currentTab?a(e,{class:this.enablePinning?this.isFloating?"floating":"":"floating"},a("rtk-sidebar-ui",{tabs:this.getTabs(),currentTab:this.currentTab,view:this.view,onTabChange:t=>{this.viewSection(t.detail)},onSidebarClose:this.close},this.enablePinning&&a("div",{class:"pinned-state",slot:"pinned-state"},a("rtk-button",{variant:"ghost",kind:"icon",onClick:this.toggleFloating,"aria-label":this.t(this.isFloating?"pin":"unpin")},a("rtk-icon",{icon:this.isFloating?this.iconPack.pin:this.iconPack.pin_off}))),"chat"===s.states.sidebar&&a(u,{element:"rtk-chat",defaults:s,props:{slot:"chat"}}),"polls"===s.states.sidebar&&a("rtk-polls",Object.assign({},s,{slot:"polls"})),"participants"===s.states.sidebar&&a(u,{element:"rtk-participants",defaults:s,props:{slot:"participants"}}),"plugins"===s.states.sidebar&&a("rtk-plugins",Object.assign({},s,{slot:"plugins"})),"ai"===s.states.sidebar&&a("rtk-ai",Object.assign({},s,{slot:"ai"})))):null}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],view:[{viewChanged:0}]}}static get style(){return":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{margin-right:var(--rtk-space-0, 0px);height:100%;width:100%;max-width:var(--rtk-space-96, 384px);box-sizing:border-box;display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));border-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-border-opacity))}:host([view='sidebar']){right:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-4, 16px);overflow:clip;border-radius:var(--rtk-border-radius-lg, 12px);--tw-shadow:0 25px 50px -12px rgb(0 0 0 / 0.25);--tw-shadow-colored:0 25px 50px -12px 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-900, 26 26 26));--tw-shadow:var(--tw-shadow-colored)}:host([view='full-screen']){top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);max-width:100%}:host(.floating){position:absolute !important;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);left:auto;z-index:50}.pinned-state{position:absolute;right:var(--rtk-space-1, 4px);display:inline-flex;width:var(--rtk-space-2, 8px);justify-content:flex-end}"}},[1,"rtk-sidebar",{enabledSections:[1040],defaultSection:[1,"default-section"],meeting:[16],states:[16],config:[16],iconPack:[16],t:[16],size:[513],view:[513],currentTab:[32],isFloating:[32],enablePinning:[32]},void 0,{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],view:[{viewChanged:0}]}]);function B(){"undefined"!=typeof customElements&&["rtk-sidebar","rtk-ai","rtk-ai-transcriptions","rtk-button","rtk-icon","rtk-plugins","rtk-poll","rtk-poll-form","rtk-polls","rtk-sidebar-ui","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-sidebar":customElements.get(r(t))||customElements.define(r(t),D);break;case"rtk-ai":customElements.get(r(t))||b();break;case"rtk-ai-transcriptions":customElements.get(r(t))||v();break;case"rtk-button":customElements.get(r(t))||g();break;case"rtk-icon":customElements.get(r(t))||f();break;case"rtk-plugins":customElements.get(r(t))||w();break;case"rtk-poll":customElements.get(r(t))||x();break;case"rtk-poll-form":customElements.get(r(t))||j();break;case"rtk-polls":customElements.get(r(t))||C();break;case"rtk-sidebar-ui":customElements.get(r(t))||y();break;case"rtk-tooltip":customElements.get(r(t))||E()}}))}S([k()],D.prototype,"meeting",void 0),S([k()],D.prototype,"states",void 0),S([k()],D.prototype,"config",void 0),S([k()],D.prototype,"iconPack",void 0),S([k()],D.prototype,"t",void 0),B();const O=D,R=B;export{O as RtkSidebar,R as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as i,h as e,d as s,t as n}from"./p-BBHQOrFK.js";import{c as o,e as a,i as r}from"./p-
|
|
1
|
+
import{p as t,H as i,h as e,d as s,t as n}from"./p-BBHQOrFK.js";import{c as o,e as a,i as r}from"./p-BthnOddY.js";import{R as h}from"./p-CBJjerDR.js";import{u as c}from"./p-CmmyVCoN.js";import{i as p}from"./p-FdeAvICb.js";import{S as l}from"./p-DL4GSZ2e.js";var d=function(t,i,e,s){var n,o=arguments.length,a=o<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,s);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(a=(o<3?n(a):o>3?n(i,e,a):n(i,e))||a);return o>3&&a&&Object.defineProperty(i,e,a),a};const m=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.participants=[],this.aspectRatio="16:9",this.gap=8,this.config=o(),this.iconPack=a,this.t=r(),this.dimensions={width:0,height:0},this.setHostDimensions=()=>{const{clientWidth:t,clientHeight:i}=this.host;this.dimensions={width:t,height:i}}}connectedCallback(){this.resizeObserver=new p(this.setHostDimensions),this.resizeObserver.observe(this.host),this.meetingChanged(this.meeting)}meetingChanged(t){const i=null==t?void 0:t.meta;i&&(this.mediaConnection=Object.assign({},i.mediaState))}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){if(!this.meeting)return null;const t={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},{width:i,height:n,getPosition:o}=c({dimensions:this.dimensions,count:this.participants.length,aspectRatio:this.aspectRatio,gap:this.gap});return e(s,null,e("slot",null,this.participants.map(((s,a)=>{const{top:r,left:c}=o(a);return e(h,{element:"rtk-participant-tile",defaults:t,props:{participant:s,style:{position:"absolute",top:r+"px",left:c+"px",width:i+"px",height:n+"px"},key:s.id,"data-participant":s.id,mediaConnection:this.mediaConnection},childProps:{participant:s},deepProps:!0})}))))}get host(){return this}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block;height:100%;width:100%}"}},[257,"rtk-simple-grid",{participants:[16],aspectRatio:[1,"aspect-ratio"],gap:[2],size:[513],meeting:[16],states:[16],config:[16],iconPack:[16],t:[16],dimensions:[32],mediaConnection:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function g(){"undefined"!=typeof customElements&&["rtk-simple-grid"].forEach((t=>{"rtk-simple-grid"===t&&(customElements.get(n(t))||customElements.define(n(t),m))}))}d([l()],m.prototype,"meeting",void 0),d([l()],m.prototype,"states",void 0),d([l()],m.prototype,"config",void 0),d([l()],m.prototype,"iconPack",void 0),d([l()],m.prototype,"t",void 0),g();const f=m,u=g;export{f as RtkSimpleGrid,u as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-UCR1gRqj.js";const p=o,r=s;export{p as RtkSpeakerSelector,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-DXSMSSbW.js";const p=o,r=s;export{p as RtkSpinner,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as i,h as s,d as e,t as d}from"./p-BBHQOrFK.js";import{c as h,e as a,i as r}from"./p-
|
|
1
|
+
import{p as t,H as i,h as s,d as e,t as d}from"./p-BBHQOrFK.js";import{c as h,e as a,i as r}from"./p-BthnOddY.js";import{d as o}from"./p-CmmyVCoN.js";import{R as m}from"./p-CBJjerDR.js";import{S as n}from"./p-DL4GSZ2e.js";var c=function(t,i,s,e){var d,h=arguments.length,a=h<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(d=t[r])&&(a=(h<3?d(a):h>3?d(i,s,a):d(i,s))||a);return h>3&&a&&Object.defineProperty(i,s,a),a};const p=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.layout="row",this.participants=[],this.pinnedParticipants=[],this.aspectRatio="16:9",this.gap=8,this.config=h(),this.iconPack=a,this.t=r(),this.gridSize=o,this.getAdaptiveSize=t=>"sm"===this.size||t>3||"md"===this.size?"sm":"md"}render(){const t={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},i=this.participants.filter((t=>this.pinnedParticipants.some((i=>i.id!=t.id))));return s(e,{key:"1cb846cc92b660a8244d16a74f48dfadcef903b6"},s("main",{key:"8564f8b0bf6e7bd668132e2833fe73c73855d090",part:"main"},s(m,{key:"61b96f305727dc74de15f4c3c645069d6300afd9",element:"rtk-simple-grid",defaults:t,props:{part:"main-grid",participants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(this.pinnedParticipants.length)}})),i.length>0&&s("aside",{key:"2e297a8d83c1f7241d8688b643c055331d69299b",part:"aside",class:this.gridSize.spotlight?"grid-width-"+this.gridSize.spotlight:"grid-width-md"},s(m,{key:"2c1969c610018dfb0a23308316f072e3b8d87a6e",element:"rtk-simple-grid",defaults:t,props:{part:"aside-grid",participants:i,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(i.length)}})))}get host(){return this}static get style(){return":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:flex;height:100%;width:100%}main{flex:1 1 0%}.grid-width-sm{width:25%}.grid-width-md{width:50%}.grid-width-lg{width:66.666667%}:host([size='sm']),:host([size='md']){flex-direction:column}:host([size='md']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='md']) .grid-width-sm{height:25%}:host([size='md']) .grid-width-md{height:50%}:host([size='md']) .grid-width-lg{height:66.666667%}:host([size='sm']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='sm']) .grid-width-sm,:host([size='sm']) .grid-width-md,:host([size='sm']) .grid-width-lg{height:50%}:host([size='xl']) .grid-width-sm,:host([size='xl']) .grid-width-md,:host([size='xl']) .grid-width-lg{width:400px}:host([layout='column']){flex-direction:column}:host([layout='column']) main{flex:4}:host([layout='column']) aside{flex:2;max-width:100%;width:100%}"}},[1,"rtk-spotlight-grid",{layout:[513],participants:[16],pinnedParticipants:[16],aspectRatio:[1,"aspect-ratio"],gap:[2],size:[513],meeting:[16],states:[16],config:[16],iconPack:[16],t:[16],gridSize:[16]}]);function g(){"undefined"!=typeof customElements&&["rtk-spotlight-grid"].forEach((t=>{"rtk-spotlight-grid"===t&&(customElements.get(d(t))||customElements.define(d(t),p))}))}c([n()],p.prototype,"meeting",void 0),c([n()],p.prototype,"states",void 0),c([n()],p.prototype,"config",void 0),c([n()],p.prototype,"iconPack",void 0),c([n()],p.prototype,"t",void 0),g();const l=p,f=g;export{l as RtkSpotlightGrid,f as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-CSO-O3S1.js";const p=o,r=s;export{p as RtkSpotlightIndicator,r as defineCustomElement}
|