@phonghq/go-chat 1.0.26 → 1.0.27
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 -1
- package/dist/chat/page/home/Home.vue.d.ts +2 -0
- package/dist/chat/page/home/InputChat.vue.d.ts +2 -0
- package/dist/components/chat/common/spin/BaseSpin.vue.d.ts +8 -1
- package/dist/components/chat/common/switch/SwitchBase.vue.d.ts +3 -0
- package/dist/components/common/drawer/DrawerBase.vue.d.ts +1 -1
- package/dist/constant/mqtt.d.ts +1 -0
- package/dist/go-chat.es.js +7213 -7176
- package/dist/go-chat.umd.js +12 -12
- package/dist/style.css +1 -1
- package/dist/test/chat/App.vue.js +77 -66
- package/dist/test/chat/page/customer-appointment/CustomerAppointment.vue.js +3 -3
- package/dist/test/chat/page/home/ChatList.vue.js +8 -112
- package/dist/test/chat/page/home/ChatMessage.vue.js +1 -3
- package/dist/test/chat/page/home/Home.vue.js +24 -11
- package/dist/test/chat/page/home/InputChat.vue.js +78 -28
- package/dist/test/components/chat/call/Calling.vue.js +3 -2
- package/dist/test/components/chat/common/spin/BaseSpin.vue.js +29 -2
- package/dist/test/components/chat/common/switch/SwitchBase.vue.js +7 -2
- package/dist/test/composable/useListConversations.js +2 -1
- package/dist/test/composable/usePlivo.js +5 -2
- package/dist/test/constant/mqtt.js +1 -0
- package/dist/test/utils/chat/call.js +4 -3
- package/dist/test/utils/chat/conversation.js +1 -1
- package/dist/test/utils/chat/message.js +4 -0
- package/dist/utils/chat/message.d.ts +4 -0
- package/package.json +1 -1
- package/dist/assets/icons/IconSetting.vue.d.ts +0 -2
- package/dist/test/assets/icons/IconSetting.vue.js +0 -33
package/README.md
CHANGED
|
@@ -40,4 +40,4 @@ npm run lint
|
|
|
40
40
|
|
|
41
41
|
...build
|
|
42
42
|
yarn vue-tsc -p tsconfig.build.json
|
|
43
|
-
/tenant?tenant_id=test1&phone=16013818811&message=Test%20message%20n%C3%A8&customer_name=
|
|
43
|
+
/tenant?tenant_id=test1&phone=16013818811&message=Test%20message%20n%C3%A8&customer_name=Lam Linh%20v&business_name=Nail%20Spa%20New%20v
|
|
@@ -12,7 +12,9 @@ declare const _default: import("vue").DefineComponent<Props, {
|
|
|
12
12
|
infoUser: import("vue").ShallowRef<IResUser | null>;
|
|
13
13
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
14
|
call: (value: IResUser) => any;
|
|
15
|
+
inputFocus: () => any;
|
|
15
16
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
16
17
|
onCall?: ((value: IResUser) => any) | undefined;
|
|
18
|
+
onInputFocus?: (() => any) | undefined;
|
|
17
19
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
20
|
export default _default;
|
|
@@ -11,8 +11,10 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
11
11
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
12
|
"update:modelValue": (value: string | undefined) => any;
|
|
13
13
|
} & {
|
|
14
|
+
focus: () => any;
|
|
14
15
|
sendMessage: (val: IResMessage) => any;
|
|
15
16
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
+
onFocus?: (() => any) | undefined;
|
|
16
18
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
17
19
|
onSendMessage?: ((val: IResMessage) => any) | undefined;
|
|
18
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type Props = {
|
|
2
|
+
size?: number;
|
|
3
|
+
border?: number;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
6
|
+
size: number;
|
|
7
|
+
border: number;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2
9
|
export default _default;
|
|
@@ -8,7 +8,10 @@ type __VLS_ModelProps = {
|
|
|
8
8
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
9
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
10
|
"update:modelValue": (value: boolean | undefined) => any;
|
|
11
|
+
} & {
|
|
12
|
+
change: (val: boolean) => any;
|
|
11
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
onChange?: ((val: boolean) => any) | undefined;
|
|
12
15
|
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
13
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
17
|
export default _default;
|
|
@@ -24,8 +24,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Publ
|
|
|
24
24
|
}>, {
|
|
25
25
|
title: string;
|
|
26
26
|
width: string | number;
|
|
27
|
-
placement: import("vaul-vue").DrawerDirection;
|
|
28
27
|
showTitle: boolean;
|
|
28
|
+
placement: import("vaul-vue").DrawerDirection;
|
|
29
29
|
showButtonClose: boolean;
|
|
30
30
|
disableClose: boolean;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
package/dist/constant/mqtt.d.ts
CHANGED