ordering-ui-admin-external 1.13.3 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_bundles/{ordering-ui-admin.a97f0d1801ec4a89a98e.js → ordering-ui-admin.1a09d41a4e6cd3d1e1cf.js} +2 -2
- package/_modules/components/BusinessIntelligence/BusinessReviewList/index.js +2 -1
- package/_modules/components/BusinessIntelligence/InvoiceBusinessManager/styles.js +1 -1
- package/_modules/components/BusinessIntelligence/InvoiceDriverManager/styles.js +1 -1
- package/_modules/components/BusinessIntelligence/InvoiceManager/index.js +2 -1
- package/_modules/components/BusinessIntelligence/UsersReviewList/index.js +6 -3
- package/_modules/components/CartRecovery/OpenCartsDetail/index.js +15 -1
- package/_modules/components/CartRecovery/OpenCartsDetail/styles.js +1 -1
- package/_modules/components/CartRecovery/RecoveryActionDetail/index.js +18 -1
- package/_modules/components/CartRecovery/RecoveryActionDetail/styles.js +4 -4
- package/_modules/components/CartRecovery/RecoveryActionList/styles.js +1 -3
- package/_modules/components/Delivery/DeliveryUsersListing/index.js +2 -1
- package/_modules/components/Delivery/DriversCompaniesList/styles.js +1 -1
- package/_modules/components/Delivery/DriversCompanyDetailsForm/index.js +21 -2
- package/_modules/components/Delivery/DriversCompanyDetailsForm/styles.js +8 -6
- package/_modules/components/Delivery/DriversGroupDetails/index.js +20 -2
- package/_modules/components/Delivery/DriversGroupDetails/styles.js +6 -4
- package/_modules/components/Delivery/DriversGroupsList/index.js +5 -5
- package/_modules/components/Delivery/DriversGroupsList/styles.js +1 -1
- package/_modules/components/Delivery/UserAddForm/index.js +1 -1
- package/_modules/components/Delivery/UserDetails/index.js +20 -2
- package/_modules/components/Delivery/UserDetails/styles.js +6 -4
- package/_modules/components/Delivery/UserDetailsLateralBar/styles.js +1 -1
- package/_modules/components/Delivery/UserProfileForm/index.js +1 -1
- package/_modules/components/Delivery/UsersList/styles.js +1 -1
- package/_modules/components/Login/LoginForm/index.js +49 -7
- package/_modules/components/Login/LoginForm/styles.js +18 -14
- package/_modules/components/Loyalty/GiftCardDetail/index.js +285 -0
- package/_modules/components/Loyalty/LoyaltyLevelDetail/index.js +1 -1
- package/_modules/components/Loyalty/PointsWalletBusinessList/index.js +1 -1
- package/_modules/components/Loyalty/PointsWalletBusinessList/styles.js +3 -3
- package/_modules/components/Loyalty/PointsWalletLevels/styles.js +1 -3
- package/_modules/components/Loyalty/RewardsPrograms/index.js +45 -28
- package/_modules/components/Loyalty/RewardsPrograms/styles.js +18 -3
- package/_modules/components/Loyalty/Wallet/index.js +109 -0
- package/_modules/components/Loyalty/{PointsWallet → Wallet}/styles.js +15 -9
- package/_modules/components/Loyalty/index.js +7 -7
- package/_modules/components/Marketing/BannerDetails/styles.js +1 -1
- package/_modules/components/Marketing/BannerImageDetails/index.js +1 -1
- package/_modules/components/Marketing/CampaignDetail/index.js +20 -1
- package/_modules/components/Marketing/CampaignDetail/styles.js +4 -4
- package/_modules/components/Marketing/CampaignList/styles.js +1 -3
- package/_modules/components/Marketing/EnterprisePromotionDetails/index.js +17 -2
- package/_modules/components/Marketing/EnterprisePromotionDetails/styles.js +7 -5
- package/_modules/components/Marketing/EnterprisePromotionGeneralDetails/index.js +1 -1
- package/_modules/components/Marketing/EnterprisePromotionList/styles.js +1 -3
- package/_modules/components/Marketing/EnterprisePromotionRules/index.js +1 -0
- package/_modules/components/Marketing/PageBanner/index.js +21 -7
- package/_modules/components/Marketing/PageBanner/styles.js +26 -24
- package/_modules/components/MyProducts/AdvancedSettings/ImageBox.js +151 -0
- package/_modules/components/MyProducts/OrderingWebsite/index.js +1 -1
- package/_modules/components/OrderingProducts/OrderingProductDetails/index.js +20 -2
- package/_modules/components/OrderingProducts/OrderingProductDetails/styles.js +15 -13
- package/_modules/components/OrderingProducts/OrderingProductsListing/styles.js +1 -3
- package/_modules/components/OrderingProducts/SiteTheme/ThemeImage.js +1 -1
- package/_modules/components/Orders/Messages/index.js +10 -2
- package/_modules/components/Orders/Messages/styles.js +64 -62
- package/_modules/components/Orders/OrderDashboardSLASetting/index.js +0 -1
- package/_modules/components/Orders/OrderDetailsHeader/index.js +30 -3
- package/_modules/components/Orders/OrdersFilterGroup/index.js +6 -10
- package/_modules/components/Orders/OrdersLateralBar/index.js +22 -5
- package/_modules/components/Orders/OrdersLateralBar/styles.js +2 -2
- package/_modules/components/Settings/ApiKeysList/styles.js +10 -7
- package/_modules/components/Settings/Cms/styles.js +1 -1
- package/_modules/components/Settings/CountriesList/index.js +5 -4
- package/_modules/components/Settings/CountriesList/styles.js +1 -1
- package/_modules/components/Settings/Deliverect/index.js +15 -1
- package/_modules/components/Settings/DoordashConnect/index.js +15 -1
- package/_modules/components/Settings/DropdownOptionList/index.js +2 -1
- package/_modules/components/Settings/DropdownOptionList/styles.js +1 -1
- package/_modules/components/Settings/IntegrationListing/index.js +6 -3
- package/_modules/components/Settings/ItsaCheckmate/index.js +15 -1
- package/_modules/components/Settings/LalamoveConnect/index.js +15 -1
- package/_modules/components/Settings/LanguageTransTable/styles.js +1 -1
- package/_modules/components/Settings/PickerExpress/index.js +15 -1
- package/_modules/components/Settings/PlaceListing/index.js +2 -1
- package/_modules/components/Settings/PlaceListing/styles.js +1 -1
- package/_modules/components/Settings/PluginList/styles.js +20 -17
- package/_modules/components/Settings/Settings/index.js +2 -1
- package/_modules/components/Settings/SettingsDetail/index.js +15 -1
- package/_modules/components/Settings/SettingsDetail/styles.js +13 -11
- package/_modules/components/Settings/SettingsImage/index.js +1 -1
- package/_modules/components/Settings/SitesAuthSettings/index.js +20 -1
- package/_modules/components/Settings/SitesAuthSettings/styles.js +10 -6
- package/_modules/components/Settings/WebhookList/styles.js +14 -11
- package/_modules/components/Shared/Modal/index.js +5 -3
- package/_modules/components/Shared/ProtectedRoute/index.js +6 -1
- package/_modules/components/Shared/SideBar/index.js +22 -3
- package/_modules/components/Shared/SideBar/styles.js +10 -8
- package/_modules/components/SidebarMenu/index.js +16 -18
- package/_modules/components/Stores/AddBusinessForm/index.js +1 -1
- package/_modules/components/Stores/BusinessAdd/Images/index.js +1 -1
- package/_modules/components/Stores/BusinessAdd/Photos/index.js +1 -1
- package/_modules/components/Stores/BusinessAddStore/index.js +1 -2
- package/_modules/components/Stores/BusinessBrandGENDetail/index.js +8 -3
- package/_modules/components/Stores/BusinessBrandListing/index.js +17 -2
- package/_modules/components/Stores/BusinessBrandListing/styles.js +35 -33
- package/_modules/components/Stores/BusinessDeliveryZoneInformation/index.js +1 -1
- package/_modules/components/Stores/BusinessDetails/index.js +6 -1
- package/_modules/components/Stores/BusinessFilterGroup/index.js +110 -0
- package/_modules/components/Stores/BusinessFilterGroup/styles.js +37 -0
- package/_modules/components/Stores/BusinessInformation/index.js +1 -1
- package/_modules/components/Stores/BusinessOrderingChannels/index.js +1 -1
- package/_modules/components/Stores/BusinessProductAddForm/index.js +5 -5
- package/_modules/components/Stores/BusinessProductList/index.js +2 -1
- package/_modules/components/Stores/BusinessProductList/styles.js +1 -3
- package/_modules/components/Stores/BusinessProductsCategories/styles.js +2 -4
- package/_modules/components/Stores/BusinessProductsCategoyDetails/index.js +22 -4
- package/_modules/components/Stores/BusinessProductsCategoyDetails/styles.js +1 -1
- package/_modules/components/Stores/BusinessProductsCategoyInfo/index.js +11 -23
- package/_modules/components/Stores/BusinessProductsListing/index.js +3 -2
- package/_modules/components/Stores/BusinessPromotionList/styles.js +1 -1
- package/_modules/components/Stores/BusinessSalesChannel/index.js +142 -0
- package/_modules/components/Stores/BusinessSalesChannel/styles.js +26 -0
- package/_modules/components/Stores/BusinessSalesFacebook/FacebookPost.js +31 -0
- package/_modules/components/Stores/BusinessSalesFacebook/FacebookProfile.js +45 -0
- package/_modules/components/Stores/BusinessSalesFacebook/index.js +77 -0
- package/_modules/components/Stores/BusinessSalesFacebook/styles.js +58 -0
- package/_modules/components/Stores/BusinessSalesGoogle/index.js +85 -0
- package/_modules/components/Stores/BusinessSalesGoogle/styles.js +44 -0
- package/_modules/components/Stores/BusinessSalesInstagram/AdvancedInstagram.js +58 -0
- package/_modules/components/Stores/BusinessSalesInstagram/GeneralInstagram.js +51 -0
- package/_modules/components/{Loyalty/PointsWallet → Stores/BusinessSalesInstagram}/index.js +62 -44
- package/_modules/components/Stores/BusinessSalesInstagram/styles.js +63 -0
- package/_modules/components/Stores/BusinessSalesTiktok/index.js +100 -0
- package/_modules/components/Stores/BusinessSalesTiktok/styles.js +37 -0
- package/_modules/components/Stores/BusinessServiceProfessionals/index.js +1 -0
- package/_modules/components/Stores/BusinessSummary/index.js +33 -6
- package/_modules/components/Stores/BusinessTypeDetail/index.js +1 -1
- package/_modules/components/Stores/BusinessesList/styles.js +1 -1
- package/_modules/components/Stores/BusinessesListing/index.js +12 -6
- package/_modules/components/Stores/BusinessesListingHeader/index.js +33 -3
- package/_modules/components/Stores/BusinessesListingHeader/styles.js +5 -2
- package/_modules/components/Stores/ImportersButton/index.js +2 -1
- package/_modules/components/Stores/PaymentOption/index.js +4 -10
- package/_modules/components/Stores/PaymentOptionMethods/index.js +47 -24
- package/_modules/components/Stores/PaymentOptionPaypal/index.js +47 -24
- package/_modules/components/Stores/PaymentOptionStripeDirect/index.js +47 -24
- package/_modules/components/Stores/PaymethodOptionStripeConnect/index.js +50 -25
- package/_modules/components/Stores/PaymethodOptionStripeRedirect/index.js +47 -24
- package/_modules/components/Stores/ProductDetails/index.js +2 -1
- package/_modules/components/Stores/ProductDetailsAdvanced/index.js +30 -11
- package/_modules/components/Stores/ProductDetailsAdvanced/styles.js +10 -7
- package/_modules/components/Stores/ProductDetatilsInformation/index.js +10 -34
- package/_modules/components/Stores/ProductExtraOptionDetails/index.js +1 -1
- package/_modules/components/Stores/ProductExtraOptions/index.js +1 -1
- package/_modules/components/Stores/ProductExtraSuboption/index.js +1 -1
- package/_modules/components/Stores/ProductGallery/index.js +1 -1
- package/_modules/components/Stores/ProductSummary/index.js +23 -2
- package/_modules/components/Stores/ProductTagDetails/index.js +1 -1
- package/_modules/components/Stores/SeoOptions/index.js +14 -16
- package/_modules/components/Stores/SeoOptions/styles.js +3 -3
- package/_modules/components/Stores/ServiceDetail/index.js +1 -1
- package/_modules/components/Stores/WizardBusiness/index.js +2 -1
- package/_modules/components/Stores/index.js +7 -0
- package/_modules/components/Users/CustomerDetails/index.js +24 -2
- package/_modules/components/Users/CustomerDetails/styles.js +16 -19
- package/_modules/components/Users/CustomersListing/index.js +39 -4
- package/_modules/components/Users/CustomersListing/styles.js +1 -1
- package/_modules/components/Users/OccupationSelector/index.js +1 -1
- package/_modules/components/Users/ProfessionalDetail/index.js +19 -3
- package/_modules/components/Users/ProfessionalDetail/styles.js +11 -9
- package/_modules/components/Users/ProfessionalList/styles.js +1 -1
- package/_modules/components/Users/ProfessionalListing/index.js +8 -3
- package/_modules/components/Users/UserAddForm/index.js +1 -1
- package/_modules/components/Users/UserDetails/index.js +27 -10
- package/_modules/components/Users/UserDetails/styles.js +20 -13
- package/_modules/components/Users/UserDetailsLateralBar/styles.js +1 -1
- package/_modules/components/Users/UserFilterGroup/index.js +307 -0
- package/_modules/components/Users/UserFilterGroup/styles.js +37 -0
- package/_modules/components/Users/UserProfileForm/index.js +1 -1
- package/_modules/components/Users/UsersExportCSV/index.js +33 -1
- package/_modules/components/Users/UsersList/index.js +5 -2
- package/_modules/components/Users/UsersList/styles.js +20 -5
- package/_modules/components/Users/UsersListing/index.js +9 -3
- package/_modules/components/Users/UsersListingHeader/index.js +39 -4
- package/_modules/components/Users/UsersListingHeader/styles.js +1 -1
- package/_modules/components/Users/index.js +7 -0
- package/_modules/config/constants.js +281 -41
- package/_modules/index.js +6 -6
- package/index-template.js +72 -0
- package/package.json +2 -2
- package/src/components/BusinessIntelligence/BusinessReviewList/index.js +1 -0
- package/src/components/BusinessIntelligence/InvoiceBusinessManager/styles.js +2 -2
- package/src/components/BusinessIntelligence/InvoiceDriverManager/styles.js +2 -2
- package/src/components/BusinessIntelligence/InvoiceManager/index.js +1 -0
- package/src/components/BusinessIntelligence/UsersReviewList/index.js +5 -2
- package/src/components/CartRecovery/OpenCartsDetail/index.js +17 -1
- package/src/components/CartRecovery/OpenCartsDetail/styles.js +3 -1
- package/src/components/CartRecovery/RecoveryActionDetail/index.js +24 -6
- package/src/components/CartRecovery/RecoveryActionDetail/styles.js +2 -3
- package/src/components/CartRecovery/RecoveryActionList/styles.js +1 -5
- package/src/components/Delivery/DeliveryUsersListing/index.js +1 -0
- package/src/components/Delivery/DriversCompaniesList/styles.js +1 -1
- package/src/components/Delivery/DriversCompanyDetailsForm/index.js +38 -15
- package/src/components/Delivery/DriversCompanyDetailsForm/styles.js +9 -5
- package/src/components/Delivery/DriversGroupDetails/index.js +48 -18
- package/src/components/Delivery/DriversGroupDetails/styles.js +5 -1
- package/src/components/Delivery/DriversGroupsList/index.js +8 -6
- package/src/components/Delivery/DriversGroupsList/styles.js +1 -1
- package/src/components/Delivery/UserAddForm/index.js +1 -1
- package/src/components/Delivery/UserDetails/index.js +43 -21
- package/src/components/Delivery/UserDetails/styles.js +8 -2
- package/src/components/Delivery/UserDetailsLateralBar/styles.js +0 -1
- package/src/components/Delivery/UserProfileForm/index.js +1 -1
- package/src/components/Delivery/UsersList/styles.js +1 -1
- package/src/components/Login/LoginForm/index.js +92 -32
- package/src/components/Login/LoginForm/styles.js +16 -0
- package/src/components/Loyalty/GiftCardDetail/index.js +287 -0
- package/src/components/Loyalty/LoyaltyLevelDetail/index.js +1 -1
- package/src/components/Loyalty/PointsWalletBusinessList/index.js +1 -1
- package/src/components/Loyalty/PointsWalletBusinessList/styles.js +9 -1
- package/src/components/Loyalty/PointsWalletLevels/styles.js +1 -6
- package/src/components/Loyalty/RewardsPrograms/index.js +63 -36
- package/src/components/Loyalty/RewardsPrograms/styles.js +57 -0
- package/src/components/Loyalty/Wallet/index.js +115 -0
- package/src/components/Loyalty/{PointsWallet → Wallet}/styles.js +17 -0
- package/src/components/Loyalty/index.js +2 -2
- package/src/components/Marketing/BannerDetails/styles.js +1 -0
- package/src/components/Marketing/BannerImageDetails/index.js +1 -1
- package/src/components/Marketing/CampaignDetail/index.js +25 -5
- package/src/components/Marketing/CampaignDetail/styles.js +2 -4
- package/src/components/Marketing/CampaignList/styles.js +1 -5
- package/src/components/Marketing/EnterprisePromotionDetails/index.js +35 -17
- package/src/components/Marketing/EnterprisePromotionDetails/styles.js +7 -3
- package/src/components/Marketing/EnterprisePromotionGeneralDetails/index.js +1 -1
- package/src/components/Marketing/EnterprisePromotionList/styles.js +1 -4
- package/src/components/Marketing/EnterprisePromotionRules/index.js +1 -0
- package/src/components/Marketing/PageBanner/index.js +28 -10
- package/src/components/Marketing/PageBanner/styles.js +15 -8
- package/src/components/MyProducts/AdvancedSettings/ImageBox.js +112 -0
- package/src/components/MyProducts/OrderingWebsite/index.js +1 -1
- package/src/components/OrderingProducts/OrderingProductDetails/index.js +34 -12
- package/src/components/OrderingProducts/OrderingProductDetails/styles.js +8 -3
- package/src/components/OrderingProducts/OrderingProductsListing/styles.js +1 -5
- package/src/components/OrderingProducts/SiteTheme/ThemeImage.js +1 -1
- package/src/components/Orders/Messages/index.js +104 -84
- package/src/components/Orders/Messages/styles.js +20 -0
- package/src/components/Orders/OrderDashboardSLASetting/index.js +0 -1
- package/src/components/Orders/OrderDetailsHeader/index.js +30 -3
- package/src/components/Orders/OrdersFilterGroup/index.js +6 -6
- package/src/components/Orders/OrdersLateralBar/index.js +20 -2
- package/src/components/Orders/OrdersLateralBar/styles.js +3 -1
- package/src/components/Settings/ApiKeysList/styles.js +8 -0
- package/src/components/Settings/Cms/styles.js +1 -1
- package/src/components/Settings/CountriesList/index.js +4 -3
- package/src/components/Settings/CountriesList/styles.js +1 -1
- package/src/components/Settings/Deliverect/index.js +17 -1
- package/src/components/Settings/DoordashConnect/index.js +17 -1
- package/src/components/Settings/DropdownOptionList/index.js +1 -0
- package/src/components/Settings/DropdownOptionList/styles.js +1 -1
- package/src/components/Settings/IntegrationListing/index.js +3 -0
- package/src/components/Settings/ItsaCheckmate/index.js +17 -1
- package/src/components/Settings/LalamoveConnect/index.js +17 -1
- package/src/components/Settings/LanguageTransTable/styles.js +1 -1
- package/src/components/Settings/PickerExpress/index.js +17 -1
- package/src/components/Settings/PlaceListing/index.js +1 -0
- package/src/components/Settings/PlaceListing/styles.js +1 -1
- package/src/components/Settings/PluginList/styles.js +8 -0
- package/src/components/Settings/Settings/index.js +1 -0
- package/src/components/Settings/SettingsDetail/index.js +18 -1
- package/src/components/Settings/SettingsDetail/styles.js +9 -0
- package/src/components/Settings/SettingsImage/index.js +1 -1
- package/src/components/Settings/SitesAuthSettings/index.js +26 -2
- package/src/components/Settings/SitesAuthSettings/styles.js +14 -1
- package/src/components/Settings/WebhookList/styles.js +8 -0
- package/src/components/Shared/Modal/index.js +8 -3
- package/src/components/Shared/ProtectedRoute/index.js +7 -1
- package/src/components/Shared/SideBar/index.js +30 -10
- package/src/components/Shared/SideBar/styles.js +13 -14
- package/src/components/SidebarMenu/index.js +3 -6
- package/src/components/Stores/AddBusinessForm/index.js +1 -1
- package/src/components/Stores/BusinessAdd/Images/index.js +1 -1
- package/src/components/Stores/BusinessAdd/Photos/index.js +1 -1
- package/src/components/Stores/BusinessAddStore/index.js +0 -1
- package/src/components/Stores/BusinessBrandGENDetail/index.js +19 -18
- package/src/components/Stores/BusinessBrandListing/index.js +29 -11
- package/src/components/Stores/BusinessBrandListing/styles.js +7 -3
- package/src/components/Stores/BusinessDeliveryZoneInformation/index.js +1 -1
- package/src/components/Stores/BusinessDetails/index.js +8 -0
- package/src/components/Stores/BusinessFilterGroup/index.js +168 -0
- package/src/components/Stores/BusinessFilterGroup/styles.js +116 -0
- package/src/components/Stores/BusinessInformation/index.js +1 -1
- package/src/components/Stores/BusinessOrderingChannels/index.js +4 -2
- package/src/components/Stores/BusinessProductAddForm/index.js +2 -2
- package/src/components/Stores/BusinessProductList/index.js +1 -0
- package/src/components/Stores/BusinessProductList/styles.js +1 -4
- package/src/components/Stores/BusinessProductsCategories/styles.js +1 -5
- package/src/components/Stores/BusinessProductsCategoyDetails/index.js +23 -3
- package/src/components/Stores/BusinessProductsCategoyDetails/styles.js +2 -2
- package/src/components/Stores/BusinessProductsCategoyInfo/index.js +18 -47
- package/src/components/Stores/BusinessProductsListing/index.js +13 -10
- package/src/components/Stores/BusinessPromotionList/styles.js +1 -1
- package/src/components/Stores/BusinessSalesChannel/index.js +165 -0
- package/src/components/Stores/BusinessSalesChannel/styles.js +75 -0
- package/src/components/Stores/BusinessSalesFacebook/FacebookPost.js +29 -0
- package/src/components/Stores/BusinessSalesFacebook/FacebookProfile.js +51 -0
- package/src/components/Stores/BusinessSalesFacebook/index.js +81 -0
- package/src/components/Stores/BusinessSalesFacebook/styles.js +135 -0
- package/src/components/Stores/BusinessSalesGoogle/index.js +88 -0
- package/src/components/Stores/BusinessSalesGoogle/styles.js +119 -0
- package/src/components/Stores/BusinessSalesInstagram/AdvancedInstagram.js +54 -0
- package/src/components/Stores/BusinessSalesInstagram/GeneralInstagram.js +53 -0
- package/src/components/Stores/BusinessSalesInstagram/index.js +81 -0
- package/src/components/Stores/BusinessSalesInstagram/styles.js +157 -0
- package/src/components/Stores/BusinessSalesTiktok/index.js +116 -0
- package/src/components/Stores/BusinessSalesTiktok/styles.js +100 -0
- package/src/components/Stores/BusinessServiceProfessionals/index.js +1 -0
- package/src/components/Stores/BusinessSummary/index.js +32 -3
- package/src/components/Stores/BusinessTypeDetail/index.js +1 -1
- package/src/components/Stores/BusinessesList/styles.js +1 -1
- package/src/components/Stores/BusinessesListing/index.js +24 -11
- package/src/components/Stores/BusinessesListingHeader/index.js +25 -4
- package/src/components/Stores/BusinessesListingHeader/styles.js +13 -1
- package/src/components/Stores/ImportersButton/index.js +1 -0
- package/src/components/Stores/PaymentOption/index.js +4 -6
- package/src/components/Stores/PaymentOptionMethods/index.js +42 -21
- package/src/components/Stores/PaymentOptionPaypal/index.js +42 -21
- package/src/components/Stores/PaymentOptionStripeDirect/index.js +42 -21
- package/src/components/Stores/PaymethodOptionStripeConnect/index.js +45 -22
- package/src/components/Stores/PaymethodOptionStripeRedirect/index.js +42 -21
- package/src/components/Stores/ProductDetails/index.js +1 -0
- package/src/components/Stores/ProductDetailsAdvanced/index.js +18 -0
- package/src/components/Stores/ProductDetailsAdvanced/styles.js +5 -0
- package/src/components/Stores/ProductDetatilsInformation/index.js +2 -48
- package/src/components/Stores/ProductExtraOptionDetails/index.js +1 -1
- package/src/components/Stores/ProductExtraOptions/index.js +1 -1
- package/src/components/Stores/ProductExtraSuboption/index.js +1 -1
- package/src/components/Stores/ProductGallery/index.js +1 -1
- package/src/components/Stores/ProductSummary/index.js +24 -3
- package/src/components/Stores/ProductTagDetails/index.js +1 -1
- package/src/components/Stores/SeoOptions/index.js +18 -12
- package/src/components/Stores/SeoOptions/styles.js +5 -14
- package/src/components/Stores/ServiceDetail/index.js +1 -1
- package/src/components/Stores/WizardBusiness/index.js +1 -0
- package/src/components/Stores/index.js +2 -0
- package/src/components/Users/CustomerDetails/index.js +39 -14
- package/src/components/Users/CustomerDetails/styles.js +2 -5
- package/src/components/Users/CustomersListing/index.js +32 -15
- package/src/components/Users/CustomersListing/styles.js +1 -1
- package/src/components/Users/OccupationSelector/index.js +1 -1
- package/src/components/Users/ProfessionalDetail/index.js +43 -23
- package/src/components/Users/ProfessionalDetail/styles.js +5 -0
- package/src/components/Users/ProfessionalList/styles.js +1 -1
- package/src/components/Users/ProfessionalListing/index.js +6 -1
- package/src/components/Users/UserAddForm/index.js +1 -1
- package/src/components/Users/UserDetails/index.js +34 -17
- package/src/components/Users/UserDetails/styles.js +17 -2
- package/src/components/Users/UserDetailsLateralBar/styles.js +0 -1
- package/src/components/Users/UserFilterGroup/index.js +306 -0
- package/src/components/Users/UserFilterGroup/styles.js +116 -0
- package/src/components/Users/UserProfileForm/index.js +1 -1
- package/src/components/Users/UsersExportCSV/index.js +19 -1
- package/src/components/Users/UsersList/index.js +9 -2
- package/src/components/Users/UsersList/styles.js +28 -1
- package/src/components/Users/UsersListing/index.js +7 -1
- package/src/components/Users/UsersListingHeader/index.js +66 -33
- package/src/components/Users/UsersListingHeader/styles.js +4 -0
- package/src/components/Users/index.js +2 -0
- package/src/config/constants.js +1215 -244
- package/src/index.js +2 -2
- package/template/assets/images/icons/business-google.svg +26 -0
- package/template/assets/images/icons/facebook.svg +11 -0
- package/template/assets/images/icons/instagram.svg +19 -0
- package/template/assets/images/icons/tiktok.svg +11 -0
- package/template/assets/images/salesChannels/facebook-post-step1.png +0 -0
- package/template/assets/images/salesChannels/facebook-post-step2.png +0 -0
- package/template/assets/images/salesChannels/facebook-profile-step2.png +0 -0
- package/template/assets/images/salesChannels/facebook-profile-step3-1.png +0 -0
- package/template/assets/images/salesChannels/facebook-profile-step3-2.png +0 -0
- package/template/assets/images/salesChannels/facebook-profile-step4.png +0 -0
- package/template/assets/images/salesChannels/facebook-profile-step5.png +0 -0
- package/template/assets/images/salesChannels/google-step1.png +0 -0
- package/template/assets/images/salesChannels/google-step2.png +0 -0
- package/template/assets/images/salesChannels/google-step3.png +0 -0
- package/template/assets/images/salesChannels/instagram-advanced-step31.png +0 -0
- package/template/assets/images/salesChannels/instagram-advanced-step32.png +0 -0
- package/template/assets/images/salesChannels/instagram-advanced-step41.png +0 -0
- package/template/assets/images/salesChannels/instagram-advanced-step42.png +0 -0
- package/template/assets/images/salesChannels/instagram-general-step2.png +0 -0
- package/template/assets/images/salesChannels/instagram-general-step3.png +0 -0
- package/template/assets/images/salesChannels/instagram-general-step4.png +0 -0
- package/template/assets/images/salesChannels/instagram-general-step5.png +0 -0
- package/template/assets/images/salesChannels/instagram-general-step6.png +0 -0
- package/template/assets/images/salesChannels/tiktok-step1.png +0 -0
- package/template/assets/images/salesChannels/tiktok-step10.png +0 -0
- package/template/assets/images/salesChannels/tiktok-step2.png +0 -0
- package/template/assets/images/salesChannels/tiktok-step3.png +0 -0
- package/template/assets/images/salesChannels/tiktok-step4.png +0 -0
- package/template/assets/images/salesChannels/tiktok-step5.png +0 -0
- package/template/assets/images/salesChannels/tiktok-step6.png +0 -0
- package/template/assets/images/salesChannels/tiktok-step7.png +0 -0
- package/template/assets/images/salesChannels/tiktok-step8.png +0 -0
- package/template/assets/images/salesChannels/tiktok-step9.png +0 -0
- package/template/pages/CustomersList/index.js +1 -1
- package/template/pages/Login/index.js +7 -1
- package/src/components/Loyalty/PointsWallet/index.js +0 -71
- /package/_bundles/{ordering-ui-admin.a97f0d1801ec4a89a98e.js.LICENSE.txt → ordering-ui-admin.1a09d41a4e6cd3d1e1cf.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import React, { useEffect, useState } from 'react'
|
|
2
|
+
import { useLanguage } from 'ordering-components-admin-external'
|
|
3
|
+
import { useWindowSize } from '../../../hooks/useWindowSize'
|
|
4
|
+
import { IconButton, Input } from '../../../styles'
|
|
5
|
+
import { XLg, Files } from 'react-bootstrap-icons'
|
|
6
|
+
import { useTheme } from 'styled-components'
|
|
7
|
+
import {
|
|
8
|
+
Container,
|
|
9
|
+
Header,
|
|
10
|
+
LeftHeader,
|
|
11
|
+
Step,
|
|
12
|
+
LinkText,
|
|
13
|
+
CopyInputWrapper
|
|
14
|
+
} from './styles'
|
|
15
|
+
|
|
16
|
+
export const BusinessSalesGoogle = (props) => {
|
|
17
|
+
const { onClose, socialItem, businessSlug } = props
|
|
18
|
+
|
|
19
|
+
const { width } = useWindowSize()
|
|
20
|
+
const [, t] = useLanguage()
|
|
21
|
+
const theme = useTheme()
|
|
22
|
+
|
|
23
|
+
const [isMenuOpen, setIsMenuOpen] = useState(false)
|
|
24
|
+
|
|
25
|
+
const actionSidebar = (value) => {
|
|
26
|
+
if (!value) {
|
|
27
|
+
onClose && onClose()
|
|
28
|
+
}
|
|
29
|
+
setIsMenuOpen(value)
|
|
30
|
+
document.getElementById('businessSocial').style.width = value
|
|
31
|
+
? width > 1000 ? '500px' : '100%'
|
|
32
|
+
: '0'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
if (isMenuOpen) {
|
|
37
|
+
if (width < 1000) {
|
|
38
|
+
document.getElementById('businessSocial').style.width = '100%'
|
|
39
|
+
} else {
|
|
40
|
+
document.getElementById('businessSocial').style.width = '500px'
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}, [width])
|
|
44
|
+
|
|
45
|
+
useEffect(() => {
|
|
46
|
+
if (!open) return
|
|
47
|
+
actionSidebar(true)
|
|
48
|
+
}, [open])
|
|
49
|
+
|
|
50
|
+
return (
|
|
51
|
+
<Container id='businessSocial'>
|
|
52
|
+
<Header>
|
|
53
|
+
<LeftHeader>
|
|
54
|
+
<img src={socialItem.icon} alt='' />
|
|
55
|
+
<h2>{socialItem.name}</h2>
|
|
56
|
+
</LeftHeader>
|
|
57
|
+
<IconButton onClick={onClose} color='black'>
|
|
58
|
+
<XLg />
|
|
59
|
+
</IconButton>
|
|
60
|
+
</Header>
|
|
61
|
+
<p>{t('BUSINESS_GOOGLE_DESC', 'Lorem ipsum dolor sit amet consectetur. Vitae odio aliquam adipiscing vitae. Nulla sed integer congue gravida lobortis tristique condimentum fusce tincidunt.')}</p>
|
|
62
|
+
<LinkText>
|
|
63
|
+
<a href='https://www.google.com/intl/es/business/sign-up' target='_blank' rel='noopener noreferrer'>https://www.google.com/intl/es/business/sign-up</a>
|
|
64
|
+
</LinkText>
|
|
65
|
+
<Step>
|
|
66
|
+
<h3>{t('STEP', 'Step')} 1</h3>
|
|
67
|
+
<p>{t('BUSINESS_GOOGLE_STEP1_DESC', 'On Google My Business, access your Locations page.')}</p>
|
|
68
|
+
<img src={theme.images.salesChannels.googleStep1} alt='' />
|
|
69
|
+
</Step>
|
|
70
|
+
<Step>
|
|
71
|
+
<h3>{t('STEP', 'Step')} 2</h3>
|
|
72
|
+
<p>{t('BUSINESS_GOOGLE_STEP2_DESC', 'Then click on info section on the sidebar inside your location.')}</p>
|
|
73
|
+
<img src={theme.images.salesChannels.googleStep2} alt='' />
|
|
74
|
+
</Step>
|
|
75
|
+
<Step>
|
|
76
|
+
<h3>{t('STEP', 'Step')} 3</h3>
|
|
77
|
+
<p>{t('BUSINESS_GOOGLE_STEP3_DESC', 'Scroll down and find Order ahead links and Menu link fields. Paste the link below.')}</p>
|
|
78
|
+
<CopyInputWrapper isBottom>
|
|
79
|
+
<Input
|
|
80
|
+
defaultValue='https://yourbusinessname.com/store/storename'
|
|
81
|
+
disabled
|
|
82
|
+
/>
|
|
83
|
+
</CopyInputWrapper>
|
|
84
|
+
<img src={theme.images.salesChannels.googleStep3} alt='' />
|
|
85
|
+
</Step>
|
|
86
|
+
</Container>
|
|
87
|
+
)
|
|
88
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import styled, { css } from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const Container = styled.div`
|
|
4
|
+
padding: 20px;
|
|
5
|
+
overflow: auto;
|
|
6
|
+
transition: 0.3s;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
|
|
11
|
+
> p {
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
line-height: 24px;
|
|
15
|
+
color: ${props => props.theme.colors.lightGray};
|
|
16
|
+
margin-bottom: 15px;
|
|
17
|
+
margin-top: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media (min-width: 1000px) {
|
|
21
|
+
width: 0;
|
|
22
|
+
${props => props.theme?.rtl ? css`
|
|
23
|
+
border-right: 1px solid ${props => props.theme.colors.borderColor};
|
|
24
|
+
` : css`
|
|
25
|
+
border-left: 1px solid ${props => props.theme.colors.borderColor};
|
|
26
|
+
`}
|
|
27
|
+
}
|
|
28
|
+
`
|
|
29
|
+
|
|
30
|
+
export const LinkText = styled.div`
|
|
31
|
+
margin-bottom: 23px;
|
|
32
|
+
a {
|
|
33
|
+
color: ${props => props.theme.colors.primary};
|
|
34
|
+
text-decoration: none;
|
|
35
|
+
&:hover {
|
|
36
|
+
text-decoration: underline;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
`
|
|
40
|
+
|
|
41
|
+
export const Header = styled.div`
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: space-between;
|
|
44
|
+
margin-bottom: 25px;
|
|
45
|
+
`
|
|
46
|
+
|
|
47
|
+
export const LeftHeader = styled.div`
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
|
|
51
|
+
img {
|
|
52
|
+
width: 32px;
|
|
53
|
+
height: 32px;
|
|
54
|
+
object-fit: cover;
|
|
55
|
+
margin-right: 18px;
|
|
56
|
+
${props => props.theme.rtl && css`
|
|
57
|
+
margin-left: 18px;
|
|
58
|
+
margin-right: 0;
|
|
59
|
+
`}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
h2 {
|
|
63
|
+
font-weight: 700;
|
|
64
|
+
font-size: 20px;
|
|
65
|
+
line-height: 30px;
|
|
66
|
+
margin: 0;
|
|
67
|
+
}
|
|
68
|
+
`
|
|
69
|
+
|
|
70
|
+
export const Step = styled.div`
|
|
71
|
+
margin-bottom: 27px;
|
|
72
|
+
h3 {
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
font-size: 16px;
|
|
75
|
+
line-height: 24px;
|
|
76
|
+
margin-top: 0;
|
|
77
|
+
margin-bottom: 12px;
|
|
78
|
+
}
|
|
79
|
+
p {
|
|
80
|
+
font-weight: 400;
|
|
81
|
+
font-size: 14px;
|
|
82
|
+
line-height: 24px;
|
|
83
|
+
margin-top: 0;
|
|
84
|
+
margin-bottom: 20px;
|
|
85
|
+
color: ${props => props.theme.colors.lightGray};
|
|
86
|
+
}
|
|
87
|
+
img {
|
|
88
|
+
width: 100%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (min-width: 576px) {
|
|
92
|
+
img {
|
|
93
|
+
display: block;
|
|
94
|
+
width: 90%;
|
|
95
|
+
margin-left: auto;
|
|
96
|
+
margin-right: auto;
|
|
97
|
+
margin-bottom: 24px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
`
|
|
101
|
+
|
|
102
|
+
export const CopyInputWrapper = styled.div`
|
|
103
|
+
display: flex;
|
|
104
|
+
align-items: center;
|
|
105
|
+
input {
|
|
106
|
+
flex: 1;
|
|
107
|
+
height: 44px;
|
|
108
|
+
}
|
|
109
|
+
button {
|
|
110
|
+
margin-left: 15px;
|
|
111
|
+
${props => props.theme.rtl && css`
|
|
112
|
+
margin-left: 0;
|
|
113
|
+
margin-right: 15px;
|
|
114
|
+
`}
|
|
115
|
+
}
|
|
116
|
+
${({ isBottom }) => isBottom && css`
|
|
117
|
+
margin-bottom: 24px;
|
|
118
|
+
`}
|
|
119
|
+
`
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { useLanguage } from 'ordering-components-admin-external'
|
|
3
|
+
import { useTheme } from 'styled-components'
|
|
4
|
+
import { Input } from '../../../styles'
|
|
5
|
+
import {
|
|
6
|
+
InstagramAdvancedContainer,
|
|
7
|
+
Step,
|
|
8
|
+
CopyInputWrapper,
|
|
9
|
+
ImageWrapper
|
|
10
|
+
} from './styles'
|
|
11
|
+
|
|
12
|
+
export const AdvancedInstagram = (props) => {
|
|
13
|
+
const [, t] = useLanguage()
|
|
14
|
+
const theme = useTheme()
|
|
15
|
+
|
|
16
|
+
return (
|
|
17
|
+
<InstagramAdvancedContainer>
|
|
18
|
+
<p>{t('BUSINESS_INSTAGRAM_ADVANCED_DESC', 'This setting is if your Instagram account has 10K followers or you are already an Instagram partner.')}</p>
|
|
19
|
+
<Step>
|
|
20
|
+
<h3>{t('STEP', 'Step')} 1</h3>
|
|
21
|
+
<p
|
|
22
|
+
dangerouslySetInnerHTML={{ __html: t('BUSINESS_INSTAGRAM_GENERAL_STEP2_DESC', 'Open your Instagram profile and tap on <strong>Edit Profile.</strong>') }}
|
|
23
|
+
/>
|
|
24
|
+
<img src={theme.images.salesChannels.instagramGeneralStep2} alt='' />
|
|
25
|
+
</Step>
|
|
26
|
+
<Step>
|
|
27
|
+
<h3>{t('STEP', 'Step')} 2</h3>
|
|
28
|
+
<p
|
|
29
|
+
dangerouslySetInnerHTML={{ __html: t('BUSINESS_INSTAGRAM_ADVANCED_STEP3_DESC', 'Click on <strong>Action buttons</strong> and then select the button you need.') }}
|
|
30
|
+
/>
|
|
31
|
+
<ImageWrapper>
|
|
32
|
+
<img src={theme.images.salesChannels.instagramAdvancedStep31} alt='' />
|
|
33
|
+
<img src={theme.images.salesChannels.instagramAdvancedStep32} alt='' />
|
|
34
|
+
</ImageWrapper>
|
|
35
|
+
</Step>
|
|
36
|
+
<Step>
|
|
37
|
+
<h3>{t('STEP', 'Step')} 3</h3>
|
|
38
|
+
<p
|
|
39
|
+
dangerouslySetInnerHTML={{ __html: t('BUSINESS_INSTAGRAM_ADVANCED_STEP4_DESC', 'Now, select <strong>Your business</strong>, and paste the following link. Then, tap on <strong>Done</strong>') }}
|
|
40
|
+
/>
|
|
41
|
+
<CopyInputWrapper isBottom>
|
|
42
|
+
<Input
|
|
43
|
+
defaultValue='https://yourbusinessname.com/store/storename'
|
|
44
|
+
disabled
|
|
45
|
+
/>
|
|
46
|
+
</CopyInputWrapper>
|
|
47
|
+
<ImageWrapper>
|
|
48
|
+
<img src={theme.images.salesChannels.instagramAdvancedStep41} alt='' />
|
|
49
|
+
<img src={theme.images.salesChannels.instagramAdvancedStep42} alt='' />
|
|
50
|
+
</ImageWrapper>
|
|
51
|
+
</Step>
|
|
52
|
+
</InstagramAdvancedContainer>
|
|
53
|
+
)
|
|
54
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { useLanguage } from 'ordering-components-admin-external'
|
|
3
|
+
import { useTheme } from 'styled-components'
|
|
4
|
+
import { Input } from '../../../styles'
|
|
5
|
+
import {
|
|
6
|
+
InstagramGeneralContainer,
|
|
7
|
+
Step,
|
|
8
|
+
CopyInputWrapper
|
|
9
|
+
} from './styles'
|
|
10
|
+
|
|
11
|
+
export const GeneralInstagram = ({ businessSlug }) => {
|
|
12
|
+
const [, t] = useLanguage()
|
|
13
|
+
const theme = useTheme()
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<InstagramGeneralContainer>
|
|
17
|
+
<p>{t('BUSINESS_INSTAGRAM_GENERAL_DESC', 'Lorem ipsum dolor sit amet consectetur. Vitae odio aliquam adipiscing vitae. Nulla sed integer congue gravida lobortis tristique condimentum fusce tincidunt.')}</p>
|
|
18
|
+
<Step>
|
|
19
|
+
<h3>{t('STEP', 'Step')} 1</h3>
|
|
20
|
+
<p
|
|
21
|
+
dangerouslySetInnerHTML={{ __html: t('BUSINESS_INSTAGRAM_GENERAL_STEP2_DESC', 'Open your Instagram profile and tap on <strong>Edit Profile.<strong>') }}
|
|
22
|
+
/>
|
|
23
|
+
<img src={theme.images.salesChannels.instagramGeneralStep2} alt='' />
|
|
24
|
+
</Step>
|
|
25
|
+
<Step>
|
|
26
|
+
<h3>{t('STEP', 'Step')} 2</h3>
|
|
27
|
+
<p>{t('BUSINESS_INSTAGRAM_GENERAL_STEP3_DESC', 'On the Edit Profile screen, click on the Links option.')}</p>
|
|
28
|
+
<img src={theme.images.salesChannels.instagramGeneralStep3} alt='' />
|
|
29
|
+
</Step>
|
|
30
|
+
<Step>
|
|
31
|
+
<h3>{t('STEP', 'Step')} 3</h3>
|
|
32
|
+
<p>{t('BUSINESS_INSTAGRAM_GENERAL_STEP4_DESC', 'Add your business link, or if you already have a link, you can edit it; click on that option.')}</p>
|
|
33
|
+
<img src={theme.images.salesChannels.instagramGeneralStep4} alt='' />
|
|
34
|
+
</Step>
|
|
35
|
+
<Step>
|
|
36
|
+
<h3>{t('STEP', 'Step')} 4</h3>
|
|
37
|
+
<p>{t('BUSINESS_INSTAGRAM_GENERAL_STEP5_DESC', 'Just add this link to the website field:')}</p>
|
|
38
|
+
<CopyInputWrapper isBottom>
|
|
39
|
+
<Input
|
|
40
|
+
defaultValue='https://yourbusinessname.com/store/storename'
|
|
41
|
+
disabled
|
|
42
|
+
/>
|
|
43
|
+
</CopyInputWrapper>
|
|
44
|
+
<img src={theme.images.salesChannels.instagramGeneralStep5} alt='' />
|
|
45
|
+
</Step>
|
|
46
|
+
<Step>
|
|
47
|
+
<h3>{t('STEP', 'Step')} 5</h3>
|
|
48
|
+
<p>{t('BUSINESS_INSTAGRAM_GENERAL_STEP6_DESC', 'Done; it will appear this way on your Instagram account.')}</p>
|
|
49
|
+
<img src={theme.images.salesChannels.instagramGeneralStep6} alt='' />
|
|
50
|
+
</Step>
|
|
51
|
+
</InstagramGeneralContainer>
|
|
52
|
+
)
|
|
53
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import React, { useEffect, useState } from 'react'
|
|
2
|
+
import { useWindowSize } from '../../../hooks/useWindowSize'
|
|
3
|
+
import { useLanguage } from 'ordering-components-admin-external'
|
|
4
|
+
import { IconButton } from '../../../styles'
|
|
5
|
+
import { XLg } from 'react-bootstrap-icons'
|
|
6
|
+
import { GeneralInstagram } from './GeneralInstagram'
|
|
7
|
+
import { AdvancedInstagram } from './AdvancedInstagram'
|
|
8
|
+
import {
|
|
9
|
+
Container,
|
|
10
|
+
Header,
|
|
11
|
+
LeftHeader,
|
|
12
|
+
Tabs,
|
|
13
|
+
Tab
|
|
14
|
+
} from './styles'
|
|
15
|
+
|
|
16
|
+
export const BusinessSalesInstagram = (props) => {
|
|
17
|
+
const { onClose, socialItem, businessSlug } = props
|
|
18
|
+
|
|
19
|
+
const { width } = useWindowSize()
|
|
20
|
+
const [, t] = useLanguage()
|
|
21
|
+
|
|
22
|
+
const [isMenuOpen, setIsMenuOpen] = useState(false)
|
|
23
|
+
const [selectedTab, setSelectedTab] = useState('general')
|
|
24
|
+
|
|
25
|
+
const tabList = [
|
|
26
|
+
{ key: 'general', title: t('GENERAL', 'General') },
|
|
27
|
+
{ key: 'advanced', title: t('ADVANCED', 'Advanced') }
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
const actionSidebar = (value) => {
|
|
31
|
+
if (!value) {
|
|
32
|
+
onClose && onClose()
|
|
33
|
+
}
|
|
34
|
+
setIsMenuOpen(value)
|
|
35
|
+
document.getElementById('businessSocial').style.width = value
|
|
36
|
+
? width > 1000 ? '500px' : '100%'
|
|
37
|
+
: '0'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
useEffect(() => {
|
|
41
|
+
if (isMenuOpen) {
|
|
42
|
+
if (width < 1000) {
|
|
43
|
+
document.getElementById('businessSocial').style.width = '100%'
|
|
44
|
+
} else {
|
|
45
|
+
document.getElementById('businessSocial').style.width = '500px'
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}, [width])
|
|
49
|
+
|
|
50
|
+
useEffect(() => {
|
|
51
|
+
if (!open) return
|
|
52
|
+
actionSidebar(true)
|
|
53
|
+
}, [open])
|
|
54
|
+
|
|
55
|
+
return (
|
|
56
|
+
<Container id='businessSocial'>
|
|
57
|
+
<Header>
|
|
58
|
+
<LeftHeader>
|
|
59
|
+
<img src={socialItem.icon} alt='' />
|
|
60
|
+
<h2>{socialItem.name}</h2>
|
|
61
|
+
</LeftHeader>
|
|
62
|
+
<IconButton onClick={onClose} color='black'>
|
|
63
|
+
<XLg />
|
|
64
|
+
</IconButton>
|
|
65
|
+
</Header>
|
|
66
|
+
<Tabs>
|
|
67
|
+
{tabList.map(item => (
|
|
68
|
+
<Tab
|
|
69
|
+
key={item.key}
|
|
70
|
+
onClick={() => setSelectedTab(item.key)}
|
|
71
|
+
active={selectedTab === item.key}
|
|
72
|
+
>
|
|
73
|
+
{item.title}
|
|
74
|
+
</Tab>
|
|
75
|
+
))}
|
|
76
|
+
</Tabs>
|
|
77
|
+
{selectedTab === 'general' && <GeneralInstagram businessSlug={businessSlug} />}
|
|
78
|
+
{selectedTab === 'advanced' && <AdvancedInstagram businessSlug={businessSlug} />}
|
|
79
|
+
</Container>
|
|
80
|
+
)
|
|
81
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import styled, { css } from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const Container = styled.div`
|
|
4
|
+
padding: 20px;
|
|
5
|
+
overflow: auto;
|
|
6
|
+
transition: 0.3s;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
|
|
11
|
+
@media (min-width: 1000px) {
|
|
12
|
+
width: 0;
|
|
13
|
+
${props => props.theme?.rtl ? css`
|
|
14
|
+
border-right: 1px solid ${props => props.theme.colors.borderColor};
|
|
15
|
+
` : css`
|
|
16
|
+
border-left: 1px solid ${props => props.theme.colors.borderColor};
|
|
17
|
+
`}
|
|
18
|
+
}
|
|
19
|
+
`
|
|
20
|
+
|
|
21
|
+
export const Header = styled.div`
|
|
22
|
+
display: flex;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
margin-bottom: 25px;
|
|
25
|
+
`
|
|
26
|
+
|
|
27
|
+
export const LeftHeader = styled.div`
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
|
|
31
|
+
img {
|
|
32
|
+
width: 32px;
|
|
33
|
+
height: 32px;
|
|
34
|
+
object-fit: cover;
|
|
35
|
+
margin-right: 18px;
|
|
36
|
+
${props => props.theme.rtl && css`
|
|
37
|
+
margin-left: 18px;
|
|
38
|
+
margin-right: 0;
|
|
39
|
+
`}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
h2 {
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
font-size: 20px;
|
|
45
|
+
line-height: 30px;
|
|
46
|
+
margin: 0;
|
|
47
|
+
}
|
|
48
|
+
`
|
|
49
|
+
|
|
50
|
+
export const Tabs = styled.div`
|
|
51
|
+
display: flex;
|
|
52
|
+
margin-bottom: 24px;
|
|
53
|
+
border-bottom: 1px solid ${props => props.theme.colors.borderColor};
|
|
54
|
+
`
|
|
55
|
+
|
|
56
|
+
export const Tab = styled.div`
|
|
57
|
+
padding-bottom: 13px;
|
|
58
|
+
margin-right: 30px;
|
|
59
|
+
font-weight: 400;
|
|
60
|
+
font-size: 14px;
|
|
61
|
+
line-height: 21px;
|
|
62
|
+
color: ${props => props.theme.colors.lightGray};
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
${props => props.theme.rtl && css`
|
|
65
|
+
margin-left: 30px;
|
|
66
|
+
margin-right: 0;
|
|
67
|
+
`}
|
|
68
|
+
|
|
69
|
+
${({ active }) => active && css`
|
|
70
|
+
font-weight: 600;
|
|
71
|
+
color: ${props => props.theme.colors.headingColor};
|
|
72
|
+
border-bottom: 1px solid ${props => props.theme.colors.headingColor};
|
|
73
|
+
`}
|
|
74
|
+
`
|
|
75
|
+
|
|
76
|
+
export const InstagramGeneralContainer = styled.div`
|
|
77
|
+
> p {
|
|
78
|
+
font-weight: 400;
|
|
79
|
+
font-size: 14px;
|
|
80
|
+
line-height: 24px;
|
|
81
|
+
color: ${props => props.theme.colors.lightGray};
|
|
82
|
+
margin-bottom: 23px;
|
|
83
|
+
margin-top: 0;
|
|
84
|
+
}
|
|
85
|
+
`
|
|
86
|
+
|
|
87
|
+
export const Step = styled.div`
|
|
88
|
+
margin-bottom: 27px;
|
|
89
|
+
h3 {
|
|
90
|
+
font-weight: 600;
|
|
91
|
+
font-size: 16px;
|
|
92
|
+
line-height: 24px;
|
|
93
|
+
margin-top: 0;
|
|
94
|
+
margin-bottom: 12px;
|
|
95
|
+
}
|
|
96
|
+
p {
|
|
97
|
+
font-weight: 400;
|
|
98
|
+
font-size: 14px;
|
|
99
|
+
line-height: 24px;
|
|
100
|
+
margin-top: 0;
|
|
101
|
+
margin-bottom: 20px;
|
|
102
|
+
color: ${props => props.theme.colors.lightGray};
|
|
103
|
+
}
|
|
104
|
+
> img {
|
|
105
|
+
width: 100%;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (min-width: 576px) {
|
|
109
|
+
> img {
|
|
110
|
+
display: block;
|
|
111
|
+
width: 90%;
|
|
112
|
+
margin-left: auto;
|
|
113
|
+
margin-right: auto;
|
|
114
|
+
margin-bottom: 24px;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
`
|
|
118
|
+
|
|
119
|
+
export const CopyInputWrapper = styled.div`
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
input {
|
|
123
|
+
flex: 1;
|
|
124
|
+
height: 44px;
|
|
125
|
+
}
|
|
126
|
+
button {
|
|
127
|
+
margin-left: 15px;
|
|
128
|
+
${props => props.theme.rtl && css`
|
|
129
|
+
margin-left: 0;
|
|
130
|
+
margin-right: 15px;
|
|
131
|
+
`}
|
|
132
|
+
}
|
|
133
|
+
${({ isBottom }) => isBottom && css`
|
|
134
|
+
margin-bottom: 24px;
|
|
135
|
+
`}
|
|
136
|
+
`
|
|
137
|
+
|
|
138
|
+
export const InstagramAdvancedContainer = styled(InstagramGeneralContainer)``
|
|
139
|
+
|
|
140
|
+
export const ImageWrapper = styled.div`
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
justify-content: space-between;
|
|
144
|
+
flex-direction: column;
|
|
145
|
+
img {
|
|
146
|
+
width: 100%;
|
|
147
|
+
margin-bottom: 15px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@media (min-width: 576px) {
|
|
151
|
+
flex-direction: row;
|
|
152
|
+
img {
|
|
153
|
+
width: 48%;
|
|
154
|
+
margin-bottom: 0px;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
`
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import React, { useEffect, useState } from 'react'
|
|
2
|
+
import { useLanguage } from 'ordering-components-admin-external'
|
|
3
|
+
import { useWindowSize } from '../../../hooks/useWindowSize'
|
|
4
|
+
import { IconButton } from '../../../styles'
|
|
5
|
+
import { XLg } from 'react-bootstrap-icons'
|
|
6
|
+
import { useTheme } from 'styled-components'
|
|
7
|
+
import {
|
|
8
|
+
Container,
|
|
9
|
+
Header,
|
|
10
|
+
LeftHeader,
|
|
11
|
+
Step,
|
|
12
|
+
LinkText
|
|
13
|
+
} from './styles'
|
|
14
|
+
|
|
15
|
+
export const BusinessSalesTiktok = (props) => {
|
|
16
|
+
const { onClose, socialItem } = props
|
|
17
|
+
|
|
18
|
+
const { width } = useWindowSize()
|
|
19
|
+
const [, t] = useLanguage()
|
|
20
|
+
const theme = useTheme()
|
|
21
|
+
|
|
22
|
+
const [isMenuOpen, setIsMenuOpen] = useState(false)
|
|
23
|
+
|
|
24
|
+
const actionSidebar = (value) => {
|
|
25
|
+
if (!value) {
|
|
26
|
+
onClose && onClose()
|
|
27
|
+
}
|
|
28
|
+
setIsMenuOpen(value)
|
|
29
|
+
document.getElementById('businessSocial').style.width = value
|
|
30
|
+
? width > 1000 ? '500px' : '100%'
|
|
31
|
+
: '0'
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
useEffect(() => {
|
|
35
|
+
if (isMenuOpen) {
|
|
36
|
+
if (width < 1000) {
|
|
37
|
+
document.getElementById('businessSocial').style.width = '100%'
|
|
38
|
+
} else {
|
|
39
|
+
document.getElementById('businessSocial').style.width = '500px'
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}, [width])
|
|
43
|
+
|
|
44
|
+
useEffect(() => {
|
|
45
|
+
if (!open) return
|
|
46
|
+
actionSidebar(true)
|
|
47
|
+
}, [open])
|
|
48
|
+
|
|
49
|
+
return (
|
|
50
|
+
<Container id='businessSocial'>
|
|
51
|
+
<Header>
|
|
52
|
+
<LeftHeader>
|
|
53
|
+
<img src={socialItem.icon} alt='' />
|
|
54
|
+
<h2>{socialItem.name}</h2>
|
|
55
|
+
</LeftHeader>
|
|
56
|
+
<IconButton onClick={onClose} color='black'>
|
|
57
|
+
<XLg />
|
|
58
|
+
</IconButton>
|
|
59
|
+
</Header>
|
|
60
|
+
<p>{t('BUSINESS_TIKTOK_DESC', 'On TikTok, we must create a catalog; for this, we will click on the button: Add Catalog. A pop-up will appear that we will fill in with the information you request.')}</p>
|
|
61
|
+
<LinkText>
|
|
62
|
+
<a href='https://ads.tiktok.com/i18n/home' target='_blank' rel='noopener noreferrer'>https://ads.tiktok.com/i18n/home</a>
|
|
63
|
+
</LinkText>
|
|
64
|
+
<Step>
|
|
65
|
+
<h3>{t('STEP', 'Step')} 1</h3>
|
|
66
|
+
<p>{t('BUSINESS_TIKTOK_STEP1_DESC', 'Please put the name of the Catalog that we are creating.')}</p>
|
|
67
|
+
<img src={theme.images.salesChannels.tiktokStep1} alt='' />
|
|
68
|
+
</Step>
|
|
69
|
+
<Step>
|
|
70
|
+
<h3>{t('STEP', 'Step')} 2</h3>
|
|
71
|
+
<p>{t('BUSINESS_TIKTOK_STEP2_DESC', 'Then click on the Business Center account. If you already have one created, select the one you need; if not, click Create.')}</p>
|
|
72
|
+
<img src={theme.images.salesChannels.tiktokStep2} alt='' />
|
|
73
|
+
</Step>
|
|
74
|
+
<Step>
|
|
75
|
+
<h3>{t('STEP', 'Step')} 3</h3>
|
|
76
|
+
<p>{t('BUSINESS_TIKTOK_STEP3_DESC', 'Write the name of your Business Center, select the Time Zone, and click the Create button.')}</p>
|
|
77
|
+
<img src={theme.images.salesChannels.tiktokStep3} alt='' />
|
|
78
|
+
</Step>
|
|
79
|
+
<Step>
|
|
80
|
+
<h3>{t('STEP', 'Step')} 4</h3>
|
|
81
|
+
<p>{t('BUSINESS_TIKTOK_STEP4_DESC', 'Then click again on the Business Center field, and the one you just created will appear, select it.')}</p>
|
|
82
|
+
<img src={theme.images.salesChannels.tiktokStep4} alt='' />
|
|
83
|
+
</Step>
|
|
84
|
+
<Step>
|
|
85
|
+
<h3>{t('STEP', 'Step')} 5</h3>
|
|
86
|
+
<p>{t('BUSINESS_TIKTOK_STEP5_DESC', 'Click on the Industry field and select the option that appears, in this case, E-commerce.')}</p>
|
|
87
|
+
<img src={theme.images.salesChannels.tiktokStep5} alt='' />
|
|
88
|
+
</Step>
|
|
89
|
+
<Step>
|
|
90
|
+
<h3>{t('STEP', 'Step')} 6</h3>
|
|
91
|
+
<p>{t('BUSINESS_TIKTOK_STEP6_DESC', 'Select the Default location and Default Currency according to your need, and click the Create button.')}</p>
|
|
92
|
+
<img src={theme.images.salesChannels.tiktokStep6} alt='' />
|
|
93
|
+
</Step>
|
|
94
|
+
<Step>
|
|
95
|
+
<h3>{t('STEP', 'Step')} 7</h3>
|
|
96
|
+
<p>{t('BUSINESS_TIKTOK_STEP7_DESC', 'TikTok will show you a brief tour of your Dashboard so you can get to know it.')}</p>
|
|
97
|
+
<img src={theme.images.salesChannels.tiktokStep7} alt='' />
|
|
98
|
+
</Step>
|
|
99
|
+
<Step>
|
|
100
|
+
<h3>{t('STEP', 'Step')} 8</h3>
|
|
101
|
+
<p>{t('BUSINESS_TIKTOK_STEP8_DESC', 'After watching the tutorial, TikTok will enable your Dashboard to start uploading the things you need, and the first thing you\'ll do is add products. Just click on the Products option in the Sidebar and click on the Add Products button.')}</p>
|
|
102
|
+
<img src={theme.images.salesChannels.tiktokStep8} alt='' />
|
|
103
|
+
</Step>
|
|
104
|
+
<Step>
|
|
105
|
+
<h3>{t('STEP', 'Step')} 9</h3>
|
|
106
|
+
<p>{t('BUSINESS_TIKTOK_STEP9_DESC', 'Select the option you like the most to upload your products; when you choose it, click Next.')}</p>
|
|
107
|
+
<img src={theme.images.salesChannels.tiktokStep9} alt='' />
|
|
108
|
+
</Step>
|
|
109
|
+
<Step>
|
|
110
|
+
<h3>{t('STEP', 'Step')} 10</h3>
|
|
111
|
+
<p>{t('BUSINESS_TIKTOK_STEP10_DESC', 'Fill in the requested fields; click on the Import button when ready.')}</p>
|
|
112
|
+
<img src={theme.images.salesChannels.tiktokStep10} alt='' />
|
|
113
|
+
</Step>
|
|
114
|
+
</Container>
|
|
115
|
+
)
|
|
116
|
+
}
|