@phonghq/go-chat 1.0.8 → 1.0.10
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/App.vue.d.ts +3 -2
- package/dist/components/chat/call/Calling.vue.d.ts +6 -2
- package/dist/components/common/drawer/DrawerBaseCustom.vue.d.ts +30 -0
- package/dist/composable/TestSound.d.ts +64 -0
- package/dist/composable/useCallHelper.d.ts +26 -8
- package/dist/constant/datetime.d.ts +1 -0
- package/dist/go-chat.es.js +143 -143
- package/dist/go-chat.umd.js +6 -6
- package/dist/plugins/websocket.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/test/assets/icons/IconArrowLeft.vue.js +1 -1
- package/dist/test/assets/icons/IconPhone.vue.js +1 -1
- package/dist/test/assets/icons/IconPlan.vue.js +1 -1
- package/dist/test/assets/icons/IconPlus.vue.js +1 -1
- package/dist/test/assets/icons/IconSearch.vue.js +1 -1
- package/dist/test/assets/icons/call/IconMic.vue.js +1 -1
- package/dist/test/assets/icons/call/IconPhone.vue.js +1 -1
- package/dist/test/assets/icons/call/IconPhoneCancel.vue.js +1 -1
- package/dist/test/assets/icons/call/IconSpeaker.vue.js +1 -1
- package/dist/test/assets/icons/customer-appointment/IconFilter.vue.js +1 -1
- package/dist/test/assets/icons/customer-detail/IconArrow.vue.js +1 -1
- package/dist/test/assets/icons/customer-detail/IconCheck.vue.js +1 -1
- package/dist/test/assets/icons/customer-detail/IconDate.vue.js +1 -1
- package/dist/test/assets/icons/customer-detail/IconGroup.vue.js +1 -1
- package/dist/test/assets/icons/customer-detail/IconMessage.vue.js +1 -1
- package/dist/test/assets/icons/customer-detail/IconNote.vue.js +1 -1
- package/dist/test/assets/icons/customer-detail/IconPhone.vue.js +1 -1
- package/dist/test/assets/icons/customer-detail/IconPin.vue.js +1 -1
- package/dist/test/assets/icons/customer-detail/IconSearch.vue.js +1 -1
- package/dist/test/chat/App.vue.js +174 -108
- package/dist/test/chat/page/customer-appointment/CustomerAppointment.vue.js +1 -1
- package/dist/test/chat/page/customer-check-in/CollapseCheckIn.vue.js +1 -1
- package/dist/test/chat/page/customer-check-in/CustomerCheckIn.vue.js +1 -1
- package/dist/test/chat/page/customer-detail/CustomerDetail.vue.js +1 -1
- package/dist/test/chat/page/customer-detail/SubInformation.vue.js +1 -1
- package/dist/test/chat/page/error/Error.vue.js +1 -1
- package/dist/test/chat/page/home/ChatList.vue.js +40 -6
- package/dist/test/chat/page/home/ChatMessage.vue.js +1 -1
- package/dist/test/chat/page/home/Home.vue.js +9 -3
- package/dist/test/chat/page/home/InputChat.vue.js +3 -2
- package/dist/test/chat/page/home/NewCustomer.vue.js +1 -1
- package/dist/test/components/ListenEvent.vue.js +1 -1
- package/dist/test/components/chat/ScrollEvent/ScrollEvent.vue.js +1 -1
- package/dist/test/components/chat/call/Calling.vue.js +102 -70
- package/dist/test/components/chat/card/CardCustomerDetail.vue.js +1 -1
- package/dist/test/components/chat/common/collapse/CollapseBase.vue.js +1 -1
- package/dist/test/components/chat/common/input/InputSearch.vue.js +1 -1
- package/dist/test/components/chat/common/popover/PopoverBase.vue.js +1 -1
- package/dist/test/components/chat/common/spin/BaseSpin.vue.js +1 -1
- package/dist/test/components/chat/customer/Avatar.vue.js +1 -1
- package/dist/test/components/chat/layout/mobile/Footer.vue.js +1 -1
- package/dist/test/components/common/CustomLoading.vue.js +1 -1
- package/dist/test/components/common/Notification/NotificationDescription.vue.js +1 -1
- package/dist/test/components/common/button/ButtonBase.vue.js +1 -1
- package/dist/test/components/common/button/ButtonToggle.vue.js +1 -1
- package/dist/test/components/common/checkbox/CCheckboxNumber.vue.js +1 -1
- package/dist/test/components/common/collapse/BaseCollapse.vue.js +1 -1
- package/dist/test/components/common/collapse/BaseCollapseItem.vue.js +1 -1
- package/dist/test/components/common/drawer/DrawerBase.vue.js +1 -1
- package/dist/test/components/common/drawer/DrawerBaseCustom.vue.js +128 -0
- package/dist/test/components/common/dropdown/DropdownBase.vue.js +1 -1
- package/dist/test/components/common/input/CInputSearch.vue.js +1 -1
- package/dist/test/components/common/modal/ModalBase.vue.js +1 -1
- package/dist/test/components/common/popover/PopoverBase.vue.js +1 -1
- package/dist/test/components/common/slider/BaseSlider.vue.js +1 -1
- package/dist/test/components/common/spin/CSpin.vue.js +1 -1
- package/dist/test/components/common/tooltip/TooltipBase.vue.js +1 -1
- package/dist/test/components/layout/Blank.vue.js +1 -1
- package/dist/test/components/layout/Default.vue.js +1 -1
- package/dist/test/components/modal/Confirm.vue.js +1 -1
- package/dist/test/components/ui/button/CButton.vue.js +1 -1
- package/dist/test/components/ui/checkbox/Checkbox.vue.js +1 -1
- package/dist/test/components/ui/collapsible/Collapsible.vue.js +1 -1
- package/dist/test/components/ui/collapsible/CollapsibleContent.vue.js +1 -1
- package/dist/test/components/ui/collapsible/CollapsibleTrigger.vue.js +1 -1
- package/dist/test/components/ui/dialog/Dialog.vue.js +1 -1
- package/dist/test/components/ui/dialog/DialogClose.vue.js +1 -1
- package/dist/test/components/ui/dialog/DialogContent.vue.js +1 -1
- package/dist/test/components/ui/dialog/DialogDescription.vue.js +1 -1
- package/dist/test/components/ui/dialog/DialogFooter.vue.js +1 -1
- package/dist/test/components/ui/dialog/DialogHeader.vue.js +1 -1
- package/dist/test/components/ui/dialog/DialogScrollContent.vue.js +1 -1
- package/dist/test/components/ui/dialog/DialogTitle.vue.js +1 -1
- package/dist/test/components/ui/dialog/DialogTrigger.vue.js +1 -1
- package/dist/test/components/ui/drawer/Drawer.vue.js +1 -1
- package/dist/test/components/ui/drawer/DrawerContent.vue.js +1 -1
- package/dist/test/components/ui/drawer/DrawerDescription.vue.js +1 -1
- package/dist/test/components/ui/drawer/DrawerFooter.vue.js +1 -1
- package/dist/test/components/ui/drawer/DrawerHeader.vue.js +1 -1
- package/dist/test/components/ui/drawer/DrawerOverlay.vue.js +3 -3
- package/dist/test/components/ui/drawer/DrawerTitle.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenu.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuContent.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuGroup.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuItem.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuLabel.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuSeparator.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuShortcut.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuSub.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuSubContent.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.js +1 -1
- package/dist/test/components/ui/dropdown-menu/DropdownMenuTrigger.vue.js +1 -1
- package/dist/test/components/ui/popover/Popover.vue.js +1 -1
- package/dist/test/components/ui/popover/PopoverContent.vue.js +1 -1
- package/dist/test/components/ui/popover/PopoverTrigger.vue.js +1 -1
- package/dist/test/components/ui/radio-group/RadioGroup.vue.js +1 -1
- package/dist/test/components/ui/radio-group/RadioGroupItem.vue.js +1 -1
- package/dist/test/components/ui/slider/Slider.vue.js +1 -1
- package/dist/test/components/ui/switch/Switch.vue.js +1 -1
- package/dist/test/composable/TestSound.js +196 -0
- package/dist/test/composable/useCallHelper.js +198 -142
- package/dist/test/constant/datetime.js +1 -0
- package/dist/test/plugins/websocket.js +10 -13
- package/dist/test/utils/chat/call.js +37 -0
- package/dist/types/chat/global.d.ts +1 -0
- package/dist/utils/chat/call.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import { computed, ref } from 'vue';
|
|
3
|
+
const props = withDefaults(defineProps(), {
|
|
4
|
+
position: 'right',
|
|
5
|
+
showTitle: true,
|
|
6
|
+
width: 550
|
|
7
|
+
});
|
|
8
|
+
const emits = defineEmits();
|
|
9
|
+
const show = ref(false);
|
|
10
|
+
const boxStyles = computed(() => {
|
|
11
|
+
let transform = '';
|
|
12
|
+
if (show.value) {
|
|
13
|
+
transform = 'translateX(0)';
|
|
14
|
+
}
|
|
15
|
+
else if (props.position === 'right') {
|
|
16
|
+
transform = 'translateX(100%)';
|
|
17
|
+
}
|
|
18
|
+
else if (props.position === 'left') {
|
|
19
|
+
transform = 'translateX(-100%)';
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
width: props.responsive == 'mobile' ? '100%' : props.width + 'px',
|
|
23
|
+
[props.position]: '0',
|
|
24
|
+
transform
|
|
25
|
+
};
|
|
26
|
+
});
|
|
27
|
+
// CREATE FUNCTION
|
|
28
|
+
const open = () => {
|
|
29
|
+
show.value = true;
|
|
30
|
+
};
|
|
31
|
+
const close = async () => {
|
|
32
|
+
await emits('afterClose');
|
|
33
|
+
show.value = false;
|
|
34
|
+
};
|
|
35
|
+
const __VLS_exposed = { close, open };
|
|
36
|
+
defineExpose(__VLS_exposed);
|
|
37
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
38
|
+
const __VLS_defaults = {
|
|
39
|
+
position: 'right',
|
|
40
|
+
showTitle: true,
|
|
41
|
+
width: 550
|
|
42
|
+
};
|
|
43
|
+
const __VLS_ctx = {
|
|
44
|
+
...{},
|
|
45
|
+
...{},
|
|
46
|
+
...{},
|
|
47
|
+
...{},
|
|
48
|
+
...{},
|
|
49
|
+
};
|
|
50
|
+
let __VLS_elements;
|
|
51
|
+
let __VLS_components;
|
|
52
|
+
let __VLS_directives;
|
|
53
|
+
/** @type {__VLS_StyleScopedClasses['drawer-box']} */ ;
|
|
54
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
55
|
+
...{ class: "absolute top-0 bottom-0 right-0 left-0 z-[1500] drawer" },
|
|
56
|
+
...{ class: (__VLS_ctx.show ? 'opacity-1' : 'pointer-events-none opacity-0 delay-300') },
|
|
57
|
+
});
|
|
58
|
+
// @ts-ignore
|
|
59
|
+
[show,];
|
|
60
|
+
if (!__VLS_ctx.disabledClose) {
|
|
61
|
+
// @ts-ignore
|
|
62
|
+
[disabledClose,];
|
|
63
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
64
|
+
...{ onClick: (__VLS_ctx.close) },
|
|
65
|
+
...{ onTouchstart: (__VLS_ctx.close) },
|
|
66
|
+
...{ class: "absolute w-full h-full z-[1500]" },
|
|
67
|
+
});
|
|
68
|
+
// @ts-ignore
|
|
69
|
+
[close, close,];
|
|
70
|
+
}
|
|
71
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
72
|
+
...{ class: "relative w-full h-full" },
|
|
73
|
+
});
|
|
74
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
75
|
+
...{ class: "duration-300 ease-out absolute top-0 bg-white flex flex-col drawer-box" },
|
|
76
|
+
...{ style: (__VLS_ctx.boxStyles) },
|
|
77
|
+
});
|
|
78
|
+
// @ts-ignore
|
|
79
|
+
[boxStyles,];
|
|
80
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
81
|
+
...{ class: "edit-scrollbar grow overflow-auto w-full min-w-full drawer-content" },
|
|
82
|
+
});
|
|
83
|
+
var __VLS_0 = {};
|
|
84
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
85
|
+
...{ class: "flex p-4 content" },
|
|
86
|
+
});
|
|
87
|
+
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
|
|
88
|
+
/** @type {__VLS_StyleScopedClasses['absolute']} */ ;
|
|
89
|
+
/** @type {__VLS_StyleScopedClasses['top-0']} */ ;
|
|
90
|
+
/** @type {__VLS_StyleScopedClasses['bottom-0']} */ ;
|
|
91
|
+
/** @type {__VLS_StyleScopedClasses['right-0']} */ ;
|
|
92
|
+
/** @type {__VLS_StyleScopedClasses['left-0']} */ ;
|
|
93
|
+
/** @type {__VLS_StyleScopedClasses['z-[1500]']} */ ;
|
|
94
|
+
/** @type {__VLS_StyleScopedClasses['drawer']} */ ;
|
|
95
|
+
/** @type {__VLS_StyleScopedClasses['absolute']} */ ;
|
|
96
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
97
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
98
|
+
/** @type {__VLS_StyleScopedClasses['z-[1500]']} */ ;
|
|
99
|
+
/** @type {__VLS_StyleScopedClasses['relative']} */ ;
|
|
100
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
101
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
102
|
+
/** @type {__VLS_StyleScopedClasses['duration-300']} */ ;
|
|
103
|
+
/** @type {__VLS_StyleScopedClasses['ease-out']} */ ;
|
|
104
|
+
/** @type {__VLS_StyleScopedClasses['absolute']} */ ;
|
|
105
|
+
/** @type {__VLS_StyleScopedClasses['top-0']} */ ;
|
|
106
|
+
/** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
|
|
107
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
108
|
+
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
109
|
+
/** @type {__VLS_StyleScopedClasses['drawer-box']} */ ;
|
|
110
|
+
/** @type {__VLS_StyleScopedClasses['edit-scrollbar']} */ ;
|
|
111
|
+
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
112
|
+
/** @type {__VLS_StyleScopedClasses['overflow-auto']} */ ;
|
|
113
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
114
|
+
/** @type {__VLS_StyleScopedClasses['min-w-full']} */ ;
|
|
115
|
+
/** @type {__VLS_StyleScopedClasses['drawer-content']} */ ;
|
|
116
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
117
|
+
/** @type {__VLS_StyleScopedClasses['p-4']} */ ;
|
|
118
|
+
/** @type {__VLS_StyleScopedClasses['content']} */ ;
|
|
119
|
+
// @ts-ignore
|
|
120
|
+
var __VLS_1 = __VLS_0;
|
|
121
|
+
const __VLS_base = (await import('vue')).defineComponent({
|
|
122
|
+
setup: () => (__VLS_exposed),
|
|
123
|
+
__typeEmits: {},
|
|
124
|
+
__typeProps: {},
|
|
125
|
+
props: {},
|
|
126
|
+
});
|
|
127
|
+
const __VLS_export = {};
|
|
128
|
+
export default {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { ref } from 'vue';
|
|
3
3
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuTrigger } from '../../../components/ui/dropdown-menu';
|
|
4
4
|
const props = withDefaults(defineProps(), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { computed } from 'vue';
|
|
3
3
|
import { useDebounce } from '../../../utils/debounce';
|
|
4
4
|
const props = withDefaults(defineProps(), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { ref } from 'vue';
|
|
3
3
|
const props = withDefaults(defineProps(), {
|
|
4
4
|
placement: 'bottom',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { computed } from 'vue';
|
|
3
3
|
import { CSlider } from "../../../components/ui/slider";
|
|
4
4
|
const props = withDefaults(defineProps(), {});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { onMounted, computed } from 'vue';
|
|
3
3
|
const props = withDefaults(defineProps(), {
|
|
4
4
|
size: 48,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
3
3
|
const __VLS_ctx = {};
|
|
4
4
|
let __VLS_elements;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
// COMPONENT
|
|
3
3
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
4
4
|
const __VLS_ctx = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { ref, onBeforeUnmount, onMounted } from 'vue';
|
|
3
3
|
import ModalBase from '../../components/common/modal/ModalBase.vue';
|
|
4
4
|
import ButtonBase from '../../components/common/button/ButtonBase.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { Primitive } from "reka-ui";
|
|
3
3
|
import { cn } from "../../../lib/utils";
|
|
4
4
|
import { buttonVariants } from "./c-button";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { Check } from "lucide-vue-next";
|
|
4
4
|
import { CheckboxIndicator, CheckboxRoot, useForwardPropsEmits } from "reka-ui";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { CollapsibleRoot, useForwardPropsEmits } from "reka-ui";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
const emits = defineEmits();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { CollapsibleContent } from "reka-ui";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { CollapsibleTrigger } from "reka-ui";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { DialogRoot, useForwardPropsEmits } from 'reka-ui';
|
|
3
3
|
defineOptions({ inheritAttrs: false });
|
|
4
4
|
const props = defineProps();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { DialogClose } from "reka-ui";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { computed } from 'vue';
|
|
3
3
|
import { reactiveOmit } from "@vueuse/core";
|
|
4
4
|
import { DialogContent, DialogOverlay, DialogPortal, useForwardPropsEmits, } from "reka-ui";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { DialogDescription, useForwardProps } from "reka-ui";
|
|
4
4
|
import { cn } from "../../../lib/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { cn } from "../../../lib/utils";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { cn } from "../../../lib/utils";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { computed } from 'vue';
|
|
3
3
|
import { reactiveOmit } from '@vueuse/core';
|
|
4
4
|
import { DialogContent, DialogOverlay, DialogPortal, useForwardPropsEmits } from 'reka-ui';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { DialogTitle, useForwardProps } from "reka-ui";
|
|
4
4
|
import { cn } from "../../../lib/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { DialogTrigger } from "reka-ui";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { useForwardPropsEmits } from "reka-ui";
|
|
3
3
|
import { DrawerRoot } from "vaul-vue";
|
|
4
4
|
const props = withDefaults(defineProps(), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { computed } from 'vue';
|
|
3
3
|
import { useForwardPropsEmits } from 'reka-ui';
|
|
4
4
|
import { DrawerContent, DrawerPortal } from 'vaul-vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { DrawerDescription } from "vaul-vue";
|
|
4
4
|
import { cn } from "../../../lib/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { cn } from "../../../lib/utils";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { cn } from "../../../lib/utils";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { DrawerOverlay } from "vaul-vue";
|
|
4
4
|
import { cn } from "../../../lib/utils";
|
|
@@ -21,11 +21,11 @@ DrawerOverlay;
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
23
23
|
...(__VLS_ctx.delegatedProps),
|
|
24
|
-
...{ class: (__VLS_ctx.cn('
|
|
24
|
+
...{ class: (__VLS_ctx.cn('absolute inset-0 z-50 bg-black/60', props.class)) },
|
|
25
25
|
}));
|
|
26
26
|
const __VLS_2 = __VLS_1({
|
|
27
27
|
...(__VLS_ctx.delegatedProps),
|
|
28
|
-
...{ class: (__VLS_ctx.cn('
|
|
28
|
+
...{ class: (__VLS_ctx.cn('absolute inset-0 z-50 bg-black/60', props.class)) },
|
|
29
29
|
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
30
30
|
var __VLS_4 = {};
|
|
31
31
|
// @ts-ignore
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { DrawerTitle } from "vaul-vue";
|
|
4
4
|
import { cn } from "../../../lib/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { DropdownMenuRoot, useForwardPropsEmits } from "reka-ui";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
const emits = defineEmits();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { Check } from "lucide-vue-next";
|
|
4
4
|
import { DropdownMenuCheckboxItem, DropdownMenuItemIndicator, useForwardPropsEmits, } from "reka-ui";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { DropdownMenuContent, DropdownMenuPortal, useForwardPropsEmits, } from "reka-ui";
|
|
4
4
|
import { cn } from "../../../lib/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { DropdownMenuGroup } from "reka-ui";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { DropdownMenuItem, useForwardProps } from "reka-ui";
|
|
4
4
|
import { cn } from "../../../lib/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { DropdownMenuLabel, useForwardProps } from "reka-ui";
|
|
4
4
|
import { cn } from "../../../lib/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { DropdownMenuRadioGroup, useForwardPropsEmits, } from "reka-ui";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
const emits = defineEmits();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { Circle } from "lucide-vue-next";
|
|
4
4
|
import { DropdownMenuItemIndicator, DropdownMenuRadioItem, useForwardPropsEmits, } from "reka-ui";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { DropdownMenuSeparator, } from "reka-ui";
|
|
4
4
|
import { cn } from "../../../lib/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { cn } from "../../../lib/utils";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { DropdownMenuSub, useForwardPropsEmits, } from "reka-ui";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
const emits = defineEmits();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { DropdownMenuSubContent, useForwardPropsEmits, } from "reka-ui";
|
|
4
4
|
import { cn } from "../../../lib/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { ChevronRight } from "lucide-vue-next";
|
|
4
4
|
import { DropdownMenuSubTrigger, useForwardProps, } from "reka-ui";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { DropdownMenuTrigger, useForwardProps } from "reka-ui";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
const forwardedProps = useForwardProps(props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { PopoverRoot, useForwardPropsEmits } from "reka-ui";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
const emits = defineEmits();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { PopoverContent, PopoverPortal, useForwardPropsEmits, } from "reka-ui";
|
|
4
4
|
import { cn } from "../../../lib/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { PopoverTrigger } from "reka-ui";
|
|
3
3
|
const props = defineProps();
|
|
4
4
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { RadioGroupRoot, useForwardPropsEmits } from "reka-ui";
|
|
4
4
|
import { cn } from "../../../lib/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from "@vueuse/core";
|
|
3
3
|
import { Circle } from "lucide-vue-next";
|
|
4
4
|
import { RadioGroupIndicator, RadioGroupItem, useForwardProps, } from "reka-ui";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from '@vueuse/core';
|
|
3
3
|
import { SliderRange, SliderRoot, SliderThumb, SliderTrack, useForwardPropsEmits } from 'reka-ui';
|
|
4
4
|
import { cn } from '../../../lib/utils';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { reactiveOmit } from '@vueuse/core';
|
|
3
3
|
import { SwitchRoot, SwitchThumb, useForwardPropsEmits } from 'reka-ui';
|
|
4
4
|
import { cn } from '../../../lib/utils';
|