UNPKG

hongluan-ui

Version:
23 lines (22 loc) 864 B
import type { ExtractPropTypes } from 'vue'; export declare type CalendarDateType = 'prev-month' | 'next-month' | 'prev-year' | 'next-year' | 'today'; export declare const calendarProps: { readonly modelValue: { readonly type: import("vue").PropType<Date>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; readonly range: { readonly type: import("vue").PropType<[Date, Date]>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; }; export declare type CalendarProps = ExtractPropTypes<typeof calendarProps>; export declare const calendarEmits: { "update:modelValue": (value: Date) => boolean; input: (value: Date) => boolean; }; export declare type CalendarEmits = typeof calendarEmits;