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