import{aa as i,ab as c}from"./_applist-tangy-colts-beg-36.js";import{_ as a}from"./main-tangy-colts-beg.js";import{s as m}from"./machine.-tangy-colts-beg-869.js";import{h as n,a as r,c as s}from"./commonut-tangy-colts-beg-867.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 p=i(({helpers:e})=>({states:{components:[s(e),{componentName:e.componentName.mixInput,helperText:a("Enter email ID to retrieve the corresponding customers"),id:"email",label:a("Email"),onChange:"HANDLE_EMAIL",path:"email",render:"IF_CONNECTION_SELECTED",value:void 0}]},actions:{IF_CONNECTION_SELECTED:({$:o})=>{var t;return c((t=o.getComponent("connection-id"))==null?void 0:t.value)},CONNECTION_ADD_CHANGE:r,HANDLE_EMAIL:n("emailDb"),SET_CONNECTION:n("connectionId"),ON_MACHINE_LOAD:async({$:o})=>{m(o,[{db:"connectionId",id:"connection-id"},{db:"emailDb",id:"email"}])}}}));export{p as default};
