@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.
Files changed (121) hide show
  1. package/README.md +1 -1
  2. package/dist/chat/App.vue.d.ts +3 -2
  3. package/dist/components/chat/call/Calling.vue.d.ts +6 -2
  4. package/dist/components/common/drawer/DrawerBaseCustom.vue.d.ts +30 -0
  5. package/dist/composable/TestSound.d.ts +64 -0
  6. package/dist/composable/useCallHelper.d.ts +26 -8
  7. package/dist/constant/datetime.d.ts +1 -0
  8. package/dist/go-chat.es.js +143 -143
  9. package/dist/go-chat.umd.js +6 -6
  10. package/dist/plugins/websocket.d.ts +1 -0
  11. package/dist/style.css +1 -1
  12. package/dist/test/assets/icons/IconArrowLeft.vue.js +1 -1
  13. package/dist/test/assets/icons/IconPhone.vue.js +1 -1
  14. package/dist/test/assets/icons/IconPlan.vue.js +1 -1
  15. package/dist/test/assets/icons/IconPlus.vue.js +1 -1
  16. package/dist/test/assets/icons/IconSearch.vue.js +1 -1
  17. package/dist/test/assets/icons/call/IconMic.vue.js +1 -1
  18. package/dist/test/assets/icons/call/IconPhone.vue.js +1 -1
  19. package/dist/test/assets/icons/call/IconPhoneCancel.vue.js +1 -1
  20. package/dist/test/assets/icons/call/IconSpeaker.vue.js +1 -1
  21. package/dist/test/assets/icons/customer-appointment/IconFilter.vue.js +1 -1
  22. package/dist/test/assets/icons/customer-detail/IconArrow.vue.js +1 -1
  23. package/dist/test/assets/icons/customer-detail/IconCheck.vue.js +1 -1
  24. package/dist/test/assets/icons/customer-detail/IconDate.vue.js +1 -1
  25. package/dist/test/assets/icons/customer-detail/IconGroup.vue.js +1 -1
  26. package/dist/test/assets/icons/customer-detail/IconMessage.vue.js +1 -1
  27. package/dist/test/assets/icons/customer-detail/IconNote.vue.js +1 -1
  28. package/dist/test/assets/icons/customer-detail/IconPhone.vue.js +1 -1
  29. package/dist/test/assets/icons/customer-detail/IconPin.vue.js +1 -1
  30. package/dist/test/assets/icons/customer-detail/IconSearch.vue.js +1 -1
  31. package/dist/test/chat/App.vue.js +174 -108
  32. package/dist/test/chat/page/customer-appointment/CustomerAppointment.vue.js +1 -1
  33. package/dist/test/chat/page/customer-check-in/CollapseCheckIn.vue.js +1 -1
  34. package/dist/test/chat/page/customer-check-in/CustomerCheckIn.vue.js +1 -1
  35. package/dist/test/chat/page/customer-detail/CustomerDetail.vue.js +1 -1
  36. package/dist/test/chat/page/customer-detail/SubInformation.vue.js +1 -1
  37. package/dist/test/chat/page/error/Error.vue.js +1 -1
  38. package/dist/test/chat/page/home/ChatList.vue.js +40 -6
  39. package/dist/test/chat/page/home/ChatMessage.vue.js +1 -1
  40. package/dist/test/chat/page/home/Home.vue.js +9 -3
  41. package/dist/test/chat/page/home/InputChat.vue.js +3 -2
  42. package/dist/test/chat/page/home/NewCustomer.vue.js +1 -1
  43. package/dist/test/components/ListenEvent.vue.js +1 -1
  44. package/dist/test/components/chat/ScrollEvent/ScrollEvent.vue.js +1 -1
  45. package/dist/test/components/chat/call/Calling.vue.js +102 -70
  46. package/dist/test/components/chat/card/CardCustomerDetail.vue.js +1 -1
  47. package/dist/test/components/chat/common/collapse/CollapseBase.vue.js +1 -1
  48. package/dist/test/components/chat/common/input/InputSearch.vue.js +1 -1
  49. package/dist/test/components/chat/common/popover/PopoverBase.vue.js +1 -1
  50. package/dist/test/components/chat/common/spin/BaseSpin.vue.js +1 -1
  51. package/dist/test/components/chat/customer/Avatar.vue.js +1 -1
  52. package/dist/test/components/chat/layout/mobile/Footer.vue.js +1 -1
  53. package/dist/test/components/common/CustomLoading.vue.js +1 -1
  54. package/dist/test/components/common/Notification/NotificationDescription.vue.js +1 -1
  55. package/dist/test/components/common/button/ButtonBase.vue.js +1 -1
  56. package/dist/test/components/common/button/ButtonToggle.vue.js +1 -1
  57. package/dist/test/components/common/checkbox/CCheckboxNumber.vue.js +1 -1
  58. package/dist/test/components/common/collapse/BaseCollapse.vue.js +1 -1
  59. package/dist/test/components/common/collapse/BaseCollapseItem.vue.js +1 -1
  60. package/dist/test/components/common/drawer/DrawerBase.vue.js +1 -1
  61. package/dist/test/components/common/drawer/DrawerBaseCustom.vue.js +128 -0
  62. package/dist/test/components/common/dropdown/DropdownBase.vue.js +1 -1
  63. package/dist/test/components/common/input/CInputSearch.vue.js +1 -1
  64. package/dist/test/components/common/modal/ModalBase.vue.js +1 -1
  65. package/dist/test/components/common/popover/PopoverBase.vue.js +1 -1
  66. package/dist/test/components/common/slider/BaseSlider.vue.js +1 -1
  67. package/dist/test/components/common/spin/CSpin.vue.js +1 -1
  68. package/dist/test/components/common/tooltip/TooltipBase.vue.js +1 -1
  69. package/dist/test/components/layout/Blank.vue.js +1 -1
  70. package/dist/test/components/layout/Default.vue.js +1 -1
  71. package/dist/test/components/modal/Confirm.vue.js +1 -1
  72. package/dist/test/components/ui/button/CButton.vue.js +1 -1
  73. package/dist/test/components/ui/checkbox/Checkbox.vue.js +1 -1
  74. package/dist/test/components/ui/collapsible/Collapsible.vue.js +1 -1
  75. package/dist/test/components/ui/collapsible/CollapsibleContent.vue.js +1 -1
  76. package/dist/test/components/ui/collapsible/CollapsibleTrigger.vue.js +1 -1
  77. package/dist/test/components/ui/dialog/Dialog.vue.js +1 -1
  78. package/dist/test/components/ui/dialog/DialogClose.vue.js +1 -1
  79. package/dist/test/components/ui/dialog/DialogContent.vue.js +1 -1
  80. package/dist/test/components/ui/dialog/DialogDescription.vue.js +1 -1
  81. package/dist/test/components/ui/dialog/DialogFooter.vue.js +1 -1
  82. package/dist/test/components/ui/dialog/DialogHeader.vue.js +1 -1
  83. package/dist/test/components/ui/dialog/DialogScrollContent.vue.js +1 -1
  84. package/dist/test/components/ui/dialog/DialogTitle.vue.js +1 -1
  85. package/dist/test/components/ui/dialog/DialogTrigger.vue.js +1 -1
  86. package/dist/test/components/ui/drawer/Drawer.vue.js +1 -1
  87. package/dist/test/components/ui/drawer/DrawerContent.vue.js +1 -1
  88. package/dist/test/components/ui/drawer/DrawerDescription.vue.js +1 -1
  89. package/dist/test/components/ui/drawer/DrawerFooter.vue.js +1 -1
  90. package/dist/test/components/ui/drawer/DrawerHeader.vue.js +1 -1
  91. package/dist/test/components/ui/drawer/DrawerOverlay.vue.js +3 -3
  92. package/dist/test/components/ui/drawer/DrawerTitle.vue.js +1 -1
  93. package/dist/test/components/ui/dropdown-menu/DropdownMenu.vue.js +1 -1
  94. package/dist/test/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.js +1 -1
  95. package/dist/test/components/ui/dropdown-menu/DropdownMenuContent.vue.js +1 -1
  96. package/dist/test/components/ui/dropdown-menu/DropdownMenuGroup.vue.js +1 -1
  97. package/dist/test/components/ui/dropdown-menu/DropdownMenuItem.vue.js +1 -1
  98. package/dist/test/components/ui/dropdown-menu/DropdownMenuLabel.vue.js +1 -1
  99. package/dist/test/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.js +1 -1
  100. package/dist/test/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.js +1 -1
  101. package/dist/test/components/ui/dropdown-menu/DropdownMenuSeparator.vue.js +1 -1
  102. package/dist/test/components/ui/dropdown-menu/DropdownMenuShortcut.vue.js +1 -1
  103. package/dist/test/components/ui/dropdown-menu/DropdownMenuSub.vue.js +1 -1
  104. package/dist/test/components/ui/dropdown-menu/DropdownMenuSubContent.vue.js +1 -1
  105. package/dist/test/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.js +1 -1
  106. package/dist/test/components/ui/dropdown-menu/DropdownMenuTrigger.vue.js +1 -1
  107. package/dist/test/components/ui/popover/Popover.vue.js +1 -1
  108. package/dist/test/components/ui/popover/PopoverContent.vue.js +1 -1
  109. package/dist/test/components/ui/popover/PopoverTrigger.vue.js +1 -1
  110. package/dist/test/components/ui/radio-group/RadioGroup.vue.js +1 -1
  111. package/dist/test/components/ui/radio-group/RadioGroupItem.vue.js +1 -1
  112. package/dist/test/components/ui/slider/Slider.vue.js +1 -1
  113. package/dist/test/components/ui/switch/Switch.vue.js +1 -1
  114. package/dist/test/composable/TestSound.js +196 -0
  115. package/dist/test/composable/useCallHelper.js +198 -142
  116. package/dist/test/constant/datetime.js +1 -0
  117. package/dist/test/plugins/websocket.js +10 -13
  118. package/dist/test/utils/chat/call.js +37 -0
  119. package/dist/types/chat/global.d.ts +1 -0
  120. package/dist/utils/chat/call.d.ts +2 -0
  121. 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
  defineOptions({
3
3
  inheritAttrs: false
4
4
  });
@@ -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
  debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
3
3
  const __VLS_ctx = {
4
4
  ...{},
@@ -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('fixed inset-0 z-50 bg-black/60', props.class)) },
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('fixed inset-0 z-50 bg-black/60', props.class)) },
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';