@phonghq/go-chat 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/assets/icons/IconArrowLeft.vue.d.ts +2 -0
- package/dist/assets/icons/IconArrowLeft.vue.js +29 -0
- package/dist/assets/icons/IconPhone.vue.d.ts +2 -0
- package/dist/assets/icons/IconPhone.vue.js +19 -0
- package/dist/assets/icons/IconPlan.vue.d.ts +2 -0
- package/dist/assets/icons/IconPlan.vue.js +19 -0
- package/dist/assets/icons/IconPlus.vue.d.ts +2 -0
- package/dist/assets/icons/IconPlus.vue.js +22 -0
- package/dist/assets/icons/IconSearch.vue.d.ts +32 -0
- package/dist/assets/icons/IconSearch.vue.js +68 -0
- package/dist/assets/icons/call/IconMic.vue.d.ts +14 -0
- package/dist/assets/icons/call/IconMic.vue.js +123 -0
- package/dist/assets/icons/call/IconPhone.vue.d.ts +2 -0
- package/dist/assets/icons/call/IconPhone.vue.js +35 -0
- package/dist/assets/icons/call/IconPhoneCancel.vue.d.ts +2 -0
- package/dist/assets/icons/call/IconPhoneCancel.vue.js +35 -0
- package/dist/assets/icons/call/IconSpeaker.vue.d.ts +14 -0
- package/dist/assets/icons/call/IconSpeaker.vue.js +62 -0
- package/dist/assets/icons/customer-appointment/IconFilter.vue.d.ts +2 -0
- package/dist/assets/icons/customer-appointment/IconFilter.vue.js +53 -0
- package/dist/assets/icons/customer-detail/IconArrow.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconArrow.vue.js +22 -0
- package/dist/assets/icons/customer-detail/IconCheck.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconCheck.vue.js +27 -0
- package/dist/assets/icons/customer-detail/IconDate.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconDate.vue.js +43 -0
- package/dist/assets/icons/customer-detail/IconGroup.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconGroup.vue.js +48 -0
- package/dist/assets/icons/customer-detail/IconMessage.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconMessage.vue.js +28 -0
- package/dist/assets/icons/customer-detail/IconNote.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconNote.vue.js +29 -0
- package/dist/assets/icons/customer-detail/IconPhone.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconPhone.vue.js +21 -0
- package/dist/assets/icons/customer-detail/IconPin.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconPin.vue.js +29 -0
- package/dist/assets/icons/customer-detail/IconSearch.vue.d.ts +2 -0
- package/dist/assets/icons/customer-detail/IconSearch.vue.js +29 -0
- package/dist/chat/App.vue.d.ts +5 -0
- package/dist/chat/App.vue.js +502 -0
- package/dist/chat/main.d.ts +3 -0
- package/dist/chat/main.js +2 -0
- package/dist/chat/page/customer-appointment/CustomerAppointment.vue.d.ts +2 -0
- package/dist/chat/page/customer-appointment/CustomerAppointment.vue.js +207 -0
- package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.d.ts +12 -0
- package/dist/chat/page/customer-check-in/CollapseCheckIn.vue.js +80 -0
- package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.d.ts +2 -0
- package/dist/chat/page/customer-check-in/CustomerCheckIn.vue.js +136 -0
- package/dist/chat/page/customer-detail/CustomerDetail.vue.d.ts +7 -0
- package/dist/chat/page/customer-detail/CustomerDetail.vue.js +235 -0
- package/dist/chat/page/customer-detail/SubInformation.vue.d.ts +16 -0
- package/dist/chat/page/customer-detail/SubInformation.vue.js +102 -0
- package/dist/chat/page/error/Error.vue.d.ts +2 -0
- package/dist/chat/page/error/Error.vue.js +64 -0
- package/dist/chat/page/home/ChatList.vue.d.ts +20 -0
- package/dist/chat/page/home/ChatList.vue.js +380 -0
- package/dist/chat/page/home/ChatMessage.vue.d.ts +16 -0
- package/dist/chat/page/home/ChatMessage.vue.js +271 -0
- package/dist/chat/page/home/Home.vue.d.ts +14 -0
- package/dist/chat/page/home/Home.vue.js +327 -0
- package/dist/chat/page/home/HomeHeader.vue.d.ts +10 -0
- package/dist/chat/page/home/HomeHeader.vue.js +122 -0
- package/dist/chat/page/home/InputChat.vue.d.ts +19 -0
- package/dist/chat/page/home/InputChat.vue.js +226 -0
- package/dist/chat/page/home/NewCustomer.vue.d.ts +6 -0
- package/dist/chat/page/home/NewCustomer.vue.js +82 -0
- package/dist/components/ListenEvent.vue.d.ts +2 -0
- package/dist/components/ListenEvent.vue.js +45 -0
- package/dist/components/chat/ScrollEvent/ScrollEvent.vue.d.ts +22 -0
- package/dist/components/chat/ScrollEvent/ScrollEvent.vue.js +197 -0
- package/dist/components/chat/call/Calling.vue.d.ts +7 -0
- package/dist/components/chat/call/Calling.vue.js +291 -0
- package/dist/components/chat/card/CardCustomerDetail.vue.d.ts +13 -0
- package/dist/components/chat/card/CardCustomerDetail.vue.js +28 -0
- package/dist/components/chat/common/collapse/CollapseBase.vue.d.ts +20 -0
- package/dist/components/chat/common/collapse/CollapseBase.vue.js +59 -0
- package/dist/components/chat/common/input/InputSearch.vue.d.ts +16 -0
- package/dist/components/chat/common/input/InputSearch.vue.js +71 -0
- package/dist/components/chat/common/popover/PopoverBase.vue.d.ts +35 -0
- package/dist/components/chat/common/popover/PopoverBase.vue.js +148 -0
- package/dist/components/chat/common/spin/BaseSpin.vue.d.ts +2 -0
- package/dist/components/chat/common/spin/BaseSpin.vue.js +12 -0
- package/dist/components/chat/customer/Avatar.vue.d.ts +11 -0
- package/dist/components/chat/customer/Avatar.vue.js +79 -0
- package/dist/components/chat/layout/mobile/Footer.vue.d.ts +2 -0
- package/dist/components/chat/layout/mobile/Footer.vue.js +109 -0
- package/dist/components/common/CustomLoading.vue.d.ts +2 -0
- package/dist/components/common/CustomLoading.vue.js +19 -0
- package/dist/components/common/Notification/NotificationDescription.vue.d.ts +7 -0
- package/dist/components/common/Notification/NotificationDescription.vue.js +38 -0
- package/dist/components/common/button/ButtonBase.vue.d.ts +22 -0
- package/dist/components/common/button/ButtonBase.vue.js +78 -0
- package/dist/components/common/button/ButtonToggle.vue.d.ts +20 -0
- package/dist/components/common/button/ButtonToggle.vue.js +70 -0
- package/dist/components/common/checkbox/CCheckboxNumber.vue.d.ts +16 -0
- package/dist/components/common/checkbox/CCheckboxNumber.vue.js +48 -0
- package/dist/components/common/collapse/BaseCollapse.vue.d.ts +12 -0
- package/dist/components/common/collapse/BaseCollapse.vue.js +36 -0
- package/dist/components/common/collapse/BaseCollapseItem.vue.d.ts +4 -0
- package/dist/components/common/collapse/BaseCollapseItem.vue.js +22 -0
- package/dist/components/common/drawer/DrawerBase.vue.d.ts +39 -0
- package/dist/components/common/drawer/DrawerBase.vue.js +126 -0
- package/dist/components/common/dropdown/DropdownBase.vue.d.ts +21 -0
- package/dist/components/common/dropdown/DropdownBase.vue.js +91 -0
- package/dist/components/common/input/CInputSearch.vue.d.ts +14 -0
- package/dist/components/common/input/CInputSearch.vue.js +62 -0
- package/dist/components/common/modal/ModalBase.vue.d.ts +35 -0
- package/dist/components/common/modal/ModalBase.vue.js +164 -0
- package/dist/components/common/popover/PopoverBase.vue.d.ts +3 -0
- package/dist/components/common/popover/PopoverBase.vue.js +36 -0
- package/dist/components/common/slider/BaseSlider.vue.d.ts +11 -0
- package/dist/components/common/slider/BaseSlider.vue.js +70 -0
- package/dist/components/common/spin/CSpin.vue.d.ts +9 -0
- package/dist/components/common/spin/CSpin.vue.js +41 -0
- package/dist/components/common/tooltip/TooltipBase.vue.d.ts +2 -0
- package/dist/components/common/tooltip/TooltipBase.vue.js +8 -0
- package/dist/components/layout/Blank.vue.d.ts +9 -0
- package/dist/components/layout/Blank.vue.js +19 -0
- package/dist/components/layout/Default.vue.d.ts +9 -0
- package/dist/components/layout/Default.vue.js +21 -0
- package/dist/components/modal/Confirm.vue.d.ts +2 -0
- package/dist/components/modal/Confirm.vue.js +164 -0
- package/dist/components/ui/button/CButton.vue.d.ts +19 -0
- package/dist/components/ui/button/CButton.vue.js +49 -0
- package/dist/components/ui/button/c-button.d.ts +7 -0
- package/dist/components/ui/button/c-button.js +26 -0
- package/dist/components/ui/checkbox/Checkbox.vue.d.ts +18 -0
- package/dist/components/ui/checkbox/Checkbox.vue.js +79 -0
- package/dist/components/ui/checkbox/index.d.ts +1 -0
- package/dist/components/ui/checkbox/index.js +1 -0
- package/dist/components/ui/collapsible/Collapsible.vue.d.ts +16 -0
- package/dist/components/ui/collapsible/Collapsible.vue.js +47 -0
- package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +10 -0
- package/dist/components/ui/collapsible/CollapsibleContent.vue.js +41 -0
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +10 -0
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.js +35 -0
- package/dist/components/ui/collapsible/index.d.ts +3 -0
- package/dist/components/ui/collapsible/index.js +3 -0
- package/dist/components/ui/dialog/Dialog.vue.d.ts +14 -0
- package/dist/components/ui/dialog/Dialog.vue.js +42 -0
- package/dist/components/ui/dialog/DialogClose.vue.d.ts +10 -0
- package/dist/components/ui/dialog/DialogClose.vue.js +35 -0
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +29 -0
- package/dist/components/ui/dialog/DialogContent.vue.js +84 -0
- package/dist/components/ui/dialog/DialogDescription.vue.d.ts +14 -0
- package/dist/components/ui/dialog/DialogDescription.vue.js +43 -0
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +13 -0
- package/dist/components/ui/dialog/DialogFooter.vue.js +26 -0
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts +13 -0
- package/dist/components/ui/dialog/DialogHeader.vue.js +26 -0
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +30 -0
- package/dist/components/ui/dialog/DialogScrollContent.vue.js +99 -0
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts +14 -0
- package/dist/components/ui/dialog/DialogTitle.vue.js +43 -0
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +10 -0
- package/dist/components/ui/dialog/DialogTrigger.vue.js +35 -0
- package/dist/components/ui/dialog/index.d.ts +9 -0
- package/dist/components/ui/dialog/index.js +9 -0
- package/dist/components/ui/drawer/Drawer.vue.d.ts +26 -0
- package/dist/components/ui/drawer/Drawer.vue.js +48 -0
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +33 -0
- package/dist/components/ui/drawer/DrawerContent.vue.js +81 -0
- package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +14 -0
- package/dist/components/ui/drawer/DrawerDescription.vue.js +42 -0
- package/dist/components/ui/drawer/DrawerFooter.vue.d.ts +13 -0
- package/dist/components/ui/drawer/DrawerFooter.vue.js +26 -0
- package/dist/components/ui/drawer/DrawerHeader.vue.d.ts +13 -0
- package/dist/components/ui/drawer/DrawerHeader.vue.js +26 -0
- package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
- package/dist/components/ui/drawer/DrawerOverlay.vue.js +37 -0
- package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +14 -0
- package/dist/components/ui/drawer/DrawerTitle.vue.js +42 -0
- package/dist/components/ui/drawer/index.d.ts +8 -0
- package/dist/components/ui/drawer/index.js +8 -0
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +14 -0
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.js +41 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +20 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.js +79 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +28 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.js +61 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +10 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.js +35 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +15 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.js +43 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +15 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.js +43 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +14 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.js +41 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.js +80 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.js +37 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +13 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.js +26 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +14 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.js +41 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +30 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.js +46 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +14 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.js +58 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +10 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.js +41 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/components/ui/dropdown-menu/index.js +15 -0
- package/dist/components/ui/popover/Popover.vue.d.ts +14 -0
- package/dist/components/ui/popover/Popover.vue.js +41 -0
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +28 -0
- package/dist/components/ui/popover/PopoverContent.vue.js +60 -0
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +10 -0
- package/dist/components/ui/popover/PopoverTrigger.vue.js +35 -0
- package/dist/components/ui/popover/index.d.ts +3 -0
- package/dist/components/ui/popover/index.js +3 -0
- package/dist/components/ui/radio-group/RadioGroup.vue.d.ts +18 -0
- package/dist/components/ui/radio-group/RadioGroup.vue.js +46 -0
- package/dist/components/ui/radio-group/RadioGroupItem.vue.d.ts +7 -0
- package/dist/components/ui/radio-group/RadioGroupItem.vue.js +71 -0
- package/dist/components/ui/radio-group/index.d.ts +2 -0
- package/dist/components/ui/radio-group/index.js +2 -0
- package/dist/components/ui/slider/Slider.vue.d.ts +13 -0
- package/dist/components/ui/slider/Slider.vue.js +155 -0
- package/dist/components/ui/slider/index.d.ts +1 -0
- package/dist/components/ui/slider/index.js +1 -0
- package/dist/components/ui/switch/Switch.vue.d.ts +18 -0
- package/dist/components/ui/switch/Switch.vue.js +61 -0
- package/dist/components/ui/switch/index.d.ts +1 -0
- package/dist/components/ui/switch/index.js +1 -0
- package/dist/composable/useCallHelper.d.ts +23 -0
- package/dist/composable/useCallHelper.js +170 -0
- package/dist/composable/useInitData.d.ts +11 -0
- package/dist/composable/useInitData.js +84 -0
- package/dist/composable/useModalConfirm.d.ts +5 -0
- package/dist/composable/useModalConfirm.js +39 -0
- package/dist/constant/color.d.ts +22 -0
- package/dist/constant/color.js +43 -0
- package/dist/constant/datetime.d.ts +5 -0
- package/dist/constant/datetime.js +5 -0
- package/dist/constant/general.d.ts +8 -0
- package/dist/constant/general.js +9 -0
- package/dist/constant/message.d.ts +8 -0
- package/dist/constant/message.js +8 -0
- package/dist/constant/mqtt.d.ts +4 -0
- package/dist/constant/mqtt.js +11 -0
- package/dist/constant/user.d.ts +8 -0
- package/dist/constant/user.js +9 -0
- package/dist/go-chat.es.js +64024 -2699
- package/dist/go-chat.umd.js +15 -3
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.js +5 -0
- package/dist/plugins/axios-gci.d.ts +3 -0
- package/dist/plugins/axios-gci.js +25 -0
- package/dist/plugins/axios.d.ts +3 -0
- package/dist/plugins/axios.js +85 -0
- package/dist/plugins/mqtt.d.ts +10 -0
- package/dist/plugins/mqtt.js +128 -0
- package/dist/plugins/sdk.d.ts +19 -0
- package/dist/plugins/sdk.js +83 -0
- package/dist/plugins/websocket.d.ts +4 -0
- package/dist/plugins/websocket.js +65 -0
- package/dist/style.css +1 -1
- package/dist/types/chat/user.d.ts +88 -0
- package/dist/types/chat/user.js +1 -0
- package/dist/types/conversation.d.ts +18 -0
- package/dist/types/conversation.js +1 -0
- package/dist/utils/chat/auth.d.ts +45 -0
- package/dist/utils/chat/auth.js +51 -0
- package/dist/utils/chat/call.d.ts +5 -0
- package/dist/utils/chat/call.js +61 -0
- package/dist/utils/chat/chat-router.d.ts +3 -0
- package/dist/utils/chat/chat-router.js +9 -0
- package/dist/utils/chat/conversation.d.ts +3 -0
- package/dist/utils/chat/conversation.js +7 -0
- package/dist/utils/chat/message.d.ts +17 -0
- package/dist/utils/chat/message.js +42 -0
- package/dist/utils/chat/user.d.ts +193 -0
- package/dist/utils/chat/user.js +33 -0
- package/dist/utils/debounce.d.ts +1 -0
- package/dist/utils/debounce.js +9 -0
- package/dist/utils/json.d.ts +2 -0
- package/dist/utils/json.js +18 -0
- package/dist/utils/logger.d.ts +3 -0
- package/dist/utils/logger.js +5 -0
- package/dist/utils/string-helper.d.ts +1 -0
- package/dist/utils/string-helper.js +27 -0
- package/package.json +8 -7
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { DropdownMenuSubContentProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = DropdownMenuSubContentProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
8
|
+
pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
|
|
9
|
+
focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
|
|
10
|
+
interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
|
|
11
|
+
openAutoFocus: (event: Event) => any;
|
|
12
|
+
closeAutoFocus: (event: Event) => any;
|
|
13
|
+
entryFocus: (event: Event) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
16
|
+
onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
|
|
17
|
+
onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
18
|
+
onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
19
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
20
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
21
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
23
|
+
default?: ((props: {}) => any) | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { DropdownMenuSubContent, useForwardPropsEmits, } from "reka-ui";
|
|
4
|
+
import { cn } from "../../../lib/utils";
|
|
5
|
+
const props = defineProps();
|
|
6
|
+
const emits = defineEmits();
|
|
7
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
8
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
9
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
10
|
+
const __VLS_ctx = {
|
|
11
|
+
...{},
|
|
12
|
+
...{},
|
|
13
|
+
...{},
|
|
14
|
+
...{},
|
|
15
|
+
...{},
|
|
16
|
+
};
|
|
17
|
+
let __VLS_elements;
|
|
18
|
+
let __VLS_components;
|
|
19
|
+
let __VLS_directives;
|
|
20
|
+
const __VLS_0 = {}.DropdownMenuSubContent;
|
|
21
|
+
/** @type {[typeof __VLS_components.DropdownMenuSubContent, typeof __VLS_components.DropdownMenuSubContent, ]} */ ;
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
DropdownMenuSubContent;
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
26
|
+
...(__VLS_ctx.forwarded),
|
|
27
|
+
...{ class: (__VLS_ctx.cn('z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', props.class)) },
|
|
28
|
+
}));
|
|
29
|
+
const __VLS_2 = __VLS_1({
|
|
30
|
+
...(__VLS_ctx.forwarded),
|
|
31
|
+
...{ class: (__VLS_ctx.cn('z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', props.class)) },
|
|
32
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
33
|
+
var __VLS_4 = {};
|
|
34
|
+
const { default: __VLS_5 } = __VLS_3.slots;
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
[forwarded, cn,];
|
|
37
|
+
var __VLS_6 = {};
|
|
38
|
+
var __VLS_3;
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
var __VLS_7 = __VLS_6;
|
|
41
|
+
const __VLS_base = (await import('vue')).defineComponent({
|
|
42
|
+
__typeEmits: {},
|
|
43
|
+
__typeProps: {},
|
|
44
|
+
});
|
|
45
|
+
const __VLS_export = {};
|
|
46
|
+
export default {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DropdownMenuSubTriggerProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = DropdownMenuSubTriggerProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
default?: ((props: {}) => any) | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { ChevronRight } from "lucide-vue-next";
|
|
4
|
+
import { DropdownMenuSubTrigger, useForwardProps, } from "reka-ui";
|
|
5
|
+
import { cn } from "../../../lib/utils";
|
|
6
|
+
const props = defineProps();
|
|
7
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
8
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
9
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
10
|
+
const __VLS_ctx = {
|
|
11
|
+
...{},
|
|
12
|
+
...{},
|
|
13
|
+
...{},
|
|
14
|
+
...{},
|
|
15
|
+
};
|
|
16
|
+
let __VLS_elements;
|
|
17
|
+
let __VLS_components;
|
|
18
|
+
let __VLS_directives;
|
|
19
|
+
const __VLS_0 = {}.DropdownMenuSubTrigger;
|
|
20
|
+
/** @type {[typeof __VLS_components.DropdownMenuSubTrigger, typeof __VLS_components.DropdownMenuSubTrigger, ]} */ ;
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
DropdownMenuSubTrigger;
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
25
|
+
...(__VLS_ctx.forwardedProps),
|
|
26
|
+
...{ class: (__VLS_ctx.cn('flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent', props.class)) },
|
|
27
|
+
}));
|
|
28
|
+
const __VLS_2 = __VLS_1({
|
|
29
|
+
...(__VLS_ctx.forwardedProps),
|
|
30
|
+
...{ class: (__VLS_ctx.cn('flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent', props.class)) },
|
|
31
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
32
|
+
var __VLS_4 = {};
|
|
33
|
+
const { default: __VLS_5 } = __VLS_3.slots;
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
[forwardedProps, cn,];
|
|
36
|
+
var __VLS_6 = {};
|
|
37
|
+
const __VLS_8 = {}.ChevronRight;
|
|
38
|
+
/** @type {[typeof __VLS_components.ChevronRight, ]} */ ;
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
ChevronRight;
|
|
41
|
+
// @ts-ignore
|
|
42
|
+
const __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8({
|
|
43
|
+
...{ class: "ml-auto h-4 w-4" },
|
|
44
|
+
}));
|
|
45
|
+
const __VLS_10 = __VLS_9({
|
|
46
|
+
...{ class: "ml-auto h-4 w-4" },
|
|
47
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_9));
|
|
48
|
+
var __VLS_3;
|
|
49
|
+
/** @type {__VLS_StyleScopedClasses['ml-auto']} */ ;
|
|
50
|
+
/** @type {__VLS_StyleScopedClasses['h-4']} */ ;
|
|
51
|
+
/** @type {__VLS_StyleScopedClasses['w-4']} */ ;
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
var __VLS_7 = __VLS_6;
|
|
54
|
+
const __VLS_base = (await import('vue')).defineComponent({
|
|
55
|
+
__typeProps: {},
|
|
56
|
+
});
|
|
57
|
+
const __VLS_export = {};
|
|
58
|
+
export default {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { DropdownMenuTriggerProps } from "reka-ui";
|
|
2
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DropdownMenuTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DropdownMenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
3
|
+
default?: ((props: {}) => any) | undefined;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import { DropdownMenuTrigger, useForwardProps } from "reka-ui";
|
|
3
|
+
const props = defineProps();
|
|
4
|
+
const forwardedProps = useForwardProps(props);
|
|
5
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
6
|
+
const __VLS_ctx = {
|
|
7
|
+
...{},
|
|
8
|
+
...{},
|
|
9
|
+
...{},
|
|
10
|
+
...{},
|
|
11
|
+
};
|
|
12
|
+
let __VLS_elements;
|
|
13
|
+
let __VLS_components;
|
|
14
|
+
let __VLS_directives;
|
|
15
|
+
const __VLS_0 = {}.DropdownMenuTrigger;
|
|
16
|
+
/** @type {[typeof __VLS_components.DropdownMenuTrigger, typeof __VLS_components.DropdownMenuTrigger, ]} */ ;
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
DropdownMenuTrigger;
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
21
|
+
...{ class: "outline-none" },
|
|
22
|
+
...(__VLS_ctx.forwardedProps),
|
|
23
|
+
}));
|
|
24
|
+
const __VLS_2 = __VLS_1({
|
|
25
|
+
...{ class: "outline-none" },
|
|
26
|
+
...(__VLS_ctx.forwardedProps),
|
|
27
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
28
|
+
var __VLS_4 = {};
|
|
29
|
+
const { default: __VLS_5 } = __VLS_3.slots;
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
[forwardedProps,];
|
|
32
|
+
var __VLS_6 = {};
|
|
33
|
+
var __VLS_3;
|
|
34
|
+
/** @type {__VLS_StyleScopedClasses['outline-none']} */ ;
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
var __VLS_7 = __VLS_6;
|
|
37
|
+
const __VLS_base = (await import('vue')).defineComponent({
|
|
38
|
+
__typeProps: {},
|
|
39
|
+
});
|
|
40
|
+
const __VLS_export = {};
|
|
41
|
+
export default {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { default as DropdownMenu } from "./DropdownMenu.vue";
|
|
2
|
+
export { default as DropdownMenuCheckboxItem } from "./DropdownMenuCheckboxItem.vue";
|
|
3
|
+
export { default as DropdownMenuContent } from "./DropdownMenuContent.vue";
|
|
4
|
+
export { default as DropdownMenuGroup } from "./DropdownMenuGroup.vue";
|
|
5
|
+
export { default as DropdownMenuItem } from "./DropdownMenuItem.vue";
|
|
6
|
+
export { default as DropdownMenuLabel } from "./DropdownMenuLabel.vue";
|
|
7
|
+
export { default as DropdownMenuRadioGroup } from "./DropdownMenuRadioGroup.vue";
|
|
8
|
+
export { default as DropdownMenuRadioItem } from "./DropdownMenuRadioItem.vue";
|
|
9
|
+
export { default as DropdownMenuSeparator } from "./DropdownMenuSeparator.vue";
|
|
10
|
+
export { default as DropdownMenuShortcut } from "./DropdownMenuShortcut.vue";
|
|
11
|
+
export { default as DropdownMenuSub } from "./DropdownMenuSub.vue";
|
|
12
|
+
export { default as DropdownMenuSubContent } from "./DropdownMenuSubContent.vue";
|
|
13
|
+
export { default as DropdownMenuSubTrigger } from "./DropdownMenuSubTrigger.vue";
|
|
14
|
+
export { default as DropdownMenuTrigger } from "./DropdownMenuTrigger.vue";
|
|
15
|
+
export { DropdownMenuPortal } from "reka-ui";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { default as DropdownMenu } from "./DropdownMenu.vue";
|
|
2
|
+
export { default as DropdownMenuCheckboxItem } from "./DropdownMenuCheckboxItem.vue";
|
|
3
|
+
export { default as DropdownMenuContent } from "./DropdownMenuContent.vue";
|
|
4
|
+
export { default as DropdownMenuGroup } from "./DropdownMenuGroup.vue";
|
|
5
|
+
export { default as DropdownMenuItem } from "./DropdownMenuItem.vue";
|
|
6
|
+
export { default as DropdownMenuLabel } from "./DropdownMenuLabel.vue";
|
|
7
|
+
export { default as DropdownMenuRadioGroup } from "./DropdownMenuRadioGroup.vue";
|
|
8
|
+
export { default as DropdownMenuRadioItem } from "./DropdownMenuRadioItem.vue";
|
|
9
|
+
export { default as DropdownMenuSeparator } from "./DropdownMenuSeparator.vue";
|
|
10
|
+
export { default as DropdownMenuShortcut } from "./DropdownMenuShortcut.vue";
|
|
11
|
+
export { default as DropdownMenuSub } from "./DropdownMenuSub.vue";
|
|
12
|
+
export { default as DropdownMenuSubContent } from "./DropdownMenuSubContent.vue";
|
|
13
|
+
export { default as DropdownMenuSubTrigger } from "./DropdownMenuSubTrigger.vue";
|
|
14
|
+
export { default as DropdownMenuTrigger } from "./DropdownMenuTrigger.vue";
|
|
15
|
+
export { DropdownMenuPortal } from "reka-ui";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PopoverRootProps } from "reka-ui";
|
|
2
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PopoverRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:open": (value: boolean) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<PopoverRootProps> & Readonly<{
|
|
5
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
default?: ((props: {}) => any) | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import { PopoverRoot, useForwardPropsEmits } from "reka-ui";
|
|
3
|
+
const props = defineProps();
|
|
4
|
+
const emits = defineEmits();
|
|
5
|
+
const forwarded = useForwardPropsEmits(props, emits);
|
|
6
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
7
|
+
const __VLS_ctx = {
|
|
8
|
+
...{},
|
|
9
|
+
...{},
|
|
10
|
+
...{},
|
|
11
|
+
...{},
|
|
12
|
+
...{},
|
|
13
|
+
};
|
|
14
|
+
let __VLS_elements;
|
|
15
|
+
let __VLS_components;
|
|
16
|
+
let __VLS_directives;
|
|
17
|
+
const __VLS_0 = {}.PopoverRoot;
|
|
18
|
+
/** @type {[typeof __VLS_components.PopoverRoot, typeof __VLS_components.PopoverRoot, ]} */ ;
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
PopoverRoot;
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
23
|
+
...(__VLS_ctx.forwarded),
|
|
24
|
+
}));
|
|
25
|
+
const __VLS_2 = __VLS_1({
|
|
26
|
+
...(__VLS_ctx.forwarded),
|
|
27
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
28
|
+
var __VLS_4 = {};
|
|
29
|
+
const { default: __VLS_5 } = __VLS_3.slots;
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
[forwarded,];
|
|
32
|
+
var __VLS_6 = {};
|
|
33
|
+
var __VLS_3;
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
var __VLS_7 = __VLS_6;
|
|
36
|
+
const __VLS_base = (await import('vue')).defineComponent({
|
|
37
|
+
__typeEmits: {},
|
|
38
|
+
__typeProps: {},
|
|
39
|
+
});
|
|
40
|
+
const __VLS_export = {};
|
|
41
|
+
export default {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { PopoverContentProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = PopoverContentProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
8
|
+
pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
|
|
9
|
+
focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
|
|
10
|
+
interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
|
|
11
|
+
openAutoFocus: (event: Event) => any;
|
|
12
|
+
closeAutoFocus: (event: Event) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
15
|
+
onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
|
|
16
|
+
onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
17
|
+
onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
18
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
21
|
+
default?: ((props: {}) => any) | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { PopoverContent, PopoverPortal, useForwardPropsEmits, } from "reka-ui";
|
|
4
|
+
import { cn } from "../../../lib/utils";
|
|
5
|
+
defineOptions({
|
|
6
|
+
inheritAttrs: false,
|
|
7
|
+
});
|
|
8
|
+
const props = withDefaults(defineProps(), {});
|
|
9
|
+
const emits = defineEmits();
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
11
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
12
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
13
|
+
const __VLS_defaults = {};
|
|
14
|
+
const __VLS_ctx = {
|
|
15
|
+
...{},
|
|
16
|
+
...{},
|
|
17
|
+
...{},
|
|
18
|
+
...{},
|
|
19
|
+
...{},
|
|
20
|
+
};
|
|
21
|
+
let __VLS_elements;
|
|
22
|
+
let __VLS_components;
|
|
23
|
+
let __VLS_directives;
|
|
24
|
+
const __VLS_0 = {}.PopoverPortal;
|
|
25
|
+
/** @type {[typeof __VLS_components.PopoverPortal, typeof __VLS_components.PopoverPortal, ]} */ ;
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
PopoverPortal;
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({}));
|
|
30
|
+
const __VLS_2 = __VLS_1({}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
31
|
+
var __VLS_4 = {};
|
|
32
|
+
const { default: __VLS_5 } = __VLS_3.slots;
|
|
33
|
+
const __VLS_6 = {}.PopoverContent;
|
|
34
|
+
/** @type {[typeof __VLS_components.PopoverContent, typeof __VLS_components.PopoverContent, ]} */ ;
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
PopoverContent;
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({
|
|
39
|
+
...({ ...__VLS_ctx.forwarded, ...__VLS_ctx.$attrs }),
|
|
40
|
+
...{ class: (__VLS_ctx.cn('z-[2000] min-w-72 w-max rounded-md bg-white outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', props.class)) },
|
|
41
|
+
}));
|
|
42
|
+
const __VLS_8 = __VLS_7({
|
|
43
|
+
...({ ...__VLS_ctx.forwarded, ...__VLS_ctx.$attrs }),
|
|
44
|
+
...{ class: (__VLS_ctx.cn('z-[2000] min-w-72 w-max rounded-md bg-white outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', props.class)) },
|
|
45
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_7));
|
|
46
|
+
const { default: __VLS_10 } = __VLS_9.slots;
|
|
47
|
+
// @ts-ignore
|
|
48
|
+
[forwarded, $attrs, cn,];
|
|
49
|
+
var __VLS_11 = {};
|
|
50
|
+
var __VLS_9;
|
|
51
|
+
var __VLS_3;
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
var __VLS_12 = __VLS_11;
|
|
54
|
+
const __VLS_base = (await import('vue')).defineComponent({
|
|
55
|
+
__typeEmits: {},
|
|
56
|
+
__typeProps: {},
|
|
57
|
+
props: {},
|
|
58
|
+
});
|
|
59
|
+
const __VLS_export = {};
|
|
60
|
+
export default {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PopoverTriggerProps } from "reka-ui";
|
|
2
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
3
|
+
default?: ((props: {}) => any) | undefined;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import { PopoverTrigger } from "reka-ui";
|
|
3
|
+
const props = defineProps();
|
|
4
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
5
|
+
const __VLS_ctx = {
|
|
6
|
+
...{},
|
|
7
|
+
...{},
|
|
8
|
+
...{},
|
|
9
|
+
...{},
|
|
10
|
+
};
|
|
11
|
+
let __VLS_elements;
|
|
12
|
+
let __VLS_components;
|
|
13
|
+
let __VLS_directives;
|
|
14
|
+
const __VLS_0 = {}.PopoverTrigger;
|
|
15
|
+
/** @type {[typeof __VLS_components.PopoverTrigger, typeof __VLS_components.PopoverTrigger, ]} */ ;
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
PopoverTrigger;
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
20
|
+
...(props),
|
|
21
|
+
}));
|
|
22
|
+
const __VLS_2 = __VLS_1({
|
|
23
|
+
...(props),
|
|
24
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
25
|
+
var __VLS_4 = {};
|
|
26
|
+
const { default: __VLS_5 } = __VLS_3.slots;
|
|
27
|
+
var __VLS_6 = {};
|
|
28
|
+
var __VLS_3;
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
var __VLS_7 = __VLS_6;
|
|
31
|
+
const __VLS_base = (await import('vue')).defineComponent({
|
|
32
|
+
__typeProps: {},
|
|
33
|
+
});
|
|
34
|
+
const __VLS_export = {};
|
|
35
|
+
export default {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { RadioGroupRootProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = RadioGroupRootProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (payload: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((payload: string) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?: ((props: {}) => any) | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { RadioGroupRoot, useForwardPropsEmits } from "reka-ui";
|
|
4
|
+
import { cn } from "../../../lib/utils";
|
|
5
|
+
const props = defineProps();
|
|
6
|
+
const emits = defineEmits();
|
|
7
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
8
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
9
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
10
|
+
const __VLS_ctx = {
|
|
11
|
+
...{},
|
|
12
|
+
...{},
|
|
13
|
+
...{},
|
|
14
|
+
...{},
|
|
15
|
+
...{},
|
|
16
|
+
};
|
|
17
|
+
let __VLS_elements;
|
|
18
|
+
let __VLS_components;
|
|
19
|
+
let __VLS_directives;
|
|
20
|
+
const __VLS_0 = {}.RadioGroupRoot;
|
|
21
|
+
/** @type {[typeof __VLS_components.RadioGroupRoot, typeof __VLS_components.RadioGroupRoot, ]} */ ;
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
RadioGroupRoot;
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
26
|
+
...{ class: (__VLS_ctx.cn('grid gap-2', props.class)) },
|
|
27
|
+
...(__VLS_ctx.forwarded),
|
|
28
|
+
}));
|
|
29
|
+
const __VLS_2 = __VLS_1({
|
|
30
|
+
...{ class: (__VLS_ctx.cn('grid gap-2', props.class)) },
|
|
31
|
+
...(__VLS_ctx.forwarded),
|
|
32
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
33
|
+
var __VLS_4 = {};
|
|
34
|
+
const { default: __VLS_5 } = __VLS_3.slots;
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
[cn, forwarded,];
|
|
37
|
+
var __VLS_6 = {};
|
|
38
|
+
var __VLS_3;
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
var __VLS_7 = __VLS_6;
|
|
41
|
+
const __VLS_base = (await import('vue')).defineComponent({
|
|
42
|
+
__typeEmits: {},
|
|
43
|
+
__typeProps: {},
|
|
44
|
+
});
|
|
45
|
+
const __VLS_export = {};
|
|
46
|
+
export default {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RadioGroupItemProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = RadioGroupItemProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/// <reference types="C:/phonghq/go-chat/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { Circle } from "lucide-vue-next";
|
|
4
|
+
import { RadioGroupIndicator, RadioGroupItem, useForwardProps, } from "reka-ui";
|
|
5
|
+
import { cn } from "../../../lib/utils";
|
|
6
|
+
const props = defineProps();
|
|
7
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
8
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
9
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
10
|
+
const __VLS_ctx = {
|
|
11
|
+
...{},
|
|
12
|
+
...{},
|
|
13
|
+
...{},
|
|
14
|
+
...{},
|
|
15
|
+
};
|
|
16
|
+
let __VLS_elements;
|
|
17
|
+
let __VLS_components;
|
|
18
|
+
let __VLS_directives;
|
|
19
|
+
const __VLS_0 = {}.RadioGroupItem;
|
|
20
|
+
/** @type {[typeof __VLS_components.RadioGroupItem, typeof __VLS_components.RadioGroupItem, ]} */ ;
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
RadioGroupItem;
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
25
|
+
...(__VLS_ctx.forwardedProps),
|
|
26
|
+
...{ class: (__VLS_ctx.cn('peer aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', props.class)) },
|
|
27
|
+
}));
|
|
28
|
+
const __VLS_2 = __VLS_1({
|
|
29
|
+
...(__VLS_ctx.forwardedProps),
|
|
30
|
+
...{ class: (__VLS_ctx.cn('peer aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', props.class)) },
|
|
31
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
32
|
+
var __VLS_4 = {};
|
|
33
|
+
const { default: __VLS_5 } = __VLS_3.slots;
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
[forwardedProps, cn,];
|
|
36
|
+
const __VLS_6 = {}.RadioGroupIndicator;
|
|
37
|
+
/** @type {[typeof __VLS_components.RadioGroupIndicator, typeof __VLS_components.RadioGroupIndicator, ]} */ ;
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
RadioGroupIndicator;
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({
|
|
42
|
+
...{ class: "flex items-center justify-center" },
|
|
43
|
+
}));
|
|
44
|
+
const __VLS_8 = __VLS_7({
|
|
45
|
+
...{ class: "flex items-center justify-center" },
|
|
46
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_7));
|
|
47
|
+
const { default: __VLS_10 } = __VLS_9.slots;
|
|
48
|
+
const __VLS_11 = {}.Circle;
|
|
49
|
+
/** @type {[typeof __VLS_components.Circle, ]} */ ;
|
|
50
|
+
// @ts-ignore
|
|
51
|
+
Circle;
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
const __VLS_12 = __VLS_asFunctionalComponent(__VLS_11, new __VLS_11({
|
|
54
|
+
...{ class: "h-2.5 w-2.5 fill-current text-current" },
|
|
55
|
+
}));
|
|
56
|
+
const __VLS_13 = __VLS_12({
|
|
57
|
+
...{ class: "h-2.5 w-2.5 fill-current text-current" },
|
|
58
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_12));
|
|
59
|
+
var __VLS_9;
|
|
60
|
+
var __VLS_3;
|
|
61
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
62
|
+
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
63
|
+
/** @type {__VLS_StyleScopedClasses['justify-center']} */ ;
|
|
64
|
+
/** @type {__VLS_StyleScopedClasses['h-2.5']} */ ;
|
|
65
|
+
/** @type {__VLS_StyleScopedClasses['w-2.5']} */ ;
|
|
66
|
+
/** @type {__VLS_StyleScopedClasses['fill-current']} */ ;
|
|
67
|
+
/** @type {__VLS_StyleScopedClasses['text-current']} */ ;
|
|
68
|
+
const __VLS_export = (await import('vue')).defineComponent({
|
|
69
|
+
__typeProps: {},
|
|
70
|
+
});
|
|
71
|
+
export default {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { SliderRootProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = SliderRootProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (payload: number[] | undefined) => any;
|
|
8
|
+
valueCommit: (payload: number[]) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((payload: number[] | undefined) => any) | undefined;
|
|
11
|
+
onValueCommit?: ((payload: number[]) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|