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