@salesgenterp/ui-components 0.4.132 → 0.4.133
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 +112 -33
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +112 -33
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32,6 +32,10 @@ var DesktopDatePicker = require('@mui/x-date-pickers/DesktopDatePicker');
|
|
|
32
32
|
var AdapterMoment = require('@mui/x-date-pickers/AdapterMoment');
|
|
33
33
|
var xDatePickers = require('@mui/x-date-pickers');
|
|
34
34
|
var moment$1 = _interopDefault(require('moment/moment'));
|
|
35
|
+
var InputLabel = _interopDefault(require('@mui/material/InputLabel'));
|
|
36
|
+
var MenuItem = _interopDefault(require('@mui/material/MenuItem'));
|
|
37
|
+
var FormControl = _interopDefault(require('@mui/material/FormControl'));
|
|
38
|
+
var Select$1 = _interopDefault(require('@mui/material/Select'));
|
|
35
39
|
|
|
36
40
|
function _extends() {
|
|
37
41
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
@@ -4362,14 +4366,18 @@ var DatePickerContainer = styled(DesktopDatePicker.DesktopDatePicker)(_templateO
|
|
|
4362
4366
|
|
|
4363
4367
|
var _templateObject$c, _templateObject2$b, _templateObject3$a, _templateObject4$8, _templateObject5$8, _templateObject6$8, _templateObject7$5, _templateObject8$2, _templateObject9$2, _templateObject10$1, _templateObject11$1;
|
|
4364
4368
|
var Dashboard = function Dashboard(_ref) {
|
|
4365
|
-
var _customerData$custome, _customerData$custome2, _customerData$custome3, _customerData$custome4
|
|
4369
|
+
var _customerData$custome, _customerData$custome2, _customerData$custome3, _customerData$custome4;
|
|
4366
4370
|
var apiEndPoint = _ref.apiEndPoint,
|
|
4367
4371
|
serviceApiEndPoint = _ref.serviceApiEndPoint,
|
|
4368
4372
|
token = _ref.token,
|
|
4369
4373
|
primaryColor = _ref.primaryColor,
|
|
4370
4374
|
secondaryColor = _ref.secondaryColor,
|
|
4371
4375
|
backgroundColor = _ref.backgroundColor,
|
|
4372
|
-
fontColor = _ref.fontColor
|
|
4376
|
+
fontColor = _ref.fontColor,
|
|
4377
|
+
_ref$defaultStoreId = _ref.defaultStoreId,
|
|
4378
|
+
defaultStoreId = _ref$defaultStoreId === void 0 ? 2 : _ref$defaultStoreId,
|
|
4379
|
+
_ref$storeIdList = _ref.storeIdList,
|
|
4380
|
+
storeIdList = _ref$storeIdList === void 0 ? '1,2,46,47,48,49,50,51,52,53,54' : _ref$storeIdList;
|
|
4373
4381
|
var _useState = React.useState({}),
|
|
4374
4382
|
customerData = _useState[0],
|
|
4375
4383
|
setCustomerData = _useState[1];
|
|
@@ -4388,12 +4396,6 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
4388
4396
|
}),
|
|
4389
4397
|
invoiceModal = _useState5[0],
|
|
4390
4398
|
setInvoiceModal = _useState5[1];
|
|
4391
|
-
var defaultStoreId = (customerData === null || customerData === void 0 ? void 0 : (_customerData$custome = customerData.customerStoreDtoListt) === null || _customerData$custome === void 0 ? void 0 : (_customerData$custome2 = _customerData$custome.find(function (data) {
|
|
4392
|
-
return (data === null || data === void 0 ? void 0 : data.defaultStore) === true;
|
|
4393
|
-
})) === null || _customerData$custome2 === void 0 ? void 0 : _customerData$custome2.id) || 2;
|
|
4394
|
-
var storeIdList = (customerData === null || customerData === void 0 ? void 0 : (_customerData$custome3 = customerData.customerStoreDtoListtt) === null || _customerData$custome3 === void 0 ? void 0 : _customerData$custome3.map(function (data) {
|
|
4395
|
-
return data.id;
|
|
4396
|
-
}).join(',')) || '1,2,46,47,48,49,50,51,52,53,54';
|
|
4397
4399
|
var openInvoiceData = function openInvoiceData(orderId) {
|
|
4398
4400
|
serviceApiEndPoint && setInvoiceModal({
|
|
4399
4401
|
open: true,
|
|
@@ -4543,7 +4545,7 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
4543
4545
|
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(TitleContainer, {
|
|
4544
4546
|
primaryColor: primaryColor,
|
|
4545
4547
|
backgroundColor: backgroundColor
|
|
4546
|
-
}, /*#__PURE__*/React__default.createElement("span", null, "Hello!"), " ", /*#__PURE__*/React__default.createElement("b", null, customerData === null || customerData === void 0 ? void 0 : (_customerData$
|
|
4548
|
+
}, /*#__PURE__*/React__default.createElement("span", null, "Hello!"), " ", /*#__PURE__*/React__default.createElement("b", null, customerData === null || customerData === void 0 ? void 0 : (_customerData$custome = customerData.customerDto) === null || _customerData$custome === void 0 ? void 0 : _customerData$custome.name)), /*#__PURE__*/React__default.createElement(TypographyContainer, {
|
|
4547
4549
|
variant: "h4",
|
|
4548
4550
|
gutterBottom: true,
|
|
4549
4551
|
backgroundColor: backgroundColor,
|
|
@@ -4603,7 +4605,7 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
4603
4605
|
color: primaryColor,
|
|
4604
4606
|
marginRight: '1rem'
|
|
4605
4607
|
}
|
|
4606
|
-
}), (customerData === null || customerData === void 0 ? void 0 : (_customerData$
|
|
4608
|
+
}), (customerData === null || customerData === void 0 ? void 0 : (_customerData$custome2 = customerData.customerDto) === null || _customerData$custome2 === void 0 ? void 0 : _customerData$custome2.salesRepresentativeName) || 'N/A')), /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
4607
4609
|
item: true,
|
|
4608
4610
|
xs: 12,
|
|
4609
4611
|
md: 6,
|
|
@@ -4622,7 +4624,7 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
4622
4624
|
color: primaryColor,
|
|
4623
4625
|
marginRight: '1rem'
|
|
4624
4626
|
}
|
|
4625
|
-
}), (customerData === null || customerData === void 0 ? void 0 : (_customerData$
|
|
4627
|
+
}), (customerData === null || customerData === void 0 ? void 0 : (_customerData$custome3 = customerData.customerDto) === null || _customerData$custome3 === void 0 ? void 0 : _customerData$custome3.salesRepresentativePhone) || 'N/A')), /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
4626
4628
|
item: true,
|
|
4627
4629
|
xs: 12,
|
|
4628
4630
|
md: 6,
|
|
@@ -4641,7 +4643,7 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
4641
4643
|
color: primaryColor,
|
|
4642
4644
|
marginRight: '1rem'
|
|
4643
4645
|
}
|
|
4644
|
-
}), (customerData === null || customerData === void 0 ? void 0 : (_customerData$
|
|
4646
|
+
}), (customerData === null || customerData === void 0 ? void 0 : (_customerData$custome4 = customerData.customerDto) === null || _customerData$custome4 === void 0 ? void 0 : _customerData$custome4.salesRepresentativeEmail) || 'N/A'))))))), /*#__PURE__*/React__default.createElement(TotalRoot, null, /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
4645
4647
|
container: true,
|
|
4646
4648
|
spacing: 4
|
|
4647
4649
|
}, totalDataSource === null || totalDataSource === void 0 ? void 0 : totalDataSource.map(function (data) {
|
|
@@ -4944,16 +4946,73 @@ var SideMenu = function SideMenu(props) {
|
|
|
4944
4946
|
}));
|
|
4945
4947
|
};
|
|
4946
4948
|
|
|
4947
|
-
var _templateObject$e, _templateObject2$c
|
|
4949
|
+
var _templateObject$e, _templateObject2$c;
|
|
4950
|
+
function MuiSelect(_ref) {
|
|
4951
|
+
var label = _ref.label,
|
|
4952
|
+
onChange = _ref.onChange,
|
|
4953
|
+
defaultValue = _ref.defaultValue,
|
|
4954
|
+
options = _ref.options,
|
|
4955
|
+
valueKey = _ref.valueKey,
|
|
4956
|
+
_ref$labelKey = _ref.labelKey,
|
|
4957
|
+
labelKey = _ref$labelKey === void 0 ? 'name' : _ref$labelKey,
|
|
4958
|
+
addNone = _ref.addNone,
|
|
4959
|
+
fontColor = _ref.fontColor;
|
|
4960
|
+
var _React$useState = React.useState(defaultValue),
|
|
4961
|
+
value = _React$useState[0],
|
|
4962
|
+
setValue = _React$useState[1];
|
|
4963
|
+
var handleChange = function handleChange(e) {
|
|
4964
|
+
setValue(e.target.value);
|
|
4965
|
+
onChange && onChange(e.target.value);
|
|
4966
|
+
};
|
|
4967
|
+
return /*#__PURE__*/React.createElement(FormControl, {
|
|
4968
|
+
sx: {
|
|
4969
|
+
m: 1,
|
|
4970
|
+
minWidth: 160
|
|
4971
|
+
},
|
|
4972
|
+
size: "small"
|
|
4973
|
+
}, /*#__PURE__*/React.createElement(InputContainer, {
|
|
4974
|
+
id: "demo-select-small",
|
|
4975
|
+
fontColor: fontColor
|
|
4976
|
+
}, label), /*#__PURE__*/React.createElement(SelectContainer, {
|
|
4977
|
+
labelId: "demo-select-small",
|
|
4978
|
+
id: "demo-select-small",
|
|
4979
|
+
value: value,
|
|
4980
|
+
label: label,
|
|
4981
|
+
onChange: handleChange,
|
|
4982
|
+
fontColor: fontColor
|
|
4983
|
+
}, addNone && /*#__PURE__*/React.createElement(MenuItem, {
|
|
4984
|
+
value: ""
|
|
4985
|
+
}, /*#__PURE__*/React.createElement("em", null, "None")), options === null || options === void 0 ? void 0 : options.map(function (data) {
|
|
4986
|
+
return /*#__PURE__*/React.createElement(MenuItem, {
|
|
4987
|
+
value: valueKey ? data[valueKey] : data
|
|
4988
|
+
}, data[labelKey]);
|
|
4989
|
+
})));
|
|
4990
|
+
}
|
|
4991
|
+
var SelectContainer = styled(Select$1)(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n svg,\n input {\n color: ", " !important;\n }\n fieldset {\n border-color: ", " !important;\n }\n"])), function (props) {
|
|
4992
|
+
return props.fontColor;
|
|
4993
|
+
}, function (props) {
|
|
4994
|
+
return props.fontColor;
|
|
4995
|
+
}, function (props) {
|
|
4996
|
+
return props.fontColor;
|
|
4997
|
+
});
|
|
4998
|
+
var InputContainer = styled(InputLabel)(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
|
|
4999
|
+
return props.fontColor;
|
|
5000
|
+
});
|
|
5001
|
+
|
|
5002
|
+
var _templateObject$f, _templateObject2$d, _templateObject3$b, _templateObject4$9;
|
|
4948
5003
|
var Statement = function Statement(_ref) {
|
|
5004
|
+
var _customerData$custome3, _customerData$custome4;
|
|
4949
5005
|
var apiEndPoint = _ref.apiEndPoint,
|
|
4950
5006
|
serviceApiEndPoint = _ref.serviceApiEndPoint,
|
|
4951
5007
|
token = _ref.token,
|
|
4952
5008
|
primaryColor = _ref.primaryColor,
|
|
4953
5009
|
secondaryColor = _ref.secondaryColor,
|
|
4954
5010
|
backgroundColor = _ref.backgroundColor,
|
|
4955
|
-
fontColor = _ref.fontColor
|
|
5011
|
+
fontColor = _ref.fontColor,
|
|
5012
|
+
_ref$storeIdList = _ref.storeIdList,
|
|
5013
|
+
storeIdList = _ref$storeIdList === void 0 ? '1,2,46,47,48,49,50,51,52,53,54' : _ref$storeIdList;
|
|
4956
5014
|
var _useState = React.useState({}),
|
|
5015
|
+
customerData = _useState[0],
|
|
4957
5016
|
setCustomerData = _useState[1];
|
|
4958
5017
|
var _useState2 = React.useState({
|
|
4959
5018
|
startDate: getUTCTime$1({
|
|
@@ -4963,14 +5022,13 @@ var Statement = function Statement(_ref) {
|
|
|
4963
5022
|
time: moment$1().endOf('month')
|
|
4964
5023
|
})
|
|
4965
5024
|
}),
|
|
4966
|
-
|
|
4967
|
-
|
|
5025
|
+
queryParams = _useState2[0],
|
|
5026
|
+
setQueryParams = _useState2[1];
|
|
4968
5027
|
var _useState3 = React.useState(getRandomString()),
|
|
4969
5028
|
triggerTableData = _useState3[0],
|
|
4970
5029
|
setTriggerTableData = _useState3[1];
|
|
4971
|
-
|
|
4972
5030
|
var onDateChange = function onDateChange(data) {
|
|
4973
|
-
|
|
5031
|
+
setQueryParams({
|
|
4974
5032
|
startDate: getUTCTime$1({
|
|
4975
5033
|
time: data === null || data === void 0 ? void 0 : data.startDate
|
|
4976
5034
|
}),
|
|
@@ -4980,6 +5038,12 @@ var Statement = function Statement(_ref) {
|
|
|
4980
5038
|
});
|
|
4981
5039
|
setTriggerTableData(getRandomString());
|
|
4982
5040
|
};
|
|
5041
|
+
var onChangeStore = function onChangeStore(data) {
|
|
5042
|
+
setQueryParams(_extends({}, queryParams, {
|
|
5043
|
+
customerStoreIds: data
|
|
5044
|
+
}));
|
|
5045
|
+
setTriggerTableData(getRandomString());
|
|
5046
|
+
};
|
|
4983
5047
|
var columns = [{
|
|
4984
5048
|
id: 'date',
|
|
4985
5049
|
label: 'Date',
|
|
@@ -5036,19 +5100,20 @@ var Statement = function Statement(_ref) {
|
|
|
5036
5100
|
})();
|
|
5037
5101
|
}, []);
|
|
5038
5102
|
var print = function print() {
|
|
5039
|
-
var location = "/cusomter/statement?token=" + token + "&startDate=" +
|
|
5103
|
+
var location = "/cusomter/statement?token=" + token + "&startDate=" + queryParams.startDate + "&endDate=" + queryParams.endDate;
|
|
5040
5104
|
var pdfUrl = "" + serviceApiEndPoint + location;
|
|
5041
5105
|
var w = window.open(pdfUrl);
|
|
5042
5106
|
w.print();
|
|
5043
5107
|
};
|
|
5044
5108
|
var getStatementAPIData = function getStatementAPIData(_ref2) {
|
|
5045
|
-
var
|
|
5109
|
+
var params = _ref2.params;
|
|
5046
5110
|
try {
|
|
5111
|
+
var _customerData$custome, _customerData$custome2;
|
|
5047
5112
|
return Promise.resolve(API({
|
|
5048
|
-
url: "/ecommerce/customer/report/statement?customerStoreIds=
|
|
5113
|
+
url: "/ecommerce/customer/report/statement?customerStoreIds=" + ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.customerStoreIds) || (customerData === null || customerData === void 0 ? void 0 : (_customerData$custome = customerData.customerStoreDtoList) === null || _customerData$custome === void 0 ? void 0 : (_customerData$custome2 = _customerData$custome[0]) === null || _customerData$custome2 === void 0 ? void 0 : _customerData$custome2.id)) + "&storeIds=" + storeIdList + "&page=0&size=20",
|
|
5049
5114
|
apiEndPoint: apiEndPoint,
|
|
5050
5115
|
token: token,
|
|
5051
|
-
queryParams: _extends({},
|
|
5116
|
+
queryParams: _extends({}, params, queryParams)
|
|
5052
5117
|
})).then(function (data) {
|
|
5053
5118
|
return data === null || data === void 0 ? void 0 : data.customerDetailedStatementReportDtoList;
|
|
5054
5119
|
});
|
|
@@ -5058,9 +5123,9 @@ var Statement = function Statement(_ref) {
|
|
|
5058
5123
|
};
|
|
5059
5124
|
return /*#__PURE__*/React__default.createElement(Root$3, {
|
|
5060
5125
|
backgroundColor: backgroundColor
|
|
5061
|
-
}, /*#__PURE__*/React__default.createElement(TableContainer$1, null, /*#__PURE__*/React__default.createElement(APITable, {
|
|
5126
|
+
}, /*#__PURE__*/React__default.createElement(TableContainer$1, null, !lodash.isEmpty(customerData) && /*#__PURE__*/React__default.createElement(APITable, {
|
|
5062
5127
|
cacheFilters: true,
|
|
5063
|
-
extraFilterParams:
|
|
5128
|
+
extraFilterParams: queryParams,
|
|
5064
5129
|
tableHeaderContent: /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
5065
5130
|
container: true,
|
|
5066
5131
|
justifyContent: "space-between",
|
|
@@ -5093,6 +5158,17 @@ var Statement = function Statement(_ref) {
|
|
|
5093
5158
|
alignItems: "center"
|
|
5094
5159
|
}, /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
5095
5160
|
item: true
|
|
5161
|
+
}, /*#__PURE__*/React__default.createElement(MuiSelect, {
|
|
5162
|
+
label: "Select Store",
|
|
5163
|
+
defaultValue: customerData === null || customerData === void 0 ? void 0 : (_customerData$custome3 = customerData.customerStoreDtoList) === null || _customerData$custome3 === void 0 ? void 0 : (_customerData$custome4 = _customerData$custome3[0]) === null || _customerData$custome4 === void 0 ? void 0 : _customerData$custome4.id,
|
|
5164
|
+
onChange: onChangeStore,
|
|
5165
|
+
options: (customerData === null || customerData === void 0 ? void 0 : customerData.customerStoreDtoList) || [],
|
|
5166
|
+
valueKey: "id",
|
|
5167
|
+
labelKey: "storeName",
|
|
5168
|
+
fontColor: fontColor,
|
|
5169
|
+
primaryColor: primaryColor
|
|
5170
|
+
})), /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
5171
|
+
item: true
|
|
5096
5172
|
}, /*#__PURE__*/React__default.createElement(DateRangePicker, {
|
|
5097
5173
|
fontColor: fontColor,
|
|
5098
5174
|
primaryColor: primaryColor,
|
|
@@ -5115,14 +5191,14 @@ var Statement = function Statement(_ref) {
|
|
|
5115
5191
|
fontColor: fontColor
|
|
5116
5192
|
})));
|
|
5117
5193
|
};
|
|
5118
|
-
var Root$3 = styled.div(_templateObject$
|
|
5119
|
-
var TypographyContainer$1 = styled(material.Typography)(_templateObject2$
|
|
5194
|
+
var Root$3 = styled.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose([""])));
|
|
5195
|
+
var TypographyContainer$1 = styled(material.Typography)(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n // font-family: Poppins !important;\n"])), function (props) {
|
|
5120
5196
|
return props.fontColor;
|
|
5121
5197
|
});
|
|
5122
5198
|
var StatusContainer$1 = styled(material.Grid)(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n display: initial;\n box-shadow: 0px 0px 1px 0px;\n padding: 2px 4px;\n"])));
|
|
5123
5199
|
var TableContainer$1 = styled.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n border-radius: 12px;\n"])));
|
|
5124
5200
|
|
|
5125
|
-
var _templateObject$
|
|
5201
|
+
var _templateObject$g, _templateObject2$e, _templateObject3$c;
|
|
5126
5202
|
var drawerWidth = 280;
|
|
5127
5203
|
var AccountDetails = function AccountDetails(_ref) {
|
|
5128
5204
|
var _ref$apiEndPoint = _ref.apiEndPoint,
|
|
@@ -5136,7 +5212,8 @@ var AccountDetails = function AccountDetails(_ref) {
|
|
|
5136
5212
|
fontColor = _ref.fontColor,
|
|
5137
5213
|
backgroundImage = _ref.backgroundImage,
|
|
5138
5214
|
darkMode = _ref.darkMode,
|
|
5139
|
-
onChangeColors = _ref.onChangeColors
|
|
5215
|
+
onChangeColors = _ref.onChangeColors,
|
|
5216
|
+
storeIdList = _ref.storeIdList;
|
|
5140
5217
|
var serviceApiEndPoint = 'https://dev.salesgent.xyz/api'.replace('/api', '/services/pdf');
|
|
5141
5218
|
var isMobile = useMediaQuery('(max-width:800px)');
|
|
5142
5219
|
var _useState = React.useState(true),
|
|
@@ -5154,7 +5231,7 @@ var AccountDetails = function AccountDetails(_ref) {
|
|
|
5154
5231
|
}),
|
|
5155
5232
|
colors = _useState3[0],
|
|
5156
5233
|
setColors = _useState3[1];
|
|
5157
|
-
var _useState4 = React.useState('
|
|
5234
|
+
var _useState4 = React.useState('Statement'),
|
|
5158
5235
|
tabValue = _useState4[0],
|
|
5159
5236
|
setTabValue = _useState4[1];
|
|
5160
5237
|
var onTabChange = function onTabChange(data) {
|
|
@@ -5204,7 +5281,8 @@ var AccountDetails = function AccountDetails(_ref) {
|
|
|
5204
5281
|
primaryColor: colors.primaryColor,
|
|
5205
5282
|
secondaryColor: colors.secondaryColor,
|
|
5206
5283
|
backgroundColor: colors.backgroundColor,
|
|
5207
|
-
fontColor: colors.fontColor
|
|
5284
|
+
fontColor: colors.fontColor,
|
|
5285
|
+
storeIdList: storeIdList
|
|
5208
5286
|
});
|
|
5209
5287
|
|
|
5210
5288
|
case 'Statement':
|
|
@@ -5215,7 +5293,8 @@ var AccountDetails = function AccountDetails(_ref) {
|
|
|
5215
5293
|
primaryColor: colors.primaryColor,
|
|
5216
5294
|
secondaryColor: colors.secondaryColor,
|
|
5217
5295
|
backgroundColor: colors.backgroundColor,
|
|
5218
|
-
fontColor: colors.fontColor
|
|
5296
|
+
fontColor: colors.fontColor,
|
|
5297
|
+
storeIdList: storeIdList
|
|
5219
5298
|
});
|
|
5220
5299
|
|
|
5221
5300
|
default:
|
|
@@ -5294,7 +5373,7 @@ var AccountDetails = function AccountDetails(_ref) {
|
|
|
5294
5373
|
}
|
|
5295
5374
|
}, isNightMode ? /*#__PURE__*/React__default.createElement(md.MdDarkMode, null) : /*#__PURE__*/React__default.createElement(md.MdOutlineDarkMode, null)))), /*#__PURE__*/React__default.createElement("div", null, apiEndPoint && token && renderListItemComponent())))));
|
|
5296
5375
|
};
|
|
5297
|
-
var Root$4 = styled(material.Box)(_templateObject$
|
|
5376
|
+
var Root$4 = styled(material.Box)(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["\n background-image: url(", ");\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n padding: 2rem;\n"])), function (props) {
|
|
5298
5377
|
return props.backgroundImage;
|
|
5299
5378
|
});
|
|
5300
5379
|
var Main = styles.styled('main', {
|
|
@@ -5325,7 +5404,7 @@ var Main = styles.styled('main', {
|
|
|
5325
5404
|
overflow: 'auto'
|
|
5326
5405
|
});
|
|
5327
5406
|
});
|
|
5328
|
-
var ContainerDrawer = styled(material.Drawer)(_templateObject2$
|
|
5407
|
+
var ContainerDrawer = styled(material.Drawer)(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose(["\n height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n position: relative;\n width: 280px;\n z-index: 1;\n overflow: hidden;\n border-top-right-radius: 12px;\n background: transparent;\n }\n"])), function (props) {
|
|
5329
5408
|
return props.open && '2rem';
|
|
5330
5409
|
});
|
|
5331
5410
|
var TypographyContainer$2 = styled(material.Typography)(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n // font-family: Poppins !important;\n"])), function (props) {
|