@foodpilot/foods 0.3.70 → 0.3.71
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/components/Button/FoodsToggleButton.d.ts +1 -1
- package/dist/components/Chart/DoughnutChart/DoughnutChartLegend.d.ts +1 -1
- package/dist/components/Chart/DoughnutChart/DoughnutChartLegendSeeMoreLink.d.ts +1 -1
- package/dist/main.js +79 -85
- package/dist/main.umd.cjs +23 -23
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { ToggleButtonProps } from '@mui/material';
|
|
|
2
2
|
|
|
3
3
|
type ToggleButtonsPropsWithoutEnforcedKeys = Omit<ToggleButtonProps, "key" | "value" | "onClick" | "selected" | "unselectable">;
|
|
4
4
|
export type FoodsToggleButtonType = {
|
|
5
|
-
id: number;
|
|
5
|
+
id: number | string;
|
|
6
6
|
label: string;
|
|
7
7
|
onClick?: () => void;
|
|
8
8
|
disabled?: boolean;
|
|
@@ -4,7 +4,7 @@ import { Property } from 'csstype';
|
|
|
4
4
|
export type Legend = {
|
|
5
5
|
position: "bottom" | "right";
|
|
6
6
|
actions?: Array<(() => void) | undefined>;
|
|
7
|
-
|
|
7
|
+
seeMore?: string | JSX.Element;
|
|
8
8
|
};
|
|
9
9
|
export type DoughnutChartLegendProps = {
|
|
10
10
|
setHoveredArcIndex: (index: number | null) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type DoughnutChartLegendRightProps = {
|
|
2
2
|
action: () => void;
|
|
3
|
-
|
|
3
|
+
seeMore: string | JSX.Element;
|
|
4
4
|
};
|
|
5
5
|
export declare const DoughnutChartLegendSeeMoreLink: (props: DoughnutChartLegendRightProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
package/dist/main.js
CHANGED
|
@@ -563,7 +563,7 @@ Check the top-level render call using <` + He + ">.");
|
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function Jt(Y) {
|
|
567
567
|
{
|
|
568
568
|
var Ce = Y.type;
|
|
569
569
|
if (Ce == null || typeof Ce == "string")
|
|
@@ -642,7 +642,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
642
642
|
<%s key={someKey} {...props} />`, cp, ri, $x, ri), ln[ri + cp] = !0;
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
|
-
return Y === o ? jt(Tt) :
|
|
645
|
+
return Y === o ? jt(Tt) : Jt(Tt), Tt;
|
|
646
646
|
}
|
|
647
647
|
}
|
|
648
648
|
function En(Y, Ce, He) {
|
|
@@ -651,8 +651,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
651
651
|
function _t(Y, Ce, He) {
|
|
652
652
|
return Xe(Y, Ce, He, !1);
|
|
653
653
|
}
|
|
654
|
-
var kt = _t,
|
|
655
|
-
ia.Fragment = o, ia.jsx = kt, ia.jsxs =
|
|
654
|
+
var kt = _t, en = En;
|
|
655
|
+
ia.Fragment = o, ia.jsx = kt, ia.jsxs = en;
|
|
656
656
|
}()), ia;
|
|
657
657
|
}
|
|
658
658
|
process.env.NODE_ENV === "production" ? T1.exports = Zx() : T1.exports = qx();
|
|
@@ -5487,10 +5487,10 @@ function VS(e, t) {
|
|
|
5487
5487
|
});
|
|
5488
5488
|
}
|
|
5489
5489
|
const $S = 0.2, FS = 0.14, NS = 0.12;
|
|
5490
|
-
function
|
|
5490
|
+
function tn(...e) {
|
|
5491
5491
|
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${$S})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${FS})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${NS})`].join(",");
|
|
5492
5492
|
}
|
|
5493
|
-
const BS = ["none",
|
|
5493
|
+
const BS = ["none", tn(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), tn(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), tn(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), tn(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), tn(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), tn(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), tn(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), tn(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), tn(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), tn(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), tn(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), tn(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), tn(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), tn(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), tn(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), tn(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), tn(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), tn(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), tn(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), tn(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), tn(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), tn(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), tn(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), tn(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], HS = ["duration", "easing", "delay"], zS = {
|
|
5494
5494
|
// This is the most common easing curve.
|
|
5495
5495
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
5496
5496
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -9484,7 +9484,7 @@ function O4(e) {
|
|
|
9484
9484
|
return;
|
|
9485
9485
|
}
|
|
9486
9486
|
re(!1), Z.current = !0, G.current = !1, i && ce.current !== -1 && ue ? Ot(ne, se[ce.current], "blur") : i && C && me !== "" ? Ot(ne, me, "blur", "freeSolo") : l && xe(ne, pe), at(ne, "blur");
|
|
9487
|
-
},
|
|
9487
|
+
}, Jt = (ne) => {
|
|
9488
9488
|
const ae = ne.target.value;
|
|
9489
9489
|
me !== ae && (De(ae), Te(!1), $ && $(ne, ae, "input")), ae === "" ? !f && !_ && it(ne, null, "clear") : Je(ne);
|
|
9490
9490
|
}, jt = (ne) => {
|
|
@@ -9512,7 +9512,7 @@ function O4(e) {
|
|
|
9512
9512
|
Ve ? at(ne, "toggleInput") : Je(ne);
|
|
9513
9513
|
}, kt = (ne) => {
|
|
9514
9514
|
ne.currentTarget.contains(ne.target) && ne.target.getAttribute("id") !== H && ne.preventDefault();
|
|
9515
|
-
},
|
|
9515
|
+
}, en = (ne) => {
|
|
9516
9516
|
ne.currentTarget.contains(ne.target) && (J.current.focus(), le && Z.current && J.current.selectionEnd - J.current.selectionStart === 0 && J.current.select(), Z.current = !1);
|
|
9517
9517
|
}, Y = (ne) => {
|
|
9518
9518
|
!g && (me === "" || !Ve) && _t(ne);
|
|
@@ -9539,7 +9539,7 @@ function O4(e) {
|
|
|
9539
9539
|
}, ne, {
|
|
9540
9540
|
onKeyDown: an(ne),
|
|
9541
9541
|
onMouseDown: kt,
|
|
9542
|
-
onClick:
|
|
9542
|
+
onClick: en
|
|
9543
9543
|
}),
|
|
9544
9544
|
getInputLabelProps: () => ({
|
|
9545
9545
|
id: `${H}-label`,
|
|
@@ -9550,7 +9550,7 @@ function O4(e) {
|
|
|
9550
9550
|
value: me,
|
|
9551
9551
|
onBlur: yn,
|
|
9552
9552
|
onFocus: eo,
|
|
9553
|
-
onChange:
|
|
9553
|
+
onChange: Jt,
|
|
9554
9554
|
onMouseDown: Y,
|
|
9555
9555
|
// if open then this is handled imperatively so don't let react override
|
|
9556
9556
|
// only have an opinion about this when closed
|
|
@@ -12869,7 +12869,7 @@ const NR = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
|
12869
12869
|
} = lt, xn = de(lt, BR), an = pt(Wt, Ot), yn = $ || ((we) => {
|
|
12870
12870
|
var Ae;
|
|
12871
12871
|
return (Ae = we.label) != null ? Ae : we;
|
|
12872
|
-
}),
|
|
12872
|
+
}), Jt = T({}, l, {
|
|
12873
12873
|
disablePortal: E,
|
|
12874
12874
|
expanded: Ke,
|
|
12875
12875
|
focused: Le,
|
|
@@ -12880,14 +12880,14 @@ const NR = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
|
12880
12880
|
inputFocused: be === -1,
|
|
12881
12881
|
popupOpen: je,
|
|
12882
12882
|
size: me
|
|
12883
|
-
}), jt = WR(
|
|
12883
|
+
}), jt = WR(Jt);
|
|
12884
12884
|
let ln;
|
|
12885
12885
|
if (q && se.length > 0) {
|
|
12886
12886
|
const we = (Ae) => T({
|
|
12887
12887
|
className: jt.tag,
|
|
12888
12888
|
disabled: M
|
|
12889
12889
|
}, Te(Ae));
|
|
12890
|
-
pe ? ln = pe(se, we,
|
|
12890
|
+
pe ? ln = pe(se, we, Jt) : ln = se.map((Ae, Ne) => {
|
|
12891
12891
|
const et = we({
|
|
12892
12892
|
index: Ne
|
|
12893
12893
|
}), {
|
|
@@ -12909,12 +12909,12 @@ const NR = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
|
12909
12909
|
const En = K || ((we) => /* @__PURE__ */ p.jsxs("li", {
|
|
12910
12910
|
children: [/* @__PURE__ */ p.jsx(eO, {
|
|
12911
12911
|
className: jt.groupLabel,
|
|
12912
|
-
ownerState:
|
|
12912
|
+
ownerState: Jt,
|
|
12913
12913
|
component: "div",
|
|
12914
12914
|
children: we.group
|
|
12915
12915
|
}), /* @__PURE__ */ p.jsx(tO, {
|
|
12916
12916
|
className: jt.groupUl,
|
|
12917
|
-
ownerState:
|
|
12917
|
+
ownerState: Jt,
|
|
12918
12918
|
children: we.children
|
|
12919
12919
|
})]
|
|
12920
12920
|
}, we.key)), kt = ce || ((we, Ae) => {
|
|
@@ -12924,7 +12924,7 @@ const NR = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
|
12924
12924
|
return /* @__PURE__ */ p.jsx("li", T({}, et, {
|
|
12925
12925
|
children: yn(Ae)
|
|
12926
12926
|
}), Ne);
|
|
12927
|
-
}),
|
|
12927
|
+
}), en = (we, Ae) => {
|
|
12928
12928
|
const Ne = ue({
|
|
12929
12929
|
option: we,
|
|
12930
12930
|
index: Ae
|
|
@@ -12935,21 +12935,21 @@ const NR = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
|
12935
12935
|
selected: Ne["aria-selected"],
|
|
12936
12936
|
index: Ae,
|
|
12937
12937
|
inputValue: Fe
|
|
12938
|
-
},
|
|
12938
|
+
}, Jt);
|
|
12939
12939
|
}, Y = (o = De.clearIndicator) != null ? o : S.clearIndicator, Ce = (r = De.paper) != null ? r : S.paper, He = (i = De.popper) != null ? i : S.popper, ne = (a = De.popupIndicator) != null ? a : S.popupIndicator, ae = (we) => /* @__PURE__ */ p.jsx(YR, T({
|
|
12940
12940
|
as: oe,
|
|
12941
12941
|
disablePortal: E,
|
|
12942
12942
|
style: {
|
|
12943
12943
|
width: ye ? ye.clientWidth : null
|
|
12944
12944
|
},
|
|
12945
|
-
ownerState:
|
|
12945
|
+
ownerState: Jt,
|
|
12946
12946
|
role: "presentation",
|
|
12947
12947
|
anchorEl: ye,
|
|
12948
12948
|
open: je
|
|
12949
12949
|
}, He, {
|
|
12950
12950
|
className: ve(jt.popper, He == null ? void 0 : He.className),
|
|
12951
12951
|
children: /* @__PURE__ */ p.jsx(KR, T({
|
|
12952
|
-
ownerState:
|
|
12952
|
+
ownerState: Jt,
|
|
12953
12953
|
as: ie
|
|
12954
12954
|
}, Ce, {
|
|
12955
12955
|
className: ve(jt.paper, Ce == null ? void 0 : Ce.className),
|
|
@@ -12960,21 +12960,21 @@ const NR = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
|
12960
12960
|
return Je.length > 0 ? Oe = ae(/* @__PURE__ */ p.jsx(JR, T({
|
|
12961
12961
|
as: U,
|
|
12962
12962
|
className: jt.listbox,
|
|
12963
|
-
ownerState:
|
|
12963
|
+
ownerState: Jt
|
|
12964
12964
|
}, xn, le, {
|
|
12965
12965
|
ref: an,
|
|
12966
12966
|
children: Je.map((we, Ae) => F ? En({
|
|
12967
12967
|
key: we.key,
|
|
12968
12968
|
group: we.group,
|
|
12969
|
-
children: we.options.map((Ne, et) =>
|
|
12970
|
-
}) :
|
|
12969
|
+
children: we.options.map((Ne, et) => en(Ne, we.index + et))
|
|
12970
|
+
}) : en(we, Ae))
|
|
12971
12971
|
}))) : X && Je.length === 0 ? Oe = ae(/* @__PURE__ */ p.jsx(XR, {
|
|
12972
12972
|
className: jt.loading,
|
|
12973
|
-
ownerState:
|
|
12973
|
+
ownerState: Jt,
|
|
12974
12974
|
children: H
|
|
12975
12975
|
})) : Je.length === 0 && !A && !X && (Oe = ae(/* @__PURE__ */ p.jsx(QR, {
|
|
12976
12976
|
className: jt.noOptions,
|
|
12977
|
-
ownerState:
|
|
12977
|
+
ownerState: Jt,
|
|
12978
12978
|
role: "presentation",
|
|
12979
12979
|
onMouseDown: (we) => {
|
|
12980
12980
|
we.preventDefault();
|
|
@@ -12984,7 +12984,7 @@ const NR = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
|
12984
12984
|
children: [/* @__PURE__ */ p.jsx(UR, T({
|
|
12985
12985
|
ref: n,
|
|
12986
12986
|
className: ve(jt.root, g),
|
|
12987
|
-
ownerState:
|
|
12987
|
+
ownerState: Jt
|
|
12988
12988
|
}, re(ee), {
|
|
12989
12989
|
children: Q({
|
|
12990
12990
|
id: Ge,
|
|
@@ -13002,11 +13002,11 @@ const NR = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
|
13002
13002
|
}, (at || it) && {
|
|
13003
13003
|
endAdornment: /* @__PURE__ */ p.jsxs(ZR, {
|
|
13004
13004
|
className: jt.endAdornment,
|
|
13005
|
-
ownerState:
|
|
13005
|
+
ownerState: Jt,
|
|
13006
13006
|
children: [at ? /* @__PURE__ */ p.jsx(qR, T({}, Ze(), {
|
|
13007
13007
|
"aria-label": x,
|
|
13008
13008
|
title: x,
|
|
13009
|
-
ownerState:
|
|
13009
|
+
ownerState: Jt
|
|
13010
13010
|
}, Y, {
|
|
13011
13011
|
className: ve(jt.clearIndicator, Y == null ? void 0 : Y.className),
|
|
13012
13012
|
children: m
|
|
@@ -13014,7 +13014,7 @@ const NR = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
|
13014
13014
|
disabled: M,
|
|
13015
13015
|
"aria-label": je ? C : J,
|
|
13016
13016
|
title: je ? C : J,
|
|
13017
|
-
ownerState:
|
|
13017
|
+
ownerState: Jt
|
|
13018
13018
|
}, ne, {
|
|
13019
13019
|
className: ve(jt.popupIndicator, ne == null ? void 0 : ne.className),
|
|
13020
13020
|
children: z
|
|
@@ -25416,7 +25416,7 @@ const R_ = W("span", {
|
|
|
25416
25416
|
rootRef: n
|
|
25417
25417
|
}));
|
|
25418
25418
|
ee.marked = Ke.length > 0 && Ke.some((ne) => ne.label), ee.dragging = Se, ee.focusedThumbIndex = ue;
|
|
25419
|
-
const ye = D_(ee), ge = (o = (r = ce == null ? void 0 : ce.root) != null ? r : F.Root) != null ? o : R_, Fe = (i = (a = ce == null ? void 0 : ce.rail) != null ? a : F.Rail) != null ? i : O_, Je = (l = (c = ce == null ? void 0 : ce.track) != null ? c : F.Track) != null ? l : k_, at = (d = (u = ce == null ? void 0 : ce.thumb) != null ? u : F.Thumb) != null ? d : E_, it = (f = (h = ce == null ? void 0 : ce.valueLabel) != null ? h : F.ValueLabel) != null ? f : I_, Bt = (g = (m = ce == null ? void 0 : ce.mark) != null ? m : F.Mark) != null ? g : j_, Ot = (b = (v = ce == null ? void 0 : ce.markLabel) != null ? v : F.MarkLabel) != null ? b : __, lt = (x = (C = ce == null ? void 0 : ce.input) != null ? C : F.Input) != null ? x : "input", Wt = (S = Q == null ? void 0 : Q.root) != null ? S : V.root, xn = (P = Q == null ? void 0 : Q.rail) != null ? P : V.rail, an = (w = Q == null ? void 0 : Q.track) != null ? w : V.track, eo = (R = Q == null ? void 0 : Q.thumb) != null ? R : V.thumb, yn = (M = Q == null ? void 0 : Q.valueLabel) != null ? M : V.valueLabel,
|
|
25419
|
+
const ye = D_(ee), ge = (o = (r = ce == null ? void 0 : ce.root) != null ? r : F.Root) != null ? o : R_, Fe = (i = (a = ce == null ? void 0 : ce.rail) != null ? a : F.Rail) != null ? i : O_, Je = (l = (c = ce == null ? void 0 : ce.track) != null ? c : F.Track) != null ? l : k_, at = (d = (u = ce == null ? void 0 : ce.thumb) != null ? u : F.Thumb) != null ? d : E_, it = (f = (h = ce == null ? void 0 : ce.valueLabel) != null ? h : F.ValueLabel) != null ? f : I_, Bt = (g = (m = ce == null ? void 0 : ce.mark) != null ? m : F.Mark) != null ? g : j_, Ot = (b = (v = ce == null ? void 0 : ce.markLabel) != null ? v : F.MarkLabel) != null ? b : __, lt = (x = (C = ce == null ? void 0 : ce.input) != null ? C : F.Input) != null ? x : "input", Wt = (S = Q == null ? void 0 : Q.root) != null ? S : V.root, xn = (P = Q == null ? void 0 : Q.rail) != null ? P : V.rail, an = (w = Q == null ? void 0 : Q.track) != null ? w : V.track, eo = (R = Q == null ? void 0 : Q.thumb) != null ? R : V.thumb, yn = (M = Q == null ? void 0 : Q.valueLabel) != null ? M : V.valueLabel, Jt = (O = Q == null ? void 0 : Q.mark) != null ? O : V.mark, jt = (k = Q == null ? void 0 : Q.markLabel) != null ? k : V.markLabel, ln = (E = Q == null ? void 0 : Q.input) != null ? E : V.input, Xe = Pt({
|
|
25420
25420
|
elementType: ge,
|
|
25421
25421
|
getSlotProps: xe,
|
|
25422
25422
|
externalSlotProps: Wt,
|
|
@@ -25445,14 +25445,14 @@ const R_ = W("span", {
|
|
|
25445
25445
|
externalSlotProps: eo,
|
|
25446
25446
|
ownerState: T({}, ee, eo == null ? void 0 : eo.ownerState),
|
|
25447
25447
|
className: ye.thumb
|
|
25448
|
-
}),
|
|
25448
|
+
}), en = Pt({
|
|
25449
25449
|
elementType: it,
|
|
25450
25450
|
externalSlotProps: yn,
|
|
25451
25451
|
ownerState: T({}, ee, yn == null ? void 0 : yn.ownerState),
|
|
25452
25452
|
className: ye.valueLabel
|
|
25453
25453
|
}), Y = Pt({
|
|
25454
25454
|
elementType: Bt,
|
|
25455
|
-
externalSlotProps:
|
|
25455
|
+
externalSlotProps: Jt,
|
|
25456
25456
|
ownerState: ee,
|
|
25457
25457
|
className: ye.mark
|
|
25458
25458
|
}), Ce = Pt({
|
|
@@ -25500,7 +25500,7 @@ const R_ = W("span", {
|
|
|
25500
25500
|
index: ae,
|
|
25501
25501
|
open: Ze === ae || Te === ae || ze === "on",
|
|
25502
25502
|
disabled: X
|
|
25503
|
-
},
|
|
25503
|
+
}, en, {
|
|
25504
25504
|
children: /* @__PURE__ */ p.jsx(at, T({
|
|
25505
25505
|
"data-index": ae
|
|
25506
25506
|
}, kt, {
|
|
@@ -26076,7 +26076,7 @@ const Yt = /* @__PURE__ */ y.forwardRef(function(t, n) {
|
|
|
26076
26076
|
}, [be, Se]);
|
|
26077
26077
|
const eo = pt(ce.ref, it, De, n);
|
|
26078
26078
|
!z && z !== 0 && (Se = !1);
|
|
26079
|
-
const yn = y.useRef(),
|
|
26079
|
+
const yn = y.useRef(), Jt = (Ne) => {
|
|
26080
26080
|
const et = ce.props;
|
|
26081
26081
|
et.onMouseMove && et.onMouseMove(Ne), fa = {
|
|
26082
26082
|
x: Ne.clientX,
|
|
@@ -26089,7 +26089,7 @@ const Yt = /* @__PURE__ */ y.forwardRef(function(t, n) {
|
|
|
26089
26089
|
onTouchStart: Wt,
|
|
26090
26090
|
ref: eo
|
|
26091
26091
|
}, B ? {
|
|
26092
|
-
onMouseMove:
|
|
26092
|
+
onMouseMove: Jt
|
|
26093
26093
|
} : {});
|
|
26094
26094
|
process.env.NODE_ENV !== "production" && (Xe["data-mui-internal-clone-element"] = !0, y.useEffect(() => {
|
|
26095
26095
|
me && !me.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
@@ -26118,12 +26118,12 @@ const Yt = /* @__PURE__ */ y.forwardRef(function(t, n) {
|
|
|
26118
26118
|
placement: G,
|
|
26119
26119
|
PopperComponentProp: Z,
|
|
26120
26120
|
touch: xe.current
|
|
26121
|
-
}),
|
|
26122
|
-
className: ve(
|
|
26121
|
+
}), en = F_(kt), Y = (o = (r = oe.popper) != null ? r : k.Popper) != null ? o : N_, Ce = (i = (a = (l = oe.transition) != null ? l : k.Transition) != null ? a : j) != null ? i : Hr, He = (c = (d = oe.tooltip) != null ? d : k.Tooltip) != null ? c : B_, ne = (u = (f = oe.arrow) != null ? f : k.Arrow) != null ? u : H_, ae = cs(Y, T({}, J, (h = ie.popper) != null ? h : E.popper, {
|
|
26122
|
+
className: ve(en.popper, J == null ? void 0 : J.className, (g = (m = ie.popper) != null ? m : E.popper) == null ? void 0 : g.className)
|
|
26123
26123
|
}), kt), Oe = cs(Ce, T({}, K, (b = ie.transition) != null ? b : E.transition), kt), we = cs(He, T({}, (v = ie.tooltip) != null ? v : E.tooltip, {
|
|
26124
|
-
className: ve(
|
|
26124
|
+
className: ve(en.tooltip, (x = (C = ie.tooltip) != null ? C : E.tooltip) == null ? void 0 : x.className)
|
|
26125
26125
|
}), kt), Ae = cs(ne, T({}, (S = ie.arrow) != null ? S : E.arrow, {
|
|
26126
|
-
className: ve(
|
|
26126
|
+
className: ve(en.arrow, (P = (w = ie.arrow) != null ? w : E.arrow) == null ? void 0 : P.className)
|
|
26127
26127
|
}), kt);
|
|
26128
26128
|
return /* @__PURE__ */ p.jsxs(y.Fragment, {
|
|
26129
26129
|
children: [/* @__PURE__ */ y.cloneElement(ce, Xe), /* @__PURE__ */ p.jsx(Y, T({
|
|
@@ -28823,7 +28823,7 @@ const oL = (e) => {
|
|
|
28823
28823
|
width: o,
|
|
28824
28824
|
height: o
|
|
28825
28825
|
};
|
|
28826
|
-
},
|
|
28826
|
+
}, nn = (e) => {
|
|
28827
28827
|
const {
|
|
28828
28828
|
icon: t,
|
|
28829
28829
|
size: n
|
|
@@ -29082,7 +29082,7 @@ const oL = (e) => {
|
|
|
29082
29082
|
/* @__PURE__ */ p.jsx(
|
|
29083
29083
|
FV,
|
|
29084
29084
|
{
|
|
29085
|
-
expandIcon: /* @__PURE__ */ p.jsx(
|
|
29085
|
+
expandIcon: /* @__PURE__ */ p.jsx(nn, { size: 4, icon: "arrowDownShort" }),
|
|
29086
29086
|
onClick: () => o(i),
|
|
29087
29087
|
children: /* @__PURE__ */ p.jsxs(Me, { direction: "row", alignItems: "center", gap: "28px", flex: 1, children: [
|
|
29088
29088
|
/* @__PURE__ */ p.jsx(fe, { variant: "h3", flex: 1, children: r.title }),
|
|
@@ -29984,7 +29984,7 @@ const I2 = (e) => {
|
|
|
29984
29984
|
height: `${r.height + 10}px`,
|
|
29985
29985
|
...o.sx
|
|
29986
29986
|
}, children: /* @__PURE__ */ p.jsx(
|
|
29987
|
-
|
|
29987
|
+
nn,
|
|
29988
29988
|
{
|
|
29989
29989
|
size: r,
|
|
29990
29990
|
icon: t
|
|
@@ -30694,7 +30694,7 @@ const I2 = (e) => {
|
|
|
30694
30694
|
marginRight: "6px"
|
|
30695
30695
|
},
|
|
30696
30696
|
children: [
|
|
30697
|
-
/* @__PURE__ */ p.jsx(
|
|
30697
|
+
/* @__PURE__ */ p.jsx(nn, { icon: r, size: 1 }),
|
|
30698
30698
|
/* @__PURE__ */ p.jsx(te, { display: "flex", alignItems: "center", flexDirection: "row", gap: "8px", children: /* @__PURE__ */ p.jsx(fe, { component: "span", variant: "h6", children: t }) })
|
|
30699
30699
|
]
|
|
30700
30700
|
}
|
|
@@ -30868,7 +30868,7 @@ const I2 = (e) => {
|
|
|
30868
30868
|
color: o.primaryColor,
|
|
30869
30869
|
marginRight: "2px"
|
|
30870
30870
|
},
|
|
30871
|
-
children: /* @__PURE__ */ p.jsx(
|
|
30871
|
+
children: /* @__PURE__ */ p.jsx(nn, { icon: n, size: 0.1 })
|
|
30872
30872
|
}
|
|
30873
30873
|
),
|
|
30874
30874
|
/* @__PURE__ */ p.jsx(te, { display: "flex", alignItems: "center", flexDirection: "row", gap: "8px", children: /* @__PURE__ */ p.jsx(
|
|
@@ -31832,7 +31832,7 @@ const sie = (e) => {
|
|
|
31832
31832
|
},
|
|
31833
31833
|
children: [
|
|
31834
31834
|
/* @__PURE__ */ p.jsx(fe, { variant: "body", children: n == null ? void 0 : n.label }),
|
|
31835
|
-
/* @__PURE__ */ p.jsx(
|
|
31835
|
+
/* @__PURE__ */ p.jsx(nn, { size: 1, icon: "arrowDownShort" })
|
|
31836
31836
|
]
|
|
31837
31837
|
}
|
|
31838
31838
|
),
|
|
@@ -31895,7 +31895,7 @@ const sie = (e) => {
|
|
|
31895
31895
|
ot,
|
|
31896
31896
|
{
|
|
31897
31897
|
variant: "ternary",
|
|
31898
|
-
endIcon: /* @__PURE__ */ p.jsx(
|
|
31898
|
+
endIcon: /* @__PURE__ */ p.jsx(nn, { size: 2, icon: "arrowRight" }),
|
|
31899
31899
|
disabled: e.moreDetailAction === void 0,
|
|
31900
31900
|
sx: {
|
|
31901
31901
|
width: "100%",
|
|
@@ -42516,25 +42516,19 @@ const AU = (e) => {
|
|
|
42516
42516
|
}
|
|
42517
42517
|
return n;
|
|
42518
42518
|
}, i8 = (e) => {
|
|
42519
|
-
const { action: t,
|
|
42519
|
+
const { action: t, seeMore: n } = e, o = Re(), r = {
|
|
42520
42520
|
display: "flex",
|
|
42521
42521
|
marginLeft: "auto",
|
|
42522
|
-
color:
|
|
42522
|
+
color: o.palette.primary[700],
|
|
42523
42523
|
fontSize: ".8rem",
|
|
42524
42524
|
textDecoration: "none",
|
|
42525
42525
|
alignItems: "center",
|
|
42526
|
-
fontWeight:
|
|
42527
|
-
"> svg": {
|
|
42528
|
-
marginLeft: ".25rem"
|
|
42529
|
-
},
|
|
42526
|
+
fontWeight: o.typography.fontWeightBold,
|
|
42530
42527
|
"&:hover": {
|
|
42531
42528
|
textDecoration: "none"
|
|
42532
42529
|
}
|
|
42533
42530
|
};
|
|
42534
|
-
return /* @__PURE__ */ p.
|
|
42535
|
-
n,
|
|
42536
|
-
/* @__PURE__ */ p.jsx(Jt, { size: 1, icon: "arrowRight" })
|
|
42537
|
-
] });
|
|
42531
|
+
return /* @__PURE__ */ p.jsx(ot, { onClick: t, sx: r, children: n });
|
|
42538
42532
|
}, FU = (e) => {
|
|
42539
42533
|
const {
|
|
42540
42534
|
values: t,
|
|
@@ -42593,11 +42587,11 @@ const AU = (e) => {
|
|
|
42593
42587
|
}
|
|
42594
42588
|
)
|
|
42595
42589
|
] }),
|
|
42596
|
-
(r == null ? void 0 : r.actions) && (r == null ? void 0 : r.
|
|
42590
|
+
(r == null ? void 0 : r.actions) && (r == null ? void 0 : r.seeMore) && (r == null ? void 0 : r.actions[u]) && /* @__PURE__ */ p.jsx(
|
|
42597
42591
|
i8,
|
|
42598
42592
|
{
|
|
42599
42593
|
action: r == null ? void 0 : r.actions[u],
|
|
42600
|
-
|
|
42594
|
+
seeMore: r == null ? void 0 : r.seeMore
|
|
42601
42595
|
}
|
|
42602
42596
|
)
|
|
42603
42597
|
]
|
|
@@ -42720,11 +42714,11 @@ const AU = (e) => {
|
|
|
42720
42714
|
]
|
|
42721
42715
|
}
|
|
42722
42716
|
),
|
|
42723
|
-
(i == null ? void 0 : i.actions) && (i == null ? void 0 : i.
|
|
42717
|
+
(i == null ? void 0 : i.actions) && (i == null ? void 0 : i.seeMore) && (i == null ? void 0 : i.actions[f]) && /* @__PURE__ */ p.jsx(
|
|
42724
42718
|
i8,
|
|
42725
42719
|
{
|
|
42726
42720
|
action: i == null ? void 0 : i.actions[f],
|
|
42727
|
-
|
|
42721
|
+
seeMore: i == null ? void 0 : i.seeMore
|
|
42728
42722
|
}
|
|
42729
42723
|
)
|
|
42730
42724
|
]
|
|
@@ -44135,7 +44129,7 @@ const pie = (e) => {
|
|
|
44135
44129
|
padding: "24px"
|
|
44136
44130
|
},
|
|
44137
44131
|
variant: "primary",
|
|
44138
|
-
endIcon: /* @__PURE__ */ p.jsx(
|
|
44132
|
+
endIcon: /* @__PURE__ */ p.jsx(nn, { size: 2, icon: "arrowRight" })
|
|
44139
44133
|
}
|
|
44140
44134
|
}
|
|
44141
44135
|
)
|
|
@@ -44194,7 +44188,7 @@ const pie = (e) => {
|
|
|
44194
44188
|
onClick: r,
|
|
44195
44189
|
children: [
|
|
44196
44190
|
/* @__PURE__ */ p.jsx(fe, { fontWeight: 700, fontSize: "0.875rem", children: a }),
|
|
44197
|
-
/* @__PURE__ */ p.jsx(
|
|
44191
|
+
/* @__PURE__ */ p.jsx(nn, { size: 2, icon: "arrowRight" })
|
|
44198
44192
|
]
|
|
44199
44193
|
}
|
|
44200
44194
|
)
|
|
@@ -44235,7 +44229,7 @@ const pie = (e) => {
|
|
|
44235
44229
|
children: [
|
|
44236
44230
|
/* @__PURE__ */ p.jsxs(te, { display: "flex", children: [
|
|
44237
44231
|
/* @__PURE__ */ p.jsx(fe, { variant: "h3", component: "h3", mb: "1.5rem", children: t }),
|
|
44238
|
-
r && /* @__PURE__ */ p.jsx(
|
|
44232
|
+
r && /* @__PURE__ */ p.jsx(nn, { size: 3, icon: "information" })
|
|
44239
44233
|
] }),
|
|
44240
44234
|
/* @__PURE__ */ p.jsx(te, { fontWeight: 700, display: "flex", gap: "0.5rem", mb: "1rem", children: n }),
|
|
44241
44235
|
/* @__PURE__ */ p.jsx(
|
|
@@ -44293,7 +44287,7 @@ function kZ(e) {
|
|
|
44293
44287
|
{
|
|
44294
44288
|
title: /* @__PURE__ */ p.jsx(fe, { variant: "body-medium", children: t }),
|
|
44295
44289
|
placement: "right",
|
|
44296
|
-
children: /* @__PURE__ */ p.jsx(te, { children: /* @__PURE__ */ p.jsx(
|
|
44290
|
+
children: /* @__PURE__ */ p.jsx(te, { children: /* @__PURE__ */ p.jsx(nn, { size: 3, icon: "information" }) })
|
|
44297
44291
|
}
|
|
44298
44292
|
);
|
|
44299
44293
|
}
|
|
@@ -62739,17 +62733,17 @@ const Ste = (e) => {
|
|
|
62739
62733
|
}, Hte = (e) => {
|
|
62740
62734
|
var t, n, o, r, i, a, l, c, d, u, f, h, g, m, b, v, x, C, S, P, w, R, M, O, k, E, I, _, A, L, D, $, F, V, B;
|
|
62741
62735
|
const N = Ut(null), U = Ut(null), le = Ut(null), X = Ut({}), H = Ut({}), q = Ut(null), G = Ut(null), Z = Ut({}), J = Ut(null), ie = Ut(null), oe = Ut(null), z = Ut(null), j = on(() => {
|
|
62742
|
-
var kt,
|
|
62736
|
+
var kt, en, Y;
|
|
62743
62737
|
const Ce = (kt = e.initialState) !== null && kt !== void 0 ? kt : {};
|
|
62744
|
-
return Ce.columnOrder = (
|
|
62738
|
+
return Ce.columnOrder = (en = Ce.columnOrder) !== null && en !== void 0 ? en : _v(Object.assign(Object.assign({}, e), { state: Object.assign(Object.assign({}, e.initialState), e.state) })), Ce.globalFilterFn = (Y = e.globalFilterFn) !== null && Y !== void 0 ? Y : "fuzzy", Ce;
|
|
62745
62739
|
}, []);
|
|
62746
62740
|
e.initialState = j;
|
|
62747
62741
|
const [K, Q] = Ye((t = j.actionCell) !== null && t !== void 0 ? t : null), [ce, pe] = Ye((n = j.creatingRow) !== null && n !== void 0 ? n : null), [ze, me] = Ye(() => Object.assign({}, ...Jd(e.columns).map((kt) => {
|
|
62748
|
-
var
|
|
62742
|
+
var en, Y, Ce, He;
|
|
62749
62743
|
return {
|
|
62750
|
-
[ws(kt)]: kt.filterFn instanceof Function ? (
|
|
62744
|
+
[ws(kt)]: kt.filterFn instanceof Function ? (en = kt.filterFn.name) !== null && en !== void 0 ? en : "custom" : (He = (Y = kt.filterFn) !== null && Y !== void 0 ? Y : (Ce = j == null ? void 0 : j.columnFilterFns) === null || Ce === void 0 ? void 0 : Ce[ws(kt)]) !== null && He !== void 0 ? He : ute(kt)
|
|
62751
62745
|
};
|
|
62752
|
-
}))), [De, ee] = Ye((o = j.columnOrder) !== null && o !== void 0 ? o : []), [re, xe] = Ye((r = j.columnSizingInfo) !== null && r !== void 0 ? r : {}), [Ve, We] = Ye((i = j == null ? void 0 : j.density) !== null && i !== void 0 ? i : "comfortable"), [Ze, Te] = Ye((a = j.draggingColumn) !== null && a !== void 0 ? a : null), [ke, ue] = Ye((l = j.draggingRow) !== null && l !== void 0 ? l : null), [se, Se] = Ye((c = j.editingCell) !== null && c !== void 0 ? c : null), [Ke, Ge] = Ye((d = j.editingRow) !== null && d !== void 0 ? d : null), [je, Le] = Ye((u = j.globalFilterFn) !== null && u !== void 0 ? u : "fuzzy"), [be, ye] = Ye((f = j.grouping) !== null && f !== void 0 ? f : []), [ge, Fe] = Ye((h = j.hoveredColumn) !== null && h !== void 0 ? h : null), [Je, at] = Ye((g = j.hoveredRow) !== null && g !== void 0 ? g : null), [it, Bt] = Ye((m = j == null ? void 0 : j.isFullScreen) !== null && m !== void 0 ? m : !1), [Ot, lt] = Ye((b = j == null ? void 0 : j.pagination) !== null && b !== void 0 ? b : { pageIndex: 0, pageSize: 10 }), [Wt, xn] = Ye((v = j == null ? void 0 : j.showAlertBanner) !== null && v !== void 0 ? v : !1), [an, eo] = Ye((x = j == null ? void 0 : j.showColumnFilters) !== null && x !== void 0 ? x : !1), [yn,
|
|
62746
|
+
}))), [De, ee] = Ye((o = j.columnOrder) !== null && o !== void 0 ? o : []), [re, xe] = Ye((r = j.columnSizingInfo) !== null && r !== void 0 ? r : {}), [Ve, We] = Ye((i = j == null ? void 0 : j.density) !== null && i !== void 0 ? i : "comfortable"), [Ze, Te] = Ye((a = j.draggingColumn) !== null && a !== void 0 ? a : null), [ke, ue] = Ye((l = j.draggingRow) !== null && l !== void 0 ? l : null), [se, Se] = Ye((c = j.editingCell) !== null && c !== void 0 ? c : null), [Ke, Ge] = Ye((d = j.editingRow) !== null && d !== void 0 ? d : null), [je, Le] = Ye((u = j.globalFilterFn) !== null && u !== void 0 ? u : "fuzzy"), [be, ye] = Ye((f = j.grouping) !== null && f !== void 0 ? f : []), [ge, Fe] = Ye((h = j.hoveredColumn) !== null && h !== void 0 ? h : null), [Je, at] = Ye((g = j.hoveredRow) !== null && g !== void 0 ? g : null), [it, Bt] = Ye((m = j == null ? void 0 : j.isFullScreen) !== null && m !== void 0 ? m : !1), [Ot, lt] = Ye((b = j == null ? void 0 : j.pagination) !== null && b !== void 0 ? b : { pageIndex: 0, pageSize: 10 }), [Wt, xn] = Ye((v = j == null ? void 0 : j.showAlertBanner) !== null && v !== void 0 ? v : !1), [an, eo] = Ye((x = j == null ? void 0 : j.showColumnFilters) !== null && x !== void 0 ? x : !1), [yn, Jt] = Ye((C = j == null ? void 0 : j.showGlobalFilter) !== null && C !== void 0 ? C : !1), [jt, ln] = Ye((S = j == null ? void 0 : j.showToolbarDropZone) !== null && S !== void 0 ? S : !1);
|
|
62753
62747
|
e.state = Object.assign({
|
|
62754
62748
|
actionCell: K,
|
|
62755
62749
|
columnFilterFns: ze,
|
|
@@ -62818,10 +62812,10 @@ const Ste = (e) => {
|
|
|
62818
62812
|
tablePaperRef: J,
|
|
62819
62813
|
topToolbarRef: ie
|
|
62820
62814
|
}, _t.setActionCell = (w = Xe.onActionCellChange) !== null && w !== void 0 ? w : Q, _t.setCreatingRow = (kt) => {
|
|
62821
|
-
var
|
|
62815
|
+
var en, Y;
|
|
62822
62816
|
let Ce = kt;
|
|
62823
|
-
kt === !0 && (Ce = pte(_t)), (Y = (
|
|
62824
|
-
}, _t.setColumnFilterFns = (R = Xe.onColumnFilterFnsChange) !== null && R !== void 0 ? R : me, _t.setDensity = (M = Xe.onDensityChange) !== null && M !== void 0 ? M : We, _t.setDraggingColumn = (O = Xe.onDraggingColumnChange) !== null && O !== void 0 ? O : Te, _t.setDraggingRow = (k = Xe.onDraggingRowChange) !== null && k !== void 0 ? k : ue, _t.setEditingCell = (E = Xe.onEditingCellChange) !== null && E !== void 0 ? E : Se, _t.setEditingRow = (I = Xe.onEditingRowChange) !== null && I !== void 0 ? I : Ge, _t.setGlobalFilterFn = (_ = Xe.onGlobalFilterFnChange) !== null && _ !== void 0 ? _ : Le, _t.setHoveredColumn = (A = Xe.onHoveredColumnChange) !== null && A !== void 0 ? A : Fe, _t.setHoveredRow = (L = Xe.onHoveredRowChange) !== null && L !== void 0 ? L : at, _t.setIsFullScreen = (D = Xe.onIsFullScreenChange) !== null && D !== void 0 ? D : Bt, _t.setShowAlertBanner = ($ = Xe.onShowAlertBannerChange) !== null && $ !== void 0 ? $ : xn, _t.setShowColumnFilters = (F = Xe.onShowColumnFiltersChange) !== null && F !== void 0 ? F : eo, _t.setShowGlobalFilter = (V = Xe.onShowGlobalFilterChange) !== null && V !== void 0 ? V :
|
|
62817
|
+
kt === !0 && (Ce = pte(_t)), (Y = (en = Xe == null ? void 0 : Xe.onCreatingRowChange) === null || en === void 0 ? void 0 : en.call(Xe, Ce)) !== null && Y !== void 0 || pe(Ce);
|
|
62818
|
+
}, _t.setColumnFilterFns = (R = Xe.onColumnFilterFnsChange) !== null && R !== void 0 ? R : me, _t.setDensity = (M = Xe.onDensityChange) !== null && M !== void 0 ? M : We, _t.setDraggingColumn = (O = Xe.onDraggingColumnChange) !== null && O !== void 0 ? O : Te, _t.setDraggingRow = (k = Xe.onDraggingRowChange) !== null && k !== void 0 ? k : ue, _t.setEditingCell = (E = Xe.onEditingCellChange) !== null && E !== void 0 ? E : Se, _t.setEditingRow = (I = Xe.onEditingRowChange) !== null && I !== void 0 ? I : Ge, _t.setGlobalFilterFn = (_ = Xe.onGlobalFilterFnChange) !== null && _ !== void 0 ? _ : Le, _t.setHoveredColumn = (A = Xe.onHoveredColumnChange) !== null && A !== void 0 ? A : Fe, _t.setHoveredRow = (L = Xe.onHoveredRowChange) !== null && L !== void 0 ? L : at, _t.setIsFullScreen = (D = Xe.onIsFullScreenChange) !== null && D !== void 0 ? D : Bt, _t.setShowAlertBanner = ($ = Xe.onShowAlertBannerChange) !== null && $ !== void 0 ? $ : xn, _t.setShowColumnFilters = (F = Xe.onShowColumnFiltersChange) !== null && F !== void 0 ? F : eo, _t.setShowGlobalFilter = (V = Xe.onShowGlobalFilterChange) !== null && V !== void 0 ? V : Jt, _t.setShowToolbarDropZone = (B = Xe.onShowToolbarDropZoneChange) !== null && B !== void 0 ? B : ln, Bte(_t), _t;
|
|
62825
62819
|
}, zte = (e) => Hte(Fte(e)), Yv = (e, t) => {
|
|
62826
62820
|
const n = b9(e);
|
|
62827
62821
|
return t === void 0 || (t >= 0 && t < Math.max(e.startIndex - e.overscan, 0) && n.unshift(t), t >= 0 && t > e.endIndex + e.overscan && n.push(t)), n;
|
|
@@ -64335,7 +64329,7 @@ const Vie = (e) => {
|
|
|
64335
64329
|
flexDirection: "row",
|
|
64336
64330
|
gap: t.spacing(3),
|
|
64337
64331
|
children: [
|
|
64338
|
-
/* @__PURE__ */ p.jsx(
|
|
64332
|
+
/* @__PURE__ */ p.jsx(nn, { size: 8, icon: "suggestions" }),
|
|
64339
64333
|
/* @__PURE__ */ p.jsxs(Me, { flexDirection: "column", gap: t.spacing(1), children: [
|
|
64340
64334
|
n,
|
|
64341
64335
|
o
|
|
@@ -64754,10 +64748,10 @@ const ix = (e) => {
|
|
|
64754
64748
|
{
|
|
64755
64749
|
sx: { display: "flex" },
|
|
64756
64750
|
onClick: () => t(""),
|
|
64757
|
-
children: /* @__PURE__ */ p.jsx(
|
|
64751
|
+
children: /* @__PURE__ */ p.jsx(nn, { size: 2, icon: "close" })
|
|
64758
64752
|
}
|
|
64759
64753
|
),
|
|
64760
|
-
/* @__PURE__ */ p.jsx(
|
|
64754
|
+
/* @__PURE__ */ p.jsx(nn, { size: 3, icon: "search" })
|
|
64761
64755
|
] })
|
|
64762
64756
|
] });
|
|
64763
64757
|
}, Wne = (e, t) => t === void 0 || e === null ? null : t(e), Une = (e) => {
|
|
@@ -64774,7 +64768,7 @@ const ix = (e) => {
|
|
|
64774
64768
|
wf,
|
|
64775
64769
|
{
|
|
64776
64770
|
isSelected: !1,
|
|
64777
|
-
icon: /* @__PURE__ */ p.jsx(
|
|
64771
|
+
icon: /* @__PURE__ */ p.jsx(nn, { size: 1, icon: "close" }),
|
|
64778
64772
|
displayText: i,
|
|
64779
64773
|
onClick: () => n(null)
|
|
64780
64774
|
}
|
|
@@ -65035,7 +65029,7 @@ const ix = (e) => {
|
|
|
65035
65029
|
variant: "validate",
|
|
65036
65030
|
onClick: o.action,
|
|
65037
65031
|
disabled: o.disabled ?? !1,
|
|
65038
|
-
startIcon: /* @__PURE__ */ p.jsx(
|
|
65032
|
+
startIcon: /* @__PURE__ */ p.jsx(nn, { size: 2, icon: "check" }),
|
|
65039
65033
|
children: o.label
|
|
65040
65034
|
}
|
|
65041
65035
|
)
|
|
@@ -65064,7 +65058,7 @@ const ix = (e) => {
|
|
|
65064
65058
|
{
|
|
65065
65059
|
variant: "validate",
|
|
65066
65060
|
onClick: o.action,
|
|
65067
|
-
startIcon: /* @__PURE__ */ p.jsx(
|
|
65061
|
+
startIcon: /* @__PURE__ */ p.jsx(nn, { size: 2, icon: "check" }),
|
|
65068
65062
|
children: o.label
|
|
65069
65063
|
}
|
|
65070
65064
|
)
|
|
@@ -65102,7 +65096,7 @@ const ix = (e) => {
|
|
|
65102
65096
|
buttonOptions: n,
|
|
65103
65097
|
defaultOptions: {
|
|
65104
65098
|
variant: "primary",
|
|
65105
|
-
endIcon: /* @__PURE__ */ p.jsx(
|
|
65099
|
+
endIcon: /* @__PURE__ */ p.jsx(nn, { size: 2, icon: "arrowRight" })
|
|
65106
65100
|
}
|
|
65107
65101
|
}
|
|
65108
65102
|
)
|
|
@@ -65590,7 +65584,7 @@ const ioe = (e) => {
|
|
|
65590
65584
|
}
|
|
65591
65585
|
)
|
|
65592
65586
|
] }),
|
|
65593
|
-
o && /* @__PURE__ */ p.jsx(
|
|
65587
|
+
o && /* @__PURE__ */ p.jsx(nn, { size: 2, icon: "actions" })
|
|
65594
65588
|
]
|
|
65595
65589
|
}
|
|
65596
65590
|
),
|
|
@@ -65699,7 +65693,7 @@ const ioe = (e) => {
|
|
|
65699
65693
|
}
|
|
65700
65694
|
);
|
|
65701
65695
|
}, foe = (e) => {
|
|
65702
|
-
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(
|
|
65696
|
+
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(nn, { icon: "arrowUpShort", size: 2 }) : /* @__PURE__ */ p.jsx(nn, { icon: "arrowDownShort", size: 2 }), d = i ? "selected-menu" : "default-menu";
|
|
65703
65697
|
return /* @__PURE__ */ p.jsxs(Gr, { children: [
|
|
65704
65698
|
/* @__PURE__ */ p.jsx(
|
|
65705
65699
|
Ks,
|
|
@@ -65870,7 +65864,7 @@ const ioe = (e) => {
|
|
|
65870
65864
|
}
|
|
65871
65865
|
)
|
|
65872
65866
|
] }),
|
|
65873
|
-
t && /* @__PURE__ */ p.jsx(
|
|
65867
|
+
t && /* @__PURE__ */ p.jsx(nn, { size: 2, icon: "actions" })
|
|
65874
65868
|
]
|
|
65875
65869
|
}
|
|
65876
65870
|
),
|
|
@@ -65911,7 +65905,7 @@ const ioe = (e) => {
|
|
|
65911
65905
|
},
|
|
65912
65906
|
onClick: o,
|
|
65913
65907
|
children: [
|
|
65914
|
-
!n && /* @__PURE__ */ p.jsx(
|
|
65908
|
+
!n && /* @__PURE__ */ p.jsx(nn, { size: 1, icon: "openPanel" }),
|
|
65915
65909
|
n && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
65916
65910
|
/* @__PURE__ */ p.jsx(
|
|
65917
65911
|
fe,
|
|
@@ -65926,7 +65920,7 @@ const ioe = (e) => {
|
|
|
65926
65920
|
children: r.shortenSidebar
|
|
65927
65921
|
}
|
|
65928
65922
|
),
|
|
65929
|
-
/* @__PURE__ */ p.jsx(
|
|
65923
|
+
/* @__PURE__ */ p.jsx(nn, { size: 1, icon: "closePanel" })
|
|
65930
65924
|
] })
|
|
65931
65925
|
]
|
|
65932
65926
|
}
|
|
@@ -69001,7 +68995,7 @@ const Lx = (e) => e.flatMap(({ id: t, label: n, children: o }) => [{ id: t, labe
|
|
|
69001
68995
|
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";
|
|
69002
68996
|
return /* @__PURE__ */ p.jsxs(Me, { direction: "row", alignItems: "start", gap: 0.5, children: [
|
|
69003
68997
|
/* @__PURE__ */ p.jsx(fe, { variant: a, sx: { color: l, backgroundColor: c }, fontWeight: "inherit", children: t }),
|
|
69004
|
-
i && /* @__PURE__ */ p.jsx(te, { color: l, mt: "-1px", children: /* @__PURE__ */ p.jsx(
|
|
68998
|
+
i && /* @__PURE__ */ p.jsx(te, { color: l, mt: "-1px", children: /* @__PURE__ */ p.jsx(nn, { icon: "check", size: 2.5 }) })
|
|
69005
68999
|
] });
|
|
69006
69000
|
}, Ore = W(jx)(({ theme: e }) => ({
|
|
69007
69001
|
[`& .${no.selected}`]: {
|
|
@@ -69242,7 +69236,7 @@ export {
|
|
|
69242
69236
|
Wr as FoodsBadge,
|
|
69243
69237
|
RZ as FoodsCheckbox,
|
|
69244
69238
|
jie as FoodsFormBase,
|
|
69245
|
-
|
|
69239
|
+
nn as FoodsIcon,
|
|
69246
69240
|
M7 as FoodsIllustrations,
|
|
69247
69241
|
tse as FoodsNavbar,
|
|
69248
69242
|
jne as FoodsRadioList,
|