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
|
@@ -130,7 +130,7 @@ var InsertImage = function InsertImage(props) {
|
|
|
130
130
|
onClick: function onClick() {
|
|
131
131
|
return handleClickImage();
|
|
132
132
|
},
|
|
133
|
-
isImage: insertImageState === null || insertImageState === void 0
|
|
133
|
+
isImage: insertImageState === null || insertImageState === void 0 || (_insertImageState$cha = insertImageState.change) === null || _insertImageState$cha === void 0 ? void 0 : _insertImageState$cha.soucre
|
|
134
134
|
}, /*#__PURE__*/_react.default.createElement(_orderingComponentsAdminExternal.ExamineClick, {
|
|
135
135
|
onFiles: handleFiles,
|
|
136
136
|
childRef: function childRef(e) {
|
|
@@ -144,8 +144,8 @@ var InsertImage = function InsertImage(props) {
|
|
|
144
144
|
},
|
|
145
145
|
accept: "image/png, image/jpeg, image/jpg",
|
|
146
146
|
disabled: insertImageState.loading
|
|
147
|
-
}, insertImageState.loading ? /*#__PURE__*/_react.default.createElement(_styles2.SkeletonWrapper, null, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, null)) : (insertImageState === null || insertImageState === void 0
|
|
148
|
-
src: insertImageState === null || insertImageState === void 0
|
|
147
|
+
}, insertImageState.loading ? /*#__PURE__*/_react.default.createElement(_styles2.SkeletonWrapper, null, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, null)) : (insertImageState === null || insertImageState === void 0 || (_insertImageState$cha2 = insertImageState.change) === null || _insertImageState$cha2 === void 0 ? void 0 : _insertImageState$cha2.soucre) && /*#__PURE__*/_react.default.createElement("img", {
|
|
148
|
+
src: insertImageState === null || insertImageState === void 0 || (_insertImageState$cha3 = insertImageState.change) === null || _insertImageState$cha3 === void 0 ? void 0 : _insertImageState$cha3.soucre,
|
|
149
149
|
alt: "image",
|
|
150
150
|
loading: "lazy"
|
|
151
151
|
}), /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIconContainer, null, /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_BiImage.default, null), /*#__PURE__*/_react.default.createElement("span", null, t('DRAG_DROP_IMAGE_HERE', 'Put your image here')))))))), /*#__PURE__*/_react.default.createElement(_styles2.ImageListContainer, null, imageListState.images.map(function (image) {
|
|
@@ -94,7 +94,7 @@ var AnalyticsUI = function AnalyticsUI(props) {
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
}, [categoryList.loading]);
|
|
97
|
-
return /*#__PURE__*/_react.default.createElement(_styles.CategorySection, null, /*#__PURE__*/_react.default.createElement("h2", null, t('ANALYTICS', 'Analytics')), !(categoryList !== null && categoryList !== void 0 && categoryList.loading) && /*#__PURE__*/_react.default.createElement(_styles.SettingList, null, categoryList === null || categoryList === void 0
|
|
97
|
+
return /*#__PURE__*/_react.default.createElement(_styles.CategorySection, null, /*#__PURE__*/_react.default.createElement("h2", null, t('ANALYTICS', 'Analytics')), !(categoryList !== null && categoryList !== void 0 && categoryList.loading) && /*#__PURE__*/_react.default.createElement(_styles.SettingList, null, categoryList === null || categoryList === void 0 || (_categoryList$categor = categoryList.categories) === null || _categoryList$categor === void 0 ? void 0 : _categoryList$categor.filter(function (item) {
|
|
98
98
|
return allowOptions.includes(item.key);
|
|
99
99
|
}).map(function (setting) {
|
|
100
100
|
return /*#__PURE__*/_react.default.createElement(_styles.SettingItemContainer, {
|
|
@@ -97,7 +97,7 @@ var PaymentGatewayUI = function PaymentGatewayUI(props) {
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
}, [categoryList.loading]);
|
|
100
|
-
return /*#__PURE__*/_react.default.createElement(_styles.CategorySection, null, /*#__PURE__*/_react.default.createElement("h2", null, t('PAYMENT_GETWAYS', 'Payment Gateways')), !(categoryList !== null && categoryList !== void 0 && categoryList.loading) && /*#__PURE__*/_react.default.createElement(_styles.SettingList, null, categoryList === null || categoryList === void 0
|
|
100
|
+
return /*#__PURE__*/_react.default.createElement(_styles.CategorySection, null, /*#__PURE__*/_react.default.createElement("h2", null, t('PAYMENT_GETWAYS', 'Payment Gateways')), !(categoryList !== null && categoryList !== void 0 && categoryList.loading) && /*#__PURE__*/_react.default.createElement(_styles.SettingList, null, categoryList === null || categoryList === void 0 || (_categoryList$categor = categoryList.categories) === null || _categoryList$categor === void 0 ? void 0 : _categoryList$categor.filter(function (item) {
|
|
101
101
|
return allowOptions.includes(item.key);
|
|
102
102
|
}).map(function (setting) {
|
|
103
103
|
return /*#__PURE__*/_react.default.createElement(_styles.SettingItemContainer, {
|
|
@@ -82,7 +82,7 @@ var LanguageSettingUI = function LanguageSettingUI(props) {
|
|
|
82
82
|
className: "status"
|
|
83
83
|
}, /*#__PURE__*/_react.default.createElement(_styles.Switch, {
|
|
84
84
|
defaultChecked: field.enabled,
|
|
85
|
-
disabled: (languageState === null || languageState === void 0
|
|
85
|
+
disabled: (languageState === null || languageState === void 0 || (_languageState$langua = languageState.language) === null || _languageState$langua === void 0 ? void 0 : _languageState$langua.id) === field.id,
|
|
86
86
|
onChange: function onChange(val) {
|
|
87
87
|
return handleChangeFieldSetting(field.id, {
|
|
88
88
|
enabled: val
|
|
@@ -67,7 +67,7 @@ var LanguageTransSpreadUI = function LanguageTransSpreadUI(props) {
|
|
|
67
67
|
var translations = [];
|
|
68
68
|
if (searchValue) {
|
|
69
69
|
var _translationList$tran;
|
|
70
|
-
translations = translationList === null || translationList === void 0
|
|
70
|
+
translations = translationList === null || translationList === void 0 || (_translationList$tran = translationList.translations) === null || _translationList$tran === void 0 ? void 0 : _translationList$tran.filter(function (translation) {
|
|
71
71
|
var _translation$key, _translation$text;
|
|
72
72
|
return ((_translation$key = translation.key) === null || _translation$key === void 0 ? void 0 : _translation$key.toLowerCase().includes(searchValue === null || searchValue === void 0 ? void 0 : searchValue.toLowerCase())) || ((_translation$text = translation.text) === null || _translation$text === void 0 ? void 0 : _translation$text.toLowerCase().includes(searchValue === null || searchValue === void 0 ? void 0 : searchValue.toLowerCase()));
|
|
73
73
|
});
|
|
@@ -85,7 +85,7 @@ var LanguageTransSpreadUI = function LanguageTransSpreadUI(props) {
|
|
|
85
85
|
var _creationFormState$re2;
|
|
86
86
|
setAlertState({
|
|
87
87
|
open: true,
|
|
88
|
-
content: creationFormState === null || creationFormState === void 0
|
|
88
|
+
content: creationFormState === null || creationFormState === void 0 || (_creationFormState$re2 = creationFormState.result) === null || _creationFormState$re2 === void 0 ? void 0 : _creationFormState$re2.result
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
}, [creationFormState === null || creationFormState === void 0 ? void 0 : creationFormState.result]);
|
|
@@ -117,7 +117,7 @@ var LanguageTransTableUI = function LanguageTransTableUI(props) {
|
|
|
117
117
|
var translations = [];
|
|
118
118
|
if (searchValue) {
|
|
119
119
|
var _translationList$tran;
|
|
120
|
-
translations = translationList === null || translationList === void 0
|
|
120
|
+
translations = translationList === null || translationList === void 0 || (_translationList$tran = translationList.translations) === null || _translationList$tran === void 0 ? void 0 : _translationList$tran.filter(function (translation) {
|
|
121
121
|
var _translation$key, _translation$text;
|
|
122
122
|
return ((_translation$key = translation.key) === null || _translation$key === void 0 ? void 0 : _translation$key.toLowerCase().includes(searchValue === null || searchValue === void 0 ? void 0 : searchValue.toLowerCase())) || ((_translation$text = translation.text) === null || _translation$text === void 0 ? void 0 : _translation$text.toLowerCase().includes(searchValue === null || searchValue === void 0 ? void 0 : searchValue.toLowerCase()));
|
|
123
123
|
});
|
|
@@ -137,7 +137,7 @@ var LanguageTransTableUI = function LanguageTransTableUI(props) {
|
|
|
137
137
|
var _creationFormState$re2;
|
|
138
138
|
setAlertState({
|
|
139
139
|
open: true,
|
|
140
|
-
content: creationFormState === null || creationFormState === void 0
|
|
140
|
+
content: creationFormState === null || creationFormState === void 0 || (_creationFormState$re2 = creationFormState.result) === null || _creationFormState$re2 === void 0 ? void 0 : _creationFormState$re2.result
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
}, [creationFormState === null || creationFormState === void 0 ? void 0 : creationFormState.result]);
|
|
@@ -175,14 +175,14 @@ var LanguageTransTableUI = function LanguageTransTableUI(props) {
|
|
|
175
175
|
}, /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement("td", null, /*#__PURE__*/_react.default.createElement("input", {
|
|
176
176
|
type: "text",
|
|
177
177
|
placeholder: t('KEY', 'Write a key'),
|
|
178
|
-
defaultValue: creationFormState === null || creationFormState === void 0
|
|
178
|
+
defaultValue: creationFormState === null || creationFormState === void 0 || (_creationFormState$ch = creationFormState.changes) === null || _creationFormState$ch === void 0 ? void 0 : _creationFormState$ch.key,
|
|
179
179
|
onChange: function onChange(e) {
|
|
180
180
|
return handleChangeInput('key', e);
|
|
181
181
|
}
|
|
182
182
|
})), /*#__PURE__*/_react.default.createElement("td", null, /*#__PURE__*/_react.default.createElement("input", {
|
|
183
183
|
type: "text",
|
|
184
184
|
placeholder: t('WRITE_A_TEXT', 'Write a text'),
|
|
185
|
-
defaultValue: creationFormState === null || creationFormState === void 0
|
|
185
|
+
defaultValue: creationFormState === null || creationFormState === void 0 || (_creationFormState$ch2 = creationFormState.changes) === null || _creationFormState$ch2 === void 0 ? void 0 : _creationFormState$ch2.text,
|
|
186
186
|
onChange: function onChange(e) {
|
|
187
187
|
return handleChangeInput('text', e);
|
|
188
188
|
}
|
|
@@ -111,7 +111,7 @@ var NotificationSettingUI = function NotificationSettingUI(props) {
|
|
|
111
111
|
var _settingsState$result2;
|
|
112
112
|
setAlertState({
|
|
113
113
|
open: true,
|
|
114
|
-
content: settingsState === null || settingsState === void 0
|
|
114
|
+
content: settingsState === null || settingsState === void 0 || (_settingsState$result2 = settingsState.result) === null || _settingsState$result2 === void 0 ? void 0 : _settingsState$result2.result
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
}, [settingsState === null || settingsState === void 0 ? void 0 : settingsState.result]);
|
|
@@ -156,7 +156,7 @@ var NotificationSettingUI = function NotificationSettingUI(props) {
|
|
|
156
156
|
eventKey: "1"
|
|
157
157
|
}, /*#__PURE__*/_react.default.createElement(_styles2.AccordionTitle, null, t('ADMINISTRATOR', 'Administrator'))), /*#__PURE__*/_react.default.createElement(_reactBootstrap.Accordion.Collapse, {
|
|
158
158
|
eventKey: "1"
|
|
159
|
-
}, /*#__PURE__*/_react.default.createElement(_styles3.CheckBoxWrapper, null, (superAdmin === null || superAdmin === void 0 ? void 0 : superAdmin.description) && /*#__PURE__*/_react.default.createElement("p", null, superAdmin === null || superAdmin === void 0 ? void 0 : superAdmin.description), (superAdmin === null || superAdmin === void 0
|
|
159
|
+
}, /*#__PURE__*/_react.default.createElement(_styles3.CheckBoxWrapper, null, (superAdmin === null || superAdmin === void 0 ? void 0 : superAdmin.description) && /*#__PURE__*/_react.default.createElement("p", null, superAdmin === null || superAdmin === void 0 ? void 0 : superAdmin.description), (superAdmin === null || superAdmin === void 0 || (_superAdmin$options = superAdmin.options) === null || _superAdmin$options === void 0 ? void 0 : _superAdmin$options.length) > 0 && (superAdmin === null || superAdmin === void 0 || (_superAdmin$options2 = superAdmin.options) === null || _superAdmin$options2 === void 0 ? void 0 : _superAdmin$options2.map(function (item, j) {
|
|
160
160
|
return /*#__PURE__*/_react.default.createElement(_styles3.FormGroupWrapper, {
|
|
161
161
|
key: j
|
|
162
162
|
}, /*#__PURE__*/_react.default.createElement(_styles3.FormGroupCheck, {
|
|
@@ -174,7 +174,7 @@ var NotificationSettingUI = function NotificationSettingUI(props) {
|
|
|
174
174
|
eventKey: "2"
|
|
175
175
|
}, /*#__PURE__*/_react.default.createElement(_styles2.AccordionTitle, null, t('BUSINESS', 'Business'))), /*#__PURE__*/_react.default.createElement(_reactBootstrap.Accordion.Collapse, {
|
|
176
176
|
eventKey: "2"
|
|
177
|
-
}, /*#__PURE__*/_react.default.createElement(_styles3.CheckBoxWrapper, null, (business === null || business === void 0 ? void 0 : business.description) && /*#__PURE__*/_react.default.createElement("p", null, business === null || business === void 0 ? void 0 : business.description), (business === null || business === void 0
|
|
177
|
+
}, /*#__PURE__*/_react.default.createElement(_styles3.CheckBoxWrapper, null, (business === null || business === void 0 ? void 0 : business.description) && /*#__PURE__*/_react.default.createElement("p", null, business === null || business === void 0 ? void 0 : business.description), (business === null || business === void 0 || (_business$options = business.options) === null || _business$options === void 0 ? void 0 : _business$options.length) > 0 && (business === null || business === void 0 || (_business$options2 = business.options) === null || _business$options2 === void 0 ? void 0 : _business$options2.map(function (item, j) {
|
|
178
178
|
return /*#__PURE__*/_react.default.createElement(_styles3.FormGroupWrapper, {
|
|
179
179
|
key: j
|
|
180
180
|
}, /*#__PURE__*/_react.default.createElement(_styles3.FormGroupCheck, {
|
|
@@ -192,7 +192,7 @@ var NotificationSettingUI = function NotificationSettingUI(props) {
|
|
|
192
192
|
eventKey: "3"
|
|
193
193
|
}, /*#__PURE__*/_react.default.createElement(_styles2.AccordionTitle, null, t('CUSTOMER', 'Customer'))), /*#__PURE__*/_react.default.createElement(_reactBootstrap.Accordion.Collapse, {
|
|
194
194
|
eventKey: "3"
|
|
195
|
-
}, /*#__PURE__*/_react.default.createElement(_styles3.CheckBoxWrapper, null, (customer === null || customer === void 0 ? void 0 : customer.description) && /*#__PURE__*/_react.default.createElement("p", null, customer === null || customer === void 0 ? void 0 : customer.description), (customer === null || customer === void 0
|
|
195
|
+
}, /*#__PURE__*/_react.default.createElement(_styles3.CheckBoxWrapper, null, (customer === null || customer === void 0 ? void 0 : customer.description) && /*#__PURE__*/_react.default.createElement("p", null, customer === null || customer === void 0 ? void 0 : customer.description), (customer === null || customer === void 0 || (_customer$options = customer.options) === null || _customer$options === void 0 ? void 0 : _customer$options.length) > 0 && (customer === null || customer === void 0 || (_customer$options2 = customer.options) === null || _customer$options2 === void 0 ? void 0 : _customer$options2.map(function (item, j) {
|
|
196
196
|
return /*#__PURE__*/_react.default.createElement(_styles3.FormGroupWrapper, {
|
|
197
197
|
key: j
|
|
198
198
|
}, /*#__PURE__*/_react.default.createElement(_styles3.FormGroupCheck, {
|
|
@@ -210,7 +210,7 @@ var NotificationSettingUI = function NotificationSettingUI(props) {
|
|
|
210
210
|
eventKey: "4"
|
|
211
211
|
}, /*#__PURE__*/_react.default.createElement(_styles2.AccordionTitle, null, t('DRIVER', 'Driver'))), /*#__PURE__*/_react.default.createElement(_reactBootstrap.Accordion.Collapse, {
|
|
212
212
|
eventKey: "4"
|
|
213
|
-
}, /*#__PURE__*/_react.default.createElement(_styles3.CheckBoxWrapper, null, (driver === null || driver === void 0 ? void 0 : driver.description) && /*#__PURE__*/_react.default.createElement("p", null, driver === null || driver === void 0 ? void 0 : driver.description), (driver === null || driver === void 0
|
|
213
|
+
}, /*#__PURE__*/_react.default.createElement(_styles3.CheckBoxWrapper, null, (driver === null || driver === void 0 ? void 0 : driver.description) && /*#__PURE__*/_react.default.createElement("p", null, driver === null || driver === void 0 ? void 0 : driver.description), (driver === null || driver === void 0 || (_driver$options = driver.options) === null || _driver$options === void 0 ? void 0 : _driver$options.length) > 0 && (driver === null || driver === void 0 || (_driver$options2 = driver.options) === null || _driver$options2 === void 0 ? void 0 : _driver$options2.map(function (item, j) {
|
|
214
214
|
return /*#__PURE__*/_react.default.createElement(_styles3.FormGroupWrapper, {
|
|
215
215
|
key: j
|
|
216
216
|
}, /*#__PURE__*/_react.default.createElement(_styles3.FormGroupCheck, {
|
|
@@ -224,7 +224,7 @@ var NotificationSettingUI = function NotificationSettingUI(props) {
|
|
|
224
224
|
return handleCheckBoxChange(e, true, driver === null || driver === void 0 ? void 0 : driver.value);
|
|
225
225
|
}
|
|
226
226
|
}), item.text)));
|
|
227
|
-
})), !(driver !== null && driver !== void 0 && driver.options) && /*#__PURE__*/_react.default.createElement(_styles3.OptionsError, null, t('NO_OPTIONS_VALUE', 'There is no options value'))))), (settingsState === null || settingsState === void 0
|
|
227
|
+
})), !(driver !== null && driver !== void 0 && driver.options) && /*#__PURE__*/_react.default.createElement(_styles3.OptionsError, null, t('NO_OPTIONS_VALUE', 'There is no options value'))))), (settingsState === null || settingsState === void 0 || (_settingsState$change = settingsState.changes) === null || _settingsState$change === void 0 ? void 0 : _settingsState$change.length) > 0 && /*#__PURE__*/_react.default.createElement(_styles3.SubmitBtnWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.Button, {
|
|
228
228
|
color: "primary",
|
|
229
229
|
onClick: handleClickUpdate
|
|
230
230
|
}, t('SAVE', 'Save')))), /*#__PURE__*/_react.default.createElement(_Shared.Alert, {
|
|
@@ -180,7 +180,7 @@ var PlaceListingUI = function PlaceListingUI(props) {
|
|
|
180
180
|
};
|
|
181
181
|
var handleClickCity = function handleClickCity(e, city, isInitialRender) {
|
|
182
182
|
var _e$target, _e$target2, _e$target3;
|
|
183
|
-
var isInvalid = (e === null || e === void 0
|
|
183
|
+
var isInvalid = (e === null || e === void 0 || (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.closest('.city-checkbox')) || (e === null || e === void 0 || (_e$target2 = e.target) === null || _e$target2 === void 0 ? void 0 : _e$target2.closest('.city-enabled')) || (e === null || e === void 0 || (_e$target3 = e.target) === null || _e$target3 === void 0 ? void 0 : _e$target3.closest('.city-actions'));
|
|
184
184
|
if (isInvalid) return;
|
|
185
185
|
handleOpenCityDetails(city);
|
|
186
186
|
if (!isInitialRender) {
|
|
@@ -41,7 +41,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
41
41
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
42
42
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
43
43
|
var SettingsUI = function SettingsUI(props) {
|
|
44
|
-
var _configs$multicountry, _categoryList$categor, _theme$images
|
|
44
|
+
var _configs$multicountry, _categoryList$categor, _theme$images;
|
|
45
45
|
var categoryList = props.categoryList,
|
|
46
46
|
settingsType = props.settingsType,
|
|
47
47
|
handChangeConfig = props.handChangeConfig;
|
|
@@ -54,7 +54,7 @@ var SettingsUI = function SettingsUI(props) {
|
|
|
54
54
|
var _useConfig = (0, _orderingComponentsAdminExternal.useConfig)(),
|
|
55
55
|
_useConfig2 = _slicedToArray(_useConfig, 1),
|
|
56
56
|
configs = _useConfig2[0].configs;
|
|
57
|
-
var isMulticountryEnabled = configs === null || configs === void 0
|
|
57
|
+
var isMulticountryEnabled = configs === null || configs === void 0 || (_configs$multicountry = configs.multicountry) === null || _configs$multicountry === void 0 ? void 0 : _configs$multicountry.value;
|
|
58
58
|
var _useInfoShare = (0, _InfoShareContext.useInfoShare)(),
|
|
59
59
|
_useInfoShare2 = _slicedToArray(_useInfoShare, 2),
|
|
60
60
|
isCollapse = _useInfoShare2[0].isCollapse,
|
|
@@ -275,7 +275,7 @@ var SettingsUI = function SettingsUI(props) {
|
|
|
275
275
|
active: (selectedCategory === null || selectedCategory === void 0 ? void 0 : selectedCategory.id) === (category === null || category === void 0 ? void 0 : category.id)
|
|
276
276
|
})));
|
|
277
277
|
})), !categoryList.loading && ((_categoryList$categor = categoryList.categories) === null || _categoryList$categor === void 0 ? void 0 : _categoryList$categor.length) === 0 && settingsType !== 'key_basic' && /*#__PURE__*/_react.default.createElement(_styles2.WrapperNoneConfigs, null, /*#__PURE__*/_react.default.createElement(_styles2.InnerNoneConfigsContainer, null, /*#__PURE__*/_react.default.createElement("img", {
|
|
278
|
-
src: theme === null || theme === void 0
|
|
278
|
+
src: theme === null || theme === void 0 || (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.dummies) === null || _theme$images === void 0 ? void 0 : _theme$images.noOrders,
|
|
279
279
|
alt: "none"
|
|
280
280
|
}), /*#__PURE__*/_react.default.createElement("p", null, t('NO_SETTINGS', 'No Settings yet.'))))), isOpenDescription && /*#__PURE__*/_react.default.createElement(_SettingsDetail.SettingsDetail, _extends({}, props, {
|
|
281
281
|
open: isOpenDescription,
|
|
@@ -48,7 +48,7 @@ var SettingsCountryFilter = function SettingsCountryFilter(props) {
|
|
|
48
48
|
var timeZoneToFilter = _toConsumableArray(_constants.countryList);
|
|
49
49
|
var _timeZoneList = timeZoneToFilter === null || timeZoneToFilter === void 0 ? void 0 : timeZoneToFilter.filter(function (item) {
|
|
50
50
|
var _item$code;
|
|
51
|
-
return item === null || item === void 0
|
|
51
|
+
return item === null || item === void 0 || (_item$code = item.code) === null || _item$code === void 0 ? void 0 : _item$code.toLocaleLowerCase().includes(evt.target.value.toLocaleLowerCase());
|
|
52
52
|
});
|
|
53
53
|
setTimeZoneList(_timeZoneList);
|
|
54
54
|
setSearchVal(evt.target.value);
|
|
@@ -138,7 +138,7 @@ var SettingsListUI = function SettingsListUI(props) {
|
|
|
138
138
|
var _settingsState$result2;
|
|
139
139
|
setAlertState({
|
|
140
140
|
open: true,
|
|
141
|
-
content: settingsState === null || settingsState === void 0
|
|
141
|
+
content: settingsState === null || settingsState === void 0 || (_settingsState$result2 = settingsState.result) === null || _settingsState$result2 === void 0 ? void 0 : _settingsState$result2.result
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
144
|
}, [settingsState === null || settingsState === void 0 ? void 0 : settingsState.result]);
|
|
@@ -184,7 +184,7 @@ var SettingsListUI = function SettingsListUI(props) {
|
|
|
184
184
|
handleSelectChange: function handleSelectChange(value) {
|
|
185
185
|
return handleInputChange(value, config === null || config === void 0 ? void 0 : config.id);
|
|
186
186
|
}
|
|
187
|
-
})), config.type === 3 && /*#__PURE__*/_react.default.createElement(_styles2.CheckBoxWrapper, null, (config === null || config === void 0 ? void 0 : config.name) && /*#__PURE__*/_react.default.createElement("label", null, config === null || config === void 0 ? void 0 : config.name), (config === null || config === void 0 ? void 0 : config.description) && /*#__PURE__*/_react.default.createElement("p", null, config === null || config === void 0 ? void 0 : config.description), (config === null || config === void 0
|
|
187
|
+
})), config.type === 3 && /*#__PURE__*/_react.default.createElement(_styles2.CheckBoxWrapper, null, (config === null || config === void 0 ? void 0 : config.name) && /*#__PURE__*/_react.default.createElement("label", null, config === null || config === void 0 ? void 0 : config.name), (config === null || config === void 0 ? void 0 : config.description) && /*#__PURE__*/_react.default.createElement("p", null, config === null || config === void 0 ? void 0 : config.description), (config === null || config === void 0 || (_config$options = config.options) === null || _config$options === void 0 ? void 0 : _config$options.length) > 0 && (config === null || config === void 0 || (_config$options2 = config.options) === null || _config$options2 === void 0 ? void 0 : _config$options2.map(function (item, j) {
|
|
188
188
|
return /*#__PURE__*/_react.default.createElement(_styles2.FormGroupWrapper, {
|
|
189
189
|
key: j
|
|
190
190
|
}, /*#__PURE__*/_react.default.createElement(_styles2.FormGroupCheck, {
|
|
@@ -208,7 +208,7 @@ var SettingsListUI = function SettingsListUI(props) {
|
|
|
208
208
|
},
|
|
209
209
|
className: "form-control",
|
|
210
210
|
placeholder: "placeholder"
|
|
211
|
-
})) : /*#__PURE__*/_react.default.createElement(_styles2.CheckBoxWrapper, null, (config === null || config === void 0 ? void 0 : config.name) && /*#__PURE__*/_react.default.createElement("label", null, config === null || config === void 0 ? void 0 : config.name), (config === null || config === void 0 ? void 0 : config.description) && /*#__PURE__*/_react.default.createElement("p", null, config === null || config === void 0 ? void 0 : config.description), (config === null || config === void 0
|
|
211
|
+
})) : /*#__PURE__*/_react.default.createElement(_styles2.CheckBoxWrapper, null, (config === null || config === void 0 ? void 0 : config.name) && /*#__PURE__*/_react.default.createElement("label", null, config === null || config === void 0 ? void 0 : config.name), (config === null || config === void 0 ? void 0 : config.description) && /*#__PURE__*/_react.default.createElement("p", null, config === null || config === void 0 ? void 0 : config.description), (config === null || config === void 0 || (_config$options3 = config.options) === null || _config$options3 === void 0 ? void 0 : _config$options3.length) > 0 && (config === null || config === void 0 || (_config$options4 = config.options) === null || _config$options4 === void 0 ? void 0 : _config$options4.map(function (item, j) {
|
|
212
212
|
return /*#__PURE__*/_react.default.createElement(_styles2.FormGroupWrapper, {
|
|
213
213
|
key: j
|
|
214
214
|
}, /*#__PURE__*/_react.default.createElement(_styles2.FormGroupCheck, {
|
|
@@ -230,7 +230,7 @@ var SettingsListUI = function SettingsListUI(props) {
|
|
|
230
230
|
content: t('NOT_FOUND_CONFIG', 'Sorry, we couldn\'t find the config.'),
|
|
231
231
|
btnTitle: t('PROFILE_CATEGORY_REDIRECT', 'Go to Category Description'),
|
|
232
232
|
onClickButton: onCloseSettingsList
|
|
233
|
-
})), (settingsState === null || settingsState === void 0
|
|
233
|
+
})), (settingsState === null || settingsState === void 0 || (_settingsState$change = settingsState.changes) === null || _settingsState$change === void 0 ? void 0 : _settingsState$change.length) > 0 && !settingsState.loading && !settingsState.API && /*#__PURE__*/_react.default.createElement(_styles2.SubmitBtnWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.Button, {
|
|
234
234
|
color: "primary",
|
|
235
235
|
onClick: handleSubmit
|
|
236
236
|
}, t('SAVE', 'Save'))), /*#__PURE__*/_react.default.createElement(_Shared.Alert, {
|
|
@@ -42,7 +42,7 @@ var SettingsSelectUI = function SettingsSelectUI(props) {
|
|
|
42
42
|
setOptions(selectTypes);
|
|
43
43
|
} else {
|
|
44
44
|
var _config$options;
|
|
45
|
-
var selectedTypes = config === null || config === void 0
|
|
45
|
+
var selectedTypes = config === null || config === void 0 || (_config$options = config.options) === null || _config$options === void 0 ? void 0 : _config$options.map(function (item) {
|
|
46
46
|
return {
|
|
47
47
|
value: item.value,
|
|
48
48
|
content: /*#__PURE__*/_react.default.createElement(_styles.Option, null, t(item.text.toUpperCase()))
|
|
@@ -41,7 +41,7 @@ var ZoneDropdownDetails = function ZoneDropdownDetails(props) {
|
|
|
41
41
|
return handleChangesState('name', e.target.value);
|
|
42
42
|
}
|
|
43
43
|
})), /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('COUNTRY', 'Country')), /*#__PURE__*/_react.default.createElement(_CountrySelector.CountrySelector, {
|
|
44
|
-
defaultValue: (changesState === null || changesState === void 0 ? void 0 : changesState.country_id) || parseInt(zoneDropdown === null || zoneDropdown === void 0
|
|
44
|
+
defaultValue: (changesState === null || changesState === void 0 ? void 0 : changesState.country_id) || parseInt(zoneDropdown === null || zoneDropdown === void 0 || (_zoneDropdown$city = zoneDropdown.city) === null || _zoneDropdown$city === void 0 ? void 0 : _zoneDropdown$city.country_id),
|
|
45
45
|
countries: countries,
|
|
46
46
|
handleChangeCountry: function handleChangeCountry(val) {
|
|
47
47
|
return handleChangesState('country_id', val);
|
|
@@ -45,8 +45,8 @@ var AutoScroll = function AutoScroll(_ref) {
|
|
|
45
45
|
parentWidth = _useState6[0],
|
|
46
46
|
setParentWidth = _useState6[1];
|
|
47
47
|
(0, _react.useLayoutEffect)(function () {
|
|
48
|
-
var _document
|
|
49
|
-
var element = (_document = document) === null || _document === void 0
|
|
48
|
+
var _document;
|
|
49
|
+
var element = (_document = document) === null || _document === void 0 || (_document = _document.getElementById("".concat(autoScrollId))) === null || _document === void 0 ? void 0 : _document.parentNode;
|
|
50
50
|
element && element.parentNode.addEventListener('scroll', handleScroll);
|
|
51
51
|
var containerElement = element === null || element === void 0 ? void 0 : element.parentNode;
|
|
52
52
|
setParentWidth(element === null || element === void 0 ? void 0 : element.offsetWidth);
|
|
@@ -108,9 +108,9 @@ var AutoScroll = function AutoScroll(_ref) {
|
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
(0, _react.useEffect)(function () {
|
|
111
|
-
var _document3
|
|
111
|
+
var _document3;
|
|
112
112
|
if (!scrollId) return;
|
|
113
|
-
var element = (_document3 = document) === null || _document3 === void 0
|
|
113
|
+
var element = (_document3 = document) === null || _document3 === void 0 || (_document3 = _document3.getElementById("".concat(autoScrollId))) === null || _document3 === void 0 ? void 0 : _document3.parentNode;
|
|
114
114
|
if (!element) return;
|
|
115
115
|
setParentWidth(element.width);
|
|
116
116
|
setParentElement(element);
|
|
@@ -70,7 +70,7 @@ var CitySelectorUI = function CitySelectorUI(props) {
|
|
|
70
70
|
if (!isAddMode) return;
|
|
71
71
|
if (cityOptions.length === 1) {
|
|
72
72
|
var _citiesList$cities$;
|
|
73
|
-
handleChangeCity(citiesList === null || citiesList === void 0
|
|
73
|
+
handleChangeCity(citiesList === null || citiesList === void 0 || (_citiesList$cities$ = citiesList.cities[0]) === null || _citiesList$cities$ === void 0 ? void 0 : _citiesList$cities$.id);
|
|
74
74
|
}
|
|
75
75
|
}, [cityOptions, isAddMode]);
|
|
76
76
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, citiesList !== null && citiesList !== void 0 && citiesList.loading ? /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
@@ -106,11 +106,11 @@ var ColumnAllowSettingPopover = function ColumnAllowSettingPopover(props) {
|
|
|
106
106
|
var _allowColumns$option$, _allowColumns$option$2;
|
|
107
107
|
return /*#__PURE__*/_react.default.createElement(_styles2.AllowItem, {
|
|
108
108
|
key: option.value,
|
|
109
|
-
isChecked: isOrder ? allowColumns === null || allowColumns === void 0
|
|
109
|
+
isChecked: isOrder ? allowColumns === null || allowColumns === void 0 || (_allowColumns$option$ = allowColumns[option.value]) === null || _allowColumns$option$ === void 0 ? void 0 : _allowColumns$option$.visable : allowColumns[option.value],
|
|
110
110
|
onClick: function onClick() {
|
|
111
111
|
return handleChangeAllowColumns(option.value);
|
|
112
112
|
}
|
|
113
|
-
}, (isOrder ? allowColumns === null || allowColumns === void 0
|
|
113
|
+
}, (isOrder ? allowColumns === null || allowColumns === void 0 || (_allowColumns$option$2 = allowColumns[option.value]) === null || _allowColumns$option$2 === void 0 ? void 0 : _allowColumns$option$2.visable : allowColumns[option.value]) ? /*#__PURE__*/_react.default.createElement(_RiCheckboxFill.default, null) : /*#__PURE__*/_react.default.createElement(_RiCheckboxBlankLine.default, null), /*#__PURE__*/_react.default.createElement("span", null, option.content));
|
|
114
114
|
}))));
|
|
115
115
|
};
|
|
116
116
|
exports.ColumnAllowSettingPopover = ColumnAllowSettingPopover;
|
|
@@ -179,7 +179,7 @@ var ConfirmAdminUI = function ConfirmAdminUI(props) {
|
|
|
179
179
|
var _checkCodeState$resul2;
|
|
180
180
|
setAlertState({
|
|
181
181
|
open: true,
|
|
182
|
-
content: (checkCodeState === null || checkCodeState === void 0
|
|
182
|
+
content: (checkCodeState === null || checkCodeState === void 0 || (_checkCodeState$resul2 = checkCodeState.result) === null || _checkCodeState$resul2 === void 0 ? void 0 : _checkCodeState$resul2.error) || [t('ERROR', 'Error')]
|
|
183
183
|
});
|
|
184
184
|
} else if (checkCodeState !== null && checkCodeState !== void 0 && (_checkCodeState$resul3 = checkCodeState.result) !== null && _checkCodeState$resul3 !== void 0 && _checkCodeState$resul3.result) {
|
|
185
185
|
setAlertState({
|
|
@@ -94,16 +94,16 @@ var DragScroll = function DragScroll(_ref) {
|
|
|
94
94
|
};
|
|
95
95
|
(0, _react.useEffect)(function () {
|
|
96
96
|
var _scrollWrapperRef$cur, _scrollWrapperRef$cur2, _scrollContainerRef$c;
|
|
97
|
-
setWrapperScrollLeft(scrollWrapperRef === null || scrollWrapperRef === void 0
|
|
98
|
-
setWrapperWidth(scrollWrapperRef === null || scrollWrapperRef === void 0
|
|
99
|
-
setContainerWidth(scrollContainerRef === null || scrollContainerRef === void 0
|
|
97
|
+
setWrapperScrollLeft(scrollWrapperRef === null || scrollWrapperRef === void 0 || (_scrollWrapperRef$cur = scrollWrapperRef.current) === null || _scrollWrapperRef$cur === void 0 ? void 0 : _scrollWrapperRef$cur.scrollLeft);
|
|
98
|
+
setWrapperWidth(scrollWrapperRef === null || scrollWrapperRef === void 0 || (_scrollWrapperRef$cur2 = scrollWrapperRef.current) === null || _scrollWrapperRef$cur2 === void 0 ? void 0 : _scrollWrapperRef$cur2.offsetWidth);
|
|
99
|
+
setContainerWidth(scrollContainerRef === null || scrollContainerRef === void 0 || (_scrollContainerRef$c = scrollContainerRef.current) === null || _scrollContainerRef$c === void 0 ? void 0 : _scrollContainerRef$c.offsetWidth);
|
|
100
100
|
}, [scrollWrapperRef, scrollContainerRef, width, children]);
|
|
101
101
|
(0, _react.useEffect)(function () {
|
|
102
102
|
setTimeout(function () {
|
|
103
103
|
var _scrollWrapperRef$cur3, _scrollWrapperRef$cur4, _scrollContainerRef$c2;
|
|
104
104
|
setWrapperScrollLeft((_scrollWrapperRef$cur3 = scrollWrapperRef.current) === null || _scrollWrapperRef$cur3 === void 0 ? void 0 : _scrollWrapperRef$cur3.scrollLeft);
|
|
105
|
-
setWrapperWidth(scrollWrapperRef === null || scrollWrapperRef === void 0
|
|
106
|
-
setContainerWidth(scrollContainerRef === null || scrollContainerRef === void 0
|
|
105
|
+
setWrapperWidth(scrollWrapperRef === null || scrollWrapperRef === void 0 || (_scrollWrapperRef$cur4 = scrollWrapperRef.current) === null || _scrollWrapperRef$cur4 === void 0 ? void 0 : _scrollWrapperRef$cur4.offsetWidth);
|
|
106
|
+
setContainerWidth(scrollContainerRef === null || scrollContainerRef === void 0 || (_scrollContainerRef$c2 = scrollContainerRef.current) === null || _scrollContainerRef$c2 === void 0 ? void 0 : _scrollContainerRef$c2.offsetWidth);
|
|
107
107
|
}, 300);
|
|
108
108
|
}, []);
|
|
109
109
|
return /*#__PURE__*/_react.default.createElement(_styles.ScrollBox, {
|
|
@@ -130,7 +130,7 @@ var InsertImage = function InsertImage(props) {
|
|
|
130
130
|
onClick: function onClick() {
|
|
131
131
|
return handleClickImage();
|
|
132
132
|
},
|
|
133
|
-
isImage: insertImageState === null || insertImageState === void 0
|
|
133
|
+
isImage: insertImageState === null || insertImageState === void 0 || (_insertImageState$cha = insertImageState.change) === null || _insertImageState$cha === void 0 ? void 0 : _insertImageState$cha.soucre
|
|
134
134
|
}, /*#__PURE__*/_react.default.createElement(_orderingComponentsAdminExternal.ExamineClick, {
|
|
135
135
|
onFiles: handleFiles,
|
|
136
136
|
childRef: function childRef(e) {
|
|
@@ -144,8 +144,8 @@ var InsertImage = function InsertImage(props) {
|
|
|
144
144
|
},
|
|
145
145
|
accept: "image/png, image/jpeg, image/jpg",
|
|
146
146
|
disabled: insertImageState.loading
|
|
147
|
-
}, insertImageState.loading ? /*#__PURE__*/_react.default.createElement(_styles2.SkeletonWrapper, null, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, null)) : (insertImageState === null || insertImageState === void 0
|
|
148
|
-
src: insertImageState === null || insertImageState === void 0
|
|
147
|
+
}, insertImageState.loading ? /*#__PURE__*/_react.default.createElement(_styles2.SkeletonWrapper, null, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, null)) : (insertImageState === null || insertImageState === void 0 || (_insertImageState$cha2 = insertImageState.change) === null || _insertImageState$cha2 === void 0 ? void 0 : _insertImageState$cha2.soucre) && /*#__PURE__*/_react.default.createElement("img", {
|
|
148
|
+
src: insertImageState === null || insertImageState === void 0 || (_insertImageState$cha3 = insertImageState.change) === null || _insertImageState$cha3 === void 0 ? void 0 : _insertImageState$cha3.soucre,
|
|
149
149
|
alt: "image",
|
|
150
150
|
loading: "lazy"
|
|
151
151
|
}), /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIconContainer, null, /*#__PURE__*/_react.default.createElement(_styles2.UploadImageIcon, null, /*#__PURE__*/_react.default.createElement(_BiImage.default, null), /*#__PURE__*/_react.default.createElement("span", null, t('DRAG_DROP_IMAGE_HERE', 'Put your image here')))))))), /*#__PURE__*/_react.default.createElement(_styles2.ImageListContainer, null, imageListState.images.map(function (image) {
|
|
@@ -22,7 +22,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
22
22
|
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; } }
|
|
23
23
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
24
24
|
var InputPhoneNumber = function InputPhoneNumber(props) {
|
|
25
|
-
var _props$beforeElements, _props$beforeComponen, _configs$default_coun,
|
|
25
|
+
var _props$beforeElements, _props$beforeComponen, _configs$default_coun, _props$afterComponent, _props$afterElements;
|
|
26
26
|
var user = props.user,
|
|
27
27
|
value = props.value,
|
|
28
28
|
setValue = props.setValue,
|
|
@@ -64,7 +64,7 @@ var InputPhoneNumber = function InputPhoneNumber(props) {
|
|
|
64
64
|
}), /*#__PURE__*/_react.default.createElement(_reactPhoneNumberInput.default, {
|
|
65
65
|
disabled: disabled,
|
|
66
66
|
placeholder: t('PHONE_NUMBER', 'Phone number'),
|
|
67
|
-
defaultCountry: defaultCountry !== null && defaultCountry !== void 0 ? defaultCountry : (0, _utils.findExitingCode)(configs === null || configs === void 0
|
|
67
|
+
defaultCountry: defaultCountry !== null && defaultCountry !== void 0 ? defaultCountry : (0, _utils.findExitingCode)(configs === null || configs === void 0 || (_configs$default_coun = configs.default_country_code) === null || _configs$default_coun === void 0 || (_configs$default_coun = _configs$default_coun.value) === null || _configs$default_coun === void 0 ? void 0 : _configs$default_coun.toUpperCase()),
|
|
68
68
|
value: value,
|
|
69
69
|
displayInitialValueAsLocalNumber: true,
|
|
70
70
|
onChange: function onChange(val) {
|
|
@@ -10,7 +10,7 @@ var _styles = require("../../../styles");
|
|
|
10
10
|
var _styles2 = require("./styles");
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
12
|
var NotFoundSource = function NotFoundSource(props) {
|
|
13
|
-
var _theme$images
|
|
13
|
+
var _theme$images;
|
|
14
14
|
var content = props.content,
|
|
15
15
|
btnTitle = props.btnTitle,
|
|
16
16
|
onClickButton = props.onClickButton;
|
|
@@ -18,7 +18,7 @@ var NotFoundSource = function NotFoundSource(props) {
|
|
|
18
18
|
return /*#__PURE__*/_react.default.createElement(_styles2.NotFound, {
|
|
19
19
|
id: "not-found-source"
|
|
20
20
|
}, /*#__PURE__*/_react.default.createElement(_styles2.NotFoundImage, null, /*#__PURE__*/_react.default.createElement("img", {
|
|
21
|
-
src: (_theme$images = theme.images) === null || _theme$images === void 0
|
|
21
|
+
src: (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.general) === null || _theme$images === void 0 ? void 0 : _theme$images.notFound,
|
|
22
22
|
alt: "Not Found"
|
|
23
23
|
})), /*#__PURE__*/_react.default.createElement("h1", null, content), !onClickButton && props.children && props.children, onClickButton && /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_styles.Button, {
|
|
24
24
|
color: "darkBlue",
|
|
@@ -28,7 +28,7 @@ var Personalization = function Personalization(props) {
|
|
|
28
28
|
target: "_blank",
|
|
29
29
|
rel: "noopener noreferrer"
|
|
30
30
|
}, t('SEND_US_SPECIAL_WISH', 'send us your special wish.'))), /*#__PURE__*/_react.default.createElement("img", {
|
|
31
|
-
src: theme === null || theme === void 0
|
|
31
|
+
src: theme === null || theme === void 0 || (_theme$images$general = theme.images.general) === null || _theme$images$general === void 0 ? void 0 : _theme$images$general.personalization,
|
|
32
32
|
loading: "lazy"
|
|
33
33
|
}), /*#__PURE__*/_react.default.createElement(_styles2.WrapperButton, null, /*#__PURE__*/_react.default.createElement(_styles.Button, {
|
|
34
34
|
borderRadius: "8px",
|
|
@@ -117,7 +117,7 @@ var RangeCalendar = function RangeCalendar(props) {
|
|
|
117
117
|
ref: calendarRef,
|
|
118
118
|
isLeft: isLeft
|
|
119
119
|
}, isSingleDate ? /*#__PURE__*/_react.default.createElement(_reactDateRange.Calendar, {
|
|
120
|
-
locale: (0, _utils.getLocale)(state === null || state === void 0
|
|
120
|
+
locale: (0, _utils.getLocale)(state === null || state === void 0 || (_state$language = state.language) === null || _state$language === void 0 ? void 0 : _state$language.code, locales),
|
|
121
121
|
date: date,
|
|
122
122
|
onChange: function onChange(date) {
|
|
123
123
|
return handleChangeSingleDate(date);
|
|
@@ -125,7 +125,7 @@ var RangeCalendar = function RangeCalendar(props) {
|
|
|
125
125
|
minDate: minDate || new Date('1922-01-01')
|
|
126
126
|
}) : /*#__PURE__*/_react.default.createElement(_reactDateRange.DateRange, {
|
|
127
127
|
editableDateInputs: true,
|
|
128
|
-
locale: (0, _utils.getLocale)(state === null || state === void 0
|
|
128
|
+
locale: (0, _utils.getLocale)(state === null || state === void 0 || (_state$language2 = state.language) === null || _state$language2 === void 0 ? void 0 : _state$language2.code, locales),
|
|
129
129
|
onChange: function onChange(item) {
|
|
130
130
|
return handleChangeDates(item);
|
|
131
131
|
},
|
|
@@ -26,7 +26,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
26
26
|
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; } }
|
|
27
27
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
28
28
|
var ScheduleUI = function ScheduleUI(props) {
|
|
29
|
-
var _configs$general_hour
|
|
29
|
+
var _configs$general_hour;
|
|
30
30
|
var scheduleState = props.scheduleState,
|
|
31
31
|
isConflict = props.isConflict,
|
|
32
32
|
setIsConflict = props.setIsConflict,
|
|
@@ -54,7 +54,7 @@ var ScheduleUI = function ScheduleUI(props) {
|
|
|
54
54
|
var _useUtils = (0, _orderingComponentsAdminExternal.useUtils)(),
|
|
55
55
|
_useUtils2 = _slicedToArray(_useUtils, 1),
|
|
56
56
|
parseDate = _useUtils2[0].parseDate;
|
|
57
|
-
var is12Hours = configs === null || configs === void 0
|
|
57
|
+
var is12Hours = configs === null || configs === void 0 || (_configs$general_hour = configs.general_hour_format) === null || _configs$general_hour === void 0 || (_configs$general_hour = _configs$general_hour.value) === null || _configs$general_hour === void 0 ? void 0 : _configs$general_hour.includes('hh:mm');
|
|
58
58
|
var _useState = (0, _react.useState)({
|
|
59
59
|
open: false,
|
|
60
60
|
content: []
|
|
@@ -171,7 +171,7 @@ var ScheduleUI = function ScheduleUI(props) {
|
|
|
171
171
|
}, /*#__PURE__*/_react.default.createElement(_styles2.SelectWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.SecondSelect, {
|
|
172
172
|
noSelected: true,
|
|
173
173
|
options: scheduleOptions,
|
|
174
|
-
defaultValue: (lapse === null || lapse === void 0
|
|
174
|
+
defaultValue: (lapse === null || lapse === void 0 || (_lapse$open = lapse.open) === null || _lapse$open === void 0 ? void 0 : _lapse$open.hour) === 23 && (lapse === null || lapse === void 0 || (_lapse$open2 = lapse.open) === null || _lapse$open2 === void 0 ? void 0 : _lapse$open2.minute) === 59 ? "".concat(lapse === null || lapse === void 0 || (_lapse$open3 = lapse.open) === null || _lapse$open3 === void 0 ? void 0 : _lapse$open3.hour, ":").concat(lapse === null || lapse === void 0 || (_lapse$open4 = lapse.open) === null || _lapse$open4 === void 0 ? void 0 : _lapse$open4.minute) : "".concat(lapse === null || lapse === void 0 || (_lapse$open5 = lapse.open) === null || _lapse$open5 === void 0 ? void 0 : _lapse$open5.hour, ":").concat(parseInt((lapse === null || lapse === void 0 || (_lapse$open6 = lapse.open) === null || _lapse$open6 === void 0 ? void 0 : _lapse$open6.minute) / 15) * 15),
|
|
175
175
|
onChange: function onChange(val) {
|
|
176
176
|
return handleChangeScheduleTime(val, daysOfWeekIndex, index, true);
|
|
177
177
|
},
|
|
@@ -179,7 +179,7 @@ var ScheduleUI = function ScheduleUI(props) {
|
|
|
179
179
|
})), /*#__PURE__*/_react.default.createElement(_styles2.SplitLine, null), /*#__PURE__*/_react.default.createElement(_styles2.SelectWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.SecondSelect, {
|
|
180
180
|
noSelected: true,
|
|
181
181
|
options: scheduleOptions,
|
|
182
|
-
defaultValue: (lapse === null || lapse === void 0
|
|
182
|
+
defaultValue: (lapse === null || lapse === void 0 || (_lapse$close = lapse.close) === null || _lapse$close === void 0 ? void 0 : _lapse$close.hour) === 23 && (lapse === null || lapse === void 0 || (_lapse$close2 = lapse.close) === null || _lapse$close2 === void 0 ? void 0 : _lapse$close2.minute) === 59 ? "".concat(lapse === null || lapse === void 0 || (_lapse$close3 = lapse.close) === null || _lapse$close3 === void 0 ? void 0 : _lapse$close3.hour, ":").concat(lapse === null || lapse === void 0 || (_lapse$close4 = lapse.close) === null || _lapse$close4 === void 0 ? void 0 : _lapse$close4.minute) : "".concat(lapse === null || lapse === void 0 || (_lapse$close5 = lapse.close) === null || _lapse$close5 === void 0 ? void 0 : _lapse$close5.hour, ":").concat(parseInt((lapse === null || lapse === void 0 || (_lapse$close6 = lapse.close) === null || _lapse$close6 === void 0 ? void 0 : _lapse$close6.minute) / 15) * 15),
|
|
183
183
|
onChange: function onChange(val) {
|
|
184
184
|
return handleChangeScheduleTime(val, daysOfWeekIndex, index, false);
|
|
185
185
|
},
|
|
@@ -194,7 +194,7 @@ var ScheduleUI = function ScheduleUI(props) {
|
|
|
194
194
|
}), openAddSchedule[daysOfWeekIndex] && /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_styles2.SelectWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.SecondSelect, {
|
|
195
195
|
noSelected: true,
|
|
196
196
|
options: scheduleOptions,
|
|
197
|
-
defaultValue: (addScheduleTime === null || addScheduleTime === void 0
|
|
197
|
+
defaultValue: (addScheduleTime === null || addScheduleTime === void 0 || (_addScheduleTime$open = addScheduleTime.open) === null || _addScheduleTime$open === void 0 ? void 0 : _addScheduleTime$open.hour) === 23 && (addScheduleTime === null || addScheduleTime === void 0 || (_addScheduleTime$open2 = addScheduleTime.open) === null || _addScheduleTime$open2 === void 0 ? void 0 : _addScheduleTime$open2.minute) === 59 ? "".concat(addScheduleTime === null || addScheduleTime === void 0 || (_addScheduleTime$open3 = addScheduleTime.open) === null || _addScheduleTime$open3 === void 0 ? void 0 : _addScheduleTime$open3.hour, ":").concat(addScheduleTime === null || addScheduleTime === void 0 || (_addScheduleTime$open4 = addScheduleTime.open) === null || _addScheduleTime$open4 === void 0 ? void 0 : _addScheduleTime$open4.minute) : "".concat(addScheduleTime === null || addScheduleTime === void 0 || (_addScheduleTime$open5 = addScheduleTime.open) === null || _addScheduleTime$open5 === void 0 ? void 0 : _addScheduleTime$open5.hour, ":").concat(parseInt((addScheduleTime === null || addScheduleTime === void 0 || (_addScheduleTime$open6 = addScheduleTime.open) === null || _addScheduleTime$open6 === void 0 ? void 0 : _addScheduleTime$open6.minute) / 15) * 15),
|
|
198
198
|
optionInnerMaxHeight: "300px",
|
|
199
199
|
onChange: function onChange(val) {
|
|
200
200
|
return handleChangeAddScheduleTime(val, true);
|
|
@@ -202,7 +202,7 @@ var ScheduleUI = function ScheduleUI(props) {
|
|
|
202
202
|
})), /*#__PURE__*/_react.default.createElement(_styles2.SplitLine, null), /*#__PURE__*/_react.default.createElement(_styles2.SelectWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.SecondSelect, {
|
|
203
203
|
noSelected: true,
|
|
204
204
|
options: scheduleOptions,
|
|
205
|
-
defaultValue: (addScheduleTime === null || addScheduleTime === void 0
|
|
205
|
+
defaultValue: (addScheduleTime === null || addScheduleTime === void 0 || (_addScheduleTime$clos = addScheduleTime.close) === null || _addScheduleTime$clos === void 0 ? void 0 : _addScheduleTime$clos.hour) === 23 && (addScheduleTime === null || addScheduleTime === void 0 || (_addScheduleTime$clos2 = addScheduleTime.close) === null || _addScheduleTime$clos2 === void 0 ? void 0 : _addScheduleTime$clos2.minute) === 59 ? "".concat(addScheduleTime === null || addScheduleTime === void 0 || (_addScheduleTime$clos3 = addScheduleTime.close) === null || _addScheduleTime$clos3 === void 0 ? void 0 : _addScheduleTime$clos3.hour, ":").concat(addScheduleTime === null || addScheduleTime === void 0 || (_addScheduleTime$clos4 = addScheduleTime.close) === null || _addScheduleTime$clos4 === void 0 ? void 0 : _addScheduleTime$clos4.minute) : "".concat(addScheduleTime === null || addScheduleTime === void 0 || (_addScheduleTime$clos5 = addScheduleTime.close) === null || _addScheduleTime$clos5 === void 0 ? void 0 : _addScheduleTime$clos5.hour, ":").concat(parseInt((addScheduleTime === null || addScheduleTime === void 0 || (_addScheduleTime$clos6 = addScheduleTime.close) === null || _addScheduleTime$clos6 === void 0 ? void 0 : _addScheduleTime$clos6.minute) / 15) * 15),
|
|
206
206
|
optionInnerMaxHeight: "300px",
|
|
207
207
|
onChange: function onChange(val) {
|
|
208
208
|
return handleChangeAddScheduleTime(val, false);
|
|
@@ -58,7 +58,7 @@ var CategoryTreeNode = function CategoryTreeNode(props) {
|
|
|
58
58
|
var handleChangeSelectCategory = function handleChangeSelectCategory(include) {
|
|
59
59
|
var _category$subcategori;
|
|
60
60
|
var categoryIds = [];
|
|
61
|
-
if ((category === null || category === void 0
|
|
61
|
+
if ((category === null || category === void 0 || (_category$subcategori = category.subcategories) === null || _category$subcategori === void 0 ? void 0 : _category$subcategori.length) > 0) {
|
|
62
62
|
category.subcategories.forEach(function iterate(category) {
|
|
63
63
|
categoryIds = [].concat(_toConsumableArray(categoryIds), [category.id]);
|
|
64
64
|
Array.isArray(category === null || category === void 0 ? void 0 : category.subcategories) && category.subcategories.forEach(iterate);
|
|
@@ -102,7 +102,7 @@ var CategoryTreeNode = function CategoryTreeNode(props) {
|
|
|
102
102
|
style: {
|
|
103
103
|
maxHeight: !setActive && '0px'
|
|
104
104
|
}
|
|
105
|
-
}, (category === null || category === void 0 ? void 0 : category.subcategories) && (category === null || category === void 0
|
|
105
|
+
}, (category === null || category === void 0 ? void 0 : category.subcategories) && (category === null || category === void 0 || (_category$subcategori2 = category.subcategories) === null || _category$subcategori2 === void 0 ? void 0 : _category$subcategori2.length) > 0 && category.subcategories.map(function (subCategory) {
|
|
106
106
|
return /*#__PURE__*/_react.default.createElement(CategoryTreeNode, _extends({}, props, {
|
|
107
107
|
key: subCategory.id,
|
|
108
108
|
category: subCategory,
|