ublo-lib 1.47.108 → 1.47.110
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/es/common/components/custom-contact-form/messages.d.ts.map +1 -1
- package/es/common/components/custom-contact-form/messages.js +2 -0
- package/es/common/components/custom-contact-form/utils.d.ts +1 -0
- package/es/common/components/custom-contact-form/utils.d.ts.map +1 -1
- package/es/common/components/custom-contact-form/utils.js +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/common/components/custom-contact-form/messages.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/common/components/custom-contact-form/messages.js"],"names":[],"mappings":"AAgGA,6CAIC"}
|
|
@@ -33,6 +33,7 @@ const locales = {
|
|
|
33
33
|
TESTS_PHONE_ERROR: 'Le téléphone doit être au format "0612345678" ou "+33612345678"',
|
|
34
34
|
TESTS_TEXTAREA_ERROR: "Ce champ ne doit pas être vide",
|
|
35
35
|
TESTS_SELECT_ERROR: "Ce champ ne doit pas être vide",
|
|
36
|
+
TESTS_NUMBER_ERROR: "Ce champ doit être supérieur à 0.",
|
|
36
37
|
TESTS_MULTIPLE_SELECT_ERROR: "Ce champ ne doit pas être vide",
|
|
37
38
|
optionnal: "optionnel",
|
|
38
39
|
},
|
|
@@ -69,6 +70,7 @@ const locales = {
|
|
|
69
70
|
TESTS_PHONE_ERROR: 'The phone number must be in the following formats: "0612345678" or "+33612345678"',
|
|
70
71
|
TESTS_TEXTAREA_ERROR: "This field cannot be empty",
|
|
71
72
|
TESTS_SELECT_ERROR: "This field cannot be empty",
|
|
73
|
+
TESTS_NUMBER_ERROR: "This field must be greater than 0.",
|
|
72
74
|
TESTS_MULTIPLE_SELECT_ERROR: "This field cannot be empty",
|
|
73
75
|
optionnal: "optionnal",
|
|
74
76
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/common/components/custom-contact-form/utils.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/common/components/custom-contact-form/utils.js"],"names":[],"mappings":"AAyBA,yFAiCC;AAyDD,qDAQC;;;;;;;;;AA/GD;;;;;;;;;EASE;AAuCK,oEAQN;AAEM,uDAIN;AAEM;;;;;;;iBAqCN"}
|
|
@@ -14,6 +14,7 @@ export const FIELD_TESTS_ERROR_CODES = {
|
|
|
14
14
|
phone: "TESTS_PHONE_ERROR",
|
|
15
15
|
textarea: "TESTS_TEXTAREA_ERROR",
|
|
16
16
|
select: "TESTS_SELECT_ERROR",
|
|
17
|
+
"input-number": "TESTS_NUMBER_ERROR",
|
|
17
18
|
"multiple-select": "TESTS_MULTIPLE_SELECT_ERROR",
|
|
18
19
|
};
|
|
19
20
|
const IGNORED_FIELDS = ["title", "subject", "attachment", "checkbox"];
|