import{aa as d,ab as i}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{h as t,s}from"./machine.-tangy-colts-beg-869.js";import{h as r,c}from"./commonut-tangy-colts-beg-1272.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,a){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,a),a)}};const C=d(({helpers:e})=>({states:{components:[c(e),{componentName:e.componentName.mixInput,id:"board-id",label:o("Board ID"),onChange:"HANDLE_BOARD_ID",path:"board_id",placeholder:o("Enter the Board ID"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0},{componentName:e.componentName.mixInput,id:"subtask-id",label:o("Subtask ID"),onChange:"HANDLE_SUBTASK_ID",path:"subtask_id",placeholder:o("Enter the Subtask ID"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{IF_CONNECTION_SELECTED:({$:a})=>{var n;return i((n=a.getComponent("connection-id"))==null?void 0:n.value)},CONNECTION_ADD_CHANGE:r,HANDLE_BOARD_ID:t("boardId"),HANDLE_SUBTASK_ID:t("subtaskId"),SET_CONNECTION:t("connectionId"),ON_MACHINE_LOAD:async({$:a})=>{s(a,[{db:"connectionId",id:"connection-id"},{db:"boardId",id:"board-id"},{db:"subtaskId",id:"subtask-id"}])}}}));export{C as s};
