@intl-tel-input/angular 29.5.0 → 29.5.1
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/dist/IntlTelInput.js +4 -4
- package/dist/IntlTelInputWithUtils.js +43 -43
- package/package.json +2 -2
package/dist/IntlTelInput.js
CHANGED
|
@@ -5014,7 +5014,7 @@ var intlTelInput = Object.assign(
|
|
|
5014
5014
|
attachUtils,
|
|
5015
5015
|
startedLoadingUtils: false,
|
|
5016
5016
|
startedLoadingAutoCountry: false,
|
|
5017
|
-
version: "29.5.
|
|
5017
|
+
version: "29.5.1",
|
|
5018
5018
|
NUMBER_FORMAT,
|
|
5019
5019
|
NUMBER_TYPE,
|
|
5020
5020
|
VALIDATION_ERROR,
|
|
@@ -5349,8 +5349,8 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
5349
5349
|
registerOnValidatorChange(fn) {
|
|
5350
5350
|
this.onValidatorChange = fn;
|
|
5351
5351
|
}
|
|
5352
|
-
static
|
|
5353
|
-
static
|
|
5352
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: _IntlTelInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5353
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.7", type: _IntlTelInput, isStandalone: true, selector: "intl-tel-input", inputs: { initialValue: "initialValue", usePreciseValidation: "usePreciseValidation", inputAttributes: "inputAttributes", disabled: "disabled", readonly: "readonly", countrySelectorMode: "countrySelectorMode", allowedNumberTypes: "allowedNumberTypes", allowNumberExtensions: "allowNumberExtensions", allowPhonewords: "allowPhonewords", classNames: "classNames", containerClass: "containerClass", countryNameLocale: "countryNameLocale", countryNameOverrides: "countryNameOverrides", countryOrder: "countryOrder", countrySearch: "countrySearch", customPlaceholder: "customPlaceholder", dropdownAlwaysOpen: "dropdownAlwaysOpen", dropdownParent: "dropdownParent", excludeCountries: "excludeCountries", matchDropdownWidth: "matchDropdownWidth", formatAsYouType: "formatAsYouType", fullscreenParent: "fullscreenParent", hiddenInputs: "hiddenInputs", uiTranslations: "uiTranslations", initialCountry: "initialCountry", initialCountryLookup: "initialCountryLookup", loadUtils: "loadUtils", numberDisplayFormat: "numberDisplayFormat", onlyCountries: "onlyCountries", placeholderNumberPolicy: "placeholderNumberPolicy", placeholderNumberType: "placeholderNumberType", searchInputClass: "searchInputClass", separateDialCode: "separateDialCode", showFlags: "showFlags", strictMode: "strictMode", strictRejectAnimation: "strictRejectAnimation" }, outputs: { numberChange: "numberChange", countryChange: "countryChange", validityChange: "validityChange", errorCodeChange: "errorCodeChange", openCountrySelector: "openCountrySelector", closeCountrySelector: "closeCountrySelector", strictReject: "strictReject", blur: "blur", focus: "focus", keydown: "keydown", keyup: "keyup", paste: "paste", click: "click" }, providers: [
|
|
5354
5354
|
{
|
|
5355
5355
|
provide: NG_VALUE_ACCESSOR,
|
|
5356
5356
|
useExisting: forwardRef(() => _IntlTelInput),
|
|
@@ -5374,7 +5374,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
5374
5374
|
/>
|
|
5375
5375
|
`, isInline: true });
|
|
5376
5376
|
};
|
|
5377
|
-
i0
|
|
5377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: IntlTelInput, decorators: [{
|
|
5378
5378
|
type: Component,
|
|
5379
5379
|
args: [{
|
|
5380
5380
|
selector: "intl-tel-input",
|
|
@@ -5014,7 +5014,7 @@ var intlTelInput = Object.assign(
|
|
|
5014
5014
|
attachUtils,
|
|
5015
5015
|
startedLoadingUtils: false,
|
|
5016
5016
|
startedLoadingAutoCountry: false,
|
|
5017
|
-
version: "29.5.
|
|
5017
|
+
version: "29.5.1",
|
|
5018
5018
|
NUMBER_FORMAT,
|
|
5019
5019
|
NUMBER_TYPE,
|
|
5020
5020
|
VALIDATION_ERROR,
|
|
@@ -10553,7 +10553,7 @@ var _scope = {};
|
|
|
10553
10553
|
J.g = function() {
|
|
10554
10554
|
return J.h ? J.h : J.h = new J();
|
|
10555
10555
|
};
|
|
10556
|
-
var Fa = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "
|
|
10556
|
+
var Fa = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", "٠": "0", "١": "1", "٢": "2", "٣": "3", "٤": "4", "٥": "5", "٦": "6", "٧": "7", "٨": "8", "٩": "9", "۰": "0", "۱": "1", "۲": "2", "۳": "3", "۴": "4", "۵": "5", "۶": "6", "۷": "7", "۸": "8", "۹": "9" }, Ga = {
|
|
10557
10557
|
0: "0",
|
|
10558
10558
|
1: "1",
|
|
10559
10559
|
2: "2",
|
|
@@ -10578,36 +10578,36 @@ var _scope = {};
|
|
|
10578
10578
|
7: "7",
|
|
10579
10579
|
8: "8",
|
|
10580
10580
|
9: "9",
|
|
10581
|
-
"
|
|
10582
|
-
"
|
|
10583
|
-
"
|
|
10584
|
-
"
|
|
10585
|
-
"
|
|
10586
|
-
"
|
|
10587
|
-
"
|
|
10588
|
-
"
|
|
10589
|
-
"
|
|
10590
|
-
"
|
|
10591
|
-
"
|
|
10592
|
-
"
|
|
10593
|
-
"
|
|
10594
|
-
"
|
|
10595
|
-
"
|
|
10596
|
-
"
|
|
10597
|
-
"
|
|
10598
|
-
"
|
|
10599
|
-
"
|
|
10600
|
-
"
|
|
10601
|
-
"
|
|
10602
|
-
"
|
|
10603
|
-
"
|
|
10604
|
-
"
|
|
10605
|
-
"
|
|
10606
|
-
"
|
|
10607
|
-
"
|
|
10608
|
-
"
|
|
10609
|
-
"
|
|
10610
|
-
"
|
|
10581
|
+
"0": "0",
|
|
10582
|
+
"1": "1",
|
|
10583
|
+
"2": "2",
|
|
10584
|
+
"3": "3",
|
|
10585
|
+
"4": "4",
|
|
10586
|
+
"5": "5",
|
|
10587
|
+
"6": "6",
|
|
10588
|
+
"7": "7",
|
|
10589
|
+
"8": "8",
|
|
10590
|
+
"9": "9",
|
|
10591
|
+
"٠": "0",
|
|
10592
|
+
"١": "1",
|
|
10593
|
+
"٢": "2",
|
|
10594
|
+
"٣": "3",
|
|
10595
|
+
"٤": "4",
|
|
10596
|
+
"٥": "5",
|
|
10597
|
+
"٦": "6",
|
|
10598
|
+
"٧": "7",
|
|
10599
|
+
"٨": "8",
|
|
10600
|
+
"٩": "9",
|
|
10601
|
+
"۰": "0",
|
|
10602
|
+
"۱": "1",
|
|
10603
|
+
"۲": "2",
|
|
10604
|
+
"۳": "3",
|
|
10605
|
+
"۴": "4",
|
|
10606
|
+
"۵": "5",
|
|
10607
|
+
"۶": "6",
|
|
10608
|
+
"۷": "7",
|
|
10609
|
+
"۸": "8",
|
|
10610
|
+
"۹": "9",
|
|
10611
10611
|
A: "2",
|
|
10612
10612
|
B: "2",
|
|
10613
10613
|
C: "2",
|
|
@@ -10634,14 +10634,14 @@ var _scope = {};
|
|
|
10634
10634
|
X: "9",
|
|
10635
10635
|
Y: "9",
|
|
10636
10636
|
Z: "9"
|
|
10637
|
-
}, Ia = RegExp("[
|
|
10637
|
+
}, Ia = RegExp("[++]+"), K = RegExp("^[++]+"), Ja = RegExp("([0-90-9٠-٩۰-۹])"), Ka = RegExp("[++0-90-9٠-٩۰-۹]"), La = /[\\\/] *x/, Ma = RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"), Na = /(?:.*?[A-Za-z]){3}.*/, Oa = RegExp("^\\+([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-90-9٠-٩۰-۹]([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"), Pa = RegExp("^([A-Za-z0-90-9٠-٩۰-۹]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.?$");
|
|
10638
10638
|
function L(a) {
|
|
10639
|
-
return "([0-9
|
|
10639
|
+
return "([0-90-9٠-٩۰-۹]{1," + a + "})";
|
|
10640
10640
|
}
|
|
10641
10641
|
function Qa() {
|
|
10642
|
-
return ";ext=" + L("20") + "|[
|
|
10642
|
+
return ";ext=" + L("20") + "|[ \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[ \\t,-]*" + (L("20") + "#?|[ \\t,]*(?:[xx##~~]|int|int)[:\\..]?[ \\t,-]*") + (L("9") + "#?|[- ]+") + (L("6") + "#|[ \\t]*(?:,{2}|;)[:\\..]?[ \\t,-]*") + (L("15") + "#?|[ \\t]*(?:,)+[:\\..]?[ \\t,-]*") + (L("9") + "#?");
|
|
10643
10643
|
}
|
|
10644
|
-
var Ra = new RegExp("(?:" + Qa() + ")$", "i"), Sa = new RegExp("^[0-9
|
|
10644
|
+
var Ra = new RegExp("(?:" + Qa() + ")$", "i"), Sa = new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:" + Qa() + ")?$", "i"), Ta = /(\$\d)/, Ua = /^\(?\$1\)?$/;
|
|
10645
10645
|
function Va(a) {
|
|
10646
10646
|
return a.length < 2 ? false : M(Sa, a);
|
|
10647
10647
|
}
|
|
@@ -10695,7 +10695,7 @@ var _scope = {};
|
|
|
10695
10695
|
}
|
|
10696
10696
|
e = null;
|
|
10697
10697
|
}
|
|
10698
|
-
e != null && (g = e, e = v(g, 2), f = new RegExp(r(g, 1)), v(g, 5), g = v(g, 4), d = b == 2 && g != null && g.length > 0 ? d.replace(f, e.replace(Ta, g)) : d.replace(f, e), b == 3 && (d = d.replace(RegExp("^[-x
|
|
10698
|
+
e != null && (g = e, e = v(g, 2), f = new RegExp(r(g, 1)), v(g, 5), g = v(g, 4), d = b == 2 && g != null && g.length > 0 ? d.replace(f, e.replace(Ta, g)) : d.replace(f, e), b == 3 && (d = d.replace(RegExp("^[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]+"), ""), d = d.replace(RegExp("[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]+", "g"), "-")));
|
|
10699
10699
|
return $a(
|
|
10700
10700
|
c,
|
|
10701
10701
|
b,
|
|
@@ -10964,7 +10964,7 @@ var _scope = {};
|
|
|
10964
10964
|
}
|
|
10965
10965
|
;
|
|
10966
10966
|
function jb(a) {
|
|
10967
|
-
this.ga = RegExp("
|
|
10967
|
+
this.ga = RegExp(" ");
|
|
10968
10968
|
this.ka = "";
|
|
10969
10969
|
this.$ = new B();
|
|
10970
10970
|
this.ea = "";
|
|
@@ -10984,7 +10984,7 @@ var _scope = {};
|
|
|
10984
10984
|
}
|
|
10985
10985
|
var lb = new G();
|
|
10986
10986
|
t(lb, 11, "NA");
|
|
10987
|
-
var mb = RegExp("^[-x
|
|
10987
|
+
var mb = RegExp("^[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]*)*$"), nb = /[- ]/;
|
|
10988
10988
|
function kb(a, b) {
|
|
10989
10989
|
var c = a.ha;
|
|
10990
10990
|
b = O(b) ? eb(c, b) : 0;
|
|
@@ -11001,7 +11001,7 @@ var _scope = {};
|
|
|
11001
11001
|
var l = f;
|
|
11002
11002
|
g = v(g, 2);
|
|
11003
11003
|
var A = "999999999999999".match(h)[0];
|
|
11004
|
-
A.length < l.g.h.length ? l = "" : (l = A.replace(new RegExp(h, "g"), g), l = l.replace(RegExp("9", "g"), "
|
|
11004
|
+
A.length < l.g.h.length ? l = "" : (l = A.replace(new RegExp(h, "g"), g), l = l.replace(RegExp("9", "g"), " "));
|
|
11005
11005
|
l.length > 0 ? (f.$.g(l), f = true) : f = false;
|
|
11006
11006
|
if (f) return a.ea = e, a.ia = nb.test(r(d, 4)), a.ba = 0, true;
|
|
11007
11007
|
}
|
|
@@ -11583,8 +11583,8 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
11583
11583
|
registerOnValidatorChange(fn) {
|
|
11584
11584
|
this.onValidatorChange = fn;
|
|
11585
11585
|
}
|
|
11586
|
-
static
|
|
11587
|
-
static
|
|
11586
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: _IntlTelInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11587
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.7", type: _IntlTelInput, isStandalone: true, selector: "intl-tel-input", inputs: { initialValue: "initialValue", usePreciseValidation: "usePreciseValidation", inputAttributes: "inputAttributes", disabled: "disabled", readonly: "readonly", countrySelectorMode: "countrySelectorMode", allowedNumberTypes: "allowedNumberTypes", allowNumberExtensions: "allowNumberExtensions", allowPhonewords: "allowPhonewords", classNames: "classNames", containerClass: "containerClass", countryNameLocale: "countryNameLocale", countryNameOverrides: "countryNameOverrides", countryOrder: "countryOrder", countrySearch: "countrySearch", customPlaceholder: "customPlaceholder", dropdownAlwaysOpen: "dropdownAlwaysOpen", dropdownParent: "dropdownParent", excludeCountries: "excludeCountries", matchDropdownWidth: "matchDropdownWidth", formatAsYouType: "formatAsYouType", fullscreenParent: "fullscreenParent", hiddenInputs: "hiddenInputs", uiTranslations: "uiTranslations", initialCountry: "initialCountry", initialCountryLookup: "initialCountryLookup", loadUtils: "loadUtils", numberDisplayFormat: "numberDisplayFormat", onlyCountries: "onlyCountries", placeholderNumberPolicy: "placeholderNumberPolicy", placeholderNumberType: "placeholderNumberType", searchInputClass: "searchInputClass", separateDialCode: "separateDialCode", showFlags: "showFlags", strictMode: "strictMode", strictRejectAnimation: "strictRejectAnimation" }, outputs: { numberChange: "numberChange", countryChange: "countryChange", validityChange: "validityChange", errorCodeChange: "errorCodeChange", openCountrySelector: "openCountrySelector", closeCountrySelector: "closeCountrySelector", strictReject: "strictReject", blur: "blur", focus: "focus", keydown: "keydown", keyup: "keyup", paste: "paste", click: "click" }, providers: [
|
|
11588
11588
|
{
|
|
11589
11589
|
provide: NG_VALUE_ACCESSOR,
|
|
11590
11590
|
useExisting: forwardRef(() => _IntlTelInput),
|
|
@@ -11608,7 +11608,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
11608
11608
|
/>
|
|
11609
11609
|
`, isInline: true });
|
|
11610
11610
|
};
|
|
11611
|
-
i0
|
|
11611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.7", ngImport: i0, type: IntlTelInput, decorators: [{
|
|
11612
11612
|
type: Component,
|
|
11613
11613
|
args: [{
|
|
11614
11614
|
selector: "intl-tel-input",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intl-tel-input/angular",
|
|
3
|
-
"version": "29.5.
|
|
3
|
+
"version": "29.5.1",
|
|
4
4
|
"description": "An Angular component for intl-tel-input, for entering, formatting, and validating international telephone numbers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"intl-tel-input": "^29.5.
|
|
37
|
+
"intl-tel-input": "^29.5.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@angular/common": ">=17",
|