"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),f=require("./utils/legacyUtil.js");function p({colWidths:c,columns:o,columCount:i}){const l=[],d=i||o.length;let n=!1;for(let e=d-1;e>=0;e-=1){const t=c[e],r=o&&o[e],u=r&&r[f.INTERNAL_COL_DEFINE];if(t||u||n){const{columnType:y,...a}=u||{};l.unshift(s.createVNode("col",{key:e,style:{width:typeof t=="number"?`${t}px`:t},...a},null)),n=!0}}return s.createVNode("colgroup",null,[l])}exports.default=p;
