import{b as p}from"./useflows-BpG3C9m1.js";import{e as o}from"./main-few-lands-burn.js";import{s as a}from"./machine.-BRuqPpdF.js";import{h as r}from"./commonut-D3rqJBtm.js";import{e as t}from"./machineh-D8WlVdMZ.js";import"./mutative-C6xjlr6O.js";import"./lodash-YpNkAOPN.js";const E=p(({helpers:s})=>({states:{components:[{componentName:s.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})=>{a(e,[{db:"postType",id:"post-type"}]),await t(e)},REFETCH_POST_TYPES:async({$:e})=>await t(e),SELECT_POST_TYPE:r("postType")}}));export{E as default};
