ordering-ui-external 1.0.1 → 1.1.0

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 (368) hide show
  1. package/_bundles/{0.ordering-ui.f64ae9230411e0edb7d6.js → 0.ordering-ui.f3d1068d8ea119f4e4f2.js} +1 -1
  2. package/_bundles/{1.ordering-ui.f64ae9230411e0edb7d6.js → 1.ordering-ui.f3d1068d8ea119f4e4f2.js} +1 -1
  3. package/_bundles/{3.ordering-ui.f64ae9230411e0edb7d6.js → 3.ordering-ui.f3d1068d8ea119f4e4f2.js} +1 -1
  4. package/_bundles/{4.ordering-ui.f64ae9230411e0edb7d6.js → 4.ordering-ui.f3d1068d8ea119f4e4f2.js} +1 -1
  5. package/_bundles/{5.ordering-ui.f64ae9230411e0edb7d6.js → 5.ordering-ui.f3d1068d8ea119f4e4f2.js} +1 -1
  6. package/_bundles/{6.ordering-ui.f64ae9230411e0edb7d6.js → 6.ordering-ui.f3d1068d8ea119f4e4f2.js} +1 -1
  7. package/_bundles/{7.ordering-ui.f64ae9230411e0edb7d6.js → 7.ordering-ui.f3d1068d8ea119f4e4f2.js} +2 -2
  8. package/_bundles/{7.ordering-ui.f64ae9230411e0edb7d6.js.LICENSE.txt → 7.ordering-ui.f3d1068d8ea119f4e4f2.js.LICENSE.txt} +0 -0
  9. package/_bundles/{8.ordering-ui.f64ae9230411e0edb7d6.js → 8.ordering-ui.f3d1068d8ea119f4e4f2.js} +1 -1
  10. package/_bundles/{9.ordering-ui.f64ae9230411e0edb7d6.js → 9.ordering-ui.f3d1068d8ea119f4e4f2.js} +1 -1
  11. package/_bundles/ordering-ui.f3d1068d8ea119f4e4f2.js +2 -0
  12. package/_bundles/{ordering-ui.f64ae9230411e0edb7d6.js.LICENSE.txt → ordering-ui.f3d1068d8ea119f4e4f2.js.LICENSE.txt} +0 -0
  13. package/_modules/components/BusinessBasicInformation/index.js +17 -7
  14. package/_modules/components/BusinessProductsList/index.js +9 -9
  15. package/_modules/components/BusinessProductsList/layouts/groceries/index.js +9 -9
  16. package/_modules/components/Checkout/index.js +2 -1
  17. package/_modules/components/ForgotPasswordForm/index.js +4 -1
  18. package/_modules/components/LoginForm/index.js +4 -1
  19. package/_modules/components/OrderDetails/index.js +30 -13
  20. package/_modules/components/PaymentOptionSquare/index.js +6 -4
  21. package/_modules/components/PaymentOptionSquare/styles.js +13 -6
  22. package/_modules/components/PaymentOptions/index.js +6 -3
  23. package/_modules/components/ProductItemAccordion/index.js +7 -2
  24. package/_modules/components/RenderProductsLayout/SearchProducts/index.js +6 -2
  25. package/_modules/components/RenderProductsLayout/index.js +24 -34
  26. package/_modules/components/SignUpForm/index.js +4 -1
  27. package/_modules/components/SingleProductCard/index.js +2 -2
  28. package/_modules/components/TaxInformation/index.js +3 -5
  29. package/_modules/components/UserFormDetails/index.js +23 -7
  30. package/_modules/components/UserProfileForm/ProfileOptions/index.js +19 -1
  31. package/_modules/components/UserProfileForm/index.js +28 -6
  32. package/_modules/components/UserProfileForm/styles.js +1 -1
  33. package/_modules/hooks/useCountdownTimer.js +1 -1
  34. package/_modules/themes/callcenterOriginal/src/components/BusinessProductsList/layouts/groceries/styles.js +1 -1
  35. package/_modules/themes/callcenterOriginal/src/components/BusinessProductsList/styles.js +1 -1
  36. package/_modules/themes/callcenterOriginal/src/components/ForgotPasswordForm/index.js +4 -1
  37. package/_modules/themes/callcenterOriginal/src/components/LoginForm/index.js +4 -1
  38. package/_modules/themes/callcenterOriginal/src/components/SignUpBusiness/index.js +4 -1
  39. package/_modules/themes/callcenterOriginal/src/components/SignUpForm/index.js +4 -1
  40. package/_modules/themes/callcenterOriginal/src/components/UserFormDetails/index.js +4 -1
  41. package/_modules/themes/eight/src/components/BusinessProductsList/index.js +9 -9
  42. package/_modules/themes/eight/src/components/LoginForm/index.js +4 -1
  43. package/_modules/themes/eight/src/components/SignUpForm/index.js +4 -1
  44. package/_modules/themes/eight/src/components/SingleProductCard/index.js +2 -2
  45. package/_modules/themes/five/index.js +50 -2
  46. package/_modules/themes/five/src/components/AddressDetails/index.js +2 -20
  47. package/_modules/themes/five/src/components/AddressForm/index.js +18 -6
  48. package/_modules/themes/five/src/components/AddressForm/styles.js +1 -1
  49. package/_modules/themes/five/src/components/AddressList/index.js +24 -11
  50. package/_modules/themes/five/src/components/AddressList/styles.js +11 -7
  51. package/_modules/themes/five/src/components/BusinessInformation/index.js +11 -4
  52. package/_modules/themes/five/src/components/BusinessItemAccordion/index.js +19 -4
  53. package/_modules/themes/five/src/components/BusinessItemAccordion/styles.js +30 -4
  54. package/_modules/themes/five/src/components/BusinessListingSearch/index.js +64 -3
  55. package/_modules/themes/five/src/components/BusinessPreorder/index.js +5 -3
  56. package/_modules/themes/five/src/components/BusinessPreorder/styles.js +1 -1
  57. package/_modules/themes/five/src/components/BusinessProductsCategories/index.js +87 -54
  58. package/_modules/themes/five/src/components/BusinessProductsCategories/styles.js +1 -1
  59. package/_modules/themes/five/src/components/BusinessProductsList/layouts/groceries/index.js +2 -1
  60. package/_modules/themes/five/src/components/BusinessProductsList/layouts/groceries/styles.js +13 -10
  61. package/_modules/themes/five/src/components/BusinessProductsList/styles.js +3 -3
  62. package/_modules/themes/five/src/components/BusinessReviews/index.js +24 -30
  63. package/_modules/themes/five/src/components/BusinessesListing/index.js +22 -5
  64. package/_modules/themes/five/src/components/BusinessesListing/layouts/AppointmentsBusinessListing/index.js +23 -5
  65. package/_modules/themes/five/src/components/BusinessesListing/layouts/AppointmentsBusinessListing/styles.js +3 -3
  66. package/_modules/themes/five/src/components/Cart/index.js +28 -9
  67. package/_modules/themes/five/src/components/Cart/styles.js +4 -4
  68. package/_modules/themes/five/src/components/CartContent/index.js +11 -24
  69. package/_modules/themes/five/src/components/CartPopover/index.js +44 -4
  70. package/_modules/themes/five/src/components/CartPopover/styles.js +13 -3
  71. package/_modules/themes/five/src/components/Checkout/index.js +81 -30
  72. package/_modules/themes/five/src/components/Header/index.js +1 -5
  73. package/_modules/themes/five/src/components/HomeHero/layouts/KioskHomeHero/index.js +2 -1
  74. package/_modules/themes/five/src/components/HomeHero/layouts/KioskHomeHero/styles.js +1 -1
  75. package/_modules/themes/five/src/components/HorizontalOrdersLayout/index.js +4 -6
  76. package/_modules/themes/five/src/components/HorizontalOrdersLayout/styles.js +5 -5
  77. package/_modules/themes/five/src/components/LoginForm/styles.js +29 -29
  78. package/_modules/themes/five/src/components/Modal/index.js +5 -0
  79. package/_modules/themes/five/src/components/Modal/styles.js +20 -15
  80. package/_modules/themes/five/src/components/MomentControl/Layouts/CustomLayout/styles.js +4 -4
  81. package/_modules/themes/five/src/components/NotNetworkConnectivity/index.js +70 -5
  82. package/_modules/themes/five/src/components/OrderDetails/ActionsSection.js +5 -3
  83. package/_modules/themes/five/src/components/OrderDetails/OrderBillSection.js +3 -1
  84. package/_modules/themes/five/src/components/OrderDetails/index.js +121 -39
  85. package/_modules/themes/five/src/components/OrderDetails/layouts/Kiosk/index.js +8 -4
  86. package/_modules/themes/five/src/components/OrderDetails/styles.js +26 -18
  87. package/_modules/themes/five/src/components/OrderProgress/index.js +1 -0
  88. package/_modules/themes/five/src/components/OrdersOption/index.js +6 -0
  89. package/_modules/themes/five/src/components/OrdersOption/styles.js +13 -13
  90. package/_modules/themes/five/src/components/PaymentOptionWallet/index.js +6 -2
  91. package/_modules/themes/five/src/components/PaymentOptions/index.js +25 -3
  92. package/_modules/themes/five/src/components/PhoneAutocomplete/index.js +1 -1
  93. package/_modules/themes/five/src/components/ProductForm/index.js +108 -43
  94. package/_modules/themes/five/src/components/ProductForm/styles.js +19 -21
  95. package/_modules/themes/five/src/components/ProductItemAccordion/index.js +11 -3
  96. package/_modules/themes/five/src/components/ProductOption/index.js +3 -1
  97. package/_modules/themes/five/src/components/ProductOption/styles.js +1 -1
  98. package/_modules/themes/five/src/components/ProfessionalProfile/styles.js +1 -1
  99. package/_modules/themes/five/src/components/ReviewDriver/index.js +330 -0
  100. package/_modules/themes/five/src/components/ReviewDriver/styles.js +137 -0
  101. package/_modules/themes/five/src/components/ReviewOrder/index.js +342 -0
  102. package/_modules/themes/five/src/components/ReviewOrder/styles.js +141 -0
  103. package/_modules/themes/five/src/components/ReviewProduct/index.js +329 -0
  104. package/_modules/themes/five/src/components/ReviewProduct/styles.js +111 -0
  105. package/_modules/themes/five/src/components/ReviewTrigger/index.js +130 -0
  106. package/_modules/themes/five/src/components/ReviewTrigger/styles.js +84 -0
  107. package/_modules/themes/five/src/components/SearchBar/index.js +4 -1
  108. package/_modules/themes/five/src/components/SearchProducts/index.js +1 -0
  109. package/_modules/themes/five/src/components/ServiceForm/index.js +93 -26
  110. package/_modules/themes/five/src/components/ServiceForm/styles.js +38 -14
  111. package/_modules/themes/five/src/components/SignUpBusiness/index.js +4 -1
  112. package/_modules/themes/five/src/components/SignUpDriver/index.js +4 -1
  113. package/_modules/themes/five/src/components/SignUpForm/styles.js +12 -12
  114. package/_modules/themes/five/src/components/SingleOrderCard/index.js +216 -26
  115. package/_modules/themes/five/src/components/SingleOrderCard/styles.js +7 -3
  116. package/_modules/themes/five/src/components/TaxInformation/index.js +3 -5
  117. package/_modules/themes/five/src/components/UserDetails/index.js +132 -9
  118. package/_modules/themes/five/src/components/UserDetails/styles.js +3 -3
  119. package/_modules/themes/five/src/components/UserFormDetails/index.js +69 -20
  120. package/_modules/themes/five/src/components/UserPopover/index.js +13 -7
  121. package/_modules/themes/five/src/components/UserProfileForm/ProfileOptions/index.js +19 -1
  122. package/_modules/themes/five/src/components/UserProfileForm/index.js +119 -23
  123. package/_modules/themes/five/src/components/VerifyCodeForm/index.js +86 -0
  124. package/_modules/themes/five/src/components/VerifyCodeForm/styles.js +32 -0
  125. package/_modules/themes/four/src/components/AccordionDropdown/index.js +46 -0
  126. package/_modules/themes/four/src/components/AccordionDropdown/styles.js +31 -0
  127. package/_modules/themes/four/src/components/BusinessBasicInformation/index.js +2 -5
  128. package/_modules/themes/four/src/components/BusinessProductsCategories/index.js +2 -1
  129. package/_modules/themes/four/src/components/BusinessProductsCategories/layouts/groceries/index.js +128 -0
  130. package/_modules/themes/four/src/components/BusinessProductsCategories/layouts/groceries/styles.js +43 -0
  131. package/_modules/themes/four/src/components/BusinessProductsList/layouts/groceries/index.js +235 -0
  132. package/_modules/themes/four/src/components/BusinessProductsList/layouts/groceries/styles.js +52 -0
  133. package/_modules/themes/four/src/components/BusinessProductsListing/index.js +131 -108
  134. package/_modules/themes/four/src/components/BusinessProductsListing/styles.js +8 -33
  135. package/_modules/themes/four/src/components/ForgotPasswordForm/index.js +4 -1
  136. package/_modules/themes/four/src/components/LoginForm/index.js +4 -1
  137. package/_modules/themes/four/src/components/NotFoundSource/index.js +63 -0
  138. package/_modules/themes/four/src/components/NotFoundSource/styles.js +22 -0
  139. package/_modules/themes/four/src/components/RenderProductsLayout/index.js +301 -0
  140. package/_modules/themes/four/src/components/RenderProductsLayout/styles.js +68 -0
  141. package/_modules/themes/four/src/components/SignUpForm/index.js +4 -1
  142. package/_modules/themes/four/src/components/SingleProductCard/index.js +15 -5
  143. package/_modules/themes/four/src/components/UserFormDetails/index.js +4 -1
  144. package/_modules/themes/franchise/src/components/ForgotPasswordForm/index.js +4 -1
  145. package/_modules/themes/franchise/src/components/LoginForm/index.js +4 -1
  146. package/_modules/themes/franchise/src/components/SignUpForm/index.js +4 -1
  147. package/_modules/themes/franchise/src/components/UserFormDetails/index.js +4 -1
  148. package/_modules/themes/orderAndPay/src/components/ForgotPasswordForm/index.js +4 -1
  149. package/_modules/themes/orderAndPay/src/components/LoginForm/index.js +4 -1
  150. package/_modules/themes/orderAndPay/src/components/SignUpForm/index.js +4 -1
  151. package/_modules/themes/orderAndPay/src/components/UserFormDetails/index.js +4 -1
  152. package/_modules/themes/pwa/src/components/ForgotPasswordForm/index.js +4 -1
  153. package/_modules/themes/pwa/src/components/LoginForm/index.js +4 -1
  154. package/_modules/themes/pwa/src/components/SignUpForm/index.js +4 -1
  155. package/_modules/themes/pwa/src/components/UserFormDetails/index.js +4 -1
  156. package/_modules/themes/seven/index.js +4 -4
  157. package/_modules/themes/seven/src/components/ForgotPasswordForm/index.js +4 -1
  158. package/_modules/themes/seven/src/components/LoginForm/index.js +4 -1
  159. package/_modules/themes/seven/src/components/SignUpForm/index.js +4 -1
  160. package/_modules/themes/seven/src/components/SignUpForm/styles.js +1 -1
  161. package/_modules/themes/seven/src/components/UserFormDetails/index.js +4 -1
  162. package/_modules/themes/six/index.js +3 -3
  163. package/_modules/themes/six/src/components/AddressForm/index.js +3 -3
  164. package/_modules/themes/six/src/components/BusinessBasicInformation/index.js +16 -7
  165. package/_modules/themes/six/src/components/BusinessProductsListing/SearchProducts/index.js +6 -2
  166. package/_modules/themes/six/src/components/BusinessProductsListing/index.js +21 -27
  167. package/_modules/themes/six/src/components/DriverTips/index.js +2 -2
  168. package/_modules/themes/six/src/components/ForgotPasswordForm/index.js +4 -1
  169. package/_modules/themes/six/src/components/LoginForm/index.js +7 -4
  170. package/_modules/themes/six/src/components/PaymentOptionCash/index.js +2 -2
  171. package/_modules/themes/six/src/components/ProductForm/index.js +2 -2
  172. package/_modules/themes/six/src/components/SearchBar/index.js +2 -2
  173. package/_modules/themes/six/src/components/SignUpForm/index.js +8 -5
  174. package/_modules/themes/six/src/components/UserFormDetails/index.js +8 -5
  175. package/_modules/themes/three/src/components/ForgotPasswordForm/index.js +4 -1
  176. package/_modules/themes/three/src/components/LoginForm/index.js +4 -1
  177. package/_modules/themes/three/src/components/SignUpForm/index.js +4 -1
  178. package/_modules/themes/two/src/components/ForgotPasswordForm/index.js +4 -1
  179. package/_modules/themes/two/src/components/LoginForm/index.js +4 -1
  180. package/_modules/themes/two/src/components/SignUpForm/index.js +4 -1
  181. package/package.json +3 -3
  182. package/src/components/BusinessBasicInformation/index.js +64 -41
  183. package/src/components/BusinessProductsList/index.js +3 -3
  184. package/src/components/BusinessProductsList/layouts/groceries/index.js +3 -3
  185. package/src/components/Checkout/index.js +1 -0
  186. package/src/components/ForgotPasswordForm/index.js +3 -1
  187. package/src/components/Header/index.js +1 -1
  188. package/src/components/LoginForm/index.js +30 -28
  189. package/src/components/OrderDetails/index.js +101 -58
  190. package/src/components/PaymentOptionSquare/index.js +4 -8
  191. package/src/components/PaymentOptionSquare/styles.js +4 -1
  192. package/src/components/PaymentOptions/index.js +3 -0
  193. package/src/components/ProductItemAccordion/index.js +5 -3
  194. package/src/components/RenderProductsLayout/SearchProducts/index.js +3 -2
  195. package/src/components/RenderProductsLayout/index.js +13 -25
  196. package/src/components/SignUpForm/index.js +4 -2
  197. package/src/components/SingleProductCard/index.js +3 -3
  198. package/src/components/TaxInformation/index.js +1 -1
  199. package/src/components/UserFormDetails/index.js +35 -26
  200. package/src/components/UserProfileForm/ProfileOptions/index.js +12 -1
  201. package/src/components/UserProfileForm/index.js +70 -41
  202. package/src/components/UserProfileForm/styles.js +3 -1
  203. package/src/hooks/useCountdownTimer.js +9 -9
  204. package/src/themes/callcenterOriginal/src/components/BusinessProductsList/layouts/groceries/styles.js +1 -0
  205. package/src/themes/callcenterOriginal/src/components/BusinessProductsList/styles.js +4 -0
  206. package/src/themes/callcenterOriginal/src/components/ForgotPasswordForm/index.js +3 -1
  207. package/src/themes/callcenterOriginal/src/components/LoginForm/index.js +3 -1
  208. package/src/themes/callcenterOriginal/src/components/SignUpBusiness/index.js +3 -1
  209. package/src/themes/callcenterOriginal/src/components/SignUpForm/index.js +3 -1
  210. package/src/themes/callcenterOriginal/src/components/UserFormDetails/index.js +21 -19
  211. package/src/themes/eight/src/components/BusinessProductsList/index.js +3 -3
  212. package/src/themes/eight/src/components/LoginForm/index.js +34 -32
  213. package/src/themes/eight/src/components/SignUpForm/index.js +4 -2
  214. package/src/themes/eight/src/components/SingleProductCard/index.js +3 -3
  215. package/src/themes/five/index.js +15 -2
  216. package/src/themes/five/src/components/AddressDetails/index.js +0 -10
  217. package/src/themes/five/src/components/AddressForm/index.js +58 -45
  218. package/src/themes/five/src/components/AddressForm/styles.js +1 -1
  219. package/src/themes/five/src/components/AddressList/index.js +52 -28
  220. package/src/themes/five/src/components/AddressList/styles.js +9 -2
  221. package/src/themes/five/src/components/BusinessInformation/index.js +52 -37
  222. package/src/themes/five/src/components/BusinessItemAccordion/index.js +36 -3
  223. package/src/themes/five/src/components/BusinessItemAccordion/styles.js +46 -0
  224. package/src/themes/five/src/components/BusinessListingSearch/index.js +39 -1
  225. package/src/themes/five/src/components/BusinessPreorder/index.js +8 -4
  226. package/src/themes/five/src/components/BusinessPreorder/styles.js +1 -0
  227. package/src/themes/five/src/components/BusinessProductsCategories/index.js +89 -58
  228. package/src/themes/five/src/components/BusinessProductsCategories/styles.js +1 -1
  229. package/src/themes/five/src/components/BusinessProductsList/layouts/groceries/index.js +1 -1
  230. package/src/themes/five/src/components/BusinessProductsList/layouts/groceries/styles.js +7 -1
  231. package/src/themes/five/src/components/BusinessProductsList/styles.js +8 -3
  232. package/src/themes/five/src/components/BusinessReviews/index.js +84 -56
  233. package/src/themes/five/src/components/BusinessesListing/index.js +8 -7
  234. package/src/themes/five/src/components/BusinessesListing/layouts/AppointmentsBusinessListing/index.js +9 -3
  235. package/src/themes/five/src/components/BusinessesListing/layouts/AppointmentsBusinessListing/styles.js +8 -2
  236. package/src/themes/five/src/components/Cart/index.js +15 -4
  237. package/src/themes/five/src/components/Cart/styles.js +6 -0
  238. package/src/themes/five/src/components/CartContent/index.js +10 -23
  239. package/src/themes/five/src/components/CartPopover/index.js +50 -12
  240. package/src/themes/five/src/components/CartPopover/styles.js +27 -0
  241. package/src/themes/five/src/components/Checkout/index.js +38 -3
  242. package/src/themes/five/src/components/Header/index.js +2 -3
  243. package/src/themes/five/src/components/HomeHero/layouts/KioskHomeHero/index.js +1 -1
  244. package/src/themes/five/src/components/HomeHero/layouts/KioskHomeHero/styles.js +1 -1
  245. package/src/themes/five/src/components/HorizontalOrdersLayout/index.js +2 -2
  246. package/src/themes/five/src/components/HorizontalOrdersLayout/styles.js +18 -0
  247. package/src/themes/five/src/components/LoginForm/styles.js +4 -1
  248. package/src/themes/five/src/components/Modal/index.js +5 -0
  249. package/src/themes/five/src/components/Modal/styles.js +36 -0
  250. package/src/themes/five/src/components/MomentControl/Layouts/CustomLayout/styles.js +22 -0
  251. package/src/themes/five/src/components/NotNetworkConnectivity/index.js +28 -2
  252. package/src/themes/five/src/components/OrderDetails/ActionsSection.js +14 -10
  253. package/src/themes/five/src/components/OrderDetails/OrderBillSection.js +1 -1
  254. package/src/themes/five/src/components/OrderDetails/index.js +102 -61
  255. package/src/themes/five/src/components/OrderDetails/layouts/Kiosk/index.js +6 -5
  256. package/src/themes/five/src/components/OrderDetails/styles.js +64 -1
  257. package/src/themes/five/src/components/OrderProgress/index.js +1 -0
  258. package/src/themes/five/src/components/OrdersOption/index.js +3 -2
  259. package/src/themes/five/src/components/OrdersOption/styles.js +25 -0
  260. package/src/themes/five/src/components/PaymentOptionWallet/index.js +41 -41
  261. package/src/themes/five/src/components/PaymentOptions/index.js +23 -2
  262. package/src/themes/five/src/components/PhoneAutocomplete/index.js +1 -1
  263. package/src/themes/five/src/components/ProductForm/index.js +147 -100
  264. package/src/themes/five/src/components/ProductForm/styles.js +68 -12
  265. package/src/themes/five/src/components/ProductItemAccordion/index.js +9 -5
  266. package/src/themes/five/src/components/ProductOption/index.js +1 -1
  267. package/src/themes/five/src/components/ProductOption/styles.js +5 -1
  268. package/src/themes/five/src/components/ProfessionalProfile/styles.js +1 -0
  269. package/src/themes/five/src/components/ReviewDriver/index.js +253 -0
  270. package/src/themes/five/src/components/ReviewDriver/styles.js +233 -0
  271. package/src/themes/five/src/components/ReviewOrder/index.js +241 -0
  272. package/src/themes/five/src/components/ReviewOrder/styles.js +253 -0
  273. package/src/themes/five/src/components/ReviewProduct/index.js +251 -0
  274. package/src/themes/five/src/components/ReviewProduct/styles.js +158 -0
  275. package/src/themes/five/src/components/ReviewTrigger/index.js +86 -0
  276. package/src/themes/five/src/components/ReviewTrigger/styles.js +121 -0
  277. package/src/themes/five/src/components/SearchBar/index.js +1 -0
  278. package/src/themes/five/src/components/SearchProducts/index.js +2 -0
  279. package/src/themes/five/src/components/ServiceForm/index.js +93 -22
  280. package/src/themes/five/src/components/ServiceForm/styles.js +43 -2
  281. package/src/themes/five/src/components/SignUpBusiness/index.js +5 -3
  282. package/src/themes/five/src/components/SignUpDriver/index.js +5 -3
  283. package/src/themes/five/src/components/SignUpForm/styles.js +33 -0
  284. package/src/themes/five/src/components/SingleOrderCard/index.js +118 -22
  285. package/src/themes/five/src/components/SingleOrderCard/styles.js +5 -0
  286. package/src/themes/five/src/components/TaxInformation/index.js +1 -1
  287. package/src/themes/five/src/components/UserDetails/index.js +122 -19
  288. package/src/themes/five/src/components/UserDetails/styles.js +7 -0
  289. package/src/themes/five/src/components/UserFormDetails/index.js +108 -63
  290. package/src/themes/five/src/components/UserPopover/index.js +6 -6
  291. package/src/themes/five/src/components/UserProfileForm/ProfileOptions/index.js +12 -1
  292. package/src/themes/five/src/components/UserProfileForm/index.js +130 -38
  293. package/src/themes/five/src/components/VerifyCodeForm/index.js +64 -0
  294. package/src/themes/five/src/components/VerifyCodeForm/styles.js +82 -0
  295. package/src/themes/four/src/components/AccordionDropdown/index.js +47 -0
  296. package/src/themes/four/src/components/AccordionDropdown/styles.js +25 -0
  297. package/src/themes/four/src/components/BusinessBasicInformation/index.js +16 -22
  298. package/src/themes/four/src/components/BusinessProductsCategories/index.js +1 -1
  299. package/src/themes/four/src/components/BusinessProductsCategories/layouts/groceries/index.js +125 -0
  300. package/src/themes/four/src/components/BusinessProductsCategories/layouts/groceries/styles.js +52 -0
  301. package/src/themes/four/src/components/BusinessProductsList/layouts/groceries/index.js +237 -0
  302. package/src/themes/four/src/components/BusinessProductsList/layouts/groceries/styles.js +62 -0
  303. package/src/themes/four/src/components/BusinessProductsListing/index.js +69 -113
  304. package/src/themes/four/src/components/BusinessProductsListing/styles.js +1 -71
  305. package/src/themes/four/src/components/ForgotPasswordForm/index.js +3 -1
  306. package/src/themes/four/src/components/LoginForm/index.js +48 -46
  307. package/src/themes/four/src/components/NotFoundSource/index.js +66 -0
  308. package/src/themes/four/src/components/NotFoundSource/styles.js +27 -0
  309. package/src/themes/four/src/components/RenderProductsLayout/index.js +306 -0
  310. package/src/themes/four/src/components/RenderProductsLayout/styles.js +177 -0
  311. package/src/themes/four/src/components/SignUpForm/index.js +4 -2
  312. package/src/themes/four/src/components/SingleProductCard/index.js +35 -23
  313. package/src/themes/four/src/components/UserFormDetails/index.js +21 -19
  314. package/src/themes/franchise/src/components/ForgotPasswordForm/index.js +3 -1
  315. package/src/themes/franchise/src/components/LoginForm/index.js +32 -30
  316. package/src/themes/franchise/src/components/SignUpForm/index.js +3 -1
  317. package/src/themes/franchise/src/components/UserFormDetails/index.js +21 -19
  318. package/src/themes/orderAndPay/src/components/ForgotPasswordForm/index.js +3 -1
  319. package/src/themes/orderAndPay/src/components/LoginForm/index.js +33 -31
  320. package/src/themes/orderAndPay/src/components/SignUpForm/index.js +11 -9
  321. package/src/themes/orderAndPay/src/components/UserFormDetails/index.js +21 -19
  322. package/src/themes/pwa/src/components/ForgotPasswordForm/index.js +3 -1
  323. package/src/themes/pwa/src/components/LoginForm/index.js +32 -30
  324. package/src/themes/pwa/src/components/SignUpForm/index.js +3 -1
  325. package/src/themes/pwa/src/components/UserFormDetails/index.js +3 -1
  326. package/src/themes/seven/index.js +4 -4
  327. package/src/themes/seven/src/components/CouponControl/index.js +0 -1
  328. package/src/themes/seven/src/components/ForgotPasswordForm/index.js +3 -1
  329. package/src/themes/seven/src/components/LoginForm/index.js +5 -3
  330. package/src/themes/seven/src/components/OrderDetails/index.js +1 -1
  331. package/src/themes/seven/src/components/SignUpForm/index.js +3 -1
  332. package/src/themes/seven/src/components/SignUpForm/styles.js +1 -0
  333. package/src/themes/seven/src/components/UserFormDetails/index.js +3 -1
  334. package/src/themes/six/index.js +3 -3
  335. package/src/themes/six/src/components/AddressForm/index.js +1 -1
  336. package/src/themes/six/src/components/BusinessBasicInformation/index.js +57 -34
  337. package/src/themes/six/src/components/BusinessProductsListing/SearchProducts/index.js +3 -2
  338. package/src/themes/six/src/components/BusinessProductsListing/index.js +7 -13
  339. package/src/themes/six/src/components/DriverTips/index.js +1 -1
  340. package/src/themes/six/src/components/ForgotPasswordForm/index.js +3 -1
  341. package/src/themes/six/src/components/LoginForm/index.js +33 -31
  342. package/src/themes/six/src/components/PaymentOptionCash/index.js +1 -1
  343. package/src/themes/six/src/components/ProductForm/index.js +1 -1
  344. package/src/themes/six/src/components/SearchBar/index.js +1 -1
  345. package/src/themes/six/src/components/SignUpForm/index.js +4 -2
  346. package/src/themes/six/src/components/UserFormDetails/index.js +22 -20
  347. package/src/themes/three/src/components/ForgotPasswordForm/index.js +3 -1
  348. package/src/themes/three/src/components/LoginForm/index.js +52 -50
  349. package/src/themes/three/src/components/SignUpForm/index.js +10 -8
  350. package/src/themes/two/src/components/ForgotPasswordForm/index.js +3 -1
  351. package/src/themes/two/src/components/LoginForm/index.js +42 -40
  352. package/src/themes/two/src/components/SignUpForm/index.js +10 -8
  353. package/template/components/ListenPageChanges/index.js +1 -1
  354. package/template/pages/Checkout/index.js +0 -1
  355. package/template/pages/Home/styles.js +0 -14
  356. package/_bundles/ordering-ui.f64ae9230411e0edb7d6.js +0 -2
  357. package/_modules/themes/five/src/components/FavoriteBusinesses/index.js +0 -268
  358. package/_modules/themes/five/src/components/FavoriteBusinesses/styles.js +0 -53
  359. package/_modules/themes/five/src/components/FavoriteOrders/index.js +0 -353
  360. package/_modules/themes/five/src/components/FavoriteOrders/styles.js +0 -53
  361. package/_modules/themes/five/src/components/FavoriteProducts/index.js +0 -190
  362. package/_modules/themes/five/src/components/FavoriteProducts/styles.js +0 -53
  363. package/src/themes/five/src/components/FavoriteBusinesses/index.js +0 -217
  364. package/src/themes/five/src/components/FavoriteBusinesses/styles.js +0 -85
  365. package/src/themes/five/src/components/FavoriteOrders/index.js +0 -225
  366. package/src/themes/five/src/components/FavoriteOrders/styles.js +0 -87
  367. package/src/themes/five/src/components/FavoriteProducts/index.js +0 -165
  368. package/src/themes/five/src/components/FavoriteProducts/styles.js +0 -87
@@ -19,6 +19,8 @@ var _MdcPlayCircleOutline = _interopRequireDefault(require("@meronex/icons/mdc/M
19
19
 
20
20
  var _LinkableText = require("../LinkableText");
21
21
 
22
+ var _AutoScroll = require("../AutoScroll");
23
+
22
24
  var _orderingComponentsExternal = require("ordering-components-external");
23
25
 
24
26
  var _utils = require("../../../../../utils");
@@ -96,7 +98,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
96
98
  _swiper.default.use([_swiper.Navigation, _swiper.Thumbs]);
97
99
 
98
100
  var ProductOptionsUI = function ProductOptionsUI(props) {
99
- var _theme$defaultLanguag, _theme$defaultLanguag2, _theme$defaultLanguag3, _theme$defaultLanguag4, _props$afterMidElemen, _props$afterMidCompon, _orderState$options, _theme$defaultLanguag5, _theme$defaultLanguag6, _theme$defaultLanguag7, _orderState$options2, _theme$defaultLanguag8, _theme$defaultLanguag9, _theme$defaultLanguag10, _theme$defaultLanguag11, _theme$defaultLanguag12, _theme$defaultLanguag13, _theme$defaultLanguag14, _error$;
101
+ var _configs$unaddressed_, _theme$defaultLanguag, _theme$defaultLanguag2, _theme$defaultLanguag3, _theme$defaultLanguag4, _props$afterMidElemen, _props$afterMidCompon, _orderState$options, _orderState$options2, _theme$defaultLanguag5, _theme$defaultLanguag6, _theme$defaultLanguag7, _orderState$options3, _orderState$options4, _theme$defaultLanguag8, _theme$defaultLanguag9, _theme$defaultLanguag10, _theme$defaultLanguag11, _theme$defaultLanguag12, _theme$defaultLanguag13, _theme$defaultLanguag14, _error$;
100
102
 
101
103
  var businessSlug = props.businessSlug,
102
104
  editMode = props.editMode,
@@ -218,6 +220,14 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
218
220
  var userCustomer = JSON.parse(window.localStorage.getItem('user-customer'));
219
221
  var galleryLength = (gallery === null || gallery === void 0 ? void 0 : gallery.length) + (videoGallery === null || videoGallery === void 0 ? void 0 : videoGallery.length);
220
222
 
223
+ var _useConfig = (0, _orderingComponentsExternal.useConfig)(),
224
+ _useConfig2 = _slicedToArray(_useConfig, 1),
225
+ configs = _useConfig2[0].configs;
226
+
227
+ var unaddressedTypes = (configs === null || configs === void 0 ? void 0 : (_configs$unaddressed_ = configs.unaddressed_order_types_allowed) === null || _configs$unaddressed_ === void 0 ? void 0 : _configs$unaddressed_.value.split('|').map(function (value) {
228
+ return Number(value);
229
+ })) || [];
230
+
221
231
  var closeModal = function closeModal() {
222
232
  setModalIsOpen(false);
223
233
  setModalPageToShow('login');
@@ -285,7 +295,15 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
285
295
  };
286
296
 
287
297
  var handleChangeTabValue = function handleChangeTabValue(value) {
288
- setTabValue(value);
298
+ if (document.getElementById("".concat(value))) {
299
+ var extraHeight = 55;
300
+ var top = document.getElementById("".concat(value)).offsetTop - extraHeight;
301
+ var scrollElement = document.querySelector('.popup-dialog');
302
+ scrollElement.scrollTo({
303
+ top: top,
304
+ behavior: 'smooth'
305
+ });
306
+ }
289
307
  };
290
308
 
291
309
  var handleSwitchQtyUnit = function handleSwitchQtyUnit(val) {
@@ -314,8 +332,9 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
314
332
  };
315
333
 
316
334
  var scrollDown = function scrollDown() {
317
- var _document$getElements;
335
+ var _document$getElements, _document$getElements2;
318
336
 
337
+ var adjustHeight = (windowSize === null || windowSize === void 0 ? void 0 : windowSize.width) > 768 ? 50 : 55;
319
338
  var isErrors = Object.values(errors).length > 0;
320
339
 
321
340
  if (!isErrors) {
@@ -323,11 +342,12 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
323
342
  }
324
343
 
325
344
  var productContainer = document.getElementsByClassName('popup-dialog')[0];
326
- var unselectedFirstSubOption = (_document$getElements = document.getElementsByClassName('error')) === null || _document$getElements === void 0 ? void 0 : _document$getElements[0];
345
+ var unselectedFirstSubOption = (_document$getElements = document.getElementsByClassName('error')) === null || _document$getElements === void 0 ? void 0 : (_document$getElements2 = _document$getElements[0]) === null || _document$getElements2 === void 0 ? void 0 : _document$getElements2.parentNode;
327
346
 
328
347
  if (unselectedFirstSubOption) {
329
- productContainer.scrollTop -= 90;
330
- unselectedFirstSubOption.scrollIntoView({
348
+ var top = unselectedFirstSubOption.offsetTop;
349
+ productContainer.scrollTo({
350
+ top: top - adjustHeight,
331
351
  behavior: 'smooth'
332
352
  });
333
353
  }
@@ -352,21 +372,59 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
352
372
  }
353
373
  }, [errors]);
354
374
  (0, _react.useEffect)(function () {
355
- if (document.getElementById("".concat(tabValue))) {
356
- var extraHeight = windowSize.width < 769 ? 100 : 42;
357
- var top = tabValue === 'all' ? 0 : document.getElementById("".concat(tabValue)).offsetTop - extraHeight;
358
- var scrollElement = document.querySelector('.popup-dialog');
375
+ var scrollElement = document.querySelector('.popup-dialog');
376
+
377
+ var handleScroll = function handleScroll() {
378
+ var extraHeight = 60;
379
+
380
+ if ((product === null || product === void 0 ? void 0 : product.ingredients.length) > 0 || (product === null || product === void 0 ? void 0 : product.extras.length) > 0) {
381
+ var _product$ingredients, _product$extras;
382
+
383
+ var menuList = [];
384
+ if ((product === null || product === void 0 ? void 0 : (_product$ingredients = product.ingredients) === null || _product$ingredients === void 0 ? void 0 : _product$ingredients.length) > 0) menuList.push('ingredients');
385
+ (product === null || product === void 0 ? void 0 : (_product$extras = product.extras) === null || _product$extras === void 0 ? void 0 : _product$extras.length) > 0 && product.extras.sort(function (a, b) {
386
+ return a.rank - b.rank;
387
+ }).forEach(function (extra) {
388
+ var _extra$options;
389
+
390
+ ((_extra$options = extra.options) === null || _extra$options === void 0 ? void 0 : _extra$options.length) > 0 && extra.options.sort(function (a, b) {
391
+ return a.rank - b.rank;
392
+ }).forEach(function (option) {
393
+ showOption(option) && menuList.push("id_".concat(option === null || option === void 0 ? void 0 : option.id));
394
+ });
395
+ });
396
+ menuList.forEach(function (menu) {
397
+ var elementTop = scrollElement.scrollTop;
398
+ var topPos = document.getElementById(menu).offsetTop;
399
+
400
+ if (Math.abs(elementTop - topPos) < extraHeight) {
401
+ setTabValue(menu);
402
+ var elementLeft = document.getElementById("menu_".concat(menu)).offsetLeft;
403
+ var scrollLeft = document.getElementById('all').scrollLeft;
404
+
405
+ if (elementLeft < scrollLeft) {
406
+ document.getElementById('all').scrollTo({
407
+ left: elementLeft,
408
+ behavior: 'smooth'
409
+ });
410
+ }
359
411
 
360
- if (windowSize.width >= 1200) {
361
- scrollElement = productContainerRef.current;
412
+ if (elementLeft < scrollLeft + scrollElement.clientWidth) {
413
+ document.getElementById('all').scrollTo({
414
+ left: elementLeft - scrollElement.clientWidth / 2,
415
+ behavior: 'smooth'
416
+ });
417
+ }
418
+ }
419
+ });
362
420
  }
421
+ };
363
422
 
364
- scrollElement.scrollTo({
365
- top: top,
366
- behavior: 'smooth'
367
- });
368
- }
369
- }, [tabValue]);
423
+ scrollElement && scrollElement.addEventListener('scroll', handleScroll);
424
+ return function () {
425
+ return scrollElement && scrollElement.removeEventListener('scroll', handleScroll);
426
+ };
427
+ }, [showOption]);
370
428
  (0, _react.useEffect)(function () {
371
429
  var _theme$images, _theme$images$dummies, _product$gallery;
372
430
 
@@ -487,6 +545,9 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
487
545
  spaceBetween: 10,
488
546
  navigation: true,
489
547
  watchOverflow: true,
548
+ observer: true,
549
+ observeParents: true,
550
+ parallax: true,
490
551
  thumbs: {
491
552
  swiper: thumbsSwiper
492
553
  },
@@ -541,7 +602,10 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
541
602
  freeMode: true,
542
603
  watchSlidesProgress: true,
543
604
  className: "product-thumb",
544
- watchOverflow: true
605
+ watchOverflow: true,
606
+ observer: true,
607
+ observeParents: true,
608
+ parallax: true
545
609
  }, gallery.map(function (img, i) {
546
610
  return /*#__PURE__*/_react.default.createElement(_react2.SwiperSlide, {
547
611
  key: i
@@ -573,30 +637,33 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
573
637
  }), /*#__PURE__*/_react.default.createElement("span", null, tag.name));
574
638
  })), /*#__PURE__*/_react.default.createElement(_styles.Divider, null), /*#__PURE__*/_react.default.createElement(_styles.ProductEdition, null, ((product === null || product === void 0 ? void 0 : product.ingredients.length) > 0 || (product === null || product === void 0 ? void 0 : product.extras.length) > 0) && /*#__PURE__*/_react.default.createElement(_styles.ProductTabContainer, {
575
639
  id: "all"
576
- }, /*#__PURE__*/_react.default.createElement(_Tabs.Tabs, {
577
- variant: "primary"
578
- }, /*#__PURE__*/_react.default.createElement(_Tabs.Tab, {
579
- key: "all",
580
- active: tabValue === 'all',
581
- onClick: function onClick() {
582
- return handleChangeTabValue('all');
583
- },
584
- borderBottom: true
585
- }, t('ALL', 'All')), (product === null || product === void 0 ? void 0 : product.ingredients.length) > 0 && /*#__PURE__*/_react.default.createElement(_Tabs.Tab, {
640
+ }, /*#__PURE__*/_react.default.createElement(_Tabs.Tabs, null, /*#__PURE__*/_react.default.createElement(_AutoScroll.AutoScroll, {
641
+ scrollId: "optionList"
642
+ }, (product === null || product === void 0 ? void 0 : product.ingredients.length) > 0 && /*#__PURE__*/_react.default.createElement(_Tabs.Tab, {
586
643
  key: "ingredients",
644
+ id: "menu_ingredients",
587
645
  active: tabValue === 'ingredients',
588
646
  onClick: function onClick() {
589
647
  return handleChangeTabValue('ingredients');
590
648
  },
591
649
  borderBottom: true
592
- }, t('INGREDIENTS', 'ingredients')), (product === null || product === void 0 ? void 0 : product.extras.length) > 0 && /*#__PURE__*/_react.default.createElement(_Tabs.Tab, {
593
- key: "extra",
594
- active: tabValue === 'extra',
595
- onClick: function onClick() {
596
- return handleChangeTabValue('extra');
597
- },
598
- borderBottom: true
599
- }, t('EXTRA', 'Extra')))), /*#__PURE__*/_react.default.createElement("div", {
650
+ }, t('INGREDIENTS', 'ingredients')), product === null || product === void 0 ? void 0 : product.extras.sort(function (a, b) {
651
+ return a.rank - b.rank;
652
+ }).map(function (extra) {
653
+ return extra.options.sort(function (a, b) {
654
+ return a.rank - b.rank;
655
+ }).map(function (option) {
656
+ return showOption(option) && /*#__PURE__*/_react.default.createElement(_Tabs.Tab, {
657
+ key: option === null || option === void 0 ? void 0 : option.id,
658
+ id: "menu_id_".concat(option === null || option === void 0 ? void 0 : option.id),
659
+ active: tabValue === "id_".concat(option === null || option === void 0 ? void 0 : option.id),
660
+ onClick: function onClick() {
661
+ return handleChangeTabValue("id_".concat(option === null || option === void 0 ? void 0 : option.id));
662
+ },
663
+ borderBottom: true
664
+ }, option === null || option === void 0 ? void 0 : option.name);
665
+ });
666
+ })))), (product === null || product === void 0 ? void 0 : product.ingredients.length) > 0 && /*#__PURE__*/_react.default.createElement("div", {
600
667
  id: "ingredients"
601
668
  }, (product === null || product === void 0 ? void 0 : product.ingredients.length) > 0 && /*#__PURE__*/_react.default.createElement(_styles.SectionTitle, null, t('INGREDIENTS', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag2 = theme.defaultLanguages) === null || _theme$defaultLanguag2 === void 0 ? void 0 : _theme$defaultLanguag2.INGREDIENTS) || 'Ingredients')), /*#__PURE__*/_react.default.createElement(_styles.WrapperIngredients, {
602
669
  isProductSoldout: isSoldOut || maxProductQuantity <= 0
@@ -608,16 +675,14 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
608
675
  onChange: handleChangeIngredientState,
609
676
  isSoldOut: isSoldOut
610
677
  });
611
- }))), /*#__PURE__*/_react.default.createElement("div", {
612
- id: "extra"
613
- }, product === null || product === void 0 ? void 0 : product.extras.sort(function (a, b) {
678
+ }))), /*#__PURE__*/_react.default.createElement("div", null, product === null || product === void 0 ? void 0 : product.extras.sort(function (a, b) {
614
679
  return a.rank - b.rank;
615
680
  }).map(function (extra) {
616
681
  return extra.options.sort(function (a, b) {
617
682
  return a.rank - b.rank;
618
683
  }).map(function (option) {
619
684
  var currentState = productCart.options["id:".concat(option === null || option === void 0 ? void 0 : option.id)] || {};
620
- return /*#__PURE__*/_react.default.createElement("div", {
685
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
621
686
  key: option === null || option === void 0 ? void 0 : option.id
622
687
  }, showOption(option) && /*#__PURE__*/_react.default.createElement(_ProductOption.ProductOption, {
623
688
  option: option,
@@ -697,14 +762,14 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
697
762
  return handleSwitchQtyUnit('weight_unit');
698
763
  },
699
764
  active: qtyBy === null || qtyBy === void 0 ? void 0 : qtyBy.weight_unit
700
- }, product === null || product === void 0 ? void 0 : product.weight_unit)))), productCart && !isSoldOut && maxProductQuantity > 0 && auth && ((_orderState$options = orderState.options) === null || _orderState$options === void 0 ? void 0 : _orderState$options.address_id) && /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
765
+ }, product === null || product === void 0 ? void 0 : product.weight_unit)))), productCart && !isSoldOut && maxProductQuantity > 0 && auth && (((_orderState$options = orderState.options) === null || _orderState$options === void 0 ? void 0 : _orderState$options.address_id) || unaddressedTypes.includes(orderState === null || orderState === void 0 ? void 0 : (_orderState$options2 = orderState.options) === null || _orderState$options2 === void 0 ? void 0 : _orderState$options2.type)) && /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
701
766
  className: "add ".concat(maxProductQuantity === 0 || Object.keys(errors).length > 0 ? 'disabled' : ''),
702
767
  color: "primary",
703
768
  onClick: function onClick() {
704
769
  return handleSaveProduct();
705
770
  },
706
771
  disabled: orderState.loading || (productCart === null || productCart === void 0 ? void 0 : productCart.quantity) === 0 || (product === null || product === void 0 ? void 0 : product.minimum_per_order) && (productCart === null || productCart === void 0 ? void 0 : productCart.quantity) < (product === null || product === void 0 ? void 0 : product.minimum_per_order) || (product === null || product === void 0 ? void 0 : product.maximum_per_order) && (productCart === null || productCart === void 0 ? void 0 : productCart.quantity) > (product === null || product === void 0 ? void 0 : product.maximum_per_order)
707
- }, orderState.loading ? /*#__PURE__*/_react.default.createElement("span", null, t('LOADING', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag5 = theme.defaultLanguages) === null || _theme$defaultLanguag5 === void 0 ? void 0 : _theme$defaultLanguag5.LOADING) || 'Loading')) : /*#__PURE__*/_react.default.createElement("span", null, editMode ? t('UPDATE', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag6 = theme.defaultLanguages) === null || _theme$defaultLanguag6 === void 0 ? void 0 : _theme$defaultLanguag6.UPDATE) || 'Update') : t('ADD', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag7 = theme.defaultLanguages) === null || _theme$defaultLanguag7 === void 0 ? void 0 : _theme$defaultLanguag7.ADD) || 'Add'))), auth && !((_orderState$options2 = orderState.options) !== null && _orderState$options2 !== void 0 && _orderState$options2.address_id) && (orderState.loading ? /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
772
+ }, orderState.loading ? /*#__PURE__*/_react.default.createElement("span", null, t('LOADING', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag5 = theme.defaultLanguages) === null || _theme$defaultLanguag5 === void 0 ? void 0 : _theme$defaultLanguag5.LOADING) || 'Loading')) : /*#__PURE__*/_react.default.createElement("span", null, editMode ? t('UPDATE', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag6 = theme.defaultLanguages) === null || _theme$defaultLanguag6 === void 0 ? void 0 : _theme$defaultLanguag6.UPDATE) || 'Update') : t('ADD', (theme === null || theme === void 0 ? void 0 : (_theme$defaultLanguag7 = theme.defaultLanguages) === null || _theme$defaultLanguag7 === void 0 ? void 0 : _theme$defaultLanguag7.ADD) || 'Add'))), auth && !((_orderState$options3 = orderState.options) !== null && _orderState$options3 !== void 0 && _orderState$options3.address_id || unaddressedTypes.includes(orderState === null || orderState === void 0 ? void 0 : (_orderState$options4 = orderState.options) === null || _orderState$options4 === void 0 ? void 0 : _orderState$options4.type)) && (orderState.loading ? /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
708
773
  className: "add",
709
774
  color: "primary",
710
775
  disabled: true
@@ -17,7 +17,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
17
17
 
18
18
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
19
19
 
20
- var ProductContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n max-height: 100vh;\n position: relative;\n padding: 50px 20px 20px;\n @media (min-width: 768px) {\n height: 100%;\n }\n @media (min-width: 769px) {\n padding: 20px;\n }\n @media (min-width: 1200px) {\n flex-wrap: nowrap;\n ", "\n padding-bottom: 0;\n }\n"])), function (props) {
20
+ var ProductContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n max-height: 100vh;\n position: relative;\n padding: 50px 20px 20px;\n\n @media (min-width: 768px) {\n height: 100%;\n }\n\n @media (min-width: 769px) {\n padding: 20px;\n }\n\n @media (min-width: 1200px) {\n flex-wrap: nowrap;\n ", "\n padding-bottom: 0;\n }\n"])), function (props) {
21
21
  return !props.useKioskApp && (0, _styledComponents.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n max-height: 70vh;\n "])));
22
22
  });
23
23
 
@@ -27,7 +27,7 @@ var WrapperImage = _styledComponents.default.div(_templateObject3 || (_templateO
27
27
 
28
28
  exports.WrapperImage = WrapperImage;
29
29
 
30
- var SwiperWrapper = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n img{\n ", "\n }\n .mySwiper2 {\n height: 250px;\n width: 100%;\n .swiper-slide-active {\n border-radius: 0px;\n img {\n border-radius: 0px;\n }\n }\n @media (min-width: 576px) {\n height: 320px;\n }\n }\n .swiper {\n width: 100%;\n height: 500px;\n margin-left: auto;\n margin-right: auto;\n }\n .swiper-slide {\n background-size: cover;\n background-position: center;\n }\n .product-thumb {\n box-sizing: border-box;\n padding: 30px 0px;\n margin: 0px 20px;\n .swiper-slide {\n display: flex;\n opacity: 0.8;\n border-radius: 7.6px;\n height: auto;\n cursor: pointer;\n overflow: hidden;\n img {\n border-radius: 7.6px;\n max-height: 70px;\n }\n }\n .swiper-slide-thumb-active {\n opacity: 1;\n }\n }\n .swiper-slide img {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .swiper-button-next {\n background-image: url(", ");\n background-color: #d1d0d04d;\n background-repeat: no-repeat;\n background-position: 55% center;\n width: 32px;\n height: 32px;\n box-shadow: rgb(0 0 0 / 7%) 0px 4px 10px;\n border-radius: 50%;\n transition: all 0.2s ease;\n &:hover {\n transform: scale(1.05);\n }\n }\n .swiper-button-prev {\n background-image: url(", ");\n background-color: #d1d0d04d;\n background-repeat: no-repeat;\n background-position: 45% center;\n width: 32px;\n height: 32px;\n border-radius: 50%;\n box-shadow: rgb(0 0 0 / 7%) 0px 4px 10px;\n transition: all 0.2s ease;\n &:hover {\n transform: scale(1.05);\n }\n }\n .swiper-button-next::after, .swiper-button-prev::after {\n display: none;\n }\n"])), function (props) {
30
+ var SwiperWrapper = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n\n img{\n ", "\n }\n .mySwiper2 {\n height: 250px;\n width: 100%;\n\n .swiper-slide-active {\n border-radius: 0px;\n img {\n border-radius: 0px;\n }\n }\n\n @media (min-width: 576px) {\n height: 320px;\n }\n }\n\n\n .swiper {\n width: 100%;\n height: 500px;\n margin-left: auto;\n margin-right: auto;\n }\n\n .swiper-slide {\n background-size: cover;\n background-position: center;\n }\n\n .product-thumb {\n box-sizing: border-box;\n padding: 30px 0px;\n margin: 0px 20px;\n\n .swiper-slide {\n display: flex;\n opacity: 0.8;\n border-radius: 7.6px;\n height: auto;\n cursor: pointer;\n overflow: hidden;\n\n img {\n border-radius: 7.6px;\n max-height: 70px;\n }\n }\n\n .swiper-slide-thumb-active {\n opacity: 1;\n }\n }\n\n .swiper-slide img {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .swiper-button-next {\n background-image: url(", ");\n background-color: #d1d0d04d;\n background-repeat: no-repeat;\n background-position: 55% center;\n width: 32px;\n height: 32px;\n box-shadow: rgb(0 0 0 / 7%) 0px 4px 10px;\n border-radius: 50%;\n transition: all 0.2s ease;\n\n &:hover {\n transform: scale(1.05);\n }\n }\n\n .swiper-button-prev {\n background-image: url(", ");\n background-color: #d1d0d04d;\n background-repeat: no-repeat;\n background-position: 45% center;\n width: 32px;\n height: 32px;\n border-radius: 50%;\n box-shadow: rgb(0 0 0 / 7%) 0px 4px 10px;\n transition: all 0.2s ease;\n\n &:hover {\n transform: scale(1.05);\n }\n }\n\n .swiper-button-next::after, .swiper-button-prev::after {\n display: none;\n }\n"])), function (props) {
31
31
  return props.isSoldOut && (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n filter: grayscale(1);\n "])));
32
32
  }, function (props) {
33
33
  return props.theme.images.general.rightArrow;
@@ -41,11 +41,11 @@ var ProductInfo = _styledComponents.default.div(_templateObject6 || (_templateOb
41
41
 
42
42
  exports.ProductInfo = ProductInfo;
43
43
 
44
- var ProductFormTitle = _styledComponents.default.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n overflow-wrap: break-word;\n .price-discount {\n text-decoration: line-through;\n }\n"])));
44
+ var ProductFormTitle = _styledComponents.default.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n overflow-wrap: break-word;\n\n .price-discount {\n text-decoration: line-through;\n }\n"])));
45
45
 
46
46
  exports.ProductFormTitle = ProductFormTitle;
47
47
 
48
- var ProductEdition = _styledComponents.default.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n margin-top: 20px;\n"])));
48
+ var ProductEdition = _styledComponents.default.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n margin-top: 20px;\n margin-bottom: 20px;\n"])));
49
49
 
50
50
  exports.ProductEdition = ProductEdition;
51
51
 
@@ -55,11 +55,11 @@ var SectionTitle = _styledComponents.default.h3(_templateObject9 || (_templateOb
55
55
 
56
56
  exports.SectionTitle = SectionTitle;
57
57
 
58
- var ProductComment = _styledComponents.default.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n margin-bottom: 130px;\n textarea {\n margin-top: 8px;\n }\n p {\n font-weight: 300;\n margin-bottom: 5px;\n }\n @media (min-width: 577px) {\n margin-bottom: 62px;\n }\n @media (min-width: 769px) {\n margin-bottom: 0px;\n padding-bottom: 10px;\n }\n"])));
58
+ var ProductComment = _styledComponents.default.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n margin-bottom: 130px;\n\n textarea {\n margin-top: 8px;\n }\n\n p {\n font-weight: 300;\n margin-bottom: 5px;\n }\n\n @media (min-width: 577px) {\n margin-bottom: 62px;\n }\n\n @media (min-width: 769px) {\n margin-bottom: 0px;\n padding-bottom: 10px;\n }\n"])));
59
59
 
60
60
  exports.ProductComment = ProductComment;
61
61
 
62
- var ProductActions = _styledComponents.default.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 10px 0px;\n width: 100%;\n z-index: 999;\n position: fixed;\n bottom: 0;\n right: 0;\n width: 100%;\n background-color: #FFF;\n div.price {\n padding-top: 10px;\n color: ", ";\n h4 {\n margin: 0;\n font-weight: 600;\n font-size: 20px;\n line-height: 20px;\n }\n span {\n font-size: 13px;\n color: #D83520;\n line-height: 15px;\n }\n }\n div.incdec-control {\n width: 135px;\n display: flex;\n justify-content: space-around;\n align-items: center;\n position: relative;\n svg {\n width: 25px;\n height: 25px;\n cursor: pointer;\n }\n }\n div.price-amount-block {\n display: flex;\n justify-content: space-between;\n width: 80%\n }\n svg {\n color: ", ";\n }\n svg.disabled {\n pointer-events: none;\n color: #CED4DA;\n }\n button:disabled,\n button.disabled {\n background: #E9ECEF;\n border: 1px solid #E9ECEF;\n color: #B1BCCC;\n }\n button.add {\n width: 90%;\n padding: 5px 10px;\n margin-top: 10px;\n position: relative;\n &.soldout {\n width: 100%;\n pointer-events: none;\n }\n }\n .qty {\n flex: 1;\n text-align: center;\n display: flex;\n align-items: center;\n height: 38px;\n min-width: 60px;\n box-sizing: border-box;\n padding: 0;\n margin: 0 10px;\n }\n @media (min-width: 577px) {\n position: sticky;\n }\n @media (min-width: 1200px) {\n bottom: 0px;\n flex-direction: row;\n justify-content: space-between;\n border-top: 1px solid #E9ECEF;\n width: calc(100% + 40px);\n transform: translateX(-20px);\n padding: 10px 20px;\n box-sizing: border-box;\n div.price {\n width: 25%;\n }\n button.add {\n width: 35%;\n margin-top: 0;\n }\n div.incdec-control {\n padding-right: 18%;\n &.show-weight-unit{\n width: 30%;\n }\n }\n }\n"])), function (props) {
62
+ var ProductActions = _styledComponents.default.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 10px 0px;\n width: 100%;\n z-index: 9999997;\n\n position: fixed;\n bottom: 0;\n right: 0;\n width: 100%;\n background-color: #FFF;\n\n div.price {\n padding-top: 10px;\n color: ", ";\n h4 {\n margin: 0;\n font-weight: 600;\n font-size: 20px;\n line-height: 20px;\n }\n span {\n font-size: 13px;\n color: #D83520;\n line-height: 15px;\n }\n }\n\n div.incdec-control {\n width: 135px;\n display: flex;\n justify-content: space-around;\n align-items: center;\n position: relative;\n\n svg {\n width: 25px;\n height: 25px;\n cursor: pointer;\n }\n }\n\n div.price-amount-block {\n display: flex;\n justify-content: space-between;\n width: 80%\n }\n\n svg {\n color: ", ";\n }\n\n svg.disabled {\n pointer-events: none;\n color: #CED4DA;\n }\n\n button:disabled,\n button.disabled {\n background: #E9ECEF;\n border: 1px solid #E9ECEF;\n color: #B1BCCC;\n }\n\n button.add {\n width: 90%;\n padding: 5px 10px;\n margin-top: 10px;\n position: relative;\n\n &.soldout {\n width: 100%;\n pointer-events: none;\n }\n }\n .qty {\n flex: 1;\n text-align: center;\n display: flex;\n align-items: center;\n height: 38px;\n min-width: 60px;\n box-sizing: border-box;\n padding: 0;\n margin: 0 10px;\n }\n\n @media (min-width: 577px) {\n position: sticky;\n }\n\n @media (min-width: 1200px) {\n bottom: 0px;\n flex-direction: row;\n justify-content: space-between;\n border-top: 1px solid #E9ECEF;\n width: calc(100% + 40px);\n transform: translateX(-20px);\n padding: 10px 20px;\n box-sizing: border-box;\n\n div.price {\n width: 25%;\n }\n\n button.add {\n width: 35%;\n margin-top: 0;\n }\n\n div.incdec-control {\n padding-right: 18%;\n &.show-weight-unit{\n width: 30%;\n }\n }\n }\n"])), function (props) {
63
63
  var _props$theme;
64
64
 
65
65
  return (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.colors.darkTextColor;
@@ -69,14 +69,14 @@ var ProductActions = _styledComponents.default.div(_templateObject11 || (_templa
69
69
 
70
70
  exports.ProductActions = ProductActions;
71
71
 
72
- var SkeletonBlock = _styledComponents.default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n width: ", ";\n border-radius: 16px;\n margin: auto;\n span {\n margin-bottom: 10px;\n }\n"])), function (_ref) {
72
+ var SkeletonBlock = _styledComponents.default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n width: ", ";\n border-radius: 16px;\n margin: auto;\n\n span {\n margin-bottom: 10px;\n }\n"])), function (_ref) {
73
73
  var width = _ref.width;
74
74
  return width && "".concat(width, "%");
75
75
  });
76
76
 
77
77
  exports.SkeletonBlock = SkeletonBlock;
78
78
 
79
- var WrapperSubOption = _styledComponents.default.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n border-radius: 10px;\n &.soldout {\n pointer-events: none;\n background-color: hsl(0, 0%, 72%);\n }\n"])));
79
+ var WrapperSubOption = _styledComponents.default.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n border-radius: 10px;\n\n &.soldout {\n pointer-events: none;\n background-color: hsl(0, 0%, 72%);\n }\n"])));
80
80
 
81
81
  exports.WrapperSubOption = WrapperSubOption;
82
82
 
@@ -91,10 +91,8 @@ var WrapperIngredients = _styledComponents.default.div(_templateObject15 || (_te
91
91
 
92
92
  exports.WrapperIngredients = WrapperIngredients;
93
93
 
94
- var ProductTabContainer = _styledComponents.default.div(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n border-bottom: 1px solid #E9ECEF;\n position: sticky;\n top: 0px;\n background: white;\n z-index: 900;\n > div {\n div {\n padding: 9px 15px;\n &:first-child {\n padding-left: 0px;\n ", "\n }\n }\n }\n"])), function (props) {
95
- var _props$theme2;
96
-
97
- return ((_props$theme2 = props.theme) === null || _props$theme2 === void 0 ? void 0 : _props$theme2.rtl) && (0, _styledComponents.css)(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n padding-right: 0px;\n padding-left: 15px;\n "])));
94
+ var ProductTabContainer = _styledComponents.default.div(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n border-bottom: 1px solid #E9ECEF;\n position: sticky;\n top: 0px;\n background: white;\n z-index: 9999996;\n overflow: scroll hidden;\n width: 100%;\n ::-webkit-scrollbar {\n height: 0px;\n }\n\n #optionList {\n > div {\n white-space: nowrap;\n max-width: 200px;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 10px 0px;\n margin-right: 25px;\n ", "\n }\n }\n"])), function (props) {
95
+ return props.theme.rtl && (0, _styledComponents.css)(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n margin-right: 0px;\n margin-left: 25px;\n "])));
98
96
  });
99
97
 
100
98
  exports.ProductTabContainer = ProductTabContainer;
@@ -103,10 +101,10 @@ var Divider = _styledComponents.default.div(_templateObject19 || (_templateObjec
103
101
 
104
102
  exports.Divider = Divider;
105
103
 
106
- var ProductShareWrapper = _styledComponents.default.div(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n justify-content: flex-end;\n padding-right: 20px;\n ", "\n > div {\n > svg {\n margin: 0px !important;\n }\n }\n @media (max-width: 768px) {\n > div {\n right: 16px;\n top: 25px;\n left: auto;\n }\n }\n"])), function (props) {
107
- var _props$theme3;
104
+ var ProductShareWrapper = _styledComponents.default.div(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n justify-content: flex-end;\n padding-right: 20px;\n ", "\n\n > div {\n > svg {\n margin: 0px !important;\n }\n }\n\n @media (max-width: 768px) {\n > div {\n right: 16px;\n top: 25px;\n left: auto;\n }\n }\n\n"])), function (props) {
105
+ var _props$theme2;
108
106
 
109
- return ((_props$theme3 = props.theme) === null || _props$theme3 === void 0 ? void 0 : _props$theme3.rtl) && (0, _styledComponents.css)(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n padding-left: 20px;\n padding-right: 0;\n "])));
107
+ return ((_props$theme2 = props.theme) === null || _props$theme2 === void 0 ? void 0 : _props$theme2.rtl) && (0, _styledComponents.css)(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n padding-left: 20px;\n padding-right: 0;\n "])));
110
108
  });
111
109
 
112
110
  exports.ProductShareWrapper = ProductShareWrapper;
@@ -139,18 +137,18 @@ var ProductTagsListContainer = _styledComponents.default.div(_templateObject28 |
139
137
 
140
138
  exports.ProductTagsListContainer = ProductTagsListContainer;
141
139
 
142
- var ProductTagWrapper = _styledComponents.default.div(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin: 5px 0;\n img {\n width: 32px;\n height: 32px;\n border-radius: 8px;\n box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);\n }\n span {\n font-size: 14px;\n ", "\n }\n"])), function (props) {
143
- var _props$theme4;
140
+ var ProductTagWrapper = _styledComponents.default.div(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin: 5px 0;\n\n img {\n width: 32px;\n height: 32px;\n border-radius: 8px;\n box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);\n }\n\n span {\n font-size: 14px;\n ", "\n }\n"])), function (props) {
141
+ var _props$theme3;
144
142
 
145
- return (_props$theme4 = props.theme) !== null && _props$theme4 !== void 0 && _props$theme4.rtl ? (0, _styledComponents.css)(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["\n margin: 0 10px 0 20px;\n "]))) : (0, _styledComponents.css)(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n margin: 0 20px 0 10px;\n "])));
143
+ return (_props$theme3 = props.theme) !== null && _props$theme3 !== void 0 && _props$theme3.rtl ? (0, _styledComponents.css)(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["\n margin: 0 10px 0 20px;\n "]))) : (0, _styledComponents.css)(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n margin: 0 20px 0 10px;\n "])));
146
144
  });
147
145
 
148
146
  exports.ProductTagWrapper = ProductTagWrapper;
149
147
 
150
148
  var WeightUnitSwitch = _styledComponents.default.div(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: auto;\n margin-left: 10px;\n \n ", "\n"])), function (props) {
151
- var _props$theme5;
149
+ var _props$theme4;
152
150
 
153
- return ((_props$theme5 = props.theme) === null || _props$theme5 === void 0 ? void 0 : _props$theme5.rtl) && (0, _styledComponents.css)(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n margin-right: 10px;\n margin-left: 0;\n "])));
151
+ return ((_props$theme4 = props.theme) === null || _props$theme4 === void 0 ? void 0 : _props$theme4.rtl) && (0, _styledComponents.css)(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n margin-right: 10px;\n margin-left: 0;\n "])));
154
152
  });
155
153
 
156
154
  exports.WeightUnitSwitch = WeightUnitSwitch;
@@ -166,6 +164,6 @@ var WeightUnitItem = _styledComponents.default.span(_templateObject34 || (_templ
166
164
 
167
165
  exports.WeightUnitItem = WeightUnitItem;
168
166
 
169
- var VideoGalleryWrapper = _styledComponents.default.div(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n svg {\n position: absolute;\n fill: #fff;\n font-size: 28px;\n }\n"])));
167
+ var VideoGalleryWrapper = _styledComponents.default.div(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n\n svg {\n position: absolute;\n fill: #fff;\n font-size: 28px;\n }\n"])));
170
168
 
171
169
  exports.VideoGalleryWrapper = VideoGalleryWrapper;
@@ -54,7 +54,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
54
54
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
55
55
 
56
56
  var ProductItemAccordion = function ProductItemAccordion(props) {
57
- var _props$beforeElements, _props$beforeComponen, _product$valid, _props$afterComponent, _props$afterElements;
57
+ var _orderingTheme$theme, _orderingTheme$theme$, _orderingTheme$theme$2, _orderingTheme$theme$3, _orderingTheme$theme$4, _orderingTheme$theme$5, _orderingTheme$theme$6, _orderingTheme$theme$7, _props$beforeElements, _props$beforeComponen, _product$valid, _props$afterComponent, _props$afterElements;
58
58
 
59
59
  var isCartPending = props.isCartPending,
60
60
  isCartProduct = props.isCartProduct,
@@ -64,7 +64,9 @@ var ProductItemAccordion = function ProductItemAccordion(props) {
64
64
  offsetDisabled = props.offsetDisabled,
65
65
  onDeleteProduct = props.onDeleteProduct,
66
66
  onEditProduct = props.onEditProduct,
67
- isCheckout = props.isCheckout;
67
+ isCheckout = props.isCheckout,
68
+ isStore = props.isStore,
69
+ isConfirmationPage = props.isConfirmationPage;
68
70
 
69
71
  var _useLanguage = (0, _orderingComponentsExternal.useLanguage)(),
70
72
  _useLanguage2 = _slicedToArray(_useLanguage, 2),
@@ -80,6 +82,10 @@ var ProductItemAccordion = function ProductItemAccordion(props) {
80
82
 
81
83
  var windowSize = (0, _useWindowSize.useWindowSize)();
82
84
 
85
+ var _useOrderingTheme = (0, _orderingComponentsExternal.useOrderingTheme)(),
86
+ _useOrderingTheme2 = _slicedToArray(_useOrderingTheme, 1),
87
+ orderingTheme = _useOrderingTheme2[0];
88
+
83
89
  var _useState = (0, _react.useState)(''),
84
90
  _useState2 = _slicedToArray(_useState, 2),
85
91
  setActive = _useState2[0],
@@ -99,6 +105,8 @@ var ProductItemAccordion = function ProductItemAccordion(props) {
99
105
  var productSelect = (0, _react.useRef)(null);
100
106
  var productActionsEdit = (0, _react.useRef)(null);
101
107
  var productActionsDelete = (0, _react.useRef)(null);
108
+ var viewString = isConfirmationPage ? 'confirmation' : isStore ? 'business_view' : 'header';
109
+ var showProductImage = !(orderingTheme !== null && orderingTheme !== void 0 && (_orderingTheme$theme = orderingTheme.theme) !== null && _orderingTheme$theme !== void 0 && (_orderingTheme$theme$ = _orderingTheme$theme[viewString]) !== null && _orderingTheme$theme$ !== void 0 && (_orderingTheme$theme$2 = _orderingTheme$theme$.components) !== null && _orderingTheme$theme$2 !== void 0 && (_orderingTheme$theme$3 = _orderingTheme$theme$2.cart) !== null && _orderingTheme$theme$3 !== void 0 && (_orderingTheme$theme$4 = _orderingTheme$theme$3.components) !== null && _orderingTheme$theme$4 !== void 0 && (_orderingTheme$theme$5 = _orderingTheme$theme$4.products) !== null && _orderingTheme$theme$5 !== void 0 && (_orderingTheme$theme$6 = _orderingTheme$theme$5.components) !== null && _orderingTheme$theme$6 !== void 0 && (_orderingTheme$theme$7 = _orderingTheme$theme$6.image) !== null && _orderingTheme$theme$7 !== void 0 && _orderingTheme$theme$7.hidden);
102
110
 
103
111
  var productInfo = function productInfo() {
104
112
  if (isCartProduct) {
@@ -166,7 +174,7 @@ var ProductItemAccordion = function ProductItemAccordion(props) {
166
174
  }
167
175
  }, /*#__PURE__*/_react.default.createElement(_styles.ProductInfo, {
168
176
  className: "info"
169
- }, (product === null || product === void 0 ? void 0 : product.images) && /*#__PURE__*/_react.default.createElement(_styles.WrapperProductImage, null, /*#__PURE__*/_react.default.createElement(_styles.ProductImage, {
177
+ }, (product === null || product === void 0 ? void 0 : product.images) && showProductImage && /*#__PURE__*/_react.default.createElement(_styles.WrapperProductImage, null, /*#__PURE__*/_react.default.createElement(_styles.ProductImage, {
170
178
  bgimage: product === null || product === void 0 ? void 0 : product.images
171
179
  })), isCartProduct && !isCartPending && getProductMax ? /*#__PURE__*/_react.default.createElement(_styles.ProductSelectWrapper, null, /*#__PURE__*/_react.default.createElement(_IosArrowDown.default, null), /*#__PURE__*/_react.default.createElement(_styles.ProductSelect, {
172
180
  ref: productSelect,
@@ -61,7 +61,9 @@ var ProductOptionUI = function ProductOptionUI(props) {
61
61
  return /*#__PURE__*/_react.default.createElement(BeforeComponent, _extends({
62
62
  key: i
63
63
  }, props));
64
- }), /*#__PURE__*/_react.default.createElement(_styles.Container, null, /*#__PURE__*/_react.default.createElement(_styles.WrapHeader, null, /*#__PURE__*/_react.default.createElement(_styles.TitleContainer, null, option.image && option.image !== '-' && /*#__PURE__*/_react.default.createElement(_styles.OptionThumbnail, {
64
+ }), /*#__PURE__*/_react.default.createElement(_styles.Container, {
65
+ id: "id_".concat(option === null || option === void 0 ? void 0 : option.id)
66
+ }, /*#__PURE__*/_react.default.createElement(_styles.WrapHeader, null, /*#__PURE__*/_react.default.createElement(_styles.TitleContainer, null, option.image && option.image !== '-' && /*#__PURE__*/_react.default.createElement(_styles.OptionThumbnail, {
65
67
  src: option.image
66
68
  }), /*#__PURE__*/_react.default.createElement(_styles.Title, null, /*#__PURE__*/_react.default.createElement("span", null, option.name))), /*#__PURE__*/_react.default.createElement(_styles.Flag, {
67
69
  required: (option === null || option === void 0 ? void 0 : option.min) > 0
@@ -21,7 +21,7 @@ var WrapHeader = _styledComponents.default.div(_templateObject2 || (_templateObj
21
21
 
22
22
  exports.WrapHeader = WrapHeader;
23
23
 
24
- var TitleContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin: 0px;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n width: 70%;\n display: flex;\n align-items: center; \n\n *:first-child {\n margin-right: 8px;\n }\n"])));
24
+ var TitleContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin: 0px;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n width: 60%;\n display: flex;\n align-items: center; \n\n *:first-child {\n margin-right: 8px;\n }\n\n @media (min-width: 576px) {\n width: 70%;\n }\n"])));
25
25
 
26
26
  exports.TitleContainer = TitleContainer;
27
27
 
@@ -51,7 +51,7 @@ var Divider = _styledComponents.default.div(_templateObject5 || (_templateObject
51
51
 
52
52
  exports.Divider = Divider;
53
53
 
54
- var ScheduleWrapper = _styledComponents.default.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin-top: 30px;\n\n > div {\n padding: 0px;\n }\n h2 {\n font-weight: 600;\n font-size: 20px;\n line-height: 30px;\n margin-bottom: 20px;\n margin-top: 0px;\n }\n"])));
54
+ var ScheduleWrapper = _styledComponents.default.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin-top: 30px;\n margin-bottom: 15px;\n\n > div {\n padding: 0px;\n }\n h2 {\n font-weight: 600;\n font-size: 20px;\n line-height: 30px;\n margin-bottom: 20px;\n margin-top: 0px;\n }\n"])));
55
55
 
56
56
  exports.ScheduleWrapper = ScheduleWrapper;
57
57