@vtex/country-forms 1.1.0 → 1.2.0
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/CHANGELOG.md +29 -1
- package/dist/{BRA-PMVV6KOM.js → BRA-CWGYPPBD.js} +43 -27
- package/dist/BRA-CWGYPPBD.js.map +1 -0
- package/dist/{BRA-ZBZXE5II.mjs → BRA-R2DBJTZ2.mjs} +43 -27
- package/dist/BRA-R2DBJTZ2.mjs.map +1 -0
- package/dist/CAN-RDQPFPZU.mjs +127 -0
- package/dist/CAN-RDQPFPZU.mjs.map +1 -0
- package/dist/CAN-ZJQJFUW4.js +129 -0
- package/dist/CAN-ZJQJFUW4.js.map +1 -0
- package/dist/MEX-6CJCALY3.js +125 -0
- package/dist/MEX-6CJCALY3.js.map +1 -0
- package/dist/MEX-ZQL7ZS3G.mjs +123 -0
- package/dist/MEX-ZQL7ZS3G.mjs.map +1 -0
- package/dist/USA-2QW25XAI.mjs +128 -0
- package/dist/USA-2QW25XAI.mjs.map +1 -0
- package/dist/USA-MWP4SDGW.js +130 -0
- package/dist/USA-MWP4SDGW.js.map +1 -0
- package/dist/{bra-MHTXSNLA.js → bra-DQO5W7HB.js} +7 -15
- package/dist/bra-DQO5W7HB.js.map +1 -0
- package/dist/{bra-ILOTR4AN.mjs → bra-MJUXI46I.mjs} +4 -15
- package/dist/bra-MJUXI46I.mjs.map +1 -0
- package/dist/can-3MOZIOGB.js +65 -0
- package/dist/can-3MOZIOGB.js.map +1 -0
- package/dist/can-DKTB2M6I.mjs +41 -0
- package/dist/can-DKTB2M6I.mjs.map +1 -0
- package/dist/can-LLWX4LC2.js +48 -0
- package/dist/can-LLWX4LC2.js.map +1 -0
- package/dist/can-OONXPDKH.mjs +59 -0
- package/dist/can-OONXPDKH.mjs.map +1 -0
- package/dist/chunk-B2XPLIJU.mjs +19 -0
- package/dist/chunk-B2XPLIJU.mjs.map +1 -0
- package/dist/chunk-ZQQPNXLP.js +21 -0
- package/dist/chunk-ZQQPNXLP.js.map +1 -0
- package/dist/common-E4IN3G46.mjs +4 -0
- package/dist/common-E4IN3G46.mjs.map +1 -0
- package/dist/common-LFDTUEMM.js +13 -0
- package/dist/common-LFDTUEMM.js.map +1 -0
- package/dist/{en-US-YW7UYXNB.mjs → en-US-KHII5INO.mjs} +22 -2
- package/dist/en-US-KHII5INO.mjs.map +1 -0
- package/dist/{en-US-RLEM27ZZ.js → en-US-RCNO3BZC.js} +22 -2
- package/dist/en-US-RCNO3BZC.js.map +1 -0
- package/dist/{es-MX-K5MWKMJW.js → es-MX-IGOEW2P4.js} +22 -2
- package/dist/es-MX-IGOEW2P4.js.map +1 -0
- package/dist/{es-MX-AGRGVXRK.mjs → es-MX-R24GRBU5.mjs} +22 -2
- package/dist/es-MX-R24GRBU5.mjs.map +1 -0
- package/dist/{fr-FR-KWQ3MPP5.mjs → fr-FR-N4WJAN23.mjs} +22 -2
- package/dist/fr-FR-N4WJAN23.mjs.map +1 -0
- package/dist/{fr-FR-LJIPE6BH.js → fr-FR-WZBI6O4O.js} +22 -2
- package/dist/fr-FR-WZBI6O4O.js.map +1 -0
- package/dist/index.d.mts +178 -7
- package/dist/index.d.ts +178 -7
- package/dist/index.js +109 -37
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +104 -38
- package/dist/index.mjs.map +1 -1
- package/dist/mex-AMEX6IHY.mjs +108 -0
- package/dist/mex-AMEX6IHY.mjs.map +1 -0
- package/dist/mex-DYWVMWB6.js +38 -0
- package/dist/mex-DYWVMWB6.js.map +1 -0
- package/dist/mex-VX3Y5I6I.mjs +33 -0
- package/dist/mex-VX3Y5I6I.mjs.map +1 -0
- package/dist/mex-Y56WV2L7.js +114 -0
- package/dist/mex-Y56WV2L7.js.map +1 -0
- package/dist/{pt-BR-P2RZ3X3H.mjs → pt-BR-PIBP3JHL.mjs} +25 -2
- package/dist/pt-BR-PIBP3JHL.mjs.map +1 -0
- package/dist/{pt-BR-74IZNREP.js → pt-BR-ZDM55ITO.js} +25 -2
- package/dist/pt-BR-ZDM55ITO.js.map +1 -0
- package/dist/usa-AC7YPVS3.mjs +52 -0
- package/dist/usa-AC7YPVS3.mjs.map +1 -0
- package/dist/usa-B6NCCTF6.js +61 -0
- package/dist/usa-B6NCCTF6.js.map +1 -0
- package/dist/usa-LOOP7MRM.mjs +55 -0
- package/dist/usa-LOOP7MRM.mjs.map +1 -0
- package/dist/usa-OQ44AFEI.js +61 -0
- package/dist/usa-OQ44AFEI.js.map +1 -0
- package/package.json +1 -1
- package/dist/BRA-PMVV6KOM.js.map +0 -1
- package/dist/BRA-ZBZXE5II.mjs.map +0 -1
- package/dist/bra-ILOTR4AN.mjs.map +0 -1
- package/dist/bra-MHTXSNLA.js.map +0 -1
- package/dist/can-7TMYDEJF.mjs +0 -17
- package/dist/can-7TMYDEJF.mjs.map +0 -1
- package/dist/can-B5ME2ZFN.js +0 -20
- package/dist/can-B5ME2ZFN.js.map +0 -1
- package/dist/can-FGNN5MZS.mjs +0 -19
- package/dist/can-FGNN5MZS.mjs.map +0 -1
- package/dist/can-LLJ4A5Y5.js +0 -21
- package/dist/can-LLJ4A5Y5.js.map +0 -1
- package/dist/en-US-RLEM27ZZ.js.map +0 -1
- package/dist/en-US-YW7UYXNB.mjs.map +0 -1
- package/dist/es-MX-AGRGVXRK.mjs.map +0 -1
- package/dist/es-MX-K5MWKMJW.js.map +0 -1
- package/dist/fr-FR-KWQ3MPP5.mjs.map +0 -1
- package/dist/fr-FR-LJIPE6BH.js.map +0 -1
- package/dist/mex-5BKCF6LS.js +0 -21
- package/dist/mex-5BKCF6LS.js.map +0 -1
- package/dist/mex-G3HMNBBF.mjs +0 -19
- package/dist/mex-G3HMNBBF.mjs.map +0 -1
- package/dist/pt-BR-74IZNREP.js.map +0 -1
- package/dist/pt-BR-P2RZ3X3H.mjs.map +0 -1
- package/dist/usa-3AM7UFVG.js +0 -20
- package/dist/usa-3AM7UFVG.js.map +0 -1
- package/dist/usa-I7DK2CTL.mjs +0 -18
- package/dist/usa-I7DK2CTL.mjs.map +0 -1
- package/dist/usa-LXT6WW64.js +0 -21
- package/dist/usa-LXT6WW64.js.map +0 -1
- package/dist/usa-ZD5OWGAD.mjs +0 -18
- package/dist/usa-ZD5OWGAD.mjs.map +0 -1
|
@@ -24,6 +24,8 @@ var bundle = {
|
|
|
24
24
|
"country-forms.personal-data.contactType.phone": "Tel\xE9fono",
|
|
25
25
|
"country-forms.personal-data.email.label": "Correo electr\xF3nico",
|
|
26
26
|
"country-forms.personal-data.phone.label": "Tel\xE9fono",
|
|
27
|
+
"country-forms.personal-data.document.label": "Documento",
|
|
28
|
+
"country-forms.personal-data.documentType.label": "Tipo de documento",
|
|
27
29
|
// ── Personal data labels (BRA) ────────────────────────────────────────────
|
|
28
30
|
"country-forms.personal-data.personType.label": "Tipo de persona",
|
|
29
31
|
"country-forms.personal-data.personType.individual": "Persona f\xEDsica",
|
|
@@ -35,6 +37,24 @@ var bundle = {
|
|
|
35
37
|
"country-forms.personal-data.cnpj.label": "CNPJ",
|
|
36
38
|
"country-forms.personal-data.cnpj.placeholder": "ej. 11.222.333/0001-81",
|
|
37
39
|
"country-forms.personal-data.phone.placeholder.BRA": "ej. (11) 99999-9999",
|
|
40
|
+
// ── Personal data labels (USA) ────────────────────────────────────────────
|
|
41
|
+
"country-forms.personal-data.ssn.label": "N\xFAmero de Seguro Social (SSN)",
|
|
42
|
+
"country-forms.personal-data.ssn.placeholder": "ej. 123-45-6789",
|
|
43
|
+
"country-forms.personal-data.ein.label": "N\xFAmero de Identificaci\xF3n del Empleador (EIN)",
|
|
44
|
+
"country-forms.personal-data.ein.placeholder": "ej. 12-3456789",
|
|
45
|
+
"country-forms.personal-data.phone.placeholder.USA": "ej. (201) 555-0123",
|
|
46
|
+
// ── Personal data labels (CAN) ────────────────────────────────────────────
|
|
47
|
+
"country-forms.personal-data.sin.label": "N\xFAmero de Seguro Social (SIN)",
|
|
48
|
+
"country-forms.personal-data.sin.placeholder": "ej. 046-454-286",
|
|
49
|
+
"country-forms.personal-data.bn.label": "N\xFAmero de Empresa (BN)",
|
|
50
|
+
"country-forms.personal-data.bn.placeholder": "ej. 123456789",
|
|
51
|
+
"country-forms.personal-data.phone.placeholder.CAN": "ej. 613-555-0123",
|
|
52
|
+
// ── Personal data labels (MEX) ────────────────────────────────────────────
|
|
53
|
+
"country-forms.personal-data.rfc.label": "RFC (persona f\xEDsica)",
|
|
54
|
+
"country-forms.personal-data.rfc.placeholder": "ej. XAXX010101000",
|
|
55
|
+
"country-forms.personal-data.rfcCorporate.label": "RFC (persona moral)",
|
|
56
|
+
"country-forms.personal-data.rfcCorporate.placeholder": "ej. ABC010101AB1",
|
|
57
|
+
"country-forms.personal-data.phone.placeholder.MEX": "ej. (55) 1234 5678",
|
|
38
58
|
// ── Validation messages ───────────────────────────────────────────────────
|
|
39
59
|
"country-forms.validation.required": "Campo obligatorio. Ingresa tu {fieldName}.",
|
|
40
60
|
"country-forms.validation.invalid": "{fieldName} inv\xE1lido. Llene el campo {fieldName} nuevamente.",
|
|
@@ -47,5 +67,5 @@ var bundle = {
|
|
|
47
67
|
var es_MX_default = bundle;
|
|
48
68
|
|
|
49
69
|
module.exports = es_MX_default;
|
|
50
|
-
//# sourceMappingURL=es-MX-
|
|
51
|
-
//# sourceMappingURL=es-MX-
|
|
70
|
+
//# sourceMappingURL=es-MX-IGOEW2P4.js.map
|
|
71
|
+
//# sourceMappingURL=es-MX-IGOEW2P4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/i18n/messages/es-MX.ts"],"names":[],"mappings":";;;AAKA,IAAM,MAAA,GAAqB;AAAA;AAAA,EAEzB,wCAAA,EAA0C,kBAAA;AAAA,EAC1C,oCAAA,EAAsC,OAAA;AAAA,EACtC,0CAAA,EAA4C,uBAAA;AAAA,EAC5C,oCAAA,EAAsC,WAAA;AAAA,EACtC,wCAAA,EAA0C,wBAAA;AAAA,EAC1C,0CAAA,EAA4C,kBAAA;AAAA,EAC5C,kCAAA,EAAoC,QAAA;AAAA,EACpC,mCAAA,EAAqC,QAAA;AAAA;AAAA,EAErC,kDAAA,EAAoD,eAAA;AAAA,EACpD,kDAAA,EAAoD,2BAAA;AAAA,EACpD,kDAAA,EAAoD,aAAA;AAAA,EACpD,kDAAA,EAAoD,WAAA;AAAA;AAAA,EAGpD,6CAAA,EAA+C,QAAA;AAAA,EAC/C,4CAAA,EAA8C,UAAA;AAAA,EAC9C,+CAAA,EAAiD,oBAAA;AAAA,EACjD,+CAAA,EAAiD,uBAAA;AAAA,EACjD,+CAAA,EAAiD,aAAA;AAAA,EACjD,yCAAA,EAA2C,uBAAA;AAAA,EAC3C,yCAAA,EAA2C,aAAA;AAAA,EAC3C,4CAAA,EAA8C,WAAA;AAAA,EAC9C,gDAAA,EAAkD,mBAAA;AAAA;AAAA,EAGlD,8CAAA,EAAgD,iBAAA;AAAA,EAChD,mDAAA,EAAqD,mBAAA;AAAA,EACrD,iDAAA,EAAmD,qBAAA;AAAA,EACnD,wDAAA,EAA0D,QAAA;AAAA,EAC1D,sDAAA,EAAwD,iBAAA;AAAA,EACxD,uCAAA,EAAyC,KAAA;AAAA,EACzC,6CAAA,EAA+C,oBAAA;AAAA,EAC/C,wCAAA,EAA0C,MAAA;AAAA,EAC1C,8CAAA,EAAgD,wBAAA;AAAA,EAChD,mDAAA,EAAqD,qBAAA;AAAA;AAAA,EAGrD,uCAAA,EAAyC,kCAAA;AAAA,EACzC,6CAAA,EAA+C,iBAAA;AAAA,EAC/C,uCAAA,EAAyC,oDAAA;AAAA,EACzC,6CAAA,EAA+C,gBAAA;AAAA,EAC/C,mDAAA,EAAqD,oBAAA;AAAA;AAAA,EAGrD,uCAAA,EAAyC,kCAAA;AAAA,EACzC,6CAAA,EAA+C,iBAAA;AAAA,EAC/C,sCAAA,EAAwC,2BAAA;AAAA,EACxC,4CAAA,EAA8C,eAAA;AAAA,EAC9C,mDAAA,EAAqD,kBAAA;AAAA;AAAA,EAGrD,uCAAA,EAAyC,yBAAA;AAAA,EACzC,6CAAA,EAA+C,mBAAA;AAAA,EAC/C,gDAAA,EAAkD,qBAAA;AAAA,EAClD,sDAAA,EAAwD,kBAAA;AAAA,EACxD,mDAAA,EAAqD,oBAAA;AAAA;AAAA,EAGrD,mCAAA,EAAqC,4CAAA;AAAA,EACrC,kCAAA,EAAoC,iEAAA;AAAA,EACpC,oCAAA,EAAsC,qDAAA;AAAA,EACtC,yCAAA,EAA2C,0CAAA;AAAA,EAC3C,yCAAA,EAA2C,gDAAA;AAAA,EAC3C,yCAAA,EAA2C,qDAAA;AAAA,EAC3C,yCAAA,EAA2C;AAC7C,CAAA;AAEA,IAAO,aAAA,GAAQ","file":"es-MX-IGOEW2P4.js","sourcesContent":["/**\n * Spanish (es-MX) i18n bundle — Mexican Spanish.\n */\nimport type { I18nBundle } from '../../types/i18n'\n\nconst bundle: I18nBundle = {\n // ── Address labels ────────────────────────────────────────────────────────\n 'country-forms.address.postalCode.label': 'Código postal',\n 'country-forms.address.street.label': 'Calle',\n 'country-forms.address.street.placeholder': 'Dirección completa',\n 'country-forms.address.number.label': 'Número',\n 'country-forms.address.complement.label': 'Complemento (opcional)',\n 'country-forms.address.neighborhood.label': 'Colonia / Barrio',\n 'country-forms.address.city.label': 'Ciudad',\n 'country-forms.address.state.label': 'Estado',\n // ── Address placeholders (per country) ────────────────────────────────────\n 'country-forms.address.postalCode.placeholder.BRA': 'ej. 01310-100',\n 'country-forms.address.postalCode.placeholder.USA': 'ej. 10001 ó 10001-1234',\n 'country-forms.address.postalCode.placeholder.CAN': 'ej. K1A 0A9',\n 'country-forms.address.postalCode.placeholder.MEX': 'ej. 06600',\n\n // ── Personal data labels (fallback) ─────────────────────────────────────\n 'country-forms.personal-data.firstName.label': 'Nombre',\n 'country-forms.personal-data.lastName.label': 'Apellido',\n 'country-forms.personal-data.contactType.label': 'Contacto preferido',\n 'country-forms.personal-data.contactType.email': 'Correo electrónico',\n 'country-forms.personal-data.contactType.phone': 'Teléfono',\n 'country-forms.personal-data.email.label': 'Correo electrónico',\n 'country-forms.personal-data.phone.label': 'Teléfono',\n 'country-forms.personal-data.document.label': 'Documento',\n 'country-forms.personal-data.documentType.label': 'Tipo de documento',\n\n // ── Personal data labels (BRA) ────────────────────────────────────────────\n 'country-forms.personal-data.personType.label': 'Tipo de persona',\n 'country-forms.personal-data.personType.individual': 'Persona física',\n 'country-forms.personal-data.personType.business': 'Persona jurídica',\n 'country-forms.personal-data.firstName.label.individual': 'Nombre',\n 'country-forms.personal-data.firstName.label.business': 'Razón social',\n 'country-forms.personal-data.cpf.label': 'CPF',\n 'country-forms.personal-data.cpf.placeholder': 'ej. 123.456.789-09',\n 'country-forms.personal-data.cnpj.label': 'CNPJ',\n 'country-forms.personal-data.cnpj.placeholder': 'ej. 11.222.333/0001-81',\n 'country-forms.personal-data.phone.placeholder.BRA': 'ej. (11) 99999-9999',\n\n // ── Personal data labels (USA) ────────────────────────────────────────────\n 'country-forms.personal-data.ssn.label': 'Número de Seguro Social (SSN)',\n 'country-forms.personal-data.ssn.placeholder': 'ej. 123-45-6789',\n 'country-forms.personal-data.ein.label': 'Número de Identificación del Empleador (EIN)',\n 'country-forms.personal-data.ein.placeholder': 'ej. 12-3456789',\n 'country-forms.personal-data.phone.placeholder.USA': 'ej. (201) 555-0123',\n\n // ── Personal data labels (CAN) ────────────────────────────────────────────\n 'country-forms.personal-data.sin.label': 'Número de Seguro Social (SIN)',\n 'country-forms.personal-data.sin.placeholder': 'ej. 046-454-286',\n 'country-forms.personal-data.bn.label': 'Número de Empresa (BN)',\n 'country-forms.personal-data.bn.placeholder': 'ej. 123456789',\n 'country-forms.personal-data.phone.placeholder.CAN': 'ej. 613-555-0123',\n\n // ── Personal data labels (MEX) ────────────────────────────────────────────\n 'country-forms.personal-data.rfc.label': 'RFC (persona física)',\n 'country-forms.personal-data.rfc.placeholder': 'ej. XAXX010101000',\n 'country-forms.personal-data.rfcCorporate.label': 'RFC (persona moral)',\n 'country-forms.personal-data.rfcCorporate.placeholder': 'ej. ABC010101AB1',\n 'country-forms.personal-data.phone.placeholder.MEX': 'ej. (55) 1234 5678',\n\n // ── Validation messages ───────────────────────────────────────────────────\n 'country-forms.validation.required': 'Campo obligatorio. Ingresa tu {fieldName}.',\n 'country-forms.validation.invalid': '{fieldName} inválido. Llene el campo {fieldName} nuevamente.',\n 'country-forms.validation.maxLength': '{fieldName} debe tener hasta {maxLength} caracteres',\n 'country-forms.validation.postalCode.BRA': 'Ingrese un CEP válido (ej. 01310-100)',\n 'country-forms.validation.postalCode.USA': 'Ingrese un código ZIP válido (ej. 10001)',\n 'country-forms.validation.postalCode.CAN': 'Ingrese un código postal válido (ej. K1A 0A9)',\n 'country-forms.validation.postalCode.MEX': 'Ingrese un Código Postal válido (ej. 06600)',\n}\n\nexport default bundle\n"]}
|
|
@@ -22,6 +22,8 @@ var bundle = {
|
|
|
22
22
|
"country-forms.personal-data.contactType.phone": "Tel\xE9fono",
|
|
23
23
|
"country-forms.personal-data.email.label": "Correo electr\xF3nico",
|
|
24
24
|
"country-forms.personal-data.phone.label": "Tel\xE9fono",
|
|
25
|
+
"country-forms.personal-data.document.label": "Documento",
|
|
26
|
+
"country-forms.personal-data.documentType.label": "Tipo de documento",
|
|
25
27
|
// ── Personal data labels (BRA) ────────────────────────────────────────────
|
|
26
28
|
"country-forms.personal-data.personType.label": "Tipo de persona",
|
|
27
29
|
"country-forms.personal-data.personType.individual": "Persona f\xEDsica",
|
|
@@ -33,6 +35,24 @@ var bundle = {
|
|
|
33
35
|
"country-forms.personal-data.cnpj.label": "CNPJ",
|
|
34
36
|
"country-forms.personal-data.cnpj.placeholder": "ej. 11.222.333/0001-81",
|
|
35
37
|
"country-forms.personal-data.phone.placeholder.BRA": "ej. (11) 99999-9999",
|
|
38
|
+
// ── Personal data labels (USA) ────────────────────────────────────────────
|
|
39
|
+
"country-forms.personal-data.ssn.label": "N\xFAmero de Seguro Social (SSN)",
|
|
40
|
+
"country-forms.personal-data.ssn.placeholder": "ej. 123-45-6789",
|
|
41
|
+
"country-forms.personal-data.ein.label": "N\xFAmero de Identificaci\xF3n del Empleador (EIN)",
|
|
42
|
+
"country-forms.personal-data.ein.placeholder": "ej. 12-3456789",
|
|
43
|
+
"country-forms.personal-data.phone.placeholder.USA": "ej. (201) 555-0123",
|
|
44
|
+
// ── Personal data labels (CAN) ────────────────────────────────────────────
|
|
45
|
+
"country-forms.personal-data.sin.label": "N\xFAmero de Seguro Social (SIN)",
|
|
46
|
+
"country-forms.personal-data.sin.placeholder": "ej. 046-454-286",
|
|
47
|
+
"country-forms.personal-data.bn.label": "N\xFAmero de Empresa (BN)",
|
|
48
|
+
"country-forms.personal-data.bn.placeholder": "ej. 123456789",
|
|
49
|
+
"country-forms.personal-data.phone.placeholder.CAN": "ej. 613-555-0123",
|
|
50
|
+
// ── Personal data labels (MEX) ────────────────────────────────────────────
|
|
51
|
+
"country-forms.personal-data.rfc.label": "RFC (persona f\xEDsica)",
|
|
52
|
+
"country-forms.personal-data.rfc.placeholder": "ej. XAXX010101000",
|
|
53
|
+
"country-forms.personal-data.rfcCorporate.label": "RFC (persona moral)",
|
|
54
|
+
"country-forms.personal-data.rfcCorporate.placeholder": "ej. ABC010101AB1",
|
|
55
|
+
"country-forms.personal-data.phone.placeholder.MEX": "ej. (55) 1234 5678",
|
|
36
56
|
// ── Validation messages ───────────────────────────────────────────────────
|
|
37
57
|
"country-forms.validation.required": "Campo obligatorio. Ingresa tu {fieldName}.",
|
|
38
58
|
"country-forms.validation.invalid": "{fieldName} inv\xE1lido. Llene el campo {fieldName} nuevamente.",
|
|
@@ -45,5 +65,5 @@ var bundle = {
|
|
|
45
65
|
var es_MX_default = bundle;
|
|
46
66
|
|
|
47
67
|
export { es_MX_default as default };
|
|
48
|
-
//# sourceMappingURL=es-MX-
|
|
49
|
-
//# sourceMappingURL=es-MX-
|
|
68
|
+
//# sourceMappingURL=es-MX-R24GRBU5.mjs.map
|
|
69
|
+
//# sourceMappingURL=es-MX-R24GRBU5.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/i18n/messages/es-MX.ts"],"names":[],"mappings":";AAKA,IAAM,MAAA,GAAqB;AAAA;AAAA,EAEzB,wCAAA,EAA0C,kBAAA;AAAA,EAC1C,oCAAA,EAAsC,OAAA;AAAA,EACtC,0CAAA,EAA4C,uBAAA;AAAA,EAC5C,oCAAA,EAAsC,WAAA;AAAA,EACtC,wCAAA,EAA0C,wBAAA;AAAA,EAC1C,0CAAA,EAA4C,kBAAA;AAAA,EAC5C,kCAAA,EAAoC,QAAA;AAAA,EACpC,mCAAA,EAAqC,QAAA;AAAA;AAAA,EAErC,kDAAA,EAAoD,eAAA;AAAA,EACpD,kDAAA,EAAoD,2BAAA;AAAA,EACpD,kDAAA,EAAoD,aAAA;AAAA,EACpD,kDAAA,EAAoD,WAAA;AAAA;AAAA,EAGpD,6CAAA,EAA+C,QAAA;AAAA,EAC/C,4CAAA,EAA8C,UAAA;AAAA,EAC9C,+CAAA,EAAiD,oBAAA;AAAA,EACjD,+CAAA,EAAiD,uBAAA;AAAA,EACjD,+CAAA,EAAiD,aAAA;AAAA,EACjD,yCAAA,EAA2C,uBAAA;AAAA,EAC3C,yCAAA,EAA2C,aAAA;AAAA,EAC3C,4CAAA,EAA8C,WAAA;AAAA,EAC9C,gDAAA,EAAkD,mBAAA;AAAA;AAAA,EAGlD,8CAAA,EAAgD,iBAAA;AAAA,EAChD,mDAAA,EAAqD,mBAAA;AAAA,EACrD,iDAAA,EAAmD,qBAAA;AAAA,EACnD,wDAAA,EAA0D,QAAA;AAAA,EAC1D,sDAAA,EAAwD,iBAAA;AAAA,EACxD,uCAAA,EAAyC,KAAA;AAAA,EACzC,6CAAA,EAA+C,oBAAA;AAAA,EAC/C,wCAAA,EAA0C,MAAA;AAAA,EAC1C,8CAAA,EAAgD,wBAAA;AAAA,EAChD,mDAAA,EAAqD,qBAAA;AAAA;AAAA,EAGrD,uCAAA,EAAyC,kCAAA;AAAA,EACzC,6CAAA,EAA+C,iBAAA;AAAA,EAC/C,uCAAA,EAAyC,oDAAA;AAAA,EACzC,6CAAA,EAA+C,gBAAA;AAAA,EAC/C,mDAAA,EAAqD,oBAAA;AAAA;AAAA,EAGrD,uCAAA,EAAyC,kCAAA;AAAA,EACzC,6CAAA,EAA+C,iBAAA;AAAA,EAC/C,sCAAA,EAAwC,2BAAA;AAAA,EACxC,4CAAA,EAA8C,eAAA;AAAA,EAC9C,mDAAA,EAAqD,kBAAA;AAAA;AAAA,EAGrD,uCAAA,EAAyC,yBAAA;AAAA,EACzC,6CAAA,EAA+C,mBAAA;AAAA,EAC/C,gDAAA,EAAkD,qBAAA;AAAA,EAClD,sDAAA,EAAwD,kBAAA;AAAA,EACxD,mDAAA,EAAqD,oBAAA;AAAA;AAAA,EAGrD,mCAAA,EAAqC,4CAAA;AAAA,EACrC,kCAAA,EAAoC,iEAAA;AAAA,EACpC,oCAAA,EAAsC,qDAAA;AAAA,EACtC,yCAAA,EAA2C,0CAAA;AAAA,EAC3C,yCAAA,EAA2C,gDAAA;AAAA,EAC3C,yCAAA,EAA2C,qDAAA;AAAA,EAC3C,yCAAA,EAA2C;AAC7C,CAAA;AAEA,IAAO,aAAA,GAAQ","file":"es-MX-R24GRBU5.mjs","sourcesContent":["/**\n * Spanish (es-MX) i18n bundle — Mexican Spanish.\n */\nimport type { I18nBundle } from '../../types/i18n'\n\nconst bundle: I18nBundle = {\n // ── Address labels ────────────────────────────────────────────────────────\n 'country-forms.address.postalCode.label': 'Código postal',\n 'country-forms.address.street.label': 'Calle',\n 'country-forms.address.street.placeholder': 'Dirección completa',\n 'country-forms.address.number.label': 'Número',\n 'country-forms.address.complement.label': 'Complemento (opcional)',\n 'country-forms.address.neighborhood.label': 'Colonia / Barrio',\n 'country-forms.address.city.label': 'Ciudad',\n 'country-forms.address.state.label': 'Estado',\n // ── Address placeholders (per country) ────────────────────────────────────\n 'country-forms.address.postalCode.placeholder.BRA': 'ej. 01310-100',\n 'country-forms.address.postalCode.placeholder.USA': 'ej. 10001 ó 10001-1234',\n 'country-forms.address.postalCode.placeholder.CAN': 'ej. K1A 0A9',\n 'country-forms.address.postalCode.placeholder.MEX': 'ej. 06600',\n\n // ── Personal data labels (fallback) ─────────────────────────────────────\n 'country-forms.personal-data.firstName.label': 'Nombre',\n 'country-forms.personal-data.lastName.label': 'Apellido',\n 'country-forms.personal-data.contactType.label': 'Contacto preferido',\n 'country-forms.personal-data.contactType.email': 'Correo electrónico',\n 'country-forms.personal-data.contactType.phone': 'Teléfono',\n 'country-forms.personal-data.email.label': 'Correo electrónico',\n 'country-forms.personal-data.phone.label': 'Teléfono',\n 'country-forms.personal-data.document.label': 'Documento',\n 'country-forms.personal-data.documentType.label': 'Tipo de documento',\n\n // ── Personal data labels (BRA) ────────────────────────────────────────────\n 'country-forms.personal-data.personType.label': 'Tipo de persona',\n 'country-forms.personal-data.personType.individual': 'Persona física',\n 'country-forms.personal-data.personType.business': 'Persona jurídica',\n 'country-forms.personal-data.firstName.label.individual': 'Nombre',\n 'country-forms.personal-data.firstName.label.business': 'Razón social',\n 'country-forms.personal-data.cpf.label': 'CPF',\n 'country-forms.personal-data.cpf.placeholder': 'ej. 123.456.789-09',\n 'country-forms.personal-data.cnpj.label': 'CNPJ',\n 'country-forms.personal-data.cnpj.placeholder': 'ej. 11.222.333/0001-81',\n 'country-forms.personal-data.phone.placeholder.BRA': 'ej. (11) 99999-9999',\n\n // ── Personal data labels (USA) ────────────────────────────────────────────\n 'country-forms.personal-data.ssn.label': 'Número de Seguro Social (SSN)',\n 'country-forms.personal-data.ssn.placeholder': 'ej. 123-45-6789',\n 'country-forms.personal-data.ein.label': 'Número de Identificación del Empleador (EIN)',\n 'country-forms.personal-data.ein.placeholder': 'ej. 12-3456789',\n 'country-forms.personal-data.phone.placeholder.USA': 'ej. (201) 555-0123',\n\n // ── Personal data labels (CAN) ────────────────────────────────────────────\n 'country-forms.personal-data.sin.label': 'Número de Seguro Social (SIN)',\n 'country-forms.personal-data.sin.placeholder': 'ej. 046-454-286',\n 'country-forms.personal-data.bn.label': 'Número de Empresa (BN)',\n 'country-forms.personal-data.bn.placeholder': 'ej. 123456789',\n 'country-forms.personal-data.phone.placeholder.CAN': 'ej. 613-555-0123',\n\n // ── Personal data labels (MEX) ────────────────────────────────────────────\n 'country-forms.personal-data.rfc.label': 'RFC (persona física)',\n 'country-forms.personal-data.rfc.placeholder': 'ej. XAXX010101000',\n 'country-forms.personal-data.rfcCorporate.label': 'RFC (persona moral)',\n 'country-forms.personal-data.rfcCorporate.placeholder': 'ej. ABC010101AB1',\n 'country-forms.personal-data.phone.placeholder.MEX': 'ej. (55) 1234 5678',\n\n // ── Validation messages ───────────────────────────────────────────────────\n 'country-forms.validation.required': 'Campo obligatorio. Ingresa tu {fieldName}.',\n 'country-forms.validation.invalid': '{fieldName} inválido. Llene el campo {fieldName} nuevamente.',\n 'country-forms.validation.maxLength': '{fieldName} debe tener hasta {maxLength} caracteres',\n 'country-forms.validation.postalCode.BRA': 'Ingrese un CEP válido (ej. 01310-100)',\n 'country-forms.validation.postalCode.USA': 'Ingrese un código ZIP válido (ej. 10001)',\n 'country-forms.validation.postalCode.CAN': 'Ingrese un código postal válido (ej. K1A 0A9)',\n 'country-forms.validation.postalCode.MEX': 'Ingrese un Código Postal válido (ej. 06600)',\n}\n\nexport default bundle\n"]}
|
|
@@ -22,6 +22,8 @@ var bundle = {
|
|
|
22
22
|
"country-forms.personal-data.contactType.phone": "T\xE9l\xE9phone",
|
|
23
23
|
"country-forms.personal-data.email.label": "E-mail",
|
|
24
24
|
"country-forms.personal-data.phone.label": "T\xE9l\xE9phone",
|
|
25
|
+
"country-forms.personal-data.document.label": "Document",
|
|
26
|
+
"country-forms.personal-data.documentType.label": "Type de document",
|
|
25
27
|
// ── Personal data labels (BRA) ────────────────────────────────────────────
|
|
26
28
|
"country-forms.personal-data.personType.label": "Type de personne",
|
|
27
29
|
"country-forms.personal-data.personType.individual": "Personne physique",
|
|
@@ -33,6 +35,24 @@ var bundle = {
|
|
|
33
35
|
"country-forms.personal-data.cnpj.label": "CNPJ",
|
|
34
36
|
"country-forms.personal-data.cnpj.placeholder": "ex. 11.222.333/0001-81",
|
|
35
37
|
"country-forms.personal-data.phone.placeholder.BRA": "ex. (11) 99999-9999",
|
|
38
|
+
// ── Personal data labels (USA) ────────────────────────────────────────────
|
|
39
|
+
"country-forms.personal-data.ssn.label": "Num\xE9ro de s\xE9curit\xE9 sociale (SSN)",
|
|
40
|
+
"country-forms.personal-data.ssn.placeholder": "ex. 123-45-6789",
|
|
41
|
+
"country-forms.personal-data.ein.label": "Num\xE9ro d'identification d'employeur (EIN)",
|
|
42
|
+
"country-forms.personal-data.ein.placeholder": "ex. 12-3456789",
|
|
43
|
+
"country-forms.personal-data.phone.placeholder.USA": "ex. (201) 555-0123",
|
|
44
|
+
// ── Personal data labels (CAN) ────────────────────────────────────────────
|
|
45
|
+
"country-forms.personal-data.sin.label": "Num\xE9ro d'assurance sociale (SIN)",
|
|
46
|
+
"country-forms.personal-data.sin.placeholder": "ex. 046-454-286",
|
|
47
|
+
"country-forms.personal-data.bn.label": "Num\xE9ro d'entreprise (BN)",
|
|
48
|
+
"country-forms.personal-data.bn.placeholder": "ex. 123456789",
|
|
49
|
+
"country-forms.personal-data.phone.placeholder.CAN": "ex. 613-555-0123",
|
|
50
|
+
// ── Personal data labels (MEX) ────────────────────────────────────────────
|
|
51
|
+
"country-forms.personal-data.rfc.label": "RFC (personne physique)",
|
|
52
|
+
"country-forms.personal-data.rfc.placeholder": "ex. XAXX010101000",
|
|
53
|
+
"country-forms.personal-data.rfcCorporate.label": "RFC (personne morale)",
|
|
54
|
+
"country-forms.personal-data.rfcCorporate.placeholder": "ex. ABC010101AB1",
|
|
55
|
+
"country-forms.personal-data.phone.placeholder.MEX": "ex. (55) 1234 5678",
|
|
36
56
|
// ── Validation messages ───────────────────────────────────────────────────
|
|
37
57
|
"country-forms.validation.required": "Champ obligatoire. Saisissez votre {fieldName}.",
|
|
38
58
|
"country-forms.validation.invalid": "{fieldName} invalide. Remplissez \xE0 nouveau le champ {fieldName}.",
|
|
@@ -45,5 +65,5 @@ var bundle = {
|
|
|
45
65
|
var fr_FR_default = bundle;
|
|
46
66
|
|
|
47
67
|
export { fr_FR_default as default };
|
|
48
|
-
//# sourceMappingURL=fr-FR-
|
|
49
|
-
//# sourceMappingURL=fr-FR-
|
|
68
|
+
//# sourceMappingURL=fr-FR-N4WJAN23.mjs.map
|
|
69
|
+
//# sourceMappingURL=fr-FR-N4WJAN23.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/i18n/messages/fr-FR.ts"],"names":[],"mappings":";AAKA,IAAM,MAAA,GAAqB;AAAA;AAAA,EAEzB,wCAAA,EAA0C,aAAA;AAAA,EAC1C,oCAAA,EAAsC,eAAA;AAAA,EACtC,0CAAA,EAA4C,qBAAA;AAAA,EAC5C,oCAAA,EAAsC,WAAA;AAAA,EACtC,wCAAA,EAA0C,4BAAA;AAAA,EAC1C,0CAAA,EAA4C,UAAA;AAAA,EAC5C,kCAAA,EAAoC,OAAA;AAAA,EACpC,mCAAA,EAAqC,SAAA;AAAA;AAAA,EAErC,kDAAA,EAAoD,eAAA;AAAA,EACpD,kDAAA,EAAoD,yBAAA;AAAA,EACpD,kDAAA,EAAoD,aAAA;AAAA,EACpD,kDAAA,EAAoD,WAAA;AAAA;AAAA,EAGpD,6CAAA,EAA+C,WAAA;AAAA,EAC/C,4CAAA,EAA8C,KAAA;AAAA,EAC9C,+CAAA,EAAiD,0BAAA;AAAA,EACjD,+CAAA,EAAiD,QAAA;AAAA,EACjD,+CAAA,EAAiD,iBAAA;AAAA,EACjD,yCAAA,EAA2C,QAAA;AAAA,EAC3C,yCAAA,EAA2C,iBAAA;AAAA,EAC3C,4CAAA,EAA8C,UAAA;AAAA,EAC9C,gDAAA,EAAkD,kBAAA;AAAA;AAAA,EAGlD,8CAAA,EAAgD,kBAAA;AAAA,EAChD,mDAAA,EAAqD,mBAAA;AAAA,EACrD,iDAAA,EAAmD,iBAAA;AAAA,EACnD,wDAAA,EAA0D,WAAA;AAAA,EAC1D,sDAAA,EAAwD,gBAAA;AAAA,EACxD,uCAAA,EAAyC,KAAA;AAAA,EACzC,6CAAA,EAA+C,oBAAA;AAAA,EAC/C,wCAAA,EAA0C,MAAA;AAAA,EAC1C,8CAAA,EAAgD,wBAAA;AAAA,EAChD,mDAAA,EAAqD,qBAAA;AAAA;AAAA,EAGrD,uCAAA,EAAyC,2CAAA;AAAA,EACzC,6CAAA,EAA+C,iBAAA;AAAA,EAC/C,uCAAA,EAAyC,8CAAA;AAAA,EACzC,6CAAA,EAA+C,gBAAA;AAAA,EAC/C,mDAAA,EAAqD,oBAAA;AAAA;AAAA,EAGrD,uCAAA,EAAyC,qCAAA;AAAA,EACzC,6CAAA,EAA+C,iBAAA;AAAA,EAC/C,sCAAA,EAAwC,6BAAA;AAAA,EACxC,4CAAA,EAA8C,eAAA;AAAA,EAC9C,mDAAA,EAAqD,kBAAA;AAAA;AAAA,EAGrD,uCAAA,EAAyC,yBAAA;AAAA,EACzC,6CAAA,EAA+C,mBAAA;AAAA,EAC/C,gDAAA,EAAkD,uBAAA;AAAA,EAClD,sDAAA,EAAwD,kBAAA;AAAA,EACxD,mDAAA,EAAqD,oBAAA;AAAA;AAAA,EAGrD,mCAAA,EAAqC,iDAAA;AAAA,EACrC,kCAAA,EAAoC,qEAAA;AAAA,EACpC,oCAAA,EAAsC,8DAAA;AAAA,EACtC,yCAAA,EAA2C,sCAAA;AAAA,EAC3C,yCAAA,EAA2C,uCAAA;AAAA,EAC3C,yCAAA,EAA2C,4CAAA;AAAA,EAC3C,yCAAA,EAA2C;AAC7C,CAAA;AAEA,IAAO,aAAA,GAAQ","file":"fr-FR-N4WJAN23.mjs","sourcesContent":["/**\n * French (fr-FR) i18n bundle.\n */\nimport type { I18nBundle } from '../../types/i18n'\n\nconst bundle: I18nBundle = {\n // ── Address labels ────────────────────────────────────────────────────────\n 'country-forms.address.postalCode.label': 'Code postal',\n 'country-forms.address.street.label': 'Nom de la rue',\n 'country-forms.address.street.placeholder': 'Adresse complète',\n 'country-forms.address.number.label': 'Numéro',\n 'country-forms.address.complement.label': 'Complément (facultatif)',\n 'country-forms.address.neighborhood.label': 'Quartier',\n 'country-forms.address.city.label': 'Ville',\n 'country-forms.address.state.label': 'État',\n // ── Address placeholders (per country) ────────────────────────────────────\n 'country-forms.address.postalCode.placeholder.BRA': 'ex. 01310-100',\n 'country-forms.address.postalCode.placeholder.USA': 'ex. 10001 ou 10001-1234',\n 'country-forms.address.postalCode.placeholder.CAN': 'ex. K1A 0A9',\n 'country-forms.address.postalCode.placeholder.MEX': 'ex. 06600',\n\n // ── Personal data labels (fallback) ─────────────────────────────────────\n 'country-forms.personal-data.firstName.label': 'Prénom',\n 'country-forms.personal-data.lastName.label': 'Nom',\n 'country-forms.personal-data.contactType.label': 'Contact préféré',\n 'country-forms.personal-data.contactType.email': 'E-mail',\n 'country-forms.personal-data.contactType.phone': 'Téléphone',\n 'country-forms.personal-data.email.label': 'E-mail',\n 'country-forms.personal-data.phone.label': 'Téléphone',\n 'country-forms.personal-data.document.label': 'Document',\n 'country-forms.personal-data.documentType.label': 'Type de document',\n\n // ── Personal data labels (BRA) ────────────────────────────────────────────\n 'country-forms.personal-data.personType.label': 'Type de personne',\n 'country-forms.personal-data.personType.individual': 'Personne physique',\n 'country-forms.personal-data.personType.business': 'Personne morale',\n 'country-forms.personal-data.firstName.label.individual': 'Prénom',\n 'country-forms.personal-data.firstName.label.business': 'Raison sociale',\n 'country-forms.personal-data.cpf.label': 'CPF',\n 'country-forms.personal-data.cpf.placeholder': 'ex. 123.456.789-09',\n 'country-forms.personal-data.cnpj.label': 'CNPJ',\n 'country-forms.personal-data.cnpj.placeholder': 'ex. 11.222.333/0001-81',\n 'country-forms.personal-data.phone.placeholder.BRA': 'ex. (11) 99999-9999',\n\n // ── Personal data labels (USA) ────────────────────────────────────────────\n 'country-forms.personal-data.ssn.label': 'Numéro de sécurité sociale (SSN)',\n 'country-forms.personal-data.ssn.placeholder': 'ex. 123-45-6789',\n 'country-forms.personal-data.ein.label': \"Numéro d'identification d'employeur (EIN)\",\n 'country-forms.personal-data.ein.placeholder': 'ex. 12-3456789',\n 'country-forms.personal-data.phone.placeholder.USA': 'ex. (201) 555-0123',\n\n // ── Personal data labels (CAN) ────────────────────────────────────────────\n 'country-forms.personal-data.sin.label': \"Numéro d'assurance sociale (SIN)\",\n 'country-forms.personal-data.sin.placeholder': 'ex. 046-454-286',\n 'country-forms.personal-data.bn.label': \"Numéro d'entreprise (BN)\",\n 'country-forms.personal-data.bn.placeholder': 'ex. 123456789',\n 'country-forms.personal-data.phone.placeholder.CAN': 'ex. 613-555-0123',\n\n // ── Personal data labels (MEX) ────────────────────────────────────────────\n 'country-forms.personal-data.rfc.label': 'RFC (personne physique)',\n 'country-forms.personal-data.rfc.placeholder': 'ex. XAXX010101000',\n 'country-forms.personal-data.rfcCorporate.label': 'RFC (personne morale)',\n 'country-forms.personal-data.rfcCorporate.placeholder': 'ex. ABC010101AB1',\n 'country-forms.personal-data.phone.placeholder.MEX': 'ex. (55) 1234 5678',\n\n // ── Validation messages ───────────────────────────────────────────────────\n 'country-forms.validation.required': 'Champ obligatoire. Saisissez votre {fieldName}.',\n 'country-forms.validation.invalid': '{fieldName} invalide. Remplissez à nouveau le champ {fieldName}.',\n 'country-forms.validation.maxLength': '{fieldName} doit comporter au plus {maxLength} caractères',\n 'country-forms.validation.postalCode.BRA': 'Entrez un CEP valide (ex. 01310-100)',\n 'country-forms.validation.postalCode.USA': 'Entrez un code ZIP valide (ex. 10001)',\n 'country-forms.validation.postalCode.CAN': 'Entrez un code postal valide (ex. K1A 0A9)',\n 'country-forms.validation.postalCode.MEX': 'Entrez un Código Postal valide (ex. 06600)',\n}\n\nexport default bundle\n"]}
|
|
@@ -24,6 +24,8 @@ var bundle = {
|
|
|
24
24
|
"country-forms.personal-data.contactType.phone": "T\xE9l\xE9phone",
|
|
25
25
|
"country-forms.personal-data.email.label": "E-mail",
|
|
26
26
|
"country-forms.personal-data.phone.label": "T\xE9l\xE9phone",
|
|
27
|
+
"country-forms.personal-data.document.label": "Document",
|
|
28
|
+
"country-forms.personal-data.documentType.label": "Type de document",
|
|
27
29
|
// ── Personal data labels (BRA) ────────────────────────────────────────────
|
|
28
30
|
"country-forms.personal-data.personType.label": "Type de personne",
|
|
29
31
|
"country-forms.personal-data.personType.individual": "Personne physique",
|
|
@@ -35,6 +37,24 @@ var bundle = {
|
|
|
35
37
|
"country-forms.personal-data.cnpj.label": "CNPJ",
|
|
36
38
|
"country-forms.personal-data.cnpj.placeholder": "ex. 11.222.333/0001-81",
|
|
37
39
|
"country-forms.personal-data.phone.placeholder.BRA": "ex. (11) 99999-9999",
|
|
40
|
+
// ── Personal data labels (USA) ────────────────────────────────────────────
|
|
41
|
+
"country-forms.personal-data.ssn.label": "Num\xE9ro de s\xE9curit\xE9 sociale (SSN)",
|
|
42
|
+
"country-forms.personal-data.ssn.placeholder": "ex. 123-45-6789",
|
|
43
|
+
"country-forms.personal-data.ein.label": "Num\xE9ro d'identification d'employeur (EIN)",
|
|
44
|
+
"country-forms.personal-data.ein.placeholder": "ex. 12-3456789",
|
|
45
|
+
"country-forms.personal-data.phone.placeholder.USA": "ex. (201) 555-0123",
|
|
46
|
+
// ── Personal data labels (CAN) ────────────────────────────────────────────
|
|
47
|
+
"country-forms.personal-data.sin.label": "Num\xE9ro d'assurance sociale (SIN)",
|
|
48
|
+
"country-forms.personal-data.sin.placeholder": "ex. 046-454-286",
|
|
49
|
+
"country-forms.personal-data.bn.label": "Num\xE9ro d'entreprise (BN)",
|
|
50
|
+
"country-forms.personal-data.bn.placeholder": "ex. 123456789",
|
|
51
|
+
"country-forms.personal-data.phone.placeholder.CAN": "ex. 613-555-0123",
|
|
52
|
+
// ── Personal data labels (MEX) ────────────────────────────────────────────
|
|
53
|
+
"country-forms.personal-data.rfc.label": "RFC (personne physique)",
|
|
54
|
+
"country-forms.personal-data.rfc.placeholder": "ex. XAXX010101000",
|
|
55
|
+
"country-forms.personal-data.rfcCorporate.label": "RFC (personne morale)",
|
|
56
|
+
"country-forms.personal-data.rfcCorporate.placeholder": "ex. ABC010101AB1",
|
|
57
|
+
"country-forms.personal-data.phone.placeholder.MEX": "ex. (55) 1234 5678",
|
|
38
58
|
// ── Validation messages ───────────────────────────────────────────────────
|
|
39
59
|
"country-forms.validation.required": "Champ obligatoire. Saisissez votre {fieldName}.",
|
|
40
60
|
"country-forms.validation.invalid": "{fieldName} invalide. Remplissez \xE0 nouveau le champ {fieldName}.",
|
|
@@ -47,5 +67,5 @@ var bundle = {
|
|
|
47
67
|
var fr_FR_default = bundle;
|
|
48
68
|
|
|
49
69
|
module.exports = fr_FR_default;
|
|
50
|
-
//# sourceMappingURL=fr-FR-
|
|
51
|
-
//# sourceMappingURL=fr-FR-
|
|
70
|
+
//# sourceMappingURL=fr-FR-WZBI6O4O.js.map
|
|
71
|
+
//# sourceMappingURL=fr-FR-WZBI6O4O.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/i18n/messages/fr-FR.ts"],"names":[],"mappings":";;;AAKA,IAAM,MAAA,GAAqB;AAAA;AAAA,EAEzB,wCAAA,EAA0C,aAAA;AAAA,EAC1C,oCAAA,EAAsC,eAAA;AAAA,EACtC,0CAAA,EAA4C,qBAAA;AAAA,EAC5C,oCAAA,EAAsC,WAAA;AAAA,EACtC,wCAAA,EAA0C,4BAAA;AAAA,EAC1C,0CAAA,EAA4C,UAAA;AAAA,EAC5C,kCAAA,EAAoC,OAAA;AAAA,EACpC,mCAAA,EAAqC,SAAA;AAAA;AAAA,EAErC,kDAAA,EAAoD,eAAA;AAAA,EACpD,kDAAA,EAAoD,yBAAA;AAAA,EACpD,kDAAA,EAAoD,aAAA;AAAA,EACpD,kDAAA,EAAoD,WAAA;AAAA;AAAA,EAGpD,6CAAA,EAA+C,WAAA;AAAA,EAC/C,4CAAA,EAA8C,KAAA;AAAA,EAC9C,+CAAA,EAAiD,0BAAA;AAAA,EACjD,+CAAA,EAAiD,QAAA;AAAA,EACjD,+CAAA,EAAiD,iBAAA;AAAA,EACjD,yCAAA,EAA2C,QAAA;AAAA,EAC3C,yCAAA,EAA2C,iBAAA;AAAA,EAC3C,4CAAA,EAA8C,UAAA;AAAA,EAC9C,gDAAA,EAAkD,kBAAA;AAAA;AAAA,EAGlD,8CAAA,EAAgD,kBAAA;AAAA,EAChD,mDAAA,EAAqD,mBAAA;AAAA,EACrD,iDAAA,EAAmD,iBAAA;AAAA,EACnD,wDAAA,EAA0D,WAAA;AAAA,EAC1D,sDAAA,EAAwD,gBAAA;AAAA,EACxD,uCAAA,EAAyC,KAAA;AAAA,EACzC,6CAAA,EAA+C,oBAAA;AAAA,EAC/C,wCAAA,EAA0C,MAAA;AAAA,EAC1C,8CAAA,EAAgD,wBAAA;AAAA,EAChD,mDAAA,EAAqD,qBAAA;AAAA;AAAA,EAGrD,uCAAA,EAAyC,2CAAA;AAAA,EACzC,6CAAA,EAA+C,iBAAA;AAAA,EAC/C,uCAAA,EAAyC,8CAAA;AAAA,EACzC,6CAAA,EAA+C,gBAAA;AAAA,EAC/C,mDAAA,EAAqD,oBAAA;AAAA;AAAA,EAGrD,uCAAA,EAAyC,qCAAA;AAAA,EACzC,6CAAA,EAA+C,iBAAA;AAAA,EAC/C,sCAAA,EAAwC,6BAAA;AAAA,EACxC,4CAAA,EAA8C,eAAA;AAAA,EAC9C,mDAAA,EAAqD,kBAAA;AAAA;AAAA,EAGrD,uCAAA,EAAyC,yBAAA;AAAA,EACzC,6CAAA,EAA+C,mBAAA;AAAA,EAC/C,gDAAA,EAAkD,uBAAA;AAAA,EAClD,sDAAA,EAAwD,kBAAA;AAAA,EACxD,mDAAA,EAAqD,oBAAA;AAAA;AAAA,EAGrD,mCAAA,EAAqC,iDAAA;AAAA,EACrC,kCAAA,EAAoC,qEAAA;AAAA,EACpC,oCAAA,EAAsC,8DAAA;AAAA,EACtC,yCAAA,EAA2C,sCAAA;AAAA,EAC3C,yCAAA,EAA2C,uCAAA;AAAA,EAC3C,yCAAA,EAA2C,4CAAA;AAAA,EAC3C,yCAAA,EAA2C;AAC7C,CAAA;AAEA,IAAO,aAAA,GAAQ","file":"fr-FR-WZBI6O4O.js","sourcesContent":["/**\n * French (fr-FR) i18n bundle.\n */\nimport type { I18nBundle } from '../../types/i18n'\n\nconst bundle: I18nBundle = {\n // ── Address labels ────────────────────────────────────────────────────────\n 'country-forms.address.postalCode.label': 'Code postal',\n 'country-forms.address.street.label': 'Nom de la rue',\n 'country-forms.address.street.placeholder': 'Adresse complète',\n 'country-forms.address.number.label': 'Numéro',\n 'country-forms.address.complement.label': 'Complément (facultatif)',\n 'country-forms.address.neighborhood.label': 'Quartier',\n 'country-forms.address.city.label': 'Ville',\n 'country-forms.address.state.label': 'État',\n // ── Address placeholders (per country) ────────────────────────────────────\n 'country-forms.address.postalCode.placeholder.BRA': 'ex. 01310-100',\n 'country-forms.address.postalCode.placeholder.USA': 'ex. 10001 ou 10001-1234',\n 'country-forms.address.postalCode.placeholder.CAN': 'ex. K1A 0A9',\n 'country-forms.address.postalCode.placeholder.MEX': 'ex. 06600',\n\n // ── Personal data labels (fallback) ─────────────────────────────────────\n 'country-forms.personal-data.firstName.label': 'Prénom',\n 'country-forms.personal-data.lastName.label': 'Nom',\n 'country-forms.personal-data.contactType.label': 'Contact préféré',\n 'country-forms.personal-data.contactType.email': 'E-mail',\n 'country-forms.personal-data.contactType.phone': 'Téléphone',\n 'country-forms.personal-data.email.label': 'E-mail',\n 'country-forms.personal-data.phone.label': 'Téléphone',\n 'country-forms.personal-data.document.label': 'Document',\n 'country-forms.personal-data.documentType.label': 'Type de document',\n\n // ── Personal data labels (BRA) ────────────────────────────────────────────\n 'country-forms.personal-data.personType.label': 'Type de personne',\n 'country-forms.personal-data.personType.individual': 'Personne physique',\n 'country-forms.personal-data.personType.business': 'Personne morale',\n 'country-forms.personal-data.firstName.label.individual': 'Prénom',\n 'country-forms.personal-data.firstName.label.business': 'Raison sociale',\n 'country-forms.personal-data.cpf.label': 'CPF',\n 'country-forms.personal-data.cpf.placeholder': 'ex. 123.456.789-09',\n 'country-forms.personal-data.cnpj.label': 'CNPJ',\n 'country-forms.personal-data.cnpj.placeholder': 'ex. 11.222.333/0001-81',\n 'country-forms.personal-data.phone.placeholder.BRA': 'ex. (11) 99999-9999',\n\n // ── Personal data labels (USA) ────────────────────────────────────────────\n 'country-forms.personal-data.ssn.label': 'Numéro de sécurité sociale (SSN)',\n 'country-forms.personal-data.ssn.placeholder': 'ex. 123-45-6789',\n 'country-forms.personal-data.ein.label': \"Numéro d'identification d'employeur (EIN)\",\n 'country-forms.personal-data.ein.placeholder': 'ex. 12-3456789',\n 'country-forms.personal-data.phone.placeholder.USA': 'ex. (201) 555-0123',\n\n // ── Personal data labels (CAN) ────────────────────────────────────────────\n 'country-forms.personal-data.sin.label': \"Numéro d'assurance sociale (SIN)\",\n 'country-forms.personal-data.sin.placeholder': 'ex. 046-454-286',\n 'country-forms.personal-data.bn.label': \"Numéro d'entreprise (BN)\",\n 'country-forms.personal-data.bn.placeholder': 'ex. 123456789',\n 'country-forms.personal-data.phone.placeholder.CAN': 'ex. 613-555-0123',\n\n // ── Personal data labels (MEX) ────────────────────────────────────────────\n 'country-forms.personal-data.rfc.label': 'RFC (personne physique)',\n 'country-forms.personal-data.rfc.placeholder': 'ex. XAXX010101000',\n 'country-forms.personal-data.rfcCorporate.label': 'RFC (personne morale)',\n 'country-forms.personal-data.rfcCorporate.placeholder': 'ex. ABC010101AB1',\n 'country-forms.personal-data.phone.placeholder.MEX': 'ex. (55) 1234 5678',\n\n // ── Validation messages ───────────────────────────────────────────────────\n 'country-forms.validation.required': 'Champ obligatoire. Saisissez votre {fieldName}.',\n 'country-forms.validation.invalid': '{fieldName} invalide. Remplissez à nouveau le champ {fieldName}.',\n 'country-forms.validation.maxLength': '{fieldName} doit comporter au plus {maxLength} caractères',\n 'country-forms.validation.postalCode.BRA': 'Entrez un CEP valide (ex. 01310-100)',\n 'country-forms.validation.postalCode.USA': 'Entrez un code ZIP valide (ex. 10001)',\n 'country-forms.validation.postalCode.CAN': 'Entrez un code postal valide (ex. K1A 0A9)',\n 'country-forms.validation.postalCode.MEX': 'Entrez un Código Postal valide (ex. 06600)',\n}\n\nexport default bundle\n"]}
|
package/dist/index.d.mts
CHANGED
|
@@ -188,6 +188,93 @@ interface FieldDefinition {
|
|
|
188
188
|
* }
|
|
189
189
|
*/
|
|
190
190
|
conditionalOptions?: Record<string, SelectOption[] | string>;
|
|
191
|
+
/**
|
|
192
|
+
* Map from a controller field's value to a validator name for this field.
|
|
193
|
+
* Used when a single field validates differently depending on another field's
|
|
194
|
+
* selection — e.g. a `document` field validated as a CPF for individuals and as
|
|
195
|
+
* a CNPJ for businesses.
|
|
196
|
+
*
|
|
197
|
+
* Requires {@link FieldDefinition.dependsOn} to identify the controller field.
|
|
198
|
+
* When a matching key exists for the current controller value, it overrides
|
|
199
|
+
* {@link ValidationRules.customValidator}. Resolve the effective validator with
|
|
200
|
+
* `resolveFieldValidator(field, values)`.
|
|
201
|
+
*
|
|
202
|
+
* @example
|
|
203
|
+
* dependsOn: "personType"
|
|
204
|
+
* conditionalValidator: { individual: "validateCPF", business: "validateCNPJ" }
|
|
205
|
+
*
|
|
206
|
+
* @remarks
|
|
207
|
+
* Declaring this property also opts the field into automatic reset: `setValue`
|
|
208
|
+
* clears the field's value to `''` whenever the controller ({@link FieldDefinition.dependsOn})
|
|
209
|
+
* changes, because the validation domain — and therefore any previously entered
|
|
210
|
+
* value — is no longer guaranteed to be valid (e.g. a CPF is not a valid CNPJ).
|
|
211
|
+
* If a future field needs a conditional validator *without* this reset, add a
|
|
212
|
+
* dedicated opt-out flag rather than relying on the absence of this behavior.
|
|
213
|
+
*/
|
|
214
|
+
conditionalValidator?: Record<string, string>;
|
|
215
|
+
/**
|
|
216
|
+
* Map from a controller field's value to a format function name for this field.
|
|
217
|
+
* Same semantics as {@link FieldDefinition.conditionalValidator} but for the mask
|
|
218
|
+
* applied on display. Overrides {@link FieldDefinition.formatRef} when a key
|
|
219
|
+
* matches. Resolve the effective ref with `resolveFieldFormatRef(field, values)`.
|
|
220
|
+
*
|
|
221
|
+
* A missing key falls back to {@link FieldDefinition.formatRef} (or identity when
|
|
222
|
+
* neither is set), so a controller value with no mask is valid.
|
|
223
|
+
*
|
|
224
|
+
* @example
|
|
225
|
+
* dependsOn: "personType"
|
|
226
|
+
* conditionalFormatRef: { individual: "formatCPF", business: "formatCNPJ" }
|
|
227
|
+
*/
|
|
228
|
+
conditionalFormatRef?: Record<string, string>;
|
|
229
|
+
/**
|
|
230
|
+
* Map from a controller field's value to an unformat function name for this field.
|
|
231
|
+
* Symmetric to {@link FieldDefinition.conditionalFormatRef}. Overrides
|
|
232
|
+
* {@link FieldDefinition.unformatRef} when a key matches. Resolve the effective ref
|
|
233
|
+
* with `resolveFieldUnformatRef(field, values)`.
|
|
234
|
+
*
|
|
235
|
+
* @example
|
|
236
|
+
* dependsOn: "personType"
|
|
237
|
+
* conditionalUnformatRef: { individual: "unformatCPF", business: "unformatCNPJ" }
|
|
238
|
+
*/
|
|
239
|
+
conditionalUnformatRef?: Record<string, string>;
|
|
240
|
+
/**
|
|
241
|
+
* Map from a controller field's value to an {@link InputMode} for this field.
|
|
242
|
+
* Same semantics as {@link FieldDefinition.conditionalValidator} but for the
|
|
243
|
+
* mobile virtual-keyboard hint. Overrides {@link FieldDefinition.inputMode} when
|
|
244
|
+
* a key matches. Resolve the effective value with `resolveFieldInputMode(field, values)`.
|
|
245
|
+
*
|
|
246
|
+
* Useful when a single field expects different input per controller value — e.g.
|
|
247
|
+
* a numeric keyboard for a numeric CPF (individual) but a text keyboard for an
|
|
248
|
+
* alphanumeric CNPJ (business).
|
|
249
|
+
*
|
|
250
|
+
* @example
|
|
251
|
+
* dependsOn: "personType"
|
|
252
|
+
* conditionalInputMode: { individual: "numeric", business: "text" }
|
|
253
|
+
*/
|
|
254
|
+
conditionalInputMode?: Record<string, InputMode>;
|
|
255
|
+
/**
|
|
256
|
+
* Name of the sibling field that drives {@link FieldDefinition.derivedValue}.
|
|
257
|
+
*
|
|
258
|
+
* A field with `derivedFrom` is **data-only**: its value is computed automatically
|
|
259
|
+
* from the controller and it is never rendered (excluded from `getVisibleFields`)
|
|
260
|
+
* nor validated. It exists so the form state matches the API payload shape — e.g.
|
|
261
|
+
* a `documentType` field derived from `personType` so submissions carry both
|
|
262
|
+
* `document` and `documentType`.
|
|
263
|
+
*
|
|
264
|
+
* @example "personType"
|
|
265
|
+
*/
|
|
266
|
+
derivedFrom?: string;
|
|
267
|
+
/**
|
|
268
|
+
* Map from the {@link FieldDefinition.derivedFrom} controller value to this
|
|
269
|
+
* field's automatically-maintained value. `createFormState` seeds it and
|
|
270
|
+
* `setValue` recomputes it whenever the controller changes. A controller value
|
|
271
|
+
* with no entry resolves to `""`.
|
|
272
|
+
*
|
|
273
|
+
* @example
|
|
274
|
+
* derivedFrom: "personType"
|
|
275
|
+
* derivedValue: { individual: "cpf", business: "cnpj" }
|
|
276
|
+
*/
|
|
277
|
+
derivedValue?: Record<string, string>;
|
|
191
278
|
/**
|
|
192
279
|
* Declarative visibility condition.
|
|
193
280
|
* When present, the field is shown and validated only while the condition is `true`.
|
|
@@ -214,8 +301,9 @@ interface FieldDefinition {
|
|
|
214
301
|
conditionalPlaceholder?: Record<string, string>;
|
|
215
302
|
/**
|
|
216
303
|
* Name of the sibling field that drives {@link FieldDefinition.conditionalLabel},
|
|
217
|
-
* {@link FieldDefinition.conditionalPlaceholder},
|
|
218
|
-
* {@link FieldDefinition.
|
|
304
|
+
* {@link FieldDefinition.conditionalPlaceholder}, {@link FieldDefinition.conditionalOptions},
|
|
305
|
+
* {@link FieldDefinition.conditionalValidator}, {@link FieldDefinition.conditionalFormatRef},
|
|
306
|
+
* {@link FieldDefinition.conditionalUnformatRef}, and {@link FieldDefinition.conditionalInputMode}.
|
|
219
307
|
* Required when any of those properties is set.
|
|
220
308
|
* @example "personType", "state"
|
|
221
309
|
*/
|
|
@@ -467,9 +555,15 @@ declare function createFormState(schema: FormSchema, defaults?: Partial<FormValu
|
|
|
467
555
|
* The updated field is automatically marked as `touched: true`.
|
|
468
556
|
*
|
|
469
557
|
* When the changed field is referenced by another field's `dependsOn` and that
|
|
470
|
-
* field has `conditionalOptions`, the dependent field's
|
|
471
|
-
* reset to `''`. This prevents stale values when the
|
|
472
|
-
*
|
|
558
|
+
* field has `conditionalOptions` or `conditionalValidator`, the dependent field's
|
|
559
|
+
* value is automatically reset to `''`. This prevents stale values when the
|
|
560
|
+
* controller field changes — e.g. selecting a different state clears the previously
|
|
561
|
+
* selected city, or switching `personType` clears the `document` whose validator
|
|
562
|
+
* (CPF vs CNPJ) just changed.
|
|
563
|
+
*
|
|
564
|
+
* Derived, data-only fields ({@link FieldDefinition.derivedFrom}) referencing the
|
|
565
|
+
* changed field are recomputed from their `derivedValue` map (e.g. `documentType`
|
|
566
|
+
* follows `personType`).
|
|
473
567
|
*
|
|
474
568
|
* Existing errors are preserved so the consumer can decide when to re-validate.
|
|
475
569
|
* To clear all errors after a change, spread: `{ ...setValue(state, schema, f, v), errors: {} }`.
|
|
@@ -687,6 +781,83 @@ declare function unformatValue(ref: string | undefined, value: string): string;
|
|
|
687
781
|
*/
|
|
688
782
|
declare function resolveFieldOptions(field: FieldDefinition, values: FormValues): SelectOption[] | null;
|
|
689
783
|
|
|
784
|
+
/**
|
|
785
|
+
* @module engine/resolveField
|
|
786
|
+
*
|
|
787
|
+
* Resolvers for fields whose label, placeholder, validator, or mask change based
|
|
788
|
+
* on a sibling controller field (declared via `dependsOn`).
|
|
789
|
+
*
|
|
790
|
+
* These mirror {@link resolveFieldOptions}: each resolver looks up the controller
|
|
791
|
+
* value in the field's conditional map and falls back to the field's static
|
|
792
|
+
* property when no entry matches. They let a single field — e.g. a `document`
|
|
793
|
+
* field — behave as a CPF for individuals and a CNPJ for businesses without the
|
|
794
|
+
* consumer hard-coding the mapping.
|
|
795
|
+
*/
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Resolves the effective i18n label **key** for a field given the current values.
|
|
799
|
+
*
|
|
800
|
+
* Resolution order:
|
|
801
|
+
* 1) `conditionalLabel` entry matching `values[dependsOn]`
|
|
802
|
+
* 2) `field.label` fallback
|
|
803
|
+
*
|
|
804
|
+
* @returns The i18n key to pass to `resolveLabel`.
|
|
805
|
+
*/
|
|
806
|
+
declare function resolveFieldLabel(field: FieldDefinition, values: FormValues): string;
|
|
807
|
+
/**
|
|
808
|
+
* Resolves the effective i18n placeholder **key** for a field, or `undefined`
|
|
809
|
+
* when the field has neither a conditional nor a static placeholder.
|
|
810
|
+
*
|
|
811
|
+
* Resolution order:
|
|
812
|
+
* 1) `conditionalPlaceholder` entry matching `values[dependsOn]`
|
|
813
|
+
* 2) `field.placeholder` fallback
|
|
814
|
+
*/
|
|
815
|
+
declare function resolveFieldPlaceholder(field: FieldDefinition, values: FormValues): string | undefined;
|
|
816
|
+
/**
|
|
817
|
+
* Resolves the effective validator name for a field given the current values.
|
|
818
|
+
*
|
|
819
|
+
* Resolution order:
|
|
820
|
+
* 1) `conditionalValidator` entry matching `values[dependsOn]`
|
|
821
|
+
* 2) `field.validation.customValidator` fallback
|
|
822
|
+
*
|
|
823
|
+
* @returns The validator name to resolve from the rules registry, or `undefined`
|
|
824
|
+
* when the field has no custom validator for the current controller value.
|
|
825
|
+
*/
|
|
826
|
+
declare function resolveFieldValidator(field: FieldDefinition, values: FormValues): string | undefined;
|
|
827
|
+
/**
|
|
828
|
+
* Resolves the effective format function name for a field given the current values.
|
|
829
|
+
*
|
|
830
|
+
* Resolution order:
|
|
831
|
+
* 1) `conditionalFormatRef` entry matching `values[dependsOn]`
|
|
832
|
+
* 2) `field.formatRef` fallback
|
|
833
|
+
*
|
|
834
|
+
* Pass the result to `formatValue(ref, raw)`; `undefined` yields identity.
|
|
835
|
+
*/
|
|
836
|
+
declare function resolveFieldFormatRef(field: FieldDefinition, values: FormValues): string | undefined;
|
|
837
|
+
/**
|
|
838
|
+
* Resolves the effective unformat function name for a field given the current values.
|
|
839
|
+
*
|
|
840
|
+
* Resolution order:
|
|
841
|
+
* 1) `conditionalUnformatRef` entry matching `values[dependsOn]`
|
|
842
|
+
* 2) `field.unformatRef` fallback
|
|
843
|
+
*
|
|
844
|
+
* Pass the result to `unformatValue(ref, display)`; `undefined` yields identity.
|
|
845
|
+
*/
|
|
846
|
+
declare function resolveFieldUnformatRef(field: FieldDefinition, values: FormValues): string | undefined;
|
|
847
|
+
/**
|
|
848
|
+
* Resolves the effective `inputMode` (mobile keyboard hint) for a field given
|
|
849
|
+
* the current values.
|
|
850
|
+
*
|
|
851
|
+
* Resolution order:
|
|
852
|
+
* 1) `conditionalInputMode` entry matching `values[dependsOn]`
|
|
853
|
+
* 2) `field.inputMode` fallback
|
|
854
|
+
*
|
|
855
|
+
* Lets a single field hint a different virtual keyboard per controller value —
|
|
856
|
+
* e.g. a `document` field that is numeric for an individual (CPF) and text for a
|
|
857
|
+
* business (alphanumeric CNPJ).
|
|
858
|
+
*/
|
|
859
|
+
declare function resolveFieldInputMode(field: FieldDefinition, values: FormValues): InputMode | undefined;
|
|
860
|
+
|
|
690
861
|
/**
|
|
691
862
|
* Dynamic import map for address schemas.
|
|
692
863
|
* Each country is loaded on demand via `import()` for code-splitting.
|
|
@@ -724,7 +895,7 @@ declare const SUPPORTED_ADDRESS_COUNTRIES: readonly string[];
|
|
|
724
895
|
*
|
|
725
896
|
* @example
|
|
726
897
|
* import { SUPPORTED_PERSONAL_DATA_COUNTRIES } from '@vtex/country-forms'
|
|
727
|
-
* // currently supported countries: → ['BRA']
|
|
898
|
+
* // currently supported countries: → ['BRA', 'CAN', 'USA']
|
|
728
899
|
*/
|
|
729
900
|
declare const SUPPORTED_PERSONAL_DATA_COUNTRIES: readonly string[];
|
|
730
901
|
|
|
@@ -875,4 +1046,4 @@ declare const SUPPORTED_LOCALES: readonly ["en-US", "es-MX", "fr-FR", "pt-BR"];
|
|
|
875
1046
|
/** Union of BCP 47 tags with dedicated built-in bundles. */
|
|
876
1047
|
type SupportedLocale = (typeof SUPPORTED_LOCALES)[number];
|
|
877
1048
|
|
|
878
|
-
export { type ConditionalOperator, type ConditionalVisibility, type FieldDefinition, type FieldType, type FormErrors, type FormSchema, type FormState, type FormType, type FormValues, type FormatFn, type I18nBundle, type I18nOverrides, type I18nParams, type InputMode, SUPPORTED_ADDRESS_COUNTRIES, SUPPORTED_LOCALES, SUPPORTED_PERSONAL_DATA_COUNTRIES, type SelectOption, type SupportedLocale, type UnformatFn, type ValidationErrors, type ValidationRules, type ValidatorFn, createFormState, formatValue, getVisibleFields, loadLocale, loadSchema, resolveFieldOptions, resolveLabel, setValue, unformatValue, validate };
|
|
1049
|
+
export { type ConditionalOperator, type ConditionalVisibility, type FieldDefinition, type FieldType, type FormErrors, type FormSchema, type FormState, type FormType, type FormValues, type FormatFn, type I18nBundle, type I18nOverrides, type I18nParams, type InputMode, SUPPORTED_ADDRESS_COUNTRIES, SUPPORTED_LOCALES, SUPPORTED_PERSONAL_DATA_COUNTRIES, type SelectOption, type SupportedLocale, type UnformatFn, type ValidationErrors, type ValidationRules, type ValidatorFn, createFormState, formatValue, getVisibleFields, loadLocale, loadSchema, resolveFieldFormatRef, resolveFieldInputMode, resolveFieldLabel, resolveFieldOptions, resolveFieldPlaceholder, resolveFieldUnformatRef, resolveFieldValidator, resolveLabel, setValue, unformatValue, validate };
|