@getsoren/design-system 4.52.0 → 4.53.0
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.cjs +41 -41
- package/dist/main.js +88 -67
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as mo, c as gn, i as vo, n as Jo, o as bo, r as yo, s as Co, t as Wp } from "./grey-BAzK6S76.js";
|
|
2
|
-
import { Alert as Ql, AppBar as Ji, Autocomplete as Kp, Avatar as ln, Backdrop as jp, Badge as Hp, Box as le, Button as hn, Card as qo, CardContent as yd, Checkbox as ga, Chip as Tr, CircularProgress as Nl, Collapse as Yi, CssBaseline as Gp, Dialog as Zp, DialogActions as Xp, DialogContent as zp, DialogContentText as Jp, Divider as Bn, Fade as Ul, GlobalStyles as mn, IconButton as ct, InputAdornment as Do, InputLabel as Yp, List as vn, ListItem as br, ListItemAvatar as $p, ListItemButton as $i, ListItemIcon as Cd, ListItemText as Gr, Menu as xd, MenuItem as Ed, Modal as _p, Paper as ql, Popper as ef, Radio as tf, Skeleton as vt, Slide as rf, Snackbar as of, Stack as de, SvgIcon as
|
|
2
|
+
import { Alert as Ql, AppBar as Ji, Autocomplete as Kp, Avatar as ln, Backdrop as jp, Badge as Hp, Box as le, Button as hn, Card as qo, CardContent as yd, Checkbox as ga, Chip as Tr, CircularProgress as Nl, Collapse as Yi, CssBaseline as Gp, Dialog as Zp, DialogActions as Xp, DialogContent as zp, DialogContentText as Jp, Divider as Bn, Fade as Ul, GlobalStyles as mn, IconButton as ct, InputAdornment as Do, InputLabel as Yp, List as vn, ListItem as br, ListItemAvatar as $p, ListItemButton as $i, ListItemIcon as Cd, ListItemText as Gr, Menu as xd, MenuItem as Ed, Modal as _p, Paper as ql, Popper as ef, Radio as tf, Skeleton as vt, Slide as rf, Snackbar as of, Stack as de, SvgIcon as Ot, SwipeableDrawer as nf, Tab as af, TextField as Pn, TextareaAutosize as lf, ThemeProvider as sf, ToggleButton as Xn, ToggleButtonGroup as uf, Toolbar as df, Tooltip as kr, Typography as we, alpha as Tt, createTheme as Oo, css as ha, getOverlayAlpha as _i, responsiveFontSizes as Wl, useMediaQuery as bn, useTheme as pt } from "@mui/material";
|
|
3
3
|
import * as I from "react";
|
|
4
4
|
import Rr, { Children as Sd, cloneElement as ao, createContext as Fa, forwardRef as Ct, isValidElement as xt, memo as Qa, useCallback as qe, useContext as lr, useEffect as Ft, useImperativeHandle as wd, useMemo as jr, useRef as Ke, useState as De } from "react";
|
|
5
5
|
import * as yn from "react/jsx-runtime";
|
|
@@ -93,7 +93,7 @@ function Jn(e, t) {
|
|
|
93
93
|
function Df(e, t) {
|
|
94
94
|
return e.map(t).join("");
|
|
95
95
|
}
|
|
96
|
-
var Wa = 1, Mo = 1, Dd = 0,
|
|
96
|
+
var Wa = 1, Mo = 1, Dd = 0, kt = 0, ot = 0, Wo = "";
|
|
97
97
|
function Ka(e, t, r, n, a, i, l) {
|
|
98
98
|
return {
|
|
99
99
|
value: e,
|
|
@@ -115,16 +115,16 @@ function Mf() {
|
|
|
115
115
|
return ot;
|
|
116
116
|
}
|
|
117
117
|
function Vf() {
|
|
118
|
-
return ot =
|
|
118
|
+
return ot = kt > 0 ? dt(Wo, --kt) : 0, Mo--, ot === 10 && (Mo = 1, Wa--), ot;
|
|
119
119
|
}
|
|
120
120
|
function Lt() {
|
|
121
|
-
return ot =
|
|
121
|
+
return ot = kt < Dd ? dt(Wo, kt++) : 0, Mo++, ot === 10 && (Mo = 1, Wa++), ot;
|
|
122
122
|
}
|
|
123
123
|
function mr() {
|
|
124
|
-
return dt(Wo,
|
|
124
|
+
return dt(Wo, kt);
|
|
125
125
|
}
|
|
126
126
|
function na() {
|
|
127
|
-
return
|
|
127
|
+
return kt;
|
|
128
128
|
}
|
|
129
129
|
function Dn(e, t) {
|
|
130
130
|
return Cn(Wo, e, t);
|
|
@@ -162,13 +162,13 @@ function xn(e) {
|
|
|
162
162
|
return 0;
|
|
163
163
|
}
|
|
164
164
|
function Md(e) {
|
|
165
|
-
return Wa = Mo = 1, Dd = pr(Wo = e),
|
|
165
|
+
return Wa = Mo = 1, Dd = pr(Wo = e), kt = 0, [];
|
|
166
166
|
}
|
|
167
167
|
function Vd(e) {
|
|
168
168
|
return Wo = "", e;
|
|
169
169
|
}
|
|
170
170
|
function aa(e) {
|
|
171
|
-
return Pd(Dn(
|
|
171
|
+
return Pd(Dn(kt - 1, rl(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
172
172
|
}
|
|
173
173
|
function Lf(e) {
|
|
174
174
|
for (; (ot = mr()) && ot < 33; ) Lt();
|
|
@@ -181,7 +181,7 @@ function Ff(e, t) {
|
|
|
181
181
|
function rl(e) {
|
|
182
182
|
for (; Lt(); ) switch (ot) {
|
|
183
183
|
case e:
|
|
184
|
-
return
|
|
184
|
+
return kt;
|
|
185
185
|
case 34:
|
|
186
186
|
case 39:
|
|
187
187
|
e !== 34 && e !== 39 && rl(ot);
|
|
@@ -193,15 +193,15 @@ function rl(e) {
|
|
|
193
193
|
Lt();
|
|
194
194
|
break;
|
|
195
195
|
}
|
|
196
|
-
return
|
|
196
|
+
return kt;
|
|
197
197
|
}
|
|
198
198
|
function Qf(e, t) {
|
|
199
199
|
for (; Lt() && e + ot !== 57; ) if (e + ot === 84 && mr() === 47) break;
|
|
200
|
-
return "/*" + Dn(t,
|
|
200
|
+
return "/*" + Dn(t, kt - 1) + "*" + qa(e === 47 ? e : Lt());
|
|
201
201
|
}
|
|
202
202
|
function Nf(e) {
|
|
203
203
|
for (; !xn(mr()); ) Lt();
|
|
204
|
-
return Dn(e,
|
|
204
|
+
return Dn(e, kt);
|
|
205
205
|
}
|
|
206
206
|
function Uf(e) {
|
|
207
207
|
return Vd(ia("", null, null, null, [""], e = Md(e), 0, [0], e));
|
|
@@ -340,13 +340,13 @@ function Hf(e) {
|
|
|
340
340
|
var Gf = function(t, r, n) {
|
|
341
341
|
for (var a = 0, i = 0; a = i, i = mr(), a === 38 && i === 12 && (r[n] = 1), !xn(i); )
|
|
342
342
|
Lt();
|
|
343
|
-
return Dn(t,
|
|
343
|
+
return Dn(t, kt);
|
|
344
344
|
}, Zf = function(t, r) {
|
|
345
345
|
var n = -1, a = 44;
|
|
346
346
|
do
|
|
347
347
|
switch (xn(a)) {
|
|
348
348
|
case 0:
|
|
349
|
-
a === 38 && mr() === 12 && (r[n] = 1), t[n] += Gf(
|
|
349
|
+
a === 38 && mr() === 12 && (r[n] = 1), t[n] += Gf(kt - 1, r, n);
|
|
350
350
|
break;
|
|
351
351
|
case 2:
|
|
352
352
|
t[n] += aa(a);
|
|
@@ -1292,7 +1292,7 @@ var bA = (e, t) => {
|
|
|
1292
1292
|
light: "#FFD95B",
|
|
1293
1293
|
main: "#FFA726"
|
|
1294
1294
|
}
|
|
1295
|
-
} },
|
|
1295
|
+
} }, Rt = { palette: {
|
|
1296
1296
|
action: {
|
|
1297
1297
|
active: "rgba(255, 255, 255, 0.54)",
|
|
1298
1298
|
disabled: "rgba(255, 255, 255, 0.26)",
|
|
@@ -1421,9 +1421,9 @@ var bA = (e, t) => {
|
|
|
1421
1421
|
} }, SA = ({ sx: e, ...t }) => /* @__PURE__ */ d(ln, {
|
|
1422
1422
|
variant: "rounded",
|
|
1423
1423
|
sx: {
|
|
1424
|
-
"& svg": { color:
|
|
1425
|
-
backgroundColor:
|
|
1426
|
-
color:
|
|
1424
|
+
"& svg": { color: Rt?.palette?.text?.disabled },
|
|
1425
|
+
backgroundColor: Rt?.palette?.grey?.[100],
|
|
1426
|
+
color: Rt?.palette?.text?.primary,
|
|
1427
1427
|
...e
|
|
1428
1428
|
},
|
|
1429
1429
|
...t
|
|
@@ -11785,7 +11785,7 @@ function D2(e) {
|
|
|
11785
11785
|
ut || (Yt(!0), wt(!0), Le.current = !1, z && z(N));
|
|
11786
11786
|
}, Sr = (N, U) => {
|
|
11787
11787
|
ut && (Yt(!1), je.current = !1, Be.current = null, V && V(N, U));
|
|
11788
|
-
},
|
|
11788
|
+
}, Bt = (N, U, ae, he) => {
|
|
11789
11789
|
if (m) {
|
|
11790
11790
|
if (_.length === U.length && _.every((Ie, Ye) => Ie === U[Ye])) return;
|
|
11791
11791
|
} else if (_ === U) return;
|
|
@@ -11801,7 +11801,7 @@ function D2(e) {
|
|
|
11801
11801
|
const He = Ye.findIndex((tt) => k(U, tt));
|
|
11802
11802
|
He === -1 ? Ye.push(U) : he !== "freeSolo" && (Ye.splice(He, 1), Ie = "removeOption");
|
|
11803
11803
|
}
|
|
11804
|
-
nt(N, Ye, Ie),
|
|
11804
|
+
nt(N, Ye, Ie), Bt(N, Ye, Ie, { option: U }), !b && (!N || !N.ctrlKey && !N.metaKey) && Sr(N, Ie), (l === !0 || l === "touch" && Le.current || l === "mouse" && !Le.current) && $.current.blur();
|
|
11805
11805
|
};
|
|
11806
11806
|
function _r(N, U) {
|
|
11807
11807
|
if (N === -1) return -1;
|
|
@@ -11819,7 +11819,7 @@ function D2(e) {
|
|
|
11819
11819
|
let ae = G;
|
|
11820
11820
|
G === -1 && U === "previous" ? (ae = _.length - 1, w && Ae !== "" && (At(""), L && L(N, "", "reset"))) : (ae += U === "next" ? 1 : -1, ae < 0 && (ae = 0), ae === _.length && (ae = -1)), ae = _r(ae, U), fe(ae), ge(ae);
|
|
11821
11821
|
}, ho = (N) => {
|
|
11822
|
-
re.current = !0, At(""), L && L(N, "", "clear"),
|
|
11822
|
+
re.current = !0, At(""), L && L(N, "", "clear"), Bt(N, m ? [] : null, "clear");
|
|
11823
11823
|
}, Si = (N) => (U) => {
|
|
11824
11824
|
if (N.onKeyDown && N.onKeyDown(U), !U.defaultMuiPrevented && (G !== -1 && !["ArrowLeft", "ArrowRight"].includes(U.key) && (fe(-1), ge(-1)), U.which !== 229))
|
|
11825
11825
|
switch (U.key) {
|
|
@@ -11895,16 +11895,16 @@ function D2(e) {
|
|
|
11895
11895
|
case "Backspace":
|
|
11896
11896
|
if (m && !X && Ae === "" && _.length > 0) {
|
|
11897
11897
|
const ae = G === -1 ? _.length - 1 : G, he = _.slice();
|
|
11898
|
-
he.splice(ae, 1),
|
|
11898
|
+
he.splice(ae, 1), Bt(U, he, "removeOption", { option: _[ae] });
|
|
11899
11899
|
}
|
|
11900
|
-
!m && F && !X && Ae === "" &&
|
|
11900
|
+
!m && F && !X && Ae === "" && Bt(U, null, "removeOption", { option: _ });
|
|
11901
11901
|
break;
|
|
11902
11902
|
case "Delete":
|
|
11903
11903
|
if (m && !X && Ae === "" && _.length > 0 && G !== -1) {
|
|
11904
11904
|
const ae = G, he = _.slice();
|
|
11905
|
-
he.splice(ae, 1),
|
|
11905
|
+
he.splice(ae, 1), Bt(U, he, "removeOption", { option: _[ae] });
|
|
11906
11906
|
}
|
|
11907
|
-
!m && F && !X && Ae === "" &&
|
|
11907
|
+
!m && F && !X && Ae === "" && Bt(U, null, "removeOption", { option: _ });
|
|
11908
11908
|
break;
|
|
11909
11909
|
default:
|
|
11910
11910
|
}
|
|
@@ -11922,7 +11922,7 @@ function D2(e) {
|
|
|
11922
11922
|
Nt(!1), ue.current = !0, re.current = !1, i && xe.current !== -1 && Je && Be.current !== "mouse" && Be.current !== "touch" ? Nr(N, Qe[xe.current], "blur") : i && w && Ae !== "" ? Nr(N, Ae, "blur", "freeSolo") : s && nt(N, _, "blur"), Sr(N, "blur");
|
|
11923
11923
|
}, Ts = (N) => {
|
|
11924
11924
|
const U = N.target.value, ae = Ae !== U;
|
|
11925
|
-
ae && (At(U), je.current = !1, L && L(N, U, "input")), U === "" ? !f && !m && !F &&
|
|
11925
|
+
ae && (At(U), je.current = !1, L && L(N, U, "input")), U === "" ? !f && !m && !F && Bt(N, null, "clear") : Wt(N), ae && wt(!1);
|
|
11926
11926
|
}, Zo = (N) => {
|
|
11927
11927
|
const U = Number(N.currentTarget.getAttribute("data-option-index"));
|
|
11928
11928
|
xe.current !== U ? Ut({
|
|
@@ -11940,9 +11940,9 @@ function D2(e) {
|
|
|
11940
11940
|
Nr(N, Qe[Number(N.currentTarget.getAttribute("data-option-index"))], "selectOption"), Le.current = !1;
|
|
11941
11941
|
}, ur = (N) => (U) => {
|
|
11942
11942
|
const ae = _.slice();
|
|
11943
|
-
ae.splice(N, 1),
|
|
11943
|
+
ae.splice(N, 1), Bt(U, ae, "removeOption", { option: _[N] });
|
|
11944
11944
|
}, Ii = (N) => {
|
|
11945
|
-
|
|
11945
|
+
Bt(N, null, "removeOption", { option: _ });
|
|
11946
11946
|
}, Gn = (N) => {
|
|
11947
11947
|
ut ? Sr(N, "toggleInput") : Wt(N);
|
|
11948
11948
|
}, Ti = (N) => {
|
|
@@ -14169,9 +14169,9 @@ var Ee = ve("MuiAutocomplete", [
|
|
|
14169
14169
|
_t,
|
|
14170
14170
|
Sr
|
|
14171
14171
|
]);
|
|
14172
|
-
const
|
|
14172
|
+
const Bt = I.useRef([]), Nr = I.useRef(!1), _r = ht ? Wt : Bt.current;
|
|
14173
14173
|
Pr(() => {
|
|
14174
|
-
ht && !Nr.current && (
|
|
14174
|
+
ht && !Nr.current && (Bt.current = []), Nr.current = ht, ht && Wt.length > 0 && (Bt.current = Wt);
|
|
14175
14175
|
}, [ht, Wt]);
|
|
14176
14176
|
const go = !E && !C && et && !Pe, ho = (!P || R === !0) && R !== !1, { onMouseDown: Si } = Je(), { ref: wi, ...Hn } = at(), Zo = Q || ((Oe) => Oe.label ?? Oe), it = {
|
|
14177
14177
|
...n,
|
|
@@ -15330,7 +15330,7 @@ process.env.NODE_ENV !== "production" && (Ci.propTypes = {
|
|
|
15330
15330
|
"standard"
|
|
15331
15331
|
])
|
|
15332
15332
|
});
|
|
15333
|
-
var Mv = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */ d(
|
|
15333
|
+
var Mv = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */ d(Ot, {
|
|
15334
15334
|
width: "8",
|
|
15335
15335
|
height: "8",
|
|
15336
15336
|
viewBox: "0 0 8 8",
|
|
@@ -15451,7 +15451,7 @@ var Mv = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
15451
15451
|
})] })]
|
|
15452
15452
|
}))
|
|
15453
15453
|
});
|
|
15454
|
-
}, No = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */ d(
|
|
15454
|
+
}, No = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */ d(Ot, {
|
|
15455
15455
|
fontSize: t,
|
|
15456
15456
|
height: 24,
|
|
15457
15457
|
width: 24,
|
|
@@ -18857,7 +18857,7 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
18857
18857
|
variant: "outlined"
|
|
18858
18858
|
},
|
|
18859
18859
|
style: ({ theme: e }) => {
|
|
18860
|
-
const t =
|
|
18860
|
+
const t = Tt(e.palette.text.primary, e.palette.action.hoverOpacity);
|
|
18861
18861
|
return {
|
|
18862
18862
|
"&:hover": {
|
|
18863
18863
|
backgroundColor: e.palette.tertiary.main,
|
|
@@ -18874,7 +18874,9 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
18874
18874
|
style: {
|
|
18875
18875
|
fontSize: Fe(13),
|
|
18876
18876
|
letterSpacing: -0.3,
|
|
18877
|
-
minHeight: 40
|
|
18877
|
+
minHeight: 40,
|
|
18878
|
+
paddingLeft: "20px",
|
|
18879
|
+
paddingRight: "20px"
|
|
18878
18880
|
}
|
|
18879
18881
|
},
|
|
18880
18882
|
{
|
|
@@ -18899,7 +18901,7 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
18899
18901
|
variant: "contained"
|
|
18900
18902
|
},
|
|
18901
18903
|
style: ({ theme: e }) => {
|
|
18902
|
-
const t =
|
|
18904
|
+
const t = Tt(e.palette.text.primary, e.palette.action.hoverOpacity);
|
|
18903
18905
|
return {
|
|
18904
18906
|
"&:hover": {
|
|
18905
18907
|
backgroundColor: e.palette.grey.A100,
|
|
@@ -18910,6 +18912,25 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
18910
18912
|
};
|
|
18911
18913
|
}
|
|
18912
18914
|
},
|
|
18915
|
+
{
|
|
18916
|
+
props: {
|
|
18917
|
+
color: "contrast",
|
|
18918
|
+
variant: "outlined"
|
|
18919
|
+
},
|
|
18920
|
+
style: ({ theme: e }) => {
|
|
18921
|
+
const t = Tt(e.palette.text.primary, e.palette.action.hoverOpacity);
|
|
18922
|
+
return {
|
|
18923
|
+
"&:hover": {
|
|
18924
|
+
backgroundColor: e.palette.grey.A100,
|
|
18925
|
+
backgroundImage: `linear-gradient(${t}, ${t})`,
|
|
18926
|
+
borderColor: e.palette.text.disabled
|
|
18927
|
+
},
|
|
18928
|
+
backgroundColor: e.palette.grey.A100,
|
|
18929
|
+
borderColor: e.palette.divider,
|
|
18930
|
+
color: e.palette.text.primary
|
|
18931
|
+
};
|
|
18932
|
+
}
|
|
18933
|
+
},
|
|
18913
18934
|
{
|
|
18914
18935
|
props: { variant: "link" },
|
|
18915
18936
|
style: ({ theme: e, ownerState: t }) => {
|
|
@@ -18918,7 +18939,7 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
18918
18939
|
"&:hover": {
|
|
18919
18940
|
backgroundColor: "transparent",
|
|
18920
18941
|
textDecoration: "underline",
|
|
18921
|
-
textDecorationColor:
|
|
18942
|
+
textDecorationColor: Tt(r || e.palette.primary.main, 0.4)
|
|
18922
18943
|
},
|
|
18923
18944
|
color: r,
|
|
18924
18945
|
fontWeight: "inherit",
|
|
@@ -19144,7 +19165,7 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
19144
19165
|
}, {
|
|
19145
19166
|
props: { variant: "outlined" },
|
|
19146
19167
|
style: ({ theme: e }) => {
|
|
19147
|
-
const { common: t } = e.palette, r =
|
|
19168
|
+
const { common: t } = e.palette, r = Tt(t.white, +_i(1));
|
|
19148
19169
|
return { backgroundImage: `linear-gradient(${r}, ${r})` };
|
|
19149
19170
|
}
|
|
19150
19171
|
}]
|
|
@@ -19302,7 +19323,7 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
19302
19323
|
transform: "translateY(-50%)",
|
|
19303
19324
|
width: 20
|
|
19304
19325
|
},
|
|
19305
|
-
backgroundColor:
|
|
19326
|
+
backgroundColor: Tt(e.palette.secondary.main, 0.08),
|
|
19306
19327
|
borderColor: e.palette.secondary.main
|
|
19307
19328
|
},
|
|
19308
19329
|
backgroundColor: "transparent",
|
|
@@ -19515,7 +19536,7 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
19515
19536
|
style: ({ theme: e }) => {
|
|
19516
19537
|
const t = encodeURIComponent(e.palette.action.active);
|
|
19517
19538
|
return { "& .MuiInputBase-input::-webkit-search-cancel-button": {
|
|
19518
|
-
"&:hover": { backgroundColor:
|
|
19539
|
+
"&:hover": { backgroundColor: Tt(e.palette.action.active, e.palette.action.hoverOpacity) },
|
|
19519
19540
|
backgroundImage: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z' fill='${t}'%3E%3C/path%3E%3C/svg%3E")`,
|
|
19520
19541
|
backgroundPosition: "center",
|
|
19521
19542
|
backgroundRepeat: "no-repeat",
|
|
@@ -19533,7 +19554,7 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
19533
19554
|
},
|
|
19534
19555
|
MuiToggleButton: {
|
|
19535
19556
|
styleOverrides: { root: ({ theme: e, ownerState: t }) => ({
|
|
19536
|
-
"&.Mui-selected": { ...t.color && t.color !== "standard" && { backgroundColor:
|
|
19557
|
+
"&.Mui-selected": { ...t.color && t.color !== "standard" && { backgroundColor: Tt(e.palette[t.color].main, 0.12) } },
|
|
19537
19558
|
borderRadius: e.shape.borderRadius,
|
|
19538
19559
|
padding: "8px 11px"
|
|
19539
19560
|
}) },
|
|
@@ -19654,7 +19675,7 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
19654
19675
|
letterSpacing: -0.3
|
|
19655
19676
|
}
|
|
19656
19677
|
})
|
|
19657
|
-
}, Ll = Wl(Oo(Ss)), Bp = Wl(Oo(Ss, EA)), Pp = Wl(Oo(Ss,
|
|
19678
|
+
}, Ll = Wl(Oo(Ss)), Bp = Wl(Oo(Ss, EA)), Pp = Wl(Oo(Ss, Rt)), TC = {
|
|
19658
19679
|
commonTheme: Ll,
|
|
19659
19680
|
darkTheme: Pp,
|
|
19660
19681
|
lightTheme: Bp
|
|
@@ -19754,7 +19775,7 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
19754
19775
|
}, ud = "en", wy = (e) => e in fa, Iy = () => {
|
|
19755
19776
|
const { language: e } = lr(Dp), t = wy(e) ? fa[e] : fa[ud];
|
|
19756
19777
|
return { t: (n) => t[n] ?? fa[ud][n] ?? n };
|
|
19757
|
-
}, xi = Iy, rn = (e) => `linear-gradient(${
|
|
19778
|
+
}, xi = Iy, rn = (e) => `linear-gradient(${Tt("#fff", +_i(e))}, ${Tt("#fff", +_i(e))})`, dd = 56, Ty = { viewMode: "soren-planning-timeline-view-mode" }, Ry = [
|
|
19758
19779
|
"day",
|
|
19759
19780
|
"week",
|
|
19760
19781
|
"month",
|
|
@@ -20112,8 +20133,8 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
20112
20133
|
"primary",
|
|
20113
20134
|
"secondary"
|
|
20114
20135
|
], By = (e) => ky.includes(e), Py = ({ color: e, sx: t, variant: r = "filled", fontSize: n = "medium", ...a }, i) => {
|
|
20115
|
-
const { palette: l } = pt(), s = l.mode === "dark" ? l.text.disabled : l.grey[400], u = e || s, c = By(e) ? l?.[e]?.main : u, p =
|
|
20116
|
-
return /* @__PURE__ */ M(
|
|
20136
|
+
const { palette: l } = pt(), s = l.mode === "dark" ? l.text.disabled : l.grey[400], u = e || s, c = By(e) ? l?.[e]?.main : u, p = Tt(c, 0.2);
|
|
20137
|
+
return /* @__PURE__ */ M(Ot, {
|
|
20117
20138
|
...a,
|
|
20118
20139
|
viewBox: "0 0 16 16",
|
|
20119
20140
|
ref: i,
|
|
@@ -20142,7 +20163,7 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
20142
20163
|
fill: "transparent"
|
|
20143
20164
|
})]
|
|
20144
20165
|
});
|
|
20145
|
-
}, Dy = Ct(Py), Aa = Dy, My = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */ d(
|
|
20166
|
+
}, Dy = Ct(Py), Aa = Dy, My = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */ d(Ot, {
|
|
20146
20167
|
width: "12",
|
|
20147
20168
|
height: "12",
|
|
20148
20169
|
viewBox: "0 0 12 12",
|
|
@@ -20155,7 +20176,7 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
20155
20176
|
fill: r,
|
|
20156
20177
|
fillOpacity: "0.54"
|
|
20157
20178
|
})
|
|
20158
|
-
}), ws = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */ d(
|
|
20179
|
+
}), ws = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */ d(Ot, {
|
|
20159
20180
|
width: "16",
|
|
20160
20181
|
height: "16",
|
|
20161
20182
|
viewBox: "0 0 16 16",
|
|
@@ -20746,12 +20767,12 @@ var vb = (e) => /* @__PURE__ */ M(yt, {
|
|
|
20746
20767
|
size: "small",
|
|
20747
20768
|
sx: {
|
|
20748
20769
|
"&:hover": {
|
|
20749
|
-
backgroundColor:
|
|
20750
|
-
opacity:
|
|
20770
|
+
backgroundColor: Rt?.palette?.primary?.dark,
|
|
20771
|
+
opacity: Rt?.palette?.primary?.dark
|
|
20751
20772
|
},
|
|
20752
|
-
backgroundColor:
|
|
20753
|
-
borderColor:
|
|
20754
|
-
color:
|
|
20773
|
+
backgroundColor: Rt?.palette.primary.main,
|
|
20774
|
+
borderColor: Rt?.palette.primary.main,
|
|
20775
|
+
color: Rt?.palette?.text?.contrast,
|
|
20755
20776
|
...e
|
|
20756
20777
|
},
|
|
20757
20778
|
...t
|
|
@@ -21257,7 +21278,7 @@ function LC({ label: e, value: t, onChange: r, checked: n, onCheckedChange: a, o
|
|
|
21257
21278
|
]
|
|
21258
21279
|
})] });
|
|
21259
21280
|
}
|
|
21260
|
-
var zy = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */ M(
|
|
21281
|
+
var zy = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */ M(Ot, {
|
|
21261
21282
|
width: "40",
|
|
21262
21283
|
height: "40",
|
|
21263
21284
|
viewBox: "0 0 40 40",
|
|
@@ -21413,7 +21434,7 @@ var zy = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
21413
21434
|
},
|
|
21414
21435
|
size: "small",
|
|
21415
21436
|
"aria-label": "increment",
|
|
21416
|
-
children: /* @__PURE__ */ d(
|
|
21437
|
+
children: /* @__PURE__ */ d(Ot, {
|
|
21417
21438
|
viewBox: "0 0 24 24",
|
|
21418
21439
|
children: /* @__PURE__ */ d("path", { d: "M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z" })
|
|
21419
21440
|
})
|
|
@@ -21429,7 +21450,7 @@ var zy = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
21429
21450
|
disabled: t === n || t === 0,
|
|
21430
21451
|
size: "small",
|
|
21431
21452
|
"aria-label": "decrement",
|
|
21432
|
-
children: /* @__PURE__ */ d(
|
|
21453
|
+
children: /* @__PURE__ */ d(Ot, {
|
|
21433
21454
|
viewBox: "0 0 24 24",
|
|
21434
21455
|
children: /* @__PURE__ */ d("path", { d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1z" })
|
|
21435
21456
|
})
|
|
@@ -21472,12 +21493,12 @@ var zy = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
21472
21493
|
ref: a,
|
|
21473
21494
|
sx: {
|
|
21474
21495
|
"& .MuiInputBase-root": {
|
|
21475
|
-
"&:hover .MuiOutlinedInput-notchedOutline": { borderColor:
|
|
21476
|
-
backgroundColor:
|
|
21477
|
-
color:
|
|
21496
|
+
"&:hover .MuiOutlinedInput-notchedOutline": { borderColor: Rt?.palette?.primary?.light },
|
|
21497
|
+
backgroundColor: Rt?.palette?.grey?.["50"],
|
|
21498
|
+
color: Rt?.palette?.text?.primary
|
|
21478
21499
|
},
|
|
21479
|
-
"& .MuiOutlinedInput-notchedOutline": { borderColor:
|
|
21480
|
-
"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline": { borderColor:
|
|
21500
|
+
"& .MuiOutlinedInput-notchedOutline": { borderColor: Tt(Rt?.palette?.border?.outline, 0.23) },
|
|
21501
|
+
"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline": { borderColor: Rt?.palette?.primary?.main },
|
|
21481
21502
|
maxWidth: 400,
|
|
21482
21503
|
...e,
|
|
21483
21504
|
"input[type='search']::-webkit-search-cancel-button": { filter: ({ palette: i }) => i?.mode === "light" ? "invert(1)" : "invert(0)" }
|
|
@@ -21488,7 +21509,7 @@ var zy = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
21488
21509
|
autoComplete: "off",
|
|
21489
21510
|
startAdornment: r === "search" && /* @__PURE__ */ d(Do, {
|
|
21490
21511
|
position: "start",
|
|
21491
|
-
children: /* @__PURE__ */ d(
|
|
21512
|
+
children: /* @__PURE__ */ d(Ot, {
|
|
21492
21513
|
focusable: "false",
|
|
21493
21514
|
"aria-hidden": "true",
|
|
21494
21515
|
viewBox: "0 0 24 24",
|
|
@@ -21576,7 +21597,7 @@ var zy = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
21576
21597
|
...e
|
|
21577
21598
|
}
|
|
21578
21599
|
});
|
|
21579
|
-
}), a6 = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */ d(
|
|
21600
|
+
}), a6 = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */ d(Ot, {
|
|
21580
21601
|
width: "24",
|
|
21581
21602
|
height: "24",
|
|
21582
21603
|
viewBox: "0 0 24 24",
|
|
@@ -21588,7 +21609,7 @@ var zy = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
21588
21609
|
d: "M12 4.5C7 4.5 2.73 7.61 1 12C2.73 16.39 7 19.5 12 19.5C17 19.5 21.27 16.39 23 12C21.27 7.61 17 4.5 12 4.5ZM12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z",
|
|
21589
21610
|
fill: r
|
|
21590
21611
|
})
|
|
21591
|
-
}), i6 = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */ d(
|
|
21612
|
+
}), i6 = ({ sx: e, fontSize: t, color: r = "currentColor" }) => /* @__PURE__ */ d(Ot, {
|
|
21592
21613
|
width: "24",
|
|
21593
21614
|
height: "24",
|
|
21594
21615
|
viewBox: "0 0 24 24",
|
|
@@ -21652,7 +21673,7 @@ var zy = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
21652
21673
|
})]
|
|
21653
21674
|
})]
|
|
21654
21675
|
});
|
|
21655
|
-
}, WC = s6, Mp = ({ color: e = "currentColor" }) => /* @__PURE__ */ d(
|
|
21676
|
+
}, WC = s6, Mp = ({ color: e = "currentColor" }) => /* @__PURE__ */ d(Ot, {
|
|
21656
21677
|
focusable: "false",
|
|
21657
21678
|
"aria-hidden": "true",
|
|
21658
21679
|
viewBox: "0 0 24 24",
|
|
@@ -21684,7 +21705,7 @@ var zy = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
21684
21705
|
})
|
|
21685
21706
|
})
|
|
21686
21707
|
});
|
|
21687
|
-
}, c6 = d6, p6 = ({ sx: e, color: t = "currentColor" }) => /* @__PURE__ */ d(
|
|
21708
|
+
}, c6 = d6, p6 = ({ sx: e, color: t = "currentColor" }) => /* @__PURE__ */ d(Ot, {
|
|
21688
21709
|
width: "16",
|
|
21689
21710
|
height: "16",
|
|
21690
21711
|
viewBox: "0 0 16 16",
|
|
@@ -21950,7 +21971,7 @@ var zy = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
21950
21971
|
position: "absolute",
|
|
21951
21972
|
right: -20,
|
|
21952
21973
|
top: -12
|
|
21953
|
-
}, g6 = ({ expanded: e }) => /* @__PURE__ */ d(
|
|
21974
|
+
}, g6 = ({ expanded: e }) => /* @__PURE__ */ d(Ot, {
|
|
21954
21975
|
fontSize: "small",
|
|
21955
21976
|
viewBox: "0 0 24 24",
|
|
21956
21977
|
sx: {
|
|
@@ -22221,8 +22242,8 @@ var zy = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22221
22242
|
textDecoration: "none",
|
|
22222
22243
|
width: "100%"
|
|
22223
22244
|
},
|
|
22224
|
-
"& > a.active": { backgroundColor: ({ palette: P }) =>
|
|
22225
|
-
"& > a.active:hover": { backgroundColor: ({ palette: P }) =>
|
|
22245
|
+
"& > a.active": { backgroundColor: ({ palette: P }) => Tt(P.primary.main, P.action.selectedOpacity) },
|
|
22246
|
+
"& > a.active:hover": { backgroundColor: ({ palette: P }) => Tt(P.primary.main, P.action.selectedOpacity + P.action.hoverOpacity) },
|
|
22226
22247
|
overflow: "hidden",
|
|
22227
22248
|
padding: "0 !important"
|
|
22228
22249
|
},
|