ordering-ui-react-native 0.22.21 → 0.22.22-release

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.
Files changed (164) hide show
  1. package/package.json +6 -7
  2. package/src/DeliveryApp.tsx +43 -1
  3. package/src/components/BusinessesListing/index.tsx +1 -1
  4. package/src/components/Checkout/index.tsx +40 -39
  5. package/src/components/StripeMethodForm/index.tsx +4 -2
  6. package/src/components/VerifyPhone/styles.tsx +1 -2
  7. package/src/context/OfflineActions/index.tsx +236 -0
  8. package/src/types/index.tsx +2 -1
  9. package/themes/business/index.tsx +2 -0
  10. package/themes/business/src/components/AcceptOrRejectOrder/index.tsx +9 -6
  11. package/themes/business/src/components/AcceptOrRejectOrder/styles.tsx +1 -0
  12. package/themes/business/src/components/BusinessController/index.tsx +8 -3
  13. package/themes/business/src/components/BusinessProductList/index.tsx +3 -2
  14. package/themes/business/src/components/Chat/index.tsx +15 -3
  15. package/themes/business/src/components/DriverMap/index.tsx +49 -26
  16. package/themes/business/src/components/FloatingButton/index.tsx +3 -2
  17. package/themes/business/src/components/GoogleMap/index.tsx +15 -8
  18. package/themes/business/src/components/LanguageSelector/index.tsx +2 -3
  19. package/themes/business/src/components/LanguageSelector/lang_country.json +515 -70
  20. package/themes/business/src/components/LogoutButton/index.tsx +1 -1
  21. package/themes/business/src/components/MapView/index.tsx +36 -17
  22. package/themes/business/src/components/NewOrderNotification/index.tsx +38 -19
  23. package/themes/business/src/components/OrderDetails/Business.tsx +47 -27
  24. package/themes/business/src/components/OrderDetails/Delivery.tsx +134 -53
  25. package/themes/business/src/components/OrderDetails/OrderContentComponent.tsx +128 -41
  26. package/themes/business/src/components/OrderDetails/OrderHeaderComponent.tsx +45 -18
  27. package/themes/business/src/components/OrderDetails/styles.tsx +39 -3
  28. package/themes/business/src/components/OrderDetails/usePrinterCommands.tsx +17 -16
  29. package/themes/business/src/components/OrderDetailsLogistic/index.tsx +3 -2
  30. package/themes/business/src/components/OrderSummary/index.tsx +6 -4
  31. package/themes/business/src/components/OrdersListManager/index.tsx +13 -1
  32. package/themes/business/src/components/OrdersOption/index.tsx +217 -156
  33. package/themes/business/src/components/PhoneInputNumber/index.tsx +8 -5
  34. package/themes/business/src/components/PreviousMessages/index.tsx +26 -3
  35. package/themes/business/src/components/PreviousOrders/OrderItem.tsx +39 -16
  36. package/themes/business/src/components/PreviousOrders/index.tsx +74 -66
  37. package/themes/business/src/components/PrinterEdition/MessageAlert.tsx +33 -0
  38. package/themes/business/src/components/PrinterEdition/index.tsx +431 -0
  39. package/themes/business/src/components/PrinterEdition/printerList.tsx +23 -0
  40. package/themes/business/src/components/PrinterEdition/styles.tsx +61 -0
  41. package/themes/business/src/components/PrinterSettings/index.tsx +162 -174
  42. package/themes/business/src/components/PrinterSettings/styles.tsx +14 -1
  43. package/themes/business/src/components/ProductItemAccordion/index.tsx +3 -2
  44. package/themes/business/src/components/ReviewCustomer/index.tsx +2 -0
  45. package/themes/business/src/components/StoresList/index.tsx +2 -2
  46. package/themes/business/src/components/UserProfileForm/index.tsx +55 -22
  47. package/themes/business/src/components/UserProfileForm/styles.tsx +7 -0
  48. package/themes/business/src/components/WebsocketStatus/index.tsx +2 -2
  49. package/themes/business/src/components/shared/OTextarea.tsx +8 -9
  50. package/themes/business/src/config/currency.tsx +1010 -0
  51. package/themes/business/src/hooks/useLocation.tsx +16 -12
  52. package/themes/business/src/layouts/SafeAreaContainer.tsx +35 -19
  53. package/themes/business/src/types/index.tsx +16 -4
  54. package/themes/business/src/utils/index.tsx +33 -3
  55. package/themes/doordash/src/components/BusinessesListing/index.tsx +1 -1
  56. package/themes/doordash/src/components/LoginForm/index.tsx +1 -2
  57. package/themes/instacart/src/components/BusinessesListing/index.tsx +1 -1
  58. package/themes/kiosk/src/components/Checkout/index.tsx +6 -0
  59. package/themes/kiosk/src/components/NavBar/index.tsx +14 -14
  60. package/themes/kiosk/src/components/OptionCard/index.tsx +1 -1
  61. package/themes/kiosk/src/components/OrderTypeCardSelector/index.tsx +8 -10
  62. package/themes/kiosk/src/components/shared/OButton.tsx +5 -18
  63. package/themes/original/index.tsx +11 -0
  64. package/themes/original/src/components/AddressForm/index.tsx +32 -17
  65. package/themes/original/src/components/AddressList/index.tsx +8 -7
  66. package/themes/original/src/components/AppleLogin/index.tsx +4 -4
  67. package/themes/original/src/components/BusinessBasicInformation/index.tsx +5 -8
  68. package/themes/original/src/components/BusinessItemAccordion/index.tsx +13 -5
  69. package/themes/original/src/components/BusinessListingSearch/BusinessSearchFooter.tsx +103 -92
  70. package/themes/original/src/components/BusinessListingSearch/BusinessSearchHeader.tsx +8 -6
  71. package/themes/original/src/components/BusinessListingSearch/index.tsx +1 -2
  72. package/themes/original/src/components/BusinessPreorder/index.tsx +46 -28
  73. package/themes/original/src/components/BusinessProductsList/SubcategoriesComponent/index.tsx +73 -70
  74. package/themes/original/src/components/BusinessProductsList/index.tsx +6 -7
  75. package/themes/original/src/components/BusinessProductsList/styles.tsx +0 -3
  76. package/themes/original/src/components/BusinessProductsListing/index.tsx +10 -6
  77. package/themes/original/src/components/BusinessTypeFilter/index.tsx +9 -8
  78. package/themes/original/src/components/BusinessesListing/Layout/Appointment/index.tsx +2 -1
  79. package/themes/original/src/components/BusinessesListing/Layout/Original/styles.tsx +1 -1
  80. package/themes/original/src/components/BusinessesListing/index.tsx +0 -1
  81. package/themes/original/src/components/Cart/index.tsx +46 -14
  82. package/themes/original/src/components/CartContent/index.tsx +2 -4
  83. package/themes/original/src/components/Checkout/index.tsx +127 -77
  84. package/themes/original/src/components/CitiesControl/index.tsx +0 -3
  85. package/themes/original/src/components/CouponControl/index.tsx +1 -3
  86. package/themes/original/src/components/DriverTips/index.tsx +1 -3
  87. package/themes/original/src/components/Favorite/index.tsx +1 -5
  88. package/themes/original/src/components/FavoriteList/index.tsx +0 -1
  89. package/themes/original/src/components/ForgotPasswordForm/index.tsx +5 -7
  90. package/themes/original/src/components/GiftCard/GiftCardUI/index.tsx +15 -17
  91. package/themes/original/src/components/GiftCard/PurchaseGiftCard/index.tsx +3 -7
  92. package/themes/original/src/components/GiftCard/RedeemGiftCard/index.tsx +24 -32
  93. package/themes/original/src/components/GiftCard/SendGiftCard/index.tsx +7 -9
  94. package/themes/original/src/components/GiftCard/VerticalGiftCardOrdersLayout/index.tsx +11 -12
  95. package/themes/original/src/components/GoogleMap/index.tsx +39 -18
  96. package/themes/original/src/components/Help/index.tsx +2 -0
  97. package/themes/original/src/components/HighestRatedBusinesses/index.tsx +1 -1
  98. package/themes/original/src/components/Home/index.tsx +3 -11
  99. package/themes/original/src/components/LoginForm/Otp/index.tsx +0 -3
  100. package/themes/original/src/components/LoginForm/index.tsx +12 -9
  101. package/themes/original/src/components/MessageListing/index.tsx +2 -1
  102. package/themes/original/src/components/Messages/index.tsx +27 -19
  103. package/themes/original/src/components/MomentOption/TimeListItem.tsx +56 -0
  104. package/themes/original/src/components/MomentOption/index.tsx +80 -51
  105. package/themes/original/src/components/MomentSelector/index.tsx +5 -2
  106. package/themes/original/src/components/MultiCartsPaymethodsAndWallets/index.tsx +7 -3
  107. package/themes/original/src/components/MultiCheckout/index.tsx +55 -27
  108. package/themes/original/src/components/MultiOrdersDetails/index.tsx +1 -0
  109. package/themes/original/src/components/MyOrders/index.tsx +2 -2
  110. package/themes/original/src/components/NavBar/index.tsx +7 -4
  111. package/themes/original/src/components/NetworkError/index.tsx +0 -5
  112. package/themes/original/src/components/NotFoundSource/index.tsx +0 -3
  113. package/themes/original/src/components/OrderDetails/OrderEta.tsx +4 -3
  114. package/themes/original/src/components/OrderDetails/OrderHistory.tsx +16 -11
  115. package/themes/original/src/components/OrderDetails/index.tsx +44 -21
  116. package/themes/original/src/components/OrderDetails/styles.tsx +0 -1
  117. package/themes/original/src/components/OrderProgress/index.tsx +4 -3
  118. package/themes/original/src/components/OrderSummary/index.tsx +29 -10
  119. package/themes/original/src/components/OrderTypeSelector/index.tsx +7 -6
  120. package/themes/original/src/components/OrdersOption/index.tsx +3 -6
  121. package/themes/original/src/components/PaymentOptionStripe/index.tsx +0 -5
  122. package/themes/original/src/components/PaymentOptionWallet/index.tsx +56 -56
  123. package/themes/original/src/components/PaymentOptions/index.tsx +4 -3
  124. package/themes/original/src/components/PhoneInputNumber/index.tsx +92 -7
  125. package/themes/original/src/components/PlaceSpot/index.tsx +1 -3
  126. package/themes/original/src/components/PreviousOrders/index.tsx +1 -2
  127. package/themes/original/src/components/ProductForm/ActionButton.tsx +17 -20
  128. package/themes/original/src/components/ProductForm/index.tsx +107 -102
  129. package/themes/original/src/components/ProductItemAccordion/index.tsx +50 -43
  130. package/themes/original/src/components/ProductItemAccordion/styles.tsx +0 -3
  131. package/themes/original/src/components/ProductOptionSubOption/index.tsx +16 -8
  132. package/themes/original/src/components/ProfessionalProfile/index.tsx +4 -5
  133. package/themes/original/src/components/Promotions/index.tsx +6 -9
  134. package/themes/original/src/components/ReviewDriver/index.tsx +1 -1
  135. package/themes/original/src/components/ReviewOrder/index.tsx +2 -2
  136. package/themes/original/src/components/ReviewProducts/index.tsx +1 -1
  137. package/themes/original/src/components/ReviewTrigger/index.tsx +2 -2
  138. package/themes/original/src/components/ServiceForm/index.tsx +52 -54
  139. package/themes/original/src/components/Sessions/index.tsx +3 -3
  140. package/themes/original/src/components/SignupForm/index.tsx +102 -88
  141. package/themes/original/src/components/SingleOrderCard/index.tsx +6 -4
  142. package/themes/original/src/components/SingleProductCard/index.tsx +5 -5
  143. package/themes/original/src/components/SingleProductCard/styles.tsx +0 -3
  144. package/themes/original/src/components/StripeCardForm/index.tsx +0 -3
  145. package/themes/original/src/components/StripeCardsList/index.tsx +16 -3
  146. package/themes/original/src/components/StripeElementsForm/index.tsx +76 -62
  147. package/themes/original/src/components/StripeElementsForm/naked.tsx +48 -1
  148. package/themes/original/src/components/StripeRedirectForm/index.tsx +0 -3
  149. package/themes/original/src/components/TaxInformation/index.tsx +3 -2
  150. package/themes/original/src/components/UpsellingProducts/UpsellingContent.tsx +10 -7
  151. package/themes/original/src/components/UpsellingProducts/UpsellingLayout.tsx +8 -3
  152. package/themes/original/src/components/UserDetails/index.tsx +17 -16
  153. package/themes/original/src/components/UserFormDetails/index.tsx +164 -135
  154. package/themes/original/src/components/UserProfile/index.tsx +9 -1
  155. package/themes/original/src/components/UserVerification/index.tsx +15 -4
  156. package/themes/original/src/components/Wallets/index.tsx +6 -3
  157. package/themes/original/src/components/WebsocketStatus/index.tsx +1 -4
  158. package/themes/original/src/components/shared/OAlert.tsx +2 -1
  159. package/themes/original/src/components/shared/OButton.tsx +5 -4
  160. package/themes/original/src/components/shared/OInput.tsx +4 -8
  161. package/themes/original/src/components/shared/OModal.tsx +7 -2
  162. package/themes/original/src/types/index.tsx +10 -3
  163. package/themes/original/src/utils/index.tsx +30 -1
  164. package/themes/uber-eats/src/components/BusinessesListing/index.tsx +1 -1
@@ -5,18 +5,6 @@
5
5
  "value": "en",
6
6
  "countryCode": "US"
7
7
  },
8
- {
9
- "inputLabel": "DE",
10
- "label": "German",
11
- "value": "de",
12
- "countryCode": "DE"
13
- },
14
- {
15
- "inputLabel": "ES",
16
- "label": "Spanish",
17
- "value": "es",
18
- "countryCode": "ES"
19
- },
20
8
  {
21
9
  "inputLabel": "MX",
22
10
  "label": "Spanish",
@@ -30,22 +18,70 @@
30
18
  "countryCode": "GT"
31
19
  },
32
20
  {
33
- "inputLabel": "DA",
34
- "label": "Danish",
35
- "value": "da",
36
- "countryCode": "DK"
21
+ "inputLabel": "AF",
22
+ "label": "Afghanistan",
23
+ "value": "af",
24
+ "countryCode": "AF"
37
25
  },
38
26
  {
39
- "inputLabel": "NL",
40
- "label": "Dutch",
41
- "value": "nl",
42
- "countryCode": "NL"
27
+ "inputLabel": "AL",
28
+ "label": "Albania",
29
+ "value": "sq",
30
+ "countryCode": "AL"
43
31
  },
44
32
  {
45
- "inputLabel": "PT",
46
- "label": "Portuguese",
47
- "value": "pt",
48
- "countryCode": "PT"
33
+ "inputLabel": "AD",
34
+ "label": "Andorra",
35
+ "value": "ca",
36
+ "countryCode": "AD"
37
+ },
38
+ {
39
+ "inputLabel": "AM",
40
+ "label": "Armenia",
41
+ "value": "hy",
42
+ "countryCode": "AM"
43
+ },
44
+ {
45
+ "inputLabel": "AZ",
46
+ "label": "Azerbaijan",
47
+ "value": "az",
48
+ "countryCode": "AZ"
49
+ },
50
+ {
51
+ "inputLabel": "BD",
52
+ "label": "Bangladesh",
53
+ "value": "bn",
54
+ "countryCode": "BD"
55
+ },
56
+ {
57
+ "inputLabel": "BY",
58
+ "label": "Belarus",
59
+ "value": "be",
60
+ "countryCode": "BY"
61
+ },
62
+ {
63
+ "inputLabel": "BT",
64
+ "label": "Bhutan",
65
+ "value": "dz",
66
+ "countryCode": "BT"
67
+ },
68
+ {
69
+ "inputLabel": "BA",
70
+ "label": "Bosnia and Herzegovina",
71
+ "value": "bs",
72
+ "countryCode": "BA"
73
+ },
74
+ {
75
+ "inputLabel": "BG",
76
+ "label": "Bulgaria",
77
+ "value": "bg",
78
+ "countryCode": "BG"
79
+ },
80
+ {
81
+ "inputLabel": "BI",
82
+ "label": "Burundi",
83
+ "value": "rn",
84
+ "countryCode": "BI"
49
85
  },
50
86
  {
51
87
  "inputLabel": "CA",
@@ -53,42 +89,174 @@
53
89
  "value": "ca",
54
90
  "countryCode": "ES"
55
91
  },
92
+ {
93
+ "inputLabel": "KH",
94
+ "label": "Cambodia",
95
+ "value": "km",
96
+ "countryCode": "KH"
97
+ },
98
+ {
99
+ "inputLabel": "CN",
100
+ "label": "China",
101
+ "value": "zh",
102
+ "countryCode": "CN"
103
+ },
104
+ {
105
+ "inputLabel": "HR",
106
+ "label": "Croatia",
107
+ "value": "hr",
108
+ "countryCode": "HR"
109
+ },
110
+ {
111
+ "inputLabel": "CZ",
112
+ "label": "Czechia",
113
+ "value": "cs",
114
+ "countryCode": "CZ"
115
+ },
116
+ {
117
+ "inputLabel": "DK",
118
+ "label": "Denmark",
119
+ "value": "da",
120
+ "countryCode": "DK"
121
+ },
122
+ {
123
+ "inputLabel": "DJ",
124
+ "label": "Djibouti",
125
+ "value": "aa",
126
+ "countryCode": "DJ"
127
+ },
128
+ {
129
+ "inputLabel": "EE",
130
+ "label": "Estonia",
131
+ "value": "et",
132
+ "countryCode": "EE"
133
+ },
134
+ {
135
+ "inputLabel": "SZ",
136
+ "label": "Eswatini",
137
+ "value": "ss",
138
+ "countryCode": "SZ"
139
+ },
140
+ {
141
+ "inputLabel": "ET",
142
+ "label": "Ethiopia",
143
+ "value": "am",
144
+ "countryCode": "ET"
145
+ },
146
+ {
147
+ "inputLabel": "FO",
148
+ "label": "Faroe Islands",
149
+ "value": "fo",
150
+ "countryCode": "FO"
151
+ },
152
+ {
153
+ "inputLabel": "FJ",
154
+ "label": "Fiji",
155
+ "value": "fj",
156
+ "countryCode": "FJ"
157
+ },
158
+ {
159
+ "inputLabel": "FI",
160
+ "label": "Finland",
161
+ "value": "fi",
162
+ "countryCode": "FI"
163
+ },
56
164
  {
57
165
  "inputLabel": "FR",
58
- "label": "French",
166
+ "label": "France",
59
167
  "value": "fr",
60
168
  "countryCode": "FR"
61
169
  },
62
170
  {
63
- "inputLabel": "TR",
64
- "label": "Turkish",
65
- "value": "tr",
66
- "countryCode": "TR"
171
+ "inputLabel": "GE",
172
+ "label": "Georgia",
173
+ "value": "ka",
174
+ "countryCode": "GE"
67
175
  },
68
176
  {
69
- "inputLabel": "KM",
70
- "label": "Cambodian",
71
- "value": "km",
72
- "countryCode": "KH"
177
+ "inputLabel": "DE",
178
+ "label": "Germany",
179
+ "value": "de",
180
+ "countryCode": "DE"
73
181
  },
74
182
  {
75
- "inputLabel": "ZH-CN",
76
- "label": "Chinese Simplified",
77
- "value": "zh-CN",
78
- "countryCode": "CN"
183
+ "inputLabel": "GH",
184
+ "label": "Ghana",
185
+ "value": "ak",
186
+ "countryCode": "GH"
187
+ },
188
+ {
189
+ "inputLabel": "GR",
190
+ "label": "Greece",
191
+ "value": "el",
192
+ "countryCode": "GR"
193
+ },
194
+ {
195
+ "inputLabel": "GL",
196
+ "label": "Greenland",
197
+ "value": "kl",
198
+ "countryCode": "GL"
199
+ },
200
+ {
201
+ "inputLabel": "HT",
202
+ "label": "Haiti",
203
+ "value": "ht",
204
+ "countryCode": "HT"
79
205
  },
80
206
  {
81
- "inputLabel": "HI",
82
- "label": "Hindi",
207
+ "inputLabel": "HU",
208
+ "label": "Hungary",
209
+ "value": "hu",
210
+ "countryCode": "HU"
211
+ },
212
+ {
213
+ "inputLabel": "IS",
214
+ "label": "Iceland",
215
+ "value": "is",
216
+ "countryCode": "IS"
217
+ },
218
+ {
219
+ "inputLabel": "IN",
220
+ "label": "India",
83
221
  "value": "hi",
84
222
  "countryCode": "IN"
85
223
  },
86
224
  {
87
225
  "inputLabel": "ID",
88
- "label": "Indonesian",
226
+ "label": "Indonesia",
89
227
  "value": "id",
90
228
  "countryCode": "ID"
91
229
  },
230
+ {
231
+ "inputLabel": "IR",
232
+ "label": "Iran",
233
+ "value": "fa",
234
+ "countryCode": "IR"
235
+ },
236
+ {
237
+ "inputLabel": "IE",
238
+ "label": "Ireland",
239
+ "value": "ga",
240
+ "countryCode": "IE"
241
+ },
242
+ {
243
+ "inputLabel": "IL",
244
+ "label": "Israel",
245
+ "value": "he",
246
+ "countryCode": "IL"
247
+ },
248
+ {
249
+ "inputLabel": "IT",
250
+ "label": "Italy",
251
+ "value": "it",
252
+ "countryCode": "IT"
253
+ },
254
+ {
255
+ "inputLabel": "JP",
256
+ "label": "Japan",
257
+ "value": "ja",
258
+ "countryCode": "JP"
259
+ },
92
260
  {
93
261
  "inputLabel": "KN",
94
262
  "label": "Kannad",
@@ -96,11 +264,222 @@
96
264
  "countryCode": "IN"
97
265
  },
98
266
  {
99
- "inputLabel": "MS",
100
- "label": "Malay",
267
+ "inputLabel": "KZ",
268
+ "label": "Kazakhstan",
269
+ "value": "kk",
270
+ "countryCode": "KZ"
271
+ },
272
+ {
273
+ "inputLabel": "KG",
274
+ "label": "Kyrgyzstan",
275
+ "value": "ky",
276
+ "countryCode": "KG"
277
+ },
278
+ {
279
+ "inputLabel": "LA",
280
+ "label": "Laos",
281
+ "value": "lo",
282
+ "countryCode": "LA"
283
+ },
284
+ {
285
+ "inputLabel": "LV",
286
+ "label": "Latvia",
287
+ "value": "lv",
288
+ "countryCode": "LV"
289
+ },
290
+ {
291
+ "inputLabel": "LT",
292
+ "label": "Lithuania",
293
+ "value": "lt",
294
+ "countryCode": "LT"
295
+ },
296
+ {
297
+ "inputLabel": "LU",
298
+ "label": "Luxembourg",
299
+ "value": "lb",
300
+ "countryCode": "LU"
301
+ },
302
+ {
303
+ "inputLabel": "MK",
304
+ "label": "North Macedonia",
305
+ "value": "mk",
306
+ "countryCode": "MK"
307
+ },
308
+ {
309
+ "inputLabel": "MG",
310
+ "label": "Madagascar",
311
+ "value": "mg",
312
+ "countryCode": "MG"
313
+ },
314
+ {
315
+ "inputLabel": "MW",
316
+ "label": "Malawi",
317
+ "value": "ny",
318
+ "countryCode": "MW"
319
+ },
320
+ {
321
+ "inputLabel": "MY",
322
+ "label": "Malaysia",
101
323
  "value": "ms",
102
324
  "countryCode": "MY"
103
325
  },
326
+ {
327
+ "inputLabel": "MV",
328
+ "label": "Maldives",
329
+ "value": "dv",
330
+ "countryCode": "MV"
331
+ },
332
+ {
333
+ "inputLabel": "ML",
334
+ "label": "Mali",
335
+ "value": "bm",
336
+ "countryCode": "ML"
337
+ },
338
+ {
339
+ "inputLabel": "MT",
340
+ "label": "Malta",
341
+ "value": "mt",
342
+ "countryCode": "MT"
343
+ },
344
+ {
345
+ "inputLabel": "MH",
346
+ "label": "Marshall Islands",
347
+ "value": "mh",
348
+ "countryCode": "MH"
349
+ },
350
+ {
351
+ "inputLabel": "MN",
352
+ "label": "Mongolia",
353
+ "value": "mn",
354
+ "countryCode": "MN"
355
+ },
356
+ {
357
+ "inputLabel": "NR",
358
+ "label": "Nauru",
359
+ "value": "na",
360
+ "countryCode": "NR"
361
+ },
362
+ {
363
+ "inputLabel": "NP",
364
+ "label": "Nepal",
365
+ "value": "ne",
366
+ "countryCode": "NP"
367
+ },
368
+ {
369
+ "inputLabel": "NL",
370
+ "label": "Netherlands",
371
+ "value": "nl",
372
+ "countryCode": "NL"
373
+ },
374
+
375
+ {
376
+ "inputLabel": "NU",
377
+ "label": "Niue",
378
+ "value": "ni",
379
+ "countryCode": "NU"
380
+ },
381
+ {
382
+ "inputLabel": "NO",
383
+ "label": "Norway",
384
+ "value": "no",
385
+ "countryCode": "NO"
386
+ },
387
+ {
388
+ "inputLabel": "PK",
389
+ "label": "Pakistan",
390
+ "value": "ur",
391
+ "countryCode": "PK"
392
+ },
393
+ {
394
+ "inputLabel": "PW",
395
+ "label": "Palau",
396
+ "value": "pau",
397
+ "countryCode": "PW"
398
+ },
399
+ {
400
+ "inputLabel": "PY",
401
+ "label": "Paraguay",
402
+ "value": "gn",
403
+ "countryCode": "PY"
404
+ },
405
+ {
406
+ "inputLabel": "PH",
407
+ "label": "Philippines",
408
+ "value": "tl",
409
+ "countryCode": "PH"
410
+ },
411
+ {
412
+ "inputLabel": "PL",
413
+ "label": "Poland",
414
+ "value": "pl",
415
+ "countryCode": "PL"
416
+ },
417
+ {
418
+ "inputLabel": "PT",
419
+ "label": "Portugal",
420
+ "value": "pt",
421
+ "countryCode": "PT"
422
+ },
423
+ {
424
+ "inputLabel": "RO",
425
+ "label": "Romania",
426
+ "value": "ro",
427
+ "countryCode": "RO"
428
+ },
429
+ {
430
+ "inputLabel": "RU",
431
+ "label": "Russia",
432
+ "value": "ru",
433
+ "countryCode": "RU"
434
+ },
435
+ {
436
+ "inputLabel": "RW",
437
+ "label": "Rwanda",
438
+ "value": "rw",
439
+ "countryCode": "RW"
440
+ },
441
+ {
442
+ "inputLabel": "WS",
443
+ "label": "Samoa",
444
+ "value": "sm",
445
+ "countryCode": "WS"
446
+ },
447
+ {
448
+ "inputLabel": "RS",
449
+ "label": "Serbia",
450
+ "value": "sr",
451
+ "countryCode": "RS"
452
+ },
453
+ {
454
+ "inputLabel": "SA",
455
+ "label": "Saudi Arabia",
456
+ "value": "ar",
457
+ "countryCode": "SA"
458
+ },
459
+ {
460
+ "inputLabel": "SC",
461
+ "label": "Seychelles",
462
+ "value": "crs",
463
+ "countryCode": "SC"
464
+ },
465
+ {
466
+ "inputLabel": "SK",
467
+ "label": "Slovakia",
468
+ "value": "sk",
469
+ "countryCode": "SK"
470
+ },
471
+ {
472
+ "inputLabel": "SI",
473
+ "label": "Slovenia",
474
+ "value": "sl",
475
+ "countryCode": "SI"
476
+ },
477
+ {
478
+ "inputLabel": "SO",
479
+ "label": "Somalia",
480
+ "value": "so",
481
+ "countryCode": "SO"
482
+ },
104
483
  {
105
484
  "inputLabel": "TA",
106
485
  "label": "Tamil",
@@ -108,45 +487,111 @@
108
487
  "countryCode": "IN"
109
488
  },
110
489
  {
111
- "inputLabel": "AR",
112
- "label": "Arabic",
113
- "value": "ar",
114
- "countryCode": "EG"
490
+ "inputLabel": "ZA",
491
+ "label": "South Africa",
492
+ "value": "zu",
493
+ "countryCode": "ZA"
115
494
  },
116
495
  {
117
- "inputLabel": "RU",
118
- "label": "Russian",
119
- "value": "ru",
120
- "countryCode": "RU"
496
+ "inputLabel": "KR",
497
+ "label": "South Korea",
498
+ "value": "ko",
499
+ "countryCode": "KR"
121
500
  },
122
501
  {
123
- "inputLabel": "JA",
124
- "label": "Japanese",
125
- "value": "ja",
126
- "countryCode": "JP"
502
+ "inputLabel": "ES",
503
+ "label": "Spain",
504
+ "value": "es",
505
+ "countryCode": "ES"
127
506
  },
128
507
  {
129
- "inputLabel": "BN",
130
- "label": "Bengali",
131
- "value": "bn",
132
- "countryCode": "BD"
508
+ "inputLabel": "LK",
509
+ "label": "Sri Lanka",
510
+ "value": "si",
511
+ "countryCode": "LK"
133
512
  },
134
513
  {
135
- "inputLabel": "IT",
136
- "label": "Italian",
137
- "value": "it",
138
- "countryCode": "IT"
514
+ "inputLabel": "SE",
515
+ "label": "Sweden",
516
+ "value": "sv",
517
+ "countryCode": "SE"
139
518
  },
140
519
  {
141
- "inputLabel": "EL",
142
- "label": "Greek",
143
- "value": "el",
144
- "countryCode": "GR"
520
+ "inputLabel": "TJ",
521
+ "label": "Tajikistan",
522
+ "value": "tg",
523
+ "countryCode": "TJ"
145
524
  },
146
525
  {
147
- "inputLabel": "BG",
148
- "label": "Bulgarian Translation",
149
- "value": "bg",
150
- "countryCode": "BG"
526
+ "inputLabel": "TZ",
527
+ "label": "Tanzania",
528
+ "value": "sw",
529
+ "countryCode": "TZ"
530
+ },
531
+ {
532
+ "inputLabel": "TH",
533
+ "label": "Thailand",
534
+ "value": "th",
535
+ "countryCode": "TH"
536
+ },
537
+ {
538
+ "inputLabel": "TK",
539
+ "label": "Tokelau",
540
+ "value": "tkl",
541
+ "countryCode": "TK"
542
+ },
543
+ {
544
+ "inputLabel": "TO",
545
+ "label": "Tonga",
546
+ "value": "to",
547
+ "countryCode": "TO"
548
+ },
549
+ {
550
+ "inputLabel": "TR",
551
+ "label": "Turkey",
552
+ "value": "tr",
553
+ "countryCode": "TR"
554
+ },
555
+ {
556
+ "inputLabel": "TM",
557
+ "label": "Turkmenistan",
558
+ "value": "tk",
559
+ "countryCode": "TM"
560
+ },
561
+ {
562
+ "inputLabel": "UA",
563
+ "label": "Ukraine",
564
+ "value": "uk",
565
+ "countryCode": "UA"
566
+ },
567
+ {
568
+ "inputLabel": "UZ",
569
+ "label": "Uzbekistan",
570
+ "value": "uz",
571
+ "countryCode": "UZ"
572
+ },
573
+ {
574
+ "inputLabel": "VU",
575
+ "label": "Vanuatu",
576
+ "value": "bi",
577
+ "countryCode": "VU"
578
+ },
579
+ {
580
+ "inputLabel": "VN",
581
+ "label": "Vietnam",
582
+ "value": "vi",
583
+ "countryCode": "VN"
584
+ },
585
+ {
586
+ "inputLabel": "ZW",
587
+ "label": "Zimbabwe",
588
+ "value": "sn",
589
+ "countryCode": "ZW"
590
+ },
591
+ {
592
+ "inputLabel": "ZH-CN",
593
+ "label": "Chinese Simplified",
594
+ "value": "zh-CN",
595
+ "countryCode": "CN"
151
596
  }
152
597
  ]
@@ -15,7 +15,7 @@ const LogoutButtonUI = (props: any) => {
15
15
  const data = await _retrieveStoreData('notification_state');
16
16
  const res = await handleLogoutClick(data);
17
17
  if (res) {
18
- _clearStoreData({ excludedKeys: ['isTutorial'] });
18
+ _clearStoreData({ excludedKeys: ['isTutorial', 'language'] });
19
19
  }
20
20
  };
21
21