import{b as s}from"./useflows-BpG3C9m1.js";import{e}from"./main-few-lands-burn.js";import{s as n}from"./machine.-BRuqPpdF.js";import{h as o}from"./commonut-D3rqJBtm.js";import"./mutative-C6xjlr6O.js";import"./lodash-YpNkAOPN.js";import"./machineh-D8WlVdMZ.js";const b=s(({helpers:t})=>({states:{components:[{componentName:t.componentName.mixInput,id:"post-id",label:e("Post Id"),onChange:"HANDLE_ID",path:"postId",render:!0,required:!0,value:void 0},{componentName:t.componentName.select,fieldType:"config",id:"post-status",label:e("Post Status"),onChange:"SELECT_POST_STATUS",optionFilterProp:"label",options:[{label:e("Publish"),value:"publish"},{label:e("Pending Preview"),value:"pending"},{label:e("Draft"),value:"draft"},{label:e("Private"),value:"private"},{label:e("Trash"),value:"trash"}],placeholder:e("any post status"),render:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:({$:a})=>{n(a,[{db:"postId",id:"post-id"},{db:"postStatus",id:"post-status"}])},HANDLE_ID:o("postId"),SELECT_POST_STATUS:o("postStatus")}}));export{b as default};
