import{aa as i}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,o){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,o),o)}};const s=i(({helpers:e})=>({states:{components:[{componentName:e.componentName.InputCopyable,fieldType:"config",id:"do-action",label:t("Use this code to trigger the action"),render:!0,value:void 0},{componentName:e.componentName.hookListener,fieldType:"config",id:"hook-listener",label:t("Listen Hook"),render:!0}]},actions:{ON_MACHINE_LOAD:({$:o})=>{o.setComponent("do-action",a=>{a.value=`do_action('bit_pi_do_action', '${o.nodeId}', ['key' => 'value']);`})}}}));export{s as default};
