1 |
- import{d as u,ag as o,K as f,o as s,v as a,w as _,aj as m,a as k,bn as I,C as b,P as c,n as g,t as y,j as C,_ as x,__tla as X}from"./index-11e4820e.js";let r,B=Promise.all([(()=>{try{return X}catch{}})()]).then(async()=>{r=x(u({name:"XButton",__name:"XButton",props:{modelValue:o.bool.def(!1),loading:o.bool.def(!1),preIcon:o.string.def(""),postIcon:o.string.def(""),title:o.string.def(""),type:o.oneOf(["","primary","success","warning","danger","info"]).def(""),link:o.bool.def(!1),circle:o.bool.def(!1),round:o.bool.def(!1),plain:o.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 n in t)l.indexOf(n)!==-1&&delete t[n];return t});return(l,t)=>{const n=C,p=b;return s(),a(p,m(k(d),{onClick:e.onClick}),{default:_(()=>[e.preIcon?(s(),a(n,{key:0,icon:e.preIcon,class:"mr-1px"},null,8,["icon"])):c("",!0),g(" "+y(e.title?e.title:"")+" ",1),e.postIcon?(s(),a(n,{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};
|