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 n,s as r}from"./machine.-tangy-colts-beg-869.js";import{h as l,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 s=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:"task-id",label:o("Task ID"),onChange:"HANDLE_TASK_ID",path:"task_id",placeholder:o("Enter the Task ID"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0},{componentName:e.componentName.mixInput,id:"label-id",label:o("Label ID"),onChange:"HANDLE_LABEL_ID",path:"label_id",placeholder:o("Enter the Label ID"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{IF_CONNECTION_SELECTED:({$:a})=>{var t;return i((t=a.getComponent("connection-id"))==null?void 0:t.value)},CONNECTION_ADD_CHANGE:l,HANDLE_BOARD_ID:n("boardId"),HANDLE_LABEL_ID:n("labelId"),HANDLE_TASK_ID:n("taskId"),SET_CONNECTION:n("connectionId"),ON_MACHINE_LOAD:async({$:a})=>{r(a,[{db:"connectionId",id:"connection-id"},{db:"boardId",id:"board-id"},{db:"taskId",id:"task-id"},{db:"labelId",id:"label-id"}])}}}));export{s as l};
