ordering-ui-admin-external 1.14.3 → 1.15.1
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.e2a58dcc95d6a983dfc0.js → ordering-ui-admin.7c0f4e22698e5dbd9b25.js} +2 -2
- package/_modules/components/BusinessIntelligence/BusinessReviewDetails/index.js +5 -5
- package/_modules/components/BusinessIntelligence/BusinessReviewList/index.js +29 -4
- package/_modules/components/BusinessIntelligence/InvoiceBusinessManager/index.js +16 -1
- package/_modules/components/BusinessIntelligence/InvoiceDriverManager/index.js +16 -1
- package/_modules/components/BusinessIntelligence/InvoiceManager/index.js +14 -1
- package/_modules/components/BusinessIntelligence/InvoiceOrdertype/styles.js +1 -1
- package/_modules/components/BusinessIntelligence/ProductReviewDetails/index.js +4 -3
- package/_modules/components/BusinessIntelligence/Reports/index.js +14 -1
- package/_modules/components/BusinessIntelligence/ReviewProductsListing/index.js +52 -16
- package/_modules/components/BusinessIntelligence/ReviewsListing/index.js +32 -4
- package/_modules/components/BusinessIntelligence/UserReviewDetails/index.js +4 -3
- package/_modules/components/BusinessIntelligence/UsersReviewList/index.js +35 -10
- package/_modules/components/CartRecovery/RecoveryActionDetail/index.js +21 -2
- package/_modules/components/CartRecovery/RecoveryActionListing/index.js +22 -2
- package/_modules/components/Delivery/DeliveryUsersListing/index.js +2 -0
- package/_modules/components/Delivery/DriversCompaniesListing/index.js +36 -13
- package/_modules/components/Delivery/DriversCompanyDetailsForm/index.js +31 -6
- package/_modules/components/Delivery/DriversGroupDetails/index.js +29 -2
- package/_modules/components/Delivery/DriversGroupLogistics/index.js +16 -2
- package/_modules/components/Delivery/DriversGroupsListing/index.js +28 -11
- package/_modules/components/Delivery/UserDetails/index.js +24 -1
- package/_modules/components/Loyalty/GiftCardDetail/styles.js +68 -0
- package/_modules/components/Loyalty/GiftCards/index.js +23 -2
- package/_modules/components/Loyalty/PointsWalletBusinessList/index.js +26 -1
- package/_modules/components/Loyalty/PointsWalletLevels/index.js +22 -1
- package/_modules/components/Loyalty/RewardsPrograms/index.js +34 -4
- package/_modules/components/Loyalty/Wallet/index.js +20 -1
- package/_modules/components/Marketing/AdBannersListing/index.js +24 -5
- package/_modules/components/Marketing/BannerImageDetails/index.js +2 -1
- package/_modules/components/Marketing/CampaignDetail/index.js +19 -1
- package/_modules/components/Marketing/CampaignEmail/styles.js +5 -3
- package/_modules/components/Marketing/CampaignListing/index.js +19 -0
- package/_modules/components/Marketing/CampaignNotification/styles.js +5 -3
- package/_modules/components/Marketing/CampaignSMS/styles.js +5 -3
- package/_modules/components/Marketing/EnterprisePromotionGeneralDetails/index.js +2 -1
- package/_modules/components/Marketing/EnterprisePromotionListing/index.js +24 -4
- package/_modules/components/Marketing/PageBanner/index.js +27 -3
- package/_modules/components/Messages/MessagesListing/index.js +18 -1
- package/_modules/components/MyProducts/AdvancedSettings/FontStyleGroup.js +85 -0
- package/_modules/components/MyProducts/AdvancedSettings/OrderType.js +45 -0
- package/_modules/components/MyProducts/AdvancedSettings/SettingComponent.js +91 -0
- package/_modules/components/MyProducts/AdvancedSettings/index.js +626 -0
- package/_modules/components/MyProducts/AdvancedSettings/styles.js +146 -0
- package/_modules/components/MyProducts/AppLayout/index.js +9 -1
- package/_modules/components/MyProducts/AppLayout/styles.js +20 -3
- package/_modules/components/MyProducts/CallCenterApp/index.js +1 -1
- package/_modules/components/MyProducts/CustomerApp/index.js +2 -2
- package/_modules/components/MyProducts/DriverApp/index.js +2 -2
- package/_modules/components/MyProducts/KioskApp/index.js +1 -1
- package/_modules/components/MyProducts/OrderingWebsite/index.js +37 -6
- package/_modules/components/MyProducts/OrderingWebsite/styles.js +39 -5
- package/_modules/components/MyProducts/PosApp/index.js +1 -1
- package/_modules/components/MyProducts/StoreApp/index.js +2 -2
- package/_modules/components/OrderingProducts/OrderingProductDetails/index.js +21 -1
- package/_modules/components/OrderingProducts/OrderingProductsListing/index.js +18 -1
- package/_modules/components/Orders/DeliveriesManager/index.js +0 -1
- package/_modules/components/Orders/Messages/index.js +32 -29
- package/_modules/components/Orders/OrderDetails/index.js +38 -22
- package/_modules/components/Orders/OrderDetailsHeader/index.js +2 -3
- package/_modules/components/Orders/OrdersContentHeader/index.js +2 -2
- package/_modules/components/Orders/OrdersFilterGroup/index.js +112 -9
- package/_modules/components/Orders/OrdersFilterGroup/styles.js +11 -3
- package/_modules/components/Orders/OrdersManager/index.js +0 -1
- package/_modules/components/Settings/CountriesList/index.js +27 -4
- package/_modules/components/Settings/Deliverect/index.js +23 -2
- package/_modules/components/Settings/DoordashConnect/index.js +23 -2
- package/_modules/components/Settings/DropdownOptionList/index.js +27 -4
- package/_modules/components/Settings/IntegrationListing/index.js +3 -3
- package/_modules/components/Settings/ItsaCheckmate/index.js +23 -2
- package/_modules/components/Settings/LalamoveConnect/index.js +23 -2
- package/_modules/components/Settings/PickerExpress/index.js +23 -2
- package/_modules/components/Settings/PlaceListing/index.js +40 -4
- package/_modules/components/Settings/Settings/index.js +86 -45
- package/_modules/components/Settings/SettingsDetail/index.js +14 -1
- package/_modules/components/Settings/SitesAuthSettings/index.js +17 -1
- package/_modules/components/SidebarMenu/index.js +0 -1
- package/_modules/components/Stores/BusinessAdd/BusinessDetails/index.js +4 -9
- package/_modules/components/Stores/BusinessAdd/BusinessDetails/styles.js +3 -1
- package/_modules/components/Stores/BusinessAdd/DeliveryZone/index.js +13 -4
- package/_modules/components/Stores/BusinessAdd/DeliveryZone/styles.js +16 -10
- package/_modules/components/Stores/BusinessAdd/PaymentMethods/index.js +11 -3
- package/_modules/components/Stores/BusinessAdd/PaymentMethods/styles.js +3 -1
- package/_modules/components/Stores/BusinessAdd/ReceiveOrders/index.js +17 -6
- package/_modules/components/Stores/BusinessAdd/ReceiveOrders/styles.js +3 -1
- package/_modules/components/Stores/BusinessAdd/index.js +38 -8
- package/_modules/components/Stores/BusinessAdd/styles.js +8 -4
- package/_modules/components/Stores/BusinessAddStore/index.js +1 -1
- package/_modules/components/Stores/BusinessBrandListing/index.js +37 -4
- package/_modules/components/Stores/BusinessDeliveryPickupMore/index.js +20 -1
- package/_modules/components/Stores/BusinessDeliveryZoneDetails/index.js +22 -1
- package/_modules/components/Stores/BusinessDeliveryZoneList/index.js +32 -4
- package/_modules/components/Stores/BusinessDetail/index.js +18 -1
- package/_modules/components/Stores/BusinessDetails/index.js +17 -1
- package/_modules/components/Stores/BusinessFrontLayout/index.js +8 -1
- package/_modules/components/Stores/BusinessFrontLayout/styles.js +5 -3
- package/_modules/components/Stores/BusinessMenu/index.js +58 -7
- package/_modules/components/Stores/BusinessMenuOptions/index.js +24 -3
- package/_modules/components/Stores/BusinessOrderingChannels/index.js +18 -2
- package/_modules/components/Stores/BusinessPaymentMethods/index.js +26 -2
- package/_modules/components/Stores/BusinessPlaceGroupList/index.js +183 -0
- package/_modules/components/Stores/BusinessPlaceGroupList/styles.js +66 -0
- package/_modules/components/Stores/BusinessProductsCategoyDetails/index.js +21 -1
- package/_modules/components/Stores/BusinessProductsListing/index.js +74 -22
- package/_modules/components/Stores/BusinessPromotionGeneralForm/index.js +2 -2
- package/_modules/components/Stores/BusinessSharedMenuProducts/index.js +29 -2
- package/_modules/components/Stores/BusinessSync/index.js +16 -1
- package/_modules/components/Stores/BusinessTypes/index.js +27 -4
- package/_modules/components/Stores/BusinessWalletsList/index.js +24 -1
- package/_modules/components/Stores/BusinessesListing/index.js +9 -1
- package/_modules/components/Stores/ImportersButton/index.js +19 -6
- package/_modules/components/Stores/PaymentOption/index.js +29 -9
- package/_modules/components/Stores/PaymentOptionMethods/index.js +23 -3
- package/_modules/components/Stores/PaymentOptionPaypal/index.js +23 -3
- package/_modules/components/Stores/PaymentOptionSquare/index.js +23 -3
- package/_modules/components/Stores/PaymentOptionStripeDirect/index.js +23 -3
- package/_modules/components/Stores/PaymethodOptionPaypalExpress/index.js +23 -3
- package/_modules/components/Stores/PaymethodOptionStripeConnect/index.js +23 -3
- package/_modules/components/Stores/PaymethodOptionStripeRedirect/index.js +23 -3
- package/_modules/components/Stores/ProductDetails/index.js +18 -1
- package/_modules/components/Stores/ProductExtras/index.js +25 -2
- package/_modules/components/Stores/ProductIngredient/index.js +23 -1
- package/_modules/components/Stores/ProductMainDetails/index.js +18 -1
- package/_modules/components/Stores/ProductTagsList/index.js +28 -2
- package/_modules/components/Users/CustomerCashWallet/index.js +22 -2
- package/_modules/components/Users/CustomerDetails/index.js +19 -1
- package/_modules/components/Users/CustomerPointsWallet/index.js +22 -2
- package/_modules/components/Users/CustomersListing/index.js +8 -3
- package/_modules/components/Users/ProfessionalDetail/index.js +25 -1
- package/_modules/components/Users/ProfessionalListing/index.js +8 -3
- package/_modules/components/Users/UserActiveStateFilter/index.js +18 -4
- package/_modules/components/Users/UserDetails/index.js +27 -1
- package/_modules/components/Users/UsersListing/index.js +8 -3
- package/package.json +2 -2
- package/src/components/BusinessIntelligence/BusinessReviewDetails/index.js +4 -4
- package/src/components/BusinessIntelligence/BusinessReviewList/index.js +29 -6
- package/src/components/BusinessIntelligence/InvoiceBusinessManager/index.js +17 -1
- package/src/components/BusinessIntelligence/InvoiceDriverManager/index.js +17 -1
- package/src/components/BusinessIntelligence/InvoiceManager/index.js +16 -2
- package/src/components/BusinessIntelligence/InvoiceOrdertype/styles.js +1 -0
- package/src/components/BusinessIntelligence/ProductReviewDetails/index.js +4 -4
- package/src/components/BusinessIntelligence/Reports/index.js +16 -2
- package/src/components/BusinessIntelligence/ReviewProductsListing/index.js +34 -6
- package/src/components/BusinessIntelligence/ReviewsListing/index.js +31 -5
- package/src/components/BusinessIntelligence/UserReviewDetails/index.js +4 -4
- package/src/components/BusinessIntelligence/UsersReviewList/index.js +32 -11
- package/src/components/CartRecovery/RecoveryActionDetail/index.js +19 -1
- package/src/components/CartRecovery/RecoveryActionListing/index.js +21 -3
- package/src/components/Delivery/DeliveryUsersListing/index.js +3 -1
- package/src/components/Delivery/DriversCompaniesListing/index.js +27 -9
- package/src/components/Delivery/DriversCompanyDetailsForm/index.js +37 -8
- package/src/components/Delivery/DriversGroupDetails/index.js +36 -4
- package/src/components/Delivery/DriversGroupLogistics/index.js +18 -2
- package/src/components/Delivery/DriversGroupsListing/index.js +20 -6
- package/src/components/Delivery/UserDetails/index.js +26 -1
- package/src/components/Loyalty/GiftCardDetail/styles.js +192 -0
- package/src/components/Loyalty/GiftCards/index.js +22 -2
- package/src/components/Loyalty/PointsWalletBusinessList/index.js +24 -1
- package/src/components/Loyalty/PointsWalletLevels/index.js +21 -1
- package/src/components/Loyalty/RewardsPrograms/index.js +30 -3
- package/src/components/Loyalty/Wallet/index.js +22 -1
- package/src/components/Marketing/AdBannersListing/index.js +25 -8
- package/src/components/Marketing/BannerImageDetails/index.js +2 -1
- package/src/components/Marketing/CampaignDetail/index.js +22 -1
- package/src/components/Marketing/CampaignEmail/styles.js +3 -0
- package/src/components/Marketing/CampaignListing/index.js +18 -1
- package/src/components/Marketing/CampaignNotification/styles.js +3 -0
- package/src/components/Marketing/CampaignSMS/styles.js +3 -0
- package/src/components/Marketing/EnterprisePromotionGeneralDetails/index.js +2 -1
- package/src/components/Marketing/EnterprisePromotionListing/index.js +19 -1
- package/src/components/Marketing/PageBanner/index.js +26 -3
- package/src/components/Messages/MessagesListing/index.js +17 -0
- package/src/components/MyProducts/AdvancedSettings/FontStyleGroup.js +64 -0
- package/src/components/MyProducts/AdvancedSettings/OrderType.js +40 -0
- package/src/components/MyProducts/AdvancedSettings/SettingComponent.js +104 -0
- package/src/components/MyProducts/AdvancedSettings/index.js +541 -0
- package/src/components/MyProducts/AdvancedSettings/styles.js +388 -0
- package/src/components/MyProducts/AppLayout/index.js +19 -2
- package/src/components/MyProducts/AppLayout/styles.js +65 -0
- package/src/components/MyProducts/CallCenterApp/index.js +1 -1
- package/src/components/MyProducts/CustomerApp/index.js +2 -2
- package/src/components/MyProducts/DriverApp/index.js +2 -2
- package/src/components/MyProducts/KioskApp/index.js +1 -1
- package/src/components/MyProducts/OrderingWebsite/index.js +309 -255
- package/src/components/MyProducts/OrderingWebsite/styles.js +99 -2
- package/src/components/MyProducts/PosApp/index.js +1 -1
- package/src/components/MyProducts/StoreApp/index.js +2 -2
- package/src/components/OrderingProducts/OrderingProductDetails/index.js +24 -2
- package/src/components/OrderingProducts/OrderingProductsListing/index.js +17 -1
- package/src/components/Orders/DeliveriesManager/index.js +0 -1
- package/src/components/Orders/Messages/index.js +31 -11
- package/src/components/Orders/OrderDetails/index.js +34 -20
- package/src/components/Orders/OrderDetailsHeader/index.js +2 -3
- package/src/components/Orders/OrdersContentHeader/index.js +1 -1
- package/src/components/Orders/OrdersFilterGroup/index.js +111 -13
- package/src/components/Orders/OrdersFilterGroup/styles.js +26 -0
- package/src/components/Orders/OrdersManager/index.js +0 -1
- package/src/components/Settings/CountriesList/index.js +26 -6
- package/src/components/Settings/Deliverect/index.js +26 -2
- package/src/components/Settings/DoordashConnect/index.js +26 -2
- package/src/components/Settings/DropdownOptionList/index.js +27 -6
- package/src/components/Settings/IntegrationListing/index.js +3 -3
- package/src/components/Settings/ItsaCheckmate/index.js +26 -2
- package/src/components/Settings/LalamoveConnect/index.js +26 -2
- package/src/components/Settings/PickerExpress/index.js +26 -2
- package/src/components/Settings/PlaceListing/index.js +38 -6
- package/src/components/Settings/Settings/index.js +79 -37
- package/src/components/Settings/SettingsDetail/index.js +15 -1
- package/src/components/Settings/SitesAuthSettings/index.js +18 -1
- package/src/components/SidebarMenu/index.js +0 -2
- package/src/components/Stores/BusinessAdd/BusinessDetails/index.js +1 -10
- package/src/components/Stores/BusinessAdd/BusinessDetails/styles.js +4 -0
- package/src/components/Stores/BusinessAdd/DeliveryZone/index.js +120 -109
- package/src/components/Stores/BusinessAdd/DeliveryZone/styles.js +22 -1
- package/src/components/Stores/BusinessAdd/PaymentMethods/index.js +8 -2
- package/src/components/Stores/BusinessAdd/PaymentMethods/styles.js +4 -0
- package/src/components/Stores/BusinessAdd/ReceiveOrders/index.js +11 -6
- package/src/components/Stores/BusinessAdd/ReceiveOrders/styles.js +4 -0
- package/src/components/Stores/BusinessAdd/index.js +47 -16
- package/src/components/Stores/BusinessAdd/styles.js +27 -1
- package/src/components/Stores/BusinessAddStore/index.js +1 -1
- package/src/components/Stores/BusinessBrandListing/index.js +37 -4
- package/src/components/Stores/BusinessDeliveryPickupMore/index.js +22 -1
- package/src/components/Stores/BusinessDeliveryZoneDetails/index.js +25 -2
- package/src/components/Stores/BusinessDeliveryZoneList/index.js +30 -3
- package/src/components/Stores/BusinessDetail/index.js +20 -1
- package/src/components/Stores/BusinessDetails/index.js +18 -1
- package/src/components/Stores/BusinessFrontLayout/index.js +13 -1
- package/src/components/Stores/BusinessFrontLayout/styles.js +11 -0
- package/src/components/Stores/BusinessMenu/index.js +56 -11
- package/src/components/Stores/BusinessMenuOptions/index.js +28 -3
- package/src/components/Stores/BusinessOrderingChannels/index.js +19 -2
- package/src/components/Stores/BusinessPaymentMethods/index.js +24 -2
- package/src/components/Stores/BusinessPlaceGroupList/index.js +193 -0
- package/src/components/Stores/BusinessPlaceGroupList/styles.js +143 -0
- package/src/components/Stores/BusinessProductsCategoyDetails/index.js +21 -1
- package/src/components/Stores/BusinessProductsListing/index.js +49 -8
- package/src/components/Stores/BusinessPromotionGeneralForm/index.js +2 -2
- package/src/components/Stores/BusinessSharedMenuProducts/index.js +29 -3
- package/src/components/Stores/BusinessSync/index.js +18 -2
- package/src/components/Stores/BusinessTypes/index.js +26 -4
- package/src/components/Stores/BusinessWalletsList/index.js +23 -1
- package/src/components/Stores/BusinessesListing/index.js +11 -2
- package/src/components/Stores/ImportersButton/index.js +24 -3
- package/src/components/Stores/PaymentOption/index.js +29 -8
- package/src/components/Stores/PaymentOptionMethods/index.js +25 -3
- package/src/components/Stores/PaymentOptionPaypal/index.js +25 -3
- package/src/components/Stores/PaymentOptionSquare/index.js +25 -3
- package/src/components/Stores/PaymentOptionStripeDirect/index.js +25 -3
- package/src/components/Stores/PaymethodOptionPaypalExpress/index.js +25 -3
- package/src/components/Stores/PaymethodOptionStripeConnect/index.js +25 -3
- package/src/components/Stores/PaymethodOptionStripeRedirect/index.js +25 -3
- package/src/components/Stores/ProductDetails/index.js +19 -1
- package/src/components/Stores/ProductExtras/index.js +23 -2
- package/src/components/Stores/ProductIngredient/index.js +23 -2
- package/src/components/Stores/ProductMainDetails/index.js +20 -2
- package/src/components/Stores/ProductTagsList/index.js +28 -3
- package/src/components/Users/CustomerCashWallet/index.js +25 -3
- package/src/components/Users/CustomerDetails/index.js +20 -1
- package/src/components/Users/CustomerPointsWallet/index.js +25 -3
- package/src/components/Users/CustomersListing/index.js +9 -4
- package/src/components/Users/ProfessionalDetail/index.js +27 -1
- package/src/components/Users/ProfessionalListing/index.js +9 -4
- package/src/components/Users/UserActiveStateFilter/index.js +16 -3
- package/src/components/Users/UserDetails/index.js +27 -1
- package/src/components/Users/UsersListing/index.js +9 -4
- package/template/pages/BusinessProductsList/index.js +1 -1
- /package/_bundles/{ordering-ui-admin.e2a58dcc95d6a983dfc0.js.LICENSE.txt → ordering-ui-admin.7c0f4e22698e5dbd9b25.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
import styled, { css } from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const Container = styled.div``
|
|
4
|
+
|
|
5
|
+
export const BoxLayout = styled.div`
|
|
6
|
+
margin-top: 30px;
|
|
7
|
+
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
|
|
8
|
+
border-radius: 7.6px;
|
|
9
|
+
padding: 25px 30px;
|
|
10
|
+
> div {
|
|
11
|
+
max-width: 653px;
|
|
12
|
+
}
|
|
13
|
+
h1, h2 {
|
|
14
|
+
font-weight: 600;
|
|
15
|
+
font-size: 16px;
|
|
16
|
+
line-height: 24px;
|
|
17
|
+
margin-top: 0;
|
|
18
|
+
margin-bottom: 20px;
|
|
19
|
+
}
|
|
20
|
+
> h1 {
|
|
21
|
+
margin-bottom: 30px;
|
|
22
|
+
}
|
|
23
|
+
h3 {
|
|
24
|
+
font-weight: 600;
|
|
25
|
+
font-size: 14px;
|
|
26
|
+
line-height: 21px;
|
|
27
|
+
margin-top: 0px;
|
|
28
|
+
margin-bottom: 20px;
|
|
29
|
+
}
|
|
30
|
+
`
|
|
31
|
+
|
|
32
|
+
export const HomePageWrapper = styled.div``
|
|
33
|
+
|
|
34
|
+
export const FormControlWithCheck = styled.div`
|
|
35
|
+
> p {
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
font-size: 14px;
|
|
38
|
+
line-height: 24px;
|
|
39
|
+
margin-top: 0;
|
|
40
|
+
margin-bottom: 17px;
|
|
41
|
+
}
|
|
42
|
+
`
|
|
43
|
+
|
|
44
|
+
export const HideCheckWrapper = styled.div`
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
width: fit-content;
|
|
49
|
+
svg {
|
|
50
|
+
font-size: 16px;
|
|
51
|
+
color: ${props => props.theme.colors.secundaryLight};
|
|
52
|
+
&.active {
|
|
53
|
+
color: ${props => props.theme.colors.primary};
|
|
54
|
+
}
|
|
55
|
+
margin-right: 15px;
|
|
56
|
+
${props => props.theme.rtl && css`
|
|
57
|
+
margin-left: 15px;
|
|
58
|
+
margin-right: 0px;
|
|
59
|
+
`}
|
|
60
|
+
}
|
|
61
|
+
span {
|
|
62
|
+
font-weight: 400;
|
|
63
|
+
font-size: 14px;
|
|
64
|
+
line-height: 24px;
|
|
65
|
+
user-select: none;
|
|
66
|
+
}
|
|
67
|
+
${({ isBottom }) => isBottom && css`
|
|
68
|
+
margin-bottom: 25px;
|
|
69
|
+
`}
|
|
70
|
+
`
|
|
71
|
+
|
|
72
|
+
export const ShadowWrapper = styled.div`
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
|
|
76
|
+
@media (min-width: 576px) {
|
|
77
|
+
flex-direction: row;
|
|
78
|
+
}
|
|
79
|
+
`
|
|
80
|
+
|
|
81
|
+
export const InnerShadowWrapper = styled.div``
|
|
82
|
+
|
|
83
|
+
export const DropShadowWrapper = styled.div`
|
|
84
|
+
margin-top: 15px;
|
|
85
|
+
/* @media (min-width: 576px) {
|
|
86
|
+
margin-top: 0;
|
|
87
|
+
margin-left: 35px;
|
|
88
|
+
${props => props.theme.rtl && css`
|
|
89
|
+
margin-left: 0px;
|
|
90
|
+
margin-right: 35px;
|
|
91
|
+
`}
|
|
92
|
+
} */
|
|
93
|
+
`
|
|
94
|
+
|
|
95
|
+
export const ShadowInfoWrapper = styled.div`
|
|
96
|
+
display: flex;
|
|
97
|
+
align-items: center;
|
|
98
|
+
|
|
99
|
+
svg {
|
|
100
|
+
font-size: 16px;
|
|
101
|
+
color: ${props => props.theme.colors.secundaryLight};
|
|
102
|
+
&.active {
|
|
103
|
+
color: ${props => props.theme.colors.primary};
|
|
104
|
+
}
|
|
105
|
+
margin-right: 7px;
|
|
106
|
+
${props => props.theme.rtl && css`
|
|
107
|
+
margin-left: 7px;
|
|
108
|
+
margin-right: 0px;
|
|
109
|
+
`}
|
|
110
|
+
}
|
|
111
|
+
span {
|
|
112
|
+
font-weight: 400;
|
|
113
|
+
font-size: 12px;
|
|
114
|
+
line-height: 18px;
|
|
115
|
+
}
|
|
116
|
+
`
|
|
117
|
+
|
|
118
|
+
export const InnerShadow = styled.div`
|
|
119
|
+
width: 27px;
|
|
120
|
+
height: 18px;
|
|
121
|
+
background: ${props => props.theme.colors.gray};
|
|
122
|
+
border: 1px solid ${props => props.theme.colors.borderColor};
|
|
123
|
+
border-radius: 1px;
|
|
124
|
+
margin-right: 13px;
|
|
125
|
+
${props => props.theme.rtl && css`
|
|
126
|
+
margin-right: 0px;
|
|
127
|
+
margin-left: 13px;
|
|
128
|
+
`}
|
|
129
|
+
`
|
|
130
|
+
|
|
131
|
+
export const DropShadow = styled.div`
|
|
132
|
+
width: 27px;
|
|
133
|
+
height: 18px;
|
|
134
|
+
border: 1px solid ${props => props.theme.colors.borderColor};
|
|
135
|
+
border-radius: 1px;
|
|
136
|
+
margin-right: 13px;
|
|
137
|
+
${props => props.theme.rtl && css`
|
|
138
|
+
margin-right: 0px;
|
|
139
|
+
margin-left: 13px;
|
|
140
|
+
`}
|
|
141
|
+
`
|
|
142
|
+
|
|
143
|
+
export const ShadowInputGroup = styled.div`
|
|
144
|
+
display: flex;
|
|
145
|
+
margin-top: 13px;
|
|
146
|
+
`
|
|
147
|
+
|
|
148
|
+
export const ShadowInputControl = styled.div`
|
|
149
|
+
display: flex;
|
|
150
|
+
margin-right: 15px;
|
|
151
|
+
${props => props.theme.rtl && css`
|
|
152
|
+
margin-right: 0px;
|
|
153
|
+
margin-left: 15px;
|
|
154
|
+
`}
|
|
155
|
+
span {
|
|
156
|
+
font-weight: 400;
|
|
157
|
+
font-size: 12px;
|
|
158
|
+
margin-right: 5px;
|
|
159
|
+
${props => props.theme.rtl && css`
|
|
160
|
+
margin-right: 0px;
|
|
161
|
+
margin-left: 5px;
|
|
162
|
+
`}
|
|
163
|
+
}
|
|
164
|
+
input {
|
|
165
|
+
border: none;
|
|
166
|
+
outline: none;
|
|
167
|
+
border-bottom: 1px solid ${props => props.theme.colors.gray};
|
|
168
|
+
width: 29px;
|
|
169
|
+
font-size: 12px;
|
|
170
|
+
text-align: center;
|
|
171
|
+
}
|
|
172
|
+
`
|
|
173
|
+
|
|
174
|
+
export const HeadingWrapper = styled.div`
|
|
175
|
+
margin-bottom: 40px;
|
|
176
|
+
`
|
|
177
|
+
|
|
178
|
+
export const BodyWrapper = styled.div``
|
|
179
|
+
|
|
180
|
+
export const FormControl = styled.div`
|
|
181
|
+
margin-bottom: 25px;
|
|
182
|
+
> label {
|
|
183
|
+
font-weight: 400;
|
|
184
|
+
font-size: 14px;
|
|
185
|
+
line-height: 24px;
|
|
186
|
+
margin-bottom: 10px;
|
|
187
|
+
}
|
|
188
|
+
input {
|
|
189
|
+
width: 100%;
|
|
190
|
+
height: 44px;
|
|
191
|
+
}
|
|
192
|
+
`
|
|
193
|
+
|
|
194
|
+
export const SelectWrapper = styled.div`
|
|
195
|
+
> div {
|
|
196
|
+
width: 100%;
|
|
197
|
+
border: none;
|
|
198
|
+
|
|
199
|
+
> div:first-child {
|
|
200
|
+
background-color: ${props => props.theme.colors.secundary};
|
|
201
|
+
height: 43px;
|
|
202
|
+
border: none;
|
|
203
|
+
border-radius: 7.6px;
|
|
204
|
+
font-weight: 400;
|
|
205
|
+
font-size: 14px;
|
|
206
|
+
line-height: 24px;
|
|
207
|
+
color: ${props => props.theme.colors.secundaryContrast};
|
|
208
|
+
}
|
|
209
|
+
.list {
|
|
210
|
+
background-color: ${props => props.theme.colors.secundary};
|
|
211
|
+
border: none;
|
|
212
|
+
|
|
213
|
+
.list-wrapper {
|
|
214
|
+
> div {
|
|
215
|
+
padding: 6px 10px;
|
|
216
|
+
&:hover {
|
|
217
|
+
background-color: #f2f5f7;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
`
|
|
224
|
+
|
|
225
|
+
export const Option = styled.div`
|
|
226
|
+
font-weight: 400;
|
|
227
|
+
font-size: 14px;
|
|
228
|
+
line-height: 24px;
|
|
229
|
+
color: ${props => props.theme.colors.secundaryContrast};
|
|
230
|
+
`
|
|
231
|
+
|
|
232
|
+
export const FontWeightListWrapper = styled.div`
|
|
233
|
+
&:last-child {
|
|
234
|
+
border-bottom: 1px solid ${props => props.theme.colors.borderColor};
|
|
235
|
+
}
|
|
236
|
+
`
|
|
237
|
+
|
|
238
|
+
export const FontWeightItem = styled.div`
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
padding: 12px 0;
|
|
242
|
+
border-top: 1px solid ${props => props.theme.colors.borderColor};
|
|
243
|
+
cursor: pointer;
|
|
244
|
+
|
|
245
|
+
svg {
|
|
246
|
+
font-size: 16px;
|
|
247
|
+
color: ${props => props.theme.colors.secundaryLight};
|
|
248
|
+
&.active {
|
|
249
|
+
color: ${props => props.theme.colors.primary};
|
|
250
|
+
}
|
|
251
|
+
margin-right: 20px;
|
|
252
|
+
${props => props.theme.rtl && css`
|
|
253
|
+
margin-left: 20px;
|
|
254
|
+
margin-right: 0px;
|
|
255
|
+
`}
|
|
256
|
+
}
|
|
257
|
+
span {
|
|
258
|
+
font-weight: 400;
|
|
259
|
+
font-size: 14px;
|
|
260
|
+
line-height: 24px;
|
|
261
|
+
}
|
|
262
|
+
`
|
|
263
|
+
|
|
264
|
+
export const ImageBoxContainer = styled.div`
|
|
265
|
+
width: 161px;
|
|
266
|
+
height: 161px;
|
|
267
|
+
${({ isBig }) => isBig && css`
|
|
268
|
+
width: 100%;
|
|
269
|
+
height: 190px;
|
|
270
|
+
`}
|
|
271
|
+
background: ${props => props.theme.colors.borderColor};
|
|
272
|
+
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
|
|
273
|
+
position: relative;
|
|
274
|
+
border-radius: 8px;
|
|
275
|
+
overflow: hidden;
|
|
276
|
+
cursor: -webkit-grab;
|
|
277
|
+
cursor: grab;
|
|
278
|
+
|
|
279
|
+
img,
|
|
280
|
+
div {
|
|
281
|
+
width: 100%;
|
|
282
|
+
border-radius: 8px;
|
|
283
|
+
height: 100%;
|
|
284
|
+
overflow: hidden;
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
img{
|
|
288
|
+
object-fit: contain;
|
|
289
|
+
}
|
|
290
|
+
`
|
|
291
|
+
|
|
292
|
+
export const UploadImageIconContainer = styled.div`
|
|
293
|
+
position: absolute;
|
|
294
|
+
top: 0px;
|
|
295
|
+
background: ${props => props.theme.colors.secundaryDarkContrast};
|
|
296
|
+
${({ bgimage }) => bgimage && css`
|
|
297
|
+
background: transparent;
|
|
298
|
+
svg, span {
|
|
299
|
+
color: ${props => props.theme.colors.white};
|
|
300
|
+
}
|
|
301
|
+
border: 1px dashed ${props => props.theme.colors.secundaryDarkContrast};
|
|
302
|
+
`}
|
|
303
|
+
${({ small }) => small ? css`
|
|
304
|
+
padding: 4px;
|
|
305
|
+
` : css`
|
|
306
|
+
padding: 8px;
|
|
307
|
+
`}
|
|
308
|
+
`
|
|
309
|
+
|
|
310
|
+
export const UploadImageIcon = styled.div`
|
|
311
|
+
display: flex;
|
|
312
|
+
justify-content: center;
|
|
313
|
+
align-items: center;
|
|
314
|
+
flex-direction: column;
|
|
315
|
+
color: ${props => props.theme.colors.disabled};
|
|
316
|
+
span {
|
|
317
|
+
margin-top: 14px;
|
|
318
|
+
font-size: 14px;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
svg {
|
|
322
|
+
width: 52px;
|
|
323
|
+
height: 45px;
|
|
324
|
+
}
|
|
325
|
+
`
|
|
326
|
+
|
|
327
|
+
export const ImgInfoWrapper = styled.div`
|
|
328
|
+
margin-top: 15px;
|
|
329
|
+
margin-bottom: 25px;
|
|
330
|
+
h4 {
|
|
331
|
+
font-size: 14px;
|
|
332
|
+
line-height: 24px;
|
|
333
|
+
font-weight: 400;
|
|
334
|
+
margin: 0px;
|
|
335
|
+
}
|
|
336
|
+
p {
|
|
337
|
+
font-size: 12px;
|
|
338
|
+
line-height: 18px;
|
|
339
|
+
margin-top: 2px;
|
|
340
|
+
margin-bottom: 0px;
|
|
341
|
+
color: ${props => props.theme.colors.secundaryContrast};
|
|
342
|
+
}
|
|
343
|
+
`
|
|
344
|
+
|
|
345
|
+
export const HomeImageFullScreenWrapper = styled.div`
|
|
346
|
+
display: flex;
|
|
347
|
+
align-items: center;
|
|
348
|
+
margin-bottom: 25px;
|
|
349
|
+
cursor: pointer;
|
|
350
|
+
width: fit-content;
|
|
351
|
+
svg {
|
|
352
|
+
font-size: 16px;
|
|
353
|
+
color: ${props => props.theme.colors.secundaryLight};
|
|
354
|
+
&.active {
|
|
355
|
+
color: ${props => props.theme.colors.primary};
|
|
356
|
+
}
|
|
357
|
+
margin-right: 20px;
|
|
358
|
+
${props => props.theme.rtl && css`
|
|
359
|
+
margin-left: 20px;
|
|
360
|
+
margin-right: 0px;
|
|
361
|
+
`}
|
|
362
|
+
}
|
|
363
|
+
span {
|
|
364
|
+
font-weight: 400;
|
|
365
|
+
font-size: 14px;
|
|
366
|
+
line-height: 24px;
|
|
367
|
+
}
|
|
368
|
+
`
|
|
369
|
+
|
|
370
|
+
export const ImageGroup = styled.div`
|
|
371
|
+
display: flex;
|
|
372
|
+
flex-direction: column;
|
|
373
|
+
@media (min-width: 576px) {
|
|
374
|
+
flex-direction: row;
|
|
375
|
+
> div:first-child {
|
|
376
|
+
margin-right: 30px;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
`
|
|
380
|
+
|
|
381
|
+
export const SocialShareContainer = styled.div``
|
|
382
|
+
|
|
383
|
+
export const ButtonWrapper = styled.div`
|
|
384
|
+
margin: 50px 0px 30px 0;
|
|
385
|
+
button {
|
|
386
|
+
height: 44px;
|
|
387
|
+
}
|
|
388
|
+
`
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
+
import { useLocation } from 'react-router-dom'
|
|
2
3
|
import { useLanguage } from 'ordering-components-admin-external'
|
|
3
4
|
import { useInfoShare } from '../../../contexts/InfoShareContext'
|
|
4
5
|
import { IconButton, Button } from '../../../styles'
|
|
5
|
-
import { List as MenuIcon } from 'react-bootstrap-icons'
|
|
6
|
+
import { List as MenuIcon, InfoCircle } from 'react-bootstrap-icons'
|
|
6
7
|
import {
|
|
7
8
|
Container,
|
|
8
9
|
HeaderTitleContainer,
|
|
@@ -12,13 +13,16 @@ import {
|
|
|
12
13
|
ImageWrapper,
|
|
13
14
|
DownloadLink,
|
|
14
15
|
ButtonWRapper,
|
|
15
|
-
DownLoadWrapper
|
|
16
|
+
DownLoadWrapper,
|
|
17
|
+
HeaderInfoWrapper,
|
|
18
|
+
InfoContent
|
|
16
19
|
} from './styles'
|
|
17
20
|
|
|
18
21
|
export const AppLayout = (props) => {
|
|
19
22
|
const { appInfo, isDriver } = props
|
|
20
23
|
const [, t] = useLanguage()
|
|
21
24
|
const [{ isCollapse }, { handleMenuCollapse }] = useInfoShare()
|
|
25
|
+
const location = useLocation()
|
|
22
26
|
|
|
23
27
|
const showMessage = (message) => {
|
|
24
28
|
window.Intercom && window.Intercom('showNewMessage', message)
|
|
@@ -36,6 +40,19 @@ export const AppLayout = (props) => {
|
|
|
36
40
|
</IconButton>
|
|
37
41
|
)}
|
|
38
42
|
<h1>{t('MY_PRODUCTS', 'My products')}</h1>
|
|
43
|
+
{(location.pathname === '/my-products/ordering-website' || location.pathname === '/my-products/customer-app') && (
|
|
44
|
+
<HeaderInfoWrapper>
|
|
45
|
+
<IconButton
|
|
46
|
+
color='primary'
|
|
47
|
+
>
|
|
48
|
+
<InfoCircle />
|
|
49
|
+
</IconButton>
|
|
50
|
+
<InfoContent>
|
|
51
|
+
{t('MY_PRODUCTS_INFO', 'Use the advanced configurations below to customize your products changing the images, colors, available options and others with a few clicks. If you have doubts, please contact our team here:')}
|
|
52
|
+
<a href='https://www.ordering.co/support' rel='noopener noreferrer' target='_blank'>https://www.ordering.co/support</a>
|
|
53
|
+
</InfoContent>
|
|
54
|
+
</HeaderInfoWrapper>
|
|
55
|
+
)}
|
|
39
56
|
</HeaderTitleContainer>
|
|
40
57
|
<ContentWrapper>
|
|
41
58
|
<h1>{appInfo.title}</h1>
|
|
@@ -148,3 +148,68 @@ export const DownLoadWrapper = styled.div`
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
`
|
|
151
|
+
|
|
152
|
+
export const HeaderInfoWrapper = styled.div`
|
|
153
|
+
position: relative;
|
|
154
|
+
${props => props.theme?.rtl ? css`
|
|
155
|
+
margin-left: -8px;
|
|
156
|
+
margin-right: 8px;
|
|
157
|
+
` : css`
|
|
158
|
+
margin-right: -8px;
|
|
159
|
+
margin-left: 8px;
|
|
160
|
+
`}
|
|
161
|
+
|
|
162
|
+
> button {
|
|
163
|
+
height: 25px;
|
|
164
|
+
svg {
|
|
165
|
+
width: 16px;
|
|
166
|
+
height: 16px;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
&:hover > div {
|
|
170
|
+
visibility: visible;
|
|
171
|
+
opacity: 1;
|
|
172
|
+
}
|
|
173
|
+
`
|
|
174
|
+
|
|
175
|
+
export const InfoContent = styled.div`
|
|
176
|
+
position: absolute;
|
|
177
|
+
top: 100%;
|
|
178
|
+
z-index: 999;
|
|
179
|
+
background: ${props => props.theme.colors.backgroundInfo};
|
|
180
|
+
border: 1px solid ${props => props.theme.colors.primary};
|
|
181
|
+
box-sizing: border-box;
|
|
182
|
+
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);
|
|
183
|
+
border-radius: 7.6px;
|
|
184
|
+
padding: 8px 12px;
|
|
185
|
+
font-size: 12px;
|
|
186
|
+
line-height: 18px;
|
|
187
|
+
min-width: 150px;
|
|
188
|
+
transition: all 0.3s linear;
|
|
189
|
+
visibility: hidden;
|
|
190
|
+
opacity: 0;
|
|
191
|
+
right: 0px;
|
|
192
|
+
${props => props.theme.rtl && css`
|
|
193
|
+
left: 0px;
|
|
194
|
+
right: initial;
|
|
195
|
+
`}
|
|
196
|
+
|
|
197
|
+
> a {
|
|
198
|
+
color: ${props => props.theme.colors.primary};
|
|
199
|
+
margin: 0 5px;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
@media (min-width: 576px) {
|
|
203
|
+
min-width: 350px;
|
|
204
|
+
padding: 12px 15px;
|
|
205
|
+
left: 0px;
|
|
206
|
+
${props => props.theme.rtl && css`
|
|
207
|
+
right: 0px;
|
|
208
|
+
left: initial;
|
|
209
|
+
`}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
@media (min-width: 993px) {
|
|
213
|
+
min-width: 535px;
|
|
214
|
+
}
|
|
215
|
+
`
|
|
@@ -15,7 +15,7 @@ export const CallCenterApp = () => {
|
|
|
15
15
|
brand: theme.images.myProducts.myCallcenterAppBrand
|
|
16
16
|
},
|
|
17
17
|
live_title: t('LIVE_DEMO', 'Live Demo'),
|
|
18
|
-
live_description: t('
|
|
18
|
+
live_description: t('CALL_CENTER_APP_LIVE_DEMO_DESCRIPTION', 'This is a branded Ordering.co product; play with it and understand how it works'),
|
|
19
19
|
web_url: 'https://callcenter.tryordering.com/search',
|
|
20
20
|
web_link_title: t('CALL_CENTER', 'Call center'),
|
|
21
21
|
brand_title: t('YOUR_BRANDED_KIOSK', 'Your Branded Kiosk'),
|
|
@@ -15,10 +15,10 @@ export const CustomerApp = () => {
|
|
|
15
15
|
brand: theme.images.myProducts.singleStoreCustomerApp
|
|
16
16
|
},
|
|
17
17
|
live_title: t('MULTI-STORE-CUSTOMER-APP', 'Multi-store Customer App'),
|
|
18
|
-
live_description: t('
|
|
18
|
+
live_description: t('MULTI_STORE_CUSTOMER_APP_DESCRIPTION', 'This is a branded Ordering.co product. use it with your project, email, and password for free. features might be limited.'),
|
|
19
19
|
demo_book_message: 'I would like to book a Demo for the customer app , can you assist me?',
|
|
20
20
|
brand_title: t('SINGLE_STORE_CUSTOMER_APP', 'Single Store Customer App'),
|
|
21
|
-
brand_description: t('
|
|
21
|
+
brand_description: t('SINGLE_STORE_CUSTOMER_APP_DESCRIPTION', 'This App is delivered in less than five working days, fully branded with your guidelines, removing all ordering.co presence to give your brand more awareness.'),
|
|
22
22
|
purchase_message: 'I would like to know about the customer app, can you assist me?',
|
|
23
23
|
downloads: [
|
|
24
24
|
{ id: 1, icon: theme.images.myProducts.appStoreSmall, link: 'https://apps.apple.com/us/app/customer-app-2-0/id1607414555' },
|
|
@@ -15,9 +15,9 @@ export const DriverApp = () => {
|
|
|
15
15
|
brand: theme.images.myProducts.driverAppBrand
|
|
16
16
|
},
|
|
17
17
|
live_title: t('FREE_TO_USE', 'Free to use'),
|
|
18
|
-
live_description: t('
|
|
18
|
+
live_description: t('DRIVER_APP_FREE_TO_USE_DESCRIPTION', 'This is a branded Ordering.co product. use it with your project, email, and password for free. features might be limited.'),
|
|
19
19
|
brand_title: t('YOUR_BRANDED_APP', 'Your Branded App'),
|
|
20
|
-
brand_description: t('
|
|
20
|
+
brand_description: t('DRIVER_APP_BRANDED_DESCRIPTION', 'This App is delivered in less than five working days, fully branded with your guidelines, removing all ordering.co presence to give your brand more awareness.'),
|
|
21
21
|
demo_book_message: 'I would like to book a Demo about the Driver app , can you assist me?',
|
|
22
22
|
purchase_message: 'I would like to know about the Driver app, can you assist me?',
|
|
23
23
|
downloads: [
|
|
@@ -15,7 +15,7 @@ export const KioskApp = () => {
|
|
|
15
15
|
brand: theme.images.myProducts.myKioskAppBrand
|
|
16
16
|
},
|
|
17
17
|
live_title: t('LIVE_DEMO', 'Live Demo'),
|
|
18
|
-
live_description: t('
|
|
18
|
+
live_description: t('KIOS_APP_LIVE_DEMO_DESCRIPTION', 'This is a branded Ordering.co product. play with it and understand how it works'),
|
|
19
19
|
brand_title: t('YOUR_BRANDED_KIOSK', 'Your Branded Kiosk'),
|
|
20
20
|
brand_description: t('KIOSK_BRANDED_DESCRIPTION', 'This App is delivered in less than five working days, fully branded with your guidelines, and ready to be used on any tablet you add it to.'),
|
|
21
21
|
demo_book_message: 'I would like to book a Demo about the Kiosk app, can you assist me?',
|