intl-input-phone
Version:
Angular library to provide the international phone number feature by country dropdown and input fields with lots of customization and features like input masking, change the country, require valiation and many more.
50 lines (49 loc) • 1.61 kB
TypeScript
import { ContentOptionsEnum, SortOrderEnum, TooltipOptionsEnum, OutputOptionsEnum } from "./Enums";
import * as i0 from "@angular/core";
/**
* Class for configure the dropdown.
*/
export declare class ConfigurationOptions {
/**
* Prperty to set the selector for the dropdown.
* Default : 'IntlPhoneNumber'
*/
SelectorClass: string;
/**
* Property to set which content show in option
* Default : Flag, CountryPhoneCode
*/
OptionTextTypes: ContentOptionsEnum[];
/**
* Property to set the tooltip text
* Default : Country Name
*/
ToolTipText: TooltipOptionsEnum;
/**
* Property to set whether tooltip is show or not.
* Default : true
*/
IsShowToolTip: boolean;
/**
* Property to set whether user want search option or not.
* Default : true
*/
IsShowSearchOption: boolean;
/**
* Property to set the sort order of country list to be rendered.
* Default : CountryISOCode
*/
SortBy: SortOrderEnum;
/**
* Property to set whether show all other country in dropdown as well or not, when specify custom country list in module.
* Default : true
*/
IsShowAllOtherCountry: boolean;
/**
* Property to set in which format user want the output when fill the input correctly.
* Default : NumberWithCountryCode
*/
OutputFormat: OutputOptionsEnum;
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationOptions, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationOptions>;
}