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