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