@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,52 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index$1 = require('./index-Bi2L8zQ7.js');
|
|
4
|
-
var
|
|
4
|
+
var uiStore = require('./ui-store-XQk2zaMR.js');
|
|
5
5
|
var string = require('./string-C1A6N-tA.js');
|
|
6
|
-
var uiStore = require('./ui-store-XdzekVqK.js');
|
|
7
6
|
require('./breakout-rooms-manager-CIrqMYfb.js');
|
|
7
|
+
var merge = require('./merge-B4v4sEV3.js');
|
|
8
8
|
var livestream = require('./livestream-B1z1fq_f.js');
|
|
9
|
-
var chat = require('./chat-
|
|
10
|
-
var index = require('./index-
|
|
11
|
-
require('./browser-qKzDfwbO.js');
|
|
9
|
+
var chat = require('./chat-_Z7QVSxx.js');
|
|
10
|
+
var index = require('./index-CSL0ebii.js');
|
|
12
11
|
require('./breakout-rooms-46jWgGiL.js');
|
|
13
12
|
|
|
14
|
-
const DEFAULT_NOTIFICATION_DURATION = 2000;
|
|
15
|
-
const DEFAULT_NOTIFICATION_CONFIG = Object.freeze({
|
|
16
|
-
notifications: {
|
|
17
|
-
participant_joined: true,
|
|
18
|
-
participant_left: true,
|
|
19
|
-
participant_joined_waitlist: true,
|
|
20
|
-
chat: true,
|
|
21
|
-
polls: true,
|
|
22
|
-
webinar: true,
|
|
23
|
-
tab_sync: true,
|
|
24
|
-
recording_started: true,
|
|
25
|
-
recording_stopped: true,
|
|
26
|
-
},
|
|
27
|
-
notification_sounds: {
|
|
28
|
-
participant_joined: true,
|
|
29
|
-
participant_left: true,
|
|
30
|
-
chat: true,
|
|
31
|
-
polls: true,
|
|
32
|
-
webinar: true,
|
|
33
|
-
participant_joined_waitlist: true,
|
|
34
|
-
},
|
|
35
|
-
notification_duration: {
|
|
36
|
-
participant_joined: 2100,
|
|
37
|
-
participant_left: 2100,
|
|
38
|
-
participant_joined_waitlist: 4000,
|
|
39
|
-
chat: DEFAULT_NOTIFICATION_DURATION,
|
|
40
|
-
polls: DEFAULT_NOTIFICATION_DURATION,
|
|
41
|
-
webinar: DEFAULT_NOTIFICATION_DURATION,
|
|
42
|
-
tab_sync: DEFAULT_NOTIFICATION_DURATION,
|
|
43
|
-
recording_started: DEFAULT_NOTIFICATION_DURATION,
|
|
44
|
-
recording_stopped: DEFAULT_NOTIFICATION_DURATION,
|
|
45
|
-
},
|
|
46
|
-
participant_joined_sound_notification_limit: 10,
|
|
47
|
-
participant_chat_message_sound_notification_limit: 10,
|
|
48
|
-
});
|
|
49
|
-
|
|
50
13
|
const rtkNotificationsCss = () => `: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)}`;
|
|
51
14
|
|
|
52
15
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -59,27 +22,21 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
59
22
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
60
23
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
61
24
|
};
|
|
62
|
-
function
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
Object.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
function getEnabledSounds(sounds) {
|
|
76
|
-
return Object.keys(sounds).filter((key) => sounds[key]);
|
|
77
|
-
}
|
|
25
|
+
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
26
|
+
var t = {};
|
|
27
|
+
for (var p in s)
|
|
28
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
29
|
+
t[p] = s[p];
|
|
30
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
31
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
32
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
33
|
+
t[p[i]] = s[p[i]];
|
|
34
|
+
}
|
|
35
|
+
return t;
|
|
36
|
+
};
|
|
78
37
|
const RtkNotifications = class {
|
|
79
38
|
constructor(hostRef) {
|
|
80
39
|
index$1.registerInstance(this, hostRef);
|
|
81
|
-
this.permissions = DEFAULT_NOTIFICATION_CONFIG;
|
|
82
|
-
this.enabledSounds = getEnabledSounds(DEFAULT_NOTIFICATION_CONFIG.notification_sounds);
|
|
83
40
|
/** Config object */
|
|
84
41
|
this.config = uiStore.createDefaultConfig();
|
|
85
42
|
/** Language */
|
|
@@ -87,6 +44,7 @@ const RtkNotifications = class {
|
|
|
87
44
|
/** Icon pack */
|
|
88
45
|
this.iconPack = uiStore.defaultIconPack;
|
|
89
46
|
this.notifications = [];
|
|
47
|
+
this.notificationConfig = merge.merge({}, uiStore.DEFAULT_NOTIFICATION_CONFIG);
|
|
90
48
|
this.addStagePeersListeners = (meeting) => {
|
|
91
49
|
meeting.participants.joined.addListener('participantJoined', this.participantJoinedListener);
|
|
92
50
|
meeting.participants.joined.addListener('participantLeft', this.participantLeftListener);
|
|
@@ -96,30 +54,31 @@ const RtkNotifications = class {
|
|
|
96
54
|
meeting.participants.joined.removeListener('participantLeft', this.participantLeftListener);
|
|
97
55
|
};
|
|
98
56
|
this.onNotification = (e) => {
|
|
99
|
-
|
|
100
|
-
const
|
|
101
|
-
|
|
102
|
-
|
|
57
|
+
var _a, _b;
|
|
58
|
+
const _c = e.detail, { playSound, meetingId } = _c, notification = __rest(_c, ["playSound", "meetingId"]);
|
|
59
|
+
// a notification that names a meeting is only for the rtk-notifications of that meeting
|
|
60
|
+
if (!!meetingId && meetingId !== ((_b = (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.meetingId))
|
|
61
|
+
return;
|
|
62
|
+
if (this.isShown('custom'))
|
|
63
|
+
this.add(notification);
|
|
64
|
+
this.playCustomSoundIfEnabled(playSound);
|
|
103
65
|
};
|
|
104
66
|
this.onRecordingUpdate = (recordingState) => {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
this.permissions.notifications.recording_started !== false) {
|
|
108
|
-
this.add({
|
|
67
|
+
if (recordingState === 'RECORDING') {
|
|
68
|
+
this.showIfEnabled('recording_started', {
|
|
109
69
|
id: 'recording-started',
|
|
110
70
|
icon: this.iconPack.recording,
|
|
111
71
|
message: this.t('recording.started'),
|
|
112
|
-
duration: (_a = this.permissions.notification_duration.recording_started) !== null && _a !== void 0 ? _a : DEFAULT_NOTIFICATION_DURATION,
|
|
113
72
|
});
|
|
73
|
+
this.playSoundIfEnabled('recording_started');
|
|
114
74
|
}
|
|
115
|
-
else if (recordingState === 'STOPPING'
|
|
116
|
-
this.
|
|
117
|
-
this.add({
|
|
75
|
+
else if (recordingState === 'STOPPING') {
|
|
76
|
+
this.showIfEnabled('recording_stopped', {
|
|
118
77
|
id: 'recording-stopped',
|
|
119
78
|
icon: this.iconPack.stop_recording,
|
|
120
79
|
message: this.t('recording.stopped'),
|
|
121
|
-
duration: (_b = this.permissions.notification_duration.recording_stopped) !== null && _b !== void 0 ? _b : DEFAULT_NOTIFICATION_DURATION,
|
|
122
80
|
});
|
|
81
|
+
this.playSoundIfEnabled('recording_stopped');
|
|
123
82
|
}
|
|
124
83
|
};
|
|
125
84
|
this.paused = false;
|
|
@@ -130,10 +89,9 @@ const RtkNotifications = class {
|
|
|
130
89
|
}
|
|
131
90
|
this.meetingChanged(this.meeting);
|
|
132
91
|
this.configChanged(this.config);
|
|
133
|
-
this.statesChanged(this.states);
|
|
134
92
|
}
|
|
135
93
|
clearListeners(meeting) {
|
|
136
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
94
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
137
95
|
const isLivestream = meeting.meta.viewType === 'LIVESTREAM';
|
|
138
96
|
if ((isLivestream && ((_a = meeting.stage) === null || _a === void 0 ? void 0 : _a.status) === 'ON_STAGE') || !isLivestream) {
|
|
139
97
|
this.removeStagePeersListeners(meeting);
|
|
@@ -151,25 +109,24 @@ const RtkNotifications = class {
|
|
|
151
109
|
this.stageStatusUpdateListener &&
|
|
152
110
|
((_g = meeting.stage) === null || _g === void 0 ? void 0 : _g.removeListener('stageStatusUpdate', this.stageStatusUpdateListener));
|
|
153
111
|
(_h = meeting.recording) === null || _h === void 0 ? void 0 : _h.removeListener('recordingUpdate', this.onRecordingUpdate);
|
|
112
|
+
this.peerStageStatusListener &&
|
|
113
|
+
meeting.participants.joined.removeListener('stageStatusUpdate', this.peerStageStatusListener);
|
|
114
|
+
this.waitlistedParticipantJoinedListener &&
|
|
115
|
+
meeting.participants.waitlisted.removeListener('participantJoined', this.waitlistedParticipantJoinedListener);
|
|
116
|
+
this.waitlistedParticipantLeftListener &&
|
|
117
|
+
meeting.participants.waitlisted.removeListener('participantLeft', this.waitlistedParticipantLeftListener);
|
|
118
|
+
this.activeTabUpdateListener &&
|
|
119
|
+
((_j = meeting.meta) === null || _j === void 0 ? void 0 : _j.removeListener('activeTabUpdate', this.activeTabUpdateListener));
|
|
154
120
|
clearTimeout(this.disconnectTimeout);
|
|
155
121
|
meeting.self.removeListener('deviceUpdate', this.deviceUpdateListener);
|
|
156
122
|
}
|
|
157
123
|
disconnectedCallback() {
|
|
158
|
-
var _a;
|
|
159
124
|
if (typeof document !== 'undefined') {
|
|
160
125
|
document === null || document === void 0 ? void 0 : document.removeEventListener('rtkNotification', this.onNotification);
|
|
161
126
|
}
|
|
162
127
|
if (!this.meeting)
|
|
163
128
|
return;
|
|
164
129
|
this.clearListeners(this.meeting);
|
|
165
|
-
this.waitlistedParticipantJoinedListener &&
|
|
166
|
-
this.meeting.participants.waitlisted.removeListener('participantJoined', this.waitlistedParticipantJoinedListener);
|
|
167
|
-
this.waitlistedParticipantLeftListener &&
|
|
168
|
-
this.meeting.participants.waitlisted.removeListener('participantLeft', this.waitlistedParticipantLeftListener);
|
|
169
|
-
this.activeTabUpdateListener &&
|
|
170
|
-
((_a = this.meeting.meta) === null || _a === void 0 ? void 0 : _a.removeListener('activeTabUpdate', this.activeTabUpdateListener));
|
|
171
|
-
this.peerStageStatusListener &&
|
|
172
|
-
this.meeting.participants.joined.removeListener('stageStatusUpdate', this.peerStageStatusListener);
|
|
173
130
|
}
|
|
174
131
|
meetingChanged(meeting, oldMeeting) {
|
|
175
132
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -179,8 +136,7 @@ const RtkNotifications = class {
|
|
|
179
136
|
if (!meeting)
|
|
180
137
|
return;
|
|
181
138
|
const isLivestream = meeting.meta.viewType === 'LIVESTREAM';
|
|
182
|
-
this.audio = new
|
|
183
|
-
const { notifications, notification_duration, notification_sounds } = this.permissions;
|
|
139
|
+
this.audio = new uiStore.RTKNotificationsAudio(meeting);
|
|
184
140
|
this.participantJoinedListener = (participant) => {
|
|
185
141
|
/**
|
|
186
142
|
* NOTE(ravindra-cloudflare):
|
|
@@ -196,16 +152,13 @@ const RtkNotifications = class {
|
|
|
196
152
|
if (isReconnectedParticipant) {
|
|
197
153
|
return;
|
|
198
154
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}
|
|
207
|
-
if (notification_sounds.participant_joined && this.canPlayParticipantJoinedSound()) {
|
|
208
|
-
this.audio.play('joined');
|
|
155
|
+
this.showIfEnabled('participant_joined', {
|
|
156
|
+
id: `${participant.id}-joined`,
|
|
157
|
+
message: `${string.formatName(participant.name)} ${this.t('notifications.joined')}`,
|
|
158
|
+
image: participant.picture,
|
|
159
|
+
});
|
|
160
|
+
if (this.canPlayParticipantJoinedSound()) {
|
|
161
|
+
this.playSoundIfEnabled('participant_joined');
|
|
209
162
|
}
|
|
210
163
|
};
|
|
211
164
|
this.participantLeftListener = (participant) => {
|
|
@@ -218,27 +171,25 @@ const RtkNotifications = class {
|
|
|
218
171
|
return;
|
|
219
172
|
}
|
|
220
173
|
const { socketState: { state }, } = this.meeting.meta;
|
|
221
|
-
if (
|
|
222
|
-
this.
|
|
174
|
+
if (state === 'connected') {
|
|
175
|
+
this.showIfEnabled('participant_left', {
|
|
223
176
|
id: `${participant.id}-left`,
|
|
224
177
|
message: `${string.formatName(participant.name)} ${this.t('notifications.left')}`,
|
|
225
178
|
image: participant.picture,
|
|
226
|
-
duration: notification_duration.participant_left,
|
|
227
179
|
});
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
180
|
+
if (this.canPlayParticipantJoinedSound()) {
|
|
181
|
+
this.playSoundIfEnabled('participant_left');
|
|
182
|
+
}
|
|
231
183
|
}
|
|
232
184
|
};
|
|
233
185
|
this.waitlistedParticipantJoinedListener = (participant) => {
|
|
234
186
|
if (!this.canAcceptWaitingRequests())
|
|
235
187
|
return;
|
|
236
188
|
const id = `${participant.id}-joined-waitlist`;
|
|
237
|
-
this.
|
|
189
|
+
this.showIfEnabled('participant_joined_waitlist', {
|
|
238
190
|
id,
|
|
239
191
|
message: `${string.formatName(participant.name)} ${this.t('notifications.requesting_to_join_meeting')}`,
|
|
240
192
|
image: participant.picture,
|
|
241
|
-
duration: notification_duration.participant_joined_waitlist,
|
|
242
193
|
button: {
|
|
243
194
|
text: this.t('notifications.accept'),
|
|
244
195
|
variant: 'primary',
|
|
@@ -248,33 +199,39 @@ const RtkNotifications = class {
|
|
|
248
199
|
},
|
|
249
200
|
},
|
|
250
201
|
});
|
|
251
|
-
if (
|
|
252
|
-
this.
|
|
202
|
+
if (this.canPlayParticipantJoinedSound()) {
|
|
203
|
+
this.playSoundIfEnabled('participant_joined_waitlist');
|
|
253
204
|
}
|
|
254
205
|
};
|
|
255
206
|
this.waitlistedParticipantLeftListener = (participant) => {
|
|
256
207
|
this.remove(`${participant.id}-joined-waitlist`);
|
|
257
208
|
};
|
|
258
209
|
this.chatUpdateListener = ({ message, action }) => {
|
|
259
|
-
// NOTE(ikabra): we only want notifications for new messages
|
|
260
|
-
if (action !== 'add')
|
|
261
|
-
return;
|
|
262
210
|
const parsedMessage = chat.parseMessageForTarget(message);
|
|
263
211
|
if (parsedMessage != null) {
|
|
264
212
|
if (parsedMessage.userId === meeting.self.userId) {
|
|
265
213
|
return;
|
|
266
214
|
}
|
|
267
|
-
if (
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
215
|
+
if (action === 'edit' || action === 'delete') {
|
|
216
|
+
const notificationKey = action === 'edit' ? 'chat_message_edited' : 'chat_message_deleted';
|
|
217
|
+
this.showIfEnabled(notificationKey, {
|
|
218
|
+
id: `message-${Math.random().toString(36)}`,
|
|
219
|
+
icon: this.iconPack.chat,
|
|
220
|
+
message: `${parsedMessage.displayName} ${this.t(`notifications.${notificationKey}`)}`,
|
|
221
|
+
});
|
|
222
|
+
if (this.canPlayChatSound()) {
|
|
223
|
+
this.playSoundIfEnabled(notificationKey);
|
|
275
224
|
}
|
|
276
|
-
|
|
277
|
-
|
|
225
|
+
return;
|
|
226
|
+
}
|
|
227
|
+
if (parsedMessage.type === 'text') {
|
|
228
|
+
this.showIfEnabled('chat_new_message', {
|
|
229
|
+
id: `message-${Math.random().toString(36)}`,
|
|
230
|
+
icon: this.iconPack.chat,
|
|
231
|
+
message: `${parsedMessage.displayName}: ${parsedMessage.message}`,
|
|
232
|
+
});
|
|
233
|
+
if (this.canPlayChatSound()) {
|
|
234
|
+
this.playSoundIfEnabled('chat_new_message');
|
|
278
235
|
}
|
|
279
236
|
}
|
|
280
237
|
}
|
|
@@ -282,19 +239,15 @@ const RtkNotifications = class {
|
|
|
282
239
|
this.pollUpdateListener = ({ polls, newPoll }) => {
|
|
283
240
|
if (newPoll === false)
|
|
284
241
|
return;
|
|
285
|
-
if (
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
if (notification_sounds.polls &&
|
|
295
|
-
this.meeting.self.userId !== polls[polls.length - 1].createdByUserId &&
|
|
296
|
-
this.canPlayChatSound()) {
|
|
297
|
-
this.audio.play('message');
|
|
242
|
+
if (this.meeting.self.userId === polls[polls.length - 1].createdByUserId)
|
|
243
|
+
return;
|
|
244
|
+
this.showIfEnabled('polls_new_poll', {
|
|
245
|
+
id: `poll-${Math.random().toString(36)}`,
|
|
246
|
+
icon: this.iconPack.poll,
|
|
247
|
+
message: `${this.t('notifications.new_poll_created_by')} ${polls[polls.length - 1].createdBy}`,
|
|
248
|
+
});
|
|
249
|
+
if (this.canPlayChatSound()) {
|
|
250
|
+
this.playSoundIfEnabled('polls_new_poll');
|
|
298
251
|
}
|
|
299
252
|
};
|
|
300
253
|
this.deviceUpdateListener = ({ device, preview }) => {
|
|
@@ -303,58 +256,60 @@ const RtkNotifications = class {
|
|
|
303
256
|
if (device.kind === 'audiooutput') {
|
|
304
257
|
this.audio.setDevice(device.deviceId);
|
|
305
258
|
this.remove(`speaker-switched`);
|
|
306
|
-
this.
|
|
259
|
+
this.showIfEnabled('speaker_switched', {
|
|
307
260
|
id: `speaker-switched`,
|
|
308
261
|
message: `${this.t('notifications.connected_to')} ${device.label}`,
|
|
309
262
|
icon: this.iconPack.speaker,
|
|
310
|
-
duration: 5000,
|
|
311
263
|
});
|
|
264
|
+
this.playSoundIfEnabled('speaker_switched');
|
|
312
265
|
}
|
|
313
266
|
if (device.kind === 'videoinput') {
|
|
314
267
|
this.remove(`camera-switched`);
|
|
315
|
-
this.
|
|
268
|
+
this.showIfEnabled('camera_switched', {
|
|
316
269
|
id: `camera-switched`,
|
|
317
270
|
message: `${this.t('notifications.connected_to')} ${device.label}`,
|
|
318
271
|
icon: this.meeting.self.videoEnabled ? this.iconPack.video_on : this.iconPack.video_off,
|
|
319
272
|
iconVariant: this.meeting.self.videoEnabled ? 'primary' : 'danger',
|
|
320
|
-
duration: 5000,
|
|
321
273
|
});
|
|
274
|
+
this.playSoundIfEnabled('camera_switched');
|
|
322
275
|
}
|
|
323
276
|
if (device.kind === 'audioinput') {
|
|
324
277
|
this.remove(`mic-switched`);
|
|
325
|
-
this.
|
|
278
|
+
this.showIfEnabled('microphone_switched', {
|
|
326
279
|
id: `mic-switched`,
|
|
327
280
|
message: `${this.t('notifications.connected_to')} ${device.label}`,
|
|
328
281
|
icon: this.meeting.self.audioEnabled ? this.iconPack.mic_on : this.iconPack.mic_off,
|
|
329
282
|
iconVariant: this.meeting.self.audioEnabled ? 'primary' : 'danger',
|
|
330
|
-
duration: 5000,
|
|
331
283
|
});
|
|
284
|
+
this.playSoundIfEnabled('microphone_switched');
|
|
332
285
|
}
|
|
333
286
|
};
|
|
334
287
|
this.socketConnectionUpdateListener = ({ state, reconnectionAttempt, reconnected }) => {
|
|
335
288
|
switch (state) {
|
|
336
289
|
case 'connected':
|
|
337
290
|
this.remove('socket');
|
|
338
|
-
if (reconnected)
|
|
339
|
-
this.
|
|
291
|
+
if (reconnected) {
|
|
292
|
+
this.showIfEnabled('network_restored', {
|
|
340
293
|
id: `socket`,
|
|
341
294
|
icon: this.iconPack.wifi,
|
|
342
295
|
message: this.t('network.restored'),
|
|
343
|
-
duration: 3000,
|
|
344
296
|
});
|
|
297
|
+
this.playSoundIfEnabled('network_restored');
|
|
298
|
+
}
|
|
345
299
|
break;
|
|
346
300
|
case 'disconnected':
|
|
347
301
|
this.remove('socket');
|
|
348
|
-
this.
|
|
302
|
+
this.showIfEnabled('network_reconnecting', {
|
|
349
303
|
id: 'socket',
|
|
350
304
|
icon: this.iconPack.disconnected,
|
|
351
305
|
message: this.t('network.reconnecting'),
|
|
352
306
|
});
|
|
307
|
+
this.playSoundIfEnabled('network_reconnecting');
|
|
353
308
|
break;
|
|
354
309
|
case 'reconnecting':
|
|
355
310
|
if (reconnectionAttempt >= 6) {
|
|
356
311
|
this.remove('socket');
|
|
357
|
-
this.
|
|
312
|
+
this.showIfEnabled('network_disconnected', {
|
|
358
313
|
id: 'socket',
|
|
359
314
|
icon: this.iconPack.disconnected,
|
|
360
315
|
message: this.t('network.disconnected'),
|
|
@@ -364,19 +319,21 @@ const RtkNotifications = class {
|
|
|
364
319
|
onClick: () => { var _a; return (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leave(); },
|
|
365
320
|
},
|
|
366
321
|
});
|
|
322
|
+
this.playSoundIfEnabled('network_disconnected');
|
|
367
323
|
}
|
|
368
324
|
else if (reconnectionAttempt >= 4) {
|
|
369
325
|
this.remove('socket');
|
|
370
|
-
this.
|
|
326
|
+
this.showIfEnabled('network_delayed', {
|
|
371
327
|
id: 'socket',
|
|
372
328
|
icon: this.iconPack.disconnected,
|
|
373
329
|
message: this.t('network.delay_extended'),
|
|
374
330
|
});
|
|
331
|
+
this.playSoundIfEnabled('network_delayed');
|
|
375
332
|
}
|
|
376
333
|
break;
|
|
377
334
|
case 'failed':
|
|
378
335
|
this.remove('socket');
|
|
379
|
-
this.
|
|
336
|
+
this.showIfEnabled('network_failed', {
|
|
380
337
|
id: 'socket',
|
|
381
338
|
icon: this.iconPack.disconnected,
|
|
382
339
|
message: this.t('network.leaving'),
|
|
@@ -386,23 +343,22 @@ const RtkNotifications = class {
|
|
|
386
343
|
onClick: () => { var _a; return (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.leave(); },
|
|
387
344
|
},
|
|
388
345
|
});
|
|
346
|
+
this.playSoundIfEnabled('network_failed');
|
|
389
347
|
break;
|
|
390
348
|
}
|
|
391
349
|
};
|
|
392
350
|
this.activeTabUpdateListener = (activeTab) => {
|
|
393
|
-
if (!notifications.tab_sync)
|
|
394
|
-
return;
|
|
395
351
|
switch (activeTab.type) {
|
|
396
352
|
case 'plugin':
|
|
397
353
|
const activePlugin = meeting.plugins.active
|
|
398
354
|
.toArray()
|
|
399
355
|
.find((plugin) => plugin.id == activeTab.id);
|
|
400
356
|
if (activePlugin != undefined) {
|
|
401
|
-
this.
|
|
357
|
+
this.showIfEnabled('tab_sync_plugin_switched', {
|
|
402
358
|
id: 'activeTab',
|
|
403
359
|
message: `${this.t('notifications.plugin_switched_to')} ${activePlugin.name}`,
|
|
404
|
-
duration: notification_duration.participant_joined,
|
|
405
360
|
});
|
|
361
|
+
this.playSoundIfEnabled('tab_sync_plugin_switched');
|
|
406
362
|
}
|
|
407
363
|
break;
|
|
408
364
|
case 'screenshare':
|
|
@@ -411,21 +367,20 @@ const RtkNotifications = class {
|
|
|
411
367
|
.filter((participant) => participant.screenShareEnabled)
|
|
412
368
|
.find((participant) => participant.id == activeTab.id);
|
|
413
369
|
if (screenShareParticipant != undefined) {
|
|
414
|
-
this.
|
|
370
|
+
this.showIfEnabled('tab_sync_screen_share_switched', {
|
|
415
371
|
id: 'spotlight',
|
|
416
372
|
message: `Now watching ${screenShareParticipant.name}'s screen`,
|
|
417
|
-
duration: notification_duration.webinar,
|
|
418
373
|
});
|
|
374
|
+
this.playSoundIfEnabled('tab_sync_screen_share_switched');
|
|
419
375
|
}
|
|
420
376
|
break;
|
|
421
377
|
}
|
|
422
378
|
};
|
|
423
379
|
this.peerStageStatusListener = (participant) => {
|
|
424
|
-
if (participant.stageStatus === 'REQUESTED_TO_JOIN_STAGE') {
|
|
425
|
-
this.
|
|
380
|
+
if (participant.stageStatus === 'REQUESTED_TO_JOIN_STAGE' && this.canAcceptStageRequests()) {
|
|
381
|
+
this.showIfEnabled('stage_requested_to_join', {
|
|
426
382
|
id: `stage-request-${participant.id}`,
|
|
427
383
|
message: `${participant.name} ${this.t('notifications.requested_to_join_stage')}`,
|
|
428
|
-
duration: notification_duration.webinar,
|
|
429
384
|
button: {
|
|
430
385
|
text: this.t('notifications.accept'),
|
|
431
386
|
variant: 'primary',
|
|
@@ -435,41 +390,36 @@ const RtkNotifications = class {
|
|
|
435
390
|
},
|
|
436
391
|
},
|
|
437
392
|
});
|
|
438
|
-
|
|
439
|
-
this.audio.play('joined');
|
|
440
|
-
}
|
|
393
|
+
this.playSoundIfEnabled('stage_requested_to_join');
|
|
441
394
|
}
|
|
442
395
|
if (participant.stageStatus === 'ON_STAGE') {
|
|
443
|
-
this.
|
|
396
|
+
this.showIfEnabled('stage_joined', {
|
|
444
397
|
id: `stage-joined-${participant.id}`,
|
|
445
398
|
message: `${participant.name} ${this.t('notifications.joined_stage')}`,
|
|
446
|
-
duration: notification_duration.webinar,
|
|
447
399
|
});
|
|
448
|
-
|
|
449
|
-
this.audio.play('joined');
|
|
450
|
-
}
|
|
400
|
+
this.playSoundIfEnabled('stage_joined');
|
|
451
401
|
}
|
|
452
402
|
};
|
|
453
403
|
this.stageRequestAccepted = () => {
|
|
454
|
-
this.
|
|
404
|
+
this.showIfEnabled('stage_request_accepted', {
|
|
455
405
|
id: 'stage-request-accepted',
|
|
456
406
|
message: this.t('notifications.request_to_join_accepted'),
|
|
457
|
-
duration: 3000,
|
|
458
407
|
});
|
|
408
|
+
this.playSoundIfEnabled('stage_request_accepted');
|
|
459
409
|
};
|
|
460
410
|
this.stageRequestRejected = () => {
|
|
461
|
-
this.
|
|
411
|
+
this.showIfEnabled('stage_request_rejected', {
|
|
462
412
|
id: 'stage-request-rejected',
|
|
463
413
|
message: this.t('notifications.request_to_join_rejected'),
|
|
464
|
-
duration: 3000,
|
|
465
414
|
});
|
|
415
|
+
this.playSoundIfEnabled('stage_request_rejected');
|
|
466
416
|
};
|
|
467
417
|
this.newStageRequests = ({ count }) => {
|
|
468
|
-
this.
|
|
418
|
+
this.showIfEnabled('stage_new_request_received', {
|
|
469
419
|
id: 'new-stage-request',
|
|
470
420
|
message: `You have ${count < 0 ? 'new stage' : `${count} pending`} request${count === 1 ? '' : 's'}`,
|
|
471
|
-
duration: 3000,
|
|
472
421
|
});
|
|
422
|
+
this.playSoundIfEnabled('stage_new_request_received');
|
|
473
423
|
};
|
|
474
424
|
this.stageStatusUpdateListener = (status) => {
|
|
475
425
|
if (status === 'ON_STAGE')
|
|
@@ -499,55 +449,95 @@ const RtkNotifications = class {
|
|
|
499
449
|
meeting.self.addListener('deviceUpdate', this.deviceUpdateListener);
|
|
500
450
|
meeting.meta.addListener('socketConnectionUpdate', this.socketConnectionUpdateListener);
|
|
501
451
|
(_e = meeting.meta) === null || _e === void 0 ? void 0 : _e.addListener('activeTabUpdate', this.activeTabUpdateListener);
|
|
452
|
+
meeting.participants.joined.addListener('stageStatusUpdate', this.peerStageStatusListener);
|
|
502
453
|
(_f = meeting.recording) === null || _f === void 0 ? void 0 : _f.addListener('recordingUpdate', this.onRecordingUpdate);
|
|
503
454
|
(_g = meeting.stage) === null || _g === void 0 ? void 0 : _g.addListener('stageRequestApproved', this.stageRequestAccepted);
|
|
504
455
|
(_h = meeting.stage) === null || _h === void 0 ? void 0 : _h.addListener('stageRequestRejected', this.stageRequestRejected);
|
|
505
|
-
if (
|
|
456
|
+
if (this.canAcceptStageRequests()) {
|
|
506
457
|
(_j = meeting.stage) === null || _j === void 0 ? void 0 : _j.addListener('newStageRequest', this.newStageRequests);
|
|
507
458
|
}
|
|
508
459
|
}
|
|
509
460
|
configChanged(config) {
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
this.permissions = parseConfig(config.config);
|
|
513
|
-
this.enabledSounds = getEnabledSounds(this.permissions.notification_sounds);
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
statesChanged(states) {
|
|
518
|
-
var _a;
|
|
519
|
-
if (states != null) {
|
|
520
|
-
const notificationSoundsEnabled = !((_a = states === null || states === void 0 ? void 0 : states.prefs) === null || _a === void 0 ? void 0 : _a.muteNotificationSounds);
|
|
521
|
-
// toggle only the notification sounds values which were enabled in the first place
|
|
522
|
-
for (const permission of this.enabledSounds) {
|
|
523
|
-
if (permission in this.permissions.notification_sounds) {
|
|
524
|
-
this.permissions.notification_sounds[permission] = notificationSoundsEnabled;
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
}
|
|
461
|
+
// a group, key or limit that the config does not set keeps its default value
|
|
462
|
+
this.notificationConfig = merge.merge({}, uiStore.DEFAULT_NOTIFICATION_CONFIG, config === null || config === void 0 ? void 0 : config.config);
|
|
528
463
|
}
|
|
529
464
|
apiErrorListener({ detail }) {
|
|
530
465
|
const { trace, message } = detail;
|
|
531
|
-
this.
|
|
466
|
+
this.showIfEnabled('api_error', {
|
|
532
467
|
id: trace,
|
|
533
468
|
message,
|
|
534
|
-
duration: DEFAULT_NOTIFICATION_DURATION,
|
|
535
469
|
icon: this.iconPack.warning,
|
|
536
470
|
});
|
|
471
|
+
this.playSoundIfEnabled('api_error');
|
|
537
472
|
}
|
|
538
473
|
sendNotificationListener({ detail }) {
|
|
539
474
|
const { trace, message } = detail;
|
|
540
|
-
|
|
475
|
+
// rtk-participant sends the stage invite message with a trace that starts with `join-stage-`
|
|
476
|
+
if (trace === null || trace === void 0 ? void 0 : trace.startsWith('join-stage-')) {
|
|
477
|
+
this.showIfEnabled('stage_invite_sent', { id: trace, message });
|
|
478
|
+
this.playSoundIfEnabled('stage_invite_sent');
|
|
479
|
+
return;
|
|
480
|
+
}
|
|
481
|
+
this.showIfEnabled('custom', {
|
|
541
482
|
id: trace,
|
|
542
483
|
message,
|
|
543
|
-
duration: DEFAULT_NOTIFICATION_DURATION,
|
|
544
484
|
});
|
|
485
|
+
this.playCustomSoundIfEnabled();
|
|
486
|
+
}
|
|
487
|
+
isShown(key) {
|
|
488
|
+
return !!this.notificationConfig.notifications[key];
|
|
489
|
+
}
|
|
490
|
+
isSoundOn(key) {
|
|
491
|
+
var _a, _b;
|
|
492
|
+
if ((_b = (_a = this.states) === null || _a === void 0 ? void 0 : _a.prefs) === null || _b === void 0 ? void 0 : _b.muteNotificationSounds)
|
|
493
|
+
return false;
|
|
494
|
+
return !!this.notificationConfig.notification_sounds[key];
|
|
495
|
+
}
|
|
496
|
+
showIfEnabled(key, notification) {
|
|
497
|
+
if (!this.isShown(key))
|
|
498
|
+
return;
|
|
499
|
+
const duration = this.notificationConfig.notification_duration[key];
|
|
500
|
+
// a duration of 0 keeps the notification until it is dismissed or replaced
|
|
501
|
+
// these two carry the End Meeting button, so the visible limit does not apply to them
|
|
502
|
+
const ignoreVisibleLimit = key === 'network_disconnected' || key === 'network_failed';
|
|
503
|
+
this.add(Object.assign(Object.assign({}, notification), { duration: duration > 0 ? duration : undefined }), ignoreVisibleLimit);
|
|
504
|
+
}
|
|
505
|
+
playSoundIfEnabled(key) {
|
|
506
|
+
var _a;
|
|
507
|
+
if (!this.isSoundOn(key))
|
|
508
|
+
return;
|
|
509
|
+
const url = this.notificationConfig.notification_sound_urls[key];
|
|
510
|
+
// the audio player exists only after the meeting is set
|
|
511
|
+
(_a = this.audio) === null || _a === void 0 ? void 0 : _a.playUrl(uiStore.isAudioFileUrl(url) ? url : uiStore.DEFAULT_NOTIFICATION_CONFIG.notification_sound_urls[key]);
|
|
545
512
|
}
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
513
|
+
/**
|
|
514
|
+
* A custom notification plays the sound that its sender chose:
|
|
515
|
+
* the name of a built-in sound or the URL of an audio file.
|
|
516
|
+
* Without a usable sound from the sender, it plays the `custom` URL from the config, if one is set.
|
|
517
|
+
*/
|
|
518
|
+
playCustomSoundIfEnabled(senderSound) {
|
|
519
|
+
var _a, _b;
|
|
520
|
+
if (!this.isSoundOn('custom'))
|
|
521
|
+
return;
|
|
522
|
+
if (uiStore.isBuiltInSoundName(senderSound)) {
|
|
523
|
+
(_a = this.audio) === null || _a === void 0 ? void 0 : _a.play(senderSound);
|
|
524
|
+
return;
|
|
525
|
+
}
|
|
526
|
+
const configUrl = this.notificationConfig.notification_sound_urls.custom;
|
|
527
|
+
const url = uiStore.isAudioFileUrl(senderSound) ? senderSound : configUrl;
|
|
528
|
+
if (uiStore.isAudioFileUrl(url)) {
|
|
529
|
+
(_b = this.audio) === null || _b === void 0 ? void 0 : _b.playUrl(url);
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
add(notification, ignoreVisibleLimit = false) {
|
|
533
|
+
// a new notification replaces an earlier one that has the same id
|
|
534
|
+
const otherNotifications = this.notifications.filter(({ id }) => id !== notification.id);
|
|
535
|
+
// show notifications only if tab is in focus and the visible limit is not reached
|
|
536
|
+
const visibleLimit = this.notificationConfig.visible_notifications_limit;
|
|
537
|
+
const hasRoom = ignoreVisibleLimit || !(visibleLimit > 0) || otherNotifications.length < visibleLimit;
|
|
538
|
+
if (document.visibilityState === 'visible' && hasRoom) {
|
|
549
539
|
// adds new notification to start of array so they appear at the bottom
|
|
550
|
-
this.notifications = [...
|
|
540
|
+
this.notifications = [...otherNotifications, notification];
|
|
551
541
|
}
|
|
552
542
|
}
|
|
553
543
|
remove(id) {
|
|
@@ -566,20 +556,23 @@ const RtkNotifications = class {
|
|
|
566
556
|
}, 400);
|
|
567
557
|
}
|
|
568
558
|
canPlayParticipantJoinedSound() {
|
|
569
|
-
return (this.
|
|
570
|
-
this.
|
|
559
|
+
return (this.notificationConfig.participant_joined_sound_notification_limit == undefined ||
|
|
560
|
+
this.notificationConfig.participant_joined_sound_notification_limit <= 0 ||
|
|
571
561
|
this.meeting.participants.count <=
|
|
572
|
-
this.
|
|
562
|
+
this.notificationConfig.participant_joined_sound_notification_limit);
|
|
573
563
|
}
|
|
574
564
|
canPlayChatSound() {
|
|
575
|
-
return (this.
|
|
576
|
-
this.
|
|
565
|
+
return (this.notificationConfig.participant_chat_message_sound_notification_limit == undefined ||
|
|
566
|
+
this.notificationConfig.participant_chat_message_sound_notification_limit <= 0 ||
|
|
577
567
|
this.meeting.participants.count <=
|
|
578
|
-
this.
|
|
568
|
+
this.notificationConfig.participant_chat_message_sound_notification_limit);
|
|
569
|
+
}
|
|
570
|
+
canAcceptStageRequests() {
|
|
571
|
+
const { stageEnabled, acceptStageRequests } = this.meeting.self.permissions;
|
|
572
|
+
return !!(stageEnabled && acceptStageRequests);
|
|
579
573
|
}
|
|
580
574
|
canAcceptWaitingRequests() {
|
|
581
|
-
return
|
|
582
|
-
this.meeting.self.permissions.acceptWaitingRequests);
|
|
575
|
+
return !!this.meeting.self.permissions.acceptWaitingRequests;
|
|
583
576
|
}
|
|
584
577
|
render() {
|
|
585
578
|
if (!this.meeting) {
|
|
@@ -594,9 +587,6 @@ const RtkNotifications = class {
|
|
|
594
587
|
}],
|
|
595
588
|
"config": [{
|
|
596
589
|
"configChanged": 0
|
|
597
|
-
}],
|
|
598
|
-
"states": [{
|
|
599
|
-
"statesChanged": 0
|
|
600
590
|
}]
|
|
601
591
|
}; }
|
|
602
592
|
};
|