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
@@ -5,16 +5,22 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.PriceContainer = exports.ContentInfo = exports.BusinessTotal = exports.BusinessInfo = exports.BusinessActions = exports.AccordionText = exports.AccordionSection = exports.AccordionContent = exports.Accordion = void 0;
8
+ exports.WrapperBusinessLogo = exports.TimeContainer = exports.PriceContainer = exports.ContentInfo = exports.BusinessTotal = exports.BusinessLogo = exports.BusinessInfo = exports.BusinessActions = exports.AccordionText = exports.AccordionSection = exports.AccordionContent = exports.Accordion = void 0;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
9
11
 
10
12
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
11
13
 
12
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
14
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19;
13
15
 
14
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
17
 
16
18
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
19
 
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
+
22
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
+
18
24
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
19
25
 
20
26
  var AccordionSection = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n opacity: 1;\n\n ", "\n\n &:last-child {\n border-bottom: 0;\n margin-bottom: 10px;\n }\n"])), function (_ref) {
@@ -33,7 +39,7 @@ var Accordion = _styledComponents.default.div(_templateObject3 || (_templateObje
33
39
 
34
40
  exports.Accordion = Accordion;
35
41
 
36
- var ContentInfo = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n\n > div {\n display: flex;\n align-items: center;\n\n .go-store {\n user-select: none;\n text-decoration: underline;\n color: ", ";\n margin-right: 5px;\n ", "\n }\n\n .clear-cart {\n user-select: none;\n text-decoration: underline;\n color: #d81212;\n margin-left: 5px;\n ", "\n &:first-letter {\n text-transform: uppercase;\n }\n }\n\n ", "\n }\n .change-store {\n cursor: pointer;\n text-decoration: underline;\n color: ", ";\n font-size: 12px;\n &:first-letter {\n text-transform: uppercase;\n }\n }\n ", "\n\n h2, span {\n margin: 0px;\n }\n\n h2 {\n color: ", ";\n font-size: 16px;\n font-weight: 500;\n }\n\n @media (min-width: 576px) {\n h2 {\n font-size: 18px;\n }\n span {\n font-size: 13px;\n }\n }\n"])), function (props) {
42
+ var ContentInfo = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n\n > div {\n display: flex;\n align-items: center;\n\n .go-store {\n user-select: none;\n text-decoration: underline;\n color: ", ";\n margin-right: 5px;\n ", "\n }\n\n .clear-cart {\n user-select: none;\n text-decoration: underline;\n color: #d81212;\n margin-left: 5px;\n ", "\n &:first-letter {\n text-transform: uppercase;\n }\n }\n\n ", "\n }\n .change-store {\n cursor: pointer;\n text-decoration: underline;\n color: ", ";\n font-size: 12px;\n &:first-letter {\n text-transform: uppercase;\n }\n }\n ", "\n\n span {\n cursor: pointer;\n }\n\n h2, span {\n margin: 0px;\n }\n\n h2 {\n color: ", ";\n font-size: 16px;\n font-weight: 500;\n }\n\n @media (min-width: 576px) {\n h2 {\n font-size: 18px;\n }\n span {\n font-size: 13px;\n }\n }\n"])), function (props) {
37
43
  return props.theme.colors.primary;
38
44
  }, function (props) {
39
45
  var _props$theme;
@@ -87,4 +93,24 @@ exports.BusinessActions = BusinessActions;
87
93
 
88
94
  var PriceContainer = _styledComponents.default.div(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n button{ \n padding: 10px 30px;\n min-width: 150px;\n width: 50%;\n height: 50px;\n }\n"])));
89
95
 
90
- exports.PriceContainer = PriceContainer;
96
+ exports.PriceContainer = PriceContainer;
97
+
98
+ var BusinessLogoStyled = _styledComponents.default.div(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n display: flex;\n width: 75px;\n height: 75px;\n min-height: 75px;\n box-sizing: border-box;\n position: relative;\n background-repeat: no-repeat, repeat;\n background-size: contain;\n object-fit: contain;\n background-position: center;\n border-radius: 10px;\n"])));
99
+
100
+ var BusinessLogo = function BusinessLogo(props) {
101
+ return /*#__PURE__*/_react.default.createElement(BusinessLogoStyled, _extends({}, props, {
102
+ style: {
103
+ backgroundImage: "url(".concat(props.bgimage, ")")
104
+ }
105
+ }), props.children);
106
+ };
107
+
108
+ exports.BusinessLogo = BusinessLogo;
109
+
110
+ var WrapperBusinessLogo = _styledComponents.default.div(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n max-width: 75px;\n max-height: 75px;\n height: 75px;\n width: 75px;\n margin-right: 10px;\n"])));
111
+
112
+ exports.WrapperBusinessLogo = WrapperBusinessLogo;
113
+
114
+ var TimeContainer = _styledComponents.default.div(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n svg{\n position: relative;\n top: 1px;\n margin-right: 5px;\n }\n"])));
115
+
116
+ exports.TimeContainer = TimeContainer;
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
 
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
6
8
  exports.BusinessListingSearchUI = exports.BusinessListingSearch = void 0;
7
9
 
8
- var _react = _interopRequireDefault(require("react"));
10
+ var _react = _interopRequireWildcard(require("react"));
9
11
 
10
12
  var _styles = require("./styles");
11
13
 
@@ -43,8 +45,16 @@ var _BisDownArrow = _interopRequireDefault(require("@meronex/icons/bi/BisDownArr
43
45
 
44
46
  var _BisUpArrow = _interopRequireDefault(require("@meronex/icons/bi/BisUpArrow"));
45
47
 
48
+ var _Modal = require("../Modal");
49
+
50
+ var _ProductForm = require("../ProductForm");
51
+
46
52
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
47
53
 
54
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
55
+
56
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
57
+
48
58
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
49
59
 
50
60
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
@@ -72,7 +82,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
72
82
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
73
83
 
74
84
  var BusinessListingSearchUI = function BusinessListingSearchUI(props) {
75
- var _businessesSearchList, _sortItems$filter, _brandList$brands, _brandList$brands$fil, _orderState$options3, _orderState$options4, _orderState$options5, _businessesSearchList2, _businessesSearchList3, _businessesSearchList5;
85
+ var _businessesSearchList, _sortItems$filter, _brandList$brands, _brandList$brands$fil, _orderState$options3, _orderState$options4, _orderState$options5, _businessesSearchList2, _businessesSearchList3, _businessesSearchList5, _curProduct$business, _curProduct$business2, _curProduct$product, _curProduct$product2;
76
86
 
77
87
  var businessesSearchList = props.businessesSearchList,
78
88
  onBusinessClick = props.onBusinessClick,
@@ -98,6 +108,14 @@ var BusinessListingSearchUI = function BusinessListingSearchUI(props) {
98
108
 
99
109
  var theme = (0, _styledComponents.useTheme)();
100
110
 
111
+ var _useState = (0, _react.useState)({
112
+ business: null,
113
+ product: null
114
+ }),
115
+ _useState2 = _slicedToArray(_useState, 2),
116
+ curProduct = _useState2[0],
117
+ setCurProduct = _useState2[1];
118
+
101
119
  var _useUtils = (0, _orderingComponentsExternal.useUtils)(),
102
120
  _useUtils2 = _slicedToArray(_useUtils, 1),
103
121
  _useUtils2$ = _useUtils2[0],
@@ -159,6 +177,28 @@ var BusinessListingSearchUI = function BusinessListingSearchUI(props) {
159
177
  if (value === (filters === null || filters === void 0 ? void 0 : filters.price_level)) handleChangeFilters('price_level', null);else handleChangeFilters('price_level', value);
160
178
  };
161
179
 
180
+ var _onProductClick = function onProductClick(product, business) {
181
+ setCurProduct({
182
+ business: business,
183
+ product: product
184
+ });
185
+ };
186
+
187
+ var handleRedirectToCart = function handleRedirectToCart(product, code) {
188
+ setCurProduct({
189
+ business: null,
190
+ product: null
191
+ });
192
+ onBusinessClick(curProduct === null || curProduct === void 0 ? void 0 : curProduct.business);
193
+ };
194
+
195
+ var closeModalProductForm = function closeModalProductForm() {
196
+ setCurProduct({
197
+ business: null,
198
+ product: null
199
+ });
200
+ };
201
+
162
202
  var MaxSectionItem = function MaxSectionItem(_ref) {
163
203
  var _ref2;
164
204
 
@@ -188,6 +228,7 @@ var BusinessListingSearchUI = function BusinessListingSearchUI(props) {
188
228
  return /*#__PURE__*/_react.default.createElement(_styles.BusinessListingSearchContainer, null, /*#__PURE__*/_react.default.createElement(_styles.BusinessesTitle, null, t('SEARCH', 'Search')), /*#__PURE__*/_react.default.createElement(_SearchBar.SearchBar, {
189
229
  lazyLoad: true,
190
230
  isCustomLayout: true,
231
+ forceFocus: true,
191
232
  placeholder: "".concat(t('SEARCH_BUSINESSES', 'Search Businesses'), " / ").concat(t('PLEASE_TYPE_AT_LEAST_3_CHARACTERS', 'Please type at least 3 characters')),
192
233
  onSearch: function onSearch(val) {
193
234
  return handleChangeTermValue(val);
@@ -332,6 +373,9 @@ var BusinessListingSearchUI = function BusinessListingSearchUI(props) {
332
373
  isSoldOut: product.inventoried && !product.quantity,
333
374
  product: product,
334
375
  businessId: business === null || business === void 0 ? void 0 : business.id,
376
+ onProductClick: function onProductClick(product) {
377
+ return _onProductClick(product, business);
378
+ },
335
379
  handleUpdateProducts: function handleUpdateProducts(productId, changes) {
336
380
  return _handleUpdateProducts(productId, category === null || category === void 0 ? void 0 : category.id, business === null || business === void 0 ? void 0 : business.id, changes);
337
381
  }
@@ -357,7 +401,24 @@ var BusinessListingSearchUI = function BusinessListingSearchUI(props) {
357
401
  isSkeleton: true
358
402
  });
359
403
  }))));
360
- })))));
404
+ })))), /*#__PURE__*/_react.default.createElement(_Modal.Modal, {
405
+ width: props !== null && props !== void 0 && props.useKioskApp ? '80%' : '760px',
406
+ open: !!(curProduct !== null && curProduct !== void 0 && curProduct.product),
407
+ closeOnBackdrop: true,
408
+ onClose: function onClose() {
409
+ return closeModalProductForm();
410
+ },
411
+ padding: "0",
412
+ isProductForm: true,
413
+ disableOverflowX: true
414
+ }, !!(curProduct !== null && curProduct !== void 0 && curProduct.product) && /*#__PURE__*/_react.default.createElement(_ProductForm.ProductForm, {
415
+ businessSlug: curProduct === null || curProduct === void 0 ? void 0 : (_curProduct$business = curProduct.business) === null || _curProduct$business === void 0 ? void 0 : _curProduct$business.slug,
416
+ useKioskApp: props === null || props === void 0 ? void 0 : props.useKioskApp,
417
+ businessId: curProduct === null || curProduct === void 0 ? void 0 : (_curProduct$business2 = curProduct.business) === null || _curProduct$business2 === void 0 ? void 0 : _curProduct$business2.id,
418
+ categoryId: curProduct === null || curProduct === void 0 ? void 0 : (_curProduct$product = curProduct.product) === null || _curProduct$product === void 0 ? void 0 : _curProduct$product.category_id,
419
+ productId: curProduct === null || curProduct === void 0 ? void 0 : (_curProduct$product2 = curProduct.product) === null || _curProduct$product2 === void 0 ? void 0 : _curProduct$product2.id,
420
+ onSave: handleRedirectToCart
421
+ })));
361
422
  };
362
423
 
363
424
  exports.BusinessListingSearchUI = BusinessListingSearchUI;
@@ -204,7 +204,7 @@ var BusinessPreorderUI = function BusinessPreorderUI(props) {
204
204
  var _times = getTimes(dateSelected, selectedMenu);
205
205
 
206
206
  setTimeList(_times);
207
- }, [dateSelected, menu]);
207
+ }, [dateSelected, menu, business]);
208
208
  (0, _react.useEffect)(function () {
209
209
  if (type === 'business_hours') setMenu(null);
210
210
  }, [type]);
@@ -277,11 +277,13 @@ var BusinessPreorderUI = function BusinessPreorderUI(props) {
277
277
  },
278
278
  isDisabled: isDisabled
279
279
  }, /*#__PURE__*/_react.default.createElement("span", null, time.text));
280
- })) : /*#__PURE__*/_react.default.createElement(_styles.ClosedBusinessMsg, null, t('ERROR_ADD_PRODUCT_BUSINESS_CLOSED', 'The business is closed at the moment')))), !isPreOrderSetting && /*#__PURE__*/_react.default.createElement(_styles.ClosedBusinessMsg, null, t('ERROR_ADD_PRODUCT_BUSINESS_CLOSED', 'The business is closed at the moment')), showButton && /*#__PURE__*/_react.default.createElement(_styles.ButtonWrapper, null, /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
280
+ })) : /*#__PURE__*/_react.default.createElement(_styles.ClosedBusinessMsg, null, !isProfessional ? t('ERROR_ADD_PRODUCT_BUSINESS_CLOSED', 'The business is closed at the moment') : t('PROFESSIONAL_NOT_AVAILABLE', 'Professional is not available at the moment')))), !isPreOrderSetting && !isProfessional && /*#__PURE__*/_react.default.createElement(_styles.ClosedBusinessMsg, null, t('ERROR_ADD_PRODUCT_BUSINESS_CLOSED', 'The business is closed at the moment')), showButton && /*#__PURE__*/_react.default.createElement(_styles.ButtonWrapper, null, /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
281
281
  color: "primary",
282
282
  onClick: goToBusinessPage,
283
283
  disabled: isAsap || !(dateSelected && timeSelected)
284
- }, t('GO_TO_MENU', 'Go to menu'), /*#__PURE__*/_react.default.createElement(_BsArrowRight.default, null))), (orderState === null || orderState === void 0 ? void 0 : orderState.loading) && /*#__PURE__*/_react.default.createElement(_styles.Layer, null, (window.location.pathname !== '/search' || (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)) && /*#__PURE__*/_react.default.createElement(_SpinnerLoader.SpinnerLoader, {
284
+ }, t('GO_TO_MENU', 'Go to menu'), /*#__PURE__*/_react.default.createElement(_BsArrowRight.default, null))), (orderState === null || orderState === void 0 ? void 0 : orderState.loading) && /*#__PURE__*/_react.default.createElement(_styles.Layer, {
285
+ nobg: !!isProfessional
286
+ }, (window.location.pathname !== '/search' || (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)) && /*#__PURE__*/_react.default.createElement(_SpinnerLoader.SpinnerLoader, {
285
287
  style: {
286
288
  top: windowSize.width <= 768 ? '50%' : '40%',
287
289
  position: windowSize.width <= 768 ? 'absolute' : 'sticky',
@@ -113,7 +113,7 @@ exports.TypeContent = TypeContent;
113
113
 
114
114
  var Layer = _styledComponents.default.div(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n ", "\n position: absolute;\n top: 0;\n width: 100%;\n height: ", ";\n ", "\n"])), function (_ref3) {
115
115
  var nobg = _ref3.nobg;
116
- return !nobg && (0, _styledComponents.css)(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n background-color: rgba(255, 255, 255, 0.7);\n "])));
116
+ return !nobg && (0, _styledComponents.css)(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n background-color: rgba(255, 255, 255, 0.7);\n z-index: 1;\n "])));
117
117
  }, function (_ref4) {
118
118
  var height = _ref4.height;
119
119
  return height || '100vh';
@@ -71,9 +71,13 @@ var BusinessProductsCategoriesUI = function BusinessProductsCategoriesUI(props)
71
71
  selectedCategory = _useState2[0],
72
72
  setSelectedCateogry = _useState2[1];
73
73
 
74
+ var scrollTopSpan = 60;
75
+
74
76
  var handleChangeCategory = function handleChangeCategory(category) {
75
77
  var _document$getElementB, _document$getElementB2;
76
78
 
79
+ var isBlockScroll = window.location.search.includes('category') && window.location.search.includes('product');
80
+
77
81
  if (business !== null && business !== void 0 && business.lazy_load_products_recommended) {
78
82
  handlerClickCategory(_objectSpread({}, category));
79
83
  return;
@@ -81,17 +85,21 @@ var BusinessProductsCategoriesUI = function BusinessProductsCategoriesUI(props)
81
85
 
82
86
  var topPos = 0;
83
87
  if (!(category !== null && category !== void 0 && category.id)) topPos = (_document$getElementB = document.getElementById('businessProductList')) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.offsetTop;else topPos = (_document$getElementB2 = document.getElementById("category".concat(category.id))) === null || _document$getElementB2 === void 0 ? void 0 : _document$getElementB2.offsetTop;
84
- window.scroll({
85
- top: topPos - 60,
86
- left: 0,
87
- behavior: 'smooth'
88
- });
88
+
89
+ if (!isBlockScroll) {
90
+ window.scroll({
91
+ top: topPos - scrollTopSpan,
92
+ left: 0,
93
+ behavior: 'smooth'
94
+ });
95
+ }
89
96
  };
90
97
 
91
98
  var ProductCategories = function ProductCategories() {
92
99
  return categories && categories.length && categories.map(function (category, i) {
93
100
  return /*#__PURE__*/_react.default.createElement(_Tabs.Tab, {
94
101
  key: i,
102
+ id: "category-menu".concat((category === null || category === void 0 ? void 0 : category.id) || '-all'),
95
103
  className: "category ".concat(category.id === 'featured' ? 'special' : ''),
96
104
  active: business !== null && business !== void 0 && business.lazy_load_products_recommended ? (categorySelected === null || categorySelected === void 0 ? void 0 : categorySelected.id) === category.id : (selectedCategory === null || selectedCategory === void 0 ? void 0 : selectedCategory.id) === category.id,
97
105
  onClick: function onClick() {
@@ -102,65 +110,90 @@ var BusinessProductsCategoriesUI = function BusinessProductsCategoriesUI(props)
102
110
  });
103
111
  };
104
112
 
105
- (0, _react.useEffect)(function () {
106
- var handleScroll = function handleScroll() {
107
- if (business !== null && business !== void 0 && business.lazy_load_products_recommended) return;
108
- var featuredElement = document.getElementById('categoryfeatured');
113
+ var handleScroll = function handleScroll() {
114
+ if (business !== null && business !== void 0 && business.lazy_load_products_recommended) return;
115
+ var featuredElement = document.getElementById('categoryfeatured');
109
116
 
110
- var _categories = featuredElement ? _toConsumableArray(categories) : categories.filter(function (category) {
111
- return category.id !== 'featured';
112
- });
117
+ var _categories = featuredElement ? _toConsumableArray(categories) : categories.filter(function (category) {
118
+ return category.id !== 'featured';
119
+ });
120
+
121
+ var windowTop = window.scrollY;
122
+ var categoryListsElement = document.getElementById('category-lists');
123
+ var categoryAreaWidth = (categoryListsElement === null || categoryListsElement === void 0 ? void 0 : categoryListsElement.clientWidth) || 0;
124
+ var categoryScrollChange = categoryListsElement === null || categoryListsElement === void 0 ? void 0 : categoryListsElement.scrollLeft;
125
+
126
+ var _diff = -50;
113
127
 
114
- (_categories === null || _categories === void 0 ? void 0 : _categories.length) && _categories.forEach(function (category) {
115
- var _document$getElementB3, _document$getElementB4;
128
+ var _moveDiff = 30;
129
+ (_categories === null || _categories === void 0 ? void 0 : _categories.length) && _categories.some(function (category) {
130
+ var _document$getElementB3, _document$getElementB4;
116
131
 
117
- var windowTop = window.scrollY;
118
- var topPos = 0;
119
- if (!(category !== null && category !== void 0 && category.id)) topPos = (_document$getElementB3 = document.getElementById('businessProductList')) === null || _document$getElementB3 === void 0 ? void 0 : _document$getElementB3.offsetTop;else topPos = (_document$getElementB4 = document.getElementById("category".concat(category.id))) === null || _document$getElementB4 === void 0 ? void 0 : _document$getElementB4.offsetTop;
132
+ var topPos = category !== null && category !== void 0 && category.id ? (_document$getElementB3 = document.getElementById("category".concat(category.id))) === null || _document$getElementB3 === void 0 ? void 0 : _document$getElementB3.offsetTop : (_document$getElementB4 = document.getElementById('businessProductList')) === null || _document$getElementB4 === void 0 ? void 0 : _document$getElementB4.offsetTop;
120
133
 
121
- if (windowTop >= topPos - 60) {
122
- setSelectedCateogry(category);
134
+ if (topPos - windowTop < scrollTopSpan + 5 && topPos - windowTop > 0 && category !== null && category !== void 0 && category.id) {
135
+ var choosedCategory = document.getElementById("category-menu".concat((category === null || category === void 0 ? void 0 : category.id) || '-all'));
136
+ var choosedCategoryLeft = (choosedCategory === null || choosedCategory === void 0 ? void 0 : choosedCategory.offsetLeft) || 0;
137
+
138
+ if (choosedCategoryLeft - categoryAreaWidth - categoryScrollChange > _diff || categoryScrollChange - choosedCategoryLeft > 0) {
139
+ var moveAmount = choosedCategoryLeft < 100 ? 0 : choosedCategoryLeft - _moveDiff;
140
+ categoryListsElement.scrollTo({
141
+ top: 0,
142
+ left: moveAmount,
143
+ behavior: 'smooth'
144
+ });
123
145
  }
124
- });
125
- var navbar = document.getElementById('category-lists');
126
- var cart = document.getElementById('BusinessCartContainer');
127
- var search = document.getElementById('WrapperSearchAbsolute');
128
- var wrapperCategories = document.getElementById('wrapper-categories');
129
- var styleSheet = document.getElementById('styles').sheet;
130
- var style0 = '.sticky-prod-cat {';
131
- style0 += 'position: fixed !important;';
132
- style0 += 'top: 0 !important;';
133
- style0 += 'width: 65.5% !important;';
134
- style0 += '}';
135
- var style1 = '.sticky-prod-cart {';
136
- style1 += 'position: fixed !important;';
137
- style1 += 'top: 0 !important;';
138
- style1 += 'right: 2.5% !important;';
139
- style1 += 'width: 28.5% !important;';
140
- style1 += '}';
141
- var style2 = '.sticky-search {';
142
- style2 += 'position: fixed !important;';
143
- style2 += 'top: 10px !important;';
144
- style2 += 'right: 32% !important;';
145
- style2 += 'height: 50px !important;';
146
- style2 += 'z-index: 9999 !important;';
147
- style2 += '}';
148
- styleSheet.insertRule(style0, 0);
149
- styleSheet.insertRule(style1, 1);
150
- styleSheet.insertRule(style2, 2);
151
- var limit = window.pageYOffset >= (wrapperCategories === null || wrapperCategories === void 0 ? void 0 : wrapperCategories.offsetTop) && window.pageYOffset > 0;
152
-
153
- if (limit) {
146
+
147
+ setSelectedCateogry(category);
148
+ return true;
149
+ }
150
+ });
151
+ var navbar = document.getElementById('category-lists');
152
+ var cart = document.getElementById('BusinessCartContainer');
153
+ var search = document.getElementById('WrapperSearchAbsolute');
154
+ var wrapperCategories = document.getElementById('wrapper-categories');
155
+ var limit = window.pageYOffset >= (wrapperCategories === null || wrapperCategories === void 0 ? void 0 : wrapperCategories.offsetTop) && window.pageYOffset > 0;
156
+
157
+ if (limit) {
158
+ var classAdded = navbar.classList.contains('sticky-prod-cat');
159
+
160
+ if (!classAdded) {
154
161
  navbar && navbar.classList.add('sticky-prod-cat');
155
162
  cart && cart.classList.add('sticky-prod-cart');
156
163
  search && search.classList.add('sticky-search');
157
- } else {
158
- navbar && navbar.classList.remove('sticky-prod-cat');
159
- cart && cart.classList.remove('sticky-prod-cart');
160
- search && search.classList.remove('sticky-search');
161
164
  }
162
- };
165
+ } else {
166
+ navbar && navbar.classList.remove('sticky-prod-cat');
167
+ cart && cart.classList.remove('sticky-prod-cart');
168
+ search && search.classList.remove('sticky-search');
169
+ }
170
+ };
163
171
 
172
+ (0, _react.useEffect)(function () {
173
+ var styleSheet = document.getElementById('styles').sheet;
174
+ var style0 = '.sticky-prod-cat {';
175
+ style0 += 'position: fixed !important;';
176
+ style0 += 'top: 0 !important;';
177
+ style0 += 'width: 97% !important;';
178
+ style0 += 'padding: 15px 5px 0px 0px;';
179
+ style0 += '}';
180
+ var style1 = '.sticky-prod-cart {';
181
+ style1 += 'position: fixed !important;';
182
+ style1 += 'top: 0 !important;';
183
+ style1 += 'right: 2.5% !important;';
184
+ style1 += 'width: 28.5% !important;';
185
+ style1 += 'margin-top: 32px !important;';
186
+ style1 += '}';
187
+ var style2 = '.sticky-search {';
188
+ style2 += 'position: fixed !important;';
189
+ style2 += 'top: 10px !important;';
190
+ style2 += 'right: 32% !important;';
191
+ style2 += 'height: 50px !important;';
192
+ style2 += 'z-index: 9999 !important;';
193
+ style2 += '}';
194
+ styleSheet.insertRule(style0, 0);
195
+ styleSheet.insertRule(style1, 1);
196
+ styleSheet.insertRule(style2, 2);
164
197
  window.addEventListener('scroll', handleScroll);
165
198
  return function () {
166
199
  return window.removeEventListener('scroll', handleScroll);
@@ -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 CategoriesContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n overflow-x: auto;\n padding: 5px 0px 0px 0px;\n background: ", ";\n z-index: 1000;\n position: sticky;\n top: 0;\n border-bottom: 1px solid #D9D9D9;\n text-align: center;\n width: ", ";\n\n div.category {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n padding: 10px 0px;\n margin: 0 15px;\n &:nth-of-type(1) {\n margin-left: 0;\n ", "\n }\n }\n\n div.special {\n ", "\n }\n\n @media (min-width: 381px) {\n padding: 15px 0px 0px 0px;\n }\n @media (min-width: 992px) {\n width: ", ";\n }\n"])), function (props) {
20
+ var CategoriesContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n overflow-x: auto;\n padding: 5px 0px 0px 0px;\n background: ", ";\n z-index: 1000;\n position: absolute;\n top: 0;\n border-bottom: 1px solid #D9D9D9;\n text-align: center;\n width: ", ";\n\n div.category {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n padding: 10px 0px;\n margin: 0 15px;\n &:nth-of-type(1) {\n margin-left: 0;\n ", "\n }\n }\n\n div.special {\n ", "\n }\n\n @media (min-width: 381px) {\n padding: 15px 0px 0px 0px;\n }\n @media (min-width: 992px) {\n width: ", ";\n }\n"])), function (props) {
21
21
  return props.theme.colors.backgroundPage;
22
22
  }, function (props) {
23
23
  var _props$w;
@@ -91,7 +91,8 @@ var BusinessProductsListUI = function BusinessProductsListUI(props) {
91
91
 
92
92
  var shortCategoryDescriptionSelected = (category === null || category === void 0 ? void 0 : (_category$description = category.description) === null || _category$description === void 0 ? void 0 : _category$description.length) > 200 ? "".concat(category === null || category === void 0 ? void 0 : (_category$description2 = category.description) === null || _category$description2 === void 0 ? void 0 : _category$description2.substring(0, 200), "...") : category === null || category === void 0 ? void 0 : category.description;
93
93
  return /*#__PURE__*/_react.default.createElement(_styles.ProductsContainer, null, (category === null || category === void 0 ? void 0 : category.id) && /*#__PURE__*/_react.default.createElement(_styles.WrapAllCategories, {
94
- id: "container"
94
+ id: "container",
95
+ isCategorySelected: true
95
96
  }, /*#__PURE__*/_react.default.createElement(_styles.HeaderWrapper, null, /*#__PURE__*/_react.default.createElement("div", {
96
97
  className: "category-title"
97
98
  }, (category === null || category === void 0 ? void 0 : category.image) && /*#__PURE__*/_react.default.createElement("img", {
@@ -31,7 +31,10 @@ var ProductsListing = _styledComponents.default.div(_templateObject3 || (_templa
31
31
 
32
32
  exports.ProductsListing = ProductsListing;
33
33
 
34
- var WrapAllCategories = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n .category-title {\n display: flex;\n align-items: center;\n margin-left: 10px;\n width: 100%;\n ", "\n img {\n border-radius: 7.6px;\n min-width: 41px;\n min-height: 41px;\n height: 41px;\n width: 41px;\n }\n }\n .category-description {\n margin-left: 15px;\n margin-bottom: 10px;\n display: flex;\n p {\n margin: 0;\n color: #909BA9;\n white-space: pre;\n }\n span {\n color: ", ";\n text-decoration: underline;\n margin-left: 10px;\n cursor: pointer;\n }\n }\n .wrap-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n button {\n min-width: max-content;\n }\n }\n h3 {\n font-weight: 600;\n font-size: 24px;\n color: ", ";\n margin-left: 10px;\n ", "\n }\n"])), function (props) {
34
+ var WrapAllCategories = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n .category-title {\n display: flex;\n align-items: center;\n justify-content: ", ";\n margin-left: 10px;\n ", "\n\n img {\n border-radius: 7.6px;\n min-width: 41px;\n min-height: 41px;\n height: 41px;\n width: 41px;\n }\n }\n .category-description {\n margin-left: 15px;\n margin-bottom: 10px;\n display: flex;\n p {\n margin: 0;\n color: #909BA9;\n white-space: pre;\n }\n span {\n color: ", ";\n text-decoration: underline;\n margin-left: 10px;\n cursor: pointer;\n }\n }\n\n .wrap-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n button {\n min-width: max-content;\n }\n }\n h3 {\n font-weight: 600;\n font-size: 24px;\n color: ", ";\n margin-left: 10px;\n ", "\n }\n"])), function (_ref) {
35
+ var isCategorySelected = _ref.isCategorySelected;
36
+ return isCategorySelected ? 'flex-start' : 'space-between';
37
+ }, function (props) {
35
38
  var _props$theme;
36
39
 
37
40
  return ((_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.rtl) && (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-right: 10px;\n margin-left: 0;\n "])));
@@ -61,27 +64,27 @@ var DescriptionModalContainer = _styledComponents.default.div(_templateObject9 |
61
64
 
62
65
  exports.DescriptionModalContainer = DescriptionModalContainer;
63
66
 
64
- var RibbonBox = _styledComponents.default.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n padding: 2px 8px;\n box-sizing: border-box;\n color: ", ";\n font-weight: 400;\n font-size: 10px;\n line-height: 13px;\n background-color: ", ";\n max-width: 200px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n margin-left: 5px;\n ", "\n ", "\n ", "\n ", "\n"])), function (props) {
67
+ var RibbonBox = _styledComponents.default.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n padding: 2px 8px;\n box-sizing: border-box;\n color: ", ";\n font-weight: 400;\n font-size: 10px;\n line-height: 13px;\n background-color: ", ";\n max-width: 200px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n margin-left: 5px;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
65
68
  return props.theme.colors.colorTextSignForm;
66
69
  }, function (props) {
67
70
  return props.theme.colors.primary;
68
71
  }, function (props) {
69
72
  return props.theme.rtl && (0, _styledComponents.css)(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n margin-left: 0px;\n margin-right: 5px;\n "])));
70
- }, function (_ref) {
71
- var bgColor = _ref.bgColor;
72
- return bgColor && (0, _styledComponents.css)(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n background-color: ", ";\n "])), bgColor);
73
73
  }, function (_ref2) {
74
- var isRoundRect = _ref2.isRoundRect;
75
- return isRoundRect && (0, _styledComponents.css)(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n border-radius: 7.6px;\n "])));
74
+ var bgColor = _ref2.bgColor;
75
+ return bgColor && (0, _styledComponents.css)(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n background-color: ", ";\n "])), bgColor);
76
76
  }, function (_ref3) {
77
- var isCapsule = _ref3.isCapsule;
77
+ var isRoundRect = _ref3.isRoundRect;
78
+ return isRoundRect && (0, _styledComponents.css)(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n border-radius: 7.6px;\n "])));
79
+ }, function (_ref4) {
80
+ var isCapsule = _ref4.isCapsule;
78
81
  return isCapsule && (0, _styledComponents.css)(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n border-radius: 50px;\n "])));
79
82
  });
80
83
 
81
84
  exports.RibbonBox = RibbonBox;
82
85
 
83
- var CategoryDescripion = _styledComponents.default.div(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n margin-left: 15px;\n margin-bottom: 10px;\n display: flex;\n align-items: flex-end;\n p {\n margin: 0;\n color: #909BA9;\n max-width: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n overflow-wrap: anywhere;\n }\n span {\n color: ", ";\n text-decoration: underline;\n margin-left: 10px;\n cursor: pointer;\n white-space: nowrap;\n overflow: visible;\n }\n"])), function (_ref4) {
84
- var maxWidth = _ref4.maxWidth;
86
+ var CategoryDescripion = _styledComponents.default.div(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n margin-left: 15px;\n margin-bottom: 10px;\n display: flex;\n align-items: flex-end;\n p {\n margin: 0;\n color: #909BA9;\n max-width: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n overflow-wrap: anywhere;\n }\n span {\n color: ", ";\n text-decoration: underline;\n margin-left: 10px;\n cursor: pointer;\n white-space: nowrap;\n overflow: visible;\n }\n"])), function (_ref5) {
87
+ var maxWidth = _ref5.maxWidth;
85
88
  return maxWidth ? "".concat(maxWidth - 200, "px") : 'initial';
86
89
  }, function (props) {
87
90
  return props.theme.colors.primary;
@@ -34,7 +34,7 @@ var ProductsListing = _styledComponents.default.div(_templateObject3 || (_templa
34
34
 
35
35
  exports.ProductsListing = ProductsListing;
36
36
 
37
- var WrapAllCategories = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n .category-title {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n padding-top: 5px;\n padding-bottom: 12px;\n margin-left: 10px;\n ", "\n img {\n border-radius: 7.6px;\n min-width: 41px;\n min-height: 41px;\n height: 41px;\n width: 41px;\n margin-right: 10px;\n ", "\n }\n @media (min-width: 993px) {\n margin: 0px;\n }\n }\n h3 {\n font-weight: 600;\n font-size: 24px;\n color: ", ";\n margin: 0px 0px 0px 10px;\n ", "\n @media (min-width: 993px) {\n margin: 0px;\n }\n }\n"])), function (props) {
37
+ var WrapAllCategories = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n .category-title {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n padding-top: 5px;\n padding-bottom: 12px;\n margin-left: 10px;\n ", "\n\n img {\n border-radius: 7.6px;\n min-width: 41px;\n min-height: 41px;\n height: 41px;\n width: 41px;\n margin-right: 10px;\n ", "\n }\n\n @media (min-width: 993px) {\n margin: 0px;\n }\n }\n\n h3 {\n font-weight: 600;\n font-size: 24px;\n color: ", ";\n margin: 0px 0px 0px 10px;\n ", "\n\n @media (min-width: 993px) {\n margin: 0px;\n }\n }\n"])), function (props) {
38
38
  var _props$theme;
39
39
 
40
40
  return ((_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.rtl) && (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-right: 10px;\n margin-left: 0;\n "])));
@@ -71,7 +71,7 @@ var HeaderWrapper = _styledComponents.default.div(_templateObject10 || (_templat
71
71
 
72
72
  exports.HeaderWrapper = HeaderWrapper;
73
73
 
74
- var DescriptionModalContainer = _styledComponents.default.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n padding: 0 10px;\n img{\n border-radius: 7.6px;\n width: 200px;\n height: 200px;\n min-width: 200px;\n min-height: 200px;\n margin-bottom: 20px;\n }\n p{\n white-space: pre;\n }\n"])));
74
+ var DescriptionModalContainer = _styledComponents.default.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n padding: 0 10px;\n img{\n border-radius: 7.6px;\n width: 200px;\n height: 200px;\n min-width: 200px;\n min-height: 200px;\n margin-bottom: 20px;\n }\n"])));
75
75
 
76
76
  exports.DescriptionModalContainer = DescriptionModalContainer;
77
77
 
@@ -79,7 +79,7 @@ var DescriptionContainer = _styledComponents.default.div(_templateObject12 || (_
79
79
 
80
80
  exports.DescriptionContainer = DescriptionContainer;
81
81
 
82
- var RibbonBox = _styledComponents.default.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n padding: 2px 8px;\n box-sizing: border-box;\n color: ", ";\n font-weight: 400;\n font-size: 10px;\n line-height: 13px;\n background-color: ", ";\n max-width: 200px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n margin-left: 5px;\n ", "\n ", "\n ", "\n ", "\n"])), function (props) {
82
+ var RibbonBox = _styledComponents.default.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n padding: 2px 8px;\n box-sizing: border-box;\n color: ", ";\n font-weight: 400;\n font-size: 10px;\n line-height: 13px;\n background-color: ", ";\n max-width: 200px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n margin-left: 5px;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
83
83
  return props.theme.colors.colorTextSignForm;
84
84
  }, function (props) {
85
85
  return props.theme.colors.primary;