cnhis-design-vue 3.4.0-beta.72 → 3.4.0-beta.74

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 (46) hide show
  1. package/README.md +87 -87
  2. package/es/components/iho-chat/index.d.ts +2732 -332
  3. package/es/components/iho-chat/src/Index.vue.d.ts +2732 -332
  4. package/es/components/iho-chat/src/Index.vue2.js +5 -3
  5. package/es/components/iho-chat/src/api/index.d.ts +89 -16
  6. package/es/components/iho-chat/src/api/index.js +8 -1
  7. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +104 -22
  8. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +191 -29
  9. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +191 -29
  10. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +755 -101
  11. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +610 -51
  12. package/es/components/iho-chat/src/components/ChatMain.vue2.js +28 -29
  13. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +176 -14
  14. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +175 -10
  15. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +2 -1
  16. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +197 -29
  17. package/es/components/iho-chat/src/components/ChatSet.vue2.js +48 -11
  18. package/es/components/iho-chat/src/components/ContextMenu.js +7 -10
  19. package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +88 -7
  20. package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +157 -0
  21. package/es/components/iho-chat/src/components/MessageMarkdown.vue.js +6 -0
  22. package/es/components/iho-chat/src/components/MessageMarkdown.vue2.js +41 -0
  23. package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +176 -14
  24. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +192 -29
  25. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +91 -8
  26. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  27. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +93 -11
  28. package/es/components/iho-chat/src/components/Video.vue.d.ts +89 -8
  29. package/es/components/iho-chat/src/components/userItemRender.js +2 -1
  30. package/es/components/iho-chat/src/constants/index.d.ts +2 -1
  31. package/es/components/iho-chat/src/constants/index.js +1 -0
  32. package/es/components/iho-chat/src/hooks/useData.d.ts +374 -27
  33. package/es/components/iho-chat/src/hooks/useData.js +30 -9
  34. package/es/components/iho-chat/src/hooks/useStreamOutput.d.ts +6 -0
  35. package/es/components/iho-chat/src/hooks/useStreamOutput.js +100 -0
  36. package/es/components/iho-chat/src/hooks/useVideo.d.ts +89 -7
  37. package/es/components/iho-chat/src/hooks/useWebSocket.js +14 -4
  38. package/es/components/iho-chat/src/types/index.d.ts +39 -7
  39. package/es/components/iho-chat/src/utils/index.d.ts +2 -1
  40. package/es/components/iho-chat/src/utils/sseClient.d.ts +22 -0
  41. package/es/components/iho-chat/src/utils/sseClient.js +97 -0
  42. package/es/components/iho-chat/style/index.css +1 -1
  43. package/es/components/index.css +1 -1
  44. package/es/env.d.ts +25 -25
  45. package/es/shared/package.json.js +1 -1
  46. package/package.json +3 -3
@@ -116,7 +116,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
116
116
  }, {
117
117
  default: withCtx(() => [loading.value ? (openBlock(), createBlock(unref(NSpin), {
118
118
  key: 0,
119
- stroke: "#5585f5"
119
+ style: {
120
+ "margin": "auto"
121
+ }
120
122
  })) : (openBlock(), createElementBlock(Fragment, {
121
123
  key: 1
122
124
  }, [__props.showHeader ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(ChatSearch), createVNode(ChatAdd, {
@@ -130,8 +132,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
130
132
  default: withCtx(() => [createVNode(SiderList), createVNode(unref(NLayoutContent), {
131
133
  class: "chat-content",
132
134
  style: normalizeStyle({
133
- "--c-pointer-events": unref(isEnded) ? "none" : "unset",
134
- "--c-cursor": unref(isEnded) ? "not-allowed" : "unset"
135
+ "--c-pointer-events": unref(isEnded) || unref(state).loading ? "none" : "unset",
136
+ "--c-cursor": unref(isEnded) || unref(state).loading ? "not-allowed" : "unset"
135
137
  })
136
138
  }, {
137
139
  default: withCtx(() => [createVNode(ChatHeader, null, {
@@ -1,20 +1,93 @@
1
- import { AnyObject } from '../../../../shared/types';
1
+ import { CHAT_TYPE, STATUS } from '../constants';
2
2
  export declare const instanceAxios: import("axios").AxiosInstance;
3
- export declare function openSessionApi(params: AnyObject): import("axios").AxiosPromise<any>;
4
- export declare function getHistoryRecordApi(params: AnyObject): import("axios").AxiosPromise<any>;
5
- export declare function toppingSessionApi(params: AnyObject): import("axios").AxiosPromise<any>;
3
+ export declare function openSessionApi(params: {
4
+ chatType: CHAT_TYPE;
5
+ receiver: string;
6
+ sender: string;
7
+ }): import("axios").AxiosPromise<any>;
8
+ export declare function getHistoryRecordApi(params: {
9
+ sessionKey: string;
10
+ page: number;
11
+ lastSendTime: string;
12
+ }): import("axios").AxiosPromise<any>;
13
+ export declare function toppingSessionApi(params: {
14
+ id: string;
15
+ topping: boolean;
16
+ }): import("axios").AxiosPromise<any>;
6
17
  export declare function uploadFileApi(params: FormData): import("axios").AxiosPromise<any>;
7
- export declare function listUserApi(params: AnyObject): import("axios").AxiosPromise<any>;
8
- export declare function listPatientApi(params: AnyObject): import("axios").AxiosPromise<any>;
9
- export declare function getUserDetailApi(params: AnyObject): import("axios").AxiosPromise<any>;
10
- export declare function readMessageApi(params: AnyObject): import("axios").AxiosPromise<any>;
11
- export declare function recallMessageApi(params: AnyObject): import("axios").AxiosPromise<any>;
12
- export declare function searchChatRecordApi(params: AnyObject): import("axios").AxiosPromise<any>;
13
- export declare function groupCreateApi(params: AnyObject): import("axios").AxiosPromise<any>;
14
- export declare function groupUserApi(params: AnyObject): import("axios").AxiosPromise<any>;
15
- export declare function groupJoinApi(params: AnyObject): import("axios").AxiosPromise<any>;
16
- export declare function groupLeaveApi(params: AnyObject): import("axios").AxiosPromise<any>;
17
- export declare function avFinishApi(params: AnyObject): import("axios").AxiosPromise<any>;
18
+ export declare function listUserApi(params: {
19
+ orgId: string;
20
+ keyword: string;
21
+ page: number;
22
+ pageSize: number;
23
+ }): import("axios").AxiosPromise<any>;
24
+ export declare function listPatientApi(params: {
25
+ orgId: string;
26
+ keyword: string;
27
+ page: number;
28
+ pageSize: number;
29
+ }): import("axios").AxiosPromise<any>;
30
+ export declare function getUserDetailApi(params: {
31
+ userId: string;
32
+ }): import("axios").AxiosPromise<any>;
33
+ export declare function readMessageApi(params: {
34
+ chatType: string;
35
+ messageIdSet: string[];
36
+ receiver: string;
37
+ sender: string;
38
+ }): import("axios").AxiosPromise<any>;
39
+ export declare function recallMessageApi(params: {
40
+ chatType: string;
41
+ messageIdSet: string[];
42
+ receiver: string;
43
+ sender: string;
44
+ isLastMessage: boolean;
45
+ }): import("axios").AxiosPromise<any>;
46
+ export declare function searchChatRecordApi(params: {
47
+ orgId: string;
48
+ keyword: string;
49
+ endTime: string;
50
+ startTime: string;
51
+ lastSendTime: string;
52
+ memberIdSet: string[];
53
+ page: number;
54
+ recordType: 'ALL' | 'IMAGE' | 'FILE';
55
+ receiver: string;
56
+ userId: string;
57
+ }): import("axios").AxiosPromise<any>;
58
+ export declare function groupCreateApi(params: {
59
+ creator: string;
60
+ memberIdSet: string[];
61
+ name: string;
62
+ orgId: string;
63
+ }): import("axios").AxiosPromise<any>;
64
+ export declare function groupUserApi(params: {
65
+ id: string;
66
+ }): import("axios").AxiosPromise<any>;
67
+ export declare function groupJoinApi(params: {
68
+ groupId: string;
69
+ operator: string;
70
+ memberIdSet: string[];
71
+ }): import("axios").AxiosPromise<any>;
72
+ export declare function groupLeaveApi(params: {
73
+ dissolution: boolean;
74
+ groupId: string;
75
+ operator: string;
76
+ memberIdSet: string[];
77
+ }): import("axios").AxiosPromise<any>;
78
+ export declare function avFinishApi(params: {
79
+ recordId: string;
80
+ status: string;
81
+ duration: number;
82
+ }): import("axios").AxiosPromise<any>;
18
83
  export declare function groupUpdateApi(params: FormData): import("axios").AxiosPromise<any>;
19
- export declare function updateStatusApi(params: AnyObject): import("axios").AxiosPromise<any>;
84
+ export declare function updateStatusApi(params: {
85
+ id: string;
86
+ status: STATUS;
87
+ }): import("axios").AxiosPromise<any>;
20
88
  export declare function getOrgUserTreeApi(): import("axios").AxiosPromise<any>;
89
+ export declare function messageSummaryApi(params: {
90
+ id: string;
91
+ sender: string;
92
+ summaryMessage: string;
93
+ }): import("axios").AxiosPromise<any>;
@@ -170,5 +170,12 @@ function getOrgUserTreeApi() {
170
170
  url: "/user/getOrgUserTree"
171
171
  });
172
172
  }
173
+ function messageSummaryApi(params) {
174
+ return instanceAxios({
175
+ method: "post",
176
+ url: "/group/messageSummary",
177
+ data: params
178
+ });
179
+ }
173
180
 
174
- export { avFinishApi, getHistoryRecordApi, getOrgUserTreeApi, getUserDetailApi, groupCreateApi, groupJoinApi, groupLeaveApi, groupUpdateApi, groupUserApi, instanceAxios, listPatientApi, listUserApi, openSessionApi, readMessageApi, recallMessageApi, searchChatRecordApi, toppingSessionApi, updateStatusApi, uploadFileApi };
181
+ export { avFinishApi, getHistoryRecordApi, getOrgUserTreeApi, getUserDetailApi, groupCreateApi, groupJoinApi, groupLeaveApi, groupUpdateApi, groupUserApi, instanceAxios, listPatientApi, listUserApi, messageSummaryApi, openSessionApi, readMessageApi, recallMessageApi, searchChatRecordApi, toppingSessionApi, updateStatusApi, uploadFileApi };
@@ -1,6 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
  import { AnyObject } from '../../../../shared/types';
3
3
  import { isDoctorRole, getRoleName } from '../utils';
4
+ import { CHAT_TYPE } from '../constants';
4
5
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
6
  title: {
6
7
  type: StringConstructor;
@@ -61,8 +62,50 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
61
62
  }> & {}>;
62
63
  emit: (event: "comfirm", ...args: any[]) => void;
63
64
  state: {
64
- orgId: string | number;
65
- currentSessionItem: AnyObject;
65
+ [x: string]: any;
66
+ orgId: string;
67
+ currentSessionItem: {
68
+ id: string;
69
+ sessionKey: string;
70
+ receiver: string;
71
+ createdTime: string;
72
+ avatar: string;
73
+ name: string;
74
+ defaultName: string;
75
+ chatType: CHAT_TYPE;
76
+ roleInfo: import("../constants").ROLE_TYPE;
77
+ status: import("../constants").STATUS;
78
+ sortTime: string;
79
+ topping: boolean;
80
+ unreadNum: number;
81
+ updatedTime: string;
82
+ lastMessageContent: string;
83
+ sender?: string | undefined;
84
+ lastMessageId?: string | undefined;
85
+ lastMessage?: {
86
+ [x: string]: any;
87
+ chatMessageType: import("../constants").MESSAGE_TYPE;
88
+ msg: string;
89
+ referenceContent?: any;
90
+ forwardMessageList?: AnyObject[] | undefined;
91
+ messageTemplate?: any;
92
+ messageTemplateData?: any;
93
+ fileUrl?: string | undefined;
94
+ avStatus?: string | undefined;
95
+ } | undefined;
96
+ lastMessageSendTime?: string | undefined;
97
+ lastMessageStatus?: string | undefined;
98
+ lastSenderName?: string | undefined;
99
+ businessInfo?: {
100
+ uiSetting?: AnyObject | undefined;
101
+ topicInfo?: {
102
+ [x: string]: any;
103
+ param?: AnyObject | undefined;
104
+ } | undefined;
105
+ } | undefined;
106
+ labelList?: AnyObject[] | undefined;
107
+ notDisturb: boolean;
108
+ };
66
109
  id: string;
67
110
  userInfo: AnyObject;
68
111
  msgList: {
@@ -71,7 +114,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
71
114
  sessionKey: string;
72
115
  content: {
73
116
  [x: string]: any;
74
- chatMessageType: string;
117
+ chatMessageType: import("../constants").MESSAGE_TYPE;
75
118
  msg: string;
76
119
  referenceContent?: any;
77
120
  forwardMessageList?: AnyObject[] | undefined;
@@ -89,11 +132,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
89
132
  __time?: string | undefined;
90
133
  __sendTime?: string | undefined;
91
134
  }[];
92
- currentMsg: AnyObject;
93
- isAppendMsg: boolean;
94
- sessionList: AnyObject[];
135
+ sessionList: {
136
+ id: string;
137
+ sessionKey: string;
138
+ receiver: string;
139
+ createdTime: string;
140
+ avatar: string;
141
+ name: string;
142
+ defaultName: string;
143
+ chatType: CHAT_TYPE;
144
+ roleInfo: import("../constants").ROLE_TYPE;
145
+ status: import("../constants").STATUS;
146
+ sortTime: string;
147
+ topping: boolean;
148
+ unreadNum: number;
149
+ updatedTime: string;
150
+ lastMessageContent: string;
151
+ sender?: string | undefined;
152
+ lastMessageId?: string | undefined;
153
+ lastMessage?: {
154
+ [x: string]: any;
155
+ chatMessageType: import("../constants").MESSAGE_TYPE;
156
+ msg: string;
157
+ referenceContent?: any;
158
+ forwardMessageList?: AnyObject[] | undefined;
159
+ messageTemplate?: any;
160
+ messageTemplateData?: any;
161
+ fileUrl?: string | undefined;
162
+ avStatus?: string | undefined;
163
+ } | undefined;
164
+ lastMessageSendTime?: string | undefined;
165
+ lastMessageStatus?: string | undefined;
166
+ lastSenderName?: string | undefined;
167
+ businessInfo?: {
168
+ uiSetting?: AnyObject | undefined;
169
+ topicInfo?: {
170
+ [x: string]: any;
171
+ param?: AnyObject | undefined;
172
+ } | undefined;
173
+ } | undefined;
174
+ labelList?: AnyObject[] | undefined;
175
+ notDisturb: boolean;
176
+ }[];
95
177
  isChangeSession: boolean;
96
- updateSessionItem: AnyObject;
97
178
  isUpdateSession: boolean;
98
179
  currentReferenceMsg: AnyObject | null;
99
180
  currentReEditMsg: AnyObject | null;
@@ -111,6 +192,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
111
192
  info: AnyObject | null;
112
193
  };
113
194
  isForward: boolean;
195
+ loading: boolean;
114
196
  };
115
197
  setCurrentSessionItem: (item: AnyObject) => void;
116
198
  listRef: import("vue").Ref<any, any>;
@@ -126,25 +208,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
126
208
  handleInput: () => void;
127
209
  _disabledIds: import("vue").ComputedRef<any[]>;
128
210
  sessionList: import("vue").ComputedRef<{
129
- id: any;
130
- name: any;
131
- avatar: any;
132
- chatType: any;
133
- roleInfo: any;
211
+ id: string;
212
+ name: string;
213
+ avatar: string;
214
+ chatType: CHAT_TYPE;
215
+ roleInfo: import("../constants").ROLE_TYPE;
134
216
  }[]>;
135
217
  friends: import("vue").ComputedRef<{
136
- id: any;
137
- name: any;
138
- avatar: any;
139
- chatType: any;
140
- roleInfo: any;
218
+ id: string;
219
+ name: string;
220
+ avatar: string;
221
+ chatType: CHAT_TYPE;
222
+ roleInfo: import("../constants").ROLE_TYPE;
141
223
  }[]>;
142
224
  groups: import("vue").ComputedRef<{
143
- id: any;
144
- name: any;
145
- avatar: any;
146
- chatType: any;
147
- roleInfo: any;
225
+ id: string;
226
+ name: string;
227
+ avatar: string;
228
+ chatType: CHAT_TYPE;
229
+ roleInfo: import("../constants").ROLE_TYPE;
148
230
  }[]>;
149
231
  checkedIds: import("vue").ComputedRef<any[]>;
150
232
  btnDisabled: import("vue").ComputedRef<boolean>;
@@ -22,8 +22,50 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
22
22
  }>> & Readonly<{}> & {}>;
23
23
  cssVars: import("vue").ComputedRef<AnyObject>;
24
24
  state: {
25
- orgId: string | number;
26
- currentSessionItem: AnyObject;
25
+ [x: string]: any;
26
+ orgId: string;
27
+ currentSessionItem: {
28
+ id: string;
29
+ sessionKey: string;
30
+ receiver: string;
31
+ createdTime: string;
32
+ avatar: string;
33
+ name: string;
34
+ defaultName: string;
35
+ chatType: import("../constants").CHAT_TYPE;
36
+ roleInfo: import("../constants").ROLE_TYPE;
37
+ status: import("../constants").STATUS;
38
+ sortTime: string;
39
+ topping: boolean;
40
+ unreadNum: number;
41
+ updatedTime: string;
42
+ lastMessageContent: string;
43
+ sender?: string | undefined;
44
+ lastMessageId?: string | undefined;
45
+ lastMessage?: {
46
+ [x: string]: any;
47
+ chatMessageType: import("../constants").MESSAGE_TYPE;
48
+ msg: string;
49
+ referenceContent?: any;
50
+ forwardMessageList?: AnyObject[] | undefined;
51
+ messageTemplate?: any;
52
+ messageTemplateData?: any;
53
+ fileUrl?: string | undefined;
54
+ avStatus?: string | undefined;
55
+ } | undefined;
56
+ lastMessageSendTime?: string | undefined;
57
+ lastMessageStatus?: string | undefined;
58
+ lastSenderName?: string | undefined;
59
+ businessInfo?: {
60
+ uiSetting?: AnyObject | undefined;
61
+ topicInfo?: {
62
+ [x: string]: any;
63
+ param?: AnyObject | undefined;
64
+ } | undefined;
65
+ } | undefined;
66
+ labelList?: AnyObject[] | undefined;
67
+ notDisturb: boolean;
68
+ };
27
69
  id: string;
28
70
  userInfo: AnyObject;
29
71
  msgList: {
@@ -32,7 +74,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
32
74
  sessionKey: string;
33
75
  content: {
34
76
  [x: string]: any;
35
- chatMessageType: string;
77
+ chatMessageType: import("../constants").MESSAGE_TYPE;
36
78
  msg: string;
37
79
  referenceContent?: any;
38
80
  forwardMessageList?: AnyObject[] | undefined;
@@ -50,11 +92,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
50
92
  __time?: string | undefined;
51
93
  __sendTime?: string | undefined;
52
94
  }[];
53
- currentMsg: AnyObject;
54
- isAppendMsg: boolean;
55
- sessionList: AnyObject[];
95
+ sessionList: {
96
+ id: string;
97
+ sessionKey: string;
98
+ receiver: string;
99
+ createdTime: string;
100
+ avatar: string;
101
+ name: string;
102
+ defaultName: string;
103
+ chatType: import("../constants").CHAT_TYPE;
104
+ roleInfo: import("../constants").ROLE_TYPE;
105
+ status: import("../constants").STATUS;
106
+ sortTime: string;
107
+ topping: boolean;
108
+ unreadNum: number;
109
+ updatedTime: string;
110
+ lastMessageContent: string;
111
+ sender?: string | undefined;
112
+ lastMessageId?: string | undefined;
113
+ lastMessage?: {
114
+ [x: string]: any;
115
+ chatMessageType: import("../constants").MESSAGE_TYPE;
116
+ msg: string;
117
+ referenceContent?: any;
118
+ forwardMessageList?: AnyObject[] | undefined;
119
+ messageTemplate?: any;
120
+ messageTemplateData?: any;
121
+ fileUrl?: string | undefined;
122
+ avStatus?: string | undefined;
123
+ } | undefined;
124
+ lastMessageSendTime?: string | undefined;
125
+ lastMessageStatus?: string | undefined;
126
+ lastSenderName?: string | undefined;
127
+ businessInfo?: {
128
+ uiSetting?: AnyObject | undefined;
129
+ topicInfo?: {
130
+ [x: string]: any;
131
+ param?: AnyObject | undefined;
132
+ } | undefined;
133
+ } | undefined;
134
+ labelList?: AnyObject[] | undefined;
135
+ notDisturb: boolean;
136
+ }[];
56
137
  isChangeSession: boolean;
57
- updateSessionItem: AnyObject;
58
138
  isUpdateSession: boolean;
59
139
  currentReferenceMsg: AnyObject | null;
60
140
  currentReEditMsg: AnyObject | null;
@@ -72,6 +152,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
72
152
  info: AnyObject | null;
73
153
  };
74
154
  isForward: boolean;
155
+ loading: boolean;
75
156
  };
76
157
  relayMessage: (param: {
77
158
  checkedIds: string[];
@@ -210,8 +291,50 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
210
291
  }> & {}>;
211
292
  emit: (event: "comfirm", ...args: any[]) => void;
212
293
  state: {
213
- orgId: string | number;
214
- currentSessionItem: AnyObject;
294
+ [x: string]: any;
295
+ orgId: string;
296
+ currentSessionItem: {
297
+ id: string;
298
+ sessionKey: string;
299
+ receiver: string;
300
+ createdTime: string;
301
+ avatar: string;
302
+ name: string;
303
+ defaultName: string;
304
+ chatType: import("../constants").CHAT_TYPE;
305
+ roleInfo: import("../constants").ROLE_TYPE;
306
+ status: import("../constants").STATUS;
307
+ sortTime: string;
308
+ topping: boolean;
309
+ unreadNum: number;
310
+ updatedTime: string;
311
+ lastMessageContent: string;
312
+ sender?: string | undefined;
313
+ lastMessageId?: string | undefined;
314
+ lastMessage?: {
315
+ [x: string]: any;
316
+ chatMessageType: import("../constants").MESSAGE_TYPE;
317
+ msg: string;
318
+ referenceContent?: any;
319
+ forwardMessageList?: AnyObject[] | undefined;
320
+ messageTemplate?: any;
321
+ messageTemplateData?: any;
322
+ fileUrl?: string | undefined;
323
+ avStatus?: string | undefined;
324
+ } | undefined;
325
+ lastMessageSendTime?: string | undefined;
326
+ lastMessageStatus?: string | undefined;
327
+ lastSenderName?: string | undefined;
328
+ businessInfo?: {
329
+ uiSetting?: AnyObject | undefined;
330
+ topicInfo?: {
331
+ [x: string]: any;
332
+ param?: AnyObject | undefined;
333
+ } | undefined;
334
+ } | undefined;
335
+ labelList?: AnyObject[] | undefined;
336
+ notDisturb: boolean;
337
+ };
215
338
  id: string;
216
339
  userInfo: AnyObject;
217
340
  msgList: {
@@ -220,7 +343,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
220
343
  sessionKey: string;
221
344
  content: {
222
345
  [x: string]: any;
223
- chatMessageType: string;
346
+ chatMessageType: import("../constants").MESSAGE_TYPE;
224
347
  msg: string;
225
348
  referenceContent?: any;
226
349
  forwardMessageList?: AnyObject[] | undefined;
@@ -238,11 +361,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
238
361
  __time?: string | undefined;
239
362
  __sendTime?: string | undefined;
240
363
  }[];
241
- currentMsg: AnyObject;
242
- isAppendMsg: boolean;
243
- sessionList: AnyObject[];
364
+ sessionList: {
365
+ id: string;
366
+ sessionKey: string;
367
+ receiver: string;
368
+ createdTime: string;
369
+ avatar: string;
370
+ name: string;
371
+ defaultName: string;
372
+ chatType: import("../constants").CHAT_TYPE;
373
+ roleInfo: import("../constants").ROLE_TYPE;
374
+ status: import("../constants").STATUS;
375
+ sortTime: string;
376
+ topping: boolean;
377
+ unreadNum: number;
378
+ updatedTime: string;
379
+ lastMessageContent: string;
380
+ sender?: string | undefined;
381
+ lastMessageId?: string | undefined;
382
+ lastMessage?: {
383
+ [x: string]: any;
384
+ chatMessageType: import("../constants").MESSAGE_TYPE;
385
+ msg: string;
386
+ referenceContent?: any;
387
+ forwardMessageList?: AnyObject[] | undefined;
388
+ messageTemplate?: any;
389
+ messageTemplateData?: any;
390
+ fileUrl?: string | undefined;
391
+ avStatus?: string | undefined;
392
+ } | undefined;
393
+ lastMessageSendTime?: string | undefined;
394
+ lastMessageStatus?: string | undefined;
395
+ lastSenderName?: string | undefined;
396
+ businessInfo?: {
397
+ uiSetting?: AnyObject | undefined;
398
+ topicInfo?: {
399
+ [x: string]: any;
400
+ param?: AnyObject | undefined;
401
+ } | undefined;
402
+ } | undefined;
403
+ labelList?: AnyObject[] | undefined;
404
+ notDisturb: boolean;
405
+ }[];
244
406
  isChangeSession: boolean;
245
- updateSessionItem: AnyObject;
246
407
  isUpdateSession: boolean;
247
408
  currentReferenceMsg: AnyObject | null;
248
409
  currentReEditMsg: AnyObject | null;
@@ -260,6 +421,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
260
421
  info: AnyObject | null;
261
422
  };
262
423
  isForward: boolean;
424
+ loading: boolean;
263
425
  };
264
426
  setCurrentSessionItem: (item: AnyObject) => void;
265
427
  listRef: import("vue").Ref<any, any>;
@@ -275,25 +437,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
275
437
  handleInput: () => void;
276
438
  _disabledIds: import("vue").ComputedRef<any[]>;
277
439
  sessionList: import("vue").ComputedRef<{
278
- id: any;
279
- name: any;
280
- avatar: any;
281
- chatType: any;
282
- roleInfo: any;
440
+ id: string;
441
+ name: string;
442
+ avatar: string;
443
+ chatType: import("../constants").CHAT_TYPE;
444
+ roleInfo: import("../constants").ROLE_TYPE;
283
445
  }[]>;
284
446
  friends: import("vue").ComputedRef<{
285
- id: any;
286
- name: any;
287
- avatar: any;
288
- chatType: any;
289
- roleInfo: any;
447
+ id: string;
448
+ name: string;
449
+ avatar: string;
450
+ chatType: import("../constants").CHAT_TYPE;
451
+ roleInfo: import("../constants").ROLE_TYPE;
290
452
  }[]>;
291
453
  groups: import("vue").ComputedRef<{
292
- id: any;
293
- name: any;
294
- avatar: any;
295
- chatType: any;
296
- roleInfo: any;
454
+ id: string;
455
+ name: string;
456
+ avatar: string;
457
+ chatType: import("../constants").CHAT_TYPE;
458
+ roleInfo: import("../constants").ROLE_TYPE;
297
459
  }[]>;
298
460
  checkedIds: import("vue").ComputedRef<any[]>;
299
461
  btnDisabled: import("vue").ComputedRef<boolean>;