import{n as l}from"./vendor.js";const u={name:"SlideDownUp",functional:!0,props:{group:{type:Boolean,default:!1},done:Function},render(e,n){const i={props:{name:"expand"},on:{afterEnter(t){t.style.height="auto"},enter(t){const{width:o}=getComputedStyle(t);t.style.width=o,t.style.position="absolute",t.style.visibility="hidden",t.style.height="auto";const{height:r}=getComputedStyle(t);t.style.width="auto",t.style.position="relative",t.style.visibility="visible",t.style.height=0,setTimeout(()=>{t.style.height=r}),n.props.done&&setTimeout(()=>{n.props.done()},500)},leave(t){const{height:o}=getComputedStyle(t);t.style.height=o,setTimeout(()=>{t.style.height=0})}}};let s="transition";return n.props.group&&(s="transition-group"),e(s,i,n.children)}},a=null,p=null;var _=l(u,a,p,!1,null,"536d087a",null,null);const y=_.exports;export{y as S};
