@main-class/componentes 1.16.6 → 1.16.7

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.
@@ -4616,7 +4616,7 @@
4616
4616
  }
4617
4617
  var maskedValue = '';
4618
4618
  var valorRestante = value.replace(/\D/g, '').replace(/^0+/, '');
4619
- while (valorRestante.length < (mascara.length - mascara.indexOf(',')) + 1) {
4619
+ while (valorRestante.length < (mascara.length - mascara.indexOf(','))) {
4620
4620
  valorRestante = '0' + valorRestante;
4621
4621
  }
4622
4622
  for (var i = mascara.length - 1; i >= 0 && valorRestante.length; i--) {