@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": "Nombre",
|
|
4
|
+
"lastName": "Apellidos",
|
|
5
|
+
"address1": "Dirección línea 1",
|
|
6
|
+
"address2": "Dirección línea 2 (Opcional)",
|
|
7
|
+
"city": "Ciudad",
|
|
8
|
+
"postal": "Código postal",
|
|
9
|
+
"stateCode": "Estado ",
|
|
10
|
+
"country": "País",
|
|
11
|
+
"phoneNumber": "Número de teléfono",
|
|
12
|
+
"dialCode": "Código de marcado",
|
|
13
|
+
"defaultAddress": "Convertir esta tarjeta en predeterminada.",
|
|
14
|
+
"countryPlaceholder": "Please select",
|
|
15
|
+
"stateCodePlaceholder": "Select state or Province",
|
|
16
|
+
"phoneNumberPlaceholder": "Enter your phone number",
|
|
17
|
+
"addressHeading": "Dirección de Facturación y Entrega",
|
|
18
|
+
"addNewAddress": "Añadir nueva dirección",
|
|
19
|
+
"confirm": "Confirmar dirección",
|
|
20
|
+
"cancel": "Cancelar",
|
|
21
|
+
"editButton": "Editar",
|
|
22
|
+
"deleteButton": "Eliminar",
|
|
23
|
+
"defaultBadge": "Predeterminada",
|
|
24
|
+
"makeDefault": "Establecer como predeterminada",
|
|
25
|
+
"countrySelectPlaceholder": "Seleccionar País"
|
|
26
|
+
},
|
|
27
|
+
"validation": {
|
|
28
|
+
"FIELD_REQUIRED": "{{field}} is required",
|
|
29
|
+
"FIELD_TOO_LONG": "Debe contar con al menos {{maxLength}} caracteres de longitud",
|
|
30
|
+
"FIELD_TOO_SHORT": "Must be at least {{minLength}} characters long",
|
|
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": "Estado",
|
|
38
|
+
"stateCodePlaceholder": "Select the state",
|
|
39
|
+
"city": "Alcaldía o municipio",
|
|
40
|
+
"postal": "Código postal"
|
|
41
|
+
},
|
|
42
|
+
"AU": {
|
|
43
|
+
"stateCode": "Estado",
|
|
44
|
+
"stateCodePlaceholder": "Select the state",
|
|
45
|
+
"city": "Suburbio",
|
|
46
|
+
"postal": "Código postal"
|
|
47
|
+
},
|
|
48
|
+
"CA": {
|
|
49
|
+
"stateCode": "Provincia",
|
|
50
|
+
"stateCodePlaceholder": "Select the province",
|
|
51
|
+
"city": "Alcaldía o municipio",
|
|
52
|
+
"postal": "Código postal"
|
|
53
|
+
},
|
|
54
|
+
"CZ": {
|
|
55
|
+
"stateCode": "Región",
|
|
56
|
+
"stateCodePlaceholder": "Select the region",
|
|
57
|
+
"city": "Alcaldía o municipio",
|
|
58
|
+
"postal": "Código postal"
|
|
59
|
+
},
|
|
60
|
+
"DE": {
|
|
61
|
+
"stateCode": "Estado",
|
|
62
|
+
"stateCodePlaceholder": "Select the state",
|
|
63
|
+
"city": "Alcaldía o municipio",
|
|
64
|
+
"postal": "Código postal"
|
|
65
|
+
},
|
|
66
|
+
"DK": {
|
|
67
|
+
"stateCode": "Región",
|
|
68
|
+
"stateCodePlaceholder": "Select the region",
|
|
69
|
+
"city": "Alcaldía o municipio",
|
|
70
|
+
"postal": "Código postal"
|
|
71
|
+
},
|
|
72
|
+
"ES": {
|
|
73
|
+
"stateCode": "Estado",
|
|
74
|
+
"stateCodePlaceholder": "Select the state",
|
|
75
|
+
"city": "Alcaldía o municipio",
|
|
76
|
+
"postal": "Código postal"
|
|
77
|
+
},
|
|
78
|
+
"FI": {
|
|
79
|
+
"stateCode": "Región",
|
|
80
|
+
"stateCodePlaceholder": "Select the region",
|
|
81
|
+
"city": "Alcaldía o municipio",
|
|
82
|
+
"postal": "Código postal"
|
|
83
|
+
},
|
|
84
|
+
"IE": {
|
|
85
|
+
"stateCode": "País",
|
|
86
|
+
"stateCodePlaceholder": "Select the county",
|
|
87
|
+
"city": "Alcaldía o municipio",
|
|
88
|
+
"postal": "Código postal"
|
|
89
|
+
},
|
|
90
|
+
"MX": {
|
|
91
|
+
"stateCode": "State",
|
|
92
|
+
"stateCodePlaceholder": "Select the state",
|
|
93
|
+
"city": "City",
|
|
94
|
+
"postal": "Postal Code"
|
|
95
|
+
},
|
|
96
|
+
"NL": {
|
|
97
|
+
"stateCode": "Provincia",
|
|
98
|
+
"stateCodePlaceholder": "Select the province",
|
|
99
|
+
"city": "Alcaldía o municipio",
|
|
100
|
+
"postal": "Código postal"
|
|
101
|
+
},
|
|
102
|
+
"NO": {
|
|
103
|
+
"stateCode": "País",
|
|
104
|
+
"stateCodePlaceholder": "Select the county",
|
|
105
|
+
"city": "Alcaldía o municipio",
|
|
106
|
+
"postal": "Código postal"
|
|
107
|
+
},
|
|
108
|
+
"NZ": {
|
|
109
|
+
"stateCode": "Región",
|
|
110
|
+
"stateCodePlaceholder": "Select the region",
|
|
111
|
+
"city": "Ciudad",
|
|
112
|
+
"postal": "Código postal"
|
|
113
|
+
},
|
|
114
|
+
"PL": {
|
|
115
|
+
"stateCode": "Region / Province",
|
|
116
|
+
"stateCodePlaceholder": "Select the region / province",
|
|
117
|
+
"city": "Alcaldía o municipio",
|
|
118
|
+
"postal": "Código postal"
|
|
119
|
+
},
|
|
120
|
+
"SE": {
|
|
121
|
+
"stateCode": "Región",
|
|
122
|
+
"stateCodePlaceholder": "Select the region",
|
|
123
|
+
"city": "Alcaldía o municipio",
|
|
124
|
+
"postal": "Código postal"
|
|
125
|
+
},
|
|
126
|
+
"US": {
|
|
127
|
+
"stateCode": "Estado",
|
|
128
|
+
"stateCodePlaceholder": "Select the state",
|
|
129
|
+
"city": "Alcaldía o municipio",
|
|
130
|
+
"postal": "Código postal"
|
|
131
|
+
},
|
|
132
|
+
"ZA": {
|
|
133
|
+
"stateCode": "Estado",
|
|
134
|
+
"stateCodePlaceholder": "Select the state",
|
|
135
|
+
"city": "Alcaldía o municipio",
|
|
136
|
+
"postal": "Código 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: "Nombre",
|
|
3
|
+
lastName: "Apellidos",
|
|
4
|
+
address1: "Dirección línea 1",
|
|
5
|
+
address2: "Dirección línea 2 (Opcional)",
|
|
6
|
+
city: "Ciudad",
|
|
7
|
+
postal: "Código postal",
|
|
8
|
+
stateCode: "Estado ",
|
|
9
|
+
country: "País",
|
|
10
|
+
phoneNumber: "Número de teléfono",
|
|
11
|
+
dialCode: "Código de marcado",
|
|
12
|
+
defaultAddress: "Convertir esta tarjeta en predeterminada.",
|
|
13
|
+
countryPlaceholder: "Please select",
|
|
14
|
+
stateCodePlaceholder: "Select state or Province",
|
|
15
|
+
phoneNumberPlaceholder: "Enter your phone number",
|
|
16
|
+
addressHeading: "Dirección de Facturación y Entrega",
|
|
17
|
+
addNewAddress: "Añadir nueva dirección",
|
|
18
|
+
confirm: "Confirmar dirección",
|
|
19
|
+
cancel: "Cancelar",
|
|
20
|
+
editButton: "Editar",
|
|
21
|
+
deleteButton: "Eliminar",
|
|
22
|
+
defaultBadge: "Predeterminada",
|
|
23
|
+
makeDefault: "Establecer como predeterminada",
|
|
24
|
+
countrySelectPlaceholder: "Seleccionar País"
|
|
25
|
+
}, t = {
|
|
26
|
+
FIELD_REQUIRED: "{{field}} is required",
|
|
27
|
+
FIELD_TOO_LONG: "Debe contar con al menos {{maxLength}} caracteres de longitud",
|
|
28
|
+
FIELD_TOO_SHORT: "Must be at least {{minLength}} characters long",
|
|
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
|
+
}, a = {
|
|
33
|
+
AT: {
|
|
34
|
+
stateCode: "Estado",
|
|
35
|
+
stateCodePlaceholder: "Select the state",
|
|
36
|
+
city: "Alcaldía o municipio",
|
|
37
|
+
postal: "Código postal"
|
|
38
|
+
},
|
|
39
|
+
AU: {
|
|
40
|
+
stateCode: "Estado",
|
|
41
|
+
stateCodePlaceholder: "Select the state",
|
|
42
|
+
city: "Suburbio",
|
|
43
|
+
postal: "Código postal"
|
|
44
|
+
},
|
|
45
|
+
CA: {
|
|
46
|
+
stateCode: "Provincia",
|
|
47
|
+
stateCodePlaceholder: "Select the province",
|
|
48
|
+
city: "Alcaldía o municipio",
|
|
49
|
+
postal: "Código postal"
|
|
50
|
+
},
|
|
51
|
+
CZ: {
|
|
52
|
+
stateCode: "Región",
|
|
53
|
+
stateCodePlaceholder: "Select the region",
|
|
54
|
+
city: "Alcaldía o municipio",
|
|
55
|
+
postal: "Código postal"
|
|
56
|
+
},
|
|
57
|
+
DE: {
|
|
58
|
+
stateCode: "Estado",
|
|
59
|
+
stateCodePlaceholder: "Select the state",
|
|
60
|
+
city: "Alcaldía o municipio",
|
|
61
|
+
postal: "Código postal"
|
|
62
|
+
},
|
|
63
|
+
DK: {
|
|
64
|
+
stateCode: "Región",
|
|
65
|
+
stateCodePlaceholder: "Select the region",
|
|
66
|
+
city: "Alcaldía o municipio",
|
|
67
|
+
postal: "Código postal"
|
|
68
|
+
},
|
|
69
|
+
ES: {
|
|
70
|
+
stateCode: "Estado",
|
|
71
|
+
stateCodePlaceholder: "Select the state",
|
|
72
|
+
city: "Alcaldía o municipio",
|
|
73
|
+
postal: "Código postal"
|
|
74
|
+
},
|
|
75
|
+
FI: {
|
|
76
|
+
stateCode: "Región",
|
|
77
|
+
stateCodePlaceholder: "Select the region",
|
|
78
|
+
city: "Alcaldía o municipio",
|
|
79
|
+
postal: "Código postal"
|
|
80
|
+
},
|
|
81
|
+
IE: {
|
|
82
|
+
stateCode: "País",
|
|
83
|
+
stateCodePlaceholder: "Select the county",
|
|
84
|
+
city: "Alcaldía o municipio",
|
|
85
|
+
postal: "Código postal"
|
|
86
|
+
},
|
|
87
|
+
MX: {
|
|
88
|
+
stateCode: "State",
|
|
89
|
+
stateCodePlaceholder: "Select the state",
|
|
90
|
+
city: "City",
|
|
91
|
+
postal: "Postal Code"
|
|
92
|
+
},
|
|
93
|
+
NL: {
|
|
94
|
+
stateCode: "Provincia",
|
|
95
|
+
stateCodePlaceholder: "Select the province",
|
|
96
|
+
city: "Alcaldía o municipio",
|
|
97
|
+
postal: "Código postal"
|
|
98
|
+
},
|
|
99
|
+
NO: {
|
|
100
|
+
stateCode: "País",
|
|
101
|
+
stateCodePlaceholder: "Select the county",
|
|
102
|
+
city: "Alcaldía o municipio",
|
|
103
|
+
postal: "Código postal"
|
|
104
|
+
},
|
|
105
|
+
NZ: {
|
|
106
|
+
stateCode: "Región",
|
|
107
|
+
stateCodePlaceholder: "Select the region",
|
|
108
|
+
city: "Ciudad",
|
|
109
|
+
postal: "Código postal"
|
|
110
|
+
},
|
|
111
|
+
PL: {
|
|
112
|
+
stateCode: "Region / Province",
|
|
113
|
+
stateCodePlaceholder: "Select the region / province",
|
|
114
|
+
city: "Alcaldía o municipio",
|
|
115
|
+
postal: "Código postal"
|
|
116
|
+
},
|
|
117
|
+
SE: {
|
|
118
|
+
stateCode: "Región",
|
|
119
|
+
stateCodePlaceholder: "Select the region",
|
|
120
|
+
city: "Alcaldía o municipio",
|
|
121
|
+
postal: "Código postal"
|
|
122
|
+
},
|
|
123
|
+
US: {
|
|
124
|
+
stateCode: "Estado",
|
|
125
|
+
stateCodePlaceholder: "Select the state",
|
|
126
|
+
city: "Alcaldía o municipio",
|
|
127
|
+
postal: "Código postal"
|
|
128
|
+
},
|
|
129
|
+
ZA: {
|
|
130
|
+
stateCode: "Estado",
|
|
131
|
+
stateCodePlaceholder: "Select the state",
|
|
132
|
+
city: "Alcaldía o municipio",
|
|
133
|
+
postal: "Código 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
|
+
}, o = {
|
|
154
|
+
form: e,
|
|
155
|
+
validation: t,
|
|
156
|
+
country: a
|
|
157
|
+
};
|
|
158
|
+
export {
|
|
159
|
+
a as country,
|
|
160
|
+
o as default,
|
|
161
|
+
e as form,
|
|
162
|
+
t as validation
|
|
163
|
+
};
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"form": {
|
|
3
|
+
"firstName": "Etunimi",
|
|
4
|
+
"lastName": "Sukunimi",
|
|
5
|
+
"address1": "Osoite 1",
|
|
6
|
+
"address2": "Osoite 2",
|
|
7
|
+
"city": "Kaupunki",
|
|
8
|
+
"postal": "Postinumero",
|
|
9
|
+
"stateCode": "Osavaltio / Maakunta",
|
|
10
|
+
"country": "Maa",
|
|
11
|
+
"phoneNumber": "Puhelinnumero",
|
|
12
|
+
"dialCode": "Valintakoodi",
|
|
13
|
+
"defaultAddress": "Valitse tämä ensisijaiseksi kortikseni.",
|
|
14
|
+
"countryPlaceholder": "Please select",
|
|
15
|
+
"stateCodePlaceholder": "Select state or Province",
|
|
16
|
+
"phoneNumberPlaceholder": "Enter your phone number",
|
|
17
|
+
"addressHeading": "Laskutus- ja toimitusosoite",
|
|
18
|
+
"addNewAddress": "Add New Address",
|
|
19
|
+
"confirm": "Vahvista osoite",
|
|
20
|
+
"cancel": "Peruuta",
|
|
21
|
+
"editButton": "Muokkaa",
|
|
22
|
+
"deleteButton": "Poista",
|
|
23
|
+
"defaultBadge": "Oletus",
|
|
24
|
+
"makeDefault": "Aseta oletukseksi",
|
|
25
|
+
"countrySelectPlaceholder": "Valitse maa"
|
|
26
|
+
},
|
|
27
|
+
"validation": {
|
|
28
|
+
"FIELD_REQUIRED": "{{field}} is required",
|
|
29
|
+
"FIELD_TOO_LONG": "Pitää olla enintään {{maxLength}} merkkiä pitkä",
|
|
30
|
+
"FIELD_TOO_SHORT": "Pitää olla enintään {{minLength}} merkkiä pitkä",
|
|
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": "Osavaltio",
|
|
38
|
+
"stateCodePlaceholder": "Select the state",
|
|
39
|
+
"city": "Kaupunki",
|
|
40
|
+
"postal": "Postinumero"
|
|
41
|
+
},
|
|
42
|
+
"AU": {
|
|
43
|
+
"stateCode": "Osavaltio",
|
|
44
|
+
"stateCodePlaceholder": "Select the state",
|
|
45
|
+
"city": "Asutusalue",
|
|
46
|
+
"postal": "Postinumero"
|
|
47
|
+
},
|
|
48
|
+
"CA": {
|
|
49
|
+
"stateCode": "Province",
|
|
50
|
+
"stateCodePlaceholder": "Select the province",
|
|
51
|
+
"city": "Kaupunki",
|
|
52
|
+
"postal": "Postinumero"
|
|
53
|
+
},
|
|
54
|
+
"CZ": {
|
|
55
|
+
"stateCode": "Alue",
|
|
56
|
+
"stateCodePlaceholder": "Select the region",
|
|
57
|
+
"city": "Kaupunki",
|
|
58
|
+
"postal": "Postinumero"
|
|
59
|
+
},
|
|
60
|
+
"DE": {
|
|
61
|
+
"stateCode": "Osavaltio",
|
|
62
|
+
"stateCodePlaceholder": "Select the state",
|
|
63
|
+
"city": "Kaupunki",
|
|
64
|
+
"postal": "Postinumero"
|
|
65
|
+
},
|
|
66
|
+
"DK": {
|
|
67
|
+
"stateCode": "Alue",
|
|
68
|
+
"stateCodePlaceholder": "Select the region",
|
|
69
|
+
"city": "Kaupunki",
|
|
70
|
+
"postal": "Postinumero"
|
|
71
|
+
},
|
|
72
|
+
"ES": {
|
|
73
|
+
"stateCode": "Osavaltio",
|
|
74
|
+
"stateCodePlaceholder": "Select the state",
|
|
75
|
+
"city": "Kaupunki",
|
|
76
|
+
"postal": "Postinumero"
|
|
77
|
+
},
|
|
78
|
+
"FI": {
|
|
79
|
+
"stateCode": "Alue",
|
|
80
|
+
"stateCodePlaceholder": "Select the region",
|
|
81
|
+
"city": "Kaupunki",
|
|
82
|
+
"postal": "Postinumero"
|
|
83
|
+
},
|
|
84
|
+
"IE": {
|
|
85
|
+
"stateCode": "Lääni",
|
|
86
|
+
"stateCodePlaceholder": "Select the county",
|
|
87
|
+
"city": "Kaupunki",
|
|
88
|
+
"postal": "Postinumero"
|
|
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": "Kaupunki",
|
|
100
|
+
"postal": "Postinumero"
|
|
101
|
+
},
|
|
102
|
+
"NO": {
|
|
103
|
+
"stateCode": "Lääni",
|
|
104
|
+
"stateCodePlaceholder": "Select the county",
|
|
105
|
+
"city": "Kaupunki",
|
|
106
|
+
"postal": "Postinumero"
|
|
107
|
+
},
|
|
108
|
+
"NZ": {
|
|
109
|
+
"stateCode": "Alue",
|
|
110
|
+
"stateCodePlaceholder": "Select the region",
|
|
111
|
+
"city": "Kaupunki",
|
|
112
|
+
"postal": "Postinumero"
|
|
113
|
+
},
|
|
114
|
+
"PL": {
|
|
115
|
+
"stateCode": "Region / Province",
|
|
116
|
+
"stateCodePlaceholder": "Select the region / province",
|
|
117
|
+
"city": "Kaupunki",
|
|
118
|
+
"postal": "Postinumero"
|
|
119
|
+
},
|
|
120
|
+
"SE": {
|
|
121
|
+
"stateCode": "Alue",
|
|
122
|
+
"stateCodePlaceholder": "Select the region",
|
|
123
|
+
"city": "Kaupunki",
|
|
124
|
+
"postal": "Postinumero"
|
|
125
|
+
},
|
|
126
|
+
"US": {
|
|
127
|
+
"stateCode": "Osavaltio",
|
|
128
|
+
"stateCodePlaceholder": "Select the state",
|
|
129
|
+
"city": "Kaupunki",
|
|
130
|
+
"postal": "Postinumero"
|
|
131
|
+
},
|
|
132
|
+
"ZA": {
|
|
133
|
+
"stateCode": "Osavaltio",
|
|
134
|
+
"stateCodePlaceholder": "Select the state",
|
|
135
|
+
"city": "Kaupunki",
|
|
136
|
+
"postal": "Postinumero"
|
|
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: "Etunimi",
|
|
3
|
+
lastName: "Sukunimi",
|
|
4
|
+
address1: "Osoite 1",
|
|
5
|
+
address2: "Osoite 2",
|
|
6
|
+
city: "Kaupunki",
|
|
7
|
+
postal: "Postinumero",
|
|
8
|
+
stateCode: "Osavaltio / Maakunta",
|
|
9
|
+
country: "Maa",
|
|
10
|
+
phoneNumber: "Puhelinnumero",
|
|
11
|
+
dialCode: "Valintakoodi",
|
|
12
|
+
defaultAddress: "Valitse tämä ensisijaiseksi kortikseni.",
|
|
13
|
+
countryPlaceholder: "Please select",
|
|
14
|
+
stateCodePlaceholder: "Select state or Province",
|
|
15
|
+
phoneNumberPlaceholder: "Enter your phone number",
|
|
16
|
+
addressHeading: "Laskutus- ja toimitusosoite",
|
|
17
|
+
addNewAddress: "Add New Address",
|
|
18
|
+
confirm: "Vahvista osoite",
|
|
19
|
+
cancel: "Peruuta",
|
|
20
|
+
editButton: "Muokkaa",
|
|
21
|
+
deleteButton: "Poista",
|
|
22
|
+
defaultBadge: "Oletus",
|
|
23
|
+
makeDefault: "Aseta oletukseksi",
|
|
24
|
+
countrySelectPlaceholder: "Valitse maa"
|
|
25
|
+
}, t = {
|
|
26
|
+
FIELD_REQUIRED: "{{field}} is required",
|
|
27
|
+
FIELD_TOO_LONG: "Pitää olla enintään {{maxLength}} merkkiä pitkä",
|
|
28
|
+
FIELD_TOO_SHORT: "Pitää olla enintään {{minLength}} merkkiä pitkä",
|
|
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: "Osavaltio",
|
|
35
|
+
stateCodePlaceholder: "Select the state",
|
|
36
|
+
city: "Kaupunki",
|
|
37
|
+
postal: "Postinumero"
|
|
38
|
+
},
|
|
39
|
+
AU: {
|
|
40
|
+
stateCode: "Osavaltio",
|
|
41
|
+
stateCodePlaceholder: "Select the state",
|
|
42
|
+
city: "Asutusalue",
|
|
43
|
+
postal: "Postinumero"
|
|
44
|
+
},
|
|
45
|
+
CA: {
|
|
46
|
+
stateCode: "Province",
|
|
47
|
+
stateCodePlaceholder: "Select the province",
|
|
48
|
+
city: "Kaupunki",
|
|
49
|
+
postal: "Postinumero"
|
|
50
|
+
},
|
|
51
|
+
CZ: {
|
|
52
|
+
stateCode: "Alue",
|
|
53
|
+
stateCodePlaceholder: "Select the region",
|
|
54
|
+
city: "Kaupunki",
|
|
55
|
+
postal: "Postinumero"
|
|
56
|
+
},
|
|
57
|
+
DE: {
|
|
58
|
+
stateCode: "Osavaltio",
|
|
59
|
+
stateCodePlaceholder: "Select the state",
|
|
60
|
+
city: "Kaupunki",
|
|
61
|
+
postal: "Postinumero"
|
|
62
|
+
},
|
|
63
|
+
DK: {
|
|
64
|
+
stateCode: "Alue",
|
|
65
|
+
stateCodePlaceholder: "Select the region",
|
|
66
|
+
city: "Kaupunki",
|
|
67
|
+
postal: "Postinumero"
|
|
68
|
+
},
|
|
69
|
+
ES: {
|
|
70
|
+
stateCode: "Osavaltio",
|
|
71
|
+
stateCodePlaceholder: "Select the state",
|
|
72
|
+
city: "Kaupunki",
|
|
73
|
+
postal: "Postinumero"
|
|
74
|
+
},
|
|
75
|
+
FI: {
|
|
76
|
+
stateCode: "Alue",
|
|
77
|
+
stateCodePlaceholder: "Select the region",
|
|
78
|
+
city: "Kaupunki",
|
|
79
|
+
postal: "Postinumero"
|
|
80
|
+
},
|
|
81
|
+
IE: {
|
|
82
|
+
stateCode: "Lääni",
|
|
83
|
+
stateCodePlaceholder: "Select the county",
|
|
84
|
+
city: "Kaupunki",
|
|
85
|
+
postal: "Postinumero"
|
|
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: "Kaupunki",
|
|
97
|
+
postal: "Postinumero"
|
|
98
|
+
},
|
|
99
|
+
NO: {
|
|
100
|
+
stateCode: "Lääni",
|
|
101
|
+
stateCodePlaceholder: "Select the county",
|
|
102
|
+
city: "Kaupunki",
|
|
103
|
+
postal: "Postinumero"
|
|
104
|
+
},
|
|
105
|
+
NZ: {
|
|
106
|
+
stateCode: "Alue",
|
|
107
|
+
stateCodePlaceholder: "Select the region",
|
|
108
|
+
city: "Kaupunki",
|
|
109
|
+
postal: "Postinumero"
|
|
110
|
+
},
|
|
111
|
+
PL: {
|
|
112
|
+
stateCode: "Region / Province",
|
|
113
|
+
stateCodePlaceholder: "Select the region / province",
|
|
114
|
+
city: "Kaupunki",
|
|
115
|
+
postal: "Postinumero"
|
|
116
|
+
},
|
|
117
|
+
SE: {
|
|
118
|
+
stateCode: "Alue",
|
|
119
|
+
stateCodePlaceholder: "Select the region",
|
|
120
|
+
city: "Kaupunki",
|
|
121
|
+
postal: "Postinumero"
|
|
122
|
+
},
|
|
123
|
+
US: {
|
|
124
|
+
stateCode: "Osavaltio",
|
|
125
|
+
stateCodePlaceholder: "Select the state",
|
|
126
|
+
city: "Kaupunki",
|
|
127
|
+
postal: "Postinumero"
|
|
128
|
+
},
|
|
129
|
+
ZA: {
|
|
130
|
+
stateCode: "Osavaltio",
|
|
131
|
+
stateCodePlaceholder: "Select the state",
|
|
132
|
+
city: "Kaupunki",
|
|
133
|
+
postal: "Postinumero"
|
|
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
|
+
};
|