@cgi-learning-hub/ui 1.12.0-dev.1771407294 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +211 -484
- package/dist/index.d.ts +0 -15
- package/dist/index.es.js +211 -484
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const emStyled = require("@emotion/styled");
|
|
5
|
-
const react = require("@emotion/react");
|
|
6
4
|
const jsxRuntime = require("react/jsx-runtime");
|
|
5
|
+
const react = require("@emotion/react");
|
|
6
|
+
const emStyled = require("@emotion/styled");
|
|
7
7
|
const ReactDOM = require("react-dom");
|
|
8
8
|
const reactColor = require("react-color");
|
|
9
9
|
const dayjs = require("dayjs");
|
|
@@ -1227,7 +1227,7 @@ function clsx() {
|
|
|
1227
1227
|
return n;
|
|
1228
1228
|
}
|
|
1229
1229
|
const refType = PropTypes.oneOfType([PropTypes.func, PropTypes.object]);
|
|
1230
|
-
function composeClasses
|
|
1230
|
+
function composeClasses(slots, getUtilityClass, classes = void 0) {
|
|
1231
1231
|
const output = {};
|
|
1232
1232
|
for (const slotName in slots) {
|
|
1233
1233
|
const slot = slots[slotName];
|
|
@@ -1429,49 +1429,49 @@ function useSlotProps(parameters) {
|
|
|
1429
1429
|
}, ownerState);
|
|
1430
1430
|
return props;
|
|
1431
1431
|
}
|
|
1432
|
-
function formatMuiErrorMessage
|
|
1432
|
+
function formatMuiErrorMessage(code, ...args) {
|
|
1433
1433
|
const url = new URL(`https://mui.com/production-error/?code=${code}`);
|
|
1434
1434
|
args.forEach((arg2) => url.searchParams.append("args[]", arg2));
|
|
1435
1435
|
return `Minified MUI error #${code}; visit ${url} for the full message.`;
|
|
1436
1436
|
}
|
|
1437
|
-
function capitalize
|
|
1437
|
+
function capitalize(string) {
|
|
1438
1438
|
if (typeof string !== "string") {
|
|
1439
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage
|
|
1439
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage(7));
|
|
1440
1440
|
}
|
|
1441
1441
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
1442
1442
|
}
|
|
1443
|
-
function isPlainObject
|
|
1443
|
+
function isPlainObject(item) {
|
|
1444
1444
|
if (typeof item !== "object" || item === null) {
|
|
1445
1445
|
return false;
|
|
1446
1446
|
}
|
|
1447
1447
|
const prototype = Object.getPrototypeOf(item);
|
|
1448
1448
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
|
|
1449
1449
|
}
|
|
1450
|
-
function deepClone
|
|
1451
|
-
if (/* @__PURE__ */ React__namespace.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject
|
|
1450
|
+
function deepClone(source) {
|
|
1451
|
+
if (/* @__PURE__ */ React__namespace.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
|
|
1452
1452
|
return source;
|
|
1453
1453
|
}
|
|
1454
1454
|
const output = {};
|
|
1455
1455
|
Object.keys(source).forEach((key) => {
|
|
1456
|
-
output[key] = deepClone
|
|
1456
|
+
output[key] = deepClone(source[key]);
|
|
1457
1457
|
});
|
|
1458
1458
|
return output;
|
|
1459
1459
|
}
|
|
1460
|
-
function deepmerge
|
|
1460
|
+
function deepmerge(target, source, options = {
|
|
1461
1461
|
clone: true
|
|
1462
1462
|
}) {
|
|
1463
1463
|
const output = options.clone ? {
|
|
1464
1464
|
...target
|
|
1465
1465
|
} : target;
|
|
1466
|
-
if (isPlainObject
|
|
1466
|
+
if (isPlainObject(target) && isPlainObject(source)) {
|
|
1467
1467
|
Object.keys(source).forEach((key) => {
|
|
1468
1468
|
if (/* @__PURE__ */ React__namespace.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
|
|
1469
1469
|
output[key] = source[key];
|
|
1470
|
-
} else if (isPlainObject
|
|
1471
|
-
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject
|
|
1472
|
-
output[key] = deepmerge
|
|
1470
|
+
} else if (isPlainObject(source[key]) && // Avoid prototype pollution
|
|
1471
|
+
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
|
|
1472
|
+
output[key] = deepmerge(target[key], source[key], options);
|
|
1473
1473
|
} else if (options.clone) {
|
|
1474
|
-
output[key] = isPlainObject
|
|
1474
|
+
output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
|
|
1475
1475
|
} else {
|
|
1476
1476
|
output[key] = source[key];
|
|
1477
1477
|
}
|
|
@@ -1483,7 +1483,7 @@ function merge(acc, item) {
|
|
|
1483
1483
|
if (!item) {
|
|
1484
1484
|
return acc;
|
|
1485
1485
|
}
|
|
1486
|
-
return deepmerge
|
|
1486
|
+
return deepmerge(acc, item, {
|
|
1487
1487
|
clone: false
|
|
1488
1488
|
// No need to clone deep, it's way faster.
|
|
1489
1489
|
});
|
|
@@ -1516,11 +1516,8 @@ function getContainerQuery(theme, shorthand) {
|
|
|
1516
1516
|
const matches = shorthand.match(/^@([^/]+)?\/?(.+)?$/);
|
|
1517
1517
|
if (!matches) {
|
|
1518
1518
|
if (process.env.NODE_ENV !== "production") {
|
|
1519
|
-
throw (
|
|
1520
|
-
|
|
1521
|
-
new Error(`MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
1522
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`)
|
|
1523
|
-
);
|
|
1519
|
+
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>\`.
|
|
1520
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage(18, `(${shorthand})`));
|
|
1524
1521
|
}
|
|
1525
1522
|
return null;
|
|
1526
1523
|
}
|
|
@@ -1633,7 +1630,7 @@ function removeUnusedBreakpoints(breakpointKeys, style2) {
|
|
|
1633
1630
|
}
|
|
1634
1631
|
function mergeBreakpointsInOrder(breakpointsInput, ...styles2) {
|
|
1635
1632
|
const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);
|
|
1636
|
-
const mergedOutput = [emptyBreakpoints, ...styles2].reduce((prev2, next2) => deepmerge
|
|
1633
|
+
const mergedOutput = [emptyBreakpoints, ...styles2].reduce((prev2, next2) => deepmerge(prev2, next2), {});
|
|
1637
1634
|
return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);
|
|
1638
1635
|
}
|
|
1639
1636
|
function computeBreakpointsBase(breakpointValues, themeBreakpoints) {
|
|
@@ -1729,7 +1726,7 @@ function style$2(options) {
|
|
|
1729
1726
|
const styleFromPropValue = (propValueFinal) => {
|
|
1730
1727
|
let value = getStyleValue$1(themeMapping, transform, propValueFinal);
|
|
1731
1728
|
if (propValueFinal === value && typeof propValueFinal === "string") {
|
|
1732
|
-
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize
|
|
1729
|
+
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize(propValueFinal)}`, propValueFinal);
|
|
1733
1730
|
}
|
|
1734
1731
|
if (cssProperty === false) {
|
|
1735
1732
|
return value;
|
|
@@ -2436,7 +2433,7 @@ function unstable_createStyleFunctionSx() {
|
|
|
2436
2433
|
const styleFromPropValue = (propValueFinal) => {
|
|
2437
2434
|
let value = getStyleValue$1(themeMapping, transform, propValueFinal);
|
|
2438
2435
|
if (propValueFinal === value && typeof propValueFinal === "string") {
|
|
2439
|
-
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize
|
|
2436
|
+
value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize(propValueFinal)}`, propValueFinal);
|
|
2440
2437
|
}
|
|
2441
2438
|
if (cssProperty === false) {
|
|
2442
2439
|
return value;
|
|
@@ -2540,7 +2537,7 @@ function extendSxProp$1(props) {
|
|
|
2540
2537
|
} else if (typeof inSx === "function") {
|
|
2541
2538
|
finalSx = (...args) => {
|
|
2542
2539
|
const result = inSx(...args);
|
|
2543
|
-
if (!isPlainObject
|
|
2540
|
+
if (!isPlainObject(result)) {
|
|
2544
2541
|
return systemProps;
|
|
2545
2542
|
}
|
|
2546
2543
|
return {
|
|
@@ -3842,7 +3839,7 @@ function createTheme$1(options = {}, ...args) {
|
|
|
3842
3839
|
} = options;
|
|
3843
3840
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
3844
3841
|
const spacing = createSpacing(spacingInput);
|
|
3845
|
-
let muiTheme = deepmerge
|
|
3842
|
+
let muiTheme = deepmerge({
|
|
3846
3843
|
breakpoints,
|
|
3847
3844
|
direction: "ltr",
|
|
3848
3845
|
components: {},
|
|
@@ -3859,7 +3856,7 @@ function createTheme$1(options = {}, ...args) {
|
|
|
3859
3856
|
}, other);
|
|
3860
3857
|
muiTheme = cssContainerQueries(muiTheme);
|
|
3861
3858
|
muiTheme.applyStyles = applyStyles$2;
|
|
3862
|
-
muiTheme = args.reduce((acc, argument) => deepmerge
|
|
3859
|
+
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
|
3863
3860
|
muiTheme.unstable_sxConfig = {
|
|
3864
3861
|
...defaultSxConfig,
|
|
3865
3862
|
...other?.unstable_sxConfig
|
|
@@ -3935,9 +3932,9 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$1.propTypes = {
|
|
|
3935
3932
|
*/
|
|
3936
3933
|
themeId: PropTypes.string
|
|
3937
3934
|
} : void 0;
|
|
3938
|
-
const defaultGenerator
|
|
3939
|
-
const createClassNameGenerator
|
|
3940
|
-
let generate = defaultGenerator
|
|
3935
|
+
const defaultGenerator = (componentName) => componentName;
|
|
3936
|
+
const createClassNameGenerator = () => {
|
|
3937
|
+
let generate = defaultGenerator;
|
|
3941
3938
|
return {
|
|
3942
3939
|
configure(generator) {
|
|
3943
3940
|
generate = generator;
|
|
@@ -3946,11 +3943,11 @@ const createClassNameGenerator$1 = () => {
|
|
|
3946
3943
|
return generate(componentName);
|
|
3947
3944
|
},
|
|
3948
3945
|
reset() {
|
|
3949
|
-
generate = defaultGenerator
|
|
3946
|
+
generate = defaultGenerator;
|
|
3950
3947
|
}
|
|
3951
3948
|
};
|
|
3952
3949
|
};
|
|
3953
|
-
const ClassNameGenerator
|
|
3950
|
+
const ClassNameGenerator = createClassNameGenerator();
|
|
3954
3951
|
function createBox(options = {}) {
|
|
3955
3952
|
const {
|
|
3956
3953
|
themeId,
|
|
@@ -3978,7 +3975,7 @@ function createBox(options = {}) {
|
|
|
3978
3975
|
});
|
|
3979
3976
|
return Box2;
|
|
3980
3977
|
}
|
|
3981
|
-
const globalStateClasses
|
|
3978
|
+
const globalStateClasses = {
|
|
3982
3979
|
active: "active",
|
|
3983
3980
|
checked: "checked",
|
|
3984
3981
|
completed: "completed",
|
|
@@ -3992,9 +3989,16 @@ const globalStateClasses$1 = {
|
|
|
3992
3989
|
required: "required",
|
|
3993
3990
|
selected: "selected"
|
|
3994
3991
|
};
|
|
3995
|
-
function generateUtilityClass
|
|
3996
|
-
const globalStateClass = globalStateClasses
|
|
3997
|
-
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator
|
|
3992
|
+
function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
|
|
3993
|
+
const globalStateClass = globalStateClasses[slot];
|
|
3994
|
+
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
|
|
3995
|
+
}
|
|
3996
|
+
function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
|
|
3997
|
+
const result = {};
|
|
3998
|
+
slots.forEach((slot) => {
|
|
3999
|
+
result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
|
|
4000
|
+
});
|
|
4001
|
+
return result;
|
|
3998
4002
|
}
|
|
3999
4003
|
function getFunctionComponentName(Component, fallback = "") {
|
|
4000
4004
|
return Component.displayName || Component.name || fallback;
|
|
@@ -4173,7 +4177,7 @@ function createStyled(input = {}) {
|
|
|
4173
4177
|
return processStyle(props, style2, props.theme.modularCssLayers ? layerName : void 0);
|
|
4174
4178
|
};
|
|
4175
4179
|
}
|
|
4176
|
-
if (isPlainObject
|
|
4180
|
+
if (isPlainObject(style2)) {
|
|
4177
4181
|
const serialized = preprocessStyles(style2);
|
|
4178
4182
|
return function styleObjectProcessor(props) {
|
|
4179
4183
|
if (!serialized.variants) {
|
|
@@ -4246,7 +4250,7 @@ function createStyled(input = {}) {
|
|
|
4246
4250
|
}
|
|
4247
4251
|
function generateDisplayName(componentName, componentSlot, tag) {
|
|
4248
4252
|
if (componentName) {
|
|
4249
|
-
return `${componentName}${capitalize
|
|
4253
|
+
return `${componentName}${capitalize(componentSlot || "")}`;
|
|
4250
4254
|
}
|
|
4251
4255
|
return `Styled(${getDisplayName(tag)})`;
|
|
4252
4256
|
}
|
|
@@ -4278,7 +4282,7 @@ function lowercaseFirstLetter(string) {
|
|
|
4278
4282
|
return string.charAt(0).toLowerCase() + string.slice(1);
|
|
4279
4283
|
}
|
|
4280
4284
|
const styled$1 = createStyled();
|
|
4281
|
-
function resolveProps
|
|
4285
|
+
function resolveProps(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
4282
4286
|
const output = {
|
|
4283
4287
|
...props
|
|
4284
4288
|
};
|
|
@@ -4304,7 +4308,7 @@ function resolveProps$1(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
|
4304
4308
|
for (const slotKey in defaultSlotProps) {
|
|
4305
4309
|
if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {
|
|
4306
4310
|
const slotPropName = slotKey;
|
|
4307
|
-
output[propName][slotPropName] = resolveProps
|
|
4311
|
+
output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName], mergeClassNameAndStyle);
|
|
4308
4312
|
}
|
|
4309
4313
|
}
|
|
4310
4314
|
}
|
|
@@ -4331,7 +4335,7 @@ function getThemeProps$1(params) {
|
|
|
4331
4335
|
if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {
|
|
4332
4336
|
return props;
|
|
4333
4337
|
}
|
|
4334
|
-
return resolveProps
|
|
4338
|
+
return resolveProps(theme.components[name].defaultProps, props);
|
|
4335
4339
|
}
|
|
4336
4340
|
function useThemeProps$3({
|
|
4337
4341
|
props,
|
|
@@ -4349,7 +4353,7 @@ function useThemeProps$3({
|
|
|
4349
4353
|
props
|
|
4350
4354
|
});
|
|
4351
4355
|
}
|
|
4352
|
-
const useEnhancedEffect
|
|
4356
|
+
const useEnhancedEffect = typeof window !== "undefined" ? React__namespace.useLayoutEffect : React__namespace.useEffect;
|
|
4353
4357
|
function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
|
|
4354
4358
|
const [match2, setMatch] = React__namespace.useState(() => {
|
|
4355
4359
|
if (noSsr && matchMedia) {
|
|
@@ -4360,7 +4364,7 @@ function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSs
|
|
|
4360
4364
|
}
|
|
4361
4365
|
return defaultMatches;
|
|
4362
4366
|
});
|
|
4363
|
-
useEnhancedEffect
|
|
4367
|
+
useEnhancedEffect(() => {
|
|
4364
4368
|
if (!matchMedia) {
|
|
4365
4369
|
return void 0;
|
|
4366
4370
|
}
|
|
@@ -4376,10 +4380,10 @@ function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSs
|
|
|
4376
4380
|
}, [query, matchMedia]);
|
|
4377
4381
|
return match2;
|
|
4378
4382
|
}
|
|
4379
|
-
const safeReact$
|
|
4383
|
+
const safeReact$1 = {
|
|
4380
4384
|
...React__namespace
|
|
4381
4385
|
};
|
|
4382
|
-
const maybeReactUseSyncExternalStore = safeReact$
|
|
4386
|
+
const maybeReactUseSyncExternalStore = safeReact$1.useSyncExternalStore;
|
|
4383
4387
|
function useMediaQueryNew(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
|
|
4384
4388
|
const getDefaultSnapshot = React__namespace.useCallback(() => defaultMatches, [defaultMatches]);
|
|
4385
4389
|
const getServerSnapshot = React__namespace.useMemo(() => {
|
|
@@ -4494,7 +4498,7 @@ function decomposeColor(color2) {
|
|
|
4494
4498
|
const type = color2.substring(0, marker);
|
|
4495
4499
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(type)) {
|
|
4496
4500
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${color2}\` color.
|
|
4497
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage
|
|
4501
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage(9, color2));
|
|
4498
4502
|
}
|
|
4499
4503
|
let values2 = color2.substring(marker + 1, color2.length - 1);
|
|
4500
4504
|
let colorSpace;
|
|
@@ -4506,7 +4510,7 @@ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
|
|
4506
4510
|
}
|
|
4507
4511
|
if (!["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(colorSpace)) {
|
|
4508
4512
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${colorSpace}\` color space.
|
|
4509
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage
|
|
4513
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage(10, colorSpace));
|
|
4510
4514
|
}
|
|
4511
4515
|
} else {
|
|
4512
4516
|
values2 = values2.split(",");
|
|
@@ -4680,14 +4684,14 @@ function private_safeEmphasize(color2, coefficient, warning) {
|
|
|
4680
4684
|
return color2;
|
|
4681
4685
|
}
|
|
4682
4686
|
}
|
|
4683
|
-
const specialProperty
|
|
4684
|
-
function exactProp
|
|
4687
|
+
const specialProperty = "exact-prop: ";
|
|
4688
|
+
function exactProp(propTypes2) {
|
|
4685
4689
|
if (process.env.NODE_ENV === "production") {
|
|
4686
4690
|
return propTypes2;
|
|
4687
4691
|
}
|
|
4688
4692
|
return {
|
|
4689
4693
|
...propTypes2,
|
|
4690
|
-
[specialProperty
|
|
4694
|
+
[specialProperty]: (props) => {
|
|
4691
4695
|
const unsupportedProps = Object.keys(props).filter((prop) => !propTypes2.hasOwnProperty(prop));
|
|
4692
4696
|
if (unsupportedProps.length > 0) {
|
|
4693
4697
|
return new Error(`The following props are not supported: ${unsupportedProps.map((prop) => `\`${prop}\``).join(", ")}. Please remove them.`);
|
|
@@ -4760,7 +4764,7 @@ process.env.NODE_ENV !== "production" ? ThemeProvider$2.propTypes = {
|
|
|
4760
4764
|
theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired
|
|
4761
4765
|
} : void 0;
|
|
4762
4766
|
if (process.env.NODE_ENV !== "production") {
|
|
4763
|
-
process.env.NODE_ENV !== "production" ? ThemeProvider$2.propTypes = exactProp
|
|
4767
|
+
process.env.NODE_ENV !== "production" ? ThemeProvider$2.propTypes = exactProp(ThemeProvider$2.propTypes) : void 0;
|
|
4764
4768
|
}
|
|
4765
4769
|
const PropsContext = /* @__PURE__ */ React__namespace.createContext(void 0);
|
|
4766
4770
|
function DefaultPropsProvider({
|
|
@@ -4797,10 +4801,10 @@ function getThemeProps(params) {
|
|
|
4797
4801
|
}
|
|
4798
4802
|
const config2 = theme.components[name];
|
|
4799
4803
|
if (config2.defaultProps) {
|
|
4800
|
-
return resolveProps
|
|
4804
|
+
return resolveProps(config2.defaultProps, props, theme.components.mergeClassNameAndStyle);
|
|
4801
4805
|
}
|
|
4802
4806
|
if (!config2.styleOverrides && !config2.variants) {
|
|
4803
|
-
return resolveProps
|
|
4807
|
+
return resolveProps(config2, props, theme.components.mergeClassNameAndStyle);
|
|
4804
4808
|
}
|
|
4805
4809
|
return props;
|
|
4806
4810
|
}
|
|
@@ -4817,32 +4821,32 @@ function useDefaultProps$1({
|
|
|
4817
4821
|
}
|
|
4818
4822
|
});
|
|
4819
4823
|
}
|
|
4820
|
-
let globalId
|
|
4821
|
-
function useGlobalId
|
|
4824
|
+
let globalId = 0;
|
|
4825
|
+
function useGlobalId(idOverride) {
|
|
4822
4826
|
const [defaultId, setDefaultId] = React__namespace.useState(idOverride);
|
|
4823
4827
|
const id = idOverride || defaultId;
|
|
4824
4828
|
React__namespace.useEffect(() => {
|
|
4825
4829
|
if (defaultId == null) {
|
|
4826
|
-
globalId
|
|
4827
|
-
setDefaultId(`mui-${globalId
|
|
4830
|
+
globalId += 1;
|
|
4831
|
+
setDefaultId(`mui-${globalId}`);
|
|
4828
4832
|
}
|
|
4829
4833
|
}, [defaultId]);
|
|
4830
4834
|
return id;
|
|
4831
4835
|
}
|
|
4832
|
-
const safeReact
|
|
4836
|
+
const safeReact = {
|
|
4833
4837
|
...React__namespace
|
|
4834
4838
|
};
|
|
4835
|
-
const maybeReactUseId
|
|
4836
|
-
function useId
|
|
4837
|
-
if (maybeReactUseId
|
|
4838
|
-
const reactId = maybeReactUseId
|
|
4839
|
-
return reactId;
|
|
4839
|
+
const maybeReactUseId = safeReact.useId;
|
|
4840
|
+
function useId(idOverride) {
|
|
4841
|
+
if (maybeReactUseId !== void 0) {
|
|
4842
|
+
const reactId = maybeReactUseId();
|
|
4843
|
+
return idOverride ?? reactId;
|
|
4840
4844
|
}
|
|
4841
|
-
return useGlobalId
|
|
4845
|
+
return useGlobalId(idOverride);
|
|
4842
4846
|
}
|
|
4843
4847
|
function useLayerOrder(theme) {
|
|
4844
4848
|
const upperTheme = useTheme$3();
|
|
4845
|
-
const id = useId
|
|
4849
|
+
const id = useId() || "";
|
|
4846
4850
|
const {
|
|
4847
4851
|
modularCssLayers
|
|
4848
4852
|
} = theme;
|
|
@@ -4854,7 +4858,7 @@ function useLayerOrder(theme) {
|
|
|
4854
4858
|
} else {
|
|
4855
4859
|
layerOrder = `@layer ${layerOrder};`;
|
|
4856
4860
|
}
|
|
4857
|
-
useEnhancedEffect
|
|
4861
|
+
useEnhancedEffect(() => {
|
|
4858
4862
|
const head = document.querySelector("head");
|
|
4859
4863
|
if (!head) {
|
|
4860
4864
|
return;
|
|
@@ -4953,7 +4957,7 @@ process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = {
|
|
|
4953
4957
|
themeId: PropTypes.string
|
|
4954
4958
|
} : void 0;
|
|
4955
4959
|
if (process.env.NODE_ENV !== "production") {
|
|
4956
|
-
process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = exactProp
|
|
4960
|
+
process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = exactProp(ThemeProvider$1.propTypes) : void 0;
|
|
4957
4961
|
}
|
|
4958
4962
|
const arg = {
|
|
4959
4963
|
theme: void 0
|
|
@@ -5444,7 +5448,7 @@ function createCssVarsProvider(options) {
|
|
|
5444
5448
|
return resolveTheme ? resolveTheme(theme) : theme;
|
|
5445
5449
|
}, [restThemeProp, calculatedColorScheme, components, colorSchemes, cssVarPrefix]);
|
|
5446
5450
|
const colorSchemeSelector = restThemeProp.colorSchemeSelector;
|
|
5447
|
-
useEnhancedEffect
|
|
5451
|
+
useEnhancedEffect(() => {
|
|
5448
5452
|
if (colorScheme && colorSchemeNode && colorSchemeSelector && colorSchemeSelector !== "media") {
|
|
5449
5453
|
const selector = colorSchemeSelector;
|
|
5450
5454
|
let rule = colorSchemeSelector;
|
|
@@ -5736,7 +5740,7 @@ function prepareCssVars(theme, parserConfig = {}) {
|
|
|
5736
5740
|
css,
|
|
5737
5741
|
varsWithDefaults
|
|
5738
5742
|
} = cssVarsParser(scheme, parserConfig);
|
|
5739
|
-
themeVars = deepmerge
|
|
5743
|
+
themeVars = deepmerge(themeVars, varsWithDefaults);
|
|
5740
5744
|
colorSchemesMap[key] = {
|
|
5741
5745
|
css,
|
|
5742
5746
|
vars
|
|
@@ -5748,7 +5752,7 @@ function prepareCssVars(theme, parserConfig = {}) {
|
|
|
5748
5752
|
vars,
|
|
5749
5753
|
varsWithDefaults
|
|
5750
5754
|
} = cssVarsParser(defaultScheme, parserConfig);
|
|
5751
|
-
themeVars = deepmerge
|
|
5755
|
+
themeVars = deepmerge(themeVars, varsWithDefaults);
|
|
5752
5756
|
colorSchemesMap[defaultColorScheme] = {
|
|
5753
5757
|
css,
|
|
5754
5758
|
vars
|
|
@@ -5793,7 +5797,7 @@ function prepareCssVars(theme, parserConfig = {}) {
|
|
|
5793
5797
|
Object.entries(colorSchemesMap).forEach(([, {
|
|
5794
5798
|
vars: schemeVars
|
|
5795
5799
|
}]) => {
|
|
5796
|
-
vars = deepmerge
|
|
5800
|
+
vars = deepmerge(vars, schemeVars);
|
|
5797
5801
|
});
|
|
5798
5802
|
return vars;
|
|
5799
5803
|
};
|
|
@@ -5889,26 +5893,6 @@ function createGetColorSchemeSelector(selector) {
|
|
|
5889
5893
|
return "&";
|
|
5890
5894
|
};
|
|
5891
5895
|
}
|
|
5892
|
-
function composeClasses(slots, getUtilityClass, classes = void 0) {
|
|
5893
|
-
const output = {};
|
|
5894
|
-
for (const slotName in slots) {
|
|
5895
|
-
const slot = slots[slotName];
|
|
5896
|
-
let buffer = "";
|
|
5897
|
-
let start2 = true;
|
|
5898
|
-
for (let i = 0; i < slot.length; i += 1) {
|
|
5899
|
-
const value = slot[i];
|
|
5900
|
-
if (value) {
|
|
5901
|
-
buffer += (start2 === true ? "" : " ") + getUtilityClass(value);
|
|
5902
|
-
start2 = false;
|
|
5903
|
-
if (classes && classes[value]) {
|
|
5904
|
-
buffer += " " + classes[value];
|
|
5905
|
-
}
|
|
5906
|
-
}
|
|
5907
|
-
}
|
|
5908
|
-
output[slotName] = buffer;
|
|
5909
|
-
}
|
|
5910
|
-
return output;
|
|
5911
|
-
}
|
|
5912
5896
|
const defaultTheme$4 = createTheme$1();
|
|
5913
5897
|
const defaultCreateStyledComponent$2 = styled$1("div", {
|
|
5914
5898
|
name: "MuiContainer",
|
|
@@ -5917,7 +5901,7 @@ const defaultCreateStyledComponent$2 = styled$1("div", {
|
|
|
5917
5901
|
const {
|
|
5918
5902
|
ownerState
|
|
5919
5903
|
} = props;
|
|
5920
|
-
return [styles2.root, styles2[`maxWidth${capitalize
|
|
5904
|
+
return [styles2.root, styles2[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
|
|
5921
5905
|
}
|
|
5922
5906
|
});
|
|
5923
5907
|
const useThemePropsDefault$2 = (inProps) => useThemeProps$3({
|
|
@@ -5927,7 +5911,7 @@ const useThemePropsDefault$2 = (inProps) => useThemeProps$3({
|
|
|
5927
5911
|
});
|
|
5928
5912
|
const useUtilityClasses$1X = (ownerState, componentName) => {
|
|
5929
5913
|
const getContainerUtilityClass2 = (slot) => {
|
|
5930
|
-
return generateUtilityClass
|
|
5914
|
+
return generateUtilityClass(componentName, slot);
|
|
5931
5915
|
};
|
|
5932
5916
|
const {
|
|
5933
5917
|
classes,
|
|
@@ -5936,7 +5920,7 @@ const useUtilityClasses$1X = (ownerState, componentName) => {
|
|
|
5936
5920
|
maxWidth: maxWidth2
|
|
5937
5921
|
} = ownerState;
|
|
5938
5922
|
const slots = {
|
|
5939
|
-
root: ["root", maxWidth2 && `maxWidth${capitalize
|
|
5923
|
+
root: ["root", maxWidth2 && `maxWidth${capitalize(String(maxWidth2))}`, fixed && "fixed", disableGutters && "disableGutters"]
|
|
5940
5924
|
};
|
|
5941
5925
|
return composeClasses(slots, getContainerUtilityClass2, classes);
|
|
5942
5926
|
};
|
|
@@ -6039,7 +6023,7 @@ function createContainer(options = {}) {
|
|
|
6039
6023
|
} : void 0;
|
|
6040
6024
|
return Container2;
|
|
6041
6025
|
}
|
|
6042
|
-
function isMuiElement
|
|
6026
|
+
function isMuiElement(element, muiNames) {
|
|
6043
6027
|
return /* @__PURE__ */ React__namespace.isValidElement(element) && muiNames.indexOf(
|
|
6044
6028
|
// For server components `muiName` is available in element.type._payload.value.muiName
|
|
6045
6029
|
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
@@ -6340,7 +6324,7 @@ function createGrid(options = {}) {
|
|
|
6340
6324
|
const slots = {
|
|
6341
6325
|
root: ["root", container && "container", wrap !== "wrap" && `wrap-xs-${String(wrap)}`, ...generateDirectionClasses(direction), ...generateSizeClassNames(size), ...container ? generateSpacingClassNames(spacing, theme.breakpoints.keys[0]) : []]
|
|
6342
6326
|
};
|
|
6343
|
-
return composeClasses(slots, (slot) => generateUtilityClass
|
|
6327
|
+
return composeClasses(slots, (slot) => generateUtilityClass(componentName, slot), {});
|
|
6344
6328
|
};
|
|
6345
6329
|
function parseResponsiveProp(propValue, breakpoints, shouldUseValue = () => true) {
|
|
6346
6330
|
const parsedProp = {};
|
|
@@ -6414,7 +6398,7 @@ function createGrid(options = {}) {
|
|
|
6414
6398
|
className: clsx(classes.root, className),
|
|
6415
6399
|
...other,
|
|
6416
6400
|
children: React__namespace.Children.map(children, (child) => {
|
|
6417
|
-
if (/* @__PURE__ */ React__namespace.isValidElement(child) && isMuiElement
|
|
6401
|
+
if (/* @__PURE__ */ React__namespace.isValidElement(child) && isMuiElement(child, ["Grid"]) && container && child.props.container) {
|
|
6418
6402
|
return /* @__PURE__ */ React__namespace.cloneElement(child, {
|
|
6419
6403
|
unstable_level: child.props?.unstable_level ?? level + 1
|
|
6420
6404
|
});
|
|
@@ -6531,7 +6515,7 @@ const style = ({
|
|
|
6531
6515
|
}
|
|
6532
6516
|
};
|
|
6533
6517
|
};
|
|
6534
|
-
styles2 = deepmerge
|
|
6518
|
+
styles2 = deepmerge(styles2, handleBreakpoints({
|
|
6535
6519
|
theme
|
|
6536
6520
|
}, spacingValues, styleFromPropValue));
|
|
6537
6521
|
}
|
|
@@ -6549,7 +6533,7 @@ function createStack(options = {}) {
|
|
|
6549
6533
|
const slots = {
|
|
6550
6534
|
root: ["root"]
|
|
6551
6535
|
};
|
|
6552
|
-
return composeClasses(slots, (slot) => generateUtilityClass
|
|
6536
|
+
return composeClasses(slots, (slot) => generateUtilityClass(componentName, slot), {});
|
|
6553
6537
|
};
|
|
6554
6538
|
const StackRoot = createStyledComponent(style);
|
|
6555
6539
|
const Stack2 = /* @__PURE__ */ React__namespace.forwardRef(function Grid2(inProps, ref) {
|
|
@@ -6589,50 +6573,6 @@ function createStack(options = {}) {
|
|
|
6589
6573
|
} : void 0;
|
|
6590
6574
|
return Stack2;
|
|
6591
6575
|
}
|
|
6592
|
-
function formatMuiErrorMessage(code, ...args) {
|
|
6593
|
-
const url = new URL(`https://mui.com/production-error/?code=${code}`);
|
|
6594
|
-
args.forEach((arg2) => url.searchParams.append("args[]", arg2));
|
|
6595
|
-
return `Minified MUI error #${code}; visit ${url} for the full message.`;
|
|
6596
|
-
}
|
|
6597
|
-
function isPlainObject(item) {
|
|
6598
|
-
if (typeof item !== "object" || item === null) {
|
|
6599
|
-
return false;
|
|
6600
|
-
}
|
|
6601
|
-
const prototype = Object.getPrototypeOf(item);
|
|
6602
|
-
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
|
|
6603
|
-
}
|
|
6604
|
-
function deepClone(source) {
|
|
6605
|
-
if (/* @__PURE__ */ React__namespace.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
|
|
6606
|
-
return source;
|
|
6607
|
-
}
|
|
6608
|
-
const output = {};
|
|
6609
|
-
Object.keys(source).forEach((key) => {
|
|
6610
|
-
output[key] = deepClone(source[key]);
|
|
6611
|
-
});
|
|
6612
|
-
return output;
|
|
6613
|
-
}
|
|
6614
|
-
function deepmerge(target, source, options = {
|
|
6615
|
-
clone: true
|
|
6616
|
-
}) {
|
|
6617
|
-
const output = options.clone ? {
|
|
6618
|
-
...target
|
|
6619
|
-
} : target;
|
|
6620
|
-
if (isPlainObject(target) && isPlainObject(source)) {
|
|
6621
|
-
Object.keys(source).forEach((key) => {
|
|
6622
|
-
if (/* @__PURE__ */ React__namespace.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
|
|
6623
|
-
output[key] = source[key];
|
|
6624
|
-
} else if (isPlainObject(source[key]) && // Avoid prototype pollution
|
|
6625
|
-
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
|
|
6626
|
-
output[key] = deepmerge(target[key], source[key], options);
|
|
6627
|
-
} else if (options.clone) {
|
|
6628
|
-
output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
|
|
6629
|
-
} else {
|
|
6630
|
-
output[key] = source[key];
|
|
6631
|
-
}
|
|
6632
|
-
});
|
|
6633
|
-
}
|
|
6634
|
-
return output;
|
|
6635
|
-
}
|
|
6636
6576
|
const common = {
|
|
6637
6577
|
black: "#000",
|
|
6638
6578
|
white: "#fff"
|
|
@@ -7086,40 +7026,6 @@ function prepareTypographyVars(typography) {
|
|
|
7086
7026
|
});
|
|
7087
7027
|
return vars;
|
|
7088
7028
|
}
|
|
7089
|
-
const defaultGenerator = (componentName) => componentName;
|
|
7090
|
-
const createClassNameGenerator = () => {
|
|
7091
|
-
let generate = defaultGenerator;
|
|
7092
|
-
return {
|
|
7093
|
-
configure(generator) {
|
|
7094
|
-
generate = generator;
|
|
7095
|
-
},
|
|
7096
|
-
generate(componentName) {
|
|
7097
|
-
return generate(componentName);
|
|
7098
|
-
},
|
|
7099
|
-
reset() {
|
|
7100
|
-
generate = defaultGenerator;
|
|
7101
|
-
}
|
|
7102
|
-
};
|
|
7103
|
-
};
|
|
7104
|
-
const ClassNameGenerator = createClassNameGenerator();
|
|
7105
|
-
const globalStateClasses = {
|
|
7106
|
-
active: "active",
|
|
7107
|
-
checked: "checked",
|
|
7108
|
-
completed: "completed",
|
|
7109
|
-
disabled: "disabled",
|
|
7110
|
-
error: "error",
|
|
7111
|
-
expanded: "expanded",
|
|
7112
|
-
focused: "focused",
|
|
7113
|
-
focusVisible: "focusVisible",
|
|
7114
|
-
open: "open",
|
|
7115
|
-
readOnly: "readOnly",
|
|
7116
|
-
required: "required",
|
|
7117
|
-
selected: "selected"
|
|
7118
|
-
};
|
|
7119
|
-
function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
|
|
7120
|
-
const globalStateClass = globalStateClasses[slot];
|
|
7121
|
-
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
|
|
7122
|
-
}
|
|
7123
7029
|
function createMixins(breakpoints, mixins) {
|
|
7124
7030
|
return {
|
|
7125
7031
|
toolbar: {
|
|
@@ -8167,12 +8073,6 @@ function animate(property, element, to, options = {}, cb = () => {
|
|
|
8167
8073
|
requestAnimationFrame(step);
|
|
8168
8074
|
return cancel;
|
|
8169
8075
|
}
|
|
8170
|
-
function capitalize(string) {
|
|
8171
|
-
if (typeof string !== "string") {
|
|
8172
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage(7));
|
|
8173
|
-
}
|
|
8174
|
-
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
8175
|
-
}
|
|
8176
8076
|
function createChainedFunction(...funcs) {
|
|
8177
8077
|
return funcs.reduce((acc, func) => {
|
|
8178
8078
|
if (func == null) {
|
|
@@ -8185,13 +8085,6 @@ function createChainedFunction(...funcs) {
|
|
|
8185
8085
|
}, () => {
|
|
8186
8086
|
});
|
|
8187
8087
|
}
|
|
8188
|
-
function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
|
|
8189
|
-
const result = {};
|
|
8190
|
-
slots.forEach((slot) => {
|
|
8191
|
-
result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
|
|
8192
|
-
});
|
|
8193
|
-
return result;
|
|
8194
|
-
}
|
|
8195
8088
|
function getSvgIconUtilityClass(slot) {
|
|
8196
8089
|
return generateUtilityClass("MuiSvgIcon", slot);
|
|
8197
8090
|
}
|
|
@@ -8205,7 +8098,7 @@ const useUtilityClasses$1W = (ownerState) => {
|
|
|
8205
8098
|
const slots = {
|
|
8206
8099
|
root: ["root", color2 !== "inherit" && `color${capitalize(color2)}`, `fontSize${capitalize(fontSize)}`]
|
|
8207
8100
|
};
|
|
8208
|
-
return composeClasses
|
|
8101
|
+
return composeClasses(slots, getSvgIconUtilityClass, classes);
|
|
8209
8102
|
};
|
|
8210
8103
|
const SvgIconRoot = styled("svg", {
|
|
8211
8104
|
name: "MuiSvgIcon",
|
|
@@ -8441,14 +8334,6 @@ function createSvgIcon(path, displayName) {
|
|
|
8441
8334
|
Component.muiName = SvgIcon.muiName;
|
|
8442
8335
|
return /* @__PURE__ */ React__namespace.memo(/* @__PURE__ */ React__namespace.forwardRef(Component));
|
|
8443
8336
|
}
|
|
8444
|
-
function isMuiElement(element, muiNames) {
|
|
8445
|
-
return /* @__PURE__ */ React__namespace.isValidElement(element) && muiNames.indexOf(
|
|
8446
|
-
// For server components `muiName` is available in element.type._payload.value.muiName
|
|
8447
|
-
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
8448
|
-
// eslint-disable-next-line no-underscore-dangle
|
|
8449
|
-
element.type.muiName ?? element.type?._payload?.value?.muiName
|
|
8450
|
-
) !== -1;
|
|
8451
|
-
}
|
|
8452
8337
|
function ownerDocument(node2) {
|
|
8453
8338
|
return node2 && node2.ownerDocument || document;
|
|
8454
8339
|
}
|
|
@@ -8486,30 +8371,6 @@ function setRef(ref, value) {
|
|
|
8486
8371
|
ref.current = value;
|
|
8487
8372
|
}
|
|
8488
8373
|
}
|
|
8489
|
-
const useEnhancedEffect = typeof window !== "undefined" ? React__namespace.useLayoutEffect : React__namespace.useEffect;
|
|
8490
|
-
let globalId = 0;
|
|
8491
|
-
function useGlobalId(idOverride) {
|
|
8492
|
-
const [defaultId, setDefaultId] = React__namespace.useState(idOverride);
|
|
8493
|
-
const id = idOverride || defaultId;
|
|
8494
|
-
React__namespace.useEffect(() => {
|
|
8495
|
-
if (defaultId == null) {
|
|
8496
|
-
globalId += 1;
|
|
8497
|
-
setDefaultId(`mui-${globalId}`);
|
|
8498
|
-
}
|
|
8499
|
-
}, [defaultId]);
|
|
8500
|
-
return id;
|
|
8501
|
-
}
|
|
8502
|
-
const safeReact = {
|
|
8503
|
-
...React__namespace
|
|
8504
|
-
};
|
|
8505
|
-
const maybeReactUseId = safeReact.useId;
|
|
8506
|
-
function useId(idOverride) {
|
|
8507
|
-
if (maybeReactUseId !== void 0) {
|
|
8508
|
-
const reactId = maybeReactUseId();
|
|
8509
|
-
return idOverride ?? reactId;
|
|
8510
|
-
}
|
|
8511
|
-
return useGlobalId(idOverride);
|
|
8512
|
-
}
|
|
8513
8374
|
function unsupportedProp(props, propName, componentName, location, propFullName) {
|
|
8514
8375
|
if (process.env.NODE_ENV === "production") {
|
|
8515
8376
|
return null;
|
|
@@ -10196,7 +10057,7 @@ const useUtilityClasses$1V = (ownerState) => {
|
|
|
10196
10057
|
const slots = {
|
|
10197
10058
|
root: ["root", disabled && "disabled", focusVisible && "focusVisible"]
|
|
10198
10059
|
};
|
|
10199
|
-
const composedClasses = composeClasses
|
|
10060
|
+
const composedClasses = composeClasses(slots, getButtonBaseUtilityClass, classes);
|
|
10200
10061
|
if (focusVisible && focusVisibleClassName) {
|
|
10201
10062
|
composedClasses.root += ` ${focusVisibleClassName}`;
|
|
10202
10063
|
}
|
|
@@ -10619,7 +10480,7 @@ const useUtilityClasses$1U = (ownerState) => {
|
|
|
10619
10480
|
const slots = {
|
|
10620
10481
|
root: ["root", orientation, disabled && "disabled"]
|
|
10621
10482
|
};
|
|
10622
|
-
return composeClasses
|
|
10483
|
+
return composeClasses(slots, getTabScrollButtonUtilityClass, classes);
|
|
10623
10484
|
};
|
|
10624
10485
|
const TabScrollButtonRoot = styled(ButtonBase, {
|
|
10625
10486
|
name: "MuiTabScrollButton",
|
|
@@ -10883,7 +10744,7 @@ const useUtilityClasses$1T = (ownerState) => {
|
|
|
10883
10744
|
scrollableX: [scrollableX && "scrollableX"],
|
|
10884
10745
|
hideScrollbar: [hideScrollbar && "hideScrollbar"]
|
|
10885
10746
|
};
|
|
10886
|
-
return composeClasses
|
|
10747
|
+
return composeClasses(slots, getTabsUtilityClass, classes);
|
|
10887
10748
|
};
|
|
10888
10749
|
const TabsRoot = styled("div", {
|
|
10889
10750
|
name: "MuiTabs",
|
|
@@ -12168,7 +12029,7 @@ const useUtilityClasses$1S = (ownerState) => {
|
|
|
12168
12029
|
const slots = {
|
|
12169
12030
|
root: ["root", hidden && "hidden"]
|
|
12170
12031
|
};
|
|
12171
|
-
return composeClasses
|
|
12032
|
+
return composeClasses(slots, getTabPanelUtilityClass, classes);
|
|
12172
12033
|
};
|
|
12173
12034
|
const TabPanelRoot = styled("div", {
|
|
12174
12035
|
name: "MuiTabPanel",
|
|
@@ -12273,7 +12134,7 @@ const useUtilityClasses$1R = (ownerState) => {
|
|
|
12273
12134
|
wrapper: ["wrapper", `${orientation}`],
|
|
12274
12135
|
wrapperInner: ["wrapperInner", `${orientation}`]
|
|
12275
12136
|
};
|
|
12276
|
-
return composeClasses
|
|
12137
|
+
return composeClasses(slots, getCollapseUtilityClass, classes);
|
|
12277
12138
|
};
|
|
12278
12139
|
const CollapseRoot = styled("div", {
|
|
12279
12140
|
name: "MuiCollapse",
|
|
@@ -12739,7 +12600,7 @@ const useUtilityClasses$1Q = (ownerState) => {
|
|
|
12739
12600
|
const slots = {
|
|
12740
12601
|
root: ["root", variant, !square && "rounded", variant === "elevation" && `elevation${elevation}`]
|
|
12741
12602
|
};
|
|
12742
|
-
return composeClasses
|
|
12603
|
+
return composeClasses(slots, getPaperUtilityClass, classes);
|
|
12743
12604
|
};
|
|
12744
12605
|
const PaperRoot = styled("div", {
|
|
12745
12606
|
name: "MuiPaper",
|
|
@@ -12904,7 +12765,7 @@ const useUtilityClasses$1P = (ownerState) => {
|
|
|
12904
12765
|
heading: ["heading"],
|
|
12905
12766
|
region: ["region"]
|
|
12906
12767
|
};
|
|
12907
|
-
return composeClasses
|
|
12768
|
+
return composeClasses(slots, getAccordionUtilityClass, classes);
|
|
12908
12769
|
};
|
|
12909
12770
|
const AccordionRoot = styled(Paper, {
|
|
12910
12771
|
name: "MuiAccordion",
|
|
@@ -13215,7 +13076,7 @@ const useUtilityClasses$1O = (ownerState) => {
|
|
|
13215
13076
|
const slots = {
|
|
13216
13077
|
root: ["root", !disableSpacing && "spacing"]
|
|
13217
13078
|
};
|
|
13218
|
-
return composeClasses
|
|
13079
|
+
return composeClasses(slots, getAccordionActionsUtilityClass, classes);
|
|
13219
13080
|
};
|
|
13220
13081
|
const AccordionActionsRoot = styled("div", {
|
|
13221
13082
|
name: "MuiAccordionActions",
|
|
@@ -13300,7 +13161,7 @@ const useUtilityClasses$1N = (ownerState) => {
|
|
|
13300
13161
|
const slots = {
|
|
13301
13162
|
root: ["root"]
|
|
13302
13163
|
};
|
|
13303
|
-
return composeClasses
|
|
13164
|
+
return composeClasses(slots, getAccordionDetailsUtilityClass, classes);
|
|
13304
13165
|
};
|
|
13305
13166
|
const AccordionDetailsRoot = styled("div", {
|
|
13306
13167
|
name: "MuiAccordionDetails",
|
|
@@ -13367,7 +13228,7 @@ const useUtilityClasses$1M = (ownerState) => {
|
|
|
13367
13228
|
content: ["content", expanded && "expanded", !disableGutters && "contentGutters"],
|
|
13368
13229
|
expandIconWrapper: ["expandIconWrapper", expanded && "expanded"]
|
|
13369
13230
|
};
|
|
13370
|
-
return composeClasses
|
|
13231
|
+
return composeClasses(slots, getAccordionSummaryUtilityClass, classes);
|
|
13371
13232
|
};
|
|
13372
13233
|
const AccordionSummaryRoot = styled(ButtonBase, {
|
|
13373
13234
|
name: "MuiAccordionSummary",
|
|
@@ -13631,7 +13492,7 @@ const useUtilityClasses$1L = (ownerState) => {
|
|
|
13631
13492
|
const slots = {
|
|
13632
13493
|
root: ["root", variant, ownerState.align !== "inherit" && `align${capitalize(align)}`, gutterBottom && "gutterBottom", noWrap && "noWrap", paragraph && "paragraph"]
|
|
13633
13494
|
};
|
|
13634
|
-
return composeClasses
|
|
13495
|
+
return composeClasses(slots, getTypographyUtilityClass, classes);
|
|
13635
13496
|
};
|
|
13636
13497
|
const TypographyRoot = styled("span", {
|
|
13637
13498
|
name: "MuiTypography",
|
|
@@ -13871,7 +13732,7 @@ const useUtilityClasses$1K = (ownerState) => {
|
|
|
13871
13732
|
const slots = {
|
|
13872
13733
|
root: ["root"]
|
|
13873
13734
|
};
|
|
13874
|
-
return composeClasses
|
|
13735
|
+
return composeClasses(slots, getAlertTitleUtilityClass, classes);
|
|
13875
13736
|
};
|
|
13876
13737
|
const AlertTitleRoot = styled(Typography, {
|
|
13877
13738
|
name: "MuiAlertTitle",
|
|
@@ -13939,7 +13800,7 @@ const useUtilityClasses$1J = (ownerState) => {
|
|
|
13939
13800
|
const slots = {
|
|
13940
13801
|
root: ["root", `color${capitalize(color2)}`, `position${capitalize(position2)}`]
|
|
13941
13802
|
};
|
|
13942
|
-
return composeClasses
|
|
13803
|
+
return composeClasses(slots, getAppBarUtilityClass, classes);
|
|
13943
13804
|
};
|
|
13944
13805
|
const joinVars = (var1, var2) => var1 ? `${var1?.replace(")", "")}, ${var2})` : var2;
|
|
13945
13806
|
const AppBarRoot = styled(Paper, {
|
|
@@ -16499,22 +16360,6 @@ function getReactElementRef(element) {
|
|
|
16499
16360
|
}
|
|
16500
16361
|
return element?.ref || null;
|
|
16501
16362
|
}
|
|
16502
|
-
const specialProperty = "exact-prop: ";
|
|
16503
|
-
function exactProp(propTypes2) {
|
|
16504
|
-
if (process.env.NODE_ENV === "production") {
|
|
16505
|
-
return propTypes2;
|
|
16506
|
-
}
|
|
16507
|
-
return {
|
|
16508
|
-
...propTypes2,
|
|
16509
|
-
[specialProperty]: (props) => {
|
|
16510
|
-
const unsupportedProps = Object.keys(props).filter((prop) => !propTypes2.hasOwnProperty(prop));
|
|
16511
|
-
if (unsupportedProps.length > 0) {
|
|
16512
|
-
return new Error(`The following props are not supported: ${unsupportedProps.map((prop) => `\`${prop}\``).join(", ")}. Please remove them.`);
|
|
16513
|
-
}
|
|
16514
|
-
return null;
|
|
16515
|
-
}
|
|
16516
|
-
};
|
|
16517
|
-
}
|
|
16518
16363
|
function getContainer$1(container) {
|
|
16519
16364
|
return typeof container === "function" ? container() : container;
|
|
16520
16365
|
}
|
|
@@ -16617,7 +16462,7 @@ const useUtilityClasses$1I = (ownerState) => {
|
|
|
16617
16462
|
const slots = {
|
|
16618
16463
|
root: ["root"]
|
|
16619
16464
|
};
|
|
16620
|
-
return composeClasses
|
|
16465
|
+
return composeClasses(slots, getPopperUtilityClass, classes);
|
|
16621
16466
|
};
|
|
16622
16467
|
const defaultPopperOptions = {};
|
|
16623
16468
|
const PopperTooltip = /* @__PURE__ */ React__namespace.forwardRef(function PopperTooltip2(props, forwardedRef) {
|
|
@@ -17129,7 +16974,7 @@ const useUtilityClasses$1H = (ownerState) => {
|
|
|
17129
16974
|
const slots = {
|
|
17130
16975
|
root: ["root", color2 !== "default" && `color${capitalize(color2)}`, !disableGutters && "gutters", inset && "inset", !disableSticky && "sticky"]
|
|
17131
16976
|
};
|
|
17132
|
-
return composeClasses
|
|
16977
|
+
return composeClasses(slots, getListSubheaderUtilityClass, classes);
|
|
17133
16978
|
};
|
|
17134
16979
|
const ListSubheaderRoot = styled("li", {
|
|
17135
16980
|
name: "MuiListSubheader",
|
|
@@ -17321,7 +17166,7 @@ const useUtilityClasses$1G = (ownerState) => {
|
|
|
17321
17166
|
track: ["track"],
|
|
17322
17167
|
circle: ["circle", `circle${capitalize(variant)}`, disableShrink && "circleDisableShrink"]
|
|
17323
17168
|
};
|
|
17324
|
-
return composeClasses
|
|
17169
|
+
return composeClasses(slots, getCircularProgressUtilityClass, classes);
|
|
17325
17170
|
};
|
|
17326
17171
|
const CircularProgressRoot = styled("span", {
|
|
17327
17172
|
name: "MuiCircularProgress",
|
|
@@ -17580,7 +17425,7 @@ const useUtilityClasses$1F = (ownerState) => {
|
|
|
17580
17425
|
loadingIndicator: ["loadingIndicator"],
|
|
17581
17426
|
loadingWrapper: ["loadingWrapper"]
|
|
17582
17427
|
};
|
|
17583
|
-
return composeClasses
|
|
17428
|
+
return composeClasses(slots, getIconButtonUtilityClass, classes);
|
|
17584
17429
|
};
|
|
17585
17430
|
const IconButtonRoot = styled(ButtonBase, {
|
|
17586
17431
|
name: "MuiIconButton",
|
|
@@ -17884,7 +17729,7 @@ const useUtilityClasses$1E = (ownerState) => {
|
|
|
17884
17729
|
icon: ["icon", `icon${capitalize(size)}`, `iconColor${capitalize(iconColor)}`],
|
|
17885
17730
|
deleteIcon: ["deleteIcon", `deleteIcon${capitalize(size)}`, `deleteIconColor${capitalize(color2)}`, `deleteIcon${capitalize(variant)}Color${capitalize(color2)}`]
|
|
17886
17731
|
};
|
|
17887
|
-
return composeClasses
|
|
17732
|
+
return composeClasses(slots, getChipUtilityClass, classes);
|
|
17888
17733
|
};
|
|
17889
17734
|
const ChipRoot = styled("div", {
|
|
17890
17735
|
name: "MuiChip",
|
|
@@ -18746,7 +18591,7 @@ const useUtilityClasses$1D = (ownerState) => {
|
|
|
18746
18591
|
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"],
|
|
18747
18592
|
input: ["input", disabled && "disabled", type === "search" && "inputTypeSearch", multiline && "inputMultiline", size === "small" && "inputSizeSmall", hiddenLabel && "inputHiddenLabel", startAdornment && "inputAdornedStart", endAdornment && "inputAdornedEnd", readOnly && "readOnly"]
|
|
18748
18593
|
};
|
|
18749
|
-
return composeClasses
|
|
18594
|
+
return composeClasses(slots, getInputBaseUtilityClass, classes);
|
|
18750
18595
|
};
|
|
18751
18596
|
const InputBaseRoot = styled("div", {
|
|
18752
18597
|
name: "MuiInputBase",
|
|
@@ -19483,7 +19328,7 @@ const useUtilityClasses$1C = (ownerState) => {
|
|
|
19483
19328
|
groupLabel: ["groupLabel"],
|
|
19484
19329
|
groupUl: ["groupUl"]
|
|
19485
19330
|
};
|
|
19486
|
-
return composeClasses
|
|
19331
|
+
return composeClasses(slots, getAutocompleteUtilityClass, classes);
|
|
19487
19332
|
};
|
|
19488
19333
|
const AutocompleteRoot = styled("div", {
|
|
19489
19334
|
name: "MuiAutocomplete",
|
|
@@ -20636,7 +20481,7 @@ const useUtilityClasses$1B = (ownerState) => {
|
|
|
20636
20481
|
img: ["img"],
|
|
20637
20482
|
fallback: ["fallback"]
|
|
20638
20483
|
};
|
|
20639
|
-
return composeClasses
|
|
20484
|
+
return composeClasses(slots, getAvatarUtilityClass, classes);
|
|
20640
20485
|
};
|
|
20641
20486
|
const AvatarRoot = styled("div", {
|
|
20642
20487
|
name: "MuiAvatar",
|
|
@@ -21152,7 +20997,7 @@ const useUtilityClasses$1A = (ownerState) => {
|
|
|
21152
20997
|
const slots = {
|
|
21153
20998
|
root: ["root", invisible && "invisible"]
|
|
21154
20999
|
};
|
|
21155
|
-
return composeClasses
|
|
21000
|
+
return composeClasses(slots, getBackdropUtilityClass, classes);
|
|
21156
21001
|
};
|
|
21157
21002
|
const BackdropRoot = styled("div", {
|
|
21158
21003
|
name: "MuiBackdrop",
|
|
@@ -21409,7 +21254,7 @@ const useUtilityClasses$1z = (ownerState) => {
|
|
|
21409
21254
|
root: ["root"],
|
|
21410
21255
|
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)}`]
|
|
21411
21256
|
};
|
|
21412
|
-
return composeClasses
|
|
21257
|
+
return composeClasses(slots, getBadgeUtilityClass, classes);
|
|
21413
21258
|
};
|
|
21414
21259
|
const BadgeRoot = styled("span", {
|
|
21415
21260
|
name: "MuiBadge",
|
|
@@ -21930,7 +21775,7 @@ const useUtilityClasses$1y = (ownerState) => {
|
|
|
21930
21775
|
ol: ["ol"],
|
|
21931
21776
|
separator: ["separator"]
|
|
21932
21777
|
};
|
|
21933
|
-
return composeClasses
|
|
21778
|
+
return composeClasses(slots, getBreadcrumbsUtilityClass, classes);
|
|
21934
21779
|
};
|
|
21935
21780
|
const BreadcrumbsRoot = styled(Typography, {
|
|
21936
21781
|
name: "MuiBreadcrumbs",
|
|
@@ -22188,7 +22033,7 @@ const useUtilityClasses$1x = (ownerState) => {
|
|
|
22188
22033
|
lastButton: ["lastButton"],
|
|
22189
22034
|
middleButton: ["middleButton"]
|
|
22190
22035
|
};
|
|
22191
|
-
return composeClasses
|
|
22036
|
+
return composeClasses(slots, getButtonGroupUtilityClass, classes);
|
|
22192
22037
|
};
|
|
22193
22038
|
const ButtonGroupRoot = styled("div", {
|
|
22194
22039
|
name: "MuiButtonGroup",
|
|
@@ -22529,7 +22374,7 @@ const useUtilityClasses$1w = (ownerState) => {
|
|
|
22529
22374
|
const slots = {
|
|
22530
22375
|
root: ["root"]
|
|
22531
22376
|
};
|
|
22532
|
-
return composeClasses
|
|
22377
|
+
return composeClasses(slots, getCardUtilityClass, classes);
|
|
22533
22378
|
};
|
|
22534
22379
|
const CardRoot = styled(Paper, {
|
|
22535
22380
|
name: "MuiCard",
|
|
@@ -22604,7 +22449,7 @@ const useUtilityClasses$1v = (ownerState) => {
|
|
|
22604
22449
|
root: ["root"],
|
|
22605
22450
|
focusHighlight: ["focusHighlight"]
|
|
22606
22451
|
};
|
|
22607
|
-
return composeClasses
|
|
22452
|
+
return composeClasses(slots, getCardActionAreaUtilityClass, classes);
|
|
22608
22453
|
};
|
|
22609
22454
|
const CardActionAreaRoot = styled(ButtonBase, {
|
|
22610
22455
|
name: "MuiCardActionArea",
|
|
@@ -22747,7 +22592,7 @@ const useUtilityClasses$1u = (ownerState) => {
|
|
|
22747
22592
|
const slots = {
|
|
22748
22593
|
root: ["root", !disableSpacing && "spacing"]
|
|
22749
22594
|
};
|
|
22750
|
-
return composeClasses
|
|
22595
|
+
return composeClasses(slots, getCardActionsUtilityClass, classes);
|
|
22751
22596
|
};
|
|
22752
22597
|
const CardActionsRoot = styled("div", {
|
|
22753
22598
|
name: "MuiCardActions",
|
|
@@ -22833,7 +22678,7 @@ const useUtilityClasses$1t = (ownerState) => {
|
|
|
22833
22678
|
const slots = {
|
|
22834
22679
|
root: ["root"]
|
|
22835
22680
|
};
|
|
22836
|
-
return composeClasses
|
|
22681
|
+
return composeClasses(slots, getCardContentUtilityClass, classes);
|
|
22837
22682
|
};
|
|
22838
22683
|
const CardContentRoot = styled("div", {
|
|
22839
22684
|
name: "MuiCardContent",
|
|
@@ -22910,7 +22755,7 @@ const useUtilityClasses$1s = (ownerState) => {
|
|
|
22910
22755
|
title: ["title"],
|
|
22911
22756
|
subheader: ["subheader"]
|
|
22912
22757
|
};
|
|
22913
|
-
return composeClasses
|
|
22758
|
+
return composeClasses(slots, getCardHeaderUtilityClass, classes);
|
|
22914
22759
|
};
|
|
22915
22760
|
const CardHeaderRoot = styled("div", {
|
|
22916
22761
|
name: "MuiCardHeader",
|
|
@@ -23163,7 +23008,7 @@ const useUtilityClasses$1r = (ownerState) => {
|
|
|
23163
23008
|
const slots = {
|
|
23164
23009
|
root: ["root", isMediaComponent && "media", isImageComponent && "img"]
|
|
23165
23010
|
};
|
|
23166
|
-
return composeClasses
|
|
23011
|
+
return composeClasses(slots, getCardMediaUtilityClass, classes);
|
|
23167
23012
|
};
|
|
23168
23013
|
const CardMediaRoot = styled("div", {
|
|
23169
23014
|
name: "MuiCardMedia",
|
|
@@ -23302,7 +23147,7 @@ const useUtilityClasses$1q = (ownerState) => {
|
|
|
23302
23147
|
root: ["root", checked && "checked", disabled && "disabled", edge && `edge${capitalize(edge)}`],
|
|
23303
23148
|
input: ["input"]
|
|
23304
23149
|
};
|
|
23305
|
-
return composeClasses
|
|
23150
|
+
return composeClasses(slots, getSwitchBaseUtilityClass, classes);
|
|
23306
23151
|
};
|
|
23307
23152
|
const SwitchBaseRoot = styled(ButtonBase, {
|
|
23308
23153
|
name: "MuiSwitchBase"
|
|
@@ -23647,7 +23492,7 @@ const useUtilityClasses$1p = (ownerState) => {
|
|
|
23647
23492
|
const slots = {
|
|
23648
23493
|
root: ["root", indeterminate && "indeterminate", `color${capitalize(color2)}`, `size${capitalize(size)}`]
|
|
23649
23494
|
};
|
|
23650
|
-
const composedClasses = composeClasses
|
|
23495
|
+
const composedClasses = composeClasses(slots, getCheckboxUtilityClass, classes);
|
|
23651
23496
|
return {
|
|
23652
23497
|
...classes,
|
|
23653
23498
|
// forward the disabled and checked classes to the SwitchBase
|
|
@@ -24294,7 +24139,7 @@ const useUtilityClasses$1o = (ownerState) => {
|
|
|
24294
24139
|
const slots = {
|
|
24295
24140
|
root: ["root", !disableSpacing && "spacing"]
|
|
24296
24141
|
};
|
|
24297
|
-
return composeClasses
|
|
24142
|
+
return composeClasses(slots, getDialogActionsUtilityClass, classes);
|
|
24298
24143
|
};
|
|
24299
24144
|
const DialogActionsRoot = styled("div", {
|
|
24300
24145
|
name: "MuiDialogActions",
|
|
@@ -24387,7 +24232,7 @@ const useUtilityClasses$1n = (ownerState) => {
|
|
|
24387
24232
|
const slots = {
|
|
24388
24233
|
root: ["root", dividers && "dividers"]
|
|
24389
24234
|
};
|
|
24390
|
-
return composeClasses
|
|
24235
|
+
return composeClasses(slots, getDialogContentUtilityClass, classes);
|
|
24391
24236
|
};
|
|
24392
24237
|
const DialogContentRoot = styled("div", {
|
|
24393
24238
|
name: "MuiDialogContent",
|
|
@@ -24486,7 +24331,7 @@ const useUtilityClasses$1m = (ownerState) => {
|
|
|
24486
24331
|
const slots = {
|
|
24487
24332
|
root: ["root"]
|
|
24488
24333
|
};
|
|
24489
|
-
const composedClasses = composeClasses
|
|
24334
|
+
const composedClasses = composeClasses(slots, getDialogContentTextUtilityClass, classes);
|
|
24490
24335
|
return {
|
|
24491
24336
|
...classes,
|
|
24492
24337
|
// forward classes to the Typography
|
|
@@ -24553,7 +24398,7 @@ const useUtilityClasses$1l = (ownerState) => {
|
|
|
24553
24398
|
const slots = {
|
|
24554
24399
|
root: ["root"]
|
|
24555
24400
|
};
|
|
24556
|
-
return composeClasses
|
|
24401
|
+
return composeClasses(slots, getDialogTitleUtilityClass, classes);
|
|
24557
24402
|
};
|
|
24558
24403
|
const DialogTitleRoot = styled(Typography, {
|
|
24559
24404
|
name: "MuiDialogTitle",
|
|
@@ -24632,7 +24477,7 @@ const useUtilityClasses$1k = (ownerState) => {
|
|
|
24632
24477
|
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"],
|
|
24633
24478
|
wrapper: ["wrapper", orientation === "vertical" && "wrapperVertical"]
|
|
24634
24479
|
};
|
|
24635
|
-
return composeClasses
|
|
24480
|
+
return composeClasses(slots, getDividerUtilityClass, classes);
|
|
24636
24481
|
};
|
|
24637
24482
|
const DividerRoot = styled("div", {
|
|
24638
24483
|
name: "MuiDivider",
|
|
@@ -25547,7 +25392,7 @@ const useUtilityClasses$1j = (ownerState) => {
|
|
|
25547
25392
|
root: ["root", !open && exited && "hidden"],
|
|
25548
25393
|
backdrop: ["backdrop"]
|
|
25549
25394
|
};
|
|
25550
|
-
return composeClasses
|
|
25395
|
+
return composeClasses(slots, getModalUtilityClass, classes);
|
|
25551
25396
|
};
|
|
25552
25397
|
const ModalRoot = styled("div", {
|
|
25553
25398
|
name: "MuiModal",
|
|
@@ -26220,7 +26065,7 @@ const useUtilityClasses$1i = (ownerState) => {
|
|
|
26220
26065
|
modal: ["modal"],
|
|
26221
26066
|
paper: ["paper", `paperAnchor${capitalize(anchor)}`, variant !== "temporary" && `paperAnchorDocked${capitalize(anchor)}`]
|
|
26222
26067
|
};
|
|
26223
|
-
return composeClasses
|
|
26068
|
+
return composeClasses(slots, getDrawerUtilityClass, classes);
|
|
26224
26069
|
};
|
|
26225
26070
|
const DrawerRoot = styled(Modal, {
|
|
26226
26071
|
name: "MuiDrawer",
|
|
@@ -26622,7 +26467,7 @@ const useUtilityClasses$1h = (ownerState) => {
|
|
|
26622
26467
|
const slots = {
|
|
26623
26468
|
root: ["root", margin2 !== "none" && `margin${capitalize(margin2)}`, fullWidth && "fullWidth"]
|
|
26624
26469
|
};
|
|
26625
|
-
return composeClasses
|
|
26470
|
+
return composeClasses(slots, getFormControlUtilityClasses, classes);
|
|
26626
26471
|
};
|
|
26627
26472
|
const FormControlRoot = styled("div", {
|
|
26628
26473
|
name: "MuiFormControl",
|
|
@@ -26891,7 +26736,7 @@ const useUtilityClasses$1g = (ownerState) => {
|
|
|
26891
26736
|
label: ["label", disabled && "disabled"],
|
|
26892
26737
|
asterisk: ["asterisk", error && "error"]
|
|
26893
26738
|
};
|
|
26894
|
-
return composeClasses
|
|
26739
|
+
return composeClasses(slots, getFormControlLabelUtilityClasses, classes);
|
|
26895
26740
|
};
|
|
26896
26741
|
const FormControlLabelRoot = styled("label", {
|
|
26897
26742
|
name: "MuiFormControlLabel",
|
|
@@ -27151,7 +26996,7 @@ const useUtilityClasses$1f = (ownerState) => {
|
|
|
27151
26996
|
const slots = {
|
|
27152
26997
|
root: ["root", row && "row", error && "error"]
|
|
27153
26998
|
};
|
|
27154
|
-
return composeClasses
|
|
26999
|
+
return composeClasses(slots, getFormGroupUtilityClass, classes);
|
|
27155
27000
|
};
|
|
27156
27001
|
const FormGroupRoot = styled("div", {
|
|
27157
27002
|
name: "MuiFormGroup",
|
|
@@ -27250,7 +27095,7 @@ const useUtilityClasses$1e = (ownerState) => {
|
|
|
27250
27095
|
const slots = {
|
|
27251
27096
|
root: ["root", disabled && "disabled", error && "error", size && `size${capitalize(size)}`, contained && "contained", focused && "focused", filled && "filled", required && "required"]
|
|
27252
27097
|
};
|
|
27253
|
-
return composeClasses
|
|
27098
|
+
return composeClasses(slots, getFormHelperTextUtilityClasses, classes);
|
|
27254
27099
|
};
|
|
27255
27100
|
const FormHelperTextRoot = styled("p", {
|
|
27256
27101
|
name: "MuiFormHelperText",
|
|
@@ -27424,7 +27269,7 @@ const useUtilityClasses$1d = (ownerState) => {
|
|
|
27424
27269
|
root: ["root", `color${capitalize(color2)}`, disabled && "disabled", error && "error", filled && "filled", focused && "focused", required && "required"],
|
|
27425
27270
|
asterisk: ["asterisk", error && "error"]
|
|
27426
27271
|
};
|
|
27427
|
-
return composeClasses
|
|
27272
|
+
return composeClasses(slots, getFormLabelUtilityClasses, classes);
|
|
27428
27273
|
};
|
|
27429
27274
|
const FormLabelRoot = styled("label", {
|
|
27430
27275
|
name: "MuiFormLabel",
|
|
@@ -27959,7 +27804,7 @@ const useUtilityClasses$1c = (ownerState) => {
|
|
|
27959
27804
|
root: ["root", !disableUnderline && "underline"],
|
|
27960
27805
|
input: ["input"]
|
|
27961
27806
|
};
|
|
27962
|
-
const composedClasses = composeClasses
|
|
27807
|
+
const composedClasses = composeClasses(slots, getInputUtilityClass, classes);
|
|
27963
27808
|
return {
|
|
27964
27809
|
...classes,
|
|
27965
27810
|
// forward classes to the InputBase
|
|
@@ -28314,7 +28159,7 @@ const useUtilityClasses$1b = (ownerState) => {
|
|
|
28314
28159
|
root: ["root", formControl && "formControl", !disableAnimation && "animated", shrink && "shrink", size && size !== "medium" && `size${capitalize(size)}`, variant],
|
|
28315
28160
|
asterisk: [required && "asterisk"]
|
|
28316
28161
|
};
|
|
28317
|
-
const composedClasses = composeClasses
|
|
28162
|
+
const composedClasses = composeClasses(slots, getInputLabelUtilityClasses, classes);
|
|
28318
28163
|
return {
|
|
28319
28164
|
...classes,
|
|
28320
28165
|
// forward the focused, disabled, etc. classes to the FormLabel
|
|
@@ -28640,7 +28485,7 @@ const useUtilityClasses$1a = (ownerState) => {
|
|
|
28640
28485
|
bar1: ["bar", "bar1", `barColor${capitalize(color2)}`, (variant === "indeterminate" || variant === "query") && "bar1Indeterminate", variant === "determinate" && "bar1Determinate", variant === "buffer" && "bar1Buffer"],
|
|
28641
28486
|
bar2: ["bar", "bar2", variant !== "buffer" && `barColor${capitalize(color2)}`, variant === "buffer" && `color${capitalize(color2)}`, (variant === "indeterminate" || variant === "query") && "bar2Indeterminate", variant === "buffer" && "bar2Buffer"]
|
|
28642
28487
|
};
|
|
28643
|
-
return composeClasses
|
|
28488
|
+
return composeClasses(slots, getLinearProgressUtilityClass, classes);
|
|
28644
28489
|
};
|
|
28645
28490
|
const getColorShade = (theme, color2) => {
|
|
28646
28491
|
if (theme.vars) {
|
|
@@ -29038,7 +28883,7 @@ const useUtilityClasses$19 = (ownerState) => {
|
|
|
29038
28883
|
const slots = {
|
|
29039
28884
|
root: ["root", `underline${capitalize(underline)}`, component === "button" && "button", focusVisible && "focusVisible"]
|
|
29040
28885
|
};
|
|
29041
|
-
return composeClasses
|
|
28886
|
+
return composeClasses(slots, getLinkUtilityClass, classes);
|
|
29042
28887
|
};
|
|
29043
28888
|
const LinkRoot = styled(Typography, {
|
|
29044
28889
|
name: "MuiLink",
|
|
@@ -29308,7 +29153,7 @@ const useUtilityClasses$18 = (ownerState) => {
|
|
|
29308
29153
|
const slots = {
|
|
29309
29154
|
root: ["root", !disablePadding && "padding", dense && "dense", subheader && "subheader"]
|
|
29310
29155
|
};
|
|
29311
|
-
return composeClasses
|
|
29156
|
+
return composeClasses(slots, getListUtilityClass, classes);
|
|
29312
29157
|
};
|
|
29313
29158
|
const ListRoot = styled("ul", {
|
|
29314
29159
|
name: "MuiList",
|
|
@@ -29447,7 +29292,7 @@ const useUtilityClasses$17 = (ownerState) => {
|
|
|
29447
29292
|
const slots = {
|
|
29448
29293
|
root: ["root", dense && "dense", !disableGutters && "gutters", divider && "divider", disabled && "disabled", alignItems === "flex-start" && "alignItemsFlexStart", selected && "selected"]
|
|
29449
29294
|
};
|
|
29450
|
-
const composedClasses = composeClasses
|
|
29295
|
+
const composedClasses = composeClasses(slots, getListItemButtonUtilityClass, classes);
|
|
29451
29296
|
return {
|
|
29452
29297
|
...classes,
|
|
29453
29298
|
...composedClasses
|
|
@@ -29684,7 +29529,7 @@ const useUtilityClasses$16 = (ownerState) => {
|
|
|
29684
29529
|
const slots = {
|
|
29685
29530
|
root: ["root", disableGutters && "disableGutters"]
|
|
29686
29531
|
};
|
|
29687
|
-
return composeClasses
|
|
29532
|
+
return composeClasses(slots, getListItemSecondaryActionClassesUtilityClass, classes);
|
|
29688
29533
|
};
|
|
29689
29534
|
const ListItemSecondaryActionRoot = styled("div", {
|
|
29690
29535
|
name: "MuiListItemSecondaryAction",
|
|
@@ -29775,7 +29620,7 @@ const useUtilityClasses$15 = (ownerState) => {
|
|
|
29775
29620
|
container: ["container"],
|
|
29776
29621
|
secondaryAction: ["secondaryAction"]
|
|
29777
29622
|
};
|
|
29778
|
-
return composeClasses
|
|
29623
|
+
return composeClasses(slots, getListItemUtilityClass, classes);
|
|
29779
29624
|
};
|
|
29780
29625
|
const ListItemRoot = styled("div", {
|
|
29781
29626
|
name: "MuiListItem",
|
|
@@ -30132,7 +29977,7 @@ const useUtilityClasses$14 = (ownerState) => {
|
|
|
30132
29977
|
const slots = {
|
|
30133
29978
|
root: ["root", alignItems === "flex-start" && "alignItemsFlexStart"]
|
|
30134
29979
|
};
|
|
30135
|
-
return composeClasses
|
|
29980
|
+
return composeClasses(slots, getListItemIconUtilityClass, classes);
|
|
30136
29981
|
};
|
|
30137
29982
|
const ListItemIconRoot = styled("div", {
|
|
30138
29983
|
name: "MuiListItemIcon",
|
|
@@ -30221,7 +30066,7 @@ const useUtilityClasses$13 = (ownerState) => {
|
|
|
30221
30066
|
primary: ["primary"],
|
|
30222
30067
|
secondary: ["secondary"]
|
|
30223
30068
|
};
|
|
30224
|
-
return composeClasses
|
|
30069
|
+
return composeClasses(slots, getListItemTextUtilityClass, classes);
|
|
30225
30070
|
};
|
|
30226
30071
|
const ListItemTextRoot = styled("div", {
|
|
30227
30072
|
name: "MuiListItemText",
|
|
@@ -30704,7 +30549,7 @@ const useUtilityClasses$12 = (ownerState) => {
|
|
|
30704
30549
|
root: ["root"],
|
|
30705
30550
|
paper: ["paper"]
|
|
30706
30551
|
};
|
|
30707
|
-
return composeClasses
|
|
30552
|
+
return composeClasses(slots, getPopoverUtilityClass, classes);
|
|
30708
30553
|
};
|
|
30709
30554
|
const PopoverRoot = styled(Modal, {
|
|
30710
30555
|
name: "MuiPopover",
|
|
@@ -31220,7 +31065,7 @@ const useUtilityClasses$11 = (ownerState) => {
|
|
|
31220
31065
|
paper: ["paper"],
|
|
31221
31066
|
list: ["list"]
|
|
31222
31067
|
};
|
|
31223
|
-
return composeClasses
|
|
31068
|
+
return composeClasses(slots, getMenuUtilityClass, classes);
|
|
31224
31069
|
};
|
|
31225
31070
|
const MenuRoot = styled(Popover, {
|
|
31226
31071
|
shouldForwardProp: (prop) => rootShouldForwardProp(prop) || prop === "classes",
|
|
@@ -31535,7 +31380,7 @@ const useUtilityClasses$10 = (ownerState) => {
|
|
|
31535
31380
|
const slots = {
|
|
31536
31381
|
root: ["root", dense && "dense", disabled && "disabled", !disableGutters && "gutters", divider && "divider", selected && "selected"]
|
|
31537
31382
|
};
|
|
31538
|
-
const composedClasses = composeClasses
|
|
31383
|
+
const composedClasses = composeClasses(slots, getMenuItemUtilityClass, classes);
|
|
31539
31384
|
return {
|
|
31540
31385
|
...classes,
|
|
31541
31386
|
...composedClasses
|
|
@@ -31795,7 +31640,7 @@ const useUtilityClasses$$ = (ownerState) => {
|
|
|
31795
31640
|
dotActive: ["dotActive"],
|
|
31796
31641
|
progress: ["progress"]
|
|
31797
31642
|
};
|
|
31798
|
-
return composeClasses
|
|
31643
|
+
return composeClasses(slots, getMobileStepperUtilityClass, classes);
|
|
31799
31644
|
};
|
|
31800
31645
|
const MobileStepperRoot = styled(Paper, {
|
|
31801
31646
|
name: "MuiMobileStepper",
|
|
@@ -32231,7 +32076,7 @@ const useUtilityClasses$_ = (ownerState) => {
|
|
|
32231
32076
|
}[type]],
|
|
32232
32077
|
icon: ["icon"]
|
|
32233
32078
|
};
|
|
32234
|
-
return composeClasses
|
|
32079
|
+
return composeClasses(slots, getPaginationItemUtilityClass, classes);
|
|
32235
32080
|
};
|
|
32236
32081
|
const PaginationItemEllipsis = styled("div", {
|
|
32237
32082
|
name: "MuiPaginationItem",
|
|
@@ -32660,7 +32505,7 @@ const useUtilityClasses$Z = (ownerState) => {
|
|
|
32660
32505
|
root: ["root", variant],
|
|
32661
32506
|
ul: ["ul"]
|
|
32662
32507
|
};
|
|
32663
|
-
return composeClasses
|
|
32508
|
+
return composeClasses(slots, getPaginationUtilityClass, classes);
|
|
32664
32509
|
};
|
|
32665
32510
|
const PaginationRoot = styled("nav", {
|
|
32666
32511
|
name: "MuiPagination",
|
|
@@ -32983,7 +32828,7 @@ const useUtilityClasses$Y = (ownerState) => {
|
|
|
32983
32828
|
};
|
|
32984
32829
|
return {
|
|
32985
32830
|
...classes,
|
|
32986
|
-
...composeClasses
|
|
32831
|
+
...composeClasses(slots, getRadioUtilityClass, classes)
|
|
32987
32832
|
};
|
|
32988
32833
|
};
|
|
32989
32834
|
const RadioRoot = styled(SwitchBase, {
|
|
@@ -33269,7 +33114,7 @@ const useUtilityClasses$X = (props) => {
|
|
|
33269
33114
|
const slots = {
|
|
33270
33115
|
root: ["root", row && "row", error && "error"]
|
|
33271
33116
|
};
|
|
33272
|
-
return composeClasses
|
|
33117
|
+
return composeClasses(slots, getRadioGroupUtilityClass, classes);
|
|
33273
33118
|
};
|
|
33274
33119
|
const RadioGroup = /* @__PURE__ */ React__namespace.forwardRef(function RadioGroup2(props, ref) {
|
|
33275
33120
|
const {
|
|
@@ -33377,7 +33222,7 @@ const useUtilityClasses$W = (ownerState) => {
|
|
|
33377
33222
|
select: ["select", variant, disabled && "disabled", multiple && "multiple", error && "error"],
|
|
33378
33223
|
icon: ["icon", `icon${capitalize(variant)}`, open && "iconOpen", disabled && "disabled"]
|
|
33379
33224
|
};
|
|
33380
|
-
return composeClasses
|
|
33225
|
+
return composeClasses(slots, getNativeSelectUtilityClasses, classes);
|
|
33381
33226
|
};
|
|
33382
33227
|
const StyledSelectSelect = styled("select", {
|
|
33383
33228
|
name: "MuiNativeSelect"
|
|
@@ -33679,7 +33524,7 @@ const useUtilityClasses$V = (ownerState) => {
|
|
|
33679
33524
|
icon: ["icon", `icon${capitalize(variant)}`, open && "iconOpen", disabled && "disabled"],
|
|
33680
33525
|
nativeInput: ["nativeInput"]
|
|
33681
33526
|
};
|
|
33682
|
-
return composeClasses
|
|
33527
|
+
return composeClasses(slots, getSelectUtilityClasses, classes);
|
|
33683
33528
|
};
|
|
33684
33529
|
const SelectInput = /* @__PURE__ */ React__namespace.forwardRef(function SelectInput2(props, ref) {
|
|
33685
33530
|
const {
|
|
@@ -34262,7 +34107,7 @@ const useUtilityClasses$U = (ownerState) => {
|
|
|
34262
34107
|
root: ["root", !disableUnderline && "underline", startAdornment && "adornedStart", endAdornment && "adornedEnd", size === "small" && `size${capitalize(size)}`, hiddenLabel && "hiddenLabel", multiline && "multiline"],
|
|
34263
34108
|
input: ["input"]
|
|
34264
34109
|
};
|
|
34265
|
-
const composedClasses = composeClasses
|
|
34110
|
+
const composedClasses = composeClasses(slots, getFilledInputUtilityClass, classes);
|
|
34266
34111
|
return {
|
|
34267
34112
|
...classes,
|
|
34268
34113
|
// forward classes to the InputBase
|
|
@@ -34902,7 +34747,7 @@ const useUtilityClasses$T = (ownerState) => {
|
|
|
34902
34747
|
notchedOutline: ["notchedOutline"],
|
|
34903
34748
|
input: ["input"]
|
|
34904
34749
|
};
|
|
34905
|
-
const composedClasses = composeClasses
|
|
34750
|
+
const composedClasses = composeClasses(slots, getOutlinedInputUtilityClass, classes);
|
|
34906
34751
|
return {
|
|
34907
34752
|
...classes,
|
|
34908
34753
|
// forward classes to the InputBase
|
|
@@ -35310,7 +35155,7 @@ const useUtilityClasses$S = (ownerState) => {
|
|
|
35310
35155
|
const slots = {
|
|
35311
35156
|
root: ["root"]
|
|
35312
35157
|
};
|
|
35313
|
-
const composedClasses = composeClasses
|
|
35158
|
+
const composedClasses = composeClasses(slots, getSelectUtilityClasses, classes);
|
|
35314
35159
|
return {
|
|
35315
35160
|
...classes,
|
|
35316
35161
|
...composedClasses
|
|
@@ -35595,7 +35440,7 @@ const useUtilityClasses$R = (ownerState) => {
|
|
|
35595
35440
|
const slots = {
|
|
35596
35441
|
root: ["root", variant, animation, hasChildren && "withChildren", hasChildren && !width2 && "fitContent", hasChildren && !height2 && "heightAuto"]
|
|
35597
35442
|
};
|
|
35598
|
-
return composeClasses
|
|
35443
|
+
return composeClasses(slots, getSkeletonUtilityClass, classes);
|
|
35599
35444
|
};
|
|
35600
35445
|
const pulseKeyframe = react.keyframes`
|
|
35601
35446
|
0% {
|
|
@@ -35952,7 +35797,7 @@ const useUtilityClasses$Q = (ownerState) => {
|
|
|
35952
35797
|
action: ["action"],
|
|
35953
35798
|
message: ["message"]
|
|
35954
35799
|
};
|
|
35955
|
-
return composeClasses
|
|
35800
|
+
return composeClasses(slots, getSnackbarContentUtilityClass, classes);
|
|
35956
35801
|
};
|
|
35957
35802
|
const SnackbarContentRoot = styled(Paper, {
|
|
35958
35803
|
name: "MuiSnackbarContent",
|
|
@@ -36067,7 +35912,7 @@ const useUtilityClasses$P = (ownerState) => {
|
|
|
36067
35912
|
const slots = {
|
|
36068
35913
|
root: ["root", `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}`]
|
|
36069
35914
|
};
|
|
36070
|
-
return composeClasses
|
|
35915
|
+
return composeClasses(slots, getSnackbarUtilityClass, classes);
|
|
36071
35916
|
};
|
|
36072
35917
|
const SnackbarRoot = styled("div", {
|
|
36073
35918
|
name: "MuiSnackbar",
|
|
@@ -36545,7 +36390,7 @@ const useUtilityClasses$O = (ownerState) => {
|
|
|
36545
36390
|
const slots = {
|
|
36546
36391
|
root: ["root", orientation, alternativeLabel && "alternativeLabel", completed && "completed"]
|
|
36547
36392
|
};
|
|
36548
|
-
return composeClasses
|
|
36393
|
+
return composeClasses(slots, getStepUtilityClass, classes);
|
|
36549
36394
|
};
|
|
36550
36395
|
const StepRoot = styled("div", {
|
|
36551
36396
|
name: "MuiStep",
|
|
@@ -36719,7 +36564,7 @@ const useUtilityClasses$N = (ownerState) => {
|
|
|
36719
36564
|
root: ["root", active && "active", completed && "completed", error && "error"],
|
|
36720
36565
|
text: ["text"]
|
|
36721
36566
|
};
|
|
36722
|
-
return composeClasses
|
|
36567
|
+
return composeClasses(slots, getStepIconUtilityClass, classes);
|
|
36723
36568
|
};
|
|
36724
36569
|
const StepIconRoot = styled(SvgIcon, {
|
|
36725
36570
|
name: "MuiStepIcon",
|
|
@@ -36871,7 +36716,7 @@ const useUtilityClasses$M = (ownerState) => {
|
|
|
36871
36716
|
iconContainer: ["iconContainer", active && "active", completed && "completed", error && "error", disabled && "disabled", alternativeLabel && "alternativeLabel"],
|
|
36872
36717
|
labelContainer: ["labelContainer", alternativeLabel && "alternativeLabel"]
|
|
36873
36718
|
};
|
|
36874
|
-
return composeClasses
|
|
36719
|
+
return composeClasses(slots, getStepLabelUtilityClass, classes);
|
|
36875
36720
|
};
|
|
36876
36721
|
const StepLabelRoot = styled("span", {
|
|
36877
36722
|
name: "MuiStepLabel",
|
|
@@ -37129,7 +36974,7 @@ const useUtilityClasses$L = (ownerState) => {
|
|
|
37129
36974
|
root: ["root", orientation],
|
|
37130
36975
|
touchRipple: ["touchRipple"]
|
|
37131
36976
|
};
|
|
37132
|
-
return composeClasses
|
|
36977
|
+
return composeClasses(slots, getStepButtonUtilityClass, classes);
|
|
37133
36978
|
};
|
|
37134
36979
|
const StepButtonRoot = styled(ButtonBase, {
|
|
37135
36980
|
name: "MuiStepButton",
|
|
@@ -37258,7 +37103,7 @@ const useUtilityClasses$K = (ownerState) => {
|
|
|
37258
37103
|
root: ["root", orientation, alternativeLabel && "alternativeLabel", active && "active", completed && "completed", disabled && "disabled"],
|
|
37259
37104
|
line: ["line", `line${capitalize(orientation)}`]
|
|
37260
37105
|
};
|
|
37261
|
-
return composeClasses
|
|
37106
|
+
return composeClasses(slots, getStepConnectorUtilityClass, classes);
|
|
37262
37107
|
};
|
|
37263
37108
|
const StepConnectorRoot = styled("div", {
|
|
37264
37109
|
name: "MuiStepConnector",
|
|
@@ -37393,7 +37238,7 @@ const useUtilityClasses$J = (ownerState) => {
|
|
|
37393
37238
|
const slots = {
|
|
37394
37239
|
root: ["root", orientation, nonLinear && "nonLinear", alternativeLabel && "alternativeLabel"]
|
|
37395
37240
|
};
|
|
37396
|
-
return composeClasses
|
|
37241
|
+
return composeClasses(slots, getStepperUtilityClass, classes);
|
|
37397
37242
|
};
|
|
37398
37243
|
const StepperRoot = styled("div", {
|
|
37399
37244
|
name: "MuiStepper",
|
|
@@ -37556,7 +37401,7 @@ const useUtilityClasses$I = (ownerState) => {
|
|
|
37556
37401
|
track: ["track"],
|
|
37557
37402
|
input: ["input"]
|
|
37558
37403
|
};
|
|
37559
|
-
const composedClasses = composeClasses
|
|
37404
|
+
const composedClasses = composeClasses(slots, getSwitchUtilityClass, classes);
|
|
37560
37405
|
return {
|
|
37561
37406
|
...classes,
|
|
37562
37407
|
// forward the disabled and checked classes to the SwitchBase
|
|
@@ -37947,7 +37792,7 @@ const useUtilityClasses$H = (ownerState) => {
|
|
|
37947
37792
|
root: ["root", icon && label && "labelIcon", `textColor${capitalize(textColor)}`, fullWidth && "fullWidth", wrapped && "wrapped", selected && "selected", disabled && "disabled"],
|
|
37948
37793
|
icon: ["iconWrapper", "icon"]
|
|
37949
37794
|
};
|
|
37950
|
-
return composeClasses
|
|
37795
|
+
return composeClasses(slots, getTabUtilityClass, classes);
|
|
37951
37796
|
};
|
|
37952
37797
|
const TabRoot = styled(ButtonBase, {
|
|
37953
37798
|
name: "MuiTab",
|
|
@@ -38271,7 +38116,7 @@ const useUtilityClasses$G = (ownerState) => {
|
|
|
38271
38116
|
const slots = {
|
|
38272
38117
|
root: ["root", stickyHeader && "stickyHeader"]
|
|
38273
38118
|
};
|
|
38274
|
-
return composeClasses
|
|
38119
|
+
return composeClasses(slots, getTableUtilityClass, classes);
|
|
38275
38120
|
};
|
|
38276
38121
|
const TableRoot = styled("table", {
|
|
38277
38122
|
name: "MuiTable",
|
|
@@ -38401,7 +38246,7 @@ const useUtilityClasses$F = (ownerState) => {
|
|
|
38401
38246
|
const slots = {
|
|
38402
38247
|
root: ["root"]
|
|
38403
38248
|
};
|
|
38404
|
-
return composeClasses
|
|
38249
|
+
return composeClasses(slots, getTableBodyUtilityClass, classes);
|
|
38405
38250
|
};
|
|
38406
38251
|
const TableBodyRoot = styled("tbody", {
|
|
38407
38252
|
name: "MuiTableBody",
|
|
@@ -38483,7 +38328,7 @@ const useUtilityClasses$E = (ownerState) => {
|
|
|
38483
38328
|
const slots = {
|
|
38484
38329
|
root: ["root", variant, stickyHeader && "stickyHeader", align !== "inherit" && `align${capitalize(align)}`, padding2 !== "normal" && `padding${capitalize(padding2)}`, `size${capitalize(size)}`]
|
|
38485
38330
|
};
|
|
38486
|
-
return composeClasses
|
|
38331
|
+
return composeClasses(slots, getTableCellUtilityClass, classes);
|
|
38487
38332
|
};
|
|
38488
38333
|
const TableCellRoot = styled("td", {
|
|
38489
38334
|
name: "MuiTableCell",
|
|
@@ -38729,7 +38574,7 @@ const useUtilityClasses$D = (ownerState) => {
|
|
|
38729
38574
|
const slots = {
|
|
38730
38575
|
root: ["root"]
|
|
38731
38576
|
};
|
|
38732
|
-
return composeClasses
|
|
38577
|
+
return composeClasses(slots, getTableContainerUtilityClass, classes);
|
|
38733
38578
|
};
|
|
38734
38579
|
const TableContainerRoot = styled("div", {
|
|
38735
38580
|
name: "MuiTableContainer",
|
|
@@ -38799,7 +38644,7 @@ const useUtilityClasses$C = (ownerState) => {
|
|
|
38799
38644
|
const slots = {
|
|
38800
38645
|
root: ["root"]
|
|
38801
38646
|
};
|
|
38802
|
-
return composeClasses
|
|
38647
|
+
return composeClasses(slots, getTableFooterUtilityClass, classes);
|
|
38803
38648
|
};
|
|
38804
38649
|
const TableFooterRoot = styled("tfoot", {
|
|
38805
38650
|
name: "MuiTableFooter",
|
|
@@ -38876,7 +38721,7 @@ const useUtilityClasses$B = (ownerState) => {
|
|
|
38876
38721
|
const slots = {
|
|
38877
38722
|
root: ["root"]
|
|
38878
38723
|
};
|
|
38879
|
-
return composeClasses
|
|
38724
|
+
return composeClasses(slots, getTableHeadUtilityClass, classes);
|
|
38880
38725
|
};
|
|
38881
38726
|
const TableHeadRoot = styled("thead", {
|
|
38882
38727
|
name: "MuiTableHead",
|
|
@@ -38955,7 +38800,7 @@ const useUtilityClasses$A = (ownerState) => {
|
|
|
38955
38800
|
const slots = {
|
|
38956
38801
|
root: ["root", !disableGutters && "gutters", variant]
|
|
38957
38802
|
};
|
|
38958
|
-
return composeClasses
|
|
38803
|
+
return composeClasses(slots, getToolbarUtilityClass, classes);
|
|
38959
38804
|
};
|
|
38960
38805
|
const ToolbarRoot = styled("div", {
|
|
38961
38806
|
name: "MuiToolbar",
|
|
@@ -39074,7 +38919,7 @@ const useUtilityClasses$z = (ownerState) => {
|
|
|
39074
38919
|
const slots = {
|
|
39075
38920
|
root: ["root"]
|
|
39076
38921
|
};
|
|
39077
|
-
return composeClasses
|
|
38922
|
+
return composeClasses(slots, getTablePaginationActionsUtilityClass, classes);
|
|
39078
38923
|
};
|
|
39079
38924
|
const TablePaginationActionsRoot = styled("div", {
|
|
39080
38925
|
name: "MuiTablePaginationActions",
|
|
@@ -39397,7 +39242,7 @@ const useUtilityClasses$y = (ownerState) => {
|
|
|
39397
39242
|
displayedRows: ["displayedRows"],
|
|
39398
39243
|
actions: ["actions"]
|
|
39399
39244
|
};
|
|
39400
|
-
return composeClasses
|
|
39245
|
+
return composeClasses(slots, getTablePaginationUtilityClass, classes);
|
|
39401
39246
|
};
|
|
39402
39247
|
const TablePagination = /* @__PURE__ */ React__namespace.forwardRef(function TablePagination2(inProps, ref) {
|
|
39403
39248
|
const props = useDefaultProps({
|
|
@@ -39770,7 +39615,7 @@ const useUtilityClasses$x = (ownerState) => {
|
|
|
39770
39615
|
const slots = {
|
|
39771
39616
|
root: ["root", selected && "selected", hover && "hover", head && "head", footer && "footer"]
|
|
39772
39617
|
};
|
|
39773
|
-
return composeClasses
|
|
39618
|
+
return composeClasses(slots, getTableRowUtilityClass, classes);
|
|
39774
39619
|
};
|
|
39775
39620
|
const TableRowRoot = styled("tr", {
|
|
39776
39621
|
name: "MuiTableRow",
|
|
@@ -39885,7 +39730,7 @@ const useUtilityClasses$w = (ownerState) => {
|
|
|
39885
39730
|
root: ["root", active && "active", `direction${capitalize(direction)}`],
|
|
39886
39731
|
icon: ["icon", `iconDirection${capitalize(direction)}`]
|
|
39887
39732
|
};
|
|
39888
|
-
return composeClasses
|
|
39733
|
+
return composeClasses(slots, getTableSortLabelUtilityClass, classes);
|
|
39889
39734
|
};
|
|
39890
39735
|
const TableSortLabelRoot = styled(ButtonBase, {
|
|
39891
39736
|
name: "MuiTableSortLabel",
|
|
@@ -40083,7 +39928,7 @@ const useUtilityClasses$v = (ownerState) => {
|
|
|
40083
39928
|
const slots = {
|
|
40084
39929
|
root: ["root"]
|
|
40085
39930
|
};
|
|
40086
|
-
return composeClasses
|
|
39931
|
+
return composeClasses(slots, getTextFieldUtilityClass, classes);
|
|
40087
39932
|
};
|
|
40088
39933
|
const TextFieldRoot = styled(FormControl, {
|
|
40089
39934
|
name: "MuiTextField",
|
|
@@ -40472,50 +40317,6 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes = {
|
|
|
40472
40317
|
*/
|
|
40473
40318
|
variant: PropTypes.oneOf(["filled", "outlined", "standard"])
|
|
40474
40319
|
} : void 0;
|
|
40475
|
-
function resolveProps(defaultProps2, props, mergeClassNameAndStyle = false) {
|
|
40476
|
-
const output = {
|
|
40477
|
-
...props
|
|
40478
|
-
};
|
|
40479
|
-
for (const key in defaultProps2) {
|
|
40480
|
-
if (Object.prototype.hasOwnProperty.call(defaultProps2, key)) {
|
|
40481
|
-
const propName = key;
|
|
40482
|
-
if (propName === "components" || propName === "slots") {
|
|
40483
|
-
output[propName] = {
|
|
40484
|
-
...defaultProps2[propName],
|
|
40485
|
-
...output[propName]
|
|
40486
|
-
};
|
|
40487
|
-
} else if (propName === "componentsProps" || propName === "slotProps") {
|
|
40488
|
-
const defaultSlotProps = defaultProps2[propName];
|
|
40489
|
-
const slotProps = props[propName];
|
|
40490
|
-
if (!slotProps) {
|
|
40491
|
-
output[propName] = defaultSlotProps || {};
|
|
40492
|
-
} else if (!defaultSlotProps) {
|
|
40493
|
-
output[propName] = slotProps;
|
|
40494
|
-
} else {
|
|
40495
|
-
output[propName] = {
|
|
40496
|
-
...slotProps
|
|
40497
|
-
};
|
|
40498
|
-
for (const slotKey in defaultSlotProps) {
|
|
40499
|
-
if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {
|
|
40500
|
-
const slotPropName = slotKey;
|
|
40501
|
-
output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName], mergeClassNameAndStyle);
|
|
40502
|
-
}
|
|
40503
|
-
}
|
|
40504
|
-
}
|
|
40505
|
-
} else if (propName === "className" && mergeClassNameAndStyle && props.className) {
|
|
40506
|
-
output.className = clsx(defaultProps2?.className, props?.className);
|
|
40507
|
-
} else if (propName === "style" && mergeClassNameAndStyle && props.style) {
|
|
40508
|
-
output.style = {
|
|
40509
|
-
...defaultProps2?.style,
|
|
40510
|
-
...props?.style
|
|
40511
|
-
};
|
|
40512
|
-
} else if (output[propName] === void 0) {
|
|
40513
|
-
output[propName] = defaultProps2[propName];
|
|
40514
|
-
}
|
|
40515
|
-
}
|
|
40516
|
-
}
|
|
40517
|
-
return output;
|
|
40518
|
-
}
|
|
40519
40320
|
function getToggleButtonUtilityClass(slot) {
|
|
40520
40321
|
return generateUtilityClass("MuiToggleButton", slot);
|
|
40521
40322
|
}
|
|
@@ -40549,7 +40350,7 @@ const useUtilityClasses$u = (ownerState) => {
|
|
|
40549
40350
|
const slots = {
|
|
40550
40351
|
root: ["root", selected && "selected", disabled && "disabled", fullWidth && "fullWidth", `size${capitalize(size)}`, color2]
|
|
40551
40352
|
};
|
|
40552
|
-
return composeClasses
|
|
40353
|
+
return composeClasses(slots, getToggleButtonUtilityClass, classes);
|
|
40553
40354
|
};
|
|
40554
40355
|
const ToggleButtonRoot = styled(ButtonBase, {
|
|
40555
40356
|
name: "MuiToggleButton",
|
|
@@ -40801,7 +40602,7 @@ const useUtilityClasses$t = (ownerState) => {
|
|
|
40801
40602
|
lastButton: ["lastButton"],
|
|
40802
40603
|
middleButton: ["middleButton"]
|
|
40803
40604
|
};
|
|
40804
|
-
return composeClasses
|
|
40605
|
+
return composeClasses(slots, getToggleButtonGroupUtilityClass, classes);
|
|
40805
40606
|
};
|
|
40806
40607
|
const ToggleButtonGroupRoot = styled("div", {
|
|
40807
40608
|
name: "MuiToggleButtonGroup",
|
|
@@ -41070,7 +40871,7 @@ const useUtilityClasses$s = (ownerState) => {
|
|
|
41070
40871
|
tooltip: ["tooltip", arrow2 && "tooltipArrow", touch && "touch", `tooltipPlacement${capitalize(placement.split("-")[0])}`],
|
|
41071
40872
|
arrow: ["arrow"]
|
|
41072
40873
|
};
|
|
41073
|
-
return composeClasses
|
|
40874
|
+
return composeClasses(slots, getTooltipUtilityClass, classes);
|
|
41074
40875
|
};
|
|
41075
40876
|
const TooltipPopper = styled(Popper2, {
|
|
41076
40877
|
name: "MuiTooltip",
|
|
@@ -42104,7 +41905,7 @@ const useUtilityClasses$r = (ownerState) => {
|
|
|
42104
41905
|
loadingIndicator: ["loadingIndicator"],
|
|
42105
41906
|
loadingWrapper: ["loadingWrapper"]
|
|
42106
41907
|
};
|
|
42107
|
-
const composedClasses = composeClasses
|
|
41908
|
+
const composedClasses = composeClasses(slots, getButtonUtilityClass, classes);
|
|
42108
41909
|
return {
|
|
42109
41910
|
...classes,
|
|
42110
41911
|
// forward the focused, disabled, etc. classes to the ButtonBase
|
|
@@ -42918,7 +42719,7 @@ const useUtilityClasses$q = (ownerState) => {
|
|
|
42918
42719
|
message: ["message"],
|
|
42919
42720
|
action: ["action"]
|
|
42920
42721
|
};
|
|
42921
|
-
return composeClasses
|
|
42722
|
+
return composeClasses(slots, getAlertUtilityClass, classes);
|
|
42922
42723
|
};
|
|
42923
42724
|
const AlertRoot = styled(Paper, {
|
|
42924
42725
|
name: "MuiAlert",
|
|
@@ -45213,7 +45014,7 @@ const useUtilityClasses$p = (classes) => {
|
|
|
45213
45014
|
title: ["title"],
|
|
45214
45015
|
content: ["content"]
|
|
45215
45016
|
};
|
|
45216
|
-
return composeClasses
|
|
45017
|
+
return composeClasses(slots, getPickersToolbarUtilityClass, classes);
|
|
45217
45018
|
};
|
|
45218
45019
|
const PickersToolbarRoot = styled("div", {
|
|
45219
45020
|
name: "MuiPickersToolbar",
|
|
@@ -45690,7 +45491,7 @@ const useUtilityClasses$o = (classes) => {
|
|
|
45690
45491
|
root: ["root"],
|
|
45691
45492
|
title: ["title"]
|
|
45692
45493
|
};
|
|
45693
|
-
return composeClasses
|
|
45494
|
+
return composeClasses(slots, getDatePickerToolbarUtilityClass, classes);
|
|
45694
45495
|
};
|
|
45695
45496
|
const DatePickerToolbarRoot = styled(PickersToolbar, {
|
|
45696
45497
|
name: "MuiDatePickerToolbar",
|
|
@@ -45970,7 +45771,7 @@ const useUtilityClasses$n = (classes) => {
|
|
|
45970
45771
|
root: ["root"],
|
|
45971
45772
|
paper: ["paper"]
|
|
45972
45773
|
};
|
|
45973
|
-
return composeClasses
|
|
45774
|
+
return composeClasses(slots, getPickerPopperUtilityClass, classes);
|
|
45974
45775
|
};
|
|
45975
45776
|
const PickerPopperRoot = styled(Popper2, {
|
|
45976
45777
|
name: "MuiPickerPopper",
|
|
@@ -47176,7 +46977,7 @@ const useUtilityClasses$m = (classes, ownerState) => {
|
|
|
47176
46977
|
landscape: ["landscape"],
|
|
47177
46978
|
shortcuts: ["shortcuts"]
|
|
47178
46979
|
};
|
|
47179
|
-
return composeClasses
|
|
46980
|
+
return composeClasses(slots, getPickersLayoutUtilityClass, classes);
|
|
47180
46981
|
};
|
|
47181
46982
|
const usePickerLayout = (props) => {
|
|
47182
46983
|
const {
|
|
@@ -47250,7 +47051,7 @@ const useUtilityClasses$l = (classes, ownerState) => {
|
|
|
47250
47051
|
root: ["root", pickerOrientation === "landscape" && "landscape"],
|
|
47251
47052
|
contentWrapper: ["contentWrapper"]
|
|
47252
47053
|
};
|
|
47253
|
-
return composeClasses
|
|
47054
|
+
return composeClasses(slots, getPickersLayoutUtilityClass, classes);
|
|
47254
47055
|
};
|
|
47255
47056
|
const PickersLayoutRoot = styled("div", {
|
|
47256
47057
|
name: "MuiPickersLayout",
|
|
@@ -49317,7 +49118,7 @@ const useUtilityClasses$k = (ownerState) => {
|
|
|
49317
49118
|
const slots = {
|
|
49318
49119
|
root: ["root", disablePointerEvents && "disablePointerEvents", position2 && `position${capitalize(position2)}`, variant, hiddenLabel && "hiddenLabel", size && `size${capitalize(size)}`]
|
|
49319
49120
|
};
|
|
49320
|
-
return composeClasses
|
|
49121
|
+
return composeClasses(slots, getInputAdornmentUtilityClass, classes);
|
|
49321
49122
|
};
|
|
49322
49123
|
const InputAdornmentRoot = styled("div", {
|
|
49323
49124
|
name: "MuiInputAdornment",
|
|
@@ -49569,7 +49370,7 @@ const useUtilityClasses$j = (classes) => {
|
|
|
49569
49370
|
section: ["section"],
|
|
49570
49371
|
sectionContent: ["sectionContent"]
|
|
49571
49372
|
};
|
|
49572
|
-
return composeClasses
|
|
49373
|
+
return composeClasses(slots, getPickersSectionListUtilityClass, classes);
|
|
49573
49374
|
};
|
|
49574
49375
|
function PickersSection(props) {
|
|
49575
49376
|
const {
|
|
@@ -49974,7 +49775,7 @@ const useUtilityClasses$i = (classes, ownerState) => {
|
|
|
49974
49775
|
sectionAfter: ["sectionAfter"],
|
|
49975
49776
|
activeBar: ["activeBar"]
|
|
49976
49777
|
};
|
|
49977
|
-
return composeClasses
|
|
49778
|
+
return composeClasses(slots, getPickersInputBaseUtilityClass, classes);
|
|
49978
49779
|
};
|
|
49979
49780
|
function resolveSectionElementWidth(sectionElement, rootRef, index, dateRangePosition) {
|
|
49980
49781
|
if (sectionElement.content.id) {
|
|
@@ -50442,7 +50243,7 @@ const useUtilityClasses$h = (classes) => {
|
|
|
50442
50243
|
notchedOutline: ["notchedOutline"],
|
|
50443
50244
|
input: ["input"]
|
|
50444
50245
|
};
|
|
50445
|
-
const composedClasses = composeClasses
|
|
50246
|
+
const composedClasses = composeClasses(slots, getPickersOutlinedInputUtilityClass, classes);
|
|
50446
50247
|
return _extends({}, classes, composedClasses);
|
|
50447
50248
|
};
|
|
50448
50249
|
const PickersOutlinedInput = /* @__PURE__ */ React__namespace.forwardRef(function PickersOutlinedInput2(inProps, ref) {
|
|
@@ -50726,7 +50527,7 @@ const useUtilityClasses$g = (classes, ownerState) => {
|
|
|
50726
50527
|
root: ["root", inputHasUnderline && "underline"],
|
|
50727
50528
|
input: ["input"]
|
|
50728
50529
|
};
|
|
50729
|
-
const composedClasses = composeClasses
|
|
50530
|
+
const composedClasses = composeClasses(slots, getPickersFilledInputUtilityClass, classes);
|
|
50730
50531
|
return _extends({}, classes, composedClasses);
|
|
50731
50532
|
};
|
|
50732
50533
|
const PickersFilledInput = /* @__PURE__ */ React__namespace.forwardRef(function PickersFilledInput2(inProps, ref) {
|
|
@@ -50940,7 +50741,7 @@ const useUtilityClasses$f = (classes, ownerState) => {
|
|
|
50940
50741
|
root: ["root", !inputHasUnderline && "underline"],
|
|
50941
50742
|
input: ["input"]
|
|
50942
50743
|
};
|
|
50943
|
-
const composedClasses = composeClasses
|
|
50744
|
+
const composedClasses = composeClasses(slots, getPickersInputUtilityClass, classes);
|
|
50944
50745
|
return _extends({}, classes, composedClasses);
|
|
50945
50746
|
};
|
|
50946
50747
|
const PickersInput = /* @__PURE__ */ React__namespace.forwardRef(function PickersInput2(inProps, ref) {
|
|
@@ -51070,7 +50871,7 @@ const useUtilityClasses$e = (classes, ownerState) => {
|
|
|
51070
50871
|
const slots = {
|
|
51071
50872
|
root: ["root", isFieldFocused2 && !isFieldDisabled && "focused", isFieldDisabled && "disabled", isFieldRequired && "required"]
|
|
51072
50873
|
};
|
|
51073
|
-
return composeClasses
|
|
50874
|
+
return composeClasses(slots, getPickersTextFieldUtilityClass, classes);
|
|
51074
50875
|
};
|
|
51075
50876
|
const PickersTextField = /* @__PURE__ */ React__namespace.forwardRef(function PickersTextField2(inProps, ref) {
|
|
51076
50877
|
const props = useThemeProps$2({
|
|
@@ -52118,7 +51919,7 @@ const useUtilityClasses$d = (classes) => {
|
|
|
52118
51919
|
const slots = {
|
|
52119
51920
|
root: ["root"]
|
|
52120
51921
|
};
|
|
52121
|
-
return composeClasses
|
|
51922
|
+
return composeClasses(slots, getPickersFadeTransitionGroupUtilityClass, classes);
|
|
52122
51923
|
};
|
|
52123
51924
|
const PickersFadeTransitionGroupRoot = styled(TransitionGroup, {
|
|
52124
51925
|
name: "MuiPickersFadeTransitionGroup",
|
|
@@ -52210,7 +52011,7 @@ const useUtilityClasses$c = (classes, ownerState) => {
|
|
|
52210
52011
|
root: ["root", isDaySelected && !isHiddenDaySpacingFiller && "selected", isDayDisabled && "disabled", !disableMargin && "dayWithMargin", !disableHighlightToday && isDayCurrent && "today", isDayOutsideMonth && showDaysOutsideCurrentMonth && "dayOutsideMonth", isHiddenDaySpacingFiller && "hiddenDaySpacingFiller"],
|
|
52211
52012
|
hiddenDaySpacingFiller: ["hiddenDaySpacingFiller"]
|
|
52212
52013
|
};
|
|
52213
|
-
return composeClasses
|
|
52014
|
+
return composeClasses(slots, getPickersDayUtilityClass, classes);
|
|
52214
52015
|
};
|
|
52215
52016
|
const styleArg = ({
|
|
52216
52017
|
theme
|
|
@@ -52552,7 +52353,7 @@ const useUtilityClasses$b = (classes, ownerState) => {
|
|
|
52552
52353
|
enter: [`slideEnter-${slideDirection}`],
|
|
52553
52354
|
exitActive: [`slideExitActiveLeft-${slideDirection}`]
|
|
52554
52355
|
};
|
|
52555
|
-
return composeClasses
|
|
52356
|
+
return composeClasses(slots, getPickersSlideTransitionUtilityClass, classes);
|
|
52556
52357
|
};
|
|
52557
52358
|
const PickersSlideTransitionRoot = styled(TransitionGroup, {
|
|
52558
52359
|
name: "MuiPickersSlideTransition",
|
|
@@ -52683,7 +52484,7 @@ const useUtilityClasses$a = (classes) => {
|
|
|
52683
52484
|
weekNumberLabel: ["weekNumberLabel"],
|
|
52684
52485
|
weekNumber: ["weekNumber"]
|
|
52685
52486
|
};
|
|
52686
|
-
return composeClasses
|
|
52487
|
+
return composeClasses(slots, getDayCalendarUtilityClass, classes);
|
|
52687
52488
|
};
|
|
52688
52489
|
const weeksContainerHeight = (DAY_SIZE + DAY_MARGIN * 2) * 6;
|
|
52689
52490
|
const PickersCalendarDayRoot = styled("div", {
|
|
@@ -53077,7 +52878,7 @@ const useUtilityClasses$9 = (classes, ownerState) => {
|
|
|
53077
52878
|
const slots = {
|
|
53078
52879
|
button: ["button", ownerState.isMonthDisabled && "disabled", ownerState.isMonthSelected && "selected"]
|
|
53079
52880
|
};
|
|
53080
|
-
return composeClasses
|
|
52881
|
+
return composeClasses(slots, getMonthCalendarUtilityClass, classes);
|
|
53081
52882
|
};
|
|
53082
52883
|
const DefaultMonthButton = styled("button", {
|
|
53083
52884
|
name: "MuiMonthCalendar",
|
|
@@ -53175,7 +52976,7 @@ const useUtilityClasses$8 = (classes) => {
|
|
|
53175
52976
|
const slots = {
|
|
53176
52977
|
root: ["root"]
|
|
53177
52978
|
};
|
|
53178
|
-
return composeClasses
|
|
52979
|
+
return composeClasses(slots, getMonthCalendarUtilityClass, classes);
|
|
53179
52980
|
};
|
|
53180
52981
|
function useMonthCalendarDefaultizedProps(props, name) {
|
|
53181
52982
|
const themeProps = useThemeProps$2({
|
|
@@ -53513,7 +53314,7 @@ const useUtilityClasses$7 = (classes, ownerState) => {
|
|
|
53513
53314
|
const slots = {
|
|
53514
53315
|
button: ["button", ownerState.isYearDisabled && "disabled", ownerState.isYearSelected && "selected"]
|
|
53515
53316
|
};
|
|
53516
|
-
return composeClasses
|
|
53317
|
+
return composeClasses(slots, getYearCalendarUtilityClass, classes);
|
|
53517
53318
|
};
|
|
53518
53319
|
const DefaultYearButton = styled("button", {
|
|
53519
53320
|
name: "MuiYearCalendar",
|
|
@@ -53611,7 +53412,7 @@ const useUtilityClasses$6 = (classes) => {
|
|
|
53611
53412
|
const slots = {
|
|
53612
53413
|
root: ["root"]
|
|
53613
53414
|
};
|
|
53614
|
-
return composeClasses
|
|
53415
|
+
return composeClasses(slots, getYearCalendarUtilityClass, classes);
|
|
53615
53416
|
};
|
|
53616
53417
|
function useYearCalendarDefaultizedProps(props, name) {
|
|
53617
53418
|
const themeProps = useThemeProps$2({
|
|
@@ -54028,7 +53829,7 @@ const useUtilityClasses$5 = (classes) => {
|
|
|
54028
53829
|
leftArrowIcon: ["leftArrowIcon"],
|
|
54029
53830
|
rightArrowIcon: ["rightArrowIcon"]
|
|
54030
53831
|
};
|
|
54031
|
-
return composeClasses
|
|
53832
|
+
return composeClasses(slots, getPickersArrowSwitcherUtilityClass, classes);
|
|
54032
53833
|
};
|
|
54033
53834
|
const PickersArrowSwitcher = /* @__PURE__ */ React__namespace.forwardRef(function PickersArrowSwitcher2(inProps, ref) {
|
|
54034
53835
|
const isRtl = useRtl();
|
|
@@ -54176,7 +53977,7 @@ const useUtilityClasses$4 = (classes) => {
|
|
|
54176
53977
|
switchViewButton: ["switchViewButton"],
|
|
54177
53978
|
switchViewIcon: ["switchViewIcon"]
|
|
54178
53979
|
};
|
|
54179
|
-
return composeClasses
|
|
53980
|
+
return composeClasses(slots, getPickersCalendarHeaderUtilityClass, classes);
|
|
54180
53981
|
};
|
|
54181
53982
|
const PickersCalendarHeaderRoot = styled("div", {
|
|
54182
53983
|
name: "MuiPickersCalendarHeader",
|
|
@@ -54422,7 +54223,7 @@ const useUtilityClasses$3 = (classes) => {
|
|
|
54422
54223
|
root: ["root"],
|
|
54423
54224
|
viewTransitionContainer: ["viewTransitionContainer"]
|
|
54424
54225
|
};
|
|
54425
|
-
return composeClasses
|
|
54226
|
+
return composeClasses(slots, getDateCalendarUtilityClass, classes);
|
|
54426
54227
|
};
|
|
54427
54228
|
function useDateCalendarDefaultizedProps(props, name) {
|
|
54428
54229
|
const themeProps = useThemeProps$2({
|
|
@@ -55421,7 +55222,7 @@ const useUtilityClasses$2 = (ownerState) => {
|
|
|
55421
55222
|
container: ["container", `scroll${capitalize(scroll)}`],
|
|
55422
55223
|
paper: ["paper", `paperScroll${capitalize(scroll)}`, `paperWidth${capitalize(String(maxWidth2))}`, fullWidth && "paperFullWidth", fullScreen && "paperFullScreen"]
|
|
55423
55224
|
};
|
|
55424
|
-
return composeClasses
|
|
55225
|
+
return composeClasses(slots, getDialogUtilityClass, classes);
|
|
55425
55226
|
};
|
|
55426
55227
|
const DialogRoot = styled(Modal, {
|
|
55427
55228
|
name: "MuiDialog",
|
|
@@ -62034,7 +61835,7 @@ const useUtilityClasses$1 = (classesProp) => {
|
|
|
62034
61835
|
focused: ["focused"],
|
|
62035
61836
|
disabled: ["disabled"]
|
|
62036
61837
|
};
|
|
62037
|
-
return composeClasses
|
|
61838
|
+
return composeClasses(slots, getTreeItemUtilityClass, classes);
|
|
62038
61839
|
};
|
|
62039
61840
|
const TreeItem = /* @__PURE__ */ React__namespace.forwardRef(function TreeItem2(inProps, forwardedRef) {
|
|
62040
61841
|
const props = useThemeProps$1({
|
|
@@ -63133,7 +62934,7 @@ const useUtilityClasses = (ownerState) => {
|
|
|
63133
62934
|
// itemDragAndDropOverlay: ['itemDragAndDropOverlay'], => feature not available on this component
|
|
63134
62935
|
// itemErrorIcon: ['itemErrorIcon'], => feature not available on this component
|
|
63135
62936
|
};
|
|
63136
|
-
return composeClasses
|
|
62937
|
+
return composeClasses(slots, getRichTreeViewUtilityClass, classes);
|
|
63137
62938
|
}, [classes]);
|
|
63138
62939
|
};
|
|
63139
62940
|
const RichTreeViewRoot = styled("ul", {
|
|
@@ -63458,7 +63259,7 @@ const expandedGroupStyle = {
|
|
|
63458
63259
|
paddingLeft: "15px",
|
|
63459
63260
|
marginLeft: "18px"
|
|
63460
63261
|
};
|
|
63461
|
-
const iconStyle
|
|
63262
|
+
const iconStyle = {
|
|
63462
63263
|
width: "24px",
|
|
63463
63264
|
height: "24px"
|
|
63464
63265
|
};
|
|
@@ -63542,7 +63343,7 @@ function CustomTreeItem(props) {
|
|
|
63542
63343
|
getIconContainerProps,
|
|
63543
63344
|
status
|
|
63544
63345
|
} = useTreeItem({ id, itemId, label, disabled, children, rootRef: ref });
|
|
63545
|
-
const
|
|
63346
|
+
const labelStyle = {
|
|
63546
63347
|
...status.selected && { fontWeight: 600 },
|
|
63547
63348
|
color: "var(--theme-palette-text-primary)"
|
|
63548
63349
|
};
|
|
@@ -63555,12 +63356,12 @@ function CustomTreeItem(props) {
|
|
|
63555
63356
|
sx: treeItemRootStyle,
|
|
63556
63357
|
children: [
|
|
63557
63358
|
/* @__PURE__ */ jsxRuntime.jsxs(TreeItemContent, { ...getContentProps(), style: treeContentStyle, children: [
|
|
63558
|
-
!hasNoIcons && /* @__PURE__ */ jsxRuntime.jsx(TreeItemIconContainer, { ...getIconContainerProps(), sx: iconStyle
|
|
63359
|
+
!hasNoIcons && /* @__PURE__ */ jsxRuntime.jsx(TreeItemIconContainer, { ...getIconContainerProps(), sx: iconStyle, children: /* @__PURE__ */ jsxRuntime.jsx(IconComponent, { color: iconColor, sx: iconStyle }) }),
|
|
63559
63360
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
63560
63361
|
EllipsisWithTooltip,
|
|
63561
63362
|
{
|
|
63562
63363
|
...getLabelProps(),
|
|
63563
|
-
typographyProps:
|
|
63364
|
+
typographyProps: labelStyle
|
|
63564
63365
|
}
|
|
63565
63366
|
),
|
|
63566
63367
|
/* @__PURE__ */ jsxRuntime.jsx(Box, { sx: arrowContainerStyle, children: status.expandable && (status.expanded ? /* @__PURE__ */ jsxRuntime.jsx(KeyboardArrowDownRoundedIcon, { fontSize: "small" }) : /* @__PURE__ */ jsxRuntime.jsx(KeyboardArrowRightRoundedIcon, { fontSize: "small" })) })
|
|
@@ -63631,79 +63432,6 @@ const TreeView = ({
|
|
|
63631
63432
|
}
|
|
63632
63433
|
) });
|
|
63633
63434
|
};
|
|
63634
|
-
const AddRoundedIcon = createSvgIcon(/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
63635
|
-
d: "M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1"
|
|
63636
|
-
}), "AddRounded");
|
|
63637
|
-
const RemoveRoundedIcon = createSvgIcon(/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
63638
|
-
d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1"
|
|
63639
|
-
}), "RemoveRounded");
|
|
63640
|
-
const GREY = "rgba(238, 238, 238, 0.75)";
|
|
63641
|
-
const LIGHT_GREY = "#D6D6D6";
|
|
63642
|
-
const WHITE = "#FFFFFF";
|
|
63643
|
-
const containerStyle = ({
|
|
63644
|
-
opacity
|
|
63645
|
-
}) => ({
|
|
63646
|
-
backgroundColor: GREY,
|
|
63647
|
-
color: WHITE,
|
|
63648
|
-
borderRadius: "1.6rem",
|
|
63649
|
-
padding: "0.8rem",
|
|
63650
|
-
display: "inline-flex",
|
|
63651
|
-
alignItems: "center",
|
|
63652
|
-
justifyContent: "space-evenly",
|
|
63653
|
-
height: "5.8rem",
|
|
63654
|
-
width: "auto",
|
|
63655
|
-
zIndex: 2,
|
|
63656
|
-
opacity,
|
|
63657
|
-
backdropFilter: "blur(9px)",
|
|
63658
|
-
bottom: "3rem",
|
|
63659
|
-
position: "fixed"
|
|
63660
|
-
});
|
|
63661
|
-
const iconButtonStyle = {
|
|
63662
|
-
color: "inherit",
|
|
63663
|
-
width: "4.4rem",
|
|
63664
|
-
height: "4.4rem",
|
|
63665
|
-
padding: "0.1em",
|
|
63666
|
-
"&:hover": {
|
|
63667
|
-
backgroundColor: "rgba(255, 255, 255, 0.1)"
|
|
63668
|
-
},
|
|
63669
|
-
"&.Mui-disabled": {
|
|
63670
|
-
color: LIGHT_GREY
|
|
63671
|
-
}
|
|
63672
|
-
};
|
|
63673
|
-
const iconStyle = ({ disabled }) => ({
|
|
63674
|
-
fontSize: "3rem",
|
|
63675
|
-
color: disabled ? "inherit" : "#00000099"
|
|
63676
|
-
});
|
|
63677
|
-
const labelStyle = {
|
|
63678
|
-
margin: "0 0.75em",
|
|
63679
|
-
cursor: "pointer",
|
|
63680
|
-
border: "none",
|
|
63681
|
-
background: "none",
|
|
63682
|
-
color: "#00000099",
|
|
63683
|
-
font: "inherit",
|
|
63684
|
-
padding: 0,
|
|
63685
|
-
"&:hover": {
|
|
63686
|
-
opacity: 0.8
|
|
63687
|
-
}
|
|
63688
|
-
};
|
|
63689
|
-
const ZoomComponent = ({
|
|
63690
|
-
opacity = 1,
|
|
63691
|
-
zoomLevel,
|
|
63692
|
-
zoomMaxLevel,
|
|
63693
|
-
zoomIn,
|
|
63694
|
-
zoomOut,
|
|
63695
|
-
resetZoom,
|
|
63696
|
-
label = "Zoom",
|
|
63697
|
-
slotProps = {}
|
|
63698
|
-
}) => {
|
|
63699
|
-
const isMinZoom = zoomLevel === 0;
|
|
63700
|
-
const isMaxZoom = zoomLevel === zoomMaxLevel;
|
|
63701
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Box, { sx: containerStyle({ opacity }), ...slotProps.boxStyle, children: [
|
|
63702
|
-
/* @__PURE__ */ jsxRuntime.jsx(IconButton, { onClick: zoomOut, disabled: isMinZoom, sx: iconButtonStyle, children: /* @__PURE__ */ jsxRuntime.jsx(RemoveRoundedIcon, { sx: iconStyle({ disabled: isMinZoom }) }) }),
|
|
63703
|
-
/* @__PURE__ */ jsxRuntime.jsx(Typography, { onClick: resetZoom, sx: labelStyle, component: "button", children: label }),
|
|
63704
|
-
/* @__PURE__ */ jsxRuntime.jsx(IconButton, { onClick: zoomIn, disabled: isMaxZoom, sx: iconButtonStyle, children: /* @__PURE__ */ jsxRuntime.jsx(AddRoundedIcon, { sx: iconStyle({ disabled: isMaxZoom }) }) })
|
|
63705
|
-
] });
|
|
63706
|
-
};
|
|
63707
63435
|
Object.defineProperty(exports, "css", {
|
|
63708
63436
|
enumerable: true,
|
|
63709
63437
|
get: () => react.css
|
|
@@ -63841,7 +63569,6 @@ exports.Tooltip = Tooltip;
|
|
|
63841
63569
|
exports.TreeView = TreeView;
|
|
63842
63570
|
exports.Typography = Typography;
|
|
63843
63571
|
exports.Zoom = Zoom;
|
|
63844
|
-
exports.ZoomComponent = ZoomComponent;
|
|
63845
63572
|
exports.accordionActionsClasses = accordionActionsClasses;
|
|
63846
63573
|
exports.accordionClasses = accordionClasses;
|
|
63847
63574
|
exports.accordionDetailsClasses = accordionDetailsClasses;
|