tuikit-atomicx-vue3 3.3.0-beta.3 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AttachmentPicker.module-BesmtGyl.js +11 -0
- package/dist/FilePicker.vue_vue_type_script_setup_true_lang-CdJ4DUzE.js +76 -0
- package/dist/ImagePicker.vue_vue_type_script_setup_true_lang-CbNUofpK.js +76 -0
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-XRL7A5Gj.js → MessageInput.vue_vue_type_script_setup_true_lang-wUJPjWbx.js} +23 -18
- package/dist/VideoPicker.vue_vue_type_script_setup_true_lang-CmxjbNDJ.js +76 -0
- package/dist/chat/index.d.ts +3747 -2386
- package/dist/chat/index.js +12 -11
- package/dist/components/BarrageInput/BarrageInputH5.js +32 -8
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +9 -5
- package/dist/components/BarrageInput/TextEditor/index.js +14 -6
- package/dist/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.vue.d.ts +4 -4
- package/dist/components/BarrageList/Message/TextMessage/TextMessage.js +12 -4
- package/dist/components/BarrageList/i18n/en-US/index.d.ts +1 -0
- package/dist/components/BarrageList/i18n/en-US/index.js +2 -1
- package/dist/components/BarrageList/i18n/zh-CN/index.d.ts +1 -0
- package/dist/components/BarrageList/i18n/zh-CN/index.js +2 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.js +5 -3
- package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +3 -3
- package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.js +3 -3
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.js +3 -3
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.js +3 -3
- package/dist/components/ChatSetting/SettingItem/SettingItem.js +21 -21
- package/dist/components/ChatSetting/i18n/en-US.js +3 -3
- package/dist/components/ChatSetting/i18n/zh-CN.js +3 -3
- package/dist/components/ChatSetting/index.d.ts +1 -4
- package/dist/components/ChatSetting/index.js +3 -6
- package/dist/components/CoGuestPanel/CoGuestPanel.js +1 -1
- package/dist/components/ContactList/ContactInfo/ContactInfo.js +17 -17
- package/dist/components/ContactList/ContactInfo/ContactInfo.vue.d.ts +26 -2
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.js +2 -1
- package/dist/components/ContactList/ContactList.js +19 -10
- package/dist/components/ContactList/ContactList.vue.d.ts +109 -1
- package/dist/components/ContactList/index.d.ts +158 -26
- package/dist/components/ConversationList/ConversationActions/ConversationActions.js +8 -9
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +2 -1
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.js +8 -8
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.js +1 -2
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.js +8 -8
- package/dist/components/ConversationList/ConversationList.js +18 -44
- package/dist/components/ConversationList/ConversationList.vue.d.ts +197 -1535
- package/dist/components/ConversationList/ConversationListContent/ConversationListContent.js +8 -11
- package/dist/components/ConversationList/ConversationListContent/ConversationListContent.vue.d.ts +22 -340
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +80 -134
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +14 -14
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +14 -14
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.js +19 -30
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue.d.ts +0 -2
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +14 -15
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +12 -24
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +14 -14
- package/dist/components/ConversationList/ConversationPreview/index.d.ts +1 -1
- package/dist/components/ConversationList/ConversationPreview/index.js +17 -21
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.js +1 -0
- package/dist/components/ConversationList/index.d.ts +468 -2400
- package/dist/components/ConversationList/index.js +1 -1
- package/dist/components/LiveCoreView/index.js +113 -58
- package/dist/components/LiveCoreView/index.vue.d.ts +9 -0
- package/dist/components/LiveList/LiveList.js +7 -5
- package/dist/components/LiveList/LiveListH5.js +77 -71
- package/dist/components/LiveList/i18n/en-US/index.d.ts +5 -0
- package/dist/components/LiveList/i18n/en-US/index.js +6 -1
- package/dist/components/LiveList/i18n/zh-CN/index.d.ts +5 -0
- package/dist/components/LiveList/i18n/zh-CN/index.js +6 -1
- package/dist/components/LiveList/pullToRefresh.js +204 -0
- package/dist/components/LiveList/pullToRefresh.vue.d.ts +86 -0
- package/dist/components/LiveScenePanel/CameraSettingDialog.js +6 -5
- package/dist/components/LiveScenePanel/index.js +3 -3
- package/dist/components/MessageInput/AttachmentPicker/AttachmentPicker.vue.d.ts +0 -4
- package/dist/components/MessageInput/AttachmentPicker/FilePicker.js +1 -1
- package/dist/components/MessageInput/AttachmentPicker/ImagePicker.js +1 -1
- package/dist/components/MessageInput/AttachmentPicker/VideoPicker.js +1 -1
- package/dist/components/MessageInput/AttachmentPicker/index.js +14 -19
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +3 -3
- package/dist/components/MessageInput/MessageInput.js +1 -1
- package/dist/components/MessageInput/MessageInput.vue.d.ts +6 -9
- package/dist/components/MessageInput/TextEditor/TextEditor.vue.d.ts +2 -2
- package/dist/components/MessageInput/TextEditor/index.js +18 -9
- package/dist/components/MessageInput/index.d.ts +5 -41
- package/dist/components/MessageInput/index.js +4 -4
- package/dist/components/MessageList/Message/CustomMessage/index.js +2 -2
- package/dist/components/MessageList/Message/FaceMessage/FaceMessage.js +7 -5
- package/dist/components/MessageList/Message/FaceMessage/FaceMessage.vue.d.ts +8 -8
- package/dist/components/MessageList/Message/LocationMessage/LocationMessage.js +2 -1
- package/dist/components/MessageList/Message/MergerMessage/MergerMessage.js +2 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +12 -4
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.vue.d.ts +3 -3
- package/dist/components/MessageList/MessageForward/MessageForward.js +2 -3
- package/dist/components/MessageList/MessageList.js +14 -7
- package/dist/components/MessageList/MessageList.vue.d.ts +1 -1
- package/dist/components/MessageList/MessageTimeDivider/MessageTimeDivider.js +5 -5
- package/dist/components/MessageList/MessageTimeDivider/MessageTimeDivider.vue.d.ts +10 -10
- package/dist/components/MessageList/index.d.ts +143 -5
- package/dist/components/MessageList/index.js +5 -5
- package/dist/components/Search/Search.js +1 -3
- package/dist/components/Search/SearchResults/EmptyResult/EmptyResult.js +4 -6
- package/dist/components/Search/SearchResults/Loading/Loading.js +2 -4
- package/dist/components/Search/SearchResults/SearchResults.js +20 -22
- package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.js +6 -8
- package/dist/components/Search/SearchResults/SearchResultsItem/Group/Group.js +5 -7
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.js +19 -21
- package/dist/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.js +1 -3
- package/dist/components/Search/SearchResults/SearchResultsItem/User/User.js +5 -7
- package/dist/components/StreamMixer/LocalMixer/index.js +11 -5
- package/dist/components/StreamView/manager/mediaManager.js +1 -1
- package/dist/components/UserPicker/UserPicker.js +2 -2
- package/dist/components/UserPicker/UserPicker.vue.d.ts +7 -8
- package/dist/components/UserPicker/components/ListMode/ListMode.js +14 -17
- package/dist/components/UserPicker/components/ListMode/ListMode.vue.d.ts +2 -2
- package/dist/components/UserPicker/components/SelectedPanel/SelectedPanel.vue.d.ts +2 -2
- package/dist/components/UserPicker/components/TreeMode/TreeMode.vue.d.ts +3 -3
- package/dist/components/UserPicker/components/TreeMode/TreeNode.vue.d.ts +4 -4
- package/dist/components/UserPicker/hooks/useSearchFilter.d.ts +3 -3
- package/dist/components/UserPicker/hooks/useSelection.d.ts +8 -8
- package/dist/components/UserPicker/hooks/useTreeState.d.ts +3 -3
- package/dist/components/UserPicker/index.d.ts +134 -3
- package/dist/components/UserPicker/index.js +3 -2
- package/dist/components/UserPicker/type.d.ts +18 -18
- package/dist/index.js +6 -3
- package/dist/rtc/index.d.ts +9 -0
- package/dist/states/GroupSettingState/GroupSettingState.js +3 -3
- package/dist/states/LiveSeatState/usePlayStream/MixStreamPlayer.js +3 -0
- package/dist/states/LoginState.js +1 -0
- package/dist/states/MessageInputState/MessageInputState.js +25 -5
- package/dist/styles/index.css +1275 -3559
- package/dist/types/contact.d.ts +13 -12
- package/dist/types/conversation.d.ts +12 -14
- package/dist/types/engine.d.ts +12 -0
- package/dist/types/engine.js +15 -0
- package/dist/types/index.js +2 -1
- package/dist/utils/json.js +0 -1
- package/package.json +7 -3
- package/src/chat/index.ts +12 -4
- package/src/components/BarrageInput/BarrageInputH5.vue +50 -4
- package/src/components/BarrageInput/EmojiPicker/EmojiPicker.module.scss +1 -0
- package/src/components/BarrageInput/EmojiPicker/EmojiPicker.vue +1 -1
- package/src/components/BarrageInput/TextEditor/Editor.scss +1 -1
- package/src/components/BarrageInput/TextEditor/TextEditor.module.scss +2 -0
- package/src/components/BarrageInput/TextEditor/TextEditor.vue +6 -0
- package/src/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.vue +8 -8
- package/src/components/BarrageList/Message/TextMessage/TextMessage.vue +10 -0
- package/src/components/BarrageList/i18n/en-US/index.ts +1 -0
- package/src/components/BarrageList/i18n/zh-CN/index.ts +1 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.vue +5 -2
- package/src/components/ChatSetting/GroupChatSetting/GroupChatSetting.vue +5 -4
- package/src/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.vue +2 -2
- package/src/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.vue +3 -2
- package/src/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.vue +3 -3
- package/src/components/ChatSetting/SettingItem/SettingItem.vue +10 -7
- package/src/components/ChatSetting/i18n/en-US.ts +3 -3
- package/src/components/ChatSetting/i18n/zh-CN.ts +3 -3
- package/src/components/ChatSetting/index.ts +3 -3
- package/src/components/CoGuestPanel/CoGuestPanel.vue +9 -0
- package/src/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.scss +2 -0
- package/src/components/ContactList/ContactInfo/ContactInfo.vue +17 -9
- package/src/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.scss +2 -0
- package/src/components/ContactList/ContactInfo/FriendInfo/FriendInfo.scss +4 -3
- package/src/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.scss +2 -0
- package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.scss +2 -0
- package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.vue +1 -0
- package/src/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.scss +2 -2
- package/src/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.scss +3 -2
- package/src/components/ContactList/ContactList.scss +2 -1
- package/src/components/ContactList/ContactList.vue +18 -3
- package/src/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.scss +3 -3
- package/src/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.scss +5 -6
- package/src/components/ContactList/ContactListItem/FriendItem/FriendItem.scss +3 -3
- package/src/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.scss +5 -6
- package/src/components/ContactList/ContactListItem/GroupItem/GroupItem.scss +3 -3
- package/src/components/ConversationList/ConversationActions/ConversationActions.scss +2 -12
- package/src/components/ConversationList/ConversationActions/ConversationActions.vue +2 -2
- package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +1 -0
- package/src/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.scss +2 -1
- package/src/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.vue +2 -2
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.scss +2 -1
- package/src/components/ConversationList/ConversationList.scss +0 -5
- package/src/components/ConversationList/ConversationList.vue +15 -41
- package/src/components/ConversationList/ConversationListContent/ConversationListContent.scss +1 -0
- package/src/components/ConversationList/ConversationListContent/ConversationListContent.vue +13 -18
- package/src/components/ConversationList/ConversationPreview/ConversationPreview.scss +11 -9
- package/src/components/ConversationList/ConversationPreview/ConversationPreview.vue +14 -16
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue +2 -14
- package/src/components/ConversationList/ConversationPreview/index.ts +1 -1
- package/src/components/ConversationList/ConversationSearch/ConversationSearch.vue +1 -0
- package/src/components/LiveCoreView/index.vue +144 -78
- package/src/components/LiveList/LiveList.vue +3 -0
- package/src/components/LiveList/LiveListH5.vue +60 -85
- package/src/components/LiveList/i18n/en-US/index.ts +5 -0
- package/src/components/LiveList/i18n/zh-CN/index.ts +5 -0
- package/src/components/LiveList/pullToRefresh.vue +364 -0
- package/src/components/LiveScenePanel/CameraSettingDialog.vue +6 -5
- package/src/components/LiveScenePanel/index.vue +2 -2
- package/src/components/MessageInput/AttachmentPicker/AttachmentPicker.module.scss +4 -0
- package/src/components/MessageInput/AttachmentPicker/AttachmentPicker.vue +12 -17
- package/src/components/MessageInput/AttachmentPicker/FilePicker.vue +3 -2
- package/src/components/MessageInput/AttachmentPicker/ImagePicker.vue +3 -2
- package/src/components/MessageInput/AttachmentPicker/VideoPicker.vue +3 -2
- package/src/components/MessageInput/EmojiPicker/EmojiPicker.module.scss +1 -0
- package/src/components/MessageInput/MessageInput.vue +21 -15
- package/src/components/MessageInput/TextEditor/Editor.scss +1 -0
- package/src/components/MessageInput/TextEditor/TextEditor.vue +16 -6
- package/src/components/MessageInput/types.d.ts +3 -4
- package/src/components/MessageList/Message/CustomMessage/CustomMessage.vue +1 -1
- package/src/components/MessageList/Message/FaceMessage/FaceMessage.vue +10 -7
- package/src/components/MessageList/Message/LocationMessage/LocationMessage.vue +3 -1
- package/src/components/MessageList/Message/MergerMessage/MergerMessage.vue +1 -1
- package/src/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.vue +2 -2
- package/src/components/MessageList/MessageForward/MessageForward.vue +3 -3
- package/src/components/MessageList/MessageList.vue +17 -5
- package/src/components/MessageList/MessageTimeDivider/MessageTimeDivider.vue +9 -9
- package/src/components/MessageList/index.ts +5 -4
- package/src/components/Search/Search.scss +0 -3
- package/src/components/Search/SearchResults/EmptyResult/EmptyResult.scss +0 -3
- package/src/components/Search/SearchResults/Loading/Loading.scss +0 -3
- package/src/components/Search/SearchResults/SearchResults.scss +7 -16
- package/src/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.scss +5 -11
- package/src/components/Search/SearchResults/SearchResultsItem/Group/Group.scss +5 -11
- package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.scss +5 -11
- package/src/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.scss +0 -3
- package/src/components/Search/SearchResults/SearchResultsItem/User/User.scss +5 -6
- package/src/components/StreamMixer/LocalMixer/index.vue +9 -4
- package/src/components/StreamView/manager/mediaManager.ts +1 -1
- package/src/components/UserPicker/UserPicker.vue +6 -9
- package/src/components/UserPicker/components/ListMode/ListMode.vue +3 -7
- package/src/components/UserPicker/components/SelectedPanel/SelectedPanel.vue +2 -2
- package/src/components/UserPicker/components/TreeMode/TreeMode.vue +3 -3
- package/src/components/UserPicker/components/TreeMode/TreeNode.vue +3 -3
- package/src/components/UserPicker/hooks/useSearchFilter.ts +15 -14
- package/src/components/UserPicker/hooks/useSelection.ts +32 -32
- package/src/components/UserPicker/hooks/useTreeState.ts +4 -4
- package/src/components/UserPicker/index.ts +16 -14
- package/src/components/UserPicker/type.ts +18 -18
- package/src/types/contact.ts +13 -12
- package/src/types/conversation.ts +12 -14
- package/src/types/engine.ts +15 -0
- package/src/utils/json.ts +0 -4
- package/dist/AttachmentPicker.module-0_DWsAtr.js +0 -11
- package/dist/FilePicker.vue_vue_type_script_setup_true_lang-CaSj3Gh_.js +0 -72
- package/dist/ImagePicker.vue_vue_type_script_setup_true_lang-CrzGMmrh.js +0 -72
- package/dist/VideoPicker.vue_vue_type_script_setup_true_lang-DTv6TJKr.js +0 -72
- package/dist/states/UIOpenControlState/UIOpenControlState.d.ts +0 -15
- package/dist/states/UIOpenControlState/UIOpenControlState.js +0 -28
- package/dist/states/UIOpenControlState/index.d.ts +0 -1
- package/dist/states/UIOpenControlState/index.js +0 -4
|
@@ -33,21 +33,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
|
-
const conversationPreview = "
|
|
37
|
-
const conversationPreview__avatar = "
|
|
38
|
-
const conversationPreview__content = "
|
|
39
|
-
const conversationPreview__header = "
|
|
40
|
-
const conversationPreview__title = "
|
|
41
|
-
const conversationPreview__time = "
|
|
42
|
-
const conversationPreview__footer = "
|
|
43
|
-
const conversationPreview__abstract = "
|
|
44
|
-
const conversationPreview__external = "
|
|
45
|
-
const conversationPreview__unread = "
|
|
46
|
-
const conversationPreview__actions = "
|
|
36
|
+
const conversationPreview = "_conversationPreview_29xqv_12";
|
|
37
|
+
const conversationPreview__avatar = "_conversationPreview__avatar_29xqv_34";
|
|
38
|
+
const conversationPreview__content = "_conversationPreview__content_29xqv_38";
|
|
39
|
+
const conversationPreview__header = "_conversationPreview__header_29xqv_42";
|
|
40
|
+
const conversationPreview__title = "_conversationPreview__title_29xqv_48";
|
|
41
|
+
const conversationPreview__time = "_conversationPreview__time_29xqv_58";
|
|
42
|
+
const conversationPreview__footer = "_conversationPreview__footer_29xqv_65";
|
|
43
|
+
const conversationPreview__abstract = "_conversationPreview__abstract_29xqv_70";
|
|
44
|
+
const conversationPreview__external = "_conversationPreview__external_29xqv_79";
|
|
45
|
+
const conversationPreview__unread = "_conversationPreview__unread_29xqv_88";
|
|
46
|
+
const conversationPreview__actions = "_conversationPreview__actions_29xqv_108";
|
|
47
47
|
const style0 = {
|
|
48
48
|
conversationPreview,
|
|
49
|
-
"conversationPreview--active": "_conversationPreview--
|
|
50
|
-
"conversationPreview--pin": "_conversationPreview--
|
|
49
|
+
"conversationPreview--active": "_conversationPreview--active_29xqv_28",
|
|
50
|
+
"conversationPreview--pin": "_conversationPreview--pin_29xqv_31",
|
|
51
51
|
conversationPreview__avatar,
|
|
52
52
|
conversationPreview__content,
|
|
53
53
|
conversationPreview__header,
|
|
@@ -57,7 +57,7 @@ const style0 = {
|
|
|
57
57
|
conversationPreview__abstract,
|
|
58
58
|
conversationPreview__external,
|
|
59
59
|
conversationPreview__unread,
|
|
60
|
-
"unread-count": "_unread-
|
|
60
|
+
"unread-count": "_unread-count_29xqv_95",
|
|
61
61
|
conversationPreview__actions
|
|
62
62
|
};
|
|
63
63
|
const cssModules = {
|
package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js
CHANGED
|
@@ -22,21 +22,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
|
-
const conversationPreview = "
|
|
26
|
-
const conversationPreview__avatar = "
|
|
27
|
-
const conversationPreview__content = "
|
|
28
|
-
const conversationPreview__header = "
|
|
29
|
-
const conversationPreview__title = "
|
|
30
|
-
const conversationPreview__time = "
|
|
31
|
-
const conversationPreview__footer = "
|
|
32
|
-
const conversationPreview__abstract = "
|
|
33
|
-
const conversationPreview__external = "
|
|
34
|
-
const conversationPreview__unread = "
|
|
35
|
-
const conversationPreview__actions = "
|
|
25
|
+
const conversationPreview = "_conversationPreview_29xqv_12";
|
|
26
|
+
const conversationPreview__avatar = "_conversationPreview__avatar_29xqv_34";
|
|
27
|
+
const conversationPreview__content = "_conversationPreview__content_29xqv_38";
|
|
28
|
+
const conversationPreview__header = "_conversationPreview__header_29xqv_42";
|
|
29
|
+
const conversationPreview__title = "_conversationPreview__title_29xqv_48";
|
|
30
|
+
const conversationPreview__time = "_conversationPreview__time_29xqv_58";
|
|
31
|
+
const conversationPreview__footer = "_conversationPreview__footer_29xqv_65";
|
|
32
|
+
const conversationPreview__abstract = "_conversationPreview__abstract_29xqv_70";
|
|
33
|
+
const conversationPreview__external = "_conversationPreview__external_29xqv_79";
|
|
34
|
+
const conversationPreview__unread = "_conversationPreview__unread_29xqv_88";
|
|
35
|
+
const conversationPreview__actions = "_conversationPreview__actions_29xqv_108";
|
|
36
36
|
const style0 = {
|
|
37
37
|
conversationPreview,
|
|
38
|
-
"conversationPreview--active": "_conversationPreview--
|
|
39
|
-
"conversationPreview--pin": "_conversationPreview--
|
|
38
|
+
"conversationPreview--active": "_conversationPreview--active_29xqv_28",
|
|
39
|
+
"conversationPreview--pin": "_conversationPreview--pin_29xqv_31",
|
|
40
40
|
conversationPreview__avatar,
|
|
41
41
|
conversationPreview__content,
|
|
42
42
|
conversationPreview__header,
|
|
@@ -46,7 +46,7 @@ const style0 = {
|
|
|
46
46
|
conversationPreview__abstract,
|
|
47
47
|
conversationPreview__external,
|
|
48
48
|
conversationPreview__unread,
|
|
49
|
-
"unread-count": "_unread-
|
|
49
|
+
"unread-count": "_unread-count_29xqv_95",
|
|
50
50
|
conversationPreview__actions
|
|
51
51
|
};
|
|
52
52
|
const cssModules = {
|
|
@@ -1,47 +1,36 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import { generateHighlightTitle } from "./utils.js";
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, toDisplayString, unref } from "vue";
|
|
3
2
|
import { _ as _export_sfc } from "../../../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
4
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
4
|
__name: "ConversationPreviewTitle",
|
|
6
5
|
props: {
|
|
7
|
-
conversation: {}
|
|
8
|
-
highlightMatchString: {}
|
|
6
|
+
conversation: {}
|
|
9
7
|
},
|
|
10
8
|
setup(__props) {
|
|
9
|
+
var _a, _b;
|
|
11
10
|
const props = __props;
|
|
12
|
-
const
|
|
11
|
+
const title = ((_b = (_a = props == null ? void 0 : props.conversation) == null ? void 0 : _a.getShowName) == null ? void 0 : _b.call(_a)) || "";
|
|
13
12
|
return (_ctx, _cache) => {
|
|
14
13
|
return openBlock(), createElementBlock("div", {
|
|
15
14
|
class: normalizeClass([_ctx.$style.conversationPreview__title, _ctx.$style.textEllipsis])
|
|
16
|
-
},
|
|
17
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(titleItems.value, (item, index) => {
|
|
18
|
-
return openBlock(), createElementBlock("span", {
|
|
19
|
-
key: index,
|
|
20
|
-
class: normalizeClass({
|
|
21
|
-
[_ctx.$style["conversationPreview__title--highlight"]]: item.isHighlight,
|
|
22
|
-
[_ctx.$style["conversationPreview__title--normal"]]: !item.isHighlight
|
|
23
|
-
})
|
|
24
|
-
}, toDisplayString(item.text), 3);
|
|
25
|
-
}), 128))
|
|
26
|
-
], 2);
|
|
15
|
+
}, toDisplayString(unref(title)), 3);
|
|
27
16
|
};
|
|
28
17
|
}
|
|
29
18
|
});
|
|
30
|
-
const conversationPreview = "
|
|
31
|
-
const conversationPreview__avatar = "
|
|
32
|
-
const conversationPreview__content = "
|
|
33
|
-
const conversationPreview__header = "
|
|
34
|
-
const conversationPreview__title = "
|
|
35
|
-
const conversationPreview__time = "
|
|
36
|
-
const conversationPreview__footer = "
|
|
37
|
-
const conversationPreview__abstract = "
|
|
38
|
-
const conversationPreview__external = "
|
|
39
|
-
const conversationPreview__unread = "
|
|
40
|
-
const conversationPreview__actions = "
|
|
19
|
+
const conversationPreview = "_conversationPreview_29xqv_12";
|
|
20
|
+
const conversationPreview__avatar = "_conversationPreview__avatar_29xqv_34";
|
|
21
|
+
const conversationPreview__content = "_conversationPreview__content_29xqv_38";
|
|
22
|
+
const conversationPreview__header = "_conversationPreview__header_29xqv_42";
|
|
23
|
+
const conversationPreview__title = "_conversationPreview__title_29xqv_48";
|
|
24
|
+
const conversationPreview__time = "_conversationPreview__time_29xqv_58";
|
|
25
|
+
const conversationPreview__footer = "_conversationPreview__footer_29xqv_65";
|
|
26
|
+
const conversationPreview__abstract = "_conversationPreview__abstract_29xqv_70";
|
|
27
|
+
const conversationPreview__external = "_conversationPreview__external_29xqv_79";
|
|
28
|
+
const conversationPreview__unread = "_conversationPreview__unread_29xqv_88";
|
|
29
|
+
const conversationPreview__actions = "_conversationPreview__actions_29xqv_108";
|
|
41
30
|
const style0 = {
|
|
42
31
|
conversationPreview,
|
|
43
|
-
"conversationPreview--active": "_conversationPreview--
|
|
44
|
-
"conversationPreview--pin": "_conversationPreview--
|
|
32
|
+
"conversationPreview--active": "_conversationPreview--active_29xqv_28",
|
|
33
|
+
"conversationPreview--pin": "_conversationPreview--pin_29xqv_31",
|
|
45
34
|
conversationPreview__avatar,
|
|
46
35
|
conversationPreview__content,
|
|
47
36
|
conversationPreview__header,
|
|
@@ -51,7 +40,7 @@ const style0 = {
|
|
|
51
40
|
conversationPreview__abstract,
|
|
52
41
|
conversationPreview__external,
|
|
53
42
|
conversationPreview__unread,
|
|
54
|
-
"unread-count": "_unread-
|
|
43
|
+
"unread-count": "_unread-count_29xqv_95",
|
|
55
44
|
conversationPreview__actions
|
|
56
45
|
};
|
|
57
46
|
const cssModules = {
|
package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue.d.ts
CHANGED
|
@@ -2,10 +2,8 @@ import { ConversationModel } from '../../../types';
|
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
conversation: ConversationModel;
|
|
5
|
-
highlightMatchString?: string;
|
|
6
5
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
6
|
conversation: ConversationModel;
|
|
8
|
-
highlightMatchString?: string;
|
|
9
7
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
8
|
export default _default;
|
|
11
9
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -17,7 +17,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
conversation: {},
|
|
18
18
|
isSelected: { type: Boolean, default: false },
|
|
19
19
|
enableActions: { type: Boolean, default: true },
|
|
20
|
-
highlightMatchString: {},
|
|
21
20
|
Avatar: { type: [Object, Function], default: () => Avatar },
|
|
22
21
|
Title: { default: () => DefaultTitle },
|
|
23
22
|
LastMessageAbstract: { default: () => DefaultLastMessageAbstract },
|
|
@@ -114,21 +113,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
114
113
|
};
|
|
115
114
|
}
|
|
116
115
|
});
|
|
117
|
-
const conversationPreview = "
|
|
118
|
-
const conversationPreview__avatar = "
|
|
119
|
-
const conversationPreview__content = "
|
|
120
|
-
const conversationPreview__header = "
|
|
121
|
-
const conversationPreview__title = "
|
|
122
|
-
const conversationPreview__time = "
|
|
123
|
-
const conversationPreview__footer = "
|
|
124
|
-
const conversationPreview__abstract = "
|
|
125
|
-
const conversationPreview__external = "
|
|
126
|
-
const conversationPreview__unread = "
|
|
127
|
-
const conversationPreview__actions = "
|
|
116
|
+
const conversationPreview = "_conversationPreview_29xqv_12";
|
|
117
|
+
const conversationPreview__avatar = "_conversationPreview__avatar_29xqv_34";
|
|
118
|
+
const conversationPreview__content = "_conversationPreview__content_29xqv_38";
|
|
119
|
+
const conversationPreview__header = "_conversationPreview__header_29xqv_42";
|
|
120
|
+
const conversationPreview__title = "_conversationPreview__title_29xqv_48";
|
|
121
|
+
const conversationPreview__time = "_conversationPreview__time_29xqv_58";
|
|
122
|
+
const conversationPreview__footer = "_conversationPreview__footer_29xqv_65";
|
|
123
|
+
const conversationPreview__abstract = "_conversationPreview__abstract_29xqv_70";
|
|
124
|
+
const conversationPreview__external = "_conversationPreview__external_29xqv_79";
|
|
125
|
+
const conversationPreview__unread = "_conversationPreview__unread_29xqv_88";
|
|
126
|
+
const conversationPreview__actions = "_conversationPreview__actions_29xqv_108";
|
|
128
127
|
const style0 = {
|
|
129
128
|
conversationPreview,
|
|
130
|
-
"conversationPreview--active": "_conversationPreview--
|
|
131
|
-
"conversationPreview--pin": "_conversationPreview--
|
|
129
|
+
"conversationPreview--active": "_conversationPreview--active_29xqv_28",
|
|
130
|
+
"conversationPreview--pin": "_conversationPreview--pin_29xqv_31",
|
|
132
131
|
conversationPreview__avatar,
|
|
133
132
|
conversationPreview__content,
|
|
134
133
|
conversationPreview__header,
|
|
@@ -138,7 +137,7 @@ const style0 = {
|
|
|
138
137
|
conversationPreview__abstract,
|
|
139
138
|
conversationPreview__external,
|
|
140
139
|
conversationPreview__unread,
|
|
141
|
-
"unread-count": "_unread-
|
|
140
|
+
"unread-count": "_unread-count_29xqv_95",
|
|
142
141
|
conversationPreview__actions
|
|
143
142
|
};
|
|
144
143
|
const cssModules = {
|
|
@@ -132,10 +132,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
132
132
|
type: import('vue').PropType<Record<string, import('../../..').ConversationActionItem>>;
|
|
133
133
|
};
|
|
134
134
|
PopupIcon: {
|
|
135
|
-
type: import('vue').PropType<
|
|
135
|
+
type: import('vue').PropType<import('vue').Component>;
|
|
136
136
|
};
|
|
137
137
|
PopupElements: {
|
|
138
|
-
type: import('vue').PropType<
|
|
138
|
+
type: import('vue').PropType<import('vue').Component[]>;
|
|
139
139
|
};
|
|
140
140
|
conversation: {
|
|
141
141
|
type: import('vue').PropType<ConversationModel>;
|
|
@@ -193,10 +193,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
193
193
|
type: import('vue').PropType<Record<string, import('../../..').ConversationActionItem>>;
|
|
194
194
|
};
|
|
195
195
|
PopupIcon: {
|
|
196
|
-
type: import('vue').PropType<
|
|
196
|
+
type: import('vue').PropType<import('vue').Component>;
|
|
197
197
|
};
|
|
198
198
|
PopupElements: {
|
|
199
|
-
type: import('vue').PropType<
|
|
199
|
+
type: import('vue').PropType<import('vue').Component[]>;
|
|
200
200
|
};
|
|
201
201
|
conversation: {
|
|
202
202
|
type: import('vue').PropType<ConversationModel>;
|
|
@@ -236,17 +236,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
236
236
|
type: import('vue').PropType<ConversationModel>;
|
|
237
237
|
required: true;
|
|
238
238
|
};
|
|
239
|
-
highlightMatchString: {
|
|
240
|
-
type: import('vue').PropType<string>;
|
|
241
|
-
};
|
|
242
239
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
243
240
|
conversation: {
|
|
244
241
|
type: import('vue').PropType<ConversationModel>;
|
|
245
242
|
required: true;
|
|
246
243
|
};
|
|
247
|
-
highlightMatchString: {
|
|
248
|
-
type: import('vue').PropType<string>;
|
|
249
|
-
};
|
|
250
244
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
251
245
|
LastMessageAbstract: () => import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
252
246
|
conversation: {
|
|
@@ -412,10 +406,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
412
406
|
type: import('vue').PropType<Record<string, import('../../..').ConversationActionItem>>;
|
|
413
407
|
};
|
|
414
408
|
PopupIcon: {
|
|
415
|
-
type: import('vue').PropType<
|
|
409
|
+
type: import('vue').PropType<import('vue').Component>;
|
|
416
410
|
};
|
|
417
411
|
PopupElements: {
|
|
418
|
-
type: import('vue').PropType<
|
|
412
|
+
type: import('vue').PropType<import('vue').Component[]>;
|
|
419
413
|
};
|
|
420
414
|
conversation: {
|
|
421
415
|
type: import('vue').PropType<ConversationModel>;
|
|
@@ -473,10 +467,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
473
467
|
type: import('vue').PropType<Record<string, import('../../..').ConversationActionItem>>;
|
|
474
468
|
};
|
|
475
469
|
PopupIcon: {
|
|
476
|
-
type: import('vue').PropType<
|
|
470
|
+
type: import('vue').PropType<import('vue').Component>;
|
|
477
471
|
};
|
|
478
472
|
PopupElements: {
|
|
479
|
-
type: import('vue').PropType<
|
|
473
|
+
type: import('vue').PropType<import('vue').Component[]>;
|
|
480
474
|
};
|
|
481
475
|
conversation: {
|
|
482
476
|
type: import('vue').PropType<ConversationModel>;
|
|
@@ -516,17 +510,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
516
510
|
type: import('vue').PropType<ConversationModel>;
|
|
517
511
|
required: true;
|
|
518
512
|
};
|
|
519
|
-
highlightMatchString: {
|
|
520
|
-
type: import('vue').PropType<string>;
|
|
521
|
-
};
|
|
522
513
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
523
514
|
conversation: {
|
|
524
515
|
type: import('vue').PropType<ConversationModel>;
|
|
525
516
|
required: true;
|
|
526
517
|
};
|
|
527
|
-
highlightMatchString: {
|
|
528
|
-
type: import('vue').PropType<string>;
|
|
529
|
-
};
|
|
530
518
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
531
519
|
LastMessageAbstract: () => import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
532
520
|
conversation: {
|
|
@@ -568,10 +556,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
568
556
|
isSelected: boolean;
|
|
569
557
|
ConversationActions: import('vue').Component<import('../../..').ConversationActionsProps>;
|
|
570
558
|
enableActions: boolean;
|
|
571
|
-
Title: string |
|
|
572
|
-
LastMessageAbstract: string |
|
|
573
|
-
LastMessageTimestamp: string |
|
|
574
|
-
Unread: string |
|
|
559
|
+
Title: string | import('vue').Component;
|
|
560
|
+
LastMessageAbstract: string | import('vue').Component;
|
|
561
|
+
LastMessageTimestamp: string | import('vue').Component;
|
|
562
|
+
Unread: string | import('vue').Component;
|
|
575
563
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
576
564
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
577
565
|
export default _default;
|
|
@@ -32,21 +32,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
|
-
const conversationPreview = "
|
|
36
|
-
const conversationPreview__avatar = "
|
|
37
|
-
const conversationPreview__content = "
|
|
38
|
-
const conversationPreview__header = "
|
|
39
|
-
const conversationPreview__title = "
|
|
40
|
-
const conversationPreview__time = "
|
|
41
|
-
const conversationPreview__footer = "
|
|
42
|
-
const conversationPreview__abstract = "
|
|
43
|
-
const conversationPreview__external = "
|
|
44
|
-
const conversationPreview__unread = "
|
|
45
|
-
const conversationPreview__actions = "
|
|
35
|
+
const conversationPreview = "_conversationPreview_29xqv_12";
|
|
36
|
+
const conversationPreview__avatar = "_conversationPreview__avatar_29xqv_34";
|
|
37
|
+
const conversationPreview__content = "_conversationPreview__content_29xqv_38";
|
|
38
|
+
const conversationPreview__header = "_conversationPreview__header_29xqv_42";
|
|
39
|
+
const conversationPreview__title = "_conversationPreview__title_29xqv_48";
|
|
40
|
+
const conversationPreview__time = "_conversationPreview__time_29xqv_58";
|
|
41
|
+
const conversationPreview__footer = "_conversationPreview__footer_29xqv_65";
|
|
42
|
+
const conversationPreview__abstract = "_conversationPreview__abstract_29xqv_70";
|
|
43
|
+
const conversationPreview__external = "_conversationPreview__external_29xqv_79";
|
|
44
|
+
const conversationPreview__unread = "_conversationPreview__unread_29xqv_88";
|
|
45
|
+
const conversationPreview__actions = "_conversationPreview__actions_29xqv_108";
|
|
46
46
|
const style0 = {
|
|
47
47
|
conversationPreview,
|
|
48
|
-
"conversationPreview--active": "_conversationPreview--
|
|
49
|
-
"conversationPreview--pin": "_conversationPreview--
|
|
48
|
+
"conversationPreview--active": "_conversationPreview--active_29xqv_28",
|
|
49
|
+
"conversationPreview--pin": "_conversationPreview--pin_29xqv_31",
|
|
50
50
|
conversationPreview__avatar,
|
|
51
51
|
conversationPreview__content,
|
|
52
52
|
conversationPreview__header,
|
|
@@ -56,7 +56,7 @@ const style0 = {
|
|
|
56
56
|
conversationPreview__abstract,
|
|
57
57
|
conversationPreview__external,
|
|
58
58
|
conversationPreview__unread,
|
|
59
|
-
"unread-count": "_unread-
|
|
59
|
+
"unread-count": "_unread-count_29xqv_95",
|
|
60
60
|
conversationPreview__actions
|
|
61
61
|
};
|
|
62
62
|
const cssModules = {
|
|
@@ -4,4 +4,4 @@ export { default as ConversationPreviewTitle } from './ConversationPreviewTitle.
|
|
|
4
4
|
export { default as ConversationPreviewTimestamp } from './ConversationPreviewTimestamp.vue';
|
|
5
5
|
export { default as ConversationPreviewAbstract } from './ConversationPreviewAbstract.vue';
|
|
6
6
|
export { default as ConversationPreviewUnread } from './ConversationPreviewUnread.vue';
|
|
7
|
-
export {
|
|
7
|
+
export { getLatestMessagePreview } from './utils';
|
|
@@ -6,7 +6,7 @@ import DefaultTitle from "./ConversationPreviewTitle.js";
|
|
|
6
6
|
import DefaultLastMessageTimestamp from "./ConversationPreviewTimestamp.js";
|
|
7
7
|
import DefaultLastMessageAbstract from "./ConversationPreviewAbstract.js";
|
|
8
8
|
import DefaultUnread from "./ConversationPreviewUnread.js";
|
|
9
|
-
import {
|
|
9
|
+
import { getLatestMessagePreview } from "./utils.js";
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "ConversationPreview",
|
|
12
12
|
props: {
|
|
@@ -14,7 +14,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
conversation: {},
|
|
15
15
|
isSelected: { type: Boolean, default: false },
|
|
16
16
|
enableActions: { type: Boolean, default: true },
|
|
17
|
-
highlightMatchString: {},
|
|
18
17
|
Avatar: { type: [Object, Function], default: () => Avatar },
|
|
19
18
|
Title: {},
|
|
20
19
|
LastMessageAbstract: {},
|
|
@@ -31,17 +30,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
30
|
setup(__props, { emit: __emit }) {
|
|
32
31
|
const props = __props;
|
|
33
32
|
const emit = __emit;
|
|
34
|
-
const Title = computed(() => h(DefaultTitle, {
|
|
35
|
-
conversation: props.conversation
|
|
36
|
-
highlightMatchString: props.highlightMatchString
|
|
33
|
+
const Title = computed(() => h(props.Title || DefaultTitle, {
|
|
34
|
+
conversation: props.conversation
|
|
37
35
|
}));
|
|
38
|
-
const LastMessageTimestamp = computed(() => h(DefaultLastMessageTimestamp, {
|
|
36
|
+
const LastMessageTimestamp = computed(() => h(props.LastMessageTimestamp || DefaultLastMessageTimestamp, {
|
|
39
37
|
conversation: props.conversation
|
|
40
38
|
}));
|
|
41
|
-
const LastMessageAbstract = computed(() => h(DefaultLastMessageAbstract, {
|
|
39
|
+
const LastMessageAbstract = computed(() => h(props.LastMessageAbstract || DefaultLastMessageAbstract, {
|
|
42
40
|
conversation: props.conversation
|
|
43
41
|
}));
|
|
44
|
-
const Unread = computed(() => h(DefaultUnread, {
|
|
42
|
+
const Unread = computed(() => h(props.Unread || DefaultUnread, {
|
|
45
43
|
conversation: props.conversation
|
|
46
44
|
}));
|
|
47
45
|
const handleSelectConversation = (conversation) => {
|
|
@@ -51,17 +49,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
49
|
return openBlock(), createElementBlock("div", null, [
|
|
52
50
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.Preview), {
|
|
53
51
|
conversation: _ctx.conversation,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"class-name": _ctx.className,
|
|
52
|
+
isSelected: _ctx.isSelected,
|
|
53
|
+
enableActions: _ctx.enableActions,
|
|
54
|
+
Avatar: _ctx.Avatar,
|
|
55
|
+
ConversationActions: _ctx.ConversationActions,
|
|
56
|
+
Title: Title.value,
|
|
57
|
+
LastMessageTimestamp: LastMessageTimestamp.value,
|
|
58
|
+
LastMessageAbstract: LastMessageAbstract.value,
|
|
59
|
+
Unread: Unread.value,
|
|
60
|
+
actionsConfig: _ctx.actionsConfig,
|
|
61
|
+
className: _ctx.className,
|
|
65
62
|
style: normalizeStyle(_ctx.style),
|
|
66
63
|
onSelect: handleSelectConversation
|
|
67
64
|
}, {
|
|
@@ -69,7 +66,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
69
66
|
renderSlot(_ctx.$slots, "default")
|
|
70
67
|
]),
|
|
71
68
|
_: 3
|
|
72
|
-
}, 40, ["conversation", "
|
|
69
|
+
}, 40, ["conversation", "isSelected", "enableActions", "Avatar", "ConversationActions", "Title", "LastMessageTimestamp", "LastMessageAbstract", "Unread", "actionsConfig", "className", "style"]))
|
|
73
70
|
]);
|
|
74
71
|
};
|
|
75
72
|
}
|
|
@@ -81,6 +78,5 @@ export {
|
|
|
81
78
|
DefaultTitle as ConversationPreviewTitle,
|
|
82
79
|
ConversationPreviewUIComponent as ConversationPreviewUI,
|
|
83
80
|
DefaultUnread as ConversationPreviewUnread,
|
|
84
|
-
generateHighlightTitle,
|
|
85
81
|
getLatestMessagePreview
|
|
86
82
|
};
|
|
@@ -139,6 +139,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
139
139
|
}, null, 40, ["class", "variant", "SearchBar", "SearchResultsPresearch", "SearchResultsLoading", "SearchResultsEmpty", "SearchResultItem", "onSearchComplete", "onError"]))
|
|
140
140
|
], 2)) : createCommentVNode("", true),
|
|
141
141
|
createVNode(unref(TUIDialog), {
|
|
142
|
+
appendTo: "body",
|
|
142
143
|
customClasses: [_ctx.$style.conversationSearch__advanced],
|
|
143
144
|
visible: isShowStandard.value,
|
|
144
145
|
"show-close": false,
|