@seniorsistemas/angular-components 14.9.4 → 14.9.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.
@@ -5018,7 +5018,7 @@ var CustomFieldsComponent = /** @class */ (function () {
5018
5018
  this.fields.forEach(function (field) {
5019
5019
  var type = field.type, name = field.name, mask = field.mask, scale = field.scale;
5020
5020
  var value = _this.formGroup.get(name).value;
5021
- if (value)
5021
+ if (value) {
5022
5022
  switch (type) {
5023
5023
  case FieldType.Number:
5024
5024
  if (mask)
@@ -5034,7 +5034,8 @@ var CustomFieldsComponent = /** @class */ (function () {
5034
5034
  value = moment$3(value).format("HH:mm:ss");
5035
5035
  break;
5036
5036
  }
5037
- if (value !== null && !(new BigNumber(value).isNaN())) {
5037
+ }
5038
+ if (value !== null && !Number.isNaN(value)) {
5038
5039
  parsedValues[name] = value;
5039
5040
  }
5040
5041
  else if (_this.isTypeNumberOrEnum(type)) {