ordering-ui-admin-external 1.8.5 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_bundles/{ordering-ui-admin.66a745752c35fb204c80.js → ordering-ui-admin.e741ec718656ba6908ef.js} +2 -2
- package/_bundles/{ordering-ui-admin.66a745752c35fb204c80.js.LICENSE.txt → ordering-ui-admin.e741ec718656ba6908ef.js.LICENSE.txt} +0 -0
- package/_modules/components/BusinessIntelligence/BusinessReviewList/index.js +2 -1
- package/_modules/components/BusinessIntelligence/UsersReviewList/index.js +2 -1
- package/_modules/components/Delivery/DriversGroupDeliveryZoneInformation/index.js +23 -5
- package/_modules/components/Delivery/DriversGroupDetails/index.js +6 -9
- package/_modules/components/Delivery/UsersList/index.js +2 -1
- package/_modules/components/MyProducts/OrderingWebsite/index.js +50 -8
- package/_modules/components/OrderingProducts/OrderingProductsListing/index.js +2 -1
- package/_modules/components/Orders/OrderBill/index.js +17 -17
- package/_modules/components/Profile/ProfilePage/index.js +3 -1
- package/_modules/components/Profile/ProfilePage/styles.js +23 -6
- package/_modules/components/Settings/Deliverect/index.js +103 -0
- package/_modules/components/Settings/Deliverect/styles.js +115 -0
- package/_modules/components/Settings/DoordashConnect/index.js +1 -1
- package/_modules/components/Settings/IntegrationListing/index.js +41 -2
- package/_modules/components/Settings/IntegrationListing/styles.js +7 -4
- package/_modules/components/Settings/ItsaCheckmate/index.js +112 -0
- package/_modules/components/Settings/ItsaCheckmate/styles.js +118 -0
- package/_modules/components/Settings/PickerExpress/index.js +178 -0
- package/_modules/components/Settings/PickerExpress/styles.js +111 -0
- package/_modules/components/Settings/index.js +8 -1
- package/_modules/components/Shared/Modal/styles.js +1 -1
- package/_modules/components/SidebarMenu/index.js +14 -1
- package/_modules/components/SidebarMenu/styles.js +9 -3
- package/_modules/components/Stores/BusinessAdd/BusinessDetails/index.js +95 -0
- package/_modules/components/Stores/BusinessAdd/BusinessDetails/styles.js +43 -0
- package/_modules/components/Stores/BusinessAdd/DeliveryZone/index.js +233 -0
- package/_modules/components/Stores/BusinessAdd/DeliveryZone/styles.js +40 -0
- package/_modules/components/Stores/BusinessAdd/Images/index.js +181 -0
- package/_modules/components/Stores/BusinessAdd/Images/styles.js +42 -0
- package/_modules/components/Stores/BusinessAdd/OrderTypePriceLevel/index.js +53 -0
- package/_modules/components/Stores/BusinessAdd/OrderTypePriceLevel/styles.js +31 -0
- package/_modules/components/Stores/BusinessAdd/OtherDetails/index.js +43 -0
- package/_modules/components/Stores/BusinessAdd/OtherDetails/styles.js +25 -0
- package/_modules/components/Stores/BusinessAdd/PaymentMethods/index.js +48 -0
- package/_modules/components/Stores/BusinessAdd/PaymentMethods/styles.js +31 -0
- package/_modules/components/Stores/BusinessAdd/Photos/index.js +174 -0
- package/_modules/components/Stores/BusinessAdd/Photos/styles.js +46 -0
- package/_modules/components/Stores/BusinessAdd/ReceiveOrders/index.js +48 -0
- package/_modules/components/Stores/BusinessAdd/ReceiveOrders/styles.js +24 -0
- package/_modules/components/Stores/BusinessAdd/Schedule/index.js +31 -0
- package/_modules/components/Stores/BusinessAdd/Schedule/styles.js +14 -0
- package/_modules/components/Stores/BusinessAdd/index.js +170 -0
- package/_modules/components/Stores/BusinessAdd/styles.js +29 -0
- package/_modules/components/Stores/BusinessDeliveryDetails/styles.js +1 -1
- package/_modules/components/Stores/BusinessDeliveryPickupMore/index.js +4 -0
- package/_modules/components/Stores/BusinessDeliveryZoneInformation/index.js +1 -1
- package/_modules/components/Stores/BusinessPickupDetails/styles.js +1 -1
- package/_modules/components/Stores/BusinessProductAddForm/index.js +5 -5
- package/_modules/components/Stores/BusinessProductsCategoyInfo/index.js +1 -6
- package/_modules/components/Stores/BusinessProductsListing/index.js +38 -14
- package/_modules/components/Stores/BusinessesList/index.js +5 -3
- package/_modules/components/Stores/BusinessesListing/index.js +51 -26
- package/_modules/components/Stores/BusinessesListing/styles.js +22 -15
- package/_modules/components/Stores/BusinessesListingHeader/index.js +6 -5
- package/_modules/components/Stores/ProductStartGuide/index.js +69 -0
- package/_modules/components/Stores/ProductStartGuide/styles.js +28 -0
- package/_modules/components/Stores/ProductStep/index.js +92 -0
- package/_modules/components/Stores/ProductStep/styles.js +18 -0
- package/_modules/components/Stores/RestaurantSelectGuide/index.js +104 -0
- package/_modules/components/Stores/RestaurantSelectGuide/styles.js +44 -0
- package/_modules/components/Stores/index.js +36 -1
- package/_modules/components/Users/ProfessionalAddForm/index.js +16 -3
- package/_modules/components/Users/ProfessionalList/index.js +2 -1
- package/_modules/components/Users/ProfessionalListing/index.js +2 -0
- package/_modules/components/Users/ProfessionalSchedule/Schedule/index.js +36 -0
- package/_modules/components/Users/ProfessionalSchedule/index.js +10 -120
- package/_modules/components/Users/ProfessionalSchedule/styles.js +4 -16
- package/_modules/components/Users/UserFormDetails/index.js +1 -1
- package/_modules/components/Users/UsersList/index.js +5 -4
- package/_modules/components/Users/UsersListingHeader/index.js +5 -2
- package/_modules/components/Users/UsersListingHeader/styles.js +18 -3
- package/_modules/index.js +36 -0
- package/index-template.js +64 -2
- package/package.json +2 -2
- package/src/components/BusinessIntelligence/BusinessReviewList/index.js +1 -0
- package/src/components/BusinessIntelligence/UsersReviewList/index.js +1 -0
- package/src/components/Delivery/DriversGroupDeliveryZoneInformation/index.js +20 -0
- package/src/components/Delivery/DriversGroupDetails/index.js +7 -7
- package/src/components/Delivery/DriversGroupsDeliveryZoneDetails/index.js +1 -1
- package/src/components/Delivery/UsersList/index.js +1 -0
- package/src/components/MyProducts/OrderingWebsite/index.js +45 -3
- package/src/components/OrderingProducts/OrderingProductsListing/index.js +1 -0
- package/src/components/Orders/OrderBill/index.js +20 -22
- package/src/components/Profile/ProfilePage/index.js +16 -2
- package/src/components/Profile/ProfilePage/styles.js +67 -1
- package/src/components/Settings/Deliverect/index.js +149 -0
- package/src/components/Settings/Deliverect/styles.js +344 -0
- package/src/components/Settings/DoordashConnect/index.js +1 -1
- package/src/components/Settings/IntegrationListing/index.js +47 -13
- package/src/components/Settings/IntegrationListing/styles.js +7 -1
- package/src/components/Settings/ItsaCheckmate/index.js +170 -0
- package/src/components/Settings/ItsaCheckmate/styles.js +366 -0
- package/src/components/Settings/PickerExpress/index.js +222 -0
- package/src/components/Settings/PickerExpress/styles.js +330 -0
- package/src/components/Settings/index.js +3 -1
- package/src/components/Shared/Modal/styles.js +1 -1
- package/src/components/SidebarMenu/index.js +21 -3
- package/src/components/SidebarMenu/styles.js +26 -0
- package/src/components/Stores/BusinessAdd/BusinessDetails/index.js +106 -0
- package/src/components/Stores/BusinessAdd/BusinessDetails/styles.js +107 -0
- package/src/components/Stores/BusinessAdd/DeliveryZone/index.js +250 -0
- package/src/components/Stores/BusinessAdd/DeliveryZone/styles.js +101 -0
- package/src/components/Stores/BusinessAdd/Images/index.js +168 -0
- package/src/components/Stores/BusinessAdd/Images/styles.js +94 -0
- package/src/components/Stores/BusinessAdd/OrderTypePriceLevel/index.js +43 -0
- package/src/components/Stores/BusinessAdd/OrderTypePriceLevel/styles.js +70 -0
- package/src/components/Stores/BusinessAdd/OtherDetails/index.js +51 -0
- package/src/components/Stores/BusinessAdd/OtherDetails/styles.js +49 -0
- package/src/components/Stores/BusinessAdd/PaymentMethods/index.js +39 -0
- package/src/components/Stores/BusinessAdd/PaymentMethods/styles.js +46 -0
- package/src/components/Stores/BusinessAdd/Photos/index.js +156 -0
- package/src/components/Stores/BusinessAdd/Photos/styles.js +108 -0
- package/src/components/Stores/BusinessAdd/ReceiveOrders/index.js +46 -0
- package/src/components/Stores/BusinessAdd/ReceiveOrders/styles.js +69 -0
- package/src/components/Stores/BusinessAdd/Schedule/index.js +23 -0
- package/src/components/Stores/BusinessAdd/Schedule/styles.js +14 -0
- package/src/components/Stores/BusinessAdd/index.js +184 -0
- package/src/components/Stores/BusinessAdd/styles.js +85 -0
- package/src/components/Stores/BusinessDeliveryDetails/styles.js +1 -0
- package/src/components/Stores/BusinessDeliveryPickupMore/index.js +9 -1
- package/src/components/Stores/BusinessDeliveryZoneInformation/index.js +8 -10
- package/src/components/Stores/BusinessPickupDetails/styles.js +1 -0
- package/src/components/Stores/BusinessProductAddForm/index.js +13 -11
- package/src/components/Stores/BusinessProductsCategoyInfo/index.js +4 -7
- package/src/components/Stores/BusinessProductsListing/index.js +20 -0
- package/src/components/Stores/BusinessesList/index.js +4 -2
- package/src/components/Stores/BusinessesListing/index.js +101 -67
- package/src/components/Stores/BusinessesListing/styles.js +36 -0
- package/src/components/Stores/BusinessesListingHeader/index.js +58 -51
- package/src/components/Stores/ProductStartGuide/index.js +60 -0
- package/src/components/Stores/ProductStartGuide/styles.js +62 -0
- package/src/components/Stores/ProductStep/index.js +84 -0
- package/src/components/Stores/ProductStep/styles.js +29 -0
- package/src/components/Stores/RestaurantSelectGuide/index.js +119 -0
- package/src/components/Stores/RestaurantSelectGuide/styles.js +150 -0
- package/src/components/Stores/index.js +11 -1
- package/src/components/Users/ProfessionalAddForm/index.js +11 -1
- package/src/components/Users/ProfessionalList/index.js +1 -0
- package/src/components/Users/ProfessionalListing/index.js +2 -0
- package/src/components/Users/ProfessionalSchedule/Schedule/index.js +32 -0
- package/src/components/Users/ProfessionalSchedule/index.js +9 -49
- package/src/components/Users/ProfessionalSchedule/styles.js +0 -49
- package/src/components/Users/UserFormDetails/index.js +1 -1
- package/src/components/Users/UsersList/index.js +4 -2
- package/src/components/Users/UsersListingHeader/index.js +17 -2
- package/src/components/Users/UsersListingHeader/styles.js +59 -0
- package/src/index.js +14 -2
- package/template/app.js +4 -0
- package/template/assets/images/dummies/no-businesses.png +0 -0
- package/template/assets/images/import-menu.png +0 -0
- package/template/assets/images/imported-menu.png +0 -0
- package/template/assets/images/picker-express.png +0 -0
- package/template/components/ListenPageChanges/index.js +1 -0
- package/template/config.json +1 -1
- package/template/helmetdata.json +7 -0
- package/template/pages/BusinessAdd/index.js +11 -0
|
@@ -0,0 +1,115 @@
|
|
|
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.YoutubeVideoWrapper = exports.YoutubeVideoInner = exports.Tab = exports.SettingListConatiner = exports.HeaderIcons = exports.Header = exports.GetStarted = exports.DropdownButtonWrapper = exports.DescriptionHeader = exports.Description = exports.DeliverectContainer = exports.Container = exports.CategoryExtraContent = exports.ApiKeysListTable = exports.AllSetting = exports.AddNewButton = 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;
|
|
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 DeliverectContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 26px 20px;\n box-sizing: border-box;\n width: 100%;\n overflow-x: hidden;\n position: relative;\n\n @media (min-width: 768px) {\n padding: 26px 40px;\n }\n"])));
|
|
14
|
+
exports.DeliverectContainer = DeliverectContainer;
|
|
15
|
+
var Header = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-bottom: 30px;\n\n ", "\n\n h1 {\n font-size: 20px;\n font-weight: 700;\n margin: 0px;\n text-transform: capitalize;\n }\n\n button {\n line-height: 12px;\n height: 16px;\n font-size: 10px;\n margin-left: 15px;\n padding: 2px 8px;\n border-radius: 50px;\n ", "\n }\n"])), function (props) {
|
|
16
|
+
var _props$theme;
|
|
17
|
+
return (_props$theme = props.theme) !== null && _props$theme !== void 0 && _props$theme.rtl ? (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin-left: 35px;\n "]))) : (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-right: 35px;\n "])));
|
|
18
|
+
}, function (props) {
|
|
19
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-right: 15px;\n margin-left: 0px;\n "])));
|
|
20
|
+
});
|
|
21
|
+
exports.Header = Header;
|
|
22
|
+
var ApiKeysListTable = _styledComponents.default.table(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n width: 100%;\n margin-top: 25px;\n\n thead {\n border-bottom: 1px solid ", ";\n th {\n padding: 10px 0;\n &:last-child {\n padding-left: 20px;\n padding-right: 20px;\n }\n }\n }\n tr {\n width: 100%;\n th,\n td {\n font-size: 12px;\n word-break: break-all;\n\n &:last-child {\n width: 100px;\n > div {\n padding-left: 20px;\n padding-right: 20px;\n }\n }\n }\n }\n\n tbody {\n border-bottom: 1px solid ", ";\n td {\n padding-top: 9px;\n padding-bottom: 9px;\n\n &:last-child {\n > div {\n display: flex;\n justify-content: flex-end;\n }\n }\n }\n }\n"])), function (props) {
|
|
23
|
+
return props.theme.colors.secundaryLight;
|
|
24
|
+
}, function (props) {
|
|
25
|
+
return props.theme.colors.borderColor;
|
|
26
|
+
});
|
|
27
|
+
exports.ApiKeysListTable = ApiKeysListTable;
|
|
28
|
+
var DropdownButtonWrapper = _styledComponents.default.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n ", "\n padding: 5px 20px;\n button {\n background: transparent !important;\n border: none;\n padding: 0px;\n &:active,\n &:focus {\n border-color: unset !important;\n box-shadow: none !important;\n }\n svg {\n color: ", ";\n }\n\n &:after {\n display: none;\n }\n }\n\n .show {\n button {\n background: ", " !important;\n border-color: unset !important;\n box-shadow: none !important;\n }\n >div {\n border: 1px solid ", ";\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);\n }\n }\n\n > div {\n > div {\n border-radius: 8px;\n .dropdown-item {\n font-size: 12px;\n color: ", ";\n }\n .dropdown-item:last-child {\n color: #E63757;\n }\n }\n }\n"])), function (props) {
|
|
29
|
+
var _props$theme2;
|
|
30
|
+
return props !== null && props !== void 0 && (_props$theme2 = props.theme) !== null && _props$theme2 !== void 0 && _props$theme2.rtl ? (0, _styledComponents.css)(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n border-right: 1px solid ", ";\n "])), function (props) {
|
|
31
|
+
return props.theme.colors.borderColor;
|
|
32
|
+
}) : (0, _styledComponents.css)(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n border-left: 1px solid ", ";\n "])), function (props) {
|
|
33
|
+
return props.theme.colors.borderColor;
|
|
34
|
+
});
|
|
35
|
+
}, function (props) {
|
|
36
|
+
return props.theme.colors.headingColor;
|
|
37
|
+
}, function (props) {
|
|
38
|
+
return props.theme.colors.secundary;
|
|
39
|
+
}, function (props) {
|
|
40
|
+
return props.theme.colors.borderColor;
|
|
41
|
+
}, function (props) {
|
|
42
|
+
return props.theme.colors.headingColor;
|
|
43
|
+
});
|
|
44
|
+
exports.DropdownButtonWrapper = DropdownButtonWrapper;
|
|
45
|
+
var AddNewButton = _styledComponents.default.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n cursor: pointer;\n font-size: 12px;\n color: ", ";\n margin: 20px 0;\n width: fit-content;\n\n &:hover {\n color: ", ";\n }\n"])), function (props) {
|
|
46
|
+
return props.theme.colors.lightGray;
|
|
47
|
+
}, function (props) {
|
|
48
|
+
return props.theme.colors.primary;
|
|
49
|
+
});
|
|
50
|
+
exports.AddNewButton = AddNewButton;
|
|
51
|
+
var AllSetting = _styledComponents.default.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n user-select: none;\n cursor: pointer;\n margin-top: 36px;\n cursor: pointer;\n span {\n font-weight: 600;\n font-size: 14px;\n color: ", ";\n }\n svg {\n color: ", ";\n margin-left: 5px;\n transition: 0.2s linear;\n ", "\n }\n &:hover {\n svg {\n transform: translateX(3px);\n }\n }\n"])), function (props) {
|
|
52
|
+
return props.theme.colors.primary;
|
|
53
|
+
}, function (props) {
|
|
54
|
+
return props.theme.colors.primary;
|
|
55
|
+
}, function (props) {
|
|
56
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n margin-right: 5px;\n margin-left: 0px;\n "])));
|
|
57
|
+
});
|
|
58
|
+
exports.AllSetting = AllSetting;
|
|
59
|
+
var Description = _styledComponents.default.p(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n margin-top: 40px;\n font-size: 14px;\n margin-bottom: 0px;\n text-align: justify;\n\n @media (min-width: 768px) {\n text-align: initial;\n }\n"])));
|
|
60
|
+
exports.Description = Description;
|
|
61
|
+
var CategoryExtraContent = _styledComponents.default.div(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n position: relative;\n padding: 26px 26px 60px 26px;\n box-sizing: border-box;\n width: 100%;\n overflow: auto;\n\n ", "\n\n > button {\n z-index: 100;\n position: absolute;\n top: 25px;\n ", "\n }\n"])), function (props) {
|
|
62
|
+
var _props$theme3;
|
|
63
|
+
return (_props$theme3 = props.theme) !== null && _props$theme3 !== void 0 && _props$theme3.rtl ? (0, _styledComponents.css)(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n border-right: 1px solid #E9ECEF;\n "]))) : (0, _styledComponents.css)(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n border-left: 1px solid #E9ECEF;\n "])));
|
|
64
|
+
}, function (props) {
|
|
65
|
+
var _props$theme4;
|
|
66
|
+
return (_props$theme4 = props.theme) !== null && _props$theme4 !== void 0 && _props$theme4.rtl ? (0, _styledComponents.css)(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n left: 20px;\n "]))) : (0, _styledComponents.css)(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n right: 20px;\n "])));
|
|
67
|
+
});
|
|
68
|
+
exports.CategoryExtraContent = CategoryExtraContent;
|
|
69
|
+
var Container = _styledComponents.default.div(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n display: flex;\n width: 0;\n position: fixed;\n box-shadow: -4px 0px 7px #ccc;\n\n ", "\n background: ", ";\n height: calc(var(--vh, 1vh) * 100);\n top: 0px;\n z-index: 1001;\n overflow-x: hidden;\n transition: 0.3s;\n\n ", "\n @media print {\n box-shadow: none;\n }\n"])), function (_ref) {
|
|
70
|
+
var isDriverOrders = _ref.isDriverOrders;
|
|
71
|
+
return isDriverOrders && (0, _styledComponents.css)(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n position: absolute;\n box-shadow: none;\n\n ", "\n "])), function (props) {
|
|
72
|
+
var _props$theme5;
|
|
73
|
+
return (_props$theme5 = props.theme) !== null && _props$theme5 !== void 0 && _props$theme5.rtl ? (0, _styledComponents.css)(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n border-right: 1px solid #CCC;\n "]))) : (0, _styledComponents.css)(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n border-left: 1px solid #CCC;\n "])));
|
|
74
|
+
});
|
|
75
|
+
}, function (props) {
|
|
76
|
+
var _props$theme$colors;
|
|
77
|
+
return ((_props$theme$colors = props.theme.colors) === null || _props$theme$colors === void 0 ? void 0 : _props$theme$colors.backgroundPage) || '#FFF';
|
|
78
|
+
}, function (props) {
|
|
79
|
+
var _props$theme6;
|
|
80
|
+
return (_props$theme6 = props.theme) !== null && _props$theme6 !== void 0 && _props$theme6.rtl ? (0, _styledComponents.css)(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n left: 0px;\n "]))) : (0, _styledComponents.css)(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n right: 0px;\n "])));
|
|
81
|
+
});
|
|
82
|
+
exports.Container = Container;
|
|
83
|
+
var DescriptionHeader = _styledComponents.default.div(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n"])));
|
|
84
|
+
exports.DescriptionHeader = DescriptionHeader;
|
|
85
|
+
var HeaderIcons = _styledComponents.default.div(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n display: flex;\n position: absolute;\n top: 25px;\n right: 20px;\n\n > button:first-child {\n ", "\n }\n"])), function (props) {
|
|
86
|
+
var _props$theme7;
|
|
87
|
+
return (_props$theme7 = props.theme) !== null && _props$theme7 !== void 0 && _props$theme7.rtl ? (0, _styledComponents.css)(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n margin-left: 8px;\n "]))) : (0, _styledComponents.css)(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n margin-right: 8px;\n "])));
|
|
88
|
+
});
|
|
89
|
+
exports.HeaderIcons = HeaderIcons;
|
|
90
|
+
var SettingListConatiner = _styledComponents.default.div(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n width: 100%;\n margin: 20px 0;\n border-bottom: 1px solid #E9ECEF;\n"])));
|
|
91
|
+
exports.SettingListConatiner = SettingListConatiner;
|
|
92
|
+
var Tab = _styledComponents.default.div(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["\n user-select: none;\n padding: 10px 0px;\n cursor: pointer;\n color: ", ";\n font-size: 14px;\n white-space: nowrap;\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
93
|
+
var _props$theme$colors2;
|
|
94
|
+
return (_props$theme$colors2 = props.theme.colors) === null || _props$theme$colors2 === void 0 ? void 0 : _props$theme$colors2.headingColor;
|
|
95
|
+
}, function (props) {
|
|
96
|
+
var _props$theme8;
|
|
97
|
+
return (_props$theme8 = props.theme) !== null && _props$theme8 !== void 0 && _props$theme8.rtl ? (0, _styledComponents.css)(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n margin-left: 30px;\n "]))) : (0, _styledComponents.css)(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n margin-right: 30px;\n "])));
|
|
98
|
+
}, function (_ref2) {
|
|
99
|
+
var active = _ref2.active;
|
|
100
|
+
return active && (0, _styledComponents.css)(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n border-bottom: 2px solid;\n font-weight: 500;\n "])));
|
|
101
|
+
}, function (_ref3) {
|
|
102
|
+
var active = _ref3.active;
|
|
103
|
+
return !active && (0, _styledComponents.css)(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["\n color: #909BA9;\n "])));
|
|
104
|
+
});
|
|
105
|
+
exports.Tab = Tab;
|
|
106
|
+
var GetStarted = _styledComponents.default.div(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["\n h2 {\n font-weight: 500;\n font-size: 14px;\n line-height: 24px;\n margin-top: 0px;\n margin-bottom: 10px;\n }\n p {\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n margin-top: 0px;\n margin-bottom: 8px;\n color: ", ";\n }\n button {\n border-radius: 8px;\n height: 44px;\n }\n"])), function (props) {
|
|
107
|
+
return props.theme.colors.lightGray;
|
|
108
|
+
});
|
|
109
|
+
exports.GetStarted = GetStarted;
|
|
110
|
+
var YoutubeVideoWrapper = _styledComponents.default.div(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n margin-top: 50px;\n padding-bottom: 30px;\n"])));
|
|
111
|
+
exports.YoutubeVideoWrapper = YoutubeVideoWrapper;
|
|
112
|
+
var YoutubeVideoInner = _styledComponents.default.div(_templateObject37 || (_templateObject37 = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n padding-bottom: 56.25%;\n box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);\n border-radius: 7.6px;\n background-color: ", ";\n\n iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: 0;\n }\n"])), function (props) {
|
|
113
|
+
return props.theme.colors.secundaryDarkContrast;
|
|
114
|
+
});
|
|
115
|
+
exports.YoutubeVideoInner = YoutubeVideoInner;
|
|
@@ -94,7 +94,7 @@ var DoordashConnectUI = function DoordashConnectUI(props) {
|
|
|
94
94
|
}
|
|
95
95
|
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.XLg, null)), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_styles2.Header, null, /*#__PURE__*/_react.default.createElement("h1", null, t('MORE_INFO', 'More Info'))), /*#__PURE__*/_react.default.createElement(_styles2.SettingListConatiner, null, /*#__PURE__*/_react.default.createElement(_Shared.DragScroll, null, /*#__PURE__*/_react.default.createElement(_styles2.Tab, {
|
|
96
96
|
active: true
|
|
97
|
-
}, t('GENERAL', 'General')))), /*#__PURE__*/_react.default.createElement(_styles2.Paragraph, null, /*#__PURE__*/_react.default.createElement("h2", null, t('REQUIREMENTS', 'Requirements')), /*#__PURE__*/_react.default.createElement("p", null, t('DOORDASH_CONNECT_REQUIREMENTS', 'For this integration to work you need: \n' + '1.- Doordash account. \n' + '2.- The advanced logistics module must be active. \n' + '3.- Package of Ordering. \n' + '4.- This is only available for United States currently.'))), /*#__PURE__*/_react.default.createElement(_styles2.Paragraph, null, /*#__PURE__*/_react.default.createElement("h2", null, t('ARTICLE', 'Article')), /*#__PURE__*/_react.default.createElement("p", null, t('DOORDASH_CONNECT_ARTICLE', 'To connect with Doordash, you’ll have to use plugins, put in your Doordash credentials, connect your Doordash account, and create a driver company inside this dashboard; follow the next article step by step and get this connected in less than 5 minutes.')), /*#__PURE__*/_react.default.createElement("a", {
|
|
97
|
+
}, t('GENERAL', 'General')))), /*#__PURE__*/_react.default.createElement(_styles2.Paragraph, null, /*#__PURE__*/_react.default.createElement("h2", null, t('REQUIREMENTS', 'Requirements')), /*#__PURE__*/_react.default.createElement("p", null, t('DOORDASH_CONNECT_REQUIREMENTS', 'For this integration to work you need: \n' + '1.- Doordash account. \n' + '2.- The advanced logistics module must be active. \n' + '3.- Package of Ordering. \n' + '4.- This is only available for United States, Canada and Australia currently.'))), /*#__PURE__*/_react.default.createElement(_styles2.Paragraph, null, /*#__PURE__*/_react.default.createElement("h2", null, t('ARTICLE', 'Article')), /*#__PURE__*/_react.default.createElement("p", null, t('DOORDASH_CONNECT_ARTICLE', 'To connect with Doordash, you’ll have to use plugins, put in your Doordash credentials, connect your Doordash account, and create a driver company inside this dashboard; follow the next article step by step and get this connected in less than 5 minutes.')), /*#__PURE__*/_react.default.createElement("a", {
|
|
98
98
|
onClick: function onClick() {
|
|
99
99
|
return handleGoToLink(t('DOORDASH_CONNECT_ARTICLE_LINK', 'https://support.ordering.co/hc/en-us/articles/10511253204749'));
|
|
100
100
|
}
|
|
@@ -16,9 +16,12 @@ var _PluginList = require("../PluginList");
|
|
|
16
16
|
var _WebhookList = require("../WebhookList");
|
|
17
17
|
var _ApiKeysList = require("../ApiKeysList");
|
|
18
18
|
var _DoordashConnect = require("../DoordashConnect");
|
|
19
|
-
var _styles2 = require("./styles");
|
|
20
19
|
var _styledComponents = require("styled-components");
|
|
21
20
|
var _LalaMoveConnect = require("../LalaMoveConnect");
|
|
21
|
+
var _Deliverect = require("../Deliverect");
|
|
22
|
+
var _ItsaCheckmate = require("../ItsaCheckmate");
|
|
23
|
+
var _styles2 = require("./styles");
|
|
24
|
+
var _PickerExpress = require("../PickerExpress");
|
|
22
25
|
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); }
|
|
23
26
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
24
27
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
@@ -116,7 +119,31 @@ var IntegrationListing = function IntegrationListing(props) {
|
|
|
116
119
|
}
|
|
117
120
|
}, /*#__PURE__*/_react.default.createElement(_styles2.IconWrapper, null, /*#__PURE__*/_react.default.createElement("img", {
|
|
118
121
|
src: theme.images.general.lalamove
|
|
119
|
-
})), /*#__PURE__*/_react.default.createElement(_styles2.SettingItemContent, null, /*#__PURE__*/_react.default.createElement("h5", null, t('CONNECT_WITH_LALAMOVE', 'Connect with
|
|
122
|
+
})), /*#__PURE__*/_react.default.createElement(_styles2.SettingItemContent, null, /*#__PURE__*/_react.default.createElement("h5", null, t('CONNECT_WITH_LALAMOVE', 'Connect with Lalamove')), /*#__PURE__*/_react.default.createElement("p", null, t('CONNECT_LALAMOVE_DESCRIPTION', 'Send orders directly to your drivers in LalaMove and keep customers happy with their deliveries.')))), /*#__PURE__*/_react.default.createElement(_styles2.SettingItemContainer, {
|
|
123
|
+
onClick: function onClick() {
|
|
124
|
+
return handleOpenSetting('picker_express');
|
|
125
|
+
}
|
|
126
|
+
}, /*#__PURE__*/_react.default.createElement(_styles2.IconWrapper, {
|
|
127
|
+
fullWidth: true
|
|
128
|
+
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
129
|
+
src: theme.images.general.pickerExpress
|
|
130
|
+
})), /*#__PURE__*/_react.default.createElement(_styles2.SettingItemContent, null, /*#__PURE__*/_react.default.createElement("h5", null, t('CONNECT_WITH_PICKER_EXPRESS', 'Connect with Picker Express')), /*#__PURE__*/_react.default.createElement("p", null, t('CONNECT_PICKER_EXPRESS_DESCRIPTION', 'Picker express connect you with +200 hundred thousand driver from +10 delivery companies from your city.')))), /*#__PURE__*/_react.default.createElement(_styles2.SettingItemContainer, {
|
|
131
|
+
onClick: function onClick() {
|
|
132
|
+
return handleOpenSetting('deliverect');
|
|
133
|
+
}
|
|
134
|
+
}, /*#__PURE__*/_react.default.createElement(_styles2.IconWrapper, null, /*#__PURE__*/_react.default.createElement("img", {
|
|
135
|
+
src: theme.images.general.deliverect
|
|
136
|
+
})), /*#__PURE__*/_react.default.createElement(_styles2.SettingItemContent, null, /*#__PURE__*/_react.default.createElement("h5", null, t('DELIVERECT', 'Deliverect')), /*#__PURE__*/_react.default.createElement("p", null, t('SYNC_DEC_FIRST', 'The easiest way to manage all your online orders.')))), /*#__PURE__*/_react.default.createElement(_styles2.SettingItemContainer, {
|
|
137
|
+
onClick: function onClick() {
|
|
138
|
+
return handleOpenSetting('itsacheckmate');
|
|
139
|
+
}
|
|
140
|
+
}, /*#__PURE__*/_react.default.createElement(_styles2.IconWrapper, null, /*#__PURE__*/_react.default.createElement("img", {
|
|
141
|
+
src: theme.images.general.ItsaCheckmateLogo
|
|
142
|
+
})), /*#__PURE__*/_react.default.createElement(_styles2.SettingItemContent, null, /*#__PURE__*/_react.default.createElement("h5", null, t('ITSACHECKMATE', 'ItsaCheckmate')), /*#__PURE__*/_react.default.createElement("p", {
|
|
143
|
+
dangerouslySetInnerHTML: {
|
|
144
|
+
__html: t('ITSACHECKMATE_SUB_HEADER', 'Take control of all your <strong>Ordering Platform Menus</strong> in one place!')
|
|
145
|
+
}
|
|
146
|
+
}))))), showOption === 'plugins' && /*#__PURE__*/_react.default.createElement(_Shared.SideBar, {
|
|
120
147
|
sidebarId: "plugins-integrations",
|
|
121
148
|
defaultSideBarWidth: 600,
|
|
122
149
|
open: showOption === 'plugins',
|
|
@@ -145,6 +172,18 @@ var IntegrationListing = function IntegrationListing(props) {
|
|
|
145
172
|
onClose: function onClose() {
|
|
146
173
|
return handleCloseSettings();
|
|
147
174
|
}
|
|
175
|
+
}), showOption === 'picker_express' && /*#__PURE__*/_react.default.createElement(_PickerExpress.PickerExpress, {
|
|
176
|
+
onClose: function onClose() {
|
|
177
|
+
return handleCloseSettings();
|
|
178
|
+
}
|
|
179
|
+
}), showOption === 'deliverect' && /*#__PURE__*/_react.default.createElement(_Deliverect.Deliverect, {
|
|
180
|
+
onClose: function onClose() {
|
|
181
|
+
return handleCloseSettings();
|
|
182
|
+
}
|
|
183
|
+
}), showOption === 'itsacheckmate' && /*#__PURE__*/_react.default.createElement(_ItsaCheckmate.ItsaCheckmate, {
|
|
184
|
+
onClose: function onClose() {
|
|
185
|
+
return handleCloseSettings();
|
|
186
|
+
}
|
|
148
187
|
}));
|
|
149
188
|
};
|
|
150
189
|
exports.IntegrationListing = IntegrationListing;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.SettingListContainer = exports.SettingItemContent = exports.SettingItemContainer = exports.IntegrationsContainer = exports.IconWrapper = exports.Header = 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;
|
|
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) } })); }
|
|
@@ -26,15 +26,18 @@ var SettingItemContainer = _styledComponents.default.div(_templateObject8 || (_t
|
|
|
26
26
|
return props.theme.colors.borderColor;
|
|
27
27
|
});
|
|
28
28
|
exports.SettingItemContainer = SettingItemContainer;
|
|
29
|
-
var IconWrapper = _styledComponents.default.div(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n background-color: ", ";\n border-radius: 8px;\n width: 64px;\n height: 64px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n font-size: 24px;\n color: ", ";\n }\n img{\n width: 100%;\n
|
|
29
|
+
var IconWrapper = _styledComponents.default.div(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n background-color: ", ";\n border-radius: 8px;\n width: 64px;\n height: 64px;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n\n svg {\n font-size: 24px;\n color: ", ";\n }\n img{\n width: 100%;\n max-width: 90%;\n }\n ", "\n"])), function (props) {
|
|
30
30
|
return props.theme.colors.secundary;
|
|
31
31
|
}, function (props) {
|
|
32
32
|
return props.theme.colors.secundaryLight;
|
|
33
|
+
}, function (_ref) {
|
|
34
|
+
var fullWidth = _ref.fullWidth;
|
|
35
|
+
return fullWidth && (0, _styledComponents.css)(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n img {\n max-width: 100%;\n }\n "])));
|
|
33
36
|
});
|
|
34
37
|
exports.IconWrapper = IconWrapper;
|
|
35
|
-
var SettingItemContent = _styledComponents.default.div(
|
|
38
|
+
var SettingItemContent = _styledComponents.default.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n flex: 1;\n ", "\n h5 {\n font-size: 14px;\n font-weight: 500;\n margin-bottom: 6px;\n }\n p {\n color: ", ";\n font-size: 12px;\n margin: 0px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n }\n"])), function (props) {
|
|
36
39
|
var _props$theme3;
|
|
37
|
-
return (_props$theme3 = props.theme) !== null && _props$theme3 !== void 0 && _props$theme3.rtl ? (0, _styledComponents.css)(
|
|
40
|
+
return (_props$theme3 = props.theme) !== null && _props$theme3 !== void 0 && _props$theme3.rtl ? (0, _styledComponents.css)(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n margin-right: 13px;\n "]))) : (0, _styledComponents.css)(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n margin-left: 13px;\n "])));
|
|
38
41
|
}, function (props) {
|
|
39
42
|
return props.theme.colors.lightGray;
|
|
40
43
|
});
|
|
@@ -0,0 +1,112 @@
|
|
|
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.ItsaCheckmate = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _orderingComponentsAdminExternal = require("ordering-components-admin-external");
|
|
10
|
+
var _styles = require("../../../styles");
|
|
11
|
+
var _Shared = require("../../Shared");
|
|
12
|
+
var _BsArrowRight = _interopRequireDefault(require("@meronex/icons/bs/BsArrowRight"));
|
|
13
|
+
var _reactBootstrapIcons = require("react-bootstrap-icons");
|
|
14
|
+
var _useWindowSize2 = require("../../../hooks/useWindowSize");
|
|
15
|
+
var _styles2 = require("./styles");
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
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); }
|
|
18
|
+
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; }
|
|
19
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
20
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
21
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
22
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
23
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
24
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
25
|
+
var ItsaCheckmate = function ItsaCheckmate(props) {
|
|
26
|
+
var onClose = props.onClose;
|
|
27
|
+
var _useLanguage = (0, _orderingComponentsAdminExternal.useLanguage)(),
|
|
28
|
+
_useLanguage2 = _slicedToArray(_useLanguage, 2),
|
|
29
|
+
t = _useLanguage2[1];
|
|
30
|
+
var _useWindowSize = (0, _useWindowSize2.useWindowSize)(),
|
|
31
|
+
width = _useWindowSize.width;
|
|
32
|
+
var _useState = (0, _react.useState)(false),
|
|
33
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
34
|
+
settingsOpen = _useState2[0],
|
|
35
|
+
setSettingsOpen = _useState2[1];
|
|
36
|
+
var toggleMainContent = function toggleMainContent() {
|
|
37
|
+
if (width <= 500) {
|
|
38
|
+
document.getElementById('catDescription').style.width = '100vw';
|
|
39
|
+
} else {
|
|
40
|
+
if (settingsOpen && width >= 1000) {
|
|
41
|
+
document.getElementById('catDescription').style.width = '1000px';
|
|
42
|
+
} else {
|
|
43
|
+
document.getElementById('catDescription').style.width = '500px';
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
(0, _react.useEffect)(function () {
|
|
48
|
+
if (width < 1000) return;
|
|
49
|
+
if (settingsOpen) {
|
|
50
|
+
document.getElementById('catDescription').style.width = '1000px';
|
|
51
|
+
} else {
|
|
52
|
+
toggleMainContent();
|
|
53
|
+
}
|
|
54
|
+
}, [settingsOpen]);
|
|
55
|
+
(0, _react.useEffect)(function () {
|
|
56
|
+
toggleMainContent();
|
|
57
|
+
}, [width]);
|
|
58
|
+
var LalaMoveConnectDescription = function LalaMoveConnectDescription() {
|
|
59
|
+
return /*#__PURE__*/_react.default.createElement(_styles2.CategoryExtraContent, null, /*#__PURE__*/_react.default.createElement(_styles.IconButton, {
|
|
60
|
+
color: "black",
|
|
61
|
+
onClick: function onClick() {
|
|
62
|
+
return setSettingsOpen(false);
|
|
63
|
+
}
|
|
64
|
+
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.XLg, null)), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_styles2.Header, null, /*#__PURE__*/_react.default.createElement("h1", null, t('MORE_INFO', 'More Info'))), /*#__PURE__*/_react.default.createElement(_styles2.SettingListConatiner, null, /*#__PURE__*/_react.default.createElement(_Shared.DragScroll, null, /*#__PURE__*/_react.default.createElement(_styles2.Tab, {
|
|
65
|
+
active: true
|
|
66
|
+
}, t('GENERAL', 'General')))), /*#__PURE__*/_react.default.createElement(_styles2.GetStarted, null, /*#__PURE__*/_react.default.createElement("h2", null, t('GET_STARTED_RIGHT_HERE', 'Get started right here')), /*#__PURE__*/_react.default.createElement("p", null, t('FILL_UP_THIS_FORM_TO_REQUEST_INFORMATION', 'Fill up this form to request more information')), /*#__PURE__*/_react.default.createElement("a", {
|
|
67
|
+
href: "https://share.hsforms.com/1vuXwaFtfTTeZf362zJgqSg3neff",
|
|
68
|
+
target: "_blank",
|
|
69
|
+
rel: "noopener noreferrer"
|
|
70
|
+
}, /*#__PURE__*/_react.default.createElement(_styles.Button, {
|
|
71
|
+
color: "primary"
|
|
72
|
+
}, t('SEND_FORM', 'Send Form')))), /*#__PURE__*/_react.default.createElement(_styles2.YoutubeVideoWrapper, null, /*#__PURE__*/_react.default.createElement(_styles2.YoutubeVideoInner, null, /*#__PURE__*/_react.default.createElement("iframe", {
|
|
73
|
+
title: "youtube",
|
|
74
|
+
src: "https://www.youtube.com/embed/_caZDl4ZFp0?feature=oembed"
|
|
75
|
+
})))));
|
|
76
|
+
};
|
|
77
|
+
return /*#__PURE__*/_react.default.createElement(_styles2.Container, {
|
|
78
|
+
id: "catDescription"
|
|
79
|
+
}, /*#__PURE__*/_react.default.createElement(_styles2.ItsaCheckmateContainer, null, /*#__PURE__*/_react.default.createElement(_styles2.DescriptionHeader, null, /*#__PURE__*/_react.default.createElement(_styles2.HeaderIcons, null, /*#__PURE__*/_react.default.createElement(_styles.IconButton, {
|
|
80
|
+
color: "black",
|
|
81
|
+
onClick: onClose
|
|
82
|
+
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.XLg, null)))), /*#__PURE__*/_react.default.createElement(_styles2.Header, null, /*#__PURE__*/_react.default.createElement("h1", null, t('ITSACHECKMATE', 'ItsaCheckmate')), /*#__PURE__*/_react.default.createElement(_styles.Button, {
|
|
83
|
+
color: "lightPrimary"
|
|
84
|
+
}, t('NEW', 'New'))), /*#__PURE__*/_react.default.createElement(_styles2.Description, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
85
|
+
className: "sub-header",
|
|
86
|
+
dangerouslySetInnerHTML: {
|
|
87
|
+
__html: t('ITSACHECKMATE_SUB_HEADER', 'Take control of all your <strong>Ordering Platform Menus</strong> in one place!')
|
|
88
|
+
}
|
|
89
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
90
|
+
className: "menu-item"
|
|
91
|
+
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Check2Circle, null), /*#__PURE__*/_react.default.createElement("p", null, t('ITSACHECKMATE_MENU_1', '86 items & modifiers'))), /*#__PURE__*/_react.default.createElement("div", {
|
|
92
|
+
className: "menu-item"
|
|
93
|
+
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Check2Circle, null), /*#__PURE__*/_react.default.createElement("p", null, t('ITSACHECKMATE_MENU_2', 'Turn on or off ordering platforms'))), /*#__PURE__*/_react.default.createElement("div", {
|
|
94
|
+
className: "menu-item"
|
|
95
|
+
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Check2Circle, null), /*#__PURE__*/_react.default.createElement("p", null, t('ITSACHECKMATE_MENU_3', 'Manage delivery hours'))), /*#__PURE__*/_react.default.createElement("div", {
|
|
96
|
+
className: "menu-item"
|
|
97
|
+
}, /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Check2Circle, null), /*#__PURE__*/_react.default.createElement("p", null, t('ITSACHECKMATE_MENU_4', 'Add, edit, or delete items ')))), /*#__PURE__*/_react.default.createElement(_styles2.AllSetting, {
|
|
98
|
+
onClick: function onClick() {
|
|
99
|
+
return setSettingsOpen(true);
|
|
100
|
+
}
|
|
101
|
+
}, /*#__PURE__*/_react.default.createElement("span", null, t('SETTINGS', 'All settings')), /*#__PURE__*/_react.default.createElement(_BsArrowRight.default, null))), settingsOpen && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, width >= 1000 ? /*#__PURE__*/_react.default.createElement(LalaMoveConnectDescription, null) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Shared.Modal, {
|
|
102
|
+
width: "70%",
|
|
103
|
+
height: "90vh",
|
|
104
|
+
open: true,
|
|
105
|
+
padding: "0px",
|
|
106
|
+
onClose: function onClose() {
|
|
107
|
+
return setSettingsOpen(false);
|
|
108
|
+
},
|
|
109
|
+
hideCloseDefault: true
|
|
110
|
+
}, /*#__PURE__*/_react.default.createElement(LalaMoveConnectDescription, null)))));
|
|
111
|
+
};
|
|
112
|
+
exports.ItsaCheckmate = ItsaCheckmate;
|
|
@@ -0,0 +1,118 @@
|
|
|
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.YoutubeVideoWrapper = exports.YoutubeVideoInner = exports.Tab = exports.SettingListConatiner = exports.ItsaCheckmateContainer = exports.HeaderIcons = exports.Header = exports.GetStarted = exports.DropdownButtonWrapper = exports.DescriptionHeader = exports.Description = exports.Container = exports.CategoryExtraContent = exports.ApiKeysListTable = exports.AllSetting = exports.AddNewButton = 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;
|
|
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 ItsaCheckmateContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 26px 20px;\n box-sizing: border-box;\n width: 100%;\n overflow-x: hidden;\n position: relative;\n\n @media (min-width: 768px) {\n padding: 26px 40px;\n }\n"])));
|
|
14
|
+
exports.ItsaCheckmateContainer = ItsaCheckmateContainer;
|
|
15
|
+
var Header = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-bottom: 30px;\n\n ", "\n\n h1 {\n font-size: 20px;\n font-weight: 700;\n margin: 0px;\n text-transform: capitalize;\n }\n\n button {\n line-height: 12px;\n height: 16px;\n font-size: 10px;\n margin-left: 15px;\n padding: 2px 8px;\n border-radius: 50px;\n ", "\n }\n"])), function (props) {
|
|
16
|
+
var _props$theme;
|
|
17
|
+
return (_props$theme = props.theme) !== null && _props$theme !== void 0 && _props$theme.rtl ? (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin-left: 35px;\n "]))) : (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-right: 35px;\n "])));
|
|
18
|
+
}, function (props) {
|
|
19
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-right: 15px;\n margin-left: 0px;\n "])));
|
|
20
|
+
});
|
|
21
|
+
exports.Header = Header;
|
|
22
|
+
var ApiKeysListTable = _styledComponents.default.table(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n width: 100%;\n margin-top: 25px;\n\n thead {\n border-bottom: 1px solid ", ";\n th {\n padding: 10px 0;\n &:last-child {\n padding-left: 20px;\n padding-right: 20px;\n }\n }\n }\n tr {\n width: 100%;\n th,\n td {\n font-size: 12px;\n word-break: break-all;\n\n &:last-child {\n width: 100px;\n > div {\n padding-left: 20px;\n padding-right: 20px;\n }\n }\n }\n }\n\n tbody {\n border-bottom: 1px solid ", ";\n td {\n padding-top: 9px;\n padding-bottom: 9px;\n\n &:last-child {\n > div {\n display: flex;\n justify-content: flex-end;\n }\n }\n }\n }\n"])), function (props) {
|
|
23
|
+
return props.theme.colors.secundaryLight;
|
|
24
|
+
}, function (props) {
|
|
25
|
+
return props.theme.colors.borderColor;
|
|
26
|
+
});
|
|
27
|
+
exports.ApiKeysListTable = ApiKeysListTable;
|
|
28
|
+
var DropdownButtonWrapper = _styledComponents.default.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n ", "\n padding: 5px 20px;\n button {\n background: transparent !important;\n border: none;\n padding: 0px;\n &:active,\n &:focus {\n border-color: unset !important;\n box-shadow: none !important;\n }\n svg {\n color: ", ";\n }\n\n &:after {\n display: none;\n }\n }\n\n .show {\n button {\n background: ", " !important;\n border-color: unset !important;\n box-shadow: none !important;\n }\n >div {\n border: 1px solid ", ";\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);\n }\n }\n\n > div {\n > div {\n border-radius: 8px;\n .dropdown-item {\n font-size: 12px;\n color: ", ";\n }\n .dropdown-item:last-child {\n color: #E63757;\n }\n }\n }\n"])), function (props) {
|
|
29
|
+
var _props$theme2;
|
|
30
|
+
return props !== null && props !== void 0 && (_props$theme2 = props.theme) !== null && _props$theme2 !== void 0 && _props$theme2.rtl ? (0, _styledComponents.css)(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n border-right: 1px solid ", ";\n "])), function (props) {
|
|
31
|
+
return props.theme.colors.borderColor;
|
|
32
|
+
}) : (0, _styledComponents.css)(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n border-left: 1px solid ", ";\n "])), function (props) {
|
|
33
|
+
return props.theme.colors.borderColor;
|
|
34
|
+
});
|
|
35
|
+
}, function (props) {
|
|
36
|
+
return props.theme.colors.headingColor;
|
|
37
|
+
}, function (props) {
|
|
38
|
+
return props.theme.colors.secundary;
|
|
39
|
+
}, function (props) {
|
|
40
|
+
return props.theme.colors.borderColor;
|
|
41
|
+
}, function (props) {
|
|
42
|
+
return props.theme.colors.headingColor;
|
|
43
|
+
});
|
|
44
|
+
exports.DropdownButtonWrapper = DropdownButtonWrapper;
|
|
45
|
+
var AddNewButton = _styledComponents.default.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n cursor: pointer;\n font-size: 12px;\n color: ", ";\n margin: 20px 0;\n width: fit-content;\n\n &:hover {\n color: ", ";\n }\n"])), function (props) {
|
|
46
|
+
return props.theme.colors.lightGray;
|
|
47
|
+
}, function (props) {
|
|
48
|
+
return props.theme.colors.primary;
|
|
49
|
+
});
|
|
50
|
+
exports.AddNewButton = AddNewButton;
|
|
51
|
+
var AllSetting = _styledComponents.default.div(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n user-select: none;\n cursor: pointer;\n margin-top: 36px;\n cursor: pointer;\n span {\n font-weight: 600;\n font-size: 14px;\n color: ", ";\n }\n svg {\n color: ", ";\n margin-left: 5px;\n transition: 0.2s linear;\n ", "\n }\n &:hover {\n svg {\n transform: translateX(3px);\n }\n }\n"])), function (props) {
|
|
52
|
+
return props.theme.colors.primary;
|
|
53
|
+
}, function (props) {
|
|
54
|
+
return props.theme.colors.primary;
|
|
55
|
+
}, function (props) {
|
|
56
|
+
return props.theme.rtl && (0, _styledComponents.css)(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n margin-right: 5px;\n margin-left: 0px;\n "])));
|
|
57
|
+
});
|
|
58
|
+
exports.AllSetting = AllSetting;
|
|
59
|
+
var Description = _styledComponents.default.p(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n margin-top: 40px;\n font-size: 14px;\n margin-bottom: 0px;\n text-align: justify;\n\n div.sub-header {\n font-size: 14px;\n margin-bottom: 10px;\n }\n div.menu-item {\n display: flex;\n align-items: center;\n svg {\n ", "\n }\n > p {\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n margin: 0px;\n }\n }\n\n @media (min-width: 768px) {\n text-align: initial;\n }\n"])), function (props) {
|
|
60
|
+
var _props$theme3;
|
|
61
|
+
return (_props$theme3 = props.theme) !== null && _props$theme3 !== void 0 && _props$theme3.rtl ? (0, _styledComponents.css)(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n margin-left: 8px;\n "]))) : (0, _styledComponents.css)(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n margin-right: 8px;\n "])));
|
|
62
|
+
});
|
|
63
|
+
exports.Description = Description;
|
|
64
|
+
var CategoryExtraContent = _styledComponents.default.div(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n position: relative;\n padding: 26px 26px 60px 26px;\n box-sizing: border-box;\n width: 100%;\n overflow: auto;\n\n ", "\n\n > button {\n z-index: 100;\n position: absolute;\n top: 25px;\n ", "\n }\n"])), function (props) {
|
|
65
|
+
var _props$theme4;
|
|
66
|
+
return (_props$theme4 = props.theme) !== null && _props$theme4 !== void 0 && _props$theme4.rtl ? (0, _styledComponents.css)(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n border-right: 1px solid #E9ECEF;\n "]))) : (0, _styledComponents.css)(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n border-left: 1px solid #E9ECEF;\n "])));
|
|
67
|
+
}, function (props) {
|
|
68
|
+
var _props$theme5;
|
|
69
|
+
return (_props$theme5 = props.theme) !== null && _props$theme5 !== void 0 && _props$theme5.rtl ? (0, _styledComponents.css)(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n left: 20px;\n "]))) : (0, _styledComponents.css)(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n right: 20px;\n "])));
|
|
70
|
+
});
|
|
71
|
+
exports.CategoryExtraContent = CategoryExtraContent;
|
|
72
|
+
var Container = _styledComponents.default.div(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n display: flex;\n width: 0;\n position: fixed;\n box-shadow: -4px 0px 7px #ccc;\n\n ", "\n background: ", ";\n height: calc(var(--vh, 1vh) * 100);\n top: 0px;\n z-index: 1001;\n overflow-x: hidden;\n transition: 0.3s;\n\n ", "\n @media print {\n box-shadow: none;\n }\n"])), function (_ref) {
|
|
73
|
+
var isDriverOrders = _ref.isDriverOrders;
|
|
74
|
+
return isDriverOrders && (0, _styledComponents.css)(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n position: absolute;\n box-shadow: none;\n\n ", "\n "])), function (props) {
|
|
75
|
+
var _props$theme6;
|
|
76
|
+
return (_props$theme6 = props.theme) !== null && _props$theme6 !== void 0 && _props$theme6.rtl ? (0, _styledComponents.css)(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n border-right: 1px solid #CCC;\n "]))) : (0, _styledComponents.css)(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n border-left: 1px solid #CCC;\n "])));
|
|
77
|
+
});
|
|
78
|
+
}, function (props) {
|
|
79
|
+
var _props$theme$colors;
|
|
80
|
+
return ((_props$theme$colors = props.theme.colors) === null || _props$theme$colors === void 0 ? void 0 : _props$theme$colors.backgroundPage) || '#FFF';
|
|
81
|
+
}, function (props) {
|
|
82
|
+
var _props$theme7;
|
|
83
|
+
return (_props$theme7 = props.theme) !== null && _props$theme7 !== void 0 && _props$theme7.rtl ? (0, _styledComponents.css)(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n left: 0px;\n "]))) : (0, _styledComponents.css)(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n right: 0px;\n "])));
|
|
84
|
+
});
|
|
85
|
+
exports.Container = Container;
|
|
86
|
+
var DescriptionHeader = _styledComponents.default.div(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n"])));
|
|
87
|
+
exports.DescriptionHeader = DescriptionHeader;
|
|
88
|
+
var HeaderIcons = _styledComponents.default.div(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n display: flex;\n position: absolute;\n top: 25px;\n right: 20px;\n\n > button:first-child {\n ", "\n }\n"])), function (props) {
|
|
89
|
+
var _props$theme8;
|
|
90
|
+
return (_props$theme8 = props.theme) !== null && _props$theme8 !== void 0 && _props$theme8.rtl ? (0, _styledComponents.css)(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n margin-left: 8px;\n "]))) : (0, _styledComponents.css)(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["\n margin-right: 8px;\n "])));
|
|
91
|
+
});
|
|
92
|
+
exports.HeaderIcons = HeaderIcons;
|
|
93
|
+
var SettingListConatiner = _styledComponents.default.div(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n width: 100%;\n margin: 20px 0;\n border-bottom: 1px solid #E9ECEF;\n"])));
|
|
94
|
+
exports.SettingListConatiner = SettingListConatiner;
|
|
95
|
+
var Tab = _styledComponents.default.div(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n user-select: none;\n padding: 10px 0px;\n cursor: pointer;\n color: ", ";\n font-size: 14px;\n white-space: nowrap;\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
96
|
+
var _props$theme$colors2;
|
|
97
|
+
return (_props$theme$colors2 = props.theme.colors) === null || _props$theme$colors2 === void 0 ? void 0 : _props$theme$colors2.headingColor;
|
|
98
|
+
}, function (props) {
|
|
99
|
+
var _props$theme9;
|
|
100
|
+
return (_props$theme9 = props.theme) !== null && _props$theme9 !== void 0 && _props$theme9.rtl ? (0, _styledComponents.css)(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n margin-left: 30px;\n "]))) : (0, _styledComponents.css)(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["\n margin-right: 30px;\n "])));
|
|
101
|
+
}, function (_ref2) {
|
|
102
|
+
var active = _ref2.active;
|
|
103
|
+
return active && (0, _styledComponents.css)(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["\n border-bottom: 2px solid;\n font-weight: 500;\n "])));
|
|
104
|
+
}, function (_ref3) {
|
|
105
|
+
var active = _ref3.active;
|
|
106
|
+
return !active && (0, _styledComponents.css)(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n color: #909BA9;\n "])));
|
|
107
|
+
});
|
|
108
|
+
exports.Tab = Tab;
|
|
109
|
+
var GetStarted = _styledComponents.default.div(_templateObject37 || (_templateObject37 = _taggedTemplateLiteral(["\n h2 {\n font-weight: 500;\n font-size: 14px;\n line-height: 24px;\n margin-top: 0px;\n margin-bottom: 10px;\n }\n p {\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n margin-top: 0px;\n margin-bottom: 8px;\n color: ", ";\n }\n button {\n border-radius: 8px;\n height: 44px;\n }\n"])), function (props) {
|
|
110
|
+
return props.theme.colors.lightGray;
|
|
111
|
+
});
|
|
112
|
+
exports.GetStarted = GetStarted;
|
|
113
|
+
var YoutubeVideoWrapper = _styledComponents.default.div(_templateObject38 || (_templateObject38 = _taggedTemplateLiteral(["\n margin-top: 50px;\n padding-bottom: 30px;\n"])));
|
|
114
|
+
exports.YoutubeVideoWrapper = YoutubeVideoWrapper;
|
|
115
|
+
var YoutubeVideoInner = _styledComponents.default.div(_templateObject39 || (_templateObject39 = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n padding-bottom: 56.25%;\n box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);\n border-radius: 7.6px;\n background-color: ", ";\n\n iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: 0;\n }\n"])), function (props) {
|
|
116
|
+
return props.theme.colors.secundaryDarkContrast;
|
|
117
|
+
});
|
|
118
|
+
exports.YoutubeVideoInner = YoutubeVideoInner;
|