1import{d as t}from"./defineElement-Bh-rOTph.js";import"./GlobalStylesStore--z5tmrDj.js";import{h as e}from"./html-BmWsKWcd.js";import{o as i,c as s}from"./directives-geaH8KPO.js";import{I as a}from"./input-field.class-Doi4_VBo.js";import{c as l}from"./input-field-Sx3SCIoW.js";import"./form-field.class-DyP4nvuO.js";import"./TemplateElement-u6hNeGmQ.js";import"./StyledElement-Dmi2NcTH.js";import"./InputEvents-ff9pfHZS.js";class r extends a{constructor(){super({styles:[l]})}fieldTemplate(){if("textarea"===this.type){const t={"is-valid":!!this.valid,"is-invalid":!this.valid};return e` 2 <textarea 3 ref="input" 4 id="input-${this.name}" 5 name="${this.name}" 6 type="${this.type}" 7 placeholder="${this.placeholder}" 8 ${i(this.required,"required","")} 9 ${i(this.disabled,"disabled","")} 10 aria-describedby="${this.name}-help" 11 minlength=${this.minlength?this.minlength:void 0} 12 maxlength=${this.maxlength?this.maxlength:void 0} 13 ></textarea> 14 ${this.touched?e` 15 <div class="validity ${s(t)}"> 16 ${this.valid?this.validIndicatorTemplate():this.invalidIndicatorTemplate()} 17 </div> 18 `:""} 19 `}return super.fieldTemplate()}}t("input-field",r);export{r as default}; 20//# sourceMappingURL=input-field-DiqZcc-w.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.