ordering-ui-admin-external 1.30.6 → 1.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (485) hide show
  1. package/_bundles/{ordering-ui-admin.7f043fd81bc0483e027b.js → ordering-ui-admin.2f5049887bf500c65392.js} +2 -2
  2. package/_bundles/{ordering-ui-admin.7f043fd81bc0483e027b.js.LICENSE.txt → ordering-ui-admin.2f5049887bf500c65392.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 +80 -47
  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/BusinessAnalytics/index.js +2 -1
  15. package/_modules/components/BusinessIntelligence/BusinessAnalytics/styles.js +6 -4
  16. package/_modules/components/BusinessIntelligence/BusinessReviewDetails/index.js +4 -4
  17. package/_modules/components/BusinessIntelligence/BusinessReviewList/index.js +4 -4
  18. package/_modules/components/BusinessIntelligence/CountryFilter/index.js +1 -1
  19. package/_modules/components/BusinessIntelligence/InvoiceBusinessPdf/index.js +20 -20
  20. package/_modules/components/BusinessIntelligence/InvoiceDriverPdf/index.js +20 -20
  21. package/_modules/components/BusinessIntelligence/InvoiceGeneral/index.js +2 -2
  22. package/_modules/components/BusinessIntelligence/ReportsAverageSales/index.js +16 -15
  23. package/_modules/components/BusinessIntelligence/ReportsAverageSales/styles.js +13 -3
  24. package/_modules/components/BusinessIntelligence/ReportsBarChart/index.js +3 -3
  25. package/_modules/components/BusinessIntelligence/ReportsBusinessDistance/index.js +27 -26
  26. package/_modules/components/BusinessIntelligence/ReportsBusinessDistance/styles.js +13 -3
  27. package/_modules/components/BusinessIntelligence/ReportsBusinessSpend/index.js +12 -11
  28. package/_modules/components/BusinessIntelligence/ReportsBusinessSpend/styles.js +13 -3
  29. package/_modules/components/BusinessIntelligence/ReportsCustomer/index.js +18 -17
  30. package/_modules/components/BusinessIntelligence/ReportsCustomer/styles.js +13 -3
  31. package/_modules/components/BusinessIntelligence/ReportsDriverDistance/index.js +12 -11
  32. package/_modules/components/BusinessIntelligence/ReportsDriverDistance/styles.js +13 -3
  33. package/_modules/components/BusinessIntelligence/ReportsDriverFilter/index.js +3 -3
  34. package/_modules/components/BusinessIntelligence/ReportsDriverOrder/index.js +12 -11
  35. package/_modules/components/BusinessIntelligence/ReportsDriverOrder/styles.js +13 -3
  36. package/_modules/components/BusinessIntelligence/ReportsDriverOrderTime/index.js +12 -11
  37. package/_modules/components/BusinessIntelligence/ReportsDriverOrderTime/styles.js +13 -3
  38. package/_modules/components/BusinessIntelligence/ReportsDriverSchedule/index.js +11 -10
  39. package/_modules/components/BusinessIntelligence/ReportsDriverSchedule/styles.js +13 -3
  40. package/_modules/components/BusinessIntelligence/ReportsDriverSpend/index.js +12 -11
  41. package/_modules/components/BusinessIntelligence/ReportsDriverSpend/styles.js +13 -3
  42. package/_modules/components/BusinessIntelligence/ReportsGeneralSales/index.js +12 -11
  43. package/_modules/components/BusinessIntelligence/ReportsGeneralSales/styles.js +13 -3
  44. package/_modules/components/BusinessIntelligence/ReportsHeatMap/index.js +12 -11
  45. package/_modules/components/BusinessIntelligence/ReportsHeatMap/styles.js +13 -3
  46. package/_modules/components/BusinessIntelligence/ReportsOrderDistance/index.js +24 -23
  47. package/_modules/components/BusinessIntelligence/ReportsOrderDistance/styles.js +13 -3
  48. package/_modules/components/BusinessIntelligence/ReportsOrderStatus/index.js +18 -17
  49. package/_modules/components/BusinessIntelligence/ReportsOrderStatus/styles.js +13 -3
  50. package/_modules/components/BusinessIntelligence/ReportsOrderTypeFilter/index.js +2 -2
  51. package/_modules/components/BusinessIntelligence/ReportsOrders/index.js +22 -21
  52. package/_modules/components/BusinessIntelligence/ReportsOrders/styles.js +13 -3
  53. package/_modules/components/BusinessIntelligence/ReportsPaymethodSales/index.js +11 -10
  54. package/_modules/components/BusinessIntelligence/ReportsPaymethodSales/styles.js +13 -3
  55. package/_modules/components/BusinessIntelligence/ReportsSaleAndCategory/index.js +20 -19
  56. package/_modules/components/BusinessIntelligence/ReportsSaleAndCategory/styles.js +13 -3
  57. package/_modules/components/BusinessIntelligence/ReportsSales/index.js +22 -21
  58. package/_modules/components/BusinessIntelligence/ReportsSales/styles.js +13 -3
  59. package/_modules/components/BusinessIntelligence/ReportsSpentTIme/index.js +11 -10
  60. package/_modules/components/BusinessIntelligence/ReportsSpentTIme/styles.js +13 -3
  61. package/_modules/components/BusinessIntelligence/ReportsTopDrivers/index.js +27 -26
  62. package/_modules/components/BusinessIntelligence/ReportsTopDrivers/styles.js +13 -3
  63. package/_modules/components/BusinessIntelligence/ReportsUsers/index.js +17 -16
  64. package/_modules/components/BusinessIntelligence/ReportsUsers/styles.js +13 -3
  65. package/_modules/components/BusinessIntelligence/ReviewProductsListing/index.js +4 -4
  66. package/_modules/components/BusinessIntelligence/UsersReviewList/index.js +1 -1
  67. package/_modules/components/CartRecovery/OpenCartBill/index.js +24 -24
  68. package/_modules/components/CartRecovery/OpenCartList/index.js +6 -6
  69. package/_modules/components/CartRecovery/OpenCartsContactInformation/index.js +8 -8
  70. package/_modules/components/CartRecovery/OpenCartsDetail/index.js +3 -3
  71. package/_modules/components/CartRecovery/RecoveryActionAdd/index.js +8 -8
  72. package/_modules/components/CartRecovery/RecoveryActionDetail/index.js +1 -1
  73. package/_modules/components/CartRecovery/RecoveryActionList/index.js +2 -2
  74. package/_modules/components/CartRecovery/RecoveryGeneral/index.js +6 -6
  75. package/_modules/components/CartRecovery/SingleRecoveryNotification/index.js +5 -5
  76. package/_modules/components/Delivery/AddressForm/index.js +29 -29
  77. package/_modules/components/Delivery/AddressList/index.js +22 -12
  78. package/_modules/components/Delivery/DriverGroupSetting/index.js +1 -1
  79. package/_modules/components/Delivery/DriversGroupAddForm/BusinessesForm/index.js +1 -1
  80. package/_modules/components/Delivery/DriversGroupAddForm/PaymethodsForm/index.js +2 -2
  81. package/_modules/components/Delivery/DriversGroupAddForm/index.js +2 -2
  82. package/_modules/components/Delivery/DriversGroupBusinesses/index.js +1 -1
  83. package/_modules/components/Delivery/DriversGroupCompanies/index.js +1 -1
  84. package/_modules/components/Delivery/DriversGroupDeliveryDetails/index.js +1 -1
  85. package/_modules/components/Delivery/DriversGroupDeliveryZoneInformation/index.js +18 -18
  86. package/_modules/components/Delivery/DriversGroupDeliveryZoneList/index.js +4 -4
  87. package/_modules/components/Delivery/DriversGroupDetails/index.js +2 -2
  88. package/_modules/components/Delivery/DriversGroupDrivers/index.js +1 -1
  89. package/_modules/components/Delivery/DriversGroupLogs/index.js +1 -1
  90. package/_modules/components/Delivery/DriversGroupOrders/index.js +5 -5
  91. package/_modules/components/Delivery/DriversGroupPaymethods/index.js +2 -2
  92. package/_modules/components/Delivery/DriversGroupsDeliveryZoneDetails/index.js +1 -1
  93. package/_modules/components/Delivery/DriversGroupsList/index.js +2 -2
  94. package/_modules/components/Delivery/DriversGroupsListing/index.js +4 -4
  95. package/_modules/components/Delivery/UserAddForm/index.js +13 -13
  96. package/_modules/components/Delivery/UserDetails/index.js +6 -6
  97. package/_modules/components/Delivery/UserFormDetails/index.js +10 -10
  98. package/_modules/components/Delivery/UserProfileForm/index.js +7 -7
  99. package/_modules/components/Home/HomePage/index.js +10 -9
  100. package/_modules/components/LanguageSelector/index.js +1 -1
  101. package/_modules/components/Login/ForgotPasswordForm/index.js +3 -3
  102. package/_modules/components/Login/LoginForm/index.js +11 -11
  103. package/_modules/components/Login/ResetPassword/index.js +5 -5
  104. package/_modules/components/Loyalty/GiftCardDetail/index.js +8 -8
  105. package/_modules/components/Loyalty/GiftCards/index.js +3 -3
  106. package/_modules/components/Loyalty/LoyaltyLevelDetail/index.js +10 -10
  107. package/_modules/components/Loyalty/PointsWalletBusinessDetail/index.js +6 -6
  108. package/_modules/components/Loyalty/PointsWalletBusinessList/index.js +3 -3
  109. package/_modules/components/Loyalty/PointsWalletLevels/index.js +3 -3
  110. package/_modules/components/Marketing/BannerDetails/Businesses/index.js +1 -1
  111. package/_modules/components/Marketing/BannerDetails/index.js +5 -5
  112. package/_modules/components/Marketing/BannerImageDetails/BusinessLink.js +2 -2
  113. package/_modules/components/Marketing/BannerImageDetails/ProductLink.js +3 -3
  114. package/_modules/components/Marketing/BannerImageDetails/SelectBusinessProducts/index.js +7 -7
  115. package/_modules/components/Marketing/BannerImageDetails/index.js +1 -1
  116. package/_modules/components/Marketing/CampaignAmountOption/index.js +4 -4
  117. package/_modules/components/Marketing/CampaignDetail/index.js +1 -1
  118. package/_modules/components/Marketing/CampaignDetailContent/index.js +2 -2
  119. package/_modules/components/Marketing/CampaignDetailGeneral/index.js +19 -19
  120. package/_modules/components/Marketing/CampaignEmail/index.js +15 -15
  121. package/_modules/components/Marketing/CampaignHeader/index.js +1 -1
  122. package/_modules/components/Marketing/CampaignList/index.js +2 -2
  123. package/_modules/components/Marketing/CampaignNotification/index.js +12 -12
  124. package/_modules/components/Marketing/CampaignPopup/index.js +10 -10
  125. package/_modules/components/Marketing/CampaignSMS/index.js +11 -11
  126. package/_modules/components/Marketing/CampaignSignUpOption/index.js +5 -5
  127. package/_modules/components/Marketing/CampaignUsersList/index.js +4 -4
  128. package/_modules/components/Marketing/CampaignWebHook/index.js +11 -11
  129. package/_modules/components/Marketing/CampaignWhatsapp/index.js +10 -10
  130. package/_modules/components/Marketing/EnterprisePromotionDeliveryzones/index.js +6 -6
  131. package/_modules/components/Marketing/EnterprisePromotionDetails/index.js +4 -4
  132. package/_modules/components/Marketing/EnterprisePromotionGeneralDetails/index.js +9 -9
  133. package/_modules/components/Marketing/EnterprisePromotionMaxOrders/index.js +1 -1
  134. package/_modules/components/Marketing/EnterprisePromotionOrderTypes/index.js +2 -2
  135. package/_modules/components/Marketing/EnterprisePromotionPaymethods/index.js +7 -7
  136. package/_modules/components/Marketing/EnterprisePromotionRules/index.js +8 -8
  137. package/_modules/components/Marketing/EnterprisePromotionSpecficCategory/index.js +12 -12
  138. package/_modules/components/Marketing/EnterprisePromotionSpecficProducts/index.js +7 -7
  139. package/_modules/components/Marketing/PageBanner/index.js +1 -1
  140. package/_modules/components/Messages/ChatBusinessesList/index.js +2 -2
  141. package/_modules/components/Messages/ChatContactList/index.js +2 -2
  142. package/_modules/components/MyProducts/AdvancedLayouts/index.js +14 -14
  143. package/_modules/components/MyProducts/AdvancedSettings/index.js +40 -40
  144. package/_modules/components/MyProducts/AppResources/index.js +15 -15
  145. package/_modules/components/MyProducts/CustomDomain/index.js +2 -2
  146. package/_modules/components/MyProducts/OrderingWebsite/SelectBusiness.js +2 -2
  147. package/_modules/components/MyProducts/OrderingWebsite/SelectFranchise.js +2 -2
  148. package/_modules/components/MyProducts/OrderingWebsite/index.js +39 -32
  149. package/_modules/components/MyProducts/OrderingWebsite/styles.js +1 -1
  150. package/_modules/components/MyProducts/UploadAudio/index.js +2 -2
  151. package/_modules/components/NotNetworkConnectivity/index.js +2 -2
  152. package/_modules/components/OrderingProducts/OrderingProductGeneralDetails/index.js +18 -18
  153. package/_modules/components/OrderingProducts/OrderingProductsListing/index.js +1 -1
  154. package/_modules/components/OrderingProducts/SiteTheme/ThemeComponent.js +1 -1
  155. package/_modules/components/OrderingProducts/SiteTheme/index.js +10 -10
  156. package/_modules/components/Orders/AllInOne/DriversManager/index.js +2 -2
  157. package/_modules/components/Orders/AllInOne/index.js +15 -6
  158. package/_modules/components/Orders/Appointments/EventComponent.js +3 -3
  159. package/_modules/components/Orders/Appointments/index.js +2 -2
  160. package/_modules/components/Orders/CompanySelector/index.js +4 -4
  161. package/_modules/components/Orders/CreateCustomOrder/CardForm/index.js +3 -3
  162. package/_modules/components/Orders/CreateCustomOrder/CardFormCustom/index.js +2 -2
  163. package/_modules/components/Orders/CreateCustomOrder/CartBill/index.js +21 -21
  164. package/_modules/components/Orders/CreateCustomOrder/Checkout/index.js +26 -26
  165. package/_modules/components/Orders/CreateCustomOrder/CustomOrderDetails/index.js +102 -9
  166. package/_modules/components/Orders/CreateCustomOrder/CustomOrderDetails/styles.js +19 -3
  167. package/_modules/components/Orders/CreateCustomOrder/DriverTips/index.js +4 -4
  168. package/_modules/components/Orders/CreateCustomOrder/Map/index.js +11 -11
  169. package/_modules/components/Orders/CreateCustomOrder/OrderTypeSelector/index.js +3 -3
  170. package/_modules/components/Orders/CreateCustomOrder/PaymentOptionCard/index.js +1 -1
  171. package/_modules/components/Orders/CreateCustomOrder/PaymentOptionCash/index.js +2 -2
  172. package/_modules/components/Orders/CreateCustomOrder/PaymentOptionPaypal/index.js +1 -1
  173. package/_modules/components/Orders/CreateCustomOrder/PaymentOptionStripe/index.js +8 -8
  174. package/_modules/components/Orders/CreateCustomOrder/PaymentOptionStripe/styles.js +1 -1
  175. package/_modules/components/Orders/CreateCustomOrder/PaymentOptionWallet/index.js +3 -3
  176. package/_modules/components/Orders/CreateCustomOrder/PaymentOptions/index.js +35 -35
  177. package/_modules/components/Orders/CreateCustomOrder/ProductForm/index.js +24 -24
  178. package/_modules/components/Orders/CreateCustomOrder/ProductOptionSubOption/index.js +2 -2
  179. package/_modules/components/Orders/CreateCustomOrder/SelectBusinesses/index.js +2 -2
  180. package/_modules/components/Orders/CreateCustomOrder/SelectCustomer/index.js +22 -10
  181. package/_modules/components/Orders/CreateCustomOrder/SelectCustomer/styles.js +8 -5
  182. package/_modules/components/Orders/CreateCustomOrder/SelectProducts/index.js +2 -2
  183. package/_modules/components/Orders/CreateCustomOrder/SingleProductCard/index.js +10 -10
  184. package/_modules/components/Orders/CreateCustomOrder/SingleProductCard/styles.js +5 -5
  185. package/_modules/components/Orders/CreateCustomOrder/StripeMethodForm/index.js +7 -7
  186. package/_modules/components/Orders/DeliveriesLocation/index.js +27 -27
  187. package/_modules/components/Orders/DeliveriesManager/index.js +13 -4
  188. package/_modules/components/Orders/DeliveryDashboard/index.js +6 -6
  189. package/_modules/components/Orders/DriverMapMarkerAndInfo/index.js +3 -3
  190. package/_modules/components/Orders/DriversList/index.js +2 -2
  191. package/_modules/components/Orders/DriversLocation/index.js +11 -11
  192. package/_modules/components/Orders/DriversManager/index.js +2 -2
  193. package/_modules/components/Orders/GoogleMapsApiKeySettingButton/index.js +1 -1
  194. package/_modules/components/Orders/InterActOrderMarker/index.js +3 -3
  195. package/_modules/components/Orders/Logistics/index.js +1 -1
  196. package/_modules/components/Orders/Messages/index.js +4 -4
  197. package/_modules/components/Orders/OrderBill/RefundToWallet.js +16 -16
  198. package/_modules/components/Orders/OrderBill/index.js +46 -46
  199. package/_modules/components/Orders/OrderContactInformation/index.js +22 -22
  200. package/_modules/components/Orders/OrderDashboardSLASetting/index.js +3 -3
  201. package/_modules/components/Orders/OrderDetails/index.js +6 -6
  202. package/_modules/components/Orders/OrderDetailsHeader/index.js +6 -6
  203. package/_modules/components/Orders/OrderLogisticInformation/index.js +1 -1
  204. package/_modules/components/Orders/OrderNotification/index.js +47 -18
  205. package/_modules/components/Orders/OrderNotification/styles.js +18 -3
  206. package/_modules/components/Orders/OrderStatusFilterBar/index.js +6 -6
  207. package/_modules/components/Orders/OrderToPrint/index.js +22 -22
  208. package/_modules/components/Orders/OrderToPrintTicket/index.js +5 -5
  209. package/_modules/components/Orders/OrdersCards/index.js +29 -29
  210. package/_modules/components/Orders/OrdersContentHeader/index.js +13 -4
  211. package/_modules/components/Orders/OrdersContentHeader/styles.js +20 -4
  212. package/_modules/components/Orders/OrdersDashboardList/index.js +34 -5
  213. package/_modules/components/Orders/OrdersExportCSV/index.js +1 -1
  214. package/_modules/components/Orders/OrdersFilterGroup/index.js +18 -1
  215. package/_modules/components/Orders/OrdersLateralBar/index.js +3 -3
  216. package/_modules/components/Orders/OrdersListing/index.js +9 -3
  217. package/_modules/components/Orders/OrdersManager/index.js +16 -7
  218. package/_modules/components/Orders/OrdersTable/index.js +53 -53
  219. package/_modules/components/Orders/PaymethodTypeSelector/index.js +1 -1
  220. package/_modules/components/Orders/ProductItemAccordion/index.js +4 -4
  221. package/_modules/components/Orders/ReviewCustomer/index.js +2 -2
  222. package/_modules/components/Orders/WebsocketStatus/index.js +6 -1
  223. package/_modules/components/PageNotFound/index.js +3 -3
  224. package/_modules/components/Settings/ApiKeysList/index.js +1 -1
  225. package/_modules/components/Settings/CountriesList/index.js +1 -1
  226. package/_modules/components/Settings/DropdownOptionList/index.js +2 -2
  227. package/_modules/components/Settings/EmailSetting/index.js +5 -5
  228. package/_modules/components/Settings/InsertImage/index.js +3 -3
  229. package/_modules/components/Settings/IntegrationListing/Analytics.js +1 -1
  230. package/_modules/components/Settings/IntegrationListing/PaymentGateway.js +1 -1
  231. package/_modules/components/Settings/LanguageSetting/index.js +1 -1
  232. package/_modules/components/Settings/LanguageTransSpread/index.js +2 -2
  233. package/_modules/components/Settings/LanguageTransTable/index.js +4 -4
  234. package/_modules/components/Settings/NotificationSetting/index.js +6 -6
  235. package/_modules/components/Settings/PlaceListing/index.js +1 -1
  236. package/_modules/components/Settings/Settings/index.js +3 -3
  237. package/_modules/components/Settings/SettingsCountryFilter/index.js +1 -1
  238. package/_modules/components/Settings/SettingsList/index.js +4 -4
  239. package/_modules/components/Settings/SettingsSelectUI/index.js +1 -1
  240. package/_modules/components/Settings/WebhookListSelector/index.js +6 -0
  241. package/_modules/components/Settings/ZoneDropdownDetails/index.js +1 -1
  242. package/_modules/components/Shared/AutoScroll/index.js +4 -4
  243. package/_modules/components/Shared/CitySelector/index.js +1 -1
  244. package/_modules/components/Shared/ColumnAllowSettingPopover/index.js +2 -2
  245. package/_modules/components/Shared/ConfirmAdmin/index.js +1 -1
  246. package/_modules/components/Shared/DragScroll/index.js +5 -5
  247. package/_modules/components/Shared/HtmlEditor/InsertImage/index.js +3 -3
  248. package/_modules/components/Shared/InputPhoneNumber/index.js +3 -4
  249. package/_modules/components/Shared/NotFoundSource/index.js +2 -2
  250. package/_modules/components/Shared/Personalization/index.js +1 -1
  251. package/_modules/components/Shared/RangeCalendar/index.js +2 -2
  252. package/_modules/components/Shared/Schedule/index.js +6 -6
  253. package/_modules/components/Shared/SelectBusinessCategories/index.js +2 -2
  254. package/_modules/components/Shared/SelectBusinessProducts/index.js +7 -7
  255. package/_modules/components/Shared/SelectBusinesses/index.js +3 -3
  256. package/_modules/components/Shared/SelectLoyaltyLevels/index.js +1 -1
  257. package/_modules/components/Shared/SelectSites/index.js +1 -1
  258. package/_modules/components/Shared/SpreadSheetEditor/index.js +21 -21
  259. package/_modules/components/SidebarMenu/index.js +37 -40
  260. package/_modules/components/Stores/AddBusinessForm/index.js +18 -18
  261. package/_modules/components/Stores/BusinessAdd/BusinessDetails/index.js +8 -8
  262. package/_modules/components/Stores/BusinessAdd/DeliveryZone/index.js +11 -11
  263. package/_modules/components/Stores/BusinessAdd/Images/index.js +5 -5
  264. package/_modules/components/Stores/BusinessAdd/OrderTypePriceLevel/index.js +2 -2
  265. package/_modules/components/Stores/BusinessAdd/OtherDetails/index.js +1 -1
  266. package/_modules/components/Stores/BusinessAdd/PaymentMethods/index.js +1 -1
  267. package/_modules/components/Stores/BusinessAdd/ReceiveOrders/index.js +7 -3
  268. package/_modules/components/Stores/BusinessAdd/index.js +9 -9
  269. package/_modules/components/Stores/BusinessAddStore/index.js +2 -2
  270. package/_modules/components/Stores/BusinessBrandBUSIDetail/index.js +3 -3
  271. package/_modules/components/Stores/BusinessBrandGENDetail/index.js +16 -16
  272. package/_modules/components/Stores/BusinessBrandListing/index.js +8 -8
  273. package/_modules/components/Stores/BusinessDeliveryDetails/index.js +3 -3
  274. package/_modules/components/Stores/BusinessDeliveryGroupsDetails/index.js +4 -4
  275. package/_modules/components/Stores/BusinessDeliveryZoneDetails/index.js +1 -1
  276. package/_modules/components/Stores/BusinessDeliveryZoneInformation/index.js +11 -11
  277. package/_modules/components/Stores/BusinessDeliveryZoneList/index.js +3 -3
  278. package/_modules/components/Stores/BusinessDetails/index.js +7 -7
  279. package/_modules/components/Stores/BusinessDeviceDetail/index.js +13 -13
  280. package/_modules/components/Stores/BusinessDeviceListing/index.js +7 -7
  281. package/_modules/components/Stores/BusinessFrontLayout/index.js +2 -2
  282. package/_modules/components/Stores/BusinessGprsPrinters/index.js +1 -1
  283. package/_modules/components/Stores/BusinessImages/index.js +4 -4
  284. package/_modules/components/Stores/BusinessInformation/index.js +35 -35
  285. package/_modules/components/Stores/BusinessLocation/index.js +7 -7
  286. package/_modules/components/Stores/BusinessMenu/index.js +2 -2
  287. package/_modules/components/Stores/BusinessMenuBasicOptions/index.js +13 -13
  288. package/_modules/components/Stores/BusinessMenuCategoryTreeNode/index.js +3 -3
  289. package/_modules/components/Stores/BusinessMenuChannels/index.js +8 -8
  290. package/_modules/components/Stores/BusinessMenuOptions/index.js +1 -1
  291. package/_modules/components/Stores/BusinessOwners/index.js +1 -1
  292. package/_modules/components/Stores/BusinessPaymentMethods/index.js +4 -4
  293. package/_modules/components/Stores/BusinessPickupDetails/index.js +2 -2
  294. package/_modules/components/Stores/BusinessPlace/index.js +1 -1
  295. package/_modules/components/Stores/BusinessPlaceGroup/index.js +3 -3
  296. package/_modules/components/Stores/BusinessPlaceGroupList/index.js +3 -3
  297. package/_modules/components/Stores/BusinessPreorderDetails/index.js +3 -3
  298. package/_modules/components/Stores/BusinessPreview/index.js +19 -19
  299. package/_modules/components/Stores/BusinessProductAddForm/index.js +10 -10
  300. package/_modules/components/Stores/BusinessProductList/index.js +5 -5
  301. package/_modules/components/Stores/BusinessProductsCategories/index.js +4 -4
  302. package/_modules/components/Stores/BusinessProductsCategoyDetails/index.js +3 -3
  303. package/_modules/components/Stores/BusinessProductsCategoyInfo/index.js +22 -22
  304. package/_modules/components/Stores/BusinessProductsListing/index.js +25 -21
  305. package/_modules/components/Stores/BusinessPromotionGeneralForm/index.js +25 -25
  306. package/_modules/components/Stores/BusinessQRCodeOption/index.js +2 -2
  307. package/_modules/components/Stores/BusinessSalesChannel/index.js +1 -1
  308. package/_modules/components/Stores/BusinessSelectHeader/index.js +1 -1
  309. package/_modules/components/Stores/BusinessServiceProfessionals/index.js +3 -3
  310. package/_modules/components/Stores/BusinessSharedMenuProductDetails/index.js +4 -4
  311. package/_modules/components/Stores/BusinessSharedMenuProducts/index.js +1 -1
  312. package/_modules/components/Stores/BusinessSpreadSheet/index.js +1 -1
  313. package/_modules/components/Stores/BusinessSummary/index.js +14 -11
  314. package/_modules/components/Stores/BusinessSupport/index.js +2 -2
  315. package/_modules/components/Stores/BusinessSyncStore/index.js +3 -3
  316. package/_modules/components/Stores/BusinessTypeDetail/index.js +6 -6
  317. package/_modules/components/Stores/BusinessTypes/index.js +2 -2
  318. package/_modules/components/Stores/BusinessVideos/index.js +2 -2
  319. package/_modules/components/Stores/BusinessWalletsList/index.js +2 -2
  320. package/_modules/components/Stores/BusinessWebhooks/index.js +11 -5
  321. package/_modules/components/Stores/BusinessesListing/index.js +1 -1
  322. package/_modules/components/Stores/ImporterForm/index.js +3 -3
  323. package/_modules/components/Stores/ImporterJobForm/index.js +7 -7
  324. package/_modules/components/Stores/PaymentOption/index.js +11 -11
  325. package/_modules/components/Stores/PaymentOptionMethods/index.js +11 -11
  326. package/_modules/components/Stores/PaymentOptionPaypal/index.js +11 -11
  327. package/_modules/components/Stores/PaymentOptionSquare/index.js +13 -13
  328. package/_modules/components/Stores/PaymentOptionStripeDirect/index.js +11 -11
  329. package/_modules/components/Stores/PaymethodOptionPaypalExpress/index.js +7 -7
  330. package/_modules/components/Stores/PaymethodOptionStripeConnect/index.js +11 -11
  331. package/_modules/components/Stores/PaymethodOptionStripeRedirect/index.js +11 -11
  332. package/_modules/components/Stores/ProductDesktopPreview/index.js +8 -8
  333. package/_modules/components/Stores/ProductDetailsAdvanced/index.js +7 -7
  334. package/_modules/components/Stores/ProductDetatilsInformation/index.js +21 -21
  335. package/_modules/components/Stores/ProductExtraOptionDetails/index.js +26 -21
  336. package/_modules/components/Stores/ProductExtraOptionForm/index.js +15 -15
  337. package/_modules/components/Stores/ProductExtraOptions/index.js +10 -4
  338. package/_modules/components/Stores/ProductExtraSuboption/index.js +10 -5
  339. package/_modules/components/Stores/ProductExtras/index.js +9 -4
  340. package/_modules/components/Stores/ProductGallery/index.js +3 -3
  341. package/_modules/components/Stores/ProductIngredientDetails/index.js +2 -2
  342. package/_modules/components/Stores/ProductStep/index.js +2 -2
  343. package/_modules/components/Stores/ProductSummary/index.js +11 -8
  344. package/_modules/components/Stores/ProductTagDetails/index.js +2 -2
  345. package/_modules/components/Stores/ProductTagsList/index.js +1 -1
  346. package/_modules/components/Stores/ProductVideos/index.js +1 -1
  347. package/_modules/components/Stores/RestaurantSelectGuide/index.js +2 -2
  348. package/_modules/components/Stores/SelectPosGuide/index.js +4 -4
  349. package/_modules/components/Stores/SeoOptions/index.js +9 -9
  350. package/_modules/components/Stores/ServiceDetail/index.js +5 -5
  351. package/_modules/components/Stores/SingleBusiness/index.js +14 -14
  352. package/_modules/components/Stores/SingleBusinessCategoryEdit/index.js +2 -2
  353. package/_modules/components/Stores/SingleBusinessProduct/index.js +12 -12
  354. package/_modules/components/Stores/SingleBusinessSubCateogries/index.js +2 -2
  355. package/_modules/components/Stores/UploadMenuGuide/index.js +3 -3
  356. package/_modules/components/Users/CustomerDetails/index.js +2 -2
  357. package/_modules/components/Users/CustomerPointsWallet/index.js +2 -2
  358. package/_modules/components/Users/CustomerWalletEvents/index.js +1 -1
  359. package/_modules/components/Users/ProfessionalAddForm/index.js +11 -11
  360. package/_modules/components/Users/ProfessionalBusinessService/index.js +3 -3
  361. package/_modules/components/Users/ProfessionalCategoryTreeNode/index.js +3 -3
  362. package/_modules/components/Users/ProfessionalDetail/index.js +2 -2
  363. package/_modules/components/Users/ProfessionalListing/index.js +1 -1
  364. package/_modules/components/Users/ProfessionalSchedule/index.js +1 -1
  365. package/_modules/components/Users/ProfessionalServices/index.js +3 -3
  366. package/_modules/components/Users/UserAddForm/index.js +11 -13
  367. package/_modules/components/Users/UserDetails/index.js +4 -4
  368. package/_modules/components/Users/UserFilterGroup/index.js +2 -2
  369. package/_modules/components/Users/UserFormDetails/index.js +12 -12
  370. package/_modules/components/Users/UserProfileForm/index.js +7 -7
  371. package/_modules/styles/Select/index.js +1 -1
  372. package/_modules/themes/origin/src/components/AutoScroll/index.js +2 -2
  373. package/_modules/themes/origin/src/components/DeadlineSettingInterface/index.js +4 -4
  374. package/_modules/themes/origin/src/components/DeadlinesTypeSelector/index.js +6 -6
  375. package/_modules/themes/origin/src/components/DriverMapMarkerAndInfo/index.js +3 -3
  376. package/_modules/themes/origin/src/components/DriverSelector/index.js +2 -2
  377. package/_modules/themes/origin/src/components/DriversLocation/index.js +16 -16
  378. package/_modules/themes/origin/src/components/ForgotPasswordForm/index.js +3 -3
  379. package/_modules/themes/origin/src/components/GroupTypeSelector/index.js +2 -2
  380. package/_modules/themes/origin/src/components/Header/index.js +3 -3
  381. package/_modules/themes/origin/src/components/InterActOrderMarker/index.js +3 -3
  382. package/_modules/themes/origin/src/components/LoginForm/index.js +5 -5
  383. package/_modules/themes/origin/src/components/LogisticInformation/index.js +1 -1
  384. package/_modules/themes/origin/src/components/Logistics/index.js +6 -6
  385. package/_modules/themes/origin/src/components/MainOrdersManager/index.js +2 -2
  386. package/_modules/themes/origin/src/components/Messages/index.js +13 -13
  387. package/_modules/themes/origin/src/components/Messages/styles.js +2 -2
  388. package/_modules/themes/origin/src/components/MobileSidebarMenu/index.js +5 -5
  389. package/_modules/themes/origin/src/components/NotFoundSource/index.js +2 -2
  390. package/_modules/themes/origin/src/components/NotNetworkConnectivity/index.js +2 -2
  391. package/_modules/themes/origin/src/components/OrderDetails/index.js +34 -34
  392. package/_modules/themes/origin/src/components/OrderItemAccordion/index.js +9 -9
  393. package/_modules/themes/origin/src/components/OrderListing/index.js +2 -2
  394. package/_modules/themes/origin/src/components/OrderListing/styles.js +1 -1
  395. package/_modules/themes/origin/src/components/OrderProductQuickDetail/index.js +7 -7
  396. package/_modules/themes/origin/src/components/OrderStatusFilterBar/index.js +5 -5
  397. package/_modules/themes/origin/src/components/OrderStatusTypeSelector/index.js +5 -5
  398. package/_modules/themes/origin/src/components/OverView/index.js +1 -1
  399. package/_modules/themes/origin/src/components/OverView/styles.js +3 -3
  400. package/_modules/themes/origin/src/components/PageNotFound/index.js +3 -3
  401. package/_modules/themes/origin/src/components/SearchBar/index.js +2 -2
  402. package/_modules/themes/origin/src/components/SideMenu/index.js +5 -5
  403. package/_modules/themes/origin/src/components/SmallOrderItemAccordion/index.js +8 -8
  404. package/_modules/themes/origin/src/components/UserPopover/index.js +2 -2
  405. package/_modules/utils/index.js +1 -1
  406. package/package.json +2 -2
  407. package/src/components/BusinessIntelligence/AnalyticsDriverOrders/index.js +39 -17
  408. package/src/components/BusinessIntelligence/BusinessAnalytics/index.js +6 -1
  409. package/src/components/BusinessIntelligence/BusinessAnalytics/styles.js +2 -0
  410. package/src/components/BusinessIntelligence/ReportsAverageSales/index.js +15 -7
  411. package/src/components/BusinessIntelligence/ReportsAverageSales/styles.js +34 -0
  412. package/src/components/BusinessIntelligence/ReportsBusinessDistance/index.js +9 -1
  413. package/src/components/BusinessIntelligence/ReportsBusinessDistance/styles.js +34 -0
  414. package/src/components/BusinessIntelligence/ReportsBusinessSpend/index.js +9 -1
  415. package/src/components/BusinessIntelligence/ReportsBusinessSpend/styles.js +34 -0
  416. package/src/components/BusinessIntelligence/ReportsCustomer/index.js +15 -7
  417. package/src/components/BusinessIntelligence/ReportsCustomer/styles.js +34 -0
  418. package/src/components/BusinessIntelligence/ReportsDriverDistance/index.js +10 -2
  419. package/src/components/BusinessIntelligence/ReportsDriverDistance/styles.js +34 -0
  420. package/src/components/BusinessIntelligence/ReportsDriverOrder/index.js +9 -1
  421. package/src/components/BusinessIntelligence/ReportsDriverOrder/styles.js +34 -0
  422. package/src/components/BusinessIntelligence/ReportsDriverOrderTime/index.js +9 -1
  423. package/src/components/BusinessIntelligence/ReportsDriverOrderTime/styles.js +34 -0
  424. package/src/components/BusinessIntelligence/ReportsDriverSchedule/index.js +16 -8
  425. package/src/components/BusinessIntelligence/ReportsDriverSchedule/styles.js +34 -0
  426. package/src/components/BusinessIntelligence/ReportsDriverSpend/index.js +9 -1
  427. package/src/components/BusinessIntelligence/ReportsDriverSpend/styles.js +34 -0
  428. package/src/components/BusinessIntelligence/ReportsGeneralSales/index.js +9 -1
  429. package/src/components/BusinessIntelligence/ReportsGeneralSales/styles.js +34 -0
  430. package/src/components/BusinessIntelligence/ReportsHeatMap/index.js +9 -1
  431. package/src/components/BusinessIntelligence/ReportsHeatMap/styles.js +34 -0
  432. package/src/components/BusinessIntelligence/ReportsOrderDistance/index.js +10 -1
  433. package/src/components/BusinessIntelligence/ReportsOrderDistance/styles.js +34 -0
  434. package/src/components/BusinessIntelligence/ReportsOrderStatus/index.js +10 -2
  435. package/src/components/BusinessIntelligence/ReportsOrderStatus/styles.js +34 -0
  436. package/src/components/BusinessIntelligence/ReportsOrders/index.js +9 -1
  437. package/src/components/BusinessIntelligence/ReportsOrders/styles.js +34 -0
  438. package/src/components/BusinessIntelligence/ReportsPaymethodSales/index.js +9 -1
  439. package/src/components/BusinessIntelligence/ReportsPaymethodSales/styles.js +34 -0
  440. package/src/components/BusinessIntelligence/ReportsSaleAndCategory/index.js +9 -1
  441. package/src/components/BusinessIntelligence/ReportsSaleAndCategory/styles.js +34 -0
  442. package/src/components/BusinessIntelligence/ReportsSales/index.js +9 -1
  443. package/src/components/BusinessIntelligence/ReportsSales/styles.js +34 -0
  444. package/src/components/BusinessIntelligence/ReportsSpentTIme/index.js +15 -7
  445. package/src/components/BusinessIntelligence/ReportsSpentTIme/styles.js +34 -0
  446. package/src/components/BusinessIntelligence/ReportsTopDrivers/index.js +9 -2
  447. package/src/components/BusinessIntelligence/ReportsTopDrivers/styles.js +34 -0
  448. package/src/components/BusinessIntelligence/ReportsUsers/index.js +15 -7
  449. package/src/components/BusinessIntelligence/ReportsUsers/styles.js +34 -0
  450. package/src/components/Delivery/AddressList/index.js +11 -1
  451. package/src/components/Home/HomePage/index.js +5 -1
  452. package/src/components/MyProducts/OrderingWebsite/index.js +25 -12
  453. package/src/components/MyProducts/OrderingWebsite/styles.js +0 -2
  454. package/src/components/Orders/AllInOne/index.js +8 -2
  455. package/src/components/Orders/CreateCustomOrder/CustomOrderDetails/index.js +118 -6
  456. package/src/components/Orders/CreateCustomOrder/CustomOrderDetails/styles.js +56 -0
  457. package/src/components/Orders/CreateCustomOrder/OrderTypeSelector/index.js +1 -1
  458. package/src/components/Orders/CreateCustomOrder/SelectCustomer/index.js +19 -11
  459. package/src/components/Orders/CreateCustomOrder/SelectCustomer/styles.js +3 -0
  460. package/src/components/Orders/DeliveriesManager/index.js +8 -2
  461. package/src/components/Orders/DeliveryDashboard/index.js +4 -4
  462. package/src/components/Orders/OrderNotification/index.js +31 -5
  463. package/src/components/Orders/OrderNotification/styles.js +37 -0
  464. package/src/components/Orders/OrderStatusFilterBar/index.js +10 -9
  465. package/src/components/Orders/OrdersContentHeader/index.js +17 -3
  466. package/src/components/Orders/OrdersContentHeader/styles.js +54 -0
  467. package/src/components/Orders/OrdersDashboardList/index.js +6 -1
  468. package/src/components/Orders/OrdersFilterGroup/index.js +16 -0
  469. package/src/components/Orders/OrdersListing/index.js +7 -0
  470. package/src/components/Orders/OrdersManager/index.js +11 -3
  471. package/src/components/Orders/WebsocketStatus/index.js +5 -2
  472. package/src/components/Settings/WebhookListSelector/index.js +3 -1
  473. package/src/components/Shared/InputPhoneNumber/index.js +2 -3
  474. package/src/components/SidebarMenu/index.js +6 -6
  475. package/src/components/Stores/BusinessAdd/ReceiveOrders/index.js +16 -12
  476. package/src/components/Stores/BusinessDeviceDetail/index.js +1 -1
  477. package/src/components/Stores/BusinessProductsListing/index.js +4 -0
  478. package/src/components/Stores/BusinessSummary/index.js +21 -15
  479. package/src/components/Stores/BusinessWebhooks/index.js +3 -1
  480. package/src/components/Stores/ProductExtraOptionDetails/index.js +8 -0
  481. package/src/components/Stores/ProductExtraOptions/index.js +10 -1
  482. package/src/components/Stores/ProductExtraSuboption/index.js +7 -1
  483. package/src/components/Stores/ProductExtras/index.js +6 -1
  484. package/src/components/Stores/ProductSummary/index.js +7 -1
  485. package/src/components/Users/UserAddForm/index.js +0 -2
@@ -116,11 +116,11 @@ var UserDetailsUI = function UserDetailsUI(props) {
116
116
  }
117
117
  }) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, handleChangeActiveUser && /*#__PURE__*/_react.default.createElement(_styles.Switch, {
118
118
  disabled: actionDisabled,
119
- defaultChecked: (userState === null || userState === void 0 ? void 0 : (_userState$user3 = userState.user) === null || _userState$user3 === void 0 ? void 0 : _userState$user3.enabled) || false,
119
+ defaultChecked: (userState === null || userState === void 0 || (_userState$user3 = userState.user) === null || _userState$user3 === void 0 ? void 0 : _userState$user3.enabled) || false,
120
120
  onChange: function onChange(enabled) {
121
121
  var _userState$user4;
122
122
  return handleChangeActiveUser({
123
- id: userState === null || userState === void 0 ? void 0 : (_userState$user4 = userState.user) === null || _userState$user4 === void 0 ? void 0 : _userState$user4.id,
123
+ id: userState === null || userState === void 0 || (_userState$user4 = userState.user) === null || _userState$user4 === void 0 ? void 0 : _userState$user4.id,
124
124
  enabled: enabled
125
125
  });
126
126
  }
@@ -157,8 +157,8 @@ var UserDetailsUI = function UserDetailsUI(props) {
157
157
  user: userState.user,
158
158
  handleSuccessUpdate: handleSuccessUserUpdate
159
159
  }), currentMenuSelected === 'driver_group' && /*#__PURE__*/_react.default.createElement(_DriverGroupSetting.DriverGroupSetting, {
160
- userId: userState === null || userState === void 0 ? void 0 : (_userState$user7 = userState.user) === null || _userState$user7 === void 0 ? void 0 : _userState$user7.id
161
- }), currentMenuSelected === 'saved_places' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (userState === null || userState === void 0 ? void 0 : (_userState$user8 = userState.user) === null || _userState$user8 === void 0 ? void 0 : _userState$user8.addresses) && /*#__PURE__*/_react.default.createElement(_styles3.SavedPlaces, null, /*#__PURE__*/_react.default.createElement(_AddressList.AddressList, {
160
+ userId: userState === null || userState === void 0 || (_userState$user7 = userState.user) === null || _userState$user7 === void 0 ? void 0 : _userState$user7.id
161
+ }), currentMenuSelected === 'saved_places' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (userState === null || userState === void 0 || (_userState$user8 = userState.user) === null || _userState$user8 === void 0 ? void 0 : _userState$user8.addresses) && /*#__PURE__*/_react.default.createElement(_styles3.SavedPlaces, null, /*#__PURE__*/_react.default.createElement(_AddressList.AddressList, {
162
162
  isSeletectedUserAddresses: true,
163
163
  userId: (_userState$user9 = userState.user) === null || _userState$user9 === void 0 ? void 0 : _userState$user9.id,
164
164
  addresses: (_userState$user10 = userState.user) === null || _userState$user10 === void 0 ? void 0 : _userState$user10.addresses,
@@ -167,13 +167,13 @@ var UserDetailsUI = function UserDetailsUI(props) {
167
167
  handleSuccessUpdate: handleSuccessUserUpdate
168
168
  }))), currentMenuSelected === 'schedule' && /*#__PURE__*/_react.default.createElement(_styles3.ScheduleSection, null, /*#__PURE__*/_react.default.createElement(_Shared.Schedule, {
169
169
  isShowDate: !!isDriversPage,
170
- scheduleList: userState === null || userState === void 0 ? void 0 : (_userState$user11 = userState.user) === null || _userState$user11 === void 0 ? void 0 : _userState$user11.schedule,
170
+ scheduleList: userState === null || userState === void 0 || (_userState$user11 = userState.user) === null || _userState$user11 === void 0 ? void 0 : _userState$user11.schedule,
171
171
  handleChangeScheduleState: handleScheduleState
172
172
  }), /*#__PURE__*/_react.default.createElement(_styles2.ActionsForm, null, /*#__PURE__*/_react.default.createElement(_styles.Button, {
173
173
  id: "form-btn",
174
174
  color: "primary",
175
175
  borderRadius: "5px",
176
- disabled: scheduleState.loading || (scheduleState === null || scheduleState === void 0 ? void 0 : (_scheduleState$change = scheduleState.change) === null || _scheduleState$change === void 0 ? void 0 : _scheduleState$change.length) === 0,
176
+ disabled: scheduleState.loading || (scheduleState === null || scheduleState === void 0 || (_scheduleState$change = scheduleState.change) === null || _scheduleState$change === void 0 ? void 0 : _scheduleState$change.length) === 0,
177
177
  style: {
178
178
  marginTop: 20
179
179
  },
@@ -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 UserFormDetailsUI = function UserFormDetailsUI(props) {
33
- var _validationFields$fie, _validationFields$fie2, _validationFields$fie3, _validationFields$fie4, _validationFields$fie11, _ref4, _formState$changes$ex, _formState$changes6, _ref5, _formState$changes$ti, _formState$changes7, _ref6, _formState$changes$dr, _formState$changes8;
33
+ var _validationFields$fie, _validationFields$fie2, _validationFields$fie5, _ref4, _formState$changes$ex, _formState$changes6, _ref5, _formState$changes$ti, _formState$changes7, _ref6, _formState$changes$dr, _formState$changes8;
34
34
  var formState = props.formState,
35
35
  showField = props.showField,
36
36
  cleanFormState = props.cleanFormState,
@@ -95,7 +95,7 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
95
95
  }
96
96
  });
97
97
  };
98
- var showInputPhoneNumber = (_validationFields$fie = validationFields === null || validationFields === void 0 ? void 0 : (_validationFields$fie2 = validationFields.fields) === null || _validationFields$fie2 === void 0 ? void 0 : (_validationFields$fie3 = _validationFields$fie2.checkout) === null || _validationFields$fie3 === void 0 ? void 0 : (_validationFields$fie4 = _validationFields$fie3.cellphone) === null || _validationFields$fie4 === void 0 ? void 0 : _validationFields$fie4.enabled) !== null && _validationFields$fie !== void 0 ? _validationFields$fie : false;
98
+ var showInputPhoneNumber = (_validationFields$fie = validationFields === null || validationFields === void 0 || (_validationFields$fie2 = validationFields.fields) === null || _validationFields$fie2 === void 0 || (_validationFields$fie2 = _validationFields$fie2.checkout) === null || _validationFields$fie2 === void 0 || (_validationFields$fie2 = _validationFields$fie2.cellphone) === null || _validationFields$fie2 === void 0 ? void 0 : _validationFields$fie2.enabled) !== null && _validationFields$fie !== void 0 ? _validationFields$fie : false;
99
99
  var setUserCellPhone = function setUserCellPhone() {
100
100
  var isEdit = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
101
101
  // if (userPhoneNumber && !userPhoneNumber.includes('null') && !isEdit) {
@@ -122,9 +122,9 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
122
122
  setUserPhoneNumber((user === null || user === void 0 ? void 0 : user.cellphone) || '');
123
123
  };
124
124
  var onSubmit = function onSubmit() {
125
- var _validationFields$fie5, _validationFields$fie6, _validationFields$fie7, _validationFields$fie8, _validationFields$fie9, _validationFields$fie10;
125
+ var _validationFields$fie3, _validationFields$fie4;
126
126
  var isPhoneNumberValid = userPhoneNumber ? isValidPhoneNumber : true;
127
- if (!userPhoneNumber && validationFields !== null && validationFields !== void 0 && (_validationFields$fie5 = validationFields.fields) !== null && _validationFields$fie5 !== void 0 && (_validationFields$fie6 = _validationFields$fie5.checkout) !== null && _validationFields$fie6 !== void 0 && (_validationFields$fie7 = _validationFields$fie6.cellphone) !== null && _validationFields$fie7 !== void 0 && _validationFields$fie7.enabled && validationFields !== null && validationFields !== void 0 && (_validationFields$fie8 = validationFields.fields) !== null && _validationFields$fie8 !== void 0 && (_validationFields$fie9 = _validationFields$fie8.checkout) !== null && _validationFields$fie9 !== void 0 && (_validationFields$fie10 = _validationFields$fie9.cellphone) !== null && _validationFields$fie10 !== void 0 && _validationFields$fie10.required) {
127
+ if (!userPhoneNumber && validationFields !== null && validationFields !== void 0 && (_validationFields$fie3 = validationFields.fields) !== null && _validationFields$fie3 !== void 0 && (_validationFields$fie3 = _validationFields$fie3.checkout) !== null && _validationFields$fie3 !== void 0 && (_validationFields$fie3 = _validationFields$fie3.cellphone) !== null && _validationFields$fie3 !== void 0 && _validationFields$fie3.enabled && validationFields !== null && validationFields !== void 0 && (_validationFields$fie4 = validationFields.fields) !== null && _validationFields$fie4 !== void 0 && (_validationFields$fie4 = _validationFields$fie4.checkout) !== null && _validationFields$fie4 !== void 0 && (_validationFields$fie4 = _validationFields$fie4.cellphone) !== null && _validationFields$fie4 !== void 0 && _validationFields$fie4.required) {
128
128
  setAlertState({
129
129
  open: true,
130
130
  content: [t('VALIDATION_ERROR_MOBILE_PHONE_REQUIRED', 'The field Phone Number is required.')]
@@ -231,8 +231,8 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
231
231
  }, [user]);
232
232
  (0, _react.useEffect)(function () {
233
233
  if (!validationFields.loading && emailInput.current) {
234
- var _formState$result3, _formState$result4, _formState$result4$re, _ref, _formState$changes$em, _formState$changes5;
235
- formMethods.setValue('email', formState !== null && formState !== void 0 && (_formState$result3 = formState.result) !== null && _formState$result3 !== void 0 && _formState$result3.result ? formState === null || formState === void 0 ? void 0 : (_formState$result4 = formState.result) === null || _formState$result4 === void 0 ? void 0 : (_formState$result4$re = _formState$result4.result) === null || _formState$result4$re === void 0 ? void 0 : _formState$result4$re.email : (_ref = (_formState$changes$em = formState === null || formState === void 0 ? void 0 : (_formState$changes5 = formState.changes) === null || _formState$changes5 === void 0 ? void 0 : _formState$changes5.email) !== null && _formState$changes$em !== void 0 ? _formState$changes$em : user && (user === null || user === void 0 ? void 0 : user.email)) !== null && _ref !== void 0 ? _ref : '');
234
+ var _formState$result3, _formState$result4, _ref, _formState$changes$em, _formState$changes5;
235
+ formMethods.setValue('email', formState !== null && formState !== void 0 && (_formState$result3 = formState.result) !== null && _formState$result3 !== void 0 && _formState$result3.result ? formState === null || formState === void 0 || (_formState$result4 = formState.result) === null || _formState$result4 === void 0 || (_formState$result4 = _formState$result4.result) === null || _formState$result4 === void 0 ? void 0 : _formState$result4.email : (_ref = (_formState$changes$em = formState === null || formState === void 0 || (_formState$changes5 = formState.changes) === null || _formState$changes5 === void 0 ? void 0 : _formState$changes5.email) !== null && _formState$changes$em !== void 0 ? _formState$changes$em : user && (user === null || user === void 0 ? void 0 : user.email)) !== null && _ref !== void 0 ? _ref : '');
236
236
  }
237
237
  }, [validationFields, emailInput.current]);
238
238
  (0, _react.useEffect)(function () {
@@ -265,7 +265,7 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
265
265
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles2.FormInput, {
266
266
  onSubmit: formMethods.handleSubmit(onSubmit)
267
267
  }, !(validationFields !== null && validationFields !== void 0 && validationFields.loading) ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (0, _utils.sortInputFields)({
268
- values: validationFields === null || validationFields === void 0 ? void 0 : (_validationFields$fie11 = validationFields.fields) === null || _validationFields$fie11 === void 0 ? void 0 : _validationFields$fie11.checkout
268
+ values: validationFields === null || validationFields === void 0 || (_validationFields$fie5 = validationFields.fields) === null || _validationFields$fie5 === void 0 ? void 0 : _validationFields$fie5.checkout
269
269
  }).map(function (field) {
270
270
  var _ref2, _formState$changes$fi, _ref3, _formState$changes$fi2;
271
271
  return showField && showField(field.code) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
@@ -299,7 +299,7 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
299
299
  name: "external_id",
300
300
  className: "form",
301
301
  placeholder: t('EXTERNAL_ID', 'External Id'),
302
- defaultValue: (_ref4 = (_formState$changes$ex = formState === null || formState === void 0 ? void 0 : (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.external_id) !== null && _formState$changes$ex !== void 0 ? _formState$changes$ex : user && (user === null || user === void 0 ? void 0 : user.external_id)) !== null && _ref4 !== void 0 ? _ref4 : '',
302
+ defaultValue: (_ref4 = (_formState$changes$ex = formState === null || formState === void 0 || (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.external_id) !== null && _formState$changes$ex !== void 0 ? _formState$changes$ex : user && (user === null || user === void 0 ? void 0 : user.external_id)) !== null && _ref4 !== void 0 ? _ref4 : '',
303
303
  onChange: handleChangeInput,
304
304
  autoComplete: "off",
305
305
  onKeyPress: function onKeyPress(e) {
@@ -311,7 +311,7 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
311
311
  isTimezone: true
312
312
  }, /*#__PURE__*/_react.default.createElement(_styles.DefaultSelect, {
313
313
  placeholder: t('SELECT_TIMEZONE', 'Select a timezone'),
314
- defaultValue: (_ref5 = (_formState$changes$ti = formState === null || formState === void 0 ? void 0 : (_formState$changes7 = formState.changes) === null || _formState$changes7 === void 0 ? void 0 : _formState$changes7.timezone) !== null && _formState$changes$ti !== void 0 ? _formState$changes$ti : user === null || user === void 0 ? void 0 : user.timezone) !== null && _ref5 !== void 0 ? _ref5 : '',
314
+ defaultValue: (_ref5 = (_formState$changes$ti = formState === null || formState === void 0 || (_formState$changes7 = formState.changes) === null || _formState$changes7 === void 0 ? void 0 : _formState$changes7.timezone) !== null && _formState$changes$ti !== void 0 ? _formState$changes$ti : user === null || user === void 0 ? void 0 : user.timezone) !== null && _ref5 !== void 0 ? _ref5 : '',
315
315
  options: timezonesOptions,
316
316
  onChange: function onChange(val) {
317
317
  return handleChangeSwtich('timezone', val);
@@ -345,7 +345,7 @@ var UserFormDetailsUI = function UserFormDetailsUI(props) {
345
345
  return setPasswordSee(!passwordSee);
346
346
  }
347
347
  }, !passwordSee ? /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Eye, null) : /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.EyeSlash, null))), isDriversPage && /*#__PURE__*/_react.default.createElement(_styles2.DriverZoneRestrictionWrapper, null, /*#__PURE__*/_react.default.createElement("span", null, ('DRIVER_ZONE_RESTRICTION', 'Driver Zone Restriccion')), /*#__PURE__*/_react.default.createElement(_styles.Switch, {
348
- defaultChecked: (_ref6 = (_formState$changes$dr = formState === null || formState === void 0 ? void 0 : (_formState$changes8 = formState.changes) === null || _formState$changes8 === void 0 ? void 0 : _formState$changes8.driver_zone_restriction) !== null && _formState$changes$dr !== void 0 ? _formState$changes$dr : user === null || user === void 0 ? void 0 : user.driver_zone_restriction) !== null && _ref6 !== void 0 ? _ref6 : false,
348
+ defaultChecked: (_ref6 = (_formState$changes$dr = formState === null || formState === void 0 || (_formState$changes8 = formState.changes) === null || _formState$changes8 === void 0 ? void 0 : _formState$changes8.driver_zone_restriction) !== null && _formState$changes$dr !== void 0 ? _formState$changes$dr : user === null || user === void 0 ? void 0 : user.driver_zone_restriction) !== null && _ref6 !== void 0 ? _ref6 : false,
349
349
  onChange: function onChange(val) {
350
350
  return handleChangeSwtich('driver_zone_restriction', val);
351
351
  }
@@ -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 UserProfileFormUI = function UserProfileFormUI(props) {
33
- var _formState$changes2, _props$beforeElements, _props$beforeComponen, _userState$result, _userState$result$res, _formState$changes3, _formState$changes4, _formState$changes4$r, _formState$result, _userState$result2, _userState$result2$re, _userState$result3, _userState$result3$re, _formState$changes5, _formState$changes6, _userState$result4, _props$afterComponent, _props$afterElements;
33
+ var _formState$changes2, _props$beforeElements, _props$beforeComponen, _userState$result, _formState$changes3, _formState$changes4, _formState$result, _userState$result2, _userState$result3, _formState$changes5, _formState$changes6, _userState$result4, _props$afterComponent, _props$afterElements;
34
34
  var handleButtonUpdateClick = props.handleButtonUpdateClick,
35
35
  handlechangeImage = props.handlechangeImage,
36
36
  formState = props.formState,
@@ -129,7 +129,7 @@ var UserProfileFormUI = function UserProfileFormUI(props) {
129
129
  onClick: function onClick() {
130
130
  return handleClickImage();
131
131
  },
132
- isImage: (userState === null || userState === void 0 ? void 0 : (_userState$result = userState.result) === null || _userState$result === void 0 ? void 0 : (_userState$result$res = _userState$result.result) === null || _userState$result$res === void 0 ? void 0 : _userState$result$res.photo) || (formState === null || formState === void 0 ? void 0 : (_formState$changes3 = formState.changes) === null || _formState$changes3 === void 0 ? void 0 : _formState$changes3.photo) && !formState.result.error
132
+ isImage: (userState === null || userState === void 0 || (_userState$result = userState.result) === null || _userState$result === void 0 || (_userState$result = _userState$result.result) === null || _userState$result === void 0 ? void 0 : _userState$result.photo) || (formState === null || formState === void 0 || (_formState$changes3 = formState.changes) === null || _formState$changes3 === void 0 ? void 0 : _formState$changes3.photo) && !formState.result.error
133
133
  }, /*#__PURE__*/_react.default.createElement(_orderingComponentsAdminExternal.ExamineClick, {
134
134
  onFiles: handleFiles,
135
135
  childRef: function childRef(e) {
@@ -143,18 +143,18 @@ var UserProfileFormUI = function UserProfileFormUI(props) {
143
143
  },
144
144
  accept: "image/png, image/jpeg, image/jpg",
145
145
  disabled: formState.loading
146
- }, formState.loading ? /*#__PURE__*/_react.default.createElement(_styles.SkeletonWrapper, null, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, null)) : !((_formState$changes4 = formState.changes) !== null && _formState$changes4 !== void 0 && (_formState$changes4$r = _formState$changes4.result) !== null && _formState$changes4$r !== void 0 && _formState$changes4$r.photo) || ((_formState$result = formState.result) === null || _formState$result === void 0 ? void 0 : _formState$result.result) === 'Network Error' || formState.result.error ? userState !== null && userState !== void 0 && (_userState$result2 = userState.result) !== null && _userState$result2 !== void 0 && (_userState$result2$re = _userState$result2.result) !== null && _userState$result2$re !== void 0 && _userState$result2$re.photo ? /*#__PURE__*/_react.default.createElement("img", {
147
- src: userState === null || userState === void 0 ? void 0 : (_userState$result3 = userState.result) === null || _userState$result3 === void 0 ? void 0 : (_userState$result3$re = _userState$result3.result) === null || _userState$result3$re === void 0 ? void 0 : _userState$result3$re.photo,
146
+ }, formState.loading ? /*#__PURE__*/_react.default.createElement(_styles.SkeletonWrapper, null, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, null)) : !((_formState$changes4 = formState.changes) !== null && _formState$changes4 !== void 0 && (_formState$changes4 = _formState$changes4.result) !== null && _formState$changes4 !== void 0 && _formState$changes4.photo) || ((_formState$result = formState.result) === null || _formState$result === void 0 ? void 0 : _formState$result.result) === 'Network Error' || formState.result.error ? userState !== null && userState !== void 0 && (_userState$result2 = userState.result) !== null && _userState$result2 !== void 0 && (_userState$result2 = _userState$result2.result) !== null && _userState$result2 !== void 0 && _userState$result2.photo ? /*#__PURE__*/_react.default.createElement("img", {
147
+ src: userState === null || userState === void 0 || (_userState$result3 = userState.result) === null || _userState$result3 === void 0 || (_userState$result3 = _userState$result3.result) === null || _userState$result3 === void 0 ? void 0 : _userState$result3.photo,
148
148
  alt: "user image",
149
149
  width: "90px",
150
150
  height: "90px",
151
151
  loading: "lazy"
152
- }) : /*#__PURE__*/_react.default.createElement(_styles.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_FaUserAlt.default, null)) : (formState === null || formState === void 0 ? void 0 : (_formState$changes5 = formState.changes) === null || _formState$changes5 === void 0 ? void 0 : _formState$changes5.photo) && /*#__PURE__*/_react.default.createElement("img", {
153
- src: formState === null || formState === void 0 ? void 0 : (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.photo,
152
+ }) : /*#__PURE__*/_react.default.createElement(_styles.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_FaUserAlt.default, null)) : (formState === null || formState === void 0 || (_formState$changes5 = formState.changes) === null || _formState$changes5 === void 0 ? void 0 : _formState$changes5.photo) && /*#__PURE__*/_react.default.createElement("img", {
153
+ src: formState === null || formState === void 0 || (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.photo,
154
154
  alt: "user image",
155
155
  loading: "lazy"
156
156
  }))), /*#__PURE__*/_react.default.createElement(_styles.Camera, null, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Camera, null))))), /*#__PURE__*/_react.default.createElement(_styles.WrapperForm, null, /*#__PURE__*/_react.default.createElement(_UserFormDetails.UserFormDetailsUI, _extends({}, props, {
157
- userData: userState === null || userState === void 0 ? void 0 : (_userState$result4 = userState.result) === null || _userState$result4 === void 0 ? void 0 : _userState$result4.result,
157
+ userData: userState === null || userState === void 0 || (_userState$result4 = userState.result) === null || _userState$result4 === void 0 ? void 0 : _userState$result4.result,
158
158
  isHiddenAddress: isHiddenAddress
159
159
  })))), /*#__PURE__*/_react.default.createElement(_Shared.Alert, {
160
160
  title: t('PROFILE', 'Profile'),
@@ -39,7 +39,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
39
39
  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; } }
40
40
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
41
41
  var HomeUI = function HomeUI(props) {
42
- var _projectStatus$projec, _sessionState$user, _projectStatus$projec2, _projectStatus$projec3, _project$projectStatu, _projectStatus$projec4, _projectStatus$projec5, _project$projectStatu2, _projectStatus$projec6, _projectStatus$projec7, _project$projectStatu3, _projectStatus$projec8, _project$projectStatu4, _projectStatus$projec9, _sessionState$user2, _sessionState$user3;
42
+ var _configs$white_label_, _projectStatus$projec, _sessionState$user, _projectStatus$projec2, _projectStatus$projec3, _project$projectStatu, _projectStatus$projec4, _projectStatus$projec5, _project$projectStatu2, _projectStatus$projec6, _projectStatus$projec7, _project$projectStatu3, _projectStatus$projec8, _project$projectStatu4, _projectStatus$projec9, _sessionState$user2, _sessionState$user3;
43
43
  var projectStatus = props.projectStatus,
44
44
  ordersList = props.ordersList,
45
45
  todaySalelsList = props.todaySalelsList,
@@ -85,6 +85,7 @@ var HomeUI = function HomeUI(props) {
85
85
  var _useApi = (0, _orderingComponentsAdminExternal.useApi)(),
86
86
  _useApi2 = _slicedToArray(_useApi, 1),
87
87
  ordering = _useApi2[0];
88
+ var isEnabledWhiteLabelModule = configs === null || configs === void 0 || (_configs$white_label_ = configs.white_label_module) === null || _configs$white_label_ === void 0 ? void 0 : _configs$white_label_.value;
88
89
  var project = {
89
90
  active: {
90
91
  description: t('ORDERING_GUIDE_MSG', 'Our guide helps you to configure your Ordering products.'),
@@ -112,14 +113,14 @@ var HomeUI = function HomeUI(props) {
112
113
  var values = [];
113
114
  timeAxes.forEach(function (axe) {
114
115
  var _monthSalesList$sales;
115
- var index = monthSalesList === null || monthSalesList === void 0 ? void 0 : (_monthSalesList$sales = monthSalesList.sales) === null || _monthSalesList$sales === void 0 ? void 0 : _monthSalesList$sales.findIndex(function (history) {
116
+ var index = monthSalesList === null || monthSalesList === void 0 || (_monthSalesList$sales = monthSalesList.sales) === null || _monthSalesList$sales === void 0 ? void 0 : _monthSalesList$sales.findIndex(function (history) {
116
117
  return axe === (history === null || history === void 0 ? void 0 : history.time);
117
118
  });
118
119
  if (index !== -1) {
119
120
  var _monthSalesList$sales2, _monthSalesList$sales3;
120
121
  values.push({
121
- x: monthSalesList === null || monthSalesList === void 0 ? void 0 : (_monthSalesList$sales2 = monthSalesList.sales[index]) === null || _monthSalesList$sales2 === void 0 ? void 0 : _monthSalesList$sales2.time,
122
- y: monthSalesList === null || monthSalesList === void 0 ? void 0 : (_monthSalesList$sales3 = monthSalesList.sales[index]) === null || _monthSalesList$sales3 === void 0 ? void 0 : _monthSalesList$sales3.sales
122
+ x: monthSalesList === null || monthSalesList === void 0 || (_monthSalesList$sales2 = monthSalesList.sales[index]) === null || _monthSalesList$sales2 === void 0 ? void 0 : _monthSalesList$sales2.time,
123
+ y: monthSalesList === null || monthSalesList === void 0 || (_monthSalesList$sales3 = monthSalesList.sales[index]) === null || _monthSalesList$sales3 === void 0 ? void 0 : _monthSalesList$sales3.sales
123
124
  });
124
125
  } else {
125
126
  values.push({
@@ -256,7 +257,7 @@ var HomeUI = function HomeUI(props) {
256
257
  }));
257
258
  }));
258
259
  };
259
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.HomeContainer, null, width > 997 && /*#__PURE__*/_react.default.createElement(_styles.OrderingButtonWrapper, null, /*#__PURE__*/_react.default.createElement("span", null, t('WHAT_DO_YOU_WANT_SEE_ORDERING', 'What do you want to see in ordering?')), /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
260
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.HomeContainer, null, width > 997 && /*#__PURE__*/_react.default.createElement(_styles.OrderingButtonWrapper, null, /*#__PURE__*/_react.default.createElement("span", null, t('WHAT_DO_YOU_WANT_SEE_ORDERING', 'What do you want to see in ordering?')), !isEnabledWhiteLabelModule && /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
260
261
  color: "primary",
261
262
  onClick: function onClick() {
262
263
  return setShowForm(true);
@@ -268,14 +269,14 @@ var HomeUI = function HomeUI(props) {
268
269
  }
269
270
  }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.List, null)), /*#__PURE__*/_react.default.createElement("h1", null, t('HOME', 'Home'))), (projectStatus === null || projectStatus === void 0 ? void 0 : projectStatus.loading) && /*#__PURE__*/_react.default.createElement(_styles.HeaderContainer, null, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
270
271
  height: 150
271
- })), !(projectStatus !== null && projectStatus !== void 0 && projectStatus.loading) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !(projectStatus !== null && projectStatus !== void 0 && (_projectStatus$projec = projectStatus.project) !== null && _projectStatus$projec !== void 0 && _projectStatus$projec.current_status) ? /*#__PURE__*/_react.default.createElement(_styles.HeaderContainer, null, /*#__PURE__*/_react.default.createElement(_styles.WelcomeMsg, null, t('WELCOME_TO_ORDERING', 'Welcome to Ordering'), "!"), /*#__PURE__*/_react.default.createElement(_styles.GuideMsg, null, t('ORDERING_GUIDE_MSG', 'Our guide helps you to configure your Ordering products.'))) : /*#__PURE__*/_react.default.createElement(_styles.ProjectStatusContainer, null, /*#__PURE__*/_react.default.createElement(_styles.ProjectInfoWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.GreetingText, null, t('WELCOME', 'Welcome'), " ", sessionState === null || sessionState === void 0 ? void 0 : (_sessionState$user = sessionState.user) === null || _sessionState$user === void 0 ? void 0 : _sessionState$user.name, "!"), /*#__PURE__*/_react.default.createElement(_styles.ProjectStatusDescription, null, (_projectStatus$projec2 = projectStatus.project) !== null && _projectStatus$projec2 !== void 0 && _projectStatus$projec2.current_status_until && ((_projectStatus$projec3 = projectStatus.project) === null || _projectStatus$projec3 === void 0 ? void 0 : _projectStatus$projec3.current_status) === 'past_due' ? (_project$projectStatu = project[(_projectStatus$projec4 = projectStatus.project) === null || _projectStatus$projec4 === void 0 ? void 0 : _projectStatus$projec4.current_status]) === null || _project$projectStatu === void 0 ? void 0 : _project$projectStatu.description.replace('_days_', (0, _utils.getCurrentDiffDays)((_projectStatus$projec5 = projectStatus.project) === null || _projectStatus$projec5 === void 0 ? void 0 : _projectStatus$projec5.current_status_until)) : (_project$projectStatu2 = project[(_projectStatus$projec6 = projectStatus.project) === null || _projectStatus$projec6 === void 0 ? void 0 : _projectStatus$projec6.current_status]) === null || _project$projectStatu2 === void 0 ? void 0 : _project$projectStatu2.description), /*#__PURE__*/_react.default.createElement(_styles.ProjectStatusWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.ProjectCurrentStatus, {
272
+ })), !(projectStatus !== null && projectStatus !== void 0 && projectStatus.loading) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !(projectStatus !== null && projectStatus !== void 0 && (_projectStatus$projec = projectStatus.project) !== null && _projectStatus$projec !== void 0 && _projectStatus$projec.current_status) ? /*#__PURE__*/_react.default.createElement(_styles.HeaderContainer, null, /*#__PURE__*/_react.default.createElement(_styles.WelcomeMsg, null, t('WELCOME_TO_ORDERING', 'Welcome to Ordering'), "!"), /*#__PURE__*/_react.default.createElement(_styles.GuideMsg, null, t('ORDERING_GUIDE_MSG', 'Our guide helps you to configure your Ordering products.'))) : /*#__PURE__*/_react.default.createElement(_styles.ProjectStatusContainer, null, /*#__PURE__*/_react.default.createElement(_styles.ProjectInfoWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.GreetingText, null, t('WELCOME', 'Welcome'), " ", sessionState === null || sessionState === void 0 || (_sessionState$user = sessionState.user) === null || _sessionState$user === void 0 ? void 0 : _sessionState$user.name, "!"), /*#__PURE__*/_react.default.createElement(_styles.ProjectStatusDescription, null, (_projectStatus$projec2 = projectStatus.project) !== null && _projectStatus$projec2 !== void 0 && _projectStatus$projec2.current_status_until && ((_projectStatus$projec3 = projectStatus.project) === null || _projectStatus$projec3 === void 0 ? void 0 : _projectStatus$projec3.current_status) === 'past_due' ? (_project$projectStatu = project[(_projectStatus$projec4 = projectStatus.project) === null || _projectStatus$projec4 === void 0 ? void 0 : _projectStatus$projec4.current_status]) === null || _project$projectStatu === void 0 ? void 0 : _project$projectStatu.description.replace('_days_', (0, _utils.getCurrentDiffDays)((_projectStatus$projec5 = projectStatus.project) === null || _projectStatus$projec5 === void 0 ? void 0 : _projectStatus$projec5.current_status_until)) : (_project$projectStatu2 = project[(_projectStatus$projec6 = projectStatus.project) === null || _projectStatus$projec6 === void 0 ? void 0 : _projectStatus$projec6.current_status]) === null || _project$projectStatu2 === void 0 ? void 0 : _project$projectStatu2.description), /*#__PURE__*/_react.default.createElement(_styles.ProjectStatusWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.ProjectCurrentStatus, {
272
273
  isActive: ((_projectStatus$projec7 = projectStatus.project) === null || _projectStatus$projec7 === void 0 ? void 0 : _projectStatus$projec7.current_status) === 'active'
273
274
  }, (_project$projectStatu3 = project[(_projectStatus$projec8 = projectStatus.project) === null || _projectStatus$projec8 === void 0 ? void 0 : _projectStatus$projec8.current_status]) === null || _project$projectStatu3 === void 0 ? void 0 : _project$projectStatu3.status), /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
274
275
  color: "primary",
275
276
  borderRadius: "8px",
276
277
  onClick: function onClick() {
277
278
  var _configs$site_url;
278
- return window.open(site !== null && site !== void 0 && site.domain && (site === null || site === void 0 ? void 0 : site.ssl_process_status) === 'ended' ? "https://".concat(site === null || site === void 0 ? void 0 : site.domain) : (configs === null || configs === void 0 ? void 0 : (_configs$site_url = configs.site_url) === null || _configs$site_url === void 0 ? void 0 : _configs$site_url.value) || "https://".concat(ordering === null || ordering === void 0 ? void 0 : ordering.project, ".tryordering.com"), '_blank');
279
+ return window.open(site !== null && site !== void 0 && site.domain && (site === null || site === void 0 ? void 0 : site.ssl_process_status) === 'ended' ? "https://".concat(site === null || site === void 0 ? void 0 : site.domain) : (configs === null || configs === void 0 || (_configs$site_url = configs.site_url) === null || _configs$site_url === void 0 ? void 0 : _configs$site_url.value) || "https://".concat(ordering === null || ordering === void 0 ? void 0 : ordering.project, ".tryordering.com"), '_blank');
279
280
  }
280
281
  }, t('VISIT_MY_WEBSITE', 'Visit my Website')))), /*#__PURE__*/_react.default.createElement("img", {
281
282
  src: (_project$projectStatu4 = project[(_projectStatus$projec9 = projectStatus.project) === null || _projectStatus$projec9 === void 0 ? void 0 : _projectStatus$projec9.current_status]) === null || _project$projectStatu4 === void 0 ? void 0 : _project$projectStatu4.image,
@@ -311,7 +312,7 @@ var HomeUI = function HomeUI(props) {
311
312
  separator: '.'
312
313
  }))), /*#__PURE__*/_react.default.createElement(_styles.BoxIconContainer, {
313
314
  isSales: true
314
- }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Cash, null))))), (sessionState === null || sessionState === void 0 ? void 0 : (_sessionState$user2 = sessionState.user) === null || _sessionState$user2 === void 0 ? void 0 : _sessionState$user2.level) !== 2 && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.ParagraphHeaders, null, /*#__PURE__*/_react.default.createElement("p", null, t('SUPPORT', 'Support'))), /*#__PURE__*/_react.default.createElement(_styles.AssistanceWidgets, null, /*#__PURE__*/_react.default.createElement(_styles.AssistanceTitle, null, /*#__PURE__*/_react.default.createElement("h1", null, t('SUPPORT_TITLE_START', 'Which kind of'), ' ', /*#__PURE__*/_react.default.createElement("span", null, t('SUPPORT_TITLE_END', 'assistance do you need?'))), /*#__PURE__*/_react.default.createElement("p", null, t('ASSIST_SUB_TITILE', 'Choose the asistance you are looking for in the buttons below.'))), /*#__PURE__*/_react.default.createElement(_styles.AssistanceBody, null, /*#__PURE__*/_react.default.createElement(_styles.WidgeBlock, null, /*#__PURE__*/_react.default.createElement("h3", null, t('CONTACT_SALES_TEAM', 'Contact our Sales Team')), /*#__PURE__*/_react.default.createElement("p", null, t('CONTACT_SALES_SUB_TITLE', 'Ask about pricing, custom work, budget and more money talk')), /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
315
+ }, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Cash, null))))), (sessionState === null || sessionState === void 0 || (_sessionState$user2 = sessionState.user) === null || _sessionState$user2 === void 0 ? void 0 : _sessionState$user2.level) !== 2 && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.ParagraphHeaders, null, /*#__PURE__*/_react.default.createElement("p", null, t('SUPPORT', 'Support'))), /*#__PURE__*/_react.default.createElement(_styles.AssistanceWidgets, null, /*#__PURE__*/_react.default.createElement(_styles.AssistanceTitle, null, /*#__PURE__*/_react.default.createElement("h1", null, t('SUPPORT_TITLE_START', 'Which kind of'), ' ', /*#__PURE__*/_react.default.createElement("span", null, t('SUPPORT_TITLE_END', 'assistance do you need?'))), /*#__PURE__*/_react.default.createElement("p", null, t('ASSIST_SUB_TITILE', 'Choose the asistance you are looking for in the buttons below.'))), /*#__PURE__*/_react.default.createElement(_styles.AssistanceBody, null, /*#__PURE__*/_react.default.createElement(_styles.WidgeBlock, null, /*#__PURE__*/_react.default.createElement("h3", null, t('CONTACT_SALES_TEAM', 'Contact our Sales Team')), /*#__PURE__*/_react.default.createElement("p", null, t('CONTACT_SALES_SUB_TITLE', 'Ask about pricing, custom work, budget and more money talk')), /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
315
316
  outline: true,
316
317
  color: "primary",
317
318
  onClick: function onClick() {
@@ -323,7 +324,7 @@ var HomeUI = function HomeUI(props) {
323
324
  onClick: function onClick() {
324
325
  return goToLink('tech');
325
326
  }
326
- }, t('TECH_SUPPORT', 'Tech Support')))))), (sessionState === null || sessionState === void 0 ? void 0 : (_sessionState$user3 = sessionState.user) === null || _sessionState$user3 === void 0 ? void 0 : _sessionState$user3.level) === 0 && /*#__PURE__*/_react.default.createElement(_styles.FeedbackWidgets, null, /*#__PURE__*/_react.default.createElement(_styles.ParagraphHeaders, null, /*#__PURE__*/_react.default.createElement("p", null, t('FEEDBACK', 'Feedback'))), /*#__PURE__*/_react.default.createElement(_styles.FeedbackContainer, null, /*#__PURE__*/_react.default.createElement("h2", null, t('SHARE_WITH_US_YOUR_IDEAS', 'Share with us your ideas')), /*#__PURE__*/_react.default.createElement("p", {
327
+ }, t('TECH_SUPPORT', 'Tech Support')))))), (sessionState === null || sessionState === void 0 || (_sessionState$user3 = sessionState.user) === null || _sessionState$user3 === void 0 ? void 0 : _sessionState$user3.level) === 0 && /*#__PURE__*/_react.default.createElement(_styles.FeedbackWidgets, null, /*#__PURE__*/_react.default.createElement(_styles.ParagraphHeaders, null, /*#__PURE__*/_react.default.createElement("p", null, t('FEEDBACK', 'Feedback'))), /*#__PURE__*/_react.default.createElement(_styles.FeedbackContainer, null, /*#__PURE__*/_react.default.createElement("h2", null, t('SHARE_WITH_US_YOUR_IDEAS', 'Share with us your ideas')), /*#__PURE__*/_react.default.createElement("p", {
327
328
  className: "center"
328
329
  }, t('FEEDBACK_DESCRIPTION', 'Do you think our functionalities can be improved or do you want to see a new feature?')), /*#__PURE__*/_react.default.createElement("p", null, t('SHARE_US_YOUR_COMMENTS', 'Share us your comments')), /*#__PURE__*/_react.default.createElement(_styles.ButtonWrapper, null, /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
329
330
  outline: true,
@@ -24,7 +24,7 @@ var LanguageSelectorUI = function LanguageSelectorUI(props) {
24
24
  notReload = props.notReload,
25
25
  defaultLanguages = props.defaultLanguages,
26
26
  defaultCurrentLanguage = props.defaultCurrentLanguage;
27
- var _languages = languagesState === null || languagesState === void 0 ? void 0 : (_languagesState$langu = languagesState.languages) === null || _languagesState$langu === void 0 ? void 0 : _languagesState$langu.map(function (language) {
27
+ var _languages = languagesState === null || languagesState === void 0 || (_languagesState$langu = languagesState.languages) === null || _languagesState$langu === void 0 ? void 0 : _languagesState$langu.map(function (language) {
28
28
  return {
29
29
  value: language === null || language === void 0 ? void 0 : language.code,
30
30
  content: language === null || language === void 0 ? void 0 : language.name
@@ -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 ForgotPasswordUI = function ForgotPasswordUI(props) {
33
- var _theme$images, _theme$images$general, _theme$images2, _theme$images2$logos;
33
+ var _theme$images, _theme$images2;
34
34
  var hanldeChangeInput = props.hanldeChangeInput,
35
35
  handleButtonForgotPasswordClick = props.handleButtonForgotPasswordClick,
36
36
  formState = props.formState,
@@ -148,9 +148,9 @@ var ForgotPasswordUI = function ForgotPasswordUI(props) {
148
148
  return /*#__PURE__*/_react.default.createElement(_styles.ForgotPasswordContainer, {
149
149
  isPopup: isPopup
150
150
  }, /*#__PURE__*/_react.default.createElement(_styles.HeroContainer, {
151
- bgimage: (_theme$images = theme.images) === null || _theme$images === void 0 ? void 0 : (_theme$images$general = _theme$images.general) === null || _theme$images$general === void 0 ? void 0 : _theme$images$general.loginHero
151
+ bgimage: (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.general) === null || _theme$images === void 0 ? void 0 : _theme$images.loginHero
152
152
  }, /*#__PURE__*/_react.default.createElement("img", {
153
- src: theme === null || theme === void 0 ? void 0 : (_theme$images2 = theme.images) === null || _theme$images2 === void 0 ? void 0 : (_theme$images2$logos = _theme$images2.logos) === null || _theme$images2$logos === void 0 ? void 0 : _theme$images2$logos.logotypeInvert,
153
+ src: theme === null || theme === void 0 || (_theme$images2 = theme.images) === null || _theme$images2 === void 0 || (_theme$images2 = _theme$images2.logos) === null || _theme$images2 === void 0 ? void 0 : _theme$images2.logotypeInvert,
154
154
  alt: "Logo login"
155
155
  })), /*#__PURE__*/_react.default.createElement(_styles.FormSide, {
156
156
  isPopup: isPopup
@@ -41,7 +41,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
41
41
  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; } }
42
42
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
43
43
  var LoginFormUI = function LoginFormUI(props) {
44
- var _configs$dashboard_lo, _theme$images, _theme$images$general, _configs$dashboard_lo2, _theme$images2, _theme$images2$logos;
44
+ var _configs$dashboard_lo, _theme$images, _configs$dashboard_lo2, _theme$images2;
45
45
  var useLoginOtpEmail = props.useLoginOtpEmail,
46
46
  useLoginOptCellphone = props.useLoginOptCellphone,
47
47
  useLoginByCellphone = props.useLoginByCellphone,
@@ -185,12 +185,12 @@ var LoginFormUI = function LoginFormUI(props) {
185
185
  (0, _react.useEffect)(function () {
186
186
  var _formState$result;
187
187
  if (!formState.loading && (_formState$result = formState.result) !== null && _formState$result !== void 0 && _formState$result.error) {
188
- var _formState$result2, _formState$result2$re, _formState$result3;
189
- if (((_formState$result2 = formState.result) === null || _formState$result2 === void 0 ? void 0 : (_formState$result2$re = _formState$result2.result) === null || _formState$result2$re === void 0 ? void 0 : _formState$result2$re[0]) === 'ERROR_AUTH_VERIFICATION_CODE') {
188
+ var _formState$result2, _formState$result3;
189
+ if (((_formState$result2 = formState.result) === null || _formState$result2 === void 0 || (_formState$result2 = _formState$result2.result) === null || _formState$result2 === void 0 ? void 0 : _formState$result2[0]) === 'ERROR_AUTH_VERIFICATION_CODE') {
190
190
  var _configs$security_rec;
191
191
  setRecaptchaVersion({
192
192
  version: 'v2',
193
- siteKey: configs === null || configs === void 0 ? void 0 : (_configs$security_rec = configs.security_recaptcha_site_key) === null || _configs$security_rec === void 0 ? void 0 : _configs$security_rec.value
193
+ siteKey: configs === null || configs === void 0 || (_configs$security_rec = configs.security_recaptcha_site_key) === null || _configs$security_rec === void 0 ? void 0 : _configs$security_rec.value
194
194
  });
195
195
  setAlertState({
196
196
  open: true,
@@ -236,7 +236,7 @@ var LoginFormUI = function LoginFormUI(props) {
236
236
  var _checkPhoneCodeState$2;
237
237
  setAlertState({
238
238
  open: true,
239
- content: (checkPhoneCodeState === null || checkPhoneCodeState === void 0 ? void 0 : (_checkPhoneCodeState$2 = checkPhoneCodeState.result) === null || _checkPhoneCodeState$2 === void 0 ? void 0 : _checkPhoneCodeState$2.result) || [t('ERROR', 'Error')]
239
+ content: (checkPhoneCodeState === null || checkPhoneCodeState === void 0 || (_checkPhoneCodeState$2 = checkPhoneCodeState.result) === null || _checkPhoneCodeState$2 === void 0 ? void 0 : _checkPhoneCodeState$2.result) || [t('ERROR', 'Error')]
240
240
  });
241
241
  } else if (checkPhoneCodeState !== null && checkPhoneCodeState !== void 0 && (_checkPhoneCodeState$3 = checkPhoneCodeState.result) !== null && _checkPhoneCodeState$3 !== void 0 && _checkPhoneCodeState$3.result) {
242
242
  setAlertState({
@@ -256,13 +256,13 @@ var LoginFormUI = function LoginFormUI(props) {
256
256
  }, [otpLeftTime]);
257
257
  (0, _react.useEffect)(function () {
258
258
  var _configs$security_rec2;
259
- if (configs && Object.keys(configs).length > 0 && (configs === null || configs === void 0 ? void 0 : (_configs$security_rec2 = configs.security_recaptcha_auth) === null || _configs$security_rec2 === void 0 ? void 0 : _configs$security_rec2.value) === '1') {
259
+ if (configs && Object.keys(configs).length > 0 && (configs === null || configs === void 0 || (_configs$security_rec2 = configs.security_recaptcha_auth) === null || _configs$security_rec2 === void 0 ? void 0 : _configs$security_rec2.value) === '1') {
260
260
  var _configs$security_rec3, _configs$security_rec4, _configs$security_rec5, _configs$security_rec7;
261
- if ((configs === null || configs === void 0 ? void 0 : (_configs$security_rec3 = configs.security_recaptcha_type) === null || _configs$security_rec3 === void 0 ? void 0 : _configs$security_rec3.value) === 'v3' && (configs === null || configs === void 0 ? void 0 : (_configs$security_rec4 = configs.security_recaptcha_score_v3) === null || _configs$security_rec4 === void 0 ? void 0 : _configs$security_rec4.value) > 0 && configs !== null && configs !== void 0 && (_configs$security_rec5 = configs.security_recaptcha_site_key_v3) !== null && _configs$security_rec5 !== void 0 && _configs$security_rec5.value) {
261
+ if ((configs === null || configs === void 0 || (_configs$security_rec3 = configs.security_recaptcha_type) === null || _configs$security_rec3 === void 0 ? void 0 : _configs$security_rec3.value) === 'v3' && (configs === null || configs === void 0 || (_configs$security_rec4 = configs.security_recaptcha_score_v3) === null || _configs$security_rec4 === void 0 ? void 0 : _configs$security_rec4.value) > 0 && configs !== null && configs !== void 0 && (_configs$security_rec5 = configs.security_recaptcha_site_key_v3) !== null && _configs$security_rec5 !== void 0 && _configs$security_rec5.value) {
262
262
  var _configs$security_rec6;
263
263
  setRecaptchaVersion({
264
264
  version: 'v3',
265
- siteKey: configs === null || configs === void 0 ? void 0 : (_configs$security_rec6 = configs.security_recaptcha_site_key_v3) === null || _configs$security_rec6 === void 0 ? void 0 : _configs$security_rec6.value
265
+ siteKey: configs === null || configs === void 0 || (_configs$security_rec6 = configs.security_recaptcha_site_key_v3) === null || _configs$security_rec6 === void 0 ? void 0 : _configs$security_rec6.value
266
266
  });
267
267
  return;
268
268
  }
@@ -270,7 +270,7 @@ var LoginFormUI = function LoginFormUI(props) {
270
270
  var _configs$security_rec8;
271
271
  setRecaptchaVersion({
272
272
  version: 'v2',
273
- siteKey: configs === null || configs === void 0 ? void 0 : (_configs$security_rec8 = configs.security_recaptcha_site_key) === null || _configs$security_rec8 === void 0 ? void 0 : _configs$security_rec8.value
273
+ siteKey: configs === null || configs === void 0 || (_configs$security_rec8 = configs.security_recaptcha_site_key) === null || _configs$security_rec8 === void 0 ? void 0 : _configs$security_rec8.value
274
274
  });
275
275
  }
276
276
  }
@@ -278,9 +278,9 @@ var LoginFormUI = function LoginFormUI(props) {
278
278
  return /*#__PURE__*/_react.default.createElement(_styles2.LoginContainer, {
279
279
  isPopup: isPopup
280
280
  }, /*#__PURE__*/_react.default.createElement(_styles2.LoginHeroContainer, {
281
- bgimage: (configs === null || configs === void 0 ? void 0 : (_configs$dashboard_lo = configs.dashboard_login_background) === null || _configs$dashboard_lo === void 0 ? void 0 : _configs$dashboard_lo.value) || ((_theme$images = theme.images) === null || _theme$images === void 0 ? void 0 : (_theme$images$general = _theme$images.general) === null || _theme$images$general === void 0 ? void 0 : _theme$images$general.loginHero)
281
+ bgimage: (configs === null || configs === void 0 || (_configs$dashboard_lo = configs.dashboard_login_background) === null || _configs$dashboard_lo === void 0 ? void 0 : _configs$dashboard_lo.value) || ((_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.general) === null || _theme$images === void 0 ? void 0 : _theme$images.loginHero)
282
282
  }, /*#__PURE__*/_react.default.createElement("img", {
283
- src: (configs === null || configs === void 0 ? void 0 : (_configs$dashboard_lo2 = configs.dashboard_logo) === null || _configs$dashboard_lo2 === void 0 ? void 0 : _configs$dashboard_lo2.value) || (theme === null || theme === void 0 ? void 0 : (_theme$images2 = theme.images) === null || _theme$images2 === void 0 ? void 0 : (_theme$images2$logos = _theme$images2.logos) === null || _theme$images2$logos === void 0 ? void 0 : _theme$images2$logos.logotypeInvert),
283
+ src: (configs === null || configs === void 0 || (_configs$dashboard_lo2 = configs.dashboard_logo) === null || _configs$dashboard_lo2 === void 0 ? void 0 : _configs$dashboard_lo2.value) || (theme === null || theme === void 0 || (_theme$images2 = theme.images) === null || _theme$images2 === void 0 || (_theme$images2 = _theme$images2.logos) === null || _theme$images2 === void 0 ? void 0 : _theme$images2.logotypeInvert),
284
284
  alt: "Logo login"
285
285
  })), /*#__PURE__*/_react.default.createElement(_styles2.FormSide, {
286
286
  isPopup: isPopup
@@ -32,7 +32,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
32
32
  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; } }
33
33
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
34
34
  var ResetPasswordUI = function ResetPasswordUI(props) {
35
- var _props$beforeElements, _props$beforeComponen, _theme$images, _theme$images$general, _theme$images2, _theme$images2$logos, _props$afterComponent, _props$afterElements;
35
+ var _props$beforeElements, _props$beforeComponen, _theme$images, _theme$images2, _props$afterComponent, _props$afterElements;
36
36
  var code = props.code,
37
37
  random = props.random,
38
38
  project = props.project,
@@ -95,14 +95,14 @@ var ResetPasswordUI = function ResetPasswordUI(props) {
95
95
  }, 750);
96
96
  };
97
97
  (0, _react.useEffect)(function () {
98
- var _formState$result, _formState$result3, _formState$result3$re;
98
+ var _formState$result, _formState$result3;
99
99
  if (!formState.loading && (_formState$result = formState.result) !== null && _formState$result !== void 0 && _formState$result.error) {
100
100
  var _formState$result2;
101
101
  setAlertState({
102
102
  open: true,
103
103
  content: ((_formState$result2 = formState.result) === null || _formState$result2 === void 0 ? void 0 : _formState$result2.result) || [t('ERROR', 'Error')]
104
104
  });
105
- } else if (!formState.loading && (_formState$result3 = formState.result) !== null && _formState$result3 !== void 0 && (_formState$result3$re = _formState$result3.result) !== null && _formState$result3$re !== void 0 && _formState$result3$re.length) {
105
+ } else if (!formState.loading && (_formState$result3 = formState.result) !== null && _formState$result3 !== void 0 && (_formState$result3 = _formState$result3.result) !== null && _formState$result3 !== void 0 && _formState$result3.length) {
106
106
  var _formState$result4, _formState$result5;
107
107
  setAlertState({
108
108
  open: true,
@@ -139,9 +139,9 @@ var ResetPasswordUI = function ResetPasswordUI(props) {
139
139
  key: i
140
140
  }, props));
141
141
  }), /*#__PURE__*/_react.default.createElement(_styles.ResetPasswordContainer, null, /*#__PURE__*/_react.default.createElement(_styles.HeroContainer, {
142
- bgimage: (_theme$images = theme.images) === null || _theme$images === void 0 ? void 0 : (_theme$images$general = _theme$images.general) === null || _theme$images$general === void 0 ? void 0 : _theme$images$general.loginHero
142
+ bgimage: (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.general) === null || _theme$images === void 0 ? void 0 : _theme$images.loginHero
143
143
  }, /*#__PURE__*/_react.default.createElement("img", {
144
- src: theme === null || theme === void 0 ? void 0 : (_theme$images2 = theme.images) === null || _theme$images2 === void 0 ? void 0 : (_theme$images2$logos = _theme$images2.logos) === null || _theme$images2$logos === void 0 ? void 0 : _theme$images2$logos.logotypeInvert,
144
+ src: theme === null || theme === void 0 || (_theme$images2 = theme.images) === null || _theme$images2 === void 0 || (_theme$images2 = _theme$images2.logos) === null || _theme$images2 === void 0 ? void 0 : _theme$images2.logotypeInvert,
145
145
  alt: "Logo login"
146
146
  })), code && random ? /*#__PURE__*/_react.default.createElement(_styles.FormSide, null, /*#__PURE__*/_react.default.createElement(_styles.TitleFormSide, null, /*#__PURE__*/_react.default.createElement("h1", null, t('TITLE_RESET_PASSWORD', 'Reset password')), /*#__PURE__*/_react.default.createElement("p", null, t('SUBTITLE_RESET_PASSWORD', 'Reset your password'))), /*#__PURE__*/_react.default.createElement(_styles.FormInput, {
147
147
  noValidate: true,
@@ -99,21 +99,21 @@ var GiftCardDetailUI = function GiftCardDetailUI(props) {
99
99
  };
100
100
  var onSubmit = function onSubmit() {
101
101
  var _formState$changes, _formState$changes2, _formState$changes3;
102
- if ((formState === null || formState === void 0 ? void 0 : (_formState$changes = formState.changes) === null || _formState$changes === void 0 ? void 0 : _formState$changes.name) === '') {
102
+ if ((formState === null || formState === void 0 || (_formState$changes = formState.changes) === null || _formState$changes === void 0 ? void 0 : _formState$changes.name) === '') {
103
103
  setAlertState({
104
104
  open: true,
105
105
  content: t('VALIDATION_ERROR_REQUIRED', 'Value is required').replace('_attribute_', 'name')
106
106
  });
107
107
  return;
108
108
  }
109
- if ((formState === null || formState === void 0 ? void 0 : (_formState$changes2 = formState.changes) === null || _formState$changes2 === void 0 ? void 0 : _formState$changes2.accumulation_rate) === '') {
109
+ if ((formState === null || formState === void 0 || (_formState$changes2 = formState.changes) === null || _formState$changes2 === void 0 ? void 0 : _formState$changes2.accumulation_rate) === '') {
110
110
  setAlertState({
111
111
  open: true,
112
112
  content: t('VALIDATION_ERROR_REQUIRED', 'Value is required').replace('_attribute_', 'accumulation_rate')
113
113
  });
114
114
  return;
115
115
  }
116
- if ((formState === null || formState === void 0 ? void 0 : (_formState$changes3 = formState.changes) === null || _formState$changes3 === void 0 ? void 0 : _formState$changes3.minimum_points) === '') {
116
+ if ((formState === null || formState === void 0 || (_formState$changes3 = formState.changes) === null || _formState$changes3 === void 0 ? void 0 : _formState$changes3.minimum_points) === '') {
117
117
  setAlertState({
118
118
  open: true,
119
119
  content: t('VALIDATION_ERROR_REQUIRED', 'Value is required').replace('_attribute_', 'points_required')
@@ -165,7 +165,7 @@ var GiftCardDetailUI = function GiftCardDetailUI(props) {
165
165
  content: formState.error
166
166
  });
167
167
  }, [formState === null || formState === void 0 ? void 0 : formState.error]);
168
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles2.Container, null, /*#__PURE__*/_react.default.createElement(_styles2.DetailsHeader, null, /*#__PURE__*/_react.default.createElement(_styles2.LeftHeader, null, /*#__PURE__*/_react.default.createElement(_styles2.LevelName, null, product !== null && product !== void 0 && product.id ? (_formState$changes$na = formState === null || formState === void 0 ? void 0 : (_formState$changes4 = formState.changes) === null || _formState$changes4 === void 0 ? void 0 : _formState$changes4.name) !== null && _formState$changes$na !== void 0 ? _formState$changes$na : product === null || product === void 0 ? void 0 : product.name : t('NEW_GIFT_CARD', 'New gift card')), (product === null || product === void 0 ? void 0 : product.id) && /*#__PURE__*/_react.default.createElement(_styles.Switch, {
168
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles2.Container, null, /*#__PURE__*/_react.default.createElement(_styles2.DetailsHeader, null, /*#__PURE__*/_react.default.createElement(_styles2.LeftHeader, null, /*#__PURE__*/_react.default.createElement(_styles2.LevelName, null, product !== null && product !== void 0 && product.id ? (_formState$changes$na = formState === null || formState === void 0 || (_formState$changes4 = formState.changes) === null || _formState$changes4 === void 0 ? void 0 : _formState$changes4.name) !== null && _formState$changes$na !== void 0 ? _formState$changes$na : product === null || product === void 0 ? void 0 : product.name : t('NEW_GIFT_CARD', 'New gift card')), (product === null || product === void 0 ? void 0 : product.id) && /*#__PURE__*/_react.default.createElement(_styles.Switch, {
169
169
  defaultChecked: product === null || product === void 0 ? void 0 : product.enabled,
170
170
  onChange: function onChange(val) {
171
171
  return handleUpdateProduct({
@@ -203,21 +203,21 @@ var GiftCardDetailUI = function GiftCardDetailUI(props) {
203
203
  src: optimizeImage(product === null || product === void 0 ? void 0 : product.image, 'h_200,c_limit'),
204
204
  alt: "tag image",
205
205
  loading: "lazy"
206
- }) : (formState === null || formState === void 0 ? void 0 : (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.image) && /*#__PURE__*/_react.default.createElement("img", {
207
- src: formState === null || formState === void 0 ? void 0 : (_formState$changes7 = formState.changes) === null || _formState$changes7 === void 0 ? void 0 : _formState$changes7.image,
206
+ }) : (formState === null || formState === void 0 || (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.image) && /*#__PURE__*/_react.default.createElement("img", {
207
+ src: formState === null || formState === void 0 || (_formState$changes7 = formState.changes) === null || _formState$changes7 === void 0 ? void 0 : _formState$changes7.image,
208
208
  alt: "tag image",
209
209
  loading: "lazy"
210
210
  }), /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIconContainer, null, /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Image, null)))))), /*#__PURE__*/_react.default.createElement(_styles2.FormController, null, /*#__PURE__*/_react.default.createElement("label", null, t('NAME', 'Name')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
211
211
  name: "name",
212
212
  placeholder: t('Name', 'name'),
213
- value: (_ref = (_formState$changes$na2 = formState === null || formState === void 0 ? void 0 : (_formState$changes8 = formState.changes) === null || _formState$changes8 === void 0 ? void 0 : _formState$changes8.name) !== null && _formState$changes$na2 !== void 0 ? _formState$changes$na2 : product === null || product === void 0 ? void 0 : product.name) !== null && _ref !== void 0 ? _ref : '',
213
+ value: (_ref = (_formState$changes$na2 = formState === null || formState === void 0 || (_formState$changes8 = formState.changes) === null || _formState$changes8 === void 0 ? void 0 : _formState$changes8.name) !== null && _formState$changes$na2 !== void 0 ? _formState$changes$na2 : product === null || product === void 0 ? void 0 : product.name) !== null && _ref !== void 0 ? _ref : '',
214
214
  onChange: handleChangeInput,
215
215
  disabled: formState.loading,
216
216
  autoComplete: "off"
217
217
  })), /*#__PURE__*/_react.default.createElement(_styles2.FormController, null, /*#__PURE__*/_react.default.createElement("label", null, t('AMOUNT', 'Amount')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
218
218
  name: "price",
219
219
  placeholder: t('AMOUNT', 'Amount'),
220
- value: (_ref2 = (_formState$changes$pr = formState === null || formState === void 0 ? void 0 : (_formState$changes9 = formState.changes) === null || _formState$changes9 === void 0 ? void 0 : _formState$changes9.price) !== null && _formState$changes$pr !== void 0 ? _formState$changes$pr : product === null || product === void 0 ? void 0 : product.price) !== null && _ref2 !== void 0 ? _ref2 : '',
220
+ value: (_ref2 = (_formState$changes$pr = formState === null || formState === void 0 || (_formState$changes9 = formState.changes) === null || _formState$changes9 === void 0 ? void 0 : _formState$changes9.price) !== null && _formState$changes$pr !== void 0 ? _formState$changes$pr : product === null || product === void 0 ? void 0 : product.price) !== null && _ref2 !== void 0 ? _ref2 : '',
221
221
  onChange: handleChangeInput,
222
222
  disabled: formState.loading,
223
223
  autoComplete: "off",
@@ -123,8 +123,8 @@ var GiftCardsUI = function GiftCardsUI(props) {
123
123
  width: 16,
124
124
  height: 16
125
125
  }));
126
- })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (platformProductsListState === null || platformProductsListState === void 0 ? void 0 : (_platformProductsList = platformProductsListState.products) === null || _platformProductsList === void 0 ? void 0 : _platformProductsList.length) > 0 ? platformProductsListState === null || platformProductsListState === void 0 ? void 0 : platformProductsListState.products.map(function (product) {
127
- var _theme$images, _theme$images$dummies;
126
+ })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (platformProductsListState === null || platformProductsListState === void 0 || (_platformProductsList = platformProductsListState.products) === null || _platformProductsList === void 0 ? void 0 : _platformProductsList.length) > 0 ? platformProductsListState === null || platformProductsListState === void 0 ? void 0 : platformProductsListState.products.map(function (product) {
127
+ var _theme$images;
128
128
  return /*#__PURE__*/_react.default.createElement(_styles.ItemContainer, {
129
129
  key: product.id,
130
130
  onClick: function onClick() {
@@ -132,7 +132,7 @@ var GiftCardsUI = function GiftCardsUI(props) {
132
132
  },
133
133
  active: (product === null || product === void 0 ? void 0 : product.id) === (selectedProduct === null || selectedProduct === void 0 ? void 0 : selectedProduct.id)
134
134
  }, /*#__PURE__*/_react.default.createElement(_styles.InfoWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.WrapperImage, null, /*#__PURE__*/_react.default.createElement(_styles.Image, {
135
- bgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.image) || ((_theme$images = theme.images) === null || _theme$images === void 0 ? void 0 : (_theme$images$dummies = _theme$images.dummies) === null || _theme$images$dummies === void 0 ? void 0 : _theme$images$dummies.product))
135
+ bgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.image) || ((_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.dummies) === null || _theme$images === void 0 ? void 0 : _theme$images.product))
136
136
  })), /*#__PURE__*/_react.default.createElement(_styles.ProductName, null, product === null || product === void 0 ? void 0 : product.name)), /*#__PURE__*/_react.default.createElement(_styles.PriceWrapper, null, /*#__PURE__*/_react.default.createElement("span", null, parsePrice(product === null || product === void 0 ? void 0 : product.price)), /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.ChevronRight, null)));
137
137
  }) : /*#__PURE__*/_react.default.createElement(_styles.NotFoundSourceWrapper, null, /*#__PURE__*/_react.default.createElement(_Shared.NotFoundSource, null)))), /*#__PURE__*/_react.default.createElement(_styles.BottomContainer, null, /*#__PURE__*/_react.default.createElement(_styles2.Button, {
138
138
  color: "primary",