wcz-test 6.24.2 → 6.24.4

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.
Files changed (48) hide show
  1. package/dist/chunks/ApprovalStatus-BtAVFn5p.js.map +1 -0
  2. package/dist/chunks/DialogsContext-DoU_8Eeu.js +6 -0
  3. package/dist/chunks/DialogsContext-DoU_8Eeu.js.map +1 -0
  4. package/dist/{DialogsHooks-BQVpqCq9.js → chunks/DialogsHooks-DOT0O_b4.js} +17 -16
  5. package/dist/chunks/DialogsHooks-DOT0O_b4.js.map +1 -0
  6. package/dist/chunks/FileHooks-CF1bPDoe.js +493 -0
  7. package/dist/chunks/FileHooks-CF1bPDoe.js.map +1 -0
  8. package/dist/chunks/FileMeta-G1oT3mYK.js.map +1 -0
  9. package/dist/chunks/RouterListItemButton-DTYXk1kh.js +35 -0
  10. package/dist/chunks/RouterListItemButton-DTYXk1kh.js.map +1 -0
  11. package/dist/chunks/env-gsqZ6zZD.js.map +1 -0
  12. package/dist/chunks/queryClient-CNvC95mU.js.map +1 -0
  13. package/dist/chunks/session-vW7WZadj.js.map +1 -0
  14. package/dist/chunks/utils-MD9YwOtu.js.map +1 -0
  15. package/dist/client.js +1 -1
  16. package/dist/components.js +99 -99
  17. package/dist/components.js.map +1 -1
  18. package/dist/hooks.js +47 -47
  19. package/dist/hooks.js.map +1 -1
  20. package/dist/index.js +1680 -105
  21. package/dist/index.js.map +1 -1
  22. package/dist/models.js +2 -2
  23. package/dist/queries.js +27 -27
  24. package/dist/queries.js.map +1 -1
  25. package/dist/server.js +2 -2
  26. package/dist/utils.js +1 -1
  27. package/package.json +5 -6
  28. package/dist/ApprovalStatus-BtAVFn5p.js.map +0 -1
  29. package/dist/DialogsContext-BKtkEAfL.js +0 -306
  30. package/dist/DialogsContext-BKtkEAfL.js.map +0 -1
  31. package/dist/DialogsHooks-BQVpqCq9.js.map +0 -1
  32. package/dist/FileHooks-Cg9ver7z.js +0 -3478
  33. package/dist/FileHooks-Cg9ver7z.js.map +0 -1
  34. package/dist/FileMeta-G1oT3mYK.js.map +0 -1
  35. package/dist/RouterListItemButton-IUVgwnz3.js +0 -35
  36. package/dist/RouterListItemButton-IUVgwnz3.js.map +0 -1
  37. package/dist/compiler-runtime-BGHur82y.js +0 -46
  38. package/dist/compiler-runtime-BGHur82y.js.map +0 -1
  39. package/dist/env-gsqZ6zZD.js.map +0 -1
  40. package/dist/queryClient-CNvC95mU.js.map +0 -1
  41. package/dist/session-vW7WZadj.js.map +0 -1
  42. package/dist/utils-MD9YwOtu.js.map +0 -1
  43. /package/dist/{ApprovalStatus-BtAVFn5p.js → chunks/ApprovalStatus-BtAVFn5p.js} +0 -0
  44. /package/dist/{FileMeta-G1oT3mYK.js → chunks/FileMeta-G1oT3mYK.js} +0 -0
  45. /package/dist/{env-gsqZ6zZD.js → chunks/env-gsqZ6zZD.js} +0 -0
  46. /package/dist/{queryClient-CNvC95mU.js → chunks/queryClient-CNvC95mU.js} +0 -0
  47. /package/dist/{session-vW7WZadj.js → chunks/session-vW7WZadj.js} +0 -0
  48. /package/dist/{utils-MD9YwOtu.js → chunks/utils-MD9YwOtu.js} +0 -0
@@ -1,7 +1,7 @@
1
- import { j as jsxRuntimeExports } from "./DialogsContext-BKtkEAfL.js";
2
- import { c as compilerRuntimeExports } from "./compiler-runtime-BGHur82y.js";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { c } from "react/compiler-runtime";
3
3
  import { Typography, Stack, Box, useTheme, Paper, ListItemButton, ListItemIcon, ListItemText, List, Menu, ImageListItemBar, IconButton, Tooltip, ImageListItem, Dialog, Fab, Chip, Button, Link, Tab, Divider } from "@mui/material";
4
- import React, { useRef, useState, useEffectEvent, useEffect, createContext, useContext, Fragment } from "react";
4
+ import React__default, { useRef, useState, useEffectEvent, useEffect, createContext, useContext, Fragment } from "react";
5
5
  import CloudUpload from "@mui/icons-material/CloudUpload";
6
6
  import { useDropzone } from "react-dropzone";
7
7
  import { useTranslation } from "react-i18next";
@@ -10,8 +10,8 @@ import { grey } from "@mui/material/colors";
10
10
  import { useInView } from "react-intersection-observer";
11
11
  import Delete from "@mui/icons-material/Delete";
12
12
  import FileDownload from "@mui/icons-material/FileDownload";
13
- import { u as useDialogs } from "./DialogsHooks-BQVpqCq9.js";
14
- import { c as useDownloadFile, f as useDeleteFile, a as useGetFileThumbnail, d as useOpenFile, b as useGetFile, u as useGetFileMetas } from "./FileHooks-Cg9ver7z.js";
13
+ import { u as useDialogs } from "./chunks/DialogsHooks-DOT0O_b4.js";
14
+ import { c as useDownloadFile, f as useDeleteFile, a as useGetFileThumbnail, d as useOpenFile, b as useGetFile, u as useGetFileMetas } from "./chunks/FileHooks-CF1bPDoe.js";
15
15
  import AttachFile from "@mui/icons-material/AttachFile";
16
16
  import Image from "@mui/icons-material/Image";
17
17
  import SmartDisplay from "@mui/icons-material/SmartDisplay";
@@ -19,9 +19,9 @@ import Close from "@mui/icons-material/Close";
19
19
  import Edit from "@mui/icons-material/Edit";
20
20
  import { createLink } from "@tanstack/react-router";
21
21
  import { GridActionsCellItem } from "@mui/x-data-grid-premium";
22
- import { R } from "./RouterListItemButton-IUVgwnz3.js";
22
+ import { R } from "./chunks/RouterListItemButton-DTYXk1kh.js";
23
23
  const TypographyWithIcon = (t0) => {
24
- const $ = compilerRuntimeExports.c(22);
24
+ const $ = c(22);
25
25
  let children;
26
26
  let endIcon;
27
27
  let props;
@@ -80,7 +80,7 @@ const TypographyWithIcon = (t0) => {
80
80
  }
81
81
  let t3;
82
82
  if ($[9] !== startIcon) {
83
- t3 = startIcon && /* @__PURE__ */ jsxRuntimeExports.jsx(Stack, { component: "span", sx: iconSx, children: startIcon });
83
+ t3 = startIcon && /* @__PURE__ */ jsx(Stack, { component: "span", sx: iconSx, children: startIcon });
84
84
  $[9] = startIcon;
85
85
  $[10] = t3;
86
86
  } else {
@@ -98,7 +98,7 @@ const TypographyWithIcon = (t0) => {
98
98
  }
99
99
  let t5;
100
100
  if ($[12] !== children) {
101
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(Stack, { component: "span", sx: t4, children });
101
+ t5 = /* @__PURE__ */ jsx(Stack, { component: "span", sx: t4, children });
102
102
  $[12] = children;
103
103
  $[13] = t5;
104
104
  } else {
@@ -106,7 +106,7 @@ const TypographyWithIcon = (t0) => {
106
106
  }
107
107
  let t6;
108
108
  if ($[14] !== endIcon) {
109
- t6 = endIcon && /* @__PURE__ */ jsxRuntimeExports.jsx(Stack, { component: "span", sx: iconSx, children: endIcon });
109
+ t6 = endIcon && /* @__PURE__ */ jsx(Stack, { component: "span", sx: iconSx, children: endIcon });
110
110
  $[14] = endIcon;
111
111
  $[15] = t6;
112
112
  } else {
@@ -114,7 +114,7 @@ const TypographyWithIcon = (t0) => {
114
114
  }
115
115
  let t7;
116
116
  if ($[16] !== props || $[17] !== t2 || $[18] !== t3 || $[19] !== t5 || $[20] !== t6) {
117
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { component: "span", sx: t2, gap: 1, ...props, children: [
117
+ t7 = /* @__PURE__ */ jsxs(Typography, { component: "span", sx: t2, gap: 1, ...props, children: [
118
118
  t3,
119
119
  t5,
120
120
  t6
@@ -131,7 +131,7 @@ const TypographyWithIcon = (t0) => {
131
131
  return t7;
132
132
  };
133
133
  const Fullscreen = (t0) => {
134
- const $ = compilerRuntimeExports.c(15);
134
+ const $ = c(15);
135
135
  let children;
136
136
  let props;
137
137
  let sx;
@@ -215,7 +215,7 @@ const Fullscreen = (t0) => {
215
215
  }
216
216
  let t5;
217
217
  if ($[10] !== children || $[11] !== height || $[12] !== props || $[13] !== t4) {
218
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { ref: reference, sx: t4, height, ...props, children });
218
+ t5 = /* @__PURE__ */ jsx(Box, { ref: reference, sx: t4, height, ...props, children });
219
219
  $[10] = children;
220
220
  $[11] = height;
221
221
  $[12] = props;
@@ -240,7 +240,7 @@ const baseStyle = {
240
240
  cursor: "pointer"
241
241
  };
242
242
  const Dropzone = (t0) => {
243
- const $ = compilerRuntimeExports.c(28);
243
+ const $ = c(28);
244
244
  let props;
245
245
  let sx;
246
246
  if ($[0] !== t0) {
@@ -319,7 +319,7 @@ const Dropzone = (t0) => {
319
319
  }
320
320
  let t5;
321
321
  if ($[14] !== t3) {
322
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx("input", { ...t3, style: t4 });
322
+ t5 = /* @__PURE__ */ jsx("input", { ...t3, style: t4 });
323
323
  $[14] = t3;
324
324
  $[15] = t5;
325
325
  } else {
@@ -327,7 +327,7 @@ const Dropzone = (t0) => {
327
327
  }
328
328
  let t6;
329
329
  if ($[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
330
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(CloudUpload, {});
330
+ t6 = /* @__PURE__ */ jsx(CloudUpload, {});
331
331
  $[16] = t6;
332
332
  } else {
333
333
  t6 = $[16];
@@ -342,7 +342,7 @@ const Dropzone = (t0) => {
342
342
  }
343
343
  let t8;
344
344
  if ($[19] !== t7) {
345
- t8 = /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { children: t7 });
345
+ t8 = /* @__PURE__ */ jsx(Typography, { children: t7 });
346
346
  $[19] = t7;
347
347
  $[20] = t8;
348
348
  } else {
@@ -350,7 +350,7 @@ const Dropzone = (t0) => {
350
350
  }
351
351
  let t9;
352
352
  if ($[21] !== T0 || $[22] !== sx || $[23] !== t1 || $[24] !== t2 || $[25] !== t5 || $[26] !== t8) {
353
- t9 = /* @__PURE__ */ jsxRuntimeExports.jsxs(T0, { variant: t1, ...t2, sx, children: [
353
+ t9 = /* @__PURE__ */ jsxs(T0, { variant: t1, ...t2, sx, children: [
354
354
  t5,
355
355
  t6,
356
356
  t8
@@ -376,7 +376,7 @@ const useFile = () => {
376
376
  return context;
377
377
  };
378
378
  const ActionsMenu = (t0) => {
379
- const $ = compilerRuntimeExports.c(34);
379
+ const $ = c(34);
380
380
  const {
381
381
  meta,
382
382
  menu,
@@ -470,9 +470,9 @@ const ActionsMenu = (t0) => {
470
470
  }
471
471
  let t6;
472
472
  if ($[16] !== actions?.download || $[17] !== handleOnDownload || $[18] !== isDownloading || $[19] !== t) {
473
- t6 = actions?.download !== false && /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton, { onClick: handleOnDownload, disabled: isDownloading, children: [
474
- /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIcon, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(FileDownload, {}) }),
475
- /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemText, { children: t("Layout.File.Download") })
473
+ t6 = actions?.download !== false && /* @__PURE__ */ jsxs(ListItemButton, { onClick: handleOnDownload, disabled: isDownloading, children: [
474
+ /* @__PURE__ */ jsx(ListItemIcon, { children: /* @__PURE__ */ jsx(FileDownload, {}) }),
475
+ /* @__PURE__ */ jsx(ListItemText, { children: t("Layout.File.Download") })
476
476
  ] });
477
477
  $[16] = actions?.download;
478
478
  $[17] = handleOnDownload;
@@ -484,9 +484,9 @@ const ActionsMenu = (t0) => {
484
484
  }
485
485
  let t7;
486
486
  if ($[21] !== actions?.delete || $[22] !== handleOnDelete || $[23] !== isDeleting || $[24] !== t) {
487
- t7 = actions?.delete !== false && /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton, { onClick: handleOnDelete, disabled: isDeleting, children: [
488
- /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIcon, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Delete, {}) }),
489
- /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemText, { children: t("Layout.File.Delete") })
487
+ t7 = actions?.delete !== false && /* @__PURE__ */ jsxs(ListItemButton, { onClick: handleOnDelete, disabled: isDeleting, children: [
488
+ /* @__PURE__ */ jsx(ListItemIcon, { children: /* @__PURE__ */ jsx(Delete, {}) }),
489
+ /* @__PURE__ */ jsx(ListItemText, { children: t("Layout.File.Delete") })
490
490
  ] });
491
491
  $[21] = actions?.delete;
492
492
  $[22] = handleOnDelete;
@@ -498,7 +498,7 @@ const ActionsMenu = (t0) => {
498
498
  }
499
499
  let t8;
500
500
  if ($[26] !== t6 || $[27] !== t7) {
501
- t8 = /* @__PURE__ */ jsxRuntimeExports.jsxs(List, { disablePadding: true, children: [
501
+ t8 = /* @__PURE__ */ jsxs(List, { disablePadding: true, children: [
502
502
  t6,
503
503
  t7
504
504
  ] });
@@ -510,7 +510,7 @@ const ActionsMenu = (t0) => {
510
510
  }
511
511
  let t9;
512
512
  if ($[29] !== handleMenuClose || $[30] !== t4 || $[31] !== t5 || $[32] !== t8) {
513
- t9 = /* @__PURE__ */ jsxRuntimeExports.jsx(Menu, { open: t4, onClose: handleMenuClose, anchorReference: "anchorPosition", variant: "menu", anchorPosition: t5, children: t8 });
513
+ t9 = /* @__PURE__ */ jsx(Menu, { open: t4, onClose: handleMenuClose, anchorReference: "anchorPosition", variant: "menu", anchorPosition: t5, children: t8 });
514
514
  $[29] = handleMenuClose;
515
515
  $[30] = t4;
516
516
  $[31] = t5;
@@ -523,7 +523,7 @@ const ActionsMenu = (t0) => {
523
523
  };
524
524
  const IMAGE_SIZE = 150;
525
525
  const FileViewerGrid = (t0) => {
526
- const $ = compilerRuntimeExports.c(12);
526
+ const $ = c(12);
527
527
  const {
528
528
  sx,
529
529
  size,
@@ -547,7 +547,7 @@ const FileViewerGrid = (t0) => {
547
547
  if ($[2] !== fileMetas || $[3] !== itemBar || $[4] !== size) {
548
548
  let t32;
549
549
  if ($[6] !== itemBar || $[7] !== size) {
550
- t32 = (fileMeta) => /* @__PURE__ */ jsxRuntimeExports.jsx(GridFileViewerItem, { meta: fileMeta, size, itemBar }, fileMeta.id);
550
+ t32 = (fileMeta) => /* @__PURE__ */ jsx(GridFileViewerItem, { meta: fileMeta, size, itemBar }, fileMeta.id);
551
551
  $[6] = itemBar;
552
552
  $[7] = size;
553
553
  $[8] = t32;
@@ -564,7 +564,7 @@ const FileViewerGrid = (t0) => {
564
564
  }
565
565
  let t3;
566
566
  if ($[9] !== t1 || $[10] !== t2) {
567
- t3 = /* @__PURE__ */ jsxRuntimeExports.jsx(Stack, { direction: "row", spacing: 1, sx: t1, children: t2 });
567
+ t3 = /* @__PURE__ */ jsx(Stack, { direction: "row", spacing: 1, sx: t1, children: t2 });
568
568
  $[9] = t1;
569
569
  $[10] = t2;
570
570
  $[11] = t3;
@@ -574,7 +574,7 @@ const FileViewerGrid = (t0) => {
574
574
  return t3;
575
575
  };
576
576
  const GridFileViewerItem = (t0) => {
577
- const $ = compilerRuntimeExports.c(47);
577
+ const $ = c(47);
578
578
  const {
579
579
  meta,
580
580
  size,
@@ -726,7 +726,7 @@ const GridFileViewerItem = (t0) => {
726
726
  }
727
727
  let t16;
728
728
  if ($[23] !== onClick || $[24] !== source || $[25] !== t12 || $[26] !== t15) {
729
- t16 = /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { component: "img", src: source, loading: "lazy", alt: t12, onClick, sx: t15 });
729
+ t16 = /* @__PURE__ */ jsx(Box, { component: "img", src: source, loading: "lazy", alt: t12, onClick, sx: t15 });
730
730
  $[23] = onClick;
731
731
  $[24] = source;
732
732
  $[25] = t12;
@@ -737,9 +737,9 @@ const GridFileViewerItem = (t0) => {
737
737
  }
738
738
  let t17;
739
739
  if ($[28] !== actions || $[29] !== itemBar || $[30] !== meta.fileName || $[31] !== openMenu || $[32] !== showItemBar) {
740
- t17 = itemBar !== "hidden" && showItemBar && /* @__PURE__ */ jsxRuntimeExports.jsx(ImageListItemBar, { title: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: meta.fileName, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { children: meta.fileName }) }), actionIcon: (actions?.download !== false || actions.delete !== false) && /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { sx: {
740
+ t17 = itemBar !== "hidden" && showItemBar && /* @__PURE__ */ jsx(ImageListItemBar, { title: /* @__PURE__ */ jsx(Tooltip, { title: meta.fileName, children: /* @__PURE__ */ jsx(Box, { children: meta.fileName }) }), actionIcon: (actions?.download !== false || actions.delete !== false) && /* @__PURE__ */ jsx(IconButton, { sx: {
741
741
  color: grey[100]
742
- }, onClick: openMenu, children: /* @__PURE__ */ jsxRuntimeExports.jsx(MoreVert, {}) }) });
742
+ }, onClick: openMenu, children: /* @__PURE__ */ jsx(MoreVert, {}) }) });
743
743
  $[28] = actions;
744
744
  $[29] = itemBar;
745
745
  $[30] = meta.fileName;
@@ -751,7 +751,7 @@ const GridFileViewerItem = (t0) => {
751
751
  }
752
752
  let t18;
753
753
  if ($[34] !== handleOnMouseLeave || $[35] !== ref || $[36] !== t11 || $[37] !== t16 || $[38] !== t17) {
754
- t18 = /* @__PURE__ */ jsxRuntimeExports.jsxs(ImageListItem, { sx: t11, onMouseEnter: handleOnMouseEnter, onMouseLeave: handleOnMouseLeave, ref, children: [
754
+ t18 = /* @__PURE__ */ jsxs(ImageListItem, { sx: t11, onMouseEnter: handleOnMouseEnter, onMouseLeave: handleOnMouseLeave, ref, children: [
755
755
  t16,
756
756
  t17
757
757
  ] });
@@ -766,7 +766,7 @@ const GridFileViewerItem = (t0) => {
766
766
  }
767
767
  let t19;
768
768
  if ($[40] !== actions || $[41] !== menu || $[42] !== meta) {
769
- t19 = (actions?.download !== false || actions.delete !== false) && /* @__PURE__ */ jsxRuntimeExports.jsx(ActionsMenu, { meta, menu, setMenu });
769
+ t19 = (actions?.download !== false || actions.delete !== false) && /* @__PURE__ */ jsx(ActionsMenu, { meta, menu, setMenu });
770
770
  $[40] = actions;
771
771
  $[41] = menu;
772
772
  $[42] = meta;
@@ -776,7 +776,7 @@ const GridFileViewerItem = (t0) => {
776
776
  }
777
777
  let t20;
778
778
  if ($[44] !== t18 || $[45] !== t19) {
779
- t20 = /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
779
+ t20 = /* @__PURE__ */ jsxs(Fragment, { children: [
780
780
  t18,
781
781
  t19
782
782
  ] });
@@ -789,7 +789,7 @@ const GridFileViewerItem = (t0) => {
789
789
  return t20;
790
790
  };
791
791
  const FileViewerList = (t0) => {
792
- const $ = compilerRuntimeExports.c(5);
792
+ const $ = c(5);
793
793
  const {
794
794
  sx
795
795
  } = t0;
@@ -806,7 +806,7 @@ const FileViewerList = (t0) => {
806
806
  }
807
807
  let t2;
808
808
  if ($[2] !== sx || $[3] !== t1) {
809
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx(List, { dense: true, sx, children: t1 });
809
+ t2 = /* @__PURE__ */ jsx(List, { dense: true, sx, children: t1 });
810
810
  $[2] = sx;
811
811
  $[3] = t1;
812
812
  $[4] = t2;
@@ -816,7 +816,7 @@ const FileViewerList = (t0) => {
816
816
  return t2;
817
817
  };
818
818
  const ListFileViewerItem = (t0) => {
819
- const $ = compilerRuntimeExports.c(29);
819
+ const $ = c(29);
820
820
  const {
821
821
  meta
822
822
  } = t0;
@@ -878,13 +878,13 @@ const ListFileViewerItem = (t0) => {
878
878
  t3 = () => {
879
879
  switch (meta.mediaType) {
880
880
  case "image": {
881
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Image, {});
881
+ return /* @__PURE__ */ jsx(Image, {});
882
882
  }
883
883
  case "video": {
884
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SmartDisplay, {});
884
+ return /* @__PURE__ */ jsx(SmartDisplay, {});
885
885
  }
886
886
  default: {
887
- return /* @__PURE__ */ jsxRuntimeExports.jsx(AttachFile, {});
887
+ return /* @__PURE__ */ jsx(AttachFile, {});
888
888
  }
889
889
  }
890
890
  };
@@ -896,7 +896,7 @@ const ListFileViewerItem = (t0) => {
896
896
  const icon = t3;
897
897
  let t4;
898
898
  if ($[9] !== icon) {
899
- t4 = /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIcon, { children: icon() });
899
+ t4 = /* @__PURE__ */ jsx(ListItemIcon, { children: icon() });
900
900
  $[9] = icon;
901
901
  $[10] = t4;
902
902
  } else {
@@ -905,7 +905,7 @@ const ListFileViewerItem = (t0) => {
905
905
  const t5 = `${meta.fileName}.${meta.fileExtension}`;
906
906
  let t6;
907
907
  if ($[11] !== t5) {
908
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemText, { primary: t5 });
908
+ t6 = /* @__PURE__ */ jsx(ListItemText, { primary: t5 });
909
909
  $[11] = t5;
910
910
  $[12] = t6;
911
911
  } else {
@@ -913,7 +913,7 @@ const ListFileViewerItem = (t0) => {
913
913
  }
914
914
  let t7;
915
915
  if ($[13] !== actions || $[14] !== openMenu) {
916
- t7 = (actions?.download !== false || actions.delete !== false) && /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { edge: "end", onClick: openMenu, children: /* @__PURE__ */ jsxRuntimeExports.jsx(MoreVert, {}) });
916
+ t7 = (actions?.download !== false || actions.delete !== false) && /* @__PURE__ */ jsx(IconButton, { edge: "end", onClick: openMenu, children: /* @__PURE__ */ jsx(MoreVert, {}) });
917
917
  $[13] = actions;
918
918
  $[14] = openMenu;
919
919
  $[15] = t7;
@@ -922,7 +922,7 @@ const ListFileViewerItem = (t0) => {
922
922
  }
923
923
  let t8;
924
924
  if ($[16] !== meta.id || $[17] !== onClick || $[18] !== t4 || $[19] !== t6 || $[20] !== t7) {
925
- t8 = /* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton, { onClick, children: [
925
+ t8 = /* @__PURE__ */ jsxs(ListItemButton, { onClick, children: [
926
926
  t4,
927
927
  t6,
928
928
  t7
@@ -938,7 +938,7 @@ const ListFileViewerItem = (t0) => {
938
938
  }
939
939
  let t9;
940
940
  if ($[22] !== actions || $[23] !== menu || $[24] !== meta) {
941
- t9 = (actions?.download !== false || actions.delete !== false) && /* @__PURE__ */ jsxRuntimeExports.jsx(ActionsMenu, { meta, menu, setMenu });
941
+ t9 = (actions?.download !== false || actions.delete !== false) && /* @__PURE__ */ jsx(ActionsMenu, { meta, menu, setMenu });
942
942
  $[22] = actions;
943
943
  $[23] = menu;
944
944
  $[24] = meta;
@@ -948,7 +948,7 @@ const ListFileViewerItem = (t0) => {
948
948
  }
949
949
  let t10;
950
950
  if ($[26] !== t8 || $[27] !== t9) {
951
- t10 = /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
951
+ t10 = /* @__PURE__ */ jsxs(Fragment, { children: [
952
952
  t8,
953
953
  t9
954
954
  ] });
@@ -961,7 +961,7 @@ const ListFileViewerItem = (t0) => {
961
961
  return t10;
962
962
  };
963
963
  function _temp(fileMeta) {
964
- return /* @__PURE__ */ jsxRuntimeExports.jsx(ListFileViewerItem, { meta: fileMeta }, fileMeta.id);
964
+ return /* @__PURE__ */ jsx(ListFileViewerItem, { meta: fileMeta }, fileMeta.id);
965
965
  }
966
966
  const ImageViewer = ({
967
967
  metaId
@@ -1013,23 +1013,23 @@ const ImageViewer = ({
1013
1013
  };
1014
1014
  const onClose = () => setImageId("");
1015
1015
  if (!metaId) return null;
1016
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Dialog, { open: true, onClose, maxWidth: "xl", children: [
1017
- /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { component: "img", src: source, alt: metaId, sx: {
1016
+ return /* @__PURE__ */ jsxs(Dialog, { open: true, onClose, maxWidth: "xl", children: [
1017
+ /* @__PURE__ */ jsx(Box, { component: "img", src: source, alt: metaId, sx: {
1018
1018
  maxWidth: "100vw",
1019
1019
  maxHeight: {
1020
1020
  xs: "calc(100vh - 56px)",
1021
1021
  sm: "calc(100vh - 64px)"
1022
1022
  }
1023
1023
  } }),
1024
- /* @__PURE__ */ jsxRuntimeExports.jsx(Fab, { size: "medium", onClick: onClose, sx: {
1024
+ /* @__PURE__ */ jsx(Fab, { size: "medium", onClick: onClose, sx: {
1025
1025
  position: "fixed",
1026
1026
  top: 8,
1027
1027
  right: 8
1028
- }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Close, {}) })
1028
+ }, children: /* @__PURE__ */ jsx(Close, {}) })
1029
1029
  ] });
1030
1030
  };
1031
1031
  const FileViewer = (t0) => {
1032
- const $ = compilerRuntimeExports.c(25);
1032
+ const $ = c(25);
1033
1033
  const {
1034
1034
  subId,
1035
1035
  onDelete,
@@ -1121,7 +1121,7 @@ const FileViewer = (t0) => {
1121
1121
  }
1122
1122
  let t9;
1123
1123
  if ($[18] !== imageId) {
1124
- t9 = /* @__PURE__ */ jsxRuntimeExports.jsx(ImageViewer, { metaId: imageId });
1124
+ t9 = /* @__PURE__ */ jsx(ImageViewer, { metaId: imageId });
1125
1125
  $[18] = imageId;
1126
1126
  $[19] = t9;
1127
1127
  } else {
@@ -1129,7 +1129,7 @@ const FileViewer = (t0) => {
1129
1129
  }
1130
1130
  let t10;
1131
1131
  if ($[20] !== T0 || $[21] !== t6 || $[22] !== t7 || $[23] !== t9) {
1132
- t10 = /* @__PURE__ */ jsxRuntimeExports.jsxs(T0, { value: t6, children: [
1132
+ t10 = /* @__PURE__ */ jsxs(T0, { value: t6, children: [
1133
1133
  t7,
1134
1134
  t9
1135
1135
  ] });
@@ -1145,7 +1145,7 @@ const FileViewer = (t0) => {
1145
1145
  };
1146
1146
  const isArray = (value) => Array.isArray(value);
1147
1147
  const ChipInputCell = (t0) => {
1148
- const $ = compilerRuntimeExports.c(20);
1148
+ const $ = c(20);
1149
1149
  const {
1150
1150
  params,
1151
1151
  slotProps,
@@ -1185,7 +1185,7 @@ const ChipInputCell = (t0) => {
1185
1185
  if ($[4] !== getLabelValue || $[5] !== params.value || $[6] !== slotProps) {
1186
1186
  let t42;
1187
1187
  if ($[8] !== getLabelValue || $[9] !== slotProps) {
1188
- t42 = (value_0, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(Chip, { label: getLabelValue(value_0), ...slotProps }, `${index + 1}-chip-input-cell`);
1188
+ t42 = (value_0, index) => /* @__PURE__ */ jsx(Chip, { label: getLabelValue(value_0), ...slotProps }, `${index + 1}-chip-input-cell`);
1189
1189
  $[8] = getLabelValue;
1190
1190
  $[9] = slotProps;
1191
1191
  $[10] = t42;
@@ -1202,7 +1202,7 @@ const ChipInputCell = (t0) => {
1202
1202
  }
1203
1203
  let t4;
1204
1204
  if ($[11] !== t22 || $[12] !== t32) {
1205
- t4 = /* @__PURE__ */ jsxRuntimeExports.jsx(Stack, { direction: "row", alignItems: "center", gap: 1, sx: t22, children: t32 });
1205
+ t4 = /* @__PURE__ */ jsx(Stack, { direction: "row", alignItems: "center", gap: 1, sx: t22, children: t32 });
1206
1206
  $[11] = t22;
1207
1207
  $[12] = t32;
1208
1208
  $[13] = t4;
@@ -1222,7 +1222,7 @@ const ChipInputCell = (t0) => {
1222
1222
  }
1223
1223
  let t3;
1224
1224
  if ($[17] !== slotProps || $[18] !== t2) {
1225
- t3 = /* @__PURE__ */ jsxRuntimeExports.jsx(Chip, { label: t2, ...slotProps });
1225
+ t3 = /* @__PURE__ */ jsx(Chip, { label: t2, ...slotProps });
1226
1226
  $[17] = slotProps;
1227
1227
  $[18] = t2;
1228
1228
  $[19] = t3;
@@ -1232,20 +1232,20 @@ const ChipInputCell = (t0) => {
1232
1232
  return t3;
1233
1233
  };
1234
1234
  const EditableColumnHeader = (t0) => {
1235
- const $ = compilerRuntimeExports.c(3);
1235
+ const $ = c(3);
1236
1236
  const {
1237
1237
  colDef
1238
1238
  } = t0;
1239
1239
  let t1;
1240
1240
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1241
- t1 = /* @__PURE__ */ jsxRuntimeExports.jsx(Edit, { color: "disabled", fontSize: "small" });
1241
+ t1 = /* @__PURE__ */ jsx(Edit, { color: "disabled", fontSize: "small" });
1242
1242
  $[0] = t1;
1243
1243
  } else {
1244
1244
  t1 = $[0];
1245
1245
  }
1246
1246
  let t2;
1247
1247
  if ($[1] !== colDef.headerName) {
1248
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsx(TypographyWithIcon, { endIcon: t1, variant: "body2", className: "MuiDataGrid-columnHeaderTitle", children: colDef.headerName });
1248
+ t2 = /* @__PURE__ */ jsx(TypographyWithIcon, { endIcon: t1, variant: "body2", className: "MuiDataGrid-columnHeaderTitle", children: colDef.headerName });
1249
1249
  $[1] = colDef.headerName;
1250
1250
  $[2] = t2;
1251
1251
  } else {
@@ -1253,11 +1253,11 @@ const EditableColumnHeader = (t0) => {
1253
1253
  }
1254
1254
  return t2;
1255
1255
  };
1256
- const Component$4 = React.forwardRef(function ButtonComponent(props, reference) {
1257
- const $ = compilerRuntimeExports.c(3);
1256
+ const Component$4 = React__default.forwardRef(function ButtonComponent(props, reference) {
1257
+ const $ = c(3);
1258
1258
  let t0;
1259
1259
  if ($[0] !== props || $[1] !== reference) {
1260
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { ref: reference, component: "a", ...props });
1260
+ t0 = /* @__PURE__ */ jsx(Button, { ref: reference, component: "a", ...props });
1261
1261
  $[0] = props;
1262
1262
  $[1] = reference;
1263
1263
  $[2] = t0;
@@ -1268,10 +1268,10 @@ const Component$4 = React.forwardRef(function ButtonComponent(props, reference)
1268
1268
  });
1269
1269
  const CreatedComponent$4 = createLink(Component$4);
1270
1270
  const RouterButton = (props) => {
1271
- const $ = compilerRuntimeExports.c(2);
1271
+ const $ = c(2);
1272
1272
  let t0;
1273
1273
  if ($[0] !== props) {
1274
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(CreatedComponent$4, { ...props });
1274
+ t0 = /* @__PURE__ */ jsx(CreatedComponent$4, { ...props });
1275
1275
  $[0] = props;
1276
1276
  $[1] = t0;
1277
1277
  } else {
@@ -1279,11 +1279,11 @@ const RouterButton = (props) => {
1279
1279
  }
1280
1280
  return t0;
1281
1281
  };
1282
- const Component$3 = React.forwardRef(function GridActionsCellItemComponent(props, reference) {
1283
- const $ = compilerRuntimeExports.c(3);
1282
+ const Component$3 = React__default.forwardRef(function GridActionsCellItemComponent(props, reference) {
1283
+ const $ = c(3);
1284
1284
  let t0;
1285
1285
  if ($[0] !== props || $[1] !== reference) {
1286
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(GridActionsCellItem, { ref: reference, component: "a", ...props });
1286
+ t0 = /* @__PURE__ */ jsx(GridActionsCellItem, { ref: reference, component: "a", ...props });
1287
1287
  $[0] = props;
1288
1288
  $[1] = reference;
1289
1289
  $[2] = t0;
@@ -1294,10 +1294,10 @@ const Component$3 = React.forwardRef(function GridActionsCellItemComponent(props
1294
1294
  });
1295
1295
  const CreatedComponent$3 = createLink(Component$3);
1296
1296
  const RouterGridActionsCellItem = (props) => {
1297
- const $ = compilerRuntimeExports.c(2);
1297
+ const $ = c(2);
1298
1298
  let t0;
1299
1299
  if ($[0] !== props) {
1300
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(CreatedComponent$3, { ...props });
1300
+ t0 = /* @__PURE__ */ jsx(CreatedComponent$3, { ...props });
1301
1301
  $[0] = props;
1302
1302
  $[1] = t0;
1303
1303
  } else {
@@ -1305,11 +1305,11 @@ const RouterGridActionsCellItem = (props) => {
1305
1305
  }
1306
1306
  return t0;
1307
1307
  };
1308
- const Component$2 = React.forwardRef(function IconButtonComponent(props, reference) {
1309
- const $ = compilerRuntimeExports.c(3);
1308
+ const Component$2 = React__default.forwardRef(function IconButtonComponent(props, reference) {
1309
+ const $ = c(3);
1310
1310
  let t0;
1311
1311
  if ($[0] !== props || $[1] !== reference) {
1312
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { ref: reference, component: "a", ...props });
1312
+ t0 = /* @__PURE__ */ jsx(IconButton, { ref: reference, component: "a", ...props });
1313
1313
  $[0] = props;
1314
1314
  $[1] = reference;
1315
1315
  $[2] = t0;
@@ -1320,10 +1320,10 @@ const Component$2 = React.forwardRef(function IconButtonComponent(props, referen
1320
1320
  });
1321
1321
  const CreatedComponent$2 = createLink(Component$2);
1322
1322
  const RouterIconButton = (props) => {
1323
- const $ = compilerRuntimeExports.c(2);
1323
+ const $ = c(2);
1324
1324
  let t0;
1325
1325
  if ($[0] !== props) {
1326
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(CreatedComponent$2, { ...props });
1326
+ t0 = /* @__PURE__ */ jsx(CreatedComponent$2, { ...props });
1327
1327
  $[0] = props;
1328
1328
  $[1] = t0;
1329
1329
  } else {
@@ -1331,11 +1331,11 @@ const RouterIconButton = (props) => {
1331
1331
  }
1332
1332
  return t0;
1333
1333
  };
1334
- const Component$1 = React.forwardRef(function LinkComponent(props, reference) {
1335
- const $ = compilerRuntimeExports.c(3);
1334
+ const Component$1 = React__default.forwardRef(function LinkComponent(props, reference) {
1335
+ const $ = c(3);
1336
1336
  let t0;
1337
1337
  if ($[0] !== props || $[1] !== reference) {
1338
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { ref: reference, ...props });
1338
+ t0 = /* @__PURE__ */ jsx(Link, { ref: reference, ...props });
1339
1339
  $[0] = props;
1340
1340
  $[1] = reference;
1341
1341
  $[2] = t0;
@@ -1346,10 +1346,10 @@ const Component$1 = React.forwardRef(function LinkComponent(props, reference) {
1346
1346
  });
1347
1347
  const CreatedComponent$1 = createLink(Component$1);
1348
1348
  const RouterLink = (props) => {
1349
- const $ = compilerRuntimeExports.c(2);
1349
+ const $ = c(2);
1350
1350
  let t0;
1351
1351
  if ($[0] !== props) {
1352
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(CreatedComponent$1, { ...props });
1352
+ t0 = /* @__PURE__ */ jsx(CreatedComponent$1, { ...props });
1353
1353
  $[0] = props;
1354
1354
  $[1] = t0;
1355
1355
  } else {
@@ -1357,11 +1357,11 @@ const RouterLink = (props) => {
1357
1357
  }
1358
1358
  return t0;
1359
1359
  };
1360
- const Component = React.forwardRef(function TabComponent(props, reference) {
1361
- const $ = compilerRuntimeExports.c(3);
1360
+ const Component = React__default.forwardRef(function TabComponent(props, reference) {
1361
+ const $ = c(3);
1362
1362
  let t0;
1363
1363
  if ($[0] !== props || $[1] !== reference) {
1364
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(Tab, { ref: reference, component: "a", ...props });
1364
+ t0 = /* @__PURE__ */ jsx(Tab, { ref: reference, component: "a", ...props });
1365
1365
  $[0] = props;
1366
1366
  $[1] = reference;
1367
1367
  $[2] = t0;
@@ -1372,10 +1372,10 @@ const Component = React.forwardRef(function TabComponent(props, reference) {
1372
1372
  });
1373
1373
  const CreatedComponent = createLink(Component);
1374
1374
  const RouterTab = (props) => {
1375
- const $ = compilerRuntimeExports.c(2);
1375
+ const $ = c(2);
1376
1376
  let t0;
1377
1377
  if ($[0] !== props) {
1378
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(CreatedComponent, { ...props });
1378
+ t0 = /* @__PURE__ */ jsx(CreatedComponent, { ...props });
1379
1379
  $[0] = props;
1380
1380
  $[1] = t0;
1381
1381
  } else {
@@ -1384,13 +1384,13 @@ const RouterTab = (props) => {
1384
1384
  return t0;
1385
1385
  };
1386
1386
  function RouterNotFound() {
1387
- const $ = compilerRuntimeExports.c(6);
1387
+ const $ = c(6);
1388
1388
  const {
1389
1389
  t
1390
1390
  } = useTranslation();
1391
1391
  let t0;
1392
1392
  if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1393
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "h3", component: "span", fontWeight: 500, sx: {
1393
+ t0 = /* @__PURE__ */ jsx(Typography, { variant: "h3", component: "span", fontWeight: 500, sx: {
1394
1394
  lineHeight: 1
1395
1395
  }, children: "404" });
1396
1396
  $[0] = t0;
@@ -1399,7 +1399,7 @@ function RouterNotFound() {
1399
1399
  }
1400
1400
  let t1;
1401
1401
  if ($[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1402
- t1 = /* @__PURE__ */ jsxRuntimeExports.jsx(Divider, { orientation: "vertical", flexItem: true, sx: {
1402
+ t1 = /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: {
1403
1403
  mx: 3
1404
1404
  } });
1405
1405
  $[1] = t1;
@@ -1416,10 +1416,10 @@ function RouterNotFound() {
1416
1416
  }
1417
1417
  let t3;
1418
1418
  if ($[4] !== t2) {
1419
- t3 = /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { height: "100vh", display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", textAlign: "center", px: 2, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { display: "flex", alignItems: "center", mb: 4, children: [
1419
+ t3 = /* @__PURE__ */ jsx(Box, { height: "100vh", display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", textAlign: "center", px: 2, children: /* @__PURE__ */ jsxs(Box, { display: "flex", alignItems: "center", mb: 4, children: [
1420
1420
  t0,
1421
1421
  t1,
1422
- /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "h5", component: "span", children: t2 })
1422
+ /* @__PURE__ */ jsx(Typography, { variant: "h5", component: "span", children: t2 })
1423
1423
  ] }) });
1424
1424
  $[4] = t2;
1425
1425
  $[5] = t3;
@@ -1429,7 +1429,7 @@ function RouterNotFound() {
1429
1429
  return t3;
1430
1430
  }
1431
1431
  const RouterError = (t0) => {
1432
- const $ = compilerRuntimeExports.c(9);
1432
+ const $ = c(9);
1433
1433
  const {
1434
1434
  error
1435
1435
  } = t0;
@@ -1445,7 +1445,7 @@ const RouterError = (t0) => {
1445
1445
  const t2 = error.name || "500";
1446
1446
  let t3;
1447
1447
  if ($[1] !== t2) {
1448
- t3 = /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "h3", component: "span", fontWeight: 500, sx: t1, children: t2 });
1448
+ t3 = /* @__PURE__ */ jsx(Typography, { variant: "h3", component: "span", fontWeight: 500, sx: t1, children: t2 });
1449
1449
  $[1] = t2;
1450
1450
  $[2] = t3;
1451
1451
  } else {
@@ -1453,7 +1453,7 @@ const RouterError = (t0) => {
1453
1453
  }
1454
1454
  let t4;
1455
1455
  if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
1456
- t4 = /* @__PURE__ */ jsxRuntimeExports.jsx(Divider, { orientation: "vertical", flexItem: true, sx: {
1456
+ t4 = /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: {
1457
1457
  mx: 3
1458
1458
  } });
1459
1459
  $[3] = t4;
@@ -1462,7 +1462,7 @@ const RouterError = (t0) => {
1462
1462
  }
1463
1463
  let t5;
1464
1464
  if ($[4] !== error.message) {
1465
- t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "h5", component: "span", children: error.message });
1465
+ t5 = /* @__PURE__ */ jsx(Typography, { variant: "h5", component: "span", children: error.message });
1466
1466
  $[4] = error.message;
1467
1467
  $[5] = t5;
1468
1468
  } else {
@@ -1470,7 +1470,7 @@ const RouterError = (t0) => {
1470
1470
  }
1471
1471
  let t6;
1472
1472
  if ($[6] !== t3 || $[7] !== t5) {
1473
- t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { height: "100vh", display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", textAlign: "center", px: 2, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { display: "flex", alignItems: "center", mb: 4, children: [
1473
+ t6 = /* @__PURE__ */ jsx(Box, { height: "100vh", display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", textAlign: "center", px: 2, children: /* @__PURE__ */ jsxs(Box, { display: "flex", alignItems: "center", mb: 4, children: [
1474
1474
  t3,
1475
1475
  t4,
1476
1476
  t5