UNPKG

ng-ptplibraries

Version:

30 lines (29 loc) 939 B
import { OnInit } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { CountriesService } from '../../services/countries.service'; export declare class PTPPhoneNumberComponent implements OnInit, ControlValueAccessor { private countriesService; countryCode: any; countries: any; selectedCountry: any; _phoneNumber: any; searchCountry: any; validators: any; isTouched: boolean; helpMessage: string; placeholder: string; label: string; propagateChange: (_: any) => void; onTouched: any; constructor(countriesService: CountriesService); ngOnInit(): void; phoneNumber: any; /** Resets Phone number component */ reset(): void; writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; getCountry(country: Object): void; getPhoneNumber(): string; initializeCountries(): void; }