UNPKG

@squirrel-cloud/ui-vue

Version:

松鼠的坚果屋前端VUE框架

62 lines (61 loc) 1.93 kB
import { InputProps } from '../../props'; type __VLS_Props = InputProps; /** * 使输入框聚焦 */ declare function focus(): void; /** * 使输入框失焦 */ declare function blur(): void; type __VLS_PublicProps = { 'value'?: string; } & __VLS_Props; declare function __VLS_template(): { attrs: Partial<{}>; slots: { prefix?(_: {}): any; suffix?(_: {}): any; }; refs: { inputRef: HTMLTextAreaElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, { focus: typeof focus; blur: typeof blur; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { clear: () => any; input: (e: Event) => any; blur: (e: FocusEvent) => any; change: (e: Event) => any; focus: (e: FocusEvent) => any; "update:value": (value: string) => any; }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ onClear?: (() => any) | undefined; onInput?: ((e: Event) => any) | undefined; onBlur?: ((e: FocusEvent) => any) | undefined; onChange?: ((e: Event) => any) | undefined; onFocus?: ((e: FocusEvent) => any) | undefined; "onUpdate:value"?: ((value: string) => any) | undefined; }>, { type: import('../..').InputType; round: boolean; disabled: boolean; resize: import('../..').TextareaResizeType; rows: number | string; readonly: boolean; autocomplete: string; cols: number | string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { inputRef: HTMLTextAreaElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };