@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,48 +0,0 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
-
import { computed } from 'vue';
|
|
3
|
-
import { Checkbox } from "../../../components/ui/checkbox";
|
|
4
|
-
const props = defineProps();
|
|
5
|
-
const emit = defineEmits();
|
|
6
|
-
const checked = computed({
|
|
7
|
-
get: () => props.modelValue === 1,
|
|
8
|
-
set: val => emit('update:modelValue', val ? 1 : 0)
|
|
9
|
-
});
|
|
10
|
-
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
11
|
-
const __VLS_ctx = {
|
|
12
|
-
...{},
|
|
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: "flex justify-center items-center" },
|
|
23
|
-
});
|
|
24
|
-
const __VLS_0 = {}.Checkbox;
|
|
25
|
-
/** @type {[typeof __VLS_components.Checkbox, ]} */ ;
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
Checkbox;
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
30
|
-
modelValue: (__VLS_ctx.checked),
|
|
31
|
-
}));
|
|
32
|
-
const __VLS_2 = __VLS_1({
|
|
33
|
-
modelValue: (__VLS_ctx.checked),
|
|
34
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
[checked,];
|
|
37
|
-
var __VLS_5 = {};
|
|
38
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
39
|
-
/** @type {__VLS_StyleScopedClasses['justify-center']} */ ;
|
|
40
|
-
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
41
|
-
// @ts-ignore
|
|
42
|
-
var __VLS_6 = __VLS_5;
|
|
43
|
-
const __VLS_base = (await import('vue')).defineComponent({
|
|
44
|
-
__typeEmits: {},
|
|
45
|
-
__typeProps: {},
|
|
46
|
-
});
|
|
47
|
-
const __VLS_export = {};
|
|
48
|
-
export default {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
modelValue: string[] | number[];
|
|
3
|
-
bordered?: boolean;
|
|
4
|
-
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
-
"update:modelValue": (val: string[] | number[]) => any;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
8
|
-
"onUpdate:modelValue"?: ((val: string[] | number[]) => any) | undefined;
|
|
9
|
-
}>, {
|
|
10
|
-
bordered: boolean;
|
|
11
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
-
import { computed } from 'vue';
|
|
3
|
-
const props = withDefaults(defineProps(), {
|
|
4
|
-
ghost: false,
|
|
5
|
-
expandIconPosition: 'end',
|
|
6
|
-
bordered: false
|
|
7
|
-
});
|
|
8
|
-
const emits = defineEmits();
|
|
9
|
-
const activeKey = computed({
|
|
10
|
-
get: () => props.modelValue,
|
|
11
|
-
set: (val) => {
|
|
12
|
-
emits('update:modelValue', val);
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
16
|
-
const __VLS_defaults = {
|
|
17
|
-
ghost: false,
|
|
18
|
-
expandIconPosition: 'end',
|
|
19
|
-
bordered: false
|
|
20
|
-
};
|
|
21
|
-
const __VLS_ctx = {
|
|
22
|
-
...{},
|
|
23
|
-
...{},
|
|
24
|
-
...{},
|
|
25
|
-
...{},
|
|
26
|
-
...{},
|
|
27
|
-
};
|
|
28
|
-
let __VLS_elements;
|
|
29
|
-
let __VLS_components;
|
|
30
|
-
let __VLS_directives;
|
|
31
|
-
const __VLS_export = (await import('vue')).defineComponent({
|
|
32
|
-
__typeEmits: {},
|
|
33
|
-
__typeProps: {},
|
|
34
|
-
props: {},
|
|
35
|
-
});
|
|
36
|
-
export default {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
}
|
|
3
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
-
const props = withDefaults(defineProps(), {
|
|
3
|
-
collapsible: null
|
|
4
|
-
});
|
|
5
|
-
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
6
|
-
const __VLS_defaults = {
|
|
7
|
-
collapsible: null
|
|
8
|
-
};
|
|
9
|
-
const __VLS_ctx = {
|
|
10
|
-
...{},
|
|
11
|
-
...{},
|
|
12
|
-
...{},
|
|
13
|
-
...{},
|
|
14
|
-
};
|
|
15
|
-
let __VLS_elements;
|
|
16
|
-
let __VLS_components;
|
|
17
|
-
let __VLS_directives;
|
|
18
|
-
const __VLS_export = (await import('vue')).defineComponent({
|
|
19
|
-
__typeProps: {},
|
|
20
|
-
props: {},
|
|
21
|
-
});
|
|
22
|
-
export default {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { DrawerRootProps } from 'vaul-vue';
|
|
2
|
-
type Props = {
|
|
3
|
-
title?: string;
|
|
4
|
-
placement?: DrawerRootProps['direction'];
|
|
5
|
-
width?: string | number;
|
|
6
|
-
showButtonClose?: boolean;
|
|
7
|
-
showTitle?: boolean;
|
|
8
|
-
disableClose?: boolean;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_Props = Props;
|
|
11
|
-
type __VLS_ModelProps = {
|
|
12
|
-
'open'?: boolean;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
15
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_PublicProps, {
|
|
16
|
-
show: () => void;
|
|
17
|
-
hide: () => void;
|
|
18
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
-
"update:open": (value: boolean | undefined) => any;
|
|
20
|
-
} & {
|
|
21
|
-
"update:open": (value: boolean) => any;
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
24
|
-
}>, {
|
|
25
|
-
title: string;
|
|
26
|
-
width: string | number;
|
|
27
|
-
placement: import("vaul-vue").DrawerDirection;
|
|
28
|
-
showButtonClose: boolean;
|
|
29
|
-
showTitle: boolean;
|
|
30
|
-
disableClose: boolean;
|
|
31
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
32
|
-
content?: ((props: {}) => any) | undefined;
|
|
33
|
-
}>;
|
|
34
|
-
export default _default;
|
|
35
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
-
new (): {
|
|
37
|
-
$slots: S;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
-
// COMPONENT
|
|
3
|
-
import { Drawer, DrawerContent, DrawerHeader } from '../../../components/ui/drawer';
|
|
4
|
-
const props = withDefaults(defineProps(), {
|
|
5
|
-
title: 'This is title',
|
|
6
|
-
placement: 'right',
|
|
7
|
-
width: 250,
|
|
8
|
-
showButtonClose: true,
|
|
9
|
-
showTitle: true,
|
|
10
|
-
// open: false,
|
|
11
|
-
disableClose: false
|
|
12
|
-
});
|
|
13
|
-
const open = defineModel('open');
|
|
14
|
-
const emit = defineEmits();
|
|
15
|
-
const show = () => {
|
|
16
|
-
emit('update:open', true);
|
|
17
|
-
};
|
|
18
|
-
const hide = () => {
|
|
19
|
-
emit('update:open', false);
|
|
20
|
-
};
|
|
21
|
-
const handleDrawerChange = (val) => {
|
|
22
|
-
if (!val && props.disableClose)
|
|
23
|
-
open.value = true;
|
|
24
|
-
else
|
|
25
|
-
open.value = val;
|
|
26
|
-
};
|
|
27
|
-
const __VLS_exposed = {
|
|
28
|
-
show,
|
|
29
|
-
hide
|
|
30
|
-
};
|
|
31
|
-
defineExpose(__VLS_exposed);
|
|
32
|
-
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
33
|
-
const __VLS_modelEmit = defineEmits();
|
|
34
|
-
const __VLS_defaults = {
|
|
35
|
-
title: 'This is title',
|
|
36
|
-
placement: 'right',
|
|
37
|
-
width: 250,
|
|
38
|
-
showButtonClose: true,
|
|
39
|
-
showTitle: true,
|
|
40
|
-
// open: false,
|
|
41
|
-
disableClose: false
|
|
42
|
-
};
|
|
43
|
-
const __VLS_ctx = {
|
|
44
|
-
...{},
|
|
45
|
-
...{},
|
|
46
|
-
...{},
|
|
47
|
-
...{},
|
|
48
|
-
...{},
|
|
49
|
-
};
|
|
50
|
-
let __VLS_elements;
|
|
51
|
-
let __VLS_components;
|
|
52
|
-
let __VLS_directives;
|
|
53
|
-
const __VLS_0 = {}.Drawer;
|
|
54
|
-
/** @type {[typeof __VLS_components.Drawer, typeof __VLS_components.Drawer, ]} */ ;
|
|
55
|
-
// @ts-ignore
|
|
56
|
-
Drawer;
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
59
|
-
...{ 'onUpdate:open': {} },
|
|
60
|
-
direction: (__VLS_ctx.placement),
|
|
61
|
-
open: (__VLS_ctx.open),
|
|
62
|
-
scrollLockTimeout: (100),
|
|
63
|
-
handleOnly: (__VLS_ctx.disableClose),
|
|
64
|
-
}));
|
|
65
|
-
const __VLS_2 = __VLS_1({
|
|
66
|
-
...{ 'onUpdate:open': {} },
|
|
67
|
-
direction: (__VLS_ctx.placement),
|
|
68
|
-
open: (__VLS_ctx.open),
|
|
69
|
-
scrollLockTimeout: (100),
|
|
70
|
-
handleOnly: (__VLS_ctx.disableClose),
|
|
71
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
72
|
-
let __VLS_4;
|
|
73
|
-
let __VLS_5;
|
|
74
|
-
const __VLS_6 = ({ 'update:open': {} },
|
|
75
|
-
{ 'onUpdate:open': (__VLS_ctx.handleDrawerChange) });
|
|
76
|
-
var __VLS_7 = {};
|
|
77
|
-
const { default: __VLS_8 } = __VLS_3.slots;
|
|
78
|
-
// @ts-ignore
|
|
79
|
-
[placement, open, disableClose, handleDrawerChange,];
|
|
80
|
-
const __VLS_9 = {}.DrawerContent;
|
|
81
|
-
/** @type {[typeof __VLS_components.DrawerContent, typeof __VLS_components.DrawerContent, ]} */ ;
|
|
82
|
-
// @ts-ignore
|
|
83
|
-
DrawerContent;
|
|
84
|
-
// @ts-ignore
|
|
85
|
-
const __VLS_10 = __VLS_asFunctionalComponent(__VLS_9, new __VLS_9({
|
|
86
|
-
...{ 'onCloseDrawer': {} },
|
|
87
|
-
width: (__VLS_ctx.width),
|
|
88
|
-
direction: (__VLS_ctx.placement),
|
|
89
|
-
...{ class: "!touch-none" },
|
|
90
|
-
}));
|
|
91
|
-
const __VLS_11 = __VLS_10({
|
|
92
|
-
...{ 'onCloseDrawer': {} },
|
|
93
|
-
width: (__VLS_ctx.width),
|
|
94
|
-
direction: (__VLS_ctx.placement),
|
|
95
|
-
...{ class: "!touch-none" },
|
|
96
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_10));
|
|
97
|
-
let __VLS_13;
|
|
98
|
-
let __VLS_14;
|
|
99
|
-
const __VLS_15 = ({ closeDrawer: {} },
|
|
100
|
-
{ onCloseDrawer: (...[$event]) => {
|
|
101
|
-
__VLS_ctx.emit('update:open', false);
|
|
102
|
-
// @ts-ignore
|
|
103
|
-
[placement, width, emit,];
|
|
104
|
-
} });
|
|
105
|
-
const { default: __VLS_16 } = __VLS_12.slots;
|
|
106
|
-
const __VLS_17 = {}.DrawerHeader;
|
|
107
|
-
/** @type {[typeof __VLS_components.DrawerHeader, typeof __VLS_components.DrawerHeader, ]} */ ;
|
|
108
|
-
// @ts-ignore
|
|
109
|
-
DrawerHeader;
|
|
110
|
-
// @ts-ignore
|
|
111
|
-
const __VLS_18 = __VLS_asFunctionalComponent(__VLS_17, new __VLS_17({}));
|
|
112
|
-
const __VLS_19 = __VLS_18({}, ...__VLS_functionalComponentArgsRest(__VLS_18));
|
|
113
|
-
var __VLS_22 = {};
|
|
114
|
-
var __VLS_12;
|
|
115
|
-
var __VLS_3;
|
|
116
|
-
/** @type {__VLS_StyleScopedClasses['!touch-none']} */ ;
|
|
117
|
-
// @ts-ignore
|
|
118
|
-
var __VLS_23 = __VLS_22;
|
|
119
|
-
const __VLS_base = (await import('vue')).defineComponent({
|
|
120
|
-
setup: () => (__VLS_exposed),
|
|
121
|
-
__typeEmits: {},
|
|
122
|
-
__typeProps: {},
|
|
123
|
-
props: {},
|
|
124
|
-
});
|
|
125
|
-
const __VLS_export = {};
|
|
126
|
-
export default {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
type Props = {};
|
|
2
|
-
declare var __VLS_15: {}, __VLS_22: {};
|
|
3
|
-
type __VLS_Slots = {} & {
|
|
4
|
-
button?: (props: typeof __VLS_15) => any;
|
|
5
|
-
} & {
|
|
6
|
-
content?: (props: typeof __VLS_22) => any;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
9
|
-
close: () => void;
|
|
10
|
-
openDropdown: () => void;
|
|
11
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
|
-
change: (appointment: boolean) => any;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
-
onChange?: ((appointment: boolean) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
-
new (): {
|
|
19
|
-
$slots: S;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
-
import { ref } from 'vue';
|
|
3
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuTrigger } from '../../../components/ui/dropdown-menu';
|
|
4
|
-
const props = withDefaults(defineProps(), {
|
|
5
|
-
placement: 'bottomLeft'
|
|
6
|
-
});
|
|
7
|
-
const emits = defineEmits();
|
|
8
|
-
const handleChange = (value) => {
|
|
9
|
-
open.value = value;
|
|
10
|
-
emits('change', value);
|
|
11
|
-
};
|
|
12
|
-
const open = ref(false);
|
|
13
|
-
const close = () => {
|
|
14
|
-
open.value = false;
|
|
15
|
-
};
|
|
16
|
-
const openDropdown = () => {
|
|
17
|
-
open.value = true;
|
|
18
|
-
};
|
|
19
|
-
const __VLS_exposed = {
|
|
20
|
-
close,
|
|
21
|
-
openDropdown
|
|
22
|
-
};
|
|
23
|
-
defineExpose(__VLS_exposed);
|
|
24
|
-
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
25
|
-
const __VLS_defaults = {
|
|
26
|
-
placement: 'bottomLeft'
|
|
27
|
-
};
|
|
28
|
-
const __VLS_ctx = {
|
|
29
|
-
...{},
|
|
30
|
-
...{},
|
|
31
|
-
...{},
|
|
32
|
-
...{},
|
|
33
|
-
...{},
|
|
34
|
-
};
|
|
35
|
-
let __VLS_elements;
|
|
36
|
-
let __VLS_components;
|
|
37
|
-
let __VLS_directives;
|
|
38
|
-
const __VLS_0 = {}.DropdownMenu;
|
|
39
|
-
/** @type {[typeof __VLS_components.DropdownMenu, typeof __VLS_components.DropdownMenu, ]} */ ;
|
|
40
|
-
// @ts-ignore
|
|
41
|
-
DropdownMenu;
|
|
42
|
-
// @ts-ignore
|
|
43
|
-
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
44
|
-
...{ 'onUpdate:open': {} },
|
|
45
|
-
open: (__VLS_ctx.open),
|
|
46
|
-
}));
|
|
47
|
-
const __VLS_2 = __VLS_1({
|
|
48
|
-
...{ 'onUpdate:open': {} },
|
|
49
|
-
open: (__VLS_ctx.open),
|
|
50
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
51
|
-
let __VLS_4;
|
|
52
|
-
let __VLS_5;
|
|
53
|
-
const __VLS_6 = ({ 'update:open': {} },
|
|
54
|
-
{ 'onUpdate:open': ((value) => {
|
|
55
|
-
__VLS_ctx.handleChange(value);
|
|
56
|
-
}) });
|
|
57
|
-
var __VLS_7 = {};
|
|
58
|
-
const { default: __VLS_8 } = __VLS_3.slots;
|
|
59
|
-
// @ts-ignore
|
|
60
|
-
[open, handleChange,];
|
|
61
|
-
const __VLS_9 = {}.DropdownMenuTrigger;
|
|
62
|
-
/** @type {[typeof __VLS_components.DropdownMenuTrigger, typeof __VLS_components.DropdownMenuTrigger, ]} */ ;
|
|
63
|
-
// @ts-ignore
|
|
64
|
-
DropdownMenuTrigger;
|
|
65
|
-
// @ts-ignore
|
|
66
|
-
const __VLS_10 = __VLS_asFunctionalComponent(__VLS_9, new __VLS_9({}));
|
|
67
|
-
const __VLS_11 = __VLS_10({}, ...__VLS_functionalComponentArgsRest(__VLS_10));
|
|
68
|
-
const { default: __VLS_13 } = __VLS_12.slots;
|
|
69
|
-
var __VLS_14 = {};
|
|
70
|
-
var __VLS_12;
|
|
71
|
-
const __VLS_16 = {}.DropdownMenuContent;
|
|
72
|
-
/** @type {[typeof __VLS_components.DropdownMenuContent, typeof __VLS_components.DropdownMenuContent, ]} */ ;
|
|
73
|
-
// @ts-ignore
|
|
74
|
-
DropdownMenuContent;
|
|
75
|
-
// @ts-ignore
|
|
76
|
-
const __VLS_17 = __VLS_asFunctionalComponent(__VLS_16, new __VLS_16({}));
|
|
77
|
-
const __VLS_18 = __VLS_17({}, ...__VLS_functionalComponentArgsRest(__VLS_17));
|
|
78
|
-
const { default: __VLS_20 } = __VLS_19.slots;
|
|
79
|
-
var __VLS_21 = {};
|
|
80
|
-
var __VLS_19;
|
|
81
|
-
var __VLS_3;
|
|
82
|
-
// @ts-ignore
|
|
83
|
-
var __VLS_15 = __VLS_14, __VLS_22 = __VLS_21;
|
|
84
|
-
const __VLS_base = (await import('vue')).defineComponent({
|
|
85
|
-
setup: () => (__VLS_exposed),
|
|
86
|
-
__typeEmits: {},
|
|
87
|
-
__typeProps: {},
|
|
88
|
-
props: {},
|
|
89
|
-
});
|
|
90
|
-
const __VLS_export = {};
|
|
91
|
-
export default {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
type Props = {
|
|
2
|
-
modelValue: string;
|
|
3
|
-
placeholder?: string;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
-
search: (val: string) => any;
|
|
7
|
-
"update:modelValue": (val: string) => any;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
9
|
-
onSearch?: ((val: string) => any) | undefined;
|
|
10
|
-
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
11
|
-
}>, {
|
|
12
|
-
placeholder: string;
|
|
13
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
-
export default _default;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
-
import { computed } from 'vue';
|
|
3
|
-
import { useDebounce } from '../../../utils/debounce';
|
|
4
|
-
const props = withDefaults(defineProps(), {
|
|
5
|
-
placeholder: 'Search...'
|
|
6
|
-
});
|
|
7
|
-
const emit = defineEmits();
|
|
8
|
-
const keyword = computed({
|
|
9
|
-
get: () => props.modelValue,
|
|
10
|
-
set: (val) => emit('update:modelValue', val)
|
|
11
|
-
});
|
|
12
|
-
const search = useDebounce(() => {
|
|
13
|
-
emit('search', keyword.value);
|
|
14
|
-
});
|
|
15
|
-
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
16
|
-
const __VLS_defaults = {
|
|
17
|
-
placeholder: 'Search...'
|
|
18
|
-
};
|
|
19
|
-
const __VLS_ctx = {
|
|
20
|
-
...{},
|
|
21
|
-
...{},
|
|
22
|
-
...{},
|
|
23
|
-
...{},
|
|
24
|
-
...{},
|
|
25
|
-
};
|
|
26
|
-
let __VLS_elements;
|
|
27
|
-
let __VLS_components;
|
|
28
|
-
let __VLS_directives;
|
|
29
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
30
|
-
...{ class: "relative" },
|
|
31
|
-
});
|
|
32
|
-
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
|
|
33
|
-
...{ class: "absolute inset-y-0 left-2 translate-y-1/2 bottom-1/2 flex items-center pointer-events-none text-gray-500" },
|
|
34
|
-
});
|
|
35
|
-
__VLS_asFunctionalElement(__VLS_elements.input)({
|
|
36
|
-
...{ onInput: (__VLS_ctx.search) },
|
|
37
|
-
...{ class: "sc-full input-search input pl-10" },
|
|
38
|
-
placeholder: (props.placeholder),
|
|
39
|
-
});
|
|
40
|
-
(__VLS_ctx.keyword);
|
|
41
|
-
// @ts-ignore
|
|
42
|
-
[search, keyword,];
|
|
43
|
-
/** @type {__VLS_StyleScopedClasses['relative']} */ ;
|
|
44
|
-
/** @type {__VLS_StyleScopedClasses['absolute']} */ ;
|
|
45
|
-
/** @type {__VLS_StyleScopedClasses['inset-y-0']} */ ;
|
|
46
|
-
/** @type {__VLS_StyleScopedClasses['left-2']} */ ;
|
|
47
|
-
/** @type {__VLS_StyleScopedClasses['translate-y-1/2']} */ ;
|
|
48
|
-
/** @type {__VLS_StyleScopedClasses['bottom-1/2']} */ ;
|
|
49
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
50
|
-
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
51
|
-
/** @type {__VLS_StyleScopedClasses['pointer-events-none']} */ ;
|
|
52
|
-
/** @type {__VLS_StyleScopedClasses['text-gray-500']} */ ;
|
|
53
|
-
/** @type {__VLS_StyleScopedClasses['sc-full']} */ ;
|
|
54
|
-
/** @type {__VLS_StyleScopedClasses['input-search']} */ ;
|
|
55
|
-
/** @type {__VLS_StyleScopedClasses['input']} */ ;
|
|
56
|
-
/** @type {__VLS_StyleScopedClasses['pl-10']} */ ;
|
|
57
|
-
const __VLS_export = (await import('vue')).defineComponent({
|
|
58
|
-
__typeEmits: {},
|
|
59
|
-
__typeProps: {},
|
|
60
|
-
props: {},
|
|
61
|
-
});
|
|
62
|
-
export default {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
type Props = {
|
|
2
|
-
title?: string;
|
|
3
|
-
width?: string | number;
|
|
4
|
-
showButtonClose?: boolean;
|
|
5
|
-
showTitle?: boolean;
|
|
6
|
-
open: boolean;
|
|
7
|
-
nonClosable?: boolean;
|
|
8
|
-
zIndex?: number;
|
|
9
|
-
class?: string;
|
|
10
|
-
};
|
|
11
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
12
|
-
show: () => void;
|
|
13
|
-
hide: () => void;
|
|
14
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
15
|
-
"update:open": (id: boolean) => any;
|
|
16
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
17
|
-
"onUpdate:open"?: ((id: boolean) => any) | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
title: string;
|
|
20
|
-
class: string;
|
|
21
|
-
width: string | number;
|
|
22
|
-
open: boolean;
|
|
23
|
-
zIndex: number;
|
|
24
|
-
showButtonClose: boolean;
|
|
25
|
-
showTitle: boolean;
|
|
26
|
-
nonClosable: boolean;
|
|
27
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
28
|
-
default?: ((props: {}) => any) | undefined;
|
|
29
|
-
}>;
|
|
30
|
-
export default _default;
|
|
31
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
-
new (): {
|
|
33
|
-
$slots: S;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
-
defineOptions({
|
|
3
|
-
inheritAttrs: false
|
|
4
|
-
});
|
|
5
|
-
import { Dialog, DialogHeader, DialogTitle, DialogScrollContent } from '../../../components/ui/dialog';
|
|
6
|
-
// COMPONENT
|
|
7
|
-
// import BaseTitle from '../../../components/common/base/BaseTitle.vue'
|
|
8
|
-
import { useAttrs } from 'vue';
|
|
9
|
-
const props = withDefaults(defineProps(), {
|
|
10
|
-
title: 'This is title',
|
|
11
|
-
width: '100%',
|
|
12
|
-
showButtonClose: true,
|
|
13
|
-
showTitle: true,
|
|
14
|
-
open: false,
|
|
15
|
-
nonClosable: false,
|
|
16
|
-
zIndex: 50,
|
|
17
|
-
class: '',
|
|
18
|
-
});
|
|
19
|
-
const emit = defineEmits();
|
|
20
|
-
const attrs = useAttrs();
|
|
21
|
-
const show = () => {
|
|
22
|
-
emit('update:open', true);
|
|
23
|
-
};
|
|
24
|
-
const hide = () => {
|
|
25
|
-
emit('update:open', false);
|
|
26
|
-
};
|
|
27
|
-
const handleClickOutside = (value) => {
|
|
28
|
-
if (props.nonClosable)
|
|
29
|
-
value.preventDefault();
|
|
30
|
-
};
|
|
31
|
-
const __VLS_exposed = {
|
|
32
|
-
show,
|
|
33
|
-
hide
|
|
34
|
-
};
|
|
35
|
-
defineExpose(__VLS_exposed);
|
|
36
|
-
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
37
|
-
const __VLS_defaults = {
|
|
38
|
-
title: 'This is title',
|
|
39
|
-
width: '100%',
|
|
40
|
-
showButtonClose: true,
|
|
41
|
-
showTitle: true,
|
|
42
|
-
open: false,
|
|
43
|
-
nonClosable: false,
|
|
44
|
-
zIndex: 50,
|
|
45
|
-
class: '',
|
|
46
|
-
};
|
|
47
|
-
const __VLS_ctx = {
|
|
48
|
-
...{},
|
|
49
|
-
...{},
|
|
50
|
-
...{},
|
|
51
|
-
...{},
|
|
52
|
-
...{},
|
|
53
|
-
};
|
|
54
|
-
let __VLS_elements;
|
|
55
|
-
let __VLS_components;
|
|
56
|
-
let __VLS_directives;
|
|
57
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
58
|
-
...(__VLS_ctx.attrs),
|
|
59
|
-
});
|
|
60
|
-
// @ts-ignore
|
|
61
|
-
[attrs,];
|
|
62
|
-
const __VLS_0 = {}.Dialog;
|
|
63
|
-
/** @type {[typeof __VLS_components.Dialog, typeof __VLS_components.Dialog, ]} */ ;
|
|
64
|
-
// @ts-ignore
|
|
65
|
-
Dialog;
|
|
66
|
-
// @ts-ignore
|
|
67
|
-
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
68
|
-
...{ 'onUpdate:open': {} },
|
|
69
|
-
open: (props.open),
|
|
70
|
-
disableOutsidePointerEvents: (true),
|
|
71
|
-
}));
|
|
72
|
-
const __VLS_2 = __VLS_1({
|
|
73
|
-
...{ 'onUpdate:open': {} },
|
|
74
|
-
open: (props.open),
|
|
75
|
-
disableOutsidePointerEvents: (true),
|
|
76
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
77
|
-
let __VLS_4;
|
|
78
|
-
let __VLS_5;
|
|
79
|
-
const __VLS_6 = ({ 'update:open': {} },
|
|
80
|
-
{ 'onUpdate:open': ((val) => __VLS_ctx.emit('update:open', val)) });
|
|
81
|
-
const { default: __VLS_7 } = __VLS_3.slots;
|
|
82
|
-
// @ts-ignore
|
|
83
|
-
[emit,];
|
|
84
|
-
const __VLS_8 = {}.DialogScrollContent;
|
|
85
|
-
/** @type {[typeof __VLS_components.DialogScrollContent, typeof __VLS_components.DialogScrollContent, ]} */ ;
|
|
86
|
-
// @ts-ignore
|
|
87
|
-
DialogScrollContent;
|
|
88
|
-
// @ts-ignore
|
|
89
|
-
const __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8({
|
|
90
|
-
...{ 'onInteractOutside': {} },
|
|
91
|
-
disableOutsidePointerEvents: (true),
|
|
92
|
-
width: (__VLS_ctx.width),
|
|
93
|
-
...{ class: (props.class) },
|
|
94
|
-
zIndex: (__VLS_ctx.zIndex),
|
|
95
|
-
}));
|
|
96
|
-
const __VLS_10 = __VLS_9({
|
|
97
|
-
...{ 'onInteractOutside': {} },
|
|
98
|
-
disableOutsidePointerEvents: (true),
|
|
99
|
-
width: (__VLS_ctx.width),
|
|
100
|
-
...{ class: (props.class) },
|
|
101
|
-
zIndex: (__VLS_ctx.zIndex),
|
|
102
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_9));
|
|
103
|
-
let __VLS_12;
|
|
104
|
-
let __VLS_13;
|
|
105
|
-
const __VLS_14 = ({ interactOutside: {} },
|
|
106
|
-
{ onInteractOutside: (__VLS_ctx.handleClickOutside) });
|
|
107
|
-
const { default: __VLS_15 } = __VLS_11.slots;
|
|
108
|
-
// @ts-ignore
|
|
109
|
-
[width, zIndex, handleClickOutside,];
|
|
110
|
-
const __VLS_16 = {}.DialogHeader;
|
|
111
|
-
/** @type {[typeof __VLS_components.DialogHeader, typeof __VLS_components.DialogHeader, ]} */ ;
|
|
112
|
-
// @ts-ignore
|
|
113
|
-
DialogHeader;
|
|
114
|
-
// @ts-ignore
|
|
115
|
-
const __VLS_17 = __VLS_asFunctionalComponent(__VLS_16, new __VLS_16({}));
|
|
116
|
-
const __VLS_18 = __VLS_17({}, ...__VLS_functionalComponentArgsRest(__VLS_17));
|
|
117
|
-
const { default: __VLS_20 } = __VLS_19.slots;
|
|
118
|
-
const __VLS_21 = {}.DialogTitle;
|
|
119
|
-
/** @type {[typeof __VLS_components.DialogTitle, typeof __VLS_components.DialogTitle, ]} */ ;
|
|
120
|
-
// @ts-ignore
|
|
121
|
-
DialogTitle;
|
|
122
|
-
// @ts-ignore
|
|
123
|
-
const __VLS_22 = __VLS_asFunctionalComponent(__VLS_21, new __VLS_21({}));
|
|
124
|
-
const __VLS_23 = __VLS_22({}, ...__VLS_functionalComponentArgsRest(__VLS_22));
|
|
125
|
-
const { default: __VLS_25 } = __VLS_24.slots;
|
|
126
|
-
if (props.showTitle) {
|
|
127
|
-
const __VLS_26 = {}.BaseTitle;
|
|
128
|
-
/** @type {[typeof __VLS_components.BaseTitle, typeof __VLS_components.baseTitle, ]} */ ;
|
|
129
|
-
// @ts-ignore
|
|
130
|
-
BaseTitle;
|
|
131
|
-
// @ts-ignore
|
|
132
|
-
const __VLS_27 = __VLS_asFunctionalComponent(__VLS_26, new __VLS_26({
|
|
133
|
-
...{ 'onClose': {} },
|
|
134
|
-
title: (props.title),
|
|
135
|
-
showButtonClose: (props.showButtonClose && !props.nonClosable),
|
|
136
|
-
}));
|
|
137
|
-
const __VLS_28 = __VLS_27({
|
|
138
|
-
...{ 'onClose': {} },
|
|
139
|
-
title: (props.title),
|
|
140
|
-
showButtonClose: (props.showButtonClose && !props.nonClosable),
|
|
141
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_27));
|
|
142
|
-
let __VLS_30;
|
|
143
|
-
let __VLS_31;
|
|
144
|
-
const __VLS_32 = ({ close: {} },
|
|
145
|
-
{ onClose: (__VLS_ctx.hide) });
|
|
146
|
-
// @ts-ignore
|
|
147
|
-
[hide,];
|
|
148
|
-
var __VLS_29;
|
|
149
|
-
}
|
|
150
|
-
var __VLS_24;
|
|
151
|
-
var __VLS_34 = {};
|
|
152
|
-
var __VLS_19;
|
|
153
|
-
var __VLS_11;
|
|
154
|
-
var __VLS_3;
|
|
155
|
-
// @ts-ignore
|
|
156
|
-
var __VLS_35 = __VLS_34;
|
|
157
|
-
const __VLS_base = (await import('vue')).defineComponent({
|
|
158
|
-
setup: () => (__VLS_exposed),
|
|
159
|
-
__typeEmits: {},
|
|
160
|
-
__typeProps: {},
|
|
161
|
-
props: {},
|
|
162
|
-
});
|
|
163
|
-
const __VLS_export = {};
|
|
164
|
-
export default {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
type Props = {};
|
|
2
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
-
export default _default;
|