e3f6d232b541e63183ac57cbe50c210a7a262423152c4e0b515bc059f443890a93bf23fa7e38cdeff603d2ed9a82e9b75c27f312a005aee8b176cfbcadcf08 799 B

123456789101112131415161718
  1. import dayjs from 'dayjs';
  2. import type { SetupContext } from 'vue';
  3. import type { Dayjs } from 'dayjs';
  4. import type { CalendarDateCell, CalendarDateCellType, DateTableEmits, DateTableProps } from './date-table';
  5. export declare const useDateTable: (props: DateTableProps, emit: SetupContext<DateTableEmits>["emit"]) => {
  6. now: dayjs.Dayjs;
  7. isInRange: import("vue").ComputedRef<boolean>;
  8. rows: import("vue").ComputedRef<CalendarDateCell[][]>;
  9. weekDays: import("vue").ComputedRef<string[]>;
  10. getFormattedDate: (day: number, type: CalendarDateCellType) => Dayjs;
  11. handlePickDay: ({ text, type }: CalendarDateCell) => void;
  12. getSlotData: ({ text, type }: CalendarDateCell) => {
  13. isSelected: boolean;
  14. type: string;
  15. day: string;
  16. date: Date;
  17. };
  18. };