monkey-style-guide-v2 0.0.51 → 0.0.53

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.
@@ -5690,6 +5690,7 @@ class MonkeyInputPhoneComponent {
5690
5690
  }
5691
5691
  }
5692
5692
  formatValue(value, changedCountry = false) {
5693
+ console.log(value);
5693
5694
  if (!value) {
5694
5695
  this.phoneFormatted = '';
5695
5696
  this.phoneValid = false;
@@ -5709,6 +5710,8 @@ class MonkeyInputPhoneComponent {
5709
5710
  return;
5710
5711
  }
5711
5712
  const nationalPart = value.replace(this.selectedCallingCode, '').replace(/[^\d+]/g, '');
5713
+ console.log(nationalPart);
5714
+ console.log(countryCode);
5712
5715
  const formatter = new AsYouType(countryCode);
5713
5716
  this.phoneFormatted = formatter.input(nationalPart);
5714
5717
  this.performValue(nationalPart);