1import v from"./BIMK04SE.js";import{_ as B}from"./BQGX-fw6.js";import{u as w}from"./CD0xSsDw.js";import{N as d,ay as _,P as k,W as c,ah as l,a7 as u,aq as j,af as t,au as P,av as r,ab as m,aa as x,ak as p,a8 as f,at as z,a9 as C,ad as N,ae as S}from"./Cc1FFHbL.js";import{d as $}from"./XnNGS9zF.js";import{_ as T}from"./DlAUqK2U.js";const A={class:"min-w-0 text-left"},E=d({name:"PrimitiveButton",inheritAttrs:!1,__name:"ButtonPrimitive",props:{tag:{default:"button"},label:{},icon:{default:"custom-icon:arrow"},iconSize:{default:"12px"},flip:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},align:{default:"justify"},width:{default:"full"}},setup(a,{expose:o}){const s=a,n=_(),i=k(null);o({$icon:i});const h=c(()=>{switch(s.tag){case"a":return $({});case"div":return"div";default:case"button":return"button"}}),g=c(()=>({...n,class:void 0}));return(e,I)=>{const b=v,y=B;return u(),l(j(t(h)),P(t(g),{class:t(r)("e-button",{"w-full":e.width==="full","w-auto":e.width==="auto"})}),{default:m(()=>[x(y,{"nothing-on-leave":!!t(n)["nothing-on-leave"],class:p(t(r)(("useTypography"in e?e.useTypography:t(w))("button"),"rounded-theme-button-radius text-theme-impact-text bg-theme-impact-background border-theme-impact-background border",e.outline&&"border-theme-impact-background text-theme-impact-background border bg-transparent",t(n).class||""))},{default:m(()=>[f("div",{class:p(t(r)("h-button-height btn-inner flex w-full items-center space-x-2 px-6",{"justify-between space-x-8":e.align==="justify","justify-center":e.align==="center","justify-start":e.align==="left","justify-end":e.align==="right"},e.flip&&"flex-row-reverse"))},[f("span",A,C(e.label),1),e.icon?(u(),l(b,{key:0,ref_key:"$icon",ref:i,class:"shrink-0 text-current",size:e.iconSize||void 0,name:e.icon},null,8,["size","name"])):z("",!0)],2)]),_:1},8,["nothing-on-leave","class"])]),_:1},16,["class"])}}}),V=Object.assign(T(E,[["__scopeId","data-v-48bf757a"]]),{__name:"ElementsButtonPrimitive"}),D=d({name:"ElementsButton",inheritAttrs:!1,__name:"Button",props:{tag:{},label:{},icon:{},iconSize:{},flip:{type:Boolean},outline:{type:Boolean},align:{},width:{}},setup(a){const o=a,s=_();return(n,i)=>(u(),l(V,N(S({...t(s),...o})),null,16))}}),G=Object.assign(D,{__name:"ElementsButton"});export{G as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.