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

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 (43) hide show
  1. package/README.md +87 -87
  2. package/es/components/iho-chat/index.d.ts +136 -98
  3. package/es/components/iho-chat/src/Index.vue.d.ts +136 -98
  4. package/es/components/iho-chat/src/Index.vue2.js +5 -3
  5. package/es/components/iho-chat/src/api/index.d.ts +89 -16
  6. package/es/components/iho-chat/src/api/index.js +8 -1
  7. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +2 -4
  8. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +4 -8
  9. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +4 -8
  10. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +21 -32
  11. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +82 -21
  12. package/es/components/iho-chat/src/components/ChatMain.vue2.js +28 -29
  13. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +4 -8
  14. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +2 -4
  15. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +9 -8
  16. package/es/components/iho-chat/src/components/ChatSet.vue2.js +48 -11
  17. package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +2 -4
  18. package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +74 -0
  19. package/es/components/iho-chat/src/components/MessageMarkdown.vue.js +6 -0
  20. package/es/components/iho-chat/src/components/MessageMarkdown.vue2.js +41 -0
  21. package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +4 -8
  22. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +4 -8
  23. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +2 -4
  24. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  25. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +2 -4
  26. package/es/components/iho-chat/src/components/Video.vue.d.ts +2 -4
  27. package/es/components/iho-chat/src/components/userItemRender.js +2 -1
  28. package/es/components/iho-chat/src/constants/index.d.ts +2 -1
  29. package/es/components/iho-chat/src/constants/index.js +1 -0
  30. package/es/components/iho-chat/src/hooks/useData.d.ts +26 -10
  31. package/es/components/iho-chat/src/hooks/useData.js +30 -9
  32. package/es/components/iho-chat/src/hooks/useStreamOutput.d.ts +6 -0
  33. package/es/components/iho-chat/src/hooks/useStreamOutput.js +99 -0
  34. package/es/components/iho-chat/src/hooks/useVideo.d.ts +2 -4
  35. package/es/components/iho-chat/src/hooks/useWebSocket.js +14 -4
  36. package/es/components/iho-chat/src/types/index.d.ts +2 -4
  37. package/es/components/iho-chat/src/utils/sseClient.d.ts +22 -0
  38. package/es/components/iho-chat/src/utils/sseClient.js +97 -0
  39. package/es/components/iho-chat/style/index.css +1 -1
  40. package/es/components/index.css +1 -1
  41. package/es/env.d.ts +25 -25
  42. package/es/shared/package.json.js +1 -1
  43. package/package.json +3 -3
@@ -119,10 +119,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
119
119
  data: {
120
120
  filterable: import("vue").Ref<any, any>;
121
121
  trtcProxy: import("vue").Ref<any, any>;
122
+ token: import("vue").Ref<any, any>;
122
123
  cssVars: import("vue").ComputedRef<AnyObject>;
123
- stompClient: import("vue").Ref<import("./utils/chatSock").ChatSock | undefined, import("./utils/chatSock").ChatSock | undefined>;
124
+ stompClient: {
125
+ value: import("./utils/chatSock").ChatSock | null;
126
+ };
124
127
  state: {
125
- orgId: string | number;
128
+ orgId: string;
126
129
  currentSessionItem: AnyObject;
127
130
  id: string;
128
131
  userInfo: AnyObject;
@@ -150,11 +153,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
150
153
  __time?: string | undefined;
151
154
  __sendTime?: string | undefined;
152
155
  }[];
153
- currentMsg: AnyObject;
154
- isAppendMsg: boolean;
155
156
  sessionList: AnyObject[];
156
157
  isChangeSession: boolean;
157
- updateSessionItem: AnyObject;
158
158
  isUpdateSession: boolean;
159
159
  currentReferenceMsg: AnyObject | null;
160
160
  currentReEditMsg: AnyObject | null;
@@ -172,6 +172,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
172
172
  info: AnyObject | null;
173
173
  };
174
174
  isForward: boolean;
175
+ loading: boolean;
176
+ };
177
+ chatMainRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
178
+ tempState: {
179
+ currentMsg: AnyObject;
180
+ updateSessionItem: AnyObject;
175
181
  };
176
182
  unreadTotal: import("vue").ComputedRef<number>;
177
183
  isGroupChat: import("vue").ComputedRef<boolean>;
@@ -201,10 +207,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
201
207
  setSessionList: (list: AnyObject[]) => void;
202
208
  emit: (event: "template-click" | "unread-message-update" | "session-change" | "session-close", ...args: any[]) => void;
203
209
  setUserDetail: (event: MouseEvent, userDetail: AnyObject) => void;
210
+ appendMsg: () => void;
211
+ scrollToBottom: () => void;
204
212
  };
205
213
  cssVars: import("vue").ComputedRef<AnyObject>;
206
214
  state: {
207
- orgId: string | number;
215
+ orgId: string;
208
216
  currentSessionItem: AnyObject;
209
217
  id: string;
210
218
  userInfo: AnyObject;
@@ -232,11 +240,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
232
240
  __time?: string | undefined;
233
241
  __sendTime?: string | undefined;
234
242
  }[];
235
- currentMsg: AnyObject;
236
- isAppendMsg: boolean;
237
243
  sessionList: AnyObject[];
238
244
  isChangeSession: boolean;
239
- updateSessionItem: AnyObject;
240
245
  isUpdateSession: boolean;
241
246
  currentReferenceMsg: AnyObject | null;
242
247
  currentReEditMsg: AnyObject | null;
@@ -254,6 +259,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
254
259
  info: AnyObject | null;
255
260
  };
256
261
  isForward: boolean;
262
+ loading: boolean;
257
263
  };
258
264
  openSession: (session: string | AnyObject) => Promise<void>;
259
265
  closeSession: () => AnyObject | null;
@@ -296,7 +302,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
296
302
  filterList: import("vue").Ref<AnyObject[], AnyObject[]>;
297
303
  handleInput: () => void;
298
304
  state: {
299
- orgId: string | number;
305
+ orgId: string;
300
306
  currentSessionItem: AnyObject;
301
307
  id: string;
302
308
  userInfo: AnyObject;
@@ -324,11 +330,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
324
330
  __time?: string | undefined;
325
331
  __sendTime?: string | undefined;
326
332
  }[];
327
- currentMsg: AnyObject;
328
- isAppendMsg: boolean;
329
333
  sessionList: AnyObject[];
330
334
  isChangeSession: boolean;
331
- updateSessionItem: AnyObject;
332
335
  isUpdateSession: boolean;
333
336
  currentReferenceMsg: AnyObject | null;
334
337
  currentReEditMsg: AnyObject | null;
@@ -346,6 +349,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
346
349
  info: AnyObject | null;
347
350
  };
348
351
  isForward: boolean;
352
+ loading: boolean;
349
353
  };
350
354
  unreadTotal: import("vue").ComputedRef<number>;
351
355
  filterable: import("vue").Ref<any, any>;
@@ -659,7 +663,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
659
663
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
660
664
  ChatHeader: import("vue").DefineComponent<{}, {
661
665
  state: {
662
- orgId: string | number;
666
+ orgId: string;
663
667
  currentSessionItem: AnyObject;
664
668
  id: string;
665
669
  userInfo: AnyObject;
@@ -687,11 +691,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
687
691
  __time?: string | undefined;
688
692
  __sendTime?: string | undefined;
689
693
  }[];
690
- currentMsg: AnyObject;
691
- isAppendMsg: boolean;
692
694
  sessionList: AnyObject[];
693
695
  isChangeSession: boolean;
694
- updateSessionItem: AnyObject;
695
696
  isUpdateSession: boolean;
696
697
  currentReferenceMsg: AnyObject | null;
697
698
  currentReEditMsg: AnyObject | null;
@@ -709,6 +710,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
709
710
  info: AnyObject | null;
710
711
  };
711
712
  isForward: boolean;
713
+ loading: boolean;
712
714
  };
713
715
  isGroupChat: import("vue").ComputedRef<boolean>;
714
716
  isGroupLeader: import("vue").ComputedRef<boolean>;
@@ -743,7 +745,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
743
745
  [x: string]: unknown;
744
746
  };
745
747
  state: {
746
- orgId: string | number;
748
+ orgId: string;
747
749
  currentSessionItem: AnyObject;
748
750
  id: string;
749
751
  userInfo: AnyObject;
@@ -771,11 +773,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
771
773
  __time?: string | undefined;
772
774
  __sendTime?: string | undefined;
773
775
  }[];
774
- currentMsg: AnyObject;
775
- isAppendMsg: boolean;
776
776
  sessionList: AnyObject[];
777
777
  isChangeSession: boolean;
778
- updateSessionItem: AnyObject;
779
778
  isUpdateSession: boolean;
780
779
  currentReferenceMsg: AnyObject | null;
781
780
  currentReEditMsg: AnyObject | null;
@@ -793,11 +792,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
793
792
  info: AnyObject | null;
794
793
  };
795
794
  isForward: boolean;
795
+ loading: boolean;
796
796
  };
797
797
  setCurrentSessionItem: (item: AnyObject) => void;
798
798
  setUserDetail: (event: MouseEvent, userDetail: AnyObject) => void;
799
799
  isGroupChat: import("vue").ComputedRef<boolean>;
800
800
  isGroupLeader: import("vue").ComputedRef<boolean>;
801
+ handleStreamOutput: () => Promise<{
802
+ msgId: string;
803
+ content: string;
804
+ } | undefined>;
801
805
  inputRef: import("vue").Ref<any, any>;
802
806
  groupNameEditing: import("vue").Ref<boolean, boolean>;
803
807
  groupName: import("vue").Ref<string, string>;
@@ -807,6 +811,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
807
811
  handleTopping: (value: boolean) => Promise<void>;
808
812
  handleLeaveGroup: (dissolution: boolean) => Promise<void>;
809
813
  handleToEdit: () => Promise<void>;
814
+ handleGroupSummary: () => Promise<import("naive-ui/es/message").MessageReactive | undefined>;
810
815
  submitFormData: (o: AnyObject) => Promise<void>;
811
816
  handleGroupName: () => Promise<void>;
812
817
  handleAvatar: (options: import("./types").FileOptions) => Promise<void>;
@@ -887,7 +892,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
887
892
  }> & {}>;
888
893
  emit: (event: "comfirm", ...args: any[]) => void;
889
894
  state: {
890
- orgId: string | number;
895
+ orgId: string;
891
896
  currentSessionItem: AnyObject;
892
897
  id: string;
893
898
  userInfo: AnyObject;
@@ -915,11 +920,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
915
920
  __time?: string | undefined;
916
921
  __sendTime?: string | undefined;
917
922
  }[];
918
- currentMsg: AnyObject;
919
- isAppendMsg: boolean;
920
923
  sessionList: AnyObject[];
921
924
  isChangeSession: boolean;
922
- updateSessionItem: AnyObject;
923
925
  isUpdateSession: boolean;
924
926
  currentReferenceMsg: AnyObject | null;
925
927
  currentReEditMsg: AnyObject | null;
@@ -937,6 +939,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
937
939
  info: AnyObject | null;
938
940
  };
939
941
  isForward: boolean;
942
+ loading: boolean;
940
943
  };
941
944
  setCurrentSessionItem: (item: AnyObject) => void;
942
945
  listRef: import("vue").Ref<any, any>;
@@ -1067,7 +1070,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1067
1070
  }>> & Readonly<{}> & {}>;
1068
1071
  cssVars: import("vue").ComputedRef<AnyObject>;
1069
1072
  state: {
1070
- orgId: string | number;
1073
+ orgId: string;
1071
1074
  currentSessionItem: AnyObject;
1072
1075
  id: string;
1073
1076
  userInfo: AnyObject;
@@ -1095,11 +1098,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1095
1098
  __time?: string | undefined;
1096
1099
  __sendTime?: string | undefined;
1097
1100
  }[];
1098
- currentMsg: AnyObject;
1099
- isAppendMsg: boolean;
1100
1101
  sessionList: AnyObject[];
1101
1102
  isChangeSession: boolean;
1102
- updateSessionItem: AnyObject;
1103
1103
  isUpdateSession: boolean;
1104
1104
  currentReferenceMsg: AnyObject | null;
1105
1105
  currentReEditMsg: AnyObject | null;
@@ -1117,6 +1117,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1117
1117
  info: AnyObject | null;
1118
1118
  };
1119
1119
  isForward: boolean;
1120
+ loading: boolean;
1120
1121
  };
1121
1122
  relayMessage: (param: {
1122
1123
  checkedIds: string[];
@@ -1255,7 +1256,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1255
1256
  }> & {}>;
1256
1257
  emit: (event: "comfirm", ...args: any[]) => void;
1257
1258
  state: {
1258
- orgId: string | number;
1259
+ orgId: string;
1259
1260
  currentSessionItem: AnyObject;
1260
1261
  id: string;
1261
1262
  userInfo: AnyObject;
@@ -1283,11 +1284,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1283
1284
  __time?: string | undefined;
1284
1285
  __sendTime?: string | undefined;
1285
1286
  }[];
1286
- currentMsg: AnyObject;
1287
- isAppendMsg: boolean;
1288
1287
  sessionList: AnyObject[];
1289
1288
  isChangeSession: boolean;
1290
- updateSessionItem: AnyObject;
1291
1289
  isUpdateSession: boolean;
1292
1290
  currentReferenceMsg: AnyObject | null;
1293
1291
  currentReEditMsg: AnyObject | null;
@@ -1305,6 +1303,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1305
1303
  info: AnyObject | null;
1306
1304
  };
1307
1305
  isForward: boolean;
1306
+ loading: boolean;
1308
1307
  };
1309
1308
  setCurrentSessionItem: (item: AnyObject) => void;
1310
1309
  listRef: import("vue").Ref<any, any>;
@@ -1558,7 +1557,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1558
1557
  };
1559
1558
  }>> & Readonly<{}> & {}>;
1560
1559
  state: {
1561
- orgId: string | number;
1560
+ orgId: string;
1562
1561
  currentSessionItem: AnyObject;
1563
1562
  id: string;
1564
1563
  userInfo: AnyObject;
@@ -1586,11 +1585,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1586
1585
  __time?: string | undefined;
1587
1586
  __sendTime?: string | undefined;
1588
1587
  }[];
1589
- currentMsg: AnyObject;
1590
- isAppendMsg: boolean;
1591
1588
  sessionList: AnyObject[];
1592
1589
  isChangeSession: boolean;
1593
- updateSessionItem: AnyObject;
1594
1590
  isUpdateSession: boolean;
1595
1591
  currentReferenceMsg: AnyObject | null;
1596
1592
  currentReEditMsg: AnyObject | null;
@@ -1608,6 +1604,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1608
1604
  info: AnyObject | null;
1609
1605
  };
1610
1606
  isForward: boolean;
1607
+ loading: boolean;
1611
1608
  };
1612
1609
  cssVars: import("vue").ComputedRef<AnyObject>;
1613
1610
  recordRef: import("vue").Ref<any, any>;
@@ -1842,7 +1839,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1842
1839
  };
1843
1840
  }>> & Readonly<{}> & {}>;
1844
1841
  state: {
1845
- orgId: string | number;
1842
+ orgId: string;
1846
1843
  currentSessionItem: AnyObject;
1847
1844
  id: string;
1848
1845
  userInfo: AnyObject;
@@ -1870,11 +1867,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1870
1867
  __time?: string | undefined;
1871
1868
  __sendTime?: string | undefined;
1872
1869
  }[];
1873
- currentMsg: AnyObject;
1874
- isAppendMsg: boolean;
1875
1870
  sessionList: AnyObject[];
1876
1871
  isChangeSession: boolean;
1877
- updateSessionItem: AnyObject;
1878
1872
  isUpdateSession: boolean;
1879
1873
  currentReferenceMsg: AnyObject | null;
1880
1874
  currentReEditMsg: AnyObject | null;
@@ -1892,6 +1886,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1892
1886
  info: AnyObject | null;
1893
1887
  };
1894
1888
  isForward: boolean;
1889
+ loading: boolean;
1895
1890
  };
1896
1891
  setUserDetail: (event: MouseEvent, userDetail: AnyObject) => void;
1897
1892
  inviter: import("vue").Ref<any, any>;
@@ -1973,7 +1968,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1973
1968
  }> & {}>;
1974
1969
  emit: (event: "comfirm", ...args: any[]) => void;
1975
1970
  state: {
1976
- orgId: string | number;
1971
+ orgId: string;
1977
1972
  currentSessionItem: AnyObject;
1978
1973
  id: string;
1979
1974
  userInfo: AnyObject;
@@ -2001,11 +1996,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2001
1996
  __time?: string | undefined;
2002
1997
  __sendTime?: string | undefined;
2003
1998
  }[];
2004
- currentMsg: AnyObject;
2005
- isAppendMsg: boolean;
2006
1999
  sessionList: AnyObject[];
2007
2000
  isChangeSession: boolean;
2008
- updateSessionItem: AnyObject;
2009
2001
  isUpdateSession: boolean;
2010
2002
  currentReferenceMsg: AnyObject | null;
2011
2003
  currentReEditMsg: AnyObject | null;
@@ -2023,6 +2015,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2023
2015
  info: AnyObject | null;
2024
2016
  };
2025
2017
  isForward: boolean;
2018
+ loading: boolean;
2026
2019
  };
2027
2020
  setCurrentSessionItem: (item: AnyObject) => void;
2028
2021
  listRef: import("vue").Ref<any, any>;
@@ -2140,7 +2133,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2140
2133
  ChatMain: import("vue").DefineComponent<{}, {
2141
2134
  chatMainRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
2142
2135
  state: {
2143
- orgId: string | number;
2136
+ orgId: string;
2144
2137
  currentSessionItem: AnyObject;
2145
2138
  id: string;
2146
2139
  userInfo: AnyObject;
@@ -2168,11 +2161,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2168
2161
  __time?: string | undefined;
2169
2162
  __sendTime?: string | undefined;
2170
2163
  }[];
2171
- currentMsg: AnyObject;
2172
- isAppendMsg: boolean;
2173
2164
  sessionList: AnyObject[];
2174
2165
  isChangeSession: boolean;
2175
- updateSessionItem: AnyObject;
2176
2166
  isUpdateSession: boolean;
2177
2167
  currentReferenceMsg: AnyObject | null;
2178
2168
  currentReEditMsg: AnyObject | null;
@@ -2190,6 +2180,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2190
2180
  info: AnyObject | null;
2191
2181
  };
2192
2182
  isForward: boolean;
2183
+ loading: boolean;
2193
2184
  };
2194
2185
  setMsgList: (list?: AnyObject[] | import("./types").MsgListItem) => void;
2195
2186
  relayMessage: (param: {
@@ -2241,7 +2232,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2241
2232
  showTemplateMsg: (item: AnyObject, type: "template" | "system") => boolean | undefined;
2242
2233
  isTemplate3: (content: AnyObject) => boolean;
2243
2234
  needShowTime: (item: AnyObject, index: number) => boolean;
2244
- setScrollToButtom: () => Promise<void>;
2245
2235
  resetInfo: () => void;
2246
2236
  setReferenceMsg: (msgItem: AnyObject) => void;
2247
2237
  handleSelect: (key: string, msgItem: AnyObject) => void;
@@ -2257,6 +2247,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2257
2247
  readonly NButton: any;
2258
2248
  readonly NSpace: any;
2259
2249
  readonly NCheckbox: any;
2250
+ readonly NFlex: any;
2251
+ readonly NSpin: any;
2260
2252
  readonly isArray: {
2261
2253
  (value?: any): value is any[];
2262
2254
  <T_1>(value?: any): value is any[];
@@ -2348,7 +2340,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2348
2340
  };
2349
2341
  }>> & Readonly<{}> & {}>;
2350
2342
  state: {
2351
- orgId: string | number;
2343
+ orgId: string;
2352
2344
  currentSessionItem: AnyObject;
2353
2345
  id: string;
2354
2346
  userInfo: AnyObject;
@@ -2376,11 +2368,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2376
2368
  __time?: string | undefined;
2377
2369
  __sendTime?: string | undefined;
2378
2370
  }[];
2379
- currentMsg: AnyObject;
2380
- isAppendMsg: boolean;
2381
2371
  sessionList: AnyObject[];
2382
2372
  isChangeSession: boolean;
2383
- updateSessionItem: AnyObject;
2384
2373
  isUpdateSession: boolean;
2385
2374
  currentReferenceMsg: AnyObject | null;
2386
2375
  currentReEditMsg: AnyObject | null;
@@ -2398,6 +2387,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2398
2387
  info: AnyObject | null;
2399
2388
  };
2400
2389
  isForward: boolean;
2390
+ loading: boolean;
2401
2391
  };
2402
2392
  setUserDetail: (event: MouseEvent, userDetail: AnyObject) => void;
2403
2393
  inviter: import("vue").Ref<any, any>;
@@ -2423,7 +2413,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2423
2413
  };
2424
2414
  }>> & Readonly<{}> & {}>;
2425
2415
  state: {
2426
- orgId: string | number;
2416
+ orgId: string;
2427
2417
  currentSessionItem: AnyObject;
2428
2418
  id: string;
2429
2419
  userInfo: AnyObject;
@@ -2451,11 +2441,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2451
2441
  __time?: string | undefined;
2452
2442
  __sendTime?: string | undefined;
2453
2443
  }[];
2454
- currentMsg: AnyObject;
2455
- isAppendMsg: boolean;
2456
2444
  sessionList: AnyObject[];
2457
2445
  isChangeSession: boolean;
2458
- updateSessionItem: AnyObject;
2459
2446
  isUpdateSession: boolean;
2460
2447
  currentReferenceMsg: AnyObject | null;
2461
2448
  currentReEditMsg: AnyObject | null;
@@ -2473,6 +2460,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2473
2460
  info: AnyObject | null;
2474
2461
  };
2475
2462
  isForward: boolean;
2463
+ loading: boolean;
2476
2464
  };
2477
2465
  cssVars: import("vue").ComputedRef<AnyObject>;
2478
2466
  msgItem: import("vue").ComputedRef<AnyObject | import("./types").MsgListItem>;
@@ -2511,7 +2499,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2511
2499
  };
2512
2500
  }>> & Readonly<{}> & {}>;
2513
2501
  state: {
2514
- orgId: string | number;
2502
+ orgId: string;
2515
2503
  currentSessionItem: AnyObject;
2516
2504
  id: string;
2517
2505
  userInfo: AnyObject;
@@ -2539,11 +2527,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2539
2527
  __time?: string | undefined;
2540
2528
  __sendTime?: string | undefined;
2541
2529
  }[];
2542
- currentMsg: AnyObject;
2543
- isAppendMsg: boolean;
2544
2530
  sessionList: AnyObject[];
2545
2531
  isChangeSession: boolean;
2546
- updateSessionItem: AnyObject;
2547
2532
  isUpdateSession: boolean;
2548
2533
  currentReferenceMsg: AnyObject | null;
2549
2534
  currentReEditMsg: AnyObject | null;
@@ -2561,6 +2546,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2561
2546
  info: AnyObject | null;
2562
2547
  };
2563
2548
  isForward: boolean;
2549
+ loading: boolean;
2564
2550
  };
2565
2551
  setUserDetail: (event: MouseEvent, userDetail: AnyObject) => void;
2566
2552
  inviter: import("vue").Ref<any, any>;
@@ -2736,7 +2722,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2736
2722
  }> & {}>;
2737
2723
  emit: (event: "comfirm", ...args: any[]) => void;
2738
2724
  state: {
2739
- orgId: string | number;
2725
+ orgId: string;
2740
2726
  currentSessionItem: AnyObject;
2741
2727
  id: string;
2742
2728
  userInfo: AnyObject;
@@ -2764,11 +2750,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2764
2750
  __time?: string | undefined;
2765
2751
  __sendTime?: string | undefined;
2766
2752
  }[];
2767
- currentMsg: AnyObject;
2768
- isAppendMsg: boolean;
2769
2753
  sessionList: AnyObject[];
2770
2754
  isChangeSession: boolean;
2771
- updateSessionItem: AnyObject;
2772
2755
  isUpdateSession: boolean;
2773
2756
  currentReferenceMsg: AnyObject | null;
2774
2757
  currentReEditMsg: AnyObject | null;
@@ -2786,6 +2769,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2786
2769
  info: AnyObject | null;
2787
2770
  };
2788
2771
  isForward: boolean;
2772
+ loading: boolean;
2789
2773
  };
2790
2774
  setCurrentSessionItem: (item: AnyObject) => void;
2791
2775
  listRef: import("vue").Ref<any, any>;
@@ -2893,6 +2877,76 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2893
2877
  mode: string;
2894
2878
  disabledIds: string[];
2895
2879
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2880
+ MessageMarkdown: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2881
+ data: {
2882
+ type: PropType<AnyObject>;
2883
+ required: true;
2884
+ };
2885
+ }>, {
2886
+ mdhtml: import("markdown-it");
2887
+ props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2888
+ data: {
2889
+ type: PropType<AnyObject>;
2890
+ required: true;
2891
+ };
2892
+ }>> & Readonly<{}> & {}>;
2893
+ state: {
2894
+ orgId: string;
2895
+ currentSessionItem: AnyObject;
2896
+ id: string;
2897
+ userInfo: AnyObject;
2898
+ msgList: {
2899
+ [x: string]: any;
2900
+ id: string;
2901
+ sessionKey: string;
2902
+ content: {
2903
+ [x: string]: any;
2904
+ chatMessageType: string;
2905
+ msg: string;
2906
+ referenceContent?: any;
2907
+ forwardMessageList?: AnyObject[] | undefined;
2908
+ messageTemplate?: any;
2909
+ messageTemplateData?: any;
2910
+ fileUrl?: string | undefined;
2911
+ avStatus?: string | undefined;
2912
+ };
2913
+ senderName: string;
2914
+ sendTime: string;
2915
+ sender: string;
2916
+ status: string;
2917
+ senderAvatar: string;
2918
+ __content: string;
2919
+ __time?: string | undefined;
2920
+ __sendTime?: string | undefined;
2921
+ }[];
2922
+ sessionList: AnyObject[];
2923
+ isChangeSession: boolean;
2924
+ isUpdateSession: boolean;
2925
+ currentReferenceMsg: AnyObject | null;
2926
+ currentReEditMsg: AnyObject | null;
2927
+ showVideo: boolean;
2928
+ currentAVMsg: AnyObject;
2929
+ currentGroupUser: AnyObject[];
2930
+ showMultipleVideo: boolean;
2931
+ userDetail: {
2932
+ show: boolean;
2933
+ position: {
2934
+ x: number;
2935
+ y: number;
2936
+ };
2937
+ userId: string;
2938
+ info: AnyObject | null;
2939
+ };
2940
+ isForward: boolean;
2941
+ loading: boolean;
2942
+ };
2943
+ content: import("vue").ComputedRef<string>;
2944
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2945
+ data: {
2946
+ type: PropType<AnyObject>;
2947
+ required: true;
2948
+ };
2949
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2896
2950
  readonly simplifyMessage: typeof import("./utils").simplifyMessage;
2897
2951
  readonly isAudioOrVideoMessage: typeof import("./utils").isAudioOrVideoMessage;
2898
2952
  readonly getAVTime: typeof import("./utils").getAVTime;
@@ -3028,7 +3082,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3028
3082
  SPACE_PLACEHOLDER: string;
3029
3083
  inputRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
3030
3084
  state: {
3031
- orgId: string | number;
3085
+ orgId: string;
3032
3086
  currentSessionItem: AnyObject;
3033
3087
  id: string;
3034
3088
  userInfo: AnyObject;
@@ -3056,11 +3110,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3056
3110
  __time?: string | undefined;
3057
3111
  __sendTime?: string | undefined;
3058
3112
  }[];
3059
- currentMsg: AnyObject;
3060
- isAppendMsg: boolean;
3061
3113
  sessionList: AnyObject[];
3062
3114
  isChangeSession: boolean;
3063
- updateSessionItem: AnyObject;
3064
3115
  isUpdateSession: boolean;
3065
3116
  currentReferenceMsg: AnyObject | null;
3066
3117
  currentReEditMsg: AnyObject | null;
@@ -3078,6 +3129,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3078
3129
  info: AnyObject | null;
3079
3130
  };
3080
3131
  isForward: boolean;
3132
+ loading: boolean;
3081
3133
  };
3082
3134
  sendMessage: (message: {
3083
3135
  chatType?: string | undefined;
@@ -3192,7 +3244,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3192
3244
  }> & {}>;
3193
3245
  emit: (event: "comfirm", ...args: any[]) => void;
3194
3246
  state: {
3195
- orgId: string | number;
3247
+ orgId: string;
3196
3248
  currentSessionItem: AnyObject;
3197
3249
  id: string;
3198
3250
  userInfo: AnyObject;
@@ -3220,11 +3272,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3220
3272
  __time?: string | undefined;
3221
3273
  __sendTime?: string | undefined;
3222
3274
  }[];
3223
- currentMsg: AnyObject;
3224
- isAppendMsg: boolean;
3225
3275
  sessionList: AnyObject[];
3226
3276
  isChangeSession: boolean;
3227
- updateSessionItem: AnyObject;
3228
3277
  isUpdateSession: boolean;
3229
3278
  currentReferenceMsg: AnyObject | null;
3230
3279
  currentReEditMsg: AnyObject | null;
@@ -3242,6 +3291,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3242
3291
  info: AnyObject | null;
3243
3292
  };
3244
3293
  isForward: boolean;
3294
+ loading: boolean;
3245
3295
  };
3246
3296
  setCurrentSessionItem: (item: AnyObject) => void;
3247
3297
  listRef: import("vue").Ref<any, any>;
@@ -3372,7 +3422,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3372
3422
  keyword: import("vue").Ref<string, string>;
3373
3423
  cssVars: import("vue").ComputedRef<AnyObject>;
3374
3424
  state: {
3375
- orgId: string | number;
3425
+ orgId: string;
3376
3426
  currentSessionItem: AnyObject;
3377
3427
  id: string;
3378
3428
  userInfo: AnyObject;
@@ -3400,11 +3450,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3400
3450
  __time?: string | undefined;
3401
3451
  __sendTime?: string | undefined;
3402
3452
  }[];
3403
- currentMsg: AnyObject;
3404
- isAppendMsg: boolean;
3405
3453
  sessionList: AnyObject[];
3406
3454
  isChangeSession: boolean;
3407
- updateSessionItem: AnyObject;
3408
3455
  isUpdateSession: boolean;
3409
3456
  currentReferenceMsg: AnyObject | null;
3410
3457
  currentReEditMsg: AnyObject | null;
@@ -3422,6 +3469,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3422
3469
  info: AnyObject | null;
3423
3470
  };
3424
3471
  isForward: boolean;
3472
+ loading: boolean;
3425
3473
  };
3426
3474
  openSession: (session: string | AnyObject) => Promise<void>;
3427
3475
  userList: import("vue").Ref<AnyObject[], AnyObject[]>;
@@ -3582,7 +3630,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3582
3630
  }> & {}>;
3583
3631
  emit: (event: "comfirm", ...args: any[]) => void;
3584
3632
  state: {
3585
- orgId: string | number;
3633
+ orgId: string;
3586
3634
  currentSessionItem: AnyObject;
3587
3635
  id: string;
3588
3636
  userInfo: AnyObject;
@@ -3610,11 +3658,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3610
3658
  __time?: string | undefined;
3611
3659
  __sendTime?: string | undefined;
3612
3660
  }[];
3613
- currentMsg: AnyObject;
3614
- isAppendMsg: boolean;
3615
3661
  sessionList: AnyObject[];
3616
3662
  isChangeSession: boolean;
3617
- updateSessionItem: AnyObject;
3618
3663
  isUpdateSession: boolean;
3619
3664
  currentReferenceMsg: AnyObject | null;
3620
3665
  currentReEditMsg: AnyObject | null;
@@ -3632,6 +3677,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3632
3677
  info: AnyObject | null;
3633
3678
  };
3634
3679
  isForward: boolean;
3680
+ loading: boolean;
3635
3681
  };
3636
3682
  setCurrentSessionItem: (item: AnyObject) => void;
3637
3683
  listRef: import("vue").Ref<any, any>;
@@ -3746,7 +3792,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3746
3792
  receiver?: string | undefined;
3747
3793
  }) => Promise<void>;
3748
3794
  state: {
3749
- orgId: string | number;
3795
+ orgId: string;
3750
3796
  currentSessionItem: AnyObject;
3751
3797
  id: string;
3752
3798
  userInfo: AnyObject;
@@ -3774,11 +3820,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3774
3820
  __time?: string | undefined;
3775
3821
  __sendTime?: string | undefined;
3776
3822
  }[];
3777
- currentMsg: AnyObject;
3778
- isAppendMsg: boolean;
3779
3823
  sessionList: AnyObject[];
3780
3824
  isChangeSession: boolean;
3781
- updateSessionItem: AnyObject;
3782
3825
  isUpdateSession: boolean;
3783
3826
  currentReferenceMsg: AnyObject | null;
3784
3827
  currentReEditMsg: AnyObject | null;
@@ -3796,6 +3839,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3796
3839
  info: AnyObject | null;
3797
3840
  };
3798
3841
  isForward: boolean;
3842
+ loading: boolean;
3799
3843
  };
3800
3844
  trtc: import("trtc-sdk-v5").TRTC;
3801
3845
  timing: import("vue").Ref<string, string>;
@@ -3852,7 +3896,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3852
3896
  MultipleVideo: import("vue").DefineComponent<{}, {
3853
3897
  selfVideoRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
3854
3898
  state: {
3855
- orgId: string | number;
3899
+ orgId: string;
3856
3900
  currentSessionItem: AnyObject;
3857
3901
  id: string;
3858
3902
  userInfo: AnyObject;
@@ -3880,11 +3924,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3880
3924
  __time?: string | undefined;
3881
3925
  __sendTime?: string | undefined;
3882
3926
  }[];
3883
- currentMsg: AnyObject;
3884
- isAppendMsg: boolean;
3885
3927
  sessionList: AnyObject[];
3886
3928
  isChangeSession: boolean;
3887
- updateSessionItem: AnyObject;
3888
3929
  isUpdateSession: boolean;
3889
3930
  currentReferenceMsg: AnyObject | null;
3890
3931
  currentReEditMsg: AnyObject | null;
@@ -3902,6 +3943,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3902
3943
  info: AnyObject | null;
3903
3944
  };
3904
3945
  isForward: boolean;
3946
+ loading: boolean;
3905
3947
  };
3906
3948
  sendMessage: (message: {
3907
3949
  chatType?: string | undefined;
@@ -4048,7 +4090,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4048
4090
  }> & {}>;
4049
4091
  emit: (event: "comfirm", ...args: any[]) => void;
4050
4092
  state: {
4051
- orgId: string | number;
4093
+ orgId: string;
4052
4094
  currentSessionItem: AnyObject;
4053
4095
  id: string;
4054
4096
  userInfo: AnyObject;
@@ -4076,11 +4118,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4076
4118
  __time?: string | undefined;
4077
4119
  __sendTime?: string | undefined;
4078
4120
  }[];
4079
- currentMsg: AnyObject;
4080
- isAppendMsg: boolean;
4081
4121
  sessionList: AnyObject[];
4082
4122
  isChangeSession: boolean;
4083
- updateSessionItem: AnyObject;
4084
4123
  isUpdateSession: boolean;
4085
4124
  currentReferenceMsg: AnyObject | null;
4086
4125
  currentReEditMsg: AnyObject | null;
@@ -4098,6 +4137,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4098
4137
  info: AnyObject | null;
4099
4138
  };
4100
4139
  isForward: boolean;
4140
+ loading: boolean;
4101
4141
  };
4102
4142
  setCurrentSessionItem: (item: AnyObject) => void;
4103
4143
  listRef: import("vue").Ref<any, any>;
@@ -4216,7 +4256,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4216
4256
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4217
4257
  PersonProfile: import("vue").DefineComponent<{}, {
4218
4258
  state: {
4219
- orgId: string | number;
4259
+ orgId: string;
4220
4260
  currentSessionItem: AnyObject;
4221
4261
  id: string;
4222
4262
  userInfo: AnyObject;
@@ -4244,11 +4284,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4244
4284
  __time?: string | undefined;
4245
4285
  __sendTime?: string | undefined;
4246
4286
  }[];
4247
- currentMsg: AnyObject;
4248
- isAppendMsg: boolean;
4249
4287
  sessionList: AnyObject[];
4250
4288
  isChangeSession: boolean;
4251
- updateSessionItem: AnyObject;
4252
4289
  isUpdateSession: boolean;
4253
4290
  currentReferenceMsg: AnyObject | null;
4254
4291
  currentReEditMsg: AnyObject | null;
@@ -4266,6 +4303,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4266
4303
  info: AnyObject | null;
4267
4304
  };
4268
4305
  isForward: boolean;
4306
+ loading: boolean;
4269
4307
  };
4270
4308
  openSession: (session: string | AnyObject) => Promise<void>;
4271
4309
  showLargeAvatar: import("vue").Ref<boolean, boolean>;