@phonghq/go-chat 1.0.70 → 1.0.72

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 (388) hide show
  1. package/dist/go-chat.es.js +11166 -11151
  2. package/dist/go-chat.umd.js +21 -21
  3. package/dist/style.css +1 -1
  4. package/package.json +1 -1
  5. package/dist/assets/icons/call/IconClock.vue.d.ts +0 -2
  6. package/dist/assets/icons/call/IconClock.vue.js +0 -22
  7. package/dist/assets/icons/call/IconClose.vue.d.ts +0 -2
  8. package/dist/assets/icons/call/IconClose.vue.js +0 -26
  9. package/dist/assets/icons/call/IconMic.vue.d.ts +0 -14
  10. package/dist/assets/icons/call/IconMic.vue.js +0 -123
  11. package/dist/assets/icons/call/IconPhone.vue.d.ts +0 -2
  12. package/dist/assets/icons/call/IconPhone.vue.js +0 -22
  13. package/dist/assets/icons/call/IconPhoneBase.vue.d.ts +0 -2
  14. package/dist/assets/icons/call/IconPhoneBase.vue.js +0 -20
  15. package/dist/assets/icons/call/IconPhoneCancel.vue.d.ts +0 -14
  16. package/dist/assets/icons/call/IconPhoneCancel.vue.js +0 -46
  17. package/dist/assets/icons/call/IconSoundDownload.vue.d.ts +0 -2
  18. package/dist/assets/icons/call/IconSoundDownload.vue.js +0 -50
  19. package/dist/assets/icons/call/IconSpeaker.vue.d.ts +0 -14
  20. package/dist/assets/icons/call/IconSpeaker.vue.js +0 -62
  21. package/dist/assets/icons/customer-appointment/IconFilter.vue.d.ts +0 -2
  22. package/dist/assets/icons/customer-appointment/IconFilter.vue.js +0 -53
  23. package/dist/assets/icons/customer-detail/IconArrow.vue.d.ts +0 -2
  24. package/dist/assets/icons/customer-detail/IconArrow.vue.js +0 -22
  25. package/dist/assets/icons/customer-detail/IconCheck.vue.d.ts +0 -2
  26. package/dist/assets/icons/customer-detail/IconCheck.vue.js +0 -27
  27. package/dist/assets/icons/customer-detail/IconDate.vue.d.ts +0 -2
  28. package/dist/assets/icons/customer-detail/IconDate.vue.js +0 -43
  29. package/dist/assets/icons/customer-detail/IconGroup.vue.d.ts +0 -2
  30. package/dist/assets/icons/customer-detail/IconGroup.vue.js +0 -48
  31. package/dist/assets/icons/customer-detail/IconMessage.vue.d.ts +0 -2
  32. package/dist/assets/icons/customer-detail/IconMessage.vue.js +0 -28
  33. package/dist/assets/icons/customer-detail/IconNote.vue.d.ts +0 -2
  34. package/dist/assets/icons/customer-detail/IconNote.vue.js +0 -29
  35. package/dist/assets/icons/customer-detail/IconPhone.vue.d.ts +0 -14
  36. package/dist/assets/icons/customer-detail/IconPhone.vue.js +0 -41
  37. package/dist/assets/icons/customer-detail/IconPin.vue.d.ts +0 -2
  38. package/dist/assets/icons/customer-detail/IconPin.vue.js +0 -29
  39. package/dist/assets/icons/customer-detail/IconSearch.vue.d.ts +0 -2
  40. package/dist/assets/icons/customer-detail/IconSearch.vue.js +0 -29
  41. package/dist/assets/icons/global/IconAiCheck.vue.d.ts +0 -2
  42. package/dist/assets/icons/global/IconAiCheck.vue.js +0 -28
  43. package/dist/assets/icons/global/IconArrowLeft.vue.d.ts +0 -2
  44. package/dist/assets/icons/global/IconArrowLeft.vue.js +0 -29
  45. package/dist/assets/icons/global/IconBackspace.vue.d.ts +0 -2
  46. package/dist/assets/icons/global/IconBackspace.vue.js +0 -28
  47. package/dist/assets/icons/global/IconCloseCircle.vue.d.ts +0 -2
  48. package/dist/assets/icons/global/IconCloseCircle.vue.js +0 -36
  49. package/dist/assets/icons/global/IconPhone.vue.d.ts +0 -2
  50. package/dist/assets/icons/global/IconPhone.vue.js +0 -19
  51. package/dist/assets/icons/global/IconPlan.vue.d.ts +0 -14
  52. package/dist/assets/icons/global/IconPlan.vue.js +0 -39
  53. package/dist/assets/icons/global/IconPlus.vue.d.ts +0 -2
  54. package/dist/assets/icons/global/IconPlus.vue.js +0 -22
  55. package/dist/assets/icons/global/IconSearch.vue.d.ts +0 -32
  56. package/dist/assets/icons/global/IconSearch.vue.js +0 -68
  57. package/dist/assets/icons/global/IconSms.vue.d.ts +0 -2
  58. package/dist/assets/icons/global/IconSms.vue.js +0 -22
  59. package/dist/assets/icons/global/IconUser.vue.d.ts +0 -2
  60. package/dist/assets/icons/global/IconUser.vue.js +0 -25
  61. package/dist/chat/App.vue.d.ts +0 -22
  62. package/dist/chat/App.vue.js +0 -1022
  63. package/dist/chat/main.d.ts +0 -7
  64. package/dist/chat/main.js +0 -7
  65. package/dist/chat/page/customer-appointment/CustomerAppointment.vue.d.ts +0 -2
  66. package/dist/chat/page/customer-appointment/CustomerAppointment.vue.js +0 -207
  67. package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.d.ts +0 -12
  68. package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.js +0 -80
  69. package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.d.ts +0 -2
  70. package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.js +0 -138
  71. package/dist/chat/page/customer-detail/CustomerDetail.vue.d.ts +0 -7
  72. package/dist/chat/page/customer-detail/CustomerDetail.vue.js +0 -233
  73. package/dist/chat/page/customer-detail/SubInformation.vue.d.ts +0 -16
  74. package/dist/chat/page/customer-detail/SubInformation.vue.js +0 -102
  75. package/dist/chat/page/error/Error.vue.d.ts +0 -2
  76. package/dist/chat/page/error/Error.vue.js +0 -64
  77. package/dist/chat/page/home/ChatList.vue.d.ts +0 -98
  78. package/dist/chat/page/home/ChatList.vue.js +0 -621
  79. package/dist/chat/page/home/ChatMessage.vue.d.ts +0 -21
  80. package/dist/chat/page/home/ChatMessage.vue.js +0 -200
  81. package/dist/chat/page/home/ChatMessageItem.vue.d.ts +0 -19
  82. package/dist/chat/page/home/ChatMessageItem.vue.js +0 -358
  83. package/dist/chat/page/home/ChatMessageItem2.vue.d.ts +0 -19
  84. package/dist/chat/page/home/ChatMessageItem2.vue.js +0 -351
  85. package/dist/chat/page/home/DropZone.vue.d.ts +0 -13
  86. package/dist/chat/page/home/DropZone.vue.js +0 -130
  87. package/dist/chat/page/home/Home.vue.d.ts +0 -25
  88. package/dist/chat/page/home/Home.vue.js +0 -430
  89. package/dist/chat/page/home/HomeHeader.vue.d.ts +0 -14
  90. package/dist/chat/page/home/HomeHeader.vue.js +0 -248
  91. package/dist/chat/page/home/InputChat.vue.d.ts +0 -27
  92. package/dist/chat/page/home/InputChat.vue.js +0 -412
  93. package/dist/chat/page/home/NewCustomer.vue.d.ts +0 -7
  94. package/dist/chat/page/home/NewCustomer.vue.js +0 -81
  95. package/dist/chat/page/home/PhoneNumpad.vue.d.ts +0 -18
  96. package/dist/chat/page/home/PhoneNumpad.vue.js +0 -143
  97. package/dist/chat/page/setting/Setting.vue.d.ts +0 -2
  98. package/dist/chat/page/setting/Setting.vue.js +0 -277
  99. package/dist/chat/page/setting/SettingSuccess.vue.d.ts +0 -2
  100. package/dist/chat/page/setting/SettingSuccess.vue.js +0 -33
  101. package/dist/components/chat/ScrollEvent/ScrollEvent.vue.d.ts +0 -24
  102. package/dist/components/chat/ScrollEvent/ScrollEvent.vue.js +0 -207
  103. package/dist/components/chat/call/Calling.vue.d.ts +0 -17
  104. package/dist/components/chat/call/Calling.vue.js +0 -600
  105. package/dist/components/chat/call/TimeLeft.vue.d.ts +0 -5
  106. package/dist/components/chat/call/TimeLeft.vue.js +0 -59
  107. package/dist/components/chat/card/CardCustomerDetail.vue.d.ts +0 -13
  108. package/dist/components/chat/card/CardCustomerDetail.vue.js +0 -28
  109. package/dist/components/chat/common/collapse/CollapseBase.vue.d.ts +0 -20
  110. package/dist/components/chat/common/collapse/CollapseBase.vue.js +0 -59
  111. package/dist/components/chat/common/input/InputSearch.vue.d.ts +0 -16
  112. package/dist/components/chat/common/input/InputSearch.vue.js +0 -71
  113. package/dist/components/chat/common/modal/Modal.vue.d.ts +0 -94
  114. package/dist/components/chat/common/modal/Modal.vue.js +0 -260
  115. package/dist/components/chat/common/popover/PopoverBase.vue.d.ts +0 -35
  116. package/dist/components/chat/common/popover/PopoverBase.vue.js +0 -148
  117. package/dist/components/chat/common/spin/BaseSpin.vue.d.ts +0 -10
  118. package/dist/components/chat/common/spin/BaseSpin.vue.js +0 -43
  119. package/dist/components/chat/common/switch/SwitchBase.vue.d.ts +0 -17
  120. package/dist/components/chat/common/switch/SwitchBase.vue.js +0 -76
  121. package/dist/components/chat/common/tab/TabBase.vue.d.ts +0 -30
  122. package/dist/components/chat/common/tab/TabBase.vue.js +0 -86
  123. package/dist/components/chat/common/tabs/TabBase.vue.d.ts +0 -18
  124. package/dist/components/chat/common/tabs/TabBase.vue.js +0 -93
  125. package/dist/components/chat/customer/Avatar.vue.d.ts +0 -12
  126. package/dist/components/chat/customer/Avatar.vue.js +0 -127
  127. package/dist/components/chat/layout/mobile/Footer.vue.d.ts +0 -2
  128. package/dist/components/chat/layout/mobile/Footer.vue.js +0 -114
  129. package/dist/components/chat/select/SelectBase.vue.d.ts +0 -24
  130. package/dist/components/chat/select/SelectBase.vue.js +0 -105
  131. package/dist/components/common/CustomLoading.vue.d.ts +0 -2
  132. package/dist/components/common/CustomLoading.vue.js +0 -19
  133. package/dist/components/common/Notification/NotificationDescription.vue.d.ts +0 -7
  134. package/dist/components/common/Notification/NotificationDescription.vue.js +0 -38
  135. package/dist/components/common/button/ButtonBase.vue.d.ts +0 -22
  136. package/dist/components/common/button/ButtonBase.vue.js +0 -78
  137. package/dist/components/common/button/ButtonToggle.vue.d.ts +0 -20
  138. package/dist/components/common/button/ButtonToggle.vue.js +0 -70
  139. package/dist/components/common/checkbox/CCheckboxNumber.vue.d.ts +0 -16
  140. package/dist/components/common/checkbox/CCheckboxNumber.vue.js +0 -48
  141. package/dist/components/common/collapse/BaseCollapse.vue.d.ts +0 -12
  142. package/dist/components/common/collapse/BaseCollapse.vue.js +0 -36
  143. package/dist/components/common/collapse/BaseCollapseItem.vue.d.ts +0 -4
  144. package/dist/components/common/collapse/BaseCollapseItem.vue.js +0 -22
  145. package/dist/components/common/drawer/DrawerBase.vue.d.ts +0 -39
  146. package/dist/components/common/drawer/DrawerBase.vue.js +0 -126
  147. package/dist/components/common/drawer/DrawerBaseCustom.vue.d.ts +0 -33
  148. package/dist/components/common/drawer/DrawerBaseCustom.vue.js +0 -135
  149. package/dist/components/common/dropdown/DropdownBase.vue.d.ts +0 -21
  150. package/dist/components/common/dropdown/DropdownBase.vue.js +0 -91
  151. package/dist/components/common/input/CInputSearch.vue.d.ts +0 -14
  152. package/dist/components/common/input/CInputSearch.vue.js +0 -62
  153. package/dist/components/common/modal/ModalBase.vue.d.ts +0 -35
  154. package/dist/components/common/modal/ModalBase.vue.js +0 -187
  155. package/dist/components/common/popover/PopoverBase.vue.d.ts +0 -3
  156. package/dist/components/common/popover/PopoverBase.vue.js +0 -36
  157. package/dist/components/common/select/SelectBase.vue.d.ts +0 -28
  158. package/dist/components/common/select/SelectBase.vue.js +0 -102
  159. package/dist/components/common/slider/BaseSlider.vue.d.ts +0 -11
  160. package/dist/components/common/slider/BaseSlider.vue.js +0 -70
  161. package/dist/components/common/spin/CSpin.vue.d.ts +0 -9
  162. package/dist/components/common/spin/CSpin.vue.js +0 -41
  163. package/dist/components/common/tooltip/TooltipBase.vue.d.ts +0 -2
  164. package/dist/components/common/tooltip/TooltipBase.vue.js +0 -8
  165. package/dist/components/layout/PageError.vue.d.ts +0 -2
  166. package/dist/components/layout/PageError.vue.js +0 -91
  167. package/dist/components/ui/button/CButton.vue.d.ts +0 -19
  168. package/dist/components/ui/button/CButton.vue.js +0 -49
  169. package/dist/components/ui/button/c-button.d.ts +0 -7
  170. package/dist/components/ui/button/c-button.js +0 -26
  171. package/dist/components/ui/checkbox/Checkbox.vue.d.ts +0 -18
  172. package/dist/components/ui/checkbox/Checkbox.vue.js +0 -79
  173. package/dist/components/ui/checkbox/index.d.ts +0 -1
  174. package/dist/components/ui/checkbox/index.js +0 -1
  175. package/dist/components/ui/collapsible/Collapsible.vue.d.ts +0 -16
  176. package/dist/components/ui/collapsible/Collapsible.vue.js +0 -47
  177. package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +0 -10
  178. package/dist/components/ui/collapsible/CollapsibleContent.vue.js +0 -41
  179. package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +0 -10
  180. package/dist/components/ui/collapsible/CollapsibleTrigger.vue.js +0 -35
  181. package/dist/components/ui/collapsible/index.d.ts +0 -3
  182. package/dist/components/ui/collapsible/index.js +0 -3
  183. package/dist/components/ui/dialog/Dialog.vue.d.ts +0 -14
  184. package/dist/components/ui/dialog/Dialog.vue.js +0 -42
  185. package/dist/components/ui/dialog/DialogClose.vue.d.ts +0 -10
  186. package/dist/components/ui/dialog/DialogClose.vue.js +0 -35
  187. package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -29
  188. package/dist/components/ui/dialog/DialogContent.vue.js +0 -84
  189. package/dist/components/ui/dialog/DialogDescription.vue.d.ts +0 -14
  190. package/dist/components/ui/dialog/DialogDescription.vue.js +0 -43
  191. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +0 -13
  192. package/dist/components/ui/dialog/DialogFooter.vue.js +0 -26
  193. package/dist/components/ui/dialog/DialogHeader.vue.d.ts +0 -13
  194. package/dist/components/ui/dialog/DialogHeader.vue.js +0 -26
  195. package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +0 -30
  196. package/dist/components/ui/dialog/DialogScrollContent.vue.js +0 -99
  197. package/dist/components/ui/dialog/DialogTitle.vue.d.ts +0 -14
  198. package/dist/components/ui/dialog/DialogTitle.vue.js +0 -43
  199. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +0 -10
  200. package/dist/components/ui/dialog/DialogTrigger.vue.js +0 -35
  201. package/dist/components/ui/dialog/index.d.ts +0 -9
  202. package/dist/components/ui/dialog/index.js +0 -9
  203. package/dist/components/ui/drawer/Drawer.vue.d.ts +0 -26
  204. package/dist/components/ui/drawer/Drawer.vue.js +0 -48
  205. package/dist/components/ui/drawer/DrawerContent.vue.d.ts +0 -33
  206. package/dist/components/ui/drawer/DrawerContent.vue.js +0 -81
  207. package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +0 -14
  208. package/dist/components/ui/drawer/DrawerDescription.vue.js +0 -42
  209. package/dist/components/ui/drawer/DrawerFooter.vue.d.ts +0 -13
  210. package/dist/components/ui/drawer/DrawerFooter.vue.js +0 -26
  211. package/dist/components/ui/drawer/DrawerHeader.vue.d.ts +0 -13
  212. package/dist/components/ui/drawer/DrawerHeader.vue.js +0 -26
  213. package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +0 -7
  214. package/dist/components/ui/drawer/DrawerOverlay.vue.js +0 -37
  215. package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +0 -14
  216. package/dist/components/ui/drawer/DrawerTitle.vue.js +0 -42
  217. package/dist/components/ui/drawer/index.d.ts +0 -8
  218. package/dist/components/ui/drawer/index.js +0 -8
  219. package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -14
  220. package/dist/components/ui/dropdown-menu/DropdownMenu.vue.js +0 -41
  221. package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +0 -20
  222. package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.js +0 -79
  223. package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -28
  224. package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.js +0 -61
  225. package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +0 -10
  226. package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.js +0 -35
  227. package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +0 -15
  228. package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.js +0 -43
  229. package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +0 -15
  230. package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.js +0 -43
  231. package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +0 -14
  232. package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.js +0 -41
  233. package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +0 -18
  234. package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.js +0 -80
  235. package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +0 -7
  236. package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.js +0 -37
  237. package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +0 -13
  238. package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.js +0 -26
  239. package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +0 -14
  240. package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.js +0 -41
  241. package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +0 -30
  242. package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.js +0 -46
  243. package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +0 -14
  244. package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.js +0 -58
  245. package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +0 -10
  246. package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.js +0 -41
  247. package/dist/components/ui/dropdown-menu/index.d.ts +0 -15
  248. package/dist/components/ui/dropdown-menu/index.js +0 -15
  249. package/dist/components/ui/popover/Popover.vue.d.ts +0 -14
  250. package/dist/components/ui/popover/Popover.vue.js +0 -41
  251. package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -28
  252. package/dist/components/ui/popover/PopoverContent.vue.js +0 -60
  253. package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -10
  254. package/dist/components/ui/popover/PopoverTrigger.vue.js +0 -35
  255. package/dist/components/ui/popover/index.d.ts +0 -3
  256. package/dist/components/ui/popover/index.js +0 -3
  257. package/dist/components/ui/radio-group/RadioGroup.vue.d.ts +0 -18
  258. package/dist/components/ui/radio-group/RadioGroup.vue.js +0 -46
  259. package/dist/components/ui/radio-group/RadioGroupItem.vue.d.ts +0 -7
  260. package/dist/components/ui/radio-group/RadioGroupItem.vue.js +0 -71
  261. package/dist/components/ui/radio-group/index.d.ts +0 -2
  262. package/dist/components/ui/radio-group/index.js +0 -2
  263. package/dist/components/ui/select/Select.vue.d.ts +0 -20
  264. package/dist/components/ui/select/Select.vue.js +0 -49
  265. package/dist/components/ui/select/SelectContent.vue.d.ts +0 -24
  266. package/dist/components/ui/select/SelectContent.vue.js +0 -98
  267. package/dist/components/ui/select/SelectGroup.vue.d.ts +0 -10
  268. package/dist/components/ui/select/SelectGroup.vue.js +0 -37
  269. package/dist/components/ui/select/SelectItem.vue.d.ts +0 -18
  270. package/dist/components/ui/select/SelectItem.vue.js +0 -73
  271. package/dist/components/ui/select/SelectItemText.vue.d.ts +0 -10
  272. package/dist/components/ui/select/SelectItemText.vue.js +0 -37
  273. package/dist/components/ui/select/SelectLabel.vue.d.ts +0 -14
  274. package/dist/components/ui/select/SelectLabel.vue.js +0 -40
  275. package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +0 -14
  276. package/dist/components/ui/select/SelectScrollDownButton.vue.js +0 -58
  277. package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +0 -14
  278. package/dist/components/ui/select/SelectScrollUpButton.vue.js +0 -58
  279. package/dist/components/ui/select/SelectSeparator.vue.d.ts +0 -7
  280. package/dist/components/ui/select/SelectSeparator.vue.js +0 -39
  281. package/dist/components/ui/select/SelectTrigger.vue.d.ts +0 -17
  282. package/dist/components/ui/select/SelectTrigger.vue.js +0 -49
  283. package/dist/components/ui/select/SelectValue.vue.d.ts +0 -10
  284. package/dist/components/ui/select/SelectValue.vue.js +0 -37
  285. package/dist/components/ui/select/index.d.ts +0 -11
  286. package/dist/components/ui/select/index.js +0 -11
  287. package/dist/components/ui/slider/Slider.vue.d.ts +0 -13
  288. package/dist/components/ui/slider/Slider.vue.js +0 -155
  289. package/dist/components/ui/slider/index.d.ts +0 -1
  290. package/dist/components/ui/slider/index.js +0 -1
  291. package/dist/components/ui/switch/Switch.vue.d.ts +0 -18
  292. package/dist/components/ui/switch/Switch.vue.js +0 -61
  293. package/dist/components/ui/switch/index.d.ts +0 -1
  294. package/dist/components/ui/switch/index.js +0 -1
  295. package/dist/components/ui/tabs/Tabs.vue.d.ts +0 -20
  296. package/dist/components/ui/tabs/Tabs.vue.js +0 -54
  297. package/dist/components/ui/tabs/TabsContent.vue.d.ts +0 -14
  298. package/dist/components/ui/tabs/TabsContent.vue.js +0 -44
  299. package/dist/components/ui/tabs/TabsList.vue.d.ts +0 -14
  300. package/dist/components/ui/tabs/TabsList.vue.js +0 -44
  301. package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +0 -14
  302. package/dist/components/ui/tabs/TabsTrigger.vue.js +0 -45
  303. package/dist/components/ui/tabs/index.d.ts +0 -4
  304. package/dist/components/ui/tabs/index.js +0 -4
  305. package/dist/composable/useDigibot.d.ts +0 -7
  306. package/dist/composable/useDigibot.js +0 -23
  307. package/dist/composable/useInitData.d.ts +0 -12
  308. package/dist/composable/useInitData.js +0 -99
  309. package/dist/composable/useListConversations.d.ts +0 -55
  310. package/dist/composable/useListConversations.js +0 -209
  311. package/dist/composable/useListentEvent.d.ts +0 -5
  312. package/dist/composable/useListentEvent.js +0 -51
  313. package/dist/composable/usePlivo.d.ts +0 -17
  314. package/dist/composable/usePlivo.js +0 -207
  315. package/dist/constant/color.d.ts +0 -22
  316. package/dist/constant/color.js +0 -47
  317. package/dist/constant/datetime.d.ts +0 -6
  318. package/dist/constant/datetime.js +0 -6
  319. package/dist/constant/general.d.ts +0 -11
  320. package/dist/constant/general.js +0 -12
  321. package/dist/constant/message.d.ts +0 -8
  322. package/dist/constant/message.js +0 -8
  323. package/dist/constant/mqtt.d.ts +0 -7
  324. package/dist/constant/mqtt.js +0 -18
  325. package/dist/constant/user.d.ts +0 -8
  326. package/dist/constant/user.js +0 -9
  327. package/dist/lib/utils.d.ts +0 -2
  328. package/dist/lib/utils.js +0 -5
  329. package/dist/plugins/axios-gci.d.ts +0 -3
  330. package/dist/plugins/axios-gci.js +0 -25
  331. package/dist/plugins/axios.d.ts +0 -3
  332. package/dist/plugins/axios.js +0 -84
  333. package/dist/plugins/mqtt.d.ts +0 -8
  334. package/dist/plugins/mqtt.js +0 -189
  335. package/dist/plugins/pocketbase.d.ts +0 -5
  336. package/dist/plugins/pocketbase.js +0 -15
  337. package/dist/plugins/sdk.d.ts +0 -18
  338. package/dist/plugins/sdk.js +0 -73
  339. package/dist/plugins/websocket.d.ts +0 -15
  340. package/dist/plugins/websocket.js +0 -151
  341. package/dist/types/chat/auth.d.ts +0 -41
  342. package/dist/types/chat/auth.js +0 -1
  343. package/dist/types/chat/call.d.ts +0 -19
  344. package/dist/types/chat/call.js +0 -23
  345. package/dist/types/chat/global.d.ts +0 -32
  346. package/dist/types/chat/global.js +0 -1
  347. package/dist/types/chat/promise.d.ts +0 -17
  348. package/dist/types/chat/promise.js +0 -1
  349. package/dist/types/chat/user.d.ts +0 -88
  350. package/dist/types/chat/user.js +0 -1
  351. package/dist/types/conversation.d.ts +0 -23
  352. package/dist/types/conversation.js +0 -1
  353. package/dist/types/global.d.ts +0 -11
  354. package/dist/types/global.js +0 -15
  355. package/dist/types/message.d.ts +0 -52
  356. package/dist/types/message.js +0 -1
  357. package/dist/utils/chat/cache.d.ts +0 -7
  358. package/dist/utils/chat/cache.js +0 -63
  359. package/dist/utils/chat/chat-router.d.ts +0 -3
  360. package/dist/utils/chat/chat-router.js +0 -8
  361. package/dist/utils/chat/page-error.d.ts +0 -4
  362. package/dist/utils/chat/page-error.js +0 -25
  363. package/dist/utils/chat/phone-string.d.ts +0 -1
  364. package/dist/utils/chat/phone-string.js +0 -4
  365. package/dist/utils/chat/store/auth.d.ts +0 -62
  366. package/dist/utils/chat/store/auth.js +0 -93
  367. package/dist/utils/chat/store/call.d.ts +0 -15
  368. package/dist/utils/chat/store/call.js +0 -160
  369. package/dist/utils/chat/store/conversation.d.ts +0 -13
  370. package/dist/utils/chat/store/conversation.js +0 -69
  371. package/dist/utils/chat/store/message.d.ts +0 -31
  372. package/dist/utils/chat/store/message.js +0 -74
  373. package/dist/utils/chat/store/user.d.ts +0 -200
  374. package/dist/utils/chat/store/user.js +0 -43
  375. package/dist/utils/debounce.d.ts +0 -1
  376. package/dist/utils/debounce.js +0 -9
  377. package/dist/utils/json.d.ts +0 -2
  378. package/dist/utils/json.js +0 -18
  379. package/dist/utils/logger.d.ts +0 -3
  380. package/dist/utils/logger.js +0 -5
  381. package/dist/utils/string-helper.d.ts +0 -2
  382. package/dist/utils/string-helper.js +0 -40
  383. package/dist/views/NotTenantPhone.vue.d.ts +0 -9
  384. package/dist/views/NotTenantPhone.vue.js +0 -99
  385. package/dist/views/home/phone-numpad/ConvercationList.vue.d.ts +0 -18
  386. package/dist/views/home/phone-numpad/ConvercationList.vue.js +0 -174
  387. package/dist/views/home/phone-numpad/PhoneNumpad.vue.d.ts +0 -28
  388. package/dist/views/home/phone-numpad/PhoneNumpad.vue.js +0 -377
@@ -1,114 +0,0 @@
1
- /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
- import ICon1 from '../../../../assets/images/layout/mobile/chat.png';
3
- import ICon1Active from '../../../../assets/images/layout/mobile/chat-active.png';
4
- import ICon2 from '../../../../assets/images/layout/mobile/review.png';
5
- import ICon2Active from '../../../../assets/images/layout/mobile/review-active.png';
6
- import ICon3 from '../../../../assets/images/layout/mobile/booking.png';
7
- import ICon3Active from '../../../../assets/images/layout/mobile/booking-active.png';
8
- import ICon4 from '../../../../assets/images/layout/mobile/admin.png';
9
- import ICon4Active from '../../../../assets/images/layout/mobile/admin-active.png';
10
- import { PAGE } from '../../../../constant/general';
11
- import { currentPage, routerPush } from '../../../../utils/chat/chat-router';
12
- const LAYOUT_CONFIG = [
13
- {
14
- icon: ICon1,
15
- iconActive: ICon1Active,
16
- title: 'Chat',
17
- value: PAGE.CHAT_LIST,
18
- click: () => {
19
- if (currentPage.value != PAGE.CHAT_LIST) {
20
- routerPush(PAGE.CHAT_LIST);
21
- }
22
- }
23
- },
24
- {
25
- icon: ICon2,
26
- iconActive: ICon2Active,
27
- title: 'Review',
28
- value: PAGE.TENANT_ERROR,
29
- disabled: true
30
- },
31
- {
32
- icon: ICon3,
33
- iconActive: ICon3Active,
34
- title: 'Booking',
35
- value: PAGE.TENANT_ERROR,
36
- disabled: true
37
- },
38
- {
39
- icon: ICon4,
40
- iconActive: ICon4Active,
41
- title: 'Go Admin',
42
- value: PAGE.TENANT_ERROR,
43
- disabled: true
44
- }
45
- ];
46
- debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
47
- const __VLS_ctx = {
48
- ...{},
49
- ...{},
50
- };
51
- let __VLS_elements;
52
- let __VLS_components;
53
- let __VLS_directives;
54
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
55
- ...{ class: "bg-white rounded-t-3xl sm:rounded-0 shadow-lg pb-2 flex grid grid-cols-4 sm:grid-cols-1 h-[80px] w-full sm:h-full sm:w-[100px]" },
56
- });
57
- for (const [item] of __VLS_getVForSourceType((__VLS_ctx.LAYOUT_CONFIG))) {
58
- // @ts-ignore
59
- [LAYOUT_CONFIG,];
60
- __VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
61
- ...{ onClick: (...[$event]) => {
62
- item.click?.();
63
- } },
64
- ...{ class: "flex flex-col justify-center items-center text-blue-600" },
65
- ...{ class: ({ 'opacity-[0.6]': item.disabled }) },
66
- key: (item.value),
67
- disabled: (item.disabled),
68
- });
69
- __VLS_asFunctionalElement(__VLS_elements.img)({
70
- src: (item.icon),
71
- });
72
- __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage != item.value) }, null, null);
73
- // @ts-ignore
74
- [currentPage,];
75
- __VLS_asFunctionalElement(__VLS_elements.img)({
76
- src: (item.iconActive),
77
- });
78
- __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == item.value) }, null, null);
79
- // @ts-ignore
80
- [currentPage,];
81
- __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
82
- ...{ class: "text-sm text-chat-haze-400 font-medium mt-1" },
83
- ...{ class: ({ 'text-chat-primary': __VLS_ctx.currentPage == item.value }) },
84
- });
85
- // @ts-ignore
86
- [currentPage,];
87
- (item.title);
88
- }
89
- /** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
90
- /** @type {__VLS_StyleScopedClasses['rounded-t-3xl']} */ ;
91
- /** @type {__VLS_StyleScopedClasses['sm:rounded-0']} */ ;
92
- /** @type {__VLS_StyleScopedClasses['shadow-lg']} */ ;
93
- /** @type {__VLS_StyleScopedClasses['pb-2']} */ ;
94
- /** @type {__VLS_StyleScopedClasses['flex']} */ ;
95
- /** @type {__VLS_StyleScopedClasses['grid']} */ ;
96
- /** @type {__VLS_StyleScopedClasses['grid-cols-4']} */ ;
97
- /** @type {__VLS_StyleScopedClasses['sm:grid-cols-1']} */ ;
98
- /** @type {__VLS_StyleScopedClasses['h-[80px]']} */ ;
99
- /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
100
- /** @type {__VLS_StyleScopedClasses['sm:h-full']} */ ;
101
- /** @type {__VLS_StyleScopedClasses['sm:w-[100px]']} */ ;
102
- /** @type {__VLS_StyleScopedClasses['flex']} */ ;
103
- /** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
104
- /** @type {__VLS_StyleScopedClasses['justify-center']} */ ;
105
- /** @type {__VLS_StyleScopedClasses['items-center']} */ ;
106
- /** @type {__VLS_StyleScopedClasses['text-blue-600']} */ ;
107
- /** @type {__VLS_StyleScopedClasses['opacity-[0.6]']} */ ;
108
- /** @type {__VLS_StyleScopedClasses['text-sm']} */ ;
109
- /** @type {__VLS_StyleScopedClasses['text-chat-haze-400']} */ ;
110
- /** @type {__VLS_StyleScopedClasses['font-medium']} */ ;
111
- /** @type {__VLS_StyleScopedClasses['mt-1']} */ ;
112
- /** @type {__VLS_StyleScopedClasses['text-chat-primary']} */ ;
113
- const __VLS_export = (await import('vue')).defineComponent({});
114
- export default {};
@@ -1,24 +0,0 @@
1
- type __VLS_Props = {
2
- modelValue?: string | number | null;
3
- options: {
4
- label: string;
5
- value: string | number;
6
- }[];
7
- placement?: 'top' | 'bottom';
8
- disabled?: boolean;
9
- };
10
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
- select: (id: any) => any;
12
- "update:modelValue": (id: string | number | null) => any;
13
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
- onSelect?: ((id: any) => any) | undefined;
15
- "onUpdate:modelValue"?: ((id: string | number | null) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
17
- default?: ((props: {}) => any) | undefined;
18
- }>;
19
- export default _default;
20
- type __VLS_WithSlots<T, S> = T & {
21
- new (): {
22
- $slots: S;
23
- };
24
- };
@@ -1,105 +0,0 @@
1
- /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
- import { ref, computed } from 'vue';
3
- const props = defineProps();
4
- const emit = defineEmits();
5
- const open = ref(false);
6
- const selectedLabel = computed(() => {
7
- return props.options.find(o => o.value === props.modelValue)?.label ?? '';
8
- });
9
- const positionClass = computed(() => {
10
- let result = '';
11
- if (props.placement === 'bottom')
12
- return 'top-2 translate-y-full';
13
- else
14
- return '-top-4 -translate-y-full';
15
- return '';
16
- });
17
- function toggle() {
18
- if (props.disabled)
19
- return;
20
- open.value = !open.value;
21
- }
22
- function select(option) {
23
- emit('update:modelValue', option.value);
24
- emit('select', option.value);
25
- open.value = false;
26
- }
27
- debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
28
- const __VLS_ctx = {
29
- ...{},
30
- ...{},
31
- ...{},
32
- ...{},
33
- ...{},
34
- };
35
- let __VLS_elements;
36
- let __VLS_components;
37
- let __VLS_directives;
38
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
39
- ...{ onBlur: (...[$event]) => {
40
- __VLS_ctx.open = false;
41
- // @ts-ignore
42
- [open,];
43
- } },
44
- ...{ onClick: (__VLS_ctx.toggle) },
45
- ...{ class: "relative inline-block w-full" },
46
- tabindex: "0",
47
- });
48
- // @ts-ignore
49
- [toggle,];
50
- __VLS_asFunctionalElement(__VLS_elements.ul, __VLS_elements.ul)({
51
- ...{ class: "w-max absolute -translate-y-full left-0 z-10 mt-1 max-h-48 overflow-auto rounded-md shadow-custom bg-white shadow-lg" },
52
- ...{ class: (__VLS_ctx.positionClass) },
53
- });
54
- __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.open) }, null, null);
55
- // @ts-ignore
56
- [open, positionClass,];
57
- for (const [option, idx] of __VLS_getVForSourceType((__VLS_ctx.options))) {
58
- // @ts-ignore
59
- [options,];
60
- __VLS_asFunctionalElement(__VLS_elements.li, __VLS_elements.li)({
61
- ...{ onClick: (...[$event]) => {
62
- __VLS_ctx.select(option);
63
- // @ts-ignore
64
- [select,];
65
- } },
66
- key: (idx),
67
- ...{ class: "cursor-pointer text-black px-6 py-2 hover:bg-chat-haze-200 border-b border-chat-haze-200" },
68
- });
69
- (option.label);
70
- }
71
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
72
- ...{ class: "cursor-pointer" },
73
- });
74
- var __VLS_0 = {};
75
- /** @type {__VLS_StyleScopedClasses['relative']} */ ;
76
- /** @type {__VLS_StyleScopedClasses['inline-block']} */ ;
77
- /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
78
- /** @type {__VLS_StyleScopedClasses['w-max']} */ ;
79
- /** @type {__VLS_StyleScopedClasses['absolute']} */ ;
80
- /** @type {__VLS_StyleScopedClasses['-translate-y-full']} */ ;
81
- /** @type {__VLS_StyleScopedClasses['left-0']} */ ;
82
- /** @type {__VLS_StyleScopedClasses['z-10']} */ ;
83
- /** @type {__VLS_StyleScopedClasses['mt-1']} */ ;
84
- /** @type {__VLS_StyleScopedClasses['max-h-48']} */ ;
85
- /** @type {__VLS_StyleScopedClasses['overflow-auto']} */ ;
86
- /** @type {__VLS_StyleScopedClasses['rounded-md']} */ ;
87
- /** @type {__VLS_StyleScopedClasses['shadow-custom']} */ ;
88
- /** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
89
- /** @type {__VLS_StyleScopedClasses['shadow-lg']} */ ;
90
- /** @type {__VLS_StyleScopedClasses['cursor-pointer']} */ ;
91
- /** @type {__VLS_StyleScopedClasses['text-black']} */ ;
92
- /** @type {__VLS_StyleScopedClasses['px-6']} */ ;
93
- /** @type {__VLS_StyleScopedClasses['py-2']} */ ;
94
- /** @type {__VLS_StyleScopedClasses['hover:bg-chat-haze-200']} */ ;
95
- /** @type {__VLS_StyleScopedClasses['border-b']} */ ;
96
- /** @type {__VLS_StyleScopedClasses['border-chat-haze-200']} */ ;
97
- /** @type {__VLS_StyleScopedClasses['cursor-pointer']} */ ;
98
- // @ts-ignore
99
- var __VLS_1 = __VLS_0;
100
- const __VLS_base = (await import('vue')).defineComponent({
101
- __typeEmits: {},
102
- __typeProps: {},
103
- });
104
- const __VLS_export = {};
105
- export default {};
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1,19 +0,0 @@
1
- /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
- debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
3
- const __VLS_ctx = {};
4
- let __VLS_elements;
5
- let __VLS_components;
6
- let __VLS_directives;
7
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
8
- ...{ class: "h-full flex-center absolute top-0 left-0 w-full bg-white z-50" },
9
- });
10
- /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
11
- /** @type {__VLS_StyleScopedClasses['flex-center']} */ ;
12
- /** @type {__VLS_StyleScopedClasses['absolute']} */ ;
13
- /** @type {__VLS_StyleScopedClasses['top-0']} */ ;
14
- /** @type {__VLS_StyleScopedClasses['left-0']} */ ;
15
- /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
16
- /** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
17
- /** @type {__VLS_StyleScopedClasses['z-50']} */ ;
18
- const __VLS_export = (await import('vue')).defineComponent({});
19
- export default {};
@@ -1,7 +0,0 @@
1
- interface Props {
2
- description: string;
3
- type: 'success' | 'error' | 'warning' | string;
4
- tag: string;
5
- }
6
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
- export default _default;
@@ -1,38 +0,0 @@
1
- /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
- const __VLS_props = defineProps();
3
- const { description, type, tag } = __VLS_props;
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: "" },
16
- });
17
- __VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
18
- ...{ class: "text-sm mb-0.5" },
19
- });
20
- (description);
21
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
22
- ...{ class: "flex justify-between items-center" },
23
- });
24
- __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
25
- ...{ class: "text-blue text-sm" },
26
- });
27
- /** @type {__VLS_StyleScopedClasses['']} */ ;
28
- /** @type {__VLS_StyleScopedClasses['text-sm']} */ ;
29
- /** @type {__VLS_StyleScopedClasses['mb-0.5']} */ ;
30
- /** @type {__VLS_StyleScopedClasses['flex']} */ ;
31
- /** @type {__VLS_StyleScopedClasses['justify-between']} */ ;
32
- /** @type {__VLS_StyleScopedClasses['items-center']} */ ;
33
- /** @type {__VLS_StyleScopedClasses['text-blue']} */ ;
34
- /** @type {__VLS_StyleScopedClasses['text-sm']} */ ;
35
- const __VLS_export = (await import('vue')).defineComponent({
36
- __typeProps: {},
37
- });
38
- export default {};
@@ -1,22 +0,0 @@
1
- type Props = {
2
- disabled?: boolean;
3
- type?: 'primary' | 'danger' | 'danger-outline' | 'primary-outline' | 'default' | 'success';
4
- isReverseIcon?: boolean;
5
- loading?: boolean;
6
- };
7
- declare var __VLS_10: {}, __VLS_12: {};
8
- type __VLS_Slots = {} & {
9
- icon?: (props: typeof __VLS_10) => any;
10
- } & {
11
- default?: (props: typeof __VLS_12) => any;
12
- };
13
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
14
- disabled: boolean;
15
- loading: boolean;
16
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
17
- export default _default;
18
- type __VLS_WithSlots<T, S> = T & {
19
- new (): {
20
- $slots: S;
21
- };
22
- };
@@ -1,78 +0,0 @@
1
- /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
- import CButton from '../../../components/ui/button/CButton.vue';
3
- import { computed } from 'vue';
4
- import CSpin from '../../../components/common/spin/CSpin.vue';
5
- const props = withDefaults(defineProps(), {
6
- size: 'middle',
7
- disabled: false,
8
- htmlType: 'button',
9
- shape: 'default',
10
- loading: false
11
- });
12
- const variant = computed(() => {
13
- switch (props.type) {
14
- case 'primary':
15
- return 'default';
16
- default:
17
- return props.type;
18
- }
19
- });
20
- debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
21
- const __VLS_defaults = {
22
- size: 'middle',
23
- disabled: false,
24
- htmlType: 'button',
25
- shape: 'default',
26
- loading: false
27
- };
28
- const __VLS_ctx = {
29
- ...{},
30
- ...{},
31
- ...{},
32
- ...{},
33
- };
34
- let __VLS_elements;
35
- let __VLS_components;
36
- let __VLS_directives;
37
- /** @type {__VLS_StyleScopedClasses['ant-btn-dangerous']} */ ;
38
- /** @type {[typeof CButton, typeof CButton, ]} */ ;
39
- // @ts-ignore
40
- const __VLS_0 = __VLS_asFunctionalComponent(CButton, new CButton({
41
- variant: (__VLS_ctx.variant),
42
- disabled: (__VLS_ctx.disabled),
43
- }));
44
- const __VLS_1 = __VLS_0({
45
- variant: (__VLS_ctx.variant),
46
- disabled: (__VLS_ctx.disabled),
47
- }, ...__VLS_functionalComponentArgsRest(__VLS_0));
48
- var __VLS_3 = {};
49
- const { default: __VLS_4 } = __VLS_2.slots;
50
- // @ts-ignore
51
- [variant, disabled,];
52
- if (__VLS_ctx.loading) {
53
- // @ts-ignore
54
- [loading,];
55
- /** @type {[typeof CSpin, typeof CSpin, ]} */ ;
56
- // @ts-ignore
57
- const __VLS_5 = __VLS_asFunctionalComponent(CSpin, new CSpin({
58
- size: (24),
59
- border: (3),
60
- }));
61
- const __VLS_6 = __VLS_5({
62
- size: (24),
63
- border: (3),
64
- }, ...__VLS_functionalComponentArgsRest(__VLS_5));
65
- }
66
- else {
67
- var __VLS_9 = {};
68
- var __VLS_11 = {};
69
- }
70
- var __VLS_2;
71
- // @ts-ignore
72
- var __VLS_10 = __VLS_9, __VLS_12 = __VLS_11;
73
- const __VLS_base = (await import('vue')).defineComponent({
74
- __typeProps: {},
75
- props: {},
76
- });
77
- const __VLS_export = {};
78
- export default {};
@@ -1,20 +0,0 @@
1
- interface Props {
2
- modelValue: boolean;
3
- }
4
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
- "update:modelValue": (val: boolean) => any;
6
- "on-click": () => any;
7
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
8
- "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
9
- "onOn-click"?: (() => any) | undefined;
10
- }>, {
11
- modelValue: boolean;
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
13
- content?: ((props: {}) => any) | undefined;
14
- }>;
15
- export default _default;
16
- type __VLS_WithSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
@@ -1,70 +0,0 @@
1
- /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
- import { computed } from 'vue';
3
- import { CSwitch } from '../../../components/ui/switch';
4
- const props = withDefaults(defineProps(), {
5
- modelValue: false,
6
- size: 'default',
7
- });
8
- const emits = defineEmits();
9
- const onClick = () => {
10
- emits('on-click');
11
- };
12
- const checked = computed({
13
- get: () => props.modelValue,
14
- set: (newValue) => emits('update:modelValue', newValue)
15
- });
16
- function toggle() {
17
- emits('update:modelValue', !props.modelValue);
18
- }
19
- debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
20
- const __VLS_defaults = {
21
- modelValue: false,
22
- size: 'default',
23
- };
24
- const __VLS_ctx = {
25
- ...{},
26
- ...{},
27
- ...{},
28
- ...{},
29
- ...{},
30
- };
31
- let __VLS_elements;
32
- let __VLS_components;
33
- let __VLS_directives;
34
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
35
- ...{ class: " flex justify-between items-center" },
36
- });
37
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
38
- ...{ onClick: (__VLS_ctx.toggle) },
39
- ...{ class: "cursor-pointer w-full" },
40
- });
41
- // @ts-ignore
42
- [toggle,];
43
- var __VLS_0 = {};
44
- const __VLS_2 = {}.CSwitch;
45
- /** @type {[typeof __VLS_components.CSwitch, typeof __VLS_components.cSwitch, typeof __VLS_components.CSwitch, typeof __VLS_components.cSwitch, ]} */ ;
46
- // @ts-ignore
47
- CSwitch;
48
- // @ts-ignore
49
- const __VLS_3 = __VLS_asFunctionalComponent(__VLS_2, new __VLS_2({
50
- modelValue: (__VLS_ctx.checked),
51
- }));
52
- const __VLS_4 = __VLS_3({
53
- modelValue: (__VLS_ctx.checked),
54
- }, ...__VLS_functionalComponentArgsRest(__VLS_3));
55
- // @ts-ignore
56
- [checked,];
57
- /** @type {__VLS_StyleScopedClasses['flex']} */ ;
58
- /** @type {__VLS_StyleScopedClasses['justify-between']} */ ;
59
- /** @type {__VLS_StyleScopedClasses['items-center']} */ ;
60
- /** @type {__VLS_StyleScopedClasses['cursor-pointer']} */ ;
61
- /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
62
- // @ts-ignore
63
- var __VLS_1 = __VLS_0;
64
- const __VLS_base = (await import('vue')).defineComponent({
65
- __typeEmits: {},
66
- __typeProps: {},
67
- props: {},
68
- });
69
- const __VLS_export = {};
70
- export default {};
@@ -1,16 +0,0 @@
1
- type __VLS_Props = {
2
- modelValue: number;
3
- };
4
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
- "update:modelValue": (val: number) => any;
6
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
7
- "onUpdate:modelValue"?: ((val: number) => any) | undefined;
8
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
9
- default?: ((props: {}) => any) | undefined;
10
- }>;
11
- export default _default;
12
- type __VLS_WithSlots<T, S> = T & {
13
- new (): {
14
- $slots: S;
15
- };
16
- };
@@ -1,48 +0,0 @@
1
- /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
- import { computed } from 'vue';
3
- import { Checkbox } from "../../../components/ui/checkbox";
4
- const props = defineProps();
5
- const emit = defineEmits();
6
- const checked = computed({
7
- get: () => props.modelValue === 1,
8
- set: val => emit('update:modelValue', val ? 1 : 0)
9
- });
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
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
22
- ...{ class: "flex justify-center items-center" },
23
- });
24
- const __VLS_0 = {}.Checkbox;
25
- /** @type {[typeof __VLS_components.Checkbox, ]} */ ;
26
- // @ts-ignore
27
- Checkbox;
28
- // @ts-ignore
29
- const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
30
- modelValue: (__VLS_ctx.checked),
31
- }));
32
- const __VLS_2 = __VLS_1({
33
- modelValue: (__VLS_ctx.checked),
34
- }, ...__VLS_functionalComponentArgsRest(__VLS_1));
35
- // @ts-ignore
36
- [checked,];
37
- var __VLS_5 = {};
38
- /** @type {__VLS_StyleScopedClasses['flex']} */ ;
39
- /** @type {__VLS_StyleScopedClasses['justify-center']} */ ;
40
- /** @type {__VLS_StyleScopedClasses['items-center']} */ ;
41
- // @ts-ignore
42
- var __VLS_6 = __VLS_5;
43
- const __VLS_base = (await import('vue')).defineComponent({
44
- __typeEmits: {},
45
- __typeProps: {},
46
- });
47
- const __VLS_export = {};
48
- export default {};
@@ -1,12 +0,0 @@
1
- interface Props {
2
- modelValue: string[] | number[];
3
- bordered?: boolean;
4
- }
5
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
- "update:modelValue": (val: string[] | number[]) => any;
7
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
8
- "onUpdate:modelValue"?: ((val: string[] | number[]) => any) | undefined;
9
- }>, {
10
- bordered: boolean;
11
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- export default _default;
@@ -1,36 +0,0 @@
1
- /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
- import { computed } from 'vue';
3
- const props = withDefaults(defineProps(), {
4
- ghost: false,
5
- expandIconPosition: 'end',
6
- bordered: false
7
- });
8
- const emits = defineEmits();
9
- const activeKey = computed({
10
- get: () => props.modelValue,
11
- set: (val) => {
12
- emits('update:modelValue', val);
13
- }
14
- });
15
- debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
16
- const __VLS_defaults = {
17
- ghost: false,
18
- expandIconPosition: 'end',
19
- bordered: false
20
- };
21
- const __VLS_ctx = {
22
- ...{},
23
- ...{},
24
- ...{},
25
- ...{},
26
- ...{},
27
- };
28
- let __VLS_elements;
29
- let __VLS_components;
30
- let __VLS_directives;
31
- const __VLS_export = (await import('vue')).defineComponent({
32
- __typeEmits: {},
33
- __typeProps: {},
34
- props: {},
35
- });
36
- export default {};
@@ -1,4 +0,0 @@
1
- interface Props {
2
- }
3
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4
- export default _default;
@@ -1,22 +0,0 @@
1
- /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
- const props = withDefaults(defineProps(), {
3
- collapsible: null
4
- });
5
- debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
6
- const __VLS_defaults = {
7
- collapsible: null
8
- };
9
- const __VLS_ctx = {
10
- ...{},
11
- ...{},
12
- ...{},
13
- ...{},
14
- };
15
- let __VLS_elements;
16
- let __VLS_components;
17
- let __VLS_directives;
18
- const __VLS_export = (await import('vue')).defineComponent({
19
- __typeProps: {},
20
- props: {},
21
- });
22
- export default {};