@natoora-libs/core 0.1.13-dev-doug-3 → 0.1.13-mui-upgrade-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.
@@ -6943,39 +6943,10 @@ var SmartTableHeader = ({
6943
6943
  };
6944
6944
  var SmartTableHeader_default = (0, import_react32.memo)(SmartTableHeader);
6945
6945
 
6946
- // src/components/TableDesktopNoColumnsMessage/TableDesktopNoColumnsMessage.tsx
6947
- var import_TableBody = __toESM(require("@mui/material/TableBody"), 1);
6948
- var import_TableCell = __toESM(require("@mui/material/TableCell"), 1);
6949
- var import_TableRow = __toESM(require("@mui/material/TableRow"), 1);
6950
- var import_Typography = __toESM(require("@mui/material/Typography"), 1);
6951
- var import_jsx_runtime110 = require("react/jsx-runtime");
6952
- var TableDesktopNoColumnsMessage = () => /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_TableBody.default, { children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_TableRow.default, { children: /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
6953
- import_TableCell.default,
6954
- {
6955
- sx: {
6956
- py: 8,
6957
- gap: 2,
6958
- borderBottom: "none",
6959
- display: "flex",
6960
- flexDirection: "column",
6961
- justifyContent: "center",
6962
- alignItems: "center"
6963
- },
6964
- children: [
6965
- /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_Typography.default, { variant: "subtitle2", fontSize: 16, children: "Customise your view" }),
6966
- /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_Typography.default, { variant: "subtitle1", align: "center", color: "textSecondary", children: [
6967
- "Use the column selector on the right to choose which fields",
6968
- /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("br", {}),
6969
- "you want to display in the table"
6970
- ] })
6971
- ]
6972
- }
6973
- ) }) });
6974
-
6975
6946
  // src/components/TableEmptyResult/TableEmptyResult.tsx
6976
6947
  var import_material59 = require("@mui/material");
6977
6948
  var import_mui53 = require("tss-react/mui");
6978
- var import_jsx_runtime111 = require("react/jsx-runtime");
6949
+ var import_jsx_runtime110 = require("react/jsx-runtime");
6979
6950
  var useStyles47 = (0, import_mui53.makeStyles)()(() => ({
6980
6951
  tableCellIcon: { padding: 24, height: "calc(100vh - 320px)" },
6981
6952
  tableCellDefault: { padding: 24 }
@@ -6987,17 +6958,17 @@ var TableEmptyResult = ({
6987
6958
  }
6988
6959
  }) => {
6989
6960
  const { classes } = useStyles47();
6990
- return showClearFilterButton ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_material59.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
6961
+ return showClearFilterButton ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_material59.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
6991
6962
  import_material59.TableCell,
6992
6963
  {
6993
6964
  className: classes.tableCellIcon,
6994
6965
  colSpan,
6995
6966
  align: "center",
6996
6967
  children: [
6997
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(EmptyGlassIcon_default, {}),
6998
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_material59.Typography, { variant: "h6", children: "No results found." }),
6999
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_material59.Typography, { variant: "subtitle1", children: "Search without applied filters?" }),
7000
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
6968
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(EmptyGlassIcon_default, {}),
6969
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_material59.Typography, { variant: "h6", children: "No results found." }),
6970
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_material59.Typography, { variant: "subtitle1", children: "Search without applied filters?" }),
6971
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
7001
6972
  FilledButton_default,
7002
6973
  {
7003
6974
  copy: "Search",
@@ -7008,7 +6979,7 @@ var TableEmptyResult = ({
7008
6979
  )
7009
6980
  ]
7010
6981
  }
7011
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_material59.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
6982
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_material59.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
7012
6983
  import_material59.TableCell,
7013
6984
  {
7014
6985
  className: classes.tableCellDefault,
@@ -7021,7 +6992,7 @@ var TableEmptyResult = ({
7021
6992
  var TableEmptyResult_default = TableEmptyResult;
7022
6993
 
7023
6994
  // src/components/TableDesktop/TableDesktop.tsx
7024
- var import_jsx_runtime112 = require("react/jsx-runtime");
6995
+ var import_jsx_runtime111 = require("react/jsx-runtime");
7025
6996
  var ROW_HEIGHT = 56;
7026
6997
  var useStyles48 = (0, import_mui54.makeStyles)()((theme) => ({
7027
6998
  root: {
@@ -7160,7 +7131,7 @@ var TableDesktop = ({
7160
7131
  );
7161
7132
  const renderTableRows = (0, import_react33.useMemo)(() => {
7162
7133
  if (isLoading) {
7163
- return [...Array(Math.min(numRows, rowsPerPage))].map((_, rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material60.TableRow, { children: [...Array(visibleHeadCells.length)].map((_2, cellIndex) => /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material60.TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7134
+ return [...Array(Math.min(numRows, rowsPerPage))].map((_, rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_material60.TableRow, { children: [...Array(visibleHeadCells.length)].map((_2, cellIndex) => /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_material60.TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
7164
7135
  import_material60.Skeleton,
7165
7136
  {
7166
7137
  animation: "pulse",
@@ -7174,7 +7145,7 @@ var TableDesktop = ({
7174
7145
  const sortedData = disableInternalSort ? data : stableSort(data, getComparator(order, orderBy));
7175
7146
  return sortedData.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage).map((row, index) => {
7176
7147
  const isItemSelected = selected.has(row[keyField]);
7177
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7148
+ return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
7178
7149
  RenderItem,
7179
7150
  {
7180
7151
  ...{
@@ -7214,16 +7185,16 @@ var TableDesktop = ({
7214
7185
  setSelected(/* @__PURE__ */ new Set());
7215
7186
  }
7216
7187
  }, [enableCheckboxSelection]);
7217
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { className: classes.root, style: { height }, children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_material60.Paper, { className: classes.paper, children: [
7218
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material60.TableContainer, { className: classes.container, children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7188
+ return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { className: classes.root, style: { height }, children: /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_material60.Paper, { className: classes.paper, children: [
7189
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_material60.TableContainer, { className: classes.container, children: /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
7219
7190
  import_material60.Table,
7220
7191
  {
7221
7192
  stickyHeader: true,
7222
7193
  "aria-labelledby": "tableTitle",
7223
7194
  "aria-label": "sticky table",
7224
7195
  style: { tableLayout },
7225
- children: visibleHeadCells.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(TableDesktopNoColumnsMessage, {}) : /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_jsx_runtime112.Fragment, { children: [
7226
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7196
+ children: [
7197
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
7227
7198
  SmartTableHeader_default,
7228
7199
  {
7229
7200
  headCells: visibleHeadCells,
@@ -7239,7 +7210,7 @@ var TableDesktop = ({
7239
7210
  shouldShowCheckOnFilter
7240
7211
  }
7241
7212
  ),
7242
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material60.TableBody, { children: rowsPerPage !== emptyRows ? renderTableRows : /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7213
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_material60.TableBody, { children: rowsPerPage !== emptyRows ? renderTableRows : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
7243
7214
  TableEmptyResult_default,
7244
7215
  {
7245
7216
  colSpan: enableCheckboxSelection ? visibleHeadCells.length + 1 : visibleHeadCells.length,
@@ -7247,7 +7218,7 @@ var TableDesktop = ({
7247
7218
  handleClickOnClearFiltersButton
7248
7219
  }
7249
7220
  ) })
7250
- ] })
7221
+ ]
7251
7222
  }
7252
7223
  ) }),
7253
7224
  children
@@ -7256,7 +7227,7 @@ var TableDesktop = ({
7256
7227
  var TableDesktop_default = TableDesktop;
7257
7228
 
7258
7229
  // src/components/SmartTableHeaderFilterMenu/SmartTableHeaderFilterMenu.tsx
7259
- var import_jsx_runtime113 = require("react/jsx-runtime");
7230
+ var import_jsx_runtime112 = require("react/jsx-runtime");
7260
7231
  var useStyles49 = (0, import_mui55.makeStyles)()((theme) => ({
7261
7232
  filterMenu: {
7262
7233
  display: "flex",
@@ -7368,18 +7339,18 @@ var SmartTableHeaderFilterMenu = ({
7368
7339
  const isOptionChecked = (0, import_react34.useMemo)(() => (resolvedOption) => !!selectedFilters?.some(
7369
7340
  (value) => resolveOptionType(value, headCell.fieldName ?? "") === resolvedOption
7370
7341
  ), [selectedFilters]);
7371
- const loadingSkeletons = /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_material61.Box, { "data-testid": "loading-skeletons", width: 272, children: [
7372
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Skeleton, { variant: "rounded", className: classes.skeleton }),
7373
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Divider, {}),
7374
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Skeleton, { variant: "rounded", className: classes.skeleton }),
7375
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Skeleton, { variant: "rounded", className: classes.skeleton }),
7376
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Skeleton, { variant: "rounded", className: classes.skeleton }),
7377
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Skeleton, { variant: "rounded", className: classes.skeleton }),
7378
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Divider, {}),
7379
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Skeleton, { variant: "rounded", className: classes.skeleton })
7342
+ const loadingSkeletons = /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_material61.Box, { "data-testid": "loading-skeletons", width: 272, children: [
7343
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Skeleton, { variant: "rounded", className: classes.skeleton }),
7344
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Divider, {}),
7345
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Skeleton, { variant: "rounded", className: classes.skeleton }),
7346
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Skeleton, { variant: "rounded", className: classes.skeleton }),
7347
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Skeleton, { variant: "rounded", className: classes.skeleton }),
7348
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Skeleton, { variant: "rounded", className: classes.skeleton }),
7349
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Divider, {}),
7350
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Skeleton, { variant: "rounded", className: classes.skeleton })
7380
7351
  ] });
7381
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
7382
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
7352
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_jsx_runtime112.Fragment, { children: [
7353
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7383
7354
  ActiveFiltersIconButton_default,
7384
7355
  {
7385
7356
  numActiveFilters,
@@ -7389,7 +7360,7 @@ var SmartTableHeaderFilterMenu = ({
7389
7360
  })
7390
7361
  }
7391
7362
  ),
7392
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
7363
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7393
7364
  import_material61.Menu,
7394
7365
  {
7395
7366
  open: !!anchorEl,
@@ -7398,12 +7369,12 @@ var SmartTableHeaderFilterMenu = ({
7398
7369
  "data-testid": "filter-menu",
7399
7370
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
7400
7371
  transformOrigin: { vertical: "top", horizontal: "right" },
7401
- children: headCell.isFetchingFilterOptions ? loadingSkeletons : /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_material61.Box, { className: classes.filterMenu, children: [
7402
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Box, { px: 3, mb: 0.5, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
7372
+ children: headCell.isFetchingFilterOptions ? loadingSkeletons : /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_material61.Box, { className: classes.filterMenu, children: [
7373
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Box, { px: 3, mb: 0.5, children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7403
7374
  import_material61.FormControlLabel,
7404
7375
  {
7405
7376
  label: "Select All",
7406
- control: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
7377
+ control: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7407
7378
  import_material61.Checkbox,
7408
7379
  {
7409
7380
  disableRipple: true,
@@ -7420,20 +7391,20 @@ var SmartTableHeaderFilterMenu = ({
7420
7391
  )
7421
7392
  }
7422
7393
  ) }),
7423
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Divider, { sx: { mb: 0.5 } }),
7424
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Box, { className: classes.filterOptions, children: filterOptionsData?.map(
7394
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Divider, { sx: { mb: 0.5 } }),
7395
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Box, { className: classes.filterOptions, children: filterOptionsData?.map(
7425
7396
  (option) => {
7426
7397
  const resolvedOption = resolveOptionType(option, headCell.fieldName ?? "");
7427
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
7398
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
7428
7399
  import_material61.Box,
7429
7400
  {
7430
7401
  className: classes.filter,
7431
7402
  children: [
7432
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
7403
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7433
7404
  import_material61.FormControlLabel,
7434
7405
  {
7435
7406
  label: resolvedOption,
7436
- control: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
7407
+ control: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7437
7408
  import_material61.Checkbox,
7438
7409
  {
7439
7410
  disableRipple: true,
@@ -7444,16 +7415,16 @@ var SmartTableHeaderFilterMenu = ({
7444
7415
  },
7445
7416
  resolvedOption
7446
7417
  ),
7447
- shouldShowCheckOnFilter?.(headCell.id, option) ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Tooltip, { title: "This filter is saved as default", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_Check.default, { fontSize: "small", color: "action" }) }) : null
7418
+ shouldShowCheckOnFilter?.(headCell.id, option) ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Tooltip, { title: "This filter is saved as default", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_Check.default, { fontSize: "small", color: "action" }) }) : null
7448
7419
  ]
7449
7420
  },
7450
7421
  resolvedOption
7451
7422
  );
7452
7423
  }
7453
7424
  ) }),
7454
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Divider, { sx: { mb: 0.5 } }),
7455
- /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_material61.Box, { className: classes.applyFilterButtonsContainer, children: [
7456
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
7425
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_material61.Divider, { sx: { mb: 0.5 } }),
7426
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_material61.Box, { className: classes.applyFilterButtonsContainer, children: [
7427
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7457
7428
  ExtendedButton_default,
7458
7429
  {
7459
7430
  copy: "Save as Default",
@@ -7464,7 +7435,7 @@ var SmartTableHeaderFilterMenu = ({
7464
7435
  onClick: () => handleApplyFilters(true)
7465
7436
  }
7466
7437
  ),
7467
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
7438
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7468
7439
  ExtendedButton_default,
7469
7440
  {
7470
7441
  copy: "Apply",
@@ -7490,11 +7461,11 @@ var import_uuid = require("uuid");
7490
7461
 
7491
7462
  // src/components/TableLoading/TableLoading.tsx
7492
7463
  var import_material62 = require("@mui/material");
7493
- var import_jsx_runtime114 = require("react/jsx-runtime");
7464
+ var import_jsx_runtime113 = require("react/jsx-runtime");
7494
7465
  var TableLoading = ({
7495
7466
  rowsPerPage,
7496
7467
  rowHeight
7497
- }) => /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material62.Box, { children: Array.from({ length: rowsPerPage ?? 0 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
7468
+ }) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material62.Box, { children: Array.from({ length: rowsPerPage ?? 0 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
7498
7469
  import_material62.Skeleton,
7499
7470
  {
7500
7471
  animation: "pulse",
@@ -7543,7 +7514,7 @@ function calculateRowsPerPage(rowHeight) {
7543
7514
  }
7544
7515
 
7545
7516
  // src/components/Table/Table.tsx
7546
- var import_jsx_runtime115 = require("react/jsx-runtime");
7517
+ var import_jsx_runtime114 = require("react/jsx-runtime");
7547
7518
  var useStyles50 = (0, import_mui56.makeStyles)()(() => ({
7548
7519
  root: {
7549
7520
  height: "calc(100vh - 262px)",
@@ -7621,24 +7592,24 @@ var Table2 = ({
7621
7592
  );
7622
7593
  const rowsComponents = rows.map((row) => {
7623
7594
  if (RenderItem) {
7624
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(RenderItem, { ...row }, row.id);
7595
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(RenderItem, { ...row }, row.id);
7625
7596
  }
7626
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material63.TableRow, { hover: true, onClick: () => onRowClick?.(row), children: headCells?.map((column) => /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material63.TableCell, { children: row[column.id] }, column.id)) }, row.id);
7597
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material63.TableRow, { hover: true, onClick: () => onRowClick?.(row), children: headCells?.map((column) => /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material63.TableCell, { children: row[column.id] }, column.id)) }, row.id);
7627
7598
  });
7628
7599
  if (emptyRows > 0 && rowsPerPage > emptyRows) {
7629
7600
  rowsComponents.push(
7630
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material63.TableRow, { style: { height: rowHeight * emptyRows }, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material63.TableCell, { colSpan: 8 }) }, (0, import_uuid.v4)())
7601
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material63.TableRow, { style: { height: rowHeight * emptyRows }, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material63.TableCell, { colSpan: 8 }) }, (0, import_uuid.v4)())
7631
7602
  );
7632
7603
  }
7633
7604
  return rowsComponents;
7634
7605
  };
7635
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material63.Paper, { className: classes.root, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material63.Box, { className: classes.paper, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(TableLoading_default, { rowHeight, rowsPerPage }) : /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material63.TableContainer, { className: classes.container, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_material63.Table, { size: "medium", stickyHeader: true, children: [
7636
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material63.TableHead, { className: classes.header, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material63.TableRow, { children: headCells?.map((headCell) => /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
7606
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material63.Paper, { className: classes.root, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material63.Box, { className: classes.paper, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(TableLoading_default, { rowHeight, rowsPerPage }) : /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material63.TableContainer, { className: classes.container, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_material63.Table, { size: "medium", stickyHeader: true, children: [
7607
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material63.TableHead, { className: classes.header, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material63.TableRow, { children: headCells?.map((headCell) => /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
7637
7608
  import_material63.TableCell,
7638
7609
  {
7639
7610
  align: "left",
7640
7611
  sortDirection: orderBy === headCell.id ? order : void 0,
7641
- children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
7612
+ children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
7642
7613
  import_material63.TableSortLabel,
7643
7614
  {
7644
7615
  active: orderBy === headCell.id,
@@ -7650,9 +7621,9 @@ var Table2 = ({
7650
7621
  },
7651
7622
  headCell.id
7652
7623
  )) }) }),
7653
- /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_material63.TableBody, { children: [
7624
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_material63.TableBody, { children: [
7654
7625
  getTableRows(),
7655
- rowsPerPage === emptyRows && /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material63.TableRow, { style: { height: rowHeight * emptyRows }, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material63.TableCell, { colSpan: 8, align: "center", children: "Nothing to display" }) })
7626
+ rowsPerPage === emptyRows && /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material63.TableRow, { style: { height: rowHeight * emptyRows }, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material63.TableCell, { colSpan: 8, align: "center", children: "Nothing to display" }) })
7656
7627
  ] })
7657
7628
  ] }) }) }) });
7658
7629
  };
@@ -7661,7 +7632,7 @@ var Table_default = Table2;
7661
7632
  // src/components/TableDesktopFooter/TableDesktopFooter.tsx
7662
7633
  var import_Refresh = __toESM(require("@mui/icons-material/Refresh"), 1);
7663
7634
  var import_material64 = require("@mui/material");
7664
- var import_jsx_runtime116 = require("react/jsx-runtime");
7635
+ var import_jsx_runtime115 = require("react/jsx-runtime");
7665
7636
  var TableDesktopFooter = ({
7666
7637
  numPages,
7667
7638
  page,
@@ -7672,7 +7643,7 @@ var TableDesktopFooter = ({
7672
7643
  refetch,
7673
7644
  isFetching
7674
7645
  }) => {
7675
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
7646
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
7676
7647
  import_material64.Box,
7677
7648
  {
7678
7649
  py: 1,
@@ -7683,7 +7654,7 @@ var TableDesktopFooter = ({
7683
7654
  borderTop: `1px solid ${colors.neutral300}`,
7684
7655
  bgcolor: (theme) => theme.palette.background.default,
7685
7656
  children: [
7686
- /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
7657
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
7687
7658
  import_material64.Button,
7688
7659
  {
7689
7660
  disableRipple: true,
@@ -7698,7 +7669,7 @@ var TableDesktopFooter = ({
7698
7669
  borderColor: colors.neutral600
7699
7670
  },
7700
7671
  children: [
7701
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
7672
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
7702
7673
  import_Refresh.default,
7703
7674
  {
7704
7675
  fontSize: "small",
@@ -7709,21 +7680,21 @@ var TableDesktopFooter = ({
7709
7680
  ]
7710
7681
  }
7711
7682
  ),
7712
- /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_material64.Box, { display: "flex", children: [
7713
- /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_material64.Stack, { direction: "row", spacing: 2, alignItems: "center", children: [
7714
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_material64.Typography, { children: "Rows per page:" }),
7715
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
7683
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_material64.Box, { display: "flex", children: [
7684
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_material64.Stack, { direction: "row", spacing: 2, alignItems: "center", children: [
7685
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material64.Typography, { children: "Rows per page:" }),
7686
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
7716
7687
  import_material64.Select,
7717
7688
  {
7718
7689
  value: pageSize,
7719
7690
  onChange: handlePageSizeChange,
7720
7691
  size: "small",
7721
7692
  variant: "standard",
7722
- children: pageSizeOptions.map((size) => /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_material64.MenuItem, { value: size, children: size }, size))
7693
+ children: pageSizeOptions.map((size) => /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material64.MenuItem, { value: size, children: size }, size))
7723
7694
  }
7724
7695
  )
7725
7696
  ] }),
7726
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
7697
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
7727
7698
  import_material64.Pagination,
7728
7699
  {
7729
7700
  color: "standard",
@@ -7744,7 +7715,7 @@ var import_material65 = require("@mui/material");
7744
7715
 
7745
7716
  // src/components/TableDesktopRowCell/TableDesktopSmartSelect.tsx
7746
7717
  var import_react36 = require("react");
7747
- var import_jsx_runtime117 = require("react/jsx-runtime");
7718
+ var import_jsx_runtime116 = require("react/jsx-runtime");
7748
7719
  var resolveValue = (value) => {
7749
7720
  if (typeof value === "string") {
7750
7721
  return value;
@@ -7776,7 +7747,7 @@ var TableDesktopSmartSelect = (0, import_react36.memo)(({
7776
7747
  setOptions(parsedOptions);
7777
7748
  }
7778
7749
  }, [filterOptions]);
7779
- return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7750
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
7780
7751
  SmartSelect_default,
7781
7752
  {
7782
7753
  ref,
@@ -7804,7 +7775,7 @@ var import_Check2 = __toESM(require("@mui/icons-material/Check"), 1);
7804
7775
  // src/components/TableDesktopRowCell/TableDesktopTextField.tsx
7805
7776
  var import_TextField = __toESM(require("@mui/material/TextField"), 1);
7806
7777
  var import_react37 = require("react");
7807
- var import_jsx_runtime118 = require("react/jsx-runtime");
7778
+ var import_jsx_runtime117 = require("react/jsx-runtime");
7808
7779
  var TableDesktopTextField = ({
7809
7780
  rowId,
7810
7781
  editInitialValue,
@@ -7815,7 +7786,7 @@ var TableDesktopTextField = ({
7815
7786
  }) => {
7816
7787
  const [value, setValue] = (0, import_react37.useState)(editInitialValue);
7817
7788
  const hasError = (0, import_react37.useMemo)(() => !validateInput?.(value), [value, validateInput]);
7818
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7789
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7819
7790
  import_TextField.default,
7820
7791
  {
7821
7792
  fullWidth: true,
@@ -7840,7 +7811,7 @@ var TableDesktopTextField = ({
7840
7811
  // src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
7841
7812
  var import_Close = __toESM(require("@mui/icons-material/Close"), 1);
7842
7813
  var import_Edit = __toESM(require("@mui/icons-material/Edit"), 1);
7843
- var import_jsx_runtime119 = require("react/jsx-runtime");
7814
+ var import_jsx_runtime118 = require("react/jsx-runtime");
7844
7815
  var TableDesktopRowCell = ({
7845
7816
  inputLabel,
7846
7817
  editInitialValue,
@@ -7881,7 +7852,7 @@ var TableDesktopRowCell = ({
7881
7852
  };
7882
7853
  }, [isEditMode]);
7883
7854
  const editableComponents = {
7884
- "select": /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
7855
+ "select": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7885
7856
  TableDesktopSmartSelect,
7886
7857
  {
7887
7858
  rowId,
@@ -7895,7 +7866,7 @@ var TableDesktopRowCell = ({
7895
7866
  onUpdateEditableCell
7896
7867
  }
7897
7868
  ),
7898
- "checkbox": /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
7869
+ "checkbox": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7899
7870
  import_material65.Checkbox,
7900
7871
  {
7901
7872
  disableRipple: true,
@@ -7906,7 +7877,7 @@ var TableDesktopRowCell = ({
7906
7877
  }
7907
7878
  }
7908
7879
  ),
7909
- "text": /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
7880
+ "text": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7910
7881
  TableDesktopTextField,
7911
7882
  {
7912
7883
  rowId,
@@ -7917,7 +7888,7 @@ var TableDesktopRowCell = ({
7917
7888
  onUpdateEditableCell
7918
7889
  }
7919
7890
  ),
7920
- "numeric": /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
7891
+ "numeric": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7921
7892
  import_material65.TextField,
7922
7893
  {
7923
7894
  fullWidth: true,
@@ -7941,7 +7912,7 @@ var TableDesktopRowCell = ({
7941
7912
  };
7942
7913
  const getReadOnlyBooleanIcon = (value) => {
7943
7914
  if (value) {
7944
- return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_Check2.default, { sx: { fontSize: 16 } });
7915
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_Check2.default, { sx: { fontSize: 16 } });
7945
7916
  }
7946
7917
  return "-";
7947
7918
  };
@@ -7949,7 +7920,7 @@ var TableDesktopRowCell = ({
7949
7920
  e.stopPropagation();
7950
7921
  setIsEditMode((prev) => !prev);
7951
7922
  };
7952
- return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material65.Tooltip, { title: isOverflowed ? String(readOnlyValue) : "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
7923
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_material65.Tooltip, { title: isOverflowed ? String(readOnlyValue) : "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7953
7924
  import_material65.TableCell,
7954
7925
  {
7955
7926
  align: "left",
@@ -7967,7 +7938,7 @@ var TableDesktopRowCell = ({
7967
7938
  },
7968
7939
  background: isEditMode ? colors.lightBlueBackground : (theme) => theme.palette.background.default
7969
7940
  },
7970
- children: /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(
7941
+ children: /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(
7971
7942
  import_material65.Box,
7972
7943
  {
7973
7944
  p: 1,
@@ -7976,7 +7947,7 @@ var TableDesktopRowCell = ({
7976
7947
  textOverflow: "ellipsis",
7977
7948
  whiteSpace: "nowrap",
7978
7949
  children: [
7979
- isCellHovered ? /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material65.Tooltip, { title: isEditMode ? "" : "Toggle Edit Mode", children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
7950
+ isCellHovered ? /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_material65.Tooltip, { title: isEditMode ? "" : "Toggle Edit Mode", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7980
7951
  import_material65.IconButton,
7981
7952
  {
7982
7953
  onClick: handleEditClick,
@@ -7991,7 +7962,7 @@ var TableDesktopRowCell = ({
7991
7962
  backgroundColor: isEditMode ? colors.lightBlueBackground : colors.neutral150
7992
7963
  }
7993
7964
  },
7994
- children: isEditMode ? /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_Close.default, { fontSize: "small", color: "error" }) : /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_Edit.default, { fontSize: "small" })
7965
+ 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" })
7995
7966
  }
7996
7967
  ) }) : null,
7997
7968
  isEditMode && editableCellType ? editableComponents[editableCellType] : typeof readOnlyValue === "boolean" ? getReadOnlyBooleanIcon(readOnlyValue) : readOnlyValue
@@ -8007,7 +7978,7 @@ var import_react39 = require("react");
8007
7978
  var import_icons_material12 = require("@mui/icons-material");
8008
7979
  var import_material66 = require("@mui/material");
8009
7980
  var import_mui57 = require("tss-react/mui");
8010
- var import_jsx_runtime120 = require("react/jsx-runtime");
7981
+ var import_jsx_runtime119 = require("react/jsx-runtime");
8011
7982
  var useStyles51 = (0, import_mui57.makeStyles)()(() => ({
8012
7983
  sortLabel: {
8013
7984
  "& .MuiTableSortLabel-icon": {
@@ -8052,7 +8023,7 @@ var TableHeader = ({ cells, onSort = null }) => {
8052
8023
  });
8053
8024
  setSortableCells(sortedCells);
8054
8025
  };
8055
- return /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material66.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material66.TableRow, { children: sortableCells.map((cell, key) => /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material66.TableCell, { children: cell.isSortable ? /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
8026
+ 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)(
8056
8027
  import_material66.TableSortLabel,
8057
8028
  {
8058
8029
  className: classes.sortLabel,
@@ -8068,7 +8039,7 @@ var TableHeader_default = (0, import_react39.memo)(TableHeader);
8068
8039
  // src/components/TextDivider/TextDivider.tsx
8069
8040
  var import_material67 = require("@mui/material");
8070
8041
  var import_mui58 = require("tss-react/mui");
8071
- var import_jsx_runtime121 = require("react/jsx-runtime");
8042
+ var import_jsx_runtime120 = require("react/jsx-runtime");
8072
8043
  var useStyles52 = (0, import_mui58.makeStyles)()(() => ({
8073
8044
  icon: {
8074
8045
  fontSize: 20
@@ -8105,7 +8076,7 @@ var TextDivider = ({
8105
8076
  }) => {
8106
8077
  const { classes } = useStyles52();
8107
8078
  const iconColor = color ?? colors.neutral900;
8108
- return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(
8079
+ return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
8109
8080
  import_material67.Box,
8110
8081
  {
8111
8082
  display: "flex",
@@ -8113,10 +8084,10 @@ var TextDivider = ({
8113
8084
  justifyContent: "space-between",
8114
8085
  className: classes.container,
8115
8086
  children: [
8116
- /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_material67.Divider, { className: classes.leftDivider }),
8117
- /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_material67.Button, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(import_material67.Box, { className: classes.center, children: [
8118
- Icon2 && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } }),
8119
- /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
8087
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Divider, { className: classes.leftDivider }),
8088
+ /* @__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: [
8089
+ Icon2 && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } }),
8090
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
8120
8091
  import_material67.Typography,
8121
8092
  {
8122
8093
  color: "textSecondary",
@@ -8125,9 +8096,9 @@ var TextDivider = ({
8125
8096
  children: title
8126
8097
  }
8127
8098
  ),
8128
- Icon2 && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } })
8099
+ Icon2 && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } })
8129
8100
  ] }) }),
8130
- /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_material67.Divider, { className: classes.rightDivider })
8101
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Divider, { className: classes.rightDivider })
8131
8102
  ]
8132
8103
  }
8133
8104
  );
@@ -8139,7 +8110,7 @@ var import_react_dates = require("react-dates");
8139
8110
  var import_mui59 = require("tss-react/mui");
8140
8111
  var import_initialize = require("react-dates/initialize");
8141
8112
  var import_datepicker = require("react-dates/lib/css/_datepicker.css");
8142
- var import_jsx_runtime122 = require("react/jsx-runtime");
8113
+ var import_jsx_runtime121 = require("react/jsx-runtime");
8143
8114
  var useStyles53 = (0, import_mui59.makeStyles)()((theme) => ({
8144
8115
  wrapper: {
8145
8116
  "& .DateRangePicker": {
@@ -8235,7 +8206,7 @@ var ThemedDateRangePicker = ({
8235
8206
  ...props
8236
8207
  }) => {
8237
8208
  const { classes, cx } = useStyles53();
8238
- 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 }) });
8209
+ 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 }) });
8239
8210
  };
8240
8211
  var ThemedDateRangePicker_default = ThemedDateRangePicker;
8241
8212
 
@@ -8243,7 +8214,7 @@ var ThemedDateRangePicker_default = ThemedDateRangePicker;
8243
8214
  var import_react40 = require("react");
8244
8215
  var import_material68 = require("@mui/material");
8245
8216
  var import_mui60 = require("tss-react/mui");
8246
- var import_jsx_runtime123 = require("react/jsx-runtime");
8217
+ var import_jsx_runtime122 = require("react/jsx-runtime");
8247
8218
  var useStyles54 = (0, import_mui60.makeStyles)()((theme) => ({
8248
8219
  menuButton: {
8249
8220
  color: theme.palette.primary.contrastText
@@ -8263,9 +8234,9 @@ var TheToolbar = ({
8263
8234
  rightSection
8264
8235
  }) => {
8265
8236
  const { classes } = useStyles54();
8266
- return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_material68.Box, { children: [
8267
- /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_material68.AppBar, { children: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_material68.Toolbar, { className: classes.topBar, children: [
8268
- /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
8237
+ return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material68.Box, { children: [
8238
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.AppBar, { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material68.Toolbar, { className: classes.topBar, children: [
8239
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
8269
8240
  RoundButton_default,
8270
8241
  {
8271
8242
  className: classes.menuButton,
@@ -8274,7 +8245,7 @@ var TheToolbar = ({
8274
8245
  onClick: handleOpen
8275
8246
  }
8276
8247
  ),
8277
- /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
8248
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
8278
8249
  CompanyLogo_default,
8279
8250
  {
8280
8251
  size: "small",
@@ -8283,8 +8254,8 @@ var TheToolbar = ({
8283
8254
  imageLogoLightSmall
8284
8255
  }
8285
8256
  ),
8286
- /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_material68.Box, { ml: 2, children: leftSection }),
8287
- /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_material68.Box, { ml: "auto", children: rightSection })
8257
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.Box, { ml: 2, children: leftSection }),
8258
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.Box, { ml: "auto", children: rightSection })
8288
8259
  ] }) }),
8289
8260
  LeftDrawer
8290
8261
  ] });
@@ -8293,20 +8264,20 @@ var TheToolbar_default = (0, import_react40.memo)(TheToolbar);
8293
8264
 
8294
8265
  // src/components/ToastMessage/ToastMessage.tsx
8295
8266
  var import_material69 = require("@mui/material");
8296
- var import_jsx_runtime124 = require("react/jsx-runtime");
8267
+ var import_jsx_runtime123 = require("react/jsx-runtime");
8297
8268
  var ToastMessage = ({
8298
8269
  toastType,
8299
8270
  toastMessage,
8300
8271
  open,
8301
8272
  onClose
8302
- }) => /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8273
+ }) => /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
8303
8274
  import_material69.Snackbar,
8304
8275
  {
8305
8276
  open,
8306
8277
  autoHideDuration: 1500,
8307
8278
  onClose,
8308
8279
  anchorOrigin: { vertical: "top", horizontal: "right" },
8309
- children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8280
+ children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
8310
8281
  import_material69.Alert,
8311
8282
  {
8312
8283
  elevation: 6,
@@ -8335,7 +8306,7 @@ var ToastMessage_default = ToastMessage;
8335
8306
  // src/components/TwoButtonDialog/TwoButtonDialog.tsx
8336
8307
  var import_material70 = require("@mui/material");
8337
8308
  var import_mui61 = require("tss-react/mui");
8338
- var import_jsx_runtime125 = require("react/jsx-runtime");
8309
+ var import_jsx_runtime124 = require("react/jsx-runtime");
8339
8310
  var useStyles55 = (0, import_mui61.makeStyles)()((theme) => ({
8340
8311
  paper: {
8341
8312
  padding: theme.spacing(2)
@@ -8365,7 +8336,7 @@ var TwoButtonDialog = ({
8365
8336
  cancelButton
8366
8337
  }) => {
8367
8338
  const { classes } = useStyles55();
8368
- return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
8339
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8369
8340
  import_material70.Dialog,
8370
8341
  {
8371
8342
  open,
@@ -8375,9 +8346,9 @@ var TwoButtonDialog = ({
8375
8346
  closeAfterTransition: true,
8376
8347
  BackdropComponent: import_material70.Backdrop,
8377
8348
  BackdropProps: { timeout: 500 },
8378
- children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material70.Fade, { in: open, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material70.Paper, { className: classes.paper, children: [
8379
- /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material70.Box, { className: classes.mb, children: [
8380
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material70.Typography, { variant: "h5", component: "div", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
8349
+ 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: [
8350
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Box, { className: classes.mb, children: [
8351
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "h5", component: "div", children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8381
8352
  import_material70.Box,
8382
8353
  {
8383
8354
  sx: {
@@ -8386,7 +8357,7 @@ var TwoButtonDialog = ({
8386
8357
  children: title
8387
8358
  }
8388
8359
  ) }),
8389
- /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(
8360
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
8390
8361
  import_material70.Box,
8391
8362
  {
8392
8363
  className: classes.mt,
@@ -8394,15 +8365,15 @@ var TwoButtonDialog = ({
8394
8365
  fontWeight: 600
8395
8366
  },
8396
8367
  children: [
8397
- subtitle1 && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material70.Typography, { variant: "subtitle1", children: subtitle1 }),
8398
- subtitle2 && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material70.Typography, { variant: "subtitle1", children: subtitle2 })
8368
+ subtitle1 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "subtitle1", children: subtitle1 }),
8369
+ subtitle2 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "subtitle1", children: subtitle2 })
8399
8370
  ]
8400
8371
  }
8401
8372
  )
8402
8373
  ] }),
8403
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material70.Divider, {}),
8404
- /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material70.Box, { className: classes.buttonContainer, children: [
8405
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
8374
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Divider, {}),
8375
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Box, { className: classes.buttonContainer, children: [
8376
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8406
8377
  FilledButton_default,
8407
8378
  {
8408
8379
  copy: cancelLabel,
@@ -8415,7 +8386,7 @@ var TwoButtonDialog = ({
8415
8386
  }
8416
8387
  }
8417
8388
  ),
8418
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
8389
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8419
8390
  FilledButton_default,
8420
8391
  {
8421
8392
  color: "primary",
@@ -8424,7 +8395,7 @@ var TwoButtonDialog = ({
8424
8395
  }
8425
8396
  )
8426
8397
  ] }),
8427
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(Loading_default, { isLoading: dialogLoading })
8398
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Loading_default, { isLoading: dialogLoading })
8428
8399
  ] }) })
8429
8400
  }
8430
8401
  );
@@ -8434,9 +8405,9 @@ var TwoButtonDialog_default = TwoButtonDialog;
8434
8405
  // src/components/UserBust/UserBust.tsx
8435
8406
  var import_react41 = require("react");
8436
8407
  var import_material71 = require("@mui/material");
8437
- var import_jsx_runtime126 = require("react/jsx-runtime");
8438
- var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)("div", { children: [
8439
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
8408
+ var import_jsx_runtime125 = require("react/jsx-runtime");
8409
+ var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { children: [
8410
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
8440
8411
  import_material71.Avatar,
8441
8412
  {
8442
8413
  src: user.profile_picture,
@@ -8444,18 +8415,18 @@ var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ (0, i
8444
8415
  style: { width: avatarProps.width, height: avatarProps.height }
8445
8416
  }
8446
8417
  ),
8447
- /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)("div", { style: { paddingTop: 16 }, children: [
8448
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material71.Typography, { ...typographyProps.name, children: `${user.first_name} ${user.last_name}` }),
8449
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material71.Typography, { ...typographyProps.username, children: user.username })
8418
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { style: { paddingTop: 16 }, children: [
8419
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { ...typographyProps.name, children: `${user.first_name} ${user.last_name}` }),
8420
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { ...typographyProps.username, children: user.username })
8450
8421
  ] })
8451
8422
  ] });
8452
8423
  var UserBust_default = (0, import_react41.memo)(UserBust);
8453
8424
 
8454
8425
  // src/components/icons/IconChart.tsx
8455
- var import_jsx_runtime127 = require("react/jsx-runtime");
8426
+ var import_jsx_runtime126 = require("react/jsx-runtime");
8456
8427
  var SvgIconChart = (props) => {
8457
8428
  const { fill } = props;
8458
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
8429
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
8459
8430
  "svg",
8460
8431
  {
8461
8432
  width: "20",
@@ -8464,7 +8435,7 @@ var SvgIconChart = (props) => {
8464
8435
  fill: "none",
8465
8436
  xmlns: "http://www.w3.org/2000/svg",
8466
8437
  ...props,
8467
- children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
8438
+ children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
8468
8439
  "path",
8469
8440
  {
8470
8441
  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",