UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

50 lines (48 loc) 1.44 kB
import { ExtractPropTypes, PropType } from 'vue'; import { Schedules, Times } from './type'; export declare const scheduleProps: { readonly schedules: PropType<Schedules>; readonly start: { readonly type: PropType<Times>; readonly default: 9; }; readonly end: { readonly type: PropType<Times>; readonly default: 18; }; readonly hasScheduleDays: PropType<(string | number | Date)[]>; readonly gap: { readonly type: NumberConstructor; readonly default: 100; }; readonly loading: BooleanConstructor; readonly showEmpty: { readonly type: BooleanConstructor; readonly default: true; }; readonly emptyText: { readonly type: StringConstructor; readonly default: "暂无日程"; }; readonly showLine: { readonly type: BooleanConstructor; readonly default: true; }; readonly showTime: { readonly type: BooleanConstructor; readonly default: true; }; readonly cardColor: { readonly type: BooleanConstructor; readonly default: true; }; readonly separator: { readonly type: StringConstructor; readonly default: "~"; }; }; export type ScheduleProps = ExtractPropTypes<typeof scheduleProps>; export declare const scheduleEmits: { changeDate: (date: Date) => boolean; }; export type ScheduleEmits = typeof scheduleEmits;