UNPKG

vue3-calendar-component

Version:

A comprehensive Vue 3 Calendar component with Vuetify 3, TypeScript, and advanced features

40 lines 2.31 kB
import { CalendarEvent, CalendarView, type CalendarComponentProps } from '@/plugin/types'; import dayjs, { Dayjs } from 'dayjs'; type __VLS_Props = CalendarComponentProps; type __VLS_PublicProps = __VLS_Props & { 'events'?: CalendarEvent[]; 'currentDate'?: Date | string | Dayjs; 'currentView'?: CalendarView; }; declare var __VLS_24: string, __VLS_25: any; type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_24>]?: (props: typeof __VLS_25) => any; }; declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:events": (value: CalendarEvent[]) => any; "update:currentDate": (value: string | dayjs.Dayjs | Date) => any; "update:currentView": (value: CalendarView | undefined) => any; } & { "event-click": (data: import("@/plugin/types").EventClickData) => any; "event-drop": (data: import("@/plugin/types").EventDropData) => any; "date-click": (data: import("@/plugin/types").DateClickData) => any; "view-change": (data: import("@/plugin/types").ViewChangeData) => any; "date-change": (data: import("@/plugin/types").DateChangeData) => any; }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onEvent-click"?: ((data: import("@/plugin/types").EventClickData) => any) | undefined; "onEvent-drop"?: ((data: import("@/plugin/types").EventDropData) => any) | undefined; "onDate-click"?: ((data: import("@/plugin/types").DateClickData) => any) | undefined; "onView-change"?: ((data: import("@/plugin/types").ViewChangeData) => any) | undefined; "onDate-change"?: ((data: import("@/plugin/types").DateChangeData) => any) | undefined; "onUpdate:events"?: ((value: CalendarEvent[]) => any) | undefined; "onUpdate:currentDate"?: ((value: string | dayjs.Dayjs | Date) => any) | undefined; "onUpdate:currentView"?: ((value: CalendarView | undefined) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; }; //# sourceMappingURL=CalendarComponent.vue.d.ts.map