ngx-intl-tel-input
Version:
[](https://github.com/webcat12345/ngx-intl-tel-input/actions/workflows/ci.yml) [ => void;
propagateChange: (_: ChangeData) => void;
constructor(countryCodeData: CountryCode);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
init(): void;
setSelectedCountry(country: Country): void;
/**
* Search country based on country name, iso2, dialCode or all of them.
*/
searchCountry(): void;
onPhoneNumberChange(): void;
onCountrySelect(country: Country, el: {
focus: () => void;
}): void;
onInputKeyPress(event: KeyboardEvent): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
setDisabledState(isDisabled: boolean): void;
writeValue(obj: any): void;
resolvePlaceholder(): string;
/**
* Returns parse PhoneNumber object.
* @param phoneNumber string
* @param countryCode string
*/
private getParsedNumber;
/**
* Adjusts input alignment based on the dial code presentation style.
*/
private checkSeparateDialCodeStyle;
/**
* Cleans dialcode from phone number string.
* @param phoneNumber string
*/
private removeDialCode;
/**
* Sifts through all countries and returns iso code of the primary country
* based on the number provided.
* @param countryCode country code in number format
* @param number PhoneNumber object
*/
private getCountryIsoCode;
/**
* Gets formatted example phone number from phoneUtil.
* @param countryCode string
*/
protected getPhoneNumberPlaceHolder(countryCode: string): string;
/**
* Clearing the list to avoid duplicates (https://github.com/webcat12345/ngx-intl-tel-input/issues/248)
*/
protected fetchCountryData(): void;
/**
* Populates preferredCountriesInDropDown with prefferred countries.
*/
private updatePreferredCountries;
/**
* Updates selectedCountry.
*/
private updateSelectedCountry;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxIntlTelInputComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxIntlTelInputComponent, "ngx-intl-tel-input", never, { "value": { "alias": "value"; "required": false; }; "preferredCountries": { "alias": "preferredCountries"; "required": false; }; "enablePlaceholder": { "alias": "enablePlaceholder"; "required": false; }; "customPlaceholder": { "alias": "customPlaceholder"; "required": false; }; "numberFormat": { "alias": "numberFormat"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "onlyCountries": { "alias": "onlyCountries"; "required": false; }; "enableAutoCountrySelect": { "alias": "enableAutoCountrySelect"; "required": false; }; "searchCountryFlag": { "alias": "searchCountryFlag"; "required": false; }; "searchCountryField": { "alias": "searchCountryField"; "required": false; }; "searchCountryPlaceholder": { "alias": "searchCountryPlaceholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "selectFirstCountry": { "alias": "selectFirstCountry"; "required": false; }; "selectedCountryISO": { "alias": "selectedCountryISO"; "required": false; }; "phoneValidation": { "alias": "phoneValidation"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "separateDialCode": { "alias": "separateDialCode"; "required": false; }; }, { "countryChange": "countryChange"; }, never, never, false, never>;
}
//# sourceMappingURL=ngx-intl-tel-input.component.d.ts.map