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