@phonghq/go-chat 1.0.0 → 1.0.2

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 (285) hide show
  1. package/README.md +4 -0
  2. package/dist/assets/icons/IconArrowLeft.vue.d.ts +2 -0
  3. package/dist/assets/icons/IconArrowLeft.vue.js +29 -0
  4. package/dist/assets/icons/IconPhone.vue.d.ts +2 -0
  5. package/dist/assets/icons/IconPhone.vue.js +19 -0
  6. package/dist/assets/icons/IconPlan.vue.d.ts +2 -0
  7. package/dist/assets/icons/IconPlan.vue.js +19 -0
  8. package/dist/assets/icons/IconPlus.vue.d.ts +2 -0
  9. package/dist/assets/icons/IconPlus.vue.js +22 -0
  10. package/dist/assets/icons/IconSearch.vue.d.ts +32 -0
  11. package/dist/assets/icons/IconSearch.vue.js +68 -0
  12. package/dist/assets/icons/call/IconMic.vue.d.ts +14 -0
  13. package/dist/assets/icons/call/IconMic.vue.js +123 -0
  14. package/dist/assets/icons/call/IconPhone.vue.d.ts +2 -0
  15. package/dist/assets/icons/call/IconPhone.vue.js +35 -0
  16. package/dist/assets/icons/call/IconPhoneCancel.vue.d.ts +2 -0
  17. package/dist/assets/icons/call/IconPhoneCancel.vue.js +35 -0
  18. package/dist/assets/icons/call/IconSpeaker.vue.d.ts +14 -0
  19. package/dist/assets/icons/call/IconSpeaker.vue.js +62 -0
  20. package/dist/assets/icons/customer-appointment/IconFilter.vue.d.ts +2 -0
  21. package/dist/assets/icons/customer-appointment/IconFilter.vue.js +53 -0
  22. package/dist/assets/icons/customer-detail/IconArrow.vue.d.ts +2 -0
  23. package/dist/assets/icons/customer-detail/IconArrow.vue.js +22 -0
  24. package/dist/assets/icons/customer-detail/IconCheck.vue.d.ts +2 -0
  25. package/dist/assets/icons/customer-detail/IconCheck.vue.js +27 -0
  26. package/dist/assets/icons/customer-detail/IconDate.vue.d.ts +2 -0
  27. package/dist/assets/icons/customer-detail/IconDate.vue.js +43 -0
  28. package/dist/assets/icons/customer-detail/IconGroup.vue.d.ts +2 -0
  29. package/dist/assets/icons/customer-detail/IconGroup.vue.js +48 -0
  30. package/dist/assets/icons/customer-detail/IconMessage.vue.d.ts +2 -0
  31. package/dist/assets/icons/customer-detail/IconMessage.vue.js +28 -0
  32. package/dist/assets/icons/customer-detail/IconNote.vue.d.ts +2 -0
  33. package/dist/assets/icons/customer-detail/IconNote.vue.js +29 -0
  34. package/dist/assets/icons/customer-detail/IconPhone.vue.d.ts +2 -0
  35. package/dist/assets/icons/customer-detail/IconPhone.vue.js +21 -0
  36. package/dist/assets/icons/customer-detail/IconPin.vue.d.ts +2 -0
  37. package/dist/assets/icons/customer-detail/IconPin.vue.js +29 -0
  38. package/dist/assets/icons/customer-detail/IconSearch.vue.d.ts +2 -0
  39. package/dist/assets/icons/customer-detail/IconSearch.vue.js +29 -0
  40. package/dist/chat/App.vue.d.ts +5 -0
  41. package/dist/chat/App.vue.js +502 -0
  42. package/dist/chat/main.d.ts +3 -0
  43. package/dist/chat/main.js +2 -0
  44. package/dist/chat/page/customer-appointment/CustomerAppointment.vue.d.ts +2 -0
  45. package/dist/chat/page/customer-appointment/CustomerAppointment.vue.js +207 -0
  46. package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.d.ts +12 -0
  47. package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.js +80 -0
  48. package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.d.ts +2 -0
  49. package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.js +136 -0
  50. package/dist/chat/page/customer-detail/CustomerDetail.vue.d.ts +7 -0
  51. package/dist/chat/page/customer-detail/CustomerDetail.vue.js +235 -0
  52. package/dist/chat/page/customer-detail/SubInformation.vue.d.ts +16 -0
  53. package/dist/chat/page/customer-detail/SubInformation.vue.js +102 -0
  54. package/dist/chat/page/error/Error.vue.d.ts +2 -0
  55. package/dist/chat/page/error/Error.vue.js +64 -0
  56. package/dist/chat/page/home/ChatList.vue.d.ts +20 -0
  57. package/dist/chat/page/home/ChatList.vue.js +380 -0
  58. package/dist/chat/page/home/ChatMessage.vue.d.ts +16 -0
  59. package/dist/chat/page/home/ChatMessage.vue.js +271 -0
  60. package/dist/chat/page/home/Home.vue.d.ts +14 -0
  61. package/dist/chat/page/home/Home.vue.js +327 -0
  62. package/dist/chat/page/home/HomeHeader.vue.d.ts +10 -0
  63. package/dist/chat/page/home/HomeHeader.vue.js +122 -0
  64. package/dist/chat/page/home/InputChat.vue.d.ts +19 -0
  65. package/dist/chat/page/home/InputChat.vue.js +226 -0
  66. package/dist/chat/page/home/NewCustomer.vue.d.ts +6 -0
  67. package/dist/chat/page/home/NewCustomer.vue.js +82 -0
  68. package/dist/components/ListenEvent.vue.d.ts +2 -0
  69. package/dist/components/ListenEvent.vue.js +45 -0
  70. package/dist/components/chat/ScrollEvent/ScrollEvent.vue.d.ts +22 -0
  71. package/dist/components/chat/ScrollEvent/ScrollEvent.vue.js +197 -0
  72. package/dist/components/chat/call/Calling.vue.d.ts +7 -0
  73. package/dist/components/chat/call/Calling.vue.js +291 -0
  74. package/dist/components/chat/card/CardCustomerDetail.vue.d.ts +13 -0
  75. package/dist/components/chat/card/CardCustomerDetail.vue.js +28 -0
  76. package/dist/components/chat/common/collapse/CollapseBase.vue.d.ts +20 -0
  77. package/dist/components/chat/common/collapse/CollapseBase.vue.js +59 -0
  78. package/dist/components/chat/common/input/InputSearch.vue.d.ts +16 -0
  79. package/dist/components/chat/common/input/InputSearch.vue.js +71 -0
  80. package/dist/components/chat/common/popover/PopoverBase.vue.d.ts +35 -0
  81. package/dist/components/chat/common/popover/PopoverBase.vue.js +148 -0
  82. package/dist/components/chat/common/spin/BaseSpin.vue.d.ts +2 -0
  83. package/dist/components/chat/common/spin/BaseSpin.vue.js +12 -0
  84. package/dist/components/chat/customer/Avatar.vue.d.ts +11 -0
  85. package/dist/components/chat/customer/Avatar.vue.js +79 -0
  86. package/dist/components/chat/layout/mobile/Footer.vue.d.ts +2 -0
  87. package/dist/components/chat/layout/mobile/Footer.vue.js +109 -0
  88. package/dist/components/common/CustomLoading.vue.d.ts +2 -0
  89. package/dist/components/common/CustomLoading.vue.js +19 -0
  90. package/dist/components/common/Notification/NotificationDescription.vue.d.ts +7 -0
  91. package/dist/components/common/Notification/NotificationDescription.vue.js +38 -0
  92. package/dist/components/common/button/ButtonBase.vue.d.ts +22 -0
  93. package/dist/components/common/button/ButtonBase.vue.js +78 -0
  94. package/dist/components/common/button/ButtonToggle.vue.d.ts +20 -0
  95. package/dist/components/common/button/ButtonToggle.vue.js +70 -0
  96. package/dist/components/common/checkbox/CCheckboxNumber.vue.d.ts +16 -0
  97. package/dist/components/common/checkbox/CCheckboxNumber.vue.js +48 -0
  98. package/dist/components/common/collapse/BaseCollapse.vue.d.ts +12 -0
  99. package/dist/components/common/collapse/BaseCollapse.vue.js +36 -0
  100. package/dist/components/common/collapse/BaseCollapseItem.vue.d.ts +4 -0
  101. package/dist/components/common/collapse/BaseCollapseItem.vue.js +22 -0
  102. package/dist/components/common/drawer/DrawerBase.vue.d.ts +39 -0
  103. package/dist/components/common/drawer/DrawerBase.vue.js +126 -0
  104. package/dist/components/common/dropdown/DropdownBase.vue.d.ts +21 -0
  105. package/dist/components/common/dropdown/DropdownBase.vue.js +91 -0
  106. package/dist/components/common/input/CInputSearch.vue.d.ts +14 -0
  107. package/dist/components/common/input/CInputSearch.vue.js +62 -0
  108. package/dist/components/common/modal/ModalBase.vue.d.ts +35 -0
  109. package/dist/components/common/modal/ModalBase.vue.js +164 -0
  110. package/dist/components/common/popover/PopoverBase.vue.d.ts +3 -0
  111. package/dist/components/common/popover/PopoverBase.vue.js +36 -0
  112. package/dist/components/common/slider/BaseSlider.vue.d.ts +11 -0
  113. package/dist/components/common/slider/BaseSlider.vue.js +70 -0
  114. package/dist/components/common/spin/CSpin.vue.d.ts +9 -0
  115. package/dist/components/common/spin/CSpin.vue.js +41 -0
  116. package/dist/components/common/tooltip/TooltipBase.vue.d.ts +2 -0
  117. package/dist/components/common/tooltip/TooltipBase.vue.js +8 -0
  118. package/dist/components/layout/Blank.vue.d.ts +9 -0
  119. package/dist/components/layout/Blank.vue.js +19 -0
  120. package/dist/components/layout/Default.vue.d.ts +9 -0
  121. package/dist/components/layout/Default.vue.js +21 -0
  122. package/dist/components/modal/Confirm.vue.d.ts +2 -0
  123. package/dist/components/modal/Confirm.vue.js +164 -0
  124. package/dist/components/ui/button/CButton.vue.d.ts +19 -0
  125. package/dist/components/ui/button/CButton.vue.js +49 -0
  126. package/dist/components/ui/button/c-button.d.ts +7 -0
  127. package/dist/components/ui/button/c-button.js +26 -0
  128. package/dist/components/ui/checkbox/Checkbox.vue.d.ts +18 -0
  129. package/dist/components/ui/checkbox/Checkbox.vue.js +79 -0
  130. package/dist/components/ui/checkbox/index.d.ts +1 -0
  131. package/dist/components/ui/checkbox/index.js +1 -0
  132. package/dist/components/ui/collapsible/Collapsible.vue.d.ts +16 -0
  133. package/dist/components/ui/collapsible/Collapsible.vue.js +47 -0
  134. package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +10 -0
  135. package/dist/components/ui/collapsible/CollapsibleContent.vue.js +41 -0
  136. package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +10 -0
  137. package/dist/components/ui/collapsible/CollapsibleTrigger.vue.js +35 -0
  138. package/dist/components/ui/collapsible/index.d.ts +3 -0
  139. package/dist/components/ui/collapsible/index.js +3 -0
  140. package/dist/components/ui/dialog/Dialog.vue.d.ts +14 -0
  141. package/dist/components/ui/dialog/Dialog.vue.js +42 -0
  142. package/dist/components/ui/dialog/DialogClose.vue.d.ts +10 -0
  143. package/dist/components/ui/dialog/DialogClose.vue.js +35 -0
  144. package/dist/components/ui/dialog/DialogContent.vue.d.ts +29 -0
  145. package/dist/components/ui/dialog/DialogContent.vue.js +84 -0
  146. package/dist/components/ui/dialog/DialogDescription.vue.d.ts +14 -0
  147. package/dist/components/ui/dialog/DialogDescription.vue.js +43 -0
  148. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +13 -0
  149. package/dist/components/ui/dialog/DialogFooter.vue.js +26 -0
  150. package/dist/components/ui/dialog/DialogHeader.vue.d.ts +13 -0
  151. package/dist/components/ui/dialog/DialogHeader.vue.js +26 -0
  152. package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +30 -0
  153. package/dist/components/ui/dialog/DialogScrollContent.vue.js +99 -0
  154. package/dist/components/ui/dialog/DialogTitle.vue.d.ts +14 -0
  155. package/dist/components/ui/dialog/DialogTitle.vue.js +43 -0
  156. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +10 -0
  157. package/dist/components/ui/dialog/DialogTrigger.vue.js +35 -0
  158. package/dist/components/ui/dialog/index.d.ts +9 -0
  159. package/dist/components/ui/dialog/index.js +9 -0
  160. package/dist/components/ui/drawer/Drawer.vue.d.ts +26 -0
  161. package/dist/components/ui/drawer/Drawer.vue.js +48 -0
  162. package/dist/components/ui/drawer/DrawerContent.vue.d.ts +33 -0
  163. package/dist/components/ui/drawer/DrawerContent.vue.js +81 -0
  164. package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +14 -0
  165. package/dist/components/ui/drawer/DrawerDescription.vue.js +42 -0
  166. package/dist/components/ui/drawer/DrawerFooter.vue.d.ts +13 -0
  167. package/dist/components/ui/drawer/DrawerFooter.vue.js +26 -0
  168. package/dist/components/ui/drawer/DrawerHeader.vue.d.ts +13 -0
  169. package/dist/components/ui/drawer/DrawerHeader.vue.js +26 -0
  170. package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
  171. package/dist/components/ui/drawer/DrawerOverlay.vue.js +37 -0
  172. package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +14 -0
  173. package/dist/components/ui/drawer/DrawerTitle.vue.js +42 -0
  174. package/dist/components/ui/drawer/index.d.ts +8 -0
  175. package/dist/components/ui/drawer/index.js +8 -0
  176. package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +14 -0
  177. package/dist/components/ui/dropdown-menu/DropdownMenu.vue.js +41 -0
  178. package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +20 -0
  179. package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.js +79 -0
  180. package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +28 -0
  181. package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.js +61 -0
  182. package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +10 -0
  183. package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.js +35 -0
  184. package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +15 -0
  185. package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.js +43 -0
  186. package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +15 -0
  187. package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.js +43 -0
  188. package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +14 -0
  189. package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.js +41 -0
  190. package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +18 -0
  191. package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.js +80 -0
  192. package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
  193. package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.js +37 -0
  194. package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +13 -0
  195. package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.js +26 -0
  196. package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +14 -0
  197. package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.js +41 -0
  198. package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +30 -0
  199. package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.js +46 -0
  200. package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +14 -0
  201. package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.js +58 -0
  202. package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +10 -0
  203. package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.js +41 -0
  204. package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
  205. package/dist/components/ui/dropdown-menu/index.js +15 -0
  206. package/dist/components/ui/popover/Popover.vue.d.ts +14 -0
  207. package/dist/components/ui/popover/Popover.vue.js +41 -0
  208. package/dist/components/ui/popover/PopoverContent.vue.d.ts +28 -0
  209. package/dist/components/ui/popover/PopoverContent.vue.js +60 -0
  210. package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +10 -0
  211. package/dist/components/ui/popover/PopoverTrigger.vue.js +35 -0
  212. package/dist/components/ui/popover/index.d.ts +3 -0
  213. package/dist/components/ui/popover/index.js +3 -0
  214. package/dist/components/ui/radio-group/RadioGroup.vue.d.ts +18 -0
  215. package/dist/components/ui/radio-group/RadioGroup.vue.js +46 -0
  216. package/dist/components/ui/radio-group/RadioGroupItem.vue.d.ts +7 -0
  217. package/dist/components/ui/radio-group/RadioGroupItem.vue.js +71 -0
  218. package/dist/components/ui/radio-group/index.d.ts +2 -0
  219. package/dist/components/ui/radio-group/index.js +2 -0
  220. package/dist/components/ui/slider/Slider.vue.d.ts +13 -0
  221. package/dist/components/ui/slider/Slider.vue.js +155 -0
  222. package/dist/components/ui/slider/index.d.ts +1 -0
  223. package/dist/components/ui/slider/index.js +1 -0
  224. package/dist/components/ui/switch/Switch.vue.d.ts +18 -0
  225. package/dist/components/ui/switch/Switch.vue.js +61 -0
  226. package/dist/components/ui/switch/index.d.ts +1 -0
  227. package/dist/components/ui/switch/index.js +1 -0
  228. package/dist/composable/useCallHelper.d.ts +23 -0
  229. package/dist/composable/useCallHelper.js +170 -0
  230. package/dist/composable/useInitData.d.ts +11 -0
  231. package/dist/composable/useInitData.js +84 -0
  232. package/dist/composable/useModalConfirm.d.ts +5 -0
  233. package/dist/composable/useModalConfirm.js +39 -0
  234. package/dist/constant/color.d.ts +22 -0
  235. package/dist/constant/color.js +43 -0
  236. package/dist/constant/datetime.d.ts +5 -0
  237. package/dist/constant/datetime.js +5 -0
  238. package/dist/constant/general.d.ts +8 -0
  239. package/dist/constant/general.js +9 -0
  240. package/dist/constant/message.d.ts +8 -0
  241. package/dist/constant/message.js +8 -0
  242. package/dist/constant/mqtt.d.ts +4 -0
  243. package/dist/constant/mqtt.js +11 -0
  244. package/dist/constant/user.d.ts +8 -0
  245. package/dist/constant/user.js +9 -0
  246. package/dist/go-chat.es.js +64024 -2699
  247. package/dist/go-chat.umd.js +15 -3
  248. package/dist/lib/utils.d.ts +2 -0
  249. package/dist/lib/utils.js +5 -0
  250. package/dist/plugins/axios-gci.d.ts +3 -0
  251. package/dist/plugins/axios-gci.js +25 -0
  252. package/dist/plugins/axios.d.ts +3 -0
  253. package/dist/plugins/axios.js +85 -0
  254. package/dist/plugins/mqtt.d.ts +10 -0
  255. package/dist/plugins/mqtt.js +128 -0
  256. package/dist/plugins/sdk.d.ts +19 -0
  257. package/dist/plugins/sdk.js +83 -0
  258. package/dist/plugins/websocket.d.ts +4 -0
  259. package/dist/plugins/websocket.js +65 -0
  260. package/dist/style.css +1 -1
  261. package/dist/types/chat/user.d.ts +88 -0
  262. package/dist/types/chat/user.js +1 -0
  263. package/dist/types/conversation.d.ts +18 -0
  264. package/dist/types/conversation.js +1 -0
  265. package/dist/utils/chat/auth.d.ts +45 -0
  266. package/dist/utils/chat/auth.js +51 -0
  267. package/dist/utils/chat/call.d.ts +5 -0
  268. package/dist/utils/chat/call.js +61 -0
  269. package/dist/utils/chat/chat-router.d.ts +3 -0
  270. package/dist/utils/chat/chat-router.js +9 -0
  271. package/dist/utils/chat/conversation.d.ts +3 -0
  272. package/dist/utils/chat/conversation.js +7 -0
  273. package/dist/utils/chat/message.d.ts +17 -0
  274. package/dist/utils/chat/message.js +42 -0
  275. package/dist/utils/chat/user.d.ts +193 -0
  276. package/dist/utils/chat/user.js +33 -0
  277. package/dist/utils/debounce.d.ts +1 -0
  278. package/dist/utils/debounce.js +9 -0
  279. package/dist/utils/json.d.ts +2 -0
  280. package/dist/utils/json.js +18 -0
  281. package/dist/utils/logger.d.ts +3 -0
  282. package/dist/utils/logger.js +5 -0
  283. package/dist/utils/string-helper.d.ts +1 -0
  284. package/dist/utils/string-helper.js +27 -0
  285. package/package.json +8 -7
@@ -0,0 +1,47 @@
1
+ /// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { CollapsibleRoot, useForwardPropsEmits } from "reka-ui";
3
+ const props = defineProps();
4
+ const emits = defineEmits();
5
+ const forwarded = useForwardPropsEmits(props, emits);
6
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
7
+ const __VLS_ctx = {
8
+ ...{},
9
+ ...{},
10
+ ...{},
11
+ ...{},
12
+ ...{},
13
+ };
14
+ let __VLS_elements;
15
+ let __VLS_components;
16
+ let __VLS_directives;
17
+ const __VLS_0 = {}.CollapsibleRoot;
18
+ /** @type {[typeof __VLS_components.CollapsibleRoot, typeof __VLS_components.CollapsibleRoot, ]} */ ;
19
+ // @ts-ignore
20
+ CollapsibleRoot;
21
+ // @ts-ignore
22
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
23
+ ...(__VLS_ctx.forwarded),
24
+ }));
25
+ const __VLS_2 = __VLS_1({
26
+ ...(__VLS_ctx.forwarded),
27
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
28
+ var __VLS_4 = {};
29
+ {
30
+ const { default: __VLS_5 } = __VLS_3.slots;
31
+ const [{ open }] = __VLS_getSlotParameters(__VLS_5);
32
+ // @ts-ignore
33
+ [forwarded,];
34
+ var __VLS_6 = {
35
+ open: (open),
36
+ };
37
+ __VLS_3.slots['' /* empty slot name completion */];
38
+ }
39
+ var __VLS_3;
40
+ // @ts-ignore
41
+ var __VLS_7 = __VLS_6;
42
+ const __VLS_base = (await import('vue')).defineComponent({
43
+ __typeEmits: {},
44
+ __typeProps: {},
45
+ });
46
+ const __VLS_export = {};
47
+ export default {};
@@ -0,0 +1,10 @@
1
+ import type { CollapsibleContentProps } from "reka-ui";
2
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<CollapsibleContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CollapsibleContentProps> & 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,41 @@
1
+ /// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { CollapsibleContent } from "reka-ui";
3
+ const props = defineProps();
4
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
5
+ const __VLS_ctx = {
6
+ ...{},
7
+ ...{},
8
+ ...{},
9
+ ...{},
10
+ };
11
+ let __VLS_elements;
12
+ let __VLS_components;
13
+ let __VLS_directives;
14
+ const __VLS_0 = {}.CollapsibleContent;
15
+ /** @type {[typeof __VLS_components.CollapsibleContent, typeof __VLS_components.CollapsibleContent, ]} */ ;
16
+ // @ts-ignore
17
+ CollapsibleContent;
18
+ // @ts-ignore
19
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
20
+ ...(props),
21
+ ...{ class: "overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down" },
22
+ }));
23
+ const __VLS_2 = __VLS_1({
24
+ ...(props),
25
+ ...{ class: "overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down" },
26
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
27
+ var __VLS_4 = {};
28
+ const { default: __VLS_5 } = __VLS_3.slots;
29
+ var __VLS_6 = {};
30
+ var __VLS_3;
31
+ /** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
32
+ /** @type {__VLS_StyleScopedClasses['transition-all']} */ ;
33
+ /** @type {__VLS_StyleScopedClasses['data-[state=closed]:animate-collapsible-up']} */ ;
34
+ /** @type {__VLS_StyleScopedClasses['data-[state=open]:animate-collapsible-down']} */ ;
35
+ // @ts-ignore
36
+ var __VLS_7 = __VLS_6;
37
+ const __VLS_base = (await import('vue')).defineComponent({
38
+ __typeProps: {},
39
+ });
40
+ const __VLS_export = {};
41
+ export default {};
@@ -0,0 +1,10 @@
1
+ import type { CollapsibleTriggerProps } from "reka-ui";
2
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<CollapsibleTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CollapsibleTriggerProps> & 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,35 @@
1
+ /// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { CollapsibleTrigger } from "reka-ui";
3
+ const props = defineProps();
4
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
5
+ const __VLS_ctx = {
6
+ ...{},
7
+ ...{},
8
+ ...{},
9
+ ...{},
10
+ };
11
+ let __VLS_elements;
12
+ let __VLS_components;
13
+ let __VLS_directives;
14
+ const __VLS_0 = {}.CollapsibleTrigger;
15
+ /** @type {[typeof __VLS_components.CollapsibleTrigger, typeof __VLS_components.CollapsibleTrigger, ]} */ ;
16
+ // @ts-ignore
17
+ CollapsibleTrigger;
18
+ // @ts-ignore
19
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
20
+ ...(props),
21
+ }));
22
+ const __VLS_2 = __VLS_1({
23
+ ...(props),
24
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
25
+ var __VLS_4 = {};
26
+ const { default: __VLS_5 } = __VLS_3.slots;
27
+ var __VLS_6 = {};
28
+ var __VLS_3;
29
+ // @ts-ignore
30
+ var __VLS_7 = __VLS_6;
31
+ const __VLS_base = (await import('vue')).defineComponent({
32
+ __typeProps: {},
33
+ });
34
+ const __VLS_export = {};
35
+ export default {};
@@ -0,0 +1,3 @@
1
+ export { default as Collapsible } from "./Collapsible.vue";
2
+ export { default as CollapsibleContent } from "./CollapsibleContent.vue";
3
+ export { default as CollapsibleTrigger } from "./CollapsibleTrigger.vue";
@@ -0,0 +1,3 @@
1
+ export { default as Collapsible } from "./Collapsible.vue";
2
+ export { default as CollapsibleContent } from "./CollapsibleContent.vue";
3
+ export { default as CollapsibleTrigger } from "./CollapsibleTrigger.vue";
@@ -0,0 +1,14 @@
1
+ import type { DialogRootProps } from 'reka-ui';
2
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DialogRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ "update:open": (value: boolean) => any;
4
+ }, string, import("vue").PublicProps, Readonly<DialogRootProps> & Readonly<{
5
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
6
+ }>, {}, {}, {}, {}, 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,42 @@
1
+ /// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { DialogRoot, useForwardPropsEmits } from 'reka-ui';
3
+ defineOptions({ inheritAttrs: false });
4
+ const props = defineProps();
5
+ const emits = defineEmits();
6
+ const forwarded = useForwardPropsEmits(props, emits);
7
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
8
+ const __VLS_ctx = {
9
+ ...{},
10
+ ...{},
11
+ ...{},
12
+ ...{},
13
+ ...{},
14
+ };
15
+ let __VLS_elements;
16
+ let __VLS_components;
17
+ let __VLS_directives;
18
+ const __VLS_0 = {}.DialogRoot;
19
+ /** @type {[typeof __VLS_components.DialogRoot, typeof __VLS_components.DialogRoot, ]} */ ;
20
+ // @ts-ignore
21
+ DialogRoot;
22
+ // @ts-ignore
23
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
24
+ ...(__VLS_ctx.forwarded),
25
+ }));
26
+ const __VLS_2 = __VLS_1({
27
+ ...(__VLS_ctx.forwarded),
28
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
29
+ var __VLS_4 = {};
30
+ const { default: __VLS_5 } = __VLS_3.slots;
31
+ // @ts-ignore
32
+ [forwarded,];
33
+ var __VLS_6 = {};
34
+ var __VLS_3;
35
+ // @ts-ignore
36
+ var __VLS_7 = __VLS_6;
37
+ const __VLS_base = (await import('vue')).defineComponent({
38
+ __typeEmits: {},
39
+ __typeProps: {},
40
+ });
41
+ const __VLS_export = {};
42
+ export default {};
@@ -0,0 +1,10 @@
1
+ import type { DialogCloseProps } from "reka-ui";
2
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DialogCloseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DialogCloseProps> & 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,35 @@
1
+ /// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { DialogClose } from "reka-ui";
3
+ const props = defineProps();
4
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
5
+ const __VLS_ctx = {
6
+ ...{},
7
+ ...{},
8
+ ...{},
9
+ ...{},
10
+ };
11
+ let __VLS_elements;
12
+ let __VLS_components;
13
+ let __VLS_directives;
14
+ const __VLS_0 = {}.DialogClose;
15
+ /** @type {[typeof __VLS_components.DialogClose, typeof __VLS_components.DialogClose, ]} */ ;
16
+ // @ts-ignore
17
+ DialogClose;
18
+ // @ts-ignore
19
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
20
+ ...(props),
21
+ }));
22
+ const __VLS_2 = __VLS_1({
23
+ ...(props),
24
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
25
+ var __VLS_4 = {};
26
+ const { default: __VLS_5 } = __VLS_3.slots;
27
+ var __VLS_6 = {};
28
+ var __VLS_3;
29
+ // @ts-ignore
30
+ var __VLS_7 = __VLS_6;
31
+ const __VLS_base = (await import('vue')).defineComponent({
32
+ __typeProps: {},
33
+ });
34
+ const __VLS_export = {};
35
+ export default {};
@@ -0,0 +1,29 @@
1
+ import type { DialogContentProps } from "reka-ui";
2
+ import { type HTMLAttributes } from 'vue';
3
+ type __VLS_Props = DialogContentProps & {
4
+ class?: HTMLAttributes["class"];
5
+ width: string | number;
6
+ };
7
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ escapeKeyDown: (event: KeyboardEvent) => any;
9
+ pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
10
+ focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
11
+ interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
12
+ openAutoFocus: (event: Event) => any;
13
+ closeAutoFocus: (event: Event) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
16
+ onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
17
+ onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
18
+ onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
19
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
20
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
22
+ default?: ((props: {}) => any) | undefined;
23
+ }>;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,84 @@
1
+ /// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { computed } from 'vue';
3
+ import { reactiveOmit } from "@vueuse/core";
4
+ import { DialogContent, DialogOverlay, DialogPortal, useForwardPropsEmits, } from "reka-ui";
5
+ import { cn } from "../../../lib/utils";
6
+ const props = defineProps();
7
+ const emits = defineEmits();
8
+ const delegatedProps = reactiveOmit(props, "class");
9
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
10
+ const customStyle = computed(() => {
11
+ let result = {};
12
+ if (props.width) {
13
+ result.width = Number(props.width) ? props.width + 'px' : props.width;
14
+ }
15
+ return result;
16
+ });
17
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
18
+ const __VLS_ctx = {
19
+ ...{},
20
+ ...{},
21
+ ...{},
22
+ ...{},
23
+ ...{},
24
+ };
25
+ let __VLS_elements;
26
+ let __VLS_components;
27
+ let __VLS_directives;
28
+ const __VLS_0 = {}.DialogPortal;
29
+ /** @type {[typeof __VLS_components.DialogPortal, typeof __VLS_components.DialogPortal, ]} */ ;
30
+ // @ts-ignore
31
+ DialogPortal;
32
+ // @ts-ignore
33
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({}));
34
+ const __VLS_2 = __VLS_1({}, ...__VLS_functionalComponentArgsRest(__VLS_1));
35
+ var __VLS_4 = {};
36
+ const { default: __VLS_5 } = __VLS_3.slots;
37
+ const __VLS_6 = {}.DialogOverlay;
38
+ /** @type {[typeof __VLS_components.DialogOverlay, ]} */ ;
39
+ // @ts-ignore
40
+ DialogOverlay;
41
+ // @ts-ignore
42
+ const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({
43
+ ...{ class: "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" },
44
+ }));
45
+ const __VLS_8 = __VLS_7({
46
+ ...{ class: "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" },
47
+ }, ...__VLS_functionalComponentArgsRest(__VLS_7));
48
+ const __VLS_11 = {}.DialogContent;
49
+ /** @type {[typeof __VLS_components.DialogContent, typeof __VLS_components.DialogContent, ]} */ ;
50
+ // @ts-ignore
51
+ DialogContent;
52
+ // @ts-ignore
53
+ const __VLS_12 = __VLS_asFunctionalComponent(__VLS_11, new __VLS_11({
54
+ ...(__VLS_ctx.forwarded),
55
+ ...{ style: (__VLS_ctx.customStyle) },
56
+ ...{ class: (__VLS_ctx.cn('fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-white shadow-3xl duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg rounded-lg', props.class)) },
57
+ }));
58
+ const __VLS_13 = __VLS_12({
59
+ ...(__VLS_ctx.forwarded),
60
+ ...{ style: (__VLS_ctx.customStyle) },
61
+ ...{ class: (__VLS_ctx.cn('fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-white shadow-3xl duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg rounded-lg', props.class)) },
62
+ }, ...__VLS_functionalComponentArgsRest(__VLS_12));
63
+ const { default: __VLS_15 } = __VLS_14.slots;
64
+ // @ts-ignore
65
+ [forwarded, customStyle, cn,];
66
+ var __VLS_16 = {};
67
+ var __VLS_14;
68
+ var __VLS_3;
69
+ /** @type {__VLS_StyleScopedClasses['fixed']} */ ;
70
+ /** @type {__VLS_StyleScopedClasses['inset-0']} */ ;
71
+ /** @type {__VLS_StyleScopedClasses['z-50']} */ ;
72
+ /** @type {__VLS_StyleScopedClasses['bg-black/80']} */ ;
73
+ /** @type {__VLS_StyleScopedClasses['data-[state=open]:animate-in']} */ ;
74
+ /** @type {__VLS_StyleScopedClasses['data-[state=closed]:animate-out']} */ ;
75
+ /** @type {__VLS_StyleScopedClasses['data-[state=closed]:fade-out-0']} */ ;
76
+ /** @type {__VLS_StyleScopedClasses['data-[state=open]:fade-in-0']} */ ;
77
+ // @ts-ignore
78
+ var __VLS_17 = __VLS_16;
79
+ const __VLS_base = (await import('vue')).defineComponent({
80
+ __typeEmits: {},
81
+ __typeProps: {},
82
+ });
83
+ const __VLS_export = {};
84
+ export default {};
@@ -0,0 +1,14 @@
1
+ import type { DialogDescriptionProps } from "reka-ui";
2
+ import type { HTMLAttributes } from "vue";
3
+ type __VLS_Props = DialogDescriptionProps & {
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,43 @@
1
+ /// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { DialogDescription, useForwardProps } from "reka-ui";
4
+ import { cn } from "../../../lib/utils";
5
+ const props = defineProps();
6
+ const delegatedProps = reactiveOmit(props, "class");
7
+ const forwardedProps = useForwardProps(delegatedProps);
8
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
9
+ const __VLS_ctx = {
10
+ ...{},
11
+ ...{},
12
+ ...{},
13
+ ...{},
14
+ };
15
+ let __VLS_elements;
16
+ let __VLS_components;
17
+ let __VLS_directives;
18
+ const __VLS_0 = {}.DialogDescription;
19
+ /** @type {[typeof __VLS_components.DialogDescription, typeof __VLS_components.DialogDescription, ]} */ ;
20
+ // @ts-ignore
21
+ DialogDescription;
22
+ // @ts-ignore
23
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
24
+ ...(__VLS_ctx.forwardedProps),
25
+ ...{ class: (__VLS_ctx.cn('text-sm text-muted-foreground', props.class)) },
26
+ }));
27
+ const __VLS_2 = __VLS_1({
28
+ ...(__VLS_ctx.forwardedProps),
29
+ ...{ class: (__VLS_ctx.cn('text-sm text-muted-foreground', props.class)) },
30
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
31
+ var __VLS_4 = {};
32
+ const { default: __VLS_5 } = __VLS_3.slots;
33
+ // @ts-ignore
34
+ [forwardedProps, cn,];
35
+ var __VLS_6 = {};
36
+ var __VLS_3;
37
+ // @ts-ignore
38
+ var __VLS_7 = __VLS_6;
39
+ const __VLS_base = (await import('vue')).defineComponent({
40
+ __typeProps: {},
41
+ });
42
+ const __VLS_export = {};
43
+ export default {};
@@ -0,0 +1,13 @@
1
+ import type { HTMLAttributes } from "vue";
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes["class"];
4
+ };
5
+ 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>, {
6
+ default?: ((props: {}) => any) | undefined;
7
+ }>;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,26 @@
1
+ /// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { cn } from "../../../lib/utils";
3
+ const props = defineProps();
4
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
5
+ const __VLS_ctx = {
6
+ ...{},
7
+ ...{},
8
+ ...{},
9
+ ...{},
10
+ };
11
+ let __VLS_elements;
12
+ let __VLS_components;
13
+ let __VLS_directives;
14
+ __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
15
+ ...{ class: (__VLS_ctx.cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2', props.class)) },
16
+ });
17
+ // @ts-ignore
18
+ [cn,];
19
+ var __VLS_0 = {};
20
+ // @ts-ignore
21
+ var __VLS_1 = __VLS_0;
22
+ const __VLS_base = (await import('vue')).defineComponent({
23
+ __typeProps: {},
24
+ });
25
+ const __VLS_export = {};
26
+ export default {};
@@ -0,0 +1,13 @@
1
+ import type { HTMLAttributes } from "vue";
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes["class"];
4
+ };
5
+ 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>, {
6
+ default?: ((props: {}) => any) | undefined;
7
+ }>;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,26 @@
1
+ /// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { cn } from "../../../lib/utils";
3
+ const props = defineProps();
4
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
5
+ const __VLS_ctx = {
6
+ ...{},
7
+ ...{},
8
+ ...{},
9
+ ...{},
10
+ };
11
+ let __VLS_elements;
12
+ let __VLS_components;
13
+ let __VLS_directives;
14
+ __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
15
+ ...{ class: (__VLS_ctx.cn('flex flex-col gap-y-1.5 text-center sm:text-left', props.class)) },
16
+ });
17
+ // @ts-ignore
18
+ [cn,];
19
+ var __VLS_0 = {};
20
+ // @ts-ignore
21
+ var __VLS_1 = __VLS_0;
22
+ const __VLS_base = (await import('vue')).defineComponent({
23
+ __typeProps: {},
24
+ });
25
+ const __VLS_export = {};
26
+ export default {};
@@ -0,0 +1,30 @@
1
+ import type { DialogContentProps } from 'reka-ui';
2
+ import { type HTMLAttributes } from 'vue';
3
+ type __VLS_Props = DialogContentProps & {
4
+ class?: HTMLAttributes['class'];
5
+ width: string | number;
6
+ zIndex: number;
7
+ };
8
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ escapeKeyDown: (event: KeyboardEvent) => any;
10
+ pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
11
+ focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
12
+ interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
13
+ openAutoFocus: (event: Event) => any;
14
+ closeAutoFocus: (event: Event) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
17
+ onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
18
+ onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
19
+ onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
20
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
21
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
23
+ default?: ((props: {}) => any) | undefined;
24
+ }>;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,99 @@
1
+ /// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { computed } from 'vue';
3
+ import { reactiveOmit } from '@vueuse/core';
4
+ import { DialogContent, DialogOverlay, DialogPortal, useForwardPropsEmits } from 'reka-ui';
5
+ import { cn } from '../../../lib/utils';
6
+ defineOptions({ inheritAttrs: false });
7
+ const props = defineProps();
8
+ const emits = defineEmits();
9
+ const delegatedProps = reactiveOmit(props, 'class');
10
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
11
+ const customStyle = computed(() => {
12
+ let result = {};
13
+ result.width = Number(props.width) ? props.width + 'px' : props.width;
14
+ result.zIndex = props.zIndex;
15
+ return result;
16
+ });
17
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
18
+ const __VLS_ctx = {
19
+ ...{},
20
+ ...{},
21
+ ...{},
22
+ ...{},
23
+ ...{},
24
+ };
25
+ let __VLS_elements;
26
+ let __VLS_components;
27
+ let __VLS_directives;
28
+ const __VLS_0 = {}.DialogPortal;
29
+ /** @type {[typeof __VLS_components.DialogPortal, typeof __VLS_components.DialogPortal, ]} */ ;
30
+ // @ts-ignore
31
+ DialogPortal;
32
+ // @ts-ignore
33
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
34
+ ...{ class: "sc-full" },
35
+ }));
36
+ const __VLS_2 = __VLS_1({
37
+ ...{ class: "sc-full" },
38
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
39
+ var __VLS_4 = {};
40
+ const { default: __VLS_5 } = __VLS_3.slots;
41
+ const __VLS_6 = {}.DialogOverlay;
42
+ /** @type {[typeof __VLS_components.DialogOverlay, typeof __VLS_components.DialogOverlay, ]} */ ;
43
+ // @ts-ignore
44
+ DialogOverlay;
45
+ // @ts-ignore
46
+ const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({
47
+ ...{ style: ({ zIndex: __VLS_ctx.delegatedProps.zIndex }) },
48
+ ...{ class: "fixed inset-0 grid place-items-center overflow-y-auto bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" },
49
+ }));
50
+ const __VLS_8 = __VLS_7({
51
+ ...{ style: ({ zIndex: __VLS_ctx.delegatedProps.zIndex }) },
52
+ ...{ class: "fixed inset-0 grid place-items-center overflow-y-auto bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" },
53
+ }, ...__VLS_functionalComponentArgsRest(__VLS_7));
54
+ const { default: __VLS_10 } = __VLS_9.slots;
55
+ // @ts-ignore
56
+ [delegatedProps,];
57
+ const __VLS_11 = {}.DialogContent;
58
+ /** @type {[typeof __VLS_components.DialogContent, typeof __VLS_components.DialogContent, ]} */ ;
59
+ // @ts-ignore
60
+ DialogContent;
61
+ // @ts-ignore
62
+ const __VLS_12 = __VLS_asFunctionalComponent(__VLS_11, new __VLS_11({
63
+ 'aria-describedby': "",
64
+ ...{ style: (__VLS_ctx.customStyle) },
65
+ ...{ class: (__VLS_ctx.cn('relative grid w-full my-8 gap-4 border bg-white shadow-lg duration-200 sm:rounded-lg md:w-full', props.class)) },
66
+ ...(__VLS_ctx.forwarded),
67
+ }));
68
+ const __VLS_13 = __VLS_12({
69
+ 'aria-describedby': "",
70
+ ...{ style: (__VLS_ctx.customStyle) },
71
+ ...{ class: (__VLS_ctx.cn('relative grid w-full my-8 gap-4 border bg-white shadow-lg duration-200 sm:rounded-lg md:w-full', props.class)) },
72
+ ...(__VLS_ctx.forwarded),
73
+ }, ...__VLS_functionalComponentArgsRest(__VLS_12));
74
+ const { default: __VLS_15 } = __VLS_14.slots;
75
+ // @ts-ignore
76
+ [customStyle, cn, forwarded,];
77
+ var __VLS_16 = {};
78
+ var __VLS_14;
79
+ var __VLS_9;
80
+ var __VLS_3;
81
+ /** @type {__VLS_StyleScopedClasses['sc-full']} */ ;
82
+ /** @type {__VLS_StyleScopedClasses['fixed']} */ ;
83
+ /** @type {__VLS_StyleScopedClasses['inset-0']} */ ;
84
+ /** @type {__VLS_StyleScopedClasses['grid']} */ ;
85
+ /** @type {__VLS_StyleScopedClasses['place-items-center']} */ ;
86
+ /** @type {__VLS_StyleScopedClasses['overflow-y-auto']} */ ;
87
+ /** @type {__VLS_StyleScopedClasses['bg-black/80']} */ ;
88
+ /** @type {__VLS_StyleScopedClasses['data-[state=open]:animate-in']} */ ;
89
+ /** @type {__VLS_StyleScopedClasses['data-[state=closed]:animate-out']} */ ;
90
+ /** @type {__VLS_StyleScopedClasses['data-[state=closed]:fade-out-0']} */ ;
91
+ /** @type {__VLS_StyleScopedClasses['data-[state=open]:fade-in-0']} */ ;
92
+ // @ts-ignore
93
+ var __VLS_17 = __VLS_16;
94
+ const __VLS_base = (await import('vue')).defineComponent({
95
+ __typeEmits: {},
96
+ __typeProps: {},
97
+ });
98
+ const __VLS_export = {};
99
+ export default {};