import{aa as t,ab as r}from"./_applist-tangy-colts-beg-36.js";import{_ as a}from"./main-tangy-colts-beg.js";import{h as n,s as i}from"./machine.-tangy-colts-beg-869.js";import{h as c,c as s}from"./commonut-tangy-colts-beg-1272.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 _=t(({helpers:e})=>({states:{components:[s(e),{componentName:e.componentName.mixInput,id:"folder-id",label:a("Folder ID"),onChange:"HANDLE_FOLDER_ID",path:"folder_id",placeholder:a("Enter the folder ID"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:a("Example: 123,456,789"),id:"board-ids",label:a("Board IDs"),onChange:"HANDLE_BOARDS_IDS",path:"board_ids",placeholder:a("Enter the board IDs (comma separated)"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{IF_CONNECTION_SELECTED:({$:o})=>{var d;return r((d=o.getComponent("connection-id"))==null?void 0:d.value)},CONNECTION_ADD_CHANGE:c,HANDLE_BOARDS_IDS:n("boardIds"),HANDLE_FOLDER_ID:n("folderId"),SET_CONNECTION:n("connectionId"),ON_MACHINE_LOAD:async({$:o})=>{i(o,[{db:"connectionId",id:"connection-id"},{db:"boardIds",id:"board-ids"},{db:"folderId",id:"folder-id"}])}}}));export{_ as default};
