UNPKG

mealcomes

Version:

MealComes 用于学习前端的组件库

97 lines (96 loc) 3.77 kB
export declare const McCalendar: import('../../utils').SFCWithInstall<{ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<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; }>, { selectedDay: import('vue').WritableComputedRef<import('dayjs').Dayjs | undefined, import('dayjs').Dayjs | undefined>; pickDay: (day: import('dayjs').Dayjs) => void; selectDate: (type: import('../../mealcomes').CalendarDateType) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (val: Date) => void; }, import('vue').PublicProps, { readonly mini: boolean; }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, 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; }>, { selectedDay: import('vue').WritableComputedRef<import('dayjs').Dayjs | undefined, import('dayjs').Dayjs | undefined>; pickDay: (day: import('dayjs').Dayjs) => void; selectDate: (type: import('../../mealcomes').CalendarDateType) => void; }, {}, {}, {}, { readonly mini: boolean; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import('vue').ComponentOptionsBase<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; }>, { selectedDay: import('vue').WritableComputedRef<import('dayjs').Dayjs | undefined, import('dayjs').Dayjs | undefined>; pickDay: (day: import('dayjs').Dayjs) => void; selectDate: (type: import('../../mealcomes').CalendarDateType) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (val: Date) => void; }, string, { readonly mini: boolean; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => { $slots: { header?(_: { data: string; }): any; 'date-cell'?(_: { data: { isSelected: boolean; type: string; day: string; date: Date; }; }): any; }; })>; export default McCalendar; export type * from './src/calendar'; export * from './src/calendar'; declare module 'vue' { interface GlobalComponents { McCalendar: typeof McCalendar; } }