1 |
- import{d as u,ac as n,Y as f,o as s,x as a,w as _,af as m,a as k,bF as I,G as y,a0 as c,y as b,t as g,j as x,_ as C,__tla as X}from"./index-8dc1e40a.js";let r,B=Promise.all([(()=>{try{return X}catch{}})()]).then(async()=>{r=C(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 i=e,d=f(()=>{const l=["title","preIcon","postIcon","onClick"],t={...I(),...i};for(const o in t)l.indexOf(o)!==-1&&delete t[o];return t});return(l,t)=>{const o=x,p=y;return s(),a(p,m(k(d),{onClick:e.onClick}),{default:_(()=>[e.preIcon?(s(),a(o,{key:0,icon:e.preIcon,class:"mr-1px"},null,8,["icon"])):c("",!0),b(" "+g(e.title?e.title:"")+" ",1),e.postIcon?(s(),a(o,{key:1,icon:e.postIcon,class:"mr-1px"},null,8,["icon"])):c("",!0)]),_:1},16,["onClick"])}}}),[["__scopeId","data-v-440d118d"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/XButton/src/XButton.vue"]])});export{r as _,B as __tla};
|