tuikit-atomicx-vue3 0.1.1 → 3.3.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-XRL7A5Gj.js +123 -0
- package/dist/{PopoverTrigger-ByOI-vdB.js → PopoverTrigger-BKOIHfdS.js} +1 -1
- package/dist/{PopperContent-BaiCn-CA.js → PopperContent-DtL7HVWz.js} +29 -21
- package/dist/baseComp/TuiSwitch.js +2 -2
- package/dist/baseComp/index.d.ts +0 -1
- package/dist/baseComp/index.js +1 -3
- package/dist/chat/index.d.ts +2230 -4090
- package/dist/chat/index.js +16 -8
- package/dist/components/Avatar/Avatar.js +35 -10
- package/dist/components/Avatar/Avatar.vue.d.ts +1 -1
- package/dist/components/BarrageInput/BarrageInput.vue.d.ts +2 -2
- package/dist/components/BarrageInput/BarrageInputH5.js +30 -10
- package/dist/components/BarrageInput/BarrageInputH5.vue.d.ts +2 -2
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +1 -1
- package/dist/components/BarrageInput/TextEditor/index.js +13 -5
- package/dist/components/BarrageInput/constants.d.ts +3 -0
- package/dist/components/BarrageInput/constants.js +6 -0
- package/dist/components/BarrageInput/i18n/en-US/index.d.ts +2 -0
- package/dist/components/BarrageInput/i18n/en-US/index.js +3 -1
- package/dist/components/BarrageInput/i18n/zh-CN/index.d.ts +2 -0
- package/dist/components/BarrageInput/i18n/zh-CN/index.js +3 -1
- package/dist/components/BarrageInput/index.d.ts +18 -18
- package/dist/components/BarrageList/BarrageList.js +5 -6
- package/dist/components/BarrageList/BarrageListH5.js +5 -6
- package/dist/components/BarrageList/Message/MessageLayout/MessageLayout.js +1 -1
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.js +5 -4
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.vue.d.ts +2 -2
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.js +7 -4
- package/dist/components/BarrageList/Message/TextMessage/TextMessage.js +1 -1
- package/dist/components/ChatSetting/ChatSetting.js +8 -11
- package/dist/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.js +2 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +2 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.js +2 -2
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.js +2 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.js +2 -2
- package/dist/components/ChatSetting/SettingItem/SettingItem.js +116 -89
- package/dist/components/ChatSetting/i18n/index.d.ts +191 -1
- package/dist/components/ChatSetting/i18n/index.js +3 -4
- package/dist/components/ChatSetting/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.js +78 -0
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.vue.d.ts +33 -0
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/ContactInfo.js +257 -0
- package/dist/components/ContactList/ContactInfo/ContactInfo.vue.d.ts +56 -0
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.js +96 -0
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.vue.d.ts +37 -0
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/FriendInfo/FriendInfo.js +228 -0
- package/dist/components/ContactList/ContactInfo/FriendInfo/FriendInfo.vue.d.ts +39 -0
- package/dist/components/ContactList/ContactInfo/FriendInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/FriendInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.js +101 -0
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.vue.d.ts +37 -0
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.js +154 -0
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.vue.d.ts +37 -0
- package/dist/components/ContactList/ContactInfo/GroupInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/GroupInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.js +141 -0
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.vue.d.ts +32 -0
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.js +122 -0
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.vue.d.ts +33 -0
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/index.d.ts +8 -0
- package/dist/components/ContactList/ContactInfo/index.js +18 -0
- package/dist/components/ContactList/ContactList.js +281 -0
- package/dist/components/ContactList/ContactList.vue.d.ts +41 -0
- package/dist/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.js +52 -0
- package/dist/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.vue.d.ts +25 -0
- package/dist/components/ContactList/ContactListItem/BlacklistItem/index.d.ts +1 -0
- package/dist/components/ContactList/ContactListItem/BlacklistItem/index.js +4 -0
- package/dist/components/ContactList/ContactListItem/ContactListItem.js +4 -0
- package/dist/components/ContactList/ContactListItem/ContactListItem.vue.d.ts +30 -0
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.js +76 -0
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.vue.d.ts +27 -0
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/index.d.ts +1 -0
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/index.js +4 -0
- package/dist/components/ContactList/ContactListItem/FriendItem/FriendItem.js +53 -0
- package/dist/components/ContactList/ContactListItem/FriendItem/FriendItem.vue.d.ts +25 -0
- package/dist/components/ContactList/ContactListItem/FriendItem/index.d.ts +1 -0
- package/dist/components/ContactList/ContactListItem/FriendItem/index.js +4 -0
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.js +79 -0
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.vue.d.ts +27 -0
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/index.d.ts +1 -0
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/index.js +4 -0
- package/dist/components/ContactList/ContactListItem/GroupItem/GroupItem.js +52 -0
- package/dist/components/ContactList/ContactListItem/GroupItem/GroupItem.vue.d.ts +25 -0
- package/dist/components/ContactList/ContactListItem/GroupItem/index.d.ts +1 -0
- package/dist/components/ContactList/ContactListItem/GroupItem/index.js +4 -0
- package/dist/components/ContactList/ContactListItem/index.d.ts +6 -0
- package/dist/components/ContactList/ContactListItem/index.js +95 -0
- package/dist/components/ContactList/ContactSearch/ContactSearch.js +85 -0
- package/dist/components/ContactList/ContactSearch/ContactSearch.vue.d.ts +8 -0
- package/dist/components/ContactList/ContactSearch/index.d.ts +1 -0
- package/dist/components/ContactList/ContactSearch/index.js +4 -0
- package/dist/components/ContactList/constants/const.d.ts +3 -0
- package/dist/components/ContactList/constants/const.js +6 -0
- package/dist/components/ContactList/hooks/index.d.ts +1 -0
- package/dist/components/ContactList/hooks/index.js +4 -0
- package/dist/components/ContactList/hooks/useContactList.d.ts +9 -0
- package/dist/components/ContactList/hooks/useContactList.js +18 -0
- package/dist/components/ContactList/i18n/en-US.d.ts +77 -0
- package/dist/components/ContactList/i18n/en-US.js +80 -0
- package/dist/components/ContactList/i18n/index.d.ts +4 -0
- package/dist/components/ContactList/i18n/index.js +6 -0
- package/dist/components/ContactList/i18n/zh-CN.d.ts +77 -0
- package/dist/components/ContactList/i18n/zh-CN.js +80 -0
- package/dist/components/ContactList/index.d.ts +310 -0
- package/dist/components/ContactList/index.js +16 -0
- package/dist/components/ConversationList/ConversationActions/ConversationActions.js +31 -46
- package/dist/components/ConversationList/ConversationActions/ConversationActions.vue.d.ts +1 -10
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +160 -100
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.vue.d.ts +0 -3
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.js +79 -17
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.vue.d.ts +6 -12
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.js +78 -158
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.vue.d.ts +5 -4
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.js +38 -207
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.vue.d.ts +3 -9
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.js +35 -23
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.vue.d.ts +2 -11
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/index.js +1 -2
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.d.ts +2 -7
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.js +6 -14
- package/dist/components/ConversationList/ConversationCreate/index.d.ts +0 -2
- package/dist/components/ConversationList/ConversationCreate/index.js +5 -9
- package/dist/components/ConversationList/ConversationList.js +51 -39
- package/dist/components/ConversationList/ConversationList.vue.d.ts +654 -1510
- package/dist/components/ConversationList/ConversationListContent/ConversationListContent.js +4 -4
- package/dist/components/ConversationList/ConversationListContent/ConversationListContent.vue.d.ts +1 -1
- package/dist/components/ConversationList/ConversationPlaceHolder/ConversationPlaceHolder.js +2 -2
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +596 -1404
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +1 -1
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +13 -29
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +146 -348
- package/dist/components/ConversationList/ConversationPreview/index.js +3 -3
- package/dist/components/ConversationList/ConversationPreview/utils.js +8 -8
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.js +5 -5
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.vue.d.ts +8 -8
- package/dist/components/ConversationList/hooks/useConversation.d.ts +6 -0
- package/dist/components/ConversationList/hooks/useConversation.js +20 -0
- package/dist/components/ConversationList/hooks/useConversationCreate.d.ts +5 -0
- package/dist/components/ConversationList/hooks/useConversationCreate.js +24 -0
- package/dist/components/ConversationList/i18n/en-US.d.ts +16 -0
- package/dist/components/ConversationList/i18n/en-US.js +25 -7
- package/dist/components/ConversationList/i18n/zh-CN.d.ts +16 -0
- package/dist/components/ConversationList/i18n/zh-CN.js +24 -6
- package/dist/components/ConversationList/index.d.ts +2096 -4595
- package/dist/components/{LiveStreamView → LiveCoreView}/DefaultStreamViewUI.js +1 -1
- package/dist/components/LiveCoreView/index.d.ts +4 -0
- package/dist/components/{LiveStreamView → LiveCoreView}/index.js +68 -74
- package/dist/components/LiveList/LiveList.js +71 -45
- package/dist/components/LiveList/LiveListH5.js +14 -15
- package/dist/components/LiveScenePanel/CameraSettingDialog.js +1 -2
- package/dist/components/LiveScenePanel/icons/AddIcon.js +2 -2
- package/dist/components/LiveScenePanel/icons/CameraIcon.js +2 -2
- package/dist/components/LiveScenePanel/icons/CameraMirror.js +2 -2
- package/dist/components/LiveScenePanel/icons/CameraUnmirror.js +2 -2
- package/dist/components/LiveScenePanel/icons/ImageIcon.js +2 -2
- package/dist/components/LiveScenePanel/icons/MoreIcon.js +2 -2
- package/dist/components/LiveScenePanel/icons/ScreenIcon.js +2 -2
- package/dist/components/MessageInput/AttachmentPicker/index.js +1 -1
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +1 -1
- package/dist/components/MessageInput/MessageInput.js +1 -1
- package/dist/components/MessageInput/QuotedMessagePreview/index.js +2 -2
- package/dist/components/MessageInput/SendButton/index.js +1 -1
- package/dist/components/MessageInput/TextEditor/index.js +6 -5
- package/dist/components/MessageInput/i18n/index.d.ts +24 -1
- package/dist/components/MessageInput/i18n/index.js +7 -8
- package/dist/components/MessageInput/index.d.ts +409 -6
- package/dist/components/MessageInput/index.js +23 -125
- package/dist/components/MessageList/Message/AudioMessage/PlayButton.js +3 -3
- package/dist/components/MessageList/Message/ImageMessage/ImageMessage.js +2 -2
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +3 -3
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.vue.d.ts +5 -5
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.js +1 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.js +34 -30
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.vue.d.ts +0 -10
- package/dist/components/MessageList/MessageForward/MessageForward.js +4 -4
- package/dist/components/MessageList/MessageList.js +66 -60
- package/dist/components/MessageList/MessageList.vue.d.ts +3 -3
- package/dist/components/MessageList/ScrollToBottom/ScrollToBottom.js +32 -0
- package/dist/components/MessageList/ScrollToBottom/ScrollToBottom.vue.d.ts +6 -0
- package/dist/components/MessageList/ScrollToBottom/index.d.ts +3 -0
- package/dist/components/MessageList/ScrollToBottom/index.js +4 -0
- package/dist/components/MessageList/i18n/en-US.d.ts +5 -0
- package/dist/components/MessageList/i18n/en-US.js +6 -1
- package/dist/components/MessageList/i18n/index.d.ts +85 -1
- package/dist/components/MessageList/i18n/index.js +7 -8
- package/dist/components/MessageList/i18n/zh-CN.d.ts +5 -0
- package/dist/components/MessageList/i18n/zh-CN.js +6 -1
- package/dist/components/MessageList/index.js +4 -0
- package/dist/components/Search/Search.js +4 -4
- package/dist/components/Search/Search.vue.d.ts +4 -4
- package/dist/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.js +15 -9
- package/dist/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.js +12 -7
- package/dist/components/Search/SearchAdvanced/SearchAdvanced.js +2 -2
- package/dist/components/Search/SearchAdvanced/SearchTab/SearchTab.js +10 -5
- package/dist/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.js +10 -10
- package/dist/components/Search/SearchBar/SearchBar.js +3 -2
- package/dist/components/Search/SearchResults/EmptyResult/EmptyResult.js +1 -1
- package/dist/components/Search/SearchResults/SearchResults.js +82 -69
- package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.js +8 -8
- package/dist/components/Search/SearchResults/SearchResultsItem/utils/highlightText.d.ts +5 -6
- package/dist/components/Search/i18n/en-US/Search.js +9 -9
- package/dist/components/Search/i18n/zh-CN/Search.js +13 -13
- package/dist/components/Search/index.d.ts +6 -6
- package/dist/components/StreamMixer/LocalMixer/MixerControl.js +14 -10
- package/dist/components/StreamMixer/LocalMixer/index.js +81 -56
- package/dist/components/StreamMixer/icons/CameraMirror.js +2 -2
- package/dist/components/StreamMixer/icons/Delete.js +2 -2
- package/dist/components/StreamMixer/icons/Down.js +2 -2
- package/dist/components/StreamMixer/icons/Rotation.js +2 -2
- package/dist/components/StreamMixer/icons/Up.js +2 -2
- package/dist/components/StreamMixer/index.js +2 -2
- package/dist/components/StreamView/common/StreamCover/index.js +2 -2
- package/dist/components/UserPicker/components/TreeMode/TreeNode.js +2 -2
- package/dist/components/UserPicker/i18n/index.d.ts +15 -1
- package/dist/components/UserPicker/i18n/index.js +3 -4
- package/dist/components/UserPicker/index.d.ts +0 -1
- package/dist/components/UserPicker/index.js +6 -3
- package/dist/components/VideoSettingPanel/VideoPreview.js +3 -4
- package/dist/components/VideoSettingPanel/VideoProfile.js +3 -4
- package/dist/components/VideoSettingPanel/i18n/en-US/index.d.ts +5 -0
- package/dist/components/VideoSettingPanel/i18n/en-US/index.js +8 -3
- package/dist/components/VideoSettingPanel/i18n/zh-CN/index.d.ts +5 -0
- package/dist/components/VideoSettingPanel/i18n/zh-CN/index.js +8 -3
- package/dist/components/VideoSettingPanel/index.js +3 -3
- package/dist/hooks/useLongPress.d.ts +4 -4
- package/dist/hooks/useMessageActions.js +5 -5
- package/dist/hooks/useMouseHover.d.ts +7 -5
- package/dist/hooks/useMouseHover.js +3 -1
- package/dist/index.js +12 -6
- package/dist/rtc/index.d.ts +22 -20
- package/dist/rtc/index.js +6 -3
- package/dist/states/BarrageListState/BarrageListState.js +3 -2
- package/dist/states/CoHostState.d.ts +1 -1
- package/dist/states/CoHostState.js +59 -62
- package/dist/states/ContactListState/ContactListState.d.ts +16 -16
- package/dist/states/ContactListState/ContactListState.js +20 -20
- package/dist/states/ConversationListState/ConversationListState.d.ts +13 -12
- package/dist/states/ConversationListState/ConversationListState.js +19 -19
- package/dist/states/LiveSeatState/seatEventManager.js +3 -5
- package/dist/states/LiveSeatState/usePlayStream/MixStreamPlayer.js +9 -0
- package/dist/states/LiveState/index.d.ts +4 -4
- package/dist/states/LiveState/index.js +4 -2
- package/dist/states/LoginState.js +1 -3
- package/dist/states/MessageInputState/MessageInputState.js +18 -18
- package/dist/states/SearchState.d.ts +2 -2
- package/dist/states/SearchState.js +124 -127
- package/dist/styles/index.css +1954 -1070
- package/dist/types/contact.d.ts +145 -9
- package/dist/types/conversation.d.ts +36 -28
- package/dist/types/conversation.js +22 -0
- package/dist/types/index.js +5 -3
- package/dist/types/live.d.ts +2 -3
- package/dist/types/types.d.ts +0 -8
- package/dist/types/types.js +0 -10
- package/dist/utils/time.d.ts +2 -2
- package/dist/utils/time.js +253 -1471
- package/package.json +23 -5
- package/src/baseComp/View/View.vue +1 -2
- package/src/baseComp/index.ts +1 -2
- package/src/chat/index.ts +11 -0
- package/src/components/Avatar/Avatar.vue +12 -11
- package/src/components/BarrageInput/BarrageInputH5.vue +36 -9
- package/src/components/BarrageInput/TextEditor/TextEditor.vue +13 -5
- package/src/components/BarrageInput/constants.ts +3 -0
- package/src/components/BarrageInput/i18n/en-US/index.ts +2 -0
- package/src/components/BarrageInput/i18n/zh-CN/index.ts +2 -0
- package/src/components/BarrageList/BarrageList.vue +2 -2
- package/src/components/BarrageList/BarrageListH5.vue +2 -2
- package/src/components/BarrageList/Message/MessageLayout/MessageLayout.vue +0 -1
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +5 -2
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.vue +7 -3
- package/src/components/BarrageList/Message/TextMessage/TextMessage.vue +3 -3
- package/src/components/ChatSetting/ChatSetting.vue +6 -10
- package/src/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.vue +1 -1
- package/src/components/ChatSetting/SettingItem/SettingItem.vue +40 -36
- package/src/components/ChatSetting/i18n/index.ts +3 -5
- package/src/components/ChatSetting/index.ts +5 -1
- package/src/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.scss +50 -0
- package/src/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.vue +71 -0
- package/src/components/ContactList/ContactInfo/BlacklistInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/ContactInfo.scss +33 -0
- package/src/components/ContactList/ContactInfo/ContactInfo.vue +256 -0
- package/src/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.scss +82 -0
- package/src/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.vue +88 -0
- package/src/components/ContactList/ContactInfo/FriendApplicationInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/FriendInfo/FriendInfo.scss +92 -0
- package/src/components/ContactList/ContactInfo/FriendInfo/FriendInfo.vue +219 -0
- package/src/components/ContactList/ContactInfo/FriendInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.scss +82 -0
- package/src/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.vue +99 -0
- package/src/components/ContactList/ContactInfo/GroupApplicationInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.scss +52 -0
- package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.vue +146 -0
- package/src/components/ContactList/ContactInfo/GroupInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.scss +111 -0
- package/src/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.vue +147 -0
- package/src/components/ContactList/ContactInfo/SearchGroupInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.scss +111 -0
- package/src/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.vue +128 -0
- package/src/components/ContactList/ContactInfo/SearchUserInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/index.ts +8 -0
- package/src/components/ContactList/ContactList.scss +124 -0
- package/src/components/ContactList/ContactList.vue +299 -0
- package/src/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.scss +39 -0
- package/src/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.vue +47 -0
- package/src/components/ContactList/ContactListItem/BlacklistItem/index.ts +1 -0
- package/src/components/ContactList/ContactListItem/ContactListItem.vue +98 -0
- package/src/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.scss +58 -0
- package/src/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.vue +70 -0
- package/src/components/ContactList/ContactListItem/FriendApplicationItem/index.ts +1 -0
- package/src/components/ContactList/ContactListItem/FriendItem/FriendItem.scss +39 -0
- package/src/components/ContactList/ContactListItem/FriendItem/FriendItem.vue +47 -0
- package/src/components/ContactList/ContactListItem/FriendItem/index.ts +1 -0
- package/src/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.scss +57 -0
- package/src/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.vue +78 -0
- package/src/components/ContactList/ContactListItem/GroupApplicationItem/index.ts +1 -0
- package/src/components/ContactList/ContactListItem/GroupItem/GroupItem.scss +39 -0
- package/src/components/ContactList/ContactListItem/GroupItem/GroupItem.vue +47 -0
- package/src/components/ContactList/ContactListItem/GroupItem/index.ts +1 -0
- package/src/components/ContactList/ContactListItem/index.ts +6 -0
- package/src/components/ContactList/ContactSearch/ContactSearch.scss +58 -0
- package/src/components/ContactList/ContactSearch/ContactSearch.vue +98 -0
- package/src/components/ContactList/ContactSearch/index.ts +1 -0
- package/src/components/ContactList/constants/const.ts +7 -0
- package/src/components/ContactList/hooks/index.ts +1 -0
- package/src/components/ContactList/hooks/useContactList.ts +21 -0
- package/src/components/ContactList/i18n/en-US.ts +77 -0
- package/src/components/ContactList/i18n/index.ts +4 -0
- package/src/components/ContactList/i18n/zh-CN.ts +77 -0
- package/src/components/ContactList/index.ts +18 -0
- package/src/components/ConversationList/ConversationActions/ConversationActions.scss +34 -35
- package/src/components/ConversationList/ConversationActions/ConversationActions.vue +15 -29
- package/src/components/ConversationList/ConversationCreate/ConversationCreate.scss +11 -37
- package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +154 -69
- package/src/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.scss +37 -1
- package/src/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.vue +70 -15
- package/src/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.scss +19 -66
- package/src/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.vue +72 -139
- package/src/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.scss +5 -129
- package/src/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.vue +42 -183
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.scss +14 -11
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.vue +23 -18
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.ts +2 -8
- package/src/components/ConversationList/ConversationCreate/index.ts +0 -2
- package/src/components/ConversationList/ConversationList.scss +1 -0
- package/src/components/ConversationList/ConversationList.vue +44 -25
- package/src/components/ConversationList/ConversationListContent/ConversationListContent.scss +2 -5
- package/src/components/ConversationList/ConversationPlaceHolder/ConversationPlaceHolder.vue +2 -2
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue +6 -19
- package/src/components/ConversationList/ConversationPreview/utils.ts +11 -11
- package/src/components/ConversationList/hooks/useConversation.ts +21 -0
- package/src/components/ConversationList/hooks/useConversationCreate.ts +29 -0
- package/src/components/ConversationList/i18n/en-US.ts +26 -6
- package/src/components/ConversationList/i18n/zh-CN.ts +25 -5
- package/src/components/{LiveStreamView → LiveCoreView}/index.ts +4 -3
- package/src/components/{LiveStreamView → LiveCoreView}/index.vue +109 -88
- package/src/components/LiveList/LiveList.vue +94 -38
- package/src/components/LiveList/LiveListH5.vue +47 -23
- package/src/components/MessageInput/MessageInput.module.scss +1 -1
- package/src/components/MessageInput/QuotedMessagePreview/QuotedMessagePreview.vue +2 -2
- package/src/components/MessageInput/SendButton/SendButton.vue +1 -1
- package/src/components/MessageInput/TextEditor/Editor.scss +3 -2
- package/src/components/MessageInput/TextEditor/TextEditor.module.scss +1 -0
- package/src/components/MessageInput/TextEditor/TextEditor.vue +2 -0
- package/src/components/MessageInput/i18n/index.ts +1 -7
- package/src/components/MessageInput/index.ts +25 -8
- package/src/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.vue +4 -4
- package/src/components/MessageList/Message/MessageLayout/MessageLayout.vue +0 -1
- package/src/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +16 -17
- package/src/components/MessageList/MessageForward/MessageForward.vue +2 -2
- package/src/components/MessageList/MessageList.vue +21 -5
- package/src/components/MessageList/ScrollToBottom/ScrollToBottom.vue +50 -0
- package/src/components/MessageList/ScrollToBottom/index.ts +5 -0
- package/src/components/MessageList/i18n/en-US.ts +5 -0
- package/src/components/MessageList/i18n/index.ts +1 -5
- package/src/components/MessageList/i18n/zh-CN.ts +5 -0
- package/src/components/MessageList/index.ts +4 -1
- package/src/components/Search/Search.vue +0 -4
- package/src/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.vue +125 -38
- package/src/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.vue +24 -16
- package/src/components/Search/SearchAdvanced/SearchAdvanced.vue +9 -7
- package/src/components/Search/SearchAdvanced/SearchTab/SearchTab.vue +4 -3
- package/src/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.scss +0 -1
- package/src/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.vue +57 -23
- package/src/components/Search/SearchBar/SearchBar.scss +0 -2
- package/src/components/Search/SearchBar/SearchBar.vue +7 -5
- package/src/components/Search/SearchResults/EmptyResult/EmptyResult.vue +4 -2
- package/src/components/Search/SearchResults/SearchResults.scss +5 -11
- package/src/components/Search/SearchResults/SearchResults.vue +25 -29
- package/src/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.scss +1 -9
- package/src/components/Search/SearchResults/SearchResultsItem/utils/highlightText.ts +15 -16
- package/src/components/Search/i18n/en-US/Search.ts +9 -9
- package/src/components/Search/i18n/zh-CN/Search.ts +13 -13
- package/src/components/StreamMixer/LocalMixer/MixerControl.vue +20 -15
- package/src/components/StreamMixer/LocalMixer/index.vue +130 -57
- package/src/components/StreamMixer/index.vue +3 -3
- package/src/components/UserPicker/i18n/index.ts +1 -5
- package/src/components/UserPicker/index.ts +4 -3
- package/src/components/VideoSettingPanel/VideoPreview.vue +13 -8
- package/src/components/VideoSettingPanel/VideoProfile.vue +5 -5
- package/src/components/VideoSettingPanel/i18n/en-US/index.ts +8 -3
- package/src/components/VideoSettingPanel/i18n/zh-CN/index.ts +8 -3
- package/src/components/VideoSettingPanel/index.vue +15 -9
- package/src/hooks/useLongPress.ts +7 -18
- package/src/hooks/useMessageActions.ts +5 -5
- package/src/hooks/useMouseHover.ts +9 -7
- package/src/rtc/index.ts +6 -3
- package/src/types/contact.ts +175 -12
- package/src/types/conversation.ts +42 -32
- package/src/types/live.ts +3 -5
- package/src/types/types.ts +0 -28
- package/src/utils/time.ts +8 -10
- package/dist/baseComp/Popup/Popup.js +0 -132
- package/dist/baseComp/Popup/Popup.vue.d.ts +0 -54
- package/dist/baseComp/Popup/index.d.ts +0 -2
- package/dist/baseComp/Popup/index.js +0 -4
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateSelectView/ConversationCreateSelectView.js +0 -65
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateSelectView/ConversationCreateSelectView.vue.d.ts +0 -17
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateSelectView/index.d.ts +0 -1
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateSelectView/index.js +0 -4
- package/dist/components/ConversationList/ConversationCreate/hooks/useConversationCreate.d.ts +0 -9
- package/dist/components/ConversationList/ConversationCreate/hooks/useConversationCreate.js +0 -96
- package/dist/components/ConversationList/ConversationCreate/static/word.d.ts +0 -6
- package/dist/components/ConversationList/ConversationCreate/static/word.js +0 -4
- package/dist/components/LiveStreamView/index.d.ts +0 -4
- package/src/baseComp/Popup/Popup.vue +0 -156
- package/src/baseComp/Popup/index.ts +0 -2
- package/src/components/ConversationList/ConversationCreate/ConversationCreateSelectView/ConversationCreateSelectView.scss +0 -36
- package/src/components/ConversationList/ConversationCreate/ConversationCreateSelectView/ConversationCreateSelectView.vue +0 -44
- package/src/components/ConversationList/ConversationCreate/ConversationCreateSelectView/index.ts +0 -1
- package/src/components/ConversationList/ConversationCreate/hooks/useConversationCreate.ts +0 -132
- package/src/components/ConversationList/ConversationCreate/static/word.ts +0 -300
- /package/dist/components/{LiveStreamView → LiveCoreView}/DefaultStreamViewUI.vue.d.ts +0 -0
- /package/dist/components/{LiveStreamView → LiveCoreView}/i18n/en-US/index.d.ts +0 -0
- /package/dist/components/{LiveStreamView → LiveCoreView}/i18n/en-US/index.js +0 -0
- /package/dist/components/{LiveStreamView → LiveCoreView}/i18n/index.d.ts +0 -0
- /package/dist/components/{LiveStreamView → LiveCoreView}/i18n/index.js +0 -0
- /package/dist/components/{LiveStreamView → LiveCoreView}/i18n/zh-CN/index.d.ts +0 -0
- /package/dist/components/{LiveStreamView → LiveCoreView}/i18n/zh-CN/index.js +0 -0
- /package/dist/components/{LiveStreamView → LiveCoreView}/index.vue.d.ts +0 -0
- /package/src/components/{LiveStreamView → LiveCoreView}/DefaultStreamViewUI.vue +0 -0
- /package/src/components/{LiveStreamView → LiveCoreView}/i18n/en-US/index.ts +0 -0
- /package/src/components/{LiveStreamView → LiveCoreView}/i18n/index.ts +0 -0
- /package/src/components/{LiveStreamView → LiveCoreView}/i18n/zh-CN/index.ts +0 -0
|
@@ -20,10 +20,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
20
20
|
src: {
|
|
21
21
|
type: import('vue').PropType<string>;
|
|
22
22
|
};
|
|
23
|
-
shape: {
|
|
24
|
-
type: import('vue').PropType<import('../../Avatar').AvatarShape>;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
23
|
isShowOnlineStatus: {
|
|
28
24
|
type: import('vue').PropType<boolean>;
|
|
29
25
|
default: boolean;
|
|
@@ -44,6 +40,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
44
40
|
type: import('vue').PropType<boolean>;
|
|
45
41
|
default: boolean;
|
|
46
42
|
};
|
|
43
|
+
shape: {
|
|
44
|
+
type: import('vue').PropType<import('../../Avatar').AvatarShape>;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
47
|
alt: {
|
|
48
48
|
type: import('vue').PropType<string>;
|
|
49
49
|
};
|
|
@@ -64,10 +64,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
64
64
|
src: {
|
|
65
65
|
type: import('vue').PropType<string>;
|
|
66
66
|
};
|
|
67
|
-
shape: {
|
|
68
|
-
type: import('vue').PropType<import('../../Avatar').AvatarShape>;
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
67
|
isShowOnlineStatus: {
|
|
72
68
|
type: import('vue').PropType<boolean>;
|
|
73
69
|
default: boolean;
|
|
@@ -88,6 +84,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
88
84
|
type: import('vue').PropType<boolean>;
|
|
89
85
|
default: boolean;
|
|
90
86
|
};
|
|
87
|
+
shape: {
|
|
88
|
+
type: import('vue').PropType<import('../../Avatar').AvatarShape>;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
91
|
alt: {
|
|
92
92
|
type: import('vue').PropType<string>;
|
|
93
93
|
};
|
|
@@ -96,165 +96,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
96
96
|
};
|
|
97
97
|
}>> & Readonly<{}>, {
|
|
98
98
|
size: import('../../Avatar').AvatarSize;
|
|
99
|
-
shape: import('../../Avatar').AvatarShape;
|
|
100
99
|
isShowOnlineStatus: boolean;
|
|
101
100
|
isOnline: boolean;
|
|
102
101
|
unreadCount: number;
|
|
103
102
|
maxUnreadCount: number;
|
|
104
103
|
isDotUnreadCount: boolean;
|
|
104
|
+
shape: import('../../Avatar').AvatarShape;
|
|
105
105
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
106
|
-
ConversationActions: () => {
|
|
107
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
108
|
-
onClose: {
|
|
109
|
-
type: import('vue').PropType<() => void>;
|
|
110
|
-
};
|
|
111
|
-
style: {
|
|
112
|
-
type: import('vue').PropType<import('vue').CSSProperties>;
|
|
113
|
-
};
|
|
114
|
-
onClick: {
|
|
115
|
-
type: import('vue').PropType<(e: Event, key?: string, conversation?: ConversationModel) => void>;
|
|
116
|
-
};
|
|
117
|
-
className: {
|
|
118
|
-
type: import('vue').PropType<string>;
|
|
119
|
-
};
|
|
120
|
-
onMarkConversationUnread: {
|
|
121
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
122
|
-
};
|
|
123
|
-
onConversationPin: {
|
|
124
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
125
|
-
};
|
|
126
|
-
onConversationMute: {
|
|
127
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
128
|
-
};
|
|
129
|
-
onConversationDelete: {
|
|
130
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
131
|
-
};
|
|
132
|
-
customConversationActions: {
|
|
133
|
-
type: import('vue').PropType<Record<string, import('../../..').ConversationActionItem>>;
|
|
134
|
-
};
|
|
135
|
-
PopupIcon: {
|
|
136
|
-
type: import('vue').PropType<any>;
|
|
137
|
-
};
|
|
138
|
-
PopupElements: {
|
|
139
|
-
type: import('vue').PropType<any[]>;
|
|
140
|
-
};
|
|
141
|
-
conversation: {
|
|
142
|
-
type: import('vue').PropType<ConversationModel>;
|
|
143
|
-
required: true;
|
|
144
|
-
};
|
|
145
|
-
enablePin: {
|
|
146
|
-
type: import('vue').PropType<boolean>;
|
|
147
|
-
default: boolean;
|
|
148
|
-
};
|
|
149
|
-
enableMute: {
|
|
150
|
-
type: import('vue').PropType<boolean>;
|
|
151
|
-
default: boolean;
|
|
152
|
-
};
|
|
153
|
-
enableDelete: {
|
|
154
|
-
type: import('vue').PropType<boolean>;
|
|
155
|
-
default: boolean;
|
|
156
|
-
};
|
|
157
|
-
enableMarkUnread: {
|
|
158
|
-
type: import('vue').PropType<boolean>;
|
|
159
|
-
default: boolean;
|
|
160
|
-
};
|
|
161
|
-
}>> & Readonly<{
|
|
162
|
-
onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
|
|
163
|
-
onClose?: (() => any) | undefined;
|
|
164
|
-
onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
165
|
-
onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
166
|
-
onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
167
|
-
onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
168
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
169
|
-
click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
|
|
170
|
-
close: () => void;
|
|
171
|
-
markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
172
|
-
conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
173
|
-
conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
174
|
-
conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
175
|
-
}, import('vue').PublicProps, {
|
|
176
|
-
enablePin: boolean;
|
|
177
|
-
enableMute: boolean;
|
|
178
|
-
enableDelete: boolean;
|
|
179
|
-
enableMarkUnread: boolean;
|
|
180
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
181
|
-
P: {};
|
|
182
|
-
B: {};
|
|
183
|
-
D: {};
|
|
184
|
-
C: {};
|
|
185
|
-
M: {};
|
|
186
|
-
Defaults: {};
|
|
187
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
188
|
-
onClose: {
|
|
189
|
-
type: import('vue').PropType<() => void>;
|
|
190
|
-
};
|
|
191
|
-
style: {
|
|
192
|
-
type: import('vue').PropType<import('vue').CSSProperties>;
|
|
193
|
-
};
|
|
194
|
-
onClick: {
|
|
195
|
-
type: import('vue').PropType<(e: Event, key?: string, conversation?: ConversationModel) => void>;
|
|
196
|
-
};
|
|
197
|
-
className: {
|
|
198
|
-
type: import('vue').PropType<string>;
|
|
199
|
-
};
|
|
200
|
-
onMarkConversationUnread: {
|
|
201
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
202
|
-
};
|
|
203
|
-
onConversationPin: {
|
|
204
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
205
|
-
};
|
|
206
|
-
onConversationMute: {
|
|
207
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
208
|
-
};
|
|
209
|
-
onConversationDelete: {
|
|
210
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
211
|
-
};
|
|
212
|
-
customConversationActions: {
|
|
213
|
-
type: import('vue').PropType<Record<string, import('../../..').ConversationActionItem>>;
|
|
214
|
-
};
|
|
215
|
-
PopupIcon: {
|
|
216
|
-
type: import('vue').PropType<any>;
|
|
217
|
-
};
|
|
218
|
-
PopupElements: {
|
|
219
|
-
type: import('vue').PropType<any[]>;
|
|
220
|
-
};
|
|
221
|
-
conversation: {
|
|
222
|
-
type: import('vue').PropType<ConversationModel>;
|
|
223
|
-
required: true;
|
|
224
|
-
};
|
|
225
|
-
enablePin: {
|
|
226
|
-
type: import('vue').PropType<boolean>;
|
|
227
|
-
default: boolean;
|
|
228
|
-
};
|
|
229
|
-
enableMute: {
|
|
230
|
-
type: import('vue').PropType<boolean>;
|
|
231
|
-
default: boolean;
|
|
232
|
-
};
|
|
233
|
-
enableDelete: {
|
|
234
|
-
type: import('vue').PropType<boolean>;
|
|
235
|
-
default: boolean;
|
|
236
|
-
};
|
|
237
|
-
enableMarkUnread: {
|
|
238
|
-
type: import('vue').PropType<boolean>;
|
|
239
|
-
default: boolean;
|
|
240
|
-
};
|
|
241
|
-
}>> & Readonly<{
|
|
242
|
-
onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
|
|
243
|
-
onClose?: (() => any) | undefined;
|
|
244
|
-
onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
245
|
-
onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
246
|
-
onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
247
|
-
onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
248
|
-
}>, {}, {}, {}, {}, {
|
|
249
|
-
enablePin: boolean;
|
|
250
|
-
enableMute: boolean;
|
|
251
|
-
enableDelete: boolean;
|
|
252
|
-
enableMarkUnread: boolean;
|
|
253
|
-
}>;
|
|
254
|
-
__isFragment?: never;
|
|
255
|
-
__isTeleport?: never;
|
|
256
|
-
__isSuspense?: never;
|
|
257
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
106
|
+
ConversationActions: () => import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
258
107
|
onClose: {
|
|
259
108
|
type: import('vue').PropType<() => void>;
|
|
260
109
|
};
|
|
@@ -308,13 +157,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
308
157
|
type: import('vue').PropType<boolean>;
|
|
309
158
|
default: boolean;
|
|
310
159
|
};
|
|
311
|
-
}>> & Readonly<{
|
|
312
|
-
onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
|
|
313
|
-
onClose?: (() => any) | undefined;
|
|
314
|
-
onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
315
|
-
onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
316
|
-
onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
317
|
-
onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
318
160
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
319
161
|
click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
|
|
320
162
|
close: () => void;
|
|
@@ -322,16 +164,73 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
322
164
|
conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
323
165
|
conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
324
166
|
conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
325
|
-
}, string, {
|
|
167
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
168
|
+
onClose: {
|
|
169
|
+
type: import('vue').PropType<() => void>;
|
|
170
|
+
};
|
|
171
|
+
style: {
|
|
172
|
+
type: import('vue').PropType<import('vue').CSSProperties>;
|
|
173
|
+
};
|
|
174
|
+
onClick: {
|
|
175
|
+
type: import('vue').PropType<(e: Event, key?: string, conversation?: ConversationModel) => void>;
|
|
176
|
+
};
|
|
177
|
+
className: {
|
|
178
|
+
type: import('vue').PropType<string>;
|
|
179
|
+
};
|
|
180
|
+
onMarkConversationUnread: {
|
|
181
|
+
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
182
|
+
};
|
|
183
|
+
onConversationPin: {
|
|
184
|
+
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
185
|
+
};
|
|
186
|
+
onConversationMute: {
|
|
187
|
+
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
188
|
+
};
|
|
189
|
+
onConversationDelete: {
|
|
190
|
+
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
191
|
+
};
|
|
192
|
+
customConversationActions: {
|
|
193
|
+
type: import('vue').PropType<Record<string, import('../../..').ConversationActionItem>>;
|
|
194
|
+
};
|
|
195
|
+
PopupIcon: {
|
|
196
|
+
type: import('vue').PropType<any>;
|
|
197
|
+
};
|
|
198
|
+
PopupElements: {
|
|
199
|
+
type: import('vue').PropType<any[]>;
|
|
200
|
+
};
|
|
201
|
+
conversation: {
|
|
202
|
+
type: import('vue').PropType<ConversationModel>;
|
|
203
|
+
required: true;
|
|
204
|
+
};
|
|
205
|
+
enablePin: {
|
|
206
|
+
type: import('vue').PropType<boolean>;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
enableMute: {
|
|
210
|
+
type: import('vue').PropType<boolean>;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
213
|
+
enableDelete: {
|
|
214
|
+
type: import('vue').PropType<boolean>;
|
|
215
|
+
default: boolean;
|
|
216
|
+
};
|
|
217
|
+
enableMarkUnread: {
|
|
218
|
+
type: import('vue').PropType<boolean>;
|
|
219
|
+
default: boolean;
|
|
220
|
+
};
|
|
221
|
+
}>> & Readonly<{
|
|
222
|
+
onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
|
|
223
|
+
onClose?: (() => any) | undefined;
|
|
224
|
+
onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
225
|
+
onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
226
|
+
onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
227
|
+
onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
228
|
+
}>, {
|
|
326
229
|
enablePin: boolean;
|
|
327
230
|
enableMute: boolean;
|
|
328
231
|
enableDelete: boolean;
|
|
329
232
|
enableMarkUnread: boolean;
|
|
330
|
-
}, {},
|
|
331
|
-
$slots: {
|
|
332
|
-
popupIcon?(_: {}): any;
|
|
333
|
-
};
|
|
334
|
-
});
|
|
233
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
335
234
|
Title: () => import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
336
235
|
conversation: {
|
|
337
236
|
type: import('vue').PropType<ConversationModel>;
|
|
@@ -401,10 +300,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
401
300
|
src: {
|
|
402
301
|
type: import('vue').PropType<string>;
|
|
403
302
|
};
|
|
404
|
-
shape: {
|
|
405
|
-
type: import('vue').PropType<import('../../Avatar').AvatarShape>;
|
|
406
|
-
default: string;
|
|
407
|
-
};
|
|
408
303
|
isShowOnlineStatus: {
|
|
409
304
|
type: import('vue').PropType<boolean>;
|
|
410
305
|
default: boolean;
|
|
@@ -425,6 +320,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
425
320
|
type: import('vue').PropType<boolean>;
|
|
426
321
|
default: boolean;
|
|
427
322
|
};
|
|
323
|
+
shape: {
|
|
324
|
+
type: import('vue').PropType<import('../../Avatar').AvatarShape>;
|
|
325
|
+
default: string;
|
|
326
|
+
};
|
|
428
327
|
alt: {
|
|
429
328
|
type: import('vue').PropType<string>;
|
|
430
329
|
};
|
|
@@ -445,10 +344,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
445
344
|
src: {
|
|
446
345
|
type: import('vue').PropType<string>;
|
|
447
346
|
};
|
|
448
|
-
shape: {
|
|
449
|
-
type: import('vue').PropType<import('../../Avatar').AvatarShape>;
|
|
450
|
-
default: string;
|
|
451
|
-
};
|
|
452
347
|
isShowOnlineStatus: {
|
|
453
348
|
type: import('vue').PropType<boolean>;
|
|
454
349
|
default: boolean;
|
|
@@ -469,6 +364,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
469
364
|
type: import('vue').PropType<boolean>;
|
|
470
365
|
default: boolean;
|
|
471
366
|
};
|
|
367
|
+
shape: {
|
|
368
|
+
type: import('vue').PropType<import('../../Avatar').AvatarShape>;
|
|
369
|
+
default: string;
|
|
370
|
+
};
|
|
472
371
|
alt: {
|
|
473
372
|
type: import('vue').PropType<string>;
|
|
474
373
|
};
|
|
@@ -477,165 +376,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
477
376
|
};
|
|
478
377
|
}>> & Readonly<{}>, {
|
|
479
378
|
size: import('../../Avatar').AvatarSize;
|
|
480
|
-
shape: import('../../Avatar').AvatarShape;
|
|
481
379
|
isShowOnlineStatus: boolean;
|
|
482
380
|
isOnline: boolean;
|
|
483
381
|
unreadCount: number;
|
|
484
382
|
maxUnreadCount: number;
|
|
485
383
|
isDotUnreadCount: boolean;
|
|
384
|
+
shape: import('../../Avatar').AvatarShape;
|
|
486
385
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
487
|
-
ConversationActions: () => {
|
|
488
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
489
|
-
onClose: {
|
|
490
|
-
type: import('vue').PropType<() => void>;
|
|
491
|
-
};
|
|
492
|
-
style: {
|
|
493
|
-
type: import('vue').PropType<import('vue').CSSProperties>;
|
|
494
|
-
};
|
|
495
|
-
onClick: {
|
|
496
|
-
type: import('vue').PropType<(e: Event, key?: string, conversation?: ConversationModel) => void>;
|
|
497
|
-
};
|
|
498
|
-
className: {
|
|
499
|
-
type: import('vue').PropType<string>;
|
|
500
|
-
};
|
|
501
|
-
onMarkConversationUnread: {
|
|
502
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
503
|
-
};
|
|
504
|
-
onConversationPin: {
|
|
505
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
506
|
-
};
|
|
507
|
-
onConversationMute: {
|
|
508
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
509
|
-
};
|
|
510
|
-
onConversationDelete: {
|
|
511
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
512
|
-
};
|
|
513
|
-
customConversationActions: {
|
|
514
|
-
type: import('vue').PropType<Record<string, import('../../..').ConversationActionItem>>;
|
|
515
|
-
};
|
|
516
|
-
PopupIcon: {
|
|
517
|
-
type: import('vue').PropType<any>;
|
|
518
|
-
};
|
|
519
|
-
PopupElements: {
|
|
520
|
-
type: import('vue').PropType<any[]>;
|
|
521
|
-
};
|
|
522
|
-
conversation: {
|
|
523
|
-
type: import('vue').PropType<ConversationModel>;
|
|
524
|
-
required: true;
|
|
525
|
-
};
|
|
526
|
-
enablePin: {
|
|
527
|
-
type: import('vue').PropType<boolean>;
|
|
528
|
-
default: boolean;
|
|
529
|
-
};
|
|
530
|
-
enableMute: {
|
|
531
|
-
type: import('vue').PropType<boolean>;
|
|
532
|
-
default: boolean;
|
|
533
|
-
};
|
|
534
|
-
enableDelete: {
|
|
535
|
-
type: import('vue').PropType<boolean>;
|
|
536
|
-
default: boolean;
|
|
537
|
-
};
|
|
538
|
-
enableMarkUnread: {
|
|
539
|
-
type: import('vue').PropType<boolean>;
|
|
540
|
-
default: boolean;
|
|
541
|
-
};
|
|
542
|
-
}>> & Readonly<{
|
|
543
|
-
onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
|
|
544
|
-
onClose?: (() => any) | undefined;
|
|
545
|
-
onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
546
|
-
onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
547
|
-
onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
548
|
-
onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
549
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
550
|
-
click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
|
|
551
|
-
close: () => void;
|
|
552
|
-
markConversationUnread: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
553
|
-
conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
554
|
-
conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
555
|
-
conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
556
|
-
}, import('vue').PublicProps, {
|
|
557
|
-
enablePin: boolean;
|
|
558
|
-
enableMute: boolean;
|
|
559
|
-
enableDelete: boolean;
|
|
560
|
-
enableMarkUnread: boolean;
|
|
561
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
562
|
-
P: {};
|
|
563
|
-
B: {};
|
|
564
|
-
D: {};
|
|
565
|
-
C: {};
|
|
566
|
-
M: {};
|
|
567
|
-
Defaults: {};
|
|
568
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
569
|
-
onClose: {
|
|
570
|
-
type: import('vue').PropType<() => void>;
|
|
571
|
-
};
|
|
572
|
-
style: {
|
|
573
|
-
type: import('vue').PropType<import('vue').CSSProperties>;
|
|
574
|
-
};
|
|
575
|
-
onClick: {
|
|
576
|
-
type: import('vue').PropType<(e: Event, key?: string, conversation?: ConversationModel) => void>;
|
|
577
|
-
};
|
|
578
|
-
className: {
|
|
579
|
-
type: import('vue').PropType<string>;
|
|
580
|
-
};
|
|
581
|
-
onMarkConversationUnread: {
|
|
582
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
583
|
-
};
|
|
584
|
-
onConversationPin: {
|
|
585
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
586
|
-
};
|
|
587
|
-
onConversationMute: {
|
|
588
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
589
|
-
};
|
|
590
|
-
onConversationDelete: {
|
|
591
|
-
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
592
|
-
};
|
|
593
|
-
customConversationActions: {
|
|
594
|
-
type: import('vue').PropType<Record<string, import('../../..').ConversationActionItem>>;
|
|
595
|
-
};
|
|
596
|
-
PopupIcon: {
|
|
597
|
-
type: import('vue').PropType<any>;
|
|
598
|
-
};
|
|
599
|
-
PopupElements: {
|
|
600
|
-
type: import('vue').PropType<any[]>;
|
|
601
|
-
};
|
|
602
|
-
conversation: {
|
|
603
|
-
type: import('vue').PropType<ConversationModel>;
|
|
604
|
-
required: true;
|
|
605
|
-
};
|
|
606
|
-
enablePin: {
|
|
607
|
-
type: import('vue').PropType<boolean>;
|
|
608
|
-
default: boolean;
|
|
609
|
-
};
|
|
610
|
-
enableMute: {
|
|
611
|
-
type: import('vue').PropType<boolean>;
|
|
612
|
-
default: boolean;
|
|
613
|
-
};
|
|
614
|
-
enableDelete: {
|
|
615
|
-
type: import('vue').PropType<boolean>;
|
|
616
|
-
default: boolean;
|
|
617
|
-
};
|
|
618
|
-
enableMarkUnread: {
|
|
619
|
-
type: import('vue').PropType<boolean>;
|
|
620
|
-
default: boolean;
|
|
621
|
-
};
|
|
622
|
-
}>> & Readonly<{
|
|
623
|
-
onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
|
|
624
|
-
onClose?: (() => any) | undefined;
|
|
625
|
-
onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
626
|
-
onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
627
|
-
onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
628
|
-
onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
629
|
-
}>, {}, {}, {}, {}, {
|
|
630
|
-
enablePin: boolean;
|
|
631
|
-
enableMute: boolean;
|
|
632
|
-
enableDelete: boolean;
|
|
633
|
-
enableMarkUnread: boolean;
|
|
634
|
-
}>;
|
|
635
|
-
__isFragment?: never;
|
|
636
|
-
__isTeleport?: never;
|
|
637
|
-
__isSuspense?: never;
|
|
638
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
386
|
+
ConversationActions: () => import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
639
387
|
onClose: {
|
|
640
388
|
type: import('vue').PropType<() => void>;
|
|
641
389
|
};
|
|
@@ -689,13 +437,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
689
437
|
type: import('vue').PropType<boolean>;
|
|
690
438
|
default: boolean;
|
|
691
439
|
};
|
|
692
|
-
}>> & Readonly<{
|
|
693
|
-
onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
|
|
694
|
-
onClose?: (() => any) | undefined;
|
|
695
|
-
onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
696
|
-
onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
697
|
-
onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
698
|
-
onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
699
440
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
700
441
|
click: (e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => void;
|
|
701
442
|
close: () => void;
|
|
@@ -703,16 +444,73 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
703
444
|
conversationPin: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
704
445
|
conversationMute: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
705
446
|
conversationDelete: (conversation: ConversationModel, e?: Event | undefined) => void;
|
|
706
|
-
}, string, {
|
|
447
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
448
|
+
onClose: {
|
|
449
|
+
type: import('vue').PropType<() => void>;
|
|
450
|
+
};
|
|
451
|
+
style: {
|
|
452
|
+
type: import('vue').PropType<import('vue').CSSProperties>;
|
|
453
|
+
};
|
|
454
|
+
onClick: {
|
|
455
|
+
type: import('vue').PropType<(e: Event, key?: string, conversation?: ConversationModel) => void>;
|
|
456
|
+
};
|
|
457
|
+
className: {
|
|
458
|
+
type: import('vue').PropType<string>;
|
|
459
|
+
};
|
|
460
|
+
onMarkConversationUnread: {
|
|
461
|
+
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
462
|
+
};
|
|
463
|
+
onConversationPin: {
|
|
464
|
+
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
465
|
+
};
|
|
466
|
+
onConversationMute: {
|
|
467
|
+
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
468
|
+
};
|
|
469
|
+
onConversationDelete: {
|
|
470
|
+
type: import('vue').PropType<(conversation: ConversationModel, e?: Event) => void>;
|
|
471
|
+
};
|
|
472
|
+
customConversationActions: {
|
|
473
|
+
type: import('vue').PropType<Record<string, import('../../..').ConversationActionItem>>;
|
|
474
|
+
};
|
|
475
|
+
PopupIcon: {
|
|
476
|
+
type: import('vue').PropType<any>;
|
|
477
|
+
};
|
|
478
|
+
PopupElements: {
|
|
479
|
+
type: import('vue').PropType<any[]>;
|
|
480
|
+
};
|
|
481
|
+
conversation: {
|
|
482
|
+
type: import('vue').PropType<ConversationModel>;
|
|
483
|
+
required: true;
|
|
484
|
+
};
|
|
485
|
+
enablePin: {
|
|
486
|
+
type: import('vue').PropType<boolean>;
|
|
487
|
+
default: boolean;
|
|
488
|
+
};
|
|
489
|
+
enableMute: {
|
|
490
|
+
type: import('vue').PropType<boolean>;
|
|
491
|
+
default: boolean;
|
|
492
|
+
};
|
|
493
|
+
enableDelete: {
|
|
494
|
+
type: import('vue').PropType<boolean>;
|
|
495
|
+
default: boolean;
|
|
496
|
+
};
|
|
497
|
+
enableMarkUnread: {
|
|
498
|
+
type: import('vue').PropType<boolean>;
|
|
499
|
+
default: boolean;
|
|
500
|
+
};
|
|
501
|
+
}>> & Readonly<{
|
|
502
|
+
onClick?: ((e: Event, key?: string | undefined, conversation?: ConversationModel | undefined) => any) | undefined;
|
|
503
|
+
onClose?: (() => any) | undefined;
|
|
504
|
+
onMarkConversationUnread?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
505
|
+
onConversationPin?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
506
|
+
onConversationMute?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
507
|
+
onConversationDelete?: ((conversation: ConversationModel, e?: Event | undefined) => any) | undefined;
|
|
508
|
+
}>, {
|
|
707
509
|
enablePin: boolean;
|
|
708
510
|
enableMute: boolean;
|
|
709
511
|
enableDelete: boolean;
|
|
710
512
|
enableMarkUnread: boolean;
|
|
711
|
-
}, {},
|
|
712
|
-
$slots: {
|
|
713
|
-
popupIcon?(_: {}): any;
|
|
714
|
-
};
|
|
715
|
-
});
|
|
513
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
716
514
|
Title: () => import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
717
515
|
conversation: {
|
|
718
516
|
type: import('vue').PropType<ConversationModel>;
|
|
@@ -10,17 +10,17 @@ import { generateHighlightTitle, getLatestMessagePreview } from "./utils.js";
|
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "ConversationPreview",
|
|
12
12
|
props: {
|
|
13
|
-
Preview: { default: () => ConversationPreviewUIComponent },
|
|
13
|
+
Preview: { type: [Object, Function], default: () => ConversationPreviewUIComponent },
|
|
14
14
|
conversation: {},
|
|
15
15
|
isSelected: { type: Boolean, default: false },
|
|
16
16
|
enableActions: { type: Boolean, default: true },
|
|
17
17
|
highlightMatchString: {},
|
|
18
|
-
Avatar: { default: () => Avatar },
|
|
18
|
+
Avatar: { type: [Object, Function], default: () => Avatar },
|
|
19
19
|
Title: {},
|
|
20
20
|
LastMessageAbstract: {},
|
|
21
21
|
LastMessageTimestamp: {},
|
|
22
22
|
Unread: {},
|
|
23
|
-
ConversationActions: { default: () => ConversationActionsComponent },
|
|
23
|
+
ConversationActions: { type: [Object, Function], default: () => ConversationActionsComponent },
|
|
24
24
|
onSelectConversation: {},
|
|
25
25
|
actionsConfig: {},
|
|
26
26
|
className: {},
|
|
@@ -24,21 +24,21 @@ const getLatestMessagePreview = (conversation, t) => {
|
|
|
24
24
|
case TUIChatEngine.TYPES.MSG_TEXT:
|
|
25
25
|
return payload.text || "";
|
|
26
26
|
case TUIChatEngine.TYPES.MSG_IMAGE:
|
|
27
|
-
return `[${t("
|
|
27
|
+
return `[${t("TUIConversation.Image")}]`;
|
|
28
28
|
case TUIChatEngine.TYPES.MSG_AUDIO:
|
|
29
|
-
return `[${t("
|
|
29
|
+
return `[${t("TUIConversation.Audio")}]`;
|
|
30
30
|
case TUIChatEngine.TYPES.MSG_VIDEO:
|
|
31
|
-
return `[${t("
|
|
31
|
+
return `[${t("TUIConversation.Video")}]`;
|
|
32
32
|
case TUIChatEngine.TYPES.MSG_FILE:
|
|
33
|
-
return `[${t("
|
|
33
|
+
return `[${t("TUIConversation.File")}]`;
|
|
34
34
|
case TUIChatEngine.TYPES.MSG_CUSTOM:
|
|
35
|
-
return `[${t("
|
|
35
|
+
return `[${t("TUIConversation.Custom")}]`;
|
|
36
36
|
case TUIChatEngine.TYPES.MSG_LOCATION:
|
|
37
|
-
return `[${t("
|
|
37
|
+
return `[${t("TUIConversation.Location")}]`;
|
|
38
38
|
case TUIChatEngine.TYPES.MSG_FACE:
|
|
39
|
-
return `[${t("
|
|
39
|
+
return `[${t("TUIConversation.Emoji")}]`;
|
|
40
40
|
case TUIChatEngine.TYPES.MSG_MERGER:
|
|
41
|
-
return `[${t("
|
|
41
|
+
return `[${t("TUIConversation.Chat History")}]`;
|
|
42
42
|
default:
|
|
43
43
|
return senderName ? `${senderName}: ${(payload == null ? void 0 : payload.text) || ""}` : (payload == null ? void 0 : payload.text) || "";
|
|
44
44
|
}
|