monkey-style-guide 2.0.157 → 2.0.158

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.
@@ -5785,8 +5785,9 @@ class MonkeyInputPhoneComponent {
5785
5785
  }
5786
5786
  getValue() {
5787
5787
  const { internationalNumber, _handledValue } = this;
5788
- if (_handledValue)
5789
- return `+${internationalNumber}${_handledValue}`;
5788
+ const handled = `${_handledValue}`.replace(new RegExp(/\`+${internationalNumber}`/, 'g'), '');
5789
+ if (handled)
5790
+ return `+${internationalNumber}${handled}`;
5790
5791
  return '';
5791
5792
  }
5792
5793
  ngOnInit() {