@ticketmaster/tm-global-address 0.6.0 → 0.8.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/dist/components/AddressCard/AddressCard.d.ts +5 -0
- package/dist/components/AddressCard/AddressCard.js +45 -46
- package/dist/components/AddressForm/AddressForm.d.ts +14 -2
- package/dist/components/AddressForm/AddressForm.js +216 -212
- package/dist/components/AddressList/AddressList.d.ts +7 -2
- package/dist/components/AddressList/AddressList.js +41 -37
- package/dist/hooks/index.d.ts +10 -0
- package/dist/hooks/useAddressForm.d.ts +76 -0
- package/dist/hooks/useAddressForm.js +174 -0
- package/dist/hooks/useAddressFormRHF.d.ts +8 -0
- package/dist/hooks/useAddressFormRHF.js +174 -0
- package/dist/i18n/defaultLabels.d.ts +2 -0
- package/dist/i18n/defaultLabels.js +66 -0
- package/dist/i18n/index.d.ts +14 -0
- package/dist/i18n/index.js +45 -0
- package/dist/i18n/labelResolver.d.ts +24 -0
- package/dist/i18n/labelResolver.js +98 -0
- package/dist/i18n/locales/ar-sa.json.d.ts +159 -0
- package/dist/i18n/locales/ar-sa.json.js +163 -0
- package/dist/i18n/locales/ca-es.json.d.ts +159 -0
- package/dist/i18n/locales/ca-es.json.js +163 -0
- package/dist/i18n/locales/cs-cz.json.d.ts +159 -0
- package/dist/i18n/locales/cs-cz.json.js +163 -0
- package/dist/i18n/locales/da-dk.json.d.ts +159 -0
- package/dist/i18n/locales/da-dk.json.js +163 -0
- package/dist/i18n/locales/de-at.json.d.ts +159 -0
- package/dist/i18n/locales/de-at.json.js +163 -0
- package/dist/i18n/locales/de-ch.json.d.ts +159 -0
- package/dist/i18n/locales/de-ch.json.js +163 -0
- package/dist/i18n/locales/de-de.json.d.ts +159 -0
- package/dist/i18n/locales/de-de.json.js +163 -0
- package/dist/i18n/locales/en-au.json.d.ts +159 -0
- package/dist/i18n/locales/en-au.json.js +163 -0
- package/dist/i18n/locales/en-ca.json.d.ts +159 -0
- package/dist/i18n/locales/en-ca.json.js +163 -0
- package/dist/i18n/locales/en-gb.json.d.ts +159 -0
- package/dist/i18n/locales/en-gb.json.js +163 -0
- package/dist/i18n/locales/en-nz.json.d.ts +159 -0
- package/dist/i18n/locales/en-nz.json.js +163 -0
- package/dist/i18n/locales/en-us.json.d.ts +159 -0
- package/dist/i18n/locales/en-us.json.js +163 -0
- package/dist/i18n/locales/es-es.json.d.ts +159 -0
- package/dist/i18n/locales/es-es.json.js +163 -0
- package/dist/i18n/locales/es-mx.json.d.ts +159 -0
- package/dist/i18n/locales/es-mx.json.js +163 -0
- package/dist/i18n/locales/fi-fi.json.d.ts +159 -0
- package/dist/i18n/locales/fi-fi.json.js +163 -0
- package/dist/i18n/locales/fr-be.json.d.ts +159 -0
- package/dist/i18n/locales/fr-be.json.js +163 -0
- package/dist/i18n/locales/fr-ca.json.d.ts +159 -0
- package/dist/i18n/locales/fr-ca.json.js +163 -0
- package/dist/i18n/locales/fr-ch.json.d.ts +159 -0
- package/dist/i18n/locales/fr-ch.json.js +163 -0
- package/dist/i18n/locales/fr-fr.json.d.ts +159 -0
- package/dist/i18n/locales/fr-fr.json.js +163 -0
- package/dist/i18n/locales/it-ch.json.d.ts +159 -0
- package/dist/i18n/locales/it-ch.json.js +163 -0
- package/dist/i18n/locales/ja-jp.json.d.ts +159 -0
- package/dist/i18n/locales/ja-jp.json.js +163 -0
- package/dist/i18n/locales/nl-be.json.d.ts +159 -0
- package/dist/i18n/locales/nl-be.json.js +163 -0
- package/dist/i18n/locales/nl-nl.json.d.ts +159 -0
- package/dist/i18n/locales/nl-nl.json.js +163 -0
- package/dist/i18n/locales/no-no.json.d.ts +159 -0
- package/dist/i18n/locales/no-no.json.js +163 -0
- package/dist/i18n/locales/pl-pl.json.d.ts +159 -0
- package/dist/i18n/locales/pl-pl.json.js +163 -0
- package/dist/i18n/locales/sv-se.json.d.ts +159 -0
- package/dist/i18n/locales/sv-se.json.js +163 -0
- package/dist/i18n/types.d.ts +67 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +50 -38
- package/package.json +2 -1
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"form": {
|
|
3
|
+
"firstName": "Prénom",
|
|
4
|
+
"lastName": "Nom",
|
|
5
|
+
"address1": "Adresse (ligne 1)",
|
|
6
|
+
"address2": "Adresse (ligne 2)",
|
|
7
|
+
"city": "Ville",
|
|
8
|
+
"postal": "Code postal",
|
|
9
|
+
"stateCode": "État/Province",
|
|
10
|
+
"country": "Pays",
|
|
11
|
+
"phoneNumber": "Numéro de téléphone",
|
|
12
|
+
"dialCode": "Code pays",
|
|
13
|
+
"defaultAddress": "Utiliser comme carte par défaut.",
|
|
14
|
+
"countryPlaceholder": "Please select",
|
|
15
|
+
"stateCodePlaceholder": "Sélectionne l'état ou la province",
|
|
16
|
+
"phoneNumberPlaceholder": "Entre ton numéro de téléphone",
|
|
17
|
+
"addressHeading": "Adresse de facturation et de livraison",
|
|
18
|
+
"addNewAddress": "Ajouter une nouvelle adresse",
|
|
19
|
+
"confirm": "Confirmer l'adresse",
|
|
20
|
+
"cancel": "Annuler",
|
|
21
|
+
"editButton": "Modifier",
|
|
22
|
+
"deleteButton": "Supprimer",
|
|
23
|
+
"defaultBadge": "Par défaut",
|
|
24
|
+
"makeDefault": "Définir comme adresse par défaut",
|
|
25
|
+
"countrySelectPlaceholder": "Choisissez le pays"
|
|
26
|
+
},
|
|
27
|
+
"validation": {
|
|
28
|
+
"FIELD_REQUIRED": "{{field}} is required",
|
|
29
|
+
"FIELD_TOO_LONG": "Doit comporter au maximum {{maxLength}} caractères",
|
|
30
|
+
"FIELD_TOO_SHORT": "Doit comporter au moins {{minLength}} caractères",
|
|
31
|
+
"FIELD_INVALID_FORMAT": "Please enter a valid {{field}}",
|
|
32
|
+
"FIELD_INVALID_CHARACTERS": "{{field}} contains invalid characters",
|
|
33
|
+
"POSTAL_CODE_MISMATCH": "Postal code does not match the selected {{stateLabel}}"
|
|
34
|
+
},
|
|
35
|
+
"country": {
|
|
36
|
+
"AT": {
|
|
37
|
+
"stateCode": "Etat",
|
|
38
|
+
"stateCodePlaceholder": "Sélectionne l'état",
|
|
39
|
+
"city": "Ville",
|
|
40
|
+
"postal": "Code postal"
|
|
41
|
+
},
|
|
42
|
+
"AU": {
|
|
43
|
+
"stateCode": "Etat",
|
|
44
|
+
"stateCodePlaceholder": "Sélectionne l'état",
|
|
45
|
+
"city": "Banlieue",
|
|
46
|
+
"postal": "Code postal"
|
|
47
|
+
},
|
|
48
|
+
"CA": {
|
|
49
|
+
"stateCode": "Province",
|
|
50
|
+
"stateCodePlaceholder": "Select the province",
|
|
51
|
+
"city": "Ville",
|
|
52
|
+
"postal": "Code postal"
|
|
53
|
+
},
|
|
54
|
+
"CZ": {
|
|
55
|
+
"stateCode": "Région",
|
|
56
|
+
"stateCodePlaceholder": "Select the region",
|
|
57
|
+
"city": "Ville",
|
|
58
|
+
"postal": "Code postal"
|
|
59
|
+
},
|
|
60
|
+
"DE": {
|
|
61
|
+
"stateCode": "Etat",
|
|
62
|
+
"stateCodePlaceholder": "Sélectionne l'état",
|
|
63
|
+
"city": "Ville",
|
|
64
|
+
"postal": "Code postal"
|
|
65
|
+
},
|
|
66
|
+
"DK": {
|
|
67
|
+
"stateCode": "Région",
|
|
68
|
+
"stateCodePlaceholder": "Select the region",
|
|
69
|
+
"city": "Ville",
|
|
70
|
+
"postal": "Code postal"
|
|
71
|
+
},
|
|
72
|
+
"ES": {
|
|
73
|
+
"stateCode": "Etat",
|
|
74
|
+
"stateCodePlaceholder": "Sélectionne l'état",
|
|
75
|
+
"city": "Ville",
|
|
76
|
+
"postal": "Code postal"
|
|
77
|
+
},
|
|
78
|
+
"FI": {
|
|
79
|
+
"stateCode": "Région",
|
|
80
|
+
"stateCodePlaceholder": "Select the region",
|
|
81
|
+
"city": "Ville",
|
|
82
|
+
"postal": "Code postal"
|
|
83
|
+
},
|
|
84
|
+
"IE": {
|
|
85
|
+
"stateCode": "Province",
|
|
86
|
+
"stateCodePlaceholder": "Select the county",
|
|
87
|
+
"city": "Ville",
|
|
88
|
+
"postal": "Code postal"
|
|
89
|
+
},
|
|
90
|
+
"MX": {
|
|
91
|
+
"stateCode": "State",
|
|
92
|
+
"stateCodePlaceholder": "Select the state",
|
|
93
|
+
"city": "City",
|
|
94
|
+
"postal": "Postal Code"
|
|
95
|
+
},
|
|
96
|
+
"NL": {
|
|
97
|
+
"stateCode": "Province",
|
|
98
|
+
"stateCodePlaceholder": "Select the province",
|
|
99
|
+
"city": "Ville",
|
|
100
|
+
"postal": "Code postal"
|
|
101
|
+
},
|
|
102
|
+
"NO": {
|
|
103
|
+
"stateCode": "Province",
|
|
104
|
+
"stateCodePlaceholder": "Select the county",
|
|
105
|
+
"city": "Ville",
|
|
106
|
+
"postal": "Code postal"
|
|
107
|
+
},
|
|
108
|
+
"NZ": {
|
|
109
|
+
"stateCode": "Région",
|
|
110
|
+
"stateCodePlaceholder": "Select the region",
|
|
111
|
+
"city": "Ville",
|
|
112
|
+
"postal": "Code postal"
|
|
113
|
+
},
|
|
114
|
+
"PL": {
|
|
115
|
+
"stateCode": "Region / Province",
|
|
116
|
+
"stateCodePlaceholder": "Select the region / province",
|
|
117
|
+
"city": "Ville",
|
|
118
|
+
"postal": "Code postal"
|
|
119
|
+
},
|
|
120
|
+
"SE": {
|
|
121
|
+
"stateCode": "Région",
|
|
122
|
+
"stateCodePlaceholder": "Select the region",
|
|
123
|
+
"city": "Ville",
|
|
124
|
+
"postal": "Code postal"
|
|
125
|
+
},
|
|
126
|
+
"US": {
|
|
127
|
+
"stateCode": "Etat",
|
|
128
|
+
"stateCodePlaceholder": "Sélectionne l'état",
|
|
129
|
+
"city": "Ville",
|
|
130
|
+
"postal": "Code postal"
|
|
131
|
+
},
|
|
132
|
+
"ZA": {
|
|
133
|
+
"stateCode": "Etat",
|
|
134
|
+
"stateCodePlaceholder": "Sélectionne l'état",
|
|
135
|
+
"city": "Ville",
|
|
136
|
+
"postal": "Code postal"
|
|
137
|
+
},
|
|
138
|
+
"GB": {
|
|
139
|
+
"postal": "Postcode"
|
|
140
|
+
},
|
|
141
|
+
"JP": {
|
|
142
|
+
"stateCode": "Prefecture",
|
|
143
|
+
"stateCodePlaceholder": "Select the prefecture"
|
|
144
|
+
},
|
|
145
|
+
"AE": {
|
|
146
|
+
"stateCode": "Emirate",
|
|
147
|
+
"stateCodePlaceholder": "Select the emirate"
|
|
148
|
+
},
|
|
149
|
+
"IN": {
|
|
150
|
+
"postal": "PIN Code"
|
|
151
|
+
},
|
|
152
|
+
"CH": {
|
|
153
|
+
"stateCode": "Canton",
|
|
154
|
+
"stateCodePlaceholder": "Select the canton"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
export default _default;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
firstName: "Prénom",
|
|
3
|
+
lastName: "Nom",
|
|
4
|
+
address1: "Adresse (ligne 1)",
|
|
5
|
+
address2: "Adresse (ligne 2)",
|
|
6
|
+
city: "Ville",
|
|
7
|
+
postal: "Code postal",
|
|
8
|
+
stateCode: "État/Province",
|
|
9
|
+
country: "Pays",
|
|
10
|
+
phoneNumber: "Numéro de téléphone",
|
|
11
|
+
dialCode: "Code pays",
|
|
12
|
+
defaultAddress: "Utiliser comme carte par défaut.",
|
|
13
|
+
countryPlaceholder: "Please select",
|
|
14
|
+
stateCodePlaceholder: "Sélectionne l'état ou la province",
|
|
15
|
+
phoneNumberPlaceholder: "Entre ton numéro de téléphone",
|
|
16
|
+
addressHeading: "Adresse de facturation et de livraison",
|
|
17
|
+
addNewAddress: "Ajouter une nouvelle adresse",
|
|
18
|
+
confirm: "Confirmer l'adresse",
|
|
19
|
+
cancel: "Annuler",
|
|
20
|
+
editButton: "Modifier",
|
|
21
|
+
deleteButton: "Supprimer",
|
|
22
|
+
defaultBadge: "Par défaut",
|
|
23
|
+
makeDefault: "Définir comme adresse par défaut",
|
|
24
|
+
countrySelectPlaceholder: "Choisissez le pays"
|
|
25
|
+
}, t = {
|
|
26
|
+
FIELD_REQUIRED: "{{field}} is required",
|
|
27
|
+
FIELD_TOO_LONG: "Doit comporter au maximum {{maxLength}} caractères",
|
|
28
|
+
FIELD_TOO_SHORT: "Doit comporter au moins {{minLength}} caractères",
|
|
29
|
+
FIELD_INVALID_FORMAT: "Please enter a valid {{field}}",
|
|
30
|
+
FIELD_INVALID_CHARACTERS: "{{field}} contains invalid characters",
|
|
31
|
+
POSTAL_CODE_MISMATCH: "Postal code does not match the selected {{stateLabel}}"
|
|
32
|
+
}, o = {
|
|
33
|
+
AT: {
|
|
34
|
+
stateCode: "Etat",
|
|
35
|
+
stateCodePlaceholder: "Sélectionne l'état",
|
|
36
|
+
city: "Ville",
|
|
37
|
+
postal: "Code postal"
|
|
38
|
+
},
|
|
39
|
+
AU: {
|
|
40
|
+
stateCode: "Etat",
|
|
41
|
+
stateCodePlaceholder: "Sélectionne l'état",
|
|
42
|
+
city: "Banlieue",
|
|
43
|
+
postal: "Code postal"
|
|
44
|
+
},
|
|
45
|
+
CA: {
|
|
46
|
+
stateCode: "Province",
|
|
47
|
+
stateCodePlaceholder: "Select the province",
|
|
48
|
+
city: "Ville",
|
|
49
|
+
postal: "Code postal"
|
|
50
|
+
},
|
|
51
|
+
CZ: {
|
|
52
|
+
stateCode: "Région",
|
|
53
|
+
stateCodePlaceholder: "Select the region",
|
|
54
|
+
city: "Ville",
|
|
55
|
+
postal: "Code postal"
|
|
56
|
+
},
|
|
57
|
+
DE: {
|
|
58
|
+
stateCode: "Etat",
|
|
59
|
+
stateCodePlaceholder: "Sélectionne l'état",
|
|
60
|
+
city: "Ville",
|
|
61
|
+
postal: "Code postal"
|
|
62
|
+
},
|
|
63
|
+
DK: {
|
|
64
|
+
stateCode: "Région",
|
|
65
|
+
stateCodePlaceholder: "Select the region",
|
|
66
|
+
city: "Ville",
|
|
67
|
+
postal: "Code postal"
|
|
68
|
+
},
|
|
69
|
+
ES: {
|
|
70
|
+
stateCode: "Etat",
|
|
71
|
+
stateCodePlaceholder: "Sélectionne l'état",
|
|
72
|
+
city: "Ville",
|
|
73
|
+
postal: "Code postal"
|
|
74
|
+
},
|
|
75
|
+
FI: {
|
|
76
|
+
stateCode: "Région",
|
|
77
|
+
stateCodePlaceholder: "Select the region",
|
|
78
|
+
city: "Ville",
|
|
79
|
+
postal: "Code postal"
|
|
80
|
+
},
|
|
81
|
+
IE: {
|
|
82
|
+
stateCode: "Province",
|
|
83
|
+
stateCodePlaceholder: "Select the county",
|
|
84
|
+
city: "Ville",
|
|
85
|
+
postal: "Code postal"
|
|
86
|
+
},
|
|
87
|
+
MX: {
|
|
88
|
+
stateCode: "State",
|
|
89
|
+
stateCodePlaceholder: "Select the state",
|
|
90
|
+
city: "City",
|
|
91
|
+
postal: "Postal Code"
|
|
92
|
+
},
|
|
93
|
+
NL: {
|
|
94
|
+
stateCode: "Province",
|
|
95
|
+
stateCodePlaceholder: "Select the province",
|
|
96
|
+
city: "Ville",
|
|
97
|
+
postal: "Code postal"
|
|
98
|
+
},
|
|
99
|
+
NO: {
|
|
100
|
+
stateCode: "Province",
|
|
101
|
+
stateCodePlaceholder: "Select the county",
|
|
102
|
+
city: "Ville",
|
|
103
|
+
postal: "Code postal"
|
|
104
|
+
},
|
|
105
|
+
NZ: {
|
|
106
|
+
stateCode: "Région",
|
|
107
|
+
stateCodePlaceholder: "Select the region",
|
|
108
|
+
city: "Ville",
|
|
109
|
+
postal: "Code postal"
|
|
110
|
+
},
|
|
111
|
+
PL: {
|
|
112
|
+
stateCode: "Region / Province",
|
|
113
|
+
stateCodePlaceholder: "Select the region / province",
|
|
114
|
+
city: "Ville",
|
|
115
|
+
postal: "Code postal"
|
|
116
|
+
},
|
|
117
|
+
SE: {
|
|
118
|
+
stateCode: "Région",
|
|
119
|
+
stateCodePlaceholder: "Select the region",
|
|
120
|
+
city: "Ville",
|
|
121
|
+
postal: "Code postal"
|
|
122
|
+
},
|
|
123
|
+
US: {
|
|
124
|
+
stateCode: "Etat",
|
|
125
|
+
stateCodePlaceholder: "Sélectionne l'état",
|
|
126
|
+
city: "Ville",
|
|
127
|
+
postal: "Code postal"
|
|
128
|
+
},
|
|
129
|
+
ZA: {
|
|
130
|
+
stateCode: "Etat",
|
|
131
|
+
stateCodePlaceholder: "Sélectionne l'état",
|
|
132
|
+
city: "Ville",
|
|
133
|
+
postal: "Code postal"
|
|
134
|
+
},
|
|
135
|
+
GB: {
|
|
136
|
+
postal: "Postcode"
|
|
137
|
+
},
|
|
138
|
+
JP: {
|
|
139
|
+
stateCode: "Prefecture",
|
|
140
|
+
stateCodePlaceholder: "Select the prefecture"
|
|
141
|
+
},
|
|
142
|
+
AE: {
|
|
143
|
+
stateCode: "Emirate",
|
|
144
|
+
stateCodePlaceholder: "Select the emirate"
|
|
145
|
+
},
|
|
146
|
+
IN: {
|
|
147
|
+
postal: "PIN Code"
|
|
148
|
+
},
|
|
149
|
+
CH: {
|
|
150
|
+
stateCode: "Canton",
|
|
151
|
+
stateCodePlaceholder: "Select the canton"
|
|
152
|
+
}
|
|
153
|
+
}, a = {
|
|
154
|
+
form: e,
|
|
155
|
+
validation: t,
|
|
156
|
+
country: o
|
|
157
|
+
};
|
|
158
|
+
export {
|
|
159
|
+
o as country,
|
|
160
|
+
a as default,
|
|
161
|
+
e as form,
|
|
162
|
+
t as validation
|
|
163
|
+
};
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"form": {
|
|
3
|
+
"firstName": "Prénom",
|
|
4
|
+
"lastName": "Nom",
|
|
5
|
+
"address1": "Adresse (ligne 1)",
|
|
6
|
+
"address2": "Adresse 2 (optionnel)",
|
|
7
|
+
"city": "Ville",
|
|
8
|
+
"postal": "Code postal",
|
|
9
|
+
"stateCode": "État/Province",
|
|
10
|
+
"country": "Pays",
|
|
11
|
+
"phoneNumber": "Numéro de téléphone",
|
|
12
|
+
"dialCode": "Code",
|
|
13
|
+
"defaultAddress": "Utiliser comme carte par défaut.",
|
|
14
|
+
"countryPlaceholder": "Please select",
|
|
15
|
+
"stateCodePlaceholder": "Sélectionnez un état ou une province",
|
|
16
|
+
"phoneNumberPlaceholder": "Entrez votre numéro de téléphone",
|
|
17
|
+
"addressHeading": "Adresse de facturation et de livraison",
|
|
18
|
+
"addNewAddress": "Ajouter une nouvelle adresse",
|
|
19
|
+
"confirm": "Confirmer l'adresse",
|
|
20
|
+
"cancel": "Annuler",
|
|
21
|
+
"editButton": "Modifier",
|
|
22
|
+
"deleteButton": "Supprimer",
|
|
23
|
+
"defaultBadge": "Par défaut",
|
|
24
|
+
"makeDefault": "Définir comme adresse par défaut",
|
|
25
|
+
"countrySelectPlaceholder": "Choisissez le pays"
|
|
26
|
+
},
|
|
27
|
+
"validation": {
|
|
28
|
+
"FIELD_REQUIRED": "{{field}} is required",
|
|
29
|
+
"FIELD_TOO_LONG": "Doit comporter au maximum {{maxLength}} caractères",
|
|
30
|
+
"FIELD_TOO_SHORT": "Doit comporter au moins {{minLength}} caractères",
|
|
31
|
+
"FIELD_INVALID_FORMAT": "Please enter a valid {{field}}",
|
|
32
|
+
"FIELD_INVALID_CHARACTERS": "{{field}} contains invalid characters",
|
|
33
|
+
"POSTAL_CODE_MISMATCH": "Postal code does not match the selected {{stateLabel}}"
|
|
34
|
+
},
|
|
35
|
+
"country": {
|
|
36
|
+
"AT": {
|
|
37
|
+
"stateCode": "Province/État",
|
|
38
|
+
"stateCodePlaceholder": "Sélectionne l'état",
|
|
39
|
+
"city": "Ville",
|
|
40
|
+
"postal": "Code postal"
|
|
41
|
+
},
|
|
42
|
+
"AU": {
|
|
43
|
+
"stateCode": "Province/État",
|
|
44
|
+
"stateCodePlaceholder": "Sélectionne l'état",
|
|
45
|
+
"city": "Banlieue",
|
|
46
|
+
"postal": "Code postal"
|
|
47
|
+
},
|
|
48
|
+
"CA": {
|
|
49
|
+
"stateCode": "Province",
|
|
50
|
+
"stateCodePlaceholder": "Select the province",
|
|
51
|
+
"city": "Ville",
|
|
52
|
+
"postal": "Code postal"
|
|
53
|
+
},
|
|
54
|
+
"CZ": {
|
|
55
|
+
"stateCode": "Région",
|
|
56
|
+
"stateCodePlaceholder": "Select the region",
|
|
57
|
+
"city": "Ville",
|
|
58
|
+
"postal": "Code postal"
|
|
59
|
+
},
|
|
60
|
+
"DE": {
|
|
61
|
+
"stateCode": "Province/État",
|
|
62
|
+
"stateCodePlaceholder": "Sélectionnez l'état",
|
|
63
|
+
"city": "Ville",
|
|
64
|
+
"postal": "Code postal"
|
|
65
|
+
},
|
|
66
|
+
"DK": {
|
|
67
|
+
"stateCode": "Région",
|
|
68
|
+
"stateCodePlaceholder": "Select the region",
|
|
69
|
+
"city": "Ville",
|
|
70
|
+
"postal": "Code postal"
|
|
71
|
+
},
|
|
72
|
+
"ES": {
|
|
73
|
+
"stateCode": "Province/État",
|
|
74
|
+
"stateCodePlaceholder": "Sélectionnez l'état",
|
|
75
|
+
"city": "Ville",
|
|
76
|
+
"postal": "Code postal"
|
|
77
|
+
},
|
|
78
|
+
"FI": {
|
|
79
|
+
"stateCode": "Région",
|
|
80
|
+
"stateCodePlaceholder": "Sélectionnez la région",
|
|
81
|
+
"city": "Ville",
|
|
82
|
+
"postal": "Code postal"
|
|
83
|
+
},
|
|
84
|
+
"IE": {
|
|
85
|
+
"stateCode": "Province",
|
|
86
|
+
"stateCodePlaceholder": "Sélectionnez le pays",
|
|
87
|
+
"city": "Ville",
|
|
88
|
+
"postal": "Code postal"
|
|
89
|
+
},
|
|
90
|
+
"MX": {
|
|
91
|
+
"stateCode": "State",
|
|
92
|
+
"stateCodePlaceholder": "Select the state",
|
|
93
|
+
"city": "City",
|
|
94
|
+
"postal": "Postal Code"
|
|
95
|
+
},
|
|
96
|
+
"NL": {
|
|
97
|
+
"stateCode": "Province",
|
|
98
|
+
"stateCodePlaceholder": "Sélectionnez la province",
|
|
99
|
+
"city": "Ville",
|
|
100
|
+
"postal": "Code postal"
|
|
101
|
+
},
|
|
102
|
+
"NO": {
|
|
103
|
+
"stateCode": "Province",
|
|
104
|
+
"stateCodePlaceholder": "Sélectionnez le comté",
|
|
105
|
+
"city": "Ville",
|
|
106
|
+
"postal": "Code postal"
|
|
107
|
+
},
|
|
108
|
+
"NZ": {
|
|
109
|
+
"stateCode": "Région",
|
|
110
|
+
"stateCodePlaceholder": "Select the region",
|
|
111
|
+
"city": "Ville",
|
|
112
|
+
"postal": "Code postal"
|
|
113
|
+
},
|
|
114
|
+
"PL": {
|
|
115
|
+
"stateCode": "Region / Province",
|
|
116
|
+
"stateCodePlaceholder": "Select the region / province",
|
|
117
|
+
"city": "Ville",
|
|
118
|
+
"postal": "Code postal"
|
|
119
|
+
},
|
|
120
|
+
"SE": {
|
|
121
|
+
"stateCode": "Région",
|
|
122
|
+
"stateCodePlaceholder": "Sélectionnez la région",
|
|
123
|
+
"city": "Ville",
|
|
124
|
+
"postal": "Code postal"
|
|
125
|
+
},
|
|
126
|
+
"US": {
|
|
127
|
+
"stateCode": "Province/État",
|
|
128
|
+
"stateCodePlaceholder": "Sélectionnez l'état",
|
|
129
|
+
"city": "Ville",
|
|
130
|
+
"postal": "Code postal"
|
|
131
|
+
},
|
|
132
|
+
"ZA": {
|
|
133
|
+
"stateCode": "Province/État",
|
|
134
|
+
"stateCodePlaceholder": "Sélectionnez l'état",
|
|
135
|
+
"city": "Ville",
|
|
136
|
+
"postal": "Code postal"
|
|
137
|
+
},
|
|
138
|
+
"GB": {
|
|
139
|
+
"postal": "Postcode"
|
|
140
|
+
},
|
|
141
|
+
"JP": {
|
|
142
|
+
"stateCode": "Prefecture",
|
|
143
|
+
"stateCodePlaceholder": "Select the prefecture"
|
|
144
|
+
},
|
|
145
|
+
"AE": {
|
|
146
|
+
"stateCode": "Emirate",
|
|
147
|
+
"stateCodePlaceholder": "Select the emirate"
|
|
148
|
+
},
|
|
149
|
+
"IN": {
|
|
150
|
+
"postal": "PIN Code"
|
|
151
|
+
},
|
|
152
|
+
"CH": {
|
|
153
|
+
"stateCode": "Canton",
|
|
154
|
+
"stateCodePlaceholder": "Select the canton"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
export default _default;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
firstName: "Prénom",
|
|
3
|
+
lastName: "Nom",
|
|
4
|
+
address1: "Adresse (ligne 1)",
|
|
5
|
+
address2: "Adresse 2 (optionnel)",
|
|
6
|
+
city: "Ville",
|
|
7
|
+
postal: "Code postal",
|
|
8
|
+
stateCode: "État/Province",
|
|
9
|
+
country: "Pays",
|
|
10
|
+
phoneNumber: "Numéro de téléphone",
|
|
11
|
+
dialCode: "Code",
|
|
12
|
+
defaultAddress: "Utiliser comme carte par défaut.",
|
|
13
|
+
countryPlaceholder: "Please select",
|
|
14
|
+
stateCodePlaceholder: "Sélectionnez un état ou une province",
|
|
15
|
+
phoneNumberPlaceholder: "Entrez votre numéro de téléphone",
|
|
16
|
+
addressHeading: "Adresse de facturation et de livraison",
|
|
17
|
+
addNewAddress: "Ajouter une nouvelle adresse",
|
|
18
|
+
confirm: "Confirmer l'adresse",
|
|
19
|
+
cancel: "Annuler",
|
|
20
|
+
editButton: "Modifier",
|
|
21
|
+
deleteButton: "Supprimer",
|
|
22
|
+
defaultBadge: "Par défaut",
|
|
23
|
+
makeDefault: "Définir comme adresse par défaut",
|
|
24
|
+
countrySelectPlaceholder: "Choisissez le pays"
|
|
25
|
+
}, t = {
|
|
26
|
+
FIELD_REQUIRED: "{{field}} is required",
|
|
27
|
+
FIELD_TOO_LONG: "Doit comporter au maximum {{maxLength}} caractères",
|
|
28
|
+
FIELD_TOO_SHORT: "Doit comporter au moins {{minLength}} caractères",
|
|
29
|
+
FIELD_INVALID_FORMAT: "Please enter a valid {{field}}",
|
|
30
|
+
FIELD_INVALID_CHARACTERS: "{{field}} contains invalid characters",
|
|
31
|
+
POSTAL_CODE_MISMATCH: "Postal code does not match the selected {{stateLabel}}"
|
|
32
|
+
}, o = {
|
|
33
|
+
AT: {
|
|
34
|
+
stateCode: "Province/État",
|
|
35
|
+
stateCodePlaceholder: "Sélectionne l'état",
|
|
36
|
+
city: "Ville",
|
|
37
|
+
postal: "Code postal"
|
|
38
|
+
},
|
|
39
|
+
AU: {
|
|
40
|
+
stateCode: "Province/État",
|
|
41
|
+
stateCodePlaceholder: "Sélectionne l'état",
|
|
42
|
+
city: "Banlieue",
|
|
43
|
+
postal: "Code postal"
|
|
44
|
+
},
|
|
45
|
+
CA: {
|
|
46
|
+
stateCode: "Province",
|
|
47
|
+
stateCodePlaceholder: "Select the province",
|
|
48
|
+
city: "Ville",
|
|
49
|
+
postal: "Code postal"
|
|
50
|
+
},
|
|
51
|
+
CZ: {
|
|
52
|
+
stateCode: "Région",
|
|
53
|
+
stateCodePlaceholder: "Select the region",
|
|
54
|
+
city: "Ville",
|
|
55
|
+
postal: "Code postal"
|
|
56
|
+
},
|
|
57
|
+
DE: {
|
|
58
|
+
stateCode: "Province/État",
|
|
59
|
+
stateCodePlaceholder: "Sélectionnez l'état",
|
|
60
|
+
city: "Ville",
|
|
61
|
+
postal: "Code postal"
|
|
62
|
+
},
|
|
63
|
+
DK: {
|
|
64
|
+
stateCode: "Région",
|
|
65
|
+
stateCodePlaceholder: "Select the region",
|
|
66
|
+
city: "Ville",
|
|
67
|
+
postal: "Code postal"
|
|
68
|
+
},
|
|
69
|
+
ES: {
|
|
70
|
+
stateCode: "Province/État",
|
|
71
|
+
stateCodePlaceholder: "Sélectionnez l'état",
|
|
72
|
+
city: "Ville",
|
|
73
|
+
postal: "Code postal"
|
|
74
|
+
},
|
|
75
|
+
FI: {
|
|
76
|
+
stateCode: "Région",
|
|
77
|
+
stateCodePlaceholder: "Sélectionnez la région",
|
|
78
|
+
city: "Ville",
|
|
79
|
+
postal: "Code postal"
|
|
80
|
+
},
|
|
81
|
+
IE: {
|
|
82
|
+
stateCode: "Province",
|
|
83
|
+
stateCodePlaceholder: "Sélectionnez le pays",
|
|
84
|
+
city: "Ville",
|
|
85
|
+
postal: "Code postal"
|
|
86
|
+
},
|
|
87
|
+
MX: {
|
|
88
|
+
stateCode: "State",
|
|
89
|
+
stateCodePlaceholder: "Select the state",
|
|
90
|
+
city: "City",
|
|
91
|
+
postal: "Postal Code"
|
|
92
|
+
},
|
|
93
|
+
NL: {
|
|
94
|
+
stateCode: "Province",
|
|
95
|
+
stateCodePlaceholder: "Sélectionnez la province",
|
|
96
|
+
city: "Ville",
|
|
97
|
+
postal: "Code postal"
|
|
98
|
+
},
|
|
99
|
+
NO: {
|
|
100
|
+
stateCode: "Province",
|
|
101
|
+
stateCodePlaceholder: "Sélectionnez le comté",
|
|
102
|
+
city: "Ville",
|
|
103
|
+
postal: "Code postal"
|
|
104
|
+
},
|
|
105
|
+
NZ: {
|
|
106
|
+
stateCode: "Région",
|
|
107
|
+
stateCodePlaceholder: "Select the region",
|
|
108
|
+
city: "Ville",
|
|
109
|
+
postal: "Code postal"
|
|
110
|
+
},
|
|
111
|
+
PL: {
|
|
112
|
+
stateCode: "Region / Province",
|
|
113
|
+
stateCodePlaceholder: "Select the region / province",
|
|
114
|
+
city: "Ville",
|
|
115
|
+
postal: "Code postal"
|
|
116
|
+
},
|
|
117
|
+
SE: {
|
|
118
|
+
stateCode: "Région",
|
|
119
|
+
stateCodePlaceholder: "Sélectionnez la région",
|
|
120
|
+
city: "Ville",
|
|
121
|
+
postal: "Code postal"
|
|
122
|
+
},
|
|
123
|
+
US: {
|
|
124
|
+
stateCode: "Province/État",
|
|
125
|
+
stateCodePlaceholder: "Sélectionnez l'état",
|
|
126
|
+
city: "Ville",
|
|
127
|
+
postal: "Code postal"
|
|
128
|
+
},
|
|
129
|
+
ZA: {
|
|
130
|
+
stateCode: "Province/État",
|
|
131
|
+
stateCodePlaceholder: "Sélectionnez l'état",
|
|
132
|
+
city: "Ville",
|
|
133
|
+
postal: "Code postal"
|
|
134
|
+
},
|
|
135
|
+
GB: {
|
|
136
|
+
postal: "Postcode"
|
|
137
|
+
},
|
|
138
|
+
JP: {
|
|
139
|
+
stateCode: "Prefecture",
|
|
140
|
+
stateCodePlaceholder: "Select the prefecture"
|
|
141
|
+
},
|
|
142
|
+
AE: {
|
|
143
|
+
stateCode: "Emirate",
|
|
144
|
+
stateCodePlaceholder: "Select the emirate"
|
|
145
|
+
},
|
|
146
|
+
IN: {
|
|
147
|
+
postal: "PIN Code"
|
|
148
|
+
},
|
|
149
|
+
CH: {
|
|
150
|
+
stateCode: "Canton",
|
|
151
|
+
stateCodePlaceholder: "Select the canton"
|
|
152
|
+
}
|
|
153
|
+
}, a = {
|
|
154
|
+
form: e,
|
|
155
|
+
validation: t,
|
|
156
|
+
country: o
|
|
157
|
+
};
|
|
158
|
+
export {
|
|
159
|
+
o as country,
|
|
160
|
+
a as default,
|
|
161
|
+
e as form,
|
|
162
|
+
t as validation
|
|
163
|
+
};
|