UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

4 lines 660 B
/*! * KoliBri - The accessible HTML-Standard */ "use strict";var common=require("./common-1pTy2kta.js");const validateHasCounter=(a,e,t)=>{common.watchBoolean(a,"_hasCounter",e,t)},validateMaxLength=(a,e,t={})=>{common.watchNumber(a,"_maxLength",e,Object.assign({min:0},t))},maxLengthBehaviorPropTypeOptions=["hard","soft"],validateMaxLengthBehavior=(a,e)=>{common.watchValidator(a,"_maxLengthBehavior",a=>"string"==typeof a&&maxLengthBehaviorPropTypeOptions.includes(a),new Set(["String {hard, soft}"]),e)};exports.validateHasCounter=validateHasCounter,exports.validateMaxLength=validateMaxLength,exports.validateMaxLengthBehavior=validateMaxLengthBehavior;