@mui/material 5.14.4 → 5.14.6
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/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/autocompleteClasses.d.ts +58 -58
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/Badge.d.ts +135 -67
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +195 -7
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +22 -22
- package/Chip/chipClasses.d.ts +96 -96
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +1 -1
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/Drawer.d.ts +2 -0
- package/Drawer/Drawer.js +2 -0
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/filledInputClasses.d.ts +42 -42
- package/FormControl/FormControlContext.d.ts +17 -17
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/useFormControl.d.ts +2 -2
- package/FormControlLabel/formControlLabelClasses.d.ts +24 -24
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +34 -34
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/inputClasses.d.ts +38 -38
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.js +1 -1
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/getTextDecoration.d.ts +15 -15
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/Modal/Modal.d.ts +117 -12
- package/Modal/Modal.js +97 -36
- package/Modal/index.d.ts +4 -1
- package/Modal/index.js +3 -2
- package/Modal/modalClasses.d.ts +12 -0
- package/Modal/modalClasses.js +7 -0
- package/NativeSelect/nativeSelectClasses.d.ts +34 -34
- package/OutlinedInput/outlinedInputClasses.d.ts +38 -38
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +65 -65
- package/README.md +2 -3
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/Select.js +5 -3
- package/Select/selectClasses.d.ts +34 -32
- package/Select/selectClasses.js +1 -1
- package/Skeleton/Skeleton.js +2 -2
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slider/SliderValueLabel.d.ts +10 -10
- package/Slider/SliderValueLabel.types.d.ts +24 -24
- package/Slider/sliderClasses.d.ts +58 -58
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Stack/stackClasses.d.ts +6 -6
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +26 -26
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/TextField.d.ts +0 -4
- package/TextField/TextField.js +1 -7
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Drawer/Drawer.js +2 -0
- package/legacy/InputBase/InputBase.js +1 -1
- package/legacy/Modal/Modal.js +93 -43
- package/legacy/Modal/index.js +3 -2
- package/legacy/Modal/modalClasses.js +7 -0
- package/legacy/Select/Select.js +4 -2
- package/legacy/Select/selectClasses.js +1 -1
- package/legacy/Skeleton/Skeleton.js +2 -2
- package/legacy/TextField/TextField.js +1 -7
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +80 -80
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Drawer/Drawer.js +2 -0
- package/modern/InputBase/InputBase.js +1 -1
- package/modern/Modal/Modal.js +97 -36
- package/modern/Modal/index.js +3 -2
- package/modern/Modal/modalClasses.js +7 -0
- package/modern/Select/Select.js +5 -3
- package/modern/Select/selectClasses.js +1 -1
- package/modern/Skeleton/Skeleton.js +2 -2
- package/modern/TextField/TextField.js +1 -7
- package/modern/index.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Drawer/Drawer.js +2 -0
- package/node/InputBase/InputBase.js +1 -1
- package/node/Modal/Modal.js +100 -41
- package/node/Modal/index.js +17 -8
- package/node/Modal/modalClasses.js +16 -0
- package/node/Select/Select.js +5 -3
- package/node/Select/selectClasses.js +1 -1
- package/node/Skeleton/Skeleton.js +2 -2
- package/node/TextField/TextField.js +1 -7
- package/node/index.js +1 -1
- package/package.json +6 -6
- package/styles/CssVarsProvider.d.ts +20 -20
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/styles/getOverlayAlpha.d.ts +2 -2
- package/styles/identifier.d.ts +2 -2
- package/styles/shouldSkipGeneratingVar.d.ts +1 -1
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/types/OverridableComponentAugmentation.d.ts +31 -31
- package/umd/material-ui.development.js +527 -652
- package/umd/material-ui.production.min.js +22 -22
- package/useMediaQuery/useMediaQuery.d.ts +46 -46
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.14.
|
|
2
|
+
* @mui/material v5.14.6
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -2531,16 +2531,19 @@
|
|
|
2531
2531
|
const ClassNameGenerator = createClassNameGenerator();
|
|
2532
2532
|
var ClassNameGenerator$1 = ClassNameGenerator;
|
|
2533
2533
|
|
|
2534
|
+
// If GlobalStateSlot is changed, GLOBAL_STATE_CLASSES in
|
|
2535
|
+
// \packages\api-docs-builder\utils\parseSlotsAndClasses.ts must be updated accordingly.
|
|
2534
2536
|
const globalStateClassesMapping = {
|
|
2535
2537
|
active: 'active',
|
|
2536
2538
|
checked: 'checked',
|
|
2537
2539
|
completed: 'completed',
|
|
2538
2540
|
disabled: 'disabled',
|
|
2539
|
-
readOnly: 'readOnly',
|
|
2540
2541
|
error: 'error',
|
|
2541
2542
|
expanded: 'expanded',
|
|
2542
2543
|
focused: 'focused',
|
|
2543
2544
|
focusVisible: 'focusVisible',
|
|
2545
|
+
open: 'open',
|
|
2546
|
+
readOnly: 'readOnly',
|
|
2544
2547
|
required: 'required',
|
|
2545
2548
|
selected: 'selected'
|
|
2546
2549
|
};
|
|
@@ -2745,7 +2748,7 @@
|
|
|
2745
2748
|
return StyleSheet;
|
|
2746
2749
|
}();
|
|
2747
2750
|
|
|
2748
|
-
var e="-ms-";var r$
|
|
2751
|
+
var e="-ms-";var r$1="-moz-";var a="-webkit-";var n="comm";var c="rule";var s="decl";var i="@import";var h="@keyframes";var $="@layer";var g=Math.abs;var k=String.fromCharCode;var m=Object.assign;function x(e,r){return O(e,0)^45?(((r<<2^O(e,0))<<2^O(e,1))<<2^O(e,2))<<2^O(e,3):0}function y(e){return e.trim()}function j(e,r){return (e=r.exec(e))?e[0]:e}function z(e,r,a){return e.replace(r,a)}function C(e,r){return e.indexOf(r)}function O(e,r){return e.charCodeAt(r)|0}function A(e,r,a){return e.slice(r,a)}function M(e){return e.length}function S(e){return e.length}function q(e,r){return r.push(e),e}function B(e,r){return e.map(r).join("")}var D=1;var E=1;var F=0;var G=0;var H=0;var I="";function J(e,r,a,n,c,s,t){return {value:e,root:r,parent:a,type:n,props:c,children:s,line:D,column:E,length:t,return:""}}function K(e,r){return m(J("",null,null,"",null,null,0),e,{length:-e.length},r)}function L(){return H}function N(){H=G>0?O(I,--G):0;if(E--,H===10)E=1,D--;return H}function P(){H=G<F?O(I,G++):0;if(E++,H===10)E=1,D++;return H}function Q(){return O(I,G)}function R(){return G}function T(e,r){return A(I,e,r)}function U(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function V(e){return D=E=1,F=M(I=e),G=0,[]}function W(e){return I="",e}function X(e){return y(T(G-1,re(e===91?e+2:e===40?e+1:e)))}function Z(e){while(H=Q())if(H<33)P();else break;return U(e)>2||U(H)>3?"":" "}function ee(e,r){while(--r&&P())if(H<48||H>102||H>57&&H<65||H>70&&H<97)break;return T(e,R()+(r<6&&Q()==32&&P()==32))}function re(e){while(P())switch(H){case e:return G;case 34:case 39:if(e!==34&&e!==39)re(H);break;case 40:if(e===41)re(e);break;case 92:P();break}return G}function ae(e,r){while(P())if(e+H===47+10)break;else if(e+H===42+42&&Q()===47)break;return "/*"+T(r,G-1)+"*"+k(e===47?e:P())}function ne(e){while(!U(Q()))P();return T(e,G)}function ce(e){return W(se("",null,null,null,[""],e=V(e),0,[0],e))}function se(e,r,a,n,c,s,t,u,i){var f=0;var o=0;var l=t;var v=0;var p=0;var h=0;var b=1;var w=1;var d=1;var $=0;var g="";var m=c;var x=s;var y=n;var j=g;while(w)switch(h=$,$=P()){case 40:if(h!=108&&O(j,l-1)==58){if(C(j+=z(X($),"&","&\f"),"&\f")!=-1)d=-1;break}case 34:case 39:case 91:j+=X($);break;case 9:case 10:case 13:case 32:j+=Z(h);break;case 92:j+=ee(R()-1,7);continue;case 47:switch(Q()){case 42:case 47:q(ue(ae(P(),R()),r,a),i);break;default:j+="/";}break;case 123*b:u[f++]=M(j)*d;case 125*b:case 59:case 0:switch($){case 0:case 125:w=0;case 59+o:if(d==-1)j=z(j,/\f/g,"");if(p>0&&M(j)-l)q(p>32?ie(j+";",n,a,l-1):ie(z(j," ","")+";",n,a,l-2),i);break;case 59:j+=";";default:q(y=te(j,r,a,f,o,c,u,g,m=[],x=[],l),s);if($===123)if(o===0)se(j,r,y,y,m,s,l,u,x);else switch(v===99&&O(j,3)===110?100:v){case 100:case 108:case 109:case 115:se(e,y,y,n&&q(te(e,y,y,0,0,c,u,g,c,m=[],l),x),c,x,l,u,n?m:x);break;default:se(j,y,y,y,[""],x,0,u,x);}}f=o=p=0,b=d=1,g=j="",l=t;break;case 58:l=1+M(j),p=h;default:if(b<1)if($==123)--b;else if($==125&&b++==0&&N()==125)continue;switch(j+=k($),$*b){case 38:d=o>0?1:(j+="\f",-1);break;case 44:u[f++]=(M(j)-1)*d,d=1;break;case 64:if(Q()===45)j+=X(P());v=Q(),o=l=M(g=j+=ne(R())),$++;break;case 45:if(h===45&&M(j)==2)b=0;}}return s}function te(e,r,a,n,s,t,u,i,f,o,l){var v=s-1;var p=s===0?t:[""];var h=S(p);for(var b=0,w=0,d=0;b<n;++b)for(var $=0,k=A(e,v+1,v=g(w=u[b])),m=e;$<h;++$)if(m=y(w>0?p[$]+" "+k:z(k,/&\f/g,p[$])))f[d++]=m;return J(e,r,a,s===0?c:i,f,o,l)}function ue(e,r,a){return J(e,r,a,n,k(L()),A(e,2,-2),0)}function ie(e,r,a,n){return J(e,r,a,s,A(e,0,n),A(e,n+1,-1),n)}function oe(e,r){var a="";var n=S(e);for(var c=0;c<n;c++)a+=r(e[c],c,e,r)||"";return a}function le(e,r,a,t){switch(e.type){case $:if(e.children.length)break;case i:case s:return e.return=e.return||e.value;case n:return "";case h:return e.return=e.value+"{"+oe(e.children,t)+"}";case c:e.value=e.props.join(",");}return M(a=oe(e.children,t))?e.return=e.value+"{"+a+"}":""}function ve(e){var r=S(e);return function(a,n,c,s){var t="";for(var u=0;u<r;u++)t+=e[u](a,n,c,s)||"";return t}}
|
|
2749
2752
|
|
|
2750
2753
|
var weakMemoize = function weakMemoize(func) {
|
|
2751
2754
|
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
|
|
@@ -3040,7 +3043,7 @@
|
|
|
3040
3043
|
case 4810:
|
|
3041
3044
|
case 6968:
|
|
3042
3045
|
case 2756:
|
|
3043
|
-
return a + value + r$
|
|
3046
|
+
return a + value + r$1 + value + e + value + value;
|
|
3044
3047
|
// flex, flex-direction
|
|
3045
3048
|
|
|
3046
3049
|
case 6828:
|
|
@@ -3121,7 +3124,7 @@
|
|
|
3121
3124
|
// (f)ill-available, (f)it-content
|
|
3122
3125
|
|
|
3123
3126
|
case 102:
|
|
3124
|
-
return z(value, /(.+:)(.+)-([^]+)/, '$1' + a + '$2-$3' + '$1' + r$
|
|
3127
|
+
return z(value, /(.+:)(.+)-([^]+)/, '$1' + a + '$2-$3' + '$1' + r$1 + (O(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
|
|
3125
3128
|
// (s)tretch
|
|
3126
3129
|
|
|
3127
3130
|
case 115:
|
|
@@ -3188,7 +3191,7 @@
|
|
|
3188
3191
|
case ':read-only':
|
|
3189
3192
|
case ':read-write':
|
|
3190
3193
|
return oe([K(element, {
|
|
3191
|
-
props: [z(value, /:(read-\w+)/, ':' + r$
|
|
3194
|
+
props: [z(value, /:(read-\w+)/, ':' + r$1 + '$1')]
|
|
3192
3195
|
})], callback);
|
|
3193
3196
|
// :placeholder
|
|
3194
3197
|
|
|
@@ -3196,7 +3199,7 @@
|
|
|
3196
3199
|
return oe([K(element, {
|
|
3197
3200
|
props: [z(value, /:(plac\w+)/, ':' + a + 'input-$1')]
|
|
3198
3201
|
}), K(element, {
|
|
3199
|
-
props: [z(value, /:(plac\w+)/, ':' + r$
|
|
3202
|
+
props: [z(value, /:(plac\w+)/, ':' + r$1 + '$1')]
|
|
3200
3203
|
}), K(element, {
|
|
3201
3204
|
props: [z(value, /:(plac\w+)/, e + 'input-$1')]
|
|
3202
3205
|
})], callback);
|
|
@@ -6272,7 +6275,7 @@
|
|
|
6272
6275
|
}
|
|
6273
6276
|
};
|
|
6274
6277
|
|
|
6275
|
-
const _excluded$
|
|
6278
|
+
const _excluded$2o = ["values", "unit", "step"];
|
|
6276
6279
|
const sortBreakpointsValues = values => {
|
|
6277
6280
|
const breakpointsAsArray = Object.keys(values).map(key => ({
|
|
6278
6281
|
key,
|
|
@@ -6307,7 +6310,7 @@
|
|
|
6307
6310
|
unit = 'px',
|
|
6308
6311
|
step = 5
|
|
6309
6312
|
} = breakpoints,
|
|
6310
|
-
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$
|
|
6313
|
+
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2o);
|
|
6311
6314
|
const sortedValues = sortBreakpointsValues(values);
|
|
6312
6315
|
const keys = Object.keys(sortedValues);
|
|
6313
6316
|
function up(key) {
|
|
@@ -7393,7 +7396,7 @@
|
|
|
7393
7396
|
styleFunctionSx.filterProps = ['sx'];
|
|
7394
7397
|
var styleFunctionSx$1 = styleFunctionSx;
|
|
7395
7398
|
|
|
7396
|
-
const _excluded$
|
|
7399
|
+
const _excluded$2n = ["breakpoints", "palette", "spacing", "shape"];
|
|
7397
7400
|
function createTheme$1(options = {}, ...args) {
|
|
7398
7401
|
const {
|
|
7399
7402
|
breakpoints: breakpointsInput = {},
|
|
@@ -7401,7 +7404,7 @@
|
|
|
7401
7404
|
spacing: spacingInput,
|
|
7402
7405
|
shape: shapeInput = {}
|
|
7403
7406
|
} = options,
|
|
7404
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
7407
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$2n);
|
|
7405
7408
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
7406
7409
|
const spacing = createSpacing(spacingInput);
|
|
7407
7410
|
let muiTheme = deepmerge({
|
|
@@ -7469,7 +7472,7 @@
|
|
|
7469
7472
|
themeId: PropTypes.string
|
|
7470
7473
|
} ;
|
|
7471
7474
|
|
|
7472
|
-
const _excluded$
|
|
7475
|
+
const _excluded$2m = ["sx"];
|
|
7473
7476
|
const splitProps = props => {
|
|
7474
7477
|
var _props$theme$unstable, _props$theme;
|
|
7475
7478
|
const result = {
|
|
@@ -7490,7 +7493,7 @@
|
|
|
7490
7493
|
const {
|
|
7491
7494
|
sx: inSx
|
|
7492
7495
|
} = props,
|
|
7493
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
7496
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2m);
|
|
7494
7497
|
const {
|
|
7495
7498
|
systemProps,
|
|
7496
7499
|
otherProps
|
|
@@ -7514,9 +7517,9 @@
|
|
|
7514
7517
|
});
|
|
7515
7518
|
}
|
|
7516
7519
|
|
|
7517
|
-
function r
|
|
7520
|
+
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
7518
7521
|
|
|
7519
|
-
const _excluded$
|
|
7522
|
+
const _excluded$2l = ["className", "component"];
|
|
7520
7523
|
function createBox(options = {}) {
|
|
7521
7524
|
const {
|
|
7522
7525
|
themeId,
|
|
@@ -7534,18 +7537,18 @@
|
|
|
7534
7537
|
className,
|
|
7535
7538
|
component = 'div'
|
|
7536
7539
|
} = _extendSxProp,
|
|
7537
|
-
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$
|
|
7540
|
+
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2l);
|
|
7538
7541
|
return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
|
|
7539
7542
|
as: component,
|
|
7540
7543
|
ref: ref,
|
|
7541
|
-
className: clsx
|
|
7544
|
+
className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
|
|
7542
7545
|
theme: themeId ? theme[themeId] || theme : theme
|
|
7543
7546
|
}, other));
|
|
7544
7547
|
});
|
|
7545
7548
|
return Box;
|
|
7546
7549
|
}
|
|
7547
7550
|
|
|
7548
|
-
const _excluded$
|
|
7551
|
+
const _excluded$2k = ["variant"];
|
|
7549
7552
|
function isEmpty$3(string) {
|
|
7550
7553
|
return string.length === 0;
|
|
7551
7554
|
}
|
|
@@ -7559,7 +7562,7 @@
|
|
|
7559
7562
|
const {
|
|
7560
7563
|
variant
|
|
7561
7564
|
} = props,
|
|
7562
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
7565
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2k);
|
|
7563
7566
|
let classKey = variant || '';
|
|
7564
7567
|
Object.keys(other).sort().forEach(key => {
|
|
7565
7568
|
if (key === 'color') {
|
|
@@ -7571,7 +7574,7 @@
|
|
|
7571
7574
|
return classKey;
|
|
7572
7575
|
}
|
|
7573
7576
|
|
|
7574
|
-
const _excluded$
|
|
7577
|
+
const _excluded$2j = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
7575
7578
|
function isEmpty$2(obj) {
|
|
7576
7579
|
return Object.keys(obj).length === 0;
|
|
7577
7580
|
}
|
|
@@ -7677,7 +7680,7 @@
|
|
|
7677
7680
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
7678
7681
|
overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))
|
|
7679
7682
|
} = inputOptions,
|
|
7680
|
-
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$
|
|
7683
|
+
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2j);
|
|
7681
7684
|
|
|
7682
7685
|
// if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
|
|
7683
7686
|
const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :
|
|
@@ -8563,7 +8566,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8563
8566
|
});
|
|
8564
8567
|
}
|
|
8565
8568
|
|
|
8566
|
-
const _excluded$
|
|
8569
|
+
const _excluded$2i = ["colorSchemes", "components", "generateCssVars", "cssVarPrefix"];
|
|
8567
8570
|
const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';
|
|
8568
8571
|
function createCssVarsProvider(options) {
|
|
8569
8572
|
const {
|
|
@@ -8626,7 +8629,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8626
8629
|
}),
|
|
8627
8630
|
cssVarPrefix
|
|
8628
8631
|
} = _ref,
|
|
8629
|
-
restThemeProp = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8632
|
+
restThemeProp = _objectWithoutPropertiesLoose(_ref, _excluded$2i);
|
|
8630
8633
|
const allColorSchemes = Object.keys(colorSchemes);
|
|
8631
8634
|
const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;
|
|
8632
8635
|
const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;
|
|
@@ -9046,14 +9049,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9046
9049
|
};
|
|
9047
9050
|
}
|
|
9048
9051
|
|
|
9049
|
-
const _excluded$
|
|
9050
|
-
_excluded2$
|
|
9052
|
+
const _excluded$2h = ["colorSchemes", "components"],
|
|
9053
|
+
_excluded2$e = ["light"];
|
|
9051
9054
|
function prepareCssVars(theme, parserConfig) {
|
|
9052
9055
|
// @ts-ignore - ignore components do not exist
|
|
9053
9056
|
const {
|
|
9054
9057
|
colorSchemes = {}
|
|
9055
9058
|
} = theme,
|
|
9056
|
-
otherTheme = _objectWithoutPropertiesLoose(theme, _excluded$
|
|
9059
|
+
otherTheme = _objectWithoutPropertiesLoose(theme, _excluded$2h);
|
|
9057
9060
|
const {
|
|
9058
9061
|
vars: rootVars,
|
|
9059
9062
|
css: rootCss,
|
|
@@ -9064,7 +9067,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9064
9067
|
const {
|
|
9065
9068
|
light
|
|
9066
9069
|
} = colorSchemes,
|
|
9067
|
-
otherColorSchemes = _objectWithoutPropertiesLoose(colorSchemes, _excluded2$
|
|
9070
|
+
otherColorSchemes = _objectWithoutPropertiesLoose(colorSchemes, _excluded2$e);
|
|
9068
9071
|
Object.entries(otherColorSchemes || {}).forEach(([key, scheme]) => {
|
|
9069
9072
|
const {
|
|
9070
9073
|
vars,
|
|
@@ -9108,7 +9111,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9108
9111
|
};
|
|
9109
9112
|
}
|
|
9110
9113
|
|
|
9111
|
-
const _excluded$
|
|
9114
|
+
const _excluded$2g = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
|
|
9112
9115
|
const defaultTheme$6 = createTheme$1();
|
|
9113
9116
|
const defaultCreateStyledComponent$2 = systemStyled('div', {
|
|
9114
9117
|
name: 'MuiContainer',
|
|
@@ -9204,7 +9207,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9204
9207
|
fixed = false,
|
|
9205
9208
|
maxWidth = 'lg'
|
|
9206
9209
|
} = props,
|
|
9207
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9210
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2g);
|
|
9208
9211
|
const ownerState = _extends({}, props, {
|
|
9209
9212
|
component,
|
|
9210
9213
|
disableGutters,
|
|
@@ -9222,7 +9225,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9222
9225
|
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
9223
9226
|
,
|
|
9224
9227
|
ownerState: ownerState,
|
|
9225
|
-
className: clsx
|
|
9228
|
+
className: clsx(classes.root, className),
|
|
9226
9229
|
ref: ref
|
|
9227
9230
|
}, other))
|
|
9228
9231
|
);
|
|
@@ -9506,7 +9509,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9506
9509
|
return [`direction-xs-${String(direction)}`];
|
|
9507
9510
|
};
|
|
9508
9511
|
|
|
9509
|
-
const _excluded$
|
|
9512
|
+
const _excluded$2f = ["className", "children", "columns", "container", "component", "direction", "wrap", "spacing", "rowSpacing", "columnSpacing", "disableEqualOverflow", "unstable_level"];
|
|
9510
9513
|
const defaultTheme$5 = createTheme$1();
|
|
9511
9514
|
|
|
9512
9515
|
// widening Theme to any so that the consumer can own the theme structure.
|
|
@@ -9564,7 +9567,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9564
9567
|
disableEqualOverflow: themeDisableEqualOverflow,
|
|
9565
9568
|
unstable_level: level = 0
|
|
9566
9569
|
} = props,
|
|
9567
|
-
rest = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9570
|
+
rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
|
|
9568
9571
|
// Because `disableEqualOverflow` can be set from the theme's defaultProps, the **nested** grid should look at the instance props instead.
|
|
9569
9572
|
let disableEqualOverflow = themeDisableEqualOverflow;
|
|
9570
9573
|
if (level && themeDisableEqualOverflow !== undefined) {
|
|
@@ -9608,7 +9611,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9608
9611
|
ref: ref,
|
|
9609
9612
|
as: component,
|
|
9610
9613
|
ownerState: ownerState,
|
|
9611
|
-
className: clsx
|
|
9614
|
+
className: clsx(classes.root, className)
|
|
9612
9615
|
}, other, {
|
|
9613
9616
|
children: React__namespace.Children.map(children, child => {
|
|
9614
9617
|
if ( /*#__PURE__*/React__namespace.isValidElement(child) && isMuiElement(child, ['Grid'])) {
|
|
@@ -9661,7 +9664,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9661
9664
|
return Grid;
|
|
9662
9665
|
}
|
|
9663
9666
|
|
|
9664
|
-
const _excluded$
|
|
9667
|
+
const _excluded$2e = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
|
|
9665
9668
|
const defaultTheme$4 = createTheme$1();
|
|
9666
9669
|
// widening Theme to any so that the consumer can own the theme structure.
|
|
9667
9670
|
const defaultCreateStyledComponent = systemStyled('div', {
|
|
@@ -9794,7 +9797,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9794
9797
|
className,
|
|
9795
9798
|
useFlexGap = false
|
|
9796
9799
|
} = props,
|
|
9797
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9800
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2e);
|
|
9798
9801
|
const ownerState = {
|
|
9799
9802
|
direction,
|
|
9800
9803
|
spacing,
|
|
@@ -9805,7 +9808,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9805
9808
|
as: component,
|
|
9806
9809
|
ownerState: ownerState,
|
|
9807
9810
|
ref: ref,
|
|
9808
|
-
className: clsx
|
|
9811
|
+
className: clsx(classes.root, className)
|
|
9809
9812
|
}, other, {
|
|
9810
9813
|
children: divider ? joinChildren(children, divider) : children
|
|
9811
9814
|
}));
|
|
@@ -9820,8 +9823,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9820
9823
|
return Stack;
|
|
9821
9824
|
}
|
|
9822
9825
|
|
|
9823
|
-
const _excluded$
|
|
9824
|
-
_excluded2$
|
|
9826
|
+
const _excluded$2d = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
|
|
9827
|
+
_excluded2$d = ["type", "mode"];
|
|
9825
9828
|
function adaptV4Theme(inputTheme) {
|
|
9826
9829
|
{
|
|
9827
9830
|
console.warn(['MUI: adaptV4Theme() is deprecated.', 'Follow the upgrade guide on https://mui.com/r/migration-v4#theme.'].join('\n'));
|
|
@@ -9834,7 +9837,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9834
9837
|
props = {},
|
|
9835
9838
|
styleOverrides = {}
|
|
9836
9839
|
} = inputTheme,
|
|
9837
|
-
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$
|
|
9840
|
+
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2d);
|
|
9838
9841
|
const theme = _extends({}, other, {
|
|
9839
9842
|
components: {}
|
|
9840
9843
|
});
|
|
@@ -9886,7 +9889,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9886
9889
|
type: typeInput,
|
|
9887
9890
|
mode: modeInput
|
|
9888
9891
|
} = palette,
|
|
9889
|
-
paletteRest = _objectWithoutPropertiesLoose(palette, _excluded2$
|
|
9892
|
+
paletteRest = _objectWithoutPropertiesLoose(palette, _excluded2$d);
|
|
9890
9893
|
const finalMode = modeInput || typeInput || 'light';
|
|
9891
9894
|
theme.palette = _extends({
|
|
9892
9895
|
// theme.palette.text.hint
|
|
@@ -9915,7 +9918,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9915
9918
|
}, mixins);
|
|
9916
9919
|
}
|
|
9917
9920
|
|
|
9918
|
-
const _excluded$
|
|
9921
|
+
const _excluded$2c = ["mode", "contrastThreshold", "tonalOffset"];
|
|
9919
9922
|
const light = {
|
|
9920
9923
|
// The colors used to style the text.
|
|
9921
9924
|
text: {
|
|
@@ -10084,7 +10087,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10084
10087
|
contrastThreshold = 3,
|
|
10085
10088
|
tonalOffset = 0.2
|
|
10086
10089
|
} = palette,
|
|
10087
|
-
other = _objectWithoutPropertiesLoose(palette, _excluded$
|
|
10090
|
+
other = _objectWithoutPropertiesLoose(palette, _excluded$2c);
|
|
10088
10091
|
const primary = palette.primary || getDefaultPrimary(mode);
|
|
10089
10092
|
const secondary = palette.secondary || getDefaultSecondary(mode);
|
|
10090
10093
|
const error = palette.error || getDefaultError(mode);
|
|
@@ -10208,7 +10211,7 @@ const theme2 = createTheme({ palette: {
|
|
|
10208
10211
|
return paletteOutput;
|
|
10209
10212
|
}
|
|
10210
10213
|
|
|
10211
|
-
const _excluded$
|
|
10214
|
+
const _excluded$2b = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
10212
10215
|
function round$2(value) {
|
|
10213
10216
|
return Math.round(value * 1e5) / 1e5;
|
|
10214
10217
|
}
|
|
@@ -10239,7 +10242,7 @@ const theme2 = createTheme({ palette: {
|
|
|
10239
10242
|
allVariants,
|
|
10240
10243
|
pxToRem: pxToRem2
|
|
10241
10244
|
} = _ref,
|
|
10242
|
-
other = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
10245
|
+
other = _objectWithoutPropertiesLoose(_ref, _excluded$2b);
|
|
10243
10246
|
{
|
|
10244
10247
|
if (typeof fontSize !== 'number') {
|
|
10245
10248
|
console.error('MUI: `fontSize` is required to be a number.');
|
|
@@ -10307,7 +10310,7 @@ const theme2 = createTheme({ palette: {
|
|
|
10307
10310
|
const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
|
|
10308
10311
|
var shadows$1 = shadows;
|
|
10309
10312
|
|
|
10310
|
-
const _excluded$
|
|
10313
|
+
const _excluded$2a = ["duration", "easing", "delay"];
|
|
10311
10314
|
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
|
|
10312
10315
|
// to learn the context in which each easing should be used.
|
|
10313
10316
|
const easing = {
|
|
@@ -10358,7 +10361,7 @@ const theme2 = createTheme({ palette: {
|
|
|
10358
10361
|
easing: easingOption = mergedEasing.easeInOut,
|
|
10359
10362
|
delay = 0
|
|
10360
10363
|
} = options,
|
|
10361
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
10364
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$2a);
|
|
10362
10365
|
{
|
|
10363
10366
|
const isString = value => typeof value === 'string';
|
|
10364
10367
|
// IE11 support, replace with Number.isNaN
|
|
@@ -10408,7 +10411,7 @@ const theme2 = createTheme({ palette: {
|
|
|
10408
10411
|
};
|
|
10409
10412
|
var zIndex$1 = zIndex;
|
|
10410
10413
|
|
|
10411
|
-
const _excluded$
|
|
10414
|
+
const _excluded$29 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
10412
10415
|
function createTheme(options = {}, ...args) {
|
|
10413
10416
|
const {
|
|
10414
10417
|
mixins: mixinsInput = {},
|
|
@@ -10416,7 +10419,7 @@ const theme2 = createTheme({ palette: {
|
|
|
10416
10419
|
transitions: transitionsInput = {},
|
|
10417
10420
|
typography: typographyInput = {}
|
|
10418
10421
|
} = options,
|
|
10419
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
10422
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$29);
|
|
10420
10423
|
if (options.vars) {
|
|
10421
10424
|
throw new Error(`MUI: \`vars\` is a private field used for CSS variables support.
|
|
10422
10425
|
Please use another name.` );
|
|
@@ -10717,12 +10720,12 @@ Use unitless line heights instead.` );
|
|
|
10717
10720
|
});
|
|
10718
10721
|
var styled$1 = styled;
|
|
10719
10722
|
|
|
10720
|
-
const _excluded$
|
|
10723
|
+
const _excluded$28 = ["theme"];
|
|
10721
10724
|
function ThemeProvider(_ref) {
|
|
10722
10725
|
let {
|
|
10723
10726
|
theme: themeInput
|
|
10724
10727
|
} = _ref,
|
|
10725
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
10728
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$28);
|
|
10726
10729
|
const scopedTheme = themeInput[THEME_ID];
|
|
10727
10730
|
return /*#__PURE__*/jsxRuntime_1(ThemeProvider$1, _extends({}, props, {
|
|
10728
10731
|
themeId: scopedTheme ? THEME_ID : undefined,
|
|
@@ -10777,8 +10780,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10777
10780
|
};
|
|
10778
10781
|
var getOverlayAlpha$1 = getOverlayAlpha;
|
|
10779
10782
|
|
|
10780
|
-
const _excluded$
|
|
10781
|
-
_excluded2$
|
|
10783
|
+
const _excluded$27 = ["colorSchemes", "cssVarPrefix", "shouldSkipGeneratingVar"],
|
|
10784
|
+
_excluded2$c = ["palette"];
|
|
10782
10785
|
const defaultDarkOverlays = [...Array(25)].map((_, index) => {
|
|
10783
10786
|
if (index === 0) {
|
|
10784
10787
|
return undefined;
|
|
@@ -10821,7 +10824,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10821
10824
|
cssVarPrefix = 'mui',
|
|
10822
10825
|
shouldSkipGeneratingVar: shouldSkipGeneratingVar$1 = shouldSkipGeneratingVar
|
|
10823
10826
|
} = options,
|
|
10824
|
-
input = _objectWithoutPropertiesLoose(options, _excluded$
|
|
10827
|
+
input = _objectWithoutPropertiesLoose(options, _excluded$27);
|
|
10825
10828
|
const getCssVar = createGetCssVar(cssVarPrefix);
|
|
10826
10829
|
const _createThemeWithoutVa = createTheme(_extends({}, input, colorSchemesInput.light && {
|
|
10827
10830
|
palette: (_colorSchemesInput$li = colorSchemesInput.light) == null ? void 0 : _colorSchemesInput$li.palette
|
|
@@ -10829,7 +10832,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10829
10832
|
{
|
|
10830
10833
|
palette: lightPalette
|
|
10831
10834
|
} = _createThemeWithoutVa,
|
|
10832
|
-
muiTheme = _objectWithoutPropertiesLoose(_createThemeWithoutVa, _excluded2$
|
|
10835
|
+
muiTheme = _objectWithoutPropertiesLoose(_createThemeWithoutVa, _excluded2$c);
|
|
10833
10836
|
const {
|
|
10834
10837
|
palette: darkPalette
|
|
10835
10838
|
} = createTheme({
|
|
@@ -11112,15 +11115,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
11112
11115
|
throw new Error(`MUI: The \`experimental_sx\` has been moved to \`theme.unstable_sx\`.For more details, see https://github.com/mui/material-ui/pull/35150.` );
|
|
11113
11116
|
}
|
|
11114
11117
|
|
|
11115
|
-
function r$1(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r$1(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx$1(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r$1(e))&&(n&&(n+=" "),n+=t);return n}
|
|
11116
|
-
|
|
11117
11118
|
function getSvgIconUtilityClass(slot) {
|
|
11118
11119
|
return generateUtilityClass('MuiSvgIcon', slot);
|
|
11119
11120
|
}
|
|
11120
11121
|
const svgIconClasses = generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
|
|
11121
11122
|
var svgIconClasses$1 = svgIconClasses;
|
|
11122
11123
|
|
|
11123
|
-
const _excluded$
|
|
11124
|
+
const _excluded$26 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
|
|
11124
11125
|
const useUtilityClasses$1O = ownerState => {
|
|
11125
11126
|
const {
|
|
11126
11127
|
color,
|
|
@@ -11188,7 +11189,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
11188
11189
|
titleAccess,
|
|
11189
11190
|
viewBox = '0 0 24 24'
|
|
11190
11191
|
} = props,
|
|
11191
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
11192
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$26);
|
|
11192
11193
|
const hasSvgAsChild = /*#__PURE__*/React__namespace.isValidElement(children) && children.type === 'svg';
|
|
11193
11194
|
const ownerState = _extends({}, props, {
|
|
11194
11195
|
color,
|
|
@@ -11206,7 +11207,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
11206
11207
|
const classes = useUtilityClasses$1O(ownerState);
|
|
11207
11208
|
return /*#__PURE__*/jsxRuntime_2(SvgIconRoot, _extends({
|
|
11208
11209
|
as: component,
|
|
11209
|
-
className: clsx
|
|
11210
|
+
className: clsx(classes.root, className),
|
|
11210
11211
|
focusable: "false",
|
|
11211
11212
|
color: htmlColor,
|
|
11212
11213
|
"aria-hidden": titleAccess ? undefined : true,
|
|
@@ -12331,7 +12332,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
12331
12332
|
const collapseClasses = generateUtilityClasses('MuiCollapse', ['root', 'horizontal', 'vertical', 'entered', 'hidden', 'wrapper', 'wrapperInner']);
|
|
12332
12333
|
var collapseClasses$1 = collapseClasses;
|
|
12333
12334
|
|
|
12334
|
-
const _excluded$
|
|
12335
|
+
const _excluded$25 = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
|
|
12335
12336
|
const useUtilityClasses$1N = ownerState => {
|
|
12336
12337
|
const {
|
|
12337
12338
|
orientation,
|
|
@@ -12431,7 +12432,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
12431
12432
|
// eslint-disable-next-line react/prop-types
|
|
12432
12433
|
TransitionComponent = Transition$1
|
|
12433
12434
|
} = props,
|
|
12434
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
12435
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$25);
|
|
12435
12436
|
const ownerState = _extends({}, props, {
|
|
12436
12437
|
orientation,
|
|
12437
12438
|
collapsedSize: collapsedSizeProp
|
|
@@ -12566,7 +12567,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
12566
12567
|
}, other, {
|
|
12567
12568
|
children: (state, childProps) => /*#__PURE__*/jsxRuntime_1(CollapseRoot, _extends({
|
|
12568
12569
|
as: component,
|
|
12569
|
-
className: clsx
|
|
12570
|
+
className: clsx(classes.root, className, {
|
|
12570
12571
|
'entered': classes.entered,
|
|
12571
12572
|
'exited': !inProp && collapsedSize === '0px' && classes.hidden
|
|
12572
12573
|
}[state]),
|
|
@@ -12699,7 +12700,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
12699
12700
|
const paperClasses = generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
|
|
12700
12701
|
var paperClasses$1 = paperClasses;
|
|
12701
12702
|
|
|
12702
|
-
const _excluded$
|
|
12703
|
+
const _excluded$24 = ["className", "component", "elevation", "square", "variant"];
|
|
12703
12704
|
const useUtilityClasses$1M = ownerState => {
|
|
12704
12705
|
const {
|
|
12705
12706
|
square,
|
|
@@ -12754,7 +12755,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
12754
12755
|
square = false,
|
|
12755
12756
|
variant = 'elevation'
|
|
12756
12757
|
} = props,
|
|
12757
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
12758
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$24);
|
|
12758
12759
|
const ownerState = _extends({}, props, {
|
|
12759
12760
|
component,
|
|
12760
12761
|
elevation,
|
|
@@ -12772,7 +12773,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
12772
12773
|
return /*#__PURE__*/jsxRuntime_1(PaperRoot, _extends({
|
|
12773
12774
|
as: component,
|
|
12774
12775
|
ownerState: ownerState,
|
|
12775
|
-
className: clsx
|
|
12776
|
+
className: clsx(classes.root, className),
|
|
12776
12777
|
ref: ref
|
|
12777
12778
|
}, other));
|
|
12778
12779
|
});
|
|
@@ -12846,7 +12847,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
12846
12847
|
const accordionClasses = generateUtilityClasses('MuiAccordion', ['root', 'rounded', 'expanded', 'disabled', 'gutters', 'region']);
|
|
12847
12848
|
var accordionClasses$1 = accordionClasses;
|
|
12848
12849
|
|
|
12849
|
-
const _excluded$
|
|
12850
|
+
const _excluded$23 = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
|
|
12850
12851
|
const useUtilityClasses$1L = ownerState => {
|
|
12851
12852
|
const {
|
|
12852
12853
|
classes,
|
|
@@ -12959,7 +12960,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
12959
12960
|
TransitionComponent = Collapse$1,
|
|
12960
12961
|
TransitionProps
|
|
12961
12962
|
} = props,
|
|
12962
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
12963
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$23);
|
|
12963
12964
|
const [expanded, setExpandedState] = useControlled({
|
|
12964
12965
|
controlled: expandedProp,
|
|
12965
12966
|
default: defaultExpanded,
|
|
@@ -12987,7 +12988,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
12987
12988
|
});
|
|
12988
12989
|
const classes = useUtilityClasses$1L(ownerState);
|
|
12989
12990
|
return /*#__PURE__*/jsxRuntime_2(AccordionRoot, _extends({
|
|
12990
|
-
className: clsx
|
|
12991
|
+
className: clsx(classes.root, className),
|
|
12991
12992
|
ref: ref,
|
|
12992
12993
|
ownerState: ownerState,
|
|
12993
12994
|
square: square
|
|
@@ -13091,7 +13092,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13091
13092
|
const accordionActionsClasses = generateUtilityClasses('MuiAccordionActions', ['root', 'spacing']);
|
|
13092
13093
|
var accordionActionsClasses$1 = accordionActionsClasses;
|
|
13093
13094
|
|
|
13094
|
-
const _excluded$
|
|
13095
|
+
const _excluded$22 = ["className", "disableSpacing"];
|
|
13095
13096
|
const useUtilityClasses$1K = ownerState => {
|
|
13096
13097
|
const {
|
|
13097
13098
|
classes,
|
|
@@ -13132,13 +13133,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13132
13133
|
className,
|
|
13133
13134
|
disableSpacing = false
|
|
13134
13135
|
} = props,
|
|
13135
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
13136
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$22);
|
|
13136
13137
|
const ownerState = _extends({}, props, {
|
|
13137
13138
|
disableSpacing
|
|
13138
13139
|
});
|
|
13139
13140
|
const classes = useUtilityClasses$1K(ownerState);
|
|
13140
13141
|
return /*#__PURE__*/jsxRuntime_1(AccordionActionsRoot, _extends({
|
|
13141
|
-
className: clsx
|
|
13142
|
+
className: clsx(classes.root, className),
|
|
13142
13143
|
ref: ref,
|
|
13143
13144
|
ownerState: ownerState
|
|
13144
13145
|
}, other));
|
|
@@ -13178,7 +13179,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13178
13179
|
const accordionDetailsClasses = generateUtilityClasses('MuiAccordionDetails', ['root']);
|
|
13179
13180
|
var accordionDetailsClasses$1 = accordionDetailsClasses;
|
|
13180
13181
|
|
|
13181
|
-
const _excluded$
|
|
13182
|
+
const _excluded$21 = ["className"];
|
|
13182
13183
|
const useUtilityClasses$1J = ownerState => {
|
|
13183
13184
|
const {
|
|
13184
13185
|
classes
|
|
@@ -13205,11 +13206,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13205
13206
|
const {
|
|
13206
13207
|
className
|
|
13207
13208
|
} = props,
|
|
13208
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
13209
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$21);
|
|
13209
13210
|
const ownerState = props;
|
|
13210
13211
|
const classes = useUtilityClasses$1J(ownerState);
|
|
13211
13212
|
return /*#__PURE__*/jsxRuntime_1(AccordionDetailsRoot, _extends({
|
|
13212
|
-
className: clsx
|
|
13213
|
+
className: clsx(classes.root, className),
|
|
13213
13214
|
ref: ref,
|
|
13214
13215
|
ownerState: ownerState
|
|
13215
13216
|
}, other));
|
|
@@ -13251,14 +13252,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13251
13252
|
timeout
|
|
13252
13253
|
} = props;
|
|
13253
13254
|
const [leaving, setLeaving] = React__namespace.useState(false);
|
|
13254
|
-
const rippleClassName = clsx
|
|
13255
|
+
const rippleClassName = clsx(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);
|
|
13255
13256
|
const rippleStyles = {
|
|
13256
13257
|
width: rippleSize,
|
|
13257
13258
|
height: rippleSize,
|
|
13258
13259
|
top: -(rippleSize / 2) + rippleY,
|
|
13259
13260
|
left: -(rippleSize / 2) + rippleX
|
|
13260
13261
|
};
|
|
13261
|
-
const childClassName = clsx
|
|
13262
|
+
const childClassName = clsx(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);
|
|
13262
13263
|
if (!inProp && !leaving) {
|
|
13263
13264
|
setLeaving(true);
|
|
13264
13265
|
}
|
|
@@ -13323,7 +13324,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13323
13324
|
const touchRippleClasses = generateUtilityClasses('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);
|
|
13324
13325
|
var touchRippleClasses$1 = touchRippleClasses;
|
|
13325
13326
|
|
|
13326
|
-
const _excluded$
|
|
13327
|
+
const _excluded$20 = ["center", "classes", "className"];
|
|
13327
13328
|
let _$3 = t => t,
|
|
13328
13329
|
_t$3,
|
|
13329
13330
|
_t2$3,
|
|
@@ -13452,7 +13453,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13452
13453
|
classes = {},
|
|
13453
13454
|
className
|
|
13454
13455
|
} = props,
|
|
13455
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
13456
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$20);
|
|
13456
13457
|
const [ripples, setRipples] = React__namespace.useState([]);
|
|
13457
13458
|
const nextKey = React__namespace.useRef(0);
|
|
13458
13459
|
const rippleCallback = React__namespace.useRef(null);
|
|
@@ -13489,12 +13490,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13489
13490
|
} = params;
|
|
13490
13491
|
setRipples(oldRipples => [...oldRipples, /*#__PURE__*/jsxRuntime_1(TouchRippleRipple, {
|
|
13491
13492
|
classes: {
|
|
13492
|
-
ripple: clsx
|
|
13493
|
-
rippleVisible: clsx
|
|
13494
|
-
ripplePulsate: clsx
|
|
13495
|
-
child: clsx
|
|
13496
|
-
childLeaving: clsx
|
|
13497
|
-
childPulsate: clsx
|
|
13493
|
+
ripple: clsx(classes.ripple, touchRippleClasses$1.ripple),
|
|
13494
|
+
rippleVisible: clsx(classes.rippleVisible, touchRippleClasses$1.rippleVisible),
|
|
13495
|
+
ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses$1.ripplePulsate),
|
|
13496
|
+
child: clsx(classes.child, touchRippleClasses$1.child),
|
|
13497
|
+
childLeaving: clsx(classes.childLeaving, touchRippleClasses$1.childLeaving),
|
|
13498
|
+
childPulsate: clsx(classes.childPulsate, touchRippleClasses$1.childPulsate)
|
|
13498
13499
|
},
|
|
13499
13500
|
timeout: DURATION,
|
|
13500
13501
|
pulsate: pulsate,
|
|
@@ -13621,7 +13622,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13621
13622
|
stop
|
|
13622
13623
|
}), [pulsate, start, stop]);
|
|
13623
13624
|
return /*#__PURE__*/jsxRuntime_1(TouchRippleRoot, _extends({
|
|
13624
|
-
className: clsx
|
|
13625
|
+
className: clsx(touchRippleClasses$1.root, classes.root, className),
|
|
13625
13626
|
ref: container
|
|
13626
13627
|
}, other, {
|
|
13627
13628
|
children: /*#__PURE__*/jsxRuntime_1(TransitionGroup$1, {
|
|
@@ -13655,7 +13656,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13655
13656
|
const buttonBaseClasses = generateUtilityClasses('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
|
|
13656
13657
|
var buttonBaseClasses$1 = buttonBaseClasses;
|
|
13657
13658
|
|
|
13658
|
-
const _excluded$
|
|
13659
|
+
const _excluded$1$ = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
|
|
13659
13660
|
const useUtilityClasses$1I = ownerState => {
|
|
13660
13661
|
const {
|
|
13661
13662
|
disabled,
|
|
@@ -13757,7 +13758,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13757
13758
|
touchRippleRef,
|
|
13758
13759
|
type
|
|
13759
13760
|
} = props,
|
|
13760
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
13761
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1$);
|
|
13761
13762
|
const buttonRef = React__namespace.useRef(null);
|
|
13762
13763
|
const rippleRef = React__namespace.useRef(null);
|
|
13763
13764
|
const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
|
|
@@ -13927,7 +13928,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13927
13928
|
const classes = useUtilityClasses$1I(ownerState);
|
|
13928
13929
|
return /*#__PURE__*/jsxRuntime_2(ButtonBaseRoot, _extends({
|
|
13929
13930
|
as: ComponentProp,
|
|
13930
|
-
className: clsx
|
|
13931
|
+
className: clsx(classes.root, className),
|
|
13931
13932
|
ownerState: ownerState,
|
|
13932
13933
|
onBlur: handleBlur,
|
|
13933
13934
|
onClick: onClick,
|
|
@@ -14121,7 +14122,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14121
14122
|
const accordionSummaryClasses = generateUtilityClasses('MuiAccordionSummary', ['root', 'expanded', 'focusVisible', 'disabled', 'gutters', 'contentGutters', 'content', 'expandIconWrapper']);
|
|
14122
14123
|
var accordionSummaryClasses$1 = accordionSummaryClasses;
|
|
14123
14124
|
|
|
14124
|
-
const _excluded$
|
|
14125
|
+
const _excluded$1_ = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
|
|
14125
14126
|
const useUtilityClasses$1H = ownerState => {
|
|
14126
14127
|
const {
|
|
14127
14128
|
classes,
|
|
@@ -14216,7 +14217,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14216
14217
|
focusVisibleClassName,
|
|
14217
14218
|
onClick
|
|
14218
14219
|
} = props,
|
|
14219
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14220
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1_);
|
|
14220
14221
|
const {
|
|
14221
14222
|
disabled = false,
|
|
14222
14223
|
disableGutters,
|
|
@@ -14243,8 +14244,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14243
14244
|
disabled: disabled,
|
|
14244
14245
|
component: "div",
|
|
14245
14246
|
"aria-expanded": expanded,
|
|
14246
|
-
className: clsx
|
|
14247
|
-
focusVisibleClassName: clsx
|
|
14247
|
+
className: clsx(classes.root, className),
|
|
14248
|
+
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
|
14248
14249
|
onClick: handleChange,
|
|
14249
14250
|
ref: ref,
|
|
14250
14251
|
ownerState: ownerState
|
|
@@ -14313,7 +14314,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14313
14314
|
const iconButtonClasses = generateUtilityClasses('MuiIconButton', ['root', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'edgeStart', 'edgeEnd', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
|
|
14314
14315
|
var iconButtonClasses$1 = iconButtonClasses;
|
|
14315
14316
|
|
|
14316
|
-
const _excluded$
|
|
14317
|
+
const _excluded$1Z = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
|
|
14317
14318
|
const useUtilityClasses$1G = ownerState => {
|
|
14318
14319
|
const {
|
|
14319
14320
|
classes,
|
|
@@ -14414,7 +14415,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14414
14415
|
disableFocusRipple = false,
|
|
14415
14416
|
size = 'medium'
|
|
14416
14417
|
} = props,
|
|
14417
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14418
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1Z);
|
|
14418
14419
|
const ownerState = _extends({}, props, {
|
|
14419
14420
|
edge,
|
|
14420
14421
|
color,
|
|
@@ -14424,7 +14425,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14424
14425
|
});
|
|
14425
14426
|
const classes = useUtilityClasses$1G(ownerState);
|
|
14426
14427
|
return /*#__PURE__*/jsxRuntime_1(IconButtonRoot, _extends({
|
|
14427
|
-
className: clsx
|
|
14428
|
+
className: clsx(classes.root, className),
|
|
14428
14429
|
centerRipple: true,
|
|
14429
14430
|
focusRipple: !disableFocusRipple,
|
|
14430
14431
|
disabled: disabled,
|
|
@@ -14523,7 +14524,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14523
14524
|
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
14524
14525
|
}), 'Close');
|
|
14525
14526
|
|
|
14526
|
-
const _excluded$
|
|
14527
|
+
const _excluded$1Y = ["action", "children", "className", "closeText", "color", "components", "componentsProps", "icon", "iconMapping", "onClose", "role", "severity", "slotProps", "slots", "variant"];
|
|
14527
14528
|
const useUtilityClasses$1F = ownerState => {
|
|
14528
14529
|
const {
|
|
14529
14530
|
variant,
|
|
@@ -14653,7 +14654,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14653
14654
|
slots = {},
|
|
14654
14655
|
variant = 'standard'
|
|
14655
14656
|
} = props,
|
|
14656
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14657
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1Y);
|
|
14657
14658
|
const ownerState = _extends({}, props, {
|
|
14658
14659
|
color,
|
|
14659
14660
|
severity,
|
|
@@ -14668,7 +14669,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14668
14669
|
role: role,
|
|
14669
14670
|
elevation: 0,
|
|
14670
14671
|
ownerState: ownerState,
|
|
14671
|
-
className: clsx
|
|
14672
|
+
className: clsx(classes.root, className),
|
|
14672
14673
|
ref: ref
|
|
14673
14674
|
}, other, {
|
|
14674
14675
|
children: [icon !== false ? /*#__PURE__*/jsxRuntime_1(AlertIcon, {
|
|
@@ -14834,7 +14835,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14834
14835
|
const typographyClasses = generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
|
|
14835
14836
|
var typographyClasses$1 = typographyClasses;
|
|
14836
14837
|
|
|
14837
|
-
const _excluded$
|
|
14838
|
+
const _excluded$1X = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
|
|
14838
14839
|
const useUtilityClasses$1E = ownerState => {
|
|
14839
14840
|
const {
|
|
14840
14841
|
align,
|
|
@@ -14921,7 +14922,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14921
14922
|
variant = 'body1',
|
|
14922
14923
|
variantMapping = defaultVariantMapping
|
|
14923
14924
|
} = props,
|
|
14924
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14925
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1X);
|
|
14925
14926
|
const ownerState = _extends({}, props, {
|
|
14926
14927
|
align,
|
|
14927
14928
|
color,
|
|
@@ -14939,7 +14940,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14939
14940
|
as: Component,
|
|
14940
14941
|
ref: ref,
|
|
14941
14942
|
ownerState: ownerState,
|
|
14942
|
-
className: clsx
|
|
14943
|
+
className: clsx(classes.root, className)
|
|
14943
14944
|
}, other));
|
|
14944
14945
|
});
|
|
14945
14946
|
Typography.propTypes /* remove-proptypes */ = {
|
|
@@ -15025,7 +15026,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15025
15026
|
const alertTitleClasses = generateUtilityClasses('MuiAlertTitle', ['root']);
|
|
15026
15027
|
var alertTitleClasses$1 = alertTitleClasses;
|
|
15027
15028
|
|
|
15028
|
-
const _excluded$
|
|
15029
|
+
const _excluded$1W = ["className"];
|
|
15029
15030
|
const useUtilityClasses$1D = ownerState => {
|
|
15030
15031
|
const {
|
|
15031
15032
|
classes
|
|
@@ -15055,7 +15056,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15055
15056
|
const {
|
|
15056
15057
|
className
|
|
15057
15058
|
} = props,
|
|
15058
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
15059
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1W);
|
|
15059
15060
|
const ownerState = props;
|
|
15060
15061
|
const classes = useUtilityClasses$1D(ownerState);
|
|
15061
15062
|
return /*#__PURE__*/jsxRuntime_1(AlertTitleRoot, _extends({
|
|
@@ -15063,7 +15064,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15063
15064
|
component: "div",
|
|
15064
15065
|
ownerState: ownerState,
|
|
15065
15066
|
ref: ref,
|
|
15066
|
-
className: clsx
|
|
15067
|
+
className: clsx(classes.root, className)
|
|
15067
15068
|
}, other));
|
|
15068
15069
|
});
|
|
15069
15070
|
AlertTitle.propTypes /* remove-proptypes */ = {
|
|
@@ -15096,7 +15097,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15096
15097
|
const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);
|
|
15097
15098
|
var appBarClasses$1 = appBarClasses;
|
|
15098
15099
|
|
|
15099
|
-
const _excluded$
|
|
15100
|
+
const _excluded$1V = ["className", "color", "enableColorOnDark", "position"];
|
|
15100
15101
|
const useUtilityClasses$1C = ownerState => {
|
|
15101
15102
|
const {
|
|
15102
15103
|
color,
|
|
@@ -15202,7 +15203,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15202
15203
|
enableColorOnDark = false,
|
|
15203
15204
|
position = 'fixed'
|
|
15204
15205
|
} = props,
|
|
15205
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
15206
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1V);
|
|
15206
15207
|
const ownerState = _extends({}, props, {
|
|
15207
15208
|
color,
|
|
15208
15209
|
position,
|
|
@@ -15214,7 +15215,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15214
15215
|
component: "header",
|
|
15215
15216
|
ownerState: ownerState,
|
|
15216
15217
|
elevation: 4,
|
|
15217
|
-
className: clsx
|
|
15218
|
+
className: clsx(classes.root, className, position === 'fixed' && 'mui-fixed'),
|
|
15218
15219
|
ref: ref
|
|
15219
15220
|
}, other));
|
|
15220
15221
|
});
|
|
@@ -15347,8 +15348,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15347
15348
|
return componentProps;
|
|
15348
15349
|
}
|
|
15349
15350
|
|
|
15350
|
-
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
15351
|
-
|
|
15352
15351
|
/**
|
|
15353
15352
|
* Removes event handlers from the given object.
|
|
15354
15353
|
* A field is considered an event handler if it is a function with a name beginning with `on`.
|
|
@@ -15433,7 +15432,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15433
15432
|
};
|
|
15434
15433
|
}
|
|
15435
15434
|
|
|
15436
|
-
const _excluded$
|
|
15435
|
+
const _excluded$1U = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
|
|
15437
15436
|
/**
|
|
15438
15437
|
* @ignore - do not document.
|
|
15439
15438
|
* Builds the props to be passed into the slot of an unstyled component.
|
|
@@ -15450,7 +15449,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15450
15449
|
ownerState,
|
|
15451
15450
|
skipResolvingSlotProps = false
|
|
15452
15451
|
} = parameters,
|
|
15453
|
-
rest = _objectWithoutPropertiesLoose(parameters, _excluded$
|
|
15452
|
+
rest = _objectWithoutPropertiesLoose(parameters, _excluded$1U);
|
|
15454
15453
|
const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);
|
|
15455
15454
|
const {
|
|
15456
15455
|
props: mergedProps,
|
|
@@ -17871,8 +17870,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17871
17870
|
}
|
|
17872
17871
|
generateUtilityClasses('MuiPopper', ['root']);
|
|
17873
17872
|
|
|
17874
|
-
const _excluded$
|
|
17875
|
-
_excluded2$
|
|
17873
|
+
const _excluded$1T = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"],
|
|
17874
|
+
_excluded2$b = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
|
|
17876
17875
|
function flipPlacement(placement, direction) {
|
|
17877
17876
|
if (direction === 'ltr') {
|
|
17878
17877
|
return placement;
|
|
@@ -17924,7 +17923,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17924
17923
|
// @ts-ignore internal logic
|
|
17925
17924
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
17926
17925
|
} = props,
|
|
17927
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
17926
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1T);
|
|
17928
17927
|
const tooltipRef = React__namespace.useRef(null);
|
|
17929
17928
|
const ownRef = useForkRef(tooltipRef, forwardedRef);
|
|
17930
17929
|
const popperRef = React__namespace.useRef(null);
|
|
@@ -18056,7 +18055,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18056
18055
|
slotProps = {},
|
|
18057
18056
|
slots = {}
|
|
18058
18057
|
} = props,
|
|
18059
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
18058
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$b);
|
|
18060
18059
|
const [exited, setExited] = React__namespace.useState(true);
|
|
18061
18060
|
const handleEnter = () => {
|
|
18062
18061
|
setExited(false);
|
|
@@ -18310,7 +18309,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18310
18309
|
if (container.parentNode instanceof DocumentFragment) {
|
|
18311
18310
|
scrollContainer = ownerDocument(container).body;
|
|
18312
18311
|
} else {
|
|
18313
|
-
//
|
|
18312
|
+
// Support html overflow-y: auto for scroll stability between pages
|
|
18314
18313
|
// https://css-tricks.com/snippets/css/force-vertical-scrollbar/
|
|
18315
18314
|
const parent = container.parentElement;
|
|
18316
18315
|
const containerWindow = ownerWindow(container);
|
|
@@ -18445,23 +18444,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18445
18444
|
}
|
|
18446
18445
|
}
|
|
18447
18446
|
|
|
18448
|
-
function getModalUtilityClass(slot) {
|
|
18449
|
-
return generateUtilityClass('MuiModal', slot);
|
|
18450
|
-
}
|
|
18451
|
-
const modalClasses$1 = generateUtilityClasses('MuiModal', ['root', 'hidden', 'backdrop']);
|
|
18452
|
-
|
|
18453
|
-
const _excluded$1T = ["children", "closeAfterTransition", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
|
|
18454
|
-
const useUtilityClasses$1A = ownerState => {
|
|
18455
|
-
const {
|
|
18456
|
-
open,
|
|
18457
|
-
exited
|
|
18458
|
-
} = ownerState;
|
|
18459
|
-
const slots = {
|
|
18460
|
-
root: ['root', !open && exited && 'hidden'],
|
|
18461
|
-
backdrop: ['backdrop']
|
|
18462
|
-
};
|
|
18463
|
-
return composeClasses(slots, useClassNamesOverride(getModalUtilityClass));
|
|
18464
|
-
};
|
|
18465
18447
|
function getContainer(container) {
|
|
18466
18448
|
return typeof container === 'function' ? container() : container;
|
|
18467
18449
|
}
|
|
@@ -18472,68 +18454,47 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18472
18454
|
// A modal manager used to track and manage the state of open Modals.
|
|
18473
18455
|
// Modals don't open on the server so this won't conflict with concurrent requests.
|
|
18474
18456
|
const defaultManager = new ModalManager();
|
|
18475
|
-
|
|
18476
18457
|
/**
|
|
18477
|
-
* Modal is a lower-level construct that is leveraged by the following components:
|
|
18478
|
-
*
|
|
18479
|
-
* * [Dialog](https://mui.com/material-ui/api/dialog/)
|
|
18480
|
-
* * [Drawer](https://mui.com/material-ui/api/drawer/)
|
|
18481
|
-
* * [Menu](https://mui.com/material-ui/api/menu/)
|
|
18482
|
-
* * [Popover](https://mui.com/material-ui/api/popover/)
|
|
18483
|
-
*
|
|
18484
|
-
* If you are creating a modal dialog, you probably want to use the [Dialog](https://mui.com/material-ui/api/dialog/) component
|
|
18485
|
-
* rather than directly using Modal.
|
|
18486
|
-
*
|
|
18487
|
-
* This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).
|
|
18488
18458
|
*
|
|
18489
18459
|
* Demos:
|
|
18490
18460
|
*
|
|
18491
|
-
* - [Modal](https://mui.com/base-ui/react-modal
|
|
18461
|
+
* - [Modal](https://mui.com/base-ui/react-modal/#hook)
|
|
18492
18462
|
*
|
|
18493
18463
|
* API:
|
|
18494
18464
|
*
|
|
18495
|
-
* - [
|
|
18465
|
+
* - [useModal API](https://mui.com/base-ui/react-modal/hooks-api/#use-modal)
|
|
18496
18466
|
*/
|
|
18497
|
-
|
|
18498
|
-
var _props$ariaHidden, _slots$root;
|
|
18467
|
+
function useModal(parameters) {
|
|
18499
18468
|
const {
|
|
18500
|
-
|
|
18501
|
-
|
|
18502
|
-
|
|
18503
|
-
|
|
18504
|
-
|
|
18505
|
-
|
|
18506
|
-
|
|
18507
|
-
|
|
18508
|
-
|
|
18509
|
-
|
|
18510
|
-
|
|
18511
|
-
|
|
18512
|
-
|
|
18513
|
-
|
|
18514
|
-
|
|
18515
|
-
onKeyDown,
|
|
18516
|
-
open,
|
|
18517
|
-
onTransitionEnter,
|
|
18518
|
-
onTransitionExited,
|
|
18519
|
-
slotProps = {},
|
|
18520
|
-
slots = {}
|
|
18521
|
-
} = props,
|
|
18522
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$1T);
|
|
18523
|
-
// TODO: `modal`` must change its type in this file to match the type of methods
|
|
18524
|
-
// provided by `ModalManager`
|
|
18525
|
-
const manager = managerProp;
|
|
18526
|
-
const [exited, setExited] = React__namespace.useState(!open);
|
|
18469
|
+
container,
|
|
18470
|
+
disableEscapeKeyDown = false,
|
|
18471
|
+
disableScrollLock = false,
|
|
18472
|
+
// @ts-ignore internal logic - Base UI supports the manager as a prop too
|
|
18473
|
+
manager = defaultManager,
|
|
18474
|
+
closeAfterTransition = false,
|
|
18475
|
+
onTransitionEnter,
|
|
18476
|
+
onTransitionExited,
|
|
18477
|
+
children,
|
|
18478
|
+
onClose,
|
|
18479
|
+
open,
|
|
18480
|
+
rootRef
|
|
18481
|
+
} = parameters;
|
|
18482
|
+
|
|
18483
|
+
// @ts-ignore internal logic
|
|
18527
18484
|
const modal = React__namespace.useRef({});
|
|
18528
18485
|
const mountNodeRef = React__namespace.useRef(null);
|
|
18529
18486
|
const modalRef = React__namespace.useRef(null);
|
|
18530
|
-
const handleRef = useForkRef(modalRef,
|
|
18487
|
+
const handleRef = useForkRef(modalRef, rootRef);
|
|
18488
|
+
const [exited, setExited] = React__namespace.useState(!open);
|
|
18531
18489
|
const hasTransition = getHasTransition(children);
|
|
18532
|
-
|
|
18490
|
+
let ariaHiddenProp = true;
|
|
18491
|
+
if (parameters['aria-hidden'] === 'false' || parameters['aria-hidden'] === false) {
|
|
18492
|
+
ariaHiddenProp = false;
|
|
18493
|
+
}
|
|
18533
18494
|
const getDoc = () => ownerDocument(mountNodeRef.current);
|
|
18534
18495
|
const getModal = () => {
|
|
18535
18496
|
modal.current.modalRef = modalRef.current;
|
|
18536
|
-
modal.current.
|
|
18497
|
+
modal.current.mount = mountNodeRef.current;
|
|
18537
18498
|
return modal.current;
|
|
18538
18499
|
};
|
|
18539
18500
|
const handleMounted = () => {
|
|
@@ -18558,18 +18519,18 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18558
18519
|
const isTopModal = React__namespace.useCallback(() => manager.isTopModal(getModal()), [manager]);
|
|
18559
18520
|
const handlePortalRef = useEventCallback(node => {
|
|
18560
18521
|
mountNodeRef.current = node;
|
|
18561
|
-
if (!node
|
|
18522
|
+
if (!node) {
|
|
18562
18523
|
return;
|
|
18563
18524
|
}
|
|
18564
18525
|
if (open && isTopModal()) {
|
|
18565
18526
|
handleMounted();
|
|
18566
|
-
} else {
|
|
18527
|
+
} else if (modalRef.current) {
|
|
18567
18528
|
ariaHidden(modalRef.current, ariaHiddenProp);
|
|
18568
18529
|
}
|
|
18569
18530
|
});
|
|
18570
18531
|
const handleClose = React__namespace.useCallback(() => {
|
|
18571
18532
|
manager.remove(getModal(), ariaHiddenProp);
|
|
18572
|
-
}, [
|
|
18533
|
+
}, [ariaHiddenProp, manager]);
|
|
18573
18534
|
React__namespace.useEffect(() => {
|
|
18574
18535
|
return () => {
|
|
18575
18536
|
handleClose();
|
|
@@ -18582,49 +18543,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18582
18543
|
handleClose();
|
|
18583
18544
|
}
|
|
18584
18545
|
}, [open, handleClose, hasTransition, closeAfterTransition, handleOpen]);
|
|
18585
|
-
const
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
disableEnforceFocus,
|
|
18589
|
-
disableEscapeKeyDown,
|
|
18590
|
-
disablePortal,
|
|
18591
|
-
disableRestoreFocus,
|
|
18592
|
-
disableScrollLock,
|
|
18593
|
-
exited,
|
|
18594
|
-
hideBackdrop,
|
|
18595
|
-
keepMounted
|
|
18596
|
-
});
|
|
18597
|
-
const classes = useUtilityClasses$1A(ownerState);
|
|
18598
|
-
const handleEnter = () => {
|
|
18599
|
-
setExited(false);
|
|
18600
|
-
if (onTransitionEnter) {
|
|
18601
|
-
onTransitionEnter();
|
|
18602
|
-
}
|
|
18603
|
-
};
|
|
18604
|
-
const handleExited = () => {
|
|
18605
|
-
setExited(true);
|
|
18606
|
-
if (onTransitionExited) {
|
|
18607
|
-
onTransitionExited();
|
|
18608
|
-
}
|
|
18609
|
-
if (closeAfterTransition) {
|
|
18610
|
-
handleClose();
|
|
18611
|
-
}
|
|
18612
|
-
};
|
|
18613
|
-
const handleBackdropClick = event => {
|
|
18614
|
-
if (event.target !== event.currentTarget) {
|
|
18615
|
-
return;
|
|
18616
|
-
}
|
|
18617
|
-
if (onBackdropClick) {
|
|
18618
|
-
onBackdropClick(event);
|
|
18619
|
-
}
|
|
18620
|
-
if (onClose) {
|
|
18621
|
-
onClose(event, 'backdropClick');
|
|
18622
|
-
}
|
|
18623
|
-
};
|
|
18624
|
-
const handleKeyDown = event => {
|
|
18625
|
-
if (onKeyDown) {
|
|
18626
|
-
onKeyDown(event);
|
|
18627
|
-
}
|
|
18546
|
+
const createHandleKeyDown = otherHandlers => event => {
|
|
18547
|
+
var _otherHandlers$onKeyD;
|
|
18548
|
+
(_otherHandlers$onKeyD = otherHandlers.onKeyDown) == null ? void 0 : _otherHandlers$onKeyD.call(otherHandlers, event);
|
|
18628
18549
|
|
|
18629
18550
|
// The handler doesn't take event.defaultPrevented into account:
|
|
18630
18551
|
//
|
|
@@ -18643,178 +18564,71 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18643
18564
|
}
|
|
18644
18565
|
}
|
|
18645
18566
|
};
|
|
18646
|
-
const
|
|
18647
|
-
|
|
18648
|
-
|
|
18649
|
-
|
|
18567
|
+
const createHandleBackdropClick = otherHandlers => event => {
|
|
18568
|
+
var _otherHandlers$onClic;
|
|
18569
|
+
(_otherHandlers$onClic = otherHandlers.onClick) == null ? void 0 : _otherHandlers$onClic.call(otherHandlers, event);
|
|
18570
|
+
if (event.target !== event.currentTarget) {
|
|
18571
|
+
return;
|
|
18572
|
+
}
|
|
18573
|
+
if (onClose) {
|
|
18574
|
+
onClose(event, 'backdropClick');
|
|
18575
|
+
}
|
|
18576
|
+
};
|
|
18577
|
+
const getRootProps = (otherHandlers = {}) => {
|
|
18578
|
+
const propsEventHandlers = extractEventHandlers(parameters);
|
|
18650
18579
|
|
|
18651
|
-
|
|
18652
|
-
|
|
18653
|
-
|
|
18654
|
-
|
|
18655
|
-
|
|
18656
|
-
|
|
18657
|
-
|
|
18658
|
-
|
|
18659
|
-
|
|
18660
|
-
|
|
18661
|
-
|
|
18662
|
-
|
|
18663
|
-
|
|
18664
|
-
|
|
18665
|
-
|
|
18666
|
-
|
|
18667
|
-
|
|
18668
|
-
});
|
|
18669
|
-
const BackdropComponent = slots.backdrop;
|
|
18670
|
-
const backdropProps = useSlotProps({
|
|
18671
|
-
elementType: BackdropComponent,
|
|
18672
|
-
externalSlotProps: slotProps.backdrop,
|
|
18673
|
-
additionalProps: {
|
|
18674
|
-
'aria-hidden': true,
|
|
18675
|
-
onClick: handleBackdropClick,
|
|
18580
|
+
// The custom event handlers shouldn't be spread on the root element
|
|
18581
|
+
delete propsEventHandlers.onTransitionEnter;
|
|
18582
|
+
delete propsEventHandlers.onTransitionExited;
|
|
18583
|
+
const externalEventHandlers = _extends({}, propsEventHandlers, otherHandlers);
|
|
18584
|
+
return _extends({
|
|
18585
|
+
role: 'presentation'
|
|
18586
|
+
}, externalEventHandlers, {
|
|
18587
|
+
onKeyDown: createHandleKeyDown(externalEventHandlers),
|
|
18588
|
+
ref: handleRef
|
|
18589
|
+
});
|
|
18590
|
+
};
|
|
18591
|
+
const getBackdropProps = (otherHandlers = {}) => {
|
|
18592
|
+
const externalEventHandlers = otherHandlers;
|
|
18593
|
+
return _extends({
|
|
18594
|
+
'aria-hidden': true
|
|
18595
|
+
}, externalEventHandlers, {
|
|
18596
|
+
onClick: createHandleBackdropClick(externalEventHandlers),
|
|
18676
18597
|
open
|
|
18677
|
-
}
|
|
18678
|
-
|
|
18679
|
-
|
|
18680
|
-
|
|
18681
|
-
|
|
18682
|
-
|
|
18683
|
-
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
|
|
18687
|
-
|
|
18688
|
-
|
|
18689
|
-
|
|
18690
|
-
|
|
18691
|
-
|
|
18692
|
-
|
|
18693
|
-
|
|
18694
|
-
|
|
18695
|
-
|
|
18696
|
-
|
|
18697
|
-
|
|
18698
|
-
|
|
18699
|
-
|
|
18700
|
-
|
|
18701
|
-
|
|
18702
|
-
|
|
18703
|
-
|
|
18704
|
-
|
|
18705
|
-
|
|
18706
|
-
|
|
18707
|
-
|
|
18708
|
-
|
|
18709
|
-
|
|
18710
|
-
|
|
18711
|
-
/**
|
|
18712
|
-
* When set to true the Modal waits until a nested Transition is completed before closing.
|
|
18713
|
-
* @default false
|
|
18714
|
-
*/
|
|
18715
|
-
closeAfterTransition: PropTypes.bool,
|
|
18716
|
-
/**
|
|
18717
|
-
* An HTML element or function that returns one.
|
|
18718
|
-
* The `container` will have the portal children appended to it.
|
|
18719
|
-
*
|
|
18720
|
-
* By default, it uses the body of the top-level document object,
|
|
18721
|
-
* so it's simply `document.body` most of the time.
|
|
18722
|
-
*/
|
|
18723
|
-
container: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([HTMLElementType, PropTypes.func]),
|
|
18724
|
-
/**
|
|
18725
|
-
* If `true`, the modal will not automatically shift focus to itself when it opens, and
|
|
18726
|
-
* replace it to the last focused element when it closes.
|
|
18727
|
-
* This also works correctly with any modal children that have the `disableAutoFocus` prop.
|
|
18728
|
-
*
|
|
18729
|
-
* Generally this should never be set to `true` as it makes the modal less
|
|
18730
|
-
* accessible to assistive technologies, like screen readers.
|
|
18731
|
-
* @default false
|
|
18732
|
-
*/
|
|
18733
|
-
disableAutoFocus: PropTypes.bool,
|
|
18734
|
-
/**
|
|
18735
|
-
* If `true`, the modal will not prevent focus from leaving the modal while open.
|
|
18736
|
-
*
|
|
18737
|
-
* Generally this should never be set to `true` as it makes the modal less
|
|
18738
|
-
* accessible to assistive technologies, like screen readers.
|
|
18739
|
-
* @default false
|
|
18740
|
-
*/
|
|
18741
|
-
disableEnforceFocus: PropTypes.bool,
|
|
18742
|
-
/**
|
|
18743
|
-
* If `true`, hitting escape will not fire the `onClose` callback.
|
|
18744
|
-
* @default false
|
|
18745
|
-
*/
|
|
18746
|
-
disableEscapeKeyDown: PropTypes.bool,
|
|
18747
|
-
/**
|
|
18748
|
-
* The `children` will be under the DOM hierarchy of the parent component.
|
|
18749
|
-
* @default false
|
|
18750
|
-
*/
|
|
18751
|
-
disablePortal: PropTypes.bool,
|
|
18752
|
-
/**
|
|
18753
|
-
* If `true`, the modal will not restore focus to previously focused element once
|
|
18754
|
-
* modal is hidden or unmounted.
|
|
18755
|
-
* @default false
|
|
18756
|
-
*/
|
|
18757
|
-
disableRestoreFocus: PropTypes.bool,
|
|
18758
|
-
/**
|
|
18759
|
-
* Disable the scroll lock behavior.
|
|
18760
|
-
* @default false
|
|
18761
|
-
*/
|
|
18762
|
-
disableScrollLock: PropTypes.bool,
|
|
18763
|
-
/**
|
|
18764
|
-
* If `true`, the backdrop is not rendered.
|
|
18765
|
-
* @default false
|
|
18766
|
-
*/
|
|
18767
|
-
hideBackdrop: PropTypes.bool,
|
|
18768
|
-
/**
|
|
18769
|
-
* Always keep the children in the DOM.
|
|
18770
|
-
* This prop can be useful in SEO situation or
|
|
18771
|
-
* when you want to maximize the responsiveness of the Modal.
|
|
18772
|
-
* @default false
|
|
18773
|
-
*/
|
|
18774
|
-
keepMounted: PropTypes.bool,
|
|
18775
|
-
/**
|
|
18776
|
-
* Callback fired when the backdrop is clicked.
|
|
18777
|
-
* @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
|
|
18778
|
-
*/
|
|
18779
|
-
onBackdropClick: PropTypes.func,
|
|
18780
|
-
/**
|
|
18781
|
-
* Callback fired when the component requests to be closed.
|
|
18782
|
-
* The `reason` parameter can optionally be used to control the response to `onClose`.
|
|
18783
|
-
*
|
|
18784
|
-
* @param {object} event The event source of the callback.
|
|
18785
|
-
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
18786
|
-
*/
|
|
18787
|
-
onClose: PropTypes.func,
|
|
18788
|
-
/**
|
|
18789
|
-
* A function called when a transition enters.
|
|
18790
|
-
*/
|
|
18791
|
-
onTransitionEnter: PropTypes.func,
|
|
18792
|
-
/**
|
|
18793
|
-
* A function called when a transition has exited.
|
|
18794
|
-
*/
|
|
18795
|
-
onTransitionExited: PropTypes.func,
|
|
18796
|
-
/**
|
|
18797
|
-
* If `true`, the component is shown.
|
|
18798
|
-
*/
|
|
18799
|
-
open: PropTypes.bool.isRequired,
|
|
18800
|
-
/**
|
|
18801
|
-
* The props used for each slot inside the Modal.
|
|
18802
|
-
* @default {}
|
|
18803
|
-
*/
|
|
18804
|
-
slotProps: PropTypes.shape({
|
|
18805
|
-
backdrop: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
18806
|
-
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
18807
|
-
}),
|
|
18808
|
-
/**
|
|
18809
|
-
* The components used for each slot inside the Modal.
|
|
18810
|
-
* Either a string to use a HTML element or a component.
|
|
18811
|
-
* @default {}
|
|
18812
|
-
*/
|
|
18813
|
-
slots: PropTypes.shape({
|
|
18814
|
-
backdrop: PropTypes.elementType,
|
|
18815
|
-
root: PropTypes.elementType
|
|
18816
|
-
})
|
|
18817
|
-
} ;
|
|
18598
|
+
});
|
|
18599
|
+
};
|
|
18600
|
+
const getTransitionProps = () => {
|
|
18601
|
+
const handleEnter = () => {
|
|
18602
|
+
setExited(false);
|
|
18603
|
+
if (onTransitionEnter) {
|
|
18604
|
+
onTransitionEnter();
|
|
18605
|
+
}
|
|
18606
|
+
};
|
|
18607
|
+
const handleExited = () => {
|
|
18608
|
+
setExited(true);
|
|
18609
|
+
if (onTransitionExited) {
|
|
18610
|
+
onTransitionExited();
|
|
18611
|
+
}
|
|
18612
|
+
if (closeAfterTransition) {
|
|
18613
|
+
handleClose();
|
|
18614
|
+
}
|
|
18615
|
+
};
|
|
18616
|
+
return {
|
|
18617
|
+
onEnter: createChainedFunction(handleEnter, children.props.onEnter),
|
|
18618
|
+
onExited: createChainedFunction(handleExited, children.props.onExited)
|
|
18619
|
+
};
|
|
18620
|
+
};
|
|
18621
|
+
return {
|
|
18622
|
+
getRootProps,
|
|
18623
|
+
getBackdropProps,
|
|
18624
|
+
getTransitionProps,
|
|
18625
|
+
rootRef: handleRef,
|
|
18626
|
+
portalRef: handlePortalRef,
|
|
18627
|
+
isTopModal,
|
|
18628
|
+
exited,
|
|
18629
|
+
hasTransition
|
|
18630
|
+
};
|
|
18631
|
+
}
|
|
18818
18632
|
|
|
18819
18633
|
/**
|
|
18820
18634
|
* NoSsr purposely removes components from the subject of Server Side Rendering (SSR).
|
|
@@ -21068,7 +20882,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21068
20882
|
var listSubheaderClasses$1 = listSubheaderClasses;
|
|
21069
20883
|
|
|
21070
20884
|
const _excluded$1Q = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
|
|
21071
|
-
const useUtilityClasses$
|
|
20885
|
+
const useUtilityClasses$1A = ownerState => {
|
|
21072
20886
|
const {
|
|
21073
20887
|
classes,
|
|
21074
20888
|
color,
|
|
@@ -21137,10 +20951,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21137
20951
|
disableSticky,
|
|
21138
20952
|
inset
|
|
21139
20953
|
});
|
|
21140
|
-
const classes = useUtilityClasses$
|
|
20954
|
+
const classes = useUtilityClasses$1A(ownerState);
|
|
21141
20955
|
return /*#__PURE__*/jsxRuntime_1(ListSubheaderRoot, _extends({
|
|
21142
20956
|
as: component,
|
|
21143
|
-
className: clsx
|
|
20957
|
+
className: clsx(classes.root, className),
|
|
21144
20958
|
ref: ref,
|
|
21145
20959
|
ownerState: ownerState
|
|
21146
20960
|
}, other));
|
|
@@ -21206,7 +21020,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21206
21020
|
var chipClasses$1 = chipClasses;
|
|
21207
21021
|
|
|
21208
21022
|
const _excluded$1P = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant", "tabIndex", "skipFocusWhenDisabled"];
|
|
21209
|
-
const useUtilityClasses$
|
|
21023
|
+
const useUtilityClasses$1z = ownerState => {
|
|
21210
21024
|
const {
|
|
21211
21025
|
classes,
|
|
21212
21026
|
disabled,
|
|
@@ -21529,7 +21343,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21529
21343
|
clickable,
|
|
21530
21344
|
variant
|
|
21531
21345
|
});
|
|
21532
|
-
const classes = useUtilityClasses$
|
|
21346
|
+
const classes = useUtilityClasses$1z(ownerState);
|
|
21533
21347
|
const moreProps = component === ButtonBase$1 ? _extends({
|
|
21534
21348
|
component: ComponentProp || 'div',
|
|
21535
21349
|
focusVisibleClassName: classes.focusVisible
|
|
@@ -21539,23 +21353,23 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21539
21353
|
let deleteIcon = null;
|
|
21540
21354
|
if (onDelete) {
|
|
21541
21355
|
deleteIcon = deleteIconProp && /*#__PURE__*/React__namespace.isValidElement(deleteIconProp) ? /*#__PURE__*/React__namespace.cloneElement(deleteIconProp, {
|
|
21542
|
-
className: clsx
|
|
21356
|
+
className: clsx(deleteIconProp.props.className, classes.deleteIcon),
|
|
21543
21357
|
onClick: handleDeleteIconClick
|
|
21544
21358
|
}) : /*#__PURE__*/jsxRuntime_1(CancelIcon, {
|
|
21545
|
-
className: clsx
|
|
21359
|
+
className: clsx(classes.deleteIcon),
|
|
21546
21360
|
onClick: handleDeleteIconClick
|
|
21547
21361
|
});
|
|
21548
21362
|
}
|
|
21549
21363
|
let avatar = null;
|
|
21550
21364
|
if (avatarProp && /*#__PURE__*/React__namespace.isValidElement(avatarProp)) {
|
|
21551
21365
|
avatar = /*#__PURE__*/React__namespace.cloneElement(avatarProp, {
|
|
21552
|
-
className: clsx
|
|
21366
|
+
className: clsx(classes.avatar, avatarProp.props.className)
|
|
21553
21367
|
});
|
|
21554
21368
|
}
|
|
21555
21369
|
let icon = null;
|
|
21556
21370
|
if (iconProp && /*#__PURE__*/React__namespace.isValidElement(iconProp)) {
|
|
21557
21371
|
icon = /*#__PURE__*/React__namespace.cloneElement(iconProp, {
|
|
21558
|
-
className: clsx
|
|
21372
|
+
className: clsx(classes.icon, iconProp.props.className)
|
|
21559
21373
|
});
|
|
21560
21374
|
}
|
|
21561
21375
|
{
|
|
@@ -21565,7 +21379,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21565
21379
|
}
|
|
21566
21380
|
return /*#__PURE__*/jsxRuntime_2(ChipRoot, _extends({
|
|
21567
21381
|
as: component,
|
|
21568
|
-
className: clsx
|
|
21382
|
+
className: clsx(classes.root, className),
|
|
21569
21383
|
disabled: clickable && disabled ? true : undefined,
|
|
21570
21384
|
onClick: onClick,
|
|
21571
21385
|
onKeyDown: handleKeyDown,
|
|
@@ -21575,7 +21389,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21575
21389
|
ownerState: ownerState
|
|
21576
21390
|
}, moreProps, other, {
|
|
21577
21391
|
children: [avatar || icon, /*#__PURE__*/jsxRuntime_1(ChipLabel, {
|
|
21578
|
-
className: clsx
|
|
21392
|
+
className: clsx(classes.label),
|
|
21579
21393
|
ownerState: ownerState,
|
|
21580
21394
|
children: label
|
|
21581
21395
|
}), deleteIcon]
|
|
@@ -21781,7 +21595,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21781
21595
|
} = props;
|
|
21782
21596
|
return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];
|
|
21783
21597
|
};
|
|
21784
|
-
const useUtilityClasses$
|
|
21598
|
+
const useUtilityClasses$1y = ownerState => {
|
|
21785
21599
|
const {
|
|
21786
21600
|
classes,
|
|
21787
21601
|
color,
|
|
@@ -22121,7 +21935,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22121
21935
|
if (inputRef.current && event.currentTarget === event.target) {
|
|
22122
21936
|
inputRef.current.focus();
|
|
22123
21937
|
}
|
|
22124
|
-
if (onClick
|
|
21938
|
+
if (onClick) {
|
|
22125
21939
|
onClick(event);
|
|
22126
21940
|
}
|
|
22127
21941
|
};
|
|
@@ -22173,7 +21987,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22173
21987
|
startAdornment,
|
|
22174
21988
|
type
|
|
22175
21989
|
});
|
|
22176
|
-
const classes = useUtilityClasses$
|
|
21990
|
+
const classes = useUtilityClasses$1y(ownerState);
|
|
22177
21991
|
const Root = slots.root || components.Root || InputBaseRoot;
|
|
22178
21992
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
22179
21993
|
const Input = slots.input || components.Input || InputBaseComponent;
|
|
@@ -22185,7 +21999,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22185
21999
|
ref: ref,
|
|
22186
22000
|
onClick: handleClick
|
|
22187
22001
|
}, other, {
|
|
22188
|
-
className: clsx
|
|
22002
|
+
className: clsx(classes.root, rootProps.className, className, readOnly && 'MuiInputBase-readOnly'),
|
|
22189
22003
|
children: [startAdornment, /*#__PURE__*/jsxRuntime_1(FormControlContext$1.Provider, {
|
|
22190
22004
|
value: null,
|
|
22191
22005
|
children: /*#__PURE__*/jsxRuntime_1(Input, _extends({
|
|
@@ -22212,7 +22026,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22212
22026
|
ownerState: _extends({}, ownerState, inputProps.ownerState)
|
|
22213
22027
|
}, {
|
|
22214
22028
|
ref: handleInputRef,
|
|
22215
|
-
className: clsx
|
|
22029
|
+
className: clsx(classes.input, inputProps.className, readOnly && 'MuiInputBase-readOnly'),
|
|
22216
22030
|
onBlur: handleBlur,
|
|
22217
22031
|
onChange: handleChange,
|
|
22218
22032
|
onFocus: handleFocus
|
|
@@ -22485,8 +22299,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22485
22299
|
|
|
22486
22300
|
var _ClearIcon, _ArrowDropDownIcon;
|
|
22487
22301
|
const _excluded$1N = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "ChipProps", "className", "clearIcon", "clearOnBlur", "clearOnEscape", "clearText", "closeText", "componentsProps", "defaultValue", "disableClearable", "disableCloseOnSelect", "disabled", "disabledItemsFocusable", "disableListWrap", "disablePortal", "filterOptions", "filterSelectedOptions", "forcePopupIcon", "freeSolo", "fullWidth", "getLimitTagsText", "getOptionDisabled", "getOptionLabel", "isOptionEqualToValue", "groupBy", "handleHomeEndKeys", "id", "includeInputInList", "inputValue", "limitTags", "ListboxComponent", "ListboxProps", "loading", "loadingText", "multiple", "noOptionsText", "onChange", "onClose", "onHighlightChange", "onInputChange", "onOpen", "open", "openOnFocus", "openText", "options", "PaperComponent", "PopperComponent", "popupIcon", "readOnly", "renderGroup", "renderInput", "renderOption", "renderTags", "selectOnFocus", "size", "slotProps", "value"],
|
|
22488
|
-
_excluded2$
|
|
22489
|
-
const useUtilityClasses$
|
|
22302
|
+
_excluded2$a = ["ref"];
|
|
22303
|
+
const useUtilityClasses$1x = ownerState => {
|
|
22490
22304
|
const {
|
|
22491
22305
|
classes,
|
|
22492
22306
|
disablePortal,
|
|
@@ -22921,7 +22735,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22921
22735
|
{
|
|
22922
22736
|
ref: listboxRef
|
|
22923
22737
|
} = _getListboxProps,
|
|
22924
|
-
otherListboxProps = _objectWithoutPropertiesLoose(_getListboxProps, _excluded2$
|
|
22738
|
+
otherListboxProps = _objectWithoutPropertiesLoose(_getListboxProps, _excluded2$a);
|
|
22925
22739
|
const combinedListboxRef = useForkRef(listboxRef, externalListboxRef);
|
|
22926
22740
|
const defaultGetOptionLabel = option => {
|
|
22927
22741
|
var _option$label;
|
|
@@ -22942,7 +22756,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22942
22756
|
popupOpen,
|
|
22943
22757
|
size
|
|
22944
22758
|
});
|
|
22945
|
-
const classes = useUtilityClasses$
|
|
22759
|
+
const classes = useUtilityClasses$1x(ownerState);
|
|
22946
22760
|
let startAdornment;
|
|
22947
22761
|
if (multiple && value.length > 0) {
|
|
22948
22762
|
const getCustomizedTagProps = params => _extends({
|
|
@@ -23007,7 +22821,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23007
22821
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
23008
22822
|
children: [/*#__PURE__*/jsxRuntime_1(AutocompleteRoot, _extends({
|
|
23009
22823
|
ref: ref,
|
|
23010
|
-
className: clsx
|
|
22824
|
+
className: clsx(classes.root, className),
|
|
23011
22825
|
ownerState: ownerState
|
|
23012
22826
|
}, getRootProps(other), {
|
|
23013
22827
|
children: renderInput({
|
|
@@ -23034,7 +22848,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23034
22848
|
title: clearText,
|
|
23035
22849
|
ownerState: ownerState
|
|
23036
22850
|
}, clearIndicatorSlotProps, {
|
|
23037
|
-
className: clsx
|
|
22851
|
+
className: clsx(classes.clearIndicator, clearIndicatorSlotProps == null ? void 0 : clearIndicatorSlotProps.className),
|
|
23038
22852
|
children: clearIcon
|
|
23039
22853
|
})) : null, hasPopupIcon ? /*#__PURE__*/jsxRuntime_1(AutocompletePopupIndicator, _extends({}, getPopupIndicatorProps(), {
|
|
23040
22854
|
disabled: disabled,
|
|
@@ -23042,7 +22856,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23042
22856
|
title: popupOpen ? closeText : openText,
|
|
23043
22857
|
ownerState: ownerState
|
|
23044
22858
|
}, popupIndicatorSlotProps, {
|
|
23045
|
-
className: clsx
|
|
22859
|
+
className: clsx(classes.popupIndicator, popupIndicatorSlotProps == null ? void 0 : popupIndicatorSlotProps.className),
|
|
23046
22860
|
children: popupIcon
|
|
23047
22861
|
})) : null]
|
|
23048
22862
|
})
|
|
@@ -23064,12 +22878,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23064
22878
|
anchorEl: anchorEl,
|
|
23065
22879
|
open: popupOpen
|
|
23066
22880
|
}, popperSlotProps, {
|
|
23067
|
-
className: clsx
|
|
22881
|
+
className: clsx(classes.popper, popperSlotProps == null ? void 0 : popperSlotProps.className),
|
|
23068
22882
|
children: /*#__PURE__*/jsxRuntime_2(AutocompletePaper, _extends({
|
|
23069
22883
|
ownerState: ownerState,
|
|
23070
22884
|
as: PaperComponent
|
|
23071
22885
|
}, paperSlotProps, {
|
|
23072
|
-
className: clsx
|
|
22886
|
+
className: clsx(classes.paper, paperSlotProps == null ? void 0 : paperSlotProps.className),
|
|
23073
22887
|
children: [loading && groupedOptions.length === 0 ? /*#__PURE__*/jsxRuntime_1(AutocompleteLoading, {
|
|
23074
22888
|
className: classes.loading,
|
|
23075
22889
|
ownerState: ownerState,
|
|
@@ -23532,7 +23346,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23532
23346
|
var avatarClasses$1 = avatarClasses;
|
|
23533
23347
|
|
|
23534
23348
|
const _excluded$1M = ["alt", "children", "className", "component", "imgProps", "sizes", "src", "srcSet", "variant"];
|
|
23535
|
-
const useUtilityClasses$
|
|
23349
|
+
const useUtilityClasses$1w = ownerState => {
|
|
23536
23350
|
const {
|
|
23537
23351
|
classes,
|
|
23538
23352
|
variant,
|
|
@@ -23674,7 +23488,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23674
23488
|
component,
|
|
23675
23489
|
variant
|
|
23676
23490
|
});
|
|
23677
|
-
const classes = useUtilityClasses$
|
|
23491
|
+
const classes = useUtilityClasses$1w(ownerState);
|
|
23678
23492
|
if (hasImgNotFailing) {
|
|
23679
23493
|
children = /*#__PURE__*/jsxRuntime_1(AvatarImg, _extends({
|
|
23680
23494
|
alt: alt,
|
|
@@ -23697,7 +23511,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23697
23511
|
return /*#__PURE__*/jsxRuntime_1(AvatarRoot, _extends({
|
|
23698
23512
|
as: component,
|
|
23699
23513
|
ownerState: ownerState,
|
|
23700
|
-
className: clsx
|
|
23514
|
+
className: clsx(classes.root, className),
|
|
23701
23515
|
ref: ref
|
|
23702
23516
|
}, other, {
|
|
23703
23517
|
children: children
|
|
@@ -23772,7 +23586,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23772
23586
|
small: -16,
|
|
23773
23587
|
medium: null
|
|
23774
23588
|
};
|
|
23775
|
-
const useUtilityClasses$
|
|
23589
|
+
const useUtilityClasses$1v = ownerState => {
|
|
23776
23590
|
const {
|
|
23777
23591
|
classes
|
|
23778
23592
|
} = ownerState;
|
|
@@ -23841,7 +23655,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23841
23655
|
component,
|
|
23842
23656
|
variant
|
|
23843
23657
|
});
|
|
23844
|
-
const classes = useUtilityClasses$
|
|
23658
|
+
const classes = useUtilityClasses$1v(ownerState);
|
|
23845
23659
|
const children = React__namespace.Children.toArray(childrenProp).filter(child => {
|
|
23846
23660
|
{
|
|
23847
23661
|
if (reactIs_2(child)) {
|
|
@@ -23862,21 +23676,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23862
23676
|
return /*#__PURE__*/jsxRuntime_2(AvatarGroupRoot, _extends({
|
|
23863
23677
|
as: component,
|
|
23864
23678
|
ownerState: ownerState,
|
|
23865
|
-
className: clsx
|
|
23679
|
+
className: clsx(classes.root, className),
|
|
23866
23680
|
ref: ref
|
|
23867
23681
|
}, other, {
|
|
23868
23682
|
children: [extraAvatars ? /*#__PURE__*/jsxRuntime_2(AvatarGroupAvatar, _extends({
|
|
23869
23683
|
ownerState: ownerState,
|
|
23870
23684
|
variant: variant
|
|
23871
23685
|
}, additionalAvatarSlotProps, {
|
|
23872
|
-
className: clsx
|
|
23686
|
+
className: clsx(classes.avatar, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.className),
|
|
23873
23687
|
style: _extends({
|
|
23874
23688
|
marginLeft
|
|
23875
23689
|
}, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.style),
|
|
23876
23690
|
children: ["+", extraAvatars]
|
|
23877
23691
|
})) : null, children.slice(0, maxAvatars).reverse().map((child, index) => {
|
|
23878
23692
|
return /*#__PURE__*/React__namespace.cloneElement(child, {
|
|
23879
|
-
className: clsx
|
|
23693
|
+
className: clsx(child.props.className, classes.avatar),
|
|
23880
23694
|
style: _extends({
|
|
23881
23695
|
// Consistent with "&:last-child" styling for the default spacing,
|
|
23882
23696
|
// we do not apply custom marginLeft spacing on the last child
|
|
@@ -24164,7 +23978,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24164
23978
|
var backdropClasses$1 = backdropClasses;
|
|
24165
23979
|
|
|
24166
23980
|
const _excluded$1J = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
|
|
24167
|
-
const useUtilityClasses$
|
|
23981
|
+
const useUtilityClasses$1u = ownerState => {
|
|
24168
23982
|
const {
|
|
24169
23983
|
classes,
|
|
24170
23984
|
invisible
|
|
@@ -24223,7 +24037,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24223
24037
|
component,
|
|
24224
24038
|
invisible
|
|
24225
24039
|
});
|
|
24226
|
-
const classes = useUtilityClasses$
|
|
24040
|
+
const classes = useUtilityClasses$1u(ownerState);
|
|
24227
24041
|
const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
24228
24042
|
return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
|
|
24229
24043
|
in: open,
|
|
@@ -24233,7 +24047,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24233
24047
|
"aria-hidden": true
|
|
24234
24048
|
}, rootSlotProps, {
|
|
24235
24049
|
as: (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : component,
|
|
24236
|
-
className: clsx
|
|
24050
|
+
className: clsx(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
|
|
24237
24051
|
ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
|
|
24238
24052
|
classes: classes,
|
|
24239
24053
|
ref: ref,
|
|
@@ -24350,7 +24164,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24350
24164
|
const _excluded$1I = ["anchorOrigin", "className", "classes", "component", "components", "componentsProps", "children", "overlap", "color", "invisible", "max", "badgeContent", "slots", "slotProps", "showZero", "variant"];
|
|
24351
24165
|
const RADIUS_STANDARD = 10;
|
|
24352
24166
|
const RADIUS_DOT = 4;
|
|
24353
|
-
const useUtilityClasses$
|
|
24167
|
+
const useUtilityClasses$1t = ownerState => {
|
|
24354
24168
|
const {
|
|
24355
24169
|
color,
|
|
24356
24170
|
anchorOrigin,
|
|
@@ -24553,7 +24367,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24553
24367
|
overlap,
|
|
24554
24368
|
variant
|
|
24555
24369
|
});
|
|
24556
|
-
const classes = useUtilityClasses$
|
|
24370
|
+
const classes = useUtilityClasses$1t(ownerState);
|
|
24557
24371
|
|
|
24558
24372
|
// support both `slots` and `components` for backward compatibility
|
|
24559
24373
|
const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : BadgeRoot;
|
|
@@ -24569,13 +24383,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24569
24383
|
as: component
|
|
24570
24384
|
},
|
|
24571
24385
|
ownerState,
|
|
24572
|
-
className: clsx
|
|
24386
|
+
className: clsx(rootSlotProps == null ? void 0 : rootSlotProps.className, classes.root, className)
|
|
24573
24387
|
});
|
|
24574
24388
|
const badgeProps = useSlotProps({
|
|
24575
24389
|
elementType: BadgeSlot,
|
|
24576
24390
|
externalSlotProps: badgeSlotProps,
|
|
24577
24391
|
ownerState,
|
|
24578
|
-
className: clsx
|
|
24392
|
+
className: clsx(classes.badge, badgeSlotProps == null ? void 0 : badgeSlotProps.className)
|
|
24579
24393
|
});
|
|
24580
24394
|
return /*#__PURE__*/jsxRuntime_2(RootSlot, _extends({}, rootProps, {
|
|
24581
24395
|
children: [children, /*#__PURE__*/jsxRuntime_1(BadgeSlot, _extends({}, badgeProps, {
|
|
@@ -24708,7 +24522,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24708
24522
|
var bottomNavigationClasses$1 = bottomNavigationClasses;
|
|
24709
24523
|
|
|
24710
24524
|
const _excluded$1H = ["children", "className", "component", "onChange", "showLabels", "value"];
|
|
24711
|
-
const useUtilityClasses$
|
|
24525
|
+
const useUtilityClasses$1s = ownerState => {
|
|
24712
24526
|
const {
|
|
24713
24527
|
classes
|
|
24714
24528
|
} = ownerState;
|
|
@@ -24747,10 +24561,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24747
24561
|
component,
|
|
24748
24562
|
showLabels
|
|
24749
24563
|
});
|
|
24750
|
-
const classes = useUtilityClasses$
|
|
24564
|
+
const classes = useUtilityClasses$1s(ownerState);
|
|
24751
24565
|
return /*#__PURE__*/jsxRuntime_1(BottomNavigationRoot, _extends({
|
|
24752
24566
|
as: component,
|
|
24753
|
-
className: clsx
|
|
24567
|
+
className: clsx(classes.root, className),
|
|
24754
24568
|
ref: ref,
|
|
24755
24569
|
ownerState: ownerState
|
|
24756
24570
|
}, other, {
|
|
@@ -24826,7 +24640,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24826
24640
|
var bottomNavigationActionClasses$1 = bottomNavigationActionClasses;
|
|
24827
24641
|
|
|
24828
24642
|
const _excluded$1G = ["className", "icon", "label", "onChange", "onClick", "selected", "showLabel", "value"];
|
|
24829
|
-
const useUtilityClasses$
|
|
24643
|
+
const useUtilityClasses$1r = ownerState => {
|
|
24830
24644
|
const {
|
|
24831
24645
|
classes,
|
|
24832
24646
|
showLabel,
|
|
@@ -24908,7 +24722,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24908
24722
|
} = props,
|
|
24909
24723
|
other = _objectWithoutPropertiesLoose(props, _excluded$1G);
|
|
24910
24724
|
const ownerState = props;
|
|
24911
|
-
const classes = useUtilityClasses$
|
|
24725
|
+
const classes = useUtilityClasses$1r(ownerState);
|
|
24912
24726
|
const handleChange = event => {
|
|
24913
24727
|
if (onChange) {
|
|
24914
24728
|
onChange(event, value);
|
|
@@ -24919,7 +24733,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24919
24733
|
};
|
|
24920
24734
|
return /*#__PURE__*/jsxRuntime_2(BottomNavigationActionRoot, _extends({
|
|
24921
24735
|
ref: ref,
|
|
24922
|
-
className: clsx
|
|
24736
|
+
className: clsx(classes.root, className),
|
|
24923
24737
|
focusRipple: true,
|
|
24924
24738
|
onClick: handleChange,
|
|
24925
24739
|
ownerState: ownerState
|
|
@@ -25100,7 +24914,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25100
24914
|
var breadcrumbsClasses$1 = breadcrumbsClasses;
|
|
25101
24915
|
|
|
25102
24916
|
const _excluded$1E = ["children", "className", "component", "slots", "slotProps", "expandText", "itemsAfterCollapse", "itemsBeforeCollapse", "maxItems", "separator"];
|
|
25103
|
-
const useUtilityClasses$
|
|
24917
|
+
const useUtilityClasses$1q = ownerState => {
|
|
25104
24918
|
const {
|
|
25105
24919
|
classes
|
|
25106
24920
|
} = ownerState;
|
|
@@ -25186,7 +25000,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25186
25000
|
maxItems,
|
|
25187
25001
|
separator
|
|
25188
25002
|
});
|
|
25189
|
-
const classes = useUtilityClasses$
|
|
25003
|
+
const classes = useUtilityClasses$1q(ownerState);
|
|
25190
25004
|
const collapsedIconSlotProps = useSlotProps({
|
|
25191
25005
|
elementType: slots.CollapsedIcon,
|
|
25192
25006
|
externalSlotProps: slotProps.collapsedIcon,
|
|
@@ -25241,7 +25055,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25241
25055
|
ref: ref,
|
|
25242
25056
|
component: component,
|
|
25243
25057
|
color: "text.secondary",
|
|
25244
|
-
className: clsx
|
|
25058
|
+
className: clsx(classes.root, className),
|
|
25245
25059
|
ownerState: ownerState
|
|
25246
25060
|
}, other, {
|
|
25247
25061
|
children: /*#__PURE__*/jsxRuntime_1(BreadcrumbsOl, {
|
|
@@ -25341,7 +25155,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25341
25155
|
var ButtonGroupContext$1 = ButtonGroupContext;
|
|
25342
25156
|
|
|
25343
25157
|
const _excluded$1D = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
25344
|
-
const useUtilityClasses$
|
|
25158
|
+
const useUtilityClasses$1p = ownerState => {
|
|
25345
25159
|
const {
|
|
25346
25160
|
color,
|
|
25347
25161
|
disableElevation,
|
|
@@ -25578,7 +25392,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25578
25392
|
type,
|
|
25579
25393
|
variant
|
|
25580
25394
|
});
|
|
25581
|
-
const classes = useUtilityClasses$
|
|
25395
|
+
const classes = useUtilityClasses$1p(ownerState);
|
|
25582
25396
|
const startIcon = startIconProp && /*#__PURE__*/jsxRuntime_1(ButtonStartIcon, {
|
|
25583
25397
|
className: classes.startIcon,
|
|
25584
25398
|
ownerState: ownerState,
|
|
@@ -25591,11 +25405,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25591
25405
|
});
|
|
25592
25406
|
return /*#__PURE__*/jsxRuntime_2(ButtonRoot, _extends({
|
|
25593
25407
|
ownerState: ownerState,
|
|
25594
|
-
className: clsx
|
|
25408
|
+
className: clsx(contextProps.className, classes.root, className),
|
|
25595
25409
|
component: component,
|
|
25596
25410
|
disabled: disabled,
|
|
25597
25411
|
focusRipple: !disableFocusRipple,
|
|
25598
|
-
focusVisibleClassName: clsx
|
|
25412
|
+
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
|
25599
25413
|
ref: ref,
|
|
25600
25414
|
type: type
|
|
25601
25415
|
}, other, {
|
|
@@ -25722,7 +25536,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25722
25536
|
[`& .${buttonGroupClasses$1.grouped}`]: styles[`grouped${capitalize(ownerState.variant)}${capitalize(ownerState.color)}`]
|
|
25723
25537
|
}, styles.root, styles[ownerState.variant], ownerState.disableElevation === true && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.orientation === 'vertical' && styles.vertical];
|
|
25724
25538
|
};
|
|
25725
|
-
const useUtilityClasses$
|
|
25539
|
+
const useUtilityClasses$1o = ownerState => {
|
|
25726
25540
|
const {
|
|
25727
25541
|
classes,
|
|
25728
25542
|
color,
|
|
@@ -25850,7 +25664,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25850
25664
|
size,
|
|
25851
25665
|
variant
|
|
25852
25666
|
});
|
|
25853
|
-
const classes = useUtilityClasses$
|
|
25667
|
+
const classes = useUtilityClasses$1o(ownerState);
|
|
25854
25668
|
const context = React__namespace.useMemo(() => ({
|
|
25855
25669
|
className: classes.grouped,
|
|
25856
25670
|
color,
|
|
@@ -25865,7 +25679,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25865
25679
|
return /*#__PURE__*/jsxRuntime_1(ButtonGroupRoot, _extends({
|
|
25866
25680
|
as: component,
|
|
25867
25681
|
role: "group",
|
|
25868
|
-
className: clsx
|
|
25682
|
+
className: clsx(classes.root, className),
|
|
25869
25683
|
ref: ref,
|
|
25870
25684
|
ownerState: ownerState
|
|
25871
25685
|
}, other, {
|
|
@@ -25959,7 +25773,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25959
25773
|
var cardClasses$1 = cardClasses;
|
|
25960
25774
|
|
|
25961
25775
|
const _excluded$1B = ["className", "raised"];
|
|
25962
|
-
const useUtilityClasses$
|
|
25776
|
+
const useUtilityClasses$1n = ownerState => {
|
|
25963
25777
|
const {
|
|
25964
25778
|
classes
|
|
25965
25779
|
} = ownerState;
|
|
@@ -25990,9 +25804,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25990
25804
|
const ownerState = _extends({}, props, {
|
|
25991
25805
|
raised
|
|
25992
25806
|
});
|
|
25993
|
-
const classes = useUtilityClasses$
|
|
25807
|
+
const classes = useUtilityClasses$1n(ownerState);
|
|
25994
25808
|
return /*#__PURE__*/jsxRuntime_1(CardRoot, _extends({
|
|
25995
|
-
className: clsx
|
|
25809
|
+
className: clsx(classes.root, className),
|
|
25996
25810
|
elevation: raised ? 8 : undefined,
|
|
25997
25811
|
ref: ref,
|
|
25998
25812
|
ownerState: ownerState
|
|
@@ -26039,7 +25853,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26039
25853
|
var cardActionAreaClasses$1 = cardActionAreaClasses;
|
|
26040
25854
|
|
|
26041
25855
|
const _excluded$1A = ["children", "className", "focusVisibleClassName"];
|
|
26042
|
-
const useUtilityClasses$
|
|
25856
|
+
const useUtilityClasses$1m = ownerState => {
|
|
26043
25857
|
const {
|
|
26044
25858
|
classes
|
|
26045
25859
|
} = ownerState;
|
|
@@ -26104,10 +25918,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26104
25918
|
} = props,
|
|
26105
25919
|
other = _objectWithoutPropertiesLoose(props, _excluded$1A);
|
|
26106
25920
|
const ownerState = props;
|
|
26107
|
-
const classes = useUtilityClasses$
|
|
25921
|
+
const classes = useUtilityClasses$1m(ownerState);
|
|
26108
25922
|
return /*#__PURE__*/jsxRuntime_2(CardActionAreaRoot, _extends({
|
|
26109
|
-
className: clsx
|
|
26110
|
-
focusVisibleClassName: clsx
|
|
25923
|
+
className: clsx(classes.root, className),
|
|
25924
|
+
focusVisibleClassName: clsx(focusVisibleClassName, classes.focusVisible),
|
|
26111
25925
|
ref: ref,
|
|
26112
25926
|
ownerState: ownerState
|
|
26113
25927
|
}, other, {
|
|
@@ -26152,7 +25966,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26152
25966
|
var cardActionsClasses$1 = cardActionsClasses;
|
|
26153
25967
|
|
|
26154
25968
|
const _excluded$1z = ["disableSpacing", "className"];
|
|
26155
|
-
const useUtilityClasses$
|
|
25969
|
+
const useUtilityClasses$1l = ownerState => {
|
|
26156
25970
|
const {
|
|
26157
25971
|
classes,
|
|
26158
25972
|
disableSpacing
|
|
@@ -26195,9 +26009,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26195
26009
|
const ownerState = _extends({}, props, {
|
|
26196
26010
|
disableSpacing
|
|
26197
26011
|
});
|
|
26198
|
-
const classes = useUtilityClasses$
|
|
26012
|
+
const classes = useUtilityClasses$1l(ownerState);
|
|
26199
26013
|
return /*#__PURE__*/jsxRuntime_1(CardActionsRoot, _extends({
|
|
26200
|
-
className: clsx
|
|
26014
|
+
className: clsx(classes.root, className),
|
|
26201
26015
|
ownerState: ownerState,
|
|
26202
26016
|
ref: ref
|
|
26203
26017
|
}, other));
|
|
@@ -26238,7 +26052,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26238
26052
|
var cardContentClasses$1 = cardContentClasses;
|
|
26239
26053
|
|
|
26240
26054
|
const _excluded$1y = ["className", "component"];
|
|
26241
|
-
const useUtilityClasses$
|
|
26055
|
+
const useUtilityClasses$1k = ownerState => {
|
|
26242
26056
|
const {
|
|
26243
26057
|
classes
|
|
26244
26058
|
} = ownerState;
|
|
@@ -26272,10 +26086,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26272
26086
|
const ownerState = _extends({}, props, {
|
|
26273
26087
|
component
|
|
26274
26088
|
});
|
|
26275
|
-
const classes = useUtilityClasses$
|
|
26089
|
+
const classes = useUtilityClasses$1k(ownerState);
|
|
26276
26090
|
return /*#__PURE__*/jsxRuntime_1(CardContentRoot, _extends({
|
|
26277
26091
|
as: component,
|
|
26278
|
-
className: clsx
|
|
26092
|
+
className: clsx(classes.root, className),
|
|
26279
26093
|
ownerState: ownerState,
|
|
26280
26094
|
ref: ref
|
|
26281
26095
|
}, other));
|
|
@@ -26316,7 +26130,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26316
26130
|
var cardHeaderClasses$1 = cardHeaderClasses;
|
|
26317
26131
|
|
|
26318
26132
|
const _excluded$1x = ["action", "avatar", "className", "component", "disableTypography", "subheader", "subheaderTypographyProps", "title", "titleTypographyProps"];
|
|
26319
|
-
const useUtilityClasses$
|
|
26133
|
+
const useUtilityClasses$1j = ownerState => {
|
|
26320
26134
|
const {
|
|
26321
26135
|
classes
|
|
26322
26136
|
} = ownerState;
|
|
@@ -26390,7 +26204,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26390
26204
|
component,
|
|
26391
26205
|
disableTypography
|
|
26392
26206
|
});
|
|
26393
|
-
const classes = useUtilityClasses$
|
|
26207
|
+
const classes = useUtilityClasses$1j(ownerState);
|
|
26394
26208
|
let title = titleProp;
|
|
26395
26209
|
if (title != null && title.type !== Typography$1 && !disableTypography) {
|
|
26396
26210
|
title = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
|
|
@@ -26415,7 +26229,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26415
26229
|
}));
|
|
26416
26230
|
}
|
|
26417
26231
|
return /*#__PURE__*/jsxRuntime_2(CardHeaderRoot, _extends({
|
|
26418
|
-
className: clsx
|
|
26232
|
+
className: clsx(classes.root, className),
|
|
26419
26233
|
as: component,
|
|
26420
26234
|
ref: ref,
|
|
26421
26235
|
ownerState: ownerState
|
|
@@ -26505,7 +26319,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26505
26319
|
var cardMediaClasses$1 = cardMediaClasses;
|
|
26506
26320
|
|
|
26507
26321
|
const _excluded$1w = ["children", "className", "component", "image", "src", "style"];
|
|
26508
|
-
const useUtilityClasses$
|
|
26322
|
+
const useUtilityClasses$1i = ownerState => {
|
|
26509
26323
|
const {
|
|
26510
26324
|
classes,
|
|
26511
26325
|
isMediaComponent,
|
|
@@ -26567,9 +26381,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26567
26381
|
isMediaComponent,
|
|
26568
26382
|
isImageComponent: IMAGE_COMPONENTS.indexOf(component) !== -1
|
|
26569
26383
|
});
|
|
26570
|
-
const classes = useUtilityClasses$
|
|
26384
|
+
const classes = useUtilityClasses$1i(ownerState);
|
|
26571
26385
|
return /*#__PURE__*/jsxRuntime_1(CardMediaRoot, _extends({
|
|
26572
|
-
className: clsx
|
|
26386
|
+
className: clsx(classes.root, className),
|
|
26573
26387
|
as: component,
|
|
26574
26388
|
role: !isMediaComponent && image ? 'img' : undefined,
|
|
26575
26389
|
ref: ref,
|
|
@@ -26636,7 +26450,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26636
26450
|
generateUtilityClasses('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
|
|
26637
26451
|
|
|
26638
26452
|
const _excluded$1v = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
|
|
26639
|
-
const useUtilityClasses$
|
|
26453
|
+
const useUtilityClasses$1h = ownerState => {
|
|
26640
26454
|
const {
|
|
26641
26455
|
classes,
|
|
26642
26456
|
checked,
|
|
@@ -26748,10 +26562,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26748
26562
|
disableFocusRipple,
|
|
26749
26563
|
edge
|
|
26750
26564
|
});
|
|
26751
|
-
const classes = useUtilityClasses$
|
|
26565
|
+
const classes = useUtilityClasses$1h(ownerState);
|
|
26752
26566
|
return /*#__PURE__*/jsxRuntime_2(SwitchBaseRoot, _extends({
|
|
26753
26567
|
component: "span",
|
|
26754
|
-
className: clsx
|
|
26568
|
+
className: clsx(classes.root, className),
|
|
26755
26569
|
centerRipple: true,
|
|
26756
26570
|
focusRipple: !disableFocusRipple,
|
|
26757
26571
|
disabled: disabled,
|
|
@@ -26910,7 +26724,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26910
26724
|
var checkboxClasses$1 = checkboxClasses;
|
|
26911
26725
|
|
|
26912
26726
|
const _excluded$1u = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
|
|
26913
|
-
const useUtilityClasses$
|
|
26727
|
+
const useUtilityClasses$1g = ownerState => {
|
|
26914
26728
|
const {
|
|
26915
26729
|
classes,
|
|
26916
26730
|
indeterminate,
|
|
@@ -26981,7 +26795,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26981
26795
|
indeterminate,
|
|
26982
26796
|
size
|
|
26983
26797
|
});
|
|
26984
|
-
const classes = useUtilityClasses$
|
|
26798
|
+
const classes = useUtilityClasses$1g(ownerState);
|
|
26985
26799
|
return /*#__PURE__*/jsxRuntime_1(CheckboxRoot, _extends({
|
|
26986
26800
|
type: "checkbox",
|
|
26987
26801
|
inputProps: _extends({
|
|
@@ -26995,7 +26809,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26995
26809
|
}),
|
|
26996
26810
|
ownerState: ownerState,
|
|
26997
26811
|
ref: ref,
|
|
26998
|
-
className: clsx
|
|
26812
|
+
className: clsx(classes.root, className)
|
|
26999
26813
|
}, other, {
|
|
27000
26814
|
classes: classes
|
|
27001
26815
|
}));
|
|
@@ -27141,7 +26955,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27141
26955
|
stroke-dashoffset: -125px;
|
|
27142
26956
|
}
|
|
27143
26957
|
`));
|
|
27144
|
-
const useUtilityClasses$
|
|
26958
|
+
const useUtilityClasses$1f = ownerState => {
|
|
27145
26959
|
const {
|
|
27146
26960
|
classes,
|
|
27147
26961
|
variant,
|
|
@@ -27243,7 +27057,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27243
27057
|
value,
|
|
27244
27058
|
variant
|
|
27245
27059
|
});
|
|
27246
|
-
const classes = useUtilityClasses$
|
|
27060
|
+
const classes = useUtilityClasses$1f(ownerState);
|
|
27247
27061
|
const circleStyle = {};
|
|
27248
27062
|
const rootStyle = {};
|
|
27249
27063
|
const rootProps = {};
|
|
@@ -27255,7 +27069,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27255
27069
|
rootStyle.transform = 'rotate(-90deg)';
|
|
27256
27070
|
}
|
|
27257
27071
|
return /*#__PURE__*/jsxRuntime_1(CircularProgressRoot, _extends({
|
|
27258
|
-
className: clsx
|
|
27072
|
+
className: clsx(classes.root, className),
|
|
27259
27073
|
style: _extends({
|
|
27260
27074
|
width: size,
|
|
27261
27075
|
height: size
|
|
@@ -27541,8 +27355,25 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27541
27355
|
};
|
|
27542
27356
|
}
|
|
27543
27357
|
|
|
27358
|
+
function getModalUtilityClass(slot) {
|
|
27359
|
+
return generateUtilityClass('MuiModal', slot);
|
|
27360
|
+
}
|
|
27361
|
+
const modalClasses = generateUtilityClasses('MuiModal', ['root', 'hidden', 'backdrop']);
|
|
27362
|
+
var modalClasses$1 = modalClasses;
|
|
27363
|
+
|
|
27544
27364
|
const _excluded$1s = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "open", "slotProps", "slots", "theme"];
|
|
27545
|
-
const
|
|
27365
|
+
const useUtilityClasses$1e = ownerState => {
|
|
27366
|
+
const {
|
|
27367
|
+
open,
|
|
27368
|
+
exited,
|
|
27369
|
+
classes
|
|
27370
|
+
} = ownerState;
|
|
27371
|
+
const slots = {
|
|
27372
|
+
root: ['root', !open && exited && 'hidden'],
|
|
27373
|
+
backdrop: ['backdrop']
|
|
27374
|
+
};
|
|
27375
|
+
return composeClasses(slots, getModalUtilityClass, classes);
|
|
27376
|
+
};
|
|
27546
27377
|
const ModalRoot = styled$1('div', {
|
|
27547
27378
|
name: 'MuiModal',
|
|
27548
27379
|
slot: 'Root',
|
|
@@ -27597,7 +27428,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27597
27428
|
const {
|
|
27598
27429
|
BackdropComponent = ModalBackdrop,
|
|
27599
27430
|
BackdropProps,
|
|
27600
|
-
classes,
|
|
27601
27431
|
className,
|
|
27602
27432
|
closeAfterTransition = false,
|
|
27603
27433
|
children,
|
|
@@ -27614,17 +27444,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27614
27444
|
hideBackdrop = false,
|
|
27615
27445
|
keepMounted = false,
|
|
27616
27446
|
onBackdropClick,
|
|
27617
|
-
onClose,
|
|
27618
27447
|
open,
|
|
27619
27448
|
slotProps,
|
|
27620
|
-
slots
|
|
27449
|
+
slots
|
|
27621
27450
|
// eslint-disable-next-line react/prop-types
|
|
27622
|
-
theme
|
|
27623
27451
|
} = props,
|
|
27624
27452
|
other = _objectWithoutPropertiesLoose(props, _excluded$1s);
|
|
27625
|
-
const
|
|
27626
|
-
const commonProps = {
|
|
27627
|
-
container,
|
|
27453
|
+
const propsWithDefaults = _extends({}, props, {
|
|
27628
27454
|
closeAfterTransition,
|
|
27629
27455
|
disableAutoFocus,
|
|
27630
27456
|
disableEnforceFocus,
|
|
@@ -27633,40 +27459,90 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27633
27459
|
disableRestoreFocus,
|
|
27634
27460
|
disableScrollLock,
|
|
27635
27461
|
hideBackdrop,
|
|
27636
|
-
keepMounted
|
|
27637
|
-
|
|
27638
|
-
|
|
27639
|
-
|
|
27640
|
-
|
|
27641
|
-
|
|
27462
|
+
keepMounted
|
|
27463
|
+
});
|
|
27464
|
+
const {
|
|
27465
|
+
getRootProps,
|
|
27466
|
+
getBackdropProps,
|
|
27467
|
+
getTransitionProps,
|
|
27468
|
+
portalRef,
|
|
27469
|
+
isTopModal,
|
|
27470
|
+
exited,
|
|
27471
|
+
hasTransition
|
|
27472
|
+
} = useModal(_extends({}, propsWithDefaults, {
|
|
27473
|
+
rootRef: ref
|
|
27474
|
+
}));
|
|
27475
|
+
const ownerState = _extends({}, propsWithDefaults, {
|
|
27642
27476
|
exited
|
|
27643
27477
|
});
|
|
27478
|
+
const classes = useUtilityClasses$1e(ownerState);
|
|
27479
|
+
const childProps = {};
|
|
27480
|
+
if (children.props.tabIndex === undefined) {
|
|
27481
|
+
childProps.tabIndex = '-1';
|
|
27482
|
+
}
|
|
27483
|
+
|
|
27484
|
+
// It's a Transition like component
|
|
27485
|
+
if (hasTransition) {
|
|
27486
|
+
const {
|
|
27487
|
+
onEnter,
|
|
27488
|
+
onExited
|
|
27489
|
+
} = getTransitionProps();
|
|
27490
|
+
childProps.onEnter = onEnter;
|
|
27491
|
+
childProps.onExited = onExited;
|
|
27492
|
+
}
|
|
27644
27493
|
const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : ModalRoot;
|
|
27645
27494
|
const BackdropSlot = (_ref2 = (_slots$backdrop = slots == null ? void 0 : slots.backdrop) != null ? _slots$backdrop : components.Backdrop) != null ? _ref2 : BackdropComponent;
|
|
27646
27495
|
const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
27647
27496
|
const backdropSlotProps = (_slotProps$backdrop = slotProps == null ? void 0 : slotProps.backdrop) != null ? _slotProps$backdrop : componentsProps.backdrop;
|
|
27648
|
-
|
|
27649
|
-
|
|
27650
|
-
|
|
27651
|
-
|
|
27497
|
+
const rootProps = useSlotProps({
|
|
27498
|
+
elementType: RootSlot,
|
|
27499
|
+
externalSlotProps: rootSlotProps,
|
|
27500
|
+
externalForwardedProps: other,
|
|
27501
|
+
getSlotProps: getRootProps,
|
|
27502
|
+
additionalProps: {
|
|
27503
|
+
ref,
|
|
27504
|
+
as: component
|
|
27652
27505
|
},
|
|
27653
|
-
|
|
27654
|
-
|
|
27655
|
-
|
|
27656
|
-
|
|
27657
|
-
|
|
27658
|
-
|
|
27659
|
-
|
|
27660
|
-
|
|
27661
|
-
|
|
27662
|
-
|
|
27506
|
+
ownerState,
|
|
27507
|
+
className: clsx(className, rootSlotProps == null ? void 0 : rootSlotProps.className, classes == null ? void 0 : classes.root, !ownerState.open && ownerState.exited && (classes == null ? void 0 : classes.hidden))
|
|
27508
|
+
});
|
|
27509
|
+
const backdropProps = useSlotProps({
|
|
27510
|
+
elementType: BackdropSlot,
|
|
27511
|
+
externalSlotProps: backdropSlotProps,
|
|
27512
|
+
additionalProps: BackdropProps,
|
|
27513
|
+
getSlotProps: otherHandlers => {
|
|
27514
|
+
return getBackdropProps(_extends({}, otherHandlers, {
|
|
27515
|
+
onClick: e => {
|
|
27516
|
+
if (onBackdropClick) {
|
|
27517
|
+
onBackdropClick(e);
|
|
27518
|
+
}
|
|
27519
|
+
if (otherHandlers != null && otherHandlers.onClick) {
|
|
27520
|
+
otherHandlers.onClick(e);
|
|
27521
|
+
}
|
|
27522
|
+
}
|
|
27523
|
+
}));
|
|
27663
27524
|
},
|
|
27664
|
-
|
|
27665
|
-
|
|
27666
|
-
|
|
27667
|
-
|
|
27668
|
-
|
|
27669
|
-
}
|
|
27525
|
+
className: clsx(backdropSlotProps == null ? void 0 : backdropSlotProps.className, BackdropProps == null ? void 0 : BackdropProps.className, classes == null ? void 0 : classes.backdrop),
|
|
27526
|
+
ownerState
|
|
27527
|
+
});
|
|
27528
|
+
if (!keepMounted && !open && (!hasTransition || exited)) {
|
|
27529
|
+
return null;
|
|
27530
|
+
}
|
|
27531
|
+
return /*#__PURE__*/jsxRuntime_1(Portal, {
|
|
27532
|
+
ref: portalRef,
|
|
27533
|
+
container: container,
|
|
27534
|
+
disablePortal: disablePortal,
|
|
27535
|
+
children: /*#__PURE__*/jsxRuntime_2(RootSlot, _extends({}, rootProps, {
|
|
27536
|
+
children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/jsxRuntime_1(BackdropSlot, _extends({}, backdropProps)) : null, /*#__PURE__*/jsxRuntime_1(FocusTrap, {
|
|
27537
|
+
disableEnforceFocus: disableEnforceFocus,
|
|
27538
|
+
disableAutoFocus: disableAutoFocus,
|
|
27539
|
+
disableRestoreFocus: disableRestoreFocus,
|
|
27540
|
+
isEnabled: isTopModal,
|
|
27541
|
+
open: open,
|
|
27542
|
+
children: /*#__PURE__*/React__namespace.cloneElement(children, childProps)
|
|
27543
|
+
})]
|
|
27544
|
+
}))
|
|
27545
|
+
});
|
|
27670
27546
|
});
|
|
27671
27547
|
Modal.propTypes /* remove-proptypes */ = {
|
|
27672
27548
|
// ----------------------------- Warning --------------------------------
|
|
@@ -28057,7 +27933,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28057
27933
|
};
|
|
28058
27934
|
}, [ariaLabelledby]);
|
|
28059
27935
|
return /*#__PURE__*/jsxRuntime_1(DialogRoot, _extends({
|
|
28060
|
-
className: clsx
|
|
27936
|
+
className: clsx(classes.root, className),
|
|
28061
27937
|
closeAfterTransition: true,
|
|
28062
27938
|
components: {
|
|
28063
27939
|
Backdrop: DialogBackdrop
|
|
@@ -28082,7 +27958,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28082
27958
|
role: "presentation"
|
|
28083
27959
|
}, TransitionProps, {
|
|
28084
27960
|
children: /*#__PURE__*/jsxRuntime_1(DialogContainer, {
|
|
28085
|
-
className: clsx
|
|
27961
|
+
className: clsx(classes.container),
|
|
28086
27962
|
onMouseDown: handleMouseDown,
|
|
28087
27963
|
ownerState: ownerState,
|
|
28088
27964
|
children: /*#__PURE__*/jsxRuntime_1(DialogPaper, _extends({
|
|
@@ -28092,7 +27968,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28092
27968
|
"aria-describedby": ariaDescribedby,
|
|
28093
27969
|
"aria-labelledby": ariaLabelledby
|
|
28094
27970
|
}, PaperProps, {
|
|
28095
|
-
className: clsx
|
|
27971
|
+
className: clsx(classes.paper, PaperProps.className),
|
|
28096
27972
|
ownerState: ownerState,
|
|
28097
27973
|
children: /*#__PURE__*/jsxRuntime_1(DialogContext$1.Provider, {
|
|
28098
27974
|
value: dialogContextValue,
|
|
@@ -28287,7 +28163,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28287
28163
|
});
|
|
28288
28164
|
const classes = useUtilityClasses$1c(ownerState);
|
|
28289
28165
|
return /*#__PURE__*/jsxRuntime_1(DialogActionsRoot, _extends({
|
|
28290
|
-
className: clsx
|
|
28166
|
+
className: clsx(classes.root, className),
|
|
28291
28167
|
ownerState: ownerState,
|
|
28292
28168
|
ref: ref
|
|
28293
28169
|
}, other));
|
|
@@ -28386,7 +28262,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28386
28262
|
});
|
|
28387
28263
|
const classes = useUtilityClasses$1b(ownerState);
|
|
28388
28264
|
return /*#__PURE__*/jsxRuntime_1(DialogContentRoot, _extends({
|
|
28389
|
-
className: clsx
|
|
28265
|
+
className: clsx(classes.root, className),
|
|
28390
28266
|
ownerState: ownerState,
|
|
28391
28267
|
ref: ref
|
|
28392
28268
|
}, other));
|
|
@@ -28459,7 +28335,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28459
28335
|
color: "text.secondary",
|
|
28460
28336
|
ref: ref,
|
|
28461
28337
|
ownerState: ownerState,
|
|
28462
|
-
className: clsx
|
|
28338
|
+
className: clsx(classes.root, className)
|
|
28463
28339
|
}, props, {
|
|
28464
28340
|
classes: classes
|
|
28465
28341
|
}));
|
|
@@ -28523,7 +28399,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28523
28399
|
} = React__namespace.useContext(DialogContext$1);
|
|
28524
28400
|
return /*#__PURE__*/jsxRuntime_1(DialogTitleRoot, _extends({
|
|
28525
28401
|
component: "h2",
|
|
28526
|
-
className: clsx
|
|
28402
|
+
className: clsx(classes.root, className),
|
|
28527
28403
|
ownerState: ownerState,
|
|
28528
28404
|
ref: ref,
|
|
28529
28405
|
variant: "h6",
|
|
@@ -28720,7 +28596,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28720
28596
|
const classes = useUtilityClasses$18(ownerState);
|
|
28721
28597
|
return /*#__PURE__*/jsxRuntime_1(DividerRoot, _extends({
|
|
28722
28598
|
as: component,
|
|
28723
|
-
className: clsx
|
|
28599
|
+
className: clsx(classes.root, className),
|
|
28724
28600
|
role: role,
|
|
28725
28601
|
ref: ref,
|
|
28726
28602
|
ownerState: ownerState
|
|
@@ -29121,7 +28997,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29121
28997
|
var drawerClasses$1 = drawerClasses;
|
|
29122
28998
|
|
|
29123
28999
|
const _excluded$1k = ["BackdropProps"],
|
|
29124
|
-
_excluded2$
|
|
29000
|
+
_excluded2$9 = ["anchor", "BackdropProps", "children", "className", "elevation", "hideBackdrop", "ModalProps", "onClose", "open", "PaperProps", "SlideProps", "TransitionComponent", "transitionDuration", "variant"];
|
|
29125
29001
|
const overridesResolver$5 = (props, styles) => {
|
|
29126
29002
|
const {
|
|
29127
29003
|
ownerState
|
|
@@ -29261,7 +29137,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29261
29137
|
variant = 'temporary'
|
|
29262
29138
|
} = props,
|
|
29263
29139
|
ModalProps = _objectWithoutPropertiesLoose(props.ModalProps, _excluded$1k),
|
|
29264
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
29140
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$9);
|
|
29265
29141
|
|
|
29266
29142
|
// Let's assume that the Drawer will always be rendered on user space.
|
|
29267
29143
|
// We use this state is order to skip the appear transition during the
|
|
@@ -29283,13 +29159,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29283
29159
|
elevation: variant === 'temporary' ? elevation : 0,
|
|
29284
29160
|
square: true
|
|
29285
29161
|
}, PaperProps, {
|
|
29286
|
-
className: clsx
|
|
29162
|
+
className: clsx(classes.paper, PaperProps.className),
|
|
29287
29163
|
ownerState: ownerState,
|
|
29288
29164
|
children: children
|
|
29289
29165
|
}));
|
|
29290
29166
|
if (variant === 'permanent') {
|
|
29291
29167
|
return /*#__PURE__*/jsxRuntime_1(DrawerDockedRoot, _extends({
|
|
29292
|
-
className: clsx
|
|
29168
|
+
className: clsx(classes.root, classes.docked, className),
|
|
29293
29169
|
ownerState: ownerState,
|
|
29294
29170
|
ref: ref
|
|
29295
29171
|
}, other, {
|
|
@@ -29306,7 +29182,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29306
29182
|
}));
|
|
29307
29183
|
if (variant === 'persistent') {
|
|
29308
29184
|
return /*#__PURE__*/jsxRuntime_1(DrawerDockedRoot, _extends({
|
|
29309
|
-
className: clsx
|
|
29185
|
+
className: clsx(classes.root, classes.docked, className),
|
|
29310
29186
|
ownerState: ownerState,
|
|
29311
29187
|
ref: ref
|
|
29312
29188
|
}, other, {
|
|
@@ -29319,7 +29195,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29319
29195
|
BackdropProps: _extends({}, BackdropProps, BackdropPropsProp, {
|
|
29320
29196
|
transitionDuration
|
|
29321
29197
|
}),
|
|
29322
|
-
className: clsx
|
|
29198
|
+
className: clsx(classes.root, classes.modal, className),
|
|
29323
29199
|
open: open,
|
|
29324
29200
|
ownerState: ownerState,
|
|
29325
29201
|
onClose: onClose,
|
|
@@ -29372,8 +29248,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29372
29248
|
ModalProps: PropTypes.object,
|
|
29373
29249
|
/**
|
|
29374
29250
|
* Callback fired when the component requests to be closed.
|
|
29251
|
+
* The `reason` parameter can optionally be used to control the response to `onClose`.
|
|
29375
29252
|
*
|
|
29376
29253
|
* @param {object} event The event source of the callback.
|
|
29254
|
+
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
29377
29255
|
*/
|
|
29378
29256
|
onClose: PropTypes.func,
|
|
29379
29257
|
/**
|
|
@@ -29555,11 +29433,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29555
29433
|
});
|
|
29556
29434
|
const classes = useUtilityClasses$16(ownerState);
|
|
29557
29435
|
return /*#__PURE__*/jsxRuntime_1(FabRoot, _extends({
|
|
29558
|
-
className: clsx
|
|
29436
|
+
className: clsx(classes.root, className),
|
|
29559
29437
|
component: component,
|
|
29560
29438
|
disabled: disabled,
|
|
29561
29439
|
focusRipple: !disableFocusRipple,
|
|
29562
|
-
focusVisibleClassName: clsx
|
|
29440
|
+
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
|
29563
29441
|
ownerState: ownerState,
|
|
29564
29442
|
ref: ref
|
|
29565
29443
|
}, other, {
|
|
@@ -30243,7 +30121,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30243
30121
|
children: /*#__PURE__*/jsxRuntime_1(FormControlRoot, _extends({
|
|
30244
30122
|
as: component,
|
|
30245
30123
|
ownerState: ownerState,
|
|
30246
|
-
className: clsx
|
|
30124
|
+
className: clsx(classes.root, className),
|
|
30247
30125
|
ref: ref
|
|
30248
30126
|
}, other, {
|
|
30249
30127
|
children: children
|
|
@@ -30523,12 +30401,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30523
30401
|
label = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
|
|
30524
30402
|
component: "span"
|
|
30525
30403
|
}, typographySlotProps, {
|
|
30526
|
-
className: clsx
|
|
30404
|
+
className: clsx(classes.label, typographySlotProps == null ? void 0 : typographySlotProps.className),
|
|
30527
30405
|
children: label
|
|
30528
30406
|
}));
|
|
30529
30407
|
}
|
|
30530
30408
|
return /*#__PURE__*/jsxRuntime_2(FormControlLabelRoot, _extends({
|
|
30531
|
-
className: clsx
|
|
30409
|
+
className: clsx(classes.root, className),
|
|
30532
30410
|
ownerState: ownerState,
|
|
30533
30411
|
ref: ref
|
|
30534
30412
|
}, other, {
|
|
@@ -30690,7 +30568,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30690
30568
|
});
|
|
30691
30569
|
const classes = useUtilityClasses$12(ownerState);
|
|
30692
30570
|
return /*#__PURE__*/jsxRuntime_1(FormGroupRoot, _extends({
|
|
30693
|
-
className: clsx
|
|
30571
|
+
className: clsx(classes.root, className),
|
|
30694
30572
|
ownerState: ownerState,
|
|
30695
30573
|
ref: ref
|
|
30696
30574
|
}, other));
|
|
@@ -30812,7 +30690,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30812
30690
|
return /*#__PURE__*/jsxRuntime_1(FormHelperTextRoot, _extends({
|
|
30813
30691
|
as: component,
|
|
30814
30692
|
ownerState: ownerState,
|
|
30815
|
-
className: clsx
|
|
30693
|
+
className: clsx(classes.root, className),
|
|
30816
30694
|
ref: ref
|
|
30817
30695
|
}, other, {
|
|
30818
30696
|
children: children === ' ' ? // notranslate needed while Google Translate will not fix zero-width space issue
|
|
@@ -30973,7 +30851,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30973
30851
|
return /*#__PURE__*/jsxRuntime_2(FormLabelRoot, _extends({
|
|
30974
30852
|
as: component,
|
|
30975
30853
|
ownerState: ownerState,
|
|
30976
|
-
className: clsx
|
|
30854
|
+
className: clsx(classes.root, className),
|
|
30977
30855
|
ref: ref
|
|
30978
30856
|
}, other, {
|
|
30979
30857
|
children: [children, fcs.required && /*#__PURE__*/jsxRuntime_2(AsteriskComponent, {
|
|
@@ -31459,7 +31337,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
31459
31337
|
value: columns,
|
|
31460
31338
|
children: /*#__PURE__*/jsxRuntime_1(GridRoot, _extends({
|
|
31461
31339
|
ownerState: ownerState,
|
|
31462
|
-
className: clsx
|
|
31340
|
+
className: clsx(classes.root, className),
|
|
31463
31341
|
as: component,
|
|
31464
31342
|
ref: ref
|
|
31465
31343
|
}, otherFiltered))
|
|
@@ -32341,7 +32219,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32341
32219
|
});
|
|
32342
32220
|
const classes = useUtilityClasses$_(ownerState);
|
|
32343
32221
|
return /*#__PURE__*/jsxRuntime_1(HiddenCssRoot, {
|
|
32344
|
-
className: clsx
|
|
32222
|
+
className: clsx(classes.root, className),
|
|
32345
32223
|
ownerState: ownerState,
|
|
32346
32224
|
children: children
|
|
32347
32225
|
});
|
|
@@ -32615,7 +32493,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32615
32493
|
const classes = useUtilityClasses$Z(ownerState);
|
|
32616
32494
|
return /*#__PURE__*/jsxRuntime_1(IconRoot, _extends({
|
|
32617
32495
|
as: Component,
|
|
32618
|
-
className: clsx
|
|
32496
|
+
className: clsx(baseClassName,
|
|
32619
32497
|
// Prevent the translation of the text content.
|
|
32620
32498
|
// The font relies on the exact text content to render the icon.
|
|
32621
32499
|
'notranslate', classes.root, className),
|
|
@@ -32767,7 +32645,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32767
32645
|
const classes = useUtilityClasses$Y(ownerState);
|
|
32768
32646
|
return /*#__PURE__*/jsxRuntime_1(ImageListRoot, _extends({
|
|
32769
32647
|
as: component,
|
|
32770
|
-
className: clsx
|
|
32648
|
+
className: clsx(classes.root, classes[variant], className),
|
|
32771
32649
|
ref: ref,
|
|
32772
32650
|
style: style,
|
|
32773
32651
|
ownerState: ownerState
|
|
@@ -32924,7 +32802,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32924
32802
|
const classes = useUtilityClasses$X(ownerState);
|
|
32925
32803
|
return /*#__PURE__*/jsxRuntime_1(ImageListItemRoot, _extends({
|
|
32926
32804
|
as: component,
|
|
32927
|
-
className: clsx
|
|
32805
|
+
className: clsx(classes.root, classes[variant], className),
|
|
32928
32806
|
ref: ref,
|
|
32929
32807
|
style: _extends({
|
|
32930
32808
|
height,
|
|
@@ -32945,7 +32823,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32945
32823
|
}
|
|
32946
32824
|
if (child.type === 'img' || isMuiElement(child, ['Image'])) {
|
|
32947
32825
|
return /*#__PURE__*/React__namespace.cloneElement(child, {
|
|
32948
|
-
className: clsx
|
|
32826
|
+
className: clsx(classes.img, child.props.className)
|
|
32949
32827
|
});
|
|
32950
32828
|
}
|
|
32951
32829
|
return child;
|
|
@@ -33143,7 +33021,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33143
33021
|
const classes = useUtilityClasses$W(ownerState);
|
|
33144
33022
|
return /*#__PURE__*/jsxRuntime_2(ImageListItemBarRoot, _extends({
|
|
33145
33023
|
ownerState: ownerState,
|
|
33146
|
-
className: clsx
|
|
33024
|
+
className: clsx(classes.root, className),
|
|
33147
33025
|
ref: ref
|
|
33148
33026
|
}, other, {
|
|
33149
33027
|
children: [/*#__PURE__*/jsxRuntime_2(ImageListItemBarTitleWrap, {
|
|
@@ -33638,7 +33516,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33638
33516
|
children: /*#__PURE__*/jsxRuntime_1(InputAdornmentRoot, _extends({
|
|
33639
33517
|
as: component,
|
|
33640
33518
|
ownerState: ownerState,
|
|
33641
|
-
className: clsx
|
|
33519
|
+
className: clsx(classes.root, className),
|
|
33642
33520
|
ref: ref
|
|
33643
33521
|
}, other, {
|
|
33644
33522
|
children: typeof children === 'string' && !disableTypography ? /*#__PURE__*/jsxRuntime_1(Typography$1, {
|
|
@@ -33835,7 +33713,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33835
33713
|
"data-shrink": shrink,
|
|
33836
33714
|
ownerState: ownerState,
|
|
33837
33715
|
ref: ref,
|
|
33838
|
-
className: clsx
|
|
33716
|
+
className: clsx(classes.root, className)
|
|
33839
33717
|
}, other, {
|
|
33840
33718
|
classes: classes
|
|
33841
33719
|
}));
|
|
@@ -34187,7 +34065,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34187
34065
|
}
|
|
34188
34066
|
}
|
|
34189
34067
|
return /*#__PURE__*/jsxRuntime_2(LinearProgressRoot, _extends({
|
|
34190
|
-
className: clsx
|
|
34068
|
+
className: clsx(classes.root, className),
|
|
34191
34069
|
ownerState: ownerState,
|
|
34192
34070
|
role: "progressbar"
|
|
34193
34071
|
}, rootProps, {
|
|
@@ -34406,7 +34284,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34406
34284
|
const classes = useUtilityClasses$R(ownerState);
|
|
34407
34285
|
return /*#__PURE__*/jsxRuntime_1(LinkRoot, _extends({
|
|
34408
34286
|
color: color,
|
|
34409
|
-
className: clsx
|
|
34287
|
+
className: clsx(classes.root, className),
|
|
34410
34288
|
classes: TypographyClasses,
|
|
34411
34289
|
component: component,
|
|
34412
34290
|
onBlur: handleBlur,
|
|
@@ -34552,7 +34430,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34552
34430
|
value: context,
|
|
34553
34431
|
children: /*#__PURE__*/jsxRuntime_2(ListRoot, _extends({
|
|
34554
34432
|
as: component,
|
|
34555
|
-
className: clsx
|
|
34433
|
+
className: clsx(classes.root, className),
|
|
34556
34434
|
ref: ref,
|
|
34557
34435
|
ownerState: ownerState
|
|
34558
34436
|
}, other, {
|
|
@@ -34753,9 +34631,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34753
34631
|
// `ButtonBase` processes `href` or `to` if `component` is set to 'button'
|
|
34754
34632
|
,
|
|
34755
34633
|
component: (other.href || other.to) && component === 'div' ? 'button' : component,
|
|
34756
|
-
focusVisibleClassName: clsx
|
|
34634
|
+
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
|
34757
34635
|
ownerState: ownerState,
|
|
34758
|
-
className: clsx
|
|
34636
|
+
className: clsx(classes.root, className)
|
|
34759
34637
|
}, other, {
|
|
34760
34638
|
classes: classes,
|
|
34761
34639
|
children: children
|
|
@@ -34897,7 +34775,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34897
34775
|
});
|
|
34898
34776
|
const classes = useUtilityClasses$O(ownerState);
|
|
34899
34777
|
return /*#__PURE__*/jsxRuntime_1(ListItemSecondaryActionRoot, _extends({
|
|
34900
|
-
className: clsx
|
|
34778
|
+
className: clsx(classes.root, className),
|
|
34901
34779
|
ownerState: ownerState,
|
|
34902
34780
|
ref: ref
|
|
34903
34781
|
}, other));
|
|
@@ -34928,7 +34806,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34928
34806
|
var ListItemSecondaryAction$1 = ListItemSecondaryAction;
|
|
34929
34807
|
|
|
34930
34808
|
const _excluded$X = ["className"],
|
|
34931
|
-
_excluded2$
|
|
34809
|
+
_excluded2$8 = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected", "slotProps", "slots"];
|
|
34932
34810
|
const overridesResolver$2 = (props, styles) => {
|
|
34933
34811
|
const {
|
|
34934
34812
|
ownerState
|
|
@@ -35070,7 +34948,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
35070
34948
|
slots = {}
|
|
35071
34949
|
} = props,
|
|
35072
34950
|
ContainerProps = _objectWithoutPropertiesLoose(props.ContainerProps, _excluded$X),
|
|
35073
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
34951
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$8);
|
|
35074
34952
|
const context = React__namespace.useContext(ListContext$1);
|
|
35075
34953
|
const childContext = React__namespace.useMemo(() => ({
|
|
35076
34954
|
dense: dense || context.dense || false,
|
|
@@ -35108,13 +34986,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
35108
34986
|
const Root = slots.root || components.Root || ListItemRoot;
|
|
35109
34987
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
35110
34988
|
const componentProps = _extends({
|
|
35111
|
-
className: clsx
|
|
34989
|
+
className: clsx(classes.root, rootProps.className, className),
|
|
35112
34990
|
disabled
|
|
35113
34991
|
}, other);
|
|
35114
34992
|
let Component = componentProp || 'li';
|
|
35115
34993
|
if (button) {
|
|
35116
34994
|
componentProps.component = componentProp || 'div';
|
|
35117
|
-
componentProps.focusVisibleClassName = clsx
|
|
34995
|
+
componentProps.focusVisibleClassName = clsx(listItemClasses$1.focusVisible, focusVisibleClassName);
|
|
35118
34996
|
Component = ButtonBase$1;
|
|
35119
34997
|
}
|
|
35120
34998
|
|
|
@@ -35135,7 +35013,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
35135
35013
|
value: childContext,
|
|
35136
35014
|
children: /*#__PURE__*/jsxRuntime_2(ListItemContainer, _extends({
|
|
35137
35015
|
as: ContainerComponent,
|
|
35138
|
-
className: clsx
|
|
35016
|
+
className: clsx(classes.container, ContainerClassName),
|
|
35139
35017
|
ref: handleRef,
|
|
35140
35018
|
ownerState: ownerState
|
|
35141
35019
|
}, ContainerProps, {
|
|
@@ -35379,7 +35257,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
35379
35257
|
});
|
|
35380
35258
|
const classes = useUtilityClasses$M(ownerState);
|
|
35381
35259
|
return /*#__PURE__*/jsxRuntime_1(ListItemAvatarRoot, _extends({
|
|
35382
|
-
className: clsx
|
|
35260
|
+
className: clsx(classes.root, className),
|
|
35383
35261
|
ownerState: ownerState,
|
|
35384
35262
|
ref: ref
|
|
35385
35263
|
}, other));
|
|
@@ -35464,7 +35342,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
35464
35342
|
});
|
|
35465
35343
|
const classes = useUtilityClasses$L(ownerState);
|
|
35466
35344
|
return /*#__PURE__*/jsxRuntime_1(ListItemIconRoot, _extends({
|
|
35467
|
-
className: clsx
|
|
35345
|
+
className: clsx(classes.root, className),
|
|
35468
35346
|
ownerState: ownerState,
|
|
35469
35347
|
ref: ref
|
|
35470
35348
|
}, other));
|
|
@@ -35592,7 +35470,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
35592
35470
|
}));
|
|
35593
35471
|
}
|
|
35594
35472
|
return /*#__PURE__*/jsxRuntime_2(ListItemTextRoot, _extends({
|
|
35595
|
-
className: clsx
|
|
35473
|
+
className: clsx(classes.root, className),
|
|
35596
35474
|
ownerState: ownerState,
|
|
35597
35475
|
ref: ref
|
|
35598
35476
|
}, other, {
|
|
@@ -35932,7 +35810,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
35932
35810
|
var popoverClasses$1 = popoverClasses;
|
|
35933
35811
|
|
|
35934
35812
|
const _excluded$S = ["onEntering"],
|
|
35935
|
-
_excluded2$
|
|
35813
|
+
_excluded2$7 = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "slots", "slotProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"],
|
|
35936
35814
|
_excluded3$1 = ["slotProps"];
|
|
35937
35815
|
function getOffsetTop(rect, vertical) {
|
|
35938
35816
|
let offset = 0;
|
|
@@ -36029,7 +35907,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36029
35907
|
} = {}
|
|
36030
35908
|
} = props,
|
|
36031
35909
|
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$S),
|
|
36032
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
35910
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$7);
|
|
36033
35911
|
const externalPaperSlotProps = (_slotProps$paper = slotProps == null ? void 0 : slotProps.paper) != null ? _slotProps$paper : PaperPropsProp;
|
|
36034
35912
|
const paperRef = React__namespace.useRef();
|
|
36035
35913
|
const handlePaperRef = useForkRef(paperRef, externalPaperSlotProps.ref);
|
|
@@ -36217,7 +36095,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36217
36095
|
ref: handlePaperRef
|
|
36218
36096
|
},
|
|
36219
36097
|
ownerState,
|
|
36220
|
-
className: clsx
|
|
36098
|
+
className: clsx(classes.paper, externalPaperSlotProps == null ? void 0 : externalPaperSlotProps.className)
|
|
36221
36099
|
});
|
|
36222
36100
|
const _useSlotProps = useSlotProps({
|
|
36223
36101
|
elementType: RootSlot,
|
|
@@ -36234,7 +36112,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36234
36112
|
open
|
|
36235
36113
|
},
|
|
36236
36114
|
ownerState,
|
|
36237
|
-
className: clsx
|
|
36115
|
+
className: clsx(classes.root, className)
|
|
36238
36116
|
}),
|
|
36239
36117
|
{
|
|
36240
36118
|
slotProps: rootSlotPropsProp
|
|
@@ -36436,7 +36314,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36436
36314
|
var menuClasses$1 = menuClasses;
|
|
36437
36315
|
|
|
36438
36316
|
const _excluded$R = ["onEntering"],
|
|
36439
|
-
_excluded2$
|
|
36317
|
+
_excluded2$6 = ["autoFocus", "children", "className", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant", "slots", "slotProps"];
|
|
36440
36318
|
const RTL_ORIGIN = {
|
|
36441
36319
|
vertical: 'top',
|
|
36442
36320
|
horizontal: 'right'
|
|
@@ -36507,7 +36385,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36507
36385
|
slotProps = {}
|
|
36508
36386
|
} = props,
|
|
36509
36387
|
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$R),
|
|
36510
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
36388
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$6);
|
|
36511
36389
|
const theme = useTheme();
|
|
36512
36390
|
const isRtl = theme.direction === 'rtl';
|
|
36513
36391
|
const ownerState = _extends({}, props, {
|
|
@@ -36611,7 +36489,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36611
36489
|
autoFocusItem: autoFocusItem,
|
|
36612
36490
|
variant: variant
|
|
36613
36491
|
}, MenuListProps, {
|
|
36614
|
-
className: clsx
|
|
36492
|
+
className: clsx(classes.list, MenuListProps.className),
|
|
36615
36493
|
children: children
|
|
36616
36494
|
}))
|
|
36617
36495
|
}));
|
|
@@ -36886,8 +36764,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36886
36764
|
role: role,
|
|
36887
36765
|
tabIndex: tabIndex,
|
|
36888
36766
|
component: component,
|
|
36889
|
-
focusVisibleClassName: clsx
|
|
36890
|
-
className: clsx
|
|
36767
|
+
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
|
36768
|
+
className: clsx(classes.root, className)
|
|
36891
36769
|
}, other, {
|
|
36892
36770
|
ownerState: ownerState,
|
|
36893
36771
|
classes: classes
|
|
@@ -37102,7 +36980,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37102
36980
|
return /*#__PURE__*/jsxRuntime_2(MobileStepperRoot, _extends({
|
|
37103
36981
|
square: true,
|
|
37104
36982
|
elevation: 0,
|
|
37105
|
-
className: clsx
|
|
36983
|
+
className: clsx(classes.root, className),
|
|
37106
36984
|
ref: ref,
|
|
37107
36985
|
ownerState: ownerState
|
|
37108
36986
|
}, other, {
|
|
@@ -37112,7 +36990,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37112
36990
|
ownerState: ownerState,
|
|
37113
36991
|
className: classes.dots,
|
|
37114
36992
|
children: [...new Array(steps)].map((_, index) => /*#__PURE__*/jsxRuntime_1(MobileStepperDot, {
|
|
37115
|
-
className: clsx
|
|
36993
|
+
className: clsx(classes.dot, index === activeStep && classes.dotActive),
|
|
37116
36994
|
ownerState: ownerState,
|
|
37117
36995
|
dotActive: index === activeStep
|
|
37118
36996
|
}, index))
|
|
@@ -37321,7 +37199,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37321
37199
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
37322
37200
|
children: [/*#__PURE__*/jsxRuntime_1(NativeSelectSelect, _extends({
|
|
37323
37201
|
ownerState: ownerState,
|
|
37324
|
-
className: clsx
|
|
37202
|
+
className: clsx(classes.select, className),
|
|
37325
37203
|
disabled: disabled,
|
|
37326
37204
|
ref: inputRef || ref
|
|
37327
37205
|
}, other)), props.multiple ? null : /*#__PURE__*/jsxRuntime_1(NativeSelectIcon, {
|
|
@@ -37390,7 +37268,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37390
37268
|
var NativeSelectInput$1 = NativeSelectInput;
|
|
37391
37269
|
|
|
37392
37270
|
const _excluded$N = ["className", "children", "classes", "IconComponent", "input", "inputProps", "variant"],
|
|
37393
|
-
_excluded2$
|
|
37271
|
+
_excluded2$5 = ["root"];
|
|
37394
37272
|
const useUtilityClasses$E = ownerState => {
|
|
37395
37273
|
const {
|
|
37396
37274
|
classes
|
|
@@ -37428,7 +37306,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37428
37306
|
classes: classesProp
|
|
37429
37307
|
});
|
|
37430
37308
|
const classes = useUtilityClasses$E(ownerState);
|
|
37431
|
-
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$
|
|
37309
|
+
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$5);
|
|
37432
37310
|
return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
|
|
37433
37311
|
children: /*#__PURE__*/React__namespace.cloneElement(input, _extends({
|
|
37434
37312
|
// Most of the logic is implemented in `NativeSelectInput`.
|
|
@@ -37443,7 +37321,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37443
37321
|
}, inputProps, input ? input.props.inputProps : {}),
|
|
37444
37322
|
ref
|
|
37445
37323
|
}, other, {
|
|
37446
|
-
className: clsx
|
|
37324
|
+
className: clsx(classes.root, input.props.className, className)
|
|
37447
37325
|
}))
|
|
37448
37326
|
});
|
|
37449
37327
|
});
|
|
@@ -38333,14 +38211,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38333
38211
|
return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/jsxRuntime_1(PaginationItemEllipsis, {
|
|
38334
38212
|
ref: ref,
|
|
38335
38213
|
ownerState: ownerState,
|
|
38336
|
-
className: clsx
|
|
38214
|
+
className: clsx(classes.root, className),
|
|
38337
38215
|
children: "\u2026"
|
|
38338
38216
|
}) : /*#__PURE__*/jsxRuntime_2(PaginationItemPage, _extends({
|
|
38339
38217
|
ref: ref,
|
|
38340
38218
|
ownerState: ownerState,
|
|
38341
38219
|
component: component,
|
|
38342
38220
|
disabled: disabled,
|
|
38343
|
-
className: clsx
|
|
38221
|
+
className: clsx(classes.root, className)
|
|
38344
38222
|
}, other, {
|
|
38345
38223
|
children: [type === 'page' && page, Icon ? /*#__PURE__*/jsxRuntime_1(PaginationItemPageIcon, {
|
|
38346
38224
|
as: Icon,
|
|
@@ -38535,7 +38413,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38535
38413
|
const classes = useUtilityClasses$B(ownerState);
|
|
38536
38414
|
return /*#__PURE__*/jsxRuntime_1(PaginationRoot, _extends({
|
|
38537
38415
|
"aria-label": "pagination navigation",
|
|
38538
|
-
className: clsx
|
|
38416
|
+
className: clsx(classes.root, className),
|
|
38539
38417
|
ownerState: ownerState,
|
|
38540
38418
|
ref: ref
|
|
38541
38419
|
}, other, {
|
|
@@ -38873,7 +38751,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38873
38751
|
checked: checked,
|
|
38874
38752
|
onChange: onChange,
|
|
38875
38753
|
ref: ref,
|
|
38876
|
-
className: clsx
|
|
38754
|
+
className: clsx(classes.root, className)
|
|
38877
38755
|
}, other));
|
|
38878
38756
|
});
|
|
38879
38757
|
Radio.propTypes /* remove-proptypes */ = {
|
|
@@ -39065,7 +38943,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39065
38943
|
var ratingClasses$1 = ratingClasses;
|
|
39066
38944
|
|
|
39067
38945
|
const _excluded$F = ["value"],
|
|
39068
|
-
_excluded2$
|
|
38946
|
+
_excluded2$4 = ["className", "defaultValue", "disabled", "emptyIcon", "emptyLabelText", "getLabelText", "highlightSelectedOnly", "icon", "IconContainerComponent", "max", "name", "onChange", "onChangeActive", "onMouseLeave", "onMouseMove", "precision", "readOnly", "size", "value"];
|
|
39069
38947
|
function clamp$1(value, min, max) {
|
|
39070
38948
|
if (value < min) {
|
|
39071
38949
|
return min;
|
|
@@ -39247,7 +39125,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39247
39125
|
const container = /*#__PURE__*/jsxRuntime_1(RatingIcon, {
|
|
39248
39126
|
as: IconContainerComponent,
|
|
39249
39127
|
value: itemValue,
|
|
39250
|
-
className: clsx
|
|
39128
|
+
className: clsx(classes.icon, isFilled ? classes.iconFilled : classes.iconEmpty, isHovered && classes.iconHover, isFocused && classes.iconFocus, isActive && classes.iconActive),
|
|
39251
39129
|
ownerState: _extends({}, ownerState, {
|
|
39252
39130
|
iconEmpty: !isFilled,
|
|
39253
39131
|
iconFilled: isFilled,
|
|
@@ -39346,7 +39224,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39346
39224
|
size = 'medium',
|
|
39347
39225
|
value: valueProp
|
|
39348
39226
|
} = props,
|
|
39349
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
39227
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$4);
|
|
39350
39228
|
const name = useId(nameProp);
|
|
39351
39229
|
const [valueDerived, setValueState] = useControlled({
|
|
39352
39230
|
controlled: valueProp,
|
|
@@ -39494,7 +39372,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39494
39372
|
ref: handleRef,
|
|
39495
39373
|
onMouseMove: handleMouseMove,
|
|
39496
39374
|
onMouseLeave: handleMouseLeave,
|
|
39497
|
-
className: clsx
|
|
39375
|
+
className: clsx(classes.root, className, readOnly && 'MuiRating-readOnly'),
|
|
39498
39376
|
ownerState: ownerState,
|
|
39499
39377
|
role: readOnly ? 'img' : null,
|
|
39500
39378
|
"aria-label": readOnly ? getLabelText(value) : null
|
|
@@ -39525,7 +39403,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39525
39403
|
if (precision < 1) {
|
|
39526
39404
|
const items = Array.from(new Array(1 / precision));
|
|
39527
39405
|
return /*#__PURE__*/jsxRuntime_1(RatingDecimal, {
|
|
39528
|
-
className: clsx
|
|
39406
|
+
className: clsx(classes.decimal, isActive && classes.iconActive),
|
|
39529
39407
|
ownerState: ownerState,
|
|
39530
39408
|
iconActive: isActive,
|
|
39531
39409
|
children: items.map(($, indexDecimal) => {
|
|
@@ -39550,7 +39428,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39550
39428
|
itemValue: itemValue
|
|
39551
39429
|
}), itemValue);
|
|
39552
39430
|
}), !readOnly && !disabled && /*#__PURE__*/jsxRuntime_2(RatingLabel, {
|
|
39553
|
-
className: clsx
|
|
39431
|
+
className: clsx(classes.label, classes.labelEmptyValue),
|
|
39554
39432
|
ownerState: ownerState,
|
|
39555
39433
|
children: [/*#__PURE__*/jsxRuntime_1("input", {
|
|
39556
39434
|
className: classes.visuallyHidden,
|
|
@@ -39752,7 +39630,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39752
39630
|
const classes = useUtilityClasses$y(ownerState);
|
|
39753
39631
|
return /*#__PURE__*/jsxRuntime_1(ScopedCssBaselineRoot, _extends({
|
|
39754
39632
|
as: component,
|
|
39755
|
-
className: clsx
|
|
39633
|
+
className: clsx(classes.root, className),
|
|
39756
39634
|
ref: ref,
|
|
39757
39635
|
ownerState: ownerState
|
|
39758
39636
|
}, other));
|
|
@@ -39795,7 +39673,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39795
39673
|
function getSelectUtilityClasses(slot) {
|
|
39796
39674
|
return generateUtilityClass('MuiSelect', slot);
|
|
39797
39675
|
}
|
|
39798
|
-
const selectClasses = generateUtilityClasses('MuiSelect', ['select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
|
|
39676
|
+
const selectClasses = generateUtilityClasses('MuiSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
|
|
39799
39677
|
var selectClasses$1 = selectClasses;
|
|
39800
39678
|
|
|
39801
39679
|
var _span;
|
|
@@ -40227,7 +40105,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40227
40105
|
onFocus: onFocus
|
|
40228
40106
|
}, SelectDisplayProps, {
|
|
40229
40107
|
ownerState: ownerState,
|
|
40230
|
-
className: clsx
|
|
40108
|
+
className: clsx(SelectDisplayProps.className, classes.select, className)
|
|
40231
40109
|
// The id is required for proper a11y
|
|
40232
40110
|
,
|
|
40233
40111
|
id: buttonId,
|
|
@@ -40427,7 +40305,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40427
40305
|
} ;
|
|
40428
40306
|
var SelectInput$1 = SelectInput;
|
|
40429
40307
|
|
|
40430
|
-
const _excluded$C = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"]
|
|
40308
|
+
const _excluded$C = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"],
|
|
40309
|
+
_excluded2$3 = ["root"];
|
|
40431
40310
|
const useUtilityClasses$w = ownerState => {
|
|
40432
40311
|
const {
|
|
40433
40312
|
classes
|
|
@@ -40485,6 +40364,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40485
40364
|
classes: classesProp
|
|
40486
40365
|
});
|
|
40487
40366
|
const classes = useUtilityClasses$w(ownerState);
|
|
40367
|
+
const restOfClasses = _objectWithoutPropertiesLoose(classes, _excluded2$3);
|
|
40488
40368
|
const InputComponent = input || {
|
|
40489
40369
|
standard: /*#__PURE__*/jsxRuntime_1(StyledInput, {
|
|
40490
40370
|
ownerState: ownerState
|
|
@@ -40527,13 +40407,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40527
40407
|
id
|
|
40528
40408
|
}, SelectDisplayProps)
|
|
40529
40409
|
}, inputProps, {
|
|
40530
|
-
classes: inputProps ? deepmerge(
|
|
40410
|
+
classes: inputProps ? deepmerge(restOfClasses, inputProps.classes) : restOfClasses
|
|
40531
40411
|
}, input ? input.props.inputProps : {})
|
|
40532
40412
|
}, multiple && native && variant === 'outlined' ? {
|
|
40533
40413
|
notched: true
|
|
40534
40414
|
} : {}, {
|
|
40535
40415
|
ref: inputComponentRef,
|
|
40536
|
-
className: clsx
|
|
40416
|
+
className: clsx(InputComponent.props.className, className, classes.root)
|
|
40537
40417
|
}, !input && {
|
|
40538
40418
|
variant
|
|
40539
40419
|
}, other))
|
|
@@ -40788,7 +40668,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40788
40668
|
}, ({
|
|
40789
40669
|
ownerState
|
|
40790
40670
|
}) => ownerState.animation === 'pulse' && css(_t3 || (_t3 = _`
|
|
40791
|
-
animation: ${0}
|
|
40671
|
+
animation: ${0} 2s ease-in-out 0.5s infinite;
|
|
40792
40672
|
`), pulseKeyframe), ({
|
|
40793
40673
|
ownerState,
|
|
40794
40674
|
theme
|
|
@@ -40800,7 +40680,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40800
40680
|
-webkit-mask-image: -webkit-radial-gradient(white, black);
|
|
40801
40681
|
|
|
40802
40682
|
&::after {
|
|
40803
|
-
animation: ${0}
|
|
40683
|
+
animation: ${0} 2s linear 0.5s infinite;
|
|
40804
40684
|
background: linear-gradient(
|
|
40805
40685
|
90deg,
|
|
40806
40686
|
transparent,
|
|
@@ -40841,7 +40721,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40841
40721
|
return /*#__PURE__*/jsxRuntime_1(SkeletonRoot, _extends({
|
|
40842
40722
|
as: component,
|
|
40843
40723
|
ref: ref,
|
|
40844
|
-
className: clsx
|
|
40724
|
+
className: clsx(classes.root, className),
|
|
40845
40725
|
ownerState: ownerState
|
|
40846
40726
|
}, other, {
|
|
40847
40727
|
style: _extends({
|
|
@@ -40920,7 +40800,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40920
40800
|
open
|
|
40921
40801
|
} = props;
|
|
40922
40802
|
const utilityClasses = {
|
|
40923
|
-
offset: clsx
|
|
40803
|
+
offset: clsx(open && sliderClasses$1.valueLabelOpen),
|
|
40924
40804
|
circle: sliderClasses$1.valueLabelCircle,
|
|
40925
40805
|
label: sliderClasses$1.valueLabelLabel
|
|
40926
40806
|
};
|
|
@@ -40941,10 +40821,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40941
40821
|
return null;
|
|
40942
40822
|
}
|
|
40943
40823
|
return /*#__PURE__*/React__namespace.cloneElement(children, {
|
|
40944
|
-
className: clsx
|
|
40824
|
+
className: clsx(children.props.className)
|
|
40945
40825
|
}, /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
40946
40826
|
children: [children.props.children, /*#__PURE__*/jsxRuntime_1("span", {
|
|
40947
|
-
className: clsx
|
|
40827
|
+
className: clsx(classes.offset, className),
|
|
40948
40828
|
"aria-hidden": true,
|
|
40949
40829
|
children: /*#__PURE__*/jsxRuntime_1("span", {
|
|
40950
40830
|
className: classes.circle,
|
|
@@ -41547,7 +41427,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41547
41427
|
markActive
|
|
41548
41428
|
}, {
|
|
41549
41429
|
style: _extends({}, style, markProps.style),
|
|
41550
|
-
className: clsx
|
|
41430
|
+
className: clsx(markProps.className, markActive && classes.markActive)
|
|
41551
41431
|
})), mark.label != null ? /*#__PURE__*/jsxRuntime_1(MarkLabelSlot, _extends({
|
|
41552
41432
|
"aria-hidden": true,
|
|
41553
41433
|
"data-index": index
|
|
@@ -41555,7 +41435,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41555
41435
|
markLabelActive: markActive
|
|
41556
41436
|
}, {
|
|
41557
41437
|
style: _extends({}, style, markLabelProps.style),
|
|
41558
|
-
className: clsx
|
|
41438
|
+
className: clsx(classes.markLabel, markLabelProps.className, markActive && classes.markLabelActive),
|
|
41559
41439
|
children: mark.label
|
|
41560
41440
|
})) : null]
|
|
41561
41441
|
}, index);
|
|
@@ -41577,7 +41457,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41577
41457
|
children: /*#__PURE__*/jsxRuntime_1(ThumbSlot, _extends({
|
|
41578
41458
|
"data-index": index
|
|
41579
41459
|
}, thumbProps, {
|
|
41580
|
-
className: clsx
|
|
41460
|
+
className: clsx(classes.thumb, thumbProps.className, active === index && classes.active, focusedThumbIndex === index && classes.focusVisible),
|
|
41581
41461
|
style: _extends({}, style, getThumbStyle(index), thumbProps.style),
|
|
41582
41462
|
children: /*#__PURE__*/jsxRuntime_1(InputSlot, _extends({
|
|
41583
41463
|
"data-index": index,
|
|
@@ -41947,7 +41827,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41947
41827
|
role: role,
|
|
41948
41828
|
square: true,
|
|
41949
41829
|
elevation: 6,
|
|
41950
|
-
className: clsx
|
|
41830
|
+
className: clsx(classes.root, className),
|
|
41951
41831
|
ownerState: ownerState,
|
|
41952
41832
|
ref: ref
|
|
41953
41833
|
}, other, {
|
|
@@ -42824,7 +42704,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
42824
42704
|
});
|
|
42825
42705
|
});
|
|
42826
42706
|
return /*#__PURE__*/jsxRuntime_2(SpeedDialRoot, _extends({
|
|
42827
|
-
className: clsx
|
|
42707
|
+
className: clsx(classes.root, className),
|
|
42828
42708
|
ref: ref,
|
|
42829
42709
|
role: "presentation",
|
|
42830
42710
|
onKeyDown: handleKeyDown,
|
|
@@ -42847,7 +42727,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
42847
42727
|
"aria-controls": `${id}-actions`
|
|
42848
42728
|
}, FabProps, {
|
|
42849
42729
|
onClick: handleClick,
|
|
42850
|
-
className: clsx
|
|
42730
|
+
className: clsx(classes.fab, FabProps.className),
|
|
42851
42731
|
ref: handleFabRef,
|
|
42852
42732
|
ownerState: ownerState,
|
|
42853
42733
|
children: /*#__PURE__*/React__namespace.isValidElement(icon) && isMuiElement(icon, ['SpeedDialIcon']) ? /*#__PURE__*/React__namespace.cloneElement(icon, {
|
|
@@ -42858,7 +42738,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
42858
42738
|
id: `${id}-actions`,
|
|
42859
42739
|
role: "menu",
|
|
42860
42740
|
"aria-orientation": getOrientation(direction),
|
|
42861
|
-
className: clsx
|
|
42741
|
+
className: clsx(classes.actions, !open && classes.actionsClosed),
|
|
42862
42742
|
ownerState: ownerState,
|
|
42863
42743
|
children: children
|
|
42864
42744
|
})]
|
|
@@ -43428,7 +43308,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
43428
43308
|
nameOrDescProps['aria-labelledby'] = open && !titleIsString ? id : null;
|
|
43429
43309
|
}
|
|
43430
43310
|
const childrenProps = _extends({}, nameOrDescProps, other, children.props, {
|
|
43431
|
-
className: clsx
|
|
43311
|
+
className: clsx(other.className, children.props.className),
|
|
43432
43312
|
onTouchStart: detectTouchStart,
|
|
43433
43313
|
ref: handleRef
|
|
43434
43314
|
}, followCursor ? {
|
|
@@ -43501,14 +43381,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
43501
43381
|
const TooltipComponent = (_ref4 = (_slots$tooltip = slots.tooltip) != null ? _slots$tooltip : components.Tooltip) != null ? _ref4 : TooltipTooltip;
|
|
43502
43382
|
const ArrowComponent = (_ref5 = (_slots$arrow = slots.arrow) != null ? _slots$arrow : components.Arrow) != null ? _ref5 : TooltipArrow;
|
|
43503
43383
|
const popperProps = appendOwnerState(PopperComponent, _extends({}, PopperProps, (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper, {
|
|
43504
|
-
className: clsx
|
|
43384
|
+
className: clsx(classes.popper, PopperProps == null ? void 0 : PopperProps.className, (_ref6 = (_slotProps$popper2 = slotProps.popper) != null ? _slotProps$popper2 : componentsProps.popper) == null ? void 0 : _ref6.className)
|
|
43505
43385
|
}), ownerState);
|
|
43506
43386
|
const transitionProps = appendOwnerState(TransitionComponent, _extends({}, TransitionProps, (_slotProps$transition = slotProps.transition) != null ? _slotProps$transition : componentsProps.transition), ownerState);
|
|
43507
43387
|
const tooltipProps = appendOwnerState(TooltipComponent, _extends({}, (_slotProps$tooltip = slotProps.tooltip) != null ? _slotProps$tooltip : componentsProps.tooltip, {
|
|
43508
|
-
className: clsx
|
|
43388
|
+
className: clsx(classes.tooltip, (_ref7 = (_slotProps$tooltip2 = slotProps.tooltip) != null ? _slotProps$tooltip2 : componentsProps.tooltip) == null ? void 0 : _ref7.className)
|
|
43509
43389
|
}), ownerState);
|
|
43510
43390
|
const tooltipArrowProps = appendOwnerState(ArrowComponent, _extends({}, (_slotProps$arrow = slotProps.arrow) != null ? _slotProps$arrow : componentsProps.arrow, {
|
|
43511
|
-
className: clsx
|
|
43391
|
+
className: clsx(classes.arrow, (_ref8 = (_slotProps$arrow2 = slotProps.arrow) != null ? _slotProps$arrow2 : componentsProps.arrow) == null ? void 0 : _ref8.className)
|
|
43512
43392
|
}), ownerState);
|
|
43513
43393
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
43514
43394
|
children: [/*#__PURE__*/React__namespace.cloneElement(children, childrenProps), /*#__PURE__*/jsxRuntime_1(PopperComponent, _extends({
|
|
@@ -43871,7 +43751,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
43871
43751
|
};
|
|
43872
43752
|
const fab = /*#__PURE__*/jsxRuntime_1(SpeedDialActionFab, _extends({
|
|
43873
43753
|
size: "small",
|
|
43874
|
-
className: clsx
|
|
43754
|
+
className: clsx(classes.fab, className),
|
|
43875
43755
|
tabIndex: -1,
|
|
43876
43756
|
role: "menuitem",
|
|
43877
43757
|
ownerState: ownerState
|
|
@@ -44065,7 +43945,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44065
43945
|
return icon;
|
|
44066
43946
|
}
|
|
44067
43947
|
return /*#__PURE__*/jsxRuntime_2(SpeedDialIconRoot, _extends({
|
|
44068
|
-
className: clsx
|
|
43948
|
+
className: clsx(classes.root, className),
|
|
44069
43949
|
ref: ref,
|
|
44070
43950
|
ownerState: ownerState
|
|
44071
43951
|
}, other, {
|
|
@@ -44232,7 +44112,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44232
44112
|
const classes = useUtilityClasses$n(ownerState);
|
|
44233
44113
|
const newChildren = /*#__PURE__*/jsxRuntime_2(StepRoot, _extends({
|
|
44234
44114
|
as: component,
|
|
44235
|
-
className: clsx
|
|
44115
|
+
className: clsx(classes.root, className),
|
|
44236
44116
|
ref: ref,
|
|
44237
44117
|
ownerState: ownerState
|
|
44238
44118
|
}, other, {
|
|
@@ -44384,7 +44264,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44384
44264
|
});
|
|
44385
44265
|
const classes = useUtilityClasses$m(ownerState);
|
|
44386
44266
|
if (typeof icon === 'number' || typeof icon === 'string') {
|
|
44387
|
-
const className = clsx
|
|
44267
|
+
const className = clsx(classNameProp, classes.root);
|
|
44388
44268
|
if (error) {
|
|
44389
44269
|
return /*#__PURE__*/jsxRuntime_1(StepIconRoot, _extends({
|
|
44390
44270
|
as: Warning,
|
|
@@ -44607,7 +44487,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44607
44487
|
const classes = useUtilityClasses$l(ownerState);
|
|
44608
44488
|
const labelSlotProps = (_slotProps$label = slotProps.label) != null ? _slotProps$label : componentsProps.label;
|
|
44609
44489
|
return /*#__PURE__*/jsxRuntime_2(StepLabelRoot, _extends({
|
|
44610
|
-
className: clsx
|
|
44490
|
+
className: clsx(classes.root, className),
|
|
44611
44491
|
ref: ref,
|
|
44612
44492
|
ownerState: ownerState
|
|
44613
44493
|
}, other, {
|
|
@@ -44626,7 +44506,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44626
44506
|
children: [children ? /*#__PURE__*/jsxRuntime_1(StepLabelLabel, _extends({
|
|
44627
44507
|
ownerState: ownerState
|
|
44628
44508
|
}, labelSlotProps, {
|
|
44629
|
-
className: clsx
|
|
44509
|
+
className: clsx(classes.label, labelSlotProps == null ? void 0 : labelSlotProps.className),
|
|
44630
44510
|
children: children
|
|
44631
44511
|
})) : null, optional]
|
|
44632
44512
|
})]
|
|
@@ -44773,7 +44653,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44773
44653
|
TouchRippleProps: {
|
|
44774
44654
|
className: classes.touchRipple
|
|
44775
44655
|
},
|
|
44776
|
-
className: clsx
|
|
44656
|
+
className: clsx(classes.root, className),
|
|
44777
44657
|
ref: ref,
|
|
44778
44658
|
ownerState: ownerState,
|
|
44779
44659
|
"aria-current": active ? 'step' : undefined
|
|
@@ -44909,7 +44789,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44909
44789
|
});
|
|
44910
44790
|
const classes = useUtilityClasses$j(ownerState);
|
|
44911
44791
|
return /*#__PURE__*/jsxRuntime_1(StepConnectorRoot, _extends({
|
|
44912
|
-
className: clsx
|
|
44792
|
+
className: clsx(classes.root, className),
|
|
44913
44793
|
ref: ref,
|
|
44914
44794
|
ownerState: ownerState
|
|
44915
44795
|
}, other, {
|
|
@@ -45019,7 +44899,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
45019
44899
|
transitionDuration = undefined;
|
|
45020
44900
|
}
|
|
45021
44901
|
return /*#__PURE__*/jsxRuntime_1(StepContentRoot, _extends({
|
|
45022
|
-
className: clsx
|
|
44902
|
+
className: clsx(classes.root, className),
|
|
45023
44903
|
ref: ref,
|
|
45024
44904
|
ownerState: ownerState
|
|
45025
44905
|
}, other, {
|
|
@@ -45163,7 +45043,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
45163
45043
|
children: /*#__PURE__*/jsxRuntime_1(StepperRoot, _extends({
|
|
45164
45044
|
as: component,
|
|
45165
45045
|
ownerState: ownerState,
|
|
45166
|
-
className: clsx
|
|
45046
|
+
className: clsx(classes.root, className),
|
|
45167
45047
|
ref: ref
|
|
45168
45048
|
}, other, {
|
|
45169
45049
|
children: steps
|
|
@@ -45264,7 +45144,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
45264
45144
|
other = _objectWithoutPropertiesLoose(props, _excluded$l);
|
|
45265
45145
|
const ownerState = props;
|
|
45266
45146
|
return /*#__PURE__*/jsxRuntime_1(SwipeAreaRoot, _extends({
|
|
45267
|
-
className: clsx
|
|
45147
|
+
className: clsx('PrivateSwipeArea-root', classes.root, classes[`anchor${capitalize(anchor)}`], className),
|
|
45268
45148
|
ref: ref,
|
|
45269
45149
|
style: _extends({
|
|
45270
45150
|
[isHorizontal(anchor) ? 'width' : 'height']: width
|
|
@@ -46069,7 +45949,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46069
45949
|
ownerState: ownerState
|
|
46070
45950
|
});
|
|
46071
45951
|
return /*#__PURE__*/jsxRuntime_2(SwitchRoot, {
|
|
46072
|
-
className: clsx
|
|
45952
|
+
className: clsx(classes.root, className),
|
|
46073
45953
|
sx: sx,
|
|
46074
45954
|
ownerState: ownerState,
|
|
46075
45955
|
children: [/*#__PURE__*/jsxRuntime_1(SwitchSwitchBase, _extends({
|
|
@@ -46323,7 +46203,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46323
46203
|
});
|
|
46324
46204
|
const classes = useUtilityClasses$f(ownerState);
|
|
46325
46205
|
const icon = iconProp && label && /*#__PURE__*/React__namespace.isValidElement(iconProp) ? /*#__PURE__*/React__namespace.cloneElement(iconProp, {
|
|
46326
|
-
className: clsx
|
|
46206
|
+
className: clsx(classes.iconWrapper, iconProp.props.className)
|
|
46327
46207
|
}) : iconProp;
|
|
46328
46208
|
const handleClick = event => {
|
|
46329
46209
|
if (!selected && onChange) {
|
|
@@ -46343,7 +46223,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46343
46223
|
};
|
|
46344
46224
|
return /*#__PURE__*/jsxRuntime_2(TabRoot, _extends({
|
|
46345
46225
|
focusRipple: !disableFocusRipple,
|
|
46346
|
-
className: clsx
|
|
46226
|
+
className: clsx(classes.root, className),
|
|
46347
46227
|
ref: ref,
|
|
46348
46228
|
role: "tab",
|
|
46349
46229
|
"aria-selected": selected,
|
|
@@ -46522,7 +46402,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46522
46402
|
as: component,
|
|
46523
46403
|
role: component === defaultComponent$4 ? null : 'table',
|
|
46524
46404
|
ref: ref,
|
|
46525
|
-
className: clsx
|
|
46405
|
+
className: clsx(classes.root, className),
|
|
46526
46406
|
ownerState: ownerState
|
|
46527
46407
|
}, other))
|
|
46528
46408
|
});
|
|
@@ -46626,7 +46506,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46626
46506
|
return /*#__PURE__*/jsxRuntime_1(Tablelvl2Context$1.Provider, {
|
|
46627
46507
|
value: tablelvl2$2,
|
|
46628
46508
|
children: /*#__PURE__*/jsxRuntime_1(TableBodyRoot, _extends({
|
|
46629
|
-
className: clsx
|
|
46509
|
+
className: clsx(classes.root, className),
|
|
46630
46510
|
as: component,
|
|
46631
46511
|
ref: ref,
|
|
46632
46512
|
role: component === defaultComponent$3 ? null : 'rowgroup',
|
|
@@ -46802,7 +46682,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46802
46682
|
return /*#__PURE__*/jsxRuntime_1(TableCellRoot, _extends({
|
|
46803
46683
|
as: component,
|
|
46804
46684
|
ref: ref,
|
|
46805
|
-
className: clsx
|
|
46685
|
+
className: clsx(classes.root, className),
|
|
46806
46686
|
"aria-sort": ariaSort,
|
|
46807
46687
|
scope: scope,
|
|
46808
46688
|
ownerState: ownerState
|
|
@@ -46909,7 +46789,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46909
46789
|
return /*#__PURE__*/jsxRuntime_1(TableContainerRoot, _extends({
|
|
46910
46790
|
ref: ref,
|
|
46911
46791
|
as: component,
|
|
46912
|
-
className: clsx
|
|
46792
|
+
className: clsx(classes.root, className),
|
|
46913
46793
|
ownerState: ownerState
|
|
46914
46794
|
}, other));
|
|
46915
46795
|
});
|
|
@@ -46987,7 +46867,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46987
46867
|
value: tablelvl2$1,
|
|
46988
46868
|
children: /*#__PURE__*/jsxRuntime_1(TableFooterRoot, _extends({
|
|
46989
46869
|
as: component,
|
|
46990
|
-
className: clsx
|
|
46870
|
+
className: clsx(classes.root, className),
|
|
46991
46871
|
ref: ref,
|
|
46992
46872
|
role: component === defaultComponent$2 ? null : 'rowgroup',
|
|
46993
46873
|
ownerState: ownerState
|
|
@@ -47068,7 +46948,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47068
46948
|
value: tablelvl2,
|
|
47069
46949
|
children: /*#__PURE__*/jsxRuntime_1(TableHeadRoot, _extends({
|
|
47070
46950
|
as: component,
|
|
47071
|
-
className: clsx
|
|
46951
|
+
className: clsx(classes.root, className),
|
|
47072
46952
|
ref: ref,
|
|
47073
46953
|
role: component === defaultComponent$1 ? null : 'rowgroup',
|
|
47074
46954
|
ownerState: ownerState
|
|
@@ -47171,7 +47051,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47171
47051
|
const classes = useUtilityClasses$8(ownerState);
|
|
47172
47052
|
return /*#__PURE__*/jsxRuntime_1(ToolbarRoot, _extends({
|
|
47173
47053
|
as: component,
|
|
47174
|
-
className: clsx
|
|
47054
|
+
className: clsx(classes.root, className),
|
|
47175
47055
|
ref: ref,
|
|
47176
47056
|
ownerState: ownerState
|
|
47177
47057
|
}, other));
|
|
@@ -47511,7 +47391,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47511
47391
|
ref: ref,
|
|
47512
47392
|
as: component,
|
|
47513
47393
|
ownerState: ownerState,
|
|
47514
|
-
className: clsx
|
|
47394
|
+
className: clsx(classes.root, className)
|
|
47515
47395
|
}, other, {
|
|
47516
47396
|
children: /*#__PURE__*/jsxRuntime_2(TablePaginationToolbar, {
|
|
47517
47397
|
className: classes.toolbar,
|
|
@@ -47533,10 +47413,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47533
47413
|
}, SelectProps, {
|
|
47534
47414
|
classes: _extends({}, SelectProps.classes, {
|
|
47535
47415
|
// TODO v5 remove `classes.input`
|
|
47536
|
-
root: clsx
|
|
47537
|
-
select: clsx
|
|
47416
|
+
root: clsx(classes.input, classes.selectRoot, (SelectProps.classes || {}).root),
|
|
47417
|
+
select: clsx(classes.select, (SelectProps.classes || {}).select),
|
|
47538
47418
|
// TODO v5 remove `selectIcon`
|
|
47539
|
-
icon: clsx
|
|
47419
|
+
icon: clsx(classes.selectIcon, (SelectProps.classes || {}).icon)
|
|
47540
47420
|
}),
|
|
47541
47421
|
children: rowsPerPageOptions.map(rowsPerPageOption => /*#__PURE__*/React.createElement(MenuItemComponent, _extends({}, !isHostComponent(MenuItemComponent) && {
|
|
47542
47422
|
ownerState
|
|
@@ -47784,7 +47664,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47784
47664
|
return /*#__PURE__*/jsxRuntime_1(TableRowRoot, _extends({
|
|
47785
47665
|
as: component,
|
|
47786
47666
|
ref: ref,
|
|
47787
|
-
className: clsx
|
|
47667
|
+
className: clsx(classes.root, className),
|
|
47788
47668
|
role: component === defaultComponent ? null : 'row',
|
|
47789
47669
|
ownerState: ownerState
|
|
47790
47670
|
}, other));
|
|
@@ -47937,7 +47817,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47937
47817
|
});
|
|
47938
47818
|
const classes = useUtilityClasses$5(ownerState);
|
|
47939
47819
|
return /*#__PURE__*/jsxRuntime_2(TableSortLabelRoot, _extends({
|
|
47940
|
-
className: clsx
|
|
47820
|
+
className: clsx(classes.root, className),
|
|
47941
47821
|
component: "span",
|
|
47942
47822
|
disableRipple: true,
|
|
47943
47823
|
ownerState: ownerState,
|
|
@@ -47945,7 +47825,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47945
47825
|
}, other, {
|
|
47946
47826
|
children: [children, hideSortIcon && !active ? null : /*#__PURE__*/jsxRuntime_1(TableSortLabelIcon, {
|
|
47947
47827
|
as: IconComponent,
|
|
47948
|
-
className: clsx
|
|
47828
|
+
className: clsx(classes.icon),
|
|
47949
47829
|
ownerState: ownerState
|
|
47950
47830
|
})]
|
|
47951
47831
|
}));
|
|
@@ -48168,7 +48048,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
48168
48048
|
});
|
|
48169
48049
|
return /*#__PURE__*/jsxRuntime_1(TabScrollButtonRoot, _extends({
|
|
48170
48050
|
component: "div",
|
|
48171
|
-
className: clsx
|
|
48051
|
+
className: clsx(classes.root, className),
|
|
48172
48052
|
ref: ref,
|
|
48173
48053
|
role: null,
|
|
48174
48054
|
ownerState: ownerState,
|
|
@@ -48646,7 +48526,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
48646
48526
|
const conditionalElements = {};
|
|
48647
48527
|
conditionalElements.scrollbarSizeListener = scrollable ? /*#__PURE__*/jsxRuntime_1(TabsScrollbarSize, {
|
|
48648
48528
|
onChange: handleScrollbarSizeChange,
|
|
48649
|
-
className: clsx
|
|
48529
|
+
className: clsx(classes.scrollableX, classes.hideScrollbar)
|
|
48650
48530
|
}) : null;
|
|
48651
48531
|
const scrollButtonsActive = displayStartScroll || displayEndScroll;
|
|
48652
48532
|
const showScrollButtons = scrollable && (scrollButtons === 'auto' && scrollButtonsActive || scrollButtons === true);
|
|
@@ -48662,7 +48542,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
48662
48542
|
onClick: handleStartScrollClick,
|
|
48663
48543
|
disabled: !displayStartScroll
|
|
48664
48544
|
}, TabScrollButtonProps, {
|
|
48665
|
-
className: clsx
|
|
48545
|
+
className: clsx(classes.scrollButtons, TabScrollButtonProps.className)
|
|
48666
48546
|
})) : null;
|
|
48667
48547
|
conditionalElements.scrollButtonEnd = showScrollButtons ? /*#__PURE__*/jsxRuntime_1(ScrollButtonComponent, _extends({
|
|
48668
48548
|
slots: {
|
|
@@ -48676,7 +48556,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
48676
48556
|
onClick: handleEndScrollClick,
|
|
48677
48557
|
disabled: !displayEndScroll
|
|
48678
48558
|
}, TabScrollButtonProps, {
|
|
48679
|
-
className: clsx
|
|
48559
|
+
className: clsx(classes.scrollButtons, TabScrollButtonProps.className)
|
|
48680
48560
|
})) : null;
|
|
48681
48561
|
return conditionalElements;
|
|
48682
48562
|
};
|
|
@@ -48783,7 +48663,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
48783
48663
|
updateScrollButtons: updateScrollButtonState
|
|
48784
48664
|
}), [updateIndicatorState, updateScrollButtonState]);
|
|
48785
48665
|
const indicator = /*#__PURE__*/jsxRuntime_1(TabsIndicator, _extends({}, TabIndicatorProps, {
|
|
48786
|
-
className: clsx
|
|
48666
|
+
className: clsx(classes.indicator, TabIndicatorProps.className),
|
|
48787
48667
|
ownerState: ownerState,
|
|
48788
48668
|
style: _extends({}, indicatorStyle, TabIndicatorProps.style)
|
|
48789
48669
|
}));
|
|
@@ -48851,7 +48731,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
48851
48731
|
};
|
|
48852
48732
|
const conditionalElements = getConditionalElements();
|
|
48853
48733
|
return /*#__PURE__*/jsxRuntime_2(TabsRoot, _extends({
|
|
48854
|
-
className: clsx
|
|
48734
|
+
className: clsx(classes.root, className),
|
|
48855
48735
|
ownerState: ownerState,
|
|
48856
48736
|
ref: ref,
|
|
48857
48737
|
as: component
|
|
@@ -49035,7 +48915,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49035
48915
|
const textFieldClasses = generateUtilityClasses('MuiTextField', ['root']);
|
|
49036
48916
|
var textFieldClasses$1 = textFieldClasses;
|
|
49037
48917
|
|
|
49038
|
-
const _excluded$3 = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "
|
|
48918
|
+
const _excluded$3 = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"];
|
|
49039
48919
|
const variantComponent = {
|
|
49040
48920
|
standard: Input$1,
|
|
49041
48921
|
filled: FilledInput$1,
|
|
@@ -49117,7 +48997,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49117
48997
|
name,
|
|
49118
48998
|
onBlur,
|
|
49119
48999
|
onChange,
|
|
49120
|
-
onClick,
|
|
49121
49000
|
onFocus,
|
|
49122
49001
|
placeholder,
|
|
49123
49002
|
required = false,
|
|
@@ -49182,12 +49061,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49182
49061
|
onBlur: onBlur,
|
|
49183
49062
|
onChange: onChange,
|
|
49184
49063
|
onFocus: onFocus,
|
|
49185
|
-
onClick: onClick,
|
|
49186
49064
|
placeholder: placeholder,
|
|
49187
49065
|
inputProps: inputProps
|
|
49188
49066
|
}, InputMore, InputProps));
|
|
49189
49067
|
return /*#__PURE__*/jsxRuntime_2(TextFieldRoot, _extends({
|
|
49190
|
-
className: clsx
|
|
49068
|
+
className: clsx(classes.root, className),
|
|
49191
49069
|
disabled: disabled,
|
|
49192
49070
|
error: error,
|
|
49193
49071
|
fullWidth: fullWidth,
|
|
@@ -49341,10 +49219,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49341
49219
|
* You can pull out the new value by accessing `event.target.value` (string).
|
|
49342
49220
|
*/
|
|
49343
49221
|
onChange: PropTypes.func,
|
|
49344
|
-
/**
|
|
49345
|
-
* @ignore
|
|
49346
|
-
*/
|
|
49347
|
-
onClick: PropTypes.func,
|
|
49348
49222
|
/**
|
|
49349
49223
|
* @ignore
|
|
49350
49224
|
*/
|
|
@@ -49514,7 +49388,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49514
49388
|
}
|
|
49515
49389
|
};
|
|
49516
49390
|
return /*#__PURE__*/jsxRuntime_1(ToggleButtonRoot, _extends({
|
|
49517
|
-
className: clsx
|
|
49391
|
+
className: clsx(classes.root, className),
|
|
49518
49392
|
disabled: disabled,
|
|
49519
49393
|
focusRipple: !disableFocusRipple,
|
|
49520
49394
|
ref: ref,
|
|
@@ -49745,7 +49619,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49745
49619
|
};
|
|
49746
49620
|
return /*#__PURE__*/jsxRuntime_1(ToggleButtonGroupRoot, _extends({
|
|
49747
49621
|
role: "group",
|
|
49748
|
-
className: clsx
|
|
49622
|
+
className: clsx(classes.root, className),
|
|
49749
49623
|
ref: ref,
|
|
49750
49624
|
ownerState: ownerState
|
|
49751
49625
|
}, other, {
|
|
@@ -49759,7 +49633,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49759
49633
|
}
|
|
49760
49634
|
}
|
|
49761
49635
|
return /*#__PURE__*/React__namespace.cloneElement(child, {
|
|
49762
|
-
className: clsx
|
|
49636
|
+
className: clsx(classes.grouped, child.props.className),
|
|
49763
49637
|
onChange: exclusive ? handleExclusiveChange : handleChange,
|
|
49764
49638
|
selected: child.props.selected === undefined ? isValueSelected(child.props.value, value) : child.props.selected,
|
|
49765
49639
|
size: child.props.size || size,
|
|
@@ -50175,6 +50049,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
50175
50049
|
exports.getMenuItemUtilityClass = getMenuItemUtilityClass;
|
|
50176
50050
|
exports.getMenuUtilityClass = getMenuUtilityClass;
|
|
50177
50051
|
exports.getMobileStepperUtilityClass = getMobileStepperUtilityClass;
|
|
50052
|
+
exports.getModalUtilityClass = getModalUtilityClass;
|
|
50178
50053
|
exports.getNativeSelectUtilityClasses = getNativeSelectUtilityClasses;
|
|
50179
50054
|
exports.getOffsetLeft = getOffsetLeft;
|
|
50180
50055
|
exports.getOffsetTop = getOffsetTop;
|
|
@@ -50253,7 +50128,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
50253
50128
|
exports.menuClasses = menuClasses$1;
|
|
50254
50129
|
exports.menuItemClasses = menuItemClasses$1;
|
|
50255
50130
|
exports.mobileStepperClasses = mobileStepperClasses$1;
|
|
50256
|
-
exports.modalClasses = modalClasses;
|
|
50131
|
+
exports.modalClasses = modalClasses$1;
|
|
50257
50132
|
exports.nativeSelectClasses = nativeSelectClasses$1;
|
|
50258
50133
|
exports.outlinedInputClasses = outlinedInputClasses$1;
|
|
50259
50134
|
exports.ownerDocument = ownerDocument;
|