@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.
@@ -4694,7 +4694,7 @@ let CustomFieldsComponent = CustomFieldsComponent_1 = class CustomFieldsComponen
4694
4694
  this.fields.forEach(field => {
4695
4695
  const { type, name, mask, scale } = field;
4696
4696
  let value = this.formGroup.get(name).value;
4697
- if (value)
4697
+ if (value) {
4698
4698
  switch (type) {
4699
4699
  case FieldType.Number:
4700
4700
  if (mask)
@@ -4710,7 +4710,8 @@ let CustomFieldsComponent = CustomFieldsComponent_1 = class CustomFieldsComponen
4710
4710
  value = moment$3(value).format("HH:mm:ss");
4711
4711
  break;
4712
4712
  }
4713
- if (value !== null && !(new BigNumber(value).isNaN())) {
4713
+ }
4714
+ if (value !== null && !Number.isNaN(value)) {
4714
4715
  parsedValues[name] = value;
4715
4716
  }
4716
4717
  else if (this.isTypeNumberOrEnum(type)) {