import{f as p,j as e,e as t,F as u}from"./main-few-lands-burn.js";import{a as h}from"./useflows-BpG3C9m1.js";import{I as c}from"./input-Die5vd97.js";import{c as y}from"./mutative-C6xjlr6O.js";import{A as f}from"./appheade-BErcWjPn.js";import{S as r}from"./index-BcDJZYeX.js";import"./lodash-YpNkAOPN.js";import"./index-ubWv-fhI.js";import"./index-DAhFlZRY.js";import"./utilscss-IoKwGUy7.js";import"./index-Vx_YZd5N.js";import"./index-XyHDR-91.js";import"./index-Cj8-kItB.js";import"./index-CB2KTxNj.js";import"./useclosa-m-cf8k_D.js";import"./context-Ba3TiTex.js";import"./tabpanel-DvU0ks7q.js";import"./index-28_Ul1Wv.js";import"./usebreak-DJkppNCB.js";import"./index-CTlEl9RP.js";import"./index-btcdg7gz.js";import"./flowstat-BxuW8LT8.js";import"./index-CyNIBchZ.js";import"./usedebou-9GKFiQAC.js";import"./useflows-BbAh-zeS.js";import"./import-Cn4VUyaV.js";import"./paginati-DuhDnQhP.js";import"./index-DkD03DCM.js";import"./index-DLjoOpJs.js";import"./index-wzUEm29P.js";function P({nodeId:a}){const[m,s]=h(a),l=(o,i)=>{o==="delayValue"&&typeof i=="number"&&i<1||s(d=>y(d,n=>{n?.states?.delay&&(n.states.delay[o]=i)}))};return p(u,{children:[e(f,{nodeId:a}),e(c,{addonAfter:p(r,{onChange:o=>l("delayUnit",o),value:m?.states?.delay?.delayUnit||"minutes",children:[e(r.Option,{value:"minutes",children:t("Minutes")}),e(r.Option,{value:"hours",children:t("Hours")}),e(r.Option,{value:"days",children:t("Days")}),e(r.Option,{value:"weeks",children:t("Weeks")}),e(r.Option,{value:"months",children:t("Months")})]}),helperText:t("Select time & unit how long the delay should be to execute the next node"),label:t("Execution delay time"),min:1,name:"delayValue",onChange:o=>l("delayValue",o.target.valueAsNumber),placeholder:"1",type:"number",value:m?.states?.delay?.delayValue})]})}export{P as default};
