monkey-front-components 0.0.779 → 0.0.780

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.
@@ -125,6 +125,8 @@ class BaseComponent {
125
125
  }
126
126
  if (formControl?.hasError('fullName'))
127
127
  return 'FULL-NAME-REQUIRED';
128
+ if (formControl?.hasError('containsNumber'))
129
+ return 'CONTAINS-NUMBER';
128
130
  return 'FIELD-INVALID';
129
131
  }
130
132
  getErrorLastMessageNotTranslated(formControl = null) {
@@ -397,7 +399,8 @@ const validators = {
397
399
  return Validators$1.maxLength(param);
398
400
  },
399
401
  differentFromZero: Validators.differentFromZero,
400
- fullName: Validators.validateFullName
402
+ fullName: Validators.validateFullName,
403
+ containsNumber: Validators.containsNumber
401
404
  };
402
405
 
403
406
  class BaseDynamicArray extends BaseComponent {