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
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useUIKit as
|
|
3
|
-
import { c as
|
|
4
|
-
import { View as
|
|
1
|
+
import { defineComponent as B, useCssModule as O, ref as M, computed as f, createBlock as z, openBlock as N, unref as r, withCtx as g, createElementVNode as $, createVNode as m, normalizeClass as I, renderSlot as F } from "vue";
|
|
2
|
+
import { useUIKit as K, IconVideoDefault as X, TUIDialog as Y } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
|
+
import { c as Z } from "../../../index-DPczIrgX.js";
|
|
4
|
+
import { View as j } from "../../../baseComp/View/index.js";
|
|
5
5
|
import { ConversationType as _ } from "../../../types/engine.js";
|
|
6
6
|
import { startCall as k } from "../../../utils/call.js";
|
|
7
|
-
import { UserPicker as
|
|
8
|
-
import { useGroupSettingState as
|
|
9
|
-
import { useConversationListState as
|
|
10
|
-
import { _ as
|
|
11
|
-
const y = 2,
|
|
7
|
+
import { UserPicker as q } from "../../UserPicker/index.js";
|
|
8
|
+
import { useGroupSettingState as H } from "../../../states/GroupSettingState/GroupSettingState.js";
|
|
9
|
+
import { useConversationListState as J } from "../../../states/ConversationListState/ConversationListState.js";
|
|
10
|
+
import { _ as Q } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const y = 2, W = 80, ee = 9, oe = 1, te = /* @__PURE__ */ B({
|
|
12
12
|
__name: "VideoCallPicker",
|
|
13
13
|
props: {
|
|
14
14
|
label: { default: "" },
|
|
@@ -16,26 +16,24 @@ const y = 2, Q = 80, W = 9, ee = 1, oe = /* @__PURE__ */ A({
|
|
|
16
16
|
disabled: { type: Boolean, default: !1 }
|
|
17
17
|
},
|
|
18
18
|
setup(G) {
|
|
19
|
-
const s = G, n =
|
|
19
|
+
const s = G, n = O(), { t: i } = K(), { activeConversation: l } = J(), { allMembers: v, getGroupMemberList: D, memberCount: P, currentUserID: h } = H(), c = M(!1), u = M(), E = f(
|
|
20
20
|
() => {
|
|
21
21
|
var e;
|
|
22
|
-
return ((e =
|
|
22
|
+
return ((e = l.value) == null ? void 0 : e.type) === _.C2C;
|
|
23
23
|
}
|
|
24
|
-
),
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
), L = f(() => !(!r.value || s.disabled));
|
|
24
|
+
), U = f(() => {
|
|
25
|
+
var o;
|
|
26
|
+
return (((o = v.value) == null ? void 0 : o.map((t) => ({
|
|
27
|
+
key: t.userID,
|
|
28
|
+
label: t.nick || t.userID,
|
|
29
|
+
avatarUrl: t.avatar
|
|
30
|
+
}))) ?? []).filter((t) => t.key !== h.value);
|
|
31
|
+
}), L = f(() => !(!l.value || s.disabled));
|
|
34
32
|
function S() {
|
|
35
33
|
var e, o;
|
|
36
|
-
return (o = (e =
|
|
34
|
+
return (o = (e = l.value) == null ? void 0 : e.userProfile) == null ? void 0 : o.userID;
|
|
37
35
|
}
|
|
38
|
-
function
|
|
36
|
+
function R() {
|
|
39
37
|
const e = S();
|
|
40
38
|
if (!e) {
|
|
41
39
|
console.warn("No peer user ID found for private call");
|
|
@@ -52,24 +50,24 @@ const y = 2, Q = 80, W = 9, ee = 1, oe = /* @__PURE__ */ A({
|
|
|
52
50
|
}
|
|
53
51
|
}
|
|
54
52
|
function C() {
|
|
55
|
-
var
|
|
56
|
-
if (((
|
|
53
|
+
var t, a;
|
|
54
|
+
if (((t = l.value) == null ? void 0 : t.type) !== _.GROUP)
|
|
57
55
|
return;
|
|
58
|
-
const e = ((
|
|
59
|
-
e < o &&
|
|
60
|
-
count:
|
|
56
|
+
const e = ((a = v.value) == null ? void 0 : a.length) || 0, o = P.value || 0;
|
|
57
|
+
e < o && D({
|
|
58
|
+
count: W,
|
|
61
59
|
offset: e
|
|
62
60
|
});
|
|
63
61
|
}
|
|
64
|
-
function
|
|
62
|
+
function V() {
|
|
65
63
|
C(), c.value = !0;
|
|
66
64
|
}
|
|
67
|
-
function
|
|
65
|
+
function d() {
|
|
68
66
|
c.value = !1;
|
|
69
67
|
}
|
|
70
|
-
function
|
|
71
|
-
var
|
|
72
|
-
const e = (b = (
|
|
68
|
+
function w() {
|
|
69
|
+
var a, b;
|
|
70
|
+
const e = (b = (a = l.value) == null ? void 0 : a.groupProfile) == null ? void 0 : b.groupID;
|
|
73
71
|
if (!u.value || !e) {
|
|
74
72
|
console.warn("Missing group information for group call");
|
|
75
73
|
return;
|
|
@@ -79,65 +77,65 @@ const y = 2, Q = 80, W = 9, ee = 1, oe = /* @__PURE__ */ A({
|
|
|
79
77
|
console.warn("No members selected for group call");
|
|
80
78
|
return;
|
|
81
79
|
}
|
|
82
|
-
const
|
|
80
|
+
const t = o.map((p) => p.key);
|
|
83
81
|
try {
|
|
84
82
|
k({
|
|
85
|
-
userIDList:
|
|
83
|
+
userIDList: t,
|
|
86
84
|
chatGroupID: e,
|
|
87
85
|
type: y
|
|
88
|
-
}),
|
|
89
|
-
} catch (
|
|
90
|
-
console.error("Failed to start group video call:",
|
|
86
|
+
}), d();
|
|
87
|
+
} catch (p) {
|
|
88
|
+
console.error("Failed to start group video call:", p);
|
|
91
89
|
}
|
|
92
90
|
}
|
|
93
|
-
function
|
|
91
|
+
function x() {
|
|
94
92
|
if (!L.value) {
|
|
95
93
|
console.warn("Cannot start video call");
|
|
96
94
|
return;
|
|
97
95
|
}
|
|
98
|
-
|
|
96
|
+
E.value ? R() : V();
|
|
99
97
|
}
|
|
100
|
-
const
|
|
98
|
+
const T = () => {
|
|
101
99
|
var e;
|
|
102
|
-
((e =
|
|
103
|
-
},
|
|
104
|
-
return (e, o) => (
|
|
100
|
+
((e = l.value) == null ? void 0 : e.type) === _.GROUP && C();
|
|
101
|
+
}, A = () => w();
|
|
102
|
+
return (e, o) => (N(), z(r(j), null, {
|
|
105
103
|
default: g(() => [
|
|
106
|
-
|
|
107
|
-
class: I(
|
|
108
|
-
[
|
|
104
|
+
$("div", {
|
|
105
|
+
class: I(r(Z)(r(n)["video-call-picker__button"], {
|
|
106
|
+
[r(n).disabled]: s.disabled
|
|
109
107
|
})),
|
|
110
|
-
onClick:
|
|
108
|
+
onClick: x
|
|
111
109
|
}, [
|
|
112
|
-
|
|
113
|
-
m(
|
|
110
|
+
F(e.$slots, "default", {}, () => [
|
|
111
|
+
m(r(X), {
|
|
114
112
|
size: s.iconSize,
|
|
115
|
-
class: I(
|
|
113
|
+
class: I(r(n)["video-call-picker__icon"])
|
|
116
114
|
}, null, 8, ["size", "class"])
|
|
117
115
|
])
|
|
118
116
|
], 2),
|
|
119
|
-
m(
|
|
117
|
+
m(r(Y), {
|
|
120
118
|
visible: c.value,
|
|
121
|
-
title:
|
|
122
|
-
cancelText:
|
|
123
|
-
cancel:
|
|
124
|
-
close:
|
|
125
|
-
confirmText:
|
|
126
|
-
confirm:
|
|
119
|
+
title: r(i)("MessageInput.select_call_members"),
|
|
120
|
+
cancelText: r(i)("MessageInput.cancel"),
|
|
121
|
+
cancel: d,
|
|
122
|
+
close: d,
|
|
123
|
+
confirmText: r(i)("MessageInput.initiate_call"),
|
|
124
|
+
confirm: A,
|
|
127
125
|
customClasses: ["group-call-dialog"],
|
|
128
126
|
appendTo: "body"
|
|
129
127
|
}, {
|
|
130
128
|
default: g(() => [
|
|
131
|
-
m(
|
|
129
|
+
m(r(q), {
|
|
132
130
|
ref_key: "groupMemberPickerRef",
|
|
133
131
|
ref: u,
|
|
134
132
|
"display-mode": "list",
|
|
135
|
-
"data-source":
|
|
136
|
-
"max-count":
|
|
137
|
-
"min-count":
|
|
133
|
+
"data-source": U.value,
|
|
134
|
+
"max-count": ee,
|
|
135
|
+
"min-count": oe,
|
|
138
136
|
class: "group-member-picker",
|
|
139
137
|
style: { width: "100%" },
|
|
140
|
-
onReachEnd:
|
|
138
|
+
onReachEnd: T
|
|
141
139
|
}, null, 8, ["data-source"])
|
|
142
140
|
]),
|
|
143
141
|
_: 1
|
|
@@ -146,13 +144,13 @@ const y = 2, Q = 80, W = 9, ee = 1, oe = /* @__PURE__ */ A({
|
|
|
146
144
|
_: 3
|
|
147
145
|
}));
|
|
148
146
|
}
|
|
149
|
-
}),
|
|
147
|
+
}), re = "_disabled_18fa2_16", le = {
|
|
150
148
|
"video-call-picker__button": "_video-call-picker__button_18fa2_1",
|
|
151
|
-
disabled:
|
|
149
|
+
disabled: re,
|
|
152
150
|
"video-call-picker__icon": "_video-call-picker__icon_18fa2_22"
|
|
153
|
-
},
|
|
154
|
-
$style:
|
|
155
|
-
},
|
|
151
|
+
}, ae = {
|
|
152
|
+
$style: le
|
|
153
|
+
}, ve = /* @__PURE__ */ Q(te, [["__cssModules", ae]]);
|
|
156
154
|
export {
|
|
157
|
-
|
|
155
|
+
ve as default
|
|
158
156
|
};
|
|
@@ -5,7 +5,7 @@ declare const MessageInput: {
|
|
|
5
5
|
};
|
|
6
6
|
placeholder: {
|
|
7
7
|
type: import('vue').PropType<string>;
|
|
8
|
-
default:
|
|
8
|
+
default: undefined;
|
|
9
9
|
};
|
|
10
10
|
disabled: {
|
|
11
11
|
type: import('vue').PropType<boolean>;
|
|
@@ -15,6 +15,10 @@ declare const MessageInput: {
|
|
|
15
15
|
type: import('vue').PropType<boolean>;
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
|
+
maxLength: {
|
|
19
|
+
type: import('vue').PropType<number>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
18
22
|
actions: {
|
|
19
23
|
type: import('vue').PropType<import('./types').MessageInputActions>;
|
|
20
24
|
default: () => string[];
|
|
@@ -31,6 +35,7 @@ declare const MessageInput: {
|
|
|
31
35
|
placeholder: string;
|
|
32
36
|
disabled: boolean;
|
|
33
37
|
autoFocus: boolean;
|
|
38
|
+
maxLength: number;
|
|
34
39
|
actions: import('./types').MessageInputActions;
|
|
35
40
|
attachmentPickerMode: import('./types').MessageInputAttachmentPickerMode;
|
|
36
41
|
hideSendButton: boolean;
|
|
@@ -47,7 +52,7 @@ declare const MessageInput: {
|
|
|
47
52
|
};
|
|
48
53
|
placeholder: {
|
|
49
54
|
type: import('vue').PropType<string>;
|
|
50
|
-
default:
|
|
55
|
+
default: undefined;
|
|
51
56
|
};
|
|
52
57
|
disabled: {
|
|
53
58
|
type: import('vue').PropType<boolean>;
|
|
@@ -57,6 +62,10 @@ declare const MessageInput: {
|
|
|
57
62
|
type: import('vue').PropType<boolean>;
|
|
58
63
|
default: boolean;
|
|
59
64
|
};
|
|
65
|
+
maxLength: {
|
|
66
|
+
type: import('vue').PropType<number>;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
60
69
|
actions: {
|
|
61
70
|
type: import('vue').PropType<import('./types').MessageInputActions>;
|
|
62
71
|
default: () => string[];
|
|
@@ -73,6 +82,7 @@ declare const MessageInput: {
|
|
|
73
82
|
placeholder: string;
|
|
74
83
|
disabled: boolean;
|
|
75
84
|
autoFocus: boolean;
|
|
85
|
+
maxLength: number;
|
|
76
86
|
actions: import('./types').MessageInputActions;
|
|
77
87
|
attachmentPickerMode: import('./types').MessageInputAttachmentPickerMode;
|
|
78
88
|
hideSendButton: boolean;
|
|
@@ -86,7 +96,7 @@ declare const MessageInput: {
|
|
|
86
96
|
};
|
|
87
97
|
placeholder: {
|
|
88
98
|
type: import('vue').PropType<string>;
|
|
89
|
-
default:
|
|
99
|
+
default: undefined;
|
|
90
100
|
};
|
|
91
101
|
disabled: {
|
|
92
102
|
type: import('vue').PropType<boolean>;
|
|
@@ -96,6 +106,10 @@ declare const MessageInput: {
|
|
|
96
106
|
type: import('vue').PropType<boolean>;
|
|
97
107
|
default: boolean;
|
|
98
108
|
};
|
|
109
|
+
maxLength: {
|
|
110
|
+
type: import('vue').PropType<number>;
|
|
111
|
+
default: undefined;
|
|
112
|
+
};
|
|
99
113
|
actions: {
|
|
100
114
|
type: import('vue').PropType<import('./types').MessageInputActions>;
|
|
101
115
|
default: () => string[];
|
|
@@ -112,6 +126,7 @@ declare const MessageInput: {
|
|
|
112
126
|
placeholder: string;
|
|
113
127
|
disabled: boolean;
|
|
114
128
|
autoFocus: boolean;
|
|
129
|
+
maxLength: number;
|
|
115
130
|
actions: import('./types').MessageInputActions;
|
|
116
131
|
attachmentPickerMode: import('./types').MessageInputAttachmentPickerMode;
|
|
117
132
|
hideSendButton: boolean;
|
|
@@ -402,7 +417,7 @@ declare const TextEditor: {
|
|
|
402
417
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
403
418
|
placeholder: {
|
|
404
419
|
type: import('vue').PropType<string>;
|
|
405
|
-
default:
|
|
420
|
+
default: undefined;
|
|
406
421
|
};
|
|
407
422
|
disabled: {
|
|
408
423
|
type: import('vue').PropType<boolean>;
|
|
@@ -412,10 +427,15 @@ declare const TextEditor: {
|
|
|
412
427
|
type: import('vue').PropType<boolean>;
|
|
413
428
|
default: boolean;
|
|
414
429
|
};
|
|
430
|
+
maxLength: {
|
|
431
|
+
type: import('vue').PropType<number>;
|
|
432
|
+
default: undefined;
|
|
433
|
+
};
|
|
415
434
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
416
435
|
placeholder: string;
|
|
417
436
|
disabled: boolean;
|
|
418
437
|
autoFocus: boolean;
|
|
438
|
+
maxLength: number;
|
|
419
439
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
420
440
|
P: {};
|
|
421
441
|
B: {};
|
|
@@ -426,7 +446,7 @@ declare const TextEditor: {
|
|
|
426
446
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
427
447
|
placeholder: {
|
|
428
448
|
type: import('vue').PropType<string>;
|
|
429
|
-
default:
|
|
449
|
+
default: undefined;
|
|
430
450
|
};
|
|
431
451
|
disabled: {
|
|
432
452
|
type: import('vue').PropType<boolean>;
|
|
@@ -436,10 +456,15 @@ declare const TextEditor: {
|
|
|
436
456
|
type: import('vue').PropType<boolean>;
|
|
437
457
|
default: boolean;
|
|
438
458
|
};
|
|
459
|
+
maxLength: {
|
|
460
|
+
type: import('vue').PropType<number>;
|
|
461
|
+
default: undefined;
|
|
462
|
+
};
|
|
439
463
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
440
464
|
placeholder: string;
|
|
441
465
|
disabled: boolean;
|
|
442
466
|
autoFocus: boolean;
|
|
467
|
+
maxLength: number;
|
|
443
468
|
}>;
|
|
444
469
|
__isFragment?: never;
|
|
445
470
|
__isTeleport?: never;
|
|
@@ -447,7 +472,7 @@ declare const TextEditor: {
|
|
|
447
472
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
448
473
|
placeholder: {
|
|
449
474
|
type: import('vue').PropType<string>;
|
|
450
|
-
default:
|
|
475
|
+
default: undefined;
|
|
451
476
|
};
|
|
452
477
|
disabled: {
|
|
453
478
|
type: import('vue').PropType<boolean>;
|
|
@@ -457,10 +482,15 @@ declare const TextEditor: {
|
|
|
457
482
|
type: import('vue').PropType<boolean>;
|
|
458
483
|
default: boolean;
|
|
459
484
|
};
|
|
485
|
+
maxLength: {
|
|
486
|
+
type: import('vue').PropType<number>;
|
|
487
|
+
default: undefined;
|
|
488
|
+
};
|
|
460
489
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
461
490
|
placeholder: string;
|
|
462
491
|
disabled: boolean;
|
|
463
492
|
autoFocus: boolean;
|
|
493
|
+
maxLength: number;
|
|
464
494
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
465
495
|
$slots: {
|
|
466
496
|
inputPrefix?(_: {}): any;
|
|
@@ -6,7 +6,7 @@ import n from "./EmojiPicker/EmojiPicker.js";
|
|
|
6
6
|
import { TextEditor as c } from "./TextEditor/index.js";
|
|
7
7
|
import s from "./AudioCallPicker/AudioCallPicker.js";
|
|
8
8
|
import a from "./VideoCallPicker/VideoCallPicker.js";
|
|
9
|
-
import { _ as p } from "../../MessageInput.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as p } from "../../MessageInput.vue_vue_type_script_setup_true_lang-jPzZ5INK.js";
|
|
10
10
|
import { addI18n as o } from "../../i18n/index.js";
|
|
11
11
|
import { resources as t } from "./i18n/index.js";
|
|
12
12
|
o("en-US", { translation: { MessageInput: t["en-US"] } });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as g, computed as
|
|
2
|
-
import { _ as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as g, computed as l, createElementBlock as a, openBlock as n, normalizeStyle as i, Fragment as w, renderList as C, unref as b, normalizeClass as y } from "vue";
|
|
2
|
+
import { _ as k } from "../../../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const x = /* @__PURE__ */ g({
|
|
4
4
|
__name: "WaveForm",
|
|
5
5
|
props: {
|
|
6
6
|
progress: {},
|
|
@@ -9,41 +9,31 @@ const F = /* @__PURE__ */ g({
|
|
|
9
9
|
},
|
|
10
10
|
emits: ["seek"],
|
|
11
11
|
setup(m, { emit: u }) {
|
|
12
|
-
const
|
|
13
|
-
width: typeof
|
|
14
|
-
})),
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
return (t.progress || 0) >= r;
|
|
24
|
-
}, v = i(() => ({
|
|
25
|
-
left: `${(t.progress || 0) * 100}%`
|
|
26
|
-
})), h = (e) => {
|
|
27
|
-
const s = e.currentTarget.getBoundingClientRect(), _ = (e.clientX - s.left) / s.width, w = Math.max(0, Math.min(1, _));
|
|
28
|
-
d("seek", w);
|
|
12
|
+
const e = m, f = u, d = l(() => ({
|
|
13
|
+
width: typeof e.width == "number" ? `${e.width}px` : e.width
|
|
14
|
+
})), p = Array.from({ length: e.barsCount }, () => Math.random() * 16 + 4), v = l(() => {
|
|
15
|
+
const t = e.progress || 0;
|
|
16
|
+
return t === 0 ? Array(e.barsCount).fill(!1) : Array.from({ length: e.barsCount }, (r, s) => {
|
|
17
|
+
const o = s / e.barsCount;
|
|
18
|
+
return t >= o;
|
|
19
|
+
});
|
|
20
|
+
}), _ = (t) => {
|
|
21
|
+
const r = t.currentTarget.getBoundingClientRect(), o = (t.clientX - r.left) / r.width, h = Math.max(0, Math.min(1, o));
|
|
22
|
+
f("seek", h);
|
|
29
23
|
};
|
|
30
|
-
return (
|
|
24
|
+
return (t, c) => (n(), a("div", {
|
|
31
25
|
class: "wave-form",
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
style: i(d.value),
|
|
27
|
+
onClick: _
|
|
34
28
|
}, [
|
|
35
|
-
(n(!0), a(
|
|
36
|
-
key:
|
|
37
|
-
class:
|
|
38
|
-
style:
|
|
39
|
-
}, null, 6))), 128))
|
|
40
|
-
C("div", {
|
|
41
|
-
class: "wave-form__cursor",
|
|
42
|
-
style: c(v.value)
|
|
43
|
-
}, null, 4)
|
|
29
|
+
(n(!0), a(w, null, C(b(p), (r, s) => (n(), a("div", {
|
|
30
|
+
key: s,
|
|
31
|
+
class: y(["wave-form__bar", { "wave-form__bar--active": v.value[s] }]),
|
|
32
|
+
style: i({ height: `${r}px` })
|
|
33
|
+
}, null, 6))), 128))
|
|
44
34
|
], 4));
|
|
45
35
|
}
|
|
46
|
-
}),
|
|
36
|
+
}), F = /* @__PURE__ */ k(x, [["__scopeId", "data-v-93c67ced"]]);
|
|
47
37
|
export {
|
|
48
|
-
|
|
38
|
+
F as default
|
|
49
39
|
};
|
|
@@ -1,60 +1,61 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { IconCall1Filled as
|
|
3
|
-
import { View as
|
|
4
|
-
import { ConversationType as
|
|
5
|
-
import { parseCallMessageText as
|
|
6
|
-
import { useConversationListState as
|
|
7
|
-
import { _ as
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as k, useCssModule as x, computed as u, createBlock as l, unref as e, openBlock as c, normalizeClass as o, withCtx as _, createTextVNode as p, toDisplayString as g } from "vue";
|
|
2
|
+
import { useUIKit as z, IconCall1Filled as M, IconVideoDefaultFilled as I } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
|
+
import { View as d } from "../../../../../baseComp/View/index.js";
|
|
4
|
+
import { ConversationType as f } from "../../../../../types/engine.js";
|
|
5
|
+
import { parseCallMessageText as T, parseCallMessage as D, startCall as w } from "../../../../../utils/call.js";
|
|
6
|
+
import { useConversationListState as V } from "../../../../../states/ConversationListState/ConversationListState.js";
|
|
7
|
+
import { _ as h } from "../../../../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
+
const B = /* @__PURE__ */ k({
|
|
9
9
|
__name: "CallMessage",
|
|
10
10
|
props: {
|
|
11
11
|
message: {}
|
|
12
12
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const s =
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
setup(C) {
|
|
14
|
+
const s = C, { t: y } = z(), a = x(), { activeConversation: n } = V(), i = u(() => T(s.message, y)), t = u(() => D(s.message)), v = () => {
|
|
15
|
+
var r;
|
|
16
|
+
!n.value || !t.value || s.message.conversationType === f.GROUP || w({
|
|
17
|
+
type: t.value.data.data.call_type,
|
|
18
|
+
userIDList: [(r = n.value.userProfile) == null ? void 0 : r.userID]
|
|
18
19
|
});
|
|
19
20
|
};
|
|
20
|
-
return (
|
|
21
|
+
return (r, P) => s.message.conversationType === e(f).C2C ? (c(), l(e(d), {
|
|
21
22
|
key: 0,
|
|
22
23
|
gap: 8,
|
|
23
24
|
dir: "row",
|
|
24
25
|
class: o(e(a)["call-message-c2c"]),
|
|
25
|
-
onClick:
|
|
26
|
+
onClick: v
|
|
26
27
|
}, {
|
|
27
|
-
default:
|
|
28
|
-
var
|
|
28
|
+
default: _(() => {
|
|
29
|
+
var m;
|
|
29
30
|
return [
|
|
30
|
-
((
|
|
31
|
+
((m = t.value) == null ? void 0 : m.data.data.call_type) === 1 ? (c(), l(e(M), {
|
|
31
32
|
key: 0,
|
|
32
33
|
class: o(e(a)["call-message-c2c__icon"])
|
|
33
|
-
}, null, 8, ["class"])) : (
|
|
34
|
+
}, null, 8, ["class"])) : (c(), l(e(I), {
|
|
34
35
|
key: 1,
|
|
35
36
|
class: o(e(a)["call-message-c2c__icon"])
|
|
36
37
|
}, null, 8, ["class"])),
|
|
37
|
-
|
|
38
|
+
p(" " + g(i.value), 1)
|
|
38
39
|
];
|
|
39
40
|
}),
|
|
40
41
|
_: 1
|
|
41
|
-
}, 8, ["class"])) : (
|
|
42
|
+
}, 8, ["class"])) : (c(), l(e(d), {
|
|
42
43
|
key: 1,
|
|
43
44
|
class: o(e(a)["call-message-group"])
|
|
44
45
|
}, {
|
|
45
|
-
default:
|
|
46
|
-
|
|
46
|
+
default: _(() => [
|
|
47
|
+
p(g(i.value), 1)
|
|
47
48
|
]),
|
|
48
49
|
_: 1
|
|
49
50
|
}, 8, ["class"]));
|
|
50
51
|
}
|
|
51
|
-
}),
|
|
52
|
+
}), F = {
|
|
52
53
|
"call-message-c2c": "_call-message-c2c_u2zzk_1",
|
|
53
54
|
"call-message-c2c__icon": "_call-message-c2c__icon_u2zzk_7",
|
|
54
55
|
"call-message-group": "_call-message-group_u2zzk_11"
|
|
55
|
-
},
|
|
56
|
-
$style:
|
|
57
|
-
},
|
|
56
|
+
}, L = {
|
|
57
|
+
$style: F
|
|
58
|
+
}, O = /* @__PURE__ */ h(B, [["__cssModules", L]]);
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
+
O as default
|
|
60
61
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as a,
|
|
2
|
-
import { useUIKit as
|
|
3
|
-
import { c as
|
|
4
|
-
import { ConversationType as
|
|
5
|
-
import { isCallMessage as
|
|
6
|
-
import { resolveGroupTipMessage as
|
|
7
|
-
const
|
|
1
|
+
import { defineComponent as a, computed as n, createElementBlock as p, openBlock as m, normalizeClass as i, unref as g, toDisplayString as c } from "vue";
|
|
2
|
+
import { useUIKit as u } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
|
+
import { c as l } from "../../../../index-DPczIrgX.js";
|
|
4
|
+
import { ConversationType as f } from "../../../../types/engine.js";
|
|
5
|
+
import { isCallMessage as _, parseCallMessageText as C } from "../../../../utils/call.js";
|
|
6
|
+
import { resolveGroupTipMessage as M } from "./resolveGroupTipMessage.js";
|
|
7
|
+
const B = /* @__PURE__ */ a({
|
|
8
8
|
__name: "GroupTipMessage",
|
|
9
9
|
props: {
|
|
10
10
|
message: {}
|
|
11
11
|
},
|
|
12
|
-
setup(
|
|
13
|
-
const e =
|
|
14
|
-
return (
|
|
15
|
-
class:
|
|
16
|
-
},
|
|
12
|
+
setup(o) {
|
|
13
|
+
const e = o, { t: s } = u(), r = e.message.getMessageContent(), t = n(() => r.businessID === "group_create" ? `${r.showName || ""} ${s("MessageList.create_group")}` : _(e.message) && e.message.conversationType === f.GROUP ? C(e.message, s) : M(e.message).text);
|
|
14
|
+
return (T, v) => (m(), p("div", {
|
|
15
|
+
class: i(g(l)("group-tip-message"))
|
|
16
|
+
}, c(t.value), 3));
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
B as GroupTipMessage
|
|
21
21
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as q, computed as D, provide as Se, inject as Pe, defineComponent as w, watch as te, h as ie, watchEffect as Be, markRaw as Oe, toRefs as $, createBlock as C, openBlock as h, unref as n, withCtx as g, createVNode as E, renderSlot as M, normalizeProps as x, guardReactiveProps as j, onMounted as ge, mergeDefaults as Ie, onUnmounted as Fe, mergeProps as A, nextTick as k, withModifiers as Ee, createElementBlock as N, Fragment as U, normalizeClass as Q, renderList as ke, normalizeStyle as Ae, createCommentVNode as ue, resolveDynamicComponent as de, createElementVNode as Te, toDisplayString as fe } from "vue";
|
|
2
2
|
import { useUIKit as Re } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
3
|
import { c as Z } from "../../../../../index-DPczIrgX.js";
|
|
4
|
-
import { i as De, l as xe, g as z, j as Ne, S as pe, u as _e, c as K, e as oe, m as $e, n as ce, b as Ke, a as T, F as Le, D as Ve, d as Ue, P as ze, T as je, f as Ge } from "../../../../../Teleport-
|
|
5
|
-
import { d as We, P as Xe, a as Ye, b as He, e as Je, c as G } from "../../../../../PopperContent-
|
|
6
|
-
import { g as Qe, i as Ze, a as ee, F as et, f as tt, L as ot, S as nt, I as rt } from "../../../../../utils-
|
|
4
|
+
import { i as De, l as xe, g as z, j as Ne, S as pe, u as _e, c as K, e as oe, m as $e, n as ce, b as Ke, a as T, F as Le, D as Ve, d as Ue, P as ze, T as je, f as Ge } from "../../../../../Teleport-D3gvcBbZ.js";
|
|
5
|
+
import { d as We, P as Xe, a as Ye, b as He, e as Je, c as G } from "../../../../../PopperContent-CQa08BXt.js";
|
|
6
|
+
import { g as Qe, i as Ze, a as ee, F as et, f as tt, L as ot, S as nt, I as rt } from "../../../../../utils-DuzSgmS6.js";
|
|
7
7
|
import { useMessageActions as at } from "../../../../../hooks/useMessageActions.js";
|
|
8
8
|
import { _ as st } from "../../../../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const lt = ["INPUT", "TEXTAREA"];
|