vue3-calendar-component
Version:
A comprehensive Vue 3 Calendar component with Vuetify 3, TypeScript, and advanced features
33 lines • 1.5 kB
TypeScript
import type { CalendarEvent, CalendarEventInternal, EventClickData, EventClickHandler } from '@/plugin/types';
import dayjs from 'dayjs';
export interface AgendaViewEmits {
(e: 'event-click', data: EventClickData): void;
(e: 'event-update', eventId: string, updates: Partial<CalendarEvent>): void;
}
declare var __VLS_5: {
date: dayjs.Dayjs;
}, __VLS_11: {
event: CalendarEventInternal;
date: dayjs.Dayjs;
handleEventClick: EventClickHandler;
};
type __VLS_Slots = {} & {
'no-events'?: (props: typeof __VLS_5) => any;
} & {
'event-content'?: (props: typeof __VLS_11) => any;
};
declare const __VLS_component: import("vue").DefineComponent<import("@/plugin/types").ViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"event-click": (data: EventClickData) => any;
"event-update": (eventId: string, updates: Partial<CalendarEvent>) => any;
}, string, import("vue").PublicProps, Readonly<import("@/plugin/types").ViewProps> & Readonly<{
"onEvent-click"?: ((data: EventClickData) => any) | undefined;
"onEvent-update"?: ((eventId: string, updates: Partial<CalendarEvent>) => 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=AgendaView.vue.d.ts.map