import{aa as r}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{h as c,s as i}from"./machine.-tangy-colts-beg-869.js";import{a}from"./machineh-tangy-colts-beg-300.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(o,e){return this.cache.has(o)?this.cache.get(o):(this.cache.set(o,e),e)}};const p=r(({helpers:o})=>({states:{components:[{componentName:o.componentName.select,fieldType:"config",id:"product-category",label:t("Product Category"),onChange:"SELECT_CATEGORY",onRefetch:"REFETCH_CATEGORY",options:[],path:"category",placeholder:t("Select category"),render:!0,required:!0,value:void 0}]},actions:{SELECT_CATEGORY:c("category"),ON_MACHINE_LOAD:({$:e})=>{i(e,[{db:"category",id:"product-category"}]),a(e)},REFETCH_CATEGORY:({$:e})=>{a(e)}}}));export{p as default};
