import{aa as c,ab as r}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{h as n,s as i}from"./machine.-tangy-colts-beg-869.js";import{h,c as s}from"./gohighle-tangy-colts-beg-43.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(o,e){return this.cache.has(o)?this.cache.get(o):(this.cache.set(o,e),e)}};const _=c(({helpers:o})=>({states:{components:[s(o),{componentName:o.componentName.mixInput,helperText:t("Enter the value you want to search for."),id:"search-query",label:t("Search Query"),onChange:"SET_SEARCH_QUERY",path:"query",render:"IF_CONNECTION_SELECTED",required:!0,value:[]}]},actions:{CONNECTION_ADD_CHANGE:h,IF_CONNECTION_SELECTED:({$:e})=>{var a;return r((a=e.getComponent("connection-id"))==null?void 0:a.value)},SET_SEARCH_QUERY:n("searchQuery"),SET_CONNECTION:({$:e,e:a})=>{n("connectionId")({$:e,e:a})},ON_MACHINE_LOAD:({$:e})=>{i(e,[{db:"connectionId",id:"connection-id"},{db:"searchQuery",id:"search-query"}])}}}));export{_ as default};
