UNPKG

mealcomes

Version:

MealComes 用于学习前端的组件库

60 lines (59 loc) 1.92 kB
import { default as dayjs, Dayjs } from 'dayjs'; declare function __VLS_template(): { attrs: Partial<{}>; slots: { 'date-cell'?(_: { data: { isSelected: boolean; type: string; day: string; date: Date; }; }): any; }; refs: {}; rootEl: HTMLTableElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ readonly selectedDay: { readonly type: import('vue').PropType<Dayjs>; }; readonly range: { readonly type: import('vue').PropType<[Dayjs, Dayjs]>; }; readonly date: { readonly type: import('vue').PropType<Dayjs>; readonly required: true; }; readonly hideHeader: { readonly type: BooleanConstructor; }; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { pick: (value: dayjs.Dayjs) => void; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ readonly selectedDay: { readonly type: import('vue').PropType<Dayjs>; }; readonly range: { readonly type: import('vue').PropType<[Dayjs, Dayjs]>; }; readonly date: { readonly type: import('vue').PropType<Dayjs>; readonly required: true; }; readonly hideHeader: { readonly type: BooleanConstructor; }; }>> & Readonly<{ onPick?: ((value: dayjs.Dayjs) => any) | undefined; }>, { readonly hideHeader: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLTableElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };