import{d as u,p as o,b as f,o as a,l,w as _,ai as m,a as k,bk as y,J as I,a2 as c,j as b,t as x,v as g,_ as C,__tla as v}from"./index-2c56227b.js";let r,B=Promise.all([(()=>{try{return v}catch{}})()]).then(async()=>{r=C(u({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,d=f(()=>{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=g,p=I;return a(),l(p,m({link:""},k(d),{onClick:e.onClick}),{default:_(()=>[e.preIcon?(a(),l(t,{key:0,icon:e.preIcon,class:"mr-1px"},null,8,["icon"])):c("",!0),b(" "+x(e.title?e.title:"")+" ",1),e.postIcon?(a(),l(t,{key:1,icon:e.postIcon,class:"mr-1px"},null,8,["icon"])):c("",!0)]),_:1},16,["onClick"])}}}),[["__scopeId","data-v-bd4a9e34"],["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/components/XButton/src/XTextButton.vue"]])});export{r as _,B as __tla};
