comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
124 lines (122 loc) • 3.84 kB
TypeScript
declare function selectDate(value: any): void;
declare function __VLS_template(): {
header?(_: {
date: Date;
}): any;
card?(_: {
data: {
[key: string]: any;
time: string;
content?: string | import('vue').VNode;
};
}): any;
empty?(_: {
date: Date;
}): any;
calendar?(_: {}): any;
};
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
readonly schedules: import('vue').PropType<import('./type').Schedules>;
readonly start: {
readonly type: import('vue').PropType<import('./type').Times>;
readonly default: 9;
};
readonly end: {
readonly type: import('vue').PropType<import('./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: "~";
};
}>, {
selectDate: typeof selectDate;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
changeDate: (date: Date) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
readonly schedules: import('vue').PropType<import('./type').Schedules>;
readonly start: {
readonly type: import('vue').PropType<import('./type').Times>;
readonly default: 9;
};
readonly end: {
readonly type: import('vue').PropType<import('./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('./type').Times;
readonly end: import('./type').Times;
readonly gap: number;
readonly showEmpty: boolean;
readonly emptyText: string;
readonly showTime: boolean;
readonly cardColor: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};