@phonghq/go-chat 1.0.71 → 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.
- package/dist/go-chat.es.js +11162 -11147
- package/dist/go-chat.umd.js +21 -21
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/assets/icons/call/IconClock.vue.d.ts +0 -2
- package/dist/assets/icons/call/IconClock.vue.js +0 -22
- package/dist/assets/icons/call/IconClose.vue.d.ts +0 -2
- package/dist/assets/icons/call/IconClose.vue.js +0 -26
- package/dist/assets/icons/call/IconMic.vue.d.ts +0 -14
- package/dist/assets/icons/call/IconMic.vue.js +0 -123
- package/dist/assets/icons/call/IconPhone.vue.d.ts +0 -2
- package/dist/assets/icons/call/IconPhone.vue.js +0 -22
- package/dist/assets/icons/call/IconPhoneBase.vue.d.ts +0 -2
- package/dist/assets/icons/call/IconPhoneBase.vue.js +0 -20
- package/dist/assets/icons/call/IconPhoneCancel.vue.d.ts +0 -14
- package/dist/assets/icons/call/IconPhoneCancel.vue.js +0 -46
- package/dist/assets/icons/call/IconSoundDownload.vue.d.ts +0 -2
- package/dist/assets/icons/call/IconSoundDownload.vue.js +0 -50
- package/dist/assets/icons/call/IconSpeaker.vue.d.ts +0 -14
- package/dist/assets/icons/call/IconSpeaker.vue.js +0 -62
- package/dist/assets/icons/customer-appointment/IconFilter.vue.d.ts +0 -2
- package/dist/assets/icons/customer-appointment/IconFilter.vue.js +0 -53
- package/dist/assets/icons/customer-detail/IconArrow.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconArrow.vue.js +0 -22
- package/dist/assets/icons/customer-detail/IconCheck.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconCheck.vue.js +0 -27
- package/dist/assets/icons/customer-detail/IconDate.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconDate.vue.js +0 -43
- package/dist/assets/icons/customer-detail/IconGroup.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconGroup.vue.js +0 -48
- package/dist/assets/icons/customer-detail/IconMessage.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconMessage.vue.js +0 -28
- package/dist/assets/icons/customer-detail/IconNote.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconNote.vue.js +0 -29
- package/dist/assets/icons/customer-detail/IconPhone.vue.d.ts +0 -14
- package/dist/assets/icons/customer-detail/IconPhone.vue.js +0 -41
- package/dist/assets/icons/customer-detail/IconPin.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconPin.vue.js +0 -29
- package/dist/assets/icons/customer-detail/IconSearch.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconSearch.vue.js +0 -29
- package/dist/assets/icons/global/IconAiCheck.vue.d.ts +0 -2
- package/dist/assets/icons/global/IconAiCheck.vue.js +0 -28
- package/dist/assets/icons/global/IconArrowLeft.vue.d.ts +0 -2
- package/dist/assets/icons/global/IconArrowLeft.vue.js +0 -29
- package/dist/assets/icons/global/IconBackspace.vue.d.ts +0 -2
- package/dist/assets/icons/global/IconBackspace.vue.js +0 -28
- package/dist/assets/icons/global/IconCloseCircle.vue.d.ts +0 -2
- package/dist/assets/icons/global/IconCloseCircle.vue.js +0 -36
- package/dist/assets/icons/global/IconPhone.vue.d.ts +0 -2
- package/dist/assets/icons/global/IconPhone.vue.js +0 -19
- package/dist/assets/icons/global/IconPlan.vue.d.ts +0 -14
- package/dist/assets/icons/global/IconPlan.vue.js +0 -39
- package/dist/assets/icons/global/IconPlus.vue.d.ts +0 -2
- package/dist/assets/icons/global/IconPlus.vue.js +0 -22
- package/dist/assets/icons/global/IconSearch.vue.d.ts +0 -32
- package/dist/assets/icons/global/IconSearch.vue.js +0 -68
- package/dist/assets/icons/global/IconSms.vue.d.ts +0 -2
- package/dist/assets/icons/global/IconSms.vue.js +0 -22
- package/dist/assets/icons/global/IconUser.vue.d.ts +0 -2
- package/dist/assets/icons/global/IconUser.vue.js +0 -25
- package/dist/chat/App.vue.d.ts +0 -21
- package/dist/chat/App.vue.js +0 -1020
- package/dist/chat/main.d.ts +0 -7
- package/dist/chat/main.js +0 -7
- package/dist/chat/page/customer-appointment/CustomerAppointment.vue.d.ts +0 -2
- package/dist/chat/page/customer-appointment/CustomerAppointment.vue.js +0 -207
- package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.d.ts +0 -12
- package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.js +0 -80
- package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.d.ts +0 -2
- package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.js +0 -138
- package/dist/chat/page/customer-detail/CustomerDetail.vue.d.ts +0 -7
- package/dist/chat/page/customer-detail/CustomerDetail.vue.js +0 -233
- package/dist/chat/page/customer-detail/SubInformation.vue.d.ts +0 -16
- package/dist/chat/page/customer-detail/SubInformation.vue.js +0 -102
- package/dist/chat/page/error/Error.vue.d.ts +0 -2
- package/dist/chat/page/error/Error.vue.js +0 -64
- package/dist/chat/page/home/ChatList.vue.d.ts +0 -98
- package/dist/chat/page/home/ChatList.vue.js +0 -621
- package/dist/chat/page/home/ChatMessage.vue.d.ts +0 -21
- package/dist/chat/page/home/ChatMessage.vue.js +0 -200
- package/dist/chat/page/home/ChatMessageItem.vue.d.ts +0 -19
- package/dist/chat/page/home/ChatMessageItem.vue.js +0 -358
- package/dist/chat/page/home/ChatMessageItem2.vue.d.ts +0 -19
- package/dist/chat/page/home/ChatMessageItem2.vue.js +0 -351
- package/dist/chat/page/home/DropZone.vue.d.ts +0 -13
- package/dist/chat/page/home/DropZone.vue.js +0 -130
- package/dist/chat/page/home/Home.vue.d.ts +0 -25
- package/dist/chat/page/home/Home.vue.js +0 -430
- package/dist/chat/page/home/HomeHeader.vue.d.ts +0 -14
- package/dist/chat/page/home/HomeHeader.vue.js +0 -248
- package/dist/chat/page/home/InputChat.vue.d.ts +0 -27
- package/dist/chat/page/home/InputChat.vue.js +0 -412
- package/dist/chat/page/home/NewCustomer.vue.d.ts +0 -7
- package/dist/chat/page/home/NewCustomer.vue.js +0 -81
- package/dist/chat/page/home/PhoneNumpad.vue.d.ts +0 -18
- package/dist/chat/page/home/PhoneNumpad.vue.js +0 -143
- package/dist/chat/page/setting/Setting.vue.d.ts +0 -2
- package/dist/chat/page/setting/Setting.vue.js +0 -277
- package/dist/chat/page/setting/SettingSuccess.vue.d.ts +0 -2
- package/dist/chat/page/setting/SettingSuccess.vue.js +0 -33
- package/dist/components/chat/ScrollEvent/ScrollEvent.vue.d.ts +0 -24
- package/dist/components/chat/ScrollEvent/ScrollEvent.vue.js +0 -207
- package/dist/components/chat/call/Calling.vue.d.ts +0 -17
- package/dist/components/chat/call/Calling.vue.js +0 -607
- package/dist/components/chat/call/TimeLeft.vue.d.ts +0 -5
- package/dist/components/chat/call/TimeLeft.vue.js +0 -59
- package/dist/components/chat/card/CardCustomerDetail.vue.d.ts +0 -13
- package/dist/components/chat/card/CardCustomerDetail.vue.js +0 -28
- package/dist/components/chat/common/collapse/CollapseBase.vue.d.ts +0 -20
- package/dist/components/chat/common/collapse/CollapseBase.vue.js +0 -59
- package/dist/components/chat/common/input/InputSearch.vue.d.ts +0 -16
- package/dist/components/chat/common/input/InputSearch.vue.js +0 -71
- package/dist/components/chat/common/modal/Modal.vue.d.ts +0 -94
- package/dist/components/chat/common/modal/Modal.vue.js +0 -260
- package/dist/components/chat/common/popover/PopoverBase.vue.d.ts +0 -35
- package/dist/components/chat/common/popover/PopoverBase.vue.js +0 -148
- package/dist/components/chat/common/spin/BaseSpin.vue.d.ts +0 -10
- package/dist/components/chat/common/spin/BaseSpin.vue.js +0 -43
- package/dist/components/chat/common/switch/SwitchBase.vue.d.ts +0 -17
- package/dist/components/chat/common/switch/SwitchBase.vue.js +0 -76
- package/dist/components/chat/common/tab/TabBase.vue.d.ts +0 -30
- package/dist/components/chat/common/tab/TabBase.vue.js +0 -86
- package/dist/components/chat/common/tabs/TabBase.vue.d.ts +0 -18
- package/dist/components/chat/common/tabs/TabBase.vue.js +0 -93
- package/dist/components/chat/customer/Avatar.vue.d.ts +0 -12
- package/dist/components/chat/customer/Avatar.vue.js +0 -127
- package/dist/components/chat/layout/mobile/Footer.vue.d.ts +0 -2
- package/dist/components/chat/layout/mobile/Footer.vue.js +0 -114
- package/dist/components/chat/select/SelectBase.vue.d.ts +0 -24
- package/dist/components/chat/select/SelectBase.vue.js +0 -105
- package/dist/components/common/CustomLoading.vue.d.ts +0 -2
- package/dist/components/common/CustomLoading.vue.js +0 -19
- package/dist/components/common/Notification/NotificationDescription.vue.d.ts +0 -7
- package/dist/components/common/Notification/NotificationDescription.vue.js +0 -38
- package/dist/components/common/button/ButtonBase.vue.d.ts +0 -22
- package/dist/components/common/button/ButtonBase.vue.js +0 -78
- package/dist/components/common/button/ButtonToggle.vue.d.ts +0 -20
- package/dist/components/common/button/ButtonToggle.vue.js +0 -70
- package/dist/components/common/checkbox/CCheckboxNumber.vue.d.ts +0 -16
- package/dist/components/common/checkbox/CCheckboxNumber.vue.js +0 -48
- package/dist/components/common/collapse/BaseCollapse.vue.d.ts +0 -12
- package/dist/components/common/collapse/BaseCollapse.vue.js +0 -36
- package/dist/components/common/collapse/BaseCollapseItem.vue.d.ts +0 -4
- package/dist/components/common/collapse/BaseCollapseItem.vue.js +0 -22
- package/dist/components/common/drawer/DrawerBase.vue.d.ts +0 -39
- package/dist/components/common/drawer/DrawerBase.vue.js +0 -126
- package/dist/components/common/drawer/DrawerBaseCustom.vue.d.ts +0 -33
- package/dist/components/common/drawer/DrawerBaseCustom.vue.js +0 -135
- package/dist/components/common/dropdown/DropdownBase.vue.d.ts +0 -21
- package/dist/components/common/dropdown/DropdownBase.vue.js +0 -91
- package/dist/components/common/input/CInputSearch.vue.d.ts +0 -14
- package/dist/components/common/input/CInputSearch.vue.js +0 -62
- package/dist/components/common/modal/ModalBase.vue.d.ts +0 -35
- package/dist/components/common/modal/ModalBase.vue.js +0 -187
- package/dist/components/common/popover/PopoverBase.vue.d.ts +0 -3
- package/dist/components/common/popover/PopoverBase.vue.js +0 -36
- package/dist/components/common/select/SelectBase.vue.d.ts +0 -28
- package/dist/components/common/select/SelectBase.vue.js +0 -102
- package/dist/components/common/slider/BaseSlider.vue.d.ts +0 -11
- package/dist/components/common/slider/BaseSlider.vue.js +0 -70
- package/dist/components/common/spin/CSpin.vue.d.ts +0 -9
- package/dist/components/common/spin/CSpin.vue.js +0 -41
- package/dist/components/common/tooltip/TooltipBase.vue.d.ts +0 -2
- package/dist/components/common/tooltip/TooltipBase.vue.js +0 -8
- package/dist/components/layout/PageError.vue.d.ts +0 -2
- package/dist/components/layout/PageError.vue.js +0 -91
- package/dist/components/ui/button/CButton.vue.d.ts +0 -19
- package/dist/components/ui/button/CButton.vue.js +0 -49
- package/dist/components/ui/button/c-button.d.ts +0 -7
- package/dist/components/ui/button/c-button.js +0 -26
- package/dist/components/ui/checkbox/Checkbox.vue.d.ts +0 -18
- package/dist/components/ui/checkbox/Checkbox.vue.js +0 -79
- package/dist/components/ui/checkbox/index.d.ts +0 -1
- package/dist/components/ui/checkbox/index.js +0 -1
- package/dist/components/ui/collapsible/Collapsible.vue.d.ts +0 -16
- package/dist/components/ui/collapsible/Collapsible.vue.js +0 -47
- package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +0 -10
- package/dist/components/ui/collapsible/CollapsibleContent.vue.js +0 -41
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +0 -10
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.js +0 -35
- package/dist/components/ui/collapsible/index.d.ts +0 -3
- package/dist/components/ui/collapsible/index.js +0 -3
- package/dist/components/ui/dialog/Dialog.vue.d.ts +0 -14
- package/dist/components/ui/dialog/Dialog.vue.js +0 -42
- package/dist/components/ui/dialog/DialogClose.vue.d.ts +0 -10
- package/dist/components/ui/dialog/DialogClose.vue.js +0 -35
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -29
- package/dist/components/ui/dialog/DialogContent.vue.js +0 -84
- package/dist/components/ui/dialog/DialogDescription.vue.d.ts +0 -14
- package/dist/components/ui/dialog/DialogDescription.vue.js +0 -43
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +0 -13
- package/dist/components/ui/dialog/DialogFooter.vue.js +0 -26
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts +0 -13
- package/dist/components/ui/dialog/DialogHeader.vue.js +0 -26
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +0 -30
- package/dist/components/ui/dialog/DialogScrollContent.vue.js +0 -99
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts +0 -14
- package/dist/components/ui/dialog/DialogTitle.vue.js +0 -43
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +0 -10
- package/dist/components/ui/dialog/DialogTrigger.vue.js +0 -35
- package/dist/components/ui/dialog/index.d.ts +0 -9
- package/dist/components/ui/dialog/index.js +0 -9
- package/dist/components/ui/drawer/Drawer.vue.d.ts +0 -26
- package/dist/components/ui/drawer/Drawer.vue.js +0 -48
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +0 -33
- package/dist/components/ui/drawer/DrawerContent.vue.js +0 -81
- package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +0 -14
- package/dist/components/ui/drawer/DrawerDescription.vue.js +0 -42
- package/dist/components/ui/drawer/DrawerFooter.vue.d.ts +0 -13
- package/dist/components/ui/drawer/DrawerFooter.vue.js +0 -26
- package/dist/components/ui/drawer/DrawerHeader.vue.d.ts +0 -13
- package/dist/components/ui/drawer/DrawerHeader.vue.js +0 -26
- package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +0 -7
- package/dist/components/ui/drawer/DrawerOverlay.vue.js +0 -37
- package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +0 -14
- package/dist/components/ui/drawer/DrawerTitle.vue.js +0 -42
- package/dist/components/ui/drawer/index.d.ts +0 -8
- package/dist/components/ui/drawer/index.js +0 -8
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -14
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.js +0 -41
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +0 -20
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.js +0 -79
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -28
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.js +0 -61
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +0 -10
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.js +0 -35
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +0 -15
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.js +0 -43
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +0 -15
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.js +0 -43
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +0 -14
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.js +0 -41
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +0 -18
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.js +0 -80
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +0 -7
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.js +0 -37
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +0 -13
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.js +0 -26
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +0 -14
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.js +0 -41
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +0 -30
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.js +0 -46
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +0 -14
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.js +0 -58
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +0 -10
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.js +0 -41
- package/dist/components/ui/dropdown-menu/index.d.ts +0 -15
- package/dist/components/ui/dropdown-menu/index.js +0 -15
- package/dist/components/ui/popover/Popover.vue.d.ts +0 -14
- package/dist/components/ui/popover/Popover.vue.js +0 -41
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -28
- package/dist/components/ui/popover/PopoverContent.vue.js +0 -60
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -10
- package/dist/components/ui/popover/PopoverTrigger.vue.js +0 -35
- package/dist/components/ui/popover/index.d.ts +0 -3
- package/dist/components/ui/popover/index.js +0 -3
- package/dist/components/ui/radio-group/RadioGroup.vue.d.ts +0 -18
- package/dist/components/ui/radio-group/RadioGroup.vue.js +0 -46
- package/dist/components/ui/radio-group/RadioGroupItem.vue.d.ts +0 -7
- package/dist/components/ui/radio-group/RadioGroupItem.vue.js +0 -71
- package/dist/components/ui/radio-group/index.d.ts +0 -2
- package/dist/components/ui/radio-group/index.js +0 -2
- package/dist/components/ui/select/Select.vue.d.ts +0 -20
- package/dist/components/ui/select/Select.vue.js +0 -49
- package/dist/components/ui/select/SelectContent.vue.d.ts +0 -24
- package/dist/components/ui/select/SelectContent.vue.js +0 -98
- package/dist/components/ui/select/SelectGroup.vue.d.ts +0 -10
- package/dist/components/ui/select/SelectGroup.vue.js +0 -37
- package/dist/components/ui/select/SelectItem.vue.d.ts +0 -18
- package/dist/components/ui/select/SelectItem.vue.js +0 -73
- package/dist/components/ui/select/SelectItemText.vue.d.ts +0 -10
- package/dist/components/ui/select/SelectItemText.vue.js +0 -37
- package/dist/components/ui/select/SelectLabel.vue.d.ts +0 -14
- package/dist/components/ui/select/SelectLabel.vue.js +0 -40
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +0 -14
- package/dist/components/ui/select/SelectScrollDownButton.vue.js +0 -58
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +0 -14
- package/dist/components/ui/select/SelectScrollUpButton.vue.js +0 -58
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +0 -7
- package/dist/components/ui/select/SelectSeparator.vue.js +0 -39
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +0 -17
- package/dist/components/ui/select/SelectTrigger.vue.js +0 -49
- package/dist/components/ui/select/SelectValue.vue.d.ts +0 -10
- package/dist/components/ui/select/SelectValue.vue.js +0 -37
- package/dist/components/ui/select/index.d.ts +0 -11
- package/dist/components/ui/select/index.js +0 -11
- package/dist/components/ui/slider/Slider.vue.d.ts +0 -13
- package/dist/components/ui/slider/Slider.vue.js +0 -155
- package/dist/components/ui/slider/index.d.ts +0 -1
- package/dist/components/ui/slider/index.js +0 -1
- package/dist/components/ui/switch/Switch.vue.d.ts +0 -18
- package/dist/components/ui/switch/Switch.vue.js +0 -61
- package/dist/components/ui/switch/index.d.ts +0 -1
- package/dist/components/ui/switch/index.js +0 -1
- package/dist/components/ui/tabs/Tabs.vue.d.ts +0 -20
- package/dist/components/ui/tabs/Tabs.vue.js +0 -54
- package/dist/components/ui/tabs/TabsContent.vue.d.ts +0 -14
- package/dist/components/ui/tabs/TabsContent.vue.js +0 -44
- package/dist/components/ui/tabs/TabsList.vue.d.ts +0 -14
- package/dist/components/ui/tabs/TabsList.vue.js +0 -44
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +0 -14
- package/dist/components/ui/tabs/TabsTrigger.vue.js +0 -45
- package/dist/components/ui/tabs/index.d.ts +0 -4
- package/dist/components/ui/tabs/index.js +0 -4
- package/dist/composable/useDigibot.d.ts +0 -7
- package/dist/composable/useDigibot.js +0 -23
- package/dist/composable/useInitData.d.ts +0 -12
- package/dist/composable/useInitData.js +0 -99
- package/dist/composable/useListConversations.d.ts +0 -55
- package/dist/composable/useListConversations.js +0 -209
- package/dist/composable/useListentEvent.d.ts +0 -5
- package/dist/composable/useListentEvent.js +0 -51
- package/dist/composable/usePlivo.d.ts +0 -17
- package/dist/composable/usePlivo.js +0 -207
- package/dist/constant/color.d.ts +0 -22
- package/dist/constant/color.js +0 -47
- package/dist/constant/datetime.d.ts +0 -6
- package/dist/constant/datetime.js +0 -6
- package/dist/constant/general.d.ts +0 -11
- package/dist/constant/general.js +0 -12
- package/dist/constant/message.d.ts +0 -8
- package/dist/constant/message.js +0 -8
- package/dist/constant/mqtt.d.ts +0 -7
- package/dist/constant/mqtt.js +0 -18
- package/dist/constant/user.d.ts +0 -8
- package/dist/constant/user.js +0 -9
- package/dist/lib/utils.d.ts +0 -2
- package/dist/lib/utils.js +0 -5
- package/dist/plugins/axios-gci.d.ts +0 -3
- package/dist/plugins/axios-gci.js +0 -25
- package/dist/plugins/axios.d.ts +0 -3
- package/dist/plugins/axios.js +0 -84
- package/dist/plugins/mqtt.d.ts +0 -8
- package/dist/plugins/mqtt.js +0 -189
- package/dist/plugins/pocketbase.d.ts +0 -5
- package/dist/plugins/pocketbase.js +0 -15
- package/dist/plugins/sdk.d.ts +0 -18
- package/dist/plugins/sdk.js +0 -73
- package/dist/plugins/websocket.d.ts +0 -15
- package/dist/plugins/websocket.js +0 -151
- package/dist/types/chat/auth.d.ts +0 -41
- package/dist/types/chat/auth.js +0 -1
- package/dist/types/chat/call.d.ts +0 -19
- package/dist/types/chat/call.js +0 -23
- package/dist/types/chat/global.d.ts +0 -32
- package/dist/types/chat/global.js +0 -1
- package/dist/types/chat/promise.d.ts +0 -17
- package/dist/types/chat/promise.js +0 -1
- package/dist/types/chat/user.d.ts +0 -88
- package/dist/types/chat/user.js +0 -1
- package/dist/types/conversation.d.ts +0 -23
- package/dist/types/conversation.js +0 -1
- package/dist/types/global.d.ts +0 -11
- package/dist/types/global.js +0 -15
- package/dist/types/message.d.ts +0 -52
- package/dist/types/message.js +0 -1
- package/dist/utils/chat/cache.d.ts +0 -7
- package/dist/utils/chat/cache.js +0 -63
- package/dist/utils/chat/chat-router.d.ts +0 -3
- package/dist/utils/chat/chat-router.js +0 -8
- package/dist/utils/chat/page-error.d.ts +0 -4
- package/dist/utils/chat/page-error.js +0 -25
- package/dist/utils/chat/phone-string.d.ts +0 -1
- package/dist/utils/chat/phone-string.js +0 -4
- package/dist/utils/chat/store/auth.d.ts +0 -62
- package/dist/utils/chat/store/auth.js +0 -93
- package/dist/utils/chat/store/call.d.ts +0 -15
- package/dist/utils/chat/store/call.js +0 -160
- package/dist/utils/chat/store/conversation.d.ts +0 -13
- package/dist/utils/chat/store/conversation.js +0 -69
- package/dist/utils/chat/store/message.d.ts +0 -31
- package/dist/utils/chat/store/message.js +0 -74
- package/dist/utils/chat/store/user.d.ts +0 -200
- package/dist/utils/chat/store/user.js +0 -43
- package/dist/utils/debounce.d.ts +0 -1
- package/dist/utils/debounce.js +0 -9
- package/dist/utils/json.d.ts +0 -2
- package/dist/utils/json.js +0 -18
- package/dist/utils/logger.d.ts +0 -3
- package/dist/utils/logger.js +0 -5
- package/dist/utils/string-helper.d.ts +0 -2
- package/dist/utils/string-helper.js +0 -40
- package/dist/views/NotTenantPhone.vue.d.ts +0 -9
- package/dist/views/NotTenantPhone.vue.js +0 -99
- package/dist/views/home/phone-numpad/ConvercationList.vue.d.ts +0 -18
- package/dist/views/home/phone-numpad/ConvercationList.vue.js +0 -174
- package/dist/views/home/phone-numpad/PhoneNumpad.vue.d.ts +0 -28
- package/dist/views/home/phone-numpad/PhoneNumpad.vue.js +0 -377
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
-
import { ref } from 'vue';
|
|
3
|
-
import DrawerBaseCustom from '../../../components/common/drawer/DrawerBaseCustom.vue';
|
|
4
|
-
import PhoneNumpad from '../../../views/home/phone-numpad/PhoneNumpad.vue';
|
|
5
|
-
const emit = defineEmits();
|
|
6
|
-
const props = withDefaults(defineProps(), {});
|
|
7
|
-
const drawerVisibleRef = ref();
|
|
8
|
-
const phoneNumpadRef = ref();
|
|
9
|
-
const openPhoneNumpad = () => {
|
|
10
|
-
phoneNumpadRef.value?.reset();
|
|
11
|
-
drawerVisibleRef.value?.open();
|
|
12
|
-
};
|
|
13
|
-
const closePhoneNumpad = () => {
|
|
14
|
-
phoneNumpadRef.value?.reset();
|
|
15
|
-
drawerVisibleRef.value?.close();
|
|
16
|
-
};
|
|
17
|
-
const handleCall = (data) => {
|
|
18
|
-
emit('call', data);
|
|
19
|
-
};
|
|
20
|
-
const __VLS_exposed = { openPhoneNumpad, closePhoneNumpad };
|
|
21
|
-
defineExpose(__VLS_exposed);
|
|
22
|
-
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
23
|
-
const __VLS_defaults = {};
|
|
24
|
-
const __VLS_ctx = {
|
|
25
|
-
...{},
|
|
26
|
-
...{},
|
|
27
|
-
...{},
|
|
28
|
-
...{},
|
|
29
|
-
...{},
|
|
30
|
-
};
|
|
31
|
-
let __VLS_elements;
|
|
32
|
-
let __VLS_components;
|
|
33
|
-
let __VLS_directives;
|
|
34
|
-
if (__VLS_ctx.responsive == 'window') {
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
[responsive,];
|
|
37
|
-
/** @type {[typeof PhoneNumpad, ]} */ ;
|
|
38
|
-
// @ts-ignore
|
|
39
|
-
const __VLS_0 = __VLS_asFunctionalComponent(PhoneNumpad, new PhoneNumpad({
|
|
40
|
-
...{ 'onCall': {} },
|
|
41
|
-
...{ class: "bg-white shrink-0 border-l layout-border" },
|
|
42
|
-
modelValue: "",
|
|
43
|
-
hideNumpad: (__VLS_ctx.hideNumpad),
|
|
44
|
-
responsive: (__VLS_ctx.responsive),
|
|
45
|
-
}));
|
|
46
|
-
const __VLS_1 = __VLS_0({
|
|
47
|
-
...{ 'onCall': {} },
|
|
48
|
-
...{ class: "bg-white shrink-0 border-l layout-border" },
|
|
49
|
-
modelValue: "",
|
|
50
|
-
hideNumpad: (__VLS_ctx.hideNumpad),
|
|
51
|
-
responsive: (__VLS_ctx.responsive),
|
|
52
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_0));
|
|
53
|
-
let __VLS_3;
|
|
54
|
-
let __VLS_4;
|
|
55
|
-
const __VLS_5 = ({ call: {} },
|
|
56
|
-
{ onCall: (__VLS_ctx.handleCall) });
|
|
57
|
-
var __VLS_6 = {};
|
|
58
|
-
// @ts-ignore
|
|
59
|
-
[responsive, hideNumpad, handleCall,];
|
|
60
|
-
var __VLS_2;
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
/** @type {[typeof DrawerBaseCustom, typeof DrawerBaseCustom, ]} */ ;
|
|
64
|
-
// @ts-ignore
|
|
65
|
-
const __VLS_8 = __VLS_asFunctionalComponent(DrawerBaseCustom, new DrawerBaseCustom({
|
|
66
|
-
ref: "drawerVisibleRef",
|
|
67
|
-
responsive: (__VLS_ctx.responsive),
|
|
68
|
-
absolute: true,
|
|
69
|
-
}));
|
|
70
|
-
const __VLS_9 = __VLS_8({
|
|
71
|
-
ref: "drawerVisibleRef",
|
|
72
|
-
responsive: (__VLS_ctx.responsive),
|
|
73
|
-
absolute: true,
|
|
74
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_8));
|
|
75
|
-
/** @type {typeof __VLS_ctx.drawerVisibleRef} */ ;
|
|
76
|
-
var __VLS_11 = {};
|
|
77
|
-
const { default: __VLS_13 } = __VLS_10.slots;
|
|
78
|
-
// @ts-ignore
|
|
79
|
-
[responsive, drawerVisibleRef,];
|
|
80
|
-
{
|
|
81
|
-
const { content: __VLS_14 } = __VLS_10.slots;
|
|
82
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
83
|
-
...{ class: "h-full flex flex-col" },
|
|
84
|
-
});
|
|
85
|
-
/** @type {[typeof PhoneNumpad, ]} */ ;
|
|
86
|
-
// @ts-ignore
|
|
87
|
-
const __VLS_15 = __VLS_asFunctionalComponent(PhoneNumpad, new PhoneNumpad({
|
|
88
|
-
...{ 'onCall': {} },
|
|
89
|
-
...{ 'onBack': {} },
|
|
90
|
-
ref: "phoneNumpadRef",
|
|
91
|
-
...{ class: "bg-white grow border-l layout-border w-full" },
|
|
92
|
-
hideNumpad: (__VLS_ctx.hideNumpad),
|
|
93
|
-
responsive: (__VLS_ctx.responsive),
|
|
94
|
-
}));
|
|
95
|
-
const __VLS_16 = __VLS_15({
|
|
96
|
-
...{ 'onCall': {} },
|
|
97
|
-
...{ 'onBack': {} },
|
|
98
|
-
ref: "phoneNumpadRef",
|
|
99
|
-
...{ class: "bg-white grow border-l layout-border w-full" },
|
|
100
|
-
hideNumpad: (__VLS_ctx.hideNumpad),
|
|
101
|
-
responsive: (__VLS_ctx.responsive),
|
|
102
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_15));
|
|
103
|
-
let __VLS_18;
|
|
104
|
-
let __VLS_19;
|
|
105
|
-
const __VLS_20 = ({ call: {} },
|
|
106
|
-
{ onCall: (__VLS_ctx.handleCall) });
|
|
107
|
-
const __VLS_21 = ({ back: {} },
|
|
108
|
-
{ onBack: (...[$event]) => {
|
|
109
|
-
if (!!(__VLS_ctx.responsive == 'window'))
|
|
110
|
-
return;
|
|
111
|
-
__VLS_ctx.drawerVisibleRef?.close();
|
|
112
|
-
// @ts-ignore
|
|
113
|
-
[responsive, hideNumpad, handleCall, drawerVisibleRef,];
|
|
114
|
-
} });
|
|
115
|
-
/** @type {typeof __VLS_ctx.phoneNumpadRef} */ ;
|
|
116
|
-
var __VLS_22 = {};
|
|
117
|
-
// @ts-ignore
|
|
118
|
-
[phoneNumpadRef,];
|
|
119
|
-
var __VLS_17;
|
|
120
|
-
}
|
|
121
|
-
var __VLS_10;
|
|
122
|
-
}
|
|
123
|
-
/** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
|
|
124
|
-
/** @type {__VLS_StyleScopedClasses['shrink-0']} */ ;
|
|
125
|
-
/** @type {__VLS_StyleScopedClasses['border-l']} */ ;
|
|
126
|
-
/** @type {__VLS_StyleScopedClasses['layout-border']} */ ;
|
|
127
|
-
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
128
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
129
|
-
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
130
|
-
/** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
|
|
131
|
-
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
132
|
-
/** @type {__VLS_StyleScopedClasses['border-l']} */ ;
|
|
133
|
-
/** @type {__VLS_StyleScopedClasses['layout-border']} */ ;
|
|
134
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
135
|
-
// @ts-ignore
|
|
136
|
-
var __VLS_12 = __VLS_11, __VLS_23 = __VLS_22;
|
|
137
|
-
const __VLS_export = (await import('vue')).defineComponent({
|
|
138
|
-
setup: () => (__VLS_exposed),
|
|
139
|
-
__typeEmits: {},
|
|
140
|
-
__typeProps: {},
|
|
141
|
-
props: {},
|
|
142
|
-
});
|
|
143
|
-
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,277 +0,0 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
-
import { ref } from 'vue';
|
|
3
|
-
import SelectBase from '../../../components/chat/select/SelectBase.vue';
|
|
4
|
-
import { dataProfile } from '../../../utils/chat/store/auth';
|
|
5
|
-
import { createBusinessTenantPhone } from '../../../plugins/pocketbase';
|
|
6
|
-
import { routerPush } from '../../../utils/chat/chat-router';
|
|
7
|
-
import { PAGE } from '../../../constant/general';
|
|
8
|
-
import ButtonBase from '@/components/common/button/ButtonBase.vue';
|
|
9
|
-
const open = ref(false);
|
|
10
|
-
const phoneValue = ref('');
|
|
11
|
-
const nameValue = ref('');
|
|
12
|
-
const countries = [
|
|
13
|
-
// { value: 'VN', label: 'Vietnam', dial: 84, flag: '🇻🇳' },
|
|
14
|
-
{ value: 'US', label: '+1 US', dial: 1, flag: '🇺🇸' }
|
|
15
|
-
// { value: 'KR', label: 'Korea', dial: 82, flag: '🇰🇷' },
|
|
16
|
-
// { value: 'JP', label: 'Japan', dial: 81, flag: '🇯🇵' },
|
|
17
|
-
// { value: 'TH', label: 'Thailand', dial: 66, flag: '🇹🇭' },
|
|
18
|
-
];
|
|
19
|
-
const selected = ref(countries[0]);
|
|
20
|
-
const error = ref('');
|
|
21
|
-
const select = (c) => {
|
|
22
|
-
selected.value = c;
|
|
23
|
-
open.value = false;
|
|
24
|
-
};
|
|
25
|
-
const loading = ref(false);
|
|
26
|
-
const handleInput = () => {
|
|
27
|
-
error.value = '';
|
|
28
|
-
phoneValue.value = keepOnlyNumbers(phoneValue.value);
|
|
29
|
-
};
|
|
30
|
-
const keepOnlyNumbers = (str) => {
|
|
31
|
-
return str.replace(/\D/g, '');
|
|
32
|
-
};
|
|
33
|
-
const isPhoneMatchDial = (countryDial, phone) => {
|
|
34
|
-
const dial = phone.replace('+', '');
|
|
35
|
-
return phone.startsWith(countryDial.toString());
|
|
36
|
-
};
|
|
37
|
-
const onSubmit = async () => {
|
|
38
|
-
try {
|
|
39
|
-
if (!nameValue.value) {
|
|
40
|
-
error.value = `Business name is required.`;
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
if (!phoneValue.value || keepOnlyNumbers(phoneValue.value).length > 10) {
|
|
44
|
-
error.value = `Phone number must contain 10 digits`;
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
if (isPhoneMatchDial(selected.value.dial, phoneValue.value)) {
|
|
48
|
-
error.value = `Phone number does not match country code ${selected.value.value}`;
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
loading.value = true;
|
|
52
|
-
const param = {
|
|
53
|
-
tenant_id: dataProfile.value?.tenant_id,
|
|
54
|
-
phone_forward: selected.value.dial + phoneValue.value,
|
|
55
|
-
tenant_name: nameValue.value
|
|
56
|
-
};
|
|
57
|
-
await createBusinessTenantPhone(param);
|
|
58
|
-
routerPush(PAGE.REGISTER_SUCCESS);
|
|
59
|
-
// router.push({ name: 'home' })
|
|
60
|
-
}
|
|
61
|
-
catch (e) {
|
|
62
|
-
console.log(e);
|
|
63
|
-
error.value = e?.message || 'Something error!';
|
|
64
|
-
}
|
|
65
|
-
loading.value = false;
|
|
66
|
-
};
|
|
67
|
-
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
68
|
-
const __VLS_ctx = {
|
|
69
|
-
...{},
|
|
70
|
-
...{},
|
|
71
|
-
};
|
|
72
|
-
let __VLS_elements;
|
|
73
|
-
let __VLS_components;
|
|
74
|
-
let __VLS_directives;
|
|
75
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
76
|
-
...{ class: "mx-auto w-full h-full max-w-[700px] flex flex-col gap-4 justify-center px-5" },
|
|
77
|
-
});
|
|
78
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
79
|
-
...{ class: " mb-2" },
|
|
80
|
-
});
|
|
81
|
-
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
|
|
82
|
-
...{ class: "text-3xl md:text-3xl text-chat-haze-800 font-bold text-center" },
|
|
83
|
-
});
|
|
84
|
-
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
|
|
85
|
-
...{ class: "italic text-lg text-center" },
|
|
86
|
-
});
|
|
87
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({});
|
|
88
|
-
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
|
|
89
|
-
...{ class: "text-xl text-left font-semibold text-chat-haze-600 mb-2" },
|
|
90
|
-
});
|
|
91
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
92
|
-
...{ class: "chat-input border border-chat-haze-200 p-2 bg-white shadow-md" },
|
|
93
|
-
});
|
|
94
|
-
__VLS_asFunctionalElement(__VLS_elements.input)({
|
|
95
|
-
...{ class: "!outline-none h-8 px-2 w-full" },
|
|
96
|
-
placeholder: "Enter business name",
|
|
97
|
-
});
|
|
98
|
-
(__VLS_ctx.nameValue);
|
|
99
|
-
// @ts-ignore
|
|
100
|
-
[nameValue,];
|
|
101
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({});
|
|
102
|
-
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
|
|
103
|
-
...{ class: "text-xl text-left font-semibold text-chat-haze-600 mb-2" },
|
|
104
|
-
});
|
|
105
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
106
|
-
...{ class: "flex items-center gap-2 chat-input border border-chat-haze-200 p-2 bg-white shadow-md" },
|
|
107
|
-
});
|
|
108
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
109
|
-
...{ class: "relative" },
|
|
110
|
-
});
|
|
111
|
-
/** @type {[typeof SelectBase, typeof SelectBase, ]} */ ;
|
|
112
|
-
// @ts-ignore
|
|
113
|
-
const __VLS_0 = __VLS_asFunctionalComponent(SelectBase, new SelectBase({
|
|
114
|
-
options: (__VLS_ctx.countries),
|
|
115
|
-
placement: "bottom",
|
|
116
|
-
}));
|
|
117
|
-
const __VLS_1 = __VLS_0({
|
|
118
|
-
options: (__VLS_ctx.countries),
|
|
119
|
-
placement: "bottom",
|
|
120
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_0));
|
|
121
|
-
const { default: __VLS_3 } = __VLS_2.slots;
|
|
122
|
-
// @ts-ignore
|
|
123
|
-
[countries,];
|
|
124
|
-
__VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
|
|
125
|
-
...{ class: "flex items-center gap-1 px-2 py-1 rounded-lg hover:bg-gray-100" },
|
|
126
|
-
});
|
|
127
|
-
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
|
|
128
|
-
(__VLS_ctx.selected.flag);
|
|
129
|
-
// @ts-ignore
|
|
130
|
-
[selected,];
|
|
131
|
-
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
|
|
132
|
-
...{ class: "text-sm text-chat-haze-700" },
|
|
133
|
-
});
|
|
134
|
-
(__VLS_ctx.selected.dial);
|
|
135
|
-
// @ts-ignore
|
|
136
|
-
[selected,];
|
|
137
|
-
__VLS_asFunctionalElement(__VLS_elements.svg, __VLS_elements.svg)({
|
|
138
|
-
...{ class: "w-4 h-4 text-chat-haze-500" },
|
|
139
|
-
fill: "none",
|
|
140
|
-
stroke: "currentColor",
|
|
141
|
-
viewBox: "0 0 20 20",
|
|
142
|
-
});
|
|
143
|
-
__VLS_asFunctionalElement(__VLS_elements.path)({
|
|
144
|
-
'stroke-linecap': "round",
|
|
145
|
-
'stroke-linejoin': "round",
|
|
146
|
-
'stroke-width': "2",
|
|
147
|
-
d: "M5 7l5 5 5-5",
|
|
148
|
-
});
|
|
149
|
-
var __VLS_2;
|
|
150
|
-
__VLS_asFunctionalElement(__VLS_elements.input)({
|
|
151
|
-
...{ onInput: (__VLS_ctx.handleInput) },
|
|
152
|
-
...{ class: "!outline-none" },
|
|
153
|
-
type: "tel",
|
|
154
|
-
maxlength: (10),
|
|
155
|
-
placeholder: "Enter phone number",
|
|
156
|
-
});
|
|
157
|
-
(__VLS_ctx.phoneValue);
|
|
158
|
-
// @ts-ignore
|
|
159
|
-
[handleInput, phoneValue,];
|
|
160
|
-
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
|
|
161
|
-
...{ class: "italic text-base text-chat-haze-500" },
|
|
162
|
-
});
|
|
163
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
164
|
-
...{ class: "relative" },
|
|
165
|
-
});
|
|
166
|
-
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
|
|
167
|
-
...{ class: "text-chat-error absolute -top-4 left-0" },
|
|
168
|
-
});
|
|
169
|
-
__VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.error) }, null, null);
|
|
170
|
-
// @ts-ignore
|
|
171
|
-
[error,];
|
|
172
|
-
(__VLS_ctx.error);
|
|
173
|
-
// @ts-ignore
|
|
174
|
-
[error,];
|
|
175
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
176
|
-
...{ class: "flex-center mt-2" },
|
|
177
|
-
});
|
|
178
|
-
/** @type {[typeof ButtonBase, typeof ButtonBase, ]} */ ;
|
|
179
|
-
// @ts-ignore
|
|
180
|
-
const __VLS_4 = __VLS_asFunctionalComponent(ButtonBase, new ButtonBase({
|
|
181
|
-
...{ 'onClick': {} },
|
|
182
|
-
loading: (__VLS_ctx.loading),
|
|
183
|
-
type: "primary",
|
|
184
|
-
...{ class: "w-[230px] h-12 font-medium" },
|
|
185
|
-
}));
|
|
186
|
-
const __VLS_5 = __VLS_4({
|
|
187
|
-
...{ 'onClick': {} },
|
|
188
|
-
loading: (__VLS_ctx.loading),
|
|
189
|
-
type: "primary",
|
|
190
|
-
...{ class: "w-[230px] h-12 font-medium" },
|
|
191
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_4));
|
|
192
|
-
let __VLS_7;
|
|
193
|
-
let __VLS_8;
|
|
194
|
-
const __VLS_9 = ({ click: {} },
|
|
195
|
-
{ onClick: (...[$event]) => {
|
|
196
|
-
__VLS_ctx.onSubmit();
|
|
197
|
-
// @ts-ignore
|
|
198
|
-
[loading, onSubmit,];
|
|
199
|
-
} });
|
|
200
|
-
const { default: __VLS_10 } = __VLS_6.slots;
|
|
201
|
-
var __VLS_6;
|
|
202
|
-
/** @type {__VLS_StyleScopedClasses['mx-auto']} */ ;
|
|
203
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
204
|
-
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
205
|
-
/** @type {__VLS_StyleScopedClasses['max-w-[700px]']} */ ;
|
|
206
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
207
|
-
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
208
|
-
/** @type {__VLS_StyleScopedClasses['gap-4']} */ ;
|
|
209
|
-
/** @type {__VLS_StyleScopedClasses['justify-center']} */ ;
|
|
210
|
-
/** @type {__VLS_StyleScopedClasses['px-5']} */ ;
|
|
211
|
-
/** @type {__VLS_StyleScopedClasses['mb-2']} */ ;
|
|
212
|
-
/** @type {__VLS_StyleScopedClasses['text-3xl']} */ ;
|
|
213
|
-
/** @type {__VLS_StyleScopedClasses['md:text-3xl']} */ ;
|
|
214
|
-
/** @type {__VLS_StyleScopedClasses['text-chat-haze-800']} */ ;
|
|
215
|
-
/** @type {__VLS_StyleScopedClasses['font-bold']} */ ;
|
|
216
|
-
/** @type {__VLS_StyleScopedClasses['text-center']} */ ;
|
|
217
|
-
/** @type {__VLS_StyleScopedClasses['italic']} */ ;
|
|
218
|
-
/** @type {__VLS_StyleScopedClasses['text-lg']} */ ;
|
|
219
|
-
/** @type {__VLS_StyleScopedClasses['text-center']} */ ;
|
|
220
|
-
/** @type {__VLS_StyleScopedClasses['text-xl']} */ ;
|
|
221
|
-
/** @type {__VLS_StyleScopedClasses['text-left']} */ ;
|
|
222
|
-
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
223
|
-
/** @type {__VLS_StyleScopedClasses['text-chat-haze-600']} */ ;
|
|
224
|
-
/** @type {__VLS_StyleScopedClasses['mb-2']} */ ;
|
|
225
|
-
/** @type {__VLS_StyleScopedClasses['chat-input']} */ ;
|
|
226
|
-
/** @type {__VLS_StyleScopedClasses['border']} */ ;
|
|
227
|
-
/** @type {__VLS_StyleScopedClasses['border-chat-haze-200']} */ ;
|
|
228
|
-
/** @type {__VLS_StyleScopedClasses['p-2']} */ ;
|
|
229
|
-
/** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
|
|
230
|
-
/** @type {__VLS_StyleScopedClasses['shadow-md']} */ ;
|
|
231
|
-
/** @type {__VLS_StyleScopedClasses['!outline-none']} */ ;
|
|
232
|
-
/** @type {__VLS_StyleScopedClasses['h-8']} */ ;
|
|
233
|
-
/** @type {__VLS_StyleScopedClasses['px-2']} */ ;
|
|
234
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
235
|
-
/** @type {__VLS_StyleScopedClasses['text-xl']} */ ;
|
|
236
|
-
/** @type {__VLS_StyleScopedClasses['text-left']} */ ;
|
|
237
|
-
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
238
|
-
/** @type {__VLS_StyleScopedClasses['text-chat-haze-600']} */ ;
|
|
239
|
-
/** @type {__VLS_StyleScopedClasses['mb-2']} */ ;
|
|
240
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
241
|
-
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
242
|
-
/** @type {__VLS_StyleScopedClasses['gap-2']} */ ;
|
|
243
|
-
/** @type {__VLS_StyleScopedClasses['chat-input']} */ ;
|
|
244
|
-
/** @type {__VLS_StyleScopedClasses['border']} */ ;
|
|
245
|
-
/** @type {__VLS_StyleScopedClasses['border-chat-haze-200']} */ ;
|
|
246
|
-
/** @type {__VLS_StyleScopedClasses['p-2']} */ ;
|
|
247
|
-
/** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
|
|
248
|
-
/** @type {__VLS_StyleScopedClasses['shadow-md']} */ ;
|
|
249
|
-
/** @type {__VLS_StyleScopedClasses['relative']} */ ;
|
|
250
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
251
|
-
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
252
|
-
/** @type {__VLS_StyleScopedClasses['gap-1']} */ ;
|
|
253
|
-
/** @type {__VLS_StyleScopedClasses['px-2']} */ ;
|
|
254
|
-
/** @type {__VLS_StyleScopedClasses['py-1']} */ ;
|
|
255
|
-
/** @type {__VLS_StyleScopedClasses['rounded-lg']} */ ;
|
|
256
|
-
/** @type {__VLS_StyleScopedClasses['hover:bg-gray-100']} */ ;
|
|
257
|
-
/** @type {__VLS_StyleScopedClasses['text-sm']} */ ;
|
|
258
|
-
/** @type {__VLS_StyleScopedClasses['text-chat-haze-700']} */ ;
|
|
259
|
-
/** @type {__VLS_StyleScopedClasses['w-4']} */ ;
|
|
260
|
-
/** @type {__VLS_StyleScopedClasses['h-4']} */ ;
|
|
261
|
-
/** @type {__VLS_StyleScopedClasses['text-chat-haze-500']} */ ;
|
|
262
|
-
/** @type {__VLS_StyleScopedClasses['!outline-none']} */ ;
|
|
263
|
-
/** @type {__VLS_StyleScopedClasses['italic']} */ ;
|
|
264
|
-
/** @type {__VLS_StyleScopedClasses['text-base']} */ ;
|
|
265
|
-
/** @type {__VLS_StyleScopedClasses['text-chat-haze-500']} */ ;
|
|
266
|
-
/** @type {__VLS_StyleScopedClasses['relative']} */ ;
|
|
267
|
-
/** @type {__VLS_StyleScopedClasses['text-chat-error']} */ ;
|
|
268
|
-
/** @type {__VLS_StyleScopedClasses['absolute']} */ ;
|
|
269
|
-
/** @type {__VLS_StyleScopedClasses['-top-4']} */ ;
|
|
270
|
-
/** @type {__VLS_StyleScopedClasses['left-0']} */ ;
|
|
271
|
-
/** @type {__VLS_StyleScopedClasses['flex-center']} */ ;
|
|
272
|
-
/** @type {__VLS_StyleScopedClasses['mt-2']} */ ;
|
|
273
|
-
/** @type {__VLS_StyleScopedClasses['w-[230px]']} */ ;
|
|
274
|
-
/** @type {__VLS_StyleScopedClasses['h-12']} */ ;
|
|
275
|
-
/** @type {__VLS_StyleScopedClasses['font-medium']} */ ;
|
|
276
|
-
const __VLS_export = (await import('vue')).defineComponent({});
|
|
277
|
-
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,33 +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: "mx-auto w-full h-full max-w-[700px] flex flex-col gap-4 justify-center items-center px-5" },
|
|
9
|
-
});
|
|
10
|
-
__VLS_asFunctionalElement(__VLS_elements.img)({
|
|
11
|
-
...{ class: "w-[130px] h-auto" },
|
|
12
|
-
src: "../../../assets/images/success.png",
|
|
13
|
-
});
|
|
14
|
-
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
|
|
15
|
-
...{ class: "font-semibold text-center text-2xl" },
|
|
16
|
-
});
|
|
17
|
-
/** @type {__VLS_StyleScopedClasses['mx-auto']} */ ;
|
|
18
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
19
|
-
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
20
|
-
/** @type {__VLS_StyleScopedClasses['max-w-[700px]']} */ ;
|
|
21
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
22
|
-
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
23
|
-
/** @type {__VLS_StyleScopedClasses['gap-4']} */ ;
|
|
24
|
-
/** @type {__VLS_StyleScopedClasses['justify-center']} */ ;
|
|
25
|
-
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
26
|
-
/** @type {__VLS_StyleScopedClasses['px-5']} */ ;
|
|
27
|
-
/** @type {__VLS_StyleScopedClasses['w-[130px]']} */ ;
|
|
28
|
-
/** @type {__VLS_StyleScopedClasses['h-auto']} */ ;
|
|
29
|
-
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
30
|
-
/** @type {__VLS_StyleScopedClasses['text-center']} */ ;
|
|
31
|
-
/** @type {__VLS_StyleScopedClasses['text-2xl']} */ ;
|
|
32
|
-
const __VLS_export = (await import('vue')).defineComponent({});
|
|
33
|
-
export default {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
type Props = {
|
|
2
|
-
top?: boolean;
|
|
3
|
-
bottom?: boolean;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
};
|
|
6
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
7
|
-
hideLoading: () => void;
|
|
8
|
-
fixedScroll: () => void;
|
|
9
|
-
canScroll: () => boolean;
|
|
10
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
-
getDataBottom: () => any;
|
|
12
|
-
getDataTop: () => any;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
-
onGetDataBottom?: (() => any) | undefined;
|
|
15
|
-
onGetDataTop?: (() => 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
|
-
};
|