@mdtl/uikit 0.0.64 → 0.0.66
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/uikit.js +146 -141
- package/package.json +1 -1
package/dist/uikit.js
CHANGED
|
@@ -1207,13 +1207,13 @@ function Ce(e, t, n = void 0) {
|
|
|
1207
1207
|
}
|
|
1208
1208
|
return r;
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1210
|
+
function Ho(e, ...t) {
|
|
1211
1211
|
const n = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
1212
1212
|
return t.forEach((r) => n.searchParams.append("args[]", r)), `Minified MUI error #${e}; visit ${n} for the full message.`;
|
|
1213
1213
|
}
|
|
1214
1214
|
function j(e) {
|
|
1215
1215
|
if (typeof e != "string")
|
|
1216
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." :
|
|
1216
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Ho(7));
|
|
1217
1217
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1218
1218
|
}
|
|
1219
1219
|
var si = { exports: {} }, st = {};
|
|
@@ -1351,14 +1351,14 @@ function mf() {
|
|
|
1351
1351
|
return fl || (fl = 1, process.env.NODE_ENV === "production" ? si.exports = /* @__PURE__ */ ff() : si.exports = /* @__PURE__ */ hf()), si.exports;
|
|
1352
1352
|
}
|
|
1353
1353
|
var Oi = /* @__PURE__ */ mf();
|
|
1354
|
-
function
|
|
1354
|
+
function zo(e) {
|
|
1355
1355
|
if (typeof e != "object" || e === null)
|
|
1356
1356
|
return !1;
|
|
1357
1357
|
const t = Object.getPrototypeOf(e);
|
|
1358
1358
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
1359
1359
|
}
|
|
1360
1360
|
function sd(e) {
|
|
1361
|
-
if (/* @__PURE__ */ y.isValidElement(e) || Oi.isValidElementType(e) || !
|
|
1361
|
+
if (/* @__PURE__ */ y.isValidElement(e) || Oi.isValidElementType(e) || !zo(e))
|
|
1362
1362
|
return e;
|
|
1363
1363
|
const t = {};
|
|
1364
1364
|
return Object.keys(e).forEach((n) => {
|
|
@@ -1371,9 +1371,9 @@ function Qt(e, t, n = {
|
|
|
1371
1371
|
const r = n.clone ? {
|
|
1372
1372
|
...e
|
|
1373
1373
|
} : e;
|
|
1374
|
-
return
|
|
1375
|
-
/* @__PURE__ */ y.isValidElement(t[i]) || Oi.isValidElementType(t[i]) ? r[i] = t[i] :
|
|
1376
|
-
Object.prototype.hasOwnProperty.call(e, i) &&
|
|
1374
|
+
return zo(e) && zo(t) && Object.keys(t).forEach((i) => {
|
|
1375
|
+
/* @__PURE__ */ y.isValidElement(t[i]) || Oi.isValidElementType(t[i]) ? r[i] = t[i] : zo(t[i]) && // Avoid prototype pollution
|
|
1376
|
+
Object.prototype.hasOwnProperty.call(e, i) && zo(e[i]) ? r[i] = Qt(e[i], t[i], n) : n.clone ? r[i] = zo(t[i]) ? sd(t[i]) : t[i] : r[i] = t[i];
|
|
1377
1377
|
}), r;
|
|
1378
1378
|
}
|
|
1379
1379
|
function Pr(e, t) {
|
|
@@ -1405,7 +1405,7 @@ function bf(e, t) {
|
|
|
1405
1405
|
if (!n) {
|
|
1406
1406
|
if (process.env.NODE_ENV !== "production")
|
|
1407
1407
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
1408
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` :
|
|
1408
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : Ho(18, `(${t})`));
|
|
1409
1409
|
return null;
|
|
1410
1410
|
}
|
|
1411
1411
|
const [, r, i] = n, a = Number.isNaN(+r) ? r || 0 : +r;
|
|
@@ -2144,7 +2144,7 @@ function lh(e) {
|
|
|
2144
2144
|
let a;
|
|
2145
2145
|
return Array.isArray(t) ? a = [r, ...t] : typeof t == "function" ? a = (...s) => {
|
|
2146
2146
|
const l = t(...s);
|
|
2147
|
-
return
|
|
2147
|
+
return zo(l) ? {
|
|
2148
2148
|
...r,
|
|
2149
2149
|
...l
|
|
2150
2150
|
} : r;
|
|
@@ -2176,12 +2176,12 @@ function pn(e) {
|
|
|
2176
2176
|
const t = e.indexOf("("), n = e.substring(0, t);
|
|
2177
2177
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(n))
|
|
2178
2178
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
2179
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` :
|
|
2179
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Ho(9, e));
|
|
2180
2180
|
let r = e.substring(t + 1, e.length - 1), i;
|
|
2181
2181
|
if (n === "color") {
|
|
2182
2182
|
if (r = r.split(" "), i = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(i))
|
|
2183
2183
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${i}\` color space.
|
|
2184
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` :
|
|
2184
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Ho(10, i));
|
|
2185
2185
|
} else
|
|
2186
2186
|
r = r.split(",");
|
|
2187
2187
|
return r = r.map((a) => parseFloat(a)), {
|
|
@@ -2509,7 +2509,7 @@ function ds(e) {
|
|
|
2509
2509
|
...p
|
|
2510
2510
|
}, !p.main && p[S] && (p.main = p[S]), !p.hasOwnProperty("main"))
|
|
2511
2511
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${C ? ` (${C})` : ""} provided to augmentColor(color) is invalid.
|
|
2512
|
-
The color object needs to have a \`main\` property or a \`${S}\` property.` :
|
|
2512
|
+
The color object needs to have a \`main\` property or a \`${S}\` property.` : Ho(11, C ? ` (${C})` : "", S));
|
|
2513
2513
|
if (typeof p.main != "string")
|
|
2514
2514
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${C ? ` (${C})` : ""} provided to augmentColor(color) is invalid.
|
|
2515
2515
|
\`color.main\` should be a string, but \`${JSON.stringify(p.main)}\` was provided instead.
|
|
@@ -2524,7 +2524,7 @@ const theme1 = createTheme({ palette: {
|
|
|
2524
2524
|
|
|
2525
2525
|
const theme2 = createTheme({ palette: {
|
|
2526
2526
|
primary: { main: green[500] },
|
|
2527
|
-
} });` :
|
|
2527
|
+
} });` : Ho(12, C ? ` (${C})` : "", JSON.stringify(p.main)));
|
|
2528
2528
|
return xl(p, "light", O, r), xl(p, "dark", w, r), p.contrastText || (p.contrastText = h(p.main)), p;
|
|
2529
2529
|
};
|
|
2530
2530
|
let v;
|
|
@@ -3367,7 +3367,7 @@ const rm = {
|
|
|
3367
3367
|
tooltip: 1500
|
|
3368
3368
|
};
|
|
3369
3369
|
function im(e) {
|
|
3370
|
-
return
|
|
3370
|
+
return zo(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
3371
3371
|
}
|
|
3372
3372
|
function bd(e = {}) {
|
|
3373
3373
|
const t = {
|
|
@@ -3377,7 +3377,7 @@ function bd(e = {}) {
|
|
|
3377
3377
|
const i = Object.entries(r);
|
|
3378
3378
|
for (let a = 0; a < i.length; a++) {
|
|
3379
3379
|
const [s, l] = i[a];
|
|
3380
|
-
!im(l) || s.startsWith("unstable_") ? delete r[s] :
|
|
3380
|
+
!im(l) || s.startsWith("unstable_") ? delete r[s] : zo(l) && (r[s] = {
|
|
3381
3381
|
...l
|
|
3382
3382
|
}, n(r[s]));
|
|
3383
3383
|
}
|
|
@@ -3405,7 +3405,7 @@ function Ha(e = {}, ...t) {
|
|
|
3405
3405
|
if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
3406
3406
|
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
3407
3407
|
e.generateThemeVars === void 0)
|
|
3408
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." :
|
|
3408
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : Ho(20));
|
|
3409
3409
|
const u = ds(a), h = hd(e);
|
|
3410
3410
|
let g = Qt(h, {
|
|
3411
3411
|
mixins: Gh(h.breakpoints, r),
|
|
@@ -3552,7 +3552,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
3552
3552
|
function pm(e) {
|
|
3553
3553
|
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
3554
3554
|
}
|
|
3555
|
-
const
|
|
3555
|
+
const Bo = (e) => {
|
|
3556
3556
|
try {
|
|
3557
3557
|
return e();
|
|
3558
3558
|
} catch {
|
|
@@ -3615,7 +3615,7 @@ function hm(e = {}, ...t) {
|
|
|
3615
3615
|
};
|
|
3616
3616
|
let O = v;
|
|
3617
3617
|
if ((h === "dark" && !("dark" in n) || h === "light" && !("light" in n)) && (O = !0), !O)
|
|
3618
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${h}\` option is either missing or invalid.` :
|
|
3618
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${h}\` option is either missing or invalid.` : Ho(21, h));
|
|
3619
3619
|
const w = Ea(S, O, d, h);
|
|
3620
3620
|
b && !S.light && Ea(S, b, void 0, "light"), p && !S.dark && Ea(S, p, void 0, "dark");
|
|
3621
3621
|
let x = {
|
|
@@ -3638,14 +3638,14 @@ function hm(e = {}, ...t) {
|
|
|
3638
3638
|
return g(k, m[B][L]);
|
|
3639
3639
|
};
|
|
3640
3640
|
if (m.mode === "light" && (q(m.common, "background", "#fff"), q(m.common, "onBackground", "#000")), m.mode === "dark" && (q(m.common, "background", "#000"), q(m.common, "onBackground", "#fff")), um(m, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), m.mode === "light") {
|
|
3641
|
-
q(m.Alert, "errorColor", ft(m.error.light, 0.6)), q(m.Alert, "infoColor", ft(m.info.light, 0.6)), q(m.Alert, "successColor", ft(m.success.light, 0.6)), q(m.Alert, "warningColor", ft(m.warning.light, 0.6)), q(m.Alert, "errorFilledBg", I("palette-error-main")), q(m.Alert, "infoFilledBg", I("palette-info-main")), q(m.Alert, "successFilledBg", I("palette-success-main")), q(m.Alert, "warningFilledBg", I("palette-warning-main")), q(m.Alert, "errorFilledColor",
|
|
3641
|
+
q(m.Alert, "errorColor", ft(m.error.light, 0.6)), q(m.Alert, "infoColor", ft(m.info.light, 0.6)), q(m.Alert, "successColor", ft(m.success.light, 0.6)), q(m.Alert, "warningColor", ft(m.warning.light, 0.6)), q(m.Alert, "errorFilledBg", I("palette-error-main")), q(m.Alert, "infoFilledBg", I("palette-info-main")), q(m.Alert, "successFilledBg", I("palette-success-main")), q(m.Alert, "warningFilledBg", I("palette-warning-main")), q(m.Alert, "errorFilledColor", Bo(() => m.getContrastText(m.error.main))), q(m.Alert, "infoFilledColor", Bo(() => m.getContrastText(m.info.main))), q(m.Alert, "successFilledColor", Bo(() => m.getContrastText(m.success.main))), q(m.Alert, "warningFilledColor", Bo(() => m.getContrastText(m.warning.main))), q(m.Alert, "errorStandardBg", ht(m.error.light, 0.9)), q(m.Alert, "infoStandardBg", ht(m.info.light, 0.9)), q(m.Alert, "successStandardBg", ht(m.success.light, 0.9)), q(m.Alert, "warningStandardBg", ht(m.warning.light, 0.9)), q(m.Alert, "errorIconColor", I("palette-error-main")), q(m.Alert, "infoIconColor", I("palette-info-main")), q(m.Alert, "successIconColor", I("palette-success-main")), q(m.Alert, "warningIconColor", I("palette-warning-main")), q(m.AppBar, "defaultBg", I("palette-grey-100")), q(m.Avatar, "defaultBg", I("palette-grey-400")), q(m.Button, "inheritContainedBg", I("palette-grey-300")), q(m.Button, "inheritContainedHoverBg", I("palette-grey-A100")), q(m.Chip, "defaultBorder", I("palette-grey-400")), q(m.Chip, "defaultAvatarColor", I("palette-grey-700")), q(m.Chip, "defaultIconColor", I("palette-grey-700")), q(m.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), q(m.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), q(m.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), q(m.LinearProgress, "primaryBg", ht(m.primary.main, 0.62)), q(m.LinearProgress, "secondaryBg", ht(m.secondary.main, 0.62)), q(m.LinearProgress, "errorBg", ht(m.error.main, 0.62)), q(m.LinearProgress, "infoBg", ht(m.info.main, 0.62)), q(m.LinearProgress, "successBg", ht(m.success.main, 0.62)), q(m.LinearProgress, "warningBg", ht(m.warning.main, 0.62)), q(m.Skeleton, "bg", `rgba(${I("palette-text-primaryChannel")} / 0.11)`), q(m.Slider, "primaryTrack", ht(m.primary.main, 0.62)), q(m.Slider, "secondaryTrack", ht(m.secondary.main, 0.62)), q(m.Slider, "errorTrack", ht(m.error.main, 0.62)), q(m.Slider, "infoTrack", ht(m.info.main, 0.62)), q(m.Slider, "successTrack", ht(m.success.main, 0.62)), q(m.Slider, "warningTrack", ht(m.warning.main, 0.62));
|
|
3642
3642
|
const k = ci(m.background.default, 0.8);
|
|
3643
|
-
q(m.SnackbarContent, "bg", k), q(m.SnackbarContent, "color",
|
|
3643
|
+
q(m.SnackbarContent, "bg", k), q(m.SnackbarContent, "color", Bo(() => m.getContrastText(k))), q(m.SpeedDialAction, "fabHoverBg", ci(m.background.paper, 0.15)), q(m.StepConnector, "border", I("palette-grey-400")), q(m.StepContent, "border", I("palette-grey-400")), q(m.Switch, "defaultColor", I("palette-common-white")), q(m.Switch, "defaultDisabledColor", I("palette-grey-100")), q(m.Switch, "primaryDisabledColor", ht(m.primary.main, 0.62)), q(m.Switch, "secondaryDisabledColor", ht(m.secondary.main, 0.62)), q(m.Switch, "errorDisabledColor", ht(m.error.main, 0.62)), q(m.Switch, "infoDisabledColor", ht(m.info.main, 0.62)), q(m.Switch, "successDisabledColor", ht(m.success.main, 0.62)), q(m.Switch, "warningDisabledColor", ht(m.warning.main, 0.62)), q(m.TableCell, "border", ht(li(m.divider, 1), 0.88)), q(m.Tooltip, "bg", li(m.grey[700], 0.92));
|
|
3644
3644
|
}
|
|
3645
3645
|
if (m.mode === "dark") {
|
|
3646
|
-
q(m.Alert, "errorColor", ht(m.error.light, 0.6)), q(m.Alert, "infoColor", ht(m.info.light, 0.6)), q(m.Alert, "successColor", ht(m.success.light, 0.6)), q(m.Alert, "warningColor", ht(m.warning.light, 0.6)), q(m.Alert, "errorFilledBg", I("palette-error-dark")), q(m.Alert, "infoFilledBg", I("palette-info-dark")), q(m.Alert, "successFilledBg", I("palette-success-dark")), q(m.Alert, "warningFilledBg", I("palette-warning-dark")), q(m.Alert, "errorFilledColor",
|
|
3646
|
+
q(m.Alert, "errorColor", ht(m.error.light, 0.6)), q(m.Alert, "infoColor", ht(m.info.light, 0.6)), q(m.Alert, "successColor", ht(m.success.light, 0.6)), q(m.Alert, "warningColor", ht(m.warning.light, 0.6)), q(m.Alert, "errorFilledBg", I("palette-error-dark")), q(m.Alert, "infoFilledBg", I("palette-info-dark")), q(m.Alert, "successFilledBg", I("palette-success-dark")), q(m.Alert, "warningFilledBg", I("palette-warning-dark")), q(m.Alert, "errorFilledColor", Bo(() => m.getContrastText(m.error.dark))), q(m.Alert, "infoFilledColor", Bo(() => m.getContrastText(m.info.dark))), q(m.Alert, "successFilledColor", Bo(() => m.getContrastText(m.success.dark))), q(m.Alert, "warningFilledColor", Bo(() => m.getContrastText(m.warning.dark))), q(m.Alert, "errorStandardBg", ft(m.error.light, 0.9)), q(m.Alert, "infoStandardBg", ft(m.info.light, 0.9)), q(m.Alert, "successStandardBg", ft(m.success.light, 0.9)), q(m.Alert, "warningStandardBg", ft(m.warning.light, 0.9)), q(m.Alert, "errorIconColor", I("palette-error-main")), q(m.Alert, "infoIconColor", I("palette-info-main")), q(m.Alert, "successIconColor", I("palette-success-main")), q(m.Alert, "warningIconColor", I("palette-warning-main")), q(m.AppBar, "defaultBg", I("palette-grey-900")), q(m.AppBar, "darkBg", I("palette-background-paper")), q(m.AppBar, "darkColor", I("palette-text-primary")), q(m.Avatar, "defaultBg", I("palette-grey-600")), q(m.Button, "inheritContainedBg", I("palette-grey-800")), q(m.Button, "inheritContainedHoverBg", I("palette-grey-700")), q(m.Chip, "defaultBorder", I("palette-grey-700")), q(m.Chip, "defaultAvatarColor", I("palette-grey-300")), q(m.Chip, "defaultIconColor", I("palette-grey-300")), q(m.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), q(m.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), q(m.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), q(m.LinearProgress, "primaryBg", ft(m.primary.main, 0.5)), q(m.LinearProgress, "secondaryBg", ft(m.secondary.main, 0.5)), q(m.LinearProgress, "errorBg", ft(m.error.main, 0.5)), q(m.LinearProgress, "infoBg", ft(m.info.main, 0.5)), q(m.LinearProgress, "successBg", ft(m.success.main, 0.5)), q(m.LinearProgress, "warningBg", ft(m.warning.main, 0.5)), q(m.Skeleton, "bg", `rgba(${I("palette-text-primaryChannel")} / 0.13)`), q(m.Slider, "primaryTrack", ft(m.primary.main, 0.5)), q(m.Slider, "secondaryTrack", ft(m.secondary.main, 0.5)), q(m.Slider, "errorTrack", ft(m.error.main, 0.5)), q(m.Slider, "infoTrack", ft(m.info.main, 0.5)), q(m.Slider, "successTrack", ft(m.success.main, 0.5)), q(m.Slider, "warningTrack", ft(m.warning.main, 0.5));
|
|
3647
3647
|
const k = ci(m.background.default, 0.98);
|
|
3648
|
-
q(m.SnackbarContent, "bg", k), q(m.SnackbarContent, "color",
|
|
3648
|
+
q(m.SnackbarContent, "bg", k), q(m.SnackbarContent, "color", Bo(() => m.getContrastText(k))), q(m.SpeedDialAction, "fabHoverBg", ci(m.background.paper, 0.15)), q(m.StepConnector, "border", I("palette-grey-600")), q(m.StepContent, "border", I("palette-grey-600")), q(m.Switch, "defaultColor", I("palette-grey-300")), q(m.Switch, "defaultDisabledColor", I("palette-grey-600")), q(m.Switch, "primaryDisabledColor", ft(m.primary.main, 0.55)), q(m.Switch, "secondaryDisabledColor", ft(m.secondary.main, 0.55)), q(m.Switch, "errorDisabledColor", ft(m.error.main, 0.55)), q(m.Switch, "infoDisabledColor", ft(m.info.main, 0.55)), q(m.Switch, "successDisabledColor", ft(m.success.main, 0.55)), q(m.Switch, "warningDisabledColor", ft(m.warning.main, 0.55)), q(m.TableCell, "border", ft(li(m.divider, 1), 0.68)), q(m.Tooltip, "bg", li(m.grey[700], 0.92));
|
|
3649
3649
|
}
|
|
3650
3650
|
Go(m.background, "default"), Go(m.background, "paper"), Go(m.common, "background"), Go(m.common, "onBackground"), Go(m, "divider"), Object.keys(m).forEach((k) => {
|
|
3651
3651
|
const $ = m[k];
|
|
@@ -3883,7 +3883,7 @@ function xm(e = {}) {
|
|
|
3883
3883
|
return function(D) {
|
|
3884
3884
|
return wi(D, E, D.theme.modularCssLayers ? p : void 0);
|
|
3885
3885
|
};
|
|
3886
|
-
if (
|
|
3886
|
+
if (zo(E)) {
|
|
3887
3887
|
const M = gm(E);
|
|
3888
3888
|
return function(P) {
|
|
3889
3889
|
return M.variants ? wi(P, M, P.theme.modularCssLayers ? p : void 0) : P.theme.modularCssLayers ? On(M.style, p) : M.style;
|
|
@@ -5715,12 +5715,7 @@ const Im = (e) => /* @__PURE__ */ f(mt, { ...e, children: /* @__PURE__ */ f("svg
|
|
|
5715
5715
|
MuiToggleButton: ag,
|
|
5716
5716
|
MuiToggleButtonGroup: sg,
|
|
5717
5717
|
MuiAutocomplete: lg,
|
|
5718
|
-
MuiFormControlLabel: cg
|
|
5719
|
-
MuiButtonBase: {
|
|
5720
|
-
defaultProps: {
|
|
5721
|
-
disableRipple: !0
|
|
5722
|
-
}
|
|
5723
|
-
}
|
|
5718
|
+
MuiFormControlLabel: cg
|
|
5724
5719
|
},
|
|
5725
5720
|
shadows: [
|
|
5726
5721
|
"none",
|
|
@@ -10509,7 +10504,7 @@ const C2 = ({ tabs: e, activeTab: t, onChange: n }) => {
|
|
|
10509
10504
|
}
|
|
10510
10505
|
);
|
|
10511
10506
|
return /* @__PURE__ */ Q(pt, { sx: { width: "100%" }, children: [
|
|
10512
|
-
/* @__PURE__ */ f(Fd, { value: t, onChange: l, children: e.map((d) => /* @__PURE__ */ f(Wd, { label: c(d) }, `tab-${d.id}`)) }),
|
|
10507
|
+
/* @__PURE__ */ f(Fd, { value: t, onChange: l, children: e.map((d) => /* @__PURE__ */ f(Wd, { label: c(d), disableRipple: !0 }, `tab-${d.id}`)) }),
|
|
10513
10508
|
/* @__PURE__ */ f(Jo, {})
|
|
10514
10509
|
] });
|
|
10515
10510
|
};
|
|
@@ -11525,7 +11520,7 @@ class ry {
|
|
|
11525
11520
|
return this.modals.length > 0 && this.modals[this.modals.length - 1] === t;
|
|
11526
11521
|
}
|
|
11527
11522
|
}
|
|
11528
|
-
function
|
|
11523
|
+
function Uo(e, t, n, r, i) {
|
|
11529
11524
|
if (process.env.NODE_ENV === "production")
|
|
11530
11525
|
return null;
|
|
11531
11526
|
const a = e[t], s = i || t;
|
|
@@ -11764,7 +11759,7 @@ process.env.NODE_ENV !== "production" && (Br.propTypes = {
|
|
|
11764
11759
|
* By default, it uses the body of the top-level document object,
|
|
11765
11760
|
* so it's simply `document.body` most of the time.
|
|
11766
11761
|
*/
|
|
11767
|
-
container: o.oneOfType([
|
|
11762
|
+
container: o.oneOfType([Uo, o.func]),
|
|
11768
11763
|
/**
|
|
11769
11764
|
* The `children` will be under the DOM hierarchy of the parent component.
|
|
11770
11765
|
* @default false
|
|
@@ -12452,7 +12447,7 @@ process.env.NODE_ENV !== "production" && (Gr.propTypes = {
|
|
|
12452
12447
|
* By default, it uses the body of the top-level document object,
|
|
12453
12448
|
* so it's simply `document.body` most of the time.
|
|
12454
12449
|
*/
|
|
12455
|
-
container: o.oneOfType([
|
|
12450
|
+
container: o.oneOfType([Uo, o.func]),
|
|
12456
12451
|
/**
|
|
12457
12452
|
* If `true`, the modal will not automatically shift focus to itself when it opens, and
|
|
12458
12453
|
* replace it to the last focused element when it closes.
|
|
@@ -12626,7 +12621,7 @@ const Ey = (e) => {
|
|
|
12626
12621
|
backgroundImage: "var(--Paper-overlay)"
|
|
12627
12622
|
}
|
|
12628
12623
|
}]
|
|
12629
|
-
}))),
|
|
12624
|
+
}))), qo = /* @__PURE__ */ y.forwardRef(function(t, n) {
|
|
12630
12625
|
const r = Se({
|
|
12631
12626
|
props: t,
|
|
12632
12627
|
name: "MuiPaper"
|
|
@@ -12665,7 +12660,7 @@ const Ey = (e) => {
|
|
|
12665
12660
|
}
|
|
12666
12661
|
});
|
|
12667
12662
|
});
|
|
12668
|
-
process.env.NODE_ENV !== "production" && (
|
|
12663
|
+
process.env.NODE_ENV !== "production" && (qo.propTypes = {
|
|
12669
12664
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
12670
12665
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
12671
12666
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -12793,7 +12788,7 @@ const Py = H(vs, {
|
|
|
12793
12788
|
}
|
|
12794
12789
|
}
|
|
12795
12790
|
}]
|
|
12796
|
-
}), Ny = H(
|
|
12791
|
+
}), Ny = H(qo, {
|
|
12797
12792
|
name: "MuiDialog",
|
|
12798
12793
|
slot: "Paper",
|
|
12799
12794
|
overridesResolver: (e, t) => {
|
|
@@ -12907,7 +12902,7 @@ const Py = H(vs, {
|
|
|
12907
12902
|
onClick: S,
|
|
12908
12903
|
onClose: O,
|
|
12909
12904
|
open: w,
|
|
12910
|
-
PaperComponent: x =
|
|
12905
|
+
PaperComponent: x = qo,
|
|
12911
12906
|
PaperProps: T = {},
|
|
12912
12907
|
scroll: E = "paper",
|
|
12913
12908
|
slots: M = {},
|
|
@@ -13741,6 +13736,7 @@ const Gy = (e) => /* @__PURE__ */ f(mt, { ...e, children: /* @__PURE__ */ Q("svg
|
|
|
13741
13736
|
onClick: (t) => e.onClose(t, "close"),
|
|
13742
13737
|
size: "m",
|
|
13743
13738
|
color: "text",
|
|
13739
|
+
disableRipple: !0,
|
|
13744
13740
|
sx: {
|
|
13745
13741
|
position: "absolute",
|
|
13746
13742
|
right: 8,
|
|
@@ -13948,7 +13944,7 @@ var so = "top", Ro = "bottom", ko = "right", lo = "left", ws = "auto", Kr = [so,
|
|
|
13948
13944
|
}, []), eu = /* @__PURE__ */ [].concat(Kr, [ws]).reduce(function(e, t) {
|
|
13949
13945
|
return e.concat([t, t + "-" + tr, t + "-" + zr]);
|
|
13950
13946
|
}, []), ev = "beforeRead", tv = "read", ov = "afterRead", nv = "beforeMain", rv = "main", iv = "afterMain", av = "beforeWrite", sv = "write", lv = "afterWrite", cv = [ev, tv, ov, nv, rv, iv, av, sv, lv];
|
|
13951
|
-
function
|
|
13947
|
+
function Yo(e) {
|
|
13952
13948
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
13953
13949
|
}
|
|
13954
13950
|
function bo(e) {
|
|
@@ -13978,7 +13974,7 @@ function dv(e) {
|
|
|
13978
13974
|
var t = e.state;
|
|
13979
13975
|
Object.keys(t.elements).forEach(function(n) {
|
|
13980
13976
|
var r = t.styles[n] || {}, i = t.attributes[n] || {}, a = t.elements[n];
|
|
13981
|
-
!Oo(a) || !
|
|
13977
|
+
!Oo(a) || !Yo(a) || (Object.assign(a.style, r), Object.keys(i).forEach(function(s) {
|
|
13982
13978
|
var l = i[s];
|
|
13983
13979
|
l === !1 ? a.removeAttribute(s) : a.setAttribute(s, l === !0 ? "" : l);
|
|
13984
13980
|
}));
|
|
@@ -14002,7 +13998,7 @@ function uv(e) {
|
|
|
14002
13998
|
var i = t.elements[r], a = t.attributes[r] || {}, s = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : n[r]), l = s.reduce(function(c, d) {
|
|
14003
13999
|
return c[d] = "", c;
|
|
14004
14000
|
}, {});
|
|
14005
|
-
!Oo(i) || !
|
|
14001
|
+
!Oo(i) || !Yo(i) || (Object.assign(i.style, l), Object.keys(a).forEach(function(c) {
|
|
14006
14002
|
i.removeAttribute(c);
|
|
14007
14003
|
}));
|
|
14008
14004
|
});
|
|
@@ -14016,7 +14012,7 @@ const pv = {
|
|
|
14016
14012
|
effect: uv,
|
|
14017
14013
|
requires: ["computeStyles"]
|
|
14018
14014
|
};
|
|
14019
|
-
function
|
|
14015
|
+
function _o(e) {
|
|
14020
14016
|
return e.split("-")[0];
|
|
14021
14017
|
}
|
|
14022
14018
|
var Pn = Math.max, Ai = Math.min, or = Math.round;
|
|
@@ -14072,7 +14068,7 @@ function tn(e) {
|
|
|
14072
14068
|
return bo(e).getComputedStyle(e);
|
|
14073
14069
|
}
|
|
14074
14070
|
function fv(e) {
|
|
14075
|
-
return ["table", "td", "th"].indexOf(
|
|
14071
|
+
return ["table", "td", "th"].indexOf(Yo(e)) >= 0;
|
|
14076
14072
|
}
|
|
14077
14073
|
function yn(e) {
|
|
14078
14074
|
return ((Nn(e) ? e.ownerDocument : (
|
|
@@ -14081,7 +14077,7 @@ function yn(e) {
|
|
|
14081
14077
|
)) || window.document).documentElement;
|
|
14082
14078
|
}
|
|
14083
14079
|
function ta(e) {
|
|
14084
|
-
return
|
|
14080
|
+
return Yo(e) === "html" ? e : (
|
|
14085
14081
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
14086
14082
|
// $FlowFixMe[incompatible-return]
|
|
14087
14083
|
// $FlowFixMe[prop-missing]
|
|
@@ -14104,7 +14100,7 @@ function hv(e) {
|
|
|
14104
14100
|
return null;
|
|
14105
14101
|
}
|
|
14106
14102
|
var i = ta(e);
|
|
14107
|
-
for (Cs(i) && (i = i.host); Oo(i) && ["html", "body"].indexOf(
|
|
14103
|
+
for (Cs(i) && (i = i.host); Oo(i) && ["html", "body"].indexOf(Yo(i)) < 0; ) {
|
|
14108
14104
|
var a = tn(i);
|
|
14109
14105
|
if (a.transform !== "none" || a.perspective !== "none" || a.contain === "paint" || ["transform", "perspective"].indexOf(a.willChange) !== -1 || t && a.willChange === "filter" || t && a.filter && a.filter !== "none")
|
|
14110
14106
|
return i;
|
|
@@ -14115,7 +14111,7 @@ function hv(e) {
|
|
|
14115
14111
|
function Xr(e) {
|
|
14116
14112
|
for (var t = bo(e), n = tc(e); n && fv(n) && tn(n).position === "static"; )
|
|
14117
14113
|
n = tc(n);
|
|
14118
|
-
return n && (
|
|
14114
|
+
return n && (Yo(n) === "html" || Yo(n) === "body" && tn(n).position === "static") ? t : n || hv(e) || t;
|
|
14119
14115
|
}
|
|
14120
14116
|
function Ts(e) {
|
|
14121
14117
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
@@ -14149,7 +14145,7 @@ var gv = function(t, n) {
|
|
|
14149
14145
|
})) : t, ru(typeof t != "number" ? t : iu(t, Kr));
|
|
14150
14146
|
};
|
|
14151
14147
|
function bv(e) {
|
|
14152
|
-
var t, n = e.state, r = e.name, i = e.options, a = n.elements.arrow, s = n.modifiersData.popperOffsets, l =
|
|
14148
|
+
var t, n = e.state, r = e.name, i = e.options, a = n.elements.arrow, s = n.modifiersData.popperOffsets, l = _o(n.placement), c = Ts(l), d = [lo, ko].indexOf(l) >= 0, u = d ? "height" : "width";
|
|
14153
14149
|
if (!(!a || !s)) {
|
|
14154
14150
|
var h = gv(i.padding, n), g = Ss(a), v = c === "y" ? so : lo, b = c === "y" ? Ro : ko, p = n.rects.reference[u] + n.rects.reference[c] - s[c] - n.rects.popper[u], C = s[c] - n.rects.reference[c], S = Xr(a), O = S ? c === "y" ? S.clientHeight || 0 : S.clientWidth || 0 : 0, w = p / 2 - C / 2, x = h[v], T = O - g[u] - h[b], E = O / 2 - g[u] / 2 + w, M = $r(x, E, T), D = c;
|
|
14155
14151
|
n.modifiersData[r] = (t = {}, t[D] = M, t.centerOffset = M - E, t);
|
|
@@ -14230,7 +14226,7 @@ function oc(e) {
|
|
|
14230
14226
|
}
|
|
14231
14227
|
function Cv(e) {
|
|
14232
14228
|
var t = e.state, n = e.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, a = n.adaptive, s = a === void 0 ? !0 : a, l = n.roundOffsets, c = l === void 0 ? !0 : l, d = {
|
|
14233
|
-
placement:
|
|
14229
|
+
placement: _o(t.placement),
|
|
14234
14230
|
variation: rr(t.placement),
|
|
14235
14231
|
popper: t.elements.popper,
|
|
14236
14232
|
popperRect: t.rects.popper,
|
|
@@ -14338,7 +14334,7 @@ function Rs(e) {
|
|
|
14338
14334
|
return /auto|scroll|overlay|hidden/.test(n + i + r);
|
|
14339
14335
|
}
|
|
14340
14336
|
function au(e) {
|
|
14341
|
-
return ["html", "body", "#document"].indexOf(
|
|
14337
|
+
return ["html", "body", "#document"].indexOf(Yo(e)) >= 0 ? e.ownerDocument.body : Oo(e) && Rs(e) ? e : au(ta(e));
|
|
14342
14338
|
}
|
|
14343
14339
|
function Nr(e, t) {
|
|
14344
14340
|
var n;
|
|
@@ -14367,7 +14363,7 @@ function rc(e, t, n) {
|
|
|
14367
14363
|
function Mv(e) {
|
|
14368
14364
|
var t = Nr(ta(e)), n = ["absolute", "fixed"].indexOf(tn(e).position) >= 0, r = n && Oo(e) ? Xr(e) : e;
|
|
14369
14365
|
return Nn(r) ? t.filter(function(i) {
|
|
14370
|
-
return Nn(i) && ou(i, r) &&
|
|
14366
|
+
return Nn(i) && ou(i, r) && Yo(i) !== "body";
|
|
14371
14367
|
}) : [];
|
|
14372
14368
|
}
|
|
14373
14369
|
function $v(e, t, n, r) {
|
|
@@ -14378,7 +14374,7 @@ function $v(e, t, n, r) {
|
|
|
14378
14374
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
14379
14375
|
}
|
|
14380
14376
|
function su(e) {
|
|
14381
|
-
var t = e.reference, n = e.element, r = e.placement, i = r ?
|
|
14377
|
+
var t = e.reference, n = e.element, r = e.placement, i = r ? _o(r) : null, a = r ? rr(r) : null, s = t.x + t.width / 2 - n.width / 2, l = t.y + t.height / 2 - n.height / 2, c;
|
|
14382
14378
|
switch (i) {
|
|
14383
14379
|
case so:
|
|
14384
14380
|
c = {
|
|
@@ -14459,14 +14455,14 @@ function Nv(e, t) {
|
|
|
14459
14455
|
boundary: i,
|
|
14460
14456
|
rootBoundary: a,
|
|
14461
14457
|
padding: s
|
|
14462
|
-
})[
|
|
14458
|
+
})[_o(p)], b;
|
|
14463
14459
|
}, {});
|
|
14464
14460
|
return Object.keys(v).sort(function(b, p) {
|
|
14465
14461
|
return v[b] - v[p];
|
|
14466
14462
|
});
|
|
14467
14463
|
}
|
|
14468
14464
|
function Dv(e) {
|
|
14469
|
-
if (
|
|
14465
|
+
if (_o(e) === ws)
|
|
14470
14466
|
return [];
|
|
14471
14467
|
var t = Ci(e);
|
|
14472
14468
|
return [nc(e), t, nc(t)];
|
|
@@ -14474,8 +14470,8 @@ function Dv(e) {
|
|
|
14474
14470
|
function Av(e) {
|
|
14475
14471
|
var t = e.state, n = e.options, r = e.name;
|
|
14476
14472
|
if (!t.modifiersData[r]._skip) {
|
|
14477
|
-
for (var i = n.mainAxis, a = i === void 0 ? !0 : i, s = n.altAxis, l = s === void 0 ? !0 : s, c = n.fallbackPlacements, d = n.padding, u = n.boundary, h = n.rootBoundary, g = n.altBoundary, v = n.flipVariations, b = v === void 0 ? !0 : v, p = n.allowedAutoPlacements, C = t.options.placement, S =
|
|
14478
|
-
return ee.concat(
|
|
14473
|
+
for (var i = n.mainAxis, a = i === void 0 ? !0 : i, s = n.altAxis, l = s === void 0 ? !0 : s, c = n.fallbackPlacements, d = n.padding, u = n.boundary, h = n.rootBoundary, g = n.altBoundary, v = n.flipVariations, b = v === void 0 ? !0 : v, p = n.allowedAutoPlacements, C = t.options.placement, S = _o(C), O = S === C, w = c || (O || !b ? [Ci(C)] : Dv(C)), x = [C].concat(w).reduce(function(ee, Z) {
|
|
14474
|
+
return ee.concat(_o(Z) === ws ? Nv(t, {
|
|
14479
14475
|
placement: Z,
|
|
14480
14476
|
boundary: u,
|
|
14481
14477
|
rootBoundary: h,
|
|
@@ -14484,7 +14480,7 @@ function Av(e) {
|
|
|
14484
14480
|
allowedAutoPlacements: p
|
|
14485
14481
|
}) : Z);
|
|
14486
14482
|
}, []), T = t.rects.reference, E = t.rects.popper, M = /* @__PURE__ */ new Map(), D = !0, P = x[0], m = 0; m < x.length; m++) {
|
|
14487
|
-
var I = x[m], k =
|
|
14483
|
+
var I = x[m], k = _o(I), $ = rr(I) === tr, B = [so, Ro].indexOf(k) >= 0, L = B ? "width" : "height", A = Fr(t, {
|
|
14488
14484
|
placement: I,
|
|
14489
14485
|
boundary: u,
|
|
14490
14486
|
rootBoundary: h,
|
|
@@ -14569,7 +14565,7 @@ const zv = {
|
|
|
14569
14565
|
fn: Bv
|
|
14570
14566
|
};
|
|
14571
14567
|
function Fv(e, t, n) {
|
|
14572
|
-
var r =
|
|
14568
|
+
var r = _o(e), i = [lo, so].indexOf(r) >= 0 ? -1 : 1, a = typeof n == "function" ? n(Object.assign({}, t, {
|
|
14573
14569
|
placement: e
|
|
14574
14570
|
})) : n, s = a[0], l = a[1];
|
|
14575
14571
|
return s = s || 0, l = (l || 0) * i, [lo, ko].indexOf(r) >= 0 ? {
|
|
@@ -14617,7 +14613,7 @@ function Uv(e) {
|
|
|
14617
14613
|
rootBoundary: d,
|
|
14618
14614
|
padding: h,
|
|
14619
14615
|
altBoundary: u
|
|
14620
|
-
}), S =
|
|
14616
|
+
}), S = _o(t.placement), O = rr(t.placement), w = !O, x = Ts(S), T = Hv(x), E = t.modifiersData.popperOffsets, M = t.rects.reference, D = t.rects.popper, P = typeof p == "function" ? p(Object.assign({}, t.rects, {
|
|
14621
14617
|
placement: t.placement
|
|
14622
14618
|
})) : p, m = typeof P == "number" ? {
|
|
14623
14619
|
mainAxis: P,
|
|
@@ -14673,7 +14669,7 @@ function Xv(e, t, n) {
|
|
|
14673
14669
|
x: 0,
|
|
14674
14670
|
y: 0
|
|
14675
14671
|
};
|
|
14676
|
-
return (r || !r && !n) && ((
|
|
14672
|
+
return (r || !r && !n) && ((Yo(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
14677
14673
|
Rs(a)) && (l = Gv(t)), Oo(t) ? (c = nr(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : a && (c.x = Es(a))), {
|
|
14678
14674
|
x: s.left + l.scrollLeft - c.x,
|
|
14679
14675
|
y: s.top + l.scrollTop - c.y,
|
|
@@ -15045,7 +15041,7 @@ process.env.NODE_ENV !== "production" && (lu.propTypes = {
|
|
|
15045
15041
|
* It's used to set the position of the popper.
|
|
15046
15042
|
* The return value will passed as the reference object of the Popper instance.
|
|
15047
15043
|
*/
|
|
15048
|
-
anchorEl: Eo(o.oneOfType([
|
|
15044
|
+
anchorEl: Eo(o.oneOfType([Uo, o.object, o.func]), (e) => {
|
|
15049
15045
|
if (e.open) {
|
|
15050
15046
|
const t = Li(e.anchorEl);
|
|
15051
15047
|
if (t && oa(t) && t.nodeType === 1) {
|
|
@@ -15073,7 +15069,7 @@ process.env.NODE_ENV !== "production" && (lu.propTypes = {
|
|
|
15073
15069
|
* By default, it uses the body of the top-level document object,
|
|
15074
15070
|
* so it's simply `document.body` most of the time.
|
|
15075
15071
|
*/
|
|
15076
|
-
container: o.oneOfType([
|
|
15072
|
+
container: o.oneOfType([Uo, o.func]),
|
|
15077
15073
|
/**
|
|
15078
15074
|
* Direction of the text.
|
|
15079
15075
|
* @default 'ltr'
|
|
@@ -15214,7 +15210,7 @@ process.env.NODE_ENV !== "production" && (Zr.propTypes = {
|
|
|
15214
15210
|
* It's used to set the position of the popper.
|
|
15215
15211
|
* The return value will passed as the reference object of the Popper instance.
|
|
15216
15212
|
*/
|
|
15217
|
-
anchorEl: o.oneOfType([
|
|
15213
|
+
anchorEl: o.oneOfType([Uo, o.object, o.func]),
|
|
15218
15214
|
/**
|
|
15219
15215
|
* Popper render function or node.
|
|
15220
15216
|
*/
|
|
@@ -15253,7 +15249,7 @@ process.env.NODE_ENV !== "production" && (Zr.propTypes = {
|
|
|
15253
15249
|
* By default, it uses the body of the top-level document object,
|
|
15254
15250
|
* so it's simply `document.body` most of the time.
|
|
15255
15251
|
*/
|
|
15256
|
-
container: o.oneOfType([
|
|
15252
|
+
container: o.oneOfType([Uo, o.func]),
|
|
15257
15253
|
/**
|
|
15258
15254
|
* The `children` will be under the DOM hierarchy of the parent component.
|
|
15259
15255
|
* @default false
|
|
@@ -15611,7 +15607,7 @@ function mi(e, t) {
|
|
|
15611
15607
|
t && t(n, ...r), e(n, ...r);
|
|
15612
15608
|
};
|
|
15613
15609
|
}
|
|
15614
|
-
const
|
|
15610
|
+
const Ao = /* @__PURE__ */ y.forwardRef(function(t, n) {
|
|
15615
15611
|
const r = Se({
|
|
15616
15612
|
props: t,
|
|
15617
15613
|
name: "MuiTooltip"
|
|
@@ -15844,7 +15840,7 @@ const qo = /* @__PURE__ */ y.forwardRef(function(t, n) {
|
|
|
15844
15840
|
})]
|
|
15845
15841
|
});
|
|
15846
15842
|
});
|
|
15847
|
-
process.env.NODE_ENV !== "production" && (
|
|
15843
|
+
process.env.NODE_ENV !== "production" && (Ao.propTypes = {
|
|
15848
15844
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
15849
15845
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
15850
15846
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -16043,7 +16039,7 @@ const S2 = ({ buttons: e }) => {
|
|
|
16043
16039
|
alignLeft: d,
|
|
16044
16040
|
sx: u
|
|
16045
16041
|
} = n;
|
|
16046
|
-
return i ? /* @__PURE__ */ f(
|
|
16042
|
+
return i ? /* @__PURE__ */ f(Ao, { title: a, children: /* @__PURE__ */ f(pt, { sx: d ? { marginRight: "auto !important" } : {}, children: /* @__PURE__ */ f(
|
|
16047
16043
|
Lr,
|
|
16048
16044
|
{
|
|
16049
16045
|
variant: "contained",
|
|
@@ -16203,7 +16199,7 @@ process.env.NODE_ENV !== "production" && (du.propTypes = {
|
|
|
16203
16199
|
* An HTML element, or a function that returns one.
|
|
16204
16200
|
* It's used to set the container the Slide is transitioning from.
|
|
16205
16201
|
*/
|
|
16206
|
-
container: Eo(o.oneOfType([
|
|
16202
|
+
container: Eo(o.oneOfType([Uo, o.func]), (e) => {
|
|
16207
16203
|
if (e.open) {
|
|
16208
16204
|
const t = cu(e.container);
|
|
16209
16205
|
if (t && t.nodeType === 1) {
|
|
@@ -16317,7 +16313,7 @@ const uu = (e, t) => {
|
|
|
16317
16313
|
overridesResolver: uu
|
|
16318
16314
|
})({
|
|
16319
16315
|
flex: "0 0 auto"
|
|
16320
|
-
}), C0 = H(
|
|
16316
|
+
}), C0 = H(qo, {
|
|
16321
16317
|
name: "MuiDrawer",
|
|
16322
16318
|
slot: "Paper",
|
|
16323
16319
|
overridesResolver: (e, t) => {
|
|
@@ -17051,7 +17047,7 @@ const $0 = (e) => {
|
|
|
17051
17047
|
}, N0 = H(Gr, {
|
|
17052
17048
|
name: "MuiPopover",
|
|
17053
17049
|
slot: "Root"
|
|
17054
|
-
})({}), vu = H(
|
|
17050
|
+
})({}), vu = H(qo, {
|
|
17055
17051
|
name: "MuiPopover",
|
|
17056
17052
|
slot: "Paper"
|
|
17057
17053
|
})({
|
|
@@ -17291,7 +17287,7 @@ process.env.NODE_ENV !== "production" && (ks.propTypes = {
|
|
|
17291
17287
|
* or a function that returns either.
|
|
17292
17288
|
* It's used to set the position of the popover.
|
|
17293
17289
|
*/
|
|
17294
|
-
anchorEl: Eo(o.oneOfType([
|
|
17290
|
+
anchorEl: Eo(o.oneOfType([Uo, o.func]), (e) => {
|
|
17295
17291
|
if (e.open && (!e.anchorReference || e.anchorReference === "anchorEl")) {
|
|
17296
17292
|
const t = Rr(e.anchorEl);
|
|
17297
17293
|
if (t && t.nodeType === 1) {
|
|
@@ -17374,7 +17370,7 @@ process.env.NODE_ENV !== "production" && (ks.propTypes = {
|
|
|
17374
17370
|
* By default, it uses the body of the anchorEl's top-level document object,
|
|
17375
17371
|
* so it's simply `document.body` most of the time.
|
|
17376
17372
|
*/
|
|
17377
|
-
container: o.oneOfType([
|
|
17373
|
+
container: o.oneOfType([Uo, o.func]),
|
|
17378
17374
|
/**
|
|
17379
17375
|
* Disable the scroll lock behavior.
|
|
17380
17376
|
* @default false
|
|
@@ -17643,7 +17639,7 @@ process.env.NODE_ENV !== "production" && (Qr.propTypes = {
|
|
|
17643
17639
|
* An HTML element, or a function that returns one.
|
|
17644
17640
|
* It's used to set the position of the menu.
|
|
17645
17641
|
*/
|
|
17646
|
-
anchorEl: o.oneOfType([
|
|
17642
|
+
anchorEl: o.oneOfType([Uo, o.func]),
|
|
17647
17643
|
/**
|
|
17648
17644
|
* If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
|
|
17649
17645
|
* children are not focusable. If you set this prop to `false` focus will be placed
|
|
@@ -17999,7 +17995,7 @@ const U0 = (e) => /* @__PURE__ */ Q(ot, { direction: "row", children: [
|
|
|
17999
17995
|
background: (t) => t.palette.background.default
|
|
18000
17996
|
},
|
|
18001
17997
|
children: e.sections.map((t) => /* @__PURE__ */ f(
|
|
18002
|
-
|
|
17998
|
+
Ao,
|
|
18003
17999
|
{
|
|
18004
18000
|
placement: "left",
|
|
18005
18001
|
sx: { cursor: "pointer" },
|
|
@@ -18029,7 +18025,7 @@ const U0 = (e) => /* @__PURE__ */ Q(ot, { direction: "row", children: [
|
|
|
18029
18025
|
/* @__PURE__ */ f(Jo, { orientation: "vertical" })
|
|
18030
18026
|
] }), Y0 = ({ title: e, subtitle: t, infoTemplate: n }) => /* @__PURE__ */ Q(ot, { spacing: 0.5, sx: { minWidth: 0 }, children: [
|
|
18031
18027
|
e && /* @__PURE__ */ f(Ke, { variant: "h3 bold", children: e }),
|
|
18032
|
-
t && /* @__PURE__ */ f(
|
|
18028
|
+
t && /* @__PURE__ */ f(Ao, { title: t, children: /* @__PURE__ */ f(
|
|
18033
18029
|
Ke,
|
|
18034
18030
|
{
|
|
18035
18031
|
sx: {
|
|
@@ -18181,6 +18177,7 @@ const U0 = (e) => /* @__PURE__ */ Q(ot, { direction: "row", children: [
|
|
|
18181
18177
|
{
|
|
18182
18178
|
size: "s",
|
|
18183
18179
|
color: "default",
|
|
18180
|
+
disableRipple: !0,
|
|
18184
18181
|
onClick: (m) => {
|
|
18185
18182
|
g(m.currentTarget), u(!0);
|
|
18186
18183
|
},
|
|
@@ -18191,6 +18188,7 @@ const U0 = (e) => /* @__PURE__ */ Q(ot, { direction: "row", children: [
|
|
|
18191
18188
|
Zt,
|
|
18192
18189
|
{
|
|
18193
18190
|
size: "s",
|
|
18191
|
+
disableRipple: !0,
|
|
18194
18192
|
title: e.actions[0].title,
|
|
18195
18193
|
color: e.actions[0].color,
|
|
18196
18194
|
onClick: e.actions[0].handler,
|
|
@@ -18202,6 +18200,7 @@ const U0 = (e) => /* @__PURE__ */ Q(ot, { direction: "row", children: [
|
|
|
18202
18200
|
Zt,
|
|
18203
18201
|
{
|
|
18204
18202
|
onClick: T,
|
|
18203
|
+
disableRipple: !0,
|
|
18205
18204
|
title: v ? "Свернуть" : "Во весь экран",
|
|
18206
18205
|
color: "text",
|
|
18207
18206
|
children: v ? /* @__PURE__ */ f(X0, { fontSize: "m" }) : /* @__PURE__ */ f(G0, { fontSize: "m" })
|
|
@@ -18212,6 +18211,7 @@ const U0 = (e) => /* @__PURE__ */ Q(ot, { direction: "row", children: [
|
|
|
18212
18211
|
{
|
|
18213
18212
|
color: "text",
|
|
18214
18213
|
title: "Закрыть",
|
|
18214
|
+
disableRipple: !0,
|
|
18215
18215
|
size: "m",
|
|
18216
18216
|
sx: e.contrastClose ? { background: "#15202B !important", color: "#FFF" } : {},
|
|
18217
18217
|
onClick: e.onClose,
|
|
@@ -18315,7 +18315,7 @@ const U0 = (e) => /* @__PURE__ */ Q(ot, { direction: "row", children: [
|
|
|
18315
18315
|
}
|
|
18316
18316
|
},
|
|
18317
18317
|
handleComponent: {
|
|
18318
|
-
left: P.left ? /* @__PURE__ */ f(
|
|
18318
|
+
left: P.left ? /* @__PURE__ */ f(Ao, { title: "Изменение размера", placement: "right", children: /* @__PURE__ */ f(
|
|
18319
18319
|
pt,
|
|
18320
18320
|
{
|
|
18321
18321
|
sx: {
|
|
@@ -18341,7 +18341,7 @@ const U0 = (e) => /* @__PURE__ */ Q(ot, { direction: "row", children: [
|
|
|
18341
18341
|
}
|
|
18342
18342
|
)
|
|
18343
18343
|
}
|
|
18344
|
-
) : null
|
|
18344
|
+
) }) : null
|
|
18345
18345
|
},
|
|
18346
18346
|
children: D()
|
|
18347
18347
|
}
|
|
@@ -18547,6 +18547,7 @@ const U0 = (e) => /* @__PURE__ */ Q(ot, { direction: "row", children: [
|
|
|
18547
18547
|
/* @__PURE__ */ f(
|
|
18548
18548
|
Zt,
|
|
18549
18549
|
{
|
|
18550
|
+
disableRipple: !0,
|
|
18550
18551
|
ref: a,
|
|
18551
18552
|
size: "s",
|
|
18552
18553
|
color: "text",
|
|
@@ -18620,6 +18621,7 @@ const U0 = (e) => /* @__PURE__ */ Q(ot, { direction: "row", children: [
|
|
|
18620
18621
|
!!c.length && c.map((u) => /* @__PURE__ */ f(
|
|
18621
18622
|
Zt,
|
|
18622
18623
|
{
|
|
18624
|
+
disableRipple: !0,
|
|
18623
18625
|
size: u.size || "s",
|
|
18624
18626
|
color: u.color || "secondary",
|
|
18625
18627
|
onClick: (h) => {
|
|
@@ -19626,7 +19628,7 @@ const y1 = (e) => {
|
|
|
19626
19628
|
action: ["action"],
|
|
19627
19629
|
message: ["message"]
|
|
19628
19630
|
}, b1, t);
|
|
19629
|
-
}, v1 = H(
|
|
19631
|
+
}, v1 = H(qo, {
|
|
19630
19632
|
name: "MuiSnackbarContent",
|
|
19631
19633
|
slot: "Root"
|
|
19632
19634
|
})(ye(({
|
|
@@ -20150,7 +20152,7 @@ const O1 = (e) => /* @__PURE__ */ f(mt, { ...e, children: /* @__PURE__ */ f("svg
|
|
|
20150
20152
|
onClose: () => s({ isOpen: !1 }),
|
|
20151
20153
|
sx: { borderRadius: 8 },
|
|
20152
20154
|
children: /* @__PURE__ */ f(
|
|
20153
|
-
|
|
20155
|
+
qo,
|
|
20154
20156
|
{
|
|
20155
20157
|
sx: {
|
|
20156
20158
|
width: "500px",
|
|
@@ -20167,7 +20169,7 @@ const O1 = (e) => /* @__PURE__ */ f(mt, { ...e, children: /* @__PURE__ */ f("svg
|
|
|
20167
20169
|
] }),
|
|
20168
20170
|
/* @__PURE__ */ Q(pt, { display: "flex", alignItems: "center", gap: 1, children: [
|
|
20169
20171
|
a,
|
|
20170
|
-
/* @__PURE__ */ f(Zt, { size: "m", color: "inherit", onClick: () => s({ isOpen: !1 }), children: /* @__PURE__ */ f(xu, {}) })
|
|
20172
|
+
/* @__PURE__ */ f(Zt, { disableRipple: !0, size: "m", color: "inherit", onClick: () => s({ isOpen: !1 }), children: /* @__PURE__ */ f(xu, {}) })
|
|
20171
20173
|
] })
|
|
20172
20174
|
] }),
|
|
20173
20175
|
i && /* @__PURE__ */ f(pt, { display: "flex", flexDirection: "column", gap: 0.3, pl: 4, children: Array.isArray(i) ? i.map((u) => /* @__PURE__ */ f(Ke, { variant: "body1", children: u }, `sb-desc-${hn()}`)) : /* @__PURE__ */ f(Ke, { variant: "body1", children: i }) })
|
|
@@ -21629,7 +21631,7 @@ const yx = {
|
|
|
21629
21631
|
nextWeek: "eeee 'at' p",
|
|
21630
21632
|
other: "P"
|
|
21631
21633
|
}, Sx = (e, t, n, r) => Cx[e];
|
|
21632
|
-
function
|
|
21634
|
+
function Fo(e) {
|
|
21633
21635
|
return (t, n) => {
|
|
21634
21636
|
const r = n?.context ? String(n.context) : "standalone";
|
|
21635
21637
|
let i;
|
|
@@ -21771,31 +21773,31 @@ const Tx = {
|
|
|
21771
21773
|
return n + "th";
|
|
21772
21774
|
}, Mx = {
|
|
21773
21775
|
ordinalNumber: Ix,
|
|
21774
|
-
era:
|
|
21776
|
+
era: Fo({
|
|
21775
21777
|
values: Tx,
|
|
21776
21778
|
defaultWidth: "wide"
|
|
21777
21779
|
}),
|
|
21778
|
-
quarter:
|
|
21780
|
+
quarter: Fo({
|
|
21779
21781
|
values: Ox,
|
|
21780
21782
|
defaultWidth: "wide",
|
|
21781
21783
|
argumentCallback: (e) => e - 1
|
|
21782
21784
|
}),
|
|
21783
|
-
month:
|
|
21785
|
+
month: Fo({
|
|
21784
21786
|
values: Ex,
|
|
21785
21787
|
defaultWidth: "wide"
|
|
21786
21788
|
}),
|
|
21787
|
-
day:
|
|
21789
|
+
day: Fo({
|
|
21788
21790
|
values: Rx,
|
|
21789
21791
|
defaultWidth: "wide"
|
|
21790
21792
|
}),
|
|
21791
|
-
dayPeriod:
|
|
21793
|
+
dayPeriod: Fo({
|
|
21792
21794
|
values: kx,
|
|
21793
21795
|
defaultWidth: "wide",
|
|
21794
21796
|
formattingValues: Px,
|
|
21795
21797
|
defaultFormattingWidth: "wide"
|
|
21796
21798
|
})
|
|
21797
21799
|
};
|
|
21798
|
-
function
|
|
21800
|
+
function Wo(e) {
|
|
21799
21801
|
return (t, n = {}) => {
|
|
21800
21802
|
const r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], a = t.match(i);
|
|
21801
21803
|
if (!a)
|
|
@@ -21908,32 +21910,32 @@ const Dx = /^(\d+)(th|st|nd|rd)?/i, Ax = /\d+/i, Lx = {
|
|
|
21908
21910
|
parsePattern: Ax,
|
|
21909
21911
|
valueCallback: (e) => parseInt(e, 10)
|
|
21910
21912
|
}),
|
|
21911
|
-
era:
|
|
21913
|
+
era: Wo({
|
|
21912
21914
|
matchPatterns: Lx,
|
|
21913
21915
|
defaultMatchWidth: "wide",
|
|
21914
21916
|
parsePatterns: Bx,
|
|
21915
21917
|
defaultParseWidth: "any"
|
|
21916
21918
|
}),
|
|
21917
|
-
quarter:
|
|
21919
|
+
quarter: Wo({
|
|
21918
21920
|
matchPatterns: zx,
|
|
21919
21921
|
defaultMatchWidth: "wide",
|
|
21920
21922
|
parsePatterns: Fx,
|
|
21921
21923
|
defaultParseWidth: "any",
|
|
21922
21924
|
valueCallback: (e) => e + 1
|
|
21923
21925
|
}),
|
|
21924
|
-
month:
|
|
21926
|
+
month: Wo({
|
|
21925
21927
|
matchPatterns: Wx,
|
|
21926
21928
|
defaultMatchWidth: "wide",
|
|
21927
21929
|
parsePatterns: jx,
|
|
21928
21930
|
defaultParseWidth: "any"
|
|
21929
21931
|
}),
|
|
21930
|
-
day:
|
|
21932
|
+
day: Wo({
|
|
21931
21933
|
matchPatterns: _x,
|
|
21932
21934
|
defaultMatchWidth: "wide",
|
|
21933
21935
|
parsePatterns: Vx,
|
|
21934
21936
|
defaultParseWidth: "any"
|
|
21935
21937
|
}),
|
|
21936
|
-
dayPeriod:
|
|
21938
|
+
dayPeriod: Wo({
|
|
21937
21939
|
matchPatterns: Hx,
|
|
21938
21940
|
defaultMatchWidth: "any",
|
|
21939
21941
|
parsePatterns: Ux,
|
|
@@ -23210,26 +23212,26 @@ const Bw = {
|
|
|
23210
23212
|
return r === "date" ? i = "-е" : r === "week" || r === "minute" || r === "second" ? i = "-я" : i = "-й", n + i;
|
|
23211
23213
|
}, qw = {
|
|
23212
23214
|
ordinalNumber: Yw,
|
|
23213
|
-
era:
|
|
23215
|
+
era: Fo({
|
|
23214
23216
|
values: Fw,
|
|
23215
23217
|
defaultWidth: "wide"
|
|
23216
23218
|
}),
|
|
23217
|
-
quarter:
|
|
23219
|
+
quarter: Fo({
|
|
23218
23220
|
values: Ww,
|
|
23219
23221
|
defaultWidth: "wide",
|
|
23220
23222
|
argumentCallback: (e) => e - 1
|
|
23221
23223
|
}),
|
|
23222
|
-
month:
|
|
23224
|
+
month: Fo({
|
|
23223
23225
|
values: jw,
|
|
23224
23226
|
defaultWidth: "wide",
|
|
23225
23227
|
formattingValues: _w,
|
|
23226
23228
|
defaultFormattingWidth: "wide"
|
|
23227
23229
|
}),
|
|
23228
|
-
day:
|
|
23230
|
+
day: Fo({
|
|
23229
23231
|
values: Vw,
|
|
23230
23232
|
defaultWidth: "wide"
|
|
23231
23233
|
}),
|
|
23232
|
-
dayPeriod:
|
|
23234
|
+
dayPeriod: Fo({
|
|
23233
23235
|
values: Hw,
|
|
23234
23236
|
defaultWidth: "any",
|
|
23235
23237
|
formattingValues: Uw,
|
|
@@ -23309,32 +23311,32 @@ const Bw = {
|
|
|
23309
23311
|
parsePattern: Kw,
|
|
23310
23312
|
valueCallback: (e) => parseInt(e, 10)
|
|
23311
23313
|
}),
|
|
23312
|
-
era:
|
|
23314
|
+
era: Wo({
|
|
23313
23315
|
matchPatterns: Xw,
|
|
23314
23316
|
defaultMatchWidth: "wide",
|
|
23315
23317
|
parsePatterns: Zw,
|
|
23316
23318
|
defaultParseWidth: "any"
|
|
23317
23319
|
}),
|
|
23318
|
-
quarter:
|
|
23320
|
+
quarter: Wo({
|
|
23319
23321
|
matchPatterns: Qw,
|
|
23320
23322
|
defaultMatchWidth: "wide",
|
|
23321
23323
|
parsePatterns: Jw,
|
|
23322
23324
|
defaultParseWidth: "any",
|
|
23323
23325
|
valueCallback: (e) => e + 1
|
|
23324
23326
|
}),
|
|
23325
|
-
month:
|
|
23327
|
+
month: Wo({
|
|
23326
23328
|
matchPatterns: eC,
|
|
23327
23329
|
defaultMatchWidth: "wide",
|
|
23328
23330
|
parsePatterns: tC,
|
|
23329
23331
|
defaultParseWidth: "any"
|
|
23330
23332
|
}),
|
|
23331
|
-
day:
|
|
23333
|
+
day: Wo({
|
|
23332
23334
|
matchPatterns: oC,
|
|
23333
23335
|
defaultMatchWidth: "wide",
|
|
23334
23336
|
parsePatterns: nC,
|
|
23335
23337
|
defaultParseWidth: "any"
|
|
23336
23338
|
}),
|
|
23337
|
-
dayPeriod:
|
|
23339
|
+
dayPeriod: Wo({
|
|
23338
23340
|
matchPatterns: rC,
|
|
23339
23341
|
defaultMatchWidth: "wide",
|
|
23340
23342
|
parsePatterns: iC,
|
|
@@ -23465,7 +23467,7 @@ function rs(e, t) {
|
|
|
23465
23467
|
}
|
|
23466
23468
|
return null;
|
|
23467
23469
|
}
|
|
23468
|
-
const In = "itemActions", Mn = "dragIcon",
|
|
23470
|
+
const In = "itemActions", Mn = "dragIcon", Vo = "multiselect", jo = "expandIcon", hC = 750;
|
|
23469
23471
|
function mC(e) {
|
|
23470
23472
|
return we("MuiFab", e);
|
|
23471
23473
|
}
|
|
@@ -24223,7 +24225,7 @@ const IC = (e) => /* @__PURE__ */ f(mt, { ...e, children: /* @__PURE__ */ Q("svg
|
|
|
24223
24225
|
"+ ",
|
|
24224
24226
|
e,
|
|
24225
24227
|
r && /* @__PURE__ */ f(
|
|
24226
|
-
|
|
24228
|
+
Ao,
|
|
24227
24229
|
{
|
|
24228
24230
|
title: r,
|
|
24229
24231
|
onClick: (C) => {
|
|
@@ -24524,7 +24526,7 @@ const WC = Vt(/* @__PURE__ */ f("path", {
|
|
|
24524
24526
|
direction: M,
|
|
24525
24527
|
IconComponent: k,
|
|
24526
24528
|
onClick: I,
|
|
24527
|
-
children: /* @__PURE__ */ f(
|
|
24529
|
+
children: /* @__PURE__ */ f(Ao, { title: O, placement: "top", children: /* @__PURE__ */ f(
|
|
24528
24530
|
Ke,
|
|
24529
24531
|
{
|
|
24530
24532
|
className: "ellipsis",
|
|
@@ -24675,7 +24677,7 @@ function HC(e) {
|
|
|
24675
24677
|
A.map((z) => /* @__PURE__ */ Q(An, { sx: { visibility: d && "collapse" }, children: [
|
|
24676
24678
|
B.map((N) => {
|
|
24677
24679
|
const R = N.index;
|
|
24678
|
-
return e.expandAllMethod && N.id ===
|
|
24680
|
+
return e.expandAllMethod && N.id === jo ? /* @__PURE__ */ f(
|
|
24679
24681
|
Ct,
|
|
24680
24682
|
{
|
|
24681
24683
|
sx: {
|
|
@@ -24687,6 +24689,7 @@ function HC(e) {
|
|
|
24687
24689
|
{
|
|
24688
24690
|
size: "s",
|
|
24689
24691
|
color: "inherit",
|
|
24692
|
+
disableRipple: !0,
|
|
24690
24693
|
onClick: () => {
|
|
24691
24694
|
e.isAllRowsExpanded ? e.setExpanded({}) : e.setExpanded(!0), e.expandAllMethod(e.isAllRowsExpanded);
|
|
24692
24695
|
},
|
|
@@ -24708,7 +24711,7 @@ function HC(e) {
|
|
|
24708
24711
|
}
|
|
24709
24712
|
)
|
|
24710
24713
|
},
|
|
24711
|
-
|
|
24714
|
+
jo
|
|
24712
24715
|
) : N.id === Mn ? /* @__PURE__ */ f(
|
|
24713
24716
|
Ct,
|
|
24714
24717
|
{
|
|
@@ -24720,8 +24723,8 @@ function HC(e) {
|
|
|
24720
24723
|
top: 0
|
|
24721
24724
|
}
|
|
24722
24725
|
},
|
|
24723
|
-
|
|
24724
|
-
) : N.id ===
|
|
24726
|
+
Vo
|
|
24727
|
+
) : N.id === Vo ? /* @__PURE__ */ f(
|
|
24725
24728
|
Ct,
|
|
24726
24729
|
{
|
|
24727
24730
|
padding: "checkbox",
|
|
@@ -24742,8 +24745,8 @@ function HC(e) {
|
|
|
24742
24745
|
}
|
|
24743
24746
|
)
|
|
24744
24747
|
},
|
|
24745
|
-
|
|
24746
|
-
) : N.id ===
|
|
24748
|
+
Vo
|
|
24749
|
+
) : N.id === jo ? /* @__PURE__ */ f(
|
|
24747
24750
|
Ct,
|
|
24748
24751
|
{
|
|
24749
24752
|
sx: {
|
|
@@ -24754,7 +24757,7 @@ function HC(e) {
|
|
|
24754
24757
|
},
|
|
24755
24758
|
children: /* @__PURE__ */ f(pt, { sx: { width: 28, flexShrink: 0 } })
|
|
24756
24759
|
},
|
|
24757
|
-
|
|
24760
|
+
jo
|
|
24758
24761
|
) : _(N, R);
|
|
24759
24762
|
}),
|
|
24760
24763
|
D ? /* @__PURE__ */ f(Ct, { style: { width: D } }) : null,
|
|
@@ -24785,7 +24788,7 @@ function HC(e) {
|
|
|
24785
24788
|
display: "flex",
|
|
24786
24789
|
justifyContent: "center "
|
|
24787
24790
|
},
|
|
24788
|
-
children: /* @__PURE__ */ f(
|
|
24791
|
+
children: /* @__PURE__ */ f(Ao, { title: "Шаблоны таблицы и фильтрация", placement: "top", children: /* @__PURE__ */ f(Zt, { size: "xs", onClick: l, color: "text", disableRipple: !0, children: /* @__PURE__ */ f(MC, {}) }) })
|
|
24789
24792
|
}
|
|
24790
24793
|
)
|
|
24791
24794
|
}
|
|
@@ -25036,7 +25039,7 @@ const KC = (e) => /* @__PURE__ */ f("tr", { children: /* @__PURE__ */ f("td", {
|
|
|
25036
25039
|
) });
|
|
25037
25040
|
};
|
|
25038
25041
|
return /* @__PURE__ */ f(ot, { spacing: 0.5, direction: "row", alignItems: "center", height: 28, sx: { backgroundColor: "inherit" }, children: e.editedRow ? n() : r() });
|
|
25039
|
-
}, Lc = ({ color: e, onClick: t, children: n }) => /* @__PURE__ */ f(Zt, { color: "text", size: "xs", children: /* @__PURE__ */ f(mt, { color: e, fontSize: "s", onClick: t, children: n }) });
|
|
25042
|
+
}, Lc = ({ color: e, onClick: t, children: n }) => /* @__PURE__ */ f(Zt, { color: "text", size: "xs", disableRipple: !0, children: /* @__PURE__ */ f(mt, { color: e, fontSize: "s", onClick: t, children: n }) });
|
|
25040
25043
|
var Bc;
|
|
25041
25044
|
const oS = H("fieldset", {
|
|
25042
25045
|
shouldForwardProp: Jt
|
|
@@ -25630,7 +25633,7 @@ const aa = (e, t) => {
|
|
|
25630
25633
|
if (!se) {
|
|
25631
25634
|
const yt = ce.target || te.current;
|
|
25632
25635
|
if (yt == null)
|
|
25633
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." :
|
|
25636
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : Ho(1));
|
|
25634
25637
|
le({
|
|
25635
25638
|
value: yt.value
|
|
25636
25639
|
});
|
|
@@ -26417,7 +26420,7 @@ const Qu = St.memo(function(t) {
|
|
|
26417
26420
|
alignItems: "center",
|
|
26418
26421
|
justifyContent: t.adaptive ? "space-between" : "flex-start"
|
|
26419
26422
|
}, d = n.column.getIsPinned() ? { ...Xo(n.column) } : {};
|
|
26420
|
-
return /* @__PURE__ */ f(
|
|
26423
|
+
return /* @__PURE__ */ f(Ao, { title: t.tooltipTitle, enterDelay: hC, children: /* @__PURE__ */ f(
|
|
26421
26424
|
Ct,
|
|
26422
26425
|
{
|
|
26423
26426
|
component: "td",
|
|
@@ -26475,7 +26478,7 @@ const Qu = St.memo(function(t) {
|
|
|
26475
26478
|
}, [t.row, t.cells, t.rowBackgroundCallback]);
|
|
26476
26479
|
const s = `enhanced-table-checkbox-${t.rowIndex}`, l = t.row.original.level || t.row.depth, d = t.tableViewMode === ro.TREE && t.viewMode === zi.SEARCH ? 0 : (l || 0) * 2, u = (S) => {
|
|
26477
26480
|
const O = S ? S.length : 0, w = t.overflowShadow ? ei : "none", x = S?.every((E) => E.visible?.(t.row.original) === "none"), T = t.actionsVisible && (t.itemActionsDisabledTooltip || x) ? t?.itemActionsDisabledTooltip?.(t.row.original) : "";
|
|
26478
|
-
return O || t.editable ? /* @__PURE__ */ f(
|
|
26481
|
+
return O || t.editable ? /* @__PURE__ */ f(Ao, { title: T, children: /* @__PURE__ */ f(
|
|
26479
26482
|
Ct,
|
|
26480
26483
|
{
|
|
26481
26484
|
"data-pinned": !0,
|
|
@@ -26521,6 +26524,7 @@ const Qu = St.memo(function(t) {
|
|
|
26521
26524
|
children: /* @__PURE__ */ f(
|
|
26522
26525
|
Zt,
|
|
26523
26526
|
{
|
|
26527
|
+
disableRipple: !0,
|
|
26524
26528
|
size: "s",
|
|
26525
26529
|
sx: { height: 28 },
|
|
26526
26530
|
color: "inherit",
|
|
@@ -26602,6 +26606,7 @@ const Qu = St.memo(function(t) {
|
|
|
26602
26606
|
children: O ? /* @__PURE__ */ f(
|
|
26603
26607
|
Zt,
|
|
26604
26608
|
{
|
|
26609
|
+
disableRipple: !0,
|
|
26605
26610
|
size: "xs",
|
|
26606
26611
|
color: "inherit",
|
|
26607
26612
|
onClick: (w) => {
|
|
@@ -26668,7 +26673,7 @@ const Qu = St.memo(function(t) {
|
|
|
26668
26673
|
}
|
|
26669
26674
|
), [t.cells]), p = (S) => {
|
|
26670
26675
|
const O = `enhanced-table-cell-${t.row[t.keyProperty]}-${S.colIndex}_item`, w = t.multiselectVisibility === "parent" && (t.row.original.level > 0 || !!t.row.parentId), x = i.get(S.cell.column.columnDef.field) || n;
|
|
26671
|
-
return S.cell.column.id === In ? u(t.itemActions) : S.cell.column.id ===
|
|
26676
|
+
return S.cell.column.id === In ? u(t.itemActions) : S.cell.column.id === Vo && !w ? g(S.cell) : S.cell.column.id === Mn ? v(S.cell) : S.cell.column.id === jo ? h(S.cell.column) : /* @__PURE__ */ f(
|
|
26672
26677
|
hS,
|
|
26673
26678
|
{
|
|
26674
26679
|
tooltipTitle: t.showTransposedTooltip ? b : "",
|
|
@@ -27406,7 +27411,7 @@ const RS = /* @__PURE__ */ nd(ES), I2 = St.memo(function({
|
|
|
27406
27411
|
...ce
|
|
27407
27412
|
}) {
|
|
27408
27413
|
const Xe = Et === ro.TREE, yt = Et === ro.TILE, at = ce.columnDraggable ?? !0, [xe, $e] = Ye(ce.editedRow || null), [_e, vt] = Ye(!1), [Qe, io] = Ye(ce.selectedKeys || []), [Bt, Kt] = Ye(null), [kt, eo] = Ye(ce?.expandedKeys || {}), [Wt, vo] = Ye(null), [Ne, zt] = Ye(!1), [ge, Ee] = Ye(ce.clickedRow), [Be, Fe] = Ye({}), [Je, Xt] = Ye(ce.grouping || []), [ao, xo] = St.useState({
|
|
27409
|
-
left: [Mn,
|
|
27414
|
+
left: [Mn, Vo, jo, ...ee || []],
|
|
27410
27415
|
right: [In]
|
|
27411
27416
|
}), Pt = $n(null), uo = $n(null), [jt, _t] = Ye(!1), Mo = yC(Pt), { pathname: vn } = Fp(), { setNodeRef: zn } = is({
|
|
27412
27417
|
id: bt,
|
|
@@ -27562,13 +27567,13 @@ const RS = /* @__PURE__ */ nd(ES), I2 = St.memo(function({
|
|
|
27562
27567
|
onColumnPinningChange: (K) => {
|
|
27563
27568
|
let de;
|
|
27564
27569
|
typeof K == "function" ? de = K(ao) : de = K;
|
|
27565
|
-
const Re = de.left.filter((be) => be !==
|
|
27570
|
+
const Re = de.left.filter((be) => be !== Vo);
|
|
27566
27571
|
ne?.(Re), xo(de);
|
|
27567
27572
|
},
|
|
27568
27573
|
manualSorting: !0,
|
|
27569
27574
|
enableColumnResizing: !0,
|
|
27570
27575
|
columnResizeMode: "onChange"
|
|
27571
|
-
}),
|
|
27576
|
+
}), Lo = St.useMemo(() => {
|
|
27572
27577
|
const K = Mt.getFlatHeaders(), Re = Mt.getCenterLeafColumns()?.at(-1), be = {}, me = {};
|
|
27573
27578
|
let rt = 0;
|
|
27574
27579
|
for (const Ze of K)
|
|
@@ -27616,9 +27621,9 @@ const RS = /* @__PURE__ */ nd(ES), I2 = St.memo(function({
|
|
|
27616
27621
|
Le((Ze) => {
|
|
27617
27622
|
const to = Ze.indexOf(de.data.current.columnId), ri = Ze.indexOf(Re.data.current.columnId), Xs = Js(Ze, to, ri), Cp = [
|
|
27618
27623
|
Mn,
|
|
27619
|
-
|
|
27624
|
+
jo,
|
|
27620
27625
|
In,
|
|
27621
|
-
|
|
27626
|
+
Vo
|
|
27622
27627
|
], Sp = Xs.filter((Tp) => !Cp.includes(Tp));
|
|
27623
27628
|
return se?.(Sp), Xs;
|
|
27624
27629
|
});
|
|
@@ -27741,7 +27746,7 @@ const RS = /* @__PURE__ */ nd(ES), I2 = St.memo(function({
|
|
|
27741
27746
|
minWidth: $ || "100%",
|
|
27742
27747
|
tableLayout: "fixed",
|
|
27743
27748
|
width: Mt.getTotalSize(),
|
|
27744
|
-
...
|
|
27749
|
+
...Lo
|
|
27745
27750
|
},
|
|
27746
27751
|
children: [
|
|
27747
27752
|
/* @__PURE__ */ f(Qs, { items: ue, strategy: Vp, children: /* @__PURE__ */ f(
|
|
@@ -27909,7 +27914,7 @@ const RS = /* @__PURE__ */ nd(ES), I2 = St.memo(function({
|
|
|
27909
27914
|
minHeight: 0
|
|
27910
27915
|
},
|
|
27911
27916
|
children: /* @__PURE__ */ f(
|
|
27912
|
-
|
|
27917
|
+
qo,
|
|
27913
27918
|
{
|
|
27914
27919
|
elevation: 0,
|
|
27915
27920
|
className: "w100",
|
|
@@ -28043,15 +28048,15 @@ function tp(e, t, n, r, i, a, s) {
|
|
|
28043
28048
|
size: 24,
|
|
28044
28049
|
enableResizing: !1
|
|
28045
28050
|
}), n && l.push({
|
|
28046
|
-
header:
|
|
28047
|
-
colSizeVarId:
|
|
28048
|
-
accessorKey:
|
|
28051
|
+
header: Vo,
|
|
28052
|
+
colSizeVarId: Vo,
|
|
28053
|
+
accessorKey: Vo,
|
|
28049
28054
|
size: 48,
|
|
28050
28055
|
enableResizing: !1
|
|
28051
28056
|
}), (r || c) && l.push({
|
|
28052
|
-
header:
|
|
28053
|
-
colSizeVarId:
|
|
28054
|
-
accessorKey:
|
|
28057
|
+
header: jo,
|
|
28058
|
+
colSizeVarId: jo,
|
|
28059
|
+
accessorKey: jo,
|
|
28055
28060
|
size: 24,
|
|
28056
28061
|
enableResizing: !1
|
|
28057
28062
|
});
|
|
@@ -30166,7 +30171,7 @@ const nT = (e) => {
|
|
|
30166
30171
|
let $e;
|
|
30167
30172
|
if (O) {
|
|
30168
30173
|
if (!Array.isArray(N))
|
|
30169
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." :
|
|
30174
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : Ho(2));
|
|
30170
30175
|
$e = N.some((_e) => Gc(_e, xe.props.value)), $e && gt && je.push(xe.props.children);
|
|
30171
30176
|
} else
|
|
30172
30177
|
$e = Gc(N, xe.props.value), $e && gt && (Ue = xe.props.children);
|
|
@@ -32568,7 +32573,7 @@ const RT = (e) => {
|
|
|
32568
32573
|
position: "absolute"
|
|
32569
32574
|
}
|
|
32570
32575
|
}]
|
|
32571
|
-
}))), NT = H(
|
|
32576
|
+
}))), NT = H(qo, {
|
|
32572
32577
|
name: "MuiAutocomplete",
|
|
32573
32578
|
slot: "Paper"
|
|
32574
32579
|
})(ye(({
|
|
@@ -32797,7 +32802,7 @@ const RT = (e) => {
|
|
|
32797
32802
|
additionalProps: xo,
|
|
32798
32803
|
ref: ao
|
|
32799
32804
|
}), [Y, V] = Ie("paper", {
|
|
32800
|
-
elementType:
|
|
32805
|
+
elementType: qo,
|
|
32801
32806
|
externalForwardedProps: Mo,
|
|
32802
32807
|
ownerState: jt,
|
|
32803
32808
|
className: _t.paper
|
|
@@ -32824,7 +32829,7 @@ const RT = (e) => {
|
|
|
32824
32829
|
});
|
|
32825
32830
|
if (gt && re && Bt.length > 0 ? ke = gt(Bt, nt, jt) : Ot && Bt ? ke = Ot(Bt, nt, jt) : re && Bt.length > 0 && (ke = Bt.map((qe, Mt) => {
|
|
32826
32831
|
const {
|
|
32827
|
-
key:
|
|
32832
|
+
key: Lo,
|
|
32828
32833
|
...po
|
|
32829
32834
|
} = nt({
|
|
32830
32835
|
index: Mt
|
|
@@ -32834,7 +32839,7 @@ const RT = (e) => {
|
|
|
32834
32839
|
size: bt,
|
|
32835
32840
|
...po,
|
|
32836
32841
|
...Mo.slotProps.chip
|
|
32837
|
-
},
|
|
32842
|
+
}, Lo);
|
|
32838
32843
|
})), J > -1 && Array.isArray(ke)) {
|
|
32839
32844
|
const qe = ke.length - J;
|
|
32840
32845
|
!vo && qe > 0 && (ke = ke.splice(0, J), ke.push(/* @__PURE__ */ f("span", {
|
|
@@ -32855,23 +32860,23 @@ const RT = (e) => {
|
|
|
32855
32860
|
})]
|
|
32856
32861
|
}, qe.key)), ha = je || ((qe, Mt) => {
|
|
32857
32862
|
const {
|
|
32858
|
-
key:
|
|
32863
|
+
key: Lo,
|
|
32859
32864
|
...po
|
|
32860
32865
|
} = qe;
|
|
32861
32866
|
return /* @__PURE__ */ f("li", {
|
|
32862
32867
|
...po,
|
|
32863
32868
|
children: uo(Mt)
|
|
32864
|
-
},
|
|
32869
|
+
}, Lo);
|
|
32865
32870
|
}), pr = (qe, Mt) => {
|
|
32866
|
-
const
|
|
32871
|
+
const Lo = io({
|
|
32867
32872
|
option: qe,
|
|
32868
32873
|
index: Mt
|
|
32869
32874
|
});
|
|
32870
32875
|
return ha({
|
|
32871
|
-
...
|
|
32876
|
+
...Lo,
|
|
32872
32877
|
className: _t.option
|
|
32873
32878
|
}, qe, {
|
|
32874
|
-
selected:
|
|
32879
|
+
selected: Lo["aria-selected"],
|
|
32875
32880
|
index: Mt,
|
|
32876
32881
|
inputValue: Ee
|
|
32877
32882
|
}, jt);
|
|
@@ -32951,7 +32956,7 @@ const RT = (e) => {
|
|
|
32951
32956
|
children: Be.map((qe, Mt) => _ ? qt({
|
|
32952
32957
|
key: qe.key,
|
|
32953
32958
|
group: qe.group,
|
|
32954
|
-
children: qe.options.map((
|
|
32959
|
+
children: qe.options.map((Lo, po) => pr(Lo, qe.index + po))
|
|
32955
32960
|
}) : pr(qe, Mt))
|
|
32956
32961
|
}) : null]
|
|
32957
32962
|
})
|
|
@@ -34006,7 +34011,7 @@ const GT = (e) => /* @__PURE__ */ f(mt, { ...e, children: /* @__PURE__ */ f("svg
|
|
|
34006
34011
|
);
|
|
34007
34012
|
return /* @__PURE__ */ Q(Yt, { children: [
|
|
34008
34013
|
/* @__PURE__ */ f(
|
|
34009
|
-
|
|
34014
|
+
Ao,
|
|
34010
34015
|
{
|
|
34011
34016
|
title: d,
|
|
34012
34017
|
disableHoverListener: !u,
|