import{d as f,ai as n,L as u,o as s,x as l,w as _,al as m,a as k,b4 as I,D as b,R as c,q as x,t as y,k as g,_ as C,__tla as B}from"./index-7d5b26d3.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 a=["title","preIcon","postIcon","onClick"],t={...I(),...r};for(const o in t)a.indexOf(o)!==-1&&delete t[o];return t});return(a,t)=>{const o=g,p=b;return s(),l(p,m(k(d),{onClick:e.onClick}),{default:_(()=>[e.preIcon?(s(),l(o,{key:0,icon:e.preIcon,class:"mr-1px"},null,8,["icon"])):c("",!0),x(" "+y(e.title?e.title:"")+" ",1),e.postIcon?(s(),l(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-business/src/components/XButton/src/XButton.vue"]])});export{i as _,X as __tla};
