@intl-tel-input/angular 29.0.2 → 29.0.3
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.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ declare class IntlTelInput implements AfterViewInit, OnDestroy, OnChanges, Contr
|
|
|
77
77
|
ngAfterViewInit(): void;
|
|
78
78
|
private buildInitOptions;
|
|
79
79
|
ngOnChanges(changes: SimpleChanges): void;
|
|
80
|
-
handleInput()
|
|
80
|
+
handleInput: () => void;
|
|
81
81
|
handleBlur(event: FocusEvent): void;
|
|
82
82
|
handleFocus(event: FocusEvent): void;
|
|
83
83
|
handleKeyDown(event: KeyboardEvent): void;
|
package/dist/IntlTelInput.js
CHANGED
|
@@ -4820,7 +4820,7 @@ var intlTelInput = Object.assign(
|
|
|
4820
4820
|
attachUtils,
|
|
4821
4821
|
startedLoadingUtils: false,
|
|
4822
4822
|
startedLoadingAutoCountry: false,
|
|
4823
|
-
version: "29.0.
|
|
4823
|
+
version: "29.0.3",
|
|
4824
4824
|
NUMBER_FORMAT,
|
|
4825
4825
|
NUMBER_TYPE,
|
|
4826
4826
|
VALIDATION_ERROR,
|
|
@@ -4918,6 +4918,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
4918
4918
|
ngAfterViewInit() {
|
|
4919
4919
|
this.iti = intlTelInput_default(this.inputRef.nativeElement, this.buildInitOptions());
|
|
4920
4920
|
this.libraryInputClasses = this.inputRef.nativeElement.className;
|
|
4921
|
+
this.inputRef.nativeElement.addEventListener("input", this.handleInput);
|
|
4921
4922
|
this.inputRef.nativeElement.addEventListener("open:countryselector", this.handleOpenCountrySelector);
|
|
4922
4923
|
this.inputRef.nativeElement.addEventListener("close:countryselector", this.handleCloseCountrySelector);
|
|
4923
4924
|
this.inputRef.nativeElement.addEventListener("strict:reject", this.handleStrictReject);
|
|
@@ -4991,7 +4992,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
4991
4992
|
this.applyInputAttrs();
|
|
4992
4993
|
}
|
|
4993
4994
|
}
|
|
4994
|
-
handleInput() {
|
|
4995
|
+
handleInput = () => {
|
|
4995
4996
|
if (!this.iti) {
|
|
4996
4997
|
return;
|
|
4997
4998
|
}
|
|
@@ -5028,7 +5029,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
5028
5029
|
if (hasChanged) {
|
|
5029
5030
|
this.onValidatorChange();
|
|
5030
5031
|
}
|
|
5031
|
-
}
|
|
5032
|
+
};
|
|
5032
5033
|
handleBlur(event) {
|
|
5033
5034
|
this.onTouched();
|
|
5034
5035
|
this.blur.emit(event);
|
|
@@ -5063,6 +5064,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
5063
5064
|
return this.inputRef.nativeElement;
|
|
5064
5065
|
}
|
|
5065
5066
|
ngOnDestroy() {
|
|
5067
|
+
this.inputRef.nativeElement.removeEventListener("input", this.handleInput);
|
|
5066
5068
|
this.inputRef.nativeElement.removeEventListener("open:countryselector", this.handleOpenCountrySelector);
|
|
5067
5069
|
this.inputRef.nativeElement.removeEventListener("close:countryselector", this.handleCloseCountrySelector);
|
|
5068
5070
|
this.inputRef.nativeElement.removeEventListener("strict:reject", this.handleStrictReject);
|
|
@@ -5154,12 +5156,10 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
5154
5156
|
useExisting: forwardRef(() => _IntlTelInput),
|
|
5155
5157
|
multi: true
|
|
5156
5158
|
}
|
|
5157
|
-
]), i0.\u0275\u0275NgOnChangesFeature], decls: 2, vars: 0, consts: [["inputRef", ""], ["type", "tel", 3, "
|
|
5159
|
+
]), i0.\u0275\u0275NgOnChangesFeature], decls: 2, vars: 0, consts: [["inputRef", ""], ["type", "tel", 3, "blur", "focus", "keydown", "keyup", "paste", "click"]], template: function IntlTelInput_Template(rf, ctx) {
|
|
5158
5160
|
if (rf & 1) {
|
|
5159
5161
|
i0.\u0275\u0275domElementStart(0, "input", 1, 0);
|
|
5160
|
-
i0.\u0275\u0275domListener("
|
|
5161
|
-
return ctx.handleInput();
|
|
5162
|
-
})("blur", function IntlTelInput_Template_input_blur_0_listener($event) {
|
|
5162
|
+
i0.\u0275\u0275domListener("blur", function IntlTelInput_Template_input_blur_0_listener($event) {
|
|
5163
5163
|
return ctx.handleBlur($event);
|
|
5164
5164
|
})("focus", function IntlTelInput_Template_input_focus_0_listener($event) {
|
|
5165
5165
|
return ctx.handleFocus($event);
|
|
@@ -5186,7 +5186,6 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
5186
5186
|
<input
|
|
5187
5187
|
type="tel"
|
|
5188
5188
|
#inputRef
|
|
5189
|
-
(input)="handleInput()"
|
|
5190
5189
|
(blur)="handleBlur($event)"
|
|
5191
5190
|
(focus)="handleFocus($event)"
|
|
5192
5191
|
(keydown)="handleKeyDown($event)"
|
|
@@ -5308,7 +5307,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
5308
5307
|
}] });
|
|
5309
5308
|
})();
|
|
5310
5309
|
(() => {
|
|
5311
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.\u0275setClassDebugInfo(IntlTelInput, { className: "IntlTelInput", filePath: "IntlTelInput.ts", lineNumber:
|
|
5310
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.\u0275setClassDebugInfo(IntlTelInput, { className: "IntlTelInput", filePath: "IntlTelInput.ts", lineNumber: 71 });
|
|
5312
5311
|
})();
|
|
5313
5312
|
var IntlTelInput_default = IntlTelInput;
|
|
5314
5313
|
export {
|
|
@@ -4820,7 +4820,7 @@ var intlTelInput = Object.assign(
|
|
|
4820
4820
|
attachUtils,
|
|
4821
4821
|
startedLoadingUtils: false,
|
|
4822
4822
|
startedLoadingAutoCountry: false,
|
|
4823
|
-
version: "29.0.
|
|
4823
|
+
version: "29.0.3",
|
|
4824
4824
|
NUMBER_FORMAT,
|
|
4825
4825
|
NUMBER_TYPE,
|
|
4826
4826
|
VALIDATION_ERROR,
|
|
@@ -11199,6 +11199,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
11199
11199
|
ngAfterViewInit() {
|
|
11200
11200
|
this.iti = intlTelInput_default(this.inputRef.nativeElement, this.buildInitOptions());
|
|
11201
11201
|
this.libraryInputClasses = this.inputRef.nativeElement.className;
|
|
11202
|
+
this.inputRef.nativeElement.addEventListener("input", this.handleInput);
|
|
11202
11203
|
this.inputRef.nativeElement.addEventListener("open:countryselector", this.handleOpenCountrySelector);
|
|
11203
11204
|
this.inputRef.nativeElement.addEventListener("close:countryselector", this.handleCloseCountrySelector);
|
|
11204
11205
|
this.inputRef.nativeElement.addEventListener("strict:reject", this.handleStrictReject);
|
|
@@ -11272,7 +11273,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
11272
11273
|
this.applyInputAttrs();
|
|
11273
11274
|
}
|
|
11274
11275
|
}
|
|
11275
|
-
handleInput() {
|
|
11276
|
+
handleInput = () => {
|
|
11276
11277
|
if (!this.iti) {
|
|
11277
11278
|
return;
|
|
11278
11279
|
}
|
|
@@ -11309,7 +11310,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
11309
11310
|
if (hasChanged) {
|
|
11310
11311
|
this.onValidatorChange();
|
|
11311
11312
|
}
|
|
11312
|
-
}
|
|
11313
|
+
};
|
|
11313
11314
|
handleBlur(event) {
|
|
11314
11315
|
this.onTouched();
|
|
11315
11316
|
this.blur.emit(event);
|
|
@@ -11344,6 +11345,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
11344
11345
|
return this.inputRef.nativeElement;
|
|
11345
11346
|
}
|
|
11346
11347
|
ngOnDestroy() {
|
|
11348
|
+
this.inputRef.nativeElement.removeEventListener("input", this.handleInput);
|
|
11347
11349
|
this.inputRef.nativeElement.removeEventListener("open:countryselector", this.handleOpenCountrySelector);
|
|
11348
11350
|
this.inputRef.nativeElement.removeEventListener("close:countryselector", this.handleCloseCountrySelector);
|
|
11349
11351
|
this.inputRef.nativeElement.removeEventListener("strict:reject", this.handleStrictReject);
|
|
@@ -11435,12 +11437,10 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
11435
11437
|
useExisting: forwardRef(() => _IntlTelInput),
|
|
11436
11438
|
multi: true
|
|
11437
11439
|
}
|
|
11438
|
-
]), i0.\u0275\u0275NgOnChangesFeature], decls: 2, vars: 0, consts: [["inputRef", ""], ["type", "tel", 3, "
|
|
11440
|
+
]), i0.\u0275\u0275NgOnChangesFeature], decls: 2, vars: 0, consts: [["inputRef", ""], ["type", "tel", 3, "blur", "focus", "keydown", "keyup", "paste", "click"]], template: function IntlTelInput_Template(rf, ctx) {
|
|
11439
11441
|
if (rf & 1) {
|
|
11440
11442
|
i0.\u0275\u0275domElementStart(0, "input", 1, 0);
|
|
11441
|
-
i0.\u0275\u0275domListener("
|
|
11442
|
-
return ctx.handleInput();
|
|
11443
|
-
})("blur", function IntlTelInput_Template_input_blur_0_listener($event) {
|
|
11443
|
+
i0.\u0275\u0275domListener("blur", function IntlTelInput_Template_input_blur_0_listener($event) {
|
|
11444
11444
|
return ctx.handleBlur($event);
|
|
11445
11445
|
})("focus", function IntlTelInput_Template_input_focus_0_listener($event) {
|
|
11446
11446
|
return ctx.handleFocus($event);
|
|
@@ -11467,7 +11467,6 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
11467
11467
|
<input
|
|
11468
11468
|
type="tel"
|
|
11469
11469
|
#inputRef
|
|
11470
|
-
(input)="handleInput()"
|
|
11471
11470
|
(blur)="handleBlur($event)"
|
|
11472
11471
|
(focus)="handleFocus($event)"
|
|
11473
11472
|
(keydown)="handleKeyDown($event)"
|
|
@@ -11589,7 +11588,7 @@ var IntlTelInput = class _IntlTelInput {
|
|
|
11589
11588
|
}] });
|
|
11590
11589
|
})();
|
|
11591
11590
|
(() => {
|
|
11592
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.\u0275setClassDebugInfo(IntlTelInput, { className: "IntlTelInput", filePath: "IntlTelInput.ts", lineNumber:
|
|
11591
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.\u0275setClassDebugInfo(IntlTelInput, { className: "IntlTelInput", filePath: "IntlTelInput.ts", lineNumber: 71 });
|
|
11593
11592
|
})();
|
|
11594
11593
|
var IntlTelInput_default = IntlTelInput;
|
|
11595
11594
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intl-tel-input/angular",
|
|
3
|
-
"version": "29.0.
|
|
3
|
+
"version": "29.0.3",
|
|
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.0.
|
|
37
|
+
"intl-tel-input": "^29.0.3"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@angular/common": ">=17",
|