ordering-ui-admin-external 1.30.6 → 1.30.7

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 (373) hide show
  1. package/_bundles/{ordering-ui-admin.7f043fd81bc0483e027b.js → ordering-ui-admin.a29dbc53a1f823ce0ce5.js} +2 -2
  2. package/_bundles/{ordering-ui-admin.7f043fd81bc0483e027b.js.LICENSE.txt → ordering-ui-admin.a29dbc53a1f823ce0ce5.js.LICENSE.txt} +1 -1
  3. package/_modules/components/BusinessIntelligence/AnalyticsAvailableTimes/index.js +10 -10
  4. package/_modules/components/BusinessIntelligence/AnalyticsBusinessFilter/index.js +1 -1
  5. package/_modules/components/BusinessIntelligence/AnalyticsBusyTimes/index.js +10 -10
  6. package/_modules/components/BusinessIntelligence/AnalyticsCalendar/index.js +1 -1
  7. package/_modules/components/BusinessIntelligence/AnalyticsCustomerSatisfaction/index.js +10 -10
  8. package/_modules/components/BusinessIntelligence/AnalyticsDriverOrders/index.js +18 -18
  9. package/_modules/components/BusinessIntelligence/AnalyticsMap/index.js +4 -4
  10. package/_modules/components/BusinessIntelligence/AnalyticsOrdersOrSales/index.js +3 -3
  11. package/_modules/components/BusinessIntelligence/AnalyticsOrdersStatus/index.js +1 -1
  12. package/_modules/components/BusinessIntelligence/AnalyticsRegisterUsers/index.js +6 -6
  13. package/_modules/components/BusinessIntelligence/AnalyticsSpendTimes/index.js +12 -12
  14. package/_modules/components/BusinessIntelligence/BusinessReviewDetails/index.js +4 -4
  15. package/_modules/components/BusinessIntelligence/BusinessReviewList/index.js +4 -4
  16. package/_modules/components/BusinessIntelligence/CountryFilter/index.js +1 -1
  17. package/_modules/components/BusinessIntelligence/InvoiceBusinessPdf/index.js +20 -20
  18. package/_modules/components/BusinessIntelligence/InvoiceDriverPdf/index.js +20 -20
  19. package/_modules/components/BusinessIntelligence/InvoiceGeneral/index.js +2 -2
  20. package/_modules/components/BusinessIntelligence/ReportsAverageSales/index.js +14 -14
  21. package/_modules/components/BusinessIntelligence/ReportsBarChart/index.js +3 -3
  22. package/_modules/components/BusinessIntelligence/ReportsBusinessDistance/index.js +24 -24
  23. package/_modules/components/BusinessIntelligence/ReportsBusinessSpend/index.js +9 -9
  24. package/_modules/components/BusinessIntelligence/ReportsCustomer/index.js +15 -15
  25. package/_modules/components/BusinessIntelligence/ReportsDriverDistance/index.js +8 -8
  26. package/_modules/components/BusinessIntelligence/ReportsDriverFilter/index.js +3 -3
  27. package/_modules/components/BusinessIntelligence/ReportsDriverOrder/index.js +9 -9
  28. package/_modules/components/BusinessIntelligence/ReportsDriverOrderTime/index.js +9 -9
  29. package/_modules/components/BusinessIntelligence/ReportsDriverSchedule/index.js +7 -7
  30. package/_modules/components/BusinessIntelligence/ReportsDriverSpend/index.js +9 -9
  31. package/_modules/components/BusinessIntelligence/ReportsGeneralSales/index.js +9 -9
  32. package/_modules/components/BusinessIntelligence/ReportsHeatMap/index.js +9 -9
  33. package/_modules/components/BusinessIntelligence/ReportsOrderDistance/index.js +21 -21
  34. package/_modules/components/BusinessIntelligence/ReportsOrderStatus/index.js +14 -14
  35. package/_modules/components/BusinessIntelligence/ReportsOrderTypeFilter/index.js +2 -2
  36. package/_modules/components/BusinessIntelligence/ReportsOrders/index.js +19 -19
  37. package/_modules/components/BusinessIntelligence/ReportsPaymethodSales/index.js +9 -9
  38. package/_modules/components/BusinessIntelligence/ReportsSaleAndCategory/index.js +17 -17
  39. package/_modules/components/BusinessIntelligence/ReportsSales/index.js +19 -19
  40. package/_modules/components/BusinessIntelligence/ReportsSpentTIme/index.js +8 -8
  41. package/_modules/components/BusinessIntelligence/ReportsTopDrivers/index.js +24 -24
  42. package/_modules/components/BusinessIntelligence/ReportsUsers/index.js +14 -14
  43. package/_modules/components/BusinessIntelligence/ReviewProductsListing/index.js +4 -4
  44. package/_modules/components/BusinessIntelligence/UsersReviewList/index.js +1 -1
  45. package/_modules/components/CartRecovery/OpenCartBill/index.js +24 -24
  46. package/_modules/components/CartRecovery/OpenCartList/index.js +6 -6
  47. package/_modules/components/CartRecovery/OpenCartsContactInformation/index.js +8 -8
  48. package/_modules/components/CartRecovery/OpenCartsDetail/index.js +3 -3
  49. package/_modules/components/CartRecovery/RecoveryActionAdd/index.js +8 -8
  50. package/_modules/components/CartRecovery/RecoveryActionDetail/index.js +1 -1
  51. package/_modules/components/CartRecovery/RecoveryActionList/index.js +2 -2
  52. package/_modules/components/CartRecovery/RecoveryGeneral/index.js +6 -6
  53. package/_modules/components/CartRecovery/SingleRecoveryNotification/index.js +5 -5
  54. package/_modules/components/Delivery/AddressForm/index.js +29 -29
  55. package/_modules/components/Delivery/AddressList/index.js +11 -11
  56. package/_modules/components/Delivery/DriverGroupSetting/index.js +1 -1
  57. package/_modules/components/Delivery/DriversGroupAddForm/BusinessesForm/index.js +1 -1
  58. package/_modules/components/Delivery/DriversGroupAddForm/PaymethodsForm/index.js +2 -2
  59. package/_modules/components/Delivery/DriversGroupAddForm/index.js +2 -2
  60. package/_modules/components/Delivery/DriversGroupBusinesses/index.js +1 -1
  61. package/_modules/components/Delivery/DriversGroupCompanies/index.js +1 -1
  62. package/_modules/components/Delivery/DriversGroupDeliveryDetails/index.js +1 -1
  63. package/_modules/components/Delivery/DriversGroupDeliveryZoneInformation/index.js +18 -18
  64. package/_modules/components/Delivery/DriversGroupDeliveryZoneList/index.js +4 -4
  65. package/_modules/components/Delivery/DriversGroupDetails/index.js +2 -2
  66. package/_modules/components/Delivery/DriversGroupDrivers/index.js +1 -1
  67. package/_modules/components/Delivery/DriversGroupLogs/index.js +1 -1
  68. package/_modules/components/Delivery/DriversGroupOrders/index.js +5 -5
  69. package/_modules/components/Delivery/DriversGroupPaymethods/index.js +2 -2
  70. package/_modules/components/Delivery/DriversGroupsDeliveryZoneDetails/index.js +1 -1
  71. package/_modules/components/Delivery/DriversGroupsList/index.js +2 -2
  72. package/_modules/components/Delivery/DriversGroupsListing/index.js +4 -4
  73. package/_modules/components/Delivery/UserAddForm/index.js +13 -13
  74. package/_modules/components/Delivery/UserDetails/index.js +6 -6
  75. package/_modules/components/Delivery/UserFormDetails/index.js +10 -10
  76. package/_modules/components/Delivery/UserProfileForm/index.js +7 -7
  77. package/_modules/components/Home/HomePage/index.js +7 -7
  78. package/_modules/components/LanguageSelector/index.js +1 -1
  79. package/_modules/components/Login/ForgotPasswordForm/index.js +3 -3
  80. package/_modules/components/Login/LoginForm/index.js +11 -11
  81. package/_modules/components/Login/ResetPassword/index.js +5 -5
  82. package/_modules/components/Loyalty/GiftCardDetail/index.js +8 -8
  83. package/_modules/components/Loyalty/GiftCards/index.js +3 -3
  84. package/_modules/components/Loyalty/LoyaltyLevelDetail/index.js +10 -10
  85. package/_modules/components/Loyalty/PointsWalletBusinessDetail/index.js +6 -6
  86. package/_modules/components/Loyalty/PointsWalletBusinessList/index.js +3 -3
  87. package/_modules/components/Loyalty/PointsWalletLevels/index.js +3 -3
  88. package/_modules/components/Marketing/BannerDetails/Businesses/index.js +1 -1
  89. package/_modules/components/Marketing/BannerDetails/index.js +5 -5
  90. package/_modules/components/Marketing/BannerImageDetails/BusinessLink.js +2 -2
  91. package/_modules/components/Marketing/BannerImageDetails/ProductLink.js +3 -3
  92. package/_modules/components/Marketing/BannerImageDetails/SelectBusinessProducts/index.js +7 -7
  93. package/_modules/components/Marketing/BannerImageDetails/index.js +1 -1
  94. package/_modules/components/Marketing/CampaignAmountOption/index.js +4 -4
  95. package/_modules/components/Marketing/CampaignDetail/index.js +1 -1
  96. package/_modules/components/Marketing/CampaignDetailContent/index.js +2 -2
  97. package/_modules/components/Marketing/CampaignDetailGeneral/index.js +19 -19
  98. package/_modules/components/Marketing/CampaignEmail/index.js +15 -15
  99. package/_modules/components/Marketing/CampaignHeader/index.js +1 -1
  100. package/_modules/components/Marketing/CampaignList/index.js +2 -2
  101. package/_modules/components/Marketing/CampaignNotification/index.js +12 -12
  102. package/_modules/components/Marketing/CampaignPopup/index.js +10 -10
  103. package/_modules/components/Marketing/CampaignSMS/index.js +11 -11
  104. package/_modules/components/Marketing/CampaignSignUpOption/index.js +5 -5
  105. package/_modules/components/Marketing/CampaignUsersList/index.js +4 -4
  106. package/_modules/components/Marketing/CampaignWebHook/index.js +11 -11
  107. package/_modules/components/Marketing/CampaignWhatsapp/index.js +10 -10
  108. package/_modules/components/Marketing/EnterprisePromotionDeliveryzones/index.js +6 -6
  109. package/_modules/components/Marketing/EnterprisePromotionDetails/index.js +4 -4
  110. package/_modules/components/Marketing/EnterprisePromotionGeneralDetails/index.js +9 -9
  111. package/_modules/components/Marketing/EnterprisePromotionMaxOrders/index.js +1 -1
  112. package/_modules/components/Marketing/EnterprisePromotionOrderTypes/index.js +2 -2
  113. package/_modules/components/Marketing/EnterprisePromotionPaymethods/index.js +7 -7
  114. package/_modules/components/Marketing/EnterprisePromotionRules/index.js +8 -8
  115. package/_modules/components/Marketing/EnterprisePromotionSpecficCategory/index.js +12 -12
  116. package/_modules/components/Marketing/EnterprisePromotionSpecficProducts/index.js +7 -7
  117. package/_modules/components/Marketing/PageBanner/index.js +1 -1
  118. package/_modules/components/Messages/ChatBusinessesList/index.js +2 -2
  119. package/_modules/components/Messages/ChatContactList/index.js +2 -2
  120. package/_modules/components/MyProducts/AdvancedLayouts/index.js +14 -14
  121. package/_modules/components/MyProducts/AdvancedSettings/index.js +40 -40
  122. package/_modules/components/MyProducts/AppResources/index.js +15 -15
  123. package/_modules/components/MyProducts/CustomDomain/index.js +2 -2
  124. package/_modules/components/MyProducts/OrderingWebsite/SelectBusiness.js +2 -2
  125. package/_modules/components/MyProducts/OrderingWebsite/SelectFranchise.js +2 -2
  126. package/_modules/components/MyProducts/OrderingWebsite/index.js +29 -29
  127. package/_modules/components/MyProducts/UploadAudio/index.js +2 -2
  128. package/_modules/components/NotNetworkConnectivity/index.js +2 -2
  129. package/_modules/components/OrderingProducts/OrderingProductGeneralDetails/index.js +18 -18
  130. package/_modules/components/OrderingProducts/OrderingProductsListing/index.js +1 -1
  131. package/_modules/components/OrderingProducts/SiteTheme/ThemeComponent.js +1 -1
  132. package/_modules/components/OrderingProducts/SiteTheme/index.js +10 -10
  133. package/_modules/components/Orders/AllInOne/DriversManager/index.js +2 -2
  134. package/_modules/components/Orders/Appointments/EventComponent.js +3 -3
  135. package/_modules/components/Orders/Appointments/index.js +2 -2
  136. package/_modules/components/Orders/CompanySelector/index.js +4 -4
  137. package/_modules/components/Orders/CreateCustomOrder/CardForm/index.js +3 -3
  138. package/_modules/components/Orders/CreateCustomOrder/CardFormCustom/index.js +2 -2
  139. package/_modules/components/Orders/CreateCustomOrder/CartBill/index.js +21 -21
  140. package/_modules/components/Orders/CreateCustomOrder/Checkout/index.js +26 -26
  141. package/_modules/components/Orders/CreateCustomOrder/DriverTips/index.js +4 -4
  142. package/_modules/components/Orders/CreateCustomOrder/Map/index.js +11 -11
  143. package/_modules/components/Orders/CreateCustomOrder/OrderTypeSelector/index.js +2 -2
  144. package/_modules/components/Orders/CreateCustomOrder/PaymentOptionCard/index.js +1 -1
  145. package/_modules/components/Orders/CreateCustomOrder/PaymentOptionCash/index.js +2 -2
  146. package/_modules/components/Orders/CreateCustomOrder/PaymentOptionPaypal/index.js +1 -1
  147. package/_modules/components/Orders/CreateCustomOrder/PaymentOptionStripe/index.js +8 -8
  148. package/_modules/components/Orders/CreateCustomOrder/PaymentOptionStripe/styles.js +1 -1
  149. package/_modules/components/Orders/CreateCustomOrder/PaymentOptionWallet/index.js +3 -3
  150. package/_modules/components/Orders/CreateCustomOrder/PaymentOptions/index.js +35 -35
  151. package/_modules/components/Orders/CreateCustomOrder/ProductForm/index.js +24 -24
  152. package/_modules/components/Orders/CreateCustomOrder/ProductOptionSubOption/index.js +2 -2
  153. package/_modules/components/Orders/CreateCustomOrder/SelectBusinesses/index.js +2 -2
  154. package/_modules/components/Orders/CreateCustomOrder/SelectCustomer/index.js +1 -1
  155. package/_modules/components/Orders/CreateCustomOrder/SelectProducts/index.js +2 -2
  156. package/_modules/components/Orders/CreateCustomOrder/SingleProductCard/index.js +10 -10
  157. package/_modules/components/Orders/CreateCustomOrder/SingleProductCard/styles.js +5 -5
  158. package/_modules/components/Orders/CreateCustomOrder/StripeMethodForm/index.js +7 -7
  159. package/_modules/components/Orders/DeliveriesLocation/index.js +27 -27
  160. package/_modules/components/Orders/DeliveriesManager/index.js +2 -2
  161. package/_modules/components/Orders/DriverMapMarkerAndInfo/index.js +3 -3
  162. package/_modules/components/Orders/DriversList/index.js +2 -2
  163. package/_modules/components/Orders/DriversLocation/index.js +11 -11
  164. package/_modules/components/Orders/DriversManager/index.js +2 -2
  165. package/_modules/components/Orders/GoogleMapsApiKeySettingButton/index.js +1 -1
  166. package/_modules/components/Orders/InterActOrderMarker/index.js +3 -3
  167. package/_modules/components/Orders/Logistics/index.js +1 -1
  168. package/_modules/components/Orders/Messages/index.js +4 -4
  169. package/_modules/components/Orders/OrderBill/RefundToWallet.js +16 -16
  170. package/_modules/components/Orders/OrderBill/index.js +46 -46
  171. package/_modules/components/Orders/OrderContactInformation/index.js +22 -22
  172. package/_modules/components/Orders/OrderDashboardSLASetting/index.js +3 -3
  173. package/_modules/components/Orders/OrderDetails/index.js +6 -6
  174. package/_modules/components/Orders/OrderDetailsHeader/index.js +6 -6
  175. package/_modules/components/Orders/OrderLogisticInformation/index.js +1 -1
  176. package/_modules/components/Orders/OrderNotification/index.js +4 -4
  177. package/_modules/components/Orders/OrderStatusFilterBar/index.js +4 -4
  178. package/_modules/components/Orders/OrderToPrint/index.js +22 -22
  179. package/_modules/components/Orders/OrderToPrintTicket/index.js +5 -5
  180. package/_modules/components/Orders/OrdersCards/index.js +29 -29
  181. package/_modules/components/Orders/OrdersContentHeader/index.js +3 -3
  182. package/_modules/components/Orders/OrdersExportCSV/index.js +1 -1
  183. package/_modules/components/Orders/OrdersLateralBar/index.js +3 -3
  184. package/_modules/components/Orders/OrdersListing/index.js +3 -3
  185. package/_modules/components/Orders/OrdersTable/index.js +53 -53
  186. package/_modules/components/Orders/PaymethodTypeSelector/index.js +1 -1
  187. package/_modules/components/Orders/ProductItemAccordion/index.js +4 -4
  188. package/_modules/components/Orders/ReviewCustomer/index.js +2 -2
  189. package/_modules/components/PageNotFound/index.js +3 -3
  190. package/_modules/components/Settings/ApiKeysList/index.js +1 -1
  191. package/_modules/components/Settings/CountriesList/index.js +1 -1
  192. package/_modules/components/Settings/DropdownOptionList/index.js +2 -2
  193. package/_modules/components/Settings/EmailSetting/index.js +5 -5
  194. package/_modules/components/Settings/InsertImage/index.js +3 -3
  195. package/_modules/components/Settings/IntegrationListing/Analytics.js +1 -1
  196. package/_modules/components/Settings/IntegrationListing/PaymentGateway.js +1 -1
  197. package/_modules/components/Settings/LanguageSetting/index.js +1 -1
  198. package/_modules/components/Settings/LanguageTransSpread/index.js +2 -2
  199. package/_modules/components/Settings/LanguageTransTable/index.js +4 -4
  200. package/_modules/components/Settings/NotificationSetting/index.js +6 -6
  201. package/_modules/components/Settings/PlaceListing/index.js +1 -1
  202. package/_modules/components/Settings/Settings/index.js +3 -3
  203. package/_modules/components/Settings/SettingsCountryFilter/index.js +1 -1
  204. package/_modules/components/Settings/SettingsList/index.js +4 -4
  205. package/_modules/components/Settings/SettingsSelectUI/index.js +1 -1
  206. package/_modules/components/Settings/ZoneDropdownDetails/index.js +1 -1
  207. package/_modules/components/Shared/AutoScroll/index.js +4 -4
  208. package/_modules/components/Shared/CitySelector/index.js +1 -1
  209. package/_modules/components/Shared/ColumnAllowSettingPopover/index.js +2 -2
  210. package/_modules/components/Shared/ConfirmAdmin/index.js +1 -1
  211. package/_modules/components/Shared/DragScroll/index.js +5 -5
  212. package/_modules/components/Shared/HtmlEditor/InsertImage/index.js +3 -3
  213. package/_modules/components/Shared/InputPhoneNumber/index.js +2 -2
  214. package/_modules/components/Shared/NotFoundSource/index.js +2 -2
  215. package/_modules/components/Shared/Personalization/index.js +1 -1
  216. package/_modules/components/Shared/RangeCalendar/index.js +2 -2
  217. package/_modules/components/Shared/Schedule/index.js +6 -6
  218. package/_modules/components/Shared/SelectBusinessCategories/index.js +2 -2
  219. package/_modules/components/Shared/SelectBusinessProducts/index.js +7 -7
  220. package/_modules/components/Shared/SelectBusinesses/index.js +3 -3
  221. package/_modules/components/Shared/SelectLoyaltyLevels/index.js +1 -1
  222. package/_modules/components/Shared/SelectSites/index.js +1 -1
  223. package/_modules/components/Shared/SpreadSheetEditor/index.js +21 -21
  224. package/_modules/components/SidebarMenu/index.js +37 -40
  225. package/_modules/components/Stores/AddBusinessForm/index.js +18 -18
  226. package/_modules/components/Stores/BusinessAdd/BusinessDetails/index.js +8 -8
  227. package/_modules/components/Stores/BusinessAdd/DeliveryZone/index.js +11 -11
  228. package/_modules/components/Stores/BusinessAdd/Images/index.js +5 -5
  229. package/_modules/components/Stores/BusinessAdd/OrderTypePriceLevel/index.js +2 -2
  230. package/_modules/components/Stores/BusinessAdd/OtherDetails/index.js +1 -1
  231. package/_modules/components/Stores/BusinessAdd/PaymentMethods/index.js +1 -1
  232. package/_modules/components/Stores/BusinessAdd/ReceiveOrders/index.js +1 -1
  233. package/_modules/components/Stores/BusinessAdd/index.js +9 -9
  234. package/_modules/components/Stores/BusinessAddStore/index.js +2 -2
  235. package/_modules/components/Stores/BusinessBrandBUSIDetail/index.js +3 -3
  236. package/_modules/components/Stores/BusinessBrandGENDetail/index.js +16 -16
  237. package/_modules/components/Stores/BusinessBrandListing/index.js +8 -8
  238. package/_modules/components/Stores/BusinessDeliveryDetails/index.js +3 -3
  239. package/_modules/components/Stores/BusinessDeliveryGroupsDetails/index.js +4 -4
  240. package/_modules/components/Stores/BusinessDeliveryZoneDetails/index.js +1 -1
  241. package/_modules/components/Stores/BusinessDeliveryZoneInformation/index.js +11 -11
  242. package/_modules/components/Stores/BusinessDeliveryZoneList/index.js +3 -3
  243. package/_modules/components/Stores/BusinessDetails/index.js +7 -7
  244. package/_modules/components/Stores/BusinessDeviceDetail/index.js +12 -12
  245. package/_modules/components/Stores/BusinessDeviceListing/index.js +7 -7
  246. package/_modules/components/Stores/BusinessFrontLayout/index.js +2 -2
  247. package/_modules/components/Stores/BusinessGprsPrinters/index.js +1 -1
  248. package/_modules/components/Stores/BusinessImages/index.js +4 -4
  249. package/_modules/components/Stores/BusinessInformation/index.js +35 -35
  250. package/_modules/components/Stores/BusinessLocation/index.js +7 -7
  251. package/_modules/components/Stores/BusinessMenu/index.js +2 -2
  252. package/_modules/components/Stores/BusinessMenuBasicOptions/index.js +13 -13
  253. package/_modules/components/Stores/BusinessMenuCategoryTreeNode/index.js +3 -3
  254. package/_modules/components/Stores/BusinessMenuChannels/index.js +8 -8
  255. package/_modules/components/Stores/BusinessMenuOptions/index.js +1 -1
  256. package/_modules/components/Stores/BusinessOwners/index.js +1 -1
  257. package/_modules/components/Stores/BusinessPaymentMethods/index.js +4 -4
  258. package/_modules/components/Stores/BusinessPickupDetails/index.js +2 -2
  259. package/_modules/components/Stores/BusinessPlace/index.js +1 -1
  260. package/_modules/components/Stores/BusinessPlaceGroup/index.js +3 -3
  261. package/_modules/components/Stores/BusinessPlaceGroupList/index.js +3 -3
  262. package/_modules/components/Stores/BusinessPreorderDetails/index.js +3 -3
  263. package/_modules/components/Stores/BusinessPreview/index.js +19 -19
  264. package/_modules/components/Stores/BusinessProductAddForm/index.js +10 -10
  265. package/_modules/components/Stores/BusinessProductList/index.js +5 -5
  266. package/_modules/components/Stores/BusinessProductsCategories/index.js +4 -4
  267. package/_modules/components/Stores/BusinessProductsCategoyDetails/index.js +3 -3
  268. package/_modules/components/Stores/BusinessProductsCategoyInfo/index.js +22 -22
  269. package/_modules/components/Stores/BusinessProductsListing/index.js +20 -20
  270. package/_modules/components/Stores/BusinessPromotionGeneralForm/index.js +25 -25
  271. package/_modules/components/Stores/BusinessQRCodeOption/index.js +2 -2
  272. package/_modules/components/Stores/BusinessSalesChannel/index.js +1 -1
  273. package/_modules/components/Stores/BusinessSelectHeader/index.js +1 -1
  274. package/_modules/components/Stores/BusinessServiceProfessionals/index.js +3 -3
  275. package/_modules/components/Stores/BusinessSharedMenuProductDetails/index.js +4 -4
  276. package/_modules/components/Stores/BusinessSharedMenuProducts/index.js +1 -1
  277. package/_modules/components/Stores/BusinessSpreadSheet/index.js +1 -1
  278. package/_modules/components/Stores/BusinessSummary/index.js +8 -8
  279. package/_modules/components/Stores/BusinessSupport/index.js +2 -2
  280. package/_modules/components/Stores/BusinessSyncStore/index.js +3 -3
  281. package/_modules/components/Stores/BusinessTypeDetail/index.js +6 -6
  282. package/_modules/components/Stores/BusinessTypes/index.js +2 -2
  283. package/_modules/components/Stores/BusinessVideos/index.js +2 -2
  284. package/_modules/components/Stores/BusinessWalletsList/index.js +2 -2
  285. package/_modules/components/Stores/BusinessWebhooks/index.js +5 -5
  286. package/_modules/components/Stores/BusinessesListing/index.js +1 -1
  287. package/_modules/components/Stores/ImporterForm/index.js +3 -3
  288. package/_modules/components/Stores/ImporterJobForm/index.js +7 -7
  289. package/_modules/components/Stores/PaymentOption/index.js +11 -11
  290. package/_modules/components/Stores/PaymentOptionMethods/index.js +11 -11
  291. package/_modules/components/Stores/PaymentOptionPaypal/index.js +11 -11
  292. package/_modules/components/Stores/PaymentOptionSquare/index.js +13 -13
  293. package/_modules/components/Stores/PaymentOptionStripeDirect/index.js +11 -11
  294. package/_modules/components/Stores/PaymethodOptionPaypalExpress/index.js +7 -7
  295. package/_modules/components/Stores/PaymethodOptionStripeConnect/index.js +11 -11
  296. package/_modules/components/Stores/PaymethodOptionStripeRedirect/index.js +11 -11
  297. package/_modules/components/Stores/ProductDesktopPreview/index.js +8 -8
  298. package/_modules/components/Stores/ProductDetailsAdvanced/index.js +7 -7
  299. package/_modules/components/Stores/ProductDetatilsInformation/index.js +21 -21
  300. package/_modules/components/Stores/ProductExtraOptionDetails/index.js +20 -20
  301. package/_modules/components/Stores/ProductExtraOptionForm/index.js +15 -15
  302. package/_modules/components/Stores/ProductExtraOptions/index.js +2 -2
  303. package/_modules/components/Stores/ProductExtraSuboption/index.js +4 -4
  304. package/_modules/components/Stores/ProductExtras/index.js +1 -1
  305. package/_modules/components/Stores/ProductGallery/index.js +3 -3
  306. package/_modules/components/Stores/ProductIngredientDetails/index.js +2 -2
  307. package/_modules/components/Stores/ProductStep/index.js +2 -2
  308. package/_modules/components/Stores/ProductSummary/index.js +7 -7
  309. package/_modules/components/Stores/ProductTagDetails/index.js +2 -2
  310. package/_modules/components/Stores/ProductTagsList/index.js +1 -1
  311. package/_modules/components/Stores/ProductVideos/index.js +1 -1
  312. package/_modules/components/Stores/RestaurantSelectGuide/index.js +2 -2
  313. package/_modules/components/Stores/SelectPosGuide/index.js +4 -4
  314. package/_modules/components/Stores/SeoOptions/index.js +9 -9
  315. package/_modules/components/Stores/ServiceDetail/index.js +5 -5
  316. package/_modules/components/Stores/SingleBusiness/index.js +14 -14
  317. package/_modules/components/Stores/SingleBusinessCategoryEdit/index.js +2 -2
  318. package/_modules/components/Stores/SingleBusinessProduct/index.js +12 -12
  319. package/_modules/components/Stores/SingleBusinessSubCateogries/index.js +2 -2
  320. package/_modules/components/Stores/UploadMenuGuide/index.js +3 -3
  321. package/_modules/components/Users/CustomerDetails/index.js +2 -2
  322. package/_modules/components/Users/CustomerPointsWallet/index.js +2 -2
  323. package/_modules/components/Users/CustomerWalletEvents/index.js +1 -1
  324. package/_modules/components/Users/ProfessionalAddForm/index.js +11 -11
  325. package/_modules/components/Users/ProfessionalBusinessService/index.js +3 -3
  326. package/_modules/components/Users/ProfessionalCategoryTreeNode/index.js +3 -3
  327. package/_modules/components/Users/ProfessionalDetail/index.js +2 -2
  328. package/_modules/components/Users/ProfessionalListing/index.js +1 -1
  329. package/_modules/components/Users/ProfessionalSchedule/index.js +1 -1
  330. package/_modules/components/Users/ProfessionalServices/index.js +3 -3
  331. package/_modules/components/Users/UserAddForm/index.js +11 -11
  332. package/_modules/components/Users/UserDetails/index.js +4 -4
  333. package/_modules/components/Users/UserFilterGroup/index.js +2 -2
  334. package/_modules/components/Users/UserFormDetails/index.js +12 -12
  335. package/_modules/components/Users/UserProfileForm/index.js +7 -7
  336. package/_modules/styles/Select/index.js +1 -1
  337. package/_modules/themes/origin/src/components/AutoScroll/index.js +2 -2
  338. package/_modules/themes/origin/src/components/DeadlineSettingInterface/index.js +4 -4
  339. package/_modules/themes/origin/src/components/DeadlinesTypeSelector/index.js +6 -6
  340. package/_modules/themes/origin/src/components/DriverMapMarkerAndInfo/index.js +3 -3
  341. package/_modules/themes/origin/src/components/DriverSelector/index.js +2 -2
  342. package/_modules/themes/origin/src/components/DriversLocation/index.js +16 -16
  343. package/_modules/themes/origin/src/components/ForgotPasswordForm/index.js +3 -3
  344. package/_modules/themes/origin/src/components/GroupTypeSelector/index.js +2 -2
  345. package/_modules/themes/origin/src/components/Header/index.js +3 -3
  346. package/_modules/themes/origin/src/components/InterActOrderMarker/index.js +3 -3
  347. package/_modules/themes/origin/src/components/LoginForm/index.js +5 -5
  348. package/_modules/themes/origin/src/components/LogisticInformation/index.js +1 -1
  349. package/_modules/themes/origin/src/components/Logistics/index.js +6 -6
  350. package/_modules/themes/origin/src/components/MainOrdersManager/index.js +2 -2
  351. package/_modules/themes/origin/src/components/Messages/index.js +13 -13
  352. package/_modules/themes/origin/src/components/Messages/styles.js +2 -2
  353. package/_modules/themes/origin/src/components/MobileSidebarMenu/index.js +5 -5
  354. package/_modules/themes/origin/src/components/NotFoundSource/index.js +2 -2
  355. package/_modules/themes/origin/src/components/NotNetworkConnectivity/index.js +2 -2
  356. package/_modules/themes/origin/src/components/OrderDetails/index.js +34 -34
  357. package/_modules/themes/origin/src/components/OrderItemAccordion/index.js +9 -9
  358. package/_modules/themes/origin/src/components/OrderListing/index.js +2 -2
  359. package/_modules/themes/origin/src/components/OrderListing/styles.js +1 -1
  360. package/_modules/themes/origin/src/components/OrderProductQuickDetail/index.js +7 -7
  361. package/_modules/themes/origin/src/components/OrderStatusFilterBar/index.js +5 -5
  362. package/_modules/themes/origin/src/components/OrderStatusTypeSelector/index.js +5 -5
  363. package/_modules/themes/origin/src/components/OverView/index.js +1 -1
  364. package/_modules/themes/origin/src/components/OverView/styles.js +3 -3
  365. package/_modules/themes/origin/src/components/PageNotFound/index.js +3 -3
  366. package/_modules/themes/origin/src/components/SearchBar/index.js +2 -2
  367. package/_modules/themes/origin/src/components/SideMenu/index.js +5 -5
  368. package/_modules/themes/origin/src/components/SmallOrderItemAccordion/index.js +8 -8
  369. package/_modules/themes/origin/src/components/UserPopover/index.js +2 -2
  370. package/_modules/utils/index.js +1 -1
  371. package/package.json +1 -1
  372. package/src/components/SidebarMenu/index.js +6 -6
  373. package/template/config.json +1 -1
@@ -188,8 +188,8 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
188
188
  src: (_siteState$site2 = siteState.site) === null || _siteState$site2 === void 0 ? void 0 : _siteState$site2.header,
189
189
  alt: "header image",
190
190
  loading: "lazy"
191
- }) : (formState === null || formState === void 0 ? void 0 : (_formState$changes2 = formState.changes) === null || _formState$changes2 === void 0 ? void 0 : _formState$changes2.header) && /*#__PURE__*/_react.default.createElement("img", {
192
- src: formState === null || formState === void 0 ? void 0 : (_formState$changes3 = formState.changes) === null || _formState$changes3 === void 0 ? void 0 : _formState$changes3.header,
191
+ }) : (formState === null || formState === void 0 || (_formState$changes2 = formState.changes) === null || _formState$changes2 === void 0 ? void 0 : _formState$changes2.header) && /*#__PURE__*/_react.default.createElement("img", {
192
+ src: formState === null || formState === void 0 || (_formState$changes3 = formState.changes) === null || _formState$changes3 === void 0 ? void 0 : _formState$changes3.header,
193
193
  alt: "header image",
194
194
  loading: "lazy"
195
195
  }), /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIconContainer, null, /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_BsCardImage.default, null), /*#__PURE__*/_react.default.createElement("span", null, t('DRAG_AND_DROP', 'Drag and drop'))))))), /*#__PURE__*/_react.default.createElement(_styles2.LogoImage, {
@@ -215,8 +215,8 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
215
215
  src: (_siteState$site4 = siteState.site) === null || _siteState$site4 === void 0 ? void 0 : _siteState$site4.logo,
216
216
  alt: "logo image",
217
217
  loading: "lazy"
218
- }) : (formState === null || formState === void 0 ? void 0 : (_formState$changes5 = formState.changes) === null || _formState$changes5 === void 0 ? void 0 : _formState$changes5.logo) && /*#__PURE__*/_react.default.createElement("img", {
219
- src: formState === null || formState === void 0 ? void 0 : (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.logo,
218
+ }) : (formState === null || formState === void 0 || (_formState$changes5 = formState.changes) === null || _formState$changes5 === void 0 ? void 0 : _formState$changes5.logo) && /*#__PURE__*/_react.default.createElement("img", {
219
+ src: formState === null || formState === void 0 || (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.logo,
220
220
  alt: "logo image",
221
221
  loading: "lazy"
222
222
  }), /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIconContainer, {
@@ -231,7 +231,7 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
231
231
  type: "text",
232
232
  name: "name",
233
233
  placeholder: t('NAME', 'Name'),
234
- value: (_ref = (_formState$changes$na = formState === null || formState === void 0 ? void 0 : (_formState$changes7 = formState.changes) === null || _formState$changes7 === void 0 ? void 0 : _formState$changes7.name) !== null && _formState$changes$na !== void 0 ? _formState$changes$na : (_siteState$site5 = siteState.site) === null || _siteState$site5 === void 0 ? void 0 : _siteState$site5.name) !== null && _ref !== void 0 ? _ref : '',
234
+ value: (_ref = (_formState$changes$na = formState === null || formState === void 0 || (_formState$changes7 = formState.changes) === null || _formState$changes7 === void 0 ? void 0 : _formState$changes7.name) !== null && _formState$changes$na !== void 0 ? _formState$changes$na : (_siteState$site5 = siteState.site) === null || _siteState$site5 === void 0 ? void 0 : _siteState$site5.name) !== null && _ref !== void 0 ? _ref : '',
235
235
  onChange: function onChange(e) {
236
236
  return handleChangeInput(e);
237
237
  },
@@ -244,7 +244,7 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
244
244
  type: "text",
245
245
  name: "code",
246
246
  placeholder: t('CODE', 'Code'),
247
- value: (_ref2 = (_formState$changes$co = formState === null || formState === void 0 ? void 0 : (_formState$changes8 = formState.changes) === null || _formState$changes8 === void 0 ? void 0 : _formState$changes8.code) !== null && _formState$changes$co !== void 0 ? _formState$changes$co : (_siteState$site6 = siteState.site) === null || _siteState$site6 === void 0 ? void 0 : _siteState$site6.code) !== null && _ref2 !== void 0 ? _ref2 : '',
247
+ value: (_ref2 = (_formState$changes$co = formState === null || formState === void 0 || (_formState$changes8 = formState.changes) === null || _formState$changes8 === void 0 ? void 0 : _formState$changes8.code) !== null && _formState$changes$co !== void 0 ? _formState$changes$co : (_siteState$site6 = siteState.site) === null || _siteState$site6 === void 0 ? void 0 : _siteState$site6.code) !== null && _ref2 !== void 0 ? _ref2 : '',
248
248
  onChange: function onChange(e) {
249
249
  return handleChangeInput(e);
250
250
  },
@@ -257,7 +257,7 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
257
257
  type: "text",
258
258
  name: "url",
259
259
  placeholder: t('URL', 'Url'),
260
- value: (_ref3 = (_formState$changes$ur = formState === null || formState === void 0 ? void 0 : (_formState$changes9 = formState.changes) === null || _formState$changes9 === void 0 ? void 0 : _formState$changes9.url) !== null && _formState$changes$ur !== void 0 ? _formState$changes$ur : (_siteState$site7 = siteState.site) === null || _siteState$site7 === void 0 ? void 0 : _siteState$site7.url) !== null && _ref3 !== void 0 ? _ref3 : '',
260
+ value: (_ref3 = (_formState$changes$ur = formState === null || formState === void 0 || (_formState$changes9 = formState.changes) === null || _formState$changes9 === void 0 ? void 0 : _formState$changes9.url) !== null && _formState$changes$ur !== void 0 ? _formState$changes$ur : (_siteState$site7 = siteState.site) === null || _siteState$site7 === void 0 ? void 0 : _siteState$site7.url) !== null && _ref3 !== void 0 ? _ref3 : '',
261
261
  onChange: function onChange(e) {
262
262
  return handleChangeInput(e);
263
263
  },
@@ -292,8 +292,8 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
292
292
  src: (_siteState$site9 = siteState.site) === null || _siteState$site9 === void 0 ? void 0 : _siteState$site9.social_share,
293
293
  alt: "social share image",
294
294
  loading: "lazy"
295
- }) : (formState === null || formState === void 0 ? void 0 : (_formState$changes11 = formState.changes) === null || _formState$changes11 === void 0 ? void 0 : _formState$changes11.social_share) && /*#__PURE__*/_react.default.createElement("img", {
296
- src: formState === null || formState === void 0 ? void 0 : (_formState$changes12 = formState.changes) === null || _formState$changes12 === void 0 ? void 0 : _formState$changes12.social_share,
295
+ }) : (formState === null || formState === void 0 || (_formState$changes11 = formState.changes) === null || _formState$changes11 === void 0 ? void 0 : _formState$changes11.social_share) && /*#__PURE__*/_react.default.createElement("img", {
296
+ src: formState === null || formState === void 0 || (_formState$changes12 = formState.changes) === null || _formState$changes12 === void 0 ? void 0 : _formState$changes12.social_share,
297
297
  alt: "social share image",
298
298
  loading: "lazy"
299
299
  }), /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIconContainer, {
@@ -306,7 +306,7 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
306
306
  type: "text",
307
307
  name: "reset_password_url_template",
308
308
  placeholder: t('URL', 'Url'),
309
- defaultValue: (_ref4 = (_formState$changes$re = formState === null || formState === void 0 ? void 0 : (_formState$changes13 = formState.changes) === null || _formState$changes13 === void 0 ? void 0 : _formState$changes13.reset_password_url_template) !== null && _formState$changes$re !== void 0 ? _formState$changes$re : (_siteState$site10 = siteState.site) === null || _siteState$site10 === void 0 ? void 0 : _siteState$site10.reset_password_url_template) !== null && _ref4 !== void 0 ? _ref4 : '',
309
+ defaultValue: (_ref4 = (_formState$changes$re = formState === null || formState === void 0 || (_formState$changes13 = formState.changes) === null || _formState$changes13 === void 0 ? void 0 : _formState$changes13.reset_password_url_template) !== null && _formState$changes$re !== void 0 ? _formState$changes$re : (_siteState$site10 = siteState.site) === null || _siteState$site10 === void 0 ? void 0 : _siteState$site10.reset_password_url_template) !== null && _ref4 !== void 0 ? _ref4 : '',
310
310
  onChange: function onChange(e) {
311
311
  return handleChangeInput(e);
312
312
  }
@@ -316,7 +316,7 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
316
316
  type: "text",
317
317
  placeholder: t('URL', 'Url'),
318
318
  name: "track_order_url_template",
319
- defaultValue: (_ref5 = (_formState$changes$tr = formState === null || formState === void 0 ? void 0 : (_formState$changes14 = formState.changes) === null || _formState$changes14 === void 0 ? void 0 : _formState$changes14.track_order_url_template) !== null && _formState$changes$tr !== void 0 ? _formState$changes$tr : (_siteState$site11 = siteState.site) === null || _siteState$site11 === void 0 ? void 0 : _siteState$site11.track_order_url_template) !== null && _ref5 !== void 0 ? _ref5 : '',
319
+ defaultValue: (_ref5 = (_formState$changes$tr = formState === null || formState === void 0 || (_formState$changes14 = formState.changes) === null || _formState$changes14 === void 0 ? void 0 : _formState$changes14.track_order_url_template) !== null && _formState$changes$tr !== void 0 ? _formState$changes$tr : (_siteState$site11 = siteState.site) === null || _siteState$site11 === void 0 ? void 0 : _siteState$site11.track_order_url_template) !== null && _ref5 !== void 0 ? _ref5 : '',
320
320
  onChange: function onChange(e) {
321
321
  return handleChangeInput(e);
322
322
  }
@@ -326,7 +326,7 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
326
326
  name: "description",
327
327
  rows: 5,
328
328
  placeholder: t('SHORT_PROMOTION_ABOUT', 'Write a little description'),
329
- defaultValue: (_ref6 = (_formState$changes$de = formState === null || formState === void 0 ? void 0 : (_formState$changes15 = formState.changes) === null || _formState$changes15 === void 0 ? void 0 : _formState$changes15.description) !== null && _formState$changes$de !== void 0 ? _formState$changes$de : (_siteState$site12 = siteState.site) === null || _siteState$site12 === void 0 ? void 0 : _siteState$site12.description) !== null && _ref6 !== void 0 ? _ref6 : '',
329
+ defaultValue: (_ref6 = (_formState$changes$de = formState === null || formState === void 0 || (_formState$changes15 = formState.changes) === null || _formState$changes15 === void 0 ? void 0 : _formState$changes15.description) !== null && _formState$changes$de !== void 0 ? _formState$changes$de : (_siteState$site12 = siteState.site) === null || _siteState$site12 === void 0 ? void 0 : _siteState$site12.description) !== null && _ref6 !== void 0 ? _ref6 : '',
330
330
  onChange: function onChange(e) {
331
331
  return handleChangeInput(e);
332
332
  }
@@ -336,7 +336,7 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
336
336
  type: "text",
337
337
  placeholder: t('URL', 'Url'),
338
338
  name: "checkout_url_template",
339
- defaultValue: (_ref7 = (_formState$changes$ch = formState === null || formState === void 0 ? void 0 : (_formState$changes16 = formState.changes) === null || _formState$changes16 === void 0 ? void 0 : _formState$changes16.checkout_url_template) !== null && _formState$changes$ch !== void 0 ? _formState$changes$ch : (_siteState$site13 = siteState.site) === null || _siteState$site13 === void 0 ? void 0 : _siteState$site13.checkout_url_template) !== null && _ref7 !== void 0 ? _ref7 : '',
339
+ defaultValue: (_ref7 = (_formState$changes$ch = formState === null || formState === void 0 || (_formState$changes16 = formState.changes) === null || _formState$changes16 === void 0 ? void 0 : _formState$changes16.checkout_url_template) !== null && _formState$changes$ch !== void 0 ? _formState$changes$ch : (_siteState$site13 = siteState.site) === null || _siteState$site13 === void 0 ? void 0 : _siteState$site13.checkout_url_template) !== null && _ref7 !== void 0 ? _ref7 : '',
340
340
  onChange: function onChange(e) {
341
341
  return handleChangeInput(e);
342
342
  }
@@ -346,7 +346,7 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
346
346
  type: "text",
347
347
  placeholder: t('URL', 'Url'),
348
348
  name: "cart_url_template",
349
- defaultValue: (_ref8 = (_formState$changes$ca = formState === null || formState === void 0 ? void 0 : (_formState$changes17 = formState.changes) === null || _formState$changes17 === void 0 ? void 0 : _formState$changes17.cart_url_template) !== null && _formState$changes$ca !== void 0 ? _formState$changes$ca : (_siteState$site14 = siteState.site) === null || _siteState$site14 === void 0 ? void 0 : _siteState$site14.cart_url_template) !== null && _ref8 !== void 0 ? _ref8 : '',
349
+ defaultValue: (_ref8 = (_formState$changes$ca = formState === null || formState === void 0 || (_formState$changes17 = formState.changes) === null || _formState$changes17 === void 0 ? void 0 : _formState$changes17.cart_url_template) !== null && _formState$changes$ca !== void 0 ? _formState$changes$ca : (_siteState$site14 = siteState.site) === null || _siteState$site14 === void 0 ? void 0 : _siteState$site14.cart_url_template) !== null && _ref8 !== void 0 ? _ref8 : '',
350
350
  onChange: function onChange(e) {
351
351
  return handleChangeInput(e);
352
352
  }
@@ -360,7 +360,7 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
360
360
  type: "text",
361
361
  placeholder: t('URL', 'Url'),
362
362
  name: "business_url_template",
363
- defaultValue: (_ref9 = (_formState$changes$bu = formState === null || formState === void 0 ? void 0 : (_formState$changes18 = formState.changes) === null || _formState$changes18 === void 0 ? void 0 : _formState$changes18.business_url_template) !== null && _formState$changes$bu !== void 0 ? _formState$changes$bu : (_siteState$site15 = siteState.site) === null || _siteState$site15 === void 0 ? void 0 : _siteState$site15.business_url_template) !== null && _ref9 !== void 0 ? _ref9 : '',
363
+ defaultValue: (_ref9 = (_formState$changes$bu = formState === null || formState === void 0 || (_formState$changes18 = formState.changes) === null || _formState$changes18 === void 0 ? void 0 : _formState$changes18.business_url_template) !== null && _formState$changes$bu !== void 0 ? _formState$changes$bu : (_siteState$site15 = siteState.site) === null || _siteState$site15 === void 0 ? void 0 : _siteState$site15.business_url_template) !== null && _ref9 !== void 0 ? _ref9 : '',
364
364
  onChange: function onChange(e) {
365
365
  return handleChangeInput(e);
366
366
  },
@@ -376,7 +376,7 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
376
376
  type: "text",
377
377
  placeholder: t('URL', 'Url'),
378
378
  name: "category_url_template",
379
- defaultValue: (_ref10 = (_formState$changes$ca2 = formState === null || formState === void 0 ? void 0 : (_formState$changes19 = formState.changes) === null || _formState$changes19 === void 0 ? void 0 : _formState$changes19.category_url_template) !== null && _formState$changes$ca2 !== void 0 ? _formState$changes$ca2 : (_siteState$site16 = siteState.site) === null || _siteState$site16 === void 0 ? void 0 : _siteState$site16.category_url_template) !== null && _ref10 !== void 0 ? _ref10 : '',
379
+ defaultValue: (_ref10 = (_formState$changes$ca2 = formState === null || formState === void 0 || (_formState$changes19 = formState.changes) === null || _formState$changes19 === void 0 ? void 0 : _formState$changes19.category_url_template) !== null && _formState$changes$ca2 !== void 0 ? _formState$changes$ca2 : (_siteState$site16 = siteState.site) === null || _siteState$site16 === void 0 ? void 0 : _siteState$site16.category_url_template) !== null && _ref10 !== void 0 ? _ref10 : '',
380
380
  onChange: function onChange(e) {
381
381
  return handleChangeInput(e);
382
382
  },
@@ -396,7 +396,7 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
396
396
  type: "text",
397
397
  placeholder: t('URL', 'Url'),
398
398
  name: "product_url_template",
399
- defaultValue: (_ref11 = (_formState$changes$pr = formState === null || formState === void 0 ? void 0 : (_formState$changes20 = formState.changes) === null || _formState$changes20 === void 0 ? void 0 : _formState$changes20.product_url_template) !== null && _formState$changes$pr !== void 0 ? _formState$changes$pr : (_siteState$site17 = siteState.site) === null || _siteState$site17 === void 0 ? void 0 : _siteState$site17.product_url_template) !== null && _ref11 !== void 0 ? _ref11 : '',
399
+ defaultValue: (_ref11 = (_formState$changes$pr = formState === null || formState === void 0 || (_formState$changes20 = formState.changes) === null || _formState$changes20 === void 0 ? void 0 : _formState$changes20.product_url_template) !== null && _formState$changes$pr !== void 0 ? _formState$changes$pr : (_siteState$site17 = siteState.site) === null || _siteState$site17 === void 0 ? void 0 : _siteState$site17.product_url_template) !== null && _ref11 !== void 0 ? _ref11 : '',
400
400
  onChange: function onChange(e) {
401
401
  return handleChangeInput(e);
402
402
  },
@@ -413,7 +413,7 @@ var OrderingProductGeneralDetails = function OrderingProductGeneralDetails(props
413
413
  type: "text",
414
414
  placeholder: t('URL', 'Url'),
415
415
  name: "profile_url_template",
416
- value: (_ref12 = (_formState$changes$pr2 = formState === null || formState === void 0 ? void 0 : (_formState$changes21 = formState.changes) === null || _formState$changes21 === void 0 ? void 0 : _formState$changes21.profile_url_template) !== null && _formState$changes$pr2 !== void 0 ? _formState$changes$pr2 : (_siteState$site18 = siteState.site) === null || _siteState$site18 === void 0 ? void 0 : _siteState$site18.profile_url_template) !== null && _ref12 !== void 0 ? _ref12 : '',
416
+ value: (_ref12 = (_formState$changes$pr2 = formState === null || formState === void 0 || (_formState$changes21 = formState.changes) === null || _formState$changes21 === void 0 ? void 0 : _formState$changes21.profile_url_template) !== null && _formState$changes$pr2 !== void 0 ? _formState$changes$pr2 : (_siteState$site18 = siteState.site) === null || _siteState$site18 === void 0 ? void 0 : _siteState$site18.profile_url_template) !== null && _ref12 !== void 0 ? _ref12 : '',
417
417
  onChange: function onChange(e) {
418
418
  return handleChangeInput(e);
419
419
  }
@@ -158,7 +158,7 @@ var OrderingProductsUI = function OrderingProductsUI(props) {
158
158
  onClick: function onClick() {
159
159
  return onClickProduct(null);
160
160
  }
161
- }, t('ADD_PRODUCT', 'Add product')), (sitesListState === null || sitesListState === void 0 ? void 0 : (_sitesListState$sites = sitesListState.sites) === null || _sitesListState$sites === void 0 ? void 0 : _sitesListState$sites.length) > 0 && /*#__PURE__*/_react.default.createElement(_Shared.Pagination, {
161
+ }, t('ADD_PRODUCT', 'Add product')), (sitesListState === null || sitesListState === void 0 || (_sitesListState$sites = sitesListState.sites) === null || _sitesListState$sites === void 0 ? void 0 : _sitesListState$sites.length) > 0 && /*#__PURE__*/_react.default.createElement(_Shared.Pagination, {
162
162
  currentPage: paginationProps === null || paginationProps === void 0 ? void 0 : paginationProps.currentPage,
163
163
  totalPages: paginationProps === null || paginationProps === void 0 ? void 0 : paginationProps.totalPages,
164
164
  handleChangePage: handleChangePage,
@@ -81,7 +81,7 @@ var ThemeComponent = function ThemeComponent(props) {
81
81
  var subComponentObject = componentObject === null || componentObject === void 0 ? void 0 : componentObject.components[subComponent];
82
82
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
83
83
  key: subComponent
84
- }, typeof (valueObject === null || valueObject === void 0 ? void 0 : (_valueObject$componen = valueObject.components) === null || _valueObject$componen === void 0 ? void 0 : _valueObject$componen[subComponent]) !== 'undefined' && /*#__PURE__*/_react.default.createElement(ThemeComponent, {
84
+ }, typeof (valueObject === null || valueObject === void 0 || (_valueObject$componen = valueObject.components) === null || _valueObject$componen === void 0 ? void 0 : _valueObject$componen[subComponent]) !== 'undefined' && /*#__PURE__*/_react.default.createElement(ThemeComponent, {
85
85
  name: subComponent,
86
86
  componentObject: subComponentObject,
87
87
  valueObject: valueObject === null || valueObject === void 0 ? void 0 : valueObject.components[subComponent],
@@ -28,7 +28,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
28
28
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
29
29
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
30
30
  var SiteThemeUI = function SiteThemeUI(props) {
31
- var _themeStructure$selec, _themeStructure$selec2, _themeStructure$selec3, _themeValues$selected, _themeStructure$selec4, _Object$keys, _themeStructure$selec5;
31
+ var _themeStructure$selec, _themeStructure$selec2, _themeValues$selected, _themeStructure$selec3, _Object$keys, _themeStructure$selec4;
32
32
  var siteThemesState = props.siteThemesState,
33
33
  themesList = props.themesList,
34
34
  actionState = props.actionState,
@@ -112,11 +112,11 @@ var SiteThemeUI = function SiteThemeUI(props) {
112
112
  }
113
113
  };
114
114
  (0, _react.useEffect)(function () {
115
- var _siteThemesState$resu, _siteThemesState$resu2, _siteThemesState$resu3, _siteThemesState$resu4, _siteThemesState$resu5;
115
+ var _siteThemesState$resu, _siteThemesState$resu2, _siteThemesState$resu3;
116
116
  if (siteThemesState.loading || siteThemesState.result.length === 0) return;
117
- var _themeValues = recursiveAssign((_siteThemesState$resu = siteThemesState.result[0]) === null || _siteThemesState$resu === void 0 ? void 0 : (_siteThemesState$resu2 = _siteThemesState$resu.theme) === null || _siteThemesState$resu2 === void 0 ? void 0 : _siteThemesState$resu2.values_default, (_siteThemesState$resu3 = siteThemesState.result[0]) === null || _siteThemesState$resu3 === void 0 ? void 0 : _siteThemesState$resu3.values);
117
+ var _themeValues = recursiveAssign((_siteThemesState$resu = siteThemesState.result[0]) === null || _siteThemesState$resu === void 0 || (_siteThemesState$resu = _siteThemesState$resu.theme) === null || _siteThemesState$resu === void 0 ? void 0 : _siteThemesState$resu.values_default, (_siteThemesState$resu2 = siteThemesState.result[0]) === null || _siteThemesState$resu2 === void 0 ? void 0 : _siteThemesState$resu2.values);
118
118
  setThemeValues(_themeValues);
119
- var structure = ((_siteThemesState$resu4 = siteThemesState.result[0]) === null || _siteThemesState$resu4 === void 0 ? void 0 : (_siteThemesState$resu5 = _siteThemesState$resu4.theme) === null || _siteThemesState$resu5 === void 0 ? void 0 : _siteThemesState$resu5.structure) || {};
119
+ var structure = ((_siteThemesState$resu3 = siteThemesState.result[0]) === null || _siteThemesState$resu3 === void 0 || (_siteThemesState$resu3 = _siteThemesState$resu3.theme) === null || _siteThemesState$resu3 === void 0 ? void 0 : _siteThemesState$resu3.structure) || {};
120
120
  setThemeStructure(structure);
121
121
  var _pageOptions = getOptions(Object.keys(structure));
122
122
  setPageOptions(_pageOptions);
@@ -152,12 +152,12 @@ var SiteThemeUI = function SiteThemeUI(props) {
152
152
  onChange: function onChange(key) {
153
153
  return setSelectedPage(key);
154
154
  }
155
- })), selectedPage && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, ((_themeStructure$selec = themeStructure[selectedPage]) === null || _themeStructure$selec === void 0 ? void 0 : _themeStructure$selec.hidden) && ((_themeStructure$selec2 = themeStructure[selectedPage]) === null || _themeStructure$selec2 === void 0 ? void 0 : (_themeStructure$selec3 = _themeStructure$selec2.hidden) === null || _themeStructure$selec3 === void 0 ? void 0 : _themeStructure$selec3.value_type) === 'boolean' && /*#__PURE__*/_react.default.createElement(_styles2.PageHiddenCheckWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.Checkbox, {
155
+ })), selectedPage && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, ((_themeStructure$selec = themeStructure[selectedPage]) === null || _themeStructure$selec === void 0 ? void 0 : _themeStructure$selec.hidden) && ((_themeStructure$selec2 = themeStructure[selectedPage]) === null || _themeStructure$selec2 === void 0 || (_themeStructure$selec2 = _themeStructure$selec2.hidden) === null || _themeStructure$selec2 === void 0 ? void 0 : _themeStructure$selec2.value_type) === 'boolean' && /*#__PURE__*/_react.default.createElement(_styles2.PageHiddenCheckWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.Checkbox, {
156
156
  defaultChecked: (_themeValues$selected = themeValues[selectedPage]) === null || _themeValues$selected === void 0 ? void 0 : _themeValues$selected.hidden,
157
157
  onChange: function onChange(e) {
158
158
  return handleHidePage(e.target.checked);
159
159
  }
160
- }), /*#__PURE__*/_react.default.createElement("h4", null, t('HIDDEN', 'Hidden'))), /*#__PURE__*/_react.default.createElement(_styles2.PageBlockTitle, null, t('PAGE_BLOCKS', 'Page blocks')), !!((_themeStructure$selec4 = themeStructure[selectedPage]) !== null && _themeStructure$selec4 !== void 0 && _themeStructure$selec4.components) && ((_Object$keys = Object.keys((_themeStructure$selec5 = themeStructure[selectedPage]) === null || _themeStructure$selec5 === void 0 ? void 0 : _themeStructure$selec5.components)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.map(function (block) {
160
+ }), /*#__PURE__*/_react.default.createElement("h4", null, t('HIDDEN', 'Hidden'))), /*#__PURE__*/_react.default.createElement(_styles2.PageBlockTitle, null, t('PAGE_BLOCKS', 'Page blocks')), !!((_themeStructure$selec3 = themeStructure[selectedPage]) !== null && _themeStructure$selec3 !== void 0 && _themeStructure$selec3.components) && ((_Object$keys = Object.keys((_themeStructure$selec4 = themeStructure[selectedPage]) === null || _themeStructure$selec4 === void 0 ? void 0 : _themeStructure$selec4.components)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.map(function (block) {
161
161
  var _components$block, _components$block2, _components$block3, _components$block4, _components$block5;
162
162
  var components = themeStructure[selectedPage].components;
163
163
  return block !== 'birthday' && /*#__PURE__*/_react.default.createElement(_styles2.BlockContainer, {
@@ -180,11 +180,11 @@ var SiteThemeUI = function SiteThemeUI(props) {
180
180
  }), Object.keys(components[block]).filter(function (option) {
181
181
  return option !== 'components' && option !== 'value_type';
182
182
  }).map(function (option) {
183
- var _themeValues$selected2, _themeValues$selected3, _themeValues$selected4;
183
+ var _themeValues$selected2;
184
184
  var optionObject = components[block][option];
185
185
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
186
186
  key: option
187
- }, typeof ((_themeValues$selected2 = themeValues[selectedPage]) === null || _themeValues$selected2 === void 0 ? void 0 : (_themeValues$selected3 = _themeValues$selected2.components) === null || _themeValues$selected3 === void 0 ? void 0 : (_themeValues$selected4 = _themeValues$selected3[block]) === null || _themeValues$selected4 === void 0 ? void 0 : _themeValues$selected4[option]) !== 'undefined' && /*#__PURE__*/_react.default.createElement(_ThemeOption.ThemeOption, {
187
+ }, typeof ((_themeValues$selected2 = themeValues[selectedPage]) === null || _themeValues$selected2 === void 0 || (_themeValues$selected2 = _themeValues$selected2.components) === null || _themeValues$selected2 === void 0 || (_themeValues$selected2 = _themeValues$selected2[block]) === null || _themeValues$selected2 === void 0 ? void 0 : _themeValues$selected2[option]) !== 'undefined' && /*#__PURE__*/_react.default.createElement(_ThemeOption.ThemeOption, {
188
188
  name: option,
189
189
  optionObject: optionObject,
190
190
  valueObject: themeValues[selectedPage].components[block][option],
@@ -194,13 +194,13 @@ var SiteThemeUI = function SiteThemeUI(props) {
194
194
  handleAddThemeGallery: handleAddThemeGallery
195
195
  }));
196
196
  }), ((_components$block4 = components[block]) === null || _components$block4 === void 0 ? void 0 : _components$block4.components) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, Object.keys((_components$block5 = components[block]) === null || _components$block5 === void 0 ? void 0 : _components$block5.components).map(function (component) {
197
- var _components$block6, _themeValues$selected5;
197
+ var _components$block6, _themeValues$selected3;
198
198
  var componentObject = (_components$block6 = components[block]) === null || _components$block6 === void 0 ? void 0 : _components$block6.components[component];
199
199
  return /*#__PURE__*/_react.default.createElement(_ThemeComponent.ThemeComponent, {
200
200
  key: component,
201
201
  name: component,
202
202
  componentObject: componentObject,
203
- valueObject: (_themeValues$selected5 = themeValues[selectedPage].components[block]) === null || _themeValues$selected5 === void 0 ? void 0 : _themeValues$selected5.components[component],
203
+ valueObject: (_themeValues$selected3 = themeValues[selectedPage].components[block]) === null || _themeValues$selected3 === void 0 ? void 0 : _themeValues$selected3.components[component],
204
204
  themeValues: themeValues,
205
205
  setThemeValues: setThemeValues,
206
206
  path: [selectedPage, 'components', block, 'components', component].join('.'),
@@ -27,7 +27,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
27
27
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
28
28
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
29
29
  var DriversManagerUI = function DriversManagerUI(props) {
30
- var _configState$configs, _configState$configs$;
30
+ var _configState$configs;
31
31
  var driversIsOnline = props.driversIsOnline,
32
32
  driversList = props.driversList,
33
33
  handleChangeDriverIsOnline = props.handleChangeDriverIsOnline,
@@ -39,7 +39,7 @@ var DriversManagerUI = function DriversManagerUI(props) {
39
39
  var _useConfig = (0, _orderingComponentsAdminExternal.useConfig)(),
40
40
  _useConfig2 = _slicedToArray(_useConfig, 1),
41
41
  configState = _useConfig2[0];
42
- var googleMapsApiKey = configState === null || configState === void 0 ? void 0 : (_configState$configs = configState.configs) === null || _configState$configs === void 0 ? void 0 : (_configState$configs$ = _configState$configs.google_maps_api_key) === null || _configState$configs$ === void 0 ? void 0 : _configState$configs$.value;
42
+ var googleMapsApiKey = configState === null || configState === void 0 || (_configState$configs = configState.configs) === null || _configState$configs === void 0 || (_configState$configs = _configState$configs.google_maps_api_key) === null || _configState$configs === void 0 ? void 0 : _configState$configs.value;
43
43
  var numberOfonlineDrivers = onlineDrivers.length;
44
44
  var numberOfofflineDrivers = offlineDrivers.length;
45
45
  var numberOfbusyDrivers = driversIsOnline ? onlineDrivers.filter(function (ele) {
@@ -29,17 +29,17 @@ var EventComponent = function EventComponent(props) {
29
29
  var getTime = function getTime(time) {
30
30
  var _configs$format_time;
31
31
  return parseDate(time, {
32
- outputFormat: (configs === null || configs === void 0 ? void 0 : (_configs$format_time = configs.format_time) === null || _configs$format_time === void 0 ? void 0 : _configs$format_time.value) === '12' ? 'hh:mm a' : 'HH:mm'
32
+ outputFormat: (configs === null || configs === void 0 || (_configs$format_time = configs.format_time) === null || _configs$format_time === void 0 ? void 0 : _configs$format_time.value) === '12' ? 'hh:mm a' : 'HH:mm'
33
33
  });
34
34
  };
35
35
  return /*#__PURE__*/_react.default.createElement(_styles.EventContainer, null, /*#__PURE__*/_react.default.createElement(_styles.EventProfessionalPhoto, null, event !== null && event !== void 0 && (_event$professional = event.professional) !== null && _event$professional !== void 0 && _event$professional.photo ? /*#__PURE__*/_react.default.createElement("img", {
36
- src: optimizeImage(event === null || event === void 0 ? void 0 : (_event$professional2 = event.professional) === null || _event$professional2 === void 0 ? void 0 : _event$professional2.photo, 'h_40,c_limit'),
36
+ src: optimizeImage(event === null || event === void 0 || (_event$professional2 = event.professional) === null || _event$professional2 === void 0 ? void 0 : _event$professional2.photo, 'h_40,c_limit'),
37
37
  alt: ""
38
38
  }) : /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.PersonFill, null)), /*#__PURE__*/_react.default.createElement("div", {
39
39
  className: "info"
40
40
  }, /*#__PURE__*/_react.default.createElement("p", {
41
41
  className: "name"
42
- }, event === null || event === void 0 ? void 0 : (_event$professional3 = event.professional) === null || _event$professional3 === void 0 ? void 0 : _event$professional3.name, " ", event === null || event === void 0 ? void 0 : (_event$professional4 = event.professional) === null || _event$professional4 === void 0 ? void 0 : _event$professional4.lastname), /*#__PURE__*/_react.default.createElement("p", {
42
+ }, event === null || event === void 0 || (_event$professional3 = event.professional) === null || _event$professional3 === void 0 ? void 0 : _event$professional3.name, " ", event === null || event === void 0 || (_event$professional4 = event.professional) === null || _event$professional4 === void 0 ? void 0 : _event$professional4.lastname), /*#__PURE__*/_react.default.createElement("p", {
43
43
  className: "date"
44
44
  }, getTime(event.start), " - ", getTime(event.end))));
45
45
  };
@@ -65,7 +65,7 @@ var AppointmentsUI = function AppointmentsUI(props) {
65
65
  _useState6 = _slicedToArray(_useState5, 2),
66
66
  selectedAppointment = _useState6[0],
67
67
  setSelectedAppointment = _useState6[1];
68
- var isEnabledAppointmentsFeature = configs === null || configs === void 0 ? void 0 : (_configs$appointments = configs.appointments) === null || _configs$appointments === void 0 ? void 0 : _configs$appointments.value;
68
+ var isEnabledAppointmentsFeature = configs === null || configs === void 0 || (_configs$appointments = configs.appointments) === null || _configs$appointments === void 0 ? void 0 : _configs$appointments.value;
69
69
  var changeBusinessState = function changeBusinessState(business) {
70
70
  setShowSelectHeader(false);
71
71
  setSelectedBusiness(business);
@@ -94,7 +94,7 @@ var AppointmentsUI = function AppointmentsUI(props) {
94
94
  }, t('CALENDAR', 'Calendar')))))), isEnabledAppointmentsFeature ? /*#__PURE__*/_react.default.createElement(_styles3.CalendarWrapper, null, /*#__PURE__*/_react.default.createElement(_reactBigCalendar.Calendar, {
95
95
  localizer: localizer,
96
96
  formats: {
97
- timeGutterFormat: (configs === null || configs === void 0 ? void 0 : (_configs$format_time = configs.format_time) === null || _configs$format_time === void 0 ? void 0 : _configs$format_time.value) === '24' ? 'HH:mm' : 'HH:mm A'
97
+ timeGutterFormat: (configs === null || configs === void 0 || (_configs$format_time = configs.format_time) === null || _configs$format_time === void 0 ? void 0 : _configs$format_time.value) === '24' ? 'HH:mm' : 'HH:mm A'
98
98
  },
99
99
  defaultView: _reactBigCalendar.Views.MONTH,
100
100
  events: businessCalendarEvents.result,
@@ -69,7 +69,7 @@ var CompanySelectorUI = function CompanySelectorUI(props) {
69
69
  }, t('LOADING', 'loading'), "...")
70
70
  }];
71
71
  (0, _react.useEffect)(function () {
72
- var _theme$images, _theme$images$icons;
72
+ var _theme$images;
73
73
  var _companysOptionList = [{
74
74
  value: 'default',
75
75
  content: /*#__PURE__*/_react.default.createElement(_styles.Option, {
@@ -78,7 +78,7 @@ var CompanySelectorUI = function CompanySelectorUI(props) {
78
78
  small: small,
79
79
  className: "driver-photo"
80
80
  }, /*#__PURE__*/_react.default.createElement(_styles.CompanyImage, {
81
- bgimage: company.logo || (theme === null || theme === void 0 ? void 0 : (_theme$images = theme.images) === null || _theme$images === void 0 ? void 0 : (_theme$images$icons = _theme$images.icons) === null || _theme$images$icons === void 0 ? void 0 : _theme$images$icons.noDriver),
81
+ bgimage: company.logo || (theme === null || theme === void 0 || (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.icons) === null || _theme$images === void 0 ? void 0 : _theme$images.noDriver),
82
82
  small: small
83
83
  })), /*#__PURE__*/_react.default.createElement(_styles.OptionContent, null, /*#__PURE__*/_react.default.createElement(_styles.CompanyNameContainer, {
84
84
  className: "driver-info"
@@ -108,7 +108,7 @@ var CompanySelectorUI = function CompanySelectorUI(props) {
108
108
  _companysList = companysList.companys;
109
109
  }
110
110
  var _companysOptionListTemp = _companysList.map(function (company, i) {
111
- var _theme$images$icons2;
111
+ var _theme$images$icons;
112
112
  return {
113
113
  value: company.id,
114
114
  showDisable: isFilterView ? true : !(isFilterView || !(company !== null && company !== void 0 && company.busy)),
@@ -121,7 +121,7 @@ var CompanySelectorUI = function CompanySelectorUI(props) {
121
121
  small: small,
122
122
  className: "driver-photo"
123
123
  }, /*#__PURE__*/_react.default.createElement(_styles.CompanyImage, {
124
- bgimage: company.logo || ((_theme$images$icons2 = theme.images.icons) === null || _theme$images$icons2 === void 0 ? void 0 : _theme$images$icons2.noDriver),
124
+ bgimage: company.logo || ((_theme$images$icons = theme.images.icons) === null || _theme$images$icons === void 0 ? void 0 : _theme$images$icons.noDriver),
125
125
  small: small
126
126
  })), /*#__PURE__*/_react.default.createElement(_styles.OptionContent, null, /*#__PURE__*/_react.default.createElement(_styles.CompanyNameContainer, {
127
127
  className: "driver-info"
@@ -40,7 +40,7 @@ var CARD_ELEMENT_OPTIONS = {
40
40
  showIcon: true
41
41
  };
42
42
  var CardFormUI = function CardFormUI(props) {
43
- var _validationFields$fie, _validationFields$fie2, _validationFields$fie3, _validationFields$fie4, _validationFields$fie5, _validationFields$fie6;
43
+ var _validationFields$fie, _validationFields$fie2;
44
44
  var error = props.error,
45
45
  errorExpiry = props.errorExpiry,
46
46
  errorCvc = props.errorCvc,
@@ -57,8 +57,8 @@ var CardFormUI = function CardFormUI(props) {
57
57
  var _useValidationFields = (0, _orderingComponentsAdminExternal.useValidationFields)(),
58
58
  _useValidationFields2 = _slicedToArray(_useValidationFields, 1),
59
59
  validationFields = _useValidationFields2[0];
60
- var zipCodeEnabled = validationFields === null || validationFields === void 0 ? void 0 : (_validationFields$fie = validationFields.fields) === null || _validationFields$fie === void 0 ? void 0 : (_validationFields$fie2 = _validationFields$fie.card) === null || _validationFields$fie2 === void 0 ? void 0 : (_validationFields$fie3 = _validationFields$fie2.zipcode) === null || _validationFields$fie3 === void 0 ? void 0 : _validationFields$fie3.enabled;
61
- var zipCodeRequired = validationFields === null || validationFields === void 0 ? void 0 : (_validationFields$fie4 = validationFields.fields) === null || _validationFields$fie4 === void 0 ? void 0 : (_validationFields$fie5 = _validationFields$fie4.card) === null || _validationFields$fie5 === void 0 ? void 0 : (_validationFields$fie6 = _validationFields$fie5.zipcode) === null || _validationFields$fie6 === void 0 ? void 0 : _validationFields$fie6.required;
60
+ var zipCodeEnabled = validationFields === null || validationFields === void 0 || (_validationFields$fie = validationFields.fields) === null || _validationFields$fie === void 0 || (_validationFields$fie = _validationFields$fie.card) === null || _validationFields$fie === void 0 || (_validationFields$fie = _validationFields$fie.zipcode) === null || _validationFields$fie === void 0 ? void 0 : _validationFields$fie.enabled;
61
+ var zipCodeRequired = validationFields === null || validationFields === void 0 || (_validationFields$fie2 = validationFields.fields) === null || _validationFields$fie2 === void 0 || (_validationFields$fie2 = _validationFields$fie2.card) === null || _validationFields$fie2 === void 0 || (_validationFields$fie2 = _validationFields$fie2.zipcode) === null || _validationFields$fie2 === void 0 ? void 0 : _validationFields$fie2.required;
62
62
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles2.FormStripe, {
63
63
  onSubmit: handleSubmit
64
64
  }, /*#__PURE__*/_react.default.createElement(_styles2.FormRow, null, !isSplitForm ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactStripeJs.CardElement, {
@@ -69,8 +69,8 @@ var CardFormCustom = function CardFormCustom(props) {
69
69
  type: 'card',
70
70
  brand: cardBrand,
71
71
  last4: lastFourDigits,
72
- ccnumber: values === null || values === void 0 ? void 0 : (_values$number = values.number) === null || _values$number === void 0 ? void 0 : _values$number.replace(/\s/g, ''),
73
- ccexp: values === null || values === void 0 ? void 0 : (_values$expiry = values.expiry) === null || _values$expiry === void 0 ? void 0 : _values$expiry.replace('/', ''),
72
+ ccnumber: values === null || values === void 0 || (_values$number = values.number) === null || _values$number === void 0 ? void 0 : _values$number.replace(/\s/g, ''),
73
+ ccexp: values === null || values === void 0 || (_values$expiry = values.expiry) === null || _values$expiry === void 0 ? void 0 : _values$expiry.replace('/', ''),
74
74
  cvv: values === null || values === void 0 ? void 0 : values.cvc
75
75
  };
76
76
  handleNewCard(card);
@@ -30,7 +30,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
30
30
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
31
31
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
32
32
  var CartBill = function CartBill(props) {
33
- var _validationFields$fie, _validationFields$fie2, _validationFields$fie3, _cart$offers, _cart$offers2, _cart$offers3, _cart$offers3$filter, _cart$offers4, _cart$offers4$filter, _cart$business, _ref, _cart$subtotal_with_d, _cart$taxes2, _cart$taxes3, _cart$fees, _cart$fees2, _cart$offers5, _cart$offers6, _cart$offers6$filter, _orderState$options, _cart$offers7, _cart$offers8, _cart$offers8$filter, _configs$driver_tip_t, _configs$driver_tip_u, _openTaxModal$data, _openTaxModal$data2, _openTaxModal$data3, _openTaxModal$data4, _openTaxModal$data$fi, _openTaxModal$data5, _openTaxModal$data6;
33
+ var _validationFields$fie, _cart$offers, _cart$offers2, _cart$offers3, _cart$offers4, _cart$business, _ref, _cart$subtotal_with_d, _cart$taxes2, _cart$taxes3, _cart$fees, _cart$fees2, _cart$offers5, _cart$offers6, _orderState$options, _cart$offers7, _cart$offers8, _configs$driver_tip_t, _configs$driver_tip_u, _openTaxModal$data, _openTaxModal$data2, _openTaxModal$data3, _openTaxModal$data4, _openTaxModal$data$fi, _openTaxModal$data5, _openTaxModal$data6;
34
34
  var cart = props.cart;
35
35
  var theme = (0, _styledComponents.useTheme)();
36
36
  var _useLanguage = (0, _orderingComponentsAdminExternal.useLanguage)(),
@@ -69,7 +69,7 @@ var CartBill = function CartBill(props) {
69
69
  _useState4 = _slicedToArray(_useState3, 2),
70
70
  confirm = _useState4[0],
71
71
  setConfirm = _useState4[1];
72
- var isCouponEnabled = validationFields === null || validationFields === void 0 ? void 0 : (_validationFields$fie = validationFields.fields) === null || _validationFields$fie === void 0 ? void 0 : (_validationFields$fie2 = _validationFields$fie.checkout) === null || _validationFields$fie2 === void 0 ? void 0 : (_validationFields$fie3 = _validationFields$fie2.coupon) === null || _validationFields$fie3 === void 0 ? void 0 : _validationFields$fie3.enabled;
72
+ var isCouponEnabled = validationFields === null || validationFields === void 0 || (_validationFields$fie = validationFields.fields) === null || _validationFields$fie === void 0 || (_validationFields$fie = _validationFields$fie.checkout) === null || _validationFields$fie === void 0 || (_validationFields$fie = _validationFields$fie.coupon) === null || _validationFields$fie === void 0 ? void 0 : _validationFields$fie.enabled;
73
73
  var getIncludedTaxes = function getIncludedTaxes() {
74
74
  if ((cart === null || cart === void 0 ? void 0 : cart.taxes) === null) {
75
75
  return (cart === null || cart === void 0 ? void 0 : cart.business.tax_type) === 1 ? cart === null || cart === void 0 ? void 0 : cart.tax : 0;
@@ -81,12 +81,12 @@ var CartBill = function CartBill(props) {
81
81
  }
82
82
  };
83
83
  var getIncludedTaxesDiscounts = function getIncludedTaxesDiscounts() {
84
- var _cart$taxes, _cart$taxes$filter;
85
- return cart === null || cart === void 0 ? void 0 : (_cart$taxes = cart.taxes) === null || _cart$taxes === void 0 ? void 0 : (_cart$taxes$filter = _cart$taxes.filter(function (tax) {
84
+ var _cart$taxes;
85
+ return cart === null || cart === void 0 || (_cart$taxes = cart.taxes) === null || _cart$taxes === void 0 || (_cart$taxes = _cart$taxes.filter(function (tax) {
86
86
  return (tax === null || tax === void 0 ? void 0 : tax.type) === 1;
87
- })) === null || _cart$taxes$filter === void 0 ? void 0 : _cart$taxes$filter.reduce(function (carry, tax) {
87
+ })) === null || _cart$taxes === void 0 ? void 0 : _cart$taxes.reduce(function (carry, tax) {
88
88
  var _tax$summary$tax_afte, _tax$summary2, _tax$summary3;
89
- return carry + ((_tax$summary$tax_afte = tax === null || tax === void 0 ? void 0 : (_tax$summary2 = tax.summary) === null || _tax$summary2 === void 0 ? void 0 : _tax$summary2.tax_after_discount) !== null && _tax$summary$tax_afte !== void 0 ? _tax$summary$tax_afte : tax === null || tax === void 0 ? void 0 : (_tax$summary3 = tax.summary) === null || _tax$summary3 === void 0 ? void 0 : _tax$summary3.tax);
89
+ return carry + ((_tax$summary$tax_afte = tax === null || tax === void 0 || (_tax$summary2 = tax.summary) === null || _tax$summary2 === void 0 ? void 0 : _tax$summary2.tax_after_discount) !== null && _tax$summary$tax_afte !== void 0 ? _tax$summary$tax_afte : tax === null || tax === void 0 || (_tax$summary3 = tax.summary) === null || _tax$summary3 === void 0 ? void 0 : _tax$summary3.tax);
90
90
  }, 0);
91
91
  };
92
92
  var handleRemoveOfferClick = function handleRemoveOfferClick(id, userId) {
@@ -110,9 +110,9 @@ var CartBill = function CartBill(props) {
110
110
  }
111
111
  });
112
112
  };
113
- return /*#__PURE__*/_react.default.createElement(_styles.CartBillContainer, null, /*#__PURE__*/_react.default.createElement("h3", null, t('SUMMARY', '')), /*#__PURE__*/_react.default.createElement("table", null, /*#__PURE__*/_react.default.createElement("tbody", null, /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement("td", null, t('SUBTOTAL', 'Subtotal')), /*#__PURE__*/_react.default.createElement("td", null, parsePrice((cart === null || cart === void 0 ? void 0 : cart.subtotal) + getIncludedTaxes()))), (cart === null || cart === void 0 ? void 0 : cart.discount) > 0 && (cart === null || cart === void 0 ? void 0 : cart.total) >= 0 && (cart === null || cart === void 0 ? void 0 : (_cart$offers = cart.offers) === null || _cart$offers === void 0 ? void 0 : _cart$offers.length) === 0 && /*#__PURE__*/_react.default.createElement("tr", null, (cart === null || cart === void 0 ? void 0 : cart.discount_type) === 1 ? /*#__PURE__*/_react.default.createElement("td", null, t('DISCOUNT', 'Discount'), ' ', /*#__PURE__*/_react.default.createElement("span", null, "(".concat((0, _utils.verifyDecimals)(cart === null || cart === void 0 ? void 0 : cart.discount_rate, parsePrice), "%)"))) : /*#__PURE__*/_react.default.createElement("td", null, t('DISCOUNT', 'Discount')), /*#__PURE__*/_react.default.createElement("td", null, "- ", parsePrice((cart === null || cart === void 0 ? void 0 : cart.discount) || 0))), (cart === null || cart === void 0 ? void 0 : (_cart$offers2 = cart.offers) === null || _cart$offers2 === void 0 ? void 0 : _cart$offers2.length) > 0 && (cart === null || cart === void 0 ? void 0 : (_cart$offers3 = cart.offers) === null || _cart$offers3 === void 0 ? void 0 : (_cart$offers3$filter = _cart$offers3.filter(function (offer) {
113
+ return /*#__PURE__*/_react.default.createElement(_styles.CartBillContainer, null, /*#__PURE__*/_react.default.createElement("h3", null, t('SUMMARY', '')), /*#__PURE__*/_react.default.createElement("table", null, /*#__PURE__*/_react.default.createElement("tbody", null, /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement("td", null, t('SUBTOTAL', 'Subtotal')), /*#__PURE__*/_react.default.createElement("td", null, parsePrice((cart === null || cart === void 0 ? void 0 : cart.subtotal) + getIncludedTaxes()))), (cart === null || cart === void 0 ? void 0 : cart.discount) > 0 && (cart === null || cart === void 0 ? void 0 : cart.total) >= 0 && (cart === null || cart === void 0 || (_cart$offers = cart.offers) === null || _cart$offers === void 0 ? void 0 : _cart$offers.length) === 0 && /*#__PURE__*/_react.default.createElement("tr", null, (cart === null || cart === void 0 ? void 0 : cart.discount_type) === 1 ? /*#__PURE__*/_react.default.createElement("td", null, t('DISCOUNT', 'Discount'), ' ', /*#__PURE__*/_react.default.createElement("span", null, "(".concat((0, _utils.verifyDecimals)(cart === null || cart === void 0 ? void 0 : cart.discount_rate, parsePrice), "%)"))) : /*#__PURE__*/_react.default.createElement("td", null, t('DISCOUNT', 'Discount')), /*#__PURE__*/_react.default.createElement("td", null, "- ", parsePrice((cart === null || cart === void 0 ? void 0 : cart.discount) || 0))), (cart === null || cart === void 0 || (_cart$offers2 = cart.offers) === null || _cart$offers2 === void 0 ? void 0 : _cart$offers2.length) > 0 && (cart === null || cart === void 0 || (_cart$offers3 = cart.offers) === null || _cart$offers3 === void 0 || (_cart$offers3 = _cart$offers3.filter(function (offer) {
114
114
  return (offer === null || offer === void 0 ? void 0 : offer.target) === 1;
115
- })) === null || _cart$offers3$filter === void 0 ? void 0 : _cart$offers3$filter.map(function (offer) {
115
+ })) === null || _cart$offers3 === void 0 ? void 0 : _cart$offers3.map(function (offer) {
116
116
  var _offer$summary;
117
117
  return /*#__PURE__*/_react.default.createElement("tr", {
118
118
  key: offer.id
@@ -134,10 +134,10 @@ var CartBill = function CartBill(props) {
134
134
  onClick: function onClick() {
135
135
  return onRemoveOffer(offer === null || offer === void 0 ? void 0 : offer.id);
136
136
  }
137
- }))), /*#__PURE__*/_react.default.createElement("td", null, "- ", parsePrice(offer === null || offer === void 0 ? void 0 : (_offer$summary = offer.summary) === null || _offer$summary === void 0 ? void 0 : _offer$summary.discount)));
138
- })), (cart === null || cart === void 0 ? void 0 : (_cart$offers4 = cart.offers) === null || _cart$offers4 === void 0 ? void 0 : (_cart$offers4$filter = _cart$offers4.filter(function (offer) {
137
+ }))), /*#__PURE__*/_react.default.createElement("td", null, "- ", parsePrice(offer === null || offer === void 0 || (_offer$summary = offer.summary) === null || _offer$summary === void 0 ? void 0 : _offer$summary.discount)));
138
+ })), (cart === null || cart === void 0 || (_cart$offers4 = cart.offers) === null || _cart$offers4 === void 0 || (_cart$offers4 = _cart$offers4.filter(function (offer) {
139
139
  return (offer === null || offer === void 0 ? void 0 : offer.target) === 1;
140
- })) === null || _cart$offers4$filter === void 0 ? void 0 : _cart$offers4$filter.length) > 0 && (cart === null || cart === void 0 ? void 0 : cart.subtotal_with_discount) > 0 && (cart === null || cart === void 0 ? void 0 : cart.discount) > 0 && (cart === null || cart === void 0 ? void 0 : cart.total) >= 0 && /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement("td", null, t('SUBTOTAL_WITH_DISCOUNT', 'Subtotal with discount')), (cart === null || cart === void 0 ? void 0 : (_cart$business = cart.business) === null || _cart$business === void 0 ? void 0 : _cart$business.tax_type) === 1 ? /*#__PURE__*/_react.default.createElement("td", null, parsePrice((_ref = (cart === null || cart === void 0 ? void 0 : cart.subtotal_with_discount) + getIncludedTaxesDiscounts()) !== null && _ref !== void 0 ? _ref : 0)) : /*#__PURE__*/_react.default.createElement("td", null, parsePrice((_cart$subtotal_with_d = cart === null || cart === void 0 ? void 0 : cart.subtotal_with_discount) !== null && _cart$subtotal_with_d !== void 0 ? _cart$subtotal_with_d : 0))), (cart === null || cart === void 0 ? void 0 : (_cart$taxes2 = cart.taxes) === null || _cart$taxes2 === void 0 ? void 0 : _cart$taxes2.length) > 0 && (cart === null || cart === void 0 ? void 0 : (_cart$taxes3 = cart.taxes) === null || _cart$taxes3 === void 0 ? void 0 : _cart$taxes3.filter(function (tax) {
140
+ })) === null || _cart$offers4 === void 0 ? void 0 : _cart$offers4.length) > 0 && (cart === null || cart === void 0 ? void 0 : cart.subtotal_with_discount) > 0 && (cart === null || cart === void 0 ? void 0 : cart.discount) > 0 && (cart === null || cart === void 0 ? void 0 : cart.total) >= 0 && /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement("td", null, t('SUBTOTAL_WITH_DISCOUNT', 'Subtotal with discount')), (cart === null || cart === void 0 || (_cart$business = cart.business) === null || _cart$business === void 0 ? void 0 : _cart$business.tax_type) === 1 ? /*#__PURE__*/_react.default.createElement("td", null, parsePrice((_ref = (cart === null || cart === void 0 ? void 0 : cart.subtotal_with_discount) + getIncludedTaxesDiscounts()) !== null && _ref !== void 0 ? _ref : 0)) : /*#__PURE__*/_react.default.createElement("td", null, parsePrice((_cart$subtotal_with_d = cart === null || cart === void 0 ? void 0 : cart.subtotal_with_discount) !== null && _cart$subtotal_with_d !== void 0 ? _cart$subtotal_with_d : 0))), (cart === null || cart === void 0 || (_cart$taxes2 = cart.taxes) === null || _cart$taxes2 === void 0 ? void 0 : _cart$taxes2.length) > 0 && (cart === null || cart === void 0 || (_cart$taxes3 = cart.taxes) === null || _cart$taxes3 === void 0 ? void 0 : _cart$taxes3.filter(function (tax) {
141
141
  return (tax === null || tax === void 0 ? void 0 : tax.type) === 2 && (tax === null || tax === void 0 ? void 0 : tax.rate) !== 0;
142
142
  }).map(function (tax) {
143
143
  var _ref2, _tax$summary$tax_afte2, _tax$summary4, _tax$summary5;
@@ -156,8 +156,8 @@ var CartBill = function CartBill(props) {
156
156
  }, /*#__PURE__*/_react.default.createElement(_BsInfoCircle.default, {
157
157
  size: "20",
158
158
  color: theme.colors.primary
159
- }))), /*#__PURE__*/_react.default.createElement("td", null, parsePrice((_ref2 = (_tax$summary$tax_afte2 = tax === null || tax === void 0 ? void 0 : (_tax$summary4 = tax.summary) === null || _tax$summary4 === void 0 ? void 0 : _tax$summary4.tax_after_discount) !== null && _tax$summary$tax_afte2 !== void 0 ? _tax$summary$tax_afte2 : tax === null || tax === void 0 ? void 0 : (_tax$summary5 = tax.summary) === null || _tax$summary5 === void 0 ? void 0 : _tax$summary5.tax) !== null && _ref2 !== void 0 ? _ref2 : 0)));
160
- })), (cart === null || cart === void 0 ? void 0 : (_cart$fees = cart.fees) === null || _cart$fees === void 0 ? void 0 : _cart$fees.length) > 0 && (cart === null || cart === void 0 ? void 0 : (_cart$fees2 = cart.fees) === null || _cart$fees2 === void 0 ? void 0 : _cart$fees2.filter(function (fee) {
159
+ }))), /*#__PURE__*/_react.default.createElement("td", null, parsePrice((_ref2 = (_tax$summary$tax_afte2 = tax === null || tax === void 0 || (_tax$summary4 = tax.summary) === null || _tax$summary4 === void 0 ? void 0 : _tax$summary4.tax_after_discount) !== null && _tax$summary$tax_afte2 !== void 0 ? _tax$summary$tax_afte2 : tax === null || tax === void 0 || (_tax$summary5 = tax.summary) === null || _tax$summary5 === void 0 ? void 0 : _tax$summary5.tax) !== null && _ref2 !== void 0 ? _ref2 : 0)));
160
+ })), (cart === null || cart === void 0 || (_cart$fees = cart.fees) === null || _cart$fees === void 0 ? void 0 : _cart$fees.length) > 0 && (cart === null || cart === void 0 || (_cart$fees2 = cart.fees) === null || _cart$fees2 === void 0 ? void 0 : _cart$fees2.filter(function (fee) {
161
161
  return !(fee.fixed === 0 && fee.percentage === 0);
162
162
  }).map(function (fee, i) {
163
163
  var _fee$id, _ref3, _fee$summary, _fee$summary$percenta, _fee$summary2, _fee$summary3;
@@ -176,10 +176,10 @@ var CartBill = function CartBill(props) {
176
176
  }, /*#__PURE__*/_react.default.createElement(_BsInfoCircle.default, {
177
177
  size: "20",
178
178
  color: theme.colors.primary
179
- }))), /*#__PURE__*/_react.default.createElement("td", null, parsePrice((_ref3 = (fee === null || fee === void 0 ? void 0 : (_fee$summary = fee.summary) === null || _fee$summary === void 0 ? void 0 : _fee$summary.fixed) + ((_fee$summary$percenta = fee === null || fee === void 0 ? void 0 : (_fee$summary2 = fee.summary) === null || _fee$summary2 === void 0 ? void 0 : _fee$summary2.percentage_after_discount) !== null && _fee$summary$percenta !== void 0 ? _fee$summary$percenta : fee === null || fee === void 0 ? void 0 : (_fee$summary3 = fee.summary) === null || _fee$summary3 === void 0 ? void 0 : _fee$summary3.percentage)) !== null && _ref3 !== void 0 ? _ref3 : 0)));
180
- })), (cart === null || cart === void 0 ? void 0 : (_cart$offers5 = cart.offers) === null || _cart$offers5 === void 0 ? void 0 : _cart$offers5.length) > 0 && (cart === null || cart === void 0 ? void 0 : (_cart$offers6 = cart.offers) === null || _cart$offers6 === void 0 ? void 0 : (_cart$offers6$filter = _cart$offers6.filter(function (offer) {
179
+ }))), /*#__PURE__*/_react.default.createElement("td", null, parsePrice((_ref3 = (fee === null || fee === void 0 || (_fee$summary = fee.summary) === null || _fee$summary === void 0 ? void 0 : _fee$summary.fixed) + ((_fee$summary$percenta = fee === null || fee === void 0 || (_fee$summary2 = fee.summary) === null || _fee$summary2 === void 0 ? void 0 : _fee$summary2.percentage_after_discount) !== null && _fee$summary$percenta !== void 0 ? _fee$summary$percenta : fee === null || fee === void 0 || (_fee$summary3 = fee.summary) === null || _fee$summary3 === void 0 ? void 0 : _fee$summary3.percentage)) !== null && _ref3 !== void 0 ? _ref3 : 0)));
180
+ })), (cart === null || cart === void 0 || (_cart$offers5 = cart.offers) === null || _cart$offers5 === void 0 ? void 0 : _cart$offers5.length) > 0 && (cart === null || cart === void 0 || (_cart$offers6 = cart.offers) === null || _cart$offers6 === void 0 || (_cart$offers6 = _cart$offers6.filter(function (offer) {
181
181
  return (offer === null || offer === void 0 ? void 0 : offer.target) === 3;
182
- })) === null || _cart$offers6$filter === void 0 ? void 0 : _cart$offers6$filter.map(function (offer) {
182
+ })) === null || _cart$offers6 === void 0 ? void 0 : _cart$offers6.map(function (offer) {
183
183
  var _offer$summary2;
184
184
  return /*#__PURE__*/_react.default.createElement("tr", {
185
185
  key: offer.id
@@ -201,10 +201,10 @@ var CartBill = function CartBill(props) {
201
201
  onClick: function onClick() {
202
202
  return onRemoveOffer(offer === null || offer === void 0 ? void 0 : offer.id);
203
203
  }
204
- }))), /*#__PURE__*/_react.default.createElement("td", null, "- ", parsePrice(offer === null || offer === void 0 ? void 0 : (_offer$summary2 = offer.summary) === null || _offer$summary2 === void 0 ? void 0 : _offer$summary2.discount)));
205
- })), (orderState === null || orderState === void 0 ? void 0 : (_orderState$options = orderState.options) === null || _orderState$options === void 0 ? void 0 : _orderState$options.type) === 1 && /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement("td", null, t('DELIVERY_FEE', 'Delivery Fee')), /*#__PURE__*/_react.default.createElement("td", null, parsePrice(cart === null || cart === void 0 ? void 0 : cart.delivery_price_with_discount))), (cart === null || cart === void 0 ? void 0 : (_cart$offers7 = cart.offers) === null || _cart$offers7 === void 0 ? void 0 : _cart$offers7.length) > 0 && (cart === null || cart === void 0 ? void 0 : (_cart$offers8 = cart.offers) === null || _cart$offers8 === void 0 ? void 0 : (_cart$offers8$filter = _cart$offers8.filter(function (offer) {
204
+ }))), /*#__PURE__*/_react.default.createElement("td", null, "- ", parsePrice(offer === null || offer === void 0 || (_offer$summary2 = offer.summary) === null || _offer$summary2 === void 0 ? void 0 : _offer$summary2.discount)));
205
+ })), (orderState === null || orderState === void 0 || (_orderState$options = orderState.options) === null || _orderState$options === void 0 ? void 0 : _orderState$options.type) === 1 && /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement("td", null, t('DELIVERY_FEE', 'Delivery Fee')), /*#__PURE__*/_react.default.createElement("td", null, parsePrice(cart === null || cart === void 0 ? void 0 : cart.delivery_price_with_discount))), (cart === null || cart === void 0 || (_cart$offers7 = cart.offers) === null || _cart$offers7 === void 0 ? void 0 : _cart$offers7.length) > 0 && (cart === null || cart === void 0 || (_cart$offers8 = cart.offers) === null || _cart$offers8 === void 0 || (_cart$offers8 = _cart$offers8.filter(function (offer) {
206
206
  return (offer === null || offer === void 0 ? void 0 : offer.target) === 2;
207
- })) === null || _cart$offers8$filter === void 0 ? void 0 : _cart$offers8$filter.map(function (offer) {
207
+ })) === null || _cart$offers8 === void 0 ? void 0 : _cart$offers8.map(function (offer) {
208
208
  var _offer$summary3;
209
209
  return /*#__PURE__*/_react.default.createElement("tr", {
210
210
  key: offer.id
@@ -226,8 +226,8 @@ var CartBill = function CartBill(props) {
226
226
  onClick: function onClick() {
227
227
  return onRemoveOffer(offer === null || offer === void 0 ? void 0 : offer.id);
228
228
  }
229
- }))), /*#__PURE__*/_react.default.createElement("td", null, "- ", parsePrice(offer === null || offer === void 0 ? void 0 : (_offer$summary3 = offer.summary) === null || _offer$summary3 === void 0 ? void 0 : _offer$summary3.discount)));
230
- })), (cart === null || cart === void 0 ? void 0 : cart.driver_tip) > 0 && /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement("td", null, t('DRIVER_TIP', 'Driver tip'), ' ', (cart === null || cart === void 0 ? void 0 : cart.driver_tip_rate) > 0 && parseInt(configs === null || configs === void 0 ? void 0 : (_configs$driver_tip_t = configs.driver_tip_type) === null || _configs$driver_tip_t === void 0 ? void 0 : _configs$driver_tip_t.value, 10) === 2 && !parseInt(configs === null || configs === void 0 ? void 0 : (_configs$driver_tip_u = configs.driver_tip_use_custom) === null || _configs$driver_tip_u === void 0 ? void 0 : _configs$driver_tip_u.value, 10) && /*#__PURE__*/_react.default.createElement("span", null, "(".concat((0, _utils.verifyDecimals)(cart === null || cart === void 0 ? void 0 : cart.driver_tip_rate, parseNumber), "%)"))), /*#__PURE__*/_react.default.createElement("td", null, parsePrice(cart === null || cart === void 0 ? void 0 : cart.driver_tip))))), isCouponEnabled && (cart === null || cart === void 0 ? void 0 : cart.status) !== 2 && /*#__PURE__*/_react.default.createElement(_styles.CouponContainer, null, /*#__PURE__*/_react.default.createElement(_CouponControl.CouponControl, {
229
+ }))), /*#__PURE__*/_react.default.createElement("td", null, "- ", parsePrice(offer === null || offer === void 0 || (_offer$summary3 = offer.summary) === null || _offer$summary3 === void 0 ? void 0 : _offer$summary3.discount)));
230
+ })), (cart === null || cart === void 0 ? void 0 : cart.driver_tip) > 0 && /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement("td", null, t('DRIVER_TIP', 'Driver tip'), ' ', (cart === null || cart === void 0 ? void 0 : cart.driver_tip_rate) > 0 && parseInt(configs === null || configs === void 0 || (_configs$driver_tip_t = configs.driver_tip_type) === null || _configs$driver_tip_t === void 0 ? void 0 : _configs$driver_tip_t.value, 10) === 2 && !parseInt(configs === null || configs === void 0 || (_configs$driver_tip_u = configs.driver_tip_use_custom) === null || _configs$driver_tip_u === void 0 ? void 0 : _configs$driver_tip_u.value, 10) && /*#__PURE__*/_react.default.createElement("span", null, "(".concat((0, _utils.verifyDecimals)(cart === null || cart === void 0 ? void 0 : cart.driver_tip_rate, parseNumber), "%)"))), /*#__PURE__*/_react.default.createElement("td", null, parsePrice(cart === null || cart === void 0 ? void 0 : cart.driver_tip))))), isCouponEnabled && (cart === null || cart === void 0 ? void 0 : cart.status) !== 2 && /*#__PURE__*/_react.default.createElement(_styles.CouponContainer, null, /*#__PURE__*/_react.default.createElement(_CouponControl.CouponControl, {
231
231
  businessId: cart === null || cart === void 0 ? void 0 : cart.business_id,
232
232
  price: cart === null || cart === void 0 ? void 0 : cart.total
233
233
  })), /*#__PURE__*/_react.default.createElement("table", {