comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
118 lines (117 loc) • 5.9 kB
TypeScript
export declare const CuInput: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: import('vue').PropType<string | number>;
readonly size: import('vue').PropType<import('../../utils').ComicSize>;
readonly prefixIcon: import('vue').PropType<string | import('vue').Component>;
readonly suffixIcon: import('vue').PropType<string | import('vue').Component>;
readonly clearable: BooleanConstructor;
readonly placeholder: StringConstructor;
readonly type: StringConstructor;
readonly disabled: BooleanConstructor;
readonly maxlength: import('vue').PropType<string | number>;
readonly minlength: import('vue').PropType<string | number>;
}>> & Readonly<{
onInput?: (val: string | number) => any;
onBlur?: (evt: FocusEvent) => any;
onChange?: (val: string | number) => any;
onFocus?: (evt: FocusEvent) => any;
onClear?: () => any;
"onUpdate:modelValue"?: (val: string | number) => any;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
input: (val: string | number) => void;
blur: (evt: FocusEvent) => void;
change: (val: string | number) => void;
focus: (evt: FocusEvent) => void;
clear: () => void;
"update:modelValue": (val: string | number) => void;
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: import('vue').PropType<string | number>;
readonly size: import('vue').PropType<import('../../utils').ComicSize>;
readonly prefixIcon: import('vue').PropType<string | import('vue').Component>;
readonly suffixIcon: import('vue').PropType<string | import('vue').Component>;
readonly clearable: BooleanConstructor;
readonly placeholder: StringConstructor;
readonly type: StringConstructor;
readonly disabled: BooleanConstructor;
readonly maxlength: import('vue').PropType<string | number>;
readonly minlength: import('vue').PropType<string | number>;
}>> & Readonly<{
onInput?: (val: string | number) => any;
onBlur?: (evt: FocusEvent) => any;
onChange?: (val: string | number) => any;
onFocus?: (evt: FocusEvent) => any;
onClear?: () => any;
"onUpdate:modelValue"?: (val: string | number) => any;
}>, {
readonly disabled: boolean;
readonly clearable: boolean;
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: import('vue').PropType<string | number>;
readonly size: import('vue').PropType<import('../../utils').ComicSize>;
readonly prefixIcon: import('vue').PropType<string | import('vue').Component>;
readonly suffixIcon: import('vue').PropType<string | import('vue').Component>;
readonly clearable: BooleanConstructor;
readonly placeholder: StringConstructor;
readonly type: StringConstructor;
readonly disabled: BooleanConstructor;
readonly maxlength: import('vue').PropType<string | number>;
readonly minlength: import('vue').PropType<string | number>;
}>> & Readonly<{
onInput?: (val: string | number) => any;
onBlur?: (evt: FocusEvent) => any;
onChange?: (val: string | number) => any;
onFocus?: (evt: FocusEvent) => any;
onClear?: () => any;
"onUpdate:modelValue"?: (val: string | number) => any;
}>, {}, {}, {}, {}, {
readonly disabled: boolean;
readonly clearable: boolean;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
readonly modelValue: import('vue').PropType<string | number>;
readonly size: import('vue').PropType<import('../../utils').ComicSize>;
readonly prefixIcon: import('vue').PropType<string | import('vue').Component>;
readonly suffixIcon: import('vue').PropType<string | import('vue').Component>;
readonly clearable: BooleanConstructor;
readonly placeholder: StringConstructor;
readonly type: StringConstructor;
readonly disabled: BooleanConstructor;
readonly maxlength: import('vue').PropType<string | number>;
readonly minlength: import('vue').PropType<string | number>;
}>> & Readonly<{
onInput?: (val: string | number) => any;
onBlur?: (evt: FocusEvent) => any;
onChange?: (val: string | number) => any;
onFocus?: (evt: FocusEvent) => any;
onClear?: () => any;
"onUpdate:modelValue"?: (val: string | number) => any;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
input: (val: string | number) => void;
blur: (evt: FocusEvent) => void;
change: (val: string | number) => void;
focus: (evt: FocusEvent) => void;
clear: () => void;
"update:modelValue": (val: string | number) => void;
}, string, {
readonly disabled: boolean;
readonly clearable: boolean;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
$slots: {
prefix?(_: {}): any;
"prefix-icon"?(_: {}): any;
"suffix-icon"?(_: {}): any;
suffix?(_: {}): any;
};
}) & {
install?: (app: import('vue').App) => void;
};