wcz-layout 7.6.3 → 7.6.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.
@@ -1 +1 @@
1
- {"version":3,"file":"DialogsContext-BIhId-r8.js","names":["createContext","CloseDialog","OpenDialog","DialogsContextValue","open","close","DialogsContext"],"sources":["../src/contexts/DialogsContext.ts"],"sourcesContent":["import { createContext } from \"react\";\nimport type { CloseDialog, OpenDialog } from \"../hooks/DialogsHooks\";\n\nexport interface DialogsContextValue {\n open: OpenDialog;\n close: CloseDialog;\n}\n\nexport const DialogsContext = createContext<DialogsContextValue>({} as DialogsContextValue);\n"],"mappings":";;AAQA,IAAaM,IAAiBN,EAAmC,EAAE,CAAwB"}
1
+ {"version":3,"file":"DialogsContext-BIhId-r8.js","names":["createContext","CloseDialog","OpenDialog","DialogsContextValue","open","close","DialogsContext"],"sources":["../src/contexts/DialogsContext.ts"],"sourcesContent":["import { createContext } from \"react\";\nimport type { CloseDialog, OpenDialog } from \"../hooks/useDialogs\";\n\nexport interface DialogsContextValue {\n open: OpenDialog;\n close: CloseDialog;\n}\n\nexport const DialogsContext = createContext<DialogsContextValue>({} as DialogsContextValue);\n"],"mappings":";;AAQA,IAAaM,IAAiBN,EAAmC,EAAE,CAAwB"}
@@ -1,6 +1,6 @@
1
- import { i as e, r as t, t as n } from "./queries-D-DV5lCw.js";
1
+ import { i as e, r as t, t as n } from "./queries-D8Ys1kLs.js";
2
2
  import { n as r, t as i } from "./RouterListItemButton-DeaQB4ym.js";
3
- import { n as a, t as o } from "./DialogsHooks-CZVdKmPv.js";
3
+ import { n as a, t as o } from "./useDialogs-CX8kuAuA.js";
4
4
  import { c as s } from "react/compiler-runtime";
5
5
  import { Box as c, Button as l, Chip as u, Dialog as d, Divider as f, Fab as p, IconButton as m, ImageListItem as h, ImageListItemBar as g, Link as _, List as v, ListItemButton as y, ListItemIcon as b, ListItemText as x, Menu as S, Stack as C, Tab as w, Tooltip as T, Typography as E, useTheme as D } from "@mui/material";
6
6
  import { useTranslation as O } from "react-i18next";
@@ -2694,35 +2694,36 @@ var en = {
2694
2694
  transition: "border .24s ease-in-out",
2695
2695
  cursor: "pointer"
2696
2696
  }, tn = (e) => {
2697
- let t = s(26), n, r;
2697
+ let t = s(29), n, r;
2698
2698
  t[0] === e ? (n = t[1], r = t[2]) : ({sx: r, ...n} = e, t[0] = e, t[1] = n, t[2] = r);
2699
2699
  let { getRootProps: i, getInputProps: a, isFocused: o, isDragAccept: l, isDragReject: u } = Zt(n), { t: d } = O(), f = D(), p, m;
2700
- if (t[3] !== i || t[4] !== l || t[5] !== u || t[6] !== o || t[7] !== f) {
2700
+ if (t[3] !== i || t[4] !== l || t[5] !== u || t[6] !== o || t[7] !== f.palette.divider || t[8] !== f.palette.error || t[9] !== f.palette.primary || t[10] !== f.palette.success) {
2701
2701
  let e = {
2702
2702
  ...en,
2703
+ borderColor: f.palette.divider,
2703
2704
  ...o ? { borderColor: f.palette.primary.main } : {},
2704
2705
  ...l ? { borderColor: f.palette.success.main } : {},
2705
2706
  ...u ? { borderColor: f.palette.error.main } : {}
2706
2707
  };
2707
- p = c, m = i({ style: e }), t[3] = i, t[4] = l, t[5] = u, t[6] = o, t[7] = f, t[8] = p, t[9] = m;
2708
- } else p = t[8], m = t[9];
2708
+ p = c, m = i({ style: e }), t[3] = i, t[4] = l, t[5] = u, t[6] = o, t[7] = f.palette.divider, t[8] = f.palette.error, t[9] = f.palette.primary, t[10] = f.palette.success, t[11] = p, t[12] = m;
2709
+ } else p = t[11], m = t[12];
2709
2710
  let h;
2710
- t[10] === a ? h = t[11] : (h = a(), t[10] = a, t[11] = h);
2711
+ t[13] === a ? h = t[14] : (h = a(), t[13] = a, t[14] = h);
2711
2712
  let g;
2712
- t[12] === Symbol.for("react.memo_cache_sentinel") ? (g = { display: "none" }, t[12] = g) : g = t[12];
2713
+ t[15] === Symbol.for("react.memo_cache_sentinel") ? (g = { display: "none" }, t[15] = g) : g = t[15];
2713
2714
  let _;
2714
- t[13] === h ? _ = t[14] : (_ = /* @__PURE__ */ B("input", {
2715
+ t[16] === h ? _ = t[17] : (_ = /* @__PURE__ */ B("input", {
2715
2716
  ...h,
2716
2717
  style: g
2717
- }), t[13] = h, t[14] = _);
2718
+ }), t[16] = h, t[17] = _);
2718
2719
  let v;
2719
- t[15] === Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ B(ae, {}), t[15] = v) : v = t[15];
2720
+ t[18] === Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ B(ae, {}), t[18] = v) : v = t[18];
2720
2721
  let y;
2721
- t[16] === d ? y = t[17] : (y = d("Layout.File.DragSomeFilesHereOrClickToSelectThem"), t[16] = d, t[17] = y);
2722
+ t[19] === d ? y = t[20] : (y = d("Layout.File.DragSomeFilesHereOrClickToSelectThem"), t[19] = d, t[20] = y);
2722
2723
  let b;
2723
- t[18] === y ? b = t[19] : (b = /* @__PURE__ */ B(E, { children: y }), t[18] = y, t[19] = b);
2724
+ t[21] === y ? b = t[22] : (b = /* @__PURE__ */ B(E, { children: y }), t[21] = y, t[22] = b);
2724
2725
  let x;
2725
- return t[20] !== p || t[21] !== r || t[22] !== m || t[23] !== _ || t[24] !== b ? (x = /* @__PURE__ */ V(p, {
2726
+ return t[23] !== p || t[24] !== r || t[25] !== m || t[26] !== _ || t[27] !== b ? (x = /* @__PURE__ */ V(p, {
2726
2727
  ...m,
2727
2728
  sx: r,
2728
2729
  children: [
@@ -2730,7 +2731,7 @@ var en = {
2730
2731
  v,
2731
2732
  b
2732
2733
  ]
2733
- }), t[20] = p, t[21] = r, t[22] = m, t[23] = _, t[24] = b, t[25] = x) : x = t[25], x;
2734
+ }), t[23] = p, t[24] = r, t[25] = m, t[26] = _, t[27] = b, t[28] = x) : x = t[28], x;
2734
2735
  }, nn = j(null), rn = () => {
2735
2736
  let e = P(nn);
2736
2737
  if (!e) throw Error("FileViewer components must be used within FileViewer");