import{aa as i,ab as s}from"./_applist-tangy-colts-beg-36.js";import{_ as n}from"./main-tangy-colts-beg.js";import{h as t,s as c}from"./machine.-tangy-colts-beg-869.js";import{h as m,c as r}from"./commonut-tangy-colts-beg-1272.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,a){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,a),a)}};const C=i(({helpers:e})=>({states:{components:[r(e),{componentName:e.componentName.mixInput,id:"display-name",label:n("Display Name"),onChange:"HANDLE_DISPLAY_NAME",path:"display_name",placeholder:n("Enter the display name to search"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{IF_CONNECTION_SELECTED:({$:a})=>{var o;return s((o=a.getComponent("connection-id"))==null?void 0:o.value)},CONNECTION_ADD_CHANGE:m,HANDLE_DISPLAY_NAME:t("displayName"),SET_CONNECTION:t("connectionId"),ON_MACHINE_LOAD:async({$:a})=>{c(a,[{db:"connectionId",id:"connection-id"},{db:"displayName",id:"display-name"}])}}}));export{C as default};
