import{d as r,r as c,o as f,eU as u,b as y,c as p,w as d,f as g,aA as m,eD as b,eQ as w,u as i,b$ as k,eY as _}from"./outputWidgets.f8f8676d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1315d973-225c-405f-9c67-c7d027f8e977",e._sentryDebugIdIdentifier="sentry-dbid-1315d973-225c-405f-9c67-c7d027f8e977")}catch{}})();const D=r({__name:"ActionButton",props:{action:{},displayName:{},loading:{type:Boolean}},emits:["click"],setup(e,{emit:n}){const o=e,a=c(null);return f(()=>{a.value&&o.action.setElement(a.value),u.addAction(o.action)}),(s,t)=>(y(),p(i(_),null,{default:d(()=>[g(i(k),{ref_key:"element",ref:a,class:"next-button",loading:s.loading,onClick:t[0]||(t[0]=l=>n("click")),onKeydown:t[1]||(t[1]=w(l=>n("click"),["enter"]))},{default:d(()=>[m(b(s.displayName),1)]),_:1},8,["loading"])]),_:1}))}});export{D as _};
//# sourceMappingURL=ActionButton.vue_vue_type_script_setup_true_lang.4a8d0188.js.map
