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,146 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.UploadImageIconContainer = exports.UploadImageIcon = exports.SocialShareContainer = exports.ShadowWrapper = exports.ShadowInputGroup = exports.ShadowInputControl = exports.ShadowInfoWrapper = exports.SelectWrapper = exports.Option = exports.InnerShadowWrapper = exports.InnerShadow = exports.ImgInfoWrapper = exports.ImageGroup = exports.ImageBoxContainer = exports.HomePageWrapper = exports.HomeImageFullScreenWrapper = exports.HideCheckWrapper = exports.HeadingWrapper = exports.FormControlWithCheck = exports.FormControl = exports.FontWeightListWrapper = exports.FontWeightItem = exports.DropShadowWrapper = exports.DropShadow = exports.Container = exports.ButtonWrapper = exports.BoxLayout = exports.BodyWrapper = void 0;
|
|
8
|
+
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
9
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42;
|
|
10
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
+
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; }
|
|
12
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
13
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral([""])));
|
|
14
|
+
exports.Container = Container;
|
|
15
|
+
var BoxLayout = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-top: 30px;\n box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);\n border-radius: 7.6px;\n padding: 25px 30px;\n > div {\n max-width: 653px;\n }\n h1, h2 {\n font-weight: 600;\n font-size: 16px;\n line-height: 24px;\n margin-top: 0;\n margin-bottom: 20px;\n }\n > h1 {\n margin-bottom: 30px;\n }\n h3 {\n font-weight: 600;\n font-size: 14px;\n line-height: 21px;\n margin-top: 0px;\n margin-bottom: 20px;\n }\n"])));
|
|
16
|
+
exports.BoxLayout = BoxLayout;
|
|
17
|
+
var HomePageWrapper = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral([""])));
|
|
18
|
+
exports.HomePageWrapper = HomePageWrapper;
|
|
19
|
+
var FormControlWithCheck = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n > p {\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n margin-top: 0;\n margin-bottom: 17px;\n }\n"])));
|
|
20
|
+
exports.FormControlWithCheck = FormControlWithCheck;
|
|
21
|
+
var HideCheckWrapper = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n cursor: pointer;\n width: fit-content;\n svg {\n font-size: 16px;\n color: ", ";\n &.active {\n color: ", ";\n }\n margin-right: 15px;\n ", "\n }\n span {\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n user-select: none;\n }\n ", "\n"])), function (props) {
|
|
22
|
+
return props.theme.colors.secundaryLight;
|
|
23
|
+
}, function (props) {
|
|
24
|
+
return props.theme.colors.primary;
|
|
25
|
+
}, function (props) {
|
|
26
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin-left: 15px;\n margin-right: 0px;\n "])));
|
|
27
|
+
}, function (_ref) {
|
|
28
|
+
var isBottom = _ref.isBottom;
|
|
29
|
+
return isBottom && (0, _styledComponents.css)(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n margin-bottom: 25px;\n "])));
|
|
30
|
+
});
|
|
31
|
+
exports.HideCheckWrapper = HideCheckWrapper;
|
|
32
|
+
var ShadowWrapper = _styledComponents.default.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n\n @media (min-width: 576px) {\n flex-direction: row;\n }\n"])));
|
|
33
|
+
exports.ShadowWrapper = ShadowWrapper;
|
|
34
|
+
var InnerShadowWrapper = _styledComponents.default.div(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral([""])));
|
|
35
|
+
exports.InnerShadowWrapper = InnerShadowWrapper;
|
|
36
|
+
var DropShadowWrapper = _styledComponents.default.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n margin-top: 15px;\n /* @media (min-width: 576px) {\n margin-top: 0;\n margin-left: 35px;\n ", "\n } */\n"])), function (props) {
|
|
37
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n margin-left: 0px;\n margin-right: 35px;\n "])));
|
|
38
|
+
});
|
|
39
|
+
exports.DropShadowWrapper = DropShadowWrapper;
|
|
40
|
+
var ShadowInfoWrapper = _styledComponents.default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n svg {\n font-size: 16px;\n color: ", ";\n &.active {\n color: ", ";\n }\n margin-right: 7px;\n ", "\n }\n span {\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n }\n"])), function (props) {
|
|
41
|
+
return props.theme.colors.secundaryLight;
|
|
42
|
+
}, function (props) {
|
|
43
|
+
return props.theme.colors.primary;
|
|
44
|
+
}, function (props) {
|
|
45
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n margin-left: 7px;\n margin-right: 0px;\n "])));
|
|
46
|
+
});
|
|
47
|
+
exports.ShadowInfoWrapper = ShadowInfoWrapper;
|
|
48
|
+
var InnerShadow = _styledComponents.default.div(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n width: 27px;\n height: 18px;\n background: ", ";\n border: 1px solid ", ";\n border-radius: 1px;\n margin-right: 13px;\n ", "\n"])), function (props) {
|
|
49
|
+
return props.theme.colors.gray;
|
|
50
|
+
}, function (props) {
|
|
51
|
+
return props.theme.colors.borderColor;
|
|
52
|
+
}, function (props) {
|
|
53
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n margin-right: 0px;\n margin-left: 13px;\n "])));
|
|
54
|
+
});
|
|
55
|
+
exports.InnerShadow = InnerShadow;
|
|
56
|
+
var DropShadow = _styledComponents.default.div(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n width: 27px;\n height: 18px;\n border: 1px solid ", ";\n border-radius: 1px;\n margin-right: 13px;\n ", "\n"])), function (props) {
|
|
57
|
+
return props.theme.colors.borderColor;
|
|
58
|
+
}, function (props) {
|
|
59
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n margin-right: 0px;\n margin-left: 13px;\n "])));
|
|
60
|
+
});
|
|
61
|
+
exports.DropShadow = DropShadow;
|
|
62
|
+
var ShadowInputGroup = _styledComponents.default.div(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n display: flex;\n margin-top: 13px;\n"])));
|
|
63
|
+
exports.ShadowInputGroup = ShadowInputGroup;
|
|
64
|
+
var ShadowInputControl = _styledComponents.default.div(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n display: flex;\n margin-right: 15px;\n ", "\n span {\n font-weight: 400;\n font-size: 12px;\n margin-right: 5px;\n ", "\n }\n input {\n border: none;\n outline: none;\n border-bottom: 1px solid ", ";\n width: 29px;\n font-size: 12px;\n text-align: center;\n }\n"])), function (props) {
|
|
65
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n margin-right: 0px;\n margin-left: 15px;\n "])));
|
|
66
|
+
}, function (props) {
|
|
67
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n margin-right: 0px;\n margin-left: 5px;\n "])));
|
|
68
|
+
}, function (props) {
|
|
69
|
+
return props.theme.colors.gray;
|
|
70
|
+
});
|
|
71
|
+
exports.ShadowInputControl = ShadowInputControl;
|
|
72
|
+
var HeadingWrapper = _styledComponents.default.div(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n margin-bottom: 40px;\n"])));
|
|
73
|
+
exports.HeadingWrapper = HeadingWrapper;
|
|
74
|
+
var BodyWrapper = _styledComponents.default.div(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral([""])));
|
|
75
|
+
exports.BodyWrapper = BodyWrapper;
|
|
76
|
+
var FormControl = _styledComponents.default.div(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n margin-bottom: 25px;\n > label {\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n margin-bottom: 10px;\n }\n input {\n width: 100%;\n height: 44px;\n }\n"])));
|
|
77
|
+
exports.FormControl = FormControl;
|
|
78
|
+
var SelectWrapper = _styledComponents.default.div(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n > div {\n width: 100%;\n border: none;\n\n > div:first-child {\n background-color: ", ";\n height: 43px;\n border: none;\n border-radius: 7.6px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ", ";\n }\n .list {\n background-color: ", ";\n border: none;\n\n .list-wrapper {\n > div {\n padding: 6px 10px;\n &:hover {\n background-color: #f2f5f7;\n }\n }\n }\n }\n }\n"])), function (props) {
|
|
79
|
+
return props.theme.colors.secundary;
|
|
80
|
+
}, function (props) {
|
|
81
|
+
return props.theme.colors.secundaryContrast;
|
|
82
|
+
}, function (props) {
|
|
83
|
+
return props.theme.colors.secundary;
|
|
84
|
+
});
|
|
85
|
+
exports.SelectWrapper = SelectWrapper;
|
|
86
|
+
var Option = _styledComponents.default.div(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ", ";\n"])), function (props) {
|
|
87
|
+
return props.theme.colors.secundaryContrast;
|
|
88
|
+
});
|
|
89
|
+
exports.Option = Option;
|
|
90
|
+
var FontWeightListWrapper = _styledComponents.default.div(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n &:last-child {\n border-bottom: 1px solid ", ";\n }\n"])), function (props) {
|
|
91
|
+
return props.theme.colors.borderColor;
|
|
92
|
+
});
|
|
93
|
+
exports.FontWeightListWrapper = FontWeightListWrapper;
|
|
94
|
+
var FontWeightItem = _styledComponents.default.div(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n padding: 12px 0;\n border-top: 1px solid ", ";\n cursor: pointer;\n\n svg {\n font-size: 16px;\n color: ", ";\n &.active {\n color: ", ";\n }\n margin-right: 20px;\n ", "\n }\n span {\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n }\n"])), function (props) {
|
|
95
|
+
return props.theme.colors.borderColor;
|
|
96
|
+
}, function (props) {
|
|
97
|
+
return props.theme.colors.secundaryLight;
|
|
98
|
+
}, function (props) {
|
|
99
|
+
return props.theme.colors.primary;
|
|
100
|
+
}, function (props) {
|
|
101
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n margin-left: 20px;\n margin-right: 0px;\n "])));
|
|
102
|
+
});
|
|
103
|
+
exports.FontWeightItem = FontWeightItem;
|
|
104
|
+
var ImageBoxContainer = _styledComponents.default.div(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["\n width: 161px;\n height: 161px;\n ", "\n background: ", ";\n box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);\n position: relative;\n border-radius: 8px;\n overflow: hidden;\n cursor: -webkit-grab;\n cursor: grab;\n\n img,\n div {\n width: 100%;\n border-radius: 8px;\n height: 100%;\n overflow: hidden;\n };\n\n img{\n object-fit: contain;\n }\n"])), function (_ref2) {
|
|
105
|
+
var isBig = _ref2.isBig;
|
|
106
|
+
return isBig && (0, _styledComponents.css)(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n width: 100%;\n height: 190px;\n "])));
|
|
107
|
+
}, function (props) {
|
|
108
|
+
return props.theme.colors.borderColor;
|
|
109
|
+
});
|
|
110
|
+
exports.ImageBoxContainer = ImageBoxContainer;
|
|
111
|
+
var UploadImageIconContainer = _styledComponents.default.div(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0px;\n background: ", ";\n ", "\n ", "\n"])), function (props) {
|
|
112
|
+
return props.theme.colors.secundaryDarkContrast;
|
|
113
|
+
}, function (_ref3) {
|
|
114
|
+
var bgimage = _ref3.bgimage;
|
|
115
|
+
return bgimage && (0, _styledComponents.css)(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n background: transparent;\n svg, span {\n color: ", ";\n }\n border: 1px dashed ", ";\n "])), function (props) {
|
|
116
|
+
return props.theme.colors.white;
|
|
117
|
+
}, function (props) {
|
|
118
|
+
return props.theme.colors.secundaryDarkContrast;
|
|
119
|
+
});
|
|
120
|
+
}, function (_ref4) {
|
|
121
|
+
var small = _ref4.small;
|
|
122
|
+
return small ? (0, _styledComponents.css)(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["\n padding: 4px;\n "]))) : (0, _styledComponents.css)(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["\n padding: 8px;\n "])));
|
|
123
|
+
});
|
|
124
|
+
exports.UploadImageIconContainer = UploadImageIconContainer;
|
|
125
|
+
var UploadImageIcon = _styledComponents.default.div(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n color: ", ";\n span {\n margin-top: 14px;\n font-size: 14px;\n }\n\n svg { \n width: 52px;\n height: 45px;\n }\n"])), function (props) {
|
|
126
|
+
return props.theme.colors.disabled;
|
|
127
|
+
});
|
|
128
|
+
exports.UploadImageIcon = UploadImageIcon;
|
|
129
|
+
var ImgInfoWrapper = _styledComponents.default.div(_templateObject37 || (_templateObject37 = _taggedTemplateLiteral(["\n margin-top: 15px;\n margin-bottom: 25px;\n h4 {\n font-size: 14px;\n line-height: 24px;\n font-weight: 400;\n margin: 0px;\n }\n p {\n font-size: 12px;\n line-height: 18px;\n margin-top: 2px;\n margin-bottom: 0px;\n color: ", ";\n }\n"])), function (props) {
|
|
130
|
+
return props.theme.colors.secundaryContrast;
|
|
131
|
+
});
|
|
132
|
+
exports.ImgInfoWrapper = ImgInfoWrapper;
|
|
133
|
+
var HomeImageFullScreenWrapper = _styledComponents.default.div(_templateObject38 || (_templateObject38 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-bottom: 25px;\n cursor: pointer;\n width: fit-content;\n svg {\n font-size: 16px;\n color: ", ";\n &.active {\n color: ", ";\n }\n margin-right: 20px;\n ", "\n }\n span {\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n }\n"])), function (props) {
|
|
134
|
+
return props.theme.colors.secundaryLight;
|
|
135
|
+
}, function (props) {
|
|
136
|
+
return props.theme.colors.primary;
|
|
137
|
+
}, function (props) {
|
|
138
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject39 || (_templateObject39 = _taggedTemplateLiteral(["\n margin-left: 20px;\n margin-right: 0px;\n "])));
|
|
139
|
+
});
|
|
140
|
+
exports.HomeImageFullScreenWrapper = HomeImageFullScreenWrapper;
|
|
141
|
+
var ImageGroup = _styledComponents.default.div(_templateObject40 || (_templateObject40 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n @media (min-width: 576px) {\n flex-direction: row;\n > div:first-child {\n margin-right: 30px;\n }\n }\n"])));
|
|
142
|
+
exports.ImageGroup = ImageGroup;
|
|
143
|
+
var SocialShareContainer = _styledComponents.default.div(_templateObject41 || (_templateObject41 = _taggedTemplateLiteral([""])));
|
|
144
|
+
exports.SocialShareContainer = SocialShareContainer;
|
|
145
|
+
var ButtonWrapper = _styledComponents.default.div(_templateObject42 || (_templateObject42 = _taggedTemplateLiteral(["\n margin: 50px 0px 30px 0;\n button {\n height: 44px;\n }\n"])));
|
|
146
|
+
exports.ButtonWrapper = ButtonWrapper;
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.AppLayout = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactRouterDom = require("react-router-dom");
|
|
8
9
|
var _orderingComponentsAdminExternal = require("ordering-components-admin-external");
|
|
9
10
|
var _InfoShareContext = require("../../../contexts/InfoShareContext");
|
|
10
11
|
var _styles = require("../../../styles");
|
|
@@ -27,6 +28,7 @@ var AppLayout = function AppLayout(props) {
|
|
|
27
28
|
_useInfoShare2 = _slicedToArray(_useInfoShare, 2),
|
|
28
29
|
isCollapse = _useInfoShare2[0].isCollapse,
|
|
29
30
|
handleMenuCollapse = _useInfoShare2[1].handleMenuCollapse;
|
|
31
|
+
var location = (0, _reactRouterDom.useLocation)();
|
|
30
32
|
var showMessage = function showMessage(message) {
|
|
31
33
|
window.Intercom && window.Intercom('showNewMessage', message);
|
|
32
34
|
};
|
|
@@ -35,7 +37,13 @@ var AppLayout = function AppLayout(props) {
|
|
|
35
37
|
onClick: function onClick() {
|
|
36
38
|
return handleMenuCollapse(false);
|
|
37
39
|
}
|
|
38
|
-
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.List, null)), /*#__PURE__*/_react.default.createElement("h1", null, t('MY_PRODUCTS', 'My products'))
|
|
40
|
+
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.List, null)), /*#__PURE__*/_react.default.createElement("h1", null, t('MY_PRODUCTS', 'My products')), (location.pathname === '/my-products/ordering-website' || location.pathname === '/my-products/customer-app') && /*#__PURE__*/_react.default.createElement(_styles2.HeaderInfoWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.IconButton, {
|
|
41
|
+
color: "primary"
|
|
42
|
+
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.InfoCircle, null)), /*#__PURE__*/_react.default.createElement(_styles2.InfoContent, null, 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:'), /*#__PURE__*/_react.default.createElement("a", {
|
|
43
|
+
href: "https://www.ordering.co/support",
|
|
44
|
+
rel: "noopener noreferrer",
|
|
45
|
+
target: "_blank"
|
|
46
|
+
}, "https://www.ordering.co/support")))), /*#__PURE__*/_react.default.createElement(_styles2.ContentWrapper, null, /*#__PURE__*/_react.default.createElement("h1", null, appInfo.title), /*#__PURE__*/_react.default.createElement("p", null, appInfo.description), /*#__PURE__*/_react.default.createElement(_styles2.BoxWrapper, null, /*#__PURE__*/_react.default.createElement(_styles2.AppInfoContainer, null, /*#__PURE__*/_react.default.createElement(_styles2.ImageWrapper, {
|
|
39
47
|
isDriver: isDriver
|
|
40
48
|
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
41
49
|
src: appInfo.images.live,
|
|
@@ -4,9 +4,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.ImageWrapper = exports.HeaderTitleContainer = exports.DownloadLink = exports.DownLoadWrapper = exports.ContentWrapper = exports.Container = exports.ButtonWRapper = exports.BoxWrapper = exports.AppInfoContainer = void 0;
|
|
7
|
+
exports.InfoContent = exports.ImageWrapper = exports.HeaderTitleContainer = exports.HeaderInfoWrapper = exports.DownloadLink = exports.DownLoadWrapper = exports.ContentWrapper = exports.Container = exports.ButtonWRapper = exports.BoxWrapper = exports.AppInfoContainer = void 0;
|
|
8
8
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
9
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12;
|
|
9
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18;
|
|
10
10
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
11
|
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; }
|
|
12
12
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
@@ -35,4 +35,21 @@ exports.DownloadLink = DownloadLink;
|
|
|
35
35
|
var ButtonWRapper = _styledComponents.default.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n flex-direction: column;\n padding-top: 15px;\n button {\n height: 44px;\n width: 100%;\n margin-top: 16px;\n }\n\n @media (min-width: 768px) {\n flex-direction: row;\n button {\n width: calc(50% - 10px);\n }\n }\n"])));
|
|
36
36
|
exports.ButtonWRapper = ButtonWRapper;
|
|
37
37
|
var DownLoadWrapper = _styledComponents.default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n img {\n cursor: pointer;\n &:last-child {\n margin: 0px 15px;\n }\n }\n"])));
|
|
38
|
-
exports.DownLoadWrapper = DownLoadWrapper;
|
|
38
|
+
exports.DownLoadWrapper = DownLoadWrapper;
|
|
39
|
+
var HeaderInfoWrapper = _styledComponents.default.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n position: relative;\n ", "\n\n > button {\n height: 25px;\n svg {\n width: 16px;\n height: 16px;\n }\n }\n &:hover > div {\n visibility: visible;\n opacity: 1;\n }\n"])), function (props) {
|
|
40
|
+
var _props$theme2;
|
|
41
|
+
return (_props$theme2 = props.theme) !== null && _props$theme2 !== void 0 && _props$theme2.rtl ? (0, _styledComponents.css)(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n margin-left: -8px;\n margin-right: 8px;\n "]))) : (0, _styledComponents.css)(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n margin-right: -8px;\n margin-left: 8px;\n "])));
|
|
42
|
+
});
|
|
43
|
+
exports.HeaderInfoWrapper = HeaderInfoWrapper;
|
|
44
|
+
var InfoContent = _styledComponents.default.div(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n position: absolute;\n top: 100%;\n z-index: 999;\n background: ", ";\n border: 1px solid ", ";\n box-sizing: border-box;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);\n border-radius: 7.6px;\n padding: 8px 12px;\n font-size: 12px;\n line-height: 18px;\n min-width: 150px;\n transition: all 0.3s linear;\n visibility: hidden;\n opacity: 0;\n right: 0px;\n ", "\n\n > a {\n color: ", ";\n margin: 0 5px;\n }\n\n @media (min-width: 576px) {\n min-width: 350px;\n padding: 12px 15px;\n left: 0px;\n ", "\n }\n\n @media (min-width: 993px) {\n min-width: 535px;\n }\n"])), function (props) {
|
|
45
|
+
return props.theme.colors.backgroundInfo;
|
|
46
|
+
}, function (props) {
|
|
47
|
+
return props.theme.colors.primary;
|
|
48
|
+
}, function (props) {
|
|
49
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n left: 0px;\n right: initial;\n "])));
|
|
50
|
+
}, function (props) {
|
|
51
|
+
return props.theme.colors.primary;
|
|
52
|
+
}, function (props) {
|
|
53
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n right: 0px;\n left: initial;\n "])));
|
|
54
|
+
});
|
|
55
|
+
exports.InfoContent = InfoContent;
|
|
@@ -28,7 +28,7 @@ var CallCenterApp = function CallCenterApp() {
|
|
|
28
28
|
brand: theme.images.myProducts.myCallcenterAppBrand
|
|
29
29
|
},
|
|
30
30
|
live_title: t('LIVE_DEMO', 'Live Demo'),
|
|
31
|
-
live_description: t('
|
|
31
|
+
live_description: t('CALL_CENTER_APP_LIVE_DEMO_DESCRIPTION', 'This is a branded Ordering.co product; play with it and understand how it works'),
|
|
32
32
|
web_url: 'https://callcenter.tryordering.com/search',
|
|
33
33
|
web_link_title: t('CALL_CENTER', 'Call center'),
|
|
34
34
|
brand_title: t('YOUR_BRANDED_KIOSK', 'Your Branded Kiosk'),
|
|
@@ -28,10 +28,10 @@ var CustomerApp = function CustomerApp() {
|
|
|
28
28
|
brand: theme.images.myProducts.singleStoreCustomerApp
|
|
29
29
|
},
|
|
30
30
|
live_title: t('MULTI-STORE-CUSTOMER-APP', 'Multi-store Customer App'),
|
|
31
|
-
live_description: t('
|
|
31
|
+
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.'),
|
|
32
32
|
demo_book_message: 'I would like to book a Demo for the customer app , can you assist me?',
|
|
33
33
|
brand_title: t('SINGLE_STORE_CUSTOMER_APP', 'Single Store Customer App'),
|
|
34
|
-
brand_description: t('
|
|
34
|
+
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.'),
|
|
35
35
|
purchase_message: 'I would like to know about the customer app, can you assist me?',
|
|
36
36
|
downloads: [{
|
|
37
37
|
id: 1,
|
|
@@ -28,9 +28,9 @@ var DriverApp = function DriverApp() {
|
|
|
28
28
|
brand: theme.images.myProducts.driverAppBrand
|
|
29
29
|
},
|
|
30
30
|
live_title: t('FREE_TO_USE', 'Free to use'),
|
|
31
|
-
live_description: t('
|
|
31
|
+
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.'),
|
|
32
32
|
brand_title: t('YOUR_BRANDED_APP', 'Your Branded App'),
|
|
33
|
-
brand_description: t('
|
|
33
|
+
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.'),
|
|
34
34
|
demo_book_message: 'I would like to book a Demo about the Driver app , can you assist me?',
|
|
35
35
|
purchase_message: 'I would like to know about the Driver app, can you assist me?',
|
|
36
36
|
downloads: [{
|
|
@@ -28,7 +28,7 @@ var KioskApp = function KioskApp() {
|
|
|
28
28
|
brand: theme.images.myProducts.myKioskAppBrand
|
|
29
29
|
},
|
|
30
30
|
live_title: t('LIVE_DEMO', 'Live Demo'),
|
|
31
|
-
live_description: t('
|
|
31
|
+
live_description: t('KIOS_APP_LIVE_DEMO_DESCRIPTION', 'This is a branded Ordering.co product. play with it and understand how it works'),
|
|
32
32
|
brand_title: t('YOUR_BRANDED_KIOSK', 'Your Branded Kiosk'),
|
|
33
33
|
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.'),
|
|
34
34
|
demo_book_message: 'I would like to book a Demo about the Kiosk app, can you assist me?',
|
|
@@ -8,6 +8,7 @@ exports.OrderingWebsite = void 0;
|
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _orderingComponentsAdminExternal = require("ordering-components-admin-external");
|
|
10
10
|
var _InfoShareContext = require("../../../contexts/InfoShareContext");
|
|
11
|
+
var _reactRouterDom = require("react-router-dom");
|
|
11
12
|
var _styles = require("../../../styles");
|
|
12
13
|
var _reactBootstrapIcons = require("react-bootstrap-icons");
|
|
13
14
|
var _styledComponents = require("styled-components");
|
|
@@ -16,6 +17,7 @@ var _ContentForm = require("../ContentForm");
|
|
|
16
17
|
var _utils = require("../../../utils");
|
|
17
18
|
var _styles2 = require("./styles");
|
|
18
19
|
var _reactLoadingSkeleton = _interopRequireDefault(require("react-loading-skeleton"));
|
|
20
|
+
var _AdvancedSettings = require("../AdvancedSettings");
|
|
19
21
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
22
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
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; }
|
|
@@ -35,7 +37,10 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
35
37
|
var themeValues = props.themeValues,
|
|
36
38
|
orderingTheme = props.orderingTheme,
|
|
37
39
|
setThemeValues = props.setThemeValues,
|
|
38
|
-
handleUpdateSiteTheme = props.handleUpdateSiteTheme
|
|
40
|
+
handleUpdateSiteTheme = props.handleUpdateSiteTheme,
|
|
41
|
+
advancedValues = props.advancedValues,
|
|
42
|
+
setAdvancedValues = props.setAdvancedValues,
|
|
43
|
+
themesList = props.themesList;
|
|
39
44
|
var _useLanguage = (0, _orderingComponentsAdminExternal.useLanguage)(),
|
|
40
45
|
_useLanguage2 = _slicedToArray(_useLanguage, 2),
|
|
41
46
|
t = _useLanguage2[1];
|
|
@@ -47,6 +52,7 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
47
52
|
var _useApi = (0, _orderingComponentsAdminExternal.useApi)(),
|
|
48
53
|
_useApi2 = _slicedToArray(_useApi, 1),
|
|
49
54
|
ordering = _useApi2[0];
|
|
55
|
+
var location = (0, _reactRouterDom.useLocation)();
|
|
50
56
|
var logoRef = (0, _react.useRef)(null);
|
|
51
57
|
var backgroundRef = (0, _react.useRef)(null);
|
|
52
58
|
var mobileBackgroundRef = (0, _react.useRef)(null);
|
|
@@ -73,6 +79,17 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
73
79
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
74
80
|
footerContent = _useState8[0],
|
|
75
81
|
setFooterContent = _useState8[1];
|
|
82
|
+
var _useState9 = (0, _react.useState)('basic'),
|
|
83
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
84
|
+
selectedSetting = _useState10[0],
|
|
85
|
+
setSelectedSetting = _useState10[1];
|
|
86
|
+
var settingsList = [{
|
|
87
|
+
key: 'basic',
|
|
88
|
+
name: t('BASIC_SETTINGS', 'Basic Settings')
|
|
89
|
+
}, {
|
|
90
|
+
key: 'advanced',
|
|
91
|
+
name: t('ADVANCED_SETTINGS', 'Advanced Settings')
|
|
92
|
+
}];
|
|
76
93
|
var handleClickImage = function handleClickImage(type) {
|
|
77
94
|
if (type === 'logo') {
|
|
78
95
|
logoRef.current.click();
|
|
@@ -154,16 +171,30 @@ var OrderingWebsiteUI = function OrderingWebsiteUI(props) {
|
|
|
154
171
|
onClick: function onClick() {
|
|
155
172
|
return handleMenuCollapse(false);
|
|
156
173
|
}
|
|
157
|
-
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.List, null)), /*#__PURE__*/_react.default.createElement("h1", null, t('MY_PRODUCTS', 'My products'))
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
174
|
+
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.List, null)), /*#__PURE__*/_react.default.createElement("h1", null, t('MY_PRODUCTS', 'My products')), (location.pathname === '/my-products/ordering-website' || location.pathname === '/my-products/customer-app') && /*#__PURE__*/_react.default.createElement(_styles2.HeaderInfoWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.IconButton, {
|
|
175
|
+
color: "primary"
|
|
176
|
+
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.InfoCircle, null)), /*#__PURE__*/_react.default.createElement(_styles2.InfoContent, null, 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:'), /*#__PURE__*/_react.default.createElement("a", {
|
|
177
|
+
href: "https://www.ordering.co/support",
|
|
178
|
+
rel: "noopener noreferrer",
|
|
179
|
+
target: "_blank"
|
|
180
|
+
}, "https://www.ordering.co/support")))), /*#__PURE__*/_react.default.createElement(_styles2.WebsiteWrapper, null, /*#__PURE__*/_react.default.createElement(_styles2.InfoWrapper, null, /*#__PURE__*/_react.default.createElement("h1", null, t('ORDERING_WEBSITE', 'Ordering website')), /*#__PURE__*/_react.default.createElement("p", null, t('ORDERING_WEBSITE_DESC', 'This product is included in your project by default.')), /*#__PURE__*/_react.default.createElement(_styles2.WebsiteButtonWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.Button, {
|
|
161
181
|
color: "primary",
|
|
162
182
|
borderRadius: "8px",
|
|
163
183
|
onClick: function onClick() {
|
|
164
184
|
return window.open("https://".concat(ordering === null || ordering === void 0 ? void 0 : ordering.project, ".tryordering.com"), '_blank');
|
|
165
185
|
}
|
|
166
|
-
}, t('VISIT_MY_WEBSITE', 'Visit My Website')))
|
|
186
|
+
}, t('VISIT_MY_WEBSITE', 'Visit My Website')))), /*#__PURE__*/_react.default.createElement("img", {
|
|
187
|
+
src: theme.images.myProducts.orderingWebsite,
|
|
188
|
+
alt: "ordering-website"
|
|
189
|
+
})), /*#__PURE__*/_react.default.createElement(_styles2.MoreSettingsHeader, null, /*#__PURE__*/_react.default.createElement("h2", null, t('MORE_SETTINGS_FOR_YOUR', 'More settings for your'), " ", /*#__PURE__*/_react.default.createElement("span", null, t('WEBSITE_ORIGINAL', 'website'))), /*#__PURE__*/_react.default.createElement("p", null, t('MORE_SETTINGS_YOUR_WEBSITE_DESC', 'Change background, colors, fonts, style, branding and all the essentials of your brand.')), /*#__PURE__*/_react.default.createElement(_styles2.TabWrapper, null, /*#__PURE__*/_react.default.createElement(_styles2.Tabs, null, settingsList.map(function (setting) {
|
|
190
|
+
return /*#__PURE__*/_react.default.createElement(_styles2.Tab, {
|
|
191
|
+
key: setting.key,
|
|
192
|
+
active: selectedSetting === setting.key,
|
|
193
|
+
onClick: function onClick() {
|
|
194
|
+
return !(orderingTheme !== null && orderingTheme !== void 0 && orderingTheme.loading) && setSelectedSetting(setting.key);
|
|
195
|
+
}
|
|
196
|
+
}, setting.name);
|
|
197
|
+
})))), selectedSetting === 'basic' && /*#__PURE__*/_react.default.createElement(_styles2.FormWrapper, null, /*#__PURE__*/_react.default.createElement(_styles2.InputFormWrapper, null, /*#__PURE__*/_react.default.createElement(_styles2.InnerBlock, null, /*#__PURE__*/_react.default.createElement("h4", null, t('WEBSITE_SETTINGS', 'Website settings')), /*#__PURE__*/_react.default.createElement(_styles2.FormGroup, null, /*#__PURE__*/_react.default.createElement("label", null, orderingTheme !== null && orderingTheme !== void 0 && orderingTheme.loading ? /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
167
198
|
height: 20,
|
|
168
199
|
width: 150
|
|
169
200
|
}) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, t('NAME', 'Name'))), orderingTheme !== null && orderingTheme !== void 0 && orderingTheme.loading ? /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
@@ -4,9 +4,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.WebsiteWrapper = exports.WebsiteButtonWrapper = exports.UploadImageIconContainer = exports.UploadImageIcon = exports.TemporalDomail = exports.MoreSettingsHeader = exports.LogoImage = exports.InputFormWrapper = exports.InnerBlock = exports.InfoWrapper = exports.ImgInfoWrapper = exports.ImageFormGroup = exports.HeaderTitleContainer = exports.FormWrapper = exports.FormGroup = exports.ContentWrapper = exports.Container = exports.ColorPickerWrapper = exports.CheckBoxWrapper = exports.BackgroundImage = void 0;
|
|
7
|
+
exports.WebsiteWrapper = exports.WebsiteButtonWrapper = exports.UploadImageIconContainer = exports.UploadImageIcon = exports.TemporalDomail = exports.Tabs = exports.TabWrapper = exports.Tab = exports.MoreSettingsHeader = exports.LogoImage = exports.InputFormWrapper = exports.InnerBlock = exports.InfoWrapper = exports.InfoContent = exports.ImgInfoWrapper = exports.ImageFormGroup = exports.HeaderTitleContainer = exports.HeaderInfoWrapper = exports.FormWrapper = exports.FormGroup = exports.ContentWrapper = exports.Container = exports.ColorPickerWrapper = exports.CheckBoxWrapper = exports.BackgroundImage = void 0;
|
|
8
8
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
9
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28;
|
|
9
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38;
|
|
10
10
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
11
|
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; }
|
|
12
12
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
@@ -27,7 +27,7 @@ var InfoWrapper = _styledComponents.default.div(_templateObject7 || (_templateOb
|
|
|
27
27
|
return props.theme.rtl && (0, _styledComponents.css)(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n margin-left: 40px;\n margin-right: 0px;\n "])));
|
|
28
28
|
});
|
|
29
29
|
exports.InfoWrapper = InfoWrapper;
|
|
30
|
-
var MoreSettingsHeader = _styledComponents.default.div(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n margin-top: 70px;\n margin-bottom: 35px;\n h2 {\n font-weight: 700;\n font-size: 24px;\n line-height: 36px;\n margin-top: 0px;\n margin-bottom: 8px;\n text-align: center;\n span {\n color: ", ";\n }\n }\n p {\n font-weight: 500;\n font-size: 16px;\n line-height: 24px;\n text-align: center;\n }\n"])), function (props) {
|
|
30
|
+
var MoreSettingsHeader = _styledComponents.default.div(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n margin-top: 70px;\n margin-bottom: 35px;\n h2 {\n font-weight: 700;\n font-size: 24px;\n line-height: 36px;\n margin-top: 0px;\n margin-bottom: 8px;\n text-align: center;\n span {\n color: ", ";\n }\n }\n p {\n font-weight: 500;\n font-size: 16px;\n line-height: 24px;\n text-align: center;\n margin-bottom: 34px;\n }\n"])), function (props) {
|
|
31
31
|
return props.theme.colors.primary;
|
|
32
32
|
});
|
|
33
33
|
exports.MoreSettingsHeader = MoreSettingsHeader;
|
|
@@ -83,5 +83,39 @@ var ColorPickerWrapper = _styledComponents.default.div(_templateObject26 || (_te
|
|
|
83
83
|
exports.ColorPickerWrapper = ColorPickerWrapper;
|
|
84
84
|
var ContentWrapper = _styledComponents.default.div(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n padding-top: 25px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n > div {\n margin-top: 25px;\n display: flex;\n flex-direction: column;\n align-items: center;\n > p {\n font-weight: 600;\n font-size: 16px;\n line-height: 24px;\n margin-top: 0px;\n margin-bottom: 20px;\n }\n button {\n width: 200px;\n height: 44px;\n }\n }\n @media (min-width: 769px) {\n flex-direction: row;\n }\n"])));
|
|
85
85
|
exports.ContentWrapper = ContentWrapper;
|
|
86
|
-
var WebsiteButtonWrapper = _styledComponents.default.div(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n display: flex;\n
|
|
87
|
-
exports.WebsiteButtonWrapper = WebsiteButtonWrapper;
|
|
86
|
+
var WebsiteButtonWrapper = _styledComponents.default.div(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n display: flex;\n margin-top: 20px;\n button {\n height: 44px;\n }\n"])));
|
|
87
|
+
exports.WebsiteButtonWrapper = WebsiteButtonWrapper;
|
|
88
|
+
var TabWrapper = _styledComponents.default.div(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n"])));
|
|
89
|
+
exports.TabWrapper = TabWrapper;
|
|
90
|
+
var Tabs = _styledComponents.default.div(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["\n display: flex;\n border-bottom: 1px solid ", ";\n"])), function (props) {
|
|
91
|
+
return props.theme.colors.borderColor;
|
|
92
|
+
});
|
|
93
|
+
exports.Tabs = Tabs;
|
|
94
|
+
var Tab = _styledComponents.default.div(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n cursor: pointer;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ", ";\n padding-bottom: 14px;\n transition: all 0.2s ease-out;\n :not(:last-child) {\n margin-right: 32px;\n }\n ", "\n"])), function (props) {
|
|
95
|
+
return props.theme.colors.lightGray;
|
|
96
|
+
}, function (_ref3) {
|
|
97
|
+
var active = _ref3.active;
|
|
98
|
+
return active && (0, _styledComponents.css)(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n font-weight: 600;\n font-size: 14px;\n line-height: 21px;\n padding-bottom: 13px;\n color: ", ";\n border-bottom: 1px solid ", ";\n "])), function (props) {
|
|
99
|
+
return props.theme.colors.headingColor;
|
|
100
|
+
}, function (props) {
|
|
101
|
+
return props.theme.colors.headingColor;
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
exports.Tab = Tab;
|
|
105
|
+
var HeaderInfoWrapper = _styledComponents.default.div(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n position: relative;\n ", "\n\n > button {\n height: 25px;\n svg {\n width: 16px;\n height: 16px;\n }\n }\n &:hover > div {\n /* display: block; */\n visibility: visible;\n opacity: 1;\n }\n"])), function (props) {
|
|
106
|
+
var _props$theme2;
|
|
107
|
+
return (_props$theme2 = props.theme) !== null && _props$theme2 !== void 0 && _props$theme2.rtl ? (0, _styledComponents.css)(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["\n margin-left: -8px;\n margin-right: 8px;\n "]))) : (0, _styledComponents.css)(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["\n margin-right: -8px;\n margin-left: 8px;\n "])));
|
|
108
|
+
});
|
|
109
|
+
exports.HeaderInfoWrapper = HeaderInfoWrapper;
|
|
110
|
+
var InfoContent = _styledComponents.default.div(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n position: absolute;\n top: 100%;\n z-index: 999;\n background: ", ";\n border: 1px solid ", ";\n box-sizing: border-box;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);\n border-radius: 7.6px;\n padding: 8px 12px;\n font-size: 12px;\n line-height: 18px;\n min-width: 150px;\n transition: all 0.3s linear;\n visibility: hidden;\n opacity: 0;\n right: 0px;\n ", "\n\n > a {\n color: ", ";\n margin: 0 5px;\n }\n\n @media (min-width: 576px) {\n min-width: 350px;\n padding: 12px 15px;\n left: 0px;\n ", "\n }\n\n @media (min-width: 993px) {\n min-width: 535px;\n }\n"])), function (props) {
|
|
111
|
+
return props.theme.colors.backgroundInfo;
|
|
112
|
+
}, function (props) {
|
|
113
|
+
return props.theme.colors.primary;
|
|
114
|
+
}, function (props) {
|
|
115
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject37 || (_templateObject37 = _taggedTemplateLiteral(["\n left: 0px;\n right: initial;\n "])));
|
|
116
|
+
}, function (props) {
|
|
117
|
+
return props.theme.colors.primary;
|
|
118
|
+
}, function (props) {
|
|
119
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject38 || (_templateObject38 = _taggedTemplateLiteral(["\n right: 0px;\n left: initial;\n "])));
|
|
120
|
+
});
|
|
121
|
+
exports.InfoContent = InfoContent;
|
|
@@ -28,7 +28,7 @@ var PosApp = function PosApp() {
|
|
|
28
28
|
brand: theme.images.myProducts.myPosAppBrand
|
|
29
29
|
},
|
|
30
30
|
live_title: t('FREE_TO_USE', 'Free to use'),
|
|
31
|
-
live_description: t('
|
|
31
|
+
live_description: t('POS_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.'),
|
|
32
32
|
brand_title: t('YOUR_BRANDED_POS', 'Your Branded POS'),
|
|
33
33
|
brand_description: t('POS_BRANDED_DESCRIPTION', 'The POS is delivered in less than five working days, fully branded with your guidelines, and ready to be used on any tablet or device you add it to.'),
|
|
34
34
|
demo_book_message: 'I would like to book a Demo about the POS app , can you assist me?',
|
|
@@ -28,10 +28,10 @@ var StoreApp = function StoreApp() {
|
|
|
28
28
|
brand: theme.images.myProducts.storeAppBrand
|
|
29
29
|
},
|
|
30
30
|
live_title: t('FREE_TO_USE', 'Free to use'),
|
|
31
|
-
live_description: t('
|
|
31
|
+
live_description: t('STORE_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.'),
|
|
32
32
|
demo_book_message: 'I would like to book a Demo about the Store app , can you assist me?',
|
|
33
33
|
brand_title: t('YOUR_BRANDED_APP', 'Your Branded App'),
|
|
34
|
-
brand_description: t('
|
|
34
|
+
brand_description: t('STORE_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.'),
|
|
35
35
|
purchase_message: 'I would like to know about the Store app, can you assist me?',
|
|
36
36
|
downloads: [{
|
|
37
37
|
id: 1,
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.OrderingProductDetails = void 0;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _reactRouterDom = require("react-router-dom");
|
|
9
10
|
var _orderingComponentsAdminExternal = require("ordering-components-admin-external");
|
|
10
11
|
var _styles = require("../../../styles");
|
|
11
12
|
var _reactBootstrapIcons = require("react-bootstrap-icons");
|
|
@@ -32,6 +33,8 @@ var OrderingProductDetailsUI = function OrderingProductDetailsUI(props) {
|
|
|
32
33
|
var siteState = props.siteState,
|
|
33
34
|
isAddMode = props.isAddMode,
|
|
34
35
|
handleDeleteSite = props.handleDeleteSite;
|
|
36
|
+
var history = (0, _reactRouterDom.useHistory)();
|
|
37
|
+
var query = new URLSearchParams((0, _reactRouterDom.useLocation)().search);
|
|
35
38
|
var _useLanguage = (0, _orderingComponentsAdminExternal.useLanguage)(),
|
|
36
39
|
_useLanguage2 = _slicedToArray(_useLanguage, 2),
|
|
37
40
|
t = _useLanguage2[1];
|
|
@@ -84,6 +87,23 @@ var OrderingProductDetailsUI = function OrderingProductDetailsUI(props) {
|
|
|
84
87
|
return !prev;
|
|
85
88
|
});
|
|
86
89
|
};
|
|
90
|
+
var handleTabClick = function handleTabClick(tab, isInitialRender) {
|
|
91
|
+
setSelectedTab(tab);
|
|
92
|
+
if (!isInitialRender) {
|
|
93
|
+
var id = query.get('id');
|
|
94
|
+
if (id) {
|
|
95
|
+
history.replace("".concat(location.pathname, "?id=").concat(id, "&tab=").concat(tab));
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
(0, _react.useEffect)(function () {
|
|
100
|
+
var tab = query.get('tab');
|
|
101
|
+
if (tab) {
|
|
102
|
+
handleTabClick(tab, true);
|
|
103
|
+
} else {
|
|
104
|
+
handleTabClick(selectedTab);
|
|
105
|
+
}
|
|
106
|
+
}, []);
|
|
87
107
|
return /*#__PURE__*/_react.default.createElement(_styles2.Container, null, /*#__PURE__*/_react.default.createElement(_styles2.DetailHeaderContainer, null, /*#__PURE__*/_react.default.createElement(_styles2.TitleWrapper, null, /*#__PURE__*/_react.default.createElement("h2", null, (_siteState$site = siteState.site) === null || _siteState$site === void 0 ? void 0 : _siteState$site.name)), /*#__PURE__*/_react.default.createElement(_styles2.RightHeader, null, width > 576 && /*#__PURE__*/_react.default.createElement(_styles.IconButton, {
|
|
88
108
|
color: "black",
|
|
89
109
|
onClick: expandSidebar
|
|
@@ -98,7 +118,7 @@ var OrderingProductDetailsUI = function OrderingProductDetailsUI(props) {
|
|
|
98
118
|
key: tab.key,
|
|
99
119
|
active: selectedTab === tab.key,
|
|
100
120
|
onClick: function onClick() {
|
|
101
|
-
return
|
|
121
|
+
return handleTabClick(tab.key);
|
|
102
122
|
}
|
|
103
123
|
}, tab.content);
|
|
104
124
|
})), selectedTab === 'general' && /*#__PURE__*/_react.default.createElement(_OrderingProductGeneralDetails.OrderingProductGeneralDetails, props), /*#__PURE__*/_react.default.createElement(_Shared.Confirm, {
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.OrderingProductsListing = void 0;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _reactRouterDom = require("react-router-dom");
|
|
9
10
|
var _orderingComponentsAdminExternal = require("ordering-components-admin-external");
|
|
10
11
|
var _InfoShareContext = require("../../../contexts/InfoShareContext");
|
|
11
12
|
var _Shared = require("../../Shared");
|
|
@@ -41,6 +42,8 @@ var OrderingProductsUI = function OrderingProductsUI(props) {
|
|
|
41
42
|
paginationProps = props.paginationProps,
|
|
42
43
|
setPaginationProps = props.setPaginationProps,
|
|
43
44
|
handleSuccessUpdateSites = props.handleSuccessUpdateSites;
|
|
45
|
+
var history = (0, _reactRouterDom.useHistory)();
|
|
46
|
+
var query = new URLSearchParams((0, _reactRouterDom.useLocation)().search);
|
|
44
47
|
var _useLanguage = (0, _orderingComponentsAdminExternal.useLanguage)(),
|
|
45
48
|
_useLanguage2 = _slicedToArray(_useLanguage, 2),
|
|
46
49
|
t = _useLanguage2[1];
|
|
@@ -73,13 +76,17 @@ var OrderingProductsUI = function OrderingProductsUI(props) {
|
|
|
73
76
|
}));
|
|
74
77
|
getSites(expectedPage, pageSize);
|
|
75
78
|
};
|
|
76
|
-
var onClickProduct = function onClickProduct(product) {
|
|
79
|
+
var onClickProduct = function onClickProduct(product, isInitialRender) {
|
|
77
80
|
setSelectedSite(product);
|
|
78
81
|
setOpenDetails(true);
|
|
82
|
+
if (product && !isInitialRender) {
|
|
83
|
+
history.replace("".concat(location.pathname, "?id=").concat(product === null || product === void 0 ? void 0 : product.id));
|
|
84
|
+
}
|
|
79
85
|
};
|
|
80
86
|
var handleCloseDetail = function handleCloseDetail() {
|
|
81
87
|
setOpenDetails(false);
|
|
82
88
|
setSelectedSite(null);
|
|
89
|
+
history.replace("".concat(location.pathname));
|
|
83
90
|
};
|
|
84
91
|
(0, _react.useEffect)(function () {
|
|
85
92
|
if (!(sitesListState !== null && sitesListState !== void 0 && sitesListState.error)) return;
|
|
@@ -88,6 +95,16 @@ var OrderingProductsUI = function OrderingProductsUI(props) {
|
|
|
88
95
|
content: sitesListState === null || sitesListState === void 0 ? void 0 : sitesListState.error
|
|
89
96
|
});
|
|
90
97
|
}, [sitesListState === null || sitesListState === void 0 ? void 0 : sitesListState.error]);
|
|
98
|
+
(0, _react.useEffect)(function () {
|
|
99
|
+
if (sitesListState.loading) return;
|
|
100
|
+
var productId = query.get('id');
|
|
101
|
+
if (productId) {
|
|
102
|
+
var initProduct = sitesListState.sites.find(function (site) {
|
|
103
|
+
return site.id === Number(productId);
|
|
104
|
+
});
|
|
105
|
+
if (initProduct) onClickProduct(initProduct, true);
|
|
106
|
+
}
|
|
107
|
+
}, [sitesListState]);
|
|
91
108
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles2.OrderingProductsContainer, null, /*#__PURE__*/_react.default.createElement(_styles2.HeaderContainer, null, /*#__PURE__*/_react.default.createElement(_styles2.HeaderTitleContainer, null, isCollapse && /*#__PURE__*/_react.default.createElement(_styles.IconButton, {
|
|
92
109
|
color: "black",
|
|
93
110
|
onClick: function onClick() {
|