import{createVNode as i}from"vue";import{INTERNAL_COL_DEFINE as d}from"./utils/legacyUtil.mjs";function y({colWidths:c,columns:e,columCount:u}){const n=[],p=u||e.length;let l=!1;for(let t=p-1;t>=0;t-=1){const o=c[t],r=e&&e[t],s=r&&r[d];if(o||s||l){const{columnType:a,...f}=s||{};n.unshift(i("col",{key:t,style:{width:typeof o=="number"?`${o}px`:o},...f},null)),l=!0}}return i("colgroup",null,[n])}export{y as default};
