cnhis-design-vue 3.3.3-beta.33 → 3.3.3-beta.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/form-config/index.d.ts +10 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +10 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +10 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +2 -2
- package/es/components/form-config/src/constants/index.d.ts +3 -1
- package/es/components/form-config/src/constants/index.js +2 -0
- package/es/components/form-config/src/hooks/useConfigurationField.js +24 -4
- package/es/components/form-config/src/hooks/useLocale.d.ts +2 -0
- package/es/components/form-config/src/hooks/useLocale.js +2 -0
- package/es/components/form-config/src/types/index.d.ts +5 -0
- package/es/components/form-render/src/components/renderer/formItem.d.ts +2 -0
- package/es/components/form-render/src/components/renderer/formItem.js +9 -2
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +4 -2
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +5 -2
- package/es/components/iho-chat/index.d.ts +836 -44
- package/es/components/iho-chat/src/Index.vue.d.ts +836 -44
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +179 -6
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +48 -28
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +61 -5
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +83 -38
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +327 -13
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +18 -17
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +232 -17
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +299 -272
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +49 -3
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +48 -2
- package/es/components/iho-chat/src/components/ImageLightbox.vue.d.ts +104 -0
- package/es/components/iho-chat/src/components/ImageLightbox.vue.js +6 -0
- package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +307 -0
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +51 -4
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +48 -2
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/SelectLabel.vue.d.ts +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +24 -1
- package/es/components/iho-chat/src/hooks/useData.d.ts +51 -4
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +24 -1
- package/es/components/iho-chat/src/types/index.d.ts +37 -1
- package/es/components/iho-chat/src/utils/emoji.d.ts +1 -1
- package/es/components/iho-chat/src/utils/emoji.js +1 -1
- package/es/components/iho-chat/src/utils/index.d.ts +1 -0
- package/es/components/iho-chat/src/utils/index.js +8 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +20 -15
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -1
- package/es/shared/hooks/useLevelSearchCascader.js +3 -3
- package/es/shared/package.json.js +1 -1
- package/package.json +3 -2
@@ -5,7 +5,30 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
5
5
|
currentSessionItem: AnyObject;
|
6
6
|
id: string;
|
7
7
|
userInfo: AnyObject;
|
8
|
-
msgList:
|
8
|
+
msgList: {
|
9
|
+
[x: string]: any;
|
10
|
+
id: string;
|
11
|
+
sessionKey: string;
|
12
|
+
content: {
|
13
|
+
[x: string]: any;
|
14
|
+
chatMessageType: string;
|
15
|
+
msg: string;
|
16
|
+
referenceContent?: any;
|
17
|
+
forwardMessageList?: AnyObject[] | undefined;
|
18
|
+
messageTemplate?: any;
|
19
|
+
messageTemplateData?: any;
|
20
|
+
fileUrl?: string | undefined;
|
21
|
+
avStatus?: string | undefined;
|
22
|
+
};
|
23
|
+
senderName: string;
|
24
|
+
sendTime: string;
|
25
|
+
sender: string;
|
26
|
+
status: string;
|
27
|
+
senderAvatar: string;
|
28
|
+
__content: string;
|
29
|
+
__time?: string | undefined;
|
30
|
+
__sendTime?: string | undefined;
|
31
|
+
}[];
|
9
32
|
currentMsg: AnyObject;
|
10
33
|
isAppendMsg: boolean;
|
11
34
|
sessionList: AnyObject[];
|
@@ -66,7 +89,30 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
66
89
|
currentSessionItem: AnyObject;
|
67
90
|
id: string;
|
68
91
|
userInfo: AnyObject;
|
69
|
-
msgList:
|
92
|
+
msgList: {
|
93
|
+
[x: string]: any;
|
94
|
+
id: string;
|
95
|
+
sessionKey: string;
|
96
|
+
content: {
|
97
|
+
[x: string]: any;
|
98
|
+
chatMessageType: string;
|
99
|
+
msg: string;
|
100
|
+
referenceContent?: any;
|
101
|
+
forwardMessageList?: AnyObject[] | undefined;
|
102
|
+
messageTemplate?: any;
|
103
|
+
messageTemplateData?: any;
|
104
|
+
fileUrl?: string | undefined;
|
105
|
+
avStatus?: string | undefined;
|
106
|
+
};
|
107
|
+
senderName: string;
|
108
|
+
sendTime: string;
|
109
|
+
sender: string;
|
110
|
+
status: string;
|
111
|
+
senderAvatar: string;
|
112
|
+
__content: string;
|
113
|
+
__time?: string | undefined;
|
114
|
+
__sendTime?: string | undefined;
|
115
|
+
}[];
|
70
116
|
currentMsg: AnyObject;
|
71
117
|
isAppendMsg: boolean;
|
72
118
|
sessionList: AnyObject[];
|
@@ -187,7 +233,30 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
187
233
|
currentSessionItem: AnyObject;
|
188
234
|
id: string;
|
189
235
|
userInfo: AnyObject;
|
190
|
-
msgList:
|
236
|
+
msgList: {
|
237
|
+
[x: string]: any;
|
238
|
+
id: string;
|
239
|
+
sessionKey: string;
|
240
|
+
content: {
|
241
|
+
[x: string]: any;
|
242
|
+
chatMessageType: string;
|
243
|
+
msg: string;
|
244
|
+
referenceContent?: any;
|
245
|
+
forwardMessageList?: AnyObject[] | undefined;
|
246
|
+
messageTemplate?: any;
|
247
|
+
messageTemplateData?: any;
|
248
|
+
fileUrl?: string | undefined;
|
249
|
+
avStatus?: string | undefined;
|
250
|
+
};
|
251
|
+
senderName: string;
|
252
|
+
sendTime: string;
|
253
|
+
sender: string;
|
254
|
+
status: string;
|
255
|
+
senderAvatar: string;
|
256
|
+
__content: string;
|
257
|
+
__time?: string | undefined;
|
258
|
+
__sendTime?: string | undefined;
|
259
|
+
}[];
|
191
260
|
currentMsg: AnyObject;
|
192
261
|
isAppendMsg: boolean;
|
193
262
|
sessionList: AnyObject[];
|
@@ -344,7 +413,30 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
344
413
|
currentSessionItem: AnyObject;
|
345
414
|
id: string;
|
346
415
|
userInfo: AnyObject;
|
347
|
-
msgList:
|
416
|
+
msgList: {
|
417
|
+
[x: string]: any;
|
418
|
+
id: string;
|
419
|
+
sessionKey: string;
|
420
|
+
content: {
|
421
|
+
[x: string]: any;
|
422
|
+
chatMessageType: string;
|
423
|
+
msg: string;
|
424
|
+
referenceContent?: any;
|
425
|
+
forwardMessageList?: AnyObject[] | undefined;
|
426
|
+
messageTemplate?: any;
|
427
|
+
messageTemplateData?: any;
|
428
|
+
fileUrl?: string | undefined;
|
429
|
+
avStatus?: string | undefined;
|
430
|
+
};
|
431
|
+
senderName: string;
|
432
|
+
sendTime: string;
|
433
|
+
sender: string;
|
434
|
+
status: string;
|
435
|
+
senderAvatar: string;
|
436
|
+
__content: string;
|
437
|
+
__time?: string | undefined;
|
438
|
+
__sendTime?: string | undefined;
|
439
|
+
}[];
|
348
440
|
currentMsg: AnyObject;
|
349
441
|
isAppendMsg: boolean;
|
350
442
|
sessionList: AnyObject[];
|
@@ -373,11 +465,26 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
373
465
|
remark: string;
|
374
466
|
contents: AnyObject[];
|
375
467
|
}) => Promise<void>;
|
376
|
-
imageList: import("vue").Ref<
|
468
|
+
imageList: import("vue").Ref<{
|
469
|
+
label: string;
|
470
|
+
list: {
|
471
|
+
[x: string]: any;
|
472
|
+
id: string;
|
473
|
+
fileUrl: string;
|
474
|
+
senderName: string;
|
475
|
+
fileSize: string;
|
476
|
+
sendTime: string;
|
477
|
+
fileName: string;
|
478
|
+
width?: number | undefined;
|
479
|
+
height?: number | undefined;
|
480
|
+
}[];
|
481
|
+
}[]>;
|
377
482
|
fileList: import("vue").Ref<AnyObject[]>;
|
378
483
|
imageRef: import("vue").Ref<any>;
|
379
484
|
fileRef: import("vue").Ref<any>;
|
380
485
|
keyword: import("vue").Ref<any>;
|
486
|
+
currentImgId: import("vue").Ref<string | undefined>;
|
487
|
+
showLightbox: import("vue").Ref<boolean>;
|
381
488
|
handleInput: () => void;
|
382
489
|
pageInfo: {
|
383
490
|
page: number;
|
@@ -387,13 +494,23 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
387
494
|
handleSearch: () => Promise<void>;
|
388
495
|
formatImageList: (data: AnyObject[]) => {
|
389
496
|
label: string;
|
390
|
-
list:
|
497
|
+
list: import("../types").ImageItem[];
|
391
498
|
}[];
|
392
499
|
resetAndSearch: () => void;
|
500
|
+
previewImg: (fileUrl: string) => void;
|
393
501
|
title: import("vue").ComputedRef<"聊天图片" | "聊天文件">;
|
502
|
+
images: import("vue").ComputedRef<{
|
503
|
+
[x: string]: any;
|
504
|
+
id: string;
|
505
|
+
fileUrl: string;
|
506
|
+
senderName: string;
|
507
|
+
fileSize: string;
|
508
|
+
sendTime: string;
|
509
|
+
fileName: string;
|
510
|
+
width?: number | undefined;
|
511
|
+
height?: number | undefined;
|
512
|
+
}[]>;
|
394
513
|
NModal: any;
|
395
|
-
NImageGroup: any;
|
396
|
-
NImage: any;
|
397
514
|
NInput: any;
|
398
515
|
NIcon: any;
|
399
516
|
NTooltip: any;
|
@@ -468,7 +585,30 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
468
585
|
currentSessionItem: AnyObject;
|
469
586
|
id: string;
|
470
587
|
userInfo: AnyObject;
|
471
|
-
msgList:
|
588
|
+
msgList: {
|
589
|
+
[x: string]: any;
|
590
|
+
id: string;
|
591
|
+
sessionKey: string;
|
592
|
+
content: {
|
593
|
+
[x: string]: any;
|
594
|
+
chatMessageType: string;
|
595
|
+
msg: string;
|
596
|
+
referenceContent?: any;
|
597
|
+
forwardMessageList?: AnyObject[] | undefined;
|
598
|
+
messageTemplate?: any;
|
599
|
+
messageTemplateData?: any;
|
600
|
+
fileUrl?: string | undefined;
|
601
|
+
avStatus?: string | undefined;
|
602
|
+
};
|
603
|
+
senderName: string;
|
604
|
+
sendTime: string;
|
605
|
+
sender: string;
|
606
|
+
status: string;
|
607
|
+
senderAvatar: string;
|
608
|
+
__content: string;
|
609
|
+
__time?: string | undefined;
|
610
|
+
__sendTime?: string | undefined;
|
611
|
+
}[];
|
472
612
|
currentMsg: AnyObject;
|
473
613
|
isAppendMsg: boolean;
|
474
614
|
sessionList: AnyObject[];
|
@@ -598,6 +738,107 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
598
738
|
mode: string;
|
599
739
|
disabledIds: string[];
|
600
740
|
}>;
|
741
|
+
ImageLightbox: import("vue").DefineComponent<{
|
742
|
+
images: {
|
743
|
+
type: import("vue").PropType<import("../types").ImageItem[]>;
|
744
|
+
default: () => never[];
|
745
|
+
};
|
746
|
+
visible: {
|
747
|
+
type: BooleanConstructor;
|
748
|
+
};
|
749
|
+
currentId: {
|
750
|
+
type: StringConstructor;
|
751
|
+
default: string;
|
752
|
+
};
|
753
|
+
}, {
|
754
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
755
|
+
images: {
|
756
|
+
type: import("vue").PropType<import("../types").ImageItem[]>;
|
757
|
+
default: () => never[];
|
758
|
+
};
|
759
|
+
visible: {
|
760
|
+
type: BooleanConstructor;
|
761
|
+
};
|
762
|
+
currentId: {
|
763
|
+
type: StringConstructor;
|
764
|
+
default: string;
|
765
|
+
};
|
766
|
+
}>> & {
|
767
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
768
|
+
"onUpdate:currentId"?: ((...args: any[]) => any) | undefined;
|
769
|
+
}>>;
|
770
|
+
emit: (event: "update:visible" | "update:currentId", ...args: any[]) => void;
|
771
|
+
imageEl: import("vue").Ref<HTMLImageElement | null>;
|
772
|
+
naturalSize: import("vue").Ref<{
|
773
|
+
width: number;
|
774
|
+
height: number;
|
775
|
+
}>;
|
776
|
+
scale: import("vue").Ref<number>;
|
777
|
+
rotation: import("vue").Ref<number>;
|
778
|
+
isDragging: import("vue").Ref<boolean>;
|
779
|
+
offset: import("vue").Ref<{
|
780
|
+
x: number;
|
781
|
+
y: number;
|
782
|
+
}>;
|
783
|
+
lastMouse: import("vue").Ref<{
|
784
|
+
x: number;
|
785
|
+
y: number;
|
786
|
+
}>;
|
787
|
+
idToIndexMap: import("vue").ComputedRef<Map<string, number>>;
|
788
|
+
currentIndex: import("vue").ComputedRef<number>;
|
789
|
+
currentImageData: import("vue").ComputedRef<import("../types").ImageItem>;
|
790
|
+
hasNext: import("vue").ComputedRef<boolean>;
|
791
|
+
hasPrev: import("vue").ComputedRef<boolean>;
|
792
|
+
imageStyle: import("vue").ComputedRef<{
|
793
|
+
left: string;
|
794
|
+
top: string;
|
795
|
+
transform: string;
|
796
|
+
cursor: string;
|
797
|
+
transition: string;
|
798
|
+
}>;
|
799
|
+
resetImageState: () => void;
|
800
|
+
close: () => void;
|
801
|
+
nextImage: () => void;
|
802
|
+
prevImage: () => void;
|
803
|
+
rotate: (degrees: number) => void;
|
804
|
+
zoomIn: () => void;
|
805
|
+
zoomOut: () => void;
|
806
|
+
resetZoom: () => void;
|
807
|
+
startDrag: (e: MouseEvent) => void;
|
808
|
+
onDragMove: (e: MouseEvent) => void;
|
809
|
+
endDrag: () => void;
|
810
|
+
handleWheel: (e: WheelEvent) => void;
|
811
|
+
handleImageLoad: () => void;
|
812
|
+
download: () => void;
|
813
|
+
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<{}>>, {}>;
|
814
|
+
PlaySkipBackOutline: 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<{}>>, {}>;
|
815
|
+
PlaySkipForwardOutline: 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<{}>>, {}>;
|
816
|
+
DownloadOutline: 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<{}>>, {}>;
|
817
|
+
RefreshOutline: 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<{}>>, {}>;
|
818
|
+
AddOutline: 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<{}>>, {}>;
|
819
|
+
RemoveSharp: 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<{}>>, {}>;
|
820
|
+
NButton: any;
|
821
|
+
NIcon: any;
|
822
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "update:currentId")[], "update:visible" | "update:currentId", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
823
|
+
images: {
|
824
|
+
type: import("vue").PropType<import("../types").ImageItem[]>;
|
825
|
+
default: () => never[];
|
826
|
+
};
|
827
|
+
visible: {
|
828
|
+
type: BooleanConstructor;
|
829
|
+
};
|
830
|
+
currentId: {
|
831
|
+
type: StringConstructor;
|
832
|
+
default: string;
|
833
|
+
};
|
834
|
+
}>> & {
|
835
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
836
|
+
"onUpdate:currentId"?: ((...args: any[]) => any) | undefined;
|
837
|
+
}, {
|
838
|
+
visible: boolean;
|
839
|
+
images: import("../types").ImageItem[];
|
840
|
+
currentId: string;
|
841
|
+
}>;
|
601
842
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
602
843
|
type: {
|
603
844
|
type: StringConstructor;
|
@@ -629,7 +870,30 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
629
870
|
currentSessionItem: AnyObject;
|
630
871
|
id: string;
|
631
872
|
userInfo: AnyObject;
|
632
|
-
msgList:
|
873
|
+
msgList: {
|
874
|
+
[x: string]: any;
|
875
|
+
id: string;
|
876
|
+
sessionKey: string;
|
877
|
+
content: {
|
878
|
+
[x: string]: any;
|
879
|
+
chatMessageType: string;
|
880
|
+
msg: string;
|
881
|
+
referenceContent?: any;
|
882
|
+
forwardMessageList?: AnyObject[] | undefined;
|
883
|
+
messageTemplate?: any;
|
884
|
+
messageTemplateData?: any;
|
885
|
+
fileUrl?: string | undefined;
|
886
|
+
avStatus?: string | undefined;
|
887
|
+
};
|
888
|
+
senderName: string;
|
889
|
+
sendTime: string;
|
890
|
+
sender: string;
|
891
|
+
status: string;
|
892
|
+
senderAvatar: string;
|
893
|
+
__content: string;
|
894
|
+
__time?: string | undefined;
|
895
|
+
__sendTime?: string | undefined;
|
896
|
+
}[];
|
633
897
|
currentMsg: AnyObject;
|
634
898
|
isAppendMsg: boolean;
|
635
899
|
sessionList: AnyObject[];
|
@@ -830,7 +1094,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
830
1094
|
MESSAGE_TYPE: typeof import("../constants").MESSAGE_TYPE;
|
831
1095
|
emojis: {
|
832
1096
|
default: string[][];
|
833
|
-
findEmoji(name: string):
|
1097
|
+
findEmoji(name: string): string | undefined;
|
834
1098
|
};
|
835
1099
|
MessageEvent: import("vue").DefineComponent<{
|
836
1100
|
data: {
|
@@ -849,7 +1113,30 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
849
1113
|
currentSessionItem: AnyObject;
|
850
1114
|
id: string;
|
851
1115
|
userInfo: AnyObject;
|
852
|
-
msgList:
|
1116
|
+
msgList: {
|
1117
|
+
[x: string]: any;
|
1118
|
+
id: string;
|
1119
|
+
sessionKey: string;
|
1120
|
+
content: {
|
1121
|
+
[x: string]: any;
|
1122
|
+
chatMessageType: string;
|
1123
|
+
msg: string;
|
1124
|
+
referenceContent?: any;
|
1125
|
+
forwardMessageList?: AnyObject[] | undefined;
|
1126
|
+
messageTemplate?: any;
|
1127
|
+
messageTemplateData?: any;
|
1128
|
+
fileUrl?: string | undefined;
|
1129
|
+
avStatus?: string | undefined;
|
1130
|
+
};
|
1131
|
+
senderName: string;
|
1132
|
+
sendTime: string;
|
1133
|
+
sender: string;
|
1134
|
+
status: string;
|
1135
|
+
senderAvatar: string;
|
1136
|
+
__content: string;
|
1137
|
+
__time?: string | undefined;
|
1138
|
+
__sendTime?: string | undefined;
|
1139
|
+
}[];
|
853
1140
|
currentMsg: AnyObject;
|
854
1141
|
isAppendMsg: boolean;
|
855
1142
|
sessionList: AnyObject[];
|
@@ -957,7 +1244,30 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
957
1244
|
currentSessionItem: AnyObject;
|
958
1245
|
id: string;
|
959
1246
|
userInfo: AnyObject;
|
960
|
-
msgList:
|
1247
|
+
msgList: {
|
1248
|
+
[x: string]: any;
|
1249
|
+
id: string;
|
1250
|
+
sessionKey: string;
|
1251
|
+
content: {
|
1252
|
+
[x: string]: any;
|
1253
|
+
chatMessageType: string;
|
1254
|
+
msg: string;
|
1255
|
+
referenceContent?: any;
|
1256
|
+
forwardMessageList?: AnyObject[] | undefined;
|
1257
|
+
messageTemplate?: any;
|
1258
|
+
messageTemplateData?: any;
|
1259
|
+
fileUrl?: string | undefined;
|
1260
|
+
avStatus?: string | undefined;
|
1261
|
+
};
|
1262
|
+
senderName: string;
|
1263
|
+
sendTime: string;
|
1264
|
+
sender: string;
|
1265
|
+
status: string;
|
1266
|
+
senderAvatar: string;
|
1267
|
+
__content: string;
|
1268
|
+
__time?: string | undefined;
|
1269
|
+
__sendTime?: string | undefined;
|
1270
|
+
}[];
|
961
1271
|
currentMsg: AnyObject;
|
962
1272
|
isAppendMsg: boolean;
|
963
1273
|
sessionList: AnyObject[];
|
@@ -1089,5 +1399,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
1089
1399
|
}>;
|
1090
1400
|
PersonAddOutline: 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<{}>>, {}>;
|
1091
1401
|
CloseOutline: 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<{}>>, {}>;
|
1402
|
+
FolderOutline: 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<{}>>, {}>;
|
1403
|
+
ImageOutline: 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<{}>>, {}>;
|
1404
|
+
SettingsOutline: 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<{}>>, {}>;
|
1405
|
+
SearchLocate: 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<{}>>, {}>;
|
1092
1406
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1093
1407
|
export default _default;
|
@@ -12,7 +12,8 @@ import ChatSet from './ChatSet.vue.js';
|
|
12
12
|
import ChatFile from './ChatFile.vue.js';
|
13
13
|
import ChatRecord from './ChatRecord.vue.js';
|
14
14
|
import ChatAdd from './ChatAdd.vue.js';
|
15
|
-
import { PersonAddOutline, CloseOutline } from '@vicons/ionicons5';
|
15
|
+
import { ImageOutline, FolderOutline, PersonAddOutline, SettingsOutline, CloseOutline } from '@vicons/ionicons5';
|
16
|
+
import { SearchLocate } from '@vicons/carbon';
|
16
17
|
|
17
18
|
const _hoisted_1 = {
|
18
19
|
key: 0,
|
@@ -27,18 +28,6 @@ const _hoisted_3 = {
|
|
27
28
|
const _hoisted_4 = {
|
28
29
|
class: "chat-header__right"
|
29
30
|
};
|
30
|
-
const _hoisted_5 = /* @__PURE__ */ createElementVNode("i", {
|
31
|
-
class: "chat--iconfont chat--icon-image"
|
32
|
-
}, null, -1);
|
33
|
-
const _hoisted_6 = /* @__PURE__ */ createElementVNode("i", {
|
34
|
-
class: "chat--iconfont chat--icon-folder"
|
35
|
-
}, null, -1);
|
36
|
-
const _hoisted_7 = /* @__PURE__ */ createElementVNode("i", {
|
37
|
-
class: "chat--iconfont chat--icon-list-search"
|
38
|
-
}, null, -1);
|
39
|
-
const _hoisted_8 = /* @__PURE__ */ createElementVNode("i", {
|
40
|
-
class: "chat--iconfont chat--icon-set"
|
41
|
-
}, null, -1);
|
42
31
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
43
32
|
__name: "ChatHeader",
|
44
33
|
setup(__props) {
|
@@ -107,7 +96,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
107
96
|
size: "tiny",
|
108
97
|
onClick: _cache[1] || (_cache[1] = () => handleOpenChatFile("image"))
|
109
98
|
}, {
|
110
|
-
icon: withCtx(() => [
|
99
|
+
icon: withCtx(() => [createVNode(unref(NIcon), {
|
100
|
+
size: "18",
|
101
|
+
component: unref(ImageOutline)
|
102
|
+
}, null, 8, ["component"])]),
|
111
103
|
_: 1
|
112
104
|
})]),
|
113
105
|
default: withCtx(() => [createTextVNode(function() {
|
@@ -128,7 +120,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
128
120
|
size: "tiny",
|
129
121
|
onClick: _cache[2] || (_cache[2] = () => handleOpenChatFile("file"))
|
130
122
|
}, {
|
131
|
-
icon: withCtx(() => [
|
123
|
+
icon: withCtx(() => [createVNode(unref(NIcon), {
|
124
|
+
size: "18",
|
125
|
+
component: unref(FolderOutline)
|
126
|
+
}, null, 8, ["component"])]),
|
132
127
|
_: 1
|
133
128
|
})]),
|
134
129
|
default: withCtx(() => [createTextVNode(function() {
|
@@ -175,7 +170,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
175
170
|
size: "tiny",
|
176
171
|
onClick: _cache[3] || (_cache[3] = () => showChatRecord.value = true)
|
177
172
|
}, {
|
178
|
-
icon: withCtx(() => [
|
173
|
+
icon: withCtx(() => [createVNode(unref(NIcon), {
|
174
|
+
size: "18",
|
175
|
+
component: unref(SearchLocate)
|
176
|
+
}, null, 8, ["component"])]),
|
179
177
|
_: 1
|
180
178
|
})]),
|
181
179
|
default: withCtx(() => [createTextVNode(function() {
|
@@ -196,7 +194,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
196
194
|
size: "tiny",
|
197
195
|
onClick: _cache[4] || (_cache[4] = () => showChatSet.value = true)
|
198
196
|
}, {
|
199
|
-
icon: withCtx(() => [
|
197
|
+
icon: withCtx(() => [createVNode(unref(NIcon), {
|
198
|
+
size: "18",
|
199
|
+
component: unref(SettingsOutline)
|
200
|
+
}, null, 8, ["component"])]),
|
200
201
|
_: 1
|
201
202
|
})]),
|
202
203
|
default: withCtx(() => [createTextVNode(function() {
|