import{aa as i,ab as r}from"./_applist-tangy-colts-beg-36.js";import{_ as n}from"./main-tangy-colts-beg.js";import{h as o,s as c}from"./machine.-tangy-colts-beg-869.js";import{h as m,a as p,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,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const l=i(({helpers:e})=>({states:{components:[d(e),{componentName:e.componentName.mixInput,fieldType:"config",helperText:n("Enter the opportunity stage ID to update."),id:"stage-id",label:n("Opportunity Stage ID"),onChange:"SET_STAGE_ID",render:"IF_CONNECTION_SELECTED",required:!0,value:void 0},{componentName:e.componentName.mixInput,fieldType:"config",helperText:n("Enter the new name for the opportunity stage."),id:"name",label:n("Opportunity Stage Name"),onChange:"SET_NAME",render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:({$:t})=>{c(t,[{db:"connectionId",id:"connection-id"},{db:"stageId",id:"stage-id"},{db:"name",id:"name"}])},CONNECTION_ADD_CHANGE:p,SET_DOMAIN:m,SET_CONNECTION:o("connectionId"),SET_STAGE_ID:o("stageId"),SET_NAME:o("name"),IF_CONNECTION_SELECTED:({$:t})=>{var a;return r((a=t.getComponent("connection-id"))==null?void 0:a.value)}}}));export{l as default};
