cnhis-design-vue 3.2.7-beta.2 → 3.2.7-beta.21
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/button-print/index.d.ts +1 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +1 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/button-print/style/index.css +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/electrocardiogram/useMeasureInstrument.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/FieldSet.vue.d.ts +1 -1
- 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 +6 -3
- package/es/components/form-config/src/FormConfig.vue.d.ts +6 -3
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +6 -3
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/tooltipMessage.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 +3 -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 +236 -74
- package/es/components/iho-chat/src/Index.vue.d.ts +236 -74
- 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 +39 -14
- 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 +24 -4
- 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 +61 -24
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +14 -2
- package/es/components/iho-chat/src/components/Video.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/hooks/useState.js +1 -1
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +11 -0
- package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
- package/es/components/iho-chat/src/types/index.d.ts +0 -1
- package/es/components/iho-chat/src/utils/index.js +1 -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 +2 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -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-line/index.d.ts +4 -4
- package/es/components/time-line/src/TimeLine.vue.d.ts +1 -1
- package/es/components/time-line/src/TimeLine.vue2.js +1 -1
- 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;
|
@@ -600,12 +652,14 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
600
652
|
setScrollToButtom: () => Promise<void>;
|
601
653
|
resetInfo: () => void;
|
602
654
|
setReferenceMsg: (msgItem: import("../../shared/types").AnyObject) => void;
|
655
|
+
handleSelect: (key: string, msgItem: import("../../shared/types").AnyObject) => void;
|
603
656
|
NAvatar: any;
|
604
657
|
NImageGroup: any;
|
605
658
|
NImage: any;
|
606
659
|
NIcon: any;
|
607
660
|
NButtonGroup: any;
|
608
661
|
NButton: any;
|
662
|
+
NFlex: any;
|
609
663
|
PersonProfile: import("vue").DefineComponent<{
|
610
664
|
userId: {
|
611
665
|
type: StringConstructor;
|
@@ -763,18 +817,29 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
763
817
|
type: BooleanConstructor;
|
764
818
|
default: boolean;
|
765
819
|
};
|
766
|
-
|
820
|
+
position: {
|
821
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
822
|
+
};
|
823
|
+
msgId: {
|
824
|
+
type: StringConstructor;
|
825
|
+
};
|
826
|
+
}, () => 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
827
|
show: {
|
768
828
|
type: BooleanConstructor;
|
769
829
|
default: boolean;
|
770
830
|
};
|
831
|
+
position: {
|
832
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
833
|
+
};
|
834
|
+
msgId: {
|
835
|
+
type: StringConstructor;
|
836
|
+
};
|
771
837
|
}>> & {
|
772
|
-
|
838
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
773
839
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
774
840
|
}, {
|
775
841
|
show: boolean;
|
776
842
|
}>;
|
777
|
-
downloadFile: typeof import("./src/utils").downloadFile;
|
778
843
|
simplifyMessage: typeof import("./src/utils").simplifyMessage;
|
779
844
|
isAudioOrVideoMessage: typeof import("./src/utils").isAudioOrVideoMessage;
|
780
845
|
getAVTime: typeof import("./src/utils").getAVTime;
|
@@ -783,10 +848,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
783
848
|
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
849
|
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
850
|
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<{}>>, {}>;
|
851
|
+
DocumentSharp: 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
852
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
787
853
|
ChatFooter: import("vue").DefineComponent<{}, {
|
788
854
|
inputRef: import("vue").Ref<HTMLDivElement | undefined>;
|
789
|
-
content: import("vue").Ref<string>;
|
790
855
|
state: import("./src/types").IState;
|
791
856
|
sendMessage: (message: {
|
792
857
|
chatType?: string | undefined;
|
@@ -795,6 +860,11 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
795
860
|
}) => Promise<void>;
|
796
861
|
isGroupChat: import("vue").ComputedRef<boolean>;
|
797
862
|
showEmoji: import("vue").Ref<boolean>;
|
863
|
+
content: import("vue").Ref<string>;
|
864
|
+
chatAddProps: import("vue").ComputedRef<{
|
865
|
+
options: import("../../shared/types").AnyObject[];
|
866
|
+
defaultValue: import("../../shared/types").AnyObject[];
|
867
|
+
}>;
|
798
868
|
handleCall: (chatMessageType: string, checkedIds?: never[]) => void;
|
799
869
|
handleKeyDown: (event: KeyboardEvent) => void;
|
800
870
|
isWrap: (event: KeyboardEvent) => boolean;
|
@@ -826,9 +896,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
826
896
|
};
|
827
897
|
disabledIds: {
|
828
898
|
type: import("vue").PropType<string[]>;
|
899
|
+
default: () => never[];
|
829
900
|
};
|
830
901
|
defaultValue: {
|
831
|
-
type: import("vue").PropType<
|
902
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
832
903
|
};
|
833
904
|
}, {
|
834
905
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -845,34 +916,52 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
845
916
|
};
|
846
917
|
disabledIds: {
|
847
918
|
type: import("vue").PropType<string[]>;
|
919
|
+
default: () => never[];
|
848
920
|
};
|
849
921
|
defaultValue: {
|
850
|
-
type: import("vue").PropType<
|
922
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
851
923
|
};
|
852
924
|
}>> & {
|
853
925
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
854
926
|
}>>;
|
855
927
|
emit: (event: "comfirm", ...args: any[]) => void;
|
856
928
|
state: import("./src/types").IState;
|
929
|
+
listRef: import("vue").Ref<any>;
|
930
|
+
keyword: import("vue").Ref<any>;
|
857
931
|
showModal: import("vue").Ref<boolean>;
|
858
|
-
|
932
|
+
checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
859
933
|
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
860
934
|
groupName: import("vue").Ref<string>;
|
935
|
+
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
936
|
+
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
937
|
+
handleInput: () => void;
|
938
|
+
_disabledIds: import("vue").ComputedRef<any[]>;
|
939
|
+
defaultOptions: import("vue").ComputedRef<{
|
940
|
+
id: any;
|
941
|
+
name: any;
|
942
|
+
avatar: any;
|
943
|
+
}[]>;
|
944
|
+
checkedIds: import("vue").ComputedRef<any[]>;
|
861
945
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
946
|
+
allChecked: import("vue").WritableComputedRef<boolean>;
|
862
947
|
handlePositiveClick: () => Promise<void>;
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
}) => JSX.Element | null;
|
948
|
+
updateCheckedSourceIds: () => void;
|
949
|
+
handleSourceIdsUpdate: (value: (string | number)[], meta: {
|
950
|
+
actionType: "check" | "uncheck";
|
951
|
+
value: string | number;
|
952
|
+
}) => void;
|
953
|
+
closeTag: (id: string) => void;
|
954
|
+
renderTargetList: () => JSX.Element[] | null;
|
871
955
|
NModal: any;
|
872
956
|
NButton: any;
|
873
|
-
|
957
|
+
NSpace: any;
|
958
|
+
NAvatar: any;
|
874
959
|
NIcon: any;
|
960
|
+
NTag: any;
|
875
961
|
NInput: any;
|
962
|
+
NCheckbox: any;
|
963
|
+
NCheckboxGroup: any;
|
964
|
+
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
965
|
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
966
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
878
967
|
title: {
|
@@ -888,15 +977,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
888
977
|
};
|
889
978
|
disabledIds: {
|
890
979
|
type: import("vue").PropType<string[]>;
|
980
|
+
default: () => never[];
|
891
981
|
};
|
892
982
|
defaultValue: {
|
893
|
-
type: import("vue").PropType<
|
983
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
894
984
|
};
|
895
985
|
}>> & {
|
896
986
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
897
987
|
}, {
|
898
988
|
mode: string;
|
899
989
|
title: string;
|
990
|
+
disabledIds: string[];
|
900
991
|
}>;
|
901
992
|
emojis: {
|
902
993
|
default: string[][];
|
@@ -914,16 +1005,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
914
1005
|
inputRef: import("vue").Ref<any>;
|
915
1006
|
showSearch: import("vue").Ref<boolean>;
|
916
1007
|
keyword: import("vue").Ref<any>;
|
917
|
-
userList: import("vue").Ref<any>;
|
918
1008
|
state: import("./src/types").IState;
|
919
1009
|
openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
|
920
|
-
|
921
|
-
page: number;
|
922
|
-
hasMore: boolean;
|
923
|
-
};
|
1010
|
+
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
924
1011
|
handleInput: () => void;
|
925
|
-
handleSearch: () => Promise<void>;
|
926
|
-
resetAndSearch: () => void;
|
927
1012
|
addSession: (userId: string) => Promise<void>;
|
928
1013
|
NPopover: any;
|
929
1014
|
NButton: any;
|
@@ -946,9 +1031,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
946
1031
|
};
|
947
1032
|
disabledIds: {
|
948
1033
|
type: import("vue").PropType<string[]>;
|
1034
|
+
default: () => never[];
|
949
1035
|
};
|
950
1036
|
defaultValue: {
|
951
|
-
type: import("vue").PropType<
|
1037
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
952
1038
|
};
|
953
1039
|
}, {
|
954
1040
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -965,34 +1051,52 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
965
1051
|
};
|
966
1052
|
disabledIds: {
|
967
1053
|
type: import("vue").PropType<string[]>;
|
1054
|
+
default: () => never[];
|
968
1055
|
};
|
969
1056
|
defaultValue: {
|
970
|
-
type: import("vue").PropType<
|
1057
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
971
1058
|
};
|
972
1059
|
}>> & {
|
973
1060
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
974
1061
|
}>>;
|
975
1062
|
emit: (event: "comfirm", ...args: any[]) => void;
|
976
1063
|
state: import("./src/types").IState;
|
1064
|
+
listRef: import("vue").Ref<any>;
|
1065
|
+
keyword: import("vue").Ref<any>;
|
977
1066
|
showModal: import("vue").Ref<boolean>;
|
978
|
-
|
1067
|
+
checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
979
1068
|
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
980
1069
|
groupName: import("vue").Ref<string>;
|
1070
|
+
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
1071
|
+
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1072
|
+
handleInput: () => void;
|
1073
|
+
_disabledIds: import("vue").ComputedRef<any[]>;
|
1074
|
+
defaultOptions: import("vue").ComputedRef<{
|
1075
|
+
id: any;
|
1076
|
+
name: any;
|
1077
|
+
avatar: any;
|
1078
|
+
}[]>;
|
1079
|
+
checkedIds: import("vue").ComputedRef<any[]>;
|
981
1080
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
1081
|
+
allChecked: import("vue").WritableComputedRef<boolean>;
|
982
1082
|
handlePositiveClick: () => Promise<void>;
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
}) => JSX.Element | null;
|
1083
|
+
updateCheckedSourceIds: () => void;
|
1084
|
+
handleSourceIdsUpdate: (value: (string | number)[], meta: {
|
1085
|
+
actionType: "check" | "uncheck";
|
1086
|
+
value: string | number;
|
1087
|
+
}) => void;
|
1088
|
+
closeTag: (id: string) => void;
|
1089
|
+
renderTargetList: () => JSX.Element[] | null;
|
991
1090
|
NModal: any;
|
992
1091
|
NButton: any;
|
993
|
-
|
1092
|
+
NSpace: any;
|
1093
|
+
NAvatar: any;
|
994
1094
|
NIcon: any;
|
1095
|
+
NTag: any;
|
995
1096
|
NInput: any;
|
1097
|
+
NCheckbox: any;
|
1098
|
+
NCheckboxGroup: any;
|
1099
|
+
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
1100
|
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
1101
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
998
1102
|
title: {
|
@@ -1008,15 +1112,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1008
1112
|
};
|
1009
1113
|
disabledIds: {
|
1010
1114
|
type: import("vue").PropType<string[]>;
|
1115
|
+
default: () => never[];
|
1011
1116
|
};
|
1012
1117
|
defaultValue: {
|
1013
|
-
type: import("vue").PropType<
|
1118
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1014
1119
|
};
|
1015
1120
|
}>> & {
|
1016
1121
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
1017
1122
|
}, {
|
1018
1123
|
mode: string;
|
1019
1124
|
title: string;
|
1125
|
+
disabledIds: string[];
|
1020
1126
|
}>;
|
1021
1127
|
Video: import("vue").DefineComponent<{}, {
|
1022
1128
|
sendMessage: (message: {
|
@@ -1038,6 +1144,20 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1038
1144
|
timer: any;
|
1039
1145
|
seconds: number;
|
1040
1146
|
};
|
1147
|
+
installEventHandlers: ({ handleError, handleRemoteUserEnter, handleRemoteAudioAvailable, handleRemoteUserExit, handleRemoteVideoAvailable }: {
|
1148
|
+
handleError: import("../../shared/types").AnyFn;
|
1149
|
+
handleRemoteUserEnter: import("../../shared/types").AnyFn;
|
1150
|
+
handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
|
1151
|
+
handleRemoteUserExit: import("../../shared/types").AnyFn;
|
1152
|
+
handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
|
1153
|
+
}) => void;
|
1154
|
+
uninstallEventHandlers: ({ handleError, handleRemoteUserEnter, handleRemoteAudioAvailable, handleRemoteUserExit, handleRemoteVideoAvailable }: {
|
1155
|
+
handleError: import("../../shared/types").AnyFn;
|
1156
|
+
handleRemoteUserEnter: import("../../shared/types").AnyFn;
|
1157
|
+
handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
|
1158
|
+
handleRemoteUserExit: import("../../shared/types").AnyFn;
|
1159
|
+
handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
|
1160
|
+
}) => void;
|
1041
1161
|
videoRef: import("vue").Ref<any>;
|
1042
1162
|
selfVideoRef: import("vue").Ref<any>;
|
1043
1163
|
isConnect: import("vue").Ref<boolean>;
|
@@ -1054,8 +1174,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1054
1174
|
handleEnter: () => Promise<void>;
|
1055
1175
|
handleFinish: () => void;
|
1056
1176
|
handleExit: () => Promise<void>;
|
1057
|
-
installEventHandlers: () => void;
|
1058
|
-
uninstallEventHandlers: () => void;
|
1059
1177
|
handleRemoteVideoAvailable: (event: any) => Promise<void>;
|
1060
1178
|
handleRemoteAudioAvailable: (event: any) => void;
|
1061
1179
|
handleRemoteUserEnter: () => void;
|
@@ -1071,7 +1189,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1071
1189
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1072
1190
|
MultipleVideo: import("vue").DefineComponent<{}, {
|
1073
1191
|
selfVideoRef: import("vue").Ref<any>;
|
1074
|
-
remoteUsers: import("vue").Ref<
|
1192
|
+
remoteUsers: import("vue").Ref<{
|
1193
|
+
id: string;
|
1194
|
+
name: string;
|
1195
|
+
}[]>;
|
1075
1196
|
state: import("./src/types").IState;
|
1076
1197
|
sendMessage: (message: {
|
1077
1198
|
chatType?: string | undefined;
|
@@ -1089,6 +1210,20 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1089
1210
|
timing: import("vue").Ref<string>;
|
1090
1211
|
toggleVideo: () => Promise<void>;
|
1091
1212
|
videocamOpen: import("vue").Ref<boolean>;
|
1213
|
+
installEventHandlers: ({ handleError, handleRemoteUserEnter, handleRemoteAudioAvailable, handleRemoteUserExit, handleRemoteVideoAvailable }: {
|
1214
|
+
handleError: import("../../shared/types").AnyFn;
|
1215
|
+
handleRemoteUserEnter: import("../../shared/types").AnyFn;
|
1216
|
+
handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
|
1217
|
+
handleRemoteUserExit: import("../../shared/types").AnyFn;
|
1218
|
+
handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
|
1219
|
+
}) => void;
|
1220
|
+
uninstallEventHandlers: ({ handleError, handleRemoteUserEnter, handleRemoteAudioAvailable, handleRemoteUserExit, handleRemoteVideoAvailable }: {
|
1221
|
+
handleError: import("../../shared/types").AnyFn;
|
1222
|
+
handleRemoteUserEnter: import("../../shared/types").AnyFn;
|
1223
|
+
handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
|
1224
|
+
handleRemoteUserExit: import("../../shared/types").AnyFn;
|
1225
|
+
handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
|
1226
|
+
}) => void;
|
1092
1227
|
isConnect: import("vue").Ref<boolean>;
|
1093
1228
|
callUser: import("vue").ComputedRef<any>;
|
1094
1229
|
title: import("vue").ComputedRef<string>;
|
@@ -1096,14 +1231,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1096
1231
|
handleCall: () => void;
|
1097
1232
|
handleEnter: () => Promise<void>;
|
1098
1233
|
handleExit: () => Promise<void>;
|
1099
|
-
installEventHandlers: () => void;
|
1100
|
-
uninstallEventHandlers: () => void;
|
1101
1234
|
handleRemoteVideoAvailable: (event: any) => Promise<void>;
|
1102
|
-
handleRemoteAudioAvailable: (event: any) => void
|
1103
|
-
handleRemoteUserEnter: (event: any) => void
|
1235
|
+
handleRemoteAudioAvailable: (event: any) => Promise<void>;
|
1236
|
+
handleRemoteUserEnter: (event: any) => Promise<void>;
|
1237
|
+
getUserName: (userId: string) => Promise<any>;
|
1104
1238
|
handleRemoteUserExit: (event: any) => void;
|
1105
1239
|
handleError: (error: any) => void;
|
1106
|
-
getName: (id: string) => any;
|
1107
1240
|
NButton: any;
|
1108
1241
|
NIcon: any;
|
1109
1242
|
ChatAdd: import("vue").DefineComponent<{
|
@@ -1120,9 +1253,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1120
1253
|
};
|
1121
1254
|
disabledIds: {
|
1122
1255
|
type: import("vue").PropType<string[]>;
|
1256
|
+
default: () => never[];
|
1123
1257
|
};
|
1124
1258
|
defaultValue: {
|
1125
|
-
type: import("vue").PropType<
|
1259
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1126
1260
|
};
|
1127
1261
|
}, {
|
1128
1262
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -1139,34 +1273,52 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1139
1273
|
};
|
1140
1274
|
disabledIds: {
|
1141
1275
|
type: import("vue").PropType<string[]>;
|
1276
|
+
default: () => never[];
|
1142
1277
|
};
|
1143
1278
|
defaultValue: {
|
1144
|
-
type: import("vue").PropType<
|
1279
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1145
1280
|
};
|
1146
1281
|
}>> & {
|
1147
1282
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
1148
1283
|
}>>;
|
1149
1284
|
emit: (event: "comfirm", ...args: any[]) => void;
|
1150
1285
|
state: import("./src/types").IState;
|
1286
|
+
listRef: import("vue").Ref<any>;
|
1287
|
+
keyword: import("vue").Ref<any>;
|
1151
1288
|
showModal: import("vue").Ref<boolean>;
|
1152
|
-
|
1289
|
+
checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1153
1290
|
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1154
1291
|
groupName: import("vue").Ref<string>;
|
1292
|
+
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
1293
|
+
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1294
|
+
handleInput: () => void;
|
1295
|
+
_disabledIds: import("vue").ComputedRef<any[]>;
|
1296
|
+
defaultOptions: import("vue").ComputedRef<{
|
1297
|
+
id: any;
|
1298
|
+
name: any;
|
1299
|
+
avatar: any;
|
1300
|
+
}[]>;
|
1301
|
+
checkedIds: import("vue").ComputedRef<any[]>;
|
1155
1302
|
btnDisabled: import("vue").ComputedRef<boolean>;
|
1303
|
+
allChecked: import("vue").WritableComputedRef<boolean>;
|
1156
1304
|
handlePositiveClick: () => Promise<void>;
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
}) => JSX.Element | null;
|
1305
|
+
updateCheckedSourceIds: () => void;
|
1306
|
+
handleSourceIdsUpdate: (value: (string | number)[], meta: {
|
1307
|
+
actionType: "check" | "uncheck";
|
1308
|
+
value: string | number;
|
1309
|
+
}) => void;
|
1310
|
+
closeTag: (id: string) => void;
|
1311
|
+
renderTargetList: () => JSX.Element[] | null;
|
1165
1312
|
NModal: any;
|
1166
1313
|
NButton: any;
|
1167
|
-
|
1314
|
+
NSpace: any;
|
1315
|
+
NAvatar: any;
|
1168
1316
|
NIcon: any;
|
1317
|
+
NTag: any;
|
1169
1318
|
NInput: any;
|
1319
|
+
NCheckbox: any;
|
1320
|
+
NCheckboxGroup: any;
|
1321
|
+
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
1322
|
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
1323
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1172
1324
|
title: {
|
@@ -1182,15 +1334,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1182
1334
|
};
|
1183
1335
|
disabledIds: {
|
1184
1336
|
type: import("vue").PropType<string[]>;
|
1337
|
+
default: () => never[];
|
1185
1338
|
};
|
1186
1339
|
defaultValue: {
|
1187
|
-
type: import("vue").PropType<
|
1340
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1188
1341
|
};
|
1189
1342
|
}>> & {
|
1190
1343
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
1191
1344
|
}, {
|
1192
1345
|
mode: string;
|
1193
1346
|
title: string;
|
1347
|
+
disabledIds: string[];
|
1194
1348
|
}>;
|
1195
1349
|
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
1350
|
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 +1371,18 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1217
1371
|
type: StringConstructor;
|
1218
1372
|
default: string;
|
1219
1373
|
};
|
1374
|
+
chatBox: {
|
1375
|
+
type: BooleanConstructor;
|
1376
|
+
default: boolean;
|
1377
|
+
};
|
1378
|
+
defaultSessionKey: {
|
1379
|
+
type: StringConstructor;
|
1380
|
+
};
|
1220
1381
|
}>> & {
|
1221
1382
|
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
1222
1383
|
"onUnread-message-update"?: ((...args: any[]) => any) | undefined;
|
1223
1384
|
}, {
|
1224
1385
|
baseURL: string;
|
1386
|
+
chatBox: boolean;
|
1225
1387
|
}>>;
|
1226
1388
|
export default IhoChat;
|