@phonghq/go-chat 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/assets/icons/IconArrowLeft.vue.d.ts +2 -0
- package/dist/assets/icons/IconArrowLeft.vue.js +29 -0
- package/dist/assets/icons/IconPhone.vue.d.ts +2 -0
- package/dist/assets/icons/IconPhone.vue.js +19 -0
- package/dist/assets/icons/IconPlan.vue.d.ts +2 -0
- package/dist/assets/icons/IconPlan.vue.js +19 -0
- package/dist/assets/icons/IconPlus.vue.d.ts +2 -0
- package/dist/assets/icons/IconPlus.vue.js +22 -0
- package/dist/assets/icons/IconSearch.vue.d.ts +32 -0
- package/dist/assets/icons/IconSearch.vue.js +68 -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 +35 -0
- package/dist/assets/icons/call/IconPhoneCancel.vue.d.ts +2 -0
- package/dist/assets/icons/call/IconPhoneCancel.vue.js +35 -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/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 +2 -0
- package/dist/assets/icons/customer-detail/IconPhone.vue.js +21 -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/chat/App.vue.d.ts +5 -0
- package/dist/chat/App.vue.js +502 -0
- package/dist/chat/main.d.ts +3 -0
- package/dist/chat/main.js +2 -0
- package/dist/chat/page/customer-appointment/CustomerAppointment.vue.d.ts +2 -0
- package/dist/chat/page/customer-appointment/CustomerAppointment.vue.js +207 -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 +136 -0
- package/dist/chat/page/customer-detail/CustomerDetail.vue.d.ts +7 -0
- package/dist/chat/page/customer-detail/CustomerDetail.vue.js +235 -0
- package/dist/chat/page/customer-detail/SubInformation.vue.d.ts +16 -0
- package/dist/chat/page/customer-detail/SubInformation.vue.js +102 -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 +20 -0
- package/dist/chat/page/home/ChatList.vue.js +380 -0
- package/dist/chat/page/home/ChatMessage.vue.d.ts +16 -0
- package/dist/chat/page/home/ChatMessage.vue.js +271 -0
- package/dist/chat/page/home/Home.vue.d.ts +14 -0
- package/dist/chat/page/home/Home.vue.js +327 -0
- package/dist/chat/page/home/HomeHeader.vue.d.ts +10 -0
- package/dist/chat/page/home/HomeHeader.vue.js +122 -0
- package/dist/chat/page/home/InputChat.vue.d.ts +19 -0
- package/dist/chat/page/home/InputChat.vue.js +226 -0
- package/dist/chat/page/home/NewCustomer.vue.d.ts +6 -0
- package/dist/chat/page/home/NewCustomer.vue.js +82 -0
- package/dist/components/ListenEvent.vue.d.ts +2 -0
- package/dist/components/ListenEvent.vue.js +45 -0
- package/dist/components/chat/ScrollEvent/ScrollEvent.vue.d.ts +22 -0
- package/dist/components/chat/ScrollEvent/ScrollEvent.vue.js +197 -0
- package/dist/components/chat/call/Calling.vue.d.ts +7 -0
- package/dist/components/chat/call/Calling.vue.js +291 -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/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 +2 -0
- package/dist/components/chat/common/spin/BaseSpin.vue.js +12 -0
- package/dist/components/chat/customer/Avatar.vue.d.ts +11 -0
- package/dist/components/chat/customer/Avatar.vue.js +79 -0
- package/dist/components/chat/layout/mobile/Footer.vue.d.ts +2 -0
- package/dist/components/chat/layout/mobile/Footer.vue.js +109 -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/dropdown/DropdownBase.vue.d.ts +21 -0
- package/dist/components/common/dropdown/DropdownBase.vue.js +91 -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 +164 -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/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/Blank.vue.d.ts +9 -0
- package/dist/components/layout/Blank.vue.js +19 -0
- package/dist/components/layout/Default.vue.d.ts +9 -0
- package/dist/components/layout/Default.vue.js +21 -0
- package/dist/components/modal/Confirm.vue.d.ts +2 -0
- package/dist/components/modal/Confirm.vue.js +164 -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 +61 -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/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/composable/useCallHelper.d.ts +23 -0
- package/dist/composable/useCallHelper.js +170 -0
- package/dist/composable/useInitData.d.ts +11 -0
- package/dist/composable/useInitData.js +84 -0
- package/dist/composable/useModalConfirm.d.ts +5 -0
- package/dist/composable/useModalConfirm.js +39 -0
- package/dist/constant/color.d.ts +22 -0
- package/dist/constant/color.js +43 -0
- package/dist/constant/datetime.d.ts +5 -0
- package/dist/constant/datetime.js +5 -0
- package/dist/constant/general.d.ts +8 -0
- package/dist/constant/general.js +9 -0
- package/dist/constant/message.d.ts +8 -0
- package/dist/constant/message.js +8 -0
- package/dist/constant/mqtt.d.ts +4 -0
- package/dist/constant/mqtt.js +11 -0
- package/dist/constant/user.d.ts +8 -0
- package/dist/constant/user.js +9 -0
- package/dist/go-chat.es.js +64024 -2699
- package/dist/go-chat.umd.js +15 -3
- 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 +85 -0
- package/dist/plugins/mqtt.d.ts +10 -0
- package/dist/plugins/mqtt.js +128 -0
- package/dist/plugins/sdk.d.ts +19 -0
- package/dist/plugins/sdk.js +83 -0
- package/dist/plugins/websocket.d.ts +4 -0
- package/dist/plugins/websocket.js +65 -0
- package/dist/style.css +1 -1
- package/dist/types/chat/user.d.ts +88 -0
- package/dist/types/chat/user.js +1 -0
- package/dist/types/conversation.d.ts +18 -0
- package/dist/types/conversation.js +1 -0
- package/dist/utils/chat/auth.d.ts +45 -0
- package/dist/utils/chat/auth.js +51 -0
- package/dist/utils/chat/call.d.ts +5 -0
- package/dist/utils/chat/call.js +61 -0
- package/dist/utils/chat/chat-router.d.ts +3 -0
- package/dist/utils/chat/chat-router.js +9 -0
- package/dist/utils/chat/conversation.d.ts +3 -0
- package/dist/utils/chat/conversation.js +7 -0
- package/dist/utils/chat/message.d.ts +17 -0
- package/dist/utils/chat/message.js +42 -0
- package/dist/utils/chat/user.d.ts +193 -0
- package/dist/utils/chat/user.js +33 -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 +1 -0
- package/dist/utils/string-helper.js +27 -0
- package/package.json +8 -7
|
@@ -0,0 +1,502 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import ChatList from '../chat/page/home/ChatList.vue';
|
|
3
|
+
import HomeComponent from '../chat/page/home/Home.vue';
|
|
4
|
+
import IconArrowLeft from '../assets/icons/IconArrowLeft.vue';
|
|
5
|
+
import { computed, nextTick, ref } from 'vue';
|
|
6
|
+
import { PAGE } from '../constant/general';
|
|
7
|
+
import CustomerDetail from '../chat/page/customer-detail/CustomerDetail.vue';
|
|
8
|
+
import CustomerCheckIn from '../chat/page/customer-check-in/CustomerCheckIn.vue';
|
|
9
|
+
import CustomerAppointment from '../chat/page/customer-appointment/CustomerAppointment.vue';
|
|
10
|
+
import { isRouterReady, useInitData } from '../composable/useInitData';
|
|
11
|
+
import Error from '../chat/page/error/Error.vue';
|
|
12
|
+
import { currentPage, routerPush } from '../utils/chat/chat-router';
|
|
13
|
+
import BaseSpin from '../components/chat/common/spin/BaseSpin.vue';
|
|
14
|
+
import Calling from '../components/chat/call/Calling.vue';
|
|
15
|
+
import { logout } from '../utils/chat/auth';
|
|
16
|
+
import MobileFooter from '../components/chat/layout/mobile/Footer.vue';
|
|
17
|
+
import { initWebSocket } from '../plugins/websocket';
|
|
18
|
+
const routerConfig = [
|
|
19
|
+
{ id: PAGE.HOME, backFunc: null, backTitle: '' },
|
|
20
|
+
{
|
|
21
|
+
id: PAGE.CUSTOMER_DETAIL,
|
|
22
|
+
backFunc: () => {
|
|
23
|
+
routerPush(PAGE.HOME);
|
|
24
|
+
},
|
|
25
|
+
backTitle: ''
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: PAGE.CUSTOMER_APPOINTMENT,
|
|
29
|
+
backFunc: () => {
|
|
30
|
+
routerPush(PAGE.CUSTOMER_DETAIL);
|
|
31
|
+
},
|
|
32
|
+
backTitle: 'Appointments'
|
|
33
|
+
}
|
|
34
|
+
];
|
|
35
|
+
const routerMobileConfig = [
|
|
36
|
+
{ id: PAGE.CHAT_LIST, backFunc: logout, backTitle: 'ChatBiz' },
|
|
37
|
+
{
|
|
38
|
+
id: PAGE.HOME,
|
|
39
|
+
backFunc: () => {
|
|
40
|
+
routerPush(PAGE.CHAT_LIST);
|
|
41
|
+
},
|
|
42
|
+
backTitle: ''
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: PAGE.CUSTOMER_DETAIL,
|
|
46
|
+
backFunc: () => {
|
|
47
|
+
routerPush(PAGE.HOME);
|
|
48
|
+
},
|
|
49
|
+
backTitle: ''
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: PAGE.CUSTOMER_APPOINTMENT,
|
|
53
|
+
backFunc: () => {
|
|
54
|
+
routerPush(PAGE.CUSTOMER_DETAIL);
|
|
55
|
+
},
|
|
56
|
+
backTitle: 'Appointments'
|
|
57
|
+
}
|
|
58
|
+
];
|
|
59
|
+
const props = withDefaults(defineProps(), {
|
|
60
|
+
response: 'tablet'
|
|
61
|
+
});
|
|
62
|
+
const { initPage } = useInitData();
|
|
63
|
+
const currentPageConfig = computed(() => {
|
|
64
|
+
if (props.response === 'mobile') {
|
|
65
|
+
return routerMobileConfig.find((e) => e.id == currentPage.value);
|
|
66
|
+
}
|
|
67
|
+
return routerConfig.find((e) => e.id == currentPage.value);
|
|
68
|
+
});
|
|
69
|
+
const callingRef = ref(null);
|
|
70
|
+
const receiverId = ref(null);
|
|
71
|
+
const customerDetailRef = ref(null);
|
|
72
|
+
const homeComponentRef = ref(null);
|
|
73
|
+
const chatListRef = ref(null);
|
|
74
|
+
const selectReceiver = async (data) => {
|
|
75
|
+
if (receiverId.value != data?.receiver_id) {
|
|
76
|
+
if (currentPage.value != PAGE.HOME) {
|
|
77
|
+
routerPush(PAGE.HOME);
|
|
78
|
+
}
|
|
79
|
+
receiverId.value = data?.receiver_id;
|
|
80
|
+
await nextTick();
|
|
81
|
+
chatListRef.value?.handleReadMessage();
|
|
82
|
+
homeComponentRef.value?.getData(data);
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
const handleCall = (user) => {
|
|
86
|
+
callingRef.value?.startCall(user);
|
|
87
|
+
};
|
|
88
|
+
initWebSocket('https://web-socket.dev01.dtsmart.dev');
|
|
89
|
+
initPage({ id: props.id, domain: props.domain, token: props.token, response: props.response });
|
|
90
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
91
|
+
const __VLS_defaults = {
|
|
92
|
+
response: 'tablet'
|
|
93
|
+
};
|
|
94
|
+
const __VLS_ctx = {
|
|
95
|
+
...{},
|
|
96
|
+
...{},
|
|
97
|
+
...{},
|
|
98
|
+
...{},
|
|
99
|
+
};
|
|
100
|
+
let __VLS_elements;
|
|
101
|
+
let __VLS_components;
|
|
102
|
+
let __VLS_directives;
|
|
103
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
104
|
+
...{ class: "go-chat-main p-8" },
|
|
105
|
+
});
|
|
106
|
+
if (!__VLS_ctx.isRouterReady) {
|
|
107
|
+
// @ts-ignore
|
|
108
|
+
[isRouterReady,];
|
|
109
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
110
|
+
...{ class: "m-auto flex-center sc-full" },
|
|
111
|
+
});
|
|
112
|
+
/** @type {[typeof BaseSpin, ]} */ ;
|
|
113
|
+
// @ts-ignore
|
|
114
|
+
const __VLS_0 = __VLS_asFunctionalComponent(BaseSpin, new BaseSpin({}));
|
|
115
|
+
const __VLS_1 = __VLS_0({}, ...__VLS_functionalComponentArgsRest(__VLS_0));
|
|
116
|
+
}
|
|
117
|
+
else if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR) {
|
|
118
|
+
// @ts-ignore
|
|
119
|
+
[currentPage, PAGE,];
|
|
120
|
+
/** @type {[typeof Error, ]} */ ;
|
|
121
|
+
// @ts-ignore
|
|
122
|
+
const __VLS_4 = __VLS_asFunctionalComponent(Error, new Error({}));
|
|
123
|
+
const __VLS_5 = __VLS_4({}, ...__VLS_functionalComponentArgsRest(__VLS_4));
|
|
124
|
+
}
|
|
125
|
+
else if (__VLS_ctx.response == 'mobile') {
|
|
126
|
+
// @ts-ignore
|
|
127
|
+
[response,];
|
|
128
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
129
|
+
...{ class: "relative flex flex-col mx-auto w-max max-w-[350px] h-full bg-[#F9FAFC] overflow-hidden chat-mobile pt-4" },
|
|
130
|
+
});
|
|
131
|
+
if (__VLS_ctx.currentPageConfig?.backFunc) {
|
|
132
|
+
// @ts-ignore
|
|
133
|
+
[currentPageConfig,];
|
|
134
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
135
|
+
...{ class: "text-[#141B34] px-6 shrink-0" },
|
|
136
|
+
});
|
|
137
|
+
__VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
|
|
138
|
+
...{ onClick: (...[$event]) => {
|
|
139
|
+
if (!!(!__VLS_ctx.isRouterReady))
|
|
140
|
+
return;
|
|
141
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
|
|
142
|
+
return;
|
|
143
|
+
if (!(__VLS_ctx.response == 'mobile'))
|
|
144
|
+
return;
|
|
145
|
+
if (!(__VLS_ctx.currentPageConfig?.backFunc))
|
|
146
|
+
return;
|
|
147
|
+
__VLS_ctx.currentPageConfig.backFunc();
|
|
148
|
+
// @ts-ignore
|
|
149
|
+
[currentPageConfig,];
|
|
150
|
+
} },
|
|
151
|
+
...{ class: "flex items-center" },
|
|
152
|
+
});
|
|
153
|
+
/** @type {[typeof IconArrowLeft, ]} */ ;
|
|
154
|
+
// @ts-ignore
|
|
155
|
+
const __VLS_8 = __VLS_asFunctionalComponent(IconArrowLeft, new IconArrowLeft({}));
|
|
156
|
+
const __VLS_9 = __VLS_8({}, ...__VLS_functionalComponentArgsRest(__VLS_8));
|
|
157
|
+
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
|
|
158
|
+
...{ class: "text-xl font-semibold text-chat-haze-900 ml-3" },
|
|
159
|
+
});
|
|
160
|
+
(__VLS_ctx.currentPageConfig.backTitle ?? '');
|
|
161
|
+
// @ts-ignore
|
|
162
|
+
[currentPageConfig,];
|
|
163
|
+
}
|
|
164
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
165
|
+
...{ class: "grow overflow-hidden" },
|
|
166
|
+
});
|
|
167
|
+
/** @type {[typeof ChatList, ]} */ ;
|
|
168
|
+
// @ts-ignore
|
|
169
|
+
const __VLS_12 = __VLS_asFunctionalComponent(ChatList, new ChatList({
|
|
170
|
+
...{ 'onSelectReceiver': {} },
|
|
171
|
+
ref: "chatListRef",
|
|
172
|
+
...{ class: "w-full max-w-[500px] !bg-[#F9FAFC]" },
|
|
173
|
+
response: (__VLS_ctx.response),
|
|
174
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
175
|
+
}));
|
|
176
|
+
const __VLS_13 = __VLS_12({
|
|
177
|
+
...{ 'onSelectReceiver': {} },
|
|
178
|
+
ref: "chatListRef",
|
|
179
|
+
...{ class: "w-full max-w-[500px] !bg-[#F9FAFC]" },
|
|
180
|
+
response: (__VLS_ctx.response),
|
|
181
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
182
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_12));
|
|
183
|
+
let __VLS_15;
|
|
184
|
+
let __VLS_16;
|
|
185
|
+
const __VLS_17 = ({ selectReceiver: {} },
|
|
186
|
+
{ onSelectReceiver: (__VLS_ctx.selectReceiver) });
|
|
187
|
+
__VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CHAT_LIST) }, null, null);
|
|
188
|
+
/** @type {typeof __VLS_ctx.chatListRef} */ ;
|
|
189
|
+
var __VLS_18 = {};
|
|
190
|
+
// @ts-ignore
|
|
191
|
+
[currentPage, PAGE, response, receiverId, selectReceiver, chatListRef,];
|
|
192
|
+
var __VLS_14;
|
|
193
|
+
/** @type {[typeof HomeComponent, ]} */ ;
|
|
194
|
+
// @ts-ignore
|
|
195
|
+
const __VLS_21 = __VLS_asFunctionalComponent(HomeComponent, new HomeComponent({
|
|
196
|
+
...{ 'onCall': {} },
|
|
197
|
+
ref: "homeComponentRef",
|
|
198
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
199
|
+
...{ class: "h-full pt-4" },
|
|
200
|
+
response: (__VLS_ctx.response),
|
|
201
|
+
}));
|
|
202
|
+
const __VLS_22 = __VLS_21({
|
|
203
|
+
...{ 'onCall': {} },
|
|
204
|
+
ref: "homeComponentRef",
|
|
205
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
206
|
+
...{ class: "h-full pt-4" },
|
|
207
|
+
response: (__VLS_ctx.response),
|
|
208
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_21));
|
|
209
|
+
let __VLS_24;
|
|
210
|
+
let __VLS_25;
|
|
211
|
+
const __VLS_26 = ({ call: {} },
|
|
212
|
+
{ onCall: (__VLS_ctx.handleCall) });
|
|
213
|
+
__VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.HOME) }, null, null);
|
|
214
|
+
/** @type {typeof __VLS_ctx.homeComponentRef} */ ;
|
|
215
|
+
var __VLS_27 = {};
|
|
216
|
+
// @ts-ignore
|
|
217
|
+
[currentPage, PAGE, response, receiverId, handleCall, homeComponentRef,];
|
|
218
|
+
var __VLS_23;
|
|
219
|
+
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_DETAIL) {
|
|
220
|
+
// @ts-ignore
|
|
221
|
+
[currentPage, PAGE,];
|
|
222
|
+
/** @type {[typeof CustomerDetail, ]} */ ;
|
|
223
|
+
// @ts-ignore
|
|
224
|
+
const __VLS_30 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
|
|
225
|
+
ref: "customerDetailRef",
|
|
226
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
227
|
+
...{ class: "h-full" },
|
|
228
|
+
response: (__VLS_ctx.response),
|
|
229
|
+
}));
|
|
230
|
+
const __VLS_31 = __VLS_30({
|
|
231
|
+
ref: "customerDetailRef",
|
|
232
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
233
|
+
...{ class: "h-full" },
|
|
234
|
+
response: (__VLS_ctx.response),
|
|
235
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_30));
|
|
236
|
+
/** @type {typeof __VLS_ctx.customerDetailRef} */ ;
|
|
237
|
+
var __VLS_33 = {};
|
|
238
|
+
// @ts-ignore
|
|
239
|
+
[response, receiverId, customerDetailRef,];
|
|
240
|
+
var __VLS_32;
|
|
241
|
+
}
|
|
242
|
+
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_CHECK_IN) {
|
|
243
|
+
// @ts-ignore
|
|
244
|
+
[currentPage, PAGE,];
|
|
245
|
+
/** @type {[typeof CustomerCheckIn, ]} */ ;
|
|
246
|
+
// @ts-ignore
|
|
247
|
+
const __VLS_36 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
|
|
248
|
+
...{ class: "h-full" },
|
|
249
|
+
}));
|
|
250
|
+
const __VLS_37 = __VLS_36({
|
|
251
|
+
...{ class: "h-full" },
|
|
252
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_36));
|
|
253
|
+
}
|
|
254
|
+
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_APPOINTMENT) {
|
|
255
|
+
// @ts-ignore
|
|
256
|
+
[currentPage, PAGE,];
|
|
257
|
+
/** @type {[typeof CustomerAppointment, ]} */ ;
|
|
258
|
+
// @ts-ignore
|
|
259
|
+
const __VLS_40 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
|
|
260
|
+
...{ class: "h-full" },
|
|
261
|
+
}));
|
|
262
|
+
const __VLS_41 = __VLS_40({
|
|
263
|
+
...{ class: "h-full" },
|
|
264
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_40));
|
|
265
|
+
}
|
|
266
|
+
if (__VLS_ctx.currentPage != __VLS_ctx.PAGE.HOME) {
|
|
267
|
+
// @ts-ignore
|
|
268
|
+
[currentPage, PAGE,];
|
|
269
|
+
/** @type {[typeof MobileFooter, ]} */ ;
|
|
270
|
+
// @ts-ignore
|
|
271
|
+
const __VLS_44 = __VLS_asFunctionalComponent(MobileFooter, new MobileFooter({
|
|
272
|
+
...{ class: "shrink-0" },
|
|
273
|
+
}));
|
|
274
|
+
const __VLS_45 = __VLS_44({
|
|
275
|
+
...{ class: "shrink-0" },
|
|
276
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_44));
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
else {
|
|
280
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
281
|
+
...{ class: "flex gap-4 h-full" },
|
|
282
|
+
});
|
|
283
|
+
/** @type {[typeof ChatList, ]} */ ;
|
|
284
|
+
// @ts-ignore
|
|
285
|
+
const __VLS_48 = __VLS_asFunctionalComponent(ChatList, new ChatList({
|
|
286
|
+
...{ 'onSelectReceiver': {} },
|
|
287
|
+
ref: "chatListRef",
|
|
288
|
+
...{ class: "w-[38%] max-w-[500px]" },
|
|
289
|
+
response: (__VLS_ctx.response),
|
|
290
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
291
|
+
}));
|
|
292
|
+
const __VLS_49 = __VLS_48({
|
|
293
|
+
...{ 'onSelectReceiver': {} },
|
|
294
|
+
ref: "chatListRef",
|
|
295
|
+
...{ class: "w-[38%] max-w-[500px]" },
|
|
296
|
+
response: (__VLS_ctx.response),
|
|
297
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
298
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_48));
|
|
299
|
+
let __VLS_51;
|
|
300
|
+
let __VLS_52;
|
|
301
|
+
const __VLS_53 = ({ selectReceiver: {} },
|
|
302
|
+
{ onSelectReceiver: (__VLS_ctx.selectReceiver) });
|
|
303
|
+
/** @type {typeof __VLS_ctx.chatListRef} */ ;
|
|
304
|
+
var __VLS_54 = {};
|
|
305
|
+
// @ts-ignore
|
|
306
|
+
[response, receiverId, selectReceiver, chatListRef,];
|
|
307
|
+
var __VLS_50;
|
|
308
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
309
|
+
...{ class: "chat-box-white grow flex flex-col h-full pt-6 overflow-hidden" },
|
|
310
|
+
});
|
|
311
|
+
if (__VLS_ctx.currentPageConfig?.backFunc) {
|
|
312
|
+
// @ts-ignore
|
|
313
|
+
[currentPageConfig,];
|
|
314
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
315
|
+
...{ class: "text-[#141B34] px-6" },
|
|
316
|
+
});
|
|
317
|
+
__VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
|
|
318
|
+
...{ onClick: (...[$event]) => {
|
|
319
|
+
if (!!(!__VLS_ctx.isRouterReady))
|
|
320
|
+
return;
|
|
321
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
|
|
322
|
+
return;
|
|
323
|
+
if (!!(__VLS_ctx.response == 'mobile'))
|
|
324
|
+
return;
|
|
325
|
+
if (!(__VLS_ctx.currentPageConfig?.backFunc))
|
|
326
|
+
return;
|
|
327
|
+
__VLS_ctx.currentPageConfig.backFunc();
|
|
328
|
+
// @ts-ignore
|
|
329
|
+
[currentPageConfig,];
|
|
330
|
+
} },
|
|
331
|
+
...{ class: "flex items-center" },
|
|
332
|
+
});
|
|
333
|
+
/** @type {[typeof IconArrowLeft, ]} */ ;
|
|
334
|
+
// @ts-ignore
|
|
335
|
+
const __VLS_57 = __VLS_asFunctionalComponent(IconArrowLeft, new IconArrowLeft({}));
|
|
336
|
+
const __VLS_58 = __VLS_57({}, ...__VLS_functionalComponentArgsRest(__VLS_57));
|
|
337
|
+
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
|
|
338
|
+
...{ class: "text-xl font-semibold text-chat-haze-900 ml-3" },
|
|
339
|
+
});
|
|
340
|
+
(__VLS_ctx.currentPageConfig.backTitle ?? '');
|
|
341
|
+
// @ts-ignore
|
|
342
|
+
[currentPageConfig,];
|
|
343
|
+
}
|
|
344
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
345
|
+
...{ class: "grow overflow-hidden" },
|
|
346
|
+
});
|
|
347
|
+
/** @type {[typeof HomeComponent, ]} */ ;
|
|
348
|
+
// @ts-ignore
|
|
349
|
+
const __VLS_61 = __VLS_asFunctionalComponent(HomeComponent, new HomeComponent({
|
|
350
|
+
...{ 'onCall': {} },
|
|
351
|
+
ref: "homeComponentRef",
|
|
352
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
353
|
+
...{ class: "h-full" },
|
|
354
|
+
response: (__VLS_ctx.response),
|
|
355
|
+
}));
|
|
356
|
+
const __VLS_62 = __VLS_61({
|
|
357
|
+
...{ 'onCall': {} },
|
|
358
|
+
ref: "homeComponentRef",
|
|
359
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
360
|
+
...{ class: "h-full" },
|
|
361
|
+
response: (__VLS_ctx.response),
|
|
362
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_61));
|
|
363
|
+
let __VLS_64;
|
|
364
|
+
let __VLS_65;
|
|
365
|
+
const __VLS_66 = ({ call: {} },
|
|
366
|
+
{ onCall: (__VLS_ctx.handleCall) });
|
|
367
|
+
__VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.HOME) }, null, null);
|
|
368
|
+
/** @type {typeof __VLS_ctx.homeComponentRef} */ ;
|
|
369
|
+
var __VLS_67 = {};
|
|
370
|
+
// @ts-ignore
|
|
371
|
+
[currentPage, PAGE, response, receiverId, handleCall, homeComponentRef,];
|
|
372
|
+
var __VLS_63;
|
|
373
|
+
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_DETAIL) {
|
|
374
|
+
// @ts-ignore
|
|
375
|
+
[currentPage, PAGE,];
|
|
376
|
+
/** @type {[typeof CustomerDetail, ]} */ ;
|
|
377
|
+
// @ts-ignore
|
|
378
|
+
const __VLS_70 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
|
|
379
|
+
ref: "customerDetailRef",
|
|
380
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
381
|
+
...{ class: "h-full" },
|
|
382
|
+
response: (__VLS_ctx.response),
|
|
383
|
+
}));
|
|
384
|
+
const __VLS_71 = __VLS_70({
|
|
385
|
+
ref: "customerDetailRef",
|
|
386
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
387
|
+
...{ class: "h-full" },
|
|
388
|
+
response: (__VLS_ctx.response),
|
|
389
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_70));
|
|
390
|
+
/** @type {typeof __VLS_ctx.customerDetailRef} */ ;
|
|
391
|
+
var __VLS_73 = {};
|
|
392
|
+
// @ts-ignore
|
|
393
|
+
[response, receiverId, customerDetailRef,];
|
|
394
|
+
var __VLS_72;
|
|
395
|
+
}
|
|
396
|
+
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_CHECK_IN) {
|
|
397
|
+
// @ts-ignore
|
|
398
|
+
[currentPage, PAGE,];
|
|
399
|
+
/** @type {[typeof CustomerCheckIn, ]} */ ;
|
|
400
|
+
// @ts-ignore
|
|
401
|
+
const __VLS_76 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
|
|
402
|
+
...{ class: "h-full" },
|
|
403
|
+
}));
|
|
404
|
+
const __VLS_77 = __VLS_76({
|
|
405
|
+
...{ class: "h-full" },
|
|
406
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_76));
|
|
407
|
+
}
|
|
408
|
+
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_APPOINTMENT) {
|
|
409
|
+
// @ts-ignore
|
|
410
|
+
[currentPage, PAGE,];
|
|
411
|
+
/** @type {[typeof CustomerAppointment, ]} */ ;
|
|
412
|
+
// @ts-ignore
|
|
413
|
+
const __VLS_80 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
|
|
414
|
+
...{ class: "h-full" },
|
|
415
|
+
}));
|
|
416
|
+
const __VLS_81 = __VLS_80({
|
|
417
|
+
...{ class: "h-full" },
|
|
418
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_80));
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
/** @type {[typeof Calling, ]} */ ;
|
|
422
|
+
// @ts-ignore
|
|
423
|
+
const __VLS_84 = __VLS_asFunctionalComponent(Calling, new Calling({
|
|
424
|
+
ref: "callingRef",
|
|
425
|
+
}));
|
|
426
|
+
const __VLS_85 = __VLS_84({
|
|
427
|
+
ref: "callingRef",
|
|
428
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_84));
|
|
429
|
+
/** @type {typeof __VLS_ctx.callingRef} */ ;
|
|
430
|
+
var __VLS_87 = {};
|
|
431
|
+
// @ts-ignore
|
|
432
|
+
[callingRef,];
|
|
433
|
+
var __VLS_86;
|
|
434
|
+
/** @type {__VLS_StyleScopedClasses['go-chat-main']} */ ;
|
|
435
|
+
/** @type {__VLS_StyleScopedClasses['p-8']} */ ;
|
|
436
|
+
/** @type {__VLS_StyleScopedClasses['m-auto']} */ ;
|
|
437
|
+
/** @type {__VLS_StyleScopedClasses['flex-center']} */ ;
|
|
438
|
+
/** @type {__VLS_StyleScopedClasses['sc-full']} */ ;
|
|
439
|
+
/** @type {__VLS_StyleScopedClasses['relative']} */ ;
|
|
440
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
441
|
+
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
442
|
+
/** @type {__VLS_StyleScopedClasses['mx-auto']} */ ;
|
|
443
|
+
/** @type {__VLS_StyleScopedClasses['w-max']} */ ;
|
|
444
|
+
/** @type {__VLS_StyleScopedClasses['max-w-[350px]']} */ ;
|
|
445
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
446
|
+
/** @type {__VLS_StyleScopedClasses['bg-[#F9FAFC]']} */ ;
|
|
447
|
+
/** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
|
|
448
|
+
/** @type {__VLS_StyleScopedClasses['chat-mobile']} */ ;
|
|
449
|
+
/** @type {__VLS_StyleScopedClasses['pt-4']} */ ;
|
|
450
|
+
/** @type {__VLS_StyleScopedClasses['text-[#141B34]']} */ ;
|
|
451
|
+
/** @type {__VLS_StyleScopedClasses['px-6']} */ ;
|
|
452
|
+
/** @type {__VLS_StyleScopedClasses['shrink-0']} */ ;
|
|
453
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
454
|
+
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
455
|
+
/** @type {__VLS_StyleScopedClasses['text-xl']} */ ;
|
|
456
|
+
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
457
|
+
/** @type {__VLS_StyleScopedClasses['text-chat-haze-900']} */ ;
|
|
458
|
+
/** @type {__VLS_StyleScopedClasses['ml-3']} */ ;
|
|
459
|
+
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
460
|
+
/** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
|
|
461
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
462
|
+
/** @type {__VLS_StyleScopedClasses['max-w-[500px]']} */ ;
|
|
463
|
+
/** @type {__VLS_StyleScopedClasses['!bg-[#F9FAFC]']} */ ;
|
|
464
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
465
|
+
/** @type {__VLS_StyleScopedClasses['pt-4']} */ ;
|
|
466
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
467
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
468
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
469
|
+
/** @type {__VLS_StyleScopedClasses['shrink-0']} */ ;
|
|
470
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
471
|
+
/** @type {__VLS_StyleScopedClasses['gap-4']} */ ;
|
|
472
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
473
|
+
/** @type {__VLS_StyleScopedClasses['w-[38%]']} */ ;
|
|
474
|
+
/** @type {__VLS_StyleScopedClasses['max-w-[500px]']} */ ;
|
|
475
|
+
/** @type {__VLS_StyleScopedClasses['chat-box-white']} */ ;
|
|
476
|
+
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
477
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
478
|
+
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
479
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
480
|
+
/** @type {__VLS_StyleScopedClasses['pt-6']} */ ;
|
|
481
|
+
/** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
|
|
482
|
+
/** @type {__VLS_StyleScopedClasses['text-[#141B34]']} */ ;
|
|
483
|
+
/** @type {__VLS_StyleScopedClasses['px-6']} */ ;
|
|
484
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
485
|
+
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
486
|
+
/** @type {__VLS_StyleScopedClasses['text-xl']} */ ;
|
|
487
|
+
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
488
|
+
/** @type {__VLS_StyleScopedClasses['text-chat-haze-900']} */ ;
|
|
489
|
+
/** @type {__VLS_StyleScopedClasses['ml-3']} */ ;
|
|
490
|
+
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
491
|
+
/** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
|
|
492
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
493
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
494
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
495
|
+
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
496
|
+
// @ts-ignore
|
|
497
|
+
var __VLS_19 = __VLS_18, __VLS_28 = __VLS_27, __VLS_34 = __VLS_33, __VLS_55 = __VLS_54, __VLS_68 = __VLS_67, __VLS_74 = __VLS_73, __VLS_88 = __VLS_87;
|
|
498
|
+
const __VLS_export = (await import('vue')).defineComponent({
|
|
499
|
+
__typeProps: {},
|
|
500
|
+
props: {},
|
|
501
|
+
});
|
|
502
|
+
export default {};
|
|
@@ -0,0 +1,2 @@
|
|
|
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;
|