var t=Object.defineProperty,e=Object.defineProperties,a=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,n=(e,a,r)=>a in e?t(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r;import{a2 as i,_ as l,d as u,X as p,c,y,f as g,z as f,j as b,g as d,i as j,u as m,au as v,a7 as w,ap as O}from"./index-ip5gDR6L.js";const P=Symbol("rowContextKey"),S=i({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"]}}),x=u({name:"ElRow"}),$=u((_=((t,e)=>{for(var a in e||(e={}))s.call(e,a)&&n(t,a,e[a]);if(r)for(var a of r(e))o.call(e,a)&&n(t,a,e[a]);return t})({},x),e(_,a({props:S,setup(t){const e=t,a=p("row"),r=c(()=>e.gutter);w(P,{gutter:r});const s=c(()=>{const t={};return e.gutter?(t.marginRight=t.marginLeft=`-${e.gutter/2}px`,t):t}),o=c(()=>[a.b(),a.is(`justify-${e.justify}`,"start"!==e.justify),a.is(`align-${e.align}`,!!e.align)]);return(t,e)=>(g(),y(v(t.tag),{class:j(m(o)),style:d(m(s))},{default:f(()=>[b(t.$slots,"default")]),_:3},8,["class","style"]))}}))));var _;const E=O(l($,[["__file","row.vue"]]));export{E,P as r};
