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.
- package/README.md +87 -87
- package/es/components/iho-chat/index.d.ts +2732 -332
- package/es/components/iho-chat/src/Index.vue.d.ts +2732 -332
- package/es/components/iho-chat/src/Index.vue2.js +5 -3
- package/es/components/iho-chat/src/api/index.d.ts +89 -16
- package/es/components/iho-chat/src/api/index.js +8 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +104 -22
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +755 -101
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +610 -51
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +28 -29
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +176 -14
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +175 -10
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +2 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +197 -29
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +48 -11
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -10
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +88 -7
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +157 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.js +6 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue2.js +41 -0
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +176 -14
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +192 -29
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +91 -8
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +93 -11
- package/es/components/iho-chat/src/components/Video.vue.d.ts +89 -8
- package/es/components/iho-chat/src/components/userItemRender.js +2 -1
- package/es/components/iho-chat/src/constants/index.d.ts +2 -1
- package/es/components/iho-chat/src/constants/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useData.d.ts +374 -27
- package/es/components/iho-chat/src/hooks/useData.js +30 -9
- package/es/components/iho-chat/src/hooks/useStreamOutput.d.ts +6 -0
- package/es/components/iho-chat/src/hooks/useStreamOutput.js +100 -0
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +89 -7
- package/es/components/iho-chat/src/hooks/useWebSocket.js +14 -4
- package/es/components/iho-chat/src/types/index.d.ts +39 -7
- package/es/components/iho-chat/src/utils/index.d.ts +2 -1
- package/es/components/iho-chat/src/utils/sseClient.d.ts +22 -0
- package/es/components/iho-chat/src/utils/sseClient.js +97 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/package.json.js +1 -1
- package/package.json +3 -3
|
@@ -6,8 +6,50 @@ import { ImageItem } from '../types';
|
|
|
6
6
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
7
7
|
chatMainRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
8
8
|
state: {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
orgId: string;
|
|
11
|
+
currentSessionItem: {
|
|
12
|
+
id: string;
|
|
13
|
+
sessionKey: string;
|
|
14
|
+
receiver: string;
|
|
15
|
+
createdTime: string;
|
|
16
|
+
avatar: string;
|
|
17
|
+
name: string;
|
|
18
|
+
defaultName: string;
|
|
19
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
20
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
21
|
+
status: import("../constants").STATUS;
|
|
22
|
+
sortTime: string;
|
|
23
|
+
topping: boolean;
|
|
24
|
+
unreadNum: number;
|
|
25
|
+
updatedTime: string;
|
|
26
|
+
lastMessageContent: string;
|
|
27
|
+
sender?: string | undefined;
|
|
28
|
+
lastMessageId?: string | undefined;
|
|
29
|
+
lastMessage?: {
|
|
30
|
+
[x: string]: any;
|
|
31
|
+
chatMessageType: MESSAGE_TYPE;
|
|
32
|
+
msg: string;
|
|
33
|
+
referenceContent?: any;
|
|
34
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
35
|
+
messageTemplate?: any;
|
|
36
|
+
messageTemplateData?: any;
|
|
37
|
+
fileUrl?: string | undefined;
|
|
38
|
+
avStatus?: string | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
lastMessageSendTime?: string | undefined;
|
|
41
|
+
lastMessageStatus?: string | undefined;
|
|
42
|
+
lastSenderName?: string | undefined;
|
|
43
|
+
businessInfo?: {
|
|
44
|
+
uiSetting?: AnyObject | undefined;
|
|
45
|
+
topicInfo?: {
|
|
46
|
+
[x: string]: any;
|
|
47
|
+
param?: AnyObject | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
} | undefined;
|
|
50
|
+
labelList?: AnyObject[] | undefined;
|
|
51
|
+
notDisturb: boolean;
|
|
52
|
+
};
|
|
11
53
|
id: string;
|
|
12
54
|
userInfo: AnyObject;
|
|
13
55
|
msgList: {
|
|
@@ -16,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
16
58
|
sessionKey: string;
|
|
17
59
|
content: {
|
|
18
60
|
[x: string]: any;
|
|
19
|
-
chatMessageType:
|
|
61
|
+
chatMessageType: MESSAGE_TYPE;
|
|
20
62
|
msg: string;
|
|
21
63
|
referenceContent?: any;
|
|
22
64
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -34,11 +76,49 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
34
76
|
__time?: string | undefined;
|
|
35
77
|
__sendTime?: string | undefined;
|
|
36
78
|
}[];
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
79
|
+
sessionList: {
|
|
80
|
+
id: string;
|
|
81
|
+
sessionKey: string;
|
|
82
|
+
receiver: string;
|
|
83
|
+
createdTime: string;
|
|
84
|
+
avatar: string;
|
|
85
|
+
name: string;
|
|
86
|
+
defaultName: string;
|
|
87
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
88
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
89
|
+
status: import("../constants").STATUS;
|
|
90
|
+
sortTime: string;
|
|
91
|
+
topping: boolean;
|
|
92
|
+
unreadNum: number;
|
|
93
|
+
updatedTime: string;
|
|
94
|
+
lastMessageContent: string;
|
|
95
|
+
sender?: string | undefined;
|
|
96
|
+
lastMessageId?: string | undefined;
|
|
97
|
+
lastMessage?: {
|
|
98
|
+
[x: string]: any;
|
|
99
|
+
chatMessageType: MESSAGE_TYPE;
|
|
100
|
+
msg: string;
|
|
101
|
+
referenceContent?: any;
|
|
102
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
103
|
+
messageTemplate?: any;
|
|
104
|
+
messageTemplateData?: any;
|
|
105
|
+
fileUrl?: string | undefined;
|
|
106
|
+
avStatus?: string | undefined;
|
|
107
|
+
} | undefined;
|
|
108
|
+
lastMessageSendTime?: string | undefined;
|
|
109
|
+
lastMessageStatus?: string | undefined;
|
|
110
|
+
lastSenderName?: string | undefined;
|
|
111
|
+
businessInfo?: {
|
|
112
|
+
uiSetting?: AnyObject | undefined;
|
|
113
|
+
topicInfo?: {
|
|
114
|
+
[x: string]: any;
|
|
115
|
+
param?: AnyObject | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
labelList?: AnyObject[] | undefined;
|
|
119
|
+
notDisturb: boolean;
|
|
120
|
+
}[];
|
|
40
121
|
isChangeSession: boolean;
|
|
41
|
-
updateSessionItem: AnyObject;
|
|
42
122
|
isUpdateSession: boolean;
|
|
43
123
|
currentReferenceMsg: AnyObject | null;
|
|
44
124
|
currentReEditMsg: AnyObject | null;
|
|
@@ -56,6 +136,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
56
136
|
info: AnyObject | null;
|
|
57
137
|
};
|
|
58
138
|
isForward: boolean;
|
|
139
|
+
loading: boolean;
|
|
59
140
|
};
|
|
60
141
|
setMsgList: (list?: AnyObject[] | import("../types").MsgListItem) => void;
|
|
61
142
|
relayMessage: (param: {
|
|
@@ -107,7 +188,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
107
188
|
showTemplateMsg: (item: AnyObject, type: 'system' | 'template') => boolean | undefined;
|
|
108
189
|
isTemplate3: (content: AnyObject) => boolean;
|
|
109
190
|
needShowTime: (item: AnyObject, index: number) => boolean;
|
|
110
|
-
setScrollToButtom: () => Promise<void>;
|
|
111
191
|
resetInfo: () => void;
|
|
112
192
|
setReferenceMsg: (msgItem: AnyObject) => void;
|
|
113
193
|
handleSelect: (key: string, msgItem: AnyObject) => void;
|
|
@@ -123,6 +203,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
123
203
|
readonly NButton: any;
|
|
124
204
|
readonly NSpace: any;
|
|
125
205
|
readonly NCheckbox: any;
|
|
206
|
+
readonly NFlex: any;
|
|
207
|
+
readonly NSpin: any;
|
|
126
208
|
readonly isArray: {
|
|
127
209
|
(value?: any): value is any[];
|
|
128
210
|
<T>(value?: any): value is any[];
|
|
@@ -214,8 +296,50 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
214
296
|
};
|
|
215
297
|
}>> & Readonly<{}> & {}>;
|
|
216
298
|
state: {
|
|
217
|
-
|
|
218
|
-
|
|
299
|
+
[x: string]: any;
|
|
300
|
+
orgId: string;
|
|
301
|
+
currentSessionItem: {
|
|
302
|
+
id: string;
|
|
303
|
+
sessionKey: string;
|
|
304
|
+
receiver: string;
|
|
305
|
+
createdTime: string;
|
|
306
|
+
avatar: string;
|
|
307
|
+
name: string;
|
|
308
|
+
defaultName: string;
|
|
309
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
310
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
311
|
+
status: import("../constants").STATUS;
|
|
312
|
+
sortTime: string;
|
|
313
|
+
topping: boolean;
|
|
314
|
+
unreadNum: number;
|
|
315
|
+
updatedTime: string;
|
|
316
|
+
lastMessageContent: string;
|
|
317
|
+
sender?: string | undefined;
|
|
318
|
+
lastMessageId?: string | undefined;
|
|
319
|
+
lastMessage?: {
|
|
320
|
+
[x: string]: any;
|
|
321
|
+
chatMessageType: MESSAGE_TYPE;
|
|
322
|
+
msg: string;
|
|
323
|
+
referenceContent?: any;
|
|
324
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
325
|
+
messageTemplate?: any;
|
|
326
|
+
messageTemplateData?: any;
|
|
327
|
+
fileUrl?: string | undefined;
|
|
328
|
+
avStatus?: string | undefined;
|
|
329
|
+
} | undefined;
|
|
330
|
+
lastMessageSendTime?: string | undefined;
|
|
331
|
+
lastMessageStatus?: string | undefined;
|
|
332
|
+
lastSenderName?: string | undefined;
|
|
333
|
+
businessInfo?: {
|
|
334
|
+
uiSetting?: AnyObject | undefined;
|
|
335
|
+
topicInfo?: {
|
|
336
|
+
[x: string]: any;
|
|
337
|
+
param?: AnyObject | undefined;
|
|
338
|
+
} | undefined;
|
|
339
|
+
} | undefined;
|
|
340
|
+
labelList?: AnyObject[] | undefined;
|
|
341
|
+
notDisturb: boolean;
|
|
342
|
+
};
|
|
219
343
|
id: string;
|
|
220
344
|
userInfo: AnyObject;
|
|
221
345
|
msgList: {
|
|
@@ -224,7 +348,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
224
348
|
sessionKey: string;
|
|
225
349
|
content: {
|
|
226
350
|
[x: string]: any;
|
|
227
|
-
chatMessageType:
|
|
351
|
+
chatMessageType: MESSAGE_TYPE;
|
|
228
352
|
msg: string;
|
|
229
353
|
referenceContent?: any;
|
|
230
354
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -242,11 +366,49 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
242
366
|
__time?: string | undefined;
|
|
243
367
|
__sendTime?: string | undefined;
|
|
244
368
|
}[];
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
369
|
+
sessionList: {
|
|
370
|
+
id: string;
|
|
371
|
+
sessionKey: string;
|
|
372
|
+
receiver: string;
|
|
373
|
+
createdTime: string;
|
|
374
|
+
avatar: string;
|
|
375
|
+
name: string;
|
|
376
|
+
defaultName: string;
|
|
377
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
378
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
379
|
+
status: import("../constants").STATUS;
|
|
380
|
+
sortTime: string;
|
|
381
|
+
topping: boolean;
|
|
382
|
+
unreadNum: number;
|
|
383
|
+
updatedTime: string;
|
|
384
|
+
lastMessageContent: string;
|
|
385
|
+
sender?: string | undefined;
|
|
386
|
+
lastMessageId?: string | undefined;
|
|
387
|
+
lastMessage?: {
|
|
388
|
+
[x: string]: any;
|
|
389
|
+
chatMessageType: MESSAGE_TYPE;
|
|
390
|
+
msg: string;
|
|
391
|
+
referenceContent?: any;
|
|
392
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
393
|
+
messageTemplate?: any;
|
|
394
|
+
messageTemplateData?: any;
|
|
395
|
+
fileUrl?: string | undefined;
|
|
396
|
+
avStatus?: string | undefined;
|
|
397
|
+
} | undefined;
|
|
398
|
+
lastMessageSendTime?: string | undefined;
|
|
399
|
+
lastMessageStatus?: string | undefined;
|
|
400
|
+
lastSenderName?: string | undefined;
|
|
401
|
+
businessInfo?: {
|
|
402
|
+
uiSetting?: AnyObject | undefined;
|
|
403
|
+
topicInfo?: {
|
|
404
|
+
[x: string]: any;
|
|
405
|
+
param?: AnyObject | undefined;
|
|
406
|
+
} | undefined;
|
|
407
|
+
} | undefined;
|
|
408
|
+
labelList?: AnyObject[] | undefined;
|
|
409
|
+
notDisturb: boolean;
|
|
410
|
+
}[];
|
|
248
411
|
isChangeSession: boolean;
|
|
249
|
-
updateSessionItem: AnyObject;
|
|
250
412
|
isUpdateSession: boolean;
|
|
251
413
|
currentReferenceMsg: AnyObject | null;
|
|
252
414
|
currentReEditMsg: AnyObject | null;
|
|
@@ -264,6 +426,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
264
426
|
info: AnyObject | null;
|
|
265
427
|
};
|
|
266
428
|
isForward: boolean;
|
|
429
|
+
loading: boolean;
|
|
267
430
|
};
|
|
268
431
|
setUserDetail: (event: MouseEvent, userDetail: AnyObject) => void;
|
|
269
432
|
inviter: import("vue").Ref<any, any>;
|
|
@@ -289,8 +452,50 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
289
452
|
};
|
|
290
453
|
}>> & Readonly<{}> & {}>;
|
|
291
454
|
state: {
|
|
292
|
-
|
|
293
|
-
|
|
455
|
+
[x: string]: any;
|
|
456
|
+
orgId: string;
|
|
457
|
+
currentSessionItem: {
|
|
458
|
+
id: string;
|
|
459
|
+
sessionKey: string;
|
|
460
|
+
receiver: string;
|
|
461
|
+
createdTime: string;
|
|
462
|
+
avatar: string;
|
|
463
|
+
name: string;
|
|
464
|
+
defaultName: string;
|
|
465
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
466
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
467
|
+
status: import("../constants").STATUS;
|
|
468
|
+
sortTime: string;
|
|
469
|
+
topping: boolean;
|
|
470
|
+
unreadNum: number;
|
|
471
|
+
updatedTime: string;
|
|
472
|
+
lastMessageContent: string;
|
|
473
|
+
sender?: string | undefined;
|
|
474
|
+
lastMessageId?: string | undefined;
|
|
475
|
+
lastMessage?: {
|
|
476
|
+
[x: string]: any;
|
|
477
|
+
chatMessageType: MESSAGE_TYPE;
|
|
478
|
+
msg: string;
|
|
479
|
+
referenceContent?: any;
|
|
480
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
481
|
+
messageTemplate?: any;
|
|
482
|
+
messageTemplateData?: any;
|
|
483
|
+
fileUrl?: string | undefined;
|
|
484
|
+
avStatus?: string | undefined;
|
|
485
|
+
} | undefined;
|
|
486
|
+
lastMessageSendTime?: string | undefined;
|
|
487
|
+
lastMessageStatus?: string | undefined;
|
|
488
|
+
lastSenderName?: string | undefined;
|
|
489
|
+
businessInfo?: {
|
|
490
|
+
uiSetting?: AnyObject | undefined;
|
|
491
|
+
topicInfo?: {
|
|
492
|
+
[x: string]: any;
|
|
493
|
+
param?: AnyObject | undefined;
|
|
494
|
+
} | undefined;
|
|
495
|
+
} | undefined;
|
|
496
|
+
labelList?: AnyObject[] | undefined;
|
|
497
|
+
notDisturb: boolean;
|
|
498
|
+
};
|
|
294
499
|
id: string;
|
|
295
500
|
userInfo: AnyObject;
|
|
296
501
|
msgList: {
|
|
@@ -299,7 +504,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
299
504
|
sessionKey: string;
|
|
300
505
|
content: {
|
|
301
506
|
[x: string]: any;
|
|
302
|
-
chatMessageType:
|
|
507
|
+
chatMessageType: MESSAGE_TYPE;
|
|
303
508
|
msg: string;
|
|
304
509
|
referenceContent?: any;
|
|
305
510
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -317,11 +522,49 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
317
522
|
__time?: string | undefined;
|
|
318
523
|
__sendTime?: string | undefined;
|
|
319
524
|
}[];
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
525
|
+
sessionList: {
|
|
526
|
+
id: string;
|
|
527
|
+
sessionKey: string;
|
|
528
|
+
receiver: string;
|
|
529
|
+
createdTime: string;
|
|
530
|
+
avatar: string;
|
|
531
|
+
name: string;
|
|
532
|
+
defaultName: string;
|
|
533
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
534
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
535
|
+
status: import("../constants").STATUS;
|
|
536
|
+
sortTime: string;
|
|
537
|
+
topping: boolean;
|
|
538
|
+
unreadNum: number;
|
|
539
|
+
updatedTime: string;
|
|
540
|
+
lastMessageContent: string;
|
|
541
|
+
sender?: string | undefined;
|
|
542
|
+
lastMessageId?: string | undefined;
|
|
543
|
+
lastMessage?: {
|
|
544
|
+
[x: string]: any;
|
|
545
|
+
chatMessageType: MESSAGE_TYPE;
|
|
546
|
+
msg: string;
|
|
547
|
+
referenceContent?: any;
|
|
548
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
549
|
+
messageTemplate?: any;
|
|
550
|
+
messageTemplateData?: any;
|
|
551
|
+
fileUrl?: string | undefined;
|
|
552
|
+
avStatus?: string | undefined;
|
|
553
|
+
} | undefined;
|
|
554
|
+
lastMessageSendTime?: string | undefined;
|
|
555
|
+
lastMessageStatus?: string | undefined;
|
|
556
|
+
lastSenderName?: string | undefined;
|
|
557
|
+
businessInfo?: {
|
|
558
|
+
uiSetting?: AnyObject | undefined;
|
|
559
|
+
topicInfo?: {
|
|
560
|
+
[x: string]: any;
|
|
561
|
+
param?: AnyObject | undefined;
|
|
562
|
+
} | undefined;
|
|
563
|
+
} | undefined;
|
|
564
|
+
labelList?: AnyObject[] | undefined;
|
|
565
|
+
notDisturb: boolean;
|
|
566
|
+
}[];
|
|
323
567
|
isChangeSession: boolean;
|
|
324
|
-
updateSessionItem: AnyObject;
|
|
325
568
|
isUpdateSession: boolean;
|
|
326
569
|
currentReferenceMsg: AnyObject | null;
|
|
327
570
|
currentReEditMsg: AnyObject | null;
|
|
@@ -339,6 +582,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
339
582
|
info: AnyObject | null;
|
|
340
583
|
};
|
|
341
584
|
isForward: boolean;
|
|
585
|
+
loading: boolean;
|
|
342
586
|
};
|
|
343
587
|
cssVars: import("vue").ComputedRef<AnyObject>;
|
|
344
588
|
msgItem: import("vue").ComputedRef<AnyObject | import("../types").MsgListItem>;
|
|
@@ -377,8 +621,50 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
377
621
|
};
|
|
378
622
|
}>> & Readonly<{}> & {}>;
|
|
379
623
|
state: {
|
|
380
|
-
|
|
381
|
-
|
|
624
|
+
[x: string]: any;
|
|
625
|
+
orgId: string;
|
|
626
|
+
currentSessionItem: {
|
|
627
|
+
id: string;
|
|
628
|
+
sessionKey: string;
|
|
629
|
+
receiver: string;
|
|
630
|
+
createdTime: string;
|
|
631
|
+
avatar: string;
|
|
632
|
+
name: string;
|
|
633
|
+
defaultName: string;
|
|
634
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
635
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
636
|
+
status: import("../constants").STATUS;
|
|
637
|
+
sortTime: string;
|
|
638
|
+
topping: boolean;
|
|
639
|
+
unreadNum: number;
|
|
640
|
+
updatedTime: string;
|
|
641
|
+
lastMessageContent: string;
|
|
642
|
+
sender?: string | undefined;
|
|
643
|
+
lastMessageId?: string | undefined;
|
|
644
|
+
lastMessage?: {
|
|
645
|
+
[x: string]: any;
|
|
646
|
+
chatMessageType: MESSAGE_TYPE;
|
|
647
|
+
msg: string;
|
|
648
|
+
referenceContent?: any;
|
|
649
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
650
|
+
messageTemplate?: any;
|
|
651
|
+
messageTemplateData?: any;
|
|
652
|
+
fileUrl?: string | undefined;
|
|
653
|
+
avStatus?: string | undefined;
|
|
654
|
+
} | undefined;
|
|
655
|
+
lastMessageSendTime?: string | undefined;
|
|
656
|
+
lastMessageStatus?: string | undefined;
|
|
657
|
+
lastSenderName?: string | undefined;
|
|
658
|
+
businessInfo?: {
|
|
659
|
+
uiSetting?: AnyObject | undefined;
|
|
660
|
+
topicInfo?: {
|
|
661
|
+
[x: string]: any;
|
|
662
|
+
param?: AnyObject | undefined;
|
|
663
|
+
} | undefined;
|
|
664
|
+
} | undefined;
|
|
665
|
+
labelList?: AnyObject[] | undefined;
|
|
666
|
+
notDisturb: boolean;
|
|
667
|
+
};
|
|
382
668
|
id: string;
|
|
383
669
|
userInfo: AnyObject;
|
|
384
670
|
msgList: {
|
|
@@ -387,7 +673,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
387
673
|
sessionKey: string;
|
|
388
674
|
content: {
|
|
389
675
|
[x: string]: any;
|
|
390
|
-
chatMessageType:
|
|
676
|
+
chatMessageType: MESSAGE_TYPE;
|
|
391
677
|
msg: string;
|
|
392
678
|
referenceContent?: any;
|
|
393
679
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -405,11 +691,49 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
405
691
|
__time?: string | undefined;
|
|
406
692
|
__sendTime?: string | undefined;
|
|
407
693
|
}[];
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
694
|
+
sessionList: {
|
|
695
|
+
id: string;
|
|
696
|
+
sessionKey: string;
|
|
697
|
+
receiver: string;
|
|
698
|
+
createdTime: string;
|
|
699
|
+
avatar: string;
|
|
700
|
+
name: string;
|
|
701
|
+
defaultName: string;
|
|
702
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
703
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
704
|
+
status: import("../constants").STATUS;
|
|
705
|
+
sortTime: string;
|
|
706
|
+
topping: boolean;
|
|
707
|
+
unreadNum: number;
|
|
708
|
+
updatedTime: string;
|
|
709
|
+
lastMessageContent: string;
|
|
710
|
+
sender?: string | undefined;
|
|
711
|
+
lastMessageId?: string | undefined;
|
|
712
|
+
lastMessage?: {
|
|
713
|
+
[x: string]: any;
|
|
714
|
+
chatMessageType: MESSAGE_TYPE;
|
|
715
|
+
msg: string;
|
|
716
|
+
referenceContent?: any;
|
|
717
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
718
|
+
messageTemplate?: any;
|
|
719
|
+
messageTemplateData?: any;
|
|
720
|
+
fileUrl?: string | undefined;
|
|
721
|
+
avStatus?: string | undefined;
|
|
722
|
+
} | undefined;
|
|
723
|
+
lastMessageSendTime?: string | undefined;
|
|
724
|
+
lastMessageStatus?: string | undefined;
|
|
725
|
+
lastSenderName?: string | undefined;
|
|
726
|
+
businessInfo?: {
|
|
727
|
+
uiSetting?: AnyObject | undefined;
|
|
728
|
+
topicInfo?: {
|
|
729
|
+
[x: string]: any;
|
|
730
|
+
param?: AnyObject | undefined;
|
|
731
|
+
} | undefined;
|
|
732
|
+
} | undefined;
|
|
733
|
+
labelList?: AnyObject[] | undefined;
|
|
734
|
+
notDisturb: boolean;
|
|
735
|
+
}[];
|
|
411
736
|
isChangeSession: boolean;
|
|
412
|
-
updateSessionItem: AnyObject;
|
|
413
737
|
isUpdateSession: boolean;
|
|
414
738
|
currentReferenceMsg: AnyObject | null;
|
|
415
739
|
currentReEditMsg: AnyObject | null;
|
|
@@ -427,6 +751,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
427
751
|
info: AnyObject | null;
|
|
428
752
|
};
|
|
429
753
|
isForward: boolean;
|
|
754
|
+
loading: boolean;
|
|
430
755
|
};
|
|
431
756
|
setUserDetail: (event: MouseEvent, userDetail: AnyObject) => void;
|
|
432
757
|
inviter: import("vue").Ref<any, any>;
|
|
@@ -602,8 +927,50 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
602
927
|
}> & {}>;
|
|
603
928
|
emit: (event: "comfirm", ...args: any[]) => void;
|
|
604
929
|
state: {
|
|
605
|
-
|
|
606
|
-
|
|
930
|
+
[x: string]: any;
|
|
931
|
+
orgId: string;
|
|
932
|
+
currentSessionItem: {
|
|
933
|
+
id: string;
|
|
934
|
+
sessionKey: string;
|
|
935
|
+
receiver: string;
|
|
936
|
+
createdTime: string;
|
|
937
|
+
avatar: string;
|
|
938
|
+
name: string;
|
|
939
|
+
defaultName: string;
|
|
940
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
941
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
942
|
+
status: import("../constants").STATUS;
|
|
943
|
+
sortTime: string;
|
|
944
|
+
topping: boolean;
|
|
945
|
+
unreadNum: number;
|
|
946
|
+
updatedTime: string;
|
|
947
|
+
lastMessageContent: string;
|
|
948
|
+
sender?: string | undefined;
|
|
949
|
+
lastMessageId?: string | undefined;
|
|
950
|
+
lastMessage?: {
|
|
951
|
+
[x: string]: any;
|
|
952
|
+
chatMessageType: MESSAGE_TYPE;
|
|
953
|
+
msg: string;
|
|
954
|
+
referenceContent?: any;
|
|
955
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
956
|
+
messageTemplate?: any;
|
|
957
|
+
messageTemplateData?: any;
|
|
958
|
+
fileUrl?: string | undefined;
|
|
959
|
+
avStatus?: string | undefined;
|
|
960
|
+
} | undefined;
|
|
961
|
+
lastMessageSendTime?: string | undefined;
|
|
962
|
+
lastMessageStatus?: string | undefined;
|
|
963
|
+
lastSenderName?: string | undefined;
|
|
964
|
+
businessInfo?: {
|
|
965
|
+
uiSetting?: AnyObject | undefined;
|
|
966
|
+
topicInfo?: {
|
|
967
|
+
[x: string]: any;
|
|
968
|
+
param?: AnyObject | undefined;
|
|
969
|
+
} | undefined;
|
|
970
|
+
} | undefined;
|
|
971
|
+
labelList?: AnyObject[] | undefined;
|
|
972
|
+
notDisturb: boolean;
|
|
973
|
+
};
|
|
607
974
|
id: string;
|
|
608
975
|
userInfo: AnyObject;
|
|
609
976
|
msgList: {
|
|
@@ -612,7 +979,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
612
979
|
sessionKey: string;
|
|
613
980
|
content: {
|
|
614
981
|
[x: string]: any;
|
|
615
|
-
chatMessageType:
|
|
982
|
+
chatMessageType: MESSAGE_TYPE;
|
|
616
983
|
msg: string;
|
|
617
984
|
referenceContent?: any;
|
|
618
985
|
forwardMessageList?: AnyObject[] | undefined;
|
|
@@ -630,11 +997,49 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
630
997
|
__time?: string | undefined;
|
|
631
998
|
__sendTime?: string | undefined;
|
|
632
999
|
}[];
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
1000
|
+
sessionList: {
|
|
1001
|
+
id: string;
|
|
1002
|
+
sessionKey: string;
|
|
1003
|
+
receiver: string;
|
|
1004
|
+
createdTime: string;
|
|
1005
|
+
avatar: string;
|
|
1006
|
+
name: string;
|
|
1007
|
+
defaultName: string;
|
|
1008
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
1009
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
1010
|
+
status: import("../constants").STATUS;
|
|
1011
|
+
sortTime: string;
|
|
1012
|
+
topping: boolean;
|
|
1013
|
+
unreadNum: number;
|
|
1014
|
+
updatedTime: string;
|
|
1015
|
+
lastMessageContent: string;
|
|
1016
|
+
sender?: string | undefined;
|
|
1017
|
+
lastMessageId?: string | undefined;
|
|
1018
|
+
lastMessage?: {
|
|
1019
|
+
[x: string]: any;
|
|
1020
|
+
chatMessageType: MESSAGE_TYPE;
|
|
1021
|
+
msg: string;
|
|
1022
|
+
referenceContent?: any;
|
|
1023
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
1024
|
+
messageTemplate?: any;
|
|
1025
|
+
messageTemplateData?: any;
|
|
1026
|
+
fileUrl?: string | undefined;
|
|
1027
|
+
avStatus?: string | undefined;
|
|
1028
|
+
} | undefined;
|
|
1029
|
+
lastMessageSendTime?: string | undefined;
|
|
1030
|
+
lastMessageStatus?: string | undefined;
|
|
1031
|
+
lastSenderName?: string | undefined;
|
|
1032
|
+
businessInfo?: {
|
|
1033
|
+
uiSetting?: AnyObject | undefined;
|
|
1034
|
+
topicInfo?: {
|
|
1035
|
+
[x: string]: any;
|
|
1036
|
+
param?: AnyObject | undefined;
|
|
1037
|
+
} | undefined;
|
|
1038
|
+
} | undefined;
|
|
1039
|
+
labelList?: AnyObject[] | undefined;
|
|
1040
|
+
notDisturb: boolean;
|
|
1041
|
+
}[];
|
|
636
1042
|
isChangeSession: boolean;
|
|
637
|
-
updateSessionItem: AnyObject;
|
|
638
1043
|
isUpdateSession: boolean;
|
|
639
1044
|
currentReferenceMsg: AnyObject | null;
|
|
640
1045
|
currentReEditMsg: AnyObject | null;
|
|
@@ -652,6 +1057,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
652
1057
|
info: AnyObject | null;
|
|
653
1058
|
};
|
|
654
1059
|
isForward: boolean;
|
|
1060
|
+
loading: boolean;
|
|
655
1061
|
};
|
|
656
1062
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
657
1063
|
listRef: import("vue").Ref<any, any>;
|
|
@@ -667,25 +1073,25 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
667
1073
|
handleInput: () => void;
|
|
668
1074
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
|
669
1075
|
sessionList: import("vue").ComputedRef<{
|
|
670
|
-
id:
|
|
671
|
-
name:
|
|
672
|
-
avatar:
|
|
673
|
-
chatType:
|
|
674
|
-
roleInfo:
|
|
1076
|
+
id: string;
|
|
1077
|
+
name: string;
|
|
1078
|
+
avatar: string;
|
|
1079
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
1080
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
675
1081
|
}[]>;
|
|
676
1082
|
friends: import("vue").ComputedRef<{
|
|
677
|
-
id:
|
|
678
|
-
name:
|
|
679
|
-
avatar:
|
|
680
|
-
chatType:
|
|
681
|
-
roleInfo:
|
|
1083
|
+
id: string;
|
|
1084
|
+
name: string;
|
|
1085
|
+
avatar: string;
|
|
1086
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
1087
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
682
1088
|
}[]>;
|
|
683
1089
|
groups: import("vue").ComputedRef<{
|
|
684
|
-
id:
|
|
685
|
-
name:
|
|
686
|
-
avatar:
|
|
687
|
-
chatType:
|
|
688
|
-
roleInfo:
|
|
1090
|
+
id: string;
|
|
1091
|
+
name: string;
|
|
1092
|
+
avatar: string;
|
|
1093
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
1094
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
689
1095
|
}[]>;
|
|
690
1096
|
checkedIds: import("vue").ComputedRef<any[]>;
|
|
691
1097
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -759,6 +1165,159 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
759
1165
|
mode: string;
|
|
760
1166
|
disabledIds: string[];
|
|
761
1167
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1168
|
+
MessageMarkdown: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1169
|
+
data: {
|
|
1170
|
+
type: import("vue").PropType<AnyObject>;
|
|
1171
|
+
required: true;
|
|
1172
|
+
};
|
|
1173
|
+
}>, {
|
|
1174
|
+
mdhtml: import("markdown-it");
|
|
1175
|
+
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1176
|
+
data: {
|
|
1177
|
+
type: import("vue").PropType<AnyObject>;
|
|
1178
|
+
required: true;
|
|
1179
|
+
};
|
|
1180
|
+
}>> & Readonly<{}> & {}>;
|
|
1181
|
+
state: {
|
|
1182
|
+
[x: string]: any;
|
|
1183
|
+
orgId: string;
|
|
1184
|
+
currentSessionItem: {
|
|
1185
|
+
id: string;
|
|
1186
|
+
sessionKey: string;
|
|
1187
|
+
receiver: string;
|
|
1188
|
+
createdTime: string;
|
|
1189
|
+
avatar: string;
|
|
1190
|
+
name: string;
|
|
1191
|
+
defaultName: string;
|
|
1192
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
1193
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
1194
|
+
status: import("../constants").STATUS;
|
|
1195
|
+
sortTime: string;
|
|
1196
|
+
topping: boolean;
|
|
1197
|
+
unreadNum: number;
|
|
1198
|
+
updatedTime: string;
|
|
1199
|
+
lastMessageContent: string;
|
|
1200
|
+
sender?: string | undefined;
|
|
1201
|
+
lastMessageId?: string | undefined;
|
|
1202
|
+
lastMessage?: {
|
|
1203
|
+
[x: string]: any;
|
|
1204
|
+
chatMessageType: MESSAGE_TYPE;
|
|
1205
|
+
msg: string;
|
|
1206
|
+
referenceContent?: any;
|
|
1207
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
1208
|
+
messageTemplate?: any;
|
|
1209
|
+
messageTemplateData?: any;
|
|
1210
|
+
fileUrl?: string | undefined;
|
|
1211
|
+
avStatus?: string | undefined;
|
|
1212
|
+
} | undefined;
|
|
1213
|
+
lastMessageSendTime?: string | undefined;
|
|
1214
|
+
lastMessageStatus?: string | undefined;
|
|
1215
|
+
lastSenderName?: string | undefined;
|
|
1216
|
+
businessInfo?: {
|
|
1217
|
+
uiSetting?: AnyObject | undefined;
|
|
1218
|
+
topicInfo?: {
|
|
1219
|
+
[x: string]: any;
|
|
1220
|
+
param?: AnyObject | undefined;
|
|
1221
|
+
} | undefined;
|
|
1222
|
+
} | undefined;
|
|
1223
|
+
labelList?: AnyObject[] | undefined;
|
|
1224
|
+
notDisturb: boolean;
|
|
1225
|
+
};
|
|
1226
|
+
id: string;
|
|
1227
|
+
userInfo: AnyObject;
|
|
1228
|
+
msgList: {
|
|
1229
|
+
[x: string]: any;
|
|
1230
|
+
id: string;
|
|
1231
|
+
sessionKey: string;
|
|
1232
|
+
content: {
|
|
1233
|
+
[x: string]: any;
|
|
1234
|
+
chatMessageType: MESSAGE_TYPE;
|
|
1235
|
+
msg: string;
|
|
1236
|
+
referenceContent?: any;
|
|
1237
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
1238
|
+
messageTemplate?: any;
|
|
1239
|
+
messageTemplateData?: any;
|
|
1240
|
+
fileUrl?: string | undefined;
|
|
1241
|
+
avStatus?: string | undefined;
|
|
1242
|
+
};
|
|
1243
|
+
senderName: string;
|
|
1244
|
+
sendTime: string;
|
|
1245
|
+
sender: string;
|
|
1246
|
+
status: string;
|
|
1247
|
+
senderAvatar: string;
|
|
1248
|
+
__content: string;
|
|
1249
|
+
__time?: string | undefined;
|
|
1250
|
+
__sendTime?: string | undefined;
|
|
1251
|
+
}[];
|
|
1252
|
+
sessionList: {
|
|
1253
|
+
id: string;
|
|
1254
|
+
sessionKey: string;
|
|
1255
|
+
receiver: string;
|
|
1256
|
+
createdTime: string;
|
|
1257
|
+
avatar: string;
|
|
1258
|
+
name: string;
|
|
1259
|
+
defaultName: string;
|
|
1260
|
+
chatType: import("../constants").CHAT_TYPE;
|
|
1261
|
+
roleInfo: import("../constants").ROLE_TYPE;
|
|
1262
|
+
status: import("../constants").STATUS;
|
|
1263
|
+
sortTime: string;
|
|
1264
|
+
topping: boolean;
|
|
1265
|
+
unreadNum: number;
|
|
1266
|
+
updatedTime: string;
|
|
1267
|
+
lastMessageContent: string;
|
|
1268
|
+
sender?: string | undefined;
|
|
1269
|
+
lastMessageId?: string | undefined;
|
|
1270
|
+
lastMessage?: {
|
|
1271
|
+
[x: string]: any;
|
|
1272
|
+
chatMessageType: MESSAGE_TYPE;
|
|
1273
|
+
msg: string;
|
|
1274
|
+
referenceContent?: any;
|
|
1275
|
+
forwardMessageList?: AnyObject[] | undefined;
|
|
1276
|
+
messageTemplate?: any;
|
|
1277
|
+
messageTemplateData?: any;
|
|
1278
|
+
fileUrl?: string | undefined;
|
|
1279
|
+
avStatus?: string | undefined;
|
|
1280
|
+
} | undefined;
|
|
1281
|
+
lastMessageSendTime?: string | undefined;
|
|
1282
|
+
lastMessageStatus?: string | undefined;
|
|
1283
|
+
lastSenderName?: string | undefined;
|
|
1284
|
+
businessInfo?: {
|
|
1285
|
+
uiSetting?: AnyObject | undefined;
|
|
1286
|
+
topicInfo?: {
|
|
1287
|
+
[x: string]: any;
|
|
1288
|
+
param?: AnyObject | undefined;
|
|
1289
|
+
} | undefined;
|
|
1290
|
+
} | undefined;
|
|
1291
|
+
labelList?: AnyObject[] | undefined;
|
|
1292
|
+
notDisturb: boolean;
|
|
1293
|
+
}[];
|
|
1294
|
+
isChangeSession: boolean;
|
|
1295
|
+
isUpdateSession: boolean;
|
|
1296
|
+
currentReferenceMsg: AnyObject | null;
|
|
1297
|
+
currentReEditMsg: AnyObject | null;
|
|
1298
|
+
showVideo: boolean;
|
|
1299
|
+
currentAVMsg: AnyObject;
|
|
1300
|
+
currentGroupUser: AnyObject[];
|
|
1301
|
+
showMultipleVideo: boolean;
|
|
1302
|
+
userDetail: {
|
|
1303
|
+
show: boolean;
|
|
1304
|
+
position: {
|
|
1305
|
+
x: number;
|
|
1306
|
+
y: number;
|
|
1307
|
+
};
|
|
1308
|
+
userId: string;
|
|
1309
|
+
info: AnyObject | null;
|
|
1310
|
+
};
|
|
1311
|
+
isForward: boolean;
|
|
1312
|
+
loading: boolean;
|
|
1313
|
+
};
|
|
1314
|
+
content: import("vue").ComputedRef<string>;
|
|
1315
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1316
|
+
data: {
|
|
1317
|
+
type: import("vue").PropType<AnyObject>;
|
|
1318
|
+
required: true;
|
|
1319
|
+
};
|
|
1320
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
762
1321
|
readonly simplifyMessage: typeof simplifyMessage;
|
|
763
1322
|
readonly isAudioOrVideoMessage: typeof isAudioOrVideoMessage;
|
|
764
1323
|
readonly getAVTime: typeof getAVTime;
|