@ticketmaster/tm-global-address 0.5.0 → 0.7.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 +204 -227
- package/dist/components/AddressList/AddressList.d.ts +7 -2
- package/dist/components/AddressList/AddressList.js +41 -37
- package/dist/components/PhoneField/PhoneField.d.ts +57 -0
- package/dist/components/PhoneField/PhoneField.js +119 -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 +48 -38
- package/package.json +1 -1
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"form": {
|
|
3
|
+
"firstName": "الاسم الأول",
|
|
4
|
+
"lastName": "اسم العائلة",
|
|
5
|
+
"address1": "سطر العنوان 2",
|
|
6
|
+
"address2": "Address Line 2 (Optional)",
|
|
7
|
+
"city": "مدينة",
|
|
8
|
+
"postal": "Postal Code",
|
|
9
|
+
"stateCode": "State / Province",
|
|
10
|
+
"country": "بلد",
|
|
11
|
+
"phoneNumber": "Phone Number",
|
|
12
|
+
"dialCode": "Dial Code",
|
|
13
|
+
"defaultAddress": "Make this my default card",
|
|
14
|
+
"countryPlaceholder": "Please select",
|
|
15
|
+
"stateCodePlaceholder": "Select state or Province",
|
|
16
|
+
"phoneNumberPlaceholder": "Enter your phone number",
|
|
17
|
+
"addressHeading": "Billing and Delivery Address",
|
|
18
|
+
"addNewAddress": "Add New Address",
|
|
19
|
+
"confirm": "تأكيد العنوان",
|
|
20
|
+
"cancel": "إلغاء",
|
|
21
|
+
"editButton": "تعديل",
|
|
22
|
+
"deleteButton": "حذف",
|
|
23
|
+
"defaultBadge": "افتراضي",
|
|
24
|
+
"makeDefault": "اجعل هذا عنواني الافتراضي",
|
|
25
|
+
"countrySelectPlaceholder": "Choose country"
|
|
26
|
+
},
|
|
27
|
+
"validation": {
|
|
28
|
+
"FIELD_REQUIRED": "{{field}} is required",
|
|
29
|
+
"FIELD_TOO_LONG": "Must be at most {{maxLength}} characters long",
|
|
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": "State",
|
|
38
|
+
"stateCodePlaceholder": "Select the state",
|
|
39
|
+
"city": "مدينة",
|
|
40
|
+
"postal": "Postal Code"
|
|
41
|
+
},
|
|
42
|
+
"AU": {
|
|
43
|
+
"stateCode": "State",
|
|
44
|
+
"stateCodePlaceholder": "Select the state",
|
|
45
|
+
"city": "Suburb",
|
|
46
|
+
"postal": "Postal Code"
|
|
47
|
+
},
|
|
48
|
+
"CA": {
|
|
49
|
+
"stateCode": "Province",
|
|
50
|
+
"stateCodePlaceholder": "Select the province",
|
|
51
|
+
"city": "مدينة",
|
|
52
|
+
"postal": "Postal Code"
|
|
53
|
+
},
|
|
54
|
+
"CZ": {
|
|
55
|
+
"stateCode": "Region",
|
|
56
|
+
"stateCodePlaceholder": "Select the region",
|
|
57
|
+
"city": "مدينة",
|
|
58
|
+
"postal": "Postal Code"
|
|
59
|
+
},
|
|
60
|
+
"DE": {
|
|
61
|
+
"stateCode": "State",
|
|
62
|
+
"stateCodePlaceholder": "Select the state",
|
|
63
|
+
"city": "مدينة",
|
|
64
|
+
"postal": "Postal Code"
|
|
65
|
+
},
|
|
66
|
+
"DK": {
|
|
67
|
+
"stateCode": "Region",
|
|
68
|
+
"stateCodePlaceholder": "Select the region",
|
|
69
|
+
"city": "مدينة",
|
|
70
|
+
"postal": "Postal Code"
|
|
71
|
+
},
|
|
72
|
+
"ES": {
|
|
73
|
+
"stateCode": "State",
|
|
74
|
+
"stateCodePlaceholder": "Select the state",
|
|
75
|
+
"city": "مدينة",
|
|
76
|
+
"postal": "Postal Code"
|
|
77
|
+
},
|
|
78
|
+
"FI": {
|
|
79
|
+
"stateCode": "Region",
|
|
80
|
+
"stateCodePlaceholder": "Select the region",
|
|
81
|
+
"city": "مدينة",
|
|
82
|
+
"postal": "Postal Code"
|
|
83
|
+
},
|
|
84
|
+
"IE": {
|
|
85
|
+
"stateCode": "County",
|
|
86
|
+
"stateCodePlaceholder": "Select the county",
|
|
87
|
+
"city": "مدينة",
|
|
88
|
+
"postal": "Postal Code"
|
|
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": "مدينة",
|
|
100
|
+
"postal": "Postal Code"
|
|
101
|
+
},
|
|
102
|
+
"NO": {
|
|
103
|
+
"stateCode": "County",
|
|
104
|
+
"stateCodePlaceholder": "Select the county",
|
|
105
|
+
"city": "مدينة",
|
|
106
|
+
"postal": "Postal Code"
|
|
107
|
+
},
|
|
108
|
+
"NZ": {
|
|
109
|
+
"stateCode": "Region",
|
|
110
|
+
"stateCodePlaceholder": "Select the region",
|
|
111
|
+
"city": "Town/City",
|
|
112
|
+
"postal": "Postal Code"
|
|
113
|
+
},
|
|
114
|
+
"PL": {
|
|
115
|
+
"stateCode": "Region / Province",
|
|
116
|
+
"stateCodePlaceholder": "Select the region / province",
|
|
117
|
+
"city": "مدينة",
|
|
118
|
+
"postal": "Postal Code"
|
|
119
|
+
},
|
|
120
|
+
"SE": {
|
|
121
|
+
"stateCode": "Region",
|
|
122
|
+
"stateCodePlaceholder": "Select the region",
|
|
123
|
+
"city": "مدينة",
|
|
124
|
+
"postal": "Postal Code"
|
|
125
|
+
},
|
|
126
|
+
"US": {
|
|
127
|
+
"stateCode": "State",
|
|
128
|
+
"stateCodePlaceholder": "Select the state",
|
|
129
|
+
"city": "مدينة",
|
|
130
|
+
"postal": "Postal Code"
|
|
131
|
+
},
|
|
132
|
+
"ZA": {
|
|
133
|
+
"stateCode": "State",
|
|
134
|
+
"stateCodePlaceholder": "Select the state",
|
|
135
|
+
"city": "مدينة",
|
|
136
|
+
"postal": "Postal Code"
|
|
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: "الاسم الأول",
|
|
3
|
+
lastName: "اسم العائلة",
|
|
4
|
+
address1: "سطر العنوان 2",
|
|
5
|
+
address2: "Address Line 2 (Optional)",
|
|
6
|
+
city: "مدينة",
|
|
7
|
+
postal: "Postal Code",
|
|
8
|
+
stateCode: "State / Province",
|
|
9
|
+
country: "بلد",
|
|
10
|
+
phoneNumber: "Phone Number",
|
|
11
|
+
dialCode: "Dial Code",
|
|
12
|
+
defaultAddress: "Make this my default card",
|
|
13
|
+
countryPlaceholder: "Please select",
|
|
14
|
+
stateCodePlaceholder: "Select state or Province",
|
|
15
|
+
phoneNumberPlaceholder: "Enter your phone number",
|
|
16
|
+
addressHeading: "Billing and Delivery Address",
|
|
17
|
+
addNewAddress: "Add New Address",
|
|
18
|
+
confirm: "تأكيد العنوان",
|
|
19
|
+
cancel: "إلغاء",
|
|
20
|
+
editButton: "تعديل",
|
|
21
|
+
deleteButton: "حذف",
|
|
22
|
+
defaultBadge: "افتراضي",
|
|
23
|
+
makeDefault: "اجعل هذا عنواني الافتراضي",
|
|
24
|
+
countrySelectPlaceholder: "Choose country"
|
|
25
|
+
}, t = {
|
|
26
|
+
FIELD_REQUIRED: "{{field}} is required",
|
|
27
|
+
FIELD_TOO_LONG: "Must be at most {{maxLength}} characters long",
|
|
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
|
+
}, o = {
|
|
33
|
+
AT: {
|
|
34
|
+
stateCode: "State",
|
|
35
|
+
stateCodePlaceholder: "Select the state",
|
|
36
|
+
city: "مدينة",
|
|
37
|
+
postal: "Postal Code"
|
|
38
|
+
},
|
|
39
|
+
AU: {
|
|
40
|
+
stateCode: "State",
|
|
41
|
+
stateCodePlaceholder: "Select the state",
|
|
42
|
+
city: "Suburb",
|
|
43
|
+
postal: "Postal Code"
|
|
44
|
+
},
|
|
45
|
+
CA: {
|
|
46
|
+
stateCode: "Province",
|
|
47
|
+
stateCodePlaceholder: "Select the province",
|
|
48
|
+
city: "مدينة",
|
|
49
|
+
postal: "Postal Code"
|
|
50
|
+
},
|
|
51
|
+
CZ: {
|
|
52
|
+
stateCode: "Region",
|
|
53
|
+
stateCodePlaceholder: "Select the region",
|
|
54
|
+
city: "مدينة",
|
|
55
|
+
postal: "Postal Code"
|
|
56
|
+
},
|
|
57
|
+
DE: {
|
|
58
|
+
stateCode: "State",
|
|
59
|
+
stateCodePlaceholder: "Select the state",
|
|
60
|
+
city: "مدينة",
|
|
61
|
+
postal: "Postal Code"
|
|
62
|
+
},
|
|
63
|
+
DK: {
|
|
64
|
+
stateCode: "Region",
|
|
65
|
+
stateCodePlaceholder: "Select the region",
|
|
66
|
+
city: "مدينة",
|
|
67
|
+
postal: "Postal Code"
|
|
68
|
+
},
|
|
69
|
+
ES: {
|
|
70
|
+
stateCode: "State",
|
|
71
|
+
stateCodePlaceholder: "Select the state",
|
|
72
|
+
city: "مدينة",
|
|
73
|
+
postal: "Postal Code"
|
|
74
|
+
},
|
|
75
|
+
FI: {
|
|
76
|
+
stateCode: "Region",
|
|
77
|
+
stateCodePlaceholder: "Select the region",
|
|
78
|
+
city: "مدينة",
|
|
79
|
+
postal: "Postal Code"
|
|
80
|
+
},
|
|
81
|
+
IE: {
|
|
82
|
+
stateCode: "County",
|
|
83
|
+
stateCodePlaceholder: "Select the county",
|
|
84
|
+
city: "مدينة",
|
|
85
|
+
postal: "Postal Code"
|
|
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: "مدينة",
|
|
97
|
+
postal: "Postal Code"
|
|
98
|
+
},
|
|
99
|
+
NO: {
|
|
100
|
+
stateCode: "County",
|
|
101
|
+
stateCodePlaceholder: "Select the county",
|
|
102
|
+
city: "مدينة",
|
|
103
|
+
postal: "Postal Code"
|
|
104
|
+
},
|
|
105
|
+
NZ: {
|
|
106
|
+
stateCode: "Region",
|
|
107
|
+
stateCodePlaceholder: "Select the region",
|
|
108
|
+
city: "Town/City",
|
|
109
|
+
postal: "Postal Code"
|
|
110
|
+
},
|
|
111
|
+
PL: {
|
|
112
|
+
stateCode: "Region / Province",
|
|
113
|
+
stateCodePlaceholder: "Select the region / province",
|
|
114
|
+
city: "مدينة",
|
|
115
|
+
postal: "Postal Code"
|
|
116
|
+
},
|
|
117
|
+
SE: {
|
|
118
|
+
stateCode: "Region",
|
|
119
|
+
stateCodePlaceholder: "Select the region",
|
|
120
|
+
city: "مدينة",
|
|
121
|
+
postal: "Postal Code"
|
|
122
|
+
},
|
|
123
|
+
US: {
|
|
124
|
+
stateCode: "State",
|
|
125
|
+
stateCodePlaceholder: "Select the state",
|
|
126
|
+
city: "مدينة",
|
|
127
|
+
postal: "Postal Code"
|
|
128
|
+
},
|
|
129
|
+
ZA: {
|
|
130
|
+
stateCode: "State",
|
|
131
|
+
stateCodePlaceholder: "Select the state",
|
|
132
|
+
city: "مدينة",
|
|
133
|
+
postal: "Postal Code"
|
|
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": "Nom",
|
|
4
|
+
"lastName": "Cognoms",
|
|
5
|
+
"address1": "Adreça línia 1",
|
|
6
|
+
"address2": "Línia d'adreça 2 (Opcional)",
|
|
7
|
+
"city": "Ciutat",
|
|
8
|
+
"postal": "Codi postal",
|
|
9
|
+
"stateCode": "Estat / Província",
|
|
10
|
+
"country": "País",
|
|
11
|
+
"phoneNumber": "Número de telèfon",
|
|
12
|
+
"dialCode": "Codi de marcat",
|
|
13
|
+
"defaultAddress": "Convertir aquesta targeta en predeterminada.",
|
|
14
|
+
"countryPlaceholder": "Please select",
|
|
15
|
+
"stateCodePlaceholder": "Selecciona província",
|
|
16
|
+
"phoneNumberPlaceholder": "Introdueix el teu número de telèfon",
|
|
17
|
+
"addressHeading": "Adreça de facturació i lliurament",
|
|
18
|
+
"addNewAddress": "Afegeix una nova adreça",
|
|
19
|
+
"confirm": "Confirmar adreça",
|
|
20
|
+
"cancel": "Cancel·lar",
|
|
21
|
+
"editButton": "Editar",
|
|
22
|
+
"deleteButton": "Eliminar",
|
|
23
|
+
"defaultBadge": "Per defecte",
|
|
24
|
+
"makeDefault": "Definir com a predeterminada",
|
|
25
|
+
"countrySelectPlaceholder": "Triar país"
|
|
26
|
+
},
|
|
27
|
+
"validation": {
|
|
28
|
+
"FIELD_REQUIRED": "{{field}} is required",
|
|
29
|
+
"FIELD_TOO_LONG": "Ha de tenir almenys {{maxLength}} caràcters",
|
|
30
|
+
"FIELD_TOO_SHORT": "Ha de tenir almenys {{minLength}} caràcters",
|
|
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": "Estat",
|
|
38
|
+
"stateCodePlaceholder": "Selecciona l'estat",
|
|
39
|
+
"city": "Ciutat",
|
|
40
|
+
"postal": "Codi postal"
|
|
41
|
+
},
|
|
42
|
+
"AU": {
|
|
43
|
+
"stateCode": "Estat",
|
|
44
|
+
"stateCodePlaceholder": "Selecciona l'estat",
|
|
45
|
+
"city": "Barri",
|
|
46
|
+
"postal": "Codi postal"
|
|
47
|
+
},
|
|
48
|
+
"CA": {
|
|
49
|
+
"stateCode": "Província",
|
|
50
|
+
"stateCodePlaceholder": "Selecciona la província",
|
|
51
|
+
"city": "Ciutat",
|
|
52
|
+
"postal": "Codi postal"
|
|
53
|
+
},
|
|
54
|
+
"CZ": {
|
|
55
|
+
"stateCode": "Regió",
|
|
56
|
+
"stateCodePlaceholder": "Selecciona la regió",
|
|
57
|
+
"city": "Ciutat",
|
|
58
|
+
"postal": "Codi postal"
|
|
59
|
+
},
|
|
60
|
+
"DE": {
|
|
61
|
+
"stateCode": "Estat",
|
|
62
|
+
"stateCodePlaceholder": "Selecciona l'estat",
|
|
63
|
+
"city": "Ciutat",
|
|
64
|
+
"postal": "Codi postal"
|
|
65
|
+
},
|
|
66
|
+
"DK": {
|
|
67
|
+
"stateCode": "Regió",
|
|
68
|
+
"stateCodePlaceholder": "Selecciona la regió",
|
|
69
|
+
"city": "Ciutat",
|
|
70
|
+
"postal": "Codi postal"
|
|
71
|
+
},
|
|
72
|
+
"ES": {
|
|
73
|
+
"stateCode": "Estat",
|
|
74
|
+
"stateCodePlaceholder": "Selecciona la província",
|
|
75
|
+
"city": "Ciutat",
|
|
76
|
+
"postal": "Codi postal"
|
|
77
|
+
},
|
|
78
|
+
"FI": {
|
|
79
|
+
"stateCode": "Regió",
|
|
80
|
+
"stateCodePlaceholder": "Selecciona la regió",
|
|
81
|
+
"city": "Ciutat",
|
|
82
|
+
"postal": "Codi postal"
|
|
83
|
+
},
|
|
84
|
+
"IE": {
|
|
85
|
+
"stateCode": "Municipi",
|
|
86
|
+
"stateCodePlaceholder": "Selecciona el comtat",
|
|
87
|
+
"city": "Ciutat",
|
|
88
|
+
"postal": "Codi postal"
|
|
89
|
+
},
|
|
90
|
+
"MX": {
|
|
91
|
+
"stateCode": "Estat",
|
|
92
|
+
"stateCodePlaceholder": "Selecciona l'estat",
|
|
93
|
+
"city": "Ciutat",
|
|
94
|
+
"postal": "Codi postal"
|
|
95
|
+
},
|
|
96
|
+
"NL": {
|
|
97
|
+
"stateCode": "Província",
|
|
98
|
+
"stateCodePlaceholder": "Selecciona la província",
|
|
99
|
+
"city": "Ciutat",
|
|
100
|
+
"postal": "Codi postal"
|
|
101
|
+
},
|
|
102
|
+
"NO": {
|
|
103
|
+
"stateCode": "Municipi",
|
|
104
|
+
"stateCodePlaceholder": "Selecciona el comtat",
|
|
105
|
+
"city": "Ciutat",
|
|
106
|
+
"postal": "Codi postal"
|
|
107
|
+
},
|
|
108
|
+
"NZ": {
|
|
109
|
+
"stateCode": "Regió",
|
|
110
|
+
"stateCodePlaceholder": "Selecciona la regió",
|
|
111
|
+
"city": "Poble/Ciutat",
|
|
112
|
+
"postal": "Codi postal"
|
|
113
|
+
},
|
|
114
|
+
"PL": {
|
|
115
|
+
"stateCode": "Regió / Província",
|
|
116
|
+
"stateCodePlaceholder": "Selecciona la regió / província",
|
|
117
|
+
"city": "Ciutat",
|
|
118
|
+
"postal": "Codi postal"
|
|
119
|
+
},
|
|
120
|
+
"SE": {
|
|
121
|
+
"stateCode": "Regió",
|
|
122
|
+
"stateCodePlaceholder": "Selecciona la província",
|
|
123
|
+
"city": "Ciutat",
|
|
124
|
+
"postal": "Codi postal"
|
|
125
|
+
},
|
|
126
|
+
"US": {
|
|
127
|
+
"stateCode": "Estat",
|
|
128
|
+
"stateCodePlaceholder": "Selecciona l'estat",
|
|
129
|
+
"city": "Ciutat",
|
|
130
|
+
"postal": "Codi postal"
|
|
131
|
+
},
|
|
132
|
+
"ZA": {
|
|
133
|
+
"stateCode": "Estat",
|
|
134
|
+
"stateCodePlaceholder": "Selecciona l'estat",
|
|
135
|
+
"city": "Ciutat",
|
|
136
|
+
"postal": "Codi 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: "Nom",
|
|
3
|
+
lastName: "Cognoms",
|
|
4
|
+
address1: "Adreça línia 1",
|
|
5
|
+
address2: "Línia d'adreça 2 (Opcional)",
|
|
6
|
+
city: "Ciutat",
|
|
7
|
+
postal: "Codi postal",
|
|
8
|
+
stateCode: "Estat / Província",
|
|
9
|
+
country: "País",
|
|
10
|
+
phoneNumber: "Número de telèfon",
|
|
11
|
+
dialCode: "Codi de marcat",
|
|
12
|
+
defaultAddress: "Convertir aquesta targeta en predeterminada.",
|
|
13
|
+
countryPlaceholder: "Please select",
|
|
14
|
+
stateCodePlaceholder: "Selecciona província",
|
|
15
|
+
phoneNumberPlaceholder: "Introdueix el teu número de telèfon",
|
|
16
|
+
addressHeading: "Adreça de facturació i lliurament",
|
|
17
|
+
addNewAddress: "Afegeix una nova adreça",
|
|
18
|
+
confirm: "Confirmar adreça",
|
|
19
|
+
cancel: "Cancel·lar",
|
|
20
|
+
editButton: "Editar",
|
|
21
|
+
deleteButton: "Eliminar",
|
|
22
|
+
defaultBadge: "Per defecte",
|
|
23
|
+
makeDefault: "Definir com a predeterminada",
|
|
24
|
+
countrySelectPlaceholder: "Triar país"
|
|
25
|
+
}, t = {
|
|
26
|
+
FIELD_REQUIRED: "{{field}} is required",
|
|
27
|
+
FIELD_TOO_LONG: "Ha de tenir almenys {{maxLength}} caràcters",
|
|
28
|
+
FIELD_TOO_SHORT: "Ha de tenir almenys {{minLength}} caràcters",
|
|
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: "Estat",
|
|
35
|
+
stateCodePlaceholder: "Selecciona l'estat",
|
|
36
|
+
city: "Ciutat",
|
|
37
|
+
postal: "Codi postal"
|
|
38
|
+
},
|
|
39
|
+
AU: {
|
|
40
|
+
stateCode: "Estat",
|
|
41
|
+
stateCodePlaceholder: "Selecciona l'estat",
|
|
42
|
+
city: "Barri",
|
|
43
|
+
postal: "Codi postal"
|
|
44
|
+
},
|
|
45
|
+
CA: {
|
|
46
|
+
stateCode: "Província",
|
|
47
|
+
stateCodePlaceholder: "Selecciona la província",
|
|
48
|
+
city: "Ciutat",
|
|
49
|
+
postal: "Codi postal"
|
|
50
|
+
},
|
|
51
|
+
CZ: {
|
|
52
|
+
stateCode: "Regió",
|
|
53
|
+
stateCodePlaceholder: "Selecciona la regió",
|
|
54
|
+
city: "Ciutat",
|
|
55
|
+
postal: "Codi postal"
|
|
56
|
+
},
|
|
57
|
+
DE: {
|
|
58
|
+
stateCode: "Estat",
|
|
59
|
+
stateCodePlaceholder: "Selecciona l'estat",
|
|
60
|
+
city: "Ciutat",
|
|
61
|
+
postal: "Codi postal"
|
|
62
|
+
},
|
|
63
|
+
DK: {
|
|
64
|
+
stateCode: "Regió",
|
|
65
|
+
stateCodePlaceholder: "Selecciona la regió",
|
|
66
|
+
city: "Ciutat",
|
|
67
|
+
postal: "Codi postal"
|
|
68
|
+
},
|
|
69
|
+
ES: {
|
|
70
|
+
stateCode: "Estat",
|
|
71
|
+
stateCodePlaceholder: "Selecciona la província",
|
|
72
|
+
city: "Ciutat",
|
|
73
|
+
postal: "Codi postal"
|
|
74
|
+
},
|
|
75
|
+
FI: {
|
|
76
|
+
stateCode: "Regió",
|
|
77
|
+
stateCodePlaceholder: "Selecciona la regió",
|
|
78
|
+
city: "Ciutat",
|
|
79
|
+
postal: "Codi postal"
|
|
80
|
+
},
|
|
81
|
+
IE: {
|
|
82
|
+
stateCode: "Municipi",
|
|
83
|
+
stateCodePlaceholder: "Selecciona el comtat",
|
|
84
|
+
city: "Ciutat",
|
|
85
|
+
postal: "Codi postal"
|
|
86
|
+
},
|
|
87
|
+
MX: {
|
|
88
|
+
stateCode: "Estat",
|
|
89
|
+
stateCodePlaceholder: "Selecciona l'estat",
|
|
90
|
+
city: "Ciutat",
|
|
91
|
+
postal: "Codi postal"
|
|
92
|
+
},
|
|
93
|
+
NL: {
|
|
94
|
+
stateCode: "Província",
|
|
95
|
+
stateCodePlaceholder: "Selecciona la província",
|
|
96
|
+
city: "Ciutat",
|
|
97
|
+
postal: "Codi postal"
|
|
98
|
+
},
|
|
99
|
+
NO: {
|
|
100
|
+
stateCode: "Municipi",
|
|
101
|
+
stateCodePlaceholder: "Selecciona el comtat",
|
|
102
|
+
city: "Ciutat",
|
|
103
|
+
postal: "Codi postal"
|
|
104
|
+
},
|
|
105
|
+
NZ: {
|
|
106
|
+
stateCode: "Regió",
|
|
107
|
+
stateCodePlaceholder: "Selecciona la regió",
|
|
108
|
+
city: "Poble/Ciutat",
|
|
109
|
+
postal: "Codi postal"
|
|
110
|
+
},
|
|
111
|
+
PL: {
|
|
112
|
+
stateCode: "Regió / Província",
|
|
113
|
+
stateCodePlaceholder: "Selecciona la regió / província",
|
|
114
|
+
city: "Ciutat",
|
|
115
|
+
postal: "Codi postal"
|
|
116
|
+
},
|
|
117
|
+
SE: {
|
|
118
|
+
stateCode: "Regió",
|
|
119
|
+
stateCodePlaceholder: "Selecciona la província",
|
|
120
|
+
city: "Ciutat",
|
|
121
|
+
postal: "Codi postal"
|
|
122
|
+
},
|
|
123
|
+
US: {
|
|
124
|
+
stateCode: "Estat",
|
|
125
|
+
stateCodePlaceholder: "Selecciona l'estat",
|
|
126
|
+
city: "Ciutat",
|
|
127
|
+
postal: "Codi postal"
|
|
128
|
+
},
|
|
129
|
+
ZA: {
|
|
130
|
+
stateCode: "Estat",
|
|
131
|
+
stateCodePlaceholder: "Selecciona l'estat",
|
|
132
|
+
city: "Ciutat",
|
|
133
|
+
postal: "Codi 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
|
+
};
|