wcz-layout 10.2.0 → 10.2.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.
Files changed (40) hide show
  1. package/dist/{ChatLayout-Tpuwo8-b.mjs → ChatLayout-BpRj5rlH.mjs} +41 -24
  2. package/dist/ChatLayout-BpRj5rlH.mjs.map +1 -0
  3. package/dist/ai.d.mts +9 -0
  4. package/dist/{utils-DnMFybj3.mjs → ai.mjs} +3 -6
  5. package/dist/ai.mjs.map +1 -0
  6. package/dist/{approval-HB2w5jzc.mjs → approval-B3ZQn9aH.mjs} +2 -2
  7. package/dist/{approval-HB2w5jzc.mjs.map → approval-B3ZQn9aH.mjs.map} +1 -1
  8. package/dist/auth.mjs +4 -3
  9. package/dist/auth.mjs.map +1 -1
  10. package/dist/components.mjs +45 -43
  11. package/dist/components.mjs.map +1 -1
  12. package/dist/{createApi-CKgFi53y.mjs → createApi-BXjkj4fM.mjs} +3 -3
  13. package/dist/{createApi-CKgFi53y.mjs.map → createApi-BXjkj4fM.mjs.map} +1 -1
  14. package/dist/data/client.mjs +3 -3
  15. package/dist/data/server.mjs +4 -4
  16. package/dist/{file-X1sK4ok6.mjs → file-BQ-Bu2g8.mjs} +4 -4
  17. package/dist/{file-X1sK4ok6.mjs.map → file-BQ-Bu2g8.mjs.map} +1 -1
  18. package/dist/{file-tkfsnk5F.mjs → file-DZ0KYhoB.mjs} +5 -5
  19. package/dist/{file-tkfsnk5F.mjs.map → file-DZ0KYhoB.mjs.map} +1 -1
  20. package/dist/hooks.mjs +4 -4
  21. package/dist/hooks.mjs.map +1 -1
  22. package/dist/index.mjs +2 -2
  23. package/dist/middleware.mjs +1 -1
  24. package/dist/{peoplesoft-RnvfLbWH.mjs → peoplesoft-CvwdApCK.mjs} +2 -2
  25. package/dist/{peoplesoft-RnvfLbWH.mjs.map → peoplesoft-CvwdApCK.mjs.map} +1 -1
  26. package/dist/session-B_jK90RC.mjs +23 -0
  27. package/dist/session-B_jK90RC.mjs.map +1 -0
  28. package/dist/{tokens-C4SErO-K.mjs → tokens-CkWpu7Qp.mjs} +2 -2
  29. package/dist/{tokens-C4SErO-K.mjs.map → tokens-CkWpu7Qp.mjs.map} +1 -1
  30. package/dist/{utils-C2MZoH9U.mjs → utils-DJx-7b4M.mjs} +3 -22
  31. package/dist/utils-DJx-7b4M.mjs.map +1 -0
  32. package/dist/utils.d.mts +1 -10
  33. package/dist/utils.mjs +5 -3
  34. package/package.json +12 -2
  35. package/skills/ai/SKILL.md +3 -3
  36. package/skills/migrations/versions/migrate-v10-to-v11.md +4 -0
  37. package/skills/services/docs/approval.md +5 -0
  38. package/dist/ChatLayout-Tpuwo8-b.mjs.map +0 -1
  39. package/dist/utils-C2MZoH9U.mjs.map +0 -1
  40. package/dist/utils-DnMFybj3.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
- import { d as sanitizeReturnTo, m as loginProvidersQueryOptions } from "./utils-C2MZoH9U.mjs";
2
- import { a as fileQueryOptions, i as fileMetasQueryOptions, n as deleteFileMutationOptions, o as fileThumbnailQueryOptions, r as downloadFileMutationOptions, s as openFileMutationOptions } from "./file-X1sK4ok6.mjs";
3
- import { D as RouterLink, O as useDialogs, _ as toClipboardText, a as cellSelectionSx, c as columnFlex, d as layoutTableClasses, f as lookaheadRange, h as pinnedSx, m as pinnedClass, o as classNames, r as AggregatedCell, s as columnAlign, t as ChatLayout, u as hasColumnLabel, v as DEFAULT_PAGE_SIZE_OPTIONS } from "./ChatLayout-Tpuwo8-b.mjs";
1
+ import { d as sanitizeReturnTo, m as loginProvidersQueryOptions } from "./utils-DJx-7b4M.mjs";
2
+ import { a as fileQueryOptions, i as fileMetasQueryOptions, n as deleteFileMutationOptions, o as fileThumbnailQueryOptions, r as downloadFileMutationOptions, s as openFileMutationOptions } from "./file-BQ-Bu2g8.mjs";
3
+ import { D as RouterLink, O as useDialogs, _ as toClipboardText, a as cellSelectionSx, c as columnFlex, d as layoutTableClasses, f as lookaheadRange, h as pinnedSx, m as pinnedClass, o as classNames, r as AggregatedCell, s as columnAlign, t as ChatLayout, u as hasColumnLabel, v as DEFAULT_PAGE_SIZE_OPTIONS } from "./ChatLayout-BpRj5rlH.mjs";
4
4
  import { n as RouterIconButton, t as RouterListItemButton } from "./RouterListItemButton-CF-8w-08.mjs";
5
5
  import { c } from "react/compiler-runtime";
6
6
  import { Box, Button, ButtonBase, Card, CardContent, CircularProgress, Dialog, Divider, Fab, IconButton, ImageListItem, ImageListItemBar, List, ListItem, ListItemButton, ListItemIcon, ListItemText, Menu, MenuItem, Paper, Skeleton, Stack, Tab, Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, TableRow, Tooltip, Typography, alpha, useTheme } from "@mui/material";
@@ -508,7 +508,7 @@ const useFile = () => {
508
508
  };
509
509
  // src/components/file/fileViewer/common/ActionsMenu.tsx
510
510
  const ActionsMenu = (t0) => {
511
- const $ = c(35);
511
+ const $ = c(37);
512
512
  const { meta, anchorEl, onClose } = t0;
513
513
  const { t } = useTranslation();
514
514
  const { fileMetas, onDelete, actions, appName } = useFile();
@@ -533,7 +533,7 @@ const ActionsMenu = (t0) => {
533
533
  } else t3 = $[3];
534
534
  const { mutateAsync: deleteFile, isPending: isDeleting } = useMutation(t3);
535
535
  let t4;
536
- if ($[4] !== appName || $[5] !== download || $[6] !== meta || $[7] !== onClose) {
536
+ if ($[4] !== appName || $[5] !== download || $[6] !== meta.fileExtension || $[7] !== meta.fileName || $[8] !== meta.id || $[9] !== onClose) {
537
537
  t4 = () => {
538
538
  onClose();
539
539
  download({
@@ -545,13 +545,15 @@ const ActionsMenu = (t0) => {
545
545
  };
546
546
  $[4] = appName;
547
547
  $[5] = download;
548
- $[6] = meta;
549
- $[7] = onClose;
550
- $[8] = t4;
551
- } else t4 = $[8];
548
+ $[6] = meta.fileExtension;
549
+ $[7] = meta.fileName;
550
+ $[8] = meta.id;
551
+ $[9] = onClose;
552
+ $[10] = t4;
553
+ } else t4 = $[10];
552
554
  const handleOnDownload = t4;
553
555
  let t5;
554
- if ($[9] !== alert || $[10] !== appName || $[11] !== confirm || $[12] !== deleteFile || $[13] !== fileMetas || $[14] !== meta || $[15] !== onClose || $[16] !== onDelete || $[17] !== t) {
556
+ if ($[11] !== alert || $[12] !== appName || $[13] !== confirm || $[14] !== deleteFile || $[15] !== fileMetas || $[16] !== meta || $[17] !== onClose || $[18] !== onDelete || $[19] !== t) {
555
557
  t5 = async () => {
556
558
  onClose();
557
559
  if (!await confirm(t("Layout.File.AreYouSureYouWantToDelete", { name: meta.fileName }), {
@@ -573,60 +575,60 @@ const ActionsMenu = (t0) => {
573
575
  deletedFileMeta: meta
574
576
  });
575
577
  };
576
- $[9] = alert;
577
- $[10] = appName;
578
- $[11] = confirm;
579
- $[12] = deleteFile;
580
- $[13] = fileMetas;
581
- $[14] = meta;
582
- $[15] = onClose;
583
- $[16] = onDelete;
584
- $[17] = t;
585
- $[18] = t5;
586
- } else t5 = $[18];
578
+ $[11] = alert;
579
+ $[12] = appName;
580
+ $[13] = confirm;
581
+ $[14] = deleteFile;
582
+ $[15] = fileMetas;
583
+ $[16] = meta;
584
+ $[17] = onClose;
585
+ $[18] = onDelete;
586
+ $[19] = t;
587
+ $[20] = t5;
588
+ } else t5 = $[20];
587
589
  const handleOnDelete = t5;
588
590
  const t6 = !!anchorEl;
589
591
  let t7;
590
- if ($[19] !== actions?.download || $[20] !== handleOnDownload || $[21] !== isDownloading || $[22] !== t) {
592
+ if ($[21] !== actions?.download || $[22] !== handleOnDownload || $[23] !== isDownloading || $[24] !== t) {
591
593
  t7 = actions?.download !== false && /* @__PURE__ */ jsxs(MenuItem, {
592
594
  onClick: handleOnDownload,
593
595
  disabled: isDownloading,
594
596
  children: [/* @__PURE__ */ jsx(ListItemIcon, { children: /* @__PURE__ */ jsx(FileDownload, {}) }), /* @__PURE__ */ jsx(ListItemText, { children: t("Layout.File.Download") })]
595
597
  });
596
- $[19] = actions?.download;
597
- $[20] = handleOnDownload;
598
- $[21] = isDownloading;
599
- $[22] = t;
600
- $[23] = t7;
601
- } else t7 = $[23];
598
+ $[21] = actions?.download;
599
+ $[22] = handleOnDownload;
600
+ $[23] = isDownloading;
601
+ $[24] = t;
602
+ $[25] = t7;
603
+ } else t7 = $[25];
602
604
  let t8;
603
- if ($[24] !== actions?.delete || $[25] !== handleOnDelete || $[26] !== isDeleting || $[27] !== t) {
605
+ if ($[26] !== actions?.delete || $[27] !== handleOnDelete || $[28] !== isDeleting || $[29] !== t) {
604
606
  t8 = actions?.delete !== false && /* @__PURE__ */ jsxs(MenuItem, {
605
607
  onClick: handleOnDelete,
606
608
  disabled: isDeleting,
607
609
  children: [/* @__PURE__ */ jsx(ListItemIcon, { children: /* @__PURE__ */ jsx(Delete, {}) }), /* @__PURE__ */ jsx(ListItemText, { children: t("Layout.File.Delete") })]
608
610
  });
609
- $[24] = actions?.delete;
610
- $[25] = handleOnDelete;
611
- $[26] = isDeleting;
612
- $[27] = t;
613
- $[28] = t8;
614
- } else t8 = $[28];
611
+ $[26] = actions?.delete;
612
+ $[27] = handleOnDelete;
613
+ $[28] = isDeleting;
614
+ $[29] = t;
615
+ $[30] = t8;
616
+ } else t8 = $[30];
615
617
  let t9;
616
- if ($[29] !== anchorEl || $[30] !== onClose || $[31] !== t6 || $[32] !== t7 || $[33] !== t8) {
618
+ if ($[31] !== anchorEl || $[32] !== onClose || $[33] !== t6 || $[34] !== t7 || $[35] !== t8) {
617
619
  t9 = /* @__PURE__ */ jsxs(Menu, {
618
620
  anchorEl,
619
621
  open: t6,
620
622
  onClose,
621
623
  children: [t7, t8]
622
624
  });
623
- $[29] = anchorEl;
624
- $[30] = onClose;
625
- $[31] = t6;
626
- $[32] = t7;
627
- $[33] = t8;
628
- $[34] = t9;
629
- } else t9 = $[34];
625
+ $[31] = anchorEl;
626
+ $[32] = onClose;
627
+ $[33] = t6;
628
+ $[34] = t7;
629
+ $[35] = t8;
630
+ $[36] = t9;
631
+ } else t9 = $[36];
630
632
  return t9;
631
633
  };
632
634
  // src/components/file/fileViewer/FileViewerGrid.tsx