import{f as l,j as t,e as a,C as c,F as h}from"./main-few-lands-burn.js";import{a as b}from"./useflows-BpG3C9m1.js";import{I as m}from"./input-Die5vd97.js";import{c as f}from"./mutative-C6xjlr6O.js";import{A as d}from"./appheade-BErcWjPn.js";import{T as g}from"./index-ubWv-fhI.js";import"./lodash-YpNkAOPN.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"./index-BcDJZYeX.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 V({nodeId:s}){const[o,n]=b(s),p=(e,i)=>{typeof i=="number"&&e==="repeat"&&i<1||n(u=>f(u,r=>{r.states||(r.states={components:[]}),r.states?.repeater||(r.states.repeater={}),r.states.repeater[e]=i}))};return l(h,{children:[t(d,{nodeId:s}),t(m,{label:a("Repeat count"),min:1,onChange:e=>p("repeat",e.target.valueAsNumber),placeholder:"1",type:"number",value:o?.states?.repeater?.repeat}),t(c,{bordered:!1,items:[{children:l("div",{className:"space-y-4",children:[t(m,{label:a("Initial value"),onChange:e=>p("initial_value",e.target.valueAsNumber),placeholder:"1",type:"number",value:o?.states?.repeater?.initial_value}),t(m,{label:a("Step"),onChange:e=>p("step",e.target.valueAsNumber),placeholder:"1",type:"number",value:o?.states?.repeater?.step})]}),key:"1",label:t(g.Text,{children:a("Advance options")})}],size:"small"})]})}export{V as default};
