import{d as u,ac as e,Y as f,o as a,x as s,w as _,af as m,a as x,bF as k,G as y,a0 as c,y as I,t as b,j as g,_ as C,__tla as X}from"./index-8dc1e40a.js";let r,B=Promise.all([(()=>{try{return X}catch{}})()]).then(async()=>{r=C(u({name:"XTextButton",__name:"XTextButton",props:{modelValue:e.bool.def(!1),loading:e.bool.def(!1),preIcon:e.string.def(""),postIcon:e.string.def(""),title:e.string.def(""),type:e.oneOf(["","primary","success","warning","danger","info"]).def("primary"),circle:e.bool.def(!1),round:e.bool.def(!1),plain:e.bool.def(!1),onClick:{type:Function,default:null}},setup(o){const i=o,p=f(()=>{const l=["title","preIcon","postIcon","onClick"],n={...k(),...i};for(const t in n)l.indexOf(t)!==-1&&delete n[t];return n});return(l,n)=>{const t=g,d=y;return a(),s(d,m({link:""},x(p),{onClick:o.onClick}),{default:_(()=>[o.preIcon?(a(),s(t,{key:0,icon:o.preIcon,class:"mr-1px"},null,8,["icon"])):c("",!0),I(" "+b(o.title?o.title:"")+" ",1),o.postIcon?(a(),s(t,{key:1,icon:o.postIcon,class:"mr-1px"},null,8,["icon"])):c("",!0)]),_:1},16,["onClick"])}}}),[["__scopeId","data-v-bd4a9e34"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/XButton/src/XTextButton.vue"]])});export{r as _,B as __tla};
