UNPKG

element-plus

Version:

A Component Library for Vue 3

53 lines (52 loc) 1.81 kB
import { ComponentSize } from "../../../constants/size.js"; import { InputOtpProps } from "./input-otp.js"; import * as _$vue from "vue"; //#region ../../packages/components/input-otp/src/input-otp.vue.d.ts declare var __VLS_1: { index: number; }; type __VLS_Slots = {} & { separator?: (props: typeof __VLS_1) => any; }; declare const __VLS_base: _$vue.DefineComponent<InputOtpProps, { /** * @description HTML input elements array */ inputRefs: _$vue.Ref<(HTMLInputElement | undefined)[], (HTMLInputElement | undefined)[]>; /** * @description Focus an OTP input field */ focus: (index?: number) => void; /** * @description Blur the focused OTP input field */ blur: () => void; }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, { finish: (value: string) => void; change: (value: string) => void; "update:modelValue": (value: string) => void; focus: (eve: FocusEvent) => void; blur: (eve: FocusEvent) => void; }, string, _$vue.PublicProps, Readonly<InputOtpProps> & Readonly<{ onFinish?: ((value: string) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; onChange?: ((value: string) => any) | undefined; onFocus?: ((eve: FocusEvent) => any) | undefined; onBlur?: ((eve: FocusEvent) => any) | undefined; }>, { length: number; type: "outlined" | "filled" | "underlined"; validator: (char: string, index: number) => boolean; disabled: boolean; size: ComponentSize; validateEvent: boolean; }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>; declare const _default: typeof __VLS_export; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; }; //#endregion export { _default as default };