@shopgate/engage 7.20.0-beta.7 → 7.20.0-beta.9
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/components/QuantityInput/QuantityInput.js +5 -4
- package/favorites/components/Item/Item.js +3 -3
- package/i18n/locale/cs-cz/countries.json +255 -0
- package/i18n/locale/de-de/countries.json +26 -28
- package/i18n/locale/el-gr/countries.json +255 -0
- package/i18n/locale/en-us/countries.json +12 -14
- package/i18n/locale/es-es/countries.json +65 -67
- package/i18n/locale/fi-fi/countries.json +255 -0
- package/i18n/locale/fr-fr/countries.json +85 -87
- package/i18n/locale/hu-hu/countries.json +255 -0
- package/i18n/locale/it-it/countries.json +11 -13
- package/i18n/locale/nl-nl/countries.json +42 -44
- package/i18n/locale/pl-pl/countries.json +255 -0
- package/i18n/locale/pt-pt/countries.json +128 -130
- package/i18n/locale/ro-ro/countries.json +255 -0
- package/i18n/locale/sv-se/countries.json +255 -0
- package/locations/action-creators/receiveInventories.js +3 -5
- package/locations/components/StoreList/StoreListSearch.js +3 -1
- package/package.json +7 -7
- package/product/components/Options/components/Content/spec.js +1 -1
- package/i18n/locale/ru-ru/countries.json +0 -251
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
{
|
|
2
|
+
"AF": "Afganistan",
|
|
3
|
+
"ZA": "Africa de Sud",
|
|
4
|
+
"AL": "Albania",
|
|
5
|
+
"DZ": "Algeria",
|
|
6
|
+
"AD": "Andorra",
|
|
7
|
+
"AO": "Angola",
|
|
8
|
+
"AI": "Anguilla",
|
|
9
|
+
"AQ": "Antarctica",
|
|
10
|
+
"AG": "Antigua și Barbuda",
|
|
11
|
+
"SA": "Arabia Saudită",
|
|
12
|
+
"AR": "Argentina",
|
|
13
|
+
"AM": "Armenia",
|
|
14
|
+
"AW": "Aruba",
|
|
15
|
+
"AU": "Australia",
|
|
16
|
+
"AT": "Austria",
|
|
17
|
+
"AZ": "Azerbaidjan",
|
|
18
|
+
"BS": "Bahamas",
|
|
19
|
+
"BH": "Bahrein",
|
|
20
|
+
"BD": "Bangladesh",
|
|
21
|
+
"BB": "Barbados",
|
|
22
|
+
"BY": "Belarus",
|
|
23
|
+
"BE": "Belgia",
|
|
24
|
+
"BZ": "Belize",
|
|
25
|
+
"BJ": "Benin",
|
|
26
|
+
"BM": "Bermuda",
|
|
27
|
+
"BT": "Bhutan",
|
|
28
|
+
"BO": "Bolivia",
|
|
29
|
+
"BA": "Bosnia și Herțegovina",
|
|
30
|
+
"BW": "Botswana",
|
|
31
|
+
"BR": "Brazilia",
|
|
32
|
+
"BN": "Brunei",
|
|
33
|
+
"BG": "Bulgaria",
|
|
34
|
+
"BF": "Burkina Faso",
|
|
35
|
+
"BI": "Burundi",
|
|
36
|
+
"KH": "Cambodgia",
|
|
37
|
+
"CM": "Camerun",
|
|
38
|
+
"CA": "Canada",
|
|
39
|
+
"CV": "Capul Verde",
|
|
40
|
+
"CZ": "Cehia",
|
|
41
|
+
"EA": "Ceuta și Melilla",
|
|
42
|
+
"CL": "Chile",
|
|
43
|
+
"CN": "China",
|
|
44
|
+
"TD": "Ciad",
|
|
45
|
+
"CY": "Cipru",
|
|
46
|
+
"CI": "Coasta de Fildeș",
|
|
47
|
+
"CO": "Columbia",
|
|
48
|
+
"KM": "Comore",
|
|
49
|
+
"CG": "Congo - Brazzaville",
|
|
50
|
+
"CD": "Congo - Kinshasa",
|
|
51
|
+
"KP": "Coreea de Nord",
|
|
52
|
+
"KR": "Coreea de Sud",
|
|
53
|
+
"CR": "Costa Rica",
|
|
54
|
+
"HR": "Croația",
|
|
55
|
+
"CU": "Cuba",
|
|
56
|
+
"CW": "Curaçao",
|
|
57
|
+
"DK": "Danemarca",
|
|
58
|
+
"DG": "Diego Garcia",
|
|
59
|
+
"DJ": "Djibouti",
|
|
60
|
+
"DM": "Dominica",
|
|
61
|
+
"EC": "Ecuador",
|
|
62
|
+
"EG": "Egipt",
|
|
63
|
+
"SV": "El Salvador",
|
|
64
|
+
"CH": "Elveția",
|
|
65
|
+
"AE": "Emiratele Arabe Unite",
|
|
66
|
+
"ER": "Eritreea",
|
|
67
|
+
"EE": "Estonia",
|
|
68
|
+
"SZ": "Eswatini",
|
|
69
|
+
"ET": "Etiopia",
|
|
70
|
+
"FJ": "Fiji",
|
|
71
|
+
"PH": "Filipine",
|
|
72
|
+
"FI": "Finlanda",
|
|
73
|
+
"FR": "Franța",
|
|
74
|
+
"GA": "Gabon",
|
|
75
|
+
"GM": "Gambia",
|
|
76
|
+
"GE": "Georgia",
|
|
77
|
+
"GS": "Georgia de Sud și Insulele Sandwich de Sud",
|
|
78
|
+
"DE": "Germania",
|
|
79
|
+
"GH": "Ghana",
|
|
80
|
+
"GI": "Gibraltar",
|
|
81
|
+
"GR": "Grecia",
|
|
82
|
+
"GD": "Grenada",
|
|
83
|
+
"GL": "Groenlanda",
|
|
84
|
+
"GP": "Guadelupa",
|
|
85
|
+
"GU": "Guam",
|
|
86
|
+
"GT": "Guatemala",
|
|
87
|
+
"GG": "Guernsey",
|
|
88
|
+
"GN": "Guineea",
|
|
89
|
+
"GQ": "Guineea Ecuatorială",
|
|
90
|
+
"GW": "Guineea-Bissau",
|
|
91
|
+
"GY": "Guyana",
|
|
92
|
+
"GF": "Guyana Franceză",
|
|
93
|
+
"HT": "Haiti",
|
|
94
|
+
"HN": "Honduras",
|
|
95
|
+
"HK": "Hong Kong",
|
|
96
|
+
"IN": "India",
|
|
97
|
+
"ID": "Indonezia",
|
|
98
|
+
"AC": "Insula Ascension",
|
|
99
|
+
"CX": "Insula Crăciunului",
|
|
100
|
+
"IM": "Insula Man",
|
|
101
|
+
"NF": "Insula Norfolk",
|
|
102
|
+
"AX": "Insulele Åland",
|
|
103
|
+
"IC": "Insulele Canare",
|
|
104
|
+
"KY": "Insulele Cayman",
|
|
105
|
+
"CC": "Insulele Cocos (Keeling)",
|
|
106
|
+
"CK": "Insulele Cook",
|
|
107
|
+
"FK": "Insulele Falkland",
|
|
108
|
+
"FO": "Insulele Feroe",
|
|
109
|
+
"MP": "Insulele Mariane de Nord",
|
|
110
|
+
"MH": "Insulele Marshall",
|
|
111
|
+
"UM": "Insulele Minore Îndepărtate ale Statelor Unite",
|
|
112
|
+
"PN": "Insulele Pitcairn",
|
|
113
|
+
"SB": "Insulele Solomon",
|
|
114
|
+
"TC": "Insulele Turks și Caicos",
|
|
115
|
+
"VI": "Insulele Virgine Americane",
|
|
116
|
+
"VG": "Insulele Virgine Britanice",
|
|
117
|
+
"JO": "Iordania",
|
|
118
|
+
"IQ": "Irak",
|
|
119
|
+
"IR": "Iran",
|
|
120
|
+
"IE": "Irlanda",
|
|
121
|
+
"IS": "Islanda",
|
|
122
|
+
"IL": "Israel",
|
|
123
|
+
"IT": "Italia",
|
|
124
|
+
"JM": "Jamaica",
|
|
125
|
+
"JP": "Japonia",
|
|
126
|
+
"JE": "Jersey",
|
|
127
|
+
"KG": "Kârgâzstan",
|
|
128
|
+
"KZ": "Kazahstan",
|
|
129
|
+
"KE": "Kenya",
|
|
130
|
+
"KI": "Kiribati",
|
|
131
|
+
"XK": "Kosovo",
|
|
132
|
+
"KW": "Kuweit",
|
|
133
|
+
"LA": "Laos",
|
|
134
|
+
"LS": "Lesotho",
|
|
135
|
+
"LV": "Letonia",
|
|
136
|
+
"LB": "Liban",
|
|
137
|
+
"LR": "Liberia",
|
|
138
|
+
"LY": "Libia",
|
|
139
|
+
"LI": "Liechtenstein",
|
|
140
|
+
"LT": "Lituania",
|
|
141
|
+
"LU": "Luxemburg",
|
|
142
|
+
"MO": "Macao",
|
|
143
|
+
"MK": "Macedonia de Nord",
|
|
144
|
+
"MG": "Madagascar",
|
|
145
|
+
"MY": "Malaezia",
|
|
146
|
+
"MW": "Malawi",
|
|
147
|
+
"MV": "Maldive",
|
|
148
|
+
"ML": "Mali",
|
|
149
|
+
"MT": "Malta",
|
|
150
|
+
"MA": "Maroc",
|
|
151
|
+
"MQ": "Martinica",
|
|
152
|
+
"MR": "Mauritania",
|
|
153
|
+
"MU": "Mauritius",
|
|
154
|
+
"YT": "Mayotte",
|
|
155
|
+
"MX": "Mexic",
|
|
156
|
+
"FM": "Micronezia",
|
|
157
|
+
"MD": "Moldova",
|
|
158
|
+
"MC": "Monaco",
|
|
159
|
+
"MN": "Mongolia",
|
|
160
|
+
"MS": "Montserrat",
|
|
161
|
+
"MZ": "Mozambic",
|
|
162
|
+
"ME": "Muntenegru",
|
|
163
|
+
"MM": "Myanmar (Burma)",
|
|
164
|
+
"NA": "Namibia",
|
|
165
|
+
"NR": "Nauru",
|
|
166
|
+
"NP": "Nepal",
|
|
167
|
+
"NI": "Nicaragua",
|
|
168
|
+
"NE": "Niger",
|
|
169
|
+
"NG": "Nigeria",
|
|
170
|
+
"NU": "Niue",
|
|
171
|
+
"NO": "Norvegia",
|
|
172
|
+
"NC": "Noua Caledonie",
|
|
173
|
+
"NZ": "Noua Zeelandă",
|
|
174
|
+
"OM": "Oman",
|
|
175
|
+
"PK": "Pakistan",
|
|
176
|
+
"PW": "Palau",
|
|
177
|
+
"PA": "Panama",
|
|
178
|
+
"PG": "Papua Noua Guinee",
|
|
179
|
+
"PY": "Paraguay",
|
|
180
|
+
"PE": "Peru",
|
|
181
|
+
"PF": "Polinezia Franceză",
|
|
182
|
+
"PL": "Polonia",
|
|
183
|
+
"PT": "Portugalia",
|
|
184
|
+
"PR": "Puerto Rico",
|
|
185
|
+
"QA": "Qatar",
|
|
186
|
+
"GB": "Regatul Unit",
|
|
187
|
+
"CF": "Republica Centrafricană",
|
|
188
|
+
"DO": "Republica Dominicană",
|
|
189
|
+
"RE": "Réunion",
|
|
190
|
+
"RO": "România",
|
|
191
|
+
"RU": "Rusia",
|
|
192
|
+
"RW": "Rwanda",
|
|
193
|
+
"EH": "Sahara Occidentală",
|
|
194
|
+
"KN": "Saint Kitts și Nevis",
|
|
195
|
+
"LC": "Saint Lucia",
|
|
196
|
+
"MF": "Saint Martin",
|
|
197
|
+
"PM": "Saint Pierre și Miquelon",
|
|
198
|
+
"VC": "Saint Vincent și Grenadine",
|
|
199
|
+
"BL": "Saint-Barthélemy",
|
|
200
|
+
"WS": "Samoa",
|
|
201
|
+
"AS": "Samoa Americană",
|
|
202
|
+
"SM": "San Marino",
|
|
203
|
+
"ST": "Sao Tome și Principe",
|
|
204
|
+
"SN": "Senegal",
|
|
205
|
+
"RS": "Serbia",
|
|
206
|
+
"SC": "Seychelles",
|
|
207
|
+
"SH": "Sfânta Elena",
|
|
208
|
+
"SL": "Sierra Leone",
|
|
209
|
+
"SG": "Singapore",
|
|
210
|
+
"SX": "Sint Maarten",
|
|
211
|
+
"SY": "Siria",
|
|
212
|
+
"SK": "Slovacia",
|
|
213
|
+
"SI": "Slovenia",
|
|
214
|
+
"SO": "Somalia",
|
|
215
|
+
"ES": "Spania",
|
|
216
|
+
"LK": "Sri Lanka",
|
|
217
|
+
"US": "Statele Unite",
|
|
218
|
+
"SD": "Sudan",
|
|
219
|
+
"SS": "Sudanul de Sud",
|
|
220
|
+
"SE": "Suedia",
|
|
221
|
+
"SR": "Surinam",
|
|
222
|
+
"SJ": "Svalbard și Jan Mayen",
|
|
223
|
+
"TJ": "Tadjikistan",
|
|
224
|
+
"TW": "Taiwan",
|
|
225
|
+
"TZ": "Tanzania",
|
|
226
|
+
"NL": "Țările de Jos",
|
|
227
|
+
"BQ": "Țările de Jos Caraibiene",
|
|
228
|
+
"TF": "Teritoriile Australe și Antarctice Franceze",
|
|
229
|
+
"PS": "Teritoriile Palestiniene",
|
|
230
|
+
"IO": "Teritoriul Britanic din Oceanul Indian",
|
|
231
|
+
"TH": "Thailanda",
|
|
232
|
+
"TL": "Timorul de Est",
|
|
233
|
+
"TG": "Togo",
|
|
234
|
+
"TK": "Tokelau",
|
|
235
|
+
"TO": "Tonga",
|
|
236
|
+
"TT": "Trinidad și Tobago",
|
|
237
|
+
"TA": "Tristan da Cunha",
|
|
238
|
+
"TN": "Tunisia",
|
|
239
|
+
"TR": "Turcia",
|
|
240
|
+
"TM": "Turkmenistan",
|
|
241
|
+
"TV": "Tuvalu",
|
|
242
|
+
"UA": "Ucraina",
|
|
243
|
+
"UG": "Uganda",
|
|
244
|
+
"HU": "Ungaria",
|
|
245
|
+
"UY": "Uruguay",
|
|
246
|
+
"UZ": "Uzbekistan",
|
|
247
|
+
"VU": "Vanuatu",
|
|
248
|
+
"VA": "Vatican",
|
|
249
|
+
"VE": "Venezuela",
|
|
250
|
+
"VN": "Vietnam",
|
|
251
|
+
"WF": "Wallis și Futuna",
|
|
252
|
+
"YE": "Yemen",
|
|
253
|
+
"ZM": "Zambia",
|
|
254
|
+
"ZW": "Zimbabwe"
|
|
255
|
+
}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
{
|
|
2
|
+
"AF": "Afghanistan",
|
|
3
|
+
"AX": "Åland",
|
|
4
|
+
"AL": "Albanien",
|
|
5
|
+
"DZ": "Algeriet",
|
|
6
|
+
"VI": "Amerikanska Jungfruöarna",
|
|
7
|
+
"AS": "Amerikanska Samoa",
|
|
8
|
+
"AD": "Andorra",
|
|
9
|
+
"AO": "Angola",
|
|
10
|
+
"AI": "Anguilla",
|
|
11
|
+
"AQ": "Antarktis",
|
|
12
|
+
"AG": "Antigua och Barbuda",
|
|
13
|
+
"AR": "Argentina",
|
|
14
|
+
"AM": "Armenien",
|
|
15
|
+
"AW": "Aruba",
|
|
16
|
+
"AC": "Ascension",
|
|
17
|
+
"AU": "Australien",
|
|
18
|
+
"AZ": "Azerbajdzjan",
|
|
19
|
+
"BS": "Bahamas",
|
|
20
|
+
"BH": "Bahrain",
|
|
21
|
+
"BD": "Bangladesh",
|
|
22
|
+
"BB": "Barbados",
|
|
23
|
+
"BY": "Belarus",
|
|
24
|
+
"BE": "Belgien",
|
|
25
|
+
"BZ": "Belize",
|
|
26
|
+
"BJ": "Benin",
|
|
27
|
+
"BM": "Bermuda",
|
|
28
|
+
"BT": "Bhutan",
|
|
29
|
+
"BO": "Bolivia",
|
|
30
|
+
"BA": "Bosnien och Hercegovina",
|
|
31
|
+
"BW": "Botswana",
|
|
32
|
+
"BR": "Brasilien",
|
|
33
|
+
"VG": "Brittiska Jungfruöarna",
|
|
34
|
+
"IO": "Brittiska territoriet i Indiska oceanen",
|
|
35
|
+
"BN": "Brunei",
|
|
36
|
+
"BG": "Bulgarien",
|
|
37
|
+
"BF": "Burkina Faso",
|
|
38
|
+
"BI": "Burundi",
|
|
39
|
+
"KY": "Caymanöarna",
|
|
40
|
+
"CF": "Centralafrikanska republiken",
|
|
41
|
+
"EA": "Ceuta och Melilla",
|
|
42
|
+
"CL": "Chile",
|
|
43
|
+
"CO": "Colombia",
|
|
44
|
+
"CK": "Cooköarna",
|
|
45
|
+
"CR": "Costa Rica",
|
|
46
|
+
"CW": "Curaçao",
|
|
47
|
+
"CY": "Cypern",
|
|
48
|
+
"DK": "Danmark",
|
|
49
|
+
"DG": "Diego Garcia",
|
|
50
|
+
"DJ": "Djibouti",
|
|
51
|
+
"DM": "Dominica",
|
|
52
|
+
"DO": "Dominikanska republiken",
|
|
53
|
+
"EC": "Ecuador",
|
|
54
|
+
"EG": "Egypten",
|
|
55
|
+
"GQ": "Ekvatorialguinea",
|
|
56
|
+
"SV": "El Salvador",
|
|
57
|
+
"CI": "Elfenbenskusten",
|
|
58
|
+
"ER": "Eritrea",
|
|
59
|
+
"EE": "Estland",
|
|
60
|
+
"SZ": "Eswatini",
|
|
61
|
+
"ET": "Etiopien",
|
|
62
|
+
"FK": "Falklandsöarna",
|
|
63
|
+
"FO": "Färöarna",
|
|
64
|
+
"FJ": "Fiji",
|
|
65
|
+
"PH": "Filippinerna",
|
|
66
|
+
"FI": "Finland",
|
|
67
|
+
"AE": "Förenade Arabemiraten",
|
|
68
|
+
"FR": "Frankrike",
|
|
69
|
+
"GF": "Franska Guyana",
|
|
70
|
+
"PF": "Franska Polynesien",
|
|
71
|
+
"TF": "Franska sydterritorierna",
|
|
72
|
+
"GA": "Gabon",
|
|
73
|
+
"GM": "Gambia",
|
|
74
|
+
"GE": "Georgien",
|
|
75
|
+
"GH": "Ghana",
|
|
76
|
+
"GI": "Gibraltar",
|
|
77
|
+
"GR": "Grekland",
|
|
78
|
+
"GD": "Grenada",
|
|
79
|
+
"GL": "Grönland",
|
|
80
|
+
"GP": "Guadeloupe",
|
|
81
|
+
"GU": "Guam",
|
|
82
|
+
"GT": "Guatemala",
|
|
83
|
+
"GG": "Guernsey",
|
|
84
|
+
"GN": "Guinea",
|
|
85
|
+
"GW": "Guinea-Bissau",
|
|
86
|
+
"GY": "Guyana",
|
|
87
|
+
"HT": "Haiti",
|
|
88
|
+
"HN": "Honduras",
|
|
89
|
+
"HK": "Hongkong",
|
|
90
|
+
"IN": "Indien",
|
|
91
|
+
"ID": "Indonesien",
|
|
92
|
+
"IQ": "Irak",
|
|
93
|
+
"IR": "Iran",
|
|
94
|
+
"IE": "Irland",
|
|
95
|
+
"IS": "Island",
|
|
96
|
+
"IM": "Isle of Man",
|
|
97
|
+
"IL": "Israel",
|
|
98
|
+
"IT": "Italien",
|
|
99
|
+
"JM": "Jamaica",
|
|
100
|
+
"JP": "Japan",
|
|
101
|
+
"YE": "Jemen",
|
|
102
|
+
"JE": "Jersey",
|
|
103
|
+
"JO": "Jordanien",
|
|
104
|
+
"CX": "Julön",
|
|
105
|
+
"KH": "Kambodja",
|
|
106
|
+
"CM": "Kamerun",
|
|
107
|
+
"CA": "Kanada",
|
|
108
|
+
"IC": "Kanarieöarna",
|
|
109
|
+
"CV": "Kap Verde",
|
|
110
|
+
"BQ": "Karibiska Nederländerna",
|
|
111
|
+
"KZ": "Kazakstan",
|
|
112
|
+
"KE": "Kenya",
|
|
113
|
+
"CN": "Kina",
|
|
114
|
+
"KG": "Kirgizistan",
|
|
115
|
+
"KI": "Kiribati",
|
|
116
|
+
"CC": "Kokosöarna (Keelingöarna)",
|
|
117
|
+
"KM": "Komorerna",
|
|
118
|
+
"CG": "Kongo-Brazzaville",
|
|
119
|
+
"CD": "Kongo-Kinshasa",
|
|
120
|
+
"XK": "Kosovo",
|
|
121
|
+
"HR": "Kroatien",
|
|
122
|
+
"CU": "Kuba",
|
|
123
|
+
"KW": "Kuwait",
|
|
124
|
+
"LA": "Laos",
|
|
125
|
+
"LS": "Lesotho",
|
|
126
|
+
"LV": "Lettland",
|
|
127
|
+
"LB": "Libanon",
|
|
128
|
+
"LR": "Liberia",
|
|
129
|
+
"LY": "Libyen",
|
|
130
|
+
"LI": "Liechtenstein",
|
|
131
|
+
"LT": "Litauen",
|
|
132
|
+
"LU": "Luxemburg",
|
|
133
|
+
"MO": "Macao",
|
|
134
|
+
"MG": "Madagaskar",
|
|
135
|
+
"MW": "Malawi",
|
|
136
|
+
"MY": "Malaysia",
|
|
137
|
+
"MV": "Maldiverna",
|
|
138
|
+
"ML": "Mali",
|
|
139
|
+
"MT": "Malta",
|
|
140
|
+
"MA": "Marocko",
|
|
141
|
+
"MH": "Marshallöarna",
|
|
142
|
+
"MQ": "Martinique",
|
|
143
|
+
"MR": "Mauretanien",
|
|
144
|
+
"MU": "Mauritius",
|
|
145
|
+
"YT": "Mayotte",
|
|
146
|
+
"MX": "Mexiko",
|
|
147
|
+
"FM": "Mikronesiens federerade stater",
|
|
148
|
+
"MZ": "Moçambique",
|
|
149
|
+
"MD": "Moldavien",
|
|
150
|
+
"MC": "Monaco",
|
|
151
|
+
"MN": "Mongoliet",
|
|
152
|
+
"ME": "Montenegro",
|
|
153
|
+
"MS": "Montserrat",
|
|
154
|
+
"MM": "Myanmar (Burma)",
|
|
155
|
+
"NA": "Namibia",
|
|
156
|
+
"NR": "Nauru",
|
|
157
|
+
"NL": "Nederländerna",
|
|
158
|
+
"NP": "Nepal",
|
|
159
|
+
"NI": "Nicaragua",
|
|
160
|
+
"NE": "Niger",
|
|
161
|
+
"NG": "Nigeria",
|
|
162
|
+
"NU": "Niue",
|
|
163
|
+
"KP": "Nordkorea",
|
|
164
|
+
"MK": "Nordmakedonien",
|
|
165
|
+
"MP": "Nordmarianerna",
|
|
166
|
+
"NF": "Norfolkön",
|
|
167
|
+
"NO": "Norge",
|
|
168
|
+
"NC": "Nya Kaledonien",
|
|
169
|
+
"NZ": "Nya Zeeland",
|
|
170
|
+
"OM": "Oman",
|
|
171
|
+
"AT": "Österrike",
|
|
172
|
+
"TL": "Östtimor",
|
|
173
|
+
"PK": "Pakistan",
|
|
174
|
+
"PW": "Palau",
|
|
175
|
+
"PS": "Palestinska territorierna",
|
|
176
|
+
"PA": "Panama",
|
|
177
|
+
"PG": "Papua Nya Guinea",
|
|
178
|
+
"PY": "Paraguay",
|
|
179
|
+
"PE": "Peru",
|
|
180
|
+
"PN": "Pitcairnöarna",
|
|
181
|
+
"PL": "Polen",
|
|
182
|
+
"PT": "Portugal",
|
|
183
|
+
"PR": "Puerto Rico",
|
|
184
|
+
"QA": "Qatar",
|
|
185
|
+
"RE": "Réunion",
|
|
186
|
+
"RO": "Rumänien",
|
|
187
|
+
"RW": "Rwanda",
|
|
188
|
+
"RU": "Ryssland",
|
|
189
|
+
"KN": "Saint Kitts och Nevis",
|
|
190
|
+
"LC": "Saint Lucia",
|
|
191
|
+
"VC": "Saint Vincent och Grenadinerna",
|
|
192
|
+
"BL": "Saint-Barthélemy",
|
|
193
|
+
"MF": "Saint-Martin",
|
|
194
|
+
"PM": "Saint-Pierre och Miquelon",
|
|
195
|
+
"SB": "Salomonöarna",
|
|
196
|
+
"WS": "Samoa",
|
|
197
|
+
"SM": "San Marino",
|
|
198
|
+
"SH": "Sankta Helena",
|
|
199
|
+
"ST": "São Tomé och Príncipe",
|
|
200
|
+
"SA": "Saudiarabien",
|
|
201
|
+
"CH": "Schweiz",
|
|
202
|
+
"SN": "Senegal",
|
|
203
|
+
"RS": "Serbien",
|
|
204
|
+
"SC": "Seychellerna",
|
|
205
|
+
"SL": "Sierra Leone",
|
|
206
|
+
"SG": "Singapore",
|
|
207
|
+
"SX": "Sint Maarten",
|
|
208
|
+
"SK": "Slovakien",
|
|
209
|
+
"SI": "Slovenien",
|
|
210
|
+
"SO": "Somalia",
|
|
211
|
+
"ES": "Spanien",
|
|
212
|
+
"LK": "Sri Lanka",
|
|
213
|
+
"GB": "Storbritannien",
|
|
214
|
+
"SD": "Sudan",
|
|
215
|
+
"SR": "Surinam",
|
|
216
|
+
"SJ": "Svalbard och Jan Mayen",
|
|
217
|
+
"SE": "Sverige",
|
|
218
|
+
"ZA": "Sydafrika",
|
|
219
|
+
"GS": "Sydgeorgien och Sydsandwichöarna",
|
|
220
|
+
"KR": "Sydkorea",
|
|
221
|
+
"SS": "Sydsudan",
|
|
222
|
+
"SY": "Syrien",
|
|
223
|
+
"TJ": "Tadzjikistan",
|
|
224
|
+
"TW": "Taiwan",
|
|
225
|
+
"TZ": "Tanzania",
|
|
226
|
+
"TD": "Tchad",
|
|
227
|
+
"TH": "Thailand",
|
|
228
|
+
"CZ": "Tjeckien",
|
|
229
|
+
"TG": "Togo",
|
|
230
|
+
"TK": "Tokelau",
|
|
231
|
+
"TO": "Tonga",
|
|
232
|
+
"TT": "Trinidad och Tobago",
|
|
233
|
+
"TA": "Tristan da Cunha",
|
|
234
|
+
"TN": "Tunisien",
|
|
235
|
+
"TR": "Turkiet",
|
|
236
|
+
"TM": "Turkmenistan",
|
|
237
|
+
"TC": "Turks- och Caicosöarna",
|
|
238
|
+
"TV": "Tuvalu",
|
|
239
|
+
"DE": "Tyskland",
|
|
240
|
+
"UG": "Uganda",
|
|
241
|
+
"UA": "Ukraina",
|
|
242
|
+
"HU": "Ungern",
|
|
243
|
+
"UY": "Uruguay",
|
|
244
|
+
"US": "USA",
|
|
245
|
+
"UM": "USA:s yttre öar",
|
|
246
|
+
"UZ": "Uzbekistan",
|
|
247
|
+
"VU": "Vanuatu",
|
|
248
|
+
"EH": "Västsahara",
|
|
249
|
+
"VA": "Vatikanstaten",
|
|
250
|
+
"VE": "Venezuela",
|
|
251
|
+
"VN": "Vietnam",
|
|
252
|
+
"WF": "Wallis och Futuna",
|
|
253
|
+
"ZM": "Zambia",
|
|
254
|
+
"ZW": "Zimbabwe"
|
|
255
|
+
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import{RECEIVE_INVENTORIES}from"../constants";/**
|
|
2
|
-
* Creates the dispatched
|
|
3
|
-
* @param {Array}
|
|
4
|
-
* @
|
|
5
|
-
* @param {Array} inventories List of product invetories.
|
|
6
|
-
* @return {Object} The RECEIVE_PRODUCT_LOCATIONS action.
|
|
2
|
+
* Creates the dispatched RECEIVE_INVENTORIES action object.
|
|
3
|
+
* @param {Array} productInventories List of product inventories.
|
|
4
|
+
* @return {Object} The RECEIVE_INVENTORIES action.
|
|
7
5
|
*/var receiveInventories=function receiveInventories(productInventories){return{type:RECEIVE_INVENTORIES,productInventories:productInventories};};export default receiveInventories;
|
|
@@ -7,7 +7,9 @@ import _regeneratorRuntime from"@babel/runtime/regenerator";function asyncGenera
|
|
|
7
7
|
setMessage('locations.error_no_store_found');}else{setMessage('');}},[isLoading,locations,message]);/**
|
|
8
8
|
* Triggers an update when the value of the country selector changed.
|
|
9
9
|
* @param {SyntheticEvent} event A React event object.
|
|
10
|
-
*/var handleCountrySelectChange=useCallback(function(event){setCountryCode(event.target.value,productId,isStoreFinder);},[isStoreFinder,productId,setCountryCode])
|
|
10
|
+
*/var handleCountrySelectChange=useCallback(function(event){setCountryCode(event.target.value,productId,isStoreFinder);},[isStoreFinder,productId,setCountryCode]);useEffect(function(){if(!Array.isArray(supportedCountries)||!supportedCountries.length){return;}// Check if current countryCode is included in supportedCountries. Update the code to a valid
|
|
11
|
+
// one if nothing was found.
|
|
12
|
+
if(!supportedCountries.includes(countryCode)){handleCountrySelectChange({target:{value:supportedCountries[0]}});}},[countryCode,handleCountrySelectChange,supportedCountries]);/**
|
|
11
13
|
* Blurs the postal code input to trigger an update.
|
|
12
14
|
* @param {SyntheticEvent} event A React event object.
|
|
13
15
|
*/var handlePostalCodeSubmitKeyDown=useCallback(function(event){if(event.keyCode===13){inputEl.current.blur();}},[]);/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopgate/engage",
|
|
3
|
-
"version": "7.20.0-beta.
|
|
3
|
+
"version": "7.20.0-beta.9",
|
|
4
4
|
"description": "Shopgate's ENGAGE library.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Shopgate <support@shopgate.com>",
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@shopgate/native-modules": "1.0.0-beta.18",
|
|
19
|
-
"@shopgate/pwa-common": "7.20.0-beta.
|
|
20
|
-
"@shopgate/pwa-common-commerce": "7.20.0-beta.
|
|
21
|
-
"@shopgate/pwa-core": "7.20.0-beta.
|
|
22
|
-
"@shopgate/pwa-ui-ios": "7.20.0-beta.
|
|
23
|
-
"@shopgate/pwa-ui-material": "7.20.0-beta.
|
|
24
|
-
"@shopgate/pwa-ui-shared": "7.20.0-beta.
|
|
19
|
+
"@shopgate/pwa-common": "7.20.0-beta.9",
|
|
20
|
+
"@shopgate/pwa-common-commerce": "7.20.0-beta.9",
|
|
21
|
+
"@shopgate/pwa-core": "7.20.0-beta.9",
|
|
22
|
+
"@shopgate/pwa-ui-ios": "7.20.0-beta.9",
|
|
23
|
+
"@shopgate/pwa-ui-material": "7.20.0-beta.9",
|
|
24
|
+
"@shopgate/pwa-ui-shared": "7.20.0-beta.9",
|
|
25
25
|
"@stripe/react-stripe-js": "^1.1.2",
|
|
26
26
|
"@stripe/stripe-js": "^1.3.1",
|
|
27
27
|
"@virtuous/conductor": "~2.5.0",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from'react';import{mount,shallow}from'enzyme';import{PickerUtilize as Picker}from'@shopgate/engage/components';import Options from"./index";jest.mock('@shopgate/engage/product/contexts',function(){return{ProductContext:{Consumer:jest.fn(function(_ref){var children=_ref.children;return children({setOption:jest.fn(),currency:'EUR'});})}};})
|
|
1
|
+
import React from'react';import{mount,shallow}from'enzyme';import{PickerUtilize as Picker}from'@shopgate/engage/components';import Options from"./index";jest.mock('@shopgate/engage/components');jest.mock('@shopgate/engage/product/contexts',function(){return{ProductContext:{Consumer:jest.fn(function(_ref){var children=_ref.children;return children({setOption:jest.fn(),currency:'EUR'});})}};});// Mock the redux connect() method instead of providing a fake store.
|
|
2
2
|
jest.mock("./connector",function(){return function(obj){var newObj=obj;var mockOptions=[{id:'test-id',type:'select',label:'label',items:[{currency:'USD',price:10,priceDifference:0},{currency:'USD',price:10,priceDifference:0}]}];newObj.defaultProps={options:mockOptions,currentOptions:{}};return newObj;};});describe('<Options />',function(){var mockOptions=[{id:'test-id',type:'select',label:'label',items:[{currency:'USD',price:10,priceDifference:0},{currency:'USD',price:10,priceDifference:0}]}];describe('Given the component was mounted to the DOM',function(){it('should match snapshot',function(){var wrapper=shallow(React.createElement(Options,{currentOptions:{}})).dive();expect(wrapper).toMatchSnapshot();});it('should render correct number of options',function(){var wrapper=mount(React.createElement(Options,{options:mockOptions}));var picker=wrapper.find(Picker);expect(picker.length).toBe(mockOptions.length);});});});
|