import{r as registerInstance,c as createEvent,h}from"./index-b7735e0d.js";var DvnFieldInputNumber=function(){function e(e){registerInstance(this,e);this.blur=createEvent(this,"blur",7);this.change=createEvent(this,"change",7)}e.prototype.render=function(){var e=this;var r=this,t=r.disabled,n=r.errors,i=r.field,d=r.value;var a=n&&n.length>0;return h("dvn-input",{id:i.id,type:"number",disabled:t||i.disabled,placeholder:i.placeholder,onBlur:function(){return e.blur.emit()},value:d,feedback:a?"error":undefined,leaned:true,overrideStyle:{width:"100%"}})};return e}();export{DvnFieldInputNumber as dvn_field_input_number};