@moddi3/ngx-intl-tel-input 16.0.0 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/README.md +119 -103
- package/fesm2022/moddi3-ngx-intl-tel-input.mjs +2361 -1201
- package/fesm2022/moddi3-ngx-intl-tel-input.mjs.map +1 -1
- package/package.json +22 -21
- package/types/moddi3-ngx-intl-tel-input.d.ts +497 -0
- package/types/moddi3-ngx-intl-tel-input.d.ts.map +1 -0
- package/esm2022/lib/data/country-code.mjs +0 -325
- package/esm2022/lib/directives/native-element-injector.directive.mjs +0 -33
- package/esm2022/lib/enums/country-iso.enum.mjs +0 -247
- package/esm2022/lib/enums/phone-number-format.enum.mjs +0 -6
- package/esm2022/lib/enums/search-country-field.enum.mjs +0 -8
- package/esm2022/lib/interfaces/change-data.mjs +0 -2
- package/esm2022/lib/model/country.model.mjs +0 -2
- package/esm2022/lib/ngx-intl-tel-input.component.mjs +0 -515
- package/esm2022/lib/ngx-intl-tel-input.module.mjs +0 -23
- package/esm2022/lib/ngx-intl-tel-input.validator.mjs +0 -59
- package/esm2022/moddi3-ngx-intl-tel-input.mjs +0 -5
- package/esm2022/public_api.mjs +0 -11
- package/index.d.ts +0 -6
- package/lib/data/country-code.d.ts +0 -7
- package/lib/data/country-code.d.ts.map +0 -1
- package/lib/directives/native-element-injector.directive.d.ts +0 -12
- package/lib/directives/native-element-injector.directive.d.ts.map +0 -1
- package/lib/enums/country-iso.enum.d.ts +0 -246
- package/lib/enums/country-iso.enum.d.ts.map +0 -1
- package/lib/enums/phone-number-format.enum.d.ts +0 -5
- package/lib/enums/phone-number-format.enum.d.ts.map +0 -1
- package/lib/enums/search-country-field.enum.d.ts +0 -7
- package/lib/enums/search-country-field.enum.d.ts.map +0 -1
- package/lib/interfaces/change-data.d.ts +0 -9
- package/lib/interfaces/change-data.d.ts.map +0 -1
- package/lib/model/country.model.d.ts +0 -12
- package/lib/model/country.model.d.ts.map +0 -1
- package/lib/ngx-intl-tel-input.component.d.ts +0 -103
- package/lib/ngx-intl-tel-input.component.d.ts.map +0 -1
- package/lib/ngx-intl-tel-input.module.d.ts +0 -15
- package/lib/ngx-intl-tel-input.module.d.ts.map +0 -1
- package/lib/ngx-intl-tel-input.validator.d.ts +0 -6
- package/lib/ngx-intl-tel-input.validator.d.ts.map +0 -1
- package/moddi3-ngx-intl-tel-input-16.0.0.tgz +0 -0
- package/moddi3-ngx-intl-tel-input.d.ts.map +0 -1
- package/public_api.d.ts +0 -8
- package/public_api.d.ts.map +0 -1
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
3
|
+
export declare enum CountryISO {
|
|
4
|
+
Afghanistan = "af",
|
|
5
|
+
Albania = "al",
|
|
6
|
+
Algeria = "dz",
|
|
7
|
+
AmericanSamoa = "as",
|
|
8
|
+
Andorra = "ad",
|
|
9
|
+
Angola = "ao",
|
|
10
|
+
Anguilla = "ai",
|
|
11
|
+
AntiguaAndBarbuda = "ag",
|
|
12
|
+
Argentina = "ar",
|
|
13
|
+
Armenia = "am",
|
|
14
|
+
Aruba = "aw",
|
|
15
|
+
Australia = "au",
|
|
16
|
+
Austria = "at",
|
|
17
|
+
Azerbaijan = "az",
|
|
18
|
+
Bahamas = "bs",
|
|
19
|
+
Bahrain = "bh",
|
|
20
|
+
Bangladesh = "bd",
|
|
21
|
+
Barbados = "bb",
|
|
22
|
+
Belarus = "by",
|
|
23
|
+
Belgium = "be",
|
|
24
|
+
Belize = "bz",
|
|
25
|
+
Benin = "bj",
|
|
26
|
+
Bermuda = "bm",
|
|
27
|
+
Bhutan = "bt",
|
|
28
|
+
Bolivia = "bo",
|
|
29
|
+
BosniaAndHerzegovina = "ba",
|
|
30
|
+
Botswana = "bw",
|
|
31
|
+
Brazil = "br",
|
|
32
|
+
BritishIndianOceanTerritory = "io",
|
|
33
|
+
BritishVirginIslands = "vg",
|
|
34
|
+
Brunei = "bn",
|
|
35
|
+
Bulgaria = "bg",
|
|
36
|
+
BurkinaFaso = "bf",
|
|
37
|
+
Burundi = "bi",
|
|
38
|
+
Cambodia = "kh",
|
|
39
|
+
Cameroon = "cm",
|
|
40
|
+
Canada = "ca",
|
|
41
|
+
CapeVerde = "cv",
|
|
42
|
+
CaribbeanNetherlands = "bq",
|
|
43
|
+
CaymanIslands = "ky",
|
|
44
|
+
CentralAfricanRepublic = "cf",
|
|
45
|
+
Chad = "td",
|
|
46
|
+
Chile = "cl",
|
|
47
|
+
China = "cn",
|
|
48
|
+
ChristmasIsland = "cx",
|
|
49
|
+
Cocos = "cc",
|
|
50
|
+
Colombia = "co",
|
|
51
|
+
Comoros = "km",
|
|
52
|
+
CongoDRCJamhuriYaKidemokrasiaYaKongo = "cd",
|
|
53
|
+
CongoRepublicCongoBrazzaville = "cg",
|
|
54
|
+
CookIslands = "ck",
|
|
55
|
+
CostaRica = "cr",
|
|
56
|
+
CôteDIvoire = "ci",
|
|
57
|
+
Croatia = "hr",
|
|
58
|
+
Cuba = "cu",
|
|
59
|
+
Curaçao = "cw",
|
|
60
|
+
Cyprus = "cy",
|
|
61
|
+
CzechRepublic = "cz",
|
|
62
|
+
Denmark = "dk",
|
|
63
|
+
Djibouti = "dj",
|
|
64
|
+
Dominica = "dm",
|
|
65
|
+
DominicanRepublic = "do",
|
|
66
|
+
Ecuador = "ec",
|
|
67
|
+
Egypt = "eg",
|
|
68
|
+
ElSalvador = "sv",
|
|
69
|
+
EquatorialGuinea = "gq",
|
|
70
|
+
Eritrea = "er",
|
|
71
|
+
Estonia = "ee",
|
|
72
|
+
Ethiopia = "et",
|
|
73
|
+
FalklandIslands = "fk",
|
|
74
|
+
FaroeIslands = "fo",
|
|
75
|
+
Fiji = "fj",
|
|
76
|
+
Finland = "fi",
|
|
77
|
+
France = "fr",
|
|
78
|
+
FrenchGuiana = "gf",
|
|
79
|
+
FrenchPolynesia = "pf",
|
|
80
|
+
Gabon = "ga",
|
|
81
|
+
Gambia = "gm",
|
|
82
|
+
Georgia = "ge",
|
|
83
|
+
Germany = "de",
|
|
84
|
+
Ghana = "gh",
|
|
85
|
+
Gibraltar = "gi",
|
|
86
|
+
Greece = "gr",
|
|
87
|
+
Greenland = "gl",
|
|
88
|
+
Grenada = "gd",
|
|
89
|
+
Guadeloupe = "gp",
|
|
90
|
+
Guam = "gu",
|
|
91
|
+
Guatemala = "gt",
|
|
92
|
+
Guernsey = "gg",
|
|
93
|
+
Guinea = "gn",
|
|
94
|
+
GuineaBissau = "gw",
|
|
95
|
+
Guyana = "gy",
|
|
96
|
+
Haiti = "ht",
|
|
97
|
+
Honduras = "hn",
|
|
98
|
+
HongKong = "hk",
|
|
99
|
+
Hungary = "hu",
|
|
100
|
+
Iceland = "is",
|
|
101
|
+
India = "in",
|
|
102
|
+
Indonesia = "id",
|
|
103
|
+
Iran = "ir",
|
|
104
|
+
Iraq = "iq",
|
|
105
|
+
Ireland = "ie",
|
|
106
|
+
IsleOfMan = "im",
|
|
107
|
+
Israel = "il",
|
|
108
|
+
Italy = "it",
|
|
109
|
+
Jamaica = "jm",
|
|
110
|
+
Japan = "jp",
|
|
111
|
+
Jersey = "je",
|
|
112
|
+
Jordan = "jo",
|
|
113
|
+
Kazakhstan = "kz",
|
|
114
|
+
Kenya = "ke",
|
|
115
|
+
Kiribati = "ki",
|
|
116
|
+
Kosovo = "xk",
|
|
117
|
+
Kuwait = "kw",
|
|
118
|
+
Kyrgyzstan = "kg",
|
|
119
|
+
Laos = "la",
|
|
120
|
+
Latvia = "lv",
|
|
121
|
+
Lebanon = "lb",
|
|
122
|
+
Lesotho = "ls",
|
|
123
|
+
Liberia = "lr",
|
|
124
|
+
Libya = "ly",
|
|
125
|
+
Liechtenstein = "li",
|
|
126
|
+
Lithuania = "lt",
|
|
127
|
+
Luxembourg = "lu",
|
|
128
|
+
Macau = "mo",
|
|
129
|
+
Macedonia = "mk",
|
|
130
|
+
Madagascar = "mg",
|
|
131
|
+
Malawi = "mw",
|
|
132
|
+
Malaysia = "my",
|
|
133
|
+
Maldives = "mv",
|
|
134
|
+
Mali = "ml",
|
|
135
|
+
Malta = "mt",
|
|
136
|
+
MarshallIslands = "mh",
|
|
137
|
+
Martinique = "mq",
|
|
138
|
+
Mauritania = "mr",
|
|
139
|
+
Mauritius = "mu",
|
|
140
|
+
Mayotte = "yt",
|
|
141
|
+
Mexico = "mx",
|
|
142
|
+
Micronesia = "fm",
|
|
143
|
+
Moldova = "md",
|
|
144
|
+
Monaco = "mc",
|
|
145
|
+
Mongolia = "mn",
|
|
146
|
+
Montenegro = "me",
|
|
147
|
+
Montserrat = "ms",
|
|
148
|
+
Morocco = "ma",
|
|
149
|
+
Mozambique = "mz",
|
|
150
|
+
Myanmar = "mm",
|
|
151
|
+
Namibia = "na",
|
|
152
|
+
Nauru = "nr",
|
|
153
|
+
Nepal = "np",
|
|
154
|
+
Netherlands = "nl",
|
|
155
|
+
NewCaledonia = "nc",
|
|
156
|
+
NewZealand = "nz",
|
|
157
|
+
Nicaragua = "ni",
|
|
158
|
+
Niger = "ne",
|
|
159
|
+
Nigeria = "ng",
|
|
160
|
+
Niue = "nu",
|
|
161
|
+
NorfolkIsland = "nf",
|
|
162
|
+
NorthKorea = "kp",
|
|
163
|
+
NorthernMarianaIslands = "mp",
|
|
164
|
+
Norway = "no",
|
|
165
|
+
Oman = "om",
|
|
166
|
+
Pakistan = "pk",
|
|
167
|
+
Palau = "pw",
|
|
168
|
+
Palestine = "ps",
|
|
169
|
+
Panama = "pa",
|
|
170
|
+
PapuaNewGuinea = "pg",
|
|
171
|
+
Paraguay = "py",
|
|
172
|
+
Peru = "pe",
|
|
173
|
+
Philippines = "ph",
|
|
174
|
+
Poland = "pl",
|
|
175
|
+
Portugal = "pt",
|
|
176
|
+
PuertoRico = "pr",
|
|
177
|
+
Qatar = "qa",
|
|
178
|
+
Réunion = "re",
|
|
179
|
+
Romania = "ro",
|
|
180
|
+
Russia = "ru",
|
|
181
|
+
Rwanda = "rw",
|
|
182
|
+
SaintBarthélemy = "bl",
|
|
183
|
+
SaintHelena = "sh",
|
|
184
|
+
SaintKittsAndNevis = "kn",
|
|
185
|
+
SaintLucia = "lc",
|
|
186
|
+
SaintMartin = "mf",
|
|
187
|
+
SaintPierreAndMiquelon = "pm",
|
|
188
|
+
SaintVincentAndTheGrenadines = "vc",
|
|
189
|
+
Samoa = "ws",
|
|
190
|
+
SanMarino = "sm",
|
|
191
|
+
SãoToméAndPríncipe = "st",
|
|
192
|
+
SaudiArabia = "sa",
|
|
193
|
+
Senegal = "sn",
|
|
194
|
+
Serbia = "rs",
|
|
195
|
+
Seychelles = "sc",
|
|
196
|
+
SierraLeone = "sl",
|
|
197
|
+
Singapore = "sg",
|
|
198
|
+
SintMaarten = "sx",
|
|
199
|
+
Slovakia = "sk",
|
|
200
|
+
Slovenia = "si",
|
|
201
|
+
SolomonIslands = "sb",
|
|
202
|
+
Somalia = "so",
|
|
203
|
+
SouthAfrica = "za",
|
|
204
|
+
SouthKorea = "kr",
|
|
205
|
+
SouthSudan = "ss",
|
|
206
|
+
Spain = "es",
|
|
207
|
+
SriLanka = "lk",
|
|
208
|
+
Sudan = "sd",
|
|
209
|
+
Suriname = "sr",
|
|
210
|
+
SvalbardAndJanMayen = "sj",
|
|
211
|
+
Swaziland = "sz",
|
|
212
|
+
Sweden = "se",
|
|
213
|
+
Switzerland = "ch",
|
|
214
|
+
Syria = "sy",
|
|
215
|
+
Taiwan = "tw",
|
|
216
|
+
Tajikistan = "tj",
|
|
217
|
+
Tanzania = "tz",
|
|
218
|
+
Thailand = "th",
|
|
219
|
+
TimorLeste = "tl",
|
|
220
|
+
Togo = "tg",
|
|
221
|
+
Tokelau = "tk",
|
|
222
|
+
Tonga = "to",
|
|
223
|
+
TrinidadAndTobago = "tt",
|
|
224
|
+
Tunisia = "tn",
|
|
225
|
+
Turkey = "tr",
|
|
226
|
+
Turkmenistan = "tm",
|
|
227
|
+
TurksAndCaicosIslands = "tc",
|
|
228
|
+
Tuvalu = "tv",
|
|
229
|
+
USVirginIslands = "vi",
|
|
230
|
+
Uganda = "ug",
|
|
231
|
+
Ukraine = "ua",
|
|
232
|
+
UnitedArabEmirates = "ae",
|
|
233
|
+
UnitedKingdom = "gb",
|
|
234
|
+
UnitedStates = "us",
|
|
235
|
+
Uruguay = "uy",
|
|
236
|
+
Uzbekistan = "uz",
|
|
237
|
+
Vanuatu = "vu",
|
|
238
|
+
VaticanCity = "va",
|
|
239
|
+
Venezuela = "ve",
|
|
240
|
+
Vietnam = "vn",
|
|
241
|
+
WallisAndFutuna = "wf",
|
|
242
|
+
WesternSahara = "eh",
|
|
243
|
+
Yemen = "ye",
|
|
244
|
+
Zambia = "zm",
|
|
245
|
+
Zimbabwe = "zw",
|
|
246
|
+
ÅlandIslands = "ax"
|
|
247
|
+
}
|
|
248
|
+
export declare enum PhoneNumberFormat {
|
|
249
|
+
International = "INTERNATIONAL",
|
|
250
|
+
National = "NATIONAL"
|
|
251
|
+
}
|
|
252
|
+
export declare enum SearchCountryField {
|
|
253
|
+
DialCode = "dialCode",
|
|
254
|
+
Iso2 = "iso2",
|
|
255
|
+
Name = "name",
|
|
256
|
+
All = "all"
|
|
257
|
+
}
|
|
258
|
+
export interface ChangeData {
|
|
259
|
+
number?: string;
|
|
260
|
+
internationalNumber?: string;
|
|
261
|
+
nationalNumber?: string;
|
|
262
|
+
e164Number?: string;
|
|
263
|
+
countryCode?: string;
|
|
264
|
+
dialCode?: string;
|
|
265
|
+
}
|
|
266
|
+
interface Country {
|
|
267
|
+
name: string;
|
|
268
|
+
iso2: CountryISO | string;
|
|
269
|
+
dialCode: string;
|
|
270
|
+
priority: number;
|
|
271
|
+
areaCodes?: string[];
|
|
272
|
+
htmlId: string;
|
|
273
|
+
flagClass: string;
|
|
274
|
+
placeHolder: string;
|
|
275
|
+
}
|
|
276
|
+
/** One row of the country list: preferred countries come first and repeat in the standard list. */
|
|
277
|
+
interface CountryOption {
|
|
278
|
+
id: string;
|
|
279
|
+
country: Country;
|
|
280
|
+
preferred: boolean;
|
|
281
|
+
}
|
|
282
|
+
export declare class NgxIntlTelInputComponent implements OnInit, OnChanges {
|
|
283
|
+
value: string | undefined;
|
|
284
|
+
preferredCountries: Array<string>;
|
|
285
|
+
enablePlaceholder: boolean;
|
|
286
|
+
customPlaceholder: string;
|
|
287
|
+
numberFormat: PhoneNumberFormat;
|
|
288
|
+
cssClass: string;
|
|
289
|
+
onlyCountries: Array<string>;
|
|
290
|
+
enableAutoCountrySelect: boolean;
|
|
291
|
+
searchCountryFlag: boolean;
|
|
292
|
+
searchCountryField: SearchCountryField[];
|
|
293
|
+
searchCountryPlaceholder: string;
|
|
294
|
+
maxLength: number;
|
|
295
|
+
selectFirstCountry: boolean;
|
|
296
|
+
selectedCountryISO: CountryISO;
|
|
297
|
+
phoneValidation: boolean;
|
|
298
|
+
inputId: string;
|
|
299
|
+
separateDialCode: boolean;
|
|
300
|
+
excludeCountries: Array<CountryISO>;
|
|
301
|
+
separateDialCodeClass: string;
|
|
302
|
+
readonly countryChange: EventEmitter<Country>;
|
|
303
|
+
selectedCountry: Country;
|
|
304
|
+
phoneNumber: string | undefined;
|
|
305
|
+
allCountries: Array<Country>;
|
|
306
|
+
preferredCountriesInDropDown: Array<Country>;
|
|
307
|
+
phoneUtil: any;
|
|
308
|
+
disabled: boolean;
|
|
309
|
+
countrySearchText: string;
|
|
310
|
+
protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
311
|
+
protected readonly dropdownId: string;
|
|
312
|
+
protected readonly listboxId: string;
|
|
313
|
+
/** Rows of the open list and the listbox value; both are rebuilt on every open. */
|
|
314
|
+
protected countryOptions: CountryOption[];
|
|
315
|
+
protected selectedOptionIds: string[];
|
|
316
|
+
private openedWithIds;
|
|
317
|
+
countryList: ElementRef;
|
|
318
|
+
private readonly listbox;
|
|
319
|
+
private readonly options;
|
|
320
|
+
private readonly toggleEl;
|
|
321
|
+
private readonly flagContainerEl;
|
|
322
|
+
private readonly searchInputEl;
|
|
323
|
+
private readonly focusableEl;
|
|
324
|
+
private readonly countryCodeData;
|
|
325
|
+
onTouched: () => void;
|
|
326
|
+
propagateChange: (_: ChangeData) => void;
|
|
327
|
+
constructor();
|
|
328
|
+
protected get hasSearch(): boolean;
|
|
329
|
+
protected get toggleAriaLabel(): string;
|
|
330
|
+
ngOnInit(): void;
|
|
331
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
332
|
+
init(): void;
|
|
333
|
+
setSelectedCountry(country: Country): void;
|
|
334
|
+
/** Single entry point for the open state: Aria's `expanded`, the search-mode toggle and Esc all land here. */
|
|
335
|
+
protected setOpen(open: boolean): void;
|
|
336
|
+
/** Search mode only: the toggle is a plain button that opens the dialog holding the search combobox. */
|
|
337
|
+
protected onToggleKeydown(event: KeyboardEvent): void;
|
|
338
|
+
protected closeDropdown(returnFocus: boolean): void;
|
|
339
|
+
/** Search mode only: Aria keeps an always-expanded combobox open, so focus leaving the picker closes it. */
|
|
340
|
+
protected onFlagContainerFocusOut(event: FocusEvent): void;
|
|
341
|
+
/**
|
|
342
|
+
* Runs after the listbox handled a click, Enter or Space. An untouched value means nothing was
|
|
343
|
+
* activated (Space went to type-ahead, or the click missed the options). An empty value means the
|
|
344
|
+
* selected row was activated again, which keeps that country.
|
|
345
|
+
*/
|
|
346
|
+
protected commitSelection(): void;
|
|
347
|
+
protected onSearchChange(text: string): void;
|
|
348
|
+
/**
|
|
349
|
+
* Search country based on country name, iso2, dialCode or all of them.
|
|
350
|
+
*/
|
|
351
|
+
searchCountry(): void;
|
|
352
|
+
onPhoneNumberChange(): void;
|
|
353
|
+
onCountrySelect(country: Country, el: {
|
|
354
|
+
focus: () => void;
|
|
355
|
+
}): void;
|
|
356
|
+
onInputKeyPress(event: KeyboardEvent): void;
|
|
357
|
+
registerOnChange(fn: any): void;
|
|
358
|
+
registerOnTouched(fn: any): void;
|
|
359
|
+
setDisabledState(isDisabled: boolean): void;
|
|
360
|
+
writeValue(obj: any): void;
|
|
361
|
+
resolvePlaceholder(): string;
|
|
362
|
+
/**
|
|
363
|
+
* Returns parse PhoneNumber object.
|
|
364
|
+
* @param phoneNumber string
|
|
365
|
+
* @param countryCode string
|
|
366
|
+
*/
|
|
367
|
+
private getParsedNumber;
|
|
368
|
+
/**
|
|
369
|
+
* Adjusts input alignment based on the dial code presentation style.
|
|
370
|
+
*/
|
|
371
|
+
private checkSeparateDialCodeStyle;
|
|
372
|
+
/**
|
|
373
|
+
* Cleans dialcode from phone number string.
|
|
374
|
+
* @param phoneNumber string
|
|
375
|
+
*/
|
|
376
|
+
private removeDialCode;
|
|
377
|
+
/**
|
|
378
|
+
* Drops the leading "+<dial code> " from an already formatted number.
|
|
379
|
+
* @param phoneNumber string
|
|
380
|
+
*/
|
|
381
|
+
private stripDialCode;
|
|
382
|
+
/**
|
|
383
|
+
* Sifts through all countries and returns iso code of the primary country
|
|
384
|
+
* based on the number provided.
|
|
385
|
+
* @param countryCode country code in number format
|
|
386
|
+
* @param number PhoneNumber object
|
|
387
|
+
*/
|
|
388
|
+
private getCountryIsoCode;
|
|
389
|
+
/**
|
|
390
|
+
* Gets formatted example phone number from phoneUtil.
|
|
391
|
+
* @param countryCode string
|
|
392
|
+
*/
|
|
393
|
+
protected getPhoneNumberPlaceHolder(countryCode: string): string;
|
|
394
|
+
/**
|
|
395
|
+
* Clearing the list to avoid duplicates (https://github.com/webcat12345/ngx-intl-tel-input/issues/248)
|
|
396
|
+
*/
|
|
397
|
+
protected fetchCountryData(): void;
|
|
398
|
+
/**
|
|
399
|
+
* Populates preferredCountriesInDropDown with prefferred countries.
|
|
400
|
+
*/
|
|
401
|
+
private updatePreferredCountries;
|
|
402
|
+
/**
|
|
403
|
+
* Updates selectedCountry.
|
|
404
|
+
*/
|
|
405
|
+
private updateSelectedCountry;
|
|
406
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxIntlTelInputComponent, never>;
|
|
407
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxIntlTelInputComponent, "ngx-intl-tel-input", never, {
|
|
408
|
+
"value": {
|
|
409
|
+
"alias": "value";
|
|
410
|
+
"required": false;
|
|
411
|
+
};
|
|
412
|
+
"preferredCountries": {
|
|
413
|
+
"alias": "preferredCountries";
|
|
414
|
+
"required": false;
|
|
415
|
+
};
|
|
416
|
+
"enablePlaceholder": {
|
|
417
|
+
"alias": "enablePlaceholder";
|
|
418
|
+
"required": false;
|
|
419
|
+
};
|
|
420
|
+
"customPlaceholder": {
|
|
421
|
+
"alias": "customPlaceholder";
|
|
422
|
+
"required": false;
|
|
423
|
+
};
|
|
424
|
+
"numberFormat": {
|
|
425
|
+
"alias": "numberFormat";
|
|
426
|
+
"required": false;
|
|
427
|
+
};
|
|
428
|
+
"cssClass": {
|
|
429
|
+
"alias": "cssClass";
|
|
430
|
+
"required": false;
|
|
431
|
+
};
|
|
432
|
+
"onlyCountries": {
|
|
433
|
+
"alias": "onlyCountries";
|
|
434
|
+
"required": false;
|
|
435
|
+
};
|
|
436
|
+
"enableAutoCountrySelect": {
|
|
437
|
+
"alias": "enableAutoCountrySelect";
|
|
438
|
+
"required": false;
|
|
439
|
+
};
|
|
440
|
+
"searchCountryFlag": {
|
|
441
|
+
"alias": "searchCountryFlag";
|
|
442
|
+
"required": false;
|
|
443
|
+
};
|
|
444
|
+
"searchCountryField": {
|
|
445
|
+
"alias": "searchCountryField";
|
|
446
|
+
"required": false;
|
|
447
|
+
};
|
|
448
|
+
"searchCountryPlaceholder": {
|
|
449
|
+
"alias": "searchCountryPlaceholder";
|
|
450
|
+
"required": false;
|
|
451
|
+
};
|
|
452
|
+
"maxLength": {
|
|
453
|
+
"alias": "maxLength";
|
|
454
|
+
"required": false;
|
|
455
|
+
};
|
|
456
|
+
"selectFirstCountry": {
|
|
457
|
+
"alias": "selectFirstCountry";
|
|
458
|
+
"required": false;
|
|
459
|
+
};
|
|
460
|
+
"selectedCountryISO": {
|
|
461
|
+
"alias": "selectedCountryISO";
|
|
462
|
+
"required": false;
|
|
463
|
+
};
|
|
464
|
+
"phoneValidation": {
|
|
465
|
+
"alias": "phoneValidation";
|
|
466
|
+
"required": false;
|
|
467
|
+
};
|
|
468
|
+
"inputId": {
|
|
469
|
+
"alias": "inputId";
|
|
470
|
+
"required": false;
|
|
471
|
+
};
|
|
472
|
+
"separateDialCode": {
|
|
473
|
+
"alias": "separateDialCode";
|
|
474
|
+
"required": false;
|
|
475
|
+
};
|
|
476
|
+
"excludeCountries": {
|
|
477
|
+
"alias": "excludeCountries";
|
|
478
|
+
"required": false;
|
|
479
|
+
};
|
|
480
|
+
}, {
|
|
481
|
+
"countryChange": "countryChange";
|
|
482
|
+
}, never, never, true, never>;
|
|
483
|
+
}
|
|
484
|
+
export declare class NativeElementInjectorDirective implements OnInit {
|
|
485
|
+
private readonly controlDir;
|
|
486
|
+
private readonly host;
|
|
487
|
+
ngOnInit(): void;
|
|
488
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NativeElementInjectorDirective, never>;
|
|
489
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeElementInjectorDirective, "[ngModel], [formControl], [formControlName]", never, {}, {}, never, never, true, never>;
|
|
490
|
+
}
|
|
491
|
+
export declare class NgxIntlTelInputModule {
|
|
492
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxIntlTelInputModule, never>;
|
|
493
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxIntlTelInputModule, never, [typeof NgxIntlTelInputComponent, typeof NativeElementInjectorDirective], [typeof NgxIntlTelInputComponent, typeof NativeElementInjectorDirective]>;
|
|
494
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgxIntlTelInputModule>;
|
|
495
|
+
}
|
|
496
|
+
export {};
|
|
497
|
+
//# sourceMappingURL=moddi3-ngx-intl-tel-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"moddi3-ngx-intl-tel-input.d.ts","names":["i1.NgxIntlTelInputComponent","i2.NativeElementInjectorDirective"],"sources":["../../../projects/ngx-intl-tel-input/src/lib/enums/country-iso.enum.ts","../../../projects/ngx-intl-tel-input/src/lib/enums/phone-number-format.enum.ts","../../../projects/ngx-intl-tel-input/src/lib/enums/search-country-field.enum.ts","../../../projects/ngx-intl-tel-input/src/lib/interfaces/change-data.ts","../../../projects/ngx-intl-tel-input/src/lib/model/country.model.ts","../../../projects/ngx-intl-tel-input/src/lib/ngx-intl-tel-input.component.ts","../../../projects/ngx-intl-tel-input/src/lib/directives/native-element-injector.directive.ts","../../../projects/ngx-intl-tel-input/src/lib/ngx-intl-tel-input.module.ts"],"mappings":";;oBAAY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;oBCnPU;EACV;EACA;;oBCFU;EACV;EACA;EACA;EACA;;iBCJe;EACf;EACA;EACA;EACA;EACA;EACA;;UCJe;EAChB;EACA,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;;;UCyBS;EACR;EACA,SAAS;EACT;;qBAkCW,oCAAoC,QAAQ;EAC9C;EACA,oBAAoB;EACpB;EACA;EACA,cAAc;EACd;EACA,eAAe;EACf;EACA;EACA,oBAAoB;EACpB;EACA;EACA;EACA,oBAAoB;EACpB;EACA;EACA;EACA,kBAAkB,MAAM;EACjC;WAEmB,eAAa,aAAA;EAEhC,iBAAiB;EAWjB;EACA,cAAc,MAAM;EAEpB,8BAA8B,MAAM;EAEpC;EACA;EACA;qBAEmB,gCAAM;qBACN;qBACA;;YAET,gBAAgB;YAChB;UACF;EAEkB,aAAa;mBAEtB;mBACA;mBACA;mBACA;mBAEA;mBAEA;mBAGA;EAEjB;EACA,kBAAmB,GAAG;;gBA4BR;gBAIA;EAOd;EAIA,YAAY,SAAS;EAmBrB;EA6BA,mBAAmB,SAAS;;YAMlB,QAAQ;;YA6BR,gBAAgB,OAAO;YAOvB,cAAc;;YAQd,wBAAwB,OAAO;;;;;;YAY/B;YAYA,eAAe;;;;EAQlB;EAyBA;EAmEA,gBAAgB,SAAS,SAAS;IAAM;;EAyCxC,gBAAgB,OAAO;EAwB9B,iBAAiB;EAIjB,kBAAkB;EAIlB,iBAAiB;EAOjB,WAAW;EAUX;;;;;;UAkBQ;;;;UAeA;;;;;UAcA;;;;;UAWA;;;;;;;UAaA;;;;;YAqCE,0BAA0B;;;;YAe1B;;;;UAgCF;;;;UAcA;SA9kBG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAwB;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;;;IAAA;;;qBCzDxB,0CAA0C;mBACpC;mBACA;EAEjB;SAJW,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;qBCNA;SAAA,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,sBAAA,sCAAqBA,iCAAAC,yCAAAD,iCAAAC;SAArB,MAAA,GAAA,sBAAA"}
|