comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
72 lines (70 loc) • 2.82 kB
TypeScript
import { ValueType } from './type';
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
readonly modelValue: {
readonly type: import('vue').PropType<ValueType>;
readonly required: true;
};
readonly format: {
readonly type: StringConstructor;
readonly default: "yyyy-MM-dd";
};
readonly valueFormat: {
readonly type: import('vue').PropType<"date" | "string" | "number">;
readonly default: "date";
};
readonly rangeSeparator: {
readonly type: StringConstructor;
readonly default: "/";
};
readonly size: import('vue').PropType<import('../../../utils').ComicSize>;
readonly range: BooleanConstructor;
readonly shortcuts: import('vue').PropType<import('./type').Shortcut[]>;
readonly disabled: BooleanConstructor;
readonly placeholder: StringConstructor;
readonly clearable: BooleanConstructor;
readonly startPlaceholder: StringConstructor;
readonly endPlaceholder: StringConstructor;
readonly disabledDate: FunctionConstructor;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (value: ValueType) => void;
clear: () => void;
"update:modelValue": (value: ValueType) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: {
readonly type: import('vue').PropType<ValueType>;
readonly required: true;
};
readonly format: {
readonly type: StringConstructor;
readonly default: "yyyy-MM-dd";
};
readonly valueFormat: {
readonly type: import('vue').PropType<"date" | "string" | "number">;
readonly default: "date";
};
readonly rangeSeparator: {
readonly type: StringConstructor;
readonly default: "/";
};
readonly size: import('vue').PropType<import('../../../utils').ComicSize>;
readonly range: BooleanConstructor;
readonly shortcuts: import('vue').PropType<import('./type').Shortcut[]>;
readonly disabled: BooleanConstructor;
readonly placeholder: StringConstructor;
readonly clearable: BooleanConstructor;
readonly startPlaceholder: StringConstructor;
readonly endPlaceholder: StringConstructor;
readonly disabledDate: FunctionConstructor;
}>> & Readonly<{
onChange?: (value: ValueType) => any;
onClear?: () => any;
"onUpdate:modelValue"?: (value: ValueType) => any;
}>, {
readonly disabled: boolean;
readonly format: string;
readonly clearable: boolean;
readonly range: boolean;
readonly valueFormat: "string" | "number" | "date";
readonly rangeSeparator: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;