@cgi-learning-hub/ui 1.10.0-dev.1761752478 → 1.10.0-dev.1762426589
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/index.cjs.js +501 -250
- package/dist/index.d.ts +53 -8
- package/dist/index.es.js +502 -251
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -9,7 +9,7 @@ import { css as css2, keyframes as keyframes2 } from "@emotion/react";
|
|
|
9
9
|
import emStyled from "@emotion/styled";
|
|
10
10
|
import * as ReactDOM from "react-dom";
|
|
11
11
|
import ReactDOM__default from "react-dom";
|
|
12
|
-
import { useTheme as useTheme$4, styled as styled$3, ToggleButtonGroup as ToggleButtonGroup$1, ToggleButton as ToggleButton$1, Box as Box$1, ClickAwayListener as ClickAwayListener$1, IconButton as IconButton$1,
|
|
12
|
+
import { useTheme as useTheme$4, styled as styled$3, ToggleButtonGroup as ToggleButtonGroup$1, ToggleButton as ToggleButton$1, Box as Box$1, ClickAwayListener as ClickAwayListener$1, IconButton as IconButton$1, Stack as Stack$1, ListItem as ListItem$1, CircularProgress as CircularProgress$1, ListItemButton as ListItemButton$1, List as List$2, Divider as Divider$1, Card as Card$1, CardMedia as CardMedia$1, CardContent as CardContent$1, Tooltip as Tooltip$1 } from "@mui/material";
|
|
13
13
|
import { CirclePicker } from "react-color";
|
|
14
14
|
import dayjs from "dayjs";
|
|
15
15
|
import { useDropzone } from "react-dropzone";
|
|
@@ -1254,7 +1254,7 @@ function clsx() {
|
|
|
1254
1254
|
return n;
|
|
1255
1255
|
}
|
|
1256
1256
|
const refType = PropTypes.oneOfType([PropTypes.func, PropTypes.object]);
|
|
1257
|
-
function composeClasses(slots, getUtilityClass, classes = void 0) {
|
|
1257
|
+
function composeClasses$1(slots, getUtilityClass, classes = void 0) {
|
|
1258
1258
|
const output = {};
|
|
1259
1259
|
for (const slotName in slots) {
|
|
1260
1260
|
const slot = slots[slotName];
|
|
@@ -1457,49 +1457,49 @@ function useSlotProps(parameters) {
|
|
|
1457
1457
|
}, ownerState);
|
|
1458
1458
|
return props;
|
|
1459
1459
|
}
|
|
1460
|
-
function formatMuiErrorMessage(code, ...args) {
|
|
1460
|
+
function formatMuiErrorMessage$1(code, ...args) {
|
|
1461
1461
|
const url = new URL(`https://mui.com/production-error/?code=${code}`);
|
|
1462
1462
|
args.forEach((arg2) => url.searchParams.append("args[]", arg2));
|
|
1463
1463
|
return `Minified MUI error #${code}; visit ${url} for the full message.`;
|
|
1464
1464
|
}
|
|
1465
|
-
function capitalize(string) {
|
|
1465
|
+
function capitalize$1(string) {
|
|
1466
1466
|
if (typeof string !== "string") {
|
|
1467
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage(7));
|
|
1467
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage$1(7));
|
|
1468
1468
|
}
|
|
1469
1469
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
1470
1470
|
}
|
|
1471
|
-
function isPlainObject(item) {
|
|
1471
|
+
function isPlainObject$1(item) {
|
|
1472
1472
|
if (typeof item !== "object" || item === null) {
|
|
1473
1473
|
return false;
|
|
1474
1474
|
}
|
|
1475
1475
|
const prototype = Object.getPrototypeOf(item);
|
|
1476
1476
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
|
|
1477
1477
|
}
|
|
1478
|
-
function deepClone(source) {
|
|
1479
|
-
if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
|
|
1478
|
+
function deepClone$1(source) {
|
|
1479
|
+
if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject$1(source)) {
|
|
1480
1480
|
return source;
|
|
1481
1481
|
}
|
|
1482
1482
|
const output = {};
|
|
1483
1483
|
Object.keys(source).forEach((key) => {
|
|
1484
|
-
output[key] = deepClone(source[key]);
|
|
1484
|
+
output[key] = deepClone$1(source[key]);
|
|
1485
1485
|
});
|
|
1486
1486
|
return output;
|
|
1487
1487
|
}
|
|
1488
|
-
function deepmerge(target, source, options = {
|
|
1488
|
+
function deepmerge$1(target, source, options = {
|
|
1489
1489
|
clone: true
|
|
1490
1490
|
}) {
|
|
1491
1491
|
const output = options.clone ? {
|
|
1492
1492
|
...target
|
|
1493
1493
|
} : target;
|
|
1494
|
-
if (isPlainObject(target) && isPlainObject(source)) {
|
|
1494
|
+
if (isPlainObject$1(target) && isPlainObject$1(source)) {
|
|
1495
1495
|
Object.keys(source).forEach((key) => {
|
|
1496
1496
|
if (/* @__PURE__ */ React.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
|
|
1497
1497
|
output[key] = source[key];
|
|
1498
|
-
} else if (isPlainObject(source[key]) && // Avoid prototype pollution
|
|
1499
|
-
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
|
|
1500
|
-
output[key] = deepmerge(target[key], source[key], options);
|
|
1498
|
+
} else if (isPlainObject$1(source[key]) && // Avoid prototype pollution
|
|
1499
|
+
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject$1(target[key])) {
|
|
1500
|
+
output[key] = deepmerge$1(target[key], source[key], options);
|
|
1501
1501
|
} else if (options.clone) {
|
|
1502
|
-
output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
|
|
1502
|
+
output[key] = isPlainObject$1(source[key]) ? deepClone$1(source[key]) : source[key];
|
|
1503
1503
|
} else {
|
|
1504
1504
|
output[key] = source[key];
|
|
1505
1505
|
}
|
|
@@ -1511,7 +1511,7 @@ function merge(acc, item) {
|
|
|
1511
1511
|
if (!item) {
|
|
1512
1512
|
return acc;
|
|
1513
1513
|
}
|
|
1514
|
-
return deepmerge(acc, item, {
|
|
1514
|
+
return deepmerge$1(acc, item, {
|
|
1515
1515
|
clone: false
|
|
1516
1516
|
// No need to clone deep, it's way faster.
|
|
1517
1517
|
});
|
|
@@ -1546,7 +1546,7 @@ function getContainerQuery(theme, shorthand) {
|
|
|
1546
1546
|
if (!matches) {
|
|
1547
1547
|
if (process.env.NODE_ENV !== "production") {
|
|
1548
1548
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
1549
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage(18, `(${shorthand})`));
|
|
1549
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage$1(18, `(${shorthand})`));
|
|
1550
1550
|
}
|
|
1551
1551
|
return null;
|
|
1552
1552
|
}
|
|
@@ -1660,7 +1660,7 @@ function removeUnusedBreakpoints(breakpointKeys, style2) {
|
|
|
1660
1660
|
}
|
|
1661
1661
|
function mergeBreakpointsInOrder(breakpointsInput, ...styles2) {
|
|
1662
1662
|
const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);
|
|
1663
|
-
const mergedOutput = [emptyBreakpoints, ...styles2].reduce((prev2, next2) => deepmerge(prev2, next2), {});
|
|
1663
|
+
const mergedOutput = [emptyBreakpoints, ...styles2].reduce((prev2, next2) => deepmerge$1(prev2, next2), {});
|
|
1664
1664
|
return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);
|
|
1665
1665
|
}
|
|
1666
1666
|
function computeBreakpointsBase(breakpointValues, themeBreakpoints) {
|
|
@@ -1756,7 +1756,7 @@ function style$2(options) {
|
|
|
1756
1756
|
const styleFromPropValue = (propValueFinal) => {
|
|
1757
1757
|
let value = getStyleValue$1(themeMapping, transform, propValueFinal);
|
|
1758
1758
|
if (propValueFinal === value && typeof propValueFinal === "string") {
|
|
1759
|
-
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize(propValueFinal)}`, propValueFinal);
|
|
1759
|
+
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$1(propValueFinal)}`, propValueFinal);
|
|
1760
1760
|
}
|
|
1761
1761
|
if (cssProperty === false) {
|
|
1762
1762
|
return value;
|
|
@@ -2464,7 +2464,7 @@ function unstable_createStyleFunctionSx() {
|
|
|
2464
2464
|
const styleFromPropValue = (propValueFinal) => {
|
|
2465
2465
|
let value = getStyleValue$1(themeMapping, transform, propValueFinal);
|
|
2466
2466
|
if (propValueFinal === value && typeof propValueFinal === "string") {
|
|
2467
|
-
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize(propValueFinal)}`, propValueFinal);
|
|
2467
|
+
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$1(propValueFinal)}`, propValueFinal);
|
|
2468
2468
|
}
|
|
2469
2469
|
if (cssProperty === false) {
|
|
2470
2470
|
return value;
|
|
@@ -2569,7 +2569,7 @@ function extendSxProp$1(props) {
|
|
|
2569
2569
|
} else if (typeof inSx === "function") {
|
|
2570
2570
|
finalSx = (...args) => {
|
|
2571
2571
|
const result = inSx(...args);
|
|
2572
|
-
if (!isPlainObject(result)) {
|
|
2572
|
+
if (!isPlainObject$1(result)) {
|
|
2573
2573
|
return systemProps;
|
|
2574
2574
|
}
|
|
2575
2575
|
return {
|
|
@@ -3716,7 +3716,7 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$2.propTypes = {
|
|
|
3716
3716
|
styles: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object, PropTypes.func])
|
|
3717
3717
|
} : void 0;
|
|
3718
3718
|
/**
|
|
3719
|
-
* @mui/styled-engine v7.3.
|
|
3719
|
+
* @mui/styled-engine v7.3.5
|
|
3720
3720
|
*
|
|
3721
3721
|
* @license MIT
|
|
3722
3722
|
* This source code is licensed under the MIT license found in the
|
|
@@ -3879,7 +3879,7 @@ function createTheme$1(options = {}, ...args) {
|
|
|
3879
3879
|
} = options;
|
|
3880
3880
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
3881
3881
|
const spacing = createSpacing(spacingInput);
|
|
3882
|
-
let muiTheme = deepmerge({
|
|
3882
|
+
let muiTheme = deepmerge$1({
|
|
3883
3883
|
breakpoints,
|
|
3884
3884
|
direction: "ltr",
|
|
3885
3885
|
components: {},
|
|
@@ -3896,7 +3896,7 @@ function createTheme$1(options = {}, ...args) {
|
|
|
3896
3896
|
}, other);
|
|
3897
3897
|
muiTheme = cssContainerQueries(muiTheme);
|
|
3898
3898
|
muiTheme.applyStyles = applyStyles$2;
|
|
3899
|
-
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
|
3899
|
+
muiTheme = args.reduce((acc, argument) => deepmerge$1(acc, argument), muiTheme);
|
|
3900
3900
|
muiTheme.unstable_sxConfig = {
|
|
3901
3901
|
...defaultSxConfig,
|
|
3902
3902
|
...other == null ? void 0 : other.unstable_sxConfig
|
|
@@ -3972,9 +3972,9 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$1.propTypes = {
|
|
|
3972
3972
|
*/
|
|
3973
3973
|
themeId: PropTypes.string
|
|
3974
3974
|
} : void 0;
|
|
3975
|
-
const defaultGenerator = (componentName) => componentName;
|
|
3976
|
-
const createClassNameGenerator = () => {
|
|
3977
|
-
let generate = defaultGenerator;
|
|
3975
|
+
const defaultGenerator$1 = (componentName) => componentName;
|
|
3976
|
+
const createClassNameGenerator$1 = () => {
|
|
3977
|
+
let generate = defaultGenerator$1;
|
|
3978
3978
|
return {
|
|
3979
3979
|
configure(generator) {
|
|
3980
3980
|
generate = generator;
|
|
@@ -3983,11 +3983,11 @@ const createClassNameGenerator = () => {
|
|
|
3983
3983
|
return generate(componentName);
|
|
3984
3984
|
},
|
|
3985
3985
|
reset() {
|
|
3986
|
-
generate = defaultGenerator;
|
|
3986
|
+
generate = defaultGenerator$1;
|
|
3987
3987
|
}
|
|
3988
3988
|
};
|
|
3989
3989
|
};
|
|
3990
|
-
const ClassNameGenerator = createClassNameGenerator();
|
|
3990
|
+
const ClassNameGenerator$1 = createClassNameGenerator$1();
|
|
3991
3991
|
function createBox(options = {}) {
|
|
3992
3992
|
const {
|
|
3993
3993
|
themeId,
|
|
@@ -4015,7 +4015,7 @@ function createBox(options = {}) {
|
|
|
4015
4015
|
});
|
|
4016
4016
|
return Box2;
|
|
4017
4017
|
}
|
|
4018
|
-
const globalStateClasses = {
|
|
4018
|
+
const globalStateClasses$1 = {
|
|
4019
4019
|
active: "active",
|
|
4020
4020
|
checked: "checked",
|
|
4021
4021
|
completed: "completed",
|
|
@@ -4029,16 +4029,9 @@ const globalStateClasses = {
|
|
|
4029
4029
|
required: "required",
|
|
4030
4030
|
selected: "selected"
|
|
4031
4031
|
};
|
|
4032
|
-
function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
|
|
4033
|
-
const globalStateClass = globalStateClasses[slot];
|
|
4034
|
-
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
|
|
4035
|
-
}
|
|
4036
|
-
function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
|
|
4037
|
-
const result = {};
|
|
4038
|
-
slots.forEach((slot) => {
|
|
4039
|
-
result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
|
|
4040
|
-
});
|
|
4041
|
-
return result;
|
|
4032
|
+
function generateUtilityClass$1(componentName, slot, globalStatePrefix = "Mui") {
|
|
4033
|
+
const globalStateClass = globalStateClasses$1[slot];
|
|
4034
|
+
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator$1.generate(componentName)}-${slot}`;
|
|
4042
4035
|
}
|
|
4043
4036
|
function getFunctionComponentName(Component, fallback = "") {
|
|
4044
4037
|
return Component.displayName || Component.name || fallback;
|
|
@@ -4218,7 +4211,7 @@ function createStyled(input = {}) {
|
|
|
4218
4211
|
return processStyle(props, style2, props.theme.modularCssLayers ? layerName : void 0);
|
|
4219
4212
|
};
|
|
4220
4213
|
}
|
|
4221
|
-
if (isPlainObject(style2)) {
|
|
4214
|
+
if (isPlainObject$1(style2)) {
|
|
4222
4215
|
const serialized = preprocessStyles(style2);
|
|
4223
4216
|
return function styleObjectProcessor(props) {
|
|
4224
4217
|
if (!serialized.variants) {
|
|
@@ -4293,7 +4286,7 @@ function createStyled(input = {}) {
|
|
|
4293
4286
|
}
|
|
4294
4287
|
function generateDisplayName(componentName, componentSlot, tag) {
|
|
4295
4288
|
if (componentName) {
|
|
4296
|
-
return `${componentName}${capitalize(componentSlot || "")}`;
|
|
4289
|
+
return `${componentName}${capitalize$1(componentSlot || "")}`;
|
|
4297
4290
|
}
|
|
4298
4291
|
return `Styled(${getDisplayName(tag)})`;
|
|
4299
4292
|
}
|
|
@@ -4325,7 +4318,7 @@ function lowercaseFirstLetter(string) {
|
|
|
4325
4318
|
return string.charAt(0).toLowerCase() + string.slice(1);
|
|
4326
4319
|
}
|
|
4327
4320
|
const styled$1 = createStyled();
|
|
4328
|
-
function resolveProps(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
4321
|
+
function resolveProps$1(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
4329
4322
|
const output = {
|
|
4330
4323
|
...props
|
|
4331
4324
|
};
|
|
@@ -4351,7 +4344,7 @@ function resolveProps(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
|
4351
4344
|
for (const slotKey in defaultSlotProps) {
|
|
4352
4345
|
if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {
|
|
4353
4346
|
const slotPropName = slotKey;
|
|
4354
|
-
output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName], mergeClassNameAndStyle);
|
|
4347
|
+
output[propName][slotPropName] = resolveProps$1(defaultSlotProps[slotPropName], slotProps[slotPropName], mergeClassNameAndStyle);
|
|
4355
4348
|
}
|
|
4356
4349
|
}
|
|
4357
4350
|
}
|
|
@@ -4378,7 +4371,7 @@ function getThemeProps$1(params) {
|
|
|
4378
4371
|
if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {
|
|
4379
4372
|
return props;
|
|
4380
4373
|
}
|
|
4381
|
-
return resolveProps(theme.components[name].defaultProps, props);
|
|
4374
|
+
return resolveProps$1(theme.components[name].defaultProps, props);
|
|
4382
4375
|
}
|
|
4383
4376
|
function useThemeProps$3({
|
|
4384
4377
|
props,
|
|
@@ -4396,7 +4389,7 @@ function useThemeProps$3({
|
|
|
4396
4389
|
props
|
|
4397
4390
|
});
|
|
4398
4391
|
}
|
|
4399
|
-
const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
4392
|
+
const useEnhancedEffect$1 = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
4400
4393
|
function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
|
|
4401
4394
|
const [match2, setMatch] = React.useState(() => {
|
|
4402
4395
|
if (noSsr && matchMedia) {
|
|
@@ -4407,7 +4400,7 @@ function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSs
|
|
|
4407
4400
|
}
|
|
4408
4401
|
return defaultMatches;
|
|
4409
4402
|
});
|
|
4410
|
-
useEnhancedEffect(() => {
|
|
4403
|
+
useEnhancedEffect$1(() => {
|
|
4411
4404
|
if (!matchMedia) {
|
|
4412
4405
|
return void 0;
|
|
4413
4406
|
}
|
|
@@ -4423,10 +4416,10 @@ function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSs
|
|
|
4423
4416
|
}, [query, matchMedia]);
|
|
4424
4417
|
return match2;
|
|
4425
4418
|
}
|
|
4426
|
-
const safeReact$
|
|
4419
|
+
const safeReact$2 = {
|
|
4427
4420
|
...React
|
|
4428
4421
|
};
|
|
4429
|
-
const maybeReactUseSyncExternalStore = safeReact$
|
|
4422
|
+
const maybeReactUseSyncExternalStore = safeReact$2.useSyncExternalStore;
|
|
4430
4423
|
function useMediaQueryNew(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
|
|
4431
4424
|
const getDefaultSnapshot = React.useCallback(() => defaultMatches, [defaultMatches]);
|
|
4432
4425
|
const getServerSnapshot = React.useMemo(() => {
|
|
@@ -4541,7 +4534,7 @@ function decomposeColor(color2) {
|
|
|
4541
4534
|
const type = color2.substring(0, marker);
|
|
4542
4535
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(type)) {
|
|
4543
4536
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${color2}\` color.
|
|
4544
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage(9, color2));
|
|
4537
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage$1(9, color2));
|
|
4545
4538
|
}
|
|
4546
4539
|
let values2 = color2.substring(marker + 1, color2.length - 1);
|
|
4547
4540
|
let colorSpace;
|
|
@@ -4553,7 +4546,7 @@ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
|
|
4553
4546
|
}
|
|
4554
4547
|
if (!["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(colorSpace)) {
|
|
4555
4548
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${colorSpace}\` color space.
|
|
4556
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage(10, colorSpace));
|
|
4549
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage$1(10, colorSpace));
|
|
4557
4550
|
}
|
|
4558
4551
|
} else {
|
|
4559
4552
|
values2 = values2.split(",");
|
|
@@ -4727,14 +4720,14 @@ function private_safeEmphasize(color2, coefficient, warning) {
|
|
|
4727
4720
|
return color2;
|
|
4728
4721
|
}
|
|
4729
4722
|
}
|
|
4730
|
-
const specialProperty = "exact-prop: ";
|
|
4731
|
-
function exactProp(propTypes2) {
|
|
4723
|
+
const specialProperty$1 = "exact-prop: ";
|
|
4724
|
+
function exactProp$1(propTypes2) {
|
|
4732
4725
|
if (process.env.NODE_ENV === "production") {
|
|
4733
4726
|
return propTypes2;
|
|
4734
4727
|
}
|
|
4735
4728
|
return {
|
|
4736
4729
|
...propTypes2,
|
|
4737
|
-
[specialProperty]: (props) => {
|
|
4730
|
+
[specialProperty$1]: (props) => {
|
|
4738
4731
|
const unsupportedProps = Object.keys(props).filter((prop) => !propTypes2.hasOwnProperty(prop));
|
|
4739
4732
|
if (unsupportedProps.length > 0) {
|
|
4740
4733
|
return new Error(`The following props are not supported: ${unsupportedProps.map((prop) => `\`${prop}\``).join(", ")}. Please remove them.`);
|
|
@@ -4807,7 +4800,7 @@ process.env.NODE_ENV !== "production" ? ThemeProvider$2.propTypes = {
|
|
|
4807
4800
|
theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired
|
|
4808
4801
|
} : void 0;
|
|
4809
4802
|
if (process.env.NODE_ENV !== "production") {
|
|
4810
|
-
process.env.NODE_ENV !== "production" ? ThemeProvider$2.propTypes = exactProp(ThemeProvider$2.propTypes) : void 0;
|
|
4803
|
+
process.env.NODE_ENV !== "production" ? ThemeProvider$2.propTypes = exactProp$1(ThemeProvider$2.propTypes) : void 0;
|
|
4811
4804
|
}
|
|
4812
4805
|
const PropsContext = /* @__PURE__ */ React.createContext(void 0);
|
|
4813
4806
|
function DefaultPropsProvider({
|
|
@@ -4844,10 +4837,10 @@ function getThemeProps(params) {
|
|
|
4844
4837
|
}
|
|
4845
4838
|
const config2 = theme.components[name];
|
|
4846
4839
|
if (config2.defaultProps) {
|
|
4847
|
-
return resolveProps(config2.defaultProps, props, theme.components.mergeClassNameAndStyle);
|
|
4840
|
+
return resolveProps$1(config2.defaultProps, props, theme.components.mergeClassNameAndStyle);
|
|
4848
4841
|
}
|
|
4849
4842
|
if (!config2.styleOverrides && !config2.variants) {
|
|
4850
|
-
return resolveProps(config2, props, theme.components.mergeClassNameAndStyle);
|
|
4843
|
+
return resolveProps$1(config2, props, theme.components.mergeClassNameAndStyle);
|
|
4851
4844
|
}
|
|
4852
4845
|
return props;
|
|
4853
4846
|
}
|
|
@@ -4864,32 +4857,32 @@ function useDefaultProps$1({
|
|
|
4864
4857
|
}
|
|
4865
4858
|
});
|
|
4866
4859
|
}
|
|
4867
|
-
let globalId = 0;
|
|
4868
|
-
function useGlobalId(idOverride) {
|
|
4860
|
+
let globalId$1 = 0;
|
|
4861
|
+
function useGlobalId$1(idOverride) {
|
|
4869
4862
|
const [defaultId, setDefaultId] = React.useState(idOverride);
|
|
4870
4863
|
const id = idOverride || defaultId;
|
|
4871
4864
|
React.useEffect(() => {
|
|
4872
4865
|
if (defaultId == null) {
|
|
4873
|
-
globalId += 1;
|
|
4874
|
-
setDefaultId(`mui-${globalId}`);
|
|
4866
|
+
globalId$1 += 1;
|
|
4867
|
+
setDefaultId(`mui-${globalId$1}`);
|
|
4875
4868
|
}
|
|
4876
4869
|
}, [defaultId]);
|
|
4877
4870
|
return id;
|
|
4878
4871
|
}
|
|
4879
|
-
const safeReact = {
|
|
4872
|
+
const safeReact$1 = {
|
|
4880
4873
|
...React
|
|
4881
4874
|
};
|
|
4882
|
-
const maybeReactUseId = safeReact.useId;
|
|
4883
|
-
function useId(idOverride) {
|
|
4884
|
-
if (maybeReactUseId !== void 0) {
|
|
4885
|
-
const reactId = maybeReactUseId();
|
|
4886
|
-
return
|
|
4875
|
+
const maybeReactUseId$1 = safeReact$1.useId;
|
|
4876
|
+
function useId$1(idOverride) {
|
|
4877
|
+
if (maybeReactUseId$1 !== void 0) {
|
|
4878
|
+
const reactId = maybeReactUseId$1();
|
|
4879
|
+
return reactId;
|
|
4887
4880
|
}
|
|
4888
|
-
return useGlobalId(idOverride);
|
|
4881
|
+
return useGlobalId$1(idOverride);
|
|
4889
4882
|
}
|
|
4890
4883
|
function useLayerOrder(theme) {
|
|
4891
4884
|
const upperTheme = useTheme$3();
|
|
4892
|
-
const id = useId() || "";
|
|
4885
|
+
const id = useId$1() || "";
|
|
4893
4886
|
const {
|
|
4894
4887
|
modularCssLayers
|
|
4895
4888
|
} = theme;
|
|
@@ -4901,7 +4894,7 @@ function useLayerOrder(theme) {
|
|
|
4901
4894
|
} else {
|
|
4902
4895
|
layerOrder = `@layer ${layerOrder};`;
|
|
4903
4896
|
}
|
|
4904
|
-
useEnhancedEffect(() => {
|
|
4897
|
+
useEnhancedEffect$1(() => {
|
|
4905
4898
|
var _a, _b;
|
|
4906
4899
|
const head = document.querySelector("head");
|
|
4907
4900
|
if (!head) {
|
|
@@ -5001,7 +4994,7 @@ process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = {
|
|
|
5001
4994
|
themeId: PropTypes.string
|
|
5002
4995
|
} : void 0;
|
|
5003
4996
|
if (process.env.NODE_ENV !== "production") {
|
|
5004
|
-
process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = exactProp(ThemeProvider$1.propTypes) : void 0;
|
|
4997
|
+
process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = exactProp$1(ThemeProvider$1.propTypes) : void 0;
|
|
5005
4998
|
}
|
|
5006
4999
|
const arg = {
|
|
5007
5000
|
theme: void 0
|
|
@@ -5494,7 +5487,7 @@ function createCssVarsProvider(options) {
|
|
|
5494
5487
|
return resolveTheme ? resolveTheme(theme) : theme;
|
|
5495
5488
|
}, [restThemeProp, calculatedColorScheme, components, colorSchemes, cssVarPrefix]);
|
|
5496
5489
|
const colorSchemeSelector = restThemeProp.colorSchemeSelector;
|
|
5497
|
-
useEnhancedEffect(() => {
|
|
5490
|
+
useEnhancedEffect$1(() => {
|
|
5498
5491
|
if (colorScheme && colorSchemeNode && colorSchemeSelector && colorSchemeSelector !== "media") {
|
|
5499
5492
|
const selector = colorSchemeSelector;
|
|
5500
5493
|
let rule = colorSchemeSelector;
|
|
@@ -5786,7 +5779,7 @@ function prepareCssVars(theme, parserConfig = {}) {
|
|
|
5786
5779
|
css: css3,
|
|
5787
5780
|
varsWithDefaults
|
|
5788
5781
|
} = cssVarsParser(scheme, parserConfig);
|
|
5789
|
-
themeVars = deepmerge(themeVars, varsWithDefaults);
|
|
5782
|
+
themeVars = deepmerge$1(themeVars, varsWithDefaults);
|
|
5790
5783
|
colorSchemesMap[key] = {
|
|
5791
5784
|
css: css3,
|
|
5792
5785
|
vars
|
|
@@ -5798,7 +5791,7 @@ function prepareCssVars(theme, parserConfig = {}) {
|
|
|
5798
5791
|
vars,
|
|
5799
5792
|
varsWithDefaults
|
|
5800
5793
|
} = cssVarsParser(defaultScheme, parserConfig);
|
|
5801
|
-
themeVars = deepmerge(themeVars, varsWithDefaults);
|
|
5794
|
+
themeVars = deepmerge$1(themeVars, varsWithDefaults);
|
|
5802
5795
|
colorSchemesMap[defaultColorScheme] = {
|
|
5803
5796
|
css: css3,
|
|
5804
5797
|
vars
|
|
@@ -5844,7 +5837,7 @@ function prepareCssVars(theme, parserConfig = {}) {
|
|
|
5844
5837
|
Object.entries(colorSchemesMap).forEach(([, {
|
|
5845
5838
|
vars: schemeVars
|
|
5846
5839
|
}]) => {
|
|
5847
|
-
vars = deepmerge(vars, schemeVars);
|
|
5840
|
+
vars = deepmerge$1(vars, schemeVars);
|
|
5848
5841
|
});
|
|
5849
5842
|
return vars;
|
|
5850
5843
|
};
|
|
@@ -5942,6 +5935,26 @@ function createGetColorSchemeSelector(selector) {
|
|
|
5942
5935
|
return "&";
|
|
5943
5936
|
};
|
|
5944
5937
|
}
|
|
5938
|
+
function composeClasses(slots, getUtilityClass, classes = void 0) {
|
|
5939
|
+
const output = {};
|
|
5940
|
+
for (const slotName in slots) {
|
|
5941
|
+
const slot = slots[slotName];
|
|
5942
|
+
let buffer = "";
|
|
5943
|
+
let start2 = true;
|
|
5944
|
+
for (let i = 0; i < slot.length; i += 1) {
|
|
5945
|
+
const value = slot[i];
|
|
5946
|
+
if (value) {
|
|
5947
|
+
buffer += (start2 === true ? "" : " ") + getUtilityClass(value);
|
|
5948
|
+
start2 = false;
|
|
5949
|
+
if (classes && classes[value]) {
|
|
5950
|
+
buffer += " " + classes[value];
|
|
5951
|
+
}
|
|
5952
|
+
}
|
|
5953
|
+
}
|
|
5954
|
+
output[slotName] = buffer;
|
|
5955
|
+
}
|
|
5956
|
+
return output;
|
|
5957
|
+
}
|
|
5945
5958
|
const defaultTheme$4 = createTheme$1();
|
|
5946
5959
|
const defaultCreateStyledComponent$2 = styled$1("div", {
|
|
5947
5960
|
name: "MuiContainer",
|
|
@@ -5950,7 +5963,7 @@ const defaultCreateStyledComponent$2 = styled$1("div", {
|
|
|
5950
5963
|
const {
|
|
5951
5964
|
ownerState
|
|
5952
5965
|
} = props;
|
|
5953
|
-
return [styles2.root, styles2[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
|
|
5966
|
+
return [styles2.root, styles2[`maxWidth${capitalize$1(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
|
|
5954
5967
|
}
|
|
5955
5968
|
});
|
|
5956
5969
|
const useThemePropsDefault$2 = (inProps) => useThemeProps$3({
|
|
@@ -5960,7 +5973,7 @@ const useThemePropsDefault$2 = (inProps) => useThemeProps$3({
|
|
|
5960
5973
|
});
|
|
5961
5974
|
const useUtilityClasses$1W = (ownerState, componentName) => {
|
|
5962
5975
|
const getContainerUtilityClass2 = (slot) => {
|
|
5963
|
-
return generateUtilityClass(componentName, slot);
|
|
5976
|
+
return generateUtilityClass$1(componentName, slot);
|
|
5964
5977
|
};
|
|
5965
5978
|
const {
|
|
5966
5979
|
classes,
|
|
@@ -5969,7 +5982,7 @@ const useUtilityClasses$1W = (ownerState, componentName) => {
|
|
|
5969
5982
|
maxWidth: maxWidth2
|
|
5970
5983
|
} = ownerState;
|
|
5971
5984
|
const slots = {
|
|
5972
|
-
root: ["root", maxWidth2 && `maxWidth${capitalize(String(maxWidth2))}`, fixed && "fixed", disableGutters && "disableGutters"]
|
|
5985
|
+
root: ["root", maxWidth2 && `maxWidth${capitalize$1(String(maxWidth2))}`, fixed && "fixed", disableGutters && "disableGutters"]
|
|
5973
5986
|
};
|
|
5974
5987
|
return composeClasses(slots, getContainerUtilityClass2, classes);
|
|
5975
5988
|
};
|
|
@@ -6072,7 +6085,7 @@ function createContainer(options = {}) {
|
|
|
6072
6085
|
} : void 0;
|
|
6073
6086
|
return Container2;
|
|
6074
6087
|
}
|
|
6075
|
-
function isMuiElement(element, muiNames) {
|
|
6088
|
+
function isMuiElement$1(element, muiNames) {
|
|
6076
6089
|
var _a, _b, _c;
|
|
6077
6090
|
return /* @__PURE__ */ React.isValidElement(element) && muiNames.indexOf(
|
|
6078
6091
|
// For server components `muiName` is available in element.type._payload.value.muiName
|
|
@@ -6376,7 +6389,7 @@ function createGrid(options = {}) {
|
|
|
6376
6389
|
const slots = {
|
|
6377
6390
|
root: ["root", container && "container", wrap !== "wrap" && `wrap-xs-${String(wrap)}`, ...generateDirectionClasses(direction), ...generateSizeClassNames(size), ...container ? generateSpacingClassNames(spacing, theme.breakpoints.keys[0]) : []]
|
|
6378
6391
|
};
|
|
6379
|
-
return composeClasses(slots, (slot) => generateUtilityClass(componentName, slot), {});
|
|
6392
|
+
return composeClasses(slots, (slot) => generateUtilityClass$1(componentName, slot), {});
|
|
6380
6393
|
};
|
|
6381
6394
|
function parseResponsiveProp(propValue, breakpoints, shouldUseValue = () => true) {
|
|
6382
6395
|
const parsedProp = {};
|
|
@@ -6451,7 +6464,7 @@ function createGrid(options = {}) {
|
|
|
6451
6464
|
...other,
|
|
6452
6465
|
children: React.Children.map(children, (child) => {
|
|
6453
6466
|
var _a;
|
|
6454
|
-
if (/* @__PURE__ */ React.isValidElement(child) && isMuiElement(child, ["Grid"]) && container && child.props.container) {
|
|
6467
|
+
if (/* @__PURE__ */ React.isValidElement(child) && isMuiElement$1(child, ["Grid"]) && container && child.props.container) {
|
|
6455
6468
|
return /* @__PURE__ */ React.cloneElement(child, {
|
|
6456
6469
|
unstable_level: ((_a = child.props) == null ? void 0 : _a.unstable_level) ?? level + 1
|
|
6457
6470
|
});
|
|
@@ -6568,7 +6581,7 @@ const style = ({
|
|
|
6568
6581
|
}
|
|
6569
6582
|
};
|
|
6570
6583
|
};
|
|
6571
|
-
styles2 = deepmerge(styles2, handleBreakpoints({
|
|
6584
|
+
styles2 = deepmerge$1(styles2, handleBreakpoints({
|
|
6572
6585
|
theme
|
|
6573
6586
|
}, spacingValues, styleFromPropValue));
|
|
6574
6587
|
}
|
|
@@ -6586,7 +6599,7 @@ function createStack(options = {}) {
|
|
|
6586
6599
|
const slots = {
|
|
6587
6600
|
root: ["root"]
|
|
6588
6601
|
};
|
|
6589
|
-
return composeClasses(slots, (slot) => generateUtilityClass(componentName, slot), {});
|
|
6602
|
+
return composeClasses(slots, (slot) => generateUtilityClass$1(componentName, slot), {});
|
|
6590
6603
|
};
|
|
6591
6604
|
const StackRoot = createStyledComponent(style);
|
|
6592
6605
|
const Stack2 = /* @__PURE__ */ React.forwardRef(function Grid2(inProps, ref) {
|
|
@@ -6626,6 +6639,50 @@ function createStack(options = {}) {
|
|
|
6626
6639
|
} : void 0;
|
|
6627
6640
|
return Stack2;
|
|
6628
6641
|
}
|
|
6642
|
+
function formatMuiErrorMessage(code, ...args) {
|
|
6643
|
+
const url = new URL(`https://mui.com/production-error/?code=${code}`);
|
|
6644
|
+
args.forEach((arg2) => url.searchParams.append("args[]", arg2));
|
|
6645
|
+
return `Minified MUI error #${code}; visit ${url} for the full message.`;
|
|
6646
|
+
}
|
|
6647
|
+
function isPlainObject(item) {
|
|
6648
|
+
if (typeof item !== "object" || item === null) {
|
|
6649
|
+
return false;
|
|
6650
|
+
}
|
|
6651
|
+
const prototype = Object.getPrototypeOf(item);
|
|
6652
|
+
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
|
|
6653
|
+
}
|
|
6654
|
+
function deepClone(source) {
|
|
6655
|
+
if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
|
|
6656
|
+
return source;
|
|
6657
|
+
}
|
|
6658
|
+
const output = {};
|
|
6659
|
+
Object.keys(source).forEach((key) => {
|
|
6660
|
+
output[key] = deepClone(source[key]);
|
|
6661
|
+
});
|
|
6662
|
+
return output;
|
|
6663
|
+
}
|
|
6664
|
+
function deepmerge(target, source, options = {
|
|
6665
|
+
clone: true
|
|
6666
|
+
}) {
|
|
6667
|
+
const output = options.clone ? {
|
|
6668
|
+
...target
|
|
6669
|
+
} : target;
|
|
6670
|
+
if (isPlainObject(target) && isPlainObject(source)) {
|
|
6671
|
+
Object.keys(source).forEach((key) => {
|
|
6672
|
+
if (/* @__PURE__ */ React.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
|
|
6673
|
+
output[key] = source[key];
|
|
6674
|
+
} else if (isPlainObject(source[key]) && // Avoid prototype pollution
|
|
6675
|
+
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
|
|
6676
|
+
output[key] = deepmerge(target[key], source[key], options);
|
|
6677
|
+
} else if (options.clone) {
|
|
6678
|
+
output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
|
|
6679
|
+
} else {
|
|
6680
|
+
output[key] = source[key];
|
|
6681
|
+
}
|
|
6682
|
+
});
|
|
6683
|
+
}
|
|
6684
|
+
return output;
|
|
6685
|
+
}
|
|
6629
6686
|
const common = {
|
|
6630
6687
|
black: "#000",
|
|
6631
6688
|
white: "#fff"
|
|
@@ -7079,6 +7136,40 @@ function prepareTypographyVars(typography) {
|
|
|
7079
7136
|
});
|
|
7080
7137
|
return vars;
|
|
7081
7138
|
}
|
|
7139
|
+
const defaultGenerator = (componentName) => componentName;
|
|
7140
|
+
const createClassNameGenerator = () => {
|
|
7141
|
+
let generate = defaultGenerator;
|
|
7142
|
+
return {
|
|
7143
|
+
configure(generator) {
|
|
7144
|
+
generate = generator;
|
|
7145
|
+
},
|
|
7146
|
+
generate(componentName) {
|
|
7147
|
+
return generate(componentName);
|
|
7148
|
+
},
|
|
7149
|
+
reset() {
|
|
7150
|
+
generate = defaultGenerator;
|
|
7151
|
+
}
|
|
7152
|
+
};
|
|
7153
|
+
};
|
|
7154
|
+
const ClassNameGenerator = createClassNameGenerator();
|
|
7155
|
+
const globalStateClasses = {
|
|
7156
|
+
active: "active",
|
|
7157
|
+
checked: "checked",
|
|
7158
|
+
completed: "completed",
|
|
7159
|
+
disabled: "disabled",
|
|
7160
|
+
error: "error",
|
|
7161
|
+
expanded: "expanded",
|
|
7162
|
+
focused: "focused",
|
|
7163
|
+
focusVisible: "focusVisible",
|
|
7164
|
+
open: "open",
|
|
7165
|
+
readOnly: "readOnly",
|
|
7166
|
+
required: "required",
|
|
7167
|
+
selected: "selected"
|
|
7168
|
+
};
|
|
7169
|
+
function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
|
|
7170
|
+
const globalStateClass = globalStateClasses[slot];
|
|
7171
|
+
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
|
|
7172
|
+
}
|
|
7082
7173
|
function createMixins(breakpoints, mixins) {
|
|
7083
7174
|
return {
|
|
7084
7175
|
toolbar: {
|
|
@@ -8127,6 +8218,12 @@ function animate(property, element, to, options = {}, cb = () => {
|
|
|
8127
8218
|
requestAnimationFrame(step);
|
|
8128
8219
|
return cancel;
|
|
8129
8220
|
}
|
|
8221
|
+
function capitalize(string) {
|
|
8222
|
+
if (typeof string !== "string") {
|
|
8223
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage(7));
|
|
8224
|
+
}
|
|
8225
|
+
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
8226
|
+
}
|
|
8130
8227
|
function createChainedFunction(...funcs) {
|
|
8131
8228
|
return funcs.reduce((acc, func) => {
|
|
8132
8229
|
if (func == null) {
|
|
@@ -8139,6 +8236,13 @@ function createChainedFunction(...funcs) {
|
|
|
8139
8236
|
}, () => {
|
|
8140
8237
|
});
|
|
8141
8238
|
}
|
|
8239
|
+
function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
|
|
8240
|
+
const result = {};
|
|
8241
|
+
slots.forEach((slot) => {
|
|
8242
|
+
result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
|
|
8243
|
+
});
|
|
8244
|
+
return result;
|
|
8245
|
+
}
|
|
8142
8246
|
function getSvgIconUtilityClass(slot) {
|
|
8143
8247
|
return generateUtilityClass("MuiSvgIcon", slot);
|
|
8144
8248
|
}
|
|
@@ -8152,7 +8256,7 @@ const useUtilityClasses$1V = (ownerState) => {
|
|
|
8152
8256
|
const slots = {
|
|
8153
8257
|
root: ["root", color2 !== "inherit" && `color${capitalize(color2)}`, `fontSize${capitalize(fontSize)}`]
|
|
8154
8258
|
};
|
|
8155
|
-
return composeClasses(slots, getSvgIconUtilityClass, classes);
|
|
8259
|
+
return composeClasses$1(slots, getSvgIconUtilityClass, classes);
|
|
8156
8260
|
};
|
|
8157
8261
|
const SvgIconRoot = styled("svg", {
|
|
8158
8262
|
name: "MuiSvgIcon",
|
|
@@ -8394,6 +8498,15 @@ function createSvgIcon(path, displayName) {
|
|
|
8394
8498
|
Component.muiName = SvgIcon.muiName;
|
|
8395
8499
|
return /* @__PURE__ */ React.memo(/* @__PURE__ */ React.forwardRef(Component));
|
|
8396
8500
|
}
|
|
8501
|
+
function isMuiElement(element, muiNames) {
|
|
8502
|
+
var _a, _b, _c;
|
|
8503
|
+
return /* @__PURE__ */ React.isValidElement(element) && muiNames.indexOf(
|
|
8504
|
+
// For server components `muiName` is available in element.type._payload.value.muiName
|
|
8505
|
+
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
8506
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
8507
|
+
element.type.muiName ?? ((_c = (_b = (_a = element.type) == null ? void 0 : _a._payload) == null ? void 0 : _b.value) == null ? void 0 : _c.muiName)
|
|
8508
|
+
) !== -1;
|
|
8509
|
+
}
|
|
8397
8510
|
function ownerDocument(node2) {
|
|
8398
8511
|
return node2 && node2.ownerDocument || document;
|
|
8399
8512
|
}
|
|
@@ -8431,6 +8544,30 @@ function setRef(ref, value) {
|
|
|
8431
8544
|
ref.current = value;
|
|
8432
8545
|
}
|
|
8433
8546
|
}
|
|
8547
|
+
const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
8548
|
+
let globalId = 0;
|
|
8549
|
+
function useGlobalId(idOverride) {
|
|
8550
|
+
const [defaultId, setDefaultId] = React.useState(idOverride);
|
|
8551
|
+
const id = idOverride || defaultId;
|
|
8552
|
+
React.useEffect(() => {
|
|
8553
|
+
if (defaultId == null) {
|
|
8554
|
+
globalId += 1;
|
|
8555
|
+
setDefaultId(`mui-${globalId}`);
|
|
8556
|
+
}
|
|
8557
|
+
}, [defaultId]);
|
|
8558
|
+
return id;
|
|
8559
|
+
}
|
|
8560
|
+
const safeReact = {
|
|
8561
|
+
...React
|
|
8562
|
+
};
|
|
8563
|
+
const maybeReactUseId = safeReact.useId;
|
|
8564
|
+
function useId(idOverride) {
|
|
8565
|
+
if (maybeReactUseId !== void 0) {
|
|
8566
|
+
const reactId = maybeReactUseId();
|
|
8567
|
+
return idOverride ?? reactId;
|
|
8568
|
+
}
|
|
8569
|
+
return useGlobalId(idOverride);
|
|
8570
|
+
}
|
|
8434
8571
|
function unsupportedProp(props, propName, componentName, location, propFullName) {
|
|
8435
8572
|
if (process.env.NODE_ENV === "production") {
|
|
8436
8573
|
return null;
|
|
@@ -10125,7 +10262,7 @@ const useUtilityClasses$1U = (ownerState) => {
|
|
|
10125
10262
|
const slots = {
|
|
10126
10263
|
root: ["root", disabled && "disabled", focusVisible && "focusVisible"]
|
|
10127
10264
|
};
|
|
10128
|
-
const composedClasses = composeClasses(slots, getButtonBaseUtilityClass, classes);
|
|
10265
|
+
const composedClasses = composeClasses$1(slots, getButtonBaseUtilityClass, classes);
|
|
10129
10266
|
if (focusVisible && focusVisibleClassName) {
|
|
10130
10267
|
composedClasses.root += ` ${focusVisibleClassName}`;
|
|
10131
10268
|
}
|
|
@@ -10543,7 +10680,7 @@ const useUtilityClasses$1T = (ownerState) => {
|
|
|
10543
10680
|
const slots = {
|
|
10544
10681
|
root: ["root", orientation, disabled && "disabled"]
|
|
10545
10682
|
};
|
|
10546
|
-
return composeClasses(slots, getTabScrollButtonUtilityClass, classes);
|
|
10683
|
+
return composeClasses$1(slots, getTabScrollButtonUtilityClass, classes);
|
|
10547
10684
|
};
|
|
10548
10685
|
const TabScrollButtonRoot = styled(ButtonBase, {
|
|
10549
10686
|
name: "MuiTabScrollButton",
|
|
@@ -10800,7 +10937,7 @@ const useUtilityClasses$1S = (ownerState) => {
|
|
|
10800
10937
|
scrollableX: [scrollableX && "scrollableX"],
|
|
10801
10938
|
hideScrollbar: [hideScrollbar && "hideScrollbar"]
|
|
10802
10939
|
};
|
|
10803
|
-
return composeClasses(slots, getTabsUtilityClass, classes);
|
|
10940
|
+
return composeClasses$1(slots, getTabsUtilityClass, classes);
|
|
10804
10941
|
};
|
|
10805
10942
|
const TabsRoot = styled("div", {
|
|
10806
10943
|
name: "MuiTabs",
|
|
@@ -12086,7 +12223,7 @@ const useUtilityClasses$1R = (ownerState) => {
|
|
|
12086
12223
|
const slots = {
|
|
12087
12224
|
root: ["root", hidden && "hidden"]
|
|
12088
12225
|
};
|
|
12089
|
-
return composeClasses(slots, getTabPanelUtilityClass, classes);
|
|
12226
|
+
return composeClasses$1(slots, getTabPanelUtilityClass, classes);
|
|
12090
12227
|
};
|
|
12091
12228
|
const TabPanelRoot = styled("div", {
|
|
12092
12229
|
name: "MuiTabPanel",
|
|
@@ -12191,7 +12328,7 @@ const useUtilityClasses$1Q = (ownerState) => {
|
|
|
12191
12328
|
wrapper: ["wrapper", `${orientation}`],
|
|
12192
12329
|
wrapperInner: ["wrapperInner", `${orientation}`]
|
|
12193
12330
|
};
|
|
12194
|
-
return composeClasses(slots, getCollapseUtilityClass, classes);
|
|
12331
|
+
return composeClasses$1(slots, getCollapseUtilityClass, classes);
|
|
12195
12332
|
};
|
|
12196
12333
|
const CollapseRoot = styled("div", {
|
|
12197
12334
|
name: "MuiCollapse",
|
|
@@ -12615,7 +12752,7 @@ const useUtilityClasses$1P = (ownerState) => {
|
|
|
12615
12752
|
const slots = {
|
|
12616
12753
|
root: ["root", variant, !square && "rounded", variant === "elevation" && `elevation${elevation}`]
|
|
12617
12754
|
};
|
|
12618
|
-
return composeClasses(slots, getPaperUtilityClass, classes);
|
|
12755
|
+
return composeClasses$1(slots, getPaperUtilityClass, classes);
|
|
12619
12756
|
};
|
|
12620
12757
|
const PaperRoot = styled("div", {
|
|
12621
12758
|
name: "MuiPaper",
|
|
@@ -12781,7 +12918,7 @@ const useUtilityClasses$1O = (ownerState) => {
|
|
|
12781
12918
|
heading: ["heading"],
|
|
12782
12919
|
region: ["region"]
|
|
12783
12920
|
};
|
|
12784
|
-
return composeClasses(slots, getAccordionUtilityClass, classes);
|
|
12921
|
+
return composeClasses$1(slots, getAccordionUtilityClass, classes);
|
|
12785
12922
|
};
|
|
12786
12923
|
const AccordionRoot = styled(Paper, {
|
|
12787
12924
|
name: "MuiAccordion",
|
|
@@ -13102,7 +13239,7 @@ const useUtilityClasses$1N = (ownerState) => {
|
|
|
13102
13239
|
const slots = {
|
|
13103
13240
|
root: ["root", !disableSpacing && "spacing"]
|
|
13104
13241
|
};
|
|
13105
|
-
return composeClasses(slots, getAccordionActionsUtilityClass, classes);
|
|
13242
|
+
return composeClasses$1(slots, getAccordionActionsUtilityClass, classes);
|
|
13106
13243
|
};
|
|
13107
13244
|
const AccordionActionsRoot = styled("div", {
|
|
13108
13245
|
name: "MuiAccordionActions",
|
|
@@ -13187,7 +13324,7 @@ const useUtilityClasses$1M = (ownerState) => {
|
|
|
13187
13324
|
const slots = {
|
|
13188
13325
|
root: ["root"]
|
|
13189
13326
|
};
|
|
13190
|
-
return composeClasses(slots, getAccordionDetailsUtilityClass, classes);
|
|
13327
|
+
return composeClasses$1(slots, getAccordionDetailsUtilityClass, classes);
|
|
13191
13328
|
};
|
|
13192
13329
|
const AccordionDetailsRoot = styled("div", {
|
|
13193
13330
|
name: "MuiAccordionDetails",
|
|
@@ -13254,7 +13391,7 @@ const useUtilityClasses$1L = (ownerState) => {
|
|
|
13254
13391
|
content: ["content", expanded && "expanded", !disableGutters && "contentGutters"],
|
|
13255
13392
|
expandIconWrapper: ["expandIconWrapper", expanded && "expanded"]
|
|
13256
13393
|
};
|
|
13257
|
-
return composeClasses(slots, getAccordionSummaryUtilityClass, classes);
|
|
13394
|
+
return composeClasses$1(slots, getAccordionSummaryUtilityClass, classes);
|
|
13258
13395
|
};
|
|
13259
13396
|
const AccordionSummaryRoot = styled(ButtonBase, {
|
|
13260
13397
|
name: "MuiAccordionSummary",
|
|
@@ -13519,7 +13656,7 @@ const useUtilityClasses$1K = (ownerState) => {
|
|
|
13519
13656
|
const slots = {
|
|
13520
13657
|
root: ["root", variant, ownerState.align !== "inherit" && `align${capitalize(align)}`, gutterBottom && "gutterBottom", noWrap && "noWrap", paragraph && "paragraph"]
|
|
13521
13658
|
};
|
|
13522
|
-
return composeClasses(slots, getTypographyUtilityClass, classes);
|
|
13659
|
+
return composeClasses$1(slots, getTypographyUtilityClass, classes);
|
|
13523
13660
|
};
|
|
13524
13661
|
const TypographyRoot = styled("span", {
|
|
13525
13662
|
name: "MuiTypography",
|
|
@@ -13762,7 +13899,7 @@ const useUtilityClasses$1J = (ownerState) => {
|
|
|
13762
13899
|
const slots = {
|
|
13763
13900
|
root: ["root"]
|
|
13764
13901
|
};
|
|
13765
|
-
return composeClasses(slots, getAlertTitleUtilityClass, classes);
|
|
13902
|
+
return composeClasses$1(slots, getAlertTitleUtilityClass, classes);
|
|
13766
13903
|
};
|
|
13767
13904
|
const AlertTitleRoot = styled(Typography, {
|
|
13768
13905
|
name: "MuiAlertTitle",
|
|
@@ -13830,7 +13967,7 @@ const useUtilityClasses$1I = (ownerState) => {
|
|
|
13830
13967
|
const slots = {
|
|
13831
13968
|
root: ["root", `color${capitalize(color2)}`, `position${capitalize(position2)}`]
|
|
13832
13969
|
};
|
|
13833
|
-
return composeClasses(slots, getAppBarUtilityClass, classes);
|
|
13970
|
+
return composeClasses$1(slots, getAppBarUtilityClass, classes);
|
|
13834
13971
|
};
|
|
13835
13972
|
const joinVars = (var1, var2) => var1 ? `${var1 == null ? void 0 : var1.replace(")", "")}, ${var2})` : var2;
|
|
13836
13973
|
const AppBarRoot = styled(Paper, {
|
|
@@ -16359,6 +16496,22 @@ function getReactElementRef(element) {
|
|
|
16359
16496
|
}
|
|
16360
16497
|
return (element == null ? void 0 : element.ref) || null;
|
|
16361
16498
|
}
|
|
16499
|
+
const specialProperty = "exact-prop: ";
|
|
16500
|
+
function exactProp(propTypes2) {
|
|
16501
|
+
if (process.env.NODE_ENV === "production") {
|
|
16502
|
+
return propTypes2;
|
|
16503
|
+
}
|
|
16504
|
+
return {
|
|
16505
|
+
...propTypes2,
|
|
16506
|
+
[specialProperty]: (props) => {
|
|
16507
|
+
const unsupportedProps = Object.keys(props).filter((prop) => !propTypes2.hasOwnProperty(prop));
|
|
16508
|
+
if (unsupportedProps.length > 0) {
|
|
16509
|
+
return new Error(`The following props are not supported: ${unsupportedProps.map((prop) => `\`${prop}\``).join(", ")}. Please remove them.`);
|
|
16510
|
+
}
|
|
16511
|
+
return null;
|
|
16512
|
+
}
|
|
16513
|
+
};
|
|
16514
|
+
}
|
|
16362
16515
|
function getContainer$1(container) {
|
|
16363
16516
|
return typeof container === "function" ? container() : container;
|
|
16364
16517
|
}
|
|
@@ -16461,7 +16614,7 @@ const useUtilityClasses$1H = (ownerState) => {
|
|
|
16461
16614
|
const slots = {
|
|
16462
16615
|
root: ["root"]
|
|
16463
16616
|
};
|
|
16464
|
-
return composeClasses(slots, getPopperUtilityClass, classes);
|
|
16617
|
+
return composeClasses$1(slots, getPopperUtilityClass, classes);
|
|
16465
16618
|
};
|
|
16466
16619
|
const defaultPopperOptions = {};
|
|
16467
16620
|
const PopperTooltip = /* @__PURE__ */ React.forwardRef(function PopperTooltip2(props, forwardedRef) {
|
|
@@ -16973,7 +17126,7 @@ const useUtilityClasses$1G = (ownerState) => {
|
|
|
16973
17126
|
const slots = {
|
|
16974
17127
|
root: ["root", color2 !== "default" && `color${capitalize(color2)}`, !disableGutters && "gutters", inset && "inset", !disableSticky && "sticky"]
|
|
16975
17128
|
};
|
|
16976
|
-
return composeClasses(slots, getListSubheaderUtilityClass, classes);
|
|
17129
|
+
return composeClasses$1(slots, getListSubheaderUtilityClass, classes);
|
|
16977
17130
|
};
|
|
16978
17131
|
const ListSubheaderRoot = styled("li", {
|
|
16979
17132
|
name: "MuiListSubheader",
|
|
@@ -17165,7 +17318,7 @@ const useUtilityClasses$1F = (ownerState) => {
|
|
|
17165
17318
|
track: ["track"],
|
|
17166
17319
|
circle: ["circle", `circle${capitalize(variant)}`, disableShrink && "circleDisableShrink"]
|
|
17167
17320
|
};
|
|
17168
|
-
return composeClasses(slots, getCircularProgressUtilityClass, classes);
|
|
17321
|
+
return composeClasses$1(slots, getCircularProgressUtilityClass, classes);
|
|
17169
17322
|
};
|
|
17170
17323
|
const CircularProgressRoot = styled("span", {
|
|
17171
17324
|
name: "MuiCircularProgress",
|
|
@@ -17424,7 +17577,7 @@ const useUtilityClasses$1E = (ownerState) => {
|
|
|
17424
17577
|
loadingIndicator: ["loadingIndicator"],
|
|
17425
17578
|
loadingWrapper: ["loadingWrapper"]
|
|
17426
17579
|
};
|
|
17427
|
-
return composeClasses(slots, getIconButtonUtilityClass, classes);
|
|
17580
|
+
return composeClasses$1(slots, getIconButtonUtilityClass, classes);
|
|
17428
17581
|
};
|
|
17429
17582
|
const IconButtonRoot = styled(ButtonBase, {
|
|
17430
17583
|
name: "MuiIconButton",
|
|
@@ -17728,7 +17881,7 @@ const useUtilityClasses$1D = (ownerState) => {
|
|
|
17728
17881
|
icon: ["icon", `icon${capitalize(size)}`, `iconColor${capitalize(iconColor)}`],
|
|
17729
17882
|
deleteIcon: ["deleteIcon", `deleteIcon${capitalize(size)}`, `deleteIconColor${capitalize(color2)}`, `deleteIcon${capitalize(variant)}Color${capitalize(color2)}`]
|
|
17730
17883
|
};
|
|
17731
|
-
return composeClasses(slots, getChipUtilityClass, classes);
|
|
17884
|
+
return composeClasses$1(slots, getChipUtilityClass, classes);
|
|
17732
17885
|
};
|
|
17733
17886
|
const ChipRoot = styled("div", {
|
|
17734
17887
|
name: "MuiChip",
|
|
@@ -18593,7 +18746,7 @@ const useUtilityClasses$1C = (ownerState) => {
|
|
|
18593
18746
|
root: ["root", `color${capitalize(color2)}`, disabled && "disabled", error && "error", fullWidth && "fullWidth", focused && "focused", formControl && "formControl", size && size !== "medium" && `size${capitalize(size)}`, multiline && "multiline", startAdornment && "adornedStart", endAdornment && "adornedEnd", hiddenLabel && "hiddenLabel", readOnly && "readOnly"],
|
|
18594
18747
|
input: ["input", disabled && "disabled", type === "search" && "inputTypeSearch", multiline && "inputMultiline", size === "small" && "inputSizeSmall", hiddenLabel && "inputHiddenLabel", startAdornment && "inputAdornedStart", endAdornment && "inputAdornedEnd", readOnly && "readOnly"]
|
|
18595
18748
|
};
|
|
18596
|
-
return composeClasses(slots, getInputBaseUtilityClass, classes);
|
|
18749
|
+
return composeClasses$1(slots, getInputBaseUtilityClass, classes);
|
|
18597
18750
|
};
|
|
18598
18751
|
const InputBaseRoot = styled("div", {
|
|
18599
18752
|
name: "MuiInputBase",
|
|
@@ -19330,7 +19483,7 @@ const useUtilityClasses$1B = (ownerState) => {
|
|
|
19330
19483
|
groupLabel: ["groupLabel"],
|
|
19331
19484
|
groupUl: ["groupUl"]
|
|
19332
19485
|
};
|
|
19333
|
-
return composeClasses(slots, getAutocompleteUtilityClass, classes);
|
|
19486
|
+
return composeClasses$1(slots, getAutocompleteUtilityClass, classes);
|
|
19334
19487
|
};
|
|
19335
19488
|
const AutocompleteRoot = styled("div", {
|
|
19336
19489
|
name: "MuiAutocomplete",
|
|
@@ -20483,7 +20636,7 @@ const useUtilityClasses$1A = (ownerState) => {
|
|
|
20483
20636
|
img: ["img"],
|
|
20484
20637
|
fallback: ["fallback"]
|
|
20485
20638
|
};
|
|
20486
|
-
return composeClasses(slots, getAvatarUtilityClass, classes);
|
|
20639
|
+
return composeClasses$1(slots, getAvatarUtilityClass, classes);
|
|
20487
20640
|
};
|
|
20488
20641
|
const AvatarRoot = styled("div", {
|
|
20489
20642
|
name: "MuiAvatar",
|
|
@@ -20999,7 +21152,7 @@ const useUtilityClasses$1z = (ownerState) => {
|
|
|
20999
21152
|
const slots = {
|
|
21000
21153
|
root: ["root", invisible && "invisible"]
|
|
21001
21154
|
};
|
|
21002
|
-
return composeClasses(slots, getBackdropUtilityClass, classes);
|
|
21155
|
+
return composeClasses$1(slots, getBackdropUtilityClass, classes);
|
|
21003
21156
|
};
|
|
21004
21157
|
const BackdropRoot = styled("div", {
|
|
21005
21158
|
name: "MuiBackdrop",
|
|
@@ -21257,7 +21410,7 @@ const useUtilityClasses$1y = (ownerState) => {
|
|
|
21257
21410
|
root: ["root"],
|
|
21258
21411
|
badge: ["badge", variant, invisible && "invisible", `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}`, `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}${capitalize(overlap)}`, `overlap${capitalize(overlap)}`, color2 !== "default" && `color${capitalize(color2)}`]
|
|
21259
21412
|
};
|
|
21260
|
-
return composeClasses(slots, getBadgeUtilityClass, classes);
|
|
21413
|
+
return composeClasses$1(slots, getBadgeUtilityClass, classes);
|
|
21261
21414
|
};
|
|
21262
21415
|
const BadgeRoot = styled("span", {
|
|
21263
21416
|
name: "MuiBadge",
|
|
@@ -21778,7 +21931,7 @@ const useUtilityClasses$1x = (ownerState) => {
|
|
|
21778
21931
|
ol: ["ol"],
|
|
21779
21932
|
separator: ["separator"]
|
|
21780
21933
|
};
|
|
21781
|
-
return composeClasses(slots, getBreadcrumbsUtilityClass, classes);
|
|
21934
|
+
return composeClasses$1(slots, getBreadcrumbsUtilityClass, classes);
|
|
21782
21935
|
};
|
|
21783
21936
|
const BreadcrumbsRoot = styled(Typography, {
|
|
21784
21937
|
name: "MuiBreadcrumbs",
|
|
@@ -21993,7 +22146,7 @@ const useUtilityClasses$1w = (ownerState) => {
|
|
|
21993
22146
|
const slots = {
|
|
21994
22147
|
root: ["root"]
|
|
21995
22148
|
};
|
|
21996
|
-
return composeClasses(slots, getCardUtilityClass, classes);
|
|
22149
|
+
return composeClasses$1(slots, getCardUtilityClass, classes);
|
|
21997
22150
|
};
|
|
21998
22151
|
const CardRoot = styled(Paper, {
|
|
21999
22152
|
name: "MuiCard",
|
|
@@ -22068,7 +22221,7 @@ const useUtilityClasses$1v = (ownerState) => {
|
|
|
22068
22221
|
root: ["root"],
|
|
22069
22222
|
focusHighlight: ["focusHighlight"]
|
|
22070
22223
|
};
|
|
22071
|
-
return composeClasses(slots, getCardActionAreaUtilityClass, classes);
|
|
22224
|
+
return composeClasses$1(slots, getCardActionAreaUtilityClass, classes);
|
|
22072
22225
|
};
|
|
22073
22226
|
const CardActionAreaRoot = styled(ButtonBase, {
|
|
22074
22227
|
name: "MuiCardActionArea",
|
|
@@ -22212,7 +22365,7 @@ const useUtilityClasses$1u = (ownerState) => {
|
|
|
22212
22365
|
const slots = {
|
|
22213
22366
|
root: ["root", !disableSpacing && "spacing"]
|
|
22214
22367
|
};
|
|
22215
|
-
return composeClasses(slots, getCardActionsUtilityClass, classes);
|
|
22368
|
+
return composeClasses$1(slots, getCardActionsUtilityClass, classes);
|
|
22216
22369
|
};
|
|
22217
22370
|
const CardActionsRoot = styled("div", {
|
|
22218
22371
|
name: "MuiCardActions",
|
|
@@ -22298,7 +22451,7 @@ const useUtilityClasses$1t = (ownerState) => {
|
|
|
22298
22451
|
const slots = {
|
|
22299
22452
|
root: ["root"]
|
|
22300
22453
|
};
|
|
22301
|
-
return composeClasses(slots, getCardContentUtilityClass, classes);
|
|
22454
|
+
return composeClasses$1(slots, getCardContentUtilityClass, classes);
|
|
22302
22455
|
};
|
|
22303
22456
|
const CardContentRoot = styled("div", {
|
|
22304
22457
|
name: "MuiCardContent",
|
|
@@ -22375,7 +22528,7 @@ const useUtilityClasses$1s = (ownerState) => {
|
|
|
22375
22528
|
title: ["title"],
|
|
22376
22529
|
subheader: ["subheader"]
|
|
22377
22530
|
};
|
|
22378
|
-
return composeClasses(slots, getCardHeaderUtilityClass, classes);
|
|
22531
|
+
return composeClasses$1(slots, getCardHeaderUtilityClass, classes);
|
|
22379
22532
|
};
|
|
22380
22533
|
const CardHeaderRoot = styled("div", {
|
|
22381
22534
|
name: "MuiCardHeader",
|
|
@@ -22628,7 +22781,7 @@ const useUtilityClasses$1r = (ownerState) => {
|
|
|
22628
22781
|
const slots = {
|
|
22629
22782
|
root: ["root", isMediaComponent && "media", isImageComponent && "img"]
|
|
22630
22783
|
};
|
|
22631
|
-
return composeClasses(slots, getCardMediaUtilityClass, classes);
|
|
22784
|
+
return composeClasses$1(slots, getCardMediaUtilityClass, classes);
|
|
22632
22785
|
};
|
|
22633
22786
|
const CardMediaRoot = styled("div", {
|
|
22634
22787
|
name: "MuiCardMedia",
|
|
@@ -22767,7 +22920,7 @@ const useUtilityClasses$1q = (ownerState) => {
|
|
|
22767
22920
|
root: ["root", checked && "checked", disabled && "disabled", edge && `edge${capitalize(edge)}`],
|
|
22768
22921
|
input: ["input"]
|
|
22769
22922
|
};
|
|
22770
|
-
return composeClasses(slots, getSwitchBaseUtilityClass, classes);
|
|
22923
|
+
return composeClasses$1(slots, getSwitchBaseUtilityClass, classes);
|
|
22771
22924
|
};
|
|
22772
22925
|
const SwitchBaseRoot = styled(ButtonBase, {
|
|
22773
22926
|
name: "MuiSwitchBase"
|
|
@@ -23115,7 +23268,7 @@ const useUtilityClasses$1p = (ownerState) => {
|
|
|
23115
23268
|
const slots = {
|
|
23116
23269
|
root: ["root", indeterminate && "indeterminate", `color${capitalize(color2)}`, `size${capitalize(size)}`]
|
|
23117
23270
|
};
|
|
23118
|
-
const composedClasses = composeClasses(slots, getCheckboxUtilityClass, classes);
|
|
23271
|
+
const composedClasses = composeClasses$1(slots, getCheckboxUtilityClass, classes);
|
|
23119
23272
|
return {
|
|
23120
23273
|
...classes,
|
|
23121
23274
|
// forward the disabled and checked classes to the SwitchBase
|
|
@@ -23762,7 +23915,7 @@ const useUtilityClasses$1o = (ownerState) => {
|
|
|
23762
23915
|
const slots = {
|
|
23763
23916
|
root: ["root", !disableSpacing && "spacing"]
|
|
23764
23917
|
};
|
|
23765
|
-
return composeClasses(slots, getDialogActionsUtilityClass, classes);
|
|
23918
|
+
return composeClasses$1(slots, getDialogActionsUtilityClass, classes);
|
|
23766
23919
|
};
|
|
23767
23920
|
const DialogActionsRoot = styled("div", {
|
|
23768
23921
|
name: "MuiDialogActions",
|
|
@@ -23855,7 +24008,7 @@ const useUtilityClasses$1n = (ownerState) => {
|
|
|
23855
24008
|
const slots = {
|
|
23856
24009
|
root: ["root", dividers && "dividers"]
|
|
23857
24010
|
};
|
|
23858
|
-
return composeClasses(slots, getDialogContentUtilityClass, classes);
|
|
24011
|
+
return composeClasses$1(slots, getDialogContentUtilityClass, classes);
|
|
23859
24012
|
};
|
|
23860
24013
|
const DialogContentRoot = styled("div", {
|
|
23861
24014
|
name: "MuiDialogContent",
|
|
@@ -23954,7 +24107,7 @@ const useUtilityClasses$1m = (ownerState) => {
|
|
|
23954
24107
|
const slots = {
|
|
23955
24108
|
root: ["root"]
|
|
23956
24109
|
};
|
|
23957
|
-
const composedClasses = composeClasses(slots, getDialogContentTextUtilityClass, classes);
|
|
24110
|
+
const composedClasses = composeClasses$1(slots, getDialogContentTextUtilityClass, classes);
|
|
23958
24111
|
return {
|
|
23959
24112
|
...classes,
|
|
23960
24113
|
// forward classes to the Typography
|
|
@@ -24021,7 +24174,7 @@ const useUtilityClasses$1l = (ownerState) => {
|
|
|
24021
24174
|
const slots = {
|
|
24022
24175
|
root: ["root"]
|
|
24023
24176
|
};
|
|
24024
|
-
return composeClasses(slots, getDialogTitleUtilityClass, classes);
|
|
24177
|
+
return composeClasses$1(slots, getDialogTitleUtilityClass, classes);
|
|
24025
24178
|
};
|
|
24026
24179
|
const DialogTitleRoot = styled(Typography, {
|
|
24027
24180
|
name: "MuiDialogTitle",
|
|
@@ -24100,7 +24253,7 @@ const useUtilityClasses$1k = (ownerState) => {
|
|
|
24100
24253
|
root: ["root", absolute && "absolute", variant, light2 && "light", orientation === "vertical" && "vertical", flexItem && "flexItem", children && "withChildren", children && orientation === "vertical" && "withChildrenVertical", textAlign === "right" && orientation !== "vertical" && "textAlignRight", textAlign === "left" && orientation !== "vertical" && "textAlignLeft"],
|
|
24101
24254
|
wrapper: ["wrapper", orientation === "vertical" && "wrapperVertical"]
|
|
24102
24255
|
};
|
|
24103
|
-
return composeClasses(slots, getDividerUtilityClass, classes);
|
|
24256
|
+
return composeClasses$1(slots, getDividerUtilityClass, classes);
|
|
24104
24257
|
};
|
|
24105
24258
|
const DividerRoot = styled("div", {
|
|
24106
24259
|
name: "MuiDivider",
|
|
@@ -25014,7 +25167,7 @@ const useUtilityClasses$1j = (ownerState) => {
|
|
|
25014
25167
|
root: ["root", !open && exited && "hidden"],
|
|
25015
25168
|
backdrop: ["backdrop"]
|
|
25016
25169
|
};
|
|
25017
|
-
return composeClasses(slots, getModalUtilityClass, classes);
|
|
25170
|
+
return composeClasses$1(slots, getModalUtilityClass, classes);
|
|
25018
25171
|
};
|
|
25019
25172
|
const ModalRoot = styled("div", {
|
|
25020
25173
|
name: "MuiModal",
|
|
@@ -25687,7 +25840,7 @@ const useUtilityClasses$1i = (ownerState) => {
|
|
|
25687
25840
|
modal: ["modal"],
|
|
25688
25841
|
paper: ["paper", `paperAnchor${capitalize(anchor)}`, variant !== "temporary" && `paperAnchorDocked${capitalize(anchor)}`]
|
|
25689
25842
|
};
|
|
25690
|
-
return composeClasses(slots, getDrawerUtilityClass, classes);
|
|
25843
|
+
return composeClasses$1(slots, getDrawerUtilityClass, classes);
|
|
25691
25844
|
};
|
|
25692
25845
|
const DrawerRoot = styled(Modal, {
|
|
25693
25846
|
name: "MuiDrawer",
|
|
@@ -26089,7 +26242,7 @@ const useUtilityClasses$1h = (ownerState) => {
|
|
|
26089
26242
|
const slots = {
|
|
26090
26243
|
root: ["root", margin2 !== "none" && `margin${capitalize(margin2)}`, fullWidth && "fullWidth"]
|
|
26091
26244
|
};
|
|
26092
|
-
return composeClasses(slots, getFormControlUtilityClasses, classes);
|
|
26245
|
+
return composeClasses$1(slots, getFormControlUtilityClasses, classes);
|
|
26093
26246
|
};
|
|
26094
26247
|
const FormControlRoot = styled("div", {
|
|
26095
26248
|
name: "MuiFormControl",
|
|
@@ -26358,7 +26511,7 @@ const useUtilityClasses$1g = (ownerState) => {
|
|
|
26358
26511
|
label: ["label", disabled && "disabled"],
|
|
26359
26512
|
asterisk: ["asterisk", error && "error"]
|
|
26360
26513
|
};
|
|
26361
|
-
return composeClasses(slots, getFormControlLabelUtilityClasses, classes);
|
|
26514
|
+
return composeClasses$1(slots, getFormControlLabelUtilityClasses, classes);
|
|
26362
26515
|
};
|
|
26363
26516
|
const FormControlLabelRoot = styled("label", {
|
|
26364
26517
|
name: "MuiFormControlLabel",
|
|
@@ -26618,7 +26771,7 @@ const useUtilityClasses$1f = (ownerState) => {
|
|
|
26618
26771
|
const slots = {
|
|
26619
26772
|
root: ["root", row && "row", error && "error"]
|
|
26620
26773
|
};
|
|
26621
|
-
return composeClasses(slots, getFormGroupUtilityClass, classes);
|
|
26774
|
+
return composeClasses$1(slots, getFormGroupUtilityClass, classes);
|
|
26622
26775
|
};
|
|
26623
26776
|
const FormGroupRoot = styled("div", {
|
|
26624
26777
|
name: "MuiFormGroup",
|
|
@@ -26717,7 +26870,7 @@ const useUtilityClasses$1e = (ownerState) => {
|
|
|
26717
26870
|
const slots = {
|
|
26718
26871
|
root: ["root", disabled && "disabled", error && "error", size && `size${capitalize(size)}`, contained && "contained", focused && "focused", filled && "filled", required && "required"]
|
|
26719
26872
|
};
|
|
26720
|
-
return composeClasses(slots, getFormHelperTextUtilityClasses, classes);
|
|
26873
|
+
return composeClasses$1(slots, getFormHelperTextUtilityClasses, classes);
|
|
26721
26874
|
};
|
|
26722
26875
|
const FormHelperTextRoot = styled("p", {
|
|
26723
26876
|
name: "MuiFormHelperText",
|
|
@@ -26891,7 +27044,7 @@ const useUtilityClasses$1d = (ownerState) => {
|
|
|
26891
27044
|
root: ["root", `color${capitalize(color2)}`, disabled && "disabled", error && "error", filled && "filled", focused && "focused", required && "required"],
|
|
26892
27045
|
asterisk: ["asterisk", error && "error"]
|
|
26893
27046
|
};
|
|
26894
|
-
return composeClasses(slots, getFormLabelUtilityClasses, classes);
|
|
27047
|
+
return composeClasses$1(slots, getFormLabelUtilityClasses, classes);
|
|
26895
27048
|
};
|
|
26896
27049
|
const FormLabelRoot = styled("label", {
|
|
26897
27050
|
name: "MuiFormLabel",
|
|
@@ -27426,7 +27579,7 @@ const useUtilityClasses$1c = (ownerState) => {
|
|
|
27426
27579
|
root: ["root", !disableUnderline && "underline"],
|
|
27427
27580
|
input: ["input"]
|
|
27428
27581
|
};
|
|
27429
|
-
const composedClasses = composeClasses(slots, getInputUtilityClass, classes);
|
|
27582
|
+
const composedClasses = composeClasses$1(slots, getInputUtilityClass, classes);
|
|
27430
27583
|
return {
|
|
27431
27584
|
...classes,
|
|
27432
27585
|
// forward classes to the InputBase
|
|
@@ -27781,7 +27934,7 @@ const useUtilityClasses$1b = (ownerState) => {
|
|
|
27781
27934
|
root: ["root", formControl && "formControl", !disableAnimation && "animated", shrink && "shrink", size && size !== "medium" && `size${capitalize(size)}`, variant],
|
|
27782
27935
|
asterisk: [required && "asterisk"]
|
|
27783
27936
|
};
|
|
27784
|
-
const composedClasses = composeClasses(slots, getInputLabelUtilityClasses, classes);
|
|
27937
|
+
const composedClasses = composeClasses$1(slots, getInputLabelUtilityClasses, classes);
|
|
27785
27938
|
return {
|
|
27786
27939
|
...classes,
|
|
27787
27940
|
// forward the focused, disabled, etc. classes to the FormLabel
|
|
@@ -28107,7 +28260,7 @@ const useUtilityClasses$1a = (ownerState) => {
|
|
|
28107
28260
|
bar1: ["bar", "bar1", `barColor${capitalize(color2)}`, (variant === "indeterminate" || variant === "query") && "bar1Indeterminate", variant === "determinate" && "bar1Determinate", variant === "buffer" && "bar1Buffer"],
|
|
28108
28261
|
bar2: ["bar", "bar2", variant !== "buffer" && `barColor${capitalize(color2)}`, variant === "buffer" && `color${capitalize(color2)}`, (variant === "indeterminate" || variant === "query") && "bar2Indeterminate", variant === "buffer" && "bar2Buffer"]
|
|
28109
28262
|
};
|
|
28110
|
-
return composeClasses(slots, getLinearProgressUtilityClass, classes);
|
|
28263
|
+
return composeClasses$1(slots, getLinearProgressUtilityClass, classes);
|
|
28111
28264
|
};
|
|
28112
28265
|
const getColorShade = (theme, color2) => {
|
|
28113
28266
|
if (theme.vars) {
|
|
@@ -28505,7 +28658,7 @@ const useUtilityClasses$19 = (ownerState) => {
|
|
|
28505
28658
|
const slots = {
|
|
28506
28659
|
root: ["root", `underline${capitalize(underline)}`, component === "button" && "button", focusVisible && "focusVisible"]
|
|
28507
28660
|
};
|
|
28508
|
-
return composeClasses(slots, getLinkUtilityClass, classes);
|
|
28661
|
+
return composeClasses$1(slots, getLinkUtilityClass, classes);
|
|
28509
28662
|
};
|
|
28510
28663
|
const LinkRoot = styled(Typography, {
|
|
28511
28664
|
name: "MuiLink",
|
|
@@ -28775,7 +28928,7 @@ const useUtilityClasses$18 = (ownerState) => {
|
|
|
28775
28928
|
const slots = {
|
|
28776
28929
|
root: ["root", !disablePadding && "padding", dense && "dense", subheader && "subheader"]
|
|
28777
28930
|
};
|
|
28778
|
-
return composeClasses(slots, getListUtilityClass, classes);
|
|
28931
|
+
return composeClasses$1(slots, getListUtilityClass, classes);
|
|
28779
28932
|
};
|
|
28780
28933
|
const ListRoot = styled("ul", {
|
|
28781
28934
|
name: "MuiList",
|
|
@@ -28914,7 +29067,7 @@ const useUtilityClasses$17 = (ownerState) => {
|
|
|
28914
29067
|
const slots = {
|
|
28915
29068
|
root: ["root", dense && "dense", !disableGutters && "gutters", divider && "divider", disabled && "disabled", alignItems === "flex-start" && "alignItemsFlexStart", selected && "selected"]
|
|
28916
29069
|
};
|
|
28917
|
-
const composedClasses = composeClasses(slots, getListItemButtonUtilityClass, classes);
|
|
29070
|
+
const composedClasses = composeClasses$1(slots, getListItemButtonUtilityClass, classes);
|
|
28918
29071
|
return {
|
|
28919
29072
|
...classes,
|
|
28920
29073
|
...composedClasses
|
|
@@ -29151,7 +29304,7 @@ const useUtilityClasses$16 = (ownerState) => {
|
|
|
29151
29304
|
const slots = {
|
|
29152
29305
|
root: ["root", disableGutters && "disableGutters"]
|
|
29153
29306
|
};
|
|
29154
|
-
return composeClasses(slots, getListItemSecondaryActionClassesUtilityClass, classes);
|
|
29307
|
+
return composeClasses$1(slots, getListItemSecondaryActionClassesUtilityClass, classes);
|
|
29155
29308
|
};
|
|
29156
29309
|
const ListItemSecondaryActionRoot = styled("div", {
|
|
29157
29310
|
name: "MuiListItemSecondaryAction",
|
|
@@ -29241,7 +29394,7 @@ const useUtilityClasses$15 = (ownerState) => {
|
|
|
29241
29394
|
root: ["root", dense && "dense", !disableGutters && "gutters", !disablePadding && "padding", divider && "divider", alignItems === "flex-start" && "alignItemsFlexStart", hasSecondaryAction && "secondaryAction"],
|
|
29242
29395
|
container: ["container"]
|
|
29243
29396
|
};
|
|
29244
|
-
return composeClasses(slots, getListItemUtilityClass, classes);
|
|
29397
|
+
return composeClasses$1(slots, getListItemUtilityClass, classes);
|
|
29245
29398
|
};
|
|
29246
29399
|
const ListItemRoot = styled("div", {
|
|
29247
29400
|
name: "MuiListItem",
|
|
@@ -29585,7 +29738,7 @@ const useUtilityClasses$14 = (ownerState) => {
|
|
|
29585
29738
|
const slots = {
|
|
29586
29739
|
root: ["root", alignItems === "flex-start" && "alignItemsFlexStart"]
|
|
29587
29740
|
};
|
|
29588
|
-
return composeClasses(slots, getListItemIconUtilityClass, classes);
|
|
29741
|
+
return composeClasses$1(slots, getListItemIconUtilityClass, classes);
|
|
29589
29742
|
};
|
|
29590
29743
|
const ListItemIconRoot = styled("div", {
|
|
29591
29744
|
name: "MuiListItemIcon",
|
|
@@ -29674,7 +29827,7 @@ const useUtilityClasses$13 = (ownerState) => {
|
|
|
29674
29827
|
primary: ["primary"],
|
|
29675
29828
|
secondary: ["secondary"]
|
|
29676
29829
|
};
|
|
29677
|
-
return composeClasses(slots, getListItemTextUtilityClass, classes);
|
|
29830
|
+
return composeClasses$1(slots, getListItemTextUtilityClass, classes);
|
|
29678
29831
|
};
|
|
29679
29832
|
const ListItemTextRoot = styled("div", {
|
|
29680
29833
|
name: "MuiListItemText",
|
|
@@ -30157,7 +30310,7 @@ const useUtilityClasses$12 = (ownerState) => {
|
|
|
30157
30310
|
root: ["root"],
|
|
30158
30311
|
paper: ["paper"]
|
|
30159
30312
|
};
|
|
30160
|
-
return composeClasses(slots, getPopoverUtilityClass, classes);
|
|
30313
|
+
return composeClasses$1(slots, getPopoverUtilityClass, classes);
|
|
30161
30314
|
};
|
|
30162
30315
|
const PopoverRoot = styled(Modal, {
|
|
30163
30316
|
name: "MuiPopover",
|
|
@@ -30675,7 +30828,7 @@ const useUtilityClasses$11 = (ownerState) => {
|
|
|
30675
30828
|
paper: ["paper"],
|
|
30676
30829
|
list: ["list"]
|
|
30677
30830
|
};
|
|
30678
|
-
return composeClasses(slots, getMenuUtilityClass, classes);
|
|
30831
|
+
return composeClasses$1(slots, getMenuUtilityClass, classes);
|
|
30679
30832
|
};
|
|
30680
30833
|
const MenuRoot = styled(Popover, {
|
|
30681
30834
|
shouldForwardProp: (prop) => rootShouldForwardProp(prop) || prop === "classes",
|
|
@@ -30992,7 +31145,7 @@ const useUtilityClasses$10 = (ownerState) => {
|
|
|
30992
31145
|
const slots = {
|
|
30993
31146
|
root: ["root", dense && "dense", disabled && "disabled", !disableGutters && "gutters", divider && "divider", selected && "selected"]
|
|
30994
31147
|
};
|
|
30995
|
-
const composedClasses = composeClasses(slots, getMenuItemUtilityClass, classes);
|
|
31148
|
+
const composedClasses = composeClasses$1(slots, getMenuItemUtilityClass, classes);
|
|
30996
31149
|
return {
|
|
30997
31150
|
...classes,
|
|
30998
31151
|
...composedClasses
|
|
@@ -31252,7 +31405,7 @@ const useUtilityClasses$$ = (ownerState) => {
|
|
|
31252
31405
|
dotActive: ["dotActive"],
|
|
31253
31406
|
progress: ["progress"]
|
|
31254
31407
|
};
|
|
31255
|
-
return composeClasses(slots, getMobileStepperUtilityClass, classes);
|
|
31408
|
+
return composeClasses$1(slots, getMobileStepperUtilityClass, classes);
|
|
31256
31409
|
};
|
|
31257
31410
|
const MobileStepperRoot = styled(Paper, {
|
|
31258
31411
|
name: "MuiMobileStepper",
|
|
@@ -31688,7 +31841,7 @@ const useUtilityClasses$_ = (ownerState) => {
|
|
|
31688
31841
|
}[type]],
|
|
31689
31842
|
icon: ["icon"]
|
|
31690
31843
|
};
|
|
31691
|
-
return composeClasses(slots, getPaginationItemUtilityClass, classes);
|
|
31844
|
+
return composeClasses$1(slots, getPaginationItemUtilityClass, classes);
|
|
31692
31845
|
};
|
|
31693
31846
|
const PaginationItemEllipsis = styled("div", {
|
|
31694
31847
|
name: "MuiPaginationItem",
|
|
@@ -32117,7 +32270,7 @@ const useUtilityClasses$Z = (ownerState) => {
|
|
|
32117
32270
|
root: ["root", variant],
|
|
32118
32271
|
ul: ["ul"]
|
|
32119
32272
|
};
|
|
32120
|
-
return composeClasses(slots, getPaginationUtilityClass, classes);
|
|
32273
|
+
return composeClasses$1(slots, getPaginationUtilityClass, classes);
|
|
32121
32274
|
};
|
|
32122
32275
|
const PaginationRoot = styled("nav", {
|
|
32123
32276
|
name: "MuiPagination",
|
|
@@ -32440,7 +32593,7 @@ const useUtilityClasses$Y = (ownerState) => {
|
|
|
32440
32593
|
};
|
|
32441
32594
|
return {
|
|
32442
32595
|
...classes,
|
|
32443
|
-
...composeClasses(slots, getRadioUtilityClass, classes)
|
|
32596
|
+
...composeClasses$1(slots, getRadioUtilityClass, classes)
|
|
32444
32597
|
};
|
|
32445
32598
|
};
|
|
32446
32599
|
const RadioRoot = styled(SwitchBase, {
|
|
@@ -32727,7 +32880,7 @@ const useUtilityClasses$X = (props) => {
|
|
|
32727
32880
|
const slots = {
|
|
32728
32881
|
root: ["root", row && "row", error && "error"]
|
|
32729
32882
|
};
|
|
32730
|
-
return composeClasses(slots, getRadioGroupUtilityClass, classes);
|
|
32883
|
+
return composeClasses$1(slots, getRadioGroupUtilityClass, classes);
|
|
32731
32884
|
};
|
|
32732
32885
|
const RadioGroup = /* @__PURE__ */ React.forwardRef(function RadioGroup2(props, ref) {
|
|
32733
32886
|
const {
|
|
@@ -32835,7 +32988,7 @@ const useUtilityClasses$W = (ownerState) => {
|
|
|
32835
32988
|
select: ["select", variant, disabled && "disabled", multiple && "multiple", error && "error"],
|
|
32836
32989
|
icon: ["icon", `icon${capitalize(variant)}`, open && "iconOpen", disabled && "disabled"]
|
|
32837
32990
|
};
|
|
32838
|
-
return composeClasses(slots, getNativeSelectUtilityClasses, classes);
|
|
32991
|
+
return composeClasses$1(slots, getNativeSelectUtilityClasses, classes);
|
|
32839
32992
|
};
|
|
32840
32993
|
const StyledSelectSelect = styled("select", {
|
|
32841
32994
|
name: "MuiNativeSelect"
|
|
@@ -33137,7 +33290,7 @@ const useUtilityClasses$V = (ownerState) => {
|
|
|
33137
33290
|
icon: ["icon", `icon${capitalize(variant)}`, open && "iconOpen", disabled && "disabled"],
|
|
33138
33291
|
nativeInput: ["nativeInput"]
|
|
33139
33292
|
};
|
|
33140
|
-
return composeClasses(slots, getSelectUtilityClasses, classes);
|
|
33293
|
+
return composeClasses$1(slots, getSelectUtilityClasses, classes);
|
|
33141
33294
|
};
|
|
33142
33295
|
const SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props, ref) {
|
|
33143
33296
|
var _a, _b, _c, _d;
|
|
@@ -33700,7 +33853,7 @@ const useUtilityClasses$U = (ownerState) => {
|
|
|
33700
33853
|
root: ["root", !disableUnderline && "underline", startAdornment && "adornedStart", endAdornment && "adornedEnd", size === "small" && `size${capitalize(size)}`, hiddenLabel && "hiddenLabel", multiline && "multiline"],
|
|
33701
33854
|
input: ["input"]
|
|
33702
33855
|
};
|
|
33703
|
-
const composedClasses = composeClasses(slots, getFilledInputUtilityClass, classes);
|
|
33856
|
+
const composedClasses = composeClasses$1(slots, getFilledInputUtilityClass, classes);
|
|
33704
33857
|
return {
|
|
33705
33858
|
...classes,
|
|
33706
33859
|
// forward classes to the InputBase
|
|
@@ -34343,7 +34496,7 @@ const useUtilityClasses$T = (ownerState) => {
|
|
|
34343
34496
|
notchedOutline: ["notchedOutline"],
|
|
34344
34497
|
input: ["input"]
|
|
34345
34498
|
};
|
|
34346
|
-
const composedClasses = composeClasses(slots, getOutlinedInputUtilityClass, classes);
|
|
34499
|
+
const composedClasses = composeClasses$1(slots, getOutlinedInputUtilityClass, classes);
|
|
34347
34500
|
return {
|
|
34348
34501
|
...classes,
|
|
34349
34502
|
// forward classes to the InputBase
|
|
@@ -34751,7 +34904,7 @@ const useUtilityClasses$S = (ownerState) => {
|
|
|
34751
34904
|
const slots = {
|
|
34752
34905
|
root: ["root"]
|
|
34753
34906
|
};
|
|
34754
|
-
const composedClasses = composeClasses(slots, getSelectUtilityClasses, classes);
|
|
34907
|
+
const composedClasses = composeClasses$1(slots, getSelectUtilityClasses, classes);
|
|
34755
34908
|
return {
|
|
34756
34909
|
...classes,
|
|
34757
34910
|
...composedClasses
|
|
@@ -35036,7 +35189,7 @@ const useUtilityClasses$R = (ownerState) => {
|
|
|
35036
35189
|
const slots = {
|
|
35037
35190
|
root: ["root", variant, animation, hasChildren && "withChildren", hasChildren && !width2 && "fitContent", hasChildren && !height2 && "heightAuto"]
|
|
35038
35191
|
};
|
|
35039
|
-
return composeClasses(slots, getSkeletonUtilityClass, classes);
|
|
35192
|
+
return composeClasses$1(slots, getSkeletonUtilityClass, classes);
|
|
35040
35193
|
};
|
|
35041
35194
|
const pulseKeyframe = keyframes`
|
|
35042
35195
|
0% {
|
|
@@ -35393,7 +35546,7 @@ const useUtilityClasses$Q = (ownerState) => {
|
|
|
35393
35546
|
action: ["action"],
|
|
35394
35547
|
message: ["message"]
|
|
35395
35548
|
};
|
|
35396
|
-
return composeClasses(slots, getSnackbarContentUtilityClass, classes);
|
|
35549
|
+
return composeClasses$1(slots, getSnackbarContentUtilityClass, classes);
|
|
35397
35550
|
};
|
|
35398
35551
|
const SnackbarContentRoot = styled(Paper, {
|
|
35399
35552
|
name: "MuiSnackbarContent",
|
|
@@ -35508,7 +35661,7 @@ const useUtilityClasses$P = (ownerState) => {
|
|
|
35508
35661
|
const slots = {
|
|
35509
35662
|
root: ["root", `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}`]
|
|
35510
35663
|
};
|
|
35511
|
-
return composeClasses(slots, getSnackbarUtilityClass, classes);
|
|
35664
|
+
return composeClasses$1(slots, getSnackbarUtilityClass, classes);
|
|
35512
35665
|
};
|
|
35513
35666
|
const SnackbarRoot = styled("div", {
|
|
35514
35667
|
name: "MuiSnackbar",
|
|
@@ -35991,7 +36144,7 @@ const useUtilityClasses$O = (ownerState) => {
|
|
|
35991
36144
|
const slots = {
|
|
35992
36145
|
root: ["root", orientation, alternativeLabel && "alternativeLabel", completed && "completed"]
|
|
35993
36146
|
};
|
|
35994
|
-
return composeClasses(slots, getStepUtilityClass, classes);
|
|
36147
|
+
return composeClasses$1(slots, getStepUtilityClass, classes);
|
|
35995
36148
|
};
|
|
35996
36149
|
const StepRoot = styled("div", {
|
|
35997
36150
|
name: "MuiStep",
|
|
@@ -36165,7 +36318,7 @@ const useUtilityClasses$N = (ownerState) => {
|
|
|
36165
36318
|
root: ["root", active && "active", completed && "completed", error && "error"],
|
|
36166
36319
|
text: ["text"]
|
|
36167
36320
|
};
|
|
36168
|
-
return composeClasses(slots, getStepIconUtilityClass, classes);
|
|
36321
|
+
return composeClasses$1(slots, getStepIconUtilityClass, classes);
|
|
36169
36322
|
};
|
|
36170
36323
|
const StepIconRoot = styled(SvgIcon, {
|
|
36171
36324
|
name: "MuiStepIcon",
|
|
@@ -36317,7 +36470,7 @@ const useUtilityClasses$M = (ownerState) => {
|
|
|
36317
36470
|
iconContainer: ["iconContainer", active && "active", completed && "completed", error && "error", disabled && "disabled", alternativeLabel && "alternativeLabel"],
|
|
36318
36471
|
labelContainer: ["labelContainer", alternativeLabel && "alternativeLabel"]
|
|
36319
36472
|
};
|
|
36320
|
-
return composeClasses(slots, getStepLabelUtilityClass, classes);
|
|
36473
|
+
return composeClasses$1(slots, getStepLabelUtilityClass, classes);
|
|
36321
36474
|
};
|
|
36322
36475
|
const StepLabelRoot = styled("span", {
|
|
36323
36476
|
name: "MuiStepLabel",
|
|
@@ -36575,7 +36728,7 @@ const useUtilityClasses$L = (ownerState) => {
|
|
|
36575
36728
|
root: ["root", orientation],
|
|
36576
36729
|
touchRipple: ["touchRipple"]
|
|
36577
36730
|
};
|
|
36578
|
-
return composeClasses(slots, getStepButtonUtilityClass, classes);
|
|
36731
|
+
return composeClasses$1(slots, getStepButtonUtilityClass, classes);
|
|
36579
36732
|
};
|
|
36580
36733
|
const StepButtonRoot = styled(ButtonBase, {
|
|
36581
36734
|
name: "MuiStepButton",
|
|
@@ -36704,7 +36857,7 @@ const useUtilityClasses$K = (ownerState) => {
|
|
|
36704
36857
|
root: ["root", orientation, alternativeLabel && "alternativeLabel", active && "active", completed && "completed", disabled && "disabled"],
|
|
36705
36858
|
line: ["line", `line${capitalize(orientation)}`]
|
|
36706
36859
|
};
|
|
36707
|
-
return composeClasses(slots, getStepConnectorUtilityClass, classes);
|
|
36860
|
+
return composeClasses$1(slots, getStepConnectorUtilityClass, classes);
|
|
36708
36861
|
};
|
|
36709
36862
|
const StepConnectorRoot = styled("div", {
|
|
36710
36863
|
name: "MuiStepConnector",
|
|
@@ -36839,7 +36992,7 @@ const useUtilityClasses$J = (ownerState) => {
|
|
|
36839
36992
|
const slots = {
|
|
36840
36993
|
root: ["root", orientation, nonLinear && "nonLinear", alternativeLabel && "alternativeLabel"]
|
|
36841
36994
|
};
|
|
36842
|
-
return composeClasses(slots, getStepperUtilityClass, classes);
|
|
36995
|
+
return composeClasses$1(slots, getStepperUtilityClass, classes);
|
|
36843
36996
|
};
|
|
36844
36997
|
const StepperRoot = styled("div", {
|
|
36845
36998
|
name: "MuiStepper",
|
|
@@ -37002,7 +37155,7 @@ const useUtilityClasses$I = (ownerState) => {
|
|
|
37002
37155
|
track: ["track"],
|
|
37003
37156
|
input: ["input"]
|
|
37004
37157
|
};
|
|
37005
|
-
const composedClasses = composeClasses(slots, getSwitchUtilityClass, classes);
|
|
37158
|
+
const composedClasses = composeClasses$1(slots, getSwitchUtilityClass, classes);
|
|
37006
37159
|
return {
|
|
37007
37160
|
...classes,
|
|
37008
37161
|
// forward the disabled and checked classes to the SwitchBase
|
|
@@ -37393,7 +37546,7 @@ const useUtilityClasses$H = (ownerState) => {
|
|
|
37393
37546
|
root: ["root", icon && label && "labelIcon", `textColor${capitalize(textColor)}`, fullWidth && "fullWidth", wrapped && "wrapped", selected && "selected", disabled && "disabled"],
|
|
37394
37547
|
icon: ["iconWrapper", "icon"]
|
|
37395
37548
|
};
|
|
37396
|
-
return composeClasses(slots, getTabUtilityClass, classes);
|
|
37549
|
+
return composeClasses$1(slots, getTabUtilityClass, classes);
|
|
37397
37550
|
};
|
|
37398
37551
|
const TabRoot = styled(ButtonBase, {
|
|
37399
37552
|
name: "MuiTab",
|
|
@@ -37717,7 +37870,7 @@ const useUtilityClasses$G = (ownerState) => {
|
|
|
37717
37870
|
const slots = {
|
|
37718
37871
|
root: ["root", stickyHeader && "stickyHeader"]
|
|
37719
37872
|
};
|
|
37720
|
-
return composeClasses(slots, getTableUtilityClass, classes);
|
|
37873
|
+
return composeClasses$1(slots, getTableUtilityClass, classes);
|
|
37721
37874
|
};
|
|
37722
37875
|
const TableRoot = styled("table", {
|
|
37723
37876
|
name: "MuiTable",
|
|
@@ -37847,7 +38000,7 @@ const useUtilityClasses$F = (ownerState) => {
|
|
|
37847
38000
|
const slots = {
|
|
37848
38001
|
root: ["root"]
|
|
37849
38002
|
};
|
|
37850
|
-
return composeClasses(slots, getTableBodyUtilityClass, classes);
|
|
38003
|
+
return composeClasses$1(slots, getTableBodyUtilityClass, classes);
|
|
37851
38004
|
};
|
|
37852
38005
|
const TableBodyRoot = styled("tbody", {
|
|
37853
38006
|
name: "MuiTableBody",
|
|
@@ -37929,7 +38082,7 @@ const useUtilityClasses$E = (ownerState) => {
|
|
|
37929
38082
|
const slots = {
|
|
37930
38083
|
root: ["root", variant, stickyHeader && "stickyHeader", align !== "inherit" && `align${capitalize(align)}`, padding2 !== "normal" && `padding${capitalize(padding2)}`, `size${capitalize(size)}`]
|
|
37931
38084
|
};
|
|
37932
|
-
return composeClasses(slots, getTableCellUtilityClass, classes);
|
|
38085
|
+
return composeClasses$1(slots, getTableCellUtilityClass, classes);
|
|
37933
38086
|
};
|
|
37934
38087
|
const TableCellRoot = styled("td", {
|
|
37935
38088
|
name: "MuiTableCell",
|
|
@@ -38175,7 +38328,7 @@ const useUtilityClasses$D = (ownerState) => {
|
|
|
38175
38328
|
const slots = {
|
|
38176
38329
|
root: ["root"]
|
|
38177
38330
|
};
|
|
38178
|
-
return composeClasses(slots, getTableContainerUtilityClass, classes);
|
|
38331
|
+
return composeClasses$1(slots, getTableContainerUtilityClass, classes);
|
|
38179
38332
|
};
|
|
38180
38333
|
const TableContainerRoot = styled("div", {
|
|
38181
38334
|
name: "MuiTableContainer",
|
|
@@ -38245,7 +38398,7 @@ const useUtilityClasses$C = (ownerState) => {
|
|
|
38245
38398
|
const slots = {
|
|
38246
38399
|
root: ["root"]
|
|
38247
38400
|
};
|
|
38248
|
-
return composeClasses(slots, getTableFooterUtilityClass, classes);
|
|
38401
|
+
return composeClasses$1(slots, getTableFooterUtilityClass, classes);
|
|
38249
38402
|
};
|
|
38250
38403
|
const TableFooterRoot = styled("tfoot", {
|
|
38251
38404
|
name: "MuiTableFooter",
|
|
@@ -38322,7 +38475,7 @@ const useUtilityClasses$B = (ownerState) => {
|
|
|
38322
38475
|
const slots = {
|
|
38323
38476
|
root: ["root"]
|
|
38324
38477
|
};
|
|
38325
|
-
return composeClasses(slots, getTableHeadUtilityClass, classes);
|
|
38478
|
+
return composeClasses$1(slots, getTableHeadUtilityClass, classes);
|
|
38326
38479
|
};
|
|
38327
38480
|
const TableHeadRoot = styled("thead", {
|
|
38328
38481
|
name: "MuiTableHead",
|
|
@@ -38401,7 +38554,7 @@ const useUtilityClasses$A = (ownerState) => {
|
|
|
38401
38554
|
const slots = {
|
|
38402
38555
|
root: ["root", !disableGutters && "gutters", variant]
|
|
38403
38556
|
};
|
|
38404
|
-
return composeClasses(slots, getToolbarUtilityClass, classes);
|
|
38557
|
+
return composeClasses$1(slots, getToolbarUtilityClass, classes);
|
|
38405
38558
|
};
|
|
38406
38559
|
const ToolbarRoot = styled("div", {
|
|
38407
38560
|
name: "MuiToolbar",
|
|
@@ -38520,7 +38673,7 @@ const useUtilityClasses$z = (ownerState) => {
|
|
|
38520
38673
|
const slots = {
|
|
38521
38674
|
root: ["root"]
|
|
38522
38675
|
};
|
|
38523
|
-
return composeClasses(slots, getTablePaginationActionsUtilityClass, classes);
|
|
38676
|
+
return composeClasses$1(slots, getTablePaginationActionsUtilityClass, classes);
|
|
38524
38677
|
};
|
|
38525
38678
|
const TablePaginationActionsRoot = styled("div", {
|
|
38526
38679
|
name: "MuiTablePaginationActions",
|
|
@@ -38843,7 +38996,7 @@ const useUtilityClasses$y = (ownerState) => {
|
|
|
38843
38996
|
displayedRows: ["displayedRows"],
|
|
38844
38997
|
actions: ["actions"]
|
|
38845
38998
|
};
|
|
38846
|
-
return composeClasses(slots, getTablePaginationUtilityClass, classes);
|
|
38999
|
+
return composeClasses$1(slots, getTablePaginationUtilityClass, classes);
|
|
38847
39000
|
};
|
|
38848
39001
|
const TablePagination = /* @__PURE__ */ React.forwardRef(function TablePagination2(inProps, ref) {
|
|
38849
39002
|
const props = useDefaultProps({
|
|
@@ -39216,7 +39369,7 @@ const useUtilityClasses$x = (ownerState) => {
|
|
|
39216
39369
|
const slots = {
|
|
39217
39370
|
root: ["root", selected && "selected", hover && "hover", head && "head", footer && "footer"]
|
|
39218
39371
|
};
|
|
39219
|
-
return composeClasses(slots, getTableRowUtilityClass, classes);
|
|
39372
|
+
return composeClasses$1(slots, getTableRowUtilityClass, classes);
|
|
39220
39373
|
};
|
|
39221
39374
|
const TableRowRoot = styled("tr", {
|
|
39222
39375
|
name: "MuiTableRow",
|
|
@@ -39331,7 +39484,7 @@ const useUtilityClasses$w = (ownerState) => {
|
|
|
39331
39484
|
root: ["root", active && "active", `direction${capitalize(direction)}`],
|
|
39332
39485
|
icon: ["icon", `iconDirection${capitalize(direction)}`]
|
|
39333
39486
|
};
|
|
39334
|
-
return composeClasses(slots, getTableSortLabelUtilityClass, classes);
|
|
39487
|
+
return composeClasses$1(slots, getTableSortLabelUtilityClass, classes);
|
|
39335
39488
|
};
|
|
39336
39489
|
const TableSortLabelRoot = styled(ButtonBase, {
|
|
39337
39490
|
name: "MuiTableSortLabel",
|
|
@@ -39529,7 +39682,7 @@ const useUtilityClasses$v = (ownerState) => {
|
|
|
39529
39682
|
const slots = {
|
|
39530
39683
|
root: ["root"]
|
|
39531
39684
|
};
|
|
39532
|
-
return composeClasses(slots, getTextFieldUtilityClass, classes);
|
|
39685
|
+
return composeClasses$1(slots, getTextFieldUtilityClass, classes);
|
|
39533
39686
|
};
|
|
39534
39687
|
const TextFieldRoot = styled(FormControl, {
|
|
39535
39688
|
name: "MuiTextField",
|
|
@@ -39918,6 +40071,50 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes = {
|
|
|
39918
40071
|
*/
|
|
39919
40072
|
variant: PropTypes.oneOf(["filled", "outlined", "standard"])
|
|
39920
40073
|
} : void 0;
|
|
40074
|
+
function resolveProps(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
40075
|
+
const output = {
|
|
40076
|
+
...props
|
|
40077
|
+
};
|
|
40078
|
+
for (const key in defaultProps2) {
|
|
40079
|
+
if (Object.prototype.hasOwnProperty.call(defaultProps2, key)) {
|
|
40080
|
+
const propName = key;
|
|
40081
|
+
if (propName === "components" || propName === "slots") {
|
|
40082
|
+
output[propName] = {
|
|
40083
|
+
...defaultProps2[propName],
|
|
40084
|
+
...output[propName]
|
|
40085
|
+
};
|
|
40086
|
+
} else if (propName === "componentsProps" || propName === "slotProps") {
|
|
40087
|
+
const defaultSlotProps = defaultProps2[propName];
|
|
40088
|
+
const slotProps = props[propName];
|
|
40089
|
+
if (!slotProps) {
|
|
40090
|
+
output[propName] = defaultSlotProps || {};
|
|
40091
|
+
} else if (!defaultSlotProps) {
|
|
40092
|
+
output[propName] = slotProps;
|
|
40093
|
+
} else {
|
|
40094
|
+
output[propName] = {
|
|
40095
|
+
...slotProps
|
|
40096
|
+
};
|
|
40097
|
+
for (const slotKey in defaultSlotProps) {
|
|
40098
|
+
if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {
|
|
40099
|
+
const slotPropName = slotKey;
|
|
40100
|
+
output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName], mergeClassNameAndStyle);
|
|
40101
|
+
}
|
|
40102
|
+
}
|
|
40103
|
+
}
|
|
40104
|
+
} else if (propName === "className" && mergeClassNameAndStyle && props.className) {
|
|
40105
|
+
output.className = clsx(defaultProps2 == null ? void 0 : defaultProps2.className, props == null ? void 0 : props.className);
|
|
40106
|
+
} else if (propName === "style" && mergeClassNameAndStyle && props.style) {
|
|
40107
|
+
output.style = {
|
|
40108
|
+
...defaultProps2 == null ? void 0 : defaultProps2.style,
|
|
40109
|
+
...props == null ? void 0 : props.style
|
|
40110
|
+
};
|
|
40111
|
+
} else if (output[propName] === void 0) {
|
|
40112
|
+
output[propName] = defaultProps2[propName];
|
|
40113
|
+
}
|
|
40114
|
+
}
|
|
40115
|
+
}
|
|
40116
|
+
return output;
|
|
40117
|
+
}
|
|
39921
40118
|
function getToggleButtonUtilityClass(slot) {
|
|
39922
40119
|
return generateUtilityClass("MuiToggleButton", slot);
|
|
39923
40120
|
}
|
|
@@ -39951,7 +40148,7 @@ const useUtilityClasses$u = (ownerState) => {
|
|
|
39951
40148
|
const slots = {
|
|
39952
40149
|
root: ["root", selected && "selected", disabled && "disabled", fullWidth && "fullWidth", `size${capitalize(size)}`, color2]
|
|
39953
40150
|
};
|
|
39954
|
-
return composeClasses(slots, getToggleButtonUtilityClass, classes);
|
|
40151
|
+
return composeClasses$1(slots, getToggleButtonUtilityClass, classes);
|
|
39955
40152
|
};
|
|
39956
40153
|
const ToggleButtonRoot = styled(ButtonBase, {
|
|
39957
40154
|
name: "MuiToggleButton",
|
|
@@ -40206,7 +40403,7 @@ const useUtilityClasses$t = (ownerState) => {
|
|
|
40206
40403
|
lastButton: ["lastButton"],
|
|
40207
40404
|
middleButton: ["middleButton"]
|
|
40208
40405
|
};
|
|
40209
|
-
return composeClasses(slots, getToggleButtonGroupUtilityClass, classes);
|
|
40406
|
+
return composeClasses$1(slots, getToggleButtonGroupUtilityClass, classes);
|
|
40210
40407
|
};
|
|
40211
40408
|
const ToggleButtonGroupRoot = styled("div", {
|
|
40212
40409
|
name: "MuiToggleButtonGroup",
|
|
@@ -40475,7 +40672,7 @@ const useUtilityClasses$s = (ownerState) => {
|
|
|
40475
40672
|
tooltip: ["tooltip", arrow2 && "tooltipArrow", touch && "touch", `tooltipPlacement${capitalize(placement.split("-")[0])}`],
|
|
40476
40673
|
arrow: ["arrow"]
|
|
40477
40674
|
};
|
|
40478
|
-
return composeClasses(slots, getTooltipUtilityClass, classes);
|
|
40675
|
+
return composeClasses$1(slots, getTooltipUtilityClass, classes);
|
|
40479
40676
|
};
|
|
40480
40677
|
const TooltipPopper = styled(Popper2, {
|
|
40481
40678
|
name: "MuiTooltip",
|
|
@@ -41518,7 +41715,7 @@ const useUtilityClasses$r = (ownerState) => {
|
|
|
41518
41715
|
loadingIndicator: ["loadingIndicator"],
|
|
41519
41716
|
loadingWrapper: ["loadingWrapper"]
|
|
41520
41717
|
};
|
|
41521
|
-
const composedClasses = composeClasses(slots, getButtonUtilityClass, classes);
|
|
41718
|
+
const composedClasses = composeClasses$1(slots, getButtonUtilityClass, classes);
|
|
41522
41719
|
return {
|
|
41523
41720
|
...classes,
|
|
41524
41721
|
// forward the focused, disabled, etc. classes to the ButtonBase
|
|
@@ -42348,7 +42545,7 @@ const useUtilityClasses$q = (ownerState) => {
|
|
|
42348
42545
|
message: ["message"],
|
|
42349
42546
|
action: ["action"]
|
|
42350
42547
|
};
|
|
42351
|
-
return composeClasses(slots, getAlertUtilityClass, classes);
|
|
42548
|
+
return composeClasses$1(slots, getAlertUtilityClass, classes);
|
|
42352
42549
|
};
|
|
42353
42550
|
const AlertRoot = styled(Paper, {
|
|
42354
42551
|
name: "MuiAlert",
|
|
@@ -44698,7 +44895,7 @@ const useUtilityClasses$p = (classes) => {
|
|
|
44698
44895
|
title: ["title"],
|
|
44699
44896
|
content: ["content"]
|
|
44700
44897
|
};
|
|
44701
|
-
return composeClasses(slots, getPickersToolbarUtilityClass, classes);
|
|
44898
|
+
return composeClasses$1(slots, getPickersToolbarUtilityClass, classes);
|
|
44702
44899
|
};
|
|
44703
44900
|
const PickersToolbarRoot = styled("div", {
|
|
44704
44901
|
name: "MuiPickersToolbar",
|
|
@@ -45176,7 +45373,7 @@ const useUtilityClasses$o = (classes) => {
|
|
|
45176
45373
|
root: ["root"],
|
|
45177
45374
|
title: ["title"]
|
|
45178
45375
|
};
|
|
45179
|
-
return composeClasses(slots, getDatePickerToolbarUtilityClass, classes);
|
|
45376
|
+
return composeClasses$1(slots, getDatePickerToolbarUtilityClass, classes);
|
|
45180
45377
|
};
|
|
45181
45378
|
const DatePickerToolbarRoot = styled(PickersToolbar, {
|
|
45182
45379
|
name: "MuiDatePickerToolbar",
|
|
@@ -45457,7 +45654,7 @@ const useUtilityClasses$n = (classes) => {
|
|
|
45457
45654
|
root: ["root"],
|
|
45458
45655
|
paper: ["paper"]
|
|
45459
45656
|
};
|
|
45460
|
-
return composeClasses(slots, getPickerPopperUtilityClass, classes);
|
|
45657
|
+
return composeClasses$1(slots, getPickerPopperUtilityClass, classes);
|
|
45461
45658
|
};
|
|
45462
45659
|
const PickerPopperRoot = styled(Popper2, {
|
|
45463
45660
|
name: "MuiPickerPopper",
|
|
@@ -46648,7 +46845,7 @@ const useUtilityClasses$m = (classes, ownerState) => {
|
|
|
46648
46845
|
landscape: ["landscape"],
|
|
46649
46846
|
shortcuts: ["shortcuts"]
|
|
46650
46847
|
};
|
|
46651
|
-
return composeClasses(slots, getPickersLayoutUtilityClass, classes);
|
|
46848
|
+
return composeClasses$1(slots, getPickersLayoutUtilityClass, classes);
|
|
46652
46849
|
};
|
|
46653
46850
|
const usePickerLayout = (props) => {
|
|
46654
46851
|
const {
|
|
@@ -46722,7 +46919,7 @@ const useUtilityClasses$l = (classes, ownerState) => {
|
|
|
46722
46919
|
root: ["root", pickerOrientation === "landscape" && "landscape"],
|
|
46723
46920
|
contentWrapper: ["contentWrapper"]
|
|
46724
46921
|
};
|
|
46725
|
-
return composeClasses(slots, getPickersLayoutUtilityClass, classes);
|
|
46922
|
+
return composeClasses$1(slots, getPickersLayoutUtilityClass, classes);
|
|
46726
46923
|
};
|
|
46727
46924
|
const PickersLayoutRoot = styled("div", {
|
|
46728
46925
|
name: "MuiPickersLayout",
|
|
@@ -48786,7 +48983,7 @@ const useUtilityClasses$k = (ownerState) => {
|
|
|
48786
48983
|
const slots = {
|
|
48787
48984
|
root: ["root", disablePointerEvents && "disablePointerEvents", position2 && `position${capitalize(position2)}`, variant, hiddenLabel && "hiddenLabel", size && `size${capitalize(size)}`]
|
|
48788
48985
|
};
|
|
48789
|
-
return composeClasses(slots, getInputAdornmentUtilityClass, classes);
|
|
48986
|
+
return composeClasses$1(slots, getInputAdornmentUtilityClass, classes);
|
|
48790
48987
|
};
|
|
48791
48988
|
const InputAdornmentRoot = styled("div", {
|
|
48792
48989
|
name: "MuiInputAdornment",
|
|
@@ -49038,7 +49235,7 @@ const useUtilityClasses$j = (classes) => {
|
|
|
49038
49235
|
section: ["section"],
|
|
49039
49236
|
sectionContent: ["sectionContent"]
|
|
49040
49237
|
};
|
|
49041
|
-
return composeClasses(slots, getPickersSectionListUtilityClass, classes);
|
|
49238
|
+
return composeClasses$1(slots, getPickersSectionListUtilityClass, classes);
|
|
49042
49239
|
};
|
|
49043
49240
|
function PickersSection(props) {
|
|
49044
49241
|
const {
|
|
@@ -49430,7 +49627,7 @@ const useUtilityClasses$i = (classes, ownerState) => {
|
|
|
49430
49627
|
sectionAfter: ["sectionAfter"],
|
|
49431
49628
|
activeBar: ["activeBar"]
|
|
49432
49629
|
};
|
|
49433
|
-
return composeClasses(slots, getPickersInputBaseUtilityClass, classes);
|
|
49630
|
+
return composeClasses$1(slots, getPickersInputBaseUtilityClass, classes);
|
|
49434
49631
|
};
|
|
49435
49632
|
function resolveSectionElementWidth(sectionElement, rootRef, index, dateRangePosition) {
|
|
49436
49633
|
var _a;
|
|
@@ -49902,7 +50099,7 @@ const useUtilityClasses$h = (classes) => {
|
|
|
49902
50099
|
notchedOutline: ["notchedOutline"],
|
|
49903
50100
|
input: ["input"]
|
|
49904
50101
|
};
|
|
49905
|
-
const composedClasses = composeClasses(slots, getPickersOutlinedInputUtilityClass, classes);
|
|
50102
|
+
const composedClasses = composeClasses$1(slots, getPickersOutlinedInputUtilityClass, classes);
|
|
49906
50103
|
return _extends({}, classes, composedClasses);
|
|
49907
50104
|
};
|
|
49908
50105
|
const PickersOutlinedInput = /* @__PURE__ */ React.forwardRef(function PickersOutlinedInput2(inProps, ref) {
|
|
@@ -50189,7 +50386,7 @@ const useUtilityClasses$g = (classes, ownerState) => {
|
|
|
50189
50386
|
root: ["root", inputHasUnderline && "underline"],
|
|
50190
50387
|
input: ["input"]
|
|
50191
50388
|
};
|
|
50192
|
-
const composedClasses = composeClasses(slots, getPickersFilledInputUtilityClass, classes);
|
|
50389
|
+
const composedClasses = composeClasses$1(slots, getPickersFilledInputUtilityClass, classes);
|
|
50193
50390
|
return _extends({}, classes, composedClasses);
|
|
50194
50391
|
};
|
|
50195
50392
|
const PickersFilledInput = /* @__PURE__ */ React.forwardRef(function PickersFilledInput2(inProps, ref) {
|
|
@@ -50403,7 +50600,7 @@ const useUtilityClasses$f = (classes, ownerState) => {
|
|
|
50403
50600
|
root: ["root", !inputHasUnderline && "underline"],
|
|
50404
50601
|
input: ["input"]
|
|
50405
50602
|
};
|
|
50406
|
-
const composedClasses = composeClasses(slots, getPickersInputUtilityClass, classes);
|
|
50603
|
+
const composedClasses = composeClasses$1(slots, getPickersInputUtilityClass, classes);
|
|
50407
50604
|
return _extends({}, classes, composedClasses);
|
|
50408
50605
|
};
|
|
50409
50606
|
const PickersInput = /* @__PURE__ */ React.forwardRef(function PickersInput2(inProps, ref) {
|
|
@@ -50533,7 +50730,7 @@ const useUtilityClasses$e = (classes, ownerState) => {
|
|
|
50533
50730
|
const slots = {
|
|
50534
50731
|
root: ["root", isFieldFocused2 && !isFieldDisabled && "focused", isFieldDisabled && "disabled", isFieldRequired && "required"]
|
|
50535
50732
|
};
|
|
50536
|
-
return composeClasses(slots, getPickersTextFieldUtilityClass, classes);
|
|
50733
|
+
return composeClasses$1(slots, getPickersTextFieldUtilityClass, classes);
|
|
50537
50734
|
};
|
|
50538
50735
|
const PickersTextField = /* @__PURE__ */ React.forwardRef(function PickersTextField2(inProps, ref) {
|
|
50539
50736
|
const props = useThemeProps$2({
|
|
@@ -51579,7 +51776,7 @@ const useUtilityClasses$d = (classes) => {
|
|
|
51579
51776
|
const slots = {
|
|
51580
51777
|
root: ["root"]
|
|
51581
51778
|
};
|
|
51582
|
-
return composeClasses(slots, getPickersFadeTransitionGroupUtilityClass, classes);
|
|
51779
|
+
return composeClasses$1(slots, getPickersFadeTransitionGroupUtilityClass, classes);
|
|
51583
51780
|
};
|
|
51584
51781
|
const PickersFadeTransitionGroupRoot = styled(TransitionGroup, {
|
|
51585
51782
|
name: "MuiPickersFadeTransitionGroup",
|
|
@@ -51671,7 +51868,7 @@ const useUtilityClasses$c = (classes, ownerState) => {
|
|
|
51671
51868
|
root: ["root", isDaySelected && !isHiddenDaySpacingFiller && "selected", isDayDisabled && "disabled", !disableMargin && "dayWithMargin", !disableHighlightToday && isDayCurrent && "today", isDayOutsideMonth && showDaysOutsideCurrentMonth && "dayOutsideMonth", isHiddenDaySpacingFiller && "hiddenDaySpacingFiller"],
|
|
51672
51869
|
hiddenDaySpacingFiller: ["hiddenDaySpacingFiller"]
|
|
51673
51870
|
};
|
|
51674
|
-
return composeClasses(slots, getPickersDayUtilityClass, classes);
|
|
51871
|
+
return composeClasses$1(slots, getPickersDayUtilityClass, classes);
|
|
51675
51872
|
};
|
|
51676
51873
|
const styleArg = ({
|
|
51677
51874
|
theme
|
|
@@ -52013,7 +52210,7 @@ const useUtilityClasses$b = (classes, ownerState) => {
|
|
|
52013
52210
|
enter: [`slideEnter-${slideDirection}`],
|
|
52014
52211
|
exitActive: [`slideExitActiveLeft-${slideDirection}`]
|
|
52015
52212
|
};
|
|
52016
|
-
return composeClasses(slots, getPickersSlideTransitionUtilityClass, classes);
|
|
52213
|
+
return composeClasses$1(slots, getPickersSlideTransitionUtilityClass, classes);
|
|
52017
52214
|
};
|
|
52018
52215
|
const PickersSlideTransitionRoot = styled(TransitionGroup, {
|
|
52019
52216
|
name: "MuiPickersSlideTransition",
|
|
@@ -52144,7 +52341,7 @@ const useUtilityClasses$a = (classes) => {
|
|
|
52144
52341
|
weekNumberLabel: ["weekNumberLabel"],
|
|
52145
52342
|
weekNumber: ["weekNumber"]
|
|
52146
52343
|
};
|
|
52147
|
-
return composeClasses(slots, getDayCalendarUtilityClass, classes);
|
|
52344
|
+
return composeClasses$1(slots, getDayCalendarUtilityClass, classes);
|
|
52148
52345
|
};
|
|
52149
52346
|
const weeksContainerHeight = (DAY_SIZE + DAY_MARGIN * 2) * 6;
|
|
52150
52347
|
const PickersCalendarDayRoot = styled("div", {
|
|
@@ -52538,7 +52735,7 @@ const useUtilityClasses$9 = (classes, ownerState) => {
|
|
|
52538
52735
|
const slots = {
|
|
52539
52736
|
button: ["button", ownerState.isMonthDisabled && "disabled", ownerState.isMonthSelected && "selected"]
|
|
52540
52737
|
};
|
|
52541
|
-
return composeClasses(slots, getMonthCalendarUtilityClass, classes);
|
|
52738
|
+
return composeClasses$1(slots, getMonthCalendarUtilityClass, classes);
|
|
52542
52739
|
};
|
|
52543
52740
|
const DefaultMonthButton = styled("button", {
|
|
52544
52741
|
name: "MuiMonthCalendar",
|
|
@@ -52637,7 +52834,7 @@ const useUtilityClasses$8 = (classes) => {
|
|
|
52637
52834
|
const slots = {
|
|
52638
52835
|
root: ["root"]
|
|
52639
52836
|
};
|
|
52640
|
-
return composeClasses(slots, getMonthCalendarUtilityClass, classes);
|
|
52837
|
+
return composeClasses$1(slots, getMonthCalendarUtilityClass, classes);
|
|
52641
52838
|
};
|
|
52642
52839
|
function useMonthCalendarDefaultizedProps(props, name) {
|
|
52643
52840
|
const themeProps = useThemeProps$2({
|
|
@@ -52974,7 +53171,7 @@ const useUtilityClasses$7 = (classes, ownerState) => {
|
|
|
52974
53171
|
const slots = {
|
|
52975
53172
|
button: ["button", ownerState.isYearDisabled && "disabled", ownerState.isYearSelected && "selected"]
|
|
52976
53173
|
};
|
|
52977
|
-
return composeClasses(slots, getYearCalendarUtilityClass, classes);
|
|
53174
|
+
return composeClasses$1(slots, getYearCalendarUtilityClass, classes);
|
|
52978
53175
|
};
|
|
52979
53176
|
const DefaultYearButton = styled("button", {
|
|
52980
53177
|
name: "MuiYearCalendar",
|
|
@@ -53073,7 +53270,7 @@ const useUtilityClasses$6 = (classes) => {
|
|
|
53073
53270
|
const slots = {
|
|
53074
53271
|
root: ["root"]
|
|
53075
53272
|
};
|
|
53076
|
-
return composeClasses(slots, getYearCalendarUtilityClass, classes);
|
|
53273
|
+
return composeClasses$1(slots, getYearCalendarUtilityClass, classes);
|
|
53077
53274
|
};
|
|
53078
53275
|
function useYearCalendarDefaultizedProps(props, name) {
|
|
53079
53276
|
const themeProps = useThemeProps$2({
|
|
@@ -53490,7 +53687,7 @@ const useUtilityClasses$5 = (classes) => {
|
|
|
53490
53687
|
leftArrowIcon: ["leftArrowIcon"],
|
|
53491
53688
|
rightArrowIcon: ["rightArrowIcon"]
|
|
53492
53689
|
};
|
|
53493
|
-
return composeClasses(slots, getPickersArrowSwitcherUtilityClass, classes);
|
|
53690
|
+
return composeClasses$1(slots, getPickersArrowSwitcherUtilityClass, classes);
|
|
53494
53691
|
};
|
|
53495
53692
|
const PickersArrowSwitcher = /* @__PURE__ */ React.forwardRef(function PickersArrowSwitcher2(inProps, ref) {
|
|
53496
53693
|
const isRtl = useRtl();
|
|
@@ -53638,7 +53835,7 @@ const useUtilityClasses$4 = (classes) => {
|
|
|
53638
53835
|
switchViewButton: ["switchViewButton"],
|
|
53639
53836
|
switchViewIcon: ["switchViewIcon"]
|
|
53640
53837
|
};
|
|
53641
|
-
return composeClasses(slots, getPickersCalendarHeaderUtilityClass, classes);
|
|
53838
|
+
return composeClasses$1(slots, getPickersCalendarHeaderUtilityClass, classes);
|
|
53642
53839
|
};
|
|
53643
53840
|
const PickersCalendarHeaderRoot = styled("div", {
|
|
53644
53841
|
name: "MuiPickersCalendarHeader",
|
|
@@ -53881,7 +54078,7 @@ const useUtilityClasses$3 = (classes) => {
|
|
|
53881
54078
|
root: ["root"],
|
|
53882
54079
|
viewTransitionContainer: ["viewTransitionContainer"]
|
|
53883
54080
|
};
|
|
53884
|
-
return composeClasses(slots, getDateCalendarUtilityClass, classes);
|
|
54081
|
+
return composeClasses$1(slots, getDateCalendarUtilityClass, classes);
|
|
53885
54082
|
};
|
|
53886
54083
|
function useDateCalendarDefaultizedProps(props, name) {
|
|
53887
54084
|
const themeProps = useThemeProps$2({
|
|
@@ -54878,7 +55075,7 @@ const useUtilityClasses$2 = (ownerState) => {
|
|
|
54878
55075
|
container: ["container", `scroll${capitalize(scroll)}`],
|
|
54879
55076
|
paper: ["paper", `paperScroll${capitalize(scroll)}`, `paperWidth${capitalize(String(maxWidth2))}`, fullWidth && "paperFullWidth", fullScreen && "paperFullScreen"]
|
|
54880
55077
|
};
|
|
54881
|
-
return composeClasses(slots, getDialogUtilityClass, classes);
|
|
55078
|
+
return composeClasses$1(slots, getDialogUtilityClass, classes);
|
|
54882
55079
|
};
|
|
54883
55080
|
const DialogRoot = styled(Modal, {
|
|
54884
55081
|
name: "MuiDialog",
|
|
@@ -56289,6 +56486,7 @@ const Dropzone = ({
|
|
|
56289
56486
|
};
|
|
56290
56487
|
const EllipsisWithTooltip = ({
|
|
56291
56488
|
children,
|
|
56489
|
+
slotProps = {},
|
|
56292
56490
|
tooltipProps,
|
|
56293
56491
|
typographyProps
|
|
56294
56492
|
}) => {
|
|
@@ -56315,20 +56513,20 @@ const EllipsisWithTooltip = ({
|
|
|
56315
56513
|
};
|
|
56316
56514
|
}, []);
|
|
56317
56515
|
return /* @__PURE__ */ jsx(
|
|
56318
|
-
Tooltip
|
|
56516
|
+
Tooltip,
|
|
56319
56517
|
{
|
|
56320
56518
|
disableHoverListener: !isTextEllipsized,
|
|
56321
56519
|
title: children,
|
|
56322
|
-
...tooltipProps,
|
|
56520
|
+
...slotProps.tooltip ?? tooltipProps,
|
|
56323
56521
|
children: /* @__PURE__ */ jsx(
|
|
56324
|
-
Typography
|
|
56522
|
+
Typography,
|
|
56325
56523
|
{
|
|
56326
56524
|
ref: textRef,
|
|
56327
56525
|
noWrap: true,
|
|
56328
56526
|
overflow: "hidden",
|
|
56329
56527
|
textOverflow: "ellipsis",
|
|
56330
|
-
...typographyProps,
|
|
56331
56528
|
maxWidth: "100%",
|
|
56529
|
+
...slotProps.text ?? typographyProps,
|
|
56332
56530
|
children
|
|
56333
56531
|
}
|
|
56334
56532
|
)
|
|
@@ -56337,15 +56535,15 @@ const EllipsisWithTooltip = ({
|
|
|
56337
56535
|
};
|
|
56338
56536
|
const EmptyState = ({
|
|
56339
56537
|
image,
|
|
56340
|
-
imageProps,
|
|
56341
56538
|
imageSrc,
|
|
56342
56539
|
title,
|
|
56343
56540
|
description,
|
|
56344
|
-
descriptionProps,
|
|
56345
56541
|
footer,
|
|
56346
|
-
svgProps,
|
|
56347
|
-
titleProps,
|
|
56348
56542
|
imageHeight = 200,
|
|
56543
|
+
slotProps = {},
|
|
56544
|
+
imageProps,
|
|
56545
|
+
descriptionProps,
|
|
56546
|
+
titleProps,
|
|
56349
56547
|
...otherProps
|
|
56350
56548
|
}) => {
|
|
56351
56549
|
return /* @__PURE__ */ jsxs(
|
|
@@ -56355,10 +56553,35 @@ const EmptyState = ({
|
|
|
56355
56553
|
alignItems: "center",
|
|
56356
56554
|
margin: "0 auto",
|
|
56357
56555
|
...otherProps,
|
|
56556
|
+
...slotProps.root,
|
|
56358
56557
|
children: [
|
|
56359
|
-
/* @__PURE__ */ jsx(Box, { height: imageHeight, width: "auto", children: image ?? /* @__PURE__ */ jsx(
|
|
56360
|
-
|
|
56361
|
-
|
|
56558
|
+
/* @__PURE__ */ jsx(Box, { height: imageHeight, width: "auto", children: image ?? /* @__PURE__ */ jsx(
|
|
56559
|
+
"img",
|
|
56560
|
+
{
|
|
56561
|
+
src: imageSrc,
|
|
56562
|
+
height: "100%",
|
|
56563
|
+
...slotProps.image ?? imageProps
|
|
56564
|
+
}
|
|
56565
|
+
) }),
|
|
56566
|
+
/* @__PURE__ */ jsx(
|
|
56567
|
+
Typography,
|
|
56568
|
+
{
|
|
56569
|
+
variant: "h2",
|
|
56570
|
+
fontWeight: 500,
|
|
56571
|
+
mt: 3,
|
|
56572
|
+
...slotProps.title ?? titleProps,
|
|
56573
|
+
children: title
|
|
56574
|
+
}
|
|
56575
|
+
),
|
|
56576
|
+
description ? /* @__PURE__ */ jsx(
|
|
56577
|
+
Typography,
|
|
56578
|
+
{
|
|
56579
|
+
color: "textSecondary",
|
|
56580
|
+
mt: 2,
|
|
56581
|
+
...slotProps.description ?? descriptionProps,
|
|
56582
|
+
children: description
|
|
56583
|
+
}
|
|
56584
|
+
) : null,
|
|
56362
56585
|
footer ? /* @__PURE__ */ jsx(Box, { mt: 3, children: footer }) : null
|
|
56363
56586
|
]
|
|
56364
56587
|
}
|
|
@@ -56814,36 +57037,46 @@ const Heading = ({
|
|
|
56814
57037
|
title,
|
|
56815
57038
|
IconComponent,
|
|
56816
57039
|
iconColor,
|
|
56817
|
-
iconProps,
|
|
56818
57040
|
iconSize = 28,
|
|
57041
|
+
slotProps = {},
|
|
57042
|
+
iconProps,
|
|
56819
57043
|
titleProps,
|
|
56820
57044
|
...otherProps
|
|
56821
57045
|
}) => {
|
|
56822
|
-
return /* @__PURE__ */ jsxs(
|
|
56823
|
-
|
|
56824
|
-
|
|
56825
|
-
|
|
56826
|
-
|
|
56827
|
-
|
|
56828
|
-
|
|
56829
|
-
|
|
56830
|
-
|
|
56831
|
-
|
|
56832
|
-
|
|
56833
|
-
|
|
56834
|
-
|
|
56835
|
-
|
|
56836
|
-
|
|
56837
|
-
|
|
56838
|
-
|
|
56839
|
-
|
|
56840
|
-
|
|
56841
|
-
|
|
56842
|
-
|
|
56843
|
-
|
|
56844
|
-
|
|
56845
|
-
|
|
56846
|
-
|
|
57046
|
+
return /* @__PURE__ */ jsxs(
|
|
57047
|
+
Stack,
|
|
57048
|
+
{
|
|
57049
|
+
direction: "row",
|
|
57050
|
+
alignItems: "center",
|
|
57051
|
+
spacing: 1,
|
|
57052
|
+
...otherProps,
|
|
57053
|
+
...slotProps.root,
|
|
57054
|
+
children: [
|
|
57055
|
+
IconComponent ? /* @__PURE__ */ jsx(
|
|
57056
|
+
IconComponent,
|
|
57057
|
+
{
|
|
57058
|
+
sx: {
|
|
57059
|
+
fontSize: iconSize,
|
|
57060
|
+
padding: "2px",
|
|
57061
|
+
borderRadius: 1,
|
|
57062
|
+
color: iconColor == null ? void 0 : iconColor[500],
|
|
57063
|
+
backgroundColor: iconColor == null ? void 0 : iconColor[50]
|
|
57064
|
+
},
|
|
57065
|
+
...slotProps.icon ?? iconProps
|
|
57066
|
+
}
|
|
57067
|
+
) : null,
|
|
57068
|
+
/* @__PURE__ */ jsx(
|
|
57069
|
+
Typography,
|
|
57070
|
+
{
|
|
57071
|
+
component: "h3",
|
|
57072
|
+
variant: "h2",
|
|
57073
|
+
...slotProps.text ?? titleProps,
|
|
57074
|
+
children: title
|
|
57075
|
+
}
|
|
57076
|
+
)
|
|
57077
|
+
]
|
|
57078
|
+
}
|
|
57079
|
+
);
|
|
56847
57080
|
};
|
|
56848
57081
|
const AddPhotoAlternateIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
|
|
56849
57082
|
d: "M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8zM5 19l3-4 2 3 3-4 4 5z"
|
|
@@ -57057,21 +57290,39 @@ const ImagePicker = ({
|
|
|
57057
57290
|
}
|
|
57058
57291
|
);
|
|
57059
57292
|
};
|
|
57060
|
-
const Loader = (
|
|
57061
|
-
return /* @__PURE__ */ jsx(Box, { className: "cs-loader", color: "primary.main", children: /* @__PURE__ */ jsxs(Box, { className: "cs-loader-inner", children: [
|
|
57293
|
+
const Loader = (props) => {
|
|
57294
|
+
return /* @__PURE__ */ jsx(Box, { className: "cs-loader", color: "primary.main", ...props, children: /* @__PURE__ */ jsxs(Box, { className: "cs-loader-inner", children: [
|
|
57062
57295
|
/* @__PURE__ */ jsx("label", { children: "●" }),
|
|
57063
57296
|
/* @__PURE__ */ jsx("label", { children: "●" }),
|
|
57064
57297
|
/* @__PURE__ */ jsx("label", { children: "●" }),
|
|
57065
57298
|
/* @__PURE__ */ jsx("label", { children: "●" })
|
|
57066
57299
|
] }) });
|
|
57067
57300
|
};
|
|
57068
|
-
const LoaderBackdrop = ({
|
|
57069
|
-
|
|
57070
|
-
|
|
57071
|
-
|
|
57072
|
-
|
|
57073
|
-
|
|
57074
|
-
|
|
57301
|
+
const LoaderBackdrop = ({
|
|
57302
|
+
slotProps = {}
|
|
57303
|
+
}) => {
|
|
57304
|
+
return /* @__PURE__ */ jsx(
|
|
57305
|
+
Backdrop,
|
|
57306
|
+
{
|
|
57307
|
+
open: true,
|
|
57308
|
+
sx: { bgcolor: "background.default" },
|
|
57309
|
+
...slotProps.backdrop,
|
|
57310
|
+
children: /* @__PURE__ */ jsxs(
|
|
57311
|
+
Box,
|
|
57312
|
+
{
|
|
57313
|
+
className: "cs-loader-backdrop-inner",
|
|
57314
|
+
color: "primary.main",
|
|
57315
|
+
...slotProps.loader,
|
|
57316
|
+
children: [
|
|
57317
|
+
/* @__PURE__ */ jsx("label", { children: "●" }),
|
|
57318
|
+
/* @__PURE__ */ jsx("label", { children: "●" }),
|
|
57319
|
+
/* @__PURE__ */ jsx("label", { children: "●" }),
|
|
57320
|
+
/* @__PURE__ */ jsx("label", { children: "●" })
|
|
57321
|
+
]
|
|
57322
|
+
}
|
|
57323
|
+
)
|
|
57324
|
+
}
|
|
57325
|
+
);
|
|
57075
57326
|
};
|
|
57076
57327
|
const PasswordInput = (props) => {
|
|
57077
57328
|
const [showPassword, setShowPassword] = useState(false);
|
|
@@ -62264,7 +62515,7 @@ const useUtilityClasses$1 = (classesProp) => {
|
|
|
62264
62515
|
focused: ["focused"],
|
|
62265
62516
|
disabled: ["disabled"]
|
|
62266
62517
|
};
|
|
62267
|
-
return composeClasses(slots, getTreeItemUtilityClass, classes);
|
|
62518
|
+
return composeClasses$1(slots, getTreeItemUtilityClass, classes);
|
|
62268
62519
|
};
|
|
62269
62520
|
const TreeItem = /* @__PURE__ */ React.forwardRef(function TreeItem2(inProps, forwardedRef) {
|
|
62270
62521
|
const props = useThemeProps$1({
|
|
@@ -62544,7 +62795,7 @@ const useUtilityClasses = (ownerState) => {
|
|
|
62544
62795
|
// itemDragAndDropOverlay: ['itemDragAndDropOverlay'], => feature not available on this component
|
|
62545
62796
|
// itemErrorIcon: ['itemErrorIcon'], => feature not available on this component
|
|
62546
62797
|
};
|
|
62547
|
-
return composeClasses(slots, getRichTreeViewUtilityClass, classes);
|
|
62798
|
+
return composeClasses$1(slots, getRichTreeViewUtilityClass, classes);
|
|
62548
62799
|
}, [classes]);
|
|
62549
62800
|
};
|
|
62550
62801
|
const RichTreeViewRoot = styled("ul", {
|