import{e as B,b as d,n,g as s,p as o,A as h,B as i,w as k,C as c,D as y,E as v,k as f,h as b,j as g,m as w}from"./jwt-decode.esm-cMnpfgdw.js";import{L as _}from"./LoadingOutlined-BD61iDZs.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]="e9a2ce69-adbb-435d-8d8e-e887369354ea",t._sentryDebugIdIdentifier="sentry-dbid-e9a2ce69-adbb-435d-8d8e-e887369354ea")}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,[b(a.$slots,"default"),r.value?(s(),n(o(_),{key:0})):g("",!0)])]),_:3},16)]),_:3},8,["title"])):(s(),n(o(c),y(w({key:1},p.value)),{default:i(()=>[f("span",C,[b(a.$slots,"default"),r.value?(s(),n(o(_),{key:0})):g("",!0)])]),_:3},16))}});export{D as _};
//# sourceMappingURL=AbstraButton.vue_vue_type_script_setup_true_lang-C9nnml8T.js.map
