import{aa as r}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{h as a,s as d}from"./machine.-tangy-colts-beg-869.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(t,e){return this.cache.has(t)?this.cache.get(t):(this.cache.set(t,e),e)}};const p=r(({helpers:t})=>({states:{components:[{componentName:t.componentName.mixInput,helperText:o("Id of the product to be added to cart."),id:"product-id",label:o("Product Id"),onChange:"HANDLE_ID",path:"product_id",render:!0,required:!0,value:void 0},{componentName:t.componentName.mixInput,helperText:o("Quantities of the product to be added to cart."),id:"product-quantity",label:o("Product Quantity"),onChange:"HANDLE_QUANTITY",path:"product_quantity",render:!0,required:!0,value:void 0}]},actions:{HANDLE_ID:a("productId"),HANDLE_QUANTITY:a("productQuantity"),ON_MACHINE_LOAD:({$:e})=>{d(e,[{db:"productId",id:"product-id"},{db:"productQuantity",id:"product-quantity"}])}}}));export{p as default};
