import{d as f,ah as o,K as u,o as a,v as l,w as k,ak as m,a as _,bn as y,C as I,Q as r,n as b,t as g,j as x,__tla as C}from"./index-04f8d540.js";let c,h=Promise.all([(()=>{try{return C}catch{}})()]).then(async()=>{c=f({name:"XTextButton",__name:"XTextButton",props:{modelValue:o.bool.def(!1),loading:o.bool.def(!1),preIcon:o.string.def(""),postIcon:o.string.def(""),title:o.string.def(""),type:o.oneOf(["","primary","success","warning","danger","info"]).def("primary"),circle:o.bool.def(!1),round:o.bool.def(!1),plain:o.bool.def(!1),onClick:{type:Function,default:null}},setup(e){const i=e,p=u(()=>{const s=["title","preIcon","postIcon","onClick"],n={...y(),...i};for(const t in n)s.indexOf(t)!==-1&&delete n[t];return n});return(s,n)=>{const t=x,d=I;return a(),l(d,m({link:""},_(p),{onClick:e.onClick}),{default:k(()=>[e.preIcon?(a(),l(t,{key:0,icon:e.preIcon,class:"mr-1px"},null,8,["icon"])):r("",!0),b(" "+g(e.title?e.title:"")+" ",1),e.postIcon?(a(),l(t,{key:1,icon:e.postIcon,class:"mr-1px"},null,8,["icon"])):r("",!0)]),_:1},16,["onClick"])}}})});export{c as _,h as __tla};
