import{e as B,b as d,l as n,g as s,n as o,A as h,y as i,t as k,B as c,C as y,D as v,k as f,h as g,j as b,m as w}from"./jwt-decode.esm-Bw7_fA5B.js";import{L as _}from"./LoadingOutlined-CCC-cDSZ.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="0d812da2-0e39-42e0-897a-c6d217bf3a2a",t._sentryDebugIdIdentifier="sentry-dbid-0d812da2-0e39-42e0-897a-c6d217bf3a2a")}catch{}})();const x={style:{display:"inline-flex","align-items":"center","justify-content":"center",gap:"5px"}},C={style:{display:"inline-flex","align-items":"center","justify-content":"center",gap:"5px"}},D=B({__name:"AbstraButton",props:{disabledTooltip:{},tooltip:{},prefixCls:{},type:{},htmlType:{},shape:{},size:{},loading:{type:[Boolean,Object]},disabled:{type:Boolean},ghost:{type:Boolean},block:{type:Boolean},danger:{type:Boolean},icon:{},href:{},target:{},title:{},onClick:{type:[Function,Array]},onMousedown:{type:[Function,Array]}},setup(t){const e=t,l=d(()=>e.disabledTooltip&&e.disabled?e.disabledTooltip:e.tooltip),r=d(()=>!!e.loading),p=d(()=>{const{loading:a,disabled:u,...m}=e;return{...m,disabled:u||!!a}});return(a,u)=>l.value?(s(),n(o(h),{key:0,title:l.value},{default:i(()=>[k(o(c),y(v(p.value)),{default:i(()=>[f("span",x,[g(a.$slots,"default"),r.value?(s(),n(o(_),{key:0})):b("",!0)])]),_:3},16)]),_:3},8,["title"])):(s(),n(o(c),y(w({key:1},p.value)),{default:i(()=>[f("span",C,[g(a.$slots,"default"),r.value?(s(),n(o(_),{key:0})):b("",!0)])]),_:3},16))}});export{D as _};
//# sourceMappingURL=AbstraButton.vue_vue_type_script_setup_true_lang-4O0X4FwR.js.map
