monkey-front-components 0.0.680 → 0.0.682

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.
@@ -314,8 +314,15 @@ class BaseComponent {
314
314
  cl: {
315
315
  governmentId: ValidateUtils.DocumentRutValidator,
316
316
  zipCode: Validators.zipCodeByCountry(country)
317
- }
318
- }[country];
317
+ },
318
+ mx: {
319
+ governmentId: ValidateUtils.DocumentRFCValidator,
320
+ zipCode: Validators.zipCodeByCountry(country)
321
+ },
322
+ }[country] || {
323
+ governmentId: ValidateUtils.DocumentValidator,
324
+ zipCode: Validators.zipCodeByCountry('br')
325
+ };
319
326
  }
320
327
  isAbleToHandlePagination() {
321
328
  const { __paginationOptions } = this;
@@ -349,8 +356,10 @@ const validators = {
349
356
  email: Validators.email,
350
357
  governmentId: Validators.documentBR,
351
358
  governmentIdRut: Validators.documentCL,
359
+ governmentIdRfc: Validators.documentMX,
352
360
  documentBR: Validators.documentBR,
353
361
  documentCL: Validators.documentCL,
362
+ documentMX: Validators.documentMX,
354
363
  date: Validators.date,
355
364
  zipCode: Validators.zipCode,
356
365
  minLength: (param) => {