@phonghq/go-chat 1.0.72 → 1.0.74
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/assets/icons/call/IconClock.vue.d.ts +2 -0
- package/dist/assets/icons/call/IconClock.vue.js +22 -0
- package/dist/assets/icons/call/IconClose.vue.d.ts +2 -0
- package/dist/assets/icons/call/IconClose.vue.js +26 -0
- package/dist/assets/icons/call/IconMic.vue.d.ts +14 -0
- package/dist/assets/icons/call/IconMic.vue.js +123 -0
- package/dist/assets/icons/call/IconPhone.vue.d.ts +2 -0
- package/dist/assets/icons/call/IconPhone.vue.js +22 -0
- package/dist/assets/icons/call/IconPhoneCancel.vue.d.ts +14 -0
- package/dist/assets/icons/call/IconPhoneCancel.vue.js +46 -0
- package/dist/assets/icons/call/IconSoundDownload.vue.d.ts +2 -0
- package/dist/assets/icons/call/IconSoundDownload.vue.js +50 -0
- package/dist/assets/icons/call/IconSpeaker.vue.d.ts +14 -0
- package/dist/assets/icons/call/IconSpeaker.vue.js +62 -0
- package/dist/assets/icons/chat/IconCalendar.vue.d.ts +14 -0
- package/dist/assets/icons/chat/IconCalendar.vue.js +42 -0
- package/dist/assets/icons/chat/IconCheck.vue.d.ts +2 -0
- package/dist/assets/icons/chat/IconCheck.vue.js +22 -0
- package/dist/assets/icons/chat/IconInfo.vue.d.ts +2 -0
- package/dist/assets/icons/chat/IconInfo.vue.js +20 -0
- package/dist/assets/icons/chat/IconLink.vue.d.ts +14 -0
- package/dist/assets/icons/chat/IconLink.vue.js +42 -0
- package/dist/assets/icons/chat/IconMenuDot.vue.d.ts +2 -0
- package/dist/assets/icons/chat/IconMenuDot.vue.js +31 -0
- package/dist/assets/icons/customer-appointment/IconChevronRight.vue.d.ts +2 -0
- package/dist/assets/icons/customer-appointment/IconChevronRight.vue.js +22 -0
- package/dist/assets/icons/customer-appointment/IconFilter.vue.d.ts +2 -0
- package/dist/assets/icons/customer-appointment/IconFilter.vue.js +53 -0
- package/dist/assets/icons/customer-detail/IconArrow.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconArrow.vue.js +22 -0
- package/dist/assets/icons/customer-detail/IconCheck.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconCheck.vue.js +27 -0
- package/dist/assets/icons/customer-detail/IconDate.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconDate.vue.js +43 -0
- package/dist/assets/icons/customer-detail/IconGroup.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconGroup.vue.js +48 -0
- package/dist/assets/icons/customer-detail/IconMessage.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconMessage.vue.js +28 -0
- package/dist/assets/icons/customer-detail/IconNote.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconNote.vue.js +29 -0
- package/dist/assets/icons/customer-detail/IconPhone.vue.d.ts +14 -0
- package/dist/assets/icons/customer-detail/IconPhone.vue.js +41 -0
- package/dist/assets/icons/customer-detail/IconPin.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconPin.vue.js +29 -0
- package/dist/assets/icons/customer-detail/IconSearch.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconSearch.vue.js +29 -0
- package/dist/assets/icons/global/IconAiCheck.vue.d.ts +2 -0
- package/dist/assets/icons/global/IconAiCheck.vue.js +28 -0
- package/dist/assets/icons/global/IconArrowLeft.vue.d.ts +2 -0
- package/dist/assets/icons/global/IconArrowLeft.vue.js +29 -0
- package/dist/assets/icons/global/IconBackspace.vue.d.ts +2 -0
- package/dist/assets/icons/global/IconBackspace.vue.js +28 -0
- package/dist/assets/icons/global/IconCloseCircle.vue.d.ts +2 -0
- package/dist/assets/icons/global/IconCloseCircle.vue.js +36 -0
- package/dist/assets/icons/global/IconMessageOutline.vue.d.ts +2 -0
- package/dist/assets/icons/global/IconMessageOutline.vue.js +22 -0
- package/dist/assets/icons/global/IconPhone.vue.d.ts +2 -0
- package/dist/assets/icons/global/IconPhone.vue.js +19 -0
- package/dist/assets/icons/global/IconPlan.vue.d.ts +14 -0
- package/dist/assets/icons/global/IconPlan.vue.js +39 -0
- package/dist/assets/icons/global/IconPlus.vue.d.ts +2 -0
- package/dist/assets/icons/global/IconPlus.vue.js +22 -0
- package/dist/assets/icons/global/IconSearch.vue.d.ts +32 -0
- package/dist/assets/icons/global/IconSearch.vue.js +68 -0
- package/dist/assets/icons/global/IconSms.vue.d.ts +2 -0
- package/dist/assets/icons/global/IconSms.vue.js +22 -0
- package/dist/assets/icons/global/IconUser.vue.d.ts +2 -0
- package/dist/assets/icons/global/IconUser.vue.js +25 -0
- package/dist/assets/icons/lib/IconZoomOut.vue.d.ts +5 -0
- package/dist/assets/icons/lib/IconZoomOut.vue.js +52 -0
- package/dist/chat/App.vue.d.ts +26 -0
- package/dist/chat/App.vue.js +928 -0
- package/dist/chat/ChatHeader.vue.d.ts +15 -0
- package/dist/chat/ChatHeader.vue.js +218 -0
- package/dist/chat/main.d.ts +7 -0
- package/dist/chat/main.js +7 -0
- package/dist/chat/page/customer-appointment/CustomerAppointment.vue.d.ts +9 -0
- package/dist/chat/page/customer-appointment/CustomerAppointment.vue.js +262 -0
- package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.d.ts +12 -0
- package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.js +80 -0
- package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.d.ts +2 -0
- package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.js +138 -0
- package/dist/chat/page/customer-detail/CustomerDetail.vue.d.ts +7 -0
- package/dist/chat/page/customer-detail/CustomerDetail.vue.js +234 -0
- package/dist/chat/page/customer-detail/SubInformation.vue.d.ts +16 -0
- package/dist/chat/page/customer-detail/SubInformation.vue.js +134 -0
- package/dist/chat/page/error/Error.vue.d.ts +2 -0
- package/dist/chat/page/error/Error.vue.js +64 -0
- package/dist/chat/page/home/ChatList.vue.d.ts +104 -0
- package/dist/chat/page/home/ChatList.vue.js +654 -0
- package/dist/chat/page/home/ChatMessage.vue.d.ts +21 -0
- package/dist/chat/page/home/ChatMessage.vue.js +210 -0
- package/dist/chat/page/home/ChatMessageItem.vue.d.ts +20 -0
- package/dist/chat/page/home/ChatMessageItem.vue.js +397 -0
- package/dist/chat/page/home/ChatMessageItem2.vue.d.ts +19 -0
- package/dist/chat/page/home/ChatMessageItem2.vue.js +351 -0
- package/dist/chat/page/home/DropZone.vue.d.ts +13 -0
- package/dist/chat/page/home/DropZone.vue.js +130 -0
- package/dist/chat/page/home/Home.vue.d.ts +29 -0
- package/dist/chat/page/home/Home.vue.js +472 -0
- package/dist/chat/page/home/HomeHeader.vue.d.ts +18 -0
- package/dist/chat/page/home/HomeHeader.vue.js +514 -0
- package/dist/chat/page/home/InputChat.vue.d.ts +27 -0
- package/dist/chat/page/home/InputChat.vue.js +412 -0
- package/dist/chat/page/home/NewCustomer.vue.d.ts +7 -0
- package/dist/chat/page/home/NewCustomer.vue.js +83 -0
- package/dist/chat/page/home/PhoneNumpad.vue.d.ts +22 -0
- package/dist/chat/page/home/PhoneNumpad.vue.js +161 -0
- package/dist/chat/page/setting/Setting.vue.d.ts +2 -0
- package/dist/chat/page/setting/Setting.vue.js +277 -0
- package/dist/chat/page/setting/SettingSuccess.vue.d.ts +2 -0
- package/dist/chat/page/setting/SettingSuccess.vue.js +33 -0
- package/dist/components/chat/ScrollEvent/ScrollEvent.vue.d.ts +24 -0
- package/dist/components/chat/ScrollEvent/ScrollEvent.vue.js +207 -0
- package/dist/components/chat/call/Calling.vue.d.ts +17 -0
- package/dist/components/chat/call/Calling.vue.js +594 -0
- package/dist/components/chat/call/TimeLeft.vue.d.ts +5 -0
- package/dist/components/chat/call/TimeLeft.vue.js +59 -0
- package/dist/components/chat/card/CardCustomerDetail.vue.d.ts +13 -0
- package/dist/components/chat/card/CardCustomerDetail.vue.js +28 -0
- package/dist/components/chat/common/collapse/CollapseBase.vue.d.ts +20 -0
- package/dist/components/chat/common/collapse/CollapseBase.vue.js +59 -0
- package/dist/components/chat/common/input/InputSearch.vue.d.ts +16 -0
- package/dist/components/chat/common/input/InputSearch.vue.js +71 -0
- package/dist/components/chat/common/modal/Modal.vue.d.ts +94 -0
- package/dist/components/chat/common/modal/Modal.vue.js +260 -0
- package/dist/components/chat/common/popover/PopoverBase.vue.d.ts +35 -0
- package/dist/components/chat/common/popover/PopoverBase.vue.js +148 -0
- package/dist/components/chat/common/spin/BaseSpin.vue.d.ts +10 -0
- package/dist/components/chat/common/spin/BaseSpin.vue.js +43 -0
- package/dist/components/chat/common/switch/SwitchBase.vue.d.ts +17 -0
- package/dist/components/chat/common/switch/SwitchBase.vue.js +76 -0
- package/dist/components/chat/common/tab/TabBase.vue.d.ts +30 -0
- package/dist/components/chat/common/tab/TabBase.vue.js +86 -0
- package/dist/components/chat/common/tabs/TabBase.vue.d.ts +18 -0
- package/dist/components/chat/common/tabs/TabBase.vue.js +93 -0
- package/dist/components/chat/customer/Avatar.vue.d.ts +12 -0
- package/dist/components/chat/customer/Avatar.vue.js +127 -0
- package/dist/components/chat/layout/mobile/Footer.vue.d.ts +2 -0
- package/dist/components/chat/layout/mobile/Footer.vue.js +114 -0
- package/dist/components/chat/select/SelectBase.vue.d.ts +24 -0
- package/dist/components/chat/select/SelectBase.vue.js +105 -0
- package/dist/components/common/CustomLoading.vue.d.ts +2 -0
- package/dist/components/common/CustomLoading.vue.js +19 -0
- package/dist/components/common/Notification/NotificationDescription.vue.d.ts +7 -0
- package/dist/components/common/Notification/NotificationDescription.vue.js +38 -0
- package/dist/components/common/button/ButtonBase.vue.d.ts +22 -0
- package/dist/components/common/button/ButtonBase.vue.js +78 -0
- package/dist/components/common/button/ButtonToggle.vue.d.ts +20 -0
- package/dist/components/common/button/ButtonToggle.vue.js +70 -0
- package/dist/components/common/checkbox/CCheckboxNumber.vue.d.ts +16 -0
- package/dist/components/common/checkbox/CCheckboxNumber.vue.js +48 -0
- package/dist/components/common/collapse/BaseCollapse.vue.d.ts +12 -0
- package/dist/components/common/collapse/BaseCollapse.vue.js +36 -0
- package/dist/components/common/collapse/BaseCollapseItem.vue.d.ts +4 -0
- package/dist/components/common/collapse/BaseCollapseItem.vue.js +22 -0
- package/dist/components/common/drawer/DrawerBase.vue.d.ts +39 -0
- package/dist/components/common/drawer/DrawerBase.vue.js +126 -0
- package/dist/components/common/drawer/DrawerBaseCustom.vue.d.ts +33 -0
- package/dist/components/common/drawer/DrawerBaseCustom.vue.js +135 -0
- package/dist/components/common/dropdown/DropdownBase.vue.d.ts +21 -0
- package/dist/components/common/dropdown/DropdownBase.vue.js +93 -0
- package/dist/components/common/input/CInputSearch.vue.d.ts +14 -0
- package/dist/components/common/input/CInputSearch.vue.js +62 -0
- package/dist/components/common/modal/ModalBase.vue.d.ts +35 -0
- package/dist/components/common/modal/ModalBase.vue.js +187 -0
- package/dist/components/common/popover/PopoverBase.vue.d.ts +3 -0
- package/dist/components/common/popover/PopoverBase.vue.js +36 -0
- package/dist/components/common/select/SelectBase.vue.d.ts +33 -0
- package/dist/components/common/select/SelectBase.vue.js +120 -0
- package/dist/components/common/slider/BaseSlider.vue.d.ts +11 -0
- package/dist/components/common/slider/BaseSlider.vue.js +70 -0
- package/dist/components/common/spin/CSpin.vue.d.ts +9 -0
- package/dist/components/common/spin/CSpin.vue.js +41 -0
- package/dist/components/common/tooltip/TooltipBase.vue.d.ts +2 -0
- package/dist/components/common/tooltip/TooltipBase.vue.js +8 -0
- package/dist/components/layout/PageError.vue.d.ts +2 -0
- package/dist/components/layout/PageError.vue.js +91 -0
- package/dist/components/ui/button/CButton.vue.d.ts +19 -0
- package/dist/components/ui/button/CButton.vue.js +49 -0
- package/dist/components/ui/button/c-button.d.ts +7 -0
- package/dist/components/ui/button/c-button.js +26 -0
- package/dist/components/ui/checkbox/Checkbox.vue.d.ts +18 -0
- package/dist/components/ui/checkbox/Checkbox.vue.js +79 -0
- package/dist/components/ui/checkbox/index.d.ts +1 -0
- package/dist/components/ui/checkbox/index.js +1 -0
- package/dist/components/ui/collapsible/Collapsible.vue.d.ts +16 -0
- package/dist/components/ui/collapsible/Collapsible.vue.js +47 -0
- package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +10 -0
- package/dist/components/ui/collapsible/CollapsibleContent.vue.js +41 -0
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +10 -0
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.js +35 -0
- package/dist/components/ui/collapsible/index.d.ts +3 -0
- package/dist/components/ui/collapsible/index.js +3 -0
- package/dist/components/ui/dialog/Dialog.vue.d.ts +14 -0
- package/dist/components/ui/dialog/Dialog.vue.js +42 -0
- package/dist/components/ui/dialog/DialogClose.vue.d.ts +10 -0
- package/dist/components/ui/dialog/DialogClose.vue.js +35 -0
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +29 -0
- package/dist/components/ui/dialog/DialogContent.vue.js +84 -0
- package/dist/components/ui/dialog/DialogDescription.vue.d.ts +14 -0
- package/dist/components/ui/dialog/DialogDescription.vue.js +43 -0
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +13 -0
- package/dist/components/ui/dialog/DialogFooter.vue.js +26 -0
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts +13 -0
- package/dist/components/ui/dialog/DialogHeader.vue.js +26 -0
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +30 -0
- package/dist/components/ui/dialog/DialogScrollContent.vue.js +99 -0
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts +14 -0
- package/dist/components/ui/dialog/DialogTitle.vue.js +43 -0
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +10 -0
- package/dist/components/ui/dialog/DialogTrigger.vue.js +35 -0
- package/dist/components/ui/dialog/index.d.ts +9 -0
- package/dist/components/ui/dialog/index.js +9 -0
- package/dist/components/ui/drawer/Drawer.vue.d.ts +26 -0
- package/dist/components/ui/drawer/Drawer.vue.js +48 -0
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +33 -0
- package/dist/components/ui/drawer/DrawerContent.vue.js +81 -0
- package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +14 -0
- package/dist/components/ui/drawer/DrawerDescription.vue.js +42 -0
- package/dist/components/ui/drawer/DrawerFooter.vue.d.ts +13 -0
- package/dist/components/ui/drawer/DrawerFooter.vue.js +26 -0
- package/dist/components/ui/drawer/DrawerHeader.vue.d.ts +13 -0
- package/dist/components/ui/drawer/DrawerHeader.vue.js +26 -0
- package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
- package/dist/components/ui/drawer/DrawerOverlay.vue.js +37 -0
- package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +14 -0
- package/dist/components/ui/drawer/DrawerTitle.vue.js +42 -0
- package/dist/components/ui/drawer/index.d.ts +8 -0
- package/dist/components/ui/drawer/index.js +8 -0
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +14 -0
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.js +41 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +20 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.js +79 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +28 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.js +66 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +10 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.js +35 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +15 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.js +43 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +15 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.js +43 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +14 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.js +41 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.js +80 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.js +37 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +13 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.js +26 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +14 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.js +41 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +30 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.js +46 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +14 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.js +58 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +10 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.js +41 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/components/ui/dropdown-menu/index.js +15 -0
- package/dist/components/ui/popover/Popover.vue.d.ts +14 -0
- package/dist/components/ui/popover/Popover.vue.js +41 -0
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +28 -0
- package/dist/components/ui/popover/PopoverContent.vue.js +60 -0
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +10 -0
- package/dist/components/ui/popover/PopoverTrigger.vue.js +35 -0
- package/dist/components/ui/popover/index.d.ts +3 -0
- package/dist/components/ui/popover/index.js +3 -0
- package/dist/components/ui/radio-group/RadioGroup.vue.d.ts +18 -0
- package/dist/components/ui/radio-group/RadioGroup.vue.js +46 -0
- package/dist/components/ui/radio-group/RadioGroupItem.vue.d.ts +7 -0
- package/dist/components/ui/radio-group/RadioGroupItem.vue.js +71 -0
- package/dist/components/ui/radio-group/index.d.ts +2 -0
- package/dist/components/ui/radio-group/index.js +2 -0
- package/dist/components/ui/select/Select.vue.d.ts +20 -0
- package/dist/components/ui/select/Select.vue.js +49 -0
- package/dist/components/ui/select/SelectContent.vue.d.ts +24 -0
- package/dist/components/ui/select/SelectContent.vue.js +103 -0
- package/dist/components/ui/select/SelectGroup.vue.d.ts +10 -0
- package/dist/components/ui/select/SelectGroup.vue.js +37 -0
- package/dist/components/ui/select/SelectItem.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectItem.vue.js +73 -0
- package/dist/components/ui/select/SelectItemText.vue.d.ts +10 -0
- package/dist/components/ui/select/SelectItemText.vue.js +37 -0
- package/dist/components/ui/select/SelectLabel.vue.d.ts +14 -0
- package/dist/components/ui/select/SelectLabel.vue.js +40 -0
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +14 -0
- package/dist/components/ui/select/SelectScrollDownButton.vue.js +58 -0
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +14 -0
- package/dist/components/ui/select/SelectScrollUpButton.vue.js +58 -0
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
- package/dist/components/ui/select/SelectSeparator.vue.js +39 -0
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +17 -0
- package/dist/components/ui/select/SelectTrigger.vue.js +49 -0
- package/dist/components/ui/select/SelectValue.vue.d.ts +10 -0
- package/dist/components/ui/select/SelectValue.vue.js +37 -0
- package/dist/components/ui/select/index.d.ts +11 -0
- package/dist/components/ui/select/index.js +11 -0
- package/dist/components/ui/slider/Slider.vue.d.ts +13 -0
- package/dist/components/ui/slider/Slider.vue.js +155 -0
- package/dist/components/ui/slider/index.d.ts +1 -0
- package/dist/components/ui/slider/index.js +1 -0
- package/dist/components/ui/switch/Switch.vue.d.ts +18 -0
- package/dist/components/ui/switch/Switch.vue.js +61 -0
- package/dist/components/ui/switch/index.d.ts +1 -0
- package/dist/components/ui/switch/index.js +1 -0
- package/dist/components/ui/tabs/Tabs.vue.d.ts +20 -0
- package/dist/components/ui/tabs/Tabs.vue.js +54 -0
- package/dist/components/ui/tabs/TabsContent.vue.d.ts +14 -0
- package/dist/components/ui/tabs/TabsContent.vue.js +44 -0
- package/dist/components/ui/tabs/TabsList.vue.d.ts +14 -0
- package/dist/components/ui/tabs/TabsList.vue.js +44 -0
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +14 -0
- package/dist/components/ui/tabs/TabsTrigger.vue.js +45 -0
- package/dist/components/ui/tabs/index.d.ts +4 -0
- package/dist/components/ui/tabs/index.js +4 -0
- package/dist/composable/useDigibot.d.ts +7 -0
- package/dist/composable/useDigibot.js +23 -0
- package/dist/composable/useInitData.d.ts +12 -0
- package/dist/composable/useInitData.js +101 -0
- package/dist/composable/useListConversations.d.ts +59 -0
- package/dist/composable/useListConversations.js +220 -0
- package/dist/composable/useListentEvent.d.ts +5 -0
- package/dist/composable/useListentEvent.js +69 -0
- package/dist/composable/usePlivo.d.ts +15 -0
- package/dist/composable/usePlivo.js +201 -0
- package/dist/constant/color.d.ts +22 -0
- package/dist/constant/color.js +47 -0
- package/dist/constant/datetime.d.ts +7 -0
- package/dist/constant/datetime.js +7 -0
- package/dist/constant/general.d.ts +11 -0
- package/dist/constant/general.js +12 -0
- package/dist/constant/message.d.ts +8 -0
- package/dist/constant/message.js +8 -0
- package/dist/constant/mqtt.d.ts +7 -0
- package/dist/constant/mqtt.js +18 -0
- package/dist/constant/user.d.ts +8 -0
- package/dist/constant/user.js +9 -0
- package/dist/go-chat.es.js +18766 -17073
- package/dist/go-chat.umd.js +23 -23
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.js +5 -0
- package/dist/plugins/axios-gci.d.ts +3 -0
- package/dist/plugins/axios-gci.js +25 -0
- package/dist/plugins/axios.d.ts +3 -0
- package/dist/plugins/axios.js +84 -0
- package/dist/plugins/mqtt.d.ts +8 -0
- package/dist/plugins/mqtt.js +189 -0
- package/dist/plugins/pocketbase.d.ts +5 -0
- package/dist/plugins/pocketbase.js +15 -0
- package/dist/plugins/sdk.d.ts +18 -0
- package/dist/plugins/sdk.js +73 -0
- package/dist/plugins/websocket.d.ts +15 -0
- package/dist/plugins/websocket.js +151 -0
- package/dist/style.css +1 -1
- package/dist/types/chat/auth.d.ts +41 -0
- package/dist/types/chat/auth.js +1 -0
- package/dist/types/chat/call.d.ts +19 -0
- package/dist/types/chat/call.js +23 -0
- package/dist/types/chat/global.d.ts +58 -0
- package/dist/types/chat/global.js +1 -0
- package/dist/types/chat/promise.d.ts +17 -0
- package/dist/types/chat/promise.js +1 -0
- package/dist/types/chat/user.d.ts +88 -0
- package/dist/types/chat/user.js +1 -0
- package/dist/types/conversation.d.ts +23 -0
- package/dist/types/conversation.js +1 -0
- package/dist/types/global.d.ts +11 -0
- package/dist/types/global.js +15 -0
- package/dist/types/message.d.ts +52 -0
- package/dist/types/message.js +1 -0
- package/dist/utils/chat/cache.d.ts +7 -0
- package/dist/utils/chat/cache.js +63 -0
- package/dist/utils/chat/chat-router.d.ts +5 -0
- package/dist/utils/chat/chat-router.js +14 -0
- package/dist/utils/chat/page-error.d.ts +4 -0
- package/dist/utils/chat/page-error.js +25 -0
- package/dist/utils/chat/phone-string.d.ts +1 -0
- package/dist/utils/chat/phone-string.js +4 -0
- package/dist/utils/chat/queue.d.ts +7 -0
- package/dist/utils/chat/queue.js +30 -0
- package/dist/utils/chat/store/auth.d.ts +62 -0
- package/dist/utils/chat/store/auth.js +93 -0
- package/dist/utils/chat/store/call.d.ts +15 -0
- package/dist/utils/chat/store/call.js +160 -0
- package/dist/utils/chat/store/conversation.d.ts +14 -0
- package/dist/utils/chat/store/conversation.js +73 -0
- package/dist/utils/chat/store/message.d.ts +27 -0
- package/dist/utils/chat/store/message.js +70 -0
- package/dist/utils/chat/store/time-limit.d.ts +5 -0
- package/dist/utils/chat/store/time-limit.js +8 -0
- package/dist/utils/chat/store/user.d.ts +200 -0
- package/dist/utils/chat/store/user.js +44 -0
- package/dist/utils/dayjs-helper.d.ts +3 -0
- package/dist/utils/dayjs-helper.js +8 -0
- package/dist/utils/debounce.d.ts +1 -0
- package/dist/utils/debounce.js +9 -0
- package/dist/utils/json.d.ts +2 -0
- package/dist/utils/json.js +18 -0
- package/dist/utils/logger.d.ts +3 -0
- package/dist/utils/logger.js +5 -0
- package/dist/utils/string-helper.d.ts +3 -0
- package/dist/utils/string-helper.js +43 -0
- package/dist/views/NotTenantPhone.vue.d.ts +9 -0
- package/dist/views/NotTenantPhone.vue.js +99 -0
- package/dist/views/home/phone-numpad/ConvercationList.vue.d.ts +19 -0
- package/dist/views/home/phone-numpad/ConvercationList.vue.js +177 -0
- package/dist/views/home/phone-numpad/PhoneNumpad.vue.d.ts +32 -0
- package/dist/views/home/phone-numpad/PhoneNumpad.vue.js +403 -0
- package/package.json +1 -1
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import IconPlan from '../../../assets/icons/global/IconPlan.vue';
|
|
3
|
+
import EmojiPicker from 'vue3-emoji-picker';
|
|
4
|
+
import 'vue3-emoji-picker/css';
|
|
5
|
+
import { useDebounce } from '../../../utils/debounce';
|
|
6
|
+
import dayjs from 'dayjs';
|
|
7
|
+
import { DATE_FORMATS, TIME_ZONE_UTC } from '../../../constant/datetime';
|
|
8
|
+
import { dataProfile } from '../../../utils/chat/store/auth';
|
|
9
|
+
import { ref, onMounted, onUnmounted } from 'vue';
|
|
10
|
+
import PopoverBase from '../../../components/chat/common/popover/PopoverBase.vue';
|
|
11
|
+
import IconCloseCircle from '../../../assets/icons/global/IconCloseCircle.vue';
|
|
12
|
+
import DropZone from '../../../chat/page/home/DropZone.vue';
|
|
13
|
+
const props = withDefaults(defineProps(), {});
|
|
14
|
+
const emit = defineEmits();
|
|
15
|
+
const ChatModeOptions = [
|
|
16
|
+
{ value: '0', label: 'Go Chat' },
|
|
17
|
+
{ value: '1', label: 'Go sms' }
|
|
18
|
+
];
|
|
19
|
+
// const modeLabel = computed(() => ChatModeOptions.find((v) => v.value === mode.value)?.label ?? '')
|
|
20
|
+
const keyword = defineModel();
|
|
21
|
+
let chatId = 1;
|
|
22
|
+
let dragCounter = 0;
|
|
23
|
+
onMounted(() => { });
|
|
24
|
+
onUnmounted(() => { });
|
|
25
|
+
const refInputImage = ref(null);
|
|
26
|
+
// const isLoadingImage = ref<any>([])
|
|
27
|
+
const activePlivoSms = ref(false);
|
|
28
|
+
const loading = ref(false);
|
|
29
|
+
const chatInputRef = ref(null);
|
|
30
|
+
const emojiOpen = ref(false);
|
|
31
|
+
// const mode = ref('0')
|
|
32
|
+
const dropFile = ref(null);
|
|
33
|
+
const dropFileLink = ref('');
|
|
34
|
+
const removeDropFile = () => {
|
|
35
|
+
dropFileLink.value = '';
|
|
36
|
+
dropFile.value = null;
|
|
37
|
+
};
|
|
38
|
+
const handleSendMessage = async (type) => {
|
|
39
|
+
const tempId = Date.now();
|
|
40
|
+
let messageContent = '';
|
|
41
|
+
let attachments = [];
|
|
42
|
+
if (dropFile.value) {
|
|
43
|
+
attachments = [
|
|
44
|
+
{ file_name: String(tempId), file_path: dropFileLink.value, file_local: dropFile.value }
|
|
45
|
+
];
|
|
46
|
+
}
|
|
47
|
+
else if (type == 'message') {
|
|
48
|
+
if (!keyword.value)
|
|
49
|
+
return;
|
|
50
|
+
messageContent = keyword.value;
|
|
51
|
+
keyword.value = '';
|
|
52
|
+
setInputHeight(chatInputRef.value);
|
|
53
|
+
}
|
|
54
|
+
else if (type == 'file') {
|
|
55
|
+
const file = uploadImage();
|
|
56
|
+
if (!file)
|
|
57
|
+
return;
|
|
58
|
+
const file_path = URL.createObjectURL(file);
|
|
59
|
+
attachments = [{ file_name: String(tempId), file_path, file_local: file }];
|
|
60
|
+
}
|
|
61
|
+
clearInput();
|
|
62
|
+
chatId++;
|
|
63
|
+
const id = props.data?.id.toString() + '-' + chatId + '-' + Date.now();
|
|
64
|
+
const data = {
|
|
65
|
+
conversation_id: props.conversation?.id,
|
|
66
|
+
created_at: dayjs().tz(TIME_ZONE_UTC).format(DATE_FORMATS['DATE_FORMAT_FULL']),
|
|
67
|
+
id,
|
|
68
|
+
local_id: id,
|
|
69
|
+
message: messageContent,
|
|
70
|
+
receiver_id: props.data?.id || 0,
|
|
71
|
+
sender_id: dataProfile.value?.id,
|
|
72
|
+
status: 'read',
|
|
73
|
+
attachments: attachments,
|
|
74
|
+
is_sms: dataProfile.value?.is_sms_active
|
|
75
|
+
};
|
|
76
|
+
emit('sendMessage', data);
|
|
77
|
+
};
|
|
78
|
+
const uploadImage = () => {
|
|
79
|
+
if (!refInputImage.value ||
|
|
80
|
+
!refInputImage.value.files ||
|
|
81
|
+
refInputImage.value.files.length === 0) {
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
return refInputImage.value.files[0];
|
|
85
|
+
};
|
|
86
|
+
const handleFileUpload = () => {
|
|
87
|
+
handleSendMessage('file');
|
|
88
|
+
};
|
|
89
|
+
const onSelectEmoji = (value) => {
|
|
90
|
+
keyword.value = (keyword.value ?? '') + (value?.i?.replace('undefined', '') ?? '');
|
|
91
|
+
// emojiOpen.value = false
|
|
92
|
+
// chatInputRef.value?.focus?.()
|
|
93
|
+
};
|
|
94
|
+
const setInputHeight = (e) => {
|
|
95
|
+
const el = chatInputRef.value;
|
|
96
|
+
el.style.height = 'auto';
|
|
97
|
+
if (keyword.value?.replace(/\s+/g, '') == '') {
|
|
98
|
+
el.style.height = 42 + 'px';
|
|
99
|
+
keyword.value = '';
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
el.style.height = el.scrollHeight + 'px';
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
const handleSetInputHeight = useDebounce((e) => {
|
|
106
|
+
setInputHeight(e);
|
|
107
|
+
}, 200);
|
|
108
|
+
const handleInput = () => {
|
|
109
|
+
if (props.responsive == 'mobile') {
|
|
110
|
+
}
|
|
111
|
+
emit('focus');
|
|
112
|
+
};
|
|
113
|
+
const clearInput = () => {
|
|
114
|
+
keyword.value = '';
|
|
115
|
+
removeDropFile();
|
|
116
|
+
};
|
|
117
|
+
const newline = () => { };
|
|
118
|
+
const __VLS_exposed = { clearInput };
|
|
119
|
+
defineExpose(__VLS_exposed);
|
|
120
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
121
|
+
const __VLS_modelEmit = defineEmits();
|
|
122
|
+
const __VLS_defaults = {};
|
|
123
|
+
const __VLS_ctx = {
|
|
124
|
+
...{},
|
|
125
|
+
...{},
|
|
126
|
+
...{},
|
|
127
|
+
...{},
|
|
128
|
+
...{},
|
|
129
|
+
};
|
|
130
|
+
let __VLS_elements;
|
|
131
|
+
let __VLS_components;
|
|
132
|
+
let __VLS_directives;
|
|
133
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
134
|
+
...{ class: "z-10 layout-shadow border-t border-chat-gray-5" },
|
|
135
|
+
});
|
|
136
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
137
|
+
...{ class: "flex gap-2 items-end h-max" },
|
|
138
|
+
});
|
|
139
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
140
|
+
...{ class: "relative grow" },
|
|
141
|
+
});
|
|
142
|
+
if (__VLS_ctx.dropFileLink) {
|
|
143
|
+
// @ts-ignore
|
|
144
|
+
[dropFileLink,];
|
|
145
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
146
|
+
...{ class: "border border-chat-haze-200 rounded-xl p-4" },
|
|
147
|
+
});
|
|
148
|
+
__VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
|
|
149
|
+
...{ onClick: (...[$event]) => {
|
|
150
|
+
if (!(__VLS_ctx.dropFileLink))
|
|
151
|
+
return;
|
|
152
|
+
__VLS_ctx.removeDropFile();
|
|
153
|
+
// @ts-ignore
|
|
154
|
+
[removeDropFile,];
|
|
155
|
+
} },
|
|
156
|
+
...{ class: "absolute top-4 right-4" },
|
|
157
|
+
});
|
|
158
|
+
/** @type {[typeof IconCloseCircle, ]} */ ;
|
|
159
|
+
// @ts-ignore
|
|
160
|
+
const __VLS_0 = __VLS_asFunctionalComponent(IconCloseCircle, new IconCloseCircle({}));
|
|
161
|
+
const __VLS_1 = __VLS_0({}, ...__VLS_functionalComponentArgsRest(__VLS_0));
|
|
162
|
+
__VLS_asFunctionalElement(__VLS_elements.img)({
|
|
163
|
+
...{ class: "max-h-[150px] w-auto" },
|
|
164
|
+
src: (__VLS_ctx.dropFileLink),
|
|
165
|
+
});
|
|
166
|
+
// @ts-ignore
|
|
167
|
+
[dropFileLink,];
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
__VLS_asFunctionalElement(__VLS_elements.textarea)({
|
|
171
|
+
...{ onKeydown: (...[$event]) => {
|
|
172
|
+
if (!!(__VLS_ctx.dropFileLink))
|
|
173
|
+
return;
|
|
174
|
+
__VLS_ctx.handleSendMessage('message');
|
|
175
|
+
// @ts-ignore
|
|
176
|
+
[handleSendMessage,];
|
|
177
|
+
} },
|
|
178
|
+
...{ onKeydown: (__VLS_ctx.newline) },
|
|
179
|
+
...{ onFocus: (...[$event]) => {
|
|
180
|
+
if (!!(__VLS_ctx.dropFileLink))
|
|
181
|
+
return;
|
|
182
|
+
__VLS_ctx.handleInput();
|
|
183
|
+
// @ts-ignore
|
|
184
|
+
[newline, handleInput,];
|
|
185
|
+
} },
|
|
186
|
+
...{ onInput: (...[$event]) => {
|
|
187
|
+
if (!!(__VLS_ctx.dropFileLink))
|
|
188
|
+
return;
|
|
189
|
+
__VLS_ctx.setInputHeight($event);
|
|
190
|
+
// @ts-ignore
|
|
191
|
+
[setInputHeight,];
|
|
192
|
+
} },
|
|
193
|
+
...{ class: "text-[14px] sm:text-base w-full min-h-11 overflow-hidden chat-input !rounded-xl px-4 py-2 border border-chat-haze-200 leading-[24px]" },
|
|
194
|
+
ref: "chatInputRef",
|
|
195
|
+
rows: "1",
|
|
196
|
+
placeholder: "Send Message",
|
|
197
|
+
value: (__VLS_ctx.keyword),
|
|
198
|
+
});
|
|
199
|
+
/** @type {typeof __VLS_ctx.chatInputRef} */ ;
|
|
200
|
+
// @ts-ignore
|
|
201
|
+
[keyword, chatInputRef,];
|
|
202
|
+
}
|
|
203
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
204
|
+
...{ class: "flex gap-2 -translate-y-2" },
|
|
205
|
+
});
|
|
206
|
+
if (!__VLS_ctx.dataProfile?.is_sms_active && !__VLS_ctx.dropFileLink) {
|
|
207
|
+
// @ts-ignore
|
|
208
|
+
[dropFileLink, dataProfile,];
|
|
209
|
+
/** @type {[typeof PopoverBase, typeof PopoverBase, ]} */ ;
|
|
210
|
+
// @ts-ignore
|
|
211
|
+
const __VLS_4 = __VLS_asFunctionalComponent(PopoverBase, new PopoverBase({
|
|
212
|
+
open: (__VLS_ctx.emojiOpen),
|
|
213
|
+
align: "end",
|
|
214
|
+
side: "top",
|
|
215
|
+
}));
|
|
216
|
+
const __VLS_5 = __VLS_4({
|
|
217
|
+
open: (__VLS_ctx.emojiOpen),
|
|
218
|
+
align: "end",
|
|
219
|
+
side: "top",
|
|
220
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_4));
|
|
221
|
+
const { default: __VLS_7 } = __VLS_6.slots;
|
|
222
|
+
// @ts-ignore
|
|
223
|
+
[emojiOpen,];
|
|
224
|
+
__VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
|
|
225
|
+
...{ onClick: (...[$event]) => {
|
|
226
|
+
if (!(!__VLS_ctx.dataProfile?.is_sms_active && !__VLS_ctx.dropFileLink))
|
|
227
|
+
return;
|
|
228
|
+
__VLS_ctx.emojiOpen = !__VLS_ctx.emojiOpen;
|
|
229
|
+
// @ts-ignore
|
|
230
|
+
[emojiOpen, emojiOpen,];
|
|
231
|
+
} },
|
|
232
|
+
...{ class: "h-11 w-8" },
|
|
233
|
+
});
|
|
234
|
+
{
|
|
235
|
+
const { content: __VLS_8 } = __VLS_6.slots;
|
|
236
|
+
const __VLS_9 = {}.EmojiPicker;
|
|
237
|
+
/** @type {[typeof __VLS_components.EmojiPicker, typeof __VLS_components.emojiPicker, ]} */ ;
|
|
238
|
+
// @ts-ignore
|
|
239
|
+
EmojiPicker;
|
|
240
|
+
// @ts-ignore
|
|
241
|
+
const __VLS_10 = __VLS_asFunctionalComponent(__VLS_9, new __VLS_9({
|
|
242
|
+
...{ 'onSelect': {} },
|
|
243
|
+
...{ class: "!w-[300px]" },
|
|
244
|
+
native: (true),
|
|
245
|
+
offset: (2),
|
|
246
|
+
hideSearch: true,
|
|
247
|
+
}));
|
|
248
|
+
const __VLS_11 = __VLS_10({
|
|
249
|
+
...{ 'onSelect': {} },
|
|
250
|
+
...{ class: "!w-[300px]" },
|
|
251
|
+
native: (true),
|
|
252
|
+
offset: (2),
|
|
253
|
+
hideSearch: true,
|
|
254
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_10));
|
|
255
|
+
let __VLS_13;
|
|
256
|
+
let __VLS_14;
|
|
257
|
+
const __VLS_15 = ({ select: {} },
|
|
258
|
+
{ onSelect: (__VLS_ctx.onSelectEmoji) });
|
|
259
|
+
// @ts-ignore
|
|
260
|
+
[onSelectEmoji,];
|
|
261
|
+
var __VLS_12;
|
|
262
|
+
}
|
|
263
|
+
var __VLS_6;
|
|
264
|
+
}
|
|
265
|
+
if (!__VLS_ctx.dataProfile?.is_sms_active) {
|
|
266
|
+
// @ts-ignore
|
|
267
|
+
[dataProfile,];
|
|
268
|
+
const __VLS_17 = {}.EmojiPicker;
|
|
269
|
+
/** @type {[typeof __VLS_components.EmojiPicker, typeof __VLS_components.emojiPicker, ]} */ ;
|
|
270
|
+
// @ts-ignore
|
|
271
|
+
EmojiPicker;
|
|
272
|
+
// @ts-ignore
|
|
273
|
+
const __VLS_18 = __VLS_asFunctionalComponent(__VLS_17, new __VLS_17({
|
|
274
|
+
...{ class: "opacity-0 pointer-events-none absolute" },
|
|
275
|
+
native: (true),
|
|
276
|
+
offset: (2),
|
|
277
|
+
hideSearch: true,
|
|
278
|
+
}));
|
|
279
|
+
const __VLS_19 = __VLS_18({
|
|
280
|
+
...{ class: "opacity-0 pointer-events-none absolute" },
|
|
281
|
+
native: (true),
|
|
282
|
+
offset: (2),
|
|
283
|
+
hideSearch: true,
|
|
284
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_18));
|
|
285
|
+
}
|
|
286
|
+
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)({
|
|
287
|
+
...{ class: "cursor-pointer relative" },
|
|
288
|
+
});
|
|
289
|
+
__VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (!(__VLS_ctx.keyword != '' && __VLS_ctx.responsive == 'mobile') &&
|
|
290
|
+
!__VLS_ctx.dataProfile?.is_sms_active &&
|
|
291
|
+
!__VLS_ctx.dropFileLink) }, null, null);
|
|
292
|
+
// @ts-ignore
|
|
293
|
+
[dropFileLink, keyword, dataProfile, responsive,];
|
|
294
|
+
__VLS_asFunctionalElement(__VLS_elements.input)({
|
|
295
|
+
...{ onChange: (__VLS_ctx.handleFileUpload) },
|
|
296
|
+
type: "file",
|
|
297
|
+
...{ class: "hidden" },
|
|
298
|
+
ref: "refInputImage",
|
|
299
|
+
accept: ".png, .jpeg, .jpg",
|
|
300
|
+
});
|
|
301
|
+
/** @type {typeof __VLS_ctx.refInputImage} */ ;
|
|
302
|
+
// @ts-ignore
|
|
303
|
+
[handleFileUpload, refInputImage,];
|
|
304
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
305
|
+
...{ class: "h-11 w-8 flex-center" },
|
|
306
|
+
});
|
|
307
|
+
__VLS_asFunctionalElement(__VLS_elements.svg, __VLS_elements.svg)({
|
|
308
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
309
|
+
viewBox: "0 0 24 24",
|
|
310
|
+
fill: "none",
|
|
311
|
+
stroke: "currentColor",
|
|
312
|
+
'stroke-width': "1.5",
|
|
313
|
+
'stroke-linecap': "round",
|
|
314
|
+
'stroke-linejoin': "round",
|
|
315
|
+
...{ class: "w-5 h-5" },
|
|
316
|
+
});
|
|
317
|
+
__VLS_asFunctionalElement(__VLS_elements.path)({
|
|
318
|
+
d: "M21.44 11.05l-8.49 8.49a5 5 0 01-7.07-7.07l8.49-8.49a3.5 3.5 0 014.95 4.95l-8.5 8.49a2 2 0 11-2.83-2.83l7.78-7.78",
|
|
319
|
+
});
|
|
320
|
+
__VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
|
|
321
|
+
...{ onClick: (...[$event]) => {
|
|
322
|
+
__VLS_ctx.handleSendMessage('message');
|
|
323
|
+
// @ts-ignore
|
|
324
|
+
[handleSendMessage,];
|
|
325
|
+
} },
|
|
326
|
+
...{ class: "h-11 w-11 rounded-full flex-center bg-[#002E6B] ml-2" },
|
|
327
|
+
});
|
|
328
|
+
/** @type {[typeof IconPlan, ]} */ ;
|
|
329
|
+
// @ts-ignore
|
|
330
|
+
const __VLS_22 = __VLS_asFunctionalComponent(IconPlan, new IconPlan({
|
|
331
|
+
color: "#fff",
|
|
332
|
+
}));
|
|
333
|
+
const __VLS_23 = __VLS_22({
|
|
334
|
+
color: "#fff",
|
|
335
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_22));
|
|
336
|
+
if (!__VLS_ctx.dataProfile?.is_sms_active) {
|
|
337
|
+
// @ts-ignore
|
|
338
|
+
[dataProfile,];
|
|
339
|
+
/** @type {[typeof DropZone, ]} */ ;
|
|
340
|
+
// @ts-ignore
|
|
341
|
+
const __VLS_26 = __VLS_asFunctionalComponent(DropZone, new DropZone({
|
|
342
|
+
link: (__VLS_ctx.dropFileLink),
|
|
343
|
+
file: (__VLS_ctx.dropFile),
|
|
344
|
+
}));
|
|
345
|
+
const __VLS_27 = __VLS_26({
|
|
346
|
+
link: (__VLS_ctx.dropFileLink),
|
|
347
|
+
file: (__VLS_ctx.dropFile),
|
|
348
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_26));
|
|
349
|
+
// @ts-ignore
|
|
350
|
+
[dropFileLink, dropFile,];
|
|
351
|
+
}
|
|
352
|
+
/** @type {__VLS_StyleScopedClasses['z-10']} */ ;
|
|
353
|
+
/** @type {__VLS_StyleScopedClasses['layout-shadow']} */ ;
|
|
354
|
+
/** @type {__VLS_StyleScopedClasses['border-t']} */ ;
|
|
355
|
+
/** @type {__VLS_StyleScopedClasses['border-chat-gray-5']} */ ;
|
|
356
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
357
|
+
/** @type {__VLS_StyleScopedClasses['gap-2']} */ ;
|
|
358
|
+
/** @type {__VLS_StyleScopedClasses['items-end']} */ ;
|
|
359
|
+
/** @type {__VLS_StyleScopedClasses['h-max']} */ ;
|
|
360
|
+
/** @type {__VLS_StyleScopedClasses['relative']} */ ;
|
|
361
|
+
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
362
|
+
/** @type {__VLS_StyleScopedClasses['border']} */ ;
|
|
363
|
+
/** @type {__VLS_StyleScopedClasses['border-chat-haze-200']} */ ;
|
|
364
|
+
/** @type {__VLS_StyleScopedClasses['rounded-xl']} */ ;
|
|
365
|
+
/** @type {__VLS_StyleScopedClasses['p-4']} */ ;
|
|
366
|
+
/** @type {__VLS_StyleScopedClasses['absolute']} */ ;
|
|
367
|
+
/** @type {__VLS_StyleScopedClasses['top-4']} */ ;
|
|
368
|
+
/** @type {__VLS_StyleScopedClasses['right-4']} */ ;
|
|
369
|
+
/** @type {__VLS_StyleScopedClasses['max-h-[150px]']} */ ;
|
|
370
|
+
/** @type {__VLS_StyleScopedClasses['w-auto']} */ ;
|
|
371
|
+
/** @type {__VLS_StyleScopedClasses['text-[14px]']} */ ;
|
|
372
|
+
/** @type {__VLS_StyleScopedClasses['sm:text-base']} */ ;
|
|
373
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
374
|
+
/** @type {__VLS_StyleScopedClasses['min-h-11']} */ ;
|
|
375
|
+
/** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
|
|
376
|
+
/** @type {__VLS_StyleScopedClasses['chat-input']} */ ;
|
|
377
|
+
/** @type {__VLS_StyleScopedClasses['!rounded-xl']} */ ;
|
|
378
|
+
/** @type {__VLS_StyleScopedClasses['px-4']} */ ;
|
|
379
|
+
/** @type {__VLS_StyleScopedClasses['py-2']} */ ;
|
|
380
|
+
/** @type {__VLS_StyleScopedClasses['border']} */ ;
|
|
381
|
+
/** @type {__VLS_StyleScopedClasses['border-chat-haze-200']} */ ;
|
|
382
|
+
/** @type {__VLS_StyleScopedClasses['leading-[24px]']} */ ;
|
|
383
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
384
|
+
/** @type {__VLS_StyleScopedClasses['gap-2']} */ ;
|
|
385
|
+
/** @type {__VLS_StyleScopedClasses['-translate-y-2']} */ ;
|
|
386
|
+
/** @type {__VLS_StyleScopedClasses['h-11']} */ ;
|
|
387
|
+
/** @type {__VLS_StyleScopedClasses['w-8']} */ ;
|
|
388
|
+
/** @type {__VLS_StyleScopedClasses['!w-[300px]']} */ ;
|
|
389
|
+
/** @type {__VLS_StyleScopedClasses['opacity-0']} */ ;
|
|
390
|
+
/** @type {__VLS_StyleScopedClasses['pointer-events-none']} */ ;
|
|
391
|
+
/** @type {__VLS_StyleScopedClasses['absolute']} */ ;
|
|
392
|
+
/** @type {__VLS_StyleScopedClasses['cursor-pointer']} */ ;
|
|
393
|
+
/** @type {__VLS_StyleScopedClasses['relative']} */ ;
|
|
394
|
+
/** @type {__VLS_StyleScopedClasses['hidden']} */ ;
|
|
395
|
+
/** @type {__VLS_StyleScopedClasses['h-11']} */ ;
|
|
396
|
+
/** @type {__VLS_StyleScopedClasses['w-8']} */ ;
|
|
397
|
+
/** @type {__VLS_StyleScopedClasses['flex-center']} */ ;
|
|
398
|
+
/** @type {__VLS_StyleScopedClasses['w-5']} */ ;
|
|
399
|
+
/** @type {__VLS_StyleScopedClasses['h-5']} */ ;
|
|
400
|
+
/** @type {__VLS_StyleScopedClasses['h-11']} */ ;
|
|
401
|
+
/** @type {__VLS_StyleScopedClasses['w-11']} */ ;
|
|
402
|
+
/** @type {__VLS_StyleScopedClasses['rounded-full']} */ ;
|
|
403
|
+
/** @type {__VLS_StyleScopedClasses['flex-center']} */ ;
|
|
404
|
+
/** @type {__VLS_StyleScopedClasses['bg-[#002E6B]']} */ ;
|
|
405
|
+
/** @type {__VLS_StyleScopedClasses['ml-2']} */ ;
|
|
406
|
+
const __VLS_export = (await import('vue')).defineComponent({
|
|
407
|
+
setup: () => (__VLS_exposed),
|
|
408
|
+
__typeEmits: {},
|
|
409
|
+
__typeProps: {},
|
|
410
|
+
props: {},
|
|
411
|
+
});
|
|
412
|
+
export default {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { IResUser } from '../../../types/message';
|
|
2
|
+
type Props = {
|
|
3
|
+
data: IResUser | null;
|
|
4
|
+
isNew: boolean;
|
|
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;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import Avatar from '../../../components/chat/customer/Avatar.vue';
|
|
3
|
+
import { phoneNumberFormat } from '../../../utils/string-helper';
|
|
4
|
+
const props = withDefaults(defineProps(), {});
|
|
5
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
6
|
+
const __VLS_defaults = {};
|
|
7
|
+
const __VLS_ctx = {
|
|
8
|
+
...{},
|
|
9
|
+
...{},
|
|
10
|
+
...{},
|
|
11
|
+
...{},
|
|
12
|
+
};
|
|
13
|
+
let __VLS_elements;
|
|
14
|
+
let __VLS_components;
|
|
15
|
+
let __VLS_directives;
|
|
16
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
17
|
+
...{ class: "flex flex-col items-center justify-center text-center px-4 " },
|
|
18
|
+
});
|
|
19
|
+
/** @type {[typeof Avatar, ]} */ ;
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
const __VLS_0 = __VLS_asFunctionalComponent(Avatar, new Avatar({
|
|
22
|
+
...{ class: "mb-4" },
|
|
23
|
+
src: (__VLS_ctx.data?.avatar ?? ''),
|
|
24
|
+
id: (__VLS_ctx.data?.id ?? ''),
|
|
25
|
+
color: (__VLS_ctx.data?.color),
|
|
26
|
+
name: (__VLS_ctx.data?.username),
|
|
27
|
+
size: "xxl",
|
|
28
|
+
}));
|
|
29
|
+
const __VLS_1 = __VLS_0({
|
|
30
|
+
...{ class: "mb-4" },
|
|
31
|
+
src: (__VLS_ctx.data?.avatar ?? ''),
|
|
32
|
+
id: (__VLS_ctx.data?.id ?? ''),
|
|
33
|
+
color: (__VLS_ctx.data?.color),
|
|
34
|
+
name: (__VLS_ctx.data?.username),
|
|
35
|
+
size: "xxl",
|
|
36
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_0));
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
[data, data, data, data,];
|
|
39
|
+
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
|
|
40
|
+
...{ class: "text-2xl inline-block vertical-mid font-semibold gap-1" },
|
|
41
|
+
});
|
|
42
|
+
(__VLS_ctx.data?.username || __VLS_ctx.phoneNumberFormat(__VLS_ctx.data?.phone ?? '') || 'n/a');
|
|
43
|
+
// @ts-ignore
|
|
44
|
+
[data, data, phoneNumberFormat,];
|
|
45
|
+
if (__VLS_ctx.isNew) {
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
[isNew,];
|
|
48
|
+
__VLS_asFunctionalElement(__VLS_elements.img)({
|
|
49
|
+
...{ class: "inline-block align-middle ml-1" },
|
|
50
|
+
src: "../../../assets/images/icons/new-customer.png",
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
if (__VLS_ctx.isNew) {
|
|
54
|
+
// @ts-ignore
|
|
55
|
+
[isNew,];
|
|
56
|
+
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
|
|
57
|
+
...{ class: "text-chat-haze-400 text-sm mt-3 max-w-md" },
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
61
|
+
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
62
|
+
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
63
|
+
/** @type {__VLS_StyleScopedClasses['justify-center']} */ ;
|
|
64
|
+
/** @type {__VLS_StyleScopedClasses['text-center']} */ ;
|
|
65
|
+
/** @type {__VLS_StyleScopedClasses['px-4']} */ ;
|
|
66
|
+
/** @type {__VLS_StyleScopedClasses['mb-4']} */ ;
|
|
67
|
+
/** @type {__VLS_StyleScopedClasses['text-2xl']} */ ;
|
|
68
|
+
/** @type {__VLS_StyleScopedClasses['inline-block']} */ ;
|
|
69
|
+
/** @type {__VLS_StyleScopedClasses['vertical-mid']} */ ;
|
|
70
|
+
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
71
|
+
/** @type {__VLS_StyleScopedClasses['gap-1']} */ ;
|
|
72
|
+
/** @type {__VLS_StyleScopedClasses['inline-block']} */ ;
|
|
73
|
+
/** @type {__VLS_StyleScopedClasses['align-middle']} */ ;
|
|
74
|
+
/** @type {__VLS_StyleScopedClasses['ml-1']} */ ;
|
|
75
|
+
/** @type {__VLS_StyleScopedClasses['text-chat-haze-400']} */ ;
|
|
76
|
+
/** @type {__VLS_StyleScopedClasses['text-sm']} */ ;
|
|
77
|
+
/** @type {__VLS_StyleScopedClasses['mt-3']} */ ;
|
|
78
|
+
/** @type {__VLS_StyleScopedClasses['max-w-md']} */ ;
|
|
79
|
+
const __VLS_export = (await import('vue')).defineComponent({
|
|
80
|
+
__typeProps: {},
|
|
81
|
+
props: {},
|
|
82
|
+
});
|
|
83
|
+
export default {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { IResUser } from '../../../types/message';
|
|
2
|
+
import type { PAGE_RESPONSIVE } from '../../../types/chat/global';
|
|
3
|
+
import type { IConversation } from '../../../types/conversation';
|
|
4
|
+
type KeyPadProps = {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
hideNumpad?: boolean;
|
|
7
|
+
responsive?: PAGE_RESPONSIVE;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<KeyPadProps, {
|
|
10
|
+
openPhoneNumpad: () => void;
|
|
11
|
+
closePhoneNumpad: () => void;
|
|
12
|
+
startSendMessage: (phone: string) => Promise<void> | undefined;
|
|
13
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
|
+
message: (data: IConversation) => any;
|
|
15
|
+
call: (data: IResUser) => any;
|
|
16
|
+
"error:noPhoneTenant": () => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<KeyPadProps> & Readonly<{
|
|
18
|
+
onMessage?: ((data: IConversation) => any) | undefined;
|
|
19
|
+
onCall?: ((data: IResUser) => any) | undefined;
|
|
20
|
+
"onError:noPhoneTenant"?: (() => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,161 @@
|
|
|
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 handleMessage = (data) => {
|
|
21
|
+
emit('message', data);
|
|
22
|
+
drawerVisibleRef.value?.close();
|
|
23
|
+
};
|
|
24
|
+
const startSendMessage = (phone) => {
|
|
25
|
+
return phoneNumpadRef.value?.startSendMessage(phone);
|
|
26
|
+
};
|
|
27
|
+
const __VLS_exposed = { openPhoneNumpad, closePhoneNumpad, startSendMessage };
|
|
28
|
+
defineExpose(__VLS_exposed);
|
|
29
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
30
|
+
const __VLS_defaults = {};
|
|
31
|
+
const __VLS_ctx = {
|
|
32
|
+
...{},
|
|
33
|
+
...{},
|
|
34
|
+
...{},
|
|
35
|
+
...{},
|
|
36
|
+
...{},
|
|
37
|
+
};
|
|
38
|
+
let __VLS_elements;
|
|
39
|
+
let __VLS_components;
|
|
40
|
+
let __VLS_directives;
|
|
41
|
+
if (__VLS_ctx.responsive == 'window') {
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
[responsive,];
|
|
44
|
+
/** @type {[typeof PhoneNumpad, ]} */ ;
|
|
45
|
+
// @ts-ignore
|
|
46
|
+
const __VLS_0 = __VLS_asFunctionalComponent(PhoneNumpad, new PhoneNumpad({
|
|
47
|
+
...{ 'onCall': {} },
|
|
48
|
+
...{ 'onMessage': {} },
|
|
49
|
+
ref: "phoneNumpadRef",
|
|
50
|
+
...{ class: "bg-white shrink-0 border-l layout-border" },
|
|
51
|
+
modelValue: "",
|
|
52
|
+
hideNumpad: (__VLS_ctx.hideNumpad),
|
|
53
|
+
responsive: (__VLS_ctx.responsive),
|
|
54
|
+
}));
|
|
55
|
+
const __VLS_1 = __VLS_0({
|
|
56
|
+
...{ 'onCall': {} },
|
|
57
|
+
...{ 'onMessage': {} },
|
|
58
|
+
ref: "phoneNumpadRef",
|
|
59
|
+
...{ class: "bg-white shrink-0 border-l layout-border" },
|
|
60
|
+
modelValue: "",
|
|
61
|
+
hideNumpad: (__VLS_ctx.hideNumpad),
|
|
62
|
+
responsive: (__VLS_ctx.responsive),
|
|
63
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_0));
|
|
64
|
+
let __VLS_3;
|
|
65
|
+
let __VLS_4;
|
|
66
|
+
const __VLS_5 = ({ call: {} },
|
|
67
|
+
{ onCall: (__VLS_ctx.handleCall) });
|
|
68
|
+
const __VLS_6 = ({ message: {} },
|
|
69
|
+
{ onMessage: (__VLS_ctx.handleMessage) });
|
|
70
|
+
/** @type {typeof __VLS_ctx.phoneNumpadRef} */ ;
|
|
71
|
+
var __VLS_7 = {};
|
|
72
|
+
// @ts-ignore
|
|
73
|
+
[responsive, hideNumpad, handleCall, handleMessage, phoneNumpadRef,];
|
|
74
|
+
var __VLS_2;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
/** @type {[typeof DrawerBaseCustom, typeof DrawerBaseCustom, ]} */ ;
|
|
78
|
+
// @ts-ignore
|
|
79
|
+
const __VLS_10 = __VLS_asFunctionalComponent(DrawerBaseCustom, new DrawerBaseCustom({
|
|
80
|
+
ref: "drawerVisibleRef",
|
|
81
|
+
responsive: (__VLS_ctx.responsive),
|
|
82
|
+
absolute: true,
|
|
83
|
+
}));
|
|
84
|
+
const __VLS_11 = __VLS_10({
|
|
85
|
+
ref: "drawerVisibleRef",
|
|
86
|
+
responsive: (__VLS_ctx.responsive),
|
|
87
|
+
absolute: true,
|
|
88
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_10));
|
|
89
|
+
/** @type {typeof __VLS_ctx.drawerVisibleRef} */ ;
|
|
90
|
+
var __VLS_13 = {};
|
|
91
|
+
const { default: __VLS_15 } = __VLS_12.slots;
|
|
92
|
+
// @ts-ignore
|
|
93
|
+
[responsive, drawerVisibleRef,];
|
|
94
|
+
{
|
|
95
|
+
const { content: __VLS_16 } = __VLS_12.slots;
|
|
96
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
97
|
+
...{ class: "h-full flex flex-col" },
|
|
98
|
+
});
|
|
99
|
+
/** @type {[typeof PhoneNumpad, ]} */ ;
|
|
100
|
+
// @ts-ignore
|
|
101
|
+
const __VLS_17 = __VLS_asFunctionalComponent(PhoneNumpad, new PhoneNumpad({
|
|
102
|
+
...{ 'onCall': {} },
|
|
103
|
+
...{ 'onMessage': {} },
|
|
104
|
+
...{ 'onBack': {} },
|
|
105
|
+
ref: "phoneNumpadRef",
|
|
106
|
+
...{ class: "bg-white grow border-l layout-border w-full" },
|
|
107
|
+
hideNumpad: (__VLS_ctx.hideNumpad),
|
|
108
|
+
responsive: (__VLS_ctx.responsive),
|
|
109
|
+
}));
|
|
110
|
+
const __VLS_18 = __VLS_17({
|
|
111
|
+
...{ 'onCall': {} },
|
|
112
|
+
...{ 'onMessage': {} },
|
|
113
|
+
...{ 'onBack': {} },
|
|
114
|
+
ref: "phoneNumpadRef",
|
|
115
|
+
...{ class: "bg-white grow border-l layout-border w-full" },
|
|
116
|
+
hideNumpad: (__VLS_ctx.hideNumpad),
|
|
117
|
+
responsive: (__VLS_ctx.responsive),
|
|
118
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_17));
|
|
119
|
+
let __VLS_20;
|
|
120
|
+
let __VLS_21;
|
|
121
|
+
const __VLS_22 = ({ call: {} },
|
|
122
|
+
{ onCall: (__VLS_ctx.handleCall) });
|
|
123
|
+
const __VLS_23 = ({ message: {} },
|
|
124
|
+
{ onMessage: (__VLS_ctx.handleMessage) });
|
|
125
|
+
const __VLS_24 = ({ back: {} },
|
|
126
|
+
{ onBack: (...[$event]) => {
|
|
127
|
+
if (!!(__VLS_ctx.responsive == 'window'))
|
|
128
|
+
return;
|
|
129
|
+
__VLS_ctx.drawerVisibleRef?.close();
|
|
130
|
+
// @ts-ignore
|
|
131
|
+
[responsive, hideNumpad, handleCall, handleMessage, drawerVisibleRef,];
|
|
132
|
+
} });
|
|
133
|
+
/** @type {typeof __VLS_ctx.phoneNumpadRef} */ ;
|
|
134
|
+
var __VLS_25 = {};
|
|
135
|
+
// @ts-ignore
|
|
136
|
+
[phoneNumpadRef,];
|
|
137
|
+
var __VLS_19;
|
|
138
|
+
}
|
|
139
|
+
var __VLS_12;
|
|
140
|
+
}
|
|
141
|
+
/** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
|
|
142
|
+
/** @type {__VLS_StyleScopedClasses['shrink-0']} */ ;
|
|
143
|
+
/** @type {__VLS_StyleScopedClasses['border-l']} */ ;
|
|
144
|
+
/** @type {__VLS_StyleScopedClasses['layout-border']} */ ;
|
|
145
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
146
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
147
|
+
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
148
|
+
/** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
|
|
149
|
+
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
150
|
+
/** @type {__VLS_StyleScopedClasses['border-l']} */ ;
|
|
151
|
+
/** @type {__VLS_StyleScopedClasses['layout-border']} */ ;
|
|
152
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
153
|
+
// @ts-ignore
|
|
154
|
+
var __VLS_8 = __VLS_7, __VLS_14 = __VLS_13, __VLS_26 = __VLS_25;
|
|
155
|
+
const __VLS_export = (await import('vue')).defineComponent({
|
|
156
|
+
setup: () => (__VLS_exposed),
|
|
157
|
+
__typeEmits: {},
|
|
158
|
+
__typeProps: {},
|
|
159
|
+
props: {},
|
|
160
|
+
});
|
|
161
|
+
export default {};
|