import{aa as i,ab as c}from"./_applist-tangy-colts-beg-36.js";import{_ as n}from"./main-tangy-colts-beg.js";import{h as a,s as h}from"./machine.-tangy-colts-beg-869.js";import{h as l,c as r}from"./dropboxc-tangy-colts-beg-404.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 E=i(({helpers:e})=>({states:{components:[r(e),{componentName:e.componentName.mixInput,fieldType:"config",helperText:n("Enter the path of the file to download (e.g., /Documents/file.txt)."),id:"file-path",label:n("File Path"),onChange:"SET_FILE_PATH",render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{SET_CONNECTION:a("connection"),IF_CONNECTION_SELECTED:({$:o})=>{var t;return c((t=o.getComponent("connection-id"))==null?void 0:t.value)},CONNECTION_ADD_CHANGE:l,SET_FILE_PATH:a("filePath"),ON_MACHINE_LOAD:({$:o})=>{h(o,[{db:"connection",id:"connection-id"},{db:"filePath",id:"file-path"}])}}}));export{E as default};
