import{aa as n}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{h as a,s as r}from"./machine.-tangy-colts-beg-869.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const l=n(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,id:"id",label:o("Product Id"),onChange:"HANDLE_ID",path:"id",render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,id:"stock",label:o("Stock Amount"),onChange:"HANDLE_STOCK",path:"stock",render:!0,required:!0,value:void 0},{componentName:e.componentName.select,id:"operation",label:o("Operation"),onChange:"SELECT_OPERATION",options:[{label:o("Set"),value:"set"},{label:o("Increase"),value:"increase"},{label:o("Decrease"),value:"decrease"}],path:"operation",placeholder:o("Select an Operation"),render:!0,required:!0,value:void 0}]},actions:{HANDLE_ID:a("id"),HANDLE_STOCK:a("stock"),SELECT_OPERATION:a("operation"),ON_MACHINE_LOAD:({$:t})=>{r(t,[{db:"id",id:"id"},{db:"stock",id:"stock"},{db:"operation",id:"operation"}])}}}));export{l as default};
