v-calendar-fixed
Version:
A calendar and date picker plugin for Vue.js.
104 lines (103 loc) • 4.35 kB
TypeScript
import { type PropType } from 'vue';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
events: {
type: PropType<{
refSelector: string;
isMultiDay: boolean;
isWeekly: boolean;
durationMs: number;
durationMinutes: number;
startDate: Date;
startDateTime: number;
startTimeLabel: string;
endDate: Date;
endDateTime: number;
endTimeLabel: string;
timeLabel: string;
isSolid: boolean;
dragIsDirty: boolean;
formatDate: (date: Date, mask: string) => string;
formatTime: (date: Date) => string;
resizeToConstraints: () => void;
startResize: (day: import("../../utils/page").CalendarDay, isStart: boolean) => void;
updateResize: (offset: import("../../use/calendarGrid").ResizeOffset) => void;
stopResize: () => void;
startDrag: (day: import("../../utils/page").CalendarDay) => void;
updateDrag: (offset: import("../../use/calendarGrid").DragOffset) => void;
stopDrag: () => false | undefined;
compareTo: (b: any) => number;
key: any;
summary: string;
description: string;
range: import("../../utils/date/range").DateRange;
allDay: boolean;
color: string;
fill: string;
selected: boolean;
draggable: boolean;
dragging: boolean;
resizable: boolean;
resizing: boolean;
editing: boolean;
order: number;
snapMinutes: number;
minDurationMinutes: number;
maxDurationMinutes: number;
popover: Partial<import("../..").PopoverOptions> | null;
resizeOrigin: import("../../utils/calendar/event").ResizeOrigin | null;
dragOrigin: import("../../utils/calendar/event").DragOrigin | null;
}[]>;
required: true;
};
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
events: {
type: PropType<{
refSelector: string;
isMultiDay: boolean;
isWeekly: boolean;
durationMs: number;
durationMinutes: number;
startDate: Date;
startDateTime: number;
startTimeLabel: string;
endDate: Date;
endDateTime: number;
endTimeLabel: string;
timeLabel: string;
isSolid: boolean;
dragIsDirty: boolean;
formatDate: (date: Date, mask: string) => string;
formatTime: (date: Date) => string;
resizeToConstraints: () => void;
startResize: (day: import("../../utils/page").CalendarDay, isStart: boolean) => void;
updateResize: (offset: import("../../use/calendarGrid").ResizeOffset) => void;
stopResize: () => void;
startDrag: (day: import("../../utils/page").CalendarDay) => void;
updateDrag: (offset: import("../../use/calendarGrid").DragOffset) => void;
stopDrag: () => false | undefined;
compareTo: (b: any) => number;
key: any;
summary: string;
description: string;
range: import("../../utils/date/range").DateRange;
allDay: boolean;
color: string;
fill: string;
selected: boolean;
draggable: boolean;
dragging: boolean;
resizable: boolean;
resizing: boolean;
editing: boolean;
order: number;
snapMinutes: number;
minDurationMinutes: number;
maxDurationMinutes: number;
popover: Partial<import("../..").PopoverOptions> | null;
resizeOrigin: import("../../utils/calendar/event").ResizeOrigin | null;
dragOrigin: import("../../utils/calendar/event").DragOrigin | null;
}[]>;
required: true;
};
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;