index.d.ts 493 B

12345678910111213141516171819
  1. import type { TDate, TCalendarType } from './type';
  2. export default class TCalendar {
  3. firstDayOfWeek: number;
  4. value: TDate;
  5. type: TCalendarType;
  6. minDate: Date;
  7. maxDate: Date;
  8. format: (day: TDate) => TDate;
  9. constructor(options: any);
  10. getTrimValue(): Date | Date[];
  11. getDays(): any[];
  12. getMonths(): any[];
  13. select({ cellType, year, month, date }: {
  14. cellType: any;
  15. year: any;
  16. month: any;
  17. date: any;
  18. }): Date | Date[];
  19. }