cnhis-design-vue 3.2.14-beta.14 → 3.2.14-beta.19

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 (58) hide show
  1. package/es/components/ai-chat/src/components/ChatCard.js +1 -1
  2. package/es/components/field-set/src/FieldFilter.vue.d.ts +3 -2
  3. package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
  4. package/es/components/field-set/src/components/table-row.vue2.js +1 -1
  5. package/es/components/field-set/src/constants/filter.d.ts +21 -12
  6. package/es/components/field-set/src/constants/filter.js +1 -1
  7. package/es/components/field-set/src/types/index.d.ts +1 -1
  8. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  9. package/es/components/form-render/src/hooks/usePresetScope.d.ts +1 -1
  10. package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
  11. package/es/components/iho-chat/index.d.ts +437 -49
  12. package/es/components/iho-chat/src/Index.vue.d.ts +440 -56
  13. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  14. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +19 -1
  15. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  16. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +39 -3
  17. package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
  18. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +38 -2
  19. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  20. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +172 -10
  21. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
  22. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +58 -4
  23. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  24. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +19 -1
  25. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
  26. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +20 -2
  27. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
  28. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +57 -3
  29. package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
  30. package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
  31. package/es/components/iho-chat/src/components/MessageTemplate.vue.d.ts +1 -1
  32. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +1 -1
  33. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +38 -2
  34. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  35. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +19 -1
  36. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  37. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +19 -1
  38. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  39. package/es/components/iho-chat/src/components/Video.vue.d.ts +19 -1
  40. package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
  41. package/es/components/iho-chat/src/hooks/index.d.ts +2 -2
  42. package/es/components/iho-chat/src/hooks/index.js +1 -1
  43. package/es/components/iho-chat/src/hooks/useData.d.ts +94 -0
  44. package/es/components/iho-chat/src/hooks/useData.js +1 -0
  45. package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -1
  46. package/es/components/iho-chat/src/hooks/useVideo.d.ts +19 -1
  47. package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
  48. package/es/components/iho-chat/src/hooks/useWebSocket.d.ts +3 -0
  49. package/es/components/iho-chat/src/hooks/useWebSocket.js +1 -0
  50. package/es/components/iho-chat/src/types/index.d.ts +0 -6
  51. package/es/components/iho-chat/src/types/index.js +1 -1
  52. package/es/components/iho-chat/src/utils/index.js +1 -1
  53. package/es/shared/package.json.js +1 -1
  54. package/package.json +2 -2
  55. package/es/components/iho-chat/src/hooks/useSession.d.ts +0 -14
  56. package/es/components/iho-chat/src/hooks/useSession.js +0 -1
  57. package/es/components/iho-chat/src/hooks/useState.d.ts +0 -18
  58. package/es/components/iho-chat/src/hooks/useState.js +0 -1
@@ -1,9 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
- import { ChatSock } from './utils/chatSock';
3
2
  import { AnyObject } from '../../../shared/types';
4
- import { AV_STATUS } from './constants';
5
- import { IState } from './types';
6
- import { isAudioOrVideoMessage } from './utils';
7
3
  declare const _default: import("vue").DefineComponent<{
8
4
  token: {
9
5
  type: StringConstructor;
@@ -21,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
21
17
  type: StringConstructor;
22
18
  default: string;
23
19
  };
24
- chatBox: {
20
+ showHeader: {
25
21
  type: BooleanConstructor;
26
22
  default: boolean;
27
23
  };
@@ -50,7 +46,7 @@ declare const _default: import("vue").DefineComponent<{
50
46
  type: StringConstructor;
51
47
  default: string;
52
48
  };
53
- chatBox: {
49
+ showHeader: {
54
50
  type: BooleanConstructor;
55
51
  default: boolean;
56
52
  };
@@ -64,11 +60,56 @@ declare const _default: import("vue").DefineComponent<{
64
60
  }>> & {
65
61
  "onTemplate-click"?: ((...args: any[]) => any) | undefined;
66
62
  "onUnread-message-update"?: ((...args: any[]) => any) | undefined;
63
+ "onSession-change"?: ((...args: any[]) => any) | undefined;
67
64
  }>>;
68
- emit: (event: "template-click" | "unread-message-update", ...args: any[]) => void;
69
- cssVars: import("vue").ComputedRef<AnyObject>;
65
+ emit: (event: "template-click" | "unread-message-update" | "session-change", ...args: any[]) => void;
70
66
  loading: import("vue").Ref<boolean>;
71
- stompClient: import("vue").Ref<ChatSock | undefined>;
67
+ data: {
68
+ cssVars: import("vue").ComputedRef<AnyObject>;
69
+ stompClient: import("vue").Ref<import("./utils/chatSock").ChatSock | undefined>;
70
+ state: {
71
+ orgId: string | number;
72
+ currentSessionItem: AnyObject;
73
+ id: string;
74
+ userInfo: AnyObject;
75
+ msgList: AnyObject[];
76
+ currentMsg: AnyObject;
77
+ isAppendMsg: boolean;
78
+ sessionList: AnyObject[];
79
+ isChangeSession: boolean;
80
+ updateSessionItem: AnyObject;
81
+ isUpdateSession: boolean;
82
+ currentReferenceMsg: AnyObject | null;
83
+ currentReEditMsg: AnyObject | null;
84
+ showVideo: boolean;
85
+ currentAVMsg: AnyObject;
86
+ currentGroupUser: AnyObject[];
87
+ showMultipleVideo: boolean;
88
+ };
89
+ unreadTotal: import("vue").ComputedRef<number>;
90
+ isGroupChat: import("vue").ComputedRef<boolean>;
91
+ isGroupLeader: import("vue").ComputedRef<boolean>;
92
+ isEnded: import("vue").ComputedRef<boolean>;
93
+ setMsgList: (list?: AnyObject[]) => void;
94
+ sendMessage: (message: {
95
+ chatType?: string | undefined;
96
+ content: AnyObject;
97
+ receiver?: string | undefined;
98
+ }) => Promise<void>;
99
+ relayMessage: (param: {
100
+ checkedIds: string[];
101
+ remark: string;
102
+ content: AnyObject;
103
+ }) => Promise<void>;
104
+ openSession: (item: AnyObject) => Promise<void>;
105
+ closeSession: () => AnyObject | null;
106
+ getCurrentSession: () => AnyObject | null;
107
+ setCurrentSessionItem: (item: AnyObject) => void;
108
+ setUpdateSessionItem: (item: AnyObject) => void;
109
+ setSessionList: (list: AnyObject[]) => void;
110
+ emit: (event: "template-click" | "unread-message-update" | "session-change", ...args: any[]) => void;
111
+ };
112
+ cssVars: import("vue").ComputedRef<AnyObject>;
72
113
  state: {
73
114
  orgId: string | number;
74
115
  currentSessionItem: AnyObject;
@@ -88,28 +129,10 @@ declare const _default: import("vue").DefineComponent<{
88
129
  currentGroupUser: AnyObject[];
89
130
  showMultipleVideo: boolean;
90
131
  };
91
- unreadTotal: import("vue").ComputedRef<number>;
92
132
  openSession: (item: AnyObject) => Promise<void>;
93
133
  closeSession: () => AnyObject | null;
94
134
  getCurrentSession: () => AnyObject | null;
95
- setSessionList: (list: AnyObject[]) => void;
96
- setUpdateSessionItem: (item: AnyObject) => void;
97
- setCurrentSessionItem: (item: AnyObject) => void;
98
- updateSessionList: (sessionItem: AnyObject) => void;
99
135
  isEnded: import("vue").ComputedRef<boolean>;
100
- reConnention: number;
101
- groupSessionList: AnyObject[];
102
- init: () => Promise<void>;
103
- initWebSocket: () => void;
104
- subscribeSessionList: () => void;
105
- handleDefaultSession: () => void;
106
- subscribeGroupMessage: () => void;
107
- subscribeMessage: () => void;
108
- handleMessage: (messageVo: AnyObject, chatType: string) => Promise<void>;
109
- handleSubscribeMessage: ({ body, chatType }: {
110
- body: any;
111
- chatType: string;
112
- }) => Promise<void>;
113
136
  getUnreadData: () => AnyObject[];
114
137
  NLayout: any;
115
138
  NLayoutContent: any;
@@ -130,7 +153,25 @@ declare const _default: import("vue").DefineComponent<{
130
153
  key: string;
131
154
  }[]>;
132
155
  currentFilterKey: import("vue").Ref<string>;
133
- state: IState;
156
+ state: {
157
+ orgId: string | number;
158
+ currentSessionItem: AnyObject;
159
+ id: string;
160
+ userInfo: AnyObject;
161
+ msgList: AnyObject[];
162
+ currentMsg: AnyObject;
163
+ isAppendMsg: boolean;
164
+ sessionList: AnyObject[];
165
+ isChangeSession: boolean;
166
+ updateSessionItem: AnyObject;
167
+ isUpdateSession: boolean;
168
+ currentReferenceMsg: AnyObject | null;
169
+ currentReEditMsg: AnyObject | null;
170
+ showVideo: boolean;
171
+ currentAVMsg: AnyObject;
172
+ currentGroupUser: AnyObject[];
173
+ showMultipleVideo: boolean;
174
+ };
134
175
  unreadTotal: import("vue").ComputedRef<number>;
135
176
  openSession: (item: AnyObject) => Promise<void>;
136
177
  currentWidth: import("vue").ComputedRef<number>;
@@ -150,7 +191,25 @@ declare const _default: import("vue").DefineComponent<{
150
191
  formatTime: typeof import("./utils").formatTime;
151
192
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
152
193
  ChatHeader: import("vue").DefineComponent<{}, {
153
- state: IState;
194
+ state: {
195
+ orgId: string | number;
196
+ currentSessionItem: AnyObject;
197
+ id: string;
198
+ userInfo: AnyObject;
199
+ msgList: AnyObject[];
200
+ currentMsg: AnyObject;
201
+ isAppendMsg: boolean;
202
+ sessionList: AnyObject[];
203
+ isChangeSession: boolean;
204
+ updateSessionItem: AnyObject;
205
+ isUpdateSession: boolean;
206
+ currentReferenceMsg: AnyObject | null;
207
+ currentReEditMsg: AnyObject | null;
208
+ showVideo: boolean;
209
+ currentAVMsg: AnyObject;
210
+ currentGroupUser: AnyObject[];
211
+ showMultipleVideo: boolean;
212
+ };
154
213
  isGroupChat: import("vue").ComputedRef<boolean>;
155
214
  isGroupLeader: import("vue").ComputedRef<boolean>;
156
215
  isEnded: import("vue").ComputedRef<boolean>;
@@ -200,7 +259,25 @@ declare const _default: import("vue").DefineComponent<{
200
259
  onClose?: ((...args: any[]) => any) | undefined;
201
260
  }>>;
202
261
  emit: (event: "close", ...args: any[]) => void;
203
- state: IState;
262
+ state: {
263
+ orgId: string | number;
264
+ currentSessionItem: AnyObject;
265
+ id: string;
266
+ userInfo: AnyObject;
267
+ msgList: AnyObject[];
268
+ currentMsg: AnyObject;
269
+ isAppendMsg: boolean;
270
+ sessionList: AnyObject[];
271
+ isChangeSession: boolean;
272
+ updateSessionItem: AnyObject;
273
+ isUpdateSession: boolean;
274
+ currentReferenceMsg: AnyObject | null;
275
+ currentReEditMsg: AnyObject | null;
276
+ showVideo: boolean;
277
+ currentAVMsg: AnyObject;
278
+ currentGroupUser: AnyObject[];
279
+ showMultipleVideo: boolean;
280
+ };
204
281
  openSession: (item: AnyObject) => Promise<void>;
205
282
  showUserDetail: import("vue").Ref<boolean>;
206
283
  showLargeAvatar: import("vue").Ref<boolean>;
@@ -248,7 +325,25 @@ declare const _default: import("vue").DefineComponent<{
248
325
  attrs: {
249
326
  [x: string]: unknown;
250
327
  };
251
- state: IState;
328
+ state: {
329
+ orgId: string | number;
330
+ currentSessionItem: AnyObject;
331
+ id: string;
332
+ userInfo: AnyObject;
333
+ msgList: AnyObject[];
334
+ currentMsg: AnyObject;
335
+ isAppendMsg: boolean;
336
+ sessionList: AnyObject[];
337
+ isChangeSession: boolean;
338
+ updateSessionItem: AnyObject;
339
+ isUpdateSession: boolean;
340
+ currentReferenceMsg: AnyObject | null;
341
+ currentReEditMsg: AnyObject | null;
342
+ showVideo: boolean;
343
+ currentAVMsg: AnyObject;
344
+ currentGroupUser: AnyObject[];
345
+ showMultipleVideo: boolean;
346
+ };
252
347
  setCurrentSessionItem: (item: AnyObject) => void;
253
348
  isGroupChat: import("vue").ComputedRef<boolean>;
254
349
  isGroupLeader: import("vue").ComputedRef<boolean>;
@@ -304,7 +399,25 @@ declare const _default: import("vue").DefineComponent<{
304
399
  onClose?: ((...args: any[]) => any) | undefined;
305
400
  }>>;
306
401
  emit: (event: "close", ...args: any[]) => void;
307
- state: IState;
402
+ state: {
403
+ orgId: string | number;
404
+ currentSessionItem: AnyObject;
405
+ id: string;
406
+ userInfo: AnyObject;
407
+ msgList: AnyObject[];
408
+ currentMsg: AnyObject;
409
+ isAppendMsg: boolean;
410
+ sessionList: AnyObject[];
411
+ isChangeSession: boolean;
412
+ updateSessionItem: AnyObject;
413
+ isUpdateSession: boolean;
414
+ currentReferenceMsg: AnyObject | null;
415
+ currentReEditMsg: AnyObject | null;
416
+ showVideo: boolean;
417
+ currentAVMsg: AnyObject;
418
+ currentGroupUser: AnyObject[];
419
+ showMultipleVideo: boolean;
420
+ };
308
421
  openSession: (item: AnyObject) => Promise<void>;
309
422
  showUserDetail: import("vue").Ref<boolean>;
310
423
  showLargeAvatar: import("vue").Ref<boolean>;
@@ -401,7 +514,25 @@ declare const _default: import("vue").DefineComponent<{
401
514
  onComfirm?: ((...args: any[]) => any) | undefined;
402
515
  }>>;
403
516
  emit: (event: "comfirm", ...args: any[]) => void;
404
- state: IState;
517
+ state: {
518
+ orgId: string | number;
519
+ currentSessionItem: AnyObject;
520
+ id: string;
521
+ userInfo: AnyObject;
522
+ msgList: AnyObject[];
523
+ currentMsg: AnyObject;
524
+ isAppendMsg: boolean;
525
+ sessionList: AnyObject[];
526
+ isChangeSession: boolean;
527
+ updateSessionItem: AnyObject;
528
+ isUpdateSession: boolean;
529
+ currentReferenceMsg: AnyObject | null;
530
+ currentReEditMsg: AnyObject | null;
531
+ showVideo: boolean;
532
+ currentAVMsg: AnyObject;
533
+ currentGroupUser: AnyObject[];
534
+ showMultipleVideo: boolean;
535
+ };
405
536
  setCurrentSessionItem: (item: AnyObject) => void;
406
537
  listRef: import("vue").Ref<any>;
407
538
  keyword: import("vue").Ref<string>;
@@ -484,7 +615,6 @@ declare const _default: import("vue").DefineComponent<{
484
615
  type: BooleanConstructor;
485
616
  };
486
617
  }, {
487
- cssVars: import("vue").ComputedRef<AnyObject>;
488
618
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
489
619
  type: {
490
620
  type: StringConstructor;
@@ -494,7 +624,26 @@ declare const _default: import("vue").DefineComponent<{
494
624
  type: BooleanConstructor;
495
625
  };
496
626
  }>> & {}>>;
497
- state: IState;
627
+ cssVars: import("vue").ComputedRef<AnyObject>;
628
+ state: {
629
+ orgId: string | number;
630
+ currentSessionItem: AnyObject;
631
+ id: string;
632
+ userInfo: AnyObject;
633
+ msgList: AnyObject[];
634
+ currentMsg: AnyObject;
635
+ isAppendMsg: boolean;
636
+ sessionList: AnyObject[];
637
+ isChangeSession: boolean;
638
+ updateSessionItem: AnyObject;
639
+ isUpdateSession: boolean;
640
+ currentReferenceMsg: AnyObject | null;
641
+ currentReEditMsg: AnyObject | null;
642
+ showVideo: boolean;
643
+ currentAVMsg: AnyObject;
644
+ currentGroupUser: AnyObject[];
645
+ showMultipleVideo: boolean;
646
+ };
498
647
  relayMessage: (param: {
499
648
  checkedIds: string[];
500
649
  remark: string;
@@ -583,7 +732,25 @@ declare const _default: import("vue").DefineComponent<{
583
732
  onComfirm?: ((...args: any[]) => any) | undefined;
584
733
  }>>;
585
734
  emit: (event: "comfirm", ...args: any[]) => void;
586
- state: IState;
735
+ state: {
736
+ orgId: string | number;
737
+ currentSessionItem: AnyObject;
738
+ id: string;
739
+ userInfo: AnyObject;
740
+ msgList: AnyObject[];
741
+ currentMsg: AnyObject;
742
+ isAppendMsg: boolean;
743
+ sessionList: AnyObject[];
744
+ isChangeSession: boolean;
745
+ updateSessionItem: AnyObject;
746
+ isUpdateSession: boolean;
747
+ currentReferenceMsg: AnyObject | null;
748
+ currentReEditMsg: AnyObject | null;
749
+ showVideo: boolean;
750
+ currentAVMsg: AnyObject;
751
+ currentGroupUser: AnyObject[];
752
+ showMultipleVideo: boolean;
753
+ };
587
754
  setCurrentSessionItem: (item: AnyObject) => void;
588
755
  listRef: import("vue").Ref<any>;
589
756
  keyword: import("vue").Ref<string>;
@@ -682,7 +849,25 @@ declare const _default: import("vue").DefineComponent<{
682
849
  type: BooleanConstructor;
683
850
  };
684
851
  }>> & {}>>;
685
- state: IState;
852
+ state: {
853
+ orgId: string | number;
854
+ currentSessionItem: AnyObject;
855
+ id: string;
856
+ userInfo: AnyObject;
857
+ msgList: AnyObject[];
858
+ currentMsg: AnyObject;
859
+ isAppendMsg: boolean;
860
+ sessionList: AnyObject[];
861
+ isChangeSession: boolean;
862
+ updateSessionItem: AnyObject;
863
+ isUpdateSession: boolean;
864
+ currentReferenceMsg: AnyObject | null;
865
+ currentReEditMsg: AnyObject | null;
866
+ showVideo: boolean;
867
+ currentAVMsg: AnyObject;
868
+ currentGroupUser: AnyObject[];
869
+ showMultipleVideo: boolean;
870
+ };
686
871
  recordRef: import("vue").Ref<any>;
687
872
  recordList: import("vue").Ref<AnyObject[]>;
688
873
  keyword: import("vue").Ref<any>;
@@ -896,7 +1081,25 @@ declare const _default: import("vue").DefineComponent<{
896
1081
  onComfirm?: ((...args: any[]) => any) | undefined;
897
1082
  }>>;
898
1083
  emit: (event: "comfirm", ...args: any[]) => void;
899
- state: IState;
1084
+ state: {
1085
+ orgId: string | number;
1086
+ currentSessionItem: AnyObject;
1087
+ id: string;
1088
+ userInfo: AnyObject;
1089
+ msgList: AnyObject[];
1090
+ currentMsg: AnyObject;
1091
+ isAppendMsg: boolean;
1092
+ sessionList: AnyObject[];
1093
+ isChangeSession: boolean;
1094
+ updateSessionItem: AnyObject;
1095
+ isUpdateSession: boolean;
1096
+ currentReferenceMsg: AnyObject | null;
1097
+ currentReEditMsg: AnyObject | null;
1098
+ showVideo: boolean;
1099
+ currentAVMsg: AnyObject;
1100
+ currentGroupUser: AnyObject[];
1101
+ showMultipleVideo: boolean;
1102
+ };
900
1103
  setCurrentSessionItem: (item: AnyObject) => void;
901
1104
  listRef: import("vue").Ref<any>;
902
1105
  keyword: import("vue").Ref<string>;
@@ -974,7 +1177,25 @@ declare const _default: import("vue").DefineComponent<{
974
1177
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
975
1178
  ChatMain: import("vue").DefineComponent<{}, {
976
1179
  chatMainRef: import("vue").Ref<HTMLElement | undefined>;
977
- state: IState;
1180
+ state: {
1181
+ orgId: string | number;
1182
+ currentSessionItem: AnyObject;
1183
+ id: string;
1184
+ userInfo: AnyObject;
1185
+ msgList: AnyObject[];
1186
+ currentMsg: AnyObject;
1187
+ isAppendMsg: boolean;
1188
+ sessionList: AnyObject[];
1189
+ isChangeSession: boolean;
1190
+ updateSessionItem: AnyObject;
1191
+ isUpdateSession: boolean;
1192
+ currentReferenceMsg: AnyObject | null;
1193
+ currentReEditMsg: AnyObject | null;
1194
+ showVideo: boolean;
1195
+ currentAVMsg: AnyObject;
1196
+ currentGroupUser: AnyObject[];
1197
+ showMultipleVideo: boolean;
1198
+ };
978
1199
  setMsgList: (list?: AnyObject[]) => void;
979
1200
  relayMessage: (param: {
980
1201
  checkedIds: string[];
@@ -1046,7 +1267,25 @@ declare const _default: import("vue").DefineComponent<{
1046
1267
  onClose?: ((...args: any[]) => any) | undefined;
1047
1268
  }>>;
1048
1269
  emit: (event: "close", ...args: any[]) => void;
1049
- state: IState;
1270
+ state: {
1271
+ orgId: string | number;
1272
+ currentSessionItem: AnyObject;
1273
+ id: string;
1274
+ userInfo: AnyObject;
1275
+ msgList: AnyObject[];
1276
+ currentMsg: AnyObject;
1277
+ isAppendMsg: boolean;
1278
+ sessionList: AnyObject[];
1279
+ isChangeSession: boolean;
1280
+ updateSessionItem: AnyObject;
1281
+ isUpdateSession: boolean;
1282
+ currentReferenceMsg: AnyObject | null;
1283
+ currentReEditMsg: AnyObject | null;
1284
+ showVideo: boolean;
1285
+ currentAVMsg: AnyObject;
1286
+ currentGroupUser: AnyObject[];
1287
+ showMultipleVideo: boolean;
1288
+ };
1050
1289
  openSession: (item: AnyObject) => Promise<void>;
1051
1290
  showUserDetail: import("vue").Ref<boolean>;
1052
1291
  showLargeAvatar: import("vue").Ref<boolean>;
@@ -1104,7 +1343,7 @@ declare const _default: import("vue").DefineComponent<{
1104
1343
  }>> & {}>>;
1105
1344
  describeBodyRef: import("vue").Ref<any>;
1106
1345
  showMore: import("vue").Ref<boolean>;
1107
- emit: (event: string, ...args: any[]) => void;
1346
+ emit: (event: "template-click" | "unread-message-update" | "session-change", ...args: any[]) => void;
1108
1347
  isOverflow: import("vue").ComputedRef<boolean>;
1109
1348
  setting: import("vue").ComputedRef<any>;
1110
1349
  serverSetting: import("vue").ComputedRef<any>;
@@ -1253,7 +1492,25 @@ declare const _default: import("vue").DefineComponent<{
1253
1492
  onComfirm?: ((...args: any[]) => any) | undefined;
1254
1493
  }>>;
1255
1494
  emit: (event: "comfirm", ...args: any[]) => void;
1256
- state: IState;
1495
+ state: {
1496
+ orgId: string | number;
1497
+ currentSessionItem: AnyObject;
1498
+ id: string;
1499
+ userInfo: AnyObject;
1500
+ msgList: AnyObject[];
1501
+ currentMsg: AnyObject;
1502
+ isAppendMsg: boolean;
1503
+ sessionList: AnyObject[];
1504
+ isChangeSession: boolean;
1505
+ updateSessionItem: AnyObject;
1506
+ isUpdateSession: boolean;
1507
+ currentReferenceMsg: AnyObject | null;
1508
+ currentReEditMsg: AnyObject | null;
1509
+ showVideo: boolean;
1510
+ currentAVMsg: AnyObject;
1511
+ currentGroupUser: AnyObject[];
1512
+ showMultipleVideo: boolean;
1513
+ };
1257
1514
  setCurrentSessionItem: (item: AnyObject) => void;
1258
1515
  listRef: import("vue").Ref<any>;
1259
1516
  keyword: import("vue").Ref<string>;
@@ -1327,7 +1584,7 @@ declare const _default: import("vue").DefineComponent<{
1327
1584
  disabledIds: string[];
1328
1585
  }>;
1329
1586
  simplifyMessage: typeof import("./utils").simplifyMessage;
1330
- isAudioOrVideoMessage: typeof isAudioOrVideoMessage;
1587
+ isAudioOrVideoMessage: typeof import("./utils").isAudioOrVideoMessage;
1331
1588
  getAVTime: typeof import("./utils").getAVTime;
1332
1589
  MESSAGE_TYPE: typeof import("./constants").MESSAGE_TYPE;
1333
1590
  ChatbubbleEllipsesOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
@@ -1338,7 +1595,25 @@ declare const _default: import("vue").DefineComponent<{
1338
1595
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1339
1596
  ChatFooter: import("vue").DefineComponent<{}, {
1340
1597
  inputRef: import("vue").Ref<HTMLDivElement | undefined>;
1341
- state: IState;
1598
+ state: {
1599
+ orgId: string | number;
1600
+ currentSessionItem: AnyObject;
1601
+ id: string;
1602
+ userInfo: AnyObject;
1603
+ msgList: AnyObject[];
1604
+ currentMsg: AnyObject;
1605
+ isAppendMsg: boolean;
1606
+ sessionList: AnyObject[];
1607
+ isChangeSession: boolean;
1608
+ updateSessionItem: AnyObject;
1609
+ isUpdateSession: boolean;
1610
+ currentReferenceMsg: AnyObject | null;
1611
+ currentReEditMsg: AnyObject | null;
1612
+ showVideo: boolean;
1613
+ currentAVMsg: AnyObject;
1614
+ currentGroupUser: AnyObject[];
1615
+ showMultipleVideo: boolean;
1616
+ };
1342
1617
  sendMessage: (message: {
1343
1618
  chatType?: string | undefined;
1344
1619
  content: AnyObject;
@@ -1423,7 +1698,25 @@ declare const _default: import("vue").DefineComponent<{
1423
1698
  onComfirm?: ((...args: any[]) => any) | undefined;
1424
1699
  }>>;
1425
1700
  emit: (event: "comfirm", ...args: any[]) => void;
1426
- state: IState;
1701
+ state: {
1702
+ orgId: string | number;
1703
+ currentSessionItem: AnyObject;
1704
+ id: string;
1705
+ userInfo: AnyObject;
1706
+ msgList: AnyObject[];
1707
+ currentMsg: AnyObject;
1708
+ isAppendMsg: boolean;
1709
+ sessionList: AnyObject[];
1710
+ isChangeSession: boolean;
1711
+ updateSessionItem: AnyObject;
1712
+ isUpdateSession: boolean;
1713
+ currentReferenceMsg: AnyObject | null;
1714
+ currentReEditMsg: AnyObject | null;
1715
+ showVideo: boolean;
1716
+ currentAVMsg: AnyObject;
1717
+ currentGroupUser: AnyObject[];
1718
+ showMultipleVideo: boolean;
1719
+ };
1427
1720
  setCurrentSessionItem: (item: AnyObject) => void;
1428
1721
  listRef: import("vue").Ref<any>;
1429
1722
  keyword: import("vue").Ref<string>;
@@ -1507,12 +1800,30 @@ declare const _default: import("vue").DefineComponent<{
1507
1800
  simplifyMessage: typeof import("./utils").simplifyMessage;
1508
1801
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1509
1802
  ChatSearch: import("vue").DefineComponent<{}, {
1510
- cssVars: import("vue").ComputedRef<AnyObject>;
1511
1803
  listRef: import("vue").Ref<any>;
1512
1804
  inputRef: import("vue").Ref<any>;
1513
1805
  showSearch: import("vue").Ref<boolean>;
1514
1806
  keyword: import("vue").Ref<string>;
1515
- state: IState;
1807
+ cssVars: import("vue").ComputedRef<AnyObject>;
1808
+ state: {
1809
+ orgId: string | number;
1810
+ currentSessionItem: AnyObject;
1811
+ id: string;
1812
+ userInfo: AnyObject;
1813
+ msgList: AnyObject[];
1814
+ currentMsg: AnyObject;
1815
+ isAppendMsg: boolean;
1816
+ sessionList: AnyObject[];
1817
+ isChangeSession: boolean;
1818
+ updateSessionItem: AnyObject;
1819
+ isUpdateSession: boolean;
1820
+ currentReferenceMsg: AnyObject | null;
1821
+ currentReEditMsg: AnyObject | null;
1822
+ showVideo: boolean;
1823
+ currentAVMsg: AnyObject;
1824
+ currentGroupUser: AnyObject[];
1825
+ showMultipleVideo: boolean;
1826
+ };
1516
1827
  openSession: (item: AnyObject) => Promise<void>;
1517
1828
  userList: import("vue").Ref<AnyObject[]>;
1518
1829
  handleInput: () => void;
@@ -1633,7 +1944,25 @@ declare const _default: import("vue").DefineComponent<{
1633
1944
  onComfirm?: ((...args: any[]) => any) | undefined;
1634
1945
  }>>;
1635
1946
  emit: (event: "comfirm", ...args: any[]) => void;
1636
- state: IState;
1947
+ state: {
1948
+ orgId: string | number;
1949
+ currentSessionItem: AnyObject;
1950
+ id: string;
1951
+ userInfo: AnyObject;
1952
+ msgList: AnyObject[];
1953
+ currentMsg: AnyObject;
1954
+ isAppendMsg: boolean;
1955
+ sessionList: AnyObject[];
1956
+ isChangeSession: boolean;
1957
+ updateSessionItem: AnyObject;
1958
+ isUpdateSession: boolean;
1959
+ currentReferenceMsg: AnyObject | null;
1960
+ currentReEditMsg: AnyObject | null;
1961
+ showVideo: boolean;
1962
+ currentAVMsg: AnyObject;
1963
+ currentGroupUser: AnyObject[];
1964
+ showMultipleVideo: boolean;
1965
+ };
1637
1966
  setCurrentSessionItem: (item: AnyObject) => void;
1638
1967
  listRef: import("vue").Ref<any>;
1639
1968
  keyword: import("vue").Ref<string>;
@@ -1712,7 +2041,25 @@ declare const _default: import("vue").DefineComponent<{
1712
2041
  content: AnyObject;
1713
2042
  receiver?: string | undefined;
1714
2043
  }) => Promise<void>;
1715
- state: IState;
2044
+ state: {
2045
+ orgId: string | number;
2046
+ currentSessionItem: AnyObject;
2047
+ id: string;
2048
+ userInfo: AnyObject;
2049
+ msgList: AnyObject[];
2050
+ currentMsg: AnyObject;
2051
+ isAppendMsg: boolean;
2052
+ sessionList: AnyObject[];
2053
+ isChangeSession: boolean;
2054
+ updateSessionItem: AnyObject;
2055
+ isUpdateSession: boolean;
2056
+ currentReferenceMsg: AnyObject | null;
2057
+ currentReEditMsg: AnyObject | null;
2058
+ showVideo: boolean;
2059
+ currentAVMsg: AnyObject;
2060
+ currentGroupUser: AnyObject[];
2061
+ showMultipleVideo: boolean;
2062
+ };
1716
2063
  trtc: import("trtc-sdk-v5").default;
1717
2064
  timing: import("vue").Ref<string>;
1718
2065
  voiceOpen: import("vue").Ref<boolean>;
@@ -1751,7 +2098,7 @@ declare const _default: import("vue").DefineComponent<{
1751
2098
  }>;
1752
2099
  tipContent: import("vue").ComputedRef<string>;
1753
2100
  status: import("vue").ComputedRef<any>;
1754
- handleStatus: (status?: AV_STATUS) => Promise<void>;
2101
+ handleStatus: (status?: import("./constants").AV_STATUS) => Promise<void>;
1755
2102
  init: () => Promise<void>;
1756
2103
  handleEnter: () => Promise<void>;
1757
2104
  handleFinish: () => void;
@@ -1767,7 +2114,7 @@ declare const _default: import("vue").DefineComponent<{
1767
2114
  Call: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1768
2115
  MicOffCircle: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1769
2116
  Mic: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1770
- AV_STATUS: typeof AV_STATUS;
2117
+ AV_STATUS: typeof import("./constants").AV_STATUS;
1771
2118
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1772
2119
  MultipleVideo: import("vue").DefineComponent<{}, {
1773
2120
  selfVideoRef: import("vue").Ref<any>;
@@ -1775,7 +2122,25 @@ declare const _default: import("vue").DefineComponent<{
1775
2122
  id: string;
1776
2123
  name: string;
1777
2124
  }[]>;
1778
- state: IState;
2125
+ state: {
2126
+ orgId: string | number;
2127
+ currentSessionItem: AnyObject;
2128
+ id: string;
2129
+ userInfo: AnyObject;
2130
+ msgList: AnyObject[];
2131
+ currentMsg: AnyObject;
2132
+ isAppendMsg: boolean;
2133
+ sessionList: AnyObject[];
2134
+ isChangeSession: boolean;
2135
+ updateSessionItem: AnyObject;
2136
+ isUpdateSession: boolean;
2137
+ currentReferenceMsg: AnyObject | null;
2138
+ currentReEditMsg: AnyObject | null;
2139
+ showVideo: boolean;
2140
+ currentAVMsg: AnyObject;
2141
+ currentGroupUser: AnyObject[];
2142
+ showMultipleVideo: boolean;
2143
+ };
1779
2144
  sendMessage: (message: {
1780
2145
  chatType?: string | undefined;
1781
2146
  content: AnyObject;
@@ -1874,7 +2239,25 @@ declare const _default: import("vue").DefineComponent<{
1874
2239
  onComfirm?: ((...args: any[]) => any) | undefined;
1875
2240
  }>>;
1876
2241
  emit: (event: "comfirm", ...args: any[]) => void;
1877
- state: IState;
2242
+ state: {
2243
+ orgId: string | number;
2244
+ currentSessionItem: AnyObject;
2245
+ id: string;
2246
+ userInfo: AnyObject;
2247
+ msgList: AnyObject[];
2248
+ currentMsg: AnyObject;
2249
+ isAppendMsg: boolean;
2250
+ sessionList: AnyObject[];
2251
+ isChangeSession: boolean;
2252
+ updateSessionItem: AnyObject;
2253
+ isUpdateSession: boolean;
2254
+ currentReferenceMsg: AnyObject | null;
2255
+ currentReEditMsg: AnyObject | null;
2256
+ showVideo: boolean;
2257
+ currentAVMsg: AnyObject;
2258
+ currentGroupUser: AnyObject[];
2259
+ showMultipleVideo: boolean;
2260
+ };
1878
2261
  setCurrentSessionItem: (item: AnyObject) => void;
1879
2262
  listRef: import("vue").Ref<any>;
1880
2263
  keyword: import("vue").Ref<string>;
@@ -1955,7 +2338,7 @@ declare const _default: import("vue").DefineComponent<{
1955
2338
  MicOff: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1956
2339
  Close: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1957
2340
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1958
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("template-click" | "unread-message-update")[], "template-click" | "unread-message-update", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2341
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("template-click" | "unread-message-update" | "session-change")[], "template-click" | "unread-message-update" | "session-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1959
2342
  token: {
1960
2343
  type: StringConstructor;
1961
2344
  required: true;
@@ -1972,7 +2355,7 @@ declare const _default: import("vue").DefineComponent<{
1972
2355
  type: StringConstructor;
1973
2356
  default: string;
1974
2357
  };
1975
- chatBox: {
2358
+ showHeader: {
1976
2359
  type: BooleanConstructor;
1977
2360
  default: boolean;
1978
2361
  };
@@ -1986,9 +2369,10 @@ declare const _default: import("vue").DefineComponent<{
1986
2369
  }>> & {
1987
2370
  "onTemplate-click"?: ((...args: any[]) => any) | undefined;
1988
2371
  "onUnread-message-update"?: ((...args: any[]) => any) | undefined;
2372
+ "onSession-change"?: ((...args: any[]) => any) | undefined;
1989
2373
  }, {
1990
2374
  show: boolean;
2375
+ showHeader: boolean;
1991
2376
  baseURL: string;
1992
- chatBox: boolean;
1993
2377
  }>;
1994
2378
  export default _default;