@foodpilot/foods 0.3.59 → 0.3.60
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.
package/dist/main.js
CHANGED
|
@@ -28803,7 +28803,7 @@ const tL = (e) => {
|
|
|
28803
28803
|
width: o,
|
|
28804
28804
|
height: o
|
|
28805
28805
|
};
|
|
28806
|
-
},
|
|
28806
|
+
}, pn = (e) => {
|
|
28807
28807
|
const {
|
|
28808
28808
|
icon: t,
|
|
28809
28809
|
size: n
|
|
@@ -29062,7 +29062,7 @@ const tL = (e) => {
|
|
|
29062
29062
|
/* @__PURE__ */ p.jsx(
|
|
29063
29063
|
VV,
|
|
29064
29064
|
{
|
|
29065
|
-
expandIcon: /* @__PURE__ */ p.jsx(
|
|
29065
|
+
expandIcon: /* @__PURE__ */ p.jsx(pn, { size: 4, icon: "arrowDownShort" }),
|
|
29066
29066
|
onClick: () => o(i),
|
|
29067
29067
|
children: /* @__PURE__ */ p.jsxs(Ee, { direction: "row", alignItems: "center", gap: "28px", flex: 1, children: [
|
|
29068
29068
|
/* @__PURE__ */ p.jsx(ge, { variant: "h3", flex: 1, children: r.title }),
|
|
@@ -29936,7 +29936,7 @@ const E2 = (e) => {
|
|
|
29936
29936
|
height: `${r.height + 10}px`,
|
|
29937
29937
|
...o.sx
|
|
29938
29938
|
}, children: /* @__PURE__ */ p.jsx(
|
|
29939
|
-
|
|
29939
|
+
pn,
|
|
29940
29940
|
{
|
|
29941
29941
|
size: r,
|
|
29942
29942
|
icon: t
|
|
@@ -30629,7 +30629,7 @@ const E2 = (e) => {
|
|
|
30629
30629
|
marginRight: "6px"
|
|
30630
30630
|
},
|
|
30631
30631
|
children: [
|
|
30632
|
-
/* @__PURE__ */ p.jsx(
|
|
30632
|
+
/* @__PURE__ */ p.jsx(pn, { icon: r, size: 1 }),
|
|
30633
30633
|
/* @__PURE__ */ p.jsx(ie, { display: "flex", alignItems: "center", flexDirection: "row", gap: "8px", children: /* @__PURE__ */ p.jsx(ge, { component: "span", variant: "h6", children: t }) })
|
|
30634
30634
|
]
|
|
30635
30635
|
}
|
|
@@ -30803,7 +30803,7 @@ const E2 = (e) => {
|
|
|
30803
30803
|
color: o.primaryColor,
|
|
30804
30804
|
marginRight: "2px"
|
|
30805
30805
|
},
|
|
30806
|
-
children: /* @__PURE__ */ p.jsx(
|
|
30806
|
+
children: /* @__PURE__ */ p.jsx(pn, { icon: n, size: 0.1 })
|
|
30807
30807
|
}
|
|
30808
30808
|
),
|
|
30809
30809
|
/* @__PURE__ */ p.jsx(ie, { display: "flex", alignItems: "center", flexDirection: "row", gap: "8px", children: /* @__PURE__ */ p.jsx(
|
|
@@ -31717,7 +31717,7 @@ const rie = (e) => {
|
|
|
31717
31717
|
},
|
|
31718
31718
|
children: [
|
|
31719
31719
|
/* @__PURE__ */ p.jsx(ge, { variant: "body", children: a == null ? void 0 : a.label }),
|
|
31720
|
-
/* @__PURE__ */ p.jsx(
|
|
31720
|
+
/* @__PURE__ */ p.jsx(pn, { size: 1, icon: "arrowDownShort" })
|
|
31721
31721
|
]
|
|
31722
31722
|
}
|
|
31723
31723
|
),
|
|
@@ -31771,7 +31771,7 @@ const rie = (e) => {
|
|
|
31771
31771
|
ot,
|
|
31772
31772
|
{
|
|
31773
31773
|
variant: "ternary",
|
|
31774
|
-
endIcon: /* @__PURE__ */ p.jsx(
|
|
31774
|
+
endIcon: /* @__PURE__ */ p.jsx(pn, { size: 2, icon: "arrowRight" }),
|
|
31775
31775
|
disabled: e.moreDetailAction === void 0,
|
|
31776
31776
|
sx: {
|
|
31777
31777
|
width: "100%",
|
|
@@ -32364,7 +32364,7 @@ const cl = (e) => typeof e < "u", Zr = (e) => typeof e == "function", Gg = (e, t
|
|
|
32364
32364
|
function mF(e) {
|
|
32365
32365
|
return e.type === "mouseup" || e.type === "click" || e.type === "contextmenu";
|
|
32366
32366
|
}
|
|
32367
|
-
const Qt = Math.PI, Kt = 2 * Qt, bF = Kt + Qt, Nd = Number.POSITIVE_INFINITY, vF = Qt / 180,
|
|
32367
|
+
const Qt = Math.PI, Kt = 2 * Qt, bF = Kt + Qt, Nd = Number.POSITIVE_INFINITY, vF = Qt / 180, fn = Qt / 2, ii = Qt / 4, Yg = Qt * 2 / 3, Lr = Math.log10, Qo = Math.sign;
|
|
32368
32368
|
function Va(e, t, n) {
|
|
32369
32369
|
return Math.abs(e - t) < n;
|
|
32370
32370
|
}
|
|
@@ -32574,8 +32574,8 @@ const Sc = (e) => e === 0 || e === 1, Jg = (e, t, n) => -(Math.pow(2, 10 * (e -=
|
|
|
32574
32574
|
easeInQuint: (e) => e * e * e * e * e,
|
|
32575
32575
|
easeOutQuint: (e) => (e -= 1) * e * e * e * e + 1,
|
|
32576
32576
|
easeInOutQuint: (e) => (e /= 0.5) < 1 ? 0.5 * e * e * e * e * e : 0.5 * ((e -= 2) * e * e * e * e + 2),
|
|
32577
|
-
easeInSine: (e) => -Math.cos(e *
|
|
32578
|
-
easeOutSine: (e) => Math.sin(e *
|
|
32577
|
+
easeInSine: (e) => -Math.cos(e * fn) + 1,
|
|
32578
|
+
easeOutSine: (e) => Math.sin(e * fn),
|
|
32579
32579
|
easeInOutSine: (e) => -0.5 * (Math.cos(Qt * e) - 1),
|
|
32580
32580
|
easeInExpo: (e) => e === 0 ? 0 : Math.pow(2, 10 * (e - 1)),
|
|
32581
32581
|
easeOutExpo: (e) => e === 1 ? 1 : -Math.pow(2, -10 * e) + 1,
|
|
@@ -32955,7 +32955,7 @@ function Z7(e, t, n, o, r) {
|
|
|
32955
32955
|
u = r ? r / 2 : b, e.moveTo(n + Math.sin(v) * u, o - Math.cos(v) * b), v += Yg, e.lineTo(n + Math.sin(v) * u, o - Math.cos(v) * b), v += Yg, e.lineTo(n + Math.sin(v) * u, o - Math.cos(v) * b), e.closePath();
|
|
32956
32956
|
break;
|
|
32957
32957
|
case "rectRounded":
|
|
32958
|
-
d = b * 0.516, c = b - d, a = Math.cos(v + ii) * c, f = Math.cos(v + ii) * (r ? r / 2 - d : c), l = Math.sin(v + ii) * c, h = Math.sin(v + ii) * (r ? r / 2 - d : c), e.arc(n - f, o - l, d, v - Qt, v -
|
|
32958
|
+
d = b * 0.516, c = b - d, a = Math.cos(v + ii) * c, f = Math.cos(v + ii) * (r ? r / 2 - d : c), l = Math.sin(v + ii) * c, h = Math.sin(v + ii) * (r ? r / 2 - d : c), e.arc(n - f, o - l, d, v - Qt, v - fn), e.arc(n + h, o - a, d, v - fn, v), e.arc(n + f, o + l, d, v, v + fn), e.arc(n - h, o + a, d, v + fn, v + Qt), e.closePath();
|
|
32959
32959
|
break;
|
|
32960
32960
|
case "rect":
|
|
32961
32961
|
if (!m) {
|
|
@@ -33034,7 +33034,7 @@ function Ai(e, t, n, o, r, i = {}) {
|
|
|
33034
33034
|
}
|
|
33035
33035
|
function ul(e, t) {
|
|
33036
33036
|
const { x: n, y: o, w: r, h: i, radius: a } = t;
|
|
33037
|
-
e.arc(n + a.topLeft, o + a.topLeft, a.topLeft, 1.5 * Qt, Qt, !0), e.lineTo(n, o + i - a.bottomLeft), e.arc(n + a.bottomLeft, o + i - a.bottomLeft, a.bottomLeft, Qt,
|
|
33037
|
+
e.arc(n + a.topLeft, o + a.topLeft, a.topLeft, 1.5 * Qt, Qt, !0), e.lineTo(n, o + i - a.bottomLeft), e.arc(n + a.bottomLeft, o + i - a.bottomLeft, a.bottomLeft, Qt, fn, !0), e.lineTo(n + r - a.bottomRight, o + i), e.arc(n + r - a.bottomRight, o + i - a.bottomRight, a.bottomRight, fn, 0, !0), e.lineTo(n + r, o + a.topRight), e.arc(n + r - a.topRight, o + a.topRight, a.topRight, 0, -fn, !0), e.lineTo(n + a.topLeft, o);
|
|
33038
33038
|
}
|
|
33039
33039
|
const zF = /^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/, WF = /^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;
|
|
33040
33040
|
function UF(e, t) {
|
|
@@ -34894,7 +34894,7 @@ Ue(hd, "id", "bubble"), Ue(hd, "defaults", {
|
|
|
34894
34894
|
function XN(e, t, n) {
|
|
34895
34895
|
let o = 1, r = 1, i = 0, a = 0;
|
|
34896
34896
|
if (t < Kt) {
|
|
34897
|
-
const l = e, c = l + t, d = Math.cos(l), u = Math.sin(l), f = Math.cos(c), h = Math.sin(c), g = (S, P, w) => dl(S, l, c, !0) ? 1 : Math.max(P, P * n, w, w * n), m = (S, P, w) => dl(S, l, c, !0) ? -1 : Math.min(P, P * n, w, w * n), b = g(0, d, f), v = g(
|
|
34897
|
+
const l = e, c = l + t, d = Math.cos(l), u = Math.sin(l), f = Math.cos(c), h = Math.sin(c), g = (S, P, w) => dl(S, l, c, !0) ? 1 : Math.max(P, P * n, w, w * n), m = (S, P, w) => dl(S, l, c, !0) ? -1 : Math.min(P, P * n, w, w * n), b = g(0, d, f), v = g(fn, u, h), x = m(Qt, d, f), C = m(Qt + fn, u, h);
|
|
34898
34898
|
o = (b - x) / 2, r = (v - C) / 2, i = -(b + x) / 2, a = -(v + C) / 2;
|
|
34899
34899
|
}
|
|
34900
34900
|
return {
|
|
@@ -36213,7 +36213,7 @@ function $B(e, t, n, o) {
|
|
|
36213
36213
|
const x = Object.keys(n)[0], C = n[x];
|
|
36214
36214
|
g = u[x].getPixelForValue(C) - v + t;
|
|
36215
36215
|
} else n === "center" ? g = (d.left + d.right) / 2 - v + t : g = Rm(e, n, t);
|
|
36216
|
-
m = jn(o, a, r), f = n === "left" ? -
|
|
36216
|
+
m = jn(o, a, r), f = n === "left" ? -fn : fn;
|
|
36217
36217
|
}
|
|
36218
36218
|
return {
|
|
36219
36219
|
titleX: g,
|
|
@@ -37835,7 +37835,7 @@ function Fm() {
|
|
|
37835
37835
|
function cH(e, t, n) {
|
|
37836
37836
|
const { startAngle: o, pixelMargin: r, x: i, y: a, outerRadius: l, innerRadius: c } = t;
|
|
37837
37837
|
let d = r / l;
|
|
37838
|
-
e.beginPath(), e.arc(i, a, l, o - d, n + d), c > r ? (d = r / c, e.arc(i, a, c, n + d, o - d, !0)) : e.arc(i, a, r, n +
|
|
37838
|
+
e.beginPath(), e.arc(i, a, l, o - d, n + d), c > r ? (d = r / c, e.arc(i, a, c, n + d, o - d, !0)) : e.arc(i, a, r, n + fn, o - fn), e.closePath(), e.clip();
|
|
37839
37839
|
}
|
|
37840
37840
|
function dH(e) {
|
|
37841
37841
|
return F2(e, [
|
|
@@ -37876,22 +37876,22 @@ function Wd(e, t, n, o, r, i) {
|
|
|
37876
37876
|
const D = (E + k) / 2;
|
|
37877
37877
|
if (e.arc(a, l, f, E, D), e.arc(a, l, f, D, k), P > 0) {
|
|
37878
37878
|
const B = ns(O, k, a, l);
|
|
37879
|
-
e.arc(B.x, B.y, P, k, C +
|
|
37879
|
+
e.arc(B.x, B.y, P, k, C + fn);
|
|
37880
37880
|
}
|
|
37881
37881
|
const $ = ns(j, C, a, l);
|
|
37882
37882
|
if (e.lineTo($.x, $.y), R > 0) {
|
|
37883
37883
|
const B = ns(j, L, a, l);
|
|
37884
|
-
e.arc(B.x, B.y, R, C +
|
|
37884
|
+
e.arc(B.x, B.y, R, C + fn, L + Math.PI);
|
|
37885
37885
|
}
|
|
37886
37886
|
const F = (C - R / h + (x + w / h)) / 2;
|
|
37887
37887
|
if (e.arc(a, l, h, C - R / h, F, !0), e.arc(a, l, h, F, x + w / h, !0), w > 0) {
|
|
37888
37888
|
const B = ns(I, A, a, l);
|
|
37889
|
-
e.arc(B.x, B.y, w, A + Math.PI, x -
|
|
37889
|
+
e.arc(B.x, B.y, w, A + Math.PI, x - fn);
|
|
37890
37890
|
}
|
|
37891
37891
|
const V = ns(M, x, a, l);
|
|
37892
37892
|
if (e.lineTo(V.x, V.y), S > 0) {
|
|
37893
37893
|
const B = ns(M, E, a, l);
|
|
37894
|
-
e.arc(B.x, B.y, S, x -
|
|
37894
|
+
e.arc(B.x, B.y, S, x - fn, E);
|
|
37895
37895
|
}
|
|
37896
37896
|
} else {
|
|
37897
37897
|
e.moveTo(a, l);
|
|
@@ -40232,7 +40232,7 @@ function Iz(e, t, n, o, r) {
|
|
|
40232
40232
|
o.start < t.l ? (l = (t.l - o.start) / i, e.l = Math.min(e.l, t.l - l)) : o.end > t.r && (l = (o.end - t.r) / i, e.r = Math.max(e.r, t.r + l)), r.start < t.t ? (c = (t.t - r.start) / a, e.t = Math.min(e.t, t.t - c)) : r.end > t.b && (c = (r.end - t.b) / a, e.b = Math.max(e.b, t.b + c));
|
|
40233
40233
|
}
|
|
40234
40234
|
function _z(e, t, n) {
|
|
40235
|
-
const o = e.drawingArea, { extra: r, additionalAngle: i, padding: a, size: l } = n, c = e.getPointPosition(t, o + r + a, i), d = Math.round(L2(so(c.angle +
|
|
40235
|
+
const o = e.drawingArea, { extra: r, additionalAngle: i, padding: a, size: l } = n, c = e.getPointPosition(t, o + r + a, i), d = Math.round(L2(so(c.angle + fn))), u = Vz(c.y, l.h, d), f = Lz(d), h = Az(c.x, l.w, f);
|
|
40236
40236
|
return {
|
|
40237
40237
|
visible: !0,
|
|
40238
40238
|
x: c.x,
|
|
@@ -40392,7 +40392,7 @@ class Oa extends Ud {
|
|
|
40392
40392
|
}
|
|
40393
40393
|
}
|
|
40394
40394
|
getPointPosition(t, n, o = 0) {
|
|
40395
|
-
const r = this.getIndexAngle(t) -
|
|
40395
|
+
const r = this.getIndexAngle(t) - fn + o;
|
|
40396
40396
|
return {
|
|
40397
40397
|
x: Math.cos(r) * n + this.xCenter,
|
|
40398
40398
|
y: Math.sin(r) * n + this.yCenter,
|
|
@@ -42392,32 +42392,28 @@ const jU = (e) => {
|
|
|
42392
42392
|
}
|
|
42393
42393
|
return n;
|
|
42394
42394
|
}, o8 = (e) => {
|
|
42395
|
-
const {
|
|
42396
|
-
|
|
42397
|
-
|
|
42398
|
-
|
|
42399
|
-
|
|
42400
|
-
|
|
42401
|
-
|
|
42402
|
-
|
|
42403
|
-
|
|
42404
|
-
|
|
42405
|
-
|
|
42406
|
-
|
|
42407
|
-
|
|
42408
|
-
textDecoration: "none",
|
|
42409
|
-
alignItems: "center",
|
|
42410
|
-
"> svg": {
|
|
42411
|
-
marginLeft: ".25rem"
|
|
42412
|
-
}
|
|
42413
|
-
},
|
|
42414
|
-
href: t,
|
|
42415
|
-
children: [
|
|
42416
|
-
n,
|
|
42417
|
-
/* @__PURE__ */ p.jsx(fn, { size: 1, icon: "arrowRight" })
|
|
42418
|
-
]
|
|
42395
|
+
const { action: t, seeMoreLabel: n } = e, r = {
|
|
42396
|
+
display: "flex",
|
|
42397
|
+
marginLeft: "auto",
|
|
42398
|
+
color: "#AA072B",
|
|
42399
|
+
fontSize: ".8rem",
|
|
42400
|
+
textDecoration: "none",
|
|
42401
|
+
alignItems: "center",
|
|
42402
|
+
fontWeight: Re().typography.fontWeightBold,
|
|
42403
|
+
"> svg": {
|
|
42404
|
+
marginLeft: ".25rem"
|
|
42405
|
+
},
|
|
42406
|
+
"&:hover": {
|
|
42407
|
+
textDecoration: "none"
|
|
42419
42408
|
}
|
|
42420
|
-
|
|
42409
|
+
};
|
|
42410
|
+
return typeof t == "string" ? /* @__PURE__ */ p.jsxs(Q4, { sx: r, href: t, children: [
|
|
42411
|
+
n,
|
|
42412
|
+
/* @__PURE__ */ p.jsx(pn, { size: 1, icon: "arrowRight" })
|
|
42413
|
+
] }) : /* @__PURE__ */ p.jsxs(ot, { onClick: t, sx: r, children: [
|
|
42414
|
+
n,
|
|
42415
|
+
/* @__PURE__ */ p.jsx(pn, { size: 1, icon: "arrowRight" })
|
|
42416
|
+
] });
|
|
42421
42417
|
}, AU = (e) => {
|
|
42422
42418
|
const {
|
|
42423
42419
|
values: t,
|
|
@@ -42479,7 +42475,7 @@ const jU = (e) => {
|
|
|
42479
42475
|
(r == null ? void 0 : r.urls) && (r == null ? void 0 : r.seeMoreLabel) && (r == null ? void 0 : r.urls[u]) && /* @__PURE__ */ p.jsx(
|
|
42480
42476
|
o8,
|
|
42481
42477
|
{
|
|
42482
|
-
|
|
42478
|
+
action: r == null ? void 0 : r.urls[u],
|
|
42483
42479
|
seeMoreLabel: r == null ? void 0 : r.seeMoreLabel
|
|
42484
42480
|
}
|
|
42485
42481
|
)
|
|
@@ -42606,7 +42602,7 @@ const jU = (e) => {
|
|
|
42606
42602
|
(i == null ? void 0 : i.urls) && (i == null ? void 0 : i.seeMoreLabel) && (i == null ? void 0 : i.urls[f]) && /* @__PURE__ */ p.jsx(
|
|
42607
42603
|
o8,
|
|
42608
42604
|
{
|
|
42609
|
-
|
|
42605
|
+
action: i == null ? void 0 : i.urls[f],
|
|
42610
42606
|
seeMoreLabel: i == null ? void 0 : i.seeMoreLabel
|
|
42611
42607
|
}
|
|
42612
42608
|
)
|
|
@@ -64036,7 +64032,7 @@ const Iie = (e) => {
|
|
|
64036
64032
|
flexDirection: "row",
|
|
64037
64033
|
gap: t.spacing(3),
|
|
64038
64034
|
children: [
|
|
64039
|
-
/* @__PURE__ */ p.jsx(
|
|
64035
|
+
/* @__PURE__ */ p.jsx(pn, { size: 8, icon: "suggestions" }),
|
|
64040
64036
|
/* @__PURE__ */ p.jsxs(Ee, { flexDirection: "column", gap: t.spacing(1), children: [
|
|
64041
64037
|
n,
|
|
64042
64038
|
o
|
|
@@ -64455,10 +64451,10 @@ const nx = (e) => {
|
|
|
64455
64451
|
{
|
|
64456
64452
|
sx: { display: "flex" },
|
|
64457
64453
|
onClick: () => t(""),
|
|
64458
|
-
children: /* @__PURE__ */ p.jsx(
|
|
64454
|
+
children: /* @__PURE__ */ p.jsx(pn, { size: 2, icon: "close" })
|
|
64459
64455
|
}
|
|
64460
64456
|
),
|
|
64461
|
-
/* @__PURE__ */ p.jsx(
|
|
64457
|
+
/* @__PURE__ */ p.jsx(pn, { size: 3, icon: "search" })
|
|
64462
64458
|
] })
|
|
64463
64459
|
] });
|
|
64464
64460
|
}, Fne = (e, t) => t === void 0 || e === null ? null : t(e), Nne = (e) => {
|
|
@@ -64475,7 +64471,7 @@ const nx = (e) => {
|
|
|
64475
64471
|
yf,
|
|
64476
64472
|
{
|
|
64477
64473
|
isSelected: !1,
|
|
64478
|
-
icon: /* @__PURE__ */ p.jsx(
|
|
64474
|
+
icon: /* @__PURE__ */ p.jsx(pn, { size: 1, icon: "close" }),
|
|
64479
64475
|
displayText: i,
|
|
64480
64476
|
onClick: () => n(null)
|
|
64481
64477
|
}
|
|
@@ -64739,7 +64735,7 @@ const nx = (e) => {
|
|
|
64739
64735
|
variant: "validate",
|
|
64740
64736
|
onClick: o.action,
|
|
64741
64737
|
disabled: o.disabled ?? !1,
|
|
64742
|
-
startIcon: /* @__PURE__ */ p.jsx(
|
|
64738
|
+
startIcon: /* @__PURE__ */ p.jsx(pn, { size: 2, icon: "check" }),
|
|
64743
64739
|
children: o.label
|
|
64744
64740
|
}
|
|
64745
64741
|
)
|
|
@@ -64768,7 +64764,7 @@ const nx = (e) => {
|
|
|
64768
64764
|
{
|
|
64769
64765
|
variant: "validate",
|
|
64770
64766
|
onClick: o.action,
|
|
64771
|
-
startIcon: /* @__PURE__ */ p.jsx(
|
|
64767
|
+
startIcon: /* @__PURE__ */ p.jsx(pn, { size: 2, icon: "check" }),
|
|
64772
64768
|
children: o.label
|
|
64773
64769
|
}
|
|
64774
64770
|
)
|
|
@@ -64816,7 +64812,7 @@ const nx = (e) => {
|
|
|
64816
64812
|
buttonOptions: n,
|
|
64817
64813
|
defaultOptions: {
|
|
64818
64814
|
variant: "primary",
|
|
64819
|
-
endIcon: /* @__PURE__ */ p.jsx(
|
|
64815
|
+
endIcon: /* @__PURE__ */ p.jsx(pn, { size: 2, icon: "arrowRight" })
|
|
64820
64816
|
}
|
|
64821
64817
|
}
|
|
64822
64818
|
)
|
|
@@ -65304,7 +65300,7 @@ const eoe = (e) => {
|
|
|
65304
65300
|
}
|
|
65305
65301
|
)
|
|
65306
65302
|
] }),
|
|
65307
|
-
o && /* @__PURE__ */ p.jsx(
|
|
65303
|
+
o && /* @__PURE__ */ p.jsx(pn, { size: 2, icon: "actions" })
|
|
65308
65304
|
]
|
|
65309
65305
|
}
|
|
65310
65306
|
),
|
|
@@ -65422,7 +65418,7 @@ const eoe = (e) => {
|
|
|
65422
65418
|
}
|
|
65423
65419
|
);
|
|
65424
65420
|
}, doe = (e) => {
|
|
65425
|
-
const t = Re(), { button: n, isExpanded: o, extendSidebar: r } = e, i = n.items.some((u) => u.isSelected), [a, l] = Ye(i), c = a ? /* @__PURE__ */ p.jsx(
|
|
65421
|
+
const t = Re(), { button: n, isExpanded: o, extendSidebar: r } = e, i = n.items.some((u) => u.isSelected), [a, l] = Ye(i), c = a ? /* @__PURE__ */ p.jsx(pn, { icon: "arrowUpShort", size: 2 }) : /* @__PURE__ */ p.jsx(pn, { icon: "arrowDownShort", size: 2 }), d = i ? "selected-menu" : "default-menu";
|
|
65426
65422
|
return /* @__PURE__ */ p.jsxs(Gr, { children: [
|
|
65427
65423
|
/* @__PURE__ */ p.jsx(
|
|
65428
65424
|
Ys,
|
|
@@ -65593,7 +65589,7 @@ const eoe = (e) => {
|
|
|
65593
65589
|
}
|
|
65594
65590
|
)
|
|
65595
65591
|
] }),
|
|
65596
|
-
t && /* @__PURE__ */ p.jsx(
|
|
65592
|
+
t && /* @__PURE__ */ p.jsx(pn, { size: 2, icon: "actions" })
|
|
65597
65593
|
]
|
|
65598
65594
|
}
|
|
65599
65595
|
),
|
|
@@ -65634,7 +65630,7 @@ const eoe = (e) => {
|
|
|
65634
65630
|
},
|
|
65635
65631
|
onClick: o,
|
|
65636
65632
|
children: [
|
|
65637
|
-
!n && /* @__PURE__ */ p.jsx(
|
|
65633
|
+
!n && /* @__PURE__ */ p.jsx(pn, { size: 1, icon: "openPanel" }),
|
|
65638
65634
|
n && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
65639
65635
|
/* @__PURE__ */ p.jsx(
|
|
65640
65636
|
ge,
|
|
@@ -65649,7 +65645,7 @@ const eoe = (e) => {
|
|
|
65649
65645
|
children: r.shortenSidebar
|
|
65650
65646
|
}
|
|
65651
65647
|
),
|
|
65652
|
-
/* @__PURE__ */ p.jsx(
|
|
65648
|
+
/* @__PURE__ */ p.jsx(pn, { size: 1, icon: "closePanel" })
|
|
65653
65649
|
] })
|
|
65654
65650
|
]
|
|
65655
65651
|
}
|
|
@@ -68724,7 +68720,7 @@ const jx = (e) => e.flatMap(({ id: t, label: n, children: o }) => [{ id: t, labe
|
|
|
68724
68720
|
const { children: t, leaf: n, selected: o, searched: r } = e, i = n && o, a = o ? "body-bold" : "body", l = (d) => i ? d.palette.primary[600] : "inherit", c = r ? "yellow" : "inherit";
|
|
68725
68721
|
return /* @__PURE__ */ p.jsxs(Ee, { direction: "row", alignItems: "start", gap: 0.5, children: [
|
|
68726
68722
|
/* @__PURE__ */ p.jsx(ge, { variant: a, sx: { color: l, backgroundColor: c }, fontWeight: "inherit", children: t }),
|
|
68727
|
-
i && /* @__PURE__ */ p.jsx(ie, { color: l, mt: "-1px", children: /* @__PURE__ */ p.jsx(
|
|
68723
|
+
i && /* @__PURE__ */ p.jsx(ie, { color: l, mt: "-1px", children: /* @__PURE__ */ p.jsx(pn, { icon: "check", size: 2.5 }) })
|
|
68728
68724
|
] });
|
|
68729
68725
|
}, Pre = W(kx)(({ theme: e }) => ({
|
|
68730
68726
|
[`& .${no.selected}`]: {
|
|
@@ -68963,7 +68959,7 @@ export {
|
|
|
68963
68959
|
Wr as FoodsBadge,
|
|
68964
68960
|
TZ as FoodsCheckbox,
|
|
68965
68961
|
Tie as FoodsFormBase,
|
|
68966
|
-
|
|
68962
|
+
pn as FoodsIcon,
|
|
68967
68963
|
T7 as FoodsIllustrations,
|
|
68968
68964
|
Yie as FoodsNavbar,
|
|
68969
68965
|
Rne as FoodsRadioList,
|