UNPKG

mealcomes

Version:

MealComes 用于学习前端的组件库

62 lines (61 loc) 2.01 kB
import { CalendarDateType } from './calendar'; import { default as dayjs, Dayjs } from 'dayjs'; declare function __VLS_template(): { attrs: Partial<{}>; slots: { header?(_: { data: string; }): any; 'date-cell'?(_: { data: { isSelected: boolean; type: string; day: string; date: Date; }; }): any; }; refs: {}; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ readonly modelValue: { readonly type: DateConstructor; }; readonly range: { readonly type: import('vue').PropType<[Date, Date]>; }; readonly mini: { readonly type: BooleanConstructor; readonly default: true; }; }>, { selectedDay: import('vue').WritableComputedRef<dayjs.Dayjs | undefined, dayjs.Dayjs | undefined>; pickDay: (day: Dayjs) => void; selectDate: (type: CalendarDateType) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (val: Date) => void; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ readonly modelValue: { readonly type: DateConstructor; }; readonly range: { readonly type: import('vue').PropType<[Date, Date]>; }; readonly mini: { readonly type: BooleanConstructor; readonly default: true; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((val: Date) => any) | undefined; }>, { readonly mini: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };