@natoora-libs/core 0.2.21 → 0.2.22-task-management
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/components/index.js
CHANGED
|
@@ -1141,12 +1141,15 @@ var AutocompleteFilterMenuContent = ({
|
|
|
1141
1141
|
|
|
1142
1142
|
// src/components/BackHeader/BackHeader.tsx
|
|
1143
1143
|
import { useNavigate } from "react-router";
|
|
1144
|
-
import
|
|
1144
|
+
import KeyboardBackspace from "@mui/icons-material/KeyboardBackspace";
|
|
1145
1145
|
import { Box as Box9, Button as Button6, Typography as Typography6 } from "@mui/material";
|
|
1146
1146
|
import { makeStyles as makeStyles4 } from "tss-react/mui";
|
|
1147
1147
|
import { jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1148
1148
|
var useStyles4 = makeStyles4()((theme) => ({
|
|
1149
1149
|
header: {
|
|
1150
|
+
display: "flex",
|
|
1151
|
+
alignItems: "center",
|
|
1152
|
+
justifyContent: "space-between",
|
|
1150
1153
|
padding: theme.spacing(2, 3),
|
|
1151
1154
|
borderBottom: `1px solid ${colors.neutral400}`,
|
|
1152
1155
|
backgroundColor: colors.neutral100
|
|
@@ -1167,7 +1170,11 @@ var useStyles4 = makeStyles4()((theme) => ({
|
|
|
1167
1170
|
textTransform: "none"
|
|
1168
1171
|
}
|
|
1169
1172
|
}));
|
|
1170
|
-
var BackHeader = ({
|
|
1173
|
+
var BackHeader = ({
|
|
1174
|
+
appName,
|
|
1175
|
+
onGoBackClick,
|
|
1176
|
+
sideComponent = null
|
|
1177
|
+
}) => {
|
|
1171
1178
|
const { classes } = useStyles4();
|
|
1172
1179
|
const navigate = useNavigate();
|
|
1173
1180
|
const handleBackClick = () => {
|
|
@@ -1176,10 +1183,13 @@ var BackHeader = ({ appName, onGoBackClick }) => {
|
|
|
1176
1183
|
}
|
|
1177
1184
|
return navigate(-1);
|
|
1178
1185
|
};
|
|
1179
|
-
return /* @__PURE__ */
|
|
1180
|
-
/* @__PURE__ */ jsx13(
|
|
1181
|
-
|
|
1182
|
-
|
|
1186
|
+
return /* @__PURE__ */ jsxs9(Box9, { component: "header", className: classes.header, children: [
|
|
1187
|
+
/* @__PURE__ */ jsx13(Button6, { className: classes.button, onClick: handleBackClick, children: /* @__PURE__ */ jsxs9(Box9, { component: "span", className: classes.text, children: [
|
|
1188
|
+
/* @__PURE__ */ jsx13(KeyboardBackspace, { className: classes.icon }),
|
|
1189
|
+
/* @__PURE__ */ jsx13(Typography6, { variant: "body1", color: "textPrimary", children: appName })
|
|
1190
|
+
] }) }),
|
|
1191
|
+
sideComponent
|
|
1192
|
+
] });
|
|
1183
1193
|
};
|
|
1184
1194
|
var BackHeader_default = BackHeader;
|
|
1185
1195
|
|
|
@@ -3673,29 +3683,41 @@ var ClearFiltersConfirmationDialog = ({
|
|
|
3673
3683
|
};
|
|
3674
3684
|
|
|
3675
3685
|
// src/components/CompanyLogo/CompanyLogo.tsx
|
|
3686
|
+
import { makeStyles as makeStyles15 } from "tss-react/mui";
|
|
3676
3687
|
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
3688
|
+
var useStyles15 = makeStyles15()((theme, { imageLogoDarkSmall, imageLogoLightSmall }) => ({
|
|
3689
|
+
logoSmall: {
|
|
3690
|
+
height: 46,
|
|
3691
|
+
width: 112
|
|
3692
|
+
},
|
|
3693
|
+
logoMedium: {
|
|
3694
|
+
height: 72,
|
|
3695
|
+
width: 160
|
|
3696
|
+
},
|
|
3697
|
+
logoDark: {
|
|
3698
|
+
backgroundImage: `url(${imageLogoDarkSmall})`
|
|
3699
|
+
},
|
|
3700
|
+
logoLight: {
|
|
3701
|
+
backgroundImage: `url(${imageLogoLightSmall})`
|
|
3702
|
+
}
|
|
3703
|
+
}));
|
|
3677
3704
|
var CompanyLogo = ({
|
|
3678
3705
|
size,
|
|
3679
3706
|
color,
|
|
3680
3707
|
imageLogoDarkSmall,
|
|
3681
3708
|
imageLogoLightSmall
|
|
3682
3709
|
}) => {
|
|
3683
|
-
const
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
style: {
|
|
3695
|
-
display: "block"
|
|
3696
|
-
}
|
|
3697
|
-
}
|
|
3698
|
-
);
|
|
3710
|
+
const { classes, cx } = useStyles15({
|
|
3711
|
+
imageLogoDarkSmall,
|
|
3712
|
+
imageLogoLightSmall
|
|
3713
|
+
});
|
|
3714
|
+
const className = cx({
|
|
3715
|
+
[classes.logoSmall]: size === "small",
|
|
3716
|
+
[classes.logoMedium]: size === "medium",
|
|
3717
|
+
[classes.logoLight]: color === "light",
|
|
3718
|
+
[classes.logoDark]: color === "dark"
|
|
3719
|
+
});
|
|
3720
|
+
return /* @__PURE__ */ jsx76("div", { className });
|
|
3699
3721
|
};
|
|
3700
3722
|
var CompanyLogo_default = CompanyLogo;
|
|
3701
3723
|
|
|
@@ -3748,9 +3770,9 @@ var ControlledCheckbox_default = ControlledCheckbox;
|
|
|
3748
3770
|
// src/components/ControlledNumberInput/ControlledNumberInput.tsx
|
|
3749
3771
|
import { Controller as Controller2 } from "react-hook-form";
|
|
3750
3772
|
import { TextField as TextField2 } from "@mui/material";
|
|
3751
|
-
import { makeStyles as
|
|
3773
|
+
import { makeStyles as makeStyles16 } from "tss-react/mui";
|
|
3752
3774
|
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
3753
|
-
var
|
|
3775
|
+
var useStyles16 = makeStyles16()(() => ({
|
|
3754
3776
|
selectInput: {
|
|
3755
3777
|
minWidth: 122
|
|
3756
3778
|
}
|
|
@@ -3766,7 +3788,7 @@ var ControlledNumberInput = ({
|
|
|
3766
3788
|
shrink = false,
|
|
3767
3789
|
className
|
|
3768
3790
|
}) => {
|
|
3769
|
-
const { classes } =
|
|
3791
|
+
const { classes } = useStyles16();
|
|
3770
3792
|
const blockInvalidChar = (input) => ![
|
|
3771
3793
|
"0",
|
|
3772
3794
|
"1",
|
|
@@ -3832,10 +3854,10 @@ import {
|
|
|
3832
3854
|
InputAdornment as InputAdornment2,
|
|
3833
3855
|
TextField as TextField3
|
|
3834
3856
|
} from "@mui/material";
|
|
3835
|
-
import { makeStyles as
|
|
3857
|
+
import { makeStyles as makeStyles17 } from "tss-react/mui";
|
|
3836
3858
|
import { jsx as jsx79, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3837
3859
|
var convertUnderscoreToHyphen = (str) => str.replace(/_/g, "-");
|
|
3838
|
-
var
|
|
3860
|
+
var useStyles17 = makeStyles17()((theme) => ({
|
|
3839
3861
|
textFieldButtons: {
|
|
3840
3862
|
display: "flex",
|
|
3841
3863
|
flexDirection: "column",
|
|
@@ -3863,7 +3885,7 @@ var ControlledNumericField = ({
|
|
|
3863
3885
|
"data-testid": dataTestId,
|
|
3864
3886
|
fieldName
|
|
3865
3887
|
}) => {
|
|
3866
|
-
const { classes } =
|
|
3888
|
+
const { classes } = useStyles17();
|
|
3867
3889
|
const isLowerThanMinimum = (value) => min !== void 0 && min > value;
|
|
3868
3890
|
const isGreaterThanMaximum = (value) => max !== void 0 && max < value;
|
|
3869
3891
|
const handleChange = (field, value) => {
|
|
@@ -4015,9 +4037,9 @@ var ControlledNumericField_default = ControlledNumericField;
|
|
|
4015
4037
|
// src/components/ControlledSelectWithArray/ControlledSelectWithArray.tsx
|
|
4016
4038
|
import { Controller as Controller4 } from "react-hook-form";
|
|
4017
4039
|
import { FormControl, FormHelperText, InputLabel, Select } from "@mui/material";
|
|
4018
|
-
import { makeStyles as
|
|
4040
|
+
import { makeStyles as makeStyles18 } from "tss-react/mui";
|
|
4019
4041
|
import { jsx as jsx80, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
4020
|
-
var
|
|
4042
|
+
var useStyles18 = makeStyles18()(() => ({
|
|
4021
4043
|
selectInput: {
|
|
4022
4044
|
minWidth: 122
|
|
4023
4045
|
}
|
|
@@ -4032,7 +4054,7 @@ var ControlledSelectWithArray = ({
|
|
|
4032
4054
|
className,
|
|
4033
4055
|
revalidateFormFunction
|
|
4034
4056
|
}) => {
|
|
4035
|
-
const { classes } =
|
|
4057
|
+
const { classes } = useStyles18();
|
|
4036
4058
|
return /* @__PURE__ */ jsx80(
|
|
4037
4059
|
Controller4,
|
|
4038
4060
|
{
|
|
@@ -4084,9 +4106,9 @@ var ControlledSelectWithArray_default = ControlledSelectWithArray;
|
|
|
4084
4106
|
// src/components/ControlledSelectWithObject/ControlledSelectWithObject.tsx
|
|
4085
4107
|
import { Controller as Controller5 } from "react-hook-form";
|
|
4086
4108
|
import { FormControl as FormControl2, FormHelperText as FormHelperText2, InputLabel as InputLabel2, Select as Select2 } from "@mui/material";
|
|
4087
|
-
import { makeStyles as
|
|
4109
|
+
import { makeStyles as makeStyles19 } from "tss-react/mui";
|
|
4088
4110
|
import { jsx as jsx81, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
4089
|
-
var
|
|
4111
|
+
var useStyles19 = makeStyles19()(() => ({
|
|
4090
4112
|
selectInput: {
|
|
4091
4113
|
minWidth: 122
|
|
4092
4114
|
}
|
|
@@ -4102,7 +4124,7 @@ var ControlledSelectWithObject = ({
|
|
|
4102
4124
|
listToDisableFromOptions = [],
|
|
4103
4125
|
revalidateFormFunction
|
|
4104
4126
|
}) => {
|
|
4105
|
-
const { classes } =
|
|
4127
|
+
const { classes } = useStyles19();
|
|
4106
4128
|
return /* @__PURE__ */ jsx81(
|
|
4107
4129
|
Controller5,
|
|
4108
4130
|
{
|
|
@@ -4165,9 +4187,9 @@ import {
|
|
|
4165
4187
|
} from "react-hook-form";
|
|
4166
4188
|
import { Box as Box17, TextField as TextField4 } from "@mui/material";
|
|
4167
4189
|
import classNames from "classnames";
|
|
4168
|
-
import { makeStyles as
|
|
4190
|
+
import { makeStyles as makeStyles20 } from "tss-react/mui";
|
|
4169
4191
|
import { jsx as jsx82, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
4170
|
-
var
|
|
4192
|
+
var useStyles20 = makeStyles20()(() => ({
|
|
4171
4193
|
fullWidthWrapper: {
|
|
4172
4194
|
maxWidth: "100%"
|
|
4173
4195
|
},
|
|
@@ -4193,7 +4215,7 @@ var ControlledValidTextInput = ({
|
|
|
4193
4215
|
updateCustomerData,
|
|
4194
4216
|
customHandleBlurValidationAndSubmit
|
|
4195
4217
|
}) => {
|
|
4196
|
-
const { classes } =
|
|
4218
|
+
const { classes } = useStyles20();
|
|
4197
4219
|
const defaultHandleBlurValidationAndSubmit = async ({ name, value, onChange }, isDirty) => {
|
|
4198
4220
|
const trimmedValue = value?.trim();
|
|
4199
4221
|
if (value !== trimmedValue) {
|
|
@@ -4276,9 +4298,9 @@ var ControlledValidTextInput_default = ControlledValidTextInput;
|
|
|
4276
4298
|
import { useState as useState4 } from "react";
|
|
4277
4299
|
import { Paper as Paper2, Skeleton as Skeleton3 } from "@mui/material";
|
|
4278
4300
|
import { DataGrid as MUIDataGrid } from "@mui/x-data-grid";
|
|
4279
|
-
import { makeStyles as
|
|
4301
|
+
import { makeStyles as makeStyles21 } from "tss-react/mui";
|
|
4280
4302
|
import { Fragment as Fragment3, jsx as jsx83, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
4281
|
-
var
|
|
4303
|
+
var useStyles21 = makeStyles21()(() => ({
|
|
4282
4304
|
root: {
|
|
4283
4305
|
justifyContent: "space-between",
|
|
4284
4306
|
display: "flex",
|
|
@@ -4315,7 +4337,7 @@ var DataGrid = ({
|
|
|
4315
4337
|
height,
|
|
4316
4338
|
children
|
|
4317
4339
|
}) => {
|
|
4318
|
-
const { classes } =
|
|
4340
|
+
const { classes } = useStyles21();
|
|
4319
4341
|
const [sortModel, setSortModel] = useState4([
|
|
4320
4342
|
{
|
|
4321
4343
|
field: sortField || "id",
|
|
@@ -4456,9 +4478,9 @@ var Date_default = Date;
|
|
|
4456
4478
|
// src/components/DeleteSubstitutionDialogContent/DeleteSubstitutionDialogContent.tsx
|
|
4457
4479
|
import { memo as memo10 } from "react";
|
|
4458
4480
|
import { Alert as Alert2, AlertTitle as AlertTitle2, Typography as Typography12, Box as Box18 } from "@mui/material";
|
|
4459
|
-
import { makeStyles as
|
|
4481
|
+
import { makeStyles as makeStyles22 } from "tss-react/mui";
|
|
4460
4482
|
import { Fragment as Fragment4, jsx as jsx85, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
4461
|
-
var
|
|
4483
|
+
var useStyles22 = makeStyles22()(() => ({
|
|
4462
4484
|
alert: { marginBottom: 16 },
|
|
4463
4485
|
bottomBar: {
|
|
4464
4486
|
marginTop: "12px",
|
|
@@ -4474,7 +4496,7 @@ var DeleteSubstitutionDialogContent = ({
|
|
|
4474
4496
|
substitutionName,
|
|
4475
4497
|
deleteSubstitution
|
|
4476
4498
|
}) => {
|
|
4477
|
-
const { classes } =
|
|
4499
|
+
const { classes } = useStyles22();
|
|
4478
4500
|
return /* @__PURE__ */ jsxs50(Fragment4, { children: [
|
|
4479
4501
|
/* @__PURE__ */ jsxs50(Alert2, { severity: "warning", className: classes.alert, children: [
|
|
4480
4502
|
/* @__PURE__ */ jsxs50(AlertTitle2, { children: [
|
|
@@ -4504,9 +4526,9 @@ var DeleteSubstitutionDialogContent_default = memo10(DeleteSubstitutionDialogCon
|
|
|
4504
4526
|
// src/components/DeleteUserDialogContent/DeleteUserDialogContent.tsx
|
|
4505
4527
|
import { memo as memo11 } from "react";
|
|
4506
4528
|
import { Alert as Alert3, AlertTitle as AlertTitle3, Typography as Typography13, Box as Box19 } from "@mui/material";
|
|
4507
|
-
import { makeStyles as
|
|
4529
|
+
import { makeStyles as makeStyles23 } from "tss-react/mui";
|
|
4508
4530
|
import { Fragment as Fragment5, jsx as jsx86, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
4509
|
-
var
|
|
4531
|
+
var useStyles23 = makeStyles23()(() => ({
|
|
4510
4532
|
alert: { marginBottom: 16 },
|
|
4511
4533
|
bottomBar: {
|
|
4512
4534
|
marginTop: "12px",
|
|
@@ -4522,7 +4544,7 @@ var DeleteUserDialogContent = ({
|
|
|
4522
4544
|
userName,
|
|
4523
4545
|
deleteUser
|
|
4524
4546
|
}) => {
|
|
4525
|
-
const { classes } =
|
|
4547
|
+
const { classes } = useStyles23();
|
|
4526
4548
|
return /* @__PURE__ */ jsxs51(Fragment5, { children: [
|
|
4527
4549
|
/* @__PURE__ */ jsxs51(Alert3, { severity: "warning", className: classes.alert, children: [
|
|
4528
4550
|
/* @__PURE__ */ jsxs51(AlertTitle3, { children: [
|
|
@@ -4612,9 +4634,9 @@ var FileCard_default = FileCard;
|
|
|
4612
4634
|
import { memo as memo12 } from "react";
|
|
4613
4635
|
import { Typography as Typography15 } from "@mui/material";
|
|
4614
4636
|
import { brown, teal } from "@mui/material/colors";
|
|
4615
|
-
import { makeStyles as
|
|
4637
|
+
import { makeStyles as makeStyles24 } from "tss-react/mui";
|
|
4616
4638
|
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
4617
|
-
var
|
|
4639
|
+
var useStyles24 = makeStyles24()((theme) => ({
|
|
4618
4640
|
siteOne: {
|
|
4619
4641
|
backgroundColor: teal["50"],
|
|
4620
4642
|
color: teal["500"],
|
|
@@ -4640,7 +4662,7 @@ var useStyles23 = makeStyles23()((theme) => ({
|
|
|
4640
4662
|
}));
|
|
4641
4663
|
var FilledLabel = (props) => {
|
|
4642
4664
|
const { color, copy } = props;
|
|
4643
|
-
const { classes } =
|
|
4665
|
+
const { classes } = useStyles24();
|
|
4644
4666
|
return /* @__PURE__ */ jsx88(Typography15, { variant: "caption", className: classes[color], children: copy });
|
|
4645
4667
|
};
|
|
4646
4668
|
var FilledLabel_default = memo12(FilledLabel);
|
|
@@ -4656,9 +4678,9 @@ import {
|
|
|
4656
4678
|
ListItemText,
|
|
4657
4679
|
Divider as Divider4
|
|
4658
4680
|
} from "@mui/material";
|
|
4659
|
-
import { makeStyles as
|
|
4681
|
+
import { makeStyles as makeStyles25 } from "tss-react/mui";
|
|
4660
4682
|
import { Fragment as Fragment6, jsx as jsx89, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
4661
|
-
var
|
|
4683
|
+
var useStyles25 = makeStyles25()((theme) => ({
|
|
4662
4684
|
filterOptions: {
|
|
4663
4685
|
height: 450,
|
|
4664
4686
|
overflowY: "auto",
|
|
@@ -4686,7 +4708,7 @@ var FilterGroupSelector = ({
|
|
|
4686
4708
|
handleClickOnApply,
|
|
4687
4709
|
optionsList = [{ category: "Category", options: ["Option 1"] }]
|
|
4688
4710
|
}) => {
|
|
4689
|
-
const { classes } =
|
|
4711
|
+
const { classes } = useStyles25();
|
|
4690
4712
|
const [anchorEl, setAnchorEl] = useState5(null);
|
|
4691
4713
|
const [values, setValues] = useState5([]);
|
|
4692
4714
|
const open = Boolean(anchorEl);
|
|
@@ -4785,9 +4807,9 @@ import {
|
|
|
4785
4807
|
ListItemText as ListItemText2,
|
|
4786
4808
|
Divider as Divider5
|
|
4787
4809
|
} from "@mui/material";
|
|
4788
|
-
import { makeStyles as
|
|
4810
|
+
import { makeStyles as makeStyles26 } from "tss-react/mui";
|
|
4789
4811
|
import { Fragment as Fragment7, jsx as jsx90, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
4790
|
-
var
|
|
4812
|
+
var useStyles26 = makeStyles26()((theme) => ({
|
|
4791
4813
|
filterOptions: {
|
|
4792
4814
|
height: 450,
|
|
4793
4815
|
overflowY: "auto",
|
|
@@ -4814,7 +4836,7 @@ var FilterSimpleSelector = ({
|
|
|
4814
4836
|
setSelectedOptions,
|
|
4815
4837
|
handleClickOnApply
|
|
4816
4838
|
}) => {
|
|
4817
|
-
const { classes } =
|
|
4839
|
+
const { classes } = useStyles26();
|
|
4818
4840
|
const [anchorEl, setAnchorEl] = useState6(null);
|
|
4819
4841
|
const [values, setValues] = useState6([]);
|
|
4820
4842
|
const open = Boolean(anchorEl);
|
|
@@ -4893,10 +4915,10 @@ var FilterSimpleSelector_default = FilterSimpleSelector;
|
|
|
4893
4915
|
// src/components/FixedFooter/FixedFooter.tsx
|
|
4894
4916
|
import * as React4 from "react";
|
|
4895
4917
|
import { Box as Box23 } from "@mui/material";
|
|
4896
|
-
import { makeStyles as
|
|
4918
|
+
import { makeStyles as makeStyles27 } from "tss-react/mui";
|
|
4897
4919
|
import { jsx as jsx91, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
4898
4920
|
var footerHeight = "64px";
|
|
4899
|
-
var
|
|
4921
|
+
var useStyles27 = makeStyles27()((theme) => ({
|
|
4900
4922
|
root: {
|
|
4901
4923
|
position: "fixed",
|
|
4902
4924
|
bottom: 0,
|
|
@@ -4916,7 +4938,7 @@ var useStyles26 = makeStyles26()((theme) => ({
|
|
|
4916
4938
|
}
|
|
4917
4939
|
}));
|
|
4918
4940
|
var FixedFooter = ({ justifyContent, children }) => {
|
|
4919
|
-
const { classes } =
|
|
4941
|
+
const { classes } = useStyles27();
|
|
4920
4942
|
return /* @__PURE__ */ jsxs55(Box23, { children: [
|
|
4921
4943
|
/* @__PURE__ */ jsx91(Box23, { className: classes.fixedOffset }),
|
|
4922
4944
|
/* @__PURE__ */ jsx91(
|
|
@@ -4935,9 +4957,9 @@ var FixedFooter_default = React4.memo(FixedFooter);
|
|
|
4935
4957
|
|
|
4936
4958
|
// src/components/Header/Header.tsx
|
|
4937
4959
|
import { Paper as Paper3 } from "@mui/material";
|
|
4938
|
-
import { makeStyles as
|
|
4960
|
+
import { makeStyles as makeStyles28 } from "tss-react/mui";
|
|
4939
4961
|
import { jsx as jsx92, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4940
|
-
var
|
|
4962
|
+
var useStyles28 = makeStyles28()((theme) => ({
|
|
4941
4963
|
container: {
|
|
4942
4964
|
margin: theme.spacing(1)
|
|
4943
4965
|
},
|
|
@@ -4958,7 +4980,7 @@ var Header = ({
|
|
|
4958
4980
|
children = null,
|
|
4959
4981
|
wrappedHeader = false
|
|
4960
4982
|
}) => {
|
|
4961
|
-
const { classes, cx } =
|
|
4983
|
+
const { classes, cx } = useStyles28();
|
|
4962
4984
|
return /* @__PURE__ */ jsx92(
|
|
4963
4985
|
Paper3,
|
|
4964
4986
|
{
|
|
@@ -5010,9 +5032,9 @@ import { Fragment as Fragment9 } from "react";
|
|
|
5010
5032
|
import { Box as Box24, Chip as Chip4, Typography as Typography18 } from "@mui/material";
|
|
5011
5033
|
import { purple } from "@mui/material/colors";
|
|
5012
5034
|
import classNames2 from "classnames";
|
|
5013
|
-
import { makeStyles as
|
|
5035
|
+
import { makeStyles as makeStyles29 } from "tss-react/mui";
|
|
5014
5036
|
import { jsx as jsx94, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
5015
|
-
var
|
|
5037
|
+
var useStyles29 = makeStyles29()(() => ({
|
|
5016
5038
|
container: {
|
|
5017
5039
|
display: "flex",
|
|
5018
5040
|
alignItems: "center",
|
|
@@ -5047,7 +5069,7 @@ var LocationsSectionInfo = ({
|
|
|
5047
5069
|
isPicking,
|
|
5048
5070
|
isStock
|
|
5049
5071
|
}) => {
|
|
5050
|
-
const { classes } =
|
|
5072
|
+
const { classes } = useStyles29();
|
|
5051
5073
|
const getLocationLabel = () => {
|
|
5052
5074
|
if (isPicking && isStock) {
|
|
5053
5075
|
return "PICKING & STOCK";
|
|
@@ -5081,9 +5103,9 @@ var LocationsSectionInfo_default = LocationsSectionInfo;
|
|
|
5081
5103
|
// src/components/Notes/Notes.tsx
|
|
5082
5104
|
import { useEffect as useEffect4, useState as useState7 } from "react";
|
|
5083
5105
|
import { FormControl as FormControl3, Input, InputAdornment as InputAdornment3, InputLabel as InputLabel3 } from "@mui/material";
|
|
5084
|
-
import { makeStyles as
|
|
5106
|
+
import { makeStyles as makeStyles30 } from "tss-react/mui";
|
|
5085
5107
|
import { jsx as jsx95, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
5086
|
-
var
|
|
5108
|
+
var useStyles30 = makeStyles30()((theme) => ({
|
|
5087
5109
|
wrapper: {
|
|
5088
5110
|
padding: theme.spacing(3),
|
|
5089
5111
|
backgroundColor: colors.blueOpacity08
|
|
@@ -5124,7 +5146,7 @@ var Notes2 = ({
|
|
|
5124
5146
|
onChange(value);
|
|
5125
5147
|
}
|
|
5126
5148
|
};
|
|
5127
|
-
const { classes } =
|
|
5149
|
+
const { classes } = useStyles30();
|
|
5128
5150
|
return /* @__PURE__ */ jsx95("div", { className: classes.wrapper, children: /* @__PURE__ */ jsxs59(FormControl3, { fullWidth: true, children: [
|
|
5129
5151
|
/* @__PURE__ */ jsx95(InputLabel3, { htmlFor: "notes", children: "Notes" }),
|
|
5130
5152
|
/* @__PURE__ */ jsx95(
|
|
@@ -5307,9 +5329,9 @@ var Numpad_default = Numpad;
|
|
|
5307
5329
|
// src/components/NumpadInput/NumpadInput.tsx
|
|
5308
5330
|
import { memo as memo14, useState as useState8 } from "react";
|
|
5309
5331
|
import { TextField as TextField5, Typography as Typography19 } from "@mui/material";
|
|
5310
|
-
import { makeStyles as
|
|
5332
|
+
import { makeStyles as makeStyles31 } from "tss-react/mui";
|
|
5311
5333
|
import { jsx as jsx97, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
5312
|
-
var
|
|
5334
|
+
var useStyles31 = makeStyles31()(() => ({
|
|
5313
5335
|
c_numpadinput__textfield: {
|
|
5314
5336
|
"& .MuiInputLabel-outlined.MuiInputLabel-shrink": {
|
|
5315
5337
|
transform: "translate(18px, -13px) scale(0.75)"
|
|
@@ -5334,7 +5356,7 @@ var useStyles30 = makeStyles30()(() => ({
|
|
|
5334
5356
|
}));
|
|
5335
5357
|
var NumpadInput = (props) => {
|
|
5336
5358
|
const { handleNextClick, inputLabel, children } = props;
|
|
5337
|
-
const { classes } =
|
|
5359
|
+
const { classes } = useStyles31();
|
|
5338
5360
|
const [state, setState] = useState8("");
|
|
5339
5361
|
const handleNumpadClick = (value) => {
|
|
5340
5362
|
setState(state + value);
|
|
@@ -5385,9 +5407,9 @@ var NumpadInput_default = memo14(NumpadInput);
|
|
|
5385
5407
|
|
|
5386
5408
|
// src/components/NumpadPlus/NumpadPlus.tsx
|
|
5387
5409
|
import { Box as Box25 } from "@mui/material";
|
|
5388
|
-
import { makeStyles as
|
|
5410
|
+
import { makeStyles as makeStyles32 } from "tss-react/mui";
|
|
5389
5411
|
import { jsx as jsx98, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
5390
|
-
var
|
|
5412
|
+
var useStyles32 = makeStyles32()(() => ({
|
|
5391
5413
|
numpadContainer: {
|
|
5392
5414
|
display: "flex",
|
|
5393
5415
|
flexDirection: "row",
|
|
@@ -5417,7 +5439,7 @@ var useStyles31 = makeStyles31()(() => ({
|
|
|
5417
5439
|
}
|
|
5418
5440
|
}));
|
|
5419
5441
|
var NumpadPlus = ({ handleClick, handleUndo }) => {
|
|
5420
|
-
const { classes: styles } =
|
|
5442
|
+
const { classes: styles } = useStyles32();
|
|
5421
5443
|
return /* @__PURE__ */ jsxs62(Box25, { className: styles.numpadContainer, children: [
|
|
5422
5444
|
/* @__PURE__ */ jsxs62(Box25, { className: styles.numpadNumbersContainer, children: [
|
|
5423
5445
|
/* @__PURE__ */ jsxs62(Box25, { className: styles.numpadRow, children: [
|
|
@@ -5552,10 +5574,10 @@ var NumpadPlus_default = NumpadPlus;
|
|
|
5552
5574
|
|
|
5553
5575
|
// src/components/Pagination/Pagination.tsx
|
|
5554
5576
|
import { Pagination, Paper as Paper4, Typography as Typography20 } from "@mui/material";
|
|
5555
|
-
import { makeStyles as
|
|
5577
|
+
import { makeStyles as makeStyles33 } from "tss-react/mui";
|
|
5556
5578
|
import { jsx as jsx99, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
5557
5579
|
var paginationHeight = "56px";
|
|
5558
|
-
var
|
|
5580
|
+
var useStyles33 = makeStyles33()((theme) => ({
|
|
5559
5581
|
root: {
|
|
5560
5582
|
display: "flex",
|
|
5561
5583
|
flexDirection: "row",
|
|
@@ -5592,7 +5614,7 @@ var PaginationForTable = ({
|
|
|
5592
5614
|
style,
|
|
5593
5615
|
updateFilters
|
|
5594
5616
|
}) => {
|
|
5595
|
-
const { classes, cx } =
|
|
5617
|
+
const { classes, cx } = useStyles33();
|
|
5596
5618
|
const handleChange = (event, value) => {
|
|
5597
5619
|
updateFilters({ ...appliedFilters, page: value });
|
|
5598
5620
|
};
|
|
@@ -5687,9 +5709,9 @@ import {
|
|
|
5687
5709
|
TextField as TextField7,
|
|
5688
5710
|
Typography as Typography22
|
|
5689
5711
|
} from "@mui/material";
|
|
5690
|
-
import { makeStyles as
|
|
5712
|
+
import { makeStyles as makeStyles34 } from "tss-react/mui";
|
|
5691
5713
|
import { jsx as jsx101, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
5692
|
-
var
|
|
5714
|
+
var useStyles34 = makeStyles34()((theme) => ({
|
|
5693
5715
|
container: {
|
|
5694
5716
|
position: "relative",
|
|
5695
5717
|
/**
|
|
@@ -5830,7 +5852,7 @@ var PlusMinusInput = ({
|
|
|
5830
5852
|
}
|
|
5831
5853
|
updateInputValue(value);
|
|
5832
5854
|
};
|
|
5833
|
-
const { classes, cx } =
|
|
5855
|
+
const { classes, cx } = useStyles34();
|
|
5834
5856
|
return /* @__PURE__ */ jsx101("div", { className: classes.container, children: /* @__PURE__ */ jsxs65(
|
|
5835
5857
|
FormGroup,
|
|
5836
5858
|
{
|
|
@@ -6255,7 +6277,7 @@ import {
|
|
|
6255
6277
|
ListSubheader,
|
|
6256
6278
|
Tooltip as Tooltip7
|
|
6257
6279
|
} from "@mui/material";
|
|
6258
|
-
import { makeStyles as
|
|
6280
|
+
import { makeStyles as makeStyles35 } from "tss-react/mui";
|
|
6259
6281
|
|
|
6260
6282
|
// src/utils/useGetActiveSection.ts
|
|
6261
6283
|
import { useEffect as useEffect6, useState as useState10 } from "react";
|
|
@@ -6263,7 +6285,7 @@ var transformNameToID = (name) => name.replaceAll(" ", "_").toLocaleLowerCase();
|
|
|
6263
6285
|
|
|
6264
6286
|
// src/components/RenderContentList/RenderContentList.tsx
|
|
6265
6287
|
import { jsx as jsx105, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
6266
|
-
var
|
|
6288
|
+
var useStyles35 = makeStyles35()(
|
|
6267
6289
|
(_theme, _params, classes) => ({
|
|
6268
6290
|
root: {
|
|
6269
6291
|
[`&.${classes.selected}`]: {
|
|
@@ -6282,7 +6304,7 @@ var RenderContentList = ({
|
|
|
6282
6304
|
warningItems,
|
|
6283
6305
|
warningMessage = "Missing information on this section"
|
|
6284
6306
|
}) => {
|
|
6285
|
-
const { classes } =
|
|
6307
|
+
const { classes } = useStyles35();
|
|
6286
6308
|
const [active, setActive] = useState11(activeSection);
|
|
6287
6309
|
const observer = useRef5(null);
|
|
6288
6310
|
const isScrolling = useRef5(false);
|
|
@@ -6389,9 +6411,9 @@ var RenderContentList_default = RenderContentList;
|
|
|
6389
6411
|
|
|
6390
6412
|
// src/components/RowProductCard/RowProductCard.tsx
|
|
6391
6413
|
import { Box as Box28, Divider as Divider6, Paper as Paper5, Typography as Typography25 } from "@mui/material";
|
|
6392
|
-
import { makeStyles as
|
|
6414
|
+
import { makeStyles as makeStyles36 } from "tss-react/mui";
|
|
6393
6415
|
import { Fragment as Fragment11, jsx as jsx106, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
6394
|
-
var
|
|
6416
|
+
var useStyles36 = makeStyles36()((theme) => ({
|
|
6395
6417
|
wrapper: {
|
|
6396
6418
|
display: "flex",
|
|
6397
6419
|
gap: theme.spacing(2),
|
|
@@ -6422,7 +6444,7 @@ var RowProductCard = ({
|
|
|
6422
6444
|
product,
|
|
6423
6445
|
size = "medium"
|
|
6424
6446
|
}) => {
|
|
6425
|
-
const { classes, cx } =
|
|
6447
|
+
const { classes, cx } = useStyles36();
|
|
6426
6448
|
const hasColumns = columns.length >= 1;
|
|
6427
6449
|
const imageSize = {
|
|
6428
6450
|
small: "c_productbust__image_sm",
|
|
@@ -6489,9 +6511,9 @@ var RowProductCard_default = RowProductCard;
|
|
|
6489
6511
|
// src/components/ScrollableDialog/ScrollableDialog.tsx
|
|
6490
6512
|
import { useEffect as useEffect8, useRef as useRef6, useState as useState12 } from "react";
|
|
6491
6513
|
import { Box as Box29, Dialog as Dialog4, Divider as Divider7, Fade, Paper as Paper6, Typography as Typography26 } from "@mui/material";
|
|
6492
|
-
import { makeStyles as
|
|
6514
|
+
import { makeStyles as makeStyles37 } from "tss-react/mui";
|
|
6493
6515
|
import { jsx as jsx107, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
6494
|
-
var
|
|
6516
|
+
var useStyles37 = makeStyles37()((theme) => ({
|
|
6495
6517
|
dialog: {
|
|
6496
6518
|
margin: "0 auto",
|
|
6497
6519
|
[theme.breakpoints.up("md")]: {
|
|
@@ -6533,7 +6555,7 @@ var ScrollableDialog = ({
|
|
|
6533
6555
|
const [bodyHeight, setBodyHeight] = useState12(0);
|
|
6534
6556
|
const [hasScrollBar, setHasScrollBar] = useState12(false);
|
|
6535
6557
|
const [maxDialogHeight, setMaxDialogHeight] = useState12(0);
|
|
6536
|
-
const { classes, cx } =
|
|
6558
|
+
const { classes, cx } = useStyles37();
|
|
6537
6559
|
const headerRef = useRef6(null);
|
|
6538
6560
|
const footerRef = useRef6(null);
|
|
6539
6561
|
const titleRef = useRef6(null);
|
|
@@ -6619,7 +6641,7 @@ var ScrollableDialog_default = ScrollableDialog;
|
|
|
6619
6641
|
|
|
6620
6642
|
// src/components/SearchAndFilterHeader/SearchAndFilterHeader.tsx
|
|
6621
6643
|
import { Box as Box30, Paper as Paper8 } from "@mui/material";
|
|
6622
|
-
import { makeStyles as
|
|
6644
|
+
import { makeStyles as makeStyles39 } from "tss-react/mui";
|
|
6623
6645
|
|
|
6624
6646
|
// src/components/SearchWithFilters/SearchWithFilters.tsx
|
|
6625
6647
|
import { useState as useState13, useEffect as useEffect9 } from "react";
|
|
@@ -6630,9 +6652,9 @@ import {
|
|
|
6630
6652
|
Search as SearchIcon
|
|
6631
6653
|
} from "@mui/icons-material";
|
|
6632
6654
|
import { Button as Button14, Divider as Divider8, InputBase, Paper as Paper7 } from "@mui/material";
|
|
6633
|
-
import { makeStyles as
|
|
6655
|
+
import { makeStyles as makeStyles38 } from "tss-react/mui";
|
|
6634
6656
|
import { jsx as jsx108, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
6635
|
-
var
|
|
6657
|
+
var useStyles38 = makeStyles38()((theme) => ({
|
|
6636
6658
|
searchContainer: {
|
|
6637
6659
|
height: 46,
|
|
6638
6660
|
padding: "4px",
|
|
@@ -6677,7 +6699,7 @@ var SearchWithFilters = ({
|
|
|
6677
6699
|
disabled = false
|
|
6678
6700
|
}) => {
|
|
6679
6701
|
const [searchText, setSearchText] = useState13(searchValue);
|
|
6680
|
-
const { classes } =
|
|
6702
|
+
const { classes } = useStyles38();
|
|
6681
6703
|
const handleTextChange = (e) => {
|
|
6682
6704
|
const { value } = e.target;
|
|
6683
6705
|
setSearchText(value);
|
|
@@ -6724,7 +6746,7 @@ var SearchWithFilters_default = React6.memo(SearchWithFilters);
|
|
|
6724
6746
|
|
|
6725
6747
|
// src/components/SearchAndFilterHeader/SearchAndFilterHeader.tsx
|
|
6726
6748
|
import { jsx as jsx109, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
6727
|
-
var
|
|
6749
|
+
var useStyles39 = makeStyles39()((theme) => ({
|
|
6728
6750
|
wrapper: {
|
|
6729
6751
|
display: "flex",
|
|
6730
6752
|
flexDirection: "column",
|
|
@@ -6758,7 +6780,7 @@ var SearchAndFilterHeader = ({
|
|
|
6758
6780
|
appliedFiltersComponent,
|
|
6759
6781
|
searchValue
|
|
6760
6782
|
}) => {
|
|
6761
|
-
const { classes } =
|
|
6783
|
+
const { classes } = useStyles39();
|
|
6762
6784
|
return /* @__PURE__ */ jsx109(Paper8, { children: /* @__PURE__ */ jsxs73(Box30, { className: classes.wrapper, children: [
|
|
6763
6785
|
/* @__PURE__ */ jsxs73(Box30, { className: classes.container, children: [
|
|
6764
6786
|
/* @__PURE__ */ jsxs73(Box30, { className: classes.leftSection, children: [
|
|
@@ -6785,7 +6807,7 @@ var SearchAndFilterHeader_default = SearchAndFilterHeader;
|
|
|
6785
6807
|
// src/components/SearchAndFilterHeader/SearchAndFilterHeaderForTable.tsx
|
|
6786
6808
|
import * as React7 from "react";
|
|
6787
6809
|
import { Box as Box32 } from "@mui/material";
|
|
6788
|
-
import { makeStyles as
|
|
6810
|
+
import { makeStyles as makeStyles41 } from "tss-react/mui";
|
|
6789
6811
|
|
|
6790
6812
|
// src/components/SearchWithFilters/SearchWithFiltersForTable.tsx
|
|
6791
6813
|
import { useState as useState14, memo as memo16 } from "react";
|
|
@@ -6795,9 +6817,9 @@ import {
|
|
|
6795
6817
|
Search as SearchIcon2
|
|
6796
6818
|
} from "@mui/icons-material";
|
|
6797
6819
|
import { Box as Box31, Button as Button15, Divider as Divider9, InputBase as InputBase2, Paper as Paper9 } from "@mui/material";
|
|
6798
|
-
import { makeStyles as
|
|
6820
|
+
import { makeStyles as makeStyles40 } from "tss-react/mui";
|
|
6799
6821
|
import { Fragment as Fragment12, jsx as jsx110, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
6800
|
-
var
|
|
6822
|
+
var useStyles40 = makeStyles40()((theme) => ({
|
|
6801
6823
|
c_search: {
|
|
6802
6824
|
height: 46,
|
|
6803
6825
|
padding: "4px",
|
|
@@ -6855,7 +6877,7 @@ var SearchWithFiltersForTable = (props) => {
|
|
|
6855
6877
|
enterPressedInSearch,
|
|
6856
6878
|
searchedValue
|
|
6857
6879
|
} = props;
|
|
6858
|
-
const { classes } =
|
|
6880
|
+
const { classes } = useStyles40();
|
|
6859
6881
|
const [searchText, setSearchText] = useState14("");
|
|
6860
6882
|
const handleTextChange = (e) => {
|
|
6861
6883
|
const { value } = e.target;
|
|
@@ -6909,7 +6931,7 @@ var SearchWithFiltersForTable_default = memo16(SearchWithFiltersForTable);
|
|
|
6909
6931
|
|
|
6910
6932
|
// src/components/SearchAndFilterHeader/SearchAndFilterHeaderForTable.tsx
|
|
6911
6933
|
import { jsx as jsx111, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
6912
|
-
var
|
|
6934
|
+
var useStyles41 = makeStyles41()((theme) => ({
|
|
6913
6935
|
container: {
|
|
6914
6936
|
display: "flex",
|
|
6915
6937
|
alignItems: "center",
|
|
@@ -6939,7 +6961,7 @@ var SearchAndFilterHeaderForTable = (props) => {
|
|
|
6939
6961
|
button,
|
|
6940
6962
|
searchedValue
|
|
6941
6963
|
} = props;
|
|
6942
|
-
const { classes } =
|
|
6964
|
+
const { classes } = useStyles41();
|
|
6943
6965
|
return /* @__PURE__ */ jsxs75(Box32, { className: classes.container, children: [
|
|
6944
6966
|
/* @__PURE__ */ jsxs75(Box32, { className: classes.leftSection, children: [
|
|
6945
6967
|
/* @__PURE__ */ jsx111(AppLabel_default, { appName }),
|
|
@@ -7009,9 +7031,9 @@ var SearchHeader = memo18(
|
|
|
7009
7031
|
import HistoryIcon from "@mui/icons-material/History";
|
|
7010
7032
|
import InfoIcon from "@mui/icons-material/Info";
|
|
7011
7033
|
import { Box as Box34, Divider as Divider10, IconButton as IconButton4, Tooltip as Tooltip8, Typography as Typography27 } from "@mui/material";
|
|
7012
|
-
import { makeStyles as
|
|
7034
|
+
import { makeStyles as makeStyles42 } from "tss-react/mui";
|
|
7013
7035
|
import { jsx as jsx113, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
7014
|
-
var
|
|
7036
|
+
var useStyles42 = makeStyles42()((theme) => ({
|
|
7015
7037
|
container: {
|
|
7016
7038
|
display: "flex",
|
|
7017
7039
|
alignItems: "flex-end",
|
|
@@ -7052,7 +7074,7 @@ var SectionName = ({
|
|
|
7052
7074
|
buttonDisabled,
|
|
7053
7075
|
openHistoryLog
|
|
7054
7076
|
}) => {
|
|
7055
|
-
const { classes } =
|
|
7077
|
+
const { classes } = useStyles42();
|
|
7056
7078
|
const handleScroll = (e) => {
|
|
7057
7079
|
e.preventDefault();
|
|
7058
7080
|
if (sectionId) {
|
|
@@ -7369,9 +7391,9 @@ var SmartSelect = forwardRef2(
|
|
|
7369
7391
|
import { memo as memo19 } from "react";
|
|
7370
7392
|
import { Typography as Typography29 } from "@mui/material";
|
|
7371
7393
|
import { red as red2 } from "@mui/material/colors";
|
|
7372
|
-
import { makeStyles as
|
|
7394
|
+
import { makeStyles as makeStyles43 } from "tss-react/mui";
|
|
7373
7395
|
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
7374
|
-
var
|
|
7396
|
+
var useStyles43 = makeStyles43()((theme) => ({
|
|
7375
7397
|
red: {
|
|
7376
7398
|
backgroundColor: red2["50"],
|
|
7377
7399
|
color: red2["500"],
|
|
@@ -7384,7 +7406,7 @@ var useStyles42 = makeStyles42()((theme) => ({
|
|
|
7384
7406
|
}
|
|
7385
7407
|
}));
|
|
7386
7408
|
var SquareLabel = ({ color, copy }) => {
|
|
7387
|
-
const { classes } =
|
|
7409
|
+
const { classes } = useStyles43();
|
|
7388
7410
|
return /* @__PURE__ */ jsx116(Typography29, { className: classes[color], children: copy });
|
|
7389
7411
|
};
|
|
7390
7412
|
var SquareLabel_default = memo19(SquareLabel);
|
|
@@ -7730,7 +7752,7 @@ import {
|
|
|
7730
7752
|
TableRow as TableRow2,
|
|
7731
7753
|
TableSortLabel as TableSortLabel2
|
|
7732
7754
|
} from "@mui/material";
|
|
7733
|
-
import { makeStyles as
|
|
7755
|
+
import { makeStyles as makeStyles44 } from "tss-react/mui";
|
|
7734
7756
|
import { v4 as uuidv4 } from "uuid";
|
|
7735
7757
|
|
|
7736
7758
|
// src/components/TableLoading/TableLoading.tsx
|
|
@@ -7789,7 +7811,7 @@ function calculateRowsPerPage(rowHeight) {
|
|
|
7789
7811
|
|
|
7790
7812
|
// src/components/Table/Table.tsx
|
|
7791
7813
|
import { jsx as jsx121, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
7792
|
-
var
|
|
7814
|
+
var useStyles44 = makeStyles44()(() => ({
|
|
7793
7815
|
root: {
|
|
7794
7816
|
height: "calc(100vh - 262px)",
|
|
7795
7817
|
overflow: "scroll"
|
|
@@ -7828,7 +7850,7 @@ var Table = ({
|
|
|
7828
7850
|
appliedFilters?.sortField || "delivery_date"
|
|
7829
7851
|
);
|
|
7830
7852
|
const [rowsPerPage, setRowsPerPage] = useState17(defaultRowsPerPage);
|
|
7831
|
-
const { classes } =
|
|
7853
|
+
const { classes } = useStyles44();
|
|
7832
7854
|
const rowHeight = 56;
|
|
7833
7855
|
const emptyRows = rowsPerPage - Math.min(rowsPerPage, data.length - page * rowsPerPage);
|
|
7834
7856
|
const handleRequestSort = (event, property) => {
|
|
@@ -8131,9 +8153,9 @@ var TableDesktopRowSelectionBar = ({
|
|
|
8131
8153
|
|
|
8132
8154
|
// src/components/TableEmptyResult/TableEmptyResult.tsx
|
|
8133
8155
|
import { TableCell as TableCell5, TableRow as TableRow5, Typography as Typography33 } from "@mui/material";
|
|
8134
|
-
import { makeStyles as
|
|
8156
|
+
import { makeStyles as makeStyles45 } from "tss-react/mui";
|
|
8135
8157
|
import { jsx as jsx126, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
8136
|
-
var
|
|
8158
|
+
var useStyles45 = makeStyles45()(() => ({
|
|
8137
8159
|
tableCellIcon: { padding: 24, height: "calc(100vh - 320px)" },
|
|
8138
8160
|
tableCellDefault: { padding: 24 }
|
|
8139
8161
|
}));
|
|
@@ -8143,7 +8165,7 @@ var TableEmptyResult = ({
|
|
|
8143
8165
|
handleClickOnClearFiltersButton = () => {
|
|
8144
8166
|
}
|
|
8145
8167
|
}) => {
|
|
8146
|
-
const { classes } =
|
|
8168
|
+
const { classes } = useStyles45();
|
|
8147
8169
|
return showClearFilterButton ? /* @__PURE__ */ jsx126(TableRow5, { children: /* @__PURE__ */ jsxs87(
|
|
8148
8170
|
TableCell5,
|
|
8149
8171
|
{
|
|
@@ -9271,9 +9293,9 @@ var TableDesktopToolbar = ({
|
|
|
9271
9293
|
import { memo as memo22, useEffect as useEffect14, useState as useState24 } from "react";
|
|
9272
9294
|
import { ImportExport as ImportExportIcon } from "@mui/icons-material";
|
|
9273
9295
|
import { TableCell as TableCell7, TableHead as TableHead3, TableRow as TableRow6, TableSortLabel as TableSortLabel3 } from "@mui/material";
|
|
9274
|
-
import { makeStyles as
|
|
9296
|
+
import { makeStyles as makeStyles46 } from "tss-react/mui";
|
|
9275
9297
|
import { jsx as jsx135 } from "react/jsx-runtime";
|
|
9276
|
-
var
|
|
9298
|
+
var useStyles46 = makeStyles46()(() => ({
|
|
9277
9299
|
sortLabel: {
|
|
9278
9300
|
"& .MuiTableSortLabel-icon": {
|
|
9279
9301
|
opacity: 1
|
|
@@ -9282,7 +9304,7 @@ var useStyles45 = makeStyles45()(() => ({
|
|
|
9282
9304
|
}));
|
|
9283
9305
|
var TableHeader = ({ cells, onSort = null }) => {
|
|
9284
9306
|
const [sortableCells, setSortableCells] = useState24([]);
|
|
9285
|
-
const { classes } =
|
|
9307
|
+
const { classes } = useStyles46();
|
|
9286
9308
|
useEffect14(() => {
|
|
9287
9309
|
setSortableCells(cells);
|
|
9288
9310
|
}, []);
|
|
@@ -9332,9 +9354,9 @@ var TableHeader_default = memo22(TableHeader);
|
|
|
9332
9354
|
|
|
9333
9355
|
// src/components/TextDivider/TextDivider.tsx
|
|
9334
9356
|
import { Box as Box44, Typography as Typography36, Divider as Divider12, Button as Button20 } from "@mui/material";
|
|
9335
|
-
import { makeStyles as
|
|
9357
|
+
import { makeStyles as makeStyles47 } from "tss-react/mui";
|
|
9336
9358
|
import { jsx as jsx136, jsxs as jsxs92 } from "react/jsx-runtime";
|
|
9337
|
-
var
|
|
9359
|
+
var useStyles47 = makeStyles47()(() => ({
|
|
9338
9360
|
icon: {
|
|
9339
9361
|
fontSize: 20
|
|
9340
9362
|
},
|
|
@@ -9368,7 +9390,7 @@ var TextDivider = ({
|
|
|
9368
9390
|
iconPosition = "left",
|
|
9369
9391
|
titleWeight = "400"
|
|
9370
9392
|
}) => {
|
|
9371
|
-
const { classes } =
|
|
9393
|
+
const { classes } = useStyles47();
|
|
9372
9394
|
const iconColor = color ?? colors.neutral900;
|
|
9373
9395
|
return /* @__PURE__ */ jsxs92(
|
|
9374
9396
|
Box44,
|
|
@@ -9401,11 +9423,11 @@ var TextDivider_default = TextDivider;
|
|
|
9401
9423
|
|
|
9402
9424
|
// src/components/ThemedDateRangePicker/ThemedDateRangePicker.tsx
|
|
9403
9425
|
import { DateRangePicker } from "react-dates";
|
|
9404
|
-
import { makeStyles as
|
|
9426
|
+
import { makeStyles as makeStyles48 } from "tss-react/mui";
|
|
9405
9427
|
import "react-dates/initialize";
|
|
9406
9428
|
import "react-dates/lib/css/_datepicker.css";
|
|
9407
9429
|
import { jsx as jsx137 } from "react/jsx-runtime";
|
|
9408
|
-
var
|
|
9430
|
+
var useStyles48 = makeStyles48()((theme) => ({
|
|
9409
9431
|
wrapper: {
|
|
9410
9432
|
"& .DateRangePicker": {
|
|
9411
9433
|
backgroundColor: theme.palette.mode === "dark" ? theme.palette.grey[900] : colors.neutral100,
|
|
@@ -9499,7 +9521,7 @@ var ThemedDateRangePicker = ({
|
|
|
9499
9521
|
className,
|
|
9500
9522
|
...props
|
|
9501
9523
|
}) => {
|
|
9502
|
-
const { classes, cx } =
|
|
9524
|
+
const { classes, cx } = useStyles48();
|
|
9503
9525
|
return /* @__PURE__ */ jsx137("div", { className: cx(classes.wrapper, className), children: /* @__PURE__ */ jsx137(DateRangePicker, { ...props }) });
|
|
9504
9526
|
};
|
|
9505
9527
|
var ThemedDateRangePicker_default = ThemedDateRangePicker;
|
|
@@ -9507,9 +9529,9 @@ var ThemedDateRangePicker_default = ThemedDateRangePicker;
|
|
|
9507
9529
|
// src/components/TheToolbar/TheToolbar.tsx
|
|
9508
9530
|
import { memo as memo23 } from "react";
|
|
9509
9531
|
import { AppBar, Box as Box45, Toolbar } from "@mui/material";
|
|
9510
|
-
import { makeStyles as
|
|
9532
|
+
import { makeStyles as makeStyles49 } from "tss-react/mui";
|
|
9511
9533
|
import { jsx as jsx138, jsxs as jsxs93 } from "react/jsx-runtime";
|
|
9512
|
-
var
|
|
9534
|
+
var useStyles49 = makeStyles49()((theme) => ({
|
|
9513
9535
|
menuButton: {
|
|
9514
9536
|
color: theme.palette.primary.contrastText
|
|
9515
9537
|
},
|
|
@@ -9528,7 +9550,7 @@ var TheToolbar = ({
|
|
|
9528
9550
|
rightSection,
|
|
9529
9551
|
isAuthenticated = true
|
|
9530
9552
|
}) => {
|
|
9531
|
-
const { classes } =
|
|
9553
|
+
const { classes } = useStyles49();
|
|
9532
9554
|
return /* @__PURE__ */ jsxs93(Box45, { children: [
|
|
9533
9555
|
/* @__PURE__ */ jsx138(AppBar, { children: /* @__PURE__ */ jsxs93(Toolbar, { className: classes.topBar, children: [
|
|
9534
9556
|
isAuthenticated ? /* @__PURE__ */ jsx138(
|
|
@@ -9608,9 +9630,9 @@ import {
|
|
|
9608
9630
|
Paper as Paper13,
|
|
9609
9631
|
Fade as Fade2
|
|
9610
9632
|
} from "@mui/material";
|
|
9611
|
-
import { makeStyles as
|
|
9633
|
+
import { makeStyles as makeStyles50 } from "tss-react/mui";
|
|
9612
9634
|
import { jsx as jsx140, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
9613
|
-
var
|
|
9635
|
+
var useStyles50 = makeStyles50()((theme) => ({
|
|
9614
9636
|
paper: {
|
|
9615
9637
|
padding: theme.spacing(2)
|
|
9616
9638
|
},
|
|
@@ -9638,7 +9660,7 @@ var TwoButtonDialog = ({
|
|
|
9638
9660
|
cancelLabel = "CANCEL",
|
|
9639
9661
|
cancelButton
|
|
9640
9662
|
}) => {
|
|
9641
|
-
const { classes } =
|
|
9663
|
+
const { classes } = useStyles50();
|
|
9642
9664
|
return /* @__PURE__ */ jsx140(
|
|
9643
9665
|
Dialog5,
|
|
9644
9666
|
{
|