@natoora-libs/core 0.2.20 → 0.2.21-dev-package-upgrades-1
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.cjs +147 -136
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +1 -2
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.js +136 -125
- package/dist/components/index.js.map +1 -1
- package/package.json +9 -12
package/dist/components/index.js
CHANGED
|
@@ -3673,29 +3673,41 @@ var ClearFiltersConfirmationDialog = ({
|
|
|
3673
3673
|
};
|
|
3674
3674
|
|
|
3675
3675
|
// src/components/CompanyLogo/CompanyLogo.tsx
|
|
3676
|
+
import { makeStyles as makeStyles15 } from "tss-react/mui";
|
|
3676
3677
|
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
3678
|
+
var useStyles15 = makeStyles15()((theme, { imageLogoDarkSmall, imageLogoLightSmall }) => ({
|
|
3679
|
+
logoSmall: {
|
|
3680
|
+
height: 46,
|
|
3681
|
+
width: 112
|
|
3682
|
+
},
|
|
3683
|
+
logoMedium: {
|
|
3684
|
+
height: 72,
|
|
3685
|
+
width: 160
|
|
3686
|
+
},
|
|
3687
|
+
logoDark: {
|
|
3688
|
+
backgroundImage: `url(${imageLogoDarkSmall})`
|
|
3689
|
+
},
|
|
3690
|
+
logoLight: {
|
|
3691
|
+
backgroundImage: `url(${imageLogoLightSmall})`
|
|
3692
|
+
}
|
|
3693
|
+
}));
|
|
3677
3694
|
var CompanyLogo = ({
|
|
3678
3695
|
size,
|
|
3679
3696
|
color,
|
|
3680
3697
|
imageLogoDarkSmall,
|
|
3681
3698
|
imageLogoLightSmall
|
|
3682
3699
|
}) => {
|
|
3683
|
-
const
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
style: {
|
|
3695
|
-
display: "block"
|
|
3696
|
-
}
|
|
3697
|
-
}
|
|
3698
|
-
);
|
|
3700
|
+
const { classes, cx } = useStyles15({
|
|
3701
|
+
imageLogoDarkSmall,
|
|
3702
|
+
imageLogoLightSmall
|
|
3703
|
+
});
|
|
3704
|
+
const className = cx({
|
|
3705
|
+
[classes.logoSmall]: size === "small",
|
|
3706
|
+
[classes.logoMedium]: size === "medium",
|
|
3707
|
+
[classes.logoLight]: color === "light",
|
|
3708
|
+
[classes.logoDark]: color === "dark"
|
|
3709
|
+
});
|
|
3710
|
+
return /* @__PURE__ */ jsx76("div", { className });
|
|
3699
3711
|
};
|
|
3700
3712
|
var CompanyLogo_default = CompanyLogo;
|
|
3701
3713
|
|
|
@@ -3748,9 +3760,9 @@ var ControlledCheckbox_default = ControlledCheckbox;
|
|
|
3748
3760
|
// src/components/ControlledNumberInput/ControlledNumberInput.tsx
|
|
3749
3761
|
import { Controller as Controller2 } from "react-hook-form";
|
|
3750
3762
|
import { TextField as TextField2 } from "@mui/material";
|
|
3751
|
-
import { makeStyles as
|
|
3763
|
+
import { makeStyles as makeStyles16 } from "tss-react/mui";
|
|
3752
3764
|
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
3753
|
-
var
|
|
3765
|
+
var useStyles16 = makeStyles16()(() => ({
|
|
3754
3766
|
selectInput: {
|
|
3755
3767
|
minWidth: 122
|
|
3756
3768
|
}
|
|
@@ -3766,7 +3778,7 @@ var ControlledNumberInput = ({
|
|
|
3766
3778
|
shrink = false,
|
|
3767
3779
|
className
|
|
3768
3780
|
}) => {
|
|
3769
|
-
const { classes } =
|
|
3781
|
+
const { classes } = useStyles16();
|
|
3770
3782
|
const blockInvalidChar = (input) => ![
|
|
3771
3783
|
"0",
|
|
3772
3784
|
"1",
|
|
@@ -3832,10 +3844,10 @@ import {
|
|
|
3832
3844
|
InputAdornment as InputAdornment2,
|
|
3833
3845
|
TextField as TextField3
|
|
3834
3846
|
} from "@mui/material";
|
|
3835
|
-
import { makeStyles as
|
|
3847
|
+
import { makeStyles as makeStyles17 } from "tss-react/mui";
|
|
3836
3848
|
import { jsx as jsx79, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3837
3849
|
var convertUnderscoreToHyphen = (str) => str.replace(/_/g, "-");
|
|
3838
|
-
var
|
|
3850
|
+
var useStyles17 = makeStyles17()((theme) => ({
|
|
3839
3851
|
textFieldButtons: {
|
|
3840
3852
|
display: "flex",
|
|
3841
3853
|
flexDirection: "column",
|
|
@@ -3863,7 +3875,7 @@ var ControlledNumericField = ({
|
|
|
3863
3875
|
"data-testid": dataTestId,
|
|
3864
3876
|
fieldName
|
|
3865
3877
|
}) => {
|
|
3866
|
-
const { classes } =
|
|
3878
|
+
const { classes } = useStyles17();
|
|
3867
3879
|
const isLowerThanMinimum = (value) => min !== void 0 && min > value;
|
|
3868
3880
|
const isGreaterThanMaximum = (value) => max !== void 0 && max < value;
|
|
3869
3881
|
const handleChange = (field, value) => {
|
|
@@ -4015,9 +4027,9 @@ var ControlledNumericField_default = ControlledNumericField;
|
|
|
4015
4027
|
// src/components/ControlledSelectWithArray/ControlledSelectWithArray.tsx
|
|
4016
4028
|
import { Controller as Controller4 } from "react-hook-form";
|
|
4017
4029
|
import { FormControl, FormHelperText, InputLabel, Select } from "@mui/material";
|
|
4018
|
-
import { makeStyles as
|
|
4030
|
+
import { makeStyles as makeStyles18 } from "tss-react/mui";
|
|
4019
4031
|
import { jsx as jsx80, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
4020
|
-
var
|
|
4032
|
+
var useStyles18 = makeStyles18()(() => ({
|
|
4021
4033
|
selectInput: {
|
|
4022
4034
|
minWidth: 122
|
|
4023
4035
|
}
|
|
@@ -4032,7 +4044,7 @@ var ControlledSelectWithArray = ({
|
|
|
4032
4044
|
className,
|
|
4033
4045
|
revalidateFormFunction
|
|
4034
4046
|
}) => {
|
|
4035
|
-
const { classes } =
|
|
4047
|
+
const { classes } = useStyles18();
|
|
4036
4048
|
return /* @__PURE__ */ jsx80(
|
|
4037
4049
|
Controller4,
|
|
4038
4050
|
{
|
|
@@ -4084,9 +4096,9 @@ var ControlledSelectWithArray_default = ControlledSelectWithArray;
|
|
|
4084
4096
|
// src/components/ControlledSelectWithObject/ControlledSelectWithObject.tsx
|
|
4085
4097
|
import { Controller as Controller5 } from "react-hook-form";
|
|
4086
4098
|
import { FormControl as FormControl2, FormHelperText as FormHelperText2, InputLabel as InputLabel2, Select as Select2 } from "@mui/material";
|
|
4087
|
-
import { makeStyles as
|
|
4099
|
+
import { makeStyles as makeStyles19 } from "tss-react/mui";
|
|
4088
4100
|
import { jsx as jsx81, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
4089
|
-
var
|
|
4101
|
+
var useStyles19 = makeStyles19()(() => ({
|
|
4090
4102
|
selectInput: {
|
|
4091
4103
|
minWidth: 122
|
|
4092
4104
|
}
|
|
@@ -4102,7 +4114,7 @@ var ControlledSelectWithObject = ({
|
|
|
4102
4114
|
listToDisableFromOptions = [],
|
|
4103
4115
|
revalidateFormFunction
|
|
4104
4116
|
}) => {
|
|
4105
|
-
const { classes } =
|
|
4117
|
+
const { classes } = useStyles19();
|
|
4106
4118
|
return /* @__PURE__ */ jsx81(
|
|
4107
4119
|
Controller5,
|
|
4108
4120
|
{
|
|
@@ -4165,9 +4177,9 @@ import {
|
|
|
4165
4177
|
} from "react-hook-form";
|
|
4166
4178
|
import { Box as Box17, TextField as TextField4 } from "@mui/material";
|
|
4167
4179
|
import classNames from "classnames";
|
|
4168
|
-
import { makeStyles as
|
|
4180
|
+
import { makeStyles as makeStyles20 } from "tss-react/mui";
|
|
4169
4181
|
import { jsx as jsx82, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
4170
|
-
var
|
|
4182
|
+
var useStyles20 = makeStyles20()(() => ({
|
|
4171
4183
|
fullWidthWrapper: {
|
|
4172
4184
|
maxWidth: "100%"
|
|
4173
4185
|
},
|
|
@@ -4193,7 +4205,7 @@ var ControlledValidTextInput = ({
|
|
|
4193
4205
|
updateCustomerData,
|
|
4194
4206
|
customHandleBlurValidationAndSubmit
|
|
4195
4207
|
}) => {
|
|
4196
|
-
const { classes } =
|
|
4208
|
+
const { classes } = useStyles20();
|
|
4197
4209
|
const defaultHandleBlurValidationAndSubmit = async ({ name, value, onChange }, isDirty) => {
|
|
4198
4210
|
const trimmedValue = value?.trim();
|
|
4199
4211
|
if (value !== trimmedValue) {
|
|
@@ -4276,9 +4288,9 @@ var ControlledValidTextInput_default = ControlledValidTextInput;
|
|
|
4276
4288
|
import { useState as useState4 } from "react";
|
|
4277
4289
|
import { Paper as Paper2, Skeleton as Skeleton3 } from "@mui/material";
|
|
4278
4290
|
import { DataGrid as MUIDataGrid } from "@mui/x-data-grid";
|
|
4279
|
-
import { makeStyles as
|
|
4291
|
+
import { makeStyles as makeStyles21 } from "tss-react/mui";
|
|
4280
4292
|
import { Fragment as Fragment3, jsx as jsx83, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
4281
|
-
var
|
|
4293
|
+
var useStyles21 = makeStyles21()(() => ({
|
|
4282
4294
|
root: {
|
|
4283
4295
|
justifyContent: "space-between",
|
|
4284
4296
|
display: "flex",
|
|
@@ -4315,7 +4327,7 @@ var DataGrid = ({
|
|
|
4315
4327
|
height,
|
|
4316
4328
|
children
|
|
4317
4329
|
}) => {
|
|
4318
|
-
const { classes } =
|
|
4330
|
+
const { classes } = useStyles21();
|
|
4319
4331
|
const [sortModel, setSortModel] = useState4([
|
|
4320
4332
|
{
|
|
4321
4333
|
field: sortField || "id",
|
|
@@ -4456,9 +4468,9 @@ var Date_default = Date;
|
|
|
4456
4468
|
// src/components/DeleteSubstitutionDialogContent/DeleteSubstitutionDialogContent.tsx
|
|
4457
4469
|
import { memo as memo10 } from "react";
|
|
4458
4470
|
import { Alert as Alert2, AlertTitle as AlertTitle2, Typography as Typography12, Box as Box18 } from "@mui/material";
|
|
4459
|
-
import { makeStyles as
|
|
4471
|
+
import { makeStyles as makeStyles22 } from "tss-react/mui";
|
|
4460
4472
|
import { Fragment as Fragment4, jsx as jsx85, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
4461
|
-
var
|
|
4473
|
+
var useStyles22 = makeStyles22()(() => ({
|
|
4462
4474
|
alert: { marginBottom: 16 },
|
|
4463
4475
|
bottomBar: {
|
|
4464
4476
|
marginTop: "12px",
|
|
@@ -4474,7 +4486,7 @@ var DeleteSubstitutionDialogContent = ({
|
|
|
4474
4486
|
substitutionName,
|
|
4475
4487
|
deleteSubstitution
|
|
4476
4488
|
}) => {
|
|
4477
|
-
const { classes } =
|
|
4489
|
+
const { classes } = useStyles22();
|
|
4478
4490
|
return /* @__PURE__ */ jsxs50(Fragment4, { children: [
|
|
4479
4491
|
/* @__PURE__ */ jsxs50(Alert2, { severity: "warning", className: classes.alert, children: [
|
|
4480
4492
|
/* @__PURE__ */ jsxs50(AlertTitle2, { children: [
|
|
@@ -4504,9 +4516,9 @@ var DeleteSubstitutionDialogContent_default = memo10(DeleteSubstitutionDialogCon
|
|
|
4504
4516
|
// src/components/DeleteUserDialogContent/DeleteUserDialogContent.tsx
|
|
4505
4517
|
import { memo as memo11 } from "react";
|
|
4506
4518
|
import { Alert as Alert3, AlertTitle as AlertTitle3, Typography as Typography13, Box as Box19 } from "@mui/material";
|
|
4507
|
-
import { makeStyles as
|
|
4519
|
+
import { makeStyles as makeStyles23 } from "tss-react/mui";
|
|
4508
4520
|
import { Fragment as Fragment5, jsx as jsx86, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
4509
|
-
var
|
|
4521
|
+
var useStyles23 = makeStyles23()(() => ({
|
|
4510
4522
|
alert: { marginBottom: 16 },
|
|
4511
4523
|
bottomBar: {
|
|
4512
4524
|
marginTop: "12px",
|
|
@@ -4522,7 +4534,7 @@ var DeleteUserDialogContent = ({
|
|
|
4522
4534
|
userName,
|
|
4523
4535
|
deleteUser
|
|
4524
4536
|
}) => {
|
|
4525
|
-
const { classes } =
|
|
4537
|
+
const { classes } = useStyles23();
|
|
4526
4538
|
return /* @__PURE__ */ jsxs51(Fragment5, { children: [
|
|
4527
4539
|
/* @__PURE__ */ jsxs51(Alert3, { severity: "warning", className: classes.alert, children: [
|
|
4528
4540
|
/* @__PURE__ */ jsxs51(AlertTitle3, { children: [
|
|
@@ -4612,9 +4624,9 @@ var FileCard_default = FileCard;
|
|
|
4612
4624
|
import { memo as memo12 } from "react";
|
|
4613
4625
|
import { Typography as Typography15 } from "@mui/material";
|
|
4614
4626
|
import { brown, teal } from "@mui/material/colors";
|
|
4615
|
-
import { makeStyles as
|
|
4627
|
+
import { makeStyles as makeStyles24 } from "tss-react/mui";
|
|
4616
4628
|
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
4617
|
-
var
|
|
4629
|
+
var useStyles24 = makeStyles24()((theme) => ({
|
|
4618
4630
|
siteOne: {
|
|
4619
4631
|
backgroundColor: teal["50"],
|
|
4620
4632
|
color: teal["500"],
|
|
@@ -4640,7 +4652,7 @@ var useStyles23 = makeStyles23()((theme) => ({
|
|
|
4640
4652
|
}));
|
|
4641
4653
|
var FilledLabel = (props) => {
|
|
4642
4654
|
const { color, copy } = props;
|
|
4643
|
-
const { classes } =
|
|
4655
|
+
const { classes } = useStyles24();
|
|
4644
4656
|
return /* @__PURE__ */ jsx88(Typography15, { variant: "caption", className: classes[color], children: copy });
|
|
4645
4657
|
};
|
|
4646
4658
|
var FilledLabel_default = memo12(FilledLabel);
|
|
@@ -4656,9 +4668,9 @@ import {
|
|
|
4656
4668
|
ListItemText,
|
|
4657
4669
|
Divider as Divider4
|
|
4658
4670
|
} from "@mui/material";
|
|
4659
|
-
import { makeStyles as
|
|
4671
|
+
import { makeStyles as makeStyles25 } from "tss-react/mui";
|
|
4660
4672
|
import { Fragment as Fragment6, jsx as jsx89, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
4661
|
-
var
|
|
4673
|
+
var useStyles25 = makeStyles25()((theme) => ({
|
|
4662
4674
|
filterOptions: {
|
|
4663
4675
|
height: 450,
|
|
4664
4676
|
overflowY: "auto",
|
|
@@ -4686,7 +4698,7 @@ var FilterGroupSelector = ({
|
|
|
4686
4698
|
handleClickOnApply,
|
|
4687
4699
|
optionsList = [{ category: "Category", options: ["Option 1"] }]
|
|
4688
4700
|
}) => {
|
|
4689
|
-
const { classes } =
|
|
4701
|
+
const { classes } = useStyles25();
|
|
4690
4702
|
const [anchorEl, setAnchorEl] = useState5(null);
|
|
4691
4703
|
const [values, setValues] = useState5([]);
|
|
4692
4704
|
const open = Boolean(anchorEl);
|
|
@@ -4785,9 +4797,9 @@ import {
|
|
|
4785
4797
|
ListItemText as ListItemText2,
|
|
4786
4798
|
Divider as Divider5
|
|
4787
4799
|
} from "@mui/material";
|
|
4788
|
-
import { makeStyles as
|
|
4800
|
+
import { makeStyles as makeStyles26 } from "tss-react/mui";
|
|
4789
4801
|
import { Fragment as Fragment7, jsx as jsx90, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
4790
|
-
var
|
|
4802
|
+
var useStyles26 = makeStyles26()((theme) => ({
|
|
4791
4803
|
filterOptions: {
|
|
4792
4804
|
height: 450,
|
|
4793
4805
|
overflowY: "auto",
|
|
@@ -4814,7 +4826,7 @@ var FilterSimpleSelector = ({
|
|
|
4814
4826
|
setSelectedOptions,
|
|
4815
4827
|
handleClickOnApply
|
|
4816
4828
|
}) => {
|
|
4817
|
-
const { classes } =
|
|
4829
|
+
const { classes } = useStyles26();
|
|
4818
4830
|
const [anchorEl, setAnchorEl] = useState6(null);
|
|
4819
4831
|
const [values, setValues] = useState6([]);
|
|
4820
4832
|
const open = Boolean(anchorEl);
|
|
@@ -4893,10 +4905,10 @@ var FilterSimpleSelector_default = FilterSimpleSelector;
|
|
|
4893
4905
|
// src/components/FixedFooter/FixedFooter.tsx
|
|
4894
4906
|
import * as React4 from "react";
|
|
4895
4907
|
import { Box as Box23 } from "@mui/material";
|
|
4896
|
-
import { makeStyles as
|
|
4908
|
+
import { makeStyles as makeStyles27 } from "tss-react/mui";
|
|
4897
4909
|
import { jsx as jsx91, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
4898
4910
|
var footerHeight = "64px";
|
|
4899
|
-
var
|
|
4911
|
+
var useStyles27 = makeStyles27()((theme) => ({
|
|
4900
4912
|
root: {
|
|
4901
4913
|
position: "fixed",
|
|
4902
4914
|
bottom: 0,
|
|
@@ -4916,7 +4928,7 @@ var useStyles26 = makeStyles26()((theme) => ({
|
|
|
4916
4928
|
}
|
|
4917
4929
|
}));
|
|
4918
4930
|
var FixedFooter = ({ justifyContent, children }) => {
|
|
4919
|
-
const { classes } =
|
|
4931
|
+
const { classes } = useStyles27();
|
|
4920
4932
|
return /* @__PURE__ */ jsxs55(Box23, { children: [
|
|
4921
4933
|
/* @__PURE__ */ jsx91(Box23, { className: classes.fixedOffset }),
|
|
4922
4934
|
/* @__PURE__ */ jsx91(
|
|
@@ -4935,9 +4947,9 @@ var FixedFooter_default = React4.memo(FixedFooter);
|
|
|
4935
4947
|
|
|
4936
4948
|
// src/components/Header/Header.tsx
|
|
4937
4949
|
import { Paper as Paper3 } from "@mui/material";
|
|
4938
|
-
import { makeStyles as
|
|
4950
|
+
import { makeStyles as makeStyles28 } from "tss-react/mui";
|
|
4939
4951
|
import { jsx as jsx92, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4940
|
-
var
|
|
4952
|
+
var useStyles28 = makeStyles28()((theme) => ({
|
|
4941
4953
|
container: {
|
|
4942
4954
|
margin: theme.spacing(1)
|
|
4943
4955
|
},
|
|
@@ -4958,7 +4970,7 @@ var Header = ({
|
|
|
4958
4970
|
children = null,
|
|
4959
4971
|
wrappedHeader = false
|
|
4960
4972
|
}) => {
|
|
4961
|
-
const { classes, cx } =
|
|
4973
|
+
const { classes, cx } = useStyles28();
|
|
4962
4974
|
return /* @__PURE__ */ jsx92(
|
|
4963
4975
|
Paper3,
|
|
4964
4976
|
{
|
|
@@ -5010,9 +5022,9 @@ import { Fragment as Fragment9 } from "react";
|
|
|
5010
5022
|
import { Box as Box24, Chip as Chip4, Typography as Typography18 } from "@mui/material";
|
|
5011
5023
|
import { purple } from "@mui/material/colors";
|
|
5012
5024
|
import classNames2 from "classnames";
|
|
5013
|
-
import { makeStyles as
|
|
5025
|
+
import { makeStyles as makeStyles29 } from "tss-react/mui";
|
|
5014
5026
|
import { jsx as jsx94, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
5015
|
-
var
|
|
5027
|
+
var useStyles29 = makeStyles29()(() => ({
|
|
5016
5028
|
container: {
|
|
5017
5029
|
display: "flex",
|
|
5018
5030
|
alignItems: "center",
|
|
@@ -5047,7 +5059,7 @@ var LocationsSectionInfo = ({
|
|
|
5047
5059
|
isPicking,
|
|
5048
5060
|
isStock
|
|
5049
5061
|
}) => {
|
|
5050
|
-
const { classes } =
|
|
5062
|
+
const { classes } = useStyles29();
|
|
5051
5063
|
const getLocationLabel = () => {
|
|
5052
5064
|
if (isPicking && isStock) {
|
|
5053
5065
|
return "PICKING & STOCK";
|
|
@@ -5081,9 +5093,9 @@ var LocationsSectionInfo_default = LocationsSectionInfo;
|
|
|
5081
5093
|
// src/components/Notes/Notes.tsx
|
|
5082
5094
|
import { useEffect as useEffect4, useState as useState7 } from "react";
|
|
5083
5095
|
import { FormControl as FormControl3, Input, InputAdornment as InputAdornment3, InputLabel as InputLabel3 } from "@mui/material";
|
|
5084
|
-
import { makeStyles as
|
|
5096
|
+
import { makeStyles as makeStyles30 } from "tss-react/mui";
|
|
5085
5097
|
import { jsx as jsx95, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
5086
|
-
var
|
|
5098
|
+
var useStyles30 = makeStyles30()((theme) => ({
|
|
5087
5099
|
wrapper: {
|
|
5088
5100
|
padding: theme.spacing(3),
|
|
5089
5101
|
backgroundColor: colors.blueOpacity08
|
|
@@ -5124,7 +5136,7 @@ var Notes2 = ({
|
|
|
5124
5136
|
onChange(value);
|
|
5125
5137
|
}
|
|
5126
5138
|
};
|
|
5127
|
-
const { classes } =
|
|
5139
|
+
const { classes } = useStyles30();
|
|
5128
5140
|
return /* @__PURE__ */ jsx95("div", { className: classes.wrapper, children: /* @__PURE__ */ jsxs59(FormControl3, { fullWidth: true, children: [
|
|
5129
5141
|
/* @__PURE__ */ jsx95(InputLabel3, { htmlFor: "notes", children: "Notes" }),
|
|
5130
5142
|
/* @__PURE__ */ jsx95(
|
|
@@ -5307,9 +5319,9 @@ var Numpad_default = Numpad;
|
|
|
5307
5319
|
// src/components/NumpadInput/NumpadInput.tsx
|
|
5308
5320
|
import { memo as memo14, useState as useState8 } from "react";
|
|
5309
5321
|
import { TextField as TextField5, Typography as Typography19 } from "@mui/material";
|
|
5310
|
-
import { makeStyles as
|
|
5322
|
+
import { makeStyles as makeStyles31 } from "tss-react/mui";
|
|
5311
5323
|
import { jsx as jsx97, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
5312
|
-
var
|
|
5324
|
+
var useStyles31 = makeStyles31()(() => ({
|
|
5313
5325
|
c_numpadinput__textfield: {
|
|
5314
5326
|
"& .MuiInputLabel-outlined.MuiInputLabel-shrink": {
|
|
5315
5327
|
transform: "translate(18px, -13px) scale(0.75)"
|
|
@@ -5334,7 +5346,7 @@ var useStyles30 = makeStyles30()(() => ({
|
|
|
5334
5346
|
}));
|
|
5335
5347
|
var NumpadInput = (props) => {
|
|
5336
5348
|
const { handleNextClick, inputLabel, children } = props;
|
|
5337
|
-
const { classes } =
|
|
5349
|
+
const { classes } = useStyles31();
|
|
5338
5350
|
const [state, setState] = useState8("");
|
|
5339
5351
|
const handleNumpadClick = (value) => {
|
|
5340
5352
|
setState(state + value);
|
|
@@ -5385,9 +5397,9 @@ var NumpadInput_default = memo14(NumpadInput);
|
|
|
5385
5397
|
|
|
5386
5398
|
// src/components/NumpadPlus/NumpadPlus.tsx
|
|
5387
5399
|
import { Box as Box25 } from "@mui/material";
|
|
5388
|
-
import { makeStyles as
|
|
5400
|
+
import { makeStyles as makeStyles32 } from "tss-react/mui";
|
|
5389
5401
|
import { jsx as jsx98, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
5390
|
-
var
|
|
5402
|
+
var useStyles32 = makeStyles32()(() => ({
|
|
5391
5403
|
numpadContainer: {
|
|
5392
5404
|
display: "flex",
|
|
5393
5405
|
flexDirection: "row",
|
|
@@ -5417,7 +5429,7 @@ var useStyles31 = makeStyles31()(() => ({
|
|
|
5417
5429
|
}
|
|
5418
5430
|
}));
|
|
5419
5431
|
var NumpadPlus = ({ handleClick, handleUndo }) => {
|
|
5420
|
-
const { classes: styles } =
|
|
5432
|
+
const { classes: styles } = useStyles32();
|
|
5421
5433
|
return /* @__PURE__ */ jsxs62(Box25, { className: styles.numpadContainer, children: [
|
|
5422
5434
|
/* @__PURE__ */ jsxs62(Box25, { className: styles.numpadNumbersContainer, children: [
|
|
5423
5435
|
/* @__PURE__ */ jsxs62(Box25, { className: styles.numpadRow, children: [
|
|
@@ -5552,10 +5564,10 @@ var NumpadPlus_default = NumpadPlus;
|
|
|
5552
5564
|
|
|
5553
5565
|
// src/components/Pagination/Pagination.tsx
|
|
5554
5566
|
import { Pagination, Paper as Paper4, Typography as Typography20 } from "@mui/material";
|
|
5555
|
-
import { makeStyles as
|
|
5567
|
+
import { makeStyles as makeStyles33 } from "tss-react/mui";
|
|
5556
5568
|
import { jsx as jsx99, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
5557
5569
|
var paginationHeight = "56px";
|
|
5558
|
-
var
|
|
5570
|
+
var useStyles33 = makeStyles33()((theme) => ({
|
|
5559
5571
|
root: {
|
|
5560
5572
|
display: "flex",
|
|
5561
5573
|
flexDirection: "row",
|
|
@@ -5592,7 +5604,7 @@ var PaginationForTable = ({
|
|
|
5592
5604
|
style,
|
|
5593
5605
|
updateFilters
|
|
5594
5606
|
}) => {
|
|
5595
|
-
const { classes, cx } =
|
|
5607
|
+
const { classes, cx } = useStyles33();
|
|
5596
5608
|
const handleChange = (event, value) => {
|
|
5597
5609
|
updateFilters({ ...appliedFilters, page: value });
|
|
5598
5610
|
};
|
|
@@ -5687,9 +5699,9 @@ import {
|
|
|
5687
5699
|
TextField as TextField7,
|
|
5688
5700
|
Typography as Typography22
|
|
5689
5701
|
} from "@mui/material";
|
|
5690
|
-
import { makeStyles as
|
|
5702
|
+
import { makeStyles as makeStyles34 } from "tss-react/mui";
|
|
5691
5703
|
import { jsx as jsx101, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
5692
|
-
var
|
|
5704
|
+
var useStyles34 = makeStyles34()((theme) => ({
|
|
5693
5705
|
container: {
|
|
5694
5706
|
position: "relative",
|
|
5695
5707
|
/**
|
|
@@ -5830,7 +5842,7 @@ var PlusMinusInput = ({
|
|
|
5830
5842
|
}
|
|
5831
5843
|
updateInputValue(value);
|
|
5832
5844
|
};
|
|
5833
|
-
const { classes, cx } =
|
|
5845
|
+
const { classes, cx } = useStyles34();
|
|
5834
5846
|
return /* @__PURE__ */ jsx101("div", { className: classes.container, children: /* @__PURE__ */ jsxs65(
|
|
5835
5847
|
FormGroup,
|
|
5836
5848
|
{
|
|
@@ -6255,7 +6267,7 @@ import {
|
|
|
6255
6267
|
ListSubheader,
|
|
6256
6268
|
Tooltip as Tooltip7
|
|
6257
6269
|
} from "@mui/material";
|
|
6258
|
-
import { makeStyles as
|
|
6270
|
+
import { makeStyles as makeStyles35 } from "tss-react/mui";
|
|
6259
6271
|
|
|
6260
6272
|
// src/utils/useGetActiveSection.ts
|
|
6261
6273
|
import { useEffect as useEffect6, useState as useState10 } from "react";
|
|
@@ -6263,7 +6275,7 @@ var transformNameToID = (name) => name.replaceAll(" ", "_").toLocaleLowerCase();
|
|
|
6263
6275
|
|
|
6264
6276
|
// src/components/RenderContentList/RenderContentList.tsx
|
|
6265
6277
|
import { jsx as jsx105, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
6266
|
-
var
|
|
6278
|
+
var useStyles35 = makeStyles35()(
|
|
6267
6279
|
(_theme, _params, classes) => ({
|
|
6268
6280
|
root: {
|
|
6269
6281
|
[`&.${classes.selected}`]: {
|
|
@@ -6282,7 +6294,7 @@ var RenderContentList = ({
|
|
|
6282
6294
|
warningItems,
|
|
6283
6295
|
warningMessage = "Missing information on this section"
|
|
6284
6296
|
}) => {
|
|
6285
|
-
const { classes } =
|
|
6297
|
+
const { classes } = useStyles35();
|
|
6286
6298
|
const [active, setActive] = useState11(activeSection);
|
|
6287
6299
|
const observer = useRef5(null);
|
|
6288
6300
|
const isScrolling = useRef5(false);
|
|
@@ -6389,9 +6401,9 @@ var RenderContentList_default = RenderContentList;
|
|
|
6389
6401
|
|
|
6390
6402
|
// src/components/RowProductCard/RowProductCard.tsx
|
|
6391
6403
|
import { Box as Box28, Divider as Divider6, Paper as Paper5, Typography as Typography25 } from "@mui/material";
|
|
6392
|
-
import { makeStyles as
|
|
6404
|
+
import { makeStyles as makeStyles36 } from "tss-react/mui";
|
|
6393
6405
|
import { Fragment as Fragment11, jsx as jsx106, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
6394
|
-
var
|
|
6406
|
+
var useStyles36 = makeStyles36()((theme) => ({
|
|
6395
6407
|
wrapper: {
|
|
6396
6408
|
display: "flex",
|
|
6397
6409
|
gap: theme.spacing(2),
|
|
@@ -6422,7 +6434,7 @@ var RowProductCard = ({
|
|
|
6422
6434
|
product,
|
|
6423
6435
|
size = "medium"
|
|
6424
6436
|
}) => {
|
|
6425
|
-
const { classes, cx } =
|
|
6437
|
+
const { classes, cx } = useStyles36();
|
|
6426
6438
|
const hasColumns = columns.length >= 1;
|
|
6427
6439
|
const imageSize = {
|
|
6428
6440
|
small: "c_productbust__image_sm",
|
|
@@ -6489,9 +6501,9 @@ var RowProductCard_default = RowProductCard;
|
|
|
6489
6501
|
// src/components/ScrollableDialog/ScrollableDialog.tsx
|
|
6490
6502
|
import { useEffect as useEffect8, useRef as useRef6, useState as useState12 } from "react";
|
|
6491
6503
|
import { Box as Box29, Dialog as Dialog4, Divider as Divider7, Fade, Paper as Paper6, Typography as Typography26 } from "@mui/material";
|
|
6492
|
-
import { makeStyles as
|
|
6504
|
+
import { makeStyles as makeStyles37 } from "tss-react/mui";
|
|
6493
6505
|
import { jsx as jsx107, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
6494
|
-
var
|
|
6506
|
+
var useStyles37 = makeStyles37()((theme) => ({
|
|
6495
6507
|
dialog: {
|
|
6496
6508
|
margin: "0 auto",
|
|
6497
6509
|
[theme.breakpoints.up("md")]: {
|
|
@@ -6533,7 +6545,7 @@ var ScrollableDialog = ({
|
|
|
6533
6545
|
const [bodyHeight, setBodyHeight] = useState12(0);
|
|
6534
6546
|
const [hasScrollBar, setHasScrollBar] = useState12(false);
|
|
6535
6547
|
const [maxDialogHeight, setMaxDialogHeight] = useState12(0);
|
|
6536
|
-
const { classes, cx } =
|
|
6548
|
+
const { classes, cx } = useStyles37();
|
|
6537
6549
|
const headerRef = useRef6(null);
|
|
6538
6550
|
const footerRef = useRef6(null);
|
|
6539
6551
|
const titleRef = useRef6(null);
|
|
@@ -6619,7 +6631,7 @@ var ScrollableDialog_default = ScrollableDialog;
|
|
|
6619
6631
|
|
|
6620
6632
|
// src/components/SearchAndFilterHeader/SearchAndFilterHeader.tsx
|
|
6621
6633
|
import { Box as Box30, Paper as Paper8 } from "@mui/material";
|
|
6622
|
-
import { makeStyles as
|
|
6634
|
+
import { makeStyles as makeStyles39 } from "tss-react/mui";
|
|
6623
6635
|
|
|
6624
6636
|
// src/components/SearchWithFilters/SearchWithFilters.tsx
|
|
6625
6637
|
import { useState as useState13, useEffect as useEffect9 } from "react";
|
|
@@ -6630,9 +6642,9 @@ import {
|
|
|
6630
6642
|
Search as SearchIcon
|
|
6631
6643
|
} from "@mui/icons-material";
|
|
6632
6644
|
import { Button as Button14, Divider as Divider8, InputBase, Paper as Paper7 } from "@mui/material";
|
|
6633
|
-
import { makeStyles as
|
|
6645
|
+
import { makeStyles as makeStyles38 } from "tss-react/mui";
|
|
6634
6646
|
import { jsx as jsx108, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
6635
|
-
var
|
|
6647
|
+
var useStyles38 = makeStyles38()((theme) => ({
|
|
6636
6648
|
searchContainer: {
|
|
6637
6649
|
height: 46,
|
|
6638
6650
|
padding: "4px",
|
|
@@ -6677,7 +6689,7 @@ var SearchWithFilters = ({
|
|
|
6677
6689
|
disabled = false
|
|
6678
6690
|
}) => {
|
|
6679
6691
|
const [searchText, setSearchText] = useState13(searchValue);
|
|
6680
|
-
const { classes } =
|
|
6692
|
+
const { classes } = useStyles38();
|
|
6681
6693
|
const handleTextChange = (e) => {
|
|
6682
6694
|
const { value } = e.target;
|
|
6683
6695
|
setSearchText(value);
|
|
@@ -6724,7 +6736,7 @@ var SearchWithFilters_default = React6.memo(SearchWithFilters);
|
|
|
6724
6736
|
|
|
6725
6737
|
// src/components/SearchAndFilterHeader/SearchAndFilterHeader.tsx
|
|
6726
6738
|
import { jsx as jsx109, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
6727
|
-
var
|
|
6739
|
+
var useStyles39 = makeStyles39()((theme) => ({
|
|
6728
6740
|
wrapper: {
|
|
6729
6741
|
display: "flex",
|
|
6730
6742
|
flexDirection: "column",
|
|
@@ -6758,7 +6770,7 @@ var SearchAndFilterHeader = ({
|
|
|
6758
6770
|
appliedFiltersComponent,
|
|
6759
6771
|
searchValue
|
|
6760
6772
|
}) => {
|
|
6761
|
-
const { classes } =
|
|
6773
|
+
const { classes } = useStyles39();
|
|
6762
6774
|
return /* @__PURE__ */ jsx109(Paper8, { children: /* @__PURE__ */ jsxs73(Box30, { className: classes.wrapper, children: [
|
|
6763
6775
|
/* @__PURE__ */ jsxs73(Box30, { className: classes.container, children: [
|
|
6764
6776
|
/* @__PURE__ */ jsxs73(Box30, { className: classes.leftSection, children: [
|
|
@@ -6785,7 +6797,7 @@ var SearchAndFilterHeader_default = SearchAndFilterHeader;
|
|
|
6785
6797
|
// src/components/SearchAndFilterHeader/SearchAndFilterHeaderForTable.tsx
|
|
6786
6798
|
import * as React7 from "react";
|
|
6787
6799
|
import { Box as Box32 } from "@mui/material";
|
|
6788
|
-
import { makeStyles as
|
|
6800
|
+
import { makeStyles as makeStyles41 } from "tss-react/mui";
|
|
6789
6801
|
|
|
6790
6802
|
// src/components/SearchWithFilters/SearchWithFiltersForTable.tsx
|
|
6791
6803
|
import { useState as useState14, memo as memo16 } from "react";
|
|
@@ -6795,9 +6807,9 @@ import {
|
|
|
6795
6807
|
Search as SearchIcon2
|
|
6796
6808
|
} from "@mui/icons-material";
|
|
6797
6809
|
import { Box as Box31, Button as Button15, Divider as Divider9, InputBase as InputBase2, Paper as Paper9 } from "@mui/material";
|
|
6798
|
-
import { makeStyles as
|
|
6810
|
+
import { makeStyles as makeStyles40 } from "tss-react/mui";
|
|
6799
6811
|
import { Fragment as Fragment12, jsx as jsx110, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
6800
|
-
var
|
|
6812
|
+
var useStyles40 = makeStyles40()((theme) => ({
|
|
6801
6813
|
c_search: {
|
|
6802
6814
|
height: 46,
|
|
6803
6815
|
padding: "4px",
|
|
@@ -6855,7 +6867,7 @@ var SearchWithFiltersForTable = (props) => {
|
|
|
6855
6867
|
enterPressedInSearch,
|
|
6856
6868
|
searchedValue
|
|
6857
6869
|
} = props;
|
|
6858
|
-
const { classes } =
|
|
6870
|
+
const { classes } = useStyles40();
|
|
6859
6871
|
const [searchText, setSearchText] = useState14("");
|
|
6860
6872
|
const handleTextChange = (e) => {
|
|
6861
6873
|
const { value } = e.target;
|
|
@@ -6909,7 +6921,7 @@ var SearchWithFiltersForTable_default = memo16(SearchWithFiltersForTable);
|
|
|
6909
6921
|
|
|
6910
6922
|
// src/components/SearchAndFilterHeader/SearchAndFilterHeaderForTable.tsx
|
|
6911
6923
|
import { jsx as jsx111, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
6912
|
-
var
|
|
6924
|
+
var useStyles41 = makeStyles41()((theme) => ({
|
|
6913
6925
|
container: {
|
|
6914
6926
|
display: "flex",
|
|
6915
6927
|
alignItems: "center",
|
|
@@ -6939,7 +6951,7 @@ var SearchAndFilterHeaderForTable = (props) => {
|
|
|
6939
6951
|
button,
|
|
6940
6952
|
searchedValue
|
|
6941
6953
|
} = props;
|
|
6942
|
-
const { classes } =
|
|
6954
|
+
const { classes } = useStyles41();
|
|
6943
6955
|
return /* @__PURE__ */ jsxs75(Box32, { className: classes.container, children: [
|
|
6944
6956
|
/* @__PURE__ */ jsxs75(Box32, { className: classes.leftSection, children: [
|
|
6945
6957
|
/* @__PURE__ */ jsx111(AppLabel_default, { appName }),
|
|
@@ -7009,9 +7021,9 @@ var SearchHeader = memo18(
|
|
|
7009
7021
|
import HistoryIcon from "@mui/icons-material/History";
|
|
7010
7022
|
import InfoIcon from "@mui/icons-material/Info";
|
|
7011
7023
|
import { Box as Box34, Divider as Divider10, IconButton as IconButton4, Tooltip as Tooltip8, Typography as Typography27 } from "@mui/material";
|
|
7012
|
-
import { makeStyles as
|
|
7024
|
+
import { makeStyles as makeStyles42 } from "tss-react/mui";
|
|
7013
7025
|
import { jsx as jsx113, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
7014
|
-
var
|
|
7026
|
+
var useStyles42 = makeStyles42()((theme) => ({
|
|
7015
7027
|
container: {
|
|
7016
7028
|
display: "flex",
|
|
7017
7029
|
alignItems: "flex-end",
|
|
@@ -7052,7 +7064,7 @@ var SectionName = ({
|
|
|
7052
7064
|
buttonDisabled,
|
|
7053
7065
|
openHistoryLog
|
|
7054
7066
|
}) => {
|
|
7055
|
-
const { classes } =
|
|
7067
|
+
const { classes } = useStyles42();
|
|
7056
7068
|
const handleScroll = (e) => {
|
|
7057
7069
|
e.preventDefault();
|
|
7058
7070
|
if (sectionId) {
|
|
@@ -7369,9 +7381,9 @@ var SmartSelect = forwardRef2(
|
|
|
7369
7381
|
import { memo as memo19 } from "react";
|
|
7370
7382
|
import { Typography as Typography29 } from "@mui/material";
|
|
7371
7383
|
import { red as red2 } from "@mui/material/colors";
|
|
7372
|
-
import { makeStyles as
|
|
7384
|
+
import { makeStyles as makeStyles43 } from "tss-react/mui";
|
|
7373
7385
|
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
7374
|
-
var
|
|
7386
|
+
var useStyles43 = makeStyles43()((theme) => ({
|
|
7375
7387
|
red: {
|
|
7376
7388
|
backgroundColor: red2["50"],
|
|
7377
7389
|
color: red2["500"],
|
|
@@ -7384,7 +7396,7 @@ var useStyles42 = makeStyles42()((theme) => ({
|
|
|
7384
7396
|
}
|
|
7385
7397
|
}));
|
|
7386
7398
|
var SquareLabel = ({ color, copy }) => {
|
|
7387
|
-
const { classes } =
|
|
7399
|
+
const { classes } = useStyles43();
|
|
7388
7400
|
return /* @__PURE__ */ jsx116(Typography29, { className: classes[color], children: copy });
|
|
7389
7401
|
};
|
|
7390
7402
|
var SquareLabel_default = memo19(SquareLabel);
|
|
@@ -7730,7 +7742,7 @@ import {
|
|
|
7730
7742
|
TableRow as TableRow2,
|
|
7731
7743
|
TableSortLabel as TableSortLabel2
|
|
7732
7744
|
} from "@mui/material";
|
|
7733
|
-
import { makeStyles as
|
|
7745
|
+
import { makeStyles as makeStyles44 } from "tss-react/mui";
|
|
7734
7746
|
import { v4 as uuidv4 } from "uuid";
|
|
7735
7747
|
|
|
7736
7748
|
// src/components/TableLoading/TableLoading.tsx
|
|
@@ -7789,7 +7801,7 @@ function calculateRowsPerPage(rowHeight) {
|
|
|
7789
7801
|
|
|
7790
7802
|
// src/components/Table/Table.tsx
|
|
7791
7803
|
import { jsx as jsx121, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
7792
|
-
var
|
|
7804
|
+
var useStyles44 = makeStyles44()(() => ({
|
|
7793
7805
|
root: {
|
|
7794
7806
|
height: "calc(100vh - 262px)",
|
|
7795
7807
|
overflow: "scroll"
|
|
@@ -7828,7 +7840,7 @@ var Table = ({
|
|
|
7828
7840
|
appliedFilters?.sortField || "delivery_date"
|
|
7829
7841
|
);
|
|
7830
7842
|
const [rowsPerPage, setRowsPerPage] = useState17(defaultRowsPerPage);
|
|
7831
|
-
const { classes } =
|
|
7843
|
+
const { classes } = useStyles44();
|
|
7832
7844
|
const rowHeight = 56;
|
|
7833
7845
|
const emptyRows = rowsPerPage - Math.min(rowsPerPage, data.length - page * rowsPerPage);
|
|
7834
7846
|
const handleRequestSort = (event, property) => {
|
|
@@ -8131,9 +8143,9 @@ var TableDesktopRowSelectionBar = ({
|
|
|
8131
8143
|
|
|
8132
8144
|
// src/components/TableEmptyResult/TableEmptyResult.tsx
|
|
8133
8145
|
import { TableCell as TableCell5, TableRow as TableRow5, Typography as Typography33 } from "@mui/material";
|
|
8134
|
-
import { makeStyles as
|
|
8146
|
+
import { makeStyles as makeStyles45 } from "tss-react/mui";
|
|
8135
8147
|
import { jsx as jsx126, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
8136
|
-
var
|
|
8148
|
+
var useStyles45 = makeStyles45()(() => ({
|
|
8137
8149
|
tableCellIcon: { padding: 24, height: "calc(100vh - 320px)" },
|
|
8138
8150
|
tableCellDefault: { padding: 24 }
|
|
8139
8151
|
}));
|
|
@@ -8143,7 +8155,7 @@ var TableEmptyResult = ({
|
|
|
8143
8155
|
handleClickOnClearFiltersButton = () => {
|
|
8144
8156
|
}
|
|
8145
8157
|
}) => {
|
|
8146
|
-
const { classes } =
|
|
8158
|
+
const { classes } = useStyles45();
|
|
8147
8159
|
return showClearFilterButton ? /* @__PURE__ */ jsx126(TableRow5, { children: /* @__PURE__ */ jsxs87(
|
|
8148
8160
|
TableCell5,
|
|
8149
8161
|
{
|
|
@@ -9271,9 +9283,9 @@ var TableDesktopToolbar = ({
|
|
|
9271
9283
|
import { memo as memo22, useEffect as useEffect14, useState as useState24 } from "react";
|
|
9272
9284
|
import { ImportExport as ImportExportIcon } from "@mui/icons-material";
|
|
9273
9285
|
import { TableCell as TableCell7, TableHead as TableHead3, TableRow as TableRow6, TableSortLabel as TableSortLabel3 } from "@mui/material";
|
|
9274
|
-
import { makeStyles as
|
|
9286
|
+
import { makeStyles as makeStyles46 } from "tss-react/mui";
|
|
9275
9287
|
import { jsx as jsx135 } from "react/jsx-runtime";
|
|
9276
|
-
var
|
|
9288
|
+
var useStyles46 = makeStyles46()(() => ({
|
|
9277
9289
|
sortLabel: {
|
|
9278
9290
|
"& .MuiTableSortLabel-icon": {
|
|
9279
9291
|
opacity: 1
|
|
@@ -9282,7 +9294,7 @@ var useStyles45 = makeStyles45()(() => ({
|
|
|
9282
9294
|
}));
|
|
9283
9295
|
var TableHeader = ({ cells, onSort = null }) => {
|
|
9284
9296
|
const [sortableCells, setSortableCells] = useState24([]);
|
|
9285
|
-
const { classes } =
|
|
9297
|
+
const { classes } = useStyles46();
|
|
9286
9298
|
useEffect14(() => {
|
|
9287
9299
|
setSortableCells(cells);
|
|
9288
9300
|
}, []);
|
|
@@ -9332,9 +9344,9 @@ var TableHeader_default = memo22(TableHeader);
|
|
|
9332
9344
|
|
|
9333
9345
|
// src/components/TextDivider/TextDivider.tsx
|
|
9334
9346
|
import { Box as Box44, Typography as Typography36, Divider as Divider12, Button as Button20 } from "@mui/material";
|
|
9335
|
-
import { makeStyles as
|
|
9347
|
+
import { makeStyles as makeStyles47 } from "tss-react/mui";
|
|
9336
9348
|
import { jsx as jsx136, jsxs as jsxs92 } from "react/jsx-runtime";
|
|
9337
|
-
var
|
|
9349
|
+
var useStyles47 = makeStyles47()(() => ({
|
|
9338
9350
|
icon: {
|
|
9339
9351
|
fontSize: 20
|
|
9340
9352
|
},
|
|
@@ -9368,7 +9380,7 @@ var TextDivider = ({
|
|
|
9368
9380
|
iconPosition = "left",
|
|
9369
9381
|
titleWeight = "400"
|
|
9370
9382
|
}) => {
|
|
9371
|
-
const { classes } =
|
|
9383
|
+
const { classes } = useStyles47();
|
|
9372
9384
|
const iconColor = color ?? colors.neutral900;
|
|
9373
9385
|
return /* @__PURE__ */ jsxs92(
|
|
9374
9386
|
Box44,
|
|
@@ -9401,11 +9413,11 @@ var TextDivider_default = TextDivider;
|
|
|
9401
9413
|
|
|
9402
9414
|
// src/components/ThemedDateRangePicker/ThemedDateRangePicker.tsx
|
|
9403
9415
|
import { DateRangePicker } from "react-dates";
|
|
9404
|
-
import { makeStyles as
|
|
9416
|
+
import { makeStyles as makeStyles48 } from "tss-react/mui";
|
|
9405
9417
|
import "react-dates/initialize";
|
|
9406
9418
|
import "react-dates/lib/css/_datepicker.css";
|
|
9407
9419
|
import { jsx as jsx137 } from "react/jsx-runtime";
|
|
9408
|
-
var
|
|
9420
|
+
var useStyles48 = makeStyles48()((theme) => ({
|
|
9409
9421
|
wrapper: {
|
|
9410
9422
|
"& .DateRangePicker": {
|
|
9411
9423
|
backgroundColor: theme.palette.mode === "dark" ? theme.palette.grey[900] : colors.neutral100,
|
|
@@ -9499,7 +9511,7 @@ var ThemedDateRangePicker = ({
|
|
|
9499
9511
|
className,
|
|
9500
9512
|
...props
|
|
9501
9513
|
}) => {
|
|
9502
|
-
const { classes, cx } =
|
|
9514
|
+
const { classes, cx } = useStyles48();
|
|
9503
9515
|
return /* @__PURE__ */ jsx137("div", { className: cx(classes.wrapper, className), children: /* @__PURE__ */ jsx137(DateRangePicker, { ...props }) });
|
|
9504
9516
|
};
|
|
9505
9517
|
var ThemedDateRangePicker_default = ThemedDateRangePicker;
|
|
@@ -9507,9 +9519,9 @@ var ThemedDateRangePicker_default = ThemedDateRangePicker;
|
|
|
9507
9519
|
// src/components/TheToolbar/TheToolbar.tsx
|
|
9508
9520
|
import { memo as memo23 } from "react";
|
|
9509
9521
|
import { AppBar, Box as Box45, Toolbar } from "@mui/material";
|
|
9510
|
-
import { makeStyles as
|
|
9522
|
+
import { makeStyles as makeStyles49 } from "tss-react/mui";
|
|
9511
9523
|
import { jsx as jsx138, jsxs as jsxs93 } from "react/jsx-runtime";
|
|
9512
|
-
var
|
|
9524
|
+
var useStyles49 = makeStyles49()((theme) => ({
|
|
9513
9525
|
menuButton: {
|
|
9514
9526
|
color: theme.palette.primary.contrastText
|
|
9515
9527
|
},
|
|
@@ -9525,13 +9537,12 @@ var TheToolbar = ({
|
|
|
9525
9537
|
handleOpen,
|
|
9526
9538
|
LeftDrawer,
|
|
9527
9539
|
leftSection,
|
|
9528
|
-
rightSection
|
|
9529
|
-
isAuthenticated = true
|
|
9540
|
+
rightSection
|
|
9530
9541
|
}) => {
|
|
9531
|
-
const { classes } =
|
|
9542
|
+
const { classes } = useStyles49();
|
|
9532
9543
|
return /* @__PURE__ */ jsxs93(Box45, { children: [
|
|
9533
9544
|
/* @__PURE__ */ jsx138(AppBar, { children: /* @__PURE__ */ jsxs93(Toolbar, { className: classes.topBar, children: [
|
|
9534
|
-
|
|
9545
|
+
/* @__PURE__ */ jsx138(
|
|
9535
9546
|
RoundButton_default,
|
|
9536
9547
|
{
|
|
9537
9548
|
className: classes.menuButton,
|
|
@@ -9539,7 +9550,7 @@ var TheToolbar = ({
|
|
|
9539
9550
|
noStrokes: true,
|
|
9540
9551
|
onClick: handleOpen
|
|
9541
9552
|
}
|
|
9542
|
-
)
|
|
9553
|
+
),
|
|
9543
9554
|
/* @__PURE__ */ jsx138(
|
|
9544
9555
|
CompanyLogo_default,
|
|
9545
9556
|
{
|
|
@@ -9608,9 +9619,9 @@ import {
|
|
|
9608
9619
|
Paper as Paper13,
|
|
9609
9620
|
Fade as Fade2
|
|
9610
9621
|
} from "@mui/material";
|
|
9611
|
-
import { makeStyles as
|
|
9622
|
+
import { makeStyles as makeStyles50 } from "tss-react/mui";
|
|
9612
9623
|
import { jsx as jsx140, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
9613
|
-
var
|
|
9624
|
+
var useStyles50 = makeStyles50()((theme) => ({
|
|
9614
9625
|
paper: {
|
|
9615
9626
|
padding: theme.spacing(2)
|
|
9616
9627
|
},
|
|
@@ -9638,7 +9649,7 @@ var TwoButtonDialog = ({
|
|
|
9638
9649
|
cancelLabel = "CANCEL",
|
|
9639
9650
|
cancelButton
|
|
9640
9651
|
}) => {
|
|
9641
|
-
const { classes } =
|
|
9652
|
+
const { classes } = useStyles50();
|
|
9642
9653
|
return /* @__PURE__ */ jsx140(
|
|
9643
9654
|
Dialog5,
|
|
9644
9655
|
{
|