cnhis-design-vue 3.2.15-beta.10 → 3.2.15-beta.12

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 (77) hide show
  1. package/README.md +87 -87
  2. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  3. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
  4. package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
  5. package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
  6. package/es/components/field-set/src/FieldFilter.vue.d.ts +6 -5
  7. package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
  8. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
  9. package/es/components/field-set/src/components/table-row.vue.d.ts +4 -4
  10. package/es/components/field-set/src/components/table-row.vue2.js +1 -1
  11. package/es/components/field-set/src/utils/index.js +1 -1
  12. package/es/components/iho-chat/index.d.ts +44 -22
  13. package/es/components/iho-chat/src/Index.vue.d.ts +44 -22
  14. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  15. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +0 -1
  16. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +0 -2
  17. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +0 -2
  18. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +0 -9
  19. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +0 -3
  20. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  21. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +0 -1
  22. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +0 -1
  23. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +0 -3
  24. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +1 -2
  25. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  26. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +0 -1
  27. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  28. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +1 -1
  29. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  30. package/es/components/iho-chat/src/components/Video.vue.d.ts +1 -1
  31. package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
  32. package/es/components/iho-chat/src/hooks/useData.d.ts +4 -2
  33. package/es/components/iho-chat/src/hooks/useData.js +1 -1
  34. package/es/components/iho-chat/src/hooks/useVideo.d.ts +1 -1
  35. package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
  36. package/es/components/iho-chat/src/types/index.d.ts +13 -2
  37. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  38. package/es/components/template-render/src/components/index.d.ts +23 -23
  39. package/es/env.d.ts +25 -25
  40. package/es/shared/assets/img/ai__avatar.png.js +1 -1
  41. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  42. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  43. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  44. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  45. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  46. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  47. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  48. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  49. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  50. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  51. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  52. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  53. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  54. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  55. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  56. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  57. package/es/shared/assets/img/failure.png.js +1 -1
  58. package/es/shared/assets/img/logo.png.js +1 -1
  59. package/es/shared/assets/img/no-permission.png.js +1 -1
  60. package/es/shared/assets/img/nodata.png.js +1 -1
  61. package/es/shared/assets/img/notfound.png.js +1 -1
  62. package/es/shared/assets/img/qr.png.js +1 -1
  63. package/es/shared/assets/img/success.png.js +1 -1
  64. package/es/shared/assets/img/table_style_2.png.js +1 -1
  65. package/es/shared/assets/img/video.png.js +1 -1
  66. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  67. package/es/shared/assets/img/xb_big.png.js +1 -1
  68. package/es/shared/assets/img/xb_small.png.js +1 -1
  69. package/es/shared/package.json.js +1 -1
  70. package/package.json +2 -2
  71. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  72. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  73. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  74. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  75. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  76. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  77. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -35,6 +35,19 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
35
35
  type: BooleanConstructor;
36
36
  default: boolean;
37
37
  };
38
+ trtcProxy: {
39
+ type: import("vue").PropType<string | Partial<{
40
+ websocketProxy: string;
41
+ loggerProxy: string;
42
+ turnServer: {
43
+ url: string;
44
+ username?: string | undefined;
45
+ credential?: string | undefined;
46
+ credentialType?: string | undefined;
47
+ }[];
48
+ iceTransportPolicy: "all" | "relay";
49
+ }>>;
50
+ };
38
51
  }, {
39
52
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
40
53
  token: {
@@ -72,6 +85,19 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
72
85
  type: BooleanConstructor;
73
86
  default: boolean;
74
87
  };
88
+ trtcProxy: {
89
+ type: import("vue").PropType<string | Partial<{
90
+ websocketProxy: string;
91
+ loggerProxy: string;
92
+ turnServer: {
93
+ url: string;
94
+ username?: string | undefined;
95
+ credential?: string | undefined;
96
+ credentialType?: string | undefined;
97
+ }[];
98
+ iceTransportPolicy: "all" | "relay";
99
+ }>>;
100
+ };
75
101
  }>> & {
76
102
  "onTemplate-click"?: ((...args: any[]) => any) | undefined;
77
103
  "onUnread-message-update"?: ((...args: any[]) => any) | undefined;
@@ -81,10 +107,11 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
81
107
  emit: (event: "template-click" | "unread-message-update" | "session-change" | "session-close", ...args: any[]) => void;
82
108
  loading: import("vue").Ref<boolean>;
83
109
  data: {
110
+ filterable: import("vue").Ref<any>;
111
+ trtcProxy: import("vue").Ref<any>;
84
112
  cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
85
113
  stompClient: import("vue").Ref<import("./src/utils/chatSock").ChatSock | undefined>;
86
114
  state: {
87
- filterable: boolean;
88
115
  orgId: string | number;
89
116
  currentSessionItem: import("../../shared/types").AnyObject;
90
117
  id: string;
@@ -128,7 +155,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
128
155
  };
129
156
  cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
130
157
  state: {
131
- filterable: boolean;
132
158
  orgId: string | number;
133
159
  currentSessionItem: import("../../shared/types").AnyObject;
134
160
  id: string;
@@ -182,7 +208,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
182
208
  filterList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
183
209
  handleInput: () => void;
184
210
  state: {
185
- filterable: boolean;
186
211
  orgId: string | number;
187
212
  currentSessionItem: import("../../shared/types").AnyObject;
188
213
  id: string;
@@ -202,6 +227,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
202
227
  showMultipleVideo: boolean;
203
228
  };
204
229
  unreadTotal: import("vue").ComputedRef<number>;
230
+ filterable: import("vue").Ref<any>;
205
231
  openSession: (session: string | import("../../shared/types").AnyObject) => Promise<void>;
206
232
  setUpdateSessionItem: (item: import("../../shared/types").AnyObject) => void;
207
233
  setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
@@ -459,7 +485,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
459
485
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
460
486
  ChatHeader: import("vue").DefineComponent<{}, {
461
487
  state: {
462
- filterable: boolean;
463
488
  orgId: string | number;
464
489
  currentSessionItem: import("../../shared/types").AnyObject;
465
490
  id: string;
@@ -529,7 +554,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
529
554
  }>>;
530
555
  emit: (event: "close", ...args: any[]) => void;
531
556
  state: {
532
- filterable: boolean;
533
557
  orgId: string | number;
534
558
  currentSessionItem: import("../../shared/types").AnyObject;
535
559
  id: string;
@@ -596,7 +620,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
596
620
  [x: string]: unknown;
597
621
  };
598
622
  state: {
599
- filterable: boolean;
600
623
  orgId: string | number;
601
624
  currentSessionItem: import("../../shared/types").AnyObject;
602
625
  id: string;
@@ -671,7 +694,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
671
694
  }>>;
672
695
  emit: (event: "close", ...args: any[]) => void;
673
696
  state: {
674
- filterable: boolean;
675
697
  orgId: string | number;
676
698
  currentSessionItem: import("../../shared/types").AnyObject;
677
699
  id: string;
@@ -787,7 +809,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
787
809
  }>>;
788
810
  emit: (event: "comfirm", ...args: any[]) => void;
789
811
  state: {
790
- filterable: boolean;
791
812
  orgId: string | number;
792
813
  currentSessionItem: import("../../shared/types").AnyObject;
793
814
  id: string;
@@ -899,7 +920,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
899
920
  }>> & {}>>;
900
921
  cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
901
922
  state: {
902
- filterable: boolean;
903
923
  orgId: string | number;
904
924
  currentSessionItem: import("../../shared/types").AnyObject;
905
925
  id: string;
@@ -1007,7 +1027,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1007
1027
  }>>;
1008
1028
  emit: (event: "comfirm", ...args: any[]) => void;
1009
1029
  state: {
1010
- filterable: boolean;
1011
1030
  orgId: string | number;
1012
1031
  currentSessionItem: import("../../shared/types").AnyObject;
1013
1032
  id: string;
@@ -1125,7 +1144,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1125
1144
  };
1126
1145
  }>> & {}>>;
1127
1146
  state: {
1128
- filterable: boolean;
1129
1147
  orgId: string | number;
1130
1148
  currentSessionItem: import("../../shared/types").AnyObject;
1131
1149
  id: string;
@@ -1358,7 +1376,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1358
1376
  }>>;
1359
1377
  emit: (event: "comfirm", ...args: any[]) => void;
1360
1378
  state: {
1361
- filterable: boolean;
1362
1379
  orgId: string | number;
1363
1380
  currentSessionItem: import("../../shared/types").AnyObject;
1364
1381
  id: string;
@@ -1455,7 +1472,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1455
1472
  ChatMain: import("vue").DefineComponent<{}, {
1456
1473
  chatMainRef: import("vue").Ref<HTMLElement | undefined>;
1457
1474
  state: {
1458
- filterable: boolean;
1459
1475
  orgId: string | number;
1460
1476
  currentSessionItem: import("../../shared/types").AnyObject;
1461
1477
  id: string;
@@ -1546,7 +1562,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1546
1562
  }>>;
1547
1563
  emit: (event: "close", ...args: any[]) => void;
1548
1564
  state: {
1549
- filterable: boolean;
1550
1565
  orgId: string | number;
1551
1566
  currentSessionItem: import("../../shared/types").AnyObject;
1552
1567
  id: string;
@@ -1781,7 +1796,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1781
1796
  }>>;
1782
1797
  emit: (event: "comfirm", ...args: any[]) => void;
1783
1798
  state: {
1784
- filterable: boolean;
1785
1799
  orgId: string | number;
1786
1800
  currentSessionItem: import("../../shared/types").AnyObject;
1787
1801
  id: string;
@@ -1885,7 +1899,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1885
1899
  ChatFooter: import("vue").DefineComponent<{}, {
1886
1900
  inputRef: import("vue").Ref<HTMLDivElement | undefined>;
1887
1901
  state: {
1888
- filterable: boolean;
1889
1902
  orgId: string | number;
1890
1903
  currentSessionItem: import("../../shared/types").AnyObject;
1891
1904
  id: string;
@@ -1989,7 +2002,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1989
2002
  }>>;
1990
2003
  emit: (event: "comfirm", ...args: any[]) => void;
1991
2004
  state: {
1992
- filterable: boolean;
1993
2005
  orgId: string | number;
1994
2006
  currentSessionItem: import("../../shared/types").AnyObject;
1995
2007
  id: string;
@@ -2097,7 +2109,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2097
2109
  keyword: import("vue").Ref<string>;
2098
2110
  cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
2099
2111
  state: {
2100
- filterable: boolean;
2101
2112
  orgId: string | number;
2102
2113
  currentSessionItem: import("../../shared/types").AnyObject;
2103
2114
  id: string;
@@ -2257,7 +2268,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2257
2268
  }>>;
2258
2269
  emit: (event: "comfirm", ...args: any[]) => void;
2259
2270
  state: {
2260
- filterable: boolean;
2261
2271
  orgId: string | number;
2262
2272
  currentSessionItem: import("../../shared/types").AnyObject;
2263
2273
  id: string;
@@ -2355,7 +2365,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2355
2365
  receiver?: string | undefined;
2356
2366
  }) => Promise<void>;
2357
2367
  state: {
2358
- filterable: boolean;
2359
2368
  orgId: string | number;
2360
2369
  currentSessionItem: import("../../shared/types").AnyObject;
2361
2370
  id: string;
@@ -2374,6 +2383,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2374
2383
  currentGroupUser: import("../../shared/types").AnyObject[];
2375
2384
  showMultipleVideo: boolean;
2376
2385
  };
2386
+ trtcProxy: import("vue").Ref<any>;
2377
2387
  trtc: import("trtc-sdk-v5").default;
2378
2388
  timing: import("vue").Ref<string>;
2379
2389
  voiceOpen: import("vue").Ref<boolean>;
@@ -2437,7 +2447,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2437
2447
  name: string;
2438
2448
  }[]>;
2439
2449
  state: {
2440
- filterable: boolean;
2441
2450
  orgId: string | number;
2442
2451
  currentSessionItem: import("../../shared/types").AnyObject;
2443
2452
  id: string;
@@ -2462,6 +2471,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2462
2471
  receiver?: string | undefined;
2463
2472
  }) => Promise<void>;
2464
2473
  trtc: import("trtc-sdk-v5").default;
2474
+ trtcProxy: import("vue").Ref<any>;
2465
2475
  voiceOpen: import("vue").Ref<boolean>;
2466
2476
  isAudio: import("vue").ComputedRef<boolean>;
2467
2477
  isCall: import("vue").ComputedRef<boolean>;
@@ -2555,7 +2565,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2555
2565
  }>>;
2556
2566
  emit: (event: "comfirm", ...args: any[]) => void;
2557
2567
  state: {
2558
- filterable: boolean;
2559
2568
  orgId: string | number;
2560
2569
  currentSessionItem: import("../../shared/types").AnyObject;
2561
2570
  id: string;
@@ -2690,6 +2699,19 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2690
2699
  type: BooleanConstructor;
2691
2700
  default: boolean;
2692
2701
  };
2702
+ trtcProxy: {
2703
+ type: import("vue").PropType<string | Partial<{
2704
+ websocketProxy: string;
2705
+ loggerProxy: string;
2706
+ turnServer: {
2707
+ url: string;
2708
+ username?: string | undefined;
2709
+ credential?: string | undefined;
2710
+ credentialType?: string | undefined;
2711
+ }[];
2712
+ iceTransportPolicy: "all" | "relay";
2713
+ }>>;
2714
+ };
2693
2715
  }>> & {
2694
2716
  "onTemplate-click"?: ((...args: any[]) => any) | undefined;
2695
2717
  "onUnread-message-update"?: ((...args: any[]) => any) | undefined;
@@ -36,6 +36,19 @@ declare const _default: import("vue").DefineComponent<{
36
36
  type: BooleanConstructor;
37
37
  default: boolean;
38
38
  };
39
+ trtcProxy: {
40
+ type: PropType<string | Partial<{
41
+ websocketProxy: string;
42
+ loggerProxy: string;
43
+ turnServer: {
44
+ url: string;
45
+ username?: string | undefined;
46
+ credential?: string | undefined;
47
+ credentialType?: string | undefined;
48
+ }[];
49
+ iceTransportPolicy: "all" | "relay";
50
+ }>>;
51
+ };
39
52
  }, {
40
53
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
41
54
  token: {
@@ -73,6 +86,19 @@ declare const _default: import("vue").DefineComponent<{
73
86
  type: BooleanConstructor;
74
87
  default: boolean;
75
88
  };
89
+ trtcProxy: {
90
+ type: PropType<string | Partial<{
91
+ websocketProxy: string;
92
+ loggerProxy: string;
93
+ turnServer: {
94
+ url: string;
95
+ username?: string | undefined;
96
+ credential?: string | undefined;
97
+ credentialType?: string | undefined;
98
+ }[];
99
+ iceTransportPolicy: "all" | "relay";
100
+ }>>;
101
+ };
76
102
  }>> & {
77
103
  "onTemplate-click"?: ((...args: any[]) => any) | undefined;
78
104
  "onUnread-message-update"?: ((...args: any[]) => any) | undefined;
@@ -82,10 +108,11 @@ declare const _default: import("vue").DefineComponent<{
82
108
  emit: (event: "template-click" | "unread-message-update" | "session-change" | "session-close", ...args: any[]) => void;
83
109
  loading: import("vue").Ref<boolean>;
84
110
  data: {
111
+ filterable: import("vue").Ref<any>;
112
+ trtcProxy: import("vue").Ref<any>;
85
113
  cssVars: import("vue").ComputedRef<AnyObject>;
86
114
  stompClient: import("vue").Ref<import("./utils/chatSock").ChatSock | undefined>;
87
115
  state: {
88
- filterable: boolean;
89
116
  orgId: string | number;
90
117
  currentSessionItem: AnyObject;
91
118
  id: string;
@@ -129,7 +156,6 @@ declare const _default: import("vue").DefineComponent<{
129
156
  };
130
157
  cssVars: import("vue").ComputedRef<AnyObject>;
131
158
  state: {
132
- filterable: boolean;
133
159
  orgId: string | number;
134
160
  currentSessionItem: AnyObject;
135
161
  id: string;
@@ -183,7 +209,6 @@ declare const _default: import("vue").DefineComponent<{
183
209
  filterList: import("vue").Ref<AnyObject[]>;
184
210
  handleInput: () => void;
185
211
  state: {
186
- filterable: boolean;
187
212
  orgId: string | number;
188
213
  currentSessionItem: AnyObject;
189
214
  id: string;
@@ -203,6 +228,7 @@ declare const _default: import("vue").DefineComponent<{
203
228
  showMultipleVideo: boolean;
204
229
  };
205
230
  unreadTotal: import("vue").ComputedRef<number>;
231
+ filterable: import("vue").Ref<any>;
206
232
  openSession: (session: string | AnyObject) => Promise<void>;
207
233
  setUpdateSessionItem: (item: AnyObject) => void;
208
234
  setCurrentSessionItem: (item: AnyObject) => void;
@@ -460,7 +486,6 @@ declare const _default: import("vue").DefineComponent<{
460
486
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
461
487
  ChatHeader: import("vue").DefineComponent<{}, {
462
488
  state: {
463
- filterable: boolean;
464
489
  orgId: string | number;
465
490
  currentSessionItem: AnyObject;
466
491
  id: string;
@@ -530,7 +555,6 @@ declare const _default: import("vue").DefineComponent<{
530
555
  }>>;
531
556
  emit: (event: "close", ...args: any[]) => void;
532
557
  state: {
533
- filterable: boolean;
534
558
  orgId: string | number;
535
559
  currentSessionItem: AnyObject;
536
560
  id: string;
@@ -597,7 +621,6 @@ declare const _default: import("vue").DefineComponent<{
597
621
  [x: string]: unknown;
598
622
  };
599
623
  state: {
600
- filterable: boolean;
601
624
  orgId: string | number;
602
625
  currentSessionItem: AnyObject;
603
626
  id: string;
@@ -672,7 +695,6 @@ declare const _default: import("vue").DefineComponent<{
672
695
  }>>;
673
696
  emit: (event: "close", ...args: any[]) => void;
674
697
  state: {
675
- filterable: boolean;
676
698
  orgId: string | number;
677
699
  currentSessionItem: AnyObject;
678
700
  id: string;
@@ -788,7 +810,6 @@ declare const _default: import("vue").DefineComponent<{
788
810
  }>>;
789
811
  emit: (event: "comfirm", ...args: any[]) => void;
790
812
  state: {
791
- filterable: boolean;
792
813
  orgId: string | number;
793
814
  currentSessionItem: AnyObject;
794
815
  id: string;
@@ -900,7 +921,6 @@ declare const _default: import("vue").DefineComponent<{
900
921
  }>> & {}>>;
901
922
  cssVars: import("vue").ComputedRef<AnyObject>;
902
923
  state: {
903
- filterable: boolean;
904
924
  orgId: string | number;
905
925
  currentSessionItem: AnyObject;
906
926
  id: string;
@@ -1008,7 +1028,6 @@ declare const _default: import("vue").DefineComponent<{
1008
1028
  }>>;
1009
1029
  emit: (event: "comfirm", ...args: any[]) => void;
1010
1030
  state: {
1011
- filterable: boolean;
1012
1031
  orgId: string | number;
1013
1032
  currentSessionItem: AnyObject;
1014
1033
  id: string;
@@ -1126,7 +1145,6 @@ declare const _default: import("vue").DefineComponent<{
1126
1145
  };
1127
1146
  }>> & {}>>;
1128
1147
  state: {
1129
- filterable: boolean;
1130
1148
  orgId: string | number;
1131
1149
  currentSessionItem: AnyObject;
1132
1150
  id: string;
@@ -1359,7 +1377,6 @@ declare const _default: import("vue").DefineComponent<{
1359
1377
  }>>;
1360
1378
  emit: (event: "comfirm", ...args: any[]) => void;
1361
1379
  state: {
1362
- filterable: boolean;
1363
1380
  orgId: string | number;
1364
1381
  currentSessionItem: AnyObject;
1365
1382
  id: string;
@@ -1456,7 +1473,6 @@ declare const _default: import("vue").DefineComponent<{
1456
1473
  ChatMain: import("vue").DefineComponent<{}, {
1457
1474
  chatMainRef: import("vue").Ref<HTMLElement | undefined>;
1458
1475
  state: {
1459
- filterable: boolean;
1460
1476
  orgId: string | number;
1461
1477
  currentSessionItem: AnyObject;
1462
1478
  id: string;
@@ -1547,7 +1563,6 @@ declare const _default: import("vue").DefineComponent<{
1547
1563
  }>>;
1548
1564
  emit: (event: "close", ...args: any[]) => void;
1549
1565
  state: {
1550
- filterable: boolean;
1551
1566
  orgId: string | number;
1552
1567
  currentSessionItem: AnyObject;
1553
1568
  id: string;
@@ -1782,7 +1797,6 @@ declare const _default: import("vue").DefineComponent<{
1782
1797
  }>>;
1783
1798
  emit: (event: "comfirm", ...args: any[]) => void;
1784
1799
  state: {
1785
- filterable: boolean;
1786
1800
  orgId: string | number;
1787
1801
  currentSessionItem: AnyObject;
1788
1802
  id: string;
@@ -1886,7 +1900,6 @@ declare const _default: import("vue").DefineComponent<{
1886
1900
  ChatFooter: import("vue").DefineComponent<{}, {
1887
1901
  inputRef: import("vue").Ref<HTMLDivElement | undefined>;
1888
1902
  state: {
1889
- filterable: boolean;
1890
1903
  orgId: string | number;
1891
1904
  currentSessionItem: AnyObject;
1892
1905
  id: string;
@@ -1990,7 +2003,6 @@ declare const _default: import("vue").DefineComponent<{
1990
2003
  }>>;
1991
2004
  emit: (event: "comfirm", ...args: any[]) => void;
1992
2005
  state: {
1993
- filterable: boolean;
1994
2006
  orgId: string | number;
1995
2007
  currentSessionItem: AnyObject;
1996
2008
  id: string;
@@ -2098,7 +2110,6 @@ declare const _default: import("vue").DefineComponent<{
2098
2110
  keyword: import("vue").Ref<string>;
2099
2111
  cssVars: import("vue").ComputedRef<AnyObject>;
2100
2112
  state: {
2101
- filterable: boolean;
2102
2113
  orgId: string | number;
2103
2114
  currentSessionItem: AnyObject;
2104
2115
  id: string;
@@ -2258,7 +2269,6 @@ declare const _default: import("vue").DefineComponent<{
2258
2269
  }>>;
2259
2270
  emit: (event: "comfirm", ...args: any[]) => void;
2260
2271
  state: {
2261
- filterable: boolean;
2262
2272
  orgId: string | number;
2263
2273
  currentSessionItem: AnyObject;
2264
2274
  id: string;
@@ -2356,7 +2366,6 @@ declare const _default: import("vue").DefineComponent<{
2356
2366
  receiver?: string | undefined;
2357
2367
  }) => Promise<void>;
2358
2368
  state: {
2359
- filterable: boolean;
2360
2369
  orgId: string | number;
2361
2370
  currentSessionItem: AnyObject;
2362
2371
  id: string;
@@ -2375,6 +2384,7 @@ declare const _default: import("vue").DefineComponent<{
2375
2384
  currentGroupUser: AnyObject[];
2376
2385
  showMultipleVideo: boolean;
2377
2386
  };
2387
+ trtcProxy: import("vue").Ref<any>;
2378
2388
  trtc: import("trtc-sdk-v5").default;
2379
2389
  timing: import("vue").Ref<string>;
2380
2390
  voiceOpen: import("vue").Ref<boolean>;
@@ -2438,7 +2448,6 @@ declare const _default: import("vue").DefineComponent<{
2438
2448
  name: string;
2439
2449
  }[]>;
2440
2450
  state: {
2441
- filterable: boolean;
2442
2451
  orgId: string | number;
2443
2452
  currentSessionItem: AnyObject;
2444
2453
  id: string;
@@ -2463,6 +2472,7 @@ declare const _default: import("vue").DefineComponent<{
2463
2472
  receiver?: string | undefined;
2464
2473
  }) => Promise<void>;
2465
2474
  trtc: import("trtc-sdk-v5").default;
2475
+ trtcProxy: import("vue").Ref<any>;
2466
2476
  voiceOpen: import("vue").Ref<boolean>;
2467
2477
  isAudio: import("vue").ComputedRef<boolean>;
2468
2478
  isCall: import("vue").ComputedRef<boolean>;
@@ -2556,7 +2566,6 @@ declare const _default: import("vue").DefineComponent<{
2556
2566
  }>>;
2557
2567
  emit: (event: "comfirm", ...args: any[]) => void;
2558
2568
  state: {
2559
- filterable: boolean;
2560
2569
  orgId: string | number;
2561
2570
  currentSessionItem: AnyObject;
2562
2571
  id: string;
@@ -2691,6 +2700,19 @@ declare const _default: import("vue").DefineComponent<{
2691
2700
  type: BooleanConstructor;
2692
2701
  default: boolean;
2693
2702
  };
2703
+ trtcProxy: {
2704
+ type: PropType<string | Partial<{
2705
+ websocketProxy: string;
2706
+ loggerProxy: string;
2707
+ turnServer: {
2708
+ url: string;
2709
+ username?: string | undefined;
2710
+ credential?: string | undefined;
2711
+ credentialType?: string | undefined;
2712
+ }[];
2713
+ iceTransportPolicy: "all" | "relay";
2714
+ }>>;
2715
+ };
2694
2716
  }>> & {
2695
2717
  "onTemplate-click"?: ((...args: any[]) => any) | undefined;
2696
2718
  "onUnread-message-update"?: ((...args: any[]) => any) | undefined;
@@ -1 +1 @@
1
- import{defineComponent as e,ref as t,provide as o,openBlock as s,createElementBlock as r,normalizeStyle as a,unref as n,createVNode as i,withCtx as l,createBlock as u,Fragment as d,createElementVNode as m,renderSlot as p,createCommentVNode as c}from"vue";import{NConfigProvider as f,NSpin as h,NLayout as v,NLayoutContent as y}from"naive-ui";import S from"./components/SiderList.vue.js";import g from"./components/ChatHeader.vue.js";import k from"./components/ChatMain.vue.js";import j from"./components/ChatFooter.vue.js";import _ from"./components/ChatSearch.vue.js";import b from"./components/ChatAdd.vue.js";import w from"./components/Video.vue.js";import C from"./components/MultipleVideo.vue.js";import{instanceAxios as x}from"./api/index.js";import{isNumber as I}from"lodash-es";import{initData as L,InjectionIChatData as V}from"./hooks/useData.js";import{useWebSocket as B}from"./hooks/useWebSocket.js";import"trtc-sdk-v5";import"./utils/index.js";const H={key:0,class:"iho-chat__header"},U={class:"toolbar"};var $=e({__name:"Index",props:{token:{type:String,required:!0},orgId:{type:[String,Number],required:!0},userId:{type:String,required:!0},baseURL:{type:String,default:"/fdp-chat"},showHeader:{type:Boolean,default:!0},defaultSessionId:{type:String},show:{type:Boolean,default:!0},extraParams:{type:Object,default:()=>({})},filterable:{type:Boolean,default:!1}},emits:["template-click","unread-message-update","session-change","session-close"],setup(e,{expose:$,emit:q}){const M=e;x.defaults.baseURL=M.baseURL,x.defaults.headers.Authorization="bearer "+M.token;const N=t(!1),R=L(M,q);o(V,R),B(M,R);const{cssVars:A,state:D,openSession:F,closeSession:z,getCurrentSession:E,isEnded:O}=R;return $({getUnreadData:function(){return D.sessionList.filter((e=>I(e.unreadNum)&&e.unreadNum>0))},openSession:F,closeSession:z,getCurrentSession:E}),(t,o)=>e.show?(s(),r("div",{key:0,class:"iho-chat",style:a(n(A))},[i(n(f),{abstract:"",namespace:"iho-chat__popover"},{default:l((()=>{var o;return[N.value?(s(),u(n(h),{key:0,stroke:"#5585f5"})):(s(),r(d,{key:1},[e.showHeader?(s(),r("div",H,[i(_),i(b,{title:(null==(o=window.getLanguageByCode)?void 0:o.call(window,"10010.1.31"))||"发起群聊",mode:"create","default-value":[n(D).userInfo]},null,8,["default-value"]),m("div",U,[p(t.$slots,"toolbar")])])):c("v-if",!0),i(n(v),{class:"iho-chat__body","has-sider":""},{default:l((()=>[i(S),i(n(y),{class:"chat-content",style:a({"--c-pointer-events":n(O)?"none":"unset","--c-cursor":n(O)?"not-allowed":"unset"})},{default:l((()=>[i(g,null,{header:l((()=>[p(t.$slots,"chatHeader",{session:n(D).currentSessionItem})])),_:3}),i(k),i(j,null,{footer:l((()=>[p(t.$slots,"chatFooter",{session:n(D).currentSessionItem})])),_:3})])),_:3},8,["style"]),p(t.$slots,"external")])),_:3}),n(D).showVideo?(s(),u(w,{key:1})):c("v-if",!0),n(D).showMultipleVideo?(s(),u(C,{key:2})):c("v-if",!0)],64))]})),_:3})],4)):c("v-if",!0)}});export{$ as default};
1
+ import{defineComponent as e,ref as t,provide as o,openBlock as s,createElementBlock as r,normalizeStyle as a,unref as n,createVNode as i,withCtx as l,createBlock as u,Fragment as d,createElementVNode as m,renderSlot as p,createCommentVNode as c}from"vue";import{NConfigProvider as f,NSpin as h,NLayout as v,NLayoutContent as y}from"naive-ui";import S from"./components/SiderList.vue.js";import g from"./components/ChatHeader.vue.js";import j from"./components/ChatMain.vue.js";import k from"./components/ChatFooter.vue.js";import b from"./components/ChatSearch.vue.js";import _ from"./components/ChatAdd.vue.js";import w from"./components/Video.vue.js";import x from"./components/MultipleVideo.vue.js";import{instanceAxios as C}from"./api/index.js";import{isNumber as I}from"lodash-es";import{initData as L,InjectionIChatData as V}from"./hooks/useData.js";import{useWebSocket as B}from"./hooks/useWebSocket.js";import"trtc-sdk-v5";import"./utils/index.js";const H={key:0,class:"iho-chat__header"},U={class:"toolbar"};var $=e({__name:"Index",props:{token:{type:String,required:!0},orgId:{type:[String,Number],required:!0},userId:{type:String,required:!0},baseURL:{type:String,default:"/fdp-chat"},showHeader:{type:Boolean,default:!0},defaultSessionId:{type:String},show:{type:Boolean,default:!0},extraParams:{type:Object,default:()=>({})},filterable:{type:Boolean,default:!1},trtcProxy:{type:[String,Object]}},emits:["template-click","unread-message-update","session-change","session-close"],setup(e,{expose:$,emit:q}){const M=e;C.defaults.baseURL=M.baseURL,C.defaults.headers.Authorization="bearer "+M.token;const N=t(!1),R=L(M,q);o(V,R),B(M,R);const{cssVars:A,state:D,openSession:F,closeSession:O,getCurrentSession:P,isEnded:z}=R;return $({getUnreadData:function(){return D.sessionList.filter((e=>I(e.unreadNum)&&e.unreadNum>0))},openSession:F,closeSession:O,getCurrentSession:P}),(t,o)=>e.show?(s(),r("div",{key:0,class:"iho-chat",style:a(n(A))},[i(n(f),{abstract:"",namespace:"iho-chat__popover"},{default:l((()=>{var o;return[N.value?(s(),u(n(h),{key:0,stroke:"#5585f5"})):(s(),r(d,{key:1},[e.showHeader?(s(),r("div",H,[i(b),i(_,{title:(null==(o=window.getLanguageByCode)?void 0:o.call(window,"10010.1.31"))||"发起群聊",mode:"create","default-value":[n(D).userInfo]},null,8,["default-value"]),m("div",U,[p(t.$slots,"toolbar")])])):c("v-if",!0),i(n(v),{class:"iho-chat__body","has-sider":""},{default:l((()=>[i(S),i(n(y),{class:"chat-content",style:a({"--c-pointer-events":n(z)?"none":"unset","--c-cursor":n(z)?"not-allowed":"unset"})},{default:l((()=>[i(g,null,{header:l((()=>[p(t.$slots,"chatHeader",{session:n(D).currentSessionItem})])),_:3}),i(j),i(k,null,{footer:l((()=>[p(t.$slots,"chatFooter",{session:n(D).currentSessionItem})])),_:3})])),_:3},8,["style"]),p(t.$slots,"external")])),_:3}),n(D).showVideo?(s(),u(w,{key:1})):c("v-if",!0),n(D).showMultipleVideo?(s(),u(x,{key:2})):c("v-if",!0)],64))]})),_:3})],4)):c("v-if",!0)}});export{$ as default};
@@ -54,7 +54,6 @@ declare const _default: import("vue").DefineComponent<{
54
54
  }>>;
55
55
  emit: (event: "comfirm", ...args: any[]) => void;
56
56
  state: {
57
- filterable: boolean;
58
57
  orgId: string | number;
59
58
  currentSessionItem: AnyObject;
60
59
  id: string;
@@ -21,7 +21,6 @@ declare const _default: import("vue").DefineComponent<{
21
21
  }>> & {}>>;
22
22
  cssVars: import("vue").ComputedRef<AnyObject>;
23
23
  state: {
24
- filterable: boolean;
25
24
  orgId: string | number;
26
25
  currentSessionItem: AnyObject;
27
26
  id: string;
@@ -129,7 +128,6 @@ declare const _default: import("vue").DefineComponent<{
129
128
  }>>;
130
129
  emit: (event: "comfirm", ...args: any[]) => void;
131
130
  state: {
132
- filterable: boolean;
133
131
  orgId: string | number;
134
132
  currentSessionItem: AnyObject;
135
133
  id: string;
@@ -6,7 +6,6 @@ import { FileOptions } from '../types';
6
6
  declare const _default: import("vue").DefineComponent<{}, {
7
7
  inputRef: Ref<HTMLDivElement | undefined>;
8
8
  state: {
9
- filterable: boolean;
10
9
  orgId: string | number;
11
10
  currentSessionItem: AnyObject;
12
11
  id: string;
@@ -110,7 +109,6 @@ declare const _default: import("vue").DefineComponent<{}, {
110
109
  }>>;
111
110
  emit: (event: "comfirm", ...args: any[]) => void;
112
111
  state: {
113
- filterable: boolean;
114
112
  orgId: string | number;
115
113
  currentSessionItem: AnyObject;
116
114
  id: string;
@@ -1,7 +1,6 @@
1
1
  import { AnyObject } from '../../../../shared/types';
2
2
  declare const _default: import("vue").DefineComponent<{}, {
3
3
  state: {
4
- filterable: boolean;
5
4
  orgId: string | number;
6
5
  currentSessionItem: AnyObject;
7
6
  id: string;
@@ -71,7 +70,6 @@ declare const _default: import("vue").DefineComponent<{}, {
71
70
  }>>;
72
71
  emit: (event: "close", ...args: any[]) => void;
73
72
  state: {
74
- filterable: boolean;
75
73
  orgId: string | number;
76
74
  currentSessionItem: AnyObject;
77
75
  id: string;
@@ -138,7 +136,6 @@ declare const _default: import("vue").DefineComponent<{}, {
138
136
  [x: string]: unknown;
139
137
  };
140
138
  state: {
141
- filterable: boolean;
142
139
  orgId: string | number;
143
140
  currentSessionItem: AnyObject;
144
141
  id: string;
@@ -213,7 +210,6 @@ declare const _default: import("vue").DefineComponent<{}, {
213
210
  }>>;
214
211
  emit: (event: "close", ...args: any[]) => void;
215
212
  state: {
216
- filterable: boolean;
217
213
  orgId: string | number;
218
214
  currentSessionItem: AnyObject;
219
215
  id: string;
@@ -329,7 +325,6 @@ declare const _default: import("vue").DefineComponent<{}, {
329
325
  }>>;
330
326
  emit: (event: "comfirm", ...args: any[]) => void;
331
327
  state: {
332
- filterable: boolean;
333
328
  orgId: string | number;
334
329
  currentSessionItem: AnyObject;
335
330
  id: string;
@@ -441,7 +436,6 @@ declare const _default: import("vue").DefineComponent<{}, {
441
436
  }>> & {}>>;
442
437
  cssVars: import("vue").ComputedRef<AnyObject>;
443
438
  state: {
444
- filterable: boolean;
445
439
  orgId: string | number;
446
440
  currentSessionItem: AnyObject;
447
441
  id: string;
@@ -549,7 +543,6 @@ declare const _default: import("vue").DefineComponent<{}, {
549
543
  }>>;
550
544
  emit: (event: "comfirm", ...args: any[]) => void;
551
545
  state: {
552
- filterable: boolean;
553
546
  orgId: string | number;
554
547
  currentSessionItem: AnyObject;
555
548
  id: string;
@@ -667,7 +660,6 @@ declare const _default: import("vue").DefineComponent<{}, {
667
660
  };
668
661
  }>> & {}>>;
669
662
  state: {
670
- filterable: boolean;
671
663
  orgId: string | number;
672
664
  currentSessionItem: AnyObject;
673
665
  id: string;
@@ -900,7 +892,6 @@ declare const _default: import("vue").DefineComponent<{}, {
900
892
  }>>;
901
893
  emit: (event: "comfirm", ...args: any[]) => void;
902
894
  state: {
903
- filterable: boolean;
904
895
  orgId: string | number;
905
896
  currentSessionItem: AnyObject;
906
897
  id: string;
@@ -6,7 +6,6 @@ import { MESSAGE_TYPE } from '../constants';
6
6
  declare const _default: import("vue").DefineComponent<{}, {
7
7
  chatMainRef: import("vue").Ref<HTMLElement | undefined>;
8
8
  state: {
9
- filterable: boolean;
10
9
  orgId: string | number;
11
10
  currentSessionItem: AnyObject;
12
11
  id: string;
@@ -97,7 +96,6 @@ declare const _default: import("vue").DefineComponent<{}, {
97
96
  }>>;
98
97
  emit: (event: "close", ...args: any[]) => void;
99
98
  state: {
100
- filterable: boolean;
101
99
  orgId: string | number;
102
100
  currentSessionItem: AnyObject;
103
101
  id: string;
@@ -332,7 +330,6 @@ declare const _default: import("vue").DefineComponent<{}, {
332
330
  }>>;
333
331
  emit: (event: "comfirm", ...args: any[]) => void;
334
332
  state: {
335
- filterable: boolean;
336
333
  orgId: string | number;
337
334
  currentSessionItem: AnyObject;
338
335
  id: string;