@natoora-libs/core 0.1.13-dev-doug-4 → 0.1.13-mui-upgrade-2

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.
@@ -1003,9 +1003,7 @@ var BottomBar_default = BottomBar;
1003
1003
  // src/components/BoxButton/BoxButton.tsx
1004
1004
  var import_react3 = require("react");
1005
1005
  var import_material8 = require("@mui/material");
1006
- var import_green = __toESM(require("@mui/material/colors/green"), 1);
1007
- var import_orange = __toESM(require("@mui/material/colors/orange"), 1);
1008
- var import_red = __toESM(require("@mui/material/colors/red"), 1);
1006
+ var import_colors5 = require("@mui/material/colors");
1009
1007
  var import_mui6 = require("tss-react/mui");
1010
1008
  var import_jsx_runtime9 = require("react/jsx-runtime");
1011
1009
  var useStyles6 = (0, import_mui6.makeStyles)()((theme) => ({
@@ -1032,17 +1030,17 @@ var useStyles6 = (0, import_mui6.makeStyles)()((theme) => ({
1032
1030
  borderStyle: "solid"
1033
1031
  },
1034
1032
  green: {
1035
- borderColor: import_green.default["500"],
1033
+ borderColor: import_colors5.green["500"],
1036
1034
  borderWidth: 3,
1037
1035
  borderStyle: "solid"
1038
1036
  },
1039
1037
  red: {
1040
- borderColor: import_red.default["500"],
1038
+ borderColor: import_colors5.red["500"],
1041
1039
  borderWidth: 3,
1042
1040
  borderStyle: "solid"
1043
1041
  },
1044
1042
  orange: {
1045
- borderColor: import_orange.default["500"],
1043
+ borderColor: import_colors5.orange["500"],
1046
1044
  borderWidth: 3,
1047
1045
  borderStyle: "solid"
1048
1046
  },
@@ -3869,7 +3867,7 @@ var DataGrid_default = DataGrid;
3869
3867
  var import_moment = __toESM(require("moment"), 1);
3870
3868
 
3871
3869
  // src/resources/styles/themes/default.js
3872
- var import_grey = __toESM(require("@mui/material/colors/grey"), 1);
3870
+ var import_colors25 = require("@mui/material/colors");
3873
3871
  var import_styles = require("@mui/material/styles");
3874
3872
  var defaultTheme = (0, import_styles.createTheme)({
3875
3873
  typography: {
@@ -3884,14 +3882,14 @@ var defaultTheme = (0, import_styles.createTheme)({
3884
3882
  primary: {
3885
3883
  main: colors.muiPrimary,
3886
3884
  alternate: colors.muiPrimaryAlternate,
3887
- light: import_grey.default["100"],
3888
- contrastText: import_grey.default["50"]
3885
+ light: import_colors25.grey["100"],
3886
+ contrastText: import_colors25.grey["50"]
3889
3887
  },
3890
3888
  secondary: {
3891
3889
  main: colors.muiSecondary,
3892
3890
  alternate: colors.muiSecondaryAlternate,
3893
- dark: import_grey.default["900"],
3894
- light: import_grey.default["50"]
3891
+ dark: import_colors25.grey["900"],
3892
+ light: import_colors25.grey["50"]
3895
3893
  },
3896
3894
  success: {
3897
3895
  main: colors.muiSuccess,
@@ -4526,7 +4524,7 @@ var Loading_default = Loading;
4526
4524
  // src/components/LocationsSectionInfo/LocationsSectionInfo.tsx
4527
4525
  var import_react18 = require("react");
4528
4526
  var import_material36 = require("@mui/material");
4529
- var import_colors31 = require("@mui/material/colors");
4527
+ var import_colors33 = require("@mui/material/colors");
4530
4528
  var import_classnames2 = __toESM(require("classnames"), 1);
4531
4529
  var import_mui32 = require("tss-react/mui");
4532
4530
  var import_jsx_runtime86 = require("react/jsx-runtime");
@@ -4555,8 +4553,8 @@ var useStyles30 = (0, import_mui32.makeStyles)()(() => ({
4555
4553
  borderColor: colors.neutral100
4556
4554
  },
4557
4555
  pickingStockChip: {
4558
- backgroundColor: import_colors31.purple[50],
4559
- color: import_colors31.purple[500]
4556
+ backgroundColor: import_colors33.purple[50],
4557
+ color: import_colors33.purple[500]
4560
4558
  }
4561
4559
  }));
4562
4560
  var LocationsSectionInfo = ({
@@ -6719,13 +6717,13 @@ var SmartSelect_default = SmartSelect;
6719
6717
  // src/components/SquareLabel/SquareLabel.tsx
6720
6718
  var import_react30 = require("react");
6721
6719
  var import_material56 = require("@mui/material");
6722
- var import_red2 = __toESM(require("@mui/material/colors/red"), 1);
6720
+ var import_red = __toESM(require("@mui/material/colors/red"), 1);
6723
6721
  var import_mui50 = require("tss-react/mui");
6724
6722
  var import_jsx_runtime107 = require("react/jsx-runtime");
6725
6723
  var useStyles45 = (0, import_mui50.makeStyles)()((theme) => ({
6726
6724
  red: {
6727
- backgroundColor: import_red2.default["50"],
6728
- color: import_red2.default["500"],
6725
+ backgroundColor: import_red.default["50"],
6726
+ color: import_red.default["500"],
6729
6727
  padding: theme.spacing(1.5),
6730
6728
  borderRadius: "5px",
6731
6729
  marginTop: theme.spacing(1),
@@ -6910,7 +6908,7 @@ var SmartTableHeader = ({
6910
6908
  flexDirection: "row",
6911
6909
  gap: headCell.disableSort ? 1 : 0,
6912
6910
  children: [
6913
- headCell.disableSort ? headCell.RenderHeader ?? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material58.Tooltip, { title: headCell.labelTooltip ?? "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material58.Typography, { variant: "subtitle2", mt: 0.25, fontWeight: 600, children: headCell.label }) }) : /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material58.Tooltip, { title: headCell.labelTooltip ?? "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
6911
+ headCell.disableSort ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material58.Typography, { variant: "subtitle2", mt: 0.25, fontWeight: 600, children: headCell.label }) : /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
6914
6912
  import_material58.TableSortLabel,
6915
6913
  {
6916
6914
  "data-testid": "table-sort-label",
@@ -6922,7 +6920,7 @@ var SmartTableHeader = ({
6922
6920
  orderBy === headCell.id ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("span", { className: classes.visuallyHidden, children: order === "desc" ? "sorted descending" : "sorted ascending" }) : null
6923
6921
  ]
6924
6922
  }
6925
- ) }),
6923
+ ),
6926
6924
  headCell.refetchFilterOptions ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
6927
6925
  SmartTableHeaderFilterMenu_default,
6928
6926
  {
@@ -7711,10 +7709,7 @@ var TableDesktopFooter = ({
7711
7709
 
7712
7710
  // src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
7713
7711
  var import_react38 = require("react");
7714
- var import_Check2 = __toESM(require("@mui/icons-material/Check"), 1);
7715
- var import_Close = __toESM(require("@mui/icons-material/Close"), 1);
7716
- var import_Edit = __toESM(require("@mui/icons-material/Edit"), 1);
7717
- var import_material66 = require("@mui/material");
7712
+ var import_material65 = require("@mui/material");
7718
7713
 
7719
7714
  // src/components/TableDesktopRowCell/TableDesktopSmartSelect.tsx
7720
7715
  var import_react36 = require("react");
@@ -7772,9 +7767,12 @@ var TableDesktopSmartSelect = (0, import_react36.memo)(({
7772
7767
  );
7773
7768
  });
7774
7769
 
7770
+ // src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
7771
+ var import_Check2 = __toESM(require("@mui/icons-material/Check"), 1);
7772
+
7775
7773
  // src/components/TableDesktopRowCell/TableDesktopTextField.tsx
7774
+ var import_TextField = __toESM(require("@mui/material/TextField"), 1);
7776
7775
  var import_react37 = require("react");
7777
- var import_material65 = require("@mui/material");
7778
7776
  var import_jsx_runtime117 = require("react/jsx-runtime");
7779
7777
  var TableDesktopTextField = ({
7780
7778
  rowId,
@@ -7784,54 +7782,34 @@ var TableDesktopTextField = ({
7784
7782
  validateInput,
7785
7783
  onUpdateEditableCell
7786
7784
  }) => {
7787
- const [input, setInput] = (0, import_react37.useState)(editInitialValue);
7788
- const hasValidationError = (0, import_react37.useMemo)(() => !validateInput?.(input), [input, validateInput]);
7789
- const commitValue = (value) => {
7790
- if (hasValidationError) {
7791
- return;
7792
- }
7793
- onUpdateEditableCell?.(rowId, value);
7794
- };
7795
- const handleKeyDown = (e) => {
7796
- if (e.key === "Enter") {
7797
- e.preventDefault();
7798
- commitValue(input);
7799
- }
7800
- };
7785
+ const [value, setValue] = (0, import_react37.useState)(editInitialValue);
7786
+ const hasError = (0, import_react37.useMemo)(() => !validateInput?.(value), [value, validateInput]);
7801
7787
  return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7802
- import_material65.TextField,
7788
+ import_TextField.default,
7803
7789
  {
7804
7790
  fullWidth: true,
7805
7791
  variant: "standard",
7806
- value: input,
7792
+ defaultValue: value,
7807
7793
  label: inputLabel,
7808
- error: hasValidationError,
7794
+ error: hasError,
7809
7795
  disabled,
7810
- onKeyDown: handleKeyDown,
7811
- onChange: ({ target: { value } }) => {
7812
- setInput(value);
7796
+ onChange: ({ target: { value: value2 } }) => {
7797
+ setValue(value2);
7813
7798
  },
7814
- onBlur: ({ target: { value } }) => {
7815
- commitValue(value);
7799
+ onBlur: ({ target: { value: value2 } }) => {
7800
+ if (hasError) {
7801
+ return;
7802
+ }
7803
+ onUpdateEditableCell?.(rowId, value2);
7816
7804
  }
7817
7805
  }
7818
7806
  );
7819
7807
  };
7820
7808
 
7821
7809
  // src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
7810
+ var import_Close = __toESM(require("@mui/icons-material/Close"), 1);
7811
+ var import_Edit = __toESM(require("@mui/icons-material/Edit"), 1);
7822
7812
  var import_jsx_runtime118 = require("react/jsx-runtime");
7823
- var getReadOnlyBooleanIcon = (value) => {
7824
- if (value) {
7825
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_Check2.default, { sx: { fontSize: 16 } });
7826
- }
7827
- return "-";
7828
- };
7829
- var renderReadOnlyValue = (value) => {
7830
- if (typeof value === "boolean") {
7831
- return getReadOnlyBooleanIcon(value);
7832
- }
7833
- return value;
7834
- };
7835
7813
  var TableDesktopRowCell = ({
7836
7814
  inputLabel,
7837
7815
  editInitialValue,
@@ -7887,7 +7865,7 @@ var TableDesktopRowCell = ({
7887
7865
  }
7888
7866
  ),
7889
7867
  "checkbox": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7890
- import_material66.Checkbox,
7868
+ import_material65.Checkbox,
7891
7869
  {
7892
7870
  disableRipple: true,
7893
7871
  disabled,
@@ -7909,7 +7887,7 @@ var TableDesktopRowCell = ({
7909
7887
  }
7910
7888
  ),
7911
7889
  "numeric": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7912
- import_material66.TextField,
7890
+ import_material65.TextField,
7913
7891
  {
7914
7892
  fullWidth: true,
7915
7893
  variant: "standard",
@@ -7930,12 +7908,18 @@ var TableDesktopRowCell = ({
7930
7908
  }
7931
7909
  )
7932
7910
  };
7911
+ const getReadOnlyBooleanIcon = (value) => {
7912
+ if (value) {
7913
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_Check2.default, { sx: { fontSize: 16 } });
7914
+ }
7915
+ return "-";
7916
+ };
7933
7917
  const handleEditClick = (e) => {
7934
7918
  e.stopPropagation();
7935
7919
  setIsEditMode((prev) => !prev);
7936
7920
  };
7937
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_material66.Tooltip, { title: isOverflowed ? String(readOnlyValue) : "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7938
- import_material66.TableCell,
7921
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_material65.Tooltip, { title: isOverflowed ? String(readOnlyValue) : "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7922
+ import_material65.TableCell,
7939
7923
  {
7940
7924
  align: "left",
7941
7925
  onMouseEnter: () => editableCellType && !disabled && setIsCellHovered(true),
@@ -7953,7 +7937,7 @@ var TableDesktopRowCell = ({
7953
7937
  background: isEditMode ? colors.lightBlueBackground : (theme) => theme.palette.background.default
7954
7938
  },
7955
7939
  children: /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(
7956
- import_material66.Box,
7940
+ import_material65.Box,
7957
7941
  {
7958
7942
  p: 1,
7959
7943
  ref: cellRef,
@@ -7961,8 +7945,8 @@ var TableDesktopRowCell = ({
7961
7945
  textOverflow: "ellipsis",
7962
7946
  whiteSpace: "nowrap",
7963
7947
  children: [
7964
- isCellHovered ? /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_material66.Tooltip, { title: isEditMode ? "" : "Toggle Edit Mode", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7965
- import_material66.IconButton,
7948
+ isCellHovered ? /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_material65.Tooltip, { title: isEditMode ? "" : "Toggle Edit Mode", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7949
+ import_material65.IconButton,
7966
7950
  {
7967
7951
  onClick: handleEditClick,
7968
7952
  sx: {
@@ -7979,7 +7963,7 @@ var TableDesktopRowCell = ({
7979
7963
  children: isEditMode ? /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_Close.default, { fontSize: "small", color: "error" }) : /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_Edit.default, { fontSize: "small" })
7980
7964
  }
7981
7965
  ) }) : null,
7982
- isEditMode && editableCellType ? editableComponents[editableCellType] : renderReadOnlyValue(readOnlyValue)
7966
+ isEditMode && editableCellType ? editableComponents[editableCellType] : typeof readOnlyValue === "boolean" ? getReadOnlyBooleanIcon(readOnlyValue) : readOnlyValue
7983
7967
  ]
7984
7968
  }
7985
7969
  )
@@ -7990,7 +7974,7 @@ var TableDesktopRowCell = ({
7990
7974
  // src/components/TableHeader/TableHeader.tsx
7991
7975
  var import_react39 = require("react");
7992
7976
  var import_icons_material12 = require("@mui/icons-material");
7993
- var import_material67 = require("@mui/material");
7977
+ var import_material66 = require("@mui/material");
7994
7978
  var import_mui57 = require("tss-react/mui");
7995
7979
  var import_jsx_runtime119 = require("react/jsx-runtime");
7996
7980
  var useStyles51 = (0, import_mui57.makeStyles)()(() => ({
@@ -8037,8 +8021,8 @@ var TableHeader = ({ cells, onSort = null }) => {
8037
8021
  });
8038
8022
  setSortableCells(sortedCells);
8039
8023
  };
8040
- return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material67.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material67.TableRow, { children: sortableCells.map((cell, key) => /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material67.TableCell, { children: cell.isSortable ? /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
8041
- import_material67.TableSortLabel,
8024
+ return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material66.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material66.TableRow, { children: sortableCells.map((cell, key) => /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material66.TableCell, { children: cell.isSortable ? /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
8025
+ import_material66.TableSortLabel,
8042
8026
  {
8043
8027
  className: classes.sortLabel,
8044
8028
  direction: cell?.direction || "asc",
@@ -8051,7 +8035,7 @@ var TableHeader = ({ cells, onSort = null }) => {
8051
8035
  var TableHeader_default = (0, import_react39.memo)(TableHeader);
8052
8036
 
8053
8037
  // src/components/TextDivider/TextDivider.tsx
8054
- var import_material68 = require("@mui/material");
8038
+ var import_material67 = require("@mui/material");
8055
8039
  var import_mui58 = require("tss-react/mui");
8056
8040
  var import_jsx_runtime120 = require("react/jsx-runtime");
8057
8041
  var useStyles52 = (0, import_mui58.makeStyles)()(() => ({
@@ -8091,18 +8075,18 @@ var TextDivider = ({
8091
8075
  const { classes } = useStyles52();
8092
8076
  const iconColor = color ?? colors.neutral900;
8093
8077
  return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
8094
- import_material68.Box,
8078
+ import_material67.Box,
8095
8079
  {
8096
8080
  display: "flex",
8097
8081
  alignItems: "center",
8098
8082
  justifyContent: "space-between",
8099
8083
  className: classes.container,
8100
8084
  children: [
8101
- /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material68.Divider, { className: classes.leftDivider }),
8102
- /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material68.Button, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_material68.Box, { className: classes.center, children: [
8085
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Divider, { className: classes.leftDivider }),
8086
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Button, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_material67.Box, { className: classes.center, children: [
8103
8087
  Icon2 && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } }),
8104
8088
  /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
8105
- import_material68.Typography,
8089
+ import_material67.Typography,
8106
8090
  {
8107
8091
  color: "textSecondary",
8108
8092
  className: classes.title,
@@ -8112,7 +8096,7 @@ var TextDivider = ({
8112
8096
  ),
8113
8097
  Icon2 && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } })
8114
8098
  ] }) }),
8115
- /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material68.Divider, { className: classes.rightDivider })
8099
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Divider, { className: classes.rightDivider })
8116
8100
  ]
8117
8101
  }
8118
8102
  );
@@ -8226,7 +8210,7 @@ var ThemedDateRangePicker_default = ThemedDateRangePicker;
8226
8210
 
8227
8211
  // src/components/TheToolbar/TheToolbar.tsx
8228
8212
  var import_react40 = require("react");
8229
- var import_material69 = require("@mui/material");
8213
+ var import_material68 = require("@mui/material");
8230
8214
  var import_mui60 = require("tss-react/mui");
8231
8215
  var import_jsx_runtime122 = require("react/jsx-runtime");
8232
8216
  var useStyles54 = (0, import_mui60.makeStyles)()((theme) => ({
@@ -8248,8 +8232,8 @@ var TheToolbar = ({
8248
8232
  rightSection
8249
8233
  }) => {
8250
8234
  const { classes } = useStyles54();
8251
- return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material69.Box, { children: [
8252
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material69.AppBar, { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material69.Toolbar, { className: classes.topBar, children: [
8235
+ return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material68.Box, { children: [
8236
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.AppBar, { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material68.Toolbar, { className: classes.topBar, children: [
8253
8237
  /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
8254
8238
  RoundButton_default,
8255
8239
  {
@@ -8268,8 +8252,8 @@ var TheToolbar = ({
8268
8252
  imageLogoLightSmall
8269
8253
  }
8270
8254
  ),
8271
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material69.Box, { ml: 2, children: leftSection }),
8272
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material69.Box, { ml: "auto", children: rightSection })
8255
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.Box, { ml: 2, children: leftSection }),
8256
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.Box, { ml: "auto", children: rightSection })
8273
8257
  ] }) }),
8274
8258
  LeftDrawer
8275
8259
  ] });
@@ -8277,7 +8261,7 @@ var TheToolbar = ({
8277
8261
  var TheToolbar_default = (0, import_react40.memo)(TheToolbar);
8278
8262
 
8279
8263
  // src/components/ToastMessage/ToastMessage.tsx
8280
- var import_material70 = require("@mui/material");
8264
+ var import_material69 = require("@mui/material");
8281
8265
  var import_jsx_runtime123 = require("react/jsx-runtime");
8282
8266
  var ToastMessage = ({
8283
8267
  toastType,
@@ -8285,14 +8269,14 @@ var ToastMessage = ({
8285
8269
  open,
8286
8270
  onClose
8287
8271
  }) => /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
8288
- import_material70.Snackbar,
8272
+ import_material69.Snackbar,
8289
8273
  {
8290
8274
  open,
8291
8275
  autoHideDuration: 1500,
8292
8276
  onClose,
8293
8277
  anchorOrigin: { vertical: "top", horizontal: "right" },
8294
8278
  children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
8295
- import_material70.Alert,
8279
+ import_material69.Alert,
8296
8280
  {
8297
8281
  elevation: 6,
8298
8282
  variant: "filled",
@@ -8318,7 +8302,7 @@ var ToastMessage = ({
8318
8302
  var ToastMessage_default = ToastMessage;
8319
8303
 
8320
8304
  // src/components/TwoButtonDialog/TwoButtonDialog.tsx
8321
- var import_material71 = require("@mui/material");
8305
+ var import_material70 = require("@mui/material");
8322
8306
  var import_mui61 = require("tss-react/mui");
8323
8307
  var import_jsx_runtime124 = require("react/jsx-runtime");
8324
8308
  var useStyles55 = (0, import_mui61.makeStyles)()((theme) => ({
@@ -8351,19 +8335,19 @@ var TwoButtonDialog = ({
8351
8335
  }) => {
8352
8336
  const { classes } = useStyles55();
8353
8337
  return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8354
- import_material71.Dialog,
8338
+ import_material70.Dialog,
8355
8339
  {
8356
8340
  open,
8357
8341
  disableEnforceFocus: true,
8358
8342
  maxWidth: "sm",
8359
8343
  fullWidth: true,
8360
8344
  closeAfterTransition: true,
8361
- BackdropComponent: import_material71.Backdrop,
8345
+ BackdropComponent: import_material70.Backdrop,
8362
8346
  BackdropProps: { timeout: 500 },
8363
- children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material71.Fade, { in: open, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material71.Paper, { className: classes.paper, children: [
8364
- /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material71.Box, { className: classes.mb, children: [
8365
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material71.Typography, { variant: "h5", component: "div", children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8366
- import_material71.Box,
8347
+ children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Fade, { in: open, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Paper, { className: classes.paper, children: [
8348
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Box, { className: classes.mb, children: [
8349
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "h5", component: "div", children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8350
+ import_material70.Box,
8367
8351
  {
8368
8352
  sx: {
8369
8353
  fontWeight: 600
@@ -8372,21 +8356,21 @@ var TwoButtonDialog = ({
8372
8356
  }
8373
8357
  ) }),
8374
8358
  /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
8375
- import_material71.Box,
8359
+ import_material70.Box,
8376
8360
  {
8377
8361
  className: classes.mt,
8378
8362
  sx: {
8379
8363
  fontWeight: 600
8380
8364
  },
8381
8365
  children: [
8382
- subtitle1 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material71.Typography, { variant: "subtitle1", children: subtitle1 }),
8383
- subtitle2 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material71.Typography, { variant: "subtitle1", children: subtitle2 })
8366
+ subtitle1 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "subtitle1", children: subtitle1 }),
8367
+ subtitle2 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "subtitle1", children: subtitle2 })
8384
8368
  ]
8385
8369
  }
8386
8370
  )
8387
8371
  ] }),
8388
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material71.Divider, {}),
8389
- /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material71.Box, { className: classes.buttonContainer, children: [
8372
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Divider, {}),
8373
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Box, { className: classes.buttonContainer, children: [
8390
8374
  /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8391
8375
  FilledButton_default,
8392
8376
  {
@@ -8418,11 +8402,11 @@ var TwoButtonDialog_default = TwoButtonDialog;
8418
8402
 
8419
8403
  // src/components/UserBust/UserBust.tsx
8420
8404
  var import_react41 = require("react");
8421
- var import_material72 = require("@mui/material");
8405
+ var import_material71 = require("@mui/material");
8422
8406
  var import_jsx_runtime125 = require("react/jsx-runtime");
8423
8407
  var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { children: [
8424
8408
  /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
8425
- import_material72.Avatar,
8409
+ import_material71.Avatar,
8426
8410
  {
8427
8411
  src: user.profile_picture,
8428
8412
  alt: "user_avatar",
@@ -8430,8 +8414,8 @@ var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ (0, i
8430
8414
  }
8431
8415
  ),
8432
8416
  /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { style: { paddingTop: 16 }, children: [
8433
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material72.Typography, { ...typographyProps.name, children: `${user.first_name} ${user.last_name}` }),
8434
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material72.Typography, { ...typographyProps.username, children: user.username })
8417
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { ...typographyProps.name, children: `${user.first_name} ${user.last_name}` }),
8418
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { ...typographyProps.username, children: user.username })
8435
8419
  ] })
8436
8420
  ] });
8437
8421
  var UserBust_default = (0, import_react41.memo)(UserBust);