ordering-ui-admin-external 1.8.2 → 1.8.4
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.6d124ccf494e6442edd6.js → ordering-ui-admin.ec185d6eb5351ecebfac.js} +2 -2
- package/_bundles/{ordering-ui-admin.6d124ccf494e6442edd6.js.LICENSE.txt → ordering-ui-admin.ec185d6eb5351ecebfac.js.LICENSE.txt} +4 -4
- package/_modules/components/BusinessIntelligence/AnalyticsAvailableTimes/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsBusinessFilter/index.js +4 -2
- package/_modules/components/BusinessIntelligence/AnalyticsBusyTimes/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsCalendar/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsCustomerSatisfaction/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsDriverOrders/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsDriversFilter/index.js +5 -2
- package/_modules/components/BusinessIntelligence/AnalyticsFilterTimeZone/index.js +4 -2
- package/_modules/components/BusinessIntelligence/AnalyticsMap/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsOrdersAcceptSpend/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsOrdersOrSales/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsOrdersStatus/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsProductCategories/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsRegisterUsers/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsSpendList/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsSpendTimes/index.js +1 -1
- package/_modules/components/BusinessIntelligence/AnalyticsStatusFilterBar/index.js +5 -2
- package/_modules/components/BusinessIntelligence/AnalyticsStatusSubFilter/index.js +4 -1
- package/_modules/components/BusinessIntelligence/AnalyticsTopOrders/index.js +1 -1
- package/_modules/components/BusinessIntelligence/BusinessAnalytics/index.js +4 -2
- package/_modules/components/BusinessIntelligence/BusinessReviewDetails/index.js +5 -2
- package/_modules/components/BusinessIntelligence/BusinessReviewList/index.js +4 -2
- package/_modules/components/BusinessIntelligence/CountryFilter/index.js +4 -2
- package/_modules/components/BusinessIntelligence/DriverAnalytics/index.js +4 -2
- package/_modules/components/BusinessIntelligence/InvoiceBusinessManager/index.js +4 -2
- package/_modules/components/BusinessIntelligence/InvoiceBusinessPdf/index.js +3 -3
- package/_modules/components/BusinessIntelligence/InvoiceDriverManager/index.js +4 -2
- package/_modules/components/BusinessIntelligence/InvoiceDriverPdf/index.js +3 -3
- package/_modules/components/BusinessIntelligence/InvoiceGeneral/index.js +4 -2
- package/_modules/components/BusinessIntelligence/InvoiceManager/index.js +1 -1
- package/_modules/components/BusinessIntelligence/InvoiceOrdertype/index.js +4 -2
- package/_modules/components/BusinessIntelligence/InvoicePayMethods/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ProductReviewDetails/index.js +5 -2
- package/_modules/components/BusinessIntelligence/Reports/index.js +1 -1
- package/_modules/components/BusinessIntelligence/ReportsAppIdFilter/index.js +5 -2
- package/_modules/components/BusinessIntelligence/ReportsAverageSales/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsBarChart/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsBrandFilter/index.js +5 -2
- package/_modules/components/BusinessIntelligence/ReportsBusinessDistance/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsBusinessSpend/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsCustomer/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsDriverDistance/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsDriverFilter/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsDriverGroupFilter/index.js +5 -2
- package/_modules/components/BusinessIntelligence/ReportsDriverOrder/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsDriverOrderTime/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsDriverSchedule/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsDriverSpend/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsGeneralSales/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsHeatMap/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsOrderDistance/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsOrderStatus/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsOrderTypeFilter/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsOrders/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsPaymethodSales/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsSaleAndCategory/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsSales/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsSpentTIme/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsTopDrivers/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReportsUsers/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReviewProductsListing/index.js +4 -2
- package/_modules/components/BusinessIntelligence/ReviewsListing/index.js +1 -1
- package/_modules/components/BusinessIntelligence/UserReviewDetails/index.js +5 -2
- package/_modules/components/BusinessIntelligence/UsersReviewList/index.js +4 -2
- package/_modules/components/CartRecovery/BusinessesSelector/index.js +1 -1
- package/_modules/components/CartRecovery/CitySelector/index.js +4 -2
- package/_modules/components/CartRecovery/CustomerSelector/index.js +4 -2
- package/_modules/components/CartRecovery/DateTypeSelector/index.js +1 -1
- package/_modules/components/CartRecovery/OpenCartBill/index.js +1 -1
- package/_modules/components/CartRecovery/OpenCartDelete/index.js +4 -2
- package/_modules/components/CartRecovery/OpenCartList/index.js +4 -2
- package/_modules/components/CartRecovery/OpenCartListing/index.js +4 -2
- package/_modules/components/CartRecovery/OpenCartsContactInformation/index.js +1 -1
- package/_modules/components/CartRecovery/OpenCartsDetail/index.js +4 -2
- package/_modules/components/CartRecovery/OpenCartsFilterGroup/index.js +4 -2
- package/_modules/components/CartRecovery/OpenCartsHeader/index.js +1 -1
- package/_modules/components/CartRecovery/RecoveryActionDetail/index.js +4 -2
- package/_modules/components/CartRecovery/RecoveryActionHeader/index.js +1 -1
- package/_modules/components/CartRecovery/RecoveryActionList/index.js +4 -2
- package/_modules/components/CartRecovery/RecoveryActionListing/index.js +4 -2
- package/_modules/components/CartRecovery/RecoveryGeneral/index.js +4 -2
- package/_modules/components/CartRecovery/RecoveryNotificationList/index.js +4 -2
- package/_modules/components/CartRecovery/SingleRecoveryNotification/index.js +4 -2
- package/_modules/components/Delivery/AddressForm/index.js +5 -3
- package/_modules/components/Delivery/AddressList/index.js +4 -2
- package/_modules/components/Delivery/DeliveryUsersListing/index.js +5 -3
- package/_modules/components/Delivery/DriverGroupSetting/index.js +4 -2
- package/_modules/components/Delivery/DriversCompaniesList/index.js +1 -1
- package/_modules/components/Delivery/DriversCompaniesListing/index.js +4 -2
- package/_modules/components/Delivery/DriversCompanyDetailsForm/index.js +4 -2
- package/_modules/components/Delivery/DriversCompanyGeneralDetails/index.js +1 -1
- package/_modules/components/Delivery/DriversCompanyScheduleDetails/index.js +1 -1
- package/_modules/components/Delivery/DriversCompanyWebhooksDetails/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupAutoassign/index.js +4 -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 +4 -2
- package/_modules/components/Delivery/DriversGroupDeliveryZoneInformation/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupDeliveryZoneList/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupDetails/index.js +4 -2
- package/_modules/components/Delivery/DriversGroupDrivers/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupGeneralForm/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupLogistics/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupLogs/index.js +4 -2
- package/_modules/components/Delivery/DriversGroupOrders/index.js +5 -2
- package/_modules/components/Delivery/DriversGroupPaymethods/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupsDeliveryZoneDetails/index.js +4 -2
- package/_modules/components/Delivery/DriversGroupsList/index.js +1 -1
- package/_modules/components/Delivery/DriversGroupsListing/index.js +5 -3
- package/_modules/components/Delivery/DriversMarkAsBusy/index.js +4 -2
- package/_modules/components/Delivery/GoogleGpsButton/index.js +4 -1
- package/_modules/components/Delivery/UserActiveStateFilter/index.js +1 -1
- package/_modules/components/Delivery/UserAddForm/index.js +4 -2
- package/_modules/components/Delivery/UserDetails/index.js +4 -2
- package/_modules/components/Delivery/UserDetailsLateralBar/index.js +1 -1
- package/_modules/components/Delivery/UserDetailsMenu/index.js +1 -1
- package/_modules/components/Delivery/UserFormDetails/index.js +1 -1
- package/_modules/components/Delivery/UserProfileForm/index.js +4 -2
- package/_modules/components/Delivery/UserTypeFilter/index.js +5 -2
- package/_modules/components/Delivery/UsersList/index.js +4 -2
- package/_modules/components/Delivery/UsersListingHeader/index.js +1 -1
- package/_modules/components/Delivery/WizardDelivery/index.js +1 -1
- package/_modules/components/DisabledFeatureAlert/index.js +1 -1
- package/_modules/components/Downloads/FreeProductsList/index.js +1 -1
- package/_modules/components/Downloads/PurchasedProductsList/index.js +1 -1
- package/_modules/components/Home/HomePage/index.js +4 -2
- package/_modules/components/LanguageSelector/index.js +4 -1
- package/_modules/components/Login/ForgotPasswordForm/index.js +4 -2
- package/_modules/components/Login/LoginForm/index.js +4 -2
- package/_modules/components/Login/QueryLogin/index.js +4 -2
- package/_modules/components/Login/ResetPassword/index.js +4 -2
- package/_modules/components/LogoutButton/index.js +5 -2
- package/_modules/components/Loyalty/LoyaltyLevelDetail/index.js +4 -2
- package/_modules/components/Loyalty/PointsWallet/index.js +1 -1
- package/_modules/components/Loyalty/PointsWalletBusinessDetail/index.js +4 -2
- package/_modules/components/Loyalty/PointsWalletBusinessList/index.js +4 -2
- package/_modules/components/Loyalty/PointsWalletLevels/index.js +4 -2
- package/_modules/components/Loyalty/RewardsPrograms/index.js +4 -2
- package/_modules/components/Marketing/CampaignAmountOption/index.js +4 -2
- package/_modules/components/Marketing/CampaignDetail/index.js +4 -2
- package/_modules/components/Marketing/CampaignDetailContent/index.js +4 -2
- package/_modules/components/Marketing/CampaignDetailGeneral/index.js +1 -1
- package/_modules/components/Marketing/CampaignEmail/index.js +4 -2
- package/_modules/components/Marketing/CampaignHeader/index.js +1 -1
- package/_modules/components/Marketing/CampaignList/index.js +4 -2
- package/_modules/components/Marketing/CampaignListing/index.js +4 -2
- package/_modules/components/Marketing/CampaignNotification/index.js +1 -1
- package/_modules/components/Marketing/CampaignPopup/index.js +1 -1
- package/_modules/components/Marketing/CampaignSMS/index.js +1 -1
- package/_modules/components/Marketing/CampaignSignUpOption/index.js +4 -2
- package/_modules/components/Marketing/CampaignWebHook/index.js +1 -1
- package/_modules/components/Marketing/CampaignWhatsapp/index.js +1 -1
- package/_modules/components/Marketing/EnterprisePromotionConditions/index.js +4 -2
- package/_modules/components/Marketing/EnterprisePromotionDeliveryzones/index.js +5 -2
- package/_modules/components/Marketing/EnterprisePromotionDetails/index.js +4 -2
- package/_modules/components/Marketing/EnterprisePromotionEditCondition/index.js +1 -1
- package/_modules/components/Marketing/EnterprisePromotionGeneralDetails/index.js +4 -2
- package/_modules/components/Marketing/EnterprisePromotionList/index.js +4 -2
- package/_modules/components/Marketing/EnterprisePromotionListing/index.js +4 -2
- package/_modules/components/Marketing/EnterprisePromotionMaxOrders/index.js +1 -1
- package/_modules/components/Marketing/EnterprisePromotionOrderTypes/index.js +1 -1
- package/_modules/components/Marketing/EnterprisePromotionPaymethods/index.js +1 -1
- package/_modules/components/Marketing/EnterprisePromotionRules/index.js +1 -1
- package/_modules/components/Marketing/EnterprisePromotionSchedule/index.js +1 -1
- package/_modules/components/Marketing/EnterprisePromotionSpecficCategory/index.js +1 -1
- package/_modules/components/Marketing/EnterprisePromotionSpecficProducts/index.js +1 -1
- package/_modules/components/Messages/ChatBusinessesList/index.js +4 -2
- package/_modules/components/Messages/ChatContactList/index.js +4 -2
- package/_modules/components/Messages/MessagesListing/index.js +4 -2
- package/_modules/components/MyProducts/AppLayout/index.js +1 -3
- package/_modules/components/MyProducts/CallCenterApp/index.js +3 -11
- package/_modules/components/MyProducts/ContentForm/index.js +4 -2
- package/_modules/components/MyProducts/CustomerApp/index.js +3 -11
- package/_modules/components/MyProducts/DriverApp/index.js +3 -11
- package/_modules/components/MyProducts/KioskApp/index.js +3 -11
- package/_modules/components/MyProducts/OrderingWebsite/index.js +4 -2
- package/_modules/components/MyProducts/PosApp/index.js +3 -11
- package/_modules/components/MyProducts/StoreApp/index.js +3 -11
- package/_modules/components/OrderingProducts/OrderingProductDetails/index.js +4 -2
- package/_modules/components/OrderingProducts/OrderingProductGeneralDetails/index.js +1 -1
- package/_modules/components/OrderingProducts/OrderingProductsListing/index.js +4 -2
- package/_modules/components/OrderingProducts/SiteTheme/ThemeComponent.js +5 -2
- package/_modules/components/OrderingProducts/SiteTheme/ThemeImage.js +6 -4
- package/_modules/components/OrderingProducts/SiteTheme/ThemeOption.js +5 -2
- package/_modules/components/OrderingProducts/SiteTheme/index.js +4 -2
- package/_modules/components/Orders/Appointments/CalendarHeader.js +1 -1
- package/_modules/components/Orders/Appointments/EventComponent.js +1 -1
- package/_modules/components/Orders/Appointments/index.js +4 -2
- package/_modules/components/Orders/BusinessesSelector/index.js +1 -1
- package/_modules/components/Orders/CountryFilter/index.js +4 -2
- package/_modules/components/Orders/CurrencyFilter/index.js +1 -1
- package/_modules/components/Orders/DateTypeSelector/index.js +1 -1
- package/_modules/components/Orders/DeliveriesLocation/index.js +1 -1
- package/_modules/components/Orders/DeliveriesManager/index.js +4 -2
- package/_modules/components/Orders/DeliveryDashboard/index.js +4 -2
- package/_modules/components/Orders/DeliveryTypeSelector/index.js +1 -1
- package/_modules/components/Orders/DriverMapMarkerAndInfo/index.js +1 -1
- package/_modules/components/Orders/DriverSelector/index.js +4 -2
- package/_modules/components/Orders/DriversBusyStatusFilter/index.js +5 -2
- package/_modules/components/Orders/DriversGroupTypeSelector/index.js +1 -1
- package/_modules/components/Orders/DriversList/index.js +1 -1
- package/_modules/components/Orders/DriversLocation/index.js +1 -1
- package/_modules/components/Orders/DriversManager/index.js +4 -2
- package/_modules/components/Orders/DriversOnlineOfflineFilter/index.js +1 -1
- package/_modules/components/Orders/GoogleMapsApiKeySettingButton/index.js +4 -2
- package/_modules/components/Orders/InterActOrderMarker/index.js +1 -1
- package/_modules/components/Orders/Logistics/index.js +5 -2
- package/_modules/components/Orders/Messages/index.js +4 -2
- package/_modules/components/Orders/OrderBill/index.js +4 -2
- package/_modules/components/Orders/OrderContactInformation/index.js +1 -1
- package/_modules/components/Orders/OrderDashboardSLASetting/index.js +4 -2
- package/_modules/components/Orders/OrderDelete/index.js +4 -2
- package/_modules/components/Orders/OrderDetails/index.js +4 -2
- package/_modules/components/Orders/OrderDetailsHeader/index.js +1 -1
- package/_modules/components/Orders/OrderLogisticInformation/index.js +5 -2
- package/_modules/components/Orders/OrderMetaFields/index.js +4 -2
- package/_modules/components/Orders/OrderNotification/index.js +4 -2
- package/_modules/components/Orders/OrderStatusFilterBar/index.js +1 -1
- package/_modules/components/Orders/OrderStatusSubFilter/index.js +5 -2
- package/_modules/components/Orders/OrderStatusTypeSelector/index.js +1 -1
- package/_modules/components/Orders/OrderToPrint/index.js +1 -1
- package/_modules/components/Orders/OrdersCards/index.js +4 -2
- package/_modules/components/Orders/OrdersContentHeader/index.js +1 -1
- package/_modules/components/Orders/OrdersDashboardControls/index.js +1 -1
- package/_modules/components/Orders/OrdersDashboardList/index.js +4 -1
- package/_modules/components/Orders/OrdersDashboardSLAControls/index.js +1 -1
- package/_modules/components/Orders/OrdersExportCSV/index.js +4 -2
- package/_modules/components/Orders/OrdersFilterGroup/index.js +5 -2
- package/_modules/components/Orders/OrdersLateralBar/index.js +1 -1
- package/_modules/components/Orders/OrdersListing/index.js +1 -1
- package/_modules/components/Orders/OrdersManager/index.js +4 -2
- package/_modules/components/Orders/OrdersTable/index.js +4 -2
- package/_modules/components/Orders/PaymethodTypeSelector/index.js +1 -1
- package/_modules/components/Orders/ProductItemAccordion/index.js +4 -2
- package/_modules/components/Orders/ReviewCustomer/index.js +4 -2
- package/_modules/components/Orders/WizardOrders/index.js +1 -1
- package/_modules/components/PageNotFound/index.js +1 -1
- package/_modules/components/Profile/ProfilePage/index.js +5 -2
- package/_modules/components/Profile/Sessions/index.js +4 -2
- package/_modules/components/Settings/AddressFieldsSetting/index.js +5 -2
- package/_modules/components/Settings/ApiKeysList/index.js +4 -2
- package/_modules/components/Settings/CheckoutFieldsSetting/index.js +5 -2
- package/_modules/components/Settings/CityAdministratorSelector/index.js +1 -1
- package/_modules/components/Settings/CityDetails/index.js +1 -1
- package/_modules/components/Settings/Cms/index.js +4 -2
- package/_modules/components/Settings/CountriesList/index.js +4 -2
- package/_modules/components/Settings/CountryDetails/index.js +1 -1
- package/_modules/components/Settings/CountrySelector/index.js +1 -1
- package/_modules/components/Settings/CountrySettingDetail/index.js +1 -1
- package/_modules/components/Settings/DoordashConnect/index.js +4 -2
- package/_modules/components/Settings/DropdownOptionList/index.js +4 -2
- package/_modules/components/Settings/EmailSetting/index.js +4 -2
- package/_modules/components/Settings/InsertImage/index.js +4 -2
- package/_modules/components/Settings/InsertLink/index.js +4 -2
- package/_modules/components/Settings/InsertVideo/index.js +1 -1
- package/_modules/components/Settings/IntegrationListing/index.js +1 -1
- package/_modules/components/Settings/LalamoveConnect/index.js +4 -2
- package/_modules/components/Settings/LanguageManager/index.js +4 -2
- package/_modules/components/Settings/LanguageSetting/index.js +5 -2
- package/_modules/components/Settings/LanguageTransSpread/index.js +4 -2
- package/_modules/components/Settings/LanguageTransTable/index.js +4 -2
- package/_modules/components/Settings/MultiCountrySettings/index.js +4 -2
- package/_modules/components/Settings/NotificationSetting/index.js +4 -2
- package/_modules/components/Settings/PageForm/index.js +4 -2
- package/_modules/components/Settings/PlaceListing/index.js +4 -2
- package/_modules/components/Settings/PluginList/index.js +4 -2
- package/_modules/components/Settings/Settings/index.js +4 -2
- package/_modules/components/Settings/SettingsCountryFilter/index.js +1 -1
- package/_modules/components/Settings/SettingsDetail/index.js +1 -1
- package/_modules/components/Settings/SettingsImage/index.js +4 -2
- package/_modules/components/Settings/SettingsList/index.js +4 -2
- package/_modules/components/Settings/SettingsSelectUI/index.js +1 -1
- package/_modules/components/Settings/SiteSettingDetails/index.js +1 -1
- package/_modules/components/Settings/SitesAuthSettings/index.js +4 -2
- package/_modules/components/Settings/WebhookDelaySelector/index.js +1 -1
- package/_modules/components/Settings/WebhookList/index.js +4 -2
- package/_modules/components/Settings/WebhookListSelector/index.js +1 -1
- package/_modules/components/Settings/ZoneDropdownDetails/index.js +1 -1
- package/_modules/components/Shared/AutoScroll/index.js +1 -1
- package/_modules/components/Shared/CitySelector/index.js +4 -2
- package/_modules/components/Shared/ColorPicker/index.js +1 -1
- package/_modules/components/Shared/ColumnAllowSettingPopover/index.js +4 -2
- package/_modules/components/Shared/Confirm/index.js +4 -2
- package/_modules/components/Shared/ConfirmAdmin/index.js +4 -2
- package/_modules/components/Shared/DragScroll/index.js +1 -1
- package/_modules/components/Shared/Image/index.js +1 -1
- package/_modules/components/Shared/ImageCrop/index.js +1 -1
- package/_modules/components/Shared/InputPhoneNumber/index.js +1 -1
- package/_modules/components/Shared/Modal/index.js +4 -2
- package/_modules/components/Shared/MoreSidebarLayout/index.js +1 -1
- package/_modules/components/Shared/Pagination/index.js +1 -1
- package/_modules/components/Shared/Personalization/index.js +1 -1
- package/_modules/components/Shared/ProtectedRoute/index.js +1 -1
- package/_modules/components/Shared/RangeCalendar/index.js +1 -1
- package/_modules/components/Shared/Schedule/index.js +4 -2
- package/_modules/components/Shared/ScheduleCopyTimes/index.js +1 -1
- package/_modules/components/Shared/SelectBusinessCategories/index.js +4 -2
- package/_modules/components/Shared/SelectBusinessProducts/index.js +4 -2
- package/_modules/components/Shared/SelectBusinesses/index.js +1 -1
- package/_modules/components/Shared/SelectLoyaltyLevels/index.js +4 -2
- package/_modules/components/Shared/SelectSites/index.js +1 -1
- package/_modules/components/Shared/SelectUsers/index.js +4 -2
- package/_modules/components/Shared/SideBar/index.js +1 -1
- package/_modules/components/Shared/SpreadSheetEditor/index.js +4 -2
- package/_modules/components/SidebarMenu/index.js +5 -3
- package/_modules/components/Stores/AddBusinessForm/index.js +4 -2
- package/_modules/components/Stores/BatchImageForm/index.js +4 -2
- package/_modules/components/Stores/BusinessActiveStateFilter/index.js +1 -1
- package/_modules/components/Stores/BusinessBrandBUSIDetail/index.js +4 -2
- package/_modules/components/Stores/BusinessBrandGENDetail/index.js +4 -2
- package/_modules/components/Stores/BusinessBrandListing/index.js +4 -2
- package/_modules/components/Stores/BusinessCategoryInfoSettingList/index.js +1 -1
- package/_modules/components/Stores/BusinessCustomFields/index.js +4 -2
- package/_modules/components/Stores/BusinessDelete/index.js +4 -2
- package/_modules/components/Stores/BusinessDeliveryDetails/index.js +4 -2
- package/_modules/components/Stores/BusinessDeliveryGroupsDetails/index.js +5 -3
- package/_modules/components/Stores/BusinessDeliveryPickupMore/index.js +1 -1
- package/_modules/components/Stores/BusinessDeliveryZoneDetails/index.js +4 -2
- package/_modules/components/Stores/BusinessDeliveryZoneInformation/index.js +1 -1
- package/_modules/components/Stores/BusinessDeliveryZoneList/index.js +1 -1
- package/_modules/components/Stores/BusinessDeliveryZoneShare/index.js +4 -1
- package/_modules/components/Stores/BusinessDetail/index.js +1 -1
- package/_modules/components/Stores/BusinessDetails/index.js +4 -2
- package/_modules/components/Stores/BusinessEmail/index.js +4 -2
- package/_modules/components/Stores/BusinessFrontLayout/index.js +4 -2
- package/_modules/components/Stores/BusinessGprsPrinters/index.js +4 -2
- package/_modules/components/Stores/BusinessImages/index.js +4 -2
- package/_modules/components/Stores/BusinessInfoSettingList/index.js +1 -1
- package/_modules/components/Stores/BusinessInformation/index.js +4 -2
- package/_modules/components/Stores/BusinessLocation/index.js +6 -4
- package/_modules/components/Stores/BusinessMenu/index.js +4 -2
- package/_modules/components/Stores/BusinessMenuBasicOptions/index.js +1 -1
- package/_modules/components/Stores/BusinessMenuCategoryTreeNode/index.js +1 -1
- package/_modules/components/Stores/BusinessMenuChannels/index.js +1 -1
- package/_modules/components/Stores/BusinessMenuCustomFields/index.js +4 -2
- package/_modules/components/Stores/BusinessMenuOptions/index.js +4 -2
- package/_modules/components/Stores/BusinessMenuShare/index.js +4 -1
- package/_modules/components/Stores/BusinessNotifications/index.js +1 -1
- package/_modules/components/Stores/BusinessOrderingChannels/index.js +4 -2
- package/_modules/components/Stores/BusinessOwnerSelector/index.js +4 -2
- package/_modules/components/Stores/BusinessOwners/index.js +4 -2
- package/_modules/components/Stores/BusinessPaymentMethods/index.js +4 -2
- package/_modules/components/Stores/BusinessPickupDetails/index.js +4 -2
- package/_modules/components/Stores/BusinessPreorderDetails/index.js +4 -2
- package/_modules/components/Stores/BusinessPreview/index.js +1 -1
- package/_modules/components/Stores/BusinessProductAddForm/index.js +4 -2
- package/_modules/components/Stores/BusinessProductList/index.js +4 -2
- package/_modules/components/Stores/BusinessProductsCategories/index.js +1 -1
- package/_modules/components/Stores/BusinessProductsCategoyDetails/index.js +4 -2
- package/_modules/components/Stores/BusinessProductsCategoyInfo/index.js +4 -2
- package/_modules/components/Stores/BusinessProductsListing/index.js +4 -2
- package/_modules/components/Stores/BusinessPromotionCustomFields/index.js +4 -2
- package/_modules/components/Stores/BusinessPromotionGeneralForm/index.js +4 -2
- package/_modules/components/Stores/BusinessPromotionList/index.js +4 -2
- package/_modules/components/Stores/BusinessPublishing/index.js +1 -1
- package/_modules/components/Stores/BusinessPublishingOption/index.js +1 -1
- package/_modules/components/Stores/BusinessSchedule/index.js +5 -2
- package/_modules/components/Stores/BusinessSelectHeader/index.js +4 -2
- package/_modules/components/Stores/BusinessServiceProfessionalDetail/index.js +5 -3
- package/_modules/components/Stores/BusinessServiceProfessionals/index.js +4 -2
- package/_modules/components/Stores/BusinessSharedMenuProductDetails/index.js +4 -2
- package/_modules/components/Stores/BusinessSharedMenuProducts/index.js +4 -2
- package/_modules/components/Stores/BusinessSpreadSheet/index.js +4 -2
- package/_modules/components/Stores/BusinessSummary/index.js +4 -2
- package/_modules/components/Stores/BusinessSupport/index.js +1 -1
- package/_modules/components/Stores/BusinessSync/index.js +1 -1
- package/_modules/components/Stores/BusinessSyncBasic/index.js +1 -1
- package/_modules/components/Stores/BusinessSyncItsaCheckmate/index.js +1 -1
- package/_modules/components/Stores/BusinessSyncStore/index.js +4 -2
- package/_modules/components/Stores/BusinessSyncStoreDetail/index.js +1 -1
- package/_modules/components/Stores/BusinessTaxAndFees/index.js +4 -2
- package/_modules/components/Stores/BusinessTypeDetail/index.js +4 -2
- package/_modules/components/Stores/BusinessTypeFilter/index.js +4 -2
- package/_modules/components/Stores/BusinessTypes/index.js +4 -2
- package/_modules/components/Stores/BusinessVideos/index.js +4 -2
- package/_modules/components/Stores/BusinessWalletsList/index.js +4 -2
- package/_modules/components/Stores/BusinessWebhooks/index.js +4 -2
- package/_modules/components/Stores/BusinessWidgets/index.js +1 -1
- package/_modules/components/Stores/BusinessesList/index.js +4 -2
- package/_modules/components/Stores/BusinessesListing/index.js +5 -3
- package/_modules/components/Stores/BusinessesListingHeader/index.js +1 -1
- package/_modules/components/Stores/ChildMapplingList/index.js +4 -2
- package/_modules/components/Stores/EditTaxManager/index.js +1 -1
- package/_modules/components/Stores/ImporterForm/index.js +33 -30
- package/_modules/components/Stores/ImporterHelpContent/index.js +1 -1
- package/_modules/components/Stores/ImporterJobForm/index.js +13 -4
- package/_modules/components/Stores/ImportersButton/index.js +1 -1
- package/_modules/components/Stores/ImportersList/index.js +1 -1
- package/_modules/components/Stores/ImportersListing/index.js +5 -2
- package/_modules/components/Stores/PaymentOption/index.js +4 -2
- package/_modules/components/Stores/PaymentOptionMethods/index.js +4 -2
- package/_modules/components/Stores/PaymentOptionPaypal/index.js +4 -2
- package/_modules/components/Stores/PaymentOptionSquare/index.js +4 -2
- package/_modules/components/Stores/PaymentOptionStripeDirect/index.js +4 -2
- package/_modules/components/Stores/PaymethodOptionPaypalExpress/index.js +4 -2
- package/_modules/components/Stores/PaymethodOptionStripeConnect/index.js +4 -2
- package/_modules/components/Stores/PaymethodOptionStripeRedirect/index.js +4 -2
- package/_modules/components/Stores/ProductDesktopPreview/index.js +1 -1
- package/_modules/components/Stores/ProductDetails/index.js +4 -2
- package/_modules/components/Stores/ProductDetailsAdvanced/index.js +5 -3
- package/_modules/components/Stores/ProductDetatilsInformation/index.js +4 -2
- package/_modules/components/Stores/ProductExtraMetaFields/index.js +4 -2
- package/_modules/components/Stores/ProductExtraOptionDetails/index.js +4 -2
- package/_modules/components/Stores/ProductExtraOptionForm/index.js +1 -1
- package/_modules/components/Stores/ProductExtraOptionMetaFields/index.js +4 -2
- package/_modules/components/Stores/ProductExtraOptions/index.js +4 -2
- package/_modules/components/Stores/ProductExtraSubOptionMetaFields/index.js +4 -2
- package/_modules/components/Stores/ProductExtraSuboption/index.js +4 -2
- package/_modules/components/Stores/ProductExtras/index.js +4 -2
- package/_modules/components/Stores/ProductGallery/index.js +4 -2
- package/_modules/components/Stores/ProductIngredient/index.js +1 -1
- package/_modules/components/Stores/ProductIngredientDetails/index.js +4 -2
- package/_modules/components/Stores/ProductMainDetails/index.js +1 -1
- package/_modules/components/Stores/ProductMetaFields/index.js +4 -2
- package/_modules/components/Stores/ProductSummary/index.js +4 -2
- package/_modules/components/Stores/ProductTagDetails/index.js +4 -2
- package/_modules/components/Stores/ProductTagsList/index.js +4 -2
- package/_modules/components/Stores/ProductVideos/index.js +4 -2
- package/_modules/components/Stores/SeoOptions/index.js +4 -2
- package/_modules/components/Stores/ServiceDetail/index.js +4 -2
- package/_modules/components/Stores/SingleBusiness/index.js +5 -2
- package/_modules/components/Stores/SingleBusinessCategoryEdit/index.js +4 -2
- package/_modules/components/Stores/SingleBusinessProduct/index.js +4 -2
- package/_modules/components/Stores/SingleBusinessSubCateogries/index.js +4 -2
- package/_modules/components/Stores/WizardBusiness/index.js +1 -1
- package/_modules/components/Support/index.js +1 -1
- package/_modules/components/Users/BusinessManagerBusinesses/index.js +4 -1
- package/_modules/components/Users/CustomerCashWallet/index.js +4 -2
- package/_modules/components/Users/CustomerCashWalletDetails/index.js +1 -1
- package/_modules/components/Users/CustomerDetails/index.js +4 -2
- package/_modules/components/Users/CustomerPointsWallet/index.js +4 -2
- package/_modules/components/Users/CustomerWalletEvents/index.js +1 -1
- package/_modules/components/Users/CustomersListing/index.js +4 -2
- package/_modules/components/Users/OccupationSelector/index.js +1 -1
- package/_modules/components/Users/OccupationsFilter/index.js +1 -1
- package/_modules/components/Users/ProfessionalAddForm/index.js +4 -2
- package/_modules/components/Users/ProfessionalBusinessService/index.js +4 -2
- package/_modules/components/Users/ProfessionalCategoryTreeNode/index.js +1 -1
- package/_modules/components/Users/ProfessionalDetail/index.js +4 -2
- package/_modules/components/Users/ProfessionalList/index.js +4 -2
- package/_modules/components/Users/ProfessionalListing/index.js +4 -2
- package/_modules/components/Users/ProfessionalSchedule/index.js +4 -2
- package/_modules/components/Users/ProfessionalServices/index.js +4 -2
- package/_modules/components/Users/UserActiveStateFilter/index.js +1 -1
- package/_modules/components/Users/UserAddForm/index.js +4 -2
- package/_modules/components/Users/UserDetails/index.js +4 -2
- package/_modules/components/Users/UserDetailsLateralBar/index.js +1 -1
- package/_modules/components/Users/UserDetailsMenu/index.js +1 -1
- package/_modules/components/Users/UserFormDetails/index.js +1 -1
- package/_modules/components/Users/UserMetaFields/index.js +4 -2
- package/_modules/components/Users/UserProfileForm/index.js +4 -2
- package/_modules/components/Users/UserTypeFilter/index.js +5 -2
- package/_modules/components/Users/UserTypeSelector/index.js +1 -1
- package/_modules/components/Users/UsersDeleteButton/index.js +4 -2
- package/_modules/components/Users/UsersExportCSV/index.js +4 -2
- package/_modules/components/Users/UsersList/index.js +4 -2
- package/_modules/components/Users/UsersListing/index.js +4 -2
- package/_modules/components/Users/UsersListingHeader/index.js +1 -1
- package/_modules/contexts/InfoShareContext/index.js +4 -2
- package/_modules/contexts/ThemeContext/index.js +4 -2
- package/_modules/hooks/useCountdownTimer.js +1 -1
- package/_modules/hooks/useOnlineStatus.js +1 -1
- package/_modules/hooks/useWindowSize.js +1 -1
- package/_modules/styles/MultiSelect/index.js +1 -1
- package/_modules/styles/Select/FirstSelect/index.js +1 -1
- package/_modules/styles/Select/index.js +4 -2
- package/_modules/styles/Switch/index.js +1 -1
- package/_modules/styles/Toast/index.js +1 -1
- package/_modules/themes/origin/src/components/AutoScroll/index.js +1 -1
- package/_modules/themes/origin/src/components/BusinessesSelector/index.js +1 -1
- package/_modules/themes/origin/src/components/CitySelector/index.js +1 -1
- package/_modules/themes/origin/src/components/Confirm/index.js +4 -2
- package/_modules/themes/origin/src/components/DateTypeSelector/index.js +1 -1
- package/_modules/themes/origin/src/components/DeadlineSettingInterface/index.js +1 -1
- package/_modules/themes/origin/src/components/DeadlinesTypeSelector/index.js +1 -1
- package/_modules/themes/origin/src/components/DeliveryDashboard/index.js +4 -2
- package/_modules/themes/origin/src/components/DeliveryDashboardOrdersList/index.js +4 -2
- package/_modules/themes/origin/src/components/DeliveryTypeSelector/index.js +1 -1
- package/_modules/themes/origin/src/components/DriverCard/index.js +1 -1
- package/_modules/themes/origin/src/components/DriverMapMarkerAndInfo/index.js +1 -1
- package/_modules/themes/origin/src/components/DriverOrders/index.js +5 -2
- package/_modules/themes/origin/src/components/DriverSelector/index.js +4 -2
- package/_modules/themes/origin/src/components/DriversLocation/index.js +1 -1
- package/_modules/themes/origin/src/components/DriversModal/index.js +1 -1
- package/_modules/themes/origin/src/components/Dropdown/index.js +4 -2
- package/_modules/themes/origin/src/components/ExportCSV/index.js +4 -2
- package/_modules/themes/origin/src/components/FilterGroupList/index.js +5 -2
- package/_modules/themes/origin/src/components/ForgotPasswordForm/index.js +4 -2
- package/_modules/themes/origin/src/components/GroupTypeSelector/index.js +1 -1
- package/_modules/themes/origin/src/components/Header/index.js +4 -2
- package/_modules/themes/origin/src/components/Image/index.js +1 -1
- package/_modules/themes/origin/src/components/InterActOrderMarker/index.js +1 -1
- package/_modules/themes/origin/src/components/LoginForm/index.js +4 -2
- package/_modules/themes/origin/src/components/LogisticInformation/index.js +5 -2
- package/_modules/themes/origin/src/components/Logistics/index.js +5 -2
- package/_modules/themes/origin/src/components/LogoutButton/index.js +5 -2
- package/_modules/themes/origin/src/components/MainOrdersManager/index.js +4 -2
- package/_modules/themes/origin/src/components/Messages/index.js +4 -2
- package/_modules/themes/origin/src/components/MessagesDashbaord/index.js +1 -1
- package/_modules/themes/origin/src/components/MessagesDashboardOrdersList/index.js +4 -1
- package/_modules/themes/origin/src/components/MetaFields/index.js +4 -2
- package/_modules/themes/origin/src/components/MobileSidebarMenu/index.js +1 -1
- package/_modules/themes/origin/src/components/Modal/index.js +5 -2
- package/_modules/themes/origin/src/components/OpenAndCloseOrderSelector/index.js +1 -1
- package/_modules/themes/origin/src/components/OrderBySelector/index.js +1 -1
- package/_modules/themes/origin/src/components/OrderContentHeader/index.js +1 -1
- package/_modules/themes/origin/src/components/OrderDelete/index.js +4 -2
- package/_modules/themes/origin/src/components/OrderDetails/index.js +4 -2
- package/_modules/themes/origin/src/components/OrderItemAccordion/index.js +1 -1
- package/_modules/themes/origin/src/components/OrderListing/index.js +1 -1
- package/_modules/themes/origin/src/components/OrderProductQuickDetail/index.js +5 -2
- package/_modules/themes/origin/src/components/OrderStatusFilterBar/index.js +1 -1
- package/_modules/themes/origin/src/components/OrderStatusTypeSelector/index.js +1 -1
- package/_modules/themes/origin/src/components/OrdersDashboardList/index.js +4 -2
- package/_modules/themes/origin/src/components/OrdersDashboardSwitch/index.js +1 -1
- package/_modules/themes/origin/src/components/OverView/index.js +5 -2
- package/_modules/themes/origin/src/components/PageNotFound/index.js +1 -1
- package/_modules/themes/origin/src/components/PaymethodTypeSelector/index.js +1 -1
- package/_modules/themes/origin/src/components/ProductItemAccordion/index.js +4 -2
- package/_modules/themes/origin/src/components/SideMenu/index.js +1 -1
- package/_modules/themes/origin/src/components/SmallOrderItemAccordion/index.js +1 -1
- package/_modules/themes/origin/src/components/UserPopover/index.js +4 -2
- package/_modules/themes/origin/src/styles/MultiSelect/index.js +1 -1
- package/_modules/themes/origin/src/styles/Select/index.js +1 -1
- package/_modules/utils/index.js +7 -38
- package/package.json +2 -2
- package/src/components/MyProducts/AppLayout/index.js +0 -2
- package/src/components/MyProducts/CallCenterApp/index.js +1 -8
- package/src/components/MyProducts/CustomerApp/index.js +1 -8
- package/src/components/MyProducts/DriverApp/index.js +1 -8
- package/src/components/MyProducts/KioskApp/index.js +1 -8
- package/src/components/MyProducts/PosApp/index.js +1 -8
- package/src/components/MyProducts/StoreApp/index.js +1 -8
- package/src/components/Stores/ImporterForm/index.js +15 -14
- package/src/components/Stores/ImporterJobForm/index.js +8 -1
- package/src/components/Stores/ImportersListing/index.js +1 -0
- package/src/utils/index.js +0 -30
|
@@ -21,15 +21,17 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
21
21
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
22
22
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
23
23
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
24
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
24
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
26
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
25
27
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
26
28
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
27
29
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
28
30
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
29
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
31
|
+
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; } }
|
|
30
32
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
31
33
|
var ImporterFormUI = function ImporterFormUI(props) {
|
|
32
|
-
var _importypeOptions$fin
|
|
34
|
+
var _importypeOptions$fin;
|
|
33
35
|
var isAdvanedOptions = props.isAdvanedOptions,
|
|
34
36
|
formState = props.formState,
|
|
35
37
|
handleChangeInput = props.handleChangeInput,
|
|
@@ -55,7 +57,8 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
55
57
|
isMapping = props.isMapping,
|
|
56
58
|
headerTitle = props.headerTitle,
|
|
57
59
|
handleUpdateMultipleMapping = props.handleUpdateMultipleMapping,
|
|
58
|
-
defaultImporter = props.defaultImporter
|
|
60
|
+
defaultImporter = props.defaultImporter,
|
|
61
|
+
mappingState = props.mappingState;
|
|
59
62
|
var _useLanguage = (0, _orderingComponentsAdminExternal.useLanguage)(),
|
|
60
63
|
_useLanguage2 = _slicedToArray(_useLanguage, 2),
|
|
61
64
|
t = _useLanguage2[1];
|
|
@@ -250,10 +253,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
250
253
|
}
|
|
251
254
|
},
|
|
252
255
|
placeholder: "0",
|
|
253
|
-
defaultValue: (_editState$mapping$bu = editState === null || editState === void 0 ? void 0 : (_editState$mapping = editState.mapping) === null || _editState$mapping === void 0 ? void 0 : _editState$mapping.business_id) !== null && _editState$mapping$bu !== void 0 ? _editState$mapping$bu : '',
|
|
254
256
|
onChange: handleChangeMappingInput,
|
|
255
257
|
disabled: formState.loading,
|
|
256
|
-
autoComplete: "off"
|
|
258
|
+
autoComplete: "off",
|
|
259
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['business_id']) || ''
|
|
257
260
|
}))), /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null, /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('MAPPING_EXTERNAL_BUSINESS_ID', 'External business ID')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
258
261
|
name: "external_business_id",
|
|
259
262
|
type: "number",
|
|
@@ -264,10 +267,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
264
267
|
}
|
|
265
268
|
},
|
|
266
269
|
placeholder: "0",
|
|
267
|
-
defaultValue: (_editState$mapping$ex = editState === null || editState === void 0 ? void 0 : (_editState$mapping2 = editState.mapping) === null || _editState$mapping2 === void 0 ? void 0 : _editState$mapping2.external_business_id) !== null && _editState$mapping$ex !== void 0 ? _editState$mapping$ex : '',
|
|
268
270
|
onChange: handleChangeMappingInput,
|
|
269
271
|
disabled: formState.loading,
|
|
270
|
-
autoComplete: "off"
|
|
272
|
+
autoComplete: "off",
|
|
273
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['external_business_id']) || ''
|
|
271
274
|
})))), (importType === 2 || importType === 3 || importType === 4) && /*#__PURE__*/_react.default.createElement(_reactBootstrap.Row, null, /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null, /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('MAPPING_CATEGORY_ID', 'Category ID')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
272
275
|
name: "category_id",
|
|
273
276
|
type: "number",
|
|
@@ -277,10 +280,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
277
280
|
}
|
|
278
281
|
},
|
|
279
282
|
placeholder: "0",
|
|
280
|
-
defaultValue: (_editState$mapping$ca = editState === null || editState === void 0 ? void 0 : (_editState$mapping3 = editState.mapping) === null || _editState$mapping3 === void 0 ? void 0 : _editState$mapping3.category_id) !== null && _editState$mapping$ca !== void 0 ? _editState$mapping$ca : '',
|
|
281
283
|
onChange: handleChangeMappingInput,
|
|
282
284
|
disabled: formState.loading,
|
|
283
|
-
autoComplete: "off"
|
|
285
|
+
autoComplete: "off",
|
|
286
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['category_id']) || ''
|
|
284
287
|
}))), /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null, /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('MAPPING_EXTERNAL_CATEGORY_ID', 'External category ID')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
285
288
|
name: "external_category_id",
|
|
286
289
|
type: "number",
|
|
@@ -291,10 +294,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
291
294
|
}
|
|
292
295
|
},
|
|
293
296
|
placeholder: "0",
|
|
294
|
-
defaultValue: (_editState$mapping$ex2 = editState === null || editState === void 0 ? void 0 : (_editState$mapping4 = editState.mapping) === null || _editState$mapping4 === void 0 ? void 0 : _editState$mapping4.external_category_id) !== null && _editState$mapping$ex2 !== void 0 ? _editState$mapping$ex2 : '',
|
|
295
297
|
onChange: handleChangeMappingInput,
|
|
296
298
|
disabled: formState.loading,
|
|
297
|
-
autoComplete: "off"
|
|
299
|
+
autoComplete: "off",
|
|
300
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['external_category_id']) || ''
|
|
298
301
|
}))), /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null), " ", /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null, /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('MAPPING_EXTERNAL_PARENT_CATEGORY_ID', 'External parent category ID')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
299
302
|
name: "external_parent_category_id",
|
|
300
303
|
type: "number",
|
|
@@ -305,10 +308,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
305
308
|
}
|
|
306
309
|
},
|
|
307
310
|
placeholder: "0",
|
|
308
|
-
defaultValue: (_editState$mapping$ex3 = editState === null || editState === void 0 ? void 0 : (_editState$mapping5 = editState.mapping) === null || _editState$mapping5 === void 0 ? void 0 : _editState$mapping5.external_parent_category_id) !== null && _editState$mapping$ex3 !== void 0 ? _editState$mapping$ex3 : '',
|
|
309
311
|
onChange: handleChangeMappingInput,
|
|
310
312
|
disabled: formState.loading,
|
|
311
|
-
autoComplete: "off"
|
|
313
|
+
autoComplete: "off",
|
|
314
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['external_parent_category_id']) || ''
|
|
312
315
|
})))), (importType === 3 || importType === 4) && /*#__PURE__*/_react.default.createElement(_reactBootstrap.Row, null, /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null, /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('MAPPING_PRODUCT_ID', 'Product ID')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
313
316
|
name: "product_id",
|
|
314
317
|
type: "number",
|
|
@@ -319,10 +322,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
319
322
|
}
|
|
320
323
|
},
|
|
321
324
|
placeholder: "0",
|
|
322
|
-
defaultValue: (_editState$mapping$pr = editState === null || editState === void 0 ? void 0 : (_editState$mapping6 = editState.mapping) === null || _editState$mapping6 === void 0 ? void 0 : _editState$mapping6.product_id) !== null && _editState$mapping$pr !== void 0 ? _editState$mapping$pr : '',
|
|
323
325
|
onChange: handleChangeMappingInput,
|
|
324
326
|
disabled: formState.loading,
|
|
325
|
-
autoComplete: "off"
|
|
327
|
+
autoComplete: "off",
|
|
328
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['product_id']) || ''
|
|
326
329
|
}))), /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null, /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('MAPPING_EXTERNAL_PRODUCT_ID', 'External product ID')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
327
330
|
name: "external_product_id",
|
|
328
331
|
type: "number",
|
|
@@ -333,10 +336,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
333
336
|
}
|
|
334
337
|
},
|
|
335
338
|
placeholder: "0",
|
|
336
|
-
defaultValue: (_editState$mapping$ex4 = editState === null || editState === void 0 ? void 0 : (_editState$mapping7 = editState.mapping) === null || _editState$mapping7 === void 0 ? void 0 : _editState$mapping7.external_product_id) !== null && _editState$mapping$ex4 !== void 0 ? _editState$mapping$ex4 : '',
|
|
337
339
|
onChange: handleChangeMappingInput,
|
|
338
340
|
disabled: formState.loading,
|
|
339
|
-
autoComplete: "off"
|
|
341
|
+
autoComplete: "off",
|
|
342
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['external_product_id']) || ''
|
|
340
343
|
})))), (importType === 4 || importType === 5 || importType === 6 || importType === 7) && /*#__PURE__*/_react.default.createElement(_reactBootstrap.Row, null, /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null, /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('MAPPING_EXTRA_ID', 'Extra ID')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
341
344
|
name: "extra_id",
|
|
342
345
|
type: "number",
|
|
@@ -346,10 +349,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
346
349
|
}
|
|
347
350
|
},
|
|
348
351
|
placeholder: "0",
|
|
349
|
-
defaultValue: (_editState$mapping$ex5 = editState === null || editState === void 0 ? void 0 : (_editState$mapping8 = editState.mapping) === null || _editState$mapping8 === void 0 ? void 0 : _editState$mapping8.extra_id) !== null && _editState$mapping$ex5 !== void 0 ? _editState$mapping$ex5 : '',
|
|
350
352
|
onChange: handleChangeMappingInput,
|
|
351
353
|
disabled: formState.loading,
|
|
352
|
-
autoComplete: "off"
|
|
354
|
+
autoComplete: "off",
|
|
355
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['extra_id']) || ''
|
|
353
356
|
}))), /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null, /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('MAPPING_EXTERNAL_EXTRA_ID', 'External extra ID')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
354
357
|
name: "external_extra_id",
|
|
355
358
|
type: "number",
|
|
@@ -360,10 +363,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
360
363
|
}
|
|
361
364
|
},
|
|
362
365
|
placeholder: "0",
|
|
363
|
-
defaultValue: (_editState$mapping$ex6 = editState === null || editState === void 0 ? void 0 : (_editState$mapping9 = editState.mapping) === null || _editState$mapping9 === void 0 ? void 0 : _editState$mapping9.external_extra_id) !== null && _editState$mapping$ex6 !== void 0 ? _editState$mapping$ex6 : '',
|
|
364
366
|
onChange: handleChangeMappingInput,
|
|
365
367
|
disabled: formState.loading,
|
|
366
|
-
autoComplete: "off"
|
|
368
|
+
autoComplete: "off",
|
|
369
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['external_extra_id']) || ''
|
|
367
370
|
})))), (importType === 6 || importType === 7) && /*#__PURE__*/_react.default.createElement(_reactBootstrap.Row, null, /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null, /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('MAPPING_EXTRA_OPTION_ID', 'Extra option ID')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
368
371
|
name: "extra_option_id",
|
|
369
372
|
type: "number",
|
|
@@ -373,10 +376,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
373
376
|
}
|
|
374
377
|
},
|
|
375
378
|
placeholder: "0",
|
|
376
|
-
defaultValue: (_editState$mapping$ex7 = editState === null || editState === void 0 ? void 0 : (_editState$mapping10 = editState.mapping) === null || _editState$mapping10 === void 0 ? void 0 : _editState$mapping10.extra_option_id) !== null && _editState$mapping$ex7 !== void 0 ? _editState$mapping$ex7 : '',
|
|
377
379
|
onChange: handleChangeMappingInput,
|
|
378
380
|
disabled: formState.loading,
|
|
379
|
-
autoComplete: "off"
|
|
381
|
+
autoComplete: "off",
|
|
382
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['extra_option_id']) || ''
|
|
380
383
|
}))), /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null, /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('MAPPING_EXTERNAL_EXTRA_OPTION_ID', 'External extra option ID')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
381
384
|
name: "external_extra_option_id",
|
|
382
385
|
type: "number",
|
|
@@ -387,10 +390,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
387
390
|
}
|
|
388
391
|
},
|
|
389
392
|
placeholder: "0",
|
|
390
|
-
defaultValue: (_editState$mapping$ex8 = editState === null || editState === void 0 ? void 0 : (_editState$mapping11 = editState.mapping) === null || _editState$mapping11 === void 0 ? void 0 : _editState$mapping11.external_extra_option_id) !== null && _editState$mapping$ex8 !== void 0 ? _editState$mapping$ex8 : '',
|
|
391
393
|
onChange: handleChangeMappingInput,
|
|
392
394
|
disabled: formState.loading,
|
|
393
|
-
autoComplete: "off"
|
|
395
|
+
autoComplete: "off",
|
|
396
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['external_extra_option_id']) || ''
|
|
394
397
|
})))), importType === 7 && /*#__PURE__*/_react.default.createElement(_reactBootstrap.Row, null, /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null, /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('MAPPING_EXTRA_OPTION_SUBOPTION_ID', 'Extra option suboption ID')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
395
398
|
name: "extra_option_suboption_id",
|
|
396
399
|
type: "number",
|
|
@@ -400,10 +403,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
400
403
|
}
|
|
401
404
|
},
|
|
402
405
|
placeholder: "0",
|
|
403
|
-
defaultValue: (_editState$mapping$ex9 = editState === null || editState === void 0 ? void 0 : (_editState$mapping12 = editState.mapping) === null || _editState$mapping12 === void 0 ? void 0 : _editState$mapping12.extra_option_suboption_id) !== null && _editState$mapping$ex9 !== void 0 ? _editState$mapping$ex9 : '',
|
|
404
406
|
onChange: handleChangeMappingInput,
|
|
405
407
|
disabled: formState.loading,
|
|
406
|
-
autoComplete: "off"
|
|
408
|
+
autoComplete: "off",
|
|
409
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['extra_option_suboption_id']) || ''
|
|
407
410
|
}))), /*#__PURE__*/_react.default.createElement(_reactBootstrap.Col, null, /*#__PURE__*/_react.default.createElement(_styles2.InputWrapper, null, /*#__PURE__*/_react.default.createElement("label", null, t('MAPPING_EXTERNAL_EXTRA_OPTION_SUBOPTION_ID', 'External extra option suboption ID')), /*#__PURE__*/_react.default.createElement(_styles.Input, {
|
|
408
411
|
name: "external_extra_option_suboption_id",
|
|
409
412
|
type: "number",
|
|
@@ -414,10 +417,10 @@ var ImporterFormUI = function ImporterFormUI(props) {
|
|
|
414
417
|
}
|
|
415
418
|
},
|
|
416
419
|
placeholder: "0",
|
|
417
|
-
defaultValue: (_editState$mapping$ex10 = editState === null || editState === void 0 ? void 0 : (_editState$mapping13 = editState.mapping) === null || _editState$mapping13 === void 0 ? void 0 : _editState$mapping13.external_extra_option_suboption_id) !== null && _editState$mapping$ex10 !== void 0 ? _editState$mapping$ex10 : '',
|
|
418
420
|
onChange: handleChangeMappingInput,
|
|
419
421
|
disabled: formState.loading,
|
|
420
|
-
autoComplete: "off"
|
|
422
|
+
autoComplete: "off",
|
|
423
|
+
value: (mappingState === null || mappingState === void 0 ? void 0 : mappingState['external_extra_option_suboption_id']) || ''
|
|
421
424
|
})))))), !isAdvanedOptions && importType !== 8 && /*#__PURE__*/_react.default.createElement(_styles2.FiledListWrapper, {
|
|
422
425
|
disabled: isDefaultImporter
|
|
423
426
|
}, /*#__PURE__*/_react.default.createElement("label", null, t('FIELDS', 'Fields')), Object.keys(fieldList).length > 0 && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, Object.entries(fieldList).map(function (value, i) {
|
|
@@ -12,7 +12,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
12
12
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
13
13
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
14
14
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
15
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
15
|
+
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; } }
|
|
16
16
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
17
17
|
var ImporterHelpContent = function ImporterHelpContent(props) {
|
|
18
18
|
var _useLanguage = (0, _orderingComponentsAdminExternal.useLanguage)(),
|
|
@@ -19,12 +19,14 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
19
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
20
20
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21
21
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
22
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
24
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
23
25
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
24
26
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
25
27
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
26
28
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
27
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
29
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
28
30
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
29
31
|
var ImporterJobFormUI = function ImporterJobFormUI(props) {
|
|
30
32
|
var _formState$changes, _formState$changes2, _formState$changes3, _formState$changes4;
|
|
@@ -38,7 +40,8 @@ var ImporterJobFormUI = function ImporterJobFormUI(props) {
|
|
|
38
40
|
handleOpenChildForm = props.handleOpenChildForm,
|
|
39
41
|
handleCloseChildForm = props.handleCloseChildForm,
|
|
40
42
|
openMappingDetails = props.openMappingDetails,
|
|
41
|
-
setOpenMappingDetails = props.setOpenMappingDetails
|
|
43
|
+
setOpenMappingDetails = props.setOpenMappingDetails,
|
|
44
|
+
handleSuccessUpdateImporter = props.handleSuccessUpdateImporter;
|
|
42
45
|
var _useLanguage = (0, _orderingComponentsAdminExternal.useLanguage)(),
|
|
43
46
|
_useLanguage2 = _slicedToArray(_useLanguage, 2),
|
|
44
47
|
t = _useLanguage2[1];
|
|
@@ -273,7 +276,13 @@ var ImporterJobFormUI = function ImporterJobFormUI(props) {
|
|
|
273
276
|
isAdvanedOptions: true,
|
|
274
277
|
selectedImporter: selectedImporter,
|
|
275
278
|
openMappingDetails: openMappingDetails,
|
|
276
|
-
setOpenMappingDetails: setOpenMappingDetails
|
|
279
|
+
setOpenMappingDetails: setOpenMappingDetails,
|
|
280
|
+
handleSuccessUpdateImporter: handleSuccessUpdateImporter,
|
|
281
|
+
onClose: function onClose() {
|
|
282
|
+
handleCloseChildForm();
|
|
283
|
+
setOpenMappingDetails(false);
|
|
284
|
+
setOpenAdvancedOptions(false);
|
|
285
|
+
}
|
|
277
286
|
}))));
|
|
278
287
|
};
|
|
279
288
|
var ImporterJobForm = function ImporterJobForm(props) {
|
|
@@ -18,7 +18,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
18
18
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
19
19
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
20
20
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
21
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
21
|
+
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; } }
|
|
22
22
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
23
23
|
var ImportersButton = function ImportersButton(props) {
|
|
24
24
|
var _useLanguage = (0, _orderingComponentsAdminExternal.useLanguage)(),
|
|
@@ -22,7 +22,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
22
22
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
23
23
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
24
24
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
25
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
25
|
+
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; } }
|
|
26
26
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
27
27
|
var ImportersList = function ImportersList(props) {
|
|
28
28
|
var importerList = props.importerList,
|
|
@@ -19,12 +19,14 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
19
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
20
20
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21
21
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
22
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
24
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
23
25
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
24
26
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
25
27
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
26
28
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
27
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
29
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
28
30
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
29
31
|
var ImportersListingUI = function ImportersListingUI(props) {
|
|
30
32
|
var importerList = props.importerList,
|
|
@@ -145,6 +147,7 @@ var ImportersListingUI = function ImportersListingUI(props) {
|
|
|
145
147
|
},
|
|
146
148
|
openMappingDetails: openMappingDetails,
|
|
147
149
|
setOpenMappingDetails: setOpenMappingDetails,
|
|
150
|
+
handleSuccessUpdateImporter: handleSuccessUpdateImporter,
|
|
148
151
|
onClose: function onClose() {
|
|
149
152
|
setOpenImportCsv(false);
|
|
150
153
|
setImportJobFormMoveDistance(0);
|
|
@@ -22,7 +22,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
22
22
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
23
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
24
24
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
25
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
26
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
27
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
26
28
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
27
29
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
28
30
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
@@ -31,7 +33,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
31
33
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
32
34
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
33
35
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
34
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
36
|
+
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; } }
|
|
35
37
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
36
38
|
var PaymentOption = function PaymentOption(props) {
|
|
37
39
|
var _sitesState$sites, _businessPaymethod$pa2, _sitesState$sites3, _sitesState$sites4;
|
|
@@ -22,7 +22,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
22
22
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
23
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
24
24
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
25
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
26
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
27
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
26
28
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
27
29
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
28
30
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
@@ -31,7 +33,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
31
33
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
32
34
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
33
35
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
34
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
36
|
+
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; } }
|
|
35
37
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
36
38
|
var PaymentOptionMethods = function PaymentOptionMethods(props) {
|
|
37
39
|
var _sitesState$sites, _ref2, _changesState$sandbox, _changesState$data, _changesState$data2, _businessPaymethod$da, _changesState$data3, _changesState$data4, _businessPaymethod$da2, _changesState$data_sa, _changesState$data_sa2, _businessPaymethod$da3, _changesState$data_sa3, _changesState$data_sa4, _businessPaymethod$da4, _sitesState$sites2;
|
|
@@ -23,7 +23,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
23
23
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
24
24
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
25
25
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
26
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
26
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
28
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
27
29
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
28
30
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
29
31
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
@@ -32,7 +34,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
32
34
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
33
35
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
34
36
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
35
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
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; } }
|
|
36
38
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
37
39
|
var PaymentOptionPaypal = function PaymentOptionPaypal(props) {
|
|
38
40
|
var _sitesState$sites, _changesState$sandbox, _changesState$data, _changesState$data2, _businessPaymethod$da, _changesState$data3, _changesState$data4, _businessPaymethod$da2, _changesState$data_sa, _changesState$data_sa2, _businessPaymethod$da3, _changesState$data_sa3, _changesState$data_sa4, _businessPaymethod$da4, _sitesState$sites2;
|
|
@@ -24,7 +24,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
24
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
25
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
26
26
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
27
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
28
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
29
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
28
30
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
29
31
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
30
32
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
@@ -33,7 +35,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
33
35
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
34
36
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
35
37
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
36
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
38
|
+
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; } }
|
|
37
39
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
38
40
|
var PaymentOptionSquareUI = function PaymentOptionSquareUI(props) {
|
|
39
41
|
var _businessPaymethod$pa2, _sitesState$sites, _ref2, _squareData$sandbox, _ref3, _squareData$data$appl, _squareData$data, _businessPaymethod$da, _ref4, _squareData$data$loca, _squareData$data2, _businessPaymethod$da2, _ref5, _squareData$data$clie, _squareData$data3, _businessPaymethod$da3, _ref6, _squareData$data_sand, _squareData$data_sand2, _businessPaymethod$da4, _ref7, _squareData$data_sand3, _squareData$data_sand4, _businessPaymethod$da5, _ref8, _squareData$data_sand5, _squareData$data_sand6, _businessPaymethod$da6, _sitesState$sites2;
|
|
@@ -22,7 +22,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
22
22
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
23
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
24
24
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
25
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
26
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
27
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
26
28
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
27
29
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
28
30
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
@@ -31,7 +33,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
31
33
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
32
34
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
33
35
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
34
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
36
|
+
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; } }
|
|
35
37
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
36
38
|
var PaymentOptionStripeDirect = function PaymentOptionStripeDirect(props) {
|
|
37
39
|
var _sitesState$sites, _ref2, _changesState$sandbox, _changesState$data, _changesState$data2, _businessPaymethod$da, _changesState$data3, _changesState$data4, _businessPaymethod$da2, _changesState$data_sa, _changesState$data_sa2, _businessPaymethod$da3, _changesState$data_sa3, _changesState$data_sa4, _businessPaymethod$da4, _sitesState$sites2;
|
|
@@ -23,7 +23,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
23
23
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
24
24
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
25
25
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
26
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
26
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
28
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
27
29
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
28
30
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
29
31
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
@@ -32,7 +34,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
32
34
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
33
35
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
34
36
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
35
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
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; } }
|
|
36
38
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
37
39
|
var PaymethodOptionPaypalExpress = function PaymethodOptionPaypalExpress(props) {
|
|
38
40
|
var _sitesState$sites, _ref2, _changesState$sandbox, _changesState$data, _changesState$data2, _businessPaymethod$da, _changesState$data_sa, _changesState$data_sa2, _businessPaymethod$da2, _sitesState$sites2;
|
|
@@ -24,7 +24,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
24
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
25
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
26
26
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
27
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
28
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
29
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
28
30
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
29
31
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
30
32
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
@@ -33,7 +35,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
33
35
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
34
36
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
35
37
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
36
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
38
|
+
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; } }
|
|
37
39
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
38
40
|
var PaymethodOptionStripeConnect = function PaymethodOptionStripeConnect(props) {
|
|
39
41
|
var _sitesState$sites, _changesState$data, _changesState$data2, _businessPaymethod$da, _changesState$data3, _changesState$data4, _businessPaymethod$da2, _changesState$data5, _changesState$data6, _businessPaymethod$da3, _changesState$data_sa, _changesState$data_sa2, _businessPaymethod$da4, _sitesState$sites2;
|
|
@@ -23,7 +23,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
23
23
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
24
24
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
25
25
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
26
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
26
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
28
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
27
29
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
28
30
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
29
31
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
@@ -32,7 +34,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
32
34
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
33
35
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
34
36
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
35
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
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; } }
|
|
36
38
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
37
39
|
var PaymethodOptionStripeRedirect = function PaymethodOptionStripeRedirect(props) {
|
|
38
40
|
var _sitesState$sites, _ref2, _changesState$sandbox, _changesState$data, _changesState$data2, _businessPaymethod$da, _changesState$data3, _changesState$data4, _businessPaymethod$da2, _changesState$data_sa, _changesState$data_sa2, _businessPaymethod$da3, _changesState$data_sa3, _changesState$data_sa4, _businessPaymethod$da4, _sitesState$sites2;
|