@salesgenterp/ui-components 0.4.562 → 0.4.563
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/dist/index.js +337 -191
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +340 -194
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2006,7 +2006,120 @@ var TypographyContainer$1 = styled__default(material.Typography)(_templateObject
|
|
|
2006
2006
|
return props.fontColor;
|
|
2007
2007
|
});
|
|
2008
2008
|
|
|
2009
|
-
var _templateObject$6;
|
|
2009
|
+
var _templateObject$6, _templateObject2$3, _templateObject3$2;
|
|
2010
|
+
var PdfPreviewModal = function PdfPreviewModal(_ref) {
|
|
2011
|
+
var open = _ref.open,
|
|
2012
|
+
url = _ref.url,
|
|
2013
|
+
title = _ref.title,
|
|
2014
|
+
onClose = _ref.onClose,
|
|
2015
|
+
fontColor = _ref.fontColor,
|
|
2016
|
+
primaryColor = _ref.primaryColor,
|
|
2017
|
+
secondaryColor = _ref.secondaryColor;
|
|
2018
|
+
var _useState = React.useState(''),
|
|
2019
|
+
src = _useState[0],
|
|
2020
|
+
setSrc = _useState[1];
|
|
2021
|
+
var _useState2 = React.useState(false),
|
|
2022
|
+
loading = _useState2[0],
|
|
2023
|
+
setLoading = _useState2[1];
|
|
2024
|
+
var iframeRef = React.useRef(null);
|
|
2025
|
+
React.useEffect(function () {
|
|
2026
|
+
if (!open || !url) return undefined;
|
|
2027
|
+
var objectUrl;
|
|
2028
|
+
var cancelled = false;
|
|
2029
|
+
setLoading(true);
|
|
2030
|
+
(function () {
|
|
2031
|
+
try {
|
|
2032
|
+
return _finallyRethrows(function () {
|
|
2033
|
+
return _catch(function () {
|
|
2034
|
+
return Promise.resolve(fetch(url)).then(function (response) {
|
|
2035
|
+
if (!response.ok) throw new Error(response.statusText);
|
|
2036
|
+
return Promise.resolve(response.blob()).then(function (blob) {
|
|
2037
|
+
objectUrl = URL.createObjectURL(blob);
|
|
2038
|
+
if (!cancelled) setSrc(objectUrl);
|
|
2039
|
+
});
|
|
2040
|
+
});
|
|
2041
|
+
}, function () {
|
|
2042
|
+
if (!cancelled) setSrc(url);
|
|
2043
|
+
});
|
|
2044
|
+
}, function (_wasThrown, _result) {
|
|
2045
|
+
if (!cancelled) setLoading(false);
|
|
2046
|
+
if (_wasThrown) throw _result;
|
|
2047
|
+
return _result;
|
|
2048
|
+
});
|
|
2049
|
+
} catch (e) {
|
|
2050
|
+
Promise.reject(e);
|
|
2051
|
+
}
|
|
2052
|
+
})();
|
|
2053
|
+
return function () {
|
|
2054
|
+
cancelled = true;
|
|
2055
|
+
if (objectUrl) URL.revokeObjectURL(objectUrl);
|
|
2056
|
+
setSrc('');
|
|
2057
|
+
};
|
|
2058
|
+
}, [open, url]);
|
|
2059
|
+
var handlePrint = function handlePrint() {
|
|
2060
|
+
try {
|
|
2061
|
+
var _iframeRef$current, _iframeRef$current$co, _iframeRef$current2, _iframeRef$current2$c;
|
|
2062
|
+
(_iframeRef$current = iframeRef.current) === null || _iframeRef$current === void 0 ? void 0 : (_iframeRef$current$co = _iframeRef$current.contentWindow) === null || _iframeRef$current$co === void 0 ? void 0 : _iframeRef$current$co.focus();
|
|
2063
|
+
(_iframeRef$current2 = iframeRef.current) === null || _iframeRef$current2 === void 0 ? void 0 : (_iframeRef$current2$c = _iframeRef$current2.contentWindow) === null || _iframeRef$current2$c === void 0 ? void 0 : _iframeRef$current2$c.print();
|
|
2064
|
+
} catch (error) {}
|
|
2065
|
+
};
|
|
2066
|
+
return /*#__PURE__*/React__default.createElement(ModalContainer, {
|
|
2067
|
+
open: open,
|
|
2068
|
+
onClose: onClose,
|
|
2069
|
+
fullWidth: true,
|
|
2070
|
+
maxWidth: "lg",
|
|
2071
|
+
secondaryColor: secondaryColor
|
|
2072
|
+
}, /*#__PURE__*/React__default.createElement(material.DialogTitle, {
|
|
2073
|
+
sx: {
|
|
2074
|
+
m: 0,
|
|
2075
|
+
p: 2,
|
|
2076
|
+
pr: 14,
|
|
2077
|
+
color: fontColor,
|
|
2078
|
+
display: 'flex',
|
|
2079
|
+
alignItems: 'center'
|
|
2080
|
+
}
|
|
2081
|
+
}, title || 'Preview', /*#__PURE__*/React__default.createElement(Actions, null, /*#__PURE__*/React__default.createElement(material.Button, {
|
|
2082
|
+
size: "small",
|
|
2083
|
+
variant: "contained",
|
|
2084
|
+
startIcon: /*#__PURE__*/React__default.createElement(md.MdPrint, null),
|
|
2085
|
+
onClick: handlePrint,
|
|
2086
|
+
disabled: loading || !src,
|
|
2087
|
+
style: primaryColor ? {
|
|
2088
|
+
background: primaryColor
|
|
2089
|
+
} : undefined
|
|
2090
|
+
}, "Print"), /*#__PURE__*/React__default.createElement(material.IconButton, {
|
|
2091
|
+
"aria-label": "close",
|
|
2092
|
+
onClick: onClose,
|
|
2093
|
+
sx: {
|
|
2094
|
+
color: fontColor,
|
|
2095
|
+
'& svg': {
|
|
2096
|
+
fontSize: 20
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
}, /*#__PURE__*/React__default.createElement(md.MdClose, null)))), /*#__PURE__*/React__default.createElement(material.DialogContent, {
|
|
2100
|
+
dividers: true,
|
|
2101
|
+
sx: {
|
|
2102
|
+
p: 0,
|
|
2103
|
+
height: '80vh'
|
|
2104
|
+
}
|
|
2105
|
+
}, loading || !src ? /*#__PURE__*/React__default.createElement(Center, null, /*#__PURE__*/React__default.createElement(material.CircularProgress, null)) : /*#__PURE__*/React__default.createElement("iframe", {
|
|
2106
|
+
ref: iframeRef,
|
|
2107
|
+
src: src,
|
|
2108
|
+
title: title || 'Preview',
|
|
2109
|
+
style: {
|
|
2110
|
+
width: '100%',
|
|
2111
|
+
height: '100%',
|
|
2112
|
+
border: 0
|
|
2113
|
+
}
|
|
2114
|
+
})));
|
|
2115
|
+
};
|
|
2116
|
+
var ModalContainer = styled__default(material.Dialog)(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n .MuiPaper-root {\n background: ", ";\n }\n"])), function (props) {
|
|
2117
|
+
return props.secondaryColor;
|
|
2118
|
+
});
|
|
2119
|
+
var Actions = styled__default.div(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 8px;\n top: 8px;\n display: flex;\n align-items: center;\n gap: 8px;\n"])));
|
|
2120
|
+
var Center = styled__default.div(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
|
|
2121
|
+
|
|
2122
|
+
var _templateObject$7;
|
|
2010
2123
|
var _excluded$2 = ["children", "onClose", "fontColor"];
|
|
2011
2124
|
var MuiModal = function MuiModal(props) {
|
|
2012
2125
|
var fontColor = props.fontColor,
|
|
@@ -2015,7 +2128,7 @@ var MuiModal = function MuiModal(props) {
|
|
|
2015
2128
|
title = props.title,
|
|
2016
2129
|
secondaryColor = props.secondaryColor,
|
|
2017
2130
|
actions = props.actions;
|
|
2018
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ModalContainer, _extends({}, props, {
|
|
2131
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ModalContainer$1, _extends({}, props, {
|
|
2019
2132
|
onClose: onClose,
|
|
2020
2133
|
secondaryColor: secondaryColor
|
|
2021
2134
|
}), /*#__PURE__*/React__default.createElement(BootstrapDialogTitle, {
|
|
@@ -2053,11 +2166,11 @@ function BootstrapDialogTitle(props) {
|
|
|
2053
2166
|
}
|
|
2054
2167
|
}, /*#__PURE__*/React__default.createElement(md.MdClose, null)) : null);
|
|
2055
2168
|
}
|
|
2056
|
-
var ModalContainer = styled__default(material.Dialog)(_templateObject$
|
|
2169
|
+
var ModalContainer$1 = styled__default(material.Dialog)(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteralLoose(["\n .MuiPaper-root {\n background: ", ";\n }\n"])), function (props) {
|
|
2057
2170
|
return props.secondaryColor;
|
|
2058
2171
|
});
|
|
2059
2172
|
|
|
2060
|
-
var _templateObject$
|
|
2173
|
+
var _templateObject$8, _templateObject2$4, _templateObject3$3, _templateObject4$1;
|
|
2061
2174
|
var FormRadiogroup = function FormRadiogroup(props) {
|
|
2062
2175
|
var label = props.label,
|
|
2063
2176
|
name = props.name,
|
|
@@ -2109,20 +2222,20 @@ var FormRadiogroup = function FormRadiogroup(props) {
|
|
|
2109
2222
|
}
|
|
2110
2223
|
});
|
|
2111
2224
|
};
|
|
2112
|
-
var RadiogroupField = styled__default(material.RadioGroup)(_templateObject$
|
|
2225
|
+
var RadiogroupField = styled__default(material.RadioGroup)(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
|
|
2113
2226
|
return props.primaryColor;
|
|
2114
2227
|
});
|
|
2115
|
-
var RadioField = styled__default(material.Radio)(_templateObject2$
|
|
2228
|
+
var RadioField = styled__default(material.Radio)(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
|
|
2116
2229
|
return props.primaryColor;
|
|
2117
2230
|
});
|
|
2118
|
-
var FormControlLabelContainer = styled__default(material.FormControlLabel)(_templateObject3$
|
|
2231
|
+
var FormControlLabelContainer = styled__default(material.FormControlLabel)(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n .MuiTypography-root {\n color: ", " !important;\n }\n"])), function (props) {
|
|
2119
2232
|
return props.fontColor;
|
|
2120
2233
|
});
|
|
2121
2234
|
var InputContainer = styled__default(material.FormLabel)(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
|
|
2122
2235
|
return props.fontColor;
|
|
2123
2236
|
});
|
|
2124
2237
|
|
|
2125
|
-
var _templateObject$
|
|
2238
|
+
var _templateObject$9, _templateObject2$5;
|
|
2126
2239
|
var FormSelect = function FormSelect(props) {
|
|
2127
2240
|
var label = props.label,
|
|
2128
2241
|
name = props.name,
|
|
@@ -2175,14 +2288,14 @@ var FormSelect = function FormSelect(props) {
|
|
|
2175
2288
|
}
|
|
2176
2289
|
});
|
|
2177
2290
|
};
|
|
2178
|
-
var SelectField = styled__default(material.Select)(_templateObject$
|
|
2291
|
+
var SelectField = styled__default(material.Select)(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n svg,\n input {\n color: ", " !important;\n }\n fieldset {\n border-color: ", " !important;\n }\n"])), function (props) {
|
|
2179
2292
|
return props.fontColor;
|
|
2180
2293
|
}, function (props) {
|
|
2181
2294
|
return props.fontColor;
|
|
2182
2295
|
}, function (props) {
|
|
2183
2296
|
return props.fontColor;
|
|
2184
2297
|
});
|
|
2185
|
-
var InputContainer$1 = styled__default(material.InputLabel)(_templateObject2$
|
|
2298
|
+
var InputContainer$1 = styled__default(material.InputLabel)(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
|
|
2186
2299
|
return props.fontColor;
|
|
2187
2300
|
});
|
|
2188
2301
|
|
|
@@ -2491,7 +2604,7 @@ var AddAuthorizeDotNetCard = function AddAuthorizeDotNetCard(_ref) {
|
|
|
2491
2604
|
}))))));
|
|
2492
2605
|
};
|
|
2493
2606
|
|
|
2494
|
-
var _templateObject$
|
|
2607
|
+
var _templateObject$a;
|
|
2495
2608
|
var PaymentModal = function PaymentModal(_ref) {
|
|
2496
2609
|
var _customerCreditCards$, _customerCreditCards$2, _orderData$orderDto6, _orderData$orderDto7, _orderData$orderDto8, _orderData$orderDto9, _orderData$customerDt, _orderData$customerDt2, _orderData$orderDto10, _orderData$orderDto11, _authorizeDotNetCardD, _authorizeDotNetCardD2, _authorizeDotNetCardD3, _authorizeDotNetCardD4, _authorizeDotNetCardD5, _authorizeDotNetCardD6, _authorizeDotNetCardD7, _authorizeDotNetCardD8, _customerCreditCards$4, _customerCreditCards$5;
|
|
2497
2610
|
var apiEndPoint = _ref.apiEndPoint,
|
|
@@ -2810,7 +2923,7 @@ var PaymentModal = function PaymentModal(_ref) {
|
|
|
2810
2923
|
})
|
|
2811
2924
|
}, /*#__PURE__*/React__default.createElement("span", null, "Add New Card")))))))))));
|
|
2812
2925
|
};
|
|
2813
|
-
var InfoContainer = styled__default.div(_templateObject$
|
|
2926
|
+
var InfoContainer = styled__default.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid #00000040;\n padding-bottom: 1rem;\n margin-bottom: 1rem;\n color: ", ";\n h2 {\n margin-bottom: 0.6rem;\n }\n p {\n font-size: 1.2rem;\n margin-bottom: 0.6rem;\n }\n"])), function (props) {
|
|
2814
2927
|
return props.fontColor;
|
|
2815
2928
|
});
|
|
2816
2929
|
|
|
@@ -3149,7 +3262,7 @@ var ExcessPaymentDialog = function ExcessPaymentDialog(_ref2) {
|
|
|
3149
3262
|
})));
|
|
3150
3263
|
};
|
|
3151
3264
|
|
|
3152
|
-
var _templateObject$
|
|
3265
|
+
var _templateObject$b, _templateObject2$6, _templateObject3$4, _templateObject4$2, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19;
|
|
3153
3266
|
var totalIcons = [{
|
|
3154
3267
|
name: '',
|
|
3155
3268
|
icon: /*#__PURE__*/React__default.createElement(ai.AiOutlineShoppingCart, null)
|
|
@@ -3270,6 +3383,12 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
3270
3383
|
}),
|
|
3271
3384
|
isExcessPaymentModal = _useState7[0],
|
|
3272
3385
|
setIsExcessPaymentModal = _useState7[1];
|
|
3386
|
+
var _useState8 = React.useState({
|
|
3387
|
+
url: '',
|
|
3388
|
+
title: ''
|
|
3389
|
+
}),
|
|
3390
|
+
invoicePreview = _useState8[0],
|
|
3391
|
+
setInvoicePreview = _useState8[1];
|
|
3273
3392
|
var _ref2 = useSystemFeatureByFieldName({
|
|
3274
3393
|
apiEndPoint: apiEndPoint,
|
|
3275
3394
|
token: token,
|
|
@@ -3297,9 +3416,9 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
3297
3416
|
return featureName ? DASHBOARD_ORDER_LIST_BY_NAME === null || DASHBOARD_ORDER_LIST_BY_NAME === void 0 ? void 0 : DASHBOARD_ORDER_LIST_BY_NAME[featureName] : null;
|
|
3298
3417
|
}).filter(Boolean);
|
|
3299
3418
|
}, [selectedDashboardOrderIds, featureValueListById]);
|
|
3300
|
-
var
|
|
3301
|
-
value =
|
|
3302
|
-
setValue =
|
|
3419
|
+
var _useState9 = React.useState(null),
|
|
3420
|
+
value = _useState9[0],
|
|
3421
|
+
setValue = _useState9[1];
|
|
3303
3422
|
React.useEffect(function () {
|
|
3304
3423
|
if (!(visibleTabs !== null && visibleTabs !== void 0 && visibleTabs.length)) return;
|
|
3305
3424
|
var isCurrentVisible = value != null && visibleTabs.some(function (tab) {
|
|
@@ -3329,7 +3448,10 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
3329
3448
|
};
|
|
3330
3449
|
var openInvoiceData = function openInvoiceData(orderId) {
|
|
3331
3450
|
if (serviceApiEndPoint) {
|
|
3332
|
-
|
|
3451
|
+
setInvoicePreview({
|
|
3452
|
+
url: serviceApiEndPoint + "/" + getInvoicePathByTab(value) + "/invoice/" + orderId + "?token=" + token + "&defaultStoreId=" + defaultStoreId + "&storeIdList=" + storeIdList + "&isEcommerce=true",
|
|
3453
|
+
title: "#" + orderId
|
|
3454
|
+
});
|
|
3333
3455
|
}
|
|
3334
3456
|
};
|
|
3335
3457
|
var getDateKey = function getDateKey(tabValue) {
|
|
@@ -3675,7 +3797,20 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
3675
3797
|
var list = ['totalNumberOfOrders', 'totalAmountSpend'];
|
|
3676
3798
|
return hideTotalCardInDashboardSummary ? !includesCaseInsensitive(list, data === null || data === void 0 ? void 0 : data.name) : data;
|
|
3677
3799
|
});
|
|
3678
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null,
|
|
3800
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(PdfPreviewModal, {
|
|
3801
|
+
open: !!(invoicePreview !== null && invoicePreview !== void 0 && invoicePreview.url),
|
|
3802
|
+
url: invoicePreview === null || invoicePreview === void 0 ? void 0 : invoicePreview.url,
|
|
3803
|
+
title: invoicePreview === null || invoicePreview === void 0 ? void 0 : invoicePreview.title,
|
|
3804
|
+
onClose: function onClose() {
|
|
3805
|
+
return setInvoicePreview({
|
|
3806
|
+
url: '',
|
|
3807
|
+
title: ''
|
|
3808
|
+
});
|
|
3809
|
+
},
|
|
3810
|
+
fontColor: fontColor,
|
|
3811
|
+
primaryColor: primaryColor,
|
|
3812
|
+
secondaryColor: secondaryColor
|
|
3813
|
+
}), (isPaymentModal === null || isPaymentModal === void 0 ? void 0 : isPaymentModal.open) && /*#__PURE__*/React__default.createElement(PaymentModal, {
|
|
3679
3814
|
apiEndPoint: apiEndPoint,
|
|
3680
3815
|
token: token,
|
|
3681
3816
|
paymentProvider: paymentProvider,
|
|
@@ -4056,13 +4191,13 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
4056
4191
|
}
|
|
4057
4192
|
}))))))))));
|
|
4058
4193
|
};
|
|
4059
|
-
var Root$2 = styled__default.div(_templateObject$
|
|
4060
|
-
var TitleContainer = styled__default.h4(_templateObject2$
|
|
4194
|
+
var Root$2 = styled__default.div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteralLoose([""])));
|
|
4195
|
+
var TitleContainer = styled__default.h4(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n span {\n color: ", ";\n font-size: 2.7rem;\n font-weight: 500;\n }\n b {\n color: ", ";\n font-size: 2.7rem;\n }\n"])), function (props) {
|
|
4061
4196
|
return props.fontColor;
|
|
4062
4197
|
}, function (props) {
|
|
4063
4198
|
return props.primaryColor;
|
|
4064
4199
|
});
|
|
4065
|
-
var MeetContainer = styled__default.h4(_templateObject3$
|
|
4200
|
+
var MeetContainer = styled__default.h4(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteralLoose(["\n margin-bottom: 1rem;\n span > b {\n color: ", ";\n font-size: 1.3rem;\n }\n span {\n color: ", ";\n font-size: 1.3rem;\n }\n"])), function (props) {
|
|
4066
4201
|
return props.primaryColor;
|
|
4067
4202
|
}, function (props) {
|
|
4068
4203
|
return props.fontColor;
|
|
@@ -4136,7 +4271,7 @@ var TabsContainer = styled__default(material.Tabs)(_templateObject19 || (_templa
|
|
|
4136
4271
|
return props.primaryColor;
|
|
4137
4272
|
});
|
|
4138
4273
|
|
|
4139
|
-
var _templateObject$
|
|
4274
|
+
var _templateObject$c, _templateObject2$7, _templateObject3$5, _templateObject4$3, _templateObject5$2;
|
|
4140
4275
|
var MyProfile = function MyProfile(_ref) {
|
|
4141
4276
|
var apiEndPoint = _ref.apiEndPoint,
|
|
4142
4277
|
token = _ref.token,
|
|
@@ -4383,15 +4518,15 @@ var MyProfile = function MyProfile(_ref) {
|
|
|
4383
4518
|
disabled: disabledUpdateProfileFromDashboard
|
|
4384
4519
|
}, "Update Profile"))));
|
|
4385
4520
|
};
|
|
4386
|
-
var MeetContainer$1 = styled__default.h4(_templateObject$
|
|
4521
|
+
var MeetContainer$1 = styled__default.h4(_templateObject$c || (_templateObject$c = _taggedTemplateLiteralLoose(["\n span > b {\n color: ", ";\n font-size: 1.5rem;\n }\n b {\n color: ", ";\n font-size: 1.5rem;\n }\n"])), function (props) {
|
|
4387
4522
|
return props.primaryColor;
|
|
4388
4523
|
}, function (props) {
|
|
4389
4524
|
return props.fontColor;
|
|
4390
4525
|
});
|
|
4391
|
-
var TypographyContainer$3 = styled__default(material.Typography)(_templateObject2$
|
|
4526
|
+
var TypographyContainer$3 = styled__default(material.Typography)(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n font-size: 1.2rem !important;\n align-items: center;\n"])), function (props) {
|
|
4392
4527
|
return props.fontColor;
|
|
4393
4528
|
});
|
|
4394
|
-
var CardMediaContainer$1 = styled__default(material.CardMedia)(_templateObject3$
|
|
4529
|
+
var CardMediaContainer$1 = styled__default(material.CardMedia)(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n border-radius: 14px;\n max-width: 150px;\n"])));
|
|
4395
4530
|
var CardContainer$1 = styled__default(material.Stack)(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n margin: 1.2rem 0;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
|
|
4396
4531
|
return props.secondaryColor;
|
|
4397
4532
|
});
|
|
@@ -4399,7 +4534,7 @@ var RootContainer$1 = styled__default(material.Stack)(_templateObject5$2 || (_te
|
|
|
4399
4534
|
return props.secondaryColor;
|
|
4400
4535
|
});
|
|
4401
4536
|
|
|
4402
|
-
var _templateObject$
|
|
4537
|
+
var _templateObject$d;
|
|
4403
4538
|
var SideMenuItemComponent = function SideMenuItemComponent(props) {
|
|
4404
4539
|
var className = props.className,
|
|
4405
4540
|
onClick = props.onClick,
|
|
@@ -4495,7 +4630,7 @@ var _SideMenuItem = function SideMenuItem(props) {
|
|
|
4495
4630
|
}))) : null;
|
|
4496
4631
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, MenuItemRoot, MenuItemChildren);
|
|
4497
4632
|
};
|
|
4498
|
-
var ListItemIconContainer = styled__default(material.ListItemIcon)(_templateObject$
|
|
4633
|
+
var ListItemIconContainer = styled__default(material.ListItemIcon)(_templateObject$d || (_templateObject$d = _taggedTemplateLiteralLoose(["\n min-width: 40px !important;\n"])));
|
|
4499
4634
|
var SideMenuItemComponentContainer = styles.styled(SideMenuItemComponent)(function (_ref) {
|
|
4500
4635
|
var primaryColor = _ref.primaryColor,
|
|
4501
4636
|
list = _ref.list,
|
|
@@ -4587,7 +4722,7 @@ var SideMenu = function SideMenu(props) {
|
|
|
4587
4722
|
}));
|
|
4588
4723
|
};
|
|
4589
4724
|
|
|
4590
|
-
var _templateObject$
|
|
4725
|
+
var _templateObject$e, _templateObject2$8;
|
|
4591
4726
|
var _excluded$3 = ["label", "onChange", "defaultValue", "options", "valueKey", "labelKey", "addNone", "fontColor", "maxWidth", "checkAllOption", "multiple"];
|
|
4592
4727
|
function MuiSelect(_ref) {
|
|
4593
4728
|
var label = _ref.label,
|
|
@@ -4660,18 +4795,18 @@ function MuiSelect(_ref) {
|
|
|
4660
4795
|
}));
|
|
4661
4796
|
})));
|
|
4662
4797
|
}
|
|
4663
|
-
var SelectContainer = styled__default(Select$1)(_templateObject$
|
|
4798
|
+
var SelectContainer = styled__default(Select$1)(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n svg,\n input {\n color: ", " !important;\n }\n fieldset {\n border-color: ", " !important;\n }\n .MuiCheckbox-root {\n padding: 0;\n }\n"])), function (props) {
|
|
4664
4799
|
return props.fontColor;
|
|
4665
4800
|
}, function (props) {
|
|
4666
4801
|
return props.fontColor;
|
|
4667
4802
|
}, function (props) {
|
|
4668
4803
|
return props.fontColor;
|
|
4669
4804
|
});
|
|
4670
|
-
var InputContainer$2 = styled__default(InputLabel)(_templateObject2$
|
|
4805
|
+
var InputContainer$2 = styled__default(InputLabel)(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
|
|
4671
4806
|
return props.fontColor;
|
|
4672
4807
|
});
|
|
4673
4808
|
|
|
4674
|
-
var _templateObject$
|
|
4809
|
+
var _templateObject$f, _templateObject2$9, _templateObject3$6, _templateObject4$4;
|
|
4675
4810
|
var Statement = function Statement(_ref) {
|
|
4676
4811
|
var apiEndPoint = _ref.apiEndPoint,
|
|
4677
4812
|
serviceApiEndPoint = _ref.serviceApiEndPoint,
|
|
@@ -4704,6 +4839,9 @@ var Statement = function Statement(_ref) {
|
|
|
4704
4839
|
var _useState5 = React.useState(getRandomString()),
|
|
4705
4840
|
triggerTableData = _useState5[0],
|
|
4706
4841
|
setTriggerTableData = _useState5[1];
|
|
4842
|
+
var _useState6 = React.useState(''),
|
|
4843
|
+
previewUrl = _useState6[0],
|
|
4844
|
+
setPreviewUrl = _useState6[1];
|
|
4707
4845
|
var onDateChange = function onDateChange(data) {
|
|
4708
4846
|
setQueryParams(_extends({}, queryParams, {
|
|
4709
4847
|
startDate: getUTCTime({
|
|
@@ -4796,9 +4934,7 @@ var Statement = function Statement(_ref) {
|
|
|
4796
4934
|
var print = function print() {
|
|
4797
4935
|
var _customerData$custome, _customerData$custome2;
|
|
4798
4936
|
var location = "/cusomter/statement?token=" + token + "&startDate=" + queryParams.startDate + "&endDate=" + queryParams.endDate + "&customerIds=" + (queryParams !== null && queryParams !== void 0 && queryParams.customerIds ? (queryParams === null || queryParams === void 0 ? void 0 : queryParams.customerIds) + "," + (customerData === null || customerData === void 0 ? void 0 : (_customerData$custome = customerData.customerDto) === null || _customerData$custome === void 0 ? void 0 : _customerData$custome.id) : customerData === null || customerData === void 0 ? void 0 : (_customerData$custome2 = customerData.customerDto) === null || _customerData$custome2 === void 0 ? void 0 : _customerData$custome2.id) + "&storeIdList=" + storeIdList + "&defaultStoreId=" + defaultStoreId;
|
|
4799
|
-
|
|
4800
|
-
var w = window.open(pdfUrl);
|
|
4801
|
-
w.print();
|
|
4937
|
+
setPreviewUrl("" + serviceApiEndPoint + location);
|
|
4802
4938
|
};
|
|
4803
4939
|
var getStatementAPIData = function getStatementAPIData(_ref2) {
|
|
4804
4940
|
var params = _ref2.params;
|
|
@@ -4823,7 +4959,17 @@ var Statement = function Statement(_ref) {
|
|
|
4823
4959
|
};
|
|
4824
4960
|
return /*#__PURE__*/React__default.createElement(Root$3, {
|
|
4825
4961
|
backgroundColor: backgroundColor
|
|
4826
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
4962
|
+
}, /*#__PURE__*/React__default.createElement(PdfPreviewModal, {
|
|
4963
|
+
open: !!previewUrl,
|
|
4964
|
+
url: previewUrl,
|
|
4965
|
+
title: "Statement",
|
|
4966
|
+
onClose: function onClose() {
|
|
4967
|
+
return setPreviewUrl('');
|
|
4968
|
+
},
|
|
4969
|
+
fontColor: fontColor,
|
|
4970
|
+
primaryColor: primaryColor,
|
|
4971
|
+
secondaryColor: secondaryColor
|
|
4972
|
+
}), /*#__PURE__*/React__default.createElement(TableContainer$1, null, !lodash.isEmpty(customerData) && /*#__PURE__*/React__default.createElement(APITable, {
|
|
4827
4973
|
cacheFilters: true,
|
|
4828
4974
|
extraFilterParams: queryParams,
|
|
4829
4975
|
tableHeaderContent: /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
@@ -4895,14 +5041,14 @@ var Statement = function Statement(_ref) {
|
|
|
4895
5041
|
fontColor: fontColor
|
|
4896
5042
|
})));
|
|
4897
5043
|
};
|
|
4898
|
-
var Root$3 = styled__default.div(_templateObject$
|
|
4899
|
-
var TypographyContainer$4 = styled__default(material.Typography)(_templateObject2$
|
|
5044
|
+
var Root$3 = styled__default.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose([""])));
|
|
5045
|
+
var TypographyContainer$4 = styled__default(material.Typography)(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
|
|
4900
5046
|
return props.fontColor;
|
|
4901
5047
|
});
|
|
4902
|
-
var StatusContainer$1 = styled__default(material.Grid)(_templateObject3$
|
|
5048
|
+
var StatusContainer$1 = styled__default(material.Grid)(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n display: initial;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n padding: 2px 4px;\n"])));
|
|
4903
5049
|
var TableContainer$1 = styled__default.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n border-radius: 14px;\n"])));
|
|
4904
5050
|
|
|
4905
|
-
var _templateObject$
|
|
5051
|
+
var _templateObject$g, _templateObject2$a;
|
|
4906
5052
|
var FormCheckbox = function FormCheckbox(props) {
|
|
4907
5053
|
var label = props.label,
|
|
4908
5054
|
name = props.name,
|
|
@@ -4944,14 +5090,14 @@ var FormCheckbox = function FormCheckbox(props) {
|
|
|
4944
5090
|
}
|
|
4945
5091
|
});
|
|
4946
5092
|
};
|
|
4947
|
-
var CheckboxField = styled__default(material.Checkbox)(_templateObject$
|
|
5093
|
+
var CheckboxField = styled__default(material.Checkbox)(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
|
|
4948
5094
|
return props.primaryColor;
|
|
4949
5095
|
});
|
|
4950
|
-
var FormControlLabelContainer$1 = styled__default(material.FormControlLabel)(_templateObject2$
|
|
5096
|
+
var FormControlLabelContainer$1 = styled__default(material.FormControlLabel)(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteralLoose(["\n .MuiTypography-root {\n color: ", " !important;\n }\n"])), function (props) {
|
|
4951
5097
|
return props.fontColor;
|
|
4952
5098
|
});
|
|
4953
5099
|
|
|
4954
|
-
var _templateObject$
|
|
5100
|
+
var _templateObject$h;
|
|
4955
5101
|
var AddEditAddress = function AddEditAddress(_ref) {
|
|
4956
5102
|
var apiEndPoint = _ref.apiEndPoint,
|
|
4957
5103
|
token = _ref.token,
|
|
@@ -5168,11 +5314,11 @@ var AddEditAddress = function AddEditAddress(_ref) {
|
|
|
5168
5314
|
loading: isLoading
|
|
5169
5315
|
}, addressDetails ? 'Update Address' : 'Add Address')));
|
|
5170
5316
|
};
|
|
5171
|
-
var HeaderContainer = styled__default.h2(_templateObject$
|
|
5317
|
+
var HeaderContainer = styled__default.h2(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose(["\n color: ", ";\n margin-top: 1rem;\n font-size: 1.3rem;\n font-weight: 500;\n"])), function (props) {
|
|
5172
5318
|
return props.fontColor;
|
|
5173
5319
|
});
|
|
5174
5320
|
|
|
5175
|
-
var _templateObject$
|
|
5321
|
+
var _templateObject$i, _templateObject2$b, _templateObject3$7, _templateObject4$5, _templateObject5$3, _templateObject6$2;
|
|
5176
5322
|
var StoreDetails = function StoreDetails(_ref) {
|
|
5177
5323
|
var _storeAddresses$filte;
|
|
5178
5324
|
var apiEndPoint = _ref.apiEndPoint,
|
|
@@ -5258,17 +5404,17 @@ var StoreDetails = function StoreDetails(_ref) {
|
|
|
5258
5404
|
}).join(', ')), (address === null || address === void 0 ? void 0 : address.country) && /*#__PURE__*/React__default.createElement("p", null, address === null || address === void 0 ? void 0 : address.country), /*#__PURE__*/React__default.createElement("p", null, address === null || address === void 0 ? void 0 : address.phone), (address === null || address === void 0 ? void 0 : address.billingAddress) && /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement("span", null, "billing address")), (address === null || address === void 0 ? void 0 : address.shippingAddress) && /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement("span", null, "shipping address"))))));
|
|
5259
5405
|
})));
|
|
5260
5406
|
};
|
|
5261
|
-
var RootContainer$2 = styled__default(material.Stack)(_templateObject$
|
|
5407
|
+
var RootContainer$2 = styled__default(material.Stack)(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n padding: 1.3rem;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
|
|
5262
5408
|
return props.secondaryColor;
|
|
5263
5409
|
});
|
|
5264
|
-
var AddressContainer = styled__default(material.Card)(_templateObject2$
|
|
5410
|
+
var AddressContainer = styled__default(material.Card)(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n border-radius: 14px !important;\n background-color: ", " !important;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px !important;\n .MuiCardHeader-root {\n background-color: ", ";\n padding: 4px 14px;\n svg,\n h3 {\n color: #fff;\n font-size: 1.3rem;\n }\n h3 {\n font-weight: 500;\n margin-left: 6px;\n }\n }\n p {\n font-size: 0.9rem;\n font-weight: 400;\n color: ", ";\n margin-bottom: 1rem;\n word-break: break-word;\n }\n"])), function (props) {
|
|
5265
5411
|
return props.secondaryColor;
|
|
5266
5412
|
}, function (props) {
|
|
5267
5413
|
return props.primaryColor;
|
|
5268
5414
|
}, function (props) {
|
|
5269
5415
|
return props.fontColor;
|
|
5270
5416
|
});
|
|
5271
|
-
var Modal = styled__default(MuiModal)(_templateObject3$
|
|
5417
|
+
var Modal = styled__default(MuiModal)(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose([""])));
|
|
5272
5418
|
var TypographyContainer$5 = styled__default(material.Typography)(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
|
|
5273
5419
|
return props.fontColor;
|
|
5274
5420
|
});
|
|
@@ -5277,7 +5423,7 @@ var AddressCardContainer = styled__default.div(_templateObject6$2 || (_templateO
|
|
|
5277
5423
|
return props.primaryColor;
|
|
5278
5424
|
});
|
|
5279
5425
|
|
|
5280
|
-
var _templateObject$
|
|
5426
|
+
var _templateObject$j;
|
|
5281
5427
|
var _excluded$4 = ["children", "value", "index"];
|
|
5282
5428
|
function TabPanel(props) {
|
|
5283
5429
|
var children = props.children,
|
|
@@ -5382,7 +5528,7 @@ var StoreTabs = function StoreTabs(_ref) {
|
|
|
5382
5528
|
customer: customer
|
|
5383
5529
|
})))));
|
|
5384
5530
|
};
|
|
5385
|
-
var TabsContainer$1 = styled__default(material.Tabs)(_templateObject$
|
|
5531
|
+
var TabsContainer$1 = styled__default(material.Tabs)(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose(["\n button {\n color: ", " !important;\n font-size: 1.1rem;\n }\n .Mui-selected {\n color: ", " !important;\n }\n .MuiTabs-indicator {\n background-color: ", " !important;\n }\n"])), function (props) {
|
|
5386
5532
|
return props.fontColor;
|
|
5387
5533
|
}, function (props) {
|
|
5388
5534
|
return props.primaryColor;
|
|
@@ -5390,7 +5536,7 @@ var TabsContainer$1 = styled__default(material.Tabs)(_templateObject$i || (_temp
|
|
|
5390
5536
|
return props.primaryColor;
|
|
5391
5537
|
});
|
|
5392
5538
|
|
|
5393
|
-
var _templateObject$
|
|
5539
|
+
var _templateObject$k, _templateObject2$c, _templateObject3$8;
|
|
5394
5540
|
var StoreList = function StoreList(_ref) {
|
|
5395
5541
|
var apiEndPoint = _ref.apiEndPoint,
|
|
5396
5542
|
token = _ref.token,
|
|
@@ -5437,9 +5583,9 @@ var StoreList = function StoreList(_ref) {
|
|
|
5437
5583
|
customer: customer
|
|
5438
5584
|
}));
|
|
5439
5585
|
};
|
|
5440
|
-
var Modal$1 = styled__default(MuiModal)(_templateObject$
|
|
5441
|
-
var StoreHeader = styled__default.div(_templateObject2$
|
|
5442
|
-
var TypographyContainer$6 = styled__default(material.Typography)(_templateObject3$
|
|
5586
|
+
var Modal$1 = styled__default(MuiModal)(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose([""])));
|
|
5587
|
+
var StoreHeader = styled__default.div(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 1rem 0;\n .manageStore {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n"])));
|
|
5588
|
+
var TypographyContainer$6 = styled__default(material.Typography)(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
|
|
5443
5589
|
return props.fontColor;
|
|
5444
5590
|
});
|
|
5445
5591
|
|
|
@@ -5463,11 +5609,11 @@ var getDropzoneRejectionError = function getDropzoneRejectionError(fileRejection
|
|
|
5463
5609
|
return (error === null || error === void 0 ? void 0 : error.message) || 'Invalid file';
|
|
5464
5610
|
};
|
|
5465
5611
|
|
|
5466
|
-
var _templateObject$
|
|
5612
|
+
var _templateObject$l, _templateObject2$d, _templateObject3$9, _templateObject4$6, _templateObject5$4, _templateObject6$3, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34;
|
|
5467
5613
|
var DEFAULT_PRIMARY_COLOR = "#437c0f";
|
|
5468
|
-
var Container = styled__default.div(_templateObject$
|
|
5469
|
-
var Card = styled__default.div(_templateObject2$
|
|
5470
|
-
var Title = styled__default.h2(_templateObject3$
|
|
5614
|
+
var Container = styled__default.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n min-height: 80vh;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #f6f6f6;\n padding: 2rem 1rem;\n"])));
|
|
5615
|
+
var Card = styled__default.div(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteralLoose(["\n width: min(100%, 720px);\n background: #fff;\n border: 1px solid #cac8c8;\n border-radius: 8px;\n padding: 1.5rem;\n"])));
|
|
5616
|
+
var Title = styled__default.h2(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n font-weight: 600;\n color: ", ";\n margin: 0 0 1.25rem;\n"])), function (_ref) {
|
|
5471
5617
|
var $primaryColor = _ref.$primaryColor;
|
|
5472
5618
|
return $primaryColor;
|
|
5473
5619
|
});
|
|
@@ -5819,7 +5965,7 @@ var getDocumentTypes = function getDocumentTypes(_ref3) {
|
|
|
5819
5965
|
}
|
|
5820
5966
|
};
|
|
5821
5967
|
|
|
5822
|
-
var _templateObject$
|
|
5968
|
+
var _templateObject$m;
|
|
5823
5969
|
var columns = [{
|
|
5824
5970
|
id: 'orderId',
|
|
5825
5971
|
label: 'Order Id',
|
|
@@ -5879,9 +6025,9 @@ var UpcomingACHPayments = function UpcomingACHPayments(_ref) {
|
|
|
5879
6025
|
fontColor: fontColor
|
|
5880
6026
|
}));
|
|
5881
6027
|
};
|
|
5882
|
-
var TableContainer$2 = styled__default.div(_templateObject$
|
|
6028
|
+
var TableContainer$2 = styled__default.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n border-radius: 14px;\n"])));
|
|
5883
6029
|
|
|
5884
|
-
var _templateObject$
|
|
6030
|
+
var _templateObject$n, _templateObject2$e, _templateObject3$a, _templateObject4$7;
|
|
5885
6031
|
var _excluded$5 = ["apiEndPoint", "serviceApiEndPoint", "token", "primaryColor", "secondaryColor", "backgroundColor", "fontColor", "darkMode", "onChangeColors", "path", "onChangePath", "maxWidth", "logoUrl", "sectionLeftImageSection", "exploreCategoryImage", "sectionRightImageSection", "discountImageSection", "disabledUpdateProfileFromDashboard", "hideTotalCardInDashboardSummary", "showOnlyRecentOrder", "hidePayActionButton", "hideAddAccessPaymentButton"];
|
|
5886
6032
|
var AccountDetails = function AccountDetails(_ref) {
|
|
5887
6033
|
var _storeData$map, _storeData$find, _storeData$;
|
|
@@ -6259,14 +6405,14 @@ var AccountDetails = function AccountDetails(_ref) {
|
|
|
6259
6405
|
skeleton: true
|
|
6260
6406
|
}, apiEndPoint && token && renderListItemComponent(tabValue))))))));
|
|
6261
6407
|
};
|
|
6262
|
-
var Root$4 = styled__default(material.Box)(_templateObject$
|
|
6408
|
+
var Root$4 = styled__default(material.Box)(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose(["\n // background-image: url(", ");\n // background-position: center;\n // background-repeat: no-repeat;\n // background-size: cover;\n padding: 1.4rem;\n background-color: ", ";\n"])), function (props) {
|
|
6263
6409
|
var _props$theme;
|
|
6264
6410
|
return (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.backgroundImage;
|
|
6265
6411
|
}, function (props) {
|
|
6266
6412
|
var _props$theme2, _props$theme3, _props$theme4;
|
|
6267
6413
|
return (_props$theme2 = props.theme) !== null && _props$theme2 !== void 0 && _props$theme2.isNightMode ? (_props$theme3 = props.theme) === null || _props$theme3 === void 0 ? void 0 : _props$theme3.secondaryColor : "rgba(" + hexToRgbA((_props$theme4 = props.theme) === null || _props$theme4 === void 0 ? void 0 : _props$theme4.primaryColor) + ",0.1)";
|
|
6268
6414
|
});
|
|
6269
|
-
var MainContainer = styled__default.div(_templateObject2$
|
|
6415
|
+
var MainContainer = styled__default.div(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin: auto;\n min-height: 100vh;\n background-color: ", ";\n max-width: ", ";\n padding: 2rem;\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
|
|
6270
6416
|
return props.backgroundColor;
|
|
6271
6417
|
}, function (props) {
|
|
6272
6418
|
return props.open ? '1800px' : '1600px';
|
|
@@ -6301,7 +6447,7 @@ var Main = styles.styled('main', {
|
|
|
6301
6447
|
overflow: 'auto'
|
|
6302
6448
|
});
|
|
6303
6449
|
});
|
|
6304
|
-
var ContainerDrawer = styled__default(material.Drawer)(_templateObject3$
|
|
6450
|
+
var ContainerDrawer = styled__default(material.Drawer)(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose(["\n // height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n padding: 1rem;\n position: relative;\n z-index: 1;\n background: ", ";\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n }\n"])), function (props) {
|
|
6305
6451
|
return props.open && '2rem';
|
|
6306
6452
|
}, function (props) {
|
|
6307
6453
|
return props.primaryColor || transparent;
|
|
@@ -6310,7 +6456,7 @@ var TypographyContainer$7 = styled__default(material.Typography)(_templateObject
|
|
|
6310
6456
|
return props.fontColor;
|
|
6311
6457
|
});
|
|
6312
6458
|
|
|
6313
|
-
var _templateObject$
|
|
6459
|
+
var _templateObject$o, _templateObject2$f, _templateObject3$b;
|
|
6314
6460
|
var BannerImages = function BannerImages(_ref) {
|
|
6315
6461
|
var eager = _ref.eager,
|
|
6316
6462
|
config = _ref.config,
|
|
@@ -6378,16 +6524,16 @@ var BannerImages = function BannerImages(_ref) {
|
|
|
6378
6524
|
}))));
|
|
6379
6525
|
})));
|
|
6380
6526
|
};
|
|
6381
|
-
var Video = styled__default.video(_templateObject$
|
|
6527
|
+
var Video = styled__default.video(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose(["\n width: 100%;\n cursor: pointer;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.02);\n }\n"])));
|
|
6382
6528
|
var Image = styled__default.img.attrs(function (props) {
|
|
6383
6529
|
return {
|
|
6384
6530
|
loading: props.loading || 'lazy',
|
|
6385
6531
|
decoding: 'async'
|
|
6386
6532
|
};
|
|
6387
|
-
})(_templateObject2$
|
|
6388
|
-
var BannerContainer$1 = styled__default.section(_templateObject3$
|
|
6533
|
+
})(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n width: 100%;\n cursor: pointer;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.02);\n }\n"])));
|
|
6534
|
+
var BannerContainer$1 = styled__default.section(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n font-size: 0;\n"])));
|
|
6389
6535
|
|
|
6390
|
-
var _templateObject$
|
|
6536
|
+
var _templateObject$p, _templateObject2$g, _templateObject3$c, _templateObject4$8;
|
|
6391
6537
|
var LandingCarousel = function LandingCarousel(_ref) {
|
|
6392
6538
|
var _config$spaceBetweenC, _config$colLg, _ref2, _ref3, _config$colSm, _ref4, _config$colMd, _config$colLg2;
|
|
6393
6539
|
var eager = _ref.eager,
|
|
@@ -6477,16 +6623,16 @@ var Image$1 = styled__default.img.attrs(function (props) {
|
|
|
6477
6623
|
loading: props.loading || 'lazy',
|
|
6478
6624
|
decoding: 'async'
|
|
6479
6625
|
};
|
|
6480
|
-
})(_templateObject$
|
|
6481
|
-
var Video$1 = styled__default.video(_templateObject2$
|
|
6482
|
-
var Root$5 = styled__default.div(_templateObject3$
|
|
6626
|
+
})(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
|
|
6627
|
+
var Video$1 = styled__default.video(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
|
|
6628
|
+
var Root$5 = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n height: 100%;\n"])));
|
|
6483
6629
|
var ReactSlick = styled__default(Slider)(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose(["\n height: 100%;\n .slick-track {\n height: 100%;\n }\n .slick-slide {\n height: 100%;\n div:first-child {\n height: 100%;\n }\n }\n .slick-list {\n height: 100%;\n margin: 0 -", "px;\n }\n .slideItem {\n height: 100%;\n padding: 0 ", "px;\n overflow: hidden;\n }\n line-height: 0;\n .slick-dots {\n bottom: 0;\n li {\n margin: 0;\n button:before {\n color: #ffffff !important;\n font-size: 10px;\n }\n }\n }\n .slick-prev,\n .slick-next {\n color: #464646 !important;\n z-index: 1;\n width: 26px;\n height: 26px;\n }\n .slick-prev {\n left: 12px;\n }\n .slick-next {\n right: 12px;\n }\n"])), function (props) {
|
|
6484
6630
|
return props === null || props === void 0 ? void 0 : props.spaceBetweenCol;
|
|
6485
6631
|
}, function (props) {
|
|
6486
6632
|
return props === null || props === void 0 ? void 0 : props.spaceBetweenCol;
|
|
6487
6633
|
});
|
|
6488
6634
|
|
|
6489
|
-
var _templateObject$
|
|
6635
|
+
var _templateObject$q, _templateObject2$h;
|
|
6490
6636
|
var JUSTIFY = {
|
|
6491
6637
|
Left: {
|
|
6492
6638
|
marginRight: 'auto'
|
|
@@ -6693,8 +6839,8 @@ var HomeBanner = function HomeBanner(_ref) {
|
|
|
6693
6839
|
}, item === null || item === void 0 ? void 0 : item.component);
|
|
6694
6840
|
}))))));
|
|
6695
6841
|
};
|
|
6696
|
-
var Root$6 = styled__default.div(_templateObject$
|
|
6697
|
-
var MainContainer$1 = styled__default.div(_templateObject2$
|
|
6842
|
+
var Root$6 = styled__default.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose([""])));
|
|
6843
|
+
var MainContainer$1 = styled__default.div(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose([""])));
|
|
6698
6844
|
var NearViewport = function NearViewport(_ref3) {
|
|
6699
6845
|
var skip = _ref3.skip,
|
|
6700
6846
|
height = _ref3.height,
|
|
@@ -6797,7 +6943,7 @@ var adjustResponsiveSpace = function adjustResponsiveSpace(_ref6) {
|
|
|
6797
6943
|
return spaceValue;
|
|
6798
6944
|
};
|
|
6799
6945
|
|
|
6800
|
-
var _templateObject$
|
|
6946
|
+
var _templateObject$r, _templateObject2$i, _templateObject3$d, _templateObject4$9, _templateObject5$5;
|
|
6801
6947
|
var LandingCarousel$1 = function LandingCarousel(_ref) {
|
|
6802
6948
|
var _brandData2;
|
|
6803
6949
|
var brandList = _ref.brandList,
|
|
@@ -6928,9 +7074,9 @@ var Image$2 = styled__default.img.attrs(function (props) {
|
|
|
6928
7074
|
loading: props.loading || 'lazy',
|
|
6929
7075
|
decoding: 'async'
|
|
6930
7076
|
};
|
|
6931
|
-
})(_templateObject$
|
|
6932
|
-
var Video$2 = styled__default.video(_templateObject2$
|
|
6933
|
-
var Root$7 = styled__default.div(_templateObject3$
|
|
7077
|
+
})(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n min-height: 100px;\n max-width: 150px;\n object-fit: contain;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
|
|
7078
|
+
var Video$2 = styled__default.video(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n min-height: 100px;\n max-width: 150px;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
|
|
7079
|
+
var Root$7 = styled__default.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n height: 100%;\n"])));
|
|
6934
7080
|
var ReactSlick$1 = styled__default(Slider)(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n height: 100%;\n .slick-track {\n height: 100%;\n }\n .slick-slide {\n height: 100%;\n div:first-child {\n height: 100%;\n }\n }\n .slick-list {\n height: 100%;\n margin: 0 -", "px;\n }\n\n line-height: 0;\n .slick-dots {\n bottom: 0;\n li {\n margin: 0;\n button:before {\n color: #ffffff !important;\n font-size: 10px;\n }\n }\n }\n .slick-prev,\n .slick-next {\n color: #464646 !important;\n z-index: 1;\n width: 26px;\n height: 26px;\n }\n .slick-prev {\n left: 12px;\n }\n .slick-next {\n right: 12px;\n }\n"])), function (props) {
|
|
6935
7081
|
return props === null || props === void 0 ? void 0 : props.spaceBetweenCol;
|
|
6936
7082
|
});
|
|
@@ -6938,7 +7084,7 @@ var SliderItem = styled__default.div(_templateObject5$5 || (_templateObject5$5 =
|
|
|
6938
7084
|
return (props === null || props === void 0 ? void 0 : props.spaceBetweenCol) || 0;
|
|
6939
7085
|
});
|
|
6940
7086
|
|
|
6941
|
-
var _templateObject$
|
|
7087
|
+
var _templateObject$s, _templateObject2$j;
|
|
6942
7088
|
var BrandList = function BrandList(_ref) {
|
|
6943
7089
|
var apiEndPoint = _ref.apiEndPoint,
|
|
6944
7090
|
_ref$colors = _ref.colors,
|
|
@@ -7000,10 +7146,10 @@ var BrandList = function BrandList(_ref) {
|
|
|
7000
7146
|
autoplaySpeed: autoplaySpeed
|
|
7001
7147
|
}))));
|
|
7002
7148
|
};
|
|
7003
|
-
var Root$8 = styled__default.div(_templateObject$
|
|
7004
|
-
var MainContainer$2 = styled__default.div(_templateObject2$
|
|
7149
|
+
var Root$8 = styled__default.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose([""])));
|
|
7150
|
+
var MainContainer$2 = styled__default.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose([""])));
|
|
7005
7151
|
|
|
7006
|
-
var _templateObject$
|
|
7152
|
+
var _templateObject$t, _templateObject2$k, _templateObject3$e, _templateObject4$a, _templateObject5$6, _templateObject6$4, _templateObject7$3, _templateObject8$3, _templateObject9$3;
|
|
7007
7153
|
var BrandStock = function BrandStock(_ref) {
|
|
7008
7154
|
var _data$brands, _Object$keys, _Object$keys2, _data$brands2;
|
|
7009
7155
|
var storeData = _ref.storeData,
|
|
@@ -7158,9 +7304,9 @@ var BrandStock = function BrandStock(_ref) {
|
|
|
7158
7304
|
height: 80
|
|
7159
7305
|
}), brandList), (data === null || data === void 0 ? void 0 : data.returnPolicy) && /*#__PURE__*/React__default.createElement(ReturnPolicyContainer, null, /*#__PURE__*/React__default.createElement("h2", null, (data === null || data === void 0 ? void 0 : data.returnPolicyTitle) || 'Return Policy'), data === null || data === void 0 ? void 0 : data.returnPolicy))));
|
|
7160
7306
|
};
|
|
7161
|
-
var Root$9 = styled__default.div(_templateObject$
|
|
7162
|
-
var TitleContainer$1 = styled__default.div(_templateObject2$
|
|
7163
|
-
var MainContainer$3 = styled__default.div(_templateObject3$
|
|
7307
|
+
var Root$9 = styled__default.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n"])));
|
|
7308
|
+
var TitleContainer$1 = styled__default.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n padding: 0 1rem;\n display: flex;\n justify-content: space-between;\n"])));
|
|
7309
|
+
var MainContainer$3 = styled__default.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n max-width: 600px;\n margin: auto;\n .logo {\n display: flex;\n }\n .logoImage {\n max-width: min(400px, 100%);\n max-height: 200px;\n margin: auto;\n }\n"])));
|
|
7164
7310
|
var DetailsContainer = styled__default.div(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n text-align: center;\n p {\n font-size: 16px;\n font-weight: 500;\n }\n span {\n font-size: 15px;\n }\n .lineContainer {\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 0.5rem 0;\n span {\n margin-right: 6px;\n }\n }\n"])));
|
|
7165
7311
|
var BrandContainer = styled__default.div(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteralLoose(["\n .brandImage {\n max-width: 100%;\n margin: 1rem auto;\n }\n"])));
|
|
7166
7312
|
var ReturnPolicyContainer = styled__default.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n h2 {\n text-align: center;\n }\n margin: 1rem 0;\n p {\n font-size: 16px;\n }\n"])));
|
|
@@ -7172,12 +7318,12 @@ var TableCellContainer$1 = styled__default(TableCell)(_templateObject9$3 || (_te
|
|
|
7172
7318
|
return props.availableQuantity ? props.stockCol && 'green' : '#ffffff';
|
|
7173
7319
|
});
|
|
7174
7320
|
|
|
7175
|
-
var _templateObject$
|
|
7176
|
-
var CartDrawerContainer = styled__default.div(_templateObject$
|
|
7321
|
+
var _templateObject$u, _templateObject2$l, _templateObject3$f, _templateObject4$b, _templateObject5$7, _templateObject6$5, _templateObject7$4;
|
|
7322
|
+
var CartDrawerContainer = styled__default.div(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: ", ";\n height: 100%;\n /* padding: 1em;\n padding-top: 0rem; */\n position: relative;\n /* min-width: 100%; */\n min-height: 100vh;\n max-height: 100vh;\n overflow: hidden;\n box-sizing: border-box;\n\n display: flex;\n flex-direction: column;\n /* border: 1px solid; */\n"])), function (props) {
|
|
7177
7323
|
return props.maxWidth || '650px';
|
|
7178
7324
|
});
|
|
7179
|
-
var CartDrawerBar = styled__default.div(_templateObject2$
|
|
7180
|
-
var CartDrawerProductContainer = styled__default.div(_templateObject3$
|
|
7325
|
+
var CartDrawerBar = styled__default.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n position: sticky;\n box-sizing: border-box;\n top: 0;\n left: 0;\n padding: 1em;\n height: 4.6rem;\n font-size: 1.6rem;\n background-color: white;\n font-weight: bold;\n padding-left: 1rem;\n z-index: 2;\n h2 {\n font-size: 1.5em;\n }\n .icon {\n cursor: pointer;\n font-size: 1em;\n }\n @media only screen and (max-width: 600px) {\n font-size: 1rem;\n height: 4rem;\n }\n"])));
|
|
7326
|
+
var CartDrawerProductContainer = styled__default.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n position: relative;\n padding-top: 1rem;\n min-height: 0;\n height: 100%;\n overflow: hidden;\n box-sizing: border-box;\n opacity: ", ";\n /* background-color: red; */\n"])), function (props) {
|
|
7181
7327
|
return props.opacity;
|
|
7182
7328
|
});
|
|
7183
7329
|
var CartDrawerBottomSection = styled__default.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n box-sizing: border-box;\n /* height: 8rem; */\n background-color: white;\n box-shadow: 3px -2px 10px #b1b1b1;\n display: flex;\n flex-direction: column;\n // min-height: 7rem;\n position: sticky;\n bottom: 0;\n margin-top: auto;\n /* padding-bottom: 0.5rem; */\n\n /* left: 0; */\n align-items: center;\n .row {\n width: 100%;\n padding: 0rem 1rem;\n padding-top: 1rem;\n /* padding-left: 1rem; */\n h5 {\n font-weight: bold;\n font-size: 1.1rem;\n span {\n font-weight: 400;\n padding-left: 0.5rem;\n }\n }\n }\n @media only screen and (max-width: 340px) {\n min-height: 6rem;\n .row h5 {\n font-size: 0.8rem;\n }\n }\n"])));
|
|
@@ -7281,13 +7427,13 @@ function useGridSize() {
|
|
|
7281
7427
|
return layout;
|
|
7282
7428
|
}
|
|
7283
7429
|
|
|
7284
|
-
var _templateObject$
|
|
7285
|
-
var CartPageSection = styled__default.section(_templateObject$
|
|
7430
|
+
var _templateObject$v, _templateObject2$m, _templateObject3$g, _templateObject4$c, _templateObject5$8, _templateObject6$6, _templateObject7$5, _templateObject8$4, _templateObject9$4, _templateObject10$3;
|
|
7431
|
+
var CartPageSection = styled__default.section(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n border-radius: 20px;\n max-width: 1600px;\n width: min(1600px, 100%);\n margin: auto;\n @media screen and (max-width: 1200px) {\n padding: 0 1em;\n }\n"])), function (props) {
|
|
7286
7432
|
return props.bg;
|
|
7287
7433
|
}, function (props) {
|
|
7288
7434
|
return props.bg || '#FAE8E5';
|
|
7289
7435
|
});
|
|
7290
|
-
var CartPageContainer = styled__default.div(_templateObject2$
|
|
7436
|
+
var CartPageContainer = styled__default.div(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n max-width: ", ";\n width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n padding: 2rem;\n padding-bottom: 2em;\n border-radius: 12px;\n opacity: ", ";\n .scrollDiv {\n width: 68%;\n max-height: 630px;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n margin-right: 0.3em;\n &::-webkit-scrollbar {\n width: 10px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: ", ";\n border-radius: 16px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n }\n /* box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05); */\n }\n table {\n border-collapse: separate;\n border-spacing: 0 4px;\n row-gap: 4px;\n }\n\n td {\n /* border: solid 1px #000; */\n border-style: none solid solid none;\n /* padding: 10px; */\n /* margin-bottom:5px; */\n }\n\n tr:first-child td:first-child {\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n }\n\n tr td:first-child {\n border-bottom-left-radius: 10px;\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-bottom-right-radius: 10px;\n }\n\n tr td {\n border-top-style: solid;\n }\n tr td:first-child {\n border-left-style: solid;\n }\n\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n padding: 1rem 0;\n .scrollDiv {\n width: 100%;\n margin: 0;\n margin-bottom: 2em;\n // padding: 0 0.4em;\n }\n }\n"])), function (props) {
|
|
7291
7437
|
return props.maxWidth || '1600px';
|
|
7292
7438
|
}, function (props) {
|
|
7293
7439
|
return "min(" + (props.maxWidth || '1600px') + ",100%)";
|
|
@@ -7300,7 +7446,7 @@ var CartPageContainer = styled__default.div(_templateObject2$l || (_templateObje
|
|
|
7300
7446
|
var _props$scroll2;
|
|
7301
7447
|
return (props === null || props === void 0 ? void 0 : (_props$scroll2 = props.scroll) === null || _props$scroll2 === void 0 ? void 0 : _props$scroll2.color) || '#BFC3CA';
|
|
7302
7448
|
});
|
|
7303
|
-
var CardsBox = styled__default.div(_templateObject3$
|
|
7449
|
+
var CardsBox = styled__default.div(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n width: 100%;\n /* min-height: 1000px; */\n position: relative;\n margin-right: auto;\n padding: 1em;\n display: ", ";\n grid-template-columns: 1fr 1fr;\n flex-direction: column;\n align-items: flex-start;\n grid-gap: 1em;\n justify-content: flex-start;\n align-items: center;\n border-radius: 12px;\n @media only screen and (max-width: 900px) {\n display: flex;\n }\n @media only screen and (max-width: 768px) {\n padding: 0;\n }\n"])), function (props) {
|
|
7304
7450
|
return props.retail ? 'grid' : 'flex';
|
|
7305
7451
|
});
|
|
7306
7452
|
var CartHeading = styled__default.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n /* margin-bottom: 2em; */\n margin-left: 2em;\n margin-top: 2em;\n @media only screen and (max-width: 1200px) {\n margin-left: 1em;\n }\n\n color: ", ";\n h1 {\n font-weight: 600;\n font-size: 2em;\n text-transform: capitalize;\n color: ", ";\n /* margin-bottom: 1em; */\n }\n p {\n font-size: 0.875em;\n color: inherit;\n margin-top: 0.5em;\n }\n"])), function (props) {
|
|
@@ -8457,7 +8603,7 @@ var TotalAfterDiscount = function TotalAfterDiscount(_ref2) {
|
|
|
8457
8603
|
}, renderMoney(totalAmount)) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement("b", null, renderMoney(total))));
|
|
8458
8604
|
};
|
|
8459
8605
|
|
|
8460
|
-
var _templateObject$
|
|
8606
|
+
var _templateObject$w, _templateObject2$n, _templateObject3$h, _templateObject4$d, _templateObject5$9, _templateObject6$7, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$4, _templateObject11$3, _templateObject12$2, _templateObject13$2, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24$1, _templateObject25$1, _templateObject26$1, _templateObject27$1, _templateObject28$1, _templateObject29$1, _templateObject30$1, _templateObject31$1, _templateObject32$1, _templateObject33$1, _templateObject34$1, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51, _templateObject52, _templateObject53, _templateObject54, _templateObject55, _templateObject56, _templateObject57, _templateObject58, _templateObject59;
|
|
8461
8607
|
var DEFAULT_PRIMARY_COLOR$1 = '#437C0F';
|
|
8462
8608
|
var formatCurrency = function formatCurrency(amount) {
|
|
8463
8609
|
return Number(amount).toLocaleString('en-US', {
|
|
@@ -9094,9 +9240,9 @@ var DiscountSuggestionsModal = function DiscountSuggestionsModal(_ref4) {
|
|
|
9094
9240
|
})))));
|
|
9095
9241
|
})))))), document.body);
|
|
9096
9242
|
};
|
|
9097
|
-
var fadeSlideUp = styled.keyframes(_templateObject$
|
|
9098
|
-
var shimmer = styled.keyframes(_templateObject2$
|
|
9099
|
-
var copyPop = styled.keyframes(_templateObject3$
|
|
9243
|
+
var fadeSlideUp = styled.keyframes(_templateObject$w || (_templateObject$w = _taggedTemplateLiteralLoose(["\n from {\n opacity: 0;\n transform: translateY(14px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n"])));
|
|
9244
|
+
var shimmer = styled.keyframes(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n 0% {\n background-position: -120% 0;\n }\n 100% {\n background-position: 220% 0;\n }\n"])));
|
|
9245
|
+
var copyPop = styled.keyframes(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n 0% {\n transform: scale(1);\n }\n 45% {\n transform: scale(1.06);\n }\n 100% {\n transform: scale(1);\n }\n"])));
|
|
9100
9246
|
var chipIn = styled.keyframes(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n from {\n opacity: 0;\n transform: translateY(6px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n"])));
|
|
9101
9247
|
var progressGrow = styled.keyframes(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteralLoose(["\n from {\n width: 0;\n }\n"])));
|
|
9102
9248
|
var sparkleFloat = styled.keyframes(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteralLoose(["\n 0%, 100% {\n opacity: 0.15;\n transform: translateY(0) scale(1);\n }\n 50% {\n opacity: 0.55;\n transform: translateY(-6px) scale(1.15);\n }\n"])));
|
|
@@ -9353,7 +9499,7 @@ var PrimaryCopyButton = styled__default.button(_templateObject59 || (_templateOb
|
|
|
9353
9499
|
return $accentColor;
|
|
9354
9500
|
}, reducedMotion);
|
|
9355
9501
|
|
|
9356
|
-
var _templateObject$
|
|
9502
|
+
var _templateObject$x, _templateObject2$o, _templateObject3$i, _templateObject4$e, _templateObject5$a, _templateObject6$8;
|
|
9357
9503
|
var DEFAULT_PRIMARY_COLOR$2 = '#437C0F';
|
|
9358
9504
|
var DiscountSuggestionPreview = function DiscountSuggestionPreview(_ref) {
|
|
9359
9505
|
var coupon = _ref.coupon,
|
|
@@ -9428,12 +9574,12 @@ var DiscountSuggestionPreview = function DiscountSuggestionPreview(_ref) {
|
|
|
9428
9574
|
}
|
|
9429
9575
|
}, viewOffersLabel));
|
|
9430
9576
|
};
|
|
9431
|
-
var SuggestionRow = styled__default.div(_templateObject$
|
|
9432
|
-
var SuggestionText = styled__default.p(_templateObject2$
|
|
9577
|
+
var SuggestionRow = styled__default.div(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 0.5rem;\n margin-top: 0.35rem;\n margin-bottom: 0.35rem;\n max-width: 100%;\n"])));
|
|
9578
|
+
var SuggestionText = styled__default.p(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n margin: 0;\n flex: 1;\n min-width: 0;\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 1.45;\n color: ", ";\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n"])), function (_ref2) {
|
|
9433
9579
|
var $accentColor = _ref2.$accentColor;
|
|
9434
9580
|
return $accentColor || DEFAULT_PRIMARY_COLOR$2;
|
|
9435
9581
|
});
|
|
9436
|
-
var CodeWrap = styled__default.span(_templateObject3$
|
|
9582
|
+
var CodeWrap = styled__default.span(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n gap: 0.2rem;\n vertical-align: middle;\n margin-right: 0.25rem;\n"])));
|
|
9437
9583
|
var CodeValue$1 = styled__default.span(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n font-weight: 800;\n letter-spacing: 0.02em;\n color: ", ";\n"])), function (_ref3) {
|
|
9438
9584
|
var $accentColor = _ref3.$accentColor;
|
|
9439
9585
|
return $accentColor || DEFAULT_PRIMARY_COLOR$2;
|
|
@@ -9467,17 +9613,17 @@ var ViewOffersBtn = styled__default.button(_templateObject6$8 || (_templateObjec
|
|
|
9467
9613
|
return $accentColor ? $accentColor + "12" : '#437C0F12';
|
|
9468
9614
|
});
|
|
9469
9615
|
|
|
9470
|
-
var _templateObject$
|
|
9616
|
+
var _templateObject$y, _templateObject2$p, _templateObject3$j, _templateObject4$f, _templateObject5$b, _templateObject6$9, _templateObject7$7, _templateObject8$6;
|
|
9471
9617
|
var ProductImage = styled__default.img.attrs(function (props) {
|
|
9472
9618
|
return {
|
|
9473
9619
|
loading: props.loading || 'lazy',
|
|
9474
9620
|
decoding: 'async'
|
|
9475
9621
|
};
|
|
9476
|
-
})(_templateObject$
|
|
9477
|
-
var ProductName = styled__default.h6(_templateObject2$
|
|
9622
|
+
})(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose(["\n min-width: 60px;\n min-height: 60px;\n object-fit: contain;\n @media only screen and (max-width: 600px) {\n margin: 0.5em 0;\n padding-right: 0.5em;\n }\n"])));
|
|
9623
|
+
var ProductName = styled__default.h6(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n padding: 0;\n line-height: 1.3em;\n overflow: hidden;\n text-overflow: ellipsis;\n height: fit-content;\n cursor: pointer;\n"])), function (props) {
|
|
9478
9624
|
return props.size || '1em';
|
|
9479
9625
|
});
|
|
9480
|
-
var CartTableRow = styled__default(material.TableRow)(_templateObject3$
|
|
9626
|
+
var CartTableRow = styled__default(material.TableRow)(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: 0.3s;\n background: white;\n /* &:hover {\n td:first-child,\n td:last-child {\n border-left-style: solid;\n border-top-style: solid;\n border-top-right-radius: 10px;\n }\n } */\n .outOfStock {\n font-size: 0.75em;\n color: red;\n text-transform: uppercase;\n font-weight: 500;\n }\n .price {\n font-size: ", ";\n font-weight: bold;\n color: #323232;\n /* font-size: 1.15em; */\n }\n .borderLeft {\n height: 100%;\n background: ", ";\n transition: 0.2s;\n width: 0px;\n position: absolute;\n left: 0;\n top: 0;\n border-top-left-radius: 10px;\n display: none;\n border-bottom-left-radius: 10px;\n }\n .cartCheckBox {\n &.Mui-checked {\n svg {\n color: ", ";\n }\n }\n }\n &:hover {\n background: white !important;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);\n border-radius: 10px;\n /* opacity: 1;\n box-shadow: 1px 2px 6px 2px rgba(0, 0, 0, 0.2); */\n z-index: 2;\n /* border-radius: 20px; */\n .borderLeft {\n width: 12px;\n display: inline-block;\n }\n }\n @media only screen and (max-width: 600px) {\n .CartnoPaddingSm {\n padding: 0 !important;\n }\n .price {\n font-size: 0.8em;\n }\n margin: 0.5em 0;\n .cartCheckBox {\n .css-i4bv87-MuiSvgIcon-root {\n font-size: 10px !important;\n }\n }\n }\n"])), function (props) {
|
|
9481
9627
|
return props.size || '1.19em';
|
|
9482
9628
|
}, function (prop) {
|
|
9483
9629
|
return prop.bg;
|
|
@@ -10057,26 +10203,26 @@ function EnhancedTable(_ref2) {
|
|
|
10057
10203
|
}))))));
|
|
10058
10204
|
}
|
|
10059
10205
|
|
|
10060
|
-
var _templateObject$
|
|
10061
|
-
var CartPageCard = styled__default.div(_templateObject$
|
|
10206
|
+
var _templateObject$z, _templateObject2$q, _templateObject3$k, _templateObject4$g, _templateObject5$c, _templateObject6$a, _templateObject7$8;
|
|
10207
|
+
var CartPageCard = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n // width: min(97%, 485px);\n width: 98%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 1em;\n background: #ffffff;\n box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05);\n border-radius: 12px;\n position: relative;\n"])));
|
|
10062
10208
|
var CartPageImg = styled__default.img.attrs(function (props) {
|
|
10063
10209
|
return {
|
|
10064
10210
|
loading: props.loading || 'lazy',
|
|
10065
10211
|
decoding: 'async'
|
|
10066
10212
|
};
|
|
10067
|
-
})(_templateObject2$
|
|
10213
|
+
})(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n max-width: 60px;\n max-height: 60px;\n position: relative;\n margin-right: 0.5em;\n"])), function (props) {
|
|
10068
10214
|
return props.width || 'auto';
|
|
10069
10215
|
}, function (props) {
|
|
10070
10216
|
return props.height || 'auto';
|
|
10071
10217
|
});
|
|
10072
|
-
var NameAndQtBox = styled__default.div(_templateObject3$
|
|
10218
|
+
var NameAndQtBox = styled__default.div(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n width: 90%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n position: relative;\n"])));
|
|
10073
10219
|
var CartPageCardName = styled__default.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n width: 90%;\n overflow: hidden;\n text-overflow: ellipsis;\n margin-bottom: 0.6em;\n h6 {\n color: #323232;\n font-size: 0.9em;\n margin-bottom: 0.6em;\n line-height: 1.3em;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n p {\n font-size: 1.1em;\n font-weight: 600;\n color: #323232;\n }\n"])));
|
|
10074
10220
|
var QtAndPriceBox = styled__default.div(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n font-size: 1.1em;\n"])));
|
|
10075
10221
|
var CartPageQtBox = styled__default.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n height: 30px;\n width: 86px;\n border: 1px solid rgb(211, 210, 210);\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 13.5px;\n color: #323232;\n padding: 0 0.5rem;\n border-radius: 5px;\n max-width: 100%;\n .icon {\n cursor: pointer;\n height: 100%;\n display: grid;\n place-items: center;\n }\n .qt {\n font-size: 12px;\n color: black;\n font-weight: 500;\n cursor: auto;\n height: 100%;\n input {\n width: 40px;\n height: 100%;\n text-align: center;\n border: none;\n }\n }\n"])));
|
|
10076
10222
|
var CloseBtn = styled__default.div(_templateObject7$8 || (_templateObject7$8 = _taggedTemplateLiteralLoose(["\n width: 25px;\n height: 25px;\n display: grid;\n place-items: center;\n position: absolute;\n top: 1em;\n right: 1em;\n cursor: pointer;\n border-radius: 50%;\n background: #eef1f4;\n font-size: 12px;\n &:hover {\n color: #ffffff;\n background: red;\n }\n"])));
|
|
10077
10223
|
|
|
10078
|
-
var _templateObject$
|
|
10079
|
-
var DiscountBtn$1 = styled__default.div(_templateObject$
|
|
10224
|
+
var _templateObject$A;
|
|
10225
|
+
var DiscountBtn$1 = styled__default.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n display: grid;\n place-items: center;\n cursor: pointer;\n border-radius: 50%;\n width: 25px;\n height: 25px;\n background: #eef1f4;\n color: ", ";\n font-size: 12px;\n position: absolute;\n top: 1em;\n right: 3.2em;\n\n &:hover {\n background: ", ";\n color: white;\n }\n"])), function (_ref) {
|
|
10080
10226
|
var $accentColor = _ref.$accentColor;
|
|
10081
10227
|
return $accentColor || '#437C0F';
|
|
10082
10228
|
}, function (_ref2) {
|
|
@@ -10338,20 +10484,20 @@ var CartPageMainRetail = function CartPageMainRetail(_ref) {
|
|
|
10338
10484
|
})))));
|
|
10339
10485
|
};
|
|
10340
10486
|
|
|
10341
|
-
var _templateObject$
|
|
10342
|
-
var CartSummaryContainer = styled__default.div(_templateObject$
|
|
10487
|
+
var _templateObject$B, _templateObject2$r, _templateObject3$l, _templateObject4$h, _templateObject5$d, _templateObject6$b, _templateObject7$9, _templateObject8$7;
|
|
10488
|
+
var CartSummaryContainer = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n width: 25rem;\n max-width: 100%;\n display: flex;\n flex-direction: column;\n background: ", ";\n color: ", ";\n border-radius: 20px;\n padding: 2em;\n align-items: center;\n /* margin-top: 3em; */\n p {\n font-size: 1.189em;\n font-weight: 600;\n align-self: flex-start;\n color: inherit;\n margin: 0;\n padding: 0;\n }\n .continueShopping {\n font-size: 0.75em;\n color: inherit;\n text-transform: capitalize;\n height: 20px;\n border-bottom: 1px solid;\n border-color: ", ";\n cursor: pointer;\n }\n"])), function (props) {
|
|
10343
10489
|
return props.background || '#667080';
|
|
10344
10490
|
}, function (props) {
|
|
10345
10491
|
return props.color || 'white';
|
|
10346
10492
|
}, function (props) {
|
|
10347
10493
|
return props.color || 'white';
|
|
10348
10494
|
});
|
|
10349
|
-
var CartSummaryRow = styled__default.div(_templateObject2$
|
|
10495
|
+
var CartSummaryRow = styled__default.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: ", ";\n align-items: center;\n color: inherit;\n h6,\n h5 {\n margin: 0;\n font-size: 1em;\n font-weight: 700;\n color: inherit;\n text-transform: capitalize;\n }\n h5 {\n font-size: ", ";\n }\n"])), function (props) {
|
|
10350
10496
|
return props.justify || 'space-between';
|
|
10351
10497
|
}, function (props) {
|
|
10352
10498
|
return props.h5 || '1.31em';
|
|
10353
10499
|
});
|
|
10354
|
-
var CartSummaryHr = styled__default.span(_templateObject3$
|
|
10500
|
+
var CartSummaryHr = styled__default.span(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n border: none;\n width: 100%;\n height: 1px;\n background-color: ", ";\n margin: 1em 0;\n"])), function (props) {
|
|
10355
10501
|
return props.color || 'rgba(255, 255, 255, 0.5)';
|
|
10356
10502
|
});
|
|
10357
10503
|
var CartSummaryInputBox = styled__default.form(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding-bottom: ", ";\n background-color: transparent;\n width: 100%;\n input {\n width: 65%;\n height: 2.5rem;\n padding: 0.2rem 0.8rem;\n font-size: 0.89rem;\n border: none;\n outline: none;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n }\n }\n button {\n width: 35%;\n height: 2.5rem;\n line-height: 0.8rem;\n background: ", ";\n display: grid;\n color: ", ";\n place-items: center;\n border: none;\n border-radius: 0;\n outline: none;\n text-transform: uppercase;\n cursor: pointer;\n font-size: 0.75em;\n transition: 0.3s;\n &:hover {\n letter-spacing: 1px;\n background: ", ";\n }\n }\n"])), function (props) {
|
|
@@ -10789,12 +10935,12 @@ var checkMinMaxQty = function checkMinMaxQty(_ref2) {
|
|
|
10789
10935
|
return quantityReturn;
|
|
10790
10936
|
};
|
|
10791
10937
|
|
|
10792
|
-
var _templateObject$
|
|
10793
|
-
var CartDrawerProduct = styled__default.div(_templateObject$
|
|
10938
|
+
var _templateObject$C, _templateObject2$s, _templateObject3$m;
|
|
10939
|
+
var CartDrawerProduct = styled__default.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n display: flex;\n flex-direction: row;\n height: 113px;\n justify-content: space-around;\n align-items: center;\n overflow: hidden;\n margin-bottom: 1rem;\n user-select: none;\n background: #f2f2f290;\n border: 1px solid #f2f2f290;\n padding: 0.5rem;\n border-radius: 12px;\n box-sizing: border-box;\n\n img {\n width: 20%;\n max-height: 100%;\n /* aspect-ratio: 1; */\n object-fit: contain;\n }\n .middleSection {\n width: 60%;\n padding-left: 0.8rem;\n height: 100%;\n h6 {\n font-size: 1.1rem;\n font-weight: bold;\n margin: 0;\n }\n .name {\n font-size: 0.9rem;\n line-height: 1.2rem;\n width: 100%;\n word-wrap: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n transition: 0.3s;\n cursor: pointer;\n &:hover {\n color: ", ";\n }\n }\n }\n .endSection {\n // width: 20%;\n height: 95%;\n .icon {\n cursor: pointer;\n transition: 0.4s;\n &:hover {\n color: red;\n }\n }\n }\n @media only screen and (max-width: 768px) {\n .closeIcon {\n font-size: 1rem;\n }\n }\n @media only screen and (max-width: 340px) {\n .middleSection {\n h6 {\n font-size: 0.9rem;\n }\n }\n }\n"])), function (props) {
|
|
10794
10940
|
return props.color || 'grey';
|
|
10795
10941
|
});
|
|
10796
|
-
var CartDrawerQtBox = styled__default.div(_templateObject2$
|
|
10797
|
-
var CartDrawerLoader = styled__default.div(_templateObject3$
|
|
10942
|
+
var CartDrawerQtBox = styled__default.div(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n height: 30px;\n width: 86px;\n border: 1px solid rgb(211, 210, 210);\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 13.5px;\n color: #323232;\n padding: 0 0.5rem;\n border-radius: 5px;\n max-width: 100%;\n span {\n cursor: pointer;\n height: 100%;\n display: grid;\n place-items: center;\n }\n .qt {\n font-size: 12px;\n color: black;\n font-weight: 500;\n cursor: auto;\n input {\n width: 40px;\n height: 100%;\n text-align: center;\n border: none;\n }\n }\n @media only screen and (max-width: 600px) {\n min-width: 55px;\n aspect-ratio: 1/2;\n font-size: 10px;\n }\n @media only screen and (max-width: 340px) {\n min-width: 50px;\n aspect-ratio: 1/2;\n height: 22px;\n font-size: 8px;\n }\n"])));
|
|
10943
|
+
var CartDrawerLoader = styled__default.div(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 30%;\n width: 100px;\n height: 100px;\n display: grid;\n place-items: center;\n"])));
|
|
10798
10944
|
|
|
10799
10945
|
var CartDrawerProductCard = function CartDrawerProductCard(_ref) {
|
|
10800
10946
|
var product = _ref.product,
|
|
@@ -11057,7 +11203,7 @@ var GTagManager = function GTagManager(_ref) {
|
|
|
11057
11203
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
|
|
11058
11204
|
};
|
|
11059
11205
|
|
|
11060
|
-
var _templateObject$
|
|
11206
|
+
var _templateObject$D, _templateObject2$t, _templateObject3$n, _templateObject4$i, _templateObject5$e, _templateObject6$c;
|
|
11061
11207
|
var OutOfStock = function OutOfStock(_ref) {
|
|
11062
11208
|
var _product$body, _product$body$content, _product$body2, _product$body2$conten, _product$masterProduc, _product$header;
|
|
11063
11209
|
var product = _ref.product,
|
|
@@ -11288,11 +11434,11 @@ var OutOfStock = function OutOfStock(_ref) {
|
|
|
11288
11434
|
}
|
|
11289
11435
|
}), /*#__PURE__*/React__default.createElement("span", null, subscribed ? 'Subscribed Successfully' : 'Subscribe')))))));
|
|
11290
11436
|
};
|
|
11291
|
-
var VariantsContainer = styled__default.div(_templateObject$
|
|
11292
|
-
var MainCheckbox = styled__default(Checkbox)(_templateObject2$
|
|
11437
|
+
var VariantsContainer = styled__default.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n ::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 5px;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(178, 169, 169, 1);\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n }\n"])));
|
|
11438
|
+
var MainCheckbox = styled__default(Checkbox)(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n &.Mui-checked,\n &.MuiCheckbox-indeterminate {\n color: ", ";\n }\n"])), function (props) {
|
|
11293
11439
|
return props.theme.primaryColor;
|
|
11294
11440
|
});
|
|
11295
|
-
var EmailInput = styled__default(InputBase)(_templateObject3$
|
|
11441
|
+
var EmailInput = styled__default(InputBase)(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n border: 1px solid #a9a9a9;\n padding: 3px 10px;\n fontsize: 12px;\n width: 100%;\n border-radius: 3px;\n"])));
|
|
11296
11442
|
var Root$a = styled__default.div(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 1px solid #d3d3d3;\n border-radius: 3px;\n box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.4);\n padding: 10px;\n"])));
|
|
11297
11443
|
var ContainerDiv = styled__default.div(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose(["\n display: flex;\n font-size: 14px;\n height: ", ";\n margin: ", ";\n width: 100%;\n flex-direction: ", ";\n align-items: ", ";\n justify-content: ", ";\n color: #000000de;\n"])), function (props) {
|
|
11298
11444
|
return props.height ? props.height : 'auto';
|
|
@@ -11325,12 +11471,12 @@ var StyledSubscribe = styled__default.button(_templateObject6$c || (_templateObj
|
|
|
11325
11471
|
return props.Loading || props.subscribed ? 'none' : 'auto';
|
|
11326
11472
|
});
|
|
11327
11473
|
|
|
11328
|
-
var _templateObject$
|
|
11474
|
+
var _templateObject$E;
|
|
11329
11475
|
var NoData = function NoData(_ref) {
|
|
11330
11476
|
_objectDestructuringEmpty(_ref);
|
|
11331
11477
|
return /*#__PURE__*/React__default.createElement(CustomNoRowsOverlay, null);
|
|
11332
11478
|
};
|
|
11333
|
-
var Container$1 = styled__default.div(_templateObject$
|
|
11479
|
+
var Container$1 = styled__default.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n & .ant-empty-img-1 {\n fill: #aeb8c2;\n }\n & .ant-empty-img-2 {\n fill: #f5f5f7;\n }\n & .ant-empty-img-3 {\n fill: #dce0e6;\n }\n & .ant-empty-img-4 {\n fill: #fff;\n }\n & ant-empty-img-5 {\n fill-opacity: 0.8;\n fill: #f5f5f5;\n }\n"])));
|
|
11334
11480
|
var CustomNoRowsOverlay = function CustomNoRowsOverlay(_ref2) {
|
|
11335
11481
|
_objectDestructuringEmpty(_ref2);
|
|
11336
11482
|
return /*#__PURE__*/React__default.createElement(Container$1, null, /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -11797,24 +11943,24 @@ var AsyncSelect = function AsyncSelect(_ref3) {
|
|
|
11797
11943
|
return /*#__PURE__*/React__default.createElement(AsyncSelectField, props);
|
|
11798
11944
|
};
|
|
11799
11945
|
|
|
11800
|
-
var _templateObject$
|
|
11801
|
-
var Container$2 = styled__default.div(_templateObject$
|
|
11946
|
+
var _templateObject$F;
|
|
11947
|
+
var Container$2 = styled__default.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose([""])));
|
|
11802
11948
|
|
|
11803
|
-
var _templateObject$
|
|
11949
|
+
var _templateObject$G, _templateObject2$u, _templateObject3$o, _templateObject4$j, _templateObject5$f, _templateObject6$d;
|
|
11804
11950
|
var ProductImage$1 = styled__default.img.attrs(function (props) {
|
|
11805
11951
|
return {
|
|
11806
11952
|
loading: props.loading || 'lazy',
|
|
11807
11953
|
decoding: 'async'
|
|
11808
11954
|
};
|
|
11809
|
-
})(_templateObject$
|
|
11810
|
-
var ProductName$1 = styled__default.h6(_templateObject2$
|
|
11955
|
+
})(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n min-width: 50px;\n min-height: 50px;\n object-fit: contain;\n @media only screen and (max-width: 600px) {\n margin: 0.5em 0;\n padding-right: 0.5em;\n }\n"])));
|
|
11956
|
+
var ProductName$1 = styled__default.h6(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n padding: 0;\n line-height: 1.3em;\n max-height: ", ";\n height: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n height: fit-content;\n"])), function (props) {
|
|
11811
11957
|
return props.size || '1em';
|
|
11812
11958
|
}, function (props) {
|
|
11813
11959
|
return props.maxHeight ? props.maxHeight + "em" : '2.75em';
|
|
11814
11960
|
}, function (props) {
|
|
11815
11961
|
return props.maxHeight ? props.maxHeight + "em" : '2.80em';
|
|
11816
11962
|
});
|
|
11817
|
-
var CartTableRow$1 = styled__default(material.TableRow)(_templateObject3$
|
|
11963
|
+
var CartTableRow$1 = styled__default(material.TableRow)(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: 0.3s;\n background: white;\n /* &:hover {\n td:first-child,\n td:last-child {\n border-left-style: solid;\n border-top-style: solid;\n border-top-right-radius: 10px;\n }\n } */\n .outOfStock {\n font-size: 0.75em;\n color: red;\n text-transform: uppercase;\n font-weight: 500;\n }\n .price {\n font-size: ", ";\n font-weight: bold;\n color: #323232;\n /* font-size: 1.15em; */\n }\n .borderLeft {\n height: 100%;\n background: ", ";\n transition: 0.2s;\n width: 0px;\n position: absolute;\n left: 0;\n top: 0;\n border-top-left-radius: 10px;\n display: none;\n border-bottom-left-radius: 10px;\n }\n .cartCheckBox {\n &.Mui-checked {\n svg {\n color: ", ";\n }\n }\n }\n &:hover {\n background: white !important;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);\n border-radius: 10px;\n /* opacity: 1;\n box-shadow: 1px 2px 6px 2px rgba(0, 0, 0, 0.2); */\n z-index: 2;\n /* border-radius: 20px; */\n .borderLeft {\n width: 12px;\n display: inline-block;\n }\n }\n @media only screen and (max-width: 600px) {\n .CartnoPaddingSm {\n padding: 0 !important;\n }\n .price {\n font-size: 0.8em;\n }\n margin: 0.5em 0;\n .cartCheckBox {\n .css-i4bv87-MuiSvgIcon-root {\n font-size: 10px !important;\n }\n }\n }\n"])), function (props) {
|
|
11818
11964
|
return props.size || '1.19em';
|
|
11819
11965
|
}, function (prop) {
|
|
11820
11966
|
return prop.bg;
|
|
@@ -11941,13 +12087,13 @@ var CardRow$1 = function CardRow(_ref) {
|
|
|
11941
12087
|
}))));
|
|
11942
12088
|
};
|
|
11943
12089
|
|
|
11944
|
-
var _templateObject$
|
|
11945
|
-
var CartPageSection$1 = styled__default.section(_templateObject$
|
|
12090
|
+
var _templateObject$H, _templateObject2$v, _templateObject3$p, _templateObject4$k, _templateObject5$g, _templateObject6$e, _templateObject7$a, _templateObject8$8, _templateObject9$6;
|
|
12091
|
+
var CartPageSection$1 = styled__default.section(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n border-radius: 28px;\n\n @media screen and (max-width: 1200px) {\n padding: 0 1em;\n }\n @media screen and (max-width: 600px) {\n padding: 0 1em;\n }\n"])), function (props) {
|
|
11946
12092
|
return props.bg;
|
|
11947
12093
|
}, function (props) {
|
|
11948
12094
|
return props.bg || '#FAE8E5';
|
|
11949
12095
|
});
|
|
11950
|
-
var CartPageContainer$1 = styled__default.div(_templateObject2$
|
|
12096
|
+
var CartPageContainer$1 = styled__default.div(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n max-width: ", ";\n width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n border-radius: 28px 28px 28px 14px;\n padding: 2em 2.5em;\n padding-bottom: 3em;\n border-radius: 28px;\n opacity: ", ";\n .scrollDiv {\n width: 68%;\n max-height: 630px;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n\n margin-right: 0.3em;\n &::-webkit-scrollbar {\n width: 10px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: ", ";\n\n border-radius: 16px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n border: 2px solid;\n }\n /* box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05); */\n }\n table {\n border-collapse: separate;\n border-spacing: 0 4px;\n row-gap: 4px;\n }\n\n td {\n /* border: solid 1px #000; */\n border-style: none solid solid none;\n /* padding: 10px; */\n /* margin-bottom:5px; */\n }\n\n tr:first-child td:first-child {\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n }\n\n tr td:first-child {\n border-bottom-left-radius: 10px;\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-bottom-right-radius: 10px;\n }\n\n tr td {\n border-top-style: solid;\n }\n tr td:first-child {\n border-left-style: solid;\n }\n\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n padding: 0.5em;\n .scrollDiv {\n width: 100%;\n margin: 0;\n margin-bottom: 2em;\n padding: 0 0.4em;\n }\n }\n"])), function (props) {
|
|
11951
12097
|
return props.maxWidth || '1600px';
|
|
11952
12098
|
}, function (props) {
|
|
11953
12099
|
return "min(" + (props.maxWidth || '1600px') + ",100%)";
|
|
@@ -11958,7 +12104,7 @@ var CartPageContainer$1 = styled__default.div(_templateObject2$u || (_templateOb
|
|
|
11958
12104
|
}, function (props) {
|
|
11959
12105
|
return props.color || '#BFC3CA';
|
|
11960
12106
|
});
|
|
11961
|
-
var CardsBox$1 = styled__default.div(_templateObject3$
|
|
12107
|
+
var CardsBox$1 = styled__default.div(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n width: 100%;\n /* min-height: 1000px; */\n position: relative;\n max-width: 860px;\n margin-right: auto;\n padding: 1em 2em;\n display: ", ";\n grid-template-columns: 1fr 1fr;\n flex-direction: column;\n align-items: flex-start;\n grid-gap: 1em;\n justify-content: flex-start;\n align-items: center;\n border-radius: 20px;\n @media only screen and (max-width: 900px) {\n display: flex;\n }\n @media only screen and (max-width: 600px) {\n padding: 1em 0.2em;\n }\n"])), function (props) {
|
|
11962
12108
|
return props.retail ? 'grid' : 'flex';
|
|
11963
12109
|
});
|
|
11964
12110
|
var CartHeading$1 = styled__default.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n /* margin-bottom: 2em; */\n margin-left: 2.3em;\n margin-top: 2em;\n\n color: ", ";\n h1 {\n font-weight: 600;\n font-size: 2.0375em;\n text-transform: capitalize;\n color: ", ";\n /* margin-bottom: 1em; */\n }\n p {\n font-size: 0.875em;\n color: inherit;\n margin-top: 0.5em;\n }\n"])), function (props) {
|
|
@@ -12391,7 +12537,7 @@ var SnowfallComponent = function SnowfallComponent(_ref) {
|
|
|
12391
12537
|
}) : null;
|
|
12392
12538
|
};
|
|
12393
12539
|
|
|
12394
|
-
var _templateObject$
|
|
12540
|
+
var _templateObject$I, _templateObject2$w;
|
|
12395
12541
|
var ContactUsForm = function ContactUsForm(_ref) {
|
|
12396
12542
|
var apiEndPoint = _ref.apiEndPoint,
|
|
12397
12543
|
serviceApiEndPoint = _ref.serviceApiEndPoint,
|
|
@@ -12516,15 +12662,15 @@ var ContactUsForm = function ContactUsForm(_ref) {
|
|
|
12516
12662
|
}
|
|
12517
12663
|
}, "Submit"))));
|
|
12518
12664
|
};
|
|
12519
|
-
var TypographyContainer$8 = styled__default(material.Typography)(_templateObject$
|
|
12665
|
+
var TypographyContainer$8 = styled__default(material.Typography)(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n font-size: 1.2rem !important;\n align-items: center;\n"])), function (props) {
|
|
12520
12666
|
return props.fontColor;
|
|
12521
12667
|
});
|
|
12522
|
-
var RootContainer$3 = styled__default(material.Stack)(_templateObject2$
|
|
12668
|
+
var RootContainer$3 = styled__default(material.Stack)(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n padding: 1.3rem;\n margin-bottom: 1rem;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n p {\n margin: 0 !important;\n }\n"])), function (props) {
|
|
12523
12669
|
return props.secondaryColor;
|
|
12524
12670
|
});
|
|
12525
12671
|
|
|
12526
|
-
var _templateObject$
|
|
12527
|
-
var StaticContainer = styled__default.div(_templateObject$
|
|
12672
|
+
var _templateObject$J;
|
|
12673
|
+
var StaticContainer = styled__default.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n width: 100%;\n color: ", ";\n .top-bar {\n background-color: #f5f5f5;\n padding: 1rem;\n text-align: center;\n font-size: 3.2rem;\n font-weight: bold;\n text-transform: uppercase;\n color: ", ";\n @media only screen and (max-width: 769px) {\n font-size: 1.5rem;\n }\n }\n .route-bar {\n text-transform: capitalize;\n p {\n padding: 0;\n word-spacing: 5px;\n display: flex;\n align-items: center;\n color: ", ";\n }\n }\n .data-container {\n margin: auto;\n }\n hr {\n border-bottom: 2px solid #eceff8;\n border-top: 0px;\n margin: 1rem 0;\n }\n li {\n margin-left: 1rem;\n }\n a {\n color: ", ";\n }\n p {\n font-size: 1.2rem;\n margin: 1rem 0;\n width: 100%;\n color: ", ";\n }\n"])), function (props) {
|
|
12528
12674
|
return props.theme.fontColor || '#606060';
|
|
12529
12675
|
}, function (props) {
|
|
12530
12676
|
return props.theme.primaryColor;
|
|
@@ -12536,7 +12682,7 @@ var StaticContainer = styled__default.div(_templateObject$I || (_templateObject$
|
|
|
12536
12682
|
return props.theme.fontColor || '#606060';
|
|
12537
12683
|
});
|
|
12538
12684
|
|
|
12539
|
-
var _templateObject$
|
|
12685
|
+
var _templateObject$K;
|
|
12540
12686
|
var APIStaticPage = function APIStaticPage(_ref) {
|
|
12541
12687
|
var _ref$colors = _ref.colors,
|
|
12542
12688
|
colors = _ref$colors === void 0 ? {
|
|
@@ -12724,10 +12870,10 @@ var APIStaticPage = function APIStaticPage(_ref) {
|
|
|
12724
12870
|
}
|
|
12725
12871
|
}, "Not found"))));
|
|
12726
12872
|
};
|
|
12727
|
-
var Root$b = styled__default(material.Box)(_templateObject$
|
|
12873
|
+
var Root$b = styled__default(material.Box)(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n img {\n max-width: 100%;\n }\n"])));
|
|
12728
12874
|
|
|
12729
|
-
var _templateObject$
|
|
12730
|
-
var StaticContainer$1 = styled__default.div(_templateObject$
|
|
12875
|
+
var _templateObject$L;
|
|
12876
|
+
var StaticContainer$1 = styled__default.div(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n width: 100%;\n color: ", ";\n .top-bar {\n background-color: #f5f5f5;\n padding: 1rem;\n text-align: center;\n font-size: 3.2rem;\n font-weight: bold;\n text-transform: uppercase;\n color: ", ";\n @media only screen and (max-width: 769px) {\n font-size: 1.5rem;\n }\n }\n .route-bar {\n text-transform: capitalize;\n p {\n padding: 0;\n word-spacing: 5px;\n display: flex;\n align-items: center;\n color: ", ";\n }\n }\n .data-container {\n margin: auto;\n }\n hr {\n border-bottom: 2px solid #eceff8;\n border-top: 0px;\n margin: 1rem 0;\n }\n li {\n margin-left: 1rem;\n }\n a {\n color: ", ";\n }\n p {\n margin: 1rem 0;\n width: 100%;\n color: ", ";\n }\n"])), function (props) {
|
|
12731
12877
|
return props.theme.fontColor || '#606060';
|
|
12732
12878
|
}, function (props) {
|
|
12733
12879
|
return props.theme.primaryColor;
|
|
@@ -12739,7 +12885,7 @@ var StaticContainer$1 = styled__default.div(_templateObject$K || (_templateObjec
|
|
|
12739
12885
|
return props.theme.fontColor || '#606060';
|
|
12740
12886
|
});
|
|
12741
12887
|
|
|
12742
|
-
var _templateObject$
|
|
12888
|
+
var _templateObject$M;
|
|
12743
12889
|
var StaticPage = function StaticPage(_ref) {
|
|
12744
12890
|
var _data$content;
|
|
12745
12891
|
var _ref$colors = _ref.colors,
|
|
@@ -12807,9 +12953,9 @@ var StaticPage = function StaticPage(_ref) {
|
|
|
12807
12953
|
referrerPolicy: "no-referrer-when-downgrade"
|
|
12808
12954
|
})))));
|
|
12809
12955
|
};
|
|
12810
|
-
var Root$c = styled__default(material.Box)(_templateObject$
|
|
12956
|
+
var Root$c = styled__default(material.Box)(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose([""])));
|
|
12811
12957
|
|
|
12812
|
-
var _templateObject$
|
|
12958
|
+
var _templateObject$N;
|
|
12813
12959
|
var StaticPageList = function StaticPageList(_ref) {
|
|
12814
12960
|
var _sortBy;
|
|
12815
12961
|
var apiEndPoint = _ref.apiEndPoint,
|
|
@@ -12919,7 +13065,7 @@ var StaticPageList = function StaticPageList(_ref) {
|
|
|
12919
13065
|
}
|
|
12920
13066
|
}, "Not found")))));
|
|
12921
13067
|
};
|
|
12922
|
-
var TitleContainer$2 = styled__default.div(_templateObject$
|
|
13068
|
+
var TitleContainer$2 = styled__default.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n padding: 1.2rem;\n cursor: pointer;\n color: #323232;\n img {\n max-width: 100%;\n }\n &:hover {\n img {\n transform: scale(1.01);\n }\n }\n"])));
|
|
12923
13069
|
|
|
12924
13070
|
var _excluded$7 = ["userName", "children", "style"];
|
|
12925
13071
|
var colors$1 = ['#FFB900', '#D83B01', '#B50E0E', '#E81123', '#B4009E', '#5C2D91', '#0078D7', '#00B4FF', '#008272', '#107C10'];
|
|
@@ -12955,7 +13101,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
12955
13101
|
}));
|
|
12956
13102
|
};
|
|
12957
13103
|
|
|
12958
|
-
var _templateObject$
|
|
13104
|
+
var _templateObject$O, _templateObject2$x;
|
|
12959
13105
|
var SwitchUser = function SwitchUser(_ref) {
|
|
12960
13106
|
var _customerData$filter, _customerData$filter$;
|
|
12961
13107
|
var apiEndPoint = _ref.apiEndPoint,
|
|
@@ -13042,14 +13188,14 @@ var SwitchUser = function SwitchUser(_ref) {
|
|
|
13042
13188
|
}, /*#__PURE__*/React__default.createElement(ai.AiOutlineShop, null), /*#__PURE__*/React__default.createElement("span", null, (item === null || item === void 0 ? void 0 : item.dbaName) || (item === null || item === void 0 ? void 0 : item.company)))));
|
|
13043
13189
|
}))));
|
|
13044
13190
|
};
|
|
13045
|
-
var RootContainer$4 = styled__default.div(_templateObject$
|
|
13046
|
-
var CustomerContainer = styled__default.div(_templateObject2$
|
|
13191
|
+
var RootContainer$4 = styled__default.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n margin: auto;\n padding: 2.4rem;\n max-width: 1920px;\n"])));
|
|
13192
|
+
var CustomerContainer = styled__default.div(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n transition: all 0.5s;\n padding: 1.1rem;\n border-radius: 1rem;\n box-shadow: 2px 2px 6px 0px #00000020;\n &:hover {\n transform: scale(1.05);\n }\n .name {\n color: ", ";\n font-size: 2.5rem;\n font-weight: 700;\n }\n .infoDetails {\n font-size: 1.1rem;\n color: #46464680;\n margin: 1rem 0;\n display: flex;\n align-items: center;\n svg {\n color: ", ";\n font-size: 1.5rem;\n margin-right: 0.5rem;\n }\n }\n"])), function (props) {
|
|
13047
13193
|
return props.theme.primaryColor || '#000000d9';
|
|
13048
13194
|
}, function (props) {
|
|
13049
13195
|
return props.theme.primaryColor || '#000000d9';
|
|
13050
13196
|
});
|
|
13051
13197
|
|
|
13052
|
-
var _templateObject$
|
|
13198
|
+
var _templateObject$P, _templateObject2$y;
|
|
13053
13199
|
var ThankYou = function ThankYou(_ref) {
|
|
13054
13200
|
var _ref$id = _ref.id,
|
|
13055
13201
|
id = _ref$id === void 0 ? 0 : _ref$id,
|
|
@@ -13108,8 +13254,8 @@ var ThankYou = function ThankYou(_ref) {
|
|
|
13108
13254
|
onClick: onContinue
|
|
13109
13255
|
}, /*#__PURE__*/React__default.createElement("p", null, "Continue Shopping"))))))));
|
|
13110
13256
|
};
|
|
13111
|
-
var Root$d = styled__default(material.Box)(_templateObject$
|
|
13112
|
-
var StyledButton = styled__default.button(_templateObject2$
|
|
13257
|
+
var Root$d = styled__default(material.Box)(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose([""])));
|
|
13258
|
+
var StyledButton = styled__default.button(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n outline: none;\n border: 1px solid;\n border-color: ", ";\n background: none;\n border-radius: 14px;\n padding: 10px 20px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n transition: background 0.5s ease;\n width: 200px;\n color: ", ";\n text-transform: uppercase;\n &:hover {\n cursor: pointer;\n background: ", ";\n color: #fff;\n }\n"])), function (props) {
|
|
13113
13259
|
return props.theme.primaryColor;
|
|
13114
13260
|
}, function (props) {
|
|
13115
13261
|
return props.theme.primaryColor;
|
|
@@ -13263,18 +13409,18 @@ var DiscountSummaryModal = function DiscountSummaryModal(_ref) {
|
|
|
13263
13409
|
}, "Okay"))));
|
|
13264
13410
|
};
|
|
13265
13411
|
|
|
13266
|
-
var _templateObject$
|
|
13267
|
-
var CheckoutRootContainer = styled__default.div(_templateObject$
|
|
13412
|
+
var _templateObject$Q, _templateObject2$z, _templateObject3$q, _templateObject4$l, _templateObject5$h, _templateObject6$f, _templateObject7$b, _templateObject8$9;
|
|
13413
|
+
var CheckoutRootContainer = styled__default.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n width: 100%;\n padding: 2rem;\n background-color: ", ";\n font-size: 16px;\n\n div,\n button,\n span {\n font-size: 16px;\n }\n @media only screen and (max-width: 1600px) {\n padding: 3em 0.5em;\n }\n @media screen and (max-width: 900px) {\n div,\n button,\n span {\n font-size: 12px;\n }\n padding: 2rem 0.5rem;\n }\n"])), function (props) {
|
|
13268
13414
|
return props.bg;
|
|
13269
13415
|
});
|
|
13270
|
-
var CheckoutPageContainer = styled__default.div(_templateObject2$
|
|
13416
|
+
var CheckoutPageContainer = styled__default.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n background-color: ", ";\n margin: 0 auto;\n padding: 2em;\n padding-left: min(4.5em, 2.5vw);\n color: rgba(50, 50, 50, 1);\n /* max-height: 90vh; */\n overflow: hidden;\n /* background: gainsboro; */\n border-radius: 28px;\n /* background-color: #fff8f6; */\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n max-height: max-content;\n }\n @media only screen and (max-width: 768px) {\n padding: 1em 0.5em;\n }\n .icon {\n font-size: 12px;\n }\n ////////////checkout and cart fonts\n /////////////////\n /* /////remove arrows from number input */\n /* Chrome, Safari, Edge, Opera */\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n /* //////mui inputs */\n\n .Mui-checked {\n color: ", ";\n }\n\n .MuiOutlinedInput-notchedOutline {\n border: none;\n outline: none;\n }\n\n .MuiInputBase-root .MuiOutlinedInput-root,\n .MuiInputBase-colorPrimary,\n .MuiInputBase-fullWidth,\n .MuiInputBase-formControl {\n border-radius: 10px;\n }\n // /* /////stepper length */\n .MuiStepConnector-line,\n .MuiStepConnector-lineVertical {\n min-height: 60px !important;\n }\n\n @media only screen and (max-width: 900px) {\n .MuiStepConnector-line,\n .MuiStepConnector-lineVertical {\n min-height: 40px !important;\n }\n }\n"])), function (props) {
|
|
13271
13417
|
return props.maxWidth || '1605px';
|
|
13272
13418
|
}, function (props) {
|
|
13273
13419
|
return props.bg || '#fff8f6';
|
|
13274
13420
|
}, function (props) {
|
|
13275
13421
|
return props.primaryColor || 'rgba(50, 50, 50, 1)';
|
|
13276
13422
|
});
|
|
13277
|
-
var Row = styled__default.div(_templateObject3$
|
|
13423
|
+
var Row = styled__default.div(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n"])));
|
|
13278
13424
|
var CheckoutMainWithHeader = styled__default(material.Stack)(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n"])));
|
|
13279
13425
|
var CheckoutMain = styled__default.div(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 1008px;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n margin-right: 2em;\n max-height: 65vh;\n padding-right: 2em;\n overflow-y: auto;\n position: relative;\n padding-top: 2em;\n padding-bottom: 3em;\n /* width */\n ::-webkit-scrollbar {\n width: 10px;\n background: ", ";\n border-radius: 16px;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background: ", ";\n border-radius: 16px;\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n }\n @media only screen and (max-width: 1200px) {\n margin-bottom: 3em;\n min-height: max-content;\n max-height: max-content;\n margin-right: 0;\n overflow: visible;\n }\n @media only screen and (max-width: 768px) {\n // max-width: 100vw;\n padding-right: 0;\n // width: 98vw;\n // min-width: 90vw;\n padding-top: 1em;\n }\n /* overflow: hidden; */\n"])), function (props) {
|
|
13280
13426
|
return props.bg || 'rgba(102,112,128,0.5)';
|
|
@@ -13287,14 +13433,14 @@ var CheckoutHeading = styled__default.div(_templateObject6$f || (_templateObject
|
|
|
13287
13433
|
var CheckoutHeader = styled__default(Row)(_templateObject7$b || (_templateObject7$b = _taggedTemplateLiteralLoose(["\n width: 100%;\n overflow: auto;\n justify-content: space-around;\n display: flex;\n flex-direction: row;\n align-items: center;\n position: sticky;\n top: 0;\n background-color: white;\n z-index: 1;\n justify-content: flex-start;\n min-height: 4em;\n max-height: 4em;\n max-width: 60em;\n background: #ffffff;\n border-radius: 20px;\n color: #7d7b7b;\n padding: 0 2em;\n margin: 0 2em 1em 1em;\n .row {\n display: flex;\n color: inherit;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n text-transform: capitalize;\n margin-right: 2.4%;\n .icon {\n font-size: 14px;\n font-weight: 400;\n display: grid;\n place-items: center;\n margin-right: 6px;\n color: inherit;\n }\n p,\n span {\n font-size: 0.95em;\n color: inherit;\n }\n }\n .checked {\n p,\n span {\n color: #323232;\n }\n .icon {\n color: #249937;\n }\n }\n @media only screen and (max-width: 1200px) {\n margin-right: 0em;\n }\n @media only screen and (max-width: 768px) {\n width: 100%;\n padding: 2em 1em;\n margin: 1.4em 0;\n .row {\n margin-right: 4.5%;\n p {\n font-size: 12px;\n }\n span {\n display: none;\n }\n }\n }\n"])));
|
|
13288
13434
|
var CheckoutStepIcon = styled__default.div(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteralLoose(["\n width: 20px;\n height: 20px;\n border-radius: 50%;\n font-size: 5px;\n display: grid;\n place-items: center;\n margin: auto;\n padding: 0;\n margin-left: 2px;\n .circle {\n width: 16px;\n height: 16px;\n border-radius: 50%;\n font-size: 5px;\n display: grid;\n place-items: center;\n margin: auto;\n padding: 0;\n }\n .ic {\n font-size: 8px;\n }\n"])));
|
|
13289
13435
|
|
|
13290
|
-
var _templateObject$
|
|
13291
|
-
var CheckoutSummaryContainer = styled__default.div(_templateObject$
|
|
13436
|
+
var _templateObject$R, _templateObject2$A, _templateObject3$r;
|
|
13437
|
+
var CheckoutSummaryContainer = styled__default.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: ", ";\n border-radius: 20px;\n padding: max(1.5em, 30px);\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n max-width: 25rem;\n min-width: min(25rem, 95%);\n font-size: 16px;\n margin-top: 6.15em;\n @media only screen and (max-width: 1200px) {\n margin-top: 0;\n }\n"])), function (props) {
|
|
13292
13438
|
return props.bg || 'rgba(255, 240, 236, 1)';
|
|
13293
13439
|
}, function (props) {
|
|
13294
13440
|
return props.color || ' rgba(50, 50, 50, 1)';
|
|
13295
13441
|
});
|
|
13296
|
-
var TextRow = styled__default.div(_templateObject2$
|
|
13297
|
-
var FilledInfo = styled__default.div(_templateObject3$
|
|
13442
|
+
var TextRow = styled__default.div(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n max-width: 90%;\n margin-bottom: 0.8rem;\n padding-bottom: 0.8rem;\n width: 90%;\n border-bottom: 1px solid #f7f7f7;\n .text {\n font-size: 1.1em;\n text-transform: capitalize;\n }\n .total {\n font-size: 1.65em;\n font-weight: 800;\n }\n"])));
|
|
13443
|
+
var FilledInfo = styled__default.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n margin-bottom: 2em;\n .heading {\n font-size: 1.25em;\n font-weight: 800;\n margin-bottom: 0.8em;\n }\n\n p {\n font-size: 0.875em;\n text-transform: capitalize;\n max-width: 60%;\n }\n .bold {\n font-weight: 700;\n margin-bottom: 0.8em;\n max-width: 300px;\n width: fit-content;\n }\n .payment {\n width: 70px;\n height: 48px;\n background: #ffffff;\n border-radius: 15.875px;\n display: grid;\n place-items: center;\n overflow: hidden;\n }\n .blank {\n opacity: 0;\n }\n"])));
|
|
13298
13444
|
|
|
13299
13445
|
var CheckoutSummary = function CheckoutSummary(_ref) {
|
|
13300
13446
|
var billingInformation = _ref.billingInformation,
|
|
@@ -13366,14 +13512,14 @@ var CheckoutSummary = function CheckoutSummary(_ref) {
|
|
|
13366
13512
|
}, renderMoney(orderTotal === null || orderTotal === void 0 ? void 0 : orderTotal.adjustmentValue))));
|
|
13367
13513
|
};
|
|
13368
13514
|
|
|
13369
|
-
var _templateObject$
|
|
13370
|
-
var StepContainer = styled__default.div(_templateObject$
|
|
13371
|
-
var StepsContent = styled__default.div(_templateObject2$
|
|
13515
|
+
var _templateObject$S, _templateObject2$B, _templateObject3$s, _templateObject4$m, _templateObject5$i, _templateObject6$g, _templateObject7$c, _templateObject8$a, _templateObject9$7, _templateObject10$5, _templateObject11$4, _templateObject12$3, _templateObject13$3, _templateObject14$3, _templateObject15$3, _templateObject16$3, _templateObject17$3, _templateObject18$3;
|
|
13516
|
+
var StepContainer = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 60em;\n background: white;\n padding: 1em 2em;\n background: #ffffff;\n border-radius: 20px;\n margin-left: 2em;\n margin-top: -2em;\n margin-bottom: 1em;\n // @media screen and (max-width: 1200px) {\n // width: 80vw;\n // min-width: 0;\n // }\n @media screen and (max-width: 768px) {\n // width: 96%;\n margin-left: 1em;\n padding: 0.8em;\n }\n @media screen and (max-width: 600px) {\n // width: 94%;\n margin-left: 1.2em;\n }\n"])));
|
|
13517
|
+
var StepsContent = styled__default.div(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n padding-left: 1.565em;\n min-height: max-content;\n .MuiOutlinedInput-root {\n background: ", ";\n }\n\n p {\n font-size: 0.75em;\n }\n .bold {\n text-transform: uppercase;\n word-spacing: 5px;\n margin-top: 0.95em;\n span {\n font-weight: 600;\n cursor: pointer;\n font-size: 0.94rem;\n }\n .red {\n color: ", ";\n }\n }\n @media screen and (max-width: 768px) {\n padding: 0;\n width: 100%;\n }\n"])), function (props) {
|
|
13372
13518
|
return 'transparent' + '!important';
|
|
13373
13519
|
}, function (props) {
|
|
13374
13520
|
return props.bg || 'red';
|
|
13375
13521
|
});
|
|
13376
|
-
var StepsHeaderContainer = styled__default.div(_templateObject3$
|
|
13522
|
+
var StepsHeaderContainer = styled__default.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n color: #323232;\n /* padding: ", "; */\n margin-bottom: ", ";\n margin-top: ", ";\n margin-left: ", ";\n /* color: grey; */\n border-bottom: 1px solid #f6f6f6;\n background: #ffffff;\n border-radius: 20px;\n // max-width: 900px;\n min-height: 4.35em;\n max-height: 4.35em;\n padding: ", ";\n h5 {\n font-size: 16px;\n font-weight: 600;\n text-transform: capitalize;\n margin-left: 0.6em;\n }\n .icon {\n font-size: 1.3em;\n margin-right: 8px;\n }\n .dropIcon {\n font-size: 1.4em;\n cursor: pointer;\n transform: rotate(-90deg);\n transition: 0.3s;\n color: rgba(50, 50, 50, 0.75);\n cursor: ", ";\n }\n .red {\n font-weight: 600;\n color: #fd0015;\n font-size: inherit;\n }\n @media screen and (max-width: 768px) {\n max-width: 97%;\n margin-left: 0.5em;\n padding-right: 1em;\n h5 {\n font-size: 12px;\n }\n }\n"])), function (props) {
|
|
13377
13523
|
return props.single ? '1.8em 2em' : '1em 0';
|
|
13378
13524
|
}, function (props) {
|
|
13379
13525
|
return props.single ? '-1.56em' : '1em';
|
|
@@ -14940,7 +15086,7 @@ var erSessionStorage = {
|
|
|
14940
15086
|
}
|
|
14941
15087
|
};
|
|
14942
15088
|
|
|
14943
|
-
var _templateObject$
|
|
15089
|
+
var _templateObject$T, _templateObject2$C;
|
|
14944
15090
|
var ConsentForm = function ConsentForm(_ref) {
|
|
14945
15091
|
var apiEndPoint = _ref.apiEndPoint,
|
|
14946
15092
|
token = _ref.token,
|
|
@@ -15106,7 +15252,7 @@ var InfoComponent = function InfoComponent(_ref2) {
|
|
|
15106
15252
|
});
|
|
15107
15253
|
}))));
|
|
15108
15254
|
};
|
|
15109
|
-
var InfoContainer$1 = styled__default.div(_templateObject$
|
|
15255
|
+
var InfoContainer$1 = styled__default.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n h2 {\n border-bottom: 1px solid #00000040;\n margin-bottom: 0.8rem;\n }\n p {\n font-size: 1.2rem;\n }\n"])));
|
|
15110
15256
|
var InfoItem = function InfoItem(_ref3) {
|
|
15111
15257
|
var name = _ref3.name,
|
|
15112
15258
|
value = _ref3.value;
|
|
@@ -15119,7 +15265,7 @@ var InfoItem = function InfoItem(_ref3) {
|
|
|
15119
15265
|
item: true
|
|
15120
15266
|
}, /*#__PURE__*/React__default.createElement("p", null, value))));
|
|
15121
15267
|
};
|
|
15122
|
-
var InfoItemContainer = styled__default.div(_templateObject2$
|
|
15268
|
+
var InfoItemContainer = styled__default.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n background: #00000010;\n padding: 0.5rem;\n"])));
|
|
15123
15269
|
|
|
15124
15270
|
var PaypalComponent = function PaypalComponent(_ref) {
|
|
15125
15271
|
var apiEndPoint = _ref.apiEndPoint,
|
|
@@ -16508,7 +16654,7 @@ var CheckoutPageComponent = function CheckoutPageComponent(_ref9) {
|
|
|
16508
16654
|
}, props)));
|
|
16509
16655
|
};
|
|
16510
16656
|
|
|
16511
|
-
var _templateObject$
|
|
16657
|
+
var _templateObject$U, _templateObject2$D, _templateObject3$t;
|
|
16512
16658
|
var columns$1 = [{
|
|
16513
16659
|
id: 'id',
|
|
16514
16660
|
label: 'Id',
|
|
@@ -16623,11 +16769,11 @@ var PurchaseOrderList = function PurchaseOrderList(_ref) {
|
|
|
16623
16769
|
setTriggerTableData: setTriggerTableData
|
|
16624
16770
|
})));
|
|
16625
16771
|
};
|
|
16626
|
-
var TableContainer$3 = styled__default.div(_templateObject$
|
|
16627
|
-
var TypographyContainer$9 = styled__default(material.Typography)(_templateObject2$
|
|
16772
|
+
var TableContainer$3 = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n margin: 0.5rem;\n border-radius: 14px;\n"])));
|
|
16773
|
+
var TypographyContainer$9 = styled__default(material.Typography)(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
|
|
16628
16774
|
return props.fontColor;
|
|
16629
16775
|
});
|
|
16630
|
-
var TitleContainer$3 = styled__default.h4(_templateObject3$
|
|
16776
|
+
var TitleContainer$3 = styled__default.h4(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n font-size: 2.7rem;\n span {\n color: '#000';\n font-weight: 500;\n }\n b {\n color: ", ";\n }\n @media only screen and (max-width: 608px) {\n font-size: 2.2rem;\n }\n"])), function (props) {
|
|
16631
16777
|
return props.primaryColor;
|
|
16632
16778
|
});
|
|
16633
16779
|
|
|
@@ -17198,7 +17344,7 @@ var VendorInventory = function VendorInventory(_ref) {
|
|
|
17198
17344
|
})));
|
|
17199
17345
|
};
|
|
17200
17346
|
|
|
17201
|
-
var _templateObject$
|
|
17347
|
+
var _templateObject$V, _templateObject2$E, _templateObject3$u, _templateObject4$n, _templateObject5$j, _templateObject6$h, _templateObject7$d, _templateObject8$b;
|
|
17202
17348
|
var VendorLogin = function VendorLogin(_ref) {
|
|
17203
17349
|
var primaryColor = _ref.primaryColor,
|
|
17204
17350
|
API_BASE_URL = _ref.API_BASE_URL;
|
|
@@ -17304,16 +17450,16 @@ var VendorLogin = function VendorLogin(_ref) {
|
|
|
17304
17450
|
color: "inherit"
|
|
17305
17451
|
}) : 'sign in'))))));
|
|
17306
17452
|
};
|
|
17307
|
-
var Container$3 = styled__default.div(_templateObject$
|
|
17308
|
-
var StyledLogin = styled__default.div(_templateObject2$
|
|
17309
|
-
var StyledCard = styled__default(material.Card)(_templateObject3$
|
|
17453
|
+
var Container$3 = styled__default.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: rgb(255, 255, 255);\n font-size: 16px !important;\n padding: 1rem;\n @media only screen and (max-width: 640px) {\n font-size: 14px !important;\n }\n"])));
|
|
17454
|
+
var StyledLogin = styled__default.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n height: 70%;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 1em;\n align-items: center;\n"])));
|
|
17455
|
+
var StyledCard = styled__default(material.Card)(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n width: min(100%, 489px);\n height: 100%;\n max-height: 450px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid #cac8c8;\n flex-direction: column;\n background: white;\n // min-height: 500px;\n h4 {\n font-size: 1.5em;\n margin-bottom: 1em;\n margin-top: -2em;\n text-transform: uppercase;\n font-weight: 500;\n }\n button {\n text-transform: capitalize;\n letter-spacing: 1px;\n font-size: 1em;\n font-weight: 500;\n }\n"])));
|
|
17310
17456
|
var H1 = styled__default(material.Typography)(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n margin-top: 1rem;\n"])));
|
|
17311
17457
|
var StyleInputBx = styled__default.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n border: 1px solid rgb(202, 200, 200);\n // padding:.5em;\n min-width: min(80vw, 360px);\n // border-radius: 20px;\n overflow: hidden;\n margin: 0.6em 0;\n // padding:.2em 0;\n .icon {\n border-right: 1px solid rgb(202, 200, 200);\n height: 100%;\n padding: 1em;\n display: grid;\n place-items: center;\n width: 15%;\n box-sizing: border-box;\n color: grey;\n }\n input {\n width: 85%;\n height: 100%;\n outline: none;\n padding: 0 1em;\n font-size: 1.1em;\n border: none;\n &:focus,\n &:hover {\n outline: none !important;\n }\n }\n"])));
|
|
17312
17458
|
var ShowPassBtn = styled__default.span(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteralLoose(["\n padding-right: 0.4em;\n display: grid;\n place-items: center;\n font-size: 25px;\n color: grey;\n cursor: pointer;\n"])));
|
|
17313
17459
|
var ButtonContianer = styled__default.span(_templateObject7$d || (_templateObject7$d = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 360px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n // @include flexRow(space-between);\n margin-top: 1em;\n @media only screen and (max-width: 640px) {\n padding: 0 1em;\n }\n"])));
|
|
17314
17460
|
var StyledButton$1 = styled__default(material.Button)(_templateObject8$b || (_templateObject8$b = _taggedTemplateLiteralLoose(["\n width: 100px;\n height: 46px;\n box-sizing: border-box;\n\n span {\n padding: 0.5em;\n }\n @media only screen and (max-width: 640px) {\n height: 35px;\n }\n"])));
|
|
17315
17461
|
|
|
17316
|
-
var _templateObject$
|
|
17462
|
+
var _templateObject$W, _templateObject2$F, _templateObject3$v, _templateObject4$o;
|
|
17317
17463
|
var menuItems = [{
|
|
17318
17464
|
name: 'My Account',
|
|
17319
17465
|
Icon: ri.RiAccountBoxLine,
|
|
@@ -17521,8 +17667,8 @@ var VendorAccountDetails = function VendorAccountDetails(_ref) {
|
|
|
17521
17667
|
height: 200
|
|
17522
17668
|
}) : /*#__PURE__*/React__default.createElement(React.Fragment, null, API_BASE_URL && token && renderListItemComponent(tabValue)))))));
|
|
17523
17669
|
};
|
|
17524
|
-
var Root$e = styled__default(material.Box)(_templateObject$
|
|
17525
|
-
var MainContainer$4 = styled__default.div(_templateObject2$
|
|
17670
|
+
var Root$e = styled__default(material.Box)(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n padding: 1.4rem;\n background-color: #fff;\n @media only screen and (max-width: 608px) {\n padding: 0.5rem;\n }\n"])));
|
|
17671
|
+
var MainContainer$4 = styled__default.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin: auto;\n min-height: 100vh;\n background-color: #fff;\n max-width: ", ";\n padding: 2rem;\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n @media only screen and (max-width: 608px) {\n padding: 0.5rem;\n }\n"])), function (props) {
|
|
17526
17672
|
return props.open ? '1800px' : '1600px';
|
|
17527
17673
|
});
|
|
17528
17674
|
var Main$1 = styles.styled('main', {
|
|
@@ -17555,7 +17701,7 @@ var Main$1 = styles.styled('main', {
|
|
|
17555
17701
|
overflow: 'auto'
|
|
17556
17702
|
});
|
|
17557
17703
|
});
|
|
17558
|
-
var ContainerDrawer$1 = styled__default(material.Drawer)(_templateObject3$
|
|
17704
|
+
var ContainerDrawer$1 = styled__default(material.Drawer)(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n // height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n padding: 1rem;\n position: relative;\n z-index: 1;\n background: ", ";\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n }\n"])), function (props) {
|
|
17559
17705
|
return props.open && '2rem';
|
|
17560
17706
|
}, function (props) {
|
|
17561
17707
|
return props.primaryColor || transparent;
|
|
@@ -17665,7 +17811,7 @@ var getRestockedData = function getRestockedData(_ref3) {
|
|
|
17665
17811
|
}
|
|
17666
17812
|
};
|
|
17667
17813
|
|
|
17668
|
-
var _templateObject$
|
|
17814
|
+
var _templateObject$X;
|
|
17669
17815
|
var NewArrival = function NewArrival(_ref) {
|
|
17670
17816
|
var _newArrivalItems$cont;
|
|
17671
17817
|
var apiEndPoint = _ref.apiEndPoint,
|
|
@@ -17816,7 +17962,7 @@ var DateCard = function DateCard(_ref2) {
|
|
|
17816
17962
|
}
|
|
17817
17963
|
}, item === null || item === void 0 ? void 0 : item.count));
|
|
17818
17964
|
};
|
|
17819
|
-
var ProductsGrid = styled__default.div(_templateObject$
|
|
17965
|
+
var ProductsGrid = styled__default.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr 1fr;\n grid-gap: 1.4rem;\n padding: 2rem 0;\n grid-row-gap: 22px;\n margin-bottom: 4em;\n @media only screen and (max-width: 1445px) {\n grid-template-columns: 1fr 1fr 1fr 1fr;\n }\n @media only screen and (max-width: 1200px) {\n grid-template-columns: 1fr 1fr 1fr;\n }\n @media only screen and (max-width: 580px) {\n grid-template-columns: 1fr 1fr;\n padding-top: 0rem;\n /* width: 100vw; */\n margin-top: 1em;\n grid-gap: 1rem;\n }\n"])));
|
|
17820
17966
|
|
|
17821
17967
|
var ReStockedItem = function ReStockedItem(_ref) {
|
|
17822
17968
|
var _newArrivalItems$cont;
|
|
@@ -18176,10 +18322,10 @@ var moveToCart = function moveToCart(_ref3) {
|
|
|
18176
18322
|
}
|
|
18177
18323
|
};
|
|
18178
18324
|
|
|
18179
|
-
var _templateObject$
|
|
18180
|
-
var EmptyStateText = styled__default.p(_templateObject$
|
|
18181
|
-
var ProductCardWrapper = styled__default.div(_templateObject2$
|
|
18182
|
-
var TopBar = styled__default.div(_templateObject3$
|
|
18325
|
+
var _templateObject$Y, _templateObject2$G, _templateObject3$w, _templateObject4$p, _templateObject5$k, _templateObject6$i, _templateObject7$e, _templateObject8$c, _templateObject9$8, _templateObject10$6, _templateObject11$5;
|
|
18326
|
+
var EmptyStateText = styled__default.p(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n color: #4b4b4b;\n margin: 16px 0;\n"])));
|
|
18327
|
+
var ProductCardWrapper = styled__default.div(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: #ffffff;\n border: 1px solid #d3d3d3;\n border-radius: 10px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 10px;\n gap: 10px;\n cursor: pointer;\n"])));
|
|
18328
|
+
var TopBar = styled__default.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 12px;\n"])));
|
|
18183
18329
|
var SearchWrapper = styled__default(material.Box)(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n && {\n margin-bottom: 24px;\n max-width: 400px;\n width: 100%;\n }\n"])));
|
|
18184
18330
|
var TotalItemsText = styled__default.div(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 500;\n color: #4b4b4b;\n margin-bottom: 24px;\n white-space: nowrap;\n"])));
|
|
18185
18331
|
var DeleteButton = styled__default.button(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 8px;\n opacity: 1;\n pointer-events: auto;\n z-index: 2;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n padding: 0;\n border: none;\n border-radius: 50%;\n background-color: #ffffff;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);\n cursor: pointer;\n color: #ff0000;\n"])));
|
|
@@ -18666,10 +18812,10 @@ var moveToCartFromFavoriteItems = function moveToCartFromFavoriteItems(_ref3) {
|
|
|
18666
18812
|
}
|
|
18667
18813
|
};
|
|
18668
18814
|
|
|
18669
|
-
var _templateObject$
|
|
18670
|
-
var EmptyStateText$1 = styled__default.p(_templateObject$
|
|
18671
|
-
var ProductCardWrapper$1 = styled__default.div(_templateObject2$
|
|
18672
|
-
var TopBar$1 = styled__default.div(_templateObject3$
|
|
18815
|
+
var _templateObject$Z, _templateObject2$H, _templateObject3$x, _templateObject4$q, _templateObject5$l, _templateObject6$j, _templateObject7$f, _templateObject8$d, _templateObject9$9, _templateObject10$7, _templateObject11$6;
|
|
18816
|
+
var EmptyStateText$1 = styled__default.p(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n color: #4b4b4b;\n margin: 16px 0;\n"])));
|
|
18817
|
+
var ProductCardWrapper$1 = styled__default.div(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: #ffffff;\n border: 1px solid #d3d3d3;\n border-radius: 10px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 10px;\n gap: 10px;\n cursor: pointer;\n"])));
|
|
18818
|
+
var TopBar$1 = styled__default.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 12px;\n"])));
|
|
18673
18819
|
var SearchWrapper$1 = styled__default(material.Box)(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n && {\n margin-bottom: 24px;\n max-width: 400px;\n width: 100%;\n }\n"])));
|
|
18674
18820
|
var TotalItemsText$1 = styled__default.div(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 500;\n color: #4b4b4b;\n margin-bottom: 24px;\n white-space: nowrap;\n"])));
|
|
18675
18821
|
var DeleteButton$1 = styled__default.button(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 8px;\n opacity: 1;\n pointer-events: auto;\n z-index: 2;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n padding: 0;\n border: none;\n border-radius: 50%;\n background-color: #ffffff;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);\n cursor: pointer;\n color: #ff0000;\n"])));
|