monkey-front-components 0.0.679 → 0.0.681
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 +10 -3
- package/fesm2015/monkey-front-components.mjs +9 -2
- package/fesm2015/monkey-front-components.mjs.map +1 -1
- package/fesm2020/monkey-front-components.mjs +9 -2
- package/fesm2020/monkey-front-components.mjs.map +1 -1
- package/monkey-front-components-0.0.681.tgz +0 -0
- package/package.json +5 -5
- package/monkey-front-components-0.0.679.tgz +0 -0
|
@@ -314,8 +314,15 @@ class BaseComponent {
|
|
|
314
314
|
cl: {
|
|
315
315
|
governmentId: ValidateUtils.DocumentRutValidator,
|
|
316
316
|
zipCode: Validators.zipCodeByCountry(country)
|
|
317
|
-
}
|
|
318
|
-
|
|
317
|
+
},
|
|
318
|
+
mx: {
|
|
319
|
+
governmentId: ValidateUtils.DocumentValidator,
|
|
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;
|