import{aa as t,ab as p}from"./_applist-tangy-colts-beg-36.js";import{_ as i}from"./main-tangy-colts-beg.js";import{h as o,s as c}from"./machine.-tangy-colts-beg-869.js";import{h as l,a as m,c as d}from"./flowluco-tangy-colts-beg-376.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,n){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,n),n)}};const I=t(({helpers:e})=>({states:{components:[d(e),{componentName:e.componentName.mixInput,fieldType:"config",helperText:i("Enter the pipeline ID to update."),id:"pipeline-id",label:i("Pipeline ID"),onChange:"SET_PIPELINE_ID",render:"IF_CONNECTION_SELECTED",required:!0,value:void 0},{componentName:e.componentName.mixInput,fieldType:"config",helperText:i("Enter the new name for the pipeline."),id:"name",label:i("Pipeline Name"),onChange:"SET_NAME",render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:({$:n})=>{c(n,[{db:"connectionId",id:"connection-id"},{db:"pipelineId",id:"pipeline-id"},{db:"name",id:"name"}])},CONNECTION_ADD_CHANGE:m,SET_DOMAIN:l,SET_CONNECTION:o("connectionId"),SET_PIPELINE_ID:o("pipelineId"),SET_NAME:o("name"),IF_CONNECTION_SELECTED:({$:n})=>{var a;return p((a=n.getComponent("connection-id"))==null?void 0:a.value)}}}));export{I as default};
