import{R as l,o as c,p as r,t as m,j as t,q as u,aG as x,E as g}from"./app-BgLa5dit.js";function h(e){var n;const[i,o]=l.useState(e.initialField),s=c(r.getDashboard(e.id)),{formComponent:d,next:a}=m[e.stage].forms[i];return t.jsx(u,{subStage:e.stage,pipelineId:e.pipelineId,children:t.jsx(x.Provider,{value:!!a,children:t.jsx(g,{title:(n=s.data)==null?void 0:n.name,closePopup:e.closePopup,backdrop:"static",showLoadingSpinner:!s.hasCompleted,children:t.jsx(d,{id:e.id,onNext:()=>o(a),closePopup:e.closePopup,stage:e.stage})})})})}export{h as EditDashboardContainerView};
//# sourceMappingURL=DsSwSAsA.chunk.js.map
