UNPKG

intl-tel-input

Version:

A JavaScript plugin for entering and validating international telephone numbers

35 lines (34 loc) 1.43 kB
import { SomeOptions } from './modules/types/public-api'; import { InputHTMLAttributes } from 'vue'; interface Props { options?: SomeOptions; usePreciseValidation?: boolean; disabled?: boolean; inputProps?: InputHTMLAttributes; value?: string | null; modelValue?: string | null; } declare const _default: import('vue').DefineComponent<Props, { instance: import('vue').ShallowRef<import('./intl-tel-input').Iti, import('./intl-tel-input').Iti>; input: import('vue').Ref<HTMLInputElement, HTMLInputElement>; }, {}, {}, {}, 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<Props> & Readonly<{ onChangeNumber?: (...args: any[]) => any; onChangeCountry?: (...args: any[]) => any; onChangeValidity?: (...args: any[]) => any; onChangeErrorCode?: (...args: any[]) => any; "onUpdate:modelValue"?: (...args: any[]) => any; }>, { disabled: boolean; options: SomeOptions; usePreciseValidation: boolean; inputProps: InputHTMLAttributes; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, { input: HTMLInputElement; }, any>; export default _default;