project init

This commit is contained in:
limqhz
2022-11-10 17:13:00 +08:00
commit 4956ed2f1f
113 changed files with 3617 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import type { TDate, TCalendarType } from './type';
export default class TCalendar {
firstDayOfWeek: number;
value: TDate;
type: TCalendarType;
minDate: Date;
maxDate: Date;
format: (day: TDate) => TDate;
constructor(options: any);
getTrimValue(): Date | Date[];
getDays(): any[];
getMonths(): any[];
select({ cellType, year, month, date }: {
cellType: any;
year: any;
month: any;
date: any;
}): Date | Date[];
}