@cloudflare/realtimekit-ui 2.0.1 → 2.0.2-staging.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/ChatHead-DzH-mYX1.js +11 -0
- package/dist/cjs/{TextMessage-492778db.js → TextMessage-5iqcrDk9.js} +9 -11
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
- package/dist/cjs/breakout-rooms-46jWgGiL.js +72 -0
- package/dist/cjs/breakout-rooms-manager-Bgk5FEK1.js +303 -0
- package/dist/cjs/{chat-4f5c28ca.js → chat-CiRLOYTj.js} +1 -1
- package/dist/cjs/{config-705c8f2c.js → config-Dr-kt-RY.js} +6 -5
- package/dist/cjs/debounce-BgZ6dvDk.js +659 -0
- package/dist/cjs/{debounce-7fa6354d.js → debounce-padcVDRF.js} +4 -6
- package/dist/cjs/{file-0b9afa34.js → file-BfaJmhHW.js} +1 -1
- package/dist/cjs/{floating-ui.dom.esm-9d940028.js → floating-ui.dom-D8vZii24.js} +3 -310
- package/dist/cjs/hark-qJk9qiLr.js +322 -0
- package/dist/cjs/{index-4366eb3b.js → index-BOQMsbCN.js} +2 -2
- package/dist/cjs/{index-2e5758b6.js → index-Bi2L8zQ7.js} +1202 -555
- package/dist/cjs/{index-6f8c1928.js → index-Ck9E7Wf2.js} +22 -31
- package/dist/cjs/index.cjs.js +14 -13
- package/dist/cjs/{init-error-70ccf3b6.js → init-error-BC4ECjPk.js} +10 -2
- package/dist/cjs/livestream-B1z1fq_f.js +78 -0
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/{merge-79537b1d.js → merge-CSoi4R44.js} +136 -17
- package/dist/cjs/{notification-8f4db150.js → notification-BM6CUHyL.js} +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +7 -7
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +15 -14
- package/dist/cjs/rtk-ai_3.cjs.entry.js +19 -17
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +12 -10
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +13 -10
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +26 -23
- package/dist/cjs/rtk-avatar_26.cjs.entry.js +124 -125
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +33 -27
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +38 -41
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +11 -11
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +20 -15
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +11 -9
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +9 -9
- package/dist/cjs/rtk-chat-message.cjs.entry.js +8 -8
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +16 -12
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +8 -8
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +9 -9
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-clock.cjs.entry.js +11 -10
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +5 -8
- package/dist/cjs/rtk-controlbar.cjs.entry.js +9 -9
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +42 -48
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +5 -8
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +9 -10
- package/dist/cjs/rtk-dialog.cjs.entry.js +5 -8
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +11 -9
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +8 -8
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +11 -14
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +6 -9
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +17 -15
- package/dist/cjs/rtk-grid.cjs.entry.js +28 -19
- package/dist/cjs/rtk-header.cjs.entry.js +9 -9
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +14 -10
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +7 -10
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/rtk-leave-button.cjs.entry.js +5 -8
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +41 -52
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +10 -10
- package/dist/cjs/rtk-logo.cjs.entry.js +14 -10
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +5 -8
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +12 -10
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +16 -13
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +5 -8
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +11 -9
- package/dist/cjs/rtk-name-tag.cjs.entry.js +9 -10
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +11 -9
- package/dist/cjs/rtk-notification.cjs.entry.js +13 -12
- package/dist/cjs/rtk-notifications.cjs.entry.js +22 -16
- package/dist/cjs/rtk-participant-count.cjs.entry.js +11 -11
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +14 -10
- package/dist/cjs/rtk-participant_2.cjs.entry.js +29 -28
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +11 -11
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +33 -24
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-participants.cjs.entry.js +15 -11
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +11 -9
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +11 -13
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-poll_2.cjs.entry.js +8 -12
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +8 -9
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +9 -10
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +10 -12
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +5 -8
- package/dist/cjs/rtk-settings.cjs.entry.js +8 -9
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +11 -12
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +11 -9
- package/dist/cjs/rtk-sidebar.cjs.entry.js +17 -13
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +11 -12
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +7 -10
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +8 -9
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +11 -9
- package/dist/cjs/rtk-stage.cjs.entry.js +5 -8
- package/dist/cjs/rtk-transcript.cjs.entry.js +8 -9
- package/dist/cjs/rtk-transcripts.cjs.entry.js +14 -10
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +32 -20
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +8 -8
- package/dist/cjs/{sidebar-3d8abb05.js → sidebar-CaEYxWaS.js} +2 -2
- package/dist/cjs/{ui-store-b1ac9e83.js → ui-store-CTof0Q5V.js} +100 -813
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/rtk-ai/rtk-ai.js +16 -10
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +18 -11
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +9 -5
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +16 -10
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +18 -11
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +15 -11
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +15 -10
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +18 -13
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +7 -4
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +19 -12
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +12 -7
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +11 -6
- package/dist/collection/components/rtk-button/rtk-button.js +9 -8
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +12 -8
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +16 -10
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +20 -12
- package/dist/collection/components/rtk-chat/rtk-chat.js +19 -11
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +16 -11
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +16 -14
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +34 -26
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +20 -14
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +24 -14
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +11 -8
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +20 -12
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +10 -8
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +18 -11
- package/dist/collection/components/rtk-clock/rtk-clock.js +8 -5
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +11 -6
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +17 -11
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +16 -14
- package/dist/collection/components/rtk-counter/rtk-counter.js +12 -9
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +15 -9
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +13 -8
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +13 -8
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +13 -8
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +18 -11
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +13 -8
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +18 -12
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +17 -10
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +5 -3
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +6 -4
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +7 -5
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +15 -9
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +5 -3
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +9 -6
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +8 -7
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +13 -10
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +16 -10
- package/dist/collection/components/rtk-grid/rtk-grid.js +22 -15
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +14 -9
- package/dist/collection/components/rtk-header/rtk-header.js +17 -11
- package/dist/collection/components/rtk-icon/rtk-icon.js +6 -5
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +11 -6
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +11 -7
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +7 -5
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +11 -7
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -1
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +17 -10
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +14 -9
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +11 -6
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +11 -7
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +11 -7
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +16 -10
- package/dist/collection/components/rtk-logo/rtk-logo.js +9 -6
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +4 -4
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +31 -21
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +7 -4
- package/dist/collection/components/rtk-menu/rtk-menu.js +13 -9
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +10 -7
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +6 -4
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +5 -4
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +19 -17
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +16 -10
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +12 -8
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +31 -19
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +13 -8
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +16 -10
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +11 -6
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +16 -11
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +11 -7
- package/dist/collection/components/rtk-notification/rtk-notification.js +13 -9
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +15 -9
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +11 -6
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +14 -11
- package/dist/collection/components/rtk-participant/rtk-participant.js +15 -9
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +11 -7
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +19 -13
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +26 -17
- package/dist/collection/components/rtk-participants/rtk-participants.js +18 -11
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +7 -4
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +20 -13
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +16 -10
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +18 -11
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +18 -12
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +16 -10
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +11 -6
- package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +9 -5
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +20 -12
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +10 -6
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +15 -9
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +18 -11
- package/dist/collection/components/rtk-poll/rtk-poll.js +12 -8
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +7 -4
- package/dist/collection/components/rtk-polls/rtk-polls.js +13 -8
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +18 -11
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +11 -7
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +15 -10
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +18 -11
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +21 -14
- package/dist/collection/components/rtk-settings/rtk-settings.js +15 -9
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +15 -9
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +16 -10
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +15 -9
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +17 -10
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +23 -14
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +9 -8
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +19 -12
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +14 -9
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +5 -3
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +27 -17
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +11 -7
- package/dist/collection/components/rtk-stage/rtk-stage.js +7 -4
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +18 -11
- package/dist/collection/components/rtk-switch/rtk-switch.js +8 -6
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +18 -11
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +13 -11
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +9 -6
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +3 -3
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +13 -11
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +5 -3
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +9 -5
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +22 -13
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +8 -5
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +6 -4
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +9 -5
- package/dist/collection/utils/init-error.js +10 -2
- package/dist/collection/utils/livestream.js +1 -1
- package/dist/collection/utils/sync-with-store/ui-store.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -247
- package/dist/components/p-1sLF61J1.js +1 -0
- package/dist/components/p-7zlNLqpS.js +1 -0
- package/dist/components/p-B-k80wnP.js +1 -0
- package/dist/components/p-B1SWgSTZ.js +1 -0
- package/dist/components/p-B1wrArJr.js +1 -0
- package/dist/components/p-B4TnXODX.js +1 -0
- package/dist/components/p-B5-LNbkp.js +1 -0
- package/dist/components/p-B9MPybze.js +1 -0
- package/dist/components/p-BA_UY9k8.js +1 -0
- package/dist/components/p-BBHQOrFK.js +2 -0
- package/dist/{realtimekit-ui/p-598b792e.js → components/p-BCuMxcZN.js} +1 -1
- package/dist/components/p-BEOq_QN5.js +1 -0
- package/dist/components/p-BFTU3MAI.js +1 -0
- package/dist/components/p-BJKSFJeB.js +1 -0
- package/dist/components/p-BOYkqKBb.js +1 -0
- package/dist/components/p-BRbb3tLk.js +1 -0
- package/dist/components/p-BWNToYSb.js +1 -0
- package/dist/components/p-BYIBbfJ8.js +1 -0
- package/dist/components/p-BbJzI1u1.js +1 -0
- package/dist/components/p-BcCYogfR.js +1 -0
- package/dist/components/p-Bf4LuZWa.js +1 -0
- package/dist/{realtimekit-ui/p-1e62d63b.js → components/p-Bj1kNPpe.js} +1 -1
- package/dist/components/p-BjF9F_tX.js +1 -0
- package/dist/components/p-BoGbJ5PX.js +1 -0
- package/dist/components/p-BuZhKlht.js +1 -0
- package/dist/{realtimekit-ui/p-fa9759f4.js → components/p-Bx38FZhs.js} +1 -1
- package/dist/components/p-C-OVY3ug.js +1 -0
- package/dist/components/p-C0H4DNJM.js +1 -0
- package/dist/components/p-C0vp-Q7v.js +1 -0
- package/dist/components/p-C3Z3GLQh.js +1 -0
- package/dist/components/p-C4IJ0f9O.js +1 -0
- package/dist/components/p-C9EBo56b.js +1 -0
- package/dist/components/p-CABfszIM.js +1 -0
- package/dist/components/p-CB5hzEOM.js +1 -0
- package/dist/components/p-CBJjerDR.js +1 -0
- package/dist/components/p-CBLUz_2s.js +1 -0
- package/dist/components/p-CJsXePY3.js +1 -0
- package/dist/components/p-CKX6X8es.js +1 -0
- package/dist/components/p-COEreDeR.js +1 -0
- package/dist/components/p-COZSdc5O.js +1 -0
- package/dist/components/p-CQAMoQlr.js +1 -0
- package/dist/components/p-Cd-WpR0J.js +1 -0
- package/dist/components/p-CdV0xzjB.js +1 -0
- package/dist/components/p-Ce-9kgl0.js +1 -0
- package/dist/components/p-ChuKD7QS.js +1 -0
- package/dist/components/p-Cj44pA_c.js +1 -0
- package/dist/components/p-Cmu_4ZYL.js +1 -0
- package/dist/components/p-CnJQLwM-.js +1 -0
- package/dist/components/p-CpOL3OJd.js +1 -0
- package/dist/components/p-CphAED3J.js +1 -0
- package/dist/components/p-CqEcYX16.js +1 -0
- package/dist/components/p-CrExxJHe.js +1 -0
- package/dist/components/p-D0bZYAmS.js +1 -0
- package/dist/components/p-D1zAGrQ9.js +1 -0
- package/dist/components/p-D6vw6bT2.js +1 -0
- package/dist/{realtimekit-ui/p-6befaf17.js → components/p-D9HGXWKc.js} +1 -1
- package/dist/components/p-DBjcFAtV.js +1 -0
- package/dist/components/p-DCEjf6bL.js +1 -0
- package/dist/components/p-DD3_OTZn.js +1 -0
- package/dist/{realtimekit-ui/p-40be18ee.js → components/p-DDaHXyCC.js} +1 -1
- package/dist/components/p-DE1s0fDa.js +1 -0
- package/dist/components/p-DEOaS443.js +1 -0
- package/dist/components/p-DHSRRtn3.js +1 -0
- package/dist/components/p-DKjr_UXt.js +1 -0
- package/dist/components/p-DLocSBO3.js +1 -0
- package/dist/components/p-DNkzP2hS.js +1 -0
- package/dist/components/p-DP4RUNa1.js +1 -0
- package/dist/components/p-DU5mNJqK.js +1 -0
- package/dist/components/p-DY8ll5IU.js +1 -0
- package/dist/components/p-DZC8m5f_.js +1 -0
- package/dist/components/p-Daj_55_i.js +1 -0
- package/dist/components/p-DbHOlaHU.js +1 -0
- package/dist/components/p-De8YQHVd.js +1 -0
- package/dist/components/p-Deo_3EhX.js +1 -0
- package/dist/components/p-Df2S0-LE.js +1 -0
- package/dist/components/p-DfWuSKCq.js +1 -0
- package/dist/components/p-Dguuxuf6.js +1 -0
- package/dist/components/p-Dkd2PDJ-.js +1 -0
- package/dist/components/p-DlKMnwxL.js +1 -0
- package/dist/components/p-DmVA5ArE.js +1 -0
- package/dist/components/p-DnQYtb0h.js +1 -0
- package/dist/components/p-DuOnRaMu.js +1 -0
- package/dist/components/p-DxDYE5-a.js +1 -0
- package/dist/components/p-EuNHmu13.js +1 -0
- package/dist/components/p-FVFlyS1y.js +1 -0
- package/dist/components/p-FdeAvICb.js +1 -0
- package/dist/components/p-J1kxEVHe.js +1 -0
- package/dist/components/p-JyC3dswA.js +1 -0
- package/dist/components/p-KpmupjxR.js +1 -0
- package/dist/components/p-L9yK33Cu.js +1 -0
- package/dist/components/p-PXVZ-Szx.js +1 -0
- package/dist/components/p-ViKGg-Ct.js +1 -0
- package/dist/components/p-aS2wpIc0.js +1 -0
- package/dist/components/p-ak2clYhw.js +1 -0
- package/dist/components/p-e-OVL-Mg.js +1 -0
- package/dist/components/p-j2J2Tn1F.js +1 -0
- package/dist/components/p-oXrlIvqH.js +1 -0
- package/dist/components/p-pb5wDMuJ.js +1 -0
- package/dist/components/p-s-jAl7lc.js +1 -0
- package/dist/components/p-sSs7a3Ms.js +1 -0
- package/dist/components/p-t72veIFj.js +1 -0
- package/dist/components/p-uOh9MOi7.js +1 -0
- package/dist/components/p-wemYeTS7.js +1 -0
- package/dist/components/p-wl6GEzgG.js +1 -0
- package/dist/components/p-zBoy9v8V.js +1 -0
- package/dist/components/rtk-ai-toggle.js +1 -122
- package/dist/components/rtk-ai-transcriptions.js +1 -6
- package/dist/components/rtk-ai.js +1 -6
- package/dist/components/rtk-audio-grid.js +1 -145
- package/dist/components/rtk-audio-tile.js +1 -184
- package/dist/components/rtk-audio-visualizer.js +1 -6
- package/dist/components/rtk-avatar.js +1 -6
- package/dist/components/rtk-breakout-room-manager.js +1 -6
- package/dist/components/rtk-breakout-room-participants.js +1 -6
- package/dist/components/rtk-breakout-rooms-manager.js +1 -6
- package/dist/components/rtk-breakout-rooms-toggle.js +1 -128
- package/dist/components/rtk-broadcast-message-modal.js +1 -6
- package/dist/components/rtk-button.js +1 -6
- package/dist/components/rtk-camera-selector.js +1 -6
- package/dist/components/rtk-camera-toggle.js +1 -236
- package/dist/components/rtk-caption-toggle.js +1 -131
- package/dist/components/rtk-chat-composer-ui.js +1 -363
- package/dist/components/rtk-chat-composer-view.js +1 -6
- package/dist/components/rtk-chat-header.js +1 -6
- package/dist/components/rtk-chat-message.js +1 -6
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -6
- package/dist/components/rtk-chat-messages-ui.js +1 -313
- package/dist/components/rtk-chat-search-results.js +1 -147
- package/dist/components/rtk-chat-selector-ui.js +1 -108
- package/dist/components/rtk-chat-selector.js +1 -6
- package/dist/components/rtk-chat-toggle.js +1 -181
- package/dist/components/rtk-chat.js +1 -6
- package/dist/components/rtk-clock.js +1 -128
- package/dist/components/rtk-confirmation-modal.js +1 -6
- package/dist/components/rtk-controlbar-button.js +1 -6
- package/dist/components/rtk-controlbar.js +1 -91
- package/dist/components/rtk-counter.js +1 -6
- package/dist/components/rtk-debugger-audio.js +1 -6
- package/dist/components/rtk-debugger-screenshare.js +1 -6
- package/dist/components/rtk-debugger-system.js +1 -6
- package/dist/components/rtk-debugger-toggle.js +1 -98
- package/dist/components/rtk-debugger-video.js +1 -6
- package/dist/components/rtk-debugger.js +1 -6
- package/dist/components/rtk-dialog-manager.js +1 -310
- package/dist/components/rtk-dialog.js +1 -6
- package/dist/components/rtk-draft-attachment-view.js +1 -6
- package/dist/components/rtk-emoji-picker-button.js +1 -6
- package/dist/components/rtk-emoji-picker.js +1 -6
- package/dist/components/rtk-ended-screen.js +1 -150
- package/dist/components/rtk-file-dropzone.js +1 -87
- package/dist/components/rtk-file-message-view.js +1 -6
- package/dist/components/rtk-file-message.js +1 -6
- package/dist/components/rtk-file-picker-button.js +1 -6
- package/dist/components/rtk-fullscreen-toggle.js +1 -6
- package/dist/components/rtk-grid-pagination.js +1 -206
- package/dist/components/rtk-grid.js +1 -468
- package/dist/components/rtk-header.js +1 -91
- package/dist/components/rtk-icon.js +1 -6
- package/dist/components/rtk-idle-screen.js +1 -139
- package/dist/components/rtk-image-message-view.js +1 -6
- package/dist/components/rtk-image-message.js +1 -6
- package/dist/components/rtk-image-viewer.js +1 -91
- package/dist/components/rtk-information-tooltip.js +1 -61
- package/dist/components/rtk-join-stage.js +1 -6
- package/dist/components/rtk-leave-button.js +1 -87
- package/dist/components/rtk-leave-meeting.js +1 -6
- package/dist/components/rtk-livestream-indicator.js +1 -6
- package/dist/components/rtk-livestream-player.js +1 -6
- package/dist/components/rtk-livestream-toggle.js +1 -181
- package/dist/components/rtk-logo.js +1 -6
- package/dist/components/rtk-markdown-view.js +1 -6
- package/dist/components/rtk-meeting-title.js +1 -74
- package/dist/components/rtk-meeting.js +1 -533
- package/dist/components/rtk-menu-item.js +1 -6
- package/dist/components/rtk-menu-list.js +1 -6
- package/dist/components/rtk-menu.js +1 -6
- package/dist/components/rtk-message-list-view.js +1 -324
- package/dist/components/rtk-message-view.js +1 -6
- package/dist/components/rtk-mic-toggle.js +1 -234
- package/dist/components/rtk-microphone-selector.js +1 -6
- package/dist/components/rtk-mixed-grid.js +1 -300
- package/dist/components/rtk-more-toggle.js +1 -112
- package/dist/components/rtk-mute-all-button.js +1 -127
- package/dist/components/rtk-mute-all-confirmation.js +1 -6
- package/dist/components/rtk-name-tag.js +1 -6
- package/dist/components/rtk-network-indicator.js +1 -117
- package/dist/components/rtk-notification.js +1 -6
- package/dist/components/rtk-notifications.js +1 -637
- package/dist/components/rtk-overlay-modal.js +1 -6
- package/dist/components/rtk-paginated-list.js +1 -6
- package/dist/components/rtk-participant-count.js +1 -118
- package/dist/components/rtk-participant-setup.js +1 -149
- package/dist/components/rtk-participant-tile.js +1 -6
- package/dist/components/rtk-participant.js +1 -6
- package/dist/components/rtk-participants-audio.js +1 -249
- package/dist/components/rtk-participants-stage-list.js +1 -6
- package/dist/components/rtk-participants-stage-queue.js +1 -6
- package/dist/components/rtk-participants-toggle.js +1 -195
- package/dist/components/rtk-participants-viewer-list.js +1 -6
- package/dist/components/rtk-participants-waiting-list.js +1 -6
- package/dist/components/rtk-participants.js +1 -306
- package/dist/components/rtk-permissions-message.js +1 -6
- package/dist/components/rtk-pinned-message-selector.js +1 -6
- package/dist/components/rtk-pip-toggle.js +1 -135
- package/dist/components/rtk-plugin-main.js +1 -6
- package/dist/components/rtk-plugins-toggle.js +1 -148
- package/dist/components/rtk-plugins.js +1 -6
- package/dist/components/rtk-poll-form.js +1 -6
- package/dist/components/rtk-poll.js +1 -6
- package/dist/components/rtk-polls-toggle.js +1 -160
- package/dist/components/rtk-polls.js +1 -6
- package/dist/components/rtk-recording-indicator.js +1 -96
- package/dist/components/rtk-recording-toggle.js +1 -203
- package/dist/components/rtk-screen-share-toggle.js +1 -317
- package/dist/components/rtk-screenshare-view.js +1 -194
- package/dist/components/rtk-settings-audio.js +1 -6
- package/dist/components/rtk-settings-toggle.js +1 -93
- package/dist/components/rtk-settings-video.js +1 -6
- package/dist/components/rtk-settings.js +1 -208
- package/dist/components/rtk-setup-screen.js +1 -215
- package/dist/components/rtk-sidebar-ui.js +1 -6
- package/dist/components/rtk-sidebar.js +1 -253
- package/dist/components/rtk-simple-grid.js +1 -149
- package/dist/components/rtk-speaker-selector.js +1 -6
- package/dist/components/rtk-spinner.js +1 -6
- package/dist/components/rtk-spotlight-grid.js +1 -135
- package/dist/components/rtk-spotlight-indicator.js +1 -6
- package/dist/components/rtk-stage-toggle.js +1 -195
- package/dist/components/rtk-stage.js +1 -61
- package/dist/components/rtk-switch.js +1 -6
- package/dist/components/rtk-tab-bar.js +1 -6
- package/dist/components/rtk-text-composer-view.js +1 -6
- package/dist/components/rtk-text-message-view.js +1 -6
- package/dist/components/rtk-text-message.js +1 -6
- package/dist/components/rtk-tooltip.js +1 -6
- package/dist/components/rtk-transcript.js +1 -6
- package/dist/components/rtk-transcripts.js +1 -199
- package/dist/components/rtk-ui-provider.js +1 -281
- package/dist/components/rtk-viewer-count.js +1 -6
- package/dist/components/rtk-virtualized-participant-list.js +1 -6
- package/dist/components/rtk-waiting-screen.js +1 -77
- package/dist/docs/docs-components.d.ts +37 -0
- package/dist/docs/docs-components.json +5693 -3069
- package/dist/docs/docs-vscode.json +78 -78
- package/dist/esm/ChatHead-BV_pLIJ6.js +9 -0
- package/dist/{components/p-1a950769.js → esm/TextMessage-DRvjfMBy.js} +9 -11
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/breakout-rooms-Daj_55_i.js +64 -0
- package/dist/esm/breakout-rooms-manager-B1Qky9zO.js +301 -0
- package/dist/esm/{chat-1107a64f.js → chat-Zou036qQ.js} +1 -1
- package/dist/{components/p-9f0c9162.js → esm/config-BYcrCEso.js} +5 -4
- package/dist/esm/debounce-BLQbB67V.js +657 -0
- package/dist/{components/p-1dca17d1.js → esm/debounce-BYqYBLuN.js} +4 -6
- package/dist/{components/p-47314bc7.js → esm/file-6Fkktc2w.js} +1 -1
- package/dist/esm/{floating-ui.dom.esm-78a1e61c.js → floating-ui.dom-B1SWgSTZ.js} +3 -310
- package/dist/esm/hark-Dwnntwzh.js +320 -0
- package/dist/{components/p-bd10fae6.js → esm/index-7w76SzJW.js} +2 -2
- package/dist/{components/p-88bd1053.js → esm/index-BUsisVB6.js} +22 -31
- package/dist/esm/{index-55463a54.js → index-gJCRRBX0.js} +1198 -549
- package/dist/esm/index.js +13 -10
- package/dist/esm/{init-error-ff5ead9a.js → init-error-DE1s0fDa.js} +10 -2
- package/dist/esm/livestream-C0vp-Q7v.js +73 -0
- package/dist/esm/loader.js +3630 -2785
- package/dist/{components/p-556de366.js → esm/merge-CiWMx7_3.js} +133 -15
- package/dist/{components/p-598b792e.js → esm/notification-DcR6dHfn.js} +1 -1
- package/dist/esm/realtimekit-ui.js +6 -5
- package/dist/esm/rtk-ai-toggle.entry.js +8 -7
- package/dist/esm/rtk-ai-transcriptions.entry.js +15 -12
- package/dist/esm/rtk-ai_3.entry.js +19 -15
- package/dist/esm/rtk-audio-grid.entry.js +12 -8
- package/dist/esm/rtk-audio-tile.entry.js +13 -8
- package/dist/esm/rtk-audio-visualizer_4.entry.js +26 -21
- package/dist/esm/rtk-avatar_26.entry.js +120 -119
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +25 -17
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +33 -34
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +9 -7
- package/dist/esm/rtk-camera-selector_2.entry.js +20 -13
- package/dist/esm/rtk-camera-toggle.entry.js +8 -7
- package/dist/esm/rtk-caption-toggle.entry.js +11 -7
- package/dist/esm/rtk-chat-composer-ui.entry.js +9 -7
- package/dist/esm/rtk-chat-message.entry.js +8 -6
- package/dist/esm/rtk-chat-messages-ui.entry.js +16 -10
- package/dist/esm/rtk-chat-search-results.entry.js +8 -6
- package/dist/esm/rtk-chat-selector-ui.entry.js +9 -7
- package/dist/esm/rtk-chat-toggle.entry.js +16 -10
- package/dist/esm/rtk-clock.entry.js +11 -8
- package/dist/esm/rtk-controlbar-button.entry.js +5 -6
- package/dist/esm/rtk-controlbar.entry.js +9 -7
- package/dist/esm/rtk-debugger-audio_4.entry.js +42 -46
- package/dist/esm/rtk-debugger-toggle.entry.js +5 -6
- package/dist/esm/rtk-dialog-manager.entry.js +9 -8
- package/dist/esm/rtk-dialog.entry.js +5 -6
- package/dist/esm/rtk-ended-screen.entry.js +11 -7
- package/dist/esm/rtk-file-dropzone.entry.js +8 -6
- package/dist/esm/rtk-file-message_3.entry.js +11 -12
- package/dist/esm/rtk-fullscreen-toggle.entry.js +6 -7
- package/dist/esm/rtk-grid-pagination.entry.js +17 -13
- package/dist/esm/rtk-grid.entry.js +27 -16
- package/dist/esm/rtk-header.entry.js +9 -7
- package/dist/esm/rtk-idle-screen.entry.js +14 -8
- package/dist/esm/rtk-image-viewer.entry.js +7 -8
- package/dist/esm/rtk-information-tooltip.entry.js +8 -6
- package/dist/esm/rtk-leave-button.entry.js +5 -6
- package/dist/esm/rtk-livestream-indicator_3.entry.js +26 -35
- package/dist/esm/rtk-livestream-toggle.entry.js +9 -7
- package/dist/esm/rtk-logo.entry.js +14 -8
- package/dist/esm/rtk-meeting-title.entry.js +5 -6
- package/dist/esm/rtk-message-list-view.entry.js +12 -8
- package/dist/esm/rtk-mic-toggle.entry.js +8 -7
- package/dist/esm/rtk-mixed-grid.entry.js +16 -11
- package/dist/esm/rtk-more-toggle.entry.js +5 -6
- package/dist/esm/rtk-mute-all-button.entry.js +11 -7
- package/dist/esm/rtk-name-tag.entry.js +9 -8
- package/dist/esm/rtk-network-indicator.entry.js +11 -7
- package/dist/esm/rtk-notification.entry.js +13 -10
- package/dist/esm/rtk-notifications.entry.js +21 -13
- package/dist/esm/rtk-participant-count.entry.js +9 -7
- package/dist/esm/rtk-participant-setup.entry.js +14 -8
- package/dist/esm/rtk-participant_2.entry.js +24 -21
- package/dist/esm/rtk-participants-audio.entry.js +10 -8
- package/dist/esm/rtk-participants-stage-list_4.entry.js +33 -22
- package/dist/esm/rtk-participants-toggle.entry.js +16 -10
- package/dist/esm/rtk-participants.entry.js +15 -9
- package/dist/esm/rtk-pip-toggle.entry.js +11 -7
- package/dist/esm/rtk-plugin-main_2.entry.js +11 -11
- package/dist/esm/rtk-plugins-toggle.entry.js +16 -10
- package/dist/esm/rtk-poll_2.entry.js +8 -10
- package/dist/esm/rtk-polls-toggle.entry.js +16 -10
- package/dist/esm/rtk-recording-indicator.entry.js +8 -7
- package/dist/esm/rtk-recording-toggle.entry.js +8 -7
- package/dist/esm/rtk-screen-share-toggle.entry.js +8 -7
- package/dist/esm/rtk-screenshare-view.entry.js +9 -8
- package/dist/esm/rtk-settings-audio_2.entry.js +10 -10
- package/dist/esm/rtk-settings-toggle.entry.js +5 -6
- package/dist/esm/rtk-settings.entry.js +8 -7
- package/dist/esm/rtk-setup-screen.entry.js +11 -10
- package/dist/esm/rtk-sidebar-ui.entry.js +11 -7
- package/dist/esm/rtk-sidebar.entry.js +17 -11
- package/dist/esm/rtk-simple-grid.entry.js +11 -10
- package/dist/esm/rtk-spotlight-grid.entry.js +7 -8
- package/dist/esm/rtk-spotlight-indicator.entry.js +8 -7
- package/dist/esm/rtk-stage-toggle.entry.js +11 -7
- package/dist/esm/rtk-stage.entry.js +5 -6
- package/dist/esm/rtk-transcript.entry.js +8 -7
- package/dist/esm/rtk-transcripts.entry.js +14 -8
- package/dist/esm/rtk-ui-provider.entry.js +32 -18
- package/dist/esm/rtk-waiting-screen.entry.js +8 -6
- package/dist/{components/p-a3fc952e.js → esm/sidebar-B3trLKC3.js} +1 -1
- package/dist/{components/p-d5a12339.js → esm/ui-store-BtrgoOOT.js} +258 -762
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/p-04237239.entry.js +1 -0
- package/dist/realtimekit-ui/p-070294a1.entry.js +1 -0
- package/dist/realtimekit-ui/p-0d5719ea.entry.js +1 -0
- package/dist/realtimekit-ui/p-0fe1ced3.entry.js +1 -0
- package/dist/realtimekit-ui/p-105e4115.entry.js +1 -0
- package/dist/realtimekit-ui/{p-30fa04e9.entry.js → p-117f34c2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-069cc080.entry.js → p-149c0b9c.entry.js} +1 -1
- package/dist/realtimekit-ui/p-15d96f62.entry.js +1 -0
- package/dist/realtimekit-ui/p-16fe4fca.entry.js +1 -0
- package/dist/realtimekit-ui/p-17690ef8.entry.js +1 -0
- package/dist/realtimekit-ui/p-1ae8c9ea.entry.js +1 -0
- package/dist/realtimekit-ui/p-1f114cc0.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d93b1e9c.entry.js → p-213b9942.entry.js} +1 -1
- package/dist/realtimekit-ui/p-243e3c22.entry.js +1 -0
- package/dist/realtimekit-ui/p-25374ae7.entry.js +1 -0
- package/dist/realtimekit-ui/{p-71a44776.entry.js → p-26ba0489.entry.js} +1 -1
- package/dist/realtimekit-ui/p-27dcaef7.entry.js +1 -0
- package/dist/realtimekit-ui/p-2906e52d.entry.js +1 -0
- package/dist/realtimekit-ui/{p-58b2f1a1.entry.js → p-2baa2443.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2bd8f726.entry.js +1 -0
- package/dist/realtimekit-ui/p-2c5a9a4d.entry.js +1 -0
- package/dist/realtimekit-ui/p-2f438543.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b5f0c31d.entry.js → p-34ebceb7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-3df3b56b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-03db9946.entry.js → p-3f297e22.entry.js} +1 -1
- package/dist/realtimekit-ui/p-405addc8.entry.js +1 -0
- package/dist/realtimekit-ui/p-450803e1.entry.js +1 -0
- package/dist/realtimekit-ui/p-49f22238.entry.js +1 -0
- package/dist/realtimekit-ui/{p-4b9450d3.entry.js → p-49feda1f.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4c1b7ee2.entry.js +1 -0
- package/dist/realtimekit-ui/{p-234a709e.entry.js → p-4f264d60.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-64b59d46.entry.js → p-560dcff9.entry.js} +1 -1
- package/dist/realtimekit-ui/p-56261662.entry.js +1 -0
- package/dist/realtimekit-ui/p-5a1918a1.entry.js +1 -0
- package/dist/realtimekit-ui/p-5bd05c88.entry.js +1 -0
- package/dist/realtimekit-ui/p-5c5ca185.entry.js +1 -0
- package/dist/realtimekit-ui/p-6092b383.entry.js +1 -0
- package/dist/realtimekit-ui/p-650339c3.entry.js +1 -0
- package/dist/realtimekit-ui/p-65c856c3.entry.js +1 -0
- package/dist/realtimekit-ui/p-69ddb3a9.entry.js +1 -0
- package/dist/realtimekit-ui/p-6bc7af7a.entry.js +1 -0
- package/dist/realtimekit-ui/p-73bd1b57.entry.js +1 -0
- package/dist/realtimekit-ui/p-768c3c20.entry.js +1 -0
- package/dist/realtimekit-ui/p-779bd93e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-72461b1f.entry.js → p-7d4e36b0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1b26c15d.entry.js → p-7ff08b19.entry.js} +1 -1
- package/dist/realtimekit-ui/p-836455f1.entry.js +1 -0
- package/dist/realtimekit-ui/p-8dcf542b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-91795fd7.entry.js → p-9810aada.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9b089f06.entry.js +1 -0
- package/dist/realtimekit-ui/p-9b93c273.entry.js +1 -0
- package/dist/realtimekit-ui/p-9c5cf5a3.entry.js +1 -0
- package/dist/realtimekit-ui/p-9cb3685c.entry.js +1 -0
- package/dist/realtimekit-ui/p-B1SWgSTZ.js +1 -0
- package/dist/realtimekit-ui/{p-7e3c2d64.js → p-BCaKYPpD.js} +1 -1
- package/dist/realtimekit-ui/p-BCuMxcZN.js +1 -0
- package/dist/realtimekit-ui/p-BFTU3MAI.js +1 -0
- package/dist/realtimekit-ui/p-BIplIdLH.js +1 -0
- package/dist/realtimekit-ui/p-BJvHNbaa.js +1 -0
- package/dist/realtimekit-ui/p-BSWYrdZA.js +1 -0
- package/dist/realtimekit-ui/p-BWNToYSb.js +1 -0
- package/dist/realtimekit-ui/p-Bbls2zyp.js +1 -0
- package/dist/realtimekit-ui/p-C0vp-Q7v.js +1 -0
- package/dist/realtimekit-ui/p-C5Ah4uY5.js +1 -0
- package/dist/realtimekit-ui/p-CAqYddlg.js +1 -0
- package/dist/realtimekit-ui/{p-eccb6d78.js → p-CTFO-5XH.js} +1 -1
- package/dist/realtimekit-ui/p-CmmyVCoN.js +1 -0
- package/dist/realtimekit-ui/p-CqWk07gT.js +1 -0
- package/dist/realtimekit-ui/p-D9HGXWKc.js +1 -0
- package/dist/realtimekit-ui/p-DE1s0fDa.js +1 -0
- package/dist/realtimekit-ui/p-Daj_55_i.js +1 -0
- package/dist/realtimekit-ui/p-Dg4b2aZr.js +1 -0
- package/dist/realtimekit-ui/p-DpAk_WQ6.js +1 -0
- package/dist/realtimekit-ui/p-DxDYE5-a.js +1 -0
- package/dist/realtimekit-ui/p-FdeAvICb.js +1 -0
- package/dist/realtimekit-ui/p-GSFejkz7.js +1 -0
- package/dist/realtimekit-ui/{p-3306b122.entry.js → p-a060fa07.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e0426f17.entry.js → p-a8b77530.entry.js} +1 -1
- package/dist/realtimekit-ui/p-ae94a77b.entry.js +1 -0
- package/dist/realtimekit-ui/p-b77aab62.entry.js +1 -0
- package/dist/realtimekit-ui/p-b81bfd1b.entry.js +1 -0
- package/dist/realtimekit-ui/p-bb7b542e.entry.js +1 -0
- package/dist/realtimekit-ui/p-c0fb33e4.entry.js +1 -0
- package/dist/realtimekit-ui/{p-88a01a0c.entry.js → p-c25c6602.entry.js} +1 -1
- package/dist/realtimekit-ui/p-c90deeae.entry.js +1 -0
- package/dist/realtimekit-ui/p-ce4105e5.entry.js +1 -0
- package/dist/realtimekit-ui/p-d0baf267.entry.js +1 -0
- package/dist/realtimekit-ui/p-d39bd2e9.entry.js +1 -0
- package/dist/realtimekit-ui/p-d5ccf7d6.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b89873a4.entry.js → p-d75ea8a3.entry.js} +1 -1
- package/dist/realtimekit-ui/p-db957a5c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d4a2594a.entry.js → p-ddd3808d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e0837ae7.entry.js +1 -0
- package/dist/realtimekit-ui/p-e12de42e.entry.js +1 -0
- package/dist/realtimekit-ui/p-e2f9a4fc.entry.js +1 -0
- package/dist/realtimekit-ui/{p-20390946.entry.js → p-e5293ed6.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e87aa0f9.entry.js +1 -0
- package/dist/realtimekit-ui/p-e8823daa.entry.js +1 -0
- package/dist/realtimekit-ui/p-f101d6f9.entry.js +1 -0
- package/dist/realtimekit-ui/p-f4c228c8.entry.js +1 -0
- package/dist/realtimekit-ui/p-f5688e34.entry.js +1 -0
- package/dist/realtimekit-ui/p-fb973221.entry.js +1 -0
- package/dist/realtimekit-ui/p-fcde019e.entry.js +1 -0
- package/dist/realtimekit-ui/p-fd29249a.entry.js +1 -0
- package/dist/realtimekit-ui/p-gJCRRBX0.js +2 -0
- package/dist/realtimekit-ui/p-jvwnrxra.js +1 -0
- package/dist/realtimekit-ui/p-t72veIFj.js +1 -0
- package/dist/realtimekit-ui/p-uIA60Puf.js +1 -0
- package/dist/realtimekit-ui/p-vBfDtD_u.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -1
- package/dist/types/components.d.ts +1752 -255
- package/dist/types/stencil-public-runtime.d.ts +193 -12
- package/dist/types/utils/init-error.d.ts +6 -2
- package/dist/types/utils/livestream.d.ts +60 -0
- package/dist/types/utils/sync-with-store/ui-store.d.ts +1 -1
- package/package.json +2 -3
- package/dist/cjs/ChatHead-777e6a2d.js +0 -13
- package/dist/cjs/debounce-6080cc73.js +0 -544
- package/dist/cjs/hark-c97d0a59.js +0 -301
- package/dist/components/p-00568bea.js +0 -159
- package/dist/components/p-026049ee.js +0 -81
- package/dist/components/p-03e354cd.js +0 -82
- package/dist/components/p-04ac37d4.js +0 -69
- package/dist/components/p-0529c72c.js +0 -218
- package/dist/components/p-084f7d6c.js +0 -95
- package/dist/components/p-08e39399.js +0 -199
- package/dist/components/p-0db812c2.js +0 -189
- package/dist/components/p-0e02697c.js +0 -85
- package/dist/components/p-1a7dd46a.js +0 -390
- package/dist/components/p-1cb276df.js +0 -104
- package/dist/components/p-240d48d1.js +0 -96
- package/dist/components/p-278a613b.js +0 -115
- package/dist/components/p-29e60132.js +0 -437
- package/dist/components/p-2f2b07a1.js +0 -168
- package/dist/components/p-303a7f1f.js +0 -122
- package/dist/components/p-32b95100.js +0 -128
- package/dist/components/p-32f14b1a.js +0 -260
- package/dist/components/p-36ad7fe2.js +0 -98
- package/dist/components/p-38d22d57.js +0 -11
- package/dist/components/p-3ae130f7.js +0 -178
- package/dist/components/p-3e0452c4.js +0 -48
- package/dist/components/p-3eedb9db.js +0 -68
- package/dist/components/p-3f882e7c.js +0 -299
- package/dist/components/p-42c2e598.js +0 -103
- package/dist/components/p-4351785c.js +0 -103
- package/dist/components/p-467abb0c.js +0 -159
- package/dist/components/p-48b6fb95.js +0 -327
- package/dist/components/p-4e02ee0f.js +0 -131
- package/dist/components/p-51b6f520.js +0 -43
- package/dist/components/p-549ab58f.js +0 -108
- package/dist/components/p-5654365f.js +0 -94
- package/dist/components/p-592cd396.js +0 -105
- package/dist/components/p-5995471c.js +0 -125
- package/dist/components/p-5c55e43b.js +0 -115
- package/dist/components/p-5d3174d1.js +0 -127
- package/dist/components/p-632cbbe7.js +0 -164
- package/dist/components/p-695e5dc5.js +0 -223
- package/dist/components/p-6a0a1a25.js +0 -101
- package/dist/components/p-6bd3b29c.js +0 -97
- package/dist/components/p-6c6cefb0.js +0 -224
- package/dist/components/p-70c0c7ce.js +0 -179
- package/dist/components/p-78db5933.js +0 -92
- package/dist/components/p-7d8d9693.js +0 -119
- package/dist/components/p-8133c228.js +0 -79
- package/dist/components/p-82df4307.js +0 -114
- package/dist/components/p-84deab1d.js +0 -126
- package/dist/components/p-85587a5c.js +0 -50
- package/dist/components/p-92ac782c.js +0 -37205
- package/dist/components/p-95721bd2.js +0 -159
- package/dist/components/p-96be6716.js +0 -120
- package/dist/components/p-9c89d7b1.js +0 -131
- package/dist/components/p-9f5d24b0.js +0 -191
- package/dist/components/p-a0a863fa.js +0 -61
- package/dist/components/p-a3c85ced.js +0 -177
- package/dist/components/p-a6cf88b5.js +0 -146
- package/dist/components/p-a83ccdbd.js +0 -40
- package/dist/components/p-a9d577bb.js +0 -271
- package/dist/components/p-ab37c121.js +0 -181
- package/dist/components/p-ae373651.js +0 -4028
- package/dist/components/p-b1a93be0.js +0 -1945
- package/dist/components/p-b1a9a7c4.js +0 -214
- package/dist/components/p-b1aeb013.js +0 -113
- package/dist/components/p-b29d03cf.js +0 -77
- package/dist/components/p-b4068392.js +0 -60
- package/dist/components/p-b75297d7.js +0 -299
- package/dist/components/p-b98fd0eb.js +0 -102
- package/dist/components/p-bece0226.js +0 -141
- package/dist/components/p-bf64e0af.js +0 -76
- package/dist/components/p-c3c8f309.js +0 -127
- package/dist/components/p-c82e13b1.js +0 -92
- package/dist/components/p-c9f704c4.js +0 -349
- package/dist/components/p-cbdd7a99.js +0 -542
- package/dist/components/p-cedfbbd4.js +0 -105
- package/dist/components/p-cf1903b1.js +0 -60
- package/dist/components/p-cfa0b5c7.js +0 -26
- package/dist/components/p-d411c80b.js +0 -463
- package/dist/components/p-d48b4170.js +0 -159
- package/dist/components/p-d83124b1.js +0 -86
- package/dist/components/p-de0b23a0.js +0 -210
- package/dist/components/p-e0129657.js +0 -201
- package/dist/components/p-e8809896.js +0 -147
- package/dist/components/p-ea359bb7.js +0 -90
- package/dist/components/p-ea4aa3bf.js +0 -86
- package/dist/components/p-ed0fad6d.js +0 -166
- package/dist/components/p-efabd2ce.js +0 -58
- package/dist/components/p-f179a6ff.js +0 -80
- package/dist/components/p-f867ebba.js +0 -122
- package/dist/components/p-f9cbb223.js +0 -127
- package/dist/components/p-f9f08610.js +0 -157
- package/dist/esm/ChatHead-148558a8.js +0 -11
- package/dist/esm/ResizeObserver.es-02979d4e.js +0 -928
- package/dist/esm/TextMessage-0ab2db20.js +0 -67
- package/dist/esm/browser-24d8ab3e.js +0 -3
- package/dist/esm/config-f3f01b9a.js +0 -352
- package/dist/esm/date-b1f78dea.js +0 -32
- package/dist/esm/debounce-0169a54d.js +0 -542
- package/dist/esm/debounce-430cbf00.js +0 -329
- package/dist/esm/file-6114f1a9.js +0 -57
- package/dist/esm/full-screen-d36ffc68.js +0 -50
- package/dist/esm/grid-a3ca5a3e.js +0 -96
- package/dist/esm/hark-6327d91e.js +0 -299
- package/dist/esm/index-3f51790f.js +0 -224
- package/dist/esm/index-b81ca899.js +0 -92
- package/dist/esm/join-error-e87be64a.js +0 -29
- package/dist/esm/merge-201ecd5c.js +0 -820
- package/dist/esm/notification-1ebf7700.js +0 -37
- package/dist/esm/scroll-2d8e810c.js +0 -13
- package/dist/esm/sidebar-a13dc215.js +0 -49
- package/dist/esm/ui-store-1bc7abc6.js +0 -4033
- package/dist/realtimekit-ui/p-012cd22a.entry.js +0 -1
- package/dist/realtimekit-ui/p-026e8157.entry.js +0 -1
- package/dist/realtimekit-ui/p-083e53cc.entry.js +0 -1
- package/dist/realtimekit-ui/p-0bd95245.entry.js +0 -1
- package/dist/realtimekit-ui/p-1e19ef2c.entry.js +0 -1
- package/dist/realtimekit-ui/p-217dcd9f.entry.js +0 -1
- package/dist/realtimekit-ui/p-26ffb189.entry.js +0 -1
- package/dist/realtimekit-ui/p-3540d2b0.entry.js +0 -1
- package/dist/realtimekit-ui/p-3707f1e0.entry.js +0 -1
- package/dist/realtimekit-ui/p-39c48b22.entry.js +0 -1
- package/dist/realtimekit-ui/p-3f882e7c.js +0 -1
- package/dist/realtimekit-ui/p-41fa7b4f.js +0 -1
- package/dist/realtimekit-ui/p-44fb5d40.entry.js +0 -1
- package/dist/realtimekit-ui/p-4564c9ff.entry.js +0 -1
- package/dist/realtimekit-ui/p-4ec77793.js +0 -1
- package/dist/realtimekit-ui/p-548f72ee.entry.js +0 -1
- package/dist/realtimekit-ui/p-5564adad.entry.js +0 -1
- package/dist/realtimekit-ui/p-5623d82e.entry.js +0 -1
- package/dist/realtimekit-ui/p-5862bcba.entry.js +0 -1
- package/dist/realtimekit-ui/p-62c4d1ba.entry.js +0 -1
- package/dist/realtimekit-ui/p-667c84b1.js +0 -1
- package/dist/realtimekit-ui/p-6b177ee6.entry.js +0 -1
- package/dist/realtimekit-ui/p-6c9a2464.entry.js +0 -1
- package/dist/realtimekit-ui/p-7649168e.entry.js +0 -1
- package/dist/realtimekit-ui/p-76f87172.entry.js +0 -1
- package/dist/realtimekit-ui/p-79060698.entry.js +0 -1
- package/dist/realtimekit-ui/p-7bdd688b.entry.js +0 -1
- package/dist/realtimekit-ui/p-7e4a3510.entry.js +0 -1
- package/dist/realtimekit-ui/p-80be0156.entry.js +0 -1
- package/dist/realtimekit-ui/p-85818728.entry.js +0 -1
- package/dist/realtimekit-ui/p-873a645c.entry.js +0 -1
- package/dist/realtimekit-ui/p-8c971978.entry.js +0 -1
- package/dist/realtimekit-ui/p-8cc4f116.entry.js +0 -1
- package/dist/realtimekit-ui/p-8edfe6fa.entry.js +0 -1
- package/dist/realtimekit-ui/p-8fa0ea33.entry.js +0 -1
- package/dist/realtimekit-ui/p-91c8f9d1.entry.js +0 -1
- package/dist/realtimekit-ui/p-93f88675.entry.js +0 -1
- package/dist/realtimekit-ui/p-9727a165.js +0 -1
- package/dist/realtimekit-ui/p-a0471508.entry.js +0 -1
- package/dist/realtimekit-ui/p-a056fd35.entry.js +0 -1
- package/dist/realtimekit-ui/p-a2693bee.entry.js +0 -1
- package/dist/realtimekit-ui/p-a47c017b.entry.js +0 -1
- package/dist/realtimekit-ui/p-a599f720.js +0 -2
- package/dist/realtimekit-ui/p-a9ab826e.entry.js +0 -1
- package/dist/realtimekit-ui/p-ae0bb894.js +0 -1
- package/dist/realtimekit-ui/p-b1a93be0.js +0 -1
- package/dist/realtimekit-ui/p-b27886ff.entry.js +0 -1
- package/dist/realtimekit-ui/p-b3f1ad3b.entry.js +0 -1
- package/dist/realtimekit-ui/p-b86e3e01.entry.js +0 -1
- package/dist/realtimekit-ui/p-bde05d24.entry.js +0 -1
- package/dist/realtimekit-ui/p-c57e0778.entry.js +0 -1
- package/dist/realtimekit-ui/p-c6a8ef1e.entry.js +0 -1
- package/dist/realtimekit-ui/p-c8bc3bb1.entry.js +0 -1
- package/dist/realtimekit-ui/p-c8f7b427.entry.js +0 -1
- package/dist/realtimekit-ui/p-c9d62ba7.entry.js +0 -1
- package/dist/realtimekit-ui/p-cbdd7a99.js +0 -1
- package/dist/realtimekit-ui/p-cfa0b5c7.js +0 -1
- package/dist/realtimekit-ui/p-d0959773.entry.js +0 -1
- package/dist/realtimekit-ui/p-d59e0ecc.entry.js +0 -1
- package/dist/realtimekit-ui/p-d790f2be.entry.js +0 -1
- package/dist/realtimekit-ui/p-d7fd359f.entry.js +0 -1
- package/dist/realtimekit-ui/p-daf01d45.entry.js +0 -1
- package/dist/realtimekit-ui/p-db2a6aed.entry.js +0 -1
- package/dist/realtimekit-ui/p-de170ad4.entry.js +0 -1
- package/dist/realtimekit-ui/p-de31f5b0.entry.js +0 -1
- package/dist/realtimekit-ui/p-deaae495.entry.js +0 -1
- package/dist/realtimekit-ui/p-e59cc7d0.entry.js +0 -1
- package/dist/realtimekit-ui/p-ea03b1a0.entry.js +0 -1
- package/dist/realtimekit-ui/p-ede50497.entry.js +0 -1
- package/dist/realtimekit-ui/p-f47d4fe8.js +0 -1
- package/dist/realtimekit-ui/p-f52fdfb4.entry.js +0 -1
- package/dist/realtimekit-ui/p-fd80c28e.entry.js +0 -1
- package/dist/realtimekit-ui/p-ff971eea.entry.js +0 -1
- package/loader/package.json +0 -11
- /package/dist/cjs/{ResizeObserver.es-ba961f16.js → ResizeObserver.es-26EdCpEA.js} +0 -0
- /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
- /package/dist/cjs/{browser-5538db4d.js → browser-qKzDfwbO.js} +0 -0
- /package/dist/cjs/{date-61ffcd0a.js → date-CObAPgSZ.js} +0 -0
- /package/dist/cjs/{full-screen-b02d13dd.js → full-screen-BRlJJI9n.js} +0 -0
- /package/dist/cjs/{grid-edc342a7.js → grid-D_7WOWNI.js} +0 -0
- /package/dist/cjs/{join-error-c1eed98e.js → join-error-CZSJQxsP.js} +0 -0
- /package/dist/cjs/{scroll-c6404609.js → scroll-uQ4eWvC-.js} +0 -0
- /package/dist/cjs/{string-9bce3253.js → string-C1A6N-tA.js} +0 -0
- /package/dist/{realtimekit-ui/p-0752f2ba.js → components/p-BIplIdLH.js} +0 -0
- /package/dist/{realtimekit-ui/p-05186172.js → components/p-CAqYddlg.js} +0 -0
- /package/dist/{realtimekit-ui/p-b13ddb7d.js → components/p-CmmyVCoN.js} +0 -0
- /package/dist/{realtimekit-ui/p-3974d97a.js → components/p-GSFejkz7.js} +0 -0
- /package/dist/{realtimekit-ui/p-382270d8.js → components/p-jvwnrxra.js} +0 -0
- /package/dist/{realtimekit-ui/p-f7c2daba.js → components/p-vBfDtD_u.js} +0 -0
- /package/dist/{components/p-f47d4fe8.js → esm/ResizeObserver.es-FdeAvICb.js} +0 -0
- /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
- /package/dist/{components/p-05186172.js → esm/browser-CAqYddlg.js} +0 -0
- /package/dist/{components/p-382270d8.js → esm/date-jvwnrxra.js} +0 -0
- /package/dist/{components/p-3974d97a.js → esm/full-screen-GSFejkz7.js} +0 -0
- /package/dist/{components/p-b13ddb7d.js → esm/grid-CmmyVCoN.js} +0 -0
- /package/dist/{components/p-f7c2daba.js → esm/join-error-vBfDtD_u.js} +0 -0
- /package/dist/{components/p-0752f2ba.js → esm/scroll-BIplIdLH.js} +0 -0
- /package/dist/esm/{string-068ce30a.js → string-vBD2htwQ.js} +0 -0
- /package/dist/realtimekit-ui/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
- /package/dist/realtimekit-ui/{p-6f211c3e.js → p-vBD2htwQ.js} +0 -0
|
@@ -1,6 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const RtkTranscript = RtkTranscript$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { RtkTranscript, defineCustomElement };
|
|
1
|
+
import{R as o,d as s}from"./p-DlKMnwxL.js";const p=o,r=s;export{p as RtkTranscript,r as defineCustomElement}
|
|
@@ -1,199 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { c as createDefaultConfig, i as useLanguage, F as clone } from './p-d5a12339.js';
|
|
3
|
-
import './p-a83ccdbd.js';
|
|
4
|
-
import { S as SyncWithStore } from './p-bd10fae6.js';
|
|
5
|
-
import { d as defineCustomElement$2 } from './p-bf64e0af.js';
|
|
6
|
-
|
|
7
|
-
const rtkTranscriptsCss = ":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;justify-content:center;width:100%;z-index:5}rtk-transcript{margin-top:var(--rtk-space-2, 8px)}";
|
|
8
|
-
const RtkTranscriptsStyle0 = rtkTranscriptsCss;
|
|
9
|
-
|
|
10
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
13
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
14
|
-
else
|
|
15
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
16
|
-
if (d = decorators[i])
|
|
17
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
20
|
-
const RtkTranscripts$1 = /*@__PURE__*/ proxyCustomElement(class RtkTranscripts extends H {
|
|
21
|
-
constructor() {
|
|
22
|
-
super();
|
|
23
|
-
this.__registerHost();
|
|
24
|
-
this.__attachShadow();
|
|
25
|
-
/** Config object */
|
|
26
|
-
this.config = createDefaultConfig();
|
|
27
|
-
/** Language */
|
|
28
|
-
this.t = useLanguage();
|
|
29
|
-
this.transcripts = [];
|
|
30
|
-
this.listenerAttached = false;
|
|
31
|
-
this.onTranscript = (transcript) => {
|
|
32
|
-
if (transcript.transcript) {
|
|
33
|
-
this.add(transcript);
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
connectedCallback() {
|
|
38
|
-
this.meetingChanged(this.meeting);
|
|
39
|
-
}
|
|
40
|
-
addListener(meeting) {
|
|
41
|
-
var _a;
|
|
42
|
-
(_a = meeting === null || meeting === void 0 ? void 0 : meeting.ai) === null || _a === void 0 ? void 0 : _a.addListener('transcript', this.onTranscript);
|
|
43
|
-
this.listenerAttached = true;
|
|
44
|
-
}
|
|
45
|
-
clearListeners(meeting) {
|
|
46
|
-
var _a;
|
|
47
|
-
this.onTranscript && ((_a = meeting === null || meeting === void 0 ? void 0 : meeting.ai) === null || _a === void 0 ? void 0 : _a.removeListener('transcript', this.onTranscript));
|
|
48
|
-
this.listenerAttached = false;
|
|
49
|
-
clearTimeout(this.disconnectTimeout);
|
|
50
|
-
this.transcripts = [];
|
|
51
|
-
}
|
|
52
|
-
disconnectedCallback() {
|
|
53
|
-
if (!this.meeting)
|
|
54
|
-
return;
|
|
55
|
-
this.clearListeners(this.meeting);
|
|
56
|
-
}
|
|
57
|
-
meetingChanged(meeting, oldMeeting) {
|
|
58
|
-
clearTimeout(this.disconnectTimeout);
|
|
59
|
-
if (oldMeeting)
|
|
60
|
-
this.clearListeners(oldMeeting);
|
|
61
|
-
if (!meeting)
|
|
62
|
-
return;
|
|
63
|
-
if (this.states.activeCaptions) {
|
|
64
|
-
this.addListener(meeting);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
statesChanged(states) {
|
|
68
|
-
if (!states)
|
|
69
|
-
return;
|
|
70
|
-
if (states.activeCaptions && !this.listenerAttached) {
|
|
71
|
-
this.addListener(this.meeting);
|
|
72
|
-
}
|
|
73
|
-
if (!states.activeCaptions && this.listenerAttached) {
|
|
74
|
-
this.clearListeners(this.meeting);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
transcriptionsReducer(acc, t) {
|
|
78
|
-
if (!acc.length) {
|
|
79
|
-
return [t];
|
|
80
|
-
}
|
|
81
|
-
let lastElement = acc[acc.length - 1];
|
|
82
|
-
if (lastElement.peerId !== t.peerId) {
|
|
83
|
-
return acc.concat(t);
|
|
84
|
-
}
|
|
85
|
-
if (lastElement.id === t.id) {
|
|
86
|
-
lastElement.transcript = t.transcript;
|
|
87
|
-
acc.pop();
|
|
88
|
-
return acc.concat(clone(lastElement));
|
|
89
|
-
}
|
|
90
|
-
return acc.concat(t);
|
|
91
|
-
}
|
|
92
|
-
add(transcript) {
|
|
93
|
-
// show transcripts only if tab is in focus and a maximum of 3 at a time
|
|
94
|
-
// this.transcripts.splice(0, this.transcripts.length - 2);
|
|
95
|
-
this.transcripts = this.transcriptionsReducer(this.transcripts, transcript);
|
|
96
|
-
}
|
|
97
|
-
remove(renderedId) {
|
|
98
|
-
this.transcripts = this.transcripts.filter((transcript) => transcript.renderedId !== renderedId);
|
|
99
|
-
}
|
|
100
|
-
handleDismiss(e) {
|
|
101
|
-
e.stopPropagation();
|
|
102
|
-
const { id, renderedId } = e.detail;
|
|
103
|
-
const el = this.host.shadowRoot.querySelector(`[data-id="${id}"]`);
|
|
104
|
-
// exit animation
|
|
105
|
-
el === null || el === void 0 ? void 0 : el.classList.add('exit');
|
|
106
|
-
setTimeout(() => {
|
|
107
|
-
writeTask(() => {
|
|
108
|
-
this.remove(renderedId);
|
|
109
|
-
});
|
|
110
|
-
}, 400);
|
|
111
|
-
}
|
|
112
|
-
renderTranscripts() {
|
|
113
|
-
const renderedTranscripts = [];
|
|
114
|
-
this.transcripts.forEach((transcript) => {
|
|
115
|
-
const t = {
|
|
116
|
-
name: transcript.name,
|
|
117
|
-
date: transcript.date,
|
|
118
|
-
peerId: transcript.peerId,
|
|
119
|
-
transcript: transcript.transcript,
|
|
120
|
-
id: transcript.id,
|
|
121
|
-
renderedId: transcript.id,
|
|
122
|
-
};
|
|
123
|
-
if (!renderedTranscripts.length) {
|
|
124
|
-
transcript.renderedId = t.renderedId;
|
|
125
|
-
renderedTranscripts.push(t);
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
const lastTranscript = renderedTranscripts[renderedTranscripts.length - 1];
|
|
129
|
-
const maxTranscriptLength = 400;
|
|
130
|
-
if (lastTranscript.transcript.length + t.transcript.length > maxTranscriptLength ||
|
|
131
|
-
lastTranscript.peerId !== transcript.peerId) {
|
|
132
|
-
transcript.renderedId = t.renderedId;
|
|
133
|
-
renderedTranscripts.push(t);
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
|
-
lastTranscript.transcript += ' ' + transcript.transcript;
|
|
137
|
-
transcript.renderedId = lastTranscript.renderedId;
|
|
138
|
-
});
|
|
139
|
-
renderedTranscripts.splice(0, renderedTranscripts.length - 2);
|
|
140
|
-
return renderedTranscripts === null || renderedTranscripts === void 0 ? void 0 : renderedTranscripts.map((transcript) => (h("rtk-transcript", { key: transcript.id, "data-id": transcript.id, transcript: transcript, onRtkTranscriptDismiss: (e) => this.handleDismiss(e), t: this.t })));
|
|
141
|
-
}
|
|
142
|
-
render() {
|
|
143
|
-
if (!this.states.activeCaptions)
|
|
144
|
-
return;
|
|
145
|
-
return h(Host, null, this.renderTranscripts());
|
|
146
|
-
}
|
|
147
|
-
get host() { return this; }
|
|
148
|
-
static get watchers() { return {
|
|
149
|
-
"meeting": ["meetingChanged"],
|
|
150
|
-
"states": ["statesChanged"]
|
|
151
|
-
}; }
|
|
152
|
-
static get style() { return RtkTranscriptsStyle0; }
|
|
153
|
-
}, [1, "rtk-transcripts", {
|
|
154
|
-
"meeting": [16],
|
|
155
|
-
"states": [16],
|
|
156
|
-
"config": [16],
|
|
157
|
-
"t": [16],
|
|
158
|
-
"transcripts": [32],
|
|
159
|
-
"listenerAttached": [32]
|
|
160
|
-
}, undefined, {
|
|
161
|
-
"meeting": ["meetingChanged"],
|
|
162
|
-
"states": ["statesChanged"]
|
|
163
|
-
}]);
|
|
164
|
-
__decorate([
|
|
165
|
-
SyncWithStore()
|
|
166
|
-
], RtkTranscripts$1.prototype, "meeting", void 0);
|
|
167
|
-
__decorate([
|
|
168
|
-
SyncWithStore()
|
|
169
|
-
], RtkTranscripts$1.prototype, "states", void 0);
|
|
170
|
-
__decorate([
|
|
171
|
-
SyncWithStore()
|
|
172
|
-
], RtkTranscripts$1.prototype, "config", void 0);
|
|
173
|
-
__decorate([
|
|
174
|
-
SyncWithStore()
|
|
175
|
-
], RtkTranscripts$1.prototype, "t", void 0);
|
|
176
|
-
function defineCustomElement$1() {
|
|
177
|
-
if (typeof customElements === "undefined") {
|
|
178
|
-
return;
|
|
179
|
-
}
|
|
180
|
-
const components = ["rtk-transcripts", "rtk-transcript"];
|
|
181
|
-
components.forEach(tagName => { switch (tagName) {
|
|
182
|
-
case "rtk-transcripts":
|
|
183
|
-
if (!customElements.get(tagName)) {
|
|
184
|
-
customElements.define(tagName, RtkTranscripts$1);
|
|
185
|
-
}
|
|
186
|
-
break;
|
|
187
|
-
case "rtk-transcript":
|
|
188
|
-
if (!customElements.get(tagName)) {
|
|
189
|
-
defineCustomElement$2();
|
|
190
|
-
}
|
|
191
|
-
break;
|
|
192
|
-
} });
|
|
193
|
-
}
|
|
194
|
-
defineCustomElement$1();
|
|
195
|
-
|
|
196
|
-
const RtkTranscripts = RtkTranscripts$1;
|
|
197
|
-
const defineCustomElement = defineCustomElement$1;
|
|
198
|
-
|
|
199
|
-
export { RtkTranscripts, defineCustomElement };
|
|
1
|
+
import{p as t,H as s,w as e,h as i,d as r,t as n}from"./p-BBHQOrFK.js";import{c as a,i as o,D as c}from"./p-De8YQHVd.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{S as h}from"./p-CphAED3J.js";import{d as p}from"./p-DlKMnwxL.js";var d=function(t,s,e,i){var r,n=arguments.length,a=n<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,e,i);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(a=(n<3?r(a):n>3?r(s,e,a):r(s,e))||a);return n>3&&a&&Object.defineProperty(s,e,a),a};const l=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.config=a(),this.t=o(),this.transcripts=[],this.listenerAttached=!1,this.onTranscript=t=>{t.transcript&&this.add(t)}}connectedCallback(){this.meetingChanged(this.meeting)}addListener(t){var s;null===(s=null==t?void 0:t.ai)||void 0===s||s.addListener("transcript",this.onTranscript),this.listenerAttached=!0}clearListeners(t){var s;this.onTranscript&&(null===(s=null==t?void 0:t.ai)||void 0===s||s.removeListener("transcript",this.onTranscript)),this.listenerAttached=!1,clearTimeout(this.disconnectTimeout),this.transcripts=[]}disconnectedCallback(){this.meeting&&this.clearListeners(this.meeting)}meetingChanged(t,s){clearTimeout(this.disconnectTimeout),s&&this.clearListeners(s),t&&this.states.activeCaptions&&this.addListener(t)}statesChanged(t){t&&(t.activeCaptions&&!this.listenerAttached&&this.addListener(this.meeting),!t.activeCaptions&&this.listenerAttached&&this.clearListeners(this.meeting))}transcriptionsReducer(t,s){if(!t.length)return[s];let e=t[t.length-1];return e.peerId!==s.peerId?t.concat(s):e.id===s.id?(e.transcript=s.transcript,t.pop(),t.concat(c(e))):t.concat(s)}add(t){this.transcripts=this.transcriptionsReducer(this.transcripts,t)}remove(t){this.transcripts=this.transcripts.filter((s=>s.renderedId!==t))}handleDismiss(t){t.stopPropagation();const{id:s,renderedId:i}=t.detail,r=this.host.shadowRoot.querySelector(`[data-id="${s}"]`);null==r||r.classList.add("exit"),setTimeout((()=>{e((()=>{this.remove(i)}))}),400)}renderTranscripts(){const t=[];return this.transcripts.forEach((s=>{const e={name:s.name,date:s.date,peerId:s.peerId,transcript:s.transcript,id:s.id,renderedId:s.id};if(!t.length)return s.renderedId=e.renderedId,void t.push(e);const i=t[t.length-1];if(i.transcript.length+e.transcript.length>400||i.peerId!==s.peerId)return s.renderedId=e.renderedId,void t.push(e);i.transcript+=" "+s.transcript,s.renderedId=i.renderedId})),t.splice(0,t.length-2),null==t?void 0:t.map((t=>i("rtk-transcript",{key:t.id,"data-id":t.id,transcript:t,onRtkTranscriptDismiss:t=>this.handleDismiss(t),t:this.t})))}render(){if(this.states.activeCaptions)return i(r,null,this.renderTranscripts())}get host(){return this}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position: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;justify-content:center;width:100%;z-index:5}rtk-transcript{margin-top:var(--rtk-space-2, 8px)}"}},[1,"rtk-transcripts",{meeting:[16],states:[16],config:[16],t:[16],transcripts:[32],listenerAttached:[32]},void 0,{meeting:[{meetingChanged:0}],states:[{statesChanged:0}]}]);function m(){"undefined"!=typeof customElements&&["rtk-transcripts","rtk-transcript"].forEach((t=>{switch(t){case"rtk-transcripts":customElements.get(n(t))||customElements.define(n(t),l);break;case"rtk-transcript":customElements.get(n(t))||p()}}))}d([h()],l.prototype,"meeting",void 0),d([h()],l.prototype,"states",void 0),d([h()],l.prototype,"config",void 0),d([h()],l.prototype,"t",void 0),m();const u=l,f=m;export{u as RtkTranscripts,f as defineCustomElement}
|
|
@@ -1,281 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { e as defaultIconPack, i as useLanguage, c as createDefaultConfig, f as defaultOverrides, u as uiStore, b as createPeerStore } from './p-d5a12339.js';
|
|
3
|
-
import { d as deepMerge, p as provideRtkDesignSystem } from './p-556de366.js';
|
|
4
|
-
import './p-a83ccdbd.js';
|
|
5
|
-
import { g as getInitErrorInfo } from './p-cfa0b5c7.js';
|
|
6
|
-
import { g as getJoinErrorInfo } from './p-f7c2daba.js';
|
|
7
|
-
|
|
8
|
-
const rtkUiProviderCss = ":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;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));overflow:hidden;position:fixed;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);height:100%;width:100%}:host([mode='fill']){position:relative}";
|
|
9
|
-
const RtkUiProviderStyle0 = rtkUiProviderCss;
|
|
10
|
-
|
|
11
|
-
const LEAVE_ROOM_TIMER = 10000;
|
|
12
|
-
const RtkUiProvider$1 = /*@__PURE__*/ proxyCustomElement(class RtkUiProvider extends H {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
this.__registerHost();
|
|
16
|
-
this.statesUpdate = createEvent(this, "rtkStatesUpdate", 7);
|
|
17
|
-
this.peerStore = null;
|
|
18
|
-
this.providerId = 'provider-' + Math.floor(Math.random() * 100);
|
|
19
|
-
/** Meeting */
|
|
20
|
-
this.meeting = null;
|
|
21
|
-
/** Icon pack */
|
|
22
|
-
this.iconPack = defaultIconPack;
|
|
23
|
-
/** Language utility */
|
|
24
|
-
this.t = useLanguage();
|
|
25
|
-
/** Config */
|
|
26
|
-
this.config = createDefaultConfig();
|
|
27
|
-
/** Fill type */
|
|
28
|
-
this.mode = 'fixed';
|
|
29
|
-
/** Whether to show setup screen or not */
|
|
30
|
-
this.showSetupScreen = false;
|
|
31
|
-
/** UI Kit Overrides */
|
|
32
|
-
this.overrides = defaultOverrides;
|
|
33
|
-
this.roomJoinedListener = () => {
|
|
34
|
-
this.updateStates({ meeting: 'joined', preJoinError: null });
|
|
35
|
-
};
|
|
36
|
-
this.waitlistedListener = () => {
|
|
37
|
-
this.updateStates({ meeting: 'waiting' });
|
|
38
|
-
};
|
|
39
|
-
this.roomLeftListener = ({ state }) => {
|
|
40
|
-
if (state === 'disconnected' || state === 'failed')
|
|
41
|
-
return;
|
|
42
|
-
this.updateStates({ meeting: 'ended', roomLeftState: state });
|
|
43
|
-
};
|
|
44
|
-
this.mediaPermissionUpdateListener = ({ kind, message }) => {
|
|
45
|
-
if (['audio', 'video'].includes(kind)) {
|
|
46
|
-
if ((message === 'DENIED' || message === 'SYSTEM_DENIED') &&
|
|
47
|
-
(this.peerStore || uiStore).state.states.activeDebugger !== true) {
|
|
48
|
-
const permissionModalSettings = {
|
|
49
|
-
enabled: true,
|
|
50
|
-
kind,
|
|
51
|
-
};
|
|
52
|
-
this.updateStates({ activePermissionsMessage: permissionModalSettings });
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
this.socketConnectionUpdateListener = ({ state }) => {
|
|
57
|
-
if (state === 'failed') {
|
|
58
|
-
setTimeout(() => {
|
|
59
|
-
this.meeting.leave('disconnected');
|
|
60
|
-
}, LEAVE_ROOM_TIMER);
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
this.handleChangingMeeting = (destinationMeetingId) => {
|
|
64
|
-
const currentStates = this.peerStore.state.states;
|
|
65
|
-
this.updateStates({
|
|
66
|
-
activeBreakoutRoomsManager: Object.assign(Object.assign({}, currentStates.activeBreakoutRoomsManager), { destinationMeetingId }),
|
|
67
|
-
});
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
connectedCallback() {
|
|
71
|
-
if (typeof window !== 'undefined') {
|
|
72
|
-
this.initErrorListener = (ev) => {
|
|
73
|
-
const { message, code } = getInitErrorInfo(this.t, ev.detail);
|
|
74
|
-
this.updateStates({ preJoinError: { message, code } });
|
|
75
|
-
};
|
|
76
|
-
window.addEventListener('ClientError', this.initErrorListener);
|
|
77
|
-
}
|
|
78
|
-
// Listen for store requests from child components
|
|
79
|
-
this.setupStoreRequestListener();
|
|
80
|
-
this.meetingChanged(this.meeting);
|
|
81
|
-
this.iconPackChanged(this.iconPack);
|
|
82
|
-
this.tChanged(this.t);
|
|
83
|
-
this.configChanged(this.config);
|
|
84
|
-
this.overridesChanged(this.overrides);
|
|
85
|
-
}
|
|
86
|
-
disconnectedCallback() {
|
|
87
|
-
window.removeEventListener('ClientError', this.initErrorListener);
|
|
88
|
-
// Remove event listeners
|
|
89
|
-
if (this.storeRequestListener) {
|
|
90
|
-
this.host.removeEventListener('rtkRequestStore', this.storeRequestListener);
|
|
91
|
-
}
|
|
92
|
-
if (this.stateUpdateListener) {
|
|
93
|
-
this.host.removeEventListener('rtkStateUpdate', this.stateUpdateListener);
|
|
94
|
-
}
|
|
95
|
-
if (!this.meeting)
|
|
96
|
-
return;
|
|
97
|
-
this.meeting.self.removeListener('roomLeft', this.roomLeftListener);
|
|
98
|
-
this.meeting.self.removeListener('roomJoined', this.roomJoinedListener);
|
|
99
|
-
this.meeting.self.removeListener('waitlisted', this.waitlistedListener);
|
|
100
|
-
this.meeting.self.removeListener('mediaPermissionUpdate', this.mediaPermissionUpdateListener);
|
|
101
|
-
this.meeting.meta.removeListener('socketConnectionUpdate', this.socketConnectionUpdateListener);
|
|
102
|
-
}
|
|
103
|
-
updateStates(states) {
|
|
104
|
-
// Use peer specific store if available, otherwise fall back to global store
|
|
105
|
-
const targetStore = this.peerStore || uiStore;
|
|
106
|
-
const newStates = Object.assign({}, targetStore.state.states);
|
|
107
|
-
targetStore.state.states = deepMerge(newStates, states);
|
|
108
|
-
// Emit unscoped event for backward compatibility
|
|
109
|
-
this.statesUpdate.emit(targetStore.state.states);
|
|
110
|
-
// Also emit a scoped event that only this meeting's components should listen to
|
|
111
|
-
const scopedEvent = new CustomEvent('rtkStatesUpdate', {
|
|
112
|
-
detail: targetStore.state.states,
|
|
113
|
-
bubbles: true,
|
|
114
|
-
composed: true,
|
|
115
|
-
});
|
|
116
|
-
this.host.dispatchEvent(scopedEvent);
|
|
117
|
-
}
|
|
118
|
-
setupStateUpdateListener() {
|
|
119
|
-
// Remove existing listener if any
|
|
120
|
-
if (this.stateUpdateListener) {
|
|
121
|
-
this.host.removeEventListener('rtkStateUpdate', this.stateUpdateListener);
|
|
122
|
-
}
|
|
123
|
-
// Create new listener
|
|
124
|
-
this.stateUpdateListener = (event) => {
|
|
125
|
-
this.updateStates(event.detail);
|
|
126
|
-
};
|
|
127
|
-
// Listen for both generic events (backward compatibility) and peer-specific events
|
|
128
|
-
this.host.addEventListener('rtkStateUpdate', this.stateUpdateListener);
|
|
129
|
-
}
|
|
130
|
-
setupStoreRequestListener() {
|
|
131
|
-
// Remove existing listener if any
|
|
132
|
-
if (this.storeRequestListener) {
|
|
133
|
-
this.host.removeEventListener('rtkRequestStore', this.storeRequestListener);
|
|
134
|
-
}
|
|
135
|
-
// Listen for store requests from child components
|
|
136
|
-
this.storeRequestListener = (event) => {
|
|
137
|
-
if (!this.peerStore)
|
|
138
|
-
return;
|
|
139
|
-
// Provide the actual store object, not a wrapper
|
|
140
|
-
const responseEvent = new CustomEvent('rtkProvideStore', {
|
|
141
|
-
detail: { store: this.peerStore, requestId: event.detail.requestId },
|
|
142
|
-
});
|
|
143
|
-
document.dispatchEvent(responseEvent);
|
|
144
|
-
// Stop the event from bubbling further to prevent other providers from handling it
|
|
145
|
-
event.stopPropagation();
|
|
146
|
-
};
|
|
147
|
-
this.host.addEventListener('rtkRequestStore', this.storeRequestListener);
|
|
148
|
-
}
|
|
149
|
-
meetingChanged(meeting, oldMeeting) {
|
|
150
|
-
if (meeting) {
|
|
151
|
-
this.peerStore = createPeerStore({
|
|
152
|
-
meeting,
|
|
153
|
-
config: this.config,
|
|
154
|
-
iconPack: this.iconPack,
|
|
155
|
-
t: this.t,
|
|
156
|
-
providerId: this.providerId,
|
|
157
|
-
overrides: deepMerge(Object.assign({}, defaultOverrides), this.overrides),
|
|
158
|
-
});
|
|
159
|
-
// Notify components that peer specific store is now available
|
|
160
|
-
document.dispatchEvent(new CustomEvent('rtkPeerStoreReady', {
|
|
161
|
-
detail: {
|
|
162
|
-
peerId: meeting.self.id,
|
|
163
|
-
},
|
|
164
|
-
}));
|
|
165
|
-
}
|
|
166
|
-
// Setup state update listener now that we have peerId
|
|
167
|
-
this.setupStateUpdateListener();
|
|
168
|
-
if (meeting) {
|
|
169
|
-
const targetStore = this.peerStore || uiStore;
|
|
170
|
-
targetStore.state.meeting = meeting;
|
|
171
|
-
/** Honor user's explicit choice for captions, but respect preset default if no explicit choice */
|
|
172
|
-
const desiredActiveCaptionsState = !oldMeeting
|
|
173
|
-
? !!meeting.self.permissions.transcriptionEnabled
|
|
174
|
-
: !!targetStore.state.states.activeCaptions;
|
|
175
|
-
this.updateStates({
|
|
176
|
-
viewType: meeting.meta.viewType,
|
|
177
|
-
activeCaptions: desiredActiveCaptionsState,
|
|
178
|
-
});
|
|
179
|
-
meeting.self.addListener('roomJoined', this.roomJoinedListener);
|
|
180
|
-
meeting.self.addListener('waitlisted', this.waitlistedListener);
|
|
181
|
-
meeting.self.addListener('roomLeft', this.roomLeftListener);
|
|
182
|
-
meeting.self.addListener('mediaPermissionUpdate', this.mediaPermissionUpdateListener);
|
|
183
|
-
meeting.meta.addListener('socketConnectionUpdate', this.socketConnectionUpdateListener);
|
|
184
|
-
meeting.connectedMeetings.once('changingMeeting', this.handleChangingMeeting);
|
|
185
|
-
if (meeting.self.roomJoined) {
|
|
186
|
-
this.updateStates({ meeting: 'joined' });
|
|
187
|
-
}
|
|
188
|
-
else {
|
|
189
|
-
if (this.showSetupScreen) {
|
|
190
|
-
this.updateStates({ meeting: 'setup' });
|
|
191
|
-
}
|
|
192
|
-
else {
|
|
193
|
-
meeting
|
|
194
|
-
.join()
|
|
195
|
-
.then(() => {
|
|
196
|
-
this.updateStates({ preJoinError: null });
|
|
197
|
-
})
|
|
198
|
-
.catch((err) => {
|
|
199
|
-
const { message, code } = getJoinErrorInfo(this.t, err);
|
|
200
|
-
this.updateStates({ preJoinError: { message, code } });
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
window.removeEventListener('ClientError', this.initErrorListener);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
iconPackChanged(newIconPack) {
|
|
208
|
-
if (this.peerStore) {
|
|
209
|
-
this.peerStore.state.iconPack = newIconPack;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
tChanged(newT) {
|
|
213
|
-
if (this.peerStore) {
|
|
214
|
-
this.peerStore.state.t = newT;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
configChanged(config) {
|
|
218
|
-
if (this.peerStore) {
|
|
219
|
-
this.peerStore.state.config = config;
|
|
220
|
-
}
|
|
221
|
-
if ((config === null || config === void 0 ? void 0 : config.designTokens) &&
|
|
222
|
-
typeof document !== 'undefined' &&
|
|
223
|
-
(this.peerStore || uiStore).state.states.activeDebugger !== true) {
|
|
224
|
-
provideRtkDesignSystem(document.documentElement, config.designTokens);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
overridesChanged(overrides) {
|
|
228
|
-
if (this.peerStore) {
|
|
229
|
-
this.peerStore.state.overrides = deepMerge(Object.assign({}, defaultOverrides), overrides);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
render() {
|
|
233
|
-
// Don't render children until meeting is properly initialized
|
|
234
|
-
if (!this.meeting) {
|
|
235
|
-
return null;
|
|
236
|
-
}
|
|
237
|
-
return (h(Host, null, h("slot", null)));
|
|
238
|
-
}
|
|
239
|
-
get host() { return this; }
|
|
240
|
-
static get watchers() { return {
|
|
241
|
-
"meeting": ["meetingChanged"],
|
|
242
|
-
"iconPack": ["iconPackChanged"],
|
|
243
|
-
"t": ["tChanged"],
|
|
244
|
-
"config": ["configChanged"],
|
|
245
|
-
"overrides": ["overridesChanged"]
|
|
246
|
-
}; }
|
|
247
|
-
static get style() { return RtkUiProviderStyle0; }
|
|
248
|
-
}, [4, "rtk-ui-provider", {
|
|
249
|
-
"meeting": [16],
|
|
250
|
-
"iconPack": [16],
|
|
251
|
-
"t": [16],
|
|
252
|
-
"config": [16],
|
|
253
|
-
"mode": [513],
|
|
254
|
-
"showSetupScreen": [4, "show-setup-screen"],
|
|
255
|
-
"overrides": [16]
|
|
256
|
-
}, undefined, {
|
|
257
|
-
"meeting": ["meetingChanged"],
|
|
258
|
-
"iconPack": ["iconPackChanged"],
|
|
259
|
-
"t": ["tChanged"],
|
|
260
|
-
"config": ["configChanged"],
|
|
261
|
-
"overrides": ["overridesChanged"]
|
|
262
|
-
}]);
|
|
263
|
-
function defineCustomElement$1() {
|
|
264
|
-
if (typeof customElements === "undefined") {
|
|
265
|
-
return;
|
|
266
|
-
}
|
|
267
|
-
const components = ["rtk-ui-provider"];
|
|
268
|
-
components.forEach(tagName => { switch (tagName) {
|
|
269
|
-
case "rtk-ui-provider":
|
|
270
|
-
if (!customElements.get(tagName)) {
|
|
271
|
-
customElements.define(tagName, RtkUiProvider$1);
|
|
272
|
-
}
|
|
273
|
-
break;
|
|
274
|
-
} });
|
|
275
|
-
}
|
|
276
|
-
defineCustomElement$1();
|
|
277
|
-
|
|
278
|
-
const RtkUiProvider = RtkUiProvider$1;
|
|
279
|
-
const defineCustomElement = defineCustomElement$1;
|
|
280
|
-
|
|
281
|
-
export { RtkUiProvider, defineCustomElement };
|
|
1
|
+
import{t,p as e,H as i,c as s,h as o,d as n}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import{m as r,p as h}from"./p-DD3_OTZn.js";import{e as a,i as d,c,f as p,u as g,b as m}from"./p-De8YQHVd.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{g as l}from"./p-DE1s0fDa.js";import{g as u}from"./p-vBfDtD_u.js";const f=e(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.statesUpdate=s(this,"rtkStatesUpdate",7),this.peerStore=null,this.providerId="provider-"+Math.floor(100*Math.random()),this.meeting=null,this.iconPack=a,this.t=d(),this.config=c(),this.mode="fixed",this.showSetupScreen=!1,this.overrides=p,this.roomJoinedListener=()=>{this.updateStates({meeting:"joined",preJoinError:null})},this.waitlistedListener=()=>{this.updateStates({meeting:"waiting"})},this.roomLeftListener=({state:t})=>{"disconnected"!==t&&"failed"!==t&&this.updateStates({meeting:"ended",roomLeftState:t})},this.mediaPermissionUpdateListener=({kind:t,message:e})=>{!["audio","video"].includes(t)||"DENIED"!==e&&"SYSTEM_DENIED"!==e||!0===(this.peerStore||g).state.states.activeDebugger||this.updateStates({activePermissionsMessage:{enabled:!0,kind:t}})},this.socketConnectionUpdateListener=({state:t})=>{"failed"===t&&setTimeout((()=>{this.meeting.leave("disconnected")}),1e4)},this.handleChangingMeeting=t=>{this.updateStates({activeBreakoutRoomsManager:Object.assign(Object.assign({},this.peerStore.state.states.activeBreakoutRoomsManager),{destinationMeetingId:t})})}}connectedCallback(){"undefined"!=typeof window&&(this.initErrorListener=t=>{const e=l(this.t,t.detail);e&&this.updateStates({preJoinError:e})},window.addEventListener("ClientError",this.initErrorListener)),this.setupStoreRequestListener(),this.meetingChanged(this.meeting),this.iconPackChanged(this.iconPack),this.tChanged(this.t),this.configChanged(this.config),this.overridesChanged(this.overrides)}disconnectedCallback(){window.removeEventListener("ClientError",this.initErrorListener),this.storeRequestListener&&this.host.removeEventListener("rtkRequestStore",this.storeRequestListener),this.stateUpdateListener&&this.host.removeEventListener("rtkStateUpdate",this.stateUpdateListener),this.meeting&&(this.meeting.self.removeListener("roomLeft",this.roomLeftListener),this.meeting.self.removeListener("roomJoined",this.roomJoinedListener),this.meeting.self.removeListener("waitlisted",this.waitlistedListener),this.meeting.self.removeListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),this.meeting.meta.removeListener("socketConnectionUpdate",this.socketConnectionUpdateListener))}updateStates(t){const e=this.peerStore||g,i=Object.assign({},e.state.states);e.state.states=r(i,t),this.statesUpdate.emit(e.state.states);const s=new CustomEvent("rtkStatesUpdate",{detail:e.state.states,bubbles:!0,composed:!0});this.host.dispatchEvent(s)}setupStateUpdateListener(){this.stateUpdateListener&&this.host.removeEventListener("rtkStateUpdate",this.stateUpdateListener),this.stateUpdateListener=t=>{this.updateStates(t.detail)},this.host.addEventListener("rtkStateUpdate",this.stateUpdateListener)}setupStoreRequestListener(){this.storeRequestListener&&this.host.removeEventListener("rtkRequestStore",this.storeRequestListener),this.storeRequestListener=t=>{if(!this.peerStore)return;const e=new CustomEvent("rtkProvideStore",{detail:{store:this.peerStore,requestId:t.detail.requestId}});document.dispatchEvent(e),t.stopPropagation()},this.host.addEventListener("rtkRequestStore",this.storeRequestListener)}meetingChanged(t,e){if(t&&(this.peerStore=m({meeting:t,config:this.config,iconPack:this.iconPack,t:this.t,providerId:this.providerId,overrides:r(Object.assign({},p),this.overrides)}),document.dispatchEvent(new CustomEvent("rtkPeerStoreReady",{detail:{peerId:t.self.id}}))),this.setupStateUpdateListener(),t){const i=this.peerStore||g;i.state.meeting=t,this.updateStates({viewType:t.meta.viewType,activeCaptions:e?!!i.state.states.activeCaptions:!!t.self.permissions.transcriptionEnabled}),t.self.addListener("roomJoined",this.roomJoinedListener),t.self.addListener("waitlisted",this.waitlistedListener),t.self.addListener("roomLeft",this.roomLeftListener),t.self.addListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),t.meta.addListener("socketConnectionUpdate",this.socketConnectionUpdateListener),t.connectedMeetings.once("changingMeeting",this.handleChangingMeeting),t.self.roomJoined?this.updateStates({meeting:"joined"}):this.showSetupScreen?this.updateStates({meeting:"setup"}):t.join().then((()=>{this.updateStates({preJoinError:null})})).catch((t=>{const{message:e,code:i}=u(this.t,t);this.updateStates({preJoinError:{message:e,code:i}})})),window.removeEventListener("ClientError",this.initErrorListener)}}iconPackChanged(t){this.peerStore&&(this.peerStore.state.iconPack=t)}tChanged(t){this.peerStore&&(this.peerStore.state.t=t)}configChanged(t){this.peerStore&&(this.peerStore.state.config=t),(null==t?void 0:t.designTokens)&&"undefined"!=typeof document&&!0!==(this.peerStore||g).state.states.activeDebugger&&h(document.documentElement,t.designTokens)}overridesChanged(t){this.peerStore&&(this.peerStore.state.overrides=r(Object.assign({},p),t))}render(){return this.meeting?o(n,null,o("slot",null)):null}get host(){return this}static get watchers(){return{meeting:[{meetingChanged:0}],iconPack:[{iconPackChanged:0}],t:[{tChanged:0}],config:[{configChanged:0}],overrides:[{overridesChanged:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));overflow:hidden;position:fixed;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);height:100%;width:100%}:host([mode='fill']){position:relative}"}},[260,"rtk-ui-provider",{meeting:[16],iconPack:[16],t:[16],config:[16],mode:[513],showSetupScreen:[4,"show-setup-screen"],overrides:[16]},void 0,{meeting:[{meetingChanged:0}],iconPack:[{iconPackChanged:0}],t:[{tChanged:0}],config:[{configChanged:0}],overrides:[{overridesChanged:0}]}]);function v(){"undefined"!=typeof customElements&&["rtk-ui-provider"].forEach((e=>{"rtk-ui-provider"===e&&(customElements.get(t(e))||customElements.define(t(e),f))}))}v();const k=f,C=v;export{k as RtkUiProvider,C as defineCustomElement}
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const RtkViewerCount = RtkViewerCount$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { RtkViewerCount, defineCustomElement };
|
|
1
|
+
import{R as o,d as r}from"./p-DKjr_UXt.js";const s=o,t=r;export{s as RtkViewerCount,t as defineCustomElement}
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const RtkVirtualizedParticipantList = RtkVirtualizedParticipantList$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { RtkVirtualizedParticipantList, defineCustomElement };
|
|
1
|
+
import{R as o,d as s}from"./p-BbJzI1u1.js";const p=o,r=s;export{p as RtkVirtualizedParticipantList,r as defineCustomElement}
|
|
@@ -1,77 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { c as createDefaultConfig, e as defaultIconPack, i as useLanguage } from './p-d5a12339.js';
|
|
3
|
-
import './p-a83ccdbd.js';
|
|
4
|
-
import { S as SyncWithStore } from './p-bd10fae6.js';
|
|
5
|
-
import { d as defineCustomElement$2 } from './p-36ad7fe2.js';
|
|
6
|
-
|
|
7
|
-
const rtkWaitingScreenCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.centered{display:flex;flex-direction:column;align-items:center}rtk-logo{margin-bottom:var(--rtk-space-8, 32px);height:var(--rtk-space-12, 48px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}";
|
|
8
|
-
const RtkWaitingScreenStyle0 = rtkWaitingScreenCss;
|
|
9
|
-
|
|
10
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
13
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
14
|
-
else
|
|
15
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
16
|
-
if (d = decorators[i])
|
|
17
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
20
|
-
const RtkWaitingScreen$1 = /*@__PURE__*/ proxyCustomElement(class RtkWaitingScreen extends H {
|
|
21
|
-
constructor() {
|
|
22
|
-
super();
|
|
23
|
-
this.__registerHost();
|
|
24
|
-
this.__attachShadow();
|
|
25
|
-
/** Config */
|
|
26
|
-
this.config = createDefaultConfig();
|
|
27
|
-
/** Icon pack */
|
|
28
|
-
this.iconPack = defaultIconPack;
|
|
29
|
-
/** Language */
|
|
30
|
-
this.t = useLanguage();
|
|
31
|
-
}
|
|
32
|
-
render() {
|
|
33
|
-
return (h(Host, { key: 'ac7096bd5df59387dcef15bbd4ef8955a4a42298' }, h("slot", { key: '6dd0f5b9555c956c1371311ef3c4ac8f661e9523' }, h("div", { key: '07925b636545e1196b10512cd504516df2cfbbf4', class: "centered", part: "content" }, h("rtk-logo", { key: '9b3fcf182d7c68aaf525a8170dbab9e59fc40404', meeting: this.meeting, config: this.config, part: "logo", t: this.t }), h("p", { key: '763a6403bc98a16f020101090bbed250041ae7cd' }, this.t('waitlist.body_text'))))));
|
|
34
|
-
}
|
|
35
|
-
static get style() { return RtkWaitingScreenStyle0; }
|
|
36
|
-
}, [1, "rtk-waiting-screen", {
|
|
37
|
-
"meeting": [16],
|
|
38
|
-
"config": [16],
|
|
39
|
-
"iconPack": [16],
|
|
40
|
-
"t": [16]
|
|
41
|
-
}]);
|
|
42
|
-
__decorate([
|
|
43
|
-
SyncWithStore()
|
|
44
|
-
], RtkWaitingScreen$1.prototype, "meeting", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
SyncWithStore()
|
|
47
|
-
], RtkWaitingScreen$1.prototype, "config", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
SyncWithStore()
|
|
50
|
-
], RtkWaitingScreen$1.prototype, "iconPack", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
SyncWithStore()
|
|
53
|
-
], RtkWaitingScreen$1.prototype, "t", void 0);
|
|
54
|
-
function defineCustomElement$1() {
|
|
55
|
-
if (typeof customElements === "undefined") {
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
const components = ["rtk-waiting-screen", "rtk-logo"];
|
|
59
|
-
components.forEach(tagName => { switch (tagName) {
|
|
60
|
-
case "rtk-waiting-screen":
|
|
61
|
-
if (!customElements.get(tagName)) {
|
|
62
|
-
customElements.define(tagName, RtkWaitingScreen$1);
|
|
63
|
-
}
|
|
64
|
-
break;
|
|
65
|
-
case "rtk-logo":
|
|
66
|
-
if (!customElements.get(tagName)) {
|
|
67
|
-
defineCustomElement$2();
|
|
68
|
-
}
|
|
69
|
-
break;
|
|
70
|
-
} });
|
|
71
|
-
}
|
|
72
|
-
defineCustomElement$1();
|
|
73
|
-
|
|
74
|
-
const RtkWaitingScreen = RtkWaitingScreen$1;
|
|
75
|
-
const defineCustomElement = defineCustomElement$1;
|
|
76
|
-
|
|
77
|
-
export { RtkWaitingScreen, defineCustomElement };
|
|
1
|
+
import{p as t,H as e,h as r,d as a,t as i}from"./p-BBHQOrFK.js";import{c as o,e as s,i as c}from"./p-De8YQHVd.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{S as n}from"./p-CphAED3J.js";import{d as p}from"./p-DfWuSKCq.js";var f=function(t,e,r,a){var i,o=arguments.length,s=o<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,a);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(s=(o<3?i(s):o>3?i(e,r,s):i(e,r))||s);return o>3&&s&&Object.defineProperty(e,r,s),s};const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.config=o(),this.iconPack=s,this.t=c()}render(){return r(a,{key:"ac7096bd5df59387dcef15bbd4ef8955a4a42298"},r("slot",{key:"6dd0f5b9555c956c1371311ef3c4ac8f661e9523"},r("div",{key:"07925b636545e1196b10512cd504516df2cfbbf4",class:"centered",part:"content"},r("rtk-logo",{key:"9b3fcf182d7c68aaf525a8170dbab9e59fc40404",meeting:this.meeting,config:this.config,part:"logo",t:this.t}),r("p",{key:"763a6403bc98a16f020101090bbed250041ae7cd"},this.t("waitlist.body_text")))))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.centered{display:flex;flex-direction:column;align-items:center}rtk-logo{margin-bottom:var(--rtk-space-8, 32px);height:var(--rtk-space-12, 48px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}"}},[257,"rtk-waiting-screen",{meeting:[16],config:[16],iconPack:[16],t:[16]}]);function l(){"undefined"!=typeof customElements&&["rtk-waiting-screen","rtk-logo"].forEach((t=>{switch(t){case"rtk-waiting-screen":customElements.get(i(t))||customElements.define(i(t),d);break;case"rtk-logo":customElements.get(i(t))||p()}}))}f([n()],d.prototype,"meeting",void 0),f([n()],d.prototype,"config",void 0),f([n()],d.prototype,"iconPack",void 0),f([n()],d.prototype,"t",void 0),l();const g=d,m=l;export{g as RtkWaitingScreen,m as defineCustomElement}
|