@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
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
var spacingScale = [
|
|
2
|
+
0,
|
|
3
|
+
0.5,
|
|
4
|
+
1,
|
|
5
|
+
1.5,
|
|
6
|
+
2,
|
|
7
|
+
3,
|
|
8
|
+
4,
|
|
9
|
+
5,
|
|
10
|
+
6,
|
|
11
|
+
7,
|
|
12
|
+
8,
|
|
13
|
+
9,
|
|
14
|
+
10,
|
|
15
|
+
12,
|
|
16
|
+
14,
|
|
17
|
+
16,
|
|
18
|
+
20,
|
|
19
|
+
24,
|
|
20
|
+
28,
|
|
21
|
+
32,
|
|
22
|
+
36,
|
|
23
|
+
40,
|
|
24
|
+
44,
|
|
25
|
+
48,
|
|
26
|
+
52,
|
|
27
|
+
56,
|
|
28
|
+
60,
|
|
29
|
+
64,
|
|
30
|
+
72,
|
|
31
|
+
80,
|
|
32
|
+
96
|
|
33
|
+
];
|
|
34
|
+
|
|
35
|
+
const THEMES = {
|
|
36
|
+
darkest: {
|
|
37
|
+
background: {
|
|
38
|
+
1000: '#080808',
|
|
39
|
+
900: '#1A1A1A',
|
|
40
|
+
800: '#1E1E1E',
|
|
41
|
+
700: '#2C2C2C',
|
|
42
|
+
600: '#393939',
|
|
43
|
+
},
|
|
44
|
+
text: '#FFFFFF',
|
|
45
|
+
},
|
|
46
|
+
dark: {
|
|
47
|
+
background: {
|
|
48
|
+
1000: '#252525',
|
|
49
|
+
900: '#2F2F2F',
|
|
50
|
+
800: '#323232',
|
|
51
|
+
700: '#3E3E3E',
|
|
52
|
+
600: '#4A4A4A',
|
|
53
|
+
},
|
|
54
|
+
text: '#F5F5F5',
|
|
55
|
+
'video-bg': '#1C1C1C',
|
|
56
|
+
},
|
|
57
|
+
light: {
|
|
58
|
+
background: {
|
|
59
|
+
1000: '#FFFFFF',
|
|
60
|
+
900: '#F5F5F5',
|
|
61
|
+
800: '#EBEBEB',
|
|
62
|
+
700: '#E0E0E0',
|
|
63
|
+
600: '#D6D6D6',
|
|
64
|
+
},
|
|
65
|
+
text: '#111111',
|
|
66
|
+
'text-on-brand': '#ffffff',
|
|
67
|
+
'video-bg': '#DADADA',
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
const BORDER_WIDTHS = {
|
|
72
|
+
none: {
|
|
73
|
+
none: 0,
|
|
74
|
+
sm: 0,
|
|
75
|
+
md: 0,
|
|
76
|
+
lg: 0,
|
|
77
|
+
},
|
|
78
|
+
thin: {
|
|
79
|
+
none: 0,
|
|
80
|
+
sm: 1,
|
|
81
|
+
md: 2,
|
|
82
|
+
lg: 4,
|
|
83
|
+
},
|
|
84
|
+
fat: {
|
|
85
|
+
none: 0,
|
|
86
|
+
sm: 2,
|
|
87
|
+
md: 4,
|
|
88
|
+
lg: 8,
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
const BORDER_RADII = {
|
|
92
|
+
sharp: {
|
|
93
|
+
none: 0,
|
|
94
|
+
sm: 0,
|
|
95
|
+
md: 0,
|
|
96
|
+
lg: 0,
|
|
97
|
+
},
|
|
98
|
+
rounded: {
|
|
99
|
+
none: 0,
|
|
100
|
+
sm: 4,
|
|
101
|
+
md: 8,
|
|
102
|
+
lg: 12,
|
|
103
|
+
},
|
|
104
|
+
'extra-rounded': {
|
|
105
|
+
none: 0,
|
|
106
|
+
sm: 8,
|
|
107
|
+
md: 16,
|
|
108
|
+
lg: 24,
|
|
109
|
+
},
|
|
110
|
+
circular: {
|
|
111
|
+
none: 9999,
|
|
112
|
+
sm: 9999,
|
|
113
|
+
md: 9999,
|
|
114
|
+
lg: 9999,
|
|
115
|
+
},
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
function hexToRGB(h) {
|
|
119
|
+
h = h.trim();
|
|
120
|
+
let r = '0', g = '0', b = '0';
|
|
121
|
+
if (h.length == 4) {
|
|
122
|
+
r = '0x' + h[1] + h[1];
|
|
123
|
+
g = '0x' + h[2] + h[2];
|
|
124
|
+
b = '0x' + h[3] + h[3];
|
|
125
|
+
}
|
|
126
|
+
else if (h.length > 6) {
|
|
127
|
+
r = '0x' + h[1] + h[2];
|
|
128
|
+
g = '0x' + h[3] + h[4];
|
|
129
|
+
b = '0x' + h[5] + h[6];
|
|
130
|
+
}
|
|
131
|
+
return [+r, +g, +b];
|
|
132
|
+
}
|
|
133
|
+
const isValidHexColor = (color) => {
|
|
134
|
+
return typeof color === 'string' && color.length === 7 && color.startsWith('#');
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
const DEFAULT_CSS_TOKEN_PREFIX = '--rtk-';
|
|
138
|
+
function getToken(token, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) {
|
|
139
|
+
return tokenPrefix + token;
|
|
140
|
+
}
|
|
141
|
+
const provideGoogleFont = (fontFamily) => {
|
|
142
|
+
const weights = [400, 500, 700];
|
|
143
|
+
const links = [];
|
|
144
|
+
if (document.querySelector('link[data-rtk-font]') == null) {
|
|
145
|
+
/**
|
|
146
|
+
* Adds the following preconnect link tags for faster google font loading
|
|
147
|
+
* <link rel="preconnect" href="https://fonts.googleapis.com">
|
|
148
|
+
* <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
149
|
+
*/
|
|
150
|
+
const p1 = document.createElement('link');
|
|
151
|
+
p1.rel = 'preconnect';
|
|
152
|
+
p1.setAttribute('data-rtk-font', 'true');
|
|
153
|
+
p1.href = 'https://fonts.googleapis.com';
|
|
154
|
+
const p2 = p1.cloneNode(true);
|
|
155
|
+
p2.href = 'https://fonts.gstatic.com';
|
|
156
|
+
p2.crossOrigin = '';
|
|
157
|
+
links.push(p1, p2);
|
|
158
|
+
}
|
|
159
|
+
const link = document.createElement('link');
|
|
160
|
+
link.rel = 'stylesheet';
|
|
161
|
+
link.setAttribute('data-rtk-font', fontFamily);
|
|
162
|
+
link.href = encodeURI(`https://fonts.googleapis.com/css2?family=${fontFamily}:wght@${weights.join(';')}&display=swap`);
|
|
163
|
+
links.push(link);
|
|
164
|
+
document.head.append(...links);
|
|
165
|
+
};
|
|
166
|
+
const provideSpacing = (el, spacingBase, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
|
|
167
|
+
spacingScale.forEach((space) => {
|
|
168
|
+
el.style.setProperty(getToken(`space-${space}`, tokenPrefix), `${space * spacingBase}px`);
|
|
169
|
+
});
|
|
170
|
+
};
|
|
171
|
+
const provideBorderWidth = (el, borderWidth, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
|
|
172
|
+
if (borderWidth in BORDER_WIDTHS) {
|
|
173
|
+
const widths = BORDER_WIDTHS[borderWidth];
|
|
174
|
+
Object.keys(widths).forEach((type) => {
|
|
175
|
+
el.style.setProperty(getToken(`border-width-${type}`, tokenPrefix), `${widths[type]}px`);
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
const provideBorderRadius = (el, borderRadius, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
|
|
180
|
+
if (borderRadius in BORDER_RADII) {
|
|
181
|
+
const radii = BORDER_RADII[borderRadius];
|
|
182
|
+
Object.keys(radii).forEach((type) => {
|
|
183
|
+
el.style.setProperty(getToken(`border-radius-${type}`, tokenPrefix), `${radii[type]}px`);
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
const provideColors = (el, colors, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX) => {
|
|
188
|
+
Object.keys(colors).forEach((color) => {
|
|
189
|
+
const colorValue = colors[color];
|
|
190
|
+
if (typeof colorValue === 'string') {
|
|
191
|
+
if (color === 'text' || color === 'text-on-brand') {
|
|
192
|
+
const rgb = hexToRGB(colorValue).join(' ');
|
|
193
|
+
el.style.setProperty(getToken(`colors-${color}-1000`, tokenPrefix), `${rgb}`);
|
|
194
|
+
el.style.setProperty(getToken(`colors-${color}-900`, tokenPrefix), `${rgb} / 0.88`);
|
|
195
|
+
el.style.setProperty(getToken(`colors-${color}-800`, tokenPrefix), `${rgb} / 0.76`);
|
|
196
|
+
el.style.setProperty(getToken(`colors-${color}-700`, tokenPrefix), `${rgb} / 0.64`);
|
|
197
|
+
el.style.setProperty(getToken(`colors-${color}-600`, tokenPrefix), `${rgb} / 0.52`);
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
const rgb = hexToRGB(colorValue).join(' ');
|
|
201
|
+
el.style.setProperty(getToken(`colors-${color}`, tokenPrefix), rgb);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
else if (typeof colorValue === 'object') {
|
|
205
|
+
Object.keys(colorValue).forEach((shade) => {
|
|
206
|
+
const shadeValue = colorValue[shade];
|
|
207
|
+
const rgb = hexToRGB(shadeValue).join(' ');
|
|
208
|
+
el.style.setProperty(getToken(`colors-${color}-${shade}`, tokenPrefix), rgb);
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Provides the design system new tokens to consume values from for styling the RealtimeKit UI components.
|
|
215
|
+
* @param el The element/node you want to _provide_ RTK Design system.
|
|
216
|
+
* @param tokens The design tokens you want to updated.
|
|
217
|
+
*/
|
|
218
|
+
const provideRtkDesignSystem = (el, { spacingBase, borderRadius, borderWidth, colors, fontFamily, googleFont, theme, tokenPrefix = DEFAULT_CSS_TOKEN_PREFIX, }) => {
|
|
219
|
+
if (typeof el !== 'object') {
|
|
220
|
+
throw new Error('[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element');
|
|
221
|
+
}
|
|
222
|
+
if (typeof googleFont === 'string') {
|
|
223
|
+
provideGoogleFont(googleFont);
|
|
224
|
+
el.style.setProperty(getToken('font-family', tokenPrefix), googleFont);
|
|
225
|
+
}
|
|
226
|
+
if (typeof fontFamily === 'string') {
|
|
227
|
+
el.style.setProperty(getToken('font-family', tokenPrefix), fontFamily);
|
|
228
|
+
}
|
|
229
|
+
if (typeof spacingBase === 'number') {
|
|
230
|
+
provideSpacing(el, spacingBase, tokenPrefix);
|
|
231
|
+
}
|
|
232
|
+
if (typeof borderWidth === 'string') {
|
|
233
|
+
provideBorderWidth(el, borderWidth, tokenPrefix);
|
|
234
|
+
}
|
|
235
|
+
if (typeof borderRadius === 'string') {
|
|
236
|
+
provideBorderRadius(el, borderRadius, tokenPrefix);
|
|
237
|
+
}
|
|
238
|
+
if (typeof theme === 'string') {
|
|
239
|
+
const colors = THEMES[theme];
|
|
240
|
+
if (colors != null)
|
|
241
|
+
provideColors(el, colors, tokenPrefix);
|
|
242
|
+
}
|
|
243
|
+
if (typeof colors === 'object') {
|
|
244
|
+
provideColors(el, colors, tokenPrefix);
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* The literal below is replaced with the released package version by `prepublish.js`.
|
|
250
|
+
* Builds that are not published (local, dev) report it as is.
|
|
251
|
+
*/
|
|
252
|
+
const UI_KIT_VERSION = '2.2.0-staging.5';
|
|
253
|
+
/**
|
|
254
|
+
* The wrapper packages load components from the loader bundle, which carries its own copy of
|
|
255
|
+
* this module, separate from the copy behind the main entry. The registered symbol is the one
|
|
256
|
+
* slot both copies can see.
|
|
257
|
+
*/
|
|
258
|
+
const SDK_NAME_KEY = Symbol.for('rtk.uikit.sdkName');
|
|
259
|
+
const sdkNameSlot = globalThis;
|
|
260
|
+
/**
|
|
261
|
+
* Declares which UI Kit package is in use. Called by the React and Angular wrapper packages.
|
|
262
|
+
* @internal
|
|
263
|
+
*/
|
|
264
|
+
function setUiKitSdkName(name) {
|
|
265
|
+
sdkNameSlot[SDK_NAME_KEY] = name;
|
|
266
|
+
}
|
|
267
|
+
function getUiKitSdkName() {
|
|
268
|
+
var _a;
|
|
269
|
+
return (_a = sdkNameSlot[SDK_NAME_KEY]) !== null && _a !== void 0 ? _a : 'html';
|
|
270
|
+
}
|
|
271
|
+
/** Tells the core SDK which UI Kit package and version is driving the meeting. */
|
|
272
|
+
function reportUiKitMetadata(meeting) {
|
|
273
|
+
var _a, _b;
|
|
274
|
+
try {
|
|
275
|
+
// Older core SDK versions do not have this method
|
|
276
|
+
(_b = (_a = meeting === null || meeting === void 0 ? void 0 : meeting.__internals__) === null || _a === void 0 ? void 0 : _a.setUiKitMetadata) === null || _b === void 0 ? void 0 : _b.call(_a, {
|
|
277
|
+
sdkVersion: UI_KIT_VERSION,
|
|
278
|
+
sdkName: getUiKitSdkName(),
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
catch (_c) {
|
|
282
|
+
// Reporting must never break the meeting
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export { isValidHexColor as i, provideRtkDesignSystem as p, reportUiKitMetadata as r, setUiKitSdkName as s };
|
|
@@ -1,5 +1,218 @@
|
|
|
1
1
|
import { S as StencilCore } from './index-gJCRRBX0.js';
|
|
2
2
|
|
|
3
|
+
const isFirefox = (meeting) => { var _a; return (_a = meeting === null || meeting === void 0 ? void 0 : meeting.__internals__) === null || _a === void 0 ? void 0 : _a.browserSpecs.isFirefox(); };
|
|
4
|
+
|
|
5
|
+
const SOUNDS = {
|
|
6
|
+
joined: 'https://rtk-assets.realtime.cloudflare.com/ui-kit/sounds/notification_join.mp3',
|
|
7
|
+
left: 'https://rtk-assets.realtime.cloudflare.com/ui-kit/sounds/notification_join.mp3',
|
|
8
|
+
message: 'https://rtk-assets.realtime.cloudflare.com/ui-kit/sounds/notification_message.mp3',
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Checks that a value is the name of a built-in sound: `joined`, `left` or `message`.
|
|
12
|
+
*/
|
|
13
|
+
function isBuiltInSoundName(value) {
|
|
14
|
+
return typeof value === 'string' && Object.prototype.hasOwnProperty.call(SOUNDS, value);
|
|
15
|
+
}
|
|
16
|
+
const AUDIO_FILE_EXTENSIONS = ['.mp3', '.wav', '.ogg', '.m4a', '.aac', '.flac', '.opus', '.webm'];
|
|
17
|
+
/**
|
|
18
|
+
* Checks that a value is a valid sound URL.
|
|
19
|
+
* It must be an absolute URL that starts with `https://` or `http://` and ends with a
|
|
20
|
+
* supported audio file extension: `.mp3`, `.wav`, `.ogg`, `.m4a`, `.aac`, `.flac`, `.opus`
|
|
21
|
+
* or `.webm`.
|
|
22
|
+
* A query string after the extension is allowed.
|
|
23
|
+
*/
|
|
24
|
+
function isAudioFileUrl(url) {
|
|
25
|
+
if (!url || typeof url !== 'string')
|
|
26
|
+
return false;
|
|
27
|
+
let parsedUrl;
|
|
28
|
+
try {
|
|
29
|
+
// no base URL: a relative path is not a valid URL here
|
|
30
|
+
parsedUrl = new URL(url);
|
|
31
|
+
}
|
|
32
|
+
catch (error) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
if (parsedUrl.protocol !== 'https:' && parsedUrl.protocol !== 'http:')
|
|
36
|
+
return false;
|
|
37
|
+
const path = parsedUrl.pathname.toLowerCase();
|
|
38
|
+
return AUDIO_FILE_EXTENSIONS.some((extension) => path.endsWith(extension));
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Handles notification sounds in a meeting
|
|
42
|
+
*/
|
|
43
|
+
class RTKNotificationsAudio {
|
|
44
|
+
constructor(meeting) {
|
|
45
|
+
this.meeting = meeting;
|
|
46
|
+
this.audio = document.createElement('audio');
|
|
47
|
+
this.audio.volume = 0.3;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Plays one of the built-in notification sounds: `joined`, `left` or `message`.
|
|
51
|
+
* After a sound starts, no other sound can start for `duration` milliseconds.
|
|
52
|
+
* A call during that time does nothing.
|
|
53
|
+
* @param sound The name of the built-in sound
|
|
54
|
+
* @param duration How long this sound plays before other sounds can start, in milliseconds
|
|
55
|
+
*/
|
|
56
|
+
play(sound, duration = 3000) {
|
|
57
|
+
this.playUrlSound(SOUNDS[sound], duration);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Plays an audio file from a URL.
|
|
61
|
+
* It must be an absolute URL that starts with `https://` or `http://` and ends with a
|
|
62
|
+
* supported audio file extension: `.mp3`, `.wav`, `.ogg`, `.m4a`, `.aac`, `.flac`, `.opus`
|
|
63
|
+
* or `.webm`.
|
|
64
|
+
* Any other URL is ignored.
|
|
65
|
+
* @param url The URL of the audio file to play
|
|
66
|
+
* @param duration How long this sound plays before other sounds can start, in milliseconds
|
|
67
|
+
*/
|
|
68
|
+
playUrl(url, duration = 3000) {
|
|
69
|
+
if (!isAudioFileUrl(url))
|
|
70
|
+
return;
|
|
71
|
+
this.playUrlSound(url, duration);
|
|
72
|
+
}
|
|
73
|
+
playUrlSound(source, duration) {
|
|
74
|
+
var _a;
|
|
75
|
+
if (this.playing)
|
|
76
|
+
return;
|
|
77
|
+
this.playing = true;
|
|
78
|
+
this.audio.src = source;
|
|
79
|
+
this.audio.volume = 0.3;
|
|
80
|
+
(_a = this.audio.play()) === null || _a === void 0 ? void 0 : _a.catch((_) => { });
|
|
81
|
+
setTimeout(() => {
|
|
82
|
+
this.playing = false;
|
|
83
|
+
}, duration);
|
|
84
|
+
}
|
|
85
|
+
async setDevice(id) {
|
|
86
|
+
var _a, _b, _c;
|
|
87
|
+
if (isFirefox(this.meeting))
|
|
88
|
+
return;
|
|
89
|
+
await ((_c = (_b = (_a = this.audio) === null || _a === void 0 ? void 0 : _a.setSinkId) === null || _b === void 0 ? void 0 : _b.call(_a, id)) === null || _c === void 0 ? void 0 : _c.catch((_) => { }));
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const DEFAULT_NOTIFICATION_DURATION = 2000;
|
|
94
|
+
const DEFAULT_NOTIFICATION_CONFIG = Object.freeze({
|
|
95
|
+
notifications: {
|
|
96
|
+
participant_joined: true,
|
|
97
|
+
participant_left: true,
|
|
98
|
+
participant_joined_waitlist: true,
|
|
99
|
+
chat_new_message: true,
|
|
100
|
+
chat_message_edited: false,
|
|
101
|
+
chat_message_deleted: false,
|
|
102
|
+
polls_new_poll: true,
|
|
103
|
+
tab_sync_plugin_switched: true,
|
|
104
|
+
tab_sync_screen_share_switched: true,
|
|
105
|
+
recording_started: true,
|
|
106
|
+
recording_stopped: true,
|
|
107
|
+
stage_requested_to_join: false,
|
|
108
|
+
stage_joined: false,
|
|
109
|
+
stage_request_accepted: true,
|
|
110
|
+
stage_request_rejected: true,
|
|
111
|
+
stage_new_request_received: true,
|
|
112
|
+
stage_invite_sent: true,
|
|
113
|
+
speaker_switched: true,
|
|
114
|
+
camera_switched: true,
|
|
115
|
+
microphone_switched: true,
|
|
116
|
+
network_restored: true,
|
|
117
|
+
network_reconnecting: true,
|
|
118
|
+
network_delayed: true,
|
|
119
|
+
network_disconnected: true,
|
|
120
|
+
network_failed: true,
|
|
121
|
+
api_error: true,
|
|
122
|
+
custom: true,
|
|
123
|
+
},
|
|
124
|
+
notification_sounds: {
|
|
125
|
+
participant_joined: true,
|
|
126
|
+
participant_left: false,
|
|
127
|
+
participant_joined_waitlist: true,
|
|
128
|
+
chat_new_message: true,
|
|
129
|
+
chat_message_edited: false,
|
|
130
|
+
chat_message_deleted: false,
|
|
131
|
+
polls_new_poll: true,
|
|
132
|
+
tab_sync_plugin_switched: false,
|
|
133
|
+
tab_sync_screen_share_switched: false,
|
|
134
|
+
recording_started: false,
|
|
135
|
+
recording_stopped: false,
|
|
136
|
+
stage_requested_to_join: false,
|
|
137
|
+
stage_joined: false,
|
|
138
|
+
stage_request_accepted: false,
|
|
139
|
+
stage_request_rejected: false,
|
|
140
|
+
stage_new_request_received: false,
|
|
141
|
+
stage_invite_sent: false,
|
|
142
|
+
speaker_switched: false,
|
|
143
|
+
camera_switched: false,
|
|
144
|
+
microphone_switched: false,
|
|
145
|
+
network_restored: false,
|
|
146
|
+
network_reconnecting: false,
|
|
147
|
+
network_delayed: false,
|
|
148
|
+
network_disconnected: false,
|
|
149
|
+
network_failed: false,
|
|
150
|
+
api_error: false,
|
|
151
|
+
custom: true,
|
|
152
|
+
},
|
|
153
|
+
notification_duration: {
|
|
154
|
+
participant_joined: 2100,
|
|
155
|
+
participant_left: 2100,
|
|
156
|
+
participant_joined_waitlist: 4000,
|
|
157
|
+
chat_new_message: DEFAULT_NOTIFICATION_DURATION,
|
|
158
|
+
chat_message_edited: DEFAULT_NOTIFICATION_DURATION,
|
|
159
|
+
chat_message_deleted: DEFAULT_NOTIFICATION_DURATION,
|
|
160
|
+
polls_new_poll: DEFAULT_NOTIFICATION_DURATION,
|
|
161
|
+
tab_sync_plugin_switched: 2100,
|
|
162
|
+
tab_sync_screen_share_switched: DEFAULT_NOTIFICATION_DURATION,
|
|
163
|
+
recording_started: DEFAULT_NOTIFICATION_DURATION,
|
|
164
|
+
recording_stopped: DEFAULT_NOTIFICATION_DURATION,
|
|
165
|
+
stage_requested_to_join: DEFAULT_NOTIFICATION_DURATION,
|
|
166
|
+
stage_joined: DEFAULT_NOTIFICATION_DURATION,
|
|
167
|
+
stage_request_accepted: 3000,
|
|
168
|
+
stage_request_rejected: 3000,
|
|
169
|
+
stage_new_request_received: 3000,
|
|
170
|
+
stage_invite_sent: DEFAULT_NOTIFICATION_DURATION,
|
|
171
|
+
speaker_switched: 5000,
|
|
172
|
+
camera_switched: 5000,
|
|
173
|
+
microphone_switched: 5000,
|
|
174
|
+
network_restored: 3000,
|
|
175
|
+
network_reconnecting: 0,
|
|
176
|
+
network_delayed: 0,
|
|
177
|
+
network_disconnected: 0,
|
|
178
|
+
network_failed: 0,
|
|
179
|
+
api_error: DEFAULT_NOTIFICATION_DURATION,
|
|
180
|
+
custom: DEFAULT_NOTIFICATION_DURATION,
|
|
181
|
+
},
|
|
182
|
+
notification_sound_urls: {
|
|
183
|
+
participant_joined: SOUNDS.joined,
|
|
184
|
+
participant_left: SOUNDS.left,
|
|
185
|
+
participant_joined_waitlist: SOUNDS.message,
|
|
186
|
+
chat_new_message: SOUNDS.message,
|
|
187
|
+
chat_message_edited: SOUNDS.message,
|
|
188
|
+
chat_message_deleted: SOUNDS.message,
|
|
189
|
+
polls_new_poll: SOUNDS.message,
|
|
190
|
+
tab_sync_plugin_switched: SOUNDS.message,
|
|
191
|
+
tab_sync_screen_share_switched: SOUNDS.message,
|
|
192
|
+
recording_started: SOUNDS.message,
|
|
193
|
+
recording_stopped: SOUNDS.message,
|
|
194
|
+
stage_requested_to_join: SOUNDS.joined,
|
|
195
|
+
stage_joined: SOUNDS.joined,
|
|
196
|
+
stage_request_accepted: SOUNDS.message,
|
|
197
|
+
stage_request_rejected: SOUNDS.message,
|
|
198
|
+
stage_new_request_received: SOUNDS.message,
|
|
199
|
+
stage_invite_sent: SOUNDS.message,
|
|
200
|
+
speaker_switched: SOUNDS.message,
|
|
201
|
+
camera_switched: SOUNDS.message,
|
|
202
|
+
microphone_switched: SOUNDS.message,
|
|
203
|
+
network_restored: SOUNDS.message,
|
|
204
|
+
network_reconnecting: SOUNDS.message,
|
|
205
|
+
network_delayed: SOUNDS.message,
|
|
206
|
+
network_disconnected: SOUNDS.message,
|
|
207
|
+
network_failed: SOUNDS.message,
|
|
208
|
+
api_error: SOUNDS.message,
|
|
209
|
+
custom: undefined,
|
|
210
|
+
},
|
|
211
|
+
participant_joined_sound_notification_limit: 3,
|
|
212
|
+
participant_chat_message_sound_notification_limit: 10,
|
|
213
|
+
visible_notifications_limit: 5,
|
|
214
|
+
});
|
|
215
|
+
|
|
3
216
|
/** Detect free variable `global` from Node.js. */
|
|
4
217
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
5
218
|
|
|
@@ -2344,14 +2557,7 @@ const defaultConfig = {
|
|
|
2344
2557
|
'rtk-ai-toggle',
|
|
2345
2558
|
],
|
|
2346
2559
|
},
|
|
2347
|
-
config: {
|
|
2348
|
-
notification_sounds: {
|
|
2349
|
-
participant_left: false,
|
|
2350
|
-
},
|
|
2351
|
-
participant_joined_sound_notification_limit: 10,
|
|
2352
|
-
participant_chat_message_sound_notification_limit: 10,
|
|
2353
|
-
videoFit: 'cover',
|
|
2354
|
-
},
|
|
2560
|
+
config: Object.assign(Object.assign({}, clone(DEFAULT_NOTIFICATION_CONFIG)), { videoFit: 'cover' }),
|
|
2355
2561
|
};
|
|
2356
2562
|
const createDefaultConfig = () => {
|
|
2357
2563
|
return clone(defaultConfig);
|
|
@@ -3029,6 +3235,8 @@ const defaultLanguage = {
|
|
|
3029
3235
|
'notifications.request_to_join_rejected': 'Request to join rejected',
|
|
3030
3236
|
'notifications.accept': 'Accept',
|
|
3031
3237
|
'notifications.new_poll_created_by': 'New poll created by',
|
|
3238
|
+
'notifications.chat_message_edited': 'edited a message',
|
|
3239
|
+
'notifications.chat_message_deleted': 'deleted a message',
|
|
3032
3240
|
'notifications.connected_to': 'Connected to',
|
|
3033
3241
|
'notifications.plugin_switched_to': 'Plugin switched to',
|
|
3034
3242
|
'notifications.remote_control_requested': 'has requested for remote control',
|
|
@@ -3351,4 +3559,4 @@ function removeElement(propName, element, targetStore = uiStore) {
|
|
|
3351
3559
|
}
|
|
3352
3560
|
}
|
|
3353
3561
|
|
|
3354
|
-
export {
|
|
3562
|
+
export { getPrototype as A, isBuffer as B, isTypedArray as C, DEFAULT_NOTIFICATION_CONFIG as D, isArray as E, cloneBuffer as F, cloneTypedArray as G, isArguments as H, isFunction as I, initCloneObject as J, appendElement as K, removeElement as L, root as M, isFirefox as N, isAudioFileUrl as O, isBuiltInSoundName as P, getPreference as Q, RTKNotificationsAudio as R, Stack as S, uiState as a, createPeerStore as b, createDefaultConfig as c, defaultConfig as d, defaultIconPack as e, defaultOverrides as f, getInitialStates as g, defaultLanguage as h, useLanguage as i, gracefulStorage$1 as j, clone as k, getUserPreferences as l, chatUnreadTimestamps as m, defineProperty as n, baseAssignValue as o, assignValue as p, isObject as q, isArrayLike as r, setPreference as s, isIndex as t, uiStore as u, eq as v, isPrototype as w, arrayLikeKeys as x, isObjectLike as y, baseGetTag as z };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{B as BreakoutRoomsManager}from"./p-Rq_6y0HI.js";export{p as provideRtkDesignSystem,s as setUiKitSdkName}from"./p-
|
|
1
|
+
export{B as BreakoutRoomsManager}from"./p-Rq_6y0HI.js";export{p as provideRtkDesignSystem,s as setUiKitSdkName}from"./p-BLyVHBPm.js";import{g as t}from"./p-aIVgtPUf.js";export{e as extendConfig}from"./p-aIVgtPUf.js";import{c as r}from"./p-DYdFtxVz.js";export{R as RtkNotificationsAudio,b as createPeerStore,d as defaultConfig,e as defaultIconPack,h as defaultLanguage,f as defaultOverrides,g as getInitialStates,a as uiState,u as uiStore,i as useLanguage}from"./p-DYdFtxVz.js";export{g as generateChatGroupKey,a as getChatGroups,c as getParticipantUserId,b as getUnreadChatCounts}from"./p-KiBrYIp4.js";import"./p-Daj_55_i.js";import"./p-Bzni6MqK.js";import"./p-C0vp-Q7v.js";import"./p-gJCRRBX0.js";const o=(t,s,i)=>{var e;if("undefined"==typeof document)return!1;const r=new CustomEvent("rtkNotification",{detail:Object.assign(Object.assign({},t),{playSound:s,meetingId:null===(e=null==i?void 0:i.meta)||void 0===e?void 0:e.meetingId}),composed:!0});return document.dispatchEvent(r)};function n(t){return s=>Array.isArray(s)?s[0]===t:s===t}function l(t){return s=>Array.isArray(s)?s[0]!==t:s!==t}function m(t){return t.replace(/([a-z])([A-Z])/g,(t=>`${t[0]}-${t[1]}`.toLowerCase()))}class v{constructor(t,s,i){this.elem=t,this.config=s,this.keyString=i}add(t,s={}){var i;let e=t=m(t);return Object.keys(s).length>0&&(e=[t,s]),Array.isArray(this.elem)?this.elem.push(e):"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=[...this.elem.children,e]:"remove"in this.elem&&Array.isArray(this.elem.remove)&&this.elem.remove.find(n(t))?this.elem.remove=this.elem.remove.filter(l(t)):("add"in this.elem||(this.elem.add=[]),null===(i=this.elem.add)||void 0===i||i.push(e)),this}remove(t){var s;if(t=m(t),Array.isArray(this.elem)){const s=this.elem.findIndex(n(t));s>-1&&this.elem.splice(s,1)}else"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=this.elem.children.filter(l(t)):"add"in this.elem&&Array.isArray(this.elem.add)&&this.elem.add.find((s=>s===t))?this.elem.add=this.elem.add.filter(l(t)):("remove"in this.elem||(this.elem.remove=[]),null===(s=this.elem.remove)||void 0===s||s.push(t));return this}set style(t){console.log(t)}setChildrenProps(t,s){console.log(this.keyString,t,s)}getChildrenProps(t){return console.log(this.keyString,t),{}}replace(t){console.log(this.config,t)}}class y{constructor(t){this.config=t||r()}find(t,s={}){t=m(t);const i=[],e=[];Object.keys(s||{}).forEach((t=>{"boolean"==typeof s[t]?i.push(t):e.push([t,s[t]])})),i.sort();const r=this.config.root;if(void 0===r)return;let o=t,n="";i.length>0&&(n=`.${i.join(".")}`,o=`${t}${n}`,Array.isArray(r[t])&&(r[t]={states:[],children:r[t]}),void 0===r[t].states&&(r[t].states=[]),i.forEach((s=>{var i,e;-1===(null===(i=r[t].states)||void 0===i?void 0:i.indexOf(s))&&(null===(e=r[t].states)||void 0===e||e.push(s))}))),e.length>0&&e.forEach((s=>{o=`${t}[${s[0]}=${s[1]}]${n}`,Array.isArray(r[t])&&(r[t]={state:s[0],children:r[t]})}));let a=r[o];return void 0===a&&(r[o]={},a=r[o]),new v(a,this.config,o)}build(){return this.config}}function j(s,i,e){if(!e){const s=t(i.self.config,i);e=s.config}return s.map((t=>{e=t.register(e,i,(t=>new y(t)))})),e}export{y as RtkUiBuilder,r as createDefaultConfig,t as generateConfig,j as registerAddons,o as sendNotification}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as r,h as i,a as s}from"./p-gJCRRBX0.js";import{c as a,e,i as o}from"./p-
|
|
1
|
+
import{r as t,d as r,h as i,a as s}from"./p-gJCRRBX0.js";import{c as a,e,i as o}from"./p-DYdFtxVz.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{S as n}from"./p-DjuLCOXk.js";import{d as p}from"./p-DEqeU73W.js";import"./p-Daj_55_i.js";var c=function(t,r,i,s){var a,e=arguments.length,o=e<3?r:null===s?s=Object.getOwnPropertyDescriptor(r,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(o=(e<3?a(o):e>3?a(r,i,o):a(r,i))||o);return e>3&&o&&Object.defineProperty(r,i,o),o};const h=class{constructor(s){t(this,s),this.stateUpdate=r(this,"rtkStateUpdate",7),this.config=a(),this.iconPack=e,this.defaultParticipantsTabId="stage-list",this.t=o(),this.currentParticipantsTabId=this.defaultParticipantsTabId,this.tabs=[],this.hasRequests=!1,this.search="",this.updateParticipantCountsInTabs=p((()=>{var t;let r=(null===(t=this.meeting.participants.waitlisted)||void 0===t?void 0:t.size)||0,s=0,a=0;this.meeting.participants.joined.toArray().forEach((t=>{"ON_STAGE"===t.stageStatus&&s++,"OFF_STAGE"===t.stageStatus&&a++,"REQUESTED_TO_JOIN_STAGE"===t.stageStatus&&(r++,a++),"ACCEPTED_TO_JOIN_STAGE"===t.stageStatus&&a++})),"ON_STAGE"===this.meeting.self.stageStatus&&s++,"OFF_STAGE"===this.meeting.self.stageStatus&&a++,"REQUESTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&(r++,a++),"ACCEPTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&a++;const e=[];this.shouldShowRequestsTab()&&e.push({id:"requests",name:i("span",null,this.t("requests")," ",i("span",{class:`tab-participant-count-badge ${r>0?"requests-pending":""} ${"requests"===this.currentParticipantsTabId?"selected-tab":""}`},r))}),e.push({id:"stage-list",name:i("span",null,this.t("participants")," ",i("span",{class:"tab-participant-count-badge "+("stage-list"===this.currentParticipantsTabId?"selected-tab":"")},s))}),this.shouldShowViewersTab()&&e.push({id:"viewer-list",name:i("span",null,this.t("viewers")," ",i("span",{class:"tab-participant-count-badge "+("viewer-list"===this.currentParticipantsTabId?"selected-tab":"")},a))}),this.tabs=e,this.hasRequests=r>0})),this.onSearchInput=t=>{this.search=t.target.value},this.shouldShowViewersTab=()=>{var t,r,i;return null===(i=null===(r=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===r?void 0:r.permissions)||void 0===i?void 0:i.stageEnabled},this.shouldShowRequestsTab=()=>{var t;let r=!1;return r="LIVESTREAM"!==this.meeting.meta.viewType&&(null===(t=this.meeting.self.config.waitingRoom)||void 0===t?void 0:t.isEnabled)&&this.meeting.self.permissions.acceptWaitingRequests,this.meeting.self.permissions.stageEnabled&&this.meeting.self.permissions.acceptStageRequests||r},this.viewSection=t=>{this.currentParticipantsTabId=t}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting&&(this.meeting.participants.joined.off("participantJoined",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("participantsUpdate",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("participantLeft",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("stageStatusUpdate",this.updateParticipantCountsInTabs),this.meeting.stage.off("stageStatusUpdate",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("participantJoined",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("participantLeft",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("stageStatusUpdate",this.updateParticipantCountsInTabs))}meetingChanged(t){t&&(t.participants.joined.on("participantJoined",this.updateParticipantCountsInTabs),t.participants.joined.on("participantsUpdate",this.updateParticipantCountsInTabs),t.participants.joined.on("participantLeft",this.updateParticipantCountsInTabs),t.participants.joined.on("stageStatusUpdate",this.updateParticipantCountsInTabs),t.stage.on("stageStatusUpdate",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("participantJoined",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("participantLeft",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("stageStatusUpdate",this.updateParticipantCountsInTabs),this.updateParticipantCountsInTabs())}currentParticipantsTabIdChanged(){this.stateUpdate.emit({participantsTabId:this.currentParticipantsTabId}),this.updateParticipantCountsInTabs()}render(){if(!this.meeting)return null;const t={meeting:this.meeting,states:this.states,config:this.config,size:this.size,iconPack:this.iconPack,t:this.t};return i(s,null,i("div",{class:"search",part:"search"},i("rtk-icon",{icon:this.iconPack.search,part:"search-icon"}),i("input",{type:"search",autocomplete:"off",placeholder:this.t("search"),onInput:this.onSearchInput,part:"search-input"})),i("slot",{name:"start"}),i("div",{class:"ctr scrollbar "+("requests"!==this.currentParticipantsTabId?"virtualised":""),part:"container"},i("rtk-sidebar-ui",{tabs:this.tabs,currentTab:this.currentParticipantsTabId,view:"full-screen",hideHeader:!0,hideCloseAction:!0,style:{position:"relative"},onTabChange:t=>{this.viewSection(t.detail),t.stopPropagation()}},(!this.currentParticipantsTabId||"stage-list"===this.currentParticipantsTabId)&&i("div",{slot:"stage-list",style:{marginTop:"10px",height:"100%"}},i("rtk-participants-stage-list",Object.assign({},t,{search:this.search,hideHeader:!0}))),"requests"===this.currentParticipantsTabId&&i("div",{slot:"requests",style:{marginTop:"10px",height:"100%"}},!this.hasRequests&&i("div",{class:"no-pending-requests"},this.t("participants.no_pending_requests")),i("rtk-participants-stage-queue",Object.assign({},t)),i("rtk-participants-waiting-list",Object.assign({},t))),"viewer-list"===this.currentParticipantsTabId&&i("div",{slot:"viewer-list",style:{marginTop:"10px",height:"100%"}},i("rtk-participants-viewer-list",Object.assign({},t,{search:this.search,hideHeader:!0}))))),i("slot",{name:"end"}))}static get watchers(){return{meeting:[{meetingChanged:0}],currentParticipantsTabId:[{currentParticipantsTabIdChanged:0}]}}};c([n()],h.prototype,"meeting",void 0),c([n()],h.prototype,"states",void 0),c([n()],h.prototype,"config",void 0),c([n()],h.prototype,"iconPack",void 0),c([n()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;height:100%;width:100%;flex-direction:column;font-size:14px}*{box-sizing:border-box}.ctr{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);box-sizing:border-box;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);overflow-y:auto;flex-grow:1;flex-basis:0}.ctr.virtualised{overflow-y:hidden}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px)}.search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}:host([size='md']) .search{margin-top:var(--rtk-space-4, 16px) !important;margin-bottom:var(--rtk-space-4, 16px) !important}:host([size='sm']) .search{margin-top:var(--rtk-space-4, 16px) !important;margin-bottom:var(--rtk-space-4, 16px) !important}.no-pending-requests{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}";export{h as rtk_participants}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,a as i}from"./p-gJCRRBX0.js";import{e as a}from"./p-
|
|
1
|
+
import{r as t,h as e,a as i}from"./p-gJCRRBX0.js";import{e as a}from"./p-DYdFtxVz.js";import{S as n}from"./p-DjuLCOXk.js";var s=function(t,e,i,a){var n,s=arguments.length,r=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const r=t=>Math.trunc(t).toString().padStart(2,"0"),o=class{constructor(e){t(this,e),this.iconPack=a,this.disconnectMeeting=()=>{var t,e;this.timeout&&clearTimeout(this.timeout),"number"==typeof this.request&&cancelAnimationFrame(this.request),null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("meetingStartTimeUpdate",this.startedTimeUpdateListener)},this.startedTimeUpdateListener=()=>{var t,e,i;this.startedTime=null===(i=null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString()}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting()}meetingChanged(t){var e,i,a;this.disconnectMeeting(),null!=t&&(this.startedTime=null===(i=null===(e=t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString(),null===(a=t.meta)||void 0===a||a.addListener("meetingStartTimeUpdate",this.startedTimeUpdateListener))}startedTimeChanged(t){if(void 0!==t){const t=()=>{this.timeDiff=(Date.now()-new Date(this.startedTime).getTime())/1e3,this.timeout=setTimeout((()=>{null!=this.request&&(this.request=requestAnimationFrame(t))}),500)};this.request=requestAnimationFrame(t)}}getFormattedTime(){if(null==this.timeDiff)return null;const t=this.timeDiff;let e="";return t>=3600&&(e=`${r(t/3600)}:`),e+=`${r(t%3600/60)}:${r(t%60)}`,e}render(){return e(i,{key:"4592c92b870075a8ec23d89c01c382f61278983a","data-hidden":!(void 0!==this.startedTime),tabIndex:0,role:"timer","aria-live":"off"},void 0!==this.startedTime&&[e("rtk-icon",{key:"87b1012dd7c5d7187182a2ed025868f05ed010e7",icon:this.iconPack.clock,"aria-hidden":!0,tabIndex:-1,part:"icon"}),e("span",{key:"6fec2fef30be9c54a3e68108fde81a59ce000576",part:"text"},this.getFormattedTime())])}static get watchers(){return{meeting:[{meetingChanged:0}],startedTime:[{startedTimeChanged:0}]}}};s([n()],o.prototype,"meeting",void 0),s([n()],o.prototype,"iconPack",void 0),o.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:inline-flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-variant-numeric:tabular-nums}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}";export{o as rtk_clock}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as r,a}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import
|
|
1
|
+
import{r as t,h as r,a}from"./p-gJCRRBX0.js";import"./p-Rq_6y0HI.js";import{e as i,i as o}from"./p-DYdFtxVz.js";import"./p-C0vp-Q7v.js";import{h as s}from"./p-BWNToYSb.js";import{S as e}from"./p-DjuLCOXk.js";import"./p-Daj_55_i.js";import"./p-BFTU3MAI.js";var c=function(t,r,a,i){var o,s=arguments.length,e=s<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,a,i);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(e=(s<3?o(e):s>3?o(r,a,e):o(r,a))||e);return s>3&&e&&Object.defineProperty(r,a,e),e};const n=class{constructor(r){t(this,r),this.iconPack=i,this.t=o(),this.audioEnabled=!1,this.volume=0,this.onAudioUpdate=({audioEnabled:t,audioTrack:r})=>{var a;if(this.participant)if(null===(a=this.hark)||void 0===a||a.stop(),t&&r){const t=new MediaStream;t.addTrack(r),this.calcVolume(t),this.audioEnabled=!0}else this.volume=0,this.audioEnabled=!1}}connectedCallback(){this.participantChanged(this.participant)}disconnectedCallback(){var t,r;null===(t=this.hark)||void 0===t||t.stop(),null===(r=this.participant)||void 0===r||r.removeListener("audioUpdate",this.onAudioUpdate)}participantChanged(t){t&&(this.audioEnabled=t.audioEnabled,t.addListener("audioUpdate",this.onAudioUpdate))}calcVolume(t){this.hark=s(t,{play:!1,interval:100}),this.hark.on("volume_change",(t=>{const r=this.volume;let a=Math.round(10**(t/115)*10);a<3&&(a=0);let i=Math.round((2*r+a)/3);r!==i&&(this.volume=i)}))}render(){if(!this.meeting)return null;const t={meeting:this.meeting,size:this.size,config:this.config,states:this.states,iconPack:this.iconPack,t:this.t};let o="bar-0";return o=this.volume>5?"bar-5":this.volume<0?"bar-0":"bar-"+this.volume,r(a,null,r("div",{class:{"avatar-ctr":!0,speaking:this.audioEnabled,[o]:!0}},r("rtk-avatar",{participant:this.participant,size:this.size},!this.audioEnabled&&r("div",{class:"mic-icon"},r("rtk-icon",{icon:i.mic_off})))),r("rtk-name-tag",Object.assign({variant:"text",participant:this.participant},t)),r("slot",null))}static get watchers(){return{participant:[{participantChanged:0}]}}};c([e()],n.prototype,"meeting",void 0),c([e()],n.prototype,"config",void 0),c([e()],n.prototype,"states",void 0),c([e()],n.prototype,"iconPack",void 0),c([e()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:flex;flex-direction:column}.avatar-ctr{box-sizing:border-box;width:100%;flex:1 1 0%;padding:var(--rtk-space-1\\.5, 6px);border:2px solid transparent;border-radius:calc(var(--rtk-border-radius-xl, 40px) + var(--rtk-space-1\\.5, 6px))}.avatar-ctr.speaking{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.bar-0{box-shadow:none}.bar-1{box-shadow:0 0 4px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-2{box-shadow:0 0 8px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-3{box-shadow:0 0 16px 1px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-4{box-shadow:0 0 20px 3px rgb(var(--rtk-colors-brand-500, 33 96 253))}.bar-5{box-shadow:0 0 24px 6px rgb(var(--rtk-colors-brand-500, 33 96 253))}rtk-avatar{aspect-ratio:1 / 1;height:100%;width:100%;position:relative;border-radius:var(--rtk-border-radius-xl, 40px)}rtk-name-tag{display:block;height:var(--rtk-space-10, 40px);width:100%;text-align:center;line-height:2.5rem}:host([size='sm']) .avatar-ctr{border-radius:calc(var(--rtk-border-radius-lg, 12px) + var(--rtk-space-1\\.5, 6px))}:host([size='sm']) rtk-name-tag{height:var(--rtk-space-7, 28px);line-height:1.75rem}:host([size='sm']) rtk-avatar{border-radius:var(--rtk-border-radius-lg, 12px)}.mic-icon{position:absolute;bottom:calc(var(--rtk-space-1, 4px) * -1);right:calc(var(--rtk-space-1, 4px) * -1);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.mic-icon rtk-icon{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}:host([size='sm']) .mic-icon rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}:host([size='md']) .mic-icon rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}";export{n as rtk_audio_tile}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t,a as r}from"./p-gJCRRBX0.js";import{S as a}from"./p-
|
|
1
|
+
import{r as o,h as t,a as r}from"./p-gJCRRBX0.js";import{S as a}from"./p-DjuLCOXk.js";import"./p-Rq_6y0HI.js";import{e}from"./p-DYdFtxVz.js";import"./p-C0vp-Q7v.js";import"./p-Daj_55_i.js";const i=class{constructor(t){o(this,t),this.iconPack=e}render(){return t(r,{key:"ff8e44d0644f3a81e71ec3595f109c396effd80e"},t("div",{key:"9b07fcd50ec2050f65008ad447b42fe0a2431fba",class:"tooltip-container"},t("rtk-icon",{key:"09393761a1ee443f54d08034c451397adf05c0a2",icon:this.iconPack.info,size:"sm"}),t("div",{key:"edcc65636e3888864a4f619b34929a494a748b43",class:"tooltip"},t("slot",{key:"298db1c52802862d8d1da4a3b9cfc33e3695163d",name:"tootlip-text"}))))}};(function(o,t,r,a){var e,i=arguments.length,p=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(o,t,r,a);else for(var c=o.length-1;c>=0;c--)(e=o[c])&&(p=(i<3?e(p):i>3?e(t,r,p):e(t,r))||p);i>3&&p&&Object.defineProperty(t,r,p)})([a()],i.prototype,"iconPack",void 0),i.style=":host{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);cursor:pointer}.tooltip-container{position:relative;display:flex;flex-direction:row;align-items:center}.tooltip-container rtk-icon{cursor:pointer;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.tooltip-container rtk-icon:hover+.tooltip{display:flex !important}.tooltip{position:absolute;margin-left:var(--rtk-space-2, 8px);display:none !important;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);font-weight:400;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));z-index:50;display:flex;min-width:var(--rtk-space-60, 240px);flex-direction:column;--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);left:14px}";export{i as rtk_information_tooltip}
|