@taiga-ui/kit
Version:
Taiga UI Angular main components kit
16 lines (15 loc) • 961 B
TypeScript
import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
import { type MetadataJson } from 'libphonenumber-js/core';
import { type Observable } from 'rxjs';
export interface TuiInputPhoneInternationalOptions {
readonly countries: readonly TuiCountryIsoCode[];
readonly countrySearch: boolean;
readonly countryIsoCode: TuiCountryIsoCode;
readonly metadata: Observable<MetadataJson> | Promise<MetadataJson>;
readonly separator: string;
}
export declare const TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS: TuiInputPhoneInternationalOptions;
/**
* Default parameters for input phone international component
*/
export declare const TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS: import("@angular/core").InjectionToken<TuiInputPhoneInternationalOptions>, tuiInputPhoneInternationalOptionsProvider: (item: Partial<TuiInputPhoneInternationalOptions> | (() => Partial<TuiInputPhoneInternationalOptions>)) => import("@angular/core").FactoryProvider;