@phonghq/go-chat 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/go-chat.es.js +6578 -6530
- package/dist/go-chat.umd.js +14 -14
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/assets/icons/IconArrowLeft.vue.d.ts +0 -2
- package/dist/assets/icons/IconArrowLeft.vue.js +0 -29
- package/dist/assets/icons/IconPhone.vue.d.ts +0 -2
- package/dist/assets/icons/IconPhone.vue.js +0 -19
- package/dist/assets/icons/IconPlan.vue.d.ts +0 -2
- package/dist/assets/icons/IconPlan.vue.js +0 -19
- package/dist/assets/icons/IconPlus.vue.d.ts +0 -2
- package/dist/assets/icons/IconPlus.vue.js +0 -22
- package/dist/assets/icons/IconSearch.vue.d.ts +0 -32
- package/dist/assets/icons/IconSearch.vue.js +0 -68
- package/dist/assets/icons/call/IconMic.vue.d.ts +0 -14
- package/dist/assets/icons/call/IconMic.vue.js +0 -123
- package/dist/assets/icons/call/IconPhone.vue.d.ts +0 -2
- package/dist/assets/icons/call/IconPhone.vue.js +0 -35
- package/dist/assets/icons/call/IconPhoneCancel.vue.d.ts +0 -2
- package/dist/assets/icons/call/IconPhoneCancel.vue.js +0 -35
- package/dist/assets/icons/call/IconSpeaker.vue.d.ts +0 -14
- package/dist/assets/icons/call/IconSpeaker.vue.js +0 -62
- package/dist/assets/icons/customer-appointment/IconFilter.vue.d.ts +0 -2
- package/dist/assets/icons/customer-appointment/IconFilter.vue.js +0 -53
- package/dist/assets/icons/customer-detail/IconArrow.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconArrow.vue.js +0 -22
- package/dist/assets/icons/customer-detail/IconCheck.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconCheck.vue.js +0 -27
- package/dist/assets/icons/customer-detail/IconDate.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconDate.vue.js +0 -43
- package/dist/assets/icons/customer-detail/IconGroup.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconGroup.vue.js +0 -48
- package/dist/assets/icons/customer-detail/IconMessage.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconMessage.vue.js +0 -28
- package/dist/assets/icons/customer-detail/IconNote.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconNote.vue.js +0 -29
- package/dist/assets/icons/customer-detail/IconPhone.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconPhone.vue.js +0 -21
- package/dist/assets/icons/customer-detail/IconPin.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconPin.vue.js +0 -29
- package/dist/assets/icons/customer-detail/IconSearch.vue.d.ts +0 -2
- package/dist/assets/icons/customer-detail/IconSearch.vue.js +0 -29
- package/dist/chat/App.vue.d.ts +0 -5
- package/dist/chat/App.vue.js +0 -502
- package/dist/chat/main.d.ts +0 -3
- package/dist/chat/main.js +0 -2
- package/dist/chat/page/customer-appointment/CustomerAppointment.vue.d.ts +0 -2
- package/dist/chat/page/customer-appointment/CustomerAppointment.vue.js +0 -207
- package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.d.ts +0 -12
- package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.js +0 -80
- package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.d.ts +0 -2
- package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.js +0 -136
- package/dist/chat/page/customer-detail/CustomerDetail.vue.d.ts +0 -7
- package/dist/chat/page/customer-detail/CustomerDetail.vue.js +0 -235
- package/dist/chat/page/customer-detail/SubInformation.vue.d.ts +0 -16
- package/dist/chat/page/customer-detail/SubInformation.vue.js +0 -102
- package/dist/chat/page/error/Error.vue.d.ts +0 -2
- package/dist/chat/page/error/Error.vue.js +0 -64
- package/dist/chat/page/home/ChatList.vue.d.ts +0 -20
- package/dist/chat/page/home/ChatList.vue.js +0 -380
- package/dist/chat/page/home/ChatMessage.vue.d.ts +0 -16
- package/dist/chat/page/home/ChatMessage.vue.js +0 -271
- package/dist/chat/page/home/Home.vue.d.ts +0 -14
- package/dist/chat/page/home/Home.vue.js +0 -327
- package/dist/chat/page/home/HomeHeader.vue.d.ts +0 -10
- package/dist/chat/page/home/HomeHeader.vue.js +0 -122
- package/dist/chat/page/home/InputChat.vue.d.ts +0 -19
- package/dist/chat/page/home/InputChat.vue.js +0 -226
- package/dist/chat/page/home/NewCustomer.vue.d.ts +0 -6
- package/dist/chat/page/home/NewCustomer.vue.js +0 -82
- package/dist/components/ListenEvent.vue.d.ts +0 -2
- package/dist/components/ListenEvent.vue.js +0 -45
- package/dist/components/chat/ScrollEvent/ScrollEvent.vue.d.ts +0 -22
- package/dist/components/chat/ScrollEvent/ScrollEvent.vue.js +0 -197
- package/dist/components/chat/call/Calling.vue.d.ts +0 -7
- package/dist/components/chat/call/Calling.vue.js +0 -291
- package/dist/components/chat/card/CardCustomerDetail.vue.d.ts +0 -13
- package/dist/components/chat/card/CardCustomerDetail.vue.js +0 -28
- package/dist/components/chat/common/collapse/CollapseBase.vue.d.ts +0 -20
- package/dist/components/chat/common/collapse/CollapseBase.vue.js +0 -59
- package/dist/components/chat/common/input/InputSearch.vue.d.ts +0 -16
- package/dist/components/chat/common/input/InputSearch.vue.js +0 -71
- package/dist/components/chat/common/popover/PopoverBase.vue.d.ts +0 -35
- package/dist/components/chat/common/popover/PopoverBase.vue.js +0 -148
- package/dist/components/chat/common/spin/BaseSpin.vue.d.ts +0 -2
- package/dist/components/chat/common/spin/BaseSpin.vue.js +0 -12
- package/dist/components/chat/customer/Avatar.vue.d.ts +0 -11
- package/dist/components/chat/customer/Avatar.vue.js +0 -79
- package/dist/components/chat/layout/mobile/Footer.vue.d.ts +0 -2
- package/dist/components/chat/layout/mobile/Footer.vue.js +0 -109
- package/dist/components/common/CustomLoading.vue.d.ts +0 -2
- package/dist/components/common/CustomLoading.vue.js +0 -19
- package/dist/components/common/Notification/NotificationDescription.vue.d.ts +0 -7
- package/dist/components/common/Notification/NotificationDescription.vue.js +0 -38
- package/dist/components/common/button/ButtonBase.vue.d.ts +0 -22
- package/dist/components/common/button/ButtonBase.vue.js +0 -78
- package/dist/components/common/button/ButtonToggle.vue.d.ts +0 -20
- package/dist/components/common/button/ButtonToggle.vue.js +0 -70
- package/dist/components/common/checkbox/CCheckboxNumber.vue.d.ts +0 -16
- package/dist/components/common/checkbox/CCheckboxNumber.vue.js +0 -48
- package/dist/components/common/collapse/BaseCollapse.vue.d.ts +0 -12
- package/dist/components/common/collapse/BaseCollapse.vue.js +0 -36
- package/dist/components/common/collapse/BaseCollapseItem.vue.d.ts +0 -4
- package/dist/components/common/collapse/BaseCollapseItem.vue.js +0 -22
- package/dist/components/common/drawer/DrawerBase.vue.d.ts +0 -39
- package/dist/components/common/drawer/DrawerBase.vue.js +0 -126
- package/dist/components/common/dropdown/DropdownBase.vue.d.ts +0 -21
- package/dist/components/common/dropdown/DropdownBase.vue.js +0 -91
- package/dist/components/common/input/CInputSearch.vue.d.ts +0 -14
- package/dist/components/common/input/CInputSearch.vue.js +0 -62
- package/dist/components/common/modal/ModalBase.vue.d.ts +0 -35
- package/dist/components/common/modal/ModalBase.vue.js +0 -164
- package/dist/components/common/popover/PopoverBase.vue.d.ts +0 -3
- package/dist/components/common/popover/PopoverBase.vue.js +0 -36
- package/dist/components/common/slider/BaseSlider.vue.d.ts +0 -11
- package/dist/components/common/slider/BaseSlider.vue.js +0 -70
- package/dist/components/common/spin/CSpin.vue.d.ts +0 -9
- package/dist/components/common/spin/CSpin.vue.js +0 -41
- package/dist/components/common/tooltip/TooltipBase.vue.d.ts +0 -2
- package/dist/components/common/tooltip/TooltipBase.vue.js +0 -8
- package/dist/components/layout/Blank.vue.d.ts +0 -9
- package/dist/components/layout/Blank.vue.js +0 -19
- package/dist/components/layout/Default.vue.d.ts +0 -9
- package/dist/components/layout/Default.vue.js +0 -21
- package/dist/components/modal/Confirm.vue.d.ts +0 -2
- package/dist/components/modal/Confirm.vue.js +0 -164
- package/dist/components/ui/button/CButton.vue.d.ts +0 -19
- package/dist/components/ui/button/CButton.vue.js +0 -49
- package/dist/components/ui/button/c-button.d.ts +0 -7
- package/dist/components/ui/button/c-button.js +0 -26
- package/dist/components/ui/checkbox/Checkbox.vue.d.ts +0 -18
- package/dist/components/ui/checkbox/Checkbox.vue.js +0 -79
- package/dist/components/ui/checkbox/index.d.ts +0 -1
- package/dist/components/ui/checkbox/index.js +0 -1
- package/dist/components/ui/collapsible/Collapsible.vue.d.ts +0 -16
- package/dist/components/ui/collapsible/Collapsible.vue.js +0 -47
- package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +0 -10
- package/dist/components/ui/collapsible/CollapsibleContent.vue.js +0 -41
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +0 -10
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.js +0 -35
- package/dist/components/ui/collapsible/index.d.ts +0 -3
- package/dist/components/ui/collapsible/index.js +0 -3
- package/dist/components/ui/dialog/Dialog.vue.d.ts +0 -14
- package/dist/components/ui/dialog/Dialog.vue.js +0 -42
- package/dist/components/ui/dialog/DialogClose.vue.d.ts +0 -10
- package/dist/components/ui/dialog/DialogClose.vue.js +0 -35
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -29
- package/dist/components/ui/dialog/DialogContent.vue.js +0 -84
- package/dist/components/ui/dialog/DialogDescription.vue.d.ts +0 -14
- package/dist/components/ui/dialog/DialogDescription.vue.js +0 -43
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +0 -13
- package/dist/components/ui/dialog/DialogFooter.vue.js +0 -26
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts +0 -13
- package/dist/components/ui/dialog/DialogHeader.vue.js +0 -26
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +0 -30
- package/dist/components/ui/dialog/DialogScrollContent.vue.js +0 -99
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts +0 -14
- package/dist/components/ui/dialog/DialogTitle.vue.js +0 -43
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +0 -10
- package/dist/components/ui/dialog/DialogTrigger.vue.js +0 -35
- package/dist/components/ui/dialog/index.d.ts +0 -9
- package/dist/components/ui/dialog/index.js +0 -9
- package/dist/components/ui/drawer/Drawer.vue.d.ts +0 -26
- package/dist/components/ui/drawer/Drawer.vue.js +0 -48
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +0 -33
- package/dist/components/ui/drawer/DrawerContent.vue.js +0 -81
- package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +0 -14
- package/dist/components/ui/drawer/DrawerDescription.vue.js +0 -42
- package/dist/components/ui/drawer/DrawerFooter.vue.d.ts +0 -13
- package/dist/components/ui/drawer/DrawerFooter.vue.js +0 -26
- package/dist/components/ui/drawer/DrawerHeader.vue.d.ts +0 -13
- package/dist/components/ui/drawer/DrawerHeader.vue.js +0 -26
- package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +0 -7
- package/dist/components/ui/drawer/DrawerOverlay.vue.js +0 -37
- package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +0 -14
- package/dist/components/ui/drawer/DrawerTitle.vue.js +0 -42
- package/dist/components/ui/drawer/index.d.ts +0 -8
- package/dist/components/ui/drawer/index.js +0 -8
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -14
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.js +0 -41
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +0 -20
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.js +0 -79
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -28
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.js +0 -61
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +0 -10
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.js +0 -35
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +0 -15
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.js +0 -43
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +0 -15
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.js +0 -43
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +0 -14
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.js +0 -41
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +0 -18
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.js +0 -80
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +0 -7
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.js +0 -37
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +0 -13
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.js +0 -26
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +0 -14
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.js +0 -41
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +0 -30
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.js +0 -46
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +0 -14
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.js +0 -58
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +0 -10
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.js +0 -41
- package/dist/components/ui/dropdown-menu/index.d.ts +0 -15
- package/dist/components/ui/dropdown-menu/index.js +0 -15
- package/dist/components/ui/popover/Popover.vue.d.ts +0 -14
- package/dist/components/ui/popover/Popover.vue.js +0 -41
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -28
- package/dist/components/ui/popover/PopoverContent.vue.js +0 -60
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -10
- package/dist/components/ui/popover/PopoverTrigger.vue.js +0 -35
- package/dist/components/ui/popover/index.d.ts +0 -3
- package/dist/components/ui/popover/index.js +0 -3
- package/dist/components/ui/radio-group/RadioGroup.vue.d.ts +0 -18
- package/dist/components/ui/radio-group/RadioGroup.vue.js +0 -46
- package/dist/components/ui/radio-group/RadioGroupItem.vue.d.ts +0 -7
- package/dist/components/ui/radio-group/RadioGroupItem.vue.js +0 -71
- package/dist/components/ui/radio-group/index.d.ts +0 -2
- package/dist/components/ui/radio-group/index.js +0 -2
- package/dist/components/ui/slider/Slider.vue.d.ts +0 -13
- package/dist/components/ui/slider/Slider.vue.js +0 -155
- package/dist/components/ui/slider/index.d.ts +0 -1
- package/dist/components/ui/slider/index.js +0 -1
- package/dist/components/ui/switch/Switch.vue.d.ts +0 -18
- package/dist/components/ui/switch/Switch.vue.js +0 -61
- package/dist/components/ui/switch/index.d.ts +0 -1
- package/dist/components/ui/switch/index.js +0 -1
- package/dist/composable/useCallHelper.d.ts +0 -23
- package/dist/composable/useCallHelper.js +0 -170
- package/dist/composable/useInitData.d.ts +0 -11
- package/dist/composable/useInitData.js +0 -84
- package/dist/composable/useModalConfirm.d.ts +0 -5
- package/dist/composable/useModalConfirm.js +0 -39
- package/dist/constant/color.d.ts +0 -22
- package/dist/constant/color.js +0 -43
- package/dist/constant/datetime.d.ts +0 -5
- package/dist/constant/datetime.js +0 -5
- package/dist/constant/general.d.ts +0 -8
- package/dist/constant/general.js +0 -9
- package/dist/constant/message.d.ts +0 -8
- package/dist/constant/message.js +0 -8
- package/dist/constant/mqtt.d.ts +0 -4
- package/dist/constant/mqtt.js +0 -11
- package/dist/constant/user.d.ts +0 -8
- package/dist/constant/user.js +0 -9
- package/dist/lib/utils.d.ts +0 -2
- package/dist/lib/utils.js +0 -5
- package/dist/plugins/axios-gci.d.ts +0 -3
- package/dist/plugins/axios-gci.js +0 -25
- package/dist/plugins/axios.d.ts +0 -3
- package/dist/plugins/axios.js +0 -85
- package/dist/plugins/mqtt.d.ts +0 -10
- package/dist/plugins/mqtt.js +0 -128
- package/dist/plugins/sdk.d.ts +0 -19
- package/dist/plugins/sdk.js +0 -83
- package/dist/plugins/websocket.d.ts +0 -4
- package/dist/plugins/websocket.js +0 -65
- package/dist/types/chat/user.d.ts +0 -88
- package/dist/types/chat/user.js +0 -1
- package/dist/types/conversation.d.ts +0 -18
- package/dist/types/conversation.js +0 -1
- package/dist/utils/chat/auth.d.ts +0 -45
- package/dist/utils/chat/auth.js +0 -51
- package/dist/utils/chat/call.d.ts +0 -5
- package/dist/utils/chat/call.js +0 -61
- package/dist/utils/chat/chat-router.d.ts +0 -3
- package/dist/utils/chat/chat-router.js +0 -9
- package/dist/utils/chat/conversation.d.ts +0 -3
- package/dist/utils/chat/conversation.js +0 -7
- package/dist/utils/chat/message.d.ts +0 -17
- package/dist/utils/chat/message.js +0 -42
- package/dist/utils/chat/user.d.ts +0 -193
- package/dist/utils/chat/user.js +0 -33
- package/dist/utils/debounce.d.ts +0 -1
- package/dist/utils/debounce.js +0 -9
- package/dist/utils/json.d.ts +0 -2
- package/dist/utils/json.js +0 -18
- package/dist/utils/logger.d.ts +0 -3
- package/dist/utils/logger.js +0 -5
- package/dist/utils/string-helper.d.ts +0 -1
- package/dist/utils/string-helper.js +0 -27
|
@@ -1,235 +0,0 @@
|
|
|
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 overflow-auto" },
|
|
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['overflow-auto']} */ ;
|
|
193
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
194
|
-
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
195
|
-
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
196
|
-
/** @type {__VLS_StyleScopedClasses['mx-auto']} */ ;
|
|
197
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
198
|
-
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
199
|
-
/** @type {__VLS_StyleScopedClasses['gap-1']} */ ;
|
|
200
|
-
/** @type {__VLS_StyleScopedClasses['mt-3']} */ ;
|
|
201
|
-
/** @type {__VLS_StyleScopedClasses['text-lg']} */ ;
|
|
202
|
-
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
203
|
-
/** @type {__VLS_StyleScopedClasses['text-gray-800']} */ ;
|
|
204
|
-
/** @type {__VLS_StyleScopedClasses['mt-5']} */ ;
|
|
205
|
-
/** @type {__VLS_StyleScopedClasses['text-center']} */ ;
|
|
206
|
-
/** @type {__VLS_StyleScopedClasses['mx-auto']} */ ;
|
|
207
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
208
|
-
/** @type {__VLS_StyleScopedClasses['justify-between']} */ ;
|
|
209
|
-
/** @type {__VLS_StyleScopedClasses['w-max']} */ ;
|
|
210
|
-
/** @type {__VLS_StyleScopedClasses['grid']} */ ;
|
|
211
|
-
/** @type {__VLS_StyleScopedClasses['grid-cols-3']} */ ;
|
|
212
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
213
|
-
/** @type {__VLS_StyleScopedClasses['border-l']} */ ;
|
|
214
|
-
/** @type {__VLS_StyleScopedClasses['border-chat-haze-100']} */ ;
|
|
215
|
-
/** @type {__VLS_StyleScopedClasses['first:border-none']} */ ;
|
|
216
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
217
|
-
/** @type {__VLS_StyleScopedClasses['w-[130px]']} */ ;
|
|
218
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
219
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
220
|
-
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
221
|
-
/** @type {__VLS_StyleScopedClasses['justify-center']} */ ;
|
|
222
|
-
/** @type {__VLS_StyleScopedClasses['gap-1']} */ ;
|
|
223
|
-
/** @type {__VLS_StyleScopedClasses['text-lg']} */ ;
|
|
224
|
-
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
225
|
-
/** @type {__VLS_StyleScopedClasses['text-chat-haze-900']} */ ;
|
|
226
|
-
/** @type {__VLS_StyleScopedClasses['text-chat-haze-400']} */ ;
|
|
227
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
228
|
-
/** @type {__VLS_StyleScopedClasses['py-6']} */ ;
|
|
229
|
-
/** @type {__VLS_StyleScopedClasses['mb-6']} */ ;
|
|
230
|
-
/** @type {__VLS_StyleScopedClasses['mb-6']} */ ;
|
|
231
|
-
const __VLS_export = (await import('vue')).defineComponent({
|
|
232
|
-
__typeProps: {},
|
|
233
|
-
props: {},
|
|
234
|
-
});
|
|
235
|
-
export default {};
|
|
@@ -1,16 +0,0 @@
|
|
|
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;
|
|
@@ -1,102 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,64 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { 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;
|