@moddi3/ngx-intl-tel-input 22.0.0 → 22.1.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
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @moddi3/ngx-intl-tel-input
|
|
2
2
|
|
|
3
|
+
## 22.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a36d601: Add the `dropdownPlacement` input. `top` opens the country list above the field when it fits there, with the search
|
|
8
|
+
box next to the field, and below the field otherwise.
|
|
9
|
+
|
|
3
10
|
## 22.0.0
|
|
4
11
|
|
|
5
12
|
### Major Changes
|
package/README.md
CHANGED
|
@@ -116,6 +116,7 @@ When `phoneValidation` is on and the number is not valid for the selected countr
|
|
|
116
116
|
| `searchCountryField` | `SearchCountryField[]` | `[SearchCountryField.All]` | Country fields that the search box matches: `Name`, `Iso2`, `DialCode`, or `All`. |
|
|
117
117
|
| `searchCountryPlaceholder` | `string` | `'Search Country'` | Placeholder and accessible name of the search box. |
|
|
118
118
|
| `phoneValidation` | `boolean` | `true` | Validates the number for the selected country. |
|
|
119
|
+
| `dropdownPlacement` | `'bottom' \| 'top'` | `'bottom'` | Side of the field that the country list opens on. `top` falls back to below the field when the list does not fit above it. |
|
|
119
120
|
|
|
120
121
|
| Output | Emits |
|
|
121
122
|
| --------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -1669,6 +1669,7 @@ var NgxIntlTelInputComponent = class NgxIntlTelInputComponent {
|
|
|
1669
1669
|
this.inputId = "phone";
|
|
1670
1670
|
this.separateDialCode = false;
|
|
1671
1671
|
this.excludeCountries = [];
|
|
1672
|
+
this.dropdownPlacement = "bottom";
|
|
1672
1673
|
this.countryChange = new EventEmitter();
|
|
1673
1674
|
this.selectedCountry = {
|
|
1674
1675
|
areaCodes: void 0,
|
|
@@ -1687,6 +1688,7 @@ var NgxIntlTelInputComponent = class NgxIntlTelInputComponent {
|
|
|
1687
1688
|
this.disabled = false;
|
|
1688
1689
|
this.countrySearchText = "";
|
|
1689
1690
|
this.isOpen = signal(false, ...ngDevMode ? [{ debugName: "isOpen" }] : /* istanbul ignore next */ []);
|
|
1691
|
+
this.dropdownAbove = signal(false, ...ngDevMode ? [{ debugName: "dropdownAbove" }] : /* istanbul ignore next */ []);
|
|
1690
1692
|
this.dropdownId = `iti-country-dropdown-${nextInstanceId++}`;
|
|
1691
1693
|
this.listboxId = `${this.dropdownId}-list`;
|
|
1692
1694
|
this.countryOptions = [];
|
|
@@ -1696,6 +1698,8 @@ var NgxIntlTelInputComponent = class NgxIntlTelInputComponent {
|
|
|
1696
1698
|
this.options = viewChildren(Option, ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
1697
1699
|
this.toggleEl = viewChild("toggleEl", ...ngDevMode ? [{ debugName: "toggleEl" }] : /* istanbul ignore next */ []);
|
|
1698
1700
|
this.flagContainerEl = viewChild.required("flagContainer", ...ngDevMode ? [{ debugName: "flagContainerEl" }] : /* istanbul ignore next */ []);
|
|
1701
|
+
this.dropdownMenuEl = viewChild("dropdownMenu", ...ngDevMode ? [{ debugName: "dropdownMenuEl" }] : /* istanbul ignore next */ []);
|
|
1702
|
+
this.countryListEl = viewChild("countryList", ...ngDevMode ? [{ debugName: "countryListEl" }] : /* istanbul ignore next */ []);
|
|
1699
1703
|
this.searchInputEl = viewChild("searchInput", ...ngDevMode ? [{ debugName: "searchInputEl" }] : /* istanbul ignore next */ []);
|
|
1700
1704
|
this.focusableEl = viewChild.required("focusable", ...ngDevMode ? [{ debugName: "focusableEl" }] : /* istanbul ignore next */ []);
|
|
1701
1705
|
this.countryCodeData = inject(CountryCode);
|
|
@@ -1704,6 +1708,16 @@ var NgxIntlTelInputComponent = class NgxIntlTelInputComponent {
|
|
|
1704
1708
|
afterRenderEffect(() => {
|
|
1705
1709
|
if (this.isOpen()) this.searchInputEl()?.nativeElement.focus();
|
|
1706
1710
|
});
|
|
1711
|
+
afterRenderEffect({
|
|
1712
|
+
earlyRead: () => {
|
|
1713
|
+
const menu = this.dropdownMenuEl()?.nativeElement;
|
|
1714
|
+
if (this.dropdownPlacement !== "top" || !menu || !this.countryListEl()) return false;
|
|
1715
|
+
const { marginTop, marginBottom } = getComputedStyle(menu);
|
|
1716
|
+
const height = menu.offsetHeight + parseFloat(marginTop) + parseFloat(marginBottom);
|
|
1717
|
+
return this.flagContainerEl().nativeElement.getBoundingClientRect().top >= height;
|
|
1718
|
+
},
|
|
1719
|
+
write: (above) => this.dropdownAbove.set(above())
|
|
1720
|
+
});
|
|
1707
1721
|
afterRenderEffect(() => {
|
|
1708
1722
|
const activeId = this.listbox()?.activeDescendant();
|
|
1709
1723
|
const option = this.options().find((o) => o.id() === activeId);
|
|
@@ -2010,7 +2024,8 @@ var NgxIntlTelInputComponent = class NgxIntlTelInputComponent {
|
|
|
2010
2024
|
phoneValidation: "phoneValidation",
|
|
2011
2025
|
inputId: "inputId",
|
|
2012
2026
|
separateDialCode: "separateDialCode",
|
|
2013
|
-
excludeCountries: "excludeCountries"
|
|
2027
|
+
excludeCountries: "excludeCountries",
|
|
2028
|
+
dropdownPlacement: "dropdownPlacement"
|
|
2014
2029
|
},
|
|
2015
2030
|
outputs: { countryChange: "countryChange" },
|
|
2016
2031
|
providers: [
|
|
@@ -2054,6 +2069,20 @@ var NgxIntlTelInputComponent = class NgxIntlTelInputComponent {
|
|
|
2054
2069
|
descendants: true,
|
|
2055
2070
|
isSignal: true
|
|
2056
2071
|
},
|
|
2072
|
+
{
|
|
2073
|
+
propertyName: "dropdownMenuEl",
|
|
2074
|
+
first: true,
|
|
2075
|
+
predicate: ["dropdownMenu"],
|
|
2076
|
+
descendants: true,
|
|
2077
|
+
isSignal: true
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
propertyName: "countryListEl",
|
|
2081
|
+
first: true,
|
|
2082
|
+
predicate: ["countryList"],
|
|
2083
|
+
descendants: true,
|
|
2084
|
+
isSignal: true
|
|
2085
|
+
},
|
|
2057
2086
|
{
|
|
2058
2087
|
propertyName: "searchInputEl",
|
|
2059
2088
|
first: true,
|
|
@@ -2077,8 +2106,8 @@ var NgxIntlTelInputComponent = class NgxIntlTelInputComponent {
|
|
|
2077
2106
|
],
|
|
2078
2107
|
usesOnChanges: true,
|
|
2079
2108
|
ngImport: i0,
|
|
2080
|
-
template: "<div class=\"iti iti--allow-dropdown\" [ngClass]=\"separateDialCodeClass\">\n <div\n #flagContainer\n class=\"iti__flag-container\"\n [class.disabled]=\"disabled\"\n [class.open]=\"isOpen()\"\n (focusout)=\"onFlagContainerFocusOut($event)\"\n >\n @if (hasSearch) {\n <!-- Search mode: a button opens a dialog whose search box is the only combobox. -->\n <div\n #toggleEl\n class=\"iti__selected-flag dropdown-toggle\"\n role=\"button\"\n aria-haspopup=\"dialog\"\n [attr.tabindex]=\"disabled ? -1 : 0\"\n [attr.aria-expanded]=\"isOpen()\"\n [attr.aria-controls]=\"isOpen() ? dropdownId : null\"\n [attr.aria-disabled]=\"disabled || null\"\n [attr.aria-label]=\"toggleAriaLabel\"\n (click)=\"setOpen(!isOpen())\"\n (keydown)=\"onToggleKeydown($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"selectedFlag\" />\n </div>\n @if (isOpen()) {\n <div\n class=\"dropdown-menu iti__dropdown-content\"\n role=\"dialog\"\n tabindex=\"-1\"\n [id]=\"dropdownId\"\n [attr.aria-label]=\"searchCountryPlaceholder\"\n (keydown.escape)=\"closeDropdown(true)\"\n >\n <div class=\"search-container\">\n <input\n #searchInput\n #searchCombobox=\"ngCombobox\"\n id=\"country-search-box\"\n ngCombobox\n alwaysExpanded\n [value]=\"countrySearchText\"\n (valueChange)=\"onSearchChange($event)\"\n (keydown.escape)=\"closeDropdown(true)\"\n [placeholder]=\"searchCountryPlaceholder\"\n [attr.aria-label]=\"searchCountryPlaceholder\"\n />\n </div>\n <ng-container\n [ngTemplateOutlet]=\"countryPopup\"\n [ngTemplateOutletContext]=\"{ $implicit: searchCombobox }\"\n />\n </div>\n }\n } @else {\n <!-- Select-only mode: the toggle is the combobox. -->\n <div\n #toggleEl\n #toggleCombobox=\"ngCombobox\"\n class=\"iti__selected-flag dropdown-toggle\"\n ngCombobox\n [disabled]=\"disabled\"\n [softDisabled]=\"false\"\n [expanded]=\"isOpen()\"\n (expandedChange)=\"setOpen($event)\"\n [attr.aria-label]=\"toggleAriaLabel\"\n >\n <ng-container [ngTemplateOutlet]=\"selectedFlag\" />\n </div>\n <ng-container\n [ngTemplateOutlet]=\"countryPopup\"\n [ngTemplateOutletContext]=\"{ $implicit: toggleCombobox, menu: true }\"\n />\n }\n </div>\n <input\n type=\"tel\"\n [id]=\"inputId\"\n autocomplete=\"off\"\n class=\"iti__tel-input\"\n [ngClass]=\"cssClass\"\n (blur)=\"onTouched()\"\n (keypress)=\"onInputKeyPress($event)\"\n [(ngModel)]=\"phoneNumber\"\n [ngModelOptions]=\"{ standalone: true }\"\n (ngModelChange)=\"onPhoneNumberChange()\"\n [disabled]=\"disabled\"\n [placeholder]=\"resolvePlaceholder()\"\n [attr.maxLength]=\"maxLength\"\n [attr.validation]=\"phoneValidation\"\n #focusable\n />\n</div>\n\n<ng-template #selectedFlag>\n <div class=\"iti__flag\" [ngClass]=\"selectedCountry.flagClass || ''\"></div>\n @if (separateDialCode) {\n <div class=\"selected-dial-code\">+{{ selectedCountry.dialCode }}</div>\n }\n <div class=\"iti__arrow\"></div>\n</ng-template>\n\n<!--\n Aria renders the popup only while its combobox is expanded. Select-only mode wraps the list in the\n dropdown menu here; in search mode the list already sits in the dropdown menu next to the search box.\n-->\n<ng-template #countryPopup let-combobox let-menu=\"menu\">\n <ng-template ngComboboxPopup [combobox]=\"combobox\">\n <ng-template #list>\n <ul\n #countryList\n #listbox=\"ngListbox\"\n class=\"iti__country-list\"\n ngListbox\n ngComboboxWidget\n tabindex=\"-1\"\n focusMode=\"activedescendant\"\n selectionMode=\"explicit\"\n [id]=\"listboxId\"\n [(value)]=\"selectedOptionIds\"\n [activeDescendant]=\"listbox.activeDescendant()\"\n (click)=\"commitSelection()\"\n (keydown.enter)=\"commitSelection()\"\n (keydown.space)=\"commitSelection()\"\n >\n @for (option of countryOptions; track option.id; let i = $index) {\n @if (!option.preferred && i > 0 && countryOptions[i - 1].preferred) {\n <li class=\"iti__divider\" role=\"separator\" aria-hidden=\"true\"></li>\n }\n <li\n class=\"iti__country\"\n [class.iti__preferred]=\"option.preferred\"\n [class.iti__standard]=\"!option.preferred\"\n ngOption\n [value]=\"option.id\"\n [label]=\"option.country.name\"\n [id]=\"option.id\"\n >\n <div class=\"iti__flag-box\">\n <div class=\"iti__flag\" [ngClass]=\"option.country.flagClass\"></div>\n </div>\n <span class=\"iti__country-name\">{{ option.country.name }}</span>\n <span class=\"iti__dial-code\">+{{ option.country.dialCode }}</span>\n </li>\n }\n </ul>\n </ng-template>\n @if (menu) {\n <div
|
|
2081
|
-
styles: [".dropdown-toggle:focus:not(:focus-visible){outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px #0000002d;background-clip:padding-box}.open>.dropdown-menu{display:block}li.iti__country:hover,li.iti__country[data-active=true]{background-color:#0000000d}.iti__selected-flag.dropdown-toggle:after{content:none}.iti__selected-flag.dropdown-toggle:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}.iti__flag-container.disabled{cursor:default!important}.iti.iti--allow-dropdown .flag-container.disabled:hover .iti__selected-flag{background:none}.iti__dropdown-content{border:1px solid #ccc;width:fit-content;padding:1px;border-collapse:collapse}.search-container{position:relative}.search-container input{width:100%;border:none;border-bottom:1px solid #ccc;padding-left:10px}.search-icon{position:absolute;z-index:2;width:25px;margin:1px 10px}.iti__country-list{position:relative;border:none}.iti input#country-search-box{padding-left:6px}.iti .selected-dial-code{margin-left:6px}.iti.separate-dial-code .iti__selected-flag,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-2 .iti__selected-flag,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-3 .iti__selected-flag,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-4 .iti__selected-flag{width:93px}.iti.separate-dial-code input,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-2 input,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-3 input,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-4 input{padding-left:98px}\n"],
|
|
2109
|
+
template: "<div class=\"iti iti--allow-dropdown\" [ngClass]=\"separateDialCodeClass\">\n <div\n #flagContainer\n class=\"iti__flag-container\"\n [class.disabled]=\"disabled\"\n [class.open]=\"isOpen()\"\n (focusout)=\"onFlagContainerFocusOut($event)\"\n >\n @if (hasSearch) {\n <!-- Search mode: a button opens a dialog whose search box is the only combobox. -->\n <div\n #toggleEl\n class=\"iti__selected-flag dropdown-toggle\"\n role=\"button\"\n aria-haspopup=\"dialog\"\n [attr.tabindex]=\"disabled ? -1 : 0\"\n [attr.aria-expanded]=\"isOpen()\"\n [attr.aria-controls]=\"isOpen() ? dropdownId : null\"\n [attr.aria-disabled]=\"disabled || null\"\n [attr.aria-label]=\"toggleAriaLabel\"\n (click)=\"setOpen(!isOpen())\"\n (keydown)=\"onToggleKeydown($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"selectedFlag\" />\n </div>\n @if (isOpen()) {\n <div\n #dropdownMenu\n class=\"dropdown-menu iti__dropdown-content\"\n [class.iti__dropdown--above]=\"dropdownAbove()\"\n role=\"dialog\"\n tabindex=\"-1\"\n [id]=\"dropdownId\"\n [attr.aria-label]=\"searchCountryPlaceholder\"\n (keydown.escape)=\"closeDropdown(true)\"\n >\n <div class=\"search-container\">\n <input\n #searchInput\n #searchCombobox=\"ngCombobox\"\n id=\"country-search-box\"\n ngCombobox\n alwaysExpanded\n [value]=\"countrySearchText\"\n (valueChange)=\"onSearchChange($event)\"\n (keydown.escape)=\"closeDropdown(true)\"\n [placeholder]=\"searchCountryPlaceholder\"\n [attr.aria-label]=\"searchCountryPlaceholder\"\n />\n </div>\n <ng-container\n [ngTemplateOutlet]=\"countryPopup\"\n [ngTemplateOutletContext]=\"{ $implicit: searchCombobox }\"\n />\n </div>\n }\n } @else {\n <!-- Select-only mode: the toggle is the combobox. -->\n <div\n #toggleEl\n #toggleCombobox=\"ngCombobox\"\n class=\"iti__selected-flag dropdown-toggle\"\n ngCombobox\n [disabled]=\"disabled\"\n [softDisabled]=\"false\"\n [expanded]=\"isOpen()\"\n (expandedChange)=\"setOpen($event)\"\n [attr.aria-label]=\"toggleAriaLabel\"\n >\n <ng-container [ngTemplateOutlet]=\"selectedFlag\" />\n </div>\n <ng-container\n [ngTemplateOutlet]=\"countryPopup\"\n [ngTemplateOutletContext]=\"{ $implicit: toggleCombobox, menu: true }\"\n />\n }\n </div>\n <input\n type=\"tel\"\n [id]=\"inputId\"\n autocomplete=\"off\"\n class=\"iti__tel-input\"\n [ngClass]=\"cssClass\"\n (blur)=\"onTouched()\"\n (keypress)=\"onInputKeyPress($event)\"\n [(ngModel)]=\"phoneNumber\"\n [ngModelOptions]=\"{ standalone: true }\"\n (ngModelChange)=\"onPhoneNumberChange()\"\n [disabled]=\"disabled\"\n [placeholder]=\"resolvePlaceholder()\"\n [attr.maxLength]=\"maxLength\"\n [attr.validation]=\"phoneValidation\"\n #focusable\n />\n</div>\n\n<ng-template #selectedFlag>\n <div class=\"iti__flag\" [ngClass]=\"selectedCountry.flagClass || ''\"></div>\n @if (separateDialCode) {\n <div class=\"selected-dial-code\">+{{ selectedCountry.dialCode }}</div>\n }\n <div class=\"iti__arrow\"></div>\n</ng-template>\n\n<!--\n Aria renders the popup only while its combobox is expanded. Select-only mode wraps the list in the\n dropdown menu here; in search mode the list already sits in the dropdown menu next to the search box.\n-->\n<ng-template #countryPopup let-combobox let-menu=\"menu\">\n <ng-template ngComboboxPopup [combobox]=\"combobox\">\n <ng-template #list>\n <ul\n #countryList\n #listbox=\"ngListbox\"\n class=\"iti__country-list\"\n ngListbox\n ngComboboxWidget\n tabindex=\"-1\"\n focusMode=\"activedescendant\"\n selectionMode=\"explicit\"\n [id]=\"listboxId\"\n [(value)]=\"selectedOptionIds\"\n [activeDescendant]=\"listbox.activeDescendant()\"\n (click)=\"commitSelection()\"\n (keydown.enter)=\"commitSelection()\"\n (keydown.space)=\"commitSelection()\"\n >\n @for (option of countryOptions; track option.id; let i = $index) {\n @if (!option.preferred && i > 0 && countryOptions[i - 1].preferred) {\n <li class=\"iti__divider\" role=\"separator\" aria-hidden=\"true\"></li>\n }\n <li\n class=\"iti__country\"\n [class.iti__preferred]=\"option.preferred\"\n [class.iti__standard]=\"!option.preferred\"\n ngOption\n [value]=\"option.id\"\n [label]=\"option.country.name\"\n [id]=\"option.id\"\n >\n <div class=\"iti__flag-box\">\n <div class=\"iti__flag\" [ngClass]=\"option.country.flagClass\"></div>\n </div>\n <span class=\"iti__country-name\">{{ option.country.name }}</span>\n <span class=\"iti__dial-code\">+{{ option.country.dialCode }}</span>\n </li>\n }\n </ul>\n </ng-template>\n @if (menu) {\n <div\n #dropdownMenu\n class=\"dropdown-menu iti__dropdown-content\"\n [class.iti__dropdown--above]=\"dropdownAbove()\"\n (keydown.escape)=\"closeDropdown(true)\"\n >\n <ng-container [ngTemplateOutlet]=\"list\" />\n </div>\n } @else {\n <ng-container [ngTemplateOutlet]=\"list\" />\n }\n </ng-template>\n</ng-template>\n",
|
|
2110
|
+
styles: [".dropdown-toggle:focus:not(:focus-visible){outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px #0000002d;background-clip:padding-box}.open>.dropdown-menu{display:block}li.iti__country:hover,li.iti__country[data-active=true]{background-color:#0000000d}.iti__selected-flag.dropdown-toggle:after{content:none}.iti__selected-flag.dropdown-toggle:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}.iti__flag-container.disabled{cursor:default!important}.iti.iti--allow-dropdown .flag-container.disabled:hover .iti__selected-flag{background:none}.iti__dropdown-content{border:1px solid #ccc;width:fit-content;padding:1px;border-collapse:collapse}.search-container{position:relative}.open>.dropdown-menu.iti__dropdown--above{top:auto;bottom:100%;margin:0 0 2px;display:flex;flex-direction:column-reverse}.iti__dropdown--above .search-container input{border-bottom:none;border-top:1px solid #ccc}.search-container input{width:100%;border:none;border-bottom:1px solid #ccc;padding-left:10px}.search-icon{position:absolute;z-index:2;width:25px;margin:1px 10px}.iti__country-list{position:relative;border:none}.iti input#country-search-box{padding-left:6px}.iti .selected-dial-code{margin-left:6px}.iti.separate-dial-code .iti__selected-flag,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-2 .iti__selected-flag,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-3 .iti__selected-flag,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-4 .iti__selected-flag{width:93px}.iti.separate-dial-code input,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-2 input,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-3 input,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-4 input{padding-left:98px}\n"],
|
|
2082
2111
|
dependencies: [
|
|
2083
2112
|
{
|
|
2084
2113
|
kind: "directive",
|
|
@@ -2225,8 +2254,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2225
2254
|
multi: true
|
|
2226
2255
|
}
|
|
2227
2256
|
],
|
|
2228
|
-
template: "<div class=\"iti iti--allow-dropdown\" [ngClass]=\"separateDialCodeClass\">\n <div\n #flagContainer\n class=\"iti__flag-container\"\n [class.disabled]=\"disabled\"\n [class.open]=\"isOpen()\"\n (focusout)=\"onFlagContainerFocusOut($event)\"\n >\n @if (hasSearch) {\n <!-- Search mode: a button opens a dialog whose search box is the only combobox. -->\n <div\n #toggleEl\n class=\"iti__selected-flag dropdown-toggle\"\n role=\"button\"\n aria-haspopup=\"dialog\"\n [attr.tabindex]=\"disabled ? -1 : 0\"\n [attr.aria-expanded]=\"isOpen()\"\n [attr.aria-controls]=\"isOpen() ? dropdownId : null\"\n [attr.aria-disabled]=\"disabled || null\"\n [attr.aria-label]=\"toggleAriaLabel\"\n (click)=\"setOpen(!isOpen())\"\n (keydown)=\"onToggleKeydown($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"selectedFlag\" />\n </div>\n @if (isOpen()) {\n <div\n class=\"dropdown-menu iti__dropdown-content\"\n role=\"dialog\"\n tabindex=\"-1\"\n [id]=\"dropdownId\"\n [attr.aria-label]=\"searchCountryPlaceholder\"\n (keydown.escape)=\"closeDropdown(true)\"\n >\n <div class=\"search-container\">\n <input\n #searchInput\n #searchCombobox=\"ngCombobox\"\n id=\"country-search-box\"\n ngCombobox\n alwaysExpanded\n [value]=\"countrySearchText\"\n (valueChange)=\"onSearchChange($event)\"\n (keydown.escape)=\"closeDropdown(true)\"\n [placeholder]=\"searchCountryPlaceholder\"\n [attr.aria-label]=\"searchCountryPlaceholder\"\n />\n </div>\n <ng-container\n [ngTemplateOutlet]=\"countryPopup\"\n [ngTemplateOutletContext]=\"{ $implicit: searchCombobox }\"\n />\n </div>\n }\n } @else {\n <!-- Select-only mode: the toggle is the combobox. -->\n <div\n #toggleEl\n #toggleCombobox=\"ngCombobox\"\n class=\"iti__selected-flag dropdown-toggle\"\n ngCombobox\n [disabled]=\"disabled\"\n [softDisabled]=\"false\"\n [expanded]=\"isOpen()\"\n (expandedChange)=\"setOpen($event)\"\n [attr.aria-label]=\"toggleAriaLabel\"\n >\n <ng-container [ngTemplateOutlet]=\"selectedFlag\" />\n </div>\n <ng-container\n [ngTemplateOutlet]=\"countryPopup\"\n [ngTemplateOutletContext]=\"{ $implicit: toggleCombobox, menu: true }\"\n />\n }\n </div>\n <input\n type=\"tel\"\n [id]=\"inputId\"\n autocomplete=\"off\"\n class=\"iti__tel-input\"\n [ngClass]=\"cssClass\"\n (blur)=\"onTouched()\"\n (keypress)=\"onInputKeyPress($event)\"\n [(ngModel)]=\"phoneNumber\"\n [ngModelOptions]=\"{ standalone: true }\"\n (ngModelChange)=\"onPhoneNumberChange()\"\n [disabled]=\"disabled\"\n [placeholder]=\"resolvePlaceholder()\"\n [attr.maxLength]=\"maxLength\"\n [attr.validation]=\"phoneValidation\"\n #focusable\n />\n</div>\n\n<ng-template #selectedFlag>\n <div class=\"iti__flag\" [ngClass]=\"selectedCountry.flagClass || ''\"></div>\n @if (separateDialCode) {\n <div class=\"selected-dial-code\">+{{ selectedCountry.dialCode }}</div>\n }\n <div class=\"iti__arrow\"></div>\n</ng-template>\n\n<!--\n Aria renders the popup only while its combobox is expanded. Select-only mode wraps the list in the\n dropdown menu here; in search mode the list already sits in the dropdown menu next to the search box.\n-->\n<ng-template #countryPopup let-combobox let-menu=\"menu\">\n <ng-template ngComboboxPopup [combobox]=\"combobox\">\n <ng-template #list>\n <ul\n #countryList\n #listbox=\"ngListbox\"\n class=\"iti__country-list\"\n ngListbox\n ngComboboxWidget\n tabindex=\"-1\"\n focusMode=\"activedescendant\"\n selectionMode=\"explicit\"\n [id]=\"listboxId\"\n [(value)]=\"selectedOptionIds\"\n [activeDescendant]=\"listbox.activeDescendant()\"\n (click)=\"commitSelection()\"\n (keydown.enter)=\"commitSelection()\"\n (keydown.space)=\"commitSelection()\"\n >\n @for (option of countryOptions; track option.id; let i = $index) {\n @if (!option.preferred && i > 0 && countryOptions[i - 1].preferred) {\n <li class=\"iti__divider\" role=\"separator\" aria-hidden=\"true\"></li>\n }\n <li\n class=\"iti__country\"\n [class.iti__preferred]=\"option.preferred\"\n [class.iti__standard]=\"!option.preferred\"\n ngOption\n [value]=\"option.id\"\n [label]=\"option.country.name\"\n [id]=\"option.id\"\n >\n <div class=\"iti__flag-box\">\n <div class=\"iti__flag\" [ngClass]=\"option.country.flagClass\"></div>\n </div>\n <span class=\"iti__country-name\">{{ option.country.name }}</span>\n <span class=\"iti__dial-code\">+{{ option.country.dialCode }}</span>\n </li>\n }\n </ul>\n </ng-template>\n @if (menu) {\n <div
|
|
2229
|
-
styles: [".dropdown-toggle:focus:not(:focus-visible){outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px #0000002d;background-clip:padding-box}.open>.dropdown-menu{display:block}li.iti__country:hover,li.iti__country[data-active=true]{background-color:#0000000d}.iti__selected-flag.dropdown-toggle:after{content:none}.iti__selected-flag.dropdown-toggle:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}.iti__flag-container.disabled{cursor:default!important}.iti.iti--allow-dropdown .flag-container.disabled:hover .iti__selected-flag{background:none}.iti__dropdown-content{border:1px solid #ccc;width:fit-content;padding:1px;border-collapse:collapse}.search-container{position:relative}.search-container input{width:100%;border:none;border-bottom:1px solid #ccc;padding-left:10px}.search-icon{position:absolute;z-index:2;width:25px;margin:1px 10px}.iti__country-list{position:relative;border:none}.iti input#country-search-box{padding-left:6px}.iti .selected-dial-code{margin-left:6px}.iti.separate-dial-code .iti__selected-flag,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-2 .iti__selected-flag,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-3 .iti__selected-flag,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-4 .iti__selected-flag{width:93px}.iti.separate-dial-code input,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-2 input,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-3 input,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-4 input{padding-left:98px}\n"]
|
|
2257
|
+
template: "<div class=\"iti iti--allow-dropdown\" [ngClass]=\"separateDialCodeClass\">\n <div\n #flagContainer\n class=\"iti__flag-container\"\n [class.disabled]=\"disabled\"\n [class.open]=\"isOpen()\"\n (focusout)=\"onFlagContainerFocusOut($event)\"\n >\n @if (hasSearch) {\n <!-- Search mode: a button opens a dialog whose search box is the only combobox. -->\n <div\n #toggleEl\n class=\"iti__selected-flag dropdown-toggle\"\n role=\"button\"\n aria-haspopup=\"dialog\"\n [attr.tabindex]=\"disabled ? -1 : 0\"\n [attr.aria-expanded]=\"isOpen()\"\n [attr.aria-controls]=\"isOpen() ? dropdownId : null\"\n [attr.aria-disabled]=\"disabled || null\"\n [attr.aria-label]=\"toggleAriaLabel\"\n (click)=\"setOpen(!isOpen())\"\n (keydown)=\"onToggleKeydown($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"selectedFlag\" />\n </div>\n @if (isOpen()) {\n <div\n #dropdownMenu\n class=\"dropdown-menu iti__dropdown-content\"\n [class.iti__dropdown--above]=\"dropdownAbove()\"\n role=\"dialog\"\n tabindex=\"-1\"\n [id]=\"dropdownId\"\n [attr.aria-label]=\"searchCountryPlaceholder\"\n (keydown.escape)=\"closeDropdown(true)\"\n >\n <div class=\"search-container\">\n <input\n #searchInput\n #searchCombobox=\"ngCombobox\"\n id=\"country-search-box\"\n ngCombobox\n alwaysExpanded\n [value]=\"countrySearchText\"\n (valueChange)=\"onSearchChange($event)\"\n (keydown.escape)=\"closeDropdown(true)\"\n [placeholder]=\"searchCountryPlaceholder\"\n [attr.aria-label]=\"searchCountryPlaceholder\"\n />\n </div>\n <ng-container\n [ngTemplateOutlet]=\"countryPopup\"\n [ngTemplateOutletContext]=\"{ $implicit: searchCombobox }\"\n />\n </div>\n }\n } @else {\n <!-- Select-only mode: the toggle is the combobox. -->\n <div\n #toggleEl\n #toggleCombobox=\"ngCombobox\"\n class=\"iti__selected-flag dropdown-toggle\"\n ngCombobox\n [disabled]=\"disabled\"\n [softDisabled]=\"false\"\n [expanded]=\"isOpen()\"\n (expandedChange)=\"setOpen($event)\"\n [attr.aria-label]=\"toggleAriaLabel\"\n >\n <ng-container [ngTemplateOutlet]=\"selectedFlag\" />\n </div>\n <ng-container\n [ngTemplateOutlet]=\"countryPopup\"\n [ngTemplateOutletContext]=\"{ $implicit: toggleCombobox, menu: true }\"\n />\n }\n </div>\n <input\n type=\"tel\"\n [id]=\"inputId\"\n autocomplete=\"off\"\n class=\"iti__tel-input\"\n [ngClass]=\"cssClass\"\n (blur)=\"onTouched()\"\n (keypress)=\"onInputKeyPress($event)\"\n [(ngModel)]=\"phoneNumber\"\n [ngModelOptions]=\"{ standalone: true }\"\n (ngModelChange)=\"onPhoneNumberChange()\"\n [disabled]=\"disabled\"\n [placeholder]=\"resolvePlaceholder()\"\n [attr.maxLength]=\"maxLength\"\n [attr.validation]=\"phoneValidation\"\n #focusable\n />\n</div>\n\n<ng-template #selectedFlag>\n <div class=\"iti__flag\" [ngClass]=\"selectedCountry.flagClass || ''\"></div>\n @if (separateDialCode) {\n <div class=\"selected-dial-code\">+{{ selectedCountry.dialCode }}</div>\n }\n <div class=\"iti__arrow\"></div>\n</ng-template>\n\n<!--\n Aria renders the popup only while its combobox is expanded. Select-only mode wraps the list in the\n dropdown menu here; in search mode the list already sits in the dropdown menu next to the search box.\n-->\n<ng-template #countryPopup let-combobox let-menu=\"menu\">\n <ng-template ngComboboxPopup [combobox]=\"combobox\">\n <ng-template #list>\n <ul\n #countryList\n #listbox=\"ngListbox\"\n class=\"iti__country-list\"\n ngListbox\n ngComboboxWidget\n tabindex=\"-1\"\n focusMode=\"activedescendant\"\n selectionMode=\"explicit\"\n [id]=\"listboxId\"\n [(value)]=\"selectedOptionIds\"\n [activeDescendant]=\"listbox.activeDescendant()\"\n (click)=\"commitSelection()\"\n (keydown.enter)=\"commitSelection()\"\n (keydown.space)=\"commitSelection()\"\n >\n @for (option of countryOptions; track option.id; let i = $index) {\n @if (!option.preferred && i > 0 && countryOptions[i - 1].preferred) {\n <li class=\"iti__divider\" role=\"separator\" aria-hidden=\"true\"></li>\n }\n <li\n class=\"iti__country\"\n [class.iti__preferred]=\"option.preferred\"\n [class.iti__standard]=\"!option.preferred\"\n ngOption\n [value]=\"option.id\"\n [label]=\"option.country.name\"\n [id]=\"option.id\"\n >\n <div class=\"iti__flag-box\">\n <div class=\"iti__flag\" [ngClass]=\"option.country.flagClass\"></div>\n </div>\n <span class=\"iti__country-name\">{{ option.country.name }}</span>\n <span class=\"iti__dial-code\">+{{ option.country.dialCode }}</span>\n </li>\n }\n </ul>\n </ng-template>\n @if (menu) {\n <div\n #dropdownMenu\n class=\"dropdown-menu iti__dropdown-content\"\n [class.iti__dropdown--above]=\"dropdownAbove()\"\n (keydown.escape)=\"closeDropdown(true)\"\n >\n <ng-container [ngTemplateOutlet]=\"list\" />\n </div>\n } @else {\n <ng-container [ngTemplateOutlet]=\"list\" />\n }\n </ng-template>\n</ng-template>\n",
|
|
2258
|
+
styles: [".dropdown-toggle:focus:not(:focus-visible){outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px #0000002d;background-clip:padding-box}.open>.dropdown-menu{display:block}li.iti__country:hover,li.iti__country[data-active=true]{background-color:#0000000d}.iti__selected-flag.dropdown-toggle:after{content:none}.iti__selected-flag.dropdown-toggle:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}.iti__flag-container.disabled{cursor:default!important}.iti.iti--allow-dropdown .flag-container.disabled:hover .iti__selected-flag{background:none}.iti__dropdown-content{border:1px solid #ccc;width:fit-content;padding:1px;border-collapse:collapse}.search-container{position:relative}.open>.dropdown-menu.iti__dropdown--above{top:auto;bottom:100%;margin:0 0 2px;display:flex;flex-direction:column-reverse}.iti__dropdown--above .search-container input{border-bottom:none;border-top:1px solid #ccc}.search-container input{width:100%;border:none;border-bottom:1px solid #ccc;padding-left:10px}.search-icon{position:absolute;z-index:2;width:25px;margin:1px 10px}.iti__country-list{position:relative;border:none}.iti input#country-search-box{padding-left:6px}.iti .selected-dial-code{margin-left:6px}.iti.separate-dial-code .iti__selected-flag,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-2 .iti__selected-flag,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-3 .iti__selected-flag,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-4 .iti__selected-flag{width:93px}.iti.separate-dial-code input,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-2 input,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-3 input,.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-4 input{padding-left:98px}\n"]
|
|
2230
2259
|
}]
|
|
2231
2260
|
}],
|
|
2232
2261
|
ctorParameters: () => [],
|
|
@@ -2249,6 +2278,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2249
2278
|
inputId: [{ type: Input }],
|
|
2250
2279
|
separateDialCode: [{ type: Input }],
|
|
2251
2280
|
excludeCountries: [{ type: Input }],
|
|
2281
|
+
dropdownPlacement: [{ type: Input }],
|
|
2252
2282
|
countryChange: [{ type: Output }],
|
|
2253
2283
|
countryList: [{
|
|
2254
2284
|
type: ViewChild,
|
|
@@ -2270,6 +2300,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2270
2300
|
type: i0.ViewChild,
|
|
2271
2301
|
args: ["flagContainer", { isSignal: true }]
|
|
2272
2302
|
}],
|
|
2303
|
+
dropdownMenuEl: [{
|
|
2304
|
+
type: i0.ViewChild,
|
|
2305
|
+
args: ["dropdownMenu", { isSignal: true }]
|
|
2306
|
+
}],
|
|
2307
|
+
countryListEl: [{
|
|
2308
|
+
type: i0.ViewChild,
|
|
2309
|
+
args: ["countryList", { isSignal: true }]
|
|
2310
|
+
}],
|
|
2273
2311
|
searchInputEl: [{
|
|
2274
2312
|
type: i0.ViewChild,
|
|
2275
2313
|
args: ["searchInput", { isSignal: true }]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moddi3-ngx-intl-tel-input.mjs","names":[],"sources":["../../../projects/ngx-intl-tel-input/src/lib/enums/country-iso.enum.ts","../../../projects/ngx-intl-tel-input/src/lib/data/country-code.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/ngx-intl-tel-input.validator.ts","../../../projects/ngx-intl-tel-input/src/lib/ngx-intl-tel-input.component.ts","../../../projects/ngx-intl-tel-input/src/lib/ngx-intl-tel-input.component.html","../../../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"],"sourcesContent":["export enum CountryISO {\n Afghanistan = 'af',\n Albania = 'al',\n Algeria = 'dz',\n AmericanSamoa = 'as',\n Andorra = 'ad',\n Angola = 'ao',\n Anguilla = 'ai',\n AntiguaAndBarbuda = 'ag',\n Argentina = 'ar',\n Armenia = 'am',\n Aruba = 'aw',\n Australia = 'au',\n Austria = 'at',\n Azerbaijan = 'az',\n Bahamas = 'bs',\n Bahrain = 'bh',\n Bangladesh = 'bd',\n Barbados = 'bb',\n Belarus = 'by',\n Belgium = 'be',\n Belize = 'bz',\n Benin = 'bj',\n Bermuda = 'bm',\n Bhutan = 'bt',\n Bolivia = 'bo',\n BosniaAndHerzegovina = 'ba',\n Botswana = 'bw',\n Brazil = 'br',\n BritishIndianOceanTerritory = 'io',\n BritishVirginIslands = 'vg',\n Brunei = 'bn',\n Bulgaria = 'bg',\n BurkinaFaso = 'bf',\n Burundi = 'bi',\n Cambodia = 'kh',\n Cameroon = 'cm',\n Canada = 'ca',\n CapeVerde = 'cv',\n CaribbeanNetherlands = 'bq',\n CaymanIslands = 'ky',\n CentralAfricanRepublic = 'cf',\n Chad = 'td',\n Chile = 'cl',\n China = 'cn',\n ChristmasIsland = 'cx',\n Cocos = 'cc',\n Colombia = 'co',\n Comoros = 'km',\n CongoDRCJamhuriYaKidemokrasiaYaKongo = 'cd',\n CongoRepublicCongoBrazzaville = 'cg',\n CookIslands = 'ck',\n CostaRica = 'cr',\n CôteDIvoire = 'ci',\n Croatia = 'hr',\n Cuba = 'cu',\n Curaçao = 'cw',\n Cyprus = 'cy',\n CzechRepublic = 'cz',\n Denmark = 'dk',\n Djibouti = 'dj',\n Dominica = 'dm',\n DominicanRepublic = 'do',\n Ecuador = 'ec',\n Egypt = 'eg',\n ElSalvador = 'sv',\n EquatorialGuinea = 'gq',\n Eritrea = 'er',\n Estonia = 'ee',\n Ethiopia = 'et',\n FalklandIslands = 'fk',\n FaroeIslands = 'fo',\n Fiji = 'fj',\n Finland = 'fi',\n France = 'fr',\n FrenchGuiana = 'gf',\n FrenchPolynesia = 'pf',\n Gabon = 'ga',\n Gambia = 'gm',\n Georgia = 'ge',\n Germany = 'de',\n Ghana = 'gh',\n Gibraltar = 'gi',\n Greece = 'gr',\n Greenland = 'gl',\n Grenada = 'gd',\n Guadeloupe = 'gp',\n Guam = 'gu',\n Guatemala = 'gt',\n Guernsey = 'gg',\n Guinea = 'gn',\n GuineaBissau = 'gw',\n Guyana = 'gy',\n Haiti = 'ht',\n Honduras = 'hn',\n HongKong = 'hk',\n Hungary = 'hu',\n Iceland = 'is',\n India = 'in',\n Indonesia = 'id',\n Iran = 'ir',\n Iraq = 'iq',\n Ireland = 'ie',\n IsleOfMan = 'im',\n Israel = 'il',\n Italy = 'it',\n Jamaica = 'jm',\n Japan = 'jp',\n Jersey = 'je',\n Jordan = 'jo',\n Kazakhstan = 'kz',\n Kenya = 'ke',\n Kiribati = 'ki',\n Kosovo = 'xk',\n Kuwait = 'kw',\n Kyrgyzstan = 'kg',\n Laos = 'la',\n Latvia = 'lv',\n Lebanon = 'lb',\n Lesotho = 'ls',\n Liberia = 'lr',\n Libya = 'ly',\n Liechtenstein = 'li',\n Lithuania = 'lt',\n Luxembourg = 'lu',\n Macau = 'mo',\n Macedonia = 'mk',\n Madagascar = 'mg',\n Malawi = 'mw',\n Malaysia = 'my',\n Maldives = 'mv',\n Mali = 'ml',\n Malta = 'mt',\n MarshallIslands = 'mh',\n Martinique = 'mq',\n Mauritania = 'mr',\n Mauritius = 'mu',\n Mayotte = 'yt',\n Mexico = 'mx',\n Micronesia = 'fm',\n Moldova = 'md',\n Monaco = 'mc',\n Mongolia = 'mn',\n Montenegro = 'me',\n Montserrat = 'ms',\n Morocco = 'ma',\n Mozambique = 'mz',\n Myanmar = 'mm',\n Namibia = 'na',\n Nauru = 'nr',\n Nepal = 'np',\n Netherlands = 'nl',\n NewCaledonia = 'nc',\n NewZealand = 'nz',\n Nicaragua = 'ni',\n Niger = 'ne',\n Nigeria = 'ng',\n Niue = 'nu',\n NorfolkIsland = 'nf',\n NorthKorea = 'kp',\n NorthernMarianaIslands = 'mp',\n Norway = 'no',\n Oman = 'om',\n Pakistan = 'pk',\n Palau = 'pw',\n Palestine = 'ps',\n Panama = 'pa',\n PapuaNewGuinea = 'pg',\n Paraguay = 'py',\n Peru = 'pe',\n Philippines = 'ph',\n Poland = 'pl',\n Portugal = 'pt',\n PuertoRico = 'pr',\n Qatar = 'qa',\n Réunion = 're',\n Romania = 'ro',\n Russia = 'ru',\n Rwanda = 'rw',\n SaintBarthélemy = 'bl',\n SaintHelena = 'sh',\n SaintKittsAndNevis = 'kn',\n SaintLucia = 'lc',\n SaintMartin = 'mf',\n SaintPierreAndMiquelon = 'pm',\n SaintVincentAndTheGrenadines = 'vc',\n Samoa = 'ws',\n SanMarino = 'sm',\n SãoToméAndPríncipe = 'st',\n SaudiArabia = 'sa',\n Senegal = 'sn',\n Serbia = 'rs',\n Seychelles = 'sc',\n SierraLeone = 'sl',\n Singapore = 'sg',\n SintMaarten = 'sx',\n Slovakia = 'sk',\n Slovenia = 'si',\n SolomonIslands = 'sb',\n Somalia = 'so',\n SouthAfrica = 'za',\n SouthKorea = 'kr',\n SouthSudan = 'ss',\n Spain = 'es',\n SriLanka = 'lk',\n Sudan = 'sd',\n Suriname = 'sr',\n SvalbardAndJanMayen = 'sj',\n Swaziland = 'sz',\n Sweden = 'se',\n Switzerland = 'ch',\n Syria = 'sy',\n Taiwan = 'tw',\n Tajikistan = 'tj',\n Tanzania = 'tz',\n Thailand = 'th',\n TimorLeste = 'tl',\n Togo = 'tg',\n Tokelau = 'tk',\n Tonga = 'to',\n TrinidadAndTobago = 'tt',\n Tunisia = 'tn',\n Turkey = 'tr',\n Turkmenistan = 'tm',\n TurksAndCaicosIslands = 'tc',\n Tuvalu = 'tv',\n USVirginIslands = 'vi',\n Uganda = 'ug',\n Ukraine = 'ua',\n UnitedArabEmirates = 'ae',\n UnitedKingdom = 'gb',\n UnitedStates = 'us',\n Uruguay = 'uy',\n Uzbekistan = 'uz',\n Vanuatu = 'vu',\n VaticanCity = 'va',\n Venezuela = 've',\n Vietnam = 'vn',\n WallisAndFutuna = 'wf',\n WesternSahara = 'eh',\n Yemen = 'ye',\n Zambia = 'zm',\n Zimbabwe = 'zw',\n ÅlandIslands = 'ax',\n}\n","import { Injectable } from '@angular/core';\nimport { CountryISO } from '../enums/country-iso.enum';\n\n@Injectable()\nexport class CountryCode {\n public allCountries = [\n ['Afghanistan (افغانستان)', CountryISO.Afghanistan, '93'],\n ['Albania (Shqipëri)', CountryISO.Albania, '355'],\n ['Algeria (الجزائر)', CountryISO.Algeria, '213'],\n ['American Samoa', 'as', '1', 1, ['684']],\n ['Andorra', CountryISO.Andorra, '376'],\n ['Angola', CountryISO.Angola, '244'],\n ['Anguilla', 'ai', '1', 1, ['264']],\n ['Antigua and Barbuda', 'ag', '1', 1, ['268']],\n ['Argentina', CountryISO.Argentina, '54'],\n ['Armenia (Հայաստան)', CountryISO.Armenia, '374'],\n ['Aruba', CountryISO.Aruba, '297'],\n ['Australia', CountryISO.Australia, '61', 0],\n ['Austria (Österreich)', CountryISO.Austria, '43'],\n ['Azerbaijan (Azərbaycan)', CountryISO.Azerbaijan, '994'],\n ['Bahamas', 'bs', '1', 1, ['242']],\n ['Bahrain (البحرين)', CountryISO.Bahrain, '973'],\n ['Bangladesh (বাংলাদেশ)', CountryISO.Bangladesh, '880'],\n ['Barbados', 'bb', '1', 1, ['246']],\n ['Belarus (Беларусь)', CountryISO.Belarus, '375'],\n ['Belgium (België)', CountryISO.Belgium, '32'],\n ['Belize', CountryISO.Belize, '501'],\n ['Benin (Bénin)', CountryISO.Benin, '229'],\n ['Bermuda', 'bm', '1', 1, ['441']],\n ['Bhutan (འབྲུག)', CountryISO.Bhutan, '975'],\n ['Bolivia', CountryISO.Bolivia, '591'],\n ['Bosnia and Herzegovina (Босна и Херцеговина)', CountryISO.BosniaAndHerzegovina, '387'],\n ['Botswana', CountryISO.Botswana, '267'],\n ['Brazil (Brasil)', CountryISO.Brazil, '55'],\n ['British Indian Ocean Territory', CountryISO.BritishIndianOceanTerritory, '246'],\n ['British Virgin Islands', 'vg', '1', 1, ['284']],\n ['Brunei', CountryISO.Brunei, '673'],\n ['Bulgaria (България)', CountryISO.Bulgaria, '359'],\n ['Burkina Faso', CountryISO.BurkinaFaso, '226'],\n ['Burundi (Uburundi)', CountryISO.Burundi, '257'],\n ['Cambodia (កម្ពុជា)', CountryISO.Cambodia, '855'],\n ['Cameroon (Cameroun)', CountryISO.Cameroon, '237'],\n [\n 'Canada',\n CountryISO.Canada,\n '1',\n 1,\n [\n '204',\n '226',\n '236',\n '249',\n '250',\n '289',\n '306',\n '343',\n '365',\n '387',\n '403',\n '416',\n '418',\n '431',\n '437',\n '438',\n '450',\n '506',\n '514',\n '519',\n '548',\n '579',\n '581',\n '587',\n '604',\n '613',\n '639',\n '647',\n '672',\n '705',\n '709',\n '742',\n '778',\n '780',\n '782',\n '807',\n '819',\n '825',\n '867',\n '873',\n '902',\n '905',\n ],\n ],\n ['Cape Verde (Kabu Verdi)', CountryISO.CapeVerde, '238'],\n ['Caribbean Netherlands', CountryISO.CaribbeanNetherlands, '599', 1],\n ['Cayman Islands', 'ky', '1', 1, ['345']],\n [\n 'Central African Republic (République centrafricaine)',\n CountryISO.CentralAfricanRepublic,\n '236',\n ],\n ['Chad (Tchad)', CountryISO.Chad, '235'],\n ['Chile', CountryISO.Chile, '56'],\n ['China (中国)', CountryISO.China, '86'],\n ['Christmas Island', CountryISO.ChristmasIsland, '61', 2],\n ['Cocos (Keeling) Islands', CountryISO.Cocos, '61', 1],\n ['Colombia', CountryISO.Colombia, '57'],\n ['Comoros (جزر القمر)', CountryISO.Comoros, '269'],\n [\n 'Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)',\n CountryISO.CongoDRCJamhuriYaKidemokrasiaYaKongo,\n '243',\n ],\n ['Congo (Republic) (Congo-Brazzaville)', CountryISO.CongoRepublicCongoBrazzaville, '242'],\n ['Cook Islands', CountryISO.CookIslands, '682'],\n ['Costa Rica', CountryISO.CostaRica, '506'],\n ['Côte d’Ivoire', CountryISO.CôteDIvoire, '225'],\n ['Croatia (Hrvatska)', CountryISO.Croatia, '385'],\n ['Cuba', CountryISO.Cuba, '53'],\n ['Curaçao', CountryISO.Curaçao, '599', 0],\n ['Cyprus (Κύπρος)', CountryISO.Cyprus, '357'],\n ['Czech Republic (Česká republika)', CountryISO.CzechRepublic, '420'],\n ['Denmark (Danmark)', CountryISO.Denmark, '45'],\n ['Djibouti', CountryISO.Djibouti, '253'],\n ['Dominica', CountryISO.Dominica, '1767'],\n [\n 'Dominican Republic (República Dominicana)',\n CountryISO.DominicanRepublic,\n '1',\n 2,\n ['809', '829', '849'],\n ],\n ['Ecuador', CountryISO.Ecuador, '593'],\n ['Egypt (مصر)', CountryISO.Egypt, '20'],\n ['El Salvador', CountryISO.ElSalvador, '503'],\n ['Equatorial Guinea (Guinea Ecuatorial)', CountryISO.EquatorialGuinea, '240'],\n ['Eritrea', CountryISO.Eritrea, '291'],\n ['Estonia (Eesti)', CountryISO.Estonia, '372'],\n ['Ethiopia', CountryISO.Ethiopia, '251'],\n ['Falkland Islands (Islas Malvinas)', CountryISO.FalklandIslands, '500'],\n ['Faroe Islands (Føroyar)', CountryISO.FaroeIslands, '298'],\n ['Fiji', CountryISO.Fiji, '679'],\n ['Finland (Suomi)', CountryISO.Finland, '358', 0],\n ['France', CountryISO.France, '33'],\n ['French Guiana (Guyane française)', CountryISO.FrenchGuiana, '594'],\n ['French Polynesia (Polynésie française)', CountryISO.FrenchPolynesia, '689'],\n ['Gabon', CountryISO.Gabon, '241'],\n ['Gambia', CountryISO.Gambia, '220'],\n ['Georgia (საქართველო)', CountryISO.Georgia, '995'],\n ['Germany (Deutschland)', CountryISO.Germany, '49'],\n ['Ghana (Gaana)', CountryISO.Ghana, '233'],\n ['Gibraltar', CountryISO.Gibraltar, '350'],\n ['Greece (Ελλάδα)', CountryISO.Greece, '30'],\n ['Greenland (Kalaallit Nunaat)', CountryISO.Greenland, '299'],\n ['Grenada', CountryISO.Grenada, '1473'],\n ['Guadeloupe', CountryISO.Guadeloupe, '590', 0],\n ['Guam', 'gu', '1', 1, ['671']],\n ['Guatemala', CountryISO.Guatemala, '502'],\n ['Guernsey', CountryISO.Guernsey, '44', 1, [1481]],\n ['Guinea (Guinée)', CountryISO.Guinea, '224'],\n ['Guinea-Bissau (Guiné Bissau)', CountryISO.GuineaBissau, '245'],\n ['Guyana', CountryISO.Guyana, '592'],\n ['Haiti', CountryISO.Haiti, '509'],\n ['Honduras', CountryISO.Honduras, '504'],\n ['Hong Kong (香港)', CountryISO.HongKong, '852'],\n ['Hungary (Magyarország)', CountryISO.Hungary, '36'],\n ['Iceland (Ísland)', CountryISO.Iceland, '354'],\n ['India (भारत)', CountryISO.India, '91'],\n ['Indonesia', CountryISO.Indonesia, '62'],\n ['Iran (ایران)', CountryISO.Iran, '98'],\n ['Iraq (العراق)', CountryISO.Iraq, '964'],\n ['Ireland', CountryISO.Ireland, '353'],\n ['Isle of Man', CountryISO.IsleOfMan, '44', 2, [1624]],\n ['Israel (ישראל)', CountryISO.Israel, '972'],\n ['Italy (Italia)', CountryISO.Italy, '39', 0],\n ['Jamaica', 'jm', '1', 1, ['876']],\n ['Japan (日本)', CountryISO.Japan, '81'],\n ['Jersey', CountryISO.Jersey, '44', 3, [1534]],\n ['Jordan (الأردن)', CountryISO.Jordan, '962'],\n ['Kazakhstan (Казахстан)', CountryISO.Kazakhstan, '7', 1],\n ['Kenya', CountryISO.Kenya, '254'],\n ['Kiribati', CountryISO.Kiribati, '686'],\n ['Kosovo', CountryISO.Kosovo, '383'],\n ['Kuwait (الكويت)', CountryISO.Kuwait, '965'],\n ['Kyrgyzstan (Кыргызстан)', CountryISO.Kyrgyzstan, '996'],\n ['Laos (ລາວ)', CountryISO.Laos, '856'],\n ['Latvia (Latvija)', CountryISO.Latvia, '371'],\n ['Lebanon (لبنان)', CountryISO.Lebanon, '961'],\n ['Lesotho', CountryISO.Lesotho, '266'],\n ['Liberia', CountryISO.Liberia, '231'],\n ['Libya (ليبيا)', CountryISO.Libya, '218'],\n ['Liechtenstein', CountryISO.Liechtenstein, '423'],\n ['Lithuania (Lietuva)', CountryISO.Lithuania, '370'],\n ['Luxembourg', CountryISO.Luxembourg, '352'],\n ['Macau (澳門)', CountryISO.Macau, '853'],\n ['Macedonia (FYROM) (Македонија)', CountryISO.Macedonia, '389'],\n ['Madagascar (Madagasikara)', CountryISO.Madagascar, '261'],\n ['Malawi', CountryISO.Malawi, '265'],\n ['Malaysia', CountryISO.Malaysia, '60'],\n ['Maldives', CountryISO.Maldives, '960'],\n ['Mali', CountryISO.Mali, '223'],\n ['Malta', CountryISO.Malta, '356'],\n ['Marshall Islands', CountryISO.MarshallIslands, '692'],\n ['Martinique', CountryISO.Martinique, '596'],\n ['Mauritania (موريتانيا)', CountryISO.Mauritania, '222'],\n ['Mauritius (Moris)', CountryISO.Mauritius, '230'],\n ['Mayotte', CountryISO.Mayotte, '262', 1],\n ['Mexico (México)', CountryISO.Mexico, '52'],\n ['Micronesia', CountryISO.Micronesia, '691'],\n ['Moldova (Republica Moldova)', CountryISO.Moldova, '373'],\n ['Monaco', CountryISO.Monaco, '377'],\n ['Mongolia (Монгол)', CountryISO.Mongolia, '976'],\n ['Montenegro (Crna Gora)', CountryISO.Montenegro, '382'],\n ['Montserrat', 'ms', '1', 1, ['664']],\n ['Morocco (المغرب)', CountryISO.Morocco, '212', 0],\n ['Mozambique (Moçambique)', CountryISO.Mozambique, '258'],\n ['Myanmar (Burma) (မြန်မာ)', CountryISO.Myanmar, '95'],\n ['Namibia (Namibië)', CountryISO.Namibia, '264'],\n ['Nauru', CountryISO.Nauru, '674'],\n ['Nepal (नेपाल)', CountryISO.Nepal, '977'],\n ['Netherlands (Nederland)', CountryISO.Netherlands, '31'],\n ['New Caledonia (Nouvelle-Calédonie)', CountryISO.NewCaledonia, '687'],\n ['New Zealand', CountryISO.NewZealand, '64'],\n ['Nicaragua', CountryISO.Nicaragua, '505'],\n ['Niger (Nijar)', CountryISO.Niger, '227'],\n ['Nigeria', CountryISO.Nigeria, '234'],\n ['Niue', CountryISO.Niue, '683'],\n ['Norfolk Island', CountryISO.NorfolkIsland, '672'],\n ['North Korea (조선 민주주의 인민 공화국)', CountryISO.NorthKorea, '850'],\n ['Northern Mariana Islands', CountryISO.NorthernMarianaIslands, '1670'],\n ['Norway (Norge)', CountryISO.Norway, '47', 0],\n ['Oman (عُمان)', CountryISO.Oman, '968'],\n ['Pakistan (پاکستان)', CountryISO.Pakistan, '92'],\n ['Palau', CountryISO.Palau, '680'],\n ['Palestine (فلسطين)', CountryISO.Palestine, '970'],\n ['Panama (Panamá)', CountryISO.Panama, '507'],\n ['Papua New Guinea', CountryISO.PapuaNewGuinea, '675'],\n ['Paraguay', CountryISO.Paraguay, '595'],\n ['Peru (Perú)', CountryISO.Peru, '51'],\n ['Philippines', CountryISO.Philippines, '63'],\n ['Poland (Polska)', CountryISO.Poland, '48'],\n ['Portugal', CountryISO.Portugal, '351'],\n ['Puerto Rico', CountryISO.PuertoRico, '1', 3, ['787', '939']],\n ['Qatar (قطر)', CountryISO.Qatar, '974'],\n ['Réunion (La Réunion)', CountryISO.Réunion, '262', 0],\n ['Romania (România)', CountryISO.Romania, '40'],\n ['Russia (Россия)', CountryISO.Russia, '7', 0],\n ['Rwanda', CountryISO.Rwanda, '250'],\n ['Saint Barthélemy (Saint-Barthélemy)', CountryISO.SaintBarthélemy, '590', 1],\n ['Saint Helena', CountryISO.SaintHelena, '290'],\n ['Saint Kitts and Nevis', CountryISO.SaintKittsAndNevis, '1869'],\n ['Saint Lucia', 'lc', '1', 1, ['758']],\n ['Saint Martin (Saint-Martin (partie française))', CountryISO.SaintMartin, '590', 2],\n [\n 'Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)',\n CountryISO.SaintPierreAndMiquelon,\n '508',\n ],\n ['Saint Vincent and the Grenadines', 'vc', '1', 1, ['784']],\n ['Samoa', CountryISO.Samoa, '685'],\n ['San Marino', CountryISO.SanMarino, '378'],\n ['São Tomé and Príncipe (São Tomé e Príncipe)', CountryISO.SãoToméAndPríncipe, '239'],\n ['Saudi Arabia (المملكة العربية السعودية)', CountryISO.SaudiArabia, '966'],\n ['Senegal (Sénégal)', CountryISO.Senegal, '221'],\n ['Serbia (Србија)', CountryISO.Serbia, '381'],\n ['Seychelles', CountryISO.Seychelles, '248'],\n ['Sierra Leone', CountryISO.SierraLeone, '232'],\n ['Singapore', CountryISO.Singapore, '65'],\n ['Sint Maarten', 'sx', '1', 1, ['721']],\n ['Slovakia (Slovensko)', CountryISO.Slovakia, '421'],\n ['Slovenia (Slovenija)', CountryISO.Slovenia, '386'],\n ['Solomon Islands', CountryISO.SolomonIslands, '677'],\n ['Somalia (Soomaaliya)', CountryISO.Somalia, '252'],\n ['South Africa', CountryISO.SouthAfrica, '27'],\n ['South Korea (대한민국)', CountryISO.SouthKorea, '82'],\n ['South Sudan (جنوب السودان)', CountryISO.SouthSudan, '211'],\n ['Spain (España)', CountryISO.Spain, '34'],\n ['Sri Lanka (ශ්රී ලංකාව)', CountryISO.SriLanka, '94'],\n ['Sudan (السودان)', CountryISO.Sudan, '249'],\n ['Suriname', CountryISO.Suriname, '597'],\n ['Svalbard and Jan Mayen', CountryISO.SvalbardAndJanMayen, '47', 1],\n ['Swaziland', CountryISO.Swaziland, '268'],\n ['Sweden (Sverige)', CountryISO.Sweden, '46'],\n ['Switzerland (Schweiz)', CountryISO.Switzerland, '41'],\n ['Syria (سوريا)', CountryISO.Syria, '963'],\n ['Taiwan (台灣)', CountryISO.Taiwan, '886'],\n ['Tajikistan', CountryISO.Tajikistan, '992'],\n ['Tanzania', CountryISO.Tanzania, '255'],\n ['Thailand (ไทย)', CountryISO.Thailand, '66'],\n ['Timor-Leste', CountryISO.TimorLeste, '670'],\n ['Togo', CountryISO.Togo, '228'],\n ['Tokelau', CountryISO.Tokelau, '690'],\n ['Tonga', CountryISO.Tonga, '676'],\n ['Trinidad and Tobago', 'tt', '1', 1, ['868']],\n ['Tunisia (تونس)', CountryISO.Tunisia, '216'],\n ['Turkey (Türkiye)', CountryISO.Turkey, '90'],\n ['Turkmenistan', CountryISO.Turkmenistan, '993'],\n ['Turks and Caicos Islands', CountryISO.TurksAndCaicosIslands, '1649'],\n ['Tuvalu', CountryISO.Tuvalu, '688'],\n ['U.S. Virgin Islands', 'vi', '1', 1, ['340']],\n ['Uganda', CountryISO.Uganda, '256'],\n ['Ukraine (Україна)', CountryISO.Ukraine, '380'],\n ['United Arab Emirates (الإمارات العربية المتحدة)', CountryISO.UnitedArabEmirates, '971'],\n ['United Kingdom', CountryISO.UnitedKingdom, '44', 0],\n ['United States', CountryISO.UnitedStates, '1', 0],\n ['Uruguay', CountryISO.Uruguay, '598'],\n ['Uzbekistan (Oʻzbekiston)', CountryISO.Uzbekistan, '998'],\n ['Vanuatu', CountryISO.Vanuatu, '678'],\n ['Vatican City (Città del Vaticano)', CountryISO.VaticanCity, '39', 1],\n ['Venezuela', CountryISO.Venezuela, '58'],\n ['Vietnam (Việt Nam)', CountryISO.Vietnam, '84'],\n ['Wallis and Futuna', CountryISO.WallisAndFutuna, '681'],\n ['Western Sahara (الصحراء الغربية)', CountryISO.WesternSahara, '212', 1],\n ['Yemen (اليمن)', CountryISO.Yemen, '967'],\n ['Zambia', CountryISO.Zambia, '260'],\n ['Zimbabwe', CountryISO.Zimbabwe, '263'],\n ['Åland Islands', CountryISO.ÅlandIslands, '358', 1],\n ];\n}\n","export enum PhoneNumberFormat {\n International = 'INTERNATIONAL',\n National = 'NATIONAL',\n}\n","export enum SearchCountryField {\n DialCode = 'dialCode',\n Iso2 = 'iso2',\n Name = 'name',\n All = 'all',\n}\n","import * as lpn from 'google-libphonenumber';\n\n/*\nWe use \"control: any\" instead of \"control: FormControl\" to silence:\n\"Property 'nativeElement' does not exist on type 'FormControl'\".\nThis happens because I've expanded control with nativeElement via\n'NativeElementInjectorDirective' to get an access to the element.\nMore about this approach and reasons for this:\nhttps://github.com/angular/angular/issues/18025\nhttps://stackoverflow.com/a/54075119/1617590\n*/\nexport const phoneNumberValidator = (control: any) => {\n if (!control.value) {\n return;\n }\n // Find <input> inside injected nativeElement and get its \"id\".\n const el: HTMLElement = control.nativeElement as HTMLElement;\n const inputBox: HTMLInputElement | any = el ? el.querySelector('input[type=\"tel\"]') : undefined;\n if (inputBox) {\n const isCheckValidation = inputBox.getAttribute('validation');\n if (isCheckValidation === 'true') {\n const isRequired = control.errors && control.errors.required === true;\n const error = { validatePhoneNumber: { valid: false } };\n\n inputBox.setCustomValidity('Invalid field.');\n\n let number: lpn.PhoneNumber;\n\n try {\n number = lpn.PhoneNumberUtil.getInstance().parse(\n control.value.number,\n control.value.countryCode\n );\n } catch (e) {\n if (isRequired) {\n return error;\n } else {\n inputBox.setCustomValidity('');\n }\n }\n\n if (control.value) {\n // @ts-ignore\n if (!number) {\n return error;\n } else {\n if (\n !lpn.PhoneNumberUtil.getInstance().isValidNumberForRegion(\n number,\n control.value.countryCode\n )\n ) {\n return error;\n } else {\n inputBox.setCustomValidity('');\n }\n }\n }\n } else if (isCheckValidation === 'false') {\n inputBox.setCustomValidity('');\n\n control.clearValidators();\n }\n }\n return;\n};\n","import { NgClass, NgTemplateOutlet } from '@angular/common';\nimport {\n afterRenderEffect,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n inject,\n Input,\n OnChanges,\n OnInit,\n Output,\n signal,\n SimpleChanges,\n ViewChild,\n viewChild,\n viewChildren,\n} from '@angular/core';\nimport { FormsModule, NG_VALIDATORS, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { Combobox, ComboboxPopup, ComboboxWidget } from '@angular/aria/combobox';\nimport { Listbox, Option } from '@angular/aria/listbox';\nimport * as lpn from 'google-libphonenumber';\n\nimport { CountryCode } from './data/country-code';\nimport { CountryISO } from './enums/country-iso.enum';\nimport { PhoneNumberFormat } from './enums/phone-number-format.enum';\nimport { SearchCountryField } from './enums/search-country-field.enum';\nimport { ChangeData } from './interfaces/change-data';\nimport { Country } from './model/country.model';\nimport { phoneNumberValidator } from './ngx-intl-tel-input.validator';\n\nlet nextInstanceId = 0;\n\n/** One row of the country list: preferred countries come first and repeat in the standard list. */\ninterface CountryOption {\n id: string;\n country: Country;\n preferred: boolean;\n}\n\n@Component({\n // tslint:disable-next-line: component-selector\n selector: 'ngx-intl-tel-input',\n templateUrl: './ngx-intl-tel-input.component.html',\n styleUrls: ['./ngx-intl-tel-input.component.css'],\n imports: [\n NgClass,\n NgTemplateOutlet,\n FormsModule,\n Combobox,\n ComboboxPopup,\n ComboboxWidget,\n Listbox,\n Option,\n ],\n changeDetection: ChangeDetectionStrategy.Eager,\n providers: [\n CountryCode,\n {\n provide: NG_VALUE_ACCESSOR,\n // tslint:disable-next-line:no-forward-ref\n useExisting: forwardRef(() => NgxIntlTelInputComponent),\n multi: true,\n },\n {\n provide: NG_VALIDATORS,\n useValue: phoneNumberValidator,\n multi: true,\n },\n ],\n})\nexport class NgxIntlTelInputComponent implements OnInit, OnChanges {\n @Input() value: string | undefined = '';\n @Input() preferredCountries: Array<string> = [];\n @Input() enablePlaceholder = true;\n @Input() customPlaceholder: string;\n @Input() numberFormat: PhoneNumberFormat = PhoneNumberFormat.International;\n @Input() cssClass = 'form-control';\n @Input() onlyCountries: Array<string> = [];\n @Input() enableAutoCountrySelect = true;\n @Input() searchCountryFlag = false;\n @Input() searchCountryField: SearchCountryField[] = [SearchCountryField.All];\n @Input() searchCountryPlaceholder = 'Search Country';\n @Input() maxLength: number;\n @Input() selectFirstCountry = true;\n @Input() selectedCountryISO: CountryISO;\n @Input() phoneValidation = true;\n @Input() inputId = 'phone';\n @Input() separateDialCode = false;\n @Input() excludeCountries: Array<CountryISO> = [];\n separateDialCodeClass: string;\n\n @Output() readonly countryChange = new EventEmitter<Country>();\n\n selectedCountry: Country = {\n areaCodes: undefined,\n dialCode: '',\n htmlId: '',\n flagClass: '',\n iso2: '',\n name: '',\n placeHolder: '',\n priority: 0,\n };\n\n phoneNumber: string | undefined = '';\n allCountries: Array<Country> = [];\n\n preferredCountriesInDropDown: Array<Country> = [];\n // Has to be 'any' to prevent a need to install @types/google-libphonenumber by the package user...\n phoneUtil: any = lpn.PhoneNumberUtil.getInstance();\n disabled = false;\n countrySearchText = '';\n\n protected readonly isOpen = signal(false);\n protected readonly dropdownId = `iti-country-dropdown-${nextInstanceId++}`;\n protected readonly listboxId = `${this.dropdownId}-list`;\n /** Rows of the open list and the listbox value; both are rebuilt on every open. */\n protected countryOptions: CountryOption[] = [];\n protected selectedOptionIds: string[] = [];\n private openedWithIds: string[] = [];\n\n @ViewChild('countryList') countryList: ElementRef;\n\n private readonly listbox = viewChild<Listbox<string>>(Listbox);\n private readonly options = viewChildren<Option<string>>(Option);\n private readonly toggleEl = viewChild<ElementRef<HTMLElement>>('toggleEl');\n private readonly flagContainerEl =\n viewChild.required<ElementRef<HTMLElement>>('flagContainer');\n private readonly searchInputEl =\n viewChild<ElementRef<HTMLInputElement>>('searchInput');\n private readonly focusableEl =\n viewChild.required<ElementRef<HTMLInputElement>>('focusable');\n\n private readonly countryCodeData = inject(CountryCode);\n\n onTouched = () => {};\n propagateChange = (_: ChangeData) => {};\n\n constructor() {\n // The search box is the combobox in search mode, so it takes focus as soon as the dropdown renders.\n afterRenderEffect(() => {\n if (this.isOpen()) {\n this.searchInputEl()?.nativeElement.focus();\n }\n });\n\n // Keep the active option visible by scrolling the list only, never the page.\n afterRenderEffect(() => {\n const activeId = this.listbox()?.activeDescendant();\n const option = this.options().find((o) => o.id() === activeId);\n const listEl = this.countryList?.nativeElement as HTMLElement | undefined;\n if (!option || !listEl) {\n return;\n }\n const top = option.element.offsetTop;\n const bottom = top + option.element.offsetHeight;\n if (top < listEl.scrollTop) {\n listEl.scrollTop = top;\n } else if (bottom > listEl.scrollTop + listEl.clientHeight) {\n listEl.scrollTop = bottom - listEl.clientHeight;\n }\n });\n }\n\n protected get hasSearch(): boolean {\n return Boolean(this.searchCountryFlag && this.searchCountryField);\n }\n\n protected get toggleAriaLabel(): string {\n if (this.selectedCountry?.name) {\n return `${this.selectedCountry.name} (+${this.selectedCountry.dialCode})`;\n }\n return 'Select country';\n }\n\n ngOnInit() {\n this.init();\n }\n\n ngOnChanges(changes: SimpleChanges) {\n const selectedISO = changes['selectedCountryISO'];\n if (\n this.allCountries &&\n selectedISO &&\n selectedISO.currentValue !== selectedISO.previousValue\n ) {\n this.updateSelectedCountry();\n }\n if (changes['preferredCountries']) {\n this.updatePreferredCountries();\n }\n this.checkSeparateDialCodeStyle();\n }\n\n /*\n This is a wrapper method to avoid calling this.ngOnInit() in writeValue().\n Ref: http://codelyzer.com/rules/no-life-cycle-call/\n */\n init() {\n this.fetchCountryData();\n\n if (this.excludeCountries.length) {\n this.allCountries = this.allCountries.filter(\n (c) => !this.excludeCountries.includes(c.iso2 as CountryISO)\n );\n }\n\n if (this.preferredCountries.length) {\n this.updatePreferredCountries();\n }\n if (this.onlyCountries.length) {\n this.allCountries = this.allCountries.filter((c) =>\n this.onlyCountries.includes(c.iso2)\n );\n }\n if (this.selectFirstCountry) {\n if (this.preferredCountriesInDropDown.length) {\n this.setSelectedCountry(this.preferredCountriesInDropDown[0]);\n } else {\n this.setSelectedCountry(this.allCountries[0]);\n }\n }\n\n this.updateSelectedCountry();\n this.checkSeparateDialCodeStyle();\n }\n\n setSelectedCountry(country: Country) {\n this.selectedCountry = country;\n this.countryChange.emit(country);\n }\n\n /** Single entry point for the open state: Aria's `expanded`, the search-mode toggle and Esc all land here. */\n protected setOpen(open: boolean): void {\n if (open === this.isOpen() || (open && this.disabled)) {\n return;\n }\n if (open) {\n this.countryOptions = [\n ...this.preferredCountriesInDropDown.map((country) => ({\n id: `${country.htmlId}-preferred`,\n country,\n preferred: true,\n })),\n ...this.allCountries.map((country) => ({\n id: country.htmlId,\n country,\n preferred: false,\n })),\n ];\n // The first matching row wins, so a preferred selected country is active on open, as before.\n const selected = this.countryOptions.find(\n (o) => o.country.iso2 === this.selectedCountry?.iso2\n );\n this.selectedOptionIds = this.openedWithIds = selected ? [selected.id] : [];\n } else {\n this.countrySearchText = '';\n }\n this.isOpen.set(open);\n }\n\n /** Search mode only: the toggle is a plain button that opens the dialog holding the search combobox. */\n protected onToggleKeydown(event: KeyboardEvent): void {\n if (['Enter', ' ', 'ArrowDown'].includes(event.key)) {\n event.preventDefault();\n this.setOpen(true);\n }\n }\n\n protected closeDropdown(returnFocus: boolean): void {\n this.setOpen(false);\n if (returnFocus) {\n this.toggleEl()?.nativeElement.focus();\n }\n }\n\n /** Search mode only: Aria keeps an always-expanded combobox open, so focus leaving the picker closes it. */\n protected onFlagContainerFocusOut(event: FocusEvent): void {\n const next = event.relatedTarget as Node | null;\n if (this.hasSearch && !this.flagContainerEl().nativeElement.contains(next)) {\n this.setOpen(false);\n }\n }\n\n /**\n * Runs after the listbox handled a click, Enter or Space. An untouched value means nothing was\n * activated (Space went to type-ahead, or the click missed the options). An empty value means the\n * selected row was activated again, which keeps that country.\n */\n protected commitSelection(): void {\n if (this.selectedOptionIds === this.openedWithIds) {\n return;\n }\n const id = this.selectedOptionIds[0] ?? this.openedWithIds[0];\n const option = this.countryOptions.find((o) => o.id === id);\n this.setOpen(false);\n if (option) {\n this.onCountrySelect(option.country, this.focusableEl().nativeElement);\n }\n }\n\n protected onSearchChange(text: string): void {\n this.countrySearchText = text;\n this.searchCountry();\n }\n\n /**\n * Search country based on country name, iso2, dialCode or all of them.\n */\n public searchCountry() {\n const listbox = this.listbox();\n if (!this.countrySearchText) {\n listbox?.gotoFirst();\n return;\n }\n const countrySearchTextLower = this.countrySearchText.toLowerCase();\n const searchAll = this.searchCountryField.includes(SearchCountryField.All);\n const searchIn = (field: SearchCountryField) =>\n searchAll || this.searchCountryField.includes(field);\n const index = this.countryOptions.findIndex(\n ({ country: c, preferred }) =>\n !preferred &&\n ((searchIn(SearchCountryField.Iso2) &&\n c.iso2.toLowerCase().startsWith(countrySearchTextLower)) ||\n (searchIn(SearchCountryField.Name) &&\n c.name.toLowerCase().startsWith(countrySearchTextLower)) ||\n (searchIn(SearchCountryField.DialCode) &&\n c.dialCode.startsWith(this.countrySearchText)))\n );\n if (index > -1) {\n listbox?.gotoIndex(index);\n }\n }\n\n public onPhoneNumberChange(): void {\n let countryCode: string | undefined;\n // Handle the case where the user sets the value programatically based on a persisted ChangeData obj.\n if (this.phoneNumber && typeof this.phoneNumber === 'object') {\n const numberObj: ChangeData = this.phoneNumber;\n this.phoneNumber = numberObj.number;\n countryCode = numberObj.countryCode;\n }\n\n this.value = this.phoneNumber;\n countryCode = countryCode || this.selectedCountry.iso2;\n // @ts-ignore\n const number = this.getParsedNumber(this.phoneNumber, countryCode);\n\n // auto select country based on the extension (and areaCode if needed) (e.g select Canada if number starts with +1 416)\n if (this.enableAutoCountrySelect) {\n countryCode =\n number && number.getCountryCode()\n ? // @ts-ignore\n this.getCountryIsoCode(number.getCountryCode(), number)\n : this.selectedCountry.iso2;\n if (countryCode && countryCode !== this.selectedCountry.iso2) {\n const newCountry = this.allCountries\n .slice()\n .sort((a, b) => {\n return a.priority - b.priority;\n })\n .find((c) => c.iso2 === countryCode);\n if (newCountry) {\n this.selectedCountry = newCountry;\n }\n }\n }\n countryCode = countryCode ? countryCode : this.selectedCountry.iso2;\n\n this.checkSeparateDialCodeStyle();\n\n if (!this.value) {\n // Reason: avoid https://stackoverflow.com/a/54358133/1617590\n // tslint:disable-next-line: no-null-keyword\n // @ts-ignore\n this.propagateChange(null);\n } else {\n const intlNo = number\n ? this.phoneUtil.format(number, lpn.PhoneNumberFormat.INTERNATIONAL)\n : '';\n\n // parse phoneNumber if separate dial code is needed\n if (this.separateDialCode && intlNo) {\n this.value = this.removeDialCode(intlNo);\n }\n\n this.propagateChange({\n number: this.value,\n internationalNumber: intlNo,\n nationalNumber: number\n ? this.phoneUtil.format(number, lpn.PhoneNumberFormat.NATIONAL)\n : '',\n e164Number: number\n ? this.phoneUtil.format(number, lpn.PhoneNumberFormat.E164)\n : '',\n countryCode: countryCode.toUpperCase(),\n dialCode: '+' + this.selectedCountry.dialCode,\n });\n }\n }\n\n public onCountrySelect(country: Country, el: { focus: () => void }): void {\n this.setSelectedCountry(country);\n\n this.checkSeparateDialCodeStyle();\n\n if (this.phoneNumber && this.phoneNumber.length > 0) {\n this.value = this.phoneNumber;\n const number = this.getParsedNumber(\n this.phoneNumber,\n this.selectedCountry.iso2\n );\n const intlNo = number\n ? this.phoneUtil.format(number, lpn.PhoneNumberFormat.INTERNATIONAL)\n : '';\n // parse phoneNumber if separate dial code is needed\n if (this.separateDialCode && intlNo) {\n this.value = this.removeDialCode(intlNo);\n }\n\n this.propagateChange({\n number: this.value,\n internationalNumber: intlNo,\n nationalNumber: number\n ? this.phoneUtil.format(number, lpn.PhoneNumberFormat.NATIONAL)\n : '',\n e164Number: number\n ? this.phoneUtil.format(number, lpn.PhoneNumberFormat.E164)\n : '',\n countryCode: this.selectedCountry.iso2.toUpperCase(),\n dialCode: '+' + this.selectedCountry.dialCode,\n });\n } else {\n // Reason: avoid https://stackoverflow.com/a/54358133/1617590\n // tslint:disable-next-line: no-null-keyword\n // @ts-ignore\n this.propagateChange(null);\n }\n\n el.focus();\n }\n\n public onInputKeyPress(event: KeyboardEvent): void {\n const allowedChars = /[0-9\\+\\-\\(\\)\\ ]/;\n const allowedCtrlChars = /[axcv]/; // Allows copy-pasting\n const allowedOtherKeys = [\n 'ArrowLeft',\n 'ArrowUp',\n 'ArrowRight',\n 'ArrowDown',\n 'Home',\n 'End',\n 'Insert',\n 'Delete',\n 'Backspace',\n ];\n\n if (\n !allowedChars.test(event.key) &&\n !(event.ctrlKey && allowedCtrlChars.test(event.key)) &&\n !allowedOtherKeys.includes(event.key)\n ) {\n event.preventDefault();\n }\n }\n\n registerOnChange(fn: any): void {\n this.propagateChange = fn;\n }\n\n registerOnTouched(fn: any) {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled;\n if (isDisabled) {\n this.setOpen(false);\n }\n }\n\n writeValue(obj: any): void {\n if (obj === undefined) {\n this.init();\n }\n this.phoneNumber = obj;\n setTimeout(() => {\n this.onPhoneNumberChange();\n }, 1);\n }\n\n resolvePlaceholder(): string {\n let placeholder = '';\n if (this.customPlaceholder) {\n placeholder = this.customPlaceholder;\n } else if (this.selectedCountry.placeHolder) {\n placeholder = this.selectedCountry.placeHolder;\n // Already formatted; re-parsing would regroup the hand-written UA example.\n placeholder = this.stripDialCode(placeholder);\n }\n return placeholder;\n }\n\n /* --------------------------------- Helpers -------------------------------- */\n /**\n * Returns parse PhoneNumber object.\n * @param phoneNumber string\n * @param countryCode string\n */\n private getParsedNumber(\n phoneNumber: string,\n countryCode: string\n ): lpn.PhoneNumber {\n let number: lpn.PhoneNumber;\n try {\n number = this.phoneUtil.parse(phoneNumber, countryCode.toUpperCase());\n } catch (e) {}\n // @ts-ignore\n return number;\n }\n\n /**\n * Adjusts input alignment based on the dial code presentation style.\n */\n private checkSeparateDialCodeStyle() {\n if (this.separateDialCode && this.selectedCountry) {\n const cntryCd = this.selectedCountry.dialCode;\n this.separateDialCodeClass =\n 'separate-dial-code iti-sdc-' + (cntryCd.length + 1);\n } else {\n this.separateDialCodeClass = '';\n }\n }\n\n /**\n * Cleans dialcode from phone number string.\n * @param phoneNumber string\n */\n private removeDialCode(phoneNumber: string): string {\n const number = this.getParsedNumber(phoneNumber, this.selectedCountry.iso2);\n return this.stripDialCode(\n this.phoneUtil.format(number, lpn.PhoneNumberFormat[this.numberFormat])\n );\n }\n\n /**\n * Drops the leading \"+<dial code> \" from an already formatted number.\n * @param phoneNumber string\n */\n private stripDialCode(phoneNumber: string): string {\n if (phoneNumber.startsWith('+') && this.separateDialCode) {\n return phoneNumber.substring(phoneNumber.indexOf(' ') + 1);\n }\n return phoneNumber;\n }\n\n /**\n * Sifts through all countries and returns iso code of the primary country\n * based on the number provided.\n * @param countryCode country code in number format\n * @param number PhoneNumber object\n */\n private getCountryIsoCode(\n countryCode: number,\n number: lpn.PhoneNumber\n ): string | undefined {\n // Will use this to match area code from the first numbers\n // @ts-ignore\n const rawNumber = number['values_']['2'].toString();\n // List of all countries with countryCode (can be more than one. e.x. US, CA, DO, PR all have +1 countryCode)\n const countries = this.allCountries.filter(\n (c) => c.dialCode === countryCode.toString()\n );\n // Main country is the country, which has no areaCodes specified in country-code.ts file.\n const mainCountry = countries.find((c) => c.areaCodes === undefined);\n // Secondary countries are all countries, which have areaCodes specified in country-code.ts file.\n const secondaryCountries = countries.filter((c) => c.areaCodes !== undefined);\n let matchedCountry = mainCountry ? mainCountry.iso2 : undefined;\n\n /*\n Iterate over each secondary country and check if nationalNumber starts with any of areaCodes available.\n If no matches found, fallback to the main country.\n */\n secondaryCountries.forEach((country) => {\n // @ts-ignore\n country.areaCodes.forEach((areaCode) => {\n if (rawNumber.startsWith(areaCode)) {\n matchedCountry = country.iso2;\n }\n });\n });\n\n return matchedCountry;\n }\n\n /**\n * Gets formatted example phone number from phoneUtil.\n * @param countryCode string\n */\n protected getPhoneNumberPlaceHolder(countryCode: string): string {\n try {\n return this.phoneUtil.format(\n this.phoneUtil.getExampleNumber(countryCode),\n lpn.PhoneNumberFormat[this.numberFormat]\n );\n } catch (e) {\n // @ts-ignore\n return e;\n }\n }\n\n /**\n * Clearing the list to avoid duplicates (https://github.com/webcat12345/ngx-intl-tel-input/issues/248)\n */\n protected fetchCountryData(): void {\n this.allCountries = [];\n\n this.countryCodeData.allCountries.forEach((c) => {\n const country: Country = {\n name: c[0].toString(),\n iso2: c[1] as CountryISO,\n dialCode: c[2].toString(),\n priority: +c[3] || 0,\n areaCodes: (c[4] as string[]) || undefined,\n htmlId: `iti-0__item-${c[1].toString()}`,\n flagClass: `iti__${c[1].toString().toLocaleLowerCase()}`,\n placeHolder: '',\n };\n\n if (this.enablePlaceholder) {\n country.placeHolder = this.getPhoneNumberPlaceHolder(\n country.iso2.toUpperCase()\n );\n\n if (country.iso2 === 'ua') {\n country.placeHolder = '+380 31 123 4567';\n }\n }\n\n this.allCountries.push(country);\n });\n }\n\n /**\n * Populates preferredCountriesInDropDown with prefferred countries.\n */\n private updatePreferredCountries() {\n if (this.preferredCountries.length) {\n this.preferredCountriesInDropDown = this.allCountries.filter((c) => {\n return (\n this.preferredCountries.includes(c.iso2) &&\n !this.excludeCountries.includes(c.iso2 as CountryISO)\n );\n });\n }\n }\n\n /**\n * Updates selectedCountry.\n */\n private updateSelectedCountry() {\n if (\n this.selectedCountryISO &&\n !this.excludeCountries.includes(this.selectedCountryISO)\n ) {\n // @ts-ignore\n this.selectedCountry = this.allCountries.find((c) => {\n return c.iso2.toLowerCase() === this.selectedCountryISO.toLowerCase();\n });\n if (this.selectedCountry) {\n if (this.phoneNumber) {\n this.onPhoneNumberChange();\n } else {\n // Reason: avoid https://stackoverflow.com/a/54358133/1617590\n // tslint:disable-next-line: no-null-keyword\n // @ts-ignore\n this.propagateChange(null);\n }\n }\n }\n }\n}\n","<div class=\"iti iti--allow-dropdown\" [ngClass]=\"separateDialCodeClass\">\n <div\n #flagContainer\n class=\"iti__flag-container\"\n [class.disabled]=\"disabled\"\n [class.open]=\"isOpen()\"\n (focusout)=\"onFlagContainerFocusOut($event)\"\n >\n @if (hasSearch) {\n <!-- Search mode: a button opens a dialog whose search box is the only combobox. -->\n <div\n #toggleEl\n class=\"iti__selected-flag dropdown-toggle\"\n role=\"button\"\n aria-haspopup=\"dialog\"\n [attr.tabindex]=\"disabled ? -1 : 0\"\n [attr.aria-expanded]=\"isOpen()\"\n [attr.aria-controls]=\"isOpen() ? dropdownId : null\"\n [attr.aria-disabled]=\"disabled || null\"\n [attr.aria-label]=\"toggleAriaLabel\"\n (click)=\"setOpen(!isOpen())\"\n (keydown)=\"onToggleKeydown($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"selectedFlag\" />\n </div>\n @if (isOpen()) {\n <div\n class=\"dropdown-menu iti__dropdown-content\"\n role=\"dialog\"\n tabindex=\"-1\"\n [id]=\"dropdownId\"\n [attr.aria-label]=\"searchCountryPlaceholder\"\n (keydown.escape)=\"closeDropdown(true)\"\n >\n <div class=\"search-container\">\n <input\n #searchInput\n #searchCombobox=\"ngCombobox\"\n id=\"country-search-box\"\n ngCombobox\n alwaysExpanded\n [value]=\"countrySearchText\"\n (valueChange)=\"onSearchChange($event)\"\n (keydown.escape)=\"closeDropdown(true)\"\n [placeholder]=\"searchCountryPlaceholder\"\n [attr.aria-label]=\"searchCountryPlaceholder\"\n />\n </div>\n <ng-container\n [ngTemplateOutlet]=\"countryPopup\"\n [ngTemplateOutletContext]=\"{ $implicit: searchCombobox }\"\n />\n </div>\n }\n } @else {\n <!-- Select-only mode: the toggle is the combobox. -->\n <div\n #toggleEl\n #toggleCombobox=\"ngCombobox\"\n class=\"iti__selected-flag dropdown-toggle\"\n ngCombobox\n [disabled]=\"disabled\"\n [softDisabled]=\"false\"\n [expanded]=\"isOpen()\"\n (expandedChange)=\"setOpen($event)\"\n [attr.aria-label]=\"toggleAriaLabel\"\n >\n <ng-container [ngTemplateOutlet]=\"selectedFlag\" />\n </div>\n <ng-container\n [ngTemplateOutlet]=\"countryPopup\"\n [ngTemplateOutletContext]=\"{ $implicit: toggleCombobox, menu: true }\"\n />\n }\n </div>\n <input\n type=\"tel\"\n [id]=\"inputId\"\n autocomplete=\"off\"\n class=\"iti__tel-input\"\n [ngClass]=\"cssClass\"\n (blur)=\"onTouched()\"\n (keypress)=\"onInputKeyPress($event)\"\n [(ngModel)]=\"phoneNumber\"\n [ngModelOptions]=\"{ standalone: true }\"\n (ngModelChange)=\"onPhoneNumberChange()\"\n [disabled]=\"disabled\"\n [placeholder]=\"resolvePlaceholder()\"\n [attr.maxLength]=\"maxLength\"\n [attr.validation]=\"phoneValidation\"\n #focusable\n />\n</div>\n\n<ng-template #selectedFlag>\n <div class=\"iti__flag\" [ngClass]=\"selectedCountry.flagClass || ''\"></div>\n @if (separateDialCode) {\n <div class=\"selected-dial-code\">+{{ selectedCountry.dialCode }}</div>\n }\n <div class=\"iti__arrow\"></div>\n</ng-template>\n\n<!--\n Aria renders the popup only while its combobox is expanded. Select-only mode wraps the list in the\n dropdown menu here; in search mode the list already sits in the dropdown menu next to the search box.\n-->\n<ng-template #countryPopup let-combobox let-menu=\"menu\">\n <ng-template ngComboboxPopup [combobox]=\"combobox\">\n <ng-template #list>\n <ul\n #countryList\n #listbox=\"ngListbox\"\n class=\"iti__country-list\"\n ngListbox\n ngComboboxWidget\n tabindex=\"-1\"\n focusMode=\"activedescendant\"\n selectionMode=\"explicit\"\n [id]=\"listboxId\"\n [(value)]=\"selectedOptionIds\"\n [activeDescendant]=\"listbox.activeDescendant()\"\n (click)=\"commitSelection()\"\n (keydown.enter)=\"commitSelection()\"\n (keydown.space)=\"commitSelection()\"\n >\n @for (option of countryOptions; track option.id; let i = $index) {\n @if (!option.preferred && i > 0 && countryOptions[i - 1].preferred) {\n <li class=\"iti__divider\" role=\"separator\" aria-hidden=\"true\"></li>\n }\n <li\n class=\"iti__country\"\n [class.iti__preferred]=\"option.preferred\"\n [class.iti__standard]=\"!option.preferred\"\n ngOption\n [value]=\"option.id\"\n [label]=\"option.country.name\"\n [id]=\"option.id\"\n >\n <div class=\"iti__flag-box\">\n <div class=\"iti__flag\" [ngClass]=\"option.country.flagClass\"></div>\n </div>\n <span class=\"iti__country-name\">{{ option.country.name }}</span>\n <span class=\"iti__dial-code\">+{{ option.country.dialCode }}</span>\n </li>\n }\n </ul>\n </ng-template>\n @if (menu) {\n <div class=\"dropdown-menu iti__dropdown-content\" (keydown.escape)=\"closeDropdown(true)\">\n <ng-container [ngTemplateOutlet]=\"list\" />\n </div>\n } @else {\n <ng-container [ngTemplateOutlet]=\"list\" />\n }\n </ng-template>\n</ng-template>\n","import { Directive, ElementRef, inject, OnInit } from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\n/*\n\"Property 'nativeElement' does not exist on type 'FormControl'\".\n'NativeElementInjectorDirective' injects nativeElement to each control,\nso we can access it from inside validator for example.\nMore about this approach and reasons for this:\nhttps://github.com/angular/angular/issues/18025\nhttps://stackoverflow.com/a/54075119/1617590\n*/\n@Directive({\n // tslint:disable-next-line: directive-selector\n selector: '[ngModel], [formControl], [formControlName]',\n})\nexport class NativeElementInjectorDirective implements OnInit {\n private readonly controlDir = inject(NgControl);\n private readonly host = inject<ElementRef<HTMLFormElement>>(ElementRef);\n\n ngOnInit() {\n if (this.controlDir.control) {\n // @ts-ignore\n this.controlDir.control['nativeElement'] = this.host.nativeElement;\n }\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { NativeElementInjectorDirective } from './directives/native-element-injector.directive';\nimport { NgxIntlTelInputComponent } from './ngx-intl-tel-input.component';\n\n@NgModule({\n imports: [NgxIntlTelInputComponent, NativeElementInjectorDirective],\n exports: [NgxIntlTelInputComponent, NativeElementInjectorDirective],\n})\nexport class NgxIntlTelInputModule {}\n"],"mappings":";;;;;;;;AAAA,IAAY;CAAZ,SAAY,YAAU;CACpB,WAAA,iBAAA;CACA,WAAA,aAAA;CACA,WAAA,aAAA;CACA,WAAA,mBAAA;CACA,WAAA,aAAA;CACA,WAAA,YAAA;CACA,WAAA,cAAA;CACA,WAAA,uBAAA;CACA,WAAA,eAAA;CACA,WAAA,aAAA;CACA,W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GAA8B,cAAA;GAAA,UAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAA9B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA8B,YAAA,CAAA;EAJ1C,MAAA;EAAU,MAAA,CAAA,EAET,UAAU,8CACX,CAAA;;;ACLD,IAAa,wBAAb,MAAa,sBAAqB;CAArB;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAqB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAArB;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAqB,SAAA,CAHtB,0BAA0B,8BAA8B;GAAA,SAAA,CACxD,0BAA0B,8BAA8B;EAAA,CAAA;CAAA;CAEvD;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAqB,SAAA,CAHtB,wBAAwB;EAAA,CAAA;CAAA;;AAGvB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAqB,YAAA,CAAA;EAJjC,MAAA;EAAS,MAAA,CAAA;GACR,SAAS,CAAC,0BAA0B,8BAA8B;GAClE,SAAS,CAAC,0BAA0B,8BAA8B;EACnE,CAAA"}
|
|
1
|
+
{"version":3,"file":"moddi3-ngx-intl-tel-input.mjs","names":[],"sources":["../../../projects/ngx-intl-tel-input/src/lib/enums/country-iso.enum.ts","../../../projects/ngx-intl-tel-input/src/lib/data/country-code.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/ngx-intl-tel-input.validator.ts","../../../projects/ngx-intl-tel-input/src/lib/ngx-intl-tel-input.component.ts","../../../projects/ngx-intl-tel-input/src/lib/ngx-intl-tel-input.component.html","../../../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"],"sourcesContent":["export enum CountryISO {\n Afghanistan = 'af',\n Albania = 'al',\n Algeria = 'dz',\n AmericanSamoa = 'as',\n Andorra = 'ad',\n Angola = 'ao',\n Anguilla = 'ai',\n AntiguaAndBarbuda = 'ag',\n Argentina = 'ar',\n Armenia = 'am',\n Aruba = 'aw',\n Australia = 'au',\n Austria = 'at',\n Azerbaijan = 'az',\n Bahamas = 'bs',\n Bahrain = 'bh',\n Bangladesh = 'bd',\n Barbados = 'bb',\n Belarus = 'by',\n Belgium = 'be',\n Belize = 'bz',\n Benin = 'bj',\n Bermuda = 'bm',\n Bhutan = 'bt',\n Bolivia = 'bo',\n BosniaAndHerzegovina = 'ba',\n Botswana = 'bw',\n Brazil = 'br',\n BritishIndianOceanTerritory = 'io',\n BritishVirginIslands = 'vg',\n Brunei = 'bn',\n Bulgaria = 'bg',\n BurkinaFaso = 'bf',\n Burundi = 'bi',\n Cambodia = 'kh',\n Cameroon = 'cm',\n Canada = 'ca',\n CapeVerde = 'cv',\n CaribbeanNetherlands = 'bq',\n CaymanIslands = 'ky',\n CentralAfricanRepublic = 'cf',\n Chad = 'td',\n Chile = 'cl',\n China = 'cn',\n ChristmasIsland = 'cx',\n Cocos = 'cc',\n Colombia = 'co',\n Comoros = 'km',\n CongoDRCJamhuriYaKidemokrasiaYaKongo = 'cd',\n CongoRepublicCongoBrazzaville = 'cg',\n CookIslands = 'ck',\n CostaRica = 'cr',\n CôteDIvoire = 'ci',\n Croatia = 'hr',\n Cuba = 'cu',\n Curaçao = 'cw',\n Cyprus = 'cy',\n CzechRepublic = 'cz',\n Denmark = 'dk',\n Djibouti = 'dj',\n Dominica = 'dm',\n DominicanRepublic = 'do',\n Ecuador = 'ec',\n Egypt = 'eg',\n ElSalvador = 'sv',\n EquatorialGuinea = 'gq',\n Eritrea = 'er',\n Estonia = 'ee',\n Ethiopia = 'et',\n FalklandIslands = 'fk',\n FaroeIslands = 'fo',\n Fiji = 'fj',\n Finland = 'fi',\n France = 'fr',\n FrenchGuiana = 'gf',\n FrenchPolynesia = 'pf',\n Gabon = 'ga',\n Gambia = 'gm',\n Georgia = 'ge',\n Germany = 'de',\n Ghana = 'gh',\n Gibraltar = 'gi',\n Greece = 'gr',\n Greenland = 'gl',\n Grenada = 'gd',\n Guadeloupe = 'gp',\n Guam = 'gu',\n Guatemala = 'gt',\n Guernsey = 'gg',\n Guinea = 'gn',\n GuineaBissau = 'gw',\n Guyana = 'gy',\n Haiti = 'ht',\n Honduras = 'hn',\n HongKong = 'hk',\n Hungary = 'hu',\n Iceland = 'is',\n India = 'in',\n Indonesia = 'id',\n Iran = 'ir',\n Iraq = 'iq',\n Ireland = 'ie',\n IsleOfMan = 'im',\n Israel = 'il',\n Italy = 'it',\n Jamaica = 'jm',\n Japan = 'jp',\n Jersey = 'je',\n Jordan = 'jo',\n Kazakhstan = 'kz',\n Kenya = 'ke',\n Kiribati = 'ki',\n Kosovo = 'xk',\n Kuwait = 'kw',\n Kyrgyzstan = 'kg',\n Laos = 'la',\n Latvia = 'lv',\n Lebanon = 'lb',\n Lesotho = 'ls',\n Liberia = 'lr',\n Libya = 'ly',\n Liechtenstein = 'li',\n Lithuania = 'lt',\n Luxembourg = 'lu',\n Macau = 'mo',\n Macedonia = 'mk',\n Madagascar = 'mg',\n Malawi = 'mw',\n Malaysia = 'my',\n Maldives = 'mv',\n Mali = 'ml',\n Malta = 'mt',\n MarshallIslands = 'mh',\n Martinique = 'mq',\n Mauritania = 'mr',\n Mauritius = 'mu',\n Mayotte = 'yt',\n Mexico = 'mx',\n Micronesia = 'fm',\n Moldova = 'md',\n Monaco = 'mc',\n Mongolia = 'mn',\n Montenegro = 'me',\n Montserrat = 'ms',\n Morocco = 'ma',\n Mozambique = 'mz',\n Myanmar = 'mm',\n Namibia = 'na',\n Nauru = 'nr',\n Nepal = 'np',\n Netherlands = 'nl',\n NewCaledonia = 'nc',\n NewZealand = 'nz',\n Nicaragua = 'ni',\n Niger = 'ne',\n Nigeria = 'ng',\n Niue = 'nu',\n NorfolkIsland = 'nf',\n NorthKorea = 'kp',\n NorthernMarianaIslands = 'mp',\n Norway = 'no',\n Oman = 'om',\n Pakistan = 'pk',\n Palau = 'pw',\n Palestine = 'ps',\n Panama = 'pa',\n PapuaNewGuinea = 'pg',\n Paraguay = 'py',\n Peru = 'pe',\n Philippines = 'ph',\n Poland = 'pl',\n Portugal = 'pt',\n PuertoRico = 'pr',\n Qatar = 'qa',\n Réunion = 're',\n Romania = 'ro',\n Russia = 'ru',\n Rwanda = 'rw',\n SaintBarthélemy = 'bl',\n SaintHelena = 'sh',\n SaintKittsAndNevis = 'kn',\n SaintLucia = 'lc',\n SaintMartin = 'mf',\n SaintPierreAndMiquelon = 'pm',\n SaintVincentAndTheGrenadines = 'vc',\n Samoa = 'ws',\n SanMarino = 'sm',\n SãoToméAndPríncipe = 'st',\n SaudiArabia = 'sa',\n Senegal = 'sn',\n Serbia = 'rs',\n Seychelles = 'sc',\n SierraLeone = 'sl',\n Singapore = 'sg',\n SintMaarten = 'sx',\n Slovakia = 'sk',\n Slovenia = 'si',\n SolomonIslands = 'sb',\n Somalia = 'so',\n SouthAfrica = 'za',\n SouthKorea = 'kr',\n SouthSudan = 'ss',\n Spain = 'es',\n SriLanka = 'lk',\n Sudan = 'sd',\n Suriname = 'sr',\n SvalbardAndJanMayen = 'sj',\n Swaziland = 'sz',\n Sweden = 'se',\n Switzerland = 'ch',\n Syria = 'sy',\n Taiwan = 'tw',\n Tajikistan = 'tj',\n Tanzania = 'tz',\n Thailand = 'th',\n TimorLeste = 'tl',\n Togo = 'tg',\n Tokelau = 'tk',\n Tonga = 'to',\n TrinidadAndTobago = 'tt',\n Tunisia = 'tn',\n Turkey = 'tr',\n Turkmenistan = 'tm',\n TurksAndCaicosIslands = 'tc',\n Tuvalu = 'tv',\n USVirginIslands = 'vi',\n Uganda = 'ug',\n Ukraine = 'ua',\n UnitedArabEmirates = 'ae',\n UnitedKingdom = 'gb',\n UnitedStates = 'us',\n Uruguay = 'uy',\n Uzbekistan = 'uz',\n Vanuatu = 'vu',\n VaticanCity = 'va',\n Venezuela = 've',\n Vietnam = 'vn',\n WallisAndFutuna = 'wf',\n WesternSahara = 'eh',\n Yemen = 'ye',\n Zambia = 'zm',\n Zimbabwe = 'zw',\n ÅlandIslands = 'ax',\n}\n","import { Injectable } from '@angular/core';\nimport { CountryISO } from '../enums/country-iso.enum';\n\n@Injectable()\nexport class CountryCode {\n public allCountries = [\n ['Afghanistan (افغانستان)', CountryISO.Afghanistan, '93'],\n ['Albania (Shqipëri)', CountryISO.Albania, '355'],\n ['Algeria (الجزائر)', CountryISO.Algeria, '213'],\n ['American Samoa', 'as', '1', 1, ['684']],\n ['Andorra', CountryISO.Andorra, '376'],\n ['Angola', CountryISO.Angola, '244'],\n ['Anguilla', 'ai', '1', 1, ['264']],\n ['Antigua and Barbuda', 'ag', '1', 1, ['268']],\n ['Argentina', CountryISO.Argentina, '54'],\n ['Armenia (Հայաստան)', CountryISO.Armenia, '374'],\n ['Aruba', CountryISO.Aruba, '297'],\n ['Australia', CountryISO.Australia, '61', 0],\n ['Austria (Österreich)', CountryISO.Austria, '43'],\n ['Azerbaijan (Azərbaycan)', CountryISO.Azerbaijan, '994'],\n ['Bahamas', 'bs', '1', 1, ['242']],\n ['Bahrain (البحرين)', CountryISO.Bahrain, '973'],\n ['Bangladesh (বাংলাদেশ)', CountryISO.Bangladesh, '880'],\n ['Barbados', 'bb', '1', 1, ['246']],\n ['Belarus (Беларусь)', CountryISO.Belarus, '375'],\n ['Belgium (België)', CountryISO.Belgium, '32'],\n ['Belize', CountryISO.Belize, '501'],\n ['Benin (Bénin)', CountryISO.Benin, '229'],\n ['Bermuda', 'bm', '1', 1, ['441']],\n ['Bhutan (འབྲུག)', CountryISO.Bhutan, '975'],\n ['Bolivia', CountryISO.Bolivia, '591'],\n ['Bosnia and Herzegovina (Босна и Херцеговина)', CountryISO.BosniaAndHerzegovina, '387'],\n ['Botswana', CountryISO.Botswana, '267'],\n ['Brazil (Brasil)', CountryISO.Brazil, '55'],\n ['British Indian Ocean Territory', CountryISO.BritishIndianOceanTerritory, '246'],\n ['British Virgin Islands', 'vg', '1', 1, ['284']],\n ['Brunei', CountryISO.Brunei, '673'],\n ['Bulgaria (България)', CountryISO.Bulgaria, '359'],\n ['Burkina Faso', CountryISO.BurkinaFaso, '226'],\n ['Burundi (Uburundi)', CountryISO.Burundi, '257'],\n ['Cambodia (កម្ពុជា)', CountryISO.Cambodia, '855'],\n ['Cameroon (Cameroun)', CountryISO.Cameroon, '237'],\n [\n 'Canada',\n CountryISO.Canada,\n '1',\n 1,\n [\n '204',\n '226',\n '236',\n '249',\n '250',\n '289',\n '306',\n '343',\n '365',\n '387',\n '403',\n '416',\n '418',\n '431',\n '437',\n '438',\n '450',\n '506',\n '514',\n '519',\n '548',\n '579',\n '581',\n '587',\n '604',\n '613',\n '639',\n '647',\n '672',\n '705',\n '709',\n '742',\n '778',\n '780',\n '782',\n '807',\n '819',\n '825',\n '867',\n '873',\n '902',\n '905',\n ],\n ],\n ['Cape Verde (Kabu Verdi)', CountryISO.CapeVerde, '238'],\n ['Caribbean Netherlands', CountryISO.CaribbeanNetherlands, '599', 1],\n ['Cayman Islands', 'ky', '1', 1, ['345']],\n [\n 'Central African Republic (République centrafricaine)',\n CountryISO.CentralAfricanRepublic,\n '236',\n ],\n ['Chad (Tchad)', CountryISO.Chad, '235'],\n ['Chile', CountryISO.Chile, '56'],\n ['China (中国)', CountryISO.China, '86'],\n ['Christmas Island', CountryISO.ChristmasIsland, '61', 2],\n ['Cocos (Keeling) Islands', CountryISO.Cocos, '61', 1],\n ['Colombia', CountryISO.Colombia, '57'],\n ['Comoros (جزر القمر)', CountryISO.Comoros, '269'],\n [\n 'Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)',\n CountryISO.CongoDRCJamhuriYaKidemokrasiaYaKongo,\n '243',\n ],\n ['Congo (Republic) (Congo-Brazzaville)', CountryISO.CongoRepublicCongoBrazzaville, '242'],\n ['Cook Islands', CountryISO.CookIslands, '682'],\n ['Costa Rica', CountryISO.CostaRica, '506'],\n ['Côte d’Ivoire', CountryISO.CôteDIvoire, '225'],\n ['Croatia (Hrvatska)', CountryISO.Croatia, '385'],\n ['Cuba', CountryISO.Cuba, '53'],\n ['Curaçao', CountryISO.Curaçao, '599', 0],\n ['Cyprus (Κύπρος)', CountryISO.Cyprus, '357'],\n ['Czech Republic (Česká republika)', CountryISO.CzechRepublic, '420'],\n ['Denmark (Danmark)', CountryISO.Denmark, '45'],\n ['Djibouti', CountryISO.Djibouti, '253'],\n ['Dominica', CountryISO.Dominica, '1767'],\n [\n 'Dominican Republic (República Dominicana)',\n CountryISO.DominicanRepublic,\n '1',\n 2,\n ['809', '829', '849'],\n ],\n ['Ecuador', CountryISO.Ecuador, '593'],\n ['Egypt (مصر)', CountryISO.Egypt, '20'],\n ['El Salvador', CountryISO.ElSalvador, '503'],\n ['Equatorial Guinea (Guinea Ecuatorial)', CountryISO.EquatorialGuinea, '240'],\n ['Eritrea', CountryISO.Eritrea, '291'],\n ['Estonia (Eesti)', CountryISO.Estonia, '372'],\n ['Ethiopia', CountryISO.Ethiopia, '251'],\n ['Falkland Islands (Islas Malvinas)', CountryISO.FalklandIslands, '500'],\n ['Faroe Islands (Føroyar)', CountryISO.FaroeIslands, '298'],\n ['Fiji', CountryISO.Fiji, '679'],\n ['Finland (Suomi)', CountryISO.Finland, '358', 0],\n ['France', CountryISO.France, '33'],\n ['French Guiana (Guyane française)', CountryISO.FrenchGuiana, '594'],\n ['French Polynesia (Polynésie française)', CountryISO.FrenchPolynesia, '689'],\n ['Gabon', CountryISO.Gabon, '241'],\n ['Gambia', CountryISO.Gambia, '220'],\n ['Georgia (საქართველო)', CountryISO.Georgia, '995'],\n ['Germany (Deutschland)', CountryISO.Germany, '49'],\n ['Ghana (Gaana)', CountryISO.Ghana, '233'],\n ['Gibraltar', CountryISO.Gibraltar, '350'],\n ['Greece (Ελλάδα)', CountryISO.Greece, '30'],\n ['Greenland (Kalaallit Nunaat)', CountryISO.Greenland, '299'],\n ['Grenada', CountryISO.Grenada, '1473'],\n ['Guadeloupe', CountryISO.Guadeloupe, '590', 0],\n ['Guam', 'gu', '1', 1, ['671']],\n ['Guatemala', CountryISO.Guatemala, '502'],\n ['Guernsey', CountryISO.Guernsey, '44', 1, [1481]],\n ['Guinea (Guinée)', CountryISO.Guinea, '224'],\n ['Guinea-Bissau (Guiné Bissau)', CountryISO.GuineaBissau, '245'],\n ['Guyana', CountryISO.Guyana, '592'],\n ['Haiti', CountryISO.Haiti, '509'],\n ['Honduras', CountryISO.Honduras, '504'],\n ['Hong Kong (香港)', CountryISO.HongKong, '852'],\n ['Hungary (Magyarország)', CountryISO.Hungary, '36'],\n ['Iceland (Ísland)', CountryISO.Iceland, '354'],\n ['India (भारत)', CountryISO.India, '91'],\n ['Indonesia', CountryISO.Indonesia, '62'],\n ['Iran (ایران)', CountryISO.Iran, '98'],\n ['Iraq (العراق)', CountryISO.Iraq, '964'],\n ['Ireland', CountryISO.Ireland, '353'],\n ['Isle of Man', CountryISO.IsleOfMan, '44', 2, [1624]],\n ['Israel (ישראל)', CountryISO.Israel, '972'],\n ['Italy (Italia)', CountryISO.Italy, '39', 0],\n ['Jamaica', 'jm', '1', 1, ['876']],\n ['Japan (日本)', CountryISO.Japan, '81'],\n ['Jersey', CountryISO.Jersey, '44', 3, [1534]],\n ['Jordan (الأردن)', CountryISO.Jordan, '962'],\n ['Kazakhstan (Казахстан)', CountryISO.Kazakhstan, '7', 1],\n ['Kenya', CountryISO.Kenya, '254'],\n ['Kiribati', CountryISO.Kiribati, '686'],\n ['Kosovo', CountryISO.Kosovo, '383'],\n ['Kuwait (الكويت)', CountryISO.Kuwait, '965'],\n ['Kyrgyzstan (Кыргызстан)', CountryISO.Kyrgyzstan, '996'],\n ['Laos (ລາວ)', CountryISO.Laos, '856'],\n ['Latvia (Latvija)', CountryISO.Latvia, '371'],\n ['Lebanon (لبنان)', CountryISO.Lebanon, '961'],\n ['Lesotho', CountryISO.Lesotho, '266'],\n ['Liberia', CountryISO.Liberia, '231'],\n ['Libya (ليبيا)', CountryISO.Libya, '218'],\n ['Liechtenstein', CountryISO.Liechtenstein, '423'],\n ['Lithuania (Lietuva)', CountryISO.Lithuania, '370'],\n ['Luxembourg', CountryISO.Luxembourg, '352'],\n ['Macau (澳門)', CountryISO.Macau, '853'],\n ['Macedonia (FYROM) (Македонија)', CountryISO.Macedonia, '389'],\n ['Madagascar (Madagasikara)', CountryISO.Madagascar, '261'],\n ['Malawi', CountryISO.Malawi, '265'],\n ['Malaysia', CountryISO.Malaysia, '60'],\n ['Maldives', CountryISO.Maldives, '960'],\n ['Mali', CountryISO.Mali, '223'],\n ['Malta', CountryISO.Malta, '356'],\n ['Marshall Islands', CountryISO.MarshallIslands, '692'],\n ['Martinique', CountryISO.Martinique, '596'],\n ['Mauritania (موريتانيا)', CountryISO.Mauritania, '222'],\n ['Mauritius (Moris)', CountryISO.Mauritius, '230'],\n ['Mayotte', CountryISO.Mayotte, '262', 1],\n ['Mexico (México)', CountryISO.Mexico, '52'],\n ['Micronesia', CountryISO.Micronesia, '691'],\n ['Moldova (Republica Moldova)', CountryISO.Moldova, '373'],\n ['Monaco', CountryISO.Monaco, '377'],\n ['Mongolia (Монгол)', CountryISO.Mongolia, '976'],\n ['Montenegro (Crna Gora)', CountryISO.Montenegro, '382'],\n ['Montserrat', 'ms', '1', 1, ['664']],\n ['Morocco (المغرب)', CountryISO.Morocco, '212', 0],\n ['Mozambique (Moçambique)', CountryISO.Mozambique, '258'],\n ['Myanmar (Burma) (မြန်မာ)', CountryISO.Myanmar, '95'],\n ['Namibia (Namibië)', CountryISO.Namibia, '264'],\n ['Nauru', CountryISO.Nauru, '674'],\n ['Nepal (नेपाल)', CountryISO.Nepal, '977'],\n ['Netherlands (Nederland)', CountryISO.Netherlands, '31'],\n ['New Caledonia (Nouvelle-Calédonie)', CountryISO.NewCaledonia, '687'],\n ['New Zealand', CountryISO.NewZealand, '64'],\n ['Nicaragua', CountryISO.Nicaragua, '505'],\n ['Niger (Nijar)', CountryISO.Niger, '227'],\n ['Nigeria', CountryISO.Nigeria, '234'],\n ['Niue', CountryISO.Niue, '683'],\n ['Norfolk Island', CountryISO.NorfolkIsland, '672'],\n ['North Korea (조선 민주주의 인민 공화국)', CountryISO.NorthKorea, '850'],\n ['Northern Mariana Islands', CountryISO.NorthernMarianaIslands, '1670'],\n ['Norway (Norge)', CountryISO.Norway, '47', 0],\n ['Oman (عُمان)', CountryISO.Oman, '968'],\n ['Pakistan (پاکستان)', CountryISO.Pakistan, '92'],\n ['Palau', CountryISO.Palau, '680'],\n ['Palestine (فلسطين)', CountryISO.Palestine, '970'],\n ['Panama (Panamá)', CountryISO.Panama, '507'],\n ['Papua New Guinea', CountryISO.PapuaNewGuinea, '675'],\n ['Paraguay', CountryISO.Paraguay, '595'],\n ['Peru (Perú)', CountryISO.Peru, '51'],\n ['Philippines', CountryISO.Philippines, '63'],\n ['Poland (Polska)', CountryISO.Poland, '48'],\n ['Portugal', CountryISO.Portugal, '351'],\n ['Puerto Rico', CountryISO.PuertoRico, '1', 3, ['787', '939']],\n ['Qatar (قطر)', CountryISO.Qatar, '974'],\n ['Réunion (La Réunion)', CountryISO.Réunion, '262', 0],\n ['Romania (România)', CountryISO.Romania, '40'],\n ['Russia (Россия)', CountryISO.Russia, '7', 0],\n ['Rwanda', CountryISO.Rwanda, '250'],\n ['Saint Barthélemy (Saint-Barthélemy)', CountryISO.SaintBarthélemy, '590', 1],\n ['Saint Helena', CountryISO.SaintHelena, '290'],\n ['Saint Kitts and Nevis', CountryISO.SaintKittsAndNevis, '1869'],\n ['Saint Lucia', 'lc', '1', 1, ['758']],\n ['Saint Martin (Saint-Martin (partie française))', CountryISO.SaintMartin, '590', 2],\n [\n 'Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)',\n CountryISO.SaintPierreAndMiquelon,\n '508',\n ],\n ['Saint Vincent and the Grenadines', 'vc', '1', 1, ['784']],\n ['Samoa', CountryISO.Samoa, '685'],\n ['San Marino', CountryISO.SanMarino, '378'],\n ['São Tomé and Príncipe (São Tomé e Príncipe)', CountryISO.SãoToméAndPríncipe, '239'],\n ['Saudi Arabia (المملكة العربية السعودية)', CountryISO.SaudiArabia, '966'],\n ['Senegal (Sénégal)', CountryISO.Senegal, '221'],\n ['Serbia (Србија)', CountryISO.Serbia, '381'],\n ['Seychelles', CountryISO.Seychelles, '248'],\n ['Sierra Leone', CountryISO.SierraLeone, '232'],\n ['Singapore', CountryISO.Singapore, '65'],\n ['Sint Maarten', 'sx', '1', 1, ['721']],\n ['Slovakia (Slovensko)', CountryISO.Slovakia, '421'],\n ['Slovenia (Slovenija)', CountryISO.Slovenia, '386'],\n ['Solomon Islands', CountryISO.SolomonIslands, '677'],\n ['Somalia (Soomaaliya)', CountryISO.Somalia, '252'],\n ['South Africa', CountryISO.SouthAfrica, '27'],\n ['South Korea (대한민국)', CountryISO.SouthKorea, '82'],\n ['South Sudan (جنوب السودان)', CountryISO.SouthSudan, '211'],\n ['Spain (España)', CountryISO.Spain, '34'],\n ['Sri Lanka (ශ්රී ලංකාව)', CountryISO.SriLanka, '94'],\n ['Sudan (السودان)', CountryISO.Sudan, '249'],\n ['Suriname', CountryISO.Suriname, '597'],\n ['Svalbard and Jan Mayen', CountryISO.SvalbardAndJanMayen, '47', 1],\n ['Swaziland', CountryISO.Swaziland, '268'],\n ['Sweden (Sverige)', CountryISO.Sweden, '46'],\n ['Switzerland (Schweiz)', CountryISO.Switzerland, '41'],\n ['Syria (سوريا)', CountryISO.Syria, '963'],\n ['Taiwan (台灣)', CountryISO.Taiwan, '886'],\n ['Tajikistan', CountryISO.Tajikistan, '992'],\n ['Tanzania', CountryISO.Tanzania, '255'],\n ['Thailand (ไทย)', CountryISO.Thailand, '66'],\n ['Timor-Leste', CountryISO.TimorLeste, '670'],\n ['Togo', CountryISO.Togo, '228'],\n ['Tokelau', CountryISO.Tokelau, '690'],\n ['Tonga', CountryISO.Tonga, '676'],\n ['Trinidad and Tobago', 'tt', '1', 1, ['868']],\n ['Tunisia (تونس)', CountryISO.Tunisia, '216'],\n ['Turkey (Türkiye)', CountryISO.Turkey, '90'],\n ['Turkmenistan', CountryISO.Turkmenistan, '993'],\n ['Turks and Caicos Islands', CountryISO.TurksAndCaicosIslands, '1649'],\n ['Tuvalu', CountryISO.Tuvalu, '688'],\n ['U.S. Virgin Islands', 'vi', '1', 1, ['340']],\n ['Uganda', CountryISO.Uganda, '256'],\n ['Ukraine (Україна)', CountryISO.Ukraine, '380'],\n ['United Arab Emirates (الإمارات العربية المتحدة)', CountryISO.UnitedArabEmirates, '971'],\n ['United Kingdom', CountryISO.UnitedKingdom, '44', 0],\n ['United States', CountryISO.UnitedStates, '1', 0],\n ['Uruguay', CountryISO.Uruguay, '598'],\n ['Uzbekistan (Oʻzbekiston)', CountryISO.Uzbekistan, '998'],\n ['Vanuatu', CountryISO.Vanuatu, '678'],\n ['Vatican City (Città del Vaticano)', CountryISO.VaticanCity, '39', 1],\n ['Venezuela', CountryISO.Venezuela, '58'],\n ['Vietnam (Việt Nam)', CountryISO.Vietnam, '84'],\n ['Wallis and Futuna', CountryISO.WallisAndFutuna, '681'],\n ['Western Sahara (الصحراء الغربية)', CountryISO.WesternSahara, '212', 1],\n ['Yemen (اليمن)', CountryISO.Yemen, '967'],\n ['Zambia', CountryISO.Zambia, '260'],\n ['Zimbabwe', CountryISO.Zimbabwe, '263'],\n ['Åland Islands', CountryISO.ÅlandIslands, '358', 1],\n ];\n}\n","export enum PhoneNumberFormat {\n International = 'INTERNATIONAL',\n National = 'NATIONAL',\n}\n","export enum SearchCountryField {\n DialCode = 'dialCode',\n Iso2 = 'iso2',\n Name = 'name',\n All = 'all',\n}\n","import * as lpn from 'google-libphonenumber';\n\n/*\nWe use \"control: any\" instead of \"control: FormControl\" to silence:\n\"Property 'nativeElement' does not exist on type 'FormControl'\".\nThis happens because I've expanded control with nativeElement via\n'NativeElementInjectorDirective' to get an access to the element.\nMore about this approach and reasons for this:\nhttps://github.com/angular/angular/issues/18025\nhttps://stackoverflow.com/a/54075119/1617590\n*/\nexport const phoneNumberValidator = (control: any) => {\n if (!control.value) {\n return;\n }\n // Find <input> inside injected nativeElement and get its \"id\".\n const el: HTMLElement = control.nativeElement as HTMLElement;\n const inputBox: HTMLInputElement | any = el ? el.querySelector('input[type=\"tel\"]') : undefined;\n if (inputBox) {\n const isCheckValidation = inputBox.getAttribute('validation');\n if (isCheckValidation === 'true') {\n const isRequired = control.errors && control.errors.required === true;\n const error = { validatePhoneNumber: { valid: false } };\n\n inputBox.setCustomValidity('Invalid field.');\n\n let number: lpn.PhoneNumber;\n\n try {\n number = lpn.PhoneNumberUtil.getInstance().parse(\n control.value.number,\n control.value.countryCode\n );\n } catch (e) {\n if (isRequired) {\n return error;\n } else {\n inputBox.setCustomValidity('');\n }\n }\n\n if (control.value) {\n // @ts-ignore\n if (!number) {\n return error;\n } else {\n if (\n !lpn.PhoneNumberUtil.getInstance().isValidNumberForRegion(\n number,\n control.value.countryCode\n )\n ) {\n return error;\n } else {\n inputBox.setCustomValidity('');\n }\n }\n }\n } else if (isCheckValidation === 'false') {\n inputBox.setCustomValidity('');\n\n control.clearValidators();\n }\n }\n return;\n};\n","import { NgClass, NgTemplateOutlet } from '@angular/common';\nimport {\n afterRenderEffect,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n inject,\n Input,\n OnChanges,\n OnInit,\n Output,\n signal,\n SimpleChanges,\n ViewChild,\n viewChild,\n viewChildren,\n} from '@angular/core';\nimport { FormsModule, NG_VALIDATORS, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { Combobox, ComboboxPopup, ComboboxWidget } from '@angular/aria/combobox';\nimport { Listbox, Option } from '@angular/aria/listbox';\nimport * as lpn from 'google-libphonenumber';\n\nimport { CountryCode } from './data/country-code';\nimport { CountryISO } from './enums/country-iso.enum';\nimport { PhoneNumberFormat } from './enums/phone-number-format.enum';\nimport { SearchCountryField } from './enums/search-country-field.enum';\nimport { ChangeData } from './interfaces/change-data';\nimport { Country } from './model/country.model';\nimport { phoneNumberValidator } from './ngx-intl-tel-input.validator';\n\nlet nextInstanceId = 0;\n\n/** One row of the country list: preferred countries come first and repeat in the standard list. */\ninterface CountryOption {\n id: string;\n country: Country;\n preferred: boolean;\n}\n\n@Component({\n // tslint:disable-next-line: component-selector\n selector: 'ngx-intl-tel-input',\n templateUrl: './ngx-intl-tel-input.component.html',\n styleUrls: ['./ngx-intl-tel-input.component.css'],\n imports: [\n NgClass,\n NgTemplateOutlet,\n FormsModule,\n Combobox,\n ComboboxPopup,\n ComboboxWidget,\n Listbox,\n Option,\n ],\n changeDetection: ChangeDetectionStrategy.Eager,\n providers: [\n CountryCode,\n {\n provide: NG_VALUE_ACCESSOR,\n // tslint:disable-next-line:no-forward-ref\n useExisting: forwardRef(() => NgxIntlTelInputComponent),\n multi: true,\n },\n {\n provide: NG_VALIDATORS,\n useValue: phoneNumberValidator,\n multi: true,\n },\n ],\n})\nexport class NgxIntlTelInputComponent implements OnInit, OnChanges {\n @Input() value: string | undefined = '';\n @Input() preferredCountries: Array<string> = [];\n @Input() enablePlaceholder = true;\n @Input() customPlaceholder: string;\n @Input() numberFormat: PhoneNumberFormat = PhoneNumberFormat.International;\n @Input() cssClass = 'form-control';\n @Input() onlyCountries: Array<string> = [];\n @Input() enableAutoCountrySelect = true;\n @Input() searchCountryFlag = false;\n @Input() searchCountryField: SearchCountryField[] = [SearchCountryField.All];\n @Input() searchCountryPlaceholder = 'Search Country';\n @Input() maxLength: number;\n @Input() selectFirstCountry = true;\n @Input() selectedCountryISO: CountryISO;\n @Input() phoneValidation = true;\n @Input() inputId = 'phone';\n @Input() separateDialCode = false;\n @Input() excludeCountries: Array<CountryISO> = [];\n /** `top` opens the country list above the field when it fits there, and below it otherwise. */\n @Input() dropdownPlacement: 'bottom' | 'top' = 'bottom';\n separateDialCodeClass: string;\n\n @Output() readonly countryChange = new EventEmitter<Country>();\n\n selectedCountry: Country = {\n areaCodes: undefined,\n dialCode: '',\n htmlId: '',\n flagClass: '',\n iso2: '',\n name: '',\n placeHolder: '',\n priority: 0,\n };\n\n phoneNumber: string | undefined = '';\n allCountries: Array<Country> = [];\n\n preferredCountriesInDropDown: Array<Country> = [];\n // Has to be 'any' to prevent a need to install @types/google-libphonenumber by the package user...\n phoneUtil: any = lpn.PhoneNumberUtil.getInstance();\n disabled = false;\n countrySearchText = '';\n\n protected readonly isOpen = signal(false);\n protected readonly dropdownAbove = signal(false);\n protected readonly dropdownId = `iti-country-dropdown-${nextInstanceId++}`;\n protected readonly listboxId = `${this.dropdownId}-list`;\n /** Rows of the open list and the listbox value; both are rebuilt on every open. */\n protected countryOptions: CountryOption[] = [];\n protected selectedOptionIds: string[] = [];\n private openedWithIds: string[] = [];\n\n @ViewChild('countryList') countryList: ElementRef;\n\n private readonly listbox = viewChild<Listbox<string>>(Listbox);\n private readonly options = viewChildren<Option<string>>(Option);\n private readonly toggleEl = viewChild<ElementRef<HTMLElement>>('toggleEl');\n private readonly flagContainerEl =\n viewChild.required<ElementRef<HTMLElement>>('flagContainer');\n private readonly dropdownMenuEl = viewChild<ElementRef<HTMLElement>>('dropdownMenu');\n private readonly countryListEl = viewChild<ElementRef<HTMLElement>>('countryList');\n private readonly searchInputEl =\n viewChild<ElementRef<HTMLInputElement>>('searchInput');\n private readonly focusableEl =\n viewChild.required<ElementRef<HTMLInputElement>>('focusable');\n\n private readonly countryCodeData = inject(CountryCode);\n\n onTouched = () => {};\n propagateChange = (_: ChangeData) => {};\n\n constructor() {\n // The search box is the combobox in search mode, so it takes focus as soon as the dropdown renders.\n afterRenderEffect(() => {\n if (this.isOpen()) {\n this.searchInputEl()?.nativeElement.focus();\n }\n });\n\n // Aria renders the list a render pass after the dropdown, so the side is picked once the list is there and\n // the dropdown has its full height. The list doesn't change size after that, so it never switches sides.\n afterRenderEffect({\n earlyRead: () => {\n const menu = this.dropdownMenuEl()?.nativeElement;\n if (this.dropdownPlacement !== 'top' || !menu || !this.countryListEl()) {\n return false;\n }\n const { marginTop, marginBottom } = getComputedStyle(menu);\n const height = menu.offsetHeight + parseFloat(marginTop) + parseFloat(marginBottom);\n return this.flagContainerEl().nativeElement.getBoundingClientRect().top >= height;\n },\n write: (above) => this.dropdownAbove.set(above()),\n });\n\n // Keep the active option visible by scrolling the list only, never the page.\n afterRenderEffect(() => {\n const activeId = this.listbox()?.activeDescendant();\n const option = this.options().find((o) => o.id() === activeId);\n const listEl = this.countryList?.nativeElement as HTMLElement | undefined;\n if (!option || !listEl) {\n return;\n }\n const top = option.element.offsetTop;\n const bottom = top + option.element.offsetHeight;\n if (top < listEl.scrollTop) {\n listEl.scrollTop = top;\n } else if (bottom > listEl.scrollTop + listEl.clientHeight) {\n listEl.scrollTop = bottom - listEl.clientHeight;\n }\n });\n }\n\n protected get hasSearch(): boolean {\n return Boolean(this.searchCountryFlag && this.searchCountryField);\n }\n\n protected get toggleAriaLabel(): string {\n if (this.selectedCountry?.name) {\n return `${this.selectedCountry.name} (+${this.selectedCountry.dialCode})`;\n }\n return 'Select country';\n }\n\n ngOnInit() {\n this.init();\n }\n\n ngOnChanges(changes: SimpleChanges) {\n const selectedISO = changes['selectedCountryISO'];\n if (\n this.allCountries &&\n selectedISO &&\n selectedISO.currentValue !== selectedISO.previousValue\n ) {\n this.updateSelectedCountry();\n }\n if (changes['preferredCountries']) {\n this.updatePreferredCountries();\n }\n this.checkSeparateDialCodeStyle();\n }\n\n /*\n This is a wrapper method to avoid calling this.ngOnInit() in writeValue().\n Ref: http://codelyzer.com/rules/no-life-cycle-call/\n */\n init() {\n this.fetchCountryData();\n\n if (this.excludeCountries.length) {\n this.allCountries = this.allCountries.filter(\n (c) => !this.excludeCountries.includes(c.iso2 as CountryISO)\n );\n }\n\n if (this.preferredCountries.length) {\n this.updatePreferredCountries();\n }\n if (this.onlyCountries.length) {\n this.allCountries = this.allCountries.filter((c) =>\n this.onlyCountries.includes(c.iso2)\n );\n }\n if (this.selectFirstCountry) {\n if (this.preferredCountriesInDropDown.length) {\n this.setSelectedCountry(this.preferredCountriesInDropDown[0]);\n } else {\n this.setSelectedCountry(this.allCountries[0]);\n }\n }\n\n this.updateSelectedCountry();\n this.checkSeparateDialCodeStyle();\n }\n\n setSelectedCountry(country: Country) {\n this.selectedCountry = country;\n this.countryChange.emit(country);\n }\n\n /** Single entry point for the open state: Aria's `expanded`, the search-mode toggle and Esc all land here. */\n protected setOpen(open: boolean): void {\n if (open === this.isOpen() || (open && this.disabled)) {\n return;\n }\n if (open) {\n this.countryOptions = [\n ...this.preferredCountriesInDropDown.map((country) => ({\n id: `${country.htmlId}-preferred`,\n country,\n preferred: true,\n })),\n ...this.allCountries.map((country) => ({\n id: country.htmlId,\n country,\n preferred: false,\n })),\n ];\n // The first matching row wins, so a preferred selected country is active on open, as before.\n const selected = this.countryOptions.find(\n (o) => o.country.iso2 === this.selectedCountry?.iso2\n );\n this.selectedOptionIds = this.openedWithIds = selected ? [selected.id] : [];\n } else {\n this.countrySearchText = '';\n }\n this.isOpen.set(open);\n }\n\n /** Search mode only: the toggle is a plain button that opens the dialog holding the search combobox. */\n protected onToggleKeydown(event: KeyboardEvent): void {\n if (['Enter', ' ', 'ArrowDown'].includes(event.key)) {\n event.preventDefault();\n this.setOpen(true);\n }\n }\n\n protected closeDropdown(returnFocus: boolean): void {\n this.setOpen(false);\n if (returnFocus) {\n this.toggleEl()?.nativeElement.focus();\n }\n }\n\n /** Search mode only: Aria keeps an always-expanded combobox open, so focus leaving the picker closes it. */\n protected onFlagContainerFocusOut(event: FocusEvent): void {\n const next = event.relatedTarget as Node | null;\n if (this.hasSearch && !this.flagContainerEl().nativeElement.contains(next)) {\n this.setOpen(false);\n }\n }\n\n /**\n * Runs after the listbox handled a click, Enter or Space. An untouched value means nothing was\n * activated (Space went to type-ahead, or the click missed the options). An empty value means the\n * selected row was activated again, which keeps that country.\n */\n protected commitSelection(): void {\n if (this.selectedOptionIds === this.openedWithIds) {\n return;\n }\n const id = this.selectedOptionIds[0] ?? this.openedWithIds[0];\n const option = this.countryOptions.find((o) => o.id === id);\n this.setOpen(false);\n if (option) {\n this.onCountrySelect(option.country, this.focusableEl().nativeElement);\n }\n }\n\n protected onSearchChange(text: string): void {\n this.countrySearchText = text;\n this.searchCountry();\n }\n\n /**\n * Search country based on country name, iso2, dialCode or all of them.\n */\n public searchCountry() {\n const listbox = this.listbox();\n if (!this.countrySearchText) {\n listbox?.gotoFirst();\n return;\n }\n const countrySearchTextLower = this.countrySearchText.toLowerCase();\n const searchAll = this.searchCountryField.includes(SearchCountryField.All);\n const searchIn = (field: SearchCountryField) =>\n searchAll || this.searchCountryField.includes(field);\n const index = this.countryOptions.findIndex(\n ({ country: c, preferred }) =>\n !preferred &&\n ((searchIn(SearchCountryField.Iso2) &&\n c.iso2.toLowerCase().startsWith(countrySearchTextLower)) ||\n (searchIn(SearchCountryField.Name) &&\n c.name.toLowerCase().startsWith(countrySearchTextLower)) ||\n (searchIn(SearchCountryField.DialCode) &&\n c.dialCode.startsWith(this.countrySearchText)))\n );\n if (index > -1) {\n listbox?.gotoIndex(index);\n }\n }\n\n public onPhoneNumberChange(): void {\n let countryCode: string | undefined;\n // Handle the case where the user sets the value programatically based on a persisted ChangeData obj.\n if (this.phoneNumber && typeof this.phoneNumber === 'object') {\n const numberObj: ChangeData = this.phoneNumber;\n this.phoneNumber = numberObj.number;\n countryCode = numberObj.countryCode;\n }\n\n this.value = this.phoneNumber;\n countryCode = countryCode || this.selectedCountry.iso2;\n // @ts-ignore\n const number = this.getParsedNumber(this.phoneNumber, countryCode);\n\n // auto select country based on the extension (and areaCode if needed) (e.g select Canada if number starts with +1 416)\n if (this.enableAutoCountrySelect) {\n countryCode =\n number && number.getCountryCode()\n ? // @ts-ignore\n this.getCountryIsoCode(number.getCountryCode(), number)\n : this.selectedCountry.iso2;\n if (countryCode && countryCode !== this.selectedCountry.iso2) {\n const newCountry = this.allCountries\n .slice()\n .sort((a, b) => {\n return a.priority - b.priority;\n })\n .find((c) => c.iso2 === countryCode);\n if (newCountry) {\n this.selectedCountry = newCountry;\n }\n }\n }\n countryCode = countryCode ? countryCode : this.selectedCountry.iso2;\n\n this.checkSeparateDialCodeStyle();\n\n if (!this.value) {\n // Reason: avoid https://stackoverflow.com/a/54358133/1617590\n // tslint:disable-next-line: no-null-keyword\n // @ts-ignore\n this.propagateChange(null);\n } else {\n const intlNo = number\n ? this.phoneUtil.format(number, lpn.PhoneNumberFormat.INTERNATIONAL)\n : '';\n\n // parse phoneNumber if separate dial code is needed\n if (this.separateDialCode && intlNo) {\n this.value = this.removeDialCode(intlNo);\n }\n\n this.propagateChange({\n number: this.value,\n internationalNumber: intlNo,\n nationalNumber: number\n ? this.phoneUtil.format(number, lpn.PhoneNumberFormat.NATIONAL)\n : '',\n e164Number: number\n ? this.phoneUtil.format(number, lpn.PhoneNumberFormat.E164)\n : '',\n countryCode: countryCode.toUpperCase(),\n dialCode: '+' + this.selectedCountry.dialCode,\n });\n }\n }\n\n public onCountrySelect(country: Country, el: { focus: () => void }): void {\n this.setSelectedCountry(country);\n\n this.checkSeparateDialCodeStyle();\n\n if (this.phoneNumber && this.phoneNumber.length > 0) {\n this.value = this.phoneNumber;\n const number = this.getParsedNumber(\n this.phoneNumber,\n this.selectedCountry.iso2\n );\n const intlNo = number\n ? this.phoneUtil.format(number, lpn.PhoneNumberFormat.INTERNATIONAL)\n : '';\n // parse phoneNumber if separate dial code is needed\n if (this.separateDialCode && intlNo) {\n this.value = this.removeDialCode(intlNo);\n }\n\n this.propagateChange({\n number: this.value,\n internationalNumber: intlNo,\n nationalNumber: number\n ? this.phoneUtil.format(number, lpn.PhoneNumberFormat.NATIONAL)\n : '',\n e164Number: number\n ? this.phoneUtil.format(number, lpn.PhoneNumberFormat.E164)\n : '',\n countryCode: this.selectedCountry.iso2.toUpperCase(),\n dialCode: '+' + this.selectedCountry.dialCode,\n });\n } else {\n // Reason: avoid https://stackoverflow.com/a/54358133/1617590\n // tslint:disable-next-line: no-null-keyword\n // @ts-ignore\n this.propagateChange(null);\n }\n\n el.focus();\n }\n\n public onInputKeyPress(event: KeyboardEvent): void {\n const allowedChars = /[0-9\\+\\-\\(\\)\\ ]/;\n const allowedCtrlChars = /[axcv]/; // Allows copy-pasting\n const allowedOtherKeys = [\n 'ArrowLeft',\n 'ArrowUp',\n 'ArrowRight',\n 'ArrowDown',\n 'Home',\n 'End',\n 'Insert',\n 'Delete',\n 'Backspace',\n ];\n\n if (\n !allowedChars.test(event.key) &&\n !(event.ctrlKey && allowedCtrlChars.test(event.key)) &&\n !allowedOtherKeys.includes(event.key)\n ) {\n event.preventDefault();\n }\n }\n\n registerOnChange(fn: any): void {\n this.propagateChange = fn;\n }\n\n registerOnTouched(fn: any) {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled;\n if (isDisabled) {\n this.setOpen(false);\n }\n }\n\n writeValue(obj: any): void {\n if (obj === undefined) {\n this.init();\n }\n this.phoneNumber = obj;\n setTimeout(() => {\n this.onPhoneNumberChange();\n }, 1);\n }\n\n resolvePlaceholder(): string {\n let placeholder = '';\n if (this.customPlaceholder) {\n placeholder = this.customPlaceholder;\n } else if (this.selectedCountry.placeHolder) {\n placeholder = this.selectedCountry.placeHolder;\n // Already formatted; re-parsing would regroup the hand-written UA example.\n placeholder = this.stripDialCode(placeholder);\n }\n return placeholder;\n }\n\n /* --------------------------------- Helpers -------------------------------- */\n /**\n * Returns parse PhoneNumber object.\n * @param phoneNumber string\n * @param countryCode string\n */\n private getParsedNumber(\n phoneNumber: string,\n countryCode: string\n ): lpn.PhoneNumber {\n let number: lpn.PhoneNumber;\n try {\n number = this.phoneUtil.parse(phoneNumber, countryCode.toUpperCase());\n } catch (e) {}\n // @ts-ignore\n return number;\n }\n\n /**\n * Adjusts input alignment based on the dial code presentation style.\n */\n private checkSeparateDialCodeStyle() {\n if (this.separateDialCode && this.selectedCountry) {\n const cntryCd = this.selectedCountry.dialCode;\n this.separateDialCodeClass =\n 'separate-dial-code iti-sdc-' + (cntryCd.length + 1);\n } else {\n this.separateDialCodeClass = '';\n }\n }\n\n /**\n * Cleans dialcode from phone number string.\n * @param phoneNumber string\n */\n private removeDialCode(phoneNumber: string): string {\n const number = this.getParsedNumber(phoneNumber, this.selectedCountry.iso2);\n return this.stripDialCode(\n this.phoneUtil.format(number, lpn.PhoneNumberFormat[this.numberFormat])\n );\n }\n\n /**\n * Drops the leading \"+<dial code> \" from an already formatted number.\n * @param phoneNumber string\n */\n private stripDialCode(phoneNumber: string): string {\n if (phoneNumber.startsWith('+') && this.separateDialCode) {\n return phoneNumber.substring(phoneNumber.indexOf(' ') + 1);\n }\n return phoneNumber;\n }\n\n /**\n * Sifts through all countries and returns iso code of the primary country\n * based on the number provided.\n * @param countryCode country code in number format\n * @param number PhoneNumber object\n */\n private getCountryIsoCode(\n countryCode: number,\n number: lpn.PhoneNumber\n ): string | undefined {\n // Will use this to match area code from the first numbers\n // @ts-ignore\n const rawNumber = number['values_']['2'].toString();\n // List of all countries with countryCode (can be more than one. e.x. US, CA, DO, PR all have +1 countryCode)\n const countries = this.allCountries.filter(\n (c) => c.dialCode === countryCode.toString()\n );\n // Main country is the country, which has no areaCodes specified in country-code.ts file.\n const mainCountry = countries.find((c) => c.areaCodes === undefined);\n // Secondary countries are all countries, which have areaCodes specified in country-code.ts file.\n const secondaryCountries = countries.filter((c) => c.areaCodes !== undefined);\n let matchedCountry = mainCountry ? mainCountry.iso2 : undefined;\n\n /*\n Iterate over each secondary country and check if nationalNumber starts with any of areaCodes available.\n If no matches found, fallback to the main country.\n */\n secondaryCountries.forEach((country) => {\n // @ts-ignore\n country.areaCodes.forEach((areaCode) => {\n if (rawNumber.startsWith(areaCode)) {\n matchedCountry = country.iso2;\n }\n });\n });\n\n return matchedCountry;\n }\n\n /**\n * Gets formatted example phone number from phoneUtil.\n * @param countryCode string\n */\n protected getPhoneNumberPlaceHolder(countryCode: string): string {\n try {\n return this.phoneUtil.format(\n this.phoneUtil.getExampleNumber(countryCode),\n lpn.PhoneNumberFormat[this.numberFormat]\n );\n } catch (e) {\n // @ts-ignore\n return e;\n }\n }\n\n /**\n * Clearing the list to avoid duplicates (https://github.com/webcat12345/ngx-intl-tel-input/issues/248)\n */\n protected fetchCountryData(): void {\n this.allCountries = [];\n\n this.countryCodeData.allCountries.forEach((c) => {\n const country: Country = {\n name: c[0].toString(),\n iso2: c[1] as CountryISO,\n dialCode: c[2].toString(),\n priority: +c[3] || 0,\n areaCodes: (c[4] as string[]) || undefined,\n htmlId: `iti-0__item-${c[1].toString()}`,\n flagClass: `iti__${c[1].toString().toLocaleLowerCase()}`,\n placeHolder: '',\n };\n\n if (this.enablePlaceholder) {\n country.placeHolder = this.getPhoneNumberPlaceHolder(\n country.iso2.toUpperCase()\n );\n\n if (country.iso2 === 'ua') {\n country.placeHolder = '+380 31 123 4567';\n }\n }\n\n this.allCountries.push(country);\n });\n }\n\n /**\n * Populates preferredCountriesInDropDown with prefferred countries.\n */\n private updatePreferredCountries() {\n if (this.preferredCountries.length) {\n this.preferredCountriesInDropDown = this.allCountries.filter((c) => {\n return (\n this.preferredCountries.includes(c.iso2) &&\n !this.excludeCountries.includes(c.iso2 as CountryISO)\n );\n });\n }\n }\n\n /**\n * Updates selectedCountry.\n */\n private updateSelectedCountry() {\n if (\n this.selectedCountryISO &&\n !this.excludeCountries.includes(this.selectedCountryISO)\n ) {\n // @ts-ignore\n this.selectedCountry = this.allCountries.find((c) => {\n return c.iso2.toLowerCase() === this.selectedCountryISO.toLowerCase();\n });\n if (this.selectedCountry) {\n if (this.phoneNumber) {\n this.onPhoneNumberChange();\n } else {\n // Reason: avoid https://stackoverflow.com/a/54358133/1617590\n // tslint:disable-next-line: no-null-keyword\n // @ts-ignore\n this.propagateChange(null);\n }\n }\n }\n }\n}\n","<div class=\"iti iti--allow-dropdown\" [ngClass]=\"separateDialCodeClass\">\n <div\n #flagContainer\n class=\"iti__flag-container\"\n [class.disabled]=\"disabled\"\n [class.open]=\"isOpen()\"\n (focusout)=\"onFlagContainerFocusOut($event)\"\n >\n @if (hasSearch) {\n <!-- Search mode: a button opens a dialog whose search box is the only combobox. -->\n <div\n #toggleEl\n class=\"iti__selected-flag dropdown-toggle\"\n role=\"button\"\n aria-haspopup=\"dialog\"\n [attr.tabindex]=\"disabled ? -1 : 0\"\n [attr.aria-expanded]=\"isOpen()\"\n [attr.aria-controls]=\"isOpen() ? dropdownId : null\"\n [attr.aria-disabled]=\"disabled || null\"\n [attr.aria-label]=\"toggleAriaLabel\"\n (click)=\"setOpen(!isOpen())\"\n (keydown)=\"onToggleKeydown($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"selectedFlag\" />\n </div>\n @if (isOpen()) {\n <div\n #dropdownMenu\n class=\"dropdown-menu iti__dropdown-content\"\n [class.iti__dropdown--above]=\"dropdownAbove()\"\n role=\"dialog\"\n tabindex=\"-1\"\n [id]=\"dropdownId\"\n [attr.aria-label]=\"searchCountryPlaceholder\"\n (keydown.escape)=\"closeDropdown(true)\"\n >\n <div class=\"search-container\">\n <input\n #searchInput\n #searchCombobox=\"ngCombobox\"\n id=\"country-search-box\"\n ngCombobox\n alwaysExpanded\n [value]=\"countrySearchText\"\n (valueChange)=\"onSearchChange($event)\"\n (keydown.escape)=\"closeDropdown(true)\"\n [placeholder]=\"searchCountryPlaceholder\"\n [attr.aria-label]=\"searchCountryPlaceholder\"\n />\n </div>\n <ng-container\n [ngTemplateOutlet]=\"countryPopup\"\n [ngTemplateOutletContext]=\"{ $implicit: searchCombobox }\"\n />\n </div>\n }\n } @else {\n <!-- Select-only mode: the toggle is the combobox. -->\n <div\n #toggleEl\n #toggleCombobox=\"ngCombobox\"\n class=\"iti__selected-flag dropdown-toggle\"\n ngCombobox\n [disabled]=\"disabled\"\n [softDisabled]=\"false\"\n [expanded]=\"isOpen()\"\n (expandedChange)=\"setOpen($event)\"\n [attr.aria-label]=\"toggleAriaLabel\"\n >\n <ng-container [ngTemplateOutlet]=\"selectedFlag\" />\n </div>\n <ng-container\n [ngTemplateOutlet]=\"countryPopup\"\n [ngTemplateOutletContext]=\"{ $implicit: toggleCombobox, menu: true }\"\n />\n }\n </div>\n <input\n type=\"tel\"\n [id]=\"inputId\"\n autocomplete=\"off\"\n class=\"iti__tel-input\"\n [ngClass]=\"cssClass\"\n (blur)=\"onTouched()\"\n (keypress)=\"onInputKeyPress($event)\"\n [(ngModel)]=\"phoneNumber\"\n [ngModelOptions]=\"{ standalone: true }\"\n (ngModelChange)=\"onPhoneNumberChange()\"\n [disabled]=\"disabled\"\n [placeholder]=\"resolvePlaceholder()\"\n [attr.maxLength]=\"maxLength\"\n [attr.validation]=\"phoneValidation\"\n #focusable\n />\n</div>\n\n<ng-template #selectedFlag>\n <div class=\"iti__flag\" [ngClass]=\"selectedCountry.flagClass || ''\"></div>\n @if (separateDialCode) {\n <div class=\"selected-dial-code\">+{{ selectedCountry.dialCode }}</div>\n }\n <div class=\"iti__arrow\"></div>\n</ng-template>\n\n<!--\n Aria renders the popup only while its combobox is expanded. Select-only mode wraps the list in the\n dropdown menu here; in search mode the list already sits in the dropdown menu next to the search box.\n-->\n<ng-template #countryPopup let-combobox let-menu=\"menu\">\n <ng-template ngComboboxPopup [combobox]=\"combobox\">\n <ng-template #list>\n <ul\n #countryList\n #listbox=\"ngListbox\"\n class=\"iti__country-list\"\n ngListbox\n ngComboboxWidget\n tabindex=\"-1\"\n focusMode=\"activedescendant\"\n selectionMode=\"explicit\"\n [id]=\"listboxId\"\n [(value)]=\"selectedOptionIds\"\n [activeDescendant]=\"listbox.activeDescendant()\"\n (click)=\"commitSelection()\"\n (keydown.enter)=\"commitSelection()\"\n (keydown.space)=\"commitSelection()\"\n >\n @for (option of countryOptions; track option.id; let i = $index) {\n @if (!option.preferred && i > 0 && countryOptions[i - 1].preferred) {\n <li class=\"iti__divider\" role=\"separator\" aria-hidden=\"true\"></li>\n }\n <li\n class=\"iti__country\"\n [class.iti__preferred]=\"option.preferred\"\n [class.iti__standard]=\"!option.preferred\"\n ngOption\n [value]=\"option.id\"\n [label]=\"option.country.name\"\n [id]=\"option.id\"\n >\n <div class=\"iti__flag-box\">\n <div class=\"iti__flag\" [ngClass]=\"option.country.flagClass\"></div>\n </div>\n <span class=\"iti__country-name\">{{ option.country.name }}</span>\n <span class=\"iti__dial-code\">+{{ option.country.dialCode }}</span>\n </li>\n }\n </ul>\n </ng-template>\n @if (menu) {\n <div\n #dropdownMenu\n class=\"dropdown-menu iti__dropdown-content\"\n [class.iti__dropdown--above]=\"dropdownAbove()\"\n (keydown.escape)=\"closeDropdown(true)\"\n >\n <ng-container [ngTemplateOutlet]=\"list\" />\n </div>\n } @else {\n <ng-container [ngTemplateOutlet]=\"list\" />\n }\n </ng-template>\n</ng-template>\n","import { Directive, ElementRef, inject, OnInit } from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\n/*\n\"Property 'nativeElement' does not exist on type 'FormControl'\".\n'NativeElementInjectorDirective' injects nativeElement to each control,\nso we can access it from inside validator for example.\nMore about this approach and reasons for this:\nhttps://github.com/angular/angular/issues/18025\nhttps://stackoverflow.com/a/54075119/1617590\n*/\n@Directive({\n // tslint:disable-next-line: directive-selector\n selector: '[ngModel], [formControl], [formControlName]',\n})\nexport class NativeElementInjectorDirective implements OnInit {\n private readonly controlDir = inject(NgControl);\n private readonly host = inject<ElementRef<HTMLFormElement>>(ElementRef);\n\n ngOnInit() {\n if (this.controlDir.control) {\n // @ts-ignore\n this.controlDir.control['nativeElement'] = this.host.nativeElement;\n }\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { NativeElementInjectorDirective } from './directives/native-element-injector.directive';\nimport { NgxIntlTelInputComponent } from './ngx-intl-tel-input.component';\n\n@NgModule({\n imports: [NgxIntlTelInputComponent, NativeElementInjectorDirective],\n exports: [NgxIntlTelInputComponent, NativeElementInjectorDirective],\n})\nexport class NgxIntlTelInputModule {}\n"],"mappings":";;;;;;;;AAAA,IAAY;CAAZ,SAAY,YAAU;CACpB,WAAA,iBAAA;CACA,WAAA,aAAA;CACA,WAAA,aAAA;CACA,WAAA,mBAAA;CACA,WAAA,aAAA;CACA,WAAA,YAAA;CACA,WAAA,cAAA;CACA,WAAA,uBAAA;CACA,WAAA,eAAA;CACA,WAAA,aAAA;CACA,WAAA,WAAA;CACA,WAAA,eAAA;CACA,WAAA,aAAA;CACA,WAAA,gBAAA;CACA,WAAA,aAAA;CACA,WAAA,aAAA;CACA,WAAA,gBAAA;CACA,WAAA,cAAA;CACA,WAAA,aAAA;CACA,WAAA,aAAA;CACA,WAAA,YAAA;CACA,WAAA,WAAA;CACA,WAAA,aAAA;CACA,WAAA,YAAA;CACA,WAAA,aAAA;CACA,WAAA,0BAAA;CACA,WAAA,cAAA;CACA,WAAA,YAAA;CACA,WAAA,iCAAA;CACA,WAAA,0BAAA;CACA,WAAA,YAAA;CACA,WAAA,cAAA;CACA,WAAA,iBAAA;CACA,WAAA,aAAA;CACA,WAAA,cAAA;CACA,WAAA,cAAA;CACA,WAAA,YAAA;CACA,WAAA,eAAA;CACA,WAAA,0BAAA;CACA,WAAA,mBAAA;CACA,WAAA,4BAAA;CACA,WAAA,UAAA;CACA,WAAA,WAAA;CACA,WAAA,WAAA;CACA,WAAA,qBAAA;CACA,WAAA,WAAA;CACA,WAAA,cAAA;CACA,WAAA,aAAA;CACA,WAAA,0CAAA;CACA,WAAA,mCAAA;CACA,WAAA,iBAAA;CACA,WAAA,eAAA;CACA,WAAA,iBAAA;CACA,WAAA,aAAA;CACA,WAAA,UAAA;CACA,WAAA,aAAA;CACA,WAAA,YAAA;CACA,WAAA,mBAAA;CACA,WAAA,aAAA;CACA,WAAA,cAAA;CACA,WAAA,cAAA;CACA,WAAA,uBAAA;CACA,WAAA,aAAA;CACA,WAAA,WAAA;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A,SAAA;GAAA,UAAA;GAAA,MAAA;GAA8B,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAA9B;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAA8B,cAAA;GAAA,UAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAA9B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA8B,YAAA,CAAA;EAJ1C,MAAA;EAAU,MAAA,CAAA,EAET,UAAU,8CACX,CAAA;;;ACLD,IAAa,wBAAb,MAAa,sBAAqB;CAArB;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAqB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAArB;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAqB,SAAA,CAHtB,0BAA0B,8BAA8B;GAAA,SAAA,CACxD,0BAA0B,8BAA8B;EAAA,CAAA;CAAA;CAEvD;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAqB,SAAA,CAHtB,wBAAwB;EAAA,CAAA;CAAA;;AAGvB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAqB,YAAA,CAAA;EAJjC,MAAA;EAAS,MAAA,CAAA;GACR,SAAS,CAAC,0BAA0B,8BAA8B;GAClE,SAAS,CAAC,0BAA0B,8BAA8B;EACnE,CAAA"}
|
package/package.json
CHANGED
|
@@ -298,6 +298,8 @@ export declare class NgxIntlTelInputComponent implements OnInit, OnChanges {
|
|
|
298
298
|
inputId: string;
|
|
299
299
|
separateDialCode: boolean;
|
|
300
300
|
excludeCountries: Array<CountryISO>;
|
|
301
|
+
/** `top` opens the country list above the field when it fits there, and below it otherwise. */
|
|
302
|
+
dropdownPlacement: 'bottom' | 'top';
|
|
301
303
|
separateDialCodeClass: string;
|
|
302
304
|
readonly countryChange: EventEmitter<Country>;
|
|
303
305
|
selectedCountry: Country;
|
|
@@ -308,6 +310,7 @@ export declare class NgxIntlTelInputComponent implements OnInit, OnChanges {
|
|
|
308
310
|
disabled: boolean;
|
|
309
311
|
countrySearchText: string;
|
|
310
312
|
protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
313
|
+
protected readonly dropdownAbove: import("@angular/core").WritableSignal<boolean>;
|
|
311
314
|
protected readonly dropdownId: string;
|
|
312
315
|
protected readonly listboxId: string;
|
|
313
316
|
/** Rows of the open list and the listbox value; both are rebuilt on every open. */
|
|
@@ -319,6 +322,8 @@ export declare class NgxIntlTelInputComponent implements OnInit, OnChanges {
|
|
|
319
322
|
private readonly options;
|
|
320
323
|
private readonly toggleEl;
|
|
321
324
|
private readonly flagContainerEl;
|
|
325
|
+
private readonly dropdownMenuEl;
|
|
326
|
+
private readonly countryListEl;
|
|
322
327
|
private readonly searchInputEl;
|
|
323
328
|
private readonly focusableEl;
|
|
324
329
|
private readonly countryCodeData;
|
|
@@ -477,6 +482,10 @@ export declare class NgxIntlTelInputComponent implements OnInit, OnChanges {
|
|
|
477
482
|
"alias": "excludeCountries";
|
|
478
483
|
"required": false;
|
|
479
484
|
};
|
|
485
|
+
"dropdownPlacement": {
|
|
486
|
+
"alias": "dropdownPlacement";
|
|
487
|
+
"required": false;
|
|
488
|
+
};
|
|
480
489
|
}, {
|
|
481
490
|
"countryChange": "countryChange";
|
|
482
491
|
}, never, never, true, never>;
|
|
@@ -1 +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;
|
|
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,cAA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