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