import{r as registerInstance,c as createEvent,h}from"./index-102043e0.js";var DvnFieldInputText=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 t=this,n=t.disabled,r=t.errors,i=t.field,a=t.value;var l=r&&r.length>0;var d=i.linesMax>1&&i.linesMax>=i.lines;return h("dvn-input",{id:i.id,type:i.inputType||"text",disabled:n||i.disabled,placeholder:i.placeholder,onBlur:function(){return e.blur.emit()},value:a,feedback:l?"error":undefined,leaned:true,long:d,autoComplete:i.autoComplete,overrideStyle:{width:"100%"}})};return e}();export{DvnFieldInputText as dvn_field_input_text};