@natoora-libs/core 0.1.9-dev-doug-4 → 0.1.9-dev-doug-5

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.
@@ -383,6 +383,7 @@ __export(components_exports, {
383
383
  Switch: () => Switch_default,
384
384
  Table: () => Table_default,
385
385
  TableDesktop: () => TableDesktop_default,
386
+ TableDesktopFooter: () => TableDesktopFooter,
386
387
  TableDesktopRowActions: () => TableDesktopRowActions,
387
388
  TableDesktopRowCell: () => TableDesktopRowCell,
388
389
  TableDesktopSmartSelect: () => TableDesktopSmartSelect,
@@ -3082,7 +3083,7 @@ var RoundButton = ({
3082
3083
  onClick(e);
3083
3084
  }
3084
3085
  };
3085
- const Button14 = /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3086
+ const Button15 = /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3086
3087
  import_material16.Fab,
3087
3088
  {
3088
3089
  className: cx(
@@ -3106,7 +3107,7 @@ var RoundButton = ({
3106
3107
  children: icon ? iconComponentMap[icon] : children || ""
3107
3108
  }
3108
3109
  );
3109
- return tooltip ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_material16.Tooltip, { title: tooltip, children: Button14 }) : Button14;
3110
+ return tooltip ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_material16.Tooltip, { title: tooltip, children: Button15 }) : Button15;
3110
3111
  };
3111
3112
  var RoundButton_default = RoundButton;
3112
3113
 
@@ -7693,9 +7694,90 @@ var Table2 = ({
7693
7694
  };
7694
7695
  var Table_default = Table2;
7695
7696
 
7696
- // src/components/TableDesktopRowActions/TableDesktopRowActions.tsx
7697
+ // src/components/TableDesktopFooter/TableDesktopFooter.tsx
7698
+ var import_Refresh = __toESM(require("@mui/icons-material/Refresh"), 1);
7697
7699
  var import_material64 = require("@mui/material");
7698
7700
  var import_jsx_runtime115 = require("react/jsx-runtime");
7701
+ var TableDesktopFooter = ({
7702
+ numPages,
7703
+ page,
7704
+ pageSize,
7705
+ pageSizeOptions,
7706
+ handlePageChange,
7707
+ handlePageSizeChange,
7708
+ refetch,
7709
+ isFetching
7710
+ }) => {
7711
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
7712
+ import_material64.Box,
7713
+ {
7714
+ py: 1,
7715
+ gap: 2,
7716
+ display: "flex",
7717
+ justifyContent: "space-between",
7718
+ alignItems: "center",
7719
+ borderTop: `1px solid ${colors.neutral300}`,
7720
+ bgcolor: (theme) => theme.palette.background.default,
7721
+ children: [
7722
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
7723
+ import_material64.Button,
7724
+ {
7725
+ disableRipple: true,
7726
+ variant: "outlined",
7727
+ onClick: () => refetch(),
7728
+ disabled: isFetching,
7729
+ sx: {
7730
+ ml: 1,
7731
+ gap: 1,
7732
+ borderRadius: 25,
7733
+ color: colors.neutral800,
7734
+ borderColor: colors.neutral600
7735
+ },
7736
+ children: [
7737
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
7738
+ import_Refresh.default,
7739
+ {
7740
+ fontSize: "small",
7741
+ color: isFetching ? "disabled" : "primary"
7742
+ }
7743
+ ),
7744
+ "REFRESH"
7745
+ ]
7746
+ }
7747
+ ),
7748
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_material64.Box, { display: "flex", children: [
7749
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_material64.Stack, { direction: "row", spacing: 2, alignItems: "center", children: [
7750
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material64.Typography, { children: "Rows per page:" }),
7751
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
7752
+ import_material64.Select,
7753
+ {
7754
+ value: pageSize,
7755
+ onChange: handlePageSizeChange,
7756
+ size: "small",
7757
+ "data-testid": "page-size-options-select",
7758
+ variant: "standard",
7759
+ children: pageSizeOptions.map((size) => /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material64.MenuItem, { value: size, children: size }, size))
7760
+ }
7761
+ )
7762
+ ] }),
7763
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
7764
+ import_material64.Pagination,
7765
+ {
7766
+ color: "standard",
7767
+ count: numPages,
7768
+ page,
7769
+ onChange: handlePageChange
7770
+ }
7771
+ )
7772
+ ] })
7773
+ ]
7774
+ }
7775
+ );
7776
+ };
7777
+
7778
+ // src/components/TableDesktopRowActions/TableDesktopRowActions.tsx
7779
+ var import_material65 = require("@mui/material");
7780
+ var import_jsx_runtime116 = require("react/jsx-runtime");
7699
7781
  var TableDesktopRowActions = ({
7700
7782
  isRowHovered,
7701
7783
  children,
@@ -7703,8 +7785,8 @@ var TableDesktopRowActions = ({
7703
7785
  zIndex = 1,
7704
7786
  backgroundColor
7705
7787
  }) => {
7706
- return isRowHovered ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
7707
- import_material64.TableCell,
7788
+ return isRowHovered ? /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
7789
+ import_material65.TableCell,
7708
7790
  {
7709
7791
  padding: "none",
7710
7792
  sx: {
@@ -7716,8 +7798,8 @@ var TableDesktopRowActions = ({
7716
7798
  justifyContent: "flex-end",
7717
7799
  alignItems: "center"
7718
7800
  },
7719
- children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
7720
- import_material64.Box,
7801
+ children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
7802
+ import_material65.Box,
7721
7803
  {
7722
7804
  sx,
7723
7805
  display: "flex",
@@ -7732,11 +7814,11 @@ var TableDesktopRowActions = ({
7732
7814
 
7733
7815
  // src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
7734
7816
  var import_react38 = require("react");
7735
- var import_material65 = require("@mui/material");
7817
+ var import_material66 = require("@mui/material");
7736
7818
 
7737
7819
  // src/components/TableDesktopRowCell/TableDesktopSmartSelect.tsx
7738
7820
  var import_react36 = require("react");
7739
- var import_jsx_runtime116 = require("react/jsx-runtime");
7821
+ var import_jsx_runtime117 = require("react/jsx-runtime");
7740
7822
  var resolveValue = (value) => {
7741
7823
  if (typeof value === "string") {
7742
7824
  return value;
@@ -7767,7 +7849,7 @@ var TableDesktopSmartSelect = (0, import_react36.memo)(({
7767
7849
  setOptions(parsedOptions);
7768
7850
  }
7769
7851
  }, [filterOptions]);
7770
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
7852
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7771
7853
  SmartSelect_default,
7772
7854
  {
7773
7855
  ref,
@@ -7794,7 +7876,7 @@ var import_Check2 = __toESM(require("@mui/icons-material/Check"), 1);
7794
7876
  // src/components/TableDesktopRowCell/TableDesktopTextField.tsx
7795
7877
  var import_TextField = __toESM(require("@mui/material/TextField"), 1);
7796
7878
  var import_react37 = require("react");
7797
- var import_jsx_runtime117 = require("react/jsx-runtime");
7879
+ var import_jsx_runtime118 = require("react/jsx-runtime");
7798
7880
  var TableDesktopTextField = ({
7799
7881
  rowId,
7800
7882
  editInitialValue,
@@ -7803,8 +7885,8 @@ var TableDesktopTextField = ({
7803
7885
  onUpdateEditableCell
7804
7886
  }) => {
7805
7887
  const [value, setValue] = (0, import_react37.useState)(editInitialValue);
7806
- const hasError = (0, import_react37.useMemo)(() => validateInput?.(value), [value, validateInput]);
7807
- return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7888
+ const hasError = (0, import_react37.useMemo)(() => !validateInput?.(value), [value, validateInput]);
7889
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7808
7890
  import_TextField.default,
7809
7891
  {
7810
7892
  fullWidth: true,
@@ -7826,7 +7908,7 @@ var TableDesktopTextField = ({
7826
7908
  };
7827
7909
 
7828
7910
  // src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
7829
- var import_jsx_runtime118 = require("react/jsx-runtime");
7911
+ var import_jsx_runtime119 = require("react/jsx-runtime");
7830
7912
  var TableDesktopRowCell = ({
7831
7913
  ref,
7832
7914
  inputLabel,
@@ -7852,7 +7934,7 @@ var TableDesktopRowCell = ({
7852
7934
  }
7853
7935
  }, [readOnlyValue, width]);
7854
7936
  const editableComponents = {
7855
- "select": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7937
+ "select": /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
7856
7938
  TableDesktopSmartSelect,
7857
7939
  {
7858
7940
  ref,
@@ -7866,8 +7948,8 @@ var TableDesktopRowCell = ({
7866
7948
  onUpdateEditableCell
7867
7949
  }
7868
7950
  ),
7869
- "checkbox": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7870
- import_material65.Checkbox,
7951
+ "checkbox": /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
7952
+ import_material66.Checkbox,
7871
7953
  {
7872
7954
  disableRipple: true,
7873
7955
  defaultChecked: editInitialValue,
@@ -7876,7 +7958,7 @@ var TableDesktopRowCell = ({
7876
7958
  }
7877
7959
  }
7878
7960
  ),
7879
- "text": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7961
+ "text": /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
7880
7962
  TableDesktopTextField,
7881
7963
  {
7882
7964
  rowId,
@@ -7886,8 +7968,8 @@ var TableDesktopRowCell = ({
7886
7968
  onUpdateEditableCell
7887
7969
  }
7888
7970
  ),
7889
- "numeric": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7890
- import_material65.TextField,
7971
+ "numeric": /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
7972
+ import_material66.TextField,
7891
7973
  {
7892
7974
  fullWidth: true,
7893
7975
  variant: "standard",
@@ -7909,12 +7991,12 @@ var TableDesktopRowCell = ({
7909
7991
  };
7910
7992
  const getReadOnlyBooleanIcon = (value) => {
7911
7993
  if (value) {
7912
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_Check2.default, { sx: { fontSize: 16 } });
7994
+ return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_Check2.default, { sx: { fontSize: 16 } });
7913
7995
  }
7914
7996
  return "-";
7915
7997
  };
7916
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_material65.Tooltip, { title: isOverflowed ? String(readOnlyValue) : "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7917
- import_material65.TableCell,
7998
+ return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material66.Tooltip, { title: isOverflowed ? String(readOnlyValue) : "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
7999
+ import_material66.TableCell,
7918
8000
  {
7919
8001
  ref: cellRef,
7920
8002
  align: "left",
@@ -7932,9 +8014,9 @@ var TableDesktopRowCell = ({
7932
8014
  // src/components/TableHeader/TableHeader.tsx
7933
8015
  var import_react39 = require("react");
7934
8016
  var import_icons_material12 = require("@mui/icons-material");
7935
- var import_material66 = require("@mui/material");
8017
+ var import_material67 = require("@mui/material");
7936
8018
  var import_mui57 = require("tss-react/mui");
7937
- var import_jsx_runtime119 = require("react/jsx-runtime");
8019
+ var import_jsx_runtime120 = require("react/jsx-runtime");
7938
8020
  var useStyles51 = (0, import_mui57.makeStyles)()(() => ({
7939
8021
  sortLabel: {
7940
8022
  "& .MuiTableSortLabel-icon": {
@@ -7979,8 +8061,8 @@ var TableHeader = ({ cells, onSort = null }) => {
7979
8061
  });
7980
8062
  setSortableCells(sortedCells);
7981
8063
  };
7982
- 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)(
7983
- import_material66.TableSortLabel,
8064
+ return /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.TableRow, { children: sortableCells.map((cell, key) => /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.TableCell, { children: cell.isSortable ? /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
8065
+ import_material67.TableSortLabel,
7984
8066
  {
7985
8067
  className: classes.sortLabel,
7986
8068
  direction: cell?.direction || "asc",
@@ -7993,9 +8075,9 @@ var TableHeader = ({ cells, onSort = null }) => {
7993
8075
  var TableHeader_default = (0, import_react39.memo)(TableHeader);
7994
8076
 
7995
8077
  // src/components/TextDivider/TextDivider.tsx
7996
- var import_material67 = require("@mui/material");
8078
+ var import_material68 = require("@mui/material");
7997
8079
  var import_mui58 = require("tss-react/mui");
7998
- var import_jsx_runtime120 = require("react/jsx-runtime");
8080
+ var import_jsx_runtime121 = require("react/jsx-runtime");
7999
8081
  var useStyles52 = (0, import_mui58.makeStyles)()(() => ({
8000
8082
  icon: {
8001
8083
  fontSize: 20
@@ -8032,19 +8114,19 @@ var TextDivider = ({
8032
8114
  }) => {
8033
8115
  const { classes } = useStyles52();
8034
8116
  const iconColor = color ?? colors.neutral900;
8035
- return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
8036
- import_material67.Box,
8117
+ return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(
8118
+ import_material68.Box,
8037
8119
  {
8038
8120
  display: "flex",
8039
8121
  alignItems: "center",
8040
8122
  justifyContent: "space-between",
8041
8123
  className: classes.container,
8042
8124
  children: [
8043
- /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Divider, { className: classes.leftDivider }),
8044
- /* @__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: [
8045
- Icon2 && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } }),
8046
- /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
8047
- import_material67.Typography,
8125
+ /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_material68.Divider, { className: classes.leftDivider }),
8126
+ /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_material68.Button, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(import_material68.Box, { className: classes.center, children: [
8127
+ Icon2 && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } }),
8128
+ /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
8129
+ import_material68.Typography,
8048
8130
  {
8049
8131
  color: "textSecondary",
8050
8132
  className: classes.title,
@@ -8052,9 +8134,9 @@ var TextDivider = ({
8052
8134
  children: title
8053
8135
  }
8054
8136
  ),
8055
- Icon2 && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } })
8137
+ Icon2 && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } })
8056
8138
  ] }) }),
8057
- /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Divider, { className: classes.rightDivider })
8139
+ /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_material68.Divider, { className: classes.rightDivider })
8058
8140
  ]
8059
8141
  }
8060
8142
  );
@@ -8066,7 +8148,7 @@ var import_react_dates = require("react-dates");
8066
8148
  var import_mui59 = require("tss-react/mui");
8067
8149
  var import_initialize = require("react-dates/initialize");
8068
8150
  var import_datepicker = require("react-dates/lib/css/_datepicker.css");
8069
- var import_jsx_runtime121 = require("react/jsx-runtime");
8151
+ var import_jsx_runtime122 = require("react/jsx-runtime");
8070
8152
  var useStyles53 = (0, import_mui59.makeStyles)()((theme) => ({
8071
8153
  wrapper: {
8072
8154
  "& .DateRangePicker": {
@@ -8162,15 +8244,15 @@ var ThemedDateRangePicker = ({
8162
8244
  ...props
8163
8245
  }) => {
8164
8246
  const { classes, cx } = useStyles53();
8165
- return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("div", { className: cx(classes.wrapper, className), children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_react_dates.DateRangePicker, { ...props }) });
8247
+ return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("div", { className: cx(classes.wrapper, className), children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_react_dates.DateRangePicker, { ...props }) });
8166
8248
  };
8167
8249
  var ThemedDateRangePicker_default = ThemedDateRangePicker;
8168
8250
 
8169
8251
  // src/components/TheToolbar/TheToolbar.tsx
8170
8252
  var import_react40 = require("react");
8171
- var import_material68 = require("@mui/material");
8253
+ var import_material69 = require("@mui/material");
8172
8254
  var import_mui60 = require("tss-react/mui");
8173
- var import_jsx_runtime122 = require("react/jsx-runtime");
8255
+ var import_jsx_runtime123 = require("react/jsx-runtime");
8174
8256
  var useStyles54 = (0, import_mui60.makeStyles)()((theme) => ({
8175
8257
  menuButton: {
8176
8258
  color: theme.palette.primary.contrastText
@@ -8190,9 +8272,9 @@ var TheToolbar = ({
8190
8272
  rightSection
8191
8273
  }) => {
8192
8274
  const { classes } = useStyles54();
8193
- return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material68.Box, { children: [
8194
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.AppBar, { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material68.Toolbar, { className: classes.topBar, children: [
8195
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
8275
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_material69.Box, { children: [
8276
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_material69.AppBar, { children: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_material69.Toolbar, { className: classes.topBar, children: [
8277
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
8196
8278
  RoundButton_default,
8197
8279
  {
8198
8280
  className: classes.menuButton,
@@ -8201,7 +8283,7 @@ var TheToolbar = ({
8201
8283
  onClick: handleOpen
8202
8284
  }
8203
8285
  ),
8204
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
8286
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
8205
8287
  CompanyLogo_default,
8206
8288
  {
8207
8289
  size: "small",
@@ -8210,8 +8292,8 @@ var TheToolbar = ({
8210
8292
  imageLogoLightSmall
8211
8293
  }
8212
8294
  ),
8213
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.Box, { ml: 2, children: leftSection }),
8214
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.Box, { ml: "auto", children: rightSection })
8295
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_material69.Box, { ml: 2, children: leftSection }),
8296
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_material69.Box, { ml: "auto", children: rightSection })
8215
8297
  ] }) }),
8216
8298
  LeftDrawer
8217
8299
  ] });
@@ -8219,22 +8301,22 @@ var TheToolbar = ({
8219
8301
  var TheToolbar_default = (0, import_react40.memo)(TheToolbar);
8220
8302
 
8221
8303
  // src/components/ToastMessage/ToastMessage.tsx
8222
- var import_material69 = require("@mui/material");
8223
- var import_jsx_runtime123 = require("react/jsx-runtime");
8304
+ var import_material70 = require("@mui/material");
8305
+ var import_jsx_runtime124 = require("react/jsx-runtime");
8224
8306
  var ToastMessage = ({
8225
8307
  toastType,
8226
8308
  toastMessage,
8227
8309
  open,
8228
8310
  onClose
8229
- }) => /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
8230
- import_material69.Snackbar,
8311
+ }) => /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8312
+ import_material70.Snackbar,
8231
8313
  {
8232
8314
  open,
8233
8315
  autoHideDuration: 1500,
8234
8316
  onClose,
8235
8317
  anchorOrigin: { vertical: "top", horizontal: "right" },
8236
- children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
8237
- import_material69.Alert,
8318
+ children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8319
+ import_material70.Alert,
8238
8320
  {
8239
8321
  elevation: 6,
8240
8322
  variant: "filled",
@@ -8260,9 +8342,9 @@ var ToastMessage = ({
8260
8342
  var ToastMessage_default = ToastMessage;
8261
8343
 
8262
8344
  // src/components/TwoButtonDialog/TwoButtonDialog.tsx
8263
- var import_material70 = require("@mui/material");
8345
+ var import_material71 = require("@mui/material");
8264
8346
  var import_mui61 = require("tss-react/mui");
8265
- var import_jsx_runtime124 = require("react/jsx-runtime");
8347
+ var import_jsx_runtime125 = require("react/jsx-runtime");
8266
8348
  var useStyles55 = (0, import_mui61.makeStyles)()((theme) => ({
8267
8349
  paper: {
8268
8350
  padding: theme.spacing(2)
@@ -8292,20 +8374,20 @@ var TwoButtonDialog = ({
8292
8374
  cancelButton
8293
8375
  }) => {
8294
8376
  const { classes } = useStyles55();
8295
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8296
- import_material70.Dialog,
8377
+ return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
8378
+ import_material71.Dialog,
8297
8379
  {
8298
8380
  open,
8299
8381
  disableEnforceFocus: true,
8300
8382
  maxWidth: "sm",
8301
8383
  fullWidth: true,
8302
8384
  closeAfterTransition: true,
8303
- BackdropComponent: import_material70.Backdrop,
8385
+ BackdropComponent: import_material71.Backdrop,
8304
8386
  BackdropProps: { timeout: 500 },
8305
- 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: [
8306
- /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Box, { className: classes.mb, children: [
8307
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "h5", component: "div", children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8308
- import_material70.Box,
8387
+ children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Fade, { in: open, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material71.Paper, { className: classes.paper, children: [
8388
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material71.Box, { className: classes.mb, children: [
8389
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { variant: "h5", component: "div", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
8390
+ import_material71.Box,
8309
8391
  {
8310
8392
  sx: {
8311
8393
  fontWeight: 600
@@ -8313,23 +8395,23 @@ var TwoButtonDialog = ({
8313
8395
  children: title
8314
8396
  }
8315
8397
  ) }),
8316
- /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
8317
- import_material70.Box,
8398
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(
8399
+ import_material71.Box,
8318
8400
  {
8319
8401
  className: classes.mt,
8320
8402
  sx: {
8321
8403
  fontWeight: 600
8322
8404
  },
8323
8405
  children: [
8324
- subtitle1 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "subtitle1", children: subtitle1 }),
8325
- subtitle2 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "subtitle1", children: subtitle2 })
8406
+ subtitle1 && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { variant: "subtitle1", children: subtitle1 }),
8407
+ subtitle2 && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { variant: "subtitle1", children: subtitle2 })
8326
8408
  ]
8327
8409
  }
8328
8410
  )
8329
8411
  ] }),
8330
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Divider, {}),
8331
- /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Box, { className: classes.buttonContainer, children: [
8332
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8412
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Divider, {}),
8413
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material71.Box, { className: classes.buttonContainer, children: [
8414
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
8333
8415
  FilledButton_default,
8334
8416
  {
8335
8417
  copy: cancelLabel,
@@ -8342,7 +8424,7 @@ var TwoButtonDialog = ({
8342
8424
  }
8343
8425
  }
8344
8426
  ),
8345
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8427
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
8346
8428
  FilledButton_default,
8347
8429
  {
8348
8430
  color: "primary",
@@ -8351,7 +8433,7 @@ var TwoButtonDialog = ({
8351
8433
  }
8352
8434
  )
8353
8435
  ] }),
8354
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Loading_default, { isLoading: dialogLoading })
8436
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Loading_default, { isLoading: dialogLoading })
8355
8437
  ] }) })
8356
8438
  }
8357
8439
  );
@@ -8360,29 +8442,29 @@ var TwoButtonDialog_default = TwoButtonDialog;
8360
8442
 
8361
8443
  // src/components/UserBust/UserBust.tsx
8362
8444
  var import_react41 = require("react");
8363
- var import_material71 = require("@mui/material");
8364
- var import_jsx_runtime125 = require("react/jsx-runtime");
8365
- var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { children: [
8366
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
8367
- import_material71.Avatar,
8445
+ var import_material72 = require("@mui/material");
8446
+ var import_jsx_runtime126 = require("react/jsx-runtime");
8447
+ var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)("div", { children: [
8448
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
8449
+ import_material72.Avatar,
8368
8450
  {
8369
8451
  src: user.profile_picture,
8370
8452
  alt: "user_avatar",
8371
8453
  style: { width: avatarProps.width, height: avatarProps.height }
8372
8454
  }
8373
8455
  ),
8374
- /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { style: { paddingTop: 16 }, children: [
8375
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { ...typographyProps.name, children: `${user.first_name} ${user.last_name}` }),
8376
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { ...typographyProps.username, children: user.username })
8456
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)("div", { style: { paddingTop: 16 }, children: [
8457
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material72.Typography, { ...typographyProps.name, children: `${user.first_name} ${user.last_name}` }),
8458
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material72.Typography, { ...typographyProps.username, children: user.username })
8377
8459
  ] })
8378
8460
  ] });
8379
8461
  var UserBust_default = (0, import_react41.memo)(UserBust);
8380
8462
 
8381
8463
  // src/components/icons/IconChart.tsx
8382
- var import_jsx_runtime126 = require("react/jsx-runtime");
8464
+ var import_jsx_runtime127 = require("react/jsx-runtime");
8383
8465
  var SvgIconChart = (props) => {
8384
8466
  const { fill } = props;
8385
- return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
8467
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
8386
8468
  "svg",
8387
8469
  {
8388
8470
  width: "20",
@@ -8391,7 +8473,7 @@ var SvgIconChart = (props) => {
8391
8473
  fill: "none",
8392
8474
  xmlns: "http://www.w3.org/2000/svg",
8393
8475
  ...props,
8394
- children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
8476
+ children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
8395
8477
  "path",
8396
8478
  {
8397
8479
  d: "M2.49967 11.6667L2.91634 11.725L6.72467 7.91667C6.57467 7.375 6.71634 6.75833 7.15801 6.325C7.80801 5.66667 8.85801 5.66667 9.50801 6.325C9.94967 6.75833 10.0913 7.375 9.94134 7.91667L12.083 10.0583L12.4997 10C12.6497 10 12.7913 10 12.9163 10.0583L15.8913 7.08333C15.833 6.95833 15.833 6.81667 15.833 6.66667C15.833 6.22464 16.0086 5.80072 16.3212 5.48816C16.6337 5.17559 17.0576 5 17.4997 5C17.9417 5 18.3656 5.17559 18.6782 5.48816C18.9907 5.80072 19.1663 6.22464 19.1663 6.66667C19.1663 7.10869 18.9907 7.53262 18.6782 7.84518C18.3656 8.15774 17.9417 8.33333 17.4997 8.33333C17.3497 8.33333 17.208 8.33333 17.083 8.275L14.108 11.25C14.1663 11.375 14.1663 11.5167 14.1663 11.6667C14.1663 12.1087 13.9907 12.5326 13.6782 12.8452C13.3656 13.1577 12.9417 13.3333 12.4997 13.3333C12.0576 13.3333 11.6337 13.1577 11.3212 12.8452C11.0086 12.5326 10.833 12.1087 10.833 11.6667L10.8913 11.25L8.74967 9.10833C8.48301 9.16667 8.18301 9.16667 7.91634 9.10833L4.10801 12.9167L4.16634 13.3333C4.16634 13.7754 3.99075 14.1993 3.67819 14.5118C3.36563 14.8244 2.9417 15 2.49967 15C2.05765 15 1.63372 14.8244 1.32116 14.5118C1.0086 14.1993 0.833008 13.7754 0.833008 13.3333C0.833008 12.8913 1.0086 12.4674 1.32116 12.1548C1.63372 11.8423 2.05765 11.6667 2.49967 11.6667Z",
@@ -8470,6 +8552,7 @@ var IconChart_default = SvgIconChart;
8470
8552
  Switch,
8471
8553
  Table,
8472
8554
  TableDesktop,
8555
+ TableDesktopFooter,
8473
8556
  TableDesktopRowActions,
8474
8557
  TableDesktopRowCell,
8475
8558
  TableDesktopSmartSelect,