import{d as f,as as n,e as u,o as a,C as s,A as _,m,a as I,aZ as k,J as y,a3 as c,D as b,E as g,Q as x,_ as C,__tla as B}from"./index-286756b9.js";let i,X=Promise.all([(()=>{try{return B}catch{}})()]).then(async()=>{i=C(f({name:"XButton",__name:"XButton",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(""),link:n.bool.def(!1),circle:n.bool.def(!1),round:n.bool.def(!1),plain:n.bool.def(!1),onClick:{type:Function,default:null}},setup(e){const r=e,d=u(()=>{const l=["title","preIcon","postIcon","onClick"],t={...k(),...r};for(const o in t)l.indexOf(o)!==-1&&delete t[o];return t});return(l,t)=>{const o=x,p=y;return a(),s(p,m(I(d),{onClick:e.onClick}),{default:_(()=>[e.preIcon?(a(),s(o,{key:0,icon:e.preIcon,class:"mr-1px"},null,8,["icon"])):c("",!0),b(" "+g(e.title?e.title:"")+" ",1),e.postIcon?(a(),s(o,{key:1,icon:e.postIcon,class:"mr-1px"},null,8,["icon"])):c("",!0)]),_:1},16,["onClick"])}}}),[["__scopeId","data-v-440d118d"],["__file","D:/zx/mall-newfeifan-zx-admin/src/components/XButton/src/XButton.vue"]])});export{i as _,X as __tla};