import{b as i,i as s}from"./useflows-BpG3C9m1.js";import{e as a}from"./main-few-lands-burn.js";import{s as m}from"./machine.-BRuqPpdF.js";const r=i(({helpers:t})=>({states:{components:[{componentName:t.componentName.input,fieldType:"config",id:"hook-name",label:a("Hook Name"),onChange:"HANDLE_INPUT",render:!0,value:void 0},{componentName:t.componentName.hookListener,fieldType:"config",id:"hook-listener",label:a("Listen Hook"),render:({$:e})=>s(e.db?.hookName)}]},actions:{HANDLE_INPUT:({$:e,e:n})=>{e.setThisComponent(o=>{o.value=n.target.value}),e.setDb(o=>{o.hookName=n.target.value})},ON_MACHINE_LOAD:({$:e})=>{m(e,[{db:"hookName",id:"hook-name"}])}}})),_=Object.freeze(Object.defineProperty({__proto__:null,default:r},Symbol.toStringTag,{value:"Module"})),f=Object.freeze(Object.defineProperty({__proto__:null,default:r},Symbol.toStringTag,{value:"Module"}));export{_ as a,f as b};
