monkey-style-guide 2.0.100 → 2.0.101
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/bundles/monkey-style-guide.umd.js +2 -1
- package/bundles/monkey-style-guide.umd.js.map +1 -1
- package/esm2015/lib/components/input-phone/input-phone.component.js +3 -2
- package/fesm2015/monkey-style-guide.js +2 -1
- package/fesm2015/monkey-style-guide.js.map +1 -1
- package/monkey-style-guide-2.0.101.tgz +0 -0
- package/package.json +1 -1
- package/monkey-style-guide-2.0.100.tgz +0 -0
|
@@ -3794,10 +3794,11 @@
|
|
|
3794
3794
|
return '';
|
|
3795
3795
|
};
|
|
3796
3796
|
MonkeyInputPhoneComponent.prototype.ngOnInit = function () {
|
|
3797
|
+
var _a;
|
|
3797
3798
|
this._countryCodes = MonkeyUtils.getPhoneRegions();
|
|
3798
3799
|
this.onHandleInternationalNumber();
|
|
3799
3800
|
this.onHandleCountryCode(this._internationalNumber);
|
|
3800
|
-
this._formControl = this.ngControl && this.ngControl.form;
|
|
3801
|
+
this._formControl = this.ngControl && (((_a = this.ngControl) === null || _a === void 0 ? void 0 : _a.form) || this.ngControl);
|
|
3801
3802
|
};
|
|
3802
3803
|
MonkeyInputPhoneComponent.prototype.onHandleInternationalNumber = function (value) {
|
|
3803
3804
|
this._internationalNumber =
|