This commit is contained in:
2025-09-19 14:25:20 +08:00
parent 269893a435
commit fbf3f77229
24949 changed files with 2839404 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import dayjs from 'dayjs';
import type { ComputedRef, SetupContext } from 'vue';
import type { Dayjs } from 'dayjs';
import type { CalendarDateType, CalendarEmits, CalendarProps } from './calendar';
export declare const useCalendar: (props: CalendarProps, emit: SetupContext<CalendarEmits>["emit"], componentName: string) => {
calculateValidatedDateRange: (startDayjs: Dayjs, endDayjs: Dayjs) => [Dayjs, Dayjs][];
date: ComputedRef<dayjs.Dayjs>;
realSelectedDay: import("vue").WritableComputedRef<dayjs.Dayjs | undefined>;
pickDay: (day: Dayjs) => void;
selectDate: (type: CalendarDateType) => void;
validatedRange: ComputedRef<[dayjs.Dayjs, dayjs.Dayjs][]>;
};