import{slicedToArray as e,objectSpread2 as r}from"../../_virtual/_rollupPluginBabelHelpers.esm.js";import{TextField as n,Popper as t,Fade as i,Paper as a,Typography as l}from"@mui/material";import o,{useState as u}from"react";import{jsxs as p,Fragment as m,jsx as c}from"react/jsx-runtime";function d(d){var s=u(!1),f=e(s,2),h=f[0],v=f[1],b=o.useState(null),x=e(b,2),g=x[0],q=x[1],y=function(){return function(e){q(e.currentTarget),v(!h)}};return p(m,{children:[c(n,{id:"outlined-multiline-flexible",fullWidth:!0,type:"time",name:d.name,onChange:d.onChange,value:d.value||"",label:d.label,required:d.required,variant:d.variant,InputLabelProps:{shrink:!0,required:d.required},InputProps:{readOnly:d.readOnly},onFocus:y(),onBlur:y()}),c(t,{sx:{zIndex:1200},open:h&&d.popperActive,anchorEl:g,placement:"bottom",transition:!0,children:function(e){var n=e.TransitionProps;return c(i,r(r({},n),{},{timeout:350,children:c(a,{children:c(l,{sx:{p:2},children:d.value})})}))}})]})}export{d as default};
//# sourceMappingURL=TimeInputComponent.esm.js.map
