UNPKG

@lekseek/ui

Version:

Vue 3 components library

100 lines (99 loc) 3.06 kB
declare type Props = { modelValue?: Date | null; firstDayOfWeek?: number; disableBefore?: Date | null; disableAfter?: Date | null; rounded?: boolean; roundedLg?: boolean; round?: boolean; weekdayFormat?: 'short' | 'narrow' | 'long'; highlightSaturdays?: boolean; highlightSundays?: boolean; holidays?: Date[]; highlightedDates?: Date[]; loading?: boolean; sixWeeks?: boolean; }; declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { modelValue: null; firstDayOfWeek: number; disableBefore: null; disableAfter: null; rounded: boolean; roundedLg: boolean; round: boolean; weekdayFormat: string; highlightSaturdays: boolean; highlightSundays: boolean; holidays: () => never[]; highlightedDates: () => never[]; loading: boolean; sixWeeks: boolean; }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { select: (date: Date) => void; } & { "update:model-value": (date: Date) => void; } & { "select-month": (payload: { dateSelected: boolean; month: number; year: number; startDate: Date; endDate: Date; }) => void; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { modelValue: null; firstDayOfWeek: number; disableBefore: null; disableAfter: null; rounded: boolean; roundedLg: boolean; round: boolean; weekdayFormat: string; highlightSaturdays: boolean; highlightSundays: boolean; holidays: () => never[]; highlightedDates: () => never[]; loading: boolean; sixWeeks: boolean; }>>> & { onSelect?: ((date: Date) => any) | undefined; "onUpdate:model-value"?: ((date: Date) => any) | undefined; "onSelect-month"?: ((payload: { dateSelected: boolean; month: number; year: number; startDate: Date; endDate: Date; }) => any) | undefined; }, { loading: boolean; rounded: boolean; roundedLg: boolean; round: boolean; modelValue: Date | null; disableBefore: Date | null; disableAfter: Date | null; firstDayOfWeek: number; weekdayFormat: "short" | "narrow" | "long"; highlightSaturdays: boolean; highlightSundays: boolean; holidays: Date[]; highlightedDates: Date[]; sixWeeks: boolean; }>; export default _default; declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; declare type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; declare type __VLS_WithDefaults<P, D> = { [K in keyof P]: K extends keyof D ? P[K] & { default: D[K]; } : P[K]; };