import{r as i,j as h,Y as H,u as r}from"./vue.1RczIYhx.js";function d(u,g){const e=i({titleHeight:0,queryHeight:0,headerHeight:50,dividerHeight:32,toolbarHeight:51,padding:40,tagView:34}),a=i(0),n=i(0),t=()=>{const l=r(u),o=r(g);e.value.titleHeight=l?l.scrollHeight:0,e.value.queryHeight=o?o.scrollHeight:0,a.value=e.value.titleHeight+e.value.queryHeight+e.value.headerHeight+e.value.dividerHeight+e.value.toolbarHeight+e.value.padding,n.value=window.innerHeight-a.value};return h(()=>{t(),window.addEventListener("resize",t)}),H(()=>{window.removeEventListener("resize",t)}),{tableHeight:n}}export{d as u};
