cnhis-design-vue 3.2.7-release.0 → 3.2.7-release.2
Sign up to get free protection for your applications and to get access to all the features.
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/classification/index.d.ts +60 -5
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +60 -5
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +60 -5
- package/es/components/classification/src/index.vue.d.ts +60 -5
- package/es/components/date-picker/index.d.ts +13 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +13 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/fabric-chart/src/constants/index.d.ts +3 -1
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +8 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +9 -6
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.d.ts +0 -2
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +8 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +8 -3
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useScaleColumn.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +11 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +26 -0
- package/es/components/field-set/src/components/condition.vue.d.ts +13 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +26 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +13 -0
- package/es/components/form-config/index.d.ts +3 -3
- package/es/components/form-config/src/FormConfig.vue.d.ts +3 -3
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3 -3
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +2 -1
- package/es/components/form-render/src/types/index.d.ts +1 -1
- package/es/components/form-render/src/utils/business.js +1 -1
- package/es/components/form-render/src/utils/schema.d.ts +1 -1
- package/es/components/form-render/src/utils/schema.js +1 -1
- package/es/components/iho-chat/index.d.ts +204 -69
- package/es/components/iho-chat/src/Index.vue.d.ts +204 -69
- package/es/components/iho-chat/src/Index.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +34 -13
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +38 -13
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +48 -14
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +20 -3
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +13 -0
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +3 -10
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ContextMenu.d.ts +15 -2
- package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +47 -22
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
- package/es/components/iho-chat/src/hooks/useScrollLoading.d.ts +1 -1
- package/es/components/iho-chat/src/hooks/useScrollLoading.js +1 -1
- package/es/components/iho-chat/src/hooks/useSearchUserList.d.ts +11 -0
- package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -0
- package/es/components/iho-chat/src/types/index.d.ts +0 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +13 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +13 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +20 -2
- package/es/components/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +47 -5
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +37 -19
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +47 -5
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +47 -5
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +33 -18
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +69 -4
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +69 -4
- package/es/components/table-filter/src/tool/transformData.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +1 -0
- package/es/components/time-picker/index.d.ts +20 -2
- package/es/components/time-picker/src/TimePicker.vue.d.ts +21 -2
- package/es/components/time-picker/src/TimePicker.vue2.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/business.js +1 -1
- package/package.json +2 -2
@@ -16,6 +16,13 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
16
16
|
type: StringConstructor;
|
17
17
|
default: string;
|
18
18
|
};
|
19
|
+
chatBox: {
|
20
|
+
type: BooleanConstructor;
|
21
|
+
default: boolean;
|
22
|
+
};
|
23
|
+
defaultSessionKey: {
|
24
|
+
type: StringConstructor;
|
25
|
+
};
|
19
26
|
}, {
|
20
27
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
21
28
|
token: {
|
@@ -34,6 +41,13 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
34
41
|
type: StringConstructor;
|
35
42
|
default: string;
|
36
43
|
};
|
44
|
+
chatBox: {
|
45
|
+
type: BooleanConstructor;
|
46
|
+
default: boolean;
|
47
|
+
};
|
48
|
+
defaultSessionKey: {
|
49
|
+
type: StringConstructor;
|
50
|
+
};
|
37
51
|
}>> & {
|
38
52
|
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
39
53
|
"onUnread-message-update"?: ((...args: any[]) => any) | undefined;
|
@@ -57,7 +71,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
57
71
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
58
72
|
showVideo: boolean;
|
59
73
|
currentAVMsg: import("../../shared/types").AnyObject;
|
60
|
-
userList: import("../../shared/types").AnyObject[];
|
61
74
|
currentGroupUser: import("../../shared/types").AnyObject[];
|
62
75
|
showMultipleVideo: boolean;
|
63
76
|
};
|
@@ -70,9 +83,9 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
70
83
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
71
84
|
groupSessionList: import("../../shared/types").AnyObject[];
|
72
85
|
init: () => Promise<void>;
|
73
|
-
handleUserSearch: () => Promise<void>;
|
74
86
|
initWebSocket: () => void;
|
75
87
|
subscribeSessionList: () => void;
|
88
|
+
handleDefaultSession: () => void;
|
76
89
|
subscribeGroupMessage: () => void;
|
77
90
|
subscribeMessage: () => void;
|
78
91
|
handleMessage: (messageVo: import("../../shared/types").AnyObject, chatType: string) => Promise<void>;
|
@@ -132,7 +145,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
132
145
|
defaultValue?: undefined;
|
133
146
|
} | {
|
134
147
|
mode: string;
|
135
|
-
defaultValue:
|
148
|
+
defaultValue: import("../../shared/types").AnyObject[];
|
136
149
|
disabledIds?: undefined;
|
137
150
|
}>;
|
138
151
|
handleOpenChatFile: (type: string) => void;
|
@@ -414,6 +427,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
414
427
|
allowedInvalidValue: {
|
415
428
|
type: StringConstructor;
|
416
429
|
};
|
430
|
+
to: {
|
431
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
432
|
+
default: string;
|
433
|
+
};
|
417
434
|
}, {
|
418
435
|
attrs: {
|
419
436
|
[x: string]: unknown;
|
@@ -434,6 +451,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
434
451
|
allowedInvalidValue: {
|
435
452
|
type: StringConstructor;
|
436
453
|
};
|
454
|
+
to: {
|
455
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
456
|
+
default: string;
|
457
|
+
};
|
437
458
|
}>> & {
|
438
459
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
439
460
|
}>>;
|
@@ -470,10 +491,15 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
470
491
|
allowedInvalidValue: {
|
471
492
|
type: StringConstructor;
|
472
493
|
};
|
494
|
+
to: {
|
495
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
496
|
+
default: string;
|
497
|
+
};
|
473
498
|
}>> & {
|
474
499
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
475
500
|
}, {
|
476
501
|
updateUnchangedValue: boolean;
|
502
|
+
to: string | false | HTMLElement;
|
477
503
|
}>>;
|
478
504
|
formatTime: typeof import("./src/utils").formatTime;
|
479
505
|
MESSAGE_TYPE: typeof import("./src/constants").MESSAGE_TYPE;
|
@@ -502,9 +528,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
502
528
|
};
|
503
529
|
disabledIds: {
|
504
530
|
type: import("vue").PropType<string[]>;
|
531
|
+
default: () => never[];
|
505
532
|
};
|
506
533
|
defaultValue: {
|
507
|
-
type: import("vue").PropType<
|
534
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
508
535
|
};
|
509
536
|
}, {
|
510
537
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -521,34 +548,52 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
521
548
|
};
|
522
549
|
disabledIds: {
|
523
550
|
type: import("vue").PropType<string[]>;
|
551
|
+
default: () => never[];
|
524
552
|
};
|
525
553
|
defaultValue: {
|
526
|
-
type: import("vue").PropType<
|
554
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
527
555
|
};
|
528
556
|
}>> & {
|
529
557
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
530
558
|
}>>;
|
531
559
|
emit: (event: "comfirm", ...args: any[]) => void;
|
532
560
|
state: import("./src/types").IState;
|
561
|
+
listRef: import("vue").Ref<any>;
|
562
|
+
keyword: import("vue").Ref<any>;
|
533
563
|
showModal: import("vue").Ref<boolean>;
|
534
|
-
|
564
|
+
checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
535
565
|
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
536
566
|
groupName: import("vue").Ref<string>;
|
567
|
+
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
568
|
+
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
569
|
+
handleInput: () => void;
|
570
|
+
_disabledIds: import("vue").ComputedRef<any[]>;
|
571
|
+
defaultOptions: import("vue").ComputedRef<{
|
572
|
+
id: any;
|
573
|
+
name: any;
|
574
|
+
avatar: any;
|
575
|
+
}[]>;
|
576
|
+
checkedIds: import("vue").ComputedRef<any[]>;
|
537
577
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
578
|
+
allChecked: import("vue").WritableComputedRef<boolean>;
|
538
579
|
handlePositiveClick: () => Promise<void>;
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
}) => JSX.Element | null;
|
580
|
+
updateCheckedSourceIds: () => void;
|
581
|
+
handleSourceIdsUpdate: (value: (string | number)[], meta: {
|
582
|
+
actionType: "check" | "uncheck";
|
583
|
+
value: string | number;
|
584
|
+
}) => void;
|
585
|
+
closeTag: (id: string) => void;
|
586
|
+
renderTargetList: () => JSX.Element[] | null;
|
547
587
|
NModal: any;
|
548
588
|
NButton: any;
|
549
|
-
|
589
|
+
NSpace: any;
|
590
|
+
NAvatar: any;
|
550
591
|
NIcon: any;
|
592
|
+
NTag: any;
|
551
593
|
NInput: any;
|
594
|
+
NCheckbox: any;
|
595
|
+
NCheckboxGroup: any;
|
596
|
+
SearchOutline: 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<{}>>, {}>;
|
552
597
|
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<{}>>, {}>;
|
553
598
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
554
599
|
title: {
|
@@ -564,15 +609,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
564
609
|
};
|
565
610
|
disabledIds: {
|
566
611
|
type: import("vue").PropType<string[]>;
|
612
|
+
default: () => never[];
|
567
613
|
};
|
568
614
|
defaultValue: {
|
569
|
-
type: import("vue").PropType<
|
615
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
570
616
|
};
|
571
617
|
}>> & {
|
572
618
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
573
619
|
}, {
|
574
620
|
mode: string;
|
575
621
|
title: string;
|
622
|
+
disabledIds: string[];
|
576
623
|
}>;
|
577
624
|
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<{}>>, {}>;
|
578
625
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
@@ -582,7 +629,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
582
629
|
setMsgList: (list?: import("../../shared/types").AnyObject[]) => void;
|
583
630
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
584
631
|
isGroupChat: import("vue").ComputedRef<boolean>;
|
632
|
+
contextmenuRef: import("vue").Ref<any>;
|
585
633
|
showMenu: import("vue").Ref<boolean>;
|
634
|
+
menuPosition: any;
|
635
|
+
menuMsgId: import("vue").Ref<any>;
|
586
636
|
pageInfo: {
|
587
637
|
page: number;
|
588
638
|
hasMore: boolean;
|
@@ -593,6 +643,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
593
643
|
'--c-tip-gap': string;
|
594
644
|
}>;
|
595
645
|
getHistoryRecord: () => Promise<void>;
|
646
|
+
handleContextmenu: (event: MouseEvent, msgId: string) => Promise<void>;
|
647
|
+
setMenuPosition: (event: MouseEvent) => Promise<void>;
|
596
648
|
showMessage: (item: import("../../shared/types").AnyObject) => boolean;
|
597
649
|
showTemplateMsg: (item: import("../../shared/types").AnyObject, type: "template" | "system") => boolean | undefined;
|
598
650
|
isTemplate3: (content: import("../../shared/types").AnyObject) => boolean;
|
@@ -763,13 +815,25 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
763
815
|
type: BooleanConstructor;
|
764
816
|
default: boolean;
|
765
817
|
};
|
766
|
-
|
818
|
+
position: {
|
819
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
820
|
+
};
|
821
|
+
msgId: {
|
822
|
+
type: StringConstructor;
|
823
|
+
};
|
824
|
+
}, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show")[], "select" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
767
825
|
show: {
|
768
826
|
type: BooleanConstructor;
|
769
827
|
default: boolean;
|
770
828
|
};
|
829
|
+
position: {
|
830
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
831
|
+
};
|
832
|
+
msgId: {
|
833
|
+
type: StringConstructor;
|
834
|
+
};
|
771
835
|
}>> & {
|
772
|
-
|
836
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
773
837
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
774
838
|
}, {
|
775
839
|
show: boolean;
|
@@ -780,7 +844,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
780
844
|
getAVTime: typeof import("./src/utils").getAVTime;
|
781
845
|
MESSAGE_TYPE: typeof import("./src/constants").MESSAGE_TYPE;
|
782
846
|
ChatbubbleEllipsesOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
783
|
-
EllipsisHorizontal: 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<{}>>, {}>;
|
784
847
|
CallOutline: 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<{}>>, {}>;
|
785
848
|
VideocamOutline: 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<{}>>, {}>;
|
786
849
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
@@ -795,6 +858,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
795
858
|
}) => Promise<void>;
|
796
859
|
isGroupChat: import("vue").ComputedRef<boolean>;
|
797
860
|
showEmoji: import("vue").Ref<boolean>;
|
861
|
+
chatAddProps: import("vue").ComputedRef<{
|
862
|
+
options: import("../../shared/types").AnyObject[];
|
863
|
+
defaultValue: import("../../shared/types").AnyObject[];
|
864
|
+
}>;
|
798
865
|
handleCall: (chatMessageType: string, checkedIds?: never[]) => void;
|
799
866
|
handleKeyDown: (event: KeyboardEvent) => void;
|
800
867
|
isWrap: (event: KeyboardEvent) => boolean;
|
@@ -826,9 +893,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
826
893
|
};
|
827
894
|
disabledIds: {
|
828
895
|
type: import("vue").PropType<string[]>;
|
896
|
+
default: () => never[];
|
829
897
|
};
|
830
898
|
defaultValue: {
|
831
|
-
type: import("vue").PropType<
|
899
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
832
900
|
};
|
833
901
|
}, {
|
834
902
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -845,34 +913,52 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
845
913
|
};
|
846
914
|
disabledIds: {
|
847
915
|
type: import("vue").PropType<string[]>;
|
916
|
+
default: () => never[];
|
848
917
|
};
|
849
918
|
defaultValue: {
|
850
|
-
type: import("vue").PropType<
|
919
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
851
920
|
};
|
852
921
|
}>> & {
|
853
922
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
854
923
|
}>>;
|
855
924
|
emit: (event: "comfirm", ...args: any[]) => void;
|
856
925
|
state: import("./src/types").IState;
|
926
|
+
listRef: import("vue").Ref<any>;
|
927
|
+
keyword: import("vue").Ref<any>;
|
857
928
|
showModal: import("vue").Ref<boolean>;
|
858
|
-
|
929
|
+
checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
859
930
|
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
860
931
|
groupName: import("vue").Ref<string>;
|
932
|
+
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
933
|
+
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
934
|
+
handleInput: () => void;
|
935
|
+
_disabledIds: import("vue").ComputedRef<any[]>;
|
936
|
+
defaultOptions: import("vue").ComputedRef<{
|
937
|
+
id: any;
|
938
|
+
name: any;
|
939
|
+
avatar: any;
|
940
|
+
}[]>;
|
941
|
+
checkedIds: import("vue").ComputedRef<any[]>;
|
861
942
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
943
|
+
allChecked: import("vue").WritableComputedRef<boolean>;
|
862
944
|
handlePositiveClick: () => Promise<void>;
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
}) => JSX.Element | null;
|
945
|
+
updateCheckedSourceIds: () => void;
|
946
|
+
handleSourceIdsUpdate: (value: (string | number)[], meta: {
|
947
|
+
actionType: "check" | "uncheck";
|
948
|
+
value: string | number;
|
949
|
+
}) => void;
|
950
|
+
closeTag: (id: string) => void;
|
951
|
+
renderTargetList: () => JSX.Element[] | null;
|
871
952
|
NModal: any;
|
872
953
|
NButton: any;
|
873
|
-
|
954
|
+
NSpace: any;
|
955
|
+
NAvatar: any;
|
874
956
|
NIcon: any;
|
957
|
+
NTag: any;
|
875
958
|
NInput: any;
|
959
|
+
NCheckbox: any;
|
960
|
+
NCheckboxGroup: any;
|
961
|
+
SearchOutline: 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<{}>>, {}>;
|
876
962
|
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<{}>>, {}>;
|
877
963
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
878
964
|
title: {
|
@@ -888,15 +974,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
888
974
|
};
|
889
975
|
disabledIds: {
|
890
976
|
type: import("vue").PropType<string[]>;
|
977
|
+
default: () => never[];
|
891
978
|
};
|
892
979
|
defaultValue: {
|
893
|
-
type: import("vue").PropType<
|
980
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
894
981
|
};
|
895
982
|
}>> & {
|
896
983
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
897
984
|
}, {
|
898
985
|
mode: string;
|
899
986
|
title: string;
|
987
|
+
disabledIds: string[];
|
900
988
|
}>;
|
901
989
|
emojis: {
|
902
990
|
default: string[][];
|
@@ -914,16 +1002,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
914
1002
|
inputRef: import("vue").Ref<any>;
|
915
1003
|
showSearch: import("vue").Ref<boolean>;
|
916
1004
|
keyword: import("vue").Ref<any>;
|
917
|
-
userList: import("vue").Ref<any>;
|
918
1005
|
state: import("./src/types").IState;
|
919
1006
|
openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
|
920
|
-
|
921
|
-
page: number;
|
922
|
-
hasMore: boolean;
|
923
|
-
};
|
1007
|
+
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
924
1008
|
handleInput: () => void;
|
925
|
-
handleSearch: () => Promise<void>;
|
926
|
-
resetAndSearch: () => void;
|
927
1009
|
addSession: (userId: string) => Promise<void>;
|
928
1010
|
NPopover: any;
|
929
1011
|
NButton: any;
|
@@ -946,9 +1028,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
946
1028
|
};
|
947
1029
|
disabledIds: {
|
948
1030
|
type: import("vue").PropType<string[]>;
|
1031
|
+
default: () => never[];
|
949
1032
|
};
|
950
1033
|
defaultValue: {
|
951
|
-
type: import("vue").PropType<
|
1034
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
952
1035
|
};
|
953
1036
|
}, {
|
954
1037
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -965,34 +1048,52 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
965
1048
|
};
|
966
1049
|
disabledIds: {
|
967
1050
|
type: import("vue").PropType<string[]>;
|
1051
|
+
default: () => never[];
|
968
1052
|
};
|
969
1053
|
defaultValue: {
|
970
|
-
type: import("vue").PropType<
|
1054
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
971
1055
|
};
|
972
1056
|
}>> & {
|
973
1057
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
974
1058
|
}>>;
|
975
1059
|
emit: (event: "comfirm", ...args: any[]) => void;
|
976
1060
|
state: import("./src/types").IState;
|
1061
|
+
listRef: import("vue").Ref<any>;
|
1062
|
+
keyword: import("vue").Ref<any>;
|
977
1063
|
showModal: import("vue").Ref<boolean>;
|
978
|
-
|
1064
|
+
checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
979
1065
|
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
980
1066
|
groupName: import("vue").Ref<string>;
|
1067
|
+
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
1068
|
+
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1069
|
+
handleInput: () => void;
|
1070
|
+
_disabledIds: import("vue").ComputedRef<any[]>;
|
1071
|
+
defaultOptions: import("vue").ComputedRef<{
|
1072
|
+
id: any;
|
1073
|
+
name: any;
|
1074
|
+
avatar: any;
|
1075
|
+
}[]>;
|
1076
|
+
checkedIds: import("vue").ComputedRef<any[]>;
|
981
1077
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
1078
|
+
allChecked: import("vue").WritableComputedRef<boolean>;
|
982
1079
|
handlePositiveClick: () => Promise<void>;
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
}) => JSX.Element | null;
|
1080
|
+
updateCheckedSourceIds: () => void;
|
1081
|
+
handleSourceIdsUpdate: (value: (string | number)[], meta: {
|
1082
|
+
actionType: "check" | "uncheck";
|
1083
|
+
value: string | number;
|
1084
|
+
}) => void;
|
1085
|
+
closeTag: (id: string) => void;
|
1086
|
+
renderTargetList: () => JSX.Element[] | null;
|
991
1087
|
NModal: any;
|
992
1088
|
NButton: any;
|
993
|
-
|
1089
|
+
NSpace: any;
|
1090
|
+
NAvatar: any;
|
994
1091
|
NIcon: any;
|
1092
|
+
NTag: any;
|
995
1093
|
NInput: any;
|
1094
|
+
NCheckbox: any;
|
1095
|
+
NCheckboxGroup: any;
|
1096
|
+
SearchOutline: 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<{}>>, {}>;
|
996
1097
|
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<{}>>, {}>;
|
997
1098
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
998
1099
|
title: {
|
@@ -1008,15 +1109,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1008
1109
|
};
|
1009
1110
|
disabledIds: {
|
1010
1111
|
type: import("vue").PropType<string[]>;
|
1112
|
+
default: () => never[];
|
1011
1113
|
};
|
1012
1114
|
defaultValue: {
|
1013
|
-
type: import("vue").PropType<
|
1115
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1014
1116
|
};
|
1015
1117
|
}>> & {
|
1016
1118
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
1017
1119
|
}, {
|
1018
1120
|
mode: string;
|
1019
1121
|
title: string;
|
1122
|
+
disabledIds: string[];
|
1020
1123
|
}>;
|
1021
1124
|
Video: import("vue").DefineComponent<{}, {
|
1022
1125
|
sendMessage: (message: {
|
@@ -1071,7 +1174,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1071
1174
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1072
1175
|
MultipleVideo: import("vue").DefineComponent<{}, {
|
1073
1176
|
selfVideoRef: import("vue").Ref<any>;
|
1074
|
-
remoteUsers: import("vue").Ref<
|
1177
|
+
remoteUsers: import("vue").Ref<{
|
1178
|
+
id: string;
|
1179
|
+
name: string;
|
1180
|
+
}[]>;
|
1075
1181
|
state: import("./src/types").IState;
|
1076
1182
|
sendMessage: (message: {
|
1077
1183
|
chatType?: string | undefined;
|
@@ -1099,11 +1205,11 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1099
1205
|
installEventHandlers: () => void;
|
1100
1206
|
uninstallEventHandlers: () => void;
|
1101
1207
|
handleRemoteVideoAvailable: (event: any) => Promise<void>;
|
1102
|
-
handleRemoteAudioAvailable: (event: any) => void
|
1103
|
-
handleRemoteUserEnter: (event: any) => void
|
1208
|
+
handleRemoteAudioAvailable: (event: any) => Promise<void>;
|
1209
|
+
handleRemoteUserEnter: (event: any) => Promise<void>;
|
1210
|
+
getUserName: (userId: string) => Promise<any>;
|
1104
1211
|
handleRemoteUserExit: (event: any) => void;
|
1105
1212
|
handleError: (error: any) => void;
|
1106
|
-
getName: (id: string) => any;
|
1107
1213
|
NButton: any;
|
1108
1214
|
NIcon: any;
|
1109
1215
|
ChatAdd: import("vue").DefineComponent<{
|
@@ -1120,9 +1226,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1120
1226
|
};
|
1121
1227
|
disabledIds: {
|
1122
1228
|
type: import("vue").PropType<string[]>;
|
1229
|
+
default: () => never[];
|
1123
1230
|
};
|
1124
1231
|
defaultValue: {
|
1125
|
-
type: import("vue").PropType<
|
1232
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1126
1233
|
};
|
1127
1234
|
}, {
|
1128
1235
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -1139,34 +1246,52 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1139
1246
|
};
|
1140
1247
|
disabledIds: {
|
1141
1248
|
type: import("vue").PropType<string[]>;
|
1249
|
+
default: () => never[];
|
1142
1250
|
};
|
1143
1251
|
defaultValue: {
|
1144
|
-
type: import("vue").PropType<
|
1252
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1145
1253
|
};
|
1146
1254
|
}>> & {
|
1147
1255
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
1148
1256
|
}>>;
|
1149
1257
|
emit: (event: "comfirm", ...args: any[]) => void;
|
1150
1258
|
state: import("./src/types").IState;
|
1259
|
+
listRef: import("vue").Ref<any>;
|
1260
|
+
keyword: import("vue").Ref<any>;
|
1151
1261
|
showModal: import("vue").Ref<boolean>;
|
1152
|
-
|
1262
|
+
checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1153
1263
|
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1154
1264
|
groupName: import("vue").Ref<string>;
|
1265
|
+
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
1266
|
+
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1267
|
+
handleInput: () => void;
|
1268
|
+
_disabledIds: import("vue").ComputedRef<any[]>;
|
1269
|
+
defaultOptions: import("vue").ComputedRef<{
|
1270
|
+
id: any;
|
1271
|
+
name: any;
|
1272
|
+
avatar: any;
|
1273
|
+
}[]>;
|
1274
|
+
checkedIds: import("vue").ComputedRef<any[]>;
|
1155
1275
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
1276
|
+
allChecked: import("vue").WritableComputedRef<boolean>;
|
1156
1277
|
handlePositiveClick: () => Promise<void>;
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
}) => JSX.Element | null;
|
1278
|
+
updateCheckedSourceIds: () => void;
|
1279
|
+
handleSourceIdsUpdate: (value: (string | number)[], meta: {
|
1280
|
+
actionType: "check" | "uncheck";
|
1281
|
+
value: string | number;
|
1282
|
+
}) => void;
|
1283
|
+
closeTag: (id: string) => void;
|
1284
|
+
renderTargetList: () => JSX.Element[] | null;
|
1165
1285
|
NModal: any;
|
1166
1286
|
NButton: any;
|
1167
|
-
|
1287
|
+
NSpace: any;
|
1288
|
+
NAvatar: any;
|
1168
1289
|
NIcon: any;
|
1290
|
+
NTag: any;
|
1169
1291
|
NInput: any;
|
1292
|
+
NCheckbox: any;
|
1293
|
+
NCheckboxGroup: any;
|
1294
|
+
SearchOutline: 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<{}>>, {}>;
|
1170
1295
|
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<{}>>, {}>;
|
1171
1296
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1172
1297
|
title: {
|
@@ -1182,15 +1307,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1182
1307
|
};
|
1183
1308
|
disabledIds: {
|
1184
1309
|
type: import("vue").PropType<string[]>;
|
1310
|
+
default: () => never[];
|
1185
1311
|
};
|
1186
1312
|
defaultValue: {
|
1187
|
-
type: import("vue").PropType<
|
1313
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1188
1314
|
};
|
1189
1315
|
}>> & {
|
1190
1316
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
1191
1317
|
}, {
|
1192
1318
|
mode: string;
|
1193
1319
|
title: string;
|
1320
|
+
disabledIds: string[];
|
1194
1321
|
}>;
|
1195
1322
|
Call: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1196
1323
|
Videocam: 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<{}>>, {}>;
|
@@ -1217,10 +1344,18 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1217
1344
|
type: StringConstructor;
|
1218
1345
|
default: string;
|
1219
1346
|
};
|
1347
|
+
chatBox: {
|
1348
|
+
type: BooleanConstructor;
|
1349
|
+
default: boolean;
|
1350
|
+
};
|
1351
|
+
defaultSessionKey: {
|
1352
|
+
type: StringConstructor;
|
1353
|
+
};
|
1220
1354
|
}>> & {
|
1221
1355
|
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
1222
1356
|
"onUnread-message-update"?: ((...args: any[]) => any) | undefined;
|
1223
1357
|
}, {
|
1224
1358
|
baseURL: string;
|
1359
|
+
chatBox: boolean;
|
1225
1360
|
}>>;
|
1226
1361
|
export default IhoChat;
|