tuikit-atomicx-vue3 4.5.0 → 4.5.2

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.
Files changed (182) hide show
  1. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-jPzZ5INK.js → MessageInput.vue_vue_type_script_setup_true_lang-3RVYOdkv.js} +38 -38
  2. package/dist/{PopoverTrigger-L8abAry7.js → PopoverPortal-DV6zFXcf.js} +91 -136
  3. package/dist/PopoverTrigger-DIjW4PKa.js +54 -0
  4. package/dist/{PopperContent-XdhqL8Y2.js → PopperContent-D__dbwpA.js} +6 -6
  5. package/dist/{Teleport-CSEuZbpM.js → Teleport-98QrIYDI.js} +280 -270
  6. package/dist/baseComp/Modal/Modal.js +3 -3
  7. package/dist/components/AudioSettingPanel/index.js +14 -14
  8. package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +10 -9
  9. package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
  10. package/dist/components/BarrageInput/TextEditor/EditorCore.js +16 -15
  11. package/dist/components/ConversationList/ConversationActions/ConversationActions.js +53 -50
  12. package/dist/components/ConversationList/ConversationActions/ConversationActions.vue.d.ts +2 -0
  13. package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +25 -25
  14. package/dist/components/ConversationList/ConversationList.vue.d.ts +16 -0
  15. package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +16 -0
  16. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +62 -40
  17. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +28 -26
  18. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.js +27 -23
  19. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue.d.ts +1 -1
  20. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +81 -70
  21. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +4 -0
  22. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +33 -31
  23. package/dist/components/ConversationList/ConversationPreview/utils.d.ts +2 -2
  24. package/dist/components/ConversationList/ConversationPreview/utils.js +81 -35
  25. package/dist/components/ConversationList/i18n/en-US.d.ts +11 -1
  26. package/dist/components/ConversationList/i18n/en-US.js +12 -2
  27. package/dist/components/ConversationList/i18n/zh-CN.d.ts +11 -1
  28. package/dist/components/ConversationList/i18n/zh-CN.js +12 -2
  29. package/dist/components/ConversationList/index.d.ts +48 -0
  30. package/dist/components/MessageInput/AttachmentPicker/index.js +10 -9
  31. package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +17 -16
  32. package/dist/components/MessageInput/MessageInput.js +1 -1
  33. package/dist/components/MessageInput/QuotedMessagePreview/index.js +35 -35
  34. package/dist/components/MessageInput/TextEditor/EditorCore.d.ts +13 -12
  35. package/dist/components/MessageInput/TextEditor/EditorCore.js +54 -89
  36. package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +229 -0
  37. package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.vue.d.ts +15 -0
  38. package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
  39. package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.d.ts +1 -0
  40. package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +22 -0
  41. package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.d.ts +3 -0
  42. package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +15 -0
  43. package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +2 -2
  44. package/dist/components/MessageInput/TextEditor/extensions/index.d.ts +8 -0
  45. package/dist/components/MessageInput/TextEditor/extensions/index.js +12 -0
  46. package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.d.ts +5 -0
  47. package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +330 -0
  48. package/dist/components/MessageInput/TextEditor/index.js +62 -62
  49. package/dist/components/MessageInput/i18n/en-US.d.ts +3 -0
  50. package/dist/components/MessageInput/i18n/en-US.js +4 -1
  51. package/dist/components/MessageInput/i18n/index.d.ts +6 -0
  52. package/dist/components/MessageInput/i18n/zh-CN.d.ts +3 -0
  53. package/dist/components/MessageInput/i18n/zh-CN.js +4 -1
  54. package/dist/components/MessageInput/index.js +1 -1
  55. package/dist/components/MessageList/Message/ImageMessage/ImageMessage.js +119 -89
  56. package/dist/components/MessageList/Message/ImageMessage/ImagePreview.js +142 -0
  57. package/dist/components/MessageList/Message/ImageMessage/ImagePreview.vue.d.ts +20 -0
  58. package/dist/components/MessageList/Message/Message.vue.d.ts +8 -0
  59. package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +3 -3
  60. package/dist/components/MessageList/Message/MessageLayout/MessageLayout.js +69 -58
  61. package/dist/components/MessageList/Message/MessageLayout/MessageLayout.vue.d.ts +8 -0
  62. package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.js +37 -28
  63. package/dist/components/MessageList/Message/index.js +8 -4
  64. package/dist/components/MessageList/MessageList.js +109 -91
  65. package/dist/components/MessageList/MessageList.vue.d.ts +1 -1
  66. package/dist/components/MessageList/index.d.ts +21 -3
  67. package/dist/components/ScheduleRoomPanel/RoomDetail.js +22 -22
  68. package/dist/components/ScheduleRoomPanel/RoomEdit.js +1 -1
  69. package/dist/components/ScheduleRoomPanel/RoomShare.js +4 -4
  70. package/dist/components/ScheduleRoomPanel/ScheduleRoomPanel.js +1 -1
  71. package/dist/components/ScheduleRoomPanel/ScheduledRoomList.js +1 -1
  72. package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.js +6 -6
  73. package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.vue.d.ts +1 -1
  74. package/dist/components/UIKitModal/chatErrorModal/chatErrorModal.d.ts +72 -0
  75. package/dist/components/UIKitModal/chatErrorModal/chatErrorModal.js +95 -0
  76. package/dist/components/UIKitModal/chatErrorModal/i18n/en-US/index.d.ts +40 -0
  77. package/dist/components/UIKitModal/chatErrorModal/i18n/en-US/index.js +51 -0
  78. package/dist/components/UIKitModal/chatErrorModal/i18n/index.d.ts +4 -0
  79. package/dist/components/UIKitModal/chatErrorModal/i18n/index.js +6 -0
  80. package/dist/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.d.ts +40 -0
  81. package/dist/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.js +51 -0
  82. package/dist/components/UIKitModal/chatErrorModal/index.d.ts +3 -0
  83. package/dist/components/UIKitModal/chatErrorModal/index.js +11 -0
  84. package/dist/components/VideoSettingPanel/index.js +1 -1
  85. package/dist/hooks/useReadReceipt/useReadReceipt.js +44 -41
  86. package/dist/index-CTthrJb2.js +1461 -0
  87. package/dist/index-DXC5bPY4.js +2174 -0
  88. package/dist/{index-Do-2CngU.js → index-DuAffztD.js} +115 -142
  89. package/dist/{index-7vNB_Vx8.js → index-hHVD-MG2.js} +1 -1
  90. package/dist/index.d.ts +1 -1
  91. package/dist/index.js +150 -149
  92. package/dist/states/GroupSettingState/GroupSettingState.js +109 -102
  93. package/dist/states/LoginState.js +43 -43
  94. package/dist/states/MessageActionState/MessageActionState.js +83 -223
  95. package/dist/states/MessageInputState/MessageInputState.js +111 -82
  96. package/dist/states/MessageInputState/type.d.ts +36 -10
  97. package/dist/states/MessageInputState/utils.d.ts +1 -5
  98. package/dist/states/MessageListState/MessageListState.d.ts +1 -1
  99. package/dist/states/MessageListState/MessageListState.js +26 -23
  100. package/dist/states/RoomParticipantState/index.js +83 -24
  101. package/dist/states/RoomParticipantState/participantEventManager.d.ts +2 -2
  102. package/dist/states/RoomParticipantState/participantEventManager.js +217 -205
  103. package/dist/states/RoomParticipantState/participantManager.d.ts +4 -0
  104. package/dist/states/RoomParticipantState/participantManager.js +159 -127
  105. package/dist/states/RoomState/callManager.d.ts +3 -3
  106. package/dist/states/RoomState/callManager.js +20 -20
  107. package/dist/states/RoomState/common.d.ts +3 -2
  108. package/dist/states/RoomState/common.js +34 -24
  109. package/dist/states/RoomState/roomManager.d.ts +0 -1
  110. package/dist/states/RoomState/roomManager.js +21 -27
  111. package/dist/states/RoomState/scheduleManager.js +2 -2
  112. package/dist/styles/index.css +1 -1
  113. package/dist/{chat/index.d.ts → subEntry/chat/chat.d.ts} +2160 -2087
  114. package/dist/subEntry/chat/chat.js +89 -0
  115. package/dist/subEntry/chat/index.d.ts +11 -0
  116. package/dist/subEntry/chat/index.js +81 -0
  117. package/dist/{chat → subEntry/chat}/server.js +4 -4
  118. package/dist/subEntry/live/index.js +46 -45
  119. package/dist/subEntry/room/index.js +39 -38
  120. package/dist/types/beauty.d.ts +20 -0
  121. package/dist/types/index.js +37 -36
  122. package/dist/types/participant.d.ts +2 -0
  123. package/dist/types/room.d.ts +45 -1
  124. package/dist/types/room.js +4 -3
  125. package/dist/{useId-CtirfF0W.js → useId-B1VwPJLm.js} +1 -1
  126. package/dist/utils/call.js +77 -71
  127. package/dist/{utils-DaB7eSu5.js → utils-BU8IkP_V.js} +1 -1
  128. package/package.json +8 -7
  129. package/src/components/AudioSettingPanel/index.vue +4 -5
  130. package/src/components/ConversationList/ConversationActions/ConversationActions.vue +7 -1
  131. package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +5 -1
  132. package/src/components/ConversationList/ConversationList.vue +0 -1
  133. package/src/components/ConversationList/ConversationPreview/ConversationPreview.scss +10 -2
  134. package/src/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.vue +32 -1
  135. package/src/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue +3 -2
  136. package/src/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue +15 -0
  137. package/src/components/ConversationList/ConversationPreview/utils.ts +98 -28
  138. package/src/components/ConversationList/i18n/en-US.ts +11 -1
  139. package/src/components/ConversationList/i18n/zh-CN.ts +11 -1
  140. package/src/components/MessageInput/MessageInput.module.scss +1 -0
  141. package/src/components/MessageInput/QuotedMessagePreview/QuotedMessagePreview.vue +19 -22
  142. package/src/components/MessageInput/TextEditor/Editor.scss +25 -0
  143. package/src/components/MessageInput/TextEditor/EditorCore.ts +79 -99
  144. package/src/components/MessageInput/TextEditor/TextEditor.vue +64 -68
  145. package/src/components/MessageInput/TextEditor/extensions/MentionSuggestion.vue +449 -0
  146. package/src/components/MessageInput/TextEditor/extensions/emojiExtension.ts +22 -0
  147. package/src/components/MessageInput/TextEditor/extensions/enterKeyExtension.ts +22 -0
  148. package/src/components/MessageInput/TextEditor/extensions/index.ts +8 -0
  149. package/src/components/MessageInput/TextEditor/extensions/mentionExtension.ts +87 -0
  150. package/src/components/MessageInput/i18n/en-US.ts +3 -0
  151. package/src/components/MessageInput/i18n/zh-CN.ts +3 -0
  152. package/src/components/MessageList/Message/ImageMessage/ImageMessage.vue +49 -0
  153. package/src/components/MessageList/Message/ImageMessage/ImagePreview.vue +344 -0
  154. package/src/components/MessageList/Message/Message.vue +6 -0
  155. package/src/components/MessageList/Message/MessageLayout/MessageLayout.vue +8 -1
  156. package/src/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +12 -3
  157. package/src/components/MessageList/MessageList.vue +50 -14
  158. package/src/components/ScheduleRoomPanel/RoomDetail.vue +1 -0
  159. package/src/components/ScheduleRoomPanel/RoomEdit.vue +2 -1
  160. package/src/components/ScheduleRoomPanel/RoomShare.vue +1 -0
  161. package/src/components/ScheduleRoomPanel/ScheduleRoomPanel.vue +1 -0
  162. package/src/components/ScheduleRoomPanel/ScheduledRoomList.vue +1 -0
  163. package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.vue +30 -31
  164. package/src/components/UIKitModal/chatErrorModal/chatErrorModal.ts +205 -0
  165. package/src/components/UIKitModal/chatErrorModal/i18n/en-US/index.ts +56 -0
  166. package/src/components/UIKitModal/chatErrorModal/i18n/index.ts +4 -0
  167. package/src/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.ts +56 -0
  168. package/src/components/UIKitModal/chatErrorModal/index.ts +16 -0
  169. package/src/components/VideoSettingPanel/index.vue +1 -0
  170. package/src/hooks/useReadReceipt/useReadReceipt.ts +5 -4
  171. package/src/index.ts +1 -1
  172. package/src/{chat/index.ts → subEntry/chat/chat.ts} +25 -18
  173. package/src/subEntry/chat/index.ts +13 -0
  174. package/src/{chat → subEntry/chat}/server.ts +3 -3
  175. package/src/types/beauty.ts +20 -0
  176. package/src/types/participant.ts +3 -0
  177. package/src/types/room.ts +49 -1
  178. package/src/utils/call.ts +8 -0
  179. package/dist/chat/index.js +0 -59
  180. package/dist/index-ZILx4LYk.js +0 -4826
  181. package/dist/states/SearchState.d.ts +0 -314
  182. /package/dist/{chat → subEntry/chat}/server.d.ts +0 -0
@@ -1,314 +0,0 @@
1
- import { ISearchType as SearchType, SearchCloudGroupsParams, SearchCloudMessagesParams, SearchCloudUsersParams } from '@tencentcloud/chat-uikit-engine';
2
- import { VariantType } from '../types/search';
3
- import { SearchResult } from '../types/engine';
4
-
5
- /**
6
- * 搜索状态管理 Hook
7
- * @memberof module:SearchState
8
- * @description 提供搜索状态的管理和控制功能,支持多种搜索变体和搜索类型
9
- * @param {VariantType} [variant] - 可选的搜索变体类型,默认为 STANDARD
10
- * @returns {Object} 返回搜索状态管理对象
11
- * @returns {ComputedRef<string>} returns.keyword - 当前搜索关键词
12
- * @returns {ComputedRef<Map<SearchType, SearchResult<SearchType>>>} returns.results - 搜索结果映射
13
- * @returns {ComputedRef<boolean>} returns.isLoading - 搜索加载状态
14
- * @returns {ComputedRef<Error | null>} returns.error - 搜索错误信息
15
- * @returns {ComputedRef<Map<SearchType, SearchParamsMap[SearchType]>>} returns.searchAdvancedParams - 高级搜索参数
16
- * @returns {ComputedRef<SearchType | 'all'>} returns.selectedSearchType - 选中的搜索类型
17
- * @returns {Function} returns.setKeyword - 设置搜索关键词函数
18
- * @returns {Function} returns.loadMore - 加载更多搜索结果函数
19
- * @returns {Function} returns.setSelectedType - 设置选中搜索类型函数
20
- * @returns {Function} returns.setSearchMessageAdvancedParams - 设置消息搜索高级参数函数
21
- * @returns {Function} returns.setSearchUserAdvancedParams - 设置用户搜索高级参数函数
22
- * @returns {Function} returns.setSearchGroupAdvancedParams - 设置群组搜索高级参数函数
23
- * @example
24
- * ```typescript
25
- * const {
26
- * keyword,
27
- * results,
28
- * isLoading,
29
- * error,
30
- * setKeyword,
31
- * loadMore,
32
- * setSelectedType,
33
- * setSearchMessageAdvancedParams
34
- * } = useSearchState(VariantType.STANDARD);
35
- *
36
- * // 设置搜索关键词
37
- * setKeyword('hello world');
38
- *
39
- * // 设置搜索类型为消息
40
- * setSelectedType(SearchType.MESSAGE);
41
- *
42
- * // 设置消息搜索高级参数
43
- * setSearchMessageAdvancedParams({
44
- * conversationID: 'conversation123',
45
- * senderUserIDList: ['user1', 'user2']
46
- * });
47
- *
48
- * // 加载更多搜索结果
49
- * await loadMore(SearchType.MESSAGE);
50
- * ```
51
- */
52
- export declare function useSearchState(variant?: VariantType): {
53
- keyword: import('vue').ComputedRef<string>;
54
- results: import('vue').ComputedRef<Map<SearchType, {
55
- resultList: [] | {
56
- messageList: {
57
- ID: string;
58
- type: import("@tencentcloud/chat").default.TYPES;
59
- payload: any;
60
- conversationID: string;
61
- conversationType: import("@tencentcloud/chat").default.TYPES;
62
- to: string;
63
- from: string;
64
- flow: string;
65
- time: number;
66
- status: string;
67
- isRevoked: boolean;
68
- priority: import("@tencentcloud/chat").default.TYPES;
69
- nick: string;
70
- avatar: string;
71
- isPeerRead: boolean;
72
- nameCard: string;
73
- atUserList: string[];
74
- cloudCustomData: string;
75
- isDeleted: boolean;
76
- isModified: boolean;
77
- needReadReceipt: boolean;
78
- readReceiptInfo: any;
79
- isBroadcastMessage: boolean;
80
- isSupportExtension: boolean;
81
- receiverList?: string[] | undefined;
82
- revoker: string;
83
- sequence: number;
84
- progress: number;
85
- revokerInfo: {
86
- userID: string;
87
- nick: string;
88
- avatar: string;
89
- };
90
- revokeReason: string;
91
- hasRiskContent: boolean;
92
- reactionList: {
93
- reactionID: string;
94
- totalUserCount: number;
95
- partialUserList: {
96
- userID: string;
97
- nick: string;
98
- avatar: string;
99
- }[];
100
- }[];
101
- updateProperties: (options: import('@tencentcloud/chat').Message) => void;
102
- getMessage: () => import('@tencentcloud/chat').Message;
103
- modifyMessage: (options: import('@tencentcloud/chat-uikit-engine').ModifyMessageParams) => Promise<any>;
104
- revokeMessage: () => Promise<any>;
105
- resendMessage: () => Promise<any>;
106
- deleteMessage: () => Promise<any>;
107
- quoteMessage: () => import('@tencentcloud/chat').Message;
108
- replyMessage: () => import('@tencentcloud/chat').Message;
109
- setMessageExtensions: (extensions: object[]) => Promise<any>;
110
- deleteMessageExtensions: (keyList?: string[]) => Promise<any>;
111
- getMessageExtensions: () => Promise<any>;
112
- getSignalingInfo: () => Record<string, any> | null;
113
- getMessageContent: () => Record<string, any>;
114
- }[];
115
- messageCount: number;
116
- conversation?: {
117
- conversationID: string;
118
- type: string;
119
- subType: string;
120
- unreadCount: number;
121
- lastMessage?: {
122
- nick: string;
123
- nameCard: string;
124
- lastTime: number | string;
125
- lastSequence: string;
126
- fromAccount: string;
127
- isRevoked: boolean;
128
- revoker?: string | undefined;
129
- isPeerRead: boolean;
130
- messageForShow: string;
131
- type: string;
132
- payload: any;
133
- } | undefined;
134
- groupProfile?: any;
135
- userProfile?: any;
136
- groupAtInfoList?: any[] | undefined;
137
- remark: string;
138
- isPinned: boolean;
139
- messageRemindType: string;
140
- markList: string[];
141
- customData: string;
142
- conversationGroupList: any[];
143
- draftText: string;
144
- isMuted: boolean;
145
- operationType: number;
146
- _conversation: any;
147
- updateProperties: (options: import('@tencentcloud/chat').Conversation) => void;
148
- updateOperationType: (operationType: number) => void;
149
- getConversation: () => any;
150
- deleteConversation: (clearHistoryMessage?: boolean) => Promise<any>;
151
- pinConversation: () => Promise<any>;
152
- muteConversation: () => Promise<any>;
153
- setMessageRead: () => Promise<any>;
154
- getAvatar: () => string;
155
- getShowName: () => string;
156
- getGroupAtInfo: () => string;
157
- getLastMessage: (key: string) => string | null;
158
- } | undefined;
159
- }[] | {
160
- profile: {
161
- userID: string;
162
- nick: string;
163
- gender: import("@tencentcloud/chat").default.TYPES;
164
- birthday: number;
165
- location: string;
166
- selfSignature: string;
167
- allowType: import("@tencentcloud/chat").default.TYPES;
168
- language: number;
169
- avatar: string;
170
- messageSettings: number;
171
- adminForbidType: import("@tencentcloud/chat").default.TYPES;
172
- level: number;
173
- role: number;
174
- lastUpdatedNumber: number;
175
- profileCustomField: Array<any>;
176
- };
177
- relation: import("@tencentcloud/chat").default.TYPES.SNS_TYPE_NO_RELATION | import("@tencentcloud/chat").default.TYPES.SNS_TYPE_A_WITH_B | import("@tencentcloud/chat").default.TYPES.SNS_TYPE_B_WITH_A | import("@tencentcloud/chat").default.TYPES.SNS_TYPE_BOTH_WAY;
178
- }[] | {
179
- groupInfo: {
180
- groupID: string;
181
- name: string;
182
- avatar: string;
183
- type: import("@tencentcloud/chat").default.TYPES;
184
- introduction: string;
185
- notification: string;
186
- ownerID: string;
187
- createTime: string;
188
- infoSequence: number;
189
- lastInfoTime: number;
190
- selfInfo: any;
191
- lastMessage: any;
192
- nextMessageSeq: number;
193
- memberCount: number;
194
- maxMemberCount: number;
195
- muteAllMembers: boolean;
196
- joinOption: import("@tencentcloud/chat").default.TYPES;
197
- groupCustomField: Array<any>;
198
- isSupportTopic: boolean;
199
- };
200
- conversation?: {
201
- conversationID: string;
202
- type: string;
203
- subType: string;
204
- unreadCount: number;
205
- lastMessage?: {
206
- nick: string;
207
- nameCard: string;
208
- lastTime: number | string;
209
- lastSequence: string;
210
- fromAccount: string;
211
- isRevoked: boolean;
212
- revoker?: string | undefined;
213
- isPeerRead: boolean;
214
- messageForShow: string;
215
- type: string;
216
- payload: any;
217
- } | undefined;
218
- groupProfile?: any;
219
- userProfile?: any;
220
- groupAtInfoList?: any[] | undefined;
221
- remark: string;
222
- isPinned: boolean;
223
- messageRemindType: string;
224
- markList: string[];
225
- customData: string;
226
- conversationGroupList: any[];
227
- draftText: string;
228
- isMuted: boolean;
229
- operationType: number;
230
- _conversation: any;
231
- updateProperties: (options: import('@tencentcloud/chat').Conversation) => void;
232
- updateOperationType: (operationType: number) => void;
233
- getConversation: () => any;
234
- deleteConversation: (clearHistoryMessage?: boolean) => Promise<any>;
235
- pinConversation: () => Promise<any>;
236
- muteConversation: () => Promise<any>;
237
- setMessageRead: () => Promise<any>;
238
- getAvatar: () => string;
239
- getShowName: () => string;
240
- getGroupAtInfo: () => string;
241
- getLastMessage: (key: string) => string | null;
242
- } | undefined;
243
- }[];
244
- hasMore: boolean;
245
- cursor: string;
246
- totalCount: number;
247
- params: {
248
- senderUserIDList?: string[] | undefined;
249
- messageTypeList?: any[] | undefined;
250
- conversationID?: string | undefined;
251
- timePosition?: number | undefined;
252
- timePeriod?: number | undefined;
253
- keyword?: string | undefined;
254
- keywordList?: string[] | undefined;
255
- keywordListMatchType?: "or" | "and" | undefined;
256
- cursor?: string | undefined;
257
- count?: number | undefined;
258
- } | {
259
- gender?: string | undefined;
260
- miniBirthday?: number | undefined;
261
- maxBirthday?: number | undefined;
262
- keyword?: string | undefined;
263
- keywordList?: string[] | undefined;
264
- keywordListMatchType?: "or" | "and" | undefined;
265
- cursor?: string | undefined;
266
- count?: number | undefined;
267
- } | {
268
- groupTypeList?: any[] | undefined;
269
- keyword?: string | undefined;
270
- keywordList?: string[] | undefined;
271
- keywordListMatchType?: "or" | "and" | undefined;
272
- cursor?: string | undefined;
273
- count?: number | undefined;
274
- };
275
- }> & Omit<Map<SearchType, SearchResult<SearchType>>, keyof Map<any, any>>>;
276
- isLoading: import('vue').ComputedRef<boolean>;
277
- error: import('vue').ComputedRef<Error | null>;
278
- searchAdvancedParams: import('vue').ComputedRef<Map<SearchType, {
279
- senderUserIDList?: string[] | undefined;
280
- messageTypeList?: any[] | undefined;
281
- conversationID?: string | undefined;
282
- timePosition?: number | undefined;
283
- timePeriod?: number | undefined;
284
- keyword?: string | undefined;
285
- keywordList?: string[] | undefined;
286
- keywordListMatchType?: "or" | "and" | undefined;
287
- cursor?: string | undefined;
288
- count?: number | undefined;
289
- } | {
290
- gender?: string | undefined;
291
- miniBirthday?: number | undefined;
292
- maxBirthday?: number | undefined;
293
- keyword?: string | undefined;
294
- keywordList?: string[] | undefined;
295
- keywordListMatchType?: "or" | "and" | undefined;
296
- cursor?: string | undefined;
297
- count?: number | undefined;
298
- } | {
299
- groupTypeList?: any[] | undefined;
300
- keyword?: string | undefined;
301
- keywordList?: string[] | undefined;
302
- keywordListMatchType?: "or" | "and" | undefined;
303
- cursor?: string | undefined;
304
- count?: number | undefined;
305
- }> & Omit<Map<SearchType, SearchCloudMessagesParams | SearchCloudUsersParams | SearchCloudGroupsParams>, keyof Map<any, any>>>;
306
- selectedSearchType: import('vue').ComputedRef<"all" | SearchType>;
307
- setKeyword: (k: string) => void;
308
- loadMore: (type?: SearchType) => Promise<void>;
309
- setSelectedType: (type: SearchType | "all") => void;
310
- setSearchMessageAdvancedParams: (params: SearchCloudMessagesParams) => void;
311
- setSearchUserAdvancedParams: (params: SearchCloudUsersParams) => void;
312
- setSearchGroupAdvancedParams: (params: SearchCloudGroupsParams) => void;
313
- };
314
- export default useSearchState;
File without changes