@taiga-ui/kit
Version:
Taiga UI Angular main components kit
29 lines (28 loc) • 1.38 kB
TypeScript
import { ChangeDetectorRef } from '@angular/core';
import { NgControl } from '@angular/forms';
import { AbstractTuiControl, TuiFocusableElementAccessor, TuiStringHandler } from '@taiga-ui/cdk';
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
import { TuiCountryIsoCode } from './country-iso-code';
export declare class TuiInputPhoneInternationalComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
countryIsoCode: TuiCountryIsoCode;
countries: ReadonlyArray<TuiCountryIsoCode>;
open: boolean;
readonly arrow: PolymorpheusContent;
private staticPath;
private readonly inputPhoneComponent?;
private readonly primitiveTextfield?;
constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef, iconsPath: TuiStringHandler<string>);
get nativeFocusableElement(): HTMLElement | null;
get focused(): boolean;
get inputPhoneCountryCode(): string;
get phoneMaskAfterCountryCode(): string;
get countryFlagPath(): string;
getFlagPath(code: TuiCountryIsoCode): string;
getCountryName(isoCode: TuiCountryIsoCode): string;
onItemClick(isoCode: TuiCountryIsoCode): void;
setDisabledState(): void;
isoToCountryCode(isoCode: TuiCountryIsoCode): string;
protected getFallbackValue(): string;
private close;
private calculateMaskAfterCountryCode;
}