ordering-ui-admin-external 1.30.5 → 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.d23ef912a8c0e75e18e5.js → ordering-ui-admin.a29dbc53a1f823ce0ce5.js} +2 -2
- package/_bundles/{ordering-ui-admin.d23ef912a8c0e75e18e5.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 +4 -2
- 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 +41 -36
- package/_modules/components/BusinessIntelligence/ReportsBusinessSpend/index.js +22 -17
- package/_modules/components/BusinessIntelligence/ReportsCustomer/index.js +15 -15
- package/_modules/components/BusinessIntelligence/ReportsDriverDistance/index.js +30 -25
- package/_modules/components/BusinessIntelligence/ReportsDriverFilter/index.js +3 -3
- package/_modules/components/BusinessIntelligence/ReportsDriverOrder/index.js +22 -17
- package/_modules/components/BusinessIntelligence/ReportsDriverOrderTime/index.js +22 -17
- package/_modules/components/BusinessIntelligence/ReportsDriverSchedule/index.js +7 -7
- package/_modules/components/BusinessIntelligence/ReportsDriverSpend/index.js +22 -17
- package/_modules/components/BusinessIntelligence/ReportsGeneralSales/index.js +24 -19
- package/_modules/components/BusinessIntelligence/ReportsHeatMap/index.js +37 -32
- package/_modules/components/BusinessIntelligence/ReportsOrderDistance/index.js +38 -33
- package/_modules/components/BusinessIntelligence/ReportsOrderStatus/index.js +34 -29
- package/_modules/components/BusinessIntelligence/ReportsOrderTypeFilter/index.js +2 -2
- package/_modules/components/BusinessIntelligence/ReportsOrders/index.js +37 -32
- package/_modules/components/BusinessIntelligence/ReportsPaymethodSales/index.js +9 -9
- package/_modules/components/BusinessIntelligence/ReportsSaleAndCategory/index.js +30 -25
- package/_modules/components/BusinessIntelligence/ReportsSales/index.js +36 -31
- package/_modules/components/BusinessIntelligence/ReportsSpentTIme/index.js +8 -8
- package/_modules/components/BusinessIntelligence/ReportsTopDrivers/index.js +25 -26
- 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 +2 -4
- 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 +54 -54
- 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 +2 -2
- package/src/components/BusinessIntelligence/CountryFilter/index.js +3 -1
- package/src/components/BusinessIntelligence/ReportsBusinessDistance/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsBusinessSpend/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsDriverDistance/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsDriverOrder/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsDriverOrderTime/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsDriverSpend/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsGeneralSales/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsHeatMap/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsOrderDistance/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsOrderStatus/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsOrders/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsPaymethodSales/index.js +7 -7
- package/src/components/BusinessIntelligence/ReportsSaleAndCategory/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsSales/index.js +16 -11
- package/src/components/BusinessIntelligence/ReportsTopDrivers/index.js +7 -8
- package/src/components/Orders/OrderLogisticInformation/index.js +1 -1
- package/src/components/Orders/OrdersTable/index.js +0 -1
- package/src/components/SidebarMenu/index.js +6 -6
- package/template/config.json +1 -1
|
@@ -18,7 +18,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
18
18
|
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; } }
|
|
19
19
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
20
20
|
var AppResources = function AppResources(props) {
|
|
21
|
-
var _advancedValues$andro, _advancedValues$andro2, _advancedValues$andro3, _advancedValues$andro4, _advancedValues$andro5, _advancedValues$andro6, _advancedValues$andro7, _advancedValues$andro8, _advancedValues$
|
|
21
|
+
var _advancedValues$andro, _advancedValues$andro2, _advancedValues$andro3, _advancedValues$andro4, _advancedValues$andro5, _advancedValues$andro6, _advancedValues$andro7, _advancedValues$andro8, _advancedValues$ios, _advancedValues$ios2, _advancedValues$ios3, _advancedValues$ios4, _advancedValues$ios5, _advancedValues$ios6;
|
|
22
22
|
var handleUpdateSiteTheme = props.handleUpdateSiteTheme,
|
|
23
23
|
advancedValues = props.advancedValues,
|
|
24
24
|
setAdvancedValues = props.setAdvancedValues;
|
|
@@ -40,85 +40,85 @@ var AppResources = function AppResources(props) {
|
|
|
40
40
|
return /*#__PURE__*/_react.default.createElement(_styles2.Container, null, /*#__PURE__*/_react.default.createElement(_styles.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('ANDROID_SPLASH', 'Android splash')), /*#__PURE__*/_react.default.createElement("h2", null, t('PORTRAIT', 'Portrait')), /*#__PURE__*/_react.default.createElement(_styles2.ImageGroup, null, /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
41
41
|
title: "ldpi",
|
|
42
42
|
ratio: "200 x 320 px",
|
|
43
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
43
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$andro = advancedValues.android) === null || _advancedValues$andro === void 0 || (_advancedValues$andro = _advancedValues$andro.components) === null || _advancedValues$andro === void 0 || (_advancedValues$andro = _advancedValues$andro.portrait) === null || _advancedValues$andro === void 0 || (_advancedValues$andro = _advancedValues$andro.dimensions) === null || _advancedValues$andro === void 0 || (_advancedValues$andro = _advancedValues$andro.idpi) === null || _advancedValues$andro === void 0 ? void 0 : _advancedValues$andro.image,
|
|
44
44
|
path: "android.components.portrait.dimensions.idpi.image",
|
|
45
45
|
handleChangePhoto: handleUpdateThemeValue
|
|
46
46
|
}), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
47
47
|
title: "xhdpi",
|
|
48
48
|
ratio: "720 x 1280 px",
|
|
49
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
49
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$andro2 = advancedValues.android) === null || _advancedValues$andro2 === void 0 || (_advancedValues$andro2 = _advancedValues$andro2.components) === null || _advancedValues$andro2 === void 0 || (_advancedValues$andro2 = _advancedValues$andro2.portrait) === null || _advancedValues$andro2 === void 0 || (_advancedValues$andro2 = _advancedValues$andro2.dimensions) === null || _advancedValues$andro2 === void 0 || (_advancedValues$andro2 = _advancedValues$andro2.xhdpi) === null || _advancedValues$andro2 === void 0 ? void 0 : _advancedValues$andro2.image,
|
|
50
50
|
path: "android.components.portrait.dimensions.xhdpi.image",
|
|
51
51
|
handleChangePhoto: handleUpdateThemeValue
|
|
52
52
|
}), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
53
53
|
title: "xxhdpi/hdpi",
|
|
54
54
|
ratio: "960 x 1600 px",
|
|
55
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
55
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$andro3 = advancedValues.android) === null || _advancedValues$andro3 === void 0 || (_advancedValues$andro3 = _advancedValues$andro3.components) === null || _advancedValues$andro3 === void 0 || (_advancedValues$andro3 = _advancedValues$andro3.portrait) === null || _advancedValues$andro3 === void 0 || (_advancedValues$andro3 = _advancedValues$andro3.dimensions) === null || _advancedValues$andro3 === void 0 || (_advancedValues$andro3 = _advancedValues$andro3.xxhdpi) === null || _advancedValues$andro3 === void 0 ? void 0 : _advancedValues$andro3.image,
|
|
56
56
|
path: "android.components.portrait.dimensions.xxhdpi.image",
|
|
57
57
|
handleChangePhoto: handleUpdateThemeValue
|
|
58
58
|
}), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
59
59
|
title: "xxxhdpi/mdpi",
|
|
60
60
|
ratio: "1280 x 1920 px",
|
|
61
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
61
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$andro4 = advancedValues.android) === null || _advancedValues$andro4 === void 0 || (_advancedValues$andro4 = _advancedValues$andro4.components) === null || _advancedValues$andro4 === void 0 || (_advancedValues$andro4 = _advancedValues$andro4.portrait) === null || _advancedValues$andro4 === void 0 || (_advancedValues$andro4 = _advancedValues$andro4.dimensions) === null || _advancedValues$andro4 === void 0 || (_advancedValues$andro4 = _advancedValues$andro4.xxxhdpi) === null || _advancedValues$andro4 === void 0 ? void 0 : _advancedValues$andro4.image,
|
|
62
62
|
path: "android.components.portrait.dimensions.xxxhdpi.image",
|
|
63
63
|
handleChangePhoto: handleUpdateThemeValue
|
|
64
64
|
})), /*#__PURE__*/_react.default.createElement("h2", null, t('LANDSCAPE', 'Landscape')), /*#__PURE__*/_react.default.createElement(_styles2.ImageGroup, null, /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
65
65
|
title: "ldpi",
|
|
66
66
|
ratio: "200 x 320 px",
|
|
67
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
67
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$andro5 = advancedValues.android) === null || _advancedValues$andro5 === void 0 || (_advancedValues$andro5 = _advancedValues$andro5.components) === null || _advancedValues$andro5 === void 0 || (_advancedValues$andro5 = _advancedValues$andro5.landscape) === null || _advancedValues$andro5 === void 0 || (_advancedValues$andro5 = _advancedValues$andro5.dimensions) === null || _advancedValues$andro5 === void 0 || (_advancedValues$andro5 = _advancedValues$andro5.idpi) === null || _advancedValues$andro5 === void 0 ? void 0 : _advancedValues$andro5.image,
|
|
68
68
|
path: "android.components.landscape.dimensions.idpi.image",
|
|
69
69
|
handleChangePhoto: handleUpdateThemeValue
|
|
70
70
|
}), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
71
71
|
title: "xhdpi",
|
|
72
72
|
ratio: "720 x 1280 px",
|
|
73
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
73
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$andro6 = advancedValues.android) === null || _advancedValues$andro6 === void 0 || (_advancedValues$andro6 = _advancedValues$andro6.components) === null || _advancedValues$andro6 === void 0 || (_advancedValues$andro6 = _advancedValues$andro6.landscape) === null || _advancedValues$andro6 === void 0 || (_advancedValues$andro6 = _advancedValues$andro6.dimensions) === null || _advancedValues$andro6 === void 0 || (_advancedValues$andro6 = _advancedValues$andro6.xhdpi) === null || _advancedValues$andro6 === void 0 ? void 0 : _advancedValues$andro6.image,
|
|
74
74
|
path: "android.components.landscape.dimensions.xhdpi.image",
|
|
75
75
|
handleChangePhoto: handleUpdateThemeValue
|
|
76
76
|
}), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
77
77
|
title: "xxhdpi/hdpi",
|
|
78
78
|
ratio: "960 x 1600 px",
|
|
79
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
79
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$andro7 = advancedValues.android) === null || _advancedValues$andro7 === void 0 || (_advancedValues$andro7 = _advancedValues$andro7.components) === null || _advancedValues$andro7 === void 0 || (_advancedValues$andro7 = _advancedValues$andro7.landscape) === null || _advancedValues$andro7 === void 0 || (_advancedValues$andro7 = _advancedValues$andro7.dimensions) === null || _advancedValues$andro7 === void 0 || (_advancedValues$andro7 = _advancedValues$andro7.xxhdpi) === null || _advancedValues$andro7 === void 0 ? void 0 : _advancedValues$andro7.image,
|
|
80
80
|
path: "android.components.landscape.dimensions.xxhdpi.image",
|
|
81
81
|
handleChangePhoto: handleUpdateThemeValue
|
|
82
82
|
}), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
83
83
|
title: "xxxhdpi/mdpi",
|
|
84
84
|
ratio: "1280 x 1920 px",
|
|
85
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
85
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$andro8 = advancedValues.android) === null || _advancedValues$andro8 === void 0 || (_advancedValues$andro8 = _advancedValues$andro8.components) === null || _advancedValues$andro8 === void 0 || (_advancedValues$andro8 = _advancedValues$andro8.landscape) === null || _advancedValues$andro8 === void 0 || (_advancedValues$andro8 = _advancedValues$andro8.dimensions) === null || _advancedValues$andro8 === void 0 || (_advancedValues$andro8 = _advancedValues$andro8.xxxhdpi) === null || _advancedValues$andro8 === void 0 ? void 0 : _advancedValues$andro8.image,
|
|
86
86
|
path: "android.components.landscape.dimensions.xxxhdpi.image",
|
|
87
87
|
handleChangePhoto: handleUpdateThemeValue
|
|
88
88
|
}))), /*#__PURE__*/_react.default.createElement(_styles.BoxLayout, null, /*#__PURE__*/_react.default.createElement("h2", null, t('iOS_SPLASH', 'iOS splash')), /*#__PURE__*/_react.default.createElement("h2", null, t('PORTRAIT', 'Portrait')), /*#__PURE__*/_react.default.createElement(_styles2.ImageGroup, null, /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
89
89
|
title: "Ipad",
|
|
90
90
|
ratio: "1536 x 2048 px",
|
|
91
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
91
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$ios = advancedValues.ios) === null || _advancedValues$ios === void 0 || (_advancedValues$ios = _advancedValues$ios.components) === null || _advancedValues$ios === void 0 || (_advancedValues$ios = _advancedValues$ios.portrait) === null || _advancedValues$ios === void 0 || (_advancedValues$ios = _advancedValues$ios.dimensions) === null || _advancedValues$ios === void 0 || (_advancedValues$ios = _advancedValues$ios.ipad) === null || _advancedValues$ios === void 0 ? void 0 : _advancedValues$ios.image,
|
|
92
92
|
path: "ios.components.portrait.dimensions.ipad.image",
|
|
93
93
|
handleChangePhoto: handleUpdateThemeValue
|
|
94
94
|
}), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
95
95
|
title: "Iphone 3/4",
|
|
96
96
|
ratio: "640 x 960 px",
|
|
97
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
97
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$ios2 = advancedValues.ios) === null || _advancedValues$ios2 === void 0 || (_advancedValues$ios2 = _advancedValues$ios2.components) === null || _advancedValues$ios2 === void 0 || (_advancedValues$ios2 = _advancedValues$ios2.portrait) === null || _advancedValues$ios2 === void 0 || (_advancedValues$ios2 = _advancedValues$ios2.dimensions) === null || _advancedValues$ios2 === void 0 || (_advancedValues$ios2 = _advancedValues$ios2.iphone) === null || _advancedValues$ios2 === void 0 ? void 0 : _advancedValues$ios2.image,
|
|
98
98
|
path: "ios.components.portrait.dimensions.iphone.image",
|
|
99
99
|
handleChangePhoto: handleUpdateThemeValue
|
|
100
100
|
}), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
101
101
|
title: "Iphone 5/6 plus",
|
|
102
102
|
ratio: "640 x 960 px",
|
|
103
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
103
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$ios3 = advancedValues.ios) === null || _advancedValues$ios3 === void 0 || (_advancedValues$ios3 = _advancedValues$ios3.components) === null || _advancedValues$ios3 === void 0 || (_advancedValues$ios3 = _advancedValues$ios3.portrait) === null || _advancedValues$ios3 === void 0 || (_advancedValues$ios3 = _advancedValues$ios3.dimensions) === null || _advancedValues$ios3 === void 0 || (_advancedValues$ios3 = _advancedValues$ios3.iphone_plus) === null || _advancedValues$ios3 === void 0 ? void 0 : _advancedValues$ios3.image,
|
|
104
104
|
path: "ios.components.portrait.dimensions.iphone_plus.image",
|
|
105
105
|
handleChangePhoto: handleUpdateThemeValue
|
|
106
106
|
})), /*#__PURE__*/_react.default.createElement("h2", null, t('LANDSCAPE', 'Landscape')), /*#__PURE__*/_react.default.createElement(_styles2.ImageGroup, null, /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
107
107
|
title: "Ipad",
|
|
108
108
|
ratio: "2048 x 1536 px",
|
|
109
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
109
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$ios4 = advancedValues.ios) === null || _advancedValues$ios4 === void 0 || (_advancedValues$ios4 = _advancedValues$ios4.components) === null || _advancedValues$ios4 === void 0 || (_advancedValues$ios4 = _advancedValues$ios4.landscape) === null || _advancedValues$ios4 === void 0 || (_advancedValues$ios4 = _advancedValues$ios4.dimensions) === null || _advancedValues$ios4 === void 0 || (_advancedValues$ios4 = _advancedValues$ios4.ipad) === null || _advancedValues$ios4 === void 0 ? void 0 : _advancedValues$ios4.image,
|
|
110
110
|
path: "ios.components.landscape.dimensions.ipad.image",
|
|
111
111
|
handleChangePhoto: handleUpdateThemeValue
|
|
112
112
|
}), /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
113
113
|
title: "Iphone",
|
|
114
114
|
ratio: "2208 x 1242 px",
|
|
115
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
115
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$ios5 = advancedValues.ios) === null || _advancedValues$ios5 === void 0 || (_advancedValues$ios5 = _advancedValues$ios5.components) === null || _advancedValues$ios5 === void 0 || (_advancedValues$ios5 = _advancedValues$ios5.landscape) === null || _advancedValues$ios5 === void 0 || (_advancedValues$ios5 = _advancedValues$ios5.dimensions) === null || _advancedValues$ios5 === void 0 || (_advancedValues$ios5 = _advancedValues$ios5.iphone) === null || _advancedValues$ios5 === void 0 ? void 0 : _advancedValues$ios5.image,
|
|
116
116
|
path: "ios.components.landscape.dimensions.iphone.image",
|
|
117
117
|
handleChangePhoto: handleUpdateThemeValue
|
|
118
118
|
})), /*#__PURE__*/_react.default.createElement("h2", null, t('ANY', 'Any')), /*#__PURE__*/_react.default.createElement(_styles2.ImageGroup, null, /*#__PURE__*/_react.default.createElement(_ImageBox.ImageBox, {
|
|
119
119
|
title: t('ANY', 'Any'),
|
|
120
120
|
ratio: "2732 x 2732 px",
|
|
121
|
-
photo: advancedValues === null || advancedValues === void 0
|
|
121
|
+
photo: advancedValues === null || advancedValues === void 0 || (_advancedValues$ios6 = advancedValues.ios) === null || _advancedValues$ios6 === void 0 || (_advancedValues$ios6 = _advancedValues$ios6.components) === null || _advancedValues$ios6 === void 0 || (_advancedValues$ios6 = _advancedValues$ios6.any) === null || _advancedValues$ios6 === void 0 ? void 0 : _advancedValues$ios6.image,
|
|
122
122
|
path: "ios.components.any.image",
|
|
123
123
|
handleChangePhoto: handleUpdateThemeValue
|
|
124
124
|
}))), /*#__PURE__*/_react.default.createElement(_styles2.ButtonWrapper, null, /*#__PURE__*/_react.default.createElement(_styles3.Button, {
|
|
@@ -92,7 +92,7 @@ var CustomDomainUI = function CustomDomainUI(props) {
|
|
|
92
92
|
color: "primary"
|
|
93
93
|
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.InfoCircle, null)), /*#__PURE__*/_react.default.createElement(_styles2.CustomDomainInfoContent, null, /*#__PURE__*/_react.default.createElement("span", null, t('CUSTOM_DOMAIN_NOTIFY', 'Please make sure that your DNS CNAME is pointing {project-name}.tryordering.com'))))), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
94
94
|
placeholder: "www.yourdomain.com",
|
|
95
|
-
value: (formState === null || formState === void 0
|
|
95
|
+
value: (formState === null || formState === void 0 || (_formState$changes5 = formState.changes) === null || _formState$changes5 === void 0 ? void 0 : _formState$changes5.domain) || '',
|
|
96
96
|
onChange: function onChange(e) {
|
|
97
97
|
return handleChangeFormState({
|
|
98
98
|
domain: e.target.value
|
|
@@ -101,7 +101,7 @@ var CustomDomainUI = function CustomDomainUI(props) {
|
|
|
101
101
|
})), /*#__PURE__*/_react.default.createElement(_styles2.FormControl, null, /*#__PURE__*/_react.default.createElement("label", null, t('SLL_SETUP_TYPE', 'SSL setup type')), /*#__PURE__*/_react.default.createElement(_styles2.SelectWrapper, null, /*#__PURE__*/_react.default.createElement(_FirstSelect.Select, {
|
|
102
102
|
options: sslTypeList,
|
|
103
103
|
className: "select",
|
|
104
|
-
defaultValue: formState === null || formState === void 0
|
|
104
|
+
defaultValue: formState === null || formState === void 0 || (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.ssl_setup_type,
|
|
105
105
|
placeholder: t('SELECT_OPTION', 'Select an option'),
|
|
106
106
|
onChange: function onChange(value) {
|
|
107
107
|
return handleChangeFormState({
|
|
@@ -37,11 +37,11 @@ var SelectBusiness = function SelectBusiness(props) {
|
|
|
37
37
|
if (businessesList !== null && businessesList !== void 0 && businessesList.loading || !(businessesList !== null && businessesList !== void 0 && businessesList.businesses)) return;
|
|
38
38
|
var _businessOptions = [];
|
|
39
39
|
businessesList.businesses.map(function (business) {
|
|
40
|
-
var _theme$images
|
|
40
|
+
var _theme$images;
|
|
41
41
|
_businessOptions.push({
|
|
42
42
|
value: business === null || business === void 0 ? void 0 : business.slug,
|
|
43
43
|
content: /*#__PURE__*/_react.default.createElement(_styles2.Option, null, /*#__PURE__*/_react.default.createElement("img", {
|
|
44
|
-
src: optimizeImage((business === null || business === void 0 ? void 0 : business.logo) || ((_theme$images = theme.images) === null || _theme$images === void 0
|
|
44
|
+
src: optimizeImage((business === null || business === void 0 ? void 0 : business.logo) || ((_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.dummies) === null || _theme$images === void 0 ? void 0 : _theme$images.businessLogo), 'h_50,c_limit'),
|
|
45
45
|
alt: ""
|
|
46
46
|
}), /*#__PURE__*/_react.default.createElement("span", null, business === null || business === void 0 ? void 0 : business.name))
|
|
47
47
|
});
|
|
@@ -37,11 +37,11 @@ var SelectFranchise = function SelectFranchise(props) {
|
|
|
37
37
|
if (franchisesList !== null && franchisesList !== void 0 && franchisesList.loading || !(franchisesList !== null && franchisesList !== void 0 && franchisesList.franchises)) return;
|
|
38
38
|
var _options = [];
|
|
39
39
|
franchisesList.franchises.map(function (franchise) {
|
|
40
|
-
var _theme$images
|
|
40
|
+
var _theme$images;
|
|
41
41
|
_options.push({
|
|
42
42
|
value: franchise === null || franchise === void 0 ? void 0 : franchise.id,
|
|
43
43
|
content: /*#__PURE__*/_react.default.createElement(_styles2.Option, null, /*#__PURE__*/_react.default.createElement("img", {
|
|
44
|
-
src: optimizeImage((franchise === null || franchise === void 0 ? void 0 : franchise.logo) || ((_theme$images = theme.images) === null || _theme$images === void 0
|
|
44
|
+
src: optimizeImage((franchise === null || franchise === void 0 ? void 0 : franchise.logo) || ((_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.dummies) === null || _theme$images === void 0 ? void 0 : _theme$images.businessLogo), 'h_50,c_limit'),
|
|
45
45
|
alt: ""
|
|
46
46
|
}), /*#__PURE__*/_react.default.createElement("span", null, franchise === null || franchise === void 0 ? void 0 : franchise.name))
|
|
47
47
|
});
|
|
@@ -37,7 +37,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
37
37
|
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; } }
|
|
38
38
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
39
39
|
var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
40
|
-
var _themeValues$website_, _themeValues$website_2, _themeValues$website_3, _themeValues$website_4, _themeValues$website_5, _themeValues$website_6, _themeValues$website_7, _themeValues$website_8, _themeValues$website_9, _themeValues$website_10, _themeValues$website_11, _themeValues$
|
|
40
|
+
var _themeValues$website_, _themeValues$website_2, _themeValues$website_3, _themeValues$website_4, _themeValues$website_5, _themeValues$website_6, _themeValues$website_7, _themeValues$website_8, _themeValues$website_9, _themeValues$website_10, _themeValues$website_11, _themeValues$images, _themeValues$images2, _themeValues$images3, _themeValues$images4, _themeValues$images5, _themeValues$images6, _themeValues$images7, _themeValues$images8, _themeValues$images9, _themeValues$images11, _themeValues$theme_se, _orderingTheme$themes3, _themeValues$theme_se2, _themeValues$theme_se3;
|
|
41
41
|
var themeValues = props.themeValues,
|
|
42
42
|
orderingTheme = props.orderingTheme,
|
|
43
43
|
setThemeValues = props.setThemeValues,
|
|
@@ -221,7 +221,7 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
221
221
|
borderRadius: "8px",
|
|
222
222
|
onClick: function onClick() {
|
|
223
223
|
var _configs$site_url;
|
|
224
|
-
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
|
|
224
|
+
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');
|
|
225
225
|
}
|
|
226
226
|
}, t('VISIT_MY_WEBSITE', 'Visit My Website')))), /*#__PURE__*/_react.default.createElement("img", {
|
|
227
227
|
src: theme.images.myProducts.orderingWebsite,
|
|
@@ -251,7 +251,7 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
251
251
|
}) : /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
252
252
|
name: "name",
|
|
253
253
|
placeholder: t('SOURCE_DEMO_WEBSITE', 'Source demo website'),
|
|
254
|
-
value: (themeValues === null || themeValues === void 0
|
|
254
|
+
value: (themeValues === null || themeValues === void 0 || (_themeValues$website_ = themeValues.website_settings) === null || _themeValues$website_ === void 0 || (_themeValues$website_ = _themeValues$website_.components) === null || _themeValues$website_ === void 0 || (_themeValues$website_ = _themeValues$website_.values) === null || _themeValues$website_ === void 0 ? void 0 : _themeValues$website_.name) || '',
|
|
255
255
|
onChange: handleChangeSiteSettings
|
|
256
256
|
})), /*#__PURE__*/_react.default.createElement(_styles2.FormGroup, null, /*#__PURE__*/_react.default.createElement("label", null, orderingTheme !== null && orderingTheme !== void 0 && orderingTheme.loading ? /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
257
257
|
height: 20,
|
|
@@ -264,7 +264,7 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
264
264
|
}) : /*#__PURE__*/_react.default.createElement(_styles.TextArea, {
|
|
265
265
|
name: "description",
|
|
266
266
|
placeholder: t('DESCRIPTION', 'Decription'),
|
|
267
|
-
value: (themeValues === null || themeValues === void 0
|
|
267
|
+
value: (themeValues === null || themeValues === void 0 || (_themeValues$website_2 = themeValues.website_settings) === null || _themeValues$website_2 === void 0 || (_themeValues$website_2 = _themeValues$website_2.components) === null || _themeValues$website_2 === void 0 || (_themeValues$website_2 = _themeValues$website_2.values) === null || _themeValues$website_2 === void 0 ? void 0 : _themeValues$website_2.description) || '',
|
|
268
268
|
onChange: handleChangeSiteSettings
|
|
269
269
|
})), /*#__PURE__*/_react.default.createElement(_styles2.FormGroup, null, /*#__PURE__*/_react.default.createElement("label", null, orderingTheme !== null && orderingTheme !== void 0 && orderingTheme.loading ? /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
270
270
|
height: 20,
|
|
@@ -343,16 +343,16 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
343
343
|
onClick: function onClick() {
|
|
344
344
|
return handleChangeValue('marketplace', 'website_theme', 'type');
|
|
345
345
|
}
|
|
346
|
-
}, (themeValues === null || themeValues === void 0
|
|
346
|
+
}, (themeValues === null || themeValues === void 0 || (_themeValues$website_3 = themeValues.website_theme) === null || _themeValues$website_3 === void 0 || (_themeValues$website_3 = _themeValues$website_3.components) === null || _themeValues$website_3 === void 0 ? void 0 : _themeValues$website_3.type) === 'marketplace' ? /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.RecordCircleFill, {
|
|
347
347
|
className: "active"
|
|
348
348
|
}) : /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Circle, null), /*#__PURE__*/_react.default.createElement("span", null, t('MARKETPLACE', 'Marketplace'))), /*#__PURE__*/_react.default.createElement(_styles2.RadioItem, {
|
|
349
349
|
onClick: function onClick() {
|
|
350
350
|
return handleChangeValue('franchise', 'website_theme', 'type');
|
|
351
351
|
}
|
|
352
|
-
}, (themeValues === null || themeValues === void 0
|
|
352
|
+
}, (themeValues === null || themeValues === void 0 || (_themeValues$website_4 = themeValues.website_theme) === null || _themeValues$website_4 === void 0 || (_themeValues$website_4 = _themeValues$website_4.components) === null || _themeValues$website_4 === void 0 ? void 0 : _themeValues$website_4.type) === 'franchise' ? /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.RecordCircleFill, {
|
|
353
353
|
className: "active"
|
|
354
|
-
}) : /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Circle, null), /*#__PURE__*/_react.default.createElement("span", null, t('REPORT_HEADER_FRANCHISES', 'Franchise'))), (themeValues === null || themeValues === void 0
|
|
355
|
-
defaultValue: themeValues === null || themeValues === void 0
|
|
354
|
+
}) : /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Circle, null), /*#__PURE__*/_react.default.createElement("span", null, t('REPORT_HEADER_FRANCHISES', 'Franchise'))), (themeValues === null || themeValues === void 0 || (_themeValues$website_5 = themeValues.website_theme) === null || _themeValues$website_5 === void 0 || (_themeValues$website_5 = _themeValues$website_5.components) === null || _themeValues$website_5 === void 0 ? void 0 : _themeValues$website_5.type) === 'franchise' && /*#__PURE__*/_react.default.createElement(_SelectFranchise.SelectFranchise, {
|
|
355
|
+
defaultValue: themeValues === null || themeValues === void 0 || (_themeValues$website_6 = themeValues.website_theme) === null || _themeValues$website_6 === void 0 || (_themeValues$website_6 = _themeValues$website_6.components) === null || _themeValues$website_6 === void 0 ? void 0 : _themeValues$website_6.franchise_slug,
|
|
356
356
|
franchisesList: franchisesList,
|
|
357
357
|
onChange: function onChange(value) {
|
|
358
358
|
return handleChangeValue(value, 'website_theme', 'franchise_slug');
|
|
@@ -361,16 +361,16 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
361
361
|
onClick: function onClick() {
|
|
362
362
|
return handleChangeValue('single_store', 'website_theme', 'type');
|
|
363
363
|
}
|
|
364
|
-
}, (themeValues === null || themeValues === void 0
|
|
364
|
+
}, (themeValues === null || themeValues === void 0 || (_themeValues$website_7 = themeValues.website_theme) === null || _themeValues$website_7 === void 0 || (_themeValues$website_7 = _themeValues$website_7.components) === null || _themeValues$website_7 === void 0 ? void 0 : _themeValues$website_7.type) === 'single_store' ? /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.RecordCircleFill, {
|
|
365
365
|
className: "active"
|
|
366
|
-
}) : /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Circle, null), /*#__PURE__*/_react.default.createElement("span", null, t('SINGLE_STORE', 'Single Store'))), (themeValues === null || themeValues === void 0
|
|
367
|
-
defaultValue: themeValues === null || themeValues === void 0
|
|
366
|
+
}) : /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Circle, null), /*#__PURE__*/_react.default.createElement("span", null, t('SINGLE_STORE', 'Single Store'))), (themeValues === null || themeValues === void 0 || (_themeValues$website_8 = themeValues.website_theme) === null || _themeValues$website_8 === void 0 || (_themeValues$website_8 = _themeValues$website_8.components) === null || _themeValues$website_8 === void 0 ? void 0 : _themeValues$website_8.type) === 'single_store' && /*#__PURE__*/_react.default.createElement(_SelectBusiness.SelectBusiness, {
|
|
367
|
+
defaultValue: themeValues === null || themeValues === void 0 || (_themeValues$website_9 = themeValues.website_theme) === null || _themeValues$website_9 === void 0 || (_themeValues$website_9 = _themeValues$website_9.components) === null || _themeValues$website_9 === void 0 ? void 0 : _themeValues$website_9.business_slug,
|
|
368
368
|
businessesList: businessesList,
|
|
369
369
|
onChange: function onChange(value) {
|
|
370
370
|
return handleChangeValue(value, 'website_theme', 'business_slug');
|
|
371
371
|
}
|
|
372
|
-
})), (themeValues === null || themeValues === void 0
|
|
373
|
-
src: previewImages === null || previewImages === void 0 ? void 0 : previewImages[themeValues === null || themeValues === void 0
|
|
372
|
+
})), (themeValues === null || themeValues === void 0 || (_themeValues$website_10 = themeValues.website_theme) === null || _themeValues$website_10 === void 0 || (_themeValues$website_10 = _themeValues$website_10.components) === null || _themeValues$website_10 === void 0 ? void 0 : _themeValues$website_10.type) && /*#__PURE__*/_react.default.createElement(_styles2.WebsitePriviewImageWrapper, null, /*#__PURE__*/_react.default.createElement("img", {
|
|
373
|
+
src: previewImages === null || previewImages === void 0 ? void 0 : previewImages[themeValues === null || themeValues === void 0 || (_themeValues$website_11 = themeValues.website_theme) === null || _themeValues$website_11 === void 0 || (_themeValues$website_11 = _themeValues$website_11.components) === null || _themeValues$website_11 === void 0 ? void 0 : _themeValues$website_11.type]
|
|
374
374
|
}))))), /*#__PURE__*/_react.default.createElement(_styles2.InputFormWrapper, null, /*#__PURE__*/_react.default.createElement("h4", null, t('IMAGES', 'Images')), /*#__PURE__*/_react.default.createElement(_styles2.InnerBlock, null, orderingTheme !== null && orderingTheme !== void 0 && orderingTheme.loading ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
375
375
|
height: 100,
|
|
376
376
|
width: 100,
|
|
@@ -403,12 +403,12 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
403
403
|
},
|
|
404
404
|
accept: "image/png, image/jpeg, image/jpg",
|
|
405
405
|
disabled: orderingTheme.loading
|
|
406
|
-
}, (themeValues === null || themeValues === void 0
|
|
407
|
-
src: themeValues === null || themeValues === void 0
|
|
406
|
+
}, (themeValues === null || themeValues === void 0 || (_themeValues$images = themeValues.images) === null || _themeValues$images === void 0 || (_themeValues$images = _themeValues$images.components) === null || _themeValues$images === void 0 || (_themeValues$images = _themeValues$images.logo) === null || _themeValues$images === void 0 || (_themeValues$images = _themeValues$images.components) === null || _themeValues$images === void 0 ? void 0 : _themeValues$images.image) && /*#__PURE__*/_react.default.createElement("img", {
|
|
407
|
+
src: themeValues === null || themeValues === void 0 || (_themeValues$images2 = themeValues.images) === null || _themeValues$images2 === void 0 || (_themeValues$images2 = _themeValues$images2.components) === null || _themeValues$images2 === void 0 || (_themeValues$images2 = _themeValues$images2.logo) === null || _themeValues$images2 === void 0 || (_themeValues$images2 = _themeValues$images2.components) === null || _themeValues$images2 === void 0 ? void 0 : _themeValues$images2.image,
|
|
408
408
|
alt: "logo image",
|
|
409
409
|
loading: "lazy"
|
|
410
410
|
}), /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIconContainer, {
|
|
411
|
-
bgimage: themeValues === null || themeValues === void 0
|
|
411
|
+
bgimage: themeValues === null || themeValues === void 0 || (_themeValues$images3 = themeValues.images) === null || _themeValues$images3 === void 0 || (_themeValues$images3 = _themeValues$images3.components) === null || _themeValues$images3 === void 0 || (_themeValues$images3 = _themeValues$images3.logo) === null || _themeValues$images3 === void 0 || (_themeValues$images3 = _themeValues$images3.components) === null || _themeValues$images3 === void 0 ? void 0 : _themeValues$images3.image
|
|
412
412
|
}, /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Image, null), /*#__PURE__*/_react.default.createElement("span", null, t('DRAG_AND_DROP', 'Drag and drop'))))))), /*#__PURE__*/_react.default.createElement(_styles2.ImgInfoWrapper, null, /*#__PURE__*/_react.default.createElement("h4", null, t('HEADER_LOGO', 'Header logo')), /*#__PURE__*/_react.default.createElement("p", null, "900 x 200 px"), /*#__PURE__*/_react.default.createElement("p", null, t('FORMAT', 'Format'), ": PNG"))), orderingTheme !== null && orderingTheme !== void 0 && orderingTheme.loading ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
413
413
|
height: 100,
|
|
414
414
|
style: {
|
|
@@ -441,12 +441,12 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
441
441
|
},
|
|
442
442
|
accept: "image/png, image/jpeg, image/jpg",
|
|
443
443
|
disabled: orderingTheme.loading
|
|
444
|
-
}, (themeValues === null || themeValues === void 0
|
|
445
|
-
src: themeValues === null || themeValues === void 0
|
|
444
|
+
}, (themeValues === null || themeValues === void 0 || (_themeValues$images4 = themeValues.images) === null || _themeValues$images4 === void 0 || (_themeValues$images4 = _themeValues$images4.components) === null || _themeValues$images4 === void 0 || (_themeValues$images4 = _themeValues$images4.homepage_background) === null || _themeValues$images4 === void 0 || (_themeValues$images4 = _themeValues$images4.components) === null || _themeValues$images4 === void 0 ? void 0 : _themeValues$images4.image) && /*#__PURE__*/_react.default.createElement("img", {
|
|
445
|
+
src: themeValues === null || themeValues === void 0 || (_themeValues$images5 = themeValues.images) === null || _themeValues$images5 === void 0 || (_themeValues$images5 = _themeValues$images5.components) === null || _themeValues$images5 === void 0 || (_themeValues$images5 = _themeValues$images5.homepage_background) === null || _themeValues$images5 === void 0 || (_themeValues$images5 = _themeValues$images5.components) === null || _themeValues$images5 === void 0 ? void 0 : _themeValues$images5.image,
|
|
446
446
|
alt: "backgrond image",
|
|
447
447
|
loading: "lazy"
|
|
448
448
|
}), /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIconContainer, {
|
|
449
|
-
bgimage: !!(themeValues !== null && themeValues !== void 0 && (_themeValues$images6 = themeValues.images) !== null && _themeValues$images6 !== void 0 && (_themeValues$images6
|
|
449
|
+
bgimage: !!(themeValues !== null && themeValues !== void 0 && (_themeValues$images6 = themeValues.images) !== null && _themeValues$images6 !== void 0 && (_themeValues$images6 = _themeValues$images6.components) !== null && _themeValues$images6 !== void 0 && (_themeValues$images6 = _themeValues$images6.homepage_background) !== null && _themeValues$images6 !== void 0 && (_themeValues$images6 = _themeValues$images6.components) !== null && _themeValues$images6 !== void 0 && _themeValues$images6.image)
|
|
450
450
|
}, /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Image, null), /*#__PURE__*/_react.default.createElement("span", null, t('DRAG_AND_DROP', 'Drag and drop'))))))), /*#__PURE__*/_react.default.createElement(_styles2.ImgInfoWrapper, null, /*#__PURE__*/_react.default.createElement("h4", null, t('HOMEPAGE_BACKGROUND', 'Homepage background')), /*#__PURE__*/_react.default.createElement("p", null, "1920 x 1280 px"), /*#__PURE__*/_react.default.createElement("p", null, t('FORMAT', 'Format'), ": PNG"))), orderingTheme !== null && orderingTheme !== void 0 && orderingTheme.loading ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
451
451
|
height: 100,
|
|
452
452
|
style: {
|
|
@@ -479,24 +479,24 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
479
479
|
},
|
|
480
480
|
accept: "image/png, image/jpeg, image/jpg",
|
|
481
481
|
disabled: orderingTheme.loading
|
|
482
|
-
}, (themeValues === null || themeValues === void 0
|
|
483
|
-
src: themeValues === null || themeValues === void 0
|
|
482
|
+
}, (themeValues === null || themeValues === void 0 || (_themeValues$images7 = themeValues.images) === null || _themeValues$images7 === void 0 || (_themeValues$images7 = _themeValues$images7.components) === null || _themeValues$images7 === void 0 || (_themeValues$images7 = _themeValues$images7.homepage_mobile_background) === null || _themeValues$images7 === void 0 || (_themeValues$images7 = _themeValues$images7.components) === null || _themeValues$images7 === void 0 ? void 0 : _themeValues$images7.image) && /*#__PURE__*/_react.default.createElement("img", {
|
|
483
|
+
src: themeValues === null || themeValues === void 0 || (_themeValues$images8 = themeValues.images) === null || _themeValues$images8 === void 0 || (_themeValues$images8 = _themeValues$images8.components) === null || _themeValues$images8 === void 0 || (_themeValues$images8 = _themeValues$images8.homepage_mobile_background) === null || _themeValues$images8 === void 0 || (_themeValues$images8 = _themeValues$images8.components) === null || _themeValues$images8 === void 0 ? void 0 : _themeValues$images8.image,
|
|
484
484
|
alt: "backgrond image",
|
|
485
485
|
loading: "lazy"
|
|
486
486
|
}), /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIconContainer, {
|
|
487
|
-
bgimage: !!(themeValues !== null && themeValues !== void 0 && (_themeValues$images9 = themeValues.images) !== null && _themeValues$images9 !== void 0 && (_themeValues$images9
|
|
487
|
+
bgimage: !!(themeValues !== null && themeValues !== void 0 && (_themeValues$images9 = themeValues.images) !== null && _themeValues$images9 !== void 0 && (_themeValues$images9 = _themeValues$images9.components) !== null && _themeValues$images9 !== void 0 && (_themeValues$images9 = _themeValues$images9.homepage_mobile_background) !== null && _themeValues$images9 !== void 0 && (_themeValues$images9 = _themeValues$images9.components) !== null && _themeValues$images9 !== void 0 && _themeValues$images9.image)
|
|
488
488
|
}, /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Image, null), /*#__PURE__*/_react.default.createElement("span", null, t('DRAG_AND_DROP', 'Drag and drop'))))))), /*#__PURE__*/_react.default.createElement(_styles2.ImgInfoWrapper, null, /*#__PURE__*/_react.default.createElement("h4", null, t('HOMEPAGE_MOBILE_BACKGROUND', 'Homepage mobile background')), /*#__PURE__*/_react.default.createElement("p", null, "1440 x 770 px"), /*#__PURE__*/_react.default.createElement("p", null, t('FORMAT', 'Format'), ": PNG"))), orderingTheme !== null && orderingTheme !== void 0 && orderingTheme.loading ? /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
489
489
|
width: 200,
|
|
490
490
|
height: 20
|
|
491
491
|
}) : /*#__PURE__*/_react.default.createElement(_styles2.CheckBoxWrapper, {
|
|
492
492
|
onClick: function onClick() {
|
|
493
|
-
var _themeValues$images10
|
|
494
|
-
return handleChangeValue(!(themeValues !== null && themeValues !== void 0 && (_themeValues$images10 = themeValues.images) !== null && _themeValues$images10 !== void 0 && (_themeValues$
|
|
493
|
+
var _themeValues$images10;
|
|
494
|
+
return handleChangeValue(!(themeValues !== null && themeValues !== void 0 && (_themeValues$images10 = themeValues.images) !== null && _themeValues$images10 !== void 0 && (_themeValues$images10 = _themeValues$images10.components) !== null && _themeValues$images10 !== void 0 && _themeValues$images10.homepage_image_fullscreen), 'images', 'homepage_image_fullscreen');
|
|
495
495
|
}
|
|
496
|
-
}, themeValues !== null && themeValues !== void 0 && (_themeValues$
|
|
496
|
+
}, themeValues !== null && themeValues !== void 0 && (_themeValues$images11 = themeValues.images) !== null && _themeValues$images11 !== void 0 && (_themeValues$images11 = _themeValues$images11.components) !== null && _themeValues$images11 !== void 0 && _themeValues$images11.homepage_image_fullscreen ? /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.CheckSquareFill, {
|
|
497
497
|
className: "active"
|
|
498
498
|
}) : /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Square, null), /*#__PURE__*/_react.default.createElement("span", null, t('HOMEPAGE_IMAGE_FULLSCREEN', 'Homepage image fullscreen'))))), !(orderingTheme !== null && orderingTheme !== void 0 && orderingTheme.loading) && /*#__PURE__*/_react.default.createElement(_styles2.InputFormWrapper, null, /*#__PURE__*/_react.default.createElement("h4", null, t('THEME_SETTINGS', 'Theme Settings')), /*#__PURE__*/_react.default.createElement(_styles2.InnerBlock, null, /*#__PURE__*/_react.default.createElement(_styles2.ColorPickerWrapper, null, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("p", null, t('PRIMARY_COLOR_BUTTONS', 'Primary Color for Buttons')), /*#__PURE__*/_react.default.createElement(_Shared.ColorPicker, {
|
|
499
|
-
defaultColor: themeValues === null || themeValues === void 0
|
|
499
|
+
defaultColor: themeValues === null || themeValues === void 0 || (_themeValues$theme_se = themeValues.theme_settings) === null || _themeValues$theme_se === void 0 || (_themeValues$theme_se = _themeValues$theme_se.components) === null || _themeValues$theme_se === void 0 || (_themeValues$theme_se = _themeValues$theme_se.style) === null || _themeValues$theme_se === void 0 ? void 0 : _themeValues$theme_se.primary_btn_color,
|
|
500
500
|
onChangeColor: function onChangeColor(color) {
|
|
501
501
|
return handleChangeValue(color, 'theme_settings', 'style.primary_btn_color');
|
|
502
502
|
}
|
|
@@ -571,7 +571,7 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
571
571
|
}));
|
|
572
572
|
}
|
|
573
573
|
}, /*#__PURE__*/_react.default.createElement(_Shared.ImageCrop, {
|
|
574
|
-
themeId: orderingTheme === null || orderingTheme === void 0
|
|
574
|
+
themeId: orderingTheme === null || orderingTheme === void 0 || (_orderingTheme$themes3 = orderingTheme.themes) === null || _orderingTheme$themes3 === void 0 || (_orderingTheme$themes3 = _orderingTheme$themes3[0]) === null || _orderingTheme$themes3 === void 0 ? void 0 : _orderingTheme$themes3.theme_id,
|
|
575
575
|
useCloudinaryUrl: true,
|
|
576
576
|
photo: cropState === null || cropState === void 0 ? void 0 : cropState.data,
|
|
577
577
|
handleChangePhoto: handleChangePhoto
|
|
@@ -583,7 +583,7 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
583
583
|
}
|
|
584
584
|
}, /*#__PURE__*/_react.default.createElement(_ContentForm.ContentForm, {
|
|
585
585
|
title: t('HOME_PAGE_CONTENT', 'Home Page Content'),
|
|
586
|
-
content: themeValues === null || themeValues === void 0
|
|
586
|
+
content: themeValues === null || themeValues === void 0 || (_themeValues$theme_se2 = themeValues.theme_settings) === null || _themeValues$theme_se2 === void 0 || (_themeValues$theme_se2 = _themeValues$theme_se2.components) === null || _themeValues$theme_se2 === void 0 || (_themeValues$theme_se2 = _themeValues$theme_se2.values) === null || _themeValues$theme_se2 === void 0 ? void 0 : _themeValues$theme_se2.homepage_content,
|
|
587
587
|
onClose: function onClose() {
|
|
588
588
|
return setHomePageContent(false);
|
|
589
589
|
},
|
|
@@ -597,7 +597,7 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
597
597
|
}
|
|
598
598
|
}, /*#__PURE__*/_react.default.createElement(_ContentForm.ContentForm, {
|
|
599
599
|
title: t('FOOTER', 'Footer'),
|
|
600
|
-
content: themeValues === null || themeValues === void 0
|
|
600
|
+
content: themeValues === null || themeValues === void 0 || (_themeValues$theme_se3 = themeValues.theme_settings) === null || _themeValues$theme_se3 === void 0 || (_themeValues$theme_se3 = _themeValues$theme_se3.components) === null || _themeValues$theme_se3 === void 0 || (_themeValues$theme_se3 = _themeValues$theme_se3.values) === null || _themeValues$theme_se3 === void 0 ? void 0 : _themeValues$theme_se3.footer_content,
|
|
601
601
|
onClose: function onClose() {
|
|
602
602
|
return setFooterContent(false);
|
|
603
603
|
},
|
|
@@ -128,11 +128,11 @@ var UploadAudioUI = function UploadAudioUI(props) {
|
|
|
128
128
|
return handleFiles(dataTransfer.files);
|
|
129
129
|
},
|
|
130
130
|
accept: ".mp3, .aac, .ogg"
|
|
131
|
-
}, (formState === null || formState === void 0
|
|
131
|
+
}, (formState === null || formState === void 0 || (_formState$changes5 = formState.changes) === null || _formState$changes5 === void 0 ? void 0 : _formState$changes5.file) && /*#__PURE__*/_react.default.createElement(_styles2.PdfIconBox, null, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.FileMusicFill, null)), /*#__PURE__*/_react.default.createElement(_styles2.UploadIconBox, null, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.CloudUploadFill, null), /*#__PURE__*/_react.default.createElement("p", null, t('DRAG_AND_DROP', 'Drag and drop'))))))), /*#__PURE__*/_react.default.createElement(_styles2.Or, null, t('OR', 'Or')), /*#__PURE__*/_react.default.createElement(_styles2.FormControl, null, /*#__PURE__*/_react.default.createElement("label", null, t('SHARE_CUSTOM_SOUNDS_LINK', 'Share your custom sounds link')), formState !== null && formState !== void 0 && formState.loading ? /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
132
132
|
height: 44
|
|
133
133
|
}) : /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
134
134
|
placeholder: t('URL', 'URL'),
|
|
135
|
-
defaultValue: formState === null || formState === void 0
|
|
135
|
+
defaultValue: formState === null || formState === void 0 || (_formState$changes6 = formState.changes) === null || _formState$changes6 === void 0 ? void 0 : _formState$changes6.url,
|
|
136
136
|
onChange: function onChange(e) {
|
|
137
137
|
return changeFormState({
|
|
138
138
|
url: e.target.value
|
|
@@ -10,7 +10,7 @@ var _useOnlineStatus = require("../../hooks/useOnlineStatus");
|
|
|
10
10
|
var _styles = require("./styles");
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
12
|
var NotNetworkConnectivity = function NotNetworkConnectivity() {
|
|
13
|
-
var _theme$images
|
|
13
|
+
var _theme$images;
|
|
14
14
|
var onlineStatus = (0, _useOnlineStatus.useOnlineStatus)();
|
|
15
15
|
var theme = (0, _styledComponents.useTheme)();
|
|
16
16
|
return /*#__PURE__*/_react.default.createElement(_styles.Container, {
|
|
@@ -20,7 +20,7 @@ var NotNetworkConnectivity = function NotNetworkConnectivity() {
|
|
|
20
20
|
}, /*#__PURE__*/_react.default.createElement(_styles.Image, null, /*#__PURE__*/_react.default.createElement("img", {
|
|
21
21
|
width: "300px",
|
|
22
22
|
height: "300px",
|
|
23
|
-
src: (_theme$images = theme.images) === null || _theme$images === void 0
|
|
23
|
+
src: (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.general) === null || _theme$images === void 0 ? void 0 : _theme$images.notNetwork,
|
|
24
24
|
alt: "Not network"
|
|
25
25
|
})));
|
|
26
26
|
};
|