cnhis-design-vue 3.4.0-beta.73 → 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.
- package/es/components/iho-chat/index.d.ts +2561 -199
- package/es/components/iho-chat/src/Index.vue.d.ts +2561 -199
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +102 -18
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +187 -21
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +187 -21
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +734 -69
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +531 -33
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +172 -6
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +173 -6
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +2 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +188 -21
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -10
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +86 -3
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +86 -3
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +172 -6
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +188 -21
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +89 -4
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +91 -7
- package/es/components/iho-chat/src/components/Video.vue.d.ts +87 -4
- package/es/components/iho-chat/src/hooks/useData.d.ts +350 -19
- package/es/components/iho-chat/src/hooks/useStreamOutput.js +2 -1
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +87 -3
- package/es/components/iho-chat/src/types/index.d.ts +37 -3
- package/es/components/iho-chat/src/utils/index.d.ts +2 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
|
@@ -1,13 +1,56 @@
|
|
|
1
1
|
import { AnyObject } from '../../../../shared/types';
|
|
2
2
|
import { isDoctorRole, getRoleName } from '../utils';
|
|
3
3
|
import { FileOptions } from '../types';
|
|
4
|
+
import { MESSAGE_TYPE } from '../constants';
|
|
4
5
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
5
6
|
attrs: {
|
|
6
7
|
[x: string]: unknown;
|
|
7
8
|
};
|
|
8
9
|
state: {
|
|
10
|
+
[x: string]: any;
|
|
9
11
|
orgId: string;
|
|
10
|
-
currentSessionItem:
|
|
12
|
+
currentSessionItem: {
|
|
13
|
+
id: string;
|
|
14
|
+
sessionKey: string;
|
|
15
|
+
receiver: string;
|
|
16
|
+
createdTime: string;
|
|
17
|
+
avatar: string;
|
|
18
|
+
name: string;
|
|
19
|
+
defaultName: string;
|
|
20
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
21
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
22
|
+
status: import("../constants").STATUS;
|
|
23
|
+
sortTime: string;
|
|
24
|
+
topping: boolean;
|
|
25
|
+
unreadNum: number;
|
|
26
|
+
updatedTime: string;
|
|
27
|
+
lastMessageContent: string;
|
|
28
|
+
sender?: string | undefined;
|
|
29
|
+
lastMessageId?: string | undefined;
|
|
30
|
+
lastMessage?: {
|
|
31
|
+
[x: string]: any;
|
|
32
|
+
chatMessageType: MESSAGE_TYPE;
|
|
33
|
+
msg: string;
|
|
34
|
+
referenceContent?: any;
|
|
35
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
36
|
+
messageTemplate?: any;
|
|
37
|
+
messageTemplateData?: any;
|
|
38
|
+
fileUrl?: string | undefined;
|
|
39
|
+
avStatus?: string | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
lastMessageSendTime?: string | undefined;
|
|
42
|
+
lastMessageStatus?: string | undefined;
|
|
43
|
+
lastSenderName?: string | undefined;
|
|
44
|
+
businessInfo?: {
|
|
45
|
+
uiSetting?: AnyObject | undefined;
|
|
46
|
+
topicInfo?: {
|
|
47
|
+
[x: string]: any;
|
|
48
|
+
param?: AnyObject | undefined;
|
|
49
|
+
} | undefined;
|
|
50
|
+
} | undefined;
|
|
51
|
+
labelList?: AnyObject[] | undefined;
|
|
52
|
+
notDisturb: boolean;
|
|
53
|
+
};
|
|
11
54
|
id: string;
|
|
12
55
|
userInfo: AnyObject;
|
|
13
56
|
msgList: {
|
|
@@ -16,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
16
59
|
sessionKey: string;
|
|
17
60
|
content: {
|
|
18
61
|
[x: string]: any;
|
|
19
|
-
chatMessageType:
|
|
62
|
+
chatMessageType: MESSAGE_TYPE;
|
|
20
63
|
msg: string;
|
|
21
64
|
referenceContent?: any;
|
|
22
65
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -34,7 +77,48 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
34
77
|
__time?: string | undefined;
|
|
35
78
|
__sendTime?: string | undefined;
|
|
36
79
|
}[];
|
|
37
|
-
sessionList:
|
|
80
|
+
sessionList: {
|
|
81
|
+
id: string;
|
|
82
|
+
sessionKey: string;
|
|
83
|
+
receiver: string;
|
|
84
|
+
createdTime: string;
|
|
85
|
+
avatar: string;
|
|
86
|
+
name: string;
|
|
87
|
+
defaultName: string;
|
|
88
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
89
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
90
|
+
status: import("../constants").STATUS;
|
|
91
|
+
sortTime: string;
|
|
92
|
+
topping: boolean;
|
|
93
|
+
unreadNum: number;
|
|
94
|
+
updatedTime: string;
|
|
95
|
+
lastMessageContent: string;
|
|
96
|
+
sender?: string | undefined;
|
|
97
|
+
lastMessageId?: string | undefined;
|
|
98
|
+
lastMessage?: {
|
|
99
|
+
[x: string]: any;
|
|
100
|
+
chatMessageType: MESSAGE_TYPE;
|
|
101
|
+
msg: string;
|
|
102
|
+
referenceContent?: any;
|
|
103
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
104
|
+
messageTemplate?: any;
|
|
105
|
+
messageTemplateData?: any;
|
|
106
|
+
fileUrl?: string | undefined;
|
|
107
|
+
avStatus?: string | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
lastMessageSendTime?: string | undefined;
|
|
110
|
+
lastMessageStatus?: string | undefined;
|
|
111
|
+
lastSenderName?: string | undefined;
|
|
112
|
+
businessInfo?: {
|
|
113
|
+
uiSetting?: AnyObject | undefined;
|
|
114
|
+
topicInfo?: {
|
|
115
|
+
[x: string]: any;
|
|
116
|
+
param?: AnyObject | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
} | undefined;
|
|
119
|
+
labelList?: AnyObject[] | undefined;
|
|
120
|
+
notDisturb: boolean;
|
|
121
|
+
}[];
|
|
38
122
|
isChangeSession: boolean;
|
|
39
123
|
isUpdateSession: boolean;
|
|
40
124
|
currentReferenceMsg: AnyObject | null;
|
|
@@ -153,8 +237,50 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
153
237
|
}> & {}>;
|
|
154
238
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
155
239
|
state: {
|
|
240
|
+
[x: string]: any;
|
|
156
241
|
orgId: string;
|
|
157
|
-
currentSessionItem:
|
|
242
|
+
currentSessionItem: {
|
|
243
|
+
id: string;
|
|
244
|
+
sessionKey: string;
|
|
245
|
+
receiver: string;
|
|
246
|
+
createdTime: string;
|
|
247
|
+
avatar: string;
|
|
248
|
+
name: string;
|
|
249
|
+
defaultName: string;
|
|
250
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
251
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
252
|
+
status: import("../constants").STATUS;
|
|
253
|
+
sortTime: string;
|
|
254
|
+
topping: boolean;
|
|
255
|
+
unreadNum: number;
|
|
256
|
+
updatedTime: string;
|
|
257
|
+
lastMessageContent: string;
|
|
258
|
+
sender?: string | undefined;
|
|
259
|
+
lastMessageId?: string | undefined;
|
|
260
|
+
lastMessage?: {
|
|
261
|
+
[x: string]: any;
|
|
262
|
+
chatMessageType: MESSAGE_TYPE;
|
|
263
|
+
msg: string;
|
|
264
|
+
referenceContent?: any;
|
|
265
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
266
|
+
messageTemplate?: any;
|
|
267
|
+
messageTemplateData?: any;
|
|
268
|
+
fileUrl?: string | undefined;
|
|
269
|
+
avStatus?: string | undefined;
|
|
270
|
+
} | undefined;
|
|
271
|
+
lastMessageSendTime?: string | undefined;
|
|
272
|
+
lastMessageStatus?: string | undefined;
|
|
273
|
+
lastSenderName?: string | undefined;
|
|
274
|
+
businessInfo?: {
|
|
275
|
+
uiSetting?: AnyObject | undefined;
|
|
276
|
+
topicInfo?: {
|
|
277
|
+
[x: string]: any;
|
|
278
|
+
param?: AnyObject | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
} | undefined;
|
|
281
|
+
labelList?: AnyObject[] | undefined;
|
|
282
|
+
notDisturb: boolean;
|
|
283
|
+
};
|
|
158
284
|
id: string;
|
|
159
285
|
userInfo: AnyObject;
|
|
160
286
|
msgList: {
|
|
@@ -163,7 +289,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
163
289
|
sessionKey: string;
|
|
164
290
|
content: {
|
|
165
291
|
[x: string]: any;
|
|
166
|
-
chatMessageType:
|
|
292
|
+
chatMessageType: MESSAGE_TYPE;
|
|
167
293
|
msg: string;
|
|
168
294
|
referenceContent?: any;
|
|
169
295
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -181,7 +307,48 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
181
307
|
__time?: string | undefined;
|
|
182
308
|
__sendTime?: string | undefined;
|
|
183
309
|
}[];
|
|
184
|
-
sessionList:
|
|
310
|
+
sessionList: {
|
|
311
|
+
id: string;
|
|
312
|
+
sessionKey: string;
|
|
313
|
+
receiver: string;
|
|
314
|
+
createdTime: string;
|
|
315
|
+
avatar: string;
|
|
316
|
+
name: string;
|
|
317
|
+
defaultName: string;
|
|
318
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
319
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
320
|
+
status: import("../constants").STATUS;
|
|
321
|
+
sortTime: string;
|
|
322
|
+
topping: boolean;
|
|
323
|
+
unreadNum: number;
|
|
324
|
+
updatedTime: string;
|
|
325
|
+
lastMessageContent: string;
|
|
326
|
+
sender?: string | undefined;
|
|
327
|
+
lastMessageId?: string | undefined;
|
|
328
|
+
lastMessage?: {
|
|
329
|
+
[x: string]: any;
|
|
330
|
+
chatMessageType: MESSAGE_TYPE;
|
|
331
|
+
msg: string;
|
|
332
|
+
referenceContent?: any;
|
|
333
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
334
|
+
messageTemplate?: any;
|
|
335
|
+
messageTemplateData?: any;
|
|
336
|
+
fileUrl?: string | undefined;
|
|
337
|
+
avStatus?: string | undefined;
|
|
338
|
+
} | undefined;
|
|
339
|
+
lastMessageSendTime?: string | undefined;
|
|
340
|
+
lastMessageStatus?: string | undefined;
|
|
341
|
+
lastSenderName?: string | undefined;
|
|
342
|
+
businessInfo?: {
|
|
343
|
+
uiSetting?: AnyObject | undefined;
|
|
344
|
+
topicInfo?: {
|
|
345
|
+
[x: string]: any;
|
|
346
|
+
param?: AnyObject | undefined;
|
|
347
|
+
} | undefined;
|
|
348
|
+
} | undefined;
|
|
349
|
+
labelList?: AnyObject[] | undefined;
|
|
350
|
+
notDisturb: boolean;
|
|
351
|
+
}[];
|
|
185
352
|
isChangeSession: boolean;
|
|
186
353
|
isUpdateSession: boolean;
|
|
187
354
|
currentReferenceMsg: AnyObject | null;
|
|
@@ -216,25 +383,25 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
216
383
|
handleInput: () => void;
|
|
217
384
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
|
218
385
|
sessionList: import("vue").ComputedRef<{
|
|
219
|
-
id:
|
|
220
|
-
name:
|
|
221
|
-
avatar:
|
|
222
|
-
chatType:
|
|
223
|
-
roleInfo:
|
|
386
|
+
id: string;
|
|
387
|
+
name: string;
|
|
388
|
+
avatar: string;
|
|
389
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
390
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
224
391
|
}[]>;
|
|
225
392
|
friends: import("vue").ComputedRef<{
|
|
226
|
-
id:
|
|
227
|
-
name:
|
|
228
|
-
avatar:
|
|
229
|
-
chatType:
|
|
230
|
-
roleInfo:
|
|
393
|
+
id: string;
|
|
394
|
+
name: string;
|
|
395
|
+
avatar: string;
|
|
396
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
397
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
231
398
|
}[]>;
|
|
232
399
|
groups: import("vue").ComputedRef<{
|
|
233
|
-
id:
|
|
234
|
-
name:
|
|
235
|
-
avatar:
|
|
236
|
-
chatType:
|
|
237
|
-
roleInfo:
|
|
400
|
+
id: string;
|
|
401
|
+
name: string;
|
|
402
|
+
avatar: string;
|
|
403
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
404
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
238
405
|
}[]>;
|
|
239
406
|
checkedIds: import("vue").ComputedRef<any[]>;
|
|
240
407
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -79,12 +79,11 @@ var ContextMenu = /* @__PURE__ */ defineComponent({
|
|
|
79
79
|
key: "remove"
|
|
80
80
|
}];
|
|
81
81
|
const menuRef = ref();
|
|
82
|
-
const item = computed(() => {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
});
|
|
82
|
+
const item = computed(() => props.type === "message" ? state.msgList.find(({
|
|
83
|
+
id
|
|
84
|
+
}) => id === props.id) : state.sessionList.find(({
|
|
85
|
+
id
|
|
86
|
+
}) => id === props.id));
|
|
88
87
|
const menuList = computed(() => {
|
|
89
88
|
var _a;
|
|
90
89
|
if (!props.id)
|
|
@@ -99,7 +98,7 @@ var ContextMenu = /* @__PURE__ */ defineComponent({
|
|
|
99
98
|
return _defaultSessionMenuList;
|
|
100
99
|
}
|
|
101
100
|
const {
|
|
102
|
-
content
|
|
101
|
+
content,
|
|
103
102
|
sendTime,
|
|
104
103
|
sender
|
|
105
104
|
} = item.value;
|
|
@@ -155,9 +154,7 @@ var ContextMenu = /* @__PURE__ */ defineComponent({
|
|
|
155
154
|
var _a, _b;
|
|
156
155
|
emit("update:show", false);
|
|
157
156
|
const {
|
|
158
|
-
content
|
|
159
|
-
sendTime,
|
|
160
|
-
sender,
|
|
157
|
+
content,
|
|
161
158
|
__content = ""
|
|
162
159
|
} = item.value || {};
|
|
163
160
|
const {
|
|
@@ -13,8 +13,50 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
13
13
|
};
|
|
14
14
|
}>> & Readonly<{}> & {}>;
|
|
15
15
|
state: {
|
|
16
|
+
[x: string]: any;
|
|
16
17
|
orgId: string;
|
|
17
|
-
currentSessionItem:
|
|
18
|
+
currentSessionItem: {
|
|
19
|
+
id: string;
|
|
20
|
+
sessionKey: string;
|
|
21
|
+
receiver: string;
|
|
22
|
+
createdTime: string;
|
|
23
|
+
avatar: string;
|
|
24
|
+
name: string;
|
|
25
|
+
defaultName: string;
|
|
26
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
27
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
28
|
+
status: import("../constants").STATUS;
|
|
29
|
+
sortTime: string;
|
|
30
|
+
topping: boolean;
|
|
31
|
+
unreadNum: number;
|
|
32
|
+
updatedTime: string;
|
|
33
|
+
lastMessageContent: string;
|
|
34
|
+
sender?: string | undefined;
|
|
35
|
+
lastMessageId?: string | undefined;
|
|
36
|
+
lastMessage?: {
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
39
|
+
msg: string;
|
|
40
|
+
referenceContent?: any;
|
|
41
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
42
|
+
messageTemplate?: any;
|
|
43
|
+
messageTemplateData?: any;
|
|
44
|
+
fileUrl?: string | undefined;
|
|
45
|
+
avStatus?: string | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
lastMessageSendTime?: string | undefined;
|
|
48
|
+
lastMessageStatus?: string | undefined;
|
|
49
|
+
lastSenderName?: string | undefined;
|
|
50
|
+
businessInfo?: {
|
|
51
|
+
uiSetting?: AnyObject | undefined;
|
|
52
|
+
topicInfo?: {
|
|
53
|
+
[x: string]: any;
|
|
54
|
+
param?: AnyObject | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
labelList?: AnyObject[] | undefined;
|
|
58
|
+
notDisturb: boolean;
|
|
59
|
+
};
|
|
18
60
|
id: string;
|
|
19
61
|
userInfo: AnyObject;
|
|
20
62
|
msgList: {
|
|
@@ -23,7 +65,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
23
65
|
sessionKey: string;
|
|
24
66
|
content: {
|
|
25
67
|
[x: string]: any;
|
|
26
|
-
chatMessageType:
|
|
68
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
27
69
|
msg: string;
|
|
28
70
|
referenceContent?: any;
|
|
29
71
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -41,7 +83,48 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
83
|
__time?: string | undefined;
|
|
42
84
|
__sendTime?: string | undefined;
|
|
43
85
|
}[];
|
|
44
|
-
sessionList:
|
|
86
|
+
sessionList: {
|
|
87
|
+
id: string;
|
|
88
|
+
sessionKey: string;
|
|
89
|
+
receiver: string;
|
|
90
|
+
createdTime: string;
|
|
91
|
+
avatar: string;
|
|
92
|
+
name: string;
|
|
93
|
+
defaultName: string;
|
|
94
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
95
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
96
|
+
status: import("../constants").STATUS;
|
|
97
|
+
sortTime: string;
|
|
98
|
+
topping: boolean;
|
|
99
|
+
unreadNum: number;
|
|
100
|
+
updatedTime: string;
|
|
101
|
+
lastMessageContent: string;
|
|
102
|
+
sender?: string | undefined;
|
|
103
|
+
lastMessageId?: string | undefined;
|
|
104
|
+
lastMessage?: {
|
|
105
|
+
[x: string]: any;
|
|
106
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
107
|
+
msg: string;
|
|
108
|
+
referenceContent?: any;
|
|
109
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
110
|
+
messageTemplate?: any;
|
|
111
|
+
messageTemplateData?: any;
|
|
112
|
+
fileUrl?: string | undefined;
|
|
113
|
+
avStatus?: string | undefined;
|
|
114
|
+
} | undefined;
|
|
115
|
+
lastMessageSendTime?: string | undefined;
|
|
116
|
+
lastMessageStatus?: string | undefined;
|
|
117
|
+
lastSenderName?: string | undefined;
|
|
118
|
+
businessInfo?: {
|
|
119
|
+
uiSetting?: AnyObject | undefined;
|
|
120
|
+
topicInfo?: {
|
|
121
|
+
[x: string]: any;
|
|
122
|
+
param?: AnyObject | undefined;
|
|
123
|
+
} | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
labelList?: AnyObject[] | undefined;
|
|
126
|
+
notDisturb: boolean;
|
|
127
|
+
}[];
|
|
45
128
|
isChangeSession: boolean;
|
|
46
129
|
isUpdateSession: boolean;
|
|
47
130
|
currentReferenceMsg: AnyObject | null;
|
|
@@ -15,8 +15,50 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
};
|
|
16
16
|
}>> & Readonly<{}> & {}>;
|
|
17
17
|
state: {
|
|
18
|
+
[x: string]: any;
|
|
18
19
|
orgId: string;
|
|
19
|
-
currentSessionItem:
|
|
20
|
+
currentSessionItem: {
|
|
21
|
+
id: string;
|
|
22
|
+
sessionKey: string;
|
|
23
|
+
receiver: string;
|
|
24
|
+
createdTime: string;
|
|
25
|
+
avatar: string;
|
|
26
|
+
name: string;
|
|
27
|
+
defaultName: string;
|
|
28
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
29
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
30
|
+
status: import("../constants").STATUS;
|
|
31
|
+
sortTime: string;
|
|
32
|
+
topping: boolean;
|
|
33
|
+
unreadNum: number;
|
|
34
|
+
updatedTime: string;
|
|
35
|
+
lastMessageContent: string;
|
|
36
|
+
sender?: string | undefined;
|
|
37
|
+
lastMessageId?: string | undefined;
|
|
38
|
+
lastMessage?: {
|
|
39
|
+
[x: string]: any;
|
|
40
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
41
|
+
msg: string;
|
|
42
|
+
referenceContent?: any;
|
|
43
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
44
|
+
messageTemplate?: any;
|
|
45
|
+
messageTemplateData?: any;
|
|
46
|
+
fileUrl?: string | undefined;
|
|
47
|
+
avStatus?: string | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
lastMessageSendTime?: string | undefined;
|
|
50
|
+
lastMessageStatus?: string | undefined;
|
|
51
|
+
lastSenderName?: string | undefined;
|
|
52
|
+
businessInfo?: {
|
|
53
|
+
uiSetting?: AnyObject | undefined;
|
|
54
|
+
topicInfo?: {
|
|
55
|
+
[x: string]: any;
|
|
56
|
+
param?: AnyObject | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
labelList?: AnyObject[] | undefined;
|
|
60
|
+
notDisturb: boolean;
|
|
61
|
+
};
|
|
20
62
|
id: string;
|
|
21
63
|
userInfo: AnyObject;
|
|
22
64
|
msgList: {
|
|
@@ -25,7 +67,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
67
|
sessionKey: string;
|
|
26
68
|
content: {
|
|
27
69
|
[x: string]: any;
|
|
28
|
-
chatMessageType:
|
|
70
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
29
71
|
msg: string;
|
|
30
72
|
referenceContent?: any;
|
|
31
73
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -43,7 +85,48 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
85
|
__time?: string | undefined;
|
|
44
86
|
__sendTime?: string | undefined;
|
|
45
87
|
}[];
|
|
46
|
-
sessionList:
|
|
88
|
+
sessionList: {
|
|
89
|
+
id: string;
|
|
90
|
+
sessionKey: string;
|
|
91
|
+
receiver: string;
|
|
92
|
+
createdTime: string;
|
|
93
|
+
avatar: string;
|
|
94
|
+
name: string;
|
|
95
|
+
defaultName: string;
|
|
96
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
97
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
98
|
+
status: import("../constants").STATUS;
|
|
99
|
+
sortTime: string;
|
|
100
|
+
topping: boolean;
|
|
101
|
+
unreadNum: number;
|
|
102
|
+
updatedTime: string;
|
|
103
|
+
lastMessageContent: string;
|
|
104
|
+
sender?: string | undefined;
|
|
105
|
+
lastMessageId?: string | undefined;
|
|
106
|
+
lastMessage?: {
|
|
107
|
+
[x: string]: any;
|
|
108
|
+
chatMessageType: import("../constants").MESSAGE_TYPE;
|
|
109
|
+
msg: string;
|
|
110
|
+
referenceContent?: any;
|
|
111
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
112
|
+
messageTemplate?: any;
|
|
113
|
+
messageTemplateData?: any;
|
|
114
|
+
fileUrl?: string | undefined;
|
|
115
|
+
avStatus?: string | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
lastMessageSendTime?: string | undefined;
|
|
118
|
+
lastMessageStatus?: string | undefined;
|
|
119
|
+
lastSenderName?: string | undefined;
|
|
120
|
+
businessInfo?: {
|
|
121
|
+
uiSetting?: AnyObject | undefined;
|
|
122
|
+
topicInfo?: {
|
|
123
|
+
[x: string]: any;
|
|
124
|
+
param?: AnyObject | undefined;
|
|
125
|
+
} | undefined;
|
|
126
|
+
} | undefined;
|
|
127
|
+
labelList?: AnyObject[] | undefined;
|
|
128
|
+
notDisturb: boolean;
|
|
129
|
+
}[];
|
|
47
130
|
isChangeSession: boolean;
|
|
48
131
|
isUpdateSession: boolean;
|
|
49
132
|
currentReferenceMsg: AnyObject | null;
|