@cloudflare/realtimekit-ui 2.2.0-staging.4 → 2.2.0-staging.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/{TextMessage-C_OMdhOv.js → TextMessage-C4d86cID.js} +1 -1
- package/dist/cjs/{chat-2G70V8h1.js → chat-_Z7QVSxx.js} +1 -1
- package/dist/cjs/{config-DNVD4for.js → config-C9cIVa2D.js} +5 -11
- package/dist/cjs/{debounce-CZxcmrOw.js → debounce-BaLnYFmQ.js} +1 -1
- package/dist/cjs/{index-bphCu7Kc.js → index-CSL0ebii.js} +1 -1
- package/dist/cjs/index.cjs.js +18 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{ui-kit-metadata-Db62SilF.js → merge-B4v4sEV3.js} +1 -290
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-visualizer_3.cjs.entry.js +5 -6
- package/dist/cjs/rtk-avatar_26.cjs.entry.js +10 -9
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-breakout-rooms-manager_8.cjs.entry.js +2 -2
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger.cjs.entry.js +2 -2
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
- package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +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 +4 -5
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-notification.cjs.entry.js +8 -6
- package/dist/cjs/rtk-notifications.cjs.entry.js +195 -205
- package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +3 -4
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +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-switch.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 +6 -5
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
- package/dist/cjs/ui-kit-metadata-BjBLJPVs.js +291 -0
- package/dist/cjs/{ui-store-XdzekVqK.js → ui-store-XQk2zaMR.js} +221 -8
- package/dist/collection/components/rtk-ai/rtk-ai.js +1 -1
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +1 -1
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +1 -1
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +1 -1
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +1 -1
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +1 -1
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +1 -1
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +1 -1
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +1 -1
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +1 -1
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +1 -1
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +1 -1
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +1 -1
- package/dist/collection/components/rtk-chat/rtk-chat.js +1 -1
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +1 -1
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +1 -1
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +1 -1
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +1 -1
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +1 -1
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +1 -1
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +1 -1
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
- package/dist/collection/components/rtk-counter/rtk-counter.js +1 -1
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +1 -1
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +1 -1
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +1 -1
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +1 -1
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +1 -1
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +1 -1
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +1 -1
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +1 -1
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +1 -1
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +1 -1
- package/dist/collection/components/rtk-grid/rtk-grid.js +1 -1
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +1 -1
- package/dist/collection/components/rtk-header/rtk-header.js +1 -1
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +1 -1
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +1 -1
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +1 -1
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +1 -1
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +1 -1
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +1 -1
- package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +1 -1
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +1 -1
- package/dist/collection/components/rtk-menu/rtk-menu.js +1 -1
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +1 -1
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +1 -1
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +1 -1
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +1 -1
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +1 -1
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +1 -1
- package/dist/collection/components/rtk-notification/rtk-notification.js +5 -3
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +194 -166
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +1 -1
- package/dist/collection/components/rtk-participant/rtk-participant.js +1 -1
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +1 -1
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +1 -1
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +1 -1
- package/dist/collection/components/rtk-participants/rtk-participants.js +1 -1
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +1 -1
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +1 -1
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +1 -1
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +1 -1
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
- package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +1 -1
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +1 -1
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +1 -1
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +1 -1
- package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +1 -1
- package/dist/collection/components/rtk-polls/rtk-polls.js +1 -1
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +1 -1
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +1 -1
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +1 -1
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.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/default-ui-config.js +2 -8
- package/dist/collection/lib/lang/default-language.js +2 -0
- package/dist/collection/lib/notification.js +56 -2
- package/dist/collection/types/ui-config/config.js +101 -13
- package/dist/collection/utils/config.js +3 -8
- package/dist/collection/utils/notification.js +12 -3
- package/dist/collection/utils/ui-kit-metadata.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-Dft337Ll.js → p-0DTiM_we.js} +1 -1
- package/dist/components/{p-DxWuP9W-.js → p-1C_TdKq0.js} +1 -1
- package/dist/components/{p-CX0Xm7nC.js → p-1J7p9yTO.js} +1 -1
- package/dist/components/{p-woxb-Bmm.js → p-453sV-Ir.js} +1 -1
- package/dist/components/{p-DQpLF7Tl.js → p-6A_cBfi7.js} +1 -1
- package/dist/components/{p-FJMslKrI.js → p-B-L_tmky.js} +1 -1
- package/dist/components/{p-W6qOF1ab.js → p-B5e4-Gnb.js} +1 -1
- package/dist/components/{p-DTlvGHSC.js → p-B7ZjIFa-.js} +1 -1
- package/dist/components/{p-BIkikWuB.js → p-B8xh8FL-.js} +1 -1
- package/dist/components/{p-BMEVA63X.js → p-BDmVHB8l.js} +1 -1
- package/dist/components/{p-DeQvmRpj.js → p-BJ7Hcvk1.js} +1 -1
- package/dist/components/p-BLyVHBPm.js +1 -0
- package/dist/components/{p-CkAYE3S8.js → p-BQ-x6_xE.js} +1 -1
- package/dist/components/{p-CudchGV-.js → p-BY_hQMNu.js} +1 -1
- package/dist/components/{p-CNRlJgcv.js → p-BaCQqa-Q.js} +1 -1
- package/dist/components/p-BbVYO_6g.js +1 -0
- package/dist/components/{p-CCcFJzS9.js → p-BbdR8jiw.js} +1 -1
- package/dist/components/{p-lUHVcFOY.js → p-Bhp9Zffa.js} +1 -1
- package/dist/components/{p-DR4HIK_J.js → p-BkWaCvJV.js} +1 -1
- package/dist/components/{p-DT1PR6Br.js → p-BmjopjI3.js} +1 -1
- package/dist/components/{p-BrWD_P9J.js → p-Bo1ku_2a.js} +1 -1
- package/dist/components/{p-CjnaOcqP.js → p-BowkkEiR.js} +1 -1
- package/dist/components/p-BtMpJ0mM.js +1 -0
- package/dist/components/{p-CuQOcbEk.js → p-BwnnHi0H.js} +1 -1
- package/dist/components/{p-C78m8FSo.js → p-BwpYVCMj.js} +1 -1
- package/dist/components/{p-SuJdlCN6.js → p-Bxt73ql2.js} +1 -1
- package/dist/components/{p-DTcPOR7t.js → p-C-Jht7Ou.js} +1 -1
- package/dist/components/{p-C7kzxj2U.js → p-C7qQzBOW.js} +1 -1
- package/dist/components/{p-CjAIMy9F.js → p-CFL-ALsL.js} +1 -1
- package/dist/components/{p-16s5ZSAZ.js → p-CNJG60uZ.js} +1 -1
- package/dist/components/{p-D3hW0Kbk.js → p-CNY9L4u1.js} +1 -1
- package/dist/components/{p-CSQnL_EP.js → p-CP4anCBG.js} +1 -1
- package/dist/components/{p-DGf0eDeq.js → p-CQa16w_c.js} +1 -1
- package/dist/components/{p-BxJT0iOj.js → p-CSW-it45.js} +1 -1
- package/dist/components/{p-DYpMIlQ4.js → p-CVy_5Tvb.js} +1 -1
- package/dist/components/{p-D7C_eMze.js → p-CY6CL9kK.js} +1 -1
- package/dist/components/{p-De3mM3M-.js → p-C_fSXjwp.js} +1 -1
- package/dist/components/{p-Bev5JWZ0.js → p-Cb3kcQH8.js} +1 -1
- package/dist/components/{p-BxM6yQDX.js → p-CjID2TEf.js} +1 -1
- package/dist/components/{p-wCbKvvTJ.js → p-CjNPU4tr.js} +1 -1
- package/dist/components/{p-H0SF5wed.js → p-CoiejzBd.js} +1 -1
- package/dist/components/{p-BDZmvSZ5.js → p-CpLLOHOq.js} +1 -1
- package/dist/components/p-CsFRsJd2.js +1 -0
- package/dist/components/{p-CSdpb5b3.js → p-CsTjOsQ7.js} +1 -1
- package/dist/components/{p-DstiJHuo.js → p-CsY7NAuq.js} +1 -1
- package/dist/components/{p-D00_ZaOw.js → p-CshWFMrN.js} +1 -1
- package/dist/components/{p-pOJlVled.js → p-D1dX_iSl.js} +1 -1
- package/dist/components/{p-p_mTGyE6.js → p-D1ihibWt.js} +1 -1
- package/dist/components/{p-DzU0ms1z.js → p-D3S9CkeA.js} +1 -1
- package/dist/components/{p-CBBiuExR.js → p-D5NZi5H5.js} +1 -1
- package/dist/components/{p-EcdS-L-q.js → p-D6u-SXpn.js} +1 -1
- package/dist/components/{p-BWM_mzxz.js → p-D8OMvJbR.js} +1 -1
- package/dist/components/p-DIblgdpF.js +1 -0
- package/dist/components/{p-reX4rZOi.js → p-DLWL-o6Z.js} +1 -1
- package/dist/components/{p-BpMexaGX.js → p-DRa-BDek.js} +1 -1
- package/dist/components/{p-CAePd-oD.js → p-DW2Js6u1.js} +1 -1
- package/dist/components/p-DWYKl0rg.js +1 -0
- package/dist/components/{p-CT1iNAdo.js → p-DWgMo0uM.js} +1 -1
- package/dist/components/{p-TzHbL-Yw.js → p-D_HYgg0D.js} +1 -1
- package/dist/components/{p-Dvobsim-.js → p-D_Zth43B.js} +1 -1
- package/dist/components/{p-CddkXbJO.js → p-DcGAhFPL.js} +1 -1
- package/dist/components/{p-Qr0iq3rP.js → p-DiO4NkoA.js} +1 -1
- package/dist/components/{p-DDXAdlei.js → p-DtCdkVUQ.js} +1 -1
- package/dist/components/{p-BOs3IQB-.js → p-DuB7bImP.js} +1 -1
- package/dist/components/{p-B2HJVmyW.js → p-DuheZw1w.js} +1 -1
- package/dist/components/{p-BX-q0U6y.js → p-DwHaSUu3.js} +1 -1
- package/dist/components/{p-IIcKCSrk.js → p-DxynE7R4.js} +1 -1
- package/dist/components/p-Dy7c6clK.js +1 -0
- package/dist/components/{p-w39VkrD-.js → p-FI--hA8I.js} +1 -1
- package/dist/components/{p-bf44p3D-.js → p-K3aT9e86.js} +1 -1
- package/dist/components/{p-qzUtJdPs.js → p-LlsVAS7r.js} +1 -1
- package/dist/components/{p-BDBQ3yNX.js → p-R3NB2Rxd.js} +1 -1
- package/dist/components/{p-CuXI1Bo9.js → p-SJeISbFm.js} +1 -1
- package/dist/components/{p-TVGlb-lM.js → p-aAhxhPu6.js} +1 -1
- package/dist/components/{p-DCxpDhJk.js → p-ralyxXdZ.js} +1 -1
- package/dist/components/{p-Jrghj_Rb.js → p-sG2nShz-.js} +1 -1
- package/dist/components/{p-C27_nsxU.js → p-w2nCsug-.js} +1 -1
- package/dist/components/rtk-ai-toggle.js +1 -1
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +1 -1
- package/dist/components/rtk-audio-grid.js +1 -1
- package/dist/components/rtk-audio-tile.js +1 -1
- package/dist/components/rtk-audio-visualizer.js +1 -1
- package/dist/components/rtk-avatar.js +1 -1
- package/dist/components/rtk-breakout-room-manager.js +1 -1
- package/dist/components/rtk-breakout-room-participants.js +1 -1
- package/dist/components/rtk-breakout-rooms-manager.js +1 -1
- package/dist/components/rtk-breakout-rooms-toggle.js +1 -1
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-camera-selector.js +1 -1
- package/dist/components/rtk-camera-toggle.js +1 -1
- package/dist/components/rtk-caption-toggle.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +1 -1
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-header.js +1 -1
- package/dist/components/rtk-chat-message.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +1 -1
- package/dist/components/rtk-chat-search-results.js +1 -1
- package/dist/components/rtk-chat-selector-ui.js +1 -1
- package/dist/components/rtk-chat-selector.js +1 -1
- package/dist/components/rtk-chat-toggle.js +1 -1
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +1 -1
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +1 -1
- package/dist/components/rtk-counter.js +1 -1
- package/dist/components/rtk-debugger-audio.js +1 -1
- package/dist/components/rtk-debugger-screenshare.js +1 -1
- package/dist/components/rtk-debugger-system.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +1 -1
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +1 -1
- package/dist/components/rtk-dialog.js +1 -1
- package/dist/components/rtk-draft-attachment-view.js +1 -1
- package/dist/components/rtk-emoji-picker-button.js +1 -1
- package/dist/components/rtk-emoji-picker.js +1 -1
- package/dist/components/rtk-ended-screen.js +1 -1
- package/dist/components/rtk-file-dropzone.js +1 -1
- package/dist/components/rtk-file-message-view.js +1 -1
- package/dist/components/rtk-file-message.js +1 -1
- package/dist/components/rtk-file-picker-button.js +1 -1
- package/dist/components/rtk-fullscreen-toggle.js +1 -1
- package/dist/components/rtk-grid-pagination.js +1 -1
- package/dist/components/rtk-grid.js +1 -1
- package/dist/components/rtk-header.js +1 -1
- package/dist/components/rtk-idle-screen.js +1 -1
- package/dist/components/rtk-image-message-view.js +1 -1
- package/dist/components/rtk-image-message.js +1 -1
- package/dist/components/rtk-image-viewer.js +1 -1
- package/dist/components/rtk-information-tooltip.js +1 -1
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +1 -1
- package/dist/components/rtk-leave-meeting.js +1 -1
- package/dist/components/rtk-livestream-indicator.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +1 -1
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-meeting-title.js +1 -1
- package/dist/components/rtk-meeting.js +1 -1
- package/dist/components/rtk-menu-item.js +1 -1
- package/dist/components/rtk-menu-list.js +1 -1
- package/dist/components/rtk-menu.js +1 -1
- package/dist/components/rtk-message-list-view.js +1 -1
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +1 -1
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +1 -1
- package/dist/components/rtk-more-toggle.js +1 -1
- package/dist/components/rtk-mute-all-button.js +1 -1
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-network-indicator.js +1 -1
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +1 -1
- package/dist/components/rtk-overlay-modal.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-participant-count.js +1 -1
- package/dist/components/rtk-participant-setup.js +1 -1
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +1 -1
- package/dist/components/rtk-participants-stage-list.js +1 -1
- package/dist/components/rtk-participants-stage-queue.js +1 -1
- package/dist/components/rtk-participants-toggle.js +1 -1
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +1 -1
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pinned-message-selector.js +1 -1
- package/dist/components/rtk-pip-toggle.js +1 -1
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +1 -1
- package/dist/components/rtk-plugins.js +1 -1
- package/dist/components/rtk-poll-form.js +1 -1
- package/dist/components/rtk-poll.js +1 -1
- package/dist/components/rtk-polls-toggle.js +1 -1
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +1 -1
- package/dist/components/rtk-recording-toggle.js +1 -1
- package/dist/components/rtk-screen-share-toggle.js +1 -1
- package/dist/components/rtk-screenshare-view.js +1 -1
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +1 -1
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +1 -1
- package/dist/components/rtk-setup-screen.js +1 -1
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +1 -1
- package/dist/components/rtk-simple-grid.js +1 -1
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +1 -1
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +1 -1
- package/dist/components/rtk-stage.js +1 -1
- package/dist/components/rtk-switch.js +1 -1
- package/dist/components/rtk-tab-bar.js +1 -1
- package/dist/components/rtk-text-composer-view.js +1 -1
- package/dist/components/rtk-text-message.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 +1712 -736
- package/dist/esm/{TextMessage-Cisroi3Z.js → TextMessage-yvgmoyno.js} +1 -1
- package/dist/esm/{chat-CNKqhbws.js → chat-C76CTGaE.js} +1 -1
- package/dist/esm/{config-DRqODcfp.js → config-DP9lPGyT.js} +4 -10
- package/dist/esm/{debounce-B5AGeS26.js → debounce-wUcmtMrZ.js} +1 -1
- package/dist/esm/{index-vqQJVJal.js → index-BqWqJ0QM.js} +1 -1
- package/dist/esm/index.js +19 -11
- package/dist/esm/loader.js +692 -534
- package/dist/esm/{ui-kit-metadata-CIMhjc7J.js → merge-CyAJSnqi.js} +2 -287
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-ai-toggle.entry.js +2 -2
- package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
- package/dist/esm/rtk-ai_3.entry.js +2 -2
- package/dist/esm/rtk-audio-grid.entry.js +2 -2
- package/dist/esm/rtk-audio-tile.entry.js +2 -2
- package/dist/esm/rtk-audio-visualizer_3.entry.js +2 -3
- package/dist/esm/rtk-avatar_26.entry.js +7 -6
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
- package/dist/esm/rtk-breakout-rooms-manager_8.entry.js +2 -2
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
- package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
- package/dist/esm/rtk-camera-toggle.entry.js +2 -2
- package/dist/esm/rtk-caption-toggle.entry.js +2 -2
- package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-message.entry.js +2 -2
- package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
- package/dist/esm/rtk-chat-search-results.entry.js +2 -2
- package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-toggle.entry.js +2 -2
- package/dist/esm/rtk-clock.entry.js +2 -2
- package/dist/esm/rtk-controlbar-button.entry.js +2 -2
- package/dist/esm/rtk-controlbar.entry.js +2 -2
- package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
- package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
- package/dist/esm/rtk-debugger.entry.js +2 -2
- package/dist/esm/rtk-dialog-manager.entry.js +2 -2
- package/dist/esm/rtk-dialog.entry.js +2 -2
- package/dist/esm/rtk-ended-screen.entry.js +2 -2
- package/dist/esm/rtk-file-dropzone.entry.js +2 -2
- package/dist/esm/rtk-file-message_3.entry.js +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 -3
- package/dist/esm/rtk-mixed-grid.entry.js +2 -2
- package/dist/esm/rtk-more-toggle.entry.js +2 -2
- package/dist/esm/rtk-mute-all-button.entry.js +2 -2
- package/dist/esm/rtk-name-tag.entry.js +2 -2
- package/dist/esm/rtk-network-indicator.entry.js +2 -2
- package/dist/esm/rtk-notification.entry.js +8 -6
- package/dist/esm/rtk-notifications.entry.js +194 -204
- package/dist/esm/rtk-participant-count.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +2 -2
- package/dist/esm/rtk-participant_2.entry.js +3 -3
- package/dist/esm/rtk-participants-audio.entry.js +2 -3
- package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
- package/dist/esm/rtk-participants-toggle.entry.js +2 -2
- package/dist/esm/rtk-participants.entry.js +3 -3
- package/dist/esm/rtk-pip-toggle.entry.js +2 -2
- package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
- package/dist/esm/rtk-plugins-toggle.entry.js +2 -2
- package/dist/esm/rtk-poll_2.entry.js +2 -2
- package/dist/esm/rtk-polls-toggle.entry.js +2 -2
- package/dist/esm/rtk-recording-indicator.entry.js +2 -2
- package/dist/esm/rtk-recording-toggle.entry.js +2 -2
- package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
- package/dist/esm/rtk-screenshare-view.entry.js +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-switch.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 +3 -2
- package/dist/esm/rtk-waiting-screen.entry.js +2 -2
- package/dist/esm/ui-kit-metadata-BLyVHBPm.js +286 -0
- package/dist/esm/{ui-store-GPnCYQx5.js → ui-store-BDu-JN-c.js} +217 -9
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-b42581e5.entry.js → p-00d76359.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d85eea5e.entry.js → p-09c97ce7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-848260b5.entry.js → p-1649cd9b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3ade5cae.entry.js → p-1cb35848.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6d87671d.entry.js → p-20ca622e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6e07513b.entry.js → p-212b81f9.entry.js} +1 -1
- package/dist/realtimekit-ui/p-216d317b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-f8bd6ef6.entry.js → p-21d6fbde.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7dc40b64.entry.js → p-2630a30f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-700e62e5.entry.js → p-2666b720.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-25550cf9.entry.js → p-29ca5030.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2ac37cd3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-39915b72.entry.js → p-2b4a9798.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c7bd4da5.entry.js → p-2cc93fdf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7407e5fb.entry.js → p-2cffd80b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a25790f7.entry.js → p-2e00a64f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-151eb58e.entry.js → p-2f225d81.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-37feaeaf.entry.js → p-31cff3b4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8662827c.entry.js → p-339d78e0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-70a4d8e8.entry.js → p-39f4dfc2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3bb06c62.entry.js → p-3df86b16.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cc198be3.entry.js → p-40b5a3f6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-266ca900.entry.js → p-40d669f7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-465e03e3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-7c511cf6.entry.js → p-468bbf25.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e2131b56.entry.js → p-46f5bd65.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0760dc9f.entry.js → p-4a2791af.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-43c99dd3.entry.js → p-4d1c520d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6747ca25.entry.js → p-4f4f74de.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d52833d6.entry.js → p-50964a67.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-dfce1619.entry.js → p-590d9a6f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8751b85c.entry.js → p-59e85491.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e1e2aa29.entry.js → p-5a316687.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d797e61a.entry.js → p-5ad79e40.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0558ad3d.entry.js → p-65d4e49f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c620f917.entry.js → p-66c16b99.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-452d0941.entry.js → p-679cff34.entry.js} +1 -1
- package/dist/realtimekit-ui/p-68355fad.entry.js +1 -0
- package/dist/realtimekit-ui/{p-0a9509ea.entry.js → p-6c6da19f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d3d39178.entry.js → p-6db3f0b3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8dbac5e8.entry.js → p-705c69ef.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6b0a4780.entry.js → p-71bd9c93.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c25ef602.entry.js → p-780e1278.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-aaad0c85.entry.js → p-7b95fcea.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-de8820d1.entry.js → p-7f6cd05d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1ff5cfd7.entry.js → p-80e72f3b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-81b64fa2.entry.js +1 -0
- package/dist/realtimekit-ui/{p-11d7c342.entry.js → p-866df7d3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-df7a6471.entry.js → p-8a113cfb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0e89ddbe.entry.js → p-915dec6c.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5a2c4639.entry.js → p-9169be62.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-831a4a72.entry.js → p-95f35e70.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b40651e7.entry.js → p-983ca822.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-76bea9ba.entry.js → p-98e3caf7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9f5eb163.entry.js +1 -0
- package/dist/realtimekit-ui/p-BLyVHBPm.js +1 -0
- package/dist/realtimekit-ui/p-Bzni6MqK.js +1 -0
- package/dist/realtimekit-ui/p-DEqeU73W.js +1 -0
- package/dist/realtimekit-ui/p-DYdFtxVz.js +1 -0
- package/dist/realtimekit-ui/{p-Dk8hCkEY.js → p-DjuLCOXk.js} +1 -1
- package/dist/realtimekit-ui/{p-wx9iq4MT.js → p-KiBrYIp4.js} +1 -1
- package/dist/realtimekit-ui/{p-cb58b187.entry.js → p-a058849b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e9d6b2fc.entry.js → p-a2fd9cf2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-dc302f4a.entry.js → p-a3177447.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-727ff3ca.entry.js → p-a583cc88.entry.js} +1 -1
- package/dist/realtimekit-ui/p-aIVgtPUf.js +1 -0
- package/dist/realtimekit-ui/{p-7275df7a.entry.js → p-ad8e4409.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-db426f29.entry.js → p-b16b8339.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9b8c79ab.entry.js → p-baa83772.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e59aa67d.entry.js → p-be12bd8a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e7e918c5.entry.js → p-c132536f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c7916a62.entry.js → p-ca45d169.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e155abc4.entry.js → p-d1422675.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-226a8500.entry.js → p-d33dcab8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d3bfc744.entry.js → p-d6177836.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-06dfb82f.entry.js → p-dfd083c9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-577d3d6c.entry.js → p-e0fbcd2f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cfd6260a.entry.js → p-e2c07b34.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8e588d5b.entry.js → p-e48f5b65.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3c813199.entry.js → p-ea3591dd.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ba1b67a4.entry.js → p-ea9632fb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5a0a0b08.entry.js → p-ebc2284a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-352f5966.entry.js → p-ed4e8032.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-da137b88.entry.js → p-f163f7d0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cea57cb7.entry.js → p-f42d1ca8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f9e1d361.entry.js → p-f6964364.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cc509d39.entry.js → p-f6cc50c1.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d3d70e76.entry.js → p-fb638463.entry.js} +1 -1
- package/dist/realtimekit-ui/p-fe56d5f4.entry.js +1 -0
- package/dist/realtimekit-ui/{p-5bbaaee6.entry.js → p-febe71c5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-im1XlbcC.js → p-kAmDs9rB.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +12 -3
- package/dist/types/lib/lang/default-language.d.ts +2 -0
- package/dist/types/lib/notification.d.ts +31 -2
- package/dist/types/types/ui-config/config.d.ts +49 -10
- package/dist/types/utils/notification.d.ts +11 -2
- package/package.json +1 -1
- package/dist/cjs/browser-qKzDfwbO.js +0 -5
- package/dist/cjs/notification-Bny5fHfy.js +0 -39
- package/dist/components/p-B56IYWsZ.js +0 -1
- package/dist/components/p-CAqYddlg.js +0 -1
- package/dist/components/p-ChM1gCIW.js +0 -1
- package/dist/components/p-CtoKGHXg.js +0 -1
- package/dist/components/p-DSiVRqn-.js +0 -1
- package/dist/components/p-DU_5lopz.js +0 -1
- package/dist/components/p-cWoLKHJ3.js +0 -1
- package/dist/components/p-fQitJHsh.js +0 -1
- package/dist/esm/browser-CAqYddlg.js +0 -3
- package/dist/esm/notification-DZgheLdK.js +0 -37
- package/dist/realtimekit-ui/p-1ffa8cca.entry.js +0 -1
- package/dist/realtimekit-ui/p-3d663797.entry.js +0 -1
- package/dist/realtimekit-ui/p-41bc3d1f.entry.js +0 -1
- package/dist/realtimekit-ui/p-7955b7c2.entry.js +0 -1
- package/dist/realtimekit-ui/p-B56IYWsZ.js +0 -1
- package/dist/realtimekit-ui/p-B8OtSZCI.js +0 -1
- package/dist/realtimekit-ui/p-CAqYddlg.js +0 -1
- package/dist/realtimekit-ui/p-CkEIiUAw.js +0 -1
- package/dist/realtimekit-ui/p-DITWlMXR.js +0 -1
- package/dist/realtimekit-ui/p-DkW8b_It.js +0 -1
- package/dist/realtimekit-ui/p-a634bf29.entry.js +0 -1
- package/dist/realtimekit-ui/p-d0fe5d91.entry.js +0 -1
- package/dist/realtimekit-ui/p-fde9e0ea.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,a as r}from"./p-gJCRRBX0.js";import{c as a,e as i,i as s}from"./p-
|
|
1
|
+
import{r as t,h as e,a as r}from"./p-gJCRRBX0.js";import{c as a,e as i,i as s}from"./p-DYdFtxVz.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{S as o}from"./p-DjuLCOXk.js";import"./p-Daj_55_i.js";var n=function(t,e,r,a){var i,s=arguments.length,o=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o};const c=class{constructor(e){t(this,e),this.config=a(),this.icon=i,this.t=s(),this.iconPack=i,this.message=""}connectedCallback(){this.statesChanged(this.states)}getBreakoutRoomsMessage(t){var e;let r;return"connected-meeting"===(null==t?void 0:t.roomLeftState)&&(r=(null===(e=this.states.activeBreakoutRoomsManager)||void 0===e?void 0:e.destinationMeetingId)===this.meeting.connectedMeetings.parentMeeting.id?"breakout_rooms.move_reason.switch_main_room":"breakout_rooms.move_reason.switch_room"),r}statesChanged(t){if(null!=t)switch(null==t?void 0:t.roomLeftState){case"left":this.message="ended.left";break;case"kicked":this.message="ended.kicked";break;case"disconnected":this.message="ended.disconnected";break;case"rejected":this.message="ended.rejected";break;case"connected-meeting":this.message=this.getBreakoutRoomsMessage(t);break;case"unauthorized":this.message="ended.unauthorized";break;default:this.message="ended"}}renderBreakoutRoomScreen(){return e(r,null,e("div",{class:"ctr",part:"container"},e("rtk-icon",{icon:this.iconPack.breakout_rooms}),e("p",{part:"message",class:"breakout"},this.t(this.message))))}render(){if(!this.meeting)return null;const t=this.states;return"connected-meeting"===t.roomLeftState?this.renderBreakoutRoomScreen():e(r,null,e("div",{class:"ctr",part:"container"},e("rtk-logo",{meeting:this.meeting,config:this.config,part:"logo",t:this.t}),e("p",{part:"message"},this.t(this.message)),"disconnected"===(null==t?void 0:t.roomLeftState)&&e("span",{part:"description"},this.t("ended.network"))))}static get watchers(){return{states:[{statesChanged:0}]}}};n([o()],c.prototype,"config",void 0),n([o()],c.prototype,"states",void 0),n([o()],c.prototype,"t",void 0),n([o()],c.prototype,"iconPack",void 0),n([o()],c.prototype,"meeting",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{height:100%;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}.rejoin-button{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-6, 24px);padding-bottom:var(--rtk-space-6, 24px);padding-left:var(--rtk-space-16, 64px);padding-right:var(--rtk-space-16, 64px)}.rejoin-icon{margin-right:var(--rtk-space-2, 8px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}p.breakout{font-size:20px;display:flex;flex-direction:column;align-items:center}p.breakout span{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-0, 0px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}span{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}";export{c as rtk_ended_screen}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as i,h as s,a as e}from"./p-gJCRRBX0.js";import{e as a,i as o}from"./p-
|
|
1
|
+
import{r as t,d as i,h as s,a as e}from"./p-gJCRRBX0.js";import{e as a,i as o}from"./p-DYdFtxVz.js";import{d as n}from"./p-D9HGXWKc.js";import{S as r}from"./p-DjuLCOXk.js";import"./p-C0vp-Q7v.js";var l=function(t,i,s,e){var a,o=arguments.length,n=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(n=(o<3?a(n):o>3?a(i,s,n):a(i,s))||n);return o>3&&n&&Object.defineProperty(i,s,n),n};const h=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o(),this.pollsActive=!1,this.unreadPollsCount=0,this.canViewPolls=!1,this.onPollsUpdate=({newPoll:t})=>{!0===t&&(this.unreadPollsCount+=1)},this.updateCanView=()=>{this.canViewPolls=n(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,i,s,e,a,o;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.polls)||void 0===i||i.removeListener("pollsUpdate",this.onPollsUpdate),null===(e=null===(s=this.meeting)||void 0===s?void 0:s.self)||void 0===e||e.permissions.removeListener("pollsUpdate",this.updateCanView),null===(o=null===(a=this.meeting)||void 0===a?void 0:a.stage)||void 0===o||o.removeListener("stageStatusUpdate",this.updateCanView)}meetingChanged(t){var i,s;t&&t.polls&&(this.unreadPollsCount=t.polls.items.length,this.meeting.polls.addListener("pollsUpdate",this.onPollsUpdate),null===(i=null==t?void 0:t.self)||void 0===i||i.permissions.addListener("pollsUpdate",this.updateCanView),this.canViewPolls=n(t),null===(s=null==t?void 0:t.stage)||void 0===s||s.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 s(e,{"data-hidden":!0});const t=this.t("polls");return s(e,{title:t},0!==this.unreadPollsCount&&!this.pollsActive&&s("div",{class:"unread-count",part:"unread-count"},s("span",null,this.unreadPollsCount<=100?this.unreadPollsCount:"99+")),s("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}]}}};l([r()],h.prototype,"meeting",void 0),l([r()],h.prototype,"states",void 0),l([r()],h.prototype,"iconPack",void 0),l([r()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{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%)}";export{h as rtk_polls_toggle}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as i,h as e,F as r,a as o}from"./p-gJCRRBX0.js";import{a}from"./p-vBD2htwQ.js";import{c as s,e as n,i as c,f as l,j as d}from"./p-
|
|
1
|
+
import{r as t,d as i,h as e,F as r,a as o}from"./p-gJCRRBX0.js";import{a}from"./p-vBD2htwQ.js";import{c as s,e as n,i as c,f as l,j as d}from"./p-DYdFtxVz.js";import{R as p}from"./p-CTFO-5XH.js";import{S as h}from"./p-DjuLCOXk.js";import{g as v}from"./p-vBfDtD_u.js";var m=function(t,i,e,r){var o,a=arguments.length,s=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,r);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,e,s):o(i,e))||s);return a>3&&s&&Object.defineProperty(i,e,s),s};const g=class{constructor(e){t(this,e),this.stateUpdate=i(this,"rtkStateUpdate",7),this.config=s(),this.iconPack=n,this.t=c(),this.overrides=l,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,i,e;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===(i=this.meeting)||void 0===i||i.self.setName(this.displayName),d.setItem("rtk-display-name",this.displayName);try{await(null===(e=this.meeting)||void 0===e?void 0:e.join())}catch(t){this.isJoining=!1;const{message:i,code:e}=v(this.t,t);this.joinError=i,this.joinErrorCode=e}}}}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 i,e,r;t&&(this.connectionState=null===(i=t.meta.socketState)||void 0===i?void 0:i.state,this.canEditName=null===(e=t.self.permissions.canEditDisplayName)||void 0===e||e,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,i,s,n,c,l,d;if(!this.meeting)return;const h=!!this.connectionState&&"connected"!==this.connectionState&&!this.joinError,v=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,g={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},k=null===(n=null===(s=null===(i=this.meeting)||void 0===i?void 0:i.meta)||void 0===s?void 0:s.meetingTitle)||void 0===n?void 0:n.trim();return e(o,null,e("div",{class:"container"},e("div",{class:"container-tile"},e(p,{element:"rtk-participant-tile",defaults:g,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}),!(null===(d=this.overrides)||void 0===d?void 0:d.hideMediaSelectorsInSetupScreen)&&e("div",{class:"media-selectors"},e("rtk-microphone-selector",Object.assign({},g,{variant:"inline"})),e("rtk-camera-selector",Object.assign({},g,{variant:"inline"})),e("rtk-speaker-selector",Object.assign({},g,{variant:"inline"})))),e("div",{class:"metadata"},k&&""!==k&&e("div",{class:"meeting-title"},k),this.canEditName?e(r,null,e("div",{class:"join-as"},this.t("setup_screen.join_in_as")),e("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()}})):e("div",{class:"uneditable-name"},e("span",{class:"text"},this.t("setup_screen.join_in_as")," ")," ",e("div",{class:"name"},a(this.displayName,20))),e("rtk-button",{size:"lg",kind:"wide",onClick:this.join,disabled:m},this.isJoining?e("rtk-spinner",{iconPack:this.iconPack}):this.t("join")),(this.joinError||h)&&e("div",{class:"no-network-badge",role:"alert"},e("rtk-icon",{size:"md",variant:"danger",icon:this.iconPack.disconnected}),v),this.meeting&&this.joinError&&e("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&&e("span",{class:"error-code",part:"error-code"},this.t("join.error_code"),": ",this.joinErrorCode))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}};m([h()],g.prototype,"meeting",void 0),m([h()],g.prototype,"states",void 0),m([h()],g.prototype,"config",void 0),m([h()],g.prototype,"iconPack",void 0),m([h()],g.prototype,"t",void 0),m([h()],g.prototype,"overrides",void 0),g.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{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;overflow:visible}.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))}";export{g as rtk_setup_screen}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as i,h as s,a as e}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import{c as a,e as n,i as o}from"./p-
|
|
1
|
+
import{r as t,d as i,h as s,a as e}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import{c as a,e as n,i as o}from"./p-DYdFtxVz.js";import"./p-C0vp-Q7v.js";import{S as r}from"./p-DjuLCOXk.js";import"./p-Daj_55_i.js";var c=function(t,i,s,e){var a,n=arguments.length,o=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(o=(n<3?a(o):n>3?a(i,s,o):a(i,s))||o);return n>3&&o&&Object.defineProperty(i,s,o),o};const l=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.config=a(),this.iconPack=n,this.t=o(),this.captionEnabled=!1,this.permissionsUpdateListener=()=>{var t;this.captionEnabled=null!==(t=this.meeting.self.permissions.transcriptionEnabled)&&void 0!==t&&t}}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){t&&(this.permissionsUpdateListener(),this.meeting.self.permissions.addListener("permissionsUpdate",this.permissionsUpdateListener))}disconnectedCallback(){var t;null===(t=this.meeting)||void 0===t||t.self.permissions.removeListener("permissionsUpdate",this.permissionsUpdateListener)}toggleCaptions(){this.stateUpdate.emit({activeCaptions:!this.states.activeCaptions,activeMoreMenu:!1})}render(){if(!this.meeting)return null;if(!this.captionEnabled)return null;const t=this.states.activeCaptions;return s(e,{tabIndex:0,role:"log","aria-label":"Picture-in-Picture mode"},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:()=>this.toggleCaptions(),icon:t?this.iconPack.captionsOff:this.iconPack.captionsOn,label:this.t(t?"transcript.off":"transcript.on"),variant:this.variant}))}static get watchers(){return{meeting:[{meetingChanged:0}]}}};c([r()],l.prototype,"meeting",void 0),c([r()],l.prototype,"states",void 0),c([r()],l.prototype,"config",void 0),c([r()],l.prototype,"iconPack",void 0),c([r()],l.prototype,"t",void 0),l.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{l as rtk_caption_toggle}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as i,h as s,a as o}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import{c as e,e as a,i as n}from"./p-
|
|
1
|
+
import{r as t,d as i,h as s,a as o}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import{c as e,e as a,i as n}from"./p-DYdFtxVz.js";import"./p-C0vp-Q7v.js";import{S as r}from"./p-DjuLCOXk.js";import"./p-Daj_55_i.js";var l=function(t,i,s,o){var e,a=arguments.length,n=a<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,o);else for(var r=t.length-1;r>=0;r--)(e=t[r])&&(n=(a<3?e(n):a>3?e(i,s,n):e(i,s))||n);return a>3&&n&&Object.defineProperty(i,s,n),n};const h=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.config=e(),this.iconPack=a,this.t=n(),this.pipSupported=!1}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){var i,s,o;t&&(this.pipSupported=(null===(i=t.participants.pip)||void 0===i?void 0:i.isSupported())&&(null===(s=t.self.config)||void 0===s?void 0:s.pipMode)&&"LIVESTREAM"!==(null===(o=t.self.config)||void 0===o?void 0:o.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}]}}};l([r()],h.prototype,"meeting",void 0),l([r()],h.prototype,"states",void 0),l([r()],h.prototype,"config",void 0),l([r()],h.prototype,"iconPack",void 0),l([r()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}";export{h as rtk_pip_toggle}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,d as t,h as o,a}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import
|
|
1
|
+
import{r,d as t,h as o,a}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import{e,i as s}from"./p-DYdFtxVz.js";import"./p-C0vp-Q7v.js";import{g as c}from"./p-KiBrYIp4.js";import{S as i}from"./p-DjuLCOXk.js";import"./p-Daj_55_i.js";var p=function(r,t,o,a){var e,s=arguments.length,c=s<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(r,t,o,a);else for(var i=r.length-1;i>=0;i--)(e=r[i])&&(c=(s<3?e(c):s>3?e(t,o,c):e(t,o))||c);return s>3&&c&&Object.defineProperty(t,o,c),c};const n=class{constructor(o){r(this,o),this.groupChanged=t(this,"rtkChatGroupChanged",7),this.unreadCounts={},this.groups=[],this.iconPack=e,this.t=s(),this.showParticipantsPanel=!1,this.query="",this.onScopeClick=r=>{this.showParticipantsPanel=!1,this.groupChanged.emit(r)}}toggleParticipants(){this.showParticipantsPanel=!this.showParticipantsPanel}getGroups(){return this.groups.filter((r=>r.name.toLowerCase().includes(this.query.toLowerCase())))}getName(){if(!this.selectedGroupId||"everyone"===this.selectedGroupId)return this.t("everyone");const r=this.groups.find((r=>r.userId===this.selectedGroupId));return r?r.name:this.t("everyone")}render(){const r=Object.keys(this.unreadCounts).reduce(((r,t)=>r+this.unreadCounts[t]),0);return o(a,null,o("div",{class:"chat-scope-selector"},this.showParticipantsPanel&&o("div",{class:"participants-container"},o("div",{class:"search",part:"search"},o("rtk-icon",{icon:this.iconPack.search,part:"search-icon"}),o("input",{type:"search",autocomplete:"off",placeholder:this.t("search"),value:this.query,onInput:r=>{this.query=r.target.value},part:"search-input"})),o("ul",{class:"scope-list scrollbar"},""===this.query&&o("li",{class:"scope scope-special",onClick:()=>this.onScopeClick("everyone")},o("div",{class:"everyone-icon"},o("rtk-icon",{icon:this.iconPack.participants})),this.t("everyone"),this.unreadCounts.everyone>0&&o("div",{class:"unread-count",part:"unread-count"},o("span",null,this.unreadCounts.everyone))),this.getGroups().map((r=>{const t=this.unreadCounts[c([this.selfUserId,r.userId])];return o("li",{class:"scope",onClick:()=>this.onScopeClick(r),key:r.userId},r.name,t>0&&o("div",{class:"unread-count",part:"unread-count"},o("span",null,t)))})))),o("button",{onClick:()=>this.toggleParticipants()},o("span",null,`${this.t("to")} ${this.getName()}`," ",r>0&&o("div",{class:"unread-count selector"},o("span",null,r))),o("rtk-icon",{icon:this.showParticipantsPanel?this.iconPack.chevron_up:this.iconPack.chevron_down}))))}};p([i()],n.prototype,"iconPack",void 0),p([i()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.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;flex-direction:column}.chat-scope-selector{position:relative;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));z-index:10}.chat-scope-selector button{width:100%;border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-4, 16px);display:flex;align-items:center;justify-content:space-between;--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));font-size:14px;cursor:pointer;height:var(--rtk-space-12, 48px)}.chat-scope-selector button span{display:flex;align-items:center;justify-content:flex-start}.chat-scope-selector button rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.chat-scope-selector .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-3, 12px);margin-bottom:var(--rtk-space-0, 0px)}.chat-scope-selector .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))}.chat-scope-selector .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}.chat-scope-selector .search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .participants-container{position:absolute;width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));top:var(--rtk-space-12, 48px);animation:0.3s slide-down ease}@keyframes slide-down{from{transform:translateY(-50px)}to{transform:translateY(0%)}}.chat-scope-selector .scope-list{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);list-style-type:none;padding-left:var(--rtk-space-0, 0px);padding-right:var(--rtk-space-0, 0px);overflow:auto;max-height:375px}.chat-scope-selector .scope-list .scope{position:relative;display:flex;flex-direction:row;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px)}.chat-scope-selector .scope-list .scope:hover{cursor:pointer;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.chat-scope-selector .scope-list .scope-special{margin-top:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat-scope-selector .scope-list .everyone-icon>rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.chat-scope-selector .scope-list .everyone-icon{display:flex;height:100%;width:100%;align-items:center;justify-content:center;margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px}.unread-count.selector{position:unset;margin-left:var(--rtk-space-2, 8px)}.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}rtk-avatar{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px)}";export{n as rtk_chat_selector_ui}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as r,a as i,g as a,d as e}from"./p-gJCRRBX0.js";import{e as o,i as s,c as n}from"./p-
|
|
1
|
+
import{r as t,h as r,a as i,g as a,d as e}from"./p-gJCRRBX0.js";import{e as o,i as s,c as n}from"./p-DYdFtxVz.js";import{S as c}from"./p-DjuLCOXk.js";import{f as l,a as p}from"./p-vBD2htwQ.js";var h=function(t,r,i,a){var e,o=arguments.length,s=o<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(s=(o<3?e(s):o>3?e(r,i,s):e(r,i))||s);return o>3&&s&&Object.defineProperty(r,i,s),s};const d=class{constructor(r){t(this,r),this.iconPack=o,this.t=s(),this.canDeactivatePlugin=!1}connectedCallback(){this.pluginChanged(this.plugin)}pluginChanged(t){var r,i;null!=t&&(this.canDeactivatePlugin=null!==(i=null===(r=t.permissions)||void 0===r?void 0:r.canDeactivate)&&void 0!==i&&i,this.attachView(t))}attachView(t){const r=t.component;if(r instanceof HTMLElement&&this.host.firstElementChild!==r){for(;this.host.firstChild;)this.host.removeChild(this.host.firstChild);this.host.appendChild(r)}}disconnectedCallback(){for(;this.host.firstChild;)this.host.removeChild(this.host.firstChild)}render(){return null==this.plugin?null:r(i,null,r("header",{part:"header"},r("div",null,this.plugin.name),this.canDeactivatePlugin&&r("div",null,r("rtk-button",{kind:"icon",onClick:()=>this.plugin.deactivate(),part:"button"},r("rtk-icon",{icon:this.iconPack.dismiss})))),r("div",{class:"view-container"},r("slot",null)))}get host(){return a(this)}static get watchers(){return{plugin:[{pluginChanged:0}]}}};h([c()],d.prototype,"meeting",void 0),h([c()],d.prototype,"iconPack",void 0),h([c()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:100%;width:100%;flex-direction:column;overflow:hidden;border-radius:var(--rtk-border-radius-lg, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}header{display:flex;height:var(--rtk-space-8, 32px);align-items:center;justify-content:space-between;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}header>div{display:flex;align-items:center}rtk-button{display:flex;height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);flex-direction:column;align-items:center;border-radius:9999px}rtk-button rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}.view-container{position:relative;height:100%;width:100%;overflow:hidden;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity))}.view-container ::slotted(*){width:100%;height:100%;display:block}";var v=function(t,r,i,a){var e,o=arguments.length,s=o<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(s=(o<3?e(s):o>3?e(r,i,s):e(r,i))||s);return o>3&&s&&Object.defineProperty(r,i,s),s};const g=class{constructor(r){t(this,r),this.tabChange=e(this,"tabChange",7),this.config=n(),this.layout="row",this.iconPack=o,this.t=s(),this.tabs=[]}render(){return r(i,{key:"1c4bce26c4c5baa19cd89be862922267c408ab97"},r("rtk-spotlight-indicator",{key:"496f3634771c4b9c94ff64e23fa5695e2e1532e2",meeting:this.meeting,iconPack:this.iconPack,t:this.t,size:this.size}),this.tabs.map((t=>{var i,a,e,o,s;let n=!1;if(("plugin"===(null===(i=this.activeTab)||void 0===i?void 0:i.type)&&t.plugin&&(null===(a=this.activeTab)||void 0===a?void 0:a.plugin.id)===t.plugin.id||"screenshare"===(null===(e=this.activeTab)||void 0===e?void 0:e.type)&&t.participant&&(null===(o=this.activeTab)||void 0===o?void 0:o.participant.id)===t.participant.id)&&(n=!0),"screenshare"===t.type){const i=t.participant,a=l(i.name);return r("rtk-button",{title:`${a}'s Screen Share`,key:t.participant.id,kind:"icon",variant:n?"primary":"secondary",class:{tab:!0,active:n},onClick:()=>this.tabChange.emit(t)},r("div",{class:"center col"},r("rtk-icon",{icon:this.iconPack.share_screen_person}),r("span",{class:"name"},i.id===(null===(s=this.meeting)||void 0===s?void 0:s.self.id)?this.t("you"):p(a,6))))}if("plugin"===t.type){const i=t.plugin;return r("rtk-button",{title:i.name,key:i.id,kind:"icon",variant:n?"primary":"secondary",class:{tab:!0,active:n},onClick:()=>this.tabChange.emit(t)},r("div",{class:"center col"},r("img",{src:i.icon,alt:i.name}),r("span",{class:"name"},p(i.name,6))))}})))}};v([c()],g.prototype,"meeting",void 0),v([c()],g.prototype,"states",void 0),v([c()],g.prototype,"config",void 0),v([c()],g.prototype,"iconPack",void 0),v([c()],g.prototype,"t",void 0),g.style=".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{box-sizing:border-box;display:flex;height:100%;width:var(--rtk-space-16, 64px);flex-direction:column;gap:var(--rtk-space-2, 8px);overflow-y:auto;font-family:var(--rtk-font-family, sans-serif)}rtk-button{z-index:10}.col{display:flex;flex-direction:column;align-items:center}.tab{display:flex;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);align-items:center;justify-content:center;margin-bottom:var(--rtk-space-2, 8px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.tab.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}.tab img{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);border-radius:var(--rtk-border-radius-sm, 4px)}.tab .name{margin-top:var(--rtk-space-0\\.5, 2px)}:host([size='sm']){flex-direction:column;margin-top:var(--rtk-space-4, 16px);height:var(--rtk-space-16, 64px);width:100%;flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-x:auto}:host([size='sm']) .tab{margin:var(--rtk-space-0, 0px);text-overflow:clip;min-width:100px;height:40px}:host([size='sm']) .tab .col{display:flex;flex-direction:row;align-items:center;gap:var(--rtk-space-2, 8px)}:host([size='sm']) .tab .col img,:host([size='sm']) .tab .col rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']) .tab .col .name{gap:var(--rtk-space-1, 4px)}:host([layout='column']){flex-direction:column}:host([layout='column']) .aside{flex:2;max-width:100%;width:100%}@media (orientation: portrait){:host([size='sm']){margin-top:var(--rtk-space-2, 8px);height:var(--rtk-space-16, 64px);width:100%;flex-direction:row;transition:all 0.3s linear}:host([size='md']){height:var(--rtk-space-24, 96px);width:100%;flex-direction:row;transition:all 0.3s linear}:host .tab{margin:var(--rtk-space-0, 0px)}}@media (orientation: landscape){:host([size='sm']){margin-right:var(--rtk-space-4, 16px);height:100%;width:var(--rtk-space-14, 56px);flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-y:auto;overflow-x:hidden;transition:all 0.3s linear}:host([size='md']){margin-right:var(--rtk-space-4, 16px);height:100%;width:var(--rtk-space-14, 56px);flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-y:auto;overflow-x:hidden;transition:all 0.3s linear}:host .tab{margin:var(--rtk-space-0, 0px)}:host([size='sm']) .tab{margin:var(--rtk-space-0, 0px);width:100%;text-overflow:clip;min-width:0px;min-height:40px}:host([size='sm']) .tab .col{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-2, 8px);font-size:10px}:host([size='sm']) .tab .col img,:host([size='sm']) .tab .col rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}:host([size='sm']) .tab .col .name{gap:var(--rtk-space-1, 4px)}}";export{d as rtk_plugin_main,g as rtk_tab_bar}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,e as i,h as e,a as s,g as n}from"./p-gJCRRBX0.js";import{c as o,i as a,e as h,D as c,R as r,O as d,P as l}from"./p-DYdFtxVz.js";import{f as u}from"./p-vBD2htwQ.js";import"./p-Rq_6y0HI.js";import{m as p}from"./p-Bzni6MqK.js";import{s as g}from"./p-C0vp-Q7v.js";import{f as _}from"./p-KiBrYIp4.js";import{S as m}from"./p-DjuLCOXk.js";import"./p-Daj_55_i.js";var v=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 h=t.length-1;h>=0;h--)(n=t[h])&&(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 f=class{constructor(i){t(this,i),this.config=o(),this.t=a(),this.iconPack=h,this.notifications=[],this.notificationConfig=p({},c),this.addStagePeersListeners=t=>{t.participants.joined.addListener("participantJoined",this.participantJoinedListener),t.participants.joined.addListener("participantLeft",this.participantLeftListener)},this.removeStagePeersListeners=t=>{t.participants.joined.removeListener("participantJoined",this.participantJoinedListener),t.participants.joined.removeListener("participantLeft",this.participantLeftListener)},this.onNotification=t=>{var i,e;const s=t.detail,{playSound:n,meetingId:o}=s,a=function(t,i){var e={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&i.indexOf(s)<0&&(e[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(s=Object.getOwnPropertySymbols(t);n<s.length;n++)i.indexOf(s[n])<0&&Object.prototype.propertyIsEnumerable.call(t,s[n])&&(e[s[n]]=t[s[n]])}return e}(s,["playSound","meetingId"]);o&&o!==(null===(e=null===(i=this.meeting)||void 0===i?void 0:i.meta)||void 0===e?void 0:e.meetingId)||(this.isShown("custom")&&this.add(a),this.playCustomSoundIfEnabled(n))},this.onRecordingUpdate=t=>{"RECORDING"===t?(this.showIfEnabled("recording_started",{id:"recording-started",icon:this.iconPack.recording,message:this.t("recording.started")}),this.playSoundIfEnabled("recording_started")):"STOPPING"===t&&(this.showIfEnabled("recording_stopped",{id:"recording-stopped",icon:this.iconPack.stop_recording,message:this.t("recording.stopped")}),this.playSoundIfEnabled("recording_stopped"))},this.paused=!1}connectedCallback(){"undefined"!=typeof document&&(null===document||void 0===document||document.addEventListener("rtkNotification",this.onNotification)),this.meetingChanged(this.meeting),this.configChanged(this.config)}clearListeners(t){var i,e,s,n,o,a,h,c,r;const d="LIVESTREAM"===t.meta.viewType;(d&&"ON_STAGE"===(null===(i=t.stage)||void 0===i?void 0:i.status)||!d)&&this.removeStagePeersListeners(t),this.chatUpdateListener&&(null===(e=t.chat)||void 0===e||e.removeListener("chatUpdate",this.chatUpdateListener)),this.pollUpdateListener&&(null===(s=t.polls)||void 0===s||s.removeListener("pollsUpdate",this.pollUpdateListener)),t.meta.removeListener("socketConnectionUpdate",this.socketConnectionUpdateListener),this.stageRequestAccepted&&(null===(n=t.stage)||void 0===n||n.removeListener("stageRequestApproved",this.stageRequestAccepted)),this.stageRequestRejected&&(null===(o=t.stage)||void 0===o||o.removeListener("stageRequestRejected",this.stageRequestRejected)),this.newStageRequests&&(null===(a=t.stage)||void 0===a||a.removeListener("newStageRequest",this.newStageRequests)),this.stageStatusUpdateListener&&(null===(h=t.stage)||void 0===h||h.removeListener("stageStatusUpdate",this.stageStatusUpdateListener)),null===(c=t.recording)||void 0===c||c.removeListener("recordingUpdate",this.onRecordingUpdate),this.peerStageStatusListener&&t.participants.joined.removeListener("stageStatusUpdate",this.peerStageStatusListener),this.waitlistedParticipantJoinedListener&&t.participants.waitlisted.removeListener("participantJoined",this.waitlistedParticipantJoinedListener),this.waitlistedParticipantLeftListener&&t.participants.waitlisted.removeListener("participantLeft",this.waitlistedParticipantLeftListener),this.activeTabUpdateListener&&(null===(r=t.meta)||void 0===r||r.removeListener("activeTabUpdate",this.activeTabUpdateListener)),clearTimeout(this.disconnectTimeout),t.self.removeListener("deviceUpdate",this.deviceUpdateListener)}disconnectedCallback(){"undefined"!=typeof document&&(null===document||void 0===document||document.removeEventListener("rtkNotification",this.onNotification)),this.meeting&&this.clearListeners(this.meeting)}meetingChanged(t,i){var e,s,n,o,a,h,c,d,l;if(clearTimeout(this.disconnectTimeout),i&&this.clearListeners(i),!t)return;const p="LIVESTREAM"===t.meta.viewType;if(this.audio=new r(t),this.participantJoinedListener=t=>{t.peerIdBeforeReconnect||(this.showIfEnabled("participant_joined",{id:`${t.id}-joined`,message:`${u(t.name)} ${this.t("notifications.joined")}`,image:t.picture}),this.canPlayParticipantJoinedSound()&&this.playSoundIfEnabled("participant_joined"))},this.participantLeftListener=t=>{if(t.replacedByPeerId)return;const{socketState:{state:i}}=this.meeting.meta;"connected"===i&&(this.showIfEnabled("participant_left",{id:`${t.id}-left`,message:`${u(t.name)} ${this.t("notifications.left")}`,image:t.picture}),this.canPlayParticipantJoinedSound()&&this.playSoundIfEnabled("participant_left"))},this.waitlistedParticipantJoinedListener=t=>{if(!this.canAcceptWaitingRequests())return;const i=`${t.id}-joined-waitlist`;this.showIfEnabled("participant_joined_waitlist",{id:i,message:`${u(t.name)} ${this.t("notifications.requesting_to_join_meeting")}`,image:t.picture,button:{text:this.t("notifications.accept"),variant:"primary",onClick:async()=>{await this.meeting.participants.acceptWaitingRoomRequest(t.id),this.remove(i)}}}),this.canPlayParticipantJoinedSound()&&this.playSoundIfEnabled("participant_joined_waitlist")},this.waitlistedParticipantLeftListener=t=>{this.remove(`${t.id}-joined-waitlist`)},this.chatUpdateListener=({message:i,action:e})=>{const s=_(i);if(null!=s){if(s.userId===t.self.userId)return;if("edit"===e||"delete"===e){const t="edit"===e?"chat_message_edited":"chat_message_deleted";return this.showIfEnabled(t,{id:`message-${Math.random().toString(36)}`,icon:this.iconPack.chat,message:`${s.displayName} ${this.t(`notifications.${t}`)}`}),void(this.canPlayChatSound()&&this.playSoundIfEnabled(t))}"text"===s.type&&(this.showIfEnabled("chat_new_message",{id:`message-${Math.random().toString(36)}`,icon:this.iconPack.chat,message:`${s.displayName}: ${s.message}`}),this.canPlayChatSound()&&this.playSoundIfEnabled("chat_new_message"))}},this.pollUpdateListener=({polls:t,newPoll:i})=>{!1!==i&&this.meeting.self.userId!==t[t.length-1].createdByUserId&&(this.showIfEnabled("polls_new_poll",{id:`poll-${Math.random().toString(36)}`,icon:this.iconPack.poll,message:`${this.t("notifications.new_poll_created_by")} ${t[t.length-1].createdBy}`}),this.canPlayChatSound()&&this.playSoundIfEnabled("polls_new_poll"))},this.deviceUpdateListener=({device:t,preview:i})=>{i||("audiooutput"===t.kind&&(this.audio.setDevice(t.deviceId),this.remove("speaker-switched"),this.showIfEnabled("speaker_switched",{id:"speaker-switched",message:`${this.t("notifications.connected_to")} ${t.label}`,icon:this.iconPack.speaker}),this.playSoundIfEnabled("speaker_switched")),"videoinput"===t.kind&&(this.remove("camera-switched"),this.showIfEnabled("camera_switched",{id:"camera-switched",message:`${this.t("notifications.connected_to")} ${t.label}`,icon:this.meeting.self.videoEnabled?this.iconPack.video_on:this.iconPack.video_off,iconVariant:this.meeting.self.videoEnabled?"primary":"danger"}),this.playSoundIfEnabled("camera_switched")),"audioinput"===t.kind&&(this.remove("mic-switched"),this.showIfEnabled("microphone_switched",{id:"mic-switched",message:`${this.t("notifications.connected_to")} ${t.label}`,icon:this.meeting.self.audioEnabled?this.iconPack.mic_on:this.iconPack.mic_off,iconVariant:this.meeting.self.audioEnabled?"primary":"danger"}),this.playSoundIfEnabled("microphone_switched")))},this.socketConnectionUpdateListener=({state:t,reconnectionAttempt:i,reconnected:e})=>{switch(t){case"connected":this.remove("socket"),e&&(this.showIfEnabled("network_restored",{id:"socket",icon:this.iconPack.wifi,message:this.t("network.restored")}),this.playSoundIfEnabled("network_restored"));break;case"disconnected":this.remove("socket"),this.showIfEnabled("network_reconnecting",{id:"socket",icon:this.iconPack.disconnected,message:this.t("network.reconnecting")}),this.playSoundIfEnabled("network_reconnecting");break;case"reconnecting":i>=6?(this.remove("socket"),this.showIfEnabled("network_disconnected",{id:"socket",icon:this.iconPack.disconnected,message:this.t("network.disconnected"),button:{text:this.t("end"),variant:"danger",onClick:()=>{var t;return null===(t=this.meeting)||void 0===t?void 0:t.leave()}}}),this.playSoundIfEnabled("network_disconnected")):i>=4&&(this.remove("socket"),this.showIfEnabled("network_delayed",{id:"socket",icon:this.iconPack.disconnected,message:this.t("network.delay_extended")}),this.playSoundIfEnabled("network_delayed"));break;case"failed":this.remove("socket"),this.showIfEnabled("network_failed",{id:"socket",icon:this.iconPack.disconnected,message:this.t("network.leaving"),button:{text:this.t("end"),variant:"danger",onClick:()=>{var t;return null===(t=this.meeting)||void 0===t?void 0:t.leave()}}}),this.playSoundIfEnabled("network_failed")}},this.activeTabUpdateListener=i=>{switch(i.type){case"plugin":const e=t.plugins.active.toArray().find((t=>t.id==i.id));null!=e&&(this.showIfEnabled("tab_sync_plugin_switched",{id:"activeTab",message:`${this.t("notifications.plugin_switched_to")} ${e.name}`}),this.playSoundIfEnabled("tab_sync_plugin_switched"));break;case"screenshare":const s=t.participants.joined.toArray().filter((t=>t.screenShareEnabled)).find((t=>t.id==i.id));null!=s&&(this.showIfEnabled("tab_sync_screen_share_switched",{id:"spotlight",message:`Now watching ${s.name}'s screen`}),this.playSoundIfEnabled("tab_sync_screen_share_switched"))}},this.peerStageStatusListener=t=>{"REQUESTED_TO_JOIN_STAGE"===t.stageStatus&&this.canAcceptStageRequests()&&(this.showIfEnabled("stage_requested_to_join",{id:`stage-request-${t.id}`,message:`${t.name} ${this.t("notifications.requested_to_join_stage")}`,button:{text:this.t("notifications.accept"),variant:"primary",onClick:async()=>{await this.meeting.stage.grantAccess([t.userId]),this.remove(`stage-request-${t.id}`)}}}),this.playSoundIfEnabled("stage_requested_to_join")),"ON_STAGE"===t.stageStatus&&(this.showIfEnabled("stage_joined",{id:`stage-joined-${t.id}`,message:`${t.name} ${this.t("notifications.joined_stage")}`}),this.playSoundIfEnabled("stage_joined"))},this.stageRequestAccepted=()=>{this.showIfEnabled("stage_request_accepted",{id:"stage-request-accepted",message:this.t("notifications.request_to_join_accepted")}),this.playSoundIfEnabled("stage_request_accepted")},this.stageRequestRejected=()=>{this.showIfEnabled("stage_request_rejected",{id:"stage-request-rejected",message:this.t("notifications.request_to_join_rejected")}),this.playSoundIfEnabled("stage_request_rejected")},this.newStageRequests=({count:t})=>{this.showIfEnabled("stage_new_request_received",{id:"new-stage-request",message:`You have ${t<0?"new stage":`${t} pending`} request${1===t?"":"s"}`}),this.playSoundIfEnabled("stage_new_request_received")},this.stageStatusUpdateListener=i=>{"ON_STAGE"===i?this.addStagePeersListeners(t):this.removeStagePeersListeners(t)},!g(t)&&(null===(e=t.chat)||void 0===e||e.addListener("chatUpdate",this.chatUpdateListener)),"CHAT"===(null===(s=t.self.config.viewType)||void 0===s?void 0:s.toString()))return;const m=t.self.getCurrentDevices();null!=m.speaker&&this.audio.setDevice(m.speaker.deviceId),p?null===(n=t.stage)||void 0===n||n.on("stageStatusUpdate",this.stageStatusUpdateListener):this.addStagePeersListeners(t),this.canAcceptWaitingRequests()&&(t.participants.waitlisted.addListener("participantJoined",this.waitlistedParticipantJoinedListener),t.participants.waitlisted.addListener("participantLeft",this.waitlistedParticipantLeftListener)),null===(o=t.polls)||void 0===o||o.addListener("pollsUpdate",this.pollUpdateListener),t.self.addListener("deviceUpdate",this.deviceUpdateListener),t.meta.addListener("socketConnectionUpdate",this.socketConnectionUpdateListener),null===(a=t.meta)||void 0===a||a.addListener("activeTabUpdate",this.activeTabUpdateListener),t.participants.joined.addListener("stageStatusUpdate",this.peerStageStatusListener),null===(h=t.recording)||void 0===h||h.addListener("recordingUpdate",this.onRecordingUpdate),null===(c=t.stage)||void 0===c||c.addListener("stageRequestApproved",this.stageRequestAccepted),null===(d=t.stage)||void 0===d||d.addListener("stageRequestRejected",this.stageRequestRejected),this.canAcceptStageRequests()&&(null===(l=t.stage)||void 0===l||l.addListener("newStageRequest",this.newStageRequests))}configChanged(t){this.notificationConfig=p({},c,null==t?void 0:t.config)}apiErrorListener({detail:t}){const{trace:i,message:e}=t;this.showIfEnabled("api_error",{id:i,message:e,icon:this.iconPack.warning}),this.playSoundIfEnabled("api_error")}sendNotificationListener({detail:t}){const{trace:i,message:e}=t;if(null==i?void 0:i.startsWith("join-stage-"))return this.showIfEnabled("stage_invite_sent",{id:i,message:e}),void this.playSoundIfEnabled("stage_invite_sent");this.showIfEnabled("custom",{id:i,message:e}),this.playCustomSoundIfEnabled()}isShown(t){return!!this.notificationConfig.notifications[t]}isSoundOn(t){var i,e;return!(null===(e=null===(i=this.states)||void 0===i?void 0:i.prefs)||void 0===e?void 0:e.muteNotificationSounds)&&!!this.notificationConfig.notification_sounds[t]}showIfEnabled(t,i){if(!this.isShown(t))return;const e=this.notificationConfig.notification_duration[t],s="network_disconnected"===t||"network_failed"===t;this.add(Object.assign(Object.assign({},i),{duration:e>0?e:void 0}),s)}playSoundIfEnabled(t){var i;if(!this.isSoundOn(t))return;const e=this.notificationConfig.notification_sound_urls[t];null===(i=this.audio)||void 0===i||i.playUrl(d(e)?e:c.notification_sound_urls[t])}playCustomSoundIfEnabled(t){var i,e;if(!this.isSoundOn("custom"))return;if(l(t))return void(null===(i=this.audio)||void 0===i||i.play(t));const s=this.notificationConfig.notification_sound_urls.custom,n=d(t)?t:s;d(n)&&(null===(e=this.audio)||void 0===e||e.playUrl(n))}add(t,i=!1){const e=this.notifications.filter((({id:i})=>i!==t.id)),s=this.notificationConfig.visible_notifications_limit;"visible"===document.visibilityState&&(i||!(s>0)||e.length<s)&&(this.notifications=[...e,t])}remove(t){this.notifications=this.notifications.filter((i=>i.id!==t))}handleDismiss(t){t.stopPropagation();const e=t.detail,s=this.host.shadowRoot.querySelector(`[data-id="${e}"]`);null==s||s.classList.add("exit"),setTimeout((()=>{i((()=>{this.remove(e)}))}),400)}canPlayParticipantJoinedSound(){return null==this.notificationConfig.participant_joined_sound_notification_limit||this.notificationConfig.participant_joined_sound_notification_limit<=0||this.meeting.participants.count<=this.notificationConfig.participant_joined_sound_notification_limit}canPlayChatSound(){return null==this.notificationConfig.participant_chat_message_sound_notification_limit||this.notificationConfig.participant_chat_message_sound_notification_limit<=0||this.meeting.participants.count<=this.notificationConfig.participant_chat_message_sound_notification_limit}canAcceptStageRequests(){const{stageEnabled:t,acceptStageRequests:i}=this.meeting.self.permissions;return!(!t||!i)}canAcceptWaitingRequests(){return!!this.meeting.self.permissions.acceptWaitingRequests}render(){if(this.meeting)return e(s,null,e("div",{onMouseEnter:()=>this.paused=!0,onFocusin:()=>this.paused=!0,onMouseLeave:()=>this.paused=!1,onFocusout:()=>this.paused=!1},this.notifications.map((t=>e("rtk-notification",{size:this.size,key:t.id,"data-id":t.id,notification:t,onRtkNotificationDismiss:t=>this.handleDismiss(t),iconPack:this.iconPack,paused:this.paused,t:this.t})))))}get host(){return n(this)}static get watchers(){return{meeting:[{meetingChanged:0}],config:[{configChanged:0}]}}};v([m()],f.prototype,"meeting",void 0),v([m()],f.prototype,"states",void 0),v([m()],f.prototype,"config",void 0),v([m()],f.prototype,"t",void 0),v([m()],f.prototype,"iconPack",void 0),f.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:absolute;top:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);bottom:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);top:auto;display:flex;flex-direction:column;pointer-events:none;z-index:100}rtk-notification{margin-top:var(--rtk-space-2, 8px)}";export{f as rtk_notifications}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[0,.5,1,1.5,2,3,4,5,6,7,8,9,10,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96];const o={darkest:{background:{1e3:"#080808",900:"#1A1A1A",800:"#1E1E1E",700:"#2C2C2C",600:"#393939"},text:"#FFFFFF"},dark:{background:{1e3:"#252525",900:"#2F2F2F",800:"#323232",700:"#3E3E3E",600:"#4A4A4A"},text:"#F5F5F5","video-bg":"#1C1C1C"},light:{background:{1e3:"#FFFFFF",900:"#F5F5F5",800:"#EBEBEB",700:"#E0E0E0",600:"#D6D6D6"},text:"#111111","text-on-brand":"#ffffff","video-bg":"#DADADA"}},n={none:{none:0,sm:0,md:0,lg:0},thin:{none:0,sm:1,md:2,lg:4},fat:{none:0,sm:2,md:4,lg:8}},e={sharp:{none:0,sm:0,md:0,lg:0},rounded:{none:0,sm:4,md:8,lg:12},"extra-rounded":{none:0,sm:8,md:16,lg:24},circular:{none:9999,sm:9999,md:9999,lg:9999}};function s(t){let o="0",n="0",e="0";return 4==(t=t.trim()).length?(o="0x"+t[1]+t[1],n="0x"+t[2]+t[2],e="0x"+t[3]+t[3]):t.length>6&&(o="0x"+t[1]+t[2],n="0x"+t[3]+t[4],e="0x"+t[5]+t[6]),[+o,+n,+e]}const r=t=>"string"==typeof t&&7===t.length&&t.startsWith("#"),i="--rtk-";function c(t,o=i){return o+t}const l=(t,o,n=i)=>{Object.keys(o).forEach((e=>{const r=o[e];if("string"==typeof r)if("text"===e||"text-on-brand"===e){const o=s(r).join(" ");t.style.setProperty(c(`colors-${e}-1000`,n),`${o}`),t.style.setProperty(c(`colors-${e}-900`,n),`${o} / 0.88`),t.style.setProperty(c(`colors-${e}-800`,n),`${o} / 0.76`),t.style.setProperty(c(`colors-${e}-700`,n),`${o} / 0.64`),t.style.setProperty(c(`colors-${e}-600`,n),`${o} / 0.52`)}else{const o=s(r).join(" ");t.style.setProperty(c(`colors-${e}`,n),o)}else"object"==typeof r&&Object.keys(r).forEach((o=>{const i=s(r[o]).join(" ");t.style.setProperty(c(`colors-${e}-${o}`,n),i)}))}))},d=(s,{spacingBase:r,borderRadius:d,borderWidth:a,colors:f,fontFamily:m,googleFont:g,theme:u,tokenPrefix:p=i})=>{if("object"!=typeof s)throw new Error("[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element");if("string"==typeof g&&((t=>{const o=[];if(null==document.querySelector("link[data-rtk-font]")){const t=document.createElement("link");t.rel="preconnect",t.setAttribute("data-rtk-font","true"),t.href="https://fonts.googleapis.com";const n=t.cloneNode(!0);n.href="https://fonts.gstatic.com",n.crossOrigin="",o.push(t,n)}const n=document.createElement("link");n.rel="stylesheet",n.setAttribute("data-rtk-font",t),n.href=encodeURI(`https://fonts.googleapis.com/css2?family=${t}:wght@${[400,500,700].join(";")}&display=swap`),o.push(n),document.head.append(...o)})(g),s.style.setProperty(c("font-family",p),g)),"string"==typeof m&&s.style.setProperty(c("font-family",p),m),"number"==typeof r&&((o,n,e=i)=>{t.forEach((t=>{o.style.setProperty(c(`space-${t}`,e),t*n+"px")}))})(s,r,p),"string"==typeof a&&((t,o,e=i)=>{if(o in n){const s=n[o];Object.keys(s).forEach((o=>{t.style.setProperty(c(`border-width-${o}`,e),`${s[o]}px`)}))}})(s,a,p),"string"==typeof d&&((t,o,n=i)=>{if(o in e){const s=e[o];Object.keys(s).forEach((o=>{t.style.setProperty(c(`border-radius-${o}`,n),`${s[o]}px`)}))}})(s,d,p),"string"==typeof u){const t=o[u];null!=t&&l(s,t,p)}"object"==typeof f&&l(s,f,p)},a=Symbol.for("rtk.uikit.sdkName"),f=globalThis;function m(t){f[a]=t}function g(){var t;return null!==(t=f[a])&&void 0!==t?t:"html"}function u(t){var o,n;try{null===(n=null===(o=null==t?void 0:t.__internals__)||void 0===o?void 0:o.setUiKitMetadata)||void 0===n||n.call(o,{sdkVersion:"2.2.0-staging.5",sdkName:g()})}catch(t){}}export{r as i,d as p,u as r,m as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as r,o as n,p as t,q as o,r as i,t as a,v as u,w as e,x as f,y as c,z as v,A as s,B as d,C as b,E as l,F as j,G as p,H as y,I as O,J as m,S as w}from"./p-DYdFtxVz.js";function A(r){return r}var _,g,h,x=Date.now,F=r?function(n,t){return r(n,"toString",{configurable:!0,enumerable:!1,value:(o=t,function(){return o}),writable:!0});var o}:A,z=(_=F,g=0,h=0,function(){var r=x(),n=16-(r-h);if(h=r,n>0){if(++g>=800)return arguments[0]}else g=0;return _.apply(void 0,arguments)}),D=Math.max;var S=Object.prototype.hasOwnProperty;function k(r){return i(r)?f(r,!0):function(r){if(!o(r))return function(r){var n=[];if(null!=r)for(var t in Object(r))n.push(t);return n}(r);var n=e(r),t=[];for(var i in r)("constructor"!=i||!n&&S.call(r,i))&&t.push(i);return t}(r)}var q=Function.prototype.toString,B=Object.prototype.hasOwnProperty,C=q.call(Object);function E(r,t,o){(void 0!==o&&!u(r[t],o)||void 0===o&&!(t in r))&&n(r,t,o)}function G(r,n){if(("constructor"!==n||"function"!=typeof r[n])&&"__proto__"!=n)return r[n]}function H(r,a,u,e,f,w,A){var _=G(r,u),g=G(a,u),h=A.get(g);if(h)E(r,u,h);else{var x,F=w?w(_,g,u+"",r,a,A):void 0,z=void 0===F;if(z){var D=l(g),S=!D&&d(g),H=!D&&!S&&b(g);F=g,D||S||H?l(_)?F=_:c(x=_)&&i(x)?F=function(r,n){var t=-1,o=r.length;for(n||(n=Array(o));++t<o;)n[t]=r[t];return n}(_):S?(z=!1,F=j(g,!0)):H?(z=!1,F=p(g,!0)):F=[]:function(r){if(!c(r)||"[object Object]"!=v(r))return!1;var n=s(r);if(null===n)return!0;var t=B.call(n,"constructor")&&n.constructor;return"function"==typeof t&&t instanceof t&&q.call(t)==C}(g)||y(g)?(F=_,y(_)?F=function(r){return function(r,o,i){var a=!i;i||(i={});for(var u=-1,e=o.length;++u<e;){var f=o[u],c=void 0;void 0===c&&(c=r[f]),a?n(i,f,c):t(i,f,c)}return i}(r,k(r))}(_):o(_)&&!O(_)||(F=m(g))):z=!1}z&&(A.set(g,F),f(F,g,e,w,A),A.delete(g)),E(r,u,F)}}function I(r,n,t,i,a){r!==n&&function(r,n,t){for(var o=-1,i=Object(r),a=t(r),u=a.length;u--;){var e=a[++o];if(!1===n(i[e],e,i))break}}(n,(function(u,e){if(a||(a=new w),o(u))H(r,n,e,t,I,i,a);else{var f=i?i(G(r,e),u,e+"",r,n,a):void 0;void 0===f&&(f=u),E(r,e,f)}}),k)}var J,M=(J=function(r,n,t){I(r,n,t)},function(r,n){return z(function(r,n,t){return n=D(void 0===n?r.length-1:n,0),function(){for(var o=arguments,i=-1,a=D(o.length-n,0),u=Array(a);++i<a;)u[i]=o[n+i];i=-1;for(var e=Array(n+1);++i<n;)e[i]=o[i];return e[n]=t(u),function(r,n,t){switch(t.length){case 0:return r.call(n);case 1:return r.call(n,t[0]);case 2:return r.call(n,t[0],t[1]);case 3:return r.call(n,t[0],t[1],t[2])}return r.apply(n,t)}(r,this,e)}}(r,n,A),r+"")}((function(r,n){var t=-1,e=n.length,f=e>1?n[e-1]:void 0,c=e>2?n[2]:void 0;for(f=J.length>3&&"function"==typeof f?(e--,f):void 0,c&&function(r,n,t){if(!o(t))return!1;var e=typeof n;return!!("number"==e?i(t)&&a(n,t.length):"string"==e&&n in t)&&u(t[n],r)}(n[0],n[1],c)&&(f=e<3?void 0:f,e=1),r=Object(r);++t<e;){var v=n[t];v&&J(r,v,t)}return r})));export{M as m}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as r,z as t,q as n,M as i}from"./p-DYdFtxVz.js";var o=/\s/,e=/^\s+/;var u=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,a=/^0o[0-7]+$/i,v=parseInt;function c(i){if("number"==typeof i)return i;if(function(n){return"symbol"==typeof n||r(n)&&"[object Symbol]"==t(n)}(i))return NaN;if(n(i)){var c="function"==typeof i.valueOf?i.valueOf():i;i=n(c)?c+"":c}if("string"!=typeof i)return 0===i?i:+i;var s;i=(s=i)?s.slice(0,function(r){for(var t=r.length;t--&&o.test(r.charAt(t)););return t}(s)+1).replace(e,""):s;var d=f.test(i);return d||a.test(i)?v(i.slice(2),d?2:8):u.test(i)?NaN:+i}var s=function(){return i.Date.now()},d=Math.max,m=Math.min;function p(r,t,i){var o,e,u,f,a,v,p=0,y=!1,T=!1,b=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function l(t){var n=o,i=e;return o=e=void 0,p=t,f=r.apply(i,n)}function x(r){var n=r-v;return void 0===v||n>=t||n<0||T&&r-p>=u}function h(){var r=s();if(x(r))return N(r);a=setTimeout(h,function(r){var n=t-(r-v);return T?m(n,u-(r-p)):n}(r))}function N(r){return a=void 0,b&&o?l(r):(o=e=void 0,f)}function M(){var r=s(),n=x(r);if(o=arguments,e=this,v=r,n){if(void 0===a)return function(r){return p=r,a=setTimeout(h,t),y?l(r):f}(v);if(T)return clearTimeout(a),a=setTimeout(h,t),l(v)}return void 0===a&&(a=setTimeout(h,t)),f}return t=c(t)||0,n(i)&&(y=!!i.leading,u=(T="maxWait"in i)?d(c(i.maxWait)||0,t):u,b="trailing"in i?!!i.trailing:b),M.cancel=function(){void 0!==a&&clearTimeout(a),p=0,o=v=e=a=void 0},M.flush=function(){return void 0===a?f:N(s())},M}export{p as d}
|