import{aa as s}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{h as a,s as p}from"./machine.-tangy-colts-beg-869.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const h=s(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,id:"post-type",label:o("Post Type Name"),onChange:"HANDLE_POST_TYPE",path:"postType",render:!0,required:!0,value:void 0},{componentName:e.componentName.switch,fieldType:"config",helperText:o("Enable this option if you want to delete the posts along with its post type."),id:"delete-post",label:o("Delete Posts"),onChange:"HANDLE_DELETE_POST",path:"deletePost",render:!0,value:!1,wrapperClassName:"my-1"}]},actions:{HANDLE_DELETE_POST:a("deletePost"),HANDLE_POST_TYPE:a("postType"),ON_MACHINE_LOAD:({$:t})=>{p(t,[{db:"postType",id:"post-type"},{db:"deletePost",id:"delete-post"}])}}}));export{h as default};
