import{aa as d,ab as i}from"./_applist-tangy-colts-beg-36.js";import{_ as a}from"./main-tangy-colts-beg.js";import{h as n,s as r}from"./machine.-tangy-colts-beg-869.js";import{h as p,c as E}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:[E(e),{componentName:e.componentName.mixInput,id:"board-id",label:a("Board ID"),onChange:"HANDLE_BOARD_ID",path:"board_id",placeholder:a("Enter the Board ID"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0},{componentName:e.componentName.mixInput,id:"task-id",label:a("Task ID"),onChange:"HANDLE_TASK_ID",path:"task_id",placeholder:a("Enter the Task ID"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0},{componentName:e.componentName.mixInput,id:"per-page",label:a("Per Page"),onChange:"HANDLE_PER_PAGE",path:"per_page",placeholder:a("Enter the number of items per page (default is 10)"),render:"IF_CONNECTION_SELECTED",value:void 0},{componentName:e.componentName.mixInput,id:"page",label:a("Page"),onChange:"HANDLE_PAGE",path:"page",placeholder:a("Enter the page number (default is 1)"),render:"IF_CONNECTION_SELECTED",value:void 0}]},actions:{IF_CONNECTION_SELECTED:({$:o})=>{var t;return i((t=o.getComponent("connection-id"))==null?void 0:t.value)},CONNECTION_ADD_CHANGE:p,HANDLE_BOARD_ID:n("boardId"),HANDLE_PAGE:n("page"),HANDLE_PER_PAGE:n("perPage"),HANDLE_TASK_ID:n("taskId"),SET_CONNECTION:n("connectionId"),ON_MACHINE_LOAD:async({$:o})=>{r(o,[{db:"connectionId",id:"connection-id"},{db:"boardId",id:"board-id"},{db:"taskId",id:"task-id"},{db:"perPage",id:"per-page"},{db:"page",id:"page"}])}}}));export{C as default};
