/** * En mode simple : `string | null` ("YYYY-MM-DD"). * En mode plage (`range`) : tuple `[start, end]` où chaque borne est * "YYYY-MM-DD" ou null. */ export type CalendarValue = string | null | [string | null, string | null]; export type CalendarProps = { /** Date sélectionnée ("YYYY-MM-DD") ou tuple [start,end] si `range`. */ value?: CalendarValue; /** Appelé avec la nouvelle date (ou le tuple en mode plage). */ onChange?: (value: CalendarValue) => void; /** Borne minimale "YYYY-MM-DD" (inclusive). */ min?: string; /** Borne maximale "YYYY-MM-DD" (inclusive). */ max?: string; /** Sélection d'une plage de deux dates. */ range?: boolean; /** Premier jour de la semaine : 0 = dimanche, 1 = lundi. */ weekStartsOn?: 0 | 1; locale?: string; /** Mois affiché ("YYYY-MM"), contrôlable de l'extérieur. */ month?: string; class?: string; previousMonthLabel?: string; nextMonthLabel?: string; }; export declare const Calendar: import("vue").DefineComponent CalendarValue; default: null; }; onChange: { type: () => (value: CalendarValue) => void; default: undefined; }; min: { type: StringConstructor; default: undefined; }; max: { type: StringConstructor; default: undefined; }; range: { type: BooleanConstructor; default: boolean; }; weekStartsOn: { type: () => 0 | 1; default: number; }; locale: { type: StringConstructor; default: string; }; month: { type: StringConstructor; default: undefined; }; class: { type: StringConstructor; default: undefined; }; previousMonthLabel: { type: StringConstructor; default: undefined; }; nextMonthLabel: { type: StringConstructor; default: undefined; }; }>, () => import("vue").VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly CalendarValue; default: null; }; onChange: { type: () => (value: CalendarValue) => void; default: undefined; }; min: { type: StringConstructor; default: undefined; }; max: { type: StringConstructor; default: undefined; }; range: { type: BooleanConstructor; default: boolean; }; weekStartsOn: { type: () => 0 | 1; default: number; }; locale: { type: StringConstructor; default: string; }; month: { type: StringConstructor; default: undefined; }; class: { type: StringConstructor; default: undefined; }; previousMonthLabel: { type: StringConstructor; default: undefined; }; nextMonthLabel: { type: StringConstructor; default: undefined; }; }>> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }>, { class: string; onChange: (value: CalendarValue) => void; max: string; min: string; locale: string; value: CalendarValue; month: string; range: boolean; weekStartsOn: 0 | 1; previousMonthLabel: string; nextMonthLabel: string; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //# sourceMappingURL=Calendar.d.ts.map