UNPKG

mealcomes

Version:

MealComes 用于学习前端的组件库

134 lines (133 loc) 4.26 kB
declare function __VLS_template(): { attrs: Partial<{}>; slots: { prepend?(_: {}): any; prefix?(_: {}): any; suffix?(_: {}): any; append?(_: {}): any; }; refs: { inputRef: HTMLInputElement; }; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ readonly type: { readonly type: StringConstructor; readonly default: "text"; }; readonly modelValue: { readonly type: import('vue').PropType<string | number>; readonly default: ""; }; readonly placeholder: { readonly type: StringConstructor; readonly default: ""; }; readonly clearable: { readonly type: BooleanConstructor; readonly default: false; }; readonly showPassword: { readonly type: BooleanConstructor; readonly default: false; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly readonly: { readonly type: BooleanConstructor; readonly default: false; }; readonly ariaLabel: { readonly type: StringConstructor; readonly default: ""; }; readonly size: { readonly type: import('vue').PropType<import('../../../mealcomes').ComponentSize>; readonly default: "default"; }; readonly autocomplete: { readonly type: StringConstructor; readonly default: "off"; }; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { clear: () => void; input: (value: string) => void; "update:modelValue": (value: string) => void; change: (value: string) => void; focus: (event: FocusEvent) => void; blur: (event: FocusEvent) => void; keydown: (event: KeyboardEvent) => void; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ readonly type: { readonly type: StringConstructor; readonly default: "text"; }; readonly modelValue: { readonly type: import('vue').PropType<string | number>; readonly default: ""; }; readonly placeholder: { readonly type: StringConstructor; readonly default: ""; }; readonly clearable: { readonly type: BooleanConstructor; readonly default: false; }; readonly showPassword: { readonly type: BooleanConstructor; readonly default: false; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly readonly: { readonly type: BooleanConstructor; readonly default: false; }; readonly ariaLabel: { readonly type: StringConstructor; readonly default: ""; }; readonly size: { readonly type: import('vue').PropType<import('../../../mealcomes').ComponentSize>; readonly default: "default"; }; readonly autocomplete: { readonly type: StringConstructor; readonly default: "off"; }; }>> & Readonly<{ onClear?: (() => any) | undefined; onInput?: ((value: string) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; onChange?: ((value: string) => any) | undefined; onFocus?: ((event: FocusEvent) => any) | undefined; onBlur?: ((event: FocusEvent) => any) | undefined; onKeydown?: ((event: KeyboardEvent) => any) | undefined; }>, { readonly size: "" | "default" | "small" | "large"; readonly type: string; readonly disabled: boolean; readonly placeholder: string; readonly modelValue: string | number; readonly clearable: boolean; readonly showPassword: boolean; readonly readonly: boolean; readonly ariaLabel: string; readonly autocomplete: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, { inputRef: HTMLInputElement; }, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };