UNPKG

vue3-year-calendar

Version:

A customizable year calendar component for Vue 3 applications

50 lines (49 loc) 1.6 kB
interface ActiveDate { date: string; className?: string; } interface Props { showYearSelector?: boolean; activeDates?: (string | ActiveDate)[]; modelValue?: string | number; lang?: string; activeClass?: string; prefixClass?: string; darkmode?: boolean; } declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { toggleDate: (value: { date: string; selected: boolean; className?: string; }) => any; overDay: (value: { date: string; selected: boolean; className?: string; }) => any; "update:modelValue": (value: number) => any; "update:activeDates": (value: (string | ActiveDate)[]) => any; }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{ onToggleDate?: ((value: { date: string; selected: boolean; className?: string; }) => any) | undefined; onOverDay?: ((value: { date: string; selected: boolean; className?: string; }) => any) | undefined; "onUpdate:modelValue"?: ((value: number) => any) | undefined; "onUpdate:activeDates"?: ((value: (string | ActiveDate)[]) => any) | undefined; }>, { activeDates: (string | ActiveDate)[]; lang: string; activeClass: string; prefixClass: string; darkmode: boolean; showYearSelector: boolean; modelValue: string | number; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>; export default _default;