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