import{aa as i,ab as d}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{h as n,s as r}from"./machine.-tangy-colts-beg-869.js";import{h as c,c as N}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 s=i(({helpers:e})=>({states:{components:[N(e),{componentName:e.componentName.mixInput,id:"board-id",label:t("Board ID"),onChange:"HANDLE_BOARD_ID",path:"board_id",placeholder:t("Enter the board ID"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0},{componentName:e.componentName.mixInput,id:"title",label:t("Board Title"),onChange:"HANDLE_TITLE",path:"title",placeholder:t("Enter the board title"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0},{componentName:e.componentName.mixInput,id:"description",label:t("Board Description"),onChange:"HANDLE_DESCRIPTION",path:"description",placeholder:t("Enter the board description"),render:"IF_CONNECTION_SELECTED",value:void 0}]},actions:{IF_CONNECTION_SELECTED:({$:o})=>{var a;return d((a=o.getComponent("connection-id"))==null?void 0:a.value)},CONNECTION_ADD_CHANGE:c,HANDLE_BOARD_ID:n("boardId"),HANDLE_DESCRIPTION:n("description"),HANDLE_TITLE:n("title"),SET_CONNECTION:n("connectionId"),ON_MACHINE_LOAD:async({$:o})=>{r(o,[{db:"connectionId",id:"connection-id"},{db:"title",id:"title"},{db:"description",id:"description"},{db:"boardId",id:"board-id"}])}}}));export{s as default};
