UNPKG

intl-tel-input

Version:

A JavaScript plugin for entering and validating international telephone numbers

36 lines (35 loc) 1.57 kB
import { SomeOptions } from 'intl-tel-input'; import { InputHTMLAttributes } from 'vue'; interface Props { usePreciseValidation?: boolean; disabled?: boolean; readonly?: boolean; inputProps?: InputHTMLAttributes; initialValue?: string | null; modelValue?: string | null; } type __VLS_Props = Props & SomeOptions; declare const _default: import('vue').DefineComponent<__VLS_Props, { instance: import('vue').ShallowRef<import('intl-tel-input').Iti | null, import('intl-tel-input').Iti | null>; input: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { changeNumber: (...args: any[]) => void; changeCountry: (...args: any[]) => void; changeValidity: (...args: any[]) => void; changeErrorCode: (...args: any[]) => void; "update:modelValue": (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{ onChangeNumber?: ((...args: any[]) => any) | undefined; onChangeCountry?: ((...args: any[]) => any) | undefined; onChangeValidity?: ((...args: any[]) => any) | undefined; onChangeErrorCode?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }>, { usePreciseValidation: boolean; disabled: boolean; readonly: boolean; inputProps: InputHTMLAttributes; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { input: HTMLInputElement; }, any>; export default _default;