@cgi-learning-hub/ui 1.12.0-dev.1771407294 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +211 -484
- package/dist/index.d.ts +0 -15
- package/dist/index.es.js +211 -484
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import React__default, { isValidElement, cloneElement, Children, createElement, useState, useRef, useEffect, useMemo } from "react";
|
|
3
|
-
import
|
|
3
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
4
4
|
import { CacheProvider, Global, ThemeContext as ThemeContext$1, keyframes, css } from "@emotion/react";
|
|
5
5
|
import { css as css2, keyframes as keyframes2 } from "@emotion/react";
|
|
6
|
-
import
|
|
6
|
+
import emStyled from "@emotion/styled";
|
|
7
7
|
import * as ReactDOM from "react-dom";
|
|
8
8
|
import ReactDOM__default from "react-dom";
|
|
9
9
|
import { CirclePicker } from "react-color";
|
|
@@ -1210,7 +1210,7 @@ function clsx() {
|
|
|
1210
1210
|
return n;
|
|
1211
1211
|
}
|
|
1212
1212
|
const refType = PropTypes.oneOfType([PropTypes.func, PropTypes.object]);
|
|
1213
|
-
function composeClasses
|
|
1213
|
+
function composeClasses(slots, getUtilityClass, classes = void 0) {
|
|
1214
1214
|
const output = {};
|
|
1215
1215
|
for (const slotName in slots) {
|
|
1216
1216
|
const slot = slots[slotName];
|
|
@@ -1412,49 +1412,49 @@ function useSlotProps(parameters) {
|
|
|
1412
1412
|
}, ownerState);
|
|
1413
1413
|
return props;
|
|
1414
1414
|
}
|
|
1415
|
-
function formatMuiErrorMessage
|
|
1415
|
+
function formatMuiErrorMessage(code, ...args) {
|
|
1416
1416
|
const url = new URL(`https://mui.com/production-error/?code=${code}`);
|
|
1417
1417
|
args.forEach((arg2) => url.searchParams.append("args[]", arg2));
|
|
1418
1418
|
return `Minified MUI error #${code}; visit ${url} for the full message.`;
|
|
1419
1419
|
}
|
|
1420
|
-
function capitalize
|
|
1420
|
+
function capitalize(string) {
|
|
1421
1421
|
if (typeof string !== "string") {
|
|
1422
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage
|
|
1422
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage(7));
|
|
1423
1423
|
}
|
|
1424
1424
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
1425
1425
|
}
|
|
1426
|
-
function isPlainObject
|
|
1426
|
+
function isPlainObject(item) {
|
|
1427
1427
|
if (typeof item !== "object" || item === null) {
|
|
1428
1428
|
return false;
|
|
1429
1429
|
}
|
|
1430
1430
|
const prototype = Object.getPrototypeOf(item);
|
|
1431
1431
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
|
|
1432
1432
|
}
|
|
1433
|
-
function deepClone
|
|
1434
|
-
if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject
|
|
1433
|
+
function deepClone(source) {
|
|
1434
|
+
if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
|
|
1435
1435
|
return source;
|
|
1436
1436
|
}
|
|
1437
1437
|
const output = {};
|
|
1438
1438
|
Object.keys(source).forEach((key) => {
|
|
1439
|
-
output[key] = deepClone
|
|
1439
|
+
output[key] = deepClone(source[key]);
|
|
1440
1440
|
});
|
|
1441
1441
|
return output;
|
|
1442
1442
|
}
|
|
1443
|
-
function deepmerge
|
|
1443
|
+
function deepmerge(target, source, options = {
|
|
1444
1444
|
clone: true
|
|
1445
1445
|
}) {
|
|
1446
1446
|
const output = options.clone ? {
|
|
1447
1447
|
...target
|
|
1448
1448
|
} : target;
|
|
1449
|
-
if (isPlainObject
|
|
1449
|
+
if (isPlainObject(target) && isPlainObject(source)) {
|
|
1450
1450
|
Object.keys(source).forEach((key) => {
|
|
1451
1451
|
if (/* @__PURE__ */ React.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
|
|
1452
1452
|
output[key] = source[key];
|
|
1453
|
-
} else if (isPlainObject
|
|
1454
|
-
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject
|
|
1455
|
-
output[key] = deepmerge
|
|
1453
|
+
} else if (isPlainObject(source[key]) && // Avoid prototype pollution
|
|
1454
|
+
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
|
|
1455
|
+
output[key] = deepmerge(target[key], source[key], options);
|
|
1456
1456
|
} else if (options.clone) {
|
|
1457
|
-
output[key] = isPlainObject
|
|
1457
|
+
output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
|
|
1458
1458
|
} else {
|
|
1459
1459
|
output[key] = source[key];
|
|
1460
1460
|
}
|
|
@@ -1466,7 +1466,7 @@ function merge(acc, item) {
|
|
|
1466
1466
|
if (!item) {
|
|
1467
1467
|
return acc;
|
|
1468
1468
|
}
|
|
1469
|
-
return deepmerge
|
|
1469
|
+
return deepmerge(acc, item, {
|
|
1470
1470
|
clone: false
|
|
1471
1471
|
// No need to clone deep, it's way faster.
|
|
1472
1472
|
});
|
|
@@ -1499,11 +1499,8 @@ function getContainerQuery(theme, shorthand) {
|
|
|
1499
1499
|
const matches = shorthand.match(/^@([^/]+)?\/?(.+)?$/);
|
|
1500
1500
|
if (!matches) {
|
|
1501
1501
|
if (process.env.NODE_ENV !== "production") {
|
|
1502
|
-
throw (
|
|
1503
|
-
|
|
1504
|
-
new Error(`MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
1505
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`)
|
|
1506
|
-
);
|
|
1502
|
+
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>\`.
|
|
1503
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage(18, `(${shorthand})`));
|
|
1507
1504
|
}
|
|
1508
1505
|
return null;
|
|
1509
1506
|
}
|
|
@@ -1616,7 +1613,7 @@ function removeUnusedBreakpoints(breakpointKeys, style2) {
|
|
|
1616
1613
|
}
|
|
1617
1614
|
function mergeBreakpointsInOrder(breakpointsInput, ...styles2) {
|
|
1618
1615
|
const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);
|
|
1619
|
-
const mergedOutput = [emptyBreakpoints, ...styles2].reduce((prev2, next2) => deepmerge
|
|
1616
|
+
const mergedOutput = [emptyBreakpoints, ...styles2].reduce((prev2, next2) => deepmerge(prev2, next2), {});
|
|
1620
1617
|
return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);
|
|
1621
1618
|
}
|
|
1622
1619
|
function computeBreakpointsBase(breakpointValues, themeBreakpoints) {
|
|
@@ -1712,7 +1709,7 @@ function style$2(options) {
|
|
|
1712
1709
|
const styleFromPropValue = (propValueFinal) => {
|
|
1713
1710
|
let value = getStyleValue$1(themeMapping, transform, propValueFinal);
|
|
1714
1711
|
if (propValueFinal === value && typeof propValueFinal === "string") {
|
|
1715
|
-
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize
|
|
1712
|
+
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize(propValueFinal)}`, propValueFinal);
|
|
1716
1713
|
}
|
|
1717
1714
|
if (cssProperty === false) {
|
|
1718
1715
|
return value;
|
|
@@ -2419,7 +2416,7 @@ function unstable_createStyleFunctionSx() {
|
|
|
2419
2416
|
const styleFromPropValue = (propValueFinal) => {
|
|
2420
2417
|
let value = getStyleValue$1(themeMapping, transform, propValueFinal);
|
|
2421
2418
|
if (propValueFinal === value && typeof propValueFinal === "string") {
|
|
2422
|
-
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize
|
|
2419
|
+
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize(propValueFinal)}`, propValueFinal);
|
|
2423
2420
|
}
|
|
2424
2421
|
if (cssProperty === false) {
|
|
2425
2422
|
return value;
|
|
@@ -2523,7 +2520,7 @@ function extendSxProp$1(props) {
|
|
|
2523
2520
|
} else if (typeof inSx === "function") {
|
|
2524
2521
|
finalSx = (...args) => {
|
|
2525
2522
|
const result = inSx(...args);
|
|
2526
|
-
if (!isPlainObject
|
|
2523
|
+
if (!isPlainObject(result)) {
|
|
2527
2524
|
return systemProps;
|
|
2528
2525
|
}
|
|
2529
2526
|
return {
|
|
@@ -3825,7 +3822,7 @@ function createTheme$1(options = {}, ...args) {
|
|
|
3825
3822
|
} = options;
|
|
3826
3823
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
3827
3824
|
const spacing = createSpacing(spacingInput);
|
|
3828
|
-
let muiTheme = deepmerge
|
|
3825
|
+
let muiTheme = deepmerge({
|
|
3829
3826
|
breakpoints,
|
|
3830
3827
|
direction: "ltr",
|
|
3831
3828
|
components: {},
|
|
@@ -3842,7 +3839,7 @@ function createTheme$1(options = {}, ...args) {
|
|
|
3842
3839
|
}, other);
|
|
3843
3840
|
muiTheme = cssContainerQueries(muiTheme);
|
|
3844
3841
|
muiTheme.applyStyles = applyStyles$2;
|
|
3845
|
-
muiTheme = args.reduce((acc, argument) => deepmerge
|
|
3842
|
+
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
|
3846
3843
|
muiTheme.unstable_sxConfig = {
|
|
3847
3844
|
...defaultSxConfig,
|
|
3848
3845
|
...other?.unstable_sxConfig
|
|
@@ -3918,9 +3915,9 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$1.propTypes = {
|
|
|
3918
3915
|
*/
|
|
3919
3916
|
themeId: PropTypes.string
|
|
3920
3917
|
} : void 0;
|
|
3921
|
-
const defaultGenerator
|
|
3922
|
-
const createClassNameGenerator
|
|
3923
|
-
let generate = defaultGenerator
|
|
3918
|
+
const defaultGenerator = (componentName) => componentName;
|
|
3919
|
+
const createClassNameGenerator = () => {
|
|
3920
|
+
let generate = defaultGenerator;
|
|
3924
3921
|
return {
|
|
3925
3922
|
configure(generator) {
|
|
3926
3923
|
generate = generator;
|
|
@@ -3929,11 +3926,11 @@ const createClassNameGenerator$1 = () => {
|
|
|
3929
3926
|
return generate(componentName);
|
|
3930
3927
|
},
|
|
3931
3928
|
reset() {
|
|
3932
|
-
generate = defaultGenerator
|
|
3929
|
+
generate = defaultGenerator;
|
|
3933
3930
|
}
|
|
3934
3931
|
};
|
|
3935
3932
|
};
|
|
3936
|
-
const ClassNameGenerator
|
|
3933
|
+
const ClassNameGenerator = createClassNameGenerator();
|
|
3937
3934
|
function createBox(options = {}) {
|
|
3938
3935
|
const {
|
|
3939
3936
|
themeId,
|
|
@@ -3961,7 +3958,7 @@ function createBox(options = {}) {
|
|
|
3961
3958
|
});
|
|
3962
3959
|
return Box2;
|
|
3963
3960
|
}
|
|
3964
|
-
const globalStateClasses
|
|
3961
|
+
const globalStateClasses = {
|
|
3965
3962
|
active: "active",
|
|
3966
3963
|
checked: "checked",
|
|
3967
3964
|
completed: "completed",
|
|
@@ -3975,9 +3972,16 @@ const globalStateClasses$1 = {
|
|
|
3975
3972
|
required: "required",
|
|
3976
3973
|
selected: "selected"
|
|
3977
3974
|
};
|
|
3978
|
-
function generateUtilityClass
|
|
3979
|
-
const globalStateClass = globalStateClasses
|
|
3980
|
-
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator
|
|
3975
|
+
function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
|
|
3976
|
+
const globalStateClass = globalStateClasses[slot];
|
|
3977
|
+
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
|
|
3978
|
+
}
|
|
3979
|
+
function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
|
|
3980
|
+
const result = {};
|
|
3981
|
+
slots.forEach((slot) => {
|
|
3982
|
+
result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
|
|
3983
|
+
});
|
|
3984
|
+
return result;
|
|
3981
3985
|
}
|
|
3982
3986
|
function getFunctionComponentName(Component, fallback = "") {
|
|
3983
3987
|
return Component.displayName || Component.name || fallback;
|
|
@@ -4156,7 +4160,7 @@ function createStyled(input = {}) {
|
|
|
4156
4160
|
return processStyle(props, style2, props.theme.modularCssLayers ? layerName : void 0);
|
|
4157
4161
|
};
|
|
4158
4162
|
}
|
|
4159
|
-
if (isPlainObject
|
|
4163
|
+
if (isPlainObject(style2)) {
|
|
4160
4164
|
const serialized = preprocessStyles(style2);
|
|
4161
4165
|
return function styleObjectProcessor(props) {
|
|
4162
4166
|
if (!serialized.variants) {
|
|
@@ -4229,7 +4233,7 @@ function createStyled(input = {}) {
|
|
|
4229
4233
|
}
|
|
4230
4234
|
function generateDisplayName(componentName, componentSlot, tag) {
|
|
4231
4235
|
if (componentName) {
|
|
4232
|
-
return `${componentName}${capitalize
|
|
4236
|
+
return `${componentName}${capitalize(componentSlot || "")}`;
|
|
4233
4237
|
}
|
|
4234
4238
|
return `Styled(${getDisplayName(tag)})`;
|
|
4235
4239
|
}
|
|
@@ -4261,7 +4265,7 @@ function lowercaseFirstLetter(string) {
|
|
|
4261
4265
|
return string.charAt(0).toLowerCase() + string.slice(1);
|
|
4262
4266
|
}
|
|
4263
4267
|
const styled$1 = createStyled();
|
|
4264
|
-
function resolveProps
|
|
4268
|
+
function resolveProps(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
4265
4269
|
const output = {
|
|
4266
4270
|
...props
|
|
4267
4271
|
};
|
|
@@ -4287,7 +4291,7 @@ function resolveProps$1(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
|
4287
4291
|
for (const slotKey in defaultSlotProps) {
|
|
4288
4292
|
if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {
|
|
4289
4293
|
const slotPropName = slotKey;
|
|
4290
|
-
output[propName][slotPropName] = resolveProps
|
|
4294
|
+
output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName], mergeClassNameAndStyle);
|
|
4291
4295
|
}
|
|
4292
4296
|
}
|
|
4293
4297
|
}
|
|
@@ -4314,7 +4318,7 @@ function getThemeProps$1(params) {
|
|
|
4314
4318
|
if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {
|
|
4315
4319
|
return props;
|
|
4316
4320
|
}
|
|
4317
|
-
return resolveProps
|
|
4321
|
+
return resolveProps(theme.components[name].defaultProps, props);
|
|
4318
4322
|
}
|
|
4319
4323
|
function useThemeProps$3({
|
|
4320
4324
|
props,
|
|
@@ -4332,7 +4336,7 @@ function useThemeProps$3({
|
|
|
4332
4336
|
props
|
|
4333
4337
|
});
|
|
4334
4338
|
}
|
|
4335
|
-
const useEnhancedEffect
|
|
4339
|
+
const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
4336
4340
|
function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
|
|
4337
4341
|
const [match2, setMatch] = React.useState(() => {
|
|
4338
4342
|
if (noSsr && matchMedia) {
|
|
@@ -4343,7 +4347,7 @@ function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSs
|
|
|
4343
4347
|
}
|
|
4344
4348
|
return defaultMatches;
|
|
4345
4349
|
});
|
|
4346
|
-
useEnhancedEffect
|
|
4350
|
+
useEnhancedEffect(() => {
|
|
4347
4351
|
if (!matchMedia) {
|
|
4348
4352
|
return void 0;
|
|
4349
4353
|
}
|
|
@@ -4359,10 +4363,10 @@ function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSs
|
|
|
4359
4363
|
}, [query, matchMedia]);
|
|
4360
4364
|
return match2;
|
|
4361
4365
|
}
|
|
4362
|
-
const safeReact$
|
|
4366
|
+
const safeReact$1 = {
|
|
4363
4367
|
...React
|
|
4364
4368
|
};
|
|
4365
|
-
const maybeReactUseSyncExternalStore = safeReact$
|
|
4369
|
+
const maybeReactUseSyncExternalStore = safeReact$1.useSyncExternalStore;
|
|
4366
4370
|
function useMediaQueryNew(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
|
|
4367
4371
|
const getDefaultSnapshot = React.useCallback(() => defaultMatches, [defaultMatches]);
|
|
4368
4372
|
const getServerSnapshot = React.useMemo(() => {
|
|
@@ -4477,7 +4481,7 @@ function decomposeColor(color2) {
|
|
|
4477
4481
|
const type = color2.substring(0, marker);
|
|
4478
4482
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(type)) {
|
|
4479
4483
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${color2}\` color.
|
|
4480
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage
|
|
4484
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage(9, color2));
|
|
4481
4485
|
}
|
|
4482
4486
|
let values2 = color2.substring(marker + 1, color2.length - 1);
|
|
4483
4487
|
let colorSpace;
|
|
@@ -4489,7 +4493,7 @@ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
|
|
4489
4493
|
}
|
|
4490
4494
|
if (!["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(colorSpace)) {
|
|
4491
4495
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${colorSpace}\` color space.
|
|
4492
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage
|
|
4496
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage(10, colorSpace));
|
|
4493
4497
|
}
|
|
4494
4498
|
} else {
|
|
4495
4499
|
values2 = values2.split(",");
|
|
@@ -4663,14 +4667,14 @@ function private_safeEmphasize(color2, coefficient, warning) {
|
|
|
4663
4667
|
return color2;
|
|
4664
4668
|
}
|
|
4665
4669
|
}
|
|
4666
|
-
const specialProperty
|
|
4667
|
-
function exactProp
|
|
4670
|
+
const specialProperty = "exact-prop: ";
|
|
4671
|
+
function exactProp(propTypes2) {
|
|
4668
4672
|
if (process.env.NODE_ENV === "production") {
|
|
4669
4673
|
return propTypes2;
|
|
4670
4674
|
}
|
|
4671
4675
|
return {
|
|
4672
4676
|
...propTypes2,
|
|
4673
|
-
[specialProperty
|
|
4677
|
+
[specialProperty]: (props) => {
|
|
4674
4678
|
const unsupportedProps = Object.keys(props).filter((prop) => !propTypes2.hasOwnProperty(prop));
|
|
4675
4679
|
if (unsupportedProps.length > 0) {
|
|
4676
4680
|
return new Error(`The following props are not supported: ${unsupportedProps.map((prop) => `\`${prop}\``).join(", ")}. Please remove them.`);
|
|
@@ -4743,7 +4747,7 @@ process.env.NODE_ENV !== "production" ? ThemeProvider$2.propTypes = {
|
|
|
4743
4747
|
theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired
|
|
4744
4748
|
} : void 0;
|
|
4745
4749
|
if (process.env.NODE_ENV !== "production") {
|
|
4746
|
-
process.env.NODE_ENV !== "production" ? ThemeProvider$2.propTypes = exactProp
|
|
4750
|
+
process.env.NODE_ENV !== "production" ? ThemeProvider$2.propTypes = exactProp(ThemeProvider$2.propTypes) : void 0;
|
|
4747
4751
|
}
|
|
4748
4752
|
const PropsContext = /* @__PURE__ */ React.createContext(void 0);
|
|
4749
4753
|
function DefaultPropsProvider({
|
|
@@ -4780,10 +4784,10 @@ function getThemeProps(params) {
|
|
|
4780
4784
|
}
|
|
4781
4785
|
const config2 = theme.components[name];
|
|
4782
4786
|
if (config2.defaultProps) {
|
|
4783
|
-
return resolveProps
|
|
4787
|
+
return resolveProps(config2.defaultProps, props, theme.components.mergeClassNameAndStyle);
|
|
4784
4788
|
}
|
|
4785
4789
|
if (!config2.styleOverrides && !config2.variants) {
|
|
4786
|
-
return resolveProps
|
|
4790
|
+
return resolveProps(config2, props, theme.components.mergeClassNameAndStyle);
|
|
4787
4791
|
}
|
|
4788
4792
|
return props;
|
|
4789
4793
|
}
|
|
@@ -4800,32 +4804,32 @@ function useDefaultProps$1({
|
|
|
4800
4804
|
}
|
|
4801
4805
|
});
|
|
4802
4806
|
}
|
|
4803
|
-
let globalId
|
|
4804
|
-
function useGlobalId
|
|
4807
|
+
let globalId = 0;
|
|
4808
|
+
function useGlobalId(idOverride) {
|
|
4805
4809
|
const [defaultId, setDefaultId] = React.useState(idOverride);
|
|
4806
4810
|
const id = idOverride || defaultId;
|
|
4807
4811
|
React.useEffect(() => {
|
|
4808
4812
|
if (defaultId == null) {
|
|
4809
|
-
globalId
|
|
4810
|
-
setDefaultId(`mui-${globalId
|
|
4813
|
+
globalId += 1;
|
|
4814
|
+
setDefaultId(`mui-${globalId}`);
|
|
4811
4815
|
}
|
|
4812
4816
|
}, [defaultId]);
|
|
4813
4817
|
return id;
|
|
4814
4818
|
}
|
|
4815
|
-
const safeReact
|
|
4819
|
+
const safeReact = {
|
|
4816
4820
|
...React
|
|
4817
4821
|
};
|
|
4818
|
-
const maybeReactUseId
|
|
4819
|
-
function useId
|
|
4820
|
-
if (maybeReactUseId
|
|
4821
|
-
const reactId = maybeReactUseId
|
|
4822
|
-
return reactId;
|
|
4822
|
+
const maybeReactUseId = safeReact.useId;
|
|
4823
|
+
function useId(idOverride) {
|
|
4824
|
+
if (maybeReactUseId !== void 0) {
|
|
4825
|
+
const reactId = maybeReactUseId();
|
|
4826
|
+
return idOverride ?? reactId;
|
|
4823
4827
|
}
|
|
4824
|
-
return useGlobalId
|
|
4828
|
+
return useGlobalId(idOverride);
|
|
4825
4829
|
}
|
|
4826
4830
|
function useLayerOrder(theme) {
|
|
4827
4831
|
const upperTheme = useTheme$3();
|
|
4828
|
-
const id = useId
|
|
4832
|
+
const id = useId() || "";
|
|
4829
4833
|
const {
|
|
4830
4834
|
modularCssLayers
|
|
4831
4835
|
} = theme;
|
|
@@ -4837,7 +4841,7 @@ function useLayerOrder(theme) {
|
|
|
4837
4841
|
} else {
|
|
4838
4842
|
layerOrder = `@layer ${layerOrder};`;
|
|
4839
4843
|
}
|
|
4840
|
-
useEnhancedEffect
|
|
4844
|
+
useEnhancedEffect(() => {
|
|
4841
4845
|
const head = document.querySelector("head");
|
|
4842
4846
|
if (!head) {
|
|
4843
4847
|
return;
|
|
@@ -4936,7 +4940,7 @@ process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = {
|
|
|
4936
4940
|
themeId: PropTypes.string
|
|
4937
4941
|
} : void 0;
|
|
4938
4942
|
if (process.env.NODE_ENV !== "production") {
|
|
4939
|
-
process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = exactProp
|
|
4943
|
+
process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = exactProp(ThemeProvider$1.propTypes) : void 0;
|
|
4940
4944
|
}
|
|
4941
4945
|
const arg = {
|
|
4942
4946
|
theme: void 0
|
|
@@ -5427,7 +5431,7 @@ function createCssVarsProvider(options) {
|
|
|
5427
5431
|
return resolveTheme ? resolveTheme(theme) : theme;
|
|
5428
5432
|
}, [restThemeProp, calculatedColorScheme, components, colorSchemes, cssVarPrefix]);
|
|
5429
5433
|
const colorSchemeSelector = restThemeProp.colorSchemeSelector;
|
|
5430
|
-
useEnhancedEffect
|
|
5434
|
+
useEnhancedEffect(() => {
|
|
5431
5435
|
if (colorScheme && colorSchemeNode && colorSchemeSelector && colorSchemeSelector !== "media") {
|
|
5432
5436
|
const selector = colorSchemeSelector;
|
|
5433
5437
|
let rule = colorSchemeSelector;
|
|
@@ -5719,7 +5723,7 @@ function prepareCssVars(theme, parserConfig = {}) {
|
|
|
5719
5723
|
css: css3,
|
|
5720
5724
|
varsWithDefaults
|
|
5721
5725
|
} = cssVarsParser(scheme, parserConfig);
|
|
5722
|
-
themeVars = deepmerge
|
|
5726
|
+
themeVars = deepmerge(themeVars, varsWithDefaults);
|
|
5723
5727
|
colorSchemesMap[key] = {
|
|
5724
5728
|
css: css3,
|
|
5725
5729
|
vars
|
|
@@ -5731,7 +5735,7 @@ function prepareCssVars(theme, parserConfig = {}) {
|
|
|
5731
5735
|
vars,
|
|
5732
5736
|
varsWithDefaults
|
|
5733
5737
|
} = cssVarsParser(defaultScheme, parserConfig);
|
|
5734
|
-
themeVars = deepmerge
|
|
5738
|
+
themeVars = deepmerge(themeVars, varsWithDefaults);
|
|
5735
5739
|
colorSchemesMap[defaultColorScheme] = {
|
|
5736
5740
|
css: css3,
|
|
5737
5741
|
vars
|
|
@@ -5776,7 +5780,7 @@ function prepareCssVars(theme, parserConfig = {}) {
|
|
|
5776
5780
|
Object.entries(colorSchemesMap).forEach(([, {
|
|
5777
5781
|
vars: schemeVars
|
|
5778
5782
|
}]) => {
|
|
5779
|
-
vars = deepmerge
|
|
5783
|
+
vars = deepmerge(vars, schemeVars);
|
|
5780
5784
|
});
|
|
5781
5785
|
return vars;
|
|
5782
5786
|
};
|
|
@@ -5872,26 +5876,6 @@ function createGetColorSchemeSelector(selector) {
|
|
|
5872
5876
|
return "&";
|
|
5873
5877
|
};
|
|
5874
5878
|
}
|
|
5875
|
-
function composeClasses(slots, getUtilityClass, classes = void 0) {
|
|
5876
|
-
const output = {};
|
|
5877
|
-
for (const slotName in slots) {
|
|
5878
|
-
const slot = slots[slotName];
|
|
5879
|
-
let buffer = "";
|
|
5880
|
-
let start2 = true;
|
|
5881
|
-
for (let i = 0; i < slot.length; i += 1) {
|
|
5882
|
-
const value = slot[i];
|
|
5883
|
-
if (value) {
|
|
5884
|
-
buffer += (start2 === true ? "" : " ") + getUtilityClass(value);
|
|
5885
|
-
start2 = false;
|
|
5886
|
-
if (classes && classes[value]) {
|
|
5887
|
-
buffer += " " + classes[value];
|
|
5888
|
-
}
|
|
5889
|
-
}
|
|
5890
|
-
}
|
|
5891
|
-
output[slotName] = buffer;
|
|
5892
|
-
}
|
|
5893
|
-
return output;
|
|
5894
|
-
}
|
|
5895
5879
|
const defaultTheme$4 = createTheme$1();
|
|
5896
5880
|
const defaultCreateStyledComponent$2 = styled$1("div", {
|
|
5897
5881
|
name: "MuiContainer",
|
|
@@ -5900,7 +5884,7 @@ const defaultCreateStyledComponent$2 = styled$1("div", {
|
|
|
5900
5884
|
const {
|
|
5901
5885
|
ownerState
|
|
5902
5886
|
} = props;
|
|
5903
|
-
return [styles2.root, styles2[`maxWidth${capitalize
|
|
5887
|
+
return [styles2.root, styles2[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
|
|
5904
5888
|
}
|
|
5905
5889
|
});
|
|
5906
5890
|
const useThemePropsDefault$2 = (inProps) => useThemeProps$3({
|
|
@@ -5910,7 +5894,7 @@ const useThemePropsDefault$2 = (inProps) => useThemeProps$3({
|
|
|
5910
5894
|
});
|
|
5911
5895
|
const useUtilityClasses$1X = (ownerState, componentName) => {
|
|
5912
5896
|
const getContainerUtilityClass2 = (slot) => {
|
|
5913
|
-
return generateUtilityClass
|
|
5897
|
+
return generateUtilityClass(componentName, slot);
|
|
5914
5898
|
};
|
|
5915
5899
|
const {
|
|
5916
5900
|
classes,
|
|
@@ -5919,7 +5903,7 @@ const useUtilityClasses$1X = (ownerState, componentName) => {
|
|
|
5919
5903
|
maxWidth: maxWidth2
|
|
5920
5904
|
} = ownerState;
|
|
5921
5905
|
const slots = {
|
|
5922
|
-
root: ["root", maxWidth2 && `maxWidth${capitalize
|
|
5906
|
+
root: ["root", maxWidth2 && `maxWidth${capitalize(String(maxWidth2))}`, fixed && "fixed", disableGutters && "disableGutters"]
|
|
5923
5907
|
};
|
|
5924
5908
|
return composeClasses(slots, getContainerUtilityClass2, classes);
|
|
5925
5909
|
};
|
|
@@ -6022,7 +6006,7 @@ function createContainer(options = {}) {
|
|
|
6022
6006
|
} : void 0;
|
|
6023
6007
|
return Container2;
|
|
6024
6008
|
}
|
|
6025
|
-
function isMuiElement
|
|
6009
|
+
function isMuiElement(element, muiNames) {
|
|
6026
6010
|
return /* @__PURE__ */ React.isValidElement(element) && muiNames.indexOf(
|
|
6027
6011
|
// For server components `muiName` is available in element.type._payload.value.muiName
|
|
6028
6012
|
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
@@ -6323,7 +6307,7 @@ function createGrid(options = {}) {
|
|
|
6323
6307
|
const slots = {
|
|
6324
6308
|
root: ["root", container && "container", wrap !== "wrap" && `wrap-xs-${String(wrap)}`, ...generateDirectionClasses(direction), ...generateSizeClassNames(size), ...container ? generateSpacingClassNames(spacing, theme.breakpoints.keys[0]) : []]
|
|
6325
6309
|
};
|
|
6326
|
-
return composeClasses(slots, (slot) => generateUtilityClass
|
|
6310
|
+
return composeClasses(slots, (slot) => generateUtilityClass(componentName, slot), {});
|
|
6327
6311
|
};
|
|
6328
6312
|
function parseResponsiveProp(propValue, breakpoints, shouldUseValue = () => true) {
|
|
6329
6313
|
const parsedProp = {};
|
|
@@ -6397,7 +6381,7 @@ function createGrid(options = {}) {
|
|
|
6397
6381
|
className: clsx(classes.root, className),
|
|
6398
6382
|
...other,
|
|
6399
6383
|
children: React.Children.map(children, (child) => {
|
|
6400
|
-
if (/* @__PURE__ */ React.isValidElement(child) && isMuiElement
|
|
6384
|
+
if (/* @__PURE__ */ React.isValidElement(child) && isMuiElement(child, ["Grid"]) && container && child.props.container) {
|
|
6401
6385
|
return /* @__PURE__ */ React.cloneElement(child, {
|
|
6402
6386
|
unstable_level: child.props?.unstable_level ?? level + 1
|
|
6403
6387
|
});
|
|
@@ -6514,7 +6498,7 @@ const style = ({
|
|
|
6514
6498
|
}
|
|
6515
6499
|
};
|
|
6516
6500
|
};
|
|
6517
|
-
styles2 = deepmerge
|
|
6501
|
+
styles2 = deepmerge(styles2, handleBreakpoints({
|
|
6518
6502
|
theme
|
|
6519
6503
|
}, spacingValues, styleFromPropValue));
|
|
6520
6504
|
}
|
|
@@ -6532,7 +6516,7 @@ function createStack(options = {}) {
|
|
|
6532
6516
|
const slots = {
|
|
6533
6517
|
root: ["root"]
|
|
6534
6518
|
};
|
|
6535
|
-
return composeClasses(slots, (slot) => generateUtilityClass
|
|
6519
|
+
return composeClasses(slots, (slot) => generateUtilityClass(componentName, slot), {});
|
|
6536
6520
|
};
|
|
6537
6521
|
const StackRoot = createStyledComponent(style);
|
|
6538
6522
|
const Stack2 = /* @__PURE__ */ React.forwardRef(function Grid2(inProps, ref) {
|
|
@@ -6572,50 +6556,6 @@ function createStack(options = {}) {
|
|
|
6572
6556
|
} : void 0;
|
|
6573
6557
|
return Stack2;
|
|
6574
6558
|
}
|
|
6575
|
-
function formatMuiErrorMessage(code, ...args) {
|
|
6576
|
-
const url = new URL(`https://mui.com/production-error/?code=${code}`);
|
|
6577
|
-
args.forEach((arg2) => url.searchParams.append("args[]", arg2));
|
|
6578
|
-
return `Minified MUI error #${code}; visit ${url} for the full message.`;
|
|
6579
|
-
}
|
|
6580
|
-
function isPlainObject(item) {
|
|
6581
|
-
if (typeof item !== "object" || item === null) {
|
|
6582
|
-
return false;
|
|
6583
|
-
}
|
|
6584
|
-
const prototype = Object.getPrototypeOf(item);
|
|
6585
|
-
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
|
|
6586
|
-
}
|
|
6587
|
-
function deepClone(source) {
|
|
6588
|
-
if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
|
|
6589
|
-
return source;
|
|
6590
|
-
}
|
|
6591
|
-
const output = {};
|
|
6592
|
-
Object.keys(source).forEach((key) => {
|
|
6593
|
-
output[key] = deepClone(source[key]);
|
|
6594
|
-
});
|
|
6595
|
-
return output;
|
|
6596
|
-
}
|
|
6597
|
-
function deepmerge(target, source, options = {
|
|
6598
|
-
clone: true
|
|
6599
|
-
}) {
|
|
6600
|
-
const output = options.clone ? {
|
|
6601
|
-
...target
|
|
6602
|
-
} : target;
|
|
6603
|
-
if (isPlainObject(target) && isPlainObject(source)) {
|
|
6604
|
-
Object.keys(source).forEach((key) => {
|
|
6605
|
-
if (/* @__PURE__ */ React.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
|
|
6606
|
-
output[key] = source[key];
|
|
6607
|
-
} else if (isPlainObject(source[key]) && // Avoid prototype pollution
|
|
6608
|
-
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
|
|
6609
|
-
output[key] = deepmerge(target[key], source[key], options);
|
|
6610
|
-
} else if (options.clone) {
|
|
6611
|
-
output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
|
|
6612
|
-
} else {
|
|
6613
|
-
output[key] = source[key];
|
|
6614
|
-
}
|
|
6615
|
-
});
|
|
6616
|
-
}
|
|
6617
|
-
return output;
|
|
6618
|
-
}
|
|
6619
6559
|
const common = {
|
|
6620
6560
|
black: "#000",
|
|
6621
6561
|
white: "#fff"
|
|
@@ -7069,40 +7009,6 @@ function prepareTypographyVars(typography) {
|
|
|
7069
7009
|
});
|
|
7070
7010
|
return vars;
|
|
7071
7011
|
}
|
|
7072
|
-
const defaultGenerator = (componentName) => componentName;
|
|
7073
|
-
const createClassNameGenerator = () => {
|
|
7074
|
-
let generate = defaultGenerator;
|
|
7075
|
-
return {
|
|
7076
|
-
configure(generator) {
|
|
7077
|
-
generate = generator;
|
|
7078
|
-
},
|
|
7079
|
-
generate(componentName) {
|
|
7080
|
-
return generate(componentName);
|
|
7081
|
-
},
|
|
7082
|
-
reset() {
|
|
7083
|
-
generate = defaultGenerator;
|
|
7084
|
-
}
|
|
7085
|
-
};
|
|
7086
|
-
};
|
|
7087
|
-
const ClassNameGenerator = createClassNameGenerator();
|
|
7088
|
-
const globalStateClasses = {
|
|
7089
|
-
active: "active",
|
|
7090
|
-
checked: "checked",
|
|
7091
|
-
completed: "completed",
|
|
7092
|
-
disabled: "disabled",
|
|
7093
|
-
error: "error",
|
|
7094
|
-
expanded: "expanded",
|
|
7095
|
-
focused: "focused",
|
|
7096
|
-
focusVisible: "focusVisible",
|
|
7097
|
-
open: "open",
|
|
7098
|
-
readOnly: "readOnly",
|
|
7099
|
-
required: "required",
|
|
7100
|
-
selected: "selected"
|
|
7101
|
-
};
|
|
7102
|
-
function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
|
|
7103
|
-
const globalStateClass = globalStateClasses[slot];
|
|
7104
|
-
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
|
|
7105
|
-
}
|
|
7106
7012
|
function createMixins(breakpoints, mixins) {
|
|
7107
7013
|
return {
|
|
7108
7014
|
toolbar: {
|
|
@@ -8150,12 +8056,6 @@ function animate(property, element, to, options = {}, cb = () => {
|
|
|
8150
8056
|
requestAnimationFrame(step);
|
|
8151
8057
|
return cancel;
|
|
8152
8058
|
}
|
|
8153
|
-
function capitalize(string) {
|
|
8154
|
-
if (typeof string !== "string") {
|
|
8155
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage(7));
|
|
8156
|
-
}
|
|
8157
|
-
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
8158
|
-
}
|
|
8159
8059
|
function createChainedFunction(...funcs) {
|
|
8160
8060
|
return funcs.reduce((acc, func) => {
|
|
8161
8061
|
if (func == null) {
|
|
@@ -8168,13 +8068,6 @@ function createChainedFunction(...funcs) {
|
|
|
8168
8068
|
}, () => {
|
|
8169
8069
|
});
|
|
8170
8070
|
}
|
|
8171
|
-
function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
|
|
8172
|
-
const result = {};
|
|
8173
|
-
slots.forEach((slot) => {
|
|
8174
|
-
result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
|
|
8175
|
-
});
|
|
8176
|
-
return result;
|
|
8177
|
-
}
|
|
8178
8071
|
function getSvgIconUtilityClass(slot) {
|
|
8179
8072
|
return generateUtilityClass("MuiSvgIcon", slot);
|
|
8180
8073
|
}
|
|
@@ -8188,7 +8081,7 @@ const useUtilityClasses$1W = (ownerState) => {
|
|
|
8188
8081
|
const slots = {
|
|
8189
8082
|
root: ["root", color2 !== "inherit" && `color${capitalize(color2)}`, `fontSize${capitalize(fontSize)}`]
|
|
8190
8083
|
};
|
|
8191
|
-
return composeClasses
|
|
8084
|
+
return composeClasses(slots, getSvgIconUtilityClass, classes);
|
|
8192
8085
|
};
|
|
8193
8086
|
const SvgIconRoot = styled("svg", {
|
|
8194
8087
|
name: "MuiSvgIcon",
|
|
@@ -8424,14 +8317,6 @@ function createSvgIcon(path, displayName) {
|
|
|
8424
8317
|
Component.muiName = SvgIcon.muiName;
|
|
8425
8318
|
return /* @__PURE__ */ React.memo(/* @__PURE__ */ React.forwardRef(Component));
|
|
8426
8319
|
}
|
|
8427
|
-
function isMuiElement(element, muiNames) {
|
|
8428
|
-
return /* @__PURE__ */ React.isValidElement(element) && muiNames.indexOf(
|
|
8429
|
-
// For server components `muiName` is available in element.type._payload.value.muiName
|
|
8430
|
-
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
8431
|
-
// eslint-disable-next-line no-underscore-dangle
|
|
8432
|
-
element.type.muiName ?? element.type?._payload?.value?.muiName
|
|
8433
|
-
) !== -1;
|
|
8434
|
-
}
|
|
8435
8320
|
function ownerDocument(node2) {
|
|
8436
8321
|
return node2 && node2.ownerDocument || document;
|
|
8437
8322
|
}
|
|
@@ -8469,30 +8354,6 @@ function setRef(ref, value) {
|
|
|
8469
8354
|
ref.current = value;
|
|
8470
8355
|
}
|
|
8471
8356
|
}
|
|
8472
|
-
const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
8473
|
-
let globalId = 0;
|
|
8474
|
-
function useGlobalId(idOverride) {
|
|
8475
|
-
const [defaultId, setDefaultId] = React.useState(idOverride);
|
|
8476
|
-
const id = idOverride || defaultId;
|
|
8477
|
-
React.useEffect(() => {
|
|
8478
|
-
if (defaultId == null) {
|
|
8479
|
-
globalId += 1;
|
|
8480
|
-
setDefaultId(`mui-${globalId}`);
|
|
8481
|
-
}
|
|
8482
|
-
}, [defaultId]);
|
|
8483
|
-
return id;
|
|
8484
|
-
}
|
|
8485
|
-
const safeReact = {
|
|
8486
|
-
...React
|
|
8487
|
-
};
|
|
8488
|
-
const maybeReactUseId = safeReact.useId;
|
|
8489
|
-
function useId(idOverride) {
|
|
8490
|
-
if (maybeReactUseId !== void 0) {
|
|
8491
|
-
const reactId = maybeReactUseId();
|
|
8492
|
-
return idOverride ?? reactId;
|
|
8493
|
-
}
|
|
8494
|
-
return useGlobalId(idOverride);
|
|
8495
|
-
}
|
|
8496
8357
|
function unsupportedProp(props, propName, componentName, location, propFullName) {
|
|
8497
8358
|
if (process.env.NODE_ENV === "production") {
|
|
8498
8359
|
return null;
|
|
@@ -10179,7 +10040,7 @@ const useUtilityClasses$1V = (ownerState) => {
|
|
|
10179
10040
|
const slots = {
|
|
10180
10041
|
root: ["root", disabled && "disabled", focusVisible && "focusVisible"]
|
|
10181
10042
|
};
|
|
10182
|
-
const composedClasses = composeClasses
|
|
10043
|
+
const composedClasses = composeClasses(slots, getButtonBaseUtilityClass, classes);
|
|
10183
10044
|
if (focusVisible && focusVisibleClassName) {
|
|
10184
10045
|
composedClasses.root += ` ${focusVisibleClassName}`;
|
|
10185
10046
|
}
|
|
@@ -10602,7 +10463,7 @@ const useUtilityClasses$1U = (ownerState) => {
|
|
|
10602
10463
|
const slots = {
|
|
10603
10464
|
root: ["root", orientation, disabled && "disabled"]
|
|
10604
10465
|
};
|
|
10605
|
-
return composeClasses
|
|
10466
|
+
return composeClasses(slots, getTabScrollButtonUtilityClass, classes);
|
|
10606
10467
|
};
|
|
10607
10468
|
const TabScrollButtonRoot = styled(ButtonBase, {
|
|
10608
10469
|
name: "MuiTabScrollButton",
|
|
@@ -10866,7 +10727,7 @@ const useUtilityClasses$1T = (ownerState) => {
|
|
|
10866
10727
|
scrollableX: [scrollableX && "scrollableX"],
|
|
10867
10728
|
hideScrollbar: [hideScrollbar && "hideScrollbar"]
|
|
10868
10729
|
};
|
|
10869
|
-
return composeClasses
|
|
10730
|
+
return composeClasses(slots, getTabsUtilityClass, classes);
|
|
10870
10731
|
};
|
|
10871
10732
|
const TabsRoot = styled("div", {
|
|
10872
10733
|
name: "MuiTabs",
|
|
@@ -12151,7 +12012,7 @@ const useUtilityClasses$1S = (ownerState) => {
|
|
|
12151
12012
|
const slots = {
|
|
12152
12013
|
root: ["root", hidden && "hidden"]
|
|
12153
12014
|
};
|
|
12154
|
-
return composeClasses
|
|
12015
|
+
return composeClasses(slots, getTabPanelUtilityClass, classes);
|
|
12155
12016
|
};
|
|
12156
12017
|
const TabPanelRoot = styled("div", {
|
|
12157
12018
|
name: "MuiTabPanel",
|
|
@@ -12256,7 +12117,7 @@ const useUtilityClasses$1R = (ownerState) => {
|
|
|
12256
12117
|
wrapper: ["wrapper", `${orientation}`],
|
|
12257
12118
|
wrapperInner: ["wrapperInner", `${orientation}`]
|
|
12258
12119
|
};
|
|
12259
|
-
return composeClasses
|
|
12120
|
+
return composeClasses(slots, getCollapseUtilityClass, classes);
|
|
12260
12121
|
};
|
|
12261
12122
|
const CollapseRoot = styled("div", {
|
|
12262
12123
|
name: "MuiCollapse",
|
|
@@ -12722,7 +12583,7 @@ const useUtilityClasses$1Q = (ownerState) => {
|
|
|
12722
12583
|
const slots = {
|
|
12723
12584
|
root: ["root", variant, !square && "rounded", variant === "elevation" && `elevation${elevation}`]
|
|
12724
12585
|
};
|
|
12725
|
-
return composeClasses
|
|
12586
|
+
return composeClasses(slots, getPaperUtilityClass, classes);
|
|
12726
12587
|
};
|
|
12727
12588
|
const PaperRoot = styled("div", {
|
|
12728
12589
|
name: "MuiPaper",
|
|
@@ -12887,7 +12748,7 @@ const useUtilityClasses$1P = (ownerState) => {
|
|
|
12887
12748
|
heading: ["heading"],
|
|
12888
12749
|
region: ["region"]
|
|
12889
12750
|
};
|
|
12890
|
-
return composeClasses
|
|
12751
|
+
return composeClasses(slots, getAccordionUtilityClass, classes);
|
|
12891
12752
|
};
|
|
12892
12753
|
const AccordionRoot = styled(Paper, {
|
|
12893
12754
|
name: "MuiAccordion",
|
|
@@ -13198,7 +13059,7 @@ const useUtilityClasses$1O = (ownerState) => {
|
|
|
13198
13059
|
const slots = {
|
|
13199
13060
|
root: ["root", !disableSpacing && "spacing"]
|
|
13200
13061
|
};
|
|
13201
|
-
return composeClasses
|
|
13062
|
+
return composeClasses(slots, getAccordionActionsUtilityClass, classes);
|
|
13202
13063
|
};
|
|
13203
13064
|
const AccordionActionsRoot = styled("div", {
|
|
13204
13065
|
name: "MuiAccordionActions",
|
|
@@ -13283,7 +13144,7 @@ const useUtilityClasses$1N = (ownerState) => {
|
|
|
13283
13144
|
const slots = {
|
|
13284
13145
|
root: ["root"]
|
|
13285
13146
|
};
|
|
13286
|
-
return composeClasses
|
|
13147
|
+
return composeClasses(slots, getAccordionDetailsUtilityClass, classes);
|
|
13287
13148
|
};
|
|
13288
13149
|
const AccordionDetailsRoot = styled("div", {
|
|
13289
13150
|
name: "MuiAccordionDetails",
|
|
@@ -13350,7 +13211,7 @@ const useUtilityClasses$1M = (ownerState) => {
|
|
|
13350
13211
|
content: ["content", expanded && "expanded", !disableGutters && "contentGutters"],
|
|
13351
13212
|
expandIconWrapper: ["expandIconWrapper", expanded && "expanded"]
|
|
13352
13213
|
};
|
|
13353
|
-
return composeClasses
|
|
13214
|
+
return composeClasses(slots, getAccordionSummaryUtilityClass, classes);
|
|
13354
13215
|
};
|
|
13355
13216
|
const AccordionSummaryRoot = styled(ButtonBase, {
|
|
13356
13217
|
name: "MuiAccordionSummary",
|
|
@@ -13614,7 +13475,7 @@ const useUtilityClasses$1L = (ownerState) => {
|
|
|
13614
13475
|
const slots = {
|
|
13615
13476
|
root: ["root", variant, ownerState.align !== "inherit" && `align${capitalize(align)}`, gutterBottom && "gutterBottom", noWrap && "noWrap", paragraph && "paragraph"]
|
|
13616
13477
|
};
|
|
13617
|
-
return composeClasses
|
|
13478
|
+
return composeClasses(slots, getTypographyUtilityClass, classes);
|
|
13618
13479
|
};
|
|
13619
13480
|
const TypographyRoot = styled("span", {
|
|
13620
13481
|
name: "MuiTypography",
|
|
@@ -13854,7 +13715,7 @@ const useUtilityClasses$1K = (ownerState) => {
|
|
|
13854
13715
|
const slots = {
|
|
13855
13716
|
root: ["root"]
|
|
13856
13717
|
};
|
|
13857
|
-
return composeClasses
|
|
13718
|
+
return composeClasses(slots, getAlertTitleUtilityClass, classes);
|
|
13858
13719
|
};
|
|
13859
13720
|
const AlertTitleRoot = styled(Typography, {
|
|
13860
13721
|
name: "MuiAlertTitle",
|
|
@@ -13922,7 +13783,7 @@ const useUtilityClasses$1J = (ownerState) => {
|
|
|
13922
13783
|
const slots = {
|
|
13923
13784
|
root: ["root", `color${capitalize(color2)}`, `position${capitalize(position2)}`]
|
|
13924
13785
|
};
|
|
13925
|
-
return composeClasses
|
|
13786
|
+
return composeClasses(slots, getAppBarUtilityClass, classes);
|
|
13926
13787
|
};
|
|
13927
13788
|
const joinVars = (var1, var2) => var1 ? `${var1?.replace(")", "")}, ${var2})` : var2;
|
|
13928
13789
|
const AppBarRoot = styled(Paper, {
|
|
@@ -16482,22 +16343,6 @@ function getReactElementRef(element) {
|
|
|
16482
16343
|
}
|
|
16483
16344
|
return element?.ref || null;
|
|
16484
16345
|
}
|
|
16485
|
-
const specialProperty = "exact-prop: ";
|
|
16486
|
-
function exactProp(propTypes2) {
|
|
16487
|
-
if (process.env.NODE_ENV === "production") {
|
|
16488
|
-
return propTypes2;
|
|
16489
|
-
}
|
|
16490
|
-
return {
|
|
16491
|
-
...propTypes2,
|
|
16492
|
-
[specialProperty]: (props) => {
|
|
16493
|
-
const unsupportedProps = Object.keys(props).filter((prop) => !propTypes2.hasOwnProperty(prop));
|
|
16494
|
-
if (unsupportedProps.length > 0) {
|
|
16495
|
-
return new Error(`The following props are not supported: ${unsupportedProps.map((prop) => `\`${prop}\``).join(", ")}. Please remove them.`);
|
|
16496
|
-
}
|
|
16497
|
-
return null;
|
|
16498
|
-
}
|
|
16499
|
-
};
|
|
16500
|
-
}
|
|
16501
16346
|
function getContainer$1(container) {
|
|
16502
16347
|
return typeof container === "function" ? container() : container;
|
|
16503
16348
|
}
|
|
@@ -16600,7 +16445,7 @@ const useUtilityClasses$1I = (ownerState) => {
|
|
|
16600
16445
|
const slots = {
|
|
16601
16446
|
root: ["root"]
|
|
16602
16447
|
};
|
|
16603
|
-
return composeClasses
|
|
16448
|
+
return composeClasses(slots, getPopperUtilityClass, classes);
|
|
16604
16449
|
};
|
|
16605
16450
|
const defaultPopperOptions = {};
|
|
16606
16451
|
const PopperTooltip = /* @__PURE__ */ React.forwardRef(function PopperTooltip2(props, forwardedRef) {
|
|
@@ -17112,7 +16957,7 @@ const useUtilityClasses$1H = (ownerState) => {
|
|
|
17112
16957
|
const slots = {
|
|
17113
16958
|
root: ["root", color2 !== "default" && `color${capitalize(color2)}`, !disableGutters && "gutters", inset && "inset", !disableSticky && "sticky"]
|
|
17114
16959
|
};
|
|
17115
|
-
return composeClasses
|
|
16960
|
+
return composeClasses(slots, getListSubheaderUtilityClass, classes);
|
|
17116
16961
|
};
|
|
17117
16962
|
const ListSubheaderRoot = styled("li", {
|
|
17118
16963
|
name: "MuiListSubheader",
|
|
@@ -17304,7 +17149,7 @@ const useUtilityClasses$1G = (ownerState) => {
|
|
|
17304
17149
|
track: ["track"],
|
|
17305
17150
|
circle: ["circle", `circle${capitalize(variant)}`, disableShrink && "circleDisableShrink"]
|
|
17306
17151
|
};
|
|
17307
|
-
return composeClasses
|
|
17152
|
+
return composeClasses(slots, getCircularProgressUtilityClass, classes);
|
|
17308
17153
|
};
|
|
17309
17154
|
const CircularProgressRoot = styled("span", {
|
|
17310
17155
|
name: "MuiCircularProgress",
|
|
@@ -17563,7 +17408,7 @@ const useUtilityClasses$1F = (ownerState) => {
|
|
|
17563
17408
|
loadingIndicator: ["loadingIndicator"],
|
|
17564
17409
|
loadingWrapper: ["loadingWrapper"]
|
|
17565
17410
|
};
|
|
17566
|
-
return composeClasses
|
|
17411
|
+
return composeClasses(slots, getIconButtonUtilityClass, classes);
|
|
17567
17412
|
};
|
|
17568
17413
|
const IconButtonRoot = styled(ButtonBase, {
|
|
17569
17414
|
name: "MuiIconButton",
|
|
@@ -17867,7 +17712,7 @@ const useUtilityClasses$1E = (ownerState) => {
|
|
|
17867
17712
|
icon: ["icon", `icon${capitalize(size)}`, `iconColor${capitalize(iconColor)}`],
|
|
17868
17713
|
deleteIcon: ["deleteIcon", `deleteIcon${capitalize(size)}`, `deleteIconColor${capitalize(color2)}`, `deleteIcon${capitalize(variant)}Color${capitalize(color2)}`]
|
|
17869
17714
|
};
|
|
17870
|
-
return composeClasses
|
|
17715
|
+
return composeClasses(slots, getChipUtilityClass, classes);
|
|
17871
17716
|
};
|
|
17872
17717
|
const ChipRoot = styled("div", {
|
|
17873
17718
|
name: "MuiChip",
|
|
@@ -18729,7 +18574,7 @@ const useUtilityClasses$1D = (ownerState) => {
|
|
|
18729
18574
|
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"],
|
|
18730
18575
|
input: ["input", disabled && "disabled", type === "search" && "inputTypeSearch", multiline && "inputMultiline", size === "small" && "inputSizeSmall", hiddenLabel && "inputHiddenLabel", startAdornment && "inputAdornedStart", endAdornment && "inputAdornedEnd", readOnly && "readOnly"]
|
|
18731
18576
|
};
|
|
18732
|
-
return composeClasses
|
|
18577
|
+
return composeClasses(slots, getInputBaseUtilityClass, classes);
|
|
18733
18578
|
};
|
|
18734
18579
|
const InputBaseRoot = styled("div", {
|
|
18735
18580
|
name: "MuiInputBase",
|
|
@@ -19466,7 +19311,7 @@ const useUtilityClasses$1C = (ownerState) => {
|
|
|
19466
19311
|
groupLabel: ["groupLabel"],
|
|
19467
19312
|
groupUl: ["groupUl"]
|
|
19468
19313
|
};
|
|
19469
|
-
return composeClasses
|
|
19314
|
+
return composeClasses(slots, getAutocompleteUtilityClass, classes);
|
|
19470
19315
|
};
|
|
19471
19316
|
const AutocompleteRoot = styled("div", {
|
|
19472
19317
|
name: "MuiAutocomplete",
|
|
@@ -20619,7 +20464,7 @@ const useUtilityClasses$1B = (ownerState) => {
|
|
|
20619
20464
|
img: ["img"],
|
|
20620
20465
|
fallback: ["fallback"]
|
|
20621
20466
|
};
|
|
20622
|
-
return composeClasses
|
|
20467
|
+
return composeClasses(slots, getAvatarUtilityClass, classes);
|
|
20623
20468
|
};
|
|
20624
20469
|
const AvatarRoot = styled("div", {
|
|
20625
20470
|
name: "MuiAvatar",
|
|
@@ -21135,7 +20980,7 @@ const useUtilityClasses$1A = (ownerState) => {
|
|
|
21135
20980
|
const slots = {
|
|
21136
20981
|
root: ["root", invisible && "invisible"]
|
|
21137
20982
|
};
|
|
21138
|
-
return composeClasses
|
|
20983
|
+
return composeClasses(slots, getBackdropUtilityClass, classes);
|
|
21139
20984
|
};
|
|
21140
20985
|
const BackdropRoot = styled("div", {
|
|
21141
20986
|
name: "MuiBackdrop",
|
|
@@ -21392,7 +21237,7 @@ const useUtilityClasses$1z = (ownerState) => {
|
|
|
21392
21237
|
root: ["root"],
|
|
21393
21238
|
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)}`]
|
|
21394
21239
|
};
|
|
21395
|
-
return composeClasses
|
|
21240
|
+
return composeClasses(slots, getBadgeUtilityClass, classes);
|
|
21396
21241
|
};
|
|
21397
21242
|
const BadgeRoot = styled("span", {
|
|
21398
21243
|
name: "MuiBadge",
|
|
@@ -21913,7 +21758,7 @@ const useUtilityClasses$1y = (ownerState) => {
|
|
|
21913
21758
|
ol: ["ol"],
|
|
21914
21759
|
separator: ["separator"]
|
|
21915
21760
|
};
|
|
21916
|
-
return composeClasses
|
|
21761
|
+
return composeClasses(slots, getBreadcrumbsUtilityClass, classes);
|
|
21917
21762
|
};
|
|
21918
21763
|
const BreadcrumbsRoot = styled(Typography, {
|
|
21919
21764
|
name: "MuiBreadcrumbs",
|
|
@@ -22171,7 +22016,7 @@ const useUtilityClasses$1x = (ownerState) => {
|
|
|
22171
22016
|
lastButton: ["lastButton"],
|
|
22172
22017
|
middleButton: ["middleButton"]
|
|
22173
22018
|
};
|
|
22174
|
-
return composeClasses
|
|
22019
|
+
return composeClasses(slots, getButtonGroupUtilityClass, classes);
|
|
22175
22020
|
};
|
|
22176
22021
|
const ButtonGroupRoot = styled("div", {
|
|
22177
22022
|
name: "MuiButtonGroup",
|
|
@@ -22512,7 +22357,7 @@ const useUtilityClasses$1w = (ownerState) => {
|
|
|
22512
22357
|
const slots = {
|
|
22513
22358
|
root: ["root"]
|
|
22514
22359
|
};
|
|
22515
|
-
return composeClasses
|
|
22360
|
+
return composeClasses(slots, getCardUtilityClass, classes);
|
|
22516
22361
|
};
|
|
22517
22362
|
const CardRoot = styled(Paper, {
|
|
22518
22363
|
name: "MuiCard",
|
|
@@ -22587,7 +22432,7 @@ const useUtilityClasses$1v = (ownerState) => {
|
|
|
22587
22432
|
root: ["root"],
|
|
22588
22433
|
focusHighlight: ["focusHighlight"]
|
|
22589
22434
|
};
|
|
22590
|
-
return composeClasses
|
|
22435
|
+
return composeClasses(slots, getCardActionAreaUtilityClass, classes);
|
|
22591
22436
|
};
|
|
22592
22437
|
const CardActionAreaRoot = styled(ButtonBase, {
|
|
22593
22438
|
name: "MuiCardActionArea",
|
|
@@ -22730,7 +22575,7 @@ const useUtilityClasses$1u = (ownerState) => {
|
|
|
22730
22575
|
const slots = {
|
|
22731
22576
|
root: ["root", !disableSpacing && "spacing"]
|
|
22732
22577
|
};
|
|
22733
|
-
return composeClasses
|
|
22578
|
+
return composeClasses(slots, getCardActionsUtilityClass, classes);
|
|
22734
22579
|
};
|
|
22735
22580
|
const CardActionsRoot = styled("div", {
|
|
22736
22581
|
name: "MuiCardActions",
|
|
@@ -22816,7 +22661,7 @@ const useUtilityClasses$1t = (ownerState) => {
|
|
|
22816
22661
|
const slots = {
|
|
22817
22662
|
root: ["root"]
|
|
22818
22663
|
};
|
|
22819
|
-
return composeClasses
|
|
22664
|
+
return composeClasses(slots, getCardContentUtilityClass, classes);
|
|
22820
22665
|
};
|
|
22821
22666
|
const CardContentRoot = styled("div", {
|
|
22822
22667
|
name: "MuiCardContent",
|
|
@@ -22893,7 +22738,7 @@ const useUtilityClasses$1s = (ownerState) => {
|
|
|
22893
22738
|
title: ["title"],
|
|
22894
22739
|
subheader: ["subheader"]
|
|
22895
22740
|
};
|
|
22896
|
-
return composeClasses
|
|
22741
|
+
return composeClasses(slots, getCardHeaderUtilityClass, classes);
|
|
22897
22742
|
};
|
|
22898
22743
|
const CardHeaderRoot = styled("div", {
|
|
22899
22744
|
name: "MuiCardHeader",
|
|
@@ -23146,7 +22991,7 @@ const useUtilityClasses$1r = (ownerState) => {
|
|
|
23146
22991
|
const slots = {
|
|
23147
22992
|
root: ["root", isMediaComponent && "media", isImageComponent && "img"]
|
|
23148
22993
|
};
|
|
23149
|
-
return composeClasses
|
|
22994
|
+
return composeClasses(slots, getCardMediaUtilityClass, classes);
|
|
23150
22995
|
};
|
|
23151
22996
|
const CardMediaRoot = styled("div", {
|
|
23152
22997
|
name: "MuiCardMedia",
|
|
@@ -23285,7 +23130,7 @@ const useUtilityClasses$1q = (ownerState) => {
|
|
|
23285
23130
|
root: ["root", checked && "checked", disabled && "disabled", edge && `edge${capitalize(edge)}`],
|
|
23286
23131
|
input: ["input"]
|
|
23287
23132
|
};
|
|
23288
|
-
return composeClasses
|
|
23133
|
+
return composeClasses(slots, getSwitchBaseUtilityClass, classes);
|
|
23289
23134
|
};
|
|
23290
23135
|
const SwitchBaseRoot = styled(ButtonBase, {
|
|
23291
23136
|
name: "MuiSwitchBase"
|
|
@@ -23630,7 +23475,7 @@ const useUtilityClasses$1p = (ownerState) => {
|
|
|
23630
23475
|
const slots = {
|
|
23631
23476
|
root: ["root", indeterminate && "indeterminate", `color${capitalize(color2)}`, `size${capitalize(size)}`]
|
|
23632
23477
|
};
|
|
23633
|
-
const composedClasses = composeClasses
|
|
23478
|
+
const composedClasses = composeClasses(slots, getCheckboxUtilityClass, classes);
|
|
23634
23479
|
return {
|
|
23635
23480
|
...classes,
|
|
23636
23481
|
// forward the disabled and checked classes to the SwitchBase
|
|
@@ -24277,7 +24122,7 @@ const useUtilityClasses$1o = (ownerState) => {
|
|
|
24277
24122
|
const slots = {
|
|
24278
24123
|
root: ["root", !disableSpacing && "spacing"]
|
|
24279
24124
|
};
|
|
24280
|
-
return composeClasses
|
|
24125
|
+
return composeClasses(slots, getDialogActionsUtilityClass, classes);
|
|
24281
24126
|
};
|
|
24282
24127
|
const DialogActionsRoot = styled("div", {
|
|
24283
24128
|
name: "MuiDialogActions",
|
|
@@ -24370,7 +24215,7 @@ const useUtilityClasses$1n = (ownerState) => {
|
|
|
24370
24215
|
const slots = {
|
|
24371
24216
|
root: ["root", dividers && "dividers"]
|
|
24372
24217
|
};
|
|
24373
|
-
return composeClasses
|
|
24218
|
+
return composeClasses(slots, getDialogContentUtilityClass, classes);
|
|
24374
24219
|
};
|
|
24375
24220
|
const DialogContentRoot = styled("div", {
|
|
24376
24221
|
name: "MuiDialogContent",
|
|
@@ -24469,7 +24314,7 @@ const useUtilityClasses$1m = (ownerState) => {
|
|
|
24469
24314
|
const slots = {
|
|
24470
24315
|
root: ["root"]
|
|
24471
24316
|
};
|
|
24472
|
-
const composedClasses = composeClasses
|
|
24317
|
+
const composedClasses = composeClasses(slots, getDialogContentTextUtilityClass, classes);
|
|
24473
24318
|
return {
|
|
24474
24319
|
...classes,
|
|
24475
24320
|
// forward classes to the Typography
|
|
@@ -24536,7 +24381,7 @@ const useUtilityClasses$1l = (ownerState) => {
|
|
|
24536
24381
|
const slots = {
|
|
24537
24382
|
root: ["root"]
|
|
24538
24383
|
};
|
|
24539
|
-
return composeClasses
|
|
24384
|
+
return composeClasses(slots, getDialogTitleUtilityClass, classes);
|
|
24540
24385
|
};
|
|
24541
24386
|
const DialogTitleRoot = styled(Typography, {
|
|
24542
24387
|
name: "MuiDialogTitle",
|
|
@@ -24615,7 +24460,7 @@ const useUtilityClasses$1k = (ownerState) => {
|
|
|
24615
24460
|
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"],
|
|
24616
24461
|
wrapper: ["wrapper", orientation === "vertical" && "wrapperVertical"]
|
|
24617
24462
|
};
|
|
24618
|
-
return composeClasses
|
|
24463
|
+
return composeClasses(slots, getDividerUtilityClass, classes);
|
|
24619
24464
|
};
|
|
24620
24465
|
const DividerRoot = styled("div", {
|
|
24621
24466
|
name: "MuiDivider",
|
|
@@ -25530,7 +25375,7 @@ const useUtilityClasses$1j = (ownerState) => {
|
|
|
25530
25375
|
root: ["root", !open && exited && "hidden"],
|
|
25531
25376
|
backdrop: ["backdrop"]
|
|
25532
25377
|
};
|
|
25533
|
-
return composeClasses
|
|
25378
|
+
return composeClasses(slots, getModalUtilityClass, classes);
|
|
25534
25379
|
};
|
|
25535
25380
|
const ModalRoot = styled("div", {
|
|
25536
25381
|
name: "MuiModal",
|
|
@@ -26203,7 +26048,7 @@ const useUtilityClasses$1i = (ownerState) => {
|
|
|
26203
26048
|
modal: ["modal"],
|
|
26204
26049
|
paper: ["paper", `paperAnchor${capitalize(anchor)}`, variant !== "temporary" && `paperAnchorDocked${capitalize(anchor)}`]
|
|
26205
26050
|
};
|
|
26206
|
-
return composeClasses
|
|
26051
|
+
return composeClasses(slots, getDrawerUtilityClass, classes);
|
|
26207
26052
|
};
|
|
26208
26053
|
const DrawerRoot = styled(Modal, {
|
|
26209
26054
|
name: "MuiDrawer",
|
|
@@ -26605,7 +26450,7 @@ const useUtilityClasses$1h = (ownerState) => {
|
|
|
26605
26450
|
const slots = {
|
|
26606
26451
|
root: ["root", margin2 !== "none" && `margin${capitalize(margin2)}`, fullWidth && "fullWidth"]
|
|
26607
26452
|
};
|
|
26608
|
-
return composeClasses
|
|
26453
|
+
return composeClasses(slots, getFormControlUtilityClasses, classes);
|
|
26609
26454
|
};
|
|
26610
26455
|
const FormControlRoot = styled("div", {
|
|
26611
26456
|
name: "MuiFormControl",
|
|
@@ -26874,7 +26719,7 @@ const useUtilityClasses$1g = (ownerState) => {
|
|
|
26874
26719
|
label: ["label", disabled && "disabled"],
|
|
26875
26720
|
asterisk: ["asterisk", error && "error"]
|
|
26876
26721
|
};
|
|
26877
|
-
return composeClasses
|
|
26722
|
+
return composeClasses(slots, getFormControlLabelUtilityClasses, classes);
|
|
26878
26723
|
};
|
|
26879
26724
|
const FormControlLabelRoot = styled("label", {
|
|
26880
26725
|
name: "MuiFormControlLabel",
|
|
@@ -27134,7 +26979,7 @@ const useUtilityClasses$1f = (ownerState) => {
|
|
|
27134
26979
|
const slots = {
|
|
27135
26980
|
root: ["root", row && "row", error && "error"]
|
|
27136
26981
|
};
|
|
27137
|
-
return composeClasses
|
|
26982
|
+
return composeClasses(slots, getFormGroupUtilityClass, classes);
|
|
27138
26983
|
};
|
|
27139
26984
|
const FormGroupRoot = styled("div", {
|
|
27140
26985
|
name: "MuiFormGroup",
|
|
@@ -27233,7 +27078,7 @@ const useUtilityClasses$1e = (ownerState) => {
|
|
|
27233
27078
|
const slots = {
|
|
27234
27079
|
root: ["root", disabled && "disabled", error && "error", size && `size${capitalize(size)}`, contained && "contained", focused && "focused", filled && "filled", required && "required"]
|
|
27235
27080
|
};
|
|
27236
|
-
return composeClasses
|
|
27081
|
+
return composeClasses(slots, getFormHelperTextUtilityClasses, classes);
|
|
27237
27082
|
};
|
|
27238
27083
|
const FormHelperTextRoot = styled("p", {
|
|
27239
27084
|
name: "MuiFormHelperText",
|
|
@@ -27407,7 +27252,7 @@ const useUtilityClasses$1d = (ownerState) => {
|
|
|
27407
27252
|
root: ["root", `color${capitalize(color2)}`, disabled && "disabled", error && "error", filled && "filled", focused && "focused", required && "required"],
|
|
27408
27253
|
asterisk: ["asterisk", error && "error"]
|
|
27409
27254
|
};
|
|
27410
|
-
return composeClasses
|
|
27255
|
+
return composeClasses(slots, getFormLabelUtilityClasses, classes);
|
|
27411
27256
|
};
|
|
27412
27257
|
const FormLabelRoot = styled("label", {
|
|
27413
27258
|
name: "MuiFormLabel",
|
|
@@ -27942,7 +27787,7 @@ const useUtilityClasses$1c = (ownerState) => {
|
|
|
27942
27787
|
root: ["root", !disableUnderline && "underline"],
|
|
27943
27788
|
input: ["input"]
|
|
27944
27789
|
};
|
|
27945
|
-
const composedClasses = composeClasses
|
|
27790
|
+
const composedClasses = composeClasses(slots, getInputUtilityClass, classes);
|
|
27946
27791
|
return {
|
|
27947
27792
|
...classes,
|
|
27948
27793
|
// forward classes to the InputBase
|
|
@@ -28297,7 +28142,7 @@ const useUtilityClasses$1b = (ownerState) => {
|
|
|
28297
28142
|
root: ["root", formControl && "formControl", !disableAnimation && "animated", shrink && "shrink", size && size !== "medium" && `size${capitalize(size)}`, variant],
|
|
28298
28143
|
asterisk: [required && "asterisk"]
|
|
28299
28144
|
};
|
|
28300
|
-
const composedClasses = composeClasses
|
|
28145
|
+
const composedClasses = composeClasses(slots, getInputLabelUtilityClasses, classes);
|
|
28301
28146
|
return {
|
|
28302
28147
|
...classes,
|
|
28303
28148
|
// forward the focused, disabled, etc. classes to the FormLabel
|
|
@@ -28623,7 +28468,7 @@ const useUtilityClasses$1a = (ownerState) => {
|
|
|
28623
28468
|
bar1: ["bar", "bar1", `barColor${capitalize(color2)}`, (variant === "indeterminate" || variant === "query") && "bar1Indeterminate", variant === "determinate" && "bar1Determinate", variant === "buffer" && "bar1Buffer"],
|
|
28624
28469
|
bar2: ["bar", "bar2", variant !== "buffer" && `barColor${capitalize(color2)}`, variant === "buffer" && `color${capitalize(color2)}`, (variant === "indeterminate" || variant === "query") && "bar2Indeterminate", variant === "buffer" && "bar2Buffer"]
|
|
28625
28470
|
};
|
|
28626
|
-
return composeClasses
|
|
28471
|
+
return composeClasses(slots, getLinearProgressUtilityClass, classes);
|
|
28627
28472
|
};
|
|
28628
28473
|
const getColorShade = (theme, color2) => {
|
|
28629
28474
|
if (theme.vars) {
|
|
@@ -29021,7 +28866,7 @@ const useUtilityClasses$19 = (ownerState) => {
|
|
|
29021
28866
|
const slots = {
|
|
29022
28867
|
root: ["root", `underline${capitalize(underline)}`, component === "button" && "button", focusVisible && "focusVisible"]
|
|
29023
28868
|
};
|
|
29024
|
-
return composeClasses
|
|
28869
|
+
return composeClasses(slots, getLinkUtilityClass, classes);
|
|
29025
28870
|
};
|
|
29026
28871
|
const LinkRoot = styled(Typography, {
|
|
29027
28872
|
name: "MuiLink",
|
|
@@ -29291,7 +29136,7 @@ const useUtilityClasses$18 = (ownerState) => {
|
|
|
29291
29136
|
const slots = {
|
|
29292
29137
|
root: ["root", !disablePadding && "padding", dense && "dense", subheader && "subheader"]
|
|
29293
29138
|
};
|
|
29294
|
-
return composeClasses
|
|
29139
|
+
return composeClasses(slots, getListUtilityClass, classes);
|
|
29295
29140
|
};
|
|
29296
29141
|
const ListRoot = styled("ul", {
|
|
29297
29142
|
name: "MuiList",
|
|
@@ -29430,7 +29275,7 @@ const useUtilityClasses$17 = (ownerState) => {
|
|
|
29430
29275
|
const slots = {
|
|
29431
29276
|
root: ["root", dense && "dense", !disableGutters && "gutters", divider && "divider", disabled && "disabled", alignItems === "flex-start" && "alignItemsFlexStart", selected && "selected"]
|
|
29432
29277
|
};
|
|
29433
|
-
const composedClasses = composeClasses
|
|
29278
|
+
const composedClasses = composeClasses(slots, getListItemButtonUtilityClass, classes);
|
|
29434
29279
|
return {
|
|
29435
29280
|
...classes,
|
|
29436
29281
|
...composedClasses
|
|
@@ -29667,7 +29512,7 @@ const useUtilityClasses$16 = (ownerState) => {
|
|
|
29667
29512
|
const slots = {
|
|
29668
29513
|
root: ["root", disableGutters && "disableGutters"]
|
|
29669
29514
|
};
|
|
29670
|
-
return composeClasses
|
|
29515
|
+
return composeClasses(slots, getListItemSecondaryActionClassesUtilityClass, classes);
|
|
29671
29516
|
};
|
|
29672
29517
|
const ListItemSecondaryActionRoot = styled("div", {
|
|
29673
29518
|
name: "MuiListItemSecondaryAction",
|
|
@@ -29758,7 +29603,7 @@ const useUtilityClasses$15 = (ownerState) => {
|
|
|
29758
29603
|
container: ["container"],
|
|
29759
29604
|
secondaryAction: ["secondaryAction"]
|
|
29760
29605
|
};
|
|
29761
|
-
return composeClasses
|
|
29606
|
+
return composeClasses(slots, getListItemUtilityClass, classes);
|
|
29762
29607
|
};
|
|
29763
29608
|
const ListItemRoot = styled("div", {
|
|
29764
29609
|
name: "MuiListItem",
|
|
@@ -30115,7 +29960,7 @@ const useUtilityClasses$14 = (ownerState) => {
|
|
|
30115
29960
|
const slots = {
|
|
30116
29961
|
root: ["root", alignItems === "flex-start" && "alignItemsFlexStart"]
|
|
30117
29962
|
};
|
|
30118
|
-
return composeClasses
|
|
29963
|
+
return composeClasses(slots, getListItemIconUtilityClass, classes);
|
|
30119
29964
|
};
|
|
30120
29965
|
const ListItemIconRoot = styled("div", {
|
|
30121
29966
|
name: "MuiListItemIcon",
|
|
@@ -30204,7 +30049,7 @@ const useUtilityClasses$13 = (ownerState) => {
|
|
|
30204
30049
|
primary: ["primary"],
|
|
30205
30050
|
secondary: ["secondary"]
|
|
30206
30051
|
};
|
|
30207
|
-
return composeClasses
|
|
30052
|
+
return composeClasses(slots, getListItemTextUtilityClass, classes);
|
|
30208
30053
|
};
|
|
30209
30054
|
const ListItemTextRoot = styled("div", {
|
|
30210
30055
|
name: "MuiListItemText",
|
|
@@ -30687,7 +30532,7 @@ const useUtilityClasses$12 = (ownerState) => {
|
|
|
30687
30532
|
root: ["root"],
|
|
30688
30533
|
paper: ["paper"]
|
|
30689
30534
|
};
|
|
30690
|
-
return composeClasses
|
|
30535
|
+
return composeClasses(slots, getPopoverUtilityClass, classes);
|
|
30691
30536
|
};
|
|
30692
30537
|
const PopoverRoot = styled(Modal, {
|
|
30693
30538
|
name: "MuiPopover",
|
|
@@ -31203,7 +31048,7 @@ const useUtilityClasses$11 = (ownerState) => {
|
|
|
31203
31048
|
paper: ["paper"],
|
|
31204
31049
|
list: ["list"]
|
|
31205
31050
|
};
|
|
31206
|
-
return composeClasses
|
|
31051
|
+
return composeClasses(slots, getMenuUtilityClass, classes);
|
|
31207
31052
|
};
|
|
31208
31053
|
const MenuRoot = styled(Popover, {
|
|
31209
31054
|
shouldForwardProp: (prop) => rootShouldForwardProp(prop) || prop === "classes",
|
|
@@ -31518,7 +31363,7 @@ const useUtilityClasses$10 = (ownerState) => {
|
|
|
31518
31363
|
const slots = {
|
|
31519
31364
|
root: ["root", dense && "dense", disabled && "disabled", !disableGutters && "gutters", divider && "divider", selected && "selected"]
|
|
31520
31365
|
};
|
|
31521
|
-
const composedClasses = composeClasses
|
|
31366
|
+
const composedClasses = composeClasses(slots, getMenuItemUtilityClass, classes);
|
|
31522
31367
|
return {
|
|
31523
31368
|
...classes,
|
|
31524
31369
|
...composedClasses
|
|
@@ -31778,7 +31623,7 @@ const useUtilityClasses$$ = (ownerState) => {
|
|
|
31778
31623
|
dotActive: ["dotActive"],
|
|
31779
31624
|
progress: ["progress"]
|
|
31780
31625
|
};
|
|
31781
|
-
return composeClasses
|
|
31626
|
+
return composeClasses(slots, getMobileStepperUtilityClass, classes);
|
|
31782
31627
|
};
|
|
31783
31628
|
const MobileStepperRoot = styled(Paper, {
|
|
31784
31629
|
name: "MuiMobileStepper",
|
|
@@ -32214,7 +32059,7 @@ const useUtilityClasses$_ = (ownerState) => {
|
|
|
32214
32059
|
}[type]],
|
|
32215
32060
|
icon: ["icon"]
|
|
32216
32061
|
};
|
|
32217
|
-
return composeClasses
|
|
32062
|
+
return composeClasses(slots, getPaginationItemUtilityClass, classes);
|
|
32218
32063
|
};
|
|
32219
32064
|
const PaginationItemEllipsis = styled("div", {
|
|
32220
32065
|
name: "MuiPaginationItem",
|
|
@@ -32643,7 +32488,7 @@ const useUtilityClasses$Z = (ownerState) => {
|
|
|
32643
32488
|
root: ["root", variant],
|
|
32644
32489
|
ul: ["ul"]
|
|
32645
32490
|
};
|
|
32646
|
-
return composeClasses
|
|
32491
|
+
return composeClasses(slots, getPaginationUtilityClass, classes);
|
|
32647
32492
|
};
|
|
32648
32493
|
const PaginationRoot = styled("nav", {
|
|
32649
32494
|
name: "MuiPagination",
|
|
@@ -32966,7 +32811,7 @@ const useUtilityClasses$Y = (ownerState) => {
|
|
|
32966
32811
|
};
|
|
32967
32812
|
return {
|
|
32968
32813
|
...classes,
|
|
32969
|
-
...composeClasses
|
|
32814
|
+
...composeClasses(slots, getRadioUtilityClass, classes)
|
|
32970
32815
|
};
|
|
32971
32816
|
};
|
|
32972
32817
|
const RadioRoot = styled(SwitchBase, {
|
|
@@ -33252,7 +33097,7 @@ const useUtilityClasses$X = (props) => {
|
|
|
33252
33097
|
const slots = {
|
|
33253
33098
|
root: ["root", row && "row", error && "error"]
|
|
33254
33099
|
};
|
|
33255
|
-
return composeClasses
|
|
33100
|
+
return composeClasses(slots, getRadioGroupUtilityClass, classes);
|
|
33256
33101
|
};
|
|
33257
33102
|
const RadioGroup = /* @__PURE__ */ React.forwardRef(function RadioGroup2(props, ref) {
|
|
33258
33103
|
const {
|
|
@@ -33360,7 +33205,7 @@ const useUtilityClasses$W = (ownerState) => {
|
|
|
33360
33205
|
select: ["select", variant, disabled && "disabled", multiple && "multiple", error && "error"],
|
|
33361
33206
|
icon: ["icon", `icon${capitalize(variant)}`, open && "iconOpen", disabled && "disabled"]
|
|
33362
33207
|
};
|
|
33363
|
-
return composeClasses
|
|
33208
|
+
return composeClasses(slots, getNativeSelectUtilityClasses, classes);
|
|
33364
33209
|
};
|
|
33365
33210
|
const StyledSelectSelect = styled("select", {
|
|
33366
33211
|
name: "MuiNativeSelect"
|
|
@@ -33662,7 +33507,7 @@ const useUtilityClasses$V = (ownerState) => {
|
|
|
33662
33507
|
icon: ["icon", `icon${capitalize(variant)}`, open && "iconOpen", disabled && "disabled"],
|
|
33663
33508
|
nativeInput: ["nativeInput"]
|
|
33664
33509
|
};
|
|
33665
|
-
return composeClasses
|
|
33510
|
+
return composeClasses(slots, getSelectUtilityClasses, classes);
|
|
33666
33511
|
};
|
|
33667
33512
|
const SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props, ref) {
|
|
33668
33513
|
const {
|
|
@@ -34245,7 +34090,7 @@ const useUtilityClasses$U = (ownerState) => {
|
|
|
34245
34090
|
root: ["root", !disableUnderline && "underline", startAdornment && "adornedStart", endAdornment && "adornedEnd", size === "small" && `size${capitalize(size)}`, hiddenLabel && "hiddenLabel", multiline && "multiline"],
|
|
34246
34091
|
input: ["input"]
|
|
34247
34092
|
};
|
|
34248
|
-
const composedClasses = composeClasses
|
|
34093
|
+
const composedClasses = composeClasses(slots, getFilledInputUtilityClass, classes);
|
|
34249
34094
|
return {
|
|
34250
34095
|
...classes,
|
|
34251
34096
|
// forward classes to the InputBase
|
|
@@ -34885,7 +34730,7 @@ const useUtilityClasses$T = (ownerState) => {
|
|
|
34885
34730
|
notchedOutline: ["notchedOutline"],
|
|
34886
34731
|
input: ["input"]
|
|
34887
34732
|
};
|
|
34888
|
-
const composedClasses = composeClasses
|
|
34733
|
+
const composedClasses = composeClasses(slots, getOutlinedInputUtilityClass, classes);
|
|
34889
34734
|
return {
|
|
34890
34735
|
...classes,
|
|
34891
34736
|
// forward classes to the InputBase
|
|
@@ -35293,7 +35138,7 @@ const useUtilityClasses$S = (ownerState) => {
|
|
|
35293
35138
|
const slots = {
|
|
35294
35139
|
root: ["root"]
|
|
35295
35140
|
};
|
|
35296
|
-
const composedClasses = composeClasses
|
|
35141
|
+
const composedClasses = composeClasses(slots, getSelectUtilityClasses, classes);
|
|
35297
35142
|
return {
|
|
35298
35143
|
...classes,
|
|
35299
35144
|
...composedClasses
|
|
@@ -35578,7 +35423,7 @@ const useUtilityClasses$R = (ownerState) => {
|
|
|
35578
35423
|
const slots = {
|
|
35579
35424
|
root: ["root", variant, animation, hasChildren && "withChildren", hasChildren && !width2 && "fitContent", hasChildren && !height2 && "heightAuto"]
|
|
35580
35425
|
};
|
|
35581
|
-
return composeClasses
|
|
35426
|
+
return composeClasses(slots, getSkeletonUtilityClass, classes);
|
|
35582
35427
|
};
|
|
35583
35428
|
const pulseKeyframe = keyframes`
|
|
35584
35429
|
0% {
|
|
@@ -35935,7 +35780,7 @@ const useUtilityClasses$Q = (ownerState) => {
|
|
|
35935
35780
|
action: ["action"],
|
|
35936
35781
|
message: ["message"]
|
|
35937
35782
|
};
|
|
35938
|
-
return composeClasses
|
|
35783
|
+
return composeClasses(slots, getSnackbarContentUtilityClass, classes);
|
|
35939
35784
|
};
|
|
35940
35785
|
const SnackbarContentRoot = styled(Paper, {
|
|
35941
35786
|
name: "MuiSnackbarContent",
|
|
@@ -36050,7 +35895,7 @@ const useUtilityClasses$P = (ownerState) => {
|
|
|
36050
35895
|
const slots = {
|
|
36051
35896
|
root: ["root", `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}`]
|
|
36052
35897
|
};
|
|
36053
|
-
return composeClasses
|
|
35898
|
+
return composeClasses(slots, getSnackbarUtilityClass, classes);
|
|
36054
35899
|
};
|
|
36055
35900
|
const SnackbarRoot = styled("div", {
|
|
36056
35901
|
name: "MuiSnackbar",
|
|
@@ -36528,7 +36373,7 @@ const useUtilityClasses$O = (ownerState) => {
|
|
|
36528
36373
|
const slots = {
|
|
36529
36374
|
root: ["root", orientation, alternativeLabel && "alternativeLabel", completed && "completed"]
|
|
36530
36375
|
};
|
|
36531
|
-
return composeClasses
|
|
36376
|
+
return composeClasses(slots, getStepUtilityClass, classes);
|
|
36532
36377
|
};
|
|
36533
36378
|
const StepRoot = styled("div", {
|
|
36534
36379
|
name: "MuiStep",
|
|
@@ -36702,7 +36547,7 @@ const useUtilityClasses$N = (ownerState) => {
|
|
|
36702
36547
|
root: ["root", active && "active", completed && "completed", error && "error"],
|
|
36703
36548
|
text: ["text"]
|
|
36704
36549
|
};
|
|
36705
|
-
return composeClasses
|
|
36550
|
+
return composeClasses(slots, getStepIconUtilityClass, classes);
|
|
36706
36551
|
};
|
|
36707
36552
|
const StepIconRoot = styled(SvgIcon, {
|
|
36708
36553
|
name: "MuiStepIcon",
|
|
@@ -36854,7 +36699,7 @@ const useUtilityClasses$M = (ownerState) => {
|
|
|
36854
36699
|
iconContainer: ["iconContainer", active && "active", completed && "completed", error && "error", disabled && "disabled", alternativeLabel && "alternativeLabel"],
|
|
36855
36700
|
labelContainer: ["labelContainer", alternativeLabel && "alternativeLabel"]
|
|
36856
36701
|
};
|
|
36857
|
-
return composeClasses
|
|
36702
|
+
return composeClasses(slots, getStepLabelUtilityClass, classes);
|
|
36858
36703
|
};
|
|
36859
36704
|
const StepLabelRoot = styled("span", {
|
|
36860
36705
|
name: "MuiStepLabel",
|
|
@@ -37112,7 +36957,7 @@ const useUtilityClasses$L = (ownerState) => {
|
|
|
37112
36957
|
root: ["root", orientation],
|
|
37113
36958
|
touchRipple: ["touchRipple"]
|
|
37114
36959
|
};
|
|
37115
|
-
return composeClasses
|
|
36960
|
+
return composeClasses(slots, getStepButtonUtilityClass, classes);
|
|
37116
36961
|
};
|
|
37117
36962
|
const StepButtonRoot = styled(ButtonBase, {
|
|
37118
36963
|
name: "MuiStepButton",
|
|
@@ -37241,7 +37086,7 @@ const useUtilityClasses$K = (ownerState) => {
|
|
|
37241
37086
|
root: ["root", orientation, alternativeLabel && "alternativeLabel", active && "active", completed && "completed", disabled && "disabled"],
|
|
37242
37087
|
line: ["line", `line${capitalize(orientation)}`]
|
|
37243
37088
|
};
|
|
37244
|
-
return composeClasses
|
|
37089
|
+
return composeClasses(slots, getStepConnectorUtilityClass, classes);
|
|
37245
37090
|
};
|
|
37246
37091
|
const StepConnectorRoot = styled("div", {
|
|
37247
37092
|
name: "MuiStepConnector",
|
|
@@ -37376,7 +37221,7 @@ const useUtilityClasses$J = (ownerState) => {
|
|
|
37376
37221
|
const slots = {
|
|
37377
37222
|
root: ["root", orientation, nonLinear && "nonLinear", alternativeLabel && "alternativeLabel"]
|
|
37378
37223
|
};
|
|
37379
|
-
return composeClasses
|
|
37224
|
+
return composeClasses(slots, getStepperUtilityClass, classes);
|
|
37380
37225
|
};
|
|
37381
37226
|
const StepperRoot = styled("div", {
|
|
37382
37227
|
name: "MuiStepper",
|
|
@@ -37539,7 +37384,7 @@ const useUtilityClasses$I = (ownerState) => {
|
|
|
37539
37384
|
track: ["track"],
|
|
37540
37385
|
input: ["input"]
|
|
37541
37386
|
};
|
|
37542
|
-
const composedClasses = composeClasses
|
|
37387
|
+
const composedClasses = composeClasses(slots, getSwitchUtilityClass, classes);
|
|
37543
37388
|
return {
|
|
37544
37389
|
...classes,
|
|
37545
37390
|
// forward the disabled and checked classes to the SwitchBase
|
|
@@ -37930,7 +37775,7 @@ const useUtilityClasses$H = (ownerState) => {
|
|
|
37930
37775
|
root: ["root", icon && label && "labelIcon", `textColor${capitalize(textColor)}`, fullWidth && "fullWidth", wrapped && "wrapped", selected && "selected", disabled && "disabled"],
|
|
37931
37776
|
icon: ["iconWrapper", "icon"]
|
|
37932
37777
|
};
|
|
37933
|
-
return composeClasses
|
|
37778
|
+
return composeClasses(slots, getTabUtilityClass, classes);
|
|
37934
37779
|
};
|
|
37935
37780
|
const TabRoot = styled(ButtonBase, {
|
|
37936
37781
|
name: "MuiTab",
|
|
@@ -38254,7 +38099,7 @@ const useUtilityClasses$G = (ownerState) => {
|
|
|
38254
38099
|
const slots = {
|
|
38255
38100
|
root: ["root", stickyHeader && "stickyHeader"]
|
|
38256
38101
|
};
|
|
38257
|
-
return composeClasses
|
|
38102
|
+
return composeClasses(slots, getTableUtilityClass, classes);
|
|
38258
38103
|
};
|
|
38259
38104
|
const TableRoot = styled("table", {
|
|
38260
38105
|
name: "MuiTable",
|
|
@@ -38384,7 +38229,7 @@ const useUtilityClasses$F = (ownerState) => {
|
|
|
38384
38229
|
const slots = {
|
|
38385
38230
|
root: ["root"]
|
|
38386
38231
|
};
|
|
38387
|
-
return composeClasses
|
|
38232
|
+
return composeClasses(slots, getTableBodyUtilityClass, classes);
|
|
38388
38233
|
};
|
|
38389
38234
|
const TableBodyRoot = styled("tbody", {
|
|
38390
38235
|
name: "MuiTableBody",
|
|
@@ -38466,7 +38311,7 @@ const useUtilityClasses$E = (ownerState) => {
|
|
|
38466
38311
|
const slots = {
|
|
38467
38312
|
root: ["root", variant, stickyHeader && "stickyHeader", align !== "inherit" && `align${capitalize(align)}`, padding2 !== "normal" && `padding${capitalize(padding2)}`, `size${capitalize(size)}`]
|
|
38468
38313
|
};
|
|
38469
|
-
return composeClasses
|
|
38314
|
+
return composeClasses(slots, getTableCellUtilityClass, classes);
|
|
38470
38315
|
};
|
|
38471
38316
|
const TableCellRoot = styled("td", {
|
|
38472
38317
|
name: "MuiTableCell",
|
|
@@ -38712,7 +38557,7 @@ const useUtilityClasses$D = (ownerState) => {
|
|
|
38712
38557
|
const slots = {
|
|
38713
38558
|
root: ["root"]
|
|
38714
38559
|
};
|
|
38715
|
-
return composeClasses
|
|
38560
|
+
return composeClasses(slots, getTableContainerUtilityClass, classes);
|
|
38716
38561
|
};
|
|
38717
38562
|
const TableContainerRoot = styled("div", {
|
|
38718
38563
|
name: "MuiTableContainer",
|
|
@@ -38782,7 +38627,7 @@ const useUtilityClasses$C = (ownerState) => {
|
|
|
38782
38627
|
const slots = {
|
|
38783
38628
|
root: ["root"]
|
|
38784
38629
|
};
|
|
38785
|
-
return composeClasses
|
|
38630
|
+
return composeClasses(slots, getTableFooterUtilityClass, classes);
|
|
38786
38631
|
};
|
|
38787
38632
|
const TableFooterRoot = styled("tfoot", {
|
|
38788
38633
|
name: "MuiTableFooter",
|
|
@@ -38859,7 +38704,7 @@ const useUtilityClasses$B = (ownerState) => {
|
|
|
38859
38704
|
const slots = {
|
|
38860
38705
|
root: ["root"]
|
|
38861
38706
|
};
|
|
38862
|
-
return composeClasses
|
|
38707
|
+
return composeClasses(slots, getTableHeadUtilityClass, classes);
|
|
38863
38708
|
};
|
|
38864
38709
|
const TableHeadRoot = styled("thead", {
|
|
38865
38710
|
name: "MuiTableHead",
|
|
@@ -38938,7 +38783,7 @@ const useUtilityClasses$A = (ownerState) => {
|
|
|
38938
38783
|
const slots = {
|
|
38939
38784
|
root: ["root", !disableGutters && "gutters", variant]
|
|
38940
38785
|
};
|
|
38941
|
-
return composeClasses
|
|
38786
|
+
return composeClasses(slots, getToolbarUtilityClass, classes);
|
|
38942
38787
|
};
|
|
38943
38788
|
const ToolbarRoot = styled("div", {
|
|
38944
38789
|
name: "MuiToolbar",
|
|
@@ -39057,7 +38902,7 @@ const useUtilityClasses$z = (ownerState) => {
|
|
|
39057
38902
|
const slots = {
|
|
39058
38903
|
root: ["root"]
|
|
39059
38904
|
};
|
|
39060
|
-
return composeClasses
|
|
38905
|
+
return composeClasses(slots, getTablePaginationActionsUtilityClass, classes);
|
|
39061
38906
|
};
|
|
39062
38907
|
const TablePaginationActionsRoot = styled("div", {
|
|
39063
38908
|
name: "MuiTablePaginationActions",
|
|
@@ -39380,7 +39225,7 @@ const useUtilityClasses$y = (ownerState) => {
|
|
|
39380
39225
|
displayedRows: ["displayedRows"],
|
|
39381
39226
|
actions: ["actions"]
|
|
39382
39227
|
};
|
|
39383
|
-
return composeClasses
|
|
39228
|
+
return composeClasses(slots, getTablePaginationUtilityClass, classes);
|
|
39384
39229
|
};
|
|
39385
39230
|
const TablePagination = /* @__PURE__ */ React.forwardRef(function TablePagination2(inProps, ref) {
|
|
39386
39231
|
const props = useDefaultProps({
|
|
@@ -39753,7 +39598,7 @@ const useUtilityClasses$x = (ownerState) => {
|
|
|
39753
39598
|
const slots = {
|
|
39754
39599
|
root: ["root", selected && "selected", hover && "hover", head && "head", footer && "footer"]
|
|
39755
39600
|
};
|
|
39756
|
-
return composeClasses
|
|
39601
|
+
return composeClasses(slots, getTableRowUtilityClass, classes);
|
|
39757
39602
|
};
|
|
39758
39603
|
const TableRowRoot = styled("tr", {
|
|
39759
39604
|
name: "MuiTableRow",
|
|
@@ -39868,7 +39713,7 @@ const useUtilityClasses$w = (ownerState) => {
|
|
|
39868
39713
|
root: ["root", active && "active", `direction${capitalize(direction)}`],
|
|
39869
39714
|
icon: ["icon", `iconDirection${capitalize(direction)}`]
|
|
39870
39715
|
};
|
|
39871
|
-
return composeClasses
|
|
39716
|
+
return composeClasses(slots, getTableSortLabelUtilityClass, classes);
|
|
39872
39717
|
};
|
|
39873
39718
|
const TableSortLabelRoot = styled(ButtonBase, {
|
|
39874
39719
|
name: "MuiTableSortLabel",
|
|
@@ -40066,7 +39911,7 @@ const useUtilityClasses$v = (ownerState) => {
|
|
|
40066
39911
|
const slots = {
|
|
40067
39912
|
root: ["root"]
|
|
40068
39913
|
};
|
|
40069
|
-
return composeClasses
|
|
39914
|
+
return composeClasses(slots, getTextFieldUtilityClass, classes);
|
|
40070
39915
|
};
|
|
40071
39916
|
const TextFieldRoot = styled(FormControl, {
|
|
40072
39917
|
name: "MuiTextField",
|
|
@@ -40455,50 +40300,6 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes = {
|
|
|
40455
40300
|
*/
|
|
40456
40301
|
variant: PropTypes.oneOf(["filled", "outlined", "standard"])
|
|
40457
40302
|
} : void 0;
|
|
40458
|
-
function resolveProps(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
40459
|
-
const output = {
|
|
40460
|
-
...props
|
|
40461
|
-
};
|
|
40462
|
-
for (const key in defaultProps2) {
|
|
40463
|
-
if (Object.prototype.hasOwnProperty.call(defaultProps2, key)) {
|
|
40464
|
-
const propName = key;
|
|
40465
|
-
if (propName === "components" || propName === "slots") {
|
|
40466
|
-
output[propName] = {
|
|
40467
|
-
...defaultProps2[propName],
|
|
40468
|
-
...output[propName]
|
|
40469
|
-
};
|
|
40470
|
-
} else if (propName === "componentsProps" || propName === "slotProps") {
|
|
40471
|
-
const defaultSlotProps = defaultProps2[propName];
|
|
40472
|
-
const slotProps = props[propName];
|
|
40473
|
-
if (!slotProps) {
|
|
40474
|
-
output[propName] = defaultSlotProps || {};
|
|
40475
|
-
} else if (!defaultSlotProps) {
|
|
40476
|
-
output[propName] = slotProps;
|
|
40477
|
-
} else {
|
|
40478
|
-
output[propName] = {
|
|
40479
|
-
...slotProps
|
|
40480
|
-
};
|
|
40481
|
-
for (const slotKey in defaultSlotProps) {
|
|
40482
|
-
if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {
|
|
40483
|
-
const slotPropName = slotKey;
|
|
40484
|
-
output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName], mergeClassNameAndStyle);
|
|
40485
|
-
}
|
|
40486
|
-
}
|
|
40487
|
-
}
|
|
40488
|
-
} else if (propName === "className" && mergeClassNameAndStyle && props.className) {
|
|
40489
|
-
output.className = clsx(defaultProps2?.className, props?.className);
|
|
40490
|
-
} else if (propName === "style" && mergeClassNameAndStyle && props.style) {
|
|
40491
|
-
output.style = {
|
|
40492
|
-
...defaultProps2?.style,
|
|
40493
|
-
...props?.style
|
|
40494
|
-
};
|
|
40495
|
-
} else if (output[propName] === void 0) {
|
|
40496
|
-
output[propName] = defaultProps2[propName];
|
|
40497
|
-
}
|
|
40498
|
-
}
|
|
40499
|
-
}
|
|
40500
|
-
return output;
|
|
40501
|
-
}
|
|
40502
40303
|
function getToggleButtonUtilityClass(slot) {
|
|
40503
40304
|
return generateUtilityClass("MuiToggleButton", slot);
|
|
40504
40305
|
}
|
|
@@ -40532,7 +40333,7 @@ const useUtilityClasses$u = (ownerState) => {
|
|
|
40532
40333
|
const slots = {
|
|
40533
40334
|
root: ["root", selected && "selected", disabled && "disabled", fullWidth && "fullWidth", `size${capitalize(size)}`, color2]
|
|
40534
40335
|
};
|
|
40535
|
-
return composeClasses
|
|
40336
|
+
return composeClasses(slots, getToggleButtonUtilityClass, classes);
|
|
40536
40337
|
};
|
|
40537
40338
|
const ToggleButtonRoot = styled(ButtonBase, {
|
|
40538
40339
|
name: "MuiToggleButton",
|
|
@@ -40784,7 +40585,7 @@ const useUtilityClasses$t = (ownerState) => {
|
|
|
40784
40585
|
lastButton: ["lastButton"],
|
|
40785
40586
|
middleButton: ["middleButton"]
|
|
40786
40587
|
};
|
|
40787
|
-
return composeClasses
|
|
40588
|
+
return composeClasses(slots, getToggleButtonGroupUtilityClass, classes);
|
|
40788
40589
|
};
|
|
40789
40590
|
const ToggleButtonGroupRoot = styled("div", {
|
|
40790
40591
|
name: "MuiToggleButtonGroup",
|
|
@@ -41053,7 +40854,7 @@ const useUtilityClasses$s = (ownerState) => {
|
|
|
41053
40854
|
tooltip: ["tooltip", arrow2 && "tooltipArrow", touch && "touch", `tooltipPlacement${capitalize(placement.split("-")[0])}`],
|
|
41054
40855
|
arrow: ["arrow"]
|
|
41055
40856
|
};
|
|
41056
|
-
return composeClasses
|
|
40857
|
+
return composeClasses(slots, getTooltipUtilityClass, classes);
|
|
41057
40858
|
};
|
|
41058
40859
|
const TooltipPopper = styled(Popper2, {
|
|
41059
40860
|
name: "MuiTooltip",
|
|
@@ -42087,7 +41888,7 @@ const useUtilityClasses$r = (ownerState) => {
|
|
|
42087
41888
|
loadingIndicator: ["loadingIndicator"],
|
|
42088
41889
|
loadingWrapper: ["loadingWrapper"]
|
|
42089
41890
|
};
|
|
42090
|
-
const composedClasses = composeClasses
|
|
41891
|
+
const composedClasses = composeClasses(slots, getButtonUtilityClass, classes);
|
|
42091
41892
|
return {
|
|
42092
41893
|
...classes,
|
|
42093
41894
|
// forward the focused, disabled, etc. classes to the ButtonBase
|
|
@@ -42901,7 +42702,7 @@ const useUtilityClasses$q = (ownerState) => {
|
|
|
42901
42702
|
message: ["message"],
|
|
42902
42703
|
action: ["action"]
|
|
42903
42704
|
};
|
|
42904
|
-
return composeClasses
|
|
42705
|
+
return composeClasses(slots, getAlertUtilityClass, classes);
|
|
42905
42706
|
};
|
|
42906
42707
|
const AlertRoot = styled(Paper, {
|
|
42907
42708
|
name: "MuiAlert",
|
|
@@ -45196,7 +44997,7 @@ const useUtilityClasses$p = (classes) => {
|
|
|
45196
44997
|
title: ["title"],
|
|
45197
44998
|
content: ["content"]
|
|
45198
44999
|
};
|
|
45199
|
-
return composeClasses
|
|
45000
|
+
return composeClasses(slots, getPickersToolbarUtilityClass, classes);
|
|
45200
45001
|
};
|
|
45201
45002
|
const PickersToolbarRoot = styled("div", {
|
|
45202
45003
|
name: "MuiPickersToolbar",
|
|
@@ -45673,7 +45474,7 @@ const useUtilityClasses$o = (classes) => {
|
|
|
45673
45474
|
root: ["root"],
|
|
45674
45475
|
title: ["title"]
|
|
45675
45476
|
};
|
|
45676
|
-
return composeClasses
|
|
45477
|
+
return composeClasses(slots, getDatePickerToolbarUtilityClass, classes);
|
|
45677
45478
|
};
|
|
45678
45479
|
const DatePickerToolbarRoot = styled(PickersToolbar, {
|
|
45679
45480
|
name: "MuiDatePickerToolbar",
|
|
@@ -45953,7 +45754,7 @@ const useUtilityClasses$n = (classes) => {
|
|
|
45953
45754
|
root: ["root"],
|
|
45954
45755
|
paper: ["paper"]
|
|
45955
45756
|
};
|
|
45956
|
-
return composeClasses
|
|
45757
|
+
return composeClasses(slots, getPickerPopperUtilityClass, classes);
|
|
45957
45758
|
};
|
|
45958
45759
|
const PickerPopperRoot = styled(Popper2, {
|
|
45959
45760
|
name: "MuiPickerPopper",
|
|
@@ -47159,7 +46960,7 @@ const useUtilityClasses$m = (classes, ownerState) => {
|
|
|
47159
46960
|
landscape: ["landscape"],
|
|
47160
46961
|
shortcuts: ["shortcuts"]
|
|
47161
46962
|
};
|
|
47162
|
-
return composeClasses
|
|
46963
|
+
return composeClasses(slots, getPickersLayoutUtilityClass, classes);
|
|
47163
46964
|
};
|
|
47164
46965
|
const usePickerLayout = (props) => {
|
|
47165
46966
|
const {
|
|
@@ -47233,7 +47034,7 @@ const useUtilityClasses$l = (classes, ownerState) => {
|
|
|
47233
47034
|
root: ["root", pickerOrientation === "landscape" && "landscape"],
|
|
47234
47035
|
contentWrapper: ["contentWrapper"]
|
|
47235
47036
|
};
|
|
47236
|
-
return composeClasses
|
|
47037
|
+
return composeClasses(slots, getPickersLayoutUtilityClass, classes);
|
|
47237
47038
|
};
|
|
47238
47039
|
const PickersLayoutRoot = styled("div", {
|
|
47239
47040
|
name: "MuiPickersLayout",
|
|
@@ -49300,7 +49101,7 @@ const useUtilityClasses$k = (ownerState) => {
|
|
|
49300
49101
|
const slots = {
|
|
49301
49102
|
root: ["root", disablePointerEvents && "disablePointerEvents", position2 && `position${capitalize(position2)}`, variant, hiddenLabel && "hiddenLabel", size && `size${capitalize(size)}`]
|
|
49302
49103
|
};
|
|
49303
|
-
return composeClasses
|
|
49104
|
+
return composeClasses(slots, getInputAdornmentUtilityClass, classes);
|
|
49304
49105
|
};
|
|
49305
49106
|
const InputAdornmentRoot = styled("div", {
|
|
49306
49107
|
name: "MuiInputAdornment",
|
|
@@ -49552,7 +49353,7 @@ const useUtilityClasses$j = (classes) => {
|
|
|
49552
49353
|
section: ["section"],
|
|
49553
49354
|
sectionContent: ["sectionContent"]
|
|
49554
49355
|
};
|
|
49555
|
-
return composeClasses
|
|
49356
|
+
return composeClasses(slots, getPickersSectionListUtilityClass, classes);
|
|
49556
49357
|
};
|
|
49557
49358
|
function PickersSection(props) {
|
|
49558
49359
|
const {
|
|
@@ -49957,7 +49758,7 @@ const useUtilityClasses$i = (classes, ownerState) => {
|
|
|
49957
49758
|
sectionAfter: ["sectionAfter"],
|
|
49958
49759
|
activeBar: ["activeBar"]
|
|
49959
49760
|
};
|
|
49960
|
-
return composeClasses
|
|
49761
|
+
return composeClasses(slots, getPickersInputBaseUtilityClass, classes);
|
|
49961
49762
|
};
|
|
49962
49763
|
function resolveSectionElementWidth(sectionElement, rootRef, index, dateRangePosition) {
|
|
49963
49764
|
if (sectionElement.content.id) {
|
|
@@ -50425,7 +50226,7 @@ const useUtilityClasses$h = (classes) => {
|
|
|
50425
50226
|
notchedOutline: ["notchedOutline"],
|
|
50426
50227
|
input: ["input"]
|
|
50427
50228
|
};
|
|
50428
|
-
const composedClasses = composeClasses
|
|
50229
|
+
const composedClasses = composeClasses(slots, getPickersOutlinedInputUtilityClass, classes);
|
|
50429
50230
|
return _extends({}, classes, composedClasses);
|
|
50430
50231
|
};
|
|
50431
50232
|
const PickersOutlinedInput = /* @__PURE__ */ React.forwardRef(function PickersOutlinedInput2(inProps, ref) {
|
|
@@ -50709,7 +50510,7 @@ const useUtilityClasses$g = (classes, ownerState) => {
|
|
|
50709
50510
|
root: ["root", inputHasUnderline && "underline"],
|
|
50710
50511
|
input: ["input"]
|
|
50711
50512
|
};
|
|
50712
|
-
const composedClasses = composeClasses
|
|
50513
|
+
const composedClasses = composeClasses(slots, getPickersFilledInputUtilityClass, classes);
|
|
50713
50514
|
return _extends({}, classes, composedClasses);
|
|
50714
50515
|
};
|
|
50715
50516
|
const PickersFilledInput = /* @__PURE__ */ React.forwardRef(function PickersFilledInput2(inProps, ref) {
|
|
@@ -50923,7 +50724,7 @@ const useUtilityClasses$f = (classes, ownerState) => {
|
|
|
50923
50724
|
root: ["root", !inputHasUnderline && "underline"],
|
|
50924
50725
|
input: ["input"]
|
|
50925
50726
|
};
|
|
50926
|
-
const composedClasses = composeClasses
|
|
50727
|
+
const composedClasses = composeClasses(slots, getPickersInputUtilityClass, classes);
|
|
50927
50728
|
return _extends({}, classes, composedClasses);
|
|
50928
50729
|
};
|
|
50929
50730
|
const PickersInput = /* @__PURE__ */ React.forwardRef(function PickersInput2(inProps, ref) {
|
|
@@ -51053,7 +50854,7 @@ const useUtilityClasses$e = (classes, ownerState) => {
|
|
|
51053
50854
|
const slots = {
|
|
51054
50855
|
root: ["root", isFieldFocused2 && !isFieldDisabled && "focused", isFieldDisabled && "disabled", isFieldRequired && "required"]
|
|
51055
50856
|
};
|
|
51056
|
-
return composeClasses
|
|
50857
|
+
return composeClasses(slots, getPickersTextFieldUtilityClass, classes);
|
|
51057
50858
|
};
|
|
51058
50859
|
const PickersTextField = /* @__PURE__ */ React.forwardRef(function PickersTextField2(inProps, ref) {
|
|
51059
50860
|
const props = useThemeProps$2({
|
|
@@ -52101,7 +51902,7 @@ const useUtilityClasses$d = (classes) => {
|
|
|
52101
51902
|
const slots = {
|
|
52102
51903
|
root: ["root"]
|
|
52103
51904
|
};
|
|
52104
|
-
return composeClasses
|
|
51905
|
+
return composeClasses(slots, getPickersFadeTransitionGroupUtilityClass, classes);
|
|
52105
51906
|
};
|
|
52106
51907
|
const PickersFadeTransitionGroupRoot = styled(TransitionGroup, {
|
|
52107
51908
|
name: "MuiPickersFadeTransitionGroup",
|
|
@@ -52193,7 +51994,7 @@ const useUtilityClasses$c = (classes, ownerState) => {
|
|
|
52193
51994
|
root: ["root", isDaySelected && !isHiddenDaySpacingFiller && "selected", isDayDisabled && "disabled", !disableMargin && "dayWithMargin", !disableHighlightToday && isDayCurrent && "today", isDayOutsideMonth && showDaysOutsideCurrentMonth && "dayOutsideMonth", isHiddenDaySpacingFiller && "hiddenDaySpacingFiller"],
|
|
52194
51995
|
hiddenDaySpacingFiller: ["hiddenDaySpacingFiller"]
|
|
52195
51996
|
};
|
|
52196
|
-
return composeClasses
|
|
51997
|
+
return composeClasses(slots, getPickersDayUtilityClass, classes);
|
|
52197
51998
|
};
|
|
52198
51999
|
const styleArg = ({
|
|
52199
52000
|
theme
|
|
@@ -52535,7 +52336,7 @@ const useUtilityClasses$b = (classes, ownerState) => {
|
|
|
52535
52336
|
enter: [`slideEnter-${slideDirection}`],
|
|
52536
52337
|
exitActive: [`slideExitActiveLeft-${slideDirection}`]
|
|
52537
52338
|
};
|
|
52538
|
-
return composeClasses
|
|
52339
|
+
return composeClasses(slots, getPickersSlideTransitionUtilityClass, classes);
|
|
52539
52340
|
};
|
|
52540
52341
|
const PickersSlideTransitionRoot = styled(TransitionGroup, {
|
|
52541
52342
|
name: "MuiPickersSlideTransition",
|
|
@@ -52666,7 +52467,7 @@ const useUtilityClasses$a = (classes) => {
|
|
|
52666
52467
|
weekNumberLabel: ["weekNumberLabel"],
|
|
52667
52468
|
weekNumber: ["weekNumber"]
|
|
52668
52469
|
};
|
|
52669
|
-
return composeClasses
|
|
52470
|
+
return composeClasses(slots, getDayCalendarUtilityClass, classes);
|
|
52670
52471
|
};
|
|
52671
52472
|
const weeksContainerHeight = (DAY_SIZE + DAY_MARGIN * 2) * 6;
|
|
52672
52473
|
const PickersCalendarDayRoot = styled("div", {
|
|
@@ -53060,7 +52861,7 @@ const useUtilityClasses$9 = (classes, ownerState) => {
|
|
|
53060
52861
|
const slots = {
|
|
53061
52862
|
button: ["button", ownerState.isMonthDisabled && "disabled", ownerState.isMonthSelected && "selected"]
|
|
53062
52863
|
};
|
|
53063
|
-
return composeClasses
|
|
52864
|
+
return composeClasses(slots, getMonthCalendarUtilityClass, classes);
|
|
53064
52865
|
};
|
|
53065
52866
|
const DefaultMonthButton = styled("button", {
|
|
53066
52867
|
name: "MuiMonthCalendar",
|
|
@@ -53158,7 +52959,7 @@ const useUtilityClasses$8 = (classes) => {
|
|
|
53158
52959
|
const slots = {
|
|
53159
52960
|
root: ["root"]
|
|
53160
52961
|
};
|
|
53161
|
-
return composeClasses
|
|
52962
|
+
return composeClasses(slots, getMonthCalendarUtilityClass, classes);
|
|
53162
52963
|
};
|
|
53163
52964
|
function useMonthCalendarDefaultizedProps(props, name) {
|
|
53164
52965
|
const themeProps = useThemeProps$2({
|
|
@@ -53496,7 +53297,7 @@ const useUtilityClasses$7 = (classes, ownerState) => {
|
|
|
53496
53297
|
const slots = {
|
|
53497
53298
|
button: ["button", ownerState.isYearDisabled && "disabled", ownerState.isYearSelected && "selected"]
|
|
53498
53299
|
};
|
|
53499
|
-
return composeClasses
|
|
53300
|
+
return composeClasses(slots, getYearCalendarUtilityClass, classes);
|
|
53500
53301
|
};
|
|
53501
53302
|
const DefaultYearButton = styled("button", {
|
|
53502
53303
|
name: "MuiYearCalendar",
|
|
@@ -53594,7 +53395,7 @@ const useUtilityClasses$6 = (classes) => {
|
|
|
53594
53395
|
const slots = {
|
|
53595
53396
|
root: ["root"]
|
|
53596
53397
|
};
|
|
53597
|
-
return composeClasses
|
|
53398
|
+
return composeClasses(slots, getYearCalendarUtilityClass, classes);
|
|
53598
53399
|
};
|
|
53599
53400
|
function useYearCalendarDefaultizedProps(props, name) {
|
|
53600
53401
|
const themeProps = useThemeProps$2({
|
|
@@ -54011,7 +53812,7 @@ const useUtilityClasses$5 = (classes) => {
|
|
|
54011
53812
|
leftArrowIcon: ["leftArrowIcon"],
|
|
54012
53813
|
rightArrowIcon: ["rightArrowIcon"]
|
|
54013
53814
|
};
|
|
54014
|
-
return composeClasses
|
|
53815
|
+
return composeClasses(slots, getPickersArrowSwitcherUtilityClass, classes);
|
|
54015
53816
|
};
|
|
54016
53817
|
const PickersArrowSwitcher = /* @__PURE__ */ React.forwardRef(function PickersArrowSwitcher2(inProps, ref) {
|
|
54017
53818
|
const isRtl = useRtl();
|
|
@@ -54159,7 +53960,7 @@ const useUtilityClasses$4 = (classes) => {
|
|
|
54159
53960
|
switchViewButton: ["switchViewButton"],
|
|
54160
53961
|
switchViewIcon: ["switchViewIcon"]
|
|
54161
53962
|
};
|
|
54162
|
-
return composeClasses
|
|
53963
|
+
return composeClasses(slots, getPickersCalendarHeaderUtilityClass, classes);
|
|
54163
53964
|
};
|
|
54164
53965
|
const PickersCalendarHeaderRoot = styled("div", {
|
|
54165
53966
|
name: "MuiPickersCalendarHeader",
|
|
@@ -54405,7 +54206,7 @@ const useUtilityClasses$3 = (classes) => {
|
|
|
54405
54206
|
root: ["root"],
|
|
54406
54207
|
viewTransitionContainer: ["viewTransitionContainer"]
|
|
54407
54208
|
};
|
|
54408
|
-
return composeClasses
|
|
54209
|
+
return composeClasses(slots, getDateCalendarUtilityClass, classes);
|
|
54409
54210
|
};
|
|
54410
54211
|
function useDateCalendarDefaultizedProps(props, name) {
|
|
54411
54212
|
const themeProps = useThemeProps$2({
|
|
@@ -55404,7 +55205,7 @@ const useUtilityClasses$2 = (ownerState) => {
|
|
|
55404
55205
|
container: ["container", `scroll${capitalize(scroll)}`],
|
|
55405
55206
|
paper: ["paper", `paperScroll${capitalize(scroll)}`, `paperWidth${capitalize(String(maxWidth2))}`, fullWidth && "paperFullWidth", fullScreen && "paperFullScreen"]
|
|
55406
55207
|
};
|
|
55407
|
-
return composeClasses
|
|
55208
|
+
return composeClasses(slots, getDialogUtilityClass, classes);
|
|
55408
55209
|
};
|
|
55409
55210
|
const DialogRoot = styled(Modal, {
|
|
55410
55211
|
name: "MuiDialog",
|
|
@@ -62017,7 +61818,7 @@ const useUtilityClasses$1 = (classesProp) => {
|
|
|
62017
61818
|
focused: ["focused"],
|
|
62018
61819
|
disabled: ["disabled"]
|
|
62019
61820
|
};
|
|
62020
|
-
return composeClasses
|
|
61821
|
+
return composeClasses(slots, getTreeItemUtilityClass, classes);
|
|
62021
61822
|
};
|
|
62022
61823
|
const TreeItem = /* @__PURE__ */ React.forwardRef(function TreeItem2(inProps, forwardedRef) {
|
|
62023
61824
|
const props = useThemeProps$1({
|
|
@@ -63116,7 +62917,7 @@ const useUtilityClasses = (ownerState) => {
|
|
|
63116
62917
|
// itemDragAndDropOverlay: ['itemDragAndDropOverlay'], => feature not available on this component
|
|
63117
62918
|
// itemErrorIcon: ['itemErrorIcon'], => feature not available on this component
|
|
63118
62919
|
};
|
|
63119
|
-
return composeClasses
|
|
62920
|
+
return composeClasses(slots, getRichTreeViewUtilityClass, classes);
|
|
63120
62921
|
}, [classes]);
|
|
63121
62922
|
};
|
|
63122
62923
|
const RichTreeViewRoot = styled("ul", {
|
|
@@ -63441,7 +63242,7 @@ const expandedGroupStyle = {
|
|
|
63441
63242
|
paddingLeft: "15px",
|
|
63442
63243
|
marginLeft: "18px"
|
|
63443
63244
|
};
|
|
63444
|
-
const iconStyle
|
|
63245
|
+
const iconStyle = {
|
|
63445
63246
|
width: "24px",
|
|
63446
63247
|
height: "24px"
|
|
63447
63248
|
};
|
|
@@ -63525,7 +63326,7 @@ function CustomTreeItem(props) {
|
|
|
63525
63326
|
getIconContainerProps,
|
|
63526
63327
|
status
|
|
63527
63328
|
} = useTreeItem({ id, itemId, label, disabled, children, rootRef: ref });
|
|
63528
|
-
const
|
|
63329
|
+
const labelStyle = {
|
|
63529
63330
|
...status.selected && { fontWeight: 600 },
|
|
63530
63331
|
color: "var(--theme-palette-text-primary)"
|
|
63531
63332
|
};
|
|
@@ -63538,12 +63339,12 @@ function CustomTreeItem(props) {
|
|
|
63538
63339
|
sx: treeItemRootStyle,
|
|
63539
63340
|
children: [
|
|
63540
63341
|
/* @__PURE__ */ jsxs(TreeItemContent, { ...getContentProps(), style: treeContentStyle, children: [
|
|
63541
|
-
!hasNoIcons && /* @__PURE__ */ jsx(TreeItemIconContainer, { ...getIconContainerProps(), sx: iconStyle
|
|
63342
|
+
!hasNoIcons && /* @__PURE__ */ jsx(TreeItemIconContainer, { ...getIconContainerProps(), sx: iconStyle, children: /* @__PURE__ */ jsx(IconComponent, { color: iconColor, sx: iconStyle }) }),
|
|
63542
63343
|
/* @__PURE__ */ jsx(
|
|
63543
63344
|
EllipsisWithTooltip,
|
|
63544
63345
|
{
|
|
63545
63346
|
...getLabelProps(),
|
|
63546
|
-
typographyProps:
|
|
63347
|
+
typographyProps: labelStyle
|
|
63547
63348
|
}
|
|
63548
63349
|
),
|
|
63549
63350
|
/* @__PURE__ */ jsx(Box, { sx: arrowContainerStyle, children: status.expandable && (status.expanded ? /* @__PURE__ */ jsx(KeyboardArrowDownRoundedIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx(KeyboardArrowRightRoundedIcon, { fontSize: "small" })) })
|
|
@@ -63614,79 +63415,6 @@ const TreeView = ({
|
|
|
63614
63415
|
}
|
|
63615
63416
|
) });
|
|
63616
63417
|
};
|
|
63617
|
-
const AddRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
|
|
63618
|
-
d: "M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1"
|
|
63619
|
-
}), "AddRounded");
|
|
63620
|
-
const RemoveRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
|
|
63621
|
-
d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1"
|
|
63622
|
-
}), "RemoveRounded");
|
|
63623
|
-
const GREY = "rgba(238, 238, 238, 0.75)";
|
|
63624
|
-
const LIGHT_GREY = "#D6D6D6";
|
|
63625
|
-
const WHITE = "#FFFFFF";
|
|
63626
|
-
const containerStyle = ({
|
|
63627
|
-
opacity
|
|
63628
|
-
}) => ({
|
|
63629
|
-
backgroundColor: GREY,
|
|
63630
|
-
color: WHITE,
|
|
63631
|
-
borderRadius: "1.6rem",
|
|
63632
|
-
padding: "0.8rem",
|
|
63633
|
-
display: "inline-flex",
|
|
63634
|
-
alignItems: "center",
|
|
63635
|
-
justifyContent: "space-evenly",
|
|
63636
|
-
height: "5.8rem",
|
|
63637
|
-
width: "auto",
|
|
63638
|
-
zIndex: 2,
|
|
63639
|
-
opacity,
|
|
63640
|
-
backdropFilter: "blur(9px)",
|
|
63641
|
-
bottom: "3rem",
|
|
63642
|
-
position: "fixed"
|
|
63643
|
-
});
|
|
63644
|
-
const iconButtonStyle = {
|
|
63645
|
-
color: "inherit",
|
|
63646
|
-
width: "4.4rem",
|
|
63647
|
-
height: "4.4rem",
|
|
63648
|
-
padding: "0.1em",
|
|
63649
|
-
"&:hover": {
|
|
63650
|
-
backgroundColor: "rgba(255, 255, 255, 0.1)"
|
|
63651
|
-
},
|
|
63652
|
-
"&.Mui-disabled": {
|
|
63653
|
-
color: LIGHT_GREY
|
|
63654
|
-
}
|
|
63655
|
-
};
|
|
63656
|
-
const iconStyle = ({ disabled }) => ({
|
|
63657
|
-
fontSize: "3rem",
|
|
63658
|
-
color: disabled ? "inherit" : "#00000099"
|
|
63659
|
-
});
|
|
63660
|
-
const labelStyle = {
|
|
63661
|
-
margin: "0 0.75em",
|
|
63662
|
-
cursor: "pointer",
|
|
63663
|
-
border: "none",
|
|
63664
|
-
background: "none",
|
|
63665
|
-
color: "#00000099",
|
|
63666
|
-
font: "inherit",
|
|
63667
|
-
padding: 0,
|
|
63668
|
-
"&:hover": {
|
|
63669
|
-
opacity: 0.8
|
|
63670
|
-
}
|
|
63671
|
-
};
|
|
63672
|
-
const ZoomComponent = ({
|
|
63673
|
-
opacity = 1,
|
|
63674
|
-
zoomLevel,
|
|
63675
|
-
zoomMaxLevel,
|
|
63676
|
-
zoomIn,
|
|
63677
|
-
zoomOut,
|
|
63678
|
-
resetZoom,
|
|
63679
|
-
label = "Zoom",
|
|
63680
|
-
slotProps = {}
|
|
63681
|
-
}) => {
|
|
63682
|
-
const isMinZoom = zoomLevel === 0;
|
|
63683
|
-
const isMaxZoom = zoomLevel === zoomMaxLevel;
|
|
63684
|
-
return /* @__PURE__ */ jsxs(Box, { sx: containerStyle({ opacity }), ...slotProps.boxStyle, children: [
|
|
63685
|
-
/* @__PURE__ */ jsx(IconButton, { onClick: zoomOut, disabled: isMinZoom, sx: iconButtonStyle, children: /* @__PURE__ */ jsx(RemoveRoundedIcon, { sx: iconStyle({ disabled: isMinZoom }) }) }),
|
|
63686
|
-
/* @__PURE__ */ jsx(Typography, { onClick: resetZoom, sx: labelStyle, component: "button", children: label }),
|
|
63687
|
-
/* @__PURE__ */ jsx(IconButton, { onClick: zoomIn, disabled: isMaxZoom, sx: iconButtonStyle, children: /* @__PURE__ */ jsx(AddRoundedIcon, { sx: iconStyle({ disabled: isMaxZoom }) }) })
|
|
63688
|
-
] });
|
|
63689
|
-
};
|
|
63690
63418
|
export {
|
|
63691
63419
|
Accordion,
|
|
63692
63420
|
AccordionActions,
|
|
@@ -63817,7 +63545,6 @@ export {
|
|
|
63817
63545
|
TreeView,
|
|
63818
63546
|
Typography,
|
|
63819
63547
|
Zoom,
|
|
63820
|
-
ZoomComponent,
|
|
63821
63548
|
accordionActionsClasses,
|
|
63822
63549
|
accordionClasses,
|
|
63823
63550
|
accordionDetailsClasses,
|