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