import{w as i}from"./index-BeCeuELg.js";import{I as l}from"./controller-8674d885-CP4TGFng.js";import{v as a}from"./spell-check-c5b9fa1d-hB0FaFlK.js";import{v as p}from"./suggestions-3eb8d0d4-D--h9RK5.js";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-2b9feeea-C01a33x4.js.map
