import{w as i}from"./index-yJ8X--q8.js";import{v as l}from"./spell-check-CMcp2-Ad-BEb__U8J.js";import{v as a}from"./suggestions-BfRFzmYR-DXyXEZlm.js";import{I as p}from"./controller-BevWqlyP-B6ydtOum.js";/*!
 * KoliBri - The accessible HTML-Standard
 */const s=["text","search","url","tel"];class r extends p{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){a(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){l(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-Bbk-o0Dz-BVLsQBeb.js.map
