import{f as p,j as r,e as o,C as c,F as f}from"./main-few-lands-burn.js";import{a as d}from"./useflows-BpG3C9m1.js";import{I as n}from"./input-Die5vd97.js";import{M as h}from"./mixinput-CX5xeb4d.js";import{c as b}from"./mutative-C6xjlr6O.js";import{A as g}from"./appheade-BErcWjPn.js";import{T as v}from"./index-ubWv-fhI.js";import"./lodash-YpNkAOPN.js";import"./index-DAhFlZRY.js";import"./index-Budcgb8A.js";import"./index-CyNIBchZ.js";import"./usedebou-9GKFiQAC.js";import"./utilscss-IoKwGUy7.js";import"./tabpanel-DvU0ks7q.js";import"./index-BcDJZYeX.js";import"./index-CB2KTxNj.js";import"./useclosa-m-cf8k_D.js";import"./context-Ba3TiTex.js";import"./index-28_Ul1Wv.js";import"./usebreak-DJkppNCB.js";import"./index-CTlEl9RP.js";import"./index-Cj8-kItB.js";import"./index-wzUEm29P.js";import"./isobject-D8hieKPs.js";import"./index-Vx_YZd5N.js";import"./index-XyHDR-91.js";import"./index-btcdg7gz.js";import"./flowstat-BxuW8LT8.js";import"./useflows-BbAh-zeS.js";import"./import-Cn4VUyaV.js";import"./paginati-DuhDnQhP.js";import"./index-DkD03DCM.js";import"./index-DLjoOpJs.js";function $({nodeId:s}){const[a,l]=d(s),i=(t,m)=>{typeof m=="number"&&(t==="end"||t==="start")&&m<1||l(u=>b(u,e=>{e.states||(e.states={components:[]}),e.states?.iterator||(e.states.iterator={}),e.states.iterator[t]=m}))};return p(f,{children:[r(g,{nodeId:s}),r(h,{label:o("Array"),onChange:t=>i("value",t),value:a?.states?.iterator?.value}),r(c,{bordered:!1,items:[{children:p("div",{className:"space-y-4",children:[r(n,{label:o("Iteration start from"),min:1,onChange:t=>i("start",t.target.valueAsNumber),placeholder:"1",type:"number",value:a?.states?.iterator?.start}),r(n,{label:o("Iteration end at"),min:1,onChange:t=>i("end",t.target.valueAsNumber),type:"number",value:a?.states?.iterator?.end})]}),key:"1",label:r(v.Text,{children:o("Advance options")})}],size:"small"})]})}export{$ as default};
