import{at as l,i as t,aw as i,ci as r,dq as u,c,b as p,w as f,ac as d,E as m,u as x,am as v}from"./B2UyoCas.js";const y={base:"relative",variants:{size:{xs:"",sm:"",md:"",lg:"",xl:""},orientation:{horizontal:"inline-flex -space-x-px",vertical:"flex flex-col -space-y-px"}}},h={__name:"UButtonGroup",props:{as:{type:null,required:!1},size:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(a){const s=a,n=l(),o=t(()=>{var e;return i({extend:i(y),...((e=n.ui)==null?void 0:e.buttonGroup)||{}})});return r(u,t(()=>({orientation:s.orientation,size:s.size}))),(e,z)=>(p(),c(x(v),{as:a.as,class:m(o.value({orientation:a.orientation,class:s.class}))},{default:f(()=>[d(e.$slots,"default")]),_:3},8,["as","class"]))}};export{h as _};
