import{aa as d,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 l}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 C=d(({helpers:e})=>({states:{components:[l(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,id:"board-id",label:a("Board ID"),onChange:"HANDLE_BOARDS_ID",path:"board_id",placeholder:a("Enter the board ID"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{IF_CONNECTION_SELECTED:({$:o})=>{var t;return r((t=o.getComponent("connection-id"))==null?void 0:t.value)},CONNECTION_ADD_CHANGE:c,HANDLE_BOARDS_ID:n("boardId"),HANDLE_FOLDER_ID:n("folderId"),SET_CONNECTION:n("connectionId"),ON_MACHINE_LOAD:async({$:o})=>{i(o,[{db:"connectionId",id:"connection-id"},{db:"boardId",id:"board-id"},{db:"folderId",id:"folder-id"}])}}}));export{C as default};
