"use strict";var e=require("lodash"),n=require("../constants.js"),r=require("../Input.css.js"),t=require("react/jsx-runtime");module.exports=function(o){var u=o.compStyles,i=o.fromInputRef,a=o.disabled,s=o.precision,l=o.from,c=o.fromInputValue,d=o.onInputChange,p=o.validateInputChange,f=e.round(l,s);return t.jsx("div",{children:t.jsx("input",{style:u,ref:i,disabled:a,className:r.rangeSliderInput,type:"text",size:"".concat(f).length||1,value:c,onChange:function(e){d(n.RangeSliderControl.FROM,e)},onBlur:function(e){return p(n.RangeSliderControl.FROM,e)},onKeyDown:function(e){"Enter"===e.key&&p(n.RangeSliderControl.FROM,e)}})})};
//# sourceMappingURL=FromInput.js.map
