import{r as t,h as i,H as s,g as e}from"./p-71af8020.js";import{v as h,a as n}from"./p-f239ccff.js";const l="bs-input-field{display:block;width:100%}";const d=class{constructor(i){t(this,i);this.attrs={};this.disabled=false;this.error=undefined;this.hints=undefined;this.label=undefined;this.passAttrs="";this.placeholder=undefined;this.required=undefined;this.type="text";this.value=undefined;this.hintId=null}componentWillLoad(){this.hintId=this.hints?h():null;this.attrs=n(this.hostEl,["autocomplete","max","min","maxlength","minlength","name",...this.passAttrs.split(",")])}render(){return i(s,null,i("bs-field-layout",{disabled:this.disabled,error:this.error,hints:this.hints,label:this.label,"label-for":this.attrs.id,required:this.required,hintId:this.hintId},i("bs-input",Object.assign({type:this.type,disabled:this.disabled,error:this.error,placeholder:this.placeholder,required:this.required,value:this.value,hintId:this.hintId},this.attrs))))}get hostEl(){return e(this)}};d.style=l;export{d as bs_input_field};
//# sourceMappingURL=p-c5824343.entry.js.map