tuikit-atomicx-vue3 6.0.1 → 6.2.1
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/{PopoverPortal-Bq_cs5hI.js → PopoverPortal-CW9vHs8x.js} +3 -3
- package/dist/{PopoverTrigger-CuwomwH5.js → PopoverTrigger-CqYkhDVb.js} +4 -4
- package/dist/{PopperContent-CLNI9Obt.js → PopperContent-ChxEHlA9.js} +1 -1
- package/dist/{Teleport-Bp4EUnV3.js → Teleport-CWAzY-Xf.js} +45 -45
- package/dist/_internal/atomicxcore-core.d.ts +8 -8
- package/dist/baseComp/Modal/Modal.js +16 -14
- package/dist/chat-store/composables/useContactStore.js +1 -1
- package/dist/chat-store/composables/useConversationGroupStore.js +1 -1
- package/dist/chat-store/composables/useConversationListStore.js +1 -1
- package/dist/chat-store/composables/useGroupMemberStore.js +1 -1
- package/dist/chat-store/composables/useGroupStore.js +1 -1
- package/dist/chat-store/composables/useLoginStore.js +1 -1
- package/dist/chat-store/composables/useMessageActionStore.js +1 -1
- package/dist/chat-store/composables/useMessageInputStore.js +1 -1
- package/dist/chat-store/composables/useMessageListStore.js +1 -1
- package/dist/chat-store/composables/useSearchStore.js +1 -1
- package/dist/chat-store/context/useChatContext.js +1 -1
- package/dist/components/AudioSettingPanel/MicrophoneSelect.js +10 -10
- package/dist/components/AudioSettingPanel/SpeakerSelect.js +6 -6
- package/dist/components/BarrageInput/BarrageInput.js +2 -2
- package/dist/components/BarrageInput/BarrageInputH5.js +68 -57
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/BarrageInput/MessageInputState.js +6 -6
- package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
- package/dist/components/BarrageInput/TextEditor/EditorCore.js +4 -4
- package/dist/components/BarrageList/BarrageList.js +98 -93
- package/dist/components/BarrageList/BarrageList.vue.d.ts +1 -1
- package/dist/components/BarrageList/BarrageListH5.js +83 -76
- package/dist/components/BarrageList/BarrageListState.js +4 -4
- package/dist/components/BarrageList/ClickAction/UserActionMenu.js +1 -1
- package/dist/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.js +1 -1
- package/dist/components/BarrageList/Message/MessageLayout/MessageLayout.js +25 -27
- package/dist/components/BarrageList/Message/TextMessage/TextMessage.js +14 -14
- package/dist/components/ChatSetting/C2CChatSetting/C2CChatSetting.js +1 -1
- package/dist/components/ChatSetting/ChatSetting.js +1 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.js +1 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +1 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.js +1 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.js +1 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.js +1 -1
- package/dist/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.js +1 -1
- package/dist/components/ChatSetting/i18n/en-US.js +0 -1
- package/dist/components/ChatSetting/i18n/zh-CN.js +0 -1
- package/dist/components/CoGuestPanel/CoGuestPanel.js +1 -1
- package/dist/components/CoHostPanel/BattlePanel.js +72 -71
- package/dist/components/CoHostPanel/CoHostPanel.js +76 -68
- package/dist/components/CoHostPanel/ConnectionPanel.js +134 -134
- package/dist/components/CoHostPanel/RecommendHostList.js +5 -5
- package/dist/components/CoHostPanel/RecommendHostList.vue.d.ts +3 -1
- package/dist/components/CoHostPanel/constants.d.ts +13 -0
- package/dist/components/CoHostPanel/constants.js +5 -3
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.js +1 -1
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.js +1 -1
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.js +1 -1
- package/dist/components/ContactList/ContactList.js +1 -1
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.js +1 -1
- package/dist/components/ConversationList/ConversationActions/ConversationActions.js +1 -1
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +2 -2
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.js +1 -1
- package/dist/components/ConversationList/ConversationList.js +1 -1
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +1 -1
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +1 -1
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +1 -1
- package/dist/components/ConversationList/ConversationPreview/utils.js +2 -2
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.js +1 -1
- package/dist/components/ConversationList/hooks/useConversationCreate.js +1 -1
- package/dist/components/LiveAudienceList/LiveAudienceList.js +111 -3
- package/dist/components/LiveAudienceList/LiveAudienceList.vue.d.ts +2 -3
- package/dist/components/LiveAudienceList/LiveAudienceListH5.js +71 -3
- package/dist/components/LiveAudienceList/LiveAudienceListH5.vue.d.ts +2 -3
- package/dist/components/LiveAudienceList/UserActionMenu.js +7 -7
- package/dist/components/LiveAudienceList/constants.d.ts +12 -0
- package/dist/components/LiveAudienceList/constants.js +4 -0
- package/dist/components/LiveAudienceList/index.d.ts +4 -3
- package/dist/components/LiveAudienceList/index.js +12 -7
- package/dist/components/LiveGift/LiveGiftH5/GiftCard.js +1 -1
- package/dist/components/LiveGift/LiveGiftH5/LiveGift.js +7 -7
- package/dist/components/LiveGift/LiveGiftPC/LiveGift.js +7 -7
- package/dist/components/LiveList/LiveList.js +7 -7
- package/dist/components/LiveList/LiveListH5.js +9 -9
- package/dist/components/LiveScenePanel/LiveSceneSelect.js +5 -5
- package/dist/components/LiveScenePanel/index.js +22 -22
- package/dist/components/LiveView/CoreViewDecorate/BattleDecorate.js +6 -6
- package/dist/components/LiveView/CoreViewDecorate/BattleUserDecorate.js +12 -12
- package/dist/components/LiveView/CoreViewDecorate/CoHostDecorate.js +5 -5
- package/dist/components/LiveView/DefaultStreamViewUI.js +6 -6
- package/dist/components/LiveView/OverlayState.d.ts +18 -1
- package/dist/components/LiveView/OverlayState.js +58 -45
- package/dist/components/LiveView/PlayerControl/ControlBarItem.js +1 -1
- package/dist/components/LiveView/PlayerControl/PlayerControl.js +82 -78
- package/dist/components/LiveView/PlayerControl/PlayerControlState.js +11 -11
- package/dist/components/LiveView/PlayerControl/utils/domHelpers.d.ts +4 -0
- package/dist/components/LiveView/PlayerControl/utils/domHelpers.js +19 -11
- package/dist/components/LiveView/constants.d.ts +1 -0
- package/dist/components/LiveView/constants.js +4 -0
- package/dist/components/LiveView/index.d.ts +10 -9
- package/dist/components/LiveView/index.js +181 -171
- package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
- package/dist/components/MessageInput/AudioCallPicker/AudioCallPicker.js +52 -50
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/MessageInput/QuickConferencePicker/QuickConferencePicker.js +2 -2
- package/dist/components/MessageInput/QuotedMessagePreview/index.js +1 -1
- package/dist/components/MessageInput/TextEditor/EditorCore.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +3 -3
- package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +2 -2
- package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +2 -2
- package/dist/components/MessageInput/TextEditor/index.js +163 -89
- package/dist/components/MessageInput/VideoCallPicker/VideoCallPicker.js +49 -47
- package/dist/components/MessageList/Message/AudioMessage/AudioMessage.js +7 -7
- package/dist/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.js +34 -27
- package/dist/components/MessageList/Message/CustomMessage/CustomMessage.js +20 -20
- package/dist/components/MessageList/Message/CustomMessage/QuickConferenceMessage/QuickConferenceMessage.js +1 -1
- package/dist/components/MessageList/Message/FileMessage/FileMessage.js +23 -23
- package/dist/components/MessageList/Message/GroupTipMessage/index.js +2 -2
- package/dist/components/MessageList/Message/ImageMessage/ImageMessage.js +20 -20
- package/dist/components/MessageList/Message/Message.vue.d.ts +5 -0
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +3 -3
- package/dist/components/MessageList/Message/MessageLayout/MessageBubble/MessageBubble.js +1 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.js +110 -100
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.vue.d.ts +5 -0
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.js +1 -1
- package/dist/components/MessageList/Message/RecalledMessage/RecalledMessage.js +1 -1
- package/dist/components/MessageList/Message/TextMessage/TextMessage.js +1 -1
- package/dist/components/MessageList/Message/VideoMessage/VideoMessage.js +14 -14
- package/dist/components/MessageList/Message/index.js +5 -3
- package/dist/components/MessageList/MessageList.js +142 -126
- package/dist/components/MessageList/MessageList.vue.d.ts +5 -0
- package/dist/components/MessageList/i18n/en-US.d.ts +1 -0
- package/dist/components/MessageList/i18n/en-US.js +1 -0
- package/dist/components/MessageList/i18n/index.d.ts +2 -0
- package/dist/components/MessageList/i18n/zh-CN.d.ts +1 -0
- package/dist/components/MessageList/i18n/zh-CN.js +1 -0
- package/dist/components/MessageList/index.d.ts +18 -0
- package/dist/components/RoomParticipantView/StreamPlayManager/StreamPlayer.js +1 -1
- package/dist/components/RoomParticipantView/StreamPlayManager/index.js +1 -1
- package/dist/components/RoomView/FloatMixLayout.js +12 -12
- package/dist/components/RoomView/index.js +1 -1
- package/dist/components/RoomView/usePlayStream/RTCStreamPlayer.js +1 -1
- package/dist/components/RoomView/usePlayStream/index.js +14 -14
- package/dist/components/ScheduleRoomPanel/ScheduleRoomPanel.js +1 -1
- package/dist/components/ScheduleRoomPanel/ScheduledRoomList.js +1 -1
- package/dist/components/Search/Search.js +1 -1
- package/dist/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.js +1 -1
- package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.js +1 -1
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.js +21 -21
- package/dist/components/Search/SearchResults/SearchResultsItem/User/User.js +1 -1
- package/dist/components/StreamMixer/LocalMixer/index.js +15 -15
- package/dist/components/UserPicker/index.d.ts +2 -2
- package/dist/components/VideoSettingPanel/CameraSelect.js +6 -6
- package/dist/context/useChatUIState.d.ts +8 -0
- package/dist/context/useChatUIState.js +88 -45
- package/dist/hooks/useMessageActions.js +1 -1
- package/dist/hooks/useOfflinePushInfo/utils.js +1 -1
- package/dist/hooks/useReadReceipt/useReadReceipt.js +43 -47
- package/dist/{index-Cm55_dLz.js → index-BG0SygPh.js} +1 -1
- package/dist/index-BTIOpjNf.js +101 -0
- package/dist/{index-CQ-T7Ht7.js → index-Blg782zP.js} +1 -1
- package/dist/index-Bya5UkNn.js +291 -0
- package/dist/{index-CqKRFJMe.js → index-CjTlxZJy.js} +1288 -1250
- package/dist/{index-BqLIloNy.js → index-DEKODZ4s.js} +2766 -2752
- package/dist/index-DOrJqoXX.js +76 -0
- package/dist/{index-DL9jivIN.js → index-zPloDst2.js} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +350 -328
- package/dist/login-BF4inxYw.js +5 -0
- package/dist/report/MetricsKey.d.ts +18 -18
- package/dist/report/MetricsKey.js +1 -1
- package/dist/seat-D9-cB-I1.js +9 -0
- package/dist/states/BarrageState/BarrageState.d.ts +2 -1
- package/dist/states/BarrageState/BarrageState.js +26 -25
- package/dist/states/BattleState/index.d.ts +118 -1
- package/dist/states/BattleState/index.js +15 -2
- package/dist/states/CoGuestState.js +5 -5
- package/dist/states/CoHostState/index.d.ts +109 -1
- package/dist/states/CoHostState/index.js +94 -2
- package/dist/states/DeviceState/DeviceState.js +13 -13
- package/dist/states/GroupSettingState/GroupSettingState.js +61 -63
- package/dist/states/LiveAudienceState/index.d.ts +74 -0
- package/dist/states/LiveAudienceState/index.js +228 -0
- package/dist/states/LiveGiftState/LiveGiftState.js +20 -20
- package/dist/states/LiveListState/index.d.ts +120 -1
- package/dist/states/LiveListState/index.js +291 -2
- package/dist/states/LivePlayerState/index.d.ts +100 -1
- package/dist/states/LivePlayerState/index.js +141 -2
- package/dist/states/LiveSeatState/index.d.ts +6 -6
- package/dist/states/LiveSeatState/seatEventManager.js +14 -14
- package/dist/states/LiveSeatState/seatManager.js +5 -5
- package/dist/states/LiveSeatState/store.d.ts +1 -1
- package/dist/states/LiveSeatState/store.js +1 -1
- package/dist/states/LiveSeatState/usePlayStream/RTCStreamManager.js +31 -27
- package/dist/states/LiveSeatState/usePlayStream/RTCStreamPlayer.js +15 -11
- package/dist/states/LiveSeatState/usePlayStream/index.js +7 -7
- package/dist/states/LoginState/index.d.ts +45 -0
- package/dist/states/LoginState/index.js +35 -0
- package/dist/states/MessageInputState/MessageInputState.js +65 -67
- package/dist/states/RoomParticipantState/StandardParticipant/participantEventManager.js +1 -1
- package/dist/states/RoomParticipantState/StandardParticipant/scheduleEventManager.js +6 -6
- package/dist/states/RoomParticipantState/StandardParticipant/store.js +1 -1
- package/dist/states/RoomParticipantState/WebinarParticipant/WebinarParticipantEventManager.js +1 -1
- package/dist/states/RoomParticipantState/WebinarParticipant/webinarParticipantManager.js +7 -7
- package/dist/states/RoomParticipantState/index.js +1 -1
- package/dist/states/RoomState/callManager.js +4 -4
- package/dist/states/RoomState/roomManager.js +1 -1
- package/dist/states/RoomState/store.js +4 -4
- package/dist/states/SeatStore.d.ts +6 -6
- package/dist/states/SeatStore.js +48 -48
- package/dist/states/UIKitModalState/UIKitModalState.js +3 -3
- package/dist/states/UserState/index.js +1 -1
- package/dist/states/UserState/store.js +1 -1
- package/dist/states/VideoMixerState/VideoMixerState.js +4 -4
- package/dist/store-B7WKbQlg.js +108 -0
- package/dist/store-CKnF0jLH.js +330 -0
- package/dist/store-DNsii2Zo.js +128 -0
- package/dist/styles/index.css +1 -1
- package/dist/subEntry/chat/chat.d.ts +2 -5
- package/dist/subEntry/chat/chat.js +116 -138
- package/dist/subEntry/chat/index.js +116 -138
- package/dist/subEntry/common/base.d.ts +2 -1
- package/dist/subEntry/common/base.js +19 -15
- package/dist/subEntry/common/index.js +25 -21
- package/dist/subEntry/live/index.js +174 -171
- package/dist/subEntry/live/live.js +43 -43
- package/dist/subEntry/live/server.js +13 -13
- package/dist/subEntry/room/index.js +146 -156
- package/dist/subEntry/room/room.d.ts +0 -5
- package/dist/subEntry/room/room.js +12 -25
- package/dist/subEntry/room/server.js +17 -17
- package/dist/types/audience.d.ts +12 -273
- package/dist/types/barrage.d.ts +71 -16
- package/dist/types/barrage.js +2 -2
- package/dist/types/battle.d.ts +5 -365
- package/dist/types/chatSetting.js +1 -1
- package/dist/types/coHost.d.ts +4 -162
- package/dist/types/groupSetting.js +1 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/index.js +127 -125
- package/dist/types/messageInput.d.ts +2 -2
- package/dist/types/player.d.ts +39 -250
- package/dist/types/seat.d.ts +4 -337
- package/dist/types/seat.js +6 -6
- package/dist/useId-XX8BALCT.js +12 -0
- package/dist/utils/call.js +94 -95
- package/dist/utils/chatTypingStatus.d.ts +12 -0
- package/dist/utils/chatTypingStatus.js +48 -0
- package/dist/utils/conversationDraft.d.ts +10 -0
- package/dist/utils/conversationDraft.js +111 -0
- package/dist/utils/conversationDraftStorage.d.ts +4 -0
- package/dist/utils/conversationDraftStorage.js +84 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +43 -33
- package/dist/utils/messageInput.d.ts +60 -0
- package/dist/utils/messageInput.js +132 -0
- package/dist/{components/MessageList/Message/GroupTipMessage → utils}/resolveGroupTipMessage.d.ts +1 -1
- package/dist/{components/MessageList/Message/GroupTipMessage → utils}/resolveGroupTipMessage.js +1 -1
- package/dist/{utils-BiFcAFDZ.js → utils-BMLu9pAy.js} +1 -1
- package/package.json +5 -4
- package/src/components/BarrageInput/BarrageInputH5.vue +74 -2
- package/src/components/BarrageList/BarrageList.vue +74 -11
- package/src/components/BarrageList/BarrageListH5.vue +64 -8
- package/src/components/BarrageList/Message/MessageLayout/MessageLayout.vue +2 -4
- package/src/components/BarrageList/Message/TextMessage/TextMessage.vue +1 -0
- package/src/components/ChatSetting/i18n/en-US.ts +0 -1
- package/src/components/ChatSetting/i18n/zh-CN.ts +0 -1
- package/src/components/CoHostPanel/BattlePanel.vue +8 -5
- package/src/components/CoHostPanel/CoHostPanel.vue +43 -1
- package/src/components/CoHostPanel/ConnectionPanel.vue +7 -5
- package/src/components/CoHostPanel/RecommendHostList.vue +3 -3
- package/src/components/CoHostPanel/constants.ts +15 -0
- package/src/components/ConversationList/ConversationPreview/utils.ts +1 -1
- package/src/components/LiveAudienceList/LiveAudienceList.vue +1 -1
- package/src/components/LiveAudienceList/LiveAudienceListH5.vue +1 -1
- package/src/components/LiveAudienceList/constants.ts +13 -0
- package/src/components/LiveAudienceList/index.ts +1 -1
- package/src/components/LiveScenePanel/LiveSceneSelect.vue +7 -7
- package/src/components/LiveView/OverlayState.ts +75 -9
- package/src/components/LiveView/PlayerControl/PlayerControl.vue +44 -5
- package/src/components/LiveView/PlayerControl/utils/domHelpers.ts +11 -1
- package/src/components/LiveView/constants.ts +4 -0
- package/src/components/LiveView/index.ts +1 -2
- package/src/components/LiveView/index.vue +71 -28
- package/src/components/MessageInput/AudioCallPicker/AudioCallPicker.vue +3 -2
- package/src/components/MessageInput/TextEditor/TextEditor.vue +121 -25
- package/src/components/MessageInput/VideoCallPicker/VideoCallPicker.vue +3 -2
- package/src/components/MessageList/Message/AudioMessage/AudioMessage.vue +1 -1
- package/src/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.vue +9 -4
- package/src/components/MessageList/Message/CustomMessage/CustomMessage.vue +4 -10
- package/src/components/MessageList/Message/FileMessage/FileMessage.vue +2 -2
- package/src/components/MessageList/Message/GroupTipMessage/GroupTipMessage.vue +1 -1
- package/src/components/MessageList/Message/ImageMessage/ImageMessage.vue +2 -2
- package/src/components/MessageList/Message/Message.vue +4 -0
- package/src/components/MessageList/Message/MessageLayout/MessageLayout.vue +14 -2
- package/src/components/MessageList/Message/VideoMessage/VideoMessage.vue +2 -2
- package/src/components/MessageList/MessageList.vue +88 -30
- package/src/components/MessageList/i18n/en-US.ts +1 -0
- package/src/components/MessageList/i18n/zh-CN.ts +1 -0
- package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.vue +4 -4
- package/src/components/UserPicker/index.ts +2 -0
- package/src/context/useChatUIState.ts +91 -3
- package/src/hooks/useReadReceipt/useReadReceipt.ts +7 -4
- package/src/index.ts +6 -0
- package/src/report/MetricsKey.ts +18 -19
- package/src/subEntry/chat/chat.ts +28 -24
- package/src/subEntry/common/base.ts +17 -1
- package/src/subEntry/room/room.ts +5 -5
- package/src/types/audience.ts +38 -281
- package/src/types/barrage.ts +70 -15
- package/src/types/battle.ts +28 -379
- package/src/types/coHost.ts +14 -163
- package/src/types/index.ts +16 -3
- package/src/types/messageInput.ts +2 -2
- package/src/types/player.ts +59 -254
- package/src/types/seat.ts +23 -349
- package/src/utils/call.ts +8 -3
- package/src/utils/chatTypingStatus.ts +64 -0
- package/src/utils/conversationDraft.ts +189 -0
- package/src/utils/conversationDraftStorage.ts +148 -0
- package/src/utils/index.ts +4 -0
- package/src/utils/messageInput.ts +186 -0
- package/tsconfig.json +3 -1
- package/dist/LiveAudienceList-BbN54Uct.js +0 -183
- package/dist/components/BarrageList/Message/CustomMessage/CustomMessage.js +0 -4
- package/dist/components/BarrageList/Message/CustomMessage/CustomMessage.vue.d.ts +0 -2
- package/dist/components/BarrageList/Message/CustomMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/CustomMessage/index.js +0 -10
- package/dist/states/BattleState/BattleState.d.ts +0 -49
- package/dist/states/BattleState/BattleState.js +0 -217
- package/dist/states/CoHostState/CoHostState.d.ts +0 -188
- package/dist/states/CoHostState/CoHostState.js +0 -276
- package/dist/states/LiveAudienceState.d.ts +0 -61
- package/dist/states/LiveAudienceState.js +0 -205
- package/dist/states/LiveListState/LiveListState.d.ts +0 -150
- package/dist/states/LiveListState/LiveListState.js +0 -355
- package/dist/states/LivePlayerState/LivePlayerState.d.ts +0 -186
- package/dist/states/LivePlayerState/LivePlayerState.js +0 -262
- package/dist/states/LoginState.d.ts +0 -161
- package/dist/states/LoginState.js +0 -161
- package/dist/types/login.d.ts +0 -152
- package/dist/types/login.js +0 -5
- package/dist/useId-BhUMXcvI.js +0 -16
- package/src/components/BarrageList/Message/CustomMessage/CustomMessage.vue +0 -7
- package/src/components/BarrageList/Message/CustomMessage/index.ts +0 -3
- package/src/types/login.ts +0 -159
- /package/src/{components/MessageList/Message/GroupTipMessage → utils}/resolveGroupTipMessage.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as D, a as k, r as A, u as b, F as N, D as E, b as R, d as I, e as M, T as $ } from "./Teleport-
|
|
2
|
-
import { a as K, u as L, b as j, c as z, d as w } from "./PopperContent-
|
|
3
|
-
import { u as T } from "./useId-
|
|
1
|
+
import { c as D, a as k, r as A, u as b, F as N, D as E, b as R, d as I, e as M, T as $ } from "./Teleport-CWAzY-Xf.js";
|
|
2
|
+
import { a as K, u as L, b as j, c as z, d as w } from "./PopperContent-ChxEHlA9.js";
|
|
3
|
+
import { u as T } from "./useId-XX8BALCT.js";
|
|
4
4
|
import { defineComponent as m, toRefs as U, ref as P, openBlock as c, createBlock as v, unref as e, withCtx as f, renderSlot as g, createVNode as h, mergeProps as _, withModifiers as C, normalizeProps as x, guardReactiveProps as W } from "vue";
|
|
5
5
|
const [B, V] = /* @__PURE__ */ D("PopoverRoot");
|
|
6
6
|
var G = /* @__PURE__ */ m({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as l, P as a } from "./Teleport-
|
|
2
|
-
import { u as d } from "./useId-
|
|
3
|
-
import { P as u } from "./PopperContent-
|
|
4
|
-
import { i as c } from "./PopoverPortal-
|
|
1
|
+
import { u as l, P as a } from "./Teleport-CWAzY-Xf.js";
|
|
2
|
+
import { u as d } from "./useId-XX8BALCT.js";
|
|
3
|
+
import { P as u } from "./PopperContent-ChxEHlA9.js";
|
|
4
|
+
import { i as c } from "./PopoverPortal-CW9vHs8x.js";
|
|
5
5
|
import { defineComponent as g, onMounted as f, openBlock as m, createBlock as v, resolveDynamicComponent as _, unref as r, withCtx as t, createVNode as h, renderSlot as P } from "vue";
|
|
6
6
|
var C = /* @__PURE__ */ g({
|
|
7
7
|
__name: "PopoverTrigger",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { watchEffect as It, getCurrentInstance as fe, toRef as ue, computed as P, camelize as de, ref as V, onMounted as pe, defineComponent as Ct, renderSlot as Pt, watchPostEffect as Xt, openBlock as Yt, createBlock as he, unref as M, withCtx as Ut, shallowRef as me, watch as mt, getCurrentScope as ge, onScopeDispose as we, shallowReadonly as tt, createElementBlock as ye, normalizeStyle as ve, createVNode as xe, mergeProps as be, mergeDefaults as Ae } from "vue";
|
|
2
|
-
import { h as Oe, f as Ce, j as Pe, c as Gt, u as Kt, P as Zt, k as Re } from "./Teleport-
|
|
2
|
+
import { h as Oe, f as Ce, j as Pe, c as Gt, u as Kt, P as Zt, k as Re } from "./Teleport-CWAzY-Xf.js";
|
|
3
3
|
let gt = 0;
|
|
4
4
|
function Fn() {
|
|
5
5
|
It((t) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject as Ee, provide as be, onBeforeUnmount as Oe, effectScope as se, getCurrentInstance as I, computed as w, shallowRef as ue, watchEffect as
|
|
1
|
+
import { inject as Ee, provide as be, onBeforeUnmount as Oe, effectScope as se, getCurrentInstance as I, computed as w, shallowRef as ue, watchEffect as F, readonly as we, getCurrentScope as Se, onScopeDispose as Pe, isRef as K, reactive as R, unref as A, customRef as Ae, toValue as b, watch as C, toRefs as G, ref as E, nextTick as L, onMounted as Ce, Fragment as _e, toHandlerKey as De, camelize as Te, onUpdated as Le, triggerRef as Me, onUnmounted as ae, defineComponent as x, h as $, Comment as Ne, mergeProps as Fe, cloneVNode as Ie, openBlock as X, createBlock as Q, normalizeStyle as xe, withCtx as le, renderSlot as Z, Teleport as Be, createCommentVNode as ke } from "vue";
|
|
2
2
|
function je(e, t) {
|
|
3
3
|
const n = typeof e == "string" && !t ? `${e}Context` : t, r = Symbol(n);
|
|
4
4
|
return [(a) => {
|
|
@@ -7,7 +7,7 @@ function je(e, t) {
|
|
|
7
7
|
throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e) ? `one of the following components: ${e.join(", ")}` : `\`${e}\``}`);
|
|
8
8
|
}, (a) => (be(r, a), a)];
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function N() {
|
|
11
11
|
let e = document.activeElement;
|
|
12
12
|
if (e == null) return null;
|
|
13
13
|
for (; e != null && e.shadowRoot != null && e.shadowRoot.activeElement != null; ) e = e.shadowRoot.activeElement;
|
|
@@ -27,7 +27,7 @@ function $e(e) {
|
|
|
27
27
|
function Tt(e, t) {
|
|
28
28
|
var n;
|
|
29
29
|
const r = ue();
|
|
30
|
-
return
|
|
30
|
+
return F(() => {
|
|
31
31
|
r.value = e();
|
|
32
32
|
}, {
|
|
33
33
|
...t,
|
|
@@ -117,7 +117,7 @@ function Ge(e, t) {
|
|
|
117
117
|
He() && Oe(e, t);
|
|
118
118
|
}
|
|
119
119
|
function Je(e, t, n) {
|
|
120
|
-
return
|
|
120
|
+
return C(e, t, {
|
|
121
121
|
...n,
|
|
122
122
|
immediate: !0
|
|
123
123
|
});
|
|
@@ -182,9 +182,9 @@ function Nt(e, t, n, r = {}) {
|
|
|
182
182
|
if (u) {
|
|
183
183
|
const p = E(g());
|
|
184
184
|
let S = !1;
|
|
185
|
-
return
|
|
186
|
-
S || (S = !0, p.value = h(P),
|
|
187
|
-
}),
|
|
185
|
+
return C(() => e[t], (P) => {
|
|
186
|
+
S || (S = !0, p.value = h(P), L(() => S = !1));
|
|
187
|
+
}), C(p, (P) => {
|
|
188
188
|
!S && (P !== e[t] || v) && m(P);
|
|
189
189
|
}, { deep: v }), p;
|
|
190
190
|
} else return w({
|
|
@@ -238,7 +238,7 @@ const rt = nt(), ot = /* @__PURE__ */ Ve(() => {
|
|
|
238
238
|
const o = () => {
|
|
239
239
|
document.body.style.paddingRight = "", document.body.style.marginRight = "", document.body.style.pointerEvents = "", document.documentElement.style.removeProperty("--scrollbar-width"), document.body.style.overflow = t.value ?? "", ne && (i == null || i()), t.value = void 0;
|
|
240
240
|
};
|
|
241
|
-
return
|
|
241
|
+
return C(n, (a, u) => {
|
|
242
242
|
var s;
|
|
243
243
|
if (!D) return;
|
|
244
244
|
if (!a) {
|
|
@@ -256,7 +256,7 @@ const rt = nt(), ot = /* @__PURE__ */ Ve(() => {
|
|
|
256
256
|
padding: 0,
|
|
257
257
|
margin: 0
|
|
258
258
|
};
|
|
259
|
-
f > 0 && (document.body.style.paddingRight = typeof l.padding == "number" ? `${l.padding}px` : String(l.padding), document.body.style.marginRight = typeof l.margin == "number" ? `${l.margin}px` : String(l.margin), document.documentElement.style.setProperty("--scrollbar-width", `${f}px`), document.body.style.overflow = "hidden"), ne && (i = fe(document, "touchmove", (c) => it(c), { passive: !1 })),
|
|
259
|
+
f > 0 && (document.body.style.paddingRight = typeof l.padding == "number" ? `${l.padding}px` : String(l.padding), document.body.style.marginRight = typeof l.margin == "number" ? `${l.margin}px` : String(l.margin), document.documentElement.style.setProperty("--scrollbar-width", `${f}px`), document.body.style.overflow = "hidden"), ne && (i = fe(document, "touchmove", (c) => it(c), { passive: !1 })), L(() => {
|
|
260
260
|
n.value && (document.body.style.pointerEvents = "none", document.body.style.overflow = "hidden");
|
|
261
261
|
});
|
|
262
262
|
}, {
|
|
@@ -343,7 +343,7 @@ var st = function(e) {
|
|
|
343
343
|
return null;
|
|
344
344
|
var t = Array.isArray(e) ? e[0] : e;
|
|
345
345
|
return t.ownerDocument.body;
|
|
346
|
-
},
|
|
346
|
+
}, M = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), k = {}, V = 0, me = function(e) {
|
|
347
347
|
return e && (e.host || me(e.parentNode));
|
|
348
348
|
}, ut = function(e, t) {
|
|
349
349
|
return t.map(function(n) {
|
|
@@ -367,8 +367,8 @@ var st = function(e) {
|
|
|
367
367
|
l(c);
|
|
368
368
|
else
|
|
369
369
|
try {
|
|
370
|
-
var d = c.getAttribute(r), y = d !== null && d !== "false", h = (
|
|
371
|
-
|
|
370
|
+
var d = c.getAttribute(r), y = d !== null && d !== "false", h = (M.get(c) || 0) + 1, g = (o.get(c) || 0) + 1;
|
|
371
|
+
M.set(c, h), o.set(c, g), a.push(c), h === 1 && y && B.set(c, !0), g === 1 && c.setAttribute(n, "true"), y || c.setAttribute(r, "true");
|
|
372
372
|
} catch (m) {
|
|
373
373
|
console.error("aria-hidden: cannot operate on ", c, m);
|
|
374
374
|
}
|
|
@@ -376,9 +376,9 @@ var st = function(e) {
|
|
|
376
376
|
};
|
|
377
377
|
return l(t), u.clear(), V++, function() {
|
|
378
378
|
a.forEach(function(s) {
|
|
379
|
-
var c =
|
|
380
|
-
|
|
381
|
-
}), V--, V || (
|
|
379
|
+
var c = M.get(s) - 1, d = o.get(s) - 1;
|
|
380
|
+
M.set(s, c), o.set(s, d), c || (B.has(s) || s.removeAttribute(r), B.delete(s)), d || s.removeAttribute(n);
|
|
381
|
+
}), V--, V || (M = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), k = {});
|
|
382
382
|
};
|
|
383
383
|
}, lt = function(e, t, n) {
|
|
384
384
|
n === void 0 && (n = "data-aria-hidden");
|
|
@@ -389,7 +389,7 @@ var st = function(e) {
|
|
|
389
389
|
};
|
|
390
390
|
function xt(e) {
|
|
391
391
|
let t;
|
|
392
|
-
|
|
392
|
+
C(() => U(e), (n) => {
|
|
393
393
|
let r = !1;
|
|
394
394
|
try {
|
|
395
395
|
r = !!(n != null && n.closest("[popover]:not(:popover-open)"));
|
|
@@ -436,10 +436,10 @@ function dt(e, t) {
|
|
|
436
436
|
(p = t.value) == null || p.dispatchEvent(S);
|
|
437
437
|
}
|
|
438
438
|
};
|
|
439
|
-
|
|
439
|
+
C(e, async (m, p) => {
|
|
440
440
|
var P;
|
|
441
441
|
const S = p !== m;
|
|
442
|
-
if (await
|
|
442
|
+
if (await L(), S) {
|
|
443
443
|
const W = r.value, T = j(t.value);
|
|
444
444
|
m ? (v("MOUNT"), l("enter"), T === "none" && l("after-enter")) : T === "none" || T === "undefined" || ((P = n.value) == null ? void 0 : P.display) === "none" ? (v("UNMOUNT"), l("leave"), l("after-leave")) : p && W !== T ? (v("ANIMATION_OUT"), l("leave")) : (v("UNMOUNT"), l("after-leave"));
|
|
445
445
|
}
|
|
@@ -456,9 +456,9 @@ function dt(e, t) {
|
|
|
456
456
|
m.target === t.value && p === "none" && v("ANIMATION_END");
|
|
457
457
|
}, c = (m) => {
|
|
458
458
|
m.target === t.value && (r.value = j(t.value));
|
|
459
|
-
}, d =
|
|
459
|
+
}, d = C(t, (m, p) => {
|
|
460
460
|
m ? (n.value = getComputedStyle(m), m.addEventListener("animationstart", c), m.addEventListener("animationcancel", s), m.addEventListener("animationend", s)) : (v("ANIMATION_END"), a !== void 0 && (u == null || u.clearTimeout(a)), p == null || p.removeEventListener("animationstart", c), p == null || p.removeEventListener("animationcancel", s), p == null || p.removeEventListener("animationend", s));
|
|
461
|
-
}, { immediate: !0 }), y =
|
|
461
|
+
}, { immediate: !0 }), y = C(f, () => {
|
|
462
462
|
const m = j(t.value);
|
|
463
463
|
r.value = f.value === "mounted" ? m : "none";
|
|
464
464
|
});
|
|
@@ -553,7 +553,7 @@ function yt(e, t, n = !0) {
|
|
|
553
553
|
var a;
|
|
554
554
|
const r = ((a = t == null ? void 0 : t.value) == null ? void 0 : a.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), i = E(!1), o = E(() => {
|
|
555
555
|
});
|
|
556
|
-
return
|
|
556
|
+
return F((u) => {
|
|
557
557
|
if (!D || !b(n)) return;
|
|
558
558
|
const f = async (l) => {
|
|
559
559
|
const s = l.target;
|
|
@@ -584,11 +584,11 @@ function yt(e, t, n = !0) {
|
|
|
584
584
|
function ht(e, t, n = !0) {
|
|
585
585
|
var o;
|
|
586
586
|
const r = ((o = t == null ? void 0 : t.value) == null ? void 0 : o.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), i = E(!1);
|
|
587
|
-
return
|
|
587
|
+
return F((a) => {
|
|
588
588
|
if (!D || !b(n)) return;
|
|
589
589
|
const u = async (f) => {
|
|
590
590
|
if (!(t != null && t.value)) return;
|
|
591
|
-
await
|
|
591
|
+
await L(), await L();
|
|
592
592
|
const v = f.target;
|
|
593
593
|
!t.value || !v || he(t.value, v) || f.target && !i.value && ce(mt, e, { originalEvent: f });
|
|
594
594
|
};
|
|
@@ -641,17 +641,17 @@ var gt = /* @__PURE__ */ x({
|
|
|
641
641
|
return f.value >= h;
|
|
642
642
|
}), s = yt(async (d) => {
|
|
643
643
|
const y = [...O.branches].some((h) => h == null ? void 0 : h.contains(d.target));
|
|
644
|
-
!l.value || y || (r("pointerDownOutside", d), r("interactOutside", d), await
|
|
644
|
+
!l.value || y || (r("pointerDownOutside", d), r("interactOutside", d), await L(), d.defaultPrevented || r("dismiss"));
|
|
645
645
|
}, o), c = ht((d) => {
|
|
646
646
|
[...O.branches].some((h) => h == null ? void 0 : h.contains(d.target)) || (r("focusOutside", d), r("interactOutside", d), d.defaultPrevented || r("dismiss"));
|
|
647
647
|
}, o);
|
|
648
648
|
return Ze("Escape", (d) => {
|
|
649
649
|
f.value === u.value.size - 1 && (r("escapeKeyDown", d), d.defaultPrevented || r("dismiss"));
|
|
650
|
-
}),
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
}));
|
|
654
|
-
}),
|
|
650
|
+
}), C([o, () => n.disableOutsidePointerEvents], ([d, y], h, g) => {
|
|
651
|
+
d && (y && (O.layersWithOutsidePointerEventsDisabled.size === 0 && (O.originalBodyPointerEvents = a.value.body.style.pointerEvents, a.value.body.style.pointerEvents = "none"), O.layersWithOutsidePointerEventsDisabled.add(d), g(() => {
|
|
652
|
+
O.layersWithOutsidePointerEventsDisabled.delete(d), O.layersWithOutsidePointerEventsDisabled.size === 0 && !$e(O.originalBodyPointerEvents) && (a.value.body.style.pointerEvents = O.originalBodyPointerEvents);
|
|
653
|
+
})), u.value.add(d));
|
|
654
|
+
}, { immediate: !0 }), F((d) => {
|
|
655
655
|
d(() => {
|
|
656
656
|
o.value && (u.value.delete(o.value), O.layersWithOutsidePointerEventsDisabled.delete(o.value));
|
|
657
657
|
});
|
|
@@ -700,9 +700,9 @@ const z = "focusScope.autoFocusOnMount", Y = "focusScope.autoFocusOnUnmount", oe
|
|
|
700
700
|
cancelable: !0
|
|
701
701
|
};
|
|
702
702
|
function Ot(e, { select: t = !1 } = {}) {
|
|
703
|
-
const n =
|
|
703
|
+
const n = N();
|
|
704
704
|
for (const r of e)
|
|
705
|
-
if (
|
|
705
|
+
if (_(r, { select: t }), N() !== n) return !0;
|
|
706
706
|
}
|
|
707
707
|
function wt(e) {
|
|
708
708
|
const t = ge(e), n = ie(t, e), r = ie(t.reverse(), e);
|
|
@@ -731,9 +731,9 @@ function St(e, { upTo: t }) {
|
|
|
731
731
|
function Pt(e) {
|
|
732
732
|
return e instanceof HTMLInputElement && "select" in e;
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function _(e, { select: t = !1 } = {}) {
|
|
735
735
|
if (e && e.focus) {
|
|
736
|
-
const n =
|
|
736
|
+
const n = N();
|
|
737
737
|
e.focus({ preventScroll: !0 }), e !== n && Pt(e) && t && e.select();
|
|
738
738
|
}
|
|
739
739
|
}
|
|
@@ -770,24 +770,24 @@ var At = /* @__PURE__ */ x({
|
|
|
770
770
|
this.paused = !1;
|
|
771
771
|
}
|
|
772
772
|
});
|
|
773
|
-
|
|
773
|
+
F((l) => {
|
|
774
774
|
if (!D) return;
|
|
775
775
|
const s = o.value;
|
|
776
776
|
if (!n.trapped) return;
|
|
777
777
|
function c(g) {
|
|
778
778
|
if (f.paused || !s) return;
|
|
779
779
|
const m = g.target;
|
|
780
|
-
s.contains(m) ? a.value = m :
|
|
780
|
+
s.contains(m) ? a.value = m : _(a.value, { select: !0 });
|
|
781
781
|
}
|
|
782
782
|
function d(g) {
|
|
783
783
|
if (f.paused || !s) return;
|
|
784
784
|
const m = g.relatedTarget;
|
|
785
|
-
m !== null && (s.contains(m) ||
|
|
785
|
+
m !== null && (s.contains(m) || _(a.value, { select: !0 }));
|
|
786
786
|
}
|
|
787
787
|
function y(g) {
|
|
788
788
|
const m = a.value;
|
|
789
789
|
if (m === null || !g.some((P) => P.removedNodes.length > 0)) return;
|
|
790
|
-
s.contains(m) ||
|
|
790
|
+
s.contains(m) || _(s);
|
|
791
791
|
}
|
|
792
792
|
document.addEventListener("focusin", c), document.addEventListener("focusout", d);
|
|
793
793
|
const h = new MutationObserver(y);
|
|
@@ -797,14 +797,14 @@ var At = /* @__PURE__ */ x({
|
|
|
797
797
|
}), l(() => {
|
|
798
798
|
document.removeEventListener("focusin", c), document.removeEventListener("focusout", d), h.disconnect();
|
|
799
799
|
});
|
|
800
|
-
}),
|
|
800
|
+
}), F(async (l) => {
|
|
801
801
|
const s = o.value;
|
|
802
|
-
if (await
|
|
802
|
+
if (await L(), !s) return;
|
|
803
803
|
u.add(f);
|
|
804
|
-
const c =
|
|
804
|
+
const c = N();
|
|
805
805
|
if (!s.contains(c)) {
|
|
806
806
|
const y = new CustomEvent(z, oe);
|
|
807
|
-
s.addEventListener(z, (h) => r("mountAutoFocus", h)), s.dispatchEvent(y), y.defaultPrevented || (Ot(ge(s), { select: !0 }),
|
|
807
|
+
s.addEventListener(z, (h) => r("mountAutoFocus", h)), s.dispatchEvent(y), y.defaultPrevented || (Ot(ge(s), { select: !0 }), N() === c && _(s));
|
|
808
808
|
}
|
|
809
809
|
l(() => {
|
|
810
810
|
s.removeEventListener(z, (g) => r("mountAutoFocus", g));
|
|
@@ -812,16 +812,16 @@ var At = /* @__PURE__ */ x({
|
|
|
812
812
|
r("unmountAutoFocus", g);
|
|
813
813
|
};
|
|
814
814
|
s.addEventListener(Y, h), s.dispatchEvent(y), s.setAttribute("data-focus-scope-unmounting", ""), setTimeout(() => {
|
|
815
|
-
y.defaultPrevented ||
|
|
815
|
+
y.defaultPrevented || _(c ?? document.body, { select: !0 }), s.removeEventListener(Y, h), u.remove(f), s.removeAttribute("data-focus-scope-unmounting");
|
|
816
816
|
}, 0);
|
|
817
817
|
});
|
|
818
818
|
});
|
|
819
819
|
function v(l) {
|
|
820
820
|
if (!n.loop && !n.trapped || f.paused) return;
|
|
821
|
-
const s = l.key === "Tab" && !l.altKey && !l.ctrlKey && !l.metaKey, c =
|
|
821
|
+
const s = l.key === "Tab" && !l.altKey && !l.ctrlKey && !l.metaKey, c = N();
|
|
822
822
|
if (s && c) {
|
|
823
823
|
const d = l.currentTarget, [y, h] = wt(d);
|
|
824
|
-
y && h ? !l.shiftKey && c === h ? (l.preventDefault(), n.loop &&
|
|
824
|
+
y && h ? !l.shiftKey && c === h ? (l.preventDefault(), n.loop && _(y, { select: !0 })) : l.shiftKey && c === y && (l.preventDefault(), n.loop && _(h, { select: !0 })) : c === d && l.preventDefault();
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
827
|
return (l, s) => (X(), Q(A(ye), {
|
|
@@ -883,7 +883,7 @@ export {
|
|
|
883
883
|
xt as d,
|
|
884
884
|
Bt as e,
|
|
885
885
|
It as f,
|
|
886
|
-
|
|
886
|
+
N as g,
|
|
887
887
|
D as h,
|
|
888
888
|
tt as i,
|
|
889
889
|
U as j,
|
|
@@ -213,28 +213,28 @@ interface ImageMessagePayload {
|
|
|
213
213
|
originalImageHeight: number;
|
|
214
214
|
originalImageSize: number;
|
|
215
215
|
originalImagePath?: string;
|
|
216
|
-
|
|
216
|
+
originalImageURL?: string;
|
|
217
217
|
largeImagePath?: string;
|
|
218
|
-
|
|
218
|
+
largeImageURL?: string;
|
|
219
219
|
thumbImagePath?: string;
|
|
220
|
-
|
|
220
|
+
thumbImageURL?: string;
|
|
221
221
|
}
|
|
222
222
|
interface VideoMessagePayload {
|
|
223
223
|
videoSnapshotWidth: number;
|
|
224
224
|
videoSnapshotHeight: number;
|
|
225
225
|
videoSnapshotPath?: string;
|
|
226
|
-
|
|
226
|
+
videoSnapshotURL?: string;
|
|
227
227
|
videoType?: string;
|
|
228
228
|
videoSize: number;
|
|
229
229
|
videoDuration: number;
|
|
230
230
|
videoPath?: string;
|
|
231
|
-
|
|
231
|
+
videoURL?: string;
|
|
232
232
|
}
|
|
233
233
|
interface AudioMessagePayload {
|
|
234
234
|
audioSize: number;
|
|
235
235
|
audioDuration: number;
|
|
236
236
|
audioPath?: string;
|
|
237
|
-
|
|
237
|
+
audioURL?: string;
|
|
238
238
|
asrLanguage?: string;
|
|
239
239
|
asrText?: string;
|
|
240
240
|
}
|
|
@@ -242,7 +242,7 @@ interface FileMessagePayload {
|
|
|
242
242
|
fileName?: string;
|
|
243
243
|
fileSize: number;
|
|
244
244
|
filePath?: string;
|
|
245
|
-
|
|
245
|
+
fileURL?: string;
|
|
246
246
|
}
|
|
247
247
|
interface FaceMessagePayload {
|
|
248
248
|
faceIndex: number;
|
|
@@ -712,7 +712,7 @@ type SendMessagePayload = {
|
|
|
712
712
|
type: 'customMessage';
|
|
713
713
|
customData: string;
|
|
714
714
|
description?: string;
|
|
715
|
-
|
|
715
|
+
extensionInfo?: string;
|
|
716
716
|
} | {
|
|
717
717
|
type: 'imageMessage';
|
|
718
718
|
file: File | HTMLInputElement;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as g, ref as E, toRefs as
|
|
2
|
-
import { c as N, a as S, u as D, g as I, F as L, D as K, f as q, d as V, e as
|
|
3
|
-
import { u as w } from "../../useId-
|
|
4
|
-
import { g as G } from "../../utils-
|
|
1
|
+
import { defineComponent as g, ref as E, toRefs as M, renderSlot as _, unref as t, onMounted as A, openBlock as v, createBlock as m, withCtx as f, createVNode as C, mergeProps as y, withModifiers as $, createCommentVNode as h, normalizeProps as T, guardReactiveProps as R, normalizeClass as k } from "vue";
|
|
2
|
+
import { c as N, a as S, u as D, g as I, F as L, D as K, f as q, d as V, e as P, b as U, P as W, T as z } from "../../Teleport-CWAzY-Xf.js";
|
|
3
|
+
import { u as w } from "../../useId-XX8BALCT.js";
|
|
4
|
+
import { g as G } from "../../utils-BMLu9pAy.js";
|
|
5
5
|
import { _ as H } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const [O, j] = /* @__PURE__ */ N("DialogRoot");
|
|
7
7
|
var J = /* @__PURE__ */ g({
|
|
@@ -29,7 +29,7 @@ var J = /* @__PURE__ */ g({
|
|
|
29
29
|
const a = u, e = S(a, "open", i, {
|
|
30
30
|
defaultValue: a.defaultOpen,
|
|
31
31
|
passive: a.open === void 0
|
|
32
|
-
}), l = E(), p = E(), { modal: r } =
|
|
32
|
+
}), l = E(), p = E(), { modal: r } = M(a);
|
|
33
33
|
return j({
|
|
34
34
|
open: e,
|
|
35
35
|
modal: r,
|
|
@@ -148,7 +148,7 @@ var x = /* @__PURE__ */ g({
|
|
|
148
148
|
_: 3
|
|
149
149
|
}, 8, ["trapped"]));
|
|
150
150
|
}
|
|
151
|
-
}),
|
|
151
|
+
}), F = x, ee = /* @__PURE__ */ g({
|
|
152
152
|
__name: "DialogContentModal",
|
|
153
153
|
props: {
|
|
154
154
|
forceMount: {
|
|
@@ -161,7 +161,8 @@ var x = /* @__PURE__ */ g({
|
|
|
161
161
|
},
|
|
162
162
|
disableOutsidePointerEvents: {
|
|
163
163
|
type: Boolean,
|
|
164
|
-
required: !1
|
|
164
|
+
required: !1,
|
|
165
|
+
default: !0
|
|
165
166
|
},
|
|
166
167
|
asChild: {
|
|
167
168
|
type: Boolean,
|
|
@@ -182,13 +183,13 @@ var x = /* @__PURE__ */ g({
|
|
|
182
183
|
],
|
|
183
184
|
setup(u, { emit: i }) {
|
|
184
185
|
const a = u, o = i, e = O(), l = q(o), { forwardRef: p, currentElement: r } = D();
|
|
185
|
-
return V(r), (n, s) => (v(), m(
|
|
186
|
+
return V(r), (n, s) => (v(), m(F, y({
|
|
186
187
|
...a,
|
|
187
188
|
...t(l)
|
|
188
189
|
}, {
|
|
189
190
|
ref: t(p),
|
|
190
191
|
"trap-focus": t(e).open.value,
|
|
191
|
-
"disable-outside-pointer-events":
|
|
192
|
+
"disable-outside-pointer-events": a.disableOutsidePointerEvents,
|
|
192
193
|
onCloseAutoFocus: s[0] || (s[0] = (d) => {
|
|
193
194
|
var c;
|
|
194
195
|
d.defaultPrevented || (d.preventDefault(), (c = t(e).triggerElement.value) == null || c.focus());
|
|
@@ -203,7 +204,7 @@ var x = /* @__PURE__ */ g({
|
|
|
203
204
|
}), {
|
|
204
205
|
default: f(() => [_(n.$slots, "default")]),
|
|
205
206
|
_: 3
|
|
206
|
-
}, 16, ["trap-focus"]));
|
|
207
|
+
}, 16, ["trap-focus", "disable-outside-pointer-events"]));
|
|
207
208
|
}
|
|
208
209
|
}), te = ee, oe = /* @__PURE__ */ g({
|
|
209
210
|
__name: "DialogContentNonModal",
|
|
@@ -241,7 +242,7 @@ var x = /* @__PURE__ */ g({
|
|
|
241
242
|
const a = u, e = q(i);
|
|
242
243
|
D();
|
|
243
244
|
const l = O(), p = E(!1), r = E(!1);
|
|
244
|
-
return (n, s) => (v(), m(
|
|
245
|
+
return (n, s) => (v(), m(F, y({
|
|
245
246
|
...a,
|
|
246
247
|
...t(e)
|
|
247
248
|
}, {
|
|
@@ -271,7 +272,8 @@ var x = /* @__PURE__ */ g({
|
|
|
271
272
|
},
|
|
272
273
|
disableOutsidePointerEvents: {
|
|
273
274
|
type: Boolean,
|
|
274
|
-
required: !1
|
|
275
|
+
required: !1,
|
|
276
|
+
default: void 0
|
|
275
277
|
},
|
|
276
278
|
asChild: {
|
|
277
279
|
type: Boolean,
|
|
@@ -292,7 +294,7 @@ var x = /* @__PURE__ */ g({
|
|
|
292
294
|
],
|
|
293
295
|
setup(u, { emit: i }) {
|
|
294
296
|
const a = u, o = i, e = O(), l = q(o), { forwardRef: p } = D();
|
|
295
|
-
return (r, n) => (v(), m(t(
|
|
297
|
+
return (r, n) => (v(), m(t(P), { present: r.forceMount || t(e).open.value }, {
|
|
296
298
|
default: f(() => [t(e).modal.value ? (v(), m(te, y({
|
|
297
299
|
key: 0,
|
|
298
300
|
ref: t(p)
|
|
@@ -371,7 +373,7 @@ var x = /* @__PURE__ */ g({
|
|
|
371
373
|
const i = O(), { forwardRef: a } = D();
|
|
372
374
|
return (o, e) => {
|
|
373
375
|
var l;
|
|
374
|
-
return (l = t(i)) != null && l.modal.value ? (v(), m(t(
|
|
376
|
+
return (l = t(i)) != null && l.modal.value ? (v(), m(t(P), {
|
|
375
377
|
key: 0,
|
|
376
378
|
present: o.forceMount || t(i).open.value
|
|
377
379
|
}, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowRef as r, onScopeDispose as i, computed as a } from "vue";
|
|
2
|
-
import { v as l } from "../../index-
|
|
2
|
+
import { v as l } from "../../index-DEKODZ4s.js";
|
|
3
3
|
function d(t = "default") {
|
|
4
4
|
const o = l(t), e = o.getSnapshot(), s = r(e), n = o.subscribe(() => {
|
|
5
5
|
s.value = o.getSnapshot();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as g, ref as y, watch as b, onBeforeMount as C, openBlock as r, createBlock as v, unref as n, withCtx as M, createElementBlock as S, Fragment as B, renderList as U } from "vue";
|
|
2
2
|
import { useUIKit as k, TUISelect as w, TUIOption as x } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
3
|
import L from "@tencentcloud/tuiroom-engine-js";
|
|
4
4
|
import T from "../../states/DeviceState/DeviceState.js";
|
|
5
5
|
import { _ as V } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const D = /* @__PURE__ */
|
|
6
|
+
const D = /* @__PURE__ */ g({
|
|
7
7
|
__name: "MicrophoneSelect",
|
|
8
8
|
props: {
|
|
9
9
|
onChange: {},
|
|
@@ -11,7 +11,7 @@ const D = /* @__PURE__ */ y({
|
|
|
11
11
|
},
|
|
12
12
|
setup(d) {
|
|
13
13
|
var u;
|
|
14
|
-
const { microphoneList: i, currentMicrophone: t, setCurrentMicrophone: m, getMicrophoneList: f } = T(), { t: h } = k(), c = d, a =
|
|
14
|
+
const { microphoneList: i, currentMicrophone: t, setCurrentMicrophone: m, getMicrophoneList: f } = T(), { t: h } = k(), c = d, a = y((u = t.value) == null ? void 0 : u.deviceId);
|
|
15
15
|
b(
|
|
16
16
|
() => {
|
|
17
17
|
var e;
|
|
@@ -23,22 +23,22 @@ const D = /* @__PURE__ */ y({
|
|
|
23
23
|
{ immediate: !0 }
|
|
24
24
|
);
|
|
25
25
|
async function I(e) {
|
|
26
|
-
var
|
|
27
|
-
(
|
|
26
|
+
var l, o, s, p;
|
|
27
|
+
(l = c.onChange) == null || l.call(c, e);
|
|
28
28
|
try {
|
|
29
29
|
await m({ deviceId: e });
|
|
30
30
|
} catch {
|
|
31
|
-
(o = t.value) != null && o.deviceId && i.value.map((
|
|
31
|
+
(o = t.value) != null && o.deviceId && i.value.map((_) => _.deviceId).includes((s = t.value) == null ? void 0 : s.deviceId) && (a.value = (p = t.value) == null ? void 0 : p.deviceId);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
return C(async () => {
|
|
35
35
|
L.once("ready", async () => {
|
|
36
36
|
await f();
|
|
37
37
|
});
|
|
38
|
-
}), (e,
|
|
38
|
+
}), (e, l) => (r(), v(n(w), {
|
|
39
39
|
modelValue: a.value,
|
|
40
|
-
"onUpdate:modelValue":
|
|
41
|
-
placeholder:
|
|
40
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => a.value = o),
|
|
41
|
+
placeholder: n(h)("AudioSettingPanel.SelectMicrophone"),
|
|
42
42
|
class: "select",
|
|
43
43
|
disabled: d.disabled,
|
|
44
44
|
teleported: !1,
|
|
@@ -46,7 +46,7 @@ const D = /* @__PURE__ */ y({
|
|
|
46
46
|
onChange: I
|
|
47
47
|
}, {
|
|
48
48
|
default: M(() => [
|
|
49
|
-
(r(!0), S(B, null, U(
|
|
49
|
+
(r(!0), S(B, null, U(n(i), (o) => (r(), v(n(x), {
|
|
50
50
|
key: o.deviceId,
|
|
51
51
|
label: o.deviceName,
|
|
52
52
|
value: o.deviceId
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as _, ref as h, watch as b, onBeforeMount as g, openBlock as d, createBlock as v, unref as o, withCtx as y, createElementBlock as C, Fragment as B, renderList as U } from "vue";
|
|
2
2
|
import { useUIKit as w, TUISelect as x, TUIOption as L } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
3
|
import T from "@tencentcloud/tuiroom-engine-js";
|
|
4
4
|
import V from "../../states/DeviceState/DeviceState.js";
|
|
5
5
|
import { _ as D } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const E = /* @__PURE__ */
|
|
6
|
+
const E = /* @__PURE__ */ _({
|
|
7
7
|
__name: "SpeakerSelect",
|
|
8
8
|
props: {
|
|
9
9
|
onChange: {},
|
|
@@ -11,8 +11,8 @@ const E = /* @__PURE__ */ h({
|
|
|
11
11
|
},
|
|
12
12
|
setup(c) {
|
|
13
13
|
var i;
|
|
14
|
-
const { t: f } = w(), r = c, { speakerList: u, currentSpeaker: t, setCurrentSpeaker: m, getSpeakerList: I } = V(), l =
|
|
15
|
-
|
|
14
|
+
const { t: f } = w(), r = c, { speakerList: u, currentSpeaker: t, setCurrentSpeaker: m, getSpeakerList: I } = V(), l = h((i = t.value) == null ? void 0 : i.deviceId);
|
|
15
|
+
b(
|
|
16
16
|
() => {
|
|
17
17
|
var e;
|
|
18
18
|
return (e = t.value) == null ? void 0 : e.deviceId;
|
|
@@ -31,7 +31,7 @@ const E = /* @__PURE__ */ h({
|
|
|
31
31
|
(a = t.value) != null && a.deviceId && u.value.map((k) => k.deviceId).includes((s = t.value) == null ? void 0 : s.deviceId) && (l.value = (p = t.value) == null ? void 0 : p.deviceId);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
return
|
|
34
|
+
return g(async () => {
|
|
35
35
|
T.once("ready", async () => {
|
|
36
36
|
await I();
|
|
37
37
|
});
|
|
@@ -45,7 +45,7 @@ const E = /* @__PURE__ */ h({
|
|
|
45
45
|
"popper-append-to-body": !1,
|
|
46
46
|
onChange: S
|
|
47
47
|
}, {
|
|
48
|
-
default:
|
|
48
|
+
default: y(() => [
|
|
49
49
|
(d(!0), C(B, null, U(o(u), (a) => (d(), v(o(L), {
|
|
50
50
|
key: a.deviceId,
|
|
51
51
|
label: a.deviceName,
|