comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
55 lines (53 loc) • 2.53 kB
TypeScript
declare function __VLS_template(): {
prefix?(_: {}): any;
"prefix-icon"?(_: {}): any;
"suffix-icon"?(_: {}): any;
suffix?(_: {}): any;
};
declare const __VLS_component: import('vue').DefineComponent<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>;
}>, {}, {}, {}, {}, 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, import('vue').PublicProps, 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;
}, {}, {}, {}, 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;
};
};