@mrksbnc/livekit-vue 0.0.3 → 1.0.0
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/README.md +46 -30
- package/dist/background/BackgroundEffectSelect.vue.d.cts +55 -0
- package/dist/background/BackgroundEffectSelect.vue.d.mts +55 -0
- package/dist/background/index.d.cts +3 -0
- package/dist/background/index.d.mts +3 -0
- package/dist/background.cjs +2 -0
- package/dist/background.cjs.map +1 -0
- package/dist/background.js +239 -0
- package/dist/background.js.map +1 -0
- package/dist/components/chat/ChatEntry.vue.d.cts +16 -0
- package/dist/components/chat/ChatEntry.vue.d.mts +16 -0
- package/dist/components/chat/chat.utils.d.cts +3 -0
- package/dist/components/chat/chat.utils.d.mts +3 -0
- package/dist/components/chat/index.d.cts +3 -0
- package/dist/components/chat/index.d.mts +3 -0
- package/dist/components/chat/render-node.d.cts +8 -0
- package/dist/components/chat/render-node.d.mts +8 -0
- package/dist/components/context/ParticipantContextProvider.vue.d.cts +16 -0
- package/dist/components/context/ParticipantContextProvider.vue.d.mts +16 -0
- package/dist/components/context/RoomContextProvider.vue.d.cts +16 -0
- package/dist/components/context/RoomContextProvider.vue.d.mts +16 -0
- package/dist/components/context/SessionProvider.vue.d.cts +16 -0
- package/dist/components/context/SessionProvider.vue.d.mts +16 -0
- package/dist/components/context/TrackRefContextProvider.vue.d.cts +16 -0
- package/dist/components/context/TrackRefContextProvider.vue.d.mts +16 -0
- package/dist/components/context/index.d.cts +4 -0
- package/dist/components/context/index.d.mts +4 -0
- package/dist/components/controls/ChatToggle.vue.d.cts +17 -0
- package/dist/components/controls/ChatToggle.vue.d.mts +17 -0
- package/dist/components/controls/ClearPinButton.vue.d.cts +22 -0
- package/dist/components/controls/ClearPinButton.vue.d.mts +22 -0
- package/dist/components/controls/DisconnectButton.vue.d.cts +18 -0
- package/dist/components/controls/DisconnectButton.vue.d.mts +18 -0
- package/dist/components/controls/FocusToggle.vue.d.cts +19 -0
- package/dist/components/controls/FocusToggle.vue.d.mts +19 -0
- package/dist/components/controls/MediaDeviceSelect.vue.d.cts +45 -0
- package/dist/components/controls/MediaDeviceSelect.vue.d.mts +45 -0
- package/dist/components/controls/PaginationControl.vue.d.cts +18 -0
- package/dist/components/controls/PaginationControl.vue.d.mts +18 -0
- package/dist/components/controls/PaginationIndicator.vue.d.cts +8 -0
- package/dist/components/controls/PaginationIndicator.vue.d.mts +8 -0
- package/dist/components/controls/SettingsMenuToggle.vue.d.cts +16 -0
- package/dist/components/controls/SettingsMenuToggle.vue.d.mts +16 -0
- package/dist/components/controls/StartAudio.vue.d.cts +21 -0
- package/dist/components/controls/StartAudio.vue.d.mts +21 -0
- package/dist/components/controls/StartMediaButton.vue.d.cts +24 -0
- package/dist/components/controls/StartMediaButton.vue.d.mts +24 -0
- package/dist/components/controls/TrackToggle.vue.d.cts +43 -0
- package/dist/components/controls/TrackToggle.vue.d.mts +43 -0
- package/dist/components/controls/VideoQualitySelect.vue.d.cts +33 -0
- package/dist/components/controls/VideoQualitySelect.vue.d.mts +33 -0
- package/dist/components/controls/index.d.cts +24 -0
- package/dist/components/controls/index.d.mts +24 -0
- package/dist/components/icons/CameraDisabledIcon.vue.d.cts +3 -0
- package/dist/components/icons/CameraDisabledIcon.vue.d.mts +3 -0
- package/dist/components/icons/CameraIcon.vue.d.cts +3 -0
- package/dist/components/icons/CameraIcon.vue.d.mts +3 -0
- package/dist/components/icons/ChatCloseIcon.vue.d.cts +3 -0
- package/dist/components/icons/ChatCloseIcon.vue.d.mts +3 -0
- package/dist/components/icons/ChatIcon.vue.d.cts +3 -0
- package/dist/components/icons/ChatIcon.vue.d.mts +3 -0
- package/dist/components/icons/ChevronIcon.vue.d.cts +3 -0
- package/dist/components/icons/ChevronIcon.vue.d.mts +3 -0
- package/dist/components/icons/FocusToggleIcon.vue.d.cts +3 -0
- package/dist/components/icons/FocusToggleIcon.vue.d.mts +3 -0
- package/dist/components/icons/GearIcon.vue.d.cts +3 -0
- package/dist/components/icons/GearIcon.vue.d.mts +3 -0
- package/dist/components/icons/LeaveIcon.vue.d.cts +3 -0
- package/dist/components/icons/LeaveIcon.vue.d.mts +3 -0
- package/dist/components/icons/LockLockedIcon.vue.d.cts +3 -0
- package/dist/components/icons/LockLockedIcon.vue.d.mts +3 -0
- package/dist/components/icons/MicDisabledIcon.vue.d.cts +3 -0
- package/dist/components/icons/MicDisabledIcon.vue.d.mts +3 -0
- package/dist/components/icons/MicIcon.vue.d.cts +3 -0
- package/dist/components/icons/MicIcon.vue.d.mts +3 -0
- package/dist/components/icons/ParticipantPlaceholder.vue.d.cts +3 -0
- package/dist/components/icons/ParticipantPlaceholder.vue.d.mts +3 -0
- package/dist/components/icons/QualityExcellentIcon.vue.d.cts +3 -0
- package/dist/components/icons/QualityExcellentIcon.vue.d.mts +3 -0
- package/dist/components/icons/QualityGoodIcon.vue.d.cts +3 -0
- package/dist/components/icons/QualityGoodIcon.vue.d.mts +3 -0
- package/dist/components/icons/QualityPoorIcon.vue.d.cts +3 -0
- package/dist/components/icons/QualityPoorIcon.vue.d.mts +3 -0
- package/dist/components/icons/QualityUnknownIcon.vue.d.cts +3 -0
- package/dist/components/icons/QualityUnknownIcon.vue.d.mts +3 -0
- package/dist/components/icons/ScreenShareIcon.vue.d.cts +3 -0
- package/dist/components/icons/ScreenShareIcon.vue.d.mts +3 -0
- package/dist/components/icons/ScreenShareStopIcon.vue.d.cts +3 -0
- package/dist/components/icons/ScreenShareStopIcon.vue.d.mts +3 -0
- package/dist/components/icons/SpinnerIcon.vue.d.cts +3 -0
- package/dist/components/icons/SpinnerIcon.vue.d.mts +3 -0
- package/dist/components/icons/UnfocusToggleIcon.vue.d.cts +3 -0
- package/dist/components/icons/UnfocusToggleIcon.vue.d.mts +3 -0
- package/dist/components/icons/index.d.cts +21 -0
- package/dist/components/icons/index.d.mts +21 -0
- package/dist/components/icons/utils.d.cts +4 -0
- package/dist/components/icons/utils.d.mts +4 -0
- package/dist/components/index.d.cts +9 -0
- package/dist/components/index.d.mts +9 -0
- package/dist/components/layout/CarouselLayout.vue.d.cts +24 -0
- package/dist/components/layout/CarouselLayout.vue.d.mts +24 -0
- package/dist/components/layout/FocusLayout.vue.d.cts +16 -0
- package/dist/components/layout/FocusLayout.vue.d.mts +16 -0
- package/dist/components/layout/FocusLayoutContainer.vue.d.cts +14 -0
- package/dist/components/layout/FocusLayoutContainer.vue.d.mts +14 -0
- package/dist/components/layout/GridLayout.vue.d.cts +24 -0
- package/dist/components/layout/GridLayout.vue.d.mts +24 -0
- package/dist/components/layout/LayoutContextProvider.vue.d.cts +27 -0
- package/dist/components/layout/LayoutContextProvider.vue.d.mts +27 -0
- package/dist/components/layout/index.d.cts +10 -0
- package/dist/components/layout/index.d.mts +10 -0
- package/dist/components/participant/AudioTrack.vue.d.cts +17 -0
- package/dist/components/participant/AudioTrack.vue.d.mts +17 -0
- package/dist/components/participant/AudioVisualizer.vue.d.cts +10 -0
- package/dist/components/participant/AudioVisualizer.vue.d.mts +10 -0
- package/dist/components/participant/BarVisualizer.vue.d.cts +46 -0
- package/dist/components/participant/BarVisualizer.vue.d.mts +46 -0
- package/dist/components/participant/ConnectionQualityIndicator.vue.d.cts +19 -0
- package/dist/components/participant/ConnectionQualityIndicator.vue.d.mts +19 -0
- package/dist/components/participant/ParticipantAudioTile.vue.d.cts +23 -0
- package/dist/components/participant/ParticipantAudioTile.vue.d.mts +23 -0
- package/dist/components/participant/ParticipantAvatar.vue.d.cts +10 -0
- package/dist/components/participant/ParticipantAvatar.vue.d.mts +10 -0
- package/dist/components/participant/ParticipantName.vue.d.cts +17 -0
- package/dist/components/participant/ParticipantName.vue.d.mts +17 -0
- package/dist/components/participant/ParticipantTile.vue.d.cts +27 -0
- package/dist/components/participant/ParticipantTile.vue.d.mts +27 -0
- package/dist/components/participant/TrackMutedIndicator.vue.d.cts +22 -0
- package/dist/components/participant/TrackMutedIndicator.vue.d.mts +22 -0
- package/dist/components/participant/VideoTrack.vue.d.cts +17 -0
- package/dist/components/participant/VideoTrack.vue.d.mts +17 -0
- package/dist/components/participant/index.d.cts +19 -0
- package/dist/components/participant/index.d.mts +19 -0
- package/dist/components/prefabs/AudioConference.vue.d.cts +26 -0
- package/dist/components/prefabs/AudioConference.vue.d.mts +26 -0
- package/dist/components/prefabs/Chat.vue.d.cts +36 -0
- package/dist/components/prefabs/Chat.vue.d.mts +36 -0
- package/dist/components/prefabs/ControlBar.vue.d.cts +52 -0
- package/dist/components/prefabs/ControlBar.vue.d.mts +52 -0
- package/dist/components/prefabs/MediaDeviceMenu.vue.d.cts +46 -0
- package/dist/components/prefabs/MediaDeviceMenu.vue.d.mts +46 -0
- package/dist/components/prefabs/PreJoin.vue.d.cts +45 -0
- package/dist/components/prefabs/PreJoin.vue.d.mts +45 -0
- package/dist/components/prefabs/VideoConference.vue.d.cts +28 -0
- package/dist/components/prefabs/VideoConference.vue.d.mts +28 -0
- package/dist/components/prefabs/VoiceAssistantControlBar.vue.d.cts +33 -0
- package/dist/components/prefabs/VoiceAssistantControlBar.vue.d.mts +33 -0
- package/dist/components/prefabs/index.d.cts +14 -0
- package/dist/components/prefabs/index.d.mts +14 -0
- package/dist/components/room/ConnectionStateToast.vue.d.cts +8 -0
- package/dist/components/room/ConnectionStateToast.vue.d.mts +8 -0
- package/dist/components/room/ConnectionStatus.vue.d.cts +19 -0
- package/dist/components/room/ConnectionStatus.vue.d.mts +19 -0
- package/dist/components/room/LiveKitRoom.vue.d.cts +47 -0
- package/dist/components/room/LiveKitRoom.vue.d.mts +47 -0
- package/dist/components/room/ParticipantLoop.vue.d.cts +18 -0
- package/dist/components/room/ParticipantLoop.vue.d.mts +18 -0
- package/dist/components/room/RoomAudioRenderer.vue.d.cts +13 -0
- package/dist/components/room/RoomAudioRenderer.vue.d.mts +13 -0
- package/dist/components/room/RoomName.vue.d.cts +20 -0
- package/dist/components/room/RoomName.vue.d.mts +20 -0
- package/dist/components/room/Toast.vue.d.cts +14 -0
- package/dist/components/room/Toast.vue.d.mts +14 -0
- package/dist/components/room/TrackLoop.vue.d.cts +18 -0
- package/dist/components/room/TrackLoop.vue.d.mts +18 -0
- package/dist/components/room/index.d.cts +16 -0
- package/dist/components/room/index.d.mts +16 -0
- package/dist/components/style.d.cts +11 -0
- package/dist/components/style.d.mts +11 -0
- package/dist/composables/index.d.cts +66 -0
- package/dist/composables/index.d.mts +66 -0
- package/dist/composables/useAgent.d.cts +67 -0
- package/dist/composables/useAgent.d.mts +67 -0
- package/dist/composables/useAgentExpression.d.cts +20 -0
- package/dist/composables/useAgentExpression.d.mts +20 -0
- package/dist/composables/useAudioPlayback.d.cts +10 -0
- package/dist/composables/useAudioPlayback.d.mts +10 -0
- package/dist/composables/useBackgroundEffect.d.cts +43 -0
- package/dist/composables/useBackgroundEffect.d.mts +43 -0
- package/dist/composables/useBarAnimator.d.cts +11 -0
- package/dist/composables/useBarAnimator.d.mts +11 -0
- package/dist/composables/useChat.d.cts +13 -0
- package/dist/composables/useChat.d.mts +13 -0
- package/dist/composables/useChatToggle.d.cts +13 -0
- package/dist/composables/useChatToggle.d.mts +13 -0
- package/dist/composables/useClearPinButton.d.cts +14 -0
- package/dist/composables/useClearPinButton.d.mts +14 -0
- package/dist/composables/useConnectionQualityIndicator.d.cts +9 -0
- package/dist/composables/useConnectionQualityIndicator.d.mts +9 -0
- package/dist/composables/useConnectionState.d.cts +13 -0
- package/dist/composables/useConnectionState.d.mts +13 -0
- package/dist/composables/useConnectionStatus.d.cts +16 -0
- package/dist/composables/useConnectionStatus.d.mts +16 -0
- package/dist/composables/useDataChannel.d.cts +14 -0
- package/dist/composables/useDataChannel.d.mts +14 -0
- package/dist/composables/useDisconnectButton.d.cts +9 -0
- package/dist/composables/useDisconnectButton.d.mts +9 -0
- package/dist/composables/useEvents.d.cts +15 -0
- package/dist/composables/useEvents.d.mts +15 -0
- package/dist/composables/useFacingMode.d.cts +17 -0
- package/dist/composables/useFacingMode.d.mts +17 -0
- package/dist/composables/useFocusToggle.d.cts +14 -0
- package/dist/composables/useFocusToggle.d.mts +14 -0
- package/dist/composables/useGridLayout.d.cts +13 -0
- package/dist/composables/useGridLayout.d.mts +13 -0
- package/dist/composables/useIsEncrypted.d.cts +10 -0
- package/dist/composables/useIsEncrypted.d.mts +10 -0
- package/dist/composables/useIsMuted.d.cts +11 -0
- package/dist/composables/useIsMuted.d.mts +11 -0
- package/dist/composables/useIsRecording.d.cts +9 -0
- package/dist/composables/useIsRecording.d.mts +9 -0
- package/dist/composables/useIsSpeaking.d.cts +9 -0
- package/dist/composables/useIsSpeaking.d.mts +9 -0
- package/dist/composables/useKrispNoiseFilter.d.cts +16 -0
- package/dist/composables/useKrispNoiseFilter.d.mts +16 -0
- package/dist/composables/useLiveKitRoom.d.cts +15 -0
- package/dist/composables/useLiveKitRoom.d.mts +15 -0
- package/dist/composables/useLocalParticipant.d.cts +16 -0
- package/dist/composables/useLocalParticipant.d.mts +16 -0
- package/dist/composables/useLocalParticipantPermissions.d.cts +13 -0
- package/dist/composables/useLocalParticipantPermissions.d.mts +13 -0
- package/dist/composables/useMediaDeviceSelect.d.cts +16 -0
- package/dist/composables/useMediaDeviceSelect.d.mts +16 -0
- package/dist/composables/useMediaDevices.d.cts +12 -0
- package/dist/composables/useMediaDevices.d.mts +12 -0
- package/dist/composables/useMediaTrackBySourceOrName.d.cts +30 -0
- package/dist/composables/useMediaTrackBySourceOrName.d.mts +30 -0
- package/dist/composables/usePagination.d.cts +26 -0
- package/dist/composables/usePagination.d.mts +26 -0
- package/dist/composables/useParticipantAttributes.d.cts +14 -0
- package/dist/composables/useParticipantAttributes.d.mts +14 -0
- package/dist/composables/useParticipantAvatar.d.cts +17 -0
- package/dist/composables/useParticipantAvatar.d.mts +17 -0
- package/dist/composables/useParticipantInfo.d.cts +14 -0
- package/dist/composables/useParticipantInfo.d.mts +14 -0
- package/dist/composables/useParticipantPermissions.d.cts +10 -0
- package/dist/composables/useParticipantPermissions.d.mts +10 -0
- package/dist/composables/useParticipantTile.d.cts +22 -0
- package/dist/composables/useParticipantTile.d.mts +22 -0
- package/dist/composables/useParticipantTracks.d.cts +12 -0
- package/dist/composables/useParticipantTracks.d.mts +12 -0
- package/dist/composables/useParticipants.d.cts +11 -0
- package/dist/composables/useParticipants.d.mts +11 -0
- package/dist/composables/usePersistentUserChoices.d.cts +16 -0
- package/dist/composables/usePersistentUserChoices.d.mts +16 -0
- package/dist/composables/usePinnedTracks.d.cts +10 -0
- package/dist/composables/usePinnedTracks.d.mts +10 -0
- package/dist/composables/usePreviewTracks.d.cts +15 -0
- package/dist/composables/usePreviewTracks.d.mts +15 -0
- package/dist/composables/useRemoteParticipant.d.cts +14 -0
- package/dist/composables/useRemoteParticipant.d.mts +14 -0
- package/dist/composables/useRemoteParticipants.d.cts +10 -0
- package/dist/composables/useRemoteParticipants.d.mts +10 -0
- package/dist/composables/useRoomInfo.d.cts +13 -0
- package/dist/composables/useRoomInfo.d.mts +13 -0
- package/dist/composables/useRpc.d.cts +18 -0
- package/dist/composables/useRpc.d.mts +18 -0
- package/dist/composables/useSequentialRoomConnectDisconnect.d.cts +10 -0
- package/dist/composables/useSequentialRoomConnectDisconnect.d.mts +10 -0
- package/dist/composables/useSession.d.cts +83 -0
- package/dist/composables/useSession.d.mts +83 -0
- package/dist/composables/useSessionMessages.d.cts +22 -0
- package/dist/composables/useSessionMessages.d.mts +22 -0
- package/dist/composables/useSettingsToggle.d.cts +10 -0
- package/dist/composables/useSettingsToggle.d.mts +10 -0
- package/dist/composables/useSortedParticipants.d.cts +9 -0
- package/dist/composables/useSortedParticipants.d.mts +9 -0
- package/dist/composables/useSpeakingParticipants.d.cts +6 -0
- package/dist/composables/useSpeakingParticipants.d.mts +6 -0
- package/dist/composables/useStartAudio.d.cts +10 -0
- package/dist/composables/useStartAudio.d.mts +10 -0
- package/dist/composables/useStartVideo.d.cts +10 -0
- package/dist/composables/useStartVideo.d.mts +10 -0
- package/dist/composables/useSwipe.d.cts +16 -0
- package/dist/composables/useSwipe.d.mts +16 -0
- package/dist/composables/useTextStream.d.cts +27 -0
- package/dist/composables/useTextStream.d.mts +27 -0
- package/dist/composables/useToast.d.cts +9 -0
- package/dist/composables/useToast.d.mts +9 -0
- package/dist/composables/useToken.d.cts +23 -0
- package/dist/composables/useToken.d.mts +23 -0
- package/dist/composables/useTrack.d.cts +12 -0
- package/dist/composables/useTrack.d.mts +12 -0
- package/dist/composables/useTrackByName.d.cts +11 -0
- package/dist/composables/useTrackByName.d.mts +11 -0
- package/dist/composables/useTrackMutedIndicator.d.cts +9 -0
- package/dist/composables/useTrackMutedIndicator.d.mts +9 -0
- package/dist/composables/useTrackRefBySource.d.cts +9 -0
- package/dist/composables/useTrackRefBySource.d.mts +9 -0
- package/dist/composables/useTrackRefBySourceOrName.d.cts +7 -0
- package/dist/composables/useTrackRefBySourceOrName.d.mts +7 -0
- package/dist/composables/useTrackSyncTime.d.cts +13 -0
- package/dist/composables/useTrackSyncTime.d.mts +13 -0
- package/dist/composables/useTrackToggle.d.cts +28 -0
- package/dist/composables/useTrackToggle.d.mts +28 -0
- package/dist/composables/useTrackTranscription.d.cts +15 -0
- package/dist/composables/useTrackTranscription.d.mts +15 -0
- package/dist/composables/useTrackVolume.d.cts +39 -0
- package/dist/composables/useTrackVolume.d.mts +39 -0
- package/dist/composables/useTracks.d.cts +18 -0
- package/dist/composables/useTracks.d.mts +18 -0
- package/dist/composables/useTranscriptions.d.cts +12 -0
- package/dist/composables/useTranscriptions.d.mts +12 -0
- package/dist/composables/useVideoQuality.d.cts +29 -0
- package/dist/composables/useVideoQuality.d.mts +29 -0
- package/dist/composables/useVisualStableUpdate.d.cts +13 -0
- package/dist/composables/useVisualStableUpdate.d.mts +13 -0
- package/dist/composables/useVoiceAssistant.d.cts +16 -0
- package/dist/composables/useVoiceAssistant.d.mts +16 -0
- package/dist/context/connection-state.context.d.cts +18 -0
- package/dist/context/connection-state.context.d.mts +18 -0
- package/dist/context/error.d.cts +3 -0
- package/dist/context/error.d.mts +3 -0
- package/dist/context/feature.context.d.cts +8 -0
- package/dist/context/feature.context.d.mts +8 -0
- package/dist/context/index.d.cts +9 -0
- package/dist/context/index.d.mts +9 -0
- package/dist/context/layout.context.d.cts +15 -0
- package/dist/context/layout.context.d.mts +15 -0
- package/dist/context/participant.context.d.cts +8 -0
- package/dist/context/participant.context.d.mts +8 -0
- package/dist/context/pin.context.d.cts +21 -0
- package/dist/context/pin.context.d.mts +21 -0
- package/dist/context/room.context.d.cts +8 -0
- package/dist/context/room.context.d.mts +8 -0
- package/dist/context/session.context.d.cts +8 -0
- package/dist/context/session.context.d.mts +8 -0
- package/dist/context/toast.context.d.cts +17 -0
- package/dist/context/toast.context.d.mts +17 -0
- package/dist/context/track-reference.context.d.cts +8 -0
- package/dist/context/track-reference.context.d.mts +8 -0
- package/dist/context/widget.context.d.cts +21 -0
- package/dist/context/widget.context.d.mts +21 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.mts +6 -0
- package/dist/internal/emitter.d.cts +17 -0
- package/dist/internal/emitter.d.mts +17 -0
- package/dist/internal/index.d.cts +4 -0
- package/dist/internal/index.d.mts +4 -0
- package/dist/internal/observable.d.cts +3 -0
- package/dist/internal/observable.d.mts +3 -0
- package/dist/internal/permissions.d.cts +4 -0
- package/dist/internal/permissions.d.mts +4 -0
- package/dist/internal/refs.d.cts +1 -0
- package/dist/internal/refs.d.mts +1 -0
- package/dist/krisp/index.d.cts +1 -0
- package/dist/krisp/index.d.mts +1 -0
- package/dist/krisp.cjs +2 -0
- package/dist/krisp.cjs.map +1 -0
- package/dist/krisp.js +62 -0
- package/dist/krisp.js.map +1 -0
- package/dist/livekit-vue.cjs +2 -0
- package/dist/livekit-vue.cjs.map +1 -0
- package/dist/livekit-vue.js +5095 -20519
- package/dist/livekit-vue.js.map +1 -0
- package/dist/livekit-vue.umd.js +4 -0
- package/dist/livekit-vue.umd.js.map +1 -0
- package/dist/style-CDggj9VO.js +14 -0
- package/dist/style-CDggj9VO.js.map +1 -0
- package/dist/style-CkQyDSsh.cjs +2 -0
- package/dist/style-CkQyDSsh.cjs.map +1 -0
- package/dist/styles.css +2 -0
- package/dist/types/agent.types.d.cts +2 -0
- package/dist/types/agent.types.d.mts +2 -0
- package/dist/types/index.d.cts +3 -0
- package/dist/types/index.d.mts +3 -0
- package/dist/types/livekit-room.types.d.cts +19 -0
- package/dist/types/livekit-room.types.d.mts +19 -0
- package/dist/types/participant.types.d.cts +2 -0
- package/dist/types/participant.types.d.mts +2 -0
- package/dist/useLocalParticipant-ByBAgL8i.js +50 -0
- package/dist/useLocalParticipant-ByBAgL8i.js.map +1 -0
- package/dist/useLocalParticipant-Dn5NE_KM.cjs +2 -0
- package/dist/useLocalParticipant-Dn5NE_KM.cjs.map +1 -0
- package/dist/utils/media-choices.utils.d.cts +7 -0
- package/dist/utils/media-choices.utils.d.mts +7 -0
- package/dist/{src/utils/room.utils.d.ts → utils/room.utils.d.cts} +1 -1
- package/dist/utils/room.utils.d.mts +1 -0
- package/package.json +103 -66
- package/dist/favicon.ico +0 -0
- package/dist/index.css +0 -1
- package/dist/livekit-vue.umd.cjs +0 -62
- package/dist/src/assets/index.d.ts +0 -0
- package/dist/src/components/controls/TrackToggle.vue.d.ts +0 -3
- package/dist/src/components/controls/buttons.d.ts +0 -4
- package/dist/src/components/controls/index.d.ts +0 -3
- package/dist/src/components/controls/track_toggle.d.ts +0 -12
- package/dist/src/components/icons/ParticipantPlaceholderIcon.vue.d.ts +0 -2
- package/dist/src/components/icons/TrackIcon.vue.d.ts +0 -7
- package/dist/src/components/index.d.ts +0 -3
- package/dist/src/components/participant/audio_track.d.ts +0 -7
- package/dist/src/composables/index.d.ts +0 -37
- package/dist/src/composables/private/useObservableState.d.ts +0 -8
- package/dist/src/composables/useAudioPlayback.d.ts +0 -11
- package/dist/src/composables/useClearPinButton.d.ts +0 -5
- package/dist/src/composables/useConnectionQualityIndicator.d.ts +0 -10
- package/dist/src/composables/useConnectionState.d.ts +0 -3
- package/dist/src/composables/useDataChannel.d.ts +0 -15
- package/dist/src/composables/useDisconnectButton.d.ts +0 -5
- package/dist/src/composables/useFacingMode.d.ts +0 -10
- package/dist/src/composables/useFocusToggle.d.ts +0 -11
- package/dist/src/composables/useGridLayout.d.ts +0 -10
- package/dist/src/composables/useIsEncrypted.d.ts +0 -8
- package/dist/src/composables/useIsMuted.d.ts +0 -7
- package/dist/src/composables/useIsRecording.d.ts +0 -5
- package/dist/src/composables/useIsSpeaking.d.ts +0 -5
- package/dist/src/composables/useLiveKitRoom.d.ts +0 -8
- package/dist/src/composables/useLocalParticipant.d.ts +0 -16
- package/dist/src/composables/useParticipantTile.d.ts +0 -11
- package/dist/src/composables/useParticipantTracks.d.ts +0 -4
- package/dist/src/composables/useParticipants.d.ts +0 -7
- package/dist/src/composables/usePersistentUserChoices.d.ts +0 -16
- package/dist/src/composables/usePinnedTracks.d.ts +0 -4
- package/dist/src/composables/useRemoteParticipant.d.ts +0 -7
- package/dist/src/composables/useRemoteParticipants.d.ts +0 -7
- package/dist/src/composables/useRoomInfo.d.ts +0 -13
- package/dist/src/composables/useSortedParticipants.d.ts +0 -3
- package/dist/src/composables/useSpeakingParticipants.d.ts +0 -3
- package/dist/src/composables/useStartAudio.d.ts +0 -11
- package/dist/src/composables/useStartVideo.d.ts +0 -11
- package/dist/src/composables/useToken.d.ts +0 -10
- package/dist/src/composables/useTrack.d.ts +0 -3
- package/dist/src/composables/useTrackByName.d.ts +0 -3
- package/dist/src/composables/useTrackMutedIndicator.d.ts +0 -6
- package/dist/src/composables/useTrackRefBySourceOrName.d.ts +0 -4
- package/dist/src/composables/useTrackSyncTime.d.ts +0 -6
- package/dist/src/composables/useTrackToggle.d.ts +0 -21
- package/dist/src/composables/useTrackVolume.d.ts +0 -28
- package/dist/src/composables/useTracks.d.ts +0 -10
- package/dist/src/composables/useVisualStableUpdate.d.ts +0 -8
- package/dist/src/context/index.d.ts +0 -6
- package/dist/src/context/layout.context.d.ts +0 -28
- package/dist/src/context/participant.context.d.ts +0 -9
- package/dist/src/context/pin.context.d.ts +0 -26
- package/dist/src/context/room.context.d.ts +0 -9
- package/dist/src/context/track_reference.context.d.ts +0 -6
- package/dist/src/context/widget.context.d.ts +0 -7
- package/dist/src/index.d.ts +0 -3
- package/dist/src/types/livekit_room.types.d.ts +0 -68
- package/src/assets/icons/chevron-down.svg +0 -4
- package/src/assets/icons/chevron-up.svg +0 -4
- package/src/assets/icons/frown.svg +0 -7
- package/src/assets/icons/heart.svg +0 -6
- package/src/assets/icons/mic-off.svg +0 -8
- package/src/assets/icons/mic.svg +0 -7
- package/src/assets/icons/phone-hang-up.svg +0 -9
- package/src/assets/icons/share-screen-off.svg +0 -6
- package/src/assets/icons/share-screen.svg +0 -7
- package/src/assets/icons/smile.svg +0 -7
- package/src/assets/icons/thumbs-down.svg +0 -6
- package/src/assets/icons/thumbs-up.svg +0 -6
- package/src/assets/icons/video-off.svg +0 -5
- package/src/assets/icons/video.svg +0 -5
- package/src/assets/index.ts +0 -1
- package/src/assets/placeholders/participant.svg +0 -8
- package/src/components/controls/TrackToggle.vue +0 -20
- package/src/components/controls/buttons.ts +0 -5
- package/src/components/controls/index.ts +0 -3
- package/src/components/controls/track_toggle.ts +0 -13
- package/src/components/icons/ParticipantPlaceholderIcon.vue +0 -7
- package/src/components/icons/TrackIcon.vue +0 -55
- package/src/components/index.ts +0 -3
- package/src/components/participant/AudioTrack.vue +0 -17
- package/src/components/participant/audio_track.ts +0 -8
- package/src/composables/index.ts +0 -89
- package/src/composables/private/useObservableState.ts +0 -44
- package/src/composables/useAudioPlayback.ts +0 -42
- package/src/composables/useClearPinButton.ts +0 -41
- package/src/composables/useConnectionQualityIndicator.ts +0 -39
- package/src/composables/useConnectionState.ts +0 -21
- package/src/composables/useDataChannel.ts +0 -56
- package/src/composables/useDisconnectButton.ts +0 -28
- package/src/composables/useFacingMode.ts +0 -28
- package/src/composables/useFocusToggle.ts +0 -38
- package/src/composables/useGridLayout.ts +0 -44
- package/src/composables/useIsEncrypted.ts +0 -34
- package/src/composables/useIsMuted.ts +0 -56
- package/src/composables/useIsRecording.ts +0 -30
- package/src/composables/useIsSpeaking.ts +0 -23
- package/src/composables/useLiveKitRoom.ts +0 -219
- package/src/composables/useLocalParticipant.ts +0 -64
- package/src/composables/useParticipantTile.ts +0 -68
- package/src/composables/useParticipantTracks.ts +0 -36
- package/src/composables/useParticipants.ts +0 -25
- package/src/composables/usePersistentUserChoices.ts +0 -64
- package/src/composables/usePinnedTracks.ts +0 -16
- package/src/composables/useRemoteParticipant.ts +0 -42
- package/src/composables/useRemoteParticipants.ts +0 -27
- package/src/composables/useRoomInfo.ts +0 -42
- package/src/composables/useSortedParticipants.ts +0 -21
- package/src/composables/useSpeakingParticipants.ts +0 -22
- package/src/composables/useStartAudio.ts +0 -53
- package/src/composables/useStartVideo.ts +0 -53
- package/src/composables/useToken.ts +0 -40
- package/src/composables/useTrack.ts +0 -11
- package/src/composables/useTrackByName.ts +0 -11
- package/src/composables/useTrackMutedIndicator.ts +0 -34
- package/src/composables/useTrackRefBySourceOrName.ts +0 -39
- package/src/composables/useTrackSyncTime.ts +0 -32
- package/src/composables/useTrackToggle.ts +0 -110
- package/src/composables/useTrackVolume.ts +0 -268
- package/src/composables/useTracks.ts +0 -122
- package/src/composables/useVisualStableUpdate.ts +0 -57
- package/src/context/index.ts +0 -6
- package/src/context/layout.context.ts +0 -46
- package/src/context/participant.context.ts +0 -33
- package/src/context/pin.context.ts +0 -50
- package/src/context/room.context.ts +0 -31
- package/src/context/track_reference.context.ts +0 -29
- package/src/context/widget.context.ts +0 -17
- package/src/index.css +0 -1
- package/src/index.ts +0 -5
- package/src/types/livekit_room.types.ts +0 -78
- package/src/utils/room.utils.ts +0 -9
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ConnectionState, Room } from 'livekit-client';
|
|
2
|
+
import { LkStyleProps } from '../style.mjs';
|
|
3
|
+
export interface ConnectionStatusComponentProps extends LkStyleProps {
|
|
4
|
+
room?: Room;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
default?: (props: {
|
|
8
|
+
connectionState: ConnectionState;
|
|
9
|
+
}) => unknown;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<ConnectionStatusComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ConnectionStatusComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AudioCaptureOptions, DisconnectReason, MediaDeviceFailure, Room, RoomConnectOptions, RoomOptions, ScreenShareCaptureOptions, VideoCaptureOptions } from 'livekit-client';
|
|
2
|
+
import { LkStyleProps } from '../style.cjs';
|
|
3
|
+
export interface LiveKitRoomComponentProps extends LkStyleProps {
|
|
4
|
+
serverUrl?: string;
|
|
5
|
+
token?: string;
|
|
6
|
+
audio?: AudioCaptureOptions | boolean;
|
|
7
|
+
video?: VideoCaptureOptions | boolean;
|
|
8
|
+
screen?: ScreenShareCaptureOptions | boolean;
|
|
9
|
+
persistUserChoices?: boolean;
|
|
10
|
+
connect?: boolean;
|
|
11
|
+
options?: RoomOptions;
|
|
12
|
+
connectOptions?: RoomConnectOptions;
|
|
13
|
+
room?: Room;
|
|
14
|
+
simulateParticipants?: number;
|
|
15
|
+
}
|
|
16
|
+
type __VLS_Slots = {
|
|
17
|
+
default?: (props: {
|
|
18
|
+
room: Room;
|
|
19
|
+
}) => unknown;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_base: import('vue').DefineComponent<LiveKitRoomComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
error: (error: Error) => any;
|
|
23
|
+
disconnected: (reason?: DisconnectReason | undefined) => any;
|
|
24
|
+
connected: () => any;
|
|
25
|
+
encryptionError: (error: Error) => any;
|
|
26
|
+
mediaDeviceFailure: (failure?: MediaDeviceFailure | undefined) => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<LiveKitRoomComponentProps> & Readonly<{
|
|
28
|
+
onError?: ((error: Error) => any) | undefined;
|
|
29
|
+
onDisconnected?: ((reason?: DisconnectReason | undefined) => any) | undefined;
|
|
30
|
+
onConnected?: (() => any) | undefined;
|
|
31
|
+
onEncryptionError?: ((error: Error) => any) | undefined;
|
|
32
|
+
onMediaDeviceFailure?: ((failure?: MediaDeviceFailure | undefined) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
audio: boolean | AudioCaptureOptions;
|
|
35
|
+
video: boolean | VideoCaptureOptions;
|
|
36
|
+
persistUserChoices: boolean;
|
|
37
|
+
screen: boolean | ScreenShareCaptureOptions;
|
|
38
|
+
connect: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
|
+
declare const _default: typeof __VLS_export;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AudioCaptureOptions, DisconnectReason, MediaDeviceFailure, Room, RoomConnectOptions, RoomOptions, ScreenShareCaptureOptions, VideoCaptureOptions } from 'livekit-client';
|
|
2
|
+
import { LkStyleProps } from '../style.mjs';
|
|
3
|
+
export interface LiveKitRoomComponentProps extends LkStyleProps {
|
|
4
|
+
serverUrl?: string;
|
|
5
|
+
token?: string;
|
|
6
|
+
audio?: AudioCaptureOptions | boolean;
|
|
7
|
+
video?: VideoCaptureOptions | boolean;
|
|
8
|
+
screen?: ScreenShareCaptureOptions | boolean;
|
|
9
|
+
persistUserChoices?: boolean;
|
|
10
|
+
connect?: boolean;
|
|
11
|
+
options?: RoomOptions;
|
|
12
|
+
connectOptions?: RoomConnectOptions;
|
|
13
|
+
room?: Room;
|
|
14
|
+
simulateParticipants?: number;
|
|
15
|
+
}
|
|
16
|
+
type __VLS_Slots = {
|
|
17
|
+
default?: (props: {
|
|
18
|
+
room: Room;
|
|
19
|
+
}) => unknown;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_base: import('vue').DefineComponent<LiveKitRoomComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
error: (error: Error) => any;
|
|
23
|
+
disconnected: (reason?: DisconnectReason | undefined) => any;
|
|
24
|
+
connected: () => any;
|
|
25
|
+
encryptionError: (error: Error) => any;
|
|
26
|
+
mediaDeviceFailure: (failure?: MediaDeviceFailure | undefined) => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<LiveKitRoomComponentProps> & Readonly<{
|
|
28
|
+
onError?: ((error: Error) => any) | undefined;
|
|
29
|
+
onDisconnected?: ((reason?: DisconnectReason | undefined) => any) | undefined;
|
|
30
|
+
onConnected?: (() => any) | undefined;
|
|
31
|
+
onEncryptionError?: ((error: Error) => any) | undefined;
|
|
32
|
+
onMediaDeviceFailure?: ((failure?: MediaDeviceFailure | undefined) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
audio: boolean | AudioCaptureOptions;
|
|
35
|
+
video: boolean | VideoCaptureOptions;
|
|
36
|
+
persistUserChoices: boolean;
|
|
37
|
+
screen: boolean | ScreenShareCaptureOptions;
|
|
38
|
+
connect: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
|
+
declare const _default: typeof __VLS_export;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Participant } from 'livekit-client';
|
|
2
|
+
export interface ParticipantLoopProps {
|
|
3
|
+
participants: Participant[];
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
default?: (props: {
|
|
7
|
+
participant: Participant;
|
|
8
|
+
}) => unknown;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<ParticipantLoopProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ParticipantLoopProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Participant } from 'livekit-client';
|
|
2
|
+
export interface ParticipantLoopProps {
|
|
3
|
+
participants: Participant[];
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
default?: (props: {
|
|
7
|
+
participant: Participant;
|
|
8
|
+
}) => unknown;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<ParticipantLoopProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ParticipantLoopProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Room } from 'livekit-client';
|
|
2
|
+
export interface RoomAudioRendererProps {
|
|
3
|
+
room?: Room;
|
|
4
|
+
volume?: number;
|
|
5
|
+
muted?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<RoomAudioRendererProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RoomAudioRendererProps> & Readonly<{}>, {
|
|
8
|
+
room: Room;
|
|
9
|
+
volume: number;
|
|
10
|
+
muted: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Room } from 'livekit-client';
|
|
2
|
+
export interface RoomAudioRendererProps {
|
|
3
|
+
room?: Room;
|
|
4
|
+
volume?: number;
|
|
5
|
+
muted?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<RoomAudioRendererProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RoomAudioRendererProps> & Readonly<{}>, {
|
|
8
|
+
room: Room;
|
|
9
|
+
volume: number;
|
|
10
|
+
muted: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Room } from 'livekit-client';
|
|
2
|
+
import { LkStyleProps } from '../style.cjs';
|
|
3
|
+
export interface RoomNameProps extends LkStyleProps {
|
|
4
|
+
room?: Room;
|
|
5
|
+
childrenPosition?: 'before' | 'after';
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Slots = {
|
|
8
|
+
default?: () => unknown;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<RoomNameProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RoomNameProps> & Readonly<{}>, {
|
|
11
|
+
childrenPosition: "after" | "before";
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Room } from 'livekit-client';
|
|
2
|
+
import { LkStyleProps } from '../style.mjs';
|
|
3
|
+
export interface RoomNameProps extends LkStyleProps {
|
|
4
|
+
room?: Room;
|
|
5
|
+
childrenPosition?: 'before' | 'after';
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Slots = {
|
|
8
|
+
default?: () => unknown;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<RoomNameProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RoomNameProps> & Readonly<{}>, {
|
|
11
|
+
childrenPosition: "after" | "before";
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LkStyleProps } from '../style.cjs';
|
|
2
|
+
export type ToastProps = LkStyleProps;
|
|
3
|
+
type __VLS_Slots = {
|
|
4
|
+
default?: () => unknown;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<LkStyleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LkStyleProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LkStyleProps } from '../style.mjs';
|
|
2
|
+
export type ToastProps = LkStyleProps;
|
|
3
|
+
type __VLS_Slots = {
|
|
4
|
+
default?: () => unknown;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<LkStyleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LkStyleProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TrackReferenceOrPlaceholder } from '@livekit/components-core';
|
|
2
|
+
export interface TrackLoopProps {
|
|
3
|
+
tracks: TrackReferenceOrPlaceholder[];
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
default?: (props: {
|
|
7
|
+
trackRef: TrackReferenceOrPlaceholder;
|
|
8
|
+
}) => unknown;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<TrackLoopProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TrackLoopProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TrackReferenceOrPlaceholder } from '@livekit/components-core';
|
|
2
|
+
export interface TrackLoopProps {
|
|
3
|
+
tracks: TrackReferenceOrPlaceholder[];
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
default?: (props: {
|
|
7
|
+
trackRef: TrackReferenceOrPlaceholder;
|
|
8
|
+
}) => unknown;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<TrackLoopProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TrackLoopProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { default as ConnectionStateToast } from './ConnectionStateToast.vue.cjs';
|
|
2
|
+
export type { ConnectionStateToastProps } from './ConnectionStateToast.vue.cjs';
|
|
3
|
+
export { default as ConnectionStatus } from './ConnectionStatus.vue.cjs';
|
|
4
|
+
export type { ConnectionStatusComponentProps } from './ConnectionStatus.vue.cjs';
|
|
5
|
+
export { default as LiveKitRoom } from './LiveKitRoom.vue.cjs';
|
|
6
|
+
export type { LiveKitRoomComponentProps } from './LiveKitRoom.vue.cjs';
|
|
7
|
+
export { default as ParticipantLoop } from './ParticipantLoop.vue.cjs';
|
|
8
|
+
export type { ParticipantLoopProps } from './ParticipantLoop.vue.cjs';
|
|
9
|
+
export { default as RoomAudioRenderer } from './RoomAudioRenderer.vue.cjs';
|
|
10
|
+
export type { RoomAudioRendererProps } from './RoomAudioRenderer.vue.cjs';
|
|
11
|
+
export { default as RoomName } from './RoomName.vue.cjs';
|
|
12
|
+
export type { RoomNameProps } from './RoomName.vue.cjs';
|
|
13
|
+
export { default as Toast } from './Toast.vue.cjs';
|
|
14
|
+
export type { ToastProps } from './Toast.vue.cjs';
|
|
15
|
+
export { default as TrackLoop } from './TrackLoop.vue.cjs';
|
|
16
|
+
export type { TrackLoopProps } from './TrackLoop.vue.cjs';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { default as ConnectionStateToast } from './ConnectionStateToast.vue.mjs';
|
|
2
|
+
export type { ConnectionStateToastProps } from './ConnectionStateToast.vue.mjs';
|
|
3
|
+
export { default as ConnectionStatus } from './ConnectionStatus.vue.mjs';
|
|
4
|
+
export type { ConnectionStatusComponentProps } from './ConnectionStatus.vue.mjs';
|
|
5
|
+
export { default as LiveKitRoom } from './LiveKitRoom.vue.mjs';
|
|
6
|
+
export type { LiveKitRoomComponentProps } from './LiveKitRoom.vue.mjs';
|
|
7
|
+
export { default as ParticipantLoop } from './ParticipantLoop.vue.mjs';
|
|
8
|
+
export type { ParticipantLoopProps } from './ParticipantLoop.vue.mjs';
|
|
9
|
+
export { default as RoomAudioRenderer } from './RoomAudioRenderer.vue.mjs';
|
|
10
|
+
export type { RoomAudioRendererProps } from './RoomAudioRenderer.vue.mjs';
|
|
11
|
+
export { default as RoomName } from './RoomName.vue.mjs';
|
|
12
|
+
export type { RoomNameProps } from './RoomName.vue.mjs';
|
|
13
|
+
export { default as Toast } from './Toast.vue.mjs';
|
|
14
|
+
export type { ToastProps } from './Toast.vue.mjs';
|
|
15
|
+
export { default as TrackLoop } from './TrackLoop.vue.mjs';
|
|
16
|
+
export type { TrackLoopProps } from './TrackLoop.vue.mjs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
export type LkSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export interface LkStyleProps {
|
|
4
|
+
readonly size?: LkSize;
|
|
5
|
+
readonly unstyled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface LkStyleAttrs {
|
|
8
|
+
readonly class: string[];
|
|
9
|
+
readonly 'data-lk-size': LkSize | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare function useStyleAttrs(props: LkStyleProps, classes: () => (string | false | undefined)[]): ComputedRef<LkStyleAttrs>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
export type LkSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export interface LkStyleProps {
|
|
4
|
+
readonly size?: LkSize;
|
|
5
|
+
readonly unstyled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface LkStyleAttrs {
|
|
8
|
+
readonly class: string[];
|
|
9
|
+
readonly 'data-lk-size': LkSize | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare function useStyleAttrs(props: LkStyleProps, classes: () => (string | false | undefined)[]): ComputedRef<LkStyleAttrs>;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export { AGENT_EVENT, agentStateFlags, createAgentTimeoutStore, DEFAULT_AGENT_CONNECT_TIMEOUT_MILLISECONDS, useAgent, type AgentCallbacks, type AgentEvent, type AgentSessionStub, type AgentStateFlags, type AgentTimeoutStore, type UseAgent, type UseAgentInternal, } from './useAgent.cjs';
|
|
2
|
+
export { AGENT_MOODS, currentExpression, DEFAULT_MOOD_TTL_TURNS, EXPRESSION_ATTRIBUTE, parseExpression, useAgentExpression, type AgentExpression, type AgentMood, type UseAgentExpression, type UseAgentExpressionProps, } from './useAgentExpression.cjs';
|
|
3
|
+
export { useAudioPlayback, type UseAudioPlayback } from './useAudioPlayback.cjs';
|
|
4
|
+
export { useBarAnimator, type UseBarAnimator, type UseBarAnimatorProps } from './useBarAnimator.cjs';
|
|
5
|
+
export { useChat, type UseChat, type UseChatProps } from './useChat.cjs';
|
|
6
|
+
export { useChatToggle, type ChatToggleAttributes, type UseChatToggle } from './useChatToggle.cjs';
|
|
7
|
+
export { useClearPinButton, type ClearPinButtonProps, type UseClearPinButton, } from './useClearPinButton.cjs';
|
|
8
|
+
export { useConnectionQualityIndicator, type ConnectionQualityIndicatorProps, type UseConnectionQualityIndicator, } from './useConnectionQualityIndicator.cjs';
|
|
9
|
+
export { useConnectionState, type ConnectionStateProps, type UseConnectionState, } from './useConnectionState.cjs';
|
|
10
|
+
export { useConnectionStatus, type ConnectionStatusProps, type UseConnectionStatus, } from './useConnectionStatus.cjs';
|
|
11
|
+
export { useDataChannel, type UseDataChannel, type UseDataChannelProps } from './useDataChannel.cjs';
|
|
12
|
+
export { useDisconnectButton, type UseDisconnectButton, type UseDisconnectButtonProps, } from './useDisconnectButton.cjs';
|
|
13
|
+
export { useEvents, type EmitterTarget, type UseEvents } from './useEvents.cjs';
|
|
14
|
+
export { FACING_MODE, type FacingMode, useFacingMode, type FacingModeProps, type UseFacingMode, } from './useFacingMode.cjs';
|
|
15
|
+
export { useFocusToggle, type FocusToggleAttributes, type FocusToggleProps, type UseFocusToggle, } from './useFocusToggle.cjs';
|
|
16
|
+
export { useGridLayout, type UseGridLayout, type UseGridLayoutProps } from './useGridLayout.cjs';
|
|
17
|
+
export { useIsEncrypted, type UseIsEncrypted, type UseIsEncryptedProps } from './useIsEncrypted.cjs';
|
|
18
|
+
export { useIsMuted, type UseIsMuted, type UseIsMutedProps } from './useIsMuted.cjs';
|
|
19
|
+
export { useIsRecording, type UseIsRecording, type UseIsRecordingProps } from './useIsRecording.cjs';
|
|
20
|
+
export { useIsSpeaking, type UseIsSpeaking, type UseIsSpeakingProps } from './useIsSpeaking.cjs';
|
|
21
|
+
export { ROOM_CONNECTION_STATE, useLiveKitRoom, type RoomConnectionState, type UseLiveKitRoom, } from './useLiveKitRoom.cjs';
|
|
22
|
+
export { useLocalParticipant, type UseLocalParticipant, type UseLocalParticipantProps, } from './useLocalParticipant.cjs';
|
|
23
|
+
export { useLocalParticipantPermissions, type UseLocalParticipantPermissions, type UseLocalParticipantPermissionsOptions, type UseLocalParticipantPermissionsProps, } from './useLocalParticipantPermissions.cjs';
|
|
24
|
+
export { useMediaDevices, type UseMediaDevices, type UseMediaDevicesProps, } from './useMediaDevices.cjs';
|
|
25
|
+
export { useMediaDeviceSelect, type UseMediaDeviceSelect, type UseMediaDeviceSelectProps, } from './useMediaDeviceSelect.cjs';
|
|
26
|
+
export { TRACK_ORIENTATION, type TrackOrientation, useMediaTrackBySourceOrName, type MediaTrackAttributes, type UseMediaTrackBySourceOrName, type UseMediaTrackBySourceOrNameProps, type UseMediaTrackOptions, } from './useMediaTrackBySourceOrName.cjs';
|
|
27
|
+
export { PAGINATION_DIRECTION, type PaginationDirection, usePagination, type UsePagination, type UsePaginationOptions, } from './usePagination.cjs';
|
|
28
|
+
export { useParticipantAttribute, useParticipantAttributes, type UseParticipantAttribute, type UseParticipantAttributes, type UseParticipantAttributesProps, } from './useParticipantAttributes.cjs';
|
|
29
|
+
export { avatarFromMetadata, avatarHue, getInitials, PARTICIPANT_AVATAR_KEYS, useParticipantAvatar, type UseParticipantAvatar, type UseParticipantAvatarProps, } from './useParticipantAvatar.cjs';
|
|
30
|
+
export { useParticipantInfo, type ParticipantInfo, type UseParticipantInfo, type UseParticipantInfoProps, } from './useParticipantInfo.cjs';
|
|
31
|
+
export { useParticipantPermissions, type UseParticipantPermissions, type UseParticipantPermissionsProps, } from './useParticipantPermissions.cjs';
|
|
32
|
+
export { useParticipants, type MixedParticipantArray, type UseParticipants, type UseParticipantsProps, } from './useParticipants.cjs';
|
|
33
|
+
export { useParticipantTile, type ParticipantTileAttributes, type UseParticipantTile, type UseParticipantTileProps, } from './useParticipantTile.cjs';
|
|
34
|
+
export { useParticipantTracks, type UseParticipantTracks, type UseParticipantTracksProps, } from './useParticipantTracks.cjs';
|
|
35
|
+
export { usePersistentUserChoices, type UsePersistentUserChoices, type UsePersistentUserChoicesProps, } from './usePersistentUserChoices.cjs';
|
|
36
|
+
export { usePinnedTracks, type UsePinnedTracks, type UsePinnedTracksProps, } from './usePinnedTracks.cjs';
|
|
37
|
+
export { usePreviewTracks, type UsePreviewTracks, type UsePreviewTracksProps, } from './usePreviewTracks.cjs';
|
|
38
|
+
export { useRemoteParticipant, type UseRemoteParticipant, type UseRemoteParticipantOptions, type UseRemoteParticipantProps, } from './useRemoteParticipant.cjs';
|
|
39
|
+
export { useRemoteParticipants, type UseRemoteParticipants, type UseRemoteParticipantsProps, } from './useRemoteParticipants.cjs';
|
|
40
|
+
export { useRoomInfo, type RoomInfo, type UseRoomInfo, type UseRoomInfoProps } from './useRoomInfo.cjs';
|
|
41
|
+
export { useRpc, type RpcCallParams, type RpcHandler, type UseRpc, type UseRpcProps, } from './useRpc.cjs';
|
|
42
|
+
export { useSequentialRoomConnectDisconnect, type UseSequentialRoomConnectDisconnect, } from './useSequentialRoomConnectDisconnect.cjs';
|
|
43
|
+
export { isUseSession, SESSION_EVENT, useSession, type SessionCallbacks, type SessionConnectOptions, type SessionEvent, type SessionInternal, type SessionTrackOptions, type SessionTracks, type UseSession, type UseSessionCommonOptions, type UseSessionConfigurableOptions, type UseSessionCreatedRoomOptions, type UseSessionEncryptionOptions, type UseSessionFixedOptions, type UseSessionGivenRoomOptions, type UseSessionKeyEncryptionOptions, type UseSessionLocalTracks, type UseSessionManagerEncryptionOptions, type UseSessionOptions, type UseSessionRoomOptions, } from './useSession.cjs';
|
|
44
|
+
export { MESSAGES_EVENT, useSessionMessages, type MessagesCallbacks, type MessagesEvent, type UseSessionMessages, type UseSessionMessagesInternal, } from './useSessionMessages.cjs';
|
|
45
|
+
export { useSettingsToggle, type SettingsToggleAttributes, type UseSettingsToggle, } from './useSettingsToggle.cjs';
|
|
46
|
+
export { useSortedParticipants, type UseSortedParticipants, type UseSortedParticipantsProps, } from './useSortedParticipants.cjs';
|
|
47
|
+
export { useSpeakingParticipants, type UseSpeakingParticipants } from './useSpeakingParticipants.cjs';
|
|
48
|
+
export { useStartAudio, type UseStartAudio, type UseStartAudioProps } from './useStartAudio.cjs';
|
|
49
|
+
export { useStartVideo, type UseStartVideo, type UseStartVideoProps } from './useStartVideo.cjs';
|
|
50
|
+
export { useSwipe, type UseSwipeOptions } from './useSwipe.cjs';
|
|
51
|
+
export { useTextStream, type TextStreamInfo, type UseTextStream, type UseTextStreamProps, } from './useTextStream.cjs';
|
|
52
|
+
export { useToast, type UseToast } from './useToast.cjs';
|
|
53
|
+
export { useToken, type UseToken, type UseTokenArgs, type UseTokenOptions, type UseTokenProps, type UserInfo, } from './useToken.cjs';
|
|
54
|
+
export { useTrack, type UseTrack, type UseTrackProps } from './useTrack.cjs';
|
|
55
|
+
export { useTrackByName, type UseTrackByName, type UseTrackByNameProps } from './useTrackByName.cjs';
|
|
56
|
+
export { useTrackMutedIndicator, type UseTrackMutedIndicator, type UseTrackMutedIndicatorProps, } from './useTrackMutedIndicator.cjs';
|
|
57
|
+
export { useTrackRefBySource, type UseTrackRefBySourceOrName, type UseTrackRefBySourceOrNameProps, } from './useTrackRefBySource.cjs';
|
|
58
|
+
export { requiredPlaceholders, useTracks, type RequiredPlaceholdersProps, type UseTracks, type UseTracksOptions, } from './useTracks.cjs';
|
|
59
|
+
export { useTrackSyncTime, type UseTrackSyncTime, type UseTrackSyncTimeData, type UseTrackSyncTimeProps, } from './useTrackSyncTime.cjs';
|
|
60
|
+
export { useTrackToggle, type ToggleButtonAttributes, type ToggleFunction, type UseTrackToggle, type UseTrackToggleProps, } from './useTrackToggle.cjs';
|
|
61
|
+
export { useTrackTranscription, type TrackTranscriptionOptions, type UseTrackTranscription, type UseTrackTranscriptionProps, } from './useTrackTranscription.cjs';
|
|
62
|
+
export { useAudioWaveform, useMultibandTrackVolume, useTrackVolume, type AudioWaveformOptions, type MultiBandTrackVolumeOptions, type UseAudioWaveform, type UseAudioWaveformProps, type UseMultibandTrackVolume, type UseMultibandTrackVolumeProps, type UseTrackVolume, type UseTrackVolumeProps, } from './useTrackVolume.cjs';
|
|
63
|
+
export { useTranscriptions, type UseTranscriptions, type UseTranscriptionsProps, } from './useTranscriptions.cjs';
|
|
64
|
+
export { useVisualStableUpdate, type UseVisualStableUpdate, type UseVisualStableUpdateProps, } from './useVisualStableUpdate.cjs';
|
|
65
|
+
export { useVoiceAssistant, type UseVoiceAssistant, type UseVoiceAssistantProps, } from './useVoiceAssistant.cjs';
|
|
66
|
+
export { RECEIVE_QUALITY, SEND_RESOLUTION, useVideoQuality, VIDEO_QUALITY_KIND, type ReceiveQuality, type SendResolution, type VideoQualityKind, type UseVideoQuality, type UseVideoQualityProps, } from './useVideoQuality.cjs';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export { AGENT_EVENT, agentStateFlags, createAgentTimeoutStore, DEFAULT_AGENT_CONNECT_TIMEOUT_MILLISECONDS, useAgent, type AgentCallbacks, type AgentEvent, type AgentSessionStub, type AgentStateFlags, type AgentTimeoutStore, type UseAgent, type UseAgentInternal, } from './useAgent.mjs';
|
|
2
|
+
export { AGENT_MOODS, currentExpression, DEFAULT_MOOD_TTL_TURNS, EXPRESSION_ATTRIBUTE, parseExpression, useAgentExpression, type AgentExpression, type AgentMood, type UseAgentExpression, type UseAgentExpressionProps, } from './useAgentExpression.mjs';
|
|
3
|
+
export { useAudioPlayback, type UseAudioPlayback } from './useAudioPlayback.mjs';
|
|
4
|
+
export { useBarAnimator, type UseBarAnimator, type UseBarAnimatorProps } from './useBarAnimator.mjs';
|
|
5
|
+
export { useChat, type UseChat, type UseChatProps } from './useChat.mjs';
|
|
6
|
+
export { useChatToggle, type ChatToggleAttributes, type UseChatToggle } from './useChatToggle.mjs';
|
|
7
|
+
export { useClearPinButton, type ClearPinButtonProps, type UseClearPinButton, } from './useClearPinButton.mjs';
|
|
8
|
+
export { useConnectionQualityIndicator, type ConnectionQualityIndicatorProps, type UseConnectionQualityIndicator, } from './useConnectionQualityIndicator.mjs';
|
|
9
|
+
export { useConnectionState, type ConnectionStateProps, type UseConnectionState, } from './useConnectionState.mjs';
|
|
10
|
+
export { useConnectionStatus, type ConnectionStatusProps, type UseConnectionStatus, } from './useConnectionStatus.mjs';
|
|
11
|
+
export { useDataChannel, type UseDataChannel, type UseDataChannelProps } from './useDataChannel.mjs';
|
|
12
|
+
export { useDisconnectButton, type UseDisconnectButton, type UseDisconnectButtonProps, } from './useDisconnectButton.mjs';
|
|
13
|
+
export { useEvents, type EmitterTarget, type UseEvents } from './useEvents.mjs';
|
|
14
|
+
export { FACING_MODE, type FacingMode, useFacingMode, type FacingModeProps, type UseFacingMode, } from './useFacingMode.mjs';
|
|
15
|
+
export { useFocusToggle, type FocusToggleAttributes, type FocusToggleProps, type UseFocusToggle, } from './useFocusToggle.mjs';
|
|
16
|
+
export { useGridLayout, type UseGridLayout, type UseGridLayoutProps } from './useGridLayout.mjs';
|
|
17
|
+
export { useIsEncrypted, type UseIsEncrypted, type UseIsEncryptedProps } from './useIsEncrypted.mjs';
|
|
18
|
+
export { useIsMuted, type UseIsMuted, type UseIsMutedProps } from './useIsMuted.mjs';
|
|
19
|
+
export { useIsRecording, type UseIsRecording, type UseIsRecordingProps } from './useIsRecording.mjs';
|
|
20
|
+
export { useIsSpeaking, type UseIsSpeaking, type UseIsSpeakingProps } from './useIsSpeaking.mjs';
|
|
21
|
+
export { ROOM_CONNECTION_STATE, useLiveKitRoom, type RoomConnectionState, type UseLiveKitRoom, } from './useLiveKitRoom.mjs';
|
|
22
|
+
export { useLocalParticipant, type UseLocalParticipant, type UseLocalParticipantProps, } from './useLocalParticipant.mjs';
|
|
23
|
+
export { useLocalParticipantPermissions, type UseLocalParticipantPermissions, type UseLocalParticipantPermissionsOptions, type UseLocalParticipantPermissionsProps, } from './useLocalParticipantPermissions.mjs';
|
|
24
|
+
export { useMediaDevices, type UseMediaDevices, type UseMediaDevicesProps, } from './useMediaDevices.mjs';
|
|
25
|
+
export { useMediaDeviceSelect, type UseMediaDeviceSelect, type UseMediaDeviceSelectProps, } from './useMediaDeviceSelect.mjs';
|
|
26
|
+
export { TRACK_ORIENTATION, type TrackOrientation, useMediaTrackBySourceOrName, type MediaTrackAttributes, type UseMediaTrackBySourceOrName, type UseMediaTrackBySourceOrNameProps, type UseMediaTrackOptions, } from './useMediaTrackBySourceOrName.mjs';
|
|
27
|
+
export { PAGINATION_DIRECTION, type PaginationDirection, usePagination, type UsePagination, type UsePaginationOptions, } from './usePagination.mjs';
|
|
28
|
+
export { useParticipantAttribute, useParticipantAttributes, type UseParticipantAttribute, type UseParticipantAttributes, type UseParticipantAttributesProps, } from './useParticipantAttributes.mjs';
|
|
29
|
+
export { avatarFromMetadata, avatarHue, getInitials, PARTICIPANT_AVATAR_KEYS, useParticipantAvatar, type UseParticipantAvatar, type UseParticipantAvatarProps, } from './useParticipantAvatar.mjs';
|
|
30
|
+
export { useParticipantInfo, type ParticipantInfo, type UseParticipantInfo, type UseParticipantInfoProps, } from './useParticipantInfo.mjs';
|
|
31
|
+
export { useParticipantPermissions, type UseParticipantPermissions, type UseParticipantPermissionsProps, } from './useParticipantPermissions.mjs';
|
|
32
|
+
export { useParticipants, type MixedParticipantArray, type UseParticipants, type UseParticipantsProps, } from './useParticipants.mjs';
|
|
33
|
+
export { useParticipantTile, type ParticipantTileAttributes, type UseParticipantTile, type UseParticipantTileProps, } from './useParticipantTile.mjs';
|
|
34
|
+
export { useParticipantTracks, type UseParticipantTracks, type UseParticipantTracksProps, } from './useParticipantTracks.mjs';
|
|
35
|
+
export { usePersistentUserChoices, type UsePersistentUserChoices, type UsePersistentUserChoicesProps, } from './usePersistentUserChoices.mjs';
|
|
36
|
+
export { usePinnedTracks, type UsePinnedTracks, type UsePinnedTracksProps, } from './usePinnedTracks.mjs';
|
|
37
|
+
export { usePreviewTracks, type UsePreviewTracks, type UsePreviewTracksProps, } from './usePreviewTracks.mjs';
|
|
38
|
+
export { useRemoteParticipant, type UseRemoteParticipant, type UseRemoteParticipantOptions, type UseRemoteParticipantProps, } from './useRemoteParticipant.mjs';
|
|
39
|
+
export { useRemoteParticipants, type UseRemoteParticipants, type UseRemoteParticipantsProps, } from './useRemoteParticipants.mjs';
|
|
40
|
+
export { useRoomInfo, type RoomInfo, type UseRoomInfo, type UseRoomInfoProps } from './useRoomInfo.mjs';
|
|
41
|
+
export { useRpc, type RpcCallParams, type RpcHandler, type UseRpc, type UseRpcProps, } from './useRpc.mjs';
|
|
42
|
+
export { useSequentialRoomConnectDisconnect, type UseSequentialRoomConnectDisconnect, } from './useSequentialRoomConnectDisconnect.mjs';
|
|
43
|
+
export { isUseSession, SESSION_EVENT, useSession, type SessionCallbacks, type SessionConnectOptions, type SessionEvent, type SessionInternal, type SessionTrackOptions, type SessionTracks, type UseSession, type UseSessionCommonOptions, type UseSessionConfigurableOptions, type UseSessionCreatedRoomOptions, type UseSessionEncryptionOptions, type UseSessionFixedOptions, type UseSessionGivenRoomOptions, type UseSessionKeyEncryptionOptions, type UseSessionLocalTracks, type UseSessionManagerEncryptionOptions, type UseSessionOptions, type UseSessionRoomOptions, } from './useSession.mjs';
|
|
44
|
+
export { MESSAGES_EVENT, useSessionMessages, type MessagesCallbacks, type MessagesEvent, type UseSessionMessages, type UseSessionMessagesInternal, } from './useSessionMessages.mjs';
|
|
45
|
+
export { useSettingsToggle, type SettingsToggleAttributes, type UseSettingsToggle, } from './useSettingsToggle.mjs';
|
|
46
|
+
export { useSortedParticipants, type UseSortedParticipants, type UseSortedParticipantsProps, } from './useSortedParticipants.mjs';
|
|
47
|
+
export { useSpeakingParticipants, type UseSpeakingParticipants } from './useSpeakingParticipants.mjs';
|
|
48
|
+
export { useStartAudio, type UseStartAudio, type UseStartAudioProps } from './useStartAudio.mjs';
|
|
49
|
+
export { useStartVideo, type UseStartVideo, type UseStartVideoProps } from './useStartVideo.mjs';
|
|
50
|
+
export { useSwipe, type UseSwipeOptions } from './useSwipe.mjs';
|
|
51
|
+
export { useTextStream, type TextStreamInfo, type UseTextStream, type UseTextStreamProps, } from './useTextStream.mjs';
|
|
52
|
+
export { useToast, type UseToast } from './useToast.mjs';
|
|
53
|
+
export { useToken, type UseToken, type UseTokenArgs, type UseTokenOptions, type UseTokenProps, type UserInfo, } from './useToken.mjs';
|
|
54
|
+
export { useTrack, type UseTrack, type UseTrackProps } from './useTrack.mjs';
|
|
55
|
+
export { useTrackByName, type UseTrackByName, type UseTrackByNameProps } from './useTrackByName.mjs';
|
|
56
|
+
export { useTrackMutedIndicator, type UseTrackMutedIndicator, type UseTrackMutedIndicatorProps, } from './useTrackMutedIndicator.mjs';
|
|
57
|
+
export { useTrackRefBySource, type UseTrackRefBySourceOrName, type UseTrackRefBySourceOrNameProps, } from './useTrackRefBySource.mjs';
|
|
58
|
+
export { requiredPlaceholders, useTracks, type RequiredPlaceholdersProps, type UseTracks, type UseTracksOptions, } from './useTracks.mjs';
|
|
59
|
+
export { useTrackSyncTime, type UseTrackSyncTime, type UseTrackSyncTimeData, type UseTrackSyncTimeProps, } from './useTrackSyncTime.mjs';
|
|
60
|
+
export { useTrackToggle, type ToggleButtonAttributes, type ToggleFunction, type UseTrackToggle, type UseTrackToggleProps, } from './useTrackToggle.mjs';
|
|
61
|
+
export { useTrackTranscription, type TrackTranscriptionOptions, type UseTrackTranscription, type UseTrackTranscriptionProps, } from './useTrackTranscription.mjs';
|
|
62
|
+
export { useAudioWaveform, useMultibandTrackVolume, useTrackVolume, type AudioWaveformOptions, type MultiBandTrackVolumeOptions, type UseAudioWaveform, type UseAudioWaveformProps, type UseMultibandTrackVolume, type UseMultibandTrackVolumeProps, type UseTrackVolume, type UseTrackVolumeProps, } from './useTrackVolume.mjs';
|
|
63
|
+
export { useTranscriptions, type UseTranscriptions, type UseTranscriptionsProps, } from './useTranscriptions.mjs';
|
|
64
|
+
export { useVisualStableUpdate, type UseVisualStableUpdate, type UseVisualStableUpdateProps, } from './useVisualStableUpdate.mjs';
|
|
65
|
+
export { useVoiceAssistant, type UseVoiceAssistant, type UseVoiceAssistantProps, } from './useVoiceAssistant.mjs';
|
|
66
|
+
export { RECEIVE_QUALITY, SEND_RESOLUTION, useVideoQuality, VIDEO_QUALITY_KIND, type ReceiveQuality, type SendResolution, type VideoQualityKind, type UseVideoQuality, type UseVideoQualityProps, } from './useVideoQuality.mjs';
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { TrackReference } from '@livekit/components-core';
|
|
2
|
+
import { ConnectionState, RemoteParticipant, Room } from 'livekit-client';
|
|
3
|
+
import { ComputedRef, Ref } from 'vue';
|
|
4
|
+
import { TypedEmitter } from '../internal/index.cjs';
|
|
5
|
+
import { AgentState } from '../types/index.cjs';
|
|
6
|
+
import { UseSession } from './useSession.cjs';
|
|
7
|
+
export type AgentEvent = (typeof AGENT_EVENT)[keyof typeof AGENT_EVENT];
|
|
8
|
+
export interface AgentCallbacks {
|
|
9
|
+
readonly cameraChanged: (track: TrackReference | undefined) => void;
|
|
10
|
+
readonly microphoneChanged: (track: TrackReference | undefined) => void;
|
|
11
|
+
readonly stateChanged: (state: AgentState) => void;
|
|
12
|
+
}
|
|
13
|
+
export interface AgentStateFlags {
|
|
14
|
+
readonly isConnected: boolean;
|
|
15
|
+
readonly canListen: boolean;
|
|
16
|
+
readonly isFinished: boolean;
|
|
17
|
+
readonly isPending: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface AgentTimeoutStore {
|
|
20
|
+
readonly failureReason: Readonly<Ref<string | null>>;
|
|
21
|
+
readonly start: (timeoutMilliseconds?: number) => void;
|
|
22
|
+
readonly clear: () => void;
|
|
23
|
+
readonly clearFailureReason: () => void;
|
|
24
|
+
readonly updateState: (state: AgentState) => void;
|
|
25
|
+
readonly updateParticipantExists: (exists: boolean) => void;
|
|
26
|
+
}
|
|
27
|
+
export interface UseAgentInternal {
|
|
28
|
+
readonly emitter: TypedEmitter<AgentCallbacks>;
|
|
29
|
+
readonly agentParticipant: ComputedRef<RemoteParticipant | null>;
|
|
30
|
+
readonly workerParticipant: ComputedRef<RemoteParticipant | null>;
|
|
31
|
+
}
|
|
32
|
+
export interface UseAgent {
|
|
33
|
+
readonly state: ComputedRef<AgentState>;
|
|
34
|
+
readonly failureReasons: ComputedRef<string[] | null>;
|
|
35
|
+
readonly identity: ComputedRef<string | undefined>;
|
|
36
|
+
readonly name: ComputedRef<string | undefined>;
|
|
37
|
+
readonly metadata: ComputedRef<string | undefined>;
|
|
38
|
+
readonly attributes: ComputedRef<Readonly<Record<string, string>>>;
|
|
39
|
+
readonly isConnected: ComputedRef<boolean>;
|
|
40
|
+
readonly canListen: ComputedRef<boolean>;
|
|
41
|
+
readonly isFinished: ComputedRef<boolean>;
|
|
42
|
+
readonly isPending: ComputedRef<boolean>;
|
|
43
|
+
readonly cameraTrack: ComputedRef<TrackReference | undefined>;
|
|
44
|
+
readonly microphoneTrack: ComputedRef<TrackReference | undefined>;
|
|
45
|
+
readonly internal: UseAgentInternal;
|
|
46
|
+
readonly waitUntilConnected: (signal?: AbortSignal) => Promise<void>;
|
|
47
|
+
readonly waitUntilCouldBeListening: (signal?: AbortSignal) => Promise<void>;
|
|
48
|
+
readonly waitUntilFinished: (signal?: AbortSignal) => Promise<void>;
|
|
49
|
+
readonly waitUntilCamera: (signal?: AbortSignal) => Promise<TrackReference>;
|
|
50
|
+
readonly waitUntilMicrophone: (signal?: AbortSignal) => Promise<TrackReference>;
|
|
51
|
+
}
|
|
52
|
+
export interface AgentSessionStub {
|
|
53
|
+
readonly room: Room;
|
|
54
|
+
readonly connectionState: Readonly<Ref<ConnectionState>>;
|
|
55
|
+
readonly agentTimeout: AgentTimeoutStore;
|
|
56
|
+
readonly agentConnectTimeoutMilliseconds: () => number | undefined;
|
|
57
|
+
}
|
|
58
|
+
export declare const AGENT_EVENT: {
|
|
59
|
+
readonly CAMERA_CHANGED: "cameraChanged";
|
|
60
|
+
readonly MICROPHONE_CHANGED: "microphoneChanged";
|
|
61
|
+
readonly STATE_CHANGED: "stateChanged";
|
|
62
|
+
};
|
|
63
|
+
export declare const DEFAULT_AGENT_CONNECT_TIMEOUT_MILLISECONDS = 20000;
|
|
64
|
+
export declare function agentStateFlags(state: AgentState): AgentStateFlags;
|
|
65
|
+
export declare function createAgentTimeoutStore(): AgentTimeoutStore;
|
|
66
|
+
export declare function setupAgent(session: AgentSessionStub): UseAgent;
|
|
67
|
+
export declare function useAgent(session?: UseSession): UseAgent;
|