import{defineComponent as l,ref as d,onMounted as u,createVNode as o,createTextVNode as s}from"vue";import i from"../../vc-resize-observer/index.mjs";const m=l({name:"MeasureCell",props:["columnKey"],setup(t,{emit:r}){const e=d();return u(()=>{e.value&&r("columnResize",t.columnKey,e.value.offsetWidth)}),()=>o(i,{onResize:({offsetWidth:n})=>{r("columnResize",t.columnKey,n)}},{default:()=>[o("td",{ref:e,style:{padding:0,border:0,height:0}},[o("div",{style:{height:0,overflow:"hidden"}},[s(" ")])])]})}});export{m as default};
