/*!
 * KoliBri - The accessible HTML-Standard
 */
import{I as s}from"./controller-d2533e17.js";import{w as t}from"./prop.validators-c5e6ad2d.js";import{v as e}from"./suggestions-33f55ec2.js";const o=["text","search","url","tel"];class i extends s{constructor(t,o,s){super(t,o,s),this.component=t}validateSuggestions(t){e(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class r extends i{constructor(t,o,s){super(t,o,s),this.hasError=!1,this.component=t}validateType(s){t(this.component,"_type",(t=>"string"==typeof t&&o.includes(t)),new Set([`String {${o.join(", ")}`]),s)}componentWillLoad(){super.componentWillLoad(),this.validateType(this.component._type),this.validateHasCounter(this.component._hasCounter)}}export{i as I,r as a};