ordering-ui-admin-external 1.30.6 → 1.30.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_bundles/{ordering-ui-admin.7f043fd81bc0483e027b.js → ordering-ui-admin.a29dbc53a1f823ce0ce5.js} +2 -2
- package/_bundles/{ordering-ui-admin.7f043fd81bc0483e027b.js.LICENSE.txt → ordering-ui-admin.a29dbc53a1f823ce0ce5.js.LICENSE.txt} +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsAvailableTimes/index.js +10 -10
- package/_modules/components/BusinessIntelligence/AnalyticsBusinessFilter/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsBusyTimes/index.js +10 -10
- package/_modules/components/BusinessIntelligence/AnalyticsCalendar/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsCustomerSatisfaction/index.js +10 -10
- package/_modules/components/BusinessIntelligence/AnalyticsDriverOrders/index.js +18 -18
- package/_modules/components/BusinessIntelligence/AnalyticsMap/index.js +4 -4
- package/_modules/components/BusinessIntelligence/AnalyticsOrdersOrSales/index.js +3 -3
- package/_modules/components/BusinessIntelligence/AnalyticsOrdersStatus/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsRegisterUsers/index.js +6 -6
- package/_modules/components/BusinessIntelligence/AnalyticsSpendTimes/index.js +12 -12
- package/_modules/components/BusinessIntelligence/BusinessReviewDetails/index.js +4 -4
- package/_modules/components/BusinessIntelligence/BusinessReviewList/index.js +4 -4
- package/_modules/components/BusinessIntelligence/CountryFilter/index.js +1 -1
- package/_modules/components/BusinessIntelligence/InvoiceBusinessPdf/index.js +20 -20
- package/_modules/components/BusinessIntelligence/InvoiceDriverPdf/index.js +20 -20
- package/_modules/components/BusinessIntelligence/InvoiceGeneral/index.js +2 -2
- package/_modules/components/BusinessIntelligence/ReportsAverageSales/index.js +14 -14
- package/_modules/components/BusinessIntelligence/ReportsBarChart/index.js +3 -3
- package/_modules/components/BusinessIntelligence/ReportsBusinessDistance/index.js +24 -24
- package/_modules/components/BusinessIntelligence/ReportsBusinessSpend/index.js +9 -9
- package/_modules/components/BusinessIntelligence/ReportsCustomer/index.js +15 -15
- package/_modules/components/BusinessIntelligence/ReportsDriverDistance/index.js +8 -8
- package/_modules/components/BusinessIntelligence/ReportsDriverFilter/index.js +3 -3
- package/_modules/components/BusinessIntelligence/ReportsDriverOrder/index.js +9 -9
- package/_modules/components/BusinessIntelligence/ReportsDriverOrderTime/index.js +9 -9
- package/_modules/components/BusinessIntelligence/ReportsDriverSchedule/index.js +7 -7
- package/_modules/components/BusinessIntelligence/ReportsDriverSpend/index.js +9 -9
- package/_modules/components/BusinessIntelligence/ReportsGeneralSales/index.js +9 -9
- package/_modules/components/BusinessIntelligence/ReportsHeatMap/index.js +9 -9
- package/_modules/components/BusinessIntelligence/ReportsOrderDistance/index.js +21 -21
- package/_modules/components/BusinessIntelligence/ReportsOrderStatus/index.js +14 -14
- package/_modules/components/BusinessIntelligence/ReportsOrderTypeFilter/index.js +2 -2
- package/_modules/components/BusinessIntelligence/ReportsOrders/index.js +19 -19
- package/_modules/components/BusinessIntelligence/ReportsPaymethodSales/index.js +9 -9
- package/_modules/components/BusinessIntelligence/ReportsSaleAndCategory/index.js +17 -17
- package/_modules/components/BusinessIntelligence/ReportsSales/index.js +19 -19
- package/_modules/components/BusinessIntelligence/ReportsSpentTIme/index.js +8 -8
- package/_modules/components/BusinessIntelligence/ReportsTopDrivers/index.js +24 -24
- package/_modules/components/BusinessIntelligence/ReportsUsers/index.js +14 -14
- package/_modules/components/BusinessIntelligence/ReviewProductsListing/index.js +4 -4
- package/_modules/components/BusinessIntelligence/UsersReviewList/index.js +1 -1
- package/_modules/components/CartRecovery/OpenCartBill/index.js +24 -24
- package/_modules/components/CartRecovery/OpenCartList/index.js +6 -6
- package/_modules/components/CartRecovery/OpenCartsContactInformation/index.js +8 -8
- package/_modules/components/CartRecovery/OpenCartsDetail/index.js +3 -3
- package/_modules/components/CartRecovery/RecoveryActionAdd/index.js +8 -8
- package/_modules/components/CartRecovery/RecoveryActionDetail/index.js +1 -1
- package/_modules/components/CartRecovery/RecoveryActionList/index.js +2 -2
- package/_modules/components/CartRecovery/RecoveryGeneral/index.js +6 -6
- package/_modules/components/CartRecovery/SingleRecoveryNotification/index.js +5 -5
- package/_modules/components/Delivery/AddressForm/index.js +29 -29
- package/_modules/components/Delivery/AddressList/index.js +11 -11
- package/_modules/components/Delivery/DriverGroupSetting/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupAddForm/BusinessesForm/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupAddForm/PaymethodsForm/index.js +2 -2
- package/_modules/components/Delivery/DriversGroupAddForm/index.js +2 -2
- package/_modules/components/Delivery/DriversGroupBusinesses/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupCompanies/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupDeliveryDetails/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupDeliveryZoneInformation/index.js +18 -18
- package/_modules/components/Delivery/DriversGroupDeliveryZoneList/index.js +4 -4
- package/_modules/components/Delivery/DriversGroupDetails/index.js +2 -2
- package/_modules/components/Delivery/DriversGroupDrivers/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupLogs/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupOrders/index.js +5 -5
- package/_modules/components/Delivery/DriversGroupPaymethods/index.js +2 -2
- package/_modules/components/Delivery/DriversGroupsDeliveryZoneDetails/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupsList/index.js +2 -2
- package/_modules/components/Delivery/DriversGroupsListing/index.js +4 -4
- package/_modules/components/Delivery/UserAddForm/index.js +13 -13
- package/_modules/components/Delivery/UserDetails/index.js +6 -6
- package/_modules/components/Delivery/UserFormDetails/index.js +10 -10
- package/_modules/components/Delivery/UserProfileForm/index.js +7 -7
- package/_modules/components/Home/HomePage/index.js +7 -7
- package/_modules/components/LanguageSelector/index.js +1 -1
- package/_modules/components/Login/ForgotPasswordForm/index.js +3 -3
- package/_modules/components/Login/LoginForm/index.js +11 -11
- package/_modules/components/Login/ResetPassword/index.js +5 -5
- package/_modules/components/Loyalty/GiftCardDetail/index.js +8 -8
- package/_modules/components/Loyalty/GiftCards/index.js +3 -3
- package/_modules/components/Loyalty/LoyaltyLevelDetail/index.js +10 -10
- package/_modules/components/Loyalty/PointsWalletBusinessDetail/index.js +6 -6
- package/_modules/components/Loyalty/PointsWalletBusinessList/index.js +3 -3
- package/_modules/components/Loyalty/PointsWalletLevels/index.js +3 -3
- package/_modules/components/Marketing/BannerDetails/Businesses/index.js +1 -1
- package/_modules/components/Marketing/BannerDetails/index.js +5 -5
- package/_modules/components/Marketing/BannerImageDetails/BusinessLink.js +2 -2
- package/_modules/components/Marketing/BannerImageDetails/ProductLink.js +3 -3
- package/_modules/components/Marketing/BannerImageDetails/SelectBusinessProducts/index.js +7 -7
- package/_modules/components/Marketing/BannerImageDetails/index.js +1 -1
- package/_modules/components/Marketing/CampaignAmountOption/index.js +4 -4
- package/_modules/components/Marketing/CampaignDetail/index.js +1 -1
- package/_modules/components/Marketing/CampaignDetailContent/index.js +2 -2
- package/_modules/components/Marketing/CampaignDetailGeneral/index.js +19 -19
- package/_modules/components/Marketing/CampaignEmail/index.js +15 -15
- package/_modules/components/Marketing/CampaignHeader/index.js +1 -1
- package/_modules/components/Marketing/CampaignList/index.js +2 -2
- package/_modules/components/Marketing/CampaignNotification/index.js +12 -12
- package/_modules/components/Marketing/CampaignPopup/index.js +10 -10
- package/_modules/components/Marketing/CampaignSMS/index.js +11 -11
- package/_modules/components/Marketing/CampaignSignUpOption/index.js +5 -5
- package/_modules/components/Marketing/CampaignUsersList/index.js +4 -4
- package/_modules/components/Marketing/CampaignWebHook/index.js +11 -11
- package/_modules/components/Marketing/CampaignWhatsapp/index.js +10 -10
- package/_modules/components/Marketing/EnterprisePromotionDeliveryzones/index.js +6 -6
- package/_modules/components/Marketing/EnterprisePromotionDetails/index.js +4 -4
- package/_modules/components/Marketing/EnterprisePromotionGeneralDetails/index.js +9 -9
- package/_modules/components/Marketing/EnterprisePromotionMaxOrders/index.js +1 -1
- package/_modules/components/Marketing/EnterprisePromotionOrderTypes/index.js +2 -2
- package/_modules/components/Marketing/EnterprisePromotionPaymethods/index.js +7 -7
- package/_modules/components/Marketing/EnterprisePromotionRules/index.js +8 -8
- package/_modules/components/Marketing/EnterprisePromotionSpecficCategory/index.js +12 -12
- package/_modules/components/Marketing/EnterprisePromotionSpecficProducts/index.js +7 -7
- package/_modules/components/Marketing/PageBanner/index.js +1 -1
- package/_modules/components/Messages/ChatBusinessesList/index.js +2 -2
- package/_modules/components/Messages/ChatContactList/index.js +2 -2
- package/_modules/components/MyProducts/AdvancedLayouts/index.js +14 -14
- package/_modules/components/MyProducts/AdvancedSettings/index.js +40 -40
- package/_modules/components/MyProducts/AppResources/index.js +15 -15
- package/_modules/components/MyProducts/CustomDomain/index.js +2 -2
- package/_modules/components/MyProducts/OrderingWebsite/SelectBusiness.js +2 -2
- package/_modules/components/MyProducts/OrderingWebsite/SelectFranchise.js +2 -2
- package/_modules/components/MyProducts/OrderingWebsite/index.js +29 -29
- package/_modules/components/MyProducts/UploadAudio/index.js +2 -2
- package/_modules/components/NotNetworkConnectivity/index.js +2 -2
- package/_modules/components/OrderingProducts/OrderingProductGeneralDetails/index.js +18 -18
- package/_modules/components/OrderingProducts/OrderingProductsListing/index.js +1 -1
- package/_modules/components/OrderingProducts/SiteTheme/ThemeComponent.js +1 -1
- package/_modules/components/OrderingProducts/SiteTheme/index.js +10 -10
- package/_modules/components/Orders/AllInOne/DriversManager/index.js +2 -2
- package/_modules/components/Orders/Appointments/EventComponent.js +3 -3
- package/_modules/components/Orders/Appointments/index.js +2 -2
- package/_modules/components/Orders/CompanySelector/index.js +4 -4
- package/_modules/components/Orders/CreateCustomOrder/CardForm/index.js +3 -3
- package/_modules/components/Orders/CreateCustomOrder/CardFormCustom/index.js +2 -2
- package/_modules/components/Orders/CreateCustomOrder/CartBill/index.js +21 -21
- package/_modules/components/Orders/CreateCustomOrder/Checkout/index.js +26 -26
- package/_modules/components/Orders/CreateCustomOrder/DriverTips/index.js +4 -4
- package/_modules/components/Orders/CreateCustomOrder/Map/index.js +11 -11
- package/_modules/components/Orders/CreateCustomOrder/OrderTypeSelector/index.js +2 -2
- package/_modules/components/Orders/CreateCustomOrder/PaymentOptionCard/index.js +1 -1
- package/_modules/components/Orders/CreateCustomOrder/PaymentOptionCash/index.js +2 -2
- package/_modules/components/Orders/CreateCustomOrder/PaymentOptionPaypal/index.js +1 -1
- package/_modules/components/Orders/CreateCustomOrder/PaymentOptionStripe/index.js +8 -8
- package/_modules/components/Orders/CreateCustomOrder/PaymentOptionStripe/styles.js +1 -1
- package/_modules/components/Orders/CreateCustomOrder/PaymentOptionWallet/index.js +3 -3
- package/_modules/components/Orders/CreateCustomOrder/PaymentOptions/index.js +35 -35
- package/_modules/components/Orders/CreateCustomOrder/ProductForm/index.js +24 -24
- package/_modules/components/Orders/CreateCustomOrder/ProductOptionSubOption/index.js +2 -2
- package/_modules/components/Orders/CreateCustomOrder/SelectBusinesses/index.js +2 -2
- package/_modules/components/Orders/CreateCustomOrder/SelectCustomer/index.js +1 -1
- package/_modules/components/Orders/CreateCustomOrder/SelectProducts/index.js +2 -2
- package/_modules/components/Orders/CreateCustomOrder/SingleProductCard/index.js +10 -10
- package/_modules/components/Orders/CreateCustomOrder/SingleProductCard/styles.js +5 -5
- package/_modules/components/Orders/CreateCustomOrder/StripeMethodForm/index.js +7 -7
- package/_modules/components/Orders/DeliveriesLocation/index.js +27 -27
- package/_modules/components/Orders/DeliveriesManager/index.js +2 -2
- package/_modules/components/Orders/DriverMapMarkerAndInfo/index.js +3 -3
- package/_modules/components/Orders/DriversList/index.js +2 -2
- package/_modules/components/Orders/DriversLocation/index.js +11 -11
- package/_modules/components/Orders/DriversManager/index.js +2 -2
- package/_modules/components/Orders/GoogleMapsApiKeySettingButton/index.js +1 -1
- package/_modules/components/Orders/InterActOrderMarker/index.js +3 -3
- package/_modules/components/Orders/Logistics/index.js +1 -1
- package/_modules/components/Orders/Messages/index.js +4 -4
- package/_modules/components/Orders/OrderBill/RefundToWallet.js +16 -16
- package/_modules/components/Orders/OrderBill/index.js +46 -46
- package/_modules/components/Orders/OrderContactInformation/index.js +22 -22
- package/_modules/components/Orders/OrderDashboardSLASetting/index.js +3 -3
- package/_modules/components/Orders/OrderDetails/index.js +6 -6
- package/_modules/components/Orders/OrderDetailsHeader/index.js +6 -6
- package/_modules/components/Orders/OrderLogisticInformation/index.js +1 -1
- package/_modules/components/Orders/OrderNotification/index.js +4 -4
- package/_modules/components/Orders/OrderStatusFilterBar/index.js +4 -4
- package/_modules/components/Orders/OrderToPrint/index.js +22 -22
- package/_modules/components/Orders/OrderToPrintTicket/index.js +5 -5
- package/_modules/components/Orders/OrdersCards/index.js +29 -29
- package/_modules/components/Orders/OrdersContentHeader/index.js +3 -3
- package/_modules/components/Orders/OrdersExportCSV/index.js +1 -1
- package/_modules/components/Orders/OrdersLateralBar/index.js +3 -3
- package/_modules/components/Orders/OrdersListing/index.js +3 -3
- package/_modules/components/Orders/OrdersTable/index.js +53 -53
- package/_modules/components/Orders/PaymethodTypeSelector/index.js +1 -1
- package/_modules/components/Orders/ProductItemAccordion/index.js +4 -4
- package/_modules/components/Orders/ReviewCustomer/index.js +2 -2
- package/_modules/components/PageNotFound/index.js +3 -3
- package/_modules/components/Settings/ApiKeysList/index.js +1 -1
- package/_modules/components/Settings/CountriesList/index.js +1 -1
- package/_modules/components/Settings/DropdownOptionList/index.js +2 -2
- package/_modules/components/Settings/EmailSetting/index.js +5 -5
- package/_modules/components/Settings/InsertImage/index.js +3 -3
- package/_modules/components/Settings/IntegrationListing/Analytics.js +1 -1
- package/_modules/components/Settings/IntegrationListing/PaymentGateway.js +1 -1
- package/_modules/components/Settings/LanguageSetting/index.js +1 -1
- package/_modules/components/Settings/LanguageTransSpread/index.js +2 -2
- package/_modules/components/Settings/LanguageTransTable/index.js +4 -4
- package/_modules/components/Settings/NotificationSetting/index.js +6 -6
- package/_modules/components/Settings/PlaceListing/index.js +1 -1
- package/_modules/components/Settings/Settings/index.js +3 -3
- package/_modules/components/Settings/SettingsCountryFilter/index.js +1 -1
- package/_modules/components/Settings/SettingsList/index.js +4 -4
- package/_modules/components/Settings/SettingsSelectUI/index.js +1 -1
- package/_modules/components/Settings/ZoneDropdownDetails/index.js +1 -1
- package/_modules/components/Shared/AutoScroll/index.js +4 -4
- package/_modules/components/Shared/CitySelector/index.js +1 -1
- package/_modules/components/Shared/ColumnAllowSettingPopover/index.js +2 -2
- package/_modules/components/Shared/ConfirmAdmin/index.js +1 -1
- package/_modules/components/Shared/DragScroll/index.js +5 -5
- package/_modules/components/Shared/HtmlEditor/InsertImage/index.js +3 -3
- package/_modules/components/Shared/InputPhoneNumber/index.js +2 -2
- package/_modules/components/Shared/NotFoundSource/index.js +2 -2
- package/_modules/components/Shared/Personalization/index.js +1 -1
- package/_modules/components/Shared/RangeCalendar/index.js +2 -2
- package/_modules/components/Shared/Schedule/index.js +6 -6
- package/_modules/components/Shared/SelectBusinessCategories/index.js +2 -2
- package/_modules/components/Shared/SelectBusinessProducts/index.js +7 -7
- package/_modules/components/Shared/SelectBusinesses/index.js +3 -3
- package/_modules/components/Shared/SelectLoyaltyLevels/index.js +1 -1
- package/_modules/components/Shared/SelectSites/index.js +1 -1
- package/_modules/components/Shared/SpreadSheetEditor/index.js +21 -21
- package/_modules/components/SidebarMenu/index.js +37 -40
- package/_modules/components/Stores/AddBusinessForm/index.js +18 -18
- package/_modules/components/Stores/BusinessAdd/BusinessDetails/index.js +8 -8
- package/_modules/components/Stores/BusinessAdd/DeliveryZone/index.js +11 -11
- package/_modules/components/Stores/BusinessAdd/Images/index.js +5 -5
- package/_modules/components/Stores/BusinessAdd/OrderTypePriceLevel/index.js +2 -2
- package/_modules/components/Stores/BusinessAdd/OtherDetails/index.js +1 -1
- package/_modules/components/Stores/BusinessAdd/PaymentMethods/index.js +1 -1
- package/_modules/components/Stores/BusinessAdd/ReceiveOrders/index.js +1 -1
- package/_modules/components/Stores/BusinessAdd/index.js +9 -9
- package/_modules/components/Stores/BusinessAddStore/index.js +2 -2
- package/_modules/components/Stores/BusinessBrandBUSIDetail/index.js +3 -3
- package/_modules/components/Stores/BusinessBrandGENDetail/index.js +16 -16
- package/_modules/components/Stores/BusinessBrandListing/index.js +8 -8
- package/_modules/components/Stores/BusinessDeliveryDetails/index.js +3 -3
- package/_modules/components/Stores/BusinessDeliveryGroupsDetails/index.js +4 -4
- package/_modules/components/Stores/BusinessDeliveryZoneDetails/index.js +1 -1
- package/_modules/components/Stores/BusinessDeliveryZoneInformation/index.js +11 -11
- package/_modules/components/Stores/BusinessDeliveryZoneList/index.js +3 -3
- package/_modules/components/Stores/BusinessDetails/index.js +7 -7
- package/_modules/components/Stores/BusinessDeviceDetail/index.js +12 -12
- package/_modules/components/Stores/BusinessDeviceListing/index.js +7 -7
- package/_modules/components/Stores/BusinessFrontLayout/index.js +2 -2
- package/_modules/components/Stores/BusinessGprsPrinters/index.js +1 -1
- package/_modules/components/Stores/BusinessImages/index.js +4 -4
- package/_modules/components/Stores/BusinessInformation/index.js +35 -35
- package/_modules/components/Stores/BusinessLocation/index.js +7 -7
- package/_modules/components/Stores/BusinessMenu/index.js +2 -2
- package/_modules/components/Stores/BusinessMenuBasicOptions/index.js +13 -13
- package/_modules/components/Stores/BusinessMenuCategoryTreeNode/index.js +3 -3
- package/_modules/components/Stores/BusinessMenuChannels/index.js +8 -8
- package/_modules/components/Stores/BusinessMenuOptions/index.js +1 -1
- package/_modules/components/Stores/BusinessOwners/index.js +1 -1
- package/_modules/components/Stores/BusinessPaymentMethods/index.js +4 -4
- package/_modules/components/Stores/BusinessPickupDetails/index.js +2 -2
- package/_modules/components/Stores/BusinessPlace/index.js +1 -1
- package/_modules/components/Stores/BusinessPlaceGroup/index.js +3 -3
- package/_modules/components/Stores/BusinessPlaceGroupList/index.js +3 -3
- package/_modules/components/Stores/BusinessPreorderDetails/index.js +3 -3
- package/_modules/components/Stores/BusinessPreview/index.js +19 -19
- package/_modules/components/Stores/BusinessProductAddForm/index.js +10 -10
- package/_modules/components/Stores/BusinessProductList/index.js +5 -5
- package/_modules/components/Stores/BusinessProductsCategories/index.js +4 -4
- package/_modules/components/Stores/BusinessProductsCategoyDetails/index.js +3 -3
- package/_modules/components/Stores/BusinessProductsCategoyInfo/index.js +22 -22
- package/_modules/components/Stores/BusinessProductsListing/index.js +20 -20
- package/_modules/components/Stores/BusinessPromotionGeneralForm/index.js +25 -25
- package/_modules/components/Stores/BusinessQRCodeOption/index.js +2 -2
- package/_modules/components/Stores/BusinessSalesChannel/index.js +1 -1
- package/_modules/components/Stores/BusinessSelectHeader/index.js +1 -1
- package/_modules/components/Stores/BusinessServiceProfessionals/index.js +3 -3
- package/_modules/components/Stores/BusinessSharedMenuProductDetails/index.js +4 -4
- package/_modules/components/Stores/BusinessSharedMenuProducts/index.js +1 -1
- package/_modules/components/Stores/BusinessSpreadSheet/index.js +1 -1
- package/_modules/components/Stores/BusinessSummary/index.js +8 -8
- package/_modules/components/Stores/BusinessSupport/index.js +2 -2
- package/_modules/components/Stores/BusinessSyncStore/index.js +3 -3
- package/_modules/components/Stores/BusinessTypeDetail/index.js +6 -6
- package/_modules/components/Stores/BusinessTypes/index.js +2 -2
- package/_modules/components/Stores/BusinessVideos/index.js +2 -2
- package/_modules/components/Stores/BusinessWalletsList/index.js +2 -2
- package/_modules/components/Stores/BusinessWebhooks/index.js +5 -5
- package/_modules/components/Stores/BusinessesListing/index.js +1 -1
- package/_modules/components/Stores/ImporterForm/index.js +3 -3
- package/_modules/components/Stores/ImporterJobForm/index.js +7 -7
- package/_modules/components/Stores/PaymentOption/index.js +11 -11
- package/_modules/components/Stores/PaymentOptionMethods/index.js +11 -11
- package/_modules/components/Stores/PaymentOptionPaypal/index.js +11 -11
- package/_modules/components/Stores/PaymentOptionSquare/index.js +13 -13
- package/_modules/components/Stores/PaymentOptionStripeDirect/index.js +11 -11
- package/_modules/components/Stores/PaymethodOptionPaypalExpress/index.js +7 -7
- package/_modules/components/Stores/PaymethodOptionStripeConnect/index.js +11 -11
- package/_modules/components/Stores/PaymethodOptionStripeRedirect/index.js +11 -11
- package/_modules/components/Stores/ProductDesktopPreview/index.js +8 -8
- package/_modules/components/Stores/ProductDetailsAdvanced/index.js +7 -7
- package/_modules/components/Stores/ProductDetatilsInformation/index.js +21 -21
- package/_modules/components/Stores/ProductExtraOptionDetails/index.js +20 -20
- package/_modules/components/Stores/ProductExtraOptionForm/index.js +15 -15
- package/_modules/components/Stores/ProductExtraOptions/index.js +2 -2
- package/_modules/components/Stores/ProductExtraSuboption/index.js +4 -4
- package/_modules/components/Stores/ProductExtras/index.js +1 -1
- package/_modules/components/Stores/ProductGallery/index.js +3 -3
- package/_modules/components/Stores/ProductIngredientDetails/index.js +2 -2
- package/_modules/components/Stores/ProductStep/index.js +2 -2
- package/_modules/components/Stores/ProductSummary/index.js +7 -7
- package/_modules/components/Stores/ProductTagDetails/index.js +2 -2
- package/_modules/components/Stores/ProductTagsList/index.js +1 -1
- package/_modules/components/Stores/ProductVideos/index.js +1 -1
- package/_modules/components/Stores/RestaurantSelectGuide/index.js +2 -2
- package/_modules/components/Stores/SelectPosGuide/index.js +4 -4
- package/_modules/components/Stores/SeoOptions/index.js +9 -9
- package/_modules/components/Stores/ServiceDetail/index.js +5 -5
- package/_modules/components/Stores/SingleBusiness/index.js +14 -14
- package/_modules/components/Stores/SingleBusinessCategoryEdit/index.js +2 -2
- package/_modules/components/Stores/SingleBusinessProduct/index.js +12 -12
- package/_modules/components/Stores/SingleBusinessSubCateogries/index.js +2 -2
- package/_modules/components/Stores/UploadMenuGuide/index.js +3 -3
- package/_modules/components/Users/CustomerDetails/index.js +2 -2
- package/_modules/components/Users/CustomerPointsWallet/index.js +2 -2
- package/_modules/components/Users/CustomerWalletEvents/index.js +1 -1
- package/_modules/components/Users/ProfessionalAddForm/index.js +11 -11
- package/_modules/components/Users/ProfessionalBusinessService/index.js +3 -3
- package/_modules/components/Users/ProfessionalCategoryTreeNode/index.js +3 -3
- package/_modules/components/Users/ProfessionalDetail/index.js +2 -2
- package/_modules/components/Users/ProfessionalListing/index.js +1 -1
- package/_modules/components/Users/ProfessionalSchedule/index.js +1 -1
- package/_modules/components/Users/ProfessionalServices/index.js +3 -3
- package/_modules/components/Users/UserAddForm/index.js +11 -11
- package/_modules/components/Users/UserDetails/index.js +4 -4
- package/_modules/components/Users/UserFilterGroup/index.js +2 -2
- package/_modules/components/Users/UserFormDetails/index.js +12 -12
- package/_modules/components/Users/UserProfileForm/index.js +7 -7
- package/_modules/styles/Select/index.js +1 -1
- package/_modules/themes/origin/src/components/AutoScroll/index.js +2 -2
- package/_modules/themes/origin/src/components/DeadlineSettingInterface/index.js +4 -4
- package/_modules/themes/origin/src/components/DeadlinesTypeSelector/index.js +6 -6
- package/_modules/themes/origin/src/components/DriverMapMarkerAndInfo/index.js +3 -3
- package/_modules/themes/origin/src/components/DriverSelector/index.js +2 -2
- package/_modules/themes/origin/src/components/DriversLocation/index.js +16 -16
- package/_modules/themes/origin/src/components/ForgotPasswordForm/index.js +3 -3
- package/_modules/themes/origin/src/components/GroupTypeSelector/index.js +2 -2
- package/_modules/themes/origin/src/components/Header/index.js +3 -3
- package/_modules/themes/origin/src/components/InterActOrderMarker/index.js +3 -3
- package/_modules/themes/origin/src/components/LoginForm/index.js +5 -5
- package/_modules/themes/origin/src/components/LogisticInformation/index.js +1 -1
- package/_modules/themes/origin/src/components/Logistics/index.js +6 -6
- package/_modules/themes/origin/src/components/MainOrdersManager/index.js +2 -2
- package/_modules/themes/origin/src/components/Messages/index.js +13 -13
- package/_modules/themes/origin/src/components/Messages/styles.js +2 -2
- package/_modules/themes/origin/src/components/MobileSidebarMenu/index.js +5 -5
- package/_modules/themes/origin/src/components/NotFoundSource/index.js +2 -2
- package/_modules/themes/origin/src/components/NotNetworkConnectivity/index.js +2 -2
- package/_modules/themes/origin/src/components/OrderDetails/index.js +34 -34
- package/_modules/themes/origin/src/components/OrderItemAccordion/index.js +9 -9
- package/_modules/themes/origin/src/components/OrderListing/index.js +2 -2
- package/_modules/themes/origin/src/components/OrderListing/styles.js +1 -1
- package/_modules/themes/origin/src/components/OrderProductQuickDetail/index.js +7 -7
- package/_modules/themes/origin/src/components/OrderStatusFilterBar/index.js +5 -5
- package/_modules/themes/origin/src/components/OrderStatusTypeSelector/index.js +5 -5
- package/_modules/themes/origin/src/components/OverView/index.js +1 -1
- package/_modules/themes/origin/src/components/OverView/styles.js +3 -3
- package/_modules/themes/origin/src/components/PageNotFound/index.js +3 -3
- package/_modules/themes/origin/src/components/SearchBar/index.js +2 -2
- package/_modules/themes/origin/src/components/SideMenu/index.js +5 -5
- package/_modules/themes/origin/src/components/SmallOrderItemAccordion/index.js +8 -8
- package/_modules/themes/origin/src/components/UserPopover/index.js +2 -2
- package/_modules/utils/index.js +1 -1
- package/package.json +1 -1
- package/src/components/SidebarMenu/index.js +6 -6
- package/template/config.json +1 -1
|
@@ -20,7 +20,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
20
20
|
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; } }
|
|
21
21
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
22
22
|
var AdvancedLayouts = function AdvancedLayouts(props) {
|
|
23
|
-
var _themeValuesRef$curre, _themeValuesRef$curre2, _themeValuesRef$curre3, _themeValuesRef$curre4, _themeValuesRef$curre5, _themeValuesRef$curre6, _themeValuesRef$curre7, _themeValuesRef$curre8, _themeValuesRef$curre9
|
|
23
|
+
var _themeValuesRef$curre, _themeValuesRef$curre2, _themeValuesRef$curre3, _themeValuesRef$curre4, _themeValuesRef$curre5, _themeValuesRef$curre6, _themeValuesRef$curre7, _themeValuesRef$curre8, _themeValuesRef$curre9;
|
|
24
24
|
var advancedValues = props.advancedValues,
|
|
25
25
|
handleUpdateSiteTheme = props.handleUpdateSiteTheme,
|
|
26
26
|
isApp = props.isApp,
|
|
@@ -136,58 +136,58 @@ var AdvancedLayouts = function AdvancedLayouts(props) {
|
|
|
136
136
|
themeValuesRef.current = JSON.parse(JSON.stringify(advancedValues));
|
|
137
137
|
}, [advancedValues]);
|
|
138
138
|
(0, _react.useEffect)(function () {
|
|
139
|
-
var _themesList$themes
|
|
139
|
+
var _themesList$themes;
|
|
140
140
|
// Don't remove this effect
|
|
141
|
-
if (!(themesList !== null && themesList !== void 0 && themesList.loading) && themesList !== null && themesList !== void 0 && (_themesList$themes = themesList.themes) !== null && _themesList$themes !== void 0 && (_themesList$themes
|
|
142
|
-
var _themesList$themes2
|
|
143
|
-
setThemeStructure(JSON.parse(JSON.stringify(themesList === null || themesList === void 0
|
|
141
|
+
if (!(themesList !== null && themesList !== void 0 && themesList.loading) && themesList !== null && themesList !== void 0 && (_themesList$themes = themesList.themes) !== null && _themesList$themes !== void 0 && (_themesList$themes = _themesList$themes[0]) !== null && _themesList$themes !== void 0 && _themesList$themes.structure) {
|
|
142
|
+
var _themesList$themes2;
|
|
143
|
+
setThemeStructure(JSON.parse(JSON.stringify(themesList === null || themesList === void 0 || (_themesList$themes2 = themesList.themes) === null || _themesList$themes2 === void 0 || (_themesList$themes2 = _themesList$themes2[0]) === null || _themesList$themes2 === void 0 ? void 0 : _themesList$themes2.structure)));
|
|
144
144
|
}
|
|
145
145
|
}, [themesList]);
|
|
146
146
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles2.Container, null, isApp ? /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h1", null, t('CUSTOMER_APP_ADVANCED_LAYOUTS', 'Customer App Advanced Layouts')), /*#__PURE__*/_react.default.createElement("h2", null, t('HOMEPAGE', 'Homepage')), /*#__PURE__*/_react.default.createElement(_styles2.HeadingWrapper, null, /*#__PURE__*/_react.default.createElement(_LayoutStyleGroup.LayoutStyleGroup, {
|
|
147
147
|
title: t('HOMEPAGE', 'Homepage'),
|
|
148
148
|
layoutList: homeLayoutList,
|
|
149
|
-
layouts: themeValuesRef === null || themeValuesRef === void 0
|
|
149
|
+
layouts: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre = themeValuesRef.current) === null || _themeValuesRef$curre === void 0 || (_themeValuesRef$curre = _themeValuesRef$curre.homepage_view) === null || _themeValuesRef$curre === void 0 || (_themeValuesRef$curre = _themeValuesRef$curre.components) === null || _themeValuesRef$curre === void 0 ? void 0 : _themeValuesRef$curre.layout,
|
|
150
150
|
path: "homepage_view.components.layout",
|
|
151
151
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
152
152
|
}))) : /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h1", null, t('WEBSITE_ADVANCED_LAYOUTS', 'Website Advanced Layouts')), /*#__PURE__*/_react.default.createElement(_styles2.HomePageWrapper, null, /*#__PURE__*/_react.default.createElement("h2", null, t('HOMEPAGE', 'Homepage')), /*#__PURE__*/_react.default.createElement(_styles2.HeadingWrapper, null, /*#__PURE__*/_react.default.createElement(_LayoutStyleGroup.LayoutStyleGroup, {
|
|
153
153
|
title: t('HOMEPAGE', 'Homepage'),
|
|
154
154
|
layoutList: homeLayoutList,
|
|
155
|
-
layouts: themeValuesRef === null || themeValuesRef === void 0
|
|
155
|
+
layouts: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre2 = themeValuesRef.current) === null || _themeValuesRef$curre2 === void 0 || (_themeValuesRef$curre2 = _themeValuesRef$curre2.homepage_view) === null || _themeValuesRef$curre2 === void 0 || (_themeValuesRef$curre2 = _themeValuesRef$curre2.components) === null || _themeValuesRef$curre2 === void 0 ? void 0 : _themeValuesRef$curre2.layout,
|
|
156
156
|
path: "homepage_view.components.layout",
|
|
157
157
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
158
158
|
})))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUSINESS_LISTING_VIEW', 'Business Listing view')), /*#__PURE__*/_react.default.createElement(_styles2.HeadingWrapper, null, /*#__PURE__*/_react.default.createElement(_LayoutStyleGroup.LayoutStyleGroup, {
|
|
159
159
|
layoutList: businessListingLayoutList,
|
|
160
|
-
layouts: themeValuesRef === null || themeValuesRef === void 0
|
|
160
|
+
layouts: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre3 = themeValuesRef.current) === null || _themeValuesRef$curre3 === void 0 || (_themeValuesRef$curre3 = _themeValuesRef$curre3.business_listing_view) === null || _themeValuesRef$curre3 === void 0 || (_themeValuesRef$curre3 = _themeValuesRef$curre3.components) === null || _themeValuesRef$curre3 === void 0 ? void 0 : _themeValuesRef$curre3.layout,
|
|
161
161
|
path: "business_listing_view.components.layout",
|
|
162
162
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
163
163
|
}))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUSINESS_VIEW_HEADERS', 'Business View Headers')), /*#__PURE__*/_react.default.createElement(_styles2.HeadingWrapper, null, /*#__PURE__*/_react.default.createElement(_LayoutStyleGroup.LayoutStyleGroup, {
|
|
164
164
|
layoutList: businessViewLayoutList,
|
|
165
|
-
layouts: themeValuesRef === null || themeValuesRef === void 0
|
|
165
|
+
layouts: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre4 = themeValuesRef.current) === null || _themeValuesRef$curre4 === void 0 || (_themeValuesRef$curre4 = _themeValuesRef$curre4.business_view) === null || _themeValuesRef$curre4 === void 0 || (_themeValuesRef$curre4 = _themeValuesRef$curre4.components) === null || _themeValuesRef$curre4 === void 0 || (_themeValuesRef$curre4 = _themeValuesRef$curre4.header) === null || _themeValuesRef$curre4 === void 0 || (_themeValuesRef$curre4 = _themeValuesRef$curre4.components) === null || _themeValuesRef$curre4 === void 0 ? void 0 : _themeValuesRef$curre4.layout,
|
|
166
166
|
path: "business_view.components.header.components.layout",
|
|
167
167
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
168
168
|
}))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('PRODUCT_LAYOUTS', 'Product Layouts')), /*#__PURE__*/_react.default.createElement(_styles2.HeadingWrapper, null, /*#__PURE__*/_react.default.createElement(_LayoutStyleGroup.LayoutStyleGroup, {
|
|
169
169
|
layoutList: productFormLayoutList,
|
|
170
|
-
layouts: themeValuesRef === null || themeValuesRef === void 0
|
|
170
|
+
layouts: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre5 = themeValuesRef.current) === null || _themeValuesRef$curre5 === void 0 || (_themeValuesRef$curre5 = _themeValuesRef$curre5.business_view) === null || _themeValuesRef$curre5 === void 0 || (_themeValuesRef$curre5 = _themeValuesRef$curre5.components) === null || _themeValuesRef$curre5 === void 0 || (_themeValuesRef$curre5 = _themeValuesRef$curre5.products) === null || _themeValuesRef$curre5 === void 0 || (_themeValuesRef$curre5 = _themeValuesRef$curre5.components) === null || _themeValuesRef$curre5 === void 0 ? void 0 : _themeValuesRef$curre5.layout,
|
|
171
171
|
path: "business_view.components.products.components.layout",
|
|
172
172
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
173
173
|
}))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('PRODUCTS_SEARCH', 'Products Search')), /*#__PURE__*/_react.default.createElement(_styles2.HeadingWrapper, null, /*#__PURE__*/_react.default.createElement(_LayoutStyleGroup.LayoutStyleGroup, {
|
|
174
174
|
layoutList: productSearchLayoutList,
|
|
175
|
-
layouts: themeValuesRef === null || themeValuesRef === void 0
|
|
175
|
+
layouts: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre6 = themeValuesRef.current) === null || _themeValuesRef$curre6 === void 0 || (_themeValuesRef$curre6 = _themeValuesRef$curre6.business_view) === null || _themeValuesRef$curre6 === void 0 || (_themeValuesRef$curre6 = _themeValuesRef$curre6.components) === null || _themeValuesRef$curre6 === void 0 || (_themeValuesRef$curre6 = _themeValuesRef$curre6.product_search) === null || _themeValuesRef$curre6 === void 0 || (_themeValuesRef$curre6 = _themeValuesRef$curre6.components) === null || _themeValuesRef$curre6 === void 0 ? void 0 : _themeValuesRef$curre6.layout,
|
|
176
176
|
path: "business_view.components.product_search.components.layout",
|
|
177
177
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
178
178
|
}))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('CONFIRMATION', 'Confirmation')), /*#__PURE__*/_react.default.createElement(_styles2.HeadingWrapper, null, /*#__PURE__*/_react.default.createElement(_LayoutStyleGroup.LayoutStyleGroup, {
|
|
179
179
|
layoutList: confirmationLayoutList,
|
|
180
|
-
layouts: themeValuesRef === null || themeValuesRef === void 0
|
|
180
|
+
layouts: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre7 = themeValuesRef.current) === null || _themeValuesRef$curre7 === void 0 || (_themeValuesRef$curre7 = _themeValuesRef$curre7.confirmation) === null || _themeValuesRef$curre7 === void 0 || (_themeValuesRef$curre7 = _themeValuesRef$curre7.components) === null || _themeValuesRef$curre7 === void 0 ? void 0 : _themeValuesRef$curre7.layout,
|
|
181
181
|
path: "confirmation.components.layout",
|
|
182
182
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
183
183
|
}))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('PROFILE', 'Profile')), /*#__PURE__*/_react.default.createElement(_styles2.HeadingWrapper, null, /*#__PURE__*/_react.default.createElement(_LayoutStyleGroup.LayoutStyleGroup, {
|
|
184
184
|
layoutList: profileLayoutList,
|
|
185
|
-
layouts: themeValuesRef === null || themeValuesRef === void 0
|
|
185
|
+
layouts: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre8 = themeValuesRef.current) === null || _themeValuesRef$curre8 === void 0 || (_themeValuesRef$curre8 = _themeValuesRef$curre8.profile) === null || _themeValuesRef$curre8 === void 0 || (_themeValuesRef$curre8 = _themeValuesRef$curre8.components) === null || _themeValuesRef$curre8 === void 0 ? void 0 : _themeValuesRef$curre8.layout,
|
|
186
186
|
path: "profile.components.layout",
|
|
187
187
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
188
188
|
}))), !isApp && /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('HEADER', 'Header')), /*#__PURE__*/_react.default.createElement(_styles2.HeadingWrapper, null, /*#__PURE__*/_react.default.createElement(_LayoutStyleGroup.LayoutStyleGroup, {
|
|
189
189
|
layoutList: headerLayoutList,
|
|
190
|
-
layouts: themeValuesRef === null || themeValuesRef === void 0
|
|
190
|
+
layouts: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre9 = themeValuesRef.current) === null || _themeValuesRef$curre9 === void 0 || (_themeValuesRef$curre9 = _themeValuesRef$curre9.header) === null || _themeValuesRef$curre9 === void 0 || (_themeValuesRef$curre9 = _themeValuesRef$curre9.components) === null || _themeValuesRef$curre9 === void 0 ? void 0 : _themeValuesRef$curre9.layout,
|
|
191
191
|
path: "header.components.layout",
|
|
192
192
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
193
193
|
}))), /*#__PURE__*/_react.default.createElement(_styles2.ButtonWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.Button, {
|
|
@@ -24,7 +24,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
24
24
|
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; } }
|
|
25
25
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
26
26
|
var AdvancedSettings = function AdvancedSettings(props) {
|
|
27
|
-
var _themeValuesRef$curre,
|
|
27
|
+
var _themeValuesRef$curre, _themesList$themes3, _themesList$themes4, _themeValuesRef$curre2, _themeValuesRef$curre3, _themesList$themes5, _themeValuesRef$curre4, _themesList$themes6, _themesList$themes7, _themeValuesRef$curre5, _themesList$themes8, _themeValuesRef$curre6, _themesList$themes9, _themesList$themes10, _themesList$themes11, _themesList$themes12, _themesList$themes13, _themesList$themes14, _themesList$themes15, _themesList$themes16, _themesList$themes17, _themesList$themes18, _themesList$themes19, _themesList$themes20, _themesList$themes21, _themesList$themes22, _themesList$themes23, _themeValuesRef$curre7, _themeValuesRef$curre8, _themeValuesRef$curre9, _themeValuesRef$curre10, _themeValuesRef$curre11, _themeValuesRef$curre12, _themesList$themes24, _themesList$themes25;
|
|
28
28
|
var themesList = props.themesList,
|
|
29
29
|
advancedValues = props.advancedValues,
|
|
30
30
|
handleUpdateSiteTheme = props.handleUpdateSiteTheme,
|
|
@@ -409,10 +409,10 @@ var AdvancedSettings = function AdvancedSettings(props) {
|
|
|
409
409
|
themeValuesRef.current = _advancedValues;
|
|
410
410
|
};
|
|
411
411
|
(0, _react.useEffect)(function () {
|
|
412
|
-
var _themesList$themes
|
|
413
|
-
if (!(themesList !== null && themesList !== void 0 && themesList.loading) && themesList !== null && themesList !== void 0 && (_themesList$themes = themesList.themes) !== null && _themesList$themes !== void 0 && (_themesList$themes
|
|
414
|
-
var _themesList$themes2
|
|
415
|
-
setThemeStructure(JSON.parse(JSON.stringify(themesList === null || themesList === void 0
|
|
412
|
+
var _themesList$themes;
|
|
413
|
+
if (!(themesList !== null && themesList !== void 0 && themesList.loading) && themesList !== null && themesList !== void 0 && (_themesList$themes = themesList.themes) !== null && _themesList$themes !== void 0 && (_themesList$themes = _themesList$themes[0]) !== null && _themesList$themes !== void 0 && _themesList$themes.structure) {
|
|
414
|
+
var _themesList$themes2;
|
|
415
|
+
setThemeStructure(JSON.parse(JSON.stringify(themesList === null || themesList === void 0 || (_themesList$themes2 = themesList.themes) === null || _themesList$themes2 === void 0 || (_themesList$themes2 = _themesList$themes2[0]) === null || _themesList$themes2 === void 0 ? void 0 : _themesList$themes2.structure)));
|
|
416
416
|
}
|
|
417
417
|
}, [themesList]);
|
|
418
418
|
(0, _react.useEffect)(function () {
|
|
@@ -421,16 +421,16 @@ var AdvancedSettings = function AdvancedSettings(props) {
|
|
|
421
421
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles2.Container, null, isApp && /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h1", null, t('CUSTOMER_APP_ADVANCED_SETTINGS', 'Customer App Advanced Settings')), /*#__PURE__*/_react.default.createElement("h2", null, t('HOMEPAGE', 'Homepage')), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
422
422
|
title: t('HOMEPAGE_IMAGE', 'Homepage image'),
|
|
423
423
|
ratio: "1350 x 400 px",
|
|
424
|
-
photo: themeValuesRef === null || themeValuesRef === void 0
|
|
424
|
+
photo: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre = themeValuesRef.current) === null || _themeValuesRef$curre === void 0 || (_themeValuesRef$curre = _themeValuesRef$curre.my_products) === null || _themeValuesRef$curre === void 0 || (_themeValuesRef$curre = _themeValuesRef$curre.components) === null || _themeValuesRef$curre === void 0 || (_themeValuesRef$curre = _themeValuesRef$curre.images) === null || _themeValuesRef$curre === void 0 || (_themeValuesRef$curre = _themeValuesRef$curre.components) === null || _themeValuesRef$curre === void 0 || (_themeValuesRef$curre = _themeValuesRef$curre.homepage_background) === null || _themeValuesRef$curre === void 0 || (_themeValuesRef$curre = _themeValuesRef$curre.components) === null || _themeValuesRef$curre === void 0 ? void 0 : _themeValuesRef$curre.image,
|
|
425
425
|
path: "my_products.components.images.components.homepage_background.components.image",
|
|
426
|
-
themeId: themesList === null || themesList === void 0
|
|
426
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes3 = themesList.themes) === null || _themesList$themes3 === void 0 || (_themesList$themes3 = _themesList$themes3[0]) === null || _themesList$themes3 === void 0 ? void 0 : _themesList$themes3.id,
|
|
427
427
|
handleChangePhoto: handleUpdateThemeValue
|
|
428
428
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, !isApp && /*#__PURE__*/_react.default.createElement("h1", null, t('WEBSITE_ADVANCED_SETTINGS', 'Website Advanced Settings')), /*#__PURE__*/_react.default.createElement("h2", null, t('BUTTONS', 'Buttons')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
429
429
|
settingList: buttonList,
|
|
430
430
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
431
431
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
432
432
|
themeStructure: themeStructure,
|
|
433
|
-
themeId: themesList === null || themesList === void 0
|
|
433
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes4 = themesList.themes) === null || _themesList$themes4 === void 0 || (_themesList$themes4 = _themesList$themes4[0]) === null || _themesList$themes4 === void 0 ? void 0 : _themesList$themes4.id
|
|
434
434
|
}), /*#__PURE__*/_react.default.createElement(_styles.Button, {
|
|
435
435
|
color: "primary",
|
|
436
436
|
outline: true,
|
|
@@ -440,153 +440,153 @@ var AdvancedSettings = function AdvancedSettings(props) {
|
|
|
440
440
|
},
|
|
441
441
|
className: "custom"
|
|
442
442
|
}, t('CUSTOM_SOUNDS', 'Custom sounds'))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('TIPOGRAPHY', 'Tipography')), /*#__PURE__*/_react.default.createElement(_styles2.HeadingWrapper, null, /*#__PURE__*/_react.default.createElement(_FontStyleGroup.FontStyleGroup, {
|
|
443
|
-
fonts: themeValuesRef === null || themeValuesRef === void 0
|
|
443
|
+
fonts: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre2 = themeValuesRef.current) === null || _themeValuesRef$curre2 === void 0 || (_themeValuesRef$curre2 = _themeValuesRef$curre2.general) === null || _themeValuesRef$curre2 === void 0 || (_themeValuesRef$curre2 = _themeValuesRef$curre2.components) === null || _themeValuesRef$curre2 === void 0 || (_themeValuesRef$curre2 = _themeValuesRef$curre2.fonts) === null || _themeValuesRef$curre2 === void 0 ? void 0 : _themeValuesRef$curre2.primary,
|
|
444
444
|
path: "general.components.fonts.primary",
|
|
445
445
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
446
446
|
}))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('IMAGES', 'Images')), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
447
447
|
title: t('BUSINESS_LOGO_DUMMY_IMAGE', 'Business Logo dummy image'),
|
|
448
448
|
ratio: "512 x 512 px",
|
|
449
|
-
photo: themeValuesRef === null || themeValuesRef === void 0
|
|
449
|
+
photo: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre3 = themeValuesRef.current) === null || _themeValuesRef$curre3 === void 0 || (_themeValuesRef$curre3 = _themeValuesRef$curre3.business_view) === null || _themeValuesRef$curre3 === void 0 || (_themeValuesRef$curre3 = _themeValuesRef$curre3.components) === null || _themeValuesRef$curre3 === void 0 || (_themeValuesRef$curre3 = _themeValuesRef$curre3.header) === null || _themeValuesRef$curre3 === void 0 || (_themeValuesRef$curre3 = _themeValuesRef$curre3.components) === null || _themeValuesRef$curre3 === void 0 || (_themeValuesRef$curre3 = _themeValuesRef$curre3.logo) === null || _themeValuesRef$curre3 === void 0 ? void 0 : _themeValuesRef$curre3.dummy_image,
|
|
450
450
|
path: "business_view.components.header.components.logo.dummy_image",
|
|
451
|
-
themeId: themesList === null || themesList === void 0
|
|
451
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes5 = themesList.themes) === null || _themesList$themes5 === void 0 || (_themesList$themes5 = _themesList$themes5[0]) === null || _themesList$themes5 === void 0 ? void 0 : _themesList$themes5.id,
|
|
452
452
|
handleChangePhoto: handleUpdateThemeValue
|
|
453
453
|
}), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
454
454
|
title: t('BUSINESS_HEADER_DUMMY_IMAGE', 'Business header dummy image'),
|
|
455
455
|
ratio: "1350 x 400 px",
|
|
456
456
|
isBig: true,
|
|
457
|
-
photo: themeValuesRef === null || themeValuesRef === void 0
|
|
457
|
+
photo: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre4 = themeValuesRef.current) === null || _themeValuesRef$curre4 === void 0 || (_themeValuesRef$curre4 = _themeValuesRef$curre4.business_view) === null || _themeValuesRef$curre4 === void 0 || (_themeValuesRef$curre4 = _themeValuesRef$curre4.components) === null || _themeValuesRef$curre4 === void 0 || (_themeValuesRef$curre4 = _themeValuesRef$curre4.header) === null || _themeValuesRef$curre4 === void 0 || (_themeValuesRef$curre4 = _themeValuesRef$curre4.components) === null || _themeValuesRef$curre4 === void 0 ? void 0 : _themeValuesRef$curre4.dummy_image,
|
|
458
458
|
path: "business_view.components.header.components.dummy_image",
|
|
459
|
-
themeId: themesList === null || themesList === void 0
|
|
459
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes6 = themesList.themes) === null || _themesList$themes6 === void 0 || (_themesList$themes6 = _themesList$themes6[0]) === null || _themesList$themes6 === void 0 ? void 0 : _themesList$themes6.id,
|
|
460
460
|
handleChangePhoto: handleUpdateThemeValue
|
|
461
461
|
}), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
462
462
|
settingList: homeImageFullScreen,
|
|
463
463
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
464
464
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
465
465
|
themeStructure: themeStructure,
|
|
466
|
-
themeId: themesList === null || themesList === void 0
|
|
466
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes7 = themesList.themes) === null || _themesList$themes7 === void 0 || (_themesList$themes7 = _themesList$themes7[0]) === null || _themesList$themes7 === void 0 ? void 0 : _themesList$themes7.id,
|
|
467
467
|
noLabel: true
|
|
468
468
|
}), /*#__PURE__*/_react.default.createElement(_styles2.ImageGroup, null, /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
469
469
|
title: t('PRODUCT_DUMMY_IMAGE', 'Product dummy image'),
|
|
470
470
|
ratio: "900 x 200 px",
|
|
471
|
-
photo: themeValuesRef === null || themeValuesRef === void 0
|
|
471
|
+
photo: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre5 = themeValuesRef.current) === null || _themeValuesRef$curre5 === void 0 || (_themeValuesRef$curre5 = _themeValuesRef$curre5.business_view) === null || _themeValuesRef$curre5 === void 0 || (_themeValuesRef$curre5 = _themeValuesRef$curre5.components) === null || _themeValuesRef$curre5 === void 0 || (_themeValuesRef$curre5 = _themeValuesRef$curre5.products) === null || _themeValuesRef$curre5 === void 0 || (_themeValuesRef$curre5 = _themeValuesRef$curre5.components) === null || _themeValuesRef$curre5 === void 0 || (_themeValuesRef$curre5 = _themeValuesRef$curre5.photo) === null || _themeValuesRef$curre5 === void 0 || (_themeValuesRef$curre5 = _themeValuesRef$curre5.components) === null || _themeValuesRef$curre5 === void 0 ? void 0 : _themeValuesRef$curre5.dummy_image,
|
|
472
472
|
path: "business_view.components.products.components.photo.components.dummy_image",
|
|
473
|
-
themeId: themesList === null || themesList === void 0
|
|
473
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes8 = themesList.themes) === null || _themesList$themes8 === void 0 || (_themesList$themes8 = _themesList$themes8[0]) === null || _themesList$themes8 === void 0 ? void 0 : _themesList$themes8.id,
|
|
474
474
|
handleChangePhoto: handleUpdateThemeValue
|
|
475
475
|
}))), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('FAVICON', 'Favicon')), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
476
476
|
title: t('FAVICON', 'Favicon'),
|
|
477
477
|
ratio: "512 x 512 px",
|
|
478
|
-
photo: themeValuesRef === null || themeValuesRef === void 0
|
|
478
|
+
photo: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre6 = themeValuesRef.current) === null || _themeValuesRef$curre6 === void 0 || (_themeValuesRef$curre6 = _themeValuesRef$curre6.general) === null || _themeValuesRef$curre6 === void 0 || (_themeValuesRef$curre6 = _themeValuesRef$curre6.components) === null || _themeValuesRef$curre6 === void 0 || (_themeValuesRef$curre6 = _themeValuesRef$curre6.favicon) === null || _themeValuesRef$curre6 === void 0 || (_themeValuesRef$curre6 = _themeValuesRef$curre6.components) === null || _themeValuesRef$curre6 === void 0 ? void 0 : _themeValuesRef$curre6.image,
|
|
479
479
|
path: "general.components.favicon.components.image",
|
|
480
|
-
themeId: themesList === null || themesList === void 0
|
|
480
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes9 = themesList.themes) === null || _themesList$themes9 === void 0 || (_themesList$themes9 = _themesList$themes9[0]) === null || _themesList$themes9 === void 0 ? void 0 : _themesList$themes9.id,
|
|
481
481
|
handleChangePhoto: handleUpdateThemeValue
|
|
482
482
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('HEADER', 'Header')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
483
483
|
settingList: headerList,
|
|
484
484
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
485
485
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
486
486
|
themeStructure: themeStructure,
|
|
487
|
-
themeId: themesList === null || themesList === void 0
|
|
487
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes10 = themesList.themes) === null || _themesList$themes10 === void 0 || (_themesList$themes10 = _themesList$themes10[0]) === null || _themesList$themes10 === void 0 ? void 0 : _themesList$themes10.id
|
|
488
488
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUSINESS_LISTING', 'Business listing')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
489
489
|
settingList: businessListing,
|
|
490
490
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
491
491
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
492
492
|
themeStructure: themeStructure,
|
|
493
|
-
themeId: themesList === null || themesList === void 0
|
|
493
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes11 = themesList.themes) === null || _themesList$themes11 === void 0 || (_themesList$themes11 = _themesList$themes11[0]) === null || _themesList$themes11 === void 0 ? void 0 : _themesList$themes11.id
|
|
494
494
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUSINESS_BLOCK', 'Business block')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
495
495
|
settingList: businessBlockList,
|
|
496
496
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
497
497
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
498
498
|
themeStructure: themeStructure,
|
|
499
|
-
themeId: themesList === null || themesList === void 0
|
|
499
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes12 = themesList.themes) === null || _themesList$themes12 === void 0 || (_themesList$themes12 = _themesList$themes12[0]) === null || _themesList$themes12 === void 0 ? void 0 : _themesList$themes12.id
|
|
500
500
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUSINESS_PAGE', 'Business page')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
501
501
|
settingList: businessPageList,
|
|
502
502
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
503
503
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
504
504
|
themeStructure: themeStructure,
|
|
505
|
-
themeId: themesList === null || themesList === void 0
|
|
505
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes13 = themesList.themes) === null || _themesList$themes13 === void 0 || (_themesList$themes13 = _themesList$themes13[0]) === null || _themesList$themes13 === void 0 ? void 0 : _themesList$themes13.id
|
|
506
506
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('BUSINESS_INFORMATION', 'Business Information')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
507
507
|
settingList: businessInfoList,
|
|
508
508
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
509
509
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
510
510
|
themeStructure: themeStructure,
|
|
511
|
-
themeId: themesList === null || themesList === void 0
|
|
511
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes14 = themesList.themes) === null || _themesList$themes14 === void 0 || (_themesList$themes14 = _themesList$themes14[0]) === null || _themesList$themes14 === void 0 ? void 0 : _themesList$themes14.id
|
|
512
512
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('PRODUCTS_BLOCK', 'Products block')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
513
513
|
settingList: productBlockList,
|
|
514
514
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
515
515
|
advancedValues: advancedValues,
|
|
516
516
|
themeStructure: themeStructure,
|
|
517
|
-
themeId: themesList === null || themesList === void 0
|
|
517
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes15 = themesList.themes) === null || _themesList$themes15 === void 0 || (_themesList$themes15 = _themesList$themes15[0]) === null || _themesList$themes15 === void 0 ? void 0 : _themesList$themes15.id
|
|
518
518
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('REVIEWS_POPUPS', 'Reviews popups')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
519
519
|
settingList: reviewsPopups,
|
|
520
520
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
521
521
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
522
522
|
themeStructure: themeStructure,
|
|
523
|
-
themeId: themesList === null || themesList === void 0
|
|
523
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes16 = themesList.themes) === null || _themesList$themes16 === void 0 || (_themesList$themes16 = _themesList$themes16[0]) === null || _themesList$themes16 === void 0 ? void 0 : _themesList$themes16.id
|
|
524
524
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('CART_HEADER', 'Cart Header')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
525
525
|
settingList: cartHeaderList,
|
|
526
526
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
527
527
|
advancedValues: advancedValues,
|
|
528
528
|
themeStructure: themeStructure,
|
|
529
|
-
themeId: themesList === null || themesList === void 0
|
|
529
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes17 = themesList.themes) === null || _themesList$themes17 === void 0 || (_themesList$themes17 = _themesList$themes17[0]) === null || _themesList$themes17 === void 0 ? void 0 : _themesList$themes17.id
|
|
530
530
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('CHECKOUT', 'Checkout')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
531
531
|
settingList: checkoutList,
|
|
532
532
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
533
533
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
534
534
|
themeStructure: themeStructure,
|
|
535
|
-
themeId: themesList === null || themesList === void 0
|
|
535
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes18 = themesList.themes) === null || _themesList$themes18 === void 0 || (_themesList$themes18 = _themesList$themes18[0]) === null || _themesList$themes18 === void 0 ? void 0 : _themesList$themes18.id
|
|
536
536
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h3", null, t('CONFIRMATION_PAGE', 'Confirmation page')), /*#__PURE__*/_react.default.createElement("h3", null, t('ORDER_BLOCK', 'Order block')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
537
537
|
settingList: orderBlockList,
|
|
538
538
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
539
539
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
540
540
|
themeStructure: themeStructure,
|
|
541
|
-
themeId: themesList === null || themesList === void 0
|
|
541
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes19 = themesList.themes) === null || _themesList$themes19 === void 0 || (_themesList$themes19 = _themesList$themes19[0]) === null || _themesList$themes19 === void 0 ? void 0 : _themesList$themes19.id
|
|
542
542
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h3", null, t('POPUP_ADDRESS', 'Popup: Address')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
543
543
|
settingList: popupAddressList,
|
|
544
544
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
545
545
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
546
546
|
themeStructure: themeStructure,
|
|
547
|
-
themeId: themesList === null || themesList === void 0
|
|
547
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes20 = themesList.themes) === null || _themesList$themes20 === void 0 || (_themesList$themes20 = _themesList$themes20[0]) === null || _themesList$themes20 === void 0 ? void 0 : _themesList$themes20.id
|
|
548
548
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h3", null, t('MY_ACCOUNT_PAGE', 'My account page')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
549
549
|
settingList: myAccountList,
|
|
550
550
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
551
551
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
552
552
|
themeStructure: themeStructure,
|
|
553
|
-
themeId: themesList === null || themesList === void 0
|
|
553
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes21 = themesList.themes) === null || _themesList$themes21 === void 0 || (_themesList$themes21 = _themesList$themes21[0]) === null || _themesList$themes21 === void 0 ? void 0 : _themesList$themes21.id
|
|
554
554
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h3", null, t('MY_ORDERS', 'My orders')), /*#__PURE__*/_react.default.createElement("h3", null, t('ACTIVE_ORDERS_BLOCK', 'Active Orders Block')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
555
555
|
settingList: activeOrderBlockList,
|
|
556
556
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
557
557
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
558
558
|
themeStructure: themeStructure,
|
|
559
|
-
themeId: themesList === null || themesList === void 0
|
|
559
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes22 = themesList.themes) === null || _themesList$themes22 === void 0 || (_themesList$themes22 = _themesList$themes22[0]) === null || _themesList$themes22 === void 0 ? void 0 : _themesList$themes22.id
|
|
560
560
|
})), !isApp && /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('MENU_OPTIONS', 'Menu options')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
561
561
|
settingList: menuOptionList,
|
|
562
562
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
563
563
|
advancedValues: advancedValues,
|
|
564
564
|
themeStructure: themeStructure,
|
|
565
|
-
themeId: themesList === null || themesList === void 0
|
|
565
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes23 = themesList.themes) === null || _themesList$themes23 === void 0 || (_themesList$themes23 = _themesList$themes23[0]) === null || _themesList$themes23 === void 0 ? void 0 : _themesList$themes23.id
|
|
566
566
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('POPUP_ORDER_TYPES', 'Popup: Order types ')), /*#__PURE__*/_react.default.createElement(_styles2.FormControl, null, /*#__PURE__*/_react.default.createElement("label", null, t('TITLE_MENU_OPTIONS', 'Title Menu options')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
567
567
|
placeholder: t('TITLE_MENU_OPTIONS', 'Title Menu options'),
|
|
568
|
-
defaultValue: themeValuesRef === null || themeValuesRef === void 0
|
|
568
|
+
defaultValue: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre7 = themeValuesRef.current) === null || _themeValuesRef$curre7 === void 0 || (_themeValuesRef$curre7 = _themeValuesRef$curre7.order_types) === null || _themeValuesRef$curre7 === void 0 || (_themeValuesRef$curre7 = _themeValuesRef$curre7.components) === null || _themeValuesRef$curre7 === void 0 ? void 0 : _themeValuesRef$curre7.title_menu,
|
|
569
569
|
onChange: function onChange(e) {
|
|
570
570
|
return handleUpdateThemeValue(e.target.value, 'order_types.components.title_menu');
|
|
571
571
|
}
|
|
572
572
|
})), /*#__PURE__*/_react.default.createElement("h3", null, t('DELIVERY', 'Delivery')), /*#__PURE__*/_react.default.createElement(_OrderType.OrderType, {
|
|
573
|
-
typeValues: themeValuesRef === null || themeValuesRef === void 0
|
|
573
|
+
typeValues: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre8 = themeValuesRef.current) === null || _themeValuesRef$curre8 === void 0 || (_themeValuesRef$curre8 = _themeValuesRef$curre8.order_types) === null || _themeValuesRef$curre8 === void 0 || (_themeValuesRef$curre8 = _themeValuesRef$curre8.components) === null || _themeValuesRef$curre8 === void 0 || (_themeValuesRef$curre8 = _themeValuesRef$curre8.delivery) === null || _themeValuesRef$curre8 === void 0 ? void 0 : _themeValuesRef$curre8.components,
|
|
574
574
|
path: "order_types.components.delivery.components",
|
|
575
575
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
576
576
|
}), /*#__PURE__*/_react.default.createElement("h3", null, t('PICKUP', 'Pickup')), /*#__PURE__*/_react.default.createElement(_OrderType.OrderType, {
|
|
577
|
-
typeValues: themeValuesRef === null || themeValuesRef === void 0
|
|
577
|
+
typeValues: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre9 = themeValuesRef.current) === null || _themeValuesRef$curre9 === void 0 || (_themeValuesRef$curre9 = _themeValuesRef$curre9.order_types) === null || _themeValuesRef$curre9 === void 0 || (_themeValuesRef$curre9 = _themeValuesRef$curre9.components) === null || _themeValuesRef$curre9 === void 0 || (_themeValuesRef$curre9 = _themeValuesRef$curre9.pickup) === null || _themeValuesRef$curre9 === void 0 ? void 0 : _themeValuesRef$curre9.components,
|
|
578
578
|
path: "order_types.components.pickup.components",
|
|
579
579
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
580
580
|
}), /*#__PURE__*/_react.default.createElement("h3", null, t('EAT_IN', 'Eat in')), /*#__PURE__*/_react.default.createElement(_OrderType.OrderType, {
|
|
581
|
-
typeValues: themeValuesRef === null || themeValuesRef === void 0
|
|
581
|
+
typeValues: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre10 = themeValuesRef.current) === null || _themeValuesRef$curre10 === void 0 || (_themeValuesRef$curre10 = _themeValuesRef$curre10.order_types) === null || _themeValuesRef$curre10 === void 0 || (_themeValuesRef$curre10 = _themeValuesRef$curre10.components) === null || _themeValuesRef$curre10 === void 0 || (_themeValuesRef$curre10 = _themeValuesRef$curre10.eat_in) === null || _themeValuesRef$curre10 === void 0 ? void 0 : _themeValuesRef$curre10.components,
|
|
582
582
|
path: "order_types.components.eat_in.components",
|
|
583
583
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
584
584
|
}), /*#__PURE__*/_react.default.createElement("h3", null, t('CURBSIDE', 'Curbside')), /*#__PURE__*/_react.default.createElement(_OrderType.OrderType, {
|
|
585
|
-
typeValues: themeValuesRef === null || themeValuesRef === void 0
|
|
585
|
+
typeValues: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre11 = themeValuesRef.current) === null || _themeValuesRef$curre11 === void 0 || (_themeValuesRef$curre11 = _themeValuesRef$curre11.order_types) === null || _themeValuesRef$curre11 === void 0 || (_themeValuesRef$curre11 = _themeValuesRef$curre11.components) === null || _themeValuesRef$curre11 === void 0 || (_themeValuesRef$curre11 = _themeValuesRef$curre11.curbside) === null || _themeValuesRef$curre11 === void 0 ? void 0 : _themeValuesRef$curre11.components,
|
|
586
586
|
path: "order_types.components.curbside.components",
|
|
587
587
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
588
588
|
}), /*#__PURE__*/_react.default.createElement("h3", null, t('DRIVE_THRU', 'Drive thru')), /*#__PURE__*/_react.default.createElement(_OrderType.OrderType, {
|
|
589
|
-
typeValues: themeValuesRef === null || themeValuesRef === void 0
|
|
589
|
+
typeValues: themeValuesRef === null || themeValuesRef === void 0 || (_themeValuesRef$curre12 = themeValuesRef.current) === null || _themeValuesRef$curre12 === void 0 || (_themeValuesRef$curre12 = _themeValuesRef$curre12.order_types) === null || _themeValuesRef$curre12 === void 0 || (_themeValuesRef$curre12 = _themeValuesRef$curre12.components) === null || _themeValuesRef$curre12 === void 0 || (_themeValuesRef$curre12 = _themeValuesRef$curre12.drive_thru) === null || _themeValuesRef$curre12 === void 0 ? void 0 : _themeValuesRef$curre12.components,
|
|
590
590
|
path: "order_types.components.drive_thru.components",
|
|
591
591
|
handleUpdateThemeValue: handleUpdateThemeValue
|
|
592
592
|
})), /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('THIRD_PARTY_CODE', 'Third-party code')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
@@ -594,13 +594,13 @@ var AdvancedSettings = function AdvancedSettings(props) {
|
|
|
594
594
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
595
595
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
596
596
|
themeStructure: themeStructure,
|
|
597
|
-
themeId: themesList === null || themesList === void 0
|
|
597
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes24 = themesList.themes) === null || _themesList$themes24 === void 0 || (_themesList$themes24 = _themesList$themes24[0]) === null || _themesList$themes24 === void 0 ? void 0 : _themesList$themes24.id
|
|
598
598
|
})), isApp && /*#__PURE__*/_react.default.createElement(_styles2.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('NAVIGATION_BAR_MENU', 'Navigation bar menu')), /*#__PURE__*/_react.default.createElement(_SettingComponent.SettingComponent, {
|
|
599
599
|
settingList: navigationBarList,
|
|
600
600
|
handleUpdateThemeValue: handleUpdateThemeValue,
|
|
601
601
|
advancedValues: themeValuesRef === null || themeValuesRef === void 0 ? void 0 : themeValuesRef.current,
|
|
602
602
|
themeStructure: themeStructure,
|
|
603
|
-
themeId: themesList === null || themesList === void 0
|
|
603
|
+
themeId: themesList === null || themesList === void 0 || (_themesList$themes25 = themesList.themes) === null || _themesList$themes25 === void 0 || (_themesList$themes25 = _themesList$themes25[0]) === null || _themesList$themes25 === void 0 ? void 0 : _themesList$themes25.id
|
|
604
604
|
})), /*#__PURE__*/_react.default.createElement(_styles2.ButtonWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.Button, {
|
|
605
605
|
color: "primary",
|
|
606
606
|
borderRadius: "8px",
|