@phonghq/go-chat 1.0.27 → 1.0.29
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/README.md +1 -0
- package/dist/components/chat/common/modal/Modal.vue.d.ts +94 -0
- package/dist/go-chat.es.js +6889 -6865
- package/dist/go-chat.umd.js +13 -13
- package/dist/style.css +1 -1
- package/dist/test/chat/page/home/ChatList.vue.js +9 -6
- package/dist/test/chat/page/home/ChatMessageItem.vue.js +3 -3
- package/dist/test/chat/page/home/Home.vue.js +7 -5
- package/dist/test/components/chat/call/Calling.vue.js +3 -3
- package/dist/test/components/chat/common/modal/Modal.vue.js +260 -0
- package/dist/test/components/chat/common/switch/SwitchBase.vue.js +3 -2
- package/dist/test/components/common/modal/ModalBase.vue.js +49 -26
- package/dist/test/components/ui/button/c-button.js +7 -7
- package/dist/test/composable/useInitData.js +2 -1
- package/dist/test/composable/useListConversations.js +0 -1
- package/dist/test/composable/usePlivo.js +7 -6
- package/dist/test/utils/chat/call.js +1 -1
- package/dist/test/utils/chat/message.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_7: {}, __VLS_9: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
title?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
content?: (props: typeof __VLS_7) => any;
|
|
6
|
+
} & {
|
|
7
|
+
footer?: (props: typeof __VLS_9) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
title: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
showFooter: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
showCloseButton: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
clickOutSide: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
disabledClose: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
phone: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
maxValue: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
}>, {
|
|
39
|
+
open: () => void;
|
|
40
|
+
close: () => void;
|
|
41
|
+
visible: import("vue").Ref<boolean, boolean>;
|
|
42
|
+
closeOnly: () => void;
|
|
43
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
|
+
afterClose: (...args: any[]) => void;
|
|
45
|
+
changeValue: (...args: any[]) => void;
|
|
46
|
+
afterCloseNumPad: (...args: any[]) => void;
|
|
47
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
title: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
showFooter: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
showCloseButton: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
clickOutSide: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
disabledClose: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
phone: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
maxValue: {
|
|
73
|
+
type: NumberConstructor;
|
|
74
|
+
default: number;
|
|
75
|
+
};
|
|
76
|
+
}>> & Readonly<{
|
|
77
|
+
onAfterClose?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
onChangeValue?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
onAfterCloseNumPad?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
}>, {
|
|
81
|
+
title: string;
|
|
82
|
+
phone: boolean;
|
|
83
|
+
disabledClose: boolean;
|
|
84
|
+
showFooter: boolean;
|
|
85
|
+
showCloseButton: boolean;
|
|
86
|
+
clickOutSide: boolean;
|
|
87
|
+
maxValue: number;
|
|
88
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, __VLS_Slots>;
|
|
89
|
+
export default _default;
|
|
90
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
91
|
+
new (): {
|
|
92
|
+
$slots: S;
|
|
93
|
+
};
|
|
94
|
+
};
|