import{w as i}from"./index-TUFJsQwj.js";import{I as l}from"./controller-fa5508b8-C5Idokwh.js";import{v as a}from"./spell-check-82b14d35-B86plaTk.js";import{v as p}from"./suggestions-506c439a-CwsX1htN.js";/*!
 * KoliBri - The accessible HTML-Standard
 */const s=["text","search","url","tel"];class r extends l{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){p(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class u extends r{constructor(t,e,o){super(t,e,o),this.hasError=!1,this.component=t}validateSpellCheck(t){a(this.component,t)}validateType(t){i(this.component,"_type",e=>typeof e=="string"&&s.includes(e),new Set([`String {${s.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{r as I,u as a};
//# sourceMappingURL=controller-b19ef5c0-CbxstA3o.js.map
