calendar.d.ts 892 B

12345678910111213141516171819202122
  1. import type { ExtractPropTypes } from 'vue';
  2. export declare type CalendarDateType = 'prev-month' | 'next-month' | 'prev-year' | 'next-year' | 'today';
  3. export declare const calendarProps: {
  4. readonly modelValue: {
  5. readonly type: import("vue").PropType<Date>;
  6. readonly required: false;
  7. readonly validator: ((val: unknown) => boolean) | undefined;
  8. __epPropKey: true;
  9. };
  10. readonly range: {
  11. readonly type: import("vue").PropType<[Date, Date]>;
  12. readonly required: false;
  13. readonly validator: ((val: unknown) => boolean) | undefined;
  14. __epPropKey: true;
  15. };
  16. };
  17. export declare type CalendarProps = ExtractPropTypes<typeof calendarProps>;
  18. export declare const calendarEmits: {
  19. "update:modelValue": (value: Date) => boolean;
  20. input: (value: Date) => boolean;
  21. };
  22. export declare type CalendarEmits = typeof calendarEmits;