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
@@ -18,7 +18,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
18
18
  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; } }
19
19
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
20
  var SingleProductCard = function SingleProductCard(props) {
21
- var _orderState$carts, _cart$products, _cart$products2, _props$beforeElements, _props$beforeComponen, _theme$images, _theme$images$dummies, _props$afterComponent, _props$afterElements;
21
+ var _orderState$carts, _cart$products, _cart$products2, _props$beforeElements, _props$beforeComponen, _theme$images, _props$afterComponent, _props$afterElements;
22
22
  var cartAmount = props.cartAmount,
23
23
  businessId = props.businessId,
24
24
  product = props.product,
@@ -48,12 +48,12 @@ var SingleProductCard = function SingleProductCard(props) {
48
48
  var editMode = typeof (product === null || product === void 0 ? void 0 : product.code) !== 'undefined';
49
49
  var removeToBalance = editMode ? product === null || product === void 0 ? void 0 : product.quantity : 0;
50
50
  var cart = (_orderState$carts = orderState.carts) === null || _orderState$carts === void 0 ? void 0 : _orderState$carts["businessId:".concat(businessId)];
51
- var productCart = cart === null || cart === void 0 ? void 0 : (_cart$products = cart.products) === null || _cart$products === void 0 ? void 0 : _cart$products.find(function (prod) {
51
+ var productCart = cart === null || cart === void 0 || (_cart$products = cart.products) === null || _cart$products === void 0 ? void 0 : _cart$products.find(function (prod) {
52
52
  return prod.id === (product === null || product === void 0 ? void 0 : product.id);
53
53
  });
54
54
  var totalBalance = ((productCart === null || productCart === void 0 ? void 0 : productCart.quantity) || 0) - removeToBalance;
55
55
  var maxCartProductConfig = (stateConfig.configs.max_product_amount ? parseInt(stateConfig.configs.max_product_amount) : 100) - totalBalance;
56
- var productBalance = ((cart === null || cart === void 0 ? void 0 : (_cart$products2 = cart.products) === null || _cart$products2 === void 0 ? void 0 : _cart$products2.reduce(function (sum, _product) {
56
+ var productBalance = ((cart === null || cart === void 0 || (_cart$products2 = cart.products) === null || _cart$products2 === void 0 ? void 0 : _cart$products2.reduce(function (sum, _product) {
57
57
  return sum + (product && _product.id === (product === null || product === void 0 ? void 0 : product.id) ? _product.quantity : 0);
58
58
  }, 0)) || 0) - removeToBalance;
59
59
  var maxCartProductInventory = (product !== null && product !== void 0 && product.inventoried ? product === null || product === void 0 ? void 0 : product.quantity : undefined) - productBalance;
@@ -77,7 +77,7 @@ var SingleProductCard = function SingleProductCard(props) {
77
77
  }, !useCustomFunctionality && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !isSkeleton ? /*#__PURE__*/_react.default.createElement(_styles.WrapLogo, null, /*#__PURE__*/_react.default.createElement(_styles.CardLogo, {
78
78
  className: "image",
79
79
  soldOut: isSoldOut || maxProductQuantity <= 0,
80
- bgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.images) || ((_theme$images = theme.images) === null || _theme$images === void 0 ? void 0 : (_theme$images$dummies = _theme$images.dummies) === null || _theme$images$dummies === void 0 ? void 0 : _theme$images$dummies.product), 'h_200,c_limit')
80
+ bgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.images) || ((_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.dummies) === null || _theme$images === void 0 ? void 0 : _theme$images.product), 'h_200,c_limit')
81
81
  })) : /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
82
82
  height: 150,
83
83
  width: 150
@@ -31,7 +31,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
31
31
  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; } }
32
32
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
33
33
  var UserFormDetailsUI = function UserFormDetailsUI(props) {
34
- var _validationFields$fie, _validationFields$fie2, _validationFields$fie3, _validationFields$fie4, _props$beforeElements, _props$beforeComponen, _props$beforeMidEleme, _props$beforeMidCompo, _validationFields$fie11, _props$afterMidElemen, _props$afterMidCompon, _props$afterComponent, _props$afterElements;
34
+ var _validationFields$fie, _validationFields$fie2, _props$beforeElements, _props$beforeComponen, _props$beforeMidEleme, _props$beforeMidCompo, _validationFields$fie5, _props$afterMidElemen, _props$afterMidCompon, _props$afterComponent, _props$afterElements;
35
35
  var isEdit = props.isEdit,
36
36
  formState = props.formState,
37
37
  onCancel = props.onCancel,
@@ -83,7 +83,7 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
83
83
  }
84
84
  });
85
85
  };
86
- var showInputPhoneNumber = (_validationFields$fie = validationFields === null || validationFields === void 0 ? void 0 : (_validationFields$fie2 = validationFields.fields) === null || _validationFields$fie2 === void 0 ? void 0 : (_validationFields$fie3 = _validationFields$fie2.checkout) === null || _validationFields$fie3 === void 0 ? void 0 : (_validationFields$fie4 = _validationFields$fie3.cellphone) === null || _validationFields$fie4 === void 0 ? void 0 : _validationFields$fie4.enabled) !== null && _validationFields$fie !== void 0 ? _validationFields$fie : false;
86
+ var showInputPhoneNumber = (_validationFields$fie = validationFields === null || validationFields === void 0 || (_validationFields$fie2 = validationFields.fields) === null || _validationFields$fie2 === void 0 || (_validationFields$fie2 = _validationFields$fie2.checkout) === null || _validationFields$fie2 === void 0 || (_validationFields$fie2 = _validationFields$fie2.cellphone) === null || _validationFields$fie2 === void 0 ? void 0 : _validationFields$fie2.enabled) !== null && _validationFields$fie !== void 0 ? _validationFields$fie : false;
87
87
  var setUserCellPhone = function setUserCellPhone() {
88
88
  var isEdit = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
89
89
  if (userPhoneNumber && !userPhoneNumber.includes('null') && !isEdit) {
@@ -110,9 +110,9 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
110
110
  setUserPhoneNumber((user === null || user === void 0 ? void 0 : user.cellphone) || '');
111
111
  };
112
112
  var onSubmit = function onSubmit() {
113
- var _validationFields$fie5, _validationFields$fie6, _validationFields$fie7, _validationFields$fie8, _validationFields$fie9, _validationFields$fie10;
113
+ var _validationFields$fie3, _validationFields$fie4;
114
114
  var isPhoneNumberValid = userPhoneNumber ? isValidPhoneNumber : true;
115
- if (!userPhoneNumber && validationFields !== null && validationFields !== void 0 && (_validationFields$fie5 = validationFields.fields) !== null && _validationFields$fie5 !== void 0 && (_validationFields$fie6 = _validationFields$fie5.checkout) !== null && _validationFields$fie6 !== void 0 && (_validationFields$fie7 = _validationFields$fie6.cellphone) !== null && _validationFields$fie7 !== void 0 && _validationFields$fie7.enabled && validationFields !== null && validationFields !== void 0 && (_validationFields$fie8 = validationFields.fields) !== null && _validationFields$fie8 !== void 0 && (_validationFields$fie9 = _validationFields$fie8.checkout) !== null && _validationFields$fie9 !== void 0 && (_validationFields$fie10 = _validationFields$fie9.cellphone) !== null && _validationFields$fie10 !== void 0 && _validationFields$fie10.required) {
115
+ if (!userPhoneNumber && validationFields !== null && validationFields !== void 0 && (_validationFields$fie3 = validationFields.fields) !== null && _validationFields$fie3 !== void 0 && (_validationFields$fie3 = _validationFields$fie3.checkout) !== null && _validationFields$fie3 !== void 0 && (_validationFields$fie3 = _validationFields$fie3.cellphone) !== null && _validationFields$fie3 !== void 0 && _validationFields$fie3.enabled && validationFields !== null && validationFields !== void 0 && (_validationFields$fie4 = validationFields.fields) !== null && _validationFields$fie4 !== void 0 && (_validationFields$fie4 = _validationFields$fie4.checkout) !== null && _validationFields$fie4 !== void 0 && (_validationFields$fie4 = _validationFields$fie4.cellphone) !== null && _validationFields$fie4 !== void 0 && _validationFields$fie4.required) {
116
116
  setAlertState({
117
117
  open: true,
118
118
  content: [t('VALIDATION_ERROR_MOBILE_PHONE_REQUIRED', 'The field Phone Number is required.')]
@@ -229,8 +229,8 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
229
229
  }, [user, isEdit]);
230
230
  (0, _react.useEffect)(function () {
231
231
  if (!validationFields.loading && emailInput.current) {
232
- var _formState$result3, _formState$result4, _formState$result4$re, _ref, _formState$changes$em, _formState$changes5;
233
- formMethods.setValue('email', formState !== null && formState !== void 0 && (_formState$result3 = formState.result) !== null && _formState$result3 !== void 0 && _formState$result3.result ? formState === null || formState === void 0 ? void 0 : (_formState$result4 = formState.result) === null || _formState$result4 === void 0 ? void 0 : (_formState$result4$re = _formState$result4.result) === null || _formState$result4$re === void 0 ? void 0 : _formState$result4$re.email : (_ref = (_formState$changes$em = formState === null || formState === void 0 ? void 0 : (_formState$changes5 = formState.changes) === null || _formState$changes5 === void 0 ? void 0 : _formState$changes5.email) !== null && _formState$changes$em !== void 0 ? _formState$changes$em : user && (user === null || user === void 0 ? void 0 : user.email)) !== null && _ref !== void 0 ? _ref : '');
232
+ var _formState$result3, _formState$result4, _ref, _formState$changes$em, _formState$changes5;
233
+ formMethods.setValue('email', formState !== null && formState !== void 0 && (_formState$result3 = formState.result) !== null && _formState$result3 !== void 0 && _formState$result3.result ? formState === null || formState === void 0 || (_formState$result4 = formState.result) === null || _formState$result4 === void 0 || (_formState$result4 = _formState$result4.result) === null || _formState$result4 === void 0 ? void 0 : _formState$result4.email : (_ref = (_formState$changes$em = formState === null || formState === void 0 || (_formState$changes5 = formState.changes) === null || _formState$changes5 === void 0 ? void 0 : _formState$changes5.email) !== null && _formState$changes$em !== void 0 ? _formState$changes$em : user && (user === null || user === void 0 ? void 0 : user.email)) !== null && _ref !== void 0 ? _ref : '');
234
234
  }
235
235
  }, [validationFields, emailInput.current]);
236
236
  (0, _react.useEffect)(function () {
@@ -262,7 +262,7 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
262
262
  key: i
263
263
  }, props));
264
264
  }), (0, _utils.sortInputFields)({
265
- values: validationFields === null || validationFields === void 0 ? void 0 : (_validationFields$fie11 = validationFields.fields) === null || _validationFields$fie11 === void 0 ? void 0 : _validationFields$fie11.checkout
265
+ values: validationFields === null || validationFields === void 0 || (_validationFields$fie5 = validationFields.fields) === null || _validationFields$fie5 === void 0 ? void 0 : _validationFields$fie5.checkout
266
266
  }).map(function (field) {
267
267
  var _formState$result5, _formState$result6, _ref2, _formState$changes$fi, _formState$result7, _formState$result8, _ref3, _formState$changes$fi2;
268
268
  return showField && showField(field.code) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
@@ -274,7 +274,7 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
274
274
  className: "form",
275
275
  disabled: !isEdit,
276
276
  placeholder: t(field.code.toUpperCase(), field === null || field === void 0 ? void 0 : field.name),
277
- defaultValue: formState !== null && formState !== void 0 && (_formState$result5 = formState.result) !== null && _formState$result5 !== void 0 && _formState$result5.result ? formState === null || formState === void 0 ? void 0 : (_formState$result6 = formState.result) === null || _formState$result6 === void 0 ? void 0 : _formState$result6.result[field.code] : (_ref2 = (_formState$changes$fi = formState === null || formState === void 0 ? void 0 : formState.changes[field.code]) !== null && _formState$changes$fi !== void 0 ? _formState$changes$fi : user && user[field.code]) !== null && _ref2 !== void 0 ? _ref2 : '',
277
+ defaultValue: formState !== null && formState !== void 0 && (_formState$result5 = formState.result) !== null && _formState$result5 !== void 0 && _formState$result5.result ? formState === null || formState === void 0 || (_formState$result6 = formState.result) === null || _formState$result6 === void 0 ? void 0 : _formState$result6.result[field.code] : (_ref2 = (_formState$changes$fi = formState === null || formState === void 0 ? void 0 : formState.changes[field.code]) !== null && _formState$changes$fi !== void 0 ? _formState$changes$fi : user && user[field.code]) !== null && _ref2 !== void 0 ? _ref2 : '',
278
278
  onChange: handleChangeInputEmail,
279
279
  ref: function ref(e) {
280
280
  emailInput.current = e;
@@ -287,7 +287,7 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
287
287
  className: "form",
288
288
  disabled: !isEdit,
289
289
  placeholder: t(field.code.toUpperCase(), field === null || field === void 0 ? void 0 : field.name),
290
- defaultValue: formState !== null && formState !== void 0 && (_formState$result7 = formState.result) !== null && _formState$result7 !== void 0 && _formState$result7.result ? formState === null || formState === void 0 ? void 0 : (_formState$result8 = formState.result) === null || _formState$result8 === void 0 ? void 0 : _formState$result8.result[field.code] : (_ref3 = (_formState$changes$fi2 = formState === null || formState === void 0 ? void 0 : formState.changes[field.code]) !== null && _formState$changes$fi2 !== void 0 ? _formState$changes$fi2 : user && user[field.code]) !== null && _ref3 !== void 0 ? _ref3 : '',
290
+ defaultValue: formState !== null && formState !== void 0 && (_formState$result7 = formState.result) !== null && _formState$result7 !== void 0 && _formState$result7.result ? formState === null || formState === void 0 || (_formState$result8 = formState.result) === null || _formState$result8 === void 0 ? void 0 : _formState$result8.result[field.code] : (_ref3 = (_formState$changes$fi2 = formState === null || formState === void 0 ? void 0 : formState.changes[field.code]) !== null && _formState$changes$fi2 !== void 0 ? _formState$changes$fi2 : user && user[field.code]) !== null && _ref3 !== void 0 ? _ref3 : '',
291
291
  onChange: handleChangeInput,
292
292
  ref: formMethods.register({
293
293
  required: isRequiredField(field.code) ? t("VALIDATION_ERROR_".concat(field.code.toUpperCase(), "_REQUIRED"), "".concat(field === null || field === void 0 ? void 0 : field.name, " is required")).replace('_attribute_', t(field === null || field === void 0 ? void 0 : field.name, field.code)) : null
@@ -124,7 +124,7 @@ var UserProfileFormUI = function UserProfileFormUI(props) {
124
124
  onClick: function onClick() {
125
125
  return handleClickImage();
126
126
  },
127
- isImage: (user === null || user === void 0 ? void 0 : user.photo) || (formState === null || formState === void 0 ? void 0 : (_formState$changes3 = formState.changes) === null || _formState$changes3 === void 0 ? void 0 : _formState$changes3.photo) && !formState.result.error
127
+ isImage: (user === null || user === void 0 ? void 0 : user.photo) || (formState === null || formState === void 0 || (_formState$changes3 = formState.changes) === null || _formState$changes3 === void 0 ? void 0 : _formState$changes3.photo) && !formState.result.error
128
128
  }, /*#__PURE__*/_react.default.createElement(_orderingComponentsExternal.ExamineClick, {
129
129
  onFiles: handleFiles,
130
130
  childRef: function childRef(e) {
@@ -144,8 +144,8 @@ var UserProfileFormUI = function UserProfileFormUI(props) {
144
144
  width: "200px",
145
145
  height: "200px",
146
146
  loading: "lazy"
147
- }) : /*#__PURE__*/_react.default.createElement(_styles.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_BiImage.default, null), /*#__PURE__*/_react.default.createElement("span", null, t('DRAG_DROP_IMAGE_HERE', 'Put your image here'))) : (formState === null || formState === void 0 ? void 0 : (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.photo) && formState.result.error && /*#__PURE__*/_react.default.createElement("img", {
148
- src: formState === null || formState === void 0 ? void 0 : (_formState$changes7 = formState.changes) === null || _formState$changes7 === void 0 ? void 0 : _formState$changes7.photo,
147
+ }) : /*#__PURE__*/_react.default.createElement(_styles.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_BiImage.default, null), /*#__PURE__*/_react.default.createElement("span", null, t('DRAG_DROP_IMAGE_HERE', 'Put your image here'))) : (formState === null || formState === void 0 || (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.photo) && formState.result.error && /*#__PURE__*/_react.default.createElement("img", {
148
+ src: formState === null || formState === void 0 || (_formState$changes7 = formState.changes) === null || _formState$changes7 === void 0 ? void 0 : _formState$changes7.photo,
149
149
  alt: "user image",
150
150
  loading: "lazy"
151
151
  })))), /*#__PURE__*/_react.default.createElement(_styles.Camera, null, /*#__PURE__*/_react.default.createElement(_FiCamera.default, null))), /*#__PURE__*/_react.default.createElement(_styles.SideForm, {
@@ -46,12 +46,12 @@ var VerticalOrdersLayout = function VerticalOrdersLayout(props) {
46
46
  }), /*#__PURE__*/_react.default.createElement(_styles.OrdersContainer, {
47
47
  id: "orders-container"
48
48
  }, orders.map(function (order) {
49
- var _order$business, _theme$images, _theme$images$dummies, _order$business2, _theme$images2, _theme$images2$dummie, _order$business3, _getOrderStatus;
49
+ var _order$business, _theme$images, _order$business2, _theme$images2, _order$business3, _getOrderStatus;
50
50
  return /*#__PURE__*/_react.default.createElement(_styles.SingleCard, {
51
51
  key: order.id,
52
52
  id: "order-card"
53
- }, /*#__PURE__*/_react.default.createElement(_styles.OrderPastContent, null, (((_order$business = order.business) === null || _order$business === void 0 ? void 0 : _order$business.logo) || ((_theme$images = theme.images) === null || _theme$images === void 0 ? void 0 : (_theme$images$dummies = _theme$images.dummies) === null || _theme$images$dummies === void 0 ? void 0 : _theme$images$dummies.businessLogo)) && /*#__PURE__*/_react.default.createElement(_styles.PastLogo, null, /*#__PURE__*/_react.default.createElement("img", {
54
- src: ((_order$business2 = order.business) === null || _order$business2 === void 0 ? void 0 : _order$business2.logo) || ((_theme$images2 = theme.images) === null || _theme$images2 === void 0 ? void 0 : (_theme$images2$dummie = _theme$images2.dummies) === null || _theme$images2$dummie === void 0 ? void 0 : _theme$images2$dummie.businessLogo),
53
+ }, /*#__PURE__*/_react.default.createElement(_styles.OrderPastContent, null, (((_order$business = order.business) === null || _order$business === void 0 ? void 0 : _order$business.logo) || ((_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.dummies) === null || _theme$images === void 0 ? void 0 : _theme$images.businessLogo)) && /*#__PURE__*/_react.default.createElement(_styles.PastLogo, null, /*#__PURE__*/_react.default.createElement("img", {
54
+ src: ((_order$business2 = order.business) === null || _order$business2 === void 0 ? void 0 : _order$business2.logo) || ((_theme$images2 = theme.images) === null || _theme$images2 === void 0 || (_theme$images2 = _theme$images2.dummies) === null || _theme$images2 === void 0 ? void 0 : _theme$images2.businessLogo),
55
55
  alt: "business-logo",
56
56
  width: "55px",
57
57
  height: "64px",
@@ -26,7 +26,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
26
26
  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; } }
27
27
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
28
28
  var AddressDetailsUI = function AddressDetailsUI(props) {
29
- var _props$beforeElements, _props$beforeComponen, _orderState$options2, _orderState$options2$, _orderState$options3, _props$afterComponent, _props$afterElements;
29
+ var _props$beforeElements, _props$beforeComponen, _orderState$options2, _orderState$options3, _props$afterComponent, _props$afterElements;
30
30
  var addressToShow = props.addressToShow,
31
31
  isCartPending = props.isCartPending,
32
32
  googleMapsUrl = props.googleMapsUrl,
@@ -55,8 +55,8 @@ var AddressDetailsUI = function AddressDetailsUI(props) {
55
55
  _useCustomer2 = _slicedToArray(_useCustomer, 1),
56
56
  user = _useCustomer2[0].user;
57
57
  var handleFindBusinesses = function handleFindBusinesses() {
58
- var _orderState$options, _orderState$options$a;
59
- if (!(orderState !== null && orderState !== void 0 && (_orderState$options = orderState.options) !== null && _orderState$options !== void 0 && (_orderState$options$a = _orderState$options.address) !== null && _orderState$options$a !== void 0 && _orderState$options$a.location)) {
58
+ var _orderState$options;
59
+ if (!(orderState !== null && orderState !== void 0 && (_orderState$options = orderState.options) !== null && _orderState$options !== void 0 && (_orderState$options = _orderState$options.address) !== null && _orderState$options !== void 0 && _orderState$options.location)) {
60
60
  setAlertState({
61
61
  open: true,
62
62
  content: [t('SELECT_AN_ADDRESS_TO_SEARCH', 'Select or add an address to search')]
@@ -78,7 +78,7 @@ var AddressDetailsUI = function AddressDetailsUI(props) {
78
78
  return /*#__PURE__*/_react.default.createElement(BeforeComponent, _extends({
79
79
  key: i
80
80
  }, props));
81
- }), /*#__PURE__*/_react.default.createElement(_styles.AddressContainer, null, /*#__PURE__*/_react.default.createElement(_styles.Header, null, /*#__PURE__*/_react.default.createElement(_styles.Text, null, /*#__PURE__*/_react.default.createElement("h1", null, addressToShow || (orderState === null || orderState === void 0 ? void 0 : (_orderState$options2 = orderState.options) === null || _orderState$options2 === void 0 ? void 0 : (_orderState$options2$ = _orderState$options2.address) === null || _orderState$options2$ === void 0 ? void 0 : _orderState$options2$.address)), (orderState === null || orderState === void 0 ? void 0 : (_orderState$options3 = orderState.options) === null || _orderState$options3 === void 0 ? void 0 : _orderState$options3.type) === 1 && !isCartPending && /*#__PURE__*/_react.default.createElement("span", {
81
+ }), /*#__PURE__*/_react.default.createElement(_styles.AddressContainer, null, /*#__PURE__*/_react.default.createElement(_styles.Header, null, /*#__PURE__*/_react.default.createElement(_styles.Text, null, /*#__PURE__*/_react.default.createElement("h1", null, addressToShow || (orderState === null || orderState === void 0 || (_orderState$options2 = orderState.options) === null || _orderState$options2 === void 0 || (_orderState$options2 = _orderState$options2.address) === null || _orderState$options2 === void 0 ? void 0 : _orderState$options2.address)), (orderState === null || orderState === void 0 || (_orderState$options3 = orderState.options) === null || _orderState$options3 === void 0 ? void 0 : _orderState$options3.type) === 1 && !isCartPending && /*#__PURE__*/_react.default.createElement("span", {
82
82
  onClick: function onClick() {
83
83
  return setOpenModal(true);
84
84
  }
@@ -54,7 +54,7 @@ var inputNames = [{
54
54
  code: 'Address notes'
55
55
  }];
56
56
  var AddressFormUI = function AddressFormUI(props) {
57
- var _addressState$address, _ref, _formState$changes$ad, _formState$changes, _addressState$address2, _addressState$address3, _addressState$address4, _formState$changes$lo, _formState$changes2, _configState$configs, _configState$configs$, _configState$configs2, _configState$configs3, _configState$configs4, _configState$configs5, _configState$configs6, _configState$configs7, _props$beforeElements, _props$beforeComponen, _props$beforeMidEleme, _props$beforeMidCompo, _props$afterMidElemen, _props$afterMidCompon, _orderState$options6, _orderState$options6$, _props$afterComponent, _props$afterElements;
57
+ var _addressState$address, _ref, _formState$changes$ad, _formState$changes, _addressState$address2, _addressState$address3, _addressState$address4, _formState$changes$lo, _formState$changes2, _configState$configs, _configState$configs2, _configState$configs3, _configState$configs4, _props$beforeElements, _props$beforeComponen, _props$beforeMidEleme, _props$beforeMidCompo, _props$afterMidElemen, _props$afterMidCompon, _orderState$options6, _props$afterComponent, _props$afterElements;
58
58
  var addressesList = props.addressesList,
59
59
  googleMapsControls = props.googleMapsControls,
60
60
  formState = props.formState,
@@ -86,7 +86,7 @@ var AddressFormUI = function AddressFormUI(props) {
86
86
  _useState2 = _slicedToArray(_useState, 2),
87
87
  state = _useState2[0],
88
88
  setState = _useState2[1];
89
- var _useState3 = (0, _react.useState)(addressState === null || addressState === void 0 ? void 0 : (_addressState$address = addressState.address) === null || _addressState$address === void 0 ? void 0 : _addressState$address.tag),
89
+ var _useState3 = (0, _react.useState)(addressState === null || addressState === void 0 || (_addressState$address = addressState.address) === null || _addressState$address === void 0 ? void 0 : _addressState$address.tag),
90
90
  _useState4 = _slicedToArray(_useState3, 2),
91
91
  addressTag = _useState4[0],
92
92
  setAddressTag = _useState4[1];
@@ -108,13 +108,13 @@ var AddressFormUI = function AddressFormUI(props) {
108
108
  firstLocationNoEdit = _useState10[0],
109
109
  setFirstLocationNoEdit = _useState10[1];
110
110
  var isEditing = !!((_addressState$address3 = addressState.address) !== null && _addressState$address3 !== void 0 && _addressState$address3.id);
111
- var _useState11 = (0, _react.useState)(isEditing ? addressState === null || addressState === void 0 ? void 0 : (_addressState$address4 = addressState.address) === null || _addressState$address4 === void 0 ? void 0 : _addressState$address4.location : (_formState$changes$lo = (_formState$changes2 = formState.changes) === null || _formState$changes2 === void 0 ? void 0 : _formState$changes2.location) !== null && _formState$changes$lo !== void 0 ? _formState$changes$lo : null),
111
+ var _useState11 = (0, _react.useState)(isEditing ? addressState === null || addressState === void 0 || (_addressState$address4 = addressState.address) === null || _addressState$address4 === void 0 ? void 0 : _addressState$address4.location : (_formState$changes$lo = (_formState$changes2 = formState.changes) === null || _formState$changes2 === void 0 ? void 0 : _formState$changes2.location) !== null && _formState$changes$lo !== void 0 ? _formState$changes$lo : null),
112
112
  _useState12 = _slicedToArray(_useState11, 2),
113
113
  locationChange = _useState12[0],
114
114
  setLocationChange = _useState12[1];
115
- var maxLimitLocation = configState === null || configState === void 0 ? void 0 : (_configState$configs = configState.configs) === null || _configState$configs === void 0 ? void 0 : (_configState$configs$ = _configState$configs.meters_to_change_address) === null || _configState$configs$ === void 0 ? void 0 : _configState$configs$.value;
116
- var googleMapsApiKey = configState === null || configState === void 0 ? void 0 : (_configState$configs2 = configState.configs) === null || _configState$configs2 === void 0 ? void 0 : (_configState$configs3 = _configState$configs2.google_maps_api_key) === null || _configState$configs3 === void 0 ? void 0 : _configState$configs3.value;
117
- var isLocationRequired = ((_configState$configs4 = configState.configs) === null || _configState$configs4 === void 0 ? void 0 : (_configState$configs5 = _configState$configs4.google_autocomplete_selection_required) === null || _configState$configs5 === void 0 ? void 0 : _configState$configs5.value) === '1' || ((_configState$configs6 = configState.configs) === null || _configState$configs6 === void 0 ? void 0 : (_configState$configs7 = _configState$configs6.google_autocomplete_selection_required) === null || _configState$configs7 === void 0 ? void 0 : _configState$configs7.value) === 'true';
115
+ var maxLimitLocation = configState === null || configState === void 0 || (_configState$configs = configState.configs) === null || _configState$configs === void 0 || (_configState$configs = _configState$configs.meters_to_change_address) === null || _configState$configs === void 0 ? void 0 : _configState$configs.value;
116
+ var googleMapsApiKey = configState === null || configState === void 0 || (_configState$configs2 = configState.configs) === null || _configState$configs2 === void 0 || (_configState$configs2 = _configState$configs2.google_maps_api_key) === null || _configState$configs2 === void 0 ? void 0 : _configState$configs2.value;
117
+ var isLocationRequired = ((_configState$configs3 = configState.configs) === null || _configState$configs3 === void 0 || (_configState$configs3 = _configState$configs3.google_autocomplete_selection_required) === null || _configState$configs3 === void 0 ? void 0 : _configState$configs3.value) === '1' || ((_configState$configs4 = configState.configs) === null || _configState$configs4 === void 0 || (_configState$configs4 = _configState$configs4.google_autocomplete_selection_required) === null || _configState$configs4 === void 0 ? void 0 : _configState$configs4.value) === 'true';
118
118
  var mapErrors = {
119
119
  ERROR_NOT_FOUND_ADDRESS: 'Sorry, we couldn\'t find an address',
120
120
  ERROR_MAX_LIMIT_LOCATION: "Sorry, You can only set the position to ".concat(maxLimitLocation, "m")
@@ -239,7 +239,7 @@ var AddressFormUI = function AddressFormUI(props) {
239
239
  return _regeneratorRuntime().wrap(function _callee$(_context) {
240
240
  while (1) switch (_context.prev = _context.next) {
241
241
  case 0:
242
- if (!(!auth && (formState === null || formState === void 0 ? void 0 : (_formState$changes3 = formState.changes) === null || _formState$changes3 === void 0 ? void 0 : _formState$changes3.address) === '' && addressState !== null && addressState !== void 0 && (_addressState$address6 = addressState.address) !== null && _addressState$address6 !== void 0 && _addressState$address6.address)) {
242
+ if (!(!auth && (formState === null || formState === void 0 || (_formState$changes3 = formState.changes) === null || _formState$changes3 === void 0 ? void 0 : _formState$changes3.address) === '' && addressState !== null && addressState !== void 0 && (_addressState$address6 = addressState.address) !== null && _addressState$address6 !== void 0 && _addressState$address6.address)) {
243
243
  _context.next = 4;
244
244
  break;
245
245
  }
@@ -264,12 +264,12 @@ var AddressFormUI = function AddressFormUI(props) {
264
264
  });
265
265
  return _context.abrupt("return");
266
266
  case 8:
267
- getAddressFormatted(formState === null || formState === void 0 ? void 0 : (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.address);
267
+ getAddressFormatted(formState === null || formState === void 0 || (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.address);
268
268
  return _context.abrupt("return");
269
269
  case 10:
270
270
  arrayList = isEditing ? (addressesList === null || addressesList === void 0 ? void 0 : addressesList.filter(function (address) {
271
271
  var _addressState$address7;
272
- return (address === null || address === void 0 ? void 0 : address.id) !== (addressState === null || addressState === void 0 ? void 0 : (_addressState$address7 = addressState.address) === null || _addressState$address7 === void 0 ? void 0 : _addressState$address7.id);
272
+ return (address === null || address === void 0 ? void 0 : address.id) !== (addressState === null || addressState === void 0 || (_addressState$address7 = addressState.address) === null || _addressState$address7 === void 0 ? void 0 : _addressState$address7.id);
273
273
  })) || [] : addressesList || [];
274
274
  addressToCompare = isEditing ? _objectSpread(_objectSpread({}, addressState.address), formState.changes) : formState === null || formState === void 0 ? void 0 : formState.changes;
275
275
  isAddressAlreadyExist = (_arrayList$map$some2 = arrayList.map(function (address) {
@@ -322,12 +322,12 @@ var AddressFormUI = function AddressFormUI(props) {
322
322
  (0, _react.useEffect)(function () {
323
323
  var _formState$result, _ref5, _formState$changes$ad3, _formState$changes9, _addressState$address8, _ref6, _formState$changes$ad4, _formState$changes10, _addressState$address9;
324
324
  if (!auth) {
325
- var _ref3, _formState$changes$lo2, _formState$changes7, _orderState$options, _orderState$options$a, _ref4, _formState$changes$ad2, _formState$changes8, _orderState$options2, _orderState$options2$;
326
- setLocationChange((_ref3 = (_formState$changes$lo2 = formState === null || formState === void 0 ? void 0 : (_formState$changes7 = formState.changes) === null || _formState$changes7 === void 0 ? void 0 : _formState$changes7.location) !== null && _formState$changes$lo2 !== void 0 ? _formState$changes$lo2 : orderState === null || orderState === void 0 ? void 0 : (_orderState$options = orderState.options) === null || _orderState$options === void 0 ? void 0 : (_orderState$options$a = _orderState$options.address) === null || _orderState$options$a === void 0 ? void 0 : _orderState$options$a.location) !== null && _ref3 !== void 0 ? _ref3 : '');
327
- setAddressValue((_ref4 = (_formState$changes$ad2 = formState === null || formState === void 0 ? void 0 : (_formState$changes8 = formState.changes) === null || _formState$changes8 === void 0 ? void 0 : _formState$changes8.address) !== null && _formState$changes$ad2 !== void 0 ? _formState$changes$ad2 : orderState === null || orderState === void 0 ? void 0 : (_orderState$options2 = orderState.options) === null || _orderState$options2 === void 0 ? void 0 : (_orderState$options2$ = _orderState$options2.address) === null || _orderState$options2$ === void 0 ? void 0 : _orderState$options2$.address) !== null && _ref4 !== void 0 ? _ref4 : '');
325
+ var _ref3, _formState$changes$lo2, _formState$changes7, _orderState$options, _ref4, _formState$changes$ad2, _formState$changes8, _orderState$options2;
326
+ setLocationChange((_ref3 = (_formState$changes$lo2 = formState === null || formState === void 0 || (_formState$changes7 = formState.changes) === null || _formState$changes7 === void 0 ? void 0 : _formState$changes7.location) !== null && _formState$changes$lo2 !== void 0 ? _formState$changes$lo2 : orderState === null || orderState === void 0 || (_orderState$options = orderState.options) === null || _orderState$options === void 0 || (_orderState$options = _orderState$options.address) === null || _orderState$options === void 0 ? void 0 : _orderState$options.location) !== null && _ref3 !== void 0 ? _ref3 : '');
327
+ setAddressValue((_ref4 = (_formState$changes$ad2 = formState === null || formState === void 0 || (_formState$changes8 = formState.changes) === null || _formState$changes8 === void 0 ? void 0 : _formState$changes8.address) !== null && _formState$changes$ad2 !== void 0 ? _formState$changes$ad2 : orderState === null || orderState === void 0 || (_orderState$options2 = orderState.options) === null || _orderState$options2 === void 0 || (_orderState$options2 = _orderState$options2.address) === null || _orderState$options2 === void 0 ? void 0 : _orderState$options2.address) !== null && _ref4 !== void 0 ? _ref4 : '');
328
328
  inputNames.forEach(function (field) {
329
329
  var _orderState$options3, _orderState$options4;
330
- return formMethods.setValue(field.name, (formState === null || formState === void 0 ? void 0 : formState.changes[field.name]) || (orderState === null || orderState === void 0 ? void 0 : (_orderState$options3 = orderState.options) === null || _orderState$options3 === void 0 ? void 0 : _orderState$options3.address) && (orderState === null || orderState === void 0 ? void 0 : (_orderState$options4 = orderState.options) === null || _orderState$options4 === void 0 ? void 0 : _orderState$options4.address[field.name]) || '');
330
+ return formMethods.setValue(field.name, (formState === null || formState === void 0 ? void 0 : formState.changes[field.name]) || (orderState === null || orderState === void 0 || (_orderState$options3 = orderState.options) === null || _orderState$options3 === void 0 ? void 0 : _orderState$options3.address) && (orderState === null || orderState === void 0 || (_orderState$options4 = orderState.options) === null || _orderState$options4 === void 0 ? void 0 : _orderState$options4.address[field.name]) || '');
331
331
  });
332
332
  return;
333
333
  }
@@ -338,37 +338,37 @@ var AddressFormUI = function AddressFormUI(props) {
338
338
  content: ((_formState$result2 = formState.result) === null || _formState$result2 === void 0 ? void 0 : _formState$result2.result) || [t('ERROR', 'Error')]
339
339
  });
340
340
  }
341
- setAddressValue((_ref5 = (_formState$changes$ad3 = formState === null || formState === void 0 ? void 0 : (_formState$changes9 = formState.changes) === null || _formState$changes9 === void 0 ? void 0 : _formState$changes9.address) !== null && _formState$changes$ad3 !== void 0 ? _formState$changes$ad3 : (_addressState$address8 = addressState.address) === null || _addressState$address8 === void 0 ? void 0 : _addressState$address8.address) !== null && _ref5 !== void 0 ? _ref5 : '');
342
- formMethods.setValue('address', (_ref6 = (_formState$changes$ad4 = formState === null || formState === void 0 ? void 0 : (_formState$changes10 = formState.changes) === null || _formState$changes10 === void 0 ? void 0 : _formState$changes10.address) !== null && _formState$changes$ad4 !== void 0 ? _formState$changes$ad4 : (_addressState$address9 = addressState.address) === null || _addressState$address9 === void 0 ? void 0 : _addressState$address9.address) !== null && _ref6 !== void 0 ? _ref6 : '');
341
+ setAddressValue((_ref5 = (_formState$changes$ad3 = formState === null || formState === void 0 || (_formState$changes9 = formState.changes) === null || _formState$changes9 === void 0 ? void 0 : _formState$changes9.address) !== null && _formState$changes$ad3 !== void 0 ? _formState$changes$ad3 : (_addressState$address8 = addressState.address) === null || _addressState$address8 === void 0 ? void 0 : _addressState$address8.address) !== null && _ref5 !== void 0 ? _ref5 : '');
342
+ formMethods.setValue('address', (_ref6 = (_formState$changes$ad4 = formState === null || formState === void 0 || (_formState$changes10 = formState.changes) === null || _formState$changes10 === void 0 ? void 0 : _formState$changes10.address) !== null && _formState$changes$ad4 !== void 0 ? _formState$changes$ad4 : (_addressState$address9 = addressState.address) === null || _addressState$address9 === void 0 ? void 0 : _addressState$address9.address) !== null && _ref6 !== void 0 ? _ref6 : '');
343
343
  if (!isEditing) {
344
- var _formState$changes11, _formState$changes12, _formState$changes13, _formState$changes14, _formState$changes15, _formState$changes16, _formState$changes16$, _firstLocationNoEdit$, _formState$changes17, _formState$changes17$, _firstLocationNoEdit$2;
344
+ var _formState$changes11, _formState$changes12, _formState$changes13, _formState$changes14, _formState$changes15, _formState$changes16, _firstLocationNoEdit$, _formState$changes17, _firstLocationNoEdit$2;
345
345
  inputNames.forEach(function (field) {
346
346
  return formMethods.setValue(field.name, (formState === null || formState === void 0 ? void 0 : formState.changes[field.name]) || '');
347
347
  });
348
- (formState === null || formState === void 0 ? void 0 : (_formState$changes11 = formState.changes) === null || _formState$changes11 === void 0 ? void 0 : _formState$changes11.address) && setLocationChange(formState === null || formState === void 0 ? void 0 : (_formState$changes12 = formState.changes) === null || _formState$changes12 === void 0 ? void 0 : _formState$changes12.location);
349
- if (formState !== null && formState !== void 0 && (_formState$changes13 = formState.changes) !== null && _formState$changes13 !== void 0 && _formState$changes13.address && (formState === null || formState === void 0 ? void 0 : (_formState$changes14 = formState.changes) === null || _formState$changes14 === void 0 ? void 0 : _formState$changes14.address) !== (firstLocationNoEdit === null || firstLocationNoEdit === void 0 ? void 0 : firstLocationNoEdit.address) && formState !== null && formState !== void 0 && (_formState$changes15 = formState.changes) !== null && _formState$changes15 !== void 0 && _formState$changes15.location && (formState === null || formState === void 0 ? void 0 : (_formState$changes16 = formState.changes) === null || _formState$changes16 === void 0 ? void 0 : (_formState$changes16$ = _formState$changes16.location) === null || _formState$changes16$ === void 0 ? void 0 : _formState$changes16$.lat) !== ((_firstLocationNoEdit$ = firstLocationNoEdit.value) === null || _firstLocationNoEdit$ === void 0 ? void 0 : _firstLocationNoEdit$.lat) && (formState === null || formState === void 0 ? void 0 : (_formState$changes17 = formState.changes) === null || _formState$changes17 === void 0 ? void 0 : (_formState$changes17$ = _formState$changes17.location) === null || _formState$changes17$ === void 0 ? void 0 : _formState$changes17$.lng) !== ((_firstLocationNoEdit$2 = firstLocationNoEdit.value) === null || _firstLocationNoEdit$2 === void 0 ? void 0 : _firstLocationNoEdit$2.lng)) {
348
+ (formState === null || formState === void 0 || (_formState$changes11 = formState.changes) === null || _formState$changes11 === void 0 ? void 0 : _formState$changes11.address) && setLocationChange(formState === null || formState === void 0 || (_formState$changes12 = formState.changes) === null || _formState$changes12 === void 0 ? void 0 : _formState$changes12.location);
349
+ if (formState !== null && formState !== void 0 && (_formState$changes13 = formState.changes) !== null && _formState$changes13 !== void 0 && _formState$changes13.address && (formState === null || formState === void 0 || (_formState$changes14 = formState.changes) === null || _formState$changes14 === void 0 ? void 0 : _formState$changes14.address) !== (firstLocationNoEdit === null || firstLocationNoEdit === void 0 ? void 0 : firstLocationNoEdit.address) && formState !== null && formState !== void 0 && (_formState$changes15 = formState.changes) !== null && _formState$changes15 !== void 0 && _formState$changes15.location && (formState === null || formState === void 0 || (_formState$changes16 = formState.changes) === null || _formState$changes16 === void 0 || (_formState$changes16 = _formState$changes16.location) === null || _formState$changes16 === void 0 ? void 0 : _formState$changes16.lat) !== ((_firstLocationNoEdit$ = firstLocationNoEdit.value) === null || _firstLocationNoEdit$ === void 0 ? void 0 : _firstLocationNoEdit$.lat) && (formState === null || formState === void 0 || (_formState$changes17 = formState.changes) === null || _formState$changes17 === void 0 || (_formState$changes17 = _formState$changes17.location) === null || _formState$changes17 === void 0 ? void 0 : _formState$changes17.lng) !== ((_firstLocationNoEdit$2 = firstLocationNoEdit.value) === null || _firstLocationNoEdit$2 === void 0 ? void 0 : _firstLocationNoEdit$2.lng)) {
350
350
  var _formState$changes18, _formState$changes19;
351
351
  setFirstLocationNoEdit({
352
- value: formState === null || formState === void 0 ? void 0 : (_formState$changes18 = formState.changes) === null || _formState$changes18 === void 0 ? void 0 : _formState$changes18.location,
353
- address: formState === null || formState === void 0 ? void 0 : (_formState$changes19 = formState.changes) === null || _formState$changes19 === void 0 ? void 0 : _formState$changes19.address
352
+ value: formState === null || formState === void 0 || (_formState$changes18 = formState.changes) === null || _formState$changes18 === void 0 ? void 0 : _formState$changes18.location,
353
+ address: formState === null || formState === void 0 || (_formState$changes19 = formState.changes) === null || _formState$changes19 === void 0 ? void 0 : _formState$changes19.address
354
354
  });
355
355
  }
356
356
  }
357
357
  if (isEditing) {
358
358
  var _formState$changes20;
359
359
  if (formState !== null && formState !== void 0 && (_formState$changes20 = formState.changes) !== null && _formState$changes20 !== void 0 && _formState$changes20.location) {
360
- var _formState$changes21, _formState$changes21$, _formState$changes22, _formState$changes22$;
360
+ var _formState$changes21, _formState$changes22;
361
361
  var prevLocation = {
362
362
  lat: Math.trunc(locationChange.lat),
363
363
  lng: Math.trunc(locationChange.lng)
364
364
  };
365
365
  var newLocation = {
366
- lat: Math.trunc(formState === null || formState === void 0 ? void 0 : (_formState$changes21 = formState.changes) === null || _formState$changes21 === void 0 ? void 0 : (_formState$changes21$ = _formState$changes21.location) === null || _formState$changes21$ === void 0 ? void 0 : _formState$changes21$.lat),
367
- lng: Math.trunc(formState === null || formState === void 0 ? void 0 : (_formState$changes22 = formState.changes) === null || _formState$changes22 === void 0 ? void 0 : (_formState$changes22$ = _formState$changes22.location) === null || _formState$changes22$ === void 0 ? void 0 : _formState$changes22$.lng)
366
+ lat: Math.trunc(formState === null || formState === void 0 || (_formState$changes21 = formState.changes) === null || _formState$changes21 === void 0 || (_formState$changes21 = _formState$changes21.location) === null || _formState$changes21 === void 0 ? void 0 : _formState$changes21.lat),
367
+ lng: Math.trunc(formState === null || formState === void 0 || (_formState$changes22 = formState.changes) === null || _formState$changes22 === void 0 || (_formState$changes22 = _formState$changes22.location) === null || _formState$changes22 === void 0 ? void 0 : _formState$changes22.lng)
368
368
  };
369
369
  if (prevLocation.lat !== newLocation.lat && prevLocation.lng !== newLocation.lng) {
370
370
  var _formState$changes23;
371
- setLocationChange(formState === null || formState === void 0 ? void 0 : (_formState$changes23 = formState.changes) === null || _formState$changes23 === void 0 ? void 0 : _formState$changes23.location);
371
+ setLocationChange(formState === null || formState === void 0 || (_formState$changes23 = formState.changes) === null || _formState$changes23 === void 0 ? void 0 : _formState$changes23.location);
372
372
  }
373
373
  }
374
374
  }
@@ -384,8 +384,8 @@ var AddressFormUI = function AddressFormUI(props) {
384
384
  }, [addressState]);
385
385
  (0, _react.useEffect)(function () {
386
386
  if (!auth) {
387
- var _ref7, _formState$changes$lo3, _formState$changes24, _orderState$options5, _orderState$options5$;
388
- setLocationChange((_ref7 = (_formState$changes$lo3 = formState === null || formState === void 0 ? void 0 : (_formState$changes24 = formState.changes) === null || _formState$changes24 === void 0 ? void 0 : _formState$changes24.location) !== null && _formState$changes$lo3 !== void 0 ? _formState$changes$lo3 : 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) !== null && _ref7 !== void 0 ? _ref7 : '');
387
+ var _ref7, _formState$changes$lo3, _formState$changes24, _orderState$options5;
388
+ setLocationChange((_ref7 = (_formState$changes$lo3 = formState === null || formState === void 0 || (_formState$changes24 = formState.changes) === null || _formState$changes24 === void 0 ? void 0 : _formState$changes24.location) !== null && _formState$changes$lo3 !== void 0 ? _formState$changes$lo3 : 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) !== null && _ref7 !== void 0 ? _ref7 : '');
389
389
  }
390
390
  return function () {
391
391
  setFirstLocationNoEdit({
@@ -446,7 +446,7 @@ var AddressFormUI = function AddressFormUI(props) {
446
446
  key: i
447
447
  }, props));
448
448
  }), inputNames.map(function (field) {
449
- var _configState$configs8, _configState$configs9, _addressState$address12, _formState$changes26, _ref9, _formState$changes$fi2, _formState$changes27, _addressState$address13, _ref10, _formState$changes$ad5, _formState$changes28;
449
+ var _configState$configs5, _addressState$address12, _formState$changes26, _ref9, _formState$changes$fi2, _formState$changes27, _addressState$address13, _ref10, _formState$changes$ad5, _formState$changes28;
450
450
  return showField && showField(field.name) && (field.name === 'address' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
451
451
  key: field.name
452
452
  }, /*#__PURE__*/_react.default.createElement(_styles.AddressWrap, {
@@ -470,7 +470,7 @@ var AddressFormUI = function AddressFormUI(props) {
470
470
  },
471
471
  value: addressValue,
472
472
  autoComplete: "new-field",
473
- countryCode: (configState === null || configState === void 0 ? void 0 : (_configState$configs8 = configState.configs) === null || _configState$configs8 === void 0 ? void 0 : (_configState$configs9 = _configState$configs8.country_autocomplete) === null || _configState$configs9 === void 0 ? void 0 : _configState$configs9.value) || '*'
473
+ countryCode: (configState === null || configState === void 0 || (_configState$configs5 = configState.configs) === null || _configState$configs5 === void 0 || (_configState$configs5 = _configState$configs5.country_autocomplete) === null || _configState$configs5 === void 0 ? void 0 : _configState$configs5.value) || '*'
474
474
  })), /*#__PURE__*/_react.default.createElement(_GoogleGpsButton.GoogleGpsButton, {
475
475
  className: "gps-button",
476
476
  apiKey: googleMapsApiKey,
@@ -481,7 +481,7 @@ var AddressFormUI = function AddressFormUI(props) {
481
481
  onError: setMapErrors,
482
482
  IconButton: _HiOutlineLocationMarker.default,
483
483
  IconLoadingButton: _CgSearchLoading.default
484
- })), locationChange && ((addressState === null || addressState === void 0 ? void 0 : (_addressState$address12 = addressState.address) === null || _addressState$address12 === void 0 ? void 0 : _addressState$address12.location) || (formState === null || formState === void 0 ? void 0 : (_formState$changes26 = formState.changes) === null || _formState$changes26 === void 0 ? void 0 : _formState$changes26.location)) && /*#__PURE__*/_react.default.createElement(_styles.WrapperMap, null, /*#__PURE__*/_react.default.createElement(_orderingComponentsExternal.GoogleMapsMap, {
484
+ })), locationChange && ((addressState === null || addressState === void 0 || (_addressState$address12 = addressState.address) === null || _addressState$address12 === void 0 ? void 0 : _addressState$address12.location) || (formState === null || formState === void 0 || (_formState$changes26 = formState.changes) === null || _formState$changes26 === void 0 ? void 0 : _formState$changes26.location)) && /*#__PURE__*/_react.default.createElement(_styles.WrapperMap, null, /*#__PURE__*/_react.default.createElement(_orderingComponentsExternal.GoogleMapsMap, {
485
485
  apiKey: googleMapsApiKey,
486
486
  location: locationChange,
487
487
  fixedLocation: !isEditing ? firstLocationNoEdit.value : null,
@@ -574,7 +574,7 @@ var AddressFormUI = function AddressFormUI(props) {
574
574
  type: "submit",
575
575
  disabled: formState.loading,
576
576
  color: "primary"
577
- }, !formState.loading ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, isEditing || !auth && (_orderState$options6 = orderState.options) !== null && _orderState$options6 !== void 0 && (_orderState$options6$ = _orderState$options6.address) !== null && _orderState$options6$ !== void 0 && _orderState$options6$.address ? t('UPDATE', 'Update') : t('CONTINUE', 'Continue'), /*#__PURE__*/_react.default.createElement(_BsArrowRight.default, null)) : t('LOADING', 'Loading')))), /*#__PURE__*/_react.default.createElement(_Confirm.Alert, {
577
+ }, !formState.loading ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, isEditing || !auth && (_orderState$options6 = orderState.options) !== null && _orderState$options6 !== void 0 && (_orderState$options6 = _orderState$options6.address) !== null && _orderState$options6 !== void 0 && _orderState$options6.address ? t('UPDATE', 'Update') : t('CONTINUE', 'Continue'), /*#__PURE__*/_react.default.createElement(_BsArrowRight.default, null)) : t('LOADING', 'Loading')))), /*#__PURE__*/_react.default.createElement(_Confirm.Alert, {
578
578
  title: t('ADDRESS', 'Address'),
579
579
  content: alertState.content,
580
580
  acceptText: t('ACCEPT', 'Accept'),
@@ -40,7 +40,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
40
40
  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; } }
41
41
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
42
42
  var AddressListUI = function AddressListUI(props) {
43
- var _props$beforeElements, _props$beforeComponen, _addressList$addresse, _addressList$addresse2, _orderState$options6, _addressList$addresse3, _theme$images, _theme$images$general, _addressList$error$, _orderState$options7, _orderState$options8, _props$afterComponent, _props$afterElements;
43
+ var _props$beforeElements, _props$beforeComponen, _addressList$addresse, _addressList$addresse2, _orderState$options6, _addressList$addresse3, _theme$images, _addressList$error$, _orderState$options7, _orderState$options8, _props$afterComponent, _props$afterElements;
44
44
  var actionStatus = props.actionStatus,
45
45
  addressList = props.addressList,
46
46
  handleDelete = props.handleDelete,
@@ -153,15 +153,15 @@ var AddressListUI = function AddressListUI(props) {
153
153
  props.forEach(function (prop) {
154
154
  if (address !== null && address !== void 0 && address[prop]) {
155
155
  if (prop === 'location') {
156
- var _orderState$options, _orderState$options$a, _orderState$options$a2, _orderState$options2, _orderState$options2$, _orderState$options2$2;
157
- values.push((address === null || address === void 0 ? void 0 : address[prop].lat) === (orderState === null || orderState === void 0 ? void 0 : (_orderState$options = orderState.options) === null || _orderState$options === void 0 ? void 0 : (_orderState$options$a = _orderState$options.address) === null || _orderState$options$a === void 0 ? void 0 : (_orderState$options$a2 = _orderState$options$a[prop]) === null || _orderState$options$a2 === void 0 ? void 0 : _orderState$options$a2.lat) && (address === null || address === void 0 ? void 0 : address[prop].lng) === (orderState === null || orderState === void 0 ? void 0 : (_orderState$options2 = orderState.options) === null || _orderState$options2 === void 0 ? void 0 : (_orderState$options2$ = _orderState$options2.address) === null || _orderState$options2$ === void 0 ? void 0 : (_orderState$options2$2 = _orderState$options2$[prop]) === null || _orderState$options2$2 === void 0 ? void 0 : _orderState$options2$2.lng));
156
+ var _orderState$options, _orderState$options2;
157
+ values.push((address === null || address === void 0 ? void 0 : address[prop].lat) === (orderState === null || orderState === void 0 || (_orderState$options = orderState.options) === null || _orderState$options === void 0 || (_orderState$options = _orderState$options.address) === null || _orderState$options === void 0 || (_orderState$options = _orderState$options[prop]) === null || _orderState$options === void 0 ? void 0 : _orderState$options.lat) && (address === null || address === void 0 ? void 0 : address[prop].lng) === (orderState === null || orderState === void 0 || (_orderState$options2 = orderState.options) === null || _orderState$options2 === void 0 || (_orderState$options2 = _orderState$options2.address) === null || _orderState$options2 === void 0 || (_orderState$options2 = _orderState$options2[prop]) === null || _orderState$options2 === void 0 ? void 0 : _orderState$options2.lng));
158
158
  } else {
159
- var _orderState$options3, _orderState$options3$;
160
- values.push((address === null || address === void 0 ? void 0 : address[prop]) === (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$[prop]));
159
+ var _orderState$options3;
160
+ values.push((address === null || address === void 0 ? void 0 : address[prop]) === (orderState === null || orderState === void 0 || (_orderState$options3 = orderState.options) === null || _orderState$options3 === void 0 || (_orderState$options3 = _orderState$options3.address) === null || _orderState$options3 === void 0 ? void 0 : _orderState$options3[prop]));
161
161
  }
162
162
  } else {
163
- var _orderState$options4, _orderState$options4$, _orderState$options5, _orderState$options5$;
164
- values.push((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$[prop]) === null || (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$[prop]) === '');
163
+ var _orderState$options4, _orderState$options5;
164
+ values.push((orderState === null || orderState === void 0 || (_orderState$options4 = orderState.options) === null || _orderState$options4 === void 0 || (_orderState$options4 = _orderState$options4.address) === null || _orderState$options4 === void 0 ? void 0 : _orderState$options4[prop]) === null || (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[prop]) === '');
165
165
  }
166
166
  });
167
167
  return values.every(function (value) {
@@ -194,7 +194,7 @@ var AddressListUI = function AddressListUI(props) {
194
194
  }, (!isPopover || !addressOpen) && /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
195
195
  className: "add",
196
196
  outline: true,
197
- color: isEnableContinueButton && (addressList === null || addressList === void 0 ? void 0 : (_addressList$addresse = addressList.addresses) === null || _addressList$addresse === void 0 ? void 0 : _addressList$addresse.length) > 0 ? 'secondary' : 'primary',
197
+ color: isEnableContinueButton && (addressList === null || addressList === void 0 || (_addressList$addresse = addressList.addresses) === null || _addressList$addresse === void 0 ? void 0 : _addressList$addresse.length) > 0 ? 'secondary' : 'primary',
198
198
  onClick: function onClick() {
199
199
  return openAddress({});
200
200
  },
@@ -225,7 +225,7 @@ var AddressListUI = function AddressListUI(props) {
225
225
  },
226
226
  onSaveAddress: handleSaveAddress,
227
227
  userCustomerSetup: userCustomerSetup
228
- })), !addressList.loading && !actionStatus.loading && !orderState.loading && !addressList.error && (addressList === null || addressList === void 0 ? void 0 : (_addressList$addresse2 = addressList.addresses) === null || _addressList$addresse2 === void 0 ? void 0 : _addressList$addresse2.length) > 0 && _typeof((_orderState$options6 = orderState.options) === null || _orderState$options6 === void 0 ? void 0 : _orderState$options6.address) === 'object' && (!addressOpen && isPopover || isModal) && /*#__PURE__*/_react.default.createElement(_styles.AddressListUl, {
228
+ })), !addressList.loading && !actionStatus.loading && !orderState.loading && !addressList.error && (addressList === null || addressList === void 0 || (_addressList$addresse2 = addressList.addresses) === null || _addressList$addresse2 === void 0 ? void 0 : _addressList$addresse2.length) > 0 && _typeof((_orderState$options6 = orderState.options) === null || _orderState$options6 === void 0 ? void 0 : _orderState$options6.address) === 'object' && (!addressOpen && isPopover || isModal) && /*#__PURE__*/_react.default.createElement(_styles.AddressListUl, {
229
229
  id: "list"
230
230
  }, uniqueAddressesList.map(function (address) {
231
231
  return /*#__PURE__*/_react.default.createElement(_styles.AddressItem, {
@@ -263,8 +263,8 @@ var AddressListUI = function AddressListUI(props) {
263
263
  return handleSetAddress(address);
264
264
  }
265
265
  }, t('CONTINUE_WITH', 'Continue with'), ": ", address.address));
266
- })), !(addressList.loading || actionStatus.loading || orderState.loading) && !addressList.error && (addressList === null || addressList === void 0 ? void 0 : (_addressList$addresse3 = addressList.addresses) === null || _addressList$addresse3 === void 0 ? void 0 : _addressList$addresse3.length) === 0 && !isProductForm && /*#__PURE__*/_react.default.createElement(_styles.WrappNotAddresses, null, /*#__PURE__*/_react.default.createElement("img", {
267
- src: (_theme$images = theme.images) === null || _theme$images === void 0 ? void 0 : (_theme$images$general = _theme$images.general) === null || _theme$images$general === void 0 ? void 0 : _theme$images$general.notFound,
266
+ })), !(addressList.loading || actionStatus.loading || orderState.loading) && !addressList.error && (addressList === null || addressList === void 0 || (_addressList$addresse3 = addressList.addresses) === null || _addressList$addresse3 === void 0 ? void 0 : _addressList$addresse3.length) === 0 && !isProductForm && /*#__PURE__*/_react.default.createElement(_styles.WrappNotAddresses, null, /*#__PURE__*/_react.default.createElement("img", {
267
+ src: (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.general) === null || _theme$images === void 0 ? void 0 : _theme$images.notFound,
268
268
  alt: "Not Found",
269
269
  width: "200px",
270
270
  height: "112px",
@@ -37,11 +37,11 @@ var AppleLoginUI = function AppleLoginUI(props) {
37
37
  (0, _react.useEffect)(function () {
38
38
  var result = location.hash;
39
39
  if (result) {
40
- var _divisions$, _divisions$$split, _divisions$2, _divisions$2$split, _divisions$3, _divisions$3$split;
40
+ var _divisions$, _divisions$2, _divisions$3;
41
41
  var divisions = result === null || result === void 0 ? void 0 : result.split('&', 4);
42
- var state = divisions === null || divisions === void 0 ? void 0 : (_divisions$ = divisions[0]) === null || _divisions$ === void 0 ? void 0 : (_divisions$$split = _divisions$.split('state=', 2)) === null || _divisions$$split === void 0 ? void 0 : _divisions$$split[1];
43
- var code = divisions === null || divisions === void 0 ? void 0 : (_divisions$2 = divisions[1]) === null || _divisions$2 === void 0 ? void 0 : (_divisions$2$split = _divisions$2.split('code=', 2)) === null || _divisions$2$split === void 0 ? void 0 : _divisions$2$split[1];
44
- var idToken = divisions === null || divisions === void 0 ? void 0 : (_divisions$3 = divisions[2]) === null || _divisions$3 === void 0 ? void 0 : (_divisions$3$split = _divisions$3.split('id_token=', 2)) === null || _divisions$3$split === void 0 ? void 0 : _divisions$3$split[1];
42
+ var state = divisions === null || divisions === void 0 || (_divisions$ = divisions[0]) === null || _divisions$ === void 0 || (_divisions$ = _divisions$.split('state=', 2)) === null || _divisions$ === void 0 ? void 0 : _divisions$[1];
43
+ var code = divisions === null || divisions === void 0 || (_divisions$2 = divisions[1]) === null || _divisions$2 === void 0 || (_divisions$2 = _divisions$2.split('code=', 2)) === null || _divisions$2 === void 0 ? void 0 : _divisions$2[1];
44
+ var idToken = divisions === null || divisions === void 0 || (_divisions$3 = divisions[2]) === null || _divisions$3 === void 0 || (_divisions$3 = _divisions$3.split('id_token=', 2)) === null || _divisions$3 === void 0 ? void 0 : _divisions$3[1];
45
45
  if (code) {
46
46
  handleAppleLoginClick({
47
47
  state: state,
@@ -37,8 +37,8 @@ var AutoScroll = function AutoScroll(_ref) {
37
37
  theme = _useTheme2[0];
38
38
  var autoScrollId = scrollId || 'autoscroll';
39
39
  (0, _react.useLayoutEffect)(function () {
40
- var _document, _document$getElementB;
41
- var element = (_document = document) === null || _document === void 0 ? void 0 : (_document$getElementB = _document.getElementById("".concat(autoScrollId))) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.parentNode;
40
+ var _document;
41
+ var element = (_document = document) === null || _document === void 0 || (_document = _document.getElementById("".concat(autoScrollId))) === null || _document === void 0 ? void 0 : _document.parentNode;
42
42
  element && element.parentNode.addEventListener('scroll', handleScroll);
43
43
  var containerElement = element === null || element === void 0 ? void 0 : element.parentNode;
44
44
  setParentElement(element);
@@ -55,8 +55,8 @@ var AutoScroll = function AutoScroll(_ref) {
55
55
  var handleScroll = function handleScroll() {
56
56
  var _document2, _autoScrollContainer$, _autoScrollContainer$2;
57
57
  var autoScrollContainer = (_document2 = document) === null || _document2 === void 0 ? void 0 : _document2.getElementById("".concat(autoScrollId));
58
- var botonRight = autoScrollContainer === null || autoScrollContainer === void 0 ? void 0 : (_autoScrollContainer$ = autoScrollContainer.querySelector) === null || _autoScrollContainer$ === void 0 ? void 0 : _autoScrollContainer$.call(autoScrollContainer, '.right-autoscroll');
59
- var botonLeft = autoScrollContainer === null || autoScrollContainer === void 0 ? void 0 : (_autoScrollContainer$2 = autoScrollContainer.querySelector) === null || _autoScrollContainer$2 === void 0 ? void 0 : _autoScrollContainer$2.call(autoScrollContainer, '.left-autoscroll');
58
+ var botonRight = autoScrollContainer === null || autoScrollContainer === void 0 || (_autoScrollContainer$ = autoScrollContainer.querySelector) === null || _autoScrollContainer$ === void 0 ? void 0 : _autoScrollContainer$.call(autoScrollContainer, '.right-autoscroll');
59
+ var botonLeft = autoScrollContainer === null || autoScrollContainer === void 0 || (_autoScrollContainer$2 = autoScrollContainer.querySelector) === null || _autoScrollContainer$2 === void 0 ? void 0 : _autoScrollContainer$2.call(autoScrollContainer, '.left-autoscroll');
60
60
  if (botonLeft || botonRight) {
61
61
  if (theme !== null && theme !== void 0 && theme.rtl) {
62
62
  if ((containerElement === null || containerElement === void 0 ? void 0 : containerElement.scrollLeft) * -1 < 40) {
@@ -69,7 +69,7 @@ var BusinessBasicInformation = function BusinessBasicInformation(props) {
69
69
  var _types = [];
70
70
  types.forEach(function (type) {
71
71
  var _type$replace;
72
- return business[type] && _types.push(t("BUSINESS_TYPE_".concat(type === null || type === void 0 ? void 0 : (_type$replace = type.replace(/\s/g, '_')) === null || _type$replace === void 0 ? void 0 : _type$replace.toUpperCase()), type));
72
+ return business[type] && _types.push(t("BUSINESS_TYPE_".concat(type === null || type === void 0 || (_type$replace = type.replace(/\s/g, '_')) === null || _type$replace === void 0 ? void 0 : _type$replace.toUpperCase()), type));
73
73
  });
74
74
  return _types.join(', ');
75
75
  };
@@ -93,11 +93,11 @@ var BusinessBasicInformation = function BusinessBasicInformation(props) {
93
93
  onClick: function onClick() {
94
94
  return setOpenBusinessInformation(true);
95
95
  }
96
- })), (business === null || business === void 0 ? void 0 : (_business$ribbon = business.ribbon) === null || _business$ribbon === void 0 ? void 0 : _business$ribbon.enabled) && /*#__PURE__*/_react.default.createElement(_styles.RibbonBox, {
97
- bgColor: business === null || business === void 0 ? void 0 : (_business$ribbon2 = business.ribbon) === null || _business$ribbon2 === void 0 ? void 0 : _business$ribbon2.color,
98
- isRoundRect: (business === null || business === void 0 ? void 0 : (_business$ribbon3 = business.ribbon) === null || _business$ribbon3 === void 0 ? void 0 : _business$ribbon3.shape) === (_utils.shape === null || _utils.shape === void 0 ? void 0 : _utils.shape.rectangleRound),
99
- isCapsule: (business === null || business === void 0 ? void 0 : (_business$ribbon4 = business.ribbon) === null || _business$ribbon4 === void 0 ? void 0 : _business$ribbon4.shape) === (_utils.shape === null || _utils.shape === void 0 ? void 0 : _utils.shape.capsuleShape)
100
- }, business === null || business === void 0 ? void 0 : (_business$ribbon5 = business.ribbon) === null || _business$ribbon5 === void 0 ? void 0 : _business$ribbon5.text)), !loading ? /*#__PURE__*/_react.default.createElement("p", {
96
+ })), (business === null || business === void 0 || (_business$ribbon = business.ribbon) === null || _business$ribbon === void 0 ? void 0 : _business$ribbon.enabled) && /*#__PURE__*/_react.default.createElement(_styles.RibbonBox, {
97
+ bgColor: business === null || business === void 0 || (_business$ribbon2 = business.ribbon) === null || _business$ribbon2 === void 0 ? void 0 : _business$ribbon2.color,
98
+ isRoundRect: (business === null || business === void 0 || (_business$ribbon3 = business.ribbon) === null || _business$ribbon3 === void 0 ? void 0 : _business$ribbon3.shape) === (_utils.shape === null || _utils.shape === void 0 ? void 0 : _utils.shape.rectangleRound),
99
+ isCapsule: (business === null || business === void 0 || (_business$ribbon4 = business.ribbon) === null || _business$ribbon4 === void 0 ? void 0 : _business$ribbon4.shape) === (_utils.shape === null || _utils.shape === void 0 ? void 0 : _utils.shape.capsuleShape)
100
+ }, business === null || business === void 0 || (_business$ribbon5 = business.ribbon) === null || _business$ribbon5 === void 0 ? void 0 : _business$ribbon5.text)), !loading ? /*#__PURE__*/_react.default.createElement("p", {
101
101
  className: "type"
102
102
  }, business === null || business === void 0 ? void 0 : business.address) : /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
103
103
  width: 150
@@ -107,7 +107,7 @@ var BusinessBasicInformation = function BusinessBasicInformation(props) {
107
107
  className: "dot"
108
108
  }, "\u2022")) : /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
109
109
  width: 50
110
- })), !loading ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (orderState === null || orderState === void 0 ? void 0 : (_orderState$options = orderState.options) === null || _orderState$options === void 0 ? void 0 : _orderState$options.type) === 1 ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("h5", null, (0, _utils.convertHoursToMinutes)(business === null || business === void 0 ? void 0 : business.delivery_time)), /*#__PURE__*/_react.default.createElement("span", {
110
+ })), !loading ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (orderState === null || orderState === void 0 || (_orderState$options = orderState.options) === null || _orderState$options === void 0 ? void 0 : _orderState$options.type) === 1 ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("h5", null, (0, _utils.convertHoursToMinutes)(business === null || business === void 0 ? void 0 : business.delivery_time)), /*#__PURE__*/_react.default.createElement("span", {
111
111
  className: "dot"
112
112
  }, "\u2022")) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("h5", null, (0, _utils.convertHoursToMinutes)(business === null || business === void 0 ? void 0 : business.pickup_time)), /*#__PURE__*/_react.default.createElement("span", {
113
113
  className: "dot"
@@ -121,7 +121,7 @@ var BusinessBasicInformation = function BusinessBasicInformation(props) {
121
121
  className: "review"
122
122
  }, /*#__PURE__*/_react.default.createElement(_FaStar.default, {
123
123
  className: "start"
124
- }), /*#__PURE__*/_react.default.createElement("p", null, business === null || business === void 0 ? void 0 : (_business$reviews = business.reviews) === null || _business$reviews === void 0 ? void 0 : _business$reviews.total)) : /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
124
+ }), /*#__PURE__*/_react.default.createElement("p", null, business === null || business === void 0 || (_business$reviews = business.reviews) === null || _business$reviews === void 0 ? void 0 : _business$reviews.total)) : /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
125
125
  width: 50
126
126
  })), !loading ? /*#__PURE__*/_react.default.createElement("div", {
127
127
  className: "preorder-Reviews"
@@ -137,11 +137,11 @@ var BusinessBasicInformation = function BusinessBasicInformation(props) {
137
137
  }
138
138
  }, t('REVIEWS', 'Reviews'))) : /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
139
139
  width: 100
140
- })))), ((categoryState === null || categoryState === void 0 ? void 0 : (_categoryState$produc = categoryState.products) === null || _categoryState$produc === void 0 ? void 0 : _categoryState$produc.length) !== 0 || searchValue) && !errorQuantityProducts && /*#__PURE__*/_react.default.createElement(_styles.WrapperSearch, null, /*#__PURE__*/_react.default.createElement(_SearchBar.SearchBar, {
140
+ })))), ((categoryState === null || categoryState === void 0 || (_categoryState$produc = categoryState.products) === null || _categoryState$produc === void 0 ? void 0 : _categoryState$produc.length) !== 0 || searchValue) && !errorQuantityProducts && /*#__PURE__*/_react.default.createElement(_styles.WrapperSearch, null, /*#__PURE__*/_react.default.createElement(_SearchBar.SearchBar, {
141
141
  onSearch: handleChangeSearch,
142
142
  search: searchValue,
143
- placeholder: t('SEARCH_PRODUCTS', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag = theme.defaultLanguages) === null || _theme$defaultLanguag === void 0 ? void 0 : _theme$defaultLanguag.SEARCH_PRODUCTS) || 'Search Products'),
144
- lazyLoad: businessState === null || businessState === void 0 ? void 0 : (_businessState$busine = businessState.business) === null || _businessState$busine === void 0 ? void 0 : _businessState$busine.lazy_load_products_recommended,
143
+ placeholder: t('SEARCH_PRODUCTS', (theme === null || theme === void 0 || (_theme$defaultLanguag = theme.defaultLanguages) === null || _theme$defaultLanguag === void 0 ? void 0 : _theme$defaultLanguag.SEARCH_PRODUCTS) || 'Search Products'),
144
+ lazyLoad: businessState === null || businessState === void 0 || (_businessState$busine = businessState.business) === null || _businessState$busine === void 0 ? void 0 : _businessState$busine.lazy_load_products_recommended,
145
145
  handleChangeSortBy: handleChangeSortBy,
146
146
  isFilter: true,
147
147
  sortByOptions: sortByOptions,