1 |
- import{d as f,ah as o,K as u,o as s,v as a,w as _,ak as m,a as k,bn as I,C as b,Q as c,n as g,t as y,j as x,_ as C,__tla as h}from"./index-4133fd21.js";let i,B=Promise.all([(()=>{try{return h}catch{}})()]).then(async()=>{i=C(f({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 r=e,d=u(()=>{const l=["title","preIcon","postIcon","onClick"],t={...I(),...r};for(const n in t)l.indexOf(n)!==-1&&delete t[n];return t});return(l,t)=>{const n=x,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","D:/zhongxing/mall-newfeifan-zx-business/src/components/XButton/src/XButton.vue"]])});export{i as _,B as __tla};
|