import{r as t}from"./col.5ff06cbd.js";import{U as a,x as s,a1 as e,Z as r,a4 as n,d as i,j as l,k as u,a6 as o,a7 as g,g as p,al as f,m as c,a8 as d,ap as m}from"./index.286e9b79.js";const y=a({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:["start","center","end","space-around","space-between","space-evenly"],default:"start"},align:{type:String,values:["top","middle","bottom"]}}),j=s({name:"ElRow"});const b=m(d(s({...j,props:y,setup(a){const s=a,d=e("row"),m=r((()=>s.gutter));n(t,{gutter:m});const y=r((()=>{const t={};return s.gutter?(t.marginRight=t.marginLeft=`-${s.gutter/2}px`,t):t})),j=r((()=>[d.b(),d.is(`justify-${s.justify}`,"start"!==s.justify),d.is(`align-${s.align}`,!!s.align)]));return(t,a)=>(i(),l(c(t.tag),{class:g(p(j)),style:f(p(y))},{default:u((()=>[o(t.$slots,"default")])),_:3},8,["class","style"]))}}),[["__file","row.vue"]]));export{b as E};
