import{d as u,G as _,b as l,eu as r,e as d,a_ as m,eC as y,ey as b,eD as f,ew as g,t as k,r as v,o as I,c as w,w as p,f as h,aq as B,eQ as C,u as i,bU as D,eW as N}from"./outputWidgets.6c6bbcfd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9d64a697-f96e-4692-acce-e5f258b49df7",e._sentryDebugIdIdentifier="sentry-dbid-9d64a697-f96e-4692-acce-e5f258b49df7")}catch{}})();const S={key:0,class:"p-steps p-component"},x={class:"p-steps-list"},V={class:"p-menuitem-link"},E={class:"p-steps-number"},$=u({__name:"Steps",props:{stepsInfo:{type:Object,default:null}},setup(e){const t=e,a=_(()=>t.stepsInfo?Array(t.stepsInfo.total).fill(null).map(()=>({label:"",to:""})):[]);return(o,c)=>e.stepsInfo?(l(),r("nav",S,[d("ol",x,[(l(!0),r(m,null,y(a.value,(s,n)=>(l(),r("li",{key:n,class:b(["p-steps-item",{"p-highlight":n+1===e.stepsInfo.current}])},[d("span",V,[d("span",E,f(n+1),1)])],2))),128))])])):g("",!0)}});const K=k($,[["__scopeId","data-v-c6d9488a"]]),j=u({__name:"ActionButton",props:{action:{},displayName:{},loading:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const a=e,o=v(null);return I(()=>{o.value&&a.action.setElement(o.value)}),(c,s)=>(l(),w(i(N),null,{default:p(()=>[h(i(D),{ref_key:"element",ref:o,class:"next-button",loading:c.loading,onClick:s[0]||(s[0]=n=>t("click")),onKeydown:s[1]||(s[1]=C(n=>t("click"),["enter"]))},{default:p(()=>[B(f(c.displayName),1)]),_:1},8,["loading"])]),_:1}))}});export{K as S,j as _};
//# sourceMappingURL=ActionButton.vue_vue_type_script_setup_true_lang.ad03119b.js.map
