comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
244 lines (243 loc) • 8.62 kB
TypeScript
export declare const CuSchedule: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
readonly schedules: import('vue').PropType<import('./src/type').Schedules>;
readonly start: {
readonly type: import('vue').PropType<import('./src/type').Times>;
readonly default: 9;
};
readonly end: {
readonly type: import('vue').PropType<import('./src/type').Times>;
readonly default: 18;
};
readonly hasScheduleDays: import('vue').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: "~";
};
}>> & Readonly<{
onChangeDate?: (date: Date) => any;
}>, {
selectDate: (value: any) => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
changeDate: (date: Date) => void;
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
readonly schedules: import('vue').PropType<import('./src/type').Schedules>;
readonly start: {
readonly type: import('vue').PropType<import('./src/type').Times>;
readonly default: 9;
};
readonly end: {
readonly type: import('vue').PropType<import('./src/type').Times>;
readonly default: 18;
};
readonly hasScheduleDays: import('vue').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: "~";
};
}>> & Readonly<{
onChangeDate?: (date: Date) => any;
}>, {
readonly showLine: boolean;
readonly separator: string;
readonly loading: boolean;
readonly start: import('./src/type').Times;
readonly end: import('./src/type').Times;
readonly gap: number;
readonly showEmpty: boolean;
readonly emptyText: string;
readonly showTime: boolean;
readonly cardColor: boolean;
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import('vue').ExtractPropTypes<{
readonly schedules: import('vue').PropType<import('./src/type').Schedules>;
readonly start: {
readonly type: import('vue').PropType<import('./src/type').Times>;
readonly default: 9;
};
readonly end: {
readonly type: import('vue').PropType<import('./src/type').Times>;
readonly default: 18;
};
readonly hasScheduleDays: import('vue').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: "~";
};
}>> & Readonly<{
onChangeDate?: (date: Date) => any;
}>, {
selectDate: (value: any) => void;
}, {}, {}, {}, {
readonly showLine: boolean;
readonly separator: string;
readonly loading: boolean;
readonly start: import('./src/type').Times;
readonly end: import('./src/type').Times;
readonly gap: number;
readonly showEmpty: boolean;
readonly emptyText: string;
readonly showTime: boolean;
readonly cardColor: boolean;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
readonly schedules: import('vue').PropType<import('./src/type').Schedules>;
readonly start: {
readonly type: import('vue').PropType<import('./src/type').Times>;
readonly default: 9;
};
readonly end: {
readonly type: import('vue').PropType<import('./src/type').Times>;
readonly default: 18;
};
readonly hasScheduleDays: import('vue').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: "~";
};
}>> & Readonly<{
onChangeDate?: (date: Date) => any;
}>, {
selectDate: (value: any) => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
changeDate: (date: Date) => void;
}, string, {
readonly showLine: boolean;
readonly separator: string;
readonly loading: boolean;
readonly start: import('./src/type').Times;
readonly end: import('./src/type').Times;
readonly gap: number;
readonly showEmpty: boolean;
readonly emptyText: string;
readonly showTime: boolean;
readonly cardColor: boolean;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
$slots: {
header?(_: {
date: Date;
}): any;
card?(_: {
data: {
[key: string]: any;
time: string;
content?: string | import('vue').VNode;
};
}): any;
empty?(_: {
date: Date;
}): any;
calendar?(_: {}): any;
};
}) & {
install?: (app: import('vue').App) => void;
};