import{aa as s}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{s as p}from"./machine.-tangy-colts-beg-869.js";import{h as r}from"./commonut-tangy-colts-beg-953.js";import{e as a}from"./machineh-tangy-colts-beg-110.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 T=s(({helpers:t})=>({states:{components:[{componentName:t.componentName.select,fieldType:"config",id:"post-type",label:o("Post Type"),mode:"multiple",onChange:"SELECT_POST_TYPE",onRefetch:"REFETCH_POST_TYPES",optionFilterProp:"label",options:[],placeholder:o("any post type"),render:!0,required:!0,showSearch:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:async({$:e})=>{p(e,[{db:"postType",id:"post-type"}]),await a(e)},REFETCH_POST_TYPES:async({$:e})=>await a(e),SELECT_POST_TYPE:r("postType")}}));export{T as default};
