1 |
- import{d as u,p as e,b as f,o as s,l as a,w as _,ai as m,a as k,bk as I,J as b,a2 as c,j as x,t as y,v as g,_ as C,__tla as X}from"./index-afaf388d.js";let r,B=Promise.all([(()=>{try{return X}catch{}})()]).then(async()=>{r=C(u({name:"XTextButton",__name:"XTextButton",props:{modelValue:e.bool.def(!1),loading:e.bool.def(!1),preIcon:e.string.def(""),postIcon:e.string.def(""),title:e.string.def(""),type:e.oneOf(["","primary","success","warning","danger","info"]).def("primary"),circle:e.bool.def(!1),round:e.bool.def(!1),plain:e.bool.def(!1),onClick:{type:Function,default:null}},setup(o){const i=o,p=f(()=>{const l=["title","preIcon","postIcon","onClick"],n={...I(),...i};for(const t in n)l.indexOf(t)!==-1&&delete n[t];return n});return(l,n)=>{const t=g,d=b;return s(),a(d,m({link:""},k(p),{onClick:o.onClick}),{default:_(()=>[o.preIcon?(s(),a(t,{key:0,icon:o.preIcon,class:"mr-1px"},null,8,["icon"])):c("",!0),x(" "+y(o.title?o.title:"")+" ",1),o.postIcon?(s(),a(t,{key:1,icon:o.postIcon,class:"mr-1px"},null,8,["icon"])):c("",!0)]),_:1},16,["onClick"])}}}),[["__scopeId","data-v-bd4a9e34"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/XButton/src/XTextButton.vue"]])});export{r as _,B as __tla};
|