import{jsx as _jsx}from"react/jsx-runtime";import"./CtrlNumber.scss";export default function CtrlNumber({currMod:e,updatePath:r,prop:t,value:a,inheritVal:u,deleteProp:l,updateProps:p}){return _jsx("input",{type:"number",className:"ctrl-number__input-field",placeholder:u?a:"",value:u?"":a,onChange:t=>{t.target.value&&t.target.value.trim().length>0?p(e.id,r,t.target.valueAsNumber):l(r)}},e.id+r)}