var e=Object.defineProperty,t=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,p=(t,a,s)=>a in t?e(t,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[a]=s;import{a2 as l,am as o,ak as b,_ as f,d as n,a3 as c,c as d,X as i,b2 as m,ag as y,y as g,f as j,z as O,j as h,g as $,i as v,u as N,au as x,ap as E}from"./index-ip5gDR6L.js";import{r as P}from"./index-Ca1H-sCf.js";const w=l({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:b([Number,Object]),default:()=>o({})},sm:{type:b([Number,Object]),default:()=>o({})},md:{type:b([Number,Object]),default:()=>o({})},lg:{type:b([Number,Object]),default:()=>o({})},xl:{type:b([Number,Object]),default:()=>o({})}}),_=n({name:"ElCol"}),S=n((k=((e,t)=>{for(var a in t||(t={}))r.call(t,a)&&p(e,a,t[a]);if(s)for(var a of s(t))u.call(t,a)&&p(e,a,t[a]);return e})({},_),t(k,a({props:w,setup(e){const t=e,{gutter:a}=c(P,{gutter:d(()=>0)}),s=i("col"),r=d(()=>{const e={};return a.value&&(e.paddingLeft=e.paddingRight=a.value/2+"px"),e}),u=d(()=>{const e=[];return["span","offset","pull","push"].forEach(a=>{const r=t[a];m(r)&&("span"===a?e.push(s.b(`${t[a]}`)):r>0&&e.push(s.b(`${a}-${t[a]}`)))}),["xs","sm","md","lg","xl"].forEach(a=>{m(t[a])?e.push(s.b(`${a}-${t[a]}`)):y(t[a])&&Object.entries(t[a]).forEach(([t,r])=>{e.push("span"!==t?s.b(`${a}-${t}-${r}`):s.b(`${a}-${r}`))})}),a.value&&e.push(s.is("guttered")),[s.b(),e]});return(e,t)=>(j(),g(x(e.tag),{class:v(N(u)),style:$(N(r))},{default:O(()=>[h(e.$slots,"default")]),_:3},8,["class","style"]))}}))));var k;const z=E(f(S,[["__file","col.vue"]]));export{z as E};
