@cgi-learning-hub/ui 0.0.1-dev.1708424596 → 0.0.1-dev.1708424719
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Button-8coRSZ3M.cjs +1 -0
- package/dist/Button-BJMp7Tz3.js +355 -0
- package/dist/ButtonBase-DfYGPVje.js +892 -0
- package/dist/ButtonBase-xIJbOm-V.cjs +75 -0
- package/dist/Input-DS9hzPC3.js +322 -0
- package/dist/Input-DWEaLJ-2.cjs +1 -0
- package/dist/InputBase-B31rEvBe.js +854 -0
- package/dist/InputBase-BuseI3Oe.cjs +4 -0
- package/dist/components/AnotherComponent/AnotherComponent.cjs.js +1 -1
- package/dist/components/AnotherComponent/AnotherComponent.es.js +7 -6
- package/dist/components/AnotherComponent/AnotherComponent.stories.d.ts +1 -1
- package/dist/components/BasicButtons/BasicButtons.cjs.js +1 -98
- package/dist/components/BasicButtons/BasicButtons.es.js +103 -1897
- package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -0
- package/dist/components/buttons/DefaultButton/DefaultButton.d.ts +12 -0
- package/dist/components/buttons/DefaultButton/DefaultButton.es.js +47 -0
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -0
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.d.ts +9 -0
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +143 -0
- package/dist/components/buttons/DefaultButton/index.cjs.js +1 -0
- package/dist/components/buttons/DefaultButton/index.d.ts +2 -0
- package/dist/components/buttons/DefaultButton/index.es.js +4 -0
- package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -0
- package/dist/components/buttons/PrimaryButton/PrimaryButton.d.ts +5 -0
- package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +11 -0
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -0
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.d.ts +4 -0
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +24 -0
- package/dist/components/buttons/PrimaryButton/index.cjs.js +1 -0
- package/dist/components/buttons/PrimaryButton/index.d.ts +2 -0
- package/dist/components/buttons/PrimaryButton/index.es.js +4 -0
- package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -0
- package/dist/components/buttons/SecondaryButton/SecondaryButton.d.ts +5 -0
- package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +11 -0
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -0
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.d.ts +4 -0
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +24 -0
- package/dist/components/buttons/SecondaryButton/index.cjs.js +1 -0
- package/dist/components/buttons/SecondaryButton/index.d.ts +2 -0
- package/dist/components/buttons/SecondaryButton/index.es.js +4 -0
- package/dist/components/buttons/index.cjs.js +1 -0
- package/dist/components/buttons/index.d.ts +3 -0
- package/dist/components/buttons/index.es.js +8 -0
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.es.js +14 -4
- package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -0
- package/dist/components/inputs/SearchInput/SearchInput.d.ts +5 -0
- package/dist/components/inputs/SearchInput/SearchInput.es.js +345 -0
- package/dist/components/inputs/SearchInput/index.cjs.js +1 -0
- package/dist/components/inputs/SearchInput/index.d.ts +2 -0
- package/dist/components/inputs/SearchInput/index.es.js +4 -0
- package/dist/components/inputs/TextInput/TextInput.cjs.js +14 -0
- package/dist/components/inputs/TextInput/TextInput.d.ts +5 -0
- package/dist/components/inputs/TextInput/TextInput.es.js +5577 -0
- package/dist/components/inputs/TextInput/index.cjs.js +1 -0
- package/dist/components/inputs/TextInput/index.d.ts +2 -0
- package/dist/components/inputs/TextInput/index.es.js +4 -0
- package/dist/components/inputs/index.cjs.js +1 -0
- package/dist/components/inputs/index.d.ts +2 -0
- package/dist/components/inputs/index.es.js +6 -0
- package/dist/createSvgIcon-BPyRt0N5.js +182 -0
- package/dist/createSvgIcon-Cz9hf1Fl.cjs +1 -0
- package/dist/extendSxProp-DzGZiKZk.js +29 -0
- package/dist/extendSxProp-LEI89AMt.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +14 -4
- package/dist/useForkRef-C0Hk1SEc.js +44 -0
- package/dist/useForkRef-YQvz-OME.cjs +1 -0
- package/dist/useTheme-BzgwMQvX.cjs +1 -0
- package/dist/useTheme-D1_U7jx5.js +65 -0
- package/dist/useThemeProps-Aqe6oH65.cjs +65 -0
- package/dist/useThemeProps-Dkkbtzcg.js +2696 -0
- package/package.json +3 -1
- package/dist/useTheme-CEi3JABy.cjs +0 -42
- package/dist/useTheme-DVWKQU4F.js +0 -2235
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";const e=require("./useThemeProps-Aqe6oH65.cjs"),y=require("react"),O=require("react/jsx-runtime"),N=require("./useTheme-BzgwMQvX.cjs"),re=require("@emotion/react"),Y=require("./useForkRef-YQvz-OME.cjs");function _e(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,u.get?u:{enumerable:!0,get:()=>t[r]})}}return n.default=t,Object.freeze(n)}const c=_e(y);let G=!0,ne=!1;const Ue=new N.Timeout,$e={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Ie(t){const{type:n,tagName:r}=t;return!!(r==="INPUT"&&$e[n]&&!t.readOnly||r==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function Ke(t){t.metaKey||t.altKey||t.ctrlKey||(G=!0)}function te(){G=!1}function qe(){this.visibilityState==="hidden"&&ne&&(G=!0)}function ze(t){t.addEventListener("keydown",Ke,!0),t.addEventListener("mousedown",te,!0),t.addEventListener("pointerdown",te,!0),t.addEventListener("touchstart",te,!0),t.addEventListener("visibilitychange",qe,!0)}function Ae(t){const{target:n}=t;try{return n.matches(":focus-visible")}catch{}return G||Ie(n)}function Xe(){const t=c.useCallback(o=>{o!=null&&ze(o.ownerDocument)},[]),n=c.useRef(!1);function r(){return n.current?(ne=!0,Ue.start(100,()=>{ne=!1}),n.current=!1,!0):!1}function u(o){return Ae(o)?(n.current=!0,!0):!1}return{isFocusVisibleRef:n,onFocus:u,onBlur:r,ref:t}}function We(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function se(t,n){var r=function(s){return n&&y.isValidElement(s)?n(s):s},u=Object.create(null);return t&&y.Children.map(t,function(o){return o}).forEach(function(o){u[o.key]=r(o)}),u}function Ye(t,n){t=t||{},n=n||{};function r(h){return h in n?n[h]:t[h]}var u=Object.create(null),o=[];for(var s in t)s in n?o.length&&(u[s]=o,o=[]):o.push(s);var i,p={};for(var a in n){if(u[a])for(i=0;i<u[a].length;i++){var f=u[a][i];p[u[a][i]]=r(f)}p[a]=r(a)}for(i=0;i<o.length;i++)p[o[i]]=r(o[i]);return p}function j(t,n,r){return r[n]!=null?r[n]:t.props[n]}function Ge(t,n){return se(t.children,function(r){return y.cloneElement(r,{onExited:n.bind(null,r),in:!0,appear:j(r,"appear",t),enter:j(r,"enter",t),exit:j(r,"exit",t)})})}function He(t,n,r){var u=se(t.children),o=Ye(n,u);return Object.keys(o).forEach(function(s){var i=o[s];if(y.isValidElement(i)){var p=s in n,a=s in u,f=n[s],h=y.isValidElement(f)&&!f.props.in;a&&(!p||h)?o[s]=y.cloneElement(i,{onExited:r.bind(null,i),in:!0,exit:j(i,"exit",t),enter:j(i,"enter",t)}):!a&&p&&!h?o[s]=y.cloneElement(i,{in:!1}):a&&p&&y.isValidElement(f)&&(o[s]=y.cloneElement(i,{onExited:r.bind(null,i),in:f.props.in,exit:j(i,"exit",t),enter:j(i,"enter",t)}))}}),o}var Je=Object.values||function(t){return Object.keys(t).map(function(n){return t[n]})},Qe={component:"div",childFactory:function(n){return n}},ie=function(t){N._inheritsLoose(n,t);function n(u,o){var s;s=t.call(this,u,o)||this;var i=s.handleExited.bind(We(s));return s.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},s}var r=n.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(o,s){var i=s.children,p=s.handleExited,a=s.firstRender;return{children:a?Ge(o,p):He(o,i,p),firstRender:!1}},r.handleExited=function(o,s){var i=se(this.props.children);o.key in i||(o.props.onExited&&o.props.onExited(s),this.mounted&&this.setState(function(p){var a=e._extends({},p.children);return delete a[o.key],{children:a}}))},r.render=function(){var o=this.props,s=o.component,i=o.childFactory,p=e._objectWithoutPropertiesLoose(o,["component","childFactory"]),a=this.state.contextValue,f=Je(this.state.children).map(i);return delete p.appear,delete p.enter,delete p.exit,s===null?y.createElement(N.TransitionGroupContext.Provider,{value:a},f):y.createElement(N.TransitionGroupContext.Provider,{value:a},y.createElement(s,p,f))},n}(y.Component);ie.propTypes=process.env.NODE_ENV!=="production"?{component:e.PropTypes.any,children:e.PropTypes.node,appear:e.PropTypes.bool,enter:e.PropTypes.bool,exit:e.PropTypes.bool,childFactory:e.PropTypes.func}:{};ie.defaultProps=Qe;const Ze=ie;function me(t){const{className:n,classes:r,pulsate:u=!1,rippleX:o,rippleY:s,rippleSize:i,in:p,onExited:a,timeout:f}=t,[h,g]=c.useState(!1),T=e.clsx(n,r.ripple,r.rippleVisible,u&&r.ripplePulsate),C={width:i,height:i,top:-(i/2)+s,left:-(i/2)+o},m=e.clsx(r.child,h&&r.childLeaving,u&&r.childPulsate);return!p&&!h&&g(!0),c.useEffect(()=>{if(!p&&a!=null){const R=setTimeout(a,f);return()=>{clearTimeout(R)}}},[a,p,f]),O.jsx("span",{className:T,style:C,children:O.jsx("span",{className:m})})}process.env.NODE_ENV!=="production"&&(me.propTypes={classes:e.PropTypes.object.isRequired,className:e.PropTypes.string,in:e.PropTypes.bool,onExited:e.PropTypes.func,pulsate:e.PropTypes.bool,rippleSize:e.PropTypes.number,rippleX:e.PropTypes.number,rippleY:e.PropTypes.number,timeout:e.PropTypes.number.isRequired});const b=e.generateUtilityClasses("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),et=["center","classes","className"];let H=t=>t,pe,fe,de,he;const oe=550,tt=80,nt=re.keyframes(pe||(pe=H`
|
|
2
|
+
0% {
|
|
3
|
+
transform: scale(0);
|
|
4
|
+
opacity: 0.1;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
100% {
|
|
8
|
+
transform: scale(1);
|
|
9
|
+
opacity: 0.3;
|
|
10
|
+
}
|
|
11
|
+
`)),ot=re.keyframes(fe||(fe=H`
|
|
12
|
+
0% {
|
|
13
|
+
opacity: 1;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
100% {
|
|
17
|
+
opacity: 0;
|
|
18
|
+
}
|
|
19
|
+
`)),rt=re.keyframes(de||(de=H`
|
|
20
|
+
0% {
|
|
21
|
+
transform: scale(1);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
50% {
|
|
25
|
+
transform: scale(0.92);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
100% {
|
|
29
|
+
transform: scale(1);
|
|
30
|
+
}
|
|
31
|
+
`)),st=e.styled("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),it=e.styled(me,{name:"MuiTouchRipple",slot:"Ripple"})(he||(he=H`
|
|
32
|
+
opacity: 0;
|
|
33
|
+
position: absolute;
|
|
34
|
+
|
|
35
|
+
&.${0} {
|
|
36
|
+
opacity: 0.3;
|
|
37
|
+
transform: scale(1);
|
|
38
|
+
animation-name: ${0};
|
|
39
|
+
animation-duration: ${0}ms;
|
|
40
|
+
animation-timing-function: ${0};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.${0} {
|
|
44
|
+
animation-duration: ${0}ms;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
& .${0} {
|
|
48
|
+
opacity: 1;
|
|
49
|
+
display: block;
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 100%;
|
|
52
|
+
border-radius: 50%;
|
|
53
|
+
background-color: currentColor;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
& .${0} {
|
|
57
|
+
opacity: 0;
|
|
58
|
+
animation-name: ${0};
|
|
59
|
+
animation-duration: ${0}ms;
|
|
60
|
+
animation-timing-function: ${0};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
& .${0} {
|
|
64
|
+
position: absolute;
|
|
65
|
+
/* @noflip */
|
|
66
|
+
left: 0px;
|
|
67
|
+
top: 0;
|
|
68
|
+
animation-name: ${0};
|
|
69
|
+
animation-duration: 2500ms;
|
|
70
|
+
animation-timing-function: ${0};
|
|
71
|
+
animation-iteration-count: infinite;
|
|
72
|
+
animation-delay: 200ms;
|
|
73
|
+
}
|
|
74
|
+
`),b.rippleVisible,nt,oe,({theme:t})=>t.transitions.easing.easeInOut,b.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,b.child,b.childLeaving,ot,oe,({theme:t})=>t.transitions.easing.easeInOut,b.childPulsate,rt,({theme:t})=>t.transitions.easing.easeInOut),ye=c.forwardRef(function(n,r){const u=e.useThemeProps({props:n,name:"MuiTouchRipple"}),{center:o=!1,classes:s={},className:i}=u,p=e._objectWithoutPropertiesLoose(u,et),[a,f]=c.useState([]),h=c.useRef(0),g=c.useRef(null);c.useEffect(()=>{g.current&&(g.current(),g.current=null)},[a]);const T=c.useRef(!1),C=N.useTimeout(),m=c.useRef(null),R=c.useRef(null),I=c.useCallback(d=>{const{pulsate:E,rippleX:x,rippleY:L,rippleSize:$,cb:q}=d;f(M=>[...M,O.jsx(it,{classes:{ripple:e.clsx(s.ripple,b.ripple),rippleVisible:e.clsx(s.rippleVisible,b.rippleVisible),ripplePulsate:e.clsx(s.ripplePulsate,b.ripplePulsate),child:e.clsx(s.child,b.child),childLeaving:e.clsx(s.childLeaving,b.childLeaving),childPulsate:e.clsx(s.childPulsate,b.childPulsate)},timeout:oe,pulsate:E,rippleX:x,rippleY:L,rippleSize:$},h.current)]),h.current+=1,g.current=q},[s]),_=c.useCallback((d={},E={},x=()=>{})=>{const{pulsate:L=!1,center:$=o||E.pulsate,fakeElement:q=!1}=E;if((d==null?void 0:d.type)==="mousedown"&&T.current){T.current=!1;return}(d==null?void 0:d.type)==="touchstart"&&(T.current=!0);const M=q?null:R.current,k=M?M.getBoundingClientRect():{width:0,height:0,left:0,top:0};let v,w,B;if($||d===void 0||d.clientX===0&&d.clientY===0||!d.clientX&&!d.touches)v=Math.round(k.width/2),w=Math.round(k.height/2);else{const{clientX:F,clientY:V}=d.touches&&d.touches.length>0?d.touches[0]:d;v=Math.round(F-k.left),w=Math.round(V-k.top)}if($)B=Math.sqrt((2*k.width**2+k.height**2)/3),B%2===0&&(B+=1);else{const F=Math.max(Math.abs((M?M.clientWidth:0)-v),v)*2+2,V=Math.max(Math.abs((M?M.clientHeight:0)-w),w)*2+2;B=Math.sqrt(F**2+V**2)}d!=null&&d.touches?m.current===null&&(m.current=()=>{I({pulsate:L,rippleX:v,rippleY:w,rippleSize:B,cb:x})},C.start(tt,()=>{m.current&&(m.current(),m.current=null)})):I({pulsate:L,rippleX:v,rippleY:w,rippleSize:B,cb:x})},[o,I,C]),K=c.useCallback(()=>{_({},{pulsate:!0})},[_]),U=c.useCallback((d,E)=>{if(C.clear(),(d==null?void 0:d.type)==="touchend"&&m.current){m.current(),m.current=null,C.start(0,()=>{U(d,E)});return}m.current=null,f(x=>x.length>0?x.slice(1):x),g.current=E},[C]);return c.useImperativeHandle(r,()=>({pulsate:K,start:_,stop:U}),[K,_,U]),O.jsx(st,e._extends({className:e.clsx(b.root,s.root,i),ref:R},p,{children:O.jsx(Ze,{component:null,exit:!0,children:a})}))});process.env.NODE_ENV!=="production"&&(ye.propTypes={center:e.PropTypes.bool,classes:e.PropTypes.object,className:e.PropTypes.string});const lt=ye;function ut(t){return e.generateUtilityClass("MuiButtonBase",t)}const at=e.generateUtilityClasses("MuiButtonBase",["root","disabled","focusVisible"]),ct=["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"],pt=t=>{const{disabled:n,focusVisible:r,focusVisibleClassName:u,classes:o}=t,s={root:["root",n&&"disabled",r&&"focusVisible"]},i=e.composeClasses(s,ut,o);return r&&u&&(i.root+=` ${u}`),i},ft=e.styled("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,n)=>n.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${at.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),be=c.forwardRef(function(n,r){const u=e.useThemeProps({props:n,name:"MuiButtonBase"}),{action:o,centerRipple:s=!1,children:i,className:p,component:a="button",disabled:f=!1,disableRipple:h=!1,disableTouchRipple:g=!1,focusRipple:T=!1,LinkComponent:C="a",onBlur:m,onClick:R,onContextMenu:I,onDragLeave:_,onFocus:K,onFocusVisible:U,onKeyDown:d,onKeyUp:E,onMouseDown:x,onMouseLeave:L,onMouseUp:$,onTouchEnd:q,onTouchMove:M,onTouchStart:k,tabIndex:v=0,TouchRippleProps:w,touchRippleRef:B,type:F}=u,V=e._objectWithoutPropertiesLoose(u,ct),z=c.useRef(null),P=c.useRef(null),Te=Y.useForkRef(P,B),{isFocusVisibleRef:le,onFocus:Pe,onBlur:ge,ref:Re}=Xe(),[S,X]=c.useState(!1);f&&S&&X(!1),c.useImperativeHandle(o,()=>({focusVisible:()=>{X(!0),z.current.focus()}}),[]);const[J,Ee]=c.useState(!1);c.useEffect(()=>{Ee(!0)},[]);const Q=J&&!h&&!f;c.useEffect(()=>{S&&T&&!h&&J&&P.current.pulsate()},[h,T,S,J]);function D(l,ae,Oe=g){return N.useEventCallback(ce=>(ae&&ae(ce),!Oe&&P.current&&P.current[l](ce),!0))}const xe=D("start",x),Me=D("stop",I),Ce=D("stop",_),ve=D("stop",$),Ve=D("stop",l=>{S&&l.preventDefault(),L&&L(l)}),De=D("start",k),Ne=D("stop",q),ke=D("stop",M),we=D("stop",l=>{ge(l),le.current===!1&&X(!1),m&&m(l)},!1),Be=N.useEventCallback(l=>{z.current||(z.current=l.currentTarget),Pe(l),le.current===!0&&(X(!0),U&&U(l)),K&&K(l)}),Z=()=>{const l=z.current;return a&&a!=="button"&&!(l.tagName==="A"&&l.href)},ee=c.useRef(!1),Le=N.useEventCallback(l=>{T&&!ee.current&&S&&P.current&&l.key===" "&&(ee.current=!0,P.current.stop(l,()=>{P.current.start(l)})),l.target===l.currentTarget&&Z()&&l.key===" "&&l.preventDefault(),d&&d(l),l.target===l.currentTarget&&Z()&&l.key==="Enter"&&!f&&(l.preventDefault(),R&&R(l))}),Fe=N.useEventCallback(l=>{T&&l.key===" "&&P.current&&S&&!l.defaultPrevented&&(ee.current=!1,P.current.stop(l,()=>{P.current.pulsate(l)})),E&&E(l),R&&l.target===l.currentTarget&&Z()&&l.key===" "&&!l.defaultPrevented&&R(l)});let W=a;W==="button"&&(V.href||V.to)&&(W=C);const A={};W==="button"?(A.type=F===void 0?"button":F,A.disabled=f):(!V.href&&!V.to&&(A.role="button"),f&&(A["aria-disabled"]=f));const Se=Y.useForkRef(r,Re,z);process.env.NODE_ENV!=="production"&&c.useEffect(()=>{Q&&!P.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
|
|
75
|
+
`))},[Q]);const ue=e._extends({},u,{centerRipple:s,component:a,disabled:f,disableRipple:h,disableTouchRipple:g,focusRipple:T,tabIndex:v,focusVisible:S}),je=pt(ue);return O.jsxs(ft,e._extends({as:W,className:e.clsx(je.root,p),ownerState:ue,onBlur:we,onClick:R,onContextMenu:Me,onFocus:Be,onKeyDown:Le,onKeyUp:Fe,onMouseDown:xe,onMouseLeave:Ve,onMouseUp:ve,onDragLeave:Ce,onTouchEnd:Ne,onTouchMove:ke,onTouchStart:De,ref:Se,tabIndex:f?-1:v,type:F},A,V,{children:[i,Q?O.jsx(lt,e._extends({ref:Te,center:s},w)):null]}))});process.env.NODE_ENV!=="production"&&(be.propTypes={action:Y.refType,centerRipple:e.PropTypes.bool,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:Y.elementTypeAcceptingRef,disabled:e.PropTypes.bool,disableRipple:e.PropTypes.bool,disableTouchRipple:e.PropTypes.bool,focusRipple:e.PropTypes.bool,focusVisibleClassName:e.PropTypes.string,href:e.PropTypes.any,LinkComponent:e.PropTypes.elementType,onBlur:e.PropTypes.func,onClick:e.PropTypes.func,onContextMenu:e.PropTypes.func,onDragLeave:e.PropTypes.func,onFocus:e.PropTypes.func,onFocusVisible:e.PropTypes.func,onKeyDown:e.PropTypes.func,onKeyUp:e.PropTypes.func,onMouseDown:e.PropTypes.func,onMouseLeave:e.PropTypes.func,onMouseUp:e.PropTypes.func,onTouchEnd:e.PropTypes.func,onTouchMove:e.PropTypes.func,onTouchStart:e.PropTypes.func,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),tabIndex:e.PropTypes.number,TouchRippleProps:e.PropTypes.object,touchRippleRef:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.shape({current:e.PropTypes.shape({pulsate:e.PropTypes.func.isRequired,start:e.PropTypes.func.isRequired,stop:e.PropTypes.func.isRequired})})]),type:e.PropTypes.oneOfType([e.PropTypes.oneOf(["button","reset","submit"]),e.PropTypes.string])});const dt=be;exports.ButtonBase=dt;
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
import { a, g as B, b as U, s as g, r as j, u as _, _ as w, c as M, P as o, e as S } from "./useThemeProps-Dkkbtzcg.js";
|
|
2
|
+
import * as W from "react";
|
|
3
|
+
import { i as E, I as F, r as N, a as X, b as A, c as L } from "./InputBase-B31rEvBe.js";
|
|
4
|
+
import { jsx as V } from "react/jsx-runtime";
|
|
5
|
+
import { r as k } from "./useForkRef-C0Hk1SEc.js";
|
|
6
|
+
function q(t) {
|
|
7
|
+
return U("MuiInput", t);
|
|
8
|
+
}
|
|
9
|
+
const D = a({}, E, B("MuiInput", ["root", "underline", "input"])), r = D, z = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"], G = (t) => {
|
|
10
|
+
const {
|
|
11
|
+
classes: e,
|
|
12
|
+
disableUnderline: s
|
|
13
|
+
} = t, i = S({
|
|
14
|
+
root: ["root", !s && "underline"],
|
|
15
|
+
input: ["input"]
|
|
16
|
+
}, q, e);
|
|
17
|
+
return a({}, e, i);
|
|
18
|
+
}, H = g(F, {
|
|
19
|
+
shouldForwardProp: (t) => j(t) || t === "classes",
|
|
20
|
+
name: "MuiInput",
|
|
21
|
+
slot: "Root",
|
|
22
|
+
overridesResolver: (t, e) => {
|
|
23
|
+
const {
|
|
24
|
+
ownerState: s
|
|
25
|
+
} = t;
|
|
26
|
+
return [...N(t, e), !s.disableUnderline && e.underline];
|
|
27
|
+
}
|
|
28
|
+
})(({
|
|
29
|
+
theme: t,
|
|
30
|
+
ownerState: e
|
|
31
|
+
}) => {
|
|
32
|
+
let n = t.palette.mode === "light" ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)";
|
|
33
|
+
return t.vars && (n = `rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`), a({
|
|
34
|
+
position: "relative"
|
|
35
|
+
}, e.formControl && {
|
|
36
|
+
"label + &": {
|
|
37
|
+
marginTop: 16
|
|
38
|
+
}
|
|
39
|
+
}, !e.disableUnderline && {
|
|
40
|
+
"&::after": {
|
|
41
|
+
borderBottom: `2px solid ${(t.vars || t).palette[e.color].main}`,
|
|
42
|
+
left: 0,
|
|
43
|
+
bottom: 0,
|
|
44
|
+
// Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
|
|
45
|
+
content: '""',
|
|
46
|
+
position: "absolute",
|
|
47
|
+
right: 0,
|
|
48
|
+
transform: "scaleX(0)",
|
|
49
|
+
transition: t.transitions.create("transform", {
|
|
50
|
+
duration: t.transitions.duration.shorter,
|
|
51
|
+
easing: t.transitions.easing.easeOut
|
|
52
|
+
}),
|
|
53
|
+
pointerEvents: "none"
|
|
54
|
+
// Transparent to the hover style.
|
|
55
|
+
},
|
|
56
|
+
[`&.${r.focused}:after`]: {
|
|
57
|
+
// translateX(0) is a workaround for Safari transform scale bug
|
|
58
|
+
// See https://github.com/mui/material-ui/issues/31766
|
|
59
|
+
transform: "scaleX(1) translateX(0)"
|
|
60
|
+
},
|
|
61
|
+
[`&.${r.error}`]: {
|
|
62
|
+
"&::before, &::after": {
|
|
63
|
+
borderBottomColor: (t.vars || t).palette.error.main
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"&::before": {
|
|
67
|
+
borderBottom: `1px solid ${n}`,
|
|
68
|
+
left: 0,
|
|
69
|
+
bottom: 0,
|
|
70
|
+
// Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
|
|
71
|
+
content: '"\\00a0"',
|
|
72
|
+
position: "absolute",
|
|
73
|
+
right: 0,
|
|
74
|
+
transition: t.transitions.create("border-bottom-color", {
|
|
75
|
+
duration: t.transitions.duration.shorter
|
|
76
|
+
}),
|
|
77
|
+
pointerEvents: "none"
|
|
78
|
+
// Transparent to the hover style.
|
|
79
|
+
},
|
|
80
|
+
[`&:hover:not(.${r.disabled}, .${r.error}):before`]: {
|
|
81
|
+
borderBottom: `2px solid ${(t.vars || t).palette.text.primary}`,
|
|
82
|
+
// Reset on touch devices, it doesn't add specificity
|
|
83
|
+
"@media (hover: none)": {
|
|
84
|
+
borderBottom: `1px solid ${n}`
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
[`&.${r.disabled}:before`]: {
|
|
88
|
+
borderBottomStyle: "dotted"
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
}), J = g(X, {
|
|
92
|
+
name: "MuiInput",
|
|
93
|
+
slot: "Input",
|
|
94
|
+
overridesResolver: A
|
|
95
|
+
})({}), u = /* @__PURE__ */ W.forwardRef(function(e, s) {
|
|
96
|
+
var n, i, d, c;
|
|
97
|
+
const p = _({
|
|
98
|
+
props: e,
|
|
99
|
+
name: "MuiInput"
|
|
100
|
+
}), {
|
|
101
|
+
disableUnderline: v,
|
|
102
|
+
components: m = {},
|
|
103
|
+
componentsProps: b,
|
|
104
|
+
fullWidth: I = !1,
|
|
105
|
+
inputComponent: C = "input",
|
|
106
|
+
multiline: P = !1,
|
|
107
|
+
slotProps: l,
|
|
108
|
+
slots: f = {},
|
|
109
|
+
type: T = "text"
|
|
110
|
+
} = p, R = w(p, z), $ = G(p), y = {
|
|
111
|
+
root: {
|
|
112
|
+
ownerState: {
|
|
113
|
+
disableUnderline: v
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}, O = l ?? b ? M(l ?? b, y) : y, x = (n = (i = f.root) != null ? i : m.Root) != null ? n : H, h = (d = (c = f.input) != null ? c : m.Input) != null ? d : J;
|
|
117
|
+
return /* @__PURE__ */ V(L, a({
|
|
118
|
+
slots: {
|
|
119
|
+
root: x,
|
|
120
|
+
input: h
|
|
121
|
+
},
|
|
122
|
+
slotProps: O,
|
|
123
|
+
fullWidth: I,
|
|
124
|
+
inputComponent: C,
|
|
125
|
+
multiline: P,
|
|
126
|
+
ref: s,
|
|
127
|
+
type: T
|
|
128
|
+
}, R, {
|
|
129
|
+
classes: $
|
|
130
|
+
}));
|
|
131
|
+
});
|
|
132
|
+
process.env.NODE_ENV !== "production" && (u.propTypes = {
|
|
133
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
134
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
135
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
136
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
137
|
+
/**
|
|
138
|
+
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
139
|
+
* The name can be confusing, as it's more like an autofill.
|
|
140
|
+
* You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
|
|
141
|
+
*/
|
|
142
|
+
autoComplete: o.string,
|
|
143
|
+
/**
|
|
144
|
+
* If `true`, the `input` element is focused during the first mount.
|
|
145
|
+
*/
|
|
146
|
+
autoFocus: o.bool,
|
|
147
|
+
/**
|
|
148
|
+
* Override or extend the styles applied to the component.
|
|
149
|
+
*/
|
|
150
|
+
classes: o.object,
|
|
151
|
+
/**
|
|
152
|
+
* The color of the component.
|
|
153
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
154
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
155
|
+
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
156
|
+
*/
|
|
157
|
+
color: o.oneOfType([o.oneOf(["primary", "secondary"]), o.string]),
|
|
158
|
+
/**
|
|
159
|
+
* The components used for each slot inside.
|
|
160
|
+
*
|
|
161
|
+
* This prop is an alias for the `slots` prop.
|
|
162
|
+
* It's recommended to use the `slots` prop instead.
|
|
163
|
+
*
|
|
164
|
+
* @default {}
|
|
165
|
+
*/
|
|
166
|
+
components: o.shape({
|
|
167
|
+
Input: o.elementType,
|
|
168
|
+
Root: o.elementType
|
|
169
|
+
}),
|
|
170
|
+
/**
|
|
171
|
+
* The extra props for the slot components.
|
|
172
|
+
* You can override the existing props or add new ones.
|
|
173
|
+
*
|
|
174
|
+
* This prop is an alias for the `slotProps` prop.
|
|
175
|
+
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
176
|
+
*
|
|
177
|
+
* @default {}
|
|
178
|
+
*/
|
|
179
|
+
componentsProps: o.shape({
|
|
180
|
+
input: o.object,
|
|
181
|
+
root: o.object
|
|
182
|
+
}),
|
|
183
|
+
/**
|
|
184
|
+
* The default value. Use when the component is not controlled.
|
|
185
|
+
*/
|
|
186
|
+
defaultValue: o.any,
|
|
187
|
+
/**
|
|
188
|
+
* If `true`, the component is disabled.
|
|
189
|
+
* The prop defaults to the value (`false`) inherited from the parent FormControl component.
|
|
190
|
+
*/
|
|
191
|
+
disabled: o.bool,
|
|
192
|
+
/**
|
|
193
|
+
* If `true`, the `input` will not have an underline.
|
|
194
|
+
*/
|
|
195
|
+
disableUnderline: o.bool,
|
|
196
|
+
/**
|
|
197
|
+
* End `InputAdornment` for this component.
|
|
198
|
+
*/
|
|
199
|
+
endAdornment: o.node,
|
|
200
|
+
/**
|
|
201
|
+
* If `true`, the `input` will indicate an error.
|
|
202
|
+
* The prop defaults to the value (`false`) inherited from the parent FormControl component.
|
|
203
|
+
*/
|
|
204
|
+
error: o.bool,
|
|
205
|
+
/**
|
|
206
|
+
* If `true`, the `input` will take up the full width of its container.
|
|
207
|
+
* @default false
|
|
208
|
+
*/
|
|
209
|
+
fullWidth: o.bool,
|
|
210
|
+
/**
|
|
211
|
+
* The id of the `input` element.
|
|
212
|
+
*/
|
|
213
|
+
id: o.string,
|
|
214
|
+
/**
|
|
215
|
+
* The component used for the `input` element.
|
|
216
|
+
* Either a string to use a HTML element or a component.
|
|
217
|
+
* @default 'input'
|
|
218
|
+
*/
|
|
219
|
+
inputComponent: o.elementType,
|
|
220
|
+
/**
|
|
221
|
+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
222
|
+
* @default {}
|
|
223
|
+
*/
|
|
224
|
+
inputProps: o.object,
|
|
225
|
+
/**
|
|
226
|
+
* Pass a ref to the `input` element.
|
|
227
|
+
*/
|
|
228
|
+
inputRef: k,
|
|
229
|
+
/**
|
|
230
|
+
* If `dense`, will adjust vertical spacing. This is normally obtained via context from
|
|
231
|
+
* FormControl.
|
|
232
|
+
* The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
|
|
233
|
+
*/
|
|
234
|
+
margin: o.oneOf(["dense", "none"]),
|
|
235
|
+
/**
|
|
236
|
+
* Maximum number of rows to display when multiline option is set to true.
|
|
237
|
+
*/
|
|
238
|
+
maxRows: o.oneOfType([o.number, o.string]),
|
|
239
|
+
/**
|
|
240
|
+
* Minimum number of rows to display when multiline option is set to true.
|
|
241
|
+
*/
|
|
242
|
+
minRows: o.oneOfType([o.number, o.string]),
|
|
243
|
+
/**
|
|
244
|
+
* If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.
|
|
245
|
+
* @default false
|
|
246
|
+
*/
|
|
247
|
+
multiline: o.bool,
|
|
248
|
+
/**
|
|
249
|
+
* Name attribute of the `input` element.
|
|
250
|
+
*/
|
|
251
|
+
name: o.string,
|
|
252
|
+
/**
|
|
253
|
+
* Callback fired when the value is changed.
|
|
254
|
+
*
|
|
255
|
+
* @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
|
|
256
|
+
* You can pull out the new value by accessing `event.target.value` (string).
|
|
257
|
+
*/
|
|
258
|
+
onChange: o.func,
|
|
259
|
+
/**
|
|
260
|
+
* The short hint displayed in the `input` before the user enters a value.
|
|
261
|
+
*/
|
|
262
|
+
placeholder: o.string,
|
|
263
|
+
/**
|
|
264
|
+
* It prevents the user from changing the value of the field
|
|
265
|
+
* (not from interacting with the field).
|
|
266
|
+
*/
|
|
267
|
+
readOnly: o.bool,
|
|
268
|
+
/**
|
|
269
|
+
* If `true`, the `input` element is required.
|
|
270
|
+
* The prop defaults to the value (`false`) inherited from the parent FormControl component.
|
|
271
|
+
*/
|
|
272
|
+
required: o.bool,
|
|
273
|
+
/**
|
|
274
|
+
* Number of rows to display when multiline option is set to true.
|
|
275
|
+
*/
|
|
276
|
+
rows: o.oneOfType([o.number, o.string]),
|
|
277
|
+
/**
|
|
278
|
+
* The extra props for the slot components.
|
|
279
|
+
* You can override the existing props or add new ones.
|
|
280
|
+
*
|
|
281
|
+
* This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
|
|
282
|
+
*
|
|
283
|
+
* @default {}
|
|
284
|
+
*/
|
|
285
|
+
slotProps: o.shape({
|
|
286
|
+
input: o.object,
|
|
287
|
+
root: o.object
|
|
288
|
+
}),
|
|
289
|
+
/**
|
|
290
|
+
* The components used for each slot inside.
|
|
291
|
+
*
|
|
292
|
+
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
293
|
+
*
|
|
294
|
+
* @default {}
|
|
295
|
+
*/
|
|
296
|
+
slots: o.shape({
|
|
297
|
+
input: o.elementType,
|
|
298
|
+
root: o.elementType
|
|
299
|
+
}),
|
|
300
|
+
/**
|
|
301
|
+
* Start `InputAdornment` for this component.
|
|
302
|
+
*/
|
|
303
|
+
startAdornment: o.node,
|
|
304
|
+
/**
|
|
305
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
306
|
+
*/
|
|
307
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
308
|
+
/**
|
|
309
|
+
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
310
|
+
* @default 'text'
|
|
311
|
+
*/
|
|
312
|
+
type: o.string,
|
|
313
|
+
/**
|
|
314
|
+
* The value of the `input` element, required for a controlled component.
|
|
315
|
+
*/
|
|
316
|
+
value: o.any
|
|
317
|
+
});
|
|
318
|
+
u.muiName = "Input";
|
|
319
|
+
const to = u;
|
|
320
|
+
export {
|
|
321
|
+
to as I
|
|
322
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./useThemeProps-Aqe6oH65.cjs"),$=require("react"),n=require("./InputBase-BuseI3Oe.cjs"),_=require("react/jsx-runtime"),h=require("./useForkRef-YQvz-OME.cjs");function B(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,r.get?r:{enumerable:!0,get:()=>e[s]})}}return t.default=e,Object.freeze(t)}const U=B($);function w(e){return o.generateUtilityClass("MuiInput",e)}const S=o._extends({},n.inputBaseClasses,o.generateUtilityClasses("MuiInput",["root","underline","input"])),p=S,q=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],M=e=>{const{classes:t,disableUnderline:s}=e,r={root:["root",!s&&"underline"],input:["input"]},i=o.composeClasses(r,w,t);return o._extends({},t,i)},W=o.styled(n.InputBaseRoot,{shouldForwardProp:e=>o.rootShouldForwardProp(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:s}=e;return[...n.rootOverridesResolver(e,t),!s.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),o._extends({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${p.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${p.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${p.disabled}, .${p.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${p.disabled}:before`]:{borderBottomStyle:"dotted"}})}),E=o.styled(n.InputBaseComponent,{name:"MuiInput",slot:"Input",overridesResolver:n.inputOverridesResolver})({}),u=U.forwardRef(function(t,s){var r,i,c,y;const a=o.useThemeProps({props:t,name:"MuiInput"}),{disableUnderline:m,components:d={},componentsProps:P,fullWidth:f=!1,inputComponent:g="input",multiline:v=!1,slotProps:l,slots:T={},type:I="text"}=a,C=o._objectWithoutPropertiesLoose(a,q),O=M(a),b={root:{ownerState:{disableUnderline:m}}},R=l??P?o.deepmerge(l??P,b):b,j=(r=(i=T.root)!=null?i:d.Root)!=null?r:W,x=(c=(y=T.input)!=null?y:d.Input)!=null?c:E;return _.jsx(n.InputBase,o._extends({slots:{root:j,input:x},slotProps:R,fullWidth:f,inputComponent:g,multiline:v,ref:s,type:I},C,{classes:O}))});process.env.NODE_ENV!=="production"&&(u.propTypes={autoComplete:o.PropTypes.string,autoFocus:o.PropTypes.bool,classes:o.PropTypes.object,color:o.PropTypes.oneOfType([o.PropTypes.oneOf(["primary","secondary"]),o.PropTypes.string]),components:o.PropTypes.shape({Input:o.PropTypes.elementType,Root:o.PropTypes.elementType}),componentsProps:o.PropTypes.shape({input:o.PropTypes.object,root:o.PropTypes.object}),defaultValue:o.PropTypes.any,disabled:o.PropTypes.bool,disableUnderline:o.PropTypes.bool,endAdornment:o.PropTypes.node,error:o.PropTypes.bool,fullWidth:o.PropTypes.bool,id:o.PropTypes.string,inputComponent:o.PropTypes.elementType,inputProps:o.PropTypes.object,inputRef:h.refType,margin:o.PropTypes.oneOf(["dense","none"]),maxRows:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string]),minRows:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string]),multiline:o.PropTypes.bool,name:o.PropTypes.string,onChange:o.PropTypes.func,placeholder:o.PropTypes.string,readOnly:o.PropTypes.bool,required:o.PropTypes.bool,rows:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string]),slotProps:o.PropTypes.shape({input:o.PropTypes.object,root:o.PropTypes.object}),slots:o.PropTypes.shape({input:o.PropTypes.elementType,root:o.PropTypes.elementType}),startAdornment:o.PropTypes.node,sx:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object,o.PropTypes.bool])),o.PropTypes.func,o.PropTypes.object]),type:o.PropTypes.string,value:o.PropTypes.any});u.muiName="Input";const F=u;exports.Input=F;
|