@mui/material 5.2.3 → 5.2.4
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 +54 -54
- package/Avatar/Avatar.d.ts +1 -1
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Badge/Badge.js +16 -3
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +76 -76
- 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 +72 -0
- 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 +18 -18
- package/Chip/chipClasses.d.ts +80 -80
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +22 -22
- package/CssBaseline/CssBaseline.d.ts +1 -1
- 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/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
- package/FormGroup/formGroupClasses.d.ts +10 -10
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/GlobalStyles/GlobalStyles.d.ts +2 -1
- package/Grid/Grid.js +74 -66
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +26 -26
- 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 +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.d.ts +6 -0
- package/InputBase/InputBase.js +10 -2
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/ListItem.d.ts +1 -1
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/ListItemButton.d.ts +1 -1
- 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/MenuItem.d.ts +1 -1
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/OutlinedInput.js +14 -1
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- 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 +17 -17
- 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/SelectInput.js +11 -3
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +24 -24
- 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/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/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- 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.js +2 -9
- 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/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Badge/Badge.js +18 -4
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Grid/Grid.js +84 -78
- package/legacy/InputBase/InputBase.js +10 -2
- package/legacy/OutlinedInput/OutlinedInput.js +14 -1
- package/legacy/Select/SelectInput.js +11 -5
- package/legacy/TextField/TextField.js +2 -9
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +66 -66
- package/modern/Badge/Badge.js +16 -3
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Grid/Grid.js +74 -66
- package/modern/InputBase/InputBase.js +10 -2
- package/modern/OutlinedInput/OutlinedInput.js +14 -1
- package/modern/Select/SelectInput.js +11 -3
- package/modern/TextField/TextField.js +2 -7
- package/modern/index.js +1 -1
- package/node/Badge/Badge.js +16 -3
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Grid/Grid.js +75 -65
- package/node/InputBase/InputBase.js +10 -2
- package/node/OutlinedInput/OutlinedInput.js +15 -1
- package/node/Select/SelectInput.js +11 -3
- package/node/TextField/TextField.js +1 -8
- package/node/index.js +1 -1
- package/package.json +3 -3
- package/styles/createTheme.d.ts +1 -1
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -14
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +160 -114
- package/umd/material-ui.production.min.js +21 -21
- package/useMediaQuery/useMediaQuery.d.ts +27 -27
- 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,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.2.
|
|
1
|
+
/** @license MUI v5.2.4
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -661,7 +661,7 @@
|
|
|
661
661
|
return StyleSheet;
|
|
662
662
|
}();
|
|
663
663
|
|
|
664
|
-
var e="-ms-";var r="-moz-";var a="-webkit-";var c="comm";var n="rule";var t="decl";var i="@import";var p="@keyframes";var k=Math.abs;var d=String.fromCharCode;function m(e,r){return (((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function
|
|
664
|
+
var e="-ms-";var r="-moz-";var a="-webkit-";var c="comm";var n="rule";var t="decl";var i="@import";var p="@keyframes";var k=Math.abs;var d=String.fromCharCode;var g=Object.assign;function m(e,r){return (((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function x$1(e){return e.trim()}function y(e,r){return (e=r.exec(e))?e[0]:e}function j(e,r,a){return e.replace(r,a)}function C(e,r){return e.indexOf(r)}function z(e,r){return e.charCodeAt(r)|0}function A(e,r,a){return e.slice(r,a)}function O(e){return e.length}function M(e){return e.length}function S(e,r){return r.push(e),e}function q(e,r){return e.map(r).join("")}var B=1;var D=1;var E=0;var F=0;var G=0;var H="";function I(e,r,a,c,n,t,s){return {value:e,root:r,parent:a,type:c,props:n,children:t,line:B,column:D,length:s,return:""}}function J(e,r){return g(I("",null,null,"",null,null,0),e,{length:-e.length},r)}function K(){return G}function L(){G=F>0?z(H,--F):0;if(D--,G===10)D=1,B--;return G}function N(){G=F<E?z(H,F++):0;if(D++,G===10)D=1,B++;return G}function P(){return z(H,F)}function Q(){return F}function R(e,r){return A(H,e,r)}function T(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 U(e){return B=D=1,E=O(H=e),F=0,[]}function V(e){return H="",e}function W(e){return x$1(R(F-1,ee(e===91?e+2:e===40?e+1:e)))}function Y(e){while(G=P())if(G<33)N();else break;return T(e)>2||T(G)>3?"":" "}function _$4(e,r){while(--r&&N())if(G<48||G>102||G>57&&G<65||G>70&&G<97)break;return R(e,Q()+(r<6&&P()==32&&N()==32))}function ee(e){while(N())switch(G){case e:return F;case 34:case 39:if(e!==34&&e!==39)ee(G);break;case 40:if(e===41)ee(e);break;case 92:N();break}return F}function re(e,r){while(N())if(e+G===47+10)break;else if(e+G===42+42&&P()===47)break;return "/*"+R(r,F-1)+"*"+d(e===47?e:N())}function ae(e){while(!T(P()))N();return R(e,F)}function ce(e){return V(ne("",null,null,null,[""],e=U(e),0,[0],e))}function ne(e,r,a,c,n,t,s,u,i){var f=0;var o=0;var l=s;var v=0;var h=0;var p=0;var b=1;var w=1;var $=1;var k=0;var g="";var m=n;var x=t;var y=c;var z=g;while(w)switch(p=k,k=N()){case 40:if(p!=108&&z.charCodeAt(l-1)==58){if(C(z+=j(W(k),"&","&\f"),"&\f")!=-1)$=-1;break}case 34:case 39:case 91:z+=W(k);break;case 9:case 10:case 13:case 32:z+=Y(p);break;case 92:z+=_$4(Q()-1,7);continue;case 47:switch(P()){case 42:case 47:S(se(re(N(),Q()),r,a),i);break;default:z+="/";}break;case 123*b:u[f++]=O(z)*$;case 125*b:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+o:if(h>0&&O(z)-l)S(h>32?ue(z+";",c,a,l-1):ue(j(z," ","")+";",c,a,l-2),i);break;case 59:z+=";";default:S(y=te(z,r,a,f,o,n,u,g,m=[],x=[],l),t);if(k===123)if(o===0)ne(z,r,y,y,m,t,l,u,x);else switch(v){case 100:case 109:case 115:ne(e,y,y,c&&S(te(e,y,y,0,0,n,u,g,n,m=[],l),x),n,x,l,u,c?m:x);break;default:ne(z,y,y,y,[""],x,0,u,x);}}f=o=h=0,b=$=1,g=z="",l=s;break;case 58:l=1+O(z),h=p;default:if(b<1)if(k==123)--b;else if(k==125&&b++==0&&L()==125)continue;switch(z+=d(k),k*b){case 38:$=o>0?1:(z+="\f",-1);break;case 44:u[f++]=(O(z)-1)*$,$=1;break;case 64:if(P()===45)z+=W(N());v=P(),o=l=O(g=z+=ae(Q())),k++;break;case 45:if(p===45&&O(z)==2)b=0;}}return t}function te(e,r,a,c,t,s,u,i,f,o,l){var v=t-1;var h=t===0?s:[""];var p=M(h);for(var b=0,w=0,$=0;b<c;++b)for(var d=0,g=A(e,v+1,v=k(w=u[b])),m=e;d<p;++d)if(m=x$1(w>0?h[d]+" "+g:j(g,/&\f/g,h[d])))f[$++]=m;return I(e,r,a,t===0?n:i,f,o,l)}function se(e,r,a){return I(e,r,a,c,d(K()),A(e,2,-2),0)}function ue(e,r,a,c){return I(e,r,a,t,A(e,0,c),A(e,c+1,-1),c)}function ie(c,n){switch(m(c,n)){case 5103:return a+"print-"+c+c;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return a+c+r+c+e+c+c;case 6828:case 4268:return a+c+e+c+c;case 6165:return a+c+e+"flex-"+c+c;case 5187:return a+c+j(c,/(\w+).+(:[^]+)/,a+"box-$1$2"+e+"flex-$1$2")+c;case 5443:return a+c+e+"flex-item-"+j(c,/flex-|-self/,"")+c;case 4675:return a+c+e+"flex-line-pack"+j(c,/align-content|flex-|-self/,"")+c;case 5548:return a+c+e+j(c,"shrink","negative")+c;case 5292:return a+c+e+j(c,"basis","preferred-size")+c;case 6060:return a+"box-"+j(c,"-grow","")+a+c+e+j(c,"grow","positive")+c;case 4554:return a+j(c,/([^-])(transform)/g,"$1"+a+"$2")+c;case 6187:return j(j(j(c,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),c,"")+c;case 5495:case 3959:return j(c,/(image-set\([^]*)/,a+"$1"+"$`$1");case 4968:return j(j(c,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+c+c;case 4095:case 3583:case 4068:case 2532:return j(c,/(.+)-inline(.+)/,a+"$1$2")+c;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(O(c)-1-n>6)switch(z(c,n+1)){case 109:if(z(c,n+4)!==45)break;case 102:return j(c,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3"+"$1"+r+(z(c,n+3)==108?"$3":"$2-$3"))+c;case 115:return ~C(c,"stretch")?ie(j(c,"stretch","fill-available"),n)+c:c}break;case 4949:if(z(c,n+1)!==115)break;case 6444:switch(z(c,O(c)-3-(~C(c,"!important")&&10))){case 107:return j(c,":",":"+a)+c;case 101:return j(c,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(z(c,14)===45?"inline-":"")+"box$3"+"$1"+a+"$2$3"+"$1"+e+"$2box$3")+c}break;case 5936:switch(z(c,n+11)){case 114:return a+c+e+j(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return a+c+e+j(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return a+c+e+j(c,/[svh]\w+-[tblr]{2}/,"lr")+c}return a+c+e+c+c}return c}function fe(e,r){var a="";var c=M(e);for(var n=0;n<c;n++)a+=r(e[n],n,e,r)||"";return a}function oe(e,r,a,s){switch(e.type){case i:case t:return e.return=e.return||e.value;case c:return "";case p:return e.return=e.value+"{"+fe(e.children,s)+"}";case n:e.value=e.props.join(",");}return O(a=fe(e.children,s))?e.return=e.value+"{"+a+"}":""}function le(e){var r=M(e);return function(a,c,n,t){var s="";for(var u=0;u<r;u++)s+=e[u](a,c,n,t)||"";return s}}function he(c,s,u,i){if(c.length>-1)if(!c.return)switch(c.type){case t:c.return=ie(c.value,c.length);break;case p:return fe([J(c,{value:j(c.value,"@","@"+a)})],i);case n:if(c.length)return q(c.props,(function(n){switch(y(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fe([J(c,{props:[j(n,/:(read-\w+)/,":"+r+"$1")]})],i);case"::placeholder":return fe([J(c,{props:[j(n,/:(plac\w+)/,":"+a+"input-$1")]}),J(c,{props:[j(n,/:(plac\w+)/,":"+r+"$1")]}),J(c,{props:[j(n,/:(plac\w+)/,e+"input-$1")]})],i)}return ""}))}}
|
|
665
665
|
|
|
666
666
|
var weakMemoize = function weakMemoize(func) {
|
|
667
667
|
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
|
|
@@ -689,20 +689,20 @@
|
|
|
689
689
|
|
|
690
690
|
while (true) {
|
|
691
691
|
previous = character;
|
|
692
|
-
character =
|
|
692
|
+
character = P(); // &\f
|
|
693
693
|
|
|
694
694
|
if (previous === 38 && character === 12) {
|
|
695
695
|
points[index] = 1;
|
|
696
696
|
}
|
|
697
697
|
|
|
698
|
-
if (
|
|
698
|
+
if (T(character)) {
|
|
699
699
|
break;
|
|
700
700
|
}
|
|
701
701
|
|
|
702
|
-
|
|
702
|
+
N();
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
return
|
|
705
|
+
return R(begin, F);
|
|
706
706
|
};
|
|
707
707
|
|
|
708
708
|
var toRules = function toRules(parsed, points) {
|
|
@@ -711,10 +711,10 @@
|
|
|
711
711
|
var character = 44;
|
|
712
712
|
|
|
713
713
|
do {
|
|
714
|
-
switch (
|
|
714
|
+
switch (T(character)) {
|
|
715
715
|
case 0:
|
|
716
716
|
// &\f
|
|
717
|
-
if (character === 38 &&
|
|
717
|
+
if (character === 38 && P() === 12) {
|
|
718
718
|
// this is not 100% correct, we don't account for literal sequences here - like for example quoted strings
|
|
719
719
|
// stylis inserts \f after & to know when & where it should replace this sequence with the context selector
|
|
720
720
|
// and when it should just concatenate the outer and inner selectors
|
|
@@ -722,18 +722,18 @@
|
|
|
722
722
|
points[index] = 1;
|
|
723
723
|
}
|
|
724
724
|
|
|
725
|
-
parsed[index] += identifierWithPointTracking(
|
|
725
|
+
parsed[index] += identifierWithPointTracking(F - 1, points, index);
|
|
726
726
|
break;
|
|
727
727
|
|
|
728
728
|
case 2:
|
|
729
|
-
parsed[index] +=
|
|
729
|
+
parsed[index] += W(character);
|
|
730
730
|
break;
|
|
731
731
|
|
|
732
732
|
case 4:
|
|
733
733
|
// comma
|
|
734
734
|
if (character === 44) {
|
|
735
735
|
// colon
|
|
736
|
-
parsed[++index] =
|
|
736
|
+
parsed[++index] = P() === 58 ? '&\f' : '';
|
|
737
737
|
points[index] = parsed[index].length;
|
|
738
738
|
break;
|
|
739
739
|
}
|
|
@@ -743,13 +743,13 @@
|
|
|
743
743
|
default:
|
|
744
744
|
parsed[index] += d(character);
|
|
745
745
|
}
|
|
746
|
-
} while (character =
|
|
746
|
+
} while (character = N());
|
|
747
747
|
|
|
748
748
|
return parsed;
|
|
749
749
|
};
|
|
750
750
|
|
|
751
751
|
var getRules = function getRules(value, points) {
|
|
752
|
-
return
|
|
752
|
+
return V(toRules(U(value), points));
|
|
753
753
|
}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11
|
|
754
754
|
|
|
755
755
|
|
|
@@ -879,7 +879,7 @@
|
|
|
879
879
|
};
|
|
880
880
|
});
|
|
881
881
|
});
|
|
882
|
-
var defaultStylisPlugins = [
|
|
882
|
+
var defaultStylisPlugins = [he];
|
|
883
883
|
|
|
884
884
|
var createCache = function createCache(options) {
|
|
885
885
|
var key = options.key;
|
|
@@ -955,7 +955,7 @@
|
|
|
955
955
|
|
|
956
956
|
if (isBrowser$4) {
|
|
957
957
|
var currentSheet;
|
|
958
|
-
var finalizingPlugins = [
|
|
958
|
+
var finalizingPlugins = [oe, function (element) {
|
|
959
959
|
if (!element.root) {
|
|
960
960
|
if (element["return"]) {
|
|
961
961
|
currentSheet.insert(element["return"]);
|
|
@@ -966,10 +966,10 @@
|
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
968
|
} ];
|
|
969
|
-
var serializer =
|
|
969
|
+
var serializer = le(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
|
|
970
970
|
|
|
971
971
|
var stylis = function stylis(styles) {
|
|
972
|
-
return
|
|
972
|
+
return fe(ce(styles), serializer);
|
|
973
973
|
};
|
|
974
974
|
|
|
975
975
|
_insert = function insert(selector, serialized, sheet, shouldCache) {
|
|
@@ -990,12 +990,12 @@
|
|
|
990
990
|
}
|
|
991
991
|
};
|
|
992
992
|
} else {
|
|
993
|
-
var _finalizingPlugins = [
|
|
993
|
+
var _finalizingPlugins = [oe];
|
|
994
994
|
|
|
995
|
-
var _serializer =
|
|
995
|
+
var _serializer = le(omnipresentPlugins.concat(stylisPlugins, _finalizingPlugins));
|
|
996
996
|
|
|
997
997
|
var _stylis = function _stylis(styles) {
|
|
998
|
-
return
|
|
998
|
+
return fe(ce(styles), _serializer);
|
|
999
999
|
}; // $FlowFixMe
|
|
1000
1000
|
|
|
1001
1001
|
|
|
@@ -6463,6 +6463,21 @@
|
|
|
6463
6463
|
return up(key);
|
|
6464
6464
|
}
|
|
6465
6465
|
|
|
6466
|
+
function not(key) {
|
|
6467
|
+
// handle first and last key separately, for better readability
|
|
6468
|
+
const keyIndex = keys.indexOf(key);
|
|
6469
|
+
|
|
6470
|
+
if (keyIndex === 0) {
|
|
6471
|
+
return up(keys[1]);
|
|
6472
|
+
}
|
|
6473
|
+
|
|
6474
|
+
if (keyIndex === keys.length - 1) {
|
|
6475
|
+
return down(keys[keyIndex]);
|
|
6476
|
+
}
|
|
6477
|
+
|
|
6478
|
+
return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');
|
|
6479
|
+
}
|
|
6480
|
+
|
|
6466
6481
|
return _extends({
|
|
6467
6482
|
keys,
|
|
6468
6483
|
values,
|
|
@@ -6470,6 +6485,7 @@
|
|
|
6470
6485
|
down,
|
|
6471
6486
|
between,
|
|
6472
6487
|
only,
|
|
6488
|
+
not,
|
|
6473
6489
|
unit
|
|
6474
6490
|
}, other);
|
|
6475
6491
|
}
|
|
@@ -8645,7 +8661,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8645
8661
|
},
|
|
8646
8662
|
classes: classesProp,
|
|
8647
8663
|
badgeContent: badgeContentProp,
|
|
8648
|
-
component
|
|
8664
|
+
component,
|
|
8649
8665
|
children,
|
|
8650
8666
|
className,
|
|
8651
8667
|
components = {},
|
|
@@ -8654,10 +8670,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8654
8670
|
max: maxProp = 99,
|
|
8655
8671
|
overlap: overlapProp = 'rectangular',
|
|
8656
8672
|
showZero = false,
|
|
8657
|
-
variant: variantProp = 'standard'
|
|
8658
|
-
|
|
8659
|
-
/* eslint-disable react/prop-types */
|
|
8660
|
-
theme
|
|
8673
|
+
variant: variantProp = 'standard'
|
|
8661
8674
|
} = props,
|
|
8662
8675
|
other = _objectWithoutPropertiesLoose(props, _excluded$2l);
|
|
8663
8676
|
|
|
@@ -8699,22 +8712,15 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8699
8712
|
}
|
|
8700
8713
|
|
|
8701
8714
|
const classes = useUtilityClasses$1S(ownerState);
|
|
8702
|
-
const Root = components.Root ||
|
|
8703
|
-
const rootProps = componentsProps.root
|
|
8715
|
+
const Root = component || components.Root || 'span';
|
|
8716
|
+
const rootProps = appendOwnerState(Root, _extends({}, other, componentsProps.root), ownerState);
|
|
8704
8717
|
const Badge = components.Badge || 'span';
|
|
8705
|
-
const badgeProps = componentsProps.badge
|
|
8706
|
-
return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps,
|
|
8707
|
-
as: component,
|
|
8708
|
-
ownerState: _extends({}, ownerState, rootProps.ownerState),
|
|
8709
|
-
theme
|
|
8710
|
-
}, {
|
|
8718
|
+
const badgeProps = appendOwnerState(Badge, componentsProps.badge, ownerState);
|
|
8719
|
+
return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, {
|
|
8711
8720
|
ref: ref
|
|
8712
8721
|
}, other, {
|
|
8713
8722
|
className: clsx(classes.root, rootProps.className, className),
|
|
8714
|
-
children: [children, /*#__PURE__*/jsxRuntime_1(Badge, _extends({}, badgeProps,
|
|
8715
|
-
ownerState: _extends({}, ownerState, badgeProps.ownerState),
|
|
8716
|
-
theme
|
|
8717
|
-
}, {
|
|
8723
|
+
children: [children, /*#__PURE__*/jsxRuntime_1(Badge, _extends({}, badgeProps, {
|
|
8718
8724
|
className: clsx(classes.badge, badgeProps.className),
|
|
8719
8725
|
children: displayValue
|
|
8720
8726
|
}))]
|
|
@@ -23758,7 +23764,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23758
23764
|
} ;
|
|
23759
23765
|
var Backdrop$1 = Backdrop;
|
|
23760
23766
|
|
|
23761
|
-
const _excluded$1K = ["components", "componentsProps", "color", "invisible", "badgeContent", "showZero", "variant"];
|
|
23767
|
+
const _excluded$1K = ["component", "components", "componentsProps", "color", "invisible", "badgeContent", "showZero", "variant"];
|
|
23762
23768
|
const badgeClasses = _extends({}, badgeUnstyledClasses$1, generateUtilityClasses('MuiBadge', ['colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning']));
|
|
23763
23769
|
const RADIUS_STANDARD = 10;
|
|
23764
23770
|
const RADIUS_DOT = 4;
|
|
@@ -23897,6 +23903,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23897
23903
|
duration: theme.transitions.duration.leavingScreen
|
|
23898
23904
|
})
|
|
23899
23905
|
}));
|
|
23906
|
+
|
|
23907
|
+
const shouldSpreadAdditionalProps = Slot => {
|
|
23908
|
+
return !Slot || !isHostComponent(Slot);
|
|
23909
|
+
};
|
|
23910
|
+
|
|
23900
23911
|
const Badge = /*#__PURE__*/React__namespace.forwardRef(function Badge(inProps, ref) {
|
|
23901
23912
|
var _componentsProps$root, _componentsProps$badg;
|
|
23902
23913
|
|
|
@@ -23906,6 +23917,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23906
23917
|
});
|
|
23907
23918
|
|
|
23908
23919
|
const {
|
|
23920
|
+
component = 'span',
|
|
23909
23921
|
components = {},
|
|
23910
23922
|
componentsProps = {},
|
|
23911
23923
|
color: colorProp = 'default',
|
|
@@ -23946,12 +23958,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23946
23958
|
Badge: BadgeBadge
|
|
23947
23959
|
}, components),
|
|
23948
23960
|
componentsProps: {
|
|
23949
|
-
root: _extends({}, componentsProps.root, (
|
|
23961
|
+
root: _extends({}, componentsProps.root, shouldSpreadAdditionalProps(components.Root) && {
|
|
23962
|
+
as: component,
|
|
23950
23963
|
ownerState: _extends({}, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState, {
|
|
23951
23964
|
color
|
|
23952
23965
|
})
|
|
23953
23966
|
}),
|
|
23954
|
-
badge: _extends({}, componentsProps.badge, (
|
|
23967
|
+
badge: _extends({}, componentsProps.badge, shouldSpreadAdditionalProps(components.Badge) && {
|
|
23955
23968
|
ownerState: _extends({}, (_componentsProps$badg = componentsProps.badge) == null ? void 0 : _componentsProps$badg.ownerState, {
|
|
23956
23969
|
color
|
|
23957
23970
|
})
|
|
@@ -24004,6 +24017,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24004
24017
|
/* @typescript-to-proptypes-ignore */
|
|
24005
24018
|
.oneOfType([propTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), propTypes.string]),
|
|
24006
24019
|
|
|
24020
|
+
/**
|
|
24021
|
+
* The component used for the root node.
|
|
24022
|
+
* Either a string to use a HTML element or a component.
|
|
24023
|
+
*/
|
|
24024
|
+
component: propTypes.elementType,
|
|
24025
|
+
|
|
24007
24026
|
/**
|
|
24008
24027
|
* The components used for each slot inside the Badge.
|
|
24009
24028
|
* Either a string to use a HTML element or a component.
|
|
@@ -29527,7 +29546,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29527
29546
|
return obj.startAdornment;
|
|
29528
29547
|
}
|
|
29529
29548
|
|
|
29530
|
-
const _excluded$1k = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "startAdornment", "type", "value"];
|
|
29549
|
+
const _excluded$1k = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "startAdornment", "type", "value"];
|
|
29531
29550
|
const rootOverridesResolver = (props, styles) => {
|
|
29532
29551
|
const {
|
|
29533
29552
|
ownerState
|
|
@@ -29728,6 +29747,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29728
29747
|
componentsProps = {},
|
|
29729
29748
|
defaultValue,
|
|
29730
29749
|
disabled,
|
|
29750
|
+
disableInjectingGlobalStyles,
|
|
29731
29751
|
endAdornment,
|
|
29732
29752
|
fullWidth = false,
|
|
29733
29753
|
id,
|
|
@@ -29958,7 +29978,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29958
29978
|
const Input = components.Input || InputBaseComponent;
|
|
29959
29979
|
inputProps = _extends({}, inputProps, componentsProps.input);
|
|
29960
29980
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
29961
|
-
children: [inputGlobalStyles, /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, !isHostComponent(Root) && {
|
|
29981
|
+
children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, !isHostComponent(Root) && {
|
|
29962
29982
|
ownerState: _extends({}, ownerState, rootProps.ownerState)
|
|
29963
29983
|
}, {
|
|
29964
29984
|
ref: ref,
|
|
@@ -30072,6 +30092,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30072
30092
|
*/
|
|
30073
30093
|
disabled: propTypes.bool,
|
|
30074
30094
|
|
|
30095
|
+
/**
|
|
30096
|
+
* If `true`, GlobalStyles for the auto-fill keyframes will not be injected/removed on mount/unmount. Make sure to inject them at the top of your application.
|
|
30097
|
+
* This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.
|
|
30098
|
+
* @default false
|
|
30099
|
+
*/
|
|
30100
|
+
disableInjectingGlobalStyles: propTypes.bool,
|
|
30101
|
+
|
|
30075
30102
|
/**
|
|
30076
30103
|
* End `InputAdornment` for this component.
|
|
30077
30104
|
*/
|
|
@@ -31651,69 +31678,84 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
31651
31678
|
return `${parse}${String(val).replace(String(parse), '') || 'px'}`;
|
|
31652
31679
|
}
|
|
31653
31680
|
|
|
31654
|
-
function generateGrid(
|
|
31655
|
-
|
|
31681
|
+
function generateGrid({
|
|
31682
|
+
theme,
|
|
31683
|
+
ownerState
|
|
31684
|
+
}) {
|
|
31685
|
+
let size;
|
|
31686
|
+
return theme.breakpoints.keys.reduce((globalStyles, breakpoint) => {
|
|
31687
|
+
// Use side effect over immutability for better performance.
|
|
31688
|
+
let styles = {};
|
|
31656
31689
|
|
|
31657
|
-
|
|
31658
|
-
|
|
31659
|
-
|
|
31690
|
+
if (ownerState[breakpoint]) {
|
|
31691
|
+
size = ownerState[breakpoint];
|
|
31692
|
+
}
|
|
31660
31693
|
|
|
31661
|
-
|
|
31694
|
+
if (!size) {
|
|
31695
|
+
return globalStyles;
|
|
31696
|
+
}
|
|
31662
31697
|
|
|
31663
|
-
|
|
31664
|
-
|
|
31665
|
-
|
|
31666
|
-
|
|
31667
|
-
|
|
31668
|
-
|
|
31669
|
-
|
|
31670
|
-
|
|
31671
|
-
|
|
31672
|
-
|
|
31673
|
-
|
|
31674
|
-
|
|
31675
|
-
|
|
31676
|
-
|
|
31677
|
-
|
|
31678
|
-
|
|
31679
|
-
|
|
31680
|
-
|
|
31681
|
-
|
|
31682
|
-
|
|
31683
|
-
|
|
31698
|
+
if (size === true) {
|
|
31699
|
+
// For the auto layouting
|
|
31700
|
+
styles = {
|
|
31701
|
+
flexBasis: 0,
|
|
31702
|
+
flexGrow: 1,
|
|
31703
|
+
maxWidth: '100%'
|
|
31704
|
+
};
|
|
31705
|
+
} else if (size === 'auto') {
|
|
31706
|
+
styles = {
|
|
31707
|
+
flexBasis: 'auto',
|
|
31708
|
+
flexGrow: 0,
|
|
31709
|
+
flexShrink: 0,
|
|
31710
|
+
maxWidth: 'none',
|
|
31711
|
+
width: 'auto'
|
|
31712
|
+
};
|
|
31713
|
+
} else {
|
|
31714
|
+
const columnsBreakpointValues = resolveBreakpointValues({
|
|
31715
|
+
values: ownerState.columns,
|
|
31716
|
+
breakpoints: theme.breakpoints.values
|
|
31717
|
+
});
|
|
31718
|
+
const columnValue = typeof columnsBreakpointValues === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues;
|
|
31684
31719
|
|
|
31685
|
-
|
|
31686
|
-
|
|
31720
|
+
if (columnValue === undefined || columnValue === null) {
|
|
31721
|
+
return globalStyles;
|
|
31722
|
+
} // Keep 7 significant numbers.
|
|
31687
31723
|
|
|
31688
|
-
if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
|
|
31689
|
-
const themeSpacing = theme.spacing(ownerState.columnSpacing);
|
|
31690
31724
|
|
|
31691
|
-
|
|
31692
|
-
|
|
31693
|
-
more = {
|
|
31694
|
-
flexBasis: fullWidth,
|
|
31695
|
-
maxWidth: fullWidth
|
|
31696
|
-
};
|
|
31697
|
-
}
|
|
31698
|
-
} // Close to the bootstrap implementation:
|
|
31699
|
-
// https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41
|
|
31725
|
+
const width = `${Math.round(size / columnValue * 10e7) / 10e5}%`;
|
|
31726
|
+
let more = {};
|
|
31700
31727
|
|
|
31728
|
+
if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
|
|
31729
|
+
const themeSpacing = theme.spacing(ownerState.columnSpacing);
|
|
31701
31730
|
|
|
31702
|
-
|
|
31703
|
-
|
|
31704
|
-
|
|
31705
|
-
|
|
31706
|
-
|
|
31707
|
-
|
|
31731
|
+
if (themeSpacing !== '0px') {
|
|
31732
|
+
const fullWidth = `calc(${width} + ${getOffset(themeSpacing)})`;
|
|
31733
|
+
more = {
|
|
31734
|
+
flexBasis: fullWidth,
|
|
31735
|
+
maxWidth: fullWidth
|
|
31736
|
+
};
|
|
31737
|
+
}
|
|
31738
|
+
} // Close to the bootstrap implementation:
|
|
31739
|
+
// https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41
|
|
31708
31740
|
|
|
31709
31741
|
|
|
31710
|
-
|
|
31711
|
-
|
|
31712
|
-
|
|
31713
|
-
|
|
31714
|
-
|
|
31715
|
-
|
|
31742
|
+
styles = _extends({
|
|
31743
|
+
flexBasis: width,
|
|
31744
|
+
flexGrow: 0,
|
|
31745
|
+
maxWidth: width
|
|
31746
|
+
}, more);
|
|
31747
|
+
} // No need for a media query for the first size.
|
|
31716
31748
|
|
|
31749
|
+
|
|
31750
|
+
if (theme.breakpoints.values[breakpoint] === 0) {
|
|
31751
|
+
Object.assign(globalStyles, styles);
|
|
31752
|
+
} else {
|
|
31753
|
+
globalStyles[theme.breakpoints.up(breakpoint)] = styles;
|
|
31754
|
+
}
|
|
31755
|
+
|
|
31756
|
+
return globalStyles;
|
|
31757
|
+
}, {});
|
|
31758
|
+
}
|
|
31717
31759
|
function generateDirection({
|
|
31718
31760
|
theme,
|
|
31719
31761
|
ownerState
|
|
@@ -31872,14 +31914,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
31872
31914
|
flexWrap: 'nowrap'
|
|
31873
31915
|
}, ownerState.wrap === 'reverse' && {
|
|
31874
31916
|
flexWrap: 'wrap-reverse'
|
|
31875
|
-
}), generateDirection, generateRowGap, generateColumnGap,
|
|
31876
|
-
theme,
|
|
31877
|
-
ownerState
|
|
31878
|
-
}) => theme.breakpoints.keys.reduce((globalStyles, breakpoint) => {
|
|
31879
|
-
// Use side effect over immutability for better performance.
|
|
31880
|
-
generateGrid(globalStyles, theme, breakpoint, ownerState);
|
|
31881
|
-
return globalStyles;
|
|
31882
|
-
}, {}));
|
|
31917
|
+
}), generateDirection, generateRowGap, generateColumnGap, generateGrid);
|
|
31883
31918
|
|
|
31884
31919
|
const useUtilityClasses$_ = ownerState => {
|
|
31885
31920
|
const {
|
|
@@ -38556,6 +38591,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38556
38591
|
paddingRight: 0
|
|
38557
38592
|
}));
|
|
38558
38593
|
const OutlinedInput = /*#__PURE__*/React__namespace.forwardRef(function OutlinedInput(inProps, ref) {
|
|
38594
|
+
var _React$Fragment;
|
|
38595
|
+
|
|
38559
38596
|
const props = useThemeProps({
|
|
38560
38597
|
props: inProps,
|
|
38561
38598
|
name: 'MuiOutlinedInput'
|
|
@@ -38573,6 +38610,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38573
38610
|
other = _objectWithoutPropertiesLoose(props, _excluded$M);
|
|
38574
38611
|
|
|
38575
38612
|
const classes = useUtilityClasses$C(props);
|
|
38613
|
+
const muiFormControl = useFormControl();
|
|
38614
|
+
const fcs = formControlState({
|
|
38615
|
+
props,
|
|
38616
|
+
muiFormControl,
|
|
38617
|
+
states: ['required']
|
|
38618
|
+
});
|
|
38576
38619
|
return /*#__PURE__*/jsxRuntime_1(InputBase$1, _extends({
|
|
38577
38620
|
components: _extends({
|
|
38578
38621
|
Root: OutlinedInputRoot,
|
|
@@ -38580,7 +38623,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38580
38623
|
}, components),
|
|
38581
38624
|
renderSuffix: state => /*#__PURE__*/jsxRuntime_1(NotchedOutlineRoot, {
|
|
38582
38625
|
className: classes.notchedOutline,
|
|
38583
|
-
label: label,
|
|
38626
|
+
label: label && fcs.required ? _React$Fragment || (_React$Fragment = /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
38627
|
+
children: [label, "\xA0", '*']
|
|
38628
|
+
})) : label,
|
|
38584
38629
|
notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)
|
|
38585
38630
|
}),
|
|
38586
38631
|
fullWidth: fullWidth,
|
|
@@ -41174,10 +41219,18 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41174
41219
|
|
|
41175
41220
|
if (computeDisplay) {
|
|
41176
41221
|
if (multiple) {
|
|
41177
|
-
if (
|
|
41178
|
-
display =
|
|
41222
|
+
if (displayMultiple.length === 0) {
|
|
41223
|
+
display = null;
|
|
41179
41224
|
} else {
|
|
41180
|
-
display = displayMultiple.reduce((
|
|
41225
|
+
display = displayMultiple.reduce((output, child, index) => {
|
|
41226
|
+
output.push(child);
|
|
41227
|
+
|
|
41228
|
+
if (index < displayMultiple.length - 1) {
|
|
41229
|
+
output.push(', ');
|
|
41230
|
+
}
|
|
41231
|
+
|
|
41232
|
+
return output;
|
|
41233
|
+
}, []);
|
|
41181
41234
|
}
|
|
41182
41235
|
} else {
|
|
41183
41236
|
display = displaySingle;
|
|
@@ -50779,14 +50832,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50779
50832
|
InputMore.notched = InputLabelProps.shrink;
|
|
50780
50833
|
}
|
|
50781
50834
|
|
|
50782
|
-
|
|
50783
|
-
var _InputLabelProps$requ;
|
|
50784
|
-
|
|
50785
|
-
const displayRequired = (_InputLabelProps$requ = InputLabelProps == null ? void 0 : InputLabelProps.required) != null ? _InputLabelProps$requ : required;
|
|
50786
|
-
InputMore.label = /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
50787
|
-
children: [label, displayRequired && '\u00a0*']
|
|
50788
|
-
});
|
|
50789
|
-
}
|
|
50835
|
+
InputMore.label = label;
|
|
50790
50836
|
}
|
|
50791
50837
|
|
|
50792
50838
|
if (select) {
|