import{Q as y}from"./QBtn-Bl8V3g1s.js";import{Q as v}from"./QSeparator-D1JYPgu2.js";import{Q as k,a as Q,_ as C}from"./IndexPage-CTPnu3LT.js";import{I as S,J as g,M as a,K as c,N as n,O as e,R as i,W as d,Q as o,U as s,S as N,T as B}from"./index-BFHpqQMc.js";import{u as q}from"./vue-i18n.runtime-CGMLV8bE.js";import"./use-router-link-niyq3CDa.js";import"./QList-CPm2VhlR.js";const w={class:"row items-center"},W={class:"col"},b={class:"text-h5"},I={class:"col-auto"},V={class:"text-subtitle2 text-grey"},E={key:0,class:"q-mt-md"},J={key:1,class:"q-mt-md"},L=S({__name:"WelcomeStep",props:{step:{}},emits:["next"],setup(m,{emit:p}){const _=m,u=p,t=_.step,{t:f}=q();function x(){u("next",t?.next)}return(O,r)=>(a(),g(Q,{flat:"",class:"full-width q-pa-none"},{default:c(()=>[n(k,{class:"full-width"},{default:c(()=>[e("div",w,[e("div",W,[e("div",b,o(s(f)("WEL")),1)]),e("div",I,[n(y,{color:"primary",label:"Avanti",onClick:x})])]),n(v,{class:"q-my-sm"}),e("div",V,"Tipo: "+o(s(t).type),1),s(t).description?(a(),i("div",E,o(s(t).description),1)):d("",!0),s(t).fields&&s(t).fields.length?(a(),i("div",J,[r[0]||(r[0]=e("div",{class:"text-subtitle1"},"Campi:",-1)),e("ul",null,[(a(!0),i(N,null,B(s(t).fields,(l,h)=>(a(),i("li",{key:h},o(l.key)+" — "+o(l.type),1))),128))])])):d("",!0),e("pre",null,o(JSON.stringify(s(t),null,2)),1)]),_:1})]),_:1}))}}),U=C(L,[["__scopeId","data-v-7c94255c"]]);export{U as default};
