@quasar/quasar-ui-qcalendar
Version:
QCalendar - Day/Month/Week Calendars, Popups, Date Pickers, Schedules, Agendas, Planners and Tasks for your Vue Apps
144 lines (143 loc) • 4.47 kB
TypeScript
import { VNode, DefineComponent } from 'vue';
export interface CalendarProps {
mode: string;
modelValue: string;
weekdays: number[];
dateType: string;
weekdayAlign: string;
dateAlign: string;
bordered: boolean;
dark: boolean;
noAria: boolean;
noActiveDate: boolean;
noHeader: boolean;
noScroll: boolean;
shortWeekdayLabel: boolean;
noDefaultHeaderText: boolean;
noDefaultHeaderBtn: boolean;
minWeekdayLabel: number | string;
weekdayBreakpoints: number[];
locale: string;
animated: boolean;
transitionNext: string;
transitionPrev: string;
}
declare const _default: DefineComponent<{
mode: string;
modelValue: string;
weekdays: number[];
dateType: string;
weekdayAlign: string;
dateAlign: string;
bordered: boolean;
dark: boolean;
noAria: boolean;
noActiveDate: boolean;
noHeader: boolean;
noScroll: boolean;
shortWeekdayLabel: boolean;
noDefaultHeaderText: boolean;
noDefaultHeaderBtn: boolean;
minWeekdayLabel: number | string;
weekdayBreakpoints: number[];
locale: string;
animated: boolean;
transitionNext: string;
transitionPrev: string;
}, () => VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
mode: string;
modelValue: string;
weekdays: number[];
dateType: string;
weekdayAlign: string;
dateAlign: string;
bordered: boolean;
dark: boolean;
noAria: boolean;
noActiveDate: boolean;
noHeader: boolean;
noScroll: boolean;
shortWeekdayLabel: boolean;
noDefaultHeaderText: boolean;
noDefaultHeaderBtn: boolean;
minWeekdayLabel: number | string;
weekdayBreakpoints: number[];
locale: string;
animated: boolean;
transitionNext: string;
transitionPrev: string;
}> & Readonly<{}>, {
mode: string;
dark: boolean;
focusable: boolean;
now: string;
maxDays: number;
shortIntervalLabel: boolean;
intervalHeight: string | number;
intervalMinutes: string | number;
intervalStart: string | number;
intervalCount: string | number;
intervalStyle: ((_scope: import("../composables/useInterval").Scope) => any) | undefined;
intervalClass: ((_scope: import("../composables/useInterval").Scope) => string) | undefined;
weekdayStyle: Function;
weekdayClass: Function;
showIntervalLabel: ((_timestamp: import("..").Timestamp) => any) | undefined;
hour24Format: boolean;
timeClicksClamped: boolean;
dateHeader: "inline" | "stacked" | "inverted";
modelValue: string;
weekdays: number[];
dateType: "square" | "round" | "rounded";
weekdayAlign: "center" | "left" | "right";
dateAlign: "center" | "left" | "right";
bordered: boolean;
noAria: boolean;
noActiveDate: boolean;
noHeader: boolean;
noScroll: boolean;
shortWeekdayLabel: boolean;
noDefaultHeaderText: boolean;
noDefaultHeaderBtn: boolean;
minWeekdayLabel: string | number;
weekdayBreakpoints: number[];
locale: string;
animated: boolean;
transitionPrev: string;
transitionNext: string;
disabledWeekdays: number[];
selectedDates: string[] | Set<string>;
selectedStartEndDates: string[];
hoverable: boolean;
focusType: ("time" | "interval" | "day" | "weekday" | "date" | "resource" | "task")[];
resourceKey: string;
resourceLabel: string;
resourceHeight: string | number;
resourceMinHeight: string | number;
resourceStyle: ((_scope: any) => any) | undefined;
resourceClass: ((_scope: any) => string) | undefined;
dayStyle: Function;
dayClass: Function;
dayHeight: string | number;
dayMinHeight: string | number;
cellWidth: string | number;
intervalHeaderHeight: string | number;
useNavigation: boolean;
minWeeks: string | number;
shortMonthLabel: boolean;
showWorkWeeks: boolean;
showMonthLabel: boolean;
showDayOfYearLabel: boolean;
enableOutsideDays: boolean;
noOutsideDays: boolean;
hover: boolean;
breakpoint: string | number;
monthLabelSize: string;
modelTasks: any[];
modelTitle: any[];
modelFooter: any[];
taskKey: string | number;
footerDayClass: Function;
viewCount: number;
taskWidth: number;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;