import{f as t,_ as e,p as i,h as s,i as r,j as a,k as n}from"./backend-ai-webui-c13f73fb.js";import{I as p}from"./input-behavior-37d50cc9.js";class o extends p{}o.styles=[...p.styles,t("")],e([i({type:String}),s("design:type",String)],o.prototype,"pattern",void 0),e([i({type:Number}),s("design:type",Number)],o.prototype,"minLength",void 0),e([i({type:Number}),s("design:type",Number)],o.prototype,"maxLength",void 0);let d=class extends o{constructor(){super(...arguments),this.type="text"}renderFormElement(){return a` <input id="${this.formElementId}" .value="${this.value}" value="${n(this.initialValue)}" ?required="${this.required}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" aria-label="${n(this.label)}" type="${n(this.type)}" name="${n(this.name)}" list="${n(this.list)}" pattern="${n(this.pattern)}" autocomplete="${n(this.autocomplete)}" minlength="${n(this.minLength)}" maxlength="${n(this.maxLength)}" min="${n(this.min)}" max="${n(this.max)}" tabindex="${this.disabled?-1:0}"> `}};d.styles=[...o.styles,t("")],e([i({type:String}),s("design:type",String)],d.prototype,"list",void 0),e([i({type:String,reflect:!0}),s("design:type",String)],d.prototype,"type",void 0),e([i({type:Number}),s("design:type",Number)],d.prototype,"min",void 0),e([i({type:Number}),s("design:type",Number)],d.prototype,"max",void 0),d=e([r("wl-textfield")],d);export{d as T,o as a};
