tuikit-atomicx-vue3 3.4.2 → 3.5.0-beta.8
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/.eslintrc.cjs +1 -0
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-D1G-LitO.js → MessageInput.vue_vue_type_script_setup_true_lang-jPzZ5INK.js} +38 -36
- package/dist/{PopoverTrigger-L8abAry7.js → PopoverTrigger-CglNN8IV.js} +3 -3
- package/dist/{PopperContent-XdhqL8Y2.js → PopperContent-CQa08BXt.js} +1 -1
- package/dist/{Teleport-CSEuZbpM.js → Teleport-D3gvcBbZ.js} +278 -268
- package/dist/baseComp/Modal/Modal.js +431 -23
- package/dist/chat/index.d.ts +68 -53
- package/dist/chat/server.js +15 -15
- package/dist/components/AudioSetting/AudioMediaControl.js +39 -41
- package/dist/components/AudioSetting/AudioSettingTab.js +10 -10
- package/dist/components/AudioSetting/MicrophoneSelect.js +8 -8
- package/dist/components/AudioSetting/SpeakerSelect.js +9 -9
- package/dist/components/AudioSettingPanel/i18n/en-US/index.d.ts +1 -0
- package/dist/components/AudioSettingPanel/i18n/en-US/index.js +2 -1
- package/dist/components/AudioSettingPanel/i18n/zh-CN/index.d.ts +1 -0
- package/dist/components/AudioSettingPanel/i18n/zh-CN/index.js +2 -1
- package/dist/components/AudioSettingPanel/index.js +81 -73
- package/dist/components/BarrageInput/BarrageInputH5.js +9 -9
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +4 -4
- package/dist/components/BarrageInput/MessageInputState.d.ts +28 -0
- package/dist/components/BarrageInput/MessageInputState.js +82 -0
- package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
- package/dist/components/BarrageInput/TextEditor/EditorCore.js +5 -4
- package/dist/components/BarrageInput/TextEditor/index.js +7 -7
- package/dist/components/BarrageInput/type.d.ts +17 -0
- package/dist/components/BarrageInput/type.js +4 -0
- package/dist/components/BarrageInput/utils.d.ts +30 -0
- package/dist/components/BarrageInput/utils.js +41 -0
- package/dist/components/BarrageList/BarrageList.js +80 -110
- package/dist/components/BarrageList/BarrageList.vue.d.ts +0 -29
- package/dist/components/BarrageList/BarrageListH5.js +95 -122
- package/dist/components/BarrageList/BarrageListH5.vue.d.ts +0 -29
- package/dist/components/BarrageList/BarrageListState.d.ts +58 -0
- package/dist/components/BarrageList/BarrageListState.js +106 -0
- package/dist/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.js +16 -24
- package/dist/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.vue.d.ts +5 -5
- package/dist/components/BarrageList/Message/MessageLayout/MessageLayout.js +48 -73
- package/dist/components/BarrageList/Message/MessageLayout/MessageLayout.vue.d.ts +5 -7
- package/dist/components/BarrageList/Message/TextMessage/TextMessage.js +70 -76
- package/dist/components/BarrageList/Message/TextMessage/TextMessage.vue.d.ts +6 -6
- package/dist/components/BarrageList/Message/TextMessage/emoji.d.ts +5 -0
- package/dist/components/BarrageList/Message/TextMessage/emoji.js +134 -0
- package/dist/components/BarrageList/index.d.ts +0 -36
- package/dist/components/CameraButton/index.js +18 -19
- package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +2 -1
- package/dist/components/CoGuestPanel/CoGuestPanel.js +60 -60
- package/dist/components/CoHostPanel/BattlePanel.js +11 -11
- package/dist/components/CoHostPanel/CoHostPanel.js +10 -10
- package/dist/components/CoHostPanel/ConfigSettingPanel.js +49 -55
- package/dist/components/CoHostPanel/ConnectionPanel.js +132 -123
- package/dist/components/CoHostPanel/RecommendHostList.js +39 -36
- package/dist/components/CoHostPanel/constants.d.ts +3 -0
- package/dist/components/CoHostPanel/constants.js +6 -0
- package/dist/components/CoHostPanel/i18n/en-US/index.d.ts +1 -0
- package/dist/components/CoHostPanel/i18n/en-US/index.js +2 -1
- package/dist/components/CoHostPanel/i18n/zh-CN/index.d.ts +1 -0
- package/dist/components/CoHostPanel/i18n/zh-CN/index.js +3 -2
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.js +6 -6
- package/dist/components/ContactList/ContactInfo/ContactInfo.js +1 -1
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.js +1 -1
- package/dist/components/ContactList/ContactInfo/FriendInfo/FriendInfo.js +9 -9
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.js +1 -1
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.js +4 -4
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.js +8 -8
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.js +7 -7
- package/dist/components/ContactList/ContactList.js +7 -7
- package/dist/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.js +8 -8
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.js +5 -5
- package/dist/components/ContactList/ContactListItem/FriendItem/FriendItem.js +5 -5
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.js +1 -1
- package/dist/components/ContactList/ContactListItem/GroupItem/GroupItem.js +1 -1
- package/dist/components/ContactList/ContactSearch/ContactSearch.js +6 -6
- package/dist/components/ConversationList/ConversationActions/ConversationActions.js +49 -51
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +9 -9
- package/dist/components/ConversationList/ConversationList.js +4 -4
- package/dist/components/ConversationList/ConversationList.vue.d.ts +10 -10
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +10 -10
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +31 -29
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +20 -20
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +2 -2
- package/dist/components/ConversationList/ConversationPreview/index.js +1 -1
- package/dist/components/ConversationList/index.d.ts +30 -30
- package/dist/components/LiveAudienceList/LiveAudienceList.js +44 -45
- package/dist/components/LiveAudienceList/LiveAudienceListH5.js +7 -7
- package/dist/components/LiveAudienceList/UserActionMenu.js +57 -64
- package/dist/components/LiveList/LiveList.js +23 -23
- package/dist/components/LiveList/LiveListH5.js +38 -38
- package/dist/components/LiveScenePanel/CameraSettingDialog.js +10 -10
- package/dist/components/LiveScenePanel/MaterialItem.js +15 -15
- package/dist/components/LiveScenePanel/index.js +28 -27
- package/dist/components/LiveView/CoreViewDecorate/BattleDecorate.js +58 -58
- package/dist/components/LiveView/CoreViewDecorate/BattleUserDecorate.js +6 -6
- package/dist/components/LiveView/CoreViewDecorate/CoHostDecorate.js +5 -5
- package/dist/components/LiveView/DefaultStreamViewUI.js +44 -41
- package/dist/components/LiveView/PlayerControl/AudioControl.js +97 -93
- package/dist/components/LiveView/PlayerControl/AudioControl.vue.d.ts +10 -6
- package/dist/components/LiveView/PlayerControl/MultiResolution.js +57 -62
- package/dist/components/LiveView/PlayerControl/PlayerControl.js +79 -79
- package/dist/components/LiveView/PlayerControl/PlayerControlState.d.ts +2 -2
- package/dist/components/LiveView/PlayerControl/PlayerControlState.js +164 -209
- package/dist/components/LiveView/PlayerControl/utils/domHelpers.d.ts +8 -1
- package/dist/components/LiveView/PlayerControl/utils/domHelpers.js +57 -24
- package/dist/components/LiveView/i18n/en-US/index.d.ts +2 -2
- package/dist/components/LiveView/i18n/en-US/index.js +2 -2
- package/dist/components/LiveView/i18n/zh-CN/index.d.ts +2 -2
- package/dist/components/LiveView/i18n/zh-CN/index.js +2 -2
- package/dist/components/LiveView/index.js +17 -17
- package/dist/components/MessageInput/AttachmentPicker/index.js +1 -1
- package/dist/components/MessageInput/AudioCallPicker/AudioCallPicker.js +63 -65
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +88 -84
- package/dist/components/MessageInput/MessageInput.js +1 -1
- package/dist/components/MessageInput/MessageInput.vue.d.ts +5 -2
- package/dist/components/MessageInput/TextEditor/EditorCore.d.ts +3 -1
- package/dist/components/MessageInput/TextEditor/EditorCore.js +51 -63
- package/dist/components/MessageInput/TextEditor/TextEditor.vue.d.ts +6 -2
- package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.d.ts +19 -0
- package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +74 -0
- package/dist/components/MessageInput/TextEditor/extensions/imageExtension.d.ts +2 -0
- package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +62 -0
- package/dist/components/MessageInput/TextEditor/index.js +45 -35
- package/dist/components/MessageInput/VideoCallPicker/VideoCallPicker.js +67 -69
- package/dist/components/MessageInput/i18n/index.d.ts +4 -0
- package/dist/components/MessageInput/i18n/zh-CN.d.ts +4 -0
- package/dist/components/MessageInput/i18n/zh-CN.js +5 -1
- package/dist/components/MessageInput/index.d.ts +36 -6
- package/dist/components/MessageInput/index.js +1 -1
- package/dist/components/MessageList/Message/AudioMessage/WaveForm.js +24 -34
- package/dist/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.js +29 -28
- package/dist/components/MessageList/Message/GroupTipMessage/index.js +13 -13
- package/dist/components/MessageList/Message/Message.vue.d.ts +1 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +3 -3
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.js +63 -69
- package/dist/components/MessageList/Message/VideoMessage/VideoMessage.js +48 -53
- package/dist/components/MessageList/Message/VideoMessage/VideoMessage.vue.d.ts +8 -8
- package/dist/components/MessageList/MessageList.js +8 -6
- package/dist/components/MessageList/MessageList.vue.d.ts +2 -2
- package/dist/components/MessageList/i18n/en-US.d.ts +65 -1
- package/dist/components/MessageList/i18n/en-US.js +66 -2
- package/dist/components/MessageList/i18n/index.d.ts +128 -0
- package/dist/components/MessageList/i18n/index.js +6 -6
- package/dist/components/MessageList/i18n/zh-CN.d.ts +65 -1
- package/dist/components/MessageList/i18n/zh-CN.js +64 -0
- package/dist/components/MessageList/index.d.ts +20 -20
- package/dist/components/MicButton/index.js +11 -11
- package/dist/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.js +172 -174
- package/dist/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.js +58 -60
- package/dist/components/Search/SearchAdvanced/SearchAdvanced.js +28 -30
- package/dist/components/Search/SearchAdvanced/SearchTab/SearchTab.js +22 -24
- package/dist/components/Search/SearchAdvanced/Slider/Slider.js +26 -28
- package/dist/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.js +133 -135
- package/dist/components/Search/SearchBar/SearchBar.js +56 -58
- package/dist/components/StreamMixer/LocalMixer/MixerControl.js +12 -12
- package/dist/components/StreamMixer/LocalMixer/index.js +66 -63
- package/dist/components/StreamView/Layout/CustomLayout.js +8 -8
- package/dist/components/StreamView/Layout/FloatLayout.js +124 -127
- package/dist/components/StreamView/Layout/GridLayout.js +5 -5
- package/dist/components/StreamView/index.js +25 -33
- package/dist/components/StreamView/manager/mediaManager.js +54 -60
- package/dist/components/UIKitModal/UIKitModal.d.ts +7 -0
- package/dist/components/UIKitModal/UIKitModal.js +156 -0
- package/dist/components/UIKitModal/index.d.ts +1 -0
- package/dist/components/UIKitModal/index.js +4 -0
- package/dist/components/{BarrageList/Message/FaceMessage/FaceMessage.vue.d.ts → UIKitModal/index.vue.d.ts} +24 -9
- package/dist/components/UIKitModal/type.d.ts +21 -0
- package/dist/components/UIKitModal/type.js +1 -0
- package/dist/components/UserPicker/UserPicker.js +1 -2
- package/dist/components/UserPicker/components/SelectedPanel/SelectedPanel.js +19 -18
- package/dist/components/UserPicker/hooks/useSearchFilter.d.ts +2 -2
- package/dist/components/UserPicker/hooks/useSearchFilter.js +39 -31
- package/dist/components/UserPicker/i18n/en-US.d.ts +1 -0
- package/dist/components/UserPicker/i18n/en-US.js +2 -1
- package/dist/components/UserPicker/i18n/index.d.ts +2 -0
- package/dist/components/UserPicker/i18n/zh-CN.d.ts +1 -0
- package/dist/components/UserPicker/i18n/zh-CN.js +2 -1
- package/dist/components/UserPicker/index.d.ts +2 -2
- package/dist/components/UserPicker/type.d.ts +1 -1
- package/dist/components/VideoSetting/CameraSelect.js +8 -8
- package/dist/components/VideoSetting/VideoMediaControl.js +10 -10
- package/dist/components/VideoSetting/VideoPreview.js +9 -9
- package/dist/components/VideoSetting/VideoProfile.js +6 -6
- package/dist/components/VideoSetting/VideoSettingTab.js +40 -39
- package/dist/components/VideoSettingPanel/CameraSelect.js +8 -8
- package/dist/components/VideoSettingPanel/VideoPreview.js +1 -1
- package/dist/components/VideoSettingPanel/VideoProfile.js +18 -18
- package/dist/hooks/useAudioControl.d.ts +3 -3
- package/dist/hooks/useAudioControl.js +32 -30
- package/dist/hooks/useRoomEngine.js +6 -6
- package/dist/index-B_-9wgM4.js +64 -0
- package/dist/{index-Bm-QfV5o.js → index-DMfTuy0v.js} +574 -631
- package/dist/{index-D2OVtqc8.js → index-DV6o6s43.js} +946 -915
- package/dist/index.d.ts +3 -1
- package/dist/index.js +164 -142
- package/dist/report/MetricsKey.d.ts +16 -0
- package/dist/report/MetricsKey.js +4 -0
- package/dist/report/dataReport.d.ts +12 -0
- package/dist/report/dataReport.js +45 -0
- package/dist/report/index.d.ts +4 -0
- package/dist/report/index.js +6 -0
- package/dist/rtc/index.d.ts +5 -43
- package/dist/rtc/index.js +48 -48
- package/dist/rtc/server.js +45 -40
- package/dist/states/BarrageState/BarrageState.d.ts +74 -0
- package/dist/states/BarrageState/BarrageState.js +80 -0
- package/dist/states/BarrageState/index.d.ts +1 -0
- package/dist/states/BarrageState/index.js +5 -0
- package/dist/states/{BattleState.d.ts → BattleState/BattleState.d.ts} +10 -11
- package/dist/states/BattleState/BattleState.js +203 -0
- package/dist/states/BattleState/index.d.ts +1 -0
- package/dist/states/BattleState/index.js +4 -0
- package/dist/states/CoGuestState.d.ts +24 -94
- package/dist/states/CoGuestState.js +297 -189
- package/dist/states/CoHostState/CoHostState.d.ts +2 -2
- package/dist/states/CoHostState/CoHostState.js +135 -131
- package/dist/states/{DeviceState.d.ts → DeviceState/DeviceState.d.ts} +25 -13
- package/dist/states/DeviceState/DeviceState.js +314 -0
- package/dist/states/DeviceState/index.d.ts +1 -0
- package/dist/states/DeviceState/index.js +4 -0
- package/dist/states/LiveAudienceState.d.ts +3 -1
- package/dist/states/LiveAudienceState.js +106 -63
- package/dist/states/{LiveState/index.d.ts → LiveListState/LiveListState.d.ts} +13 -8
- package/dist/states/LiveListState/LiveListState.js +285 -0
- package/dist/states/LiveListState/index.d.ts +1 -0
- package/dist/states/LiveListState/index.js +4 -0
- package/dist/states/LiveMonitorState/api/http.js +147 -129
- package/dist/states/LiveMonitorState/index.js +67 -62
- package/dist/states/LiveMonitorState/player/adapters/trtc.js +6 -6
- package/dist/states/LiveSeatState/index.d.ts +46 -11
- package/dist/states/LiveSeatState/index.js +34 -15
- package/dist/states/LiveSeatState/seatEventManager.d.ts +2 -0
- package/dist/states/LiveSeatState/seatEventManager.js +63 -42
- package/dist/states/LiveSeatState/seatManager.d.ts +34 -5
- package/dist/states/LiveSeatState/seatManager.js +131 -29
- package/dist/states/LiveSeatState/store.d.ts +5 -5
- package/dist/states/LiveSeatState/store.js +12 -10
- package/dist/states/LiveSeatState/usePlayStream/RTCStreamManager.js +1 -1
- package/dist/states/LiveSeatState/usePlayStream/RTCStreamPlayer.js +1 -1
- package/dist/states/LiveSeatState/usePlayStream/index.js +30 -28
- package/dist/states/LoginState.d.ts +23 -0
- package/dist/states/MessageInputState/MessageInputState.d.ts +41 -7
- package/dist/states/MessageInputState/MessageInputState.js +60 -59
- package/dist/states/MessageInputState/utils.d.ts +8 -1
- package/dist/states/MessageInputState/utils.js +30 -10
- package/dist/states/SeatStore.js +82 -83
- package/dist/states/UIKitModalState/UIKitModalState.d.ts +17 -0
- package/dist/states/UIKitModalState/UIKitModalState.js +63 -0
- package/dist/states/UIKitModalState/index.d.ts +1 -0
- package/dist/states/UIKitModalState/index.js +4 -0
- package/dist/states/{VideoMixerState.d.ts → VideoMixerState/VideoMixerState.d.ts} +1 -1
- package/dist/states/VideoMixerState/VideoMixerState.js +269 -0
- package/dist/states/VideoMixerState/index.d.ts +1 -0
- package/dist/states/VideoMixerState/index.js +4 -0
- package/dist/styles/index.css +1 -1
- package/dist/types/audience.d.ts +21 -0
- package/dist/types/audience.js +4 -1
- package/dist/types/battle.d.ts +75 -3
- package/dist/types/battle.js +5 -1
- package/dist/types/coGuest.d.ts +72 -5
- package/dist/types/coGuest.js +4 -2
- package/dist/types/device.d.ts +38 -17
- package/dist/types/device.js +10 -8
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +96 -80
- package/dist/types/live.d.ts +36 -21
- package/dist/types/live.js +6 -4
- package/dist/types/seat.d.ts +23 -4
- package/dist/types/seat.js +7 -1
- package/dist/{useId-CtirfF0W.js → useId-oQ5JZeuH.js} +1 -1
- package/dist/utils/call.d.ts +1 -1
- package/dist/utils/call.js +78 -79
- package/dist/utils/eventCenter.d.ts +88 -0
- package/dist/utils/eventCenter.js +161 -0
- package/dist/{utils-DaB7eSu5.js → utils-DuzSgmS6.js} +1 -1
- package/package.json +4 -3
- package/src/chat/server.ts +0 -1
- package/src/components/AudioSetting/AudioMediaControl.vue +1 -3
- package/src/components/AudioSetting/AudioSettingTab.vue +1 -2
- package/src/components/AudioSetting/MicrophoneSelect.vue +1 -2
- package/src/components/AudioSetting/SpeakerSelect.vue +1 -2
- package/src/components/AudioSettingPanel/i18n/en-US/index.ts +1 -0
- package/src/components/AudioSettingPanel/i18n/zh-CN/index.ts +1 -0
- package/src/components/AudioSettingPanel/index.vue +4 -2
- package/src/components/BarrageInput/BarrageInputH5.vue +1 -1
- package/src/components/BarrageInput/EmojiPicker/EmojiPicker.vue +1 -1
- package/src/components/BarrageInput/MessageInputState.ts +160 -0
- package/src/components/BarrageInput/TextEditor/TextEditor.vue +1 -1
- package/src/components/BarrageInput/type.ts +26 -0
- package/src/components/BarrageInput/utils.ts +45 -0
- package/src/components/BarrageList/BarrageList.vue +61 -117
- package/src/components/BarrageList/BarrageListH5.vue +75 -159
- package/src/components/BarrageList/BarrageListState.ts +223 -0
- package/src/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.vue +8 -55
- package/src/components/BarrageList/Message/MessageLayout/MessageLayout.vue +19 -44
- package/src/components/BarrageList/Message/TextMessage/TextMessage.vue +69 -96
- package/src/components/BarrageList/Message/TextMessage/emoji.ts +132 -0
- package/src/components/CameraButton/index.vue +0 -1
- package/src/components/ChatSetting/GroupChatSetting/GroupChatSetting.vue +5 -0
- package/src/components/CoGuestPanel/CoGuestPanel.vue +16 -91
- package/src/components/CoHostPanel/BattlePanel.vue +1 -4
- package/src/components/CoHostPanel/ConfigSettingPanel.vue +2 -8
- package/src/components/CoHostPanel/ConnectionPanel.vue +37 -33
- package/src/components/CoHostPanel/RecommendHostList.vue +12 -13
- package/src/components/CoHostPanel/constants.ts +3 -0
- package/src/components/CoHostPanel/i18n/en-US/index.ts +1 -0
- package/src/components/CoHostPanel/i18n/zh-CN/index.ts +2 -1
- package/src/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/ContactInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/FriendInfo/FriendInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.vue +1 -1
- package/src/components/ContactList/ContactList.vue +1 -1
- package/src/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.vue +1 -1
- package/src/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.vue +1 -1
- package/src/components/ContactList/ContactListItem/FriendItem/FriendItem.vue +1 -1
- package/src/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.vue +1 -1
- package/src/components/ContactList/ContactListItem/GroupItem/GroupItem.vue +1 -1
- package/src/components/ContactList/ContactSearch/ContactSearch.vue +1 -1
- package/src/components/ConversationList/ConversationActions/ConversationActions.vue +2 -8
- package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +2 -2
- package/src/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.vue +1 -1
- package/src/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.vue +1 -1
- package/src/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.vue +1 -1
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.vue +1 -1
- package/src/components/ConversationList/ConversationList.vue +2 -2
- package/src/components/ConversationList/ConversationListContent/ConversationListContent.vue +1 -1
- package/src/components/ConversationList/ConversationListHeader/ConversationListHeader.vue +1 -1
- package/src/components/ConversationList/ConversationPlaceHolder/ConversationPlaceHolder.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreview.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.vue +4 -4
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue +3 -3
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUnread.vue +1 -1
- package/src/components/ConversationList/ConversationSearch/ConversationSearch.vue +1 -1
- package/src/components/LiveAudienceList/LiveAudienceList.vue +4 -5
- package/src/components/LiveAudienceList/LiveAudienceListH5.vue +2 -2
- package/src/components/LiveAudienceList/UserActionMenu.vue +7 -48
- package/src/components/LiveList/LiveList.vue +5 -5
- package/src/components/LiveList/LiveListH5.vue +6 -6
- package/src/components/LiveScenePanel/index.vue +3 -2
- package/src/components/LiveView/CoreViewDecorate/BattleDecorate.vue +10 -15
- package/src/components/LiveView/CoreViewDecorate/BattleUserDecorate.vue +2 -2
- package/src/components/LiveView/DefaultStreamViewUI.vue +5 -3
- package/src/components/LiveView/PlayerControl/AudioControl.vue +72 -80
- package/src/components/LiveView/PlayerControl/MultiResolution.vue +30 -21
- package/src/components/LiveView/PlayerControl/PlayerControl.vue +26 -42
- package/src/components/LiveView/PlayerControl/PlayerControlState.ts +253 -455
- package/src/components/LiveView/PlayerControl/utils/domHelpers.ts +68 -4
- package/src/components/LiveView/i18n/en-US/index.ts +2 -2
- package/src/components/LiveView/i18n/zh-CN/index.ts +2 -2
- package/src/components/LiveView/index.vue +3 -2
- package/src/components/MessageInput/AudioCallPicker/AudioCallPicker.vue +8 -6
- package/src/components/MessageInput/EmojiPicker/EmojiPicker.vue +7 -3
- package/src/components/MessageInput/MessageInput.module.scss +1 -0
- package/src/components/MessageInput/MessageInput.vue +3 -1
- package/src/components/MessageInput/TextEditor/EditorCore.ts +17 -28
- package/src/components/MessageInput/TextEditor/TextEditor.vue +24 -4
- package/src/components/MessageInput/TextEditor/extensions/characterCountExtension.ts +159 -0
- package/src/components/MessageInput/TextEditor/extensions/imageExtension.ts +79 -0
- package/src/components/MessageInput/VideoCallPicker/VideoCallPicker.vue +8 -6
- package/src/components/MessageInput/i18n/zh-CN.ts +4 -0
- package/src/components/MessageInput/types.d.ts +1 -0
- package/src/components/MessageList/Message/AudioMessage/WaveForm.vue +20 -37
- package/src/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.vue +5 -3
- package/src/components/MessageList/Message/GroupTipMessage/GroupTipMessage.vue +5 -4
- package/src/components/MessageList/Message/Message.vue +1 -1
- package/src/components/MessageList/Message/MessageLayout/MessageLayout.vue +8 -8
- package/src/components/MessageList/Message/VideoMessage/VideoMessage.vue +46 -43
- package/src/components/MessageList/Message/VideoMessage/index.ts +1 -1
- package/src/components/MessageList/MessageList.vue +2 -0
- package/src/components/MessageList/i18n/en-US.ts +66 -0
- package/src/components/MessageList/i18n/index.ts +4 -4
- package/src/components/MessageList/i18n/zh-CN.ts +66 -0
- package/src/components/MicButton/index.vue +3 -3
- package/src/components/Search/Search.vue +1 -1
- package/src/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.scss +1 -4
- package/src/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.vue +1 -1
- package/src/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.scss +1 -4
- package/src/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.vue +1 -1
- package/src/components/Search/SearchAdvanced/SearchAdvanced.scss +1 -4
- package/src/components/Search/SearchAdvanced/SearchAdvanced.vue +1 -1
- package/src/components/Search/SearchAdvanced/SearchTab/SearchTab.scss +1 -4
- package/src/components/Search/SearchAdvanced/SearchTab/SearchTab.vue +1 -1
- package/src/components/Search/SearchAdvanced/Slider/Slider.scss +1 -4
- package/src/components/Search/SearchAdvanced/Slider/Slider.vue +1 -1
- package/src/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.scss +1 -4
- package/src/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.vue +1 -1
- package/src/components/Search/SearchBar/SearchBar.scss +3 -6
- package/src/components/Search/SearchBar/SearchBar.vue +1 -1
- package/src/components/Search/SearchResults/EmptyResult/EmptyResult.vue +1 -1
- package/src/components/Search/SearchResults/Loading/Loading.vue +1 -1
- package/src/components/Search/SearchResults/SearchResults.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/Group/Group.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/User/User.vue +1 -1
- package/src/components/StreamMixer/LocalMixer/index.vue +6 -8
- package/src/components/StreamView/Layout/CustomLayout.vue +2 -2
- package/src/components/StreamView/Layout/FloatLayout.vue +88 -83
- package/src/components/StreamView/index.vue +28 -14
- package/src/components/StreamView/manager/mediaManager.ts +38 -42
- package/src/components/UIKitModal/UIKitModal.ts +71 -0
- package/src/components/UIKitModal/index.scss +134 -0
- package/src/components/UIKitModal/index.ts +1 -0
- package/src/components/UIKitModal/index.vue +160 -0
- package/src/components/UIKitModal/type.ts +24 -0
- package/src/components/UserPicker/UserPicker.vue +1 -1
- package/src/components/UserPicker/components/SelectedPanel/SelectedPanel.vue +1 -0
- package/src/components/UserPicker/hooks/useSearchFilter.ts +27 -18
- package/src/components/UserPicker/i18n/en-US.ts +1 -0
- package/src/components/UserPicker/i18n/zh-CN.ts +1 -0
- package/src/components/UserPicker/type.ts +1 -1
- package/src/components/VideoSetting/CameraSelect.vue +1 -2
- package/src/components/VideoSetting/VideoMediaControl.vue +1 -1
- package/src/components/VideoSetting/VideoPreview.vue +1 -2
- package/src/components/VideoSetting/VideoProfile.vue +1 -1
- package/src/components/VideoSetting/VideoSettingTab.vue +9 -5
- package/src/components/VideoSettingPanel/CameraSelect.vue +1 -2
- package/src/components/VideoSettingPanel/VideoProfile.vue +7 -7
- package/src/hooks/useAudioControl.ts +17 -4
- package/src/hooks/useRoomEngine.ts +1 -1
- package/src/index.ts +3 -0
- package/src/report/MetricsKey.ts +16 -0
- package/src/report/dataReport.ts +55 -0
- package/src/report/index.ts +7 -0
- package/src/rtc/index.ts +7 -9
- package/src/rtc/server.ts +4 -0
- package/src/types/audience.ts +27 -1
- package/src/types/battle.ts +87 -4
- package/src/types/coGuest.ts +87 -5
- package/src/types/device.ts +41 -16
- package/src/types/index.ts +2 -2
- package/src/types/live.ts +41 -22
- package/src/types/seat.ts +28 -4
- package/src/utils/call.ts +26 -27
- package/src/utils/eventCenter.ts +249 -0
- package/dist/DialogPortal-CvJcEAsn.js +0 -417
- package/dist/components/BarrageList/Message/FaceMessage/FaceMessage.js +0 -23
- package/dist/components/BarrageList/Message/FaceMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/FaceMessage/index.js +0 -4
- package/dist/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.js +0 -4
- package/dist/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.vue.d.ts +0 -16
- package/dist/components/BarrageList/Message/GroupTipMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/GroupTipMessage/index.js +0 -25
- package/dist/components/BarrageList/Message/ImageMessage/ImageMessage.js +0 -71
- package/dist/components/BarrageList/Message/ImageMessage/ImageMessage.vue.d.ts +0 -34
- package/dist/components/BarrageList/Message/ImageMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/ImageMessage/index.js +0 -4
- package/dist/components/BarrageList/Message/MergerMessage/MergerMessage.js +0 -9
- package/dist/components/BarrageList/Message/MergerMessage/MergerMessage.vue.d.ts +0 -2
- package/dist/components/BarrageList/Message/MergerMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/MergerMessage/index.js +0 -4
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.js +0 -40
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.vue.d.ts +0 -54
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.js +0 -26
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.vue.d.ts +0 -15
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/index.js +0 -4
- package/dist/components/BarrageList/Message/RecalledMessage/RecalledMessage.js +0 -41
- package/dist/components/BarrageList/Message/RecalledMessage/RecalledMessage.vue.d.ts +0 -35
- package/dist/components/BarrageList/Message/RecalledMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/RecalledMessage/index.js +0 -4
- package/dist/components/BarrageList/MessageForward/ForwardListItem.js +0 -45
- package/dist/components/BarrageList/MessageForward/ForwardListItem.vue.d.ts +0 -17
- package/dist/components/BarrageList/MessageForward/MessageForward.js +0 -203
- package/dist/components/BarrageList/MessageForward/MessageForward.vue.d.ts +0 -2
- package/dist/components/BarrageList/MessageForward/index.d.ts +0 -3
- package/dist/components/BarrageList/MessageForward/index.js +0 -4
- package/dist/components/StreamView/Layout/MixLayout.js +0 -89
- package/dist/components/StreamView/Layout/MixLayout.vue.d.ts +0 -31
- package/dist/states/BarrageListState/BarrageListState.d.ts +0 -26
- package/dist/states/BarrageListState/BarrageListState.js +0 -122
- package/dist/states/BarrageListState/index.d.ts +0 -1
- package/dist/states/BarrageListState/index.js +0 -4
- package/dist/states/BattleState.js +0 -117
- package/dist/states/DeviceState.js +0 -296
- package/dist/states/LiveState/index.js +0 -254
- package/dist/states/VideoMixerState.js +0 -260
- package/src/components/BarrageList/Message/FaceMessage/FaceMessage.vue +0 -43
- package/src/components/BarrageList/Message/FaceMessage/index.ts +0 -3
- package/src/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.vue +0 -55
- package/src/components/BarrageList/Message/GroupTipMessage/index.ts +0 -3
- package/src/components/BarrageList/Message/ImageMessage/ImageMessage.vue +0 -181
- package/src/components/BarrageList/Message/ImageMessage/index.ts +0 -3
- package/src/components/BarrageList/Message/MergerMessage/MergerMessage.vue +0 -6
- package/src/components/BarrageList/Message/MergerMessage/index.ts +0 -3
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +0 -70
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.vue +0 -40
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/index.ts +0 -3
- package/src/components/BarrageList/Message/RecalledMessage/RecalledMessage.vue +0 -82
- package/src/components/BarrageList/Message/RecalledMessage/index.ts +0 -3
- package/src/components/BarrageList/MessageForward/ForwardListItem.vue +0 -67
- package/src/components/BarrageList/MessageForward/MessageForward.vue +0 -388
- package/src/components/BarrageList/MessageForward/index.ts +0 -3
- package/src/components/StreamView/Layout/MixLayout.vue +0 -144
|
@@ -433,9 +433,9 @@ declare const ConversationList: import('vue').DefineComponent<import('vue').Extr
|
|
|
433
433
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
434
434
|
};
|
|
435
435
|
}>> & Readonly<{
|
|
436
|
-
|
|
436
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
437
437
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
438
|
-
|
|
438
|
+
selectConversation: (conversation: import('../..').ConversationModel) => void;
|
|
439
439
|
}, import('vue').PublicProps, {
|
|
440
440
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
441
441
|
isSelected: boolean;
|
|
@@ -768,7 +768,7 @@ declare const ConversationList: import('vue').DefineComponent<import('vue').Extr
|
|
|
768
768
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
769
769
|
};
|
|
770
770
|
}>> & Readonly<{
|
|
771
|
-
|
|
771
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
772
772
|
}>, {}, {}, {}, {}, {
|
|
773
773
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
774
774
|
isSelected: boolean;
|
|
@@ -1098,9 +1098,9 @@ declare const ConversationList: import('vue').DefineComponent<import('vue').Extr
|
|
|
1098
1098
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
1099
1099
|
};
|
|
1100
1100
|
}>> & Readonly<{
|
|
1101
|
-
|
|
1101
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
1102
1102
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1103
|
-
|
|
1103
|
+
selectConversation: (conversation: import('../..').ConversationModel) => void;
|
|
1104
1104
|
}, string, {
|
|
1105
1105
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
1106
1106
|
isSelected: boolean;
|
|
@@ -4108,9 +4108,9 @@ declare const ConversationList: import('vue').DefineComponent<import('vue').Extr
|
|
|
4108
4108
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
4109
4109
|
};
|
|
4110
4110
|
}>> & Readonly<{
|
|
4111
|
-
|
|
4111
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
4112
4112
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4113
|
-
|
|
4113
|
+
selectConversation: (conversation: import('../..').ConversationModel) => void;
|
|
4114
4114
|
}, import('vue').PublicProps, {
|
|
4115
4115
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
4116
4116
|
isSelected: boolean;
|
|
@@ -4443,7 +4443,7 @@ declare const ConversationList: import('vue').DefineComponent<import('vue').Extr
|
|
|
4443
4443
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
4444
4444
|
};
|
|
4445
4445
|
}>> & Readonly<{
|
|
4446
|
-
|
|
4446
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
4447
4447
|
}>, {}, {}, {}, {}, {
|
|
4448
4448
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
4449
4449
|
isSelected: boolean;
|
|
@@ -4773,9 +4773,9 @@ declare const ConversationList: import('vue').DefineComponent<import('vue').Extr
|
|
|
4773
4773
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
4774
4774
|
};
|
|
4775
4775
|
}>> & Readonly<{
|
|
4776
|
-
|
|
4776
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
4777
4777
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4778
|
-
|
|
4778
|
+
selectConversation: (conversation: import('../..').ConversationModel) => void;
|
|
4779
4779
|
}, string, {
|
|
4780
4780
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
4781
4781
|
isSelected: boolean;
|
|
@@ -8265,9 +8265,9 @@ declare const ConversationPreview: {
|
|
|
8265
8265
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
8266
8266
|
};
|
|
8267
8267
|
}>> & Readonly<{
|
|
8268
|
-
|
|
8268
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
8269
8269
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8270
|
-
|
|
8270
|
+
selectConversation: (conversation: import('../..').ConversationModel) => void;
|
|
8271
8271
|
}, import('vue').PublicProps, {
|
|
8272
8272
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
8273
8273
|
isSelected: boolean;
|
|
@@ -8600,7 +8600,7 @@ declare const ConversationPreview: {
|
|
|
8600
8600
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
8601
8601
|
};
|
|
8602
8602
|
}>> & Readonly<{
|
|
8603
|
-
|
|
8603
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
8604
8604
|
}>, {}, {}, {}, {}, {
|
|
8605
8605
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
8606
8606
|
isSelected: boolean;
|
|
@@ -8930,9 +8930,9 @@ declare const ConversationPreview: {
|
|
|
8930
8930
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
8931
8931
|
};
|
|
8932
8932
|
}>> & Readonly<{
|
|
8933
|
-
|
|
8933
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
8934
8934
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8935
|
-
|
|
8935
|
+
selectConversation: (conversation: import('../..').ConversationModel) => void;
|
|
8936
8936
|
}, string, {
|
|
8937
8937
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
8938
8938
|
isSelected: boolean;
|
|
@@ -9555,9 +9555,9 @@ declare const ConversationPreview: {
|
|
|
9555
9555
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
9556
9556
|
};
|
|
9557
9557
|
}>> & Readonly<{
|
|
9558
|
-
|
|
9558
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
9559
9559
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9560
|
-
|
|
9560
|
+
selectConversation: (conversation: import('../..').ConversationModel) => void;
|
|
9561
9561
|
}, import('vue').PublicProps, {
|
|
9562
9562
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
9563
9563
|
isSelected: boolean;
|
|
@@ -9890,7 +9890,7 @@ declare const ConversationPreview: {
|
|
|
9890
9890
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
9891
9891
|
};
|
|
9892
9892
|
}>> & Readonly<{
|
|
9893
|
-
|
|
9893
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
9894
9894
|
}>, {}, {}, {}, {}, {
|
|
9895
9895
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
9896
9896
|
isSelected: boolean;
|
|
@@ -10220,9 +10220,9 @@ declare const ConversationPreview: {
|
|
|
10220
10220
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
10221
10221
|
};
|
|
10222
10222
|
}>> & Readonly<{
|
|
10223
|
-
|
|
10223
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
10224
10224
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10225
|
-
|
|
10225
|
+
selectConversation: (conversation: import('../..').ConversationModel) => void;
|
|
10226
10226
|
}, string, {
|
|
10227
10227
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
10228
10228
|
isSelected: boolean;
|
|
@@ -10840,9 +10840,9 @@ declare const ConversationPreview: {
|
|
|
10840
10840
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
10841
10841
|
};
|
|
10842
10842
|
}>> & Readonly<{
|
|
10843
|
-
|
|
10843
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
10844
10844
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10845
|
-
|
|
10845
|
+
selectConversation: (conversation: import('../..').ConversationModel) => void;
|
|
10846
10846
|
}, import('vue').PublicProps, {
|
|
10847
10847
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
10848
10848
|
isSelected: boolean;
|
|
@@ -11175,7 +11175,7 @@ declare const ConversationPreview: {
|
|
|
11175
11175
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
11176
11176
|
};
|
|
11177
11177
|
}>> & Readonly<{
|
|
11178
|
-
|
|
11178
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
11179
11179
|
}>, {}, {}, {}, {}, {
|
|
11180
11180
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
11181
11181
|
isSelected: boolean;
|
|
@@ -11505,9 +11505,9 @@ declare const ConversationPreview: {
|
|
|
11505
11505
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
11506
11506
|
};
|
|
11507
11507
|
}>> & Readonly<{
|
|
11508
|
-
|
|
11508
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
11509
11509
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11510
|
-
|
|
11510
|
+
selectConversation: (conversation: import('../..').ConversationModel) => void;
|
|
11511
11511
|
}, string, {
|
|
11512
11512
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
11513
11513
|
isSelected: boolean;
|
|
@@ -12008,9 +12008,9 @@ declare const ConversationPreviewUI: {
|
|
|
12008
12008
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
12009
12009
|
};
|
|
12010
12010
|
}>> & Readonly<{
|
|
12011
|
-
|
|
12011
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
12012
12012
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12013
|
-
|
|
12013
|
+
selectConversation: (conversation: import('../..').ConversationModel) => void;
|
|
12014
12014
|
}, import('vue').PublicProps, {
|
|
12015
12015
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
12016
12016
|
isSelected: boolean;
|
|
@@ -12343,7 +12343,7 @@ declare const ConversationPreviewUI: {
|
|
|
12343
12343
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
12344
12344
|
};
|
|
12345
12345
|
}>> & Readonly<{
|
|
12346
|
-
|
|
12346
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
12347
12347
|
}>, {}, {}, {}, {}, {
|
|
12348
12348
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
12349
12349
|
isSelected: boolean;
|
|
@@ -12673,9 +12673,9 @@ declare const ConversationPreviewUI: {
|
|
|
12673
12673
|
type: import('vue').PropType<import('../..').ConversationActionsConfig>;
|
|
12674
12674
|
};
|
|
12675
12675
|
}>> & Readonly<{
|
|
12676
|
-
|
|
12676
|
+
onSelectConversation?: ((conversation: import('../..').ConversationModel) => any) | undefined;
|
|
12677
12677
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12678
|
-
|
|
12678
|
+
selectConversation: (conversation: import('../..').ConversationModel) => void;
|
|
12679
12679
|
}, string, {
|
|
12680
12680
|
Avatar: import('vue').Component<import('../Avatar').AvatarProps>;
|
|
12681
12681
|
isSelected: boolean;
|
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import { defineComponent as T, ref as u, computed as b, onMounted as H, onUnmounted as D, createElementBlock as o, openBlock as r, normalizeStyle as
|
|
1
|
+
import { defineComponent as T, ref as u, computed as b, onMounted as H, onUnmounted as D, createElementBlock as o, openBlock as r, normalizeStyle as V, createElementVNode as n, createCommentVNode as p, createBlock as F, Fragment as K, renderList as P, unref as e, createVNode as $, renderSlot as j, normalizeClass as q, toDisplayString as c } from "vue";
|
|
2
2
|
import { useUIKit as G } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
3
|
import { useLiveAudienceState as J } from "../../states/LiveAudienceState.js";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
const ee = ["onClick"], te = { class: "viewer-info" }, se = { class: "viewer-name" }, re = {
|
|
4
|
+
import { useLoginState as Q } from "../../states/LoginState.js";
|
|
5
|
+
import z from "../Avatar/Avatar.js";
|
|
6
|
+
import W from "./UserActionMenu.js";
|
|
7
|
+
import { useLiveListState as X } from "../../states/LiveListState/LiveListState.js";
|
|
8
|
+
import { _ as Y } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
const Z = ["onClick"], ee = { class: "viewer-info" }, te = { class: "viewer-name" }, se = {
|
|
11
10
|
key: 0,
|
|
12
11
|
class: "loading-indicator"
|
|
13
|
-
},
|
|
12
|
+
}, re = {
|
|
14
13
|
key: 1,
|
|
15
14
|
class: "viewer-bottom-line"
|
|
16
|
-
},
|
|
15
|
+
}, ne = {
|
|
17
16
|
key: 2,
|
|
18
17
|
class: "empty-state"
|
|
19
|
-
},
|
|
18
|
+
}, ae = {
|
|
20
19
|
key: 0,
|
|
21
20
|
class: "viewer-item current-user-item"
|
|
22
|
-
},
|
|
21
|
+
}, le = { class: "viewer-info" }, ie = { class: "viewer-name" }, oe = /* @__PURE__ */ T({
|
|
23
22
|
__name: "LiveAudienceList",
|
|
24
23
|
props: {
|
|
25
24
|
height: {},
|
|
26
25
|
style: {}
|
|
27
26
|
},
|
|
28
|
-
setup(
|
|
29
|
-
const { t: _ } = G(), g = u(null), a = u(null),
|
|
27
|
+
setup(M) {
|
|
28
|
+
const { t: _ } = G(), g = u(null), a = u(null), d = u(!1), y = M, { loginUserInfo: v } = Q(), { audienceList: L, audienceCount: x, fetchAudienceList: B } = J(), { currentLive: w } = X(), E = (s) => {
|
|
30
29
|
switch (s) {
|
|
31
30
|
case 1:
|
|
32
31
|
return "rank-first";
|
|
@@ -37,9 +36,9 @@ const ee = ["onClick"], te = { class: "viewer-info" }, se = { class: "viewer-nam
|
|
|
37
36
|
default:
|
|
38
37
|
return "rank-default";
|
|
39
38
|
}
|
|
40
|
-
}, k = u(!1), m = u(null),
|
|
39
|
+
}, k = u(!1), m = u(null), I = u({}), C = b(() => {
|
|
41
40
|
var s, t;
|
|
42
|
-
return ((s =
|
|
41
|
+
return ((s = v.value) == null ? void 0 : s.userId) === ((t = w.value) == null ? void 0 : t.liveOwner.userId);
|
|
43
42
|
}), R = (s, t) => {
|
|
44
43
|
if (!C.value)
|
|
45
44
|
return;
|
|
@@ -47,34 +46,34 @@ const ee = ["onClick"], te = { class: "viewer-info" }, se = { class: "viewer-nam
|
|
|
47
46
|
const l = t.currentTarget;
|
|
48
47
|
g.value = l;
|
|
49
48
|
const f = l.getBoundingClientRect();
|
|
50
|
-
|
|
49
|
+
I.value = {
|
|
51
50
|
position: "fixed",
|
|
52
51
|
left: `${f.left}px`,
|
|
53
52
|
top: `${f.bottom + 8}px`,
|
|
54
53
|
zIndex: 1001
|
|
55
54
|
};
|
|
56
|
-
},
|
|
57
|
-
if (!a.value ||
|
|
55
|
+
}, S = async () => {
|
|
56
|
+
if (!a.value || d.value)
|
|
58
57
|
return;
|
|
59
58
|
const { scrollTop: s, clientHeight: t, scrollHeight: l } = a.value;
|
|
60
59
|
if (s + t >= l - 50) {
|
|
61
|
-
|
|
60
|
+
d.value = !0;
|
|
62
61
|
try {
|
|
63
|
-
await
|
|
62
|
+
await B();
|
|
64
63
|
} finally {
|
|
65
|
-
|
|
64
|
+
d.value = !1;
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
67
|
};
|
|
69
68
|
return H(() => {
|
|
70
|
-
a.value && a.value.addEventListener("scroll",
|
|
69
|
+
a.value && a.value.addEventListener("scroll", S);
|
|
71
70
|
}), D(() => {
|
|
72
|
-
a.value && a.value.removeEventListener("scroll",
|
|
71
|
+
a.value && a.value.removeEventListener("scroll", S);
|
|
73
72
|
}), (s, t) => {
|
|
74
|
-
var l, f,
|
|
73
|
+
var l, f, A, N, U;
|
|
75
74
|
return r(), o("div", {
|
|
76
75
|
class: "viewers-panel",
|
|
77
|
-
style:
|
|
76
|
+
style: V({ height: y.height, ...y.style })
|
|
78
77
|
}, [
|
|
79
78
|
n("div", {
|
|
80
79
|
ref_key: "viewersListRef",
|
|
@@ -89,44 +88,44 @@ const ee = ["onClick"], te = { class: "viewer-info" }, se = { class: "viewer-nam
|
|
|
89
88
|
n("span", {
|
|
90
89
|
class: q(["rank", E(h + 1)])
|
|
91
90
|
}, c(h < 10 ? h + 1 : "-"), 3),
|
|
92
|
-
|
|
91
|
+
$(e(z), {
|
|
93
92
|
src: i.avatarUrl,
|
|
94
93
|
size: 26
|
|
95
94
|
}, null, 8, ["src"]),
|
|
96
95
|
j(s.$slots, "audience-mark", { audience: i }, void 0, !0),
|
|
97
|
-
n("div",
|
|
98
|
-
n("span",
|
|
96
|
+
n("div", ee, [
|
|
97
|
+
n("span", te, c(i.userName || i.userId), 1)
|
|
99
98
|
])
|
|
100
|
-
], 8,
|
|
101
|
-
|
|
102
|
-
e(
|
|
103
|
-
e(L).length === 0 && !
|
|
99
|
+
], 8, Z))), 128)),
|
|
100
|
+
d.value ? (r(), o("div", se, c(e(_)("Loading...")), 1)) : p("", !0),
|
|
101
|
+
e(x) >= 200 ? (r(), o("div", re, c(e(_)("Only show 200 viewers")), 1)) : p("", !0),
|
|
102
|
+
e(L).length === 0 && !d.value ? (r(), o("div", ne, [
|
|
104
103
|
n("p", null, c(e(_)("No audience yet")), 1)
|
|
105
104
|
])) : p("", !0)
|
|
106
105
|
], 512),
|
|
107
|
-
e(
|
|
106
|
+
e(v) && ((l = e(w)) != null && l.liveId) && !C.value ? (r(), o("div", ae, [
|
|
108
107
|
t[1] || (t[1] = n("span", { class: "rank" }, "-", -1)),
|
|
109
|
-
|
|
110
|
-
src: e(
|
|
108
|
+
$(e(z), {
|
|
109
|
+
src: e(v).avatarUrl,
|
|
111
110
|
size: 26
|
|
112
111
|
}, null, 8, ["src"]),
|
|
113
|
-
n("div",
|
|
114
|
-
n("span",
|
|
112
|
+
n("div", le, [
|
|
113
|
+
n("span", ie, c(`${e(v).userName || e(v).userId} (${e(_)("Me")})`), 1)
|
|
115
114
|
])
|
|
116
115
|
])) : p("", !0),
|
|
117
|
-
k.value ? (r(), F(
|
|
116
|
+
k.value ? (r(), F(W, {
|
|
118
117
|
key: 1,
|
|
119
|
-
"user-id": ((
|
|
120
|
-
"user-name": ((
|
|
121
|
-
"avatar-url": (
|
|
122
|
-
style:
|
|
118
|
+
"user-id": ((f = m.value) == null ? void 0 : f.userId) || "",
|
|
119
|
+
"user-name": ((A = m.value) == null ? void 0 : A.userName) || ((N = m.value) == null ? void 0 : N.userId) || "",
|
|
120
|
+
"avatar-url": (U = m.value) == null ? void 0 : U.avatarUrl,
|
|
121
|
+
style: V(I.value),
|
|
123
122
|
"click-target": g.value,
|
|
124
123
|
onClose: t[0] || (t[0] = (i) => k.value = !1)
|
|
125
124
|
}, null, 8, ["user-id", "user-name", "avatar-url", "style", "click-target"])) : p("", !0)
|
|
126
125
|
], 4);
|
|
127
126
|
};
|
|
128
127
|
}
|
|
129
|
-
}),
|
|
128
|
+
}), ke = /* @__PURE__ */ Y(oe, [["__scopeId", "data-v-924c6ef3"]]);
|
|
130
129
|
export {
|
|
131
|
-
|
|
130
|
+
ke as default
|
|
132
131
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as C, ref as c, computed as S, createElementBlock as o, openBlock as r, normalizeStyle as x, createElementVNode as l, createCommentVNode as p, Fragment as V, renderList as A, unref as s, createVNode as N, renderSlot as b, toDisplayString as a } from "vue";
|
|
2
2
|
import { useLoginState as z } from "../../states/LoginState.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import $ from "
|
|
3
|
+
import { useLiveAudienceState as B } from "../../states/LiveAudienceState.js";
|
|
4
|
+
import { useUIKit as O } from "@tencentcloud/uikit-base-component-vue3";
|
|
5
|
+
import U from "../Avatar/Avatar.js";
|
|
6
|
+
import { useLiveListState as $ } from "../../states/LiveListState/LiveListState.js";
|
|
7
7
|
import { _ as E } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const H = { class: "viewers-list" }, M = ["onClick"], T = { class: "viewer-info" }, D = { class: "viewer-name" }, F = {
|
|
9
9
|
key: 0,
|
|
@@ -18,7 +18,7 @@ const H = { class: "viewers-list" }, M = ["onClick"], T = { class: "viewer-info"
|
|
|
18
18
|
style: {}
|
|
19
19
|
},
|
|
20
20
|
setup(v) {
|
|
21
|
-
const { t: u } =
|
|
21
|
+
const { t: u } = O(), _ = c(null), d = v, { loginUserInfo: f } = z(), { audienceList: m, audienceCount: h } = B(), { currentLive: g } = $(), y = c(!1), L = c(null), k = c({}), w = S(() => {
|
|
22
22
|
var t, n;
|
|
23
23
|
return ((t = f.value) == null ? void 0 : t.userId) === ((n = g.value) == null ? void 0 : n.liveOwner.userId);
|
|
24
24
|
}), I = (t, n) => {
|
|
@@ -44,7 +44,7 @@ const H = { class: "viewers-list" }, M = ["onClick"], T = { class: "viewer-info"
|
|
|
44
44
|
class: "viewer-item",
|
|
45
45
|
onClick: (i) => I(e, i)
|
|
46
46
|
}, [
|
|
47
|
-
N(s(
|
|
47
|
+
N(s(U), {
|
|
48
48
|
src: e.avatarUrl,
|
|
49
49
|
size: 40
|
|
50
50
|
}, null, 8, ["src"]),
|
|
@@ -60,7 +60,7 @@ const H = { class: "viewers-list" }, M = ["onClick"], T = { class: "viewer-info"
|
|
|
60
60
|
])
|
|
61
61
|
], 4));
|
|
62
62
|
}
|
|
63
|
-
}), X = /* @__PURE__ */ E(R, [["__scopeId", "data-v-
|
|
63
|
+
}), X = /* @__PURE__ */ E(R, [["__scopeId", "data-v-0031b097"]]);
|
|
64
64
|
export {
|
|
65
65
|
X as default
|
|
66
66
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useUIKit as
|
|
3
|
-
import { useCoGuestState as
|
|
4
|
-
import { useLiveAudienceState as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
|
|
1
|
+
import { defineComponent as y, ref as F, computed as l, onMounted as D, onUnmounted as N, createElementBlock as c, openBlock as a, withModifiers as w, createElementVNode as u, createCommentVNode as E, createVNode as R, unref as T, toDisplayString as I, Fragment as x, renderList as K } from "vue";
|
|
2
|
+
import { useUIKit as V, TUIToast as k } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
|
+
import { useCoGuestState as B } from "../../states/CoGuestState.js";
|
|
4
|
+
import { useLiveAudienceState as G } from "../../states/LiveAudienceState.js";
|
|
5
|
+
import { useLoginState as z } from "../../states/LoginState.js";
|
|
6
|
+
import { useLiveSeatState as $ } from "../../states/LiveSeatState/index.js";
|
|
7
|
+
import j from "../Avatar/Avatar.js";
|
|
8
|
+
import { useLiveListState as q } from "../../states/LiveListState/LiveListState.js";
|
|
9
|
+
import { _ as H } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
const J = { class: "action-menu-content" }, P = { class: "action-menu-header" }, Q = { class: "user-info-simple" }, W = { class: "user-name-simple" }, X = {
|
|
10
11
|
key: 0,
|
|
11
12
|
class: "action-menu-list"
|
|
12
|
-
},
|
|
13
|
+
}, Y = ["onClick"], Z = /* @__PURE__ */ y({
|
|
13
14
|
__name: "UserActionMenu",
|
|
14
15
|
props: {
|
|
15
16
|
userId: {},
|
|
@@ -18,85 +19,77 @@ const Q = { class: "action-menu-content" }, W = { class: "action-menu-header" },
|
|
|
18
19
|
clickTarget: {}
|
|
19
20
|
},
|
|
20
21
|
emits: ["close"],
|
|
21
|
-
setup(
|
|
22
|
-
const { t:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
disconnect: M
|
|
28
|
-
} = $(), { disableSendMessage: v, audienceList: O, kickUserOutOfRoom: S } = j(), { loginUserInfo: A } = H(), y = d(() => O.value.find((e) => e.userId === t.userId)), F = d(() => {
|
|
29
|
-
var e, s;
|
|
30
|
-
return ((e = A.value) == null ? void 0 : e.userId) === ((s = _.value) == null ? void 0 : s.liveOwner.userId);
|
|
31
|
-
}), I = d(() => {
|
|
32
|
-
var r;
|
|
22
|
+
setup(r, { emit: g }) {
|
|
23
|
+
const { t: o } = V(), d = F(), m = g, n = r, { currentLive: _ } = q(), { connected: h } = B(), { kickUserOutOfSeat: b } = $(), { disableSendMessage: f, audienceList: U, kickUserOutOfRoom: M } = G(), { loginUserInfo: S } = z(), O = l(() => U.value.find((e) => e.userId === n.userId)), L = l(() => {
|
|
24
|
+
var e, t;
|
|
25
|
+
return ((e = S.value) == null ? void 0 : e.userId) === ((t = _.value) == null ? void 0 : t.liveOwner.userId);
|
|
26
|
+
}), v = l(() => {
|
|
27
|
+
var i;
|
|
33
28
|
const e = [];
|
|
34
|
-
if (!
|
|
29
|
+
if (!L.value)
|
|
35
30
|
return [];
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
return n || e.push({
|
|
40
|
-
label: i("Mute"),
|
|
31
|
+
const t = h.value.some((A) => A.userId === n.userId), s = (i = O.value) == null ? void 0 : i.isMessageDisabled;
|
|
32
|
+
return s || e.push({
|
|
33
|
+
label: o("Mute"),
|
|
41
34
|
action: "disableSendMessage",
|
|
42
|
-
actionFn: () =>
|
|
43
|
-
}),
|
|
44
|
-
label:
|
|
35
|
+
actionFn: () => f({ userId: n.userId, isDisable: !0 })
|
|
36
|
+
}), s && e.push({
|
|
37
|
+
label: o("Unmute"),
|
|
45
38
|
action: "disableSendMessage",
|
|
46
|
-
actionFn: () =>
|
|
47
|
-
}),
|
|
48
|
-
label:
|
|
39
|
+
actionFn: () => f({ userId: n.userId, isDisable: !1 })
|
|
40
|
+
}), t && e.push({ label: o("Kick out"), action: "disconnect", actionFn: () => b({ userId: n.userId }) }), e.push({
|
|
41
|
+
label: o("Kick out of room"),
|
|
49
42
|
action: "kickUserOutOfRoom",
|
|
50
|
-
actionFn: () =>
|
|
43
|
+
actionFn: () => M({ userId: n.userId })
|
|
51
44
|
}), e;
|
|
52
|
-
}),
|
|
45
|
+
}), C = async (e) => {
|
|
53
46
|
try {
|
|
54
|
-
await e.actionFn(),
|
|
55
|
-
message:
|
|
47
|
+
await e.actionFn(), k.success({
|
|
48
|
+
message: o("Operation successful")
|
|
56
49
|
});
|
|
57
|
-
} catch (
|
|
58
|
-
console.error("Action failed:",
|
|
59
|
-
message:
|
|
50
|
+
} catch (t) {
|
|
51
|
+
console.error("Action failed:", t), k.error({
|
|
52
|
+
message: o("Operation failed")
|
|
60
53
|
});
|
|
61
54
|
}
|
|
62
|
-
|
|
55
|
+
m("close");
|
|
63
56
|
}, p = (e) => {
|
|
64
|
-
var
|
|
65
|
-
const
|
|
66
|
-
!((
|
|
57
|
+
var s, i;
|
|
58
|
+
const t = e.target;
|
|
59
|
+
!((s = d.value) != null && s.contains(t)) && !((i = n.clickTarget) != null && i.contains(t)) && m("close");
|
|
67
60
|
};
|
|
68
|
-
return
|
|
61
|
+
return D(() => {
|
|
69
62
|
document.addEventListener("click", p);
|
|
70
|
-
}),
|
|
63
|
+
}), N(() => {
|
|
71
64
|
document.removeEventListener("click", p);
|
|
72
|
-
}), (e,
|
|
65
|
+
}), (e, t) => (a(), c("div", {
|
|
73
66
|
ref_key: "actionMenuRef",
|
|
74
|
-
ref:
|
|
67
|
+
ref: d,
|
|
75
68
|
class: "user-action-menu",
|
|
76
|
-
onClick:
|
|
69
|
+
onClick: t[0] || (t[0] = w(() => {
|
|
77
70
|
}, ["stop"]))
|
|
78
71
|
}, [
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
src:
|
|
72
|
+
u("div", J, [
|
|
73
|
+
u("div", P, [
|
|
74
|
+
u("div", Q, [
|
|
75
|
+
R(T(j), {
|
|
76
|
+
src: r.avatarUrl,
|
|
84
77
|
size: 26
|
|
85
78
|
}, null, 8, ["src"]),
|
|
86
|
-
|
|
79
|
+
u("span", W, I(r.userName || r.userId), 1)
|
|
87
80
|
])
|
|
88
81
|
]),
|
|
89
|
-
|
|
90
|
-
(
|
|
91
|
-
key:
|
|
82
|
+
v.value.length > 0 ? (a(), c("div", X, [
|
|
83
|
+
(a(!0), c(x, null, K(v.value, (s) => (a(), c("button", {
|
|
84
|
+
key: s.label,
|
|
92
85
|
class: "action-menu-item",
|
|
93
|
-
onClick: (
|
|
94
|
-
},
|
|
95
|
-
])) :
|
|
86
|
+
onClick: (i) => C(s)
|
|
87
|
+
}, I(s.label), 9, Y))), 128))
|
|
88
|
+
])) : E("", !0)
|
|
96
89
|
])
|
|
97
90
|
], 512));
|
|
98
91
|
}
|
|
99
|
-
}),
|
|
92
|
+
}), ue = /* @__PURE__ */ H(Z, [["__scopeId", "data-v-938908ee"]]);
|
|
100
93
|
export {
|
|
101
|
-
|
|
94
|
+
ue as default
|
|
102
95
|
};
|