@phonghq/go-chat 1.0.0 → 1.0.1
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 +505 -0
- package/dist/chat/main.d.ts +3 -0
- package/dist/chat/main.js +2 -0
- package/dist/chat/page/customer-appointment/CustomerApointment.vue.d.ts +2 -0
- package/dist/chat/page/customer-appointment/CustomerApointment.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 +234 -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 +382 -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 +224 -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 +47 -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 +261 -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 +182 -0
- package/dist/composable/useInitData.d.ts +11 -0
- package/dist/composable/useInitData.js +82 -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 +66195 -2840
- package/dist/go-chat.umd.js +23 -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 +9 -0
- package/dist/plugins/mqtt.js +129 -0
- package/dist/plugins/sdk.d.ts +19 -0
- package/dist/plugins/sdk.js +83 -0
- package/dist/plugins/websocket.d.ts +1 -0
- package/dist/plugins/websocket.js +26 -0
- package/dist/stores/general.d.ts +48 -0
- package/dist/stores/general.js +39 -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 +1 -0
- package/dist/utils/chat/call.js +10 -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/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,234 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import Avatar from '@/components/chat/customer/Avatar.vue';
|
|
3
|
+
import { PAGE } from '@/constant/general';
|
|
4
|
+
import SubInformation from '@/chat/page/customer-detail/SubInformation.vue';
|
|
5
|
+
import IconMessage from '@/assets/icons/customer-detail/IconMessage.vue';
|
|
6
|
+
import IconPhone from '@/assets/icons/customer-detail/IconPhone.vue';
|
|
7
|
+
import IconCheck from '@/assets/icons/customer-detail/IconCheck.vue';
|
|
8
|
+
import IconDate from '@/assets/icons/customer-detail/IconDate.vue';
|
|
9
|
+
import IconGroup from '@/assets/icons/customer-detail/IconGroup.vue';
|
|
10
|
+
import IconNote from '@/assets/icons/customer-detail/IconNote.vue';
|
|
11
|
+
import IconSearch from '@/assets/icons/customer-detail/IconSearch.vue';
|
|
12
|
+
import IconPin from '@/assets/icons/customer-detail/IconPin.vue';
|
|
13
|
+
import { getUserHistory, user, userHistory } from '../../../utils/chat/user';
|
|
14
|
+
import { computed } from 'vue';
|
|
15
|
+
import { phoneNumberFormat } from '@/utils/string-helper';
|
|
16
|
+
import { routerPush } from '@/utils/chat/chat-router';
|
|
17
|
+
const props = withDefaults(defineProps(), {});
|
|
18
|
+
const customerTotalDetail = computed(() => {
|
|
19
|
+
return [
|
|
20
|
+
{ label: 'Points', value: userHistory.value?.lifetime_point ?? 0 },
|
|
21
|
+
{ label: 'Total Visit', value: userHistory.value?.visit_count ?? 0 },
|
|
22
|
+
{ label: 'Spent', value: userHistory.value?.total_money ?? 0 }
|
|
23
|
+
];
|
|
24
|
+
});
|
|
25
|
+
const information = computed(() => {
|
|
26
|
+
return [
|
|
27
|
+
{ icon: IconMessage, label: '' },
|
|
28
|
+
{ icon: IconPhone, label: phoneNumberFormat(user.value?.phone ?? '', 2) }
|
|
29
|
+
];
|
|
30
|
+
});
|
|
31
|
+
const historyItems = computed(() => {
|
|
32
|
+
return [
|
|
33
|
+
{
|
|
34
|
+
icon: IconCheck,
|
|
35
|
+
label: 'Check In',
|
|
36
|
+
value: userHistory.value?.visit_count
|
|
37
|
+
? userHistory.value?.visit_count + (userHistory.value?.visit_count > 1 ? ' times' : ' time')
|
|
38
|
+
: '',
|
|
39
|
+
click: userHistory.value?.visit_count
|
|
40
|
+
? () => {
|
|
41
|
+
routerPush(PAGE.CUSTOMER_CHECK_IN);
|
|
42
|
+
}
|
|
43
|
+
: null
|
|
44
|
+
},
|
|
45
|
+
{ icon: IconNote, label: 'Orders', value: userHistory.value?.order?.length ?? '' },
|
|
46
|
+
{
|
|
47
|
+
icon: IconDate,
|
|
48
|
+
label: 'Appointments',
|
|
49
|
+
value: userHistory.value?.appointment?.length ?? '',
|
|
50
|
+
click: userHistory.value?.appointment.length
|
|
51
|
+
? () => {
|
|
52
|
+
routerPush(PAGE.CUSTOMER_APPOINTMENT);
|
|
53
|
+
}
|
|
54
|
+
: null
|
|
55
|
+
}
|
|
56
|
+
];
|
|
57
|
+
});
|
|
58
|
+
const otherActions = [
|
|
59
|
+
{ icon: IconSearch, label: 'Search in the conversation' },
|
|
60
|
+
{ icon: IconPin, label: 'Pin Message' },
|
|
61
|
+
{ icon: IconGroup, label: 'Add Groups' }
|
|
62
|
+
];
|
|
63
|
+
const getData = async () => {
|
|
64
|
+
userHistory.value = await getUserHistory(user.value?.phone?.slice(1) ?? '');
|
|
65
|
+
};
|
|
66
|
+
getData();
|
|
67
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
68
|
+
const __VLS_defaults = {};
|
|
69
|
+
const __VLS_ctx = {
|
|
70
|
+
...{},
|
|
71
|
+
...{},
|
|
72
|
+
...{},
|
|
73
|
+
...{},
|
|
74
|
+
};
|
|
75
|
+
let __VLS_elements;
|
|
76
|
+
let __VLS_components;
|
|
77
|
+
let __VLS_directives;
|
|
78
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
79
|
+
...{ class: "chat-padding-page" },
|
|
80
|
+
});
|
|
81
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
82
|
+
...{ class: "flex flex-col items-center mx-auto" },
|
|
83
|
+
});
|
|
84
|
+
/** @type {[typeof Avatar, ]} */ ;
|
|
85
|
+
// @ts-ignore
|
|
86
|
+
const __VLS_0 = __VLS_asFunctionalComponent(Avatar, new Avatar({
|
|
87
|
+
src: (__VLS_ctx.user?.avatar ?? ''),
|
|
88
|
+
color: (__VLS_ctx.user?.color ?? ''),
|
|
89
|
+
name: (__VLS_ctx.user?.username ?? ''),
|
|
90
|
+
size: "xl",
|
|
91
|
+
}));
|
|
92
|
+
const __VLS_1 = __VLS_0({
|
|
93
|
+
src: (__VLS_ctx.user?.avatar ?? ''),
|
|
94
|
+
color: (__VLS_ctx.user?.color ?? ''),
|
|
95
|
+
name: (__VLS_ctx.user?.username ?? ''),
|
|
96
|
+
size: "xl",
|
|
97
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_0));
|
|
98
|
+
// @ts-ignore
|
|
99
|
+
[user, user, user,];
|
|
100
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
101
|
+
...{ class: "flex items-center gap-1 mt-3" },
|
|
102
|
+
});
|
|
103
|
+
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)({
|
|
104
|
+
...{ class: "text-lg font-semibold text-gray-800" },
|
|
105
|
+
});
|
|
106
|
+
(__VLS_ctx.user?.username ?? 'n/a');
|
|
107
|
+
// @ts-ignore
|
|
108
|
+
[user,];
|
|
109
|
+
__VLS_asFunctionalElement(__VLS_elements.img)({
|
|
110
|
+
src: "@/assets/images/icons/new-customer.png",
|
|
111
|
+
});
|
|
112
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
113
|
+
...{ class: " mt-5 text-center mx-auto" },
|
|
114
|
+
...{ class: ({ 'flex justify-between w-max': __VLS_ctx.response == 'tablet', 'grid grid-cols-3 w-full': __VLS_ctx.response == 'mobile' }) },
|
|
115
|
+
});
|
|
116
|
+
// @ts-ignore
|
|
117
|
+
[response, response,];
|
|
118
|
+
for (const [item, i] of __VLS_getVForSourceType((__VLS_ctx.customerTotalDetail))) {
|
|
119
|
+
// @ts-ignore
|
|
120
|
+
[customerTotalDetail,];
|
|
121
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
122
|
+
...{ class: "border-l border-chat-haze-100 first:border-none" },
|
|
123
|
+
...{ class: ({ 'w-full': __VLS_ctx.response == 'mobile', 'w-[130px]': __VLS_ctx.response == 'tablet' }) },
|
|
124
|
+
key: (i),
|
|
125
|
+
});
|
|
126
|
+
// @ts-ignore
|
|
127
|
+
[response, response,];
|
|
128
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
129
|
+
...{ class: "w-full flex items-center justify-center gap-1" },
|
|
130
|
+
});
|
|
131
|
+
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
|
|
132
|
+
...{ class: "text-lg font-semibold text-chat-haze-900" },
|
|
133
|
+
});
|
|
134
|
+
(item.value);
|
|
135
|
+
if (item.icon) {
|
|
136
|
+
__VLS_asFunctionalElement(__VLS_elements.img)({
|
|
137
|
+
src: (item.icon),
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
|
|
141
|
+
...{ class: "text-chat-haze-400" },
|
|
142
|
+
});
|
|
143
|
+
(item.label);
|
|
144
|
+
}
|
|
145
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
146
|
+
...{ class: "w-full py-6" },
|
|
147
|
+
});
|
|
148
|
+
/** @type {[typeof SubInformation, ]} */ ;
|
|
149
|
+
// @ts-ignore
|
|
150
|
+
const __VLS_4 = __VLS_asFunctionalComponent(SubInformation, new SubInformation({
|
|
151
|
+
...{ class: "mb-6" },
|
|
152
|
+
information: (__VLS_ctx.information),
|
|
153
|
+
title: "Information",
|
|
154
|
+
}));
|
|
155
|
+
const __VLS_5 = __VLS_4({
|
|
156
|
+
...{ class: "mb-6" },
|
|
157
|
+
information: (__VLS_ctx.information),
|
|
158
|
+
title: "Information",
|
|
159
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_4));
|
|
160
|
+
// @ts-ignore
|
|
161
|
+
[information,];
|
|
162
|
+
/** @type {[typeof SubInformation, ]} */ ;
|
|
163
|
+
// @ts-ignore
|
|
164
|
+
const __VLS_8 = __VLS_asFunctionalComponent(SubInformation, new SubInformation({
|
|
165
|
+
...{ class: "mb-6" },
|
|
166
|
+
information: (__VLS_ctx.historyItems),
|
|
167
|
+
title: "History",
|
|
168
|
+
}));
|
|
169
|
+
const __VLS_9 = __VLS_8({
|
|
170
|
+
...{ class: "mb-6" },
|
|
171
|
+
information: (__VLS_ctx.historyItems),
|
|
172
|
+
title: "History",
|
|
173
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_8));
|
|
174
|
+
// @ts-ignore
|
|
175
|
+
[historyItems,];
|
|
176
|
+
/** @type {[typeof SubInformation, ]} */ ;
|
|
177
|
+
// @ts-ignore
|
|
178
|
+
const __VLS_12 = __VLS_asFunctionalComponent(SubInformation, new SubInformation({
|
|
179
|
+
...{ class: "" },
|
|
180
|
+
information: (__VLS_ctx.otherActions),
|
|
181
|
+
title: "Other Action",
|
|
182
|
+
}));
|
|
183
|
+
const __VLS_13 = __VLS_12({
|
|
184
|
+
...{ class: "" },
|
|
185
|
+
information: (__VLS_ctx.otherActions),
|
|
186
|
+
title: "Other Action",
|
|
187
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_12));
|
|
188
|
+
// @ts-ignore
|
|
189
|
+
[otherActions,];
|
|
190
|
+
/** @type {__VLS_StyleScopedClasses['']} */ ;
|
|
191
|
+
/** @type {__VLS_StyleScopedClasses['chat-padding-page']} */ ;
|
|
192
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
193
|
+
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
194
|
+
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
195
|
+
/** @type {__VLS_StyleScopedClasses['mx-auto']} */ ;
|
|
196
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
197
|
+
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
198
|
+
/** @type {__VLS_StyleScopedClasses['gap-1']} */ ;
|
|
199
|
+
/** @type {__VLS_StyleScopedClasses['mt-3']} */ ;
|
|
200
|
+
/** @type {__VLS_StyleScopedClasses['text-lg']} */ ;
|
|
201
|
+
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
202
|
+
/** @type {__VLS_StyleScopedClasses['text-gray-800']} */ ;
|
|
203
|
+
/** @type {__VLS_StyleScopedClasses['mt-5']} */ ;
|
|
204
|
+
/** @type {__VLS_StyleScopedClasses['text-center']} */ ;
|
|
205
|
+
/** @type {__VLS_StyleScopedClasses['mx-auto']} */ ;
|
|
206
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
207
|
+
/** @type {__VLS_StyleScopedClasses['justify-between']} */ ;
|
|
208
|
+
/** @type {__VLS_StyleScopedClasses['w-max']} */ ;
|
|
209
|
+
/** @type {__VLS_StyleScopedClasses['grid']} */ ;
|
|
210
|
+
/** @type {__VLS_StyleScopedClasses['grid-cols-3']} */ ;
|
|
211
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
212
|
+
/** @type {__VLS_StyleScopedClasses['border-l']} */ ;
|
|
213
|
+
/** @type {__VLS_StyleScopedClasses['border-chat-haze-100']} */ ;
|
|
214
|
+
/** @type {__VLS_StyleScopedClasses['first:border-none']} */ ;
|
|
215
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
216
|
+
/** @type {__VLS_StyleScopedClasses['w-[130px]']} */ ;
|
|
217
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
218
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
219
|
+
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
220
|
+
/** @type {__VLS_StyleScopedClasses['justify-center']} */ ;
|
|
221
|
+
/** @type {__VLS_StyleScopedClasses['gap-1']} */ ;
|
|
222
|
+
/** @type {__VLS_StyleScopedClasses['text-lg']} */ ;
|
|
223
|
+
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
224
|
+
/** @type {__VLS_StyleScopedClasses['text-chat-haze-900']} */ ;
|
|
225
|
+
/** @type {__VLS_StyleScopedClasses['text-chat-haze-400']} */ ;
|
|
226
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
227
|
+
/** @type {__VLS_StyleScopedClasses['py-6']} */ ;
|
|
228
|
+
/** @type {__VLS_StyleScopedClasses['mb-6']} */ ;
|
|
229
|
+
/** @type {__VLS_StyleScopedClasses['mb-6']} */ ;
|
|
230
|
+
const __VLS_export = (await import('vue')).defineComponent({
|
|
231
|
+
__typeProps: {},
|
|
232
|
+
props: {},
|
|
233
|
+
});
|
|
234
|
+
export default {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
type InformationItem = {
|
|
3
|
+
icon: Component;
|
|
4
|
+
label: string;
|
|
5
|
+
value?: string;
|
|
6
|
+
click?: (data?: any) => any;
|
|
7
|
+
};
|
|
8
|
+
type Props = {
|
|
9
|
+
information?: InformationItem[];
|
|
10
|
+
title: string;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
|
+
title: string;
|
|
14
|
+
information: InformationItem[];
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import IconArrow from '@/assets/icons/customer-detail/IconArrow.vue';
|
|
3
|
+
const props = withDefaults(defineProps(), {
|
|
4
|
+
information: [],
|
|
5
|
+
title: ''
|
|
6
|
+
});
|
|
7
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
8
|
+
const __VLS_defaults = {
|
|
9
|
+
information: [],
|
|
10
|
+
title: ''
|
|
11
|
+
};
|
|
12
|
+
const __VLS_ctx = {
|
|
13
|
+
...{},
|
|
14
|
+
...{},
|
|
15
|
+
...{},
|
|
16
|
+
...{},
|
|
17
|
+
};
|
|
18
|
+
let __VLS_elements;
|
|
19
|
+
let __VLS_components;
|
|
20
|
+
let __VLS_directives;
|
|
21
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
22
|
+
...{ class: "w-full" },
|
|
23
|
+
});
|
|
24
|
+
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)({
|
|
25
|
+
...{ class: "text-chat-haze-500 font-semibold" },
|
|
26
|
+
});
|
|
27
|
+
(__VLS_ctx.title);
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
[title,];
|
|
30
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
31
|
+
...{ class: "bg-white rounded-xl border border-chat-haze-100 mt-1 p-4 space-y-4" },
|
|
32
|
+
});
|
|
33
|
+
for (const [item, x] of __VLS_getVForSourceType((__VLS_ctx.information))) {
|
|
34
|
+
(x);
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
[information,];
|
|
37
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
38
|
+
...{ onClick: (...[$event]) => {
|
|
39
|
+
item.click?.();
|
|
40
|
+
} },
|
|
41
|
+
...{ class: "flex items-center gap-1 " },
|
|
42
|
+
...{ class: ({ 'cursor-pointer': item.click }) },
|
|
43
|
+
});
|
|
44
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
45
|
+
...{ class: "flex items-center gap-1 grow text-chat-haze-900" },
|
|
46
|
+
});
|
|
47
|
+
const __VLS_0 = ((item.icon));
|
|
48
|
+
// @ts-ignore
|
|
49
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({}));
|
|
50
|
+
const __VLS_2 = __VLS_1({}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
51
|
+
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
|
|
52
|
+
(item.label);
|
|
53
|
+
if (item.value) {
|
|
54
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
55
|
+
...{ class: "flex items-center text-chat-haze-300" },
|
|
56
|
+
});
|
|
57
|
+
(item.value);
|
|
58
|
+
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
|
|
59
|
+
...{ class: "ml-1" },
|
|
60
|
+
});
|
|
61
|
+
/** @type {[typeof IconArrow, ]} */ ;
|
|
62
|
+
// @ts-ignore
|
|
63
|
+
const __VLS_5 = __VLS_asFunctionalComponent(IconArrow, new IconArrow({}));
|
|
64
|
+
const __VLS_6 = __VLS_5({}, ...__VLS_functionalComponentArgsRest(__VLS_5));
|
|
65
|
+
}
|
|
66
|
+
__VLS_asFunctionalElement(__VLS_elements.hr)({
|
|
67
|
+
...{ class: "border-chat-haze-100 mx-6" },
|
|
68
|
+
});
|
|
69
|
+
__VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (x < __VLS_ctx.information.length - 1) }, null, null);
|
|
70
|
+
// @ts-ignore
|
|
71
|
+
[information,];
|
|
72
|
+
}
|
|
73
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
74
|
+
/** @type {__VLS_StyleScopedClasses['text-chat-haze-500']} */ ;
|
|
75
|
+
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
76
|
+
/** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
|
|
77
|
+
/** @type {__VLS_StyleScopedClasses['rounded-xl']} */ ;
|
|
78
|
+
/** @type {__VLS_StyleScopedClasses['border']} */ ;
|
|
79
|
+
/** @type {__VLS_StyleScopedClasses['border-chat-haze-100']} */ ;
|
|
80
|
+
/** @type {__VLS_StyleScopedClasses['mt-1']} */ ;
|
|
81
|
+
/** @type {__VLS_StyleScopedClasses['p-4']} */ ;
|
|
82
|
+
/** @type {__VLS_StyleScopedClasses['space-y-4']} */ ;
|
|
83
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
84
|
+
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
85
|
+
/** @type {__VLS_StyleScopedClasses['gap-1']} */ ;
|
|
86
|
+
/** @type {__VLS_StyleScopedClasses['cursor-pointer']} */ ;
|
|
87
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
88
|
+
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
89
|
+
/** @type {__VLS_StyleScopedClasses['gap-1']} */ ;
|
|
90
|
+
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
91
|
+
/** @type {__VLS_StyleScopedClasses['text-chat-haze-900']} */ ;
|
|
92
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
93
|
+
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
94
|
+
/** @type {__VLS_StyleScopedClasses['text-chat-haze-300']} */ ;
|
|
95
|
+
/** @type {__VLS_StyleScopedClasses['ml-1']} */ ;
|
|
96
|
+
/** @type {__VLS_StyleScopedClasses['border-chat-haze-100']} */ ;
|
|
97
|
+
/** @type {__VLS_StyleScopedClasses['mx-6']} */ ;
|
|
98
|
+
const __VLS_export = (await import('vue')).defineComponent({
|
|
99
|
+
__typeProps: {},
|
|
100
|
+
props: {},
|
|
101
|
+
});
|
|
102
|
+
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;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import { logout } from '@/utils/chat/auth.js';
|
|
3
|
+
const reload = () => window.location.reload();
|
|
4
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
5
|
+
const __VLS_ctx = {
|
|
6
|
+
...{},
|
|
7
|
+
...{},
|
|
8
|
+
};
|
|
9
|
+
let __VLS_elements;
|
|
10
|
+
let __VLS_components;
|
|
11
|
+
let __VLS_directives;
|
|
12
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
13
|
+
...{ class: "m-auto w-max" },
|
|
14
|
+
});
|
|
15
|
+
__VLS_asFunctionalElement(__VLS_elements.h1, __VLS_elements.h1)({
|
|
16
|
+
...{ class: "font-bold text-chat-haze-900 text-center mb-2" },
|
|
17
|
+
...{ style: {} },
|
|
18
|
+
});
|
|
19
|
+
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({
|
|
20
|
+
...{ class: "text-chat-haze-500 text-center mb-8" },
|
|
21
|
+
...{ style: {} },
|
|
22
|
+
});
|
|
23
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
24
|
+
...{ class: "flex gap-4" },
|
|
25
|
+
});
|
|
26
|
+
__VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
|
|
27
|
+
...{ onClick: (...[$event]) => {
|
|
28
|
+
__VLS_ctx.reload();
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
[reload,];
|
|
31
|
+
} },
|
|
32
|
+
...{ class: "px-6 py-2 bg-[#004AB3] text-white rounded-lg" },
|
|
33
|
+
});
|
|
34
|
+
__VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
|
|
35
|
+
...{ onClick: (...[$event]) => {
|
|
36
|
+
__VLS_ctx.logout();
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
[logout,];
|
|
39
|
+
} },
|
|
40
|
+
...{ class: "px-6 py-2 bg-[#004AB3] text-white rounded-lg" },
|
|
41
|
+
});
|
|
42
|
+
/** @type {__VLS_StyleScopedClasses['m-auto']} */ ;
|
|
43
|
+
/** @type {__VLS_StyleScopedClasses['w-max']} */ ;
|
|
44
|
+
/** @type {__VLS_StyleScopedClasses['font-bold']} */ ;
|
|
45
|
+
/** @type {__VLS_StyleScopedClasses['text-chat-haze-900']} */ ;
|
|
46
|
+
/** @type {__VLS_StyleScopedClasses['text-center']} */ ;
|
|
47
|
+
/** @type {__VLS_StyleScopedClasses['mb-2']} */ ;
|
|
48
|
+
/** @type {__VLS_StyleScopedClasses['text-chat-haze-500']} */ ;
|
|
49
|
+
/** @type {__VLS_StyleScopedClasses['text-center']} */ ;
|
|
50
|
+
/** @type {__VLS_StyleScopedClasses['mb-8']} */ ;
|
|
51
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
52
|
+
/** @type {__VLS_StyleScopedClasses['gap-4']} */ ;
|
|
53
|
+
/** @type {__VLS_StyleScopedClasses['px-6']} */ ;
|
|
54
|
+
/** @type {__VLS_StyleScopedClasses['py-2']} */ ;
|
|
55
|
+
/** @type {__VLS_StyleScopedClasses['bg-[#004AB3]']} */ ;
|
|
56
|
+
/** @type {__VLS_StyleScopedClasses['text-white']} */ ;
|
|
57
|
+
/** @type {__VLS_StyleScopedClasses['rounded-lg']} */ ;
|
|
58
|
+
/** @type {__VLS_StyleScopedClasses['px-6']} */ ;
|
|
59
|
+
/** @type {__VLS_StyleScopedClasses['py-2']} */ ;
|
|
60
|
+
/** @type {__VLS_StyleScopedClasses['bg-[#004AB3]']} */ ;
|
|
61
|
+
/** @type {__VLS_StyleScopedClasses['text-white']} */ ;
|
|
62
|
+
/** @type {__VLS_StyleScopedClasses['rounded-lg']} */ ;
|
|
63
|
+
const __VLS_export = (await import('vue')).defineComponent({});
|
|
64
|
+
export default {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PAGE_RESPONSE } from '@/types/chat/global';
|
|
2
|
+
type Props = {
|
|
3
|
+
response: PAGE_RESPONSE;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Props = Props;
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
'receiverId'?: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
11
|
+
handleReadMessage: () => void;
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:receiverId": (value: any) => any;
|
|
14
|
+
} & {
|
|
15
|
+
selectReceiver: (val: any) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
+
onSelectReceiver?: ((val: any) => any) | undefined;
|
|
18
|
+
"onUpdate:receiverId"?: ((value: any) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|