comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
165 lines (164 loc) • 7.35 kB
TypeScript
export declare const CuDatePicker: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: {
readonly type: import('vue').PropType<import('./src/type').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('./src/type').Shortcut[]>;
readonly disabled: BooleanConstructor;
readonly placeholder: StringConstructor;
readonly clearable: BooleanConstructor;
readonly startPlaceholder: StringConstructor;
readonly endPlaceholder: StringConstructor;
readonly disabledDate: FunctionConstructor;
}>> & Readonly<{
onChange?: (value: import('./src/type').ValueType) => any;
onClear?: () => any;
"onUpdate:modelValue"?: (value: import('./src/type').ValueType) => any;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (value: import('./src/type').ValueType) => void;
clear: () => void;
"update:modelValue": (value: import('./src/type').ValueType) => void;
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: {
readonly type: import('vue').PropType<import('./src/type').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('./src/type').Shortcut[]>;
readonly disabled: BooleanConstructor;
readonly placeholder: StringConstructor;
readonly clearable: BooleanConstructor;
readonly startPlaceholder: StringConstructor;
readonly endPlaceholder: StringConstructor;
readonly disabledDate: FunctionConstructor;
}>> & Readonly<{
onChange?: (value: import('./src/type').ValueType) => any;
onClear?: () => any;
"onUpdate:modelValue"?: (value: import('./src/type').ValueType) => any;
}>, {
readonly disabled: boolean;
readonly format: string;
readonly clearable: boolean;
readonly range: boolean;
readonly valueFormat: "string" | "number" | "date";
readonly rangeSeparator: string;
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: {
readonly type: import('vue').PropType<import('./src/type').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('./src/type').Shortcut[]>;
readonly disabled: BooleanConstructor;
readonly placeholder: StringConstructor;
readonly clearable: BooleanConstructor;
readonly startPlaceholder: StringConstructor;
readonly endPlaceholder: StringConstructor;
readonly disabledDate: FunctionConstructor;
}>> & Readonly<{
onChange?: (value: import('./src/type').ValueType) => any;
onClear?: () => any;
"onUpdate:modelValue"?: (value: import('./src/type').ValueType) => any;
}>, {}, {}, {}, {}, {
readonly disabled: boolean;
readonly format: string;
readonly clearable: boolean;
readonly range: boolean;
readonly valueFormat: "string" | "number" | "date";
readonly rangeSeparator: string;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: {
readonly type: import('vue').PropType<import('./src/type').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('./src/type').Shortcut[]>;
readonly disabled: BooleanConstructor;
readonly placeholder: StringConstructor;
readonly clearable: BooleanConstructor;
readonly startPlaceholder: StringConstructor;
readonly endPlaceholder: StringConstructor;
readonly disabledDate: FunctionConstructor;
}>> & Readonly<{
onChange?: (value: import('./src/type').ValueType) => any;
onClear?: () => any;
"onUpdate:modelValue"?: (value: import('./src/type').ValueType) => any;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (value: import('./src/type').ValueType) => void;
clear: () => void;
"update:modelValue": (value: import('./src/type').ValueType) => void;
}, string, {
readonly disabled: boolean;
readonly format: string;
readonly clearable: boolean;
readonly range: boolean;
readonly valueFormat: "string" | "number" | "date";
readonly rangeSeparator: string;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
install?: (app: import('vue').App) => void;
};