/*!
 * KoliBri - The accessible HTML-Standard
 */
import { e as watchBoolean, N as watchNumber, b as watchValidator } from './common-DEEjER7G.js';

const validateHasCounter = (component, value, options) => {
    watchBoolean(component, '_hasCounter', value, options);
};

const validateMaxLength = (component, value, options = {}) => {
    watchNumber(component, '_maxLength', value, Object.assign({ min: 0 }, options));
};

const maxLengthBehaviorPropTypeOptions = ['hard', 'soft'];
const validateMaxLengthBehavior = (component, value) => {
    watchValidator(component, '_maxLengthBehavior', (value) => typeof value === 'string' && maxLengthBehaviorPropTypeOptions.includes(value), new Set(['String {hard, soft}']), value);
};

export { validateHasCounter as a, validateMaxLength as b, validateMaxLengthBehavior as v };
//# sourceMappingURL=max-length-behavior-426q5CU6.js.map

//# sourceMappingURL=max-length-behavior-426q5CU6.js.map