@cgi-learning-hub/ui 1.11.0-dev.1764841886 → 1.11.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 +205 -405
- package/dist/index.es.js +205 -405
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1212,7 +1212,7 @@ function clsx() {
|
|
|
1212
1212
|
return n;
|
|
1213
1213
|
}
|
|
1214
1214
|
const refType = PropTypes.oneOfType([PropTypes.func, PropTypes.object]);
|
|
1215
|
-
function composeClasses
|
|
1215
|
+
function composeClasses(slots, getUtilityClass, classes = void 0) {
|
|
1216
1216
|
const output = {};
|
|
1217
1217
|
for (const slotName in slots) {
|
|
1218
1218
|
const slot = slots[slotName];
|
|
@@ -1414,49 +1414,49 @@ function useSlotProps(parameters) {
|
|
|
1414
1414
|
}, ownerState);
|
|
1415
1415
|
return props;
|
|
1416
1416
|
}
|
|
1417
|
-
function formatMuiErrorMessage
|
|
1417
|
+
function formatMuiErrorMessage(code, ...args) {
|
|
1418
1418
|
const url = new URL(`https://mui.com/production-error/?code=${code}`);
|
|
1419
1419
|
args.forEach((arg2) => url.searchParams.append("args[]", arg2));
|
|
1420
1420
|
return `Minified MUI error #${code}; visit ${url} for the full message.`;
|
|
1421
1421
|
}
|
|
1422
|
-
function capitalize
|
|
1422
|
+
function capitalize(string) {
|
|
1423
1423
|
if (typeof string !== "string") {
|
|
1424
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage
|
|
1424
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage(7));
|
|
1425
1425
|
}
|
|
1426
1426
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
1427
1427
|
}
|
|
1428
|
-
function isPlainObject
|
|
1428
|
+
function isPlainObject(item) {
|
|
1429
1429
|
if (typeof item !== "object" || item === null) {
|
|
1430
1430
|
return false;
|
|
1431
1431
|
}
|
|
1432
1432
|
const prototype = Object.getPrototypeOf(item);
|
|
1433
1433
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
|
|
1434
1434
|
}
|
|
1435
|
-
function deepClone
|
|
1436
|
-
if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject
|
|
1435
|
+
function deepClone(source) {
|
|
1436
|
+
if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
|
|
1437
1437
|
return source;
|
|
1438
1438
|
}
|
|
1439
1439
|
const output = {};
|
|
1440
1440
|
Object.keys(source).forEach((key) => {
|
|
1441
|
-
output[key] = deepClone
|
|
1441
|
+
output[key] = deepClone(source[key]);
|
|
1442
1442
|
});
|
|
1443
1443
|
return output;
|
|
1444
1444
|
}
|
|
1445
|
-
function deepmerge
|
|
1445
|
+
function deepmerge(target, source, options = {
|
|
1446
1446
|
clone: true
|
|
1447
1447
|
}) {
|
|
1448
1448
|
const output = options.clone ? {
|
|
1449
1449
|
...target
|
|
1450
1450
|
} : target;
|
|
1451
|
-
if (isPlainObject
|
|
1451
|
+
if (isPlainObject(target) && isPlainObject(source)) {
|
|
1452
1452
|
Object.keys(source).forEach((key) => {
|
|
1453
1453
|
if (/* @__PURE__ */ React.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
|
|
1454
1454
|
output[key] = source[key];
|
|
1455
|
-
} else if (isPlainObject
|
|
1456
|
-
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject
|
|
1457
|
-
output[key] = deepmerge
|
|
1455
|
+
} else if (isPlainObject(source[key]) && // Avoid prototype pollution
|
|
1456
|
+
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
|
|
1457
|
+
output[key] = deepmerge(target[key], source[key], options);
|
|
1458
1458
|
} else if (options.clone) {
|
|
1459
|
-
output[key] = isPlainObject
|
|
1459
|
+
output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
|
|
1460
1460
|
} else {
|
|
1461
1461
|
output[key] = source[key];
|
|
1462
1462
|
}
|
|
@@ -1468,7 +1468,7 @@ function merge(acc, item) {
|
|
|
1468
1468
|
if (!item) {
|
|
1469
1469
|
return acc;
|
|
1470
1470
|
}
|
|
1471
|
-
return deepmerge
|
|
1471
|
+
return deepmerge(acc, item, {
|
|
1472
1472
|
clone: false
|
|
1473
1473
|
// No need to clone deep, it's way faster.
|
|
1474
1474
|
});
|
|
@@ -1502,7 +1502,7 @@ function getContainerQuery(theme, shorthand) {
|
|
|
1502
1502
|
if (!matches) {
|
|
1503
1503
|
if (process.env.NODE_ENV !== "production") {
|
|
1504
1504
|
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>\`.
|
|
1505
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
|
|
1505
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage(18, `(${shorthand})`));
|
|
1506
1506
|
}
|
|
1507
1507
|
return null;
|
|
1508
1508
|
}
|
|
@@ -1615,7 +1615,7 @@ function removeUnusedBreakpoints(breakpointKeys, style2) {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
function mergeBreakpointsInOrder(breakpointsInput, ...styles2) {
|
|
1617
1617
|
const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);
|
|
1618
|
-
const mergedOutput = [emptyBreakpoints, ...styles2].reduce((prev2, next2) => deepmerge
|
|
1618
|
+
const mergedOutput = [emptyBreakpoints, ...styles2].reduce((prev2, next2) => deepmerge(prev2, next2), {});
|
|
1619
1619
|
return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);
|
|
1620
1620
|
}
|
|
1621
1621
|
function computeBreakpointsBase(breakpointValues, themeBreakpoints) {
|
|
@@ -1711,7 +1711,7 @@ function style$2(options) {
|
|
|
1711
1711
|
const styleFromPropValue = (propValueFinal) => {
|
|
1712
1712
|
let value = getStyleValue$1(themeMapping, transform, propValueFinal);
|
|
1713
1713
|
if (propValueFinal === value && typeof propValueFinal === "string") {
|
|
1714
|
-
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize
|
|
1714
|
+
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize(propValueFinal)}`, propValueFinal);
|
|
1715
1715
|
}
|
|
1716
1716
|
if (cssProperty === false) {
|
|
1717
1717
|
return value;
|
|
@@ -2418,7 +2418,7 @@ function unstable_createStyleFunctionSx() {
|
|
|
2418
2418
|
const styleFromPropValue = (propValueFinal) => {
|
|
2419
2419
|
let value = getStyleValue$1(themeMapping, transform, propValueFinal);
|
|
2420
2420
|
if (propValueFinal === value && typeof propValueFinal === "string") {
|
|
2421
|
-
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize
|
|
2421
|
+
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize(propValueFinal)}`, propValueFinal);
|
|
2422
2422
|
}
|
|
2423
2423
|
if (cssProperty === false) {
|
|
2424
2424
|
return value;
|
|
@@ -2522,7 +2522,7 @@ function extendSxProp$1(props) {
|
|
|
2522
2522
|
} else if (typeof inSx === "function") {
|
|
2523
2523
|
finalSx = (...args) => {
|
|
2524
2524
|
const result = inSx(...args);
|
|
2525
|
-
if (!isPlainObject
|
|
2525
|
+
if (!isPlainObject(result)) {
|
|
2526
2526
|
return systemProps;
|
|
2527
2527
|
}
|
|
2528
2528
|
return {
|
|
@@ -3824,7 +3824,7 @@ function createTheme$1(options = {}, ...args) {
|
|
|
3824
3824
|
} = options;
|
|
3825
3825
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
3826
3826
|
const spacing = createSpacing(spacingInput);
|
|
3827
|
-
let muiTheme = deepmerge
|
|
3827
|
+
let muiTheme = deepmerge({
|
|
3828
3828
|
breakpoints,
|
|
3829
3829
|
direction: "ltr",
|
|
3830
3830
|
components: {},
|
|
@@ -3841,7 +3841,7 @@ function createTheme$1(options = {}, ...args) {
|
|
|
3841
3841
|
}, other);
|
|
3842
3842
|
muiTheme = cssContainerQueries(muiTheme);
|
|
3843
3843
|
muiTheme.applyStyles = applyStyles$2;
|
|
3844
|
-
muiTheme = args.reduce((acc, argument) => deepmerge
|
|
3844
|
+
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
|
3845
3845
|
muiTheme.unstable_sxConfig = {
|
|
3846
3846
|
...defaultSxConfig,
|
|
3847
3847
|
...other?.unstable_sxConfig
|
|
@@ -3917,9 +3917,9 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$1.propTypes = {
|
|
|
3917
3917
|
*/
|
|
3918
3918
|
themeId: PropTypes.string
|
|
3919
3919
|
} : void 0;
|
|
3920
|
-
const defaultGenerator
|
|
3921
|
-
const createClassNameGenerator
|
|
3922
|
-
let generate = defaultGenerator
|
|
3920
|
+
const defaultGenerator = (componentName) => componentName;
|
|
3921
|
+
const createClassNameGenerator = () => {
|
|
3922
|
+
let generate = defaultGenerator;
|
|
3923
3923
|
return {
|
|
3924
3924
|
configure(generator) {
|
|
3925
3925
|
generate = generator;
|
|
@@ -3928,11 +3928,11 @@ const createClassNameGenerator$1 = () => {
|
|
|
3928
3928
|
return generate(componentName);
|
|
3929
3929
|
},
|
|
3930
3930
|
reset() {
|
|
3931
|
-
generate = defaultGenerator
|
|
3931
|
+
generate = defaultGenerator;
|
|
3932
3932
|
}
|
|
3933
3933
|
};
|
|
3934
3934
|
};
|
|
3935
|
-
const ClassNameGenerator
|
|
3935
|
+
const ClassNameGenerator = createClassNameGenerator();
|
|
3936
3936
|
function createBox(options = {}) {
|
|
3937
3937
|
const {
|
|
3938
3938
|
themeId,
|
|
@@ -3960,7 +3960,7 @@ function createBox(options = {}) {
|
|
|
3960
3960
|
});
|
|
3961
3961
|
return Box2;
|
|
3962
3962
|
}
|
|
3963
|
-
const globalStateClasses
|
|
3963
|
+
const globalStateClasses = {
|
|
3964
3964
|
active: "active",
|
|
3965
3965
|
checked: "checked",
|
|
3966
3966
|
completed: "completed",
|
|
@@ -3974,9 +3974,16 @@ const globalStateClasses$1 = {
|
|
|
3974
3974
|
required: "required",
|
|
3975
3975
|
selected: "selected"
|
|
3976
3976
|
};
|
|
3977
|
-
function generateUtilityClass
|
|
3978
|
-
const globalStateClass = globalStateClasses
|
|
3979
|
-
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator
|
|
3977
|
+
function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
|
|
3978
|
+
const globalStateClass = globalStateClasses[slot];
|
|
3979
|
+
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
|
|
3980
|
+
}
|
|
3981
|
+
function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
|
|
3982
|
+
const result = {};
|
|
3983
|
+
slots.forEach((slot) => {
|
|
3984
|
+
result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
|
|
3985
|
+
});
|
|
3986
|
+
return result;
|
|
3980
3987
|
}
|
|
3981
3988
|
function getFunctionComponentName(Component, fallback = "") {
|
|
3982
3989
|
return Component.displayName || Component.name || fallback;
|
|
@@ -4155,7 +4162,7 @@ function createStyled(input = {}) {
|
|
|
4155
4162
|
return processStyle(props, style2, props.theme.modularCssLayers ? layerName : void 0);
|
|
4156
4163
|
};
|
|
4157
4164
|
}
|
|
4158
|
-
if (isPlainObject
|
|
4165
|
+
if (isPlainObject(style2)) {
|
|
4159
4166
|
const serialized = preprocessStyles(style2);
|
|
4160
4167
|
return function styleObjectProcessor(props) {
|
|
4161
4168
|
if (!serialized.variants) {
|
|
@@ -4228,7 +4235,7 @@ function createStyled(input = {}) {
|
|
|
4228
4235
|
}
|
|
4229
4236
|
function generateDisplayName(componentName, componentSlot, tag) {
|
|
4230
4237
|
if (componentName) {
|
|
4231
|
-
return `${componentName}${capitalize
|
|
4238
|
+
return `${componentName}${capitalize(componentSlot || "")}`;
|
|
4232
4239
|
}
|
|
4233
4240
|
return `Styled(${getDisplayName(tag)})`;
|
|
4234
4241
|
}
|
|
@@ -4260,7 +4267,7 @@ function lowercaseFirstLetter(string) {
|
|
|
4260
4267
|
return string.charAt(0).toLowerCase() + string.slice(1);
|
|
4261
4268
|
}
|
|
4262
4269
|
const styled$1 = createStyled();
|
|
4263
|
-
function resolveProps
|
|
4270
|
+
function resolveProps(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
4264
4271
|
const output = {
|
|
4265
4272
|
...props
|
|
4266
4273
|
};
|
|
@@ -4286,7 +4293,7 @@ function resolveProps$1(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
|
4286
4293
|
for (const slotKey in defaultSlotProps) {
|
|
4287
4294
|
if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {
|
|
4288
4295
|
const slotPropName = slotKey;
|
|
4289
|
-
output[propName][slotPropName] = resolveProps
|
|
4296
|
+
output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName], mergeClassNameAndStyle);
|
|
4290
4297
|
}
|
|
4291
4298
|
}
|
|
4292
4299
|
}
|
|
@@ -4313,7 +4320,7 @@ function getThemeProps$1(params) {
|
|
|
4313
4320
|
if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {
|
|
4314
4321
|
return props;
|
|
4315
4322
|
}
|
|
4316
|
-
return resolveProps
|
|
4323
|
+
return resolveProps(theme.components[name].defaultProps, props);
|
|
4317
4324
|
}
|
|
4318
4325
|
function useThemeProps$3({
|
|
4319
4326
|
props,
|
|
@@ -4331,7 +4338,7 @@ function useThemeProps$3({
|
|
|
4331
4338
|
props
|
|
4332
4339
|
});
|
|
4333
4340
|
}
|
|
4334
|
-
const useEnhancedEffect
|
|
4341
|
+
const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
4335
4342
|
function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
|
|
4336
4343
|
const [match2, setMatch] = React.useState(() => {
|
|
4337
4344
|
if (noSsr && matchMedia) {
|
|
@@ -4342,7 +4349,7 @@ function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSs
|
|
|
4342
4349
|
}
|
|
4343
4350
|
return defaultMatches;
|
|
4344
4351
|
});
|
|
4345
|
-
useEnhancedEffect
|
|
4352
|
+
useEnhancedEffect(() => {
|
|
4346
4353
|
if (!matchMedia) {
|
|
4347
4354
|
return void 0;
|
|
4348
4355
|
}
|
|
@@ -4358,10 +4365,10 @@ function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSs
|
|
|
4358
4365
|
}, [query, matchMedia]);
|
|
4359
4366
|
return match2;
|
|
4360
4367
|
}
|
|
4361
|
-
const safeReact$
|
|
4368
|
+
const safeReact$1 = {
|
|
4362
4369
|
...React
|
|
4363
4370
|
};
|
|
4364
|
-
const maybeReactUseSyncExternalStore = safeReact$
|
|
4371
|
+
const maybeReactUseSyncExternalStore = safeReact$1.useSyncExternalStore;
|
|
4365
4372
|
function useMediaQueryNew(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
|
|
4366
4373
|
const getDefaultSnapshot = React.useCallback(() => defaultMatches, [defaultMatches]);
|
|
4367
4374
|
const getServerSnapshot = React.useMemo(() => {
|
|
@@ -4476,7 +4483,7 @@ function decomposeColor(color2) {
|
|
|
4476
4483
|
const type = color2.substring(0, marker);
|
|
4477
4484
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(type)) {
|
|
4478
4485
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${color2}\` color.
|
|
4479
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage
|
|
4486
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage(9, color2));
|
|
4480
4487
|
}
|
|
4481
4488
|
let values2 = color2.substring(marker + 1, color2.length - 1);
|
|
4482
4489
|
let colorSpace;
|
|
@@ -4488,7 +4495,7 @@ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
|
|
4488
4495
|
}
|
|
4489
4496
|
if (!["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(colorSpace)) {
|
|
4490
4497
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${colorSpace}\` color space.
|
|
4491
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage
|
|
4498
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage(10, colorSpace));
|
|
4492
4499
|
}
|
|
4493
4500
|
} else {
|
|
4494
4501
|
values2 = values2.split(",");
|
|
@@ -4662,14 +4669,14 @@ function private_safeEmphasize(color2, coefficient, warning) {
|
|
|
4662
4669
|
return color2;
|
|
4663
4670
|
}
|
|
4664
4671
|
}
|
|
4665
|
-
const specialProperty
|
|
4666
|
-
function exactProp
|
|
4672
|
+
const specialProperty = "exact-prop: ";
|
|
4673
|
+
function exactProp(propTypes2) {
|
|
4667
4674
|
if (process.env.NODE_ENV === "production") {
|
|
4668
4675
|
return propTypes2;
|
|
4669
4676
|
}
|
|
4670
4677
|
return {
|
|
4671
4678
|
...propTypes2,
|
|
4672
|
-
[specialProperty
|
|
4679
|
+
[specialProperty]: (props) => {
|
|
4673
4680
|
const unsupportedProps = Object.keys(props).filter((prop) => !propTypes2.hasOwnProperty(prop));
|
|
4674
4681
|
if (unsupportedProps.length > 0) {
|
|
4675
4682
|
return new Error(`The following props are not supported: ${unsupportedProps.map((prop) => `\`${prop}\``).join(", ")}. Please remove them.`);
|
|
@@ -4742,7 +4749,7 @@ process.env.NODE_ENV !== "production" ? ThemeProvider$2.propTypes = {
|
|
|
4742
4749
|
theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired
|
|
4743
4750
|
} : void 0;
|
|
4744
4751
|
if (process.env.NODE_ENV !== "production") {
|
|
4745
|
-
process.env.NODE_ENV !== "production" ? ThemeProvider$2.propTypes = exactProp
|
|
4752
|
+
process.env.NODE_ENV !== "production" ? ThemeProvider$2.propTypes = exactProp(ThemeProvider$2.propTypes) : void 0;
|
|
4746
4753
|
}
|
|
4747
4754
|
const PropsContext = /* @__PURE__ */ React.createContext(void 0);
|
|
4748
4755
|
function DefaultPropsProvider({
|
|
@@ -4779,10 +4786,10 @@ function getThemeProps(params) {
|
|
|
4779
4786
|
}
|
|
4780
4787
|
const config2 = theme.components[name];
|
|
4781
4788
|
if (config2.defaultProps) {
|
|
4782
|
-
return resolveProps
|
|
4789
|
+
return resolveProps(config2.defaultProps, props, theme.components.mergeClassNameAndStyle);
|
|
4783
4790
|
}
|
|
4784
4791
|
if (!config2.styleOverrides && !config2.variants) {
|
|
4785
|
-
return resolveProps
|
|
4792
|
+
return resolveProps(config2, props, theme.components.mergeClassNameAndStyle);
|
|
4786
4793
|
}
|
|
4787
4794
|
return props;
|
|
4788
4795
|
}
|
|
@@ -4799,32 +4806,32 @@ function useDefaultProps$1({
|
|
|
4799
4806
|
}
|
|
4800
4807
|
});
|
|
4801
4808
|
}
|
|
4802
|
-
let globalId
|
|
4803
|
-
function useGlobalId
|
|
4809
|
+
let globalId = 0;
|
|
4810
|
+
function useGlobalId(idOverride) {
|
|
4804
4811
|
const [defaultId, setDefaultId] = React.useState(idOverride);
|
|
4805
4812
|
const id = idOverride || defaultId;
|
|
4806
4813
|
React.useEffect(() => {
|
|
4807
4814
|
if (defaultId == null) {
|
|
4808
|
-
globalId
|
|
4809
|
-
setDefaultId(`mui-${globalId
|
|
4815
|
+
globalId += 1;
|
|
4816
|
+
setDefaultId(`mui-${globalId}`);
|
|
4810
4817
|
}
|
|
4811
4818
|
}, [defaultId]);
|
|
4812
4819
|
return id;
|
|
4813
4820
|
}
|
|
4814
|
-
const safeReact
|
|
4821
|
+
const safeReact = {
|
|
4815
4822
|
...React
|
|
4816
4823
|
};
|
|
4817
|
-
const maybeReactUseId
|
|
4818
|
-
function useId
|
|
4819
|
-
if (maybeReactUseId
|
|
4820
|
-
const reactId = maybeReactUseId
|
|
4821
|
-
return reactId;
|
|
4824
|
+
const maybeReactUseId = safeReact.useId;
|
|
4825
|
+
function useId(idOverride) {
|
|
4826
|
+
if (maybeReactUseId !== void 0) {
|
|
4827
|
+
const reactId = maybeReactUseId();
|
|
4828
|
+
return idOverride ?? reactId;
|
|
4822
4829
|
}
|
|
4823
|
-
return useGlobalId
|
|
4830
|
+
return useGlobalId(idOverride);
|
|
4824
4831
|
}
|
|
4825
4832
|
function useLayerOrder(theme) {
|
|
4826
4833
|
const upperTheme = useTheme$3();
|
|
4827
|
-
const id = useId
|
|
4834
|
+
const id = useId() || "";
|
|
4828
4835
|
const {
|
|
4829
4836
|
modularCssLayers
|
|
4830
4837
|
} = theme;
|
|
@@ -4836,7 +4843,7 @@ function useLayerOrder(theme) {
|
|
|
4836
4843
|
} else {
|
|
4837
4844
|
layerOrder = `@layer ${layerOrder};`;
|
|
4838
4845
|
}
|
|
4839
|
-
useEnhancedEffect
|
|
4846
|
+
useEnhancedEffect(() => {
|
|
4840
4847
|
const head = document.querySelector("head");
|
|
4841
4848
|
if (!head) {
|
|
4842
4849
|
return;
|
|
@@ -4935,7 +4942,7 @@ process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = {
|
|
|
4935
4942
|
themeId: PropTypes.string
|
|
4936
4943
|
} : void 0;
|
|
4937
4944
|
if (process.env.NODE_ENV !== "production") {
|
|
4938
|
-
process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = exactProp
|
|
4945
|
+
process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = exactProp(ThemeProvider$1.propTypes) : void 0;
|
|
4939
4946
|
}
|
|
4940
4947
|
const arg = {
|
|
4941
4948
|
theme: void 0
|
|
@@ -4990,7 +4997,7 @@ function InitColorSchemeScript(options) {
|
|
|
4990
4997
|
}
|
|
4991
4998
|
setter += `
|
|
4992
4999
|
${colorSchemeNode}.setAttribute('${attr}'.replace('%s', colorScheme), ${value ? `${value}.replace('%s', colorScheme)` : '""'});`;
|
|
4993
|
-
} else
|
|
5000
|
+
} else {
|
|
4994
5001
|
setter += `${colorSchemeNode}.setAttribute('${attribute}', colorScheme);`;
|
|
4995
5002
|
}
|
|
4996
5003
|
return /* @__PURE__ */ jsx("script", {
|
|
@@ -5426,7 +5433,7 @@ function createCssVarsProvider(options) {
|
|
|
5426
5433
|
return resolveTheme ? resolveTheme(theme) : theme;
|
|
5427
5434
|
}, [restThemeProp, calculatedColorScheme, components, colorSchemes, cssVarPrefix]);
|
|
5428
5435
|
const colorSchemeSelector = restThemeProp.colorSchemeSelector;
|
|
5429
|
-
useEnhancedEffect
|
|
5436
|
+
useEnhancedEffect(() => {
|
|
5430
5437
|
if (colorScheme && colorSchemeNode && colorSchemeSelector && colorSchemeSelector !== "media") {
|
|
5431
5438
|
const selector = colorSchemeSelector;
|
|
5432
5439
|
let rule = colorSchemeSelector;
|
|
@@ -5718,7 +5725,7 @@ function prepareCssVars(theme, parserConfig = {}) {
|
|
|
5718
5725
|
css: css3,
|
|
5719
5726
|
varsWithDefaults
|
|
5720
5727
|
} = cssVarsParser(scheme, parserConfig);
|
|
5721
|
-
themeVars = deepmerge
|
|
5728
|
+
themeVars = deepmerge(themeVars, varsWithDefaults);
|
|
5722
5729
|
colorSchemesMap[key] = {
|
|
5723
5730
|
css: css3,
|
|
5724
5731
|
vars
|
|
@@ -5730,7 +5737,7 @@ function prepareCssVars(theme, parserConfig = {}) {
|
|
|
5730
5737
|
vars,
|
|
5731
5738
|
varsWithDefaults
|
|
5732
5739
|
} = cssVarsParser(defaultScheme, parserConfig);
|
|
5733
|
-
themeVars = deepmerge
|
|
5740
|
+
themeVars = deepmerge(themeVars, varsWithDefaults);
|
|
5734
5741
|
colorSchemesMap[defaultColorScheme] = {
|
|
5735
5742
|
css: css3,
|
|
5736
5743
|
vars
|
|
@@ -5775,7 +5782,7 @@ function prepareCssVars(theme, parserConfig = {}) {
|
|
|
5775
5782
|
Object.entries(colorSchemesMap).forEach(([, {
|
|
5776
5783
|
vars: schemeVars
|
|
5777
5784
|
}]) => {
|
|
5778
|
-
vars = deepmerge
|
|
5785
|
+
vars = deepmerge(vars, schemeVars);
|
|
5779
5786
|
});
|
|
5780
5787
|
return vars;
|
|
5781
5788
|
};
|
|
@@ -5871,26 +5878,6 @@ function createGetColorSchemeSelector(selector) {
|
|
|
5871
5878
|
return "&";
|
|
5872
5879
|
};
|
|
5873
5880
|
}
|
|
5874
|
-
function composeClasses(slots, getUtilityClass, classes = void 0) {
|
|
5875
|
-
const output = {};
|
|
5876
|
-
for (const slotName in slots) {
|
|
5877
|
-
const slot = slots[slotName];
|
|
5878
|
-
let buffer = "";
|
|
5879
|
-
let start2 = true;
|
|
5880
|
-
for (let i = 0; i < slot.length; i += 1) {
|
|
5881
|
-
const value = slot[i];
|
|
5882
|
-
if (value) {
|
|
5883
|
-
buffer += (start2 === true ? "" : " ") + getUtilityClass(value);
|
|
5884
|
-
start2 = false;
|
|
5885
|
-
if (classes && classes[value]) {
|
|
5886
|
-
buffer += " " + classes[value];
|
|
5887
|
-
}
|
|
5888
|
-
}
|
|
5889
|
-
}
|
|
5890
|
-
output[slotName] = buffer;
|
|
5891
|
-
}
|
|
5892
|
-
return output;
|
|
5893
|
-
}
|
|
5894
5881
|
const defaultTheme$4 = createTheme$1();
|
|
5895
5882
|
const defaultCreateStyledComponent$2 = styled$1("div", {
|
|
5896
5883
|
name: "MuiContainer",
|
|
@@ -5899,7 +5886,7 @@ const defaultCreateStyledComponent$2 = styled$1("div", {
|
|
|
5899
5886
|
const {
|
|
5900
5887
|
ownerState
|
|
5901
5888
|
} = props;
|
|
5902
|
-
return [styles2.root, styles2[`maxWidth${capitalize
|
|
5889
|
+
return [styles2.root, styles2[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
|
|
5903
5890
|
}
|
|
5904
5891
|
});
|
|
5905
5892
|
const useThemePropsDefault$2 = (inProps) => useThemeProps$3({
|
|
@@ -5909,7 +5896,7 @@ const useThemePropsDefault$2 = (inProps) => useThemeProps$3({
|
|
|
5909
5896
|
});
|
|
5910
5897
|
const useUtilityClasses$1X = (ownerState, componentName) => {
|
|
5911
5898
|
const getContainerUtilityClass2 = (slot) => {
|
|
5912
|
-
return generateUtilityClass
|
|
5899
|
+
return generateUtilityClass(componentName, slot);
|
|
5913
5900
|
};
|
|
5914
5901
|
const {
|
|
5915
5902
|
classes,
|
|
@@ -5918,7 +5905,7 @@ const useUtilityClasses$1X = (ownerState, componentName) => {
|
|
|
5918
5905
|
maxWidth: maxWidth2
|
|
5919
5906
|
} = ownerState;
|
|
5920
5907
|
const slots = {
|
|
5921
|
-
root: ["root", maxWidth2 && `maxWidth${capitalize
|
|
5908
|
+
root: ["root", maxWidth2 && `maxWidth${capitalize(String(maxWidth2))}`, fixed && "fixed", disableGutters && "disableGutters"]
|
|
5922
5909
|
};
|
|
5923
5910
|
return composeClasses(slots, getContainerUtilityClass2, classes);
|
|
5924
5911
|
};
|
|
@@ -6021,7 +6008,7 @@ function createContainer(options = {}) {
|
|
|
6021
6008
|
} : void 0;
|
|
6022
6009
|
return Container2;
|
|
6023
6010
|
}
|
|
6024
|
-
function isMuiElement
|
|
6011
|
+
function isMuiElement(element, muiNames) {
|
|
6025
6012
|
return /* @__PURE__ */ React.isValidElement(element) && muiNames.indexOf(
|
|
6026
6013
|
// For server components `muiName` is available in element.type._payload.value.muiName
|
|
6027
6014
|
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
@@ -6322,7 +6309,7 @@ function createGrid(options = {}) {
|
|
|
6322
6309
|
const slots = {
|
|
6323
6310
|
root: ["root", container && "container", wrap !== "wrap" && `wrap-xs-${String(wrap)}`, ...generateDirectionClasses(direction), ...generateSizeClassNames(size), ...container ? generateSpacingClassNames(spacing, theme.breakpoints.keys[0]) : []]
|
|
6324
6311
|
};
|
|
6325
|
-
return composeClasses(slots, (slot) => generateUtilityClass
|
|
6312
|
+
return composeClasses(slots, (slot) => generateUtilityClass(componentName, slot), {});
|
|
6326
6313
|
};
|
|
6327
6314
|
function parseResponsiveProp(propValue, breakpoints, shouldUseValue = () => true) {
|
|
6328
6315
|
const parsedProp = {};
|
|
@@ -6396,7 +6383,7 @@ function createGrid(options = {}) {
|
|
|
6396
6383
|
className: clsx(classes.root, className),
|
|
6397
6384
|
...other,
|
|
6398
6385
|
children: React.Children.map(children, (child) => {
|
|
6399
|
-
if (/* @__PURE__ */ React.isValidElement(child) && isMuiElement
|
|
6386
|
+
if (/* @__PURE__ */ React.isValidElement(child) && isMuiElement(child, ["Grid"]) && container && child.props.container) {
|
|
6400
6387
|
return /* @__PURE__ */ React.cloneElement(child, {
|
|
6401
6388
|
unstable_level: child.props?.unstable_level ?? level + 1
|
|
6402
6389
|
});
|
|
@@ -6513,7 +6500,7 @@ const style = ({
|
|
|
6513
6500
|
}
|
|
6514
6501
|
};
|
|
6515
6502
|
};
|
|
6516
|
-
styles2 = deepmerge
|
|
6503
|
+
styles2 = deepmerge(styles2, handleBreakpoints({
|
|
6517
6504
|
theme
|
|
6518
6505
|
}, spacingValues, styleFromPropValue));
|
|
6519
6506
|
}
|
|
@@ -6531,7 +6518,7 @@ function createStack(options = {}) {
|
|
|
6531
6518
|
const slots = {
|
|
6532
6519
|
root: ["root"]
|
|
6533
6520
|
};
|
|
6534
|
-
return composeClasses(slots, (slot) => generateUtilityClass
|
|
6521
|
+
return composeClasses(slots, (slot) => generateUtilityClass(componentName, slot), {});
|
|
6535
6522
|
};
|
|
6536
6523
|
const StackRoot = createStyledComponent(style);
|
|
6537
6524
|
const Stack2 = /* @__PURE__ */ React.forwardRef(function Grid2(inProps, ref) {
|
|
@@ -6571,50 +6558,6 @@ function createStack(options = {}) {
|
|
|
6571
6558
|
} : void 0;
|
|
6572
6559
|
return Stack2;
|
|
6573
6560
|
}
|
|
6574
|
-
function formatMuiErrorMessage(code, ...args) {
|
|
6575
|
-
const url = new URL(`https://mui.com/production-error/?code=${code}`);
|
|
6576
|
-
args.forEach((arg2) => url.searchParams.append("args[]", arg2));
|
|
6577
|
-
return `Minified MUI error #${code}; visit ${url} for the full message.`;
|
|
6578
|
-
}
|
|
6579
|
-
function isPlainObject(item) {
|
|
6580
|
-
if (typeof item !== "object" || item === null) {
|
|
6581
|
-
return false;
|
|
6582
|
-
}
|
|
6583
|
-
const prototype = Object.getPrototypeOf(item);
|
|
6584
|
-
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
|
|
6585
|
-
}
|
|
6586
|
-
function deepClone(source) {
|
|
6587
|
-
if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
|
|
6588
|
-
return source;
|
|
6589
|
-
}
|
|
6590
|
-
const output = {};
|
|
6591
|
-
Object.keys(source).forEach((key) => {
|
|
6592
|
-
output[key] = deepClone(source[key]);
|
|
6593
|
-
});
|
|
6594
|
-
return output;
|
|
6595
|
-
}
|
|
6596
|
-
function deepmerge(target, source, options = {
|
|
6597
|
-
clone: true
|
|
6598
|
-
}) {
|
|
6599
|
-
const output = options.clone ? {
|
|
6600
|
-
...target
|
|
6601
|
-
} : target;
|
|
6602
|
-
if (isPlainObject(target) && isPlainObject(source)) {
|
|
6603
|
-
Object.keys(source).forEach((key) => {
|
|
6604
|
-
if (/* @__PURE__ */ React.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
|
|
6605
|
-
output[key] = source[key];
|
|
6606
|
-
} else if (isPlainObject(source[key]) && // Avoid prototype pollution
|
|
6607
|
-
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
|
|
6608
|
-
output[key] = deepmerge(target[key], source[key], options);
|
|
6609
|
-
} else if (options.clone) {
|
|
6610
|
-
output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
|
|
6611
|
-
} else {
|
|
6612
|
-
output[key] = source[key];
|
|
6613
|
-
}
|
|
6614
|
-
});
|
|
6615
|
-
}
|
|
6616
|
-
return output;
|
|
6617
|
-
}
|
|
6618
6561
|
const common = {
|
|
6619
6562
|
black: "#000",
|
|
6620
6563
|
white: "#fff"
|
|
@@ -7068,40 +7011,6 @@ function prepareTypographyVars(typography) {
|
|
|
7068
7011
|
});
|
|
7069
7012
|
return vars;
|
|
7070
7013
|
}
|
|
7071
|
-
const defaultGenerator = (componentName) => componentName;
|
|
7072
|
-
const createClassNameGenerator = () => {
|
|
7073
|
-
let generate = defaultGenerator;
|
|
7074
|
-
return {
|
|
7075
|
-
configure(generator) {
|
|
7076
|
-
generate = generator;
|
|
7077
|
-
},
|
|
7078
|
-
generate(componentName) {
|
|
7079
|
-
return generate(componentName);
|
|
7080
|
-
},
|
|
7081
|
-
reset() {
|
|
7082
|
-
generate = defaultGenerator;
|
|
7083
|
-
}
|
|
7084
|
-
};
|
|
7085
|
-
};
|
|
7086
|
-
const ClassNameGenerator = createClassNameGenerator();
|
|
7087
|
-
const globalStateClasses = {
|
|
7088
|
-
active: "active",
|
|
7089
|
-
checked: "checked",
|
|
7090
|
-
completed: "completed",
|
|
7091
|
-
disabled: "disabled",
|
|
7092
|
-
error: "error",
|
|
7093
|
-
expanded: "expanded",
|
|
7094
|
-
focused: "focused",
|
|
7095
|
-
focusVisible: "focusVisible",
|
|
7096
|
-
open: "open",
|
|
7097
|
-
readOnly: "readOnly",
|
|
7098
|
-
required: "required",
|
|
7099
|
-
selected: "selected"
|
|
7100
|
-
};
|
|
7101
|
-
function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
|
|
7102
|
-
const globalStateClass = globalStateClasses[slot];
|
|
7103
|
-
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
|
|
7104
|
-
}
|
|
7105
7014
|
function createMixins(breakpoints, mixins) {
|
|
7106
7015
|
return {
|
|
7107
7016
|
toolbar: {
|
|
@@ -8149,12 +8058,6 @@ function animate(property, element, to, options = {}, cb = () => {
|
|
|
8149
8058
|
requestAnimationFrame(step);
|
|
8150
8059
|
return cancel;
|
|
8151
8060
|
}
|
|
8152
|
-
function capitalize(string) {
|
|
8153
|
-
if (typeof string !== "string") {
|
|
8154
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage(7));
|
|
8155
|
-
}
|
|
8156
|
-
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
8157
|
-
}
|
|
8158
8061
|
function createChainedFunction(...funcs) {
|
|
8159
8062
|
return funcs.reduce((acc, func) => {
|
|
8160
8063
|
if (func == null) {
|
|
@@ -8167,13 +8070,6 @@ function createChainedFunction(...funcs) {
|
|
|
8167
8070
|
}, () => {
|
|
8168
8071
|
});
|
|
8169
8072
|
}
|
|
8170
|
-
function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
|
|
8171
|
-
const result = {};
|
|
8172
|
-
slots.forEach((slot) => {
|
|
8173
|
-
result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
|
|
8174
|
-
});
|
|
8175
|
-
return result;
|
|
8176
|
-
}
|
|
8177
8073
|
function getSvgIconUtilityClass(slot) {
|
|
8178
8074
|
return generateUtilityClass("MuiSvgIcon", slot);
|
|
8179
8075
|
}
|
|
@@ -8187,7 +8083,7 @@ const useUtilityClasses$1W = (ownerState) => {
|
|
|
8187
8083
|
const slots = {
|
|
8188
8084
|
root: ["root", color2 !== "inherit" && `color${capitalize(color2)}`, `fontSize${capitalize(fontSize)}`]
|
|
8189
8085
|
};
|
|
8190
|
-
return composeClasses
|
|
8086
|
+
return composeClasses(slots, getSvgIconUtilityClass, classes);
|
|
8191
8087
|
};
|
|
8192
8088
|
const SvgIconRoot = styled("svg", {
|
|
8193
8089
|
name: "MuiSvgIcon",
|
|
@@ -8423,14 +8319,6 @@ function createSvgIcon(path, displayName) {
|
|
|
8423
8319
|
Component.muiName = SvgIcon.muiName;
|
|
8424
8320
|
return /* @__PURE__ */ React.memo(/* @__PURE__ */ React.forwardRef(Component));
|
|
8425
8321
|
}
|
|
8426
|
-
function isMuiElement(element, muiNames) {
|
|
8427
|
-
return /* @__PURE__ */ React.isValidElement(element) && muiNames.indexOf(
|
|
8428
|
-
// For server components `muiName` is available in element.type._payload.value.muiName
|
|
8429
|
-
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
8430
|
-
// eslint-disable-next-line no-underscore-dangle
|
|
8431
|
-
element.type.muiName ?? element.type?._payload?.value?.muiName
|
|
8432
|
-
) !== -1;
|
|
8433
|
-
}
|
|
8434
8322
|
function ownerDocument(node2) {
|
|
8435
8323
|
return node2 && node2.ownerDocument || document;
|
|
8436
8324
|
}
|
|
@@ -8468,30 +8356,6 @@ function setRef(ref, value) {
|
|
|
8468
8356
|
ref.current = value;
|
|
8469
8357
|
}
|
|
8470
8358
|
}
|
|
8471
|
-
const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
8472
|
-
let globalId = 0;
|
|
8473
|
-
function useGlobalId(idOverride) {
|
|
8474
|
-
const [defaultId, setDefaultId] = React.useState(idOverride);
|
|
8475
|
-
const id = idOverride || defaultId;
|
|
8476
|
-
React.useEffect(() => {
|
|
8477
|
-
if (defaultId == null) {
|
|
8478
|
-
globalId += 1;
|
|
8479
|
-
setDefaultId(`mui-${globalId}`);
|
|
8480
|
-
}
|
|
8481
|
-
}, [defaultId]);
|
|
8482
|
-
return id;
|
|
8483
|
-
}
|
|
8484
|
-
const safeReact = {
|
|
8485
|
-
...React
|
|
8486
|
-
};
|
|
8487
|
-
const maybeReactUseId = safeReact.useId;
|
|
8488
|
-
function useId(idOverride) {
|
|
8489
|
-
if (maybeReactUseId !== void 0) {
|
|
8490
|
-
const reactId = maybeReactUseId();
|
|
8491
|
-
return idOverride ?? reactId;
|
|
8492
|
-
}
|
|
8493
|
-
return useGlobalId(idOverride);
|
|
8494
|
-
}
|
|
8495
8359
|
function unsupportedProp(props, propName, componentName, location, propFullName) {
|
|
8496
8360
|
if (process.env.NODE_ENV === "production") {
|
|
8497
8361
|
return null;
|
|
@@ -10175,7 +10039,7 @@ const useUtilityClasses$1V = (ownerState) => {
|
|
|
10175
10039
|
const slots = {
|
|
10176
10040
|
root: ["root", disabled && "disabled", focusVisible && "focusVisible"]
|
|
10177
10041
|
};
|
|
10178
|
-
const composedClasses = composeClasses
|
|
10042
|
+
const composedClasses = composeClasses(slots, getButtonBaseUtilityClass, classes);
|
|
10179
10043
|
if (focusVisible && focusVisibleClassName) {
|
|
10180
10044
|
composedClasses.root += ` ${focusVisibleClassName}`;
|
|
10181
10045
|
}
|
|
@@ -10593,7 +10457,7 @@ const useUtilityClasses$1U = (ownerState) => {
|
|
|
10593
10457
|
const slots = {
|
|
10594
10458
|
root: ["root", orientation, disabled && "disabled"]
|
|
10595
10459
|
};
|
|
10596
|
-
return composeClasses
|
|
10460
|
+
return composeClasses(slots, getTabScrollButtonUtilityClass, classes);
|
|
10597
10461
|
};
|
|
10598
10462
|
const TabScrollButtonRoot = styled(ButtonBase, {
|
|
10599
10463
|
name: "MuiTabScrollButton",
|
|
@@ -10850,7 +10714,7 @@ const useUtilityClasses$1T = (ownerState) => {
|
|
|
10850
10714
|
scrollableX: [scrollableX && "scrollableX"],
|
|
10851
10715
|
hideScrollbar: [hideScrollbar && "hideScrollbar"]
|
|
10852
10716
|
};
|
|
10853
|
-
return composeClasses
|
|
10717
|
+
return composeClasses(slots, getTabsUtilityClass, classes);
|
|
10854
10718
|
};
|
|
10855
10719
|
const TabsRoot = styled("div", {
|
|
10856
10720
|
name: "MuiTabs",
|
|
@@ -12135,7 +11999,7 @@ const useUtilityClasses$1S = (ownerState) => {
|
|
|
12135
11999
|
const slots = {
|
|
12136
12000
|
root: ["root", hidden && "hidden"]
|
|
12137
12001
|
};
|
|
12138
|
-
return composeClasses
|
|
12002
|
+
return composeClasses(slots, getTabPanelUtilityClass, classes);
|
|
12139
12003
|
};
|
|
12140
12004
|
const TabPanelRoot = styled("div", {
|
|
12141
12005
|
name: "MuiTabPanel",
|
|
@@ -12240,7 +12104,7 @@ const useUtilityClasses$1R = (ownerState) => {
|
|
|
12240
12104
|
wrapper: ["wrapper", `${orientation}`],
|
|
12241
12105
|
wrapperInner: ["wrapperInner", `${orientation}`]
|
|
12242
12106
|
};
|
|
12243
|
-
return composeClasses
|
|
12107
|
+
return composeClasses(slots, getCollapseUtilityClass, classes);
|
|
12244
12108
|
};
|
|
12245
12109
|
const CollapseRoot = styled("div", {
|
|
12246
12110
|
name: "MuiCollapse",
|
|
@@ -12706,7 +12570,7 @@ const useUtilityClasses$1Q = (ownerState) => {
|
|
|
12706
12570
|
const slots = {
|
|
12707
12571
|
root: ["root", variant, !square && "rounded", variant === "elevation" && `elevation${elevation}`]
|
|
12708
12572
|
};
|
|
12709
|
-
return composeClasses
|
|
12573
|
+
return composeClasses(slots, getPaperUtilityClass, classes);
|
|
12710
12574
|
};
|
|
12711
12575
|
const PaperRoot = styled("div", {
|
|
12712
12576
|
name: "MuiPaper",
|
|
@@ -12871,7 +12735,7 @@ const useUtilityClasses$1P = (ownerState) => {
|
|
|
12871
12735
|
heading: ["heading"],
|
|
12872
12736
|
region: ["region"]
|
|
12873
12737
|
};
|
|
12874
|
-
return composeClasses
|
|
12738
|
+
return composeClasses(slots, getAccordionUtilityClass, classes);
|
|
12875
12739
|
};
|
|
12876
12740
|
const AccordionRoot = styled(Paper, {
|
|
12877
12741
|
name: "MuiAccordion",
|
|
@@ -13192,7 +13056,7 @@ const useUtilityClasses$1O = (ownerState) => {
|
|
|
13192
13056
|
const slots = {
|
|
13193
13057
|
root: ["root", !disableSpacing && "spacing"]
|
|
13194
13058
|
};
|
|
13195
|
-
return composeClasses
|
|
13059
|
+
return composeClasses(slots, getAccordionActionsUtilityClass, classes);
|
|
13196
13060
|
};
|
|
13197
13061
|
const AccordionActionsRoot = styled("div", {
|
|
13198
13062
|
name: "MuiAccordionActions",
|
|
@@ -13277,7 +13141,7 @@ const useUtilityClasses$1N = (ownerState) => {
|
|
|
13277
13141
|
const slots = {
|
|
13278
13142
|
root: ["root"]
|
|
13279
13143
|
};
|
|
13280
|
-
return composeClasses
|
|
13144
|
+
return composeClasses(slots, getAccordionDetailsUtilityClass, classes);
|
|
13281
13145
|
};
|
|
13282
13146
|
const AccordionDetailsRoot = styled("div", {
|
|
13283
13147
|
name: "MuiAccordionDetails",
|
|
@@ -13344,7 +13208,7 @@ const useUtilityClasses$1M = (ownerState) => {
|
|
|
13344
13208
|
content: ["content", expanded && "expanded", !disableGutters && "contentGutters"],
|
|
13345
13209
|
expandIconWrapper: ["expandIconWrapper", expanded && "expanded"]
|
|
13346
13210
|
};
|
|
13347
|
-
return composeClasses
|
|
13211
|
+
return composeClasses(slots, getAccordionSummaryUtilityClass, classes);
|
|
13348
13212
|
};
|
|
13349
13213
|
const AccordionSummaryRoot = styled(ButtonBase, {
|
|
13350
13214
|
name: "MuiAccordionSummary",
|
|
@@ -13608,7 +13472,7 @@ const useUtilityClasses$1L = (ownerState) => {
|
|
|
13608
13472
|
const slots = {
|
|
13609
13473
|
root: ["root", variant, ownerState.align !== "inherit" && `align${capitalize(align)}`, gutterBottom && "gutterBottom", noWrap && "noWrap", paragraph && "paragraph"]
|
|
13610
13474
|
};
|
|
13611
|
-
return composeClasses
|
|
13475
|
+
return composeClasses(slots, getTypographyUtilityClass, classes);
|
|
13612
13476
|
};
|
|
13613
13477
|
const TypographyRoot = styled("span", {
|
|
13614
13478
|
name: "MuiTypography",
|
|
@@ -13848,7 +13712,7 @@ const useUtilityClasses$1K = (ownerState) => {
|
|
|
13848
13712
|
const slots = {
|
|
13849
13713
|
root: ["root"]
|
|
13850
13714
|
};
|
|
13851
|
-
return composeClasses
|
|
13715
|
+
return composeClasses(slots, getAlertTitleUtilityClass, classes);
|
|
13852
13716
|
};
|
|
13853
13717
|
const AlertTitleRoot = styled(Typography, {
|
|
13854
13718
|
name: "MuiAlertTitle",
|
|
@@ -13916,7 +13780,7 @@ const useUtilityClasses$1J = (ownerState) => {
|
|
|
13916
13780
|
const slots = {
|
|
13917
13781
|
root: ["root", `color${capitalize(color2)}`, `position${capitalize(position2)}`]
|
|
13918
13782
|
};
|
|
13919
|
-
return composeClasses
|
|
13783
|
+
return composeClasses(slots, getAppBarUtilityClass, classes);
|
|
13920
13784
|
};
|
|
13921
13785
|
const joinVars = (var1, var2) => var1 ? `${var1?.replace(")", "")}, ${var2})` : var2;
|
|
13922
13786
|
const AppBarRoot = styled(Paper, {
|
|
@@ -16441,22 +16305,6 @@ function getReactElementRef(element) {
|
|
|
16441
16305
|
}
|
|
16442
16306
|
return element?.ref || null;
|
|
16443
16307
|
}
|
|
16444
|
-
const specialProperty = "exact-prop: ";
|
|
16445
|
-
function exactProp(propTypes2) {
|
|
16446
|
-
if (process.env.NODE_ENV === "production") {
|
|
16447
|
-
return propTypes2;
|
|
16448
|
-
}
|
|
16449
|
-
return {
|
|
16450
|
-
...propTypes2,
|
|
16451
|
-
[specialProperty]: (props) => {
|
|
16452
|
-
const unsupportedProps = Object.keys(props).filter((prop) => !propTypes2.hasOwnProperty(prop));
|
|
16453
|
-
if (unsupportedProps.length > 0) {
|
|
16454
|
-
return new Error(`The following props are not supported: ${unsupportedProps.map((prop) => `\`${prop}\``).join(", ")}. Please remove them.`);
|
|
16455
|
-
}
|
|
16456
|
-
return null;
|
|
16457
|
-
}
|
|
16458
|
-
};
|
|
16459
|
-
}
|
|
16460
16308
|
function getContainer$1(container) {
|
|
16461
16309
|
return typeof container === "function" ? container() : container;
|
|
16462
16310
|
}
|
|
@@ -16559,7 +16407,7 @@ const useUtilityClasses$1I = (ownerState) => {
|
|
|
16559
16407
|
const slots = {
|
|
16560
16408
|
root: ["root"]
|
|
16561
16409
|
};
|
|
16562
|
-
return composeClasses
|
|
16410
|
+
return composeClasses(slots, getPopperUtilityClass, classes);
|
|
16563
16411
|
};
|
|
16564
16412
|
const defaultPopperOptions = {};
|
|
16565
16413
|
const PopperTooltip = /* @__PURE__ */ React.forwardRef(function PopperTooltip2(props, forwardedRef) {
|
|
@@ -17071,7 +16919,7 @@ const useUtilityClasses$1H = (ownerState) => {
|
|
|
17071
16919
|
const slots = {
|
|
17072
16920
|
root: ["root", color2 !== "default" && `color${capitalize(color2)}`, !disableGutters && "gutters", inset && "inset", !disableSticky && "sticky"]
|
|
17073
16921
|
};
|
|
17074
|
-
return composeClasses
|
|
16922
|
+
return composeClasses(slots, getListSubheaderUtilityClass, classes);
|
|
17075
16923
|
};
|
|
17076
16924
|
const ListSubheaderRoot = styled("li", {
|
|
17077
16925
|
name: "MuiListSubheader",
|
|
@@ -17263,7 +17111,7 @@ const useUtilityClasses$1G = (ownerState) => {
|
|
|
17263
17111
|
track: ["track"],
|
|
17264
17112
|
circle: ["circle", `circle${capitalize(variant)}`, disableShrink && "circleDisableShrink"]
|
|
17265
17113
|
};
|
|
17266
|
-
return composeClasses
|
|
17114
|
+
return composeClasses(slots, getCircularProgressUtilityClass, classes);
|
|
17267
17115
|
};
|
|
17268
17116
|
const CircularProgressRoot = styled("span", {
|
|
17269
17117
|
name: "MuiCircularProgress",
|
|
@@ -17522,7 +17370,7 @@ const useUtilityClasses$1F = (ownerState) => {
|
|
|
17522
17370
|
loadingIndicator: ["loadingIndicator"],
|
|
17523
17371
|
loadingWrapper: ["loadingWrapper"]
|
|
17524
17372
|
};
|
|
17525
|
-
return composeClasses
|
|
17373
|
+
return composeClasses(slots, getIconButtonUtilityClass, classes);
|
|
17526
17374
|
};
|
|
17527
17375
|
const IconButtonRoot = styled(ButtonBase, {
|
|
17528
17376
|
name: "MuiIconButton",
|
|
@@ -17826,7 +17674,7 @@ const useUtilityClasses$1E = (ownerState) => {
|
|
|
17826
17674
|
icon: ["icon", `icon${capitalize(size)}`, `iconColor${capitalize(iconColor)}`],
|
|
17827
17675
|
deleteIcon: ["deleteIcon", `deleteIcon${capitalize(size)}`, `deleteIconColor${capitalize(color2)}`, `deleteIcon${capitalize(variant)}Color${capitalize(color2)}`]
|
|
17828
17676
|
};
|
|
17829
|
-
return composeClasses
|
|
17677
|
+
return composeClasses(slots, getChipUtilityClass, classes);
|
|
17830
17678
|
};
|
|
17831
17679
|
const ChipRoot = styled("div", {
|
|
17832
17680
|
name: "MuiChip",
|
|
@@ -18688,7 +18536,7 @@ const useUtilityClasses$1D = (ownerState) => {
|
|
|
18688
18536
|
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"],
|
|
18689
18537
|
input: ["input", disabled && "disabled", type === "search" && "inputTypeSearch", multiline && "inputMultiline", size === "small" && "inputSizeSmall", hiddenLabel && "inputHiddenLabel", startAdornment && "inputAdornedStart", endAdornment && "inputAdornedEnd", readOnly && "readOnly"]
|
|
18690
18538
|
};
|
|
18691
|
-
return composeClasses
|
|
18539
|
+
return composeClasses(slots, getInputBaseUtilityClass, classes);
|
|
18692
18540
|
};
|
|
18693
18541
|
const InputBaseRoot = styled("div", {
|
|
18694
18542
|
name: "MuiInputBase",
|
|
@@ -19425,7 +19273,7 @@ const useUtilityClasses$1C = (ownerState) => {
|
|
|
19425
19273
|
groupLabel: ["groupLabel"],
|
|
19426
19274
|
groupUl: ["groupUl"]
|
|
19427
19275
|
};
|
|
19428
|
-
return composeClasses
|
|
19276
|
+
return composeClasses(slots, getAutocompleteUtilityClass, classes);
|
|
19429
19277
|
};
|
|
19430
19278
|
const AutocompleteRoot = styled("div", {
|
|
19431
19279
|
name: "MuiAutocomplete",
|
|
@@ -20578,7 +20426,7 @@ const useUtilityClasses$1B = (ownerState) => {
|
|
|
20578
20426
|
img: ["img"],
|
|
20579
20427
|
fallback: ["fallback"]
|
|
20580
20428
|
};
|
|
20581
|
-
return composeClasses
|
|
20429
|
+
return composeClasses(slots, getAvatarUtilityClass, classes);
|
|
20582
20430
|
};
|
|
20583
20431
|
const AvatarRoot = styled("div", {
|
|
20584
20432
|
name: "MuiAvatar",
|
|
@@ -21094,7 +20942,7 @@ const useUtilityClasses$1A = (ownerState) => {
|
|
|
21094
20942
|
const slots = {
|
|
21095
20943
|
root: ["root", invisible && "invisible"]
|
|
21096
20944
|
};
|
|
21097
|
-
return composeClasses
|
|
20945
|
+
return composeClasses(slots, getBackdropUtilityClass, classes);
|
|
21098
20946
|
};
|
|
21099
20947
|
const BackdropRoot = styled("div", {
|
|
21100
20948
|
name: "MuiBackdrop",
|
|
@@ -21352,7 +21200,7 @@ const useUtilityClasses$1z = (ownerState) => {
|
|
|
21352
21200
|
root: ["root"],
|
|
21353
21201
|
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)}`]
|
|
21354
21202
|
};
|
|
21355
|
-
return composeClasses
|
|
21203
|
+
return composeClasses(slots, getBadgeUtilityClass, classes);
|
|
21356
21204
|
};
|
|
21357
21205
|
const BadgeRoot = styled("span", {
|
|
21358
21206
|
name: "MuiBadge",
|
|
@@ -21873,7 +21721,7 @@ const useUtilityClasses$1y = (ownerState) => {
|
|
|
21873
21721
|
ol: ["ol"],
|
|
21874
21722
|
separator: ["separator"]
|
|
21875
21723
|
};
|
|
21876
|
-
return composeClasses
|
|
21724
|
+
return composeClasses(slots, getBreadcrumbsUtilityClass, classes);
|
|
21877
21725
|
};
|
|
21878
21726
|
const BreadcrumbsRoot = styled(Typography, {
|
|
21879
21727
|
name: "MuiBreadcrumbs",
|
|
@@ -22131,7 +21979,7 @@ const useUtilityClasses$1x = (ownerState) => {
|
|
|
22131
21979
|
lastButton: ["lastButton"],
|
|
22132
21980
|
middleButton: ["middleButton"]
|
|
22133
21981
|
};
|
|
22134
|
-
return composeClasses
|
|
21982
|
+
return composeClasses(slots, getButtonGroupUtilityClass, classes);
|
|
22135
21983
|
};
|
|
22136
21984
|
const ButtonGroupRoot = styled("div", {
|
|
22137
21985
|
name: "MuiButtonGroup",
|
|
@@ -22475,7 +22323,7 @@ const useUtilityClasses$1w = (ownerState) => {
|
|
|
22475
22323
|
const slots = {
|
|
22476
22324
|
root: ["root"]
|
|
22477
22325
|
};
|
|
22478
|
-
return composeClasses
|
|
22326
|
+
return composeClasses(slots, getCardUtilityClass, classes);
|
|
22479
22327
|
};
|
|
22480
22328
|
const CardRoot = styled(Paper, {
|
|
22481
22329
|
name: "MuiCard",
|
|
@@ -22550,7 +22398,7 @@ const useUtilityClasses$1v = (ownerState) => {
|
|
|
22550
22398
|
root: ["root"],
|
|
22551
22399
|
focusHighlight: ["focusHighlight"]
|
|
22552
22400
|
};
|
|
22553
|
-
return composeClasses
|
|
22401
|
+
return composeClasses(slots, getCardActionAreaUtilityClass, classes);
|
|
22554
22402
|
};
|
|
22555
22403
|
const CardActionAreaRoot = styled(ButtonBase, {
|
|
22556
22404
|
name: "MuiCardActionArea",
|
|
@@ -22694,7 +22542,7 @@ const useUtilityClasses$1u = (ownerState) => {
|
|
|
22694
22542
|
const slots = {
|
|
22695
22543
|
root: ["root", !disableSpacing && "spacing"]
|
|
22696
22544
|
};
|
|
22697
|
-
return composeClasses
|
|
22545
|
+
return composeClasses(slots, getCardActionsUtilityClass, classes);
|
|
22698
22546
|
};
|
|
22699
22547
|
const CardActionsRoot = styled("div", {
|
|
22700
22548
|
name: "MuiCardActions",
|
|
@@ -22780,7 +22628,7 @@ const useUtilityClasses$1t = (ownerState) => {
|
|
|
22780
22628
|
const slots = {
|
|
22781
22629
|
root: ["root"]
|
|
22782
22630
|
};
|
|
22783
|
-
return composeClasses
|
|
22631
|
+
return composeClasses(slots, getCardContentUtilityClass, classes);
|
|
22784
22632
|
};
|
|
22785
22633
|
const CardContentRoot = styled("div", {
|
|
22786
22634
|
name: "MuiCardContent",
|
|
@@ -22857,7 +22705,7 @@ const useUtilityClasses$1s = (ownerState) => {
|
|
|
22857
22705
|
title: ["title"],
|
|
22858
22706
|
subheader: ["subheader"]
|
|
22859
22707
|
};
|
|
22860
|
-
return composeClasses
|
|
22708
|
+
return composeClasses(slots, getCardHeaderUtilityClass, classes);
|
|
22861
22709
|
};
|
|
22862
22710
|
const CardHeaderRoot = styled("div", {
|
|
22863
22711
|
name: "MuiCardHeader",
|
|
@@ -23110,7 +22958,7 @@ const useUtilityClasses$1r = (ownerState) => {
|
|
|
23110
22958
|
const slots = {
|
|
23111
22959
|
root: ["root", isMediaComponent && "media", isImageComponent && "img"]
|
|
23112
22960
|
};
|
|
23113
|
-
return composeClasses
|
|
22961
|
+
return composeClasses(slots, getCardMediaUtilityClass, classes);
|
|
23114
22962
|
};
|
|
23115
22963
|
const CardMediaRoot = styled("div", {
|
|
23116
22964
|
name: "MuiCardMedia",
|
|
@@ -23249,7 +23097,7 @@ const useUtilityClasses$1q = (ownerState) => {
|
|
|
23249
23097
|
root: ["root", checked && "checked", disabled && "disabled", edge && `edge${capitalize(edge)}`],
|
|
23250
23098
|
input: ["input"]
|
|
23251
23099
|
};
|
|
23252
|
-
return composeClasses
|
|
23100
|
+
return composeClasses(slots, getSwitchBaseUtilityClass, classes);
|
|
23253
23101
|
};
|
|
23254
23102
|
const SwitchBaseRoot = styled(ButtonBase, {
|
|
23255
23103
|
name: "MuiSwitchBase"
|
|
@@ -23594,7 +23442,7 @@ const useUtilityClasses$1p = (ownerState) => {
|
|
|
23594
23442
|
const slots = {
|
|
23595
23443
|
root: ["root", indeterminate && "indeterminate", `color${capitalize(color2)}`, `size${capitalize(size)}`]
|
|
23596
23444
|
};
|
|
23597
|
-
const composedClasses = composeClasses
|
|
23445
|
+
const composedClasses = composeClasses(slots, getCheckboxUtilityClass, classes);
|
|
23598
23446
|
return {
|
|
23599
23447
|
...classes,
|
|
23600
23448
|
// forward the disabled and checked classes to the SwitchBase
|
|
@@ -24241,7 +24089,7 @@ const useUtilityClasses$1o = (ownerState) => {
|
|
|
24241
24089
|
const slots = {
|
|
24242
24090
|
root: ["root", !disableSpacing && "spacing"]
|
|
24243
24091
|
};
|
|
24244
|
-
return composeClasses
|
|
24092
|
+
return composeClasses(slots, getDialogActionsUtilityClass, classes);
|
|
24245
24093
|
};
|
|
24246
24094
|
const DialogActionsRoot = styled("div", {
|
|
24247
24095
|
name: "MuiDialogActions",
|
|
@@ -24334,7 +24182,7 @@ const useUtilityClasses$1n = (ownerState) => {
|
|
|
24334
24182
|
const slots = {
|
|
24335
24183
|
root: ["root", dividers && "dividers"]
|
|
24336
24184
|
};
|
|
24337
|
-
return composeClasses
|
|
24185
|
+
return composeClasses(slots, getDialogContentUtilityClass, classes);
|
|
24338
24186
|
};
|
|
24339
24187
|
const DialogContentRoot = styled("div", {
|
|
24340
24188
|
name: "MuiDialogContent",
|
|
@@ -24433,7 +24281,7 @@ const useUtilityClasses$1m = (ownerState) => {
|
|
|
24433
24281
|
const slots = {
|
|
24434
24282
|
root: ["root"]
|
|
24435
24283
|
};
|
|
24436
|
-
const composedClasses = composeClasses
|
|
24284
|
+
const composedClasses = composeClasses(slots, getDialogContentTextUtilityClass, classes);
|
|
24437
24285
|
return {
|
|
24438
24286
|
...classes,
|
|
24439
24287
|
// forward classes to the Typography
|
|
@@ -24500,7 +24348,7 @@ const useUtilityClasses$1l = (ownerState) => {
|
|
|
24500
24348
|
const slots = {
|
|
24501
24349
|
root: ["root"]
|
|
24502
24350
|
};
|
|
24503
|
-
return composeClasses
|
|
24351
|
+
return composeClasses(slots, getDialogTitleUtilityClass, classes);
|
|
24504
24352
|
};
|
|
24505
24353
|
const DialogTitleRoot = styled(Typography, {
|
|
24506
24354
|
name: "MuiDialogTitle",
|
|
@@ -24579,7 +24427,7 @@ const useUtilityClasses$1k = (ownerState) => {
|
|
|
24579
24427
|
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"],
|
|
24580
24428
|
wrapper: ["wrapper", orientation === "vertical" && "wrapperVertical"]
|
|
24581
24429
|
};
|
|
24582
|
-
return composeClasses
|
|
24430
|
+
return composeClasses(slots, getDividerUtilityClass, classes);
|
|
24583
24431
|
};
|
|
24584
24432
|
const DividerRoot = styled("div", {
|
|
24585
24433
|
name: "MuiDivider",
|
|
@@ -25490,7 +25338,7 @@ const useUtilityClasses$1j = (ownerState) => {
|
|
|
25490
25338
|
root: ["root", !open && exited && "hidden"],
|
|
25491
25339
|
backdrop: ["backdrop"]
|
|
25492
25340
|
};
|
|
25493
|
-
return composeClasses
|
|
25341
|
+
return composeClasses(slots, getModalUtilityClass, classes);
|
|
25494
25342
|
};
|
|
25495
25343
|
const ModalRoot = styled("div", {
|
|
25496
25344
|
name: "MuiModal",
|
|
@@ -26163,7 +26011,7 @@ const useUtilityClasses$1i = (ownerState) => {
|
|
|
26163
26011
|
modal: ["modal"],
|
|
26164
26012
|
paper: ["paper", `paperAnchor${capitalize(anchor)}`, variant !== "temporary" && `paperAnchorDocked${capitalize(anchor)}`]
|
|
26165
26013
|
};
|
|
26166
|
-
return composeClasses
|
|
26014
|
+
return composeClasses(slots, getDrawerUtilityClass, classes);
|
|
26167
26015
|
};
|
|
26168
26016
|
const DrawerRoot = styled(Modal, {
|
|
26169
26017
|
name: "MuiDrawer",
|
|
@@ -26565,7 +26413,7 @@ const useUtilityClasses$1h = (ownerState) => {
|
|
|
26565
26413
|
const slots = {
|
|
26566
26414
|
root: ["root", margin2 !== "none" && `margin${capitalize(margin2)}`, fullWidth && "fullWidth"]
|
|
26567
26415
|
};
|
|
26568
|
-
return composeClasses
|
|
26416
|
+
return composeClasses(slots, getFormControlUtilityClasses, classes);
|
|
26569
26417
|
};
|
|
26570
26418
|
const FormControlRoot = styled("div", {
|
|
26571
26419
|
name: "MuiFormControl",
|
|
@@ -26834,7 +26682,7 @@ const useUtilityClasses$1g = (ownerState) => {
|
|
|
26834
26682
|
label: ["label", disabled && "disabled"],
|
|
26835
26683
|
asterisk: ["asterisk", error && "error"]
|
|
26836
26684
|
};
|
|
26837
|
-
return composeClasses
|
|
26685
|
+
return composeClasses(slots, getFormControlLabelUtilityClasses, classes);
|
|
26838
26686
|
};
|
|
26839
26687
|
const FormControlLabelRoot = styled("label", {
|
|
26840
26688
|
name: "MuiFormControlLabel",
|
|
@@ -27094,7 +26942,7 @@ const useUtilityClasses$1f = (ownerState) => {
|
|
|
27094
26942
|
const slots = {
|
|
27095
26943
|
root: ["root", row && "row", error && "error"]
|
|
27096
26944
|
};
|
|
27097
|
-
return composeClasses
|
|
26945
|
+
return composeClasses(slots, getFormGroupUtilityClass, classes);
|
|
27098
26946
|
};
|
|
27099
26947
|
const FormGroupRoot = styled("div", {
|
|
27100
26948
|
name: "MuiFormGroup",
|
|
@@ -27193,7 +27041,7 @@ const useUtilityClasses$1e = (ownerState) => {
|
|
|
27193
27041
|
const slots = {
|
|
27194
27042
|
root: ["root", disabled && "disabled", error && "error", size && `size${capitalize(size)}`, contained && "contained", focused && "focused", filled && "filled", required && "required"]
|
|
27195
27043
|
};
|
|
27196
|
-
return composeClasses
|
|
27044
|
+
return composeClasses(slots, getFormHelperTextUtilityClasses, classes);
|
|
27197
27045
|
};
|
|
27198
27046
|
const FormHelperTextRoot = styled("p", {
|
|
27199
27047
|
name: "MuiFormHelperText",
|
|
@@ -27367,7 +27215,7 @@ const useUtilityClasses$1d = (ownerState) => {
|
|
|
27367
27215
|
root: ["root", `color${capitalize(color2)}`, disabled && "disabled", error && "error", filled && "filled", focused && "focused", required && "required"],
|
|
27368
27216
|
asterisk: ["asterisk", error && "error"]
|
|
27369
27217
|
};
|
|
27370
|
-
return composeClasses
|
|
27218
|
+
return composeClasses(slots, getFormLabelUtilityClasses, classes);
|
|
27371
27219
|
};
|
|
27372
27220
|
const FormLabelRoot = styled("label", {
|
|
27373
27221
|
name: "MuiFormLabel",
|
|
@@ -27902,7 +27750,7 @@ const useUtilityClasses$1c = (ownerState) => {
|
|
|
27902
27750
|
root: ["root", !disableUnderline && "underline"],
|
|
27903
27751
|
input: ["input"]
|
|
27904
27752
|
};
|
|
27905
|
-
const composedClasses = composeClasses
|
|
27753
|
+
const composedClasses = composeClasses(slots, getInputUtilityClass, classes);
|
|
27906
27754
|
return {
|
|
27907
27755
|
...classes,
|
|
27908
27756
|
// forward classes to the InputBase
|
|
@@ -28257,7 +28105,7 @@ const useUtilityClasses$1b = (ownerState) => {
|
|
|
28257
28105
|
root: ["root", formControl && "formControl", !disableAnimation && "animated", shrink && "shrink", size && size !== "medium" && `size${capitalize(size)}`, variant],
|
|
28258
28106
|
asterisk: [required && "asterisk"]
|
|
28259
28107
|
};
|
|
28260
|
-
const composedClasses = composeClasses
|
|
28108
|
+
const composedClasses = composeClasses(slots, getInputLabelUtilityClasses, classes);
|
|
28261
28109
|
return {
|
|
28262
28110
|
...classes,
|
|
28263
28111
|
// forward the focused, disabled, etc. classes to the FormLabel
|
|
@@ -28583,7 +28431,7 @@ const useUtilityClasses$1a = (ownerState) => {
|
|
|
28583
28431
|
bar1: ["bar", "bar1", `barColor${capitalize(color2)}`, (variant === "indeterminate" || variant === "query") && "bar1Indeterminate", variant === "determinate" && "bar1Determinate", variant === "buffer" && "bar1Buffer"],
|
|
28584
28432
|
bar2: ["bar", "bar2", variant !== "buffer" && `barColor${capitalize(color2)}`, variant === "buffer" && `color${capitalize(color2)}`, (variant === "indeterminate" || variant === "query") && "bar2Indeterminate", variant === "buffer" && "bar2Buffer"]
|
|
28585
28433
|
};
|
|
28586
|
-
return composeClasses
|
|
28434
|
+
return composeClasses(slots, getLinearProgressUtilityClass, classes);
|
|
28587
28435
|
};
|
|
28588
28436
|
const getColorShade = (theme, color2) => {
|
|
28589
28437
|
if (theme.vars) {
|
|
@@ -28981,7 +28829,7 @@ const useUtilityClasses$19 = (ownerState) => {
|
|
|
28981
28829
|
const slots = {
|
|
28982
28830
|
root: ["root", `underline${capitalize(underline)}`, component === "button" && "button", focusVisible && "focusVisible"]
|
|
28983
28831
|
};
|
|
28984
|
-
return composeClasses
|
|
28832
|
+
return composeClasses(slots, getLinkUtilityClass, classes);
|
|
28985
28833
|
};
|
|
28986
28834
|
const LinkRoot = styled(Typography, {
|
|
28987
28835
|
name: "MuiLink",
|
|
@@ -29251,7 +29099,7 @@ const useUtilityClasses$18 = (ownerState) => {
|
|
|
29251
29099
|
const slots = {
|
|
29252
29100
|
root: ["root", !disablePadding && "padding", dense && "dense", subheader && "subheader"]
|
|
29253
29101
|
};
|
|
29254
|
-
return composeClasses
|
|
29102
|
+
return composeClasses(slots, getListUtilityClass, classes);
|
|
29255
29103
|
};
|
|
29256
29104
|
const ListRoot = styled("ul", {
|
|
29257
29105
|
name: "MuiList",
|
|
@@ -29390,7 +29238,7 @@ const useUtilityClasses$17 = (ownerState) => {
|
|
|
29390
29238
|
const slots = {
|
|
29391
29239
|
root: ["root", dense && "dense", !disableGutters && "gutters", divider && "divider", disabled && "disabled", alignItems === "flex-start" && "alignItemsFlexStart", selected && "selected"]
|
|
29392
29240
|
};
|
|
29393
|
-
const composedClasses = composeClasses
|
|
29241
|
+
const composedClasses = composeClasses(slots, getListItemButtonUtilityClass, classes);
|
|
29394
29242
|
return {
|
|
29395
29243
|
...classes,
|
|
29396
29244
|
...composedClasses
|
|
@@ -29627,7 +29475,7 @@ const useUtilityClasses$16 = (ownerState) => {
|
|
|
29627
29475
|
const slots = {
|
|
29628
29476
|
root: ["root", disableGutters && "disableGutters"]
|
|
29629
29477
|
};
|
|
29630
|
-
return composeClasses
|
|
29478
|
+
return composeClasses(slots, getListItemSecondaryActionClassesUtilityClass, classes);
|
|
29631
29479
|
};
|
|
29632
29480
|
const ListItemSecondaryActionRoot = styled("div", {
|
|
29633
29481
|
name: "MuiListItemSecondaryAction",
|
|
@@ -29717,7 +29565,7 @@ const useUtilityClasses$15 = (ownerState) => {
|
|
|
29717
29565
|
root: ["root", dense && "dense", !disableGutters && "gutters", !disablePadding && "padding", divider && "divider", alignItems === "flex-start" && "alignItemsFlexStart", hasSecondaryAction && "secondaryAction"],
|
|
29718
29566
|
container: ["container"]
|
|
29719
29567
|
};
|
|
29720
|
-
return composeClasses
|
|
29568
|
+
return composeClasses(slots, getListItemUtilityClass, classes);
|
|
29721
29569
|
};
|
|
29722
29570
|
const ListItemRoot = styled("div", {
|
|
29723
29571
|
name: "MuiListItem",
|
|
@@ -30061,7 +29909,7 @@ const useUtilityClasses$14 = (ownerState) => {
|
|
|
30061
29909
|
const slots = {
|
|
30062
29910
|
root: ["root", alignItems === "flex-start" && "alignItemsFlexStart"]
|
|
30063
29911
|
};
|
|
30064
|
-
return composeClasses
|
|
29912
|
+
return composeClasses(slots, getListItemIconUtilityClass, classes);
|
|
30065
29913
|
};
|
|
30066
29914
|
const ListItemIconRoot = styled("div", {
|
|
30067
29915
|
name: "MuiListItemIcon",
|
|
@@ -30150,7 +29998,7 @@ const useUtilityClasses$13 = (ownerState) => {
|
|
|
30150
29998
|
primary: ["primary"],
|
|
30151
29999
|
secondary: ["secondary"]
|
|
30152
30000
|
};
|
|
30153
|
-
return composeClasses
|
|
30001
|
+
return composeClasses(slots, getListItemTextUtilityClass, classes);
|
|
30154
30002
|
};
|
|
30155
30003
|
const ListItemTextRoot = styled("div", {
|
|
30156
30004
|
name: "MuiListItemText",
|
|
@@ -30633,7 +30481,7 @@ const useUtilityClasses$12 = (ownerState) => {
|
|
|
30633
30481
|
root: ["root"],
|
|
30634
30482
|
paper: ["paper"]
|
|
30635
30483
|
};
|
|
30636
|
-
return composeClasses
|
|
30484
|
+
return composeClasses(slots, getPopoverUtilityClass, classes);
|
|
30637
30485
|
};
|
|
30638
30486
|
const PopoverRoot = styled(Modal, {
|
|
30639
30487
|
name: "MuiPopover",
|
|
@@ -31149,7 +30997,7 @@ const useUtilityClasses$11 = (ownerState) => {
|
|
|
31149
30997
|
paper: ["paper"],
|
|
31150
30998
|
list: ["list"]
|
|
31151
30999
|
};
|
|
31152
|
-
return composeClasses
|
|
31000
|
+
return composeClasses(slots, getMenuUtilityClass, classes);
|
|
31153
31001
|
};
|
|
31154
31002
|
const MenuRoot = styled(Popover, {
|
|
31155
31003
|
shouldForwardProp: (prop) => rootShouldForwardProp(prop) || prop === "classes",
|
|
@@ -31464,7 +31312,7 @@ const useUtilityClasses$10 = (ownerState) => {
|
|
|
31464
31312
|
const slots = {
|
|
31465
31313
|
root: ["root", dense && "dense", disabled && "disabled", !disableGutters && "gutters", divider && "divider", selected && "selected"]
|
|
31466
31314
|
};
|
|
31467
|
-
const composedClasses = composeClasses
|
|
31315
|
+
const composedClasses = composeClasses(slots, getMenuItemUtilityClass, classes);
|
|
31468
31316
|
return {
|
|
31469
31317
|
...classes,
|
|
31470
31318
|
...composedClasses
|
|
@@ -31724,7 +31572,7 @@ const useUtilityClasses$$ = (ownerState) => {
|
|
|
31724
31572
|
dotActive: ["dotActive"],
|
|
31725
31573
|
progress: ["progress"]
|
|
31726
31574
|
};
|
|
31727
|
-
return composeClasses
|
|
31575
|
+
return composeClasses(slots, getMobileStepperUtilityClass, classes);
|
|
31728
31576
|
};
|
|
31729
31577
|
const MobileStepperRoot = styled(Paper, {
|
|
31730
31578
|
name: "MuiMobileStepper",
|
|
@@ -32160,7 +32008,7 @@ const useUtilityClasses$_ = (ownerState) => {
|
|
|
32160
32008
|
}[type]],
|
|
32161
32009
|
icon: ["icon"]
|
|
32162
32010
|
};
|
|
32163
|
-
return composeClasses
|
|
32011
|
+
return composeClasses(slots, getPaginationItemUtilityClass, classes);
|
|
32164
32012
|
};
|
|
32165
32013
|
const PaginationItemEllipsis = styled("div", {
|
|
32166
32014
|
name: "MuiPaginationItem",
|
|
@@ -32589,7 +32437,7 @@ const useUtilityClasses$Z = (ownerState) => {
|
|
|
32589
32437
|
root: ["root", variant],
|
|
32590
32438
|
ul: ["ul"]
|
|
32591
32439
|
};
|
|
32592
|
-
return composeClasses
|
|
32440
|
+
return composeClasses(slots, getPaginationUtilityClass, classes);
|
|
32593
32441
|
};
|
|
32594
32442
|
const PaginationRoot = styled("nav", {
|
|
32595
32443
|
name: "MuiPagination",
|
|
@@ -32912,7 +32760,7 @@ const useUtilityClasses$Y = (ownerState) => {
|
|
|
32912
32760
|
};
|
|
32913
32761
|
return {
|
|
32914
32762
|
...classes,
|
|
32915
|
-
...composeClasses
|
|
32763
|
+
...composeClasses(slots, getRadioUtilityClass, classes)
|
|
32916
32764
|
};
|
|
32917
32765
|
};
|
|
32918
32766
|
const RadioRoot = styled(SwitchBase, {
|
|
@@ -33198,7 +33046,7 @@ const useUtilityClasses$X = (props) => {
|
|
|
33198
33046
|
const slots = {
|
|
33199
33047
|
root: ["root", row && "row", error && "error"]
|
|
33200
33048
|
};
|
|
33201
|
-
return composeClasses
|
|
33049
|
+
return composeClasses(slots, getRadioGroupUtilityClass, classes);
|
|
33202
33050
|
};
|
|
33203
33051
|
const RadioGroup = /* @__PURE__ */ React.forwardRef(function RadioGroup2(props, ref) {
|
|
33204
33052
|
const {
|
|
@@ -33306,7 +33154,7 @@ const useUtilityClasses$W = (ownerState) => {
|
|
|
33306
33154
|
select: ["select", variant, disabled && "disabled", multiple && "multiple", error && "error"],
|
|
33307
33155
|
icon: ["icon", `icon${capitalize(variant)}`, open && "iconOpen", disabled && "disabled"]
|
|
33308
33156
|
};
|
|
33309
|
-
return composeClasses
|
|
33157
|
+
return composeClasses(slots, getNativeSelectUtilityClasses, classes);
|
|
33310
33158
|
};
|
|
33311
33159
|
const StyledSelectSelect = styled("select", {
|
|
33312
33160
|
name: "MuiNativeSelect"
|
|
@@ -33608,7 +33456,7 @@ const useUtilityClasses$V = (ownerState) => {
|
|
|
33608
33456
|
icon: ["icon", `icon${capitalize(variant)}`, open && "iconOpen", disabled && "disabled"],
|
|
33609
33457
|
nativeInput: ["nativeInput"]
|
|
33610
33458
|
};
|
|
33611
|
-
return composeClasses
|
|
33459
|
+
return composeClasses(slots, getSelectUtilityClasses, classes);
|
|
33612
33460
|
};
|
|
33613
33461
|
const SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props, ref) {
|
|
33614
33462
|
const {
|
|
@@ -34170,7 +34018,7 @@ const useUtilityClasses$U = (ownerState) => {
|
|
|
34170
34018
|
root: ["root", !disableUnderline && "underline", startAdornment && "adornedStart", endAdornment && "adornedEnd", size === "small" && `size${capitalize(size)}`, hiddenLabel && "hiddenLabel", multiline && "multiline"],
|
|
34171
34019
|
input: ["input"]
|
|
34172
34020
|
};
|
|
34173
|
-
const composedClasses = composeClasses
|
|
34021
|
+
const composedClasses = composeClasses(slots, getFilledInputUtilityClass, classes);
|
|
34174
34022
|
return {
|
|
34175
34023
|
...classes,
|
|
34176
34024
|
// forward classes to the InputBase
|
|
@@ -34810,7 +34658,7 @@ const useUtilityClasses$T = (ownerState) => {
|
|
|
34810
34658
|
notchedOutline: ["notchedOutline"],
|
|
34811
34659
|
input: ["input"]
|
|
34812
34660
|
};
|
|
34813
|
-
const composedClasses = composeClasses
|
|
34661
|
+
const composedClasses = composeClasses(slots, getOutlinedInputUtilityClass, classes);
|
|
34814
34662
|
return {
|
|
34815
34663
|
...classes,
|
|
34816
34664
|
// forward classes to the InputBase
|
|
@@ -35218,7 +35066,7 @@ const useUtilityClasses$S = (ownerState) => {
|
|
|
35218
35066
|
const slots = {
|
|
35219
35067
|
root: ["root"]
|
|
35220
35068
|
};
|
|
35221
|
-
const composedClasses = composeClasses
|
|
35069
|
+
const composedClasses = composeClasses(slots, getSelectUtilityClasses, classes);
|
|
35222
35070
|
return {
|
|
35223
35071
|
...classes,
|
|
35224
35072
|
...composedClasses
|
|
@@ -35503,7 +35351,7 @@ const useUtilityClasses$R = (ownerState) => {
|
|
|
35503
35351
|
const slots = {
|
|
35504
35352
|
root: ["root", variant, animation, hasChildren && "withChildren", hasChildren && !width2 && "fitContent", hasChildren && !height2 && "heightAuto"]
|
|
35505
35353
|
};
|
|
35506
|
-
return composeClasses
|
|
35354
|
+
return composeClasses(slots, getSkeletonUtilityClass, classes);
|
|
35507
35355
|
};
|
|
35508
35356
|
const pulseKeyframe = keyframes`
|
|
35509
35357
|
0% {
|
|
@@ -35860,7 +35708,7 @@ const useUtilityClasses$Q = (ownerState) => {
|
|
|
35860
35708
|
action: ["action"],
|
|
35861
35709
|
message: ["message"]
|
|
35862
35710
|
};
|
|
35863
|
-
return composeClasses
|
|
35711
|
+
return composeClasses(slots, getSnackbarContentUtilityClass, classes);
|
|
35864
35712
|
};
|
|
35865
35713
|
const SnackbarContentRoot = styled(Paper, {
|
|
35866
35714
|
name: "MuiSnackbarContent",
|
|
@@ -35975,7 +35823,7 @@ const useUtilityClasses$P = (ownerState) => {
|
|
|
35975
35823
|
const slots = {
|
|
35976
35824
|
root: ["root", `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}`]
|
|
35977
35825
|
};
|
|
35978
|
-
return composeClasses
|
|
35826
|
+
return composeClasses(slots, getSnackbarUtilityClass, classes);
|
|
35979
35827
|
};
|
|
35980
35828
|
const SnackbarRoot = styled("div", {
|
|
35981
35829
|
name: "MuiSnackbar",
|
|
@@ -36455,7 +36303,7 @@ const useUtilityClasses$O = (ownerState) => {
|
|
|
36455
36303
|
const slots = {
|
|
36456
36304
|
root: ["root", orientation, alternativeLabel && "alternativeLabel", completed && "completed"]
|
|
36457
36305
|
};
|
|
36458
|
-
return composeClasses
|
|
36306
|
+
return composeClasses(slots, getStepUtilityClass, classes);
|
|
36459
36307
|
};
|
|
36460
36308
|
const StepRoot = styled("div", {
|
|
36461
36309
|
name: "MuiStep",
|
|
@@ -36629,7 +36477,7 @@ const useUtilityClasses$N = (ownerState) => {
|
|
|
36629
36477
|
root: ["root", active && "active", completed && "completed", error && "error"],
|
|
36630
36478
|
text: ["text"]
|
|
36631
36479
|
};
|
|
36632
|
-
return composeClasses
|
|
36480
|
+
return composeClasses(slots, getStepIconUtilityClass, classes);
|
|
36633
36481
|
};
|
|
36634
36482
|
const StepIconRoot = styled(SvgIcon, {
|
|
36635
36483
|
name: "MuiStepIcon",
|
|
@@ -36781,7 +36629,7 @@ const useUtilityClasses$M = (ownerState) => {
|
|
|
36781
36629
|
iconContainer: ["iconContainer", active && "active", completed && "completed", error && "error", disabled && "disabled", alternativeLabel && "alternativeLabel"],
|
|
36782
36630
|
labelContainer: ["labelContainer", alternativeLabel && "alternativeLabel"]
|
|
36783
36631
|
};
|
|
36784
|
-
return composeClasses
|
|
36632
|
+
return composeClasses(slots, getStepLabelUtilityClass, classes);
|
|
36785
36633
|
};
|
|
36786
36634
|
const StepLabelRoot = styled("span", {
|
|
36787
36635
|
name: "MuiStepLabel",
|
|
@@ -37039,7 +36887,7 @@ const useUtilityClasses$L = (ownerState) => {
|
|
|
37039
36887
|
root: ["root", orientation],
|
|
37040
36888
|
touchRipple: ["touchRipple"]
|
|
37041
36889
|
};
|
|
37042
|
-
return composeClasses
|
|
36890
|
+
return composeClasses(slots, getStepButtonUtilityClass, classes);
|
|
37043
36891
|
};
|
|
37044
36892
|
const StepButtonRoot = styled(ButtonBase, {
|
|
37045
36893
|
name: "MuiStepButton",
|
|
@@ -37168,7 +37016,7 @@ const useUtilityClasses$K = (ownerState) => {
|
|
|
37168
37016
|
root: ["root", orientation, alternativeLabel && "alternativeLabel", active && "active", completed && "completed", disabled && "disabled"],
|
|
37169
37017
|
line: ["line", `line${capitalize(orientation)}`]
|
|
37170
37018
|
};
|
|
37171
|
-
return composeClasses
|
|
37019
|
+
return composeClasses(slots, getStepConnectorUtilityClass, classes);
|
|
37172
37020
|
};
|
|
37173
37021
|
const StepConnectorRoot = styled("div", {
|
|
37174
37022
|
name: "MuiStepConnector",
|
|
@@ -37303,7 +37151,7 @@ const useUtilityClasses$J = (ownerState) => {
|
|
|
37303
37151
|
const slots = {
|
|
37304
37152
|
root: ["root", orientation, nonLinear && "nonLinear", alternativeLabel && "alternativeLabel"]
|
|
37305
37153
|
};
|
|
37306
|
-
return composeClasses
|
|
37154
|
+
return composeClasses(slots, getStepperUtilityClass, classes);
|
|
37307
37155
|
};
|
|
37308
37156
|
const StepperRoot = styled("div", {
|
|
37309
37157
|
name: "MuiStepper",
|
|
@@ -37466,7 +37314,7 @@ const useUtilityClasses$I = (ownerState) => {
|
|
|
37466
37314
|
track: ["track"],
|
|
37467
37315
|
input: ["input"]
|
|
37468
37316
|
};
|
|
37469
|
-
const composedClasses = composeClasses
|
|
37317
|
+
const composedClasses = composeClasses(slots, getSwitchUtilityClass, classes);
|
|
37470
37318
|
return {
|
|
37471
37319
|
...classes,
|
|
37472
37320
|
// forward the disabled and checked classes to the SwitchBase
|
|
@@ -37857,7 +37705,7 @@ const useUtilityClasses$H = (ownerState) => {
|
|
|
37857
37705
|
root: ["root", icon && label && "labelIcon", `textColor${capitalize(textColor)}`, fullWidth && "fullWidth", wrapped && "wrapped", selected && "selected", disabled && "disabled"],
|
|
37858
37706
|
icon: ["iconWrapper", "icon"]
|
|
37859
37707
|
};
|
|
37860
|
-
return composeClasses
|
|
37708
|
+
return composeClasses(slots, getTabUtilityClass, classes);
|
|
37861
37709
|
};
|
|
37862
37710
|
const TabRoot = styled(ButtonBase, {
|
|
37863
37711
|
name: "MuiTab",
|
|
@@ -38181,7 +38029,7 @@ const useUtilityClasses$G = (ownerState) => {
|
|
|
38181
38029
|
const slots = {
|
|
38182
38030
|
root: ["root", stickyHeader && "stickyHeader"]
|
|
38183
38031
|
};
|
|
38184
|
-
return composeClasses
|
|
38032
|
+
return composeClasses(slots, getTableUtilityClass, classes);
|
|
38185
38033
|
};
|
|
38186
38034
|
const TableRoot = styled("table", {
|
|
38187
38035
|
name: "MuiTable",
|
|
@@ -38311,7 +38159,7 @@ const useUtilityClasses$F = (ownerState) => {
|
|
|
38311
38159
|
const slots = {
|
|
38312
38160
|
root: ["root"]
|
|
38313
38161
|
};
|
|
38314
|
-
return composeClasses
|
|
38162
|
+
return composeClasses(slots, getTableBodyUtilityClass, classes);
|
|
38315
38163
|
};
|
|
38316
38164
|
const TableBodyRoot = styled("tbody", {
|
|
38317
38165
|
name: "MuiTableBody",
|
|
@@ -38393,7 +38241,7 @@ const useUtilityClasses$E = (ownerState) => {
|
|
|
38393
38241
|
const slots = {
|
|
38394
38242
|
root: ["root", variant, stickyHeader && "stickyHeader", align !== "inherit" && `align${capitalize(align)}`, padding2 !== "normal" && `padding${capitalize(padding2)}`, `size${capitalize(size)}`]
|
|
38395
38243
|
};
|
|
38396
|
-
return composeClasses
|
|
38244
|
+
return composeClasses(slots, getTableCellUtilityClass, classes);
|
|
38397
38245
|
};
|
|
38398
38246
|
const TableCellRoot = styled("td", {
|
|
38399
38247
|
name: "MuiTableCell",
|
|
@@ -38639,7 +38487,7 @@ const useUtilityClasses$D = (ownerState) => {
|
|
|
38639
38487
|
const slots = {
|
|
38640
38488
|
root: ["root"]
|
|
38641
38489
|
};
|
|
38642
|
-
return composeClasses
|
|
38490
|
+
return composeClasses(slots, getTableContainerUtilityClass, classes);
|
|
38643
38491
|
};
|
|
38644
38492
|
const TableContainerRoot = styled("div", {
|
|
38645
38493
|
name: "MuiTableContainer",
|
|
@@ -38709,7 +38557,7 @@ const useUtilityClasses$C = (ownerState) => {
|
|
|
38709
38557
|
const slots = {
|
|
38710
38558
|
root: ["root"]
|
|
38711
38559
|
};
|
|
38712
|
-
return composeClasses
|
|
38560
|
+
return composeClasses(slots, getTableFooterUtilityClass, classes);
|
|
38713
38561
|
};
|
|
38714
38562
|
const TableFooterRoot = styled("tfoot", {
|
|
38715
38563
|
name: "MuiTableFooter",
|
|
@@ -38786,7 +38634,7 @@ const useUtilityClasses$B = (ownerState) => {
|
|
|
38786
38634
|
const slots = {
|
|
38787
38635
|
root: ["root"]
|
|
38788
38636
|
};
|
|
38789
|
-
return composeClasses
|
|
38637
|
+
return composeClasses(slots, getTableHeadUtilityClass, classes);
|
|
38790
38638
|
};
|
|
38791
38639
|
const TableHeadRoot = styled("thead", {
|
|
38792
38640
|
name: "MuiTableHead",
|
|
@@ -38865,7 +38713,7 @@ const useUtilityClasses$A = (ownerState) => {
|
|
|
38865
38713
|
const slots = {
|
|
38866
38714
|
root: ["root", !disableGutters && "gutters", variant]
|
|
38867
38715
|
};
|
|
38868
|
-
return composeClasses
|
|
38716
|
+
return composeClasses(slots, getToolbarUtilityClass, classes);
|
|
38869
38717
|
};
|
|
38870
38718
|
const ToolbarRoot = styled("div", {
|
|
38871
38719
|
name: "MuiToolbar",
|
|
@@ -38984,7 +38832,7 @@ const useUtilityClasses$z = (ownerState) => {
|
|
|
38984
38832
|
const slots = {
|
|
38985
38833
|
root: ["root"]
|
|
38986
38834
|
};
|
|
38987
|
-
return composeClasses
|
|
38835
|
+
return composeClasses(slots, getTablePaginationActionsUtilityClass, classes);
|
|
38988
38836
|
};
|
|
38989
38837
|
const TablePaginationActionsRoot = styled("div", {
|
|
38990
38838
|
name: "MuiTablePaginationActions",
|
|
@@ -39307,7 +39155,7 @@ const useUtilityClasses$y = (ownerState) => {
|
|
|
39307
39155
|
displayedRows: ["displayedRows"],
|
|
39308
39156
|
actions: ["actions"]
|
|
39309
39157
|
};
|
|
39310
|
-
return composeClasses
|
|
39158
|
+
return composeClasses(slots, getTablePaginationUtilityClass, classes);
|
|
39311
39159
|
};
|
|
39312
39160
|
const TablePagination = /* @__PURE__ */ React.forwardRef(function TablePagination2(inProps, ref) {
|
|
39313
39161
|
const props = useDefaultProps({
|
|
@@ -39680,7 +39528,7 @@ const useUtilityClasses$x = (ownerState) => {
|
|
|
39680
39528
|
const slots = {
|
|
39681
39529
|
root: ["root", selected && "selected", hover && "hover", head && "head", footer && "footer"]
|
|
39682
39530
|
};
|
|
39683
|
-
return composeClasses
|
|
39531
|
+
return composeClasses(slots, getTableRowUtilityClass, classes);
|
|
39684
39532
|
};
|
|
39685
39533
|
const TableRowRoot = styled("tr", {
|
|
39686
39534
|
name: "MuiTableRow",
|
|
@@ -39795,7 +39643,7 @@ const useUtilityClasses$w = (ownerState) => {
|
|
|
39795
39643
|
root: ["root", active && "active", `direction${capitalize(direction)}`],
|
|
39796
39644
|
icon: ["icon", `iconDirection${capitalize(direction)}`]
|
|
39797
39645
|
};
|
|
39798
|
-
return composeClasses
|
|
39646
|
+
return composeClasses(slots, getTableSortLabelUtilityClass, classes);
|
|
39799
39647
|
};
|
|
39800
39648
|
const TableSortLabelRoot = styled(ButtonBase, {
|
|
39801
39649
|
name: "MuiTableSortLabel",
|
|
@@ -39993,7 +39841,7 @@ const useUtilityClasses$v = (ownerState) => {
|
|
|
39993
39841
|
const slots = {
|
|
39994
39842
|
root: ["root"]
|
|
39995
39843
|
};
|
|
39996
|
-
return composeClasses
|
|
39844
|
+
return composeClasses(slots, getTextFieldUtilityClass, classes);
|
|
39997
39845
|
};
|
|
39998
39846
|
const TextFieldRoot = styled(FormControl, {
|
|
39999
39847
|
name: "MuiTextField",
|
|
@@ -40382,50 +40230,6 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes = {
|
|
|
40382
40230
|
*/
|
|
40383
40231
|
variant: PropTypes.oneOf(["filled", "outlined", "standard"])
|
|
40384
40232
|
} : void 0;
|
|
40385
|
-
function resolveProps(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
40386
|
-
const output = {
|
|
40387
|
-
...props
|
|
40388
|
-
};
|
|
40389
|
-
for (const key in defaultProps2) {
|
|
40390
|
-
if (Object.prototype.hasOwnProperty.call(defaultProps2, key)) {
|
|
40391
|
-
const propName = key;
|
|
40392
|
-
if (propName === "components" || propName === "slots") {
|
|
40393
|
-
output[propName] = {
|
|
40394
|
-
...defaultProps2[propName],
|
|
40395
|
-
...output[propName]
|
|
40396
|
-
};
|
|
40397
|
-
} else if (propName === "componentsProps" || propName === "slotProps") {
|
|
40398
|
-
const defaultSlotProps = defaultProps2[propName];
|
|
40399
|
-
const slotProps = props[propName];
|
|
40400
|
-
if (!slotProps) {
|
|
40401
|
-
output[propName] = defaultSlotProps || {};
|
|
40402
|
-
} else if (!defaultSlotProps) {
|
|
40403
|
-
output[propName] = slotProps;
|
|
40404
|
-
} else {
|
|
40405
|
-
output[propName] = {
|
|
40406
|
-
...slotProps
|
|
40407
|
-
};
|
|
40408
|
-
for (const slotKey in defaultSlotProps) {
|
|
40409
|
-
if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {
|
|
40410
|
-
const slotPropName = slotKey;
|
|
40411
|
-
output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName], mergeClassNameAndStyle);
|
|
40412
|
-
}
|
|
40413
|
-
}
|
|
40414
|
-
}
|
|
40415
|
-
} else if (propName === "className" && mergeClassNameAndStyle && props.className) {
|
|
40416
|
-
output.className = clsx(defaultProps2?.className, props?.className);
|
|
40417
|
-
} else if (propName === "style" && mergeClassNameAndStyle && props.style) {
|
|
40418
|
-
output.style = {
|
|
40419
|
-
...defaultProps2?.style,
|
|
40420
|
-
...props?.style
|
|
40421
|
-
};
|
|
40422
|
-
} else if (output[propName] === void 0) {
|
|
40423
|
-
output[propName] = defaultProps2[propName];
|
|
40424
|
-
}
|
|
40425
|
-
}
|
|
40426
|
-
}
|
|
40427
|
-
return output;
|
|
40428
|
-
}
|
|
40429
40233
|
function getToggleButtonUtilityClass(slot) {
|
|
40430
40234
|
return generateUtilityClass("MuiToggleButton", slot);
|
|
40431
40235
|
}
|
|
@@ -40459,7 +40263,7 @@ const useUtilityClasses$u = (ownerState) => {
|
|
|
40459
40263
|
const slots = {
|
|
40460
40264
|
root: ["root", selected && "selected", disabled && "disabled", fullWidth && "fullWidth", `size${capitalize(size)}`, color2]
|
|
40461
40265
|
};
|
|
40462
|
-
return composeClasses
|
|
40266
|
+
return composeClasses(slots, getToggleButtonUtilityClass, classes);
|
|
40463
40267
|
};
|
|
40464
40268
|
const ToggleButtonRoot = styled(ButtonBase, {
|
|
40465
40269
|
name: "MuiToggleButton",
|
|
@@ -40711,7 +40515,7 @@ const useUtilityClasses$t = (ownerState) => {
|
|
|
40711
40515
|
lastButton: ["lastButton"],
|
|
40712
40516
|
middleButton: ["middleButton"]
|
|
40713
40517
|
};
|
|
40714
|
-
return composeClasses
|
|
40518
|
+
return composeClasses(slots, getToggleButtonGroupUtilityClass, classes);
|
|
40715
40519
|
};
|
|
40716
40520
|
const ToggleButtonGroupRoot = styled("div", {
|
|
40717
40521
|
name: "MuiToggleButtonGroup",
|
|
@@ -40980,7 +40784,7 @@ const useUtilityClasses$s = (ownerState) => {
|
|
|
40980
40784
|
tooltip: ["tooltip", arrow2 && "tooltipArrow", touch && "touch", `tooltipPlacement${capitalize(placement.split("-")[0])}`],
|
|
40981
40785
|
arrow: ["arrow"]
|
|
40982
40786
|
};
|
|
40983
|
-
return composeClasses
|
|
40787
|
+
return composeClasses(slots, getTooltipUtilityClass, classes);
|
|
40984
40788
|
};
|
|
40985
40789
|
const TooltipPopper = styled(Popper2, {
|
|
40986
40790
|
name: "MuiTooltip",
|
|
@@ -42014,7 +41818,7 @@ const useUtilityClasses$r = (ownerState) => {
|
|
|
42014
41818
|
loadingIndicator: ["loadingIndicator"],
|
|
42015
41819
|
loadingWrapper: ["loadingWrapper"]
|
|
42016
41820
|
};
|
|
42017
|
-
const composedClasses = composeClasses
|
|
41821
|
+
const composedClasses = composeClasses(slots, getButtonUtilityClass, classes);
|
|
42018
41822
|
return {
|
|
42019
41823
|
...classes,
|
|
42020
41824
|
// forward the focused, disabled, etc. classes to the ButtonBase
|
|
@@ -42724,8 +42528,6 @@ const LeftAction = styled(Button2, {
|
|
|
42724
42528
|
color: theme.palette.common.white,
|
|
42725
42529
|
transition: "all 0.2s ease-in-out",
|
|
42726
42530
|
borderRadius: "4px",
|
|
42727
|
-
fontSize: "1rem",
|
|
42728
|
-
fontWeight: 700,
|
|
42729
42531
|
padding: "8px 16px",
|
|
42730
42532
|
"&:hover": {
|
|
42731
42533
|
backgroundColor: theme.palette.primary.dark,
|
|
@@ -42743,8 +42545,6 @@ const RightAction = styled(Button2, {
|
|
|
42743
42545
|
color: theme.palette.common.white,
|
|
42744
42546
|
transition: "all 0.2s ease-in-out",
|
|
42745
42547
|
borderRadius: "4px",
|
|
42746
|
-
fontSize: "1rem",
|
|
42747
|
-
fontWeight: 700,
|
|
42748
42548
|
padding: "8px 16px",
|
|
42749
42549
|
"&:hover": {
|
|
42750
42550
|
backgroundColor: theme.palette.primary.dark,
|
|
@@ -42835,7 +42635,7 @@ const useUtilityClasses$q = (ownerState) => {
|
|
|
42835
42635
|
message: ["message"],
|
|
42836
42636
|
action: ["action"]
|
|
42837
42637
|
};
|
|
42838
|
-
return composeClasses
|
|
42638
|
+
return composeClasses(slots, getAlertUtilityClass, classes);
|
|
42839
42639
|
};
|
|
42840
42640
|
const AlertRoot = styled(Paper, {
|
|
42841
42641
|
name: "MuiAlert",
|
|
@@ -45133,7 +44933,7 @@ const useUtilityClasses$p = (classes) => {
|
|
|
45133
44933
|
title: ["title"],
|
|
45134
44934
|
content: ["content"]
|
|
45135
44935
|
};
|
|
45136
|
-
return composeClasses
|
|
44936
|
+
return composeClasses(slots, getPickersToolbarUtilityClass, classes);
|
|
45137
44937
|
};
|
|
45138
44938
|
const PickersToolbarRoot = styled("div", {
|
|
45139
44939
|
name: "MuiPickersToolbar",
|
|
@@ -45610,7 +45410,7 @@ const useUtilityClasses$o = (classes) => {
|
|
|
45610
45410
|
root: ["root"],
|
|
45611
45411
|
title: ["title"]
|
|
45612
45412
|
};
|
|
45613
|
-
return composeClasses
|
|
45413
|
+
return composeClasses(slots, getDatePickerToolbarUtilityClass, classes);
|
|
45614
45414
|
};
|
|
45615
45415
|
const DatePickerToolbarRoot = styled(PickersToolbar, {
|
|
45616
45416
|
name: "MuiDatePickerToolbar",
|
|
@@ -45890,7 +45690,7 @@ const useUtilityClasses$n = (classes) => {
|
|
|
45890
45690
|
root: ["root"],
|
|
45891
45691
|
paper: ["paper"]
|
|
45892
45692
|
};
|
|
45893
|
-
return composeClasses
|
|
45693
|
+
return composeClasses(slots, getPickerPopperUtilityClass, classes);
|
|
45894
45694
|
};
|
|
45895
45695
|
const PickerPopperRoot = styled(Popper2, {
|
|
45896
45696
|
name: "MuiPickerPopper",
|
|
@@ -47096,7 +46896,7 @@ const useUtilityClasses$m = (classes, ownerState) => {
|
|
|
47096
46896
|
landscape: ["landscape"],
|
|
47097
46897
|
shortcuts: ["shortcuts"]
|
|
47098
46898
|
};
|
|
47099
|
-
return composeClasses
|
|
46899
|
+
return composeClasses(slots, getPickersLayoutUtilityClass, classes);
|
|
47100
46900
|
};
|
|
47101
46901
|
const usePickerLayout = (props) => {
|
|
47102
46902
|
const {
|
|
@@ -47170,7 +46970,7 @@ const useUtilityClasses$l = (classes, ownerState) => {
|
|
|
47170
46970
|
root: ["root", pickerOrientation === "landscape" && "landscape"],
|
|
47171
46971
|
contentWrapper: ["contentWrapper"]
|
|
47172
46972
|
};
|
|
47173
|
-
return composeClasses
|
|
46973
|
+
return composeClasses(slots, getPickersLayoutUtilityClass, classes);
|
|
47174
46974
|
};
|
|
47175
46975
|
const PickersLayoutRoot = styled("div", {
|
|
47176
46976
|
name: "MuiPickersLayout",
|
|
@@ -49237,7 +49037,7 @@ const useUtilityClasses$k = (ownerState) => {
|
|
|
49237
49037
|
const slots = {
|
|
49238
49038
|
root: ["root", disablePointerEvents && "disablePointerEvents", position2 && `position${capitalize(position2)}`, variant, hiddenLabel && "hiddenLabel", size && `size${capitalize(size)}`]
|
|
49239
49039
|
};
|
|
49240
|
-
return composeClasses
|
|
49040
|
+
return composeClasses(slots, getInputAdornmentUtilityClass, classes);
|
|
49241
49041
|
};
|
|
49242
49042
|
const InputAdornmentRoot = styled("div", {
|
|
49243
49043
|
name: "MuiInputAdornment",
|
|
@@ -49489,7 +49289,7 @@ const useUtilityClasses$j = (classes) => {
|
|
|
49489
49289
|
section: ["section"],
|
|
49490
49290
|
sectionContent: ["sectionContent"]
|
|
49491
49291
|
};
|
|
49492
|
-
return composeClasses
|
|
49292
|
+
return composeClasses(slots, getPickersSectionListUtilityClass, classes);
|
|
49493
49293
|
};
|
|
49494
49294
|
function PickersSection(props) {
|
|
49495
49295
|
const {
|
|
@@ -49894,7 +49694,7 @@ const useUtilityClasses$i = (classes, ownerState) => {
|
|
|
49894
49694
|
sectionAfter: ["sectionAfter"],
|
|
49895
49695
|
activeBar: ["activeBar"]
|
|
49896
49696
|
};
|
|
49897
|
-
return composeClasses
|
|
49697
|
+
return composeClasses(slots, getPickersInputBaseUtilityClass, classes);
|
|
49898
49698
|
};
|
|
49899
49699
|
function resolveSectionElementWidth(sectionElement, rootRef, index, dateRangePosition) {
|
|
49900
49700
|
if (sectionElement.content.id) {
|
|
@@ -50358,7 +50158,7 @@ const useUtilityClasses$h = (classes) => {
|
|
|
50358
50158
|
notchedOutline: ["notchedOutline"],
|
|
50359
50159
|
input: ["input"]
|
|
50360
50160
|
};
|
|
50361
|
-
const composedClasses = composeClasses
|
|
50161
|
+
const composedClasses = composeClasses(slots, getPickersOutlinedInputUtilityClass, classes);
|
|
50362
50162
|
return _extends({}, classes, composedClasses);
|
|
50363
50163
|
};
|
|
50364
50164
|
const PickersOutlinedInput = /* @__PURE__ */ React.forwardRef(function PickersOutlinedInput2(inProps, ref) {
|
|
@@ -50642,7 +50442,7 @@ const useUtilityClasses$g = (classes, ownerState) => {
|
|
|
50642
50442
|
root: ["root", inputHasUnderline && "underline"],
|
|
50643
50443
|
input: ["input"]
|
|
50644
50444
|
};
|
|
50645
|
-
const composedClasses = composeClasses
|
|
50445
|
+
const composedClasses = composeClasses(slots, getPickersFilledInputUtilityClass, classes);
|
|
50646
50446
|
return _extends({}, classes, composedClasses);
|
|
50647
50447
|
};
|
|
50648
50448
|
const PickersFilledInput = /* @__PURE__ */ React.forwardRef(function PickersFilledInput2(inProps, ref) {
|
|
@@ -50856,7 +50656,7 @@ const useUtilityClasses$f = (classes, ownerState) => {
|
|
|
50856
50656
|
root: ["root", !inputHasUnderline && "underline"],
|
|
50857
50657
|
input: ["input"]
|
|
50858
50658
|
};
|
|
50859
|
-
const composedClasses = composeClasses
|
|
50659
|
+
const composedClasses = composeClasses(slots, getPickersInputUtilityClass, classes);
|
|
50860
50660
|
return _extends({}, classes, composedClasses);
|
|
50861
50661
|
};
|
|
50862
50662
|
const PickersInput = /* @__PURE__ */ React.forwardRef(function PickersInput2(inProps, ref) {
|
|
@@ -50986,7 +50786,7 @@ const useUtilityClasses$e = (classes, ownerState) => {
|
|
|
50986
50786
|
const slots = {
|
|
50987
50787
|
root: ["root", isFieldFocused2 && !isFieldDisabled && "focused", isFieldDisabled && "disabled", isFieldRequired && "required"]
|
|
50988
50788
|
};
|
|
50989
|
-
return composeClasses
|
|
50789
|
+
return composeClasses(slots, getPickersTextFieldUtilityClass, classes);
|
|
50990
50790
|
};
|
|
50991
50791
|
const PickersTextField = /* @__PURE__ */ React.forwardRef(function PickersTextField2(inProps, ref) {
|
|
50992
50792
|
const props = useThemeProps$2({
|
|
@@ -52030,7 +51830,7 @@ const useUtilityClasses$d = (classes) => {
|
|
|
52030
51830
|
const slots = {
|
|
52031
51831
|
root: ["root"]
|
|
52032
51832
|
};
|
|
52033
|
-
return composeClasses
|
|
51833
|
+
return composeClasses(slots, getPickersFadeTransitionGroupUtilityClass, classes);
|
|
52034
51834
|
};
|
|
52035
51835
|
const PickersFadeTransitionGroupRoot = styled(TransitionGroup, {
|
|
52036
51836
|
name: "MuiPickersFadeTransitionGroup",
|
|
@@ -52122,7 +51922,7 @@ const useUtilityClasses$c = (classes, ownerState) => {
|
|
|
52122
51922
|
root: ["root", isDaySelected && !isHiddenDaySpacingFiller && "selected", isDayDisabled && "disabled", !disableMargin && "dayWithMargin", !disableHighlightToday && isDayCurrent && "today", isDayOutsideMonth && showDaysOutsideCurrentMonth && "dayOutsideMonth", isHiddenDaySpacingFiller && "hiddenDaySpacingFiller"],
|
|
52123
51923
|
hiddenDaySpacingFiller: ["hiddenDaySpacingFiller"]
|
|
52124
51924
|
};
|
|
52125
|
-
return composeClasses
|
|
51925
|
+
return composeClasses(slots, getPickersDayUtilityClass, classes);
|
|
52126
51926
|
};
|
|
52127
51927
|
const styleArg = ({
|
|
52128
51928
|
theme
|
|
@@ -52464,7 +52264,7 @@ const useUtilityClasses$b = (classes, ownerState) => {
|
|
|
52464
52264
|
enter: [`slideEnter-${slideDirection}`],
|
|
52465
52265
|
exitActive: [`slideExitActiveLeft-${slideDirection}`]
|
|
52466
52266
|
};
|
|
52467
|
-
return composeClasses
|
|
52267
|
+
return composeClasses(slots, getPickersSlideTransitionUtilityClass, classes);
|
|
52468
52268
|
};
|
|
52469
52269
|
const PickersSlideTransitionRoot = styled(TransitionGroup, {
|
|
52470
52270
|
name: "MuiPickersSlideTransition",
|
|
@@ -52595,7 +52395,7 @@ const useUtilityClasses$a = (classes) => {
|
|
|
52595
52395
|
weekNumberLabel: ["weekNumberLabel"],
|
|
52596
52396
|
weekNumber: ["weekNumber"]
|
|
52597
52397
|
};
|
|
52598
|
-
return composeClasses
|
|
52398
|
+
return composeClasses(slots, getDayCalendarUtilityClass, classes);
|
|
52599
52399
|
};
|
|
52600
52400
|
const weeksContainerHeight = (DAY_SIZE + DAY_MARGIN * 2) * 6;
|
|
52601
52401
|
const PickersCalendarDayRoot = styled("div", {
|
|
@@ -52989,7 +52789,7 @@ const useUtilityClasses$9 = (classes, ownerState) => {
|
|
|
52989
52789
|
const slots = {
|
|
52990
52790
|
button: ["button", ownerState.isMonthDisabled && "disabled", ownerState.isMonthSelected && "selected"]
|
|
52991
52791
|
};
|
|
52992
|
-
return composeClasses
|
|
52792
|
+
return composeClasses(slots, getMonthCalendarUtilityClass, classes);
|
|
52993
52793
|
};
|
|
52994
52794
|
const DefaultMonthButton = styled("button", {
|
|
52995
52795
|
name: "MuiMonthCalendar",
|
|
@@ -53087,7 +52887,7 @@ const useUtilityClasses$8 = (classes) => {
|
|
|
53087
52887
|
const slots = {
|
|
53088
52888
|
root: ["root"]
|
|
53089
52889
|
};
|
|
53090
|
-
return composeClasses
|
|
52890
|
+
return composeClasses(slots, getMonthCalendarUtilityClass, classes);
|
|
53091
52891
|
};
|
|
53092
52892
|
function useMonthCalendarDefaultizedProps(props, name) {
|
|
53093
52893
|
const themeProps = useThemeProps$2({
|
|
@@ -53424,7 +53224,7 @@ const useUtilityClasses$7 = (classes, ownerState) => {
|
|
|
53424
53224
|
const slots = {
|
|
53425
53225
|
button: ["button", ownerState.isYearDisabled && "disabled", ownerState.isYearSelected && "selected"]
|
|
53426
53226
|
};
|
|
53427
|
-
return composeClasses
|
|
53227
|
+
return composeClasses(slots, getYearCalendarUtilityClass, classes);
|
|
53428
53228
|
};
|
|
53429
53229
|
const DefaultYearButton = styled("button", {
|
|
53430
53230
|
name: "MuiYearCalendar",
|
|
@@ -53522,7 +53322,7 @@ const useUtilityClasses$6 = (classes) => {
|
|
|
53522
53322
|
const slots = {
|
|
53523
53323
|
root: ["root"]
|
|
53524
53324
|
};
|
|
53525
|
-
return composeClasses
|
|
53325
|
+
return composeClasses(slots, getYearCalendarUtilityClass, classes);
|
|
53526
53326
|
};
|
|
53527
53327
|
function useYearCalendarDefaultizedProps(props, name) {
|
|
53528
53328
|
const themeProps = useThemeProps$2({
|
|
@@ -53939,7 +53739,7 @@ const useUtilityClasses$5 = (classes) => {
|
|
|
53939
53739
|
leftArrowIcon: ["leftArrowIcon"],
|
|
53940
53740
|
rightArrowIcon: ["rightArrowIcon"]
|
|
53941
53741
|
};
|
|
53942
|
-
return composeClasses
|
|
53742
|
+
return composeClasses(slots, getPickersArrowSwitcherUtilityClass, classes);
|
|
53943
53743
|
};
|
|
53944
53744
|
const PickersArrowSwitcher = /* @__PURE__ */ React.forwardRef(function PickersArrowSwitcher2(inProps, ref) {
|
|
53945
53745
|
const isRtl = useRtl();
|
|
@@ -54087,7 +53887,7 @@ const useUtilityClasses$4 = (classes) => {
|
|
|
54087
53887
|
switchViewButton: ["switchViewButton"],
|
|
54088
53888
|
switchViewIcon: ["switchViewIcon"]
|
|
54089
53889
|
};
|
|
54090
|
-
return composeClasses
|
|
53890
|
+
return composeClasses(slots, getPickersCalendarHeaderUtilityClass, classes);
|
|
54091
53891
|
};
|
|
54092
53892
|
const PickersCalendarHeaderRoot = styled("div", {
|
|
54093
53893
|
name: "MuiPickersCalendarHeader",
|
|
@@ -54330,7 +54130,7 @@ const useUtilityClasses$3 = (classes) => {
|
|
|
54330
54130
|
root: ["root"],
|
|
54331
54131
|
viewTransitionContainer: ["viewTransitionContainer"]
|
|
54332
54132
|
};
|
|
54333
|
-
return composeClasses
|
|
54133
|
+
return composeClasses(slots, getDateCalendarUtilityClass, classes);
|
|
54334
54134
|
};
|
|
54335
54135
|
function useDateCalendarDefaultizedProps(props, name) {
|
|
54336
54136
|
const themeProps = useThemeProps$2({
|
|
@@ -55329,7 +55129,7 @@ const useUtilityClasses$2 = (ownerState) => {
|
|
|
55329
55129
|
container: ["container", `scroll${capitalize(scroll)}`],
|
|
55330
55130
|
paper: ["paper", `paperScroll${capitalize(scroll)}`, `paperWidth${capitalize(String(maxWidth2))}`, fullWidth && "paperFullWidth", fullScreen && "paperFullScreen"]
|
|
55331
55131
|
};
|
|
55332
|
-
return composeClasses
|
|
55132
|
+
return composeClasses(slots, getDialogUtilityClass, classes);
|
|
55333
55133
|
};
|
|
55334
55134
|
const DialogRoot = styled(Modal, {
|
|
55335
55135
|
name: "MuiDialog",
|
|
@@ -62734,7 +62534,7 @@ const useUtilityClasses$1 = (classesProp) => {
|
|
|
62734
62534
|
focused: ["focused"],
|
|
62735
62535
|
disabled: ["disabled"]
|
|
62736
62536
|
};
|
|
62737
|
-
return composeClasses
|
|
62537
|
+
return composeClasses(slots, getTreeItemUtilityClass, classes);
|
|
62738
62538
|
};
|
|
62739
62539
|
const TreeItem = /* @__PURE__ */ React.forwardRef(function TreeItem2(inProps, forwardedRef) {
|
|
62740
62540
|
const props = useThemeProps$1({
|
|
@@ -63014,7 +62814,7 @@ const useUtilityClasses = (ownerState) => {
|
|
|
63014
62814
|
// itemDragAndDropOverlay: ['itemDragAndDropOverlay'], => feature not available on this component
|
|
63015
62815
|
// itemErrorIcon: ['itemErrorIcon'], => feature not available on this component
|
|
63016
62816
|
};
|
|
63017
|
-
return composeClasses
|
|
62817
|
+
return composeClasses(slots, getRichTreeViewUtilityClass, classes);
|
|
63018
62818
|
}, [classes]);
|
|
63019
62819
|
};
|
|
63020
62820
|
const RichTreeViewRoot = styled("ul", {
|