@main-class/componentes 1.15.4 → 1.15.5

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.
@@ -4505,7 +4505,13 @@
4505
4505
  if (value && value.replace(/\D/g, '').length > 11) {
4506
4506
  return doApplyMask(value, '##.###.###/####-##');
4507
4507
  }
4508
- return _super.prototype.applyMask.call(this, value);
4508
+ return doApplyMask(value, '###.###.###-##');
4509
+ };
4510
+ CpfCnpjModelDirective.prototype.removeMask = function (value) {
4511
+ if (value && value.replace(/\D/g, '').length > 11) {
4512
+ return doRemoveMask(value, '##.###.###/####-##');
4513
+ }
4514
+ return doRemoveMask(value, '###.###.###-##');
4509
4515
  };
4510
4516
  return CpfCnpjModelDirective;
4511
4517
  }(MaskedModelDirective));