monkey-front-components 0.0.681 → 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.
- package/esm2020/lib/components/base/base-component.mjs +2 -2
- package/esm2020/lib/components/base/base-validators.mjs +3 -1
- package/fesm2015/monkey-front-components.mjs +3 -1
- package/fesm2015/monkey-front-components.mjs.map +1 -1
- package/fesm2020/monkey-front-components.mjs +3 -1
- package/fesm2020/monkey-front-components.mjs.map +1 -1
- package/monkey-front-components-0.0.682.tgz +0 -0
- package/package.json +3 -3
- package/monkey-front-components-0.0.681.tgz +0 -0
|
@@ -316,7 +316,7 @@ class BaseComponent {
|
|
|
316
316
|
zipCode: Validators.zipCodeByCountry(country)
|
|
317
317
|
},
|
|
318
318
|
mx: {
|
|
319
|
-
governmentId: ValidateUtils.
|
|
319
|
+
governmentId: ValidateUtils.DocumentRFCValidator,
|
|
320
320
|
zipCode: Validators.zipCodeByCountry(country)
|
|
321
321
|
},
|
|
322
322
|
}[country] || {
|
|
@@ -356,8 +356,10 @@ const validators = {
|
|
|
356
356
|
email: Validators.email,
|
|
357
357
|
governmentId: Validators.documentBR,
|
|
358
358
|
governmentIdRut: Validators.documentCL,
|
|
359
|
+
governmentIdRfc: Validators.documentMX,
|
|
359
360
|
documentBR: Validators.documentBR,
|
|
360
361
|
documentCL: Validators.documentCL,
|
|
362
|
+
documentMX: Validators.documentMX,
|
|
361
363
|
date: Validators.date,
|
|
362
364
|
zipCode: Validators.zipCode,
|
|
363
365
|
minLength: (param) => {
|