import{b as a}from"./useflows-BpG3C9m1.js";import{e}from"./main-few-lands-burn.js";import{s as m}from"./machine.-BRuqPpdF.js";import{h as n}from"./commonut-D3rqJBtm.js";import"./mutative-C6xjlr6O.js";import"./lodash-YpNkAOPN.js";import"./machineh-D8WlVdMZ.js";const u=a(({helpers:o})=>({states:{components:[{componentName:o.componentName.mixInput,id:"name",label:e("Term Name"),onChange:"HANDLE_NAME",path:"name",render:!0,required:!0,value:void 0},{componentName:o.componentName.mixInput,helperText:e("The taxonomy to which to add the term. Example: Trigger Type, Flow Category."),id:"taxonomy",label:e("Taxonomy Name"),onChange:"HANDLE_TAXONOMY",path:"taxonomy",render:!0,required:!0,value:void 0},{componentName:o.componentName.mixInput,helperText:e("URL-friendly version of the term name."),id:"slug",label:e("Slug"),onChange:"HANDLE_SLUG",path:"slug",render:!0,value:void 0},{componentName:o.componentName.mixInput,id:"description",label:e("Description"),onChange:"HANDLE_DESCRIPTION",path:"description",render:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:({$:t})=>{m(t,[{db:"name",id:"name"},{db:"taxonomy",id:"taxonomy"},{db:"slug",id:"slug"},{db:"description",id:"description"}])},HANDLE_DESCRIPTION:n("description"),HANDLE_NAME:n("name"),HANDLE_SLUG:n("slug"),HANDLE_TAXONOMY:n("taxonomy")}}));export{u as default};
