import{g as u,i as f,aH as c,a as m,j as a,_ as S,f as v,bG as x}from"./main-634.js";import{F as l}from"./bf-767-388.js";function y(){const{fieldKey:e}=u(),[i,r]=f(c);if(!e)return null;const t=i[e]||{},{css:d}=m();function p(s){s.target.value===""?delete t.step:t.step=s.target.value;const n=v(i,o=>{o[e]=t});r(n),x({event:`Step value updated to ${s.target.value}: ${t.lbl||adminLabel||e}`,type:"set_step",state:{fields:n,fldKey:e}})}return a.jsxs("div",{className:d([l.fieldSection,{flx:"center-between","& input":{mt:0}}]),children:[a.jsx("span",{children:S("Step:")}),a.jsx("input",{"data-testid":"slider-step-inp",title:"Step for slider field","aria-label":"Step for slider field",placeholder:"1",className:d(l.input,l.w140),type:"number",value:t.step,onChange:p})]})}export{y as default};
