ordering-ui-external 10.3.0 → 10.3.1

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 (812) hide show
  1. package/_bundles/{7.ordering-ui.e758aec40c3bf292cadb.js → 7.ordering-ui.8c57feb440eaccd495a4.js} +1 -1
  2. package/_bundles/ordering-ui.8c57feb440eaccd495a4.js +2 -0
  3. package/_modules/components/AddressDetails/index.js +4 -4
  4. package/_modules/components/AddressForm/index.js +30 -30
  5. package/_modules/components/AddressList/index.js +11 -11
  6. package/_modules/components/AddressesPopover/index.js +2 -2
  7. package/_modules/components/AppleLogin/index.js +4 -4
  8. package/_modules/components/AutoScroll/index.js +2 -2
  9. package/_modules/components/BusinessBasicInformation/index.js +11 -11
  10. package/_modules/components/BusinessController/index.js +12 -12
  11. package/_modules/components/BusinessInformation/index.js +8 -8
  12. package/_modules/components/BusinessInformation/styles.js +2 -2
  13. package/_modules/components/BusinessItemAccordion/index.js +4 -4
  14. package/_modules/components/BusinessProductsCategories/layouts/groceries/index.js +1 -1
  15. package/_modules/components/BusinessProductsList/index.js +4 -4
  16. package/_modules/components/BusinessProductsList/layouts/groceries/index.js +13 -13
  17. package/_modules/components/BusinessProductsListing/index.js +19 -19
  18. package/_modules/components/BusinessTypeFilter/index.js +2 -2
  19. package/_modules/components/BusinessesListing/index.js +9 -9
  20. package/_modules/components/BusinessesListing/styles.js +2 -2
  21. package/_modules/components/BusinessesMap/index.js +3 -3
  22. package/_modules/components/CancellationComponent/index.js +5 -5
  23. package/_modules/components/Cart/index.js +24 -24
  24. package/_modules/components/Cart/styles.js +4 -4
  25. package/_modules/components/CartContent/index.js +2 -2
  26. package/_modules/components/Checkout/index.js +25 -25
  27. package/_modules/components/DriverTips/index.js +3 -3
  28. package/_modules/components/Dropdown/index.js +2 -2
  29. package/_modules/components/ForgotPasswordForm/index.js +2 -2
  30. package/_modules/components/Header/index.js +30 -30
  31. package/_modules/components/HomeHero/index.js +11 -11
  32. package/_modules/components/HorizontalOrdersLayout/index.js +6 -6
  33. package/_modules/components/InputPhoneNumber/index.js +3 -3
  34. package/_modules/components/LanguageSelector/index.js +1 -1
  35. package/_modules/components/LastOrders/index.js +7 -7
  36. package/_modules/components/LoginForm/index.js +20 -20
  37. package/_modules/components/LogoutButton/index.js +2 -2
  38. package/_modules/components/Messages/index.js +4 -4
  39. package/_modules/components/Messages/styles.js +2 -2
  40. package/_modules/components/MomentContent/index.js +3 -3
  41. package/_modules/components/MomentControl/index.js +6 -6
  42. package/_modules/components/MomentPopover/index.js +2 -2
  43. package/_modules/components/NotFoundSource/index.js +2 -2
  44. package/_modules/components/NotNetworkConnectivity/index.js +2 -2
  45. package/_modules/components/OrderDetails/index.js +91 -91
  46. package/_modules/components/OrderDetails/styles.js +2 -2
  47. package/_modules/components/OrderSuccessModal/index.js +10 -10
  48. package/_modules/components/OrdersOption/index.js +26 -26
  49. package/_modules/components/PageNotFound/index.js +5 -5
  50. package/_modules/components/PaymentOptionCash/index.js +2 -2
  51. package/_modules/components/PaymentOptionPaypal/index.js +1 -1
  52. package/_modules/components/PaymentOptionStripe/index.js +1 -1
  53. package/_modules/components/PaymentOptions/index.js +26 -26
  54. package/_modules/components/PhoneAutocomplete/index.js +7 -7
  55. package/_modules/components/PhoneAutocomplete/styles.js +6 -6
  56. package/_modules/components/ProductForm/index.js +15 -15
  57. package/_modules/components/ProductItemAccordion/index.js +2 -2
  58. package/_modules/components/ProductOptionSubOption/index.js +2 -2
  59. package/_modules/components/RenderProductsLayout/SearchProducts/index.js +4 -4
  60. package/_modules/components/RenderProductsLayout/index.js +16 -16
  61. package/_modules/components/ResetPassword/index.js +9 -9
  62. package/_modules/components/ReviewDriver/index.js +4 -4
  63. package/_modules/components/ReviewOrder/index.js +4 -4
  64. package/_modules/components/ReviewProduct/index.js +1 -1
  65. package/_modules/components/SearchBar/index.js +2 -2
  66. package/_modules/components/SearchBar/styles.js +6 -6
  67. package/_modules/components/SignUpForm/index.js +25 -25
  68. package/_modules/components/SingleProductCard/index.js +4 -4
  69. package/_modules/components/SmartAppBanner/index.js +2 -2
  70. package/_modules/components/StripeMethodForm/index.js +7 -7
  71. package/_modules/components/UpsellingPage/index.js +1 -1
  72. package/_modules/components/UserFormDetails/index.js +13 -13
  73. package/_modules/components/UserPopover/index.js +4 -4
  74. package/_modules/components/UserProfileForm/ProfileOptions/index.js +2 -2
  75. package/_modules/components/UserProfileForm/index.js +11 -11
  76. package/_modules/components/VerticalOrdersLayout/SingleOrderCard/index.js +15 -15
  77. package/_modules/hooks/useRecaptcha.js +3 -3
  78. package/_modules/themes/callcenterOriginal/src/components/AddressDetails/index.js +4 -4
  79. package/_modules/themes/callcenterOriginal/src/components/AddressForm/index.js +30 -30
  80. package/_modules/themes/callcenterOriginal/src/components/AddressList/index.js +11 -11
  81. package/_modules/themes/callcenterOriginal/src/components/AdminAreaPopover/styles.js +2 -2
  82. package/_modules/themes/callcenterOriginal/src/components/AppleLogin/index.js +4 -4
  83. package/_modules/themes/callcenterOriginal/src/components/AutoScroll/index.js +4 -4
  84. package/_modules/themes/callcenterOriginal/src/components/BusinessBasicInformation/index.js +8 -8
  85. package/_modules/themes/callcenterOriginal/src/components/BusinessController/index.js +10 -10
  86. package/_modules/themes/callcenterOriginal/src/components/BusinessInformation/index.js +1 -1
  87. package/_modules/themes/callcenterOriginal/src/components/BusinessMenuList/index.js +1 -1
  88. package/_modules/themes/callcenterOriginal/src/components/BusinessPreorder/index.js +7 -7
  89. package/_modules/themes/callcenterOriginal/src/components/BusinessProductsCategories/layouts/groceries/index.js +1 -1
  90. package/_modules/themes/callcenterOriginal/src/components/BusinessProductsList/index.js +10 -10
  91. package/_modules/themes/callcenterOriginal/src/components/BusinessProductsList/layouts/groceries/index.js +14 -14
  92. package/_modules/themes/callcenterOriginal/src/components/BusinessProductsListing/index.js +17 -17
  93. package/_modules/themes/callcenterOriginal/src/components/BusinessReviews/index.js +2 -2
  94. package/_modules/themes/callcenterOriginal/src/components/BusinessesListing/index.js +9 -9
  95. package/_modules/themes/callcenterOriginal/src/components/BusinessesListing/styles.js +2 -2
  96. package/_modules/themes/callcenterOriginal/src/components/Cart/index.js +29 -29
  97. package/_modules/themes/callcenterOriginal/src/components/Cart/styles.js +4 -4
  98. package/_modules/themes/callcenterOriginal/src/components/CartContent/index.js +6 -6
  99. package/_modules/themes/callcenterOriginal/src/components/Checkout/index.js +27 -27
  100. package/_modules/themes/callcenterOriginal/src/components/DriverTips/index.js +2 -2
  101. package/_modules/themes/callcenterOriginal/src/components/ForgotPasswordForm/index.js +2 -2
  102. package/_modules/themes/callcenterOriginal/src/components/Header/index.js +27 -27
  103. package/_modules/themes/callcenterOriginal/src/components/Header/styles.js +4 -4
  104. package/_modules/themes/callcenterOriginal/src/components/HeaderOption/index.js +1 -1
  105. package/_modules/themes/callcenterOriginal/src/components/HighestRated/index.js +6 -6
  106. package/_modules/themes/callcenterOriginal/src/components/HomeHero/index.js +8 -8
  107. package/_modules/themes/callcenterOriginal/src/components/HorizontalOrdersLayout/index.js +4 -4
  108. package/_modules/themes/callcenterOriginal/src/components/InputPhoneNumber/index.js +2 -2
  109. package/_modules/themes/callcenterOriginal/src/components/LanguageSelector/index.js +1 -1
  110. package/_modules/themes/callcenterOriginal/src/components/LastOrders/index.js +7 -7
  111. package/_modules/themes/callcenterOriginal/src/components/LoginForm/index.js +8 -8
  112. package/_modules/themes/callcenterOriginal/src/components/Messages/index.js +6 -6
  113. package/_modules/themes/callcenterOriginal/src/components/MessagesListing/index.js +30 -30
  114. package/_modules/themes/callcenterOriginal/src/components/MomentContent/index.js +4 -4
  115. package/_modules/themes/callcenterOriginal/src/components/MomentControl/index.js +5 -5
  116. package/_modules/themes/callcenterOriginal/src/components/NotFoundSource/index.js +2 -2
  117. package/_modules/themes/callcenterOriginal/src/components/OrderDetails/index.js +68 -68
  118. package/_modules/themes/callcenterOriginal/src/components/OrderDetails/styles.js +2 -2
  119. package/_modules/themes/callcenterOriginal/src/components/OrderProgress/index.js +28 -28
  120. package/_modules/themes/callcenterOriginal/src/components/OrderTypeSelectorContent/index.js +7 -7
  121. package/_modules/themes/callcenterOriginal/src/components/OrderTypeSelectorHeader/index.js +1 -1
  122. package/_modules/themes/callcenterOriginal/src/components/Orders/AddressForm/index.js +32 -32
  123. package/_modules/themes/callcenterOriginal/src/components/Orders/AddressList/index.js +11 -11
  124. package/_modules/themes/callcenterOriginal/src/components/Orders/AllInOne/DriversManager/index.js +2 -2
  125. package/_modules/themes/callcenterOriginal/src/components/Orders/Appointments/EventComponent.js +3 -3
  126. package/_modules/themes/callcenterOriginal/src/components/Orders/Appointments/index.js +2 -2
  127. package/_modules/themes/callcenterOriginal/src/components/Orders/CompanySelector/index.js +4 -4
  128. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/CardForm/index.js +3 -3
  129. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/CardFormCustom/index.js +2 -2
  130. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/CartBill/index.js +21 -21
  131. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/Checkout/index.js +26 -26
  132. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/DriverTips/index.js +4 -4
  133. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/Map/index.js +9 -9
  134. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptionCard/index.js +1 -1
  135. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptionCash/index.js +2 -2
  136. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptionPaypal/index.js +1 -1
  137. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptionStripe/index.js +8 -8
  138. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptionStripe/styles.js +1 -1
  139. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptionWallet/index.js +3 -3
  140. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptions/index.js +35 -35
  141. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/ProductForm/index.js +24 -24
  142. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/ProductOptionSubOption/index.js +2 -2
  143. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/SelectBusinesses/index.js +2 -2
  144. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/SelectCustomer/index.js +1 -1
  145. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/SelectProducts/index.js +3 -3
  146. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/SingleProductCard/index.js +10 -10
  147. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/SingleProductCard/styles.js +5 -5
  148. package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/StripeMethodForm/index.js +7 -7
  149. package/_modules/themes/callcenterOriginal/src/components/Orders/DeliveriesLocation/index.js +31 -31
  150. package/_modules/themes/callcenterOriginal/src/components/Orders/DeliveriesManager/index.js +2 -2
  151. package/_modules/themes/callcenterOriginal/src/components/Orders/DriverMapMarkerAndInfo/index.js +3 -3
  152. package/_modules/themes/callcenterOriginal/src/components/Orders/DriverSelector/index.js +4 -4
  153. package/_modules/themes/callcenterOriginal/src/components/Orders/DriversList/index.js +2 -2
  154. package/_modules/themes/callcenterOriginal/src/components/Orders/DriversLocation/index.js +15 -15
  155. package/_modules/themes/callcenterOriginal/src/components/Orders/DriversManager/index.js +2 -2
  156. package/_modules/themes/callcenterOriginal/src/components/Orders/GoogleMapsApiKeySettingButton/index.js +1 -1
  157. package/_modules/themes/callcenterOriginal/src/components/Orders/InterActOrderMarker/index.js +3 -3
  158. package/_modules/themes/callcenterOriginal/src/components/Orders/Logistics/index.js +1 -1
  159. package/_modules/themes/callcenterOriginal/src/components/Orders/Messages/index.js +4 -4
  160. package/_modules/themes/callcenterOriginal/src/components/Orders/OrderBill/RefundToWallet.js +16 -16
  161. package/_modules/themes/callcenterOriginal/src/components/Orders/OrderBill/index.js +46 -46
  162. package/_modules/themes/callcenterOriginal/src/components/Orders/OrderContactInformation/index.js +22 -22
  163. package/_modules/themes/callcenterOriginal/src/components/Orders/OrderDashboardSLASetting/index.js +3 -3
  164. package/_modules/themes/callcenterOriginal/src/components/Orders/OrderDetails/index.js +6 -6
  165. package/_modules/themes/callcenterOriginal/src/components/Orders/OrderDetailsHeader/index.js +6 -6
  166. package/_modules/themes/callcenterOriginal/src/components/Orders/OrderLogisticInformation/index.js +1 -1
  167. package/_modules/themes/callcenterOriginal/src/components/Orders/OrderNotification/index.js +4 -4
  168. package/_modules/themes/callcenterOriginal/src/components/Orders/OrderStatusFilterBar/index.js +4 -4
  169. package/_modules/themes/callcenterOriginal/src/components/Orders/OrderToPrint/index.js +22 -22
  170. package/_modules/themes/callcenterOriginal/src/components/Orders/OrderToPrintTicket/index.js +5 -5
  171. package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersCards/index.js +29 -29
  172. package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersContentHeader/index.js +3 -3
  173. package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersExportCSV/index.js +1 -1
  174. package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersLateralBar/index.js +3 -3
  175. package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersListing/index.js +3 -3
  176. package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersTable/index.js +55 -55
  177. package/_modules/themes/callcenterOriginal/src/components/Orders/PaymethodTypeSelector/index.js +1 -1
  178. package/_modules/themes/callcenterOriginal/src/components/Orders/ProductItemAccordion/index.js +4 -4
  179. package/_modules/themes/callcenterOriginal/src/components/Orders/ReviewCustomer/index.js +2 -2
  180. package/_modules/themes/callcenterOriginal/src/components/Orders/UserAddForm/index.js +11 -11
  181. package/_modules/themes/callcenterOriginal/src/components/OrdersOption/index.js +26 -26
  182. package/_modules/themes/callcenterOriginal/src/components/PageNotFound/index.js +3 -3
  183. package/_modules/themes/callcenterOriginal/src/components/PaymentOptionCash/index.js +2 -2
  184. package/_modules/themes/callcenterOriginal/src/components/PaymentOptionStripe/index.js +6 -6
  185. package/_modules/themes/callcenterOriginal/src/components/PaymentOptions/index.js +19 -19
  186. package/_modules/themes/callcenterOriginal/src/components/PhoneAutocomplete/index.js +12 -12
  187. package/_modules/themes/callcenterOriginal/src/components/PhoneAutocomplete/styles.js +6 -6
  188. package/_modules/themes/callcenterOriginal/src/components/ProductForm/index.js +15 -15
  189. package/_modules/themes/callcenterOriginal/src/components/ProductOptionSubOption/index.js +2 -2
  190. package/_modules/themes/callcenterOriginal/src/components/RenderProductsLayout/index.js +15 -15
  191. package/_modules/themes/callcenterOriginal/src/components/SearchBar/index.js +2 -2
  192. package/_modules/themes/callcenterOriginal/src/components/SearchBar/styles.js +6 -6
  193. package/_modules/themes/callcenterOriginal/src/components/Shared/AutoScroll/index.js +4 -4
  194. package/_modules/themes/callcenterOriginal/src/components/Shared/CitySelector/index.js +1 -1
  195. package/_modules/themes/callcenterOriginal/src/components/Shared/ColumnAllowSettingPopover/index.js +2 -2
  196. package/_modules/themes/callcenterOriginal/src/components/Shared/ConfirmAdmin/index.js +1 -1
  197. package/_modules/themes/callcenterOriginal/src/components/Shared/DragScroll/index.js +5 -5
  198. package/_modules/themes/callcenterOriginal/src/components/Shared/HtmlEditor/InsertImage/index.js +3 -3
  199. package/_modules/themes/callcenterOriginal/src/components/Shared/InputPhoneNumber/index.js +2 -2
  200. package/_modules/themes/callcenterOriginal/src/components/Shared/NotFoundSource/index.js +2 -2
  201. package/_modules/themes/callcenterOriginal/src/components/Shared/Personalization/index.js +1 -1
  202. package/_modules/themes/callcenterOriginal/src/components/Shared/RangeCalendar/index.js +2 -2
  203. package/_modules/themes/callcenterOriginal/src/components/Shared/Schedule/index.js +4 -4
  204. package/_modules/themes/callcenterOriginal/src/components/Shared/SelectBusinessCategories/index.js +2 -2
  205. package/_modules/themes/callcenterOriginal/src/components/Shared/SelectBusinessProducts/index.js +7 -7
  206. package/_modules/themes/callcenterOriginal/src/components/Shared/SelectBusinesses/index.js +3 -3
  207. package/_modules/themes/callcenterOriginal/src/components/Shared/SelectLoyaltyLevels/index.js +1 -1
  208. package/_modules/themes/callcenterOriginal/src/components/Shared/SelectSites/index.js +1 -1
  209. package/_modules/themes/callcenterOriginal/src/components/Shared/SpreadSheetEditor/index.js +21 -21
  210. package/_modules/themes/callcenterOriginal/src/components/SidebarMenu/index.js +5 -5
  211. package/_modules/themes/callcenterOriginal/src/components/SignUpBusiness/index.js +11 -11
  212. package/_modules/themes/callcenterOriginal/src/components/SignUpForm/index.js +15 -15
  213. package/_modules/themes/callcenterOriginal/src/components/SingleProductCard/index.js +4 -4
  214. package/_modules/themes/callcenterOriginal/src/components/Stores/BusinessSelectHeader/index.js +1 -1
  215. package/_modules/themes/callcenterOriginal/src/components/UpsellingPage/index.js +1 -1
  216. package/_modules/themes/callcenterOriginal/src/components/UserDetails/index.js +1 -1
  217. package/_modules/themes/callcenterOriginal/src/components/UserFormDetails/index.js +9 -9
  218. package/_modules/themes/callcenterOriginal/src/components/UserPopover/index.js +4 -4
  219. package/_modules/themes/callcenterOriginal/src/components/UserProfileForm/index.js +3 -3
  220. package/_modules/themes/callcenterOriginal/src/styles/Select/DashboardSelect/index.js +1 -1
  221. package/_modules/themes/eight/src/components/AddressDetails/index.js +2 -2
  222. package/_modules/themes/eight/src/components/AddressForm/index.js +31 -31
  223. package/_modules/themes/eight/src/components/AddressList/index.js +13 -13
  224. package/_modules/themes/eight/src/components/AppleLogin/index.js +4 -4
  225. package/_modules/themes/eight/src/components/AutoScroll/index.js +2 -2
  226. package/_modules/themes/eight/src/components/BusinessCart/index.js +2 -2
  227. package/_modules/themes/eight/src/components/BusinessController/index.js +10 -10
  228. package/_modules/themes/eight/src/components/BusinessItemAccordion/index.js +4 -4
  229. package/_modules/themes/eight/src/components/BusinessProductsCategories/index.js +2 -2
  230. package/_modules/themes/eight/src/components/BusinessProductsList/index.js +4 -4
  231. package/_modules/themes/eight/src/components/BusinessProductsListing/index.js +18 -18
  232. package/_modules/themes/eight/src/components/BusinessesListing/index.js +9 -9
  233. package/_modules/themes/eight/src/components/Cart/index.js +7 -7
  234. package/_modules/themes/eight/src/components/CartContent/index.js +2 -2
  235. package/_modules/themes/eight/src/components/CartStoresListing/index.js +4 -4
  236. package/_modules/themes/eight/src/components/Checkout/index.js +22 -22
  237. package/_modules/themes/eight/src/components/DriverTips/index.js +2 -2
  238. package/_modules/themes/eight/src/components/Header/index.js +20 -20
  239. package/_modules/themes/eight/src/components/HeaderOption/index.js +1 -1
  240. package/_modules/themes/eight/src/components/HomeHero/index.js +3 -3
  241. package/_modules/themes/eight/src/components/InputPhoneNumber/index.js +3 -3
  242. package/_modules/themes/eight/src/components/LanguageSelector/index.js +1 -1
  243. package/_modules/themes/eight/src/components/LoginForm/index.js +16 -16
  244. package/_modules/themes/eight/src/components/MomentContent/index.js +3 -3
  245. package/_modules/themes/eight/src/components/MomentControl/index.js +2 -2
  246. package/_modules/themes/eight/src/components/NavBar/index.js +2 -2
  247. package/_modules/themes/eight/src/components/OrderDetails/index.js +50 -50
  248. package/_modules/themes/eight/src/components/OrderDetails/styles.js +2 -2
  249. package/_modules/themes/eight/src/components/PaymentOptionCash/index.js +2 -2
  250. package/_modules/themes/eight/src/components/PaymentOptions/index.js +20 -20
  251. package/_modules/themes/eight/src/components/ProductForm/index.js +18 -18
  252. package/_modules/themes/eight/src/components/ProductOptionSubOption/index.js +2 -2
  253. package/_modules/themes/eight/src/components/SearchBar/index.js +2 -2
  254. package/_modules/themes/eight/src/components/SearchBar/styles.js +6 -6
  255. package/_modules/themes/eight/src/components/SidebarMenu/index.js +3 -3
  256. package/_modules/themes/eight/src/components/SignUpForm/index.js +23 -23
  257. package/_modules/themes/eight/src/components/SingleProductCard/index.js +4 -4
  258. package/_modules/themes/eight/src/components/UpsellingPage/index.js +1 -1
  259. package/_modules/themes/eight/src/components/UserProfileForm/index.js +3 -3
  260. package/_modules/themes/five/src/components/AccordionDropdown/styles.js +2 -2
  261. package/_modules/themes/five/src/components/AddressDetails/index.js +2 -2
  262. package/_modules/themes/five/src/components/AddressForm/index.js +37 -37
  263. package/_modules/themes/five/src/components/AddressList/index.js +17 -17
  264. package/_modules/themes/five/src/components/AutoScroll/index.js +4 -4
  265. package/_modules/themes/five/src/components/BusinessBasicInformation/BusinessInfoComponent.js +21 -21
  266. package/_modules/themes/five/src/components/BusinessBasicInformation/SearchComponent.js +2 -2
  267. package/_modules/themes/five/src/components/BusinessBasicInformation/index.js +12 -12
  268. package/_modules/themes/five/src/components/BusinessBasicInformation/styles.js +2 -2
  269. package/_modules/themes/five/src/components/BusinessController/index.js +30 -30
  270. package/_modules/themes/five/src/components/BusinessInformation/index.js +12 -12
  271. package/_modules/themes/five/src/components/BusinessInformation/styles.js +2 -2
  272. package/_modules/themes/five/src/components/BusinessItemAccordion/index.js +7 -7
  273. package/_modules/themes/five/src/components/BusinessListingSearch/MaxSectionItem/index.js +1 -1
  274. package/_modules/themes/five/src/components/BusinessListingSearch/index.js +32 -32
  275. package/_modules/themes/five/src/components/BusinessMenuList/index.js +2 -2
  276. package/_modules/themes/five/src/components/BusinessPreorder/index.js +12 -12
  277. package/_modules/themes/five/src/components/BusinessPreorder/styles.js +33 -30
  278. package/_modules/themes/five/src/components/BusinessProductsCategories/index.js +3 -3
  279. package/_modules/themes/five/src/components/BusinessProductsCategories/layouts/groceries/index.js +1 -1
  280. package/_modules/themes/five/src/components/BusinessProductsList/index.js +37 -37
  281. package/_modules/themes/five/src/components/BusinessProductsList/layouts/groceries/index.js +27 -27
  282. package/_modules/themes/five/src/components/BusinessProductsListing/index.js +36 -36
  283. package/_modules/themes/five/src/components/BusinessProductsListing/styles.js +2 -2
  284. package/_modules/themes/five/src/components/BusinessReviews/index.js +6 -6
  285. package/_modules/themes/five/src/components/BusinessTypeFilter/index.js +4 -4
  286. package/_modules/themes/five/src/components/BusinessesListing/index.js +2 -2
  287. package/_modules/themes/five/src/components/BusinessesListing/layouts/AppointmentsBusinessListing/index.js +12 -12
  288. package/_modules/themes/five/src/components/BusinessesListing/layouts/OriginalBusinessesListing/index.js +49 -49
  289. package/_modules/themes/five/src/components/BusinessesListing/layouts/OriginalBusinessesListing/styles.js +4 -4
  290. package/_modules/themes/five/src/components/BusinessesListing/layouts/RedBusinessesListing/index.js +14 -14
  291. package/_modules/themes/five/src/components/BusinessesListing/layouts/RedBusinessesListing/styles.js +2 -2
  292. package/_modules/themes/five/src/components/BusinessesListing/layouts/StarbucksBusinessesListing/index.js +14 -14
  293. package/_modules/themes/five/src/components/BusinessesListing/layouts/StarbucksBusinessesListing/styles.js +4 -4
  294. package/_modules/themes/five/src/components/CardForm/index.js +3 -3
  295. package/_modules/themes/five/src/components/CardFormCustom/index.js +2 -2
  296. package/_modules/themes/five/src/components/Cart/index.js +47 -47
  297. package/_modules/themes/five/src/components/Cart/styles.js +4 -4
  298. package/_modules/themes/five/src/components/CartContent/index.js +13 -13
  299. package/_modules/themes/five/src/components/CartPopover/index.js +4 -4
  300. package/_modules/themes/five/src/components/CartPopover/styles.js +2 -2
  301. package/_modules/themes/five/src/components/Checkout/index.js +53 -53
  302. package/_modules/themes/five/src/components/CitiesControl/index.js +2 -2
  303. package/_modules/themes/five/src/components/Confirm/styles.js +2 -2
  304. package/_modules/themes/five/src/components/DriverTips/index.js +4 -4
  305. package/_modules/themes/five/src/components/Favorite/index.js +3 -3
  306. package/_modules/themes/five/src/components/FavoriteList/index.js +25 -25
  307. package/_modules/themes/five/src/components/Footer/index.js +3 -3
  308. package/_modules/themes/five/src/components/ForgotPasswordForm/index.js +3 -3
  309. package/_modules/themes/five/src/components/GiftCard/PurchaseGiftCard/index.js +2 -2
  310. package/_modules/themes/five/src/components/GiftCard/RedeemGiftCard/index.js +1 -1
  311. package/_modules/themes/five/src/components/Header/index.js +43 -43
  312. package/_modules/themes/five/src/components/Header/layouts/Kiosk/index.js +7 -7
  313. package/_modules/themes/five/src/components/Header/styles.js +14 -14
  314. package/_modules/themes/five/src/components/HeaderOption/index.js +3 -3
  315. package/_modules/themes/five/src/components/HighestRated/index.js +7 -7
  316. package/_modules/themes/five/src/components/HomeHero/index.js +5 -5
  317. package/_modules/themes/five/src/components/HomeHero/layouts/KioskHomeHero/index.js +5 -5
  318. package/_modules/themes/five/src/components/HomeHero/layouts/OriginalHomeHero/index.js +25 -25
  319. package/_modules/themes/five/src/components/HomeHero/layouts/RedHomeHero/index.js +16 -16
  320. package/_modules/themes/five/src/components/HomeHero/layouts/StarbucksHomeHero/index.js +3 -3
  321. package/_modules/themes/five/src/components/HomeHero/layouts/StarbucksHomeHero/styles.js +4 -4
  322. package/_modules/themes/five/src/components/HorizontalOrdersLayout/index.js +1 -1
  323. package/_modules/themes/five/src/components/InputPhoneNumber/index.js +2 -2
  324. package/_modules/themes/five/src/components/LanguageSelector/index.js +1 -1
  325. package/_modules/themes/five/src/components/LastOrders/index.js +7 -7
  326. package/_modules/themes/five/src/components/LoginForm/index.js +27 -27
  327. package/_modules/themes/five/src/components/LogoutPopup/index.js +2 -2
  328. package/_modules/themes/five/src/components/Messages/MapMessages.js +2 -2
  329. package/_modules/themes/five/src/components/Messages/index.js +6 -6
  330. package/_modules/themes/five/src/components/MessagesListing/index.js +6 -6
  331. package/_modules/themes/five/src/components/Modal/styles.js +1 -1
  332. package/_modules/themes/five/src/components/MomentContent/index.js +4 -4
  333. package/_modules/themes/five/src/components/MomentControl/Layouts/CustomLayout/index.js +1 -1
  334. package/_modules/themes/five/src/components/MomentControl/index.js +7 -7
  335. package/_modules/themes/five/src/components/MomentControl/styles.js +2 -2
  336. package/_modules/themes/five/src/components/MultiCartsPaymethodsAndWallets/index.js +15 -15
  337. package/_modules/themes/five/src/components/MultiCheckout/index.js +41 -41
  338. package/_modules/themes/five/src/components/MultiOrdersDetails/SingleOrderCard.js +8 -8
  339. package/_modules/themes/five/src/components/MultiOrdersDetails/index.js +5 -5
  340. package/_modules/themes/five/src/components/MultiOrdersDetails/styles.js +2 -2
  341. package/_modules/themes/five/src/components/MyOrders/index.js +4 -4
  342. package/_modules/themes/five/src/components/NavigationBar/index.js +6 -6
  343. package/_modules/themes/five/src/components/NotNetworkConnectivity/index.js +2 -2
  344. package/_modules/themes/five/src/components/OrderContextUI/index.js +9 -9
  345. package/_modules/themes/five/src/components/OrderDetails/ActionsSection.js +2 -2
  346. package/_modules/themes/five/src/components/OrderDetails/OrderActionsSection.js +1 -1
  347. package/_modules/themes/five/src/components/OrderDetails/OrderBillSection.js +36 -36
  348. package/_modules/themes/five/src/components/OrderDetails/OrderEta.js +1 -1
  349. package/_modules/themes/five/src/components/OrderDetails/OrderHeaderInfoSection.js +1 -1
  350. package/_modules/themes/five/src/components/OrderDetails/OrderHistory.js +2 -2
  351. package/_modules/themes/five/src/components/OrderDetails/OrderPreferencesSections.js +1 -1
  352. package/_modules/themes/five/src/components/OrderDetails/index.js +67 -67
  353. package/_modules/themes/five/src/components/OrderDetails/layouts/Kiosk/index.js +42 -42
  354. package/_modules/themes/five/src/components/OrderDetails/styles.js +2 -2
  355. package/_modules/themes/five/src/components/OrderItAgain/styles.js +2 -2
  356. package/_modules/themes/five/src/components/OrderProgress/index.js +8 -8
  357. package/_modules/themes/five/src/components/OrderTypeSelectorContent/index.js +22 -22
  358. package/_modules/themes/five/src/components/OrderTypeSelectorContent/layouts/Kiosk/index.js +7 -7
  359. package/_modules/themes/five/src/components/OrderTypeSelectorHeader/index.js +1 -1
  360. package/_modules/themes/five/src/components/OrdersOption/PreviousBusinessOrdered/index.js +5 -5
  361. package/_modules/themes/five/src/components/OrdersOption/PreviousProductsOrdered/index.js +4 -4
  362. package/_modules/themes/five/src/components/OrdersOption/index.js +13 -13
  363. package/_modules/themes/five/src/components/PageBanner/index.js +5 -5
  364. package/_modules/themes/five/src/components/PaymentOptionCard/index.js +1 -1
  365. package/_modules/themes/five/src/components/PaymentOptionCash/index.js +2 -2
  366. package/_modules/themes/five/src/components/PaymentOptionStripe/index.js +8 -8
  367. package/_modules/themes/five/src/components/PaymentOptionStripe/styles.js +1 -1
  368. package/_modules/themes/five/src/components/PaymentOptionWallet/index.js +3 -3
  369. package/_modules/themes/five/src/components/PaymentOptions/index.js +35 -35
  370. package/_modules/themes/five/src/components/PhoneAutocomplete/index.js +12 -12
  371. package/_modules/themes/five/src/components/PhoneAutocomplete/styles.js +6 -6
  372. package/_modules/themes/five/src/components/PlaceSpot/index.js +14 -14
  373. package/_modules/themes/five/src/components/ProductForm/index.js +34 -34
  374. package/_modules/themes/five/src/components/ProductForm/styles.js +18 -18
  375. package/_modules/themes/five/src/components/ProductItemAccordion/index.js +8 -8
  376. package/_modules/themes/five/src/components/ProductOption/styles.js +2 -2
  377. package/_modules/themes/five/src/components/ProductOptionSubOption/index.js +2 -2
  378. package/_modules/themes/five/src/components/ProductShare/ProductCopyURL.js +2 -2
  379. package/_modules/themes/five/src/components/ProfessionalBusinessFilter/index.js +1 -1
  380. package/_modules/themes/five/src/components/ProfessionalInfo/index.js +4 -4
  381. package/_modules/themes/five/src/components/Promotions/index.js +6 -6
  382. package/_modules/themes/five/src/components/RenderProductsLayout/index.js +32 -32
  383. package/_modules/themes/five/src/components/ResetPassword/index.js +8 -8
  384. package/_modules/themes/five/src/components/ReviewDriver/index.js +4 -4
  385. package/_modules/themes/five/src/components/ReviewOrder/index.js +7 -7
  386. package/_modules/themes/five/src/components/ReviewProduct/index.js +4 -4
  387. package/_modules/themes/five/src/components/ReviewProfessional/index.js +5 -5
  388. package/_modules/themes/five/src/components/ReviewTrigger/index.js +5 -5
  389. package/_modules/themes/five/src/components/ScheduleAccordion/index.js +1 -1
  390. package/_modules/themes/five/src/components/ScheduleAccordion/styles.js +2 -2
  391. package/_modules/themes/five/src/components/SearchBar/index.js +2 -2
  392. package/_modules/themes/five/src/components/SearchBar/styles.js +6 -6
  393. package/_modules/themes/five/src/components/SearchProducts/index.js +6 -6
  394. package/_modules/themes/five/src/components/ServiceForm/index.js +40 -34
  395. package/_modules/themes/five/src/components/SidebarMenu/index.js +17 -17
  396. package/_modules/themes/five/src/components/SignUpApproval/index.js +2 -2
  397. package/_modules/themes/five/src/components/SignUpBusiness/layouts/NewSignUpBusiness/index.js +14 -14
  398. package/_modules/themes/five/src/components/SignUpBusiness/layouts/OldSignUpBusiness/index.js +14 -14
  399. package/_modules/themes/five/src/components/SignUpDriver/layouts/NewSignUpDriver/index.js +14 -14
  400. package/_modules/themes/five/src/components/SignUpDriver/layouts/OldSignUpDriver/index.js +14 -14
  401. package/_modules/themes/five/src/components/SignUpForm/index.js +39 -39
  402. package/_modules/themes/five/src/components/SingleOrderCard/index.js +23 -23
  403. package/_modules/themes/five/src/components/SingleProductCard/index.js +2 -2
  404. package/_modules/themes/five/src/components/SingleProductCard/layouts/original/index.js +19 -19
  405. package/_modules/themes/five/src/components/SingleProductCard/layouts/original/styles.js +5 -5
  406. package/_modules/themes/five/src/components/SingleProductCard/layouts/starbucks/index.js +17 -17
  407. package/_modules/themes/five/src/components/SingleProductCard/layouts/starbucks/styles.js +6 -6
  408. package/_modules/themes/five/src/components/SingleProfessionalCard/index.js +1 -1
  409. package/_modules/themes/five/src/components/UpsellingPage/index.js +1 -1
  410. package/_modules/themes/five/src/components/UserDetails/index.js +3 -3
  411. package/_modules/themes/five/src/components/UserFormDetails/index.js +23 -23
  412. package/_modules/themes/five/src/components/UserPopover/index.js +20 -20
  413. package/_modules/themes/five/src/components/UserPopover/styles.js +2 -2
  414. package/_modules/themes/five/src/components/UserProfileForm/ProfileOptions/index.js +2 -2
  415. package/_modules/themes/five/src/components/UserProfileForm/index.js +20 -20
  416. package/_modules/themes/five/src/components/UserVerification/index.js +7 -7
  417. package/_modules/themes/five/src/components/WalletTransactionItem/index.js +3 -3
  418. package/_modules/themes/five/src/components/Wallets/index.js +7 -7
  419. package/_modules/themes/five/src/styles/Buttons/index.js +17 -17
  420. package/_modules/themes/five/src/styles/Inputs/index.js +12 -12
  421. package/_modules/themes/four/src/components/AddressDetails/index.js +7 -7
  422. package/_modules/themes/four/src/components/AddressForm/index.js +31 -31
  423. package/_modules/themes/four/src/components/AddressList/index.js +11 -11
  424. package/_modules/themes/four/src/components/AddressesPopover/index.js +4 -4
  425. package/_modules/themes/four/src/components/AppleLogin/index.js +4 -4
  426. package/_modules/themes/four/src/components/AutoScroll/index.js +4 -4
  427. package/_modules/themes/four/src/components/BusinessBasicInformation/index.js +13 -13
  428. package/_modules/themes/four/src/components/BusinessController/index.js +8 -8
  429. package/_modules/themes/four/src/components/BusinessItemAccordion/index.js +4 -4
  430. package/_modules/themes/four/src/components/BusinessProductsCategories/layouts/groceries/index.js +1 -1
  431. package/_modules/themes/four/src/components/BusinessProductsList/index.js +1 -1
  432. package/_modules/themes/four/src/components/BusinessProductsList/layouts/groceries/index.js +13 -13
  433. package/_modules/themes/four/src/components/BusinessProductsListing/index.js +12 -12
  434. package/_modules/themes/four/src/components/BusinessesListing/index.js +8 -8
  435. package/_modules/themes/four/src/components/BusinessesListing/styles.js +2 -2
  436. package/_modules/themes/four/src/components/Cart/index.js +14 -14
  437. package/_modules/themes/four/src/components/CartContent/index.js +2 -2
  438. package/_modules/themes/four/src/components/Checkout/index.js +29 -29
  439. package/_modules/themes/four/src/components/DriverTips/index.js +3 -3
  440. package/_modules/themes/four/src/components/ForgotPasswordForm/index.js +3 -3
  441. package/_modules/themes/four/src/components/Header/index.js +26 -26
  442. package/_modules/themes/four/src/components/HeaderOption/index.js +1 -1
  443. package/_modules/themes/four/src/components/HomeHero/index.js +11 -11
  444. package/_modules/themes/four/src/components/HorizontalOrdersLayout/index.js +6 -6
  445. package/_modules/themes/four/src/components/LastOrders/index.js +7 -7
  446. package/_modules/themes/four/src/components/LoginForm/index.js +17 -17
  447. package/_modules/themes/four/src/components/MomentContent/index.js +4 -4
  448. package/_modules/themes/four/src/components/MomentControl/index.js +2 -2
  449. package/_modules/themes/four/src/components/MomentPopover/index.js +2 -2
  450. package/_modules/themes/four/src/components/NotFoundSource/index.js +2 -2
  451. package/_modules/themes/four/src/components/OrderDetails/index.js +57 -57
  452. package/_modules/themes/four/src/components/OrderDetails/styles.js +2 -2
  453. package/_modules/themes/four/src/components/OrdersOption/index.js +26 -26
  454. package/_modules/themes/four/src/components/ProductForm/index.js +16 -16
  455. package/_modules/themes/four/src/components/RenderProductsLayout/index.js +16 -16
  456. package/_modules/themes/four/src/components/SearchBar/styles.js +6 -6
  457. package/_modules/themes/four/src/components/SignUpForm/index.js +21 -21
  458. package/_modules/themes/four/src/components/SingleProductCard/index.js +4 -4
  459. package/_modules/themes/four/src/components/UserFormDetails/index.js +9 -9
  460. package/_modules/themes/four/src/components/UserProfileForm/index.js +3 -3
  461. package/_modules/themes/four/src/components/VerticalOrdersLayout/index.js +3 -3
  462. package/_modules/themes/franchise/src/components/AddressDetails/index.js +4 -4
  463. package/_modules/themes/franchise/src/components/AddressForm/index.js +30 -30
  464. package/_modules/themes/franchise/src/components/AddressList/index.js +11 -11
  465. package/_modules/themes/franchise/src/components/AppleLogin/index.js +4 -4
  466. package/_modules/themes/franchise/src/components/AutoScroll/index.js +4 -4
  467. package/_modules/themes/franchise/src/components/BusinessBasicInformation/index.js +11 -11
  468. package/_modules/themes/franchise/src/components/BusinessController/index.js +8 -8
  469. package/_modules/themes/franchise/src/components/BusinessInformation/index.js +1 -1
  470. package/_modules/themes/franchise/src/components/BusinessItemAccordion/index.js +1 -1
  471. package/_modules/themes/franchise/src/components/BusinessProductsList/index.js +6 -6
  472. package/_modules/themes/franchise/src/components/BusinessProductsListing/index.js +25 -25
  473. package/_modules/themes/franchise/src/components/BusinessReviews/index.js +2 -2
  474. package/_modules/themes/franchise/src/components/BusinessesListing/index.js +15 -15
  475. package/_modules/themes/franchise/src/components/BusinessesListing/styles.js +2 -2
  476. package/_modules/themes/franchise/src/components/BusinessesMap/index.js +3 -3
  477. package/_modules/themes/franchise/src/components/Cart/index.js +10 -10
  478. package/_modules/themes/franchise/src/components/CartContent/index.js +2 -2
  479. package/_modules/themes/franchise/src/components/CartStoresListing/index.js +4 -4
  480. package/_modules/themes/franchise/src/components/Checkout/index.js +21 -21
  481. package/_modules/themes/franchise/src/components/DriverTips/index.js +2 -2
  482. package/_modules/themes/franchise/src/components/ForgotPasswordForm/index.js +2 -2
  483. package/_modules/themes/franchise/src/components/Header/index.js +32 -32
  484. package/_modules/themes/franchise/src/components/HeaderOption/index.js +1 -1
  485. package/_modules/themes/franchise/src/components/HomeHero/index.js +7 -7
  486. package/_modules/themes/franchise/src/components/HorizontalOrdersLayout/index.js +3 -3
  487. package/_modules/themes/franchise/src/components/InputPhoneNumber/index.js +2 -2
  488. package/_modules/themes/franchise/src/components/LastOrders/index.js +7 -7
  489. package/_modules/themes/franchise/src/components/LoginForm/index.js +15 -15
  490. package/_modules/themes/franchise/src/components/Messages/index.js +5 -5
  491. package/_modules/themes/franchise/src/components/MomentContent/index.js +4 -4
  492. package/_modules/themes/franchise/src/components/MomentControl/index.js +2 -2
  493. package/_modules/themes/franchise/src/components/MySavedPlaces/index.js +2 -2
  494. package/_modules/themes/franchise/src/components/OrderDetails/index.js +59 -59
  495. package/_modules/themes/franchise/src/components/OrderDetails/styles.js +2 -2
  496. package/_modules/themes/franchise/src/components/OrderTypeSelectorContent/index.js +7 -7
  497. package/_modules/themes/franchise/src/components/OrderTypeSelectorHeader/index.js +1 -1
  498. package/_modules/themes/franchise/src/components/OrdersOption/index.js +26 -26
  499. package/_modules/themes/franchise/src/components/PaymentOptionCash/index.js +2 -2
  500. package/_modules/themes/franchise/src/components/PaymentOptionStripe/index.js +6 -6
  501. package/_modules/themes/franchise/src/components/PaymentOptions/index.js +19 -19
  502. package/_modules/themes/franchise/src/components/ProductForm/index.js +15 -15
  503. package/_modules/themes/franchise/src/components/SearchBar/index.js +2 -2
  504. package/_modules/themes/franchise/src/components/SearchBar/styles.js +6 -6
  505. package/_modules/themes/franchise/src/components/SidebarMenu/index.js +5 -5
  506. package/_modules/themes/franchise/src/components/SignUpForm/index.js +21 -21
  507. package/_modules/themes/franchise/src/components/SingleProductCard/index.js +10 -10
  508. package/_modules/themes/franchise/src/components/UpsellingPage/index.js +1 -1
  509. package/_modules/themes/franchise/src/components/UserFormDetails/index.js +9 -9
  510. package/_modules/themes/franchise/src/components/UserPopover/index.js +4 -4
  511. package/_modules/themes/franchise/src/components/UserProfileForm/index.js +3 -3
  512. package/_modules/themes/orderAndPay/src/components/AppleLogin/index.js +4 -4
  513. package/_modules/themes/orderAndPay/src/components/AutoScroll/index.js +4 -4
  514. package/_modules/themes/orderAndPay/src/components/BusinessItemAccordion/index.js +1 -1
  515. package/_modules/themes/orderAndPay/src/components/BusinessProductsList/index.js +1 -1
  516. package/_modules/themes/orderAndPay/src/components/BusinessProductsListing/index.js +17 -17
  517. package/_modules/themes/orderAndPay/src/components/BusinessReviews/index.js +2 -2
  518. package/_modules/themes/orderAndPay/src/components/Cart/index.js +9 -9
  519. package/_modules/themes/orderAndPay/src/components/CartContent/index.js +2 -2
  520. package/_modules/themes/orderAndPay/src/components/Checkout/index.js +22 -22
  521. package/_modules/themes/orderAndPay/src/components/DriverTips/index.js +2 -2
  522. package/_modules/themes/orderAndPay/src/components/ForgotPasswordForm/index.js +2 -2
  523. package/_modules/themes/orderAndPay/src/components/InputPhoneNumber/index.js +2 -2
  524. package/_modules/themes/orderAndPay/src/components/LoginForm/index.js +13 -13
  525. package/_modules/themes/orderAndPay/src/components/LogoutButton/index.js +2 -2
  526. package/_modules/themes/orderAndPay/src/components/Messages/index.js +5 -5
  527. package/_modules/themes/orderAndPay/src/components/OrderDetails/index.js +52 -52
  528. package/_modules/themes/orderAndPay/src/components/OrderDetails/styles.js +2 -2
  529. package/_modules/themes/orderAndPay/src/components/OrderTypeSelectorContent/index.js +13 -13
  530. package/_modules/themes/orderAndPay/src/components/OrdersOption/index.js +26 -26
  531. package/_modules/themes/orderAndPay/src/components/PaymentOptionCash/index.js +2 -2
  532. package/_modules/themes/orderAndPay/src/components/PaymentOptions/index.js +22 -22
  533. package/_modules/themes/orderAndPay/src/components/ProductForm/index.js +18 -18
  534. package/_modules/themes/orderAndPay/src/components/ProductItemAccordion/index.js +2 -2
  535. package/_modules/themes/orderAndPay/src/components/ProductOptionSubOption/index.js +2 -2
  536. package/_modules/themes/orderAndPay/src/components/SearchBar/index.js +2 -2
  537. package/_modules/themes/orderAndPay/src/components/SearchBar/styles.js +6 -6
  538. package/_modules/themes/orderAndPay/src/components/SignUpForm/index.js +19 -19
  539. package/_modules/themes/orderAndPay/src/components/SingleProductCard/index.js +4 -4
  540. package/_modules/themes/orderAndPay/src/components/UpsellingPage/index.js +1 -1
  541. package/_modules/themes/orderAndPay/src/components/UserDetails/styles.js +2 -2
  542. package/_modules/themes/orderAndPay/src/components/UserFormDetails/index.js +9 -9
  543. package/_modules/themes/orderAndPay/src/components/UserPopover/index.js +4 -4
  544. package/_modules/themes/orderAndPay/src/components/VerticalOrdersLayout/index.js +3 -3
  545. package/_modules/themes/pwa/src/components/AddressDetails/index.js +2 -2
  546. package/_modules/themes/pwa/src/components/AddressForm/index.js +29 -29
  547. package/_modules/themes/pwa/src/components/AddressList/index.js +11 -11
  548. package/_modules/themes/pwa/src/components/AppleLogin/index.js +4 -4
  549. package/_modules/themes/pwa/src/components/AutoScroll/index.js +2 -2
  550. package/_modules/themes/pwa/src/components/BusinessBasicInformation/index.js +11 -11
  551. package/_modules/themes/pwa/src/components/BusinessController/index.js +11 -11
  552. package/_modules/themes/pwa/src/components/BusinessInformation/index.js +1 -1
  553. package/_modules/themes/pwa/src/components/BusinessProductsList/index.js +1 -1
  554. package/_modules/themes/pwa/src/components/BusinessProductsListing/index.js +28 -28
  555. package/_modules/themes/pwa/src/components/BusinessReviews/index.js +2 -2
  556. package/_modules/themes/pwa/src/components/BusinessesListing/index.js +15 -15
  557. package/_modules/themes/pwa/src/components/BusinessesListing/styles.js +2 -2
  558. package/_modules/themes/pwa/src/components/Cart/index.js +10 -10
  559. package/_modules/themes/pwa/src/components/CartContent/index.js +2 -2
  560. package/_modules/themes/pwa/src/components/Checkout/index.js +20 -20
  561. package/_modules/themes/pwa/src/components/DriverTips/index.js +2 -2
  562. package/_modules/themes/pwa/src/components/ForgotPasswordForm/index.js +2 -2
  563. package/_modules/themes/pwa/src/components/Header/index.js +28 -28
  564. package/_modules/themes/pwa/src/components/HeaderOption/index.js +1 -1
  565. package/_modules/themes/pwa/src/components/HomeHero/index.js +16 -16
  566. package/_modules/themes/pwa/src/components/HorizontalOrdersLayout/index.js +4 -4
  567. package/_modules/themes/pwa/src/components/InputPhoneNumber/index.js +2 -2
  568. package/_modules/themes/pwa/src/components/LastOrders/index.js +7 -7
  569. package/_modules/themes/pwa/src/components/LoginForm/index.js +12 -12
  570. package/_modules/themes/pwa/src/components/Messages/index.js +4 -4
  571. package/_modules/themes/pwa/src/components/MomentContent/index.js +4 -4
  572. package/_modules/themes/pwa/src/components/MomentControl/index.js +2 -2
  573. package/_modules/themes/pwa/src/components/MomentPopover/index.js +2 -2
  574. package/_modules/themes/pwa/src/components/NavigationBar/index.js +1 -1
  575. package/_modules/themes/pwa/src/components/OrderDetails/index.js +58 -58
  576. package/_modules/themes/pwa/src/components/OrderDetails/styles.js +2 -2
  577. package/_modules/themes/pwa/src/components/OrderTypeSelectorContent/index.js +7 -7
  578. package/_modules/themes/pwa/src/components/OrderTypeSelectorHeader/index.js +1 -1
  579. package/_modules/themes/pwa/src/components/OrdersOption/index.js +26 -26
  580. package/_modules/themes/pwa/src/components/PaymentOptionCash/index.js +2 -2
  581. package/_modules/themes/pwa/src/components/PaymentOptionStripe/index.js +6 -6
  582. package/_modules/themes/pwa/src/components/PaymentOptions/index.js +27 -27
  583. package/_modules/themes/pwa/src/components/ProductForm/index.js +15 -15
  584. package/_modules/themes/pwa/src/components/ReviewOrder/index.js +3 -3
  585. package/_modules/themes/pwa/src/components/SearchBar/index.js +2 -2
  586. package/_modules/themes/pwa/src/components/SearchBar/styles.js +6 -6
  587. package/_modules/themes/pwa/src/components/SidebarMenu/index.js +5 -5
  588. package/_modules/themes/pwa/src/components/SignUpForm/index.js +16 -16
  589. package/_modules/themes/pwa/src/components/SingleProductCard/index.js +4 -4
  590. package/_modules/themes/pwa/src/components/UpsellingPage/index.js +1 -1
  591. package/_modules/themes/pwa/src/components/UserFormDetails/index.js +9 -9
  592. package/_modules/themes/pwa/src/components/UserPopover/index.js +4 -4
  593. package/_modules/themes/pwa/src/components/UserProfile/index.js +5 -5
  594. package/_modules/themes/pwa/src/components/VerticalOrdersLayout/index.js +4 -4
  595. package/_modules/themes/seven/src/components/AddressForm/index.js +29 -29
  596. package/_modules/themes/seven/src/components/AddressList/index.js +11 -11
  597. package/_modules/themes/seven/src/components/BusinessBasicInformation/index.js +1 -1
  598. package/_modules/themes/seven/src/components/BusinessController/index.js +6 -6
  599. package/_modules/themes/seven/src/components/BusinessInformation/index.js +7 -7
  600. package/_modules/themes/seven/src/components/BusinessInformation/styles.js +2 -2
  601. package/_modules/themes/seven/src/components/BusinessItemAccordion/index.js +4 -4
  602. package/_modules/themes/seven/src/components/BusinessProductsCategories/index.js +1 -1
  603. package/_modules/themes/seven/src/components/BusinessProductsList/index.js +3 -3
  604. package/_modules/themes/seven/src/components/BusinessProductsListing/index.js +16 -16
  605. package/_modules/themes/seven/src/components/BusinessesListing/index.js +13 -13
  606. package/_modules/themes/seven/src/components/BusinessesListing/styles.js +2 -2
  607. package/_modules/themes/seven/src/components/BusinessesMap/index.js +3 -3
  608. package/_modules/themes/seven/src/components/Cart/index.js +6 -6
  609. package/_modules/themes/seven/src/components/CartContent/index.js +2 -2
  610. package/_modules/themes/seven/src/components/Checkout/index.js +21 -21
  611. package/_modules/themes/seven/src/components/DriverTips/index.js +2 -2
  612. package/_modules/themes/seven/src/components/ForgotPasswordForm/index.js +2 -2
  613. package/_modules/themes/seven/src/components/Header/index.js +16 -16
  614. package/_modules/themes/seven/src/components/HeaderOption/index.js +1 -1
  615. package/_modules/themes/seven/src/components/HomeHero/index.js +17 -17
  616. package/_modules/themes/seven/src/components/HorizontalOrdersLayout/index.js +6 -6
  617. package/_modules/themes/seven/src/components/InputPhoneNumber/index.js +2 -2
  618. package/_modules/themes/seven/src/components/LanguageSelector/index.js +1 -1
  619. package/_modules/themes/seven/src/components/LoginForm/index.js +14 -14
  620. package/_modules/themes/seven/src/components/MomentContent/index.js +4 -4
  621. package/_modules/themes/seven/src/components/MomentControl/index.js +2 -2
  622. package/_modules/themes/seven/src/components/OrderDetails/index.js +48 -48
  623. package/_modules/themes/seven/src/components/OrderDetails/styles.js +2 -2
  624. package/_modules/themes/seven/src/components/OrdersOption/index.js +26 -26
  625. package/_modules/themes/seven/src/components/PaymentOptionCash/index.js +1 -1
  626. package/_modules/themes/seven/src/components/PaymentOptions/index.js +20 -20
  627. package/_modules/themes/seven/src/components/ProductForm/index.js +20 -20
  628. package/_modules/themes/seven/src/components/ProductForm/productForm.js +6 -6
  629. package/_modules/themes/seven/src/components/SignUpForm/index.js +19 -19
  630. package/_modules/themes/seven/src/components/SingleProductCard/index.js +4 -4
  631. package/_modules/themes/seven/src/components/UserFormDetails/index.js +10 -10
  632. package/_modules/themes/seven/src/components/UserPopover/index.js +4 -4
  633. package/_modules/themes/seven/src/components/UserProfileForm/index.js +3 -3
  634. package/_modules/themes/seven/src/components/VerticalOrdersLayout/index.js +3 -3
  635. package/_modules/themes/six/src/components/AddressDetails/index.js +4 -4
  636. package/_modules/themes/six/src/components/AddressForm/index.js +30 -30
  637. package/_modules/themes/six/src/components/AddressList/index.js +11 -11
  638. package/_modules/themes/six/src/components/AddressesPopover/index.js +2 -2
  639. package/_modules/themes/six/src/components/AppleLogin/index.js +4 -4
  640. package/_modules/themes/six/src/components/BusinessBasicInformation/index.js +9 -9
  641. package/_modules/themes/six/src/components/BusinessController/index.js +17 -17
  642. package/_modules/themes/six/src/components/BusinessController/styles.js +10 -10
  643. package/_modules/themes/six/src/components/BusinessInformation/index.js +3 -3
  644. package/_modules/themes/six/src/components/BusinessItemAccordion/index.js +4 -4
  645. package/_modules/themes/six/src/components/BusinessProductsList/index.js +1 -1
  646. package/_modules/themes/six/src/components/BusinessProductsListing/SearchProducts/index.js +5 -5
  647. package/_modules/themes/six/src/components/BusinessProductsListing/index.js +25 -25
  648. package/_modules/themes/six/src/components/BusinessesListing/index.js +10 -10
  649. package/_modules/themes/six/src/components/BusinessesListing/styles.js +2 -2
  650. package/_modules/themes/six/src/components/BusinessesMap/index.js +3 -3
  651. package/_modules/themes/six/src/components/Cart/index.js +9 -9
  652. package/_modules/themes/six/src/components/CartContent/index.js +2 -2
  653. package/_modules/themes/six/src/components/CartInfo/index.js +5 -5
  654. package/_modules/themes/six/src/components/Checkout/index.js +14 -14
  655. package/_modules/themes/six/src/components/DriverTips/index.js +2 -2
  656. package/_modules/themes/six/src/components/ForgotPasswordForm/index.js +2 -2
  657. package/_modules/themes/six/src/components/Header/index.js +23 -23
  658. package/_modules/themes/six/src/components/HeaderOption/index.js +1 -1
  659. package/_modules/themes/six/src/components/HomeHero/index.js +3 -3
  660. package/_modules/themes/six/src/components/LanguageSelector/index.js +1 -1
  661. package/_modules/themes/six/src/components/LoginForm/index.js +18 -18
  662. package/_modules/themes/six/src/components/LogoutButton/index.js +2 -2
  663. package/_modules/themes/six/src/components/MomentContent/index.js +4 -4
  664. package/_modules/themes/six/src/components/MomentControl/index.js +4 -4
  665. package/_modules/themes/six/src/components/NotFoundSource/index.js +2 -2
  666. package/_modules/themes/six/src/components/OrderDetails/index.js +50 -50
  667. package/_modules/themes/six/src/components/OrderDetails/styles.js +2 -2
  668. package/_modules/themes/six/src/components/OrderTypeSelectorHeader/index.js +1 -1
  669. package/_modules/themes/six/src/components/PaymentOptionCash/index.js +1 -1
  670. package/_modules/themes/six/src/components/PaymentOptions/index.js +20 -20
  671. package/_modules/themes/six/src/components/ProductForm/index.js +18 -18
  672. package/_modules/themes/six/src/components/ProductOptionSubOption/index.js +2 -2
  673. package/_modules/themes/six/src/components/SearchBar/styles.js +14 -14
  674. package/_modules/themes/six/src/components/SidebarMenu/index.js +6 -6
  675. package/_modules/themes/six/src/components/SignUpForm/index.js +23 -23
  676. package/_modules/themes/six/src/components/SingleProductCard/index.js +4 -4
  677. package/_modules/themes/six/src/components/UpsellingPage/index.js +1 -1
  678. package/_modules/themes/six/src/components/UserFormDetails/index.js +9 -9
  679. package/_modules/themes/three/src/components/AddressDetails/index.js +4 -4
  680. package/_modules/themes/three/src/components/AddressForm/index.js +30 -30
  681. package/_modules/themes/three/src/components/AddressList/index.js +11 -11
  682. package/_modules/themes/three/src/components/AddressesPopover/index.js +2 -2
  683. package/_modules/themes/three/src/components/BusinessBasicInformation/index.js +5 -5
  684. package/_modules/themes/three/src/components/BusinessController/index.js +4 -4
  685. package/_modules/themes/three/src/components/BusinessItemAccordion/index.js +4 -4
  686. package/_modules/themes/three/src/components/BusinessProductsList/index.js +1 -1
  687. package/_modules/themes/three/src/components/BusinessProductsListing/index.js +9 -9
  688. package/_modules/themes/three/src/components/BusinessesListing/index.js +9 -9
  689. package/_modules/themes/three/src/components/BusinessesListing/styles.js +2 -2
  690. package/_modules/themes/three/src/components/Cart/index.js +10 -10
  691. package/_modules/themes/three/src/components/CartContent/index.js +2 -2
  692. package/_modules/themes/three/src/components/Checkout/index.js +33 -33
  693. package/_modules/themes/three/src/components/DriverTips/index.js +3 -3
  694. package/_modules/themes/three/src/components/ForgotPasswordForm/index.js +2 -2
  695. package/_modules/themes/three/src/components/Header/index.js +22 -22
  696. package/_modules/themes/three/src/components/HeaderOption/index.js +1 -1
  697. package/_modules/themes/three/src/components/HomeHero/index.js +6 -6
  698. package/_modules/themes/three/src/components/HorizontalOrdersLayout/index.js +4 -4
  699. package/_modules/themes/three/src/components/LastOrders/index.js +7 -7
  700. package/_modules/themes/three/src/components/LoginForm/index.js +16 -16
  701. package/_modules/themes/three/src/components/MomentContent/index.js +4 -4
  702. package/_modules/themes/three/src/components/MomentControl/index.js +2 -2
  703. package/_modules/themes/three/src/components/MomentPopover/index.js +2 -2
  704. package/_modules/themes/three/src/components/OrderDetails/index.js +33 -33
  705. package/_modules/themes/three/src/components/OrderDetails/styles.js +2 -2
  706. package/_modules/themes/three/src/components/OrdersOption/index.js +2 -2
  707. package/_modules/themes/three/src/components/PaymentOptions/index.js +20 -20
  708. package/_modules/themes/three/src/components/ProductForm/index.js +7 -7
  709. package/_modules/themes/three/src/components/SignUpForm/index.js +20 -20
  710. package/_modules/themes/three/src/components/SingleProductCard/index.js +4 -4
  711. package/_modules/themes/three/src/components/UpsellingPage/index.js +1 -1
  712. package/_modules/themes/three/src/components/VerticalOrdersLayout/index.js +3 -3
  713. package/_modules/themes/three/src/styles/Select/index.js +1 -1
  714. package/_modules/themes/two/src/components/AddressDetails/index.js +5 -5
  715. package/_modules/themes/two/src/components/AddressesPopover/index.js +2 -2
  716. package/_modules/themes/two/src/components/AppleLogin/index.js +4 -4
  717. package/_modules/themes/two/src/components/AutoScroll/index.js +4 -4
  718. package/_modules/themes/two/src/components/BusinessBasicInformation/index.js +4 -4
  719. package/_modules/themes/two/src/components/BusinessController/index.js +4 -4
  720. package/_modules/themes/two/src/components/BusinessProductsList/index.js +1 -1
  721. package/_modules/themes/two/src/components/BusinessProductsListing/index.js +11 -11
  722. package/_modules/themes/two/src/components/BusinessTypeFilter/index.js +2 -2
  723. package/_modules/themes/two/src/components/BusinessesListing/index.js +8 -8
  724. package/_modules/themes/two/src/components/BusinessesListing/styles.js +2 -2
  725. package/_modules/themes/two/src/components/Cart/index.js +10 -10
  726. package/_modules/themes/two/src/components/CartContent/index.js +2 -2
  727. package/_modules/themes/two/src/components/Checkout/index.js +32 -32
  728. package/_modules/themes/two/src/components/DriverTips/index.js +3 -3
  729. package/_modules/themes/two/src/components/Header/index.js +22 -22
  730. package/_modules/themes/two/src/components/HomeHero/index.js +7 -7
  731. package/_modules/themes/two/src/components/HorizontalOrdersLayout/index.js +6 -6
  732. package/_modules/themes/two/src/components/LanguageSelector/index.js +1 -1
  733. package/_modules/themes/two/src/components/LastOrders/index.js +7 -7
  734. package/_modules/themes/two/src/components/LoginForm/index.js +13 -13
  735. package/_modules/themes/two/src/components/MomentContent/index.js +3 -3
  736. package/_modules/themes/two/src/components/MomentControl/index.js +5 -5
  737. package/_modules/themes/two/src/components/MomentPopover/index.js +2 -2
  738. package/_modules/themes/two/src/components/OrderDetails/index.js +30 -30
  739. package/_modules/themes/two/src/components/OrderDetails/styles.js +2 -2
  740. package/_modules/themes/two/src/components/OrdersOption/index.js +2 -2
  741. package/_modules/themes/two/src/components/PaymentOptions/index.js +20 -20
  742. package/_modules/themes/two/src/components/ProductForm/index.js +7 -7
  743. package/_modules/themes/two/src/components/ProductOptionSubOption/index.js +2 -2
  744. package/_modules/themes/two/src/components/SearchBar/index.js +2 -2
  745. package/_modules/themes/two/src/components/SearchBar/styles.js +4 -4
  746. package/_modules/themes/two/src/components/SignUpForm/index.js +19 -19
  747. package/_modules/themes/two/src/components/SingleProductCard/index.js +2 -2
  748. package/_modules/themes/two/src/components/UserProfileForm/index.js +3 -3
  749. package/_modules/themes/two/src/components/VerticalOrdersLayout/index.js +3 -3
  750. package/_modules/themes/wow/src/components/ActiveOrdersLayout/index.js +4 -4
  751. package/_modules/themes/wow/src/components/AddressForm/index.js +28 -28
  752. package/_modules/themes/wow/src/components/AddressList/index.js +9 -9
  753. package/_modules/themes/wow/src/components/AutoScroll/index.js +4 -4
  754. package/_modules/themes/wow/src/components/BusinessBasicInformation/index.js +4 -4
  755. package/_modules/themes/wow/src/components/BusinessController/index.js +4 -4
  756. package/_modules/themes/wow/src/components/BusinessItemAccordion/index.js +4 -4
  757. package/_modules/themes/wow/src/components/BusinessProductsList/index.js +1 -1
  758. package/_modules/themes/wow/src/components/BusinessProductsListing/index.js +8 -8
  759. package/_modules/themes/wow/src/components/BusinessesListing/index.js +2 -2
  760. package/_modules/themes/wow/src/components/Cart/index.js +4 -4
  761. package/_modules/themes/wow/src/components/CartContent/index.js +2 -2
  762. package/_modules/themes/wow/src/components/Checkout/index.js +14 -14
  763. package/_modules/themes/wow/src/components/CheckoutBill/index.js +1 -1
  764. package/_modules/themes/wow/src/components/CompletedOrder/index.js +4 -4
  765. package/_modules/themes/wow/src/components/DeliveryDetails/index.js +3 -3
  766. package/_modules/themes/wow/src/components/DiscountedBusinesses/index.js +2 -2
  767. package/_modules/themes/wow/src/components/Footer/index.js +5 -5
  768. package/_modules/themes/wow/src/components/Header/index.js +10 -10
  769. package/_modules/themes/wow/src/components/HomeHero/index.js +6 -6
  770. package/_modules/themes/wow/src/components/LoginForm/index.js +7 -7
  771. package/_modules/themes/wow/src/components/OrderDetails/index.js +18 -18
  772. package/_modules/themes/wow/src/components/OrderDetails/styles.js +2 -2
  773. package/_modules/themes/wow/src/components/OrderHelp/index.js +3 -3
  774. package/_modules/themes/wow/src/components/OrderTypeSelectorHeader/index.js +2 -2
  775. package/_modules/themes/wow/src/components/OrdersOption/index.js +2 -2
  776. package/_modules/themes/wow/src/components/OurBusinesses/index.js +2 -2
  777. package/_modules/themes/wow/src/components/PaymentOptions/index.js +3 -3
  778. package/_modules/themes/wow/src/components/PreOrdersLayout/index.js +4 -4
  779. package/_modules/themes/wow/src/components/PreorderConfirm/index.js +2 -2
  780. package/_modules/themes/wow/src/components/PreviousOrdersLayout/index.js +4 -4
  781. package/_modules/themes/wow/src/components/ProductForm/index.js +3 -3
  782. package/_modules/themes/wow/src/components/ProductOptionSubOption/index.js +2 -2
  783. package/_modules/themes/wow/src/components/ProfileBusinesBasicInformation/index.js +6 -6
  784. package/_modules/themes/wow/src/components/ProfileBusinesses/index.js +4 -4
  785. package/_modules/themes/wow/src/components/ProfileEdit/index.js +3 -3
  786. package/_modules/themes/wow/src/components/PromotionsBusinesses/index.js +2 -2
  787. package/_modules/themes/wow/src/components/ReviewOrder/index.js +3 -3
  788. package/_modules/themes/wow/src/components/SearchBar/index.js +2 -2
  789. package/_modules/themes/wow/src/components/SearchBar/styles.js +6 -6
  790. package/_modules/themes/wow/src/components/SidebarMenu/index.js +5 -5
  791. package/_modules/themes/wow/src/components/SignUpForm/index.js +13 -13
  792. package/_modules/themes/wow/src/components/SingleProductCard/index.js +4 -4
  793. package/_modules/themes/wow/src/components/SpecificBusiness/index.js +3 -3
  794. package/_modules/themes/wow/src/components/UserFormDetails/index.js +9 -9
  795. package/_modules/themes/wow/src/components/UserPopover/index.js +7 -7
  796. package/_modules/themes/wow/src/components/UserProfile/index.js +2 -2
  797. package/_modules/themes/wow/src/components/UserProfileDropDown/index.js +2 -2
  798. package/_modules/utils/index.js +48 -48
  799. package/package.json +2 -2
  800. package/src/themes/five/src/components/BusinessPreorder/styles.js +7 -4
  801. package/src/themes/five/src/components/ServiceForm/index.js +86 -72
  802. package/_bundles/ordering-ui.e758aec40c3bf292cadb.js +0 -2
  803. /package/_bundles/{0.ordering-ui.e758aec40c3bf292cadb.js → 0.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  804. /package/_bundles/{1.ordering-ui.e758aec40c3bf292cadb.js → 1.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  805. /package/_bundles/{2.ordering-ui.e758aec40c3bf292cadb.js → 2.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  806. /package/_bundles/{4.ordering-ui.e758aec40c3bf292cadb.js → 4.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  807. /package/_bundles/{5.ordering-ui.e758aec40c3bf292cadb.js → 5.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  808. /package/_bundles/{6.ordering-ui.e758aec40c3bf292cadb.js → 6.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  809. /package/_bundles/{7.ordering-ui.e758aec40c3bf292cadb.js.LICENSE.txt → 7.ordering-ui.8c57feb440eaccd495a4.js.LICENSE.txt} +0 -0
  810. /package/_bundles/{8.ordering-ui.e758aec40c3bf292cadb.js → 8.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  811. /package/_bundles/{9.ordering-ui.e758aec40c3bf292cadb.js → 9.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  812. /package/_bundles/{ordering-ui.e758aec40c3bf292cadb.js.LICENSE.txt → ordering-ui.8c57feb440eaccd495a4.js.LICENSE.txt} +0 -0
@@ -43,7 +43,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
43
43
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
44
44
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
45
45
  var UserFormDetailsUI = function UserFormDetailsUI(props) {
46
- var _formState$result, _formState$result2, _formState$result2$re, _formState$result2$re2, _formState$result2$re3, _formState$changes$se, _formState$changes, _formState$changes$se2, _formState$changes$se3, _user$settings, _user$settings$email, _formState$result3, _formState$result4, _formState$result4$re, _formState$result4$re2, _formState$result4$re3, _formState$changes$se4, _formState$changes2, _formState$changes2$s, _formState$changes2$s2, _user$settings2, _user$settings2$sms, _formState$result5, _formState$result6, _formState$result6$re, _formState$result6$re2, _formState$result6$re3, _formState$changes$se5, _formState$changes3, _formState$changes3$s, _formState$changes3$s2, _user$settings3, _user$settings3$notif, _theme$profile, _theme$profile$compon, _theme$profile$compon2, _theme$profile2, _theme$profile2$compo, _theme$profile2$compo2, _theme$profile3, _theme$profile3$compo, _theme$profile3$compo2, _theme$profile4, _theme$profile4$compo, _theme$profile4$compo2, _theme$profile5, _theme$profile5$compo, _theme$profile5$compo2, _validationFields$fie, _validationFields$fie2, _validationFields$fie3, _validationFields$fie4, _validationFields$fie5, _validationFields$fie6, _validationFields$fie7, _validationFields$fie8, _configs$verification3, _props$beforeElements, _props$beforeComponen, _props$beforeMidEleme, _props$beforeMidCompo, _validationFields$fie15, _props$afterMidElemen, _props$afterMidCompon, _props$afterComponent, _props$afterElements;
46
+ var _formState$result, _formState$result2, _formState$changes$se, _formState$changes, _user$settings, _formState$result3, _formState$result4, _formState$changes$se2, _formState$changes2, _user$settings2, _formState$result5, _formState$result6, _formState$changes$se3, _formState$changes3, _user$settings3, _theme$profile, _theme$profile2, _theme$profile3, _theme$profile4, _theme$profile5, _validationFields$fie, _validationFields$fie2, _validationFields$fie3, _validationFields$fie4, _configs$verification3, _props$beforeElements, _props$beforeComponen, _props$beforeMidEleme, _props$beforeMidCompo, _validationFields$fie7, _props$afterMidElemen, _props$afterMidCompon, _props$afterComponent, _props$afterElements;
47
47
  var isEdit = props.isEdit,
48
48
  formState = props.formState,
49
49
  onCancel = props.onCancel,
@@ -113,18 +113,18 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
113
113
  openCalendar = _useState14[0],
114
114
  setOpenCalendar = _useState14[1];
115
115
  var _useState15 = (0, _react.useState)({
116
- email: formState !== null && formState !== void 0 && (_formState$result = formState.result) !== null && _formState$result !== void 0 && _formState$result.result ? !!(formState !== null && formState !== void 0 && (_formState$result2 = formState.result) !== null && _formState$result2 !== void 0 && (_formState$result2$re = _formState$result2.result) !== null && _formState$result2$re !== void 0 && (_formState$result2$re2 = _formState$result2$re.settings) !== null && _formState$result2$re2 !== void 0 && (_formState$result2$re3 = _formState$result2$re2.email) !== null && _formState$result2$re3 !== void 0 && _formState$result2$re3.newsletter) : !!((_formState$changes$se = formState === null || formState === void 0 ? void 0 : (_formState$changes = formState.changes) === null || _formState$changes === void 0 ? void 0 : (_formState$changes$se2 = _formState$changes.settings) === null || _formState$changes$se2 === void 0 ? void 0 : (_formState$changes$se3 = _formState$changes$se2.email) === null || _formState$changes$se3 === void 0 ? void 0 : _formState$changes$se3.newsletter) !== null && _formState$changes$se !== void 0 ? _formState$changes$se : user && (user === null || user === void 0 ? void 0 : (_user$settings = user.settings) === null || _user$settings === void 0 ? void 0 : (_user$settings$email = _user$settings.email) === null || _user$settings$email === void 0 ? void 0 : _user$settings$email.newsletter)),
117
- sms: formState !== null && formState !== void 0 && (_formState$result3 = formState.result) !== null && _formState$result3 !== void 0 && _formState$result3.result ? !!(formState !== null && formState !== void 0 && (_formState$result4 = formState.result) !== null && _formState$result4 !== void 0 && (_formState$result4$re = _formState$result4.result) !== null && _formState$result4$re !== void 0 && (_formState$result4$re2 = _formState$result4$re.settings) !== null && _formState$result4$re2 !== void 0 && (_formState$result4$re3 = _formState$result4$re2.sms) !== null && _formState$result4$re3 !== void 0 && _formState$result4$re3.newsletter) : !!((_formState$changes$se4 = formState === null || formState === void 0 ? void 0 : (_formState$changes2 = formState.changes) === null || _formState$changes2 === void 0 ? void 0 : (_formState$changes2$s = _formState$changes2.settings) === null || _formState$changes2$s === void 0 ? void 0 : (_formState$changes2$s2 = _formState$changes2$s.sms) === null || _formState$changes2$s2 === void 0 ? void 0 : _formState$changes2$s2.newsletter) !== null && _formState$changes$se4 !== void 0 ? _formState$changes$se4 : user && (user === null || user === void 0 ? void 0 : (_user$settings2 = user.settings) === null || _user$settings2 === void 0 ? void 0 : (_user$settings2$sms = _user$settings2.sms) === null || _user$settings2$sms === void 0 ? void 0 : _user$settings2$sms.newsletter)),
118
- notification: formState !== null && formState !== void 0 && (_formState$result5 = formState.result) !== null && _formState$result5 !== void 0 && _formState$result5.result ? !!(formState !== null && formState !== void 0 && (_formState$result6 = formState.result) !== null && _formState$result6 !== void 0 && (_formState$result6$re = _formState$result6.result) !== null && _formState$result6$re !== void 0 && (_formState$result6$re2 = _formState$result6$re.settings) !== null && _formState$result6$re2 !== void 0 && (_formState$result6$re3 = _formState$result6$re2.notification) !== null && _formState$result6$re3 !== void 0 && _formState$result6$re3.newsletter) : !!((_formState$changes$se5 = formState === null || formState === void 0 ? void 0 : (_formState$changes3 = formState.changes) === null || _formState$changes3 === void 0 ? void 0 : (_formState$changes3$s = _formState$changes3.settings) === null || _formState$changes3$s === void 0 ? void 0 : (_formState$changes3$s2 = _formState$changes3$s.notification) === null || _formState$changes3$s2 === void 0 ? void 0 : _formState$changes3$s2.newsletter) !== null && _formState$changes$se5 !== void 0 ? _formState$changes$se5 : user && (user === null || user === void 0 ? void 0 : (_user$settings3 = user.settings) === null || _user$settings3 === void 0 ? void 0 : (_user$settings3$notif = _user$settings3.notification) === null || _user$settings3$notif === void 0 ? void 0 : _user$settings3$notif.newsletter))
116
+ email: formState !== null && formState !== void 0 && (_formState$result = formState.result) !== null && _formState$result !== void 0 && _formState$result.result ? !!(formState !== null && formState !== void 0 && (_formState$result2 = formState.result) !== null && _formState$result2 !== void 0 && (_formState$result2 = _formState$result2.result) !== null && _formState$result2 !== void 0 && (_formState$result2 = _formState$result2.settings) !== null && _formState$result2 !== void 0 && (_formState$result2 = _formState$result2.email) !== null && _formState$result2 !== void 0 && _formState$result2.newsletter) : !!((_formState$changes$se = formState === null || formState === void 0 || (_formState$changes = formState.changes) === null || _formState$changes === void 0 || (_formState$changes = _formState$changes.settings) === null || _formState$changes === void 0 || (_formState$changes = _formState$changes.email) === null || _formState$changes === void 0 ? void 0 : _formState$changes.newsletter) !== null && _formState$changes$se !== void 0 ? _formState$changes$se : user && (user === null || user === void 0 || (_user$settings = user.settings) === null || _user$settings === void 0 || (_user$settings = _user$settings.email) === null || _user$settings === void 0 ? void 0 : _user$settings.newsletter)),
117
+ sms: formState !== null && formState !== void 0 && (_formState$result3 = formState.result) !== null && _formState$result3 !== void 0 && _formState$result3.result ? !!(formState !== null && formState !== void 0 && (_formState$result4 = formState.result) !== null && _formState$result4 !== void 0 && (_formState$result4 = _formState$result4.result) !== null && _formState$result4 !== void 0 && (_formState$result4 = _formState$result4.settings) !== null && _formState$result4 !== void 0 && (_formState$result4 = _formState$result4.sms) !== null && _formState$result4 !== void 0 && _formState$result4.newsletter) : !!((_formState$changes$se2 = formState === null || formState === void 0 || (_formState$changes2 = formState.changes) === null || _formState$changes2 === void 0 || (_formState$changes2 = _formState$changes2.settings) === null || _formState$changes2 === void 0 || (_formState$changes2 = _formState$changes2.sms) === null || _formState$changes2 === void 0 ? void 0 : _formState$changes2.newsletter) !== null && _formState$changes$se2 !== void 0 ? _formState$changes$se2 : user && (user === null || user === void 0 || (_user$settings2 = user.settings) === null || _user$settings2 === void 0 || (_user$settings2 = _user$settings2.sms) === null || _user$settings2 === void 0 ? void 0 : _user$settings2.newsletter)),
118
+ notification: formState !== null && formState !== void 0 && (_formState$result5 = formState.result) !== null && _formState$result5 !== void 0 && _formState$result5.result ? !!(formState !== null && formState !== void 0 && (_formState$result6 = formState.result) !== null && _formState$result6 !== void 0 && (_formState$result6 = _formState$result6.result) !== null && _formState$result6 !== void 0 && (_formState$result6 = _formState$result6.settings) !== null && _formState$result6 !== void 0 && (_formState$result6 = _formState$result6.notification) !== null && _formState$result6 !== void 0 && _formState$result6.newsletter) : !!((_formState$changes$se3 = formState === null || formState === void 0 || (_formState$changes3 = formState.changes) === null || _formState$changes3 === void 0 || (_formState$changes3 = _formState$changes3.settings) === null || _formState$changes3 === void 0 || (_formState$changes3 = _formState$changes3.notification) === null || _formState$changes3 === void 0 ? void 0 : _formState$changes3.newsletter) !== null && _formState$changes$se3 !== void 0 ? _formState$changes$se3 : user && (user === null || user === void 0 || (_user$settings3 = user.settings) === null || _user$settings3 === void 0 || (_user$settings3 = _user$settings3.notification) === null || _user$settings3 === void 0 ? void 0 : _user$settings3.newsletter))
119
119
  }),
120
120
  _useState16 = _slicedToArray(_useState15, 2),
121
121
  notificationList = _useState16[0],
122
122
  setNotificationList = _useState16[1];
123
- var showCustomerCellphone = !(theme !== null && theme !== void 0 && (_theme$profile = theme.profile) !== null && _theme$profile !== void 0 && (_theme$profile$compon = _theme$profile.components) !== null && _theme$profile$compon !== void 0 && (_theme$profile$compon2 = _theme$profile$compon.cellphone) !== null && _theme$profile$compon2 !== void 0 && _theme$profile$compon2.hidden);
124
- var showCustomerPassword = !(theme !== null && theme !== void 0 && (_theme$profile2 = theme.profile) !== null && _theme$profile2 !== void 0 && (_theme$profile2$compo = _theme$profile2.components) !== null && _theme$profile2$compo !== void 0 && (_theme$profile2$compo2 = _theme$profile2$compo.password) !== null && _theme$profile2$compo2 !== void 0 && _theme$profile2$compo2.hidden);
125
- var showCustomerPromotions = !(theme !== null && theme !== void 0 && (_theme$profile3 = theme.profile) !== null && _theme$profile3 !== void 0 && (_theme$profile3$compo = _theme$profile3.components) !== null && _theme$profile3$compo !== void 0 && (_theme$profile3$compo2 = _theme$profile3$compo.promotions) !== null && _theme$profile3$compo2 !== void 0 && _theme$profile3$compo2.hidden);
126
- var showLangauges = !(theme !== null && theme !== void 0 && (_theme$profile4 = theme.profile) !== null && _theme$profile4 !== void 0 && (_theme$profile4$compo = _theme$profile4.components) !== null && _theme$profile4$compo !== void 0 && (_theme$profile4$compo2 = _theme$profile4$compo.languages) !== null && _theme$profile4$compo2 !== void 0 && _theme$profile4$compo2.hidden);
127
- var showNotifications = !(theme !== null && theme !== void 0 && (_theme$profile5 = theme.profile) !== null && _theme$profile5 !== void 0 && (_theme$profile5$compo = _theme$profile5.components) !== null && _theme$profile5$compo !== void 0 && (_theme$profile5$compo2 = _theme$profile5$compo.notification_settings) !== null && _theme$profile5$compo2 !== void 0 && _theme$profile5$compo2.hidden);
123
+ var showCustomerCellphone = !(theme !== null && theme !== void 0 && (_theme$profile = theme.profile) !== null && _theme$profile !== void 0 && (_theme$profile = _theme$profile.components) !== null && _theme$profile !== void 0 && (_theme$profile = _theme$profile.cellphone) !== null && _theme$profile !== void 0 && _theme$profile.hidden);
124
+ var showCustomerPassword = !(theme !== null && theme !== void 0 && (_theme$profile2 = theme.profile) !== null && _theme$profile2 !== void 0 && (_theme$profile2 = _theme$profile2.components) !== null && _theme$profile2 !== void 0 && (_theme$profile2 = _theme$profile2.password) !== null && _theme$profile2 !== void 0 && _theme$profile2.hidden);
125
+ var showCustomerPromotions = !(theme !== null && theme !== void 0 && (_theme$profile3 = theme.profile) !== null && _theme$profile3 !== void 0 && (_theme$profile3 = _theme$profile3.components) !== null && _theme$profile3 !== void 0 && (_theme$profile3 = _theme$profile3.promotions) !== null && _theme$profile3 !== void 0 && _theme$profile3.hidden);
126
+ var showLangauges = !(theme !== null && theme !== void 0 && (_theme$profile4 = theme.profile) !== null && _theme$profile4 !== void 0 && (_theme$profile4 = _theme$profile4.components) !== null && _theme$profile4 !== void 0 && (_theme$profile4 = _theme$profile4.languages) !== null && _theme$profile4 !== void 0 && _theme$profile4.hidden);
127
+ var showNotifications = !(theme !== null && theme !== void 0 && (_theme$profile5 = theme.profile) !== null && _theme$profile5 !== void 0 && (_theme$profile5 = _theme$profile5.components) !== null && _theme$profile5 !== void 0 && (_theme$profile5 = _theme$profile5.notification_settings) !== null && _theme$profile5 !== void 0 && _theme$profile5.hidden);
128
128
  var closeAlert = function closeAlert() {
129
129
  setAlertState({
130
130
  open: false,
@@ -140,12 +140,12 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
140
140
  var _user$session;
141
141
  login({
142
142
  user: user,
143
- token: user === null || user === void 0 ? void 0 : (_user$session = user.session) === null || _user$session === void 0 ? void 0 : _user$session.access_token
143
+ token: user === null || user === void 0 || (_user$session = user.session) === null || _user$session === void 0 ? void 0 : _user$session.access_token
144
144
  });
145
145
  handlePlaceOrderAsGuest && handlePlaceOrderAsGuest();
146
146
  };
147
- var showInputPhoneNumber = (_validationFields$fie = validationFields === null || validationFields === void 0 ? void 0 : (_validationFields$fie2 = validationFields.fields) === null || _validationFields$fie2 === void 0 ? void 0 : (_validationFields$fie3 = _validationFields$fie2.checkout) === null || _validationFields$fie3 === void 0 ? void 0 : (_validationFields$fie4 = _validationFields$fie3.cellphone) === null || _validationFields$fie4 === void 0 ? void 0 : _validationFields$fie4.enabled) !== null && _validationFields$fie !== void 0 ? _validationFields$fie : false;
148
- var showInputBirthday = (_validationFields$fie5 = validationFields === null || validationFields === void 0 ? void 0 : (_validationFields$fie6 = validationFields.fields) === null || _validationFields$fie6 === void 0 ? void 0 : (_validationFields$fie7 = _validationFields$fie6.checkout) === null || _validationFields$fie7 === void 0 ? void 0 : (_validationFields$fie8 = _validationFields$fie7.birthdate) === null || _validationFields$fie8 === void 0 ? void 0 : _validationFields$fie8.enabled) !== null && _validationFields$fie5 !== void 0 ? _validationFields$fie5 : false;
147
+ var showInputPhoneNumber = (_validationFields$fie = validationFields === null || validationFields === void 0 || (_validationFields$fie2 = validationFields.fields) === null || _validationFields$fie2 === void 0 || (_validationFields$fie2 = _validationFields$fie2.checkout) === null || _validationFields$fie2 === void 0 || (_validationFields$fie2 = _validationFields$fie2.cellphone) === null || _validationFields$fie2 === void 0 ? void 0 : _validationFields$fie2.enabled) !== null && _validationFields$fie !== void 0 ? _validationFields$fie : false;
148
+ var showInputBirthday = (_validationFields$fie3 = validationFields === null || validationFields === void 0 || (_validationFields$fie4 = validationFields.fields) === null || _validationFields$fie4 === void 0 || (_validationFields$fie4 = _validationFields$fie4.checkout) === null || _validationFields$fie4 === void 0 || (_validationFields$fie4 = _validationFields$fie4.birthdate) === null || _validationFields$fie4 === void 0 ? void 0 : _validationFields$fie4.enabled) !== null && _validationFields$fie3 !== void 0 ? _validationFields$fie3 : false;
149
149
  var setUserCellPhone = function setUserCellPhone() {
150
150
  var isEdit = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
151
151
  if (userPhoneNumber && !userPhoneNumber.includes('null') && !isEdit) {
@@ -172,9 +172,9 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
172
172
  setUserPhoneNumber((user === null || user === void 0 ? void 0 : user.cellphone) || '');
173
173
  };
174
174
  var onSubmit = function onSubmit() {
175
- var _validationFields$fie9, _validationFields$fie10, _validationFields$fie11, _validationFields$fie12, _validationFields$fie13, _validationFields$fie14, _configs$verification;
175
+ var _validationFields$fie5, _validationFields$fie6, _configs$verification;
176
176
  var isPhoneNumberValid = userPhoneNumber ? isValidPhoneNumber : true;
177
- if (!userPhoneNumber && (validationFields !== null && validationFields !== void 0 && (_validationFields$fie9 = validationFields.fields) !== null && _validationFields$fie9 !== void 0 && (_validationFields$fie10 = _validationFields$fie9.checkout) !== null && _validationFields$fie10 !== void 0 && (_validationFields$fie11 = _validationFields$fie10.cellphone) !== null && _validationFields$fie11 !== void 0 && _validationFields$fie11.enabled && validationFields !== null && validationFields !== void 0 && (_validationFields$fie12 = validationFields.fields) !== null && _validationFields$fie12 !== void 0 && (_validationFields$fie13 = _validationFields$fie12.checkout) !== null && _validationFields$fie13 !== void 0 && (_validationFields$fie14 = _validationFields$fie13.cellphone) !== null && _validationFields$fie14 !== void 0 && _validationFields$fie14.required || (configs === null || configs === void 0 ? void 0 : (_configs$verification = configs.verification_phone_required) === null || _configs$verification === void 0 ? void 0 : _configs$verification.value) === '1')) {
177
+ if (!userPhoneNumber && (validationFields !== null && validationFields !== void 0 && (_validationFields$fie5 = validationFields.fields) !== null && _validationFields$fie5 !== void 0 && (_validationFields$fie5 = _validationFields$fie5.checkout) !== null && _validationFields$fie5 !== void 0 && (_validationFields$fie5 = _validationFields$fie5.cellphone) !== null && _validationFields$fie5 !== void 0 && _validationFields$fie5.enabled && validationFields !== null && validationFields !== void 0 && (_validationFields$fie6 = validationFields.fields) !== null && _validationFields$fie6 !== void 0 && (_validationFields$fie6 = _validationFields$fie6.checkout) !== null && _validationFields$fie6 !== void 0 && (_validationFields$fie6 = _validationFields$fie6.cellphone) !== null && _validationFields$fie6 !== void 0 && _validationFields$fie6.required || (configs === null || configs === void 0 || (_configs$verification = configs.verification_phone_required) === null || _configs$verification === void 0 ? void 0 : _configs$verification.value) === '1')) {
178
178
  setAlertState({
179
179
  open: true,
180
180
  content: [t('VALIDATION_ERROR_MOBILE_PHONE_REQUIRED', 'The field Phone Number is required.')]
@@ -253,8 +253,8 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
253
253
  }
254
254
  };
255
255
  var showFieldWithTheme = function showFieldWithTheme(name) {
256
- var _theme$profile6, _theme$profile6$compo, _theme$profile6$compo2;
257
- return !(theme !== null && theme !== void 0 && (_theme$profile6 = theme.profile) !== null && _theme$profile6 !== void 0 && (_theme$profile6$compo = _theme$profile6.components) !== null && _theme$profile6$compo !== void 0 && (_theme$profile6$compo2 = _theme$profile6$compo[name]) !== null && _theme$profile6$compo2 !== void 0 && _theme$profile6$compo2.hidden);
256
+ var _theme$profile6;
257
+ return !(theme !== null && theme !== void 0 && (_theme$profile6 = theme.profile) !== null && _theme$profile6 !== void 0 && (_theme$profile6 = _theme$profile6.components) !== null && _theme$profile6 !== void 0 && (_theme$profile6 = _theme$profile6[name]) !== null && _theme$profile6 !== void 0 && _theme$profile6.hidden);
258
258
  };
259
259
  var _handleChangeDate = function _handleChangeDate(date) {
260
260
  setBirthdate(date);
@@ -307,14 +307,14 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
307
307
  }, [user, isEdit]);
308
308
  (0, _react.useEffect)(function () {
309
309
  if (!validationFields.loading && emailInput.current) {
310
- var _formState$result9, _formState$result10, _formState$result10$r, _ref, _formState$changes$em, _formState$changes8;
311
- formMethods.setValue('email', formState !== null && formState !== void 0 && (_formState$result9 = formState.result) !== null && _formState$result9 !== void 0 && _formState$result9.result ? formState === null || formState === void 0 ? void 0 : (_formState$result10 = formState.result) === null || _formState$result10 === void 0 ? void 0 : (_formState$result10$r = _formState$result10.result) === null || _formState$result10$r === void 0 ? void 0 : _formState$result10$r.email : (_ref = (_formState$changes$em = formState === null || formState === void 0 ? void 0 : (_formState$changes8 = formState.changes) === null || _formState$changes8 === void 0 ? void 0 : _formState$changes8.email) !== null && _formState$changes$em !== void 0 ? _formState$changes$em : user && (user === null || user === void 0 ? void 0 : user.email)) !== null && _ref !== void 0 ? _ref : '');
310
+ var _formState$result9, _formState$result10, _ref, _formState$changes$em, _formState$changes8;
311
+ formMethods.setValue('email', formState !== null && formState !== void 0 && (_formState$result9 = formState.result) !== null && _formState$result9 !== void 0 && _formState$result9.result ? formState === null || formState === void 0 || (_formState$result10 = formState.result) === null || _formState$result10 === void 0 || (_formState$result10 = _formState$result10.result) === null || _formState$result10 === void 0 ? void 0 : _formState$result10.email : (_ref = (_formState$changes$em = formState === null || formState === void 0 || (_formState$changes8 = formState.changes) === null || _formState$changes8 === void 0 ? void 0 : _formState$changes8.email) !== null && _formState$changes$em !== void 0 ? _formState$changes$em : user && (user === null || user === void 0 ? void 0 : user.email)) !== null && _ref !== void 0 ? _ref : '');
312
312
  }
313
313
  }, [validationFields, emailInput.current]);
314
314
  (0, _react.useEffect)(function () {
315
315
  if (!validationFields.loading && birthdate) {
316
- var _formState$result11, _formState$result12, _formState$result12$r, _ref2, _formState$changes$bi, _formState$changes9;
317
- formMethods.setValue('birthdate', formState !== null && formState !== void 0 && (_formState$result11 = formState.result) !== null && _formState$result11 !== void 0 && _formState$result11.result ? formState === null || formState === void 0 ? void 0 : (_formState$result12 = formState.result) === null || _formState$result12 === void 0 ? void 0 : (_formState$result12$r = _formState$result12.result) === null || _formState$result12$r === void 0 ? void 0 : _formState$result12$r.birthdate : (_ref2 = (_formState$changes$bi = formState === null || formState === void 0 ? void 0 : (_formState$changes9 = formState.changes) === null || _formState$changes9 === void 0 ? void 0 : _formState$changes9.birthdate) !== null && _formState$changes$bi !== void 0 ? _formState$changes$bi : user && (user === null || user === void 0 ? void 0 : user.birthdate)) !== null && _ref2 !== void 0 ? _ref2 : '');
316
+ var _formState$result11, _formState$result12, _ref2, _formState$changes$bi, _formState$changes9;
317
+ formMethods.setValue('birthdate', formState !== null && formState !== void 0 && (_formState$result11 = formState.result) !== null && _formState$result11 !== void 0 && _formState$result11.result ? formState === null || formState === void 0 || (_formState$result12 = formState.result) === null || _formState$result12 === void 0 || (_formState$result12 = _formState$result12.result) === null || _formState$result12 === void 0 ? void 0 : _formState$result12.birthdate : (_ref2 = (_formState$changes$bi = formState === null || formState === void 0 || (_formState$changes9 = formState.changes) === null || _formState$changes9 === void 0 ? void 0 : _formState$changes9.birthdate) !== null && _formState$changes$bi !== void 0 ? _formState$changes$bi : user && (user === null || user === void 0 ? void 0 : user.birthdate)) !== null && _ref2 !== void 0 ? _ref2 : '');
318
318
  }
319
319
  }, [validationFields, birthdate]);
320
320
  (0, _react.useEffect)(function () {
@@ -329,10 +329,10 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
329
329
  }, [formMethods]);
330
330
  (0, _react.useEffect)(function () {
331
331
  var _formState$changes10, _formState$changes11, _configs$verification2;
332
- if (isChanged && userPhoneNumber && isValidPhoneNumber && formState !== null && formState !== void 0 && (_formState$changes10 = formState.changes) !== null && _formState$changes10 !== void 0 && _formState$changes10.country_phone_code && formState !== null && formState !== void 0 && (_formState$changes11 = formState.changes) !== null && _formState$changes11 !== void 0 && _formState$changes11.cellphone && (configs === null || configs === void 0 ? void 0 : (_configs$verification2 = configs.verification_phone_required) === null || _configs$verification2 === void 0 ? void 0 : _configs$verification2.value) === '1') {
332
+ if (isChanged && userPhoneNumber && isValidPhoneNumber && formState !== null && formState !== void 0 && (_formState$changes10 = formState.changes) !== null && _formState$changes10 !== void 0 && _formState$changes10.country_phone_code && formState !== null && formState !== void 0 && (_formState$changes11 = formState.changes) !== null && _formState$changes11 !== void 0 && _formState$changes11.cellphone && (configs === null || configs === void 0 || (_configs$verification2 = configs.verification_phone_required) === null || _configs$verification2 === void 0 ? void 0 : _configs$verification2.value) === '1') {
333
333
  setWillVerifyOtpState && setWillVerifyOtpState(true);
334
334
  }
335
- }, [isValidPhoneNumber, userPhoneNumber, configs === null || configs === void 0 ? void 0 : (_configs$verification3 = configs.verification_phone_required) === null || _configs$verification3 === void 0 ? void 0 : _configs$verification3.value, isChanged]);
335
+ }, [isValidPhoneNumber, userPhoneNumber, configs === null || configs === void 0 || (_configs$verification3 = configs.verification_phone_required) === null || _configs$verification3 === void 0 ? void 0 : _configs$verification3.value, isChanged]);
336
336
  (0, _react.useEffect)(function () {
337
337
  if (requiredFields && !requiredFields.includes('cellphone')) setIsValidPhoneNumber(true);
338
338
  }, [requiredFields]);
@@ -362,7 +362,7 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
362
362
  key: i
363
363
  }, props));
364
364
  }), (0, _utils.sortInputFields)({
365
- values: validationFields === null || validationFields === void 0 ? void 0 : (_validationFields$fie15 = validationFields.fields) === null || _validationFields$fie15 === void 0 ? void 0 : _validationFields$fie15.checkout
365
+ values: validationFields === null || validationFields === void 0 || (_validationFields$fie7 = validationFields.fields) === null || _validationFields$fie7 === void 0 ? void 0 : _validationFields$fie7.checkout
366
366
  }).map(function (field) {
367
367
  var _ref3, _formState$changes$fi, _ref4, _formState$changes$fi2;
368
368
  return showField && showField(field.code) && showFieldWithTheme(field.code) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
@@ -30,7 +30,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
30
30
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
31
31
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
32
32
  var UserPopover = function UserPopover(props) {
33
- var _configs$cash_wallet, _configs$wallet_enabl, _configs$wallet_cash_, _configs$wallet_credi, _configs$advanced_off, _configs$advanced_off2, _theme$profile, _theme$profile$compon, _theme$profile$compon2, _theme$profile$compon3, _theme$profile$compon4, _theme$header, _theme$header$compone, _theme$header$compone2, _theme$header$compone3, _theme$bar_menu, _theme$bar_menu$compo, _theme$bar_menu$compo2, _theme$bar_menu2, _theme$bar_menu2$comp, _theme$bar_menu2$comp2, _theme$bar_menu3, _theme$bar_menu3$comp, _theme$bar_menu3$comp2, _theme$bar_menu4, _theme$bar_menu4$comp, _theme$bar_menu4$comp2, _theme$bar_menu5, _theme$bar_menu5$comp, _theme$bar_menu5$comp2, _theme$bar_menu6, _theme$bar_menu6$comp, _theme$bar_menu6$comp2, _theme$bar_menu7, _theme$bar_menu7$comp, _theme$bar_menu7$comp2, _theme$bar_menu8, _theme$bar_menu8$comp, _theme$bar_menu8$comp2, _theme$bar_menu9, _theme$bar_menu9$comp, _theme$bar_menu9$comp2, _props$beforeElements, _props$beforeComponen, _sessionState$user, _sessionState$user2, _props$afterComponent, _props$afterElements;
33
+ var _configs$cash_wallet, _configs$wallet_enabl, _configs$wallet_cash_, _configs$wallet_credi, _configs$advanced_off, _configs$advanced_off2, _theme$profile, _theme$header, _theme$bar_menu, _theme$bar_menu2, _theme$bar_menu3, _theme$bar_menu4, _theme$bar_menu5, _theme$bar_menu6, _theme$bar_menu7, _theme$bar_menu8, _theme$bar_menu9, _props$beforeElements, _props$beforeComponen, _sessionState$user, _sessionState$user2, _props$afterComponent, _props$afterElements;
34
34
  var open = props.open,
35
35
  isHome = props.isHome,
36
36
  optionsList = props.optionsList,
@@ -56,19 +56,19 @@ var UserPopover = function UserPopover(props) {
56
56
  var referenceElement = (0, _react.useRef)();
57
57
  var popperElement = (0, _react.useRef)();
58
58
  var arrowElement = (0, _react.useRef)();
59
- var isWalletEnabled = (configs === null || configs === void 0 ? void 0 : (_configs$cash_wallet = configs.cash_wallet) === null || _configs$cash_wallet === void 0 ? void 0 : _configs$cash_wallet.value) && (configs === null || configs === void 0 ? void 0 : (_configs$wallet_enabl = configs.wallet_enabled) === null || _configs$wallet_enabl === void 0 ? void 0 : _configs$wallet_enabl.value) === '1' && ((configs === null || configs === void 0 ? void 0 : (_configs$wallet_cash_ = configs.wallet_cash_enabled) === null || _configs$wallet_cash_ === void 0 ? void 0 : _configs$wallet_cash_.value) === '1' || (configs === null || configs === void 0 ? void 0 : (_configs$wallet_credi = configs.wallet_credit_point_enabled) === null || _configs$wallet_credi === void 0 ? void 0 : _configs$wallet_credi.value) === '1');
60
- var isPromotionsEnabled = (configs === null || configs === void 0 ? void 0 : (_configs$advanced_off = configs.advanced_offers_module) === null || _configs$advanced_off === void 0 ? void 0 : _configs$advanced_off.value) === '1' || (configs === null || configs === void 0 ? void 0 : (_configs$advanced_off2 = configs.advanced_offers_module) === null || _configs$advanced_off2 === void 0 ? void 0 : _configs$advanced_off2.value) === true;
61
- var isAddressListNewPage = (theme === null || theme === void 0 ? void 0 : (_theme$profile = theme.profile) === null || _theme$profile === void 0 ? void 0 : (_theme$profile$compon = _theme$profile.components) === null || _theme$profile$compon === void 0 ? void 0 : (_theme$profile$compon2 = _theme$profile$compon.address_list) === null || _theme$profile$compon2 === void 0 ? void 0 : (_theme$profile$compon3 = _theme$profile$compon2.components) === null || _theme$profile$compon3 === void 0 ? void 0 : (_theme$profile$compon4 = _theme$profile$compon3.layout) === null || _theme$profile$compon4 === void 0 ? void 0 : _theme$profile$compon4.position) === 'new_page';
62
- var isChew = (theme === null || theme === void 0 ? void 0 : (_theme$header = theme.header) === null || _theme$header === void 0 ? void 0 : (_theme$header$compone = _theme$header.components) === null || _theme$header$compone === void 0 ? void 0 : (_theme$header$compone2 = _theme$header$compone.layout) === null || _theme$header$compone2 === void 0 ? void 0 : (_theme$header$compone3 = _theme$header$compone2.type) === null || _theme$header$compone3 === void 0 ? void 0 : _theme$header$compone3.toLowerCase()) === 'chew';
63
- var hideBrowse = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu = theme.bar_menu) === null || _theme$bar_menu === void 0 ? void 0 : (_theme$bar_menu$compo = _theme$bar_menu.components) === null || _theme$bar_menu$compo === void 0 ? void 0 : (_theme$bar_menu$compo2 = _theme$bar_menu$compo.browse) === null || _theme$bar_menu$compo2 === void 0 ? void 0 : _theme$bar_menu$compo2.hidden;
64
- var hideOrders = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu2 = theme.bar_menu) === null || _theme$bar_menu2 === void 0 ? void 0 : (_theme$bar_menu2$comp = _theme$bar_menu2.components) === null || _theme$bar_menu2$comp === void 0 ? void 0 : (_theme$bar_menu2$comp2 = _theme$bar_menu2$comp.orders) === null || _theme$bar_menu2$comp2 === void 0 ? void 0 : _theme$bar_menu2$comp2.hidden;
65
- var hideProfile = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu3 = theme.bar_menu) === null || _theme$bar_menu3 === void 0 ? void 0 : (_theme$bar_menu3$comp = _theme$bar_menu3.components) === null || _theme$bar_menu3$comp === void 0 ? void 0 : (_theme$bar_menu3$comp2 = _theme$bar_menu3$comp.profile) === null || _theme$bar_menu3$comp2 === void 0 ? void 0 : _theme$bar_menu3$comp2.hidden;
66
- var hideWallet = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu4 = theme.bar_menu) === null || _theme$bar_menu4 === void 0 ? void 0 : (_theme$bar_menu4$comp = _theme$bar_menu4.components) === null || _theme$bar_menu4$comp === void 0 ? void 0 : (_theme$bar_menu4$comp2 = _theme$bar_menu4$comp.wallet) === null || _theme$bar_menu4$comp2 === void 0 ? void 0 : _theme$bar_menu4$comp2.hidden;
67
- var hideMessages = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu5 = theme.bar_menu) === null || _theme$bar_menu5 === void 0 ? void 0 : (_theme$bar_menu5$comp = _theme$bar_menu5.components) === null || _theme$bar_menu5$comp === void 0 ? void 0 : (_theme$bar_menu5$comp2 = _theme$bar_menu5$comp.messages) === null || _theme$bar_menu5$comp2 === void 0 ? void 0 : _theme$bar_menu5$comp2.hidden;
68
- var hideHelp = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu6 = theme.bar_menu) === null || _theme$bar_menu6 === void 0 ? void 0 : (_theme$bar_menu6$comp = _theme$bar_menu6.components) === null || _theme$bar_menu6$comp === void 0 ? void 0 : (_theme$bar_menu6$comp2 = _theme$bar_menu6$comp.help) === null || _theme$bar_menu6$comp2 === void 0 ? void 0 : _theme$bar_menu6$comp2.hidden;
69
- var hideFavorites = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu7 = theme.bar_menu) === null || _theme$bar_menu7 === void 0 ? void 0 : (_theme$bar_menu7$comp = _theme$bar_menu7.components) === null || _theme$bar_menu7$comp === void 0 ? void 0 : (_theme$bar_menu7$comp2 = _theme$bar_menu7$comp.favorites) === null || _theme$bar_menu7$comp2 === void 0 ? void 0 : _theme$bar_menu7$comp2.hidden;
70
- var hideSession = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu8 = theme.bar_menu) === null || _theme$bar_menu8 === void 0 ? void 0 : (_theme$bar_menu8$comp = _theme$bar_menu8.components) === null || _theme$bar_menu8$comp === void 0 ? void 0 : (_theme$bar_menu8$comp2 = _theme$bar_menu8$comp.sessions) === null || _theme$bar_menu8$comp2 === void 0 ? void 0 : _theme$bar_menu8$comp2.hidden;
71
- var hidePromotions = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu9 = theme.bar_menu) === null || _theme$bar_menu9 === void 0 ? void 0 : (_theme$bar_menu9$comp = _theme$bar_menu9.components) === null || _theme$bar_menu9$comp === void 0 ? void 0 : (_theme$bar_menu9$comp2 = _theme$bar_menu9$comp.promotions) === null || _theme$bar_menu9$comp2 === void 0 ? void 0 : _theme$bar_menu9$comp2.hidden;
59
+ var isWalletEnabled = (configs === null || configs === void 0 || (_configs$cash_wallet = configs.cash_wallet) === null || _configs$cash_wallet === void 0 ? void 0 : _configs$cash_wallet.value) && (configs === null || configs === void 0 || (_configs$wallet_enabl = configs.wallet_enabled) === null || _configs$wallet_enabl === void 0 ? void 0 : _configs$wallet_enabl.value) === '1' && ((configs === null || configs === void 0 || (_configs$wallet_cash_ = configs.wallet_cash_enabled) === null || _configs$wallet_cash_ === void 0 ? void 0 : _configs$wallet_cash_.value) === '1' || (configs === null || configs === void 0 || (_configs$wallet_credi = configs.wallet_credit_point_enabled) === null || _configs$wallet_credi === void 0 ? void 0 : _configs$wallet_credi.value) === '1');
60
+ var isPromotionsEnabled = (configs === null || configs === void 0 || (_configs$advanced_off = configs.advanced_offers_module) === null || _configs$advanced_off === void 0 ? void 0 : _configs$advanced_off.value) === '1' || (configs === null || configs === void 0 || (_configs$advanced_off2 = configs.advanced_offers_module) === null || _configs$advanced_off2 === void 0 ? void 0 : _configs$advanced_off2.value) === true;
61
+ var isAddressListNewPage = (theme === null || theme === void 0 || (_theme$profile = theme.profile) === null || _theme$profile === void 0 || (_theme$profile = _theme$profile.components) === null || _theme$profile === void 0 || (_theme$profile = _theme$profile.address_list) === null || _theme$profile === void 0 || (_theme$profile = _theme$profile.components) === null || _theme$profile === void 0 || (_theme$profile = _theme$profile.layout) === null || _theme$profile === void 0 ? void 0 : _theme$profile.position) === 'new_page';
62
+ var isChew = (theme === null || theme === void 0 || (_theme$header = theme.header) === null || _theme$header === void 0 || (_theme$header = _theme$header.components) === null || _theme$header === void 0 || (_theme$header = _theme$header.layout) === null || _theme$header === void 0 || (_theme$header = _theme$header.type) === null || _theme$header === void 0 ? void 0 : _theme$header.toLowerCase()) === 'chew';
63
+ var hideBrowse = theme === null || theme === void 0 || (_theme$bar_menu = theme.bar_menu) === null || _theme$bar_menu === void 0 || (_theme$bar_menu = _theme$bar_menu.components) === null || _theme$bar_menu === void 0 || (_theme$bar_menu = _theme$bar_menu.browse) === null || _theme$bar_menu === void 0 ? void 0 : _theme$bar_menu.hidden;
64
+ var hideOrders = theme === null || theme === void 0 || (_theme$bar_menu2 = theme.bar_menu) === null || _theme$bar_menu2 === void 0 || (_theme$bar_menu2 = _theme$bar_menu2.components) === null || _theme$bar_menu2 === void 0 || (_theme$bar_menu2 = _theme$bar_menu2.orders) === null || _theme$bar_menu2 === void 0 ? void 0 : _theme$bar_menu2.hidden;
65
+ var hideProfile = theme === null || theme === void 0 || (_theme$bar_menu3 = theme.bar_menu) === null || _theme$bar_menu3 === void 0 || (_theme$bar_menu3 = _theme$bar_menu3.components) === null || _theme$bar_menu3 === void 0 || (_theme$bar_menu3 = _theme$bar_menu3.profile) === null || _theme$bar_menu3 === void 0 ? void 0 : _theme$bar_menu3.hidden;
66
+ var hideWallet = theme === null || theme === void 0 || (_theme$bar_menu4 = theme.bar_menu) === null || _theme$bar_menu4 === void 0 || (_theme$bar_menu4 = _theme$bar_menu4.components) === null || _theme$bar_menu4 === void 0 || (_theme$bar_menu4 = _theme$bar_menu4.wallet) === null || _theme$bar_menu4 === void 0 ? void 0 : _theme$bar_menu4.hidden;
67
+ var hideMessages = theme === null || theme === void 0 || (_theme$bar_menu5 = theme.bar_menu) === null || _theme$bar_menu5 === void 0 || (_theme$bar_menu5 = _theme$bar_menu5.components) === null || _theme$bar_menu5 === void 0 || (_theme$bar_menu5 = _theme$bar_menu5.messages) === null || _theme$bar_menu5 === void 0 ? void 0 : _theme$bar_menu5.hidden;
68
+ var hideHelp = theme === null || theme === void 0 || (_theme$bar_menu6 = theme.bar_menu) === null || _theme$bar_menu6 === void 0 || (_theme$bar_menu6 = _theme$bar_menu6.components) === null || _theme$bar_menu6 === void 0 || (_theme$bar_menu6 = _theme$bar_menu6.help) === null || _theme$bar_menu6 === void 0 ? void 0 : _theme$bar_menu6.hidden;
69
+ var hideFavorites = theme === null || theme === void 0 || (_theme$bar_menu7 = theme.bar_menu) === null || _theme$bar_menu7 === void 0 || (_theme$bar_menu7 = _theme$bar_menu7.components) === null || _theme$bar_menu7 === void 0 || (_theme$bar_menu7 = _theme$bar_menu7.favorites) === null || _theme$bar_menu7 === void 0 ? void 0 : _theme$bar_menu7.hidden;
70
+ var hideSession = theme === null || theme === void 0 || (_theme$bar_menu8 = theme.bar_menu) === null || _theme$bar_menu8 === void 0 || (_theme$bar_menu8 = _theme$bar_menu8.components) === null || _theme$bar_menu8 === void 0 || (_theme$bar_menu8 = _theme$bar_menu8.sessions) === null || _theme$bar_menu8 === void 0 ? void 0 : _theme$bar_menu8.hidden;
71
+ var hidePromotions = theme === null || theme === void 0 || (_theme$bar_menu9 = theme.bar_menu) === null || _theme$bar_menu9 === void 0 || (_theme$bar_menu9 = _theme$bar_menu9.components) === null || _theme$bar_menu9 === void 0 || (_theme$bar_menu9 = _theme$bar_menu9.promotions) === null || _theme$bar_menu9 === void 0 ? void 0 : _theme$bar_menu9.hidden;
72
72
  var optionsDefault = [{
73
73
  name: 'search',
74
74
  pathname: '/explore',
@@ -175,8 +175,8 @@ var UserPopover = function UserPopover(props) {
175
175
  }
176
176
  };
177
177
  var handleGoToPage = function handleGoToPage(page) {
178
- var _orderStatus$options, _orderStatus$options$;
179
- if (!((_orderStatus$options = orderStatus.options) !== null && _orderStatus$options !== void 0 && (_orderStatus$options$ = _orderStatus$options.address) !== null && _orderStatus$options$ !== void 0 && _orderStatus$options$.location) && addressRequiredPageNames.includes(page)) {
178
+ var _orderStatus$options;
179
+ if (!((_orderStatus$options = orderStatus.options) !== null && _orderStatus$options !== void 0 && (_orderStatus$options = _orderStatus$options.address) !== null && _orderStatus$options !== void 0 && _orderStatus$options.location) && addressRequiredPageNames.includes(page)) {
180
180
  handleOpenAddressModal();
181
181
  } else {
182
182
  events.emit('go_to_page', {
@@ -213,7 +213,7 @@ var UserPopover = function UserPopover(props) {
213
213
  key: i
214
214
  }, props));
215
215
  }), /*#__PURE__*/_react.default.createElement(_styles.HeaderItem, {
216
- isPhoto: sessionState === null || sessionState === void 0 ? void 0 : (_sessionState$user = sessionState.user) === null || _sessionState$user === void 0 ? void 0 : _sessionState$user.photo,
216
+ isPhoto: sessionState === null || sessionState === void 0 || (_sessionState$user = sessionState.user) === null || _sessionState$user === void 0 ? void 0 : _sessionState$user.photo,
217
217
  isHome: isHome,
218
218
  isChew: isChew,
219
219
  ref: referenceElement,
@@ -222,7 +222,7 @@ var UserPopover = function UserPopover(props) {
222
222
  }, /*#__PURE__*/_react.default.createElement(_AiOutlineMenu.default, {
223
223
  className: "menu-list"
224
224
  }), /*#__PURE__*/_react.default.createElement(_styles.UserImgWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.RoundMark, null), /*#__PURE__*/_react.default.createElement(_style.DropDownCircleImage, {
225
- src: sessionState === null || sessionState === void 0 ? void 0 : (_sessionState$user2 = sessionState.user) === null || _sessionState$user2 === void 0 ? void 0 : _sessionState$user2.photo,
225
+ src: sessionState === null || sessionState === void 0 || (_sessionState$user2 = sessionState.user) === null || _sessionState$user2 === void 0 ? void 0 : _sessionState$user2.photo,
226
226
  fallback: /*#__PURE__*/_react.default.createElement(_FaUserAlt.default, null)
227
227
  }))), /*#__PURE__*/_react.default.createElement(_styles.PopoverBody, _extends({
228
228
  ref: popperElement,
@@ -269,8 +269,8 @@ var LogoutActionUI = function LogoutActionUI(props) {
269
269
  _useCustomer2 = _slicedToArray(_useCustomer, 2),
270
270
  deleteUserCustomer = _useCustomer2[1].deleteUserCustomer;
271
271
  var handleClick = function handleClick() {
272
- var _window, _window$gapi, _window$gapi$auth;
273
- var GoogleAuth = (_window = window) === null || _window === void 0 ? void 0 : (_window$gapi = _window.gapi) === null || _window$gapi === void 0 ? void 0 : (_window$gapi$auth = _window$gapi.auth2) === null || _window$gapi$auth === void 0 ? void 0 : _window$gapi$auth.getAuthInstance();
272
+ var _window;
273
+ var GoogleAuth = (_window = window) === null || _window === void 0 || (_window = _window.gapi) === null || _window === void 0 || (_window = _window.auth2) === null || _window === void 0 ? void 0 : _window.getAuthInstance();
274
274
  if (GoogleAuth) {
275
275
  var signedIn = GoogleAuth.isSignedIn.get();
276
276
  if (signedIn) {
@@ -25,8 +25,8 @@ var HeaderItem = _styledComponents.default.div(_templateObject || (_templateObje
25
25
  });
26
26
  exports.HeaderItem = HeaderItem;
27
27
  var PopoverBody = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n background-color: ", ";\n color: #333;\n padding: 20px 15px;\n border-radius: 10px;\n max-width: 500px;\n min-width: 300px !important;\n z-index: 10002;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;\n"])), function (props) {
28
- var _props$theme2, _props$theme2$colors;
29
- return (_props$theme2 = props.theme) === null || _props$theme2 === void 0 ? void 0 : (_props$theme2$colors = _props$theme2.colors) === null || _props$theme2$colors === void 0 ? void 0 : _props$theme2$colors.backgroundPage;
28
+ var _props$theme2;
29
+ return (_props$theme2 = props.theme) === null || _props$theme2 === void 0 || (_props$theme2 = _props$theme2.colors) === null || _props$theme2 === void 0 ? void 0 : _props$theme2.backgroundPage;
30
30
  });
31
31
  exports.PopoverBody = PopoverBody;
32
32
  var PopoverList = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
@@ -23,7 +23,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
23
23
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
24
24
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
25
25
  var ProfileOptions = function ProfileOptions(_ref) {
26
- var _theme$profile, _theme$profile$compon, _theme$profile$compon2, _theme$profile$compon3, _theme$profile$compon4;
26
+ var _theme$profile;
27
27
  var value = _ref.value;
28
28
  var _useState = (0, _react.useState)(value),
29
29
  _useState2 = _slicedToArray(_useState, 1),
@@ -35,7 +35,7 @@ var ProfileOptions = function ProfileOptions(_ref) {
35
35
  _useEvent2 = _slicedToArray(_useEvent, 1),
36
36
  events = _useEvent2[0];
37
37
  var theme = (0, _styledComponents.useTheme)();
38
- var showAddressListTab = (theme === null || theme === void 0 ? void 0 : (_theme$profile = theme.profile) === null || _theme$profile === void 0 ? void 0 : (_theme$profile$compon = _theme$profile.components) === null || _theme$profile$compon === void 0 ? void 0 : (_theme$profile$compon2 = _theme$profile$compon.address_list) === null || _theme$profile$compon2 === void 0 ? void 0 : (_theme$profile$compon3 = _theme$profile$compon2.components) === null || _theme$profile$compon3 === void 0 ? void 0 : (_theme$profile$compon4 = _theme$profile$compon3.layout) === null || _theme$profile$compon4 === void 0 ? void 0 : _theme$profile$compon4.position) === 'new_page';
38
+ var showAddressListTab = (theme === null || theme === void 0 || (_theme$profile = theme.profile) === null || _theme$profile === void 0 || (_theme$profile = _theme$profile.components) === null || _theme$profile === void 0 || (_theme$profile = _theme$profile.address_list) === null || _theme$profile === void 0 || (_theme$profile = _theme$profile.components) === null || _theme$profile === void 0 || (_theme$profile = _theme$profile.layout) === null || _theme$profile === void 0 ? void 0 : _theme$profile.position) === 'new_page';
39
39
  var handleGoToPage = function handleGoToPage(data) {
40
40
  events.emit('go_to_page', data);
41
41
  };
@@ -45,8 +45,8 @@ var LogoutActionUI = function LogoutActionUI(props) {
45
45
  _useCustomer2 = _slicedToArray(_useCustomer, 2),
46
46
  deleteUserCustomer = _useCustomer2[1].deleteUserCustomer;
47
47
  var handleClick = function handleClick() {
48
- var _window, _window$gapi, _window$gapi$auth;
49
- var GoogleAuth = (_window = window) === null || _window === void 0 ? void 0 : (_window$gapi = _window.gapi) === null || _window$gapi === void 0 ? void 0 : (_window$gapi$auth = _window$gapi.auth2) === null || _window$gapi$auth === void 0 ? void 0 : _window$gapi$auth.getAuthInstance();
48
+ var _window;
49
+ var GoogleAuth = (_window = window) === null || _window === void 0 || (_window = _window.gapi) === null || _window === void 0 || (_window = _window.auth2) === null || _window === void 0 ? void 0 : _window.getAuthInstance();
50
50
  if (GoogleAuth) {
51
51
  var signedIn = GoogleAuth.isSignedIn.get();
52
52
  if (signedIn) {
@@ -69,7 +69,7 @@ var ListItemLogout = function ListItemLogout() {
69
69
  return /*#__PURE__*/_react.default.createElement(_orderingComponentsExternal.LogoutAction, logoutActionProps);
70
70
  };
71
71
  var UserProfileFormUI = function UserProfileFormUI(props) {
72
- var _theme$profile, _theme$profile$compon, _theme$profile$compon2, _theme$profile2, _theme$profile2$compo, _theme$profile2$compo2, _theme$profile3, _theme$profile3$compo, _theme$profile3$compo2, _configs$advanced_off, _configs$advanced_off2, _theme$profile4, _theme$profile4$compo, _theme$profile4$compo2, _theme$profile4$compo3, _theme$profile4$compo4, _configs$cash_wallet, _configs$wallet_enabl, _configs$wallet_cash_, _configs$wallet_credi, _theme$bar_menu, _theme$bar_menu$compo, _theme$bar_menu$compo2, _theme$bar_menu2, _theme$bar_menu2$comp, _theme$bar_menu2$comp2, _theme$bar_menu3, _theme$bar_menu3$comp, _theme$bar_menu3$comp2, _theme$bar_menu4, _theme$bar_menu4$comp, _theme$bar_menu4$comp2, _theme$bar_menu5, _theme$bar_menu5$comp, _theme$bar_menu5$comp2, _theme$bar_menu6, _theme$bar_menu6$comp, _theme$bar_menu6$comp2, _formState$changes5, _verifyPhoneState$res3, _props$beforeElements, _props$beforeComponen, _formState$changes6, _formState$changes7, _formState$changes8, _formState$result, _formState$changes9, _formState$changes10, _props$afterComponent, _props$afterElements;
72
+ var _theme$profile, _theme$profile2, _theme$profile3, _configs$advanced_off, _configs$advanced_off2, _theme$profile4, _configs$cash_wallet, _configs$wallet_enabl, _configs$wallet_cash_, _configs$wallet_credi, _theme$bar_menu, _theme$bar_menu2, _theme$bar_menu3, _theme$bar_menu4, _theme$bar_menu5, _theme$bar_menu6, _formState$changes5, _verifyPhoneState$res3, _props$beforeElements, _props$beforeComponen, _formState$changes6, _formState$changes7, _formState$changes8, _formState$result, _formState$changes9, _formState$changes10, _props$afterComponent, _props$afterElements;
73
73
  var userData = props.userData,
74
74
  handleButtonUpdateClick = props.handleButtonUpdateClick,
75
75
  handlechangeImage = props.handlechangeImage,
@@ -111,18 +111,18 @@ var UserProfileFormUI = function UserProfileFormUI(props) {
111
111
  setAlertState = _useState4[1];
112
112
  var inputRef = (0, _react.useRef)(null);
113
113
  var windowSize = (0, _useWindowSize.useWindowSize)();
114
- var showCustomerPicture = !(theme !== null && theme !== void 0 && (_theme$profile = theme.profile) !== null && _theme$profile !== void 0 && (_theme$profile$compon = _theme$profile.components) !== null && _theme$profile$compon !== void 0 && (_theme$profile$compon2 = _theme$profile$compon.picture) !== null && _theme$profile$compon2 !== void 0 && _theme$profile$compon2.hidden);
115
- var showAddressList = !(theme !== null && theme !== void 0 && (_theme$profile2 = theme.profile) !== null && _theme$profile2 !== void 0 && (_theme$profile2$compo = _theme$profile2.components) !== null && _theme$profile2$compo !== void 0 && (_theme$profile2$compo2 = _theme$profile2$compo.address_list) !== null && _theme$profile2$compo2 !== void 0 && _theme$profile2$compo2.hidden);
116
- var userFormLayoutRow = (theme === null || theme === void 0 ? void 0 : (_theme$profile3 = theme.profile) === null || _theme$profile3 === void 0 ? void 0 : (_theme$profile3$compo = _theme$profile3.components) === null || _theme$profile3$compo === void 0 ? void 0 : (_theme$profile3$compo2 = _theme$profile3$compo.layout) === null || _theme$profile3$compo2 === void 0 ? void 0 : _theme$profile3$compo2.position) === 'row';
117
- var isPromotionsEnabled = (configs === null || configs === void 0 ? void 0 : (_configs$advanced_off = configs.advanced_offers_module) === null || _configs$advanced_off === void 0 ? void 0 : _configs$advanced_off.value) === '1' || (configs === null || configs === void 0 ? void 0 : (_configs$advanced_off2 = configs.advanced_offers_module) === null || _configs$advanced_off2 === void 0 ? void 0 : _configs$advanced_off2.value) === true;
118
- var isAddressListNewPage = (theme === null || theme === void 0 ? void 0 : (_theme$profile4 = theme.profile) === null || _theme$profile4 === void 0 ? void 0 : (_theme$profile4$compo = _theme$profile4.components) === null || _theme$profile4$compo === void 0 ? void 0 : (_theme$profile4$compo2 = _theme$profile4$compo.address_list) === null || _theme$profile4$compo2 === void 0 ? void 0 : (_theme$profile4$compo3 = _theme$profile4$compo2.components) === null || _theme$profile4$compo3 === void 0 ? void 0 : (_theme$profile4$compo4 = _theme$profile4$compo3.layout) === null || _theme$profile4$compo4 === void 0 ? void 0 : _theme$profile4$compo4.position) === 'new_page';
119
- var isWalletEnabled = (configs === null || configs === void 0 ? void 0 : (_configs$cash_wallet = configs.cash_wallet) === null || _configs$cash_wallet === void 0 ? void 0 : _configs$cash_wallet.value) && (configs === null || configs === void 0 ? void 0 : (_configs$wallet_enabl = configs.wallet_enabled) === null || _configs$wallet_enabl === void 0 ? void 0 : _configs$wallet_enabl.value) === '1' && ((configs === null || configs === void 0 ? void 0 : (_configs$wallet_cash_ = configs.wallet_cash_enabled) === null || _configs$wallet_cash_ === void 0 ? void 0 : _configs$wallet_cash_.value) === '1' || (configs === null || configs === void 0 ? void 0 : (_configs$wallet_credi = configs.wallet_credit_point_enabled) === null || _configs$wallet_credi === void 0 ? void 0 : _configs$wallet_credi.value) === '1');
120
- var hideWallet = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu = theme.bar_menu) === null || _theme$bar_menu === void 0 ? void 0 : (_theme$bar_menu$compo = _theme$bar_menu.components) === null || _theme$bar_menu$compo === void 0 ? void 0 : (_theme$bar_menu$compo2 = _theme$bar_menu$compo.wallet) === null || _theme$bar_menu$compo2 === void 0 ? void 0 : _theme$bar_menu$compo2.hidden;
121
- var hideMessages = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu2 = theme.bar_menu) === null || _theme$bar_menu2 === void 0 ? void 0 : (_theme$bar_menu2$comp = _theme$bar_menu2.components) === null || _theme$bar_menu2$comp === void 0 ? void 0 : (_theme$bar_menu2$comp2 = _theme$bar_menu2$comp.messages) === null || _theme$bar_menu2$comp2 === void 0 ? void 0 : _theme$bar_menu2$comp2.hidden;
122
- var hideHelp = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu3 = theme.bar_menu) === null || _theme$bar_menu3 === void 0 ? void 0 : (_theme$bar_menu3$comp = _theme$bar_menu3.components) === null || _theme$bar_menu3$comp === void 0 ? void 0 : (_theme$bar_menu3$comp2 = _theme$bar_menu3$comp.help) === null || _theme$bar_menu3$comp2 === void 0 ? void 0 : _theme$bar_menu3$comp2.hidden;
123
- var hideFavorites = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu4 = theme.bar_menu) === null || _theme$bar_menu4 === void 0 ? void 0 : (_theme$bar_menu4$comp = _theme$bar_menu4.components) === null || _theme$bar_menu4$comp === void 0 ? void 0 : (_theme$bar_menu4$comp2 = _theme$bar_menu4$comp.favortes) === null || _theme$bar_menu4$comp2 === void 0 ? void 0 : _theme$bar_menu4$comp2.hidden;
124
- var hideSession = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu5 = theme.bar_menu) === null || _theme$bar_menu5 === void 0 ? void 0 : (_theme$bar_menu5$comp = _theme$bar_menu5.components) === null || _theme$bar_menu5$comp === void 0 ? void 0 : (_theme$bar_menu5$comp2 = _theme$bar_menu5$comp.sessions) === null || _theme$bar_menu5$comp2 === void 0 ? void 0 : _theme$bar_menu5$comp2.hidden;
125
- var hidePromotions = theme === null || theme === void 0 ? void 0 : (_theme$bar_menu6 = theme.bar_menu) === null || _theme$bar_menu6 === void 0 ? void 0 : (_theme$bar_menu6$comp = _theme$bar_menu6.components) === null || _theme$bar_menu6$comp === void 0 ? void 0 : (_theme$bar_menu6$comp2 = _theme$bar_menu6$comp.promotions) === null || _theme$bar_menu6$comp2 === void 0 ? void 0 : _theme$bar_menu6$comp2.hidden;
114
+ var showCustomerPicture = !(theme !== null && theme !== void 0 && (_theme$profile = theme.profile) !== null && _theme$profile !== void 0 && (_theme$profile = _theme$profile.components) !== null && _theme$profile !== void 0 && (_theme$profile = _theme$profile.picture) !== null && _theme$profile !== void 0 && _theme$profile.hidden);
115
+ var showAddressList = !(theme !== null && theme !== void 0 && (_theme$profile2 = theme.profile) !== null && _theme$profile2 !== void 0 && (_theme$profile2 = _theme$profile2.components) !== null && _theme$profile2 !== void 0 && (_theme$profile2 = _theme$profile2.address_list) !== null && _theme$profile2 !== void 0 && _theme$profile2.hidden);
116
+ var userFormLayoutRow = (theme === null || theme === void 0 || (_theme$profile3 = theme.profile) === null || _theme$profile3 === void 0 || (_theme$profile3 = _theme$profile3.components) === null || _theme$profile3 === void 0 || (_theme$profile3 = _theme$profile3.layout) === null || _theme$profile3 === void 0 ? void 0 : _theme$profile3.position) === 'row';
117
+ var isPromotionsEnabled = (configs === null || configs === void 0 || (_configs$advanced_off = configs.advanced_offers_module) === null || _configs$advanced_off === void 0 ? void 0 : _configs$advanced_off.value) === '1' || (configs === null || configs === void 0 || (_configs$advanced_off2 = configs.advanced_offers_module) === null || _configs$advanced_off2 === void 0 ? void 0 : _configs$advanced_off2.value) === true;
118
+ var isAddressListNewPage = (theme === null || theme === void 0 || (_theme$profile4 = theme.profile) === null || _theme$profile4 === void 0 || (_theme$profile4 = _theme$profile4.components) === null || _theme$profile4 === void 0 || (_theme$profile4 = _theme$profile4.address_list) === null || _theme$profile4 === void 0 || (_theme$profile4 = _theme$profile4.components) === null || _theme$profile4 === void 0 || (_theme$profile4 = _theme$profile4.layout) === null || _theme$profile4 === void 0 ? void 0 : _theme$profile4.position) === 'new_page';
119
+ var isWalletEnabled = (configs === null || configs === void 0 || (_configs$cash_wallet = configs.cash_wallet) === null || _configs$cash_wallet === void 0 ? void 0 : _configs$cash_wallet.value) && (configs === null || configs === void 0 || (_configs$wallet_enabl = configs.wallet_enabled) === null || _configs$wallet_enabl === void 0 ? void 0 : _configs$wallet_enabl.value) === '1' && ((configs === null || configs === void 0 || (_configs$wallet_cash_ = configs.wallet_cash_enabled) === null || _configs$wallet_cash_ === void 0 ? void 0 : _configs$wallet_cash_.value) === '1' || (configs === null || configs === void 0 || (_configs$wallet_credi = configs.wallet_credit_point_enabled) === null || _configs$wallet_credi === void 0 ? void 0 : _configs$wallet_credi.value) === '1');
120
+ var hideWallet = theme === null || theme === void 0 || (_theme$bar_menu = theme.bar_menu) === null || _theme$bar_menu === void 0 || (_theme$bar_menu = _theme$bar_menu.components) === null || _theme$bar_menu === void 0 || (_theme$bar_menu = _theme$bar_menu.wallet) === null || _theme$bar_menu === void 0 ? void 0 : _theme$bar_menu.hidden;
121
+ var hideMessages = theme === null || theme === void 0 || (_theme$bar_menu2 = theme.bar_menu) === null || _theme$bar_menu2 === void 0 || (_theme$bar_menu2 = _theme$bar_menu2.components) === null || _theme$bar_menu2 === void 0 || (_theme$bar_menu2 = _theme$bar_menu2.messages) === null || _theme$bar_menu2 === void 0 ? void 0 : _theme$bar_menu2.hidden;
122
+ var hideHelp = theme === null || theme === void 0 || (_theme$bar_menu3 = theme.bar_menu) === null || _theme$bar_menu3 === void 0 || (_theme$bar_menu3 = _theme$bar_menu3.components) === null || _theme$bar_menu3 === void 0 || (_theme$bar_menu3 = _theme$bar_menu3.help) === null || _theme$bar_menu3 === void 0 ? void 0 : _theme$bar_menu3.hidden;
123
+ var hideFavorites = theme === null || theme === void 0 || (_theme$bar_menu4 = theme.bar_menu) === null || _theme$bar_menu4 === void 0 || (_theme$bar_menu4 = _theme$bar_menu4.components) === null || _theme$bar_menu4 === void 0 || (_theme$bar_menu4 = _theme$bar_menu4.favortes) === null || _theme$bar_menu4 === void 0 ? void 0 : _theme$bar_menu4.hidden;
124
+ var hideSession = theme === null || theme === void 0 || (_theme$bar_menu5 = theme.bar_menu) === null || _theme$bar_menu5 === void 0 || (_theme$bar_menu5 = _theme$bar_menu5.components) === null || _theme$bar_menu5 === void 0 || (_theme$bar_menu5 = _theme$bar_menu5.sessions) === null || _theme$bar_menu5 === void 0 ? void 0 : _theme$bar_menu5.hidden;
125
+ var hidePromotions = theme === null || theme === void 0 || (_theme$bar_menu6 = theme.bar_menu) === null || _theme$bar_menu6 === void 0 || (_theme$bar_menu6 = _theme$bar_menu6.components) === null || _theme$bar_menu6 === void 0 || (_theme$bar_menu6 = _theme$bar_menu6.promotions) === null || _theme$bar_menu6 === void 0 ? void 0 : _theme$bar_menu6.hidden;
126
126
  var profileOptions = [{
127
127
  name: 'wallets',
128
128
  pathname: '/wallets',
@@ -235,12 +235,12 @@ var UserProfileFormUI = function UserProfileFormUI(props) {
235
235
  var _verifyPhoneState$res2;
236
236
  setAlertState({
237
237
  open: true,
238
- content: (verifyPhoneState === null || verifyPhoneState === void 0 ? void 0 : (_verifyPhoneState$res2 = verifyPhoneState.result) === null || _verifyPhoneState$res2 === void 0 ? void 0 : _verifyPhoneState$res2.result) || [t('ERROR', 'Error')]
238
+ content: (verifyPhoneState === null || verifyPhoneState === void 0 || (_verifyPhoneState$res2 = verifyPhoneState.result) === null || _verifyPhoneState$res2 === void 0 ? void 0 : _verifyPhoneState$res2.result) || [t('ERROR', 'Error')]
239
239
  });
240
240
  } else {
241
241
  resetOtpLeftTime();
242
242
  }
243
- }, [verifyPhoneState === null || verifyPhoneState === void 0 ? void 0 : (_verifyPhoneState$res3 = verifyPhoneState.result) === null || _verifyPhoneState$res3 === void 0 ? void 0 : _verifyPhoneState$res3.result]);
243
+ }, [verifyPhoneState === null || verifyPhoneState === void 0 || (_verifyPhoneState$res3 = verifyPhoneState.result) === null || _verifyPhoneState$res3 === void 0 ? void 0 : _verifyPhoneState$res3.result]);
244
244
  (0, _react.useEffect)(function () {
245
245
  toggleIsEdit();
246
246
  }, []);
@@ -279,7 +279,7 @@ var UserProfileFormUI = function UserProfileFormUI(props) {
279
279
  onClick: function onClick() {
280
280
  return handleClickImage();
281
281
  },
282
- isImage: (user === null || user === void 0 ? void 0 : user.photo) || (formState === null || formState === void 0 ? void 0 : (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.photo) && !formState.result.error
282
+ isImage: (user === null || user === void 0 ? void 0 : user.photo) || (formState === null || formState === void 0 || (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.photo) && !formState.result.error
283
283
  }, /*#__PURE__*/_react.default.createElement(_orderingComponentsExternal.ExamineClick, {
284
284
  onFiles: handleFiles,
285
285
  childRef: function childRef(e) {
@@ -299,8 +299,8 @@ var UserProfileFormUI = function UserProfileFormUI(props) {
299
299
  width: "200px",
300
300
  height: "200px",
301
301
  loading: "lazy"
302
- }) : /*#__PURE__*/_react.default.createElement(_styles.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_BiImage.default, null), /*#__PURE__*/_react.default.createElement("span", null, t('DRAG_DROP_IMAGE_HERE', 'Put your image here'))) : (formState === null || formState === void 0 ? void 0 : (_formState$changes9 = formState.changes) === null || _formState$changes9 === void 0 ? void 0 : _formState$changes9.photo) && formState.result.error && /*#__PURE__*/_react.default.createElement("img", {
303
- src: formState === null || formState === void 0 ? void 0 : (_formState$changes10 = formState.changes) === null || _formState$changes10 === void 0 ? void 0 : _formState$changes10.photo,
302
+ }) : /*#__PURE__*/_react.default.createElement(_styles.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_BiImage.default, null), /*#__PURE__*/_react.default.createElement("span", null, t('DRAG_DROP_IMAGE_HERE', 'Put your image here'))) : (formState === null || formState === void 0 || (_formState$changes9 = formState.changes) === null || _formState$changes9 === void 0 ? void 0 : _formState$changes9.photo) && formState.result.error && /*#__PURE__*/_react.default.createElement("img", {
303
+ src: formState === null || formState === void 0 || (_formState$changes10 = formState.changes) === null || _formState$changes10 === void 0 ? void 0 : _formState$changes10.photo,
304
304
  alt: "user image",
305
305
  loading: "lazy"
306
306
  })))), /*#__PURE__*/_react.default.createElement(_styles.Camera, null, /*#__PURE__*/_react.default.createElement(_FiCamera.default, null))), windowSize.width <= 576 && /*#__PURE__*/_react.default.createElement(_styles.ProfileOptionsList, null, profileOptions.map(function (option, i) {
@@ -42,7 +42,7 @@ var UserDetails = function UserDetails(props) {
42
42
  return /*#__PURE__*/_react.default.createElement(_orderingComponentsExternal.UserFormDetails, userDetailsProps);
43
43
  };
44
44
  var UserVerificationUI = function UserVerificationUI(props) {
45
- var _configs$verification, _configs$verification2, _phoneState$cellphone, _phoneState$cellphone2, _phoneState$cellphone3;
45
+ var _configs$verification, _configs$verification2, _phoneState$cellphone, _phoneState$cellphone2;
46
46
  var verifyEmailState = props.verifyEmailState,
47
47
  verifyPhoneState = props.verifyPhoneState,
48
48
  sendVerifyEmailCode = props.sendVerifyEmailCode,
@@ -87,10 +87,10 @@ var UserVerificationUI = function UserVerificationUI(props) {
87
87
  _useState10 = _slicedToArray(_useState9, 2),
88
88
  modalIsOpen = _useState10[0],
89
89
  setModalIsOpen = _useState10[1];
90
- var isEmailVerifyRequired = auth && (configs === null || configs === void 0 ? void 0 : (_configs$verification = configs.verification_email_required) === null || _configs$verification === void 0 ? void 0 : _configs$verification.value) === '1' && !(user !== null && user !== void 0 && user.email_verified);
91
- var isPhoneVerifyRequired = auth && (configs === null || configs === void 0 ? void 0 : (_configs$verification2 = configs.verification_phone_required) === null || _configs$verification2 === void 0 ? void 0 : _configs$verification2.value) === '1' && !(user !== null && user !== void 0 && user.phone_verified);
92
- var phoneLength = (phoneState === null || phoneState === void 0 ? void 0 : phoneState.cellphone) && (phoneState === null || phoneState === void 0 ? void 0 : phoneState.country_phone_code) && (phoneState === null || phoneState === void 0 ? void 0 : (_phoneState$cellphone = phoneState.cellphone) === null || _phoneState$cellphone === void 0 ? void 0 : (_phoneState$cellphone2 = _phoneState$cellphone.split('')) === null || _phoneState$cellphone2 === void 0 ? void 0 : _phoneState$cellphone2.length);
93
- var lastNumbers = (phoneState === null || phoneState === void 0 ? void 0 : phoneState.cellphone) && (phoneState === null || phoneState === void 0 ? void 0 : phoneState.country_phone_code) && (phoneState === null || phoneState === void 0 ? void 0 : (_phoneState$cellphone3 = phoneState.cellphone) === null || _phoneState$cellphone3 === void 0 ? void 0 : _phoneState$cellphone3.split('').fill('*', 0, phoneLength - 2).join(''));
90
+ var isEmailVerifyRequired = auth && (configs === null || configs === void 0 || (_configs$verification = configs.verification_email_required) === null || _configs$verification === void 0 ? void 0 : _configs$verification.value) === '1' && !(user !== null && user !== void 0 && user.email_verified);
91
+ var isPhoneVerifyRequired = auth && (configs === null || configs === void 0 || (_configs$verification2 = configs.verification_phone_required) === null || _configs$verification2 === void 0 ? void 0 : _configs$verification2.value) === '1' && !(user !== null && user !== void 0 && user.phone_verified);
92
+ var phoneLength = (phoneState === null || phoneState === void 0 ? void 0 : phoneState.cellphone) && (phoneState === null || phoneState === void 0 ? void 0 : phoneState.country_phone_code) && (phoneState === null || phoneState === void 0 || (_phoneState$cellphone = phoneState.cellphone) === null || _phoneState$cellphone === void 0 || (_phoneState$cellphone = _phoneState$cellphone.split('')) === null || _phoneState$cellphone === void 0 ? void 0 : _phoneState$cellphone.length);
93
+ var lastNumbers = (phoneState === null || phoneState === void 0 ? void 0 : phoneState.cellphone) && (phoneState === null || phoneState === void 0 ? void 0 : phoneState.country_phone_code) && (phoneState === null || phoneState === void 0 || (_phoneState$cellphone2 = phoneState.cellphone) === null || _phoneState$cellphone2 === void 0 ? void 0 : _phoneState$cellphone2.split('').fill('*', 0, phoneLength - 2).join(''));
94
94
  var _useCountdownTimer = (0, _useCountdownTimer3.useCountdownTimer)(600, isEmailVerifyRequired ? verificationState.email : verificationState.phone),
95
95
  _useCountdownTimer2 = _slicedToArray(_useCountdownTimer, 3),
96
96
  otpLeftTime = _useCountdownTimer2[0],
@@ -148,14 +148,14 @@ var UserVerificationUI = function UserVerificationUI(props) {
148
148
  var _ref, _verifyEmailState$err, _verifyEmailState$err2, _verifyEmailState$err3;
149
149
  setAlertState({
150
150
  open: true,
151
- content: (_ref = (_verifyEmailState$err = verifyEmailState === null || verifyEmailState === void 0 ? void 0 : (_verifyEmailState$err2 = verifyEmailState.errorSendCode) === null || _verifyEmailState$err2 === void 0 ? void 0 : _verifyEmailState$err2[0]) !== null && _verifyEmailState$err !== void 0 ? _verifyEmailState$err : verifyEmailState === null || verifyEmailState === void 0 ? void 0 : (_verifyEmailState$err3 = verifyEmailState.errorCheckCode) === null || _verifyEmailState$err3 === void 0 ? void 0 : _verifyEmailState$err3[0]) !== null && _ref !== void 0 ? _ref : t('ERROR', 'Error')
151
+ content: (_ref = (_verifyEmailState$err = verifyEmailState === null || verifyEmailState === void 0 || (_verifyEmailState$err2 = verifyEmailState.errorSendCode) === null || _verifyEmailState$err2 === void 0 ? void 0 : _verifyEmailState$err2[0]) !== null && _verifyEmailState$err !== void 0 ? _verifyEmailState$err : verifyEmailState === null || verifyEmailState === void 0 || (_verifyEmailState$err3 = verifyEmailState.errorCheckCode) === null || _verifyEmailState$err3 === void 0 ? void 0 : _verifyEmailState$err3[0]) !== null && _ref !== void 0 ? _ref : t('ERROR', 'Error')
152
152
  });
153
153
  }
154
154
  if (verifyPhoneState !== null && verifyPhoneState !== void 0 && verifyPhoneState.errorSendCode || verifyPhoneState !== null && verifyPhoneState !== void 0 && verifyPhoneState.errorCheckCode) {
155
155
  var _ref2, _verifyPhoneState$err, _verifyPhoneState$err2, _verifyPhoneState$err3;
156
156
  setAlertState({
157
157
  open: true,
158
- content: (_ref2 = (_verifyPhoneState$err = verifyPhoneState === null || verifyPhoneState === void 0 ? void 0 : (_verifyPhoneState$err2 = verifyPhoneState.errorSendCode) === null || _verifyPhoneState$err2 === void 0 ? void 0 : _verifyPhoneState$err2[0]) !== null && _verifyPhoneState$err !== void 0 ? _verifyPhoneState$err : verifyPhoneState === null || verifyPhoneState === void 0 ? void 0 : (_verifyPhoneState$err3 = verifyPhoneState.errorCheckCode) === null || _verifyPhoneState$err3 === void 0 ? void 0 : _verifyPhoneState$err3[0]) !== null && _ref2 !== void 0 ? _ref2 : t('ERROR', 'Error')
158
+ content: (_ref2 = (_verifyPhoneState$err = verifyPhoneState === null || verifyPhoneState === void 0 || (_verifyPhoneState$err2 = verifyPhoneState.errorSendCode) === null || _verifyPhoneState$err2 === void 0 ? void 0 : _verifyPhoneState$err2[0]) !== null && _verifyPhoneState$err !== void 0 ? _verifyPhoneState$err : verifyPhoneState === null || verifyPhoneState === void 0 || (_verifyPhoneState$err3 = verifyPhoneState.errorCheckCode) === null || _verifyPhoneState$err3 === void 0 ? void 0 : _verifyPhoneState$err3[0]) !== null && _ref2 !== void 0 ? _ref2 : t('ERROR', 'Error')
159
159
  });
160
160
  }
161
161
  }, [verifyEmailState, verifyPhoneState]);
@@ -16,7 +16,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
16
16
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
17
17
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
18
18
  var WalletTransactionItem = function WalletTransactionItem(props) {
19
- var _item$event, _item$description, _itemDescription$pop, _item$event$author$na, _item$event2, _item$event2$author, _item$event$order_id, _item$event3, _itemDescription$join;
19
+ var _item$event, _item$description, _itemDescription$pop, _item$event$author$na, _item$event2, _item$event$order_id, _item$event3, _itemDescription$join;
20
20
  var item = props.item,
21
21
  idx = props.idx,
22
22
  type = props.type;
@@ -31,7 +31,7 @@ var WalletTransactionItem = function WalletTransactionItem(props) {
31
31
  t = _useLanguage2[1];
32
32
  var LANG_EVENT_KEY = "WALLET_".concat(type.toUpperCase(), "_").concat(item === null || item === void 0 ? void 0 : item.event.toUpperCase(), "_").concat(item === null || item === void 0 ? void 0 : item.event_type.toUpperCase(), "_").concat((item === null || item === void 0 ? void 0 : item.amount) >= 0 ? 'POSITIVE' : 'NEGATIVE');
33
33
  var lang_event_text = !!(item !== null && item !== void 0 && (_item$event = item.event) !== null && _item$event !== void 0 && _item$event.order_id) ? ":author ".concat((item === null || item === void 0 ? void 0 : item.amount) >= 0 ? 'Add' : 'Reduce', " money in Order No. :order_id") : ":author ".concat((item === null || item === void 0 ? void 0 : item.amount) >= 0 ? 'Add' : 'Reduce', " money");
34
- var itemDescription = item === null || item === void 0 ? void 0 : (_item$description = item.description) === null || _item$description === void 0 ? void 0 : _item$description.split(' ');
34
+ var itemDescription = item === null || item === void 0 || (_item$description = item.description) === null || _item$description === void 0 ? void 0 : _item$description.split(' ');
35
35
  var order_id = (_itemDescription$pop = itemDescription === null || itemDescription === void 0 ? void 0 : itemDescription.pop()) !== null && _itemDescription$pop !== void 0 ? _itemDescription$pop : '';
36
36
  return /*#__PURE__*/_react.default.createElement(_styles.Container, null, /*#__PURE__*/_react.default.createElement(_styles.Dot, {
37
37
  isTop: idx === 0
@@ -40,6 +40,6 @@ var WalletTransactionItem = function WalletTransactionItem(props) {
40
40
  color: (item === null || item === void 0 ? void 0 : item.amount) > 0 && theme.colors.primary,
41
41
  fontWeight: 'bold'
42
42
  }
43
- }, (item === null || item === void 0 ? void 0 : item.amount) > 0 && '+ ', type !== 'credit_point' ? parsePrice(item === null || item === void 0 ? void 0 : item.amount) : item === null || item === void 0 ? void 0 : item.amount)), /*#__PURE__*/_react.default.createElement(_styles.MessageBlock, null, /*#__PURE__*/_react.default.createElement("span", null, t(LANG_EVENT_KEY, lang_event_text).replace(':author', (_item$event$author$na = item === null || item === void 0 ? void 0 : (_item$event2 = item.event) === null || _item$event2 === void 0 ? void 0 : (_item$event2$author = _item$event2.author) === null || _item$event2$author === void 0 ? void 0 : _item$event2$author.name) !== null && _item$event$author$na !== void 0 ? _item$event$author$na : '').replace(':order_id', (_item$event$order_id = item === null || item === void 0 ? void 0 : (_item$event3 = item.event) === null || _item$event3 === void 0 ? void 0 : _item$event3.order_id) !== null && _item$event$order_id !== void 0 ? _item$event$order_id : ''))), !!(item !== null && item !== void 0 && item.description) && /*#__PURE__*/_react.default.createElement(_styles.DescriptionBlock, null, /*#__PURE__*/_react.default.createElement("span", null, "".concat(t('ACCUMULATION_CREDIT_POINT_BY_ORDER', (_itemDescription$join = itemDescription === null || itemDescription === void 0 ? void 0 : itemDescription.join(' ')) !== null && _itemDescription$join !== void 0 ? _itemDescription$join : 'Accumulation credit point by order'), " ").concat(order_id))), !!(item !== null && item !== void 0 && item.code) && /*#__PURE__*/_react.default.createElement(_styles.DescriptionBlock, null, /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement("strong", null, t('CODE', 'Code'), ":"), " ", item === null || item === void 0 ? void 0 : item.code)));
43
+ }, (item === null || item === void 0 ? void 0 : item.amount) > 0 && '+ ', type !== 'credit_point' ? parsePrice(item === null || item === void 0 ? void 0 : item.amount) : item === null || item === void 0 ? void 0 : item.amount)), /*#__PURE__*/_react.default.createElement(_styles.MessageBlock, null, /*#__PURE__*/_react.default.createElement("span", null, t(LANG_EVENT_KEY, lang_event_text).replace(':author', (_item$event$author$na = item === null || item === void 0 || (_item$event2 = item.event) === null || _item$event2 === void 0 || (_item$event2 = _item$event2.author) === null || _item$event2 === void 0 ? void 0 : _item$event2.name) !== null && _item$event$author$na !== void 0 ? _item$event$author$na : '').replace(':order_id', (_item$event$order_id = item === null || item === void 0 || (_item$event3 = item.event) === null || _item$event3 === void 0 ? void 0 : _item$event3.order_id) !== null && _item$event$order_id !== void 0 ? _item$event$order_id : ''))), !!(item !== null && item !== void 0 && item.description) && /*#__PURE__*/_react.default.createElement(_styles.DescriptionBlock, null, /*#__PURE__*/_react.default.createElement("span", null, "".concat(t('ACCUMULATION_CREDIT_POINT_BY_ORDER', (_itemDescription$join = itemDescription === null || itemDescription === void 0 ? void 0 : itemDescription.join(' ')) !== null && _itemDescription$join !== void 0 ? _itemDescription$join : 'Accumulation credit point by order'), " ").concat(order_id))), !!(item !== null && item !== void 0 && item.code) && /*#__PURE__*/_react.default.createElement(_styles.DescriptionBlock, null, /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement("strong", null, t('CODE', 'Code'), ":"), " ", item === null || item === void 0 ? void 0 : item.code)));
44
44
  };
45
45
  exports.WalletTransactionItem = WalletTransactionItem;
@@ -32,7 +32,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
32
32
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
33
33
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
34
34
  var WalletsUI = function WalletsUI(props) {
35
- var _ref, _walletList$wallets, _walletList$wallets2, _userLoyaltyLevel$loy, _walletList$wallets3, _walletList$wallets4, _configs$stripe_curre, _transactionsList$lis, _transactionsList$lis2, _transactionsList$lis3, _transactionsList$lis4, _loyaltyLevel$image, _transactionsList$lis5, _transactionsList$lis6, _walletList$wallets5, _walletList$wallets6;
35
+ var _ref, _walletList$wallets, _walletList$wallets2, _userLoyaltyLevel$loy, _walletList$wallets3, _walletList$wallets4, _configs$stripe_curre, _transactionsList$lis, _transactionsList$lis2, _loyaltyLevel$image, _transactionsList$lis3, _walletList$wallets5, _walletList$wallets6;
36
36
  var walletList = props.walletList,
37
37
  userLoyaltyLevel = props.userLoyaltyLevel,
38
38
  transactionsList = props.transactionsList,
@@ -89,13 +89,13 @@ var WalletsUI = function WalletsUI(props) {
89
89
  }, (_walletName$wallet$ty2 = walletName[wallet.type]) === null || _walletName$wallet$ty2 === void 0 ? void 0 : _walletName$wallet$ty2.name);
90
90
  }))), /*#__PURE__*/_react.default.createElement(_styles.WrapContent, null, /*#__PURE__*/_react.default.createElement(_styles.Transactions, {
91
91
  isLoyaltyLevel: !!loyaltyLevel
92
- }, /*#__PURE__*/_react.default.createElement(_styles.SectionWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.BalanceElement, null, /*#__PURE__*/_react.default.createElement("h1", null, (currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.type) === 'cash' ? parsePrice(currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.balance) : currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.balance), /*#__PURE__*/_react.default.createElement("span", null, (currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.type) === 'cash' ? configs === null || configs === void 0 ? void 0 : (_configs$stripe_curre = configs.stripe_currency) === null || _configs$stripe_curre === void 0 ? void 0 : _configs$stripe_curre.value : t('POINTS', 'Points')))), (currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.type) === 'cash' && /*#__PURE__*/_react.default.createElement(_GiftCardUI.GiftCardUI, null), /*#__PURE__*/_react.default.createElement("div", {
92
+ }, /*#__PURE__*/_react.default.createElement(_styles.SectionWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.BalanceElement, null, /*#__PURE__*/_react.default.createElement("h1", null, (currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.type) === 'cash' ? parsePrice(currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.balance) : currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.balance), /*#__PURE__*/_react.default.createElement("span", null, (currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.type) === 'cash' ? configs === null || configs === void 0 || (_configs$stripe_curre = configs.stripe_currency) === null || _configs$stripe_curre === void 0 ? void 0 : _configs$stripe_curre.value : t('POINTS', 'Points')))), (currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.type) === 'cash' && /*#__PURE__*/_react.default.createElement(_GiftCardUI.GiftCardUI, null), /*#__PURE__*/_react.default.createElement("div", {
93
93
  className: "transactions_list"
94
- }, !(transactionsList !== null && transactionsList !== void 0 && transactionsList.loading) && ((_transactionsList$lis = transactionsList.list) === null || _transactionsList$lis === void 0 ? void 0 : (_transactionsList$lis2 = _transactionsList$lis["wallet:".concat(currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.id)]) === null || _transactionsList$lis2 === void 0 ? void 0 : _transactionsList$lis2.length) > 0 && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("h2", {
94
+ }, !(transactionsList !== null && transactionsList !== void 0 && transactionsList.loading) && ((_transactionsList$lis = transactionsList.list) === null || _transactionsList$lis === void 0 || (_transactionsList$lis = _transactionsList$lis["wallet:".concat(currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.id)]) === null || _transactionsList$lis === void 0 ? void 0 : _transactionsList$lis.length) > 0 && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("h2", {
95
95
  style: {
96
96
  fontSize: 20
97
97
  }
98
- }, t('TRANSACTIONS_HISTORY', 'Transactions history')), /*#__PURE__*/_react.default.createElement(_styles.TransactionsWrapper, null, (_transactionsList$lis3 = transactionsList.list) === null || _transactionsList$lis3 === void 0 ? void 0 : (_transactionsList$lis4 = _transactionsList$lis3["wallet:".concat(currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.id)]) === null || _transactionsList$lis4 === void 0 ? void 0 : _transactionsList$lis4.map(function (transaction, i) {
98
+ }, t('TRANSACTIONS_HISTORY', 'Transactions history')), /*#__PURE__*/_react.default.createElement(_styles.TransactionsWrapper, null, (_transactionsList$lis2 = transactionsList.list) === null || _transactionsList$lis2 === void 0 || (_transactionsList$lis2 = _transactionsList$lis2["wallet:".concat(currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.id)]) === null || _transactionsList$lis2 === void 0 ? void 0 : _transactionsList$lis2.map(function (transaction, i) {
99
99
  return /*#__PURE__*/_react.default.createElement(_WalletTransactionItem.WalletTransactionItem, {
100
100
  idx: i,
101
101
  type: currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.type,
@@ -147,15 +147,15 @@ var WalletsUI = function WalletsUI(props) {
147
147
  }, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
148
148
  height: 40
149
149
  }));
150
- }))), !(transactionsList !== null && transactionsList !== void 0 && transactionsList.loading) && ((transactionsList === null || transactionsList === void 0 ? void 0 : transactionsList.error) || !((_transactionsList$lis5 = transactionsList.list) !== null && _transactionsList$lis5 !== void 0 && (_transactionsList$lis6 = _transactionsList$lis5["wallet:".concat(currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.id)]) !== null && _transactionsList$lis6 !== void 0 && _transactionsList$lis6.length)) && !walletList.loading && !userLoyaltyLevel.loading && !walletList.error && ((_walletList$wallets5 = walletList.wallets) === null || _walletList$wallets5 === void 0 ? void 0 : _walletList$wallets5.length) > 0 && /*#__PURE__*/_react.default.createElement(_styles.NotFoundText, null, transactionsList !== null && transactionsList !== void 0 && transactionsList.error ? t('ERROR_NOT_FOUND_TRANSACTIONS', 'Sorry, an error has occurred') : t('NOT_FOUND_TRANSACTIONS', 'No transactions to show at this time.')), !(walletList !== null && walletList !== void 0 && walletList.loading) && !userLoyaltyLevel.loading && ((walletList === null || walletList === void 0 ? void 0 : walletList.error) || !(walletList !== null && walletList !== void 0 && (_walletList$wallets6 = walletList.wallets) !== null && _walletList$wallets6 !== void 0 && _walletList$wallets6.length)) && /*#__PURE__*/_react.default.createElement(_styles.NotFoundText, null, walletList !== null && walletList !== void 0 && walletList.error ? t('ERROR_NOT_FOUND_WALLETS', 'Sorry, an error has occurred') : t('NOT_FOUND_WALLETS', 'No wallets to show at this time.')));
150
+ }))), !(transactionsList !== null && transactionsList !== void 0 && transactionsList.loading) && ((transactionsList === null || transactionsList === void 0 ? void 0 : transactionsList.error) || !((_transactionsList$lis3 = transactionsList.list) !== null && _transactionsList$lis3 !== void 0 && (_transactionsList$lis3 = _transactionsList$lis3["wallet:".concat(currentWalletSelected === null || currentWalletSelected === void 0 ? void 0 : currentWalletSelected.id)]) !== null && _transactionsList$lis3 !== void 0 && _transactionsList$lis3.length)) && !walletList.loading && !userLoyaltyLevel.loading && !walletList.error && ((_walletList$wallets5 = walletList.wallets) === null || _walletList$wallets5 === void 0 ? void 0 : _walletList$wallets5.length) > 0 && /*#__PURE__*/_react.default.createElement(_styles.NotFoundText, null, transactionsList !== null && transactionsList !== void 0 && transactionsList.error ? t('ERROR_NOT_FOUND_TRANSACTIONS', 'Sorry, an error has occurred') : t('NOT_FOUND_TRANSACTIONS', 'No transactions to show at this time.')), !(walletList !== null && walletList !== void 0 && walletList.loading) && !userLoyaltyLevel.loading && ((walletList === null || walletList === void 0 ? void 0 : walletList.error) || !(walletList !== null && walletList !== void 0 && (_walletList$wallets6 = walletList.wallets) !== null && _walletList$wallets6 !== void 0 && _walletList$wallets6.length)) && /*#__PURE__*/_react.default.createElement(_styles.NotFoundText, null, walletList !== null && walletList !== void 0 && walletList.error ? t('ERROR_NOT_FOUND_WALLETS', 'Sorry, an error has occurred') : t('NOT_FOUND_WALLETS', 'No wallets to show at this time.')));
151
151
  };
152
152
  var Wallets = function Wallets(props) {
153
153
  var _configs$wallet_cash_, _configs$wallet_credi;
154
154
  var _useConfig3 = (0, _orderingComponentsExternal.useConfig)(),
155
155
  _useConfig4 = _slicedToArray(_useConfig3, 1),
156
156
  configs = _useConfig4[0].configs;
157
- var isWalletCashEnabled = (configs === null || configs === void 0 ? void 0 : (_configs$wallet_cash_ = configs.wallet_cash_enabled) === null || _configs$wallet_cash_ === void 0 ? void 0 : _configs$wallet_cash_.value) === '1';
158
- var isWalletPointsEnabled = (configs === null || configs === void 0 ? void 0 : (_configs$wallet_credi = configs.wallet_credit_point_enabled) === null || _configs$wallet_credi === void 0 ? void 0 : _configs$wallet_credi.value) === '1';
157
+ var isWalletCashEnabled = (configs === null || configs === void 0 || (_configs$wallet_cash_ = configs.wallet_cash_enabled) === null || _configs$wallet_cash_ === void 0 ? void 0 : _configs$wallet_cash_.value) === '1';
158
+ var isWalletPointsEnabled = (configs === null || configs === void 0 || (_configs$wallet_credi = configs.wallet_credit_point_enabled) === null || _configs$wallet_credi === void 0 ? void 0 : _configs$wallet_credi.value) === '1';
159
159
  var walletsProps = _objectSpread(_objectSpread({}, props), {}, {
160
160
  UIComponent: WalletsUI,
161
161
  isWalletCashEnabled: isWalletCashEnabled,