/*!
 * KoliBri - The accessible HTML-Standard
 */
import{b as s}from"./common-DEEjER7G.js";import{v as t}from"./spell-check-CSnDB95u.js";import{v as e}from"./suggestions-Cnn1r8zc.js";import{I as o}from"./controller-eoW_d0fK.js";const i=["text","search","url","tel"];const r=s=>typeof s==="string"&&i.includes(s);const n=(t,e)=>{s(t,"_type",r,new Set(i),e)};class a extends o{constructor(s,t,e){super(s,t,e);this.component=s}validateSuggestions(s){e(this.component,s)}componentWillLoad(){super.componentWillLoad();this.validateSuggestions(this.component._suggestions)}}class c extends a{constructor(s,t,e){super(s,t,e);this.hasError=false;this.component=s}validateSpellCheck(s){t(this.component,s)}validateType(s){n(this.component,s)}componentWillLoad(){super.componentWillLoad();this.validateSpellCheck(this.component._spellCheck);this.validateType(this.component._type)}}export{a as I,c as a};
//# sourceMappingURL=controller-DR9zGh9W.js.map