@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.modern.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Skeleton as Skeleton$1, CircularProgress, TextField, Button, IconButton, Stack, Typography, Grid, InputAdornment, Popover, TableHead, TableRow, TableSortLabel, Paper, TableContainer as TableContainer$4, Table, TableBody, TableCell, TablePagination, Dialog,
|
|
1
|
+
import { Skeleton as Skeleton$1, CircularProgress, TextField, Button, IconButton, Stack, Typography, Grid, InputAdornment, Popover, TableHead, TableRow, TableSortLabel, Paper, TableContainer as TableContainer$4, Table, TableBody, TableCell, TablePagination, Dialog, DialogTitle as DialogTitle$1, DialogContent, DialogActions, RadioGroup, Radio, FormControlLabel, FormLabel, FormControl, FormHelperText, Select as Select$1, InputLabel, MenuItem, CardMedia, Divider, Tabs, Box, Tab, CardContent, ListItemIcon, ListItem, Collapse, List, ListItemText, Checkbox as Checkbox$1, Card as Card$1, CardHeader as CardHeader$1, CssBaseline, Toolbar, Drawer, useMediaQuery as useMediaQuery$1, Tooltip, Pagination, CardActionArea, Avatar as Avatar$1, alpha, Stepper, Step, StepLabel, StepContent, Container as Container$4 } from '@mui/material';
|
|
2
2
|
import { styled as styled$1 } from '@mui/material/styles';
|
|
3
3
|
import useMediaQuery from '@mui/material/useMediaQuery';
|
|
4
|
-
import React__default, { useState, useEffect, forwardRef, memo, useMemo, createElement, useCallback,
|
|
5
|
-
import { MdVisibilityOff, MdVisibility, MdClose, MdMonetizationOn, MdOutlineStorefront, MdRemoveRedEye, MdOutlineFileDownload, MdPersonOutline, MdOutlineCall, MdMailOutline, MdExpandMore, MdExpandLess, MdStore, MdOutlineMenuOpen, MdMenu, MdDarkMode, MdOutlineDarkMode, MdLocalOffer, MdDelete, MdCheckCircle, MdArrowBack, MdOutlineCircle, MdOutlineStickyNote2, MdOutlineNumbers, MdDateRange, MdOutlineWarehouse } from 'react-icons/md';
|
|
4
|
+
import React__default, { useState, useEffect, forwardRef, useRef, memo, useMemo, createElement, useCallback, Fragment as Fragment$1 } from 'react';
|
|
5
|
+
import { MdVisibilityOff, MdVisibility, MdPrint, MdClose, MdMonetizationOn, MdOutlineStorefront, MdRemoveRedEye, MdOutlineFileDownload, MdPersonOutline, MdOutlineCall, MdMailOutline, MdExpandMore, MdExpandLess, MdStore, MdOutlineMenuOpen, MdMenu, MdDarkMode, MdOutlineDarkMode, MdLocalOffer, MdDelete, MdCheckCircle, MdArrowBack, MdOutlineCircle, MdOutlineStickyNote2, MdOutlineNumbers, MdDateRange, MdOutlineWarehouse } from 'react-icons/md';
|
|
6
6
|
import styled, { css, ThemeProvider, keyframes } from 'styled-components';
|
|
7
7
|
import { isEmpty, isString, toNumber, reduce, concat, omit, replace, template, isArray, some, toLower, isPlainObject, includes, values, cloneDeep, filter, sortBy, isObject, sumBy, get, isNumber, remove } from 'lodash';
|
|
8
8
|
import axios from 'axios';
|
|
@@ -2002,7 +2002,120 @@ var TypographyContainer$1 = styled(Typography)(_templateObject11 || (_templateOb
|
|
|
2002
2002
|
return props.fontColor;
|
|
2003
2003
|
});
|
|
2004
2004
|
|
|
2005
|
-
var _templateObject$6;
|
|
2005
|
+
var _templateObject$6, _templateObject2$3, _templateObject3$2;
|
|
2006
|
+
var PdfPreviewModal = function PdfPreviewModal(_ref) {
|
|
2007
|
+
var open = _ref.open,
|
|
2008
|
+
url = _ref.url,
|
|
2009
|
+
title = _ref.title,
|
|
2010
|
+
onClose = _ref.onClose,
|
|
2011
|
+
fontColor = _ref.fontColor,
|
|
2012
|
+
primaryColor = _ref.primaryColor,
|
|
2013
|
+
secondaryColor = _ref.secondaryColor;
|
|
2014
|
+
var _useState = useState(''),
|
|
2015
|
+
src = _useState[0],
|
|
2016
|
+
setSrc = _useState[1];
|
|
2017
|
+
var _useState2 = useState(false),
|
|
2018
|
+
loading = _useState2[0],
|
|
2019
|
+
setLoading = _useState2[1];
|
|
2020
|
+
var iframeRef = useRef(null);
|
|
2021
|
+
useEffect(function () {
|
|
2022
|
+
if (!open || !url) return undefined;
|
|
2023
|
+
var objectUrl;
|
|
2024
|
+
var cancelled = false;
|
|
2025
|
+
setLoading(true);
|
|
2026
|
+
(function () {
|
|
2027
|
+
try {
|
|
2028
|
+
return _finallyRethrows(function () {
|
|
2029
|
+
return _catch(function () {
|
|
2030
|
+
return Promise.resolve(fetch(url)).then(function (response) {
|
|
2031
|
+
if (!response.ok) throw new Error(response.statusText);
|
|
2032
|
+
return Promise.resolve(response.blob()).then(function (blob) {
|
|
2033
|
+
objectUrl = URL.createObjectURL(blob);
|
|
2034
|
+
if (!cancelled) setSrc(objectUrl);
|
|
2035
|
+
});
|
|
2036
|
+
});
|
|
2037
|
+
}, function () {
|
|
2038
|
+
if (!cancelled) setSrc(url);
|
|
2039
|
+
});
|
|
2040
|
+
}, function (_wasThrown, _result) {
|
|
2041
|
+
if (!cancelled) setLoading(false);
|
|
2042
|
+
if (_wasThrown) throw _result;
|
|
2043
|
+
return _result;
|
|
2044
|
+
});
|
|
2045
|
+
} catch (e) {
|
|
2046
|
+
Promise.reject(e);
|
|
2047
|
+
}
|
|
2048
|
+
})();
|
|
2049
|
+
return function () {
|
|
2050
|
+
cancelled = true;
|
|
2051
|
+
if (objectUrl) URL.revokeObjectURL(objectUrl);
|
|
2052
|
+
setSrc('');
|
|
2053
|
+
};
|
|
2054
|
+
}, [open, url]);
|
|
2055
|
+
var handlePrint = function handlePrint() {
|
|
2056
|
+
try {
|
|
2057
|
+
var _iframeRef$current, _iframeRef$current$co, _iframeRef$current2, _iframeRef$current2$c;
|
|
2058
|
+
(_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();
|
|
2059
|
+
(_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();
|
|
2060
|
+
} catch (error) {}
|
|
2061
|
+
};
|
|
2062
|
+
return /*#__PURE__*/React__default.createElement(ModalContainer, {
|
|
2063
|
+
open: open,
|
|
2064
|
+
onClose: onClose,
|
|
2065
|
+
fullWidth: true,
|
|
2066
|
+
maxWidth: "lg",
|
|
2067
|
+
secondaryColor: secondaryColor
|
|
2068
|
+
}, /*#__PURE__*/React__default.createElement(DialogTitle$1, {
|
|
2069
|
+
sx: {
|
|
2070
|
+
m: 0,
|
|
2071
|
+
p: 2,
|
|
2072
|
+
pr: 14,
|
|
2073
|
+
color: fontColor,
|
|
2074
|
+
display: 'flex',
|
|
2075
|
+
alignItems: 'center'
|
|
2076
|
+
}
|
|
2077
|
+
}, title || 'Preview', /*#__PURE__*/React__default.createElement(Actions, null, /*#__PURE__*/React__default.createElement(Button, {
|
|
2078
|
+
size: "small",
|
|
2079
|
+
variant: "contained",
|
|
2080
|
+
startIcon: /*#__PURE__*/React__default.createElement(MdPrint, null),
|
|
2081
|
+
onClick: handlePrint,
|
|
2082
|
+
disabled: loading || !src,
|
|
2083
|
+
style: primaryColor ? {
|
|
2084
|
+
background: primaryColor
|
|
2085
|
+
} : undefined
|
|
2086
|
+
}, "Print"), /*#__PURE__*/React__default.createElement(IconButton, {
|
|
2087
|
+
"aria-label": "close",
|
|
2088
|
+
onClick: onClose,
|
|
2089
|
+
sx: {
|
|
2090
|
+
color: fontColor,
|
|
2091
|
+
'& svg': {
|
|
2092
|
+
fontSize: 20
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
}, /*#__PURE__*/React__default.createElement(MdClose, null)))), /*#__PURE__*/React__default.createElement(DialogContent, {
|
|
2096
|
+
dividers: true,
|
|
2097
|
+
sx: {
|
|
2098
|
+
p: 0,
|
|
2099
|
+
height: '80vh'
|
|
2100
|
+
}
|
|
2101
|
+
}, loading || !src ? /*#__PURE__*/React__default.createElement(Center, null, /*#__PURE__*/React__default.createElement(CircularProgress, null)) : /*#__PURE__*/React__default.createElement("iframe", {
|
|
2102
|
+
ref: iframeRef,
|
|
2103
|
+
src: src,
|
|
2104
|
+
title: title || 'Preview',
|
|
2105
|
+
style: {
|
|
2106
|
+
width: '100%',
|
|
2107
|
+
height: '100%',
|
|
2108
|
+
border: 0
|
|
2109
|
+
}
|
|
2110
|
+
})));
|
|
2111
|
+
};
|
|
2112
|
+
var ModalContainer = styled(Dialog)(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n .MuiPaper-root {\n background: ", ";\n }\n"])), function (props) {
|
|
2113
|
+
return props.secondaryColor;
|
|
2114
|
+
});
|
|
2115
|
+
var Actions = styled.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"])));
|
|
2116
|
+
var Center = styled.div(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
|
|
2117
|
+
|
|
2118
|
+
var _templateObject$7;
|
|
2006
2119
|
var _excluded$2 = ["children", "onClose", "fontColor"];
|
|
2007
2120
|
var MuiModal = function MuiModal(props) {
|
|
2008
2121
|
var fontColor = props.fontColor,
|
|
@@ -2011,7 +2124,7 @@ var MuiModal = function MuiModal(props) {
|
|
|
2011
2124
|
title = props.title,
|
|
2012
2125
|
secondaryColor = props.secondaryColor,
|
|
2013
2126
|
actions = props.actions;
|
|
2014
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ModalContainer, _extends({}, props, {
|
|
2127
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ModalContainer$1, _extends({}, props, {
|
|
2015
2128
|
onClose: onClose,
|
|
2016
2129
|
secondaryColor: secondaryColor
|
|
2017
2130
|
}), /*#__PURE__*/React__default.createElement(BootstrapDialogTitle, {
|
|
@@ -2049,11 +2162,11 @@ function BootstrapDialogTitle(props) {
|
|
|
2049
2162
|
}
|
|
2050
2163
|
}, /*#__PURE__*/React__default.createElement(MdClose, null)) : null);
|
|
2051
2164
|
}
|
|
2052
|
-
var ModalContainer = styled(Dialog)(_templateObject$
|
|
2165
|
+
var ModalContainer$1 = styled(Dialog)(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteralLoose(["\n .MuiPaper-root {\n background: ", ";\n }\n"])), function (props) {
|
|
2053
2166
|
return props.secondaryColor;
|
|
2054
2167
|
});
|
|
2055
2168
|
|
|
2056
|
-
var _templateObject$
|
|
2169
|
+
var _templateObject$8, _templateObject2$4, _templateObject3$3, _templateObject4$1;
|
|
2057
2170
|
var FormRadiogroup = function FormRadiogroup(props) {
|
|
2058
2171
|
var label = props.label,
|
|
2059
2172
|
name = props.name,
|
|
@@ -2105,20 +2218,20 @@ var FormRadiogroup = function FormRadiogroup(props) {
|
|
|
2105
2218
|
}
|
|
2106
2219
|
});
|
|
2107
2220
|
};
|
|
2108
|
-
var RadiogroupField = styled(RadioGroup)(_templateObject$
|
|
2221
|
+
var RadiogroupField = styled(RadioGroup)(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
|
|
2109
2222
|
return props.primaryColor;
|
|
2110
2223
|
});
|
|
2111
|
-
var RadioField = styled(Radio)(_templateObject2$
|
|
2224
|
+
var RadioField = styled(Radio)(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
|
|
2112
2225
|
return props.primaryColor;
|
|
2113
2226
|
});
|
|
2114
|
-
var FormControlLabelContainer = styled(FormControlLabel)(_templateObject3$
|
|
2227
|
+
var FormControlLabelContainer = styled(FormControlLabel)(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n .MuiTypography-root {\n color: ", " !important;\n }\n"])), function (props) {
|
|
2115
2228
|
return props.fontColor;
|
|
2116
2229
|
});
|
|
2117
2230
|
var InputContainer = styled(FormLabel)(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
|
|
2118
2231
|
return props.fontColor;
|
|
2119
2232
|
});
|
|
2120
2233
|
|
|
2121
|
-
var _templateObject$
|
|
2234
|
+
var _templateObject$9, _templateObject2$5;
|
|
2122
2235
|
var FormSelect = function FormSelect(props) {
|
|
2123
2236
|
var label = props.label,
|
|
2124
2237
|
name = props.name,
|
|
@@ -2171,14 +2284,14 @@ var FormSelect = function FormSelect(props) {
|
|
|
2171
2284
|
}
|
|
2172
2285
|
});
|
|
2173
2286
|
};
|
|
2174
|
-
var SelectField = styled(Select$1)(_templateObject$
|
|
2287
|
+
var SelectField = styled(Select$1)(_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) {
|
|
2175
2288
|
return props.fontColor;
|
|
2176
2289
|
}, function (props) {
|
|
2177
2290
|
return props.fontColor;
|
|
2178
2291
|
}, function (props) {
|
|
2179
2292
|
return props.fontColor;
|
|
2180
2293
|
});
|
|
2181
|
-
var InputContainer$1 = styled(InputLabel)(_templateObject2$
|
|
2294
|
+
var InputContainer$1 = styled(InputLabel)(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
|
|
2182
2295
|
return props.fontColor;
|
|
2183
2296
|
});
|
|
2184
2297
|
|
|
@@ -2487,7 +2600,7 @@ var AddAuthorizeDotNetCard = function AddAuthorizeDotNetCard(_ref) {
|
|
|
2487
2600
|
}))))));
|
|
2488
2601
|
};
|
|
2489
2602
|
|
|
2490
|
-
var _templateObject$
|
|
2603
|
+
var _templateObject$a;
|
|
2491
2604
|
var PaymentModal = function PaymentModal(_ref) {
|
|
2492
2605
|
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;
|
|
2493
2606
|
var apiEndPoint = _ref.apiEndPoint,
|
|
@@ -2806,7 +2919,7 @@ var PaymentModal = function PaymentModal(_ref) {
|
|
|
2806
2919
|
})
|
|
2807
2920
|
}, /*#__PURE__*/React__default.createElement("span", null, "Add New Card")))))))))));
|
|
2808
2921
|
};
|
|
2809
|
-
var InfoContainer = styled.div(_templateObject$
|
|
2922
|
+
var InfoContainer = styled.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) {
|
|
2810
2923
|
return props.fontColor;
|
|
2811
2924
|
});
|
|
2812
2925
|
|
|
@@ -3145,7 +3258,7 @@ var ExcessPaymentDialog = function ExcessPaymentDialog(_ref2) {
|
|
|
3145
3258
|
})));
|
|
3146
3259
|
};
|
|
3147
3260
|
|
|
3148
|
-
var _templateObject$
|
|
3261
|
+
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;
|
|
3149
3262
|
var totalIcons = [{
|
|
3150
3263
|
name: '',
|
|
3151
3264
|
icon: /*#__PURE__*/React__default.createElement(AiOutlineShoppingCart, null)
|
|
@@ -3266,6 +3379,12 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
3266
3379
|
}),
|
|
3267
3380
|
isExcessPaymentModal = _useState7[0],
|
|
3268
3381
|
setIsExcessPaymentModal = _useState7[1];
|
|
3382
|
+
var _useState8 = useState({
|
|
3383
|
+
url: '',
|
|
3384
|
+
title: ''
|
|
3385
|
+
}),
|
|
3386
|
+
invoicePreview = _useState8[0],
|
|
3387
|
+
setInvoicePreview = _useState8[1];
|
|
3269
3388
|
var _ref2 = useSystemFeatureByFieldName({
|
|
3270
3389
|
apiEndPoint: apiEndPoint,
|
|
3271
3390
|
token: token,
|
|
@@ -3293,9 +3412,9 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
3293
3412
|
return featureName ? DASHBOARD_ORDER_LIST_BY_NAME === null || DASHBOARD_ORDER_LIST_BY_NAME === void 0 ? void 0 : DASHBOARD_ORDER_LIST_BY_NAME[featureName] : null;
|
|
3294
3413
|
}).filter(Boolean);
|
|
3295
3414
|
}, [selectedDashboardOrderIds, featureValueListById]);
|
|
3296
|
-
var
|
|
3297
|
-
value =
|
|
3298
|
-
setValue =
|
|
3415
|
+
var _useState9 = useState(null),
|
|
3416
|
+
value = _useState9[0],
|
|
3417
|
+
setValue = _useState9[1];
|
|
3299
3418
|
useEffect(function () {
|
|
3300
3419
|
if (!(visibleTabs !== null && visibleTabs !== void 0 && visibleTabs.length)) return;
|
|
3301
3420
|
var isCurrentVisible = value != null && visibleTabs.some(function (tab) {
|
|
@@ -3325,7 +3444,10 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
3325
3444
|
};
|
|
3326
3445
|
var openInvoiceData = function openInvoiceData(orderId) {
|
|
3327
3446
|
if (serviceApiEndPoint) {
|
|
3328
|
-
|
|
3447
|
+
setInvoicePreview({
|
|
3448
|
+
url: serviceApiEndPoint + "/" + getInvoicePathByTab(value) + "/invoice/" + orderId + "?token=" + token + "&defaultStoreId=" + defaultStoreId + "&storeIdList=" + storeIdList + "&isEcommerce=true",
|
|
3449
|
+
title: "#" + orderId
|
|
3450
|
+
});
|
|
3329
3451
|
}
|
|
3330
3452
|
};
|
|
3331
3453
|
var getDateKey = function getDateKey(tabValue) {
|
|
@@ -3671,7 +3793,20 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
3671
3793
|
var list = ['totalNumberOfOrders', 'totalAmountSpend'];
|
|
3672
3794
|
return hideTotalCardInDashboardSummary ? !includesCaseInsensitive(list, data === null || data === void 0 ? void 0 : data.name) : data;
|
|
3673
3795
|
});
|
|
3674
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null,
|
|
3796
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(PdfPreviewModal, {
|
|
3797
|
+
open: !!(invoicePreview !== null && invoicePreview !== void 0 && invoicePreview.url),
|
|
3798
|
+
url: invoicePreview === null || invoicePreview === void 0 ? void 0 : invoicePreview.url,
|
|
3799
|
+
title: invoicePreview === null || invoicePreview === void 0 ? void 0 : invoicePreview.title,
|
|
3800
|
+
onClose: function onClose() {
|
|
3801
|
+
return setInvoicePreview({
|
|
3802
|
+
url: '',
|
|
3803
|
+
title: ''
|
|
3804
|
+
});
|
|
3805
|
+
},
|
|
3806
|
+
fontColor: fontColor,
|
|
3807
|
+
primaryColor: primaryColor,
|
|
3808
|
+
secondaryColor: secondaryColor
|
|
3809
|
+
}), (isPaymentModal === null || isPaymentModal === void 0 ? void 0 : isPaymentModal.open) && /*#__PURE__*/React__default.createElement(PaymentModal, {
|
|
3675
3810
|
apiEndPoint: apiEndPoint,
|
|
3676
3811
|
token: token,
|
|
3677
3812
|
paymentProvider: paymentProvider,
|
|
@@ -4052,13 +4187,13 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
4052
4187
|
}
|
|
4053
4188
|
}))))))))));
|
|
4054
4189
|
};
|
|
4055
|
-
var Root$2 = styled.div(_templateObject$
|
|
4056
|
-
var TitleContainer = styled.h4(_templateObject2$
|
|
4190
|
+
var Root$2 = styled.div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteralLoose([""])));
|
|
4191
|
+
var TitleContainer = styled.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) {
|
|
4057
4192
|
return props.fontColor;
|
|
4058
4193
|
}, function (props) {
|
|
4059
4194
|
return props.primaryColor;
|
|
4060
4195
|
});
|
|
4061
|
-
var MeetContainer = styled.h4(_templateObject3$
|
|
4196
|
+
var MeetContainer = styled.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) {
|
|
4062
4197
|
return props.primaryColor;
|
|
4063
4198
|
}, function (props) {
|
|
4064
4199
|
return props.fontColor;
|
|
@@ -4132,7 +4267,7 @@ var TabsContainer = styled(Tabs)(_templateObject19 || (_templateObject19 = _tagg
|
|
|
4132
4267
|
return props.primaryColor;
|
|
4133
4268
|
});
|
|
4134
4269
|
|
|
4135
|
-
var _templateObject$
|
|
4270
|
+
var _templateObject$c, _templateObject2$7, _templateObject3$5, _templateObject4$3, _templateObject5$2;
|
|
4136
4271
|
var MyProfile = function MyProfile(_ref) {
|
|
4137
4272
|
var apiEndPoint = _ref.apiEndPoint,
|
|
4138
4273
|
token = _ref.token,
|
|
@@ -4379,15 +4514,15 @@ var MyProfile = function MyProfile(_ref) {
|
|
|
4379
4514
|
disabled: disabledUpdateProfileFromDashboard
|
|
4380
4515
|
}, "Update Profile"))));
|
|
4381
4516
|
};
|
|
4382
|
-
var MeetContainer$1 = styled.h4(_templateObject$
|
|
4517
|
+
var MeetContainer$1 = styled.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) {
|
|
4383
4518
|
return props.primaryColor;
|
|
4384
4519
|
}, function (props) {
|
|
4385
4520
|
return props.fontColor;
|
|
4386
4521
|
});
|
|
4387
|
-
var TypographyContainer$3 = styled(Typography)(_templateObject2$
|
|
4522
|
+
var TypographyContainer$3 = styled(Typography)(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n font-size: 1.2rem !important;\n align-items: center;\n"])), function (props) {
|
|
4388
4523
|
return props.fontColor;
|
|
4389
4524
|
});
|
|
4390
|
-
var CardMediaContainer$1 = styled(CardMedia)(_templateObject3$
|
|
4525
|
+
var CardMediaContainer$1 = styled(CardMedia)(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n border-radius: 14px;\n max-width: 150px;\n"])));
|
|
4391
4526
|
var CardContainer$1 = styled(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) {
|
|
4392
4527
|
return props.secondaryColor;
|
|
4393
4528
|
});
|
|
@@ -4395,7 +4530,7 @@ var RootContainer$1 = styled(Stack)(_templateObject5$2 || (_templateObject5$2 =
|
|
|
4395
4530
|
return props.secondaryColor;
|
|
4396
4531
|
});
|
|
4397
4532
|
|
|
4398
|
-
var _templateObject$
|
|
4533
|
+
var _templateObject$d;
|
|
4399
4534
|
var SideMenuItemComponent = function SideMenuItemComponent(props) {
|
|
4400
4535
|
var className = props.className,
|
|
4401
4536
|
onClick = props.onClick,
|
|
@@ -4491,7 +4626,7 @@ var _SideMenuItem = function SideMenuItem(props) {
|
|
|
4491
4626
|
}))) : null;
|
|
4492
4627
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, MenuItemRoot, MenuItemChildren);
|
|
4493
4628
|
};
|
|
4494
|
-
var ListItemIconContainer = styled(ListItemIcon)(_templateObject$
|
|
4629
|
+
var ListItemIconContainer = styled(ListItemIcon)(_templateObject$d || (_templateObject$d = _taggedTemplateLiteralLoose(["\n min-width: 40px !important;\n"])));
|
|
4495
4630
|
var SideMenuItemComponentContainer = styled$1(SideMenuItemComponent)(function (_ref) {
|
|
4496
4631
|
var primaryColor = _ref.primaryColor,
|
|
4497
4632
|
list = _ref.list,
|
|
@@ -4583,7 +4718,7 @@ var SideMenu = function SideMenu(props) {
|
|
|
4583
4718
|
}));
|
|
4584
4719
|
};
|
|
4585
4720
|
|
|
4586
|
-
var _templateObject$
|
|
4721
|
+
var _templateObject$e, _templateObject2$8;
|
|
4587
4722
|
var _excluded$3 = ["label", "onChange", "defaultValue", "options", "valueKey", "labelKey", "addNone", "fontColor", "maxWidth", "checkAllOption", "multiple"];
|
|
4588
4723
|
function MuiSelect(_ref) {
|
|
4589
4724
|
var label = _ref.label,
|
|
@@ -4656,18 +4791,18 @@ function MuiSelect(_ref) {
|
|
|
4656
4791
|
}));
|
|
4657
4792
|
})));
|
|
4658
4793
|
}
|
|
4659
|
-
var SelectContainer = styled(Select$2)(_templateObject$
|
|
4794
|
+
var SelectContainer = styled(Select$2)(_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) {
|
|
4660
4795
|
return props.fontColor;
|
|
4661
4796
|
}, function (props) {
|
|
4662
4797
|
return props.fontColor;
|
|
4663
4798
|
}, function (props) {
|
|
4664
4799
|
return props.fontColor;
|
|
4665
4800
|
});
|
|
4666
|
-
var InputContainer$2 = styled(InputLabel$1)(_templateObject2$
|
|
4801
|
+
var InputContainer$2 = styled(InputLabel$1)(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
|
|
4667
4802
|
return props.fontColor;
|
|
4668
4803
|
});
|
|
4669
4804
|
|
|
4670
|
-
var _templateObject$
|
|
4805
|
+
var _templateObject$f, _templateObject2$9, _templateObject3$6, _templateObject4$4;
|
|
4671
4806
|
var Statement = function Statement(_ref) {
|
|
4672
4807
|
var apiEndPoint = _ref.apiEndPoint,
|
|
4673
4808
|
serviceApiEndPoint = _ref.serviceApiEndPoint,
|
|
@@ -4700,6 +4835,9 @@ var Statement = function Statement(_ref) {
|
|
|
4700
4835
|
var _useState5 = useState(getRandomString()),
|
|
4701
4836
|
triggerTableData = _useState5[0],
|
|
4702
4837
|
setTriggerTableData = _useState5[1];
|
|
4838
|
+
var _useState6 = useState(''),
|
|
4839
|
+
previewUrl = _useState6[0],
|
|
4840
|
+
setPreviewUrl = _useState6[1];
|
|
4703
4841
|
var onDateChange = function onDateChange(data) {
|
|
4704
4842
|
setQueryParams(_extends({}, queryParams, {
|
|
4705
4843
|
startDate: getUTCTime({
|
|
@@ -4792,9 +4930,7 @@ var Statement = function Statement(_ref) {
|
|
|
4792
4930
|
var print = function print() {
|
|
4793
4931
|
var _customerData$custome, _customerData$custome2;
|
|
4794
4932
|
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;
|
|
4795
|
-
|
|
4796
|
-
var w = window.open(pdfUrl);
|
|
4797
|
-
w.print();
|
|
4933
|
+
setPreviewUrl("" + serviceApiEndPoint + location);
|
|
4798
4934
|
};
|
|
4799
4935
|
var getStatementAPIData = function getStatementAPIData(_ref2) {
|
|
4800
4936
|
var params = _ref2.params;
|
|
@@ -4819,7 +4955,17 @@ var Statement = function Statement(_ref) {
|
|
|
4819
4955
|
};
|
|
4820
4956
|
return /*#__PURE__*/React__default.createElement(Root$3, {
|
|
4821
4957
|
backgroundColor: backgroundColor
|
|
4822
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
4958
|
+
}, /*#__PURE__*/React__default.createElement(PdfPreviewModal, {
|
|
4959
|
+
open: !!previewUrl,
|
|
4960
|
+
url: previewUrl,
|
|
4961
|
+
title: "Statement",
|
|
4962
|
+
onClose: function onClose() {
|
|
4963
|
+
return setPreviewUrl('');
|
|
4964
|
+
},
|
|
4965
|
+
fontColor: fontColor,
|
|
4966
|
+
primaryColor: primaryColor,
|
|
4967
|
+
secondaryColor: secondaryColor
|
|
4968
|
+
}), /*#__PURE__*/React__default.createElement(TableContainer$1, null, !isEmpty(customerData) && /*#__PURE__*/React__default.createElement(APITable, {
|
|
4823
4969
|
cacheFilters: true,
|
|
4824
4970
|
extraFilterParams: queryParams,
|
|
4825
4971
|
tableHeaderContent: /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(Grid, {
|
|
@@ -4891,14 +5037,14 @@ var Statement = function Statement(_ref) {
|
|
|
4891
5037
|
fontColor: fontColor
|
|
4892
5038
|
})));
|
|
4893
5039
|
};
|
|
4894
|
-
var Root$3 = styled.div(_templateObject$
|
|
4895
|
-
var TypographyContainer$4 = styled(Typography)(_templateObject2$
|
|
5040
|
+
var Root$3 = styled.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose([""])));
|
|
5041
|
+
var TypographyContainer$4 = styled(Typography)(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
|
|
4896
5042
|
return props.fontColor;
|
|
4897
5043
|
});
|
|
4898
|
-
var StatusContainer$1 = styled(Grid)(_templateObject3$
|
|
5044
|
+
var StatusContainer$1 = styled(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"])));
|
|
4899
5045
|
var TableContainer$1 = styled.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n border-radius: 14px;\n"])));
|
|
4900
5046
|
|
|
4901
|
-
var _templateObject$
|
|
5047
|
+
var _templateObject$g, _templateObject2$a;
|
|
4902
5048
|
var FormCheckbox = function FormCheckbox(props) {
|
|
4903
5049
|
var label = props.label,
|
|
4904
5050
|
name = props.name,
|
|
@@ -4940,14 +5086,14 @@ var FormCheckbox = function FormCheckbox(props) {
|
|
|
4940
5086
|
}
|
|
4941
5087
|
});
|
|
4942
5088
|
};
|
|
4943
|
-
var CheckboxField = styled(Checkbox$1)(_templateObject$
|
|
5089
|
+
var CheckboxField = styled(Checkbox$1)(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
|
|
4944
5090
|
return props.primaryColor;
|
|
4945
5091
|
});
|
|
4946
|
-
var FormControlLabelContainer$1 = styled(FormControlLabel)(_templateObject2$
|
|
5092
|
+
var FormControlLabelContainer$1 = styled(FormControlLabel)(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteralLoose(["\n .MuiTypography-root {\n color: ", " !important;\n }\n"])), function (props) {
|
|
4947
5093
|
return props.fontColor;
|
|
4948
5094
|
});
|
|
4949
5095
|
|
|
4950
|
-
var _templateObject$
|
|
5096
|
+
var _templateObject$h;
|
|
4951
5097
|
var AddEditAddress = function AddEditAddress(_ref) {
|
|
4952
5098
|
var apiEndPoint = _ref.apiEndPoint,
|
|
4953
5099
|
token = _ref.token,
|
|
@@ -5164,11 +5310,11 @@ var AddEditAddress = function AddEditAddress(_ref) {
|
|
|
5164
5310
|
loading: isLoading
|
|
5165
5311
|
}, addressDetails ? 'Update Address' : 'Add Address')));
|
|
5166
5312
|
};
|
|
5167
|
-
var HeaderContainer = styled.h2(_templateObject$
|
|
5313
|
+
var HeaderContainer = styled.h2(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose(["\n color: ", ";\n margin-top: 1rem;\n font-size: 1.3rem;\n font-weight: 500;\n"])), function (props) {
|
|
5168
5314
|
return props.fontColor;
|
|
5169
5315
|
});
|
|
5170
5316
|
|
|
5171
|
-
var _templateObject$
|
|
5317
|
+
var _templateObject$i, _templateObject2$b, _templateObject3$7, _templateObject4$5, _templateObject5$3, _templateObject6$2;
|
|
5172
5318
|
var StoreDetails = function StoreDetails(_ref) {
|
|
5173
5319
|
var _storeAddresses$filte;
|
|
5174
5320
|
var apiEndPoint = _ref.apiEndPoint,
|
|
@@ -5254,17 +5400,17 @@ var StoreDetails = function StoreDetails(_ref) {
|
|
|
5254
5400
|
}).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"))))));
|
|
5255
5401
|
})));
|
|
5256
5402
|
};
|
|
5257
|
-
var RootContainer$2 = styled(Stack)(_templateObject$
|
|
5403
|
+
var RootContainer$2 = styled(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) {
|
|
5258
5404
|
return props.secondaryColor;
|
|
5259
5405
|
});
|
|
5260
|
-
var AddressContainer = styled(Card$1)(_templateObject2$
|
|
5406
|
+
var AddressContainer = styled(Card$1)(_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) {
|
|
5261
5407
|
return props.secondaryColor;
|
|
5262
5408
|
}, function (props) {
|
|
5263
5409
|
return props.primaryColor;
|
|
5264
5410
|
}, function (props) {
|
|
5265
5411
|
return props.fontColor;
|
|
5266
5412
|
});
|
|
5267
|
-
var Modal = styled(MuiModal)(_templateObject3$
|
|
5413
|
+
var Modal = styled(MuiModal)(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose([""])));
|
|
5268
5414
|
var TypographyContainer$5 = styled(Typography)(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
|
|
5269
5415
|
return props.fontColor;
|
|
5270
5416
|
});
|
|
@@ -5273,7 +5419,7 @@ var AddressCardContainer = styled.div(_templateObject6$2 || (_templateObject6$2
|
|
|
5273
5419
|
return props.primaryColor;
|
|
5274
5420
|
});
|
|
5275
5421
|
|
|
5276
|
-
var _templateObject$
|
|
5422
|
+
var _templateObject$j;
|
|
5277
5423
|
var _excluded$4 = ["children", "value", "index"];
|
|
5278
5424
|
function TabPanel(props) {
|
|
5279
5425
|
var children = props.children,
|
|
@@ -5378,7 +5524,7 @@ var StoreTabs = function StoreTabs(_ref) {
|
|
|
5378
5524
|
customer: customer
|
|
5379
5525
|
})))));
|
|
5380
5526
|
};
|
|
5381
|
-
var TabsContainer$1 = styled(Tabs)(_templateObject$
|
|
5527
|
+
var TabsContainer$1 = styled(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) {
|
|
5382
5528
|
return props.fontColor;
|
|
5383
5529
|
}, function (props) {
|
|
5384
5530
|
return props.primaryColor;
|
|
@@ -5386,7 +5532,7 @@ var TabsContainer$1 = styled(Tabs)(_templateObject$i || (_templateObject$i = _ta
|
|
|
5386
5532
|
return props.primaryColor;
|
|
5387
5533
|
});
|
|
5388
5534
|
|
|
5389
|
-
var _templateObject$
|
|
5535
|
+
var _templateObject$k, _templateObject2$c, _templateObject3$8;
|
|
5390
5536
|
var StoreList = function StoreList(_ref) {
|
|
5391
5537
|
var apiEndPoint = _ref.apiEndPoint,
|
|
5392
5538
|
token = _ref.token,
|
|
@@ -5433,9 +5579,9 @@ var StoreList = function StoreList(_ref) {
|
|
|
5433
5579
|
customer: customer
|
|
5434
5580
|
}));
|
|
5435
5581
|
};
|
|
5436
|
-
var Modal$1 = styled(MuiModal)(_templateObject$
|
|
5437
|
-
var StoreHeader = styled.div(_templateObject2$
|
|
5438
|
-
var TypographyContainer$6 = styled(Typography)(_templateObject3$
|
|
5582
|
+
var Modal$1 = styled(MuiModal)(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose([""])));
|
|
5583
|
+
var StoreHeader = styled.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"])));
|
|
5584
|
+
var TypographyContainer$6 = styled(Typography)(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
|
|
5439
5585
|
return props.fontColor;
|
|
5440
5586
|
});
|
|
5441
5587
|
|
|
@@ -5459,11 +5605,11 @@ var getDropzoneRejectionError = function getDropzoneRejectionError(fileRejection
|
|
|
5459
5605
|
return (error === null || error === void 0 ? void 0 : error.message) || 'Invalid file';
|
|
5460
5606
|
};
|
|
5461
5607
|
|
|
5462
|
-
var _templateObject$
|
|
5608
|
+
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;
|
|
5463
5609
|
var DEFAULT_PRIMARY_COLOR = "#437c0f";
|
|
5464
|
-
var Container = styled.div(_templateObject$
|
|
5465
|
-
var Card = styled.div(_templateObject2$
|
|
5466
|
-
var Title = styled.h2(_templateObject3$
|
|
5610
|
+
var Container = styled.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"])));
|
|
5611
|
+
var Card = styled.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"])));
|
|
5612
|
+
var Title = styled.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) {
|
|
5467
5613
|
var $primaryColor = _ref.$primaryColor;
|
|
5468
5614
|
return $primaryColor;
|
|
5469
5615
|
});
|
|
@@ -5815,7 +5961,7 @@ var getDocumentTypes = function getDocumentTypes(_ref3) {
|
|
|
5815
5961
|
}
|
|
5816
5962
|
};
|
|
5817
5963
|
|
|
5818
|
-
var _templateObject$
|
|
5964
|
+
var _templateObject$m;
|
|
5819
5965
|
var columns = [{
|
|
5820
5966
|
id: 'orderId',
|
|
5821
5967
|
label: 'Order Id',
|
|
@@ -5875,9 +6021,9 @@ var UpcomingACHPayments = function UpcomingACHPayments(_ref) {
|
|
|
5875
6021
|
fontColor: fontColor
|
|
5876
6022
|
}));
|
|
5877
6023
|
};
|
|
5878
|
-
var TableContainer$2 = styled.div(_templateObject$
|
|
6024
|
+
var TableContainer$2 = styled.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n border-radius: 14px;\n"])));
|
|
5879
6025
|
|
|
5880
|
-
var _templateObject$
|
|
6026
|
+
var _templateObject$n, _templateObject2$e, _templateObject3$a, _templateObject4$7;
|
|
5881
6027
|
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"];
|
|
5882
6028
|
var AccountDetails = function AccountDetails(_ref) {
|
|
5883
6029
|
var _storeData$map, _storeData$find, _storeData$;
|
|
@@ -6255,14 +6401,14 @@ var AccountDetails = function AccountDetails(_ref) {
|
|
|
6255
6401
|
skeleton: true
|
|
6256
6402
|
}, apiEndPoint && token && renderListItemComponent(tabValue))))))));
|
|
6257
6403
|
};
|
|
6258
|
-
var Root$4 = styled(Box)(_templateObject$
|
|
6404
|
+
var Root$4 = styled(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) {
|
|
6259
6405
|
var _props$theme;
|
|
6260
6406
|
return (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.backgroundImage;
|
|
6261
6407
|
}, function (props) {
|
|
6262
6408
|
var _props$theme2, _props$theme3, _props$theme4;
|
|
6263
6409
|
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)";
|
|
6264
6410
|
});
|
|
6265
|
-
var MainContainer = styled.div(_templateObject2$
|
|
6411
|
+
var MainContainer = styled.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) {
|
|
6266
6412
|
return props.backgroundColor;
|
|
6267
6413
|
}, function (props) {
|
|
6268
6414
|
return props.open ? '1800px' : '1600px';
|
|
@@ -6297,7 +6443,7 @@ var Main = styled$1('main', {
|
|
|
6297
6443
|
overflow: 'auto'
|
|
6298
6444
|
});
|
|
6299
6445
|
});
|
|
6300
|
-
var ContainerDrawer = styled(Drawer)(_templateObject3$
|
|
6446
|
+
var ContainerDrawer = styled(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) {
|
|
6301
6447
|
return props.open && '2rem';
|
|
6302
6448
|
}, function (props) {
|
|
6303
6449
|
return props.primaryColor || transparent;
|
|
@@ -6306,7 +6452,7 @@ var TypographyContainer$7 = styled(Typography)(_templateObject4$7 || (_templateO
|
|
|
6306
6452
|
return props.fontColor;
|
|
6307
6453
|
});
|
|
6308
6454
|
|
|
6309
|
-
var _templateObject$
|
|
6455
|
+
var _templateObject$o, _templateObject2$f, _templateObject3$b;
|
|
6310
6456
|
var BannerImages = function BannerImages(_ref) {
|
|
6311
6457
|
var eager = _ref.eager,
|
|
6312
6458
|
config = _ref.config,
|
|
@@ -6374,16 +6520,16 @@ var BannerImages = function BannerImages(_ref) {
|
|
|
6374
6520
|
}))));
|
|
6375
6521
|
})));
|
|
6376
6522
|
};
|
|
6377
|
-
var Video = styled.video(_templateObject$
|
|
6523
|
+
var Video = styled.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"])));
|
|
6378
6524
|
var Image = styled.img.attrs(function (props) {
|
|
6379
6525
|
return {
|
|
6380
6526
|
loading: props.loading || 'lazy',
|
|
6381
6527
|
decoding: 'async'
|
|
6382
6528
|
};
|
|
6383
|
-
})(_templateObject2$
|
|
6384
|
-
var BannerContainer$1 = styled.section(_templateObject3$
|
|
6529
|
+
})(_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"])));
|
|
6530
|
+
var BannerContainer$1 = styled.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"])));
|
|
6385
6531
|
|
|
6386
|
-
var _templateObject$
|
|
6532
|
+
var _templateObject$p, _templateObject2$g, _templateObject3$c, _templateObject4$8;
|
|
6387
6533
|
var LandingCarousel = function LandingCarousel(_ref) {
|
|
6388
6534
|
var _config$spaceBetweenC, _config$colLg, _ref2, _ref3, _config$colSm, _ref4, _config$colMd, _config$colLg2;
|
|
6389
6535
|
var eager = _ref.eager,
|
|
@@ -6473,16 +6619,16 @@ var Image$1 = styled.img.attrs(function (props) {
|
|
|
6473
6619
|
loading: props.loading || 'lazy',
|
|
6474
6620
|
decoding: 'async'
|
|
6475
6621
|
};
|
|
6476
|
-
})(_templateObject$
|
|
6477
|
-
var Video$1 = styled.video(_templateObject2$
|
|
6478
|
-
var Root$5 = styled.div(_templateObject3$
|
|
6622
|
+
})(_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"])));
|
|
6623
|
+
var Video$1 = styled.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"])));
|
|
6624
|
+
var Root$5 = styled.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n height: 100%;\n"])));
|
|
6479
6625
|
var ReactSlick = styled(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) {
|
|
6480
6626
|
return props === null || props === void 0 ? void 0 : props.spaceBetweenCol;
|
|
6481
6627
|
}, function (props) {
|
|
6482
6628
|
return props === null || props === void 0 ? void 0 : props.spaceBetweenCol;
|
|
6483
6629
|
});
|
|
6484
6630
|
|
|
6485
|
-
var _templateObject$
|
|
6631
|
+
var _templateObject$q, _templateObject2$h;
|
|
6486
6632
|
var JUSTIFY = {
|
|
6487
6633
|
Left: {
|
|
6488
6634
|
marginRight: 'auto'
|
|
@@ -6689,8 +6835,8 @@ var HomeBanner = function HomeBanner(_ref) {
|
|
|
6689
6835
|
}, item === null || item === void 0 ? void 0 : item.component);
|
|
6690
6836
|
}))))));
|
|
6691
6837
|
};
|
|
6692
|
-
var Root$6 = styled.div(_templateObject$
|
|
6693
|
-
var MainContainer$1 = styled.div(_templateObject2$
|
|
6838
|
+
var Root$6 = styled.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose([""])));
|
|
6839
|
+
var MainContainer$1 = styled.div(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose([""])));
|
|
6694
6840
|
var NearViewport = function NearViewport(_ref3) {
|
|
6695
6841
|
var skip = _ref3.skip,
|
|
6696
6842
|
height = _ref3.height,
|
|
@@ -6793,7 +6939,7 @@ var adjustResponsiveSpace = function adjustResponsiveSpace(_ref6) {
|
|
|
6793
6939
|
return spaceValue;
|
|
6794
6940
|
};
|
|
6795
6941
|
|
|
6796
|
-
var _templateObject$
|
|
6942
|
+
var _templateObject$r, _templateObject2$i, _templateObject3$d, _templateObject4$9, _templateObject5$5;
|
|
6797
6943
|
var LandingCarousel$1 = function LandingCarousel(_ref) {
|
|
6798
6944
|
var _brandData2;
|
|
6799
6945
|
var brandList = _ref.brandList,
|
|
@@ -6924,9 +7070,9 @@ var Image$2 = styled.img.attrs(function (props) {
|
|
|
6924
7070
|
loading: props.loading || 'lazy',
|
|
6925
7071
|
decoding: 'async'
|
|
6926
7072
|
};
|
|
6927
|
-
})(_templateObject$
|
|
6928
|
-
var Video$2 = styled.video(_templateObject2$
|
|
6929
|
-
var Root$7 = styled.div(_templateObject3$
|
|
7073
|
+
})(_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"])));
|
|
7074
|
+
var Video$2 = styled.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"])));
|
|
7075
|
+
var Root$7 = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n height: 100%;\n"])));
|
|
6930
7076
|
var ReactSlick$1 = styled(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) {
|
|
6931
7077
|
return props === null || props === void 0 ? void 0 : props.spaceBetweenCol;
|
|
6932
7078
|
});
|
|
@@ -6934,7 +7080,7 @@ var SliderItem = styled.div(_templateObject5$5 || (_templateObject5$5 = _taggedT
|
|
|
6934
7080
|
return (props === null || props === void 0 ? void 0 : props.spaceBetweenCol) || 0;
|
|
6935
7081
|
});
|
|
6936
7082
|
|
|
6937
|
-
var _templateObject$
|
|
7083
|
+
var _templateObject$s, _templateObject2$j;
|
|
6938
7084
|
var BrandList = function BrandList(_ref) {
|
|
6939
7085
|
var apiEndPoint = _ref.apiEndPoint,
|
|
6940
7086
|
_ref$colors = _ref.colors,
|
|
@@ -6996,10 +7142,10 @@ var BrandList = function BrandList(_ref) {
|
|
|
6996
7142
|
autoplaySpeed: autoplaySpeed
|
|
6997
7143
|
}))));
|
|
6998
7144
|
};
|
|
6999
|
-
var Root$8 = styled.div(_templateObject$
|
|
7000
|
-
var MainContainer$2 = styled.div(_templateObject2$
|
|
7145
|
+
var Root$8 = styled.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose([""])));
|
|
7146
|
+
var MainContainer$2 = styled.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose([""])));
|
|
7001
7147
|
|
|
7002
|
-
var _templateObject$
|
|
7148
|
+
var _templateObject$t, _templateObject2$k, _templateObject3$e, _templateObject4$a, _templateObject5$6, _templateObject6$4, _templateObject7$3, _templateObject8$3, _templateObject9$3;
|
|
7003
7149
|
var BrandStock = function BrandStock(_ref) {
|
|
7004
7150
|
var _data$brands, _Object$keys, _Object$keys2, _data$brands2;
|
|
7005
7151
|
var storeData = _ref.storeData,
|
|
@@ -7154,9 +7300,9 @@ var BrandStock = function BrandStock(_ref) {
|
|
|
7154
7300
|
height: 80
|
|
7155
7301
|
}), 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))));
|
|
7156
7302
|
};
|
|
7157
|
-
var Root$9 = styled.div(_templateObject$
|
|
7158
|
-
var TitleContainer$1 = styled.div(_templateObject2$
|
|
7159
|
-
var MainContainer$3 = styled.div(_templateObject3$
|
|
7303
|
+
var Root$9 = styled.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n"])));
|
|
7304
|
+
var TitleContainer$1 = styled.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n padding: 0 1rem;\n display: flex;\n justify-content: space-between;\n"])));
|
|
7305
|
+
var MainContainer$3 = styled.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"])));
|
|
7160
7306
|
var DetailsContainer = styled.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"])));
|
|
7161
7307
|
var BrandContainer = styled.div(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteralLoose(["\n .brandImage {\n max-width: 100%;\n margin: 1rem auto;\n }\n"])));
|
|
7162
7308
|
var ReturnPolicyContainer = styled.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"])));
|
|
@@ -7168,12 +7314,12 @@ var TableCellContainer$1 = styled(TableCell$1)(_templateObject9$3 || (_templateO
|
|
|
7168
7314
|
return props.availableQuantity ? props.stockCol && 'green' : '#ffffff';
|
|
7169
7315
|
});
|
|
7170
7316
|
|
|
7171
|
-
var _templateObject$
|
|
7172
|
-
var CartDrawerContainer = styled.div(_templateObject$
|
|
7317
|
+
var _templateObject$u, _templateObject2$l, _templateObject3$f, _templateObject4$b, _templateObject5$7, _templateObject6$5, _templateObject7$4;
|
|
7318
|
+
var CartDrawerContainer = styled.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) {
|
|
7173
7319
|
return props.maxWidth || '650px';
|
|
7174
7320
|
});
|
|
7175
|
-
var CartDrawerBar = styled.div(_templateObject2$
|
|
7176
|
-
var CartDrawerProductContainer = styled.div(_templateObject3$
|
|
7321
|
+
var CartDrawerBar = styled.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"])));
|
|
7322
|
+
var CartDrawerProductContainer = styled.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) {
|
|
7177
7323
|
return props.opacity;
|
|
7178
7324
|
});
|
|
7179
7325
|
var CartDrawerBottomSection = styled.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"])));
|
|
@@ -7277,13 +7423,13 @@ function useGridSize() {
|
|
|
7277
7423
|
return layout;
|
|
7278
7424
|
}
|
|
7279
7425
|
|
|
7280
|
-
var _templateObject$
|
|
7281
|
-
var CartPageSection = styled.section(_templateObject$
|
|
7426
|
+
var _templateObject$v, _templateObject2$m, _templateObject3$g, _templateObject4$c, _templateObject5$8, _templateObject6$6, _templateObject7$5, _templateObject8$4, _templateObject9$4, _templateObject10$3;
|
|
7427
|
+
var CartPageSection = styled.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) {
|
|
7282
7428
|
return props.bg;
|
|
7283
7429
|
}, function (props) {
|
|
7284
7430
|
return props.bg || '#FAE8E5';
|
|
7285
7431
|
});
|
|
7286
|
-
var CartPageContainer = styled.div(_templateObject2$
|
|
7432
|
+
var CartPageContainer = styled.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) {
|
|
7287
7433
|
return props.maxWidth || '1600px';
|
|
7288
7434
|
}, function (props) {
|
|
7289
7435
|
return "min(" + (props.maxWidth || '1600px') + ",100%)";
|
|
@@ -7296,7 +7442,7 @@ var CartPageContainer = styled.div(_templateObject2$l || (_templateObject2$l = _
|
|
|
7296
7442
|
var _props$scroll2;
|
|
7297
7443
|
return (props === null || props === void 0 ? void 0 : (_props$scroll2 = props.scroll) === null || _props$scroll2 === void 0 ? void 0 : _props$scroll2.color) || '#BFC3CA';
|
|
7298
7444
|
});
|
|
7299
|
-
var CardsBox = styled.div(_templateObject3$
|
|
7445
|
+
var CardsBox = styled.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) {
|
|
7300
7446
|
return props.retail ? 'grid' : 'flex';
|
|
7301
7447
|
});
|
|
7302
7448
|
var CartHeading = styled.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) {
|
|
@@ -8453,7 +8599,7 @@ var TotalAfterDiscount = function TotalAfterDiscount(_ref2) {
|
|
|
8453
8599
|
}, renderMoney(totalAmount)) : /*#__PURE__*/createElement(Fragment$1, null), /*#__PURE__*/createElement("b", null, renderMoney(total))));
|
|
8454
8600
|
};
|
|
8455
8601
|
|
|
8456
|
-
var _templateObject$
|
|
8602
|
+
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;
|
|
8457
8603
|
var DEFAULT_PRIMARY_COLOR$1 = '#437C0F';
|
|
8458
8604
|
var formatCurrency = function formatCurrency(amount) {
|
|
8459
8605
|
return Number(amount).toLocaleString('en-US', {
|
|
@@ -9090,9 +9236,9 @@ var DiscountSuggestionsModal = function DiscountSuggestionsModal(_ref4) {
|
|
|
9090
9236
|
})))));
|
|
9091
9237
|
})))))), document.body);
|
|
9092
9238
|
};
|
|
9093
|
-
var fadeSlideUp = keyframes(_templateObject$
|
|
9094
|
-
var shimmer = keyframes(_templateObject2$
|
|
9095
|
-
var copyPop = keyframes(_templateObject3$
|
|
9239
|
+
var fadeSlideUp = 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"])));
|
|
9240
|
+
var shimmer = keyframes(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n 0% {\n background-position: -120% 0;\n }\n 100% {\n background-position: 220% 0;\n }\n"])));
|
|
9241
|
+
var copyPop = 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"])));
|
|
9096
9242
|
var chipIn = 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"])));
|
|
9097
9243
|
var progressGrow = keyframes(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteralLoose(["\n from {\n width: 0;\n }\n"])));
|
|
9098
9244
|
var sparkleFloat = 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"])));
|
|
@@ -9349,7 +9495,7 @@ var PrimaryCopyButton = styled.button(_templateObject59 || (_templateObject59 =
|
|
|
9349
9495
|
return $accentColor;
|
|
9350
9496
|
}, reducedMotion);
|
|
9351
9497
|
|
|
9352
|
-
var _templateObject$
|
|
9498
|
+
var _templateObject$x, _templateObject2$o, _templateObject3$i, _templateObject4$e, _templateObject5$a, _templateObject6$8;
|
|
9353
9499
|
var DEFAULT_PRIMARY_COLOR$2 = '#437C0F';
|
|
9354
9500
|
var DiscountSuggestionPreview = function DiscountSuggestionPreview(_ref) {
|
|
9355
9501
|
var coupon = _ref.coupon,
|
|
@@ -9424,12 +9570,12 @@ var DiscountSuggestionPreview = function DiscountSuggestionPreview(_ref) {
|
|
|
9424
9570
|
}
|
|
9425
9571
|
}, viewOffersLabel));
|
|
9426
9572
|
};
|
|
9427
|
-
var SuggestionRow = styled.div(_templateObject$
|
|
9428
|
-
var SuggestionText = styled.p(_templateObject2$
|
|
9573
|
+
var SuggestionRow = styled.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"])));
|
|
9574
|
+
var SuggestionText = styled.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) {
|
|
9429
9575
|
var $accentColor = _ref2.$accentColor;
|
|
9430
9576
|
return $accentColor || DEFAULT_PRIMARY_COLOR$2;
|
|
9431
9577
|
});
|
|
9432
|
-
var CodeWrap = styled.span(_templateObject3$
|
|
9578
|
+
var CodeWrap = styled.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"])));
|
|
9433
9579
|
var CodeValue$1 = styled.span(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n font-weight: 800;\n letter-spacing: 0.02em;\n color: ", ";\n"])), function (_ref3) {
|
|
9434
9580
|
var $accentColor = _ref3.$accentColor;
|
|
9435
9581
|
return $accentColor || DEFAULT_PRIMARY_COLOR$2;
|
|
@@ -9463,17 +9609,17 @@ var ViewOffersBtn = styled.button(_templateObject6$8 || (_templateObject6$8 = _t
|
|
|
9463
9609
|
return $accentColor ? $accentColor + "12" : '#437C0F12';
|
|
9464
9610
|
});
|
|
9465
9611
|
|
|
9466
|
-
var _templateObject$
|
|
9612
|
+
var _templateObject$y, _templateObject2$p, _templateObject3$j, _templateObject4$f, _templateObject5$b, _templateObject6$9, _templateObject7$7, _templateObject8$6;
|
|
9467
9613
|
var ProductImage = styled.img.attrs(function (props) {
|
|
9468
9614
|
return {
|
|
9469
9615
|
loading: props.loading || 'lazy',
|
|
9470
9616
|
decoding: 'async'
|
|
9471
9617
|
};
|
|
9472
|
-
})(_templateObject$
|
|
9473
|
-
var ProductName = styled.h6(_templateObject2$
|
|
9618
|
+
})(_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"])));
|
|
9619
|
+
var ProductName = styled.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) {
|
|
9474
9620
|
return props.size || '1em';
|
|
9475
9621
|
});
|
|
9476
|
-
var CartTableRow = styled(TableRow)(_templateObject3$
|
|
9622
|
+
var CartTableRow = styled(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) {
|
|
9477
9623
|
return props.size || '1.19em';
|
|
9478
9624
|
}, function (prop) {
|
|
9479
9625
|
return prop.bg;
|
|
@@ -10053,26 +10199,26 @@ function EnhancedTable(_ref2) {
|
|
|
10053
10199
|
}))))));
|
|
10054
10200
|
}
|
|
10055
10201
|
|
|
10056
|
-
var _templateObject$
|
|
10057
|
-
var CartPageCard = styled.div(_templateObject$
|
|
10202
|
+
var _templateObject$z, _templateObject2$q, _templateObject3$k, _templateObject4$g, _templateObject5$c, _templateObject6$a, _templateObject7$8;
|
|
10203
|
+
var CartPageCard = styled.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"])));
|
|
10058
10204
|
var CartPageImg = styled.img.attrs(function (props) {
|
|
10059
10205
|
return {
|
|
10060
10206
|
loading: props.loading || 'lazy',
|
|
10061
10207
|
decoding: 'async'
|
|
10062
10208
|
};
|
|
10063
|
-
})(_templateObject2$
|
|
10209
|
+
})(_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) {
|
|
10064
10210
|
return props.width || 'auto';
|
|
10065
10211
|
}, function (props) {
|
|
10066
10212
|
return props.height || 'auto';
|
|
10067
10213
|
});
|
|
10068
|
-
var NameAndQtBox = styled.div(_templateObject3$
|
|
10214
|
+
var NameAndQtBox = styled.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"])));
|
|
10069
10215
|
var CartPageCardName = styled.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"])));
|
|
10070
10216
|
var QtAndPriceBox = styled.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"])));
|
|
10071
10217
|
var CartPageQtBox = styled.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"])));
|
|
10072
10218
|
var CloseBtn = styled.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"])));
|
|
10073
10219
|
|
|
10074
|
-
var _templateObject$
|
|
10075
|
-
var DiscountBtn$1 = styled.div(_templateObject$
|
|
10220
|
+
var _templateObject$A;
|
|
10221
|
+
var DiscountBtn$1 = styled.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) {
|
|
10076
10222
|
var $accentColor = _ref.$accentColor;
|
|
10077
10223
|
return $accentColor || '#437C0F';
|
|
10078
10224
|
}, function (_ref2) {
|
|
@@ -10334,20 +10480,20 @@ var CartPageMainRetail = function CartPageMainRetail(_ref) {
|
|
|
10334
10480
|
})))));
|
|
10335
10481
|
};
|
|
10336
10482
|
|
|
10337
|
-
var _templateObject$
|
|
10338
|
-
var CartSummaryContainer = styled.div(_templateObject$
|
|
10483
|
+
var _templateObject$B, _templateObject2$r, _templateObject3$l, _templateObject4$h, _templateObject5$d, _templateObject6$b, _templateObject7$9, _templateObject8$7;
|
|
10484
|
+
var CartSummaryContainer = styled.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) {
|
|
10339
10485
|
return props.background || '#667080';
|
|
10340
10486
|
}, function (props) {
|
|
10341
10487
|
return props.color || 'white';
|
|
10342
10488
|
}, function (props) {
|
|
10343
10489
|
return props.color || 'white';
|
|
10344
10490
|
});
|
|
10345
|
-
var CartSummaryRow = styled.div(_templateObject2$
|
|
10491
|
+
var CartSummaryRow = styled.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) {
|
|
10346
10492
|
return props.justify || 'space-between';
|
|
10347
10493
|
}, function (props) {
|
|
10348
10494
|
return props.h5 || '1.31em';
|
|
10349
10495
|
});
|
|
10350
|
-
var CartSummaryHr = styled.span(_templateObject3$
|
|
10496
|
+
var CartSummaryHr = styled.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) {
|
|
10351
10497
|
return props.color || 'rgba(255, 255, 255, 0.5)';
|
|
10352
10498
|
});
|
|
10353
10499
|
var CartSummaryInputBox = styled.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) {
|
|
@@ -10785,12 +10931,12 @@ var checkMinMaxQty = function checkMinMaxQty(_ref2) {
|
|
|
10785
10931
|
return quantityReturn;
|
|
10786
10932
|
};
|
|
10787
10933
|
|
|
10788
|
-
var _templateObject$
|
|
10789
|
-
var CartDrawerProduct = styled.div(_templateObject$
|
|
10934
|
+
var _templateObject$C, _templateObject2$s, _templateObject3$m;
|
|
10935
|
+
var CartDrawerProduct = styled.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) {
|
|
10790
10936
|
return props.color || 'grey';
|
|
10791
10937
|
});
|
|
10792
|
-
var CartDrawerQtBox = styled.div(_templateObject2$
|
|
10793
|
-
var CartDrawerLoader = styled.div(_templateObject3$
|
|
10938
|
+
var CartDrawerQtBox = styled.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"])));
|
|
10939
|
+
var CartDrawerLoader = styled.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"])));
|
|
10794
10940
|
|
|
10795
10941
|
var CartDrawerProductCard = function CartDrawerProductCard(_ref) {
|
|
10796
10942
|
var product = _ref.product,
|
|
@@ -11053,7 +11199,7 @@ var GTagManager = function GTagManager(_ref) {
|
|
|
11053
11199
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
|
|
11054
11200
|
};
|
|
11055
11201
|
|
|
11056
|
-
var _templateObject$
|
|
11202
|
+
var _templateObject$D, _templateObject2$t, _templateObject3$n, _templateObject4$i, _templateObject5$e, _templateObject6$c;
|
|
11057
11203
|
var OutOfStock = function OutOfStock(_ref) {
|
|
11058
11204
|
var _product$body, _product$body$content, _product$body2, _product$body2$conten, _product$masterProduc, _product$header;
|
|
11059
11205
|
var product = _ref.product,
|
|
@@ -11284,11 +11430,11 @@ var OutOfStock = function OutOfStock(_ref) {
|
|
|
11284
11430
|
}
|
|
11285
11431
|
}), /*#__PURE__*/React__default.createElement("span", null, subscribed ? 'Subscribed Successfully' : 'Subscribe')))))));
|
|
11286
11432
|
};
|
|
11287
|
-
var VariantsContainer = styled.div(_templateObject$
|
|
11288
|
-
var MainCheckbox = styled(Checkbox)(_templateObject2$
|
|
11433
|
+
var VariantsContainer = styled.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"])));
|
|
11434
|
+
var MainCheckbox = styled(Checkbox)(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n &.Mui-checked,\n &.MuiCheckbox-indeterminate {\n color: ", ";\n }\n"])), function (props) {
|
|
11289
11435
|
return props.theme.primaryColor;
|
|
11290
11436
|
});
|
|
11291
|
-
var EmailInput = styled(InputBase)(_templateObject3$
|
|
11437
|
+
var EmailInput = styled(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"])));
|
|
11292
11438
|
var Root$a = styled.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"])));
|
|
11293
11439
|
var ContainerDiv = styled.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) {
|
|
11294
11440
|
return props.height ? props.height : 'auto';
|
|
@@ -11321,12 +11467,12 @@ var StyledSubscribe = styled.button(_templateObject6$c || (_templateObject6$c =
|
|
|
11321
11467
|
return props.Loading || props.subscribed ? 'none' : 'auto';
|
|
11322
11468
|
});
|
|
11323
11469
|
|
|
11324
|
-
var _templateObject$
|
|
11470
|
+
var _templateObject$E;
|
|
11325
11471
|
var NoData = function NoData(_ref) {
|
|
11326
11472
|
_objectDestructuringEmpty(_ref);
|
|
11327
11473
|
return /*#__PURE__*/React__default.createElement(CustomNoRowsOverlay, null);
|
|
11328
11474
|
};
|
|
11329
|
-
var Container$1 = styled.div(_templateObject$
|
|
11475
|
+
var Container$1 = styled.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"])));
|
|
11330
11476
|
var CustomNoRowsOverlay = function CustomNoRowsOverlay(_ref2) {
|
|
11331
11477
|
_objectDestructuringEmpty(_ref2);
|
|
11332
11478
|
return /*#__PURE__*/React__default.createElement(Container$1, null, /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -11793,24 +11939,24 @@ var AsyncSelect = function AsyncSelect(_ref3) {
|
|
|
11793
11939
|
return /*#__PURE__*/React__default.createElement(AsyncSelectField, props);
|
|
11794
11940
|
};
|
|
11795
11941
|
|
|
11796
|
-
var _templateObject$
|
|
11797
|
-
var Container$2 = styled.div(_templateObject$
|
|
11942
|
+
var _templateObject$F;
|
|
11943
|
+
var Container$2 = styled.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose([""])));
|
|
11798
11944
|
|
|
11799
|
-
var _templateObject$
|
|
11945
|
+
var _templateObject$G, _templateObject2$u, _templateObject3$o, _templateObject4$j, _templateObject5$f, _templateObject6$d;
|
|
11800
11946
|
var ProductImage$1 = styled.img.attrs(function (props) {
|
|
11801
11947
|
return {
|
|
11802
11948
|
loading: props.loading || 'lazy',
|
|
11803
11949
|
decoding: 'async'
|
|
11804
11950
|
};
|
|
11805
|
-
})(_templateObject$
|
|
11806
|
-
var ProductName$1 = styled.h6(_templateObject2$
|
|
11951
|
+
})(_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"])));
|
|
11952
|
+
var ProductName$1 = styled.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) {
|
|
11807
11953
|
return props.size || '1em';
|
|
11808
11954
|
}, function (props) {
|
|
11809
11955
|
return props.maxHeight ? props.maxHeight + "em" : '2.75em';
|
|
11810
11956
|
}, function (props) {
|
|
11811
11957
|
return props.maxHeight ? props.maxHeight + "em" : '2.80em';
|
|
11812
11958
|
});
|
|
11813
|
-
var CartTableRow$1 = styled(TableRow)(_templateObject3$
|
|
11959
|
+
var CartTableRow$1 = styled(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) {
|
|
11814
11960
|
return props.size || '1.19em';
|
|
11815
11961
|
}, function (prop) {
|
|
11816
11962
|
return prop.bg;
|
|
@@ -11937,13 +12083,13 @@ var CardRow$1 = function CardRow(_ref) {
|
|
|
11937
12083
|
}))));
|
|
11938
12084
|
};
|
|
11939
12085
|
|
|
11940
|
-
var _templateObject$
|
|
11941
|
-
var CartPageSection$1 = styled.section(_templateObject$
|
|
12086
|
+
var _templateObject$H, _templateObject2$v, _templateObject3$p, _templateObject4$k, _templateObject5$g, _templateObject6$e, _templateObject7$a, _templateObject8$8, _templateObject9$6;
|
|
12087
|
+
var CartPageSection$1 = styled.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) {
|
|
11942
12088
|
return props.bg;
|
|
11943
12089
|
}, function (props) {
|
|
11944
12090
|
return props.bg || '#FAE8E5';
|
|
11945
12091
|
});
|
|
11946
|
-
var CartPageContainer$1 = styled.div(_templateObject2$
|
|
12092
|
+
var CartPageContainer$1 = styled.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) {
|
|
11947
12093
|
return props.maxWidth || '1600px';
|
|
11948
12094
|
}, function (props) {
|
|
11949
12095
|
return "min(" + (props.maxWidth || '1600px') + ",100%)";
|
|
@@ -11954,7 +12100,7 @@ var CartPageContainer$1 = styled.div(_templateObject2$u || (_templateObject2$u =
|
|
|
11954
12100
|
}, function (props) {
|
|
11955
12101
|
return props.color || '#BFC3CA';
|
|
11956
12102
|
});
|
|
11957
|
-
var CardsBox$1 = styled.div(_templateObject3$
|
|
12103
|
+
var CardsBox$1 = styled.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) {
|
|
11958
12104
|
return props.retail ? 'grid' : 'flex';
|
|
11959
12105
|
});
|
|
11960
12106
|
var CartHeading$1 = styled.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) {
|
|
@@ -12387,7 +12533,7 @@ var SnowfallComponent = function SnowfallComponent(_ref) {
|
|
|
12387
12533
|
}) : null;
|
|
12388
12534
|
};
|
|
12389
12535
|
|
|
12390
|
-
var _templateObject$
|
|
12536
|
+
var _templateObject$I, _templateObject2$w;
|
|
12391
12537
|
var ContactUsForm = function ContactUsForm(_ref) {
|
|
12392
12538
|
var apiEndPoint = _ref.apiEndPoint,
|
|
12393
12539
|
serviceApiEndPoint = _ref.serviceApiEndPoint,
|
|
@@ -12512,15 +12658,15 @@ var ContactUsForm = function ContactUsForm(_ref) {
|
|
|
12512
12658
|
}
|
|
12513
12659
|
}, "Submit"))));
|
|
12514
12660
|
};
|
|
12515
|
-
var TypographyContainer$8 = styled(Typography)(_templateObject$
|
|
12661
|
+
var TypographyContainer$8 = styled(Typography)(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n font-size: 1.2rem !important;\n align-items: center;\n"])), function (props) {
|
|
12516
12662
|
return props.fontColor;
|
|
12517
12663
|
});
|
|
12518
|
-
var RootContainer$3 = styled(Stack)(_templateObject2$
|
|
12664
|
+
var RootContainer$3 = styled(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) {
|
|
12519
12665
|
return props.secondaryColor;
|
|
12520
12666
|
});
|
|
12521
12667
|
|
|
12522
|
-
var _templateObject$
|
|
12523
|
-
var StaticContainer = styled.div(_templateObject$
|
|
12668
|
+
var _templateObject$J;
|
|
12669
|
+
var StaticContainer = styled.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) {
|
|
12524
12670
|
return props.theme.fontColor || '#606060';
|
|
12525
12671
|
}, function (props) {
|
|
12526
12672
|
return props.theme.primaryColor;
|
|
@@ -12532,7 +12678,7 @@ var StaticContainer = styled.div(_templateObject$I || (_templateObject$I = _tagg
|
|
|
12532
12678
|
return props.theme.fontColor || '#606060';
|
|
12533
12679
|
});
|
|
12534
12680
|
|
|
12535
|
-
var _templateObject$
|
|
12681
|
+
var _templateObject$K;
|
|
12536
12682
|
var APIStaticPage = function APIStaticPage(_ref) {
|
|
12537
12683
|
var _ref$colors = _ref.colors,
|
|
12538
12684
|
colors = _ref$colors === void 0 ? {
|
|
@@ -12720,10 +12866,10 @@ var APIStaticPage = function APIStaticPage(_ref) {
|
|
|
12720
12866
|
}
|
|
12721
12867
|
}, "Not found"))));
|
|
12722
12868
|
};
|
|
12723
|
-
var Root$b = styled(Box)(_templateObject$
|
|
12869
|
+
var Root$b = styled(Box)(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n img {\n max-width: 100%;\n }\n"])));
|
|
12724
12870
|
|
|
12725
|
-
var _templateObject$
|
|
12726
|
-
var StaticContainer$1 = styled.div(_templateObject$
|
|
12871
|
+
var _templateObject$L;
|
|
12872
|
+
var StaticContainer$1 = styled.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) {
|
|
12727
12873
|
return props.theme.fontColor || '#606060';
|
|
12728
12874
|
}, function (props) {
|
|
12729
12875
|
return props.theme.primaryColor;
|
|
@@ -12735,7 +12881,7 @@ var StaticContainer$1 = styled.div(_templateObject$K || (_templateObject$K = _ta
|
|
|
12735
12881
|
return props.theme.fontColor || '#606060';
|
|
12736
12882
|
});
|
|
12737
12883
|
|
|
12738
|
-
var _templateObject$
|
|
12884
|
+
var _templateObject$M;
|
|
12739
12885
|
var StaticPage = function StaticPage(_ref) {
|
|
12740
12886
|
var _data$content;
|
|
12741
12887
|
var _ref$colors = _ref.colors,
|
|
@@ -12803,9 +12949,9 @@ var StaticPage = function StaticPage(_ref) {
|
|
|
12803
12949
|
referrerPolicy: "no-referrer-when-downgrade"
|
|
12804
12950
|
})))));
|
|
12805
12951
|
};
|
|
12806
|
-
var Root$c = styled(Box)(_templateObject$
|
|
12952
|
+
var Root$c = styled(Box)(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose([""])));
|
|
12807
12953
|
|
|
12808
|
-
var _templateObject$
|
|
12954
|
+
var _templateObject$N;
|
|
12809
12955
|
var StaticPageList = function StaticPageList(_ref) {
|
|
12810
12956
|
var _sortBy;
|
|
12811
12957
|
var apiEndPoint = _ref.apiEndPoint,
|
|
@@ -12915,7 +13061,7 @@ var StaticPageList = function StaticPageList(_ref) {
|
|
|
12915
13061
|
}
|
|
12916
13062
|
}, "Not found")))));
|
|
12917
13063
|
};
|
|
12918
|
-
var TitleContainer$2 = styled.div(_templateObject$
|
|
13064
|
+
var TitleContainer$2 = styled.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"])));
|
|
12919
13065
|
|
|
12920
13066
|
var _excluded$7 = ["userName", "children", "style"];
|
|
12921
13067
|
var colors$1 = ['#FFB900', '#D83B01', '#B50E0E', '#E81123', '#B4009E', '#5C2D91', '#0078D7', '#00B4FF', '#008272', '#107C10'];
|
|
@@ -12951,7 +13097,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
12951
13097
|
}));
|
|
12952
13098
|
};
|
|
12953
13099
|
|
|
12954
|
-
var _templateObject$
|
|
13100
|
+
var _templateObject$O, _templateObject2$x;
|
|
12955
13101
|
var SwitchUser = function SwitchUser(_ref) {
|
|
12956
13102
|
var _customerData$filter, _customerData$filter$;
|
|
12957
13103
|
var apiEndPoint = _ref.apiEndPoint,
|
|
@@ -13038,14 +13184,14 @@ var SwitchUser = function SwitchUser(_ref) {
|
|
|
13038
13184
|
}, /*#__PURE__*/React__default.createElement(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)))));
|
|
13039
13185
|
}))));
|
|
13040
13186
|
};
|
|
13041
|
-
var RootContainer$4 = styled.div(_templateObject$
|
|
13042
|
-
var CustomerContainer = styled.div(_templateObject2$
|
|
13187
|
+
var RootContainer$4 = styled.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n margin: auto;\n padding: 2.4rem;\n max-width: 1920px;\n"])));
|
|
13188
|
+
var CustomerContainer = styled.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) {
|
|
13043
13189
|
return props.theme.primaryColor || '#000000d9';
|
|
13044
13190
|
}, function (props) {
|
|
13045
13191
|
return props.theme.primaryColor || '#000000d9';
|
|
13046
13192
|
});
|
|
13047
13193
|
|
|
13048
|
-
var _templateObject$
|
|
13194
|
+
var _templateObject$P, _templateObject2$y;
|
|
13049
13195
|
var ThankYou = function ThankYou(_ref) {
|
|
13050
13196
|
var _ref$id = _ref.id,
|
|
13051
13197
|
id = _ref$id === void 0 ? 0 : _ref$id,
|
|
@@ -13104,8 +13250,8 @@ var ThankYou = function ThankYou(_ref) {
|
|
|
13104
13250
|
onClick: onContinue
|
|
13105
13251
|
}, /*#__PURE__*/React__default.createElement("p", null, "Continue Shopping"))))))));
|
|
13106
13252
|
};
|
|
13107
|
-
var Root$d = styled(Box)(_templateObject$
|
|
13108
|
-
var StyledButton = styled.button(_templateObject2$
|
|
13253
|
+
var Root$d = styled(Box)(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose([""])));
|
|
13254
|
+
var StyledButton = styled.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) {
|
|
13109
13255
|
return props.theme.primaryColor;
|
|
13110
13256
|
}, function (props) {
|
|
13111
13257
|
return props.theme.primaryColor;
|
|
@@ -13259,18 +13405,18 @@ var DiscountSummaryModal = function DiscountSummaryModal(_ref) {
|
|
|
13259
13405
|
}, "Okay"))));
|
|
13260
13406
|
};
|
|
13261
13407
|
|
|
13262
|
-
var _templateObject$
|
|
13263
|
-
var CheckoutRootContainer = styled.div(_templateObject$
|
|
13408
|
+
var _templateObject$Q, _templateObject2$z, _templateObject3$q, _templateObject4$l, _templateObject5$h, _templateObject6$f, _templateObject7$b, _templateObject8$9;
|
|
13409
|
+
var CheckoutRootContainer = styled.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) {
|
|
13264
13410
|
return props.bg;
|
|
13265
13411
|
});
|
|
13266
|
-
var CheckoutPageContainer = styled.div(_templateObject2$
|
|
13412
|
+
var CheckoutPageContainer = styled.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) {
|
|
13267
13413
|
return props.maxWidth || '1605px';
|
|
13268
13414
|
}, function (props) {
|
|
13269
13415
|
return props.bg || '#fff8f6';
|
|
13270
13416
|
}, function (props) {
|
|
13271
13417
|
return props.primaryColor || 'rgba(50, 50, 50, 1)';
|
|
13272
13418
|
});
|
|
13273
|
-
var Row = styled.div(_templateObject3$
|
|
13419
|
+
var Row = styled.div(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n"])));
|
|
13274
13420
|
var CheckoutMainWithHeader = styled(Stack)(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n"])));
|
|
13275
13421
|
var CheckoutMain = styled.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) {
|
|
13276
13422
|
return props.bg || 'rgba(102,112,128,0.5)';
|
|
@@ -13283,14 +13429,14 @@ var CheckoutHeading = styled.div(_templateObject6$f || (_templateObject6$f = _ta
|
|
|
13283
13429
|
var CheckoutHeader = styled(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"])));
|
|
13284
13430
|
var CheckoutStepIcon = styled.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"])));
|
|
13285
13431
|
|
|
13286
|
-
var _templateObject$
|
|
13287
|
-
var CheckoutSummaryContainer = styled.div(_templateObject$
|
|
13432
|
+
var _templateObject$R, _templateObject2$A, _templateObject3$r;
|
|
13433
|
+
var CheckoutSummaryContainer = styled.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) {
|
|
13288
13434
|
return props.bg || 'rgba(255, 240, 236, 1)';
|
|
13289
13435
|
}, function (props) {
|
|
13290
13436
|
return props.color || ' rgba(50, 50, 50, 1)';
|
|
13291
13437
|
});
|
|
13292
|
-
var TextRow = styled.div(_templateObject2$
|
|
13293
|
-
var FilledInfo = styled.div(_templateObject3$
|
|
13438
|
+
var TextRow = styled.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"])));
|
|
13439
|
+
var FilledInfo = styled.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"])));
|
|
13294
13440
|
|
|
13295
13441
|
var CheckoutSummary = function CheckoutSummary(_ref) {
|
|
13296
13442
|
var billingInformation = _ref.billingInformation,
|
|
@@ -13362,14 +13508,14 @@ var CheckoutSummary = function CheckoutSummary(_ref) {
|
|
|
13362
13508
|
}, renderMoney(orderTotal === null || orderTotal === void 0 ? void 0 : orderTotal.adjustmentValue))));
|
|
13363
13509
|
};
|
|
13364
13510
|
|
|
13365
|
-
var _templateObject$
|
|
13366
|
-
var StepContainer = styled.div(_templateObject$
|
|
13367
|
-
var StepsContent = styled.div(_templateObject2$
|
|
13511
|
+
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;
|
|
13512
|
+
var StepContainer = styled.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"])));
|
|
13513
|
+
var StepsContent = styled.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) {
|
|
13368
13514
|
return 'transparent' + '!important';
|
|
13369
13515
|
}, function (props) {
|
|
13370
13516
|
return props.bg || 'red';
|
|
13371
13517
|
});
|
|
13372
|
-
var StepsHeaderContainer = styled.div(_templateObject3$
|
|
13518
|
+
var StepsHeaderContainer = styled.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) {
|
|
13373
13519
|
return props.single ? '1.8em 2em' : '1em 0';
|
|
13374
13520
|
}, function (props) {
|
|
13375
13521
|
return props.single ? '-1.56em' : '1em';
|
|
@@ -14936,7 +15082,7 @@ var erSessionStorage = {
|
|
|
14936
15082
|
}
|
|
14937
15083
|
};
|
|
14938
15084
|
|
|
14939
|
-
var _templateObject$
|
|
15085
|
+
var _templateObject$T, _templateObject2$C;
|
|
14940
15086
|
var ConsentForm = function ConsentForm(_ref) {
|
|
14941
15087
|
var apiEndPoint = _ref.apiEndPoint,
|
|
14942
15088
|
token = _ref.token,
|
|
@@ -15102,7 +15248,7 @@ var InfoComponent = function InfoComponent(_ref2) {
|
|
|
15102
15248
|
});
|
|
15103
15249
|
}))));
|
|
15104
15250
|
};
|
|
15105
|
-
var InfoContainer$1 = styled.div(_templateObject$
|
|
15251
|
+
var InfoContainer$1 = styled.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"])));
|
|
15106
15252
|
var InfoItem = function InfoItem(_ref3) {
|
|
15107
15253
|
var name = _ref3.name,
|
|
15108
15254
|
value = _ref3.value;
|
|
@@ -15115,7 +15261,7 @@ var InfoItem = function InfoItem(_ref3) {
|
|
|
15115
15261
|
item: true
|
|
15116
15262
|
}, /*#__PURE__*/React__default.createElement("p", null, value))));
|
|
15117
15263
|
};
|
|
15118
|
-
var InfoItemContainer = styled.div(_templateObject2$
|
|
15264
|
+
var InfoItemContainer = styled.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n background: #00000010;\n padding: 0.5rem;\n"])));
|
|
15119
15265
|
|
|
15120
15266
|
var PaypalComponent = function PaypalComponent(_ref) {
|
|
15121
15267
|
var apiEndPoint = _ref.apiEndPoint,
|
|
@@ -16504,7 +16650,7 @@ var CheckoutPageComponent = function CheckoutPageComponent(_ref9) {
|
|
|
16504
16650
|
}, props)));
|
|
16505
16651
|
};
|
|
16506
16652
|
|
|
16507
|
-
var _templateObject$
|
|
16653
|
+
var _templateObject$U, _templateObject2$D, _templateObject3$t;
|
|
16508
16654
|
var columns$1 = [{
|
|
16509
16655
|
id: 'id',
|
|
16510
16656
|
label: 'Id',
|
|
@@ -16619,11 +16765,11 @@ var PurchaseOrderList = function PurchaseOrderList(_ref) {
|
|
|
16619
16765
|
setTriggerTableData: setTriggerTableData
|
|
16620
16766
|
})));
|
|
16621
16767
|
};
|
|
16622
|
-
var TableContainer$3 = styled.div(_templateObject$
|
|
16623
|
-
var TypographyContainer$9 = styled(Typography)(_templateObject2$
|
|
16768
|
+
var TableContainer$3 = styled.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n margin: 0.5rem;\n border-radius: 14px;\n"])));
|
|
16769
|
+
var TypographyContainer$9 = styled(Typography)(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
|
|
16624
16770
|
return props.fontColor;
|
|
16625
16771
|
});
|
|
16626
|
-
var TitleContainer$3 = styled.h4(_templateObject3$
|
|
16772
|
+
var TitleContainer$3 = styled.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) {
|
|
16627
16773
|
return props.primaryColor;
|
|
16628
16774
|
});
|
|
16629
16775
|
|
|
@@ -17194,7 +17340,7 @@ var VendorInventory = function VendorInventory(_ref) {
|
|
|
17194
17340
|
})));
|
|
17195
17341
|
};
|
|
17196
17342
|
|
|
17197
|
-
var _templateObject$
|
|
17343
|
+
var _templateObject$V, _templateObject2$E, _templateObject3$u, _templateObject4$n, _templateObject5$j, _templateObject6$h, _templateObject7$d, _templateObject8$b;
|
|
17198
17344
|
var VendorLogin = function VendorLogin(_ref) {
|
|
17199
17345
|
var primaryColor = _ref.primaryColor,
|
|
17200
17346
|
API_BASE_URL = _ref.API_BASE_URL;
|
|
@@ -17300,16 +17446,16 @@ var VendorLogin = function VendorLogin(_ref) {
|
|
|
17300
17446
|
color: "inherit"
|
|
17301
17447
|
}) : 'sign in'))))));
|
|
17302
17448
|
};
|
|
17303
|
-
var Container$3 = styled.div(_templateObject$
|
|
17304
|
-
var StyledLogin = styled.div(_templateObject2$
|
|
17305
|
-
var StyledCard = styled(Card$1)(_templateObject3$
|
|
17449
|
+
var Container$3 = styled.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"])));
|
|
17450
|
+
var StyledLogin = styled.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"])));
|
|
17451
|
+
var StyledCard = styled(Card$1)(_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"])));
|
|
17306
17452
|
var H1 = styled(Typography)(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n margin-top: 1rem;\n"])));
|
|
17307
17453
|
var StyleInputBx = styled.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"])));
|
|
17308
17454
|
var ShowPassBtn = styled.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"])));
|
|
17309
17455
|
var ButtonContianer = styled.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"])));
|
|
17310
17456
|
var StyledButton$1 = styled(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"])));
|
|
17311
17457
|
|
|
17312
|
-
var _templateObject$
|
|
17458
|
+
var _templateObject$W, _templateObject2$F, _templateObject3$v, _templateObject4$o;
|
|
17313
17459
|
var menuItems = [{
|
|
17314
17460
|
name: 'My Account',
|
|
17315
17461
|
Icon: RiAccountBoxLine,
|
|
@@ -17517,8 +17663,8 @@ var VendorAccountDetails = function VendorAccountDetails(_ref) {
|
|
|
17517
17663
|
height: 200
|
|
17518
17664
|
}) : /*#__PURE__*/React__default.createElement(Fragment$1, null, API_BASE_URL && token && renderListItemComponent(tabValue)))))));
|
|
17519
17665
|
};
|
|
17520
|
-
var Root$e = styled(Box)(_templateObject$
|
|
17521
|
-
var MainContainer$4 = styled.div(_templateObject2$
|
|
17666
|
+
var Root$e = styled(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"])));
|
|
17667
|
+
var MainContainer$4 = styled.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) {
|
|
17522
17668
|
return props.open ? '1800px' : '1600px';
|
|
17523
17669
|
});
|
|
17524
17670
|
var Main$1 = styled$1('main', {
|
|
@@ -17551,7 +17697,7 @@ var Main$1 = styled$1('main', {
|
|
|
17551
17697
|
overflow: 'auto'
|
|
17552
17698
|
});
|
|
17553
17699
|
});
|
|
17554
|
-
var ContainerDrawer$1 = styled(Drawer)(_templateObject3$
|
|
17700
|
+
var ContainerDrawer$1 = styled(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) {
|
|
17555
17701
|
return props.open && '2rem';
|
|
17556
17702
|
}, function (props) {
|
|
17557
17703
|
return props.primaryColor || transparent;
|
|
@@ -17661,7 +17807,7 @@ var getRestockedData = function getRestockedData(_ref3) {
|
|
|
17661
17807
|
}
|
|
17662
17808
|
};
|
|
17663
17809
|
|
|
17664
|
-
var _templateObject$
|
|
17810
|
+
var _templateObject$X;
|
|
17665
17811
|
var NewArrival = function NewArrival(_ref) {
|
|
17666
17812
|
var _newArrivalItems$cont;
|
|
17667
17813
|
var apiEndPoint = _ref.apiEndPoint,
|
|
@@ -17812,7 +17958,7 @@ var DateCard = function DateCard(_ref2) {
|
|
|
17812
17958
|
}
|
|
17813
17959
|
}, item === null || item === void 0 ? void 0 : item.count));
|
|
17814
17960
|
};
|
|
17815
|
-
var ProductsGrid = styled.div(_templateObject$
|
|
17961
|
+
var ProductsGrid = styled.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"])));
|
|
17816
17962
|
|
|
17817
17963
|
var ReStockedItem = function ReStockedItem(_ref) {
|
|
17818
17964
|
var _newArrivalItems$cont;
|
|
@@ -18172,10 +18318,10 @@ var moveToCart = function moveToCart(_ref3) {
|
|
|
18172
18318
|
}
|
|
18173
18319
|
};
|
|
18174
18320
|
|
|
18175
|
-
var _templateObject$
|
|
18176
|
-
var EmptyStateText = styled.p(_templateObject$
|
|
18177
|
-
var ProductCardWrapper = styled.div(_templateObject2$
|
|
18178
|
-
var TopBar = styled.div(_templateObject3$
|
|
18321
|
+
var _templateObject$Y, _templateObject2$G, _templateObject3$w, _templateObject4$p, _templateObject5$k, _templateObject6$i, _templateObject7$e, _templateObject8$c, _templateObject9$8, _templateObject10$6, _templateObject11$5;
|
|
18322
|
+
var EmptyStateText = styled.p(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n color: #4b4b4b;\n margin: 16px 0;\n"])));
|
|
18323
|
+
var ProductCardWrapper = styled.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"])));
|
|
18324
|
+
var TopBar = styled.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"])));
|
|
18179
18325
|
var SearchWrapper = styled(Box)(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n && {\n margin-bottom: 24px;\n max-width: 400px;\n width: 100%;\n }\n"])));
|
|
18180
18326
|
var TotalItemsText = styled.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"])));
|
|
18181
18327
|
var DeleteButton = styled.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"])));
|
|
@@ -18662,10 +18808,10 @@ var moveToCartFromFavoriteItems = function moveToCartFromFavoriteItems(_ref3) {
|
|
|
18662
18808
|
}
|
|
18663
18809
|
};
|
|
18664
18810
|
|
|
18665
|
-
var _templateObject$
|
|
18666
|
-
var EmptyStateText$1 = styled.p(_templateObject$
|
|
18667
|
-
var ProductCardWrapper$1 = styled.div(_templateObject2$
|
|
18668
|
-
var TopBar$1 = styled.div(_templateObject3$
|
|
18811
|
+
var _templateObject$Z, _templateObject2$H, _templateObject3$x, _templateObject4$q, _templateObject5$l, _templateObject6$j, _templateObject7$f, _templateObject8$d, _templateObject9$9, _templateObject10$7, _templateObject11$6;
|
|
18812
|
+
var EmptyStateText$1 = styled.p(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n color: #4b4b4b;\n margin: 16px 0;\n"])));
|
|
18813
|
+
var ProductCardWrapper$1 = styled.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"])));
|
|
18814
|
+
var TopBar$1 = styled.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"])));
|
|
18669
18815
|
var SearchWrapper$1 = styled(Box)(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n && {\n margin-bottom: 24px;\n max-width: 400px;\n width: 100%;\n }\n"])));
|
|
18670
18816
|
var TotalItemsText$1 = styled.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"])));
|
|
18671
18817
|
var DeleteButton$1 = styled.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"])));
|