import{w as i}from"./index-Di6F0tPl.js";import{v as p}from"./spell-check-Y1ApnP_M-CjmPTQwI.js";import{v as a}from"./suggestions-D5cst2OI-C0f6OUIQ.js";import{I as l}from"./controller-DII8SNYH-BGgfwfCR.js";const n=["text","search","url","tel"],r=e=>typeof e=="string"&&n.includes(e),c=(e,t)=>{i(e,"_type",r,new Set(n),t)};class h extends l{constructor(t,o,s){super(t,o,s),this.component=t}validateSuggestions(t){a(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class v extends h{constructor(t,o,s){super(t,o,s),this.hasError=!1,this.component=t}validateSpellCheck(t){p(this.component,t)}validateType(t){c(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{h as I,v as a};
//# sourceMappingURL=controller-kjx1_mpp-D8PGe-nb.js.map
