@phonghq/go-chat 1.0.3 → 1.0.4

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 (296) hide show
  1. package/dist/go-chat.es.js +6578 -6530
  2. package/dist/go-chat.umd.js +14 -14
  3. package/dist/style.css +1 -1
  4. package/package.json +1 -1
  5. package/dist/assets/icons/IconArrowLeft.vue.d.ts +0 -2
  6. package/dist/assets/icons/IconPhone.vue.d.ts +0 -2
  7. package/dist/assets/icons/IconPlan.vue.d.ts +0 -2
  8. package/dist/assets/icons/IconPlus.vue.d.ts +0 -2
  9. package/dist/assets/icons/IconSearch.vue.d.ts +0 -32
  10. package/dist/assets/icons/call/IconMic.vue.d.ts +0 -14
  11. package/dist/assets/icons/call/IconPhone.vue.d.ts +0 -2
  12. package/dist/assets/icons/call/IconPhoneCancel.vue.d.ts +0 -2
  13. package/dist/assets/icons/call/IconSpeaker.vue.d.ts +0 -14
  14. package/dist/assets/icons/customer-appointment/IconFilter.vue.d.ts +0 -2
  15. package/dist/assets/icons/customer-detail/IconArrow.vue.d.ts +0 -2
  16. package/dist/assets/icons/customer-detail/IconCheck.vue.d.ts +0 -2
  17. package/dist/assets/icons/customer-detail/IconDate.vue.d.ts +0 -2
  18. package/dist/assets/icons/customer-detail/IconGroup.vue.d.ts +0 -2
  19. package/dist/assets/icons/customer-detail/IconMessage.vue.d.ts +0 -2
  20. package/dist/assets/icons/customer-detail/IconNote.vue.d.ts +0 -2
  21. package/dist/assets/icons/customer-detail/IconPhone.vue.d.ts +0 -2
  22. package/dist/assets/icons/customer-detail/IconPin.vue.d.ts +0 -2
  23. package/dist/assets/icons/customer-detail/IconSearch.vue.d.ts +0 -2
  24. package/dist/chat/App.vue.d.ts +0 -5
  25. package/dist/chat/main.d.ts +0 -6
  26. package/dist/chat/page/customer-appointment/CustomerAppointment.vue.d.ts +0 -2
  27. package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.d.ts +0 -12
  28. package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.d.ts +0 -2
  29. package/dist/chat/page/customer-detail/CustomerDetail.vue.d.ts +0 -7
  30. package/dist/chat/page/customer-detail/SubInformation.vue.d.ts +0 -16
  31. package/dist/chat/page/error/Error.vue.d.ts +0 -2
  32. package/dist/chat/page/home/ChatList.vue.d.ts +0 -20
  33. package/dist/chat/page/home/ChatMessage.vue.d.ts +0 -16
  34. package/dist/chat/page/home/Home.vue.d.ts +0 -14
  35. package/dist/chat/page/home/HomeHeader.vue.d.ts +0 -10
  36. package/dist/chat/page/home/InputChat.vue.d.ts +0 -19
  37. package/dist/chat/page/home/NewCustomer.vue.d.ts +0 -6
  38. package/dist/components/ListenEvent.vue.d.ts +0 -2
  39. package/dist/components/chat/ScrollEvent/ScrollEvent.vue.d.ts +0 -22
  40. package/dist/components/chat/call/Calling.vue.d.ts +0 -7
  41. package/dist/components/chat/card/CardCustomerDetail.vue.d.ts +0 -13
  42. package/dist/components/chat/common/collapse/CollapseBase.vue.d.ts +0 -20
  43. package/dist/components/chat/common/input/InputSearch.vue.d.ts +0 -16
  44. package/dist/components/chat/common/popover/PopoverBase.vue.d.ts +0 -35
  45. package/dist/components/chat/common/spin/BaseSpin.vue.d.ts +0 -2
  46. package/dist/components/chat/customer/Avatar.vue.d.ts +0 -11
  47. package/dist/components/chat/layout/mobile/Footer.vue.d.ts +0 -2
  48. package/dist/components/common/CustomLoading.vue.d.ts +0 -2
  49. package/dist/components/common/Notification/NotificationDescription.vue.d.ts +0 -7
  50. package/dist/components/common/button/ButtonBase.vue.d.ts +0 -22
  51. package/dist/components/common/button/ButtonToggle.vue.d.ts +0 -20
  52. package/dist/components/common/checkbox/CCheckboxNumber.vue.d.ts +0 -16
  53. package/dist/components/common/collapse/BaseCollapse.vue.d.ts +0 -12
  54. package/dist/components/common/collapse/BaseCollapseItem.vue.d.ts +0 -4
  55. package/dist/components/common/drawer/DrawerBase.vue.d.ts +0 -39
  56. package/dist/components/common/dropdown/DropdownBase.vue.d.ts +0 -21
  57. package/dist/components/common/input/CInputSearch.vue.d.ts +0 -14
  58. package/dist/components/common/modal/ModalBase.vue.d.ts +0 -35
  59. package/dist/components/common/popover/PopoverBase.vue.d.ts +0 -3
  60. package/dist/components/common/slider/BaseSlider.vue.d.ts +0 -11
  61. package/dist/components/common/spin/CSpin.vue.d.ts +0 -9
  62. package/dist/components/common/tooltip/TooltipBase.vue.d.ts +0 -2
  63. package/dist/components/layout/Blank.vue.d.ts +0 -9
  64. package/dist/components/layout/Default.vue.d.ts +0 -9
  65. package/dist/components/modal/Confirm.vue.d.ts +0 -2
  66. package/dist/components/ui/button/CButton.vue.d.ts +0 -19
  67. package/dist/components/ui/button/c-button.d.ts +0 -7
  68. package/dist/components/ui/checkbox/Checkbox.vue.d.ts +0 -18
  69. package/dist/components/ui/checkbox/index.d.ts +0 -1
  70. package/dist/components/ui/collapsible/Collapsible.vue.d.ts +0 -16
  71. package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +0 -10
  72. package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +0 -10
  73. package/dist/components/ui/collapsible/index.d.ts +0 -3
  74. package/dist/components/ui/dialog/Dialog.vue.d.ts +0 -14
  75. package/dist/components/ui/dialog/DialogClose.vue.d.ts +0 -10
  76. package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -29
  77. package/dist/components/ui/dialog/DialogDescription.vue.d.ts +0 -14
  78. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +0 -13
  79. package/dist/components/ui/dialog/DialogHeader.vue.d.ts +0 -13
  80. package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +0 -30
  81. package/dist/components/ui/dialog/DialogTitle.vue.d.ts +0 -14
  82. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +0 -10
  83. package/dist/components/ui/dialog/index.d.ts +0 -9
  84. package/dist/components/ui/drawer/Drawer.vue.d.ts +0 -26
  85. package/dist/components/ui/drawer/DrawerContent.vue.d.ts +0 -33
  86. package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +0 -14
  87. package/dist/components/ui/drawer/DrawerFooter.vue.d.ts +0 -13
  88. package/dist/components/ui/drawer/DrawerHeader.vue.d.ts +0 -13
  89. package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +0 -7
  90. package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +0 -14
  91. package/dist/components/ui/drawer/index.d.ts +0 -8
  92. package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -14
  93. package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +0 -20
  94. package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -28
  95. package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +0 -10
  96. package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +0 -15
  97. package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +0 -15
  98. package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +0 -14
  99. package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +0 -18
  100. package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +0 -7
  101. package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +0 -13
  102. package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +0 -14
  103. package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +0 -30
  104. package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +0 -14
  105. package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +0 -10
  106. package/dist/components/ui/dropdown-menu/index.d.ts +0 -15
  107. package/dist/components/ui/popover/Popover.vue.d.ts +0 -14
  108. package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -28
  109. package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -10
  110. package/dist/components/ui/popover/index.d.ts +0 -3
  111. package/dist/components/ui/radio-group/RadioGroup.vue.d.ts +0 -18
  112. package/dist/components/ui/radio-group/RadioGroupItem.vue.d.ts +0 -7
  113. package/dist/components/ui/radio-group/index.d.ts +0 -2
  114. package/dist/components/ui/slider/Slider.vue.d.ts +0 -13
  115. package/dist/components/ui/slider/index.d.ts +0 -1
  116. package/dist/components/ui/switch/Switch.vue.d.ts +0 -18
  117. package/dist/components/ui/switch/index.d.ts +0 -1
  118. package/dist/composable/useCallHelper.d.ts +0 -23
  119. package/dist/composable/useInitData.d.ts +0 -11
  120. package/dist/composable/useModalConfirm.d.ts +0 -5
  121. package/dist/constant/color.d.ts +0 -22
  122. package/dist/constant/datetime.d.ts +0 -5
  123. package/dist/constant/general.d.ts +0 -8
  124. package/dist/constant/message.d.ts +0 -8
  125. package/dist/constant/mqtt.d.ts +0 -4
  126. package/dist/constant/user.d.ts +0 -8
  127. package/dist/lib/utils.d.ts +0 -2
  128. package/dist/plugins/axios-gci.d.ts +0 -3
  129. package/dist/plugins/axios.d.ts +0 -3
  130. package/dist/plugins/mqtt.d.ts +0 -10
  131. package/dist/plugins/sdk.d.ts +0 -19
  132. package/dist/plugins/websocket.d.ts +0 -4
  133. package/dist/test/assets/icons/IconArrowLeft.vue.js +0 -29
  134. package/dist/test/assets/icons/IconPhone.vue.js +0 -19
  135. package/dist/test/assets/icons/IconPlan.vue.js +0 -19
  136. package/dist/test/assets/icons/IconPlus.vue.js +0 -22
  137. package/dist/test/assets/icons/IconSearch.vue.js +0 -68
  138. package/dist/test/assets/icons/call/IconMic.vue.js +0 -123
  139. package/dist/test/assets/icons/call/IconPhone.vue.js +0 -35
  140. package/dist/test/assets/icons/call/IconPhoneCancel.vue.js +0 -35
  141. package/dist/test/assets/icons/call/IconSpeaker.vue.js +0 -62
  142. package/dist/test/assets/icons/customer-appointment/IconFilter.vue.js +0 -53
  143. package/dist/test/assets/icons/customer-detail/IconArrow.vue.js +0 -22
  144. package/dist/test/assets/icons/customer-detail/IconCheck.vue.js +0 -27
  145. package/dist/test/assets/icons/customer-detail/IconDate.vue.js +0 -43
  146. package/dist/test/assets/icons/customer-detail/IconGroup.vue.js +0 -48
  147. package/dist/test/assets/icons/customer-detail/IconMessage.vue.js +0 -28
  148. package/dist/test/assets/icons/customer-detail/IconNote.vue.js +0 -29
  149. package/dist/test/assets/icons/customer-detail/IconPhone.vue.js +0 -21
  150. package/dist/test/assets/icons/customer-detail/IconPin.vue.js +0 -29
  151. package/dist/test/assets/icons/customer-detail/IconSearch.vue.js +0 -29
  152. package/dist/test/chat/App.vue.js +0 -502
  153. package/dist/test/chat/main.js +0 -6
  154. package/dist/test/chat/page/customer-appointment/CustomerAppointment.vue.js +0 -207
  155. package/dist/test/chat/page/customer-check-in/CollapseCheckIn.vue.js +0 -80
  156. package/dist/test/chat/page/customer-check-in/CustomerCheckIn.vue.js +0 -136
  157. package/dist/test/chat/page/customer-detail/CustomerDetail.vue.js +0 -235
  158. package/dist/test/chat/page/customer-detail/SubInformation.vue.js +0 -102
  159. package/dist/test/chat/page/error/Error.vue.js +0 -64
  160. package/dist/test/chat/page/home/ChatList.vue.js +0 -380
  161. package/dist/test/chat/page/home/ChatMessage.vue.js +0 -271
  162. package/dist/test/chat/page/home/Home.vue.js +0 -327
  163. package/dist/test/chat/page/home/HomeHeader.vue.js +0 -122
  164. package/dist/test/chat/page/home/InputChat.vue.js +0 -226
  165. package/dist/test/chat/page/home/NewCustomer.vue.js +0 -82
  166. package/dist/test/components/ListenEvent.vue.js +0 -45
  167. package/dist/test/components/chat/ScrollEvent/ScrollEvent.vue.js +0 -197
  168. package/dist/test/components/chat/call/Calling.vue.js +0 -291
  169. package/dist/test/components/chat/card/CardCustomerDetail.vue.js +0 -28
  170. package/dist/test/components/chat/common/collapse/CollapseBase.vue.js +0 -59
  171. package/dist/test/components/chat/common/input/InputSearch.vue.js +0 -71
  172. package/dist/test/components/chat/common/popover/PopoverBase.vue.js +0 -148
  173. package/dist/test/components/chat/common/spin/BaseSpin.vue.js +0 -12
  174. package/dist/test/components/chat/customer/Avatar.vue.js +0 -79
  175. package/dist/test/components/chat/layout/mobile/Footer.vue.js +0 -109
  176. package/dist/test/components/common/CustomLoading.vue.js +0 -19
  177. package/dist/test/components/common/Notification/NotificationDescription.vue.js +0 -38
  178. package/dist/test/components/common/button/ButtonBase.vue.js +0 -78
  179. package/dist/test/components/common/button/ButtonToggle.vue.js +0 -70
  180. package/dist/test/components/common/checkbox/CCheckboxNumber.vue.js +0 -48
  181. package/dist/test/components/common/collapse/BaseCollapse.vue.js +0 -36
  182. package/dist/test/components/common/collapse/BaseCollapseItem.vue.js +0 -22
  183. package/dist/test/components/common/drawer/DrawerBase.vue.js +0 -126
  184. package/dist/test/components/common/dropdown/DropdownBase.vue.js +0 -91
  185. package/dist/test/components/common/input/CInputSearch.vue.js +0 -62
  186. package/dist/test/components/common/modal/ModalBase.vue.js +0 -164
  187. package/dist/test/components/common/popover/PopoverBase.vue.js +0 -36
  188. package/dist/test/components/common/slider/BaseSlider.vue.js +0 -70
  189. package/dist/test/components/common/spin/CSpin.vue.js +0 -41
  190. package/dist/test/components/common/tooltip/TooltipBase.vue.js +0 -8
  191. package/dist/test/components/layout/Blank.vue.js +0 -19
  192. package/dist/test/components/layout/Default.vue.js +0 -21
  193. package/dist/test/components/modal/Confirm.vue.js +0 -164
  194. package/dist/test/components/ui/button/CButton.vue.js +0 -49
  195. package/dist/test/components/ui/button/c-button.js +0 -26
  196. package/dist/test/components/ui/checkbox/Checkbox.vue.js +0 -79
  197. package/dist/test/components/ui/checkbox/index.js +0 -1
  198. package/dist/test/components/ui/collapsible/Collapsible.vue.js +0 -47
  199. package/dist/test/components/ui/collapsible/CollapsibleContent.vue.js +0 -41
  200. package/dist/test/components/ui/collapsible/CollapsibleTrigger.vue.js +0 -35
  201. package/dist/test/components/ui/collapsible/index.js +0 -3
  202. package/dist/test/components/ui/dialog/Dialog.vue.js +0 -42
  203. package/dist/test/components/ui/dialog/DialogClose.vue.js +0 -35
  204. package/dist/test/components/ui/dialog/DialogContent.vue.js +0 -84
  205. package/dist/test/components/ui/dialog/DialogDescription.vue.js +0 -43
  206. package/dist/test/components/ui/dialog/DialogFooter.vue.js +0 -26
  207. package/dist/test/components/ui/dialog/DialogHeader.vue.js +0 -26
  208. package/dist/test/components/ui/dialog/DialogScrollContent.vue.js +0 -99
  209. package/dist/test/components/ui/dialog/DialogTitle.vue.js +0 -43
  210. package/dist/test/components/ui/dialog/DialogTrigger.vue.js +0 -35
  211. package/dist/test/components/ui/dialog/index.js +0 -9
  212. package/dist/test/components/ui/drawer/Drawer.vue.js +0 -48
  213. package/dist/test/components/ui/drawer/DrawerContent.vue.js +0 -81
  214. package/dist/test/components/ui/drawer/DrawerDescription.vue.js +0 -42
  215. package/dist/test/components/ui/drawer/DrawerFooter.vue.js +0 -26
  216. package/dist/test/components/ui/drawer/DrawerHeader.vue.js +0 -26
  217. package/dist/test/components/ui/drawer/DrawerOverlay.vue.js +0 -37
  218. package/dist/test/components/ui/drawer/DrawerTitle.vue.js +0 -42
  219. package/dist/test/components/ui/drawer/index.js +0 -8
  220. package/dist/test/components/ui/dropdown-menu/DropdownMenu.vue.js +0 -41
  221. package/dist/test/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.js +0 -79
  222. package/dist/test/components/ui/dropdown-menu/DropdownMenuContent.vue.js +0 -61
  223. package/dist/test/components/ui/dropdown-menu/DropdownMenuGroup.vue.js +0 -35
  224. package/dist/test/components/ui/dropdown-menu/DropdownMenuItem.vue.js +0 -43
  225. package/dist/test/components/ui/dropdown-menu/DropdownMenuLabel.vue.js +0 -43
  226. package/dist/test/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.js +0 -41
  227. package/dist/test/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.js +0 -80
  228. package/dist/test/components/ui/dropdown-menu/DropdownMenuSeparator.vue.js +0 -37
  229. package/dist/test/components/ui/dropdown-menu/DropdownMenuShortcut.vue.js +0 -26
  230. package/dist/test/components/ui/dropdown-menu/DropdownMenuSub.vue.js +0 -41
  231. package/dist/test/components/ui/dropdown-menu/DropdownMenuSubContent.vue.js +0 -46
  232. package/dist/test/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.js +0 -58
  233. package/dist/test/components/ui/dropdown-menu/DropdownMenuTrigger.vue.js +0 -41
  234. package/dist/test/components/ui/dropdown-menu/index.js +0 -15
  235. package/dist/test/components/ui/popover/Popover.vue.js +0 -41
  236. package/dist/test/components/ui/popover/PopoverContent.vue.js +0 -60
  237. package/dist/test/components/ui/popover/PopoverTrigger.vue.js +0 -35
  238. package/dist/test/components/ui/popover/index.js +0 -3
  239. package/dist/test/components/ui/radio-group/RadioGroup.vue.js +0 -46
  240. package/dist/test/components/ui/radio-group/RadioGroupItem.vue.js +0 -71
  241. package/dist/test/components/ui/radio-group/index.js +0 -2
  242. package/dist/test/components/ui/slider/Slider.vue.js +0 -155
  243. package/dist/test/components/ui/slider/index.js +0 -1
  244. package/dist/test/components/ui/switch/Switch.vue.js +0 -61
  245. package/dist/test/components/ui/switch/index.js +0 -1
  246. package/dist/test/composable/useCallHelper.js +0 -170
  247. package/dist/test/composable/useInitData.js +0 -84
  248. package/dist/test/composable/useModalConfirm.js +0 -39
  249. package/dist/test/constant/color.js +0 -43
  250. package/dist/test/constant/datetime.js +0 -5
  251. package/dist/test/constant/general.js +0 -9
  252. package/dist/test/constant/message.js +0 -8
  253. package/dist/test/constant/mqtt.js +0 -11
  254. package/dist/test/constant/user.js +0 -9
  255. package/dist/test/lib/utils.js +0 -5
  256. package/dist/test/plugins/axios-gci.js +0 -25
  257. package/dist/test/plugins/axios.js +0 -85
  258. package/dist/test/plugins/mqtt.js +0 -128
  259. package/dist/test/plugins/sdk.js +0 -83
  260. package/dist/test/plugins/websocket.js +0 -65
  261. package/dist/test/types/call.js +0 -1
  262. package/dist/test/types/chat/auth.js +0 -1
  263. package/dist/test/types/chat/global.js +0 -1
  264. package/dist/test/types/chat/promise.js +0 -1
  265. package/dist/test/types/chat/user.js +0 -1
  266. package/dist/test/types/conversation.js +0 -1
  267. package/dist/test/types/global.js +0 -15
  268. package/dist/test/types/message.js +0 -1
  269. package/dist/test/utils/chat/auth.js +0 -51
  270. package/dist/test/utils/chat/call.js +0 -61
  271. package/dist/test/utils/chat/chat-router.js +0 -9
  272. package/dist/test/utils/chat/conversation.js +0 -7
  273. package/dist/test/utils/chat/message.js +0 -42
  274. package/dist/test/utils/chat/user.js +0 -33
  275. package/dist/test/utils/debounce.js +0 -9
  276. package/dist/test/utils/json.js +0 -18
  277. package/dist/test/utils/logger.js +0 -5
  278. package/dist/test/utils/string-helper.js +0 -27
  279. package/dist/types/call.d.ts +0 -4
  280. package/dist/types/chat/auth.d.ts +0 -37
  281. package/dist/types/chat/global.d.ts +0 -7
  282. package/dist/types/chat/promise.d.ts +0 -17
  283. package/dist/types/chat/user.d.ts +0 -88
  284. package/dist/types/conversation.d.ts +0 -18
  285. package/dist/types/global.d.ts +0 -11
  286. package/dist/types/message.d.ts +0 -43
  287. package/dist/utils/chat/auth.d.ts +0 -45
  288. package/dist/utils/chat/call.d.ts +0 -5
  289. package/dist/utils/chat/chat-router.d.ts +0 -3
  290. package/dist/utils/chat/conversation.d.ts +0 -3
  291. package/dist/utils/chat/message.d.ts +0 -17
  292. package/dist/utils/chat/user.d.ts +0 -193
  293. package/dist/utils/debounce.d.ts +0 -1
  294. package/dist/utils/json.d.ts +0 -2
  295. package/dist/utils/logger.d.ts +0 -3
  296. package/dist/utils/string-helper.d.ts +0 -1
@@ -1,79 +0,0 @@
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 { Check } from "lucide-vue-next";
4
- import { CheckboxIndicator, CheckboxRoot, 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
- debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
11
- const __VLS_ctx = {
12
- ...{},
13
- ...{},
14
- ...{},
15
- ...{},
16
- ...{},
17
- };
18
- let __VLS_elements;
19
- let __VLS_components;
20
- let __VLS_directives;
21
- const __VLS_0 = {}.CheckboxRoot;
22
- /** @type {[typeof __VLS_components.CheckboxRoot, typeof __VLS_components.CheckboxRoot, ]} */ ;
23
- // @ts-ignore
24
- CheckboxRoot;
25
- // @ts-ignore
26
- const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
27
- ...(__VLS_ctx.forwarded),
28
- ...{ class: (__VLS_ctx.cn('peer h-6 w-6 shrink-0 rounded-sm border border-[#DDDDE8] ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground', props.class)) },
29
- }));
30
- const __VLS_2 = __VLS_1({
31
- ...(__VLS_ctx.forwarded),
32
- ...{ class: (__VLS_ctx.cn('peer h-6 w-6 shrink-0 rounded-sm border border-[#DDDDE8] ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground', props.class)) },
33
- }, ...__VLS_functionalComponentArgsRest(__VLS_1));
34
- var __VLS_4 = {};
35
- const { default: __VLS_5 } = __VLS_3.slots;
36
- // @ts-ignore
37
- [forwarded, cn,];
38
- const __VLS_6 = {}.CheckboxIndicator;
39
- /** @type {[typeof __VLS_components.CheckboxIndicator, typeof __VLS_components.CheckboxIndicator, ]} */ ;
40
- // @ts-ignore
41
- CheckboxIndicator;
42
- // @ts-ignore
43
- const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({
44
- ...{ class: "flex h-full w-full items-center justify-center text-white" },
45
- }));
46
- const __VLS_8 = __VLS_7({
47
- ...{ class: "flex h-full w-full items-center justify-center text-white" },
48
- }, ...__VLS_functionalComponentArgsRest(__VLS_7));
49
- const { default: __VLS_10 } = __VLS_9.slots;
50
- var __VLS_11 = {};
51
- const __VLS_13 = {}.Check;
52
- /** @type {[typeof __VLS_components.Check, ]} */ ;
53
- // @ts-ignore
54
- Check;
55
- // @ts-ignore
56
- const __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13({
57
- ...{ class: "h-6 w-6" },
58
- }));
59
- const __VLS_15 = __VLS_14({
60
- ...{ class: "h-6 w-6" },
61
- }, ...__VLS_functionalComponentArgsRest(__VLS_14));
62
- var __VLS_9;
63
- var __VLS_3;
64
- /** @type {__VLS_StyleScopedClasses['flex']} */ ;
65
- /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
66
- /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
67
- /** @type {__VLS_StyleScopedClasses['items-center']} */ ;
68
- /** @type {__VLS_StyleScopedClasses['justify-center']} */ ;
69
- /** @type {__VLS_StyleScopedClasses['text-white']} */ ;
70
- /** @type {__VLS_StyleScopedClasses['h-6']} */ ;
71
- /** @type {__VLS_StyleScopedClasses['w-6']} */ ;
72
- // @ts-ignore
73
- var __VLS_12 = __VLS_11;
74
- const __VLS_base = (await import('vue')).defineComponent({
75
- __typeEmits: {},
76
- __typeProps: {},
77
- });
78
- const __VLS_export = {};
79
- export default {};
@@ -1 +0,0 @@
1
- export { default as Checkbox } from "./Checkbox.vue";
@@ -1,47 +0,0 @@
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 {};
@@ -1,41 +0,0 @@
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 {};
@@ -1,35 +0,0 @@
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 {};
@@ -1,3 +0,0 @@
1
- export { default as Collapsible } from "./Collapsible.vue";
2
- export { default as CollapsibleContent } from "./CollapsibleContent.vue";
3
- export { default as CollapsibleTrigger } from "./CollapsibleTrigger.vue";
@@ -1,42 +0,0 @@
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 {};
@@ -1,35 +0,0 @@
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 {};
@@ -1,84 +0,0 @@
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 {};
@@ -1,43 +0,0 @@
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 {};
@@ -1,26 +0,0 @@
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 {};
@@ -1,26 +0,0 @@
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 {};
@@ -1,99 +0,0 @@
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 {};
@@ -1,43 +0,0 @@
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 { DialogTitle, 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 = {}.DialogTitle;
19
- /** @type {[typeof __VLS_components.DialogTitle, typeof __VLS_components.DialogTitle, ]} */ ;
20
- // @ts-ignore
21
- DialogTitle;
22
- // @ts-ignore
23
- const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
24
- ...(__VLS_ctx.forwardedProps),
25
- ...{ class: (__VLS_ctx.cn('text-lg font-semibold leading-none tracking-tight', props.class)) },
26
- }));
27
- const __VLS_2 = __VLS_1({
28
- ...(__VLS_ctx.forwardedProps),
29
- ...{ class: (__VLS_ctx.cn('text-lg font-semibold leading-none tracking-tight', 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 {};
@@ -1,35 +0,0 @@
1
- /// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
- import { DialogTrigger } 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 = {}.DialogTrigger;
15
- /** @type {[typeof __VLS_components.DialogTrigger, typeof __VLS_components.DialogTrigger, ]} */ ;
16
- // @ts-ignore
17
- DialogTrigger;
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 {};
@@ -1,9 +0,0 @@
1
- export { default as Dialog } from "./Dialog.vue";
2
- export { default as DialogClose } from "./DialogClose.vue";
3
- export { default as DialogContent } from "./DialogContent.vue";
4
- export { default as DialogDescription } from "./DialogDescription.vue";
5
- export { default as DialogFooter } from "./DialogFooter.vue";
6
- export { default as DialogHeader } from "./DialogHeader.vue";
7
- export { default as DialogScrollContent } from "./DialogScrollContent.vue";
8
- export { default as DialogTitle } from "./DialogTitle.vue";
9
- export { default as DialogTrigger } from "./DialogTrigger.vue";