@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": "Nome",
|
|
4
|
+
"lastName": "Cognome",
|
|
5
|
+
"address1": "Indirizzo 1",
|
|
6
|
+
"address2": "Indirizzo Riga 2",
|
|
7
|
+
"city": "Città",
|
|
8
|
+
"postal": "CAP",
|
|
9
|
+
"stateCode": "Stato / Provincia",
|
|
10
|
+
"country": "Paese",
|
|
11
|
+
"phoneNumber": "Numero di Telefono",
|
|
12
|
+
"dialCode": "Codice di conferma",
|
|
13
|
+
"defaultAddress": "Rendila la mia carta predefinita.",
|
|
14
|
+
"countryPlaceholder": "Please select",
|
|
15
|
+
"stateCodePlaceholder": "Seleziona lo Stato o la Provincia",
|
|
16
|
+
"phoneNumberPlaceholder": "Inserisci il tuo numero di telefono",
|
|
17
|
+
"addressHeading": "Indirizzo di fatturazione e consegna",
|
|
18
|
+
"addNewAddress": "Aggiungi nuovo indirizzo",
|
|
19
|
+
"confirm": "Conferma indirizzo",
|
|
20
|
+
"cancel": "Annulla",
|
|
21
|
+
"editButton": "Modifica",
|
|
22
|
+
"deleteButton": "Elimina",
|
|
23
|
+
"defaultBadge": "Predefinito",
|
|
24
|
+
"makeDefault": "Imposta come predefinito",
|
|
25
|
+
"countrySelectPlaceholder": "Scegli il paese"
|
|
26
|
+
},
|
|
27
|
+
"validation": {
|
|
28
|
+
"FIELD_REQUIRED": "{{field}} is required",
|
|
29
|
+
"FIELD_TOO_LONG": "Deve essere lungo al massimo {{maxLength}} caratteri",
|
|
30
|
+
"FIELD_TOO_SHORT": "Deve essere lungo almeno {{minLength}} caratteri",
|
|
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": "Provincia",
|
|
38
|
+
"stateCodePlaceholder": "Seleziona lo stato",
|
|
39
|
+
"city": "Città",
|
|
40
|
+
"postal": "CAP"
|
|
41
|
+
},
|
|
42
|
+
"AU": {
|
|
43
|
+
"stateCode": "Provincia",
|
|
44
|
+
"stateCodePlaceholder": "Seleziona lo stato",
|
|
45
|
+
"city": "Suburb",
|
|
46
|
+
"postal": "CAP"
|
|
47
|
+
},
|
|
48
|
+
"CA": {
|
|
49
|
+
"stateCode": "Province",
|
|
50
|
+
"stateCodePlaceholder": "Select the province",
|
|
51
|
+
"city": "Città",
|
|
52
|
+
"postal": "CAP"
|
|
53
|
+
},
|
|
54
|
+
"CZ": {
|
|
55
|
+
"stateCode": "Regione",
|
|
56
|
+
"stateCodePlaceholder": "Select the region",
|
|
57
|
+
"city": "Città",
|
|
58
|
+
"postal": "CAP"
|
|
59
|
+
},
|
|
60
|
+
"DE": {
|
|
61
|
+
"stateCode": "Provincia",
|
|
62
|
+
"stateCodePlaceholder": "Seleziona lo stato",
|
|
63
|
+
"city": "Città",
|
|
64
|
+
"postal": "CAP"
|
|
65
|
+
},
|
|
66
|
+
"DK": {
|
|
67
|
+
"stateCode": "Regione",
|
|
68
|
+
"stateCodePlaceholder": "Select the region",
|
|
69
|
+
"city": "Città",
|
|
70
|
+
"postal": "CAP"
|
|
71
|
+
},
|
|
72
|
+
"ES": {
|
|
73
|
+
"stateCode": "Provincia",
|
|
74
|
+
"stateCodePlaceholder": "Seleziona lo stato",
|
|
75
|
+
"city": "Città",
|
|
76
|
+
"postal": "CAP"
|
|
77
|
+
},
|
|
78
|
+
"FI": {
|
|
79
|
+
"stateCode": "Regione",
|
|
80
|
+
"stateCodePlaceholder": "Select the region",
|
|
81
|
+
"city": "Città",
|
|
82
|
+
"postal": "CAP"
|
|
83
|
+
},
|
|
84
|
+
"IE": {
|
|
85
|
+
"stateCode": "Regione",
|
|
86
|
+
"stateCodePlaceholder": "Select the county",
|
|
87
|
+
"city": "Città",
|
|
88
|
+
"postal": "CAP"
|
|
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": "Città",
|
|
100
|
+
"postal": "CAP"
|
|
101
|
+
},
|
|
102
|
+
"NO": {
|
|
103
|
+
"stateCode": "Regione",
|
|
104
|
+
"stateCodePlaceholder": "Select the county",
|
|
105
|
+
"city": "Città",
|
|
106
|
+
"postal": "CAP"
|
|
107
|
+
},
|
|
108
|
+
"NZ": {
|
|
109
|
+
"stateCode": "Regione",
|
|
110
|
+
"stateCodePlaceholder": "Select the region",
|
|
111
|
+
"city": "Città",
|
|
112
|
+
"postal": "CAP"
|
|
113
|
+
},
|
|
114
|
+
"PL": {
|
|
115
|
+
"stateCode": "Region / Province",
|
|
116
|
+
"stateCodePlaceholder": "Select the region / province",
|
|
117
|
+
"city": "Città",
|
|
118
|
+
"postal": "CAP"
|
|
119
|
+
},
|
|
120
|
+
"SE": {
|
|
121
|
+
"stateCode": "Regione",
|
|
122
|
+
"stateCodePlaceholder": "Select the region",
|
|
123
|
+
"city": "Città",
|
|
124
|
+
"postal": "CAP"
|
|
125
|
+
},
|
|
126
|
+
"US": {
|
|
127
|
+
"stateCode": "Provincia",
|
|
128
|
+
"stateCodePlaceholder": "Seleziona lo stato",
|
|
129
|
+
"city": "Città",
|
|
130
|
+
"postal": "CAP"
|
|
131
|
+
},
|
|
132
|
+
"ZA": {
|
|
133
|
+
"stateCode": "Provincia",
|
|
134
|
+
"stateCodePlaceholder": "Seleziona lo stato",
|
|
135
|
+
"city": "Città",
|
|
136
|
+
"postal": "CAP"
|
|
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: "Nome",
|
|
3
|
+
lastName: "Cognome",
|
|
4
|
+
address1: "Indirizzo 1",
|
|
5
|
+
address2: "Indirizzo Riga 2",
|
|
6
|
+
city: "Città",
|
|
7
|
+
postal: "CAP",
|
|
8
|
+
stateCode: "Stato / Provincia",
|
|
9
|
+
country: "Paese",
|
|
10
|
+
phoneNumber: "Numero di Telefono",
|
|
11
|
+
dialCode: "Codice di conferma",
|
|
12
|
+
defaultAddress: "Rendila la mia carta predefinita.",
|
|
13
|
+
countryPlaceholder: "Please select",
|
|
14
|
+
stateCodePlaceholder: "Seleziona lo Stato o la Provincia",
|
|
15
|
+
phoneNumberPlaceholder: "Inserisci il tuo numero di telefono",
|
|
16
|
+
addressHeading: "Indirizzo di fatturazione e consegna",
|
|
17
|
+
addNewAddress: "Aggiungi nuovo indirizzo",
|
|
18
|
+
confirm: "Conferma indirizzo",
|
|
19
|
+
cancel: "Annulla",
|
|
20
|
+
editButton: "Modifica",
|
|
21
|
+
deleteButton: "Elimina",
|
|
22
|
+
defaultBadge: "Predefinito",
|
|
23
|
+
makeDefault: "Imposta come predefinito",
|
|
24
|
+
countrySelectPlaceholder: "Scegli il paese"
|
|
25
|
+
}, t = {
|
|
26
|
+
FIELD_REQUIRED: "{{field}} is required",
|
|
27
|
+
FIELD_TOO_LONG: "Deve essere lungo al massimo {{maxLength}} caratteri",
|
|
28
|
+
FIELD_TOO_SHORT: "Deve essere lungo almeno {{minLength}} caratteri",
|
|
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: "Provincia",
|
|
35
|
+
stateCodePlaceholder: "Seleziona lo stato",
|
|
36
|
+
city: "Città",
|
|
37
|
+
postal: "CAP"
|
|
38
|
+
},
|
|
39
|
+
AU: {
|
|
40
|
+
stateCode: "Provincia",
|
|
41
|
+
stateCodePlaceholder: "Seleziona lo stato",
|
|
42
|
+
city: "Suburb",
|
|
43
|
+
postal: "CAP"
|
|
44
|
+
},
|
|
45
|
+
CA: {
|
|
46
|
+
stateCode: "Province",
|
|
47
|
+
stateCodePlaceholder: "Select the province",
|
|
48
|
+
city: "Città",
|
|
49
|
+
postal: "CAP"
|
|
50
|
+
},
|
|
51
|
+
CZ: {
|
|
52
|
+
stateCode: "Regione",
|
|
53
|
+
stateCodePlaceholder: "Select the region",
|
|
54
|
+
city: "Città",
|
|
55
|
+
postal: "CAP"
|
|
56
|
+
},
|
|
57
|
+
DE: {
|
|
58
|
+
stateCode: "Provincia",
|
|
59
|
+
stateCodePlaceholder: "Seleziona lo stato",
|
|
60
|
+
city: "Città",
|
|
61
|
+
postal: "CAP"
|
|
62
|
+
},
|
|
63
|
+
DK: {
|
|
64
|
+
stateCode: "Regione",
|
|
65
|
+
stateCodePlaceholder: "Select the region",
|
|
66
|
+
city: "Città",
|
|
67
|
+
postal: "CAP"
|
|
68
|
+
},
|
|
69
|
+
ES: {
|
|
70
|
+
stateCode: "Provincia",
|
|
71
|
+
stateCodePlaceholder: "Seleziona lo stato",
|
|
72
|
+
city: "Città",
|
|
73
|
+
postal: "CAP"
|
|
74
|
+
},
|
|
75
|
+
FI: {
|
|
76
|
+
stateCode: "Regione",
|
|
77
|
+
stateCodePlaceholder: "Select the region",
|
|
78
|
+
city: "Città",
|
|
79
|
+
postal: "CAP"
|
|
80
|
+
},
|
|
81
|
+
IE: {
|
|
82
|
+
stateCode: "Regione",
|
|
83
|
+
stateCodePlaceholder: "Select the county",
|
|
84
|
+
city: "Città",
|
|
85
|
+
postal: "CAP"
|
|
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: "Città",
|
|
97
|
+
postal: "CAP"
|
|
98
|
+
},
|
|
99
|
+
NO: {
|
|
100
|
+
stateCode: "Regione",
|
|
101
|
+
stateCodePlaceholder: "Select the county",
|
|
102
|
+
city: "Città",
|
|
103
|
+
postal: "CAP"
|
|
104
|
+
},
|
|
105
|
+
NZ: {
|
|
106
|
+
stateCode: "Regione",
|
|
107
|
+
stateCodePlaceholder: "Select the region",
|
|
108
|
+
city: "Città",
|
|
109
|
+
postal: "CAP"
|
|
110
|
+
},
|
|
111
|
+
PL: {
|
|
112
|
+
stateCode: "Region / Province",
|
|
113
|
+
stateCodePlaceholder: "Select the region / province",
|
|
114
|
+
city: "Città",
|
|
115
|
+
postal: "CAP"
|
|
116
|
+
},
|
|
117
|
+
SE: {
|
|
118
|
+
stateCode: "Regione",
|
|
119
|
+
stateCodePlaceholder: "Select the region",
|
|
120
|
+
city: "Città",
|
|
121
|
+
postal: "CAP"
|
|
122
|
+
},
|
|
123
|
+
US: {
|
|
124
|
+
stateCode: "Provincia",
|
|
125
|
+
stateCodePlaceholder: "Seleziona lo stato",
|
|
126
|
+
city: "Città",
|
|
127
|
+
postal: "CAP"
|
|
128
|
+
},
|
|
129
|
+
ZA: {
|
|
130
|
+
stateCode: "Provincia",
|
|
131
|
+
stateCodePlaceholder: "Seleziona lo stato",
|
|
132
|
+
city: "Città",
|
|
133
|
+
postal: "CAP"
|
|
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": "名",
|
|
4
|
+
"lastName": "姓",
|
|
5
|
+
"address1": "住所1",
|
|
6
|
+
"address2": "住所2(任意)",
|
|
7
|
+
"city": "市区町村",
|
|
8
|
+
"postal": "郵便番号",
|
|
9
|
+
"stateCode": "都道府県 / 州",
|
|
10
|
+
"country": "国",
|
|
11
|
+
"phoneNumber": "電話番号",
|
|
12
|
+
"dialCode": "国番号",
|
|
13
|
+
"defaultAddress": "このカードをデフォルトにする",
|
|
14
|
+
"countryPlaceholder": "Please select",
|
|
15
|
+
"stateCodePlaceholder": "都道府県または州を選択",
|
|
16
|
+
"phoneNumberPlaceholder": "電話番号を入力",
|
|
17
|
+
"addressHeading": "請求先および配送先住所",
|
|
18
|
+
"addNewAddress": "新しい住所を追加",
|
|
19
|
+
"confirm": "住所を確認",
|
|
20
|
+
"cancel": "キャンセル",
|
|
21
|
+
"editButton": "編集",
|
|
22
|
+
"deleteButton": "削除",
|
|
23
|
+
"defaultBadge": "デフォルト",
|
|
24
|
+
"makeDefault": "デフォルトの住所に設定",
|
|
25
|
+
"countrySelectPlaceholder": "国を選択"
|
|
26
|
+
},
|
|
27
|
+
"validation": {
|
|
28
|
+
"FIELD_REQUIRED": "{{field}} is required",
|
|
29
|
+
"FIELD_TOO_LONG": "最大{{maxLength}}文字まで入力可能です",
|
|
30
|
+
"FIELD_TOO_SHORT": "最低{{minLength}}文字必要です",
|
|
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": "州",
|
|
38
|
+
"stateCodePlaceholder": "州を選択",
|
|
39
|
+
"city": "市区町村",
|
|
40
|
+
"postal": "郵便番号"
|
|
41
|
+
},
|
|
42
|
+
"AU": {
|
|
43
|
+
"stateCode": "州",
|
|
44
|
+
"stateCodePlaceholder": "州を選択",
|
|
45
|
+
"city": "市区町村(郊外)",
|
|
46
|
+
"postal": "郵便番号"
|
|
47
|
+
},
|
|
48
|
+
"CA": {
|
|
49
|
+
"stateCode": "州/準州",
|
|
50
|
+
"stateCodePlaceholder": "州/準州を選択",
|
|
51
|
+
"city": "市区町村",
|
|
52
|
+
"postal": "郵便番号"
|
|
53
|
+
},
|
|
54
|
+
"CZ": {
|
|
55
|
+
"stateCode": "地域",
|
|
56
|
+
"stateCodePlaceholder": "地域を選択",
|
|
57
|
+
"city": "市区町村",
|
|
58
|
+
"postal": "郵便番号"
|
|
59
|
+
},
|
|
60
|
+
"DE": {
|
|
61
|
+
"stateCode": "州",
|
|
62
|
+
"stateCodePlaceholder": "州を選択",
|
|
63
|
+
"city": "市区町村",
|
|
64
|
+
"postal": "郵便番号"
|
|
65
|
+
},
|
|
66
|
+
"DK": {
|
|
67
|
+
"stateCode": "地域",
|
|
68
|
+
"stateCodePlaceholder": "地域を選択",
|
|
69
|
+
"city": "市区町村",
|
|
70
|
+
"postal": "郵便番号"
|
|
71
|
+
},
|
|
72
|
+
"ES": {
|
|
73
|
+
"stateCode": "州",
|
|
74
|
+
"stateCodePlaceholder": "州を選択",
|
|
75
|
+
"city": "市区町村",
|
|
76
|
+
"postal": "郵便番号"
|
|
77
|
+
},
|
|
78
|
+
"FI": {
|
|
79
|
+
"stateCode": "地域",
|
|
80
|
+
"stateCodePlaceholder": "地域を選択",
|
|
81
|
+
"city": "市区町村",
|
|
82
|
+
"postal": "郵便番号"
|
|
83
|
+
},
|
|
84
|
+
"IE": {
|
|
85
|
+
"stateCode": "カウンティ",
|
|
86
|
+
"stateCodePlaceholder": "カウンティを選択",
|
|
87
|
+
"city": "市区町村",
|
|
88
|
+
"postal": "郵便番号"
|
|
89
|
+
},
|
|
90
|
+
"MX": {
|
|
91
|
+
"stateCode": "州",
|
|
92
|
+
"stateCodePlaceholder": "州を選択",
|
|
93
|
+
"city": "市区町村",
|
|
94
|
+
"postal": "郵便番号"
|
|
95
|
+
},
|
|
96
|
+
"NL": {
|
|
97
|
+
"stateCode": "州",
|
|
98
|
+
"stateCodePlaceholder": "州を選択",
|
|
99
|
+
"city": "市区町村",
|
|
100
|
+
"postal": "郵便番号"
|
|
101
|
+
},
|
|
102
|
+
"NO": {
|
|
103
|
+
"stateCode": "郡",
|
|
104
|
+
"stateCodePlaceholder": "郡を選択",
|
|
105
|
+
"city": "市区町村",
|
|
106
|
+
"postal": "郵便番号"
|
|
107
|
+
},
|
|
108
|
+
"NZ": {
|
|
109
|
+
"stateCode": "地域",
|
|
110
|
+
"stateCodePlaceholder": "地域を選択",
|
|
111
|
+
"city": "町/市",
|
|
112
|
+
"postal": "郵便番号"
|
|
113
|
+
},
|
|
114
|
+
"PL": {
|
|
115
|
+
"stateCode": "地域 / 県",
|
|
116
|
+
"stateCodePlaceholder": "地域 / 県を選択",
|
|
117
|
+
"city": "市区町村",
|
|
118
|
+
"postal": "郵便番号"
|
|
119
|
+
},
|
|
120
|
+
"SE": {
|
|
121
|
+
"stateCode": "地域",
|
|
122
|
+
"stateCodePlaceholder": "地域を選択",
|
|
123
|
+
"city": "市区町村",
|
|
124
|
+
"postal": "郵便番号"
|
|
125
|
+
},
|
|
126
|
+
"US": {
|
|
127
|
+
"stateCode": "州",
|
|
128
|
+
"stateCodePlaceholder": "州を選択",
|
|
129
|
+
"city": "市区町村",
|
|
130
|
+
"postal": "郵便番号"
|
|
131
|
+
},
|
|
132
|
+
"ZA": {
|
|
133
|
+
"stateCode": "州",
|
|
134
|
+
"stateCodePlaceholder": "州を選択",
|
|
135
|
+
"city": "市区町村",
|
|
136
|
+
"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: "名",
|
|
3
|
+
lastName: "姓",
|
|
4
|
+
address1: "住所1",
|
|
5
|
+
address2: "住所2(任意)",
|
|
6
|
+
city: "市区町村",
|
|
7
|
+
postal: "郵便番号",
|
|
8
|
+
stateCode: "都道府県 / 州",
|
|
9
|
+
country: "国",
|
|
10
|
+
phoneNumber: "電話番号",
|
|
11
|
+
dialCode: "国番号",
|
|
12
|
+
defaultAddress: "このカードをデフォルトにする",
|
|
13
|
+
countryPlaceholder: "Please select",
|
|
14
|
+
stateCodePlaceholder: "都道府県または州を選択",
|
|
15
|
+
phoneNumberPlaceholder: "電話番号を入力",
|
|
16
|
+
addressHeading: "請求先および配送先住所",
|
|
17
|
+
addNewAddress: "新しい住所を追加",
|
|
18
|
+
confirm: "住所を確認",
|
|
19
|
+
cancel: "キャンセル",
|
|
20
|
+
editButton: "編集",
|
|
21
|
+
deleteButton: "削除",
|
|
22
|
+
defaultBadge: "デフォルト",
|
|
23
|
+
makeDefault: "デフォルトの住所に設定",
|
|
24
|
+
countrySelectPlaceholder: "国を選択"
|
|
25
|
+
}, t = {
|
|
26
|
+
FIELD_REQUIRED: "{{field}} is required",
|
|
27
|
+
FIELD_TOO_LONG: "最大{{maxLength}}文字まで入力可能です",
|
|
28
|
+
FIELD_TOO_SHORT: "最低{{minLength}}文字必要です",
|
|
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: "州",
|
|
35
|
+
stateCodePlaceholder: "州を選択",
|
|
36
|
+
city: "市区町村",
|
|
37
|
+
postal: "郵便番号"
|
|
38
|
+
},
|
|
39
|
+
AU: {
|
|
40
|
+
stateCode: "州",
|
|
41
|
+
stateCodePlaceholder: "州を選択",
|
|
42
|
+
city: "市区町村(郊外)",
|
|
43
|
+
postal: "郵便番号"
|
|
44
|
+
},
|
|
45
|
+
CA: {
|
|
46
|
+
stateCode: "州/準州",
|
|
47
|
+
stateCodePlaceholder: "州/準州を選択",
|
|
48
|
+
city: "市区町村",
|
|
49
|
+
postal: "郵便番号"
|
|
50
|
+
},
|
|
51
|
+
CZ: {
|
|
52
|
+
stateCode: "地域",
|
|
53
|
+
stateCodePlaceholder: "地域を選択",
|
|
54
|
+
city: "市区町村",
|
|
55
|
+
postal: "郵便番号"
|
|
56
|
+
},
|
|
57
|
+
DE: {
|
|
58
|
+
stateCode: "州",
|
|
59
|
+
stateCodePlaceholder: "州を選択",
|
|
60
|
+
city: "市区町村",
|
|
61
|
+
postal: "郵便番号"
|
|
62
|
+
},
|
|
63
|
+
DK: {
|
|
64
|
+
stateCode: "地域",
|
|
65
|
+
stateCodePlaceholder: "地域を選択",
|
|
66
|
+
city: "市区町村",
|
|
67
|
+
postal: "郵便番号"
|
|
68
|
+
},
|
|
69
|
+
ES: {
|
|
70
|
+
stateCode: "州",
|
|
71
|
+
stateCodePlaceholder: "州を選択",
|
|
72
|
+
city: "市区町村",
|
|
73
|
+
postal: "郵便番号"
|
|
74
|
+
},
|
|
75
|
+
FI: {
|
|
76
|
+
stateCode: "地域",
|
|
77
|
+
stateCodePlaceholder: "地域を選択",
|
|
78
|
+
city: "市区町村",
|
|
79
|
+
postal: "郵便番号"
|
|
80
|
+
},
|
|
81
|
+
IE: {
|
|
82
|
+
stateCode: "カウンティ",
|
|
83
|
+
stateCodePlaceholder: "カウンティを選択",
|
|
84
|
+
city: "市区町村",
|
|
85
|
+
postal: "郵便番号"
|
|
86
|
+
},
|
|
87
|
+
MX: {
|
|
88
|
+
stateCode: "州",
|
|
89
|
+
stateCodePlaceholder: "州を選択",
|
|
90
|
+
city: "市区町村",
|
|
91
|
+
postal: "郵便番号"
|
|
92
|
+
},
|
|
93
|
+
NL: {
|
|
94
|
+
stateCode: "州",
|
|
95
|
+
stateCodePlaceholder: "州を選択",
|
|
96
|
+
city: "市区町村",
|
|
97
|
+
postal: "郵便番号"
|
|
98
|
+
},
|
|
99
|
+
NO: {
|
|
100
|
+
stateCode: "郡",
|
|
101
|
+
stateCodePlaceholder: "郡を選択",
|
|
102
|
+
city: "市区町村",
|
|
103
|
+
postal: "郵便番号"
|
|
104
|
+
},
|
|
105
|
+
NZ: {
|
|
106
|
+
stateCode: "地域",
|
|
107
|
+
stateCodePlaceholder: "地域を選択",
|
|
108
|
+
city: "町/市",
|
|
109
|
+
postal: "郵便番号"
|
|
110
|
+
},
|
|
111
|
+
PL: {
|
|
112
|
+
stateCode: "地域 / 県",
|
|
113
|
+
stateCodePlaceholder: "地域 / 県を選択",
|
|
114
|
+
city: "市区町村",
|
|
115
|
+
postal: "郵便番号"
|
|
116
|
+
},
|
|
117
|
+
SE: {
|
|
118
|
+
stateCode: "地域",
|
|
119
|
+
stateCodePlaceholder: "地域を選択",
|
|
120
|
+
city: "市区町村",
|
|
121
|
+
postal: "郵便番号"
|
|
122
|
+
},
|
|
123
|
+
US: {
|
|
124
|
+
stateCode: "州",
|
|
125
|
+
stateCodePlaceholder: "州を選択",
|
|
126
|
+
city: "市区町村",
|
|
127
|
+
postal: "郵便番号"
|
|
128
|
+
},
|
|
129
|
+
ZA: {
|
|
130
|
+
stateCode: "州",
|
|
131
|
+
stateCodePlaceholder: "州を選択",
|
|
132
|
+
city: "市区町村",
|
|
133
|
+
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
|
+
};
|