ordering-ui-external 10.2.2 → 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 (818) hide show
  1. package/_bundles/{7.ordering-ui.2c4c0317bc47a947e415.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 +17 -3
  310. package/_modules/themes/five/src/components/GiftCard/PurchaseGiftCard/styles.js +23 -11
  311. package/_modules/themes/five/src/components/GiftCard/RedeemGiftCard/index.js +1 -1
  312. package/_modules/themes/five/src/components/Header/index.js +43 -43
  313. package/_modules/themes/five/src/components/Header/layouts/Kiosk/index.js +7 -7
  314. package/_modules/themes/five/src/components/Header/styles.js +14 -14
  315. package/_modules/themes/five/src/components/HeaderOption/index.js +3 -3
  316. package/_modules/themes/five/src/components/HighestRated/index.js +7 -7
  317. package/_modules/themes/five/src/components/HomeHero/index.js +5 -5
  318. package/_modules/themes/five/src/components/HomeHero/layouts/KioskHomeHero/index.js +5 -5
  319. package/_modules/themes/five/src/components/HomeHero/layouts/OriginalHomeHero/index.js +25 -25
  320. package/_modules/themes/five/src/components/HomeHero/layouts/RedHomeHero/index.js +16 -16
  321. package/_modules/themes/five/src/components/HomeHero/layouts/StarbucksHomeHero/index.js +3 -3
  322. package/_modules/themes/five/src/components/HomeHero/layouts/StarbucksHomeHero/styles.js +4 -4
  323. package/_modules/themes/five/src/components/HorizontalOrdersLayout/index.js +1 -1
  324. package/_modules/themes/five/src/components/InputPhoneNumber/index.js +2 -2
  325. package/_modules/themes/five/src/components/LanguageSelector/index.js +1 -1
  326. package/_modules/themes/five/src/components/LastOrders/index.js +7 -7
  327. package/_modules/themes/five/src/components/LoginForm/index.js +27 -27
  328. package/_modules/themes/five/src/components/LogoutPopup/index.js +2 -2
  329. package/_modules/themes/five/src/components/Messages/MapMessages.js +2 -2
  330. package/_modules/themes/five/src/components/Messages/index.js +6 -6
  331. package/_modules/themes/five/src/components/MessagesListing/index.js +6 -6
  332. package/_modules/themes/five/src/components/Modal/styles.js +1 -1
  333. package/_modules/themes/five/src/components/MomentContent/index.js +4 -4
  334. package/_modules/themes/five/src/components/MomentControl/Layouts/CustomLayout/index.js +1 -1
  335. package/_modules/themes/five/src/components/MomentControl/index.js +7 -7
  336. package/_modules/themes/five/src/components/MomentControl/styles.js +2 -2
  337. package/_modules/themes/five/src/components/MultiCartsPaymethodsAndWallets/index.js +15 -15
  338. package/_modules/themes/five/src/components/MultiCheckout/index.js +41 -41
  339. package/_modules/themes/five/src/components/MultiOrdersDetails/SingleOrderCard.js +8 -8
  340. package/_modules/themes/five/src/components/MultiOrdersDetails/index.js +5 -5
  341. package/_modules/themes/five/src/components/MultiOrdersDetails/styles.js +2 -2
  342. package/_modules/themes/five/src/components/MyOrders/index.js +4 -4
  343. package/_modules/themes/five/src/components/NavigationBar/index.js +6 -6
  344. package/_modules/themes/five/src/components/NotNetworkConnectivity/index.js +2 -2
  345. package/_modules/themes/five/src/components/OrderContextUI/index.js +9 -9
  346. package/_modules/themes/five/src/components/OrderDetails/ActionsSection.js +2 -2
  347. package/_modules/themes/five/src/components/OrderDetails/OrderActionsSection.js +1 -1
  348. package/_modules/themes/five/src/components/OrderDetails/OrderBillSection.js +36 -36
  349. package/_modules/themes/five/src/components/OrderDetails/OrderEta.js +1 -1
  350. package/_modules/themes/five/src/components/OrderDetails/OrderHeaderInfoSection.js +1 -1
  351. package/_modules/themes/five/src/components/OrderDetails/OrderHistory.js +2 -2
  352. package/_modules/themes/five/src/components/OrderDetails/OrderPreferencesSections.js +1 -1
  353. package/_modules/themes/five/src/components/OrderDetails/index.js +67 -67
  354. package/_modules/themes/five/src/components/OrderDetails/layouts/Kiosk/index.js +42 -42
  355. package/_modules/themes/five/src/components/OrderDetails/styles.js +2 -2
  356. package/_modules/themes/five/src/components/OrderItAgain/styles.js +2 -2
  357. package/_modules/themes/five/src/components/OrderProgress/index.js +8 -8
  358. package/_modules/themes/five/src/components/OrderTypeSelectorContent/index.js +22 -22
  359. package/_modules/themes/five/src/components/OrderTypeSelectorContent/layouts/Kiosk/index.js +7 -7
  360. package/_modules/themes/five/src/components/OrderTypeSelectorHeader/index.js +1 -1
  361. package/_modules/themes/five/src/components/OrdersOption/PreviousBusinessOrdered/index.js +5 -5
  362. package/_modules/themes/five/src/components/OrdersOption/PreviousProductsOrdered/index.js +4 -4
  363. package/_modules/themes/five/src/components/OrdersOption/index.js +13 -13
  364. package/_modules/themes/five/src/components/PageBanner/index.js +5 -5
  365. package/_modules/themes/five/src/components/PaymentOptionCard/index.js +1 -1
  366. package/_modules/themes/five/src/components/PaymentOptionCash/index.js +2 -2
  367. package/_modules/themes/five/src/components/PaymentOptionStripe/index.js +8 -8
  368. package/_modules/themes/five/src/components/PaymentOptionStripe/styles.js +1 -1
  369. package/_modules/themes/five/src/components/PaymentOptionWallet/index.js +3 -3
  370. package/_modules/themes/five/src/components/PaymentOptions/index.js +35 -35
  371. package/_modules/themes/five/src/components/PhoneAutocomplete/index.js +12 -12
  372. package/_modules/themes/five/src/components/PhoneAutocomplete/styles.js +6 -6
  373. package/_modules/themes/five/src/components/PlaceSpot/index.js +14 -14
  374. package/_modules/themes/five/src/components/ProductForm/index.js +34 -34
  375. package/_modules/themes/five/src/components/ProductForm/styles.js +18 -18
  376. package/_modules/themes/five/src/components/ProductItemAccordion/index.js +8 -8
  377. package/_modules/themes/five/src/components/ProductOption/styles.js +2 -2
  378. package/_modules/themes/five/src/components/ProductOptionSubOption/index.js +2 -2
  379. package/_modules/themes/five/src/components/ProductShare/ProductCopyURL.js +2 -2
  380. package/_modules/themes/five/src/components/ProfessionalBusinessFilter/index.js +1 -1
  381. package/_modules/themes/five/src/components/ProfessionalInfo/index.js +4 -4
  382. package/_modules/themes/five/src/components/Promotions/index.js +6 -6
  383. package/_modules/themes/five/src/components/RenderProductsLayout/index.js +32 -32
  384. package/_modules/themes/five/src/components/ResetPassword/index.js +8 -8
  385. package/_modules/themes/five/src/components/ReviewDriver/index.js +4 -4
  386. package/_modules/themes/five/src/components/ReviewOrder/index.js +7 -7
  387. package/_modules/themes/five/src/components/ReviewProduct/index.js +4 -4
  388. package/_modules/themes/five/src/components/ReviewProfessional/index.js +5 -5
  389. package/_modules/themes/five/src/components/ReviewTrigger/index.js +5 -5
  390. package/_modules/themes/five/src/components/ScheduleAccordion/index.js +1 -1
  391. package/_modules/themes/five/src/components/ScheduleAccordion/styles.js +2 -2
  392. package/_modules/themes/five/src/components/SearchBar/index.js +2 -2
  393. package/_modules/themes/five/src/components/SearchBar/styles.js +6 -6
  394. package/_modules/themes/five/src/components/SearchProducts/index.js +6 -6
  395. package/_modules/themes/five/src/components/ServiceForm/index.js +40 -34
  396. package/_modules/themes/five/src/components/SidebarMenu/index.js +17 -17
  397. package/_modules/themes/five/src/components/SignUpApproval/index.js +2 -2
  398. package/_modules/themes/five/src/components/SignUpBusiness/layouts/NewSignUpBusiness/index.js +14 -14
  399. package/_modules/themes/five/src/components/SignUpBusiness/layouts/OldSignUpBusiness/index.js +14 -14
  400. package/_modules/themes/five/src/components/SignUpDriver/layouts/NewSignUpDriver/index.js +14 -14
  401. package/_modules/themes/five/src/components/SignUpDriver/layouts/OldSignUpDriver/index.js +14 -14
  402. package/_modules/themes/five/src/components/SignUpForm/index.js +39 -39
  403. package/_modules/themes/five/src/components/SingleOrderCard/index.js +23 -23
  404. package/_modules/themes/five/src/components/SingleProductCard/index.js +2 -2
  405. package/_modules/themes/five/src/components/SingleProductCard/layouts/original/index.js +19 -19
  406. package/_modules/themes/five/src/components/SingleProductCard/layouts/original/styles.js +5 -5
  407. package/_modules/themes/five/src/components/SingleProductCard/layouts/starbucks/index.js +17 -17
  408. package/_modules/themes/five/src/components/SingleProductCard/layouts/starbucks/styles.js +6 -6
  409. package/_modules/themes/five/src/components/SingleProfessionalCard/index.js +1 -1
  410. package/_modules/themes/five/src/components/UpsellingPage/index.js +1 -1
  411. package/_modules/themes/five/src/components/UserDetails/index.js +3 -3
  412. package/_modules/themes/five/src/components/UserFormDetails/index.js +23 -23
  413. package/_modules/themes/five/src/components/UserPopover/index.js +20 -20
  414. package/_modules/themes/five/src/components/UserPopover/styles.js +2 -2
  415. package/_modules/themes/five/src/components/UserProfileForm/ProfileOptions/index.js +2 -2
  416. package/_modules/themes/five/src/components/UserProfileForm/index.js +20 -20
  417. package/_modules/themes/five/src/components/UserVerification/index.js +7 -7
  418. package/_modules/themes/five/src/components/WalletTransactionItem/index.js +3 -3
  419. package/_modules/themes/five/src/components/Wallets/index.js +7 -7
  420. package/_modules/themes/five/src/styles/Buttons/index.js +17 -17
  421. package/_modules/themes/five/src/styles/Inputs/index.js +12 -12
  422. package/_modules/themes/four/src/components/AddressDetails/index.js +7 -7
  423. package/_modules/themes/four/src/components/AddressForm/index.js +31 -31
  424. package/_modules/themes/four/src/components/AddressList/index.js +11 -11
  425. package/_modules/themes/four/src/components/AddressesPopover/index.js +4 -4
  426. package/_modules/themes/four/src/components/AppleLogin/index.js +4 -4
  427. package/_modules/themes/four/src/components/AutoScroll/index.js +4 -4
  428. package/_modules/themes/four/src/components/BusinessBasicInformation/index.js +13 -13
  429. package/_modules/themes/four/src/components/BusinessController/index.js +8 -8
  430. package/_modules/themes/four/src/components/BusinessItemAccordion/index.js +4 -4
  431. package/_modules/themes/four/src/components/BusinessProductsCategories/layouts/groceries/index.js +1 -1
  432. package/_modules/themes/four/src/components/BusinessProductsList/index.js +1 -1
  433. package/_modules/themes/four/src/components/BusinessProductsList/layouts/groceries/index.js +13 -13
  434. package/_modules/themes/four/src/components/BusinessProductsListing/index.js +12 -12
  435. package/_modules/themes/four/src/components/BusinessesListing/index.js +8 -8
  436. package/_modules/themes/four/src/components/BusinessesListing/styles.js +2 -2
  437. package/_modules/themes/four/src/components/Cart/index.js +14 -14
  438. package/_modules/themes/four/src/components/CartContent/index.js +2 -2
  439. package/_modules/themes/four/src/components/Checkout/index.js +29 -29
  440. package/_modules/themes/four/src/components/DriverTips/index.js +3 -3
  441. package/_modules/themes/four/src/components/ForgotPasswordForm/index.js +3 -3
  442. package/_modules/themes/four/src/components/Header/index.js +26 -26
  443. package/_modules/themes/four/src/components/HeaderOption/index.js +1 -1
  444. package/_modules/themes/four/src/components/HomeHero/index.js +11 -11
  445. package/_modules/themes/four/src/components/HorizontalOrdersLayout/index.js +6 -6
  446. package/_modules/themes/four/src/components/LastOrders/index.js +7 -7
  447. package/_modules/themes/four/src/components/LoginForm/index.js +17 -17
  448. package/_modules/themes/four/src/components/MomentContent/index.js +4 -4
  449. package/_modules/themes/four/src/components/MomentControl/index.js +2 -2
  450. package/_modules/themes/four/src/components/MomentPopover/index.js +2 -2
  451. package/_modules/themes/four/src/components/NotFoundSource/index.js +2 -2
  452. package/_modules/themes/four/src/components/OrderDetails/index.js +57 -57
  453. package/_modules/themes/four/src/components/OrderDetails/styles.js +2 -2
  454. package/_modules/themes/four/src/components/OrdersOption/index.js +26 -26
  455. package/_modules/themes/four/src/components/ProductForm/index.js +16 -16
  456. package/_modules/themes/four/src/components/RenderProductsLayout/index.js +16 -16
  457. package/_modules/themes/four/src/components/SearchBar/styles.js +6 -6
  458. package/_modules/themes/four/src/components/SignUpForm/index.js +21 -21
  459. package/_modules/themes/four/src/components/SingleProductCard/index.js +4 -4
  460. package/_modules/themes/four/src/components/UserFormDetails/index.js +9 -9
  461. package/_modules/themes/four/src/components/UserProfileForm/index.js +3 -3
  462. package/_modules/themes/four/src/components/VerticalOrdersLayout/index.js +3 -3
  463. package/_modules/themes/franchise/src/components/AddressDetails/index.js +4 -4
  464. package/_modules/themes/franchise/src/components/AddressForm/index.js +30 -30
  465. package/_modules/themes/franchise/src/components/AddressList/index.js +11 -11
  466. package/_modules/themes/franchise/src/components/AppleLogin/index.js +4 -4
  467. package/_modules/themes/franchise/src/components/AutoScroll/index.js +4 -4
  468. package/_modules/themes/franchise/src/components/BusinessBasicInformation/index.js +11 -11
  469. package/_modules/themes/franchise/src/components/BusinessController/index.js +8 -8
  470. package/_modules/themes/franchise/src/components/BusinessInformation/index.js +1 -1
  471. package/_modules/themes/franchise/src/components/BusinessItemAccordion/index.js +1 -1
  472. package/_modules/themes/franchise/src/components/BusinessProductsList/index.js +6 -6
  473. package/_modules/themes/franchise/src/components/BusinessProductsListing/index.js +25 -25
  474. package/_modules/themes/franchise/src/components/BusinessReviews/index.js +2 -2
  475. package/_modules/themes/franchise/src/components/BusinessesListing/index.js +15 -15
  476. package/_modules/themes/franchise/src/components/BusinessesListing/styles.js +2 -2
  477. package/_modules/themes/franchise/src/components/BusinessesMap/index.js +3 -3
  478. package/_modules/themes/franchise/src/components/Cart/index.js +10 -10
  479. package/_modules/themes/franchise/src/components/CartContent/index.js +2 -2
  480. package/_modules/themes/franchise/src/components/CartStoresListing/index.js +4 -4
  481. package/_modules/themes/franchise/src/components/Checkout/index.js +21 -21
  482. package/_modules/themes/franchise/src/components/DriverTips/index.js +2 -2
  483. package/_modules/themes/franchise/src/components/ForgotPasswordForm/index.js +2 -2
  484. package/_modules/themes/franchise/src/components/Header/index.js +32 -32
  485. package/_modules/themes/franchise/src/components/HeaderOption/index.js +1 -1
  486. package/_modules/themes/franchise/src/components/HomeHero/index.js +7 -7
  487. package/_modules/themes/franchise/src/components/HorizontalOrdersLayout/index.js +3 -3
  488. package/_modules/themes/franchise/src/components/InputPhoneNumber/index.js +2 -2
  489. package/_modules/themes/franchise/src/components/LastOrders/index.js +7 -7
  490. package/_modules/themes/franchise/src/components/LoginForm/index.js +15 -15
  491. package/_modules/themes/franchise/src/components/Messages/index.js +5 -5
  492. package/_modules/themes/franchise/src/components/MomentContent/index.js +4 -4
  493. package/_modules/themes/franchise/src/components/MomentControl/index.js +2 -2
  494. package/_modules/themes/franchise/src/components/MySavedPlaces/index.js +2 -2
  495. package/_modules/themes/franchise/src/components/OrderDetails/index.js +59 -59
  496. package/_modules/themes/franchise/src/components/OrderDetails/styles.js +2 -2
  497. package/_modules/themes/franchise/src/components/OrderTypeSelectorContent/index.js +7 -7
  498. package/_modules/themes/franchise/src/components/OrderTypeSelectorHeader/index.js +1 -1
  499. package/_modules/themes/franchise/src/components/OrdersOption/index.js +26 -26
  500. package/_modules/themes/franchise/src/components/PaymentOptionCash/index.js +2 -2
  501. package/_modules/themes/franchise/src/components/PaymentOptionStripe/index.js +6 -6
  502. package/_modules/themes/franchise/src/components/PaymentOptions/index.js +19 -19
  503. package/_modules/themes/franchise/src/components/ProductForm/index.js +15 -15
  504. package/_modules/themes/franchise/src/components/SearchBar/index.js +2 -2
  505. package/_modules/themes/franchise/src/components/SearchBar/styles.js +6 -6
  506. package/_modules/themes/franchise/src/components/SidebarMenu/index.js +5 -5
  507. package/_modules/themes/franchise/src/components/SignUpForm/index.js +21 -21
  508. package/_modules/themes/franchise/src/components/SingleProductCard/index.js +10 -10
  509. package/_modules/themes/franchise/src/components/UpsellingPage/index.js +1 -1
  510. package/_modules/themes/franchise/src/components/UserFormDetails/index.js +9 -9
  511. package/_modules/themes/franchise/src/components/UserPopover/index.js +4 -4
  512. package/_modules/themes/franchise/src/components/UserProfileForm/index.js +3 -3
  513. package/_modules/themes/orderAndPay/src/components/AppleLogin/index.js +4 -4
  514. package/_modules/themes/orderAndPay/src/components/AutoScroll/index.js +4 -4
  515. package/_modules/themes/orderAndPay/src/components/BusinessItemAccordion/index.js +1 -1
  516. package/_modules/themes/orderAndPay/src/components/BusinessProductsList/index.js +1 -1
  517. package/_modules/themes/orderAndPay/src/components/BusinessProductsListing/index.js +17 -17
  518. package/_modules/themes/orderAndPay/src/components/BusinessReviews/index.js +2 -2
  519. package/_modules/themes/orderAndPay/src/components/Cart/index.js +9 -9
  520. package/_modules/themes/orderAndPay/src/components/CartContent/index.js +2 -2
  521. package/_modules/themes/orderAndPay/src/components/Checkout/index.js +22 -22
  522. package/_modules/themes/orderAndPay/src/components/DriverTips/index.js +2 -2
  523. package/_modules/themes/orderAndPay/src/components/ForgotPasswordForm/index.js +2 -2
  524. package/_modules/themes/orderAndPay/src/components/InputPhoneNumber/index.js +2 -2
  525. package/_modules/themes/orderAndPay/src/components/LoginForm/index.js +13 -13
  526. package/_modules/themes/orderAndPay/src/components/LogoutButton/index.js +2 -2
  527. package/_modules/themes/orderAndPay/src/components/Messages/index.js +5 -5
  528. package/_modules/themes/orderAndPay/src/components/OrderDetails/index.js +52 -52
  529. package/_modules/themes/orderAndPay/src/components/OrderDetails/styles.js +2 -2
  530. package/_modules/themes/orderAndPay/src/components/OrderTypeSelectorContent/index.js +13 -13
  531. package/_modules/themes/orderAndPay/src/components/OrdersOption/index.js +26 -26
  532. package/_modules/themes/orderAndPay/src/components/PaymentOptionCash/index.js +2 -2
  533. package/_modules/themes/orderAndPay/src/components/PaymentOptions/index.js +22 -22
  534. package/_modules/themes/orderAndPay/src/components/ProductForm/index.js +18 -18
  535. package/_modules/themes/orderAndPay/src/components/ProductItemAccordion/index.js +2 -2
  536. package/_modules/themes/orderAndPay/src/components/ProductOptionSubOption/index.js +2 -2
  537. package/_modules/themes/orderAndPay/src/components/SearchBar/index.js +2 -2
  538. package/_modules/themes/orderAndPay/src/components/SearchBar/styles.js +6 -6
  539. package/_modules/themes/orderAndPay/src/components/SignUpForm/index.js +19 -19
  540. package/_modules/themes/orderAndPay/src/components/SingleProductCard/index.js +4 -4
  541. package/_modules/themes/orderAndPay/src/components/UpsellingPage/index.js +1 -1
  542. package/_modules/themes/orderAndPay/src/components/UserDetails/styles.js +2 -2
  543. package/_modules/themes/orderAndPay/src/components/UserFormDetails/index.js +9 -9
  544. package/_modules/themes/orderAndPay/src/components/UserPopover/index.js +4 -4
  545. package/_modules/themes/orderAndPay/src/components/VerticalOrdersLayout/index.js +3 -3
  546. package/_modules/themes/pwa/src/components/AddressDetails/index.js +2 -2
  547. package/_modules/themes/pwa/src/components/AddressForm/index.js +29 -29
  548. package/_modules/themes/pwa/src/components/AddressList/index.js +11 -11
  549. package/_modules/themes/pwa/src/components/AppleLogin/index.js +4 -4
  550. package/_modules/themes/pwa/src/components/AutoScroll/index.js +2 -2
  551. package/_modules/themes/pwa/src/components/BusinessBasicInformation/index.js +11 -11
  552. package/_modules/themes/pwa/src/components/BusinessController/index.js +11 -11
  553. package/_modules/themes/pwa/src/components/BusinessInformation/index.js +1 -1
  554. package/_modules/themes/pwa/src/components/BusinessProductsList/index.js +1 -1
  555. package/_modules/themes/pwa/src/components/BusinessProductsListing/index.js +28 -28
  556. package/_modules/themes/pwa/src/components/BusinessReviews/index.js +2 -2
  557. package/_modules/themes/pwa/src/components/BusinessesListing/index.js +15 -15
  558. package/_modules/themes/pwa/src/components/BusinessesListing/styles.js +2 -2
  559. package/_modules/themes/pwa/src/components/Cart/index.js +10 -10
  560. package/_modules/themes/pwa/src/components/CartContent/index.js +2 -2
  561. package/_modules/themes/pwa/src/components/Checkout/index.js +20 -20
  562. package/_modules/themes/pwa/src/components/DriverTips/index.js +2 -2
  563. package/_modules/themes/pwa/src/components/ForgotPasswordForm/index.js +2 -2
  564. package/_modules/themes/pwa/src/components/Header/index.js +28 -28
  565. package/_modules/themes/pwa/src/components/HeaderOption/index.js +1 -1
  566. package/_modules/themes/pwa/src/components/HomeHero/index.js +16 -16
  567. package/_modules/themes/pwa/src/components/HorizontalOrdersLayout/index.js +4 -4
  568. package/_modules/themes/pwa/src/components/InputPhoneNumber/index.js +2 -2
  569. package/_modules/themes/pwa/src/components/LastOrders/index.js +7 -7
  570. package/_modules/themes/pwa/src/components/LoginForm/index.js +12 -12
  571. package/_modules/themes/pwa/src/components/Messages/index.js +4 -4
  572. package/_modules/themes/pwa/src/components/MomentContent/index.js +4 -4
  573. package/_modules/themes/pwa/src/components/MomentControl/index.js +2 -2
  574. package/_modules/themes/pwa/src/components/MomentPopover/index.js +2 -2
  575. package/_modules/themes/pwa/src/components/NavigationBar/index.js +1 -1
  576. package/_modules/themes/pwa/src/components/OrderDetails/index.js +58 -58
  577. package/_modules/themes/pwa/src/components/OrderDetails/styles.js +2 -2
  578. package/_modules/themes/pwa/src/components/OrderTypeSelectorContent/index.js +7 -7
  579. package/_modules/themes/pwa/src/components/OrderTypeSelectorHeader/index.js +1 -1
  580. package/_modules/themes/pwa/src/components/OrdersOption/index.js +26 -26
  581. package/_modules/themes/pwa/src/components/PaymentOptionCash/index.js +2 -2
  582. package/_modules/themes/pwa/src/components/PaymentOptionStripe/index.js +6 -6
  583. package/_modules/themes/pwa/src/components/PaymentOptions/index.js +27 -27
  584. package/_modules/themes/pwa/src/components/ProductForm/index.js +15 -15
  585. package/_modules/themes/pwa/src/components/ReviewOrder/index.js +3 -3
  586. package/_modules/themes/pwa/src/components/SearchBar/index.js +2 -2
  587. package/_modules/themes/pwa/src/components/SearchBar/styles.js +6 -6
  588. package/_modules/themes/pwa/src/components/SidebarMenu/index.js +5 -5
  589. package/_modules/themes/pwa/src/components/SignUpForm/index.js +16 -16
  590. package/_modules/themes/pwa/src/components/SingleProductCard/index.js +4 -4
  591. package/_modules/themes/pwa/src/components/UpsellingPage/index.js +1 -1
  592. package/_modules/themes/pwa/src/components/UserFormDetails/index.js +9 -9
  593. package/_modules/themes/pwa/src/components/UserPopover/index.js +4 -4
  594. package/_modules/themes/pwa/src/components/UserProfile/index.js +5 -5
  595. package/_modules/themes/pwa/src/components/VerticalOrdersLayout/index.js +4 -4
  596. package/_modules/themes/seven/src/components/AddressForm/index.js +29 -29
  597. package/_modules/themes/seven/src/components/AddressList/index.js +11 -11
  598. package/_modules/themes/seven/src/components/BusinessBasicInformation/index.js +1 -1
  599. package/_modules/themes/seven/src/components/BusinessController/index.js +6 -6
  600. package/_modules/themes/seven/src/components/BusinessInformation/index.js +7 -7
  601. package/_modules/themes/seven/src/components/BusinessInformation/styles.js +2 -2
  602. package/_modules/themes/seven/src/components/BusinessItemAccordion/index.js +4 -4
  603. package/_modules/themes/seven/src/components/BusinessProductsCategories/index.js +1 -1
  604. package/_modules/themes/seven/src/components/BusinessProductsList/index.js +3 -3
  605. package/_modules/themes/seven/src/components/BusinessProductsListing/index.js +16 -16
  606. package/_modules/themes/seven/src/components/BusinessesListing/index.js +13 -13
  607. package/_modules/themes/seven/src/components/BusinessesListing/styles.js +2 -2
  608. package/_modules/themes/seven/src/components/BusinessesMap/index.js +3 -3
  609. package/_modules/themes/seven/src/components/Cart/index.js +6 -6
  610. package/_modules/themes/seven/src/components/CartContent/index.js +2 -2
  611. package/_modules/themes/seven/src/components/Checkout/index.js +21 -21
  612. package/_modules/themes/seven/src/components/DriverTips/index.js +2 -2
  613. package/_modules/themes/seven/src/components/ForgotPasswordForm/index.js +2 -2
  614. package/_modules/themes/seven/src/components/Header/index.js +16 -16
  615. package/_modules/themes/seven/src/components/HeaderOption/index.js +1 -1
  616. package/_modules/themes/seven/src/components/HomeHero/index.js +17 -17
  617. package/_modules/themes/seven/src/components/HorizontalOrdersLayout/index.js +6 -6
  618. package/_modules/themes/seven/src/components/InputPhoneNumber/index.js +2 -2
  619. package/_modules/themes/seven/src/components/LanguageSelector/index.js +1 -1
  620. package/_modules/themes/seven/src/components/LoginForm/index.js +14 -14
  621. package/_modules/themes/seven/src/components/MomentContent/index.js +4 -4
  622. package/_modules/themes/seven/src/components/MomentControl/index.js +2 -2
  623. package/_modules/themes/seven/src/components/OrderDetails/index.js +48 -48
  624. package/_modules/themes/seven/src/components/OrderDetails/styles.js +2 -2
  625. package/_modules/themes/seven/src/components/OrdersOption/index.js +26 -26
  626. package/_modules/themes/seven/src/components/PaymentOptionCash/index.js +1 -1
  627. package/_modules/themes/seven/src/components/PaymentOptions/index.js +20 -20
  628. package/_modules/themes/seven/src/components/ProductForm/index.js +20 -20
  629. package/_modules/themes/seven/src/components/ProductForm/productForm.js +6 -6
  630. package/_modules/themes/seven/src/components/SignUpForm/index.js +19 -19
  631. package/_modules/themes/seven/src/components/SingleProductCard/index.js +4 -4
  632. package/_modules/themes/seven/src/components/UserFormDetails/index.js +10 -10
  633. package/_modules/themes/seven/src/components/UserPopover/index.js +4 -4
  634. package/_modules/themes/seven/src/components/UserProfileForm/index.js +3 -3
  635. package/_modules/themes/seven/src/components/VerticalOrdersLayout/index.js +3 -3
  636. package/_modules/themes/six/src/components/AddressDetails/index.js +4 -4
  637. package/_modules/themes/six/src/components/AddressForm/index.js +30 -30
  638. package/_modules/themes/six/src/components/AddressList/index.js +11 -11
  639. package/_modules/themes/six/src/components/AddressesPopover/index.js +2 -2
  640. package/_modules/themes/six/src/components/AppleLogin/index.js +4 -4
  641. package/_modules/themes/six/src/components/BusinessBasicInformation/index.js +9 -9
  642. package/_modules/themes/six/src/components/BusinessController/index.js +17 -17
  643. package/_modules/themes/six/src/components/BusinessController/styles.js +10 -10
  644. package/_modules/themes/six/src/components/BusinessInformation/index.js +3 -3
  645. package/_modules/themes/six/src/components/BusinessItemAccordion/index.js +4 -4
  646. package/_modules/themes/six/src/components/BusinessProductsList/index.js +1 -1
  647. package/_modules/themes/six/src/components/BusinessProductsListing/SearchProducts/index.js +5 -5
  648. package/_modules/themes/six/src/components/BusinessProductsListing/index.js +25 -25
  649. package/_modules/themes/six/src/components/BusinessesListing/index.js +10 -10
  650. package/_modules/themes/six/src/components/BusinessesListing/styles.js +2 -2
  651. package/_modules/themes/six/src/components/BusinessesMap/index.js +3 -3
  652. package/_modules/themes/six/src/components/Cart/index.js +9 -9
  653. package/_modules/themes/six/src/components/CartContent/index.js +2 -2
  654. package/_modules/themes/six/src/components/CartInfo/index.js +5 -5
  655. package/_modules/themes/six/src/components/Checkout/index.js +14 -14
  656. package/_modules/themes/six/src/components/DriverTips/index.js +2 -2
  657. package/_modules/themes/six/src/components/ForgotPasswordForm/index.js +2 -2
  658. package/_modules/themes/six/src/components/Header/index.js +128 -24
  659. package/_modules/themes/six/src/components/HeaderOption/index.js +1 -1
  660. package/_modules/themes/six/src/components/HomeHero/index.js +3 -3
  661. package/_modules/themes/six/src/components/LanguageSelector/index.js +1 -1
  662. package/_modules/themes/six/src/components/LoginForm/index.js +18 -18
  663. package/_modules/themes/six/src/components/LogoutButton/index.js +2 -2
  664. package/_modules/themes/six/src/components/MomentContent/index.js +4 -4
  665. package/_modules/themes/six/src/components/MomentControl/index.js +4 -4
  666. package/_modules/themes/six/src/components/NotFoundSource/index.js +2 -2
  667. package/_modules/themes/six/src/components/OrderDetails/index.js +50 -50
  668. package/_modules/themes/six/src/components/OrderDetails/styles.js +2 -2
  669. package/_modules/themes/six/src/components/OrderTypeSelectorHeader/index.js +1 -1
  670. package/_modules/themes/six/src/components/PaymentOptionCash/index.js +1 -1
  671. package/_modules/themes/six/src/components/PaymentOptions/index.js +20 -20
  672. package/_modules/themes/six/src/components/ProductForm/index.js +18 -18
  673. package/_modules/themes/six/src/components/ProductOptionSubOption/index.js +2 -2
  674. package/_modules/themes/six/src/components/SearchBar/styles.js +14 -14
  675. package/_modules/themes/six/src/components/SidebarMenu/index.js +6 -6
  676. package/_modules/themes/six/src/components/SignUpForm/index.js +23 -23
  677. package/_modules/themes/six/src/components/SingleProductCard/index.js +4 -4
  678. package/_modules/themes/six/src/components/UpsellingPage/index.js +1 -1
  679. package/_modules/themes/six/src/components/UserFormDetails/index.js +9 -9
  680. package/_modules/themes/three/src/components/AddressDetails/index.js +4 -4
  681. package/_modules/themes/three/src/components/AddressForm/index.js +30 -30
  682. package/_modules/themes/three/src/components/AddressList/index.js +11 -11
  683. package/_modules/themes/three/src/components/AddressesPopover/index.js +2 -2
  684. package/_modules/themes/three/src/components/BusinessBasicInformation/index.js +5 -5
  685. package/_modules/themes/three/src/components/BusinessController/index.js +4 -4
  686. package/_modules/themes/three/src/components/BusinessItemAccordion/index.js +4 -4
  687. package/_modules/themes/three/src/components/BusinessProductsList/index.js +1 -1
  688. package/_modules/themes/three/src/components/BusinessProductsListing/index.js +9 -9
  689. package/_modules/themes/three/src/components/BusinessesListing/index.js +9 -9
  690. package/_modules/themes/three/src/components/BusinessesListing/styles.js +2 -2
  691. package/_modules/themes/three/src/components/Cart/index.js +10 -10
  692. package/_modules/themes/three/src/components/CartContent/index.js +2 -2
  693. package/_modules/themes/three/src/components/Checkout/index.js +33 -33
  694. package/_modules/themes/three/src/components/DriverTips/index.js +3 -3
  695. package/_modules/themes/three/src/components/ForgotPasswordForm/index.js +2 -2
  696. package/_modules/themes/three/src/components/Header/index.js +22 -22
  697. package/_modules/themes/three/src/components/HeaderOption/index.js +1 -1
  698. package/_modules/themes/three/src/components/HomeHero/index.js +6 -6
  699. package/_modules/themes/three/src/components/HorizontalOrdersLayout/index.js +4 -4
  700. package/_modules/themes/three/src/components/LastOrders/index.js +7 -7
  701. package/_modules/themes/three/src/components/LoginForm/index.js +16 -16
  702. package/_modules/themes/three/src/components/MomentContent/index.js +4 -4
  703. package/_modules/themes/three/src/components/MomentControl/index.js +2 -2
  704. package/_modules/themes/three/src/components/MomentPopover/index.js +2 -2
  705. package/_modules/themes/three/src/components/OrderDetails/index.js +33 -33
  706. package/_modules/themes/three/src/components/OrderDetails/styles.js +2 -2
  707. package/_modules/themes/three/src/components/OrdersOption/index.js +2 -2
  708. package/_modules/themes/three/src/components/PaymentOptions/index.js +20 -20
  709. package/_modules/themes/three/src/components/ProductForm/index.js +7 -7
  710. package/_modules/themes/three/src/components/SignUpForm/index.js +20 -20
  711. package/_modules/themes/three/src/components/SingleProductCard/index.js +4 -4
  712. package/_modules/themes/three/src/components/UpsellingPage/index.js +1 -1
  713. package/_modules/themes/three/src/components/VerticalOrdersLayout/index.js +3 -3
  714. package/_modules/themes/three/src/styles/Select/index.js +1 -1
  715. package/_modules/themes/two/src/components/AddressDetails/index.js +5 -5
  716. package/_modules/themes/two/src/components/AddressesPopover/index.js +2 -2
  717. package/_modules/themes/two/src/components/AppleLogin/index.js +4 -4
  718. package/_modules/themes/two/src/components/AutoScroll/index.js +4 -4
  719. package/_modules/themes/two/src/components/BusinessBasicInformation/index.js +4 -4
  720. package/_modules/themes/two/src/components/BusinessController/index.js +4 -4
  721. package/_modules/themes/two/src/components/BusinessProductsList/index.js +1 -1
  722. package/_modules/themes/two/src/components/BusinessProductsListing/index.js +11 -11
  723. package/_modules/themes/two/src/components/BusinessTypeFilter/index.js +2 -2
  724. package/_modules/themes/two/src/components/BusinessesListing/index.js +8 -8
  725. package/_modules/themes/two/src/components/BusinessesListing/styles.js +2 -2
  726. package/_modules/themes/two/src/components/Cart/index.js +10 -10
  727. package/_modules/themes/two/src/components/CartContent/index.js +2 -2
  728. package/_modules/themes/two/src/components/Checkout/index.js +32 -32
  729. package/_modules/themes/two/src/components/DriverTips/index.js +3 -3
  730. package/_modules/themes/two/src/components/Header/index.js +22 -22
  731. package/_modules/themes/two/src/components/HomeHero/index.js +7 -7
  732. package/_modules/themes/two/src/components/HorizontalOrdersLayout/index.js +6 -6
  733. package/_modules/themes/two/src/components/LanguageSelector/index.js +1 -1
  734. package/_modules/themes/two/src/components/LastOrders/index.js +7 -7
  735. package/_modules/themes/two/src/components/LoginForm/index.js +13 -13
  736. package/_modules/themes/two/src/components/MomentContent/index.js +3 -3
  737. package/_modules/themes/two/src/components/MomentControl/index.js +5 -5
  738. package/_modules/themes/two/src/components/MomentPopover/index.js +2 -2
  739. package/_modules/themes/two/src/components/OrderDetails/index.js +30 -30
  740. package/_modules/themes/two/src/components/OrderDetails/styles.js +2 -2
  741. package/_modules/themes/two/src/components/OrdersOption/index.js +2 -2
  742. package/_modules/themes/two/src/components/PaymentOptions/index.js +20 -20
  743. package/_modules/themes/two/src/components/ProductForm/index.js +7 -7
  744. package/_modules/themes/two/src/components/ProductOptionSubOption/index.js +2 -2
  745. package/_modules/themes/two/src/components/SearchBar/index.js +2 -2
  746. package/_modules/themes/two/src/components/SearchBar/styles.js +4 -4
  747. package/_modules/themes/two/src/components/SignUpForm/index.js +19 -19
  748. package/_modules/themes/two/src/components/SingleProductCard/index.js +2 -2
  749. package/_modules/themes/two/src/components/UserProfileForm/index.js +3 -3
  750. package/_modules/themes/two/src/components/VerticalOrdersLayout/index.js +3 -3
  751. package/_modules/themes/wow/src/components/ActiveOrdersLayout/index.js +4 -4
  752. package/_modules/themes/wow/src/components/AddressForm/index.js +28 -28
  753. package/_modules/themes/wow/src/components/AddressList/index.js +9 -9
  754. package/_modules/themes/wow/src/components/AutoScroll/index.js +4 -4
  755. package/_modules/themes/wow/src/components/BusinessBasicInformation/index.js +4 -4
  756. package/_modules/themes/wow/src/components/BusinessController/index.js +4 -4
  757. package/_modules/themes/wow/src/components/BusinessItemAccordion/index.js +4 -4
  758. package/_modules/themes/wow/src/components/BusinessProductsList/index.js +1 -1
  759. package/_modules/themes/wow/src/components/BusinessProductsListing/index.js +8 -8
  760. package/_modules/themes/wow/src/components/BusinessesListing/index.js +2 -2
  761. package/_modules/themes/wow/src/components/Cart/index.js +4 -4
  762. package/_modules/themes/wow/src/components/CartContent/index.js +2 -2
  763. package/_modules/themes/wow/src/components/Checkout/index.js +14 -14
  764. package/_modules/themes/wow/src/components/CheckoutBill/index.js +1 -1
  765. package/_modules/themes/wow/src/components/CompletedOrder/index.js +4 -4
  766. package/_modules/themes/wow/src/components/DeliveryDetails/index.js +3 -3
  767. package/_modules/themes/wow/src/components/DiscountedBusinesses/index.js +2 -2
  768. package/_modules/themes/wow/src/components/Footer/index.js +5 -5
  769. package/_modules/themes/wow/src/components/Header/index.js +10 -10
  770. package/_modules/themes/wow/src/components/HomeHero/index.js +6 -6
  771. package/_modules/themes/wow/src/components/LoginForm/index.js +7 -7
  772. package/_modules/themes/wow/src/components/OrderDetails/index.js +18 -18
  773. package/_modules/themes/wow/src/components/OrderDetails/styles.js +2 -2
  774. package/_modules/themes/wow/src/components/OrderHelp/index.js +3 -3
  775. package/_modules/themes/wow/src/components/OrderTypeSelectorHeader/index.js +2 -2
  776. package/_modules/themes/wow/src/components/OrdersOption/index.js +2 -2
  777. package/_modules/themes/wow/src/components/OurBusinesses/index.js +2 -2
  778. package/_modules/themes/wow/src/components/PaymentOptions/index.js +3 -3
  779. package/_modules/themes/wow/src/components/PreOrdersLayout/index.js +4 -4
  780. package/_modules/themes/wow/src/components/PreorderConfirm/index.js +2 -2
  781. package/_modules/themes/wow/src/components/PreviousOrdersLayout/index.js +4 -4
  782. package/_modules/themes/wow/src/components/ProductForm/index.js +3 -3
  783. package/_modules/themes/wow/src/components/ProductOptionSubOption/index.js +2 -2
  784. package/_modules/themes/wow/src/components/ProfileBusinesBasicInformation/index.js +6 -6
  785. package/_modules/themes/wow/src/components/ProfileBusinesses/index.js +4 -4
  786. package/_modules/themes/wow/src/components/ProfileEdit/index.js +3 -3
  787. package/_modules/themes/wow/src/components/PromotionsBusinesses/index.js +2 -2
  788. package/_modules/themes/wow/src/components/ReviewOrder/index.js +3 -3
  789. package/_modules/themes/wow/src/components/SearchBar/index.js +2 -2
  790. package/_modules/themes/wow/src/components/SearchBar/styles.js +6 -6
  791. package/_modules/themes/wow/src/components/SidebarMenu/index.js +5 -5
  792. package/_modules/themes/wow/src/components/SignUpForm/index.js +13 -13
  793. package/_modules/themes/wow/src/components/SingleProductCard/index.js +4 -4
  794. package/_modules/themes/wow/src/components/SpecificBusiness/index.js +3 -3
  795. package/_modules/themes/wow/src/components/UserFormDetails/index.js +9 -9
  796. package/_modules/themes/wow/src/components/UserPopover/index.js +7 -7
  797. package/_modules/themes/wow/src/components/UserProfile/index.js +2 -2
  798. package/_modules/themes/wow/src/components/UserProfileDropDown/index.js +2 -2
  799. package/_modules/utils/index.js +59 -49
  800. package/package.json +2 -2
  801. package/src/themes/five/src/components/BusinessPreorder/styles.js +7 -4
  802. package/src/themes/five/src/components/GiftCard/PurchaseGiftCard/index.js +18 -3
  803. package/src/themes/five/src/components/GiftCard/PurchaseGiftCard/styles.js +32 -6
  804. package/src/themes/five/src/components/ServiceForm/index.js +86 -72
  805. package/src/themes/six/src/components/Header/index.js +113 -4
  806. package/src/utils/index.js +11 -4
  807. package/template/app.js +8 -8
  808. package/_bundles/ordering-ui.2c4c0317bc47a947e415.js +0 -2
  809. /package/_bundles/{0.ordering-ui.2c4c0317bc47a947e415.js → 0.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  810. /package/_bundles/{1.ordering-ui.2c4c0317bc47a947e415.js → 1.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  811. /package/_bundles/{2.ordering-ui.2c4c0317bc47a947e415.js → 2.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  812. /package/_bundles/{4.ordering-ui.2c4c0317bc47a947e415.js → 4.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  813. /package/_bundles/{5.ordering-ui.2c4c0317bc47a947e415.js → 5.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  814. /package/_bundles/{6.ordering-ui.2c4c0317bc47a947e415.js → 6.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  815. /package/_bundles/{7.ordering-ui.2c4c0317bc47a947e415.js.LICENSE.txt → 7.ordering-ui.8c57feb440eaccd495a4.js.LICENSE.txt} +0 -0
  816. /package/_bundles/{8.ordering-ui.2c4c0317bc47a947e415.js → 8.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  817. /package/_bundles/{9.ordering-ui.2c4c0317bc47a947e415.js → 9.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
  818. /package/_bundles/{ordering-ui.2c4c0317bc47a947e415.js.LICENSE.txt → ordering-ui.8c57feb440eaccd495a4.js.LICENSE.txt} +0 -0
@@ -52,7 +52,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
52
52
  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; } }
53
53
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
54
54
  var Header = function Header(props) {
55
- var _window$location$path, _configState$configs, _configState$configs$, _configState$configs2, _configState$configs3, _theme$header, _theme$header$compone, _theme$header$compone2, _theme$header$compone3, _theme$header2, _theme$header2$compon, _theme$header2$compon2, _orderState$options, _orderState$options2, _Object$keys, _customerState$user, _orderState$options5, _orderState$options5$, _theme$images, _theme$images$logos, _theme$my_products, _theme$my_products$co, _theme$my_products$co2, _theme$my_products$co3, _theme$my_products$co4, _theme$my_products$co5, _theme$images2, _theme$images2$logos, _theme$images3, _theme$images3$logos, _theme$images4, _theme$images4$logos, _theme$my_products2, _theme$my_products2$c, _theme$my_products2$c2, _theme$my_products2$c3, _theme$my_products2$c4, _theme$my_products2$c5, _theme$images5, _theme$images5$logos, _orderState$options7, _orderState$options7$, _orderState$options8, _orderState$options8$, _configState$configs4, _configState$configs5, _configState$configs6, _configState$configs7, _configState$configs8, _configState$configs9, _orderState$options9, _orderState$options10, _configState$configs10, _configState$configs11, _theme$defaultLanguag2, _theme$defaultLanguag3, _orderState$options11, _orderState$options12, _configState$configs14, _configState$configs15, _orderState$options13, _configState$configs16, _configState$configs17, _configState$configs18, _configState$configs19, _orderState$options14, _orderState$options15, _configState$configs20, _configState$configs21, _orderState$options16, _configState$configs22, _configState$configs23, _configState$configs24, _configState$configs25, _orderState$options17, _orderState$options18, _customerState$user2, _customerState$user3, _theme$defaultLanguag4, _theme$defaultLanguag5, _theme$defaultLanguag6, _theme$defaultLanguag7, _theme$defaultLanguag8, _theme$defaultLanguag9;
55
+ var _window$location$path, _configState$configs, _configState$configs2, _theme$header, _theme$header2, _orderState$options, _orderState$options2, _Object$keys, _customerState$user, _orderState$options5, _theme$images, _theme$my_products, _theme$images2, _theme$images3, _theme$images4, _theme$my_products2, _theme$images5, _orderState$options7, _orderState$options8, _configState$configs3, _configState$configs4, _configState$configs5, _orderState$options9, _orderState$options10, _configState$configs6, _theme$defaultLanguag2, _theme$defaultLanguag3, _orderState$options11, _configState$configs8, _orderState$options12, _configState$configs9, _configState$configs10, _orderState$options13, _configState$configs11, _orderState$options14, _configState$configs12, _configState$configs13, _orderState$options15, _orderState$options16, _customerState$user2, _customerState$user3, _theme$defaultLanguag4, _theme$defaultLanguag5, _theme$defaultLanguag6, _theme$defaultLanguag7, _theme$defaultLanguag8, _theme$defaultLanguag9;
56
56
  var isHome = props.isHome,
57
57
  location = props.location,
58
58
  isShowOrderOptions = props.isShowOrderOptions,
@@ -148,25 +148,25 @@ var Header = function Header(props) {
148
148
  }) || null;
149
149
  var carts = businessSlug ? cartsWithProducts.filter(function (cart) {
150
150
  var _cart$business;
151
- return (cart === null || cart === void 0 ? void 0 : (_cart$business = cart.business) === null || _cart$business === void 0 ? void 0 : _cart$business.slug) === businessSlug || businessSlug === (cart === null || cart === void 0 ? void 0 : cart.business_id);
151
+ return (cart === null || cart === void 0 || (_cart$business = cart.business) === null || _cart$business === void 0 ? void 0 : _cart$business.slug) === businessSlug || businessSlug === (cart === null || cart === void 0 ? void 0 : cart.business_id);
152
152
  }) : cartsWithProducts;
153
153
  var windowSize = (0, _useWindowSize.useWindowSize)();
154
154
  var onlineStatus = (0, _useOnlineStatus.useOnlineStatus)();
155
155
  var userCustomer = JSON.parse(window.localStorage.getItem('user-customer'));
156
156
  var orderTypeList = [t('DELIVERY', 'Delivery'), t('PICKUP', 'Pickup'), t('EAT_IN', 'Eat in'), t('CURBSIDE', 'Curbside'), t('DRIVE_THRU', 'Drive thru'), '', t('CATERING_DELIVERY', 'Catering Delivery'), t('CATERING_PICKUP', 'Catering pickup')];
157
- var configTypes = (configState === null || configState === void 0 ? void 0 : (_configState$configs = configState.configs) === null || _configState$configs === void 0 ? void 0 : (_configState$configs$ = _configState$configs.order_types_allowed) === null || _configState$configs$ === void 0 ? void 0 : _configState$configs$.value.split('|').map(function (value) {
157
+ var configTypes = (configState === null || configState === void 0 || (_configState$configs = configState.configs) === null || _configState$configs === void 0 || (_configState$configs = _configState$configs.order_types_allowed) === null || _configState$configs === void 0 ? void 0 : _configState$configs.value.split('|').map(function (value) {
158
158
  return Number(value);
159
159
  })) || [];
160
- var isPreOrderSetting = (configState === null || configState === void 0 ? void 0 : (_configState$configs2 = configState.configs) === null || _configState$configs2 === void 0 ? void 0 : (_configState$configs3 = _configState$configs2.preorder_status_enabled) === null || _configState$configs3 === void 0 ? void 0 : _configState$configs3.value) === '1';
161
- 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';
162
- var isHideLanguages = theme === null || theme === void 0 ? void 0 : (_theme$header2 = theme.header) === null || _theme$header2 === void 0 ? void 0 : (_theme$header2$compon = _theme$header2.components) === null || _theme$header2$compon === void 0 ? void 0 : (_theme$header2$compon2 = _theme$header2$compon.language_selector) === null || _theme$header2$compon2 === void 0 ? void 0 : _theme$header2$compon2.hidden;
163
- var cateringTypeString = (orderState === null || orderState === void 0 ? void 0 : (_orderState$options = orderState.options) === null || _orderState$options === void 0 ? void 0 : _orderState$options.type) === 7 ? 'catering_delivery' : (orderState === null || orderState === void 0 ? void 0 : (_orderState$options2 = orderState.options) === null || _orderState$options2 === void 0 ? void 0 : _orderState$options2.type) === 8 ? 'catering_pickup' : null;
164
- var cateringValues = (0, _utils.getCateringValues)(cateringTypeString, pathname.includes('store') && (Object === null || Object === void 0 ? void 0 : (_Object$keys = Object.keys(business || {})) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length) > 0 ? business === null || business === void 0 ? void 0 : business.configs : configState === null || configState === void 0 ? void 0 : configState.configs);
160
+ var isPreOrderSetting = (configState === null || configState === void 0 || (_configState$configs2 = configState.configs) === null || _configState$configs2 === void 0 || (_configState$configs2 = _configState$configs2.preorder_status_enabled) === null || _configState$configs2 === void 0 ? void 0 : _configState$configs2.value) === '1';
161
+ 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';
162
+ var isHideLanguages = theme === null || theme === void 0 || (_theme$header2 = theme.header) === null || _theme$header2 === void 0 || (_theme$header2 = _theme$header2.components) === null || _theme$header2 === void 0 || (_theme$header2 = _theme$header2.language_selector) === null || _theme$header2 === void 0 ? void 0 : _theme$header2.hidden;
163
+ var cateringTypeString = (orderState === null || orderState === void 0 || (_orderState$options = orderState.options) === null || _orderState$options === void 0 ? void 0 : _orderState$options.type) === 7 ? 'catering_delivery' : (orderState === null || orderState === void 0 || (_orderState$options2 = orderState.options) === null || _orderState$options2 === void 0 ? void 0 : _orderState$options2.type) === 8 ? 'catering_pickup' : null;
164
+ var cateringValues = (0, _utils.getCateringValues)(cateringTypeString, pathname.includes('store') && (Object === null || Object === void 0 || (_Object$keys = Object.keys(business || {})) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length) > 0 ? business === null || business === void 0 ? void 0 : business.configs : configState === null || configState === void 0 ? void 0 : configState.configs);
165
165
  var handleSuccessSignup = function handleSuccessSignup(user) {
166
166
  var _user$session;
167
167
  login({
168
168
  user: user,
169
- token: user === null || user === void 0 ? void 0 : (_user$session = user.session) === null || _user$session === void 0 ? void 0 : _user$session.access_token
169
+ token: user === null || user === void 0 || (_user$session = user.session) === null || _user$session === void 0 ? void 0 : _user$session.access_token
170
170
  });
171
171
  };
172
172
  var handleClickUserCustomer = function handleClickUserCustomer(e) {
@@ -176,7 +176,7 @@ var Header = function Header(props) {
176
176
  var _theme$defaultLanguag;
177
177
  setConfirm({
178
178
  open: true,
179
- content: t('QUESTION_CLEAR_CUSTOMER', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag = theme.defaultLanguages) === null || _theme$defaultLanguag === void 0 ? void 0 : _theme$defaultLanguag.QUESTION_CLEAR_CUSTOMER) || 'Are you sure that you want to clear the customer?'),
179
+ content: t('QUESTION_CLEAR_CUSTOMER', (theme === null || theme === void 0 || (_theme$defaultLanguag = theme.defaultLanguages) === null || _theme$defaultLanguag === void 0 ? void 0 : _theme$defaultLanguag.QUESTION_CLEAR_CUSTOMER) || 'Are you sure that you want to clear the customer?'),
180
180
  handleOnAccept: function handleOnAccept() {
181
181
  deleteUserCustomer(true);
182
182
  refreshOrderOptions();
@@ -248,16 +248,16 @@ var Header = function Header(props) {
248
248
  if (isCustomerMode) {
249
249
  setCustomerModalOpen(false);
250
250
  }
251
- }, [customerState === null || customerState === void 0 ? void 0 : (_customerState$user = customerState.user) === null || _customerState$user === void 0 ? void 0 : _customerState$user.address]);
251
+ }, [customerState === null || customerState === void 0 || (_customerState$user = customerState.user) === null || _customerState$user === void 0 ? void 0 : _customerState$user.address]);
252
252
  (0, _react.useEffect)(function () {
253
253
  if (!(pathname.includes('/search') || pathname.includes('/checkout'))) {
254
254
  setIsFarAway(false);
255
255
  return;
256
256
  }
257
257
  navigator.geolocation.getCurrentPosition(function (pos) {
258
- var _orderState$options3, _orderState$options3$, _orderState$options3$2, _orderState$options4, _orderState$options4$, _orderState$options4$2;
258
+ var _orderState$options3, _orderState$options4;
259
259
  var crd = pos.coords;
260
- var distance = (0, _utils.getDistance)(crd.latitude, crd.longitude, orderState === null || orderState === void 0 ? void 0 : (_orderState$options3 = orderState.options) === null || _orderState$options3 === void 0 ? void 0 : (_orderState$options3$ = _orderState$options3.address) === null || _orderState$options3$ === void 0 ? void 0 : (_orderState$options3$2 = _orderState$options3$.location) === null || _orderState$options3$2 === void 0 ? void 0 : _orderState$options3$2.lat, orderState === null || orderState === void 0 ? void 0 : (_orderState$options4 = orderState.options) === null || _orderState$options4 === void 0 ? void 0 : (_orderState$options4$ = _orderState$options4.address) === null || _orderState$options4$ === void 0 ? void 0 : (_orderState$options4$2 = _orderState$options4$.location) === null || _orderState$options4$2 === void 0 ? void 0 : _orderState$options4$2.lng);
260
+ var distance = (0, _utils.getDistance)(crd.latitude, crd.longitude, orderState === null || orderState === void 0 || (_orderState$options3 = orderState.options) === null || _orderState$options3 === void 0 || (_orderState$options3 = _orderState$options3.address) === null || _orderState$options3 === void 0 || (_orderState$options3 = _orderState$options3.location) === null || _orderState$options3 === void 0 ? void 0 : _orderState$options3.lat, orderState === null || orderState === void 0 || (_orderState$options4 = orderState.options) === null || _orderState$options4 === void 0 || (_orderState$options4 = _orderState$options4.address) === null || _orderState$options4 === void 0 || (_orderState$options4 = _orderState$options4.location) === null || _orderState$options4 === void 0 ? void 0 : _orderState$options4.lng);
261
261
  if (distance > 20) setIsFarAway(true);else setIsFarAway(false);
262
262
  }, function (err) {
263
263
  console.warn("ERROR(".concat(err.code, "): ").concat(err.message));
@@ -266,7 +266,7 @@ var Header = function Header(props) {
266
266
  timeout: 5000,
267
267
  maximumAge: 0
268
268
  });
269
- }, [orderState === null || orderState === void 0 ? void 0 : (_orderState$options5 = orderState.options) === null || _orderState$options5 === void 0 ? void 0 : (_orderState$options5$ = _orderState$options5.address) === null || _orderState$options5$ === void 0 ? void 0 : _orderState$options5$.location, pathname]);
269
+ }, [orderState === null || orderState === void 0 || (_orderState$options5 = orderState.options) === null || _orderState$options5 === void 0 || (_orderState$options5 = _orderState$options5.address) === null || _orderState$options5 === void 0 ? void 0 : _orderState$options5.location, pathname]);
270
270
  return /*#__PURE__*/_react.default.createElement(_styles.Header, {
271
271
  isChew: isChew
272
272
  }, /*#__PURE__*/_react.default.createElement(_styles.InnerHeader, null, /*#__PURE__*/_react.default.createElement(_styles.LeftSide, null, /*#__PURE__*/_react.default.createElement(_styles.LeftHeader, {
@@ -279,9 +279,9 @@ var Header = function Header(props) {
279
279
  isCustomerMode: isCustomerMode
280
280
  }), /*#__PURE__*/_react.default.createElement(_styles.LogoHeader, {
281
281
  onClick: function onClick() {
282
- var _orderState$options6, _orderState$options6$;
282
+ var _orderState$options6;
283
283
  return handleGoToPage({
284
- page: orderState !== null && orderState !== void 0 && (_orderState$options6 = orderState.options) !== null && _orderState$options6 !== void 0 && (_orderState$options6$ = _orderState$options6.address) !== null && _orderState$options6$ !== void 0 && _orderState$options6$.location && !isCustomerMode ? 'search' : 'home'
284
+ page: orderState !== null && orderState !== void 0 && (_orderState$options6 = orderState.options) !== null && _orderState$options6 !== void 0 && (_orderState$options6 = _orderState$options6.address) !== null && _orderState$options6 !== void 0 && _orderState$options6.location && !isCustomerMode ? 'search' : 'home'
285
285
  });
286
286
  },
287
287
  isChew: isChew
@@ -289,13 +289,13 @@ var Header = function Header(props) {
289
289
  alt: "Logotype",
290
290
  width: "170px",
291
291
  height: isChew ? '35px' : '45px',
292
- src: isChew ? theme === null || theme === void 0 ? void 0 : (_theme$images = theme.images) === null || _theme$images === void 0 ? void 0 : (_theme$images$logos = _theme$images.logos) === null || _theme$images$logos === void 0 ? void 0 : _theme$images$logos.chewLogo : (theme === null || theme === void 0 ? void 0 : (_theme$my_products = theme.my_products) === null || _theme$my_products === void 0 ? void 0 : (_theme$my_products$co = _theme$my_products.components) === null || _theme$my_products$co === void 0 ? void 0 : (_theme$my_products$co2 = _theme$my_products$co.images) === null || _theme$my_products$co2 === void 0 ? void 0 : (_theme$my_products$co3 = _theme$my_products$co2.components) === null || _theme$my_products$co3 === void 0 ? void 0 : (_theme$my_products$co4 = _theme$my_products$co3.logo) === null || _theme$my_products$co4 === void 0 ? void 0 : (_theme$my_products$co5 = _theme$my_products$co4.components) === null || _theme$my_products$co5 === void 0 ? void 0 : _theme$my_products$co5.image) || (theme === null || theme === void 0 ? void 0 : (_theme$images2 = theme.images) === null || _theme$images2 === void 0 ? void 0 : (_theme$images2$logos = _theme$images2.logos) === null || _theme$images2$logos === void 0 ? void 0 : _theme$images2$logos.logotype),
292
+ src: isChew ? theme === null || theme === void 0 || (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.logos) === null || _theme$images === void 0 ? void 0 : _theme$images.chewLogo : (theme === null || theme === void 0 || (_theme$my_products = theme.my_products) === null || _theme$my_products === void 0 || (_theme$my_products = _theme$my_products.components) === null || _theme$my_products === void 0 || (_theme$my_products = _theme$my_products.images) === null || _theme$my_products === void 0 || (_theme$my_products = _theme$my_products.components) === null || _theme$my_products === void 0 || (_theme$my_products = _theme$my_products.logo) === null || _theme$my_products === void 0 || (_theme$my_products = _theme$my_products.components) === null || _theme$my_products === void 0 ? void 0 : _theme$my_products.image) || (theme === null || theme === void 0 || (_theme$images2 = theme.images) === null || _theme$images2 === void 0 || (_theme$images2 = _theme$images2.logos) === null || _theme$images2 === void 0 ? void 0 : _theme$images2.logotype),
293
293
  loading: "lazy"
294
294
  }), /*#__PURE__*/_react.default.createElement("img", {
295
295
  alt: "Isotype",
296
296
  width: isChew ? '70px' : '35px',
297
297
  height: isChew ? '20px' : '45px',
298
- src: isChew ? theme === null || theme === void 0 ? void 0 : (_theme$images3 = theme.images) === null || _theme$images3 === void 0 ? void 0 : (_theme$images3$logos = _theme$images3.logos) === null || _theme$images3$logos === void 0 ? void 0 : _theme$images3$logos.chewLogo : windowSize.width <= 768 ? theme === null || theme === void 0 ? void 0 : (_theme$images4 = theme.images) === null || _theme$images4 === void 0 ? void 0 : (_theme$images4$logos = _theme$images4.logos) === null || _theme$images4$logos === void 0 ? void 0 : _theme$images4$logos.isotypeInvert : (theme === null || theme === void 0 ? void 0 : (_theme$my_products2 = theme.my_products) === null || _theme$my_products2 === void 0 ? void 0 : (_theme$my_products2$c = _theme$my_products2.components) === null || _theme$my_products2$c === void 0 ? void 0 : (_theme$my_products2$c2 = _theme$my_products2$c.images) === null || _theme$my_products2$c2 === void 0 ? void 0 : (_theme$my_products2$c3 = _theme$my_products2$c2.components) === null || _theme$my_products2$c3 === void 0 ? void 0 : (_theme$my_products2$c4 = _theme$my_products2$c3.logo) === null || _theme$my_products2$c4 === void 0 ? void 0 : (_theme$my_products2$c5 = _theme$my_products2$c4.components) === null || _theme$my_products2$c5 === void 0 ? void 0 : _theme$my_products2$c5.image) || (theme === null || theme === void 0 ? void 0 : (_theme$images5 = theme.images) === null || _theme$images5 === void 0 ? void 0 : (_theme$images5$logos = _theme$images5.logos) === null || _theme$images5$logos === void 0 ? void 0 : _theme$images5$logos.isotype),
298
+ src: isChew ? theme === null || theme === void 0 || (_theme$images3 = theme.images) === null || _theme$images3 === void 0 || (_theme$images3 = _theme$images3.logos) === null || _theme$images3 === void 0 ? void 0 : _theme$images3.chewLogo : windowSize.width <= 768 ? theme === null || theme === void 0 || (_theme$images4 = theme.images) === null || _theme$images4 === void 0 || (_theme$images4 = _theme$images4.logos) === null || _theme$images4 === void 0 ? void 0 : _theme$images4.isotypeInvert : (theme === null || theme === void 0 || (_theme$my_products2 = theme.my_products) === null || _theme$my_products2 === void 0 || (_theme$my_products2 = _theme$my_products2.components) === null || _theme$my_products2 === void 0 || (_theme$my_products2 = _theme$my_products2.images) === null || _theme$my_products2 === void 0 || (_theme$my_products2 = _theme$my_products2.components) === null || _theme$my_products2 === void 0 || (_theme$my_products2 = _theme$my_products2.logo) === null || _theme$my_products2 === void 0 || (_theme$my_products2 = _theme$my_products2.components) === null || _theme$my_products2 === void 0 ? void 0 : _theme$my_products2.image) || (theme === null || theme === void 0 || (_theme$images5 = theme.images) === null || _theme$images5 === void 0 || (_theme$images5 = _theme$images5.logos) === null || _theme$images5 === void 0 ? void 0 : _theme$images5.isotype),
299
299
  loading: "lazy"
300
300
  }))), isShowOrderOptions && windowSize.width >= 576 && /*#__PURE__*/_react.default.createElement(_styles.Menu, {
301
301
  id: "center-side",
@@ -307,7 +307,7 @@ var Header = function Header(props) {
307
307
  onClick: function onClick(e) {
308
308
  return handleClickUserCustomer(e);
309
309
  }
310
- }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.GeoAlt, null), /*#__PURE__*/_react.default.createElement("span", null, ((_orderState$options7 = orderState.options) === null || _orderState$options7 === void 0 ? void 0 : (_orderState$options7$ = _orderState$options7.address) === null || _orderState$options7$ === void 0 ? void 0 : _orderState$options7$.address) || t('LANG_WHAT_IS_YOUR_ADDRESS', 'What\'s your address?'))), /*#__PURE__*/_react.default.createElement(_styles.Divider, null)), isCustomerMode && windowSize.width > 450 && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.CustomerInfo, {
310
+ }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.GeoAlt, null), /*#__PURE__*/_react.default.createElement("span", null, ((_orderState$options7 = orderState.options) === null || _orderState$options7 === void 0 || (_orderState$options7 = _orderState$options7.address) === null || _orderState$options7 === void 0 ? void 0 : _orderState$options7.address) || t('LANG_WHAT_IS_YOUR_ADDRESS', 'What\'s your address?'))), /*#__PURE__*/_react.default.createElement(_styles.Divider, null)), isCustomerMode && windowSize.width > 450 && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.CustomerInfo, {
311
311
  onClick: function onClick(e) {
312
312
  return handleClickUserCustomer(e);
313
313
  }
@@ -317,12 +317,12 @@ var Header = function Header(props) {
317
317
  onClick: function onClick() {
318
318
  return openModal('address');
319
319
  }
320
- }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.GeoAlt, null), /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement("p", null, ((_orderState$options8 = orderState.options) === null || _orderState$options8 === void 0 ? void 0 : (_orderState$options8$ = _orderState$options8.address) === null || _orderState$options8$ === void 0 ? void 0 : _orderState$options8$.address) || t('WHAT_IS_YOUR_ADDRESS', 'What\'s your address?')))), !isCustomerMode && (isPreOrderSetting || (configState === null || configState === void 0 ? void 0 : (_configState$configs4 = configState.configs) === null || _configState$configs4 === void 0 ? void 0 : (_configState$configs5 = _configState$configs4.preorder_status_enabled) === null || _configState$configs5 === void 0 ? void 0 : _configState$configs5.value) === undefined) && /*#__PURE__*/_react.default.createElement(_styles.MomentMenu, {
321
- onClick: (configState === null || configState === void 0 ? void 0 : (_configState$configs6 = configState.configs) === null || _configState$configs6 === void 0 ? void 0 : (_configState$configs7 = _configState$configs6.max_days_preorder) === null || _configState$configs7 === void 0 ? void 0 : _configState$configs7.value) === -1 || (configState === null || configState === void 0 ? void 0 : (_configState$configs8 = configState.configs) === null || _configState$configs8 === void 0 ? void 0 : (_configState$configs9 = _configState$configs8.max_days_preorder) === null || _configState$configs9 === void 0 ? void 0 : _configState$configs9.value) === 0 ? null : function () {
320
+ }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.GeoAlt, null), /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement("p", null, ((_orderState$options8 = orderState.options) === null || _orderState$options8 === void 0 || (_orderState$options8 = _orderState$options8.address) === null || _orderState$options8 === void 0 ? void 0 : _orderState$options8.address) || t('WHAT_IS_YOUR_ADDRESS', 'What\'s your address?')))), !isCustomerMode && (isPreOrderSetting || (configState === null || configState === void 0 || (_configState$configs3 = configState.configs) === null || _configState$configs3 === void 0 || (_configState$configs3 = _configState$configs3.preorder_status_enabled) === null || _configState$configs3 === void 0 ? void 0 : _configState$configs3.value) === undefined) && /*#__PURE__*/_react.default.createElement(_styles.MomentMenu, {
321
+ onClick: (configState === null || configState === void 0 || (_configState$configs4 = configState.configs) === null || _configState$configs4 === void 0 || (_configState$configs4 = _configState$configs4.max_days_preorder) === null || _configState$configs4 === void 0 ? void 0 : _configState$configs4.value) === -1 || (configState === null || configState === void 0 || (_configState$configs5 = configState.configs) === null || _configState$configs5 === void 0 || (_configState$configs5 = _configState$configs5.max_days_preorder) === null || _configState$configs5 === void 0 ? void 0 : _configState$configs5.value) === 0 ? null : function () {
322
322
  return openModal('moment');
323
323
  }
324
324
  }, /*#__PURE__*/_react.default.createElement("div", null, (_orderState$options9 = orderState.options) !== null && _orderState$options9 !== void 0 && _orderState$options9.moment ? parseDate((_orderState$options10 = orderState.options) === null || _orderState$options10 === void 0 ? void 0 : _orderState$options10.moment, {
325
- outputFormat: configState === null || configState === void 0 ? void 0 : (_configState$configs10 = configState.configs) === null || _configState$configs10 === void 0 ? void 0 : (_configState$configs11 = _configState$configs10.dates_moment_format) === null || _configState$configs11 === void 0 ? void 0 : _configState$configs11.value
325
+ outputFormat: configState === null || configState === void 0 || (_configState$configs6 = configState.configs) === null || _configState$configs6 === void 0 || (_configState$configs6 = _configState$configs6.dates_moment_format) === null || _configState$configs6 === void 0 ? void 0 : _configState$configs6.value
326
326
  }) : t('ASAP_ABBREVIATION', 'ASAP')))), windowSize.width > 768 ? /*#__PURE__*/_react.default.createElement(_OrderTypeSelectorHeader.OrderTypeSelectorHeader, {
327
327
  orderTypeList: orderTypeList,
328
328
  onClick: function onClick() {
@@ -343,8 +343,8 @@ var Header = function Header(props) {
343
343
  return setSearchValue(value);
344
344
  },
345
345
  handleCustomEnter: function handleCustomEnter() {
346
- var _configState$configs12, _configState$configs13;
347
- return (configState === null || configState === void 0 ? void 0 : (_configState$configs12 = configState.configs) === null || _configState$configs12 === void 0 ? void 0 : (_configState$configs13 = _configState$configs12.advanced_business_search_enabled) === null || _configState$configs13 === void 0 ? void 0 : _configState$configs13.value) === '0' || businessSlug ? null : events.emit('go_to_page', {
346
+ var _configState$configs7;
347
+ return (configState === null || configState === void 0 || (_configState$configs7 = configState.configs) === null || _configState$configs7 === void 0 || (_configState$configs7 = _configState$configs7.advanced_business_search_enabled) === null || _configState$configs7 === void 0 ? void 0 : _configState$configs7.value) === '0' || businessSlug ? null : events.emit('go_to_page', {
348
348
  page: 'business_search'
349
349
  });
350
350
  }
@@ -361,14 +361,14 @@ var Header = function Header(props) {
361
361
  onClick: function onClick() {
362
362
  return handleOpenLoginSignUp('login');
363
363
  }
364
- }, t('LOGIN', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag2 = theme.defaultLanguages) === null || _theme$defaultLanguag2 === void 0 ? void 0 : _theme$defaultLanguag2.LOGIN) || 'Login')), !isHideSignup && /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
364
+ }, t('LOGIN', (theme === null || theme === void 0 || (_theme$defaultLanguag2 = theme.defaultLanguages) === null || _theme$defaultLanguag2 === void 0 ? void 0 : _theme$defaultLanguag2.LOGIN) || 'Login')), !isHideSignup && /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
365
365
  type: "button",
366
366
  color: "primary",
367
367
  name: "signup",
368
368
  onClick: function onClick() {
369
369
  return handleOpenLoginSignUp('signup');
370
370
  }
371
- }, t('SIGN_UP', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag3 = theme.defaultLanguages) === null || _theme$defaultLanguag3 === void 0 ? void 0 : _theme$defaultLanguag3.SIGN_UP) || 'Sign up'))), auth && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, isShowOrderOptions && (windowSize.width > 768 ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !isMulticheckoutPage ? /*#__PURE__*/_react.default.createElement(_CartPopover.CartPopover, {
371
+ }, t('SIGN_UP', (theme === null || theme === void 0 || (_theme$defaultLanguag3 = theme.defaultLanguages) === null || _theme$defaultLanguag3 === void 0 ? void 0 : _theme$defaultLanguag3.SIGN_UP) || 'Sign up'))), auth && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, isShowOrderOptions && (windowSize.width > 768 ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !isMulticheckoutPage ? /*#__PURE__*/_react.default.createElement(_CartPopover.CartPopover, {
372
372
  open: openPopover.cart,
373
373
  carts: carts,
374
374
  onClick: function onClick() {
@@ -405,25 +405,25 @@ var Header = function Header(props) {
405
405
  onClick: function onClick() {
406
406
  return openModal('address');
407
407
  }
408
- }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.GeoAlt, null), " ", ((_orderState$options11 = orderState.options) === null || _orderState$options11 === void 0 ? void 0 : (_orderState$options12 = _orderState$options11.address) === null || _orderState$options12 === void 0 ? void 0 : _orderState$options12.address) || t('WHAT_IS_YOUR_ADDRESS', 'What\'s your address?')), !isCustomerMode && (isPreOrderSetting || (configState === null || configState === void 0 ? void 0 : (_configState$configs14 = configState.configs) === null || _configState$configs14 === void 0 ? void 0 : (_configState$configs15 = _configState$configs14.preorder_status_enabled) === null || _configState$configs15 === void 0 ? void 0 : _configState$configs15.value) === undefined) && /*#__PURE__*/_react.default.createElement(_HeaderOption.HeaderOption, {
408
+ }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.GeoAlt, null), " ", ((_orderState$options11 = orderState.options) === null || _orderState$options11 === void 0 || (_orderState$options11 = _orderState$options11.address) === null || _orderState$options11 === void 0 ? void 0 : _orderState$options11.address) || t('WHAT_IS_YOUR_ADDRESS', 'What\'s your address?')), !isCustomerMode && (isPreOrderSetting || (configState === null || configState === void 0 || (_configState$configs8 = configState.configs) === null || _configState$configs8 === void 0 || (_configState$configs8 = _configState$configs8.preorder_status_enabled) === null || _configState$configs8 === void 0 ? void 0 : _configState$configs8.value) === undefined) && /*#__PURE__*/_react.default.createElement(_HeaderOption.HeaderOption, {
409
409
  variant: "moment",
410
- momentState: orderState === null || orderState === void 0 ? void 0 : (_orderState$options13 = orderState.options) === null || _orderState$options13 === void 0 ? void 0 : _orderState$options13.moment,
411
- onClick: (configState === null || configState === void 0 ? void 0 : (_configState$configs16 = configState.configs) === null || _configState$configs16 === void 0 ? void 0 : (_configState$configs17 = _configState$configs16.max_days_preorder) === null || _configState$configs17 === void 0 ? void 0 : _configState$configs17.value) === -1 || (configState === null || configState === void 0 ? void 0 : (_configState$configs18 = configState.configs) === null || _configState$configs18 === void 0 ? void 0 : (_configState$configs19 = _configState$configs18.max_days_preorder) === null || _configState$configs19 === void 0 ? void 0 : _configState$configs19.value) === 0 ? null : function (variant) {
410
+ momentState: orderState === null || orderState === void 0 || (_orderState$options12 = orderState.options) === null || _orderState$options12 === void 0 ? void 0 : _orderState$options12.moment,
411
+ onClick: (configState === null || configState === void 0 || (_configState$configs9 = configState.configs) === null || _configState$configs9 === void 0 || (_configState$configs9 = _configState$configs9.max_days_preorder) === null || _configState$configs9 === void 0 ? void 0 : _configState$configs9.value) === -1 || (configState === null || configState === void 0 || (_configState$configs10 = configState.configs) === null || _configState$configs10 === void 0 || (_configState$configs10 = _configState$configs10.max_days_preorder) === null || _configState$configs10 === void 0 ? void 0 : _configState$configs10.value) === 0 ? null : function (variant) {
412
412
  return openModal(variant);
413
413
  }
414
414
  })) : windowSize.width >= 576 && /*#__PURE__*/_react.default.createElement(_styles.SubMenu, null, isFarAway && /*#__PURE__*/_react.default.createElement(_styles.FarAwayMessage, null, /*#__PURE__*/_react.default.createElement(_TiWarningOutline.default, null), /*#__PURE__*/_react.default.createElement("span", null, t('YOU_ARE_FAR_FROM_ADDRESS', 'You are far from this address'))), /*#__PURE__*/_react.default.createElement(_HeaderOption.HeaderOption, {
415
415
  variant: "address",
416
- addressState: orderState === null || orderState === void 0 ? void 0 : (_orderState$options14 = orderState.options) === null || _orderState$options14 === void 0 ? void 0 : (_orderState$options15 = _orderState$options14.address) === null || _orderState$options15 === void 0 ? void 0 : _orderState$options15.address,
416
+ addressState: orderState === null || orderState === void 0 || (_orderState$options13 = orderState.options) === null || _orderState$options13 === void 0 || (_orderState$options13 = _orderState$options13.address) === null || _orderState$options13 === void 0 ? void 0 : _orderState$options13.address,
417
417
  onClick: function onClick(variant) {
418
418
  return openModal(variant);
419
419
  },
420
420
  containerStyle: {
421
421
  width: '80%'
422
422
  }
423
- }), !isCustomerMode && (isPreOrderSetting || (configState === null || configState === void 0 ? void 0 : (_configState$configs20 = configState.configs) === null || _configState$configs20 === void 0 ? void 0 : (_configState$configs21 = _configState$configs20.preorder_status_enabled) === null || _configState$configs21 === void 0 ? void 0 : _configState$configs21.value) === undefined) && /*#__PURE__*/_react.default.createElement(_HeaderOption.HeaderOption, {
423
+ }), !isCustomerMode && (isPreOrderSetting || (configState === null || configState === void 0 || (_configState$configs11 = configState.configs) === null || _configState$configs11 === void 0 || (_configState$configs11 = _configState$configs11.preorder_status_enabled) === null || _configState$configs11 === void 0 ? void 0 : _configState$configs11.value) === undefined) && /*#__PURE__*/_react.default.createElement(_HeaderOption.HeaderOption, {
424
424
  variant: "moment",
425
- momentState: orderState === null || orderState === void 0 ? void 0 : (_orderState$options16 = orderState.options) === null || _orderState$options16 === void 0 ? void 0 : _orderState$options16.moment,
426
- onClick: (configState === null || configState === void 0 ? void 0 : (_configState$configs22 = configState.configs) === null || _configState$configs22 === void 0 ? void 0 : (_configState$configs23 = _configState$configs22.max_days_preorder) === null || _configState$configs23 === void 0 ? void 0 : _configState$configs23.value) === -1 || (configState === null || configState === void 0 ? void 0 : (_configState$configs24 = configState.configs) === null || _configState$configs24 === void 0 ? void 0 : (_configState$configs25 = _configState$configs24.max_days_preorder) === null || _configState$configs25 === void 0 ? void 0 : _configState$configs25.value) === 0 ? null : function (variant) {
425
+ momentState: orderState === null || orderState === void 0 || (_orderState$options14 = orderState.options) === null || _orderState$options14 === void 0 ? void 0 : _orderState$options14.moment,
426
+ onClick: (configState === null || configState === void 0 || (_configState$configs12 = configState.configs) === null || _configState$configs12 === void 0 || (_configState$configs12 = _configState$configs12.max_days_preorder) === null || _configState$configs12 === void 0 ? void 0 : _configState$configs12.value) === -1 || (configState === null || configState === void 0 || (_configState$configs13 = configState.configs) === null || _configState$configs13 === void 0 || (_configState$configs13 = _configState$configs13.max_days_preorder) === null || _configState$configs13 === void 0 ? void 0 : _configState$configs13.value) === 0 ? null : function (variant) {
427
427
  return openModal(variant);
428
428
  }
429
429
  }))), modalIsOpen && /*#__PURE__*/_react.default.createElement(_Modal.Modal, _extends({}, !auth && modalSelected === 'address' && {
@@ -433,7 +433,7 @@ var Header = function Header(props) {
433
433
  onClose: function onClose() {
434
434
  return setModalIsOpen(false);
435
435
  },
436
- width: modalSelected === 'address' ? orderState !== null && orderState !== void 0 && (_orderState$options17 = orderState.options) !== null && _orderState$options17 !== void 0 && _orderState$options17.user_id ? '70%' : '50%' : '700px'
436
+ width: modalSelected === 'address' ? orderState !== null && orderState !== void 0 && (_orderState$options15 = orderState.options) !== null && _orderState$options15 !== void 0 && _orderState$options15.user_id ? '70%' : '50%' : '700px'
437
437
  }), modalSelected === 'cart' && /*#__PURE__*/_react.default.createElement(_CartContent.CartContent, {
438
438
  carts: carts,
439
439
  isOrderStateCarts: !!orderState.carts,
@@ -450,7 +450,7 @@ var Header = function Header(props) {
450
450
  isCustomerMode: isCustomerMode
451
451
  }) : /*#__PURE__*/_react.default.createElement(_styles.AddressFormWrapper, null, /*#__PURE__*/_react.default.createElement(_AddressForm.AddressForm, {
452
452
  useValidationFileds: true,
453
- address: (orderState === null || orderState === void 0 ? void 0 : (_orderState$options18 = orderState.options) === null || _orderState$options18 === void 0 ? void 0 : _orderState$options18.address) || {},
453
+ address: (orderState === null || orderState === void 0 || (_orderState$options16 = orderState.options) === null || _orderState$options16 === void 0 ? void 0 : _orderState$options16.address) || {},
454
454
  onCancel: function onCancel() {
455
455
  return setModalIsOpen(false);
456
456
  },
@@ -482,7 +482,7 @@ var Header = function Header(props) {
482
482
  }, /*#__PURE__*/_react.default.createElement(_styles.UserEdit, null, !(customerState !== null && customerState !== void 0 && customerState.loading) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_UserDetails.UserDetails, {
483
483
  isAddressFormOpen: isAddressFormOpen,
484
484
  userData: customerState === null || customerState === void 0 ? void 0 : customerState.user,
485
- userId: customerState === null || customerState === void 0 ? void 0 : (_customerState$user2 = customerState.user) === null || _customerState$user2 === void 0 ? void 0 : _customerState$user2.id,
485
+ userId: customerState === null || customerState === void 0 || (_customerState$user2 = customerState.user) === null || _customerState$user2 === void 0 ? void 0 : _customerState$user2.id,
486
486
  isOpenUserData: isOpenUserData,
487
487
  isCustomerMode: true,
488
488
  isModal: true,
@@ -492,7 +492,7 @@ var Header = function Header(props) {
492
492
  }
493
493
  }), /*#__PURE__*/_react.default.createElement(_AddressList.AddressList, {
494
494
  isModal: true,
495
- userId: customerState === null || customerState === void 0 ? void 0 : (_customerState$user3 = customerState.user) === null || _customerState$user3 === void 0 ? void 0 : _customerState$user3.id,
495
+ userId: customerState === null || customerState === void 0 || (_customerState$user3 = customerState.user) === null || _customerState$user3 === void 0 ? void 0 : _customerState$user3.id,
496
496
  changeOrderAddressWithDefault: true,
497
497
  userCustomerSetup: customerState.user,
498
498
  isOpenUserData: isOpenUserData,
@@ -522,7 +522,7 @@ var Header = function Header(props) {
522
522
  });
523
523
  },
524
524
  href: "#"
525
- }, t('CREATE_ACCOUNT', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag4 = theme.defaultLanguages) === null || _theme$defaultLanguag4 === void 0 ? void 0 : _theme$defaultLanguag4.CREATE_ACCOUNT) || 'Create account')),
525
+ }, t('CREATE_ACCOUNT', (theme === null || theme === void 0 || (_theme$defaultLanguag4 = theme.defaultLanguages) === null || _theme$defaultLanguag4 === void 0 ? void 0 : _theme$defaultLanguag4.CREATE_ACCOUNT) || 'Create account')),
526
526
  elementLinkToForgotPassword: /*#__PURE__*/_react.default.createElement("a", {
527
527
  onClick: function onClick(e) {
528
528
  return handleCustomModalClick(e, {
@@ -530,7 +530,7 @@ var Header = function Header(props) {
530
530
  });
531
531
  },
532
532
  href: "#"
533
- }, t('RESET_PASSWORD', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag5 = theme.defaultLanguages) === null || _theme$defaultLanguag5 === void 0 ? void 0 : _theme$defaultLanguag5.RESET_PASSWORD) || 'Reset password')),
533
+ }, t('RESET_PASSWORD', (theme === null || theme === void 0 || (_theme$defaultLanguag5 = theme.defaultLanguages) === null || _theme$defaultLanguag5 === void 0 ? void 0 : _theme$defaultLanguag5.RESET_PASSWORD) || 'Reset password')),
534
534
  useLoginByCellphone: true,
535
535
  isPopup: true
536
536
  }), modalPageToShow === 'signup' && /*#__PURE__*/_react.default.createElement(_SignUpForm.SignUpForm, {
@@ -542,7 +542,7 @@ var Header = function Header(props) {
542
542
  });
543
543
  },
544
544
  href: "#"
545
- }, t('LOGIN', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag6 = theme.defaultLanguages) === null || _theme$defaultLanguag6 === void 0 ? void 0 : _theme$defaultLanguag6.LOGIN) || 'Login')),
545
+ }, t('LOGIN', (theme === null || theme === void 0 || (_theme$defaultLanguag6 = theme.defaultLanguages) === null || _theme$defaultLanguag6 === void 0 ? void 0 : _theme$defaultLanguag6.LOGIN) || 'Login')),
546
546
  useLoginByCellphone: true,
547
547
  useChekoutFileds: true,
548
548
  handleSuccessSignup: handleSuccessSignup,
@@ -558,12 +558,12 @@ var Header = function Header(props) {
558
558
  });
559
559
  },
560
560
  href: "#"
561
- }, t('LOGIN', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag7 = theme.defaultLanguages) === null || _theme$defaultLanguag7 === void 0 ? void 0 : _theme$defaultLanguag7.LOGIN) || 'Login')),
561
+ }, t('LOGIN', (theme === null || theme === void 0 || (_theme$defaultLanguag7 = theme.defaultLanguages) === null || _theme$defaultLanguag7 === void 0 ? void 0 : _theme$defaultLanguag7.LOGIN) || 'Login')),
562
562
  isPopup: true
563
563
  })), /*#__PURE__*/_react.default.createElement(_Confirm.Confirm, {
564
- title: t('CUSTOMER', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag8 = theme.defaultLanguages) === null || _theme$defaultLanguag8 === void 0 ? void 0 : _theme$defaultLanguag8.CUSTOMER) || 'Customer'),
564
+ title: t('CUSTOMER', (theme === null || theme === void 0 || (_theme$defaultLanguag8 = theme.defaultLanguages) === null || _theme$defaultLanguag8 === void 0 ? void 0 : _theme$defaultLanguag8.CUSTOMER) || 'Customer'),
565
565
  content: confirm.content,
566
- acceptText: t('ACCEPT', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag9 = theme.defaultLanguages) === null || _theme$defaultLanguag9 === void 0 ? void 0 : _theme$defaultLanguag9.ACCEPT) || 'Accept'),
566
+ acceptText: t('ACCEPT', (theme === null || theme === void 0 || (_theme$defaultLanguag9 = theme.defaultLanguages) === null || _theme$defaultLanguag9 === void 0 ? void 0 : _theme$defaultLanguag9.ACCEPT) || 'Accept'),
567
567
  open: isCustomerMode && confirm.open,
568
568
  onClose: function onClose() {
569
569
  return setConfirm(_objectSpread(_objectSpread({}, confirm), {}, {
@@ -25,7 +25,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
25
25
  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; } }
26
26
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
27
27
  var Header = function Header(props) {
28
- var _configState$configs, _configState$configs$, _theme$images, _theme$images$logos, _theme$images2, _theme$images2$logos, _theme$images3, _theme$images3$logos, _theme$defaultLanguag, _theme$defaultLanguag2, _theme$defaultLanguag3;
28
+ var _configState$configs, _theme$images, _theme$images2, _theme$images3, _theme$defaultLanguag, _theme$defaultLanguag2, _theme$defaultLanguag3;
29
29
  var isHome = props.isHome;
30
30
  var _useEvent = (0, _orderingComponentsExternal.useEvent)(),
31
31
  _useEvent2 = _slicedToArray(_useEvent, 1),
@@ -61,7 +61,7 @@ var Header = function Header(props) {
61
61
  var orderTypeList = [t('DELIVERY', 'Delivery'), t('PICKUP', 'Pickup'), t('EAT_IN', 'Eat in'), t('CURBSIDE', 'Curbside'), t('DRIVE_THRU', 'Drive thru')];
62
62
  var excludeTypes = [1];
63
63
  // const configTypes = configState?.configs?.order_types_allowed?.value.split('|').map(value => Number(value)).filter(val => !excludeTypes.includes(val)) || []
64
- var configTypes = (configState === null || configState === void 0 ? void 0 : (_configState$configs = configState.configs) === null || _configState$configs === void 0 ? void 0 : (_configState$configs$ = _configState$configs.order_types_allowed) === null || _configState$configs$ === void 0 ? void 0 : _configState$configs$.value.split('|').map(function (value) {
64
+ var configTypes = (configState === null || configState === void 0 || (_configState$configs = configState.configs) === null || _configState$configs === void 0 || (_configState$configs = _configState$configs.order_types_allowed) === null || _configState$configs === void 0 ? void 0 : _configState$configs.value.split('|').map(function (value) {
65
65
  return !excludeTypes.includes(Number(value)) && Number(value);
66
66
  })) || [];
67
67
  var openModal = function openModal(opt) {
@@ -107,13 +107,13 @@ var Header = function Header(props) {
107
107
  alt: "Logotype",
108
108
  width: "170px",
109
109
  height: "45px",
110
- src: theme === null || theme === void 0 ? void 0 : (_theme$images = theme.images) === null || _theme$images === void 0 ? void 0 : (_theme$images$logos = _theme$images.logos) === null || _theme$images$logos === void 0 ? void 0 : _theme$images$logos.logotype,
110
+ src: theme === null || theme === void 0 || (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.logos) === null || _theme$images === void 0 ? void 0 : _theme$images.logotype,
111
111
  loading: "lazy"
112
112
  }), /*#__PURE__*/_react.default.createElement("img", {
113
113
  alt: "Isotype",
114
114
  width: "35px",
115
115
  height: "45px",
116
- src: isHome ? theme === null || theme === void 0 ? void 0 : (_theme$images2 = theme.images) === null || _theme$images2 === void 0 ? void 0 : (_theme$images2$logos = _theme$images2.logos) === null || _theme$images2$logos === void 0 ? void 0 : _theme$images2$logos.isotypeInvert : theme === null || theme === void 0 ? void 0 : (_theme$images3 = theme.images) === null || _theme$images3 === void 0 ? void 0 : (_theme$images3$logos = _theme$images3.logos) === null || _theme$images3$logos === void 0 ? void 0 : _theme$images3$logos.isotype,
116
+ src: isHome ? theme === null || theme === void 0 || (_theme$images2 = theme.images) === null || _theme$images2 === void 0 || (_theme$images2 = _theme$images2.logos) === null || _theme$images2 === void 0 ? void 0 : _theme$images2.isotypeInvert : theme === null || theme === void 0 || (_theme$images3 = theme.images) === null || _theme$images3 === void 0 || (_theme$images3 = _theme$images3.logos) === null || _theme$images3 === void 0 ? void 0 : _theme$images3.isotype,
117
117
  loading: "lazy"
118
118
  }))), /*#__PURE__*/_react.default.createElement(_styles.Menu, {
119
119
  className: "left-header"
@@ -140,7 +140,7 @@ var Header = function Header(props) {
140
140
  whiteSpace: 'nowrap'
141
141
  },
142
142
  name: "signin"
143
- }, t('LOGIN', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag = theme.defaultLanguages) === null || _theme$defaultLanguag === void 0 ? void 0 : _theme$defaultLanguag.LOGIN) || 'Login'))))), modalIsOpen && /*#__PURE__*/_react.default.createElement(_Modal.Modal, {
143
+ }, t('LOGIN', (theme === null || theme === void 0 || (_theme$defaultLanguag = theme.defaultLanguages) === null || _theme$defaultLanguag === void 0 ? void 0 : _theme$defaultLanguag.LOGIN) || 'Login'))))), modalIsOpen && /*#__PURE__*/_react.default.createElement(_Modal.Modal, {
144
144
  open: modalIsOpen,
145
145
  onClose: function onClose() {
146
146
  return setModalIsOpen(false);
@@ -180,7 +180,7 @@ var Header = function Header(props) {
180
180
  });
181
181
  },
182
182
  href: "#"
183
- }, t('CREATE_ACCOUNT', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag2 = theme.defaultLanguages) === null || _theme$defaultLanguag2 === void 0 ? void 0 : _theme$defaultLanguag2.CREATE_ACCOUNT) || 'Create account')),
183
+ }, t('CREATE_ACCOUNT', (theme === null || theme === void 0 || (_theme$defaultLanguag2 = theme.defaultLanguages) === null || _theme$defaultLanguag2 === void 0 ? void 0 : _theme$defaultLanguag2.CREATE_ACCOUNT) || 'Create account')),
184
184
  elementLinkToForgotPassword: /*#__PURE__*/_react.default.createElement("a", {
185
185
  onClick: function onClick(e) {
186
186
  return handleCustomModalClick(e, {
@@ -188,7 +188,7 @@ var Header = function Header(props) {
188
188
  });
189
189
  },
190
190
  href: "#"
191
- }, t('RESET_PASSWORD', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag3 = theme.defaultLanguages) === null || _theme$defaultLanguag3 === void 0 ? void 0 : _theme$defaultLanguag3.RESET_PASSWORD) || 'Reset password'))
191
+ }, t('RESET_PASSWORD', (theme === null || theme === void 0 || (_theme$defaultLanguag3 = theme.defaultLanguages) === null || _theme$defaultLanguag3 === void 0 ? void 0 : _theme$defaultLanguag3.RESET_PASSWORD) || 'Reset password'))
192
192
  })));
193
193
  };
194
194
  exports.Header = Header;
@@ -12,28 +12,28 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
12
12
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
13
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
14
14
  var Header = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n background-color: ", ";\n border-bottom: ", ";\n"])), function (props) {
15
- var _props$theme, _props$theme$header, _props$theme$header$c, _props$theme$header$c2;
16
- return props.isChew && props.theme.colors.primary || ((_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : (_props$theme$header = _props$theme.header) === null || _props$theme$header === void 0 ? void 0 : (_props$theme$header$c = _props$theme$header.components) === null || _props$theme$header$c === void 0 ? void 0 : (_props$theme$header$c2 = _props$theme$header$c.style) === null || _props$theme$header$c2 === void 0 ? void 0 : _props$theme$header$c2.backgroundColor);
15
+ var _props$theme;
16
+ return props.isChew && props.theme.colors.primary || ((_props$theme = props.theme) === null || _props$theme === void 0 || (_props$theme = _props$theme.header) === null || _props$theme === void 0 || (_props$theme = _props$theme.components) === null || _props$theme === void 0 || (_props$theme = _props$theme.style) === null || _props$theme === void 0 ? void 0 : _props$theme.backgroundColor);
17
17
  }, function (props) {
18
18
  return !props.isChew && (0, _styledComponents.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["1px solid #E9ECEF"])));
19
19
  });
20
20
  exports.Header = Header;
21
21
  var InnerHeader = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n color: #FFF;\n justify-content: space-between;\n margin: 15px 0;\n align-items: center;\n #left-side {\n width: ", ";\n justify-content: flex-start;\n }\n #right-side {\n width: ", ";\n justify-content: flex-end;\n }\n #center-side {\n width: ", ";\n }\n @media (min-width: 768px) {\n #left-side {\n width: ", ";\n }\n #center-side {\n width: calc(100% - 60px);\n }\n }\n @media (min-width: 1024px) {\n #center-side {\n width: calc(100% - 140px);\n }\n }\n @media (min-width: 1200px) {\n #center-side {\n width: calc(70% - 200px);\n }\n }\n @media (min-width: 1500px) {\n #center-side {\n width: calc(60% - 260px);\n }\n }\n"])), function (_ref) {
22
- var _theme$header, _theme$header$compone, _theme$header$compone2;
22
+ var _theme$header;
23
23
  var theme = _ref.theme;
24
- return (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$compone2.type) === 'starbucks' ? '30%' : '25%';
24
+ return (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 ? void 0 : _theme$header.type) === 'starbucks' ? '30%' : '25%';
25
25
  }, function (_ref2) {
26
- var _theme$header2, _theme$header2$compon, _theme$header2$compon2;
26
+ var _theme$header2;
27
27
  var theme = _ref2.theme;
28
- return (theme === null || theme === void 0 ? void 0 : (_theme$header2 = theme.header) === null || _theme$header2 === void 0 ? void 0 : (_theme$header2$compon = _theme$header2.components) === null || _theme$header2$compon === void 0 ? void 0 : (_theme$header2$compon2 = _theme$header2$compon.layout) === null || _theme$header2$compon2 === void 0 ? void 0 : _theme$header2$compon2.type) === 'starbucks' ? '30%' : '40%';
28
+ return (theme === null || theme === void 0 || (_theme$header2 = theme.header) === null || _theme$header2 === void 0 || (_theme$header2 = _theme$header2.components) === null || _theme$header2 === void 0 || (_theme$header2 = _theme$header2.layout) === null || _theme$header2 === void 0 ? void 0 : _theme$header2.type) === 'starbucks' ? '30%' : '40%';
29
29
  }, function (_ref3) {
30
- var _theme$header3, _theme$header3$compon, _theme$header3$compon2;
30
+ var _theme$header3;
31
31
  var theme = _ref3.theme;
32
- return (theme === null || theme === void 0 ? void 0 : (_theme$header3 = theme.header) === null || _theme$header3 === void 0 ? void 0 : (_theme$header3$compon = _theme$header3.components) === null || _theme$header3$compon === void 0 ? void 0 : (_theme$header3$compon2 = _theme$header3$compon.layout) === null || _theme$header3$compon2 === void 0 ? void 0 : _theme$header3$compon2.type) === 'starbucks' ? 'calc(60% - 140px)' : 'calc(60% - 30px)';
32
+ return (theme === null || theme === void 0 || (_theme$header3 = theme.header) === null || _theme$header3 === void 0 || (_theme$header3 = _theme$header3.components) === null || _theme$header3 === void 0 || (_theme$header3 = _theme$header3.layout) === null || _theme$header3 === void 0 ? void 0 : _theme$header3.type) === 'starbucks' ? 'calc(60% - 140px)' : 'calc(60% - 30px)';
33
33
  }, function (_ref4) {
34
- var _theme$header4, _theme$header4$compon, _theme$header4$compon2;
34
+ var _theme$header4;
35
35
  var theme = _ref4.theme;
36
- return (theme === null || theme === void 0 ? void 0 : (_theme$header4 = theme.header) === null || _theme$header4 === void 0 ? void 0 : (_theme$header4$compon = _theme$header4.components) === null || _theme$header4$compon === void 0 ? void 0 : (_theme$header4$compon2 = _theme$header4$compon.layout) === null || _theme$header4$compon2 === void 0 ? void 0 : _theme$header4$compon2.type) === 'starbucks' ? '30%' : 'initial';
36
+ return (theme === null || theme === void 0 || (_theme$header4 = theme.header) === null || _theme$header4 === void 0 || (_theme$header4 = _theme$header4.components) === null || _theme$header4 === void 0 || (_theme$header4 = _theme$header4.layout) === null || _theme$header4 === void 0 ? void 0 : _theme$header4.type) === 'starbucks' ? '30%' : 'initial';
37
37
  });
38
38
  exports.InnerHeader = InnerHeader;
39
39
  var LogoHeader = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n cursor: pointer;\n img {\n width: ", ";\n height: ", ";\n margin: 0;\n vertical-align: middle;\n margin-left: 10px;\n ", "\n @media (min-width: 769px) {\n ", ";\n width: ", ";\n height: ", ";\n }\n }\n ", "\n @media (min-width: 769px) {\n img:nth-child(1) {\n display: block;\n }\n img:nth-child(2) {\n display: none;\n }\n }\n"])), function (props) {
@@ -46,9 +46,9 @@ var LogoHeader = _styledComponents.default.div(_templateObject4 || (_templateObj
46
46
  var _props$theme2;
47
47
  return ((_props$theme2 = props.theme) === null || _props$theme2 === void 0 ? void 0 : _props$theme2.rtl) && (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-right: 10px;\n margin-left: 0;\n "])));
48
48
  }, function (_ref5) {
49
- var _ref6, _theme$header5, _theme$header5$compon, _theme$header5$compon2, _theme$header5$compon3, _theme$header5$compon4;
49
+ var _ref6, _theme$header5;
50
50
  var theme = _ref5.theme;
51
- return ((_ref6 = ['center', 'right']) === null || _ref6 === void 0 ? void 0 : _ref6.includes(theme === null || theme === void 0 ? void 0 : (_theme$header5 = theme.header) === null || _theme$header5 === void 0 ? void 0 : (_theme$header5$compon = _theme$header5.components) === null || _theme$header5$compon === void 0 ? void 0 : (_theme$header5$compon2 = _theme$header5$compon.logo) === null || _theme$header5$compon2 === void 0 ? void 0 : (_theme$header5$compon3 = _theme$header5$compon2.components) === null || _theme$header5$compon3 === void 0 ? void 0 : (_theme$header5$compon4 = _theme$header5$compon3.layout) === null || _theme$header5$compon4 === void 0 ? void 0 : _theme$header5$compon4.position)) && (0, _styledComponents.css)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin-right: 30px;\n "])));
51
+ return ((_ref6 = ['center', 'right']) === null || _ref6 === void 0 ? void 0 : _ref6.includes(theme === null || theme === void 0 || (_theme$header5 = theme.header) === null || _theme$header5 === void 0 || (_theme$header5 = _theme$header5.components) === null || _theme$header5 === void 0 || (_theme$header5 = _theme$header5.logo) === null || _theme$header5 === void 0 || (_theme$header5 = _theme$header5.components) === null || _theme$header5 === void 0 || (_theme$header5 = _theme$header5.layout) === null || _theme$header5 === void 0 ? void 0 : _theme$header5.position)) && (0, _styledComponents.css)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin-right: 30px;\n "])));
52
52
  }, function (props) {
53
53
  var _props$imgW2;
54
54
  return (_props$imgW2 = props.imgW) !== null && _props$imgW2 !== void 0 ? _props$imgW2 : '150px';
@@ -144,8 +144,8 @@ exports.LanguageSelectorWrapper = LanguageSelectorWrapper;
144
144
  var HeaderSearchMode = _styledComponents.default.div(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n width: 300px;\n input {\n overflow: hidden;\n text-overflow: ellipsis;\n }\n @media (min-width: 1400px){\n width: 350px;\n }\n @media (min-width: 1200px){\n width: 300px;\n div {\n > span {\n padding: 7px 0;\n }\n }\n }\n"])));
145
145
  exports.HeaderSearchMode = HeaderSearchMode;
146
146
  var LeftSide = _styledComponents.default.div(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n @media (min-width: 769px){\n flex-direction: ", ";\n width: 62%;\n }\n"])), function (_ref12) {
147
- var _ref13, _theme$header6, _theme$header6$compon, _theme$header6$compon2, _theme$header6$compon3, _theme$header6$compon4;
147
+ var _ref13, _theme$header6;
148
148
  var theme = _ref12.theme;
149
- return (_ref13 = ['center', 'right']) !== null && _ref13 !== void 0 && _ref13.includes(theme === null || theme === void 0 ? void 0 : (_theme$header6 = theme.header) === null || _theme$header6 === void 0 ? void 0 : (_theme$header6$compon = _theme$header6.components) === null || _theme$header6$compon === void 0 ? void 0 : (_theme$header6$compon2 = _theme$header6$compon.logo) === null || _theme$header6$compon2 === void 0 ? void 0 : (_theme$header6$compon3 = _theme$header6$compon2.components) === null || _theme$header6$compon3 === void 0 ? void 0 : (_theme$header6$compon4 = _theme$header6$compon3.layout) === null || _theme$header6$compon4 === void 0 ? void 0 : _theme$header6$compon4.position) ? 'row-reverse' : 'row';
149
+ return (_ref13 = ['center', 'right']) !== null && _ref13 !== void 0 && _ref13.includes(theme === null || theme === void 0 || (_theme$header6 = theme.header) === null || _theme$header6 === void 0 || (_theme$header6 = _theme$header6.components) === null || _theme$header6 === void 0 || (_theme$header6 = _theme$header6.logo) === null || _theme$header6 === void 0 || (_theme$header6 = _theme$header6.components) === null || _theme$header6 === void 0 || (_theme$header6 = _theme$header6.layout) === null || _theme$header6 === void 0 ? void 0 : _theme$header6.position) ? 'row-reverse' : 'row';
150
150
  });
151
151
  exports.LeftSide = LeftSide;
@@ -19,7 +19,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
19
19
  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; } }
20
20
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
21
  var HeaderOption = function HeaderOption(props) {
22
- var _theme$header, _theme$header$compone, _theme$header$compone2, _theme$header$compone3, _props$beforeElements, _props$beforeComponen, _configs$dates_moment, _props$afterComponent, _props$afterElements;
22
+ var _theme$header, _props$beforeElements, _props$beforeComponen, _configs$dates_moment, _props$afterComponent, _props$afterElements;
23
23
  var variant = props.variant,
24
24
  addressState = props.addressState,
25
25
  momentState = props.momentState,
@@ -38,7 +38,7 @@ var HeaderOption = function HeaderOption(props) {
38
38
  _useOrder2 = _slicedToArray(_useOrder, 1),
39
39
  orderStatus = _useOrder2[0];
40
40
  var theme = (0, _styledComponents.useTheme)();
41
- 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';
41
+ 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';
42
42
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (_props$beforeElements = props.beforeElements) === null || _props$beforeElements === void 0 ? void 0 : _props$beforeElements.map(function (BeforeElement, i) {
43
43
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
44
44
  key: i
@@ -60,7 +60,7 @@ var HeaderOption = function HeaderOption(props) {
60
60
  }), totalCarts > 0 && /*#__PURE__*/_react.default.createElement("span", null, totalCarts)), variant === 'address' && /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement(_FaMapMarkerAlt.default, {
61
61
  id: "icon"
62
62
  }), addressState || t('WHAT_IS_YOUR_ADDRESS', 'What\'s your address?')), variant === 'moment' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, momentState ? parseDate(momentState, {
63
- outputFormat: configs === null || configs === void 0 ? void 0 : (_configs$dates_moment = configs.dates_moment_format) === null || _configs$dates_moment === void 0 ? void 0 : _configs$dates_moment.value
63
+ outputFormat: configs === null || configs === void 0 || (_configs$dates_moment = configs.dates_moment_format) === null || _configs$dates_moment === void 0 ? void 0 : _configs$dates_moment.value
64
64
  }) : t('ASAP_ABBREVIATION', 'ASAP')), variant === 'delivery' && /*#__PURE__*/_react.default.createElement(_styles.DeliveryType, {
65
65
  isChew: isChew
66
66
  }, orderTypeList && orderTypeList[(orderStatus === null || orderStatus === void 0 ? void 0 : orderStatus.options.type) - 1] || t('DELIVERY', 'Delivery'))), (_props$afterComponent = props.afterComponents) === null || _props$afterComponent === void 0 ? void 0 : _props$afterComponent.map(function (AfterComponent, i) {
@@ -46,9 +46,9 @@ var HighestRatedUI = function HighestRatedUI(props) {
46
46
  var _useOrder = (0, _orderingComponentsExternal.useOrder)(),
47
47
  _useOrder2 = _slicedToArray(_useOrder, 1),
48
48
  orderState = _useOrder2[0];
49
- var isBusinessWithReviews = businessesList === null || businessesList === void 0 ? void 0 : (_businessesList$busin = businessesList.businesses) === null || _businessesList$busin === void 0 ? void 0 : _businessesList$busin.every(function (business) {
49
+ var isBusinessWithReviews = businessesList === null || businessesList === void 0 || (_businessesList$busin = businessesList.businesses) === null || _businessesList$busin === void 0 ? void 0 : _businessesList$busin.every(function (business) {
50
50
  var _business$reviews;
51
- return (business === null || business === void 0 ? void 0 : (_business$reviews = business.reviews) === null || _business$reviews === void 0 ? void 0 : _business$reviews.total) === 0;
51
+ return (business === null || business === void 0 || (_business$reviews = business.reviews) === null || _business$reviews === void 0 ? void 0 : _business$reviews.total) === 0;
52
52
  });
53
53
  (0, _react.useEffect)(function () {
54
54
  if (!businessesList.loading) {
@@ -65,7 +65,7 @@ var HighestRatedUI = function HighestRatedUI(props) {
65
65
  }
66
66
  });
67
67
  setFavoriteIds && setFavoriteIds(_toConsumableArray(new Set(ids)));
68
- }, [businessesList === null || businessesList === void 0 ? void 0 : (_businessesList$busin3 = businessesList.businesses) === null || _businessesList$busin3 === void 0 ? void 0 : _businessesList$busin3.length]);
68
+ }, [businessesList === null || businessesList === void 0 || (_businessesList$busin3 = businessesList.businesses) === null || _businessesList$busin3 === void 0 ? void 0 : _businessesList$busin3.length]);
69
69
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (_props$beforeElements = props.beforeElements) === null || _props$beforeElements === void 0 ? void 0 : _props$beforeElements.map(function (BeforeElement, i) {
70
70
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
71
71
  key: i
@@ -84,15 +84,15 @@ var HighestRatedUI = function HighestRatedUI(props) {
84
84
  }
85
85
  }, t('CHANGE_ADDRESS', 'Select other Address'))), /*#__PURE__*/_react.default.createElement(_AutoScroll.AutoScroll, {
86
86
  scrollId: "highestRated"
87
- }, !(businessesList !== null && businessesList !== void 0 && businessesList.loading) && (businessesList === null || businessesList === void 0 ? void 0 : (_businessesList$busin4 = businessesList.businesses) === null || _businessesList$busin4 === void 0 ? void 0 : _businessesList$busin4.map(function (business) {
87
+ }, !(businessesList !== null && businessesList !== void 0 && businessesList.loading) && (businessesList === null || businessesList === void 0 || (_businessesList$busin4 = businessesList.businesses) === null || _businessesList$busin4 === void 0 ? void 0 : _businessesList$busin4.map(function (business) {
88
88
  var _business$reviews2, _orderState$options;
89
- return (business === null || business === void 0 ? void 0 : (_business$reviews2 = business.reviews) === null || _business$reviews2 === void 0 ? void 0 : _business$reviews2.total) > 0 && /*#__PURE__*/_react.default.createElement(_BusinessController.BusinessController, {
89
+ return (business === null || business === void 0 || (_business$reviews2 = business.reviews) === null || _business$reviews2 === void 0 ? void 0 : _business$reviews2.total) > 0 && /*#__PURE__*/_react.default.createElement(_BusinessController.BusinessController, {
90
90
  key: business.id,
91
91
  className: "card",
92
92
  business: business,
93
93
  isBusinessOpen: business.open,
94
94
  handleCustomClick: handleBusinessClick,
95
- orderType: orderState === null || orderState === void 0 ? void 0 : (_orderState$options = orderState.options) === null || _orderState$options === void 0 ? void 0 : _orderState$options.type,
95
+ orderType: orderState === null || orderState === void 0 || (_orderState$options = orderState.options) === null || _orderState$options === void 0 ? void 0 : _orderState$options.type,
96
96
  isCustomLayout: isCustomLayout,
97
97
  isCustomerMode: isCustomerMode,
98
98
  favoriteIds: favoriteIds,
@@ -105,7 +105,7 @@ var HighestRatedUI = function HighestRatedUI(props) {
105
105
  className: "card",
106
106
  business: {},
107
107
  isSkeleton: true,
108
- orderType: orderState === null || orderState === void 0 ? void 0 : (_orderState$options2 = orderState.options) === null || _orderState$options2 === void 0 ? void 0 : _orderState$options2.type
108
+ orderType: orderState === null || orderState === void 0 || (_orderState$options2 = orderState.options) === null || _orderState$options2 === void 0 ? void 0 : _orderState$options2.type
109
109
  });
110
110
  }), businessesList.error && businessesList.error.length > 0 && businessesList.businesses.length === 0 && businessesList.error.map(function (e, i) {
111
111
  return /*#__PURE__*/_react.default.createElement(_styles.ErrorMessage, {