@phonghq/go-chat 1.0.43 → 1.0.44
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/dist/assets/icons/IconPlan.vue.d.ts +13 -1
- package/dist/assets/icons/call/IconPhoneCancel.vue.d.ts +13 -1
- package/dist/assets/icons/customer-detail/IconPhone.vue.d.ts +13 -1
- package/dist/chat/App.vue.d.ts +13 -2
- package/dist/chat/page/home/ChatList.vue.d.ts +2 -0
- package/dist/chat/page/home/ChatMessageItem.vue.d.ts +1 -0
- package/dist/chat/page/home/ChatMessageItem2.vue.d.ts +19 -0
- 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/call/Calling.vue.d.ts +4 -2
- package/dist/components/chat/common/tabs/TabBase.vue.d.ts +18 -0
- package/dist/components/common/drawer/DrawerBaseCustom.vue.d.ts +1 -1
- package/dist/components/ui/select/Select.vue.d.ts +20 -0
- package/dist/components/ui/select/SelectContent.vue.d.ts +24 -0
- package/dist/components/ui/select/SelectGroup.vue.d.ts +10 -0
- package/dist/components/ui/select/SelectItem.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectItemText.vue.d.ts +10 -0
- package/dist/components/ui/select/SelectLabel.vue.d.ts +14 -0
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +14 -0
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +14 -0
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +17 -0
- package/dist/components/ui/select/SelectValue.vue.d.ts +10 -0
- package/dist/components/ui/select/index.d.ts +11 -0
- package/dist/components/ui/tabs/Tabs.vue.d.ts +20 -0
- package/dist/components/ui/tabs/TabsContent.vue.d.ts +14 -0
- package/dist/components/ui/tabs/TabsList.vue.d.ts +14 -0
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +14 -0
- package/dist/components/ui/tabs/index.d.ts +4 -0
- package/dist/composable/useInitData.d.ts +1 -1
- package/dist/composable/useListConversations.d.ts +1 -1
- package/dist/composable/useListentEvent.d.ts +5 -0
- package/dist/composable/usePlivo.d.ts +1 -0
- package/dist/constant/color.d.ts +2 -2
- package/dist/go-chat.es.js +14752 -14211
- package/dist/go-chat.umd.js +15 -15
- package/dist/style.css +1 -1
- package/dist/test/assets/icons/IconPlan.vue.js +23 -3
- package/dist/test/assets/icons/call/IconPhone.vue.js +6 -19
- package/dist/test/assets/icons/call/IconPhoneCancel.vue.js +32 -21
- package/dist/test/assets/icons/customer-detail/IconPhone.vue.js +23 -3
- package/dist/test/chat/App.vue.js +222 -299
- package/dist/test/chat/page/customer-check-in/CustomerCheckIn.vue.js +3 -1
- package/dist/test/chat/page/customer-detail/CustomerDetail.vue.js +2 -2
- package/dist/test/chat/page/home/ChatList.vue.js +64 -34
- package/dist/test/chat/page/home/ChatMessage.vue.js +10 -1
- package/dist/test/chat/page/home/ChatMessageItem.vue.js +63 -80
- package/dist/test/chat/page/home/ChatMessageItem2.vue.js +351 -0
- package/dist/test/chat/page/home/Home.vue.js +15 -7
- package/dist/test/chat/page/home/HomeHeader.vue.js +8 -4
- package/dist/test/chat/page/home/InputChat.vue.js +58 -37
- package/dist/test/components/chat/call/Calling.vue.js +111 -67
- package/dist/test/components/chat/common/tab/TabBase.vue.js +1 -0
- package/dist/test/components/chat/common/tabs/TabBase.vue.js +92 -0
- package/dist/test/components/chat/layout/mobile/Footer.vue.js +6 -1
- package/dist/test/components/common/drawer/DrawerBaseCustom.vue.js +1 -0
- package/dist/test/components/common/select/SelectBase.vue.js +139 -0
- package/dist/test/components/ui/select/Select.vue.js +49 -0
- package/dist/test/components/ui/select/SelectContent.vue.js +98 -0
- package/dist/test/components/ui/select/SelectGroup.vue.js +37 -0
- package/dist/test/components/ui/select/SelectItem.vue.js +86 -0
- package/dist/test/components/ui/select/SelectItemText.vue.js +37 -0
- package/dist/test/components/ui/select/SelectLabel.vue.js +40 -0
- package/dist/test/components/ui/select/SelectScrollDownButton.vue.js +58 -0
- package/dist/test/components/ui/select/SelectScrollUpButton.vue.js +58 -0
- package/dist/test/components/ui/select/SelectSeparator.vue.js +39 -0
- package/dist/test/components/ui/select/SelectTrigger.vue.js +76 -0
- package/dist/test/components/ui/select/SelectValue.vue.js +37 -0
- package/dist/test/components/ui/select/index.js +11 -0
- package/dist/test/components/ui/tabs/Tabs.vue.js +54 -0
- package/dist/test/components/ui/tabs/TabsContent.vue.js +44 -0
- package/dist/test/components/ui/tabs/TabsList.vue.js +44 -0
- package/dist/test/components/ui/tabs/TabsTrigger.vue.js +45 -0
- package/dist/test/components/ui/tabs/index.js +4 -0
- package/dist/test/composable/useInitData.js +5 -5
- package/dist/test/composable/useListConversations.js +32 -29
- package/dist/test/composable/useListentEvent.js +45 -0
- package/dist/test/composable/usePlivo.js +6 -1
- package/dist/test/constant/color.js +4 -2
- package/dist/test/plugins/axios-gci.js +1 -1
- package/dist/test/utils/chat/auth.js +1 -1
- package/dist/test/utils/chat/call.js +2 -3
- package/dist/test/utils/chat/conversation.js +2 -2
- package/dist/test/utils/chat/page-error.js +25 -0
- package/dist/test/utils/chat/user.js +7 -2
- package/dist/test/utils/string-helper.js +13 -0
- package/dist/types/chat/global.d.ts +6 -5
- package/dist/types/conversation.d.ts +1 -0
- package/dist/utils/chat/auth.d.ts +1 -1
- package/dist/utils/chat/conversation.d.ts +1 -0
- package/dist/utils/chat/page-error.d.ts +4 -0
- package/dist/utils/chat/user.d.ts +3 -0
- package/dist/utils/string-helper.d.ts +1 -0
- package/package.json +3 -2
- package/dist/components/layout/Blank.vue.d.ts +0 -9
- package/dist/components/layout/Default.vue.d.ts +0 -9
- package/dist/components/modal/Confirm.vue.d.ts +0 -2
- package/dist/composable/useError.d.ts +0 -4
- package/dist/composable/useModalConfirm.d.ts +0 -5
- package/dist/test/components/ListenEvent.vue.js +0 -45
- package/dist/test/components/layout/Blank.vue.js +0 -19
- package/dist/test/components/layout/Default.vue.js +0 -21
- package/dist/test/components/modal/Confirm.vue.js +0 -164
- package/dist/test/composable/useError.js +0 -10
- package/dist/test/composable/useModalConfirm.js +0 -39
- /package/dist/components/{ListenEvent.vue.d.ts → common/select/SelectBase.vue.d.ts} +0 -0
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
color: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
color: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
color: string;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
14
|
export default _default;
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
weight: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
weight: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
weight: number;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
14
|
export default _default;
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
weight: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
weight: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
weight: number;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
14
|
export default _default;
|
package/dist/chat/App.vue.d.ts
CHANGED
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
import type { GoChatInstance, GoChatProps, PAGE_RESPONSIVE } from '../types/chat/global';
|
|
2
2
|
import type { IResUser } from '../types/message';
|
|
3
3
|
import '../style/index.scss';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<GoChatProps, GoChatInstance, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<GoChatProps, GoChatInstance, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
5
|
close: () => any;
|
|
6
|
+
call: (data: IResUser) => any;
|
|
7
|
+
openPhoneNumpad: () => any;
|
|
6
8
|
userCalling: (id: IResUser) => any;
|
|
7
9
|
"error:noPhoneTenant": () => any;
|
|
8
10
|
}, string, import("vue").PublicProps, Readonly<GoChatProps> & Readonly<{
|
|
9
11
|
onClose?: (() => any) | undefined;
|
|
12
|
+
onCall?: ((data: IResUser) => any) | undefined;
|
|
13
|
+
onOpenPhoneNumpad?: (() => any) | undefined;
|
|
10
14
|
onUserCalling?: ((id: IResUser) => any) | undefined;
|
|
11
15
|
"onError:noPhoneTenant"?: (() => any) | undefined;
|
|
12
16
|
}>, {
|
|
13
17
|
response: PAGE_RESPONSIVE;
|
|
14
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
19
|
+
right?: ((props: {}) => any) | undefined;
|
|
20
|
+
}>;
|
|
15
21
|
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -81,8 +81,10 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
81
81
|
"update:receiverId": (value: any) => any;
|
|
82
82
|
} & {
|
|
83
83
|
selectReceiver: (val: any) => any;
|
|
84
|
+
openPhoneNumpad: () => any;
|
|
84
85
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
85
86
|
onSelectReceiver?: ((val: any) => any) | undefined;
|
|
87
|
+
onOpenPhoneNumpad?: (() => any) | undefined;
|
|
86
88
|
"onUpdate:receiverId"?: ((value: any) => any) | undefined;
|
|
87
89
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
88
90
|
export default _default;
|
|
@@ -8,6 +8,7 @@ type Props = {
|
|
|
8
8
|
isLastMessage: boolean;
|
|
9
9
|
shouldShowAvatar: boolean;
|
|
10
10
|
isChatFinished: boolean;
|
|
11
|
+
isChatStart: boolean;
|
|
11
12
|
data: IResUser | null;
|
|
12
13
|
};
|
|
13
14
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { IResMessage, IResUser } from '../../../types/message';
|
|
2
|
+
import type { PAGE_RESPONSIVE } from '../../../types/chat/global';
|
|
3
|
+
type Props = {
|
|
4
|
+
message: IResMessage;
|
|
5
|
+
responsive: PAGE_RESPONSIVE;
|
|
6
|
+
isEndMessage: boolean;
|
|
7
|
+
isMyMessage: boolean;
|
|
8
|
+
isLastMessage: boolean;
|
|
9
|
+
shouldShowAvatar: boolean;
|
|
10
|
+
isChatFinished: boolean;
|
|
11
|
+
isChatStart: boolean;
|
|
12
|
+
data: IResUser | null;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
15
|
+
callAgain: () => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
17
|
+
onCallAgain?: (() => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { IResUser } from '../../../types/message';
|
|
2
2
|
import type { PAGE_RESPONSIVE } from '../../../types/chat/global';
|
|
3
|
+
import type { IConversation } from '../../../types/conversation';
|
|
3
4
|
type Props = {
|
|
4
5
|
receiverId: any;
|
|
5
6
|
responsive: PAGE_RESPONSIVE;
|
|
7
|
+
conversation: IConversation | null;
|
|
6
8
|
};
|
|
7
9
|
declare const _default: import("vue").DefineComponent<Props, {
|
|
8
10
|
getData: (data?: any) => Promise<void>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { IResMessage, IResUser } from '../../../types/message';
|
|
2
2
|
import 'vue3-emoji-picker/css';
|
|
3
|
+
import type { PAGE_RESPONSIVE } from '../../../types/chat/global';
|
|
3
4
|
type Props = {
|
|
4
5
|
data: IResUser | null;
|
|
6
|
+
responsive: PAGE_RESPONSIVE;
|
|
5
7
|
};
|
|
6
8
|
type __VLS_Props = Props;
|
|
7
9
|
type __VLS_ModelProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IResUser } from '../../../types/message';
|
|
2
2
|
import type { CallInstance, PAGE_RESPONSIVE } from '../../../types/chat/global';
|
|
3
3
|
type __VLS_Props = {
|
|
4
|
-
responsive
|
|
4
|
+
responsive?: PAGE_RESPONSIVE;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_Props, CallInstance, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
7
|
userCalling: (id: IResUser) => any;
|
|
@@ -11,5 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, CallInstance,
|
|
|
11
11
|
onUserCalling?: ((id: IResUser) => any) | undefined;
|
|
12
12
|
onEndCall?: ((id: IResUser | null, type: string) => any) | undefined;
|
|
13
13
|
"onError:mediaPermissionFail"?: (() => any) | undefined;
|
|
14
|
-
}>, {
|
|
14
|
+
}>, {
|
|
15
|
+
responsive: PAGE_RESPONSIVE;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
17
|
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
tabs: {
|
|
3
|
+
label: string;
|
|
4
|
+
value: any;
|
|
5
|
+
badge?: string;
|
|
6
|
+
}[];
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Props = Props;
|
|
9
|
+
type __VLS_ModelProps = {
|
|
10
|
+
'active'?: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:active": (value: any) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
"onUpdate:active"?: ((value: any) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { SelectRootProps } from "reka-ui";
|
|
2
|
+
type __VLS_Props = SelectRootProps;
|
|
3
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
"update:modelValue": (value: import("reka-ui").AcceptableValue) => any;
|
|
5
|
+
"update:open": (value: boolean) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: import("reka-ui").AcceptableValue) => any) | undefined;
|
|
8
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
10
|
+
default?: ((props: {
|
|
11
|
+
modelValue: string | number | bigint | Record<string, any> | (string | number | bigint | Record<string, any> | null)[] | null | undefined;
|
|
12
|
+
open: boolean;
|
|
13
|
+
}) => any) | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { SelectContentProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = SelectContentProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
8
|
+
pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
|
|
9
|
+
closeAutoFocus: (event: Event) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
12
|
+
onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
|
|
13
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
position: "item-aligned" | "popper";
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
17
|
+
default?: ((props: {}) => any) | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SelectGroupProps } from "reka-ui";
|
|
2
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SelectGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
3
|
+
default?: ((props: {}) => any) | undefined;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { SelectItemProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = SelectItemProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_12: {}, __VLS_24: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
'indicator-icon'?: (props: typeof __VLS_12) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: typeof __VLS_24) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SelectItemTextProps } from "reka-ui";
|
|
2
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SelectItemTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SelectItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
3
|
+
default?: ((props: {}) => any) | undefined;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SelectLabelProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = SelectLabelProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
default?: ((props: {}) => any) | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SelectScrollDownButtonProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = SelectScrollDownButtonProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
default?: ((props: {}) => any) | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SelectScrollUpButtonProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = SelectScrollUpButtonProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
default?: ((props: {}) => any) | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SelectSeparatorProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = SelectSeparatorProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SelectTriggerProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = SelectTriggerProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
size?: "sm" | "default";
|
|
6
|
+
};
|
|
7
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
size: "default" | "sm";
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
10
|
+
default?: ((props: {}) => any) | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SelectValueProps } from "reka-ui";
|
|
2
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SelectValueProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SelectValueProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
3
|
+
default?: ((props: {}) => any) | undefined;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { default as Select } from "./Select.vue";
|
|
2
|
+
export { default as SelectContent } from "./SelectContent.vue";
|
|
3
|
+
export { default as SelectGroup } from "./SelectGroup.vue";
|
|
4
|
+
export { default as SelectItem } from "./SelectItem.vue";
|
|
5
|
+
export { default as SelectItemText } from "./SelectItemText.vue";
|
|
6
|
+
export { default as SelectLabel } from "./SelectLabel.vue";
|
|
7
|
+
export { default as SelectScrollDownButton } from "./SelectScrollDownButton.vue";
|
|
8
|
+
export { default as SelectScrollUpButton } from "./SelectScrollUpButton.vue";
|
|
9
|
+
export { default as SelectSeparator } from "./SelectSeparator.vue";
|
|
10
|
+
export { default as SelectTrigger } from "./SelectTrigger.vue";
|
|
11
|
+
export { default as SelectValue } from "./SelectValue.vue";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TabsRootProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = TabsRootProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (payload: string | number) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((payload: string | number) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?: ((props: {
|
|
12
|
+
modelValue: string | number | undefined;
|
|
13
|
+
}) => any) | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TabsContentProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = TabsContentProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
default?: ((props: {}) => any) | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TabsListProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = TabsListProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
default?: ((props: {}) => any) | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TabsTriggerProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = TabsTriggerProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
default?: ((props: {}) => any) | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IConversation, IParamGetConversation } from '../types/conversation';
|
|
2
|
-
export declare const useListConversations: (is_unknown: number) => {
|
|
2
|
+
export declare const useListConversations: (is_unknown: number, is_tenant: boolean) => {
|
|
3
3
|
listConversations: import("vue").Ref<{
|
|
4
4
|
id: number;
|
|
5
5
|
receiver_id: number;
|
|
@@ -9,4 +9,5 @@ export declare function usePlivo(callback: (status: PlivoCallStatusType, data?:
|
|
|
9
9
|
plivoCall: (phone: string) => Promise<void>;
|
|
10
10
|
plivoEndCall: (status: PlivoCallStatusType) => void;
|
|
11
11
|
plivoCallSwishMute: (isMute: boolean) => void;
|
|
12
|
+
plivoCallSwishSpeaker: (id: any) => void;
|
|
12
13
|
};
|
package/dist/constant/color.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ declare const enum Color {
|
|
|
6
6
|
Primary = "#0051E6",
|
|
7
7
|
Primary_Hover = "#699FF5",
|
|
8
8
|
Primary_RGB = "41, 121, 255",
|
|
9
|
-
Error = "#
|
|
9
|
+
Error = "#ef4444",
|
|
10
10
|
Error_Hover = "#FF8A75",
|
|
11
|
-
Success = "#
|
|
11
|
+
Success = "#4ade80",
|
|
12
12
|
Success_Hover = "#5FD9A0",
|
|
13
13
|
Success_Bg = "#E9FFE4",
|
|
14
14
|
Warning = "#f3a22c",
|